@apipass/schemas 0.2.5-alpha.0 → 0.2.5-alpha.3
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/bundles/apipass-schemas.umd.js +407 -192
- package/bundles/apipass-schemas.umd.js.map +1 -1
- package/bundles/apipass-schemas.umd.min.js +2 -2
- package/bundles/apipass-schemas.umd.min.js.map +1 -1
- package/esm2015/schema-custom-attributes/schema-custom-attributes.js +56 -41
- package/esm2015/schema-fields.service.js +18 -10
- package/esm2015/schema-form/schema-array/array-session/array-session.js +39 -37
- package/esm2015/schema-form/schema-array/schema-array.js +70 -31
- package/esm2015/schema-form/schema-form.js +51 -9
- package/esm2015/schema-form/schema-input/field-render/field-render.js +21 -19
- package/esm2015/schema-form/schema-input/input-render/input-render.js +18 -11
- package/esm2015/schema-form/schema-input/schema-input.js +27 -14
- package/esm2015/schema-form/schema-object/schema-object.js +54 -14
- package/esm2015/schema-form-render.js +54 -14
- package/esm2015/schema-form-render.module.js +4 -9
- package/esm2015/schema-validation-field.js +1 -1
- package/fesm2015/apipass-schemas.js +401 -187
- package/fesm2015/apipass-schemas.js.map +1 -1
- package/package.json +1 -1
- package/schema-custom-attributes/schema-custom-attributes.d.ts +7 -1
- package/schema-fields.service.d.ts +7 -4
- package/schema-form/schema-array/array-session/array-session.d.ts +4 -2
- package/schema-form/schema-array/schema-array.d.ts +15 -1
- package/schema-form/schema-form.d.ts +15 -1
- package/schema-form/schema-input/field-render/field-render.d.ts +2 -1
- package/schema-form/schema-input/input-render/input-render.d.ts +5 -1
- package/schema-form/schema-input/schema-input.d.ts +6 -1
- package/schema-form/schema-object/schema-object.d.ts +15 -1
- package/schema-form-render.d.ts +15 -1
- package/schema-form-render.module.d.ts +2 -3
- package/schema-validation-field.d.ts +7 -1
|
@@ -7,7 +7,6 @@ import * as i3 from "ngx-drag-drop";
|
|
|
7
7
|
import * as i4 from "@apipass/inputs";
|
|
8
8
|
import * as i5 from "./number-input/number-input.component";
|
|
9
9
|
import * as i6 from "./boolean-input/boolean-input.component";
|
|
10
|
-
import * as i7 from "@ngx-translate/core";
|
|
11
10
|
const _c0 = function () { return { standalone: true }; };
|
|
12
11
|
function InputRenderComponent_input_1_Template(rf, ctx) { if (rf & 1) {
|
|
13
12
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -23,14 +22,10 @@ function InputRenderComponent_select_box_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
23
22
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
24
23
|
i0.ɵɵelementStart(0, "select-box", 5);
|
|
25
24
|
i0.ɵɵlistener("ngModelChange", function InputRenderComponent_select_box_2_Template_select_box_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.value = $event; })("ngModelChange", function InputRenderComponent_select_box_2_Template_select_box_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.onChange($event.key); });
|
|
26
|
-
i0.ɵɵpipe(1, "translate");
|
|
27
|
-
i0.ɵɵpipe(2, "translate");
|
|
28
|
-
i0.ɵɵpipe(3, "translate");
|
|
29
|
-
i0.ɵɵpipe(4, "translate");
|
|
30
25
|
i0.ɵɵelementEnd();
|
|
31
26
|
} if (rf & 2) {
|
|
32
27
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
33
|
-
i0.ɵɵproperty("id", ctx_r1.inputId)("ngModel", ctx_r1.value)("ngModelOptions", i0.ɵɵpureFunction0(
|
|
28
|
+
i0.ɵɵproperty("id", ctx_r1.inputId)("ngModel", ctx_r1.value)("ngModelOptions", i0.ɵɵpureFunction0(12, _c0))("placeholder", ctx_r1.schema.description || ctx_r1.selectPlaceHolderLabel)("searchPlaceHolder", ctx_r1.selectSearchPlaceHolderLabel)("clearText", ctx_r1.selectClearLabel)("notFoundText", ctx_r1.selectNotFoundLabel)("bindKey", "key")("bindValue", "value")("enabledSearch", true)("limitItens", 30)("data", ctx_r1.schema.options);
|
|
34
29
|
} }
|
|
35
30
|
function InputRenderComponent_number_input_3_Template(rf, ctx) { if (rf & 1) {
|
|
36
31
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -53,6 +48,10 @@ function InputRenderComponent_boolean_input_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
53
48
|
export class InputRenderComponent extends BaseSchemaComponent {
|
|
54
49
|
constructor() {
|
|
55
50
|
super(...arguments);
|
|
51
|
+
this.selectPlaceHolderLabel = 'Select Item';
|
|
52
|
+
this.selectSearchPlaceHolderLabel = 'Search';
|
|
53
|
+
this.selectClearLabel = 'Clear';
|
|
54
|
+
this.selectNotFoundLabel = 'No Items Found';
|
|
56
55
|
this.schema = {};
|
|
57
56
|
this.editing = false;
|
|
58
57
|
this.onDropEvent = new EventEmitter();
|
|
@@ -89,10 +88,10 @@ export class InputRenderComponent extends BaseSchemaComponent {
|
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
90
|
InputRenderComponent.ɵfac = function InputRenderComponent_Factory(t) { return ɵInputRenderComponent_BaseFactory(t || InputRenderComponent); };
|
|
92
|
-
InputRenderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: InputRenderComponent, selectors: [["input-render"]], inputs: { schema: "schema", modelPropertiesPath: "modelPropertiesPath", inputId: "inputId", editing: "editing" }, outputs: { onDropEvent: "onDropEvent" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 4, consts: [[1, "schema-input-container"], ["class", "form-control", "dndDropzone", "", 3, "type", "placeholder", "ngModel", "ngModelOptions", "id", "maxlength", "ngModelChange", "dndDrop", 4, "ngIf"], [3, "id", "ngModel", "ngModelOptions", "placeholder", "searchPlaceHolder", "clearText", "notFoundText", "bindKey", "bindValue", "enabledSearch", "limitItens", "data", "ngModelChange", 4, "ngIf"], [3, "model", "inputId", "placeholder", "maxLength", "modelChange", 4, "ngIf"], ["dndDropzone", "", 1, "form-control", 3, "type", "placeholder", "ngModel", "ngModelOptions", "id", "maxlength", "ngModelChange", "dndDrop"], [3, "id", "ngModel", "ngModelOptions", "placeholder", "searchPlaceHolder", "clearText", "notFoundText", "bindKey", "bindValue", "enabledSearch", "limitItens", "data", "ngModelChange"], [3, "model", "inputId", "placeholder", "maxLength", "modelChange"]], template: function InputRenderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
InputRenderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: InputRenderComponent, selectors: [["input-render"]], inputs: { selectPlaceHolderLabel: "selectPlaceHolderLabel", selectSearchPlaceHolderLabel: "selectSearchPlaceHolderLabel", selectClearLabel: "selectClearLabel", selectNotFoundLabel: "selectNotFoundLabel", schema: "schema", modelPropertiesPath: "modelPropertiesPath", inputId: "inputId", editing: "editing" }, outputs: { onDropEvent: "onDropEvent" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 4, consts: [[1, "schema-input-container"], ["class", "form-control", "dndDropzone", "", 3, "type", "placeholder", "ngModel", "ngModelOptions", "id", "maxlength", "ngModelChange", "dndDrop", 4, "ngIf"], [3, "id", "ngModel", "ngModelOptions", "placeholder", "searchPlaceHolder", "clearText", "notFoundText", "bindKey", "bindValue", "enabledSearch", "limitItens", "data", "ngModelChange", 4, "ngIf"], [3, "model", "inputId", "placeholder", "maxLength", "modelChange", 4, "ngIf"], ["dndDropzone", "", 1, "form-control", 3, "type", "placeholder", "ngModel", "ngModelOptions", "id", "maxlength", "ngModelChange", "dndDrop"], [3, "id", "ngModel", "ngModelOptions", "placeholder", "searchPlaceHolder", "clearText", "notFoundText", "bindKey", "bindValue", "enabledSearch", "limitItens", "data", "ngModelChange"], [3, "model", "inputId", "placeholder", "maxLength", "modelChange"]], template: function InputRenderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
93
92
|
i0.ɵɵelementStart(0, "div", 0);
|
|
94
93
|
i0.ɵɵtemplate(1, InputRenderComponent_input_1_Template, 1, 7, "input", 1);
|
|
95
|
-
i0.ɵɵtemplate(2, InputRenderComponent_select_box_2_Template,
|
|
94
|
+
i0.ɵɵtemplate(2, InputRenderComponent_select_box_2_Template, 1, 13, "select-box", 2);
|
|
96
95
|
i0.ɵɵtemplate(3, InputRenderComponent_number_input_3_Template, 1, 4, "number-input", 3);
|
|
97
96
|
i0.ɵɵtemplate(4, InputRenderComponent_boolean_input_4_Template, 1, 4, "boolean-input", 3);
|
|
98
97
|
i0.ɵɵelementEnd();
|
|
@@ -105,7 +104,7 @@ InputRenderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: InputRenderComponent
|
|
|
105
104
|
i0.ɵɵproperty("ngIf", ctx.schema.type === "number");
|
|
106
105
|
i0.ɵɵadvance(1);
|
|
107
106
|
i0.ɵɵproperty("ngIf", ctx.schema.type === "boolean");
|
|
108
|
-
} }, directives: [i1.NgIf, i2.DefaultValueAccessor, i3.DndDropzoneDirective, i2.NgControlStatus, i2.NgModel, i2.MaxLengthValidator, i4.SelectBoxComponent, i5.NumberInputComponent, i6.BooleanInputComponent],
|
|
107
|
+
} }, directives: [i1.NgIf, i2.DefaultValueAccessor, i3.DndDropzoneDirective, i2.NgControlStatus, i2.NgModel, i2.MaxLengthValidator, i4.SelectBoxComponent, i5.NumberInputComponent, i6.BooleanInputComponent], styles: [""] });
|
|
109
108
|
const ɵInputRenderComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(InputRenderComponent);
|
|
110
109
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(InputRenderComponent, [{
|
|
111
110
|
type: Component,
|
|
@@ -114,7 +113,15 @@ const ɵInputRenderComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFact
|
|
|
114
113
|
templateUrl: 'input-render.html',
|
|
115
114
|
styleUrls: ['./input-render.scss']
|
|
116
115
|
}]
|
|
117
|
-
}], null, {
|
|
116
|
+
}], null, { selectPlaceHolderLabel: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], selectSearchPlaceHolderLabel: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], selectClearLabel: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], selectNotFoundLabel: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], schema: [{
|
|
118
125
|
type: Input
|
|
119
126
|
}], modelPropertiesPath: [{
|
|
120
127
|
type: Input
|
|
@@ -125,4 +132,4 @@ const ɵInputRenderComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFact
|
|
|
125
132
|
}], onDropEvent: [{
|
|
126
133
|
type: Output
|
|
127
134
|
}] }); })();
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
135
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcmVuZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWZvcm0vc2NoZW1hLWlucHV0L2lucHV0LXJlbmRlci9pbnB1dC1yZW5kZXIudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zY2hlbWFzL3NyYy9zY2hlbWEtZm9ybS9zY2hlbWEtaW5wdXQvaW5wdXQtcmVuZGVyL2lucHV0LXJlbmRlci5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBbUIsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZGLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLGdDQUFnQyxDQUFDOzs7Ozs7Ozs7OztJQ0FqRSxnQ0FNQTtJQUhPLGlOQUFtQixzTUFBQSw4TUFBQTtJQUgxQixpQkFNQTs7O0lBTE8sa0VBQW9DO0lBRGYsOEVBQXlELHlCQUFBLDhDQUFBLHNCQUFBLHNDQUFBOzs7O0lBTXJGLHFDQWVh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+XG5cbiAgPGJvb2xlYW4taW5wdXQgWyhtb2RlbCldPVwidmFsdWVcIiBbaW5wdXRJZF09XCJpbnB1dElkXCJcbiAgICAgICAgICAgICAgICAgKm5nSWY9XCJzY2hlbWEudHlwZSA9PT0gJ2Jvb2xlYW4nXCJcbiAgICAgICAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cInNjaGVtYS5kZXNjcmlwdGlvblwiIFttYXhMZW5ndGhdPVwic2NoZW1hLm1heExlbmd0aFwiXG4gICAgICAgICAgICAgICAgIChtb2RlbENoYW5nZSk9XCJvbkNoYW5nZSgkZXZlbnQpXCI+PC9ib29sZWFuLWlucHV0PlxuPC9kaXY+XG4iXX0=
|
|
@@ -5,7 +5,6 @@ import * as i1 from "@angular/common";
|
|
|
5
5
|
import * as i2 from "./field-render/field-render";
|
|
6
6
|
import * as i3 from "./input-render/input-render";
|
|
7
7
|
import * as i4 from "@angular/material/tooltip";
|
|
8
|
-
import * as i5 from "@ngx-translate/core";
|
|
9
8
|
function SchemaInputComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
10
9
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
11
10
|
i0.ɵɵelementStart(0, "div", 1);
|
|
@@ -20,18 +19,17 @@ function SchemaInputComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
20
19
|
} if (rf & 2) {
|
|
21
20
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
22
21
|
i0.ɵɵadvance(2);
|
|
23
|
-
i0.ɵɵproperty("label", ctx_r0.schema.title)("tooltip", ctx_r0.schema.help)("inputId", ctx_r0.getId(ctx_r0.index));
|
|
22
|
+
i0.ɵɵproperty("requiredLabel", ctx_r0.requiredLabel)("label", ctx_r0.schema.title)("tooltip", ctx_r0.schema.help)("inputId", ctx_r0.getId(ctx_r0.index));
|
|
24
23
|
i0.ɵɵadvance(1);
|
|
25
|
-
i0.ɵɵproperty("inputId", ctx_r0.getId(ctx_r0.index))("schema", ctx_r0.schema)("model", ctx_r0.model[ctx_r0.schema.id])("modelPropertiesPath", "mappingAttributes." + ctx_r0.schema.id)("editing", ctx_r0.editing);
|
|
24
|
+
i0.ɵɵproperty("selectPlaceHolderLabel", ctx_r0.selectPlaceHolderLabel)("selectSearchPlaceHolderLabel", ctx_r0.selectSearchPlaceHolderLabel)("selectClearLabel", ctx_r0.selectClearLabel)("selectNotFoundLabel", ctx_r0.selectNotFoundLabel)("inputId", ctx_r0.getId(ctx_r0.index))("schema", ctx_r0.schema)("model", ctx_r0.model[ctx_r0.schema.id])("modelPropertiesPath", "mappingAttributes." + ctx_r0.schema.id)("editing", ctx_r0.editing);
|
|
26
25
|
} }
|
|
27
26
|
function SchemaInputComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
28
27
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29
|
-
i0.ɵɵ
|
|
30
|
-
i0.ɵɵtext(2, "?");
|
|
28
|
+
i0.ɵɵtext(1, "?");
|
|
31
29
|
i0.ɵɵelementEnd();
|
|
32
30
|
} if (rf & 2) {
|
|
33
31
|
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
34
|
-
i0.ɵɵpropertyInterpolate("matTooltip",
|
|
32
|
+
i0.ɵɵpropertyInterpolate("matTooltip", ctx_r4.schema.help);
|
|
35
33
|
} }
|
|
36
34
|
function SchemaInputComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
37
35
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -39,7 +37,7 @@ function SchemaInputComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
39
37
|
i0.ɵɵelementStart(1, "div", 2);
|
|
40
38
|
i0.ɵɵelementStart(2, "label", 5);
|
|
41
39
|
i0.ɵɵtext(3);
|
|
42
|
-
i0.ɵɵtemplate(4, SchemaInputComponent_div_1_span_4_Template,
|
|
40
|
+
i0.ɵɵtemplate(4, SchemaInputComponent_div_1_span_4_Template, 2, 1, "span", 6);
|
|
43
41
|
i0.ɵɵelementEnd();
|
|
44
42
|
i0.ɵɵelementStart(5, "input-render", 4);
|
|
45
43
|
i0.ɵɵlistener("modelChange", function SchemaInputComponent_div_1_Template_input_render_modelChange_5_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return (ctx_r5.model[ctx_r5.schema.id] = $event); });
|
|
@@ -55,11 +53,16 @@ function SchemaInputComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
55
53
|
i0.ɵɵadvance(1);
|
|
56
54
|
i0.ɵɵproperty("ngIf", ctx_r1.schema.help);
|
|
57
55
|
i0.ɵɵadvance(1);
|
|
58
|
-
i0.ɵɵproperty("inputId", ctx_r1.getId(ctx_r1.index))("schema", ctx_r1.schema)("model", ctx_r1.model[ctx_r1.schema.id])("modelPropertiesPath", "mappingAttributes." + ctx_r1.schema.id)("editing", ctx_r1.editing);
|
|
56
|
+
i0.ɵɵproperty("selectPlaceHolderLabel", ctx_r1.selectPlaceHolderLabel)("selectSearchPlaceHolderLabel", ctx_r1.selectSearchPlaceHolderLabel)("selectClearLabel", ctx_r1.selectClearLabel)("selectNotFoundLabel", ctx_r1.selectNotFoundLabel)("inputId", ctx_r1.getId(ctx_r1.index))("schema", ctx_r1.schema)("model", ctx_r1.model[ctx_r1.schema.id])("modelPropertiesPath", "mappingAttributes." + ctx_r1.schema.id)("editing", ctx_r1.editing);
|
|
59
57
|
} }
|
|
60
58
|
export class SchemaInputComponent extends BaseSchemaComponent {
|
|
61
59
|
constructor() {
|
|
62
60
|
super(...arguments);
|
|
61
|
+
this.requiredLabel = '(required)';
|
|
62
|
+
this.selectPlaceHolderLabel = 'Select Item';
|
|
63
|
+
this.selectSearchPlaceHolderLabel = 'Search';
|
|
64
|
+
this.selectClearLabel = 'Clear';
|
|
65
|
+
this.selectNotFoundLabel = 'No Items Found';
|
|
63
66
|
this.editing = false;
|
|
64
67
|
}
|
|
65
68
|
ngAfterContentInit() {
|
|
@@ -70,14 +73,14 @@ export class SchemaInputComponent extends BaseSchemaComponent {
|
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
75
|
SchemaInputComponent.ɵfac = function SchemaInputComponent_Factory(t) { return ɵSchemaInputComponent_BaseFactory(t || SchemaInputComponent); };
|
|
73
|
-
SchemaInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaInputComponent, selectors: [["schema-input"]], inputs: { idPrefix: "idPrefix", schema: "schema", editing: "editing", index: "index" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "row schema-input", 4, "ngIf"], [1, "row", "schema-input"], [1, "col-md-12"], [3, "label", "tooltip", "inputId"], [3, "inputId", "schema", "model", "modelPropertiesPath", "editing", "modelChange"], [1, "info-label", "bold", 3, "htmlFor"], ["class", "config-tooltip", 3, "matTooltip", 4, "ngIf"], [1, "config-tooltip", 3, "matTooltip"]], template: function SchemaInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
i0.ɵɵtemplate(0, SchemaInputComponent_div_0_Template, 4,
|
|
75
|
-
i0.ɵɵtemplate(1, SchemaInputComponent_div_1_Template, 6,
|
|
76
|
+
SchemaInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaInputComponent, selectors: [["schema-input"]], inputs: { requiredLabel: "requiredLabel", selectPlaceHolderLabel: "selectPlaceHolderLabel", selectSearchPlaceHolderLabel: "selectSearchPlaceHolderLabel", selectClearLabel: "selectClearLabel", selectNotFoundLabel: "selectNotFoundLabel", idPrefix: "idPrefix", schema: "schema", editing: "editing", index: "index" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "row schema-input", 4, "ngIf"], [1, "row", "schema-input"], [1, "col-md-12"], [3, "requiredLabel", "label", "tooltip", "inputId"], [3, "selectPlaceHolderLabel", "selectSearchPlaceHolderLabel", "selectClearLabel", "selectNotFoundLabel", "inputId", "schema", "model", "modelPropertiesPath", "editing", "modelChange"], [1, "info-label", "bold", 3, "htmlFor"], ["class", "config-tooltip", 3, "matTooltip", 4, "ngIf"], [1, "config-tooltip", 3, "matTooltip"]], template: function SchemaInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
i0.ɵɵtemplate(0, SchemaInputComponent_div_0_Template, 4, 13, "div", 0);
|
|
78
|
+
i0.ɵɵtemplate(1, SchemaInputComponent_div_1_Template, 6, 12, "div", 0);
|
|
76
79
|
} if (rf & 2) {
|
|
77
80
|
i0.ɵɵproperty("ngIf", ctx.loaded && ctx.canRender(ctx.schema) && ctx.schema.type !== "array" && ctx.schema.type !== "object" && ctx.schema.minLength && ctx.schema.minLength > 0);
|
|
78
81
|
i0.ɵɵadvance(1);
|
|
79
82
|
i0.ɵɵproperty("ngIf", ctx.loaded && ctx.canRender(ctx.schema) && ctx.schema.type !== "array" && ctx.schema.type !== "object" && (!ctx.schema.minLength || ctx.schema.minLength === 0));
|
|
80
|
-
} }, directives: [i1.NgIf, i2.FieldRenderComponent, i3.InputRenderComponent, i4.MatTooltip],
|
|
83
|
+
} }, directives: [i1.NgIf, i2.FieldRenderComponent, i3.InputRenderComponent, i4.MatTooltip], styles: [""] });
|
|
81
84
|
const ɵSchemaInputComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SchemaInputComponent);
|
|
82
85
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(SchemaInputComponent, [{
|
|
83
86
|
type: Component,
|
|
@@ -86,7 +89,17 @@ const ɵSchemaInputComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFact
|
|
|
86
89
|
templateUrl: 'schema-input.html',
|
|
87
90
|
styleUrls: ['./schema-input.scss']
|
|
88
91
|
}]
|
|
89
|
-
}], null, {
|
|
92
|
+
}], null, { requiredLabel: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], selectPlaceHolderLabel: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], selectSearchPlaceHolderLabel: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], selectClearLabel: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], selectNotFoundLabel: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], idPrefix: [{
|
|
90
103
|
type: Input
|
|
91
104
|
}], schema: [{
|
|
92
105
|
type: Input
|
|
@@ -95,4 +108,4 @@ const ɵSchemaInputComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFact
|
|
|
95
108
|
}], index: [{
|
|
96
109
|
type: Input
|
|
97
110
|
}] }); })();
|
|
98
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWlucHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWZvcm0vc2NoZW1hLWlucHV0L3NjaGVtYS1pbnB1dC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NjaGVtYXMvc3JjL3NjaGVtYS1mb3JtL3NjaGVtYS1pbnB1dC9zY2hlbWEtaW5wdXQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW1CLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7Ozs7Ozs7O0lDRGhFLDhCQUVFO0lBQUEsOEJBQ0U7SUFBQSx1Q0FDRTtJQUFBLHVDQVMwQztJQUZ4QyxzT0FBaUM7SUFFUixpQkFBZTtJQUM1QyxpQkFBZTtJQUNqQixpQkFBTTtJQUNSLGlCQUFNOzs7SUFiWSxlQUErQjtJQUEvQixvREFBK0IsOEJBQUEsK0JBQUEsdUNBQUE7SUFFekMsZUFBaUQ7SUFBakQsc0VBQWlELHFFQUFBLDZDQUFBLG1EQUFBLHVDQUFBLHlCQUF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XG4gICAgPGxhYmVsIGNsYXNzPVwiaW5mby1sYWJlbCBib2xkXCIgW2h0bWxGb3JdPVwiZ2V0SWQoaW5kZXgpXCI+XG4gICAgICB7e3NjaGVtYS50aXRsZX19XG4gICAgICA8c3BhbiBjbGFzcz1cImNvbmZpZy10b29sdGlwXCIgbWF0VG9vbHRpcD1cInt7IHNjaGVtYS5oZWxwIH19XCIgKm5nSWY9XCJzY2hlbWEuaGVscFwiPj88L3NwYW4+XG4gICAgPC9sYWJlbD5cbiAgICA8aW5wdXQtcmVuZGVyXG4gICAgICBbc2VsZWN0UGxhY2VIb2xkZXJMYWJlbF09XCJzZWxlY3RQbGFjZUhvbGRlckxhYmVsXCJcbiAgICAgIFtzZWxlY3RTZWFyY2hQbGFjZUhvbGRlckxhYmVsXT1cInNlbGVjdFNlYXJjaFBsYWNlSG9sZGVyTGFiZWxcIlxuICAgICAgW3NlbGVjdENsZWFyTGFiZWxdPVwic2VsZWN0Q2xlYXJMYWJlbFwiXG4gICAgICBbc2VsZWN0Tm90Rm91bmRMYWJlbF09XCJzZWxlY3ROb3RGb3VuZExhYmVsXCJcbiAgICAgIFtpbnB1dElkXT1cImdldElkKGluZGV4KVwiXG4gICAgICBbc2NoZW1hXT1cInNjaGVtYVwiXG4gICAgICBbKG1vZGVsKV09XCJ0aGlzLm1vZGVsW3NjaGVtYS5pZF1cIlxuICAgICAgW21vZGVsUHJvcGVydGllc1BhdGhdPVwiJ21hcHBpbmdBdHRyaWJ1dGVzLicgKyBzY2hlbWEuaWRcIlxuICAgICAgW2VkaXRpbmddPVwidGhpcy5lZGl0aW5nXCI+PC9pbnB1dC1yZW5kZXI+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -5,26 +5,24 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "../schema-form";
|
|
7
7
|
import * as i3 from "../../schema-custom-attributes/schema-custom-attributes";
|
|
8
|
-
import * as i4 from "@ngx-translate/core";
|
|
9
8
|
function SchemaObjectComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
10
9
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
11
10
|
i0.ɵɵelementStart(0, "div", 5);
|
|
12
11
|
i0.ɵɵelementStart(1, "div", 6);
|
|
13
12
|
i0.ɵɵelementStart(2, "label", 7);
|
|
14
13
|
i0.ɵɵtext(3);
|
|
15
|
-
i0.ɵɵpipe(4, "translate");
|
|
16
14
|
i0.ɵɵelementEnd();
|
|
17
|
-
i0.ɵɵelementStart(
|
|
18
|
-
i0.ɵɵlistener("modelChange", function
|
|
15
|
+
i0.ɵɵelementStart(4, "schema-custom-attributes", 8);
|
|
16
|
+
i0.ɵɵlistener("modelChange", function SchemaObjectComponent_div_0_div_4_Template_schema_custom_attributes_modelChange_4_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(2); return ctx_r2.model[ctx_r2.schema.id].customAttributes = $event; });
|
|
19
17
|
i0.ɵɵelementEnd();
|
|
20
18
|
i0.ɵɵelementEnd();
|
|
21
19
|
i0.ɵɵelementEnd();
|
|
22
20
|
} if (rf & 2) {
|
|
23
21
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
24
22
|
i0.ɵɵadvance(3);
|
|
25
|
-
i0.ɵɵtextInterpolate(
|
|
26
|
-
i0.ɵɵadvance(
|
|
27
|
-
i0.ɵɵproperty("model", ctx_r1.model[ctx_r1.schema.id].customAttributes)("onDropFunction", ctx_r1.onDrop);
|
|
23
|
+
i0.ɵɵtextInterpolate(ctx_r1.additionalAttributesLabel);
|
|
24
|
+
i0.ɵɵadvance(1);
|
|
25
|
+
i0.ɵɵproperty("customAttributeRemoveLabel", ctx_r1.customAttributeRemoveLabel)("newCustomFieldNameLabel", ctx_r1.newCustomFieldNameLabel)("newCustomFieldValueLabel", ctx_r1.newCustomFieldValueLabel)("newCustomFieldAddLabel", ctx_r1.newCustomFieldAddLabel)("newCustomFieldSaveLabel", ctx_r1.newCustomFieldSaveLabel)("newCustomFieldCancelLabel", ctx_r1.newCustomFieldCancelLabel)("model", ctx_r1.model[ctx_r1.schema.id].customAttributes)("onDropFunction", ctx_r1.onDrop);
|
|
28
26
|
} }
|
|
29
27
|
function SchemaObjectComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
28
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -35,20 +33,34 @@ function SchemaObjectComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
35
33
|
i0.ɵɵelementStart(3, "schema-form", 3);
|
|
36
34
|
i0.ɵɵlistener("modelChange", function SchemaObjectComponent_div_0_Template_schema_form_modelChange_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return (ctx_r4.model[ctx_r4.schema.id] = $event); });
|
|
37
35
|
i0.ɵɵelementEnd();
|
|
38
|
-
i0.ɵɵtemplate(4, SchemaObjectComponent_div_0_div_4_Template,
|
|
36
|
+
i0.ɵɵtemplate(4, SchemaObjectComponent_div_0_div_4_Template, 5, 9, "div", 4);
|
|
39
37
|
i0.ɵɵelementEnd();
|
|
40
38
|
} if (rf & 2) {
|
|
41
39
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
42
40
|
i0.ɵɵadvance(2);
|
|
43
41
|
i0.ɵɵtextInterpolate(ctx_r0.schema.title);
|
|
44
42
|
i0.ɵɵadvance(1);
|
|
45
|
-
i0.ɵɵproperty("idPrefix", ctx_r0.idPrefix)("model", ctx_r0.model[ctx_r0.schema.id])("schemas", ctx_r0.getSchemaProperties())("editing", ctx_r0.editing);
|
|
43
|
+
i0.ɵɵproperty("selectPlaceHolderLabel", ctx_r0.selectPlaceHolderLabel)("selectSearchPlaceHolderLabel", ctx_r0.selectSearchPlaceHolderLabel)("selectClearLabel", ctx_r0.selectClearLabel)("selectNotFoundLabel", ctx_r0.selectNotFoundLabel)("requiredLabel", ctx_r0.requiredLabel)("addItemLabel", ctx_r0.addItemLabel)("addLoopLabel", ctx_r0.addLoopLabel)("additionalAttributesLabel", ctx_r0.additionalAttributesLabel)("customAttributeRemoveLabel", ctx_r0.customAttributeRemoveLabel)("newCustomFieldNameLabel", ctx_r0.newCustomFieldNameLabel)("newCustomFieldValueLabel", ctx_r0.newCustomFieldValueLabel)("newCustomFieldAddLabel", ctx_r0.newCustomFieldAddLabel)("newCustomFieldSaveLabel", ctx_r0.newCustomFieldSaveLabel)("newCustomFieldCancelLabel", ctx_r0.newCustomFieldCancelLabel)("idPrefix", ctx_r0.idPrefix)("model", ctx_r0.model[ctx_r0.schema.id])("schemas", ctx_r0.getSchemaProperties())("editing", ctx_r0.editing);
|
|
46
44
|
i0.ɵɵadvance(1);
|
|
47
45
|
i0.ɵɵproperty("ngIf", ctx_r0.model[ctx_r0.schema.id] && ctx_r0.schema.customProperties);
|
|
48
46
|
} }
|
|
49
47
|
export class SchemaObjectComponent extends BaseSchemaComponent {
|
|
50
48
|
constructor() {
|
|
51
49
|
super(...arguments);
|
|
50
|
+
this.requiredLabel = '(required)';
|
|
51
|
+
this.addItemLabel = 'Add Item';
|
|
52
|
+
this.addLoopLabel = 'Add Loop';
|
|
53
|
+
this.additionalAttributesLabel = 'Additional Fields';
|
|
54
|
+
this.customAttributeRemoveLabel = 'Remove';
|
|
55
|
+
this.newCustomFieldNameLabel = 'Name';
|
|
56
|
+
this.newCustomFieldValueLabel = 'Value';
|
|
57
|
+
this.newCustomFieldAddLabel = 'Add';
|
|
58
|
+
this.newCustomFieldSaveLabel = 'Save';
|
|
59
|
+
this.newCustomFieldCancelLabel = 'Cancel';
|
|
60
|
+
this.selectPlaceHolderLabel = 'Select Item';
|
|
61
|
+
this.selectSearchPlaceHolderLabel = 'Search';
|
|
62
|
+
this.selectClearLabel = 'Clear';
|
|
63
|
+
this.selectNotFoundLabel = 'No Items Found';
|
|
52
64
|
this.editing = false;
|
|
53
65
|
this.onDropEvent = new EventEmitter();
|
|
54
66
|
this.loaded = false;
|
|
@@ -65,11 +77,11 @@ export class SchemaObjectComponent extends BaseSchemaComponent {
|
|
|
65
77
|
}
|
|
66
78
|
}
|
|
67
79
|
SchemaObjectComponent.ɵfac = function SchemaObjectComponent_Factory(t) { return ɵSchemaObjectComponent_BaseFactory(t || SchemaObjectComponent); };
|
|
68
|
-
SchemaObjectComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaObjectComponent, selectors: [["schema-object"]], inputs: { idPrefix: "idPrefix", modelPropertiesPath: "modelPropertiesPath", inputId: "inputId", editing: "editing", index: "index" }, outputs: { onDropEvent: "onDropEvent" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "schema-object-container", 4, "ngIf"], [1, "schema-object-container"], [1, "schema-object-title"], [3, "idPrefix", "model", "schemas", "editing", "modelChange"], ["class", "row struct-custom-properties", 4, "ngIf"], [1, "row", "struct-custom-properties"], [1, "col-md-12"], [1, "info-label", "bold"], [3, "model", "onDropFunction", "modelChange"]], template: function SchemaObjectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
i0.ɵɵtemplate(0, SchemaObjectComponent_div_0_Template, 5,
|
|
80
|
+
SchemaObjectComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaObjectComponent, selectors: [["schema-object"]], inputs: { requiredLabel: "requiredLabel", addItemLabel: "addItemLabel", addLoopLabel: "addLoopLabel", additionalAttributesLabel: "additionalAttributesLabel", customAttributeRemoveLabel: "customAttributeRemoveLabel", newCustomFieldNameLabel: "newCustomFieldNameLabel", newCustomFieldValueLabel: "newCustomFieldValueLabel", newCustomFieldAddLabel: "newCustomFieldAddLabel", newCustomFieldSaveLabel: "newCustomFieldSaveLabel", newCustomFieldCancelLabel: "newCustomFieldCancelLabel", selectPlaceHolderLabel: "selectPlaceHolderLabel", selectSearchPlaceHolderLabel: "selectSearchPlaceHolderLabel", selectClearLabel: "selectClearLabel", selectNotFoundLabel: "selectNotFoundLabel", idPrefix: "idPrefix", modelPropertiesPath: "modelPropertiesPath", inputId: "inputId", editing: "editing", index: "index" }, outputs: { onDropEvent: "onDropEvent" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "schema-object-container", 4, "ngIf"], [1, "schema-object-container"], [1, "schema-object-title"], [3, "selectPlaceHolderLabel", "selectSearchPlaceHolderLabel", "selectClearLabel", "selectNotFoundLabel", "requiredLabel", "addItemLabel", "addLoopLabel", "additionalAttributesLabel", "customAttributeRemoveLabel", "newCustomFieldNameLabel", "newCustomFieldValueLabel", "newCustomFieldAddLabel", "newCustomFieldSaveLabel", "newCustomFieldCancelLabel", "idPrefix", "model", "schemas", "editing", "modelChange"], ["class", "row struct-custom-properties", 4, "ngIf"], [1, "row", "struct-custom-properties"], [1, "col-md-12"], [1, "info-label", "bold"], [3, "customAttributeRemoveLabel", "newCustomFieldNameLabel", "newCustomFieldValueLabel", "newCustomFieldAddLabel", "newCustomFieldSaveLabel", "newCustomFieldCancelLabel", "model", "onDropFunction", "modelChange"]], template: function SchemaObjectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
+
i0.ɵɵtemplate(0, SchemaObjectComponent_div_0_Template, 5, 20, "div", 0);
|
|
70
82
|
} if (rf & 2) {
|
|
71
83
|
i0.ɵɵproperty("ngIf", ctx.loaded && ctx.canRender(ctx.schema) && ctx.schema.type == "object");
|
|
72
|
-
} }, directives: [i1.NgIf, i2.SchemaFormComponent, i3.SchemaCustomAttributesComponent],
|
|
84
|
+
} }, directives: [i1.NgIf, i2.SchemaFormComponent, i3.SchemaCustomAttributesComponent], styles: [".schema-object-container[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:5px;margin-bottom:10px;margin-top:10px;padding:10px}.schema-object-container[_ngcontent-%COMP%] .schema-object-title[_ngcontent-%COMP%]{background:#eee;border-bottom:1px solid #ddd;font-weight:700;margin-left:-10px;margin-top:-10px;padding:10px;width:calc(100% + 20px)}"] });
|
|
73
85
|
const ɵSchemaObjectComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SchemaObjectComponent);
|
|
74
86
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(SchemaObjectComponent, [{
|
|
75
87
|
type: Component,
|
|
@@ -78,7 +90,35 @@ const ɵSchemaObjectComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFac
|
|
|
78
90
|
templateUrl: 'schema-object.html',
|
|
79
91
|
styleUrls: ['./schema-object.scss']
|
|
80
92
|
}]
|
|
81
|
-
}], null, {
|
|
93
|
+
}], null, { requiredLabel: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], addItemLabel: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], addLoopLabel: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], additionalAttributesLabel: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], customAttributeRemoveLabel: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], newCustomFieldNameLabel: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], newCustomFieldValueLabel: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], newCustomFieldAddLabel: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], newCustomFieldSaveLabel: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], newCustomFieldCancelLabel: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], selectPlaceHolderLabel: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], selectSearchPlaceHolderLabel: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], selectClearLabel: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], selectNotFoundLabel: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], idPrefix: [{
|
|
82
122
|
type: Input
|
|
83
123
|
}], modelPropertiesPath: [{
|
|
84
124
|
type: Input
|
|
@@ -91,4 +131,4 @@ const ɵSchemaObjectComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFac
|
|
|
91
131
|
}], onDropEvent: [{
|
|
92
132
|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pdj5cblxuPC9kaXY+XG4iXX0=
|
|
@@ -5,30 +5,28 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "./schema-form/schema-form";
|
|
7
7
|
import * as i3 from "./schema-custom-attributes/schema-custom-attributes";
|
|
8
|
-
import * as i4 from "@ngx-translate/core";
|
|
9
8
|
function SchemaFormRenderComponent_div_0_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10
9
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
11
10
|
i0.ɵɵelementStart(0, "div", 6);
|
|
12
11
|
i0.ɵɵelementStart(1, "div", 7);
|
|
13
12
|
i0.ɵɵelementStart(2, "label", 8);
|
|
14
13
|
i0.ɵɵtext(3);
|
|
15
|
-
i0.ɵɵpipe(4, "translate");
|
|
16
14
|
i0.ɵɵelementEnd();
|
|
17
|
-
i0.ɵɵelementStart(
|
|
18
|
-
i0.ɵɵlistener("modelChange", function
|
|
15
|
+
i0.ɵɵelementStart(4, "schema-custom-attributes", 9);
|
|
16
|
+
i0.ɵɵlistener("modelChange", function SchemaFormRenderComponent_div_0_div_2_div_1_Template_schema_custom_attributes_modelChange_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(3); return ctx_r5.model.customAttributes = $event; });
|
|
19
17
|
i0.ɵɵelementEnd();
|
|
20
18
|
i0.ɵɵelementEnd();
|
|
21
19
|
i0.ɵɵelementEnd();
|
|
22
20
|
} if (rf & 2) {
|
|
23
21
|
const ctx_r4 = i0.ɵɵnextContext(3);
|
|
24
22
|
i0.ɵɵadvance(3);
|
|
25
|
-
i0.ɵɵtextInterpolate(
|
|
26
|
-
i0.ɵɵadvance(
|
|
27
|
-
i0.ɵɵproperty("model", ctx_r4.model.customAttributes)("onDropFunction", ctx_r4.onDrop);
|
|
23
|
+
i0.ɵɵtextInterpolate(ctx_r4.additionalAttributesLabel);
|
|
24
|
+
i0.ɵɵadvance(1);
|
|
25
|
+
i0.ɵɵproperty("customAttributeRemoveLabel", ctx_r4.customAttributeRemoveLabel)("newCustomFieldNameLabel", ctx_r4.newCustomFieldNameLabel)("newCustomFieldValueLabel", ctx_r4.newCustomFieldValueLabel)("newCustomFieldAddLabel", ctx_r4.newCustomFieldAddLabel)("newCustomFieldSaveLabel", ctx_r4.newCustomFieldSaveLabel)("newCustomFieldCancelLabel", ctx_r4.newCustomFieldCancelLabel)("model", ctx_r4.model.customAttributes)("onDropFunction", ctx_r4.onDrop);
|
|
28
26
|
} }
|
|
29
27
|
function SchemaFormRenderComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
30
28
|
i0.ɵɵelementStart(0, "div", 4);
|
|
31
|
-
i0.ɵɵtemplate(1, SchemaFormRenderComponent_div_0_div_2_div_1_Template,
|
|
29
|
+
i0.ɵɵtemplate(1, SchemaFormRenderComponent_div_0_div_2_div_1_Template, 5, 9, "div", 5);
|
|
32
30
|
i0.ɵɵelementEnd();
|
|
33
31
|
} if (rf & 2) {
|
|
34
32
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -46,13 +44,27 @@ function SchemaFormRenderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
46
44
|
} if (rf & 2) {
|
|
47
45
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
48
46
|
i0.ɵɵadvance(1);
|
|
49
|
-
i0.ɵɵproperty("idPrefix", ctx_r0.idPrefix)("model", ctx_r0.model)("schemas", ctx_r0.schemas)("editing", ctx_r0.editing);
|
|
47
|
+
i0.ɵɵproperty("selectPlaceHolderLabel", ctx_r0.selectPlaceHolderLabel)("selectSearchPlaceHolderLabel", ctx_r0.selectSearchPlaceHolderLabel)("selectClearLabel", ctx_r0.selectClearLabel)("selectNotFoundLabel", ctx_r0.selectNotFoundLabel)("requiredLabel", ctx_r0.requiredLabel)("addItemLabel", ctx_r0.addItemLabel)("addLoopLabel", ctx_r0.addLoopLabel)("additionalAttributesLabel", ctx_r0.additionalAttributesLabel)("customAttributeRemoveLabel", ctx_r0.customAttributeRemoveLabel)("newCustomFieldNameLabel", ctx_r0.newCustomFieldNameLabel)("newCustomFieldValueLabel", ctx_r0.newCustomFieldValueLabel)("newCustomFieldAddLabel", ctx_r0.newCustomFieldAddLabel)("newCustomFieldSaveLabel", ctx_r0.newCustomFieldSaveLabel)("newCustomFieldCancelLabel", ctx_r0.newCustomFieldCancelLabel)("idPrefix", ctx_r0.idPrefix)("model", ctx_r0.model)("schemas", ctx_r0.schemas)("editing", ctx_r0.editing);
|
|
50
48
|
i0.ɵɵadvance(1);
|
|
51
49
|
i0.ɵɵproperty("ngForOf", ctx_r0.schemas);
|
|
52
50
|
} }
|
|
53
51
|
export class SchemaFormRenderComponent extends BaseSchemaComponent {
|
|
54
52
|
constructor() {
|
|
55
53
|
super(...arguments);
|
|
54
|
+
this.requiredLabel = '(required)';
|
|
55
|
+
this.addItemLabel = 'Add Item';
|
|
56
|
+
this.addLoopLabel = 'Add Loop';
|
|
57
|
+
this.additionalAttributesLabel = 'Additional Fields';
|
|
58
|
+
this.customAttributeRemoveLabel = 'Remove';
|
|
59
|
+
this.newCustomFieldNameLabel = 'Name';
|
|
60
|
+
this.newCustomFieldValueLabel = 'Value';
|
|
61
|
+
this.newCustomFieldAddLabel = 'Add';
|
|
62
|
+
this.newCustomFieldSaveLabel = 'Save';
|
|
63
|
+
this.newCustomFieldCancelLabel = 'Cancel';
|
|
64
|
+
this.selectPlaceHolderLabel = 'Select Item';
|
|
65
|
+
this.selectSearchPlaceHolderLabel = 'Search';
|
|
66
|
+
this.selectClearLabel = 'Clear';
|
|
67
|
+
this.selectNotFoundLabel = 'No Items Found';
|
|
56
68
|
this.schemas = [];
|
|
57
69
|
this.customProperties = false;
|
|
58
70
|
this.editing = false;
|
|
@@ -69,11 +81,11 @@ export class SchemaFormRenderComponent extends BaseSchemaComponent {
|
|
|
69
81
|
}
|
|
70
82
|
}
|
|
71
83
|
SchemaFormRenderComponent.ɵfac = function SchemaFormRenderComponent_Factory(t) { return ɵSchemaFormRenderComponent_BaseFactory(t || SchemaFormRenderComponent); };
|
|
72
|
-
SchemaFormRenderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormRenderComponent, selectors: [["schema-form-render"]], inputs: { idPrefix: "idPrefix", schemas: "schemas", customProperties: "customProperties", editing: "editing", inputType: "inputType" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "schema", 4, "ngIf"], [1, "schema"], [3, "idPrefix", "model", "schemas", "editing", "modelChange"], ["class", "schema-properties", 4, "ngFor", "ngForOf"], [1, "schema-properties"], ["class", "row struct-custom-properties", 4, "ngIf"], [1, "row", "struct-custom-properties"], [1, "col-md-12"], [1, "info-label", "bold"], [3, "model", "onDropFunction", "modelChange"]], template: function SchemaFormRenderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
-
i0.ɵɵtemplate(0, SchemaFormRenderComponent_div_0_Template, 3,
|
|
84
|
+
SchemaFormRenderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaFormRenderComponent, selectors: [["schema-form-render"]], inputs: { requiredLabel: "requiredLabel", addItemLabel: "addItemLabel", addLoopLabel: "addLoopLabel", additionalAttributesLabel: "additionalAttributesLabel", customAttributeRemoveLabel: "customAttributeRemoveLabel", newCustomFieldNameLabel: "newCustomFieldNameLabel", newCustomFieldValueLabel: "newCustomFieldValueLabel", newCustomFieldAddLabel: "newCustomFieldAddLabel", newCustomFieldSaveLabel: "newCustomFieldSaveLabel", newCustomFieldCancelLabel: "newCustomFieldCancelLabel", selectPlaceHolderLabel: "selectPlaceHolderLabel", selectSearchPlaceHolderLabel: "selectSearchPlaceHolderLabel", selectClearLabel: "selectClearLabel", selectNotFoundLabel: "selectNotFoundLabel", idPrefix: "idPrefix", schemas: "schemas", customProperties: "customProperties", editing: "editing", inputType: "inputType" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "schema", 4, "ngIf"], [1, "schema"], [3, "selectPlaceHolderLabel", "selectSearchPlaceHolderLabel", "selectClearLabel", "selectNotFoundLabel", "requiredLabel", "addItemLabel", "addLoopLabel", "additionalAttributesLabel", "customAttributeRemoveLabel", "newCustomFieldNameLabel", "newCustomFieldValueLabel", "newCustomFieldAddLabel", "newCustomFieldSaveLabel", "newCustomFieldCancelLabel", "idPrefix", "model", "schemas", "editing", "modelChange"], ["class", "schema-properties", 4, "ngFor", "ngForOf"], [1, "schema-properties"], ["class", "row struct-custom-properties", 4, "ngIf"], [1, "row", "struct-custom-properties"], [1, "col-md-12"], [1, "info-label", "bold"], [3, "customAttributeRemoveLabel", "newCustomFieldNameLabel", "newCustomFieldValueLabel", "newCustomFieldAddLabel", "newCustomFieldSaveLabel", "newCustomFieldCancelLabel", "model", "onDropFunction", "modelChange"]], template: function SchemaFormRenderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
+
i0.ɵɵtemplate(0, SchemaFormRenderComponent_div_0_Template, 3, 19, "div", 0);
|
|
74
86
|
} if (rf & 2) {
|
|
75
87
|
i0.ɵɵproperty("ngIf", ctx.loaded);
|
|
76
|
-
} }, directives: [i1.NgIf, i2.SchemaFormComponent, i1.NgForOf, i3.SchemaCustomAttributesComponent],
|
|
88
|
+
} }, directives: [i1.NgIf, i2.SchemaFormComponent, i1.NgForOf, i3.SchemaCustomAttributesComponent], styles: [".schema[_ngcontent-%COMP%] .info-label{display:block}.schema[_ngcontent-%COMP%] input.form-control{background:#fff;border:1px solid #ddd;border-radius:3px;padding:11px;width:100%}.schema[_ngcontent-%COMP%] select.form-control{border:1px solid #ddd;border-radius:4px;color:#777;cursor:pointer;padding:11px;width:100%}.schema[_ngcontent-%COMP%] .ng-select-container{height:38px!important;min-height:38px!important}.schema[_ngcontent-%COMP%] .btn-outline-primary{background:var(--color-primary);border:1px solid var(--color-secondary);border-radius:4px;color:var(--color-secondary);cursor:pointer;padding:5px 15px}.schema[_ngcontent-%COMP%] .btn-outline-primary:hover{background:var(--color-primary-hover)}.schema[_ngcontent-%COMP%] .subsection-item-title, .schema[_ngcontent-%COMP%] array-session .subsection-element{color:var(--color-primary)}"] });
|
|
77
89
|
const ɵSchemaFormRenderComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SchemaFormRenderComponent);
|
|
78
90
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(SchemaFormRenderComponent, [{
|
|
79
91
|
type: Component,
|
|
@@ -82,7 +94,35 @@ const ɵSchemaFormRenderComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherite
|
|
|
82
94
|
templateUrl: 'schema-form-render.html',
|
|
83
95
|
styleUrls: ['./schema-form-render.scss']
|
|
84
96
|
}]
|
|
85
|
-
}], null, {
|
|
97
|
+
}], null, { requiredLabel: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], addItemLabel: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], addLoopLabel: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], additionalAttributesLabel: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], customAttributeRemoveLabel: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], newCustomFieldNameLabel: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], newCustomFieldValueLabel: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], newCustomFieldAddLabel: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], newCustomFieldSaveLabel: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], newCustomFieldCancelLabel: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], selectPlaceHolderLabel: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], selectSearchPlaceHolderLabel: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], selectClearLabel: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], selectNotFoundLabel: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], idPrefix: [{
|
|
86
126
|
type: Input
|
|
87
127
|
}], schemas: [{
|
|
88
128
|
type: Input
|
|
@@ -93,4 +133,4 @@ const ɵSchemaFormRenderComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherite
|
|
|
93
133
|
}], inputType: [{
|
|
94
134
|
type: Input
|
|
95
135
|
}] }); })();
|
|
96
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
136
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWZvcm0tcmVuZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWZvcm0tcmVuZGVyLnRzIiwiLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWZvcm0tcmVuZGVyLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFtQixTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRTVELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQzs7Ozs7OztJQ21CeEMsOEJBQ0U7SUFBQSw4QkFDRTtJQUFBLGdDQUErQjtJQUFBLFlBQW9DO0lBQUEsaUJBQVE7SUFDM0UsbURBUzJCO0lBRnpCLGlRQUFrQztJQUVwQyxpQkFBMkI7SUFDN0IsaUJBQU07SUFDUixpQkFBTTs7O0lBWjZCLGVBQW9DO0lBQXBDLHNEQUFvQztJQUVqRSxlQUF5RDtJQUF6RCw4RUFBeUQsMkRBQUEsNkRBQUEseURBQUEsMkRBQUEsK0RBQUEsd0NBQUEsaUNBQUE7OztJQUxqRSw4QkFDRTtJQUFBLHNGQUNFO0lBY0osaUJBQU07OztJQWZzQyxlQUFzQztJQUF0Qyw4REFBc0M7Ozs7SUF0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