@3kles/kles-material-dynamicforms 17.12.1 → 17.12.2
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.
|
@@ -15,11 +15,14 @@ let KlesFormTextComponent = class KlesFormTextComponent extends KlesFieldAbstrac
|
|
|
15
15
|
super.ngOnDestroy();
|
|
16
16
|
}
|
|
17
17
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KlesFormTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: KlesFormTextComponent, selector: "kles-form-text", usesInheritance: true, ngImport: i0, template: `
|
|
19
19
|
<span matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
|
|
20
20
|
{{((field.property && group.controls[field.name].value) ? group.controls[field.name].value[field.property] : group.controls[field.name].value) | klesTransform:field.pipeTransform}}
|
|
21
21
|
</span>
|
|
22
|
-
|
|
22
|
+
@if (field.subComponents || isPending()) {
|
|
23
|
+
<ng-content></ng-content>
|
|
24
|
+
}
|
|
25
|
+
`, isInline: true, styles: [":host{display:flex;align-items:center;flex-direction:row;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i3.KlesTransformPipe, name: "klesTransform" }] }); }
|
|
23
26
|
};
|
|
24
27
|
KlesFormTextComponent = __decorate([
|
|
25
28
|
FieldMapper({ type: EnumType.text })
|
|
@@ -27,13 +30,13 @@ KlesFormTextComponent = __decorate([
|
|
|
27
30
|
export { KlesFormTextComponent };
|
|
28
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KlesFormTextComponent, decorators: [{
|
|
29
32
|
type: Component,
|
|
30
|
-
args: [{
|
|
31
|
-
selector: 'kles-form-text',
|
|
32
|
-
template: `
|
|
33
|
+
args: [{ selector: 'kles-form-text', template: `
|
|
33
34
|
<span matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
|
|
34
35
|
{{((field.property && group.controls[field.name].value) ? group.controls[field.name].value[field.property] : group.controls[field.name].value) | klesTransform:field.pipeTransform}}
|
|
35
36
|
</span>
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
@if (field.subComponents || isPending()) {
|
|
38
|
+
<ng-content></ng-content>
|
|
39
|
+
}
|
|
40
|
+
`, styles: [":host{display:flex;align-items:center;flex-direction:row;justify-content:space-between}\n"] }]
|
|
38
41
|
}] });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rbGVzLW1hdGVyaWFsLWR5bmFtaWNmb3Jtcy9zcmMvbGliL2ZpZWxkcy90ZXh0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ2hFLE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 -2618,25 +2618,28 @@ let KlesFormTextComponent = class KlesFormTextComponent extends KlesFieldAbstrac
|
|
|
2618
2618
|
super.ngOnDestroy();
|
|
2619
2619
|
}
|
|
2620
2620
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KlesFormTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2621
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2621
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: KlesFormTextComponent, selector: "kles-form-text", usesInheritance: true, ngImport: i0, template: `
|
|
2622
2622
|
<span matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
|
|
2623
2623
|
{{((field.property && group.controls[field.name].value) ? group.controls[field.name].value[field.property] : group.controls[field.name].value) | klesTransform:field.pipeTransform}}
|
|
2624
2624
|
</span>
|
|
2625
|
-
|
|
2625
|
+
@if (field.subComponents || isPending()) {
|
|
2626
|
+
<ng-content></ng-content>
|
|
2627
|
+
}
|
|
2628
|
+
`, isInline: true, styles: [":host{display:flex;align-items:center;flex-direction:row;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: KlesTransformPipe, name: "klesTransform" }] }); }
|
|
2626
2629
|
};
|
|
2627
2630
|
KlesFormTextComponent = __decorate([
|
|
2628
2631
|
FieldMapper({ type: EnumType.text })
|
|
2629
2632
|
], KlesFormTextComponent);
|
|
2630
2633
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KlesFormTextComponent, decorators: [{
|
|
2631
2634
|
type: Component,
|
|
2632
|
-
args: [{
|
|
2633
|
-
selector: 'kles-form-text',
|
|
2634
|
-
template: `
|
|
2635
|
+
args: [{ selector: 'kles-form-text', template: `
|
|
2635
2636
|
<span matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
|
|
2636
2637
|
{{((field.property && group.controls[field.name].value) ? group.controls[field.name].value[field.property] : group.controls[field.name].value) | klesTransform:field.pipeTransform}}
|
|
2637
2638
|
</span>
|
|
2638
|
-
|
|
2639
|
-
|
|
2639
|
+
@if (field.subComponents || isPending()) {
|
|
2640
|
+
<ng-content></ng-content>
|
|
2641
|
+
}
|
|
2642
|
+
`, styles: [":host{display:flex;align-items:center;flex-direction:row;justify-content:space-between}\n"] }]
|
|
2640
2643
|
}] });
|
|
2641
2644
|
|
|
2642
2645
|
class KlesFormChipComponent extends KlesFieldAbstract {
|