@kms-ngx-ui/presentational 14.1.4 → 14.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/directives/directives.module.mjs +4 -4
- package/esm2020/lib/directives/mousewheel.directive.mjs +3 -3
- package/esm2020/lib/directives/size.directive.mjs +3 -3
- package/esm2020/lib/directives/sum-of-height.directive.mjs +3 -3
- package/esm2020/lib/directives/swipe.directive.mjs +3 -3
- package/esm2020/lib/directives/tooltip.directive.mjs +3 -3
- package/esm2020/lib/kms-ngx-ui-presentational.component.mjs +3 -3
- package/esm2020/lib/kms-ngx-ui-presentational.module.mjs +4 -4
- package/esm2020/lib/kms-ngx-ui-presentational.service.mjs +3 -3
- package/esm2020/lib/parent-components/actions.component.mjs +3 -3
- package/esm2020/lib/parent-components/form-control.component.mjs +3 -3
- package/esm2020/lib/parent-components/form.component.mjs +3 -3
- package/esm2020/lib/pipes/custom-pipes.module.mjs +4 -4
- package/esm2020/lib/pipes/decode-uri.pipe.mjs +3 -3
- package/esm2020/lib/pipes/encode-uri.pipe.mjs +3 -3
- package/esm2020/lib/pipes/integer-currency.pipe.mjs +3 -3
- package/esm2020/lib/pipes/safe-html.pipe.mjs +3 -3
- package/esm2020/lib/pipes/safe-resource-url.pipe.mjs +3 -3
- package/esm2020/lib/pipes/safe-style.pipe.mjs +3 -3
- package/esm2020/lib/pipes/safe-url.pipe.mjs +3 -3
- package/esm2020/lib/pipes/to-number.pipe.mjs +3 -3
- package/esm2020/lib/pipes/trim.pipe.mjs +3 -3
- package/esm2020/lib/pipes/typeof.pipe.mjs +3 -3
- package/esm2020/lib/services/viewport.service.mjs +3 -3
- package/esm2020/lib/ui/back-to-top/back-to-top.component.mjs +3 -3
- package/esm2020/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +3 -3
- package/esm2020/lib/ui/checkbox/checkbox.component.mjs +8 -8
- package/esm2020/lib/ui/color-input/color-input.component.mjs +4 -4
- package/esm2020/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +4 -4
- package/esm2020/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +3 -3
- package/esm2020/lib/ui/file-input/file-input.component.mjs +4 -4
- package/esm2020/lib/ui/flyout/flyout.component.mjs +3 -3
- package/esm2020/lib/ui/generic-dialog/generic-dialog.component.mjs +3 -3
- package/esm2020/lib/ui/icon/icon.component.mjs +3 -3
- package/esm2020/lib/ui/image-slider/image-slider.component.mjs +13 -13
- package/esm2020/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +7 -7
- package/esm2020/lib/ui/loader/loader.component.mjs +3 -3
- package/esm2020/lib/ui/map/map.component.mjs +3 -3
- package/esm2020/lib/ui/radiobutton/radiobutton.component.mjs +8 -8
- package/esm2020/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +4 -4
- package/esm2020/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +3 -3
- package/esm2020/lib/ui/time-input/time-input.component.mjs +3 -3
- package/esm2020/lib/ui/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/ui/tooltip-icon/tooltip-icon.component.mjs +3 -3
- package/esm2020/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +15 -15
- package/fesm2015/kms-ngx-ui-presentational.mjs +174 -173
- package/fesm2015/kms-ngx-ui-presentational.mjs.map +1 -1
- package/fesm2020/kms-ngx-ui-presentational.mjs +174 -173
- package/fesm2020/kms-ngx-ui-presentational.mjs.map +1 -1
- package/lib/directives/mousewheel.directive.d.ts +1 -1
- package/lib/directives/size.directive.d.ts +1 -1
- package/lib/directives/sum-of-height.directive.d.ts +1 -1
- package/lib/directives/swipe.directive.d.ts +1 -1
- package/lib/directives/tooltip.directive.d.ts +1 -1
- package/lib/kms-ngx-ui-presentational.component.d.ts +1 -1
- package/lib/models/types/nullable.type.d.ts +1 -1
- package/lib/parent-components/actions.component.d.ts +1 -1
- package/lib/parent-components/form-control.component.d.ts +1 -1
- package/lib/parent-components/form.component.d.ts +1 -1
- package/lib/ui/back-to-top/back-to-top.component.d.ts +1 -1
- package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +1 -1
- package/lib/ui/checkbox/checkbox.component.d.ts +1 -1
- package/lib/ui/color-input/color-input.component.d.ts +1 -1
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +1 -1
- package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +1 -1
- package/lib/ui/file-input/file-input.component.d.ts +1 -1
- package/lib/ui/flyout/flyout.component.d.ts +1 -1
- package/lib/ui/generic-dialog/generic-dialog.component.d.ts +1 -1
- package/lib/ui/icon/icon.component.d.ts +1 -1
- package/lib/ui/image-slider/image-slider.component.d.ts +3 -3
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +1 -1
- package/lib/ui/loader/loader.component.d.ts +1 -1
- package/lib/ui/map/map.component.d.ts +2 -1
- package/lib/ui/radiobutton/radiobutton.component.d.ts +1 -1
- package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +1 -1
- package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +1 -1
- package/lib/ui/time-input/time-input.component.d.ts +1 -1
- package/lib/ui/tooltip/tooltip.component.d.ts +1 -1
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +1 -1
- package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/ui/image-slider/image-slider.component.scss +209 -202
|
@@ -32,15 +32,15 @@ export class SalutationDropdownComponent extends FormControlParentComponent {
|
|
|
32
32
|
super.ngOnInit();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
SalutationDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
SalutationDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
35
|
+
SalutationDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalutationDropdownComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
SalutationDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SalutationDropdownComponent, selector: "kms-salutation-dropdown", inputs: { placeholder: "placeholder" }, providers: [
|
|
37
37
|
{
|
|
38
38
|
provide: NG_VALUE_ACCESSOR,
|
|
39
39
|
useExisting: forwardRef(() => SalutationDropdownComponent),
|
|
40
40
|
multi: true,
|
|
41
41
|
},
|
|
42
|
-
], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" class=\"row\">\n <mat-form-field class=\"col\">\n <mat-select disableOptionCentering [formControl]=\"form.controls['salut']\" [placeholder]=\"placeholder\" [value]=\"value\" #child>\n <mat-option [value]=\"SalutationEnum.NOT_SPECIFIED\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.MALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.FEMALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}</mat-option>\n </mat-select>\n </mat-form-field>\n</form>", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" class=\"row\">\n <mat-form-field class=\"col\">\n <mat-select disableOptionCentering [formControl]=\"form.controls['salut']\" [placeholder]=\"placeholder\" [value]=\"value\" #child>\n <mat-option [value]=\"SalutationEnum.NOT_SPECIFIED\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.MALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.FEMALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}</mat-option>\n </mat-select>\n </mat-form-field>\n</form>", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalutationDropdownComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'kms-salutation-dropdown', providers: [
|
|
46
46
|
{
|
|
@@ -28,15 +28,15 @@ export class SalutationRadiogroupComponent extends FormControlParentComponent {
|
|
|
28
28
|
super.ngOnInit();
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
SalutationRadiogroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
SalutationRadiogroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
+
SalutationRadiogroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalutationRadiogroupComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
SalutationRadiogroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SalutationRadiogroupComponent, selector: "kms-salutation-radiogroup", providers: [
|
|
33
33
|
{
|
|
34
34
|
provide: NG_VALUE_ACCESSOR,
|
|
35
35
|
useExisting: forwardRef(() => SalutationRadiogroupComponent),
|
|
36
36
|
multi: true,
|
|
37
37
|
},
|
|
38
38
|
], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" >\n <mat-radio-group [formControl]=\"form.controls['salut']\" [disabled]=\"disabled\" #radioGroup>\n <mat-radio-button color=\"primary\" [value]=\"SalutationEnum.NOT_SPECIFIED\" [checked]=\"value === SalutationEnum.NOT_SPECIFIED\">\n {{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}\n </mat-radio-button>\n <mat-radio-button color=\"primary\" [value]=\"SalutationEnum.MALE\" [checked]=\"value === SalutationEnum.MALE\">\n {{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}\n </mat-radio-button>\n <mat-radio-button color=\"primary\" [value]=\"SalutationEnum.FEMALE\" [checked]=\"value === SalutationEnum.FEMALE\">\n {{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}\n </mat-radio-button>\n </mat-radio-group>\n</form>", dependencies: [{ kind: "directive", type: i2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalutationRadiogroupComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{ selector: 'kms-salutation-radiogroup', providers: [
|
|
42
42
|
{
|
|
@@ -62,15 +62,15 @@ export class TimeInputComponent {
|
|
|
62
62
|
this.onTouch = fn;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
TimeInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
TimeInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
65
|
+
TimeInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TimeInputComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
TimeInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TimeInputComponent, selector: "kms-time-input", providers: [
|
|
67
67
|
{
|
|
68
68
|
provide: NG_VALUE_ACCESSOR,
|
|
69
69
|
useExisting: forwardRef(() => TimeInputComponent),
|
|
70
70
|
multi: true,
|
|
71
71
|
},
|
|
72
72
|
], ngImport: i0, template: "<form [formGroup]=\"form\" class=\"timeInput\">\n <input type=\"text\" formControlName=\"h\" [value]=\"h\" maxlength=\"2\" pattern=\"(0?[0-9]|1[0-9]|2[0-3])\"/>\n <span>:</span>\n <input type=\"text\" formControlName=\"m\" [value]=\"m\" maxlength=\"2\" pattern=\"(0?[0-9]|[1-5][0-9])\"/>\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] });
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TimeInputComponent, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
75
|
args: [{ selector: 'kms-time-input', providers: [
|
|
76
76
|
{
|
|
@@ -5,9 +5,9 @@ export class TooltipComponent {
|
|
|
5
5
|
this.tooltipTitle = "";
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TooltipComponent, selector: "kms-tooltip-element", inputs: { tooltipTitle: "tooltipTitle" }, ngImport: i0, template: "<ng-content></ng-content>", styles: ["[kmsTooltip]{position:relative}\n"] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{ selector: 'kms-tooltip-element', template: "<ng-content></ng-content>", styles: ["[kmsTooltip]{position:relative}\n"] }]
|
|
13
13
|
}], propDecorators: { tooltipTitle: [{
|
|
@@ -15,9 +15,9 @@ export class TooltipIconComponent {
|
|
|
15
15
|
this.IconSizePx = IconSizePx;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
TooltipIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
TooltipIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
TooltipIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
TooltipIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TooltipIconComponent, selector: "kms-tooltip-icon", inputs: { tooltipTitle: "tooltipTitle", tooltipText: "tooltipText", tooltipLinkText: "tooltipLinkText", tooltipLinkUrl: "tooltipLinkUrl", placement: "placement", delay: "delay" }, ngImport: i0, template: "<span\n kmsTooltip\n [tooltipTitle]=\"tooltipTitle\"\n [tooltipText]=\"tooltipText\"\n [tooltipPlacement]=\"placement\"\n [tooltipDelay]=\"delay\"\n [tooltipLinkText]=\"tooltipLinkText\"\n [tooltipLinkUrl]=\"tooltipLinkUrl\"\n>\n <kms-icon icon=\"ic_info\" [size]=\"IconSizePx.SMALLER\" [iconClass]=\"'color-primary'\"></kms-icon>\n</span>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.TooltipDirective, selector: "[kmsTooltip]", inputs: ["tooltipTitle", "tooltipText", "tooltipLinkText", "tooltipLinkUrl", "tooltipPlacement", "tooltipDelay", "tooltipPlaceIntoHost", "tooltipOnlyonclick"] }, { kind: "directive", type: i2.SizeDirective, selector: "[size]", inputs: ["size"] }, { kind: "component", type: i3.IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "size", "dontUseSprite"] }] });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipIconComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{ selector: 'kms-tooltip-icon', template: "<span\n kmsTooltip\n [tooltipTitle]=\"tooltipTitle\"\n [tooltipText]=\"tooltipText\"\n [tooltipPlacement]=\"placement\"\n [tooltipDelay]=\"delay\"\n [tooltipLinkText]=\"tooltipLinkText\"\n [tooltipLinkUrl]=\"tooltipLinkUrl\"\n>\n <kms-icon icon=\"ic_info\" [size]=\"IconSizePx.SMALLER\" [iconClass]=\"'color-primary'\"></kms-icon>\n</span>\n" }]
|
|
23
23
|
}], propDecorators: { tooltipTitle: [{
|
|
@@ -4,17 +4,6 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/forms";
|
|
5
5
|
import * as i2 from "@angular/material/radio";
|
|
6
6
|
export class YesNoRadiogroupComponent {
|
|
7
|
-
constructor(formBuilder, renderer) {
|
|
8
|
-
this.formBuilder = formBuilder;
|
|
9
|
-
this.renderer = renderer;
|
|
10
|
-
this.disabled = false;
|
|
11
|
-
this.textYes = '';
|
|
12
|
-
this.textNo = '';
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
14
|
-
this.onChange = () => { };
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
16
|
-
this.onTouch = () => { };
|
|
17
|
-
}
|
|
18
7
|
get value() {
|
|
19
8
|
return this.internalValue;
|
|
20
9
|
}
|
|
@@ -40,6 +29,17 @@ export class YesNoRadiogroupComponent {
|
|
|
40
29
|
this.renderer.setProperty(this.child.nativeElement, 'disabled', isDisabled);
|
|
41
30
|
}
|
|
42
31
|
}
|
|
32
|
+
constructor(formBuilder, renderer) {
|
|
33
|
+
this.formBuilder = formBuilder;
|
|
34
|
+
this.renderer = renderer;
|
|
35
|
+
this.disabled = false;
|
|
36
|
+
this.textYes = '';
|
|
37
|
+
this.textNo = '';
|
|
38
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
39
|
+
this.onChange = () => { };
|
|
40
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
41
|
+
this.onTouch = () => { };
|
|
42
|
+
}
|
|
43
43
|
ngOnInit() {
|
|
44
44
|
this.form = this.formBuilder.group({
|
|
45
45
|
yesno: [],
|
|
@@ -50,15 +50,15 @@ export class YesNoRadiogroupComponent {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
YesNoRadiogroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
YesNoRadiogroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
53
|
+
YesNoRadiogroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: YesNoRadiogroupComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
YesNoRadiogroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: YesNoRadiogroupComponent, selector: "kms-yesno-radiogroup", inputs: { header: "header", disabled: "disabled", textYes: "textYes", textNo: "textNo" }, providers: [
|
|
55
55
|
{
|
|
56
56
|
provide: NG_VALUE_ACCESSOR,
|
|
57
57
|
useExisting: forwardRef(() => YesNoRadiogroupComponent),
|
|
58
58
|
multi: true,
|
|
59
59
|
},
|
|
60
60
|
], viewQueries: [{ propertyName: "child", first: true, predicate: ["child"], descendants: true }], ngImport: i0, template: "<form [formGroup]=\"form\">\n <div>{{ header }}</div>\n <mat-radio-group [formControl]=\"form.controls['yesno']\" [disabled]=\"disabled\" #child>\n <mat-radio-button [value]=\"true\" [checked]=\"internalValue === true\"> {{ textYes }}</mat-radio-button>\n <mat-radio-button [value]=\"false\" [checked]=\"internalValue === false\"> {{ textNo }}</mat-radio-button>\n </mat-radio-group>\n</form>\n", dependencies: [{ kind: "directive", type: i2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: YesNoRadiogroupComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ selector: 'kms-yesno-radiogroup', providers: [
|
|
64
64
|
{
|
|
@@ -79,4 +79,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
79
79
|
type: ViewChild,
|
|
80
80
|
args: ['child']
|
|
81
81
|
}] } });
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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