@messaia/cdk 13.3.10 → 13.4.0-legacy
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/base/base.module.mjs +10 -32
- package/esm2020/lib/base/components/base.component.mjs +9 -61
- package/esm2020/lib/base/components/generic-form-base.component.mjs +23 -27
- package/esm2020/lib/base/components/generic-form.component.mjs +3 -3
- package/esm2020/lib/base/components/generic-list.component.mjs +31 -152
- package/esm2020/lib/base/components/generic-reactive-form.component.mjs +3 -6
- package/esm2020/lib/base/interceptors/base.interceptor.mjs +3 -3
- package/esm2020/lib/base/interceptors/caching-interceptor.mjs +3 -3
- package/esm2020/lib/base/interceptors/loading.interceptor.mjs +3 -3
- package/esm2020/lib/base/services/file.service.mjs +3 -3
- package/esm2020/lib/base/services/loading-screen.service.mjs +3 -3
- package/esm2020/lib/base/services/print.service.mjs +3 -3
- package/esm2020/lib/chips/chips.module.mjs +8 -21
- package/esm2020/lib/chips/components/chips.component.mjs +179 -243
- package/esm2020/lib/common/common.module.mjs +5 -6
- package/esm2020/lib/common/constants/constants.mjs +2 -3
- package/esm2020/lib/common/directives/disable-control.directive.mjs +3 -3
- package/esm2020/lib/common/functions/decorators.mjs +3 -3
- package/esm2020/lib/common/functions/functions.mjs +2 -3
- package/esm2020/lib/common/functions/utils.mjs +3 -17
- package/esm2020/lib/common/helpers/app-storage.mjs +7 -31
- package/esm2020/lib/common/helpers/dynamic-builder.mjs +3 -3
- package/esm2020/lib/common/helpers/dynamic-component-compiler.mjs +3 -3
- package/esm2020/lib/common/models/action-menu-item.mjs +1 -1
- package/esm2020/lib/common/models/app-setting.mjs +3 -3
- package/esm2020/lib/common/pipes/data-source.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/enum.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/file-size.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/filter.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/first-letter.mjs +3 -3
- package/esm2020/lib/common/pipes/keys.mjs +3 -3
- package/esm2020/lib/common/pipes/month-name.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/only-number.mjs +3 -3
- package/esm2020/lib/common/pipes/order.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/placeholder.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/safe-html.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/time.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/titlecase.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/truncate.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/values.mjs +3 -3
- package/esm2020/lib/common/services/base.service.mjs +3 -3
- package/esm2020/lib/common/services/enum.service.mjs +3 -3
- package/esm2020/lib/dialogs/alert-dialog/alert-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/dialog.component.mjs +9 -9
- package/esm2020/lib/dialogs/dialogs.module.mjs +4 -4
- package/esm2020/lib/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/services/dialog.service.mjs +3 -3
- package/esm2020/lib/file/file-input.component.mjs +3 -3
- package/esm2020/lib/file/file.module.mjs +4 -4
- package/esm2020/lib/form-validators/directives/base-directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/control-host.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/html-control-template.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/rx-form.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/async-validation.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/base-validator.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/control-expression-process.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/file-control.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/image-file-control.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/rxformcontrol.directive.mjs +3 -3
- package/esm2020/lib/form-validators/domain/element-processor/decimal.provider.mjs +3 -3
- package/esm2020/lib/form-validators/services/reactive-form.module.mjs +7 -7
- package/esm2020/lib/form-validators/services/rx-form-builder.mjs +3 -3
- package/esm2020/lib/form-validators/services/typed-form-builder.mjs +3 -3
- package/esm2020/lib/forms/components/generic-form/generic-form.component.mjs +13 -30
- package/esm2020/lib/forms/constants/constants.mjs +2 -3
- package/esm2020/lib/forms/directives/mat-form-field-editor.directive.mjs +3 -3
- package/esm2020/lib/forms/directives/mat-form-field-readonly.directive.mjs +3 -3
- package/esm2020/lib/forms/forms.module.mjs +7 -7
- package/esm2020/lib/forms/functions/decorators.mjs +116 -36
- package/esm2020/lib/forms/functions/functions.mjs +7 -17
- package/esm2020/lib/forms/helpers/abstract-mat-form-field.mjs +15 -41
- package/esm2020/lib/forms/helpers/value-accessor-base.mjs +3 -3
- package/esm2020/lib/forms/models/form-field-definition.mjs +6 -7
- package/esm2020/lib/forms/models/form-field-group.mjs +12 -0
- package/esm2020/lib/forms/validators/equal-validator.directive.mjs +3 -3
- package/esm2020/lib/forms/validators/native-element-injector.directive.mjs +3 -3
- package/esm2020/lib/forms/validators/unique-validator-directive.mjs +3 -3
- package/esm2020/lib/http/http.module.mjs +4 -4
- package/esm2020/lib/layout/form-toolbar/form-toolbar.component.mjs +3 -3
- package/esm2020/lib/layout/form-toolbar-menu/form-toolbar-menu.component.mjs +3 -3
- package/esm2020/lib/layout/layout-card-over/layout-card-over.component.mjs +4 -4
- package/esm2020/lib/layout/layout-footer/layout-footer.component.mjs +3 -3
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.component.mjs +4 -4
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.directives.mjs +7 -7
- package/esm2020/lib/layout/layout-nav/layout-nav.component.mjs +3 -3
- package/esm2020/lib/layout/layout-nav-list/layout-nav-list.component.mjs +32 -21
- package/esm2020/lib/layout/layout-nav-list/layout-nav-list.directives.mjs +26 -50
- package/esm2020/lib/layout/layout-toggle.class.mjs +3 -3
- package/esm2020/lib/layout/layout.component.mjs +3 -3
- package/esm2020/lib/layout/layout.directives.mjs +7 -7
- package/esm2020/lib/layout/layout.module.mjs +9 -9
- package/esm2020/lib/layout/list-toolbar/list-toolbar.component.mjs +9 -20
- package/esm2020/lib/layout/list-toolbar-menu/list-toolbar-menu.component.mjs +19 -0
- package/esm2020/lib/layout/navigation-drawer/navigation-drawer.component.mjs +8 -8
- package/esm2020/lib/media/directives/media-toggle.directive.mjs +3 -3
- package/esm2020/lib/media/media.module.mjs +4 -4
- package/esm2020/lib/media/services/media.service.mjs +3 -3
- package/esm2020/lib/menu/components/menu.component.mjs +3 -3
- package/esm2020/lib/menu/menu.module.mjs +4 -4
- package/esm2020/lib/menu/services/menu-items.service.mjs +3 -3
- package/esm2020/lib/menu/services/menu.resolve.mjs +5 -5
- package/esm2020/lib/menu/services/menu.service.mjs +3 -3
- package/esm2020/lib/search/search.module.mjs +4 -4
- package/esm2020/lib/search/vd-search-box/vd-search-box.component.mjs +3 -3
- package/esm2020/lib/search/vd-search-input/vd-search-input.component.mjs +3 -3
- package/esm2020/lib/select/components/select.component.mjs +11 -28
- package/esm2020/lib/select/directives/vd-select-option.directive.mjs +3 -3
- package/esm2020/lib/select/directives/vd-select-trigger.directive.mjs +3 -3
- package/esm2020/lib/select/public_api.mjs +2 -1
- package/esm2020/lib/select/select.module.mjs +4 -4
- package/esm2020/lib/table/components/dynamic-table/dynamic-table.component.mjs +43 -117
- package/esm2020/lib/table/components/filter-clear.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-date.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-input.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-select.component.mjs +6 -6
- package/esm2020/lib/table/directives/data-source-filter.directive.mjs +3 -3
- package/esm2020/lib/table/enums/table-column-type.mjs +1 -2
- package/esm2020/lib/table/functions/decorators.mjs +45 -38
- package/esm2020/lib/table/functions/functions.mjs +5 -18
- package/esm2020/lib/table/models/table-column.mjs +1 -2
- package/esm2020/lib/table/models/table-definition.mjs +1 -1
- package/esm2020/lib/table/models/table-menu-item.mjs +1 -1
- package/esm2020/lib/table/paginator-intl.mjs +3 -3
- package/esm2020/lib/table/table.data-source.mjs +15 -49
- package/esm2020/lib/table/table.module.mjs +4 -11
- package/fesm2015/messaia-cdk.mjs +9541 -10197
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +8052 -8695
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/base.module.d.ts +5 -18
- package/lib/base/components/base.component.d.ts +4 -31
- package/lib/base/components/generic-form-base.component.d.ts +7 -9
- package/lib/base/components/generic-list.component.d.ts +8 -55
- package/lib/chips/chips.module.d.ts +10 -18
- package/lib/chips/components/chips.component.d.ts +73 -131
- package/lib/common/common.module.d.ts +1 -2
- package/lib/common/constants/constants.d.ts +1 -2
- package/lib/common/functions/utils.d.ts +0 -7
- package/lib/common/helpers/app-storage.d.ts +1 -12
- package/lib/common/models/action-menu-item.d.ts +16 -7
- package/lib/common/styles/_common-theme.scss +5 -10
- package/lib/common/styles/_layout.scss +92 -149
- package/lib/common/styles/utilities/_general.scss +7 -428
- package/lib/forms/components/generic-form/generic-form.component.d.ts +3 -13
- package/lib/forms/constants/constants.d.ts +1 -2
- package/lib/forms/forms.module.d.ts +3 -3
- package/lib/forms/functions/decorators.d.ts +8 -3
- package/lib/forms/functions/functions.d.ts +3 -3
- package/lib/forms/helpers/abstract-mat-form-field.d.ts +14 -28
- package/lib/forms/models/form-field-definition.d.ts +34 -41
- package/lib/forms/models/form-field-group.d.ts +12 -0
- package/lib/layout/_layout-theme.scss +79 -114
- package/lib/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -12
- package/lib/layout/layout-nav-list/layout-nav-list.directives.d.ts +0 -36
- package/lib/layout/layout.module.d.ts +4 -4
- package/lib/layout/list-toolbar/list-toolbar.component.d.ts +4 -13
- package/lib/layout/list-toolbar-menu/list-toolbar-menu.component.d.ts +14 -0
- package/lib/select/components/select.component.d.ts +8 -15
- package/lib/select/public_api.d.ts +1 -0
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +12 -58
- package/lib/table/components/filter-clear.component.d.ts +1 -1
- package/lib/table/components/filter-date.component.d.ts +1 -1
- package/lib/table/components/filter-input.component.d.ts +1 -1
- package/lib/table/components/filter-select.component.d.ts +1 -1
- package/lib/table/enums/table-column-type.d.ts +1 -2
- package/lib/table/functions/decorators.d.ts +5 -3
- package/lib/table/models/table-column.d.ts +34 -39
- package/lib/table/models/table-definition.d.ts +5 -8
- package/lib/table/models/table-menu-item.d.ts +2 -2
- package/lib/table/table.data-source.d.ts +4 -26
- package/lib/table/table.module.d.ts +19 -23
- package/package.json +1 -1
- package/esm2020/lib/base/components/dynamic-table-config-dialog.comnponent.mjs +0 -96
- package/esm2020/lib/base/interfaces/ibase-component.mjs +0 -2
- package/esm2020/lib/base/interfaces/igeneric-form-base.mjs +0 -2
- package/esm2020/lib/base/interfaces/igeneric-list-component.mjs +0 -2
- package/esm2020/lib/chips/directives/autocomplete-option.directive.mjs +0 -18
- package/esm2020/lib/chips/directives/chip.directive.mjs +0 -18
- package/esm2020/lib/common/models/action-menu.mjs +0 -12
- package/esm2020/lib/forms/models/form-field-group-definition.mjs +0 -12
- package/esm2020/lib/layout/dynamic-menu/dynamic-menu.component.mjs +0 -40
- package/esm2020/lib/table/constants/constants.mjs +0 -3
- package/esm2020/lib/table/models/table-column-config.mjs +0 -63
- package/esm2020/lib/table/models/table-menu.mjs +0 -12
- package/lib/base/components/dynamic-table-config-dialog.comnponent.d.ts +0 -39
- package/lib/base/interfaces/ibase-component.d.ts +0 -87
- package/lib/base/interfaces/igeneric-form-base.d.ts +0 -81
- package/lib/base/interfaces/igeneric-list-component.d.ts +0 -80
- package/lib/chips/directives/autocomplete-option.directive.d.ts +0 -11
- package/lib/chips/directives/chip.directive.d.ts +0 -11
- package/lib/common/models/action-menu.d.ts +0 -16
- package/lib/forms/models/form-field-group-definition.d.ts +0 -16
- package/lib/layout/dynamic-menu/dynamic-menu.component.d.ts +0 -29
- package/lib/table/constants/constants.d.ts +0 -2
- package/lib/table/models/table-column-config.d.ts +0 -30
- package/lib/table/models/table-menu.d.ts +0 -8
|
@@ -1,60 +1,53 @@
|
|
|
1
|
-
import { Type } from "@angular/core";
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { IGenericFormBaseComponent } from "../../base/interfaces/igeneric-form-base";
|
|
4
1
|
import { SuffixButton } from "../../common/models/suffix-button";
|
|
5
2
|
import { FormFieldType } from "../enums/form-field-type";
|
|
6
|
-
export declare class FormFieldDefinition
|
|
3
|
+
export declare class FormFieldDefinition {
|
|
7
4
|
row: number;
|
|
8
|
-
|
|
9
|
-
autocompleteTemplate?: (x: any, y?: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
10
|
-
autocompleteText?: string;
|
|
11
|
-
change?: (x: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
12
|
-
chipTemplate?: (x: any, y?: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
13
|
-
chipText?: string;
|
|
14
|
-
clear?: (x: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
15
|
-
compareWith?: Function;
|
|
16
|
-
cssClass?: string;
|
|
17
|
-
endpoint?: ((x: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any) | string;
|
|
18
|
-
enumType?: any;
|
|
19
|
-
fileExtensions?: string[];
|
|
20
|
-
filePath?: string;
|
|
21
|
-
flex?: number;
|
|
22
|
-
groupHeader?: string;
|
|
5
|
+
index?: number;
|
|
23
6
|
groupName?: string;
|
|
7
|
+
groupHeader?: string;
|
|
8
|
+
name?: string;
|
|
24
9
|
header?: string;
|
|
25
|
-
hide?: (x: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
26
10
|
hint?: string;
|
|
27
|
-
|
|
11
|
+
type?: FormFieldType;
|
|
28
12
|
inputType?: string;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
13
|
+
enumType?: any;
|
|
14
|
+
endpoint?: string;
|
|
15
|
+
mapper?: Function;
|
|
16
|
+
compareWith?: Function;
|
|
17
|
+
searchField?: string;
|
|
18
|
+
projection?: string;
|
|
19
|
+
params?: Function;
|
|
35
20
|
multiple?: boolean;
|
|
36
|
-
|
|
21
|
+
optionValue?: string;
|
|
22
|
+
optionText?: string;
|
|
23
|
+
optionTemplate?: Function;
|
|
24
|
+
triggerTemplate?: Function;
|
|
25
|
+
select?: Function;
|
|
26
|
+
itemSelect?: Function;
|
|
27
|
+
change?: Function;
|
|
28
|
+
itemChange?: Function;
|
|
29
|
+
clear?: Function;
|
|
30
|
+
chipText?: string;
|
|
31
|
+
chipTemplate?: Function;
|
|
32
|
+
autocompleteText?: string;
|
|
33
|
+
autocompleteTemplate?: Function;
|
|
37
34
|
options?: {
|
|
38
35
|
id: any;
|
|
39
36
|
name: string;
|
|
40
37
|
}[];
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
projection?: string | string[];
|
|
46
|
-
readonly?: (x: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
38
|
+
filePath?: string;
|
|
39
|
+
isPublicFile?: boolean;
|
|
40
|
+
fileExtensions?: string[];
|
|
41
|
+
flex?: number;
|
|
47
42
|
rows?: number;
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
minLength?: number;
|
|
44
|
+
maxLength?: number;
|
|
45
|
+
readonly?: Function;
|
|
46
|
+
hide?: Function;
|
|
50
47
|
suffixButtons?: SuffixButton[];
|
|
51
|
-
triggerTemplate?: (x: any, y?: T, f?: FormGroup, ctx?: IGenericFormBaseComponent<T>) => any;
|
|
52
|
-
type?: FormFieldType;
|
|
53
|
-
wrapped?: boolean;
|
|
54
|
-
classType?: Type<any>;
|
|
55
48
|
/**
|
|
56
49
|
* constructor
|
|
57
50
|
* @param init
|
|
58
51
|
*/
|
|
59
|
-
constructor(init?: Partial<FormFieldDefinition
|
|
52
|
+
constructor(init?: Partial<FormFieldDefinition>);
|
|
60
53
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormFieldDefinition } from "./form-field-definition";
|
|
2
|
+
export declare class FormFieldGroup {
|
|
3
|
+
name: string;
|
|
4
|
+
header?: string;
|
|
5
|
+
fields: FormFieldDefinition[];
|
|
6
|
+
groups: [FormFieldDefinition[]];
|
|
7
|
+
/**
|
|
8
|
+
* constructor
|
|
9
|
+
* @param init
|
|
10
|
+
*/
|
|
11
|
+
constructor(init?: Partial<FormFieldGroup>);
|
|
12
|
+
}
|
|
@@ -4,121 +4,86 @@
|
|
|
4
4
|
@import '../common/styles/typography-functions';
|
|
5
5
|
|
|
6
6
|
@mixin vd-layout-typography($config) {
|
|
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
|
-
size: vd-font-size($config, body-2);
|
|
32
|
-
weight: 400;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
line-height: vd-line-height($config, body-2);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
7
|
+
vd-navigation-drawer {
|
|
8
|
+
.vd-navigation-drawer-title {
|
|
9
|
+
font: {
|
|
10
|
+
family: vd-font-family($config);
|
|
11
|
+
size: vd-font-size($config, subheading-2);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.vd-navigation-drawer-name {
|
|
15
|
+
font: {
|
|
16
|
+
family: vd-font-family($config);
|
|
17
|
+
size: vd-font-size($config, body-1);
|
|
18
|
+
weight: 500;
|
|
19
|
+
}
|
|
20
|
+
line-height: vd-line-height($config, body-1);
|
|
21
|
+
}
|
|
22
|
+
.vd-navigation-drawer-menu-toggle {
|
|
23
|
+
font: {
|
|
24
|
+
family: vd-font-family($config);
|
|
25
|
+
size: vd-font-size($config, body-2);
|
|
26
|
+
weight: 400;
|
|
27
|
+
}
|
|
28
|
+
line-height: vd-line-height($config, body-2);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
38
31
|
}
|
|
39
32
|
|
|
40
33
|
@mixin vd-layout-theme($theme) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
&.mat-primary {
|
|
98
|
-
background: mat.get-color-from-palette($primary);
|
|
99
|
-
|
|
100
|
-
&,
|
|
101
|
-
mat-icon {
|
|
102
|
-
color: mat.get-color-from-palette($primary, default-contrast);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&.mat-accent {
|
|
107
|
-
background: mat.get-color-from-palette($accent);
|
|
108
|
-
|
|
109
|
-
&,
|
|
110
|
-
mat-icon {
|
|
111
|
-
color: mat.get-color-from-palette($accent, default-contrast);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&.mat-warn {
|
|
116
|
-
background: mat.get-color-from-palette($warn);
|
|
117
|
-
|
|
118
|
-
&,
|
|
119
|
-
mat-icon {
|
|
120
|
-
color: mat.get-color-from-palette($warn, default-contrast);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
34
|
+
$primary: map-get($theme, primary);
|
|
35
|
+
$accent: map-get($theme, accent);
|
|
36
|
+
$warn: map-get($theme, warn);
|
|
37
|
+
$background: map-get($theme, background);
|
|
38
|
+
$foreground: map-get($theme, foreground);
|
|
39
|
+
|
|
40
|
+
.mat-drawer-container {
|
|
41
|
+
background-color: mat.get-color-from-palette($background, status-bar);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[mat-icon-button].vd-layout-menu-button {
|
|
45
|
+
margin-left: 0px;
|
|
46
|
+
::ng-deep [dir='rtl'] & {
|
|
47
|
+
margin-right: 0px;
|
|
48
|
+
margin-left: 6px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
vd-layout-nav,
|
|
53
|
+
vd-layout-nav-list,
|
|
54
|
+
vd-layout-manage-list,
|
|
55
|
+
vd-layout-card-over,
|
|
56
|
+
vd-navigation-drawer,
|
|
57
|
+
vd-layout {
|
|
58
|
+
mat-toolbar {
|
|
59
|
+
@include mat.elevation(1);
|
|
60
|
+
z-index: 1;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.mat-drawer-side.vd-layout-sidenav {
|
|
64
|
+
@include mat.elevation(2);
|
|
65
|
+
}
|
|
66
|
+
.vd-layout-footer {
|
|
67
|
+
background: mat.get-color-from-palette($background, app-bar);
|
|
68
|
+
color: mat.get-color-from-palette($foreground, text);
|
|
69
|
+
@include mat.elevation(2);
|
|
70
|
+
&.mat-primary {
|
|
71
|
+
background: mat.get-color-from-palette($primary);
|
|
72
|
+
&, mat-icon {
|
|
73
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
&.mat-accent {
|
|
77
|
+
background: mat.get-color-from-palette($accent);
|
|
78
|
+
&, mat-icon {
|
|
79
|
+
color: mat.get-color-from-palette($accent, default-contrast);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&.mat-warn {
|
|
83
|
+
background: mat.get-color-from-palette($warn);
|
|
84
|
+
&, mat-icon {
|
|
85
|
+
color: mat.get-color-from-palette($warn, default-contrast);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
124
89
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { MatDrawerToggleResult
|
|
1
|
+
import { MatDrawerToggleResult } from '@angular/material/sidenav';
|
|
2
|
+
import { MatSidenav } from '@angular/material/sidenav';
|
|
2
3
|
import { Router } from '@angular/router';
|
|
3
4
|
import { ILayoutTogglable } from '../layout-toggle.class';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class VdLayoutNavListComponent implements ILayoutTogglable {
|
|
6
7
|
private _router;
|
|
7
|
-
/**
|
|
8
|
-
* sidenav: MatSidenav
|
|
9
|
-
*/
|
|
10
8
|
sidenav: MatSidenav;
|
|
11
9
|
/**
|
|
12
10
|
* toolbarTitle?: string
|
|
@@ -39,6 +37,8 @@ export declare class VdLayoutNavListComponent implements ILayoutTogglable {
|
|
|
39
37
|
* The mode or styling of the sidenav.
|
|
40
38
|
* Defaults to "side".
|
|
41
39
|
* See "MatSidenav" documentation for more info.
|
|
40
|
+
*
|
|
41
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
|
42
42
|
*/
|
|
43
43
|
mode: 'side' | 'push' | 'over';
|
|
44
44
|
/**
|
|
@@ -47,6 +47,8 @@ export declare class VdLayoutNavListComponent implements ILayoutTogglable {
|
|
|
47
47
|
* Defaults to "true".
|
|
48
48
|
*
|
|
49
49
|
* See "MatSidenav" documentation for more info.
|
|
50
|
+
*
|
|
51
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
|
50
52
|
*/
|
|
51
53
|
opened: boolean;
|
|
52
54
|
/**
|
|
@@ -54,6 +56,8 @@ export declare class VdLayoutNavListComponent implements ILayoutTogglable {
|
|
|
54
56
|
*
|
|
55
57
|
* Sets the "width" of the sidenav in either "px" or "%"
|
|
56
58
|
* Defaults to "350px".
|
|
59
|
+
*
|
|
60
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
|
57
61
|
*/
|
|
58
62
|
sidenavWidth: string;
|
|
59
63
|
/**
|
|
@@ -71,14 +75,7 @@ export declare class VdLayoutNavListComponent implements ILayoutTogglable {
|
|
|
71
75
|
* Checks if router was injected.
|
|
72
76
|
*/
|
|
73
77
|
get routerEnabled(): boolean;
|
|
74
|
-
/**
|
|
75
|
-
* constructor
|
|
76
|
-
* @param _router
|
|
77
|
-
*/
|
|
78
78
|
constructor(_router: Router);
|
|
79
|
-
/**
|
|
80
|
-
* Handles navigation click
|
|
81
|
-
*/
|
|
82
79
|
handleNavigationClick(): void;
|
|
83
80
|
/**
|
|
84
81
|
* Proxy toggle method to access sidenav from outside (from vd-layout template).
|
|
@@ -93,5 +90,5 @@ export declare class VdLayoutNavListComponent implements ILayoutTogglable {
|
|
|
93
90
|
*/
|
|
94
91
|
close(): Promise<MatDrawerToggleResult>;
|
|
95
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutNavListComponent, [{ optional: true; }]>;
|
|
96
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdLayoutNavListComponent, "vd-layout-nav-list", never, { "toolbarTitle": "toolbarTitle"; "icon": "icon"; "logo": "logo"; "color": "color"; "mode": "mode"; "opened": "opened"; "sidenavWidth": "sidenavWidth"; "navigationRoute": "navigationRoute"; }, {}, never, ["[vd-menu-button]", "[vd-sidenav-toolbar-content]", "[vd-sidenav-content]", "
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdLayoutNavListComponent, "vd-layout-nav-list", never, { "toolbarTitle": "toolbarTitle"; "icon": "icon"; "logo": "logo"; "color": "color"; "mode": "mode"; "opened": "opened"; "sidenavWidth": "sidenavWidth"; "navigationRoute": "navigationRoute"; }, {}, never, ["[vd-menu-button]", "[vd-sidenav-toolbar-content]", "[vd-sidenav-content]", "[vd-toolbar-content]", "*", "vd-layout-footer-inner", "vd-layout-footer"]>;
|
|
97
94
|
}
|
|
@@ -3,58 +3,22 @@ import { LayoutToggle } from '../layout-toggle.class';
|
|
|
3
3
|
import { VdLayoutNavListComponent } from './layout-nav-list.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class VdLayoutNavListToggleDirective extends LayoutToggle {
|
|
6
|
-
/**
|
|
7
|
-
* Disables the navbar
|
|
8
|
-
*/
|
|
9
6
|
set vdLayoutNavListToggle(vdLayoutNavListToggle: boolean);
|
|
10
|
-
/**
|
|
11
|
-
* Constructor
|
|
12
|
-
* @param layout
|
|
13
|
-
* @param renderer
|
|
14
|
-
* @param elementRef
|
|
15
|
-
*/
|
|
16
7
|
constructor(layout: VdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
|
|
17
|
-
/**
|
|
18
|
-
* Opens the navbar
|
|
19
|
-
*/
|
|
20
8
|
onClick(): void;
|
|
21
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutNavListToggleDirective, never>;
|
|
22
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdLayoutNavListToggleDirective, "[vdLayoutNavListToggle]", never, { "vdLayoutNavListToggle": "vdLayoutNavListToggle"; }, {}, never>;
|
|
23
11
|
}
|
|
24
12
|
export declare class VdLayoutNavListCloseDirective extends LayoutToggle {
|
|
25
|
-
/**
|
|
26
|
-
* Disables the navbar
|
|
27
|
-
*/
|
|
28
13
|
set vdLayoutNavListClose(vdLayoutNavListClose: boolean);
|
|
29
|
-
/**
|
|
30
|
-
* Constructor
|
|
31
|
-
* @param layout
|
|
32
|
-
* @param renderer
|
|
33
|
-
* @param elementRef
|
|
34
|
-
*/
|
|
35
14
|
constructor(layout: VdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
|
|
36
|
-
/**
|
|
37
|
-
* Opens the navbar
|
|
38
|
-
*/
|
|
39
15
|
onClick(): void;
|
|
40
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutNavListCloseDirective, never>;
|
|
41
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdLayoutNavListCloseDirective, "[vdLayoutNavListClose]", never, { "vdLayoutNavListClose": "vdLayoutNavListClose"; }, {}, never>;
|
|
42
18
|
}
|
|
43
19
|
export declare class VdLayoutNavListOpenDirective extends LayoutToggle {
|
|
44
|
-
/**
|
|
45
|
-
* Disables the navbar
|
|
46
|
-
*/
|
|
47
20
|
set vdLayoutNavListOpen(vdLayoutNavListOpen: boolean);
|
|
48
|
-
/**
|
|
49
|
-
* Constructor
|
|
50
|
-
* @param layout
|
|
51
|
-
* @param renderer
|
|
52
|
-
* @param elementRef
|
|
53
|
-
*/
|
|
54
21
|
constructor(layout: VdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
|
|
55
|
-
/**
|
|
56
|
-
* Opens the navbar
|
|
57
|
-
*/
|
|
58
22
|
onClick(): void;
|
|
59
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutNavListOpenDirective, never>;
|
|
60
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VdLayoutNavListOpenDirective, "[vdLayoutNavListOpen]", never, { "vdLayoutNavListOpen": "vdLayoutNavListOpen"; }, {}, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VdDynamicMenuComponent } from './dynamic-menu/dynamic-menu.component';
|
|
2
1
|
import { VdFormToolbarMenuComponent } from './form-toolbar-menu/form-toolbar-menu.component';
|
|
3
2
|
import { VdFormToolbarComponent } from './form-toolbar/form-toolbar.component';
|
|
4
3
|
import { VdLayoutCardOverComponent } from './layout-card-over/layout-card-over.component';
|
|
@@ -10,6 +9,7 @@ import { VdLayoutNavListCloseDirective, VdLayoutNavListOpenDirective, VdLayoutNa
|
|
|
10
9
|
import { VdLayoutNavComponent } from './layout-nav/layout-nav.component';
|
|
11
10
|
import { VdLayoutComponent } from './layout.component';
|
|
12
11
|
import { VdLayoutCloseDirective, VdLayoutOpenDirective, VdLayoutToggleDirective } from './layout.directives';
|
|
12
|
+
import { VdListToolbarMenuComponent } from './list-toolbar-menu/list-toolbar-menu.component';
|
|
13
13
|
import { VdListToolbarComponent } from './list-toolbar/list-toolbar.component';
|
|
14
14
|
import { VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective } from './navigation-drawer/navigation-drawer.component';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
@@ -26,7 +26,7 @@ import * as i10 from "./navigation-drawer/navigation-drawer.component";
|
|
|
26
26
|
import * as i11 from "./form-toolbar/form-toolbar.component";
|
|
27
27
|
import * as i12 from "./form-toolbar-menu/form-toolbar-menu.component";
|
|
28
28
|
import * as i13 from "./list-toolbar/list-toolbar.component";
|
|
29
|
-
import * as i14 from "./
|
|
29
|
+
import * as i14 from "./list-toolbar-menu/list-toolbar-menu.component";
|
|
30
30
|
import * as i15 from "@angular/common";
|
|
31
31
|
import * as i16 from "@angular/cdk/scrolling";
|
|
32
32
|
import * as i17 from "@angular/material/sidenav";
|
|
@@ -38,9 +38,9 @@ import * as i22 from "@angular/material/list";
|
|
|
38
38
|
import * as i23 from "@angular/material/menu";
|
|
39
39
|
import * as i24 from "@angular/material/progress-spinner";
|
|
40
40
|
import * as i25 from "../menu/menu.module";
|
|
41
|
-
export { VdLayoutComponent, VdLayoutToggleDirective, VdLayoutCloseDirective, VdLayoutOpenDirective, VdLayoutNavComponent, VdLayoutNavListComponent, VdLayoutNavListToggleDirective, VdLayoutNavListCloseDirective, VdLayoutNavListOpenDirective, VdLayoutCardOverComponent, VdLayoutManageListComponent, VdLayoutManageListToggleDirective, VdLayoutManageListCloseDirective, VdLayoutManageListOpenDirective, VdLayoutFooterComponent, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdFormToolbarComponent, VdFormToolbarMenuComponent, VdListToolbarComponent,
|
|
41
|
+
export { VdLayoutComponent, VdLayoutToggleDirective, VdLayoutCloseDirective, VdLayoutOpenDirective, VdLayoutNavComponent, VdLayoutNavListComponent, VdLayoutNavListToggleDirective, VdLayoutNavListCloseDirective, VdLayoutNavListOpenDirective, VdLayoutCardOverComponent, VdLayoutManageListComponent, VdLayoutManageListToggleDirective, VdLayoutManageListCloseDirective, VdLayoutManageListOpenDirective, VdLayoutFooterComponent, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdFormToolbarComponent, VdFormToolbarMenuComponent, VdListToolbarComponent, VdListToolbarMenuComponent };
|
|
42
42
|
export declare class VdLayoutModule {
|
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdLayoutModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VdLayoutModule, [typeof i1.VdLayoutComponent, typeof i2.VdLayoutToggleDirective, typeof i2.VdLayoutCloseDirective, typeof i2.VdLayoutOpenDirective, typeof i3.VdLayoutNavComponent, typeof i4.VdLayoutNavListComponent, typeof i5.VdLayoutNavListToggleDirective, typeof i5.VdLayoutNavListCloseDirective, typeof i5.VdLayoutNavListOpenDirective, typeof i6.VdLayoutCardOverComponent, typeof i7.VdLayoutManageListComponent, typeof i8.VdLayoutManageListToggleDirective, typeof i8.VdLayoutManageListCloseDirective, typeof i8.VdLayoutManageListOpenDirective, typeof i9.VdLayoutFooterComponent, typeof i10.VdNavigationDrawerComponent, typeof i10.VdNavigationDrawerMenuDirective, typeof i10.VdNavigationDrawerToolbarDirective, typeof i11.VdFormToolbarComponent, typeof i12.VdFormToolbarMenuComponent, typeof i13.VdListToolbarComponent, typeof i14.
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VdLayoutModule, [typeof i1.VdLayoutComponent, typeof i2.VdLayoutToggleDirective, typeof i2.VdLayoutCloseDirective, typeof i2.VdLayoutOpenDirective, typeof i3.VdLayoutNavComponent, typeof i4.VdLayoutNavListComponent, typeof i5.VdLayoutNavListToggleDirective, typeof i5.VdLayoutNavListCloseDirective, typeof i5.VdLayoutNavListOpenDirective, typeof i6.VdLayoutCardOverComponent, typeof i7.VdLayoutManageListComponent, typeof i8.VdLayoutManageListToggleDirective, typeof i8.VdLayoutManageListCloseDirective, typeof i8.VdLayoutManageListOpenDirective, typeof i9.VdLayoutFooterComponent, typeof i10.VdNavigationDrawerComponent, typeof i10.VdNavigationDrawerMenuDirective, typeof i10.VdNavigationDrawerToolbarDirective, typeof i11.VdFormToolbarComponent, typeof i12.VdFormToolbarMenuComponent, typeof i13.VdListToolbarComponent, typeof i14.VdListToolbarMenuComponent], [typeof i15.CommonModule, typeof i16.ScrollingModule, typeof i17.MatSidenavModule, typeof i18.MatToolbarModule, typeof i19.MatButtonModule, typeof i20.MatIconModule, typeof i21.MatCardModule, typeof i22.MatListModule, typeof i23.MatMenuModule, typeof i24.MatProgressSpinnerModule, typeof i25.VdMenuModule], [typeof i1.VdLayoutComponent, typeof i2.VdLayoutToggleDirective, typeof i2.VdLayoutCloseDirective, typeof i2.VdLayoutOpenDirective, typeof i3.VdLayoutNavComponent, typeof i4.VdLayoutNavListComponent, typeof i5.VdLayoutNavListToggleDirective, typeof i5.VdLayoutNavListCloseDirective, typeof i5.VdLayoutNavListOpenDirective, typeof i6.VdLayoutCardOverComponent, typeof i7.VdLayoutManageListComponent, typeof i8.VdLayoutManageListToggleDirective, typeof i8.VdLayoutManageListCloseDirective, typeof i8.VdLayoutManageListOpenDirective, typeof i9.VdLayoutFooterComponent, typeof i10.VdNavigationDrawerComponent, typeof i10.VdNavigationDrawerMenuDirective, typeof i10.VdNavigationDrawerToolbarDirective, typeof i11.VdFormToolbarComponent, typeof i12.VdFormToolbarMenuComponent, typeof i13.VdListToolbarComponent, typeof i14.VdListToolbarMenuComponent]>;
|
|
45
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<VdLayoutModule>;
|
|
46
46
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DataSource } from '@angular/cdk/table';
|
|
2
|
-
import {
|
|
3
|
-
import { ActionMenu } from '../../common/models/action-menu';
|
|
2
|
+
import { ActionMenuItem } from '../../common/models/action-menu-item';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class VdListToolbarComponent {
|
|
6
5
|
/**
|
|
@@ -12,17 +11,9 @@ export declare class VdListToolbarComponent {
|
|
|
12
11
|
*/
|
|
13
12
|
subtitle: string;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* A list of menu items
|
|
16
15
|
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* back: EventEmitter<any>
|
|
20
|
-
*/
|
|
21
|
-
back: EventEmitter<any>;
|
|
22
|
-
/**
|
|
23
|
-
* menu: ActionMenu
|
|
24
|
-
*/
|
|
25
|
-
menu: ActionMenu;
|
|
16
|
+
menuItems: ActionMenuItem[];
|
|
26
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdListToolbarComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdListToolbarComponent, "vd-list-toolbar", never, { "dataSource": "dataSource"; "subtitle": "subtitle"; "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdListToolbarComponent, "vd-list-toolbar", never, { "dataSource": "dataSource"; "subtitle": "subtitle"; "menuItems": "menuItems"; }, {}, never, never>;
|
|
28
19
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActionMenuItem } from '../../common/common.module';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class VdListToolbarMenuComponent {
|
|
4
|
+
/**
|
|
5
|
+
* A list of menu items
|
|
6
|
+
*/
|
|
7
|
+
menuItems: ActionMenuItem[];
|
|
8
|
+
/**
|
|
9
|
+
* item: any
|
|
10
|
+
*/
|
|
11
|
+
item: any;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdListToolbarMenuComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdListToolbarMenuComponent, "vd-list-toolbar-menu", never, { "menuItems": "menuItems"; "item": "item"; }, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { AfterViewInit,
|
|
3
|
+
import { AfterViewInit, ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
4
4
|
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
5
|
-
import { ErrorStateMatcher
|
|
5
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
6
6
|
import { MatSelect } from '@angular/material/select';
|
|
7
7
|
import { AbstractMatFormField } from '../../forms/helpers/abstract-mat-form-field';
|
|
8
8
|
import { VdSelectOptionDirective } from '../directives/vd-select-option.directive';
|
|
@@ -13,7 +13,6 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class VdSelectComponent extends AbstractMatFormField<any> implements AfterViewInit {
|
|
15
15
|
protected injector: Injector;
|
|
16
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
17
16
|
/**
|
|
18
17
|
* The http service from to get the data
|
|
19
18
|
*/
|
|
@@ -78,12 +77,12 @@ export declare class VdSelectComponent extends AbstractMatFormField<any> impleme
|
|
|
78
77
|
/**
|
|
79
78
|
* _endpoint: string
|
|
80
79
|
*/
|
|
81
|
-
_endpoint: string
|
|
80
|
+
_endpoint: string;
|
|
82
81
|
/**
|
|
83
82
|
* Gets pdf endpoint
|
|
84
83
|
*/
|
|
85
|
-
get endpoint(): string
|
|
86
|
-
set endpoint(endpoint: string
|
|
84
|
+
get endpoint(): string;
|
|
85
|
+
set endpoint(endpoint: string);
|
|
87
86
|
/**
|
|
88
87
|
* _params: any
|
|
89
88
|
*/
|
|
@@ -145,7 +144,7 @@ export declare class VdSelectComponent extends AbstractMatFormField<any> impleme
|
|
|
145
144
|
/**
|
|
146
145
|
* mapper: Function
|
|
147
146
|
*/
|
|
148
|
-
mapper:
|
|
147
|
+
mapper: Function;
|
|
149
148
|
/**
|
|
150
149
|
* A function to compare the option values with the selected values. The first argument
|
|
151
150
|
* is a value from an option. The second is a value from the selection. A boolean
|
|
@@ -187,7 +186,7 @@ export declare class VdSelectComponent extends AbstractMatFormField<any> impleme
|
|
|
187
186
|
* @param focusMonitor
|
|
188
187
|
* @param elementRef
|
|
189
188
|
*/
|
|
190
|
-
constructor(injector: Injector, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, focusMonitor: FocusMonitor, elementRef: ElementRef
|
|
189
|
+
constructor(injector: Injector, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, focusMonitor: FocusMonitor, elementRef: ElementRef);
|
|
191
190
|
/**
|
|
192
191
|
* Lifecycle hook that is called after a component's
|
|
193
192
|
* view has been fully initialized.
|
|
@@ -233,12 +232,6 @@ export declare class VdSelectComponent extends AbstractMatFormField<any> impleme
|
|
|
233
232
|
* @param searchText
|
|
234
233
|
*/
|
|
235
234
|
handleFilter(searchText: string): void;
|
|
236
|
-
|
|
237
|
-
* Gets the values of the selected options for the trigger
|
|
238
|
-
* @param options
|
|
239
|
-
* @returns
|
|
240
|
-
*/
|
|
241
|
-
getTriggerValues(options: MatOption | MatOption[]): any;
|
|
242
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null]>;
|
|
235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null]>;
|
|
243
236
|
static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "multiple": "multiple"; "disabled": "disabled"; "sorted": "sorted"; "textPrefix": "textPrefix"; "endpoint": "endpoint"; "params": "params"; "projection": "projection"; "enum": "enum"; "key": "key"; "text": "text"; "prefix": "prefix"; "options": "options"; "filteredOptions": "filteredOptions"; "filterable": "filterable"; "cache": "cache"; "sortBy": "sortBy"; "mapper": "mapper"; "compareWith": "compareWith"; "searchField": "searchField"; }, { "onValueChange": "change"; "onItemChange": "itemChange"; "onSelected": "selected"; "onItemSelected": "itemSelected"; "onLaunch": "launch"; }, ["optionTemplate", "triggerTemplate"], never>;
|
|
244
237
|
}
|