@rxap/material-table-system 14.2.2 → 14.4.0-dev.1
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/index.mjs +3 -1
- package/esm2020/lib/select-row/select-row.service.mjs +2 -2
- package/esm2020/lib/select-row/selection-model.mjs +218 -0
- package/esm2020/lib/table-data-source.directive.mjs +9 -2
- package/esm2020/lib/table-filter/filter-header-row.directive.mjs +13 -4
- package/esm2020/lib/table-row-actions/decorators.mjs +28 -3
- package/esm2020/lib/table-row-actions/row-action-check.pipe.mjs +43 -0
- package/esm2020/lib/table-row-actions/table-row-action.directive.mjs +55 -15
- package/esm2020/lib/table-row-actions/table-row-action.method.mjs +24 -4
- package/esm2020/lib/table-row-actions/table-row-actions.module.mjs +12 -4
- package/esm2020/lib/table-row-actions/table-row-header-action.directive.mjs +29 -14
- package/esm2020/lib/table-row-actions/types.mjs +2 -0
- package/fesm2015/rxap-material-table-system.mjs +427 -47
- package/fesm2015/rxap-material-table-system.mjs.map +1 -1
- package/fesm2020/rxap-material-table-system.mjs +417 -47
- package/fesm2020/rxap-material-table-system.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/select-row/select-row.service.d.ts +1 -1
- package/lib/select-row/selection-model.d.ts +118 -0
- package/lib/table-data-source.directive.d.ts +2 -0
- package/lib/table-filter/filter-header-row.directive.d.ts +2 -1
- package/lib/table-row-actions/decorators.d.ts +41 -1
- package/lib/table-row-actions/row-action-check.pipe.d.ts +10 -0
- package/lib/table-row-actions/table-row-action.directive.d.ts +13 -5
- package/lib/table-row-actions/table-row-action.method.d.ts +6 -7
- package/lib/table-row-actions/table-row-actions.module.d.ts +8 -7
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +6 -4
- package/lib/table-row-actions/types.d.ts +8 -0
- package/package.json +7 -8
|
@@ -5,18 +5,17 @@ import * as i1 from '@angular/cdk/portal';
|
|
|
5
5
|
import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
6
6
|
import { Required, clone, DeleteEmptyProperties, equals, coerceBoolean, coerceArray } from '@rxap/utilities';
|
|
7
7
|
import { trigger, state, style, transition, animate, sequence } from '@angular/animations';
|
|
8
|
-
import { BehaviorSubject, EMPTY, ReplaySubject, Subscription,
|
|
8
|
+
import { BehaviorSubject, Subject, EMPTY, ReplaySubject, Subscription, isObservable, of } from 'rxjs';
|
|
9
9
|
import { map, filter, tap, distinctUntilChanged, debounceTime, delay, startWith } from 'rxjs/operators';
|
|
10
10
|
import * as i2 from '@angular/common';
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
12
|
import * as i2$1 from '@angular/material/icon';
|
|
13
13
|
import { MatIconModule } from '@angular/material/icon';
|
|
14
|
-
import * as
|
|
14
|
+
import * as i4 from '@angular/material/button';
|
|
15
15
|
import { MatButtonModule, MatButton } from '@angular/material/button';
|
|
16
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
17
16
|
import * as i1$1 from '@angular/material/checkbox';
|
|
18
17
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
19
|
-
import * as i4 from '@angular/cdk/table';
|
|
18
|
+
import * as i4$1 from '@angular/cdk/table';
|
|
20
19
|
import { CdkTable } from '@angular/cdk/table';
|
|
21
20
|
import * as i2$2 from '@angular/material/sort';
|
|
22
21
|
import { MatSort } from '@angular/material/sort';
|
|
@@ -28,26 +27,28 @@ import * as i1$2 from '@angular/material/paginator';
|
|
|
28
27
|
import { FormDirective } from '@rxap/forms';
|
|
29
28
|
import { ControlContainer } from '@angular/forms';
|
|
30
29
|
import * as i1$3 from '@angular/router';
|
|
31
|
-
import * as i3
|
|
30
|
+
import * as i3 from '@angular/material/menu';
|
|
32
31
|
import { MatMenuModule } from '@angular/material/menu';
|
|
33
32
|
import * as i6 from '@rxap/directives';
|
|
34
33
|
import { StopPropagationDirectiveModule, BackgroundSizeOptions, BackgroundRepeatOptions, BackgroundPositionOptions, BackgroundImageDirectiveModule } from '@rxap/directives';
|
|
35
34
|
import * as i7 from '@angular/flex-layout/extended';
|
|
36
35
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
37
|
-
import * as i4$
|
|
36
|
+
import * as i4$2 from '@angular/material/slide-toggle';
|
|
38
37
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
39
|
-
import * as i3$
|
|
38
|
+
import * as i3$1 from '@angular/flex-layout/flex';
|
|
40
39
|
import * as i6$1 from '@rxap/components';
|
|
41
|
-
import { ConfirmComponentModule, CopyToClipboardModule } from '@rxap/components';
|
|
40
|
+
import { ConfirmComponentModule, CopyToClipboardModule, ConfirmDirective } from '@rxap/components';
|
|
42
41
|
import * as i7$1 from '@angular/material/tooltip';
|
|
43
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
42
|
+
import { MatTooltipModule, MatTooltip } from '@angular/material/tooltip';
|
|
44
43
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
45
|
-
import * as i3$
|
|
44
|
+
import * as i3$2 from '@rxap/material-directives/icon';
|
|
46
45
|
import { IconDirectiveModule } from '@rxap/material-directives/icon';
|
|
47
46
|
import { MatOption } from '@angular/material/core';
|
|
48
|
-
import { setMetadata,
|
|
49
|
-
import * as
|
|
47
|
+
import { setMetadata, getMetadata, hasMetadata } from '@rxap/utilities/reflect-metadata';
|
|
48
|
+
import * as i3$3 from '@angular/material/snack-bar';
|
|
50
49
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
50
|
+
import * as i1$4 from '@angular/cdk/overlay';
|
|
51
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
51
52
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
52
53
|
|
|
53
54
|
class ExpandRowContentDirective {
|
|
@@ -181,7 +182,7 @@ class ExpandControlsCellComponent {
|
|
|
181
182
|
}
|
|
182
183
|
}
|
|
183
184
|
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
184
|
-
ExpandControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ExpandControlsCellComponent, selector: "td[rxap-expand-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "rxap-expand-controls-cell" }, ngImport: i0, template: "<button mat-icon-button>\n <mat-icon *ngIf=\"expandCell.isExpanded$(element) | async; else notExpanded\">expand_more</mat-icon>\n <ng-template #notExpanded>\n <mat-icon>keyboard_arrow_right</mat-icon>\n </ng-template>\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type:
|
|
185
|
+
ExpandControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ExpandControlsCellComponent, selector: "td[rxap-expand-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "rxap-expand-controls-cell" }, ngImport: i0, template: "<button mat-icon-button>\n <mat-icon *ngIf=\"expandCell.isExpanded$(element) | async; else notExpanded\">expand_more</mat-icon>\n <ng-template #notExpanded>\n <mat-icon>keyboard_arrow_right</mat-icon>\n </ng-template>\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
185
186
|
__decorate([
|
|
186
187
|
Required,
|
|
187
188
|
__metadata("design:type", Object)
|
|
@@ -280,6 +281,223 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
280
281
|
|
|
281
282
|
const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-material/table-system/select-row/options');
|
|
282
283
|
|
|
284
|
+
/**
|
|
285
|
+
* @license
|
|
286
|
+
* Copyright Google LLC All Rights Reserved.
|
|
287
|
+
*
|
|
288
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
289
|
+
* found in the LICENSE file at https://angular.io/license
|
|
290
|
+
*/
|
|
291
|
+
/**
|
|
292
|
+
* Class to be used to power selecting one or more options from a list.
|
|
293
|
+
*/
|
|
294
|
+
class SelectionModel {
|
|
295
|
+
constructor(_multiple = false, initiallySelectedValues, _emitChanges = true, compareWith) {
|
|
296
|
+
this._multiple = _multiple;
|
|
297
|
+
this._emitChanges = _emitChanges;
|
|
298
|
+
this.compareWith = compareWith;
|
|
299
|
+
/** Currently-selected values. */
|
|
300
|
+
this._selection = new Set();
|
|
301
|
+
/** Keeps track of the deselected options that haven't been emitted by the change event. */
|
|
302
|
+
this._deselectedToEmit = [];
|
|
303
|
+
/** Keeps track of the selected options that haven't been emitted by the change event. */
|
|
304
|
+
this._selectedToEmit = [];
|
|
305
|
+
/** Cache for the array value of the selected items. */
|
|
306
|
+
this._selected = null;
|
|
307
|
+
/** Event emitted when the value has changed. */
|
|
308
|
+
this.changed = new Subject();
|
|
309
|
+
if (initiallySelectedValues && initiallySelectedValues.length) {
|
|
310
|
+
if (_multiple) {
|
|
311
|
+
initiallySelectedValues.forEach(value => this._markSelected(value));
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
this._markSelected(initiallySelectedValues[0]);
|
|
315
|
+
}
|
|
316
|
+
// Clear the array in order to avoid firing the change event for preselected values.
|
|
317
|
+
this._selectedToEmit.length = 0;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
/** Selected values. */
|
|
321
|
+
get selected() {
|
|
322
|
+
if (!this._selected) {
|
|
323
|
+
this._selected = Array.from(this._selection.values());
|
|
324
|
+
}
|
|
325
|
+
return this._selected;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Selects a value or an array of values.
|
|
329
|
+
* @param values The values to select
|
|
330
|
+
* @return Whether the selection changed as a result of this call
|
|
331
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
332
|
+
*/
|
|
333
|
+
select(...values) {
|
|
334
|
+
this._verifyValueAssignment(values);
|
|
335
|
+
values.forEach(value => this._markSelected(value));
|
|
336
|
+
const changed = this._hasQueuedChanges();
|
|
337
|
+
this._emitChangeEvent();
|
|
338
|
+
return changed;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Deselects a value or an array of values.
|
|
342
|
+
* @param values The values to deselect
|
|
343
|
+
* @return Whether the selection changed as a result of this call
|
|
344
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
345
|
+
*/
|
|
346
|
+
deselect(...values) {
|
|
347
|
+
this._verifyValueAssignment(values);
|
|
348
|
+
values.forEach(value => this._unmarkSelected(value));
|
|
349
|
+
const changed = this._hasQueuedChanges();
|
|
350
|
+
this._emitChangeEvent();
|
|
351
|
+
return changed;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Sets the selected values
|
|
355
|
+
* @param values The new selected values
|
|
356
|
+
* @return Whether the selection changed as a result of this call
|
|
357
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
358
|
+
*/
|
|
359
|
+
setSelection(...values) {
|
|
360
|
+
this._verifyValueAssignment(values);
|
|
361
|
+
const oldValues = this.selected;
|
|
362
|
+
const newSelectedSet = new Set(values);
|
|
363
|
+
values.forEach(value => this._markSelected(value));
|
|
364
|
+
oldValues
|
|
365
|
+
.filter(value => !newSelectedSet.has(value))
|
|
366
|
+
.forEach(value => this._unmarkSelected(value));
|
|
367
|
+
const changed = this._hasQueuedChanges();
|
|
368
|
+
this._emitChangeEvent();
|
|
369
|
+
return changed;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Toggles a value between selected and deselected.
|
|
373
|
+
* @param value The value to toggle
|
|
374
|
+
* @return Whether the selection changed as a result of this call
|
|
375
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
376
|
+
*/
|
|
377
|
+
toggle(value) {
|
|
378
|
+
return this.isSelected(value) ? this.deselect(value) : this.select(value);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Clears all of the selected values.
|
|
382
|
+
* @param flushEvent Whether to flush the changes in an event.
|
|
383
|
+
* If false, the changes to the selection will be flushed along with the next event.
|
|
384
|
+
* @return Whether the selection changed as a result of this call
|
|
385
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
386
|
+
*/
|
|
387
|
+
clear(flushEvent = true) {
|
|
388
|
+
this._unmarkAll();
|
|
389
|
+
const changed = this._hasQueuedChanges();
|
|
390
|
+
if (flushEvent) {
|
|
391
|
+
this._emitChangeEvent();
|
|
392
|
+
}
|
|
393
|
+
return changed;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Determines whether a value is selected.
|
|
397
|
+
*/
|
|
398
|
+
isSelected(value) {
|
|
399
|
+
if (this.compareWith) {
|
|
400
|
+
for (const otherValue of this._selection) {
|
|
401
|
+
if (this.compareWith(otherValue, value)) {
|
|
402
|
+
return true;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
return false;
|
|
406
|
+
}
|
|
407
|
+
return this._selection.has(value);
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Determines whether the model does not have a value.
|
|
411
|
+
*/
|
|
412
|
+
isEmpty() {
|
|
413
|
+
return this._selection.size === 0;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Determines whether the model has a value.
|
|
417
|
+
*/
|
|
418
|
+
hasValue() {
|
|
419
|
+
return !this.isEmpty();
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Sorts the selected values based on a predicate function.
|
|
423
|
+
*/
|
|
424
|
+
sort(predicate) {
|
|
425
|
+
if (this._multiple && this.selected) {
|
|
426
|
+
this._selected.sort(predicate);
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Gets whether multiple values can be selected.
|
|
431
|
+
*/
|
|
432
|
+
isMultipleSelection() {
|
|
433
|
+
return this._multiple;
|
|
434
|
+
}
|
|
435
|
+
/** Emits a change event and clears the records of selected and deselected values. */
|
|
436
|
+
_emitChangeEvent() {
|
|
437
|
+
// Clear the selected values so they can be re-cached.
|
|
438
|
+
this._selected = null;
|
|
439
|
+
if (this._selectedToEmit.length || this._deselectedToEmit.length) {
|
|
440
|
+
this.changed.next({
|
|
441
|
+
source: this,
|
|
442
|
+
added: this._selectedToEmit,
|
|
443
|
+
removed: this._deselectedToEmit,
|
|
444
|
+
});
|
|
445
|
+
this._deselectedToEmit = [];
|
|
446
|
+
this._selectedToEmit = [];
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
/** Selects a value. */
|
|
450
|
+
_markSelected(value) {
|
|
451
|
+
if (!this.isSelected(value)) {
|
|
452
|
+
if (!this._multiple) {
|
|
453
|
+
this._unmarkAll();
|
|
454
|
+
}
|
|
455
|
+
if (!this.isSelected(value)) {
|
|
456
|
+
this._selection.add(value);
|
|
457
|
+
}
|
|
458
|
+
if (this._emitChanges) {
|
|
459
|
+
this._selectedToEmit.push(value);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
/** Deselects a value. */
|
|
464
|
+
_unmarkSelected(value) {
|
|
465
|
+
if (this.isSelected(value)) {
|
|
466
|
+
this._selection.delete(value);
|
|
467
|
+
if (this._emitChanges) {
|
|
468
|
+
this._deselectedToEmit.push(value);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
/** Clears out the selected values. */
|
|
473
|
+
_unmarkAll() {
|
|
474
|
+
if (!this.isEmpty()) {
|
|
475
|
+
this._selection.forEach(value => this._unmarkSelected(value));
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Verifies the value assignment and throws an error if the specified value array is
|
|
480
|
+
* including multiple values while the selection model is not supporting multiple values.
|
|
481
|
+
*/
|
|
482
|
+
_verifyValueAssignment(values) {
|
|
483
|
+
if (values.length > 1 && !this._multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
484
|
+
throw getMultipleValuesInSingleSelectionError();
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
/** Whether there are queued up change to be emitted. */
|
|
488
|
+
_hasQueuedChanges() {
|
|
489
|
+
return !!(this._deselectedToEmit.length || this._selectedToEmit.length);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* Returns an error that reports that multiple values are passed into a selection model
|
|
494
|
+
* with a single value.
|
|
495
|
+
* @docs-private
|
|
496
|
+
*/
|
|
497
|
+
function getMultipleValuesInSingleSelectionError() {
|
|
498
|
+
return Error('Cannot pass multiple values into SelectionModel with single-value mode.');
|
|
499
|
+
}
|
|
500
|
+
|
|
283
501
|
class SelectRowService {
|
|
284
502
|
constructor(options = null) {
|
|
285
503
|
this.selectionModel = new SelectionModel(true);
|
|
@@ -371,7 +589,7 @@ CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
371
589
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
372
590
|
type: Component,
|
|
373
591
|
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-checkbox-header-cell' }, template: "<mat-checkbox\n *ngIf=\"isMultipleSelection\"\n (change)=\"onChange($event)\"\n [indeterminate]=\"indeterminate$ | async\"\n [checked]=\"(checked$ | async) ?? false\">\n</mat-checkbox>\n" }]
|
|
374
|
-
}], ctorParameters: function () { return [{ type: i4.CdkTable, decorators: [{
|
|
592
|
+
}], ctorParameters: function () { return [{ type: i4$1.CdkTable, decorators: [{
|
|
375
593
|
type: Inject,
|
|
376
594
|
args: [CdkTable]
|
|
377
595
|
}] }, { type: SelectRowService }]; } });
|
|
@@ -541,10 +759,13 @@ class TableDataSourceDirective {
|
|
|
541
759
|
this.tableFilter = tableFilter;
|
|
542
760
|
this._tableFilter = _tableFilter;
|
|
543
761
|
this.loading$ = new ToggleSubject(true);
|
|
762
|
+
this.hasError$ = new ToggleSubject();
|
|
544
763
|
this._subscription = new Subscription();
|
|
545
764
|
this.adapterFactory = null;
|
|
546
765
|
this.matTable.trackBy = this.trackBy;
|
|
547
766
|
this.adapterFactory = adapterFactory;
|
|
767
|
+
this.retry = this.retry.bind(this);
|
|
768
|
+
this.refresh = this.refresh.bind(this);
|
|
548
769
|
}
|
|
549
770
|
/**
|
|
550
771
|
* @deprecated use dataSource instead
|
|
@@ -599,6 +820,7 @@ class TableDataSourceDirective {
|
|
|
599
820
|
this.dataSource.setParameters(this.parameters, this.id);
|
|
600
821
|
}
|
|
601
822
|
this._subscription.add(this.dataSource.loading$.pipe(tap(loading => this.loading$.next(!!loading))).subscribe());
|
|
823
|
+
this._subscription.add(this.dataSource.hasError$.pipe(tap(hasError => this.hasError$.next(!!hasError))).subscribe());
|
|
602
824
|
// create the id property for the mat table component.
|
|
603
825
|
// the instance of the mat table component is used as viewer object
|
|
604
826
|
// with the set of the id property it is possible to use the same data source
|
|
@@ -615,11 +837,14 @@ class TableDataSourceDirective {
|
|
|
615
837
|
.subscribe());
|
|
616
838
|
}
|
|
617
839
|
ngOnDestroy() {
|
|
618
|
-
this._subscription
|
|
840
|
+
this._subscription?.unsubscribe();
|
|
619
841
|
}
|
|
620
842
|
refresh() {
|
|
621
843
|
this.dataSource?.refresh();
|
|
622
844
|
}
|
|
845
|
+
retry() {
|
|
846
|
+
this.dataSource?.retry();
|
|
847
|
+
}
|
|
623
848
|
}
|
|
624
849
|
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
625
850
|
TableDataSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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 });
|
|
@@ -633,7 +858,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
633
858
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
634
859
|
exportAs: 'rxapTableDataSource'
|
|
635
860
|
}]
|
|
636
|
-
}], ctorParameters: function () { return [{ type: i4.CdkTable, decorators: [{
|
|
861
|
+
}], ctorParameters: function () { return [{ type: i4$1.CdkTable, decorators: [{
|
|
637
862
|
type: Inject,
|
|
638
863
|
args: [CdkTable]
|
|
639
864
|
}] }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -755,6 +980,12 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
755
980
|
super(cdr, formDefinition);
|
|
756
981
|
this.tableFilter = tableFilter;
|
|
757
982
|
}
|
|
983
|
+
set useFormDefinition(value) {
|
|
984
|
+
if (value) {
|
|
985
|
+
this._formDefinition = value;
|
|
986
|
+
this.form = value.rxapFormGroup;
|
|
987
|
+
}
|
|
988
|
+
}
|
|
758
989
|
ngOnInit() {
|
|
759
990
|
super.ngOnInit();
|
|
760
991
|
this._subscription = this.form.value$
|
|
@@ -767,7 +998,7 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
767
998
|
}
|
|
768
999
|
}
|
|
769
1000
|
FilterHeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
770
|
-
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", providers: [
|
|
1001
|
+
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
|
|
771
1002
|
{
|
|
772
1003
|
provide: ControlContainer,
|
|
773
1004
|
// ignore coverage
|
|
@@ -792,7 +1023,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
792
1023
|
}, {
|
|
793
1024
|
type: Inject,
|
|
794
1025
|
args: [RXAP_TABLE_FILTER_FORM_DEFINITION]
|
|
795
|
-
}] }]; }
|
|
1026
|
+
}] }]; }, propDecorators: { useFormDefinition: [{
|
|
1027
|
+
type: Input,
|
|
1028
|
+
args: ['rxap-filter-header-row']
|
|
1029
|
+
}] } });
|
|
796
1030
|
|
|
797
1031
|
class ToFilterColumnNamesPipe {
|
|
798
1032
|
transform(columns) {
|
|
@@ -937,7 +1171,7 @@ class TableColumnMenuComponent {
|
|
|
937
1171
|
}
|
|
938
1172
|
}
|
|
939
1173
|
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
940
|
-
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableColumnMenuComponent, selector: "rxap-table-column-menu", inputs: { matCard: "matCard" }, host: { properties: { "class.mat-card-mode": "this._matCardMode" }, classAttribute: "mfd-table-column-menu" }, queries: [{ propertyName: "columns", predicate: TableColumnOptionComponent }], exportAs: ["rxapTableColumns"], ngImport: i0, template: "<button type=\"button\" mat-icon-button [matMenuTriggerFor]=\"columnMenu\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n rxapStopPropagation\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\n >\n <mat-checkbox\n (change)=\"column.toggle(); updateDisplayColumns()\"\n [checked]=\"column.active\">\n {{ column.display }}\n </mat-checkbox>\n </span>\n <ng-content select=\"[mat-menu-item],mat-divider\"></ng-content>\n</mat-menu>\n", styles: [":host.mat-card-mode{position:absolute;inset:8px 8px auto auto}\n"], dependencies: [{ kind: "component", type:
|
|
1174
|
+
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableColumnMenuComponent, selector: "rxap-table-column-menu", inputs: { matCard: "matCard" }, host: { properties: { "class.mat-card-mode": "this._matCardMode" }, classAttribute: "mfd-table-column-menu" }, queries: [{ propertyName: "columns", predicate: TableColumnOptionComponent }], exportAs: ["rxapTableColumns"], ngImport: i0, template: "<button type=\"button\" mat-icon-button [matMenuTriggerFor]=\"columnMenu\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n rxapStopPropagation\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\n >\n <mat-checkbox\n (change)=\"column.toggle(); updateDisplayColumns()\"\n [checked]=\"column.active\">\n {{ column.display }}\n </mat-checkbox>\n </span>\n <ng-content select=\"[mat-menu-item],mat-divider\"></ng-content>\n</mat-menu>\n", styles: [":host.mat-card-mode{position:absolute;inset:8px 8px auto auto}\n"], dependencies: [{ kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "directive", type: i7.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
941
1175
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
942
1176
|
type: Component,
|
|
943
1177
|
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-table-column-menu' }, exportAs: 'rxapTableColumns', template: "<button type=\"button\" mat-icon-button [matMenuTriggerFor]=\"columnMenu\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n rxapStopPropagation\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\n >\n <mat-checkbox\n (change)=\"column.toggle(); updateDisplayColumns()\"\n [checked]=\"column.active\">\n {{ column.display }}\n </mat-checkbox>\n </span>\n <ng-content select=\"[mat-menu-item],mat-divider\"></ng-content>\n</mat-menu>\n", styles: [":host.mat-card-mode{position:absolute;inset:8px 8px auto auto}\n"] }]
|
|
@@ -1001,7 +1235,7 @@ class TableShowArchivedSlideComponent {
|
|
|
1001
1235
|
}
|
|
1002
1236
|
}
|
|
1003
1237
|
TableShowArchivedSlideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponent, deps: [{ token: TableFilterService }, { token: TableColumnMenuComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
1004
|
-
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableShowArchivedSlideComponent, selector: "mfd-table-show-archived-slide", host: { classAttribute: "mfd-table-show-archived-slide" }, ngImport: i0, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "component", type: i4$
|
|
1238
|
+
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableShowArchivedSlideComponent, selector: "mfd-table-show-archived-slide", host: { classAttribute: "mfd-table-show-archived-slide" }, ngImport: i0, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "component", type: i4$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1005
1239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1006
1240
|
type: Component,
|
|
1007
1241
|
args: [{ selector: 'mfd-table-show-archived-slide', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-table-show-archived-slide' }, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n" }]
|
|
@@ -1152,7 +1386,7 @@ class RowControlsCellComponent {
|
|
|
1152
1386
|
}
|
|
1153
1387
|
}
|
|
1154
1388
|
RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowControlsCellComponent, deps: [{ token: TableDataSourceDirective }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }, { token: ROW_EDIT_METHOD, optional: true }, { token: ROW_VIEW_METHOD, optional: true }, { token: ROW_LINK_METHOD, optional: true }, { token: ROW_EDIT_LOADER_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1155
|
-
RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RowControlsCellComponent, selector: "td[mfd-row-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "mfd-row-controls-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$
|
|
1389
|
+
RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RowControlsCellComponent, selector: "td[mfd-row-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "mfd-row-controls-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "directive", type: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1156
1390
|
__decorate([
|
|
1157
1391
|
Required,
|
|
1158
1392
|
__metadata("design:type", Object)
|
|
@@ -1275,7 +1509,7 @@ class RowControlsHeaderCellComponent {
|
|
|
1275
1509
|
}
|
|
1276
1510
|
}
|
|
1277
1511
|
RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowControlsHeaderCellComponent, deps: [{ token: TableDataSourceDirective }, { token: TableFilterService, optional: true }, { token: SelectRowService, optional: true }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1278
|
-
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RowControlsHeaderCellComponent, selector: "th[mfd-row-controls-header-cell]", host: { classAttribute: "mfd-row-controls-header-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i3$
|
|
1512
|
+
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RowControlsHeaderCellComponent, selector: "th[mfd-row-controls-header-cell]", host: { classAttribute: "mfd-row-controls-header-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i3$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1279
1513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1280
1514
|
type: Component,
|
|
1281
1515
|
args: [{ selector: 'th[mfd-row-controls-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-row-controls-header-cell' }, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n" }]
|
|
@@ -1368,7 +1602,7 @@ class TableSelectControlsComponent {
|
|
|
1368
1602
|
}
|
|
1369
1603
|
}
|
|
1370
1604
|
TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component });
|
|
1371
|
-
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableSelectControlsComponent, selector: "mfd-table-select-controls", host: { classAttribute: "mfd-table-select-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type:
|
|
1605
|
+
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableSelectControlsComponent, selector: "mfd-table-select-controls", host: { classAttribute: "mfd-table-select-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i3$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1372
1606
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1373
1607
|
type: Component,
|
|
1374
1608
|
args: [{ selector: 'mfd-table-select-controls', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-table-select-controls' }, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n" }]
|
|
@@ -1473,7 +1707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1473
1707
|
class IconCellComponent {
|
|
1474
1708
|
}
|
|
1475
1709
|
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1476
|
-
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: IconCellComponent, selector: "td[rxap-icon-cell]", inputs: { icon: ["rxap-icon-cell", "icon"] }, host: { classAttribute: "rxap-icon-cell" }, ngImport: i0, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$
|
|
1710
|
+
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: IconCellComponent, selector: "td[rxap-icon-cell]", inputs: { icon: ["rxap-icon-cell", "icon"] }, host: { classAttribute: "rxap-icon-cell" }, ngImport: i0, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1477
1711
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1478
1712
|
type: Component,
|
|
1479
1713
|
args: [{ selector: 'td[rxap-icon-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-icon-cell' }, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n" }]
|
|
@@ -1550,7 +1784,7 @@ class LinkCellComponent {
|
|
|
1550
1784
|
}
|
|
1551
1785
|
}
|
|
1552
1786
|
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1553
|
-
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: LinkCellComponent, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol", short: "short" }, host: { classAttribute: "rxap-link-cell" }, ngImport: i0, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"start center\">\n <span *ngIf=\"short\" i18n fxFlex=\"nogrow\" class=\"content\">Open</span>\n <ng-container [ngSwitch]=\"protocol\">\n <mat-icon *ngSwitchCase=\"'tel'\" fxFlex=\"nogrow\">call</mat-icon>\n <mat-icon *ngSwitchCase=\"'mailto'\" fxFlex=\"nogrow\">email</mat-icon>\n <mat-icon *ngSwitchDefault fxFlex=\"nogrow\">launch</mat-icon>\n </ng-container>\n <span *ngIf=\"!short\" fxFlex=\"nogrow\" class=\"content\">{{value}}</span>\n </span>\n</a>\n<ng-content></ng-content>\n", styles: [".link{text-decoration:none;color:inherit}.link .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3$
|
|
1787
|
+
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: LinkCellComponent, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol", short: "short" }, host: { classAttribute: "rxap-link-cell" }, ngImport: i0, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"start center\">\n <span *ngIf=\"short\" i18n fxFlex=\"nogrow\" class=\"content\">Open</span>\n <ng-container [ngSwitch]=\"protocol\">\n <mat-icon *ngSwitchCase=\"'tel'\" fxFlex=\"nogrow\">call</mat-icon>\n <mat-icon *ngSwitchCase=\"'mailto'\" fxFlex=\"nogrow\">email</mat-icon>\n <mat-icon *ngSwitchDefault fxFlex=\"nogrow\">launch</mat-icon>\n </ng-container>\n <span *ngIf=\"!short\" fxFlex=\"nogrow\" class=\"content\">{{value}}</span>\n </span>\n</a>\n<ng-content></ng-content>\n", styles: [".link{text-decoration:none;color:inherit}.link .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i3$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i3$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1554
1788
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1555
1789
|
type: Component,
|
|
1556
1790
|
args: [{ selector: 'td[rxap-link-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-link-cell' }, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"start center\">\n <span *ngIf=\"short\" i18n fxFlex=\"nogrow\" class=\"content\">Open</span>\n <ng-container [ngSwitch]=\"protocol\">\n <mat-icon *ngSwitchCase=\"'tel'\" fxFlex=\"nogrow\">call</mat-icon>\n <mat-icon *ngSwitchCase=\"'mailto'\" fxFlex=\"nogrow\">email</mat-icon>\n <mat-icon *ngSwitchDefault fxFlex=\"nogrow\">launch</mat-icon>\n </ng-container>\n <span *ngIf=\"!short\" fxFlex=\"nogrow\" class=\"content\">{{value}}</span>\n </span>\n</a>\n<ng-content></ng-content>\n", styles: [".link{text-decoration:none;color:inherit}.link .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"] }]
|
|
@@ -1699,10 +1933,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1699
1933
|
}]
|
|
1700
1934
|
}] });
|
|
1701
1935
|
|
|
1936
|
+
/**
|
|
1937
|
+
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
1938
|
+
*/
|
|
1702
1939
|
const RXAP_TABLE_ACTION_METHOD_TYPE_METADATA = 'rxap-table-action-method-type-metadata';
|
|
1703
|
-
|
|
1940
|
+
const RXAP_TABLE_ACTION_METHOD_METADATA = 'rxap-table-action-method-metadata';
|
|
1941
|
+
/**
|
|
1942
|
+
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
1943
|
+
*/
|
|
1944
|
+
const RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA = 'rxap-table-action-method-check-function-metadata';
|
|
1945
|
+
function TableActionMethod(typeOrOptions, checkFunction) {
|
|
1946
|
+
let type;
|
|
1947
|
+
let options;
|
|
1948
|
+
if (typeof typeOrOptions === 'string') {
|
|
1949
|
+
type = typeOrOptions;
|
|
1950
|
+
options = { type, checkFunction };
|
|
1951
|
+
}
|
|
1952
|
+
else {
|
|
1953
|
+
options = typeOrOptions;
|
|
1954
|
+
type = options.type;
|
|
1955
|
+
checkFunction = options.checkFunction;
|
|
1956
|
+
}
|
|
1704
1957
|
return function (target) {
|
|
1705
|
-
setMetadata(
|
|
1958
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, options, target);
|
|
1959
|
+
if (type) {
|
|
1960
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
|
|
1961
|
+
}
|
|
1962
|
+
if (checkFunction) {
|
|
1963
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, checkFunction, target);
|
|
1964
|
+
}
|
|
1706
1965
|
};
|
|
1707
1966
|
}
|
|
1708
1967
|
|
|
@@ -1736,39 +1995,76 @@ var TableRowActionStatus;
|
|
|
1736
1995
|
})(TableRowActionStatus || (TableRowActionStatus = {}));
|
|
1737
1996
|
|
|
1738
1997
|
function IsTableRowActionTypeSwitchMethod(method) {
|
|
1739
|
-
return
|
|
1998
|
+
return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type === undefined;
|
|
1740
1999
|
}
|
|
1741
2000
|
function IsTableRowActionTypeMethod(type) {
|
|
1742
2001
|
return (method) => {
|
|
1743
|
-
return (getMetadata(
|
|
2002
|
+
return (getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type === type);
|
|
1744
2003
|
};
|
|
1745
2004
|
}
|
|
2005
|
+
function HasTableRowActionCheckFunction(method) {
|
|
2006
|
+
return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.checkFunction !== undefined;
|
|
2007
|
+
}
|
|
2008
|
+
function GetTableRowActionCheckFunction(method) {
|
|
2009
|
+
const checkFunction = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.checkFunction;
|
|
2010
|
+
if (!checkFunction) {
|
|
2011
|
+
throw new Error(`Extracted check function from '${method.constructor.name}' is empty`);
|
|
2012
|
+
}
|
|
2013
|
+
return checkFunction;
|
|
2014
|
+
}
|
|
2015
|
+
function HasTableRowActionMetadata(method) {
|
|
2016
|
+
return hasMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor);
|
|
2017
|
+
}
|
|
2018
|
+
function GetTableRowActionMetadata(method) {
|
|
2019
|
+
const metadata = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor);
|
|
2020
|
+
if (!metadata) {
|
|
2021
|
+
throw new Error(`Extracted metadata from '${method.constructor.name}' is empty`);
|
|
2022
|
+
}
|
|
2023
|
+
return metadata;
|
|
2024
|
+
}
|
|
1746
2025
|
|
|
1747
2026
|
const RXAP_TABLE_ROW_ACTION_METHOD = new InjectionToken('rxap-table-row-action-method');
|
|
1748
2027
|
|
|
1749
|
-
class TableRowActionDirective {
|
|
1750
|
-
constructor(actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton) {
|
|
2028
|
+
class TableRowActionDirective extends ConfirmDirective {
|
|
2029
|
+
constructor(overlay, elementRef, actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip) {
|
|
2030
|
+
super(overlay, elementRef);
|
|
1751
2031
|
this.cdr = cdr;
|
|
1752
2032
|
this.vcr = vcr;
|
|
1753
2033
|
this.tableDataSourceDirective = tableDataSourceDirective;
|
|
1754
2034
|
this.snackBar = snackBar;
|
|
1755
2035
|
this.matButton = matButton;
|
|
2036
|
+
this.matTooltip = matTooltip;
|
|
1756
2037
|
this._hasConfirmDirective = false;
|
|
1757
2038
|
this._currentStatus = TableRowActionStatus.DONE;
|
|
1758
2039
|
this._actionDisabled = false;
|
|
2040
|
+
this.options = null;
|
|
1759
2041
|
this.actionMethodList = coerceArray(actionMethodList);
|
|
1760
2042
|
}
|
|
1761
2043
|
set hasConfirmDirective(value) {
|
|
1762
2044
|
this._hasConfirmDirective = coerceBoolean(value);
|
|
1763
2045
|
}
|
|
2046
|
+
ngOnInit() {
|
|
2047
|
+
this.options = this.getTableActionOptions();
|
|
2048
|
+
if (this.options) {
|
|
2049
|
+
this.refresh ?? (this.refresh = this.options.refresh ?? false);
|
|
2050
|
+
this.errorMessage ?? (this.errorMessage = this.options.errorMessage ?? undefined);
|
|
2051
|
+
this.successMessage ?? (this.successMessage = this.options.successMessage ?? undefined);
|
|
2052
|
+
if (this.matTooltip && this.options.tooltip) {
|
|
2053
|
+
this.matTooltip.message = this.options.tooltip;
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
1764
2057
|
onConfirmed() {
|
|
1765
2058
|
return this.execute();
|
|
1766
2059
|
}
|
|
1767
2060
|
onClick($event) {
|
|
1768
2061
|
$event.stopPropagation();
|
|
1769
|
-
if (!this._hasConfirmDirective) {
|
|
2062
|
+
if (!this._hasConfirmDirective && !this.options?.confirm) {
|
|
1770
2063
|
return this.execute();
|
|
1771
2064
|
}
|
|
2065
|
+
else if (this.options?.confirm) {
|
|
2066
|
+
this.openConfirmOverly();
|
|
2067
|
+
}
|
|
1772
2068
|
else {
|
|
1773
2069
|
if (isDevMode()) {
|
|
1774
2070
|
console.debug('skip remote method call. Wait for confirmation.');
|
|
@@ -1867,9 +2163,16 @@ class TableRowActionDirective {
|
|
|
1867
2163
|
}
|
|
1868
2164
|
this.cdr.detectChanges();
|
|
1869
2165
|
}
|
|
2166
|
+
getTableActionOptions() {
|
|
2167
|
+
const metadataList = this.actionMethodList.map(actionMethod => GetTableRowActionMetadata(actionMethod));
|
|
2168
|
+
if (metadataList.length === 0) {
|
|
2169
|
+
return null;
|
|
2170
|
+
}
|
|
2171
|
+
return metadataList.filter(metadata => metadata.type === this.type).sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))[0];
|
|
2172
|
+
}
|
|
1870
2173
|
}
|
|
1871
|
-
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
1872
|
-
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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 });
|
|
2174
|
+
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
2175
|
+
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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 });
|
|
1873
2176
|
__decorate([
|
|
1874
2177
|
Required,
|
|
1875
2178
|
__metadata("design:type", Object)
|
|
@@ -1883,7 +2186,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1883
2186
|
args: [{
|
|
1884
2187
|
selector: 'button[rxapTableRowAction]'
|
|
1885
2188
|
}]
|
|
1886
|
-
}], ctorParameters: function () { return [{ type:
|
|
2189
|
+
}], ctorParameters: function () { return [{ type: i1$4.Overlay, decorators: [{
|
|
2190
|
+
type: Inject,
|
|
2191
|
+
args: [Overlay]
|
|
2192
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
2193
|
+
type: Inject,
|
|
2194
|
+
args: [ElementRef]
|
|
2195
|
+
}] }, { type: undefined, decorators: [{
|
|
1887
2196
|
type: Inject,
|
|
1888
2197
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
1889
2198
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
@@ -1895,14 +2204,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1895
2204
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
1896
2205
|
type: Inject,
|
|
1897
2206
|
args: [TableDataSourceDirective]
|
|
1898
|
-
}] }, { type:
|
|
2207
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
1899
2208
|
type: Inject,
|
|
1900
2209
|
args: [MatSnackBar]
|
|
1901
|
-
}] }, { type:
|
|
2210
|
+
}] }, { type: i4.MatButton, decorators: [{
|
|
1902
2211
|
type: Optional
|
|
1903
2212
|
}, {
|
|
1904
2213
|
type: Inject,
|
|
1905
2214
|
args: [MatButton]
|
|
2215
|
+
}] }, { type: i7$1.MatTooltip, decorators: [{
|
|
2216
|
+
type: Optional
|
|
2217
|
+
}, {
|
|
2218
|
+
type: Inject,
|
|
2219
|
+
args: [MatTooltip]
|
|
1906
2220
|
}] }]; }, propDecorators: { hasConfirmDirective: [{
|
|
1907
2221
|
type: Input,
|
|
1908
2222
|
args: ['rxapConfirm']
|
|
@@ -1929,8 +2243,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1929
2243
|
}] } });
|
|
1930
2244
|
|
|
1931
2245
|
class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
1932
|
-
constructor(actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, selectRowService) {
|
|
1933
|
-
super(actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton);
|
|
2246
|
+
constructor(overlay, elementRef, actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip, selectRowService) {
|
|
2247
|
+
super(overlay, elementRef, actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip);
|
|
1934
2248
|
this.selectRowService = selectRowService;
|
|
1935
2249
|
}
|
|
1936
2250
|
ngOnDestroy() {
|
|
@@ -1958,7 +2272,7 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
1958
2272
|
return this.selectRowService?.selectedRows ?? [];
|
|
1959
2273
|
}
|
|
1960
2274
|
}
|
|
1961
|
-
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
2275
|
+
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
1962
2276
|
TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 });
|
|
1963
2277
|
__decorate([
|
|
1964
2278
|
Required,
|
|
@@ -1969,7 +2283,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1969
2283
|
args: [{
|
|
1970
2284
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
1971
2285
|
}]
|
|
1972
|
-
}], ctorParameters: function () { return [{ type:
|
|
2286
|
+
}], ctorParameters: function () { return [{ type: i1$4.Overlay, decorators: [{
|
|
2287
|
+
type: Inject,
|
|
2288
|
+
args: [Overlay]
|
|
2289
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
2290
|
+
type: Inject,
|
|
2291
|
+
args: [ElementRef]
|
|
2292
|
+
}] }, { type: undefined, decorators: [{
|
|
1973
2293
|
type: Inject,
|
|
1974
2294
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
1975
2295
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
@@ -1981,14 +2301,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1981
2301
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
1982
2302
|
type: Inject,
|
|
1983
2303
|
args: [TableDataSourceDirective]
|
|
1984
|
-
}] }, { type:
|
|
2304
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
1985
2305
|
type: Inject,
|
|
1986
2306
|
args: [MatSnackBar]
|
|
1987
|
-
}] }, { type:
|
|
2307
|
+
}] }, { type: i4.MatButton, decorators: [{
|
|
1988
2308
|
type: Optional
|
|
1989
2309
|
}, {
|
|
1990
2310
|
type: Inject,
|
|
1991
2311
|
args: [MatButton]
|
|
2312
|
+
}] }, { type: i7$1.MatTooltip, decorators: [{
|
|
2313
|
+
type: Optional
|
|
2314
|
+
}, {
|
|
2315
|
+
type: Inject,
|
|
2316
|
+
args: [MatTooltip]
|
|
1992
2317
|
}] }, { type: SelectRowService, decorators: [{
|
|
1993
2318
|
type: Optional
|
|
1994
2319
|
}, {
|
|
@@ -1999,21 +2324,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1999
2324
|
args: ['rxapTableRowHeaderAction']
|
|
2000
2325
|
}] } });
|
|
2001
2326
|
|
|
2327
|
+
class RowActionCheckPipe {
|
|
2328
|
+
constructor(tableRowActionMethodList) {
|
|
2329
|
+
this.actionMethodList = coerceArray(tableRowActionMethodList);
|
|
2330
|
+
}
|
|
2331
|
+
transform(value, type) {
|
|
2332
|
+
if (!type) {
|
|
2333
|
+
throw new Error(`The provided type is empty '${type}'`);
|
|
2334
|
+
}
|
|
2335
|
+
const actionMethodList = this.actionMethodList.filter(IsTableRowActionTypeMethod(type));
|
|
2336
|
+
if (actionMethodList.length > 1) {
|
|
2337
|
+
throw new Error(`Multiple (${actionMethodList.length}) action method with the same type '${type}' found`);
|
|
2338
|
+
}
|
|
2339
|
+
if (actionMethodList.length === 0) {
|
|
2340
|
+
throw new Error(`Could not find a action method with the type '${type}'`);
|
|
2341
|
+
}
|
|
2342
|
+
const actionMethod = actionMethodList[0];
|
|
2343
|
+
if (HasTableRowActionCheckFunction(actionMethod)) {
|
|
2344
|
+
const checkFunction = GetTableRowActionCheckFunction(actionMethod);
|
|
2345
|
+
const input = coerceArray(value);
|
|
2346
|
+
return input.length !== 0 && input.every(checkFunction);
|
|
2347
|
+
}
|
|
2348
|
+
return true;
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
RowActionCheckPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2352
|
+
RowActionCheckPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, name: "rxapRowActionCheck" });
|
|
2353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
2354
|
+
type: Pipe,
|
|
2355
|
+
args: [{
|
|
2356
|
+
name: 'rxapRowActionCheck',
|
|
2357
|
+
}]
|
|
2358
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2359
|
+
type: Optional
|
|
2360
|
+
}, {
|
|
2361
|
+
type: Inject,
|
|
2362
|
+
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
2363
|
+
}] }]; } });
|
|
2364
|
+
|
|
2002
2365
|
class TableRowActionsModule {
|
|
2003
2366
|
}
|
|
2004
2367
|
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2005
2368
|
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, declarations: [TableRowActionDirective,
|
|
2006
2369
|
TableRowActionExecutingDirective,
|
|
2007
|
-
TableRowHeaderActionDirective
|
|
2370
|
+
TableRowHeaderActionDirective,
|
|
2371
|
+
RowActionCheckPipe], imports: [ConfirmComponentModule], exports: [TableRowActionDirective,
|
|
2008
2372
|
TableRowHeaderActionDirective,
|
|
2009
2373
|
TableRowActionExecutingDirective,
|
|
2374
|
+
RowActionCheckPipe,
|
|
2010
2375
|
MatTooltipModule,
|
|
2011
2376
|
MatButtonModule,
|
|
2012
2377
|
ConfirmComponentModule,
|
|
2013
2378
|
MatIconModule,
|
|
2014
2379
|
MatProgressBarModule,
|
|
2015
2380
|
CommonModule] });
|
|
2016
|
-
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, imports: [MatTooltipModule,
|
|
2381
|
+
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, imports: [ConfirmComponentModule, MatTooltipModule,
|
|
2017
2382
|
MatButtonModule,
|
|
2018
2383
|
ConfirmComponentModule,
|
|
2019
2384
|
MatIconModule,
|
|
@@ -2025,12 +2390,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2025
2390
|
declarations: [
|
|
2026
2391
|
TableRowActionDirective,
|
|
2027
2392
|
TableRowActionExecutingDirective,
|
|
2028
|
-
TableRowHeaderActionDirective
|
|
2393
|
+
TableRowHeaderActionDirective,
|
|
2394
|
+
RowActionCheckPipe
|
|
2395
|
+
],
|
|
2396
|
+
imports: [
|
|
2397
|
+
ConfirmComponentModule
|
|
2029
2398
|
],
|
|
2030
2399
|
exports: [
|
|
2031
2400
|
TableRowActionDirective,
|
|
2032
2401
|
TableRowHeaderActionDirective,
|
|
2033
2402
|
TableRowActionExecutingDirective,
|
|
2403
|
+
RowActionCheckPipe,
|
|
2034
2404
|
MatTooltipModule,
|
|
2035
2405
|
MatButtonModule,
|
|
2036
2406
|
ConfirmComponentModule,
|
|
@@ -2048,5 +2418,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2048
2418
|
* Generated bundle index. Do not edit.
|
|
2049
2419
|
*/
|
|
2050
2420
|
|
|
2051
|
-
export { BooleanCellComponent, BooleanCellComponentModule, CheckboxCellComponent, CheckboxCellComponentModule, CheckboxHeaderCellComponent, CheckboxHeaderCellComponentModule, CopyToClipboardCellComponent, CopyToClipboardCellComponentModule, DateCellComponent, DateCellComponentModule, ExpandControlsCellComponent, ExpandControlsCellComponentModule, ExpandRowContainerComponent, ExpandRowContainerComponentModule, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, 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_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_ROW_ACTION_METHOD, 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 };
|
|
2421
|
+
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 };
|
|
2052
2422
|
//# sourceMappingURL=rxap-material-table-system.mjs.map
|