@rxap/material-table-system 13.3.1 → 13.5.0
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/table-data-source.directive.mjs +7 -2
- package/esm2020/lib/table-row-actions/decorators.mjs +21 -2
- package/esm2020/lib/table-row-actions/table-row-action.directive.mjs +55 -15
- package/esm2020/lib/table-row-actions/table-row-action.method.mjs +16 -6
- package/esm2020/lib/table-row-actions/table-row-actions.module.mjs +8 -3
- package/esm2020/lib/table-row-actions/table-row-header-action.directive.mjs +29 -14
- package/esm2020/lib/table-row-actions/types.mjs +1 -1
- package/fesm2015/rxap-material-table-system.mjs +120 -25
- package/fesm2015/rxap-material-table-system.mjs.map +1 -1
- package/fesm2020/rxap-material-table-system.mjs +112 -25
- package/fesm2020/rxap-material-table-system.mjs.map +1 -1
- package/lib/table-data-source.directive.d.ts +2 -0
- package/lib/table-row-actions/decorators.d.ts +39 -1
- package/lib/table-row-actions/table-row-action.directive.d.ts +12 -4
- package/lib/table-row-actions/table-row-action.method.d.ts +3 -0
- package/lib/table-row-actions/table-row-actions.module.d.ts +4 -4
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +5 -3
- package/lib/table-row-actions/types.d.ts +1 -1
- package/package.json +6 -6
|
@@ -37,17 +37,19 @@ import * as i3$1 from '@angular/material/slide-toggle';
|
|
|
37
37
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
38
38
|
import * as i4$1 from '@angular/flex-layout/flex';
|
|
39
39
|
import * as i6$1 from '@angular/material/tooltip';
|
|
40
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
40
|
+
import { MatTooltipModule, MatTooltip } from '@angular/material/tooltip';
|
|
41
41
|
import * as i7$1 from '@rxap/components';
|
|
42
|
-
import { ConfirmComponentModule, CopyToClipboardModule } from '@rxap/components';
|
|
42
|
+
import { ConfirmComponentModule, CopyToClipboardModule, ConfirmDirective } from '@rxap/components';
|
|
43
43
|
import * as i8 from '@rxap/open-api/remote-method';
|
|
44
44
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
45
45
|
import * as i3$2 from '@rxap/material-directives/icon';
|
|
46
46
|
import { IconDirectiveModule } from '@rxap/material-directives/icon';
|
|
47
47
|
import { MatOption } from '@angular/material/core';
|
|
48
|
-
import { setMetadata,
|
|
49
|
-
import * as
|
|
48
|
+
import { setMetadata, getMetadata, hasMetadata } from '@rxap/utilities/reflect-metadata';
|
|
49
|
+
import * as i3$3 from '@angular/material/snack-bar';
|
|
50
50
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
51
|
+
import * as i1$5 from '@angular/cdk/overlay';
|
|
52
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
51
53
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
52
54
|
|
|
53
55
|
class ExpandRowContentDirective {
|
|
@@ -766,6 +768,7 @@ class TableDataSourceDirective {
|
|
|
766
768
|
this.tableFilter = tableFilter;
|
|
767
769
|
this._tableFilter = _tableFilter;
|
|
768
770
|
this.loading$ = new ToggleSubject(true);
|
|
771
|
+
this.hasError$ = new ToggleSubject();
|
|
769
772
|
this._subscription = new Subscription();
|
|
770
773
|
this.adapterFactory = null;
|
|
771
774
|
this.matTable.trackBy = this.trackBy;
|
|
@@ -824,6 +827,7 @@ class TableDataSourceDirective {
|
|
|
824
827
|
this.dataSource.setParameters(this.parameters, this.id);
|
|
825
828
|
}
|
|
826
829
|
this._subscription.add(this.dataSource.loading$.pipe(tap(loading => this.loading$.next(!!loading))).subscribe());
|
|
830
|
+
this._subscription.add(this.dataSource.hasError$.pipe(tap(hasError => this.hasError$.next(!!hasError))).subscribe());
|
|
827
831
|
// create the id property for the mat table component.
|
|
828
832
|
// the instance of the mat table component is used as viewer object
|
|
829
833
|
// with the set of the id property it is possible to use the same data source
|
|
@@ -840,11 +844,14 @@ class TableDataSourceDirective {
|
|
|
840
844
|
.subscribe());
|
|
841
845
|
}
|
|
842
846
|
ngOnDestroy() {
|
|
843
|
-
this._subscription
|
|
847
|
+
this._subscription?.unsubscribe();
|
|
844
848
|
}
|
|
845
849
|
refresh() {
|
|
846
850
|
this.dataSource?.refresh();
|
|
847
851
|
}
|
|
852
|
+
retry() {
|
|
853
|
+
this.dataSource?.retry();
|
|
854
|
+
}
|
|
848
855
|
}
|
|
849
856
|
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceDirective, deps: [{ token: CdkTable }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_METHOD, optional: true }, { token: TABLE_DATA_SOURCE, optional: true }, { token: TABLE_REMOTE_METHOD_ADAPTER_FACTORY, optional: true }, { token: MatSort, optional: true }, { token: TableFilterService, optional: true }, { token: RXAP_TABLE_FILTER, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
850
857
|
TableDataSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableDataSourceDirective, selector: "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", inputs: { setDataSource: ["rxapTableDataSource", "setDataSource"], paginator: "paginator", id: "id", parameters: "parameters", dataSource: "dataSource" }, exportAs: ["rxapTableDataSource"], ngImport: i0 });
|
|
@@ -1953,10 +1960,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
1953
1960
|
}]
|
|
1954
1961
|
}] });
|
|
1955
1962
|
|
|
1963
|
+
/**
|
|
1964
|
+
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
1965
|
+
*/
|
|
1956
1966
|
const RXAP_TABLE_ACTION_METHOD_TYPE_METADATA = 'rxap-table-action-method-type-metadata';
|
|
1967
|
+
const RXAP_TABLE_ACTION_METHOD_METADATA = 'rxap-table-action-method-metadata';
|
|
1968
|
+
/**
|
|
1969
|
+
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
1970
|
+
*/
|
|
1957
1971
|
const RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA = 'rxap-table-action-method-check-function-metadata';
|
|
1958
|
-
function TableActionMethod(
|
|
1972
|
+
function TableActionMethod(typeOrOptions, checkFunction) {
|
|
1973
|
+
let type;
|
|
1974
|
+
let options;
|
|
1975
|
+
if (typeof typeOrOptions === 'string') {
|
|
1976
|
+
type = typeOrOptions;
|
|
1977
|
+
options = { type, checkFunction };
|
|
1978
|
+
}
|
|
1979
|
+
else {
|
|
1980
|
+
options = typeOrOptions;
|
|
1981
|
+
type = options.type;
|
|
1982
|
+
checkFunction = options.checkFunction;
|
|
1983
|
+
}
|
|
1959
1984
|
return function (target) {
|
|
1985
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, options, target);
|
|
1960
1986
|
setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
|
|
1961
1987
|
if (checkFunction) {
|
|
1962
1988
|
setMetadata(RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, checkFunction, target);
|
|
@@ -1994,49 +2020,76 @@ var TableRowActionStatus;
|
|
|
1994
2020
|
})(TableRowActionStatus || (TableRowActionStatus = {}));
|
|
1995
2021
|
|
|
1996
2022
|
function IsTableRowActionTypeSwitchMethod(method) {
|
|
1997
|
-
return
|
|
2023
|
+
return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type !== undefined;
|
|
1998
2024
|
}
|
|
1999
2025
|
function IsTableRowActionTypeMethod(type) {
|
|
2000
2026
|
return (method) => {
|
|
2001
|
-
return (getMetadata(
|
|
2027
|
+
return (getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type === type);
|
|
2002
2028
|
};
|
|
2003
2029
|
}
|
|
2004
2030
|
function HasTableRowActionCheckFunction(method) {
|
|
2005
|
-
return
|
|
2031
|
+
return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.checkFunction !== undefined;
|
|
2006
2032
|
}
|
|
2007
2033
|
function GetTableRowActionCheckFunction(method) {
|
|
2008
|
-
const checkFunction = getMetadata(
|
|
2034
|
+
const checkFunction = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.checkFunction;
|
|
2009
2035
|
if (!checkFunction) {
|
|
2010
2036
|
throw new Error(`Extracted check function from '${method.constructor.name}' is empty`);
|
|
2011
2037
|
}
|
|
2012
2038
|
return checkFunction;
|
|
2013
2039
|
}
|
|
2040
|
+
function HasTableRowActionMetadata(method) {
|
|
2041
|
+
return hasMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor);
|
|
2042
|
+
}
|
|
2043
|
+
function GetTableRowActionMetadata(method) {
|
|
2044
|
+
const metadata = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor);
|
|
2045
|
+
if (!metadata) {
|
|
2046
|
+
throw new Error(`Extracted metadata from '${method.constructor.name}' is empty`);
|
|
2047
|
+
}
|
|
2048
|
+
return metadata;
|
|
2049
|
+
}
|
|
2014
2050
|
|
|
2015
2051
|
const RXAP_TABLE_ROW_ACTION_METHOD = new InjectionToken('rxap-table-row-action-method');
|
|
2016
2052
|
|
|
2017
|
-
class TableRowActionDirective {
|
|
2018
|
-
constructor(actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton) {
|
|
2053
|
+
class TableRowActionDirective extends ConfirmDirective {
|
|
2054
|
+
constructor(overlay, elementRef, actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip) {
|
|
2055
|
+
super(overlay, elementRef);
|
|
2019
2056
|
this.cdr = cdr;
|
|
2020
2057
|
this.vcr = vcr;
|
|
2021
2058
|
this.tableDataSourceDirective = tableDataSourceDirective;
|
|
2022
2059
|
this.snackBar = snackBar;
|
|
2023
2060
|
this.matButton = matButton;
|
|
2061
|
+
this.matTooltip = matTooltip;
|
|
2024
2062
|
this._hasConfirmDirective = false;
|
|
2025
2063
|
this._currentStatus = TableRowActionStatus.DONE;
|
|
2026
2064
|
this._actionDisabled = false;
|
|
2065
|
+
this.options = null;
|
|
2027
2066
|
this.actionMethodList = coerceArray(actionMethodList);
|
|
2028
2067
|
}
|
|
2029
2068
|
set hasConfirmDirective(value) {
|
|
2030
2069
|
this._hasConfirmDirective = coerceBoolean(value);
|
|
2031
2070
|
}
|
|
2071
|
+
ngOnInit() {
|
|
2072
|
+
this.options = this.getTableActionOptions();
|
|
2073
|
+
if (this.options) {
|
|
2074
|
+
this.refresh ?? (this.refresh = this.options.refresh ?? false);
|
|
2075
|
+
this.errorMessage ?? (this.errorMessage = this.options.errorMessage ?? undefined);
|
|
2076
|
+
this.successMessage ?? (this.successMessage = this.options.successMessage ?? undefined);
|
|
2077
|
+
if (this.matTooltip && this.options.tooltip) {
|
|
2078
|
+
this.matTooltip.message = this.options.tooltip;
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2032
2082
|
onConfirmed() {
|
|
2033
2083
|
return this.execute();
|
|
2034
2084
|
}
|
|
2035
2085
|
onClick($event) {
|
|
2036
2086
|
$event.stopPropagation();
|
|
2037
|
-
if (!this._hasConfirmDirective) {
|
|
2087
|
+
if (!this._hasConfirmDirective && !this.options?.confirm) {
|
|
2038
2088
|
return this.execute();
|
|
2039
2089
|
}
|
|
2090
|
+
else if (this.options?.confirm) {
|
|
2091
|
+
this.openConfirmOverly();
|
|
2092
|
+
}
|
|
2040
2093
|
else {
|
|
2041
2094
|
if (isDevMode()) {
|
|
2042
2095
|
console.debug('skip remote method call. Wait for confirmation.');
|
|
@@ -2135,9 +2188,16 @@ class TableRowActionDirective {
|
|
|
2135
2188
|
}
|
|
2136
2189
|
this.cdr.detectChanges();
|
|
2137
2190
|
}
|
|
2191
|
+
getTableActionOptions() {
|
|
2192
|
+
const metadataList = this.actionMethodList.map(actionMethod => GetTableRowActionMetadata(actionMethod));
|
|
2193
|
+
if (metadataList.length === 0) {
|
|
2194
|
+
return null;
|
|
2195
|
+
}
|
|
2196
|
+
return metadataList.filter(metadata => metadata.type === this.type).sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))[0];
|
|
2197
|
+
}
|
|
2138
2198
|
}
|
|
2139
|
-
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionDirective, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2140
|
-
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowActionDirective, selector: "button[rxapTableRowAction]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], element: "element", type: ["rxapTableRowAction", "type"], errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick($event)" } }, queries: [{ propertyName: "executingDirective", first: true, predicate: TableRowActionExecutingDirective, descendants: true }], ngImport: i0 });
|
|
2199
|
+
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: MatTooltip, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2200
|
+
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowActionDirective, selector: "button[rxapTableRowAction]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], element: "element", type: ["rxapTableRowAction", "type"], errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick($event)" } }, queries: [{ propertyName: "executingDirective", first: true, predicate: TableRowActionExecutingDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
2141
2201
|
__decorate([
|
|
2142
2202
|
Required,
|
|
2143
2203
|
__metadata("design:type", Object)
|
|
@@ -2151,7 +2211,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2151
2211
|
args: [{
|
|
2152
2212
|
selector: 'button[rxapTableRowAction]'
|
|
2153
2213
|
}]
|
|
2154
|
-
}], ctorParameters: function () { return [{ type:
|
|
2214
|
+
}], ctorParameters: function () { return [{ type: i1$5.Overlay, decorators: [{
|
|
2215
|
+
type: Inject,
|
|
2216
|
+
args: [Overlay]
|
|
2217
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
2218
|
+
type: Inject,
|
|
2219
|
+
args: [ElementRef]
|
|
2220
|
+
}] }, { type: undefined, decorators: [{
|
|
2155
2221
|
type: Inject,
|
|
2156
2222
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
2157
2223
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
@@ -2163,7 +2229,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2163
2229
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2164
2230
|
type: Inject,
|
|
2165
2231
|
args: [TableDataSourceDirective]
|
|
2166
|
-
}] }, { type:
|
|
2232
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
2167
2233
|
type: Inject,
|
|
2168
2234
|
args: [MatSnackBar]
|
|
2169
2235
|
}] }, { type: i2$1.MatButton, decorators: [{
|
|
@@ -2171,6 +2237,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2171
2237
|
}, {
|
|
2172
2238
|
type: Inject,
|
|
2173
2239
|
args: [MatButton]
|
|
2240
|
+
}] }, { type: i6$1.MatTooltip, decorators: [{
|
|
2241
|
+
type: Optional
|
|
2242
|
+
}, {
|
|
2243
|
+
type: Inject,
|
|
2244
|
+
args: [MatTooltip]
|
|
2174
2245
|
}] }]; }, propDecorators: { hasConfirmDirective: [{
|
|
2175
2246
|
type: Input,
|
|
2176
2247
|
args: ['rxapConfirm']
|
|
@@ -2197,8 +2268,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2197
2268
|
}] } });
|
|
2198
2269
|
|
|
2199
2270
|
class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
2200
|
-
constructor(actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, selectRowService) {
|
|
2201
|
-
super(actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton);
|
|
2271
|
+
constructor(overlay, elementRef, actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip, selectRowService) {
|
|
2272
|
+
super(overlay, elementRef, actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip);
|
|
2202
2273
|
this.selectRowService = selectRowService;
|
|
2203
2274
|
}
|
|
2204
2275
|
ngOnDestroy() {
|
|
@@ -2226,7 +2297,7 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2226
2297
|
return this.selectRowService?.selectedRows ?? [];
|
|
2227
2298
|
}
|
|
2228
2299
|
}
|
|
2229
|
-
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2300
|
+
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: MatTooltip, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2230
2301
|
TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 });
|
|
2231
2302
|
__decorate([
|
|
2232
2303
|
Required,
|
|
@@ -2237,7 +2308,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2237
2308
|
args: [{
|
|
2238
2309
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
2239
2310
|
}]
|
|
2240
|
-
}], ctorParameters: function () { return [{ type:
|
|
2311
|
+
}], ctorParameters: function () { return [{ type: i1$5.Overlay, decorators: [{
|
|
2312
|
+
type: Inject,
|
|
2313
|
+
args: [Overlay]
|
|
2314
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
2315
|
+
type: Inject,
|
|
2316
|
+
args: [ElementRef]
|
|
2317
|
+
}] }, { type: undefined, decorators: [{
|
|
2241
2318
|
type: Inject,
|
|
2242
2319
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
2243
2320
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
@@ -2249,7 +2326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2249
2326
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2250
2327
|
type: Inject,
|
|
2251
2328
|
args: [TableDataSourceDirective]
|
|
2252
|
-
}] }, { type:
|
|
2329
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
2253
2330
|
type: Inject,
|
|
2254
2331
|
args: [MatSnackBar]
|
|
2255
2332
|
}] }, { type: i2$1.MatButton, decorators: [{
|
|
@@ -2257,6 +2334,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2257
2334
|
}, {
|
|
2258
2335
|
type: Inject,
|
|
2259
2336
|
args: [MatButton]
|
|
2337
|
+
}] }, { type: i6$1.MatTooltip, decorators: [{
|
|
2338
|
+
type: Optional
|
|
2339
|
+
}, {
|
|
2340
|
+
type: Inject,
|
|
2341
|
+
args: [MatTooltip]
|
|
2260
2342
|
}] }, { type: SelectRowService, decorators: [{
|
|
2261
2343
|
type: Optional
|
|
2262
2344
|
}, {
|
|
@@ -2311,7 +2393,7 @@ TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
2311
2393
|
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, declarations: [TableRowActionDirective,
|
|
2312
2394
|
TableRowActionExecutingDirective,
|
|
2313
2395
|
TableRowHeaderActionDirective,
|
|
2314
|
-
RowActionCheckPipe], exports: [TableRowActionDirective,
|
|
2396
|
+
RowActionCheckPipe], imports: [ConfirmComponentModule], exports: [TableRowActionDirective,
|
|
2315
2397
|
TableRowHeaderActionDirective,
|
|
2316
2398
|
TableRowActionExecutingDirective,
|
|
2317
2399
|
RowActionCheckPipe,
|
|
@@ -2321,7 +2403,9 @@ TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", v
|
|
|
2321
2403
|
MatIconModule,
|
|
2322
2404
|
MatProgressBarModule,
|
|
2323
2405
|
CommonModule] });
|
|
2324
|
-
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, imports: [
|
|
2406
|
+
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, imports: [[
|
|
2407
|
+
ConfirmComponentModule
|
|
2408
|
+
], MatTooltipModule,
|
|
2325
2409
|
MatButtonModule,
|
|
2326
2410
|
ConfirmComponentModule,
|
|
2327
2411
|
MatIconModule,
|
|
@@ -2336,6 +2420,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2336
2420
|
TableRowHeaderActionDirective,
|
|
2337
2421
|
RowActionCheckPipe
|
|
2338
2422
|
],
|
|
2423
|
+
imports: [
|
|
2424
|
+
ConfirmComponentModule
|
|
2425
|
+
],
|
|
2339
2426
|
exports: [
|
|
2340
2427
|
TableRowActionDirective,
|
|
2341
2428
|
TableRowHeaderActionDirective,
|
|
@@ -2358,5 +2445,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2358
2445
|
* Generated bundle index. Do not edit.
|
|
2359
2446
|
*/
|
|
2360
2447
|
|
|
2361
|
-
export { BooleanCellComponent, BooleanCellComponentModule, CheckboxCellComponent, CheckboxCellComponentModule, CheckboxHeaderCellComponent, CheckboxHeaderCellComponentModule, CopyToClipboardCellComponent, CopyToClipboardCellComponentModule, DateCellComponent, DateCellComponentModule, ExpandControlsCellComponent, ExpandControlsCellComponentModule, ExpandRowContainerComponent, ExpandRowContainerComponentModule, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableRowActionCheckFunction, HasTableRowActionCheckFunction, IconCellComponent, IconCellComponentModule, ImageCellComponent, ImageCellComponentModule, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, LinkCellComponentModule, OptionsCellComponent, OptionsCellComponentModule, PersistentPaginatorDirective, PersistentPaginatorDirectiveModule, 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_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_ROW_ACTION_METHOD, RowActionCheckPipe, RowAnimation, RowControlsCellComponent, RowControlsCellComponentModule, RowControlsHeaderCellComponent, RowControlsHeaderCellComponentModule, SelectRowModule, SelectRowService, SelectedRowsDirective, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnMenuComponentModule, TableColumnOptionComponent, TableCreateButtonDirective, TableCreateButtonDirectiveModule, TableDataSourceDirective, TableDataSourceModule, TableFilterModule, TableFilterService, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowActionsModule, TableRowControlsModule, TableRowHeaderActionDirective, TableSelectControlsComponent, TableSelectControlsComponentModule, TableShowArchivedSlideComponent, TableShowArchivedSlideComponentModule, ToFilterColumnNamesPipe };
|
|
2448
|
+
export { BooleanCellComponent, BooleanCellComponentModule, CheckboxCellComponent, CheckboxCellComponentModule, CheckboxHeaderCellComponent, CheckboxHeaderCellComponentModule, CopyToClipboardCellComponent, CopyToClipboardCellComponentModule, DateCellComponent, DateCellComponentModule, ExpandControlsCellComponent, ExpandControlsCellComponentModule, ExpandRowContainerComponent, ExpandRowContainerComponentModule, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, IconCellComponentModule, ImageCellComponent, ImageCellComponentModule, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, LinkCellComponentModule, OptionsCellComponent, OptionsCellComponentModule, PersistentPaginatorDirective, PersistentPaginatorDirectiveModule, 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, RowControlsCellComponentModule, RowControlsHeaderCellComponent, RowControlsHeaderCellComponentModule, SelectRowModule, SelectRowService, SelectedRowsDirective, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnMenuComponentModule, TableColumnOptionComponent, TableCreateButtonDirective, TableCreateButtonDirectiveModule, TableDataSourceDirective, TableDataSourceModule, TableFilterModule, TableFilterService, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowActionsModule, TableRowControlsModule, TableRowHeaderActionDirective, TableSelectControlsComponent, TableSelectControlsComponentModule, TableShowArchivedSlideComponent, TableShowArchivedSlideComponentModule, ToFilterColumnNamesPipe };
|
|
2362
2449
|
//# sourceMappingURL=rxap-material-table-system.mjs.map
|