@apipass/schemas 0.2.16 → 1.0.7

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.
Files changed (75) hide show
  1. package/README.md +33 -33
  2. package/base-schema.component.d.ts +12 -12
  3. package/{esm2015/apipass-schemas.js → esm2020/apipass-schemas.mjs} +4 -4
  4. package/esm2020/base-schema.component.mjs +37 -0
  5. package/esm2020/public-api.mjs +17 -0
  6. package/esm2020/schema-custom-attributes/schema-custom-attributes.mjs +169 -0
  7. package/esm2020/schema-fields.service.mjs +80 -0
  8. package/esm2020/schema-form/schema-array/array-session/array-session.mjs +143 -0
  9. package/esm2020/schema-form/schema-array/schema-array.mjs +220 -0
  10. package/esm2020/schema-form/schema-form.mjs +107 -0
  11. package/esm2020/schema-form/schema-input/field-render/field-render.mjs +69 -0
  12. package/esm2020/schema-form/schema-input/input-render/boolean-input/boolean-input.component.mjs +46 -0
  13. package/esm2020/schema-form/schema-input/input-render/input-render.mjs +192 -0
  14. package/esm2020/schema-form/schema-input/input-render/number-input/number-input.component.mjs +44 -0
  15. package/esm2020/schema-form/schema-input/schema-input.mjs +96 -0
  16. package/esm2020/schema-form/schema-object/schema-object.mjs +123 -0
  17. package/esm2020/schema-form-render.mjs +126 -0
  18. package/esm2020/schema-form-render.module.mjs +108 -0
  19. package/esm2020/schema-validation-field.mjs +14 -0
  20. package/esm2020/struct.utils.mjs +9 -0
  21. package/esm2020/type-script-compile/type-script-compile.base.mjs +114 -0
  22. package/fesm2015/apipass-schemas.mjs +1801 -0
  23. package/fesm2015/apipass-schemas.mjs.map +1 -0
  24. package/fesm2020/apipass-schemas.mjs +1616 -0
  25. package/fesm2020/apipass-schemas.mjs.map +1 -0
  26. package/{apipass-schemas.d.ts → index.d.ts} +5 -5
  27. package/package.json +32 -19
  28. package/public-api.d.ts +16 -16
  29. package/schema-custom-attributes/schema-custom-attributes.d.ts +21 -21
  30. package/schema-fields.service.d.ts +14 -15
  31. package/schema-form/schema-array/array-session/array-session.d.ts +19 -19
  32. package/schema-form/schema-array/schema-array.d.ts +32 -32
  33. package/schema-form/schema-form.d.ts +31 -31
  34. package/schema-form/schema-input/field-render/field-render.d.ts +16 -16
  35. package/schema-form/schema-input/input-render/boolean-input/boolean-input.component.d.ts +15 -15
  36. package/schema-form/schema-input/input-render/input-render.d.ts +29 -29
  37. package/schema-form/schema-input/input-render/number-input/number-input.component.d.ts +15 -15
  38. package/schema-form/schema-input/schema-input.d.ts +19 -19
  39. package/schema-form/schema-object/schema-object.d.ts +34 -34
  40. package/schema-form-render.d.ts +31 -31
  41. package/schema-form-render.module.d.ts +23 -22
  42. package/schema-validation-field.d.ts +23 -23
  43. package/struct.utils.d.ts +1 -1
  44. package/type-script-compile/type-script-compile.base.d.ts +17 -17
  45. package/assets/css/buttons.scss +0 -118
  46. package/assets/css/colors.scss +0 -34
  47. package/assets/css/fonts.scss +0 -24
  48. package/assets/css/inputs.scss +0 -197
  49. package/assets/css/pt_sans.scss +0 -144
  50. package/assets/css/spacing.scss +0 -28
  51. package/assets/css/texts.scss +0 -18
  52. package/bundles/apipass-schemas.umd.js +0 -2339
  53. package/bundles/apipass-schemas.umd.js.map +0 -1
  54. package/bundles/apipass-schemas.umd.min.js +0 -16
  55. package/bundles/apipass-schemas.umd.min.js.map +0 -1
  56. package/esm2015/base-schema.component.js +0 -38
  57. package/esm2015/public-api.js +0 -17
  58. package/esm2015/schema-custom-attributes/schema-custom-attributes.js +0 -192
  59. package/esm2015/schema-fields.service.js +0 -87
  60. package/esm2015/schema-form/schema-array/array-session/array-session.js +0 -161
  61. package/esm2015/schema-form/schema-array/schema-array.js +0 -234
  62. package/esm2015/schema-form/schema-form.js +0 -114
  63. package/esm2015/schema-form/schema-input/field-render/field-render.js +0 -74
  64. package/esm2015/schema-form/schema-input/input-render/boolean-input/boolean-input.component.js +0 -50
  65. package/esm2015/schema-form/schema-input/input-render/input-render.js +0 -199
  66. package/esm2015/schema-form/schema-input/input-render/number-input/number-input.component.js +0 -48
  67. package/esm2015/schema-form/schema-input/schema-input.js +0 -111
  68. package/esm2015/schema-form/schema-object/schema-object.js +0 -134
  69. package/esm2015/schema-form-render.js +0 -136
  70. package/esm2015/schema-form-render.module.js +0 -124
  71. package/esm2015/schema-validation-field.js +0 -15
  72. package/esm2015/struct.utils.js +0 -9
  73. package/esm2015/type-script-compile/type-script-compile.base.js +0 -112
  74. package/fesm2015/apipass-schemas.js +0 -1745
  75. package/fesm2015/apipass-schemas.js.map +0 -1
@@ -0,0 +1,192 @@
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 "ngx-drag-drop";
6
+ import * as i3 from "@angular/forms";
7
+ import * as i4 from "@apipass/inputs";
8
+ import * as i5 from "@apipass/icons";
9
+ import * as i6 from "./boolean-input/boolean-input.component";
10
+ import * as i7 from "./number-input/number-input.component";
11
+ function InputRenderComponent_div_1_icon_1_Template(rf, ctx) { if (rf & 1) {
12
+ const _r8 = i0.ɵɵgetCurrentView();
13
+ i0.ɵɵelementStart(0, "icon", 8);
14
+ i0.ɵɵlistener("onClick", function InputRenderComponent_div_1_icon_1_Template_icon_onClick_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.editPassword()); });
15
+ i0.ɵɵelementEnd();
16
+ } if (rf & 2) {
17
+ i0.ɵɵproperty("name", "fas fa-pencil-alt");
18
+ } }
19
+ function InputRenderComponent_div_1_icon_2_Template(rf, ctx) { if (rf & 1) {
20
+ const _r10 = i0.ɵɵgetCurrentView();
21
+ i0.ɵɵelementStart(0, "icon", 9);
22
+ i0.ɵɵlistener("mousedown", function InputRenderComponent_div_1_icon_2_Template_icon_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); ctx_r9.cancelEditPassword(); return i0.ɵɵresetView($event.stopPropagation()); });
23
+ i0.ɵɵelementEnd();
24
+ } if (rf & 2) {
25
+ i0.ɵɵproperty("name", "fas fa-ban");
26
+ } }
27
+ function InputRenderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
28
+ i0.ɵɵelementStart(0, "div", 5);
29
+ i0.ɵɵtemplate(1, InputRenderComponent_div_1_icon_1_Template, 1, 1, "icon", 6);
30
+ i0.ɵɵtemplate(2, InputRenderComponent_div_1_icon_2_Template, 1, 1, "icon", 7);
31
+ i0.ɵɵelementEnd();
32
+ } if (rf & 2) {
33
+ const ctx_r0 = i0.ɵɵnextContext();
34
+ i0.ɵɵadvance(1);
35
+ i0.ɵɵproperty("ngIf", ctx_r0.schema.readOnlyPassword);
36
+ i0.ɵɵadvance(1);
37
+ i0.ɵɵproperty("ngIf", !ctx_r0.schema.readOnlyPassword);
38
+ } }
39
+ const _c0 = function () { return { standalone: true }; };
40
+ function InputRenderComponent_input_2_Template(rf, ctx) { if (rf & 1) {
41
+ const _r12 = i0.ɵɵgetCurrentView();
42
+ i0.ɵɵelementStart(0, "input", 10);
43
+ i0.ɵɵlistener("blur", function InputRenderComponent_input_2_Template_input_blur_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.onInputBlur()); })("ngModelChange", function InputRenderComponent_input_2_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.value = $event); })("ngModelChange", function InputRenderComponent_input_2_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.onChange($event)); })("dndDrop", function InputRenderComponent_input_2_Template_input_dndDrop_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.onDropCallBack($event, ctx_r15.value)); });
44
+ i0.ɵɵelementEnd();
45
+ } if (rf & 2) {
46
+ const ctx_r1 = i0.ɵɵnextContext();
47
+ i0.ɵɵpropertyInterpolate("placeholder", ctx_r1.schema.type === "password" && ctx_r1.schema.readOnlyPassword ? "*****" : ctx_r1.schema.description);
48
+ i0.ɵɵproperty("disabled", ctx_r1.schema.readOnlyPassword)("type", ctx_r1.schema.type === "password" ? "password" : "text")("ngModel", ctx_r1.value)("ngModelOptions", i0.ɵɵpureFunction0(7, _c0))("id", ctx_r1.inputId)("maxlength", ctx_r1.schema.maxLength);
49
+ } }
50
+ function InputRenderComponent_select_box_3_Template(rf, ctx) { if (rf & 1) {
51
+ const _r17 = i0.ɵɵgetCurrentView();
52
+ i0.ɵɵelementStart(0, "select-box", 11);
53
+ i0.ɵɵlistener("ngModelChange", function InputRenderComponent_select_box_3_Template_select_box_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.value = $event); })("ngModelChange", function InputRenderComponent_select_box_3_Template_select_box_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.onChange($event.key)); });
54
+ i0.ɵɵelementEnd();
55
+ } if (rf & 2) {
56
+ const ctx_r2 = i0.ɵɵnextContext();
57
+ i0.ɵɵproperty("id", ctx_r2.inputId)("ngModel", ctx_r2.value)("ngModelOptions", i0.ɵɵpureFunction0(12, _c0))("placeholder", ctx_r2.schema.description || ctx_r2.selectPlaceHolderLabel)("searchPlaceHolder", ctx_r2.selectSearchPlaceHolderLabel)("clearText", ctx_r2.selectClearLabel)("notFoundText", ctx_r2.selectNotFoundLabel)("bindKey", "key")("bindValue", "value")("enabledSearch", true)("limitItens", 30)("data", ctx_r2.schema.options);
58
+ } }
59
+ function InputRenderComponent_number_input_4_Template(rf, ctx) { if (rf & 1) {
60
+ const _r20 = i0.ɵɵgetCurrentView();
61
+ i0.ɵɵelementStart(0, "number-input", 12);
62
+ i0.ɵɵlistener("modelChange", function InputRenderComponent_number_input_4_Template_number_input_modelChange_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.value = $event); })("modelChange", function InputRenderComponent_number_input_4_Template_number_input_modelChange_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r21 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r21.onChange($event)); });
63
+ i0.ɵɵelementEnd();
64
+ } if (rf & 2) {
65
+ const ctx_r3 = i0.ɵɵnextContext();
66
+ i0.ɵɵproperty("model", ctx_r3.value)("inputId", ctx_r3.inputId)("placeholder", ctx_r3.schema.description)("maxLength", ctx_r3.schema.maxLength);
67
+ } }
68
+ function InputRenderComponent_boolean_input_5_Template(rf, ctx) { if (rf & 1) {
69
+ const _r23 = i0.ɵɵgetCurrentView();
70
+ i0.ɵɵelementStart(0, "boolean-input", 12);
71
+ i0.ɵɵlistener("modelChange", function InputRenderComponent_boolean_input_5_Template_boolean_input_modelChange_0_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r22 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r22.value = $event); })("modelChange", function InputRenderComponent_boolean_input_5_Template_boolean_input_modelChange_0_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r24 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r24.onChange($event)); });
72
+ i0.ɵɵelementEnd();
73
+ } if (rf & 2) {
74
+ const ctx_r4 = i0.ɵɵnextContext();
75
+ i0.ɵɵproperty("model", ctx_r4.value)("inputId", ctx_r4.inputId)("placeholder", ctx_r4.schema.description)("maxLength", ctx_r4.schema.maxLength);
76
+ } }
77
+ const _c1 = function (a0) { return { "schema-input-container-password": a0 }; };
78
+ export class InputRenderComponent extends BaseSchemaComponent {
79
+ constructor() {
80
+ super(...arguments);
81
+ this.selectPlaceHolderLabel = 'Select Item';
82
+ this.selectSearchPlaceHolderLabel = 'Search';
83
+ this.selectClearLabel = 'Clear';
84
+ this.selectNotFoundLabel = 'No Items Found';
85
+ this.schema = {};
86
+ this.editing = false;
87
+ this.onDropEvent = new EventEmitter();
88
+ }
89
+ ngAfterContentInit() {
90
+ if (this.schema?.type !== 'object' && this.schema?.type !== 'array') {
91
+ if (!this.editing && this.schema.options) {
92
+ const $event = this.schema.options.filter((item) => item.selected === true);
93
+ if ($event[0]) {
94
+ this.onChange($event[0].key);
95
+ this.value = $event[0];
96
+ }
97
+ }
98
+ else if (this.editing && this.schema.options && this.model) {
99
+ const $event = this.schema.options.filter((item) => item.key === this.model);
100
+ if ($event[0]) {
101
+ this.onChange($event[0].key);
102
+ this.value = $event[0];
103
+ }
104
+ }
105
+ else {
106
+ this.value = this.model;
107
+ }
108
+ }
109
+ if (this.editing && this.schema?.type === 'password') {
110
+ this.schema.readOnlyPassword = true;
111
+ }
112
+ }
113
+ onDropCallBack($event, value) {
114
+ this.value = value = super.onDrop($event, value);
115
+ this.onChange(value);
116
+ }
117
+ onChange($event) {
118
+ if (this.schema.type !== 'password' || !this.editing) {
119
+ this.model = $event;
120
+ this.modelChange.emit(this.model);
121
+ }
122
+ }
123
+ onInputBlur() {
124
+ if (this.schema?.type === 'password') {
125
+ this.savePassword();
126
+ }
127
+ }
128
+ savePassword() {
129
+ this.model = this.value || '';
130
+ this.modelChange.emit(this.model);
131
+ this.setReadOnlyPassword(true);
132
+ }
133
+ cancelEditPassword() {
134
+ setTimeout(() => {
135
+ this.value = undefined;
136
+ this.model = undefined;
137
+ this.modelChange.emit(this.model);
138
+ this.setReadOnlyPassword(true);
139
+ }, 100);
140
+ }
141
+ editPassword() {
142
+ this.setReadOnlyPassword(false);
143
+ }
144
+ setReadOnlyPassword(value) {
145
+ this.schema.readOnlyPassword = value;
146
+ }
147
+ }
148
+ InputRenderComponent.ɵfac = /*@__PURE__*/ function () { let ɵInputRenderComponent_BaseFactory; return function InputRenderComponent_Factory(t) { return (ɵInputRenderComponent_BaseFactory || (ɵInputRenderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(InputRenderComponent)))(t || InputRenderComponent); }; }();
149
+ InputRenderComponent.ɵcmp = /*@__PURE__*/ 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: 6, vars: 8, consts: [[1, "schema-input-container", 3, "ngClass"], ["class", "edit-icon", 4, "ngIf"], ["class", "form-control", "dndDropzone", "", 3, "disabled", "type", "placeholder", "ngModel", "ngModelOptions", "id", "maxlength", "blur", "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"], [1, "edit-icon"], ["size", "15", "type", "primary", 3, "name", "onClick", 4, "ngIf"], ["size", "15", "type", "primary clickable", 3, "name", "mousedown", 4, "ngIf"], ["size", "15", "type", "primary", 3, "name", "onClick"], ["size", "15", "type", "primary clickable", 3, "name", "mousedown"], ["dndDropzone", "", 1, "form-control", 3, "disabled", "type", "placeholder", "ngModel", "ngModelOptions", "id", "maxlength", "blur", "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) {
150
+ i0.ɵɵelementStart(0, "div", 0);
151
+ i0.ɵɵtemplate(1, InputRenderComponent_div_1_Template, 3, 2, "div", 1);
152
+ i0.ɵɵtemplate(2, InputRenderComponent_input_2_Template, 1, 8, "input", 2);
153
+ i0.ɵɵtemplate(3, InputRenderComponent_select_box_3_Template, 1, 13, "select-box", 3);
154
+ i0.ɵɵtemplate(4, InputRenderComponent_number_input_4_Template, 1, 4, "number-input", 4);
155
+ i0.ɵɵtemplate(5, InputRenderComponent_boolean_input_5_Template, 1, 4, "boolean-input", 4);
156
+ i0.ɵɵelementEnd();
157
+ } if (rf & 2) {
158
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1, ctx.schema.type === "password"));
159
+ i0.ɵɵadvance(1);
160
+ i0.ɵɵproperty("ngIf", ctx.schema.type === "password" && ctx.editing);
161
+ i0.ɵɵadvance(1);
162
+ i0.ɵɵproperty("ngIf", (ctx.schema.type === "string" || ctx.schema.type === "password") && !ctx.schema.options);
163
+ i0.ɵɵadvance(1);
164
+ i0.ɵɵproperty("ngIf", ctx.schema.type === "string" && ctx.schema.options);
165
+ i0.ɵɵadvance(1);
166
+ i0.ɵɵproperty("ngIf", ctx.schema.type === "number");
167
+ i0.ɵɵadvance(1);
168
+ i0.ɵɵproperty("ngIf", ctx.schema.type === "boolean");
169
+ } }, dependencies: [i1.NgClass, i1.NgIf, i2.DndDropzoneDirective, i3.DefaultValueAccessor, i3.NgControlStatus, i3.MaxLengthValidator, i3.NgModel, i4.SelectBoxComponent, i5.IconComponent, i6.BooleanInputComponent, i7.NumberInputComponent], styles: [".schema-input-container-password[_ngcontent-%COMP%]{position:relative}.schema-input-container-password[_ngcontent-%COMP%] .edit-icon[_ngcontent-%COMP%]{position:absolute;width:30px;right:-5px;top:10px;z-index:1}.schema-input-container-password[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;padding-right:38px!important;width:calc(100% - 51px)!important}"] });
170
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputRenderComponent, [{
171
+ type: Component,
172
+ args: [{ selector: 'input-render', template: "<div class=\"schema-input-container\" [ngClass]=\"{'schema-input-container-password' : schema.type === 'password' }\" >\r\n <div *ngIf=\"schema.type === 'password' && editing\" class=\"edit-icon\">\r\n <icon *ngIf=\"this.schema.readOnlyPassword\" size=\"15\" type=\"primary\" [name]=\"'fas fa-pencil-alt'\"\r\n (onClick)=\"editPassword()\">\r\n </icon>\r\n <icon *ngIf=\"!this.schema.readOnlyPassword\" size=\"15\" type=\"primary clickable\" [name]=\"'fas fa-ban'\"\r\n (mousedown)=\"cancelEditPassword(); $event.stopPropagation()\">\r\n </icon>\r\n </div>\r\n <input (blur)=\"onInputBlur()\"\r\n [disabled]=\"schema.readOnlyPassword\" class=\"form-control\"\r\n [type]=\"schema.type === 'password' ? 'password' : 'text'\"\r\n placeholder=\"{{schema.type === 'password' && this.schema.readOnlyPassword ? '*****' : schema.description}}\"\r\n *ngIf=\"(schema.type === 'string' || schema.type === 'password') && !schema.options\"\r\n [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\"\r\n (ngModelChange)=\"onChange($event)\"\r\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\" [id]=\"inputId\" [maxlength]=\"schema.maxLength\"/>\r\n\r\n <select-box\r\n [id]=\"inputId\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"onChange($event.key)\"\r\n [ngModelOptions]=\"{standalone: true}\"\r\n *ngIf=\"schema.type === 'string' && schema.options\"\r\n [placeholder]=\"schema.description || this.selectPlaceHolderLabel\"\r\n [searchPlaceHolder]=\"selectSearchPlaceHolderLabel\"\r\n [clearText]=\"this.selectClearLabel\"\r\n [notFoundText]=\"this.selectNotFoundLabel\"\r\n [bindKey]=\"'key'\"\r\n [bindValue]=\"'value'\"\r\n [enabledSearch]=\"true\"\r\n [limitItens]=\"30\"\r\n [data]=\"schema.options\">\r\n </select-box>\r\n\r\n <number-input [(model)]=\"value\" [inputId]=\"inputId\"\r\n *ngIf=\"schema.type === 'number'\"\r\n [placeholder]=\"schema.description\" [maxLength]=\"schema.maxLength\"\r\n (modelChange)=\"onChange($event)\"></number-input>\r\n\r\n <boolean-input [(model)]=\"value\" [inputId]=\"inputId\"\r\n *ngIf=\"schema.type === 'boolean'\"\r\n [placeholder]=\"schema.description\" [maxLength]=\"schema.maxLength\"\r\n (modelChange)=\"onChange($event)\"></boolean-input>\r\n</div>\r\n", styles: [".schema-input-container-password{position:relative}.schema-input-container-password .edit-icon{position:absolute;width:30px;right:-5px;top:10px;z-index:1}.schema-input-container-password input{display:block;padding-right:38px!important;width:calc(100% - 51px)!important}\n"] }]
173
+ }], null, { selectPlaceHolderLabel: [{
174
+ type: Input
175
+ }], selectSearchPlaceHolderLabel: [{
176
+ type: Input
177
+ }], selectClearLabel: [{
178
+ type: Input
179
+ }], selectNotFoundLabel: [{
180
+ type: Input
181
+ }], schema: [{
182
+ type: Input
183
+ }], modelPropertiesPath: [{
184
+ type: Input
185
+ }], inputId: [{
186
+ type: Input
187
+ }], editing: [{
188
+ type: Input
189
+ }], onDropEvent: [{
190
+ type: Output
191
+ }] }); })();
192
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcmVuZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWZvcm0vc2NoZW1hLWlucHV0L2lucHV0LXJlbmRlci9pbnB1dC1yZW5kZXIudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zY2hlbWFzL3NyYy9zY2hlbWEtZm9ybS9zY2hlbWEtaW5wdXQvaW5wdXQtcmVuZGVyL2lucHV0LXJlbmRlci5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0IsU0FBUyxFQUFFLFlBQVksRUFBRSxLQU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PlxyXG5cclxuICA8Ym9vbGVhbi1pbnB1dCBbKG1vZGVsKV09XCJ2YWx1ZVwiIFtpbnB1dElkXT1cImlucHV0SWRcIlxyXG4gICAgICAgICAgICAgICAgICpuZ0lmPVwic2NoZW1hLnR5cGUgPT09ICdib29sZWFuJ1wiXHJcbiAgICAgICAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cInNjaGVtYS5kZXNjcmlwdGlvblwiIFttYXhMZW5ndGhdPVwic2NoZW1hLm1heExlbmd0aFwiXHJcbiAgICAgICAgICAgICAgICAgKG1vZGVsQ2hhbmdlKT1cIm9uQ2hhbmdlKCRldmVudClcIj48L2Jvb2xlYW4taW5wdXQ+XHJcbjwvZGl2PlxyXG4iXX0=
@@ -0,0 +1,44 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { BaseSchemaComponent } from '../../../../base-schema.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-drag-drop";
5
+ import * as i2 from "@angular/forms";
6
+ const _c0 = function () { return { standalone: true }; };
7
+ export class NumberInputComponent extends BaseSchemaComponent {
8
+ ngAfterContentInit() {
9
+ this.value = this.model;
10
+ }
11
+ onDropCallBack($event, value) {
12
+ this.value = value = super.onDrop($event, value);
13
+ this.changeValue(value);
14
+ }
15
+ changeValue($event) {
16
+ if ($event && !isNaN($event)) {
17
+ this.model = Number($event);
18
+ this.modelChange.emit(this.model);
19
+ }
20
+ else {
21
+ this.model = $event;
22
+ this.modelChange.emit(this.model);
23
+ }
24
+ }
25
+ }
26
+ NumberInputComponent.ɵfac = /*@__PURE__*/ function () { let ɵNumberInputComponent_BaseFactory; return function NumberInputComponent_Factory(t) { return (ɵNumberInputComponent_BaseFactory || (ɵNumberInputComponent_BaseFactory = i0.ɵɵgetInheritedFactory(NumberInputComponent)))(t || NumberInputComponent); }; }();
27
+ NumberInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberInputComponent, selectors: [["number-input"]], inputs: { placeholder: "placeholder", inputId: "inputId", maxLength: "maxLength" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 6, consts: [["dndDropzone", "", 1, "form-control", "number-input", 3, "id", "placeholder", "ngModel", "ngModelOptions", "maxlength", "ngModelChange", "dndDrop"]], template: function NumberInputComponent_Template(rf, ctx) { if (rf & 1) {
28
+ i0.ɵɵelementStart(0, "input", 0);
29
+ i0.ɵɵlistener("ngModelChange", function NumberInputComponent_Template_input_ngModelChange_0_listener($event) { return ctx.value = $event; })("ngModelChange", function NumberInputComponent_Template_input_ngModelChange_0_listener($event) { return ctx.changeValue($event); })("dndDrop", function NumberInputComponent_Template_input_dndDrop_0_listener($event) { return ctx.onDropCallBack($event, ctx.value); });
30
+ i0.ɵɵelementEnd();
31
+ } if (rf & 2) {
32
+ i0.ɵɵproperty("id", ctx.inputId)("placeholder", ctx.placeholder)("ngModel", ctx.value)("ngModelOptions", i0.ɵɵpureFunction0(5, _c0))("maxlength", ctx.maxLength);
33
+ } }, dependencies: [i1.DndDropzoneDirective, i2.DefaultValueAccessor, i2.NgControlStatus, i2.MaxLengthValidator, i2.NgModel], encapsulation: 2 });
34
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberInputComponent, [{
35
+ type: Component,
36
+ args: [{ selector: 'number-input', template: "<input class=\"form-control number-input\"\r\n [id]=\"inputId\"\r\n [placeholder]=\"placeholder\"\r\n [(ngModel)]=\"value\"\r\n [ngModelOptions]=\"{standalone: true}\"\r\n (ngModelChange)=\"changeValue($event)\"\r\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\"\r\n [maxlength]=\"maxLength\">\r\n" }]
37
+ }], null, { placeholder: [{
38
+ type: Input
39
+ }], inputId: [{
40
+ type: Input
41
+ }], maxLength: [{
42
+ type: Input
43
+ }] }); })();
44
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWlucHV0LmNvbXBvbmVudC5qcyIsInNvd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GRlclwiXHJcbiAgICAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcclxuICAgICAgIFtuZ01vZGVsT3B0aW9uc109XCJ7c3RhbmRhbG9uZTogdHJ1ZX1cIlxyXG4gICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwiY2hhbmdlVmFsdWUoJGV2ZW50KVwiXHJcbiAgICAgICBkbmREcm9wem9uZSAoZG5kRHJvcCk9XCJvbkRyb3BDYWxsQmFjaygkZXZlbnQsIHZhbHVlKVwiXHJcbiAgICAgICBbbWF4bGVuZ3RoXT1cIm1heExlbmd0aFwiPlxyXG4iXX0=
@@ -0,0 +1,96 @@
1
+ import { Component, Input } 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 "./field-render/field-render";
7
+ import * as i4 from "./input-render/input-render";
8
+ function SchemaInputComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9
+ const _r3 = i0.ɵɵgetCurrentView();
10
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "field-render", 3)(3, "input-render", 4);
11
+ i0.ɵɵlistener("modelChange", function SchemaInputComponent_div_0_Template_input_render_modelChange_3_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView((ctx_r2.model[ctx_r2.schema.id] = $event)); });
12
+ i0.ɵɵelementEnd()()()();
13
+ } if (rf & 2) {
14
+ const ctx_r0 = i0.ɵɵnextContext();
15
+ i0.ɵɵadvance(2);
16
+ i0.ɵɵproperty("requiredLabel", ctx_r0.requiredLabel)("label", ctx_r0.schema.title)("tooltip", ctx_r0.schema.help)("inputId", ctx_r0.getId(ctx_r0.index));
17
+ i0.ɵɵadvance(1);
18
+ 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);
19
+ } }
20
+ function SchemaInputComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
21
+ i0.ɵɵelementStart(0, "span", 7);
22
+ i0.ɵɵtext(1, "?");
23
+ i0.ɵɵelementEnd();
24
+ } if (rf & 2) {
25
+ const ctx_r4 = i0.ɵɵnextContext(2);
26
+ i0.ɵɵpropertyInterpolate("matTooltip", ctx_r4.schema.help);
27
+ } }
28
+ function SchemaInputComponent_div_1_Template(rf, ctx) { if (rf & 1) {
29
+ const _r6 = i0.ɵɵgetCurrentView();
30
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "label", 5);
31
+ i0.ɵɵtext(3);
32
+ i0.ɵɵtemplate(4, SchemaInputComponent_div_1_span_4_Template, 2, 1, "span", 6);
33
+ i0.ɵɵelementEnd();
34
+ i0.ɵɵelementStart(5, "input-render", 4);
35
+ i0.ɵɵlistener("modelChange", function SchemaInputComponent_div_1_Template_input_render_modelChange_5_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView((ctx_r5.model[ctx_r5.schema.id] = $event)); });
36
+ i0.ɵɵelementEnd()()();
37
+ } if (rf & 2) {
38
+ const ctx_r1 = i0.ɵɵnextContext();
39
+ i0.ɵɵadvance(2);
40
+ i0.ɵɵproperty("htmlFor", ctx_r1.getId(ctx_r1.index));
41
+ i0.ɵɵadvance(1);
42
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.schema.title, " ");
43
+ i0.ɵɵadvance(1);
44
+ i0.ɵɵproperty("ngIf", ctx_r1.schema.help);
45
+ i0.ɵɵadvance(1);
46
+ 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);
47
+ } }
48
+ export class SchemaInputComponent extends BaseSchemaComponent {
49
+ constructor() {
50
+ super(...arguments);
51
+ this.requiredLabel = '(required)';
52
+ this.selectPlaceHolderLabel = 'Select Item';
53
+ this.selectSearchPlaceHolderLabel = 'Search';
54
+ this.selectClearLabel = 'Clear';
55
+ this.selectNotFoundLabel = 'No Items Found';
56
+ this.editing = false;
57
+ }
58
+ ngAfterContentInit() {
59
+ this.loaded = true;
60
+ }
61
+ getId(index) {
62
+ return `${this.idPrefix}-struct-${index}`;
63
+ }
64
+ }
65
+ SchemaInputComponent.ɵfac = /*@__PURE__*/ function () { let ɵSchemaInputComponent_BaseFactory; return function SchemaInputComponent_Factory(t) { return (ɵSchemaInputComponent_BaseFactory || (ɵSchemaInputComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SchemaInputComponent)))(t || SchemaInputComponent); }; }();
66
+ SchemaInputComponent.ɵcmp = /*@__PURE__*/ 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) {
67
+ i0.ɵɵtemplate(0, SchemaInputComponent_div_0_Template, 4, 13, "div", 0);
68
+ i0.ɵɵtemplate(1, SchemaInputComponent_div_1_Template, 6, 12, "div", 0);
69
+ } if (rf & 2) {
70
+ i0.ɵɵproperty("ngIf", ctx.loaded && ctx.canRender(ctx.schema) && ctx.schema.type !== "array" && ctx.schema.type !== "object" && ctx.schema.minLength && ctx.schema.minLength > 0);
71
+ i0.ɵɵadvance(1);
72
+ i0.ɵɵproperty("ngIf", ctx.loaded && ctx.canRender(ctx.schema) && ctx.schema.type !== "array" && ctx.schema.type !== "object" && (!ctx.schema.minLength || ctx.schema.minLength === 0));
73
+ } }, dependencies: [i1.NgIf, i2.MatTooltip, i3.FieldRenderComponent, i4.InputRenderComponent] });
74
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SchemaInputComponent, [{
75
+ type: Component,
76
+ args: [{ selector: 'schema-input', template: "<div class=\"row schema-input\"\r\n *ngIf=\"loaded && canRender(schema) && schema.type !== 'array' && schema.type !== 'object' && schema.minLength && schema.minLength > 0\">\r\n <div class=\"col-md-12\">\r\n <field-render [requiredLabel]=\"requiredLabel\" [label]=\"schema.title\" [tooltip]=\"schema.help\" [inputId]=\"getId(index)\">\r\n <input-render\r\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\r\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\r\n [selectClearLabel]=\"selectClearLabel\"\r\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\r\n [inputId]=\"getId(index)\"\r\n [schema]=\"schema\"\r\n [(model)]=\"this.model[schema.id]\"\r\n [modelPropertiesPath]=\"'mappingAttributes.' + schema.id\"\r\n [editing]=\"this.editing\"></input-render>\r\n </field-render>\r\n </div>\r\n</div>\r\n<div class=\"row schema-input\"\r\n *ngIf=\"loaded && canRender(schema) && schema.type !== 'array' && schema.type !== 'object' && (!schema.minLength || schema.minLength === 0)\">\r\n <div class=\"col-md-12\">\r\n <label class=\"info-label bold\" [htmlFor]=\"getId(index)\">\r\n {{schema.title}}\r\n <span class=\"config-tooltip\" matTooltip=\"{{ schema.help }}\" *ngIf=\"schema.help\">?</span>\r\n </label>\r\n <input-render\r\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\r\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\r\n [selectClearLabel]=\"selectClearLabel\"\r\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\r\n [inputId]=\"getId(index)\"\r\n [schema]=\"schema\"\r\n [(model)]=\"this.model[schema.id]\"\r\n [modelPropertiesPath]=\"'mappingAttributes.' + schema.id\"\r\n [editing]=\"this.editing\"></input-render>\r\n </div>\r\n</div>\r\n" }]
77
+ }], null, { requiredLabel: [{
78
+ type: Input
79
+ }], selectPlaceHolderLabel: [{
80
+ type: Input
81
+ }], selectSearchPlaceHolderLabel: [{
82
+ type: Input
83
+ }], selectClearLabel: [{
84
+ type: Input
85
+ }], selectNotFoundLabel: [{
86
+ type: Input
87
+ }], idPrefix: [{
88
+ type: Input
89
+ }], schema: [{
90
+ type: Input
91
+ }], editing: [{
92
+ type: Input
93
+ }], index: [{
94
+ type: Input
95
+ }] }); })();
96
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWlucHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2NoZW1hcy9zcmMvc2NoZW1hLWZvcm0vc2NoZW1hLWlucHV0L3NjaGVtYS1pbnB1d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3RGb3VuZExhYmVsXCJcclxuICAgICAgW2lucHV0SWRdPVwiZ2V0SWQoaW5kZXgpXCJcclxuICAgICAgW3NjaGVtYV09XCJzY2hlbWFcIlxyXG4gICAgICBbKG1vZGVsKV09XCJ0aGlzLm1vZGVsW3NjaGVtYS5pZF1cIlxyXG4gICAgICBbbW9kZWxQcm9wZXJ0aWVzUGF0aF09XCInbWFwcGluZ0F0dHJpYnV0ZXMuJyArIHNjaGVtYS5pZFwiXHJcbiAgICAgIFtlZGl0aW5nXT1cInRoaXMuZWRpdGluZ1wiPjwvaW5wdXQtcmVuZGVyPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -0,0 +1,123 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import { BaseSchemaComponent } from '../../base-schema.component';
3
+ import { onDropStruct } from '../../struct.utils';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ import * as i2 from "../schema-form";
7
+ import * as i3 from "../../schema-custom-attributes/schema-custom-attributes";
8
+ function SchemaObjectComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
9
+ const _r3 = i0.ɵɵgetCurrentView();
10
+ i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "label", 7);
11
+ i0.ɵɵtext(3);
12
+ i0.ɵɵelementEnd();
13
+ i0.ɵɵelementStart(4, "schema-custom-attributes", 8);
14
+ 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 i0.ɵɵresetView(ctx_r2.model[ctx_r2.schema.id].customAttributes = $event); });
15
+ i0.ɵɵelementEnd()()();
16
+ } if (rf & 2) {
17
+ const ctx_r1 = i0.ɵɵnextContext(2);
18
+ i0.ɵɵadvance(3);
19
+ i0.ɵɵtextInterpolate(ctx_r1.additionalAttributesLabel);
20
+ i0.ɵɵadvance(1);
21
+ 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);
22
+ } }
23
+ function SchemaObjectComponent_div_0_Template(rf, ctx) { if (rf & 1) {
24
+ const _r5 = i0.ɵɵgetCurrentView();
25
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
26
+ i0.ɵɵtext(2);
27
+ i0.ɵɵelementEnd();
28
+ i0.ɵɵelementStart(3, "schema-form", 3);
29
+ i0.ɵɵlistener("modelChange", function SchemaObjectComponent_div_0_Template_schema_form_modelChange_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView((ctx_r4.model[ctx_r4.schema.id] = $event)); });
30
+ i0.ɵɵelementEnd();
31
+ i0.ɵɵtemplate(4, SchemaObjectComponent_div_0_div_4_Template, 5, 9, "div", 4);
32
+ i0.ɵɵelementEnd();
33
+ } if (rf & 2) {
34
+ const ctx_r0 = i0.ɵɵnextContext();
35
+ i0.ɵɵadvance(2);
36
+ i0.ɵɵtextInterpolate(ctx_r0.schema.title);
37
+ i0.ɵɵadvance(1);
38
+ 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);
39
+ i0.ɵɵadvance(1);
40
+ i0.ɵɵproperty("ngIf", ctx_r0.model[ctx_r0.schema.id] && ctx_r0.schema.customProperties);
41
+ } }
42
+ export class SchemaObjectComponent extends BaseSchemaComponent {
43
+ constructor() {
44
+ super(...arguments);
45
+ this.requiredLabel = '(required)';
46
+ this.addItemLabel = 'Add Item';
47
+ this.addLoopLabel = 'Add Loop';
48
+ this.additionalAttributesLabel = 'Additional Fields';
49
+ this.customAttributeRemoveLabel = 'Remove';
50
+ this.newCustomFieldNameLabel = 'Name';
51
+ this.newCustomFieldValueLabel = 'Value';
52
+ this.newCustomFieldAddLabel = 'Add';
53
+ this.newCustomFieldSaveLabel = 'Save';
54
+ this.newCustomFieldCancelLabel = 'Cancel';
55
+ this.selectPlaceHolderLabel = 'Select Item';
56
+ this.selectSearchPlaceHolderLabel = 'Search';
57
+ this.selectClearLabel = 'Clear';
58
+ this.selectNotFoundLabel = 'No Items Found';
59
+ this.editing = false;
60
+ this.onDropEvent = new EventEmitter();
61
+ this.loaded = false;
62
+ }
63
+ ngAfterContentInit() {
64
+ if (this.schema?.type === 'object' && this.model) {
65
+ this.model[this.schema.id] = this.model[this.schema.id] || {};
66
+ }
67
+ this.loaded = true;
68
+ }
69
+ onDrop($event, modelElement) {
70
+ return onDropStruct($event, modelElement);
71
+ }
72
+ }
73
+ SchemaObjectComponent.ɵfac = /*@__PURE__*/ function () { let ɵSchemaObjectComponent_BaseFactory; return function SchemaObjectComponent_Factory(t) { return (ɵSchemaObjectComponent_BaseFactory || (ɵSchemaObjectComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SchemaObjectComponent)))(t || SchemaObjectComponent); }; }();
74
+ SchemaObjectComponent.ɵcmp = /*@__PURE__*/ 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) {
75
+ i0.ɵɵtemplate(0, SchemaObjectComponent_div_0_Template, 5, 20, "div", 0);
76
+ } if (rf & 2) {
77
+ i0.ɵɵproperty("ngIf", ctx.loaded && ctx.canRender(ctx.schema) && ctx.schema.type == "object");
78
+ } }, dependencies: [i1.NgIf, i2.SchemaFormComponent, i3.SchemaCustomAttributesComponent], styles: [".schema-object-container[_ngcontent-%COMP%]{border:1px solid #ddd;padding:10px;margin-top:10px;margin-bottom:10px;border-radius:5px}.schema-object-container[_ngcontent-%COMP%] .schema-object-title[_ngcontent-%COMP%]{background:#EEEEEE;font-weight:700;border-bottom:1px solid #ddd;padding:10px;margin-top:-10px;margin-left:-10px;width:calc(100% + 20px)}"] });
79
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SchemaObjectComponent, [{
80
+ type: Component,
81
+ args: [{ selector: 'schema-object', template: "<div class=\"schema-object-container\" *ngIf=\"loaded && canRender(schema) && schema.type == 'object'\">\r\n <div class=\"schema-object-title\">{{schema.title}}</div>\r\n <schema-form\r\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\r\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\r\n [selectClearLabel]=\"selectClearLabel\"\r\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\r\n [requiredLabel]=\"requiredLabel\"\r\n [addItemLabel]=\"addItemLabel\"\r\n [addLoopLabel]=\"addLoopLabel\"\r\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\r\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\r\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\r\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\r\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\r\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\r\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\r\n [idPrefix]=\"idPrefix\"\r\n [(model)]=\"model[schema.id]\"\r\n [schemas]=\"getSchemaProperties()\"\r\n [editing]=\"this.editing\">\r\n </schema-form>\r\n\r\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model[schema.id] && schema.customProperties\">\r\n <div class=\"col-md-12\">\r\n <label class=\"info-label bold\">{{ this.additionalAttributesLabel }}</label>\r\n <schema-custom-attributes\r\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\r\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\r\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\r\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\r\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\r\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\r\n [(model)]=\"this.model[schema.id].customAttributes\"\r\n [onDropFunction]=\"onDrop\">\r\n </schema-custom-attributes>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n", styles: [".schema-object-container{border:1px solid #ddd;padding:10px;margin-top:10px;margin-bottom:10px;border-radius:5px}.schema-object-container .schema-object-title{background:#EEEEEE;font-weight:700;border-bottom:1px solid #ddd;padding:10px;margin-top:-10px;margin-left:-10px;width:calc(100% + 20px)}\n"] }]
82
+ }], null, { requiredLabel: [{
83
+ type: Input
84
+ }], addItemLabel: [{
85
+ type: Input
86
+ }], addLoopLabel: [{
87
+ type: Input
88
+ }], additionalAttributesLabel: [{
89
+ type: Input
90
+ }], customAttributeRemoveLabel: [{
91
+ type: Input
92
+ }], newCustomFieldNameLabel: [{
93
+ type: Input
94
+ }], newCustomFieldValueLabel: [{
95
+ type: Input
96
+ }], newCustomFieldAddLabel: [{
97
+ type: Input
98
+ }], newCustomFieldSaveLabel: [{
99
+ type: Input
100
+ }], newCustomFieldCancelLabel: [{
101
+ type: Input
102
+ }], selectPlaceHolderLabel: [{
103
+ type: Input
104
+ }], selectSearchPlaceHolderLabel: [{
105
+ type: Input
106
+ }], selectClearLabel: [{
107
+ type: Input
108
+ }], selectNotFoundLabel: [{
109
+ type: Input
110
+ }], idPrefix: [{
111
+ type: Input
112
+ }], modelPropertiesPath: [{
113
+ type: Input
114
+ }], inputId: [{
115
+ type: Input
116
+ }], editing: [{
117
+ type: Input
118
+ }], index: [{
119
+ type: Input
120
+ }], onDropEvent: [{
121
+ type: Output
122
+ }] }); })();
123
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLW9iamVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NjaGVtYXMvc3JjL3NjaGVtYS1mb3JtL3NjaGVtYS1vYmplY3Qvc2NoZW1hLW9iamVjdC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NjaGVtYXMvc3JjL3NjaGVtYS1mb3JtL3NjaGVtYS1vYmplY3Qvc2NoZW1hLW9iamVjdC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0IsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3hGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFBO0FBRWpFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQTs7Ozs7OztJQ29CL0MsOEJBQW1HLGFBQUEsZUFBQTtJQUVoRSxZQUFvQztJQUFBLGlCQUFRO0lBQzNFLG1EQVE0QjtJQUQxQiw2TUFBVyx3RUFDZCxJQURxRDtJQUVwRCxpQkFBMkIsRUFBQSxFQUFBOzs7SUFWSSxlQUFvQztJQUFwQyxzREFBb0M7SUFFakUsZUF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