@porscheinformatik/material-addons 0.0.35 → 0.0.99
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/README.md +29 -29
- package/esm2022/lib/button/button.mjs +7 -0
- package/esm2022/lib/button/button.module.mjs +26 -0
- package/esm2022/lib/button/danger-button/danger-button.component.mjs +28 -0
- package/esm2022/lib/button/flat-button/link-button.component.mjs +28 -0
- package/esm2022/lib/button/icon-button/icon-button.component.mjs +28 -0
- package/esm2022/lib/button/mad-basic-button.mjs +39 -0
- package/esm2022/lib/button/outline-button/outline-button.component.mjs +28 -0
- package/esm2022/lib/button/primary-button/primary-button.component.mjs +28 -0
- package/esm2022/lib/card/card.component.mjs +129 -0
- package/esm2022/lib/card/card.mjs +2 -0
- package/esm2022/lib/card/card.module.mjs +23 -0
- package/esm2022/lib/content-panel/content-header/content-header.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel-container/content-panel-container.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel.module.mjs +42 -0
- package/esm2022/lib/content-panel/main-container/main-container.component.mjs +11 -0
- package/esm2022/lib/data-table/data-table-action-type.mjs +6 -0
- package/esm2022/lib/data-table/data-table-action.mjs +2 -0
- package/esm2022/lib/data-table/data-table-column-definition.mjs +2 -0
- package/esm2022/lib/data-table/data-table-column.mjs +2 -0
- package/esm2022/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.mjs +103 -0
- package/esm2022/lib/data-table/data-table-row.mjs +2 -0
- package/esm2022/lib/data-table/data-table.component.mjs +529 -0
- package/esm2022/lib/data-table/data-table.mjs +3 -0
- package/esm2022/lib/data-table/data-table.module.mjs +81 -0
- package/esm2022/lib/file-upload/drag-and-drop-directive.directive.mjs +61 -0
- package/esm2022/lib/file-upload/file-upload.component.mjs +78 -0
- package/esm2022/lib/flowbar/flowbar.component.mjs +190 -0
- package/esm2022/lib/flowbar/flowbar.module.mjs +19 -0
- package/esm2022/lib/material-action-button/material-action-button.component.mjs +34 -0
- package/esm2022/lib/material-action-button/material-action-button.module.mjs +22 -0
- package/esm2022/lib/material-addons.module.mjs +45 -0
- package/esm2022/lib/numeric-field/number-format.service.mjs +139 -0
- package/esm2022/lib/numeric-field/numeric-field.directive.mjs +295 -0
- package/esm2022/lib/numeric-field/numeric-field.mjs +2 -0
- package/esm2022/lib/numeric-field/numeric-field.module.mjs +24 -0
- package/esm2022/lib/quick-list/base-quick-list.component.mjs +124 -0
- package/esm2022/lib/quick-list/quick-list-compact/quick-list-compact.component.mjs +22 -0
- package/esm2022/lib/quick-list/quick-list.component.mjs +23 -0
- package/esm2022/lib/quick-list/quick-list.mjs +6 -0
- package/esm2022/lib/quick-list/quick-list.module.mjs +46 -0
- package/esm2022/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.mjs +22 -0
- package/esm2022/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.mjs +22 -0
- package/esm2022/lib/readonly/readonly-form-field/readonly-form-field.component.mjs +181 -0
- package/esm2022/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.mjs +206 -0
- package/esm2022/lib/readonly/readonly-form-field.module.mjs +25 -0
- package/esm2022/lib/stepper/mad-stepper-animation.mjs +13 -0
- package/esm2022/lib/stepper/step-header/step-header.component.mjs +77 -0
- package/esm2022/lib/stepper/stepper.component.mjs +159 -0
- package/esm2022/lib/stepper/stepper.module.mjs +23 -0
- package/esm2022/lib/table/column-header.mjs +2 -0
- package/esm2022/lib/table/table-action.mjs +2 -0
- package/esm2022/lib/table/table.component.mjs +130 -0
- package/esm2022/lib/table/table.mjs +2 -0
- package/esm2022/lib/table/table.module.mjs +56 -0
- package/esm2022/lib/throttle-click/throttle-click.directive.mjs +38 -0
- package/esm2022/lib/throttle-click/throttle-click.module.mjs +18 -0
- package/esm2022/lib/toolbar/toolbar-action.interface.mjs +2 -0
- package/esm2022/lib/toolbar/toolbar.component.mjs +78 -0
- package/esm2022/lib/toolbar/toolbar.module.mjs +56 -0
- package/esm2022/lib/toolbar/toolbar.service.mjs +124 -0
- package/esm2022/porscheinformatik-material-addons.mjs +5 -0
- package/esm2022/public_api.mjs +42 -0
- package/fesm2022/porscheinformatik-material-addons.mjs +3229 -0
- package/fesm2022/porscheinformatik-material-addons.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/button/button.d.ts +7 -0
- package/lib/button/button.d.ts.map +1 -0
- package/lib/button/button.module.d.ts +17 -0
- package/lib/button/button.module.d.ts.map +1 -0
- package/lib/button/danger-button/danger-button.component.d.ts +13 -0
- package/lib/button/danger-button/danger-button.component.d.ts.map +1 -0
- package/lib/button/flat-button/link-button.component.d.ts +13 -0
- package/lib/button/flat-button/link-button.component.d.ts.map +1 -0
- package/lib/button/icon-button/icon-button.component.d.ts +13 -0
- package/lib/button/icon-button/icon-button.component.d.ts.map +1 -0
- package/lib/button/mad-basic-button.d.ts +14 -0
- package/lib/button/mad-basic-button.d.ts.map +1 -0
- package/lib/button/outline-button/outline-button.component.d.ts +13 -0
- package/lib/button/outline-button/outline-button.component.d.ts.map +1 -0
- package/lib/button/primary-button/primary-button.component.d.ts +13 -0
- package/lib/button/primary-button/primary-button.component.d.ts.map +1 -0
- package/lib/card/card.component.d.ts +28 -0
- package/lib/card/card.component.d.ts.map +1 -0
- package/lib/card/card.d.ts +2 -0
- package/lib/card/card.d.ts.map +1 -0
- package/lib/card/card.module.d.ts +14 -0
- package/lib/card/card.module.d.ts.map +1 -0
- package/lib/content-panel/content-header/content-header.component.d.ts +6 -0
- package/lib/content-panel/content-header/content-header.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts +6 -0
- package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts +6 -0
- package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts +6 -0
- package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel.module.d.ts +13 -0
- package/lib/content-panel/content-panel.module.d.ts.map +1 -0
- package/lib/content-panel/main-container/main-container.component.d.ts +6 -0
- package/lib/content-panel/main-container/main-container.component.d.ts.map +1 -0
- package/lib/data-table/data-table-action-type.d.ts +6 -0
- package/lib/data-table/data-table-action-type.d.ts.map +1 -0
- package/lib/data-table/data-table-action.d.ts +8 -0
- package/lib/data-table/data-table-action.d.ts.map +1 -0
- package/lib/data-table/data-table-column-definition.d.ts +28 -0
- package/lib/data-table/data-table-column-definition.d.ts.map +1 -0
- package/lib/data-table/data-table-column.d.ts +11 -0
- package/lib/data-table/data-table-column.d.ts.map +1 -0
- package/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.d.ts +27 -0
- package/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.d.ts.map +1 -0
- package/lib/data-table/data-table-row.d.ts +7 -0
- package/lib/data-table/data-table-row.d.ts.map +1 -0
- package/lib/data-table/data-table.component.d.ts +123 -0
- package/lib/data-table/data-table.component.d.ts.map +1 -0
- package/lib/data-table/data-table.d.ts +6 -0
- package/lib/data-table/data-table.d.ts.map +1 -0
- package/lib/data-table/data-table.module.d.ts +25 -0
- package/lib/data-table/data-table.module.d.ts.map +1 -0
- package/lib/file-upload/drag-and-drop-directive.directive.d.ts +13 -0
- package/lib/file-upload/drag-and-drop-directive.directive.d.ts.map +1 -0
- package/lib/file-upload/file-upload.component.d.ts +22 -0
- package/lib/file-upload/file-upload.component.d.ts.map +1 -0
- package/lib/flowbar/flowbar.component.d.ts +47 -0
- package/lib/flowbar/flowbar.component.d.ts.map +1 -0
- package/lib/flowbar/flowbar.module.d.ts +10 -0
- package/lib/flowbar/flowbar.module.d.ts.map +1 -0
- package/lib/material-action-button/material-action-button.component.d.ts +12 -8
- package/lib/material-action-button/material-action-button.component.d.ts.map +1 -0
- package/lib/material-action-button/material-action-button.module.d.ts +13 -2
- package/lib/material-action-button/material-action-button.module.d.ts.map +1 -0
- package/lib/material-addons.module.d.ts +15 -2
- package/lib/material-addons.module.d.ts.map +1 -0
- package/lib/numeric-field/number-format.service.d.ts +31 -0
- package/lib/numeric-field/number-format.service.d.ts.map +1 -0
- package/lib/numeric-field/numeric-field.d.ts +2 -0
- package/lib/numeric-field/numeric-field.d.ts.map +1 -0
- package/lib/numeric-field/numeric-field.directive.d.ts +45 -0
- package/lib/numeric-field/numeric-field.directive.d.ts.map +1 -0
- package/lib/numeric-field/numeric-field.module.d.ts +10 -0
- package/lib/numeric-field/numeric-field.module.d.ts.map +1 -0
- package/lib/quick-list/base-quick-list.component.d.ts +41 -0
- package/lib/quick-list/base-quick-list.component.d.ts.map +1 -0
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts +12 -0
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts.map +1 -0
- package/lib/quick-list/quick-list.component.d.ts +12 -0
- package/lib/quick-list/quick-list.component.d.ts.map +1 -0
- package/lib/quick-list/quick-list.d.ts +6 -0
- package/lib/quick-list/quick-list.d.ts.map +1 -0
- package/lib/quick-list/quick-list.module.d.ts +17 -0
- package/lib/quick-list/quick-list.module.d.ts.map +1 -0
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts +12 -0
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts.map +1 -0
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts +12 -0
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts.map +1 -0
- package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts +56 -14
- package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts.map +1 -0
- package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts +89 -31
- package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map +1 -0
- package/lib/readonly/readonly-form-field.module.d.ts +16 -2
- package/lib/readonly/readonly-form-field.module.d.ts.map +1 -0
- package/lib/stepper/mad-stepper-animation.d.ts +8 -0
- package/lib/stepper/mad-stepper-animation.d.ts.map +1 -0
- package/lib/stepper/step-header/step-header.component.d.ts +27 -0
- package/lib/stepper/step-header/step-header.component.d.ts.map +1 -0
- package/lib/stepper/stepper.component.d.ts +53 -0
- package/lib/stepper/stepper.component.d.ts.map +1 -0
- package/lib/stepper/stepper.module.d.ts +14 -0
- package/lib/stepper/stepper.module.d.ts.map +1 -0
- package/lib/table/column-header.d.ts +8 -0
- package/lib/table/column-header.d.ts.map +1 -0
- package/lib/table/table-action.d.ts +6 -0
- package/lib/table/table-action.d.ts.map +1 -0
- package/lib/table/table.component.d.ts +43 -0
- package/lib/table/table.component.d.ts.map +1 -0
- package/lib/table/table.d.ts +4 -0
- package/lib/table/table.d.ts.map +1 -0
- package/lib/table/table.module.d.ts +18 -0
- package/lib/table/table.module.d.ts.map +1 -0
- package/lib/throttle-click/throttle-click.directive.d.ts +14 -0
- package/lib/throttle-click/throttle-click.directive.d.ts.map +1 -0
- package/lib/throttle-click/throttle-click.module.d.ts +9 -0
- package/lib/throttle-click/throttle-click.module.d.ts.map +1 -0
- package/lib/toolbar/toolbar-action.interface.d.ts +28 -18
- package/lib/toolbar/toolbar-action.interface.d.ts.map +1 -0
- package/lib/toolbar/toolbar.component.d.ts +28 -19
- package/lib/toolbar/toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/toolbar.module.d.ts +18 -2
- package/lib/toolbar/toolbar.module.d.ts.map +1 -0
- package/lib/toolbar/toolbar.service.d.ts +44 -33
- package/lib/toolbar/toolbar.service.d.ts.map +1 -0
- package/package.json +29 -24
- package/porscheinformatik-material-addons.d.ts.map +1 -0
- package/public_api.d.ts +39 -0
- package/public_api.d.ts.map +1 -0
- package/themes/common/styles.scss +359 -303
- package/themes/pbv.scss +64 -56
- package/themes/poa.scss +64 -40
- package/bundles/porscheinformatik-material-addons.umd.js +0 -755
- package/esm2015/lib/material-action-button/material-action-button.component.js +0 -43
- package/esm2015/lib/material-action-button/material-action-button.module.js +0 -19
- package/esm2015/lib/material-addons.module.js +0 -16
- package/esm2015/lib/readonly/readonly-form-field/readonly-form-field.component.js +0 -61
- package/esm2015/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.js +0 -124
- package/esm2015/lib/readonly/readonly-form-field.module.js +0 -20
- package/esm2015/lib/toolbar/toolbar-action.interface.js +0 -47
- package/esm2015/lib/toolbar/toolbar.component.js +0 -112
- package/esm2015/lib/toolbar/toolbar.module.js +0 -29
- package/esm2015/lib/toolbar/toolbar.service.js +0 -197
- package/esm2015/porscheinformatik-material-addons.js +0 -9
- package/esm2015/public-api.js +0 -18
- package/esm5/lib/material-action-button/material-action-button.component.js +0 -45
- package/esm5/lib/material-action-button/material-action-button.module.js +0 -23
- package/esm5/lib/material-addons.module.js +0 -20
- package/esm5/lib/readonly/readonly-form-field/readonly-form-field.component.js +0 -67
- package/esm5/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.js +0 -145
- package/esm5/lib/readonly/readonly-form-field.module.js +0 -24
- package/esm5/lib/toolbar/toolbar-action.interface.js +0 -47
- package/esm5/lib/toolbar/toolbar.component.js +0 -131
- package/esm5/lib/toolbar/toolbar.module.js +0 -33
- package/esm5/lib/toolbar/toolbar.service.js +0 -245
- package/esm5/porscheinformatik-material-addons.js +0 -9
- package/esm5/public-api.js +0 -18
- package/porscheinformatik-material-addons.d.ts +0 -4
- package/porscheinformatik-material-addons.metadata.json +0 -1
- package/public-api.d.ts +0 -10
|
@@ -1,31 +1,89 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Wraps a mat-form-field to replace it by a readOnly representation if necessary
|
|
5
|
+
*
|
|
6
|
+
* @author Stefan Laesser
|
|
7
|
+
*/
|
|
8
|
+
export declare class ReadOnlyFormFieldWrapperComponent implements OnInit, AfterViewInit, OnChanges, AfterViewChecked {
|
|
9
|
+
private changeDetector;
|
|
10
|
+
private elementRef;
|
|
11
|
+
originalContent: ElementRef;
|
|
12
|
+
readOnlyContentWrapper: ElementRef;
|
|
13
|
+
/**
|
|
14
|
+
* If set to "false", the contained mat-form-field is rendered in all it's glory.
|
|
15
|
+
* If set to "true", a readonly representation of the value is shown using the mat-form-fields label.
|
|
16
|
+
*/
|
|
17
|
+
readonly: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* This input *MUST MATCH* the mat-form-field value to ensure correct data
|
|
20
|
+
* binding and formatting of readOnly representation!
|
|
21
|
+
*/
|
|
22
|
+
value: any;
|
|
23
|
+
textAlign: 'right' | 'left';
|
|
24
|
+
formatNumber: boolean;
|
|
25
|
+
decimalPlaces: number;
|
|
26
|
+
roundValue: boolean;
|
|
27
|
+
autofillDecimals: boolean;
|
|
28
|
+
unit: string | null;
|
|
29
|
+
unitPosition: 'right' | 'left';
|
|
30
|
+
errorMessage: string | null;
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* If set to "false", a readonly input will be rendered.
|
|
34
|
+
* If set to "true", a readonly textarea will be rendered instead.
|
|
35
|
+
*/
|
|
36
|
+
multiline: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Defines the rows for the readonly textarea.
|
|
39
|
+
*/
|
|
40
|
+
rows: number;
|
|
41
|
+
/**
|
|
42
|
+
* If shrinkIfEmpty is set to "false", nothing changes
|
|
43
|
+
* If set to "true" and multiline is also "true", the textarea will
|
|
44
|
+
* shrink to one row, if value is empty/null/undefined.
|
|
45
|
+
* Otherwise, the defined rows-value will be used
|
|
46
|
+
*/
|
|
47
|
+
shrinkIfEmpty: boolean;
|
|
48
|
+
hideIconInReadOnlyMode: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* suffix iocon
|
|
51
|
+
*/
|
|
52
|
+
suffix: string;
|
|
53
|
+
/**
|
|
54
|
+
* prefix iocon
|
|
55
|
+
*/
|
|
56
|
+
prefix: string;
|
|
57
|
+
/**
|
|
58
|
+
* if cdkTextareaAutosize is active for textareas
|
|
59
|
+
*/
|
|
60
|
+
multilineAutoSize: boolean;
|
|
61
|
+
suffixClickedEmitter: EventEmitter<any>;
|
|
62
|
+
prefixClickedEmitter: EventEmitter<any>;
|
|
63
|
+
/**
|
|
64
|
+
* Automatically taken from the contained <mat-label>
|
|
65
|
+
*/
|
|
66
|
+
label: string;
|
|
67
|
+
toolTipForInputEnabled: boolean;
|
|
68
|
+
toolTipText: string;
|
|
69
|
+
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef);
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
ngAfterViewInit(): void;
|
|
72
|
+
ngAfterViewChecked(): void;
|
|
73
|
+
ngOnChanges(_: SimpleChanges): void;
|
|
74
|
+
getLabel(): string;
|
|
75
|
+
suffixClicked(): void;
|
|
76
|
+
prefixClicked(): void;
|
|
77
|
+
private doRendering;
|
|
78
|
+
private extractLabel;
|
|
79
|
+
private correctWidth;
|
|
80
|
+
private setReadonlyFieldStyle;
|
|
81
|
+
private getTextOverFlowStyleValue;
|
|
82
|
+
private setTooltipForOverflownField;
|
|
83
|
+
private isEllipsisForTextOverflowEnabled;
|
|
84
|
+
private isTextOverflown;
|
|
85
|
+
private calculateToolTipText;
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormFieldWrapperComponent, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReadOnlyFormFieldWrapperComponent, "mad-readonly-form-field-wrapper", never, { "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "formatNumber": { "alias": "formatNumber"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; "roundValue": { "alias": "roundDisplayValue"; "required": false; }; "autofillDecimals": { "alias": "autofillDecimals"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "unitPosition": { "alias": "unitPosition"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "id": { "alias": "id"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "shrinkIfEmpty": { "alias": "shrinkIfEmpty"; "required": false; }; "hideIconInReadOnlyMode": { "alias": "hideIconInReadOnlyMode"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "multilineAutoSize": { "alias": "multilineAutoSize"; "required": false; }; }, { "suffixClickedEmitter": "suffixClickedEmitter"; "prefixClickedEmitter": "prefixClickedEmitter"; }, never, ["*"], false, never>;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=readonly-form-field-wrapper.component.d.ts.map
|
package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readonly-form-field-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;;AAEvB;;;;GAIG;AACH,qBAKa,iCAAkC,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB;IAsExG,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,UAAU;IArEpB,eAAe,EAAE,UAAU,CAAC;IAE5B,sBAAsB,EAAE,UAAU,CAAC;IAEnC;;;OAGG;IACM,QAAQ,UAAQ;IAEzB;;;OAGG;IACa,KAAK,EAAE,GAAG,CAAC;IAEP,SAAS,EAAE,OAAO,GAAG,MAAM,CAAU;IAClC,YAAY,UAAS;IACpB,aAAa,SAAK;IACd,UAAU,UAAS;IACpB,gBAAgB,UAAS;IACrC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IACnB,YAAY,EAAE,OAAO,GAAG,MAAM,CAAU;IACxC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjD,EAAE,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACM,SAAS,UAAS;IAE3B;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACM,aAAa,UAAS;IACtB,sBAAsB,UAAS;IACxC;;OAEG;IACM,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACM,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACM,iBAAiB,UAAS;IACzB,oBAAoB,oBAAsB;IAC1C,oBAAoB,oBAAsB;IAEpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,sBAAsB,UAAS;IAC/B,WAAW,EAAE,MAAM,CAAC;gBAGV,cAAc,EAAE,iBAAiB,EACjC,UAAU,EAAE,UAAU;IAGhC,QAAQ,IAAI,IAAI;IAIhB,eAAe,IAAI,IAAI;IAKvB,kBAAkB,IAAI,IAAI;IAK1B,WAAW,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAInC,QAAQ,IAAI,MAAM;IAOlB,aAAa;IAIb,aAAa;IAIb,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,2BAA2B;IAcnC,OAAO,CAAC,gCAAgC;IAIxC,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,oBAAoB;yCAtLjB,iCAAiC;2CAAjC,iCAAiC;CA6L7C"}
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./readonly-form-field/readonly-form-field.component";
|
|
3
|
+
import * as i2 from "./readonly-form-field-wrapper/readonly-form-field-wrapper.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "@angular/material/form-field";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
9
|
+
import * as i8 from "@angular/material/tooltip";
|
|
10
|
+
import * as i9 from "@angular/material/icon";
|
|
11
|
+
export declare class ReadOnlyFormFieldModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormFieldModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ReadOnlyFormFieldModule, [typeof i1.ReadOnlyFormFieldComponent, typeof i2.ReadOnlyFormFieldWrapperComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.FormsModule, typeof i8.MatTooltipModule, typeof i9.MatIconModule], [typeof i1.ReadOnlyFormFieldComponent, typeof i2.ReadOnlyFormFieldWrapperComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ReadOnlyFormFieldModule>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=readonly-form-field.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readonly-form-field.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/readonly/readonly-form-field.module.ts"],"names":[],"mappings":";;;;;;;;;;AAWA,qBAKa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
|
+
/**
|
|
3
|
+
* Animations used by the MAD stepper.
|
|
4
|
+
*/
|
|
5
|
+
export declare const madStepperAnimations: {
|
|
6
|
+
readonly verticalStepTransition: AnimationTriggerMetadata;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=mad-stepper-animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mad-stepper-animation.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/stepper/mad-stepper-animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,QAAQ,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;CAQ3D,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CdkStepHeader, StepState } from '@angular/cdk/stepper';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class StepHeaderComponent extends CdkStepHeader implements AfterViewInit, OnDestroy {
|
|
6
|
+
private _focusMonitor;
|
|
7
|
+
index: number;
|
|
8
|
+
label: string;
|
|
9
|
+
state: StepState;
|
|
10
|
+
errorMessage: string;
|
|
11
|
+
selected: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
optional: boolean;
|
|
14
|
+
hasError: boolean;
|
|
15
|
+
completed: boolean;
|
|
16
|
+
closed: boolean;
|
|
17
|
+
constructor(_focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>);
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
/** Focuses the step header. */
|
|
21
|
+
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
22
|
+
getCssForState(): string;
|
|
23
|
+
getIcon(): string;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepHeaderComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepHeaderComponent, "mad-step-header", never, { "color": { "alias": "color"; "required": false; }; "index": { "alias": "index"; "required": false; }; "label": { "alias": "label"; "required": false; }; "state": { "alias": "state"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "completed": { "alias": "completed"; "required": false; }; "closed": { "alias": "closed"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=step-header.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"step-header.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/stepper/step-header/step-header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAc,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAsC,UAAU,EAAS,SAAS,EAAqB,MAAM,eAAe,CAAC;AACnI,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;;AAE9D,qBAYa,mBAAoB,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IAwBtF,OAAO,CAAC,aAAa;IAtBvB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAEL,KAAK,EAAE,SAAS,CAAC;IAEjB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,OAAO,CAAC;IAElB,MAAM,EAAE,OAAO,CAAC;IAEhB,QAAQ,EAAE,OAAO,CAAC;IAElB,QAAQ,EAAE,OAAO,CAAC;IAElB,SAAS,EAAE,OAAO,CAAC;IAEnB,MAAM,EAAE,OAAO,CAAC;gBAGf,aAAa,EAAE,YAAY,EACnC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IAKtC,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,+BAA+B;IAC/B,KAAK,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAQzD,cAAc,IAAI,MAAM;IAUxB,OAAO,IAAI,MAAM;yCAzDN,mBAAmB;2CAAnB,mBAAmB;CAiE/B"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
+
import { CdkStep, CdkStepper, StepContentPositionState } from '@angular/cdk/stepper';
|
|
3
|
+
import { AnimationEvent } from '@angular/animations';
|
|
4
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
import { StepHeaderComponent } from './step-header/step-header.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class StepComponent extends CdkStep implements AfterContentInit, OnDestroy {
|
|
9
|
+
private stepper;
|
|
10
|
+
private _viewContainerRef;
|
|
11
|
+
/** Action event for the next button. If not set the StepComponent will handle the step navigation */
|
|
12
|
+
onNext: EventEmitter<any>;
|
|
13
|
+
/** Action event for the done button. If not set the StepComponent will handle the step navigation */
|
|
14
|
+
onDone: EventEmitter<any>;
|
|
15
|
+
/*** Action event when the header is clicked. If not set the StepComponent will handle the step navigation*/
|
|
16
|
+
onHeaderClick: EventEmitter<any>;
|
|
17
|
+
stepClosed: boolean;
|
|
18
|
+
private _isSelected;
|
|
19
|
+
constructor(stepper: StepperComponent, _viewContainerRef: ViewContainerRef);
|
|
20
|
+
ngAfterContentInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
next(markFormAsTouched?: boolean): void;
|
|
23
|
+
selectAndMarkAsTouched(index: number): void;
|
|
24
|
+
completeLast(): void;
|
|
25
|
+
resetValidations(): void;
|
|
26
|
+
private stepValidation;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "mad-step", never, {}, { "onNext": "onNext"; "onDone": "onDone"; "onHeaderClick": "onHeaderClick"; }, never, ["*"], false, never>;
|
|
29
|
+
}
|
|
30
|
+
export declare class StepperComponent extends CdkStepper implements OnInit, AfterContentInit {
|
|
31
|
+
/** Event emitted when the current step is done transitioning in. */
|
|
32
|
+
readonly animationDone: EventEmitter<void>;
|
|
33
|
+
nextButtonLabel: string;
|
|
34
|
+
doneButtonLabel: string;
|
|
35
|
+
/** Step headers of all steps inside the stepper */
|
|
36
|
+
_stepHeader: QueryList<StepHeaderComponent>;
|
|
37
|
+
/** Steps inside the Stepper */
|
|
38
|
+
_steps: QueryList<StepComponent>;
|
|
39
|
+
/** Steps that belong to the current stepper, excluding ones from nested steppers. */
|
|
40
|
+
steps: QueryList<StepComponent>;
|
|
41
|
+
readonly _animationDone: Subject<AnimationEvent>;
|
|
42
|
+
constructor(dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
ngAfterContentInit(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Method patched to enable the closing of the last step.
|
|
47
|
+
*/
|
|
48
|
+
_getAnimationDirection(index: number): StepContentPositionState;
|
|
49
|
+
_stepIsNavigable(index: number, step: StepComponent): boolean;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null]>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "mad-stepper", never, { "nextButtonLabel": { "alias": "nextButtonLabel"; "required": false; }; "doneButtonLabel": { "alias": "doneButtonLabel"; "required": false; }; }, { "animationDone": "animationDone"; }, ["_steps"], never, false, never>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=stepper.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepper.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/stepper/stepper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAc,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAGjB,UAAU,EACV,YAAY,EAIZ,SAAS,EACT,MAAM,EAGN,SAAS,EAET,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAgB,MAAM,MAAM,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;;AAG1E,qBAQa,aAAc,SAAQ,OAAQ,YAAW,gBAAgB,EAAE,SAAS;IAkBjC,OAAO,CAAC,OAAO;IAC3D,OAAO,CAAC,iBAAiB;IAlB3B,qGAAqG;IAErG,MAAM,oBAA2B;IAEjC,sGAAsG;IAEtG,MAAM,oBAA2B;IAEjC,4GAA4G;IAE5G,aAAa,oBAA2B;IAExC,UAAU,UAAS;IAEnB,OAAO,CAAC,WAAW,CAAsB;gBAGa,OAAO,EAAE,gBAAgB,EACrE,iBAAiB,EAAE,gBAAgB;IAK7C,kBAAkB;IAclB,WAAW;IAIX,IAAI,CAAC,iBAAiB,UAAO,GAAG,IAAI;IASpC,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAU3C,YAAY,IAAI,IAAI;IAWpB,gBAAgB,IAAI,IAAI;IAMxB,OAAO,CAAC,cAAc;yCA9EX,aAAa;2CAAb,aAAa;CA4FzB;AAED,qBAea,gBAAiB,SAAQ,UAAW,YAAW,MAAM,EAAE,gBAAgB;IAClF,oEAAoE;IAC1D,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAGhF,eAAe,EAAE,MAAM,CAAC;IAGxB,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IAChB,WAAW,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAC;IAE/E,+BAA+B;IACwB,MAAM,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;IAExF,qFAAqF;IACrF,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,CAAkC;IAEjE,QAAQ,CAAC,cAAc,0BAAiC;gBAEhC,GAAG,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;IAKtH,QAAQ;IAKR,kBAAkB;IAmBlB;;OAEG;IACH,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;IAQ/D,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,OAAO;yCA5DlD,gBAAgB;2CAAhB,gBAAgB;CA+D5B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stepper.component";
|
|
3
|
+
import * as i2 from "./step-header/step-header.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/cdk/stepper";
|
|
8
|
+
import * as i7 from "../button/button.module";
|
|
9
|
+
export declare class StepperModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperComponent, typeof i2.StepHeaderComponent, typeof i1.StepComponent], [typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.CdkStepperModule, typeof i7.ButtonModule], [typeof i1.StepperComponent, typeof i2.StepHeaderComponent, typeof i1.StepComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=stepper.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepper.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/stepper/stepper.module.ts"],"names":[],"mappings":";;;;;;;;AASA,qBAKa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-header.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/column-header.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-action.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table-action.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
+
import { MatSort, Sort } from '@angular/material/sort';
|
|
5
|
+
import { ColumnHeader } from './column-header';
|
|
6
|
+
import { TableAction } from './table-action';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TableComponent implements OnInit, AfterViewInit {
|
|
9
|
+
columns: ColumnHeader[];
|
|
10
|
+
filterLabel: string;
|
|
11
|
+
filterPlaceholder: string;
|
|
12
|
+
noDataText: string;
|
|
13
|
+
pageSizeOptions: number[];
|
|
14
|
+
defaultPageSize: number;
|
|
15
|
+
rowActions: TableAction[];
|
|
16
|
+
tableActions: TableAction[];
|
|
17
|
+
tableAction: EventEmitter<TableAction>;
|
|
18
|
+
rowAction: EventEmitter<TableAction>;
|
|
19
|
+
sortEvent: EventEmitter<Sort>;
|
|
20
|
+
paginator: MatPaginator;
|
|
21
|
+
sort: MatSort;
|
|
22
|
+
readonly ACTION_COLUMN_NAME = "__action__";
|
|
23
|
+
dataSource: MatTableDataSource<any[]>;
|
|
24
|
+
columnNames: string[];
|
|
25
|
+
isRowClickable: boolean;
|
|
26
|
+
defaultAction: TableAction;
|
|
27
|
+
isFilterEnabled: boolean;
|
|
28
|
+
isPaginationEnabled: boolean;
|
|
29
|
+
set displayedData(data: any[]);
|
|
30
|
+
set paginationEnabled(isPaginationEnabled: boolean);
|
|
31
|
+
set filterEnabled(isFilterEnabled: boolean);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
onFilter(value: string): void;
|
|
35
|
+
onRowEvent(event: MouseEvent, row: any, action?: TableAction): void;
|
|
36
|
+
onSortingEvent(sortingParams: Sort): void;
|
|
37
|
+
onTableAction(tableAction: TableAction): void;
|
|
38
|
+
private setFilterValue;
|
|
39
|
+
private isClickOnRowMenuIcon;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "mad-table", never, { "columns": { "alias": "columns"; "required": false; }; "filterLabel": { "alias": "filterLabel"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "noDataText": { "alias": "noDataText"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; }; "rowActions": { "alias": "rowActions"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "displayedData": { "alias": "displayedData"; "required": false; }; "paginationEnabled": { "alias": "paginationEnabled"; "required": false; }; "filterEnabled": { "alias": "filterEnabled"; "required": false; }; }, { "tableAction": "tableAction"; "rowAction": "rowAction"; "sortEvent": "sortEvent"; }, never, never, false, never>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAE7C,qBAKa,cAAe,YAAW,MAAM,EAAE,aAAa;IACjD,OAAO,EAAE,YAAY,EAAE,CAAM;IAC7B,WAAW,SAAa;IACxB,iBAAiB,SAAa;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,WAAe;IAC9B,eAAe,SAAmC;IAClD,UAAU,EAAE,WAAW,EAAE,CAAM;IAC/B,YAAY,EAAE,WAAW,EAAE,CAAM;IAEhC,WAAW,4BAAmC;IAC9C,SAAS,4BAAmC;IAC5C,SAAS,qBAA4B;IAEH,SAAS,EAAE,YAAY,CAAC;IAC9B,IAAI,EAAE,OAAO,CAAC;IAEpD,QAAQ,CAAC,kBAAkB,gBAAgB;IAC3C,UAAU,EAAE,kBAAkB,CAAC,GAAG,EAAE,CAAC,CAAC;IACtC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,WAAW,CAAC;IAC3B,eAAe,UAAS;IACxB,mBAAmB,UAAS;IAE5B,IAAa,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,EAMrC;IAED,IAAa,iBAAiB,CAAC,mBAAmB,EAAE,OAAO,EAO1D;IAED,IACI,aAAa,CAAC,eAAe,EAAE,OAAO,EAGzC;IAED,QAAQ,IAAI,IAAI;IAShB,eAAe,IAAI,IAAI;IASvB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI7B,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,cAAqB,GAAG,IAAI;IAM1E,cAAc,CAAC,aAAa,EAAE,IAAI,GAAG,IAAI;IAIzC,aAAa,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAM7C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,oBAAoB;yCA1FjB,cAAc;2CAAd,cAAc;CA6F1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/button";
|
|
5
|
+
import * as i4 from "@angular/material/icon";
|
|
6
|
+
import * as i5 from "@angular/material/form-field";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@angular/material/menu";
|
|
9
|
+
import * as i8 from "@angular/material/paginator";
|
|
10
|
+
import * as i9 from "@angular/material/sort";
|
|
11
|
+
import * as i10 from "@angular/material/table";
|
|
12
|
+
import * as i11 from "../button/button.module";
|
|
13
|
+
export declare class TableModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatMenuModule, typeof i8.MatPaginatorModule, typeof i9.MatSortModule, typeof i10.MatTableModule, typeof i11.ButtonModule], [typeof i1.TableComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=table.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAgBa,WAAW;yCAAX,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAAG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ThrottleClickDirective implements OnInit, OnDestroy {
|
|
4
|
+
throttleTime: number;
|
|
5
|
+
throttleClick: EventEmitter<any>;
|
|
6
|
+
private clicks;
|
|
7
|
+
private subscription;
|
|
8
|
+
clickEvent(event: any): void;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThrottleClickDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThrottleClickDirective, "[madThrottleClick]", never, { "throttleTime": { "alias": "throttleTime"; "required": false; }; }, { "throttleClick": "throttleClick"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=throttle-click.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"throttle-click.directive.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/throttle-click/throttle-click.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAuB,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;;AAIxG,qBAGa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IACrD,YAAY,SAAO;IAClB,aAAa,oBAAsB;IAC7C,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,YAAY,CAAe;IAGnC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAM5B,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;yCAjBR,sBAAsB;2CAAtB,sBAAsB;CAoBlC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./throttle-click.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ThrottleClickModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThrottleClickModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThrottleClickModule, [typeof i1.ThrottleClickDirective], [typeof i2.CommonModule], [typeof i1.ThrottleClickDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThrottleClickModule>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=throttle-click.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"throttle-click.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/throttle-click/throttle-click.module.ts"],"names":[],"mappings":";;;AAIA,qBAKa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
action
|
|
18
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ThemePalette } from '@angular/material/core';
|
|
3
|
+
export interface Action {
|
|
4
|
+
matIcon: string;
|
|
5
|
+
i18nActionKey: string;
|
|
6
|
+
actionName?: string;
|
|
7
|
+
showIf?: Observable<boolean>;
|
|
8
|
+
}
|
|
9
|
+
export interface MainAction extends Action {
|
|
10
|
+
routerLink?: string;
|
|
11
|
+
action?: () => any;
|
|
12
|
+
liftHigherOnMobile?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface BackAction extends Action {
|
|
15
|
+
routerLink?: string;
|
|
16
|
+
href?: string;
|
|
17
|
+
action?: () => any;
|
|
18
|
+
}
|
|
19
|
+
export interface ToolbarActionBadge {
|
|
20
|
+
value: any;
|
|
21
|
+
color?: ThemePalette;
|
|
22
|
+
}
|
|
23
|
+
export interface ToolbarAction extends Action {
|
|
24
|
+
action: () => any;
|
|
25
|
+
importantAction?: boolean;
|
|
26
|
+
badge?: ToolbarActionBadge;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=toolbar-action.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-action.interface.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/toolbar/toolbar-action.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,MAAM,EAAE,MAAM,GAAG,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC5B"}
|
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { Title } from '@angular/platform-browser';
|
|
2
|
-
import { ToolbarService } from './toolbar.service';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
-
import { Action, MainAction, ToolbarAction
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { Title } from '@angular/platform-browser';
|
|
2
|
+
import { ToolbarService } from './toolbar.service';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
+
import { Action, BackAction, MainAction, ToolbarAction } from './toolbar-action.interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ToolbarComponent {
|
|
8
|
+
private breakpointObserver;
|
|
9
|
+
private titleService;
|
|
10
|
+
private toolbarService;
|
|
11
|
+
isHandset$: Observable<boolean>;
|
|
12
|
+
constructor(breakpointObserver: BreakpointObserver, titleService: Title, toolbarService: ToolbarService);
|
|
13
|
+
getTitle(): string;
|
|
14
|
+
getToolbarActions(): ToolbarAction[];
|
|
15
|
+
getMainActions(): MainAction[];
|
|
16
|
+
hasPermission(action: Action): Observable<boolean>;
|
|
17
|
+
isRouterLink(action: BackAction | MainAction): boolean;
|
|
18
|
+
isAbsoluteLink(action: BackAction): boolean;
|
|
19
|
+
isAction(action: BackAction | MainAction): boolean;
|
|
20
|
+
getBackAction(): BackAction;
|
|
21
|
+
getToolbarActionsAlwaysAsMenu(): boolean;
|
|
22
|
+
getToolbarActionsMenuTitle(): string;
|
|
23
|
+
showBadgeForMenu(): boolean;
|
|
24
|
+
hasImportantToolbarActions(): boolean;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "mad-toolbar", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=toolbar.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/toolbar/toolbar.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AAEtE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;;AAE3F,qBAKa,gBAAgB;IAIzB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,cAAc;IALxB,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAgG;gBAGrH,kBAAkB,EAAE,kBAAkB,EACtC,YAAY,EAAE,KAAK,EACnB,cAAc,EAAE,cAAc;IAGxC,QAAQ,IAAI,MAAM;IAOlB,iBAAiB,IAAI,aAAa,EAAE;IAIpC,cAAc,IAAI,UAAU,EAAE;IAI9B,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAOlD,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO;IAItD,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO;IAI3C,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO;IAIlD,aAAa,IAAI,UAAU;IAI3B,6BAA6B,IAAI,OAAO;IAIxC,0BAA0B,IAAI,MAAM;IAIpC,gBAAgB,IAAI,OAAO;IAQ3B,0BAA0B,IAAI,OAAO;yCA/D1B,gBAAgB;2CAAhB,gBAAgB;CAkE5B"}
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toolbar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "@angular/material/menu";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "@angular/material/toolbar";
|
|
8
|
+
import * as i7 from "@angular/material/icon";
|
|
9
|
+
import * as i8 from "../material-action-button/material-action-button.module";
|
|
10
|
+
import * as i9 from "@angular/material/tooltip";
|
|
11
|
+
import * as i10 from "../button/button.module";
|
|
12
|
+
import * as i11 from "@angular/material/badge";
|
|
13
|
+
export declare class ToolbarModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.ToolbarComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatMenuModule, typeof i5.MatButtonModule, typeof i6.MatToolbarModule, typeof i7.MatIconModule, typeof i8.MaterialActionButtonModule, typeof i9.MatTooltipModule, typeof i10.ButtonModule, typeof i11.MatBadgeModule], [typeof i1.ToolbarComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=toolbar.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/toolbar/toolbar.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAgBa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
|