@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 {
|
|
@@ -186,7 +187,7 @@ class ExpandControlsCellComponent {
|
|
|
186
187
|
}
|
|
187
188
|
}
|
|
188
189
|
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
189
|
-
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:
|
|
190
|
+
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 });
|
|
190
191
|
__decorate([
|
|
191
192
|
Required,
|
|
192
193
|
__metadata("design:type", Object)
|
|
@@ -289,6 +290,223 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
289
290
|
|
|
290
291
|
const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-material/table-system/select-row/options');
|
|
291
292
|
|
|
293
|
+
/**
|
|
294
|
+
* @license
|
|
295
|
+
* Copyright Google LLC All Rights Reserved.
|
|
296
|
+
*
|
|
297
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
298
|
+
* found in the LICENSE file at https://angular.io/license
|
|
299
|
+
*/
|
|
300
|
+
/**
|
|
301
|
+
* Class to be used to power selecting one or more options from a list.
|
|
302
|
+
*/
|
|
303
|
+
class SelectionModel {
|
|
304
|
+
constructor(_multiple = false, initiallySelectedValues, _emitChanges = true, compareWith) {
|
|
305
|
+
this._multiple = _multiple;
|
|
306
|
+
this._emitChanges = _emitChanges;
|
|
307
|
+
this.compareWith = compareWith;
|
|
308
|
+
/** Currently-selected values. */
|
|
309
|
+
this._selection = new Set();
|
|
310
|
+
/** Keeps track of the deselected options that haven't been emitted by the change event. */
|
|
311
|
+
this._deselectedToEmit = [];
|
|
312
|
+
/** Keeps track of the selected options that haven't been emitted by the change event. */
|
|
313
|
+
this._selectedToEmit = [];
|
|
314
|
+
/** Cache for the array value of the selected items. */
|
|
315
|
+
this._selected = null;
|
|
316
|
+
/** Event emitted when the value has changed. */
|
|
317
|
+
this.changed = new Subject();
|
|
318
|
+
if (initiallySelectedValues && initiallySelectedValues.length) {
|
|
319
|
+
if (_multiple) {
|
|
320
|
+
initiallySelectedValues.forEach(value => this._markSelected(value));
|
|
321
|
+
}
|
|
322
|
+
else {
|
|
323
|
+
this._markSelected(initiallySelectedValues[0]);
|
|
324
|
+
}
|
|
325
|
+
// Clear the array in order to avoid firing the change event for preselected values.
|
|
326
|
+
this._selectedToEmit.length = 0;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
/** Selected values. */
|
|
330
|
+
get selected() {
|
|
331
|
+
if (!this._selected) {
|
|
332
|
+
this._selected = Array.from(this._selection.values());
|
|
333
|
+
}
|
|
334
|
+
return this._selected;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Selects a value or an array of values.
|
|
338
|
+
* @param values The values to select
|
|
339
|
+
* @return Whether the selection changed as a result of this call
|
|
340
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
341
|
+
*/
|
|
342
|
+
select(...values) {
|
|
343
|
+
this._verifyValueAssignment(values);
|
|
344
|
+
values.forEach(value => this._markSelected(value));
|
|
345
|
+
const changed = this._hasQueuedChanges();
|
|
346
|
+
this._emitChangeEvent();
|
|
347
|
+
return changed;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Deselects a value or an array of values.
|
|
351
|
+
* @param values The values to deselect
|
|
352
|
+
* @return Whether the selection changed as a result of this call
|
|
353
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
354
|
+
*/
|
|
355
|
+
deselect(...values) {
|
|
356
|
+
this._verifyValueAssignment(values);
|
|
357
|
+
values.forEach(value => this._unmarkSelected(value));
|
|
358
|
+
const changed = this._hasQueuedChanges();
|
|
359
|
+
this._emitChangeEvent();
|
|
360
|
+
return changed;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Sets the selected values
|
|
364
|
+
* @param values The new selected values
|
|
365
|
+
* @return Whether the selection changed as a result of this call
|
|
366
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
367
|
+
*/
|
|
368
|
+
setSelection(...values) {
|
|
369
|
+
this._verifyValueAssignment(values);
|
|
370
|
+
const oldValues = this.selected;
|
|
371
|
+
const newSelectedSet = new Set(values);
|
|
372
|
+
values.forEach(value => this._markSelected(value));
|
|
373
|
+
oldValues
|
|
374
|
+
.filter(value => !newSelectedSet.has(value))
|
|
375
|
+
.forEach(value => this._unmarkSelected(value));
|
|
376
|
+
const changed = this._hasQueuedChanges();
|
|
377
|
+
this._emitChangeEvent();
|
|
378
|
+
return changed;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Toggles a value between selected and deselected.
|
|
382
|
+
* @param value The value to toggle
|
|
383
|
+
* @return Whether the selection changed as a result of this call
|
|
384
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
385
|
+
*/
|
|
386
|
+
toggle(value) {
|
|
387
|
+
return this.isSelected(value) ? this.deselect(value) : this.select(value);
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Clears all of the selected values.
|
|
391
|
+
* @param flushEvent Whether to flush the changes in an event.
|
|
392
|
+
* If false, the changes to the selection will be flushed along with the next event.
|
|
393
|
+
* @return Whether the selection changed as a result of this call
|
|
394
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
395
|
+
*/
|
|
396
|
+
clear(flushEvent = true) {
|
|
397
|
+
this._unmarkAll();
|
|
398
|
+
const changed = this._hasQueuedChanges();
|
|
399
|
+
if (flushEvent) {
|
|
400
|
+
this._emitChangeEvent();
|
|
401
|
+
}
|
|
402
|
+
return changed;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Determines whether a value is selected.
|
|
406
|
+
*/
|
|
407
|
+
isSelected(value) {
|
|
408
|
+
if (this.compareWith) {
|
|
409
|
+
for (const otherValue of this._selection) {
|
|
410
|
+
if (this.compareWith(otherValue, value)) {
|
|
411
|
+
return true;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
return false;
|
|
415
|
+
}
|
|
416
|
+
return this._selection.has(value);
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Determines whether the model does not have a value.
|
|
420
|
+
*/
|
|
421
|
+
isEmpty() {
|
|
422
|
+
return this._selection.size === 0;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Determines whether the model has a value.
|
|
426
|
+
*/
|
|
427
|
+
hasValue() {
|
|
428
|
+
return !this.isEmpty();
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Sorts the selected values based on a predicate function.
|
|
432
|
+
*/
|
|
433
|
+
sort(predicate) {
|
|
434
|
+
if (this._multiple && this.selected) {
|
|
435
|
+
this._selected.sort(predicate);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Gets whether multiple values can be selected.
|
|
440
|
+
*/
|
|
441
|
+
isMultipleSelection() {
|
|
442
|
+
return this._multiple;
|
|
443
|
+
}
|
|
444
|
+
/** Emits a change event and clears the records of selected and deselected values. */
|
|
445
|
+
_emitChangeEvent() {
|
|
446
|
+
// Clear the selected values so they can be re-cached.
|
|
447
|
+
this._selected = null;
|
|
448
|
+
if (this._selectedToEmit.length || this._deselectedToEmit.length) {
|
|
449
|
+
this.changed.next({
|
|
450
|
+
source: this,
|
|
451
|
+
added: this._selectedToEmit,
|
|
452
|
+
removed: this._deselectedToEmit,
|
|
453
|
+
});
|
|
454
|
+
this._deselectedToEmit = [];
|
|
455
|
+
this._selectedToEmit = [];
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
/** Selects a value. */
|
|
459
|
+
_markSelected(value) {
|
|
460
|
+
if (!this.isSelected(value)) {
|
|
461
|
+
if (!this._multiple) {
|
|
462
|
+
this._unmarkAll();
|
|
463
|
+
}
|
|
464
|
+
if (!this.isSelected(value)) {
|
|
465
|
+
this._selection.add(value);
|
|
466
|
+
}
|
|
467
|
+
if (this._emitChanges) {
|
|
468
|
+
this._selectedToEmit.push(value);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
/** Deselects a value. */
|
|
473
|
+
_unmarkSelected(value) {
|
|
474
|
+
if (this.isSelected(value)) {
|
|
475
|
+
this._selection.delete(value);
|
|
476
|
+
if (this._emitChanges) {
|
|
477
|
+
this._deselectedToEmit.push(value);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
/** Clears out the selected values. */
|
|
482
|
+
_unmarkAll() {
|
|
483
|
+
if (!this.isEmpty()) {
|
|
484
|
+
this._selection.forEach(value => this._unmarkSelected(value));
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Verifies the value assignment and throws an error if the specified value array is
|
|
489
|
+
* including multiple values while the selection model is not supporting multiple values.
|
|
490
|
+
*/
|
|
491
|
+
_verifyValueAssignment(values) {
|
|
492
|
+
if (values.length > 1 && !this._multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
493
|
+
throw getMultipleValuesInSingleSelectionError();
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
/** Whether there are queued up change to be emitted. */
|
|
497
|
+
_hasQueuedChanges() {
|
|
498
|
+
return !!(this._deselectedToEmit.length || this._selectedToEmit.length);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Returns an error that reports that multiple values are passed into a selection model
|
|
503
|
+
* with a single value.
|
|
504
|
+
* @docs-private
|
|
505
|
+
*/
|
|
506
|
+
function getMultipleValuesInSingleSelectionError() {
|
|
507
|
+
return Error('Cannot pass multiple values into SelectionModel with single-value mode.');
|
|
508
|
+
}
|
|
509
|
+
|
|
292
510
|
class SelectRowService {
|
|
293
511
|
constructor(options = null) {
|
|
294
512
|
this.selectionModel = new SelectionModel(true);
|
|
@@ -385,7 +603,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
385
603
|
type: Component,
|
|
386
604
|
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" }]
|
|
387
605
|
}], ctorParameters: function () {
|
|
388
|
-
return [{ type: i4.CdkTable, decorators: [{
|
|
606
|
+
return [{ type: i4$1.CdkTable, decorators: [{
|
|
389
607
|
type: Inject,
|
|
390
608
|
args: [CdkTable]
|
|
391
609
|
}] }, { type: SelectRowService }];
|
|
@@ -559,10 +777,13 @@ class TableDataSourceDirective {
|
|
|
559
777
|
this.tableFilter = tableFilter;
|
|
560
778
|
this._tableFilter = _tableFilter;
|
|
561
779
|
this.loading$ = new ToggleSubject(true);
|
|
780
|
+
this.hasError$ = new ToggleSubject();
|
|
562
781
|
this._subscription = new Subscription();
|
|
563
782
|
this.adapterFactory = null;
|
|
564
783
|
this.matTable.trackBy = this.trackBy;
|
|
565
784
|
this.adapterFactory = adapterFactory;
|
|
785
|
+
this.retry = this.retry.bind(this);
|
|
786
|
+
this.refresh = this.refresh.bind(this);
|
|
566
787
|
}
|
|
567
788
|
/**
|
|
568
789
|
* @deprecated use dataSource instead
|
|
@@ -619,6 +840,7 @@ class TableDataSourceDirective {
|
|
|
619
840
|
this.dataSource.setParameters(this.parameters, this.id);
|
|
620
841
|
}
|
|
621
842
|
this._subscription.add(this.dataSource.loading$.pipe(tap(loading => this.loading$.next(!!loading))).subscribe());
|
|
843
|
+
this._subscription.add(this.dataSource.hasError$.pipe(tap(hasError => this.hasError$.next(!!hasError))).subscribe());
|
|
622
844
|
// create the id property for the mat table component.
|
|
623
845
|
// the instance of the mat table component is used as viewer object
|
|
624
846
|
// with the set of the id property it is possible to use the same data source
|
|
@@ -635,12 +857,17 @@ class TableDataSourceDirective {
|
|
|
635
857
|
.subscribe());
|
|
636
858
|
}
|
|
637
859
|
ngOnDestroy() {
|
|
638
|
-
|
|
860
|
+
var _a;
|
|
861
|
+
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
639
862
|
}
|
|
640
863
|
refresh() {
|
|
641
864
|
var _a;
|
|
642
865
|
(_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
643
866
|
}
|
|
867
|
+
retry() {
|
|
868
|
+
var _a;
|
|
869
|
+
(_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.retry();
|
|
870
|
+
}
|
|
644
871
|
}
|
|
645
872
|
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 });
|
|
646
873
|
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 });
|
|
@@ -655,7 +882,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
655
882
|
exportAs: 'rxapTableDataSource'
|
|
656
883
|
}]
|
|
657
884
|
}], ctorParameters: function () {
|
|
658
|
-
return [{ type: i4.CdkTable, decorators: [{
|
|
885
|
+
return [{ type: i4$1.CdkTable, decorators: [{
|
|
659
886
|
type: Inject,
|
|
660
887
|
args: [CdkTable]
|
|
661
888
|
}] }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -779,6 +1006,12 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
779
1006
|
super(cdr, formDefinition);
|
|
780
1007
|
this.tableFilter = tableFilter;
|
|
781
1008
|
}
|
|
1009
|
+
set useFormDefinition(value) {
|
|
1010
|
+
if (value) {
|
|
1011
|
+
this._formDefinition = value;
|
|
1012
|
+
this.form = value.rxapFormGroup;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
782
1015
|
ngOnInit() {
|
|
783
1016
|
super.ngOnInit();
|
|
784
1017
|
this._subscription = this.form.value$
|
|
@@ -792,7 +1025,7 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
792
1025
|
}
|
|
793
1026
|
}
|
|
794
1027
|
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 });
|
|
795
|
-
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", providers: [
|
|
1028
|
+
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: [
|
|
796
1029
|
{
|
|
797
1030
|
provide: ControlContainer,
|
|
798
1031
|
// ignore coverage
|
|
@@ -819,7 +1052,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
819
1052
|
type: Inject,
|
|
820
1053
|
args: [RXAP_TABLE_FILTER_FORM_DEFINITION]
|
|
821
1054
|
}] }];
|
|
822
|
-
}
|
|
1055
|
+
}, propDecorators: { useFormDefinition: [{
|
|
1056
|
+
type: Input,
|
|
1057
|
+
args: ['rxap-filter-header-row']
|
|
1058
|
+
}] } });
|
|
823
1059
|
|
|
824
1060
|
class ToFilterColumnNamesPipe {
|
|
825
1061
|
transform(columns) {
|
|
@@ -964,7 +1200,7 @@ class TableColumnMenuComponent {
|
|
|
964
1200
|
}
|
|
965
1201
|
}
|
|
966
1202
|
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
967
|
-
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:
|
|
1203
|
+
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 });
|
|
968
1204
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
969
1205
|
type: Component,
|
|
970
1206
|
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"] }]
|
|
@@ -1028,7 +1264,7 @@ class TableShowArchivedSlideComponent {
|
|
|
1028
1264
|
}
|
|
1029
1265
|
}
|
|
1030
1266
|
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 });
|
|
1031
|
-
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$
|
|
1267
|
+
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 });
|
|
1032
1268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1033
1269
|
type: Component,
|
|
1034
1270
|
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" }]
|
|
@@ -1195,7 +1431,7 @@ class RowControlsCellComponent {
|
|
|
1195
1431
|
}
|
|
1196
1432
|
}
|
|
1197
1433
|
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 });
|
|
1198
|
-
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$
|
|
1434
|
+
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 });
|
|
1199
1435
|
__decorate([
|
|
1200
1436
|
Required,
|
|
1201
1437
|
__metadata("design:type", Object)
|
|
@@ -1336,7 +1572,7 @@ class RowControlsHeaderCellComponent {
|
|
|
1336
1572
|
}
|
|
1337
1573
|
}
|
|
1338
1574
|
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 });
|
|
1339
|
-
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$
|
|
1575
|
+
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 });
|
|
1340
1576
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1341
1577
|
type: Component,
|
|
1342
1578
|
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" }]
|
|
@@ -1431,7 +1667,7 @@ class TableSelectControlsComponent {
|
|
|
1431
1667
|
}
|
|
1432
1668
|
}
|
|
1433
1669
|
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 });
|
|
1434
|
-
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:
|
|
1670
|
+
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 });
|
|
1435
1671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1436
1672
|
type: Component,
|
|
1437
1673
|
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" }]
|
|
@@ -1538,7 +1774,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1538
1774
|
class IconCellComponent {
|
|
1539
1775
|
}
|
|
1540
1776
|
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1541
|
-
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$
|
|
1777
|
+
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 });
|
|
1542
1778
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1543
1779
|
type: Component,
|
|
1544
1780
|
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" }]
|
|
@@ -1615,7 +1851,7 @@ class LinkCellComponent {
|
|
|
1615
1851
|
}
|
|
1616
1852
|
}
|
|
1617
1853
|
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1618
|
-
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$
|
|
1854
|
+
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 });
|
|
1619
1855
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1620
1856
|
type: Component,
|
|
1621
1857
|
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"] }]
|
|
@@ -1765,10 +2001,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1765
2001
|
}]
|
|
1766
2002
|
}] });
|
|
1767
2003
|
|
|
2004
|
+
/**
|
|
2005
|
+
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
2006
|
+
*/
|
|
1768
2007
|
const RXAP_TABLE_ACTION_METHOD_TYPE_METADATA = 'rxap-table-action-method-type-metadata';
|
|
1769
|
-
|
|
2008
|
+
const RXAP_TABLE_ACTION_METHOD_METADATA = 'rxap-table-action-method-metadata';
|
|
2009
|
+
/**
|
|
2010
|
+
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
2011
|
+
*/
|
|
2012
|
+
const RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA = 'rxap-table-action-method-check-function-metadata';
|
|
2013
|
+
function TableActionMethod(typeOrOptions, checkFunction) {
|
|
2014
|
+
let type;
|
|
2015
|
+
let options;
|
|
2016
|
+
if (typeof typeOrOptions === 'string') {
|
|
2017
|
+
type = typeOrOptions;
|
|
2018
|
+
options = { type, checkFunction };
|
|
2019
|
+
}
|
|
2020
|
+
else {
|
|
2021
|
+
options = typeOrOptions;
|
|
2022
|
+
type = options.type;
|
|
2023
|
+
checkFunction = options.checkFunction;
|
|
2024
|
+
}
|
|
1770
2025
|
return function (target) {
|
|
1771
|
-
setMetadata(
|
|
2026
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, options, target);
|
|
2027
|
+
if (type) {
|
|
2028
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
|
|
2029
|
+
}
|
|
2030
|
+
if (checkFunction) {
|
|
2031
|
+
setMetadata(RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, checkFunction, target);
|
|
2032
|
+
}
|
|
1772
2033
|
};
|
|
1773
2034
|
}
|
|
1774
2035
|
|
|
@@ -1802,39 +2063,82 @@ var TableRowActionStatus;
|
|
|
1802
2063
|
})(TableRowActionStatus || (TableRowActionStatus = {}));
|
|
1803
2064
|
|
|
1804
2065
|
function IsTableRowActionTypeSwitchMethod(method) {
|
|
1805
|
-
|
|
2066
|
+
var _a;
|
|
2067
|
+
return ((_a = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)) === null || _a === void 0 ? void 0 : _a.type) === undefined;
|
|
1806
2068
|
}
|
|
1807
2069
|
function IsTableRowActionTypeMethod(type) {
|
|
1808
2070
|
return (method) => {
|
|
1809
|
-
|
|
2071
|
+
var _a;
|
|
2072
|
+
return (((_a = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)) === null || _a === void 0 ? void 0 : _a.type) === type);
|
|
1810
2073
|
};
|
|
1811
2074
|
}
|
|
2075
|
+
function HasTableRowActionCheckFunction(method) {
|
|
2076
|
+
var _a;
|
|
2077
|
+
return ((_a = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)) === null || _a === void 0 ? void 0 : _a.checkFunction) !== undefined;
|
|
2078
|
+
}
|
|
2079
|
+
function GetTableRowActionCheckFunction(method) {
|
|
2080
|
+
var _a;
|
|
2081
|
+
const checkFunction = (_a = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)) === null || _a === void 0 ? void 0 : _a.checkFunction;
|
|
2082
|
+
if (!checkFunction) {
|
|
2083
|
+
throw new Error(`Extracted check function from '${method.constructor.name}' is empty`);
|
|
2084
|
+
}
|
|
2085
|
+
return checkFunction;
|
|
2086
|
+
}
|
|
2087
|
+
function HasTableRowActionMetadata(method) {
|
|
2088
|
+
return hasMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor);
|
|
2089
|
+
}
|
|
2090
|
+
function GetTableRowActionMetadata(method) {
|
|
2091
|
+
const metadata = getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor);
|
|
2092
|
+
if (!metadata) {
|
|
2093
|
+
throw new Error(`Extracted metadata from '${method.constructor.name}' is empty`);
|
|
2094
|
+
}
|
|
2095
|
+
return metadata;
|
|
2096
|
+
}
|
|
1812
2097
|
|
|
1813
2098
|
const RXAP_TABLE_ROW_ACTION_METHOD = new InjectionToken('rxap-table-row-action-method');
|
|
1814
2099
|
|
|
1815
|
-
class TableRowActionDirective {
|
|
1816
|
-
constructor(actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton) {
|
|
2100
|
+
class TableRowActionDirective extends ConfirmDirective {
|
|
2101
|
+
constructor(overlay, elementRef, actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip) {
|
|
2102
|
+
super(overlay, elementRef);
|
|
1817
2103
|
this.cdr = cdr;
|
|
1818
2104
|
this.vcr = vcr;
|
|
1819
2105
|
this.tableDataSourceDirective = tableDataSourceDirective;
|
|
1820
2106
|
this.snackBar = snackBar;
|
|
1821
2107
|
this.matButton = matButton;
|
|
2108
|
+
this.matTooltip = matTooltip;
|
|
1822
2109
|
this._hasConfirmDirective = false;
|
|
1823
2110
|
this._currentStatus = TableRowActionStatus.DONE;
|
|
1824
2111
|
this._actionDisabled = false;
|
|
2112
|
+
this.options = null;
|
|
1825
2113
|
this.actionMethodList = coerceArray(actionMethodList);
|
|
1826
2114
|
}
|
|
1827
2115
|
set hasConfirmDirective(value) {
|
|
1828
2116
|
this._hasConfirmDirective = coerceBoolean(value);
|
|
1829
2117
|
}
|
|
2118
|
+
ngOnInit() {
|
|
2119
|
+
var _a, _b, _c, _d, _e, _f;
|
|
2120
|
+
this.options = this.getTableActionOptions();
|
|
2121
|
+
if (this.options) {
|
|
2122
|
+
(_a = this.refresh) !== null && _a !== void 0 ? _a : (this.refresh = (_b = this.options.refresh) !== null && _b !== void 0 ? _b : false);
|
|
2123
|
+
(_c = this.errorMessage) !== null && _c !== void 0 ? _c : (this.errorMessage = (_d = this.options.errorMessage) !== null && _d !== void 0 ? _d : undefined);
|
|
2124
|
+
(_e = this.successMessage) !== null && _e !== void 0 ? _e : (this.successMessage = (_f = this.options.successMessage) !== null && _f !== void 0 ? _f : undefined);
|
|
2125
|
+
if (this.matTooltip && this.options.tooltip) {
|
|
2126
|
+
this.matTooltip.message = this.options.tooltip;
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
1830
2130
|
onConfirmed() {
|
|
1831
2131
|
return this.execute();
|
|
1832
2132
|
}
|
|
1833
2133
|
onClick($event) {
|
|
2134
|
+
var _a, _b;
|
|
1834
2135
|
$event.stopPropagation();
|
|
1835
|
-
if (!this._hasConfirmDirective) {
|
|
2136
|
+
if (!this._hasConfirmDirective && !((_a = this.options) === null || _a === void 0 ? void 0 : _a.confirm)) {
|
|
1836
2137
|
return this.execute();
|
|
1837
2138
|
}
|
|
2139
|
+
else if ((_b = this.options) === null || _b === void 0 ? void 0 : _b.confirm) {
|
|
2140
|
+
this.openConfirmOverly();
|
|
2141
|
+
}
|
|
1838
2142
|
else {
|
|
1839
2143
|
if (isDevMode()) {
|
|
1840
2144
|
console.debug('skip remote method call. Wait for confirmation.');
|
|
@@ -1936,9 +2240,16 @@ class TableRowActionDirective {
|
|
|
1936
2240
|
}
|
|
1937
2241
|
this.cdr.detectChanges();
|
|
1938
2242
|
}
|
|
2243
|
+
getTableActionOptions() {
|
|
2244
|
+
const metadataList = this.actionMethodList.map(actionMethod => GetTableRowActionMetadata(actionMethod));
|
|
2245
|
+
if (metadataList.length === 0) {
|
|
2246
|
+
return null;
|
|
2247
|
+
}
|
|
2248
|
+
return metadataList.filter(metadata => metadata.type === this.type).sort((a, b) => { var _a, _b; return ((_a = a.priority) !== null && _a !== void 0 ? _a : 0) - ((_b = b.priority) !== null && _b !== void 0 ? _b : 0); })[0];
|
|
2249
|
+
}
|
|
1939
2250
|
}
|
|
1940
|
-
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 });
|
|
1941
|
-
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 });
|
|
2251
|
+
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 });
|
|
2252
|
+
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 });
|
|
1942
2253
|
__decorate([
|
|
1943
2254
|
Required,
|
|
1944
2255
|
__metadata("design:type", Object)
|
|
@@ -1953,7 +2264,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1953
2264
|
selector: 'button[rxapTableRowAction]'
|
|
1954
2265
|
}]
|
|
1955
2266
|
}], ctorParameters: function () {
|
|
1956
|
-
return [{ type:
|
|
2267
|
+
return [{ type: i1$4.Overlay, decorators: [{
|
|
2268
|
+
type: Inject,
|
|
2269
|
+
args: [Overlay]
|
|
2270
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
2271
|
+
type: Inject,
|
|
2272
|
+
args: [ElementRef]
|
|
2273
|
+
}] }, { type: undefined, decorators: [{
|
|
1957
2274
|
type: Inject,
|
|
1958
2275
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
1959
2276
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
@@ -1965,14 +2282,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1965
2282
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
1966
2283
|
type: Inject,
|
|
1967
2284
|
args: [TableDataSourceDirective]
|
|
1968
|
-
}] }, { type:
|
|
2285
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
1969
2286
|
type: Inject,
|
|
1970
2287
|
args: [MatSnackBar]
|
|
1971
|
-
}] }, { type:
|
|
2288
|
+
}] }, { type: i4.MatButton, decorators: [{
|
|
1972
2289
|
type: Optional
|
|
1973
2290
|
}, {
|
|
1974
2291
|
type: Inject,
|
|
1975
2292
|
args: [MatButton]
|
|
2293
|
+
}] }, { type: i7$1.MatTooltip, decorators: [{
|
|
2294
|
+
type: Optional
|
|
2295
|
+
}, {
|
|
2296
|
+
type: Inject,
|
|
2297
|
+
args: [MatTooltip]
|
|
1976
2298
|
}] }];
|
|
1977
2299
|
}, propDecorators: { hasConfirmDirective: [{
|
|
1978
2300
|
type: Input,
|
|
@@ -2000,8 +2322,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2000
2322
|
}] } });
|
|
2001
2323
|
|
|
2002
2324
|
class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
2003
|
-
constructor(actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, selectRowService) {
|
|
2004
|
-
super(actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton);
|
|
2325
|
+
constructor(overlay, elementRef, actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip, selectRowService) {
|
|
2326
|
+
super(overlay, elementRef, actionMethod, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip);
|
|
2005
2327
|
this.selectRowService = selectRowService;
|
|
2006
2328
|
}
|
|
2007
2329
|
ngOnDestroy() {
|
|
@@ -2031,7 +2353,7 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2031
2353
|
return (_b = (_a = this.selectRowService) === null || _a === void 0 ? void 0 : _a.selectedRows) !== null && _b !== void 0 ? _b : [];
|
|
2032
2354
|
}
|
|
2033
2355
|
}
|
|
2034
|
-
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 });
|
|
2356
|
+
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 });
|
|
2035
2357
|
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 });
|
|
2036
2358
|
__decorate([
|
|
2037
2359
|
Required,
|
|
@@ -2043,7 +2365,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2043
2365
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
2044
2366
|
}]
|
|
2045
2367
|
}], ctorParameters: function () {
|
|
2046
|
-
return [{ type:
|
|
2368
|
+
return [{ type: i1$4.Overlay, decorators: [{
|
|
2369
|
+
type: Inject,
|
|
2370
|
+
args: [Overlay]
|
|
2371
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
2372
|
+
type: Inject,
|
|
2373
|
+
args: [ElementRef]
|
|
2374
|
+
}] }, { type: undefined, decorators: [{
|
|
2047
2375
|
type: Inject,
|
|
2048
2376
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
2049
2377
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
@@ -2055,14 +2383,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2055
2383
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2056
2384
|
type: Inject,
|
|
2057
2385
|
args: [TableDataSourceDirective]
|
|
2058
|
-
}] }, { type:
|
|
2386
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
2059
2387
|
type: Inject,
|
|
2060
2388
|
args: [MatSnackBar]
|
|
2061
|
-
}] }, { type:
|
|
2389
|
+
}] }, { type: i4.MatButton, decorators: [{
|
|
2062
2390
|
type: Optional
|
|
2063
2391
|
}, {
|
|
2064
2392
|
type: Inject,
|
|
2065
2393
|
args: [MatButton]
|
|
2394
|
+
}] }, { type: i7$1.MatTooltip, decorators: [{
|
|
2395
|
+
type: Optional
|
|
2396
|
+
}, {
|
|
2397
|
+
type: Inject,
|
|
2398
|
+
args: [MatTooltip]
|
|
2066
2399
|
}] }, { type: SelectRowService, decorators: [{
|
|
2067
2400
|
type: Optional
|
|
2068
2401
|
}, {
|
|
@@ -2074,21 +2407,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2074
2407
|
args: ['rxapTableRowHeaderAction']
|
|
2075
2408
|
}] } });
|
|
2076
2409
|
|
|
2410
|
+
class RowActionCheckPipe {
|
|
2411
|
+
constructor(tableRowActionMethodList) {
|
|
2412
|
+
this.actionMethodList = coerceArray(tableRowActionMethodList);
|
|
2413
|
+
}
|
|
2414
|
+
transform(value, type) {
|
|
2415
|
+
if (!type) {
|
|
2416
|
+
throw new Error(`The provided type is empty '${type}'`);
|
|
2417
|
+
}
|
|
2418
|
+
const actionMethodList = this.actionMethodList.filter(IsTableRowActionTypeMethod(type));
|
|
2419
|
+
if (actionMethodList.length > 1) {
|
|
2420
|
+
throw new Error(`Multiple (${actionMethodList.length}) action method with the same type '${type}' found`);
|
|
2421
|
+
}
|
|
2422
|
+
if (actionMethodList.length === 0) {
|
|
2423
|
+
throw new Error(`Could not find a action method with the type '${type}'`);
|
|
2424
|
+
}
|
|
2425
|
+
const actionMethod = actionMethodList[0];
|
|
2426
|
+
if (HasTableRowActionCheckFunction(actionMethod)) {
|
|
2427
|
+
const checkFunction = GetTableRowActionCheckFunction(actionMethod);
|
|
2428
|
+
const input = coerceArray(value);
|
|
2429
|
+
return input.length !== 0 && input.every(checkFunction);
|
|
2430
|
+
}
|
|
2431
|
+
return true;
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
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 });
|
|
2435
|
+
RowActionCheckPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, name: "rxapRowActionCheck" });
|
|
2436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
2437
|
+
type: Pipe,
|
|
2438
|
+
args: [{
|
|
2439
|
+
name: 'rxapRowActionCheck',
|
|
2440
|
+
}]
|
|
2441
|
+
}], ctorParameters: function () {
|
|
2442
|
+
return [{ type: undefined, decorators: [{
|
|
2443
|
+
type: Optional
|
|
2444
|
+
}, {
|
|
2445
|
+
type: Inject,
|
|
2446
|
+
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
2447
|
+
}] }];
|
|
2448
|
+
} });
|
|
2449
|
+
|
|
2077
2450
|
class TableRowActionsModule {
|
|
2078
2451
|
}
|
|
2079
2452
|
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2080
2453
|
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, declarations: [TableRowActionDirective,
|
|
2081
2454
|
TableRowActionExecutingDirective,
|
|
2082
|
-
TableRowHeaderActionDirective
|
|
2455
|
+
TableRowHeaderActionDirective,
|
|
2456
|
+
RowActionCheckPipe], imports: [ConfirmComponentModule], exports: [TableRowActionDirective,
|
|
2083
2457
|
TableRowHeaderActionDirective,
|
|
2084
2458
|
TableRowActionExecutingDirective,
|
|
2459
|
+
RowActionCheckPipe,
|
|
2085
2460
|
MatTooltipModule,
|
|
2086
2461
|
MatButtonModule,
|
|
2087
2462
|
ConfirmComponentModule,
|
|
2088
2463
|
MatIconModule,
|
|
2089
2464
|
MatProgressBarModule,
|
|
2090
2465
|
CommonModule] });
|
|
2091
|
-
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, imports: [MatTooltipModule,
|
|
2466
|
+
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionsModule, imports: [ConfirmComponentModule, MatTooltipModule,
|
|
2092
2467
|
MatButtonModule,
|
|
2093
2468
|
ConfirmComponentModule,
|
|
2094
2469
|
MatIconModule,
|
|
@@ -2100,12 +2475,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2100
2475
|
declarations: [
|
|
2101
2476
|
TableRowActionDirective,
|
|
2102
2477
|
TableRowActionExecutingDirective,
|
|
2103
|
-
TableRowHeaderActionDirective
|
|
2478
|
+
TableRowHeaderActionDirective,
|
|
2479
|
+
RowActionCheckPipe
|
|
2480
|
+
],
|
|
2481
|
+
imports: [
|
|
2482
|
+
ConfirmComponentModule
|
|
2104
2483
|
],
|
|
2105
2484
|
exports: [
|
|
2106
2485
|
TableRowActionDirective,
|
|
2107
2486
|
TableRowHeaderActionDirective,
|
|
2108
2487
|
TableRowActionExecutingDirective,
|
|
2488
|
+
RowActionCheckPipe,
|
|
2109
2489
|
MatTooltipModule,
|
|
2110
2490
|
MatButtonModule,
|
|
2111
2491
|
ConfirmComponentModule,
|
|
@@ -2123,5 +2503,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2123
2503
|
* Generated bundle index. Do not edit.
|
|
2124
2504
|
*/
|
|
2125
2505
|
|
|
2126
|
-
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 };
|
|
2506
|
+
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 };
|
|
2127
2507
|
//# sourceMappingURL=rxap-material-table-system.mjs.map
|