@bizdoc/core 1.17.10 → 1.17.12
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/assets/bizdoc-schema.json +1 -0
- package/esm2020/lib/admin/architecture/declarations.mjs +1 -1
- package/esm2020/lib/admin/architecture/designer-element.component.mjs +2 -2
- package/esm2020/lib/admin/architecture/designer.base.mjs +29 -1
- package/esm2020/lib/admin/architecture/designer.component.mjs +5 -4
- package/esm2020/lib/admin/architecture/elements/action.component.mjs +1 -1
- package/esm2020/lib/admin/architecture/elements/attribute.component.mjs +6 -5
- package/esm2020/lib/admin/architecture/elements/configuration-datasource.component.mjs +1 -1
- package/esm2020/lib/admin/architecture/elements/control.component.mjs +3 -2
- package/esm2020/lib/admin/architecture/elements/cube.component.mjs +24 -20
- package/esm2020/lib/admin/architecture/elements/folder.component.mjs +4 -3
- package/esm2020/lib/admin/architecture/elements/form-invite.dialog.mjs +1 -1
- package/esm2020/lib/admin/architecture/elements/form.component.mjs +4 -4
- package/esm2020/lib/admin/architecture/elements/report.component.mjs +4 -3
- package/esm2020/lib/admin/architecture/elements/role.component.mjs +6 -5
- package/esm2020/lib/admin/architecture/elements/state.component.mjs +1 -1
- package/esm2020/lib/admin/architecture/elements/type.component.mjs +6 -6
- package/esm2020/lib/admin/architecture/elements/widget.component.mjs +4 -3
- package/esm2020/lib/admin/core/localized-string.component.mjs +12 -45
- package/esm2020/lib/admin/form/designer/box-designer.component.mjs +11 -9
- package/esm2020/lib/admin/form/designer/properties.component.mjs +2 -2
- package/esm2020/lib/admin/form/designer/section.component.mjs +1 -1
- package/esm2020/lib/admin/form/workflow/node.component.mjs +2 -2
- package/esm2020/lib/admin/positions/positions.component.mjs +27 -26
- package/esm2020/lib/admin/system.service.mjs +30 -2
- package/esm2020/lib/browse/browse-items.component.mjs +12 -11
- package/esm2020/lib/compose/form.component.mjs +4 -4
- package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +8 -8
- package/esm2020/lib/core/checkbox.mjs +5 -5
- package/esm2020/lib/core/component-factory-resolver.mjs +1 -1
- package/esm2020/lib/core/fields/address.designer.mjs +1 -1
- package/esm2020/lib/core/fields/autocomplete.field.mjs +27 -12
- package/esm2020/lib/core/fields/checkbox.designer.mjs +1 -1
- package/esm2020/lib/core/fields/checkbox.field.mjs +3 -3
- package/esm2020/lib/core/fields/checklist.designer.mjs +27 -12
- package/esm2020/lib/core/fields/date-range.designer.mjs +1 -1
- package/esm2020/lib/core/fields/date.designer.mjs +1 -1
- package/esm2020/lib/core/fields/expression.field.mjs +31 -5
- package/esm2020/lib/core/fields/file.designer.mjs +1 -1
- package/esm2020/lib/core/fields/html.designer.mjs +1 -1
- package/esm2020/lib/core/fields/input.designer.mjs +1 -1
- package/esm2020/lib/core/fields/localized-string.field.mjs +32 -5
- package/esm2020/lib/core/fields/numeric.designer.mjs +1 -1
- package/esm2020/lib/core/fields/options.base.mjs +7 -7
- package/esm2020/lib/core/fields/options.component.mjs +3 -3
- package/esm2020/lib/core/fields/radio-button.designer.mjs +9 -9
- package/esm2020/lib/core/fields/select.designer.mjs +26 -12
- package/esm2020/lib/core/fields/signature.designer.mjs +1 -1
- package/esm2020/lib/core/fields/textarea.designer.mjs +1 -1
- package/esm2020/lib/core/fields/time.designer.mjs +40 -0
- package/esm2020/lib/core/fields/time.field.mjs +40 -0
- package/esm2020/lib/core/fields/timespan.field.mjs +19 -2
- package/esm2020/lib/core/fields/yesno.designer.mjs +29 -15
- package/esm2020/lib/core/inputs/auto-complete.input.mjs +2 -2
- package/esm2020/lib/core/inputs/select.input.mjs +2 -2
- package/esm2020/lib/core/layout.component.mjs +9 -71
- package/esm2020/lib/core/models.mjs +1 -19
- package/esm2020/lib/core/slots/router.service.mjs +2 -2
- package/esm2020/lib/core/slots/slots.component.mjs +7 -4
- package/esm2020/lib/cube/chart/chart.component.mjs +2 -2
- package/esm2020/lib/cube/explore/explore-items.component.mjs +9 -9
- package/esm2020/lib/designer.module.mjs +18 -14
- package/esm2020/lib/reports/report-viewer.component.mjs +2 -2
- package/esm2020/lib/reports/report.mobile.component.mjs +5 -5
- package/esm2020/lib/reports/table/table-view.component.mjs +2 -2
- package/esm2020/lib/shared.module.mjs +6 -4
- package/esm2020/lib/system.module.mjs +7 -3
- package/esm2020/lib/views/timeline/timeline.component.exp.mjs +5 -2
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/bizdoc-core.mjs +7208 -7053
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +11266 -11115
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/declarations.d.ts +5 -0
- package/lib/admin/architecture/designer.base.d.ts +4 -2
- package/lib/admin/architecture/elements/attribute.component.d.ts +2 -2
- package/lib/admin/architecture/elements/control.component.d.ts +2 -2
- package/lib/admin/architecture/elements/cube.component.d.ts +5 -5
- package/lib/admin/architecture/elements/folder.component.d.ts +1 -0
- package/lib/admin/architecture/elements/form.component.d.ts +2 -2
- package/lib/admin/architecture/elements/role.component.d.ts +2 -2
- package/lib/admin/architecture/elements/type.component.d.ts +1 -1
- package/lib/admin/core/localized-string.component.d.ts +4 -17
- package/lib/admin/form/designer/box-designer.component.d.ts +1 -2
- package/lib/admin/positions/positions.component.d.ts +8 -5
- package/lib/admin/system.service.d.ts +12 -1
- package/lib/core/checkbox.d.ts +2 -2
- package/lib/core/component-factory-resolver.d.ts +1 -1
- package/lib/core/fields/autocomplete.field.d.ts +4 -6
- package/lib/core/fields/checklist.designer.d.ts +2 -2
- package/lib/core/fields/expression.field.d.ts +12 -2
- package/lib/core/fields/localized-string.field.d.ts +9 -2
- package/lib/core/fields/options.base.d.ts +6 -5
- package/lib/core/fields/radio-button.designer.d.ts +2 -2
- package/lib/core/fields/select.designer.d.ts +2 -2
- package/lib/core/fields/time.designer.d.ts +25 -0
- package/lib/core/fields/time.field.d.ts +22 -0
- package/lib/core/fields/timespan.field.d.ts +10 -2
- package/lib/core/fields/yesno.designer.d.ts +4 -6
- package/lib/core/layout.component.d.ts +5 -2
- package/lib/core/models.d.ts +4 -28
- package/lib/core/slots/router.service.d.ts +1 -1
- package/lib/designer.module.d.ts +24 -20
- package/lib/shared.module.d.ts +137 -136
- package/lib/views/timeline/timeline.component.exp.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
@@ -4,6 +4,7 @@ import { FormControl, Validators } from '@angular/forms';
|
|
4
4
|
import { Subject } from 'rxjs';
|
5
5
|
import { TypeAutocomplete } from '../inputs/auto-complete.input';
|
6
6
|
import { BizDoc } from '../decorators';
|
7
|
+
import { OptionsControlDesigner } from './options.base';
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
import * as i1 from "../datasource.service";
|
9
10
|
import * as i2 from "@angular/common";
|
@@ -13,11 +14,12 @@ import * as i5 from "../inputs/auto-complete.input";
|
|
13
14
|
import * as i6 from "../pipes/localized-string.pipe";
|
14
15
|
import * as i7 from "../pipes/type-value.pipe";
|
15
16
|
import * as i8 from "../pipes/translate.pipe";
|
16
|
-
import * as i9 from "
|
17
|
+
import * as i9 from "../../admin/system.service";
|
17
18
|
import * as i10 from "@angular/material/core";
|
18
19
|
import * as i11 from "@angular/material/select";
|
19
20
|
import * as i12 from "@angular/material/checkbox";
|
20
21
|
import * as i13 from "@angular/material/input";
|
22
|
+
import * as i14 from "../pipes/sort.pipe";
|
21
23
|
let AutocompleteField = class AutocompleteField {
|
22
24
|
constructor(_ds) {
|
23
25
|
this._ds = _ds;
|
@@ -48,9 +50,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
48
50
|
type: ViewChild,
|
49
51
|
args: [TypeAutocomplete]
|
50
52
|
}] } });
|
51
|
-
let AutocompleteControlDesigner = class AutocompleteControlDesigner {
|
52
|
-
constructor(
|
53
|
-
|
53
|
+
let AutocompleteControlDesigner = class AutocompleteControlDesigner extends OptionsControlDesigner {
|
54
|
+
constructor(service, _fb) {
|
55
|
+
super(service);
|
54
56
|
this._fb = _fb;
|
55
57
|
this.form = this._fb.group({
|
56
58
|
label: null,
|
@@ -59,11 +61,10 @@ let AutocompleteControlDesigner = class AutocompleteControlDesigner {
|
|
59
61
|
dataType: this._fb.control(null, Validators.required),
|
60
62
|
hint: null,
|
61
63
|
});
|
62
|
-
this.datatypes = this._session.profile.types;
|
63
64
|
}
|
64
65
|
};
|
65
|
-
AutocompleteControlDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AutocompleteControlDesigner, deps: [{ token: i9.
|
66
|
-
AutocompleteControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: AutocompleteControlDesigner, selector: "ng-component", ngImport: i0, template: `
|
66
|
+
AutocompleteControlDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AutocompleteControlDesigner, deps: [{ token: i9.SystemService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
67
|
+
AutocompleteControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: AutocompleteControlDesigner, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
67
68
|
<form autocomplete="off" [formGroup]="form" class="column">
|
68
69
|
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
69
70
|
<mat-form-field>
|
@@ -73,11 +74,18 @@ AutocompleteControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
73
74
|
<mat-form-field>
|
74
75
|
<mat-label>{{'DataType'|translate}}</mat-label>
|
75
76
|
<mat-select formControlName="dataType" required>
|
76
|
-
<mat-option *ngFor="let t of datatypes" [value]="t.name">
|
77
|
+
<mat-option *ngFor="let t of (datatypes|async)['_'].elements|sort: 'title'" [value]="t.name">
|
78
|
+
{{t.title}}
|
79
|
+
</mat-option>
|
80
|
+
<mat-optgroup *ngFor="let g of datatypes|async|sort: 'title'" [label]="g.title">
|
81
|
+
<mat-option *ngFor="let t of g.elements|sort: 'title'" [value]="t.name">
|
82
|
+
{{t.title}}
|
83
|
+
</mat-option>
|
84
|
+
</mat-optgroup>
|
77
85
|
</mat-select>
|
78
86
|
<mat-error *ngIf="form.get('dataType').hasError('required')" [innerHTML]="'RequiredErr'|translate:'DataType'"></mat-error>
|
79
87
|
</mat-form-field>
|
80
|
-
</form>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i10.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i13.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "pipe", type:
|
88
|
+
</form>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i10.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i10.MatOptgroup, selector: "mat-optgroup", inputs: ["disabled"], exportAs: ["matOptgroup"] }, { kind: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i13.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i14.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
|
81
89
|
AutocompleteControlDesigner = __decorate([
|
82
90
|
BizDoc({ selector: 'autocomplete-control-designer' })
|
83
91
|
], AutocompleteControlDesigner);
|
@@ -95,11 +103,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
95
103
|
<mat-form-field>
|
96
104
|
<mat-label>{{'DataType'|translate}}</mat-label>
|
97
105
|
<mat-select formControlName="dataType" required>
|
98
|
-
<mat-option *ngFor="let t of datatypes" [value]="t.name">
|
106
|
+
<mat-option *ngFor="let t of (datatypes|async)['_'].elements|sort: 'title'" [value]="t.name">
|
107
|
+
{{t.title}}
|
108
|
+
</mat-option>
|
109
|
+
<mat-optgroup *ngFor="let g of datatypes|async|sort: 'title'" [label]="g.title">
|
110
|
+
<mat-option *ngFor="let t of g.elements|sort: 'title'" [value]="t.name">
|
111
|
+
{{t.title}}
|
112
|
+
</mat-option>
|
113
|
+
</mat-optgroup>
|
99
114
|
</mat-select>
|
100
115
|
<mat-error *ngIf="form.get('dataType').hasError('required')" [innerHTML]="'RequiredErr'|translate:'DataType'"></mat-error>
|
101
116
|
</mat-form-field>
|
102
117
|
</form>`
|
103
118
|
}]
|
104
|
-
}], ctorParameters: function () { return [{ type: i9.
|
105
|
-
//# sourceMappingURL=data:application/json;base64,
|
119
|
+
}], ctorParameters: function () { return [{ type: i9.SystemService }, { type: i3.FormBuilder }]; } });
|
120
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLmZpZWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9hdXRvY29tcGxldGUuZmllbGQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL2F1dG9jb21wbGV0ZS5maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUIsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBZSxXQUFXLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFdEUsT0FBTyxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUUzQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUVqRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBS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luZztcclxuICBoaW50Pzogc3RyaW5nO1xyXG4gIHJlcXVpcmVkPzogYm9vbGVhbjtcclxufVxyXG4iLCI8bWF0LWZvcm0tZmllbGQgW2FwcGVhcmFuY2VdPWFwcGVhcmFuY2UgKm5nSWY9XCJtb2RlPT09J2NvbXBvc2UnO2Vsc2Ugdmlld1wiPlxyXG4gIDxtYXQtbGFiZWw+e3tsYWJlbCB8bG9jYWxpemVkU3RyaW5nfX08L21hdC1sYWJlbD5cclxuICA8Yml6ZG9jLWF1dG9jb21wbGV0ZSBbcGxhY2Vob2xkZXJdPVwicGxhY2Vob2xkZXIgfGxvY2FsaXplZFN0cmluZ1wiIFtmb3JtQ29udHJvbF09Y29udHJvbFxyXG4gICAgICAgICAgICAgICAgICAgICAgIFtyZXF1aXJlZF09XCJyZXF1aXJlZFwiIFt0eXBlXT1cImRhdGFUeXBlXCI+PC9iaXpkb2MtYXV0b2NvbXBsZXRlPlxyXG4gIDxtYXQtaGludCAqbmdJZj1cImhpbnRcIj4ge3sgaGludCB8bG9jYWxpemVkU3RyaW5nfX08L21hdC1oaW50PlxyXG4gIDxtYXQtZXJyb3IgKm5nSWY9XCJjb250cm9sLmhhc0Vycm9yKCdyZXF1aXJlZCcpXCIgW2lubmVySFRNTF09XCInUmVxdWlyZWRFcnInfHRyYW5zbGF0ZToobGFiZWx8bG9jYWxpemVkU3RyaW5nKVwiPjwvbWF0LWVycm9yPlxyXG48L21hdC1mb3JtLWZpZWxkPlxyXG48bmctdGVtcGxhdGUgI3ZpZXc+XHJcbiAge3tjb250cm9sLnZhbHVlIHwgdHlwZVZhbHVlOiBkYXRhVHlwZSB8IGFzeW5jfX1cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
@@ -20,7 +20,7 @@ CheckboxControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
20
20
|
<form autocomplete="off" [formGroup]="form" class="column">
|
21
21
|
<bizdoc-localized-string [placeholder]="'Label'|translate" required formControlName="label"></bizdoc-localized-string>
|
22
22
|
</form>
|
23
|
-
`, isInline: true, 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { 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"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
23
|
+
`, isInline: true, 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { 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"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
24
24
|
CheckboxControlDesigner = __decorate([
|
25
25
|
BizDoc({ selector: 'checkbox-control-designer' })
|
26
26
|
], CheckboxControlDesigner);
|
@@ -21,16 +21,16 @@ let CheckboxField = class CheckboxField {
|
|
21
21
|
}
|
22
22
|
};
|
23
23
|
CheckboxField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CheckboxField, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
24
|
-
CheckboxField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: CheckboxField, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: MatCheckbox, descendants: true }], ngImport: i0, template: "<div *ngIf=\"mode==='compose';else view\">\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-checkbox [formControl]=control> {{ label |localizedString}}</mat-checkbox>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label||name)\"></mat-error>\r\n</div>\r\n<ng-template #view>\r\n <bizdoc-checkbox [
|
24
|
+
CheckboxField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: CheckboxField, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: MatCheckbox, descendants: true }], ngImport: i0, template: "<div *ngIf=\"mode==='compose';else view\">\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-checkbox [formControl]=control> {{ label |localizedString}}</mat-checkbox>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label||name)\"></mat-error>\r\n</div>\r\n<ng-template #view>\r\n <bizdoc-checkbox [checked]=\"control.value\">{{label|localizedString}}</bizdoc-checkbox>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i5.CheckboxComponent, selector: "bizdoc-checkbox", inputs: ["checked", "color", "icon"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
|
25
25
|
CheckboxField = __decorate([
|
26
26
|
BizDoc({ selector: 'checkbox-control' })
|
27
27
|
], CheckboxField);
|
28
28
|
export { CheckboxField };
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CheckboxField, decorators: [{
|
30
30
|
type: Component,
|
31
|
-
args: [{ template: "<div *ngIf=\"mode==='compose';else view\">\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-checkbox [formControl]=control> {{ label |localizedString}}</mat-checkbox>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label||name)\"></mat-error>\r\n</div>\r\n<ng-template #view>\r\n <bizdoc-checkbox [
|
31
|
+
args: [{ template: "<div *ngIf=\"mode==='compose';else view\">\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-checkbox [formControl]=control> {{ label |localizedString}}</mat-checkbox>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label||name)\"></mat-error>\r\n</div>\r\n<ng-template #view>\r\n <bizdoc-checkbox [checked]=\"control.value\">{{label|localizedString}}</bizdoc-checkbox>\r\n</ng-template>\r\n" }]
|
32
32
|
}], propDecorators: { input: [{
|
33
33
|
type: ViewChild,
|
34
34
|
args: [MatCheckbox]
|
35
35
|
}] } });
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guZmllbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL2NoZWNrYm94LmZpZWxkLnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9jaGVja2JveC5maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUV6RCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7Ozs7QUFNaEMsSUFBTSxhQUFhLEdBQW5CLE1BQU0sYUFBYTtJQUFuQjtRQU1JLFlBQU8sR0FBRyxJQUFJLFdBQVcsQ0FBQyxLQUFLLENBQUMsQ0FBQztLQUszQztJQUpDLEtBQUssS0FBSyxJQUFJLENBQUMsS0FBSyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FBQztJQUMvQixRQUFRO1FBQ04sSUFBSSxDQUFDLFFBQVEsSUFBSSxJQUFJLENBQUMsT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VkPzogYm9vbGVhbjtcclxuICBAVmlld0NoaWxkKE1hdENoZWNrYm94KSBpbnB1dDogTWF0Q2hlY2tib3g7XHJcbiAgcmVhZG9ubHkgY29udHJvbCA9IG5ldyBGb3JtQ29udHJvbChmYWxzZSk7XHJcbiAgZm9jdXMoKSB7IHRoaXMuaW5wdXQuZm9jdXMoKTsgfVxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5yZXF1aXJlZCAmJiB0aGlzLmNvbnRyb2wuYWRkVmFsaWRhdG9ycyhWYWxpZGF0b3JzLnJlcXVpcmVkVHJ1ZSk7XHJcbiAgfVxyXG59XHJcbiIsIjxkaXYgKm5nSWY9XCJtb2RlPT09J2NvbXBvc2UnO2Vsc2Ugdmlld1wiPlxyXG4gIDxtYXQtaGludCAqbmdJZj1cImhpbnRcIj4ge3sgaGludCB8bG9jYWxpemVkU3RyaW5nfX08L21hdC1oaW50PlxyXG4gIDxtYXQtY2hlY2tib3ggW2Zvcm1Db250cm9sXT1jb250cm9sPiB7eyBsYWJlbCB8bG9jYWxpemVkU3RyaW5nfX08L21hdC1jaGVja2JveD5cclxuICA8bWF0LWVycm9yICpuZ0lmPVwiY29udHJvbC5oYXNFcnJvcigncmVxdWlyZWQnKVwiIFtpbm5lckhUTUxdPVwiJ1JlcXVpcmVkRXJyJ3x0cmFuc2xhdGU6KGxhYmVsfHxuYW1lKVwiPjwvbWF0LWVycm9yPlxyXG48L2Rpdj5cclxuPG5nLXRlbXBsYXRlICN2aWV3PlxyXG4gIDxiaXpkb2MtY2hlY2tib3ggW2NoZWNrZWRdPVwiY29udHJvbC52YWx1ZVwiPnt7bGFiZWx8bG9jYWxpemVkU3RyaW5nfX08L2JpemRvYy1jaGVja2JveD5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
@@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
|
3
3
|
import { BizDoc } from '../decorators';
|
4
4
|
import { OptionsControlDesigner } from './options.base';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "
|
6
|
+
import * as i1 from "../../admin/system.service";
|
7
7
|
import * as i2 from "@angular/forms";
|
8
8
|
import * as i3 from "@angular/common";
|
9
9
|
import * as i4 from "@angular/material/core";
|
@@ -11,10 +11,11 @@ import * as i5 from "@angular/material/form-field";
|
|
11
11
|
import * as i6 from "@angular/material/select";
|
12
12
|
import * as i7 from "@angular/material/checkbox";
|
13
13
|
import * as i8 from "./options.component";
|
14
|
-
import * as i9 from "../pipes/
|
14
|
+
import * as i9 from "../pipes/sort.pipe";
|
15
|
+
import * as i10 from "../pipes/translate.pipe";
|
15
16
|
let ChecklistControlDesigner = class ChecklistControlDesigner extends OptionsControlDesigner {
|
16
|
-
constructor(
|
17
|
-
super(
|
17
|
+
constructor(service, _fb) {
|
18
|
+
super(service);
|
18
19
|
this._fb = _fb;
|
19
20
|
this.form = this._fb.group({
|
20
21
|
label: null,
|
@@ -27,19 +28,26 @@ let ChecklistControlDesigner = class ChecklistControlDesigner extends OptionsCon
|
|
27
28
|
this.model = model;
|
28
29
|
}
|
29
30
|
};
|
30
|
-
ChecklistControlDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ChecklistControlDesigner, deps: [{ token: i1.
|
31
|
+
ChecklistControlDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ChecklistControlDesigner, deps: [{ token: i1.SystemService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
31
32
|
ChecklistControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ChecklistControlDesigner, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
32
33
|
<form autocomplete="off" [formGroup]="form" class="column">
|
33
34
|
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
34
|
-
<mat-form-field>
|
35
|
+
<mat-form-field *ngIf="datatypes">
|
35
36
|
<mat-label>{{'DataType'|translate}}</mat-label>
|
36
37
|
<mat-select formControlName="dataType">
|
37
|
-
<mat-option *ngFor="let t of datatypes" [value]="t.name">
|
38
|
+
<mat-option *ngFor="let t of datatypes['_'].elements|sort: 'title'" [value]="t.name">
|
39
|
+
{{t.title}}
|
40
|
+
</mat-option>
|
41
|
+
<mat-optgroup *ngFor="let g of datatypes|sort: 'title'" [label]="g.title">
|
42
|
+
<mat-option *ngFor="let t of g.elements|sort: 'title'" [value]="t.name">
|
43
|
+
{{t.title}}
|
44
|
+
</mat-option>
|
45
|
+
</mat-optgroup>
|
38
46
|
</mat-select>
|
39
47
|
<mat-error *ngIf="form.get('dataType').hasError('required')" [innerHTML]="'RequiredErr'|translate:('DataType'|translate)"></mat-error>
|
40
48
|
</mat-form-field>
|
41
49
|
<bizdoc-design-options [form]="form" [model]="model"></bizdoc-design-options>
|
42
|
-
</form>`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i7.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i8.ControlOptionsComponent, selector: "bizdoc-design-options", inputs: ["form", "model"] }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
50
|
+
</form>`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatOptgroup, selector: "mat-optgroup", inputs: ["disabled"], exportAs: ["matOptgroup"] }, { kind: "directive", type: i5.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i7.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i8.ControlOptionsComponent, selector: "bizdoc-design-options", inputs: ["form", "model"] }, { kind: "pipe", type: i9.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] });
|
43
51
|
ChecklistControlDesigner = __decorate([
|
44
52
|
BizDoc({ selector: 'checklist-control-designer' })
|
45
53
|
], ChecklistControlDesigner);
|
@@ -50,15 +58,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
50
58
|
template: `
|
51
59
|
<form autocomplete="off" [formGroup]="form" class="column">
|
52
60
|
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
53
|
-
<mat-form-field>
|
61
|
+
<mat-form-field *ngIf="datatypes">
|
54
62
|
<mat-label>{{'DataType'|translate}}</mat-label>
|
55
63
|
<mat-select formControlName="dataType">
|
56
|
-
<mat-option *ngFor="let t of datatypes" [value]="t.name">
|
64
|
+
<mat-option *ngFor="let t of datatypes['_'].elements|sort: 'title'" [value]="t.name">
|
65
|
+
{{t.title}}
|
66
|
+
</mat-option>
|
67
|
+
<mat-optgroup *ngFor="let g of datatypes|sort: 'title'" [label]="g.title">
|
68
|
+
<mat-option *ngFor="let t of g.elements|sort: 'title'" [value]="t.name">
|
69
|
+
{{t.title}}
|
70
|
+
</mat-option>
|
71
|
+
</mat-optgroup>
|
57
72
|
</mat-select>
|
58
73
|
<mat-error *ngIf="form.get('dataType').hasError('required')" [innerHTML]="'RequiredErr'|translate:('DataType'|translate)"></mat-error>
|
59
74
|
</mat-form-field>
|
60
75
|
<bizdoc-design-options [form]="form" [model]="model"></bizdoc-design-options>
|
61
76
|
</form>`
|
62
77
|
}]
|
63
|
-
}], ctorParameters: function () { return [{ type: i1.
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
78
|
+
}], ctorParameters: function () { return [{ type: i1.SystemService }, { type: i2.FormBuilder }]; } });
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tsaXN0LmRlc2lnbmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9jaGVja2xpc3QuZGVzaWduZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJMUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7Ozs7Ozs7Ozs7O0FBdUJqRCxJQUFNLHdCQUF3QixHQUE5QixNQUFNLHdCQUF5QixTQUFRLHNCQUFzQjtJQVFsRSxZQUNFLE9BQXNCLEVBQ2QsR0FBZ0I7UUFDeEIsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBRFAsUUFBRyxHQUFILEdBQUcsQ0FBYTtRQVJqQixTQUFJLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUM7WUFDN0IsS0FBSyxFQUFFLElBQUk7WUFDWCxRQUFRLEVBQUUsSUFBSTtZQUNkLFFBQVEsRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLGFBQWEsQ0FBQztZQUNwRCxJQUFJLEVBQUUsSUFBSTtTQUNYLENBQUMsQ0FBQzt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VxdWlyZWQ/OiBib29sZWFuO1xyXG4gIG9wdGlvbnM/OiB7IGtleTogc3RyaW5nOyB2YWx1ZTogTG9jYWxpemVkU3RyaW5nIH1bXTtcclxufVxyXG4iXX0=
|
@@ -24,7 +24,7 @@ DateRangeControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
|
|
24
24
|
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
25
25
|
<bizdoc-localized-string [placeholder]="'Placeholder'|translate" formControlName="startPlaceholder"></bizdoc-localized-string>
|
26
26
|
<bizdoc-localized-string [placeholder]="'Placeholder'|translate" formControlName="endPlaceholder"></bizdoc-localized-string>
|
27
|
-
</form>`, isInline: true, 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
27
|
+
</form>`, isInline: true, 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
28
28
|
DateRangeControlDesigner = __decorate([
|
29
29
|
BizDoc({ selector: 'date-range-control-designer' })
|
30
30
|
], DateRangeControlDesigner);
|
@@ -22,7 +22,7 @@ DateControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
22
22
|
<form autocomplete="off" [formGroup]="form" class="column">
|
23
23
|
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
24
24
|
<bizdoc-localized-string [placeholder]="'Placeholder'|translate" formControlName="placeholder"></bizdoc-localized-string>
|
25
|
-
</form>`, isInline: true, 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
25
|
+
</form>`, isInline: true, 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
26
26
|
DateControlDesigner = __decorate([
|
27
27
|
BizDoc({ selector: 'date-control-designer' })
|
28
28
|
], DateControlDesigner);
|
@@ -1,14 +1,15 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
1
2
|
import { Component, Input, ViewChild } from '@angular/core';
|
2
|
-
import { FormControl, Validators } from '@angular/forms';
|
3
|
+
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
3
4
|
import { AceInput } from '../../admin/core/ace.input';
|
5
|
+
import { BizDoc } from '../decorators';
|
4
6
|
import * as i0 from "@angular/core";
|
5
7
|
import * as i1 from "@angular/common";
|
6
8
|
import * as i2 from "@angular/forms";
|
7
9
|
import * as i3 from "@angular/material/form-field";
|
8
10
|
import * as i4 from "../../admin/core/ace.input";
|
9
11
|
import * as i5 from "../pipes/translate.pipe";
|
10
|
-
|
11
|
-
export class ExpressionField {
|
12
|
+
let ExpressionField = class ExpressionField {
|
12
13
|
constructor() {
|
13
14
|
this.control = new FormControl();
|
14
15
|
}
|
@@ -16,7 +17,7 @@ export class ExpressionField {
|
|
16
17
|
this.required && this.control.addValidators(Validators.required);
|
17
18
|
}
|
18
19
|
focus() { this.input.focus(); }
|
19
|
-
}
|
20
|
+
};
|
20
21
|
ExpressionField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ExpressionField, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
21
22
|
ExpressionField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ExpressionField, selector: "ng-component", inputs: { params: "params" }, host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: AceInput, descendants: true }], ngImport: i0, template: `<mat-form-field>
|
22
23
|
<mat-label >{{label }}</mat-label>
|
@@ -27,6 +28,11 @@ ExpressionField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
27
28
|
<mat-hint *ngIf="hint"> {{ hint }}</mat-hint>
|
28
29
|
<mat-error *ngIf="control.hasError('required')" [innerHTML]="'RequiredErr'|translate:(label||name)"></mat-error>
|
29
30
|
</mat-form-field>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.AceInput, selector: "bizdoc-ace-input", inputs: ["params", "placeholder", "required", "disabled", "value"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
31
|
+
ExpressionField = __decorate([
|
32
|
+
BizDoc({ selector: 'programmable-expression-control' })
|
33
|
+
/** layout component*/
|
34
|
+
], ExpressionField);
|
35
|
+
export { ExpressionField };
|
30
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ExpressionField, decorators: [{
|
31
37
|
type: Component,
|
32
38
|
args: [{
|
@@ -47,4 +53,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
47
53
|
}], params: [{
|
48
54
|
type: Input
|
49
55
|
}] } });
|
50
|
-
|
56
|
+
let ExpressionFieldDesigner = class ExpressionFieldDesigner {
|
57
|
+
constructor() {
|
58
|
+
this.form = new FormGroup({});
|
59
|
+
}
|
60
|
+
onBind(model) {
|
61
|
+
}
|
62
|
+
ngOnInit() {
|
63
|
+
}
|
64
|
+
};
|
65
|
+
ExpressionFieldDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ExpressionFieldDesigner, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
66
|
+
ExpressionFieldDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ExpressionFieldDesigner, selector: "ng-component", ngImport: i0, template: ``, isInline: true });
|
67
|
+
ExpressionFieldDesigner = __decorate([
|
68
|
+
BizDoc({ selector: 'programmable-expression-control-designer' })
|
69
|
+
/** layout component*/
|
70
|
+
], ExpressionFieldDesigner);
|
71
|
+
export { ExpressionFieldDesigner };
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ExpressionFieldDesigner, decorators: [{
|
73
|
+
type: Component,
|
74
|
+
args: [{ template: `` }]
|
75
|
+
}] });
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwcmVzc2lvbi5maWVsZC5qcyIsInNvdXJjZVJvb3QiOiI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ucmVxdWlyZWQpO1xyXG4gIH1cclxuICBtb2RlOiBWaWV3TW9kZTtcclxuICBwbGFjZWhvbGRlcj86IHN0cmluZztcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgbGFiZWw/OiBzdHJpbmc7XHJcbiAgcmVxdWlyZWQ/OiBib29sZWFuO1xyXG4gIGhpbnQ/OiBzdHJpbmc7XHJcbiAgcmVhZG9ubHkgY29udHJvbCA9IG5ldyBGb3JtQ29udHJvbCgpO1xyXG4gIEBWaWV3Q2hpbGQoQWNlSW5wdXQpIGlucHV0OiBBY2VJbnB1dDtcclxuICBASW5wdXQoKSBwYXJhbXM6IGFueTtcclxuICBmb2N1cygpIHsgdGhpcy5pbnB1dC5mb2N1cygpOyB9XHJcbn1cclxuQENvbXBvbmVudCh7IHRlbXBsYXRlOiBgYCB9KVxyXG5AQml6RG9jKHsgc2VsZWN0b3I6ICdwcm9ncmFtbWFibGUtZXhwcmVzc2lvbi1jb250cm9sLWRlc2lnbmVyJyB9KVxyXG4vKiogbGF5b3V0IGNvbXBvbmVudCovXHJcbmV4cG9ydCBjbGFzcyBFeHByZXNzaW9uRmllbGREZXNpZ25lciBpbXBsZW1lbnRzIENvbnRyb2xEZXNpZ25lciwgT25Jbml0IHtcclxuICByZWFkb25seSBmb3JtID0gbmV3IEZvcm1Hcm91cDxhbnk+KHt9KTtcclxuICAgIG9uQmluZD8obW9kZWw6IGFueSkge1xyXG4gICAgfVxyXG4gICAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICB9XHJcbiAgICBhcHBlYXJhbmNlPzogTWF0Rm9ybUZpZWxkQXBwZWFyYW5jZTtcclxuICAgIG1vZGU6IFZpZXdNb2RlO1xyXG59XHJcbiJdfQ==
|
@@ -21,7 +21,7 @@ FileControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
21
21
|
<form autocomplete="off" [formGroup]="form" class="column">
|
22
22
|
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
23
23
|
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
24
|
-
`, isInline: true, 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i3.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
24
|
+
`, isInline: true, 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i3.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
|
25
25
|
FileControlDesigner = __decorate([
|
26
26
|
BizDoc({ selector: 'file-control-designer' })
|
27
27
|
], FileControlDesigner);
|
@@ -33,7 +33,7 @@ HtmlFieldDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
33
33
|
<input matInput formControlName="maxLength" type="number" />
|
34
34
|
</mat-form-field>
|
35
35
|
</div>
|
36
|
-
</form>`, isInline: true, 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
36
|
+
</form>`, isInline: true, 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
37
37
|
HtmlFieldDesigner = __decorate([
|
38
38
|
BizDoc({ selector: 'html-control-designer' })
|
39
39
|
], HtmlFieldDesigner);
|
@@ -26,7 +26,7 @@ let InputFieldDesigner = class InputFieldDesigner {
|
|
26
26
|
}
|
27
27
|
};
|
28
28
|
InputFieldDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: InputFieldDesigner, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
29
|
-
InputFieldDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: InputFieldDesigner, selector: "ng-component", ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\r\n <bizdoc-localized-string [placeholder]=\"'Placeholder'|translate\" formControlName=\"placeholder\"></bizdoc-localized-string>\r\n <mat-form-field>\r\n <mat-label>{{'Type'|translate}}</mat-label>\r\n <mat-select formControlName=\"kind\">\r\n <mat-option>{{'Text'|translate}}</mat-option>\r\n <mat-option value=\"PhoneNumber\">{{'Tel'|translate}}</mat-option>\r\n <mat-option value=\"EmailAddress\">{{'Email'|translate}}</mat-option>\r\n <mat-option value=\"Url\">{{'Url'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Pattern'|translate}}</mat-label>\r\n <input matInput formControlName=\"pattern\" />\r\n <mat-hint><span [innerHTML]=\"'RegexHint' | translate : 'https://regex101.com/'| sanitizeHtml\"></span></mat-hint>\r\n </mat-form-field>\r\n <div class=\"row\">\r\n <!--<bizdoc-icon-picker formControlName=\"prefixIcon\"></bizdoc-icon-picker>\r\n <bizdoc-icon-picker formControlName=\"suffixIcon\"></bizdoc-icon-picker>-->\r\n </div>\r\n <div class=\"row\">\r\n <mat-form-field flex>\r\n <mat-label>{{'MinLength'|translate}}</mat-label>\r\n <input matInput formControlName=\"minLength\" type=\"number\" />\r\n </mat-form-field> \r\n <mat-form-field flex>\r\n <mat-label>{{'MaxLength'|translate}}</mat-label>\r\n <input matInput formControlName=\"maxLength\" type=\"number\" />\r\n </mat-form-field>\r\n </div>\r\n</form>\r\n", 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
29
|
+
InputFieldDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: InputFieldDesigner, selector: "ng-component", ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\r\n <bizdoc-localized-string [placeholder]=\"'Placeholder'|translate\" formControlName=\"placeholder\"></bizdoc-localized-string>\r\n <mat-form-field>\r\n <mat-label>{{'Type'|translate}}</mat-label>\r\n <mat-select formControlName=\"kind\">\r\n <mat-option>{{'Text'|translate}}</mat-option>\r\n <mat-option value=\"PhoneNumber\">{{'Tel'|translate}}</mat-option>\r\n <mat-option value=\"EmailAddress\">{{'Email'|translate}}</mat-option>\r\n <mat-option value=\"Url\">{{'Url'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Pattern'|translate}}</mat-label>\r\n <input matInput formControlName=\"pattern\" />\r\n <mat-hint><span [innerHTML]=\"'RegexHint' | translate : 'https://regex101.com/'| sanitizeHtml\"></span></mat-hint>\r\n </mat-form-field>\r\n <div class=\"row\">\r\n <!--<bizdoc-icon-picker formControlName=\"prefixIcon\"></bizdoc-icon-picker>\r\n <bizdoc-icon-picker formControlName=\"suffixIcon\"></bizdoc-icon-picker>-->\r\n </div>\r\n <div class=\"row\">\r\n <mat-form-field flex>\r\n <mat-label>{{'MinLength'|translate}}</mat-label>\r\n <input matInput formControlName=\"minLength\" type=\"number\" />\r\n </mat-form-field> \r\n <mat-form-field flex>\r\n <mat-label>{{'MaxLength'|translate}}</mat-label>\r\n <input matInput formControlName=\"maxLength\" type=\"number\" />\r\n </mat-form-field>\r\n </div>\r\n</form>\r\n", 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i7.SanitizeHtmlPipe, name: "sanitizeHtml" }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
|
30
30
|
InputFieldDesigner = __decorate([
|
31
31
|
BizDoc({ selector: 'text-control-designer' })
|
32
32
|
], InputFieldDesigner);
|
@@ -1,9 +1,11 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
1
2
|
import { Component } from '@angular/core';
|
2
|
-
import { FormControl, Validators } from '@angular/forms';
|
3
|
+
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
4
|
+
import { BizDoc } from '../decorators';
|
3
5
|
import * as i0 from "@angular/core";
|
4
6
|
import * as i1 from "@angular/forms";
|
5
7
|
import * as i2 from "../../admin/core/localized-string.component";
|
6
|
-
|
8
|
+
let LocalizedStringField = class LocalizedStringField {
|
7
9
|
constructor() {
|
8
10
|
this.control = new FormControl();
|
9
11
|
}
|
@@ -11,11 +13,36 @@ export class LocalizedStringField {
|
|
11
13
|
ngOnInit() {
|
12
14
|
this.required && this.control.addValidators(Validators.required);
|
13
15
|
}
|
14
|
-
}
|
16
|
+
};
|
15
17
|
LocalizedStringField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalizedStringField, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
16
|
-
LocalizedStringField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: LocalizedStringField, selector: "ng-component", host: { classAttribute: "field" }, ngImport: i0, template: "<bizdoc-localized-string [formControl]=\"control\" [placeholder]=\"placeholder\" [required]=\"required\" class=\"column\"></bizdoc-localized-string>\r\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
18
|
+
LocalizedStringField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: LocalizedStringField, selector: "ng-component", host: { classAttribute: "field" }, ngImport: i0, template: "<bizdoc-localized-string [formControl]=\"control\" [placeholder]=\"placeholder\" [required]=\"required\" class=\"column\"></bizdoc-localized-string>\r\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }] });
|
19
|
+
LocalizedStringField = __decorate([
|
20
|
+
BizDoc({ selector: 'localized-text-control' })
|
21
|
+
], LocalizedStringField);
|
22
|
+
export { LocalizedStringField };
|
17
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalizedStringField, decorators: [{
|
18
24
|
type: Component,
|
19
25
|
args: [{ host: { class: 'field' }, template: "<bizdoc-localized-string [formControl]=\"control\" [placeholder]=\"placeholder\" [required]=\"required\" class=\"column\"></bizdoc-localized-string>\r\n" }]
|
20
26
|
}] });
|
21
|
-
|
27
|
+
let LocalizedStringControlDesigner = class LocalizedStringControlDesigner {
|
28
|
+
constructor() {
|
29
|
+
this.form = new FormGroup({});
|
30
|
+
}
|
31
|
+
ngOnInit() {
|
32
|
+
}
|
33
|
+
onBind(model) {
|
34
|
+
}
|
35
|
+
};
|
36
|
+
LocalizedStringControlDesigner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalizedStringControlDesigner, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
37
|
+
LocalizedStringControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: LocalizedStringControlDesigner, selector: "ng-component", ngImport: i0, template: ``, isInline: true });
|
38
|
+
LocalizedStringControlDesigner = __decorate([
|
39
|
+
BizDoc({ selector: 'localized-text-control-designer' })
|
40
|
+
], LocalizedStringControlDesigner);
|
41
|
+
export { LocalizedStringControlDesigner };
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalizedStringControlDesigner, decorators: [{
|
43
|
+
type: Component,
|
44
|
+
args: [{
|
45
|
+
template: ``,
|
46
|
+
}]
|
47
|
+
}] });
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxpemVkLXN0cmluZy5maWVsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvY29yZS9maWVsZHMvbG9jYWxpemVkLXN0cmluZy5maWVsZC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvY29yZS9maWVsZHMvbG9jYWxpemVkLXN0cmluZy5maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUdwRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBT2hDLElBQU0sb0JBQW9CLEdBQTFCLE1BQU0sb0JBQW9CO0lBQTFCO1FBS0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vYyh7IHNlbGVjdG9yOiAnbG9jYWxpemVkLXRleHQtY29udHJvbC1kZXNpZ25lcicgfSlcclxuZXhwb3J0IGNsYXNzIExvY2FsaXplZFN0cmluZ0NvbnRyb2xEZXNpZ25lciBpbXBsZW1lbnRzIENvbnRyb2xEZXNpZ25lcjxhbnk+LCBPbkluaXQge1xyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gIH1cclxuICByZWFkb25seSBmb3JtID0gbmV3IEZvcm1Hcm91cDxhbnk+KHt9KTtcclxuICBvbkJpbmQ/KG1vZGVsOiBhbnkpIHtcclxuICB9XHJcbn1cclxuIiwiPGJpemRvYy1sb2NhbGl6ZWQtc3RyaW5nIFtmb3JtQ29udHJvbF09XCJjb250cm9sXCIgW3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyXCIgW3JlcXVpcmVkXT1cInJlcXVpcmVkXCIgY2xhc3M9XCJjb2x1bW5cIj48L2JpemRvYy1sb2NhbGl6ZWQtc3RyaW5nPlxyXG4iXX0=
|
@@ -40,7 +40,7 @@ NumberControlDesigner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
40
40
|
<input matInput formControlName="max" type="number" />
|
41
41
|
</mat-form-field>
|
42
42
|
</div>
|
43
|
-
</form>`, isInline: true, 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "value", "placeholder", "required", "disabled", "maxlength"]
|
43
|
+
</form>`, isInline: true, 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
44
44
|
NumberControlDesigner = __decorate([
|
45
45
|
BizDoc({ selector: 'number-control-designer' })
|
46
46
|
], NumberControlDesigner);
|