@apipass/schemas 0.2.1-alpha.4 → 0.2.1-test.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apipass-schemas.d.ts +5 -5
- package/assets/css/buttons.scss +112 -112
- package/assets/css/colors.scss +34 -34
- package/assets/css/fonts.scss +24 -24
- package/assets/css/inputs.scss +197 -197
- package/assets/css/pt_sans.scss +143 -143
- package/assets/css/spacing.scss +28 -28
- package/assets/css/texts.scss +18 -18
- package/base-schema.component.d.ts +11 -11
- package/bundles/apipass-schemas.umd.js +1969 -1921
- package/bundles/apipass-schemas.umd.js.map +1 -1
- package/bundles/apipass-schemas.umd.min.js +1 -1
- package/bundles/apipass-schemas.umd.min.js.map +1 -1
- package/esm2015/apipass-schemas.js +4 -4
- package/esm2015/base-schema.component.js +32 -30
- package/esm2015/public-api.js +17 -17
- package/esm2015/schema-custom-attributes/schema-custom-attributes.js +177 -177
- package/esm2015/schema-fields.service.js +77 -77
- package/esm2015/schema-form/schema-array/array-session/array-session.js +158 -158
- package/esm2015/schema-form/schema-array/schema-array.js +196 -195
- package/esm2015/schema-form/schema-form.js +104 -72
- package/esm2015/schema-form/schema-input/field-render/field-render.js +72 -72
- package/esm2015/schema-form/schema-input/input-render/boolean-input/boolean-input.component.js +45 -45
- package/esm2015/schema-form/schema-input/input-render/input-render.js +124 -124
- package/esm2015/schema-form/schema-input/input-render/number-input/number-input.component.js +43 -43
- package/esm2015/schema-form/schema-input/schema-input.js +100 -98
- package/esm2015/schema-form/schema-object/schema-object.js +95 -94
- package/esm2015/schema-form-render.js +97 -96
- package/esm2015/schema-form-render.module.js +121 -121
- package/esm2015/schema-validation-field.js +15 -15
- package/esm2015/struct.utils.js +9 -9
- package/esm2015/type-script-compile.js +77 -77
- package/fesm2015/apipass-schemas.js +1398 -1359
- package/fesm2015/apipass-schemas.js.map +1 -1
- package/package.json +1 -2
- package/public-api.d.ts +16 -16
- package/schema-custom-attributes/schema-custom-attributes.d.ts +15 -15
- package/schema-fields.service.d.ts +12 -12
- package/schema-form/schema-array/array-session/array-session.d.ts +17 -17
- package/schema-form/schema-array/schema-array.d.ts +18 -18
- package/schema-form/schema-form.d.ts +17 -17
- package/schema-form/schema-input/field-render/field-render.d.ts +15 -15
- package/schema-form/schema-input/input-render/boolean-input/boolean-input.component.d.ts +13 -13
- package/schema-form/schema-input/input-render/input-render.d.ts +19 -19
- package/schema-form/schema-input/input-render/number-input/number-input.component.d.ts +13 -13
- package/schema-form/schema-input/schema-input.d.ts +14 -14
- package/schema-form/schema-object/schema-object.d.ts +20 -20
- package/schema-form-render.d.ts +17 -17
- package/schema-form-render.module.d.ts +22 -22
- package/schema-validation-field.d.ts +17 -17
- package/struct.utils.d.ts +1 -1
- package/type-script-compile.d.ts +10 -10
package/esm2015/public-api.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export * from './schema-form-render.module';
|
|
2
|
-
export * from './schema-validation-field';
|
|
3
|
-
export * from './type-script-compile';
|
|
4
|
-
export * from './schema-form-render';
|
|
5
|
-
export * from './schema-fields.service';
|
|
6
|
-
export * from './base-schema.component';
|
|
7
|
-
export * from './schema-custom-attributes/schema-custom-attributes';
|
|
8
|
-
export * from './schema-form/schema-form';
|
|
9
|
-
export * from './schema-form/schema-array/schema-array';
|
|
10
|
-
export * from './schema-form/schema-array/array-session/array-session';
|
|
11
|
-
export * from './schema-form/schema-input/schema-input';
|
|
12
|
-
export * from './schema-form/schema-input/field-render/field-render';
|
|
13
|
-
export * from './schema-form/schema-input/input-render/input-render';
|
|
14
|
-
export * from './schema-form/schema-input/input-render/boolean-input/boolean-input.component';
|
|
15
|
-
export * from './schema-form/schema-input/input-render/number-input/number-input.component';
|
|
16
|
-
export * from './schema-form/schema-object/schema-object';
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './schema-form-render.module';
|
|
2
|
+
export * from './schema-validation-field';
|
|
3
|
+
export * from './type-script-compile';
|
|
4
|
+
export * from './schema-form-render';
|
|
5
|
+
export * from './schema-fields.service';
|
|
6
|
+
export * from './base-schema.component';
|
|
7
|
+
export * from './schema-custom-attributes/schema-custom-attributes';
|
|
8
|
+
export * from './schema-form/schema-form';
|
|
9
|
+
export * from './schema-form/schema-array/schema-array';
|
|
10
|
+
export * from './schema-form/schema-array/array-session/array-session';
|
|
11
|
+
export * from './schema-form/schema-input/schema-input';
|
|
12
|
+
export * from './schema-form/schema-input/field-render/field-render';
|
|
13
|
+
export * from './schema-form/schema-input/input-render/input-render';
|
|
14
|
+
export * from './schema-form/schema-input/input-render/boolean-input/boolean-input.component';
|
|
15
|
+
export * from './schema-form/schema-input/input-render/number-input/number-input.component';
|
|
16
|
+
export * from './schema-form/schema-object/schema-object';
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3NjaGVtYXMvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxxREFBcUQsQ0FBQztBQUNwRSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyx3REFBd0QsQ0FBQztBQUN2RSxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsc0RBQXNELENBQUM7QUFDckUsY0FBYyxzREFBc0QsQ0FBQztBQUNyRSxjQUFjLCtFQUErRSxDQUFDO0FBQzlGLGNBQWMsN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mb3JtL3NjaGVtYS1pbnB1dC9pbnB1dC1yZW5kZXIvYm9vbGVhbi1pbnB1dC9ib29sZWFuLWlucHV0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2NoZW1hLWZvcm0vc2NoZW1hLWlucHV0L2lucHV0LXJlbmRlci9udW1iZXItaW5wdXQvbnVtYmVyLWlucHV0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2NoZW1hLWZvcm0vc2NoZW1hLW9iamVjdC9zY2hlbWEtb2JqZWN0JztcclxuIl19
|
|
@@ -1,177 +1,177 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { BaseSchemaComponent } from '../base-schema.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/material/tooltip";
|
|
6
|
-
import * as i3 from "@angular/forms";
|
|
7
|
-
import * as i4 from "ngx-drag-drop";
|
|
8
|
-
import * as i5 from "@ngx-translate/core";
|
|
9
|
-
const _c0 = function () { return { standalone: true }; };
|
|
10
|
-
function SchemaCustomAttributesComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
12
|
-
i0.ɵɵelementStart(0, "div", 6);
|
|
13
|
-
i0.ɵɵelementStart(1, "div", 7);
|
|
14
|
-
i0.ɵɵelementStart(2, "label", 8);
|
|
15
|
-
i0.ɵɵtext(3);
|
|
16
|
-
i0.ɵɵelementEnd();
|
|
17
|
-
i0.ɵɵelementStart(4, "span", 9);
|
|
18
|
-
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_div_0_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r8); const i_r6 = ctx.index; const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.removeCustomAttribute(i_r6); });
|
|
19
|
-
i0.ɵɵelement(5, "i", 10);
|
|
20
|
-
i0.ɵɵpipe(6, "translate");
|
|
21
|
-
i0.ɵɵelementEnd();
|
|
22
|
-
i0.ɵɵelementStart(7, "input", 11);
|
|
23
|
-
i0.ɵɵlistener("ngModelChange", function SchemaCustomAttributesComponent_div_0_Template_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r8); const attribute_r5 = ctx.$implicit; return attribute_r5.value = $event; })("dndDrop", function SchemaCustomAttributesComponent_div_0_Template_input_dndDrop_7_listener($event) { i0.ɵɵrestoreView(_r8); const attribute_r5 = ctx.$implicit; const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.onDrop($event, attribute_r5); });
|
|
24
|
-
i0.ɵɵelementEnd();
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
i0.ɵɵelementEnd();
|
|
27
|
-
} if (rf & 2) {
|
|
28
|
-
const attribute_r5 = ctx.$implicit;
|
|
29
|
-
i0.ɵɵadvance(3);
|
|
30
|
-
i0.ɵɵtextInterpolate(attribute_r5.label);
|
|
31
|
-
i0.ɵɵadvance(2);
|
|
32
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(6, 4, "REMOVE"));
|
|
33
|
-
i0.ɵɵadvance(2);
|
|
34
|
-
i0.ɵɵproperty("ngModel", attribute_r5.value)("ngModelOptions", i0.ɵɵpureFunction0(6, _c0));
|
|
35
|
-
} }
|
|
36
|
-
function SchemaCustomAttributesComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
38
|
-
i0.ɵɵelementStart(0, "div", 12);
|
|
39
|
-
i0.ɵɵelementStart(1, "div", 13);
|
|
40
|
-
i0.ɵɵelementStart(2, "div", 7);
|
|
41
|
-
i0.ɵɵelementStart(3, "label", 8);
|
|
42
|
-
i0.ɵɵtext(4);
|
|
43
|
-
i0.ɵɵpipe(5, "translate");
|
|
44
|
-
i0.ɵɵelementStart(6, "strong");
|
|
45
|
-
i0.ɵɵtext(7, "*");
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
47
|
-
i0.ɵɵelementEnd();
|
|
48
|
-
i0.ɵɵelementStart(8, "input", 14);
|
|
49
|
-
i0.ɵɵlistener("ngModelChange", function SchemaCustomAttributesComponent_div_1_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.newCustomField.label = $event; });
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵelementEnd();
|
|
53
|
-
i0.ɵɵelementStart(9, "div", 13);
|
|
54
|
-
i0.ɵɵelementStart(10, "div", 7);
|
|
55
|
-
i0.ɵɵelementStart(11, "label", 8);
|
|
56
|
-
i0.ɵɵtext(12);
|
|
57
|
-
i0.ɵɵpipe(13, "translate");
|
|
58
|
-
i0.ɵɵelementStart(14, "strong");
|
|
59
|
-
i0.ɵɵtext(15, "*");
|
|
60
|
-
i0.ɵɵelementEnd();
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementStart(16, "input", 11);
|
|
63
|
-
i0.ɵɵlistener("ngModelChange", function SchemaCustomAttributesComponent_div_1_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.newCustomField.value = $event; })("dndDrop", function SchemaCustomAttributesComponent_div_1_Template_input_dndDrop_16_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.onDrop($event, ctx_r14.newCustomField); });
|
|
64
|
-
i0.ɵɵelementEnd();
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementEnd();
|
|
67
|
-
i0.ɵɵelementEnd();
|
|
68
|
-
} if (rf & 2) {
|
|
69
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
70
|
-
i0.ɵɵadvance(4);
|
|
71
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, "STEP.NAME"));
|
|
72
|
-
i0.ɵɵadvance(4);
|
|
73
|
-
i0.ɵɵproperty("ngModel", ctx_r1.newCustomField.label)("ngModelOptions", i0.ɵɵpureFunction0(10, _c0));
|
|
74
|
-
i0.ɵɵadvance(4);
|
|
75
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 8, "STEP.VALUE"));
|
|
76
|
-
i0.ɵɵadvance(4);
|
|
77
|
-
i0.ɵɵproperty("ngModel", ctx_r1.newCustomField.value)("ngModelOptions", i0.ɵɵpureFunction0(11, _c0));
|
|
78
|
-
} }
|
|
79
|
-
function SchemaCustomAttributesComponent_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
-
const _r16 = i0.ɵɵgetCurrentView();
|
|
81
|
-
i0.ɵɵelementStart(0, "button", 15);
|
|
82
|
-
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.newCustomField = {}; });
|
|
83
|
-
i0.ɵɵtext(1);
|
|
84
|
-
i0.ɵɵpipe(2, "translate");
|
|
85
|
-
i0.ɵɵelementEnd();
|
|
86
|
-
} if (rf & 2) {
|
|
87
|
-
i0.ɵɵadvance(1);
|
|
88
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "ADD"), " ");
|
|
89
|
-
} }
|
|
90
|
-
function SchemaCustomAttributesComponent_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
-
const _r18 = i0.ɵɵgetCurrentView();
|
|
92
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
93
|
-
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.newCustomField = null; });
|
|
94
|
-
i0.ɵɵtext(1);
|
|
95
|
-
i0.ɵɵpipe(2, "translate");
|
|
96
|
-
i0.ɵɵelementEnd();
|
|
97
|
-
} if (rf & 2) {
|
|
98
|
-
i0.ɵɵadvance(1);
|
|
99
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "CANCEL"), " ");
|
|
100
|
-
} }
|
|
101
|
-
function SchemaCustomAttributesComponent_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
-
const _r20 = i0.ɵɵgetCurrentView();
|
|
103
|
-
i0.ɵɵelementStart(0, "button", 15);
|
|
104
|
-
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.saveNewAttribute(ctx_r19.newCustomField); });
|
|
105
|
-
i0.ɵɵtext(1);
|
|
106
|
-
i0.ɵɵpipe(2, "translate");
|
|
107
|
-
i0.ɵɵelementEnd();
|
|
108
|
-
} if (rf & 2) {
|
|
109
|
-
i0.ɵɵadvance(1);
|
|
110
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "SAVE"), " ");
|
|
111
|
-
} }
|
|
112
|
-
export class SchemaCustomAttributesComponent extends BaseSchemaComponent {
|
|
113
|
-
constructor() {
|
|
114
|
-
super(...arguments);
|
|
115
|
-
this.onSaveAttribute = new EventEmitter();
|
|
116
|
-
this.onDropOnAttribute = new EventEmitter();
|
|
117
|
-
}
|
|
118
|
-
ngAfterContentInit() {
|
|
119
|
-
if (!this.model) {
|
|
120
|
-
this.model = [];
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
saveNewAttribute(newCustomField) {
|
|
124
|
-
this.onSaveAttribute.emit(newCustomField);
|
|
125
|
-
this.model.push(newCustomField);
|
|
126
|
-
this.newCustomField = null;
|
|
127
|
-
this.modelChange.emit(this.model);
|
|
128
|
-
}
|
|
129
|
-
removeCustomAttribute(attributeIndex) {
|
|
130
|
-
this.model.splice(attributeIndex, 1);
|
|
131
|
-
this.modelChange.emit(this.model);
|
|
132
|
-
}
|
|
133
|
-
onDrop($event, attribute) {
|
|
134
|
-
if (!attribute.value) {
|
|
135
|
-
attribute.value = '';
|
|
136
|
-
}
|
|
137
|
-
attribute.value += `{{${$event.data}}}`;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
SchemaCustomAttributesComponent.ɵfac = function SchemaCustomAttributesComponent_Factory(t) { return ɵSchemaCustomAttributesComponent_BaseFactory(t || SchemaCustomAttributesComponent); };
|
|
141
|
-
SchemaCustomAttributesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaCustomAttributesComponent, selectors: [["schema-custom-attributes"]], inputs: { onDropFunction: "onDropFunction" }, outputs: { onSaveAttribute: "onSaveAttribute", onDropOnAttribute: "onDropOnAttribute" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 5, consts: [["class", "row custom-attributes", 4, "ngFor", "ngForOf"], ["class", "struct-custom-field", 4, "ngIf"], [1, "row", "actions-buttons"], [1, "col-md-12", "pull-right"], ["class", "btn btn-outline-primary float-left", 3, "click", 4, "ngIf"], ["class", "btn btn-outline-danger float-left ml-2", 3, "click", 4, "ngIf"], [1, "row", "custom-attributes"], [1, "col-md-12"], [1, "info-label"], [1, "customAttributeDeleteIcon", 3, "click"], [1, "far", "fa-trash-alt", 3, "matTooltip"], ["dndDropzone", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange", "dndDrop"], [1, "struct-custom-field"], [1, "row"], [1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "btn", "btn-outline-primary", "float-left", 3, "click"], [1, "btn", "btn-outline-danger", "float-left", "ml-2", 3, "click"]], template: function SchemaCustomAttributesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
-
i0.ɵɵtemplate(0, SchemaCustomAttributesComponent_div_0_Template, 8, 7, "div", 0);
|
|
143
|
-
i0.ɵɵtemplate(1, SchemaCustomAttributesComponent_div_1_Template, 17, 12, "div", 1);
|
|
144
|
-
i0.ɵɵelementStart(2, "div", 2);
|
|
145
|
-
i0.ɵɵelementStart(3, "div", 3);
|
|
146
|
-
i0.ɵɵtemplate(4, SchemaCustomAttributesComponent_button_4_Template, 3, 3, "button", 4);
|
|
147
|
-
i0.ɵɵtemplate(5, SchemaCustomAttributesComponent_button_5_Template, 3, 3, "button", 5);
|
|
148
|
-
i0.ɵɵtemplate(6, SchemaCustomAttributesComponent_button_6_Template, 3, 3, "button", 4);
|
|
149
|
-
i0.ɵɵelementEnd();
|
|
150
|
-
i0.ɵɵelementEnd();
|
|
151
|
-
} if (rf & 2) {
|
|
152
|
-
i0.ɵɵproperty("ngForOf", ctx.model);
|
|
153
|
-
i0.ɵɵadvance(1);
|
|
154
|
-
i0.ɵɵproperty("ngIf", ctx.newCustomField);
|
|
155
|
-
i0.ɵɵadvance(3);
|
|
156
|
-
i0.ɵɵproperty("ngIf", !ctx.newCustomField);
|
|
157
|
-
i0.ɵɵadvance(1);
|
|
158
|
-
i0.ɵɵproperty("ngIf", ctx.newCustomField);
|
|
159
|
-
i0.ɵɵadvance(1);
|
|
160
|
-
i0.ɵɵproperty("ngIf", ctx.newCustomField && ctx.newCustomField.label && ctx.newCustomField.value);
|
|
161
|
-
} }, directives: [i1.NgForOf, i1.NgIf, i2.MatTooltip, i3.DefaultValueAccessor, i4.DndDropzoneDirective, i3.NgControlStatus, i3.NgModel], pipes: [i5.TranslatePipe], styles: [".customAttributeDeleteIcon[_ngcontent-%COMP%]{color:red;cursor:pointer;font-size:16px;position:absolute;right:15px;top:4px}.customAttributeDeleteIcon[_ngcontent-%COMP%]:hover{color:#777}.struct-custom-field[_ngcontent-%COMP%]{background-color:#ececec;margin-top:16px;padding:8px 16px 16px}"] });
|
|
162
|
-
const ɵSchemaCustomAttributesComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SchemaCustomAttributesComponent);
|
|
163
|
-
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(SchemaCustomAttributesComponent, [{
|
|
164
|
-
type: Component,
|
|
165
|
-
args: [{
|
|
166
|
-
selector: 'schema-custom-attributes',
|
|
167
|
-
templateUrl: 'schema-custom-attributes.html',
|
|
168
|
-
styleUrls: ['./schema-custom-attributes.scss']
|
|
169
|
-
}]
|
|
170
|
-
}], null, { onDropFunction: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], onSaveAttribute: [{
|
|
173
|
-
type: Output
|
|
174
|
-
}], onDropOnAttribute: [{
|
|
175
|
-
type: Output
|
|
176
|
-
}] }); })();
|
|
177
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { BaseSchemaComponent } from '../base-schema.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/material/tooltip";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "ngx-drag-drop";
|
|
8
|
+
import * as i5 from "@ngx-translate/core";
|
|
9
|
+
const _c0 = function () { return { standalone: true }; };
|
|
10
|
+
function SchemaCustomAttributesComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
12
|
+
i0.ɵɵelementStart(0, "div", 6);
|
|
13
|
+
i0.ɵɵelementStart(1, "div", 7);
|
|
14
|
+
i0.ɵɵelementStart(2, "label", 8);
|
|
15
|
+
i0.ɵɵtext(3);
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
i0.ɵɵelementStart(4, "span", 9);
|
|
18
|
+
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_div_0_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r8); const i_r6 = ctx.index; const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.removeCustomAttribute(i_r6); });
|
|
19
|
+
i0.ɵɵelement(5, "i", 10);
|
|
20
|
+
i0.ɵɵpipe(6, "translate");
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
i0.ɵɵelementStart(7, "input", 11);
|
|
23
|
+
i0.ɵɵlistener("ngModelChange", function SchemaCustomAttributesComponent_div_0_Template_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r8); const attribute_r5 = ctx.$implicit; return attribute_r5.value = $event; })("dndDrop", function SchemaCustomAttributesComponent_div_0_Template_input_dndDrop_7_listener($event) { i0.ɵɵrestoreView(_r8); const attribute_r5 = ctx.$implicit; const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.onDrop($event, attribute_r5); });
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const attribute_r5 = ctx.$implicit;
|
|
29
|
+
i0.ɵɵadvance(3);
|
|
30
|
+
i0.ɵɵtextInterpolate(attribute_r5.label);
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(6, 4, "REMOVE"));
|
|
33
|
+
i0.ɵɵadvance(2);
|
|
34
|
+
i0.ɵɵproperty("ngModel", attribute_r5.value)("ngModelOptions", i0.ɵɵpureFunction0(6, _c0));
|
|
35
|
+
} }
|
|
36
|
+
function SchemaCustomAttributesComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
38
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
39
|
+
i0.ɵɵelementStart(1, "div", 13);
|
|
40
|
+
i0.ɵɵelementStart(2, "div", 7);
|
|
41
|
+
i0.ɵɵelementStart(3, "label", 8);
|
|
42
|
+
i0.ɵɵtext(4);
|
|
43
|
+
i0.ɵɵpipe(5, "translate");
|
|
44
|
+
i0.ɵɵelementStart(6, "strong");
|
|
45
|
+
i0.ɵɵtext(7, "*");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
i0.ɵɵelementStart(8, "input", 14);
|
|
49
|
+
i0.ɵɵlistener("ngModelChange", function SchemaCustomAttributesComponent_div_1_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.newCustomField.label = $event; });
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
i0.ɵɵelementStart(9, "div", 13);
|
|
54
|
+
i0.ɵɵelementStart(10, "div", 7);
|
|
55
|
+
i0.ɵɵelementStart(11, "label", 8);
|
|
56
|
+
i0.ɵɵtext(12);
|
|
57
|
+
i0.ɵɵpipe(13, "translate");
|
|
58
|
+
i0.ɵɵelementStart(14, "strong");
|
|
59
|
+
i0.ɵɵtext(15, "*");
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
i0.ɵɵelementStart(16, "input", 11);
|
|
63
|
+
i0.ɵɵlistener("ngModelChange", function SchemaCustomAttributesComponent_div_1_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.newCustomField.value = $event; })("dndDrop", function SchemaCustomAttributesComponent_div_1_Template_input_dndDrop_16_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.onDrop($event, ctx_r14.newCustomField); });
|
|
64
|
+
i0.ɵɵelementEnd();
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementEnd();
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
70
|
+
i0.ɵɵadvance(4);
|
|
71
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, "STEP.NAME"));
|
|
72
|
+
i0.ɵɵadvance(4);
|
|
73
|
+
i0.ɵɵproperty("ngModel", ctx_r1.newCustomField.label)("ngModelOptions", i0.ɵɵpureFunction0(10, _c0));
|
|
74
|
+
i0.ɵɵadvance(4);
|
|
75
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 8, "STEP.VALUE"));
|
|
76
|
+
i0.ɵɵadvance(4);
|
|
77
|
+
i0.ɵɵproperty("ngModel", ctx_r1.newCustomField.value)("ngModelOptions", i0.ɵɵpureFunction0(11, _c0));
|
|
78
|
+
} }
|
|
79
|
+
function SchemaCustomAttributesComponent_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
81
|
+
i0.ɵɵelementStart(0, "button", 15);
|
|
82
|
+
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.newCustomField = {}; });
|
|
83
|
+
i0.ɵɵtext(1);
|
|
84
|
+
i0.ɵɵpipe(2, "translate");
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
} if (rf & 2) {
|
|
87
|
+
i0.ɵɵadvance(1);
|
|
88
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "ADD"), " ");
|
|
89
|
+
} }
|
|
90
|
+
function SchemaCustomAttributesComponent_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
const _r18 = i0.ɵɵgetCurrentView();
|
|
92
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
93
|
+
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.newCustomField = null; });
|
|
94
|
+
i0.ɵɵtext(1);
|
|
95
|
+
i0.ɵɵpipe(2, "translate");
|
|
96
|
+
i0.ɵɵelementEnd();
|
|
97
|
+
} if (rf & 2) {
|
|
98
|
+
i0.ɵɵadvance(1);
|
|
99
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "CANCEL"), " ");
|
|
100
|
+
} }
|
|
101
|
+
function SchemaCustomAttributesComponent_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
103
|
+
i0.ɵɵelementStart(0, "button", 15);
|
|
104
|
+
i0.ɵɵlistener("click", function SchemaCustomAttributesComponent_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.saveNewAttribute(ctx_r19.newCustomField); });
|
|
105
|
+
i0.ɵɵtext(1);
|
|
106
|
+
i0.ɵɵpipe(2, "translate");
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
} if (rf & 2) {
|
|
109
|
+
i0.ɵɵadvance(1);
|
|
110
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "SAVE"), " ");
|
|
111
|
+
} }
|
|
112
|
+
export class SchemaCustomAttributesComponent extends BaseSchemaComponent {
|
|
113
|
+
constructor() {
|
|
114
|
+
super(...arguments);
|
|
115
|
+
this.onSaveAttribute = new EventEmitter();
|
|
116
|
+
this.onDropOnAttribute = new EventEmitter();
|
|
117
|
+
}
|
|
118
|
+
ngAfterContentInit() {
|
|
119
|
+
if (!this.model) {
|
|
120
|
+
this.model = [];
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
saveNewAttribute(newCustomField) {
|
|
124
|
+
this.onSaveAttribute.emit(newCustomField);
|
|
125
|
+
this.model.push(newCustomField);
|
|
126
|
+
this.newCustomField = null;
|
|
127
|
+
this.modelChange.emit(this.model);
|
|
128
|
+
}
|
|
129
|
+
removeCustomAttribute(attributeIndex) {
|
|
130
|
+
this.model.splice(attributeIndex, 1);
|
|
131
|
+
this.modelChange.emit(this.model);
|
|
132
|
+
}
|
|
133
|
+
onDrop($event, attribute) {
|
|
134
|
+
if (!attribute.value) {
|
|
135
|
+
attribute.value = '';
|
|
136
|
+
}
|
|
137
|
+
attribute.value += `{{${$event.data}}}`;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
SchemaCustomAttributesComponent.ɵfac = function SchemaCustomAttributesComponent_Factory(t) { return ɵSchemaCustomAttributesComponent_BaseFactory(t || SchemaCustomAttributesComponent); };
|
|
141
|
+
SchemaCustomAttributesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SchemaCustomAttributesComponent, selectors: [["schema-custom-attributes"]], inputs: { onDropFunction: "onDropFunction" }, outputs: { onSaveAttribute: "onSaveAttribute", onDropOnAttribute: "onDropOnAttribute" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 5, consts: [["class", "row custom-attributes", 4, "ngFor", "ngForOf"], ["class", "struct-custom-field", 4, "ngIf"], [1, "row", "actions-buttons"], [1, "col-md-12", "pull-right"], ["class", "btn btn-outline-primary float-left", 3, "click", 4, "ngIf"], ["class", "btn btn-outline-danger float-left ml-2", 3, "click", 4, "ngIf"], [1, "row", "custom-attributes"], [1, "col-md-12"], [1, "info-label"], [1, "customAttributeDeleteIcon", 3, "click"], [1, "far", "fa-trash-alt", 3, "matTooltip"], ["dndDropzone", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange", "dndDrop"], [1, "struct-custom-field"], [1, "row"], [1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "btn", "btn-outline-primary", "float-left", 3, "click"], [1, "btn", "btn-outline-danger", "float-left", "ml-2", 3, "click"]], template: function SchemaCustomAttributesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
+
i0.ɵɵtemplate(0, SchemaCustomAttributesComponent_div_0_Template, 8, 7, "div", 0);
|
|
143
|
+
i0.ɵɵtemplate(1, SchemaCustomAttributesComponent_div_1_Template, 17, 12, "div", 1);
|
|
144
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
145
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
146
|
+
i0.ɵɵtemplate(4, SchemaCustomAttributesComponent_button_4_Template, 3, 3, "button", 4);
|
|
147
|
+
i0.ɵɵtemplate(5, SchemaCustomAttributesComponent_button_5_Template, 3, 3, "button", 5);
|
|
148
|
+
i0.ɵɵtemplate(6, SchemaCustomAttributesComponent_button_6_Template, 3, 3, "button", 4);
|
|
149
|
+
i0.ɵɵelementEnd();
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
} if (rf & 2) {
|
|
152
|
+
i0.ɵɵproperty("ngForOf", ctx.model);
|
|
153
|
+
i0.ɵɵadvance(1);
|
|
154
|
+
i0.ɵɵproperty("ngIf", ctx.newCustomField);
|
|
155
|
+
i0.ɵɵadvance(3);
|
|
156
|
+
i0.ɵɵproperty("ngIf", !ctx.newCustomField);
|
|
157
|
+
i0.ɵɵadvance(1);
|
|
158
|
+
i0.ɵɵproperty("ngIf", ctx.newCustomField);
|
|
159
|
+
i0.ɵɵadvance(1);
|
|
160
|
+
i0.ɵɵproperty("ngIf", ctx.newCustomField && ctx.newCustomField.label && ctx.newCustomField.value);
|
|
161
|
+
} }, directives: [i1.NgForOf, i1.NgIf, i2.MatTooltip, i3.DefaultValueAccessor, i4.DndDropzoneDirective, i3.NgControlStatus, i3.NgModel], pipes: [i5.TranslatePipe], styles: [".customAttributeDeleteIcon[_ngcontent-%COMP%]{color:red;cursor:pointer;font-size:16px;position:absolute;right:15px;top:4px}.customAttributeDeleteIcon[_ngcontent-%COMP%]:hover{color:#777}.struct-custom-field[_ngcontent-%COMP%]{background-color:#ececec;margin-top:16px;padding:8px 16px 16px}"] });
|
|
162
|
+
const ɵSchemaCustomAttributesComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SchemaCustomAttributesComponent);
|
|
163
|
+
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(SchemaCustomAttributesComponent, [{
|
|
164
|
+
type: Component,
|
|
165
|
+
args: [{
|
|
166
|
+
selector: 'schema-custom-attributes',
|
|
167
|
+
templateUrl: 'schema-custom-attributes.html',
|
|
168
|
+
styleUrls: ['./schema-custom-attributes.scss']
|
|
169
|
+
}]
|
|
170
|
+
}], null, { onDropFunction: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}], onSaveAttribute: [{
|
|
173
|
+
type: Output
|
|
174
|
+
}], onDropOnAttribute: [{
|
|
175
|
+
type: Output
|
|
176
|
+
}] }); })();
|
|
177
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWN1c3RvbS1hdHRyaWJ1dGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWN1c3RvbS1hdHRyaWJ1dGVzL3NjaGVtYS1jdXN0b20tYXR0cmlidXRlcy50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL3NjaGVtYXMvc3JjL3NjaGVtYS1jdXN0b20tYXR0cmlidXRlcy9zY2hlbWEtY3VzdG9tLWF0dHJpYnV0ZXMuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW1CLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2RixPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7Ozs7OztJQ0Q3RCw4QkFDRTtJQUFBLDhCQUNFO0lBQUEsZ0NBQTBCO0lBQUEsWUFBcUI7SUFBQSxpQkFBUTtJQUN2RCwrQkFDRTtJQURJLHdPQUFrQztJQUN0Qyx3QkFBb0U7O0lBQ3RFLGlCQUFPO0lBRVAsaUNBT0Y7SUFMSSxpT0FBNkI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