@apipass/schemas 0.2.5-alpha.1 → 0.2.5-alpha.4

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 (31) hide show
  1. package/bundles/apipass-schemas.umd.js +407 -192
  2. package/bundles/apipass-schemas.umd.js.map +1 -1
  3. package/bundles/apipass-schemas.umd.min.js +2 -2
  4. package/bundles/apipass-schemas.umd.min.js.map +1 -1
  5. package/esm2015/schema-custom-attributes/schema-custom-attributes.js +56 -41
  6. package/esm2015/schema-fields.service.js +18 -10
  7. package/esm2015/schema-form/schema-array/array-session/array-session.js +39 -37
  8. package/esm2015/schema-form/schema-array/schema-array.js +70 -31
  9. package/esm2015/schema-form/schema-form.js +51 -9
  10. package/esm2015/schema-form/schema-input/field-render/field-render.js +21 -19
  11. package/esm2015/schema-form/schema-input/input-render/input-render.js +18 -11
  12. package/esm2015/schema-form/schema-input/schema-input.js +27 -14
  13. package/esm2015/schema-form/schema-object/schema-object.js +54 -14
  14. package/esm2015/schema-form-render.js +54 -14
  15. package/esm2015/schema-form-render.module.js +4 -9
  16. package/esm2015/schema-validation-field.js +1 -1
  17. package/fesm2015/apipass-schemas.js +401 -187
  18. package/fesm2015/apipass-schemas.js.map +1 -1
  19. package/package.json +1 -1
  20. package/schema-custom-attributes/schema-custom-attributes.d.ts +7 -1
  21. package/schema-fields.service.d.ts +7 -4
  22. package/schema-form/schema-array/array-session/array-session.d.ts +4 -2
  23. package/schema-form/schema-array/schema-array.d.ts +15 -1
  24. package/schema-form/schema-form.d.ts +15 -1
  25. package/schema-form/schema-input/field-render/field-render.d.ts +2 -1
  26. package/schema-form/schema-input/input-render/input-render.d.ts +5 -1
  27. package/schema-form/schema-input/schema-input.d.ts +6 -1
  28. package/schema-form/schema-object/schema-object.d.ts +15 -1
  29. package/schema-form-render.d.ts +15 -1
  30. package/schema-form-render.module.d.ts +2 -3
  31. package/schema-validation-field.d.ts +7 -1
@@ -1 +1 @@
1
- {"version":3,"file":"apipass-schemas.js","sources":["../../../projects/schemas/src/base-schema.component.ts","../../../projects/schemas/src/struct.utils.ts","../../../projects/schemas/src/schema-form/schema-array/array-session/array-session.html","../../../projects/schemas/src/schema-form/schema-array/array-session/array-session.ts","../../../projects/schemas/src/schema-form/schema-form.html","../../../projects/schemas/src/schema-form/schema-form.ts","../../../projects/schemas/src/schema-custom-attributes/schema-custom-attributes.html","../../../projects/schemas/src/schema-custom-attributes/schema-custom-attributes.ts","../../../projects/schemas/src/schema-form/schema-array/schema-array.html","../../../projects/schemas/src/schema-form/schema-array/schema-array.ts","../../../projects/schemas/src/schema-form/schema-input/field-render/field-render.html","../../../projects/schemas/src/schema-form/schema-input/field-render/field-render.ts","../../../projects/schemas/src/schema-form/schema-input/input-render/number-input/number-input.component.ts","../../../projects/schemas/src/schema-form/schema-input/input-render/number-input/number-input.component.html","../../../projects/schemas/src/schema-form/schema-input/input-render/boolean-input/boolean-input.component.ts","../../../projects/schemas/src/schema-form/schema-input/input-render/boolean-input/boolean-input.component.html","../../../projects/schemas/src/schema-form/schema-input/input-render/input-render.html","../../../projects/schemas/src/schema-form/schema-input/input-render/input-render.ts","../../../projects/schemas/src/schema-form/schema-input/schema-input.html","../../../projects/schemas/src/schema-form/schema-input/schema-input.ts","../../../projects/schemas/src/schema-form/schema-object/schema-object.html","../../../projects/schemas/src/schema-form/schema-object/schema-object.ts","../../../projects/schemas/src/schema-validation-field.ts","../../../projects/schemas/src/schema-fields.service.ts","../../../projects/schemas/src/schema-form-render.html","../../../projects/schemas/src/schema-form-render.ts","../../../projects/schemas/src/schema-form-render.module.ts","../../../projects/schemas/src/type-script-compile.ts","../../../projects/schemas/src/apipass-schemas.ts"],"sourcesContent":["import {Component, EventEmitter, Input, Output} from '@angular/core';\n\n@Component({\n template: ''\n})\nexport abstract class BaseSchemaComponent {\n\n @Input() model: any;\n @Input() public schema: any;\n @Output() modelChange: EventEmitter<any> = new EventEmitter<any>();\n\n getSchemaProperties(): any {\n return this.schema.properties instanceof Array ? this.schema.properties : [this.schema.properties];\n }\n\n public canRender(property: any): boolean {\n // tslint:disable-next-line:no-eval\n property.canRender = property?.conditionExpression ? eval(property.conditionExpression) : true;\n return property.canRender;\n }\n\n public onDrop(event: any, attr: any): string {\n const data = event.data;\n if (!attr) {\n attr = '';\n }\n attr += `{{${data}}}`;\n return attr;\n }\n\n}\n","export function onDropStruct(event: any, attr: any): any {\n const data = event.data;\n if (!attr) {\n attr = '';\n }\n attr += `{{${data}}}`;\n return attr;\n}\n","<div class=\"row\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ label | translate }}</label>\n <div class=\"subsection-element\" *ngFor=\"let item of model; let index = index; trackBy:trackByIndex;\">\n <div class=\"subsection-item-title\">{{removeLabel | translate}} {{index + 1}}\n <i class=\"far fa-trash-alt\" (click)=\"remove(item)\"></i>\n </div>\n <div class=\"row\" *ngIf=\"item.mappingAttributes || item.mappingAttributes === ''\">\n <div class=\"col-md-8\">\n <label class=\"info-label\">Loop</label>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.loop\" [ngModelOptions]=\"{standalone: true}\"\n dndDropzone (dndDrop)=\"item.loop = this.onDrop($event, item.loop)\" />\n </div>\n <div class=\"col-md-4\">\n <label class=\"info-label\">Alias</label>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.alias\" [ngModelOptions]=\"{standalone: true}\"\n dndDropzone (dndDrop)=\"item.alias = this.onDrop($event, item.alias)\" />\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"subsectionItem, context: {\n $implicit: {\n items: model, index: index,\n mappingAttributes: (item.mappingAttributes || item.mappingAttributes === '') ? item.mappingAttributes : item\n }\n }\"></ng-container>\n </div>\n </div>\n</div>\n<div class=\"row add-buttons\">\n <div class=\"col-md-12\">\n <button class=\"btn btn-outline-primary float-left btn-personal-edit\" (click)=\"add()\">{{'ADD_ITEM' | translate}}</button>\n <button class=\"btn btn-outline-primary float-left btn-personal-edit ml-2\" *ngIf=\"showAddLoop\" (click)=\"addLoop()\">{{'ADD_LOOP' | translate}}</button>\n </div>\n</div>\n","import {Component, ContentChild, EventEmitter, Input, Output, TemplateRef} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../base-schema.component';\n\n@Component({\n selector: 'array-session',\n templateUrl: 'array-session.html',\n styleUrls: ['array-session.scss']\n})\nexport class ArraySessionComponent extends BaseSchemaComponent {\n\n @Input() public label = '';\n @Input() public showAddLoop = true;\n @Input() public removeLabel = '';\n\n @Output() public onAdd: EventEmitter<any> = new EventEmitter<any>();\n @Output() public onAddLoop: EventEmitter<any> = new EventEmitter<any>();\n\n @ContentChild(TemplateRef, { read: TemplateRef })\n public subsectionItem: TemplateRef<any> | undefined;\n\n public add(): void {\n this.onAdd.next();\n }\n\n public addLoop(): void {\n this.onAddLoop.next();\n }\n\n public remove(item: any): any {\n const values = this.model;\n const index = values.indexOf(item);\n values.splice(index, 1);\n this.model = values;\n }\n\n public trackByIndex(index: number, obj: any): any {\n return index;\n }\n\n}\n","<div class=\"schema-properties\" *ngFor=\"let schema of schemas; let i = index\">\n <schema-input [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schema]=\"schema\"\n [editing]=\"this.editing\"\n [index]=\"i\">\n </schema-input>\n <schema-object [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schema]=\"schema\"\n [editing]=\"this.editing\"\n [index]=\"i\">\n </schema-object>\n <schema-array [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schema]=\"schema\"\n [editing]=\"this.editing\"\n [index]=\"i\">\n </schema-array>\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../base-schema.component';\nimport {onDropStruct} from '../struct.utils';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'schema-form',\n templateUrl: 'schema-form.html',\n styleUrls: ['./schema-form.scss']\n})\nexport class SchemaFormComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() idPrefix: string | undefined;\n @Input() schemas = [];\n @Input() customProperties = false;\n @Input() editing = false;\n @Input() inputType: string | undefined;\n\n loaded = false;\n\n ngAfterContentInit(): void {\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n getId(index: number): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n}\n\n","<div class=\"row custom-attributes\" *ngFor=\"let attribute of model; let i = index\">\n <div class=\"col-md-12\">\n <label class=\"info-label\">{{ attribute.label }}</label>\n <span (click)=\"removeCustomAttribute(i)\" class=\"customAttributeDeleteIcon\">\n <i class=\"far fa-trash-alt\" [matTooltip]=\"'REMOVE' | translate\"></i>\n </span>\n\n <input\n class=\"form-control\"\n [(ngModel)]=\"attribute.value\"\n [ngModelOptions]=\"{standalone: true}\"\n dndDropzone\n (dndDrop)=\"onDropAttr($event, attribute)\"\n />\n </div>\n</div>\n<div *ngIf=\"newCustomField\" class=\"struct-custom-field\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <label class=\"info-label\">{{'STEP.NAME' | translate}}<strong>*</strong></label>\n <input class=\"form-control\" [(ngModel)]=\"newCustomField.label\" [ngModelOptions]=\"{standalone: true}\"/>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-12\">\n <label class=\"info-label\">{{'STEP.VALUE' | translate}}<strong>*</strong></label>\n <input\n class=\"form-control\"\n [(ngModel)]=\"newCustomField.value\"\n [ngModelOptions]=\"{standalone: true}\"\n dndDropzone\n (dndDrop)=\"onDropAttr($event, newCustomField)\"\n />\n </div>\n </div>\n</div>\n<div class=\"row actions-buttons\">\n <div class=\"col-md-12 pull-right\">\n <button class=\"btn btn-outline-primary float-left\" *ngIf=\"!newCustomField\" (click)=\"newCustomField = {}\">\n {{'ADD' | translate }}\n </button>\n <button\n class=\"btn btn-outline-danger float-left ml-2\"\n *ngIf=\"newCustomField\"\n (click)=\"newCustomField = null\"\n >\n {{'CANCEL' | translate }}\n </button>\n <button\n class=\"btn btn-outline-primary float-left\"\n *ngIf=\"newCustomField && newCustomField.label && newCustomField.value\"\n (click)=\"saveNewAttribute(newCustomField)\"\n >\n {{'SAVE' | translate }}\n </button>\n </div>\n</div>\n","import {AfterContentInit, Component, EventEmitter, Input, Output} from '@angular/core';\nimport {BaseSchemaComponent} from '../base-schema.component';\n\n@Component({\n selector: 'schema-custom-attributes',\n templateUrl: 'schema-custom-attributes.html',\n styleUrls: ['./schema-custom-attributes.scss']\n})\nexport class SchemaCustomAttributesComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() onDropFunction: (() => any | undefined) | undefined;\n\n @Output() onSaveAttribute: EventEmitter<any> = new EventEmitter<any>();\n @Output() onDropOnAttribute: EventEmitter<any> = new EventEmitter<any>();\n\n public newCustomField: any;\n\n ngAfterContentInit(): void {\n if (!this.model) {\n this.model = [];\n }\n }\n\n public saveNewAttribute(newCustomField: any): void {\n this.onSaveAttribute.emit(newCustomField);\n this.model.push(newCustomField);\n this.newCustomField = null;\n this.modelChange.emit(this.model);\n }\n\n public removeCustomAttribute(attributeIndex: any): void {\n this.model.splice(attributeIndex, 1);\n this.modelChange.emit(this.model);\n }\n\n public onDropAttr($event: any, attribute: any): void {\n if (!attribute.value) {\n attribute.value = '';\n }\n attribute.value += `{{${$event.data}}}`;\n }\n\n}\n","<div *ngIf=\"loaded && canRender(schema) && schema.type === 'array' && schema.properties\">\n <array-session\n [label]=\"schema.title\"\n [removeLabel]=\"schema.title\"\n [(model)]=\"this.model[schema.id]\"\n [showAddLoop]=\"schema.withoutLoop !== true\"\n (onAdd)=\"addArrayItem(schema.id, {})\"\n (onAddLoop)=\"addArrayLoop(schema.id, {})\">\n <ng-template let-item>\n <schema-form *ngIf=\"this.model[schema.id][item.index].loop !== undefined\" [idPrefix]=\"idPrefix\"\n [(model)]=\"this.model[schema.id][item.index].mappingAttributes\"\n [schemas]=\"getSchemaProperties()\"\n [editing]=\"this.editing\">\n </schema-form>\n <schema-form *ngIf=\"this.model[schema.id][item.index].loop == undefined\" [idPrefix]=\"idPrefix\"\n [(model)]=\"this.model[schema.id][item.index]\"\n [schemas]=\"getSchemaProperties()\"\n [editing]=\"this.editing\">\n </schema-form>\n\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model[schema.id][item.index] && schema.customProperties\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ 'STEP.ADDITIONAL_ATTRIBUTES' | translate }}</label>\n <schema-custom-attributes [(model)]=\"this.model[schema.id][item.index].customAttributes\" [onDropFunction]=\"onDrop\">\n </schema-custom-attributes>\n </div>\n </div>\n\n </ng-template>\n </array-session>\n</div>\n<div *ngIf=\"schema && canRender(schema) && schema.type === 'array' && !schema.properties\">\n <array-session\n [label]=\"schema.title\"\n [removeLabel]=\"schema.title\"\n [(model)]=\"this.model[schema.id]\"\n [showAddLoop]=\"schema.withoutLoop !== true\"\n (onAdd)=\"addArrayItem(schema.id, '')\"\n (onAddLoop)=\"addArrayLoop(schema.id, '')\"\n >\n <ng-template let-item>\n <label class=\"info-label\" [htmlFor]=\"getId(index)+'-'+item.index\">{{ schema.title | translate }}</label>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.items[item.index].mappingAttributes\"\n [ngModelOptions]=\"{standalone: true}\" dndDropzone\n (dndDrop)=\"item.items[item.index].mappingAttributes = this.onDrop($event, item.items[item.index].mappingAttributes)\"\n *ngIf=\"item.items[item.index].mappingAttributes || item.items[item.index].mappingAttributes === ''; else elseBlock\"\n [id]=\"getId(index)+'-'+item.index\"/>\n <ng-template #elseBlock>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.items[item.index]\"\n [ngModelOptions]=\"{standalone: true}\" dndDropzone\n (dndDrop)=\"item.items[item.index] = this.onDrop($event, item.items[item.index])\"\n [id]=\"getId(index)+'-'+item.index\"/>\n </ng-template>\n </ng-template>\n </array-session>\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../base-schema.component';\nimport {onDropStruct} from '../../struct.utils';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'schema-array',\n templateUrl: 'schema-array.html',\n styleUrls: ['./schema-array.scss']\n})\nexport class SchemaArrayComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() idPrefix: string | undefined;\n @Input() schema: any;\n @Input() editing = false;\n @Input() index: number | undefined;\n\n loaded: boolean | undefined;\n\n ngAfterContentInit(): void {\n if (this.schema?.type === 'array' && this.model && !this.model[this.schema.id]) {\n this.model[this.schema.id] = [];\n }\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n getId(index: any): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n addArrayItem(id: any, param: any): void {\n this.model[id] = this.model[id] || [];\n if (this.schema.properties) {\n param = {};\n Object.keys(this.schema.properties).forEach(key => {\n const schemaProperty = this.schema.properties[key];\n if (schemaProperty.type === 'object') {\n param[schemaProperty.id] = {};\n } else if (schemaProperty.type === 'array') {\n param[schemaProperty.id] = [];\n }\n });\n }\n this.model[id].push(param);\n }\n\n addArrayLoop(id: any, mappingAttributes: any): void {\n this.model[id] = this.model[id] || [];\n this.model[id].push({loop: '', alias: '', mappingAttributes});\n }\n\n}\n\n","<div [ngClass]=\"{'has-error':state && !state.valid && (!state.pristine || state.touched) && state.errors}\">\n <label class=\"info-label bold\" [htmlFor]=\"inputId\">\n {{ label | translate }}\n <small [ngClass]=\"{'has-error':state && !state.valid && state.errors}\" *ngIf=\"required\">(obrigatório)</small>\n <span class=\"info-icon\" matTooltip=\"{{ tooltip | translate }}\" *ngIf=\"tooltip\">\n <i class=\"far fa-question-circle\"></i>\n </span>\n </label>\n\n <!-- Input, textarea or select -->\n <ng-content></ng-content>\n</div>","import {Component, Input} from '@angular/core';\nimport {FormControl} from '@angular/forms';\n\n@Component({\n selector: 'field-render',\n templateUrl: 'field-render.html',\n styleUrls: ['field-render.scss']\n})\nexport class FieldRenderComponent {\n\n @Input() label = '';\n @Input() inputId: string | undefined;\n @Input() tooltip: string | undefined;\n @Input() required = true;\n\n /**\n * Estado do input no formulário para validar quando\n * é necessário exibir as mensagens de erro.\n */\n @Input() state: FormControl | undefined;\n\n}\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'number-input',\n templateUrl: 'number-input.component.html'\n})\nexport class NumberInputComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() placeholder: string | undefined;\n @Input() inputId: string | undefined;\n @Input() maxLength: any;\n\n value: string | undefined;\n\n ngAfterContentInit(): void {\n this.value = this.model;\n }\n\n onDropCallBack($event: DndDropEvent, value: any): void {\n this.value = value = super.onDrop($event, value);\n this.changeValue(value);\n }\n\n public changeValue($event: any): void {\n if ($event && !isNaN($event)) {\n this.model = Number($event);\n this.modelChange.emit(this.model);\n } else {\n this.model = $event;\n this.modelChange.emit(this.model);\n }\n }\n\n}\n","<input class=\"form-control number-input\"\n [id]=\"inputId\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"changeValue($event)\"\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\"\n [maxlength]=\"maxLength\">\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'boolean-input',\n templateUrl: 'boolean-input.component.html',\n})\nexport class BooleanInputComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() placeholder: string | undefined;\n @Input() inputId: string | undefined;\n @Input() maxLength: any;\n\n value: string | undefined;\n\n ngAfterContentInit(): void {\n this.value = this.model;\n }\n\n onDropCallBack($event: DndDropEvent, value: any): void {\n this.value = value = super.onDrop($event, value);\n this.changeValue(value);\n }\n\n public changeValue($event: any): void {\n if ($event && ($event === 'true' || $event === 'false')) {\n this.model = $event === 'true';\n this.value = this.model;\n this.modelChange.emit(this.model);\n } else {\n this.model = $event;\n this.value = this.model;\n this.modelChange.emit(this.model);\n }\n }\n\n}\n","<input class=\"form-control\"\n [id]=\"inputId\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"changeValue($event)\"\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\"\n [maxlength]=\"maxLength\">\n","<div class=\"schema-input-container\">\n <input class=\"form-control\" [type]=\"schema.type === 'password' ? 'password' : 'text'\"\n placeholder=\"{{schema.description}}\"\n *ngIf=\"(schema.type === 'string' || schema.type === 'password') && !schema.options\"\n [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"onChange($event)\"\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\" [id]=\"inputId\" [maxlength]=\"schema.maxLength\"/>\n\n <select-box\n [id]=\"inputId\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event.key)\"\n [ngModelOptions]=\"{standalone: true}\"\n *ngIf=\"schema.type === 'string' && schema.options\"\n [placeholder]=\"schema.description || 'COMPONENTS.SCHEMA.SELECT.PLACEHOLDER' | translate\"\n [searchPlaceHolder]=\"'COMPONENTS.SCHEMA.SELECT.SEARCH' | translate\"\n [clearText]=\"'COMPONENTS.SCHEMA.SELECT.CLEAR' | translate\"\n [notFoundText]=\"'COMPONENTS.SCHEMA.SELECT.NOT_FOUND' | translate\"\n [bindKey]=\"'key'\"\n [bindValue]=\"'value'\"\n [enabledSearch]=\"true\"\n [limitItens]=\"30\"\n [data]=\"schema.options\">\n </select-box>\n\n <number-input [(model)]=\"value\" [inputId]=\"inputId\"\n *ngIf=\"schema.type === 'number'\"\n [placeholder]=\"schema.description\" [maxLength]=\"schema.maxLength\"\n (modelChange)=\"onChange($event)\"></number-input>\n\n <boolean-input [(model)]=\"value\" [inputId]=\"inputId\"\n *ngIf=\"schema.type === 'boolean'\"\n [placeholder]=\"schema.description\" [maxLength]=\"schema.maxLength\"\n (modelChange)=\"onChange($event)\"></boolean-input>\n</div>\n","import {AfterContentInit, Component, EventEmitter, Input, Output} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'input-render',\n templateUrl: 'input-render.html',\n styleUrls: ['./input-render.scss']\n})\nexport class InputRenderComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public schema: any = {};\n @Input() public modelPropertiesPath: string | undefined;\n @Input() public inputId: string | undefined;\n @Input() public editing = false;\n\n @Output() public onDropEvent = new EventEmitter<{ $event: DndDropEvent, modelElement: any }>();\n\n value: any;\n\n ngAfterContentInit(): void {\n if (this.schema?.type !== 'object' && this.schema?.type !== 'array') {\n if (!this.editing && this.schema.options) {\n const $event = this.schema.options.filter((item: any) => item.selected === true);\n if ($event[0]) {\n this.onChange($event[0].key);\n this.value = $event[0];\n }\n } else if (this.editing && this.schema.options && this.model) {\n const $event = this.schema.options.filter((item: any) => item.key === this.model);\n if ($event[0]) {\n this.onChange($event[0].key);\n this.value = $event[0];\n }\n } else {\n this.value = this.model;\n }\n }\n }\n\n onDropCallBack($event: DndDropEvent, value: any): void {\n this.value = value = super.onDrop($event, value);\n this.onChange(value);\n }\n\n onChange($event: any): void {\n this.model = $event;\n this.modelChange.emit(this.model);\n }\n\n}\n","<div class=\"row schema-input\"\n *ngIf=\"loaded && canRender(schema) && schema.type !== 'array' && schema.type !== 'object' && schema.minLength && schema.minLength > 0\">\n <div class=\"col-md-12\">\n <field-render [label]=\"schema.title\" [tooltip]=\"schema.help\" [inputId]=\"getId(index)\">\n <input-render [inputId]=\"getId(index)\" [schema]=\"schema\" [(model)]=\"this.model[schema.id]\"\n [modelPropertiesPath]=\"'mappingAttributes.' + schema.id\"\n [editing]=\"this.editing\"></input-render>\n </field-render>\n </div>\n</div>\n<div class=\"row schema-input\"\n *ngIf=\"loaded && canRender(schema) && schema.type !== 'array' && schema.type !== 'object' && (!schema.minLength || schema.minLength === 0)\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\" [htmlFor]=\"getId(index)\">\n {{schema.title}}\n <span class=\"config-tooltip\" matTooltip=\"{{ schema.help | translate }}\" *ngIf=\"schema.help\">?</span>\n </label>\n <input-render [inputId]=\"getId(index)\" [schema]=\"schema\" [(model)]=\"this.model[schema.id]\"\n [modelPropertiesPath]=\"'mappingAttributes.' + schema.id\"\n [editing]=\"this.editing\"></input-render>\n </div>\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../base-schema.component';\n\n@Component({\n selector: 'schema-input',\n templateUrl: 'schema-input.html',\n styleUrls: ['./schema-input.scss']\n})\nexport class SchemaInputComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() idPrefix: string | undefined;\n @Input() schema: any;\n @Input() editing = false;\n @Input() index: number | undefined;\n\n loaded: boolean | undefined;\n\n ngAfterContentInit(): void {\n this.loaded = true;\n }\n\n getId(index: any): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n}\n\n","<div class=\"schema-object-container\" *ngIf=\"loaded && canRender(schema) && schema.type == 'object'\">\n <div class=\"schema-object-title\">{{schema.title}}</div>\n <schema-form [idPrefix]=\"idPrefix\"\n [(model)]=\"model[schema.id]\"\n [schemas]=\"getSchemaProperties()\"\n [editing]=\"this.editing\">\n </schema-form>\n\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model[schema.id] && schema.customProperties\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ 'STEP.ADDITIONAL_ATTRIBUTES' | translate }}</label>\n <schema-custom-attributes [(model)]=\"this.model[schema.id].customAttributes\" [onDropFunction]=\"onDrop\">\n </schema-custom-attributes>\n </div>\n </div>\n\n</div>\n","import {AfterContentInit, Component, EventEmitter, Input, Output} from '@angular/core';\nimport {BaseSchemaComponent} from '../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\nimport {onDropStruct} from '../../struct.utils';\n\n@Component({\n selector: 'schema-object',\n templateUrl: 'schema-object.html',\n styleUrls: ['./schema-object.scss']\n})\nexport class SchemaObjectComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public idPrefix: string | undefined;\n @Input() public modelPropertiesPath: string | undefined;\n @Input() public inputId: string | undefined;\n @Input() public editing = false;\n @Input() index: number | undefined;\n\n @Output() public onDropEvent = new EventEmitter<{ $event: DndDropEvent, modelElement: any }>();\n loaded = false;\n\n ngAfterContentInit(): void {\n if (this.schema?.type === 'object' && this.model) {\n this.model[this.schema.id] = this.model[this.schema.id] || {};\n }\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n}\n","export type StructFieldType = Array<{\n title?: string,\n id: string,\n description?: string,\n propertyOrder?: number,\n minLength?: number,\n maxLength?: number\n}>;\n\nexport class SchemaValidationField {\n\n emptyFields: StructFieldType;\n invalidMinLengthFields: StructFieldType;\n invalidMaxLengthFields: StructFieldType;\n validationErrorsLabel: string[] | undefined;\n\n constructor(emptyFields: StructFieldType, invalidMinLengthFields: StructFieldType, invalidMaxLengthFields: StructFieldType) {\n this.emptyFields = emptyFields;\n this.invalidMinLengthFields = invalidMinLengthFields;\n this.invalidMaxLengthFields = invalidMaxLengthFields;\n }\n\n isValidSchemaFields(): boolean {\n return this.emptyFields?.length < 1 && this.invalidMinLengthFields?.length < 1 && this.invalidMaxLengthFields?.length < 1;\n }\n\n isInvalidSchemaFields(): boolean {\n return !this.isValidSchemaFields();\n }\n\n}\n","import {Injectable} from '@angular/core';\nimport {SchemaValidationField} from './schema-validation-field';\nimport {TranslateService} from '@ngx-translate/core';\n\n@Injectable()\nexport class SchemaFieldsService {\n\n constructor(private translate: TranslateService) {\n }\n\n public async validateSchemaFields(propertiesRendered: Array<any>, model: any): Promise<SchemaValidationField> {\n\n if (!propertiesRendered) {\n return new SchemaValidationField([], [], []);\n }\n\n const emptyFields: any[] = [];\n const invalidMinLengthFields: any[] = [];\n const invalidMaxLengthFields: any[] = [];\n this.processProperties(propertiesRendered, model, emptyFields, invalidMinLengthFields, invalidMaxLengthFields);\n\n const structValidationField = new SchemaValidationField(emptyFields, invalidMinLengthFields, invalidMaxLengthFields);\n structValidationField.validationErrorsLabel = await this.getErrorsStringArray(structValidationField);\n\n return structValidationField;\n\n }\n\n private processProperties(propertiesRendered: Array<any>,\n model: any, emptyFields: any[],\n invalidMinLengthFields: any[],\n invalidMaxLengthFields: any[],\n recursive?: boolean): void {\n for (const property of propertiesRendered) {\n if ((property.type === 'object' || property.type === 'array') && property.properties) {\n this.processProperties(property.properties, model[property.id], emptyFields, invalidMinLengthFields, invalidMaxLengthFields, true);\n } else if (property.type === 'array' && !property.properties) {\n const newProperty = {...property};\n newProperty.type = 'string';\n this.processProperties([newProperty], model[property.id], emptyFields, invalidMinLengthFields, invalidMaxLengthFields, true);\n } else {\n const validateModel = recursive ? model : model[property.id];\n if (property?.canRender && property?.minLength > 0\n && (validateModel === undefined || validateModel === '' || validateModel === null)) {\n emptyFields.push(property);\n } else if (property?.canRender && property?.minLength > 0 && (validateModel?.length < property.minLength)) {\n invalidMinLengthFields.push(property);\n } else if (property?.canRender && property?.maxLength > 0 && (validateModel?.length > property.maxLength)) {\n invalidMaxLengthFields.push(property);\n }\n }\n }\n }\n\n public async getErrorsStringArray(structValidation: SchemaValidationField): Promise<string[]> {\n if (!structValidation.isInvalidSchemaFields()) {\n return [];\n }\n const errors = [];\n for (const field of structValidation.emptyFields) {\n const fieldName = field.title || field.id;\n errors.push(this.translate.instant('COMPONENTS.STRUCT.VALIDATION_FIELDS.REQUIRED_FIELD_ERROR', {fieldName}));\n }\n for (const field of structValidation.invalidMinLengthFields) {\n const fieldName = field.title || field.id;\n errors.push(this.translate.instant('COMPONENTS.STRUCT.VALIDATION_FIELDS.MINLENGTH_FIELD_ERROR',\n {fieldName, minLength: field.minLength}));\n }\n for (const field of structValidation.invalidMaxLengthFields) {\n const fieldName = field.title || field.id;\n errors.push(this.translate.instant('COMPONENTS.STRUCT.VALIDATION_FIELDS.MAXLENGTH_FIELD_ERROR',\n {fieldName, maxLength: field.maxLength}));\n }\n return errors;\n }\n\n}\n","<div class=\"schema\" *ngIf=\"loaded\">\n <schema-form [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schemas]=\"schemas\"\n [editing]=\"this.editing\"></schema-form>\n\n <div class=\"schema-properties\" *ngFor=\"let schema of schemas; let i = index\">\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model && customProperties\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ 'STEP.ADDITIONAL_ATTRIBUTES' | translate }}</label>\n <schema-custom-attributes [(model)]=\"model.customAttributes\" [onDropFunction]=\"onDrop\">\n </schema-custom-attributes>\n </div>\n </div>\n </div>\n\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from './base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\nimport {onDropStruct} from './struct.utils';\n\n@Component({\n selector: 'schema-form-render',\n templateUrl: 'schema-form-render.html',\n styleUrls: ['./schema-form-render.scss']\n})\nexport class SchemaFormRenderComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() idPrefix: string | undefined;\n @Input() schemas = [];\n @Input() customProperties = false;\n @Input() editing = false;\n @Input() inputType: string | undefined;\n\n loaded = false;\n\n ngAfterContentInit(): void {\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n getId(index: number): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n}\n\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {FormsModule} from '@angular/forms';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {SchemaArrayComponent} from './schema-form/schema-array/schema-array';\nimport {SchemaInputComponent} from './schema-form/schema-input/schema-input';\nimport {FieldRenderComponent} from './schema-form/schema-input/field-render/field-render';\nimport {SchemaObjectComponent} from './schema-form/schema-object/schema-object';\nimport {ArraySessionComponent} from './schema-form/schema-array/array-session/array-session';\nimport {InputRenderComponent} from './schema-form/schema-input/input-render/input-render';\nimport {SchemaFieldsService} from './schema-fields.service';\nimport {SchemaFormComponent} from './schema-form/schema-form';\nimport {SchemaCustomAttributesComponent} from './schema-custom-attributes/schema-custom-attributes';\nimport {BooleanInputComponent} from './schema-form/schema-input/input-render/boolean-input/boolean-input.component';\nimport {NumberInputComponent} from './schema-form/schema-input/input-render/number-input/number-input.component';\nimport {DndModule} from 'ngx-drag-drop';\nimport {MatTooltipModule} from '@angular/material/tooltip';\nimport {SchemaFormRenderComponent} from './schema-form-render';\nimport {InputsModule} from '@apipass/inputs';\n\n@NgModule({\n imports: [\n CommonModule,\n DndModule,\n FormsModule,\n MatTooltipModule,\n TranslateModule,\n InputsModule\n ],\n declarations: [\n ArraySessionComponent,\n SchemaArrayComponent,\n FieldRenderComponent,\n InputRenderComponent,\n BooleanInputComponent,\n NumberInputComponent,\n SchemaInputComponent,\n SchemaObjectComponent,\n SchemaFormRenderComponent,\n SchemaFormComponent,\n SchemaCustomAttributesComponent\n ],\n exports: [\n ArraySessionComponent,\n SchemaArrayComponent,\n FieldRenderComponent,\n InputRenderComponent,\n BooleanInputComponent,\n NumberInputComponent,\n SchemaInputComponent,\n SchemaObjectComponent,\n SchemaFormRenderComponent,\n SchemaFormComponent,\n SchemaCustomAttributesComponent\n ],\n providers: [\n SchemaFieldsService\n ]\n})\nexport class SchemaFormRenderModule {\n}\n","import {FormControl, Validators} from '@angular/forms';\n\nexport class TypeScriptCompile {\n\n private static addItemToFormProperties(formProperties: any, item: any, key: string): void {\n if (item.minLength && item.minLength > 0) {\n formProperties[key] = new FormControl([null, [Validators.required]]);\n } else {\n formProperties[key] = new FormControl([null]);\n }\n }\n\n public static compileProperties(input: any): {\n compiledProperties: any,\n formProperties: any,\n inputData: any\n } {\n const compiledProperties = [];\n const formProperties = {};\n let inputData: any = {};\n const inputToCompile = JSON.parse(JSON.stringify(input));\n if (inputToCompile.properties) {\n if (inputToCompile.type === 'array') {\n inputData = [];\n }\n if (inputToCompile.type === 'object') {\n inputData = {};\n }\n inputToCompile.id = 'inputData';\n this.proccessProperties(inputToCompile, formProperties, 'inputData');\n compiledProperties.push(inputToCompile);\n } else if (inputToCompile.type === 'array') {\n inputToCompile.id = 'inputData';\n inputData = [];\n TypeScriptCompile.addItemToFormProperties(formProperties, inputToCompile, 'inputData');\n compiledProperties.push(inputToCompile);\n } else if (!inputToCompile.type) {\n for (let index = 0; index < Object.keys(inputToCompile).length; index++) {\n const key = Object.keys(inputToCompile)[index];\n const item = inputToCompile[key];\n item.id = key;\n\n if (item.type === 'array') {\n inputData[item.id] = [];\n }\n\n if (item.type === 'object') {\n inputData[item.id] = {};\n }\n this.proccessProperties(item, formProperties, key);\n compiledProperties.push(item);\n }\n }\n\n compiledProperties.sort((a, b) => a.propertyOrder - b.propertyOrder);\n return {compiledProperties, formProperties, inputData};\n }\n\n private static proccessProperties(item: any, formProperties: {}, key: any): void {\n if (this.hasProperties(item)) {\n const arFieldsChild = [];\n for (let indexChild = 0; indexChild < Object.keys(item.properties).length; indexChild++) {\n const keyChild = Object.keys(item.properties)[indexChild];\n const itemChild = item.properties[keyChild];\n itemChild.id = keyChild;\n if (this.hasProperties(itemChild)) {\n this.proccessProperties(itemChild, formProperties, keyChild);\n arFieldsChild.push(itemChild);\n } else {\n TypeScriptCompile.addItemToFormProperties(formProperties, itemChild, keyChild);\n arFieldsChild.push(itemChild);\n }\n }\n item.properties = arFieldsChild;\n } else {\n TypeScriptCompile.addItemToFormProperties(formProperties, item, key);\n }\n }\n\n private static hasProperties(item: any): any {\n return item.type === 'object' || (item.type === 'array' && item.properties);\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵtext","i0.ɵɵelementEnd","i0.ɵɵlistener","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AK,IAAI,CAAC,IAAI,KAAK,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;KAC7E;;;ACjFH;;;;;;"}
1
+ {"version":3,"file":"apipass-schemas.js","sources":["../../../projects/schemas/src/base-schema.component.ts","../../../projects/schemas/src/struct.utils.ts","../../../projects/schemas/src/schema-form/schema-array/array-session/array-session.html","../../../projects/schemas/src/schema-form/schema-array/array-session/array-session.ts","../../../projects/schemas/src/schema-form/schema-form.html","../../../projects/schemas/src/schema-form/schema-form.ts","../../../projects/schemas/src/schema-custom-attributes/schema-custom-attributes.html","../../../projects/schemas/src/schema-custom-attributes/schema-custom-attributes.ts","../../../projects/schemas/src/schema-form/schema-array/schema-array.html","../../../projects/schemas/src/schema-form/schema-array/schema-array.ts","../../../projects/schemas/src/schema-form/schema-input/field-render/field-render.html","../../../projects/schemas/src/schema-form/schema-input/field-render/field-render.ts","../../../projects/schemas/src/schema-form/schema-input/input-render/number-input/number-input.component.ts","../../../projects/schemas/src/schema-form/schema-input/input-render/number-input/number-input.component.html","../../../projects/schemas/src/schema-form/schema-input/input-render/boolean-input/boolean-input.component.ts","../../../projects/schemas/src/schema-form/schema-input/input-render/boolean-input/boolean-input.component.html","../../../projects/schemas/src/schema-form/schema-input/input-render/input-render.html","../../../projects/schemas/src/schema-form/schema-input/input-render/input-render.ts","../../../projects/schemas/src/schema-form/schema-input/schema-input.html","../../../projects/schemas/src/schema-form/schema-input/schema-input.ts","../../../projects/schemas/src/schema-form/schema-object/schema-object.html","../../../projects/schemas/src/schema-form/schema-object/schema-object.ts","../../../projects/schemas/src/schema-validation-field.ts","../../../projects/schemas/src/schema-fields.service.ts","../../../projects/schemas/src/schema-form-render.html","../../../projects/schemas/src/schema-form-render.ts","../../../projects/schemas/src/schema-form-render.module.ts","../../../projects/schemas/src/type-script-compile.ts","../../../projects/schemas/src/apipass-schemas.ts"],"sourcesContent":["import {Component, EventEmitter, Input, Output} from '@angular/core';\n\n@Component({\n template: ''\n})\nexport abstract class BaseSchemaComponent {\n\n @Input() model: any;\n @Input() public schema: any;\n @Output() modelChange: EventEmitter<any> = new EventEmitter<any>();\n\n getSchemaProperties(): any {\n return this.schema.properties instanceof Array ? this.schema.properties : [this.schema.properties];\n }\n\n public canRender(property: any): boolean {\n // tslint:disable-next-line:no-eval\n property.canRender = property?.conditionExpression ? eval(property.conditionExpression) : true;\n return property.canRender;\n }\n\n public onDrop(event: any, attr: any): string {\n const data = event.data;\n if (!attr) {\n attr = '';\n }\n attr += `{{${data}}}`;\n return attr;\n }\n\n}\n","export function onDropStruct(event: any, attr: any): any {\n const data = event.data;\n if (!attr) {\n attr = '';\n }\n attr += `{{${data}}}`;\n return attr;\n}\n","<div class=\"row\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ label }}</label>\n <div class=\"subsection-element\" *ngFor=\"let item of model; let index = index; trackBy:trackByIndex;\">\n <div class=\"subsection-item-title\">{{ removeLabel }} {{ index + 1 }}\n <i class=\"far fa-trash-alt\" (click)=\"remove(item)\"></i>\n </div>\n <div class=\"row\" *ngIf=\"item.mappingAttributes || item.mappingAttributes === ''\">\n <div class=\"col-md-8\">\n <label class=\"info-label\">Loop</label>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.loop\" [ngModelOptions]=\"{standalone: true}\"\n dndDropzone (dndDrop)=\"item.loop = this.onDrop($event, item.loop)\" />\n </div>\n <div class=\"col-md-4\">\n <label class=\"info-label\">Alias</label>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.alias\" [ngModelOptions]=\"{standalone: true}\"\n dndDropzone (dndDrop)=\"item.alias = this.onDrop($event, item.alias)\" />\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"subsectionItem, context: {\n $implicit: {\n items: model, index: index,\n mappingAttributes: (item.mappingAttributes || item.mappingAttributes === '') ? item.mappingAttributes : item\n }\n }\"></ng-container>\n </div>\n </div>\n</div>\n<div class=\"row add-buttons\">\n <div class=\"col-md-12\">\n <button class=\"btn btn-outline-primary float-left btn-personal-edit\" (click)=\"add()\">{{ this.addItemLabel }}</button>\n <button class=\"btn btn-outline-primary float-left btn-personal-edit ml-2\" *ngIf=\"showAddLoop\" (click)=\"addLoop()\">{{ this.addLoopLabel }}</button>\n </div>\n</div>\n","import {Component, ContentChild, EventEmitter, Input, Output, TemplateRef} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../base-schema.component';\n\n@Component({\n selector: 'array-session',\n templateUrl: 'array-session.html',\n styleUrls: ['array-session.scss']\n})\nexport class ArraySessionComponent extends BaseSchemaComponent {\n\n @Input() public label = '';\n @Input() public removeLabel = 'Remove';\n @Input() public addItemLabel = 'Add Item';\n @Input() public addLoopLabel = 'Add Loop';\n\n @Input() public showAddLoop = true;\n\n @Output() public onAdd: EventEmitter<any> = new EventEmitter<any>();\n @Output() public onAddLoop: EventEmitter<any> = new EventEmitter<any>();\n\n @ContentChild(TemplateRef, { read: TemplateRef })\n public subsectionItem: TemplateRef<any> | undefined;\n\n public add(): void {\n this.onAdd.next();\n }\n\n public addLoop(): void {\n this.onAddLoop.next();\n }\n\n public remove(item: any): any {\n const values = this.model;\n const index = values.indexOf(item);\n values.splice(index, 1);\n this.model = values;\n }\n\n public trackByIndex(index: number, obj: any): any {\n return index;\n }\n\n}\n","<div class=\"schema-properties\" *ngFor=\"let schema of schemas; let i = index\">\n <schema-input\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schema]=\"schema\"\n [editing]=\"this.editing\"\n [index]=\"i\">\n </schema-input>\n <schema-object\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schema]=\"schema\"\n [editing]=\"this.editing\"\n [index]=\"i\">\n </schema-object>\n <schema-array\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schema]=\"schema\"\n [editing]=\"this.editing\"\n [index]=\"i\">\n </schema-array>\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../base-schema.component';\nimport {onDropStruct} from '../struct.utils';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'schema-form',\n templateUrl: 'schema-form.html',\n styleUrls: ['./schema-form.scss']\n})\nexport class SchemaFormComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public requiredLabel = '(required)';\n @Input() public addItemLabel = 'Add Item';\n @Input() public addLoopLabel = 'Add Loop';\n @Input() public additionalAttributesLabel = 'Additional Fields';\n @Input() public customAttributeRemoveLabel = 'Remove';\n @Input() public newCustomFieldNameLabel = 'Name';\n @Input() public newCustomFieldValueLabel = 'Value';\n @Input() public newCustomFieldAddLabel = 'Add';\n @Input() public newCustomFieldSaveLabel = 'Save';\n @Input() public newCustomFieldCancelLabel = 'Cancel';\n @Input() public selectPlaceHolderLabel = 'Select Item';\n @Input() public selectSearchPlaceHolderLabel = 'Search';\n @Input() public selectClearLabel = 'Clear';\n @Input() public selectNotFoundLabel = 'No Items Found';\n\n @Input() idPrefix: string | undefined;\n @Input() schemas = [];\n @Input() customProperties = false;\n @Input() editing = false;\n @Input() inputType: string | undefined;\n\n loaded = false;\n\n ngAfterContentInit(): void {\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n getId(index: number): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n}\n\n","<div class=\"row custom-attributes\" *ngFor=\"let attribute of model; let i = index\">\n <div class=\"col-md-12\">\n <label class=\"info-label\">{{ attribute.label }}</label>\n <span (click)=\"removeCustomAttribute(i)\" class=\"customAttributeDeleteIcon\">\n <i class=\"far fa-trash-alt\" [matTooltip]=\"this.customAttributeRemoveLabel\"></i>\n </span>\n\n <input\n class=\"form-control\"\n [(ngModel)]=\"attribute.value\"\n [ngModelOptions]=\"{standalone: true}\"\n dndDropzone\n (dndDrop)=\"onDropAttr($event, attribute)\"\n />\n </div>\n</div>\n<div *ngIf=\"newCustomField\" class=\"struct-custom-field\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <label class=\"info-label\">{{ this.newCustomFieldNameLabel }}<strong>*</strong></label>\n <input class=\"form-control\" [(ngModel)]=\"newCustomField.label\" [ngModelOptions]=\"{standalone: true}\"/>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-12\">\n <label class=\"info-label\">{{ this.newCustomFieldValueLabel }}<strong>*</strong></label>\n <input\n class=\"form-control\"\n [(ngModel)]=\"newCustomField.value\"\n [ngModelOptions]=\"{standalone: true}\"\n dndDropzone\n (dndDrop)=\"onDropAttr($event, newCustomField)\"\n />\n </div>\n </div>\n</div>\n<div class=\"row actions-buttons\">\n <div class=\"col-md-12 pull-right\">\n <button class=\"btn btn-outline-primary float-left\" *ngIf=\"!newCustomField\" (click)=\"newCustomField = {}\">\n {{ this.newCustomFieldAddLabel }}\n </button>\n <button\n class=\"btn btn-outline-danger float-left ml-2\"\n *ngIf=\"newCustomField\"\n (click)=\"newCustomField = null\"\n >\n {{ this.newCustomFieldCancelLabel }}\n </button>\n <button\n class=\"btn btn-outline-primary float-left\"\n *ngIf=\"newCustomField && newCustomField.label && newCustomField.value\"\n (click)=\"saveNewAttribute(newCustomField)\"\n >\n {{ this.newCustomFieldSaveLabel }}\n </button>\n </div>\n</div>\n","import {AfterContentInit, Component, EventEmitter, Input, Output} from '@angular/core';\nimport {BaseSchemaComponent} from '../base-schema.component';\n\n@Component({\n selector: 'schema-custom-attributes',\n templateUrl: 'schema-custom-attributes.html',\n styleUrls: ['./schema-custom-attributes.scss']\n})\nexport class SchemaCustomAttributesComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() onDropFunction: (() => any | undefined) | undefined;\n\n @Input() customAttributeRemoveLabel = 'Remove';\n @Input() newCustomFieldNameLabel = 'Name';\n @Input() newCustomFieldValueLabel = 'Value';\n @Input() newCustomFieldAddLabel = 'Add';\n @Input() newCustomFieldSaveLabel = 'Save';\n @Input() newCustomFieldCancelLabel = 'Cancel';\n\n @Output() onSaveAttribute: EventEmitter<any> = new EventEmitter<any>();\n @Output() onDropOnAttribute: EventEmitter<any> = new EventEmitter<any>();\n\n public newCustomField: any;\n\n ngAfterContentInit(): void {\n if (!this.model) {\n this.model = [];\n }\n }\n\n public saveNewAttribute(newCustomField: any): void {\n this.onSaveAttribute.emit(newCustomField);\n this.model.push(newCustomField);\n this.newCustomField = null;\n this.modelChange.emit(this.model);\n }\n\n public removeCustomAttribute(attributeIndex: any): void {\n this.model.splice(attributeIndex, 1);\n this.modelChange.emit(this.model);\n }\n\n public onDropAttr($event: any, attribute: any): void {\n if (!attribute.value) {\n attribute.value = '';\n }\n attribute.value += `{{${$event.data}}}`;\n }\n\n}\n","<div *ngIf=\"loaded && canRender(schema) && schema.type === 'array' && schema.properties\">\n <array-session\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [label]=\"schema.title\"\n [removeLabel]=\"schema.title\"\n [(model)]=\"this.model[schema.id]\"\n [showAddLoop]=\"schema.withoutLoop !== true\"\n (onAdd)=\"addArrayItem(schema.id, {})\"\n (onAddLoop)=\"addArrayLoop(schema.id, {})\">\n <ng-template let-item>\n <schema-form\n *ngIf=\"this.model[schema.id][item.index].loop !== undefined\"\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"this.model[schema.id][item.index].mappingAttributes\"\n [schemas]=\"getSchemaProperties()\"\n [editing]=\"this.editing\">\n </schema-form>\n <schema-form\n *ngIf=\"this.model[schema.id][item.index].loop == undefined\"\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"this.model[schema.id][item.index]\"\n [schemas]=\"getSchemaProperties()\"\n [editing]=\"this.editing\">\n </schema-form>\n\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model[schema.id][item.index] && schema.customProperties\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ this.additionalAttributesLabel }}</label>\n <schema-custom-attributes\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [(model)]=\"this.model[schema.id][item.index].customAttributes\"\n [onDropFunction]=\"onDrop\">\n </schema-custom-attributes>\n </div>\n </div>\n\n </ng-template>\n </array-session>\n</div>\n<div *ngIf=\"schema && canRender(schema) && schema.type === 'array' && !schema.properties\">\n <array-session\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [label]=\"schema.title\"\n [removeLabel]=\"schema.title\"\n [(model)]=\"this.model[schema.id]\"\n [showAddLoop]=\"schema.withoutLoop !== true\"\n (onAdd)=\"addArrayItem(schema.id, '')\"\n (onAddLoop)=\"addArrayLoop(schema.id, '')\"\n >\n <ng-template let-item>\n <label class=\"info-label\" [htmlFor]=\"getId(index)+'-'+item.index\">{{ schema.title }}</label>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.items[item.index].mappingAttributes\"\n [ngModelOptions]=\"{standalone: true}\" dndDropzone\n (dndDrop)=\"item.items[item.index].mappingAttributes = this.onDrop($event, item.items[item.index].mappingAttributes)\"\n *ngIf=\"item.items[item.index].mappingAttributes || item.items[item.index].mappingAttributes === ''; else elseBlock\"\n [id]=\"getId(index)+'-'+item.index\"/>\n <ng-template #elseBlock>\n <input class=\"form-control\" type=\"text\" [(ngModel)]=\"item.items[item.index]\"\n [ngModelOptions]=\"{standalone: true}\" dndDropzone\n (dndDrop)=\"item.items[item.index] = this.onDrop($event, item.items[item.index])\"\n [id]=\"getId(index)+'-'+item.index\"/>\n </ng-template>\n </ng-template>\n </array-session>\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../base-schema.component';\nimport {onDropStruct} from '../../struct.utils';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'schema-array',\n templateUrl: 'schema-array.html',\n styleUrls: ['./schema-array.scss']\n})\nexport class SchemaArrayComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public requiredLabel = '(required)';\n @Input() public addItemLabel = 'Add Item';\n @Input() public addLoopLabel = 'Add Loop';\n @Input() public additionalAttributesLabel = 'Additional Fields';\n @Input() public customAttributeRemoveLabel = 'Remove';\n @Input() public newCustomFieldNameLabel = 'Name';\n @Input() public newCustomFieldValueLabel = 'Value';\n @Input() public newCustomFieldAddLabel = 'Add';\n @Input() public newCustomFieldSaveLabel = 'Save';\n @Input() public newCustomFieldCancelLabel = 'Cancel';\n @Input() public selectPlaceHolderLabel = 'Select Item';\n @Input() public selectSearchPlaceHolderLabel = 'Search';\n @Input() public selectClearLabel = 'Clear';\n @Input() public selectNotFoundLabel = 'No Items Found';\n\n @Input() idPrefix: string | undefined;\n @Input() schema: any;\n @Input() editing = false;\n @Input() index: number | undefined;\n\n loaded: boolean | undefined;\n\n ngAfterContentInit(): void {\n if (this.schema?.type === 'array' && this.model && !this.model[this.schema.id]) {\n this.model[this.schema.id] = [];\n }\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n getId(index: any): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n addArrayItem(id: any, param: any): void {\n this.model[id] = this.model[id] || [];\n if (this.schema.properties) {\n param = {};\n Object.keys(this.schema.properties).forEach(key => {\n const schemaProperty = this.schema.properties[key];\n if (schemaProperty.type === 'object') {\n param[schemaProperty.id] = {};\n } else if (schemaProperty.type === 'array') {\n param[schemaProperty.id] = [];\n }\n });\n }\n this.model[id].push(param);\n }\n\n addArrayLoop(id: any, mappingAttributes: any): void {\n this.model[id] = this.model[id] || [];\n this.model[id].push({loop: '', alias: '', mappingAttributes});\n }\n\n}\n\n","<div [ngClass]=\"{'has-error':state && !state.valid && (!state.pristine || state.touched) && state.errors}\">\n <label class=\"info-label bold\" [htmlFor]=\"inputId\">\n {{ label }}\n <small [ngClass]=\"{'has-error':state && !state.valid && state.errors}\" *ngIf=\"required\">{{this.requiredLabel}}</small>\n <span class=\"info-icon\" matTooltip=\"{{ tooltip }}\" *ngIf=\"tooltip\">\n <i class=\"far fa-question-circle\"></i>\n </span>\n </label>\n\n <!-- Input, textarea or select -->\n <ng-content></ng-content>\n</div>\n","import {Component, Input} from '@angular/core';\nimport {FormControl} from '@angular/forms';\n\n@Component({\n selector: 'field-render',\n templateUrl: 'field-render.html',\n styleUrls: ['field-render.scss']\n})\nexport class FieldRenderComponent {\n\n @Input() requiredLabel = '(required)';\n @Input() label = '';\n @Input() inputId: string | undefined;\n @Input() tooltip: string | undefined;\n @Input() required = true;\n\n /**\n * Estado do input no formulário para validar quando\n * é necessário exibir as mensagens de erro.\n */\n @Input() state: FormControl | undefined;\n\n}\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'number-input',\n templateUrl: 'number-input.component.html'\n})\nexport class NumberInputComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() placeholder: string | undefined;\n @Input() inputId: string | undefined;\n @Input() maxLength: any;\n\n value: string | undefined;\n\n ngAfterContentInit(): void {\n this.value = this.model;\n }\n\n onDropCallBack($event: DndDropEvent, value: any): void {\n this.value = value = super.onDrop($event, value);\n this.changeValue(value);\n }\n\n public changeValue($event: any): void {\n if ($event && !isNaN($event)) {\n this.model = Number($event);\n this.modelChange.emit(this.model);\n } else {\n this.model = $event;\n this.modelChange.emit(this.model);\n }\n }\n\n}\n","<input class=\"form-control number-input\"\n [id]=\"inputId\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"changeValue($event)\"\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\"\n [maxlength]=\"maxLength\">\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'boolean-input',\n templateUrl: 'boolean-input.component.html',\n})\nexport class BooleanInputComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() placeholder: string | undefined;\n @Input() inputId: string | undefined;\n @Input() maxLength: any;\n\n value: string | undefined;\n\n ngAfterContentInit(): void {\n this.value = this.model;\n }\n\n onDropCallBack($event: DndDropEvent, value: any): void {\n this.value = value = super.onDrop($event, value);\n this.changeValue(value);\n }\n\n public changeValue($event: any): void {\n if ($event && ($event === 'true' || $event === 'false')) {\n this.model = $event === 'true';\n this.value = this.model;\n this.modelChange.emit(this.model);\n } else {\n this.model = $event;\n this.value = this.model;\n this.modelChange.emit(this.model);\n }\n }\n\n}\n","<input class=\"form-control\"\n [id]=\"inputId\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"changeValue($event)\"\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\"\n [maxlength]=\"maxLength\">\n","<div class=\"schema-input-container\">\n <input class=\"form-control\" [type]=\"schema.type === 'password' ? 'password' : 'text'\"\n placeholder=\"{{schema.description}}\"\n *ngIf=\"(schema.type === 'string' || schema.type === 'password') && !schema.options\"\n [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"onChange($event)\"\n dndDropzone (dndDrop)=\"onDropCallBack($event, value)\" [id]=\"inputId\" [maxlength]=\"schema.maxLength\"/>\n\n <select-box\n [id]=\"inputId\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event.key)\"\n [ngModelOptions]=\"{standalone: true}\"\n *ngIf=\"schema.type === 'string' && schema.options\"\n [placeholder]=\"schema.description || this.selectPlaceHolderLabel\"\n [searchPlaceHolder]=\"selectSearchPlaceHolderLabel\"\n [clearText]=\"this.selectClearLabel\"\n [notFoundText]=\"this.selectNotFoundLabel\"\n [bindKey]=\"'key'\"\n [bindValue]=\"'value'\"\n [enabledSearch]=\"true\"\n [limitItens]=\"30\"\n [data]=\"schema.options\">\n </select-box>\n\n <number-input [(model)]=\"value\" [inputId]=\"inputId\"\n *ngIf=\"schema.type === 'number'\"\n [placeholder]=\"schema.description\" [maxLength]=\"schema.maxLength\"\n (modelChange)=\"onChange($event)\"></number-input>\n\n <boolean-input [(model)]=\"value\" [inputId]=\"inputId\"\n *ngIf=\"schema.type === 'boolean'\"\n [placeholder]=\"schema.description\" [maxLength]=\"schema.maxLength\"\n (modelChange)=\"onChange($event)\"></boolean-input>\n</div>\n","import {AfterContentInit, Component, EventEmitter, Input, Output} from '@angular/core';\nimport {BaseSchemaComponent} from '../../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\n\n@Component({\n selector: 'input-render',\n templateUrl: 'input-render.html',\n styleUrls: ['./input-render.scss']\n})\nexport class InputRenderComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public selectPlaceHolderLabel = 'Select Item';\n @Input() public selectSearchPlaceHolderLabel = 'Search';\n @Input() public selectClearLabel = 'Clear';\n @Input() public selectNotFoundLabel = 'No Items Found';\n\n @Input() public schema: any = {};\n @Input() public modelPropertiesPath: string | undefined;\n @Input() public inputId: string | undefined;\n @Input() public editing = false;\n\n @Output() public onDropEvent = new EventEmitter<{ $event: DndDropEvent, modelElement: any }>();\n\n value: any;\n\n ngAfterContentInit(): void {\n if (this.schema?.type !== 'object' && this.schema?.type !== 'array') {\n if (!this.editing && this.schema.options) {\n const $event = this.schema.options.filter((item: any) => item.selected === true);\n if ($event[0]) {\n this.onChange($event[0].key);\n this.value = $event[0];\n }\n } else if (this.editing && this.schema.options && this.model) {\n const $event = this.schema.options.filter((item: any) => item.key === this.model);\n if ($event[0]) {\n this.onChange($event[0].key);\n this.value = $event[0];\n }\n } else {\n this.value = this.model;\n }\n }\n }\n\n onDropCallBack($event: DndDropEvent, value: any): void {\n this.value = value = super.onDrop($event, value);\n this.onChange(value);\n }\n\n onChange($event: any): void {\n this.model = $event;\n this.modelChange.emit(this.model);\n }\n\n}\n","<div class=\"row schema-input\"\n *ngIf=\"loaded && canRender(schema) && schema.type !== 'array' && schema.type !== 'object' && schema.minLength && schema.minLength > 0\">\n <div class=\"col-md-12\">\n <field-render [requiredLabel]=\"requiredLabel\" [label]=\"schema.title\" [tooltip]=\"schema.help\" [inputId]=\"getId(index)\">\n <input-render\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [inputId]=\"getId(index)\"\n [schema]=\"schema\"\n [(model)]=\"this.model[schema.id]\"\n [modelPropertiesPath]=\"'mappingAttributes.' + schema.id\"\n [editing]=\"this.editing\"></input-render>\n </field-render>\n </div>\n</div>\n<div class=\"row schema-input\"\n *ngIf=\"loaded && canRender(schema) && schema.type !== 'array' && schema.type !== 'object' && (!schema.minLength || schema.minLength === 0)\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\" [htmlFor]=\"getId(index)\">\n {{schema.title}}\n <span class=\"config-tooltip\" matTooltip=\"{{ schema.help }}\" *ngIf=\"schema.help\">?</span>\n </label>\n <input-render\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [inputId]=\"getId(index)\"\n [schema]=\"schema\"\n [(model)]=\"this.model[schema.id]\"\n [modelPropertiesPath]=\"'mappingAttributes.' + schema.id\"\n [editing]=\"this.editing\"></input-render>\n </div>\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from '../../base-schema.component';\n\n@Component({\n selector: 'schema-input',\n templateUrl: 'schema-input.html',\n styleUrls: ['./schema-input.scss']\n})\nexport class SchemaInputComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public requiredLabel = '(required)';\n @Input() public selectPlaceHolderLabel = 'Select Item';\n @Input() public selectSearchPlaceHolderLabel = 'Search';\n @Input() public selectClearLabel = 'Clear';\n @Input() public selectNotFoundLabel = 'No Items Found';\n\n @Input() idPrefix: string | undefined;\n @Input() schema: any;\n @Input() editing = false;\n @Input() index: number | undefined;\n\n loaded: boolean | undefined;\n\n ngAfterContentInit(): void {\n this.loaded = true;\n }\n\n getId(index: any): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n}\n\n","<div class=\"schema-object-container\" *ngIf=\"loaded && canRender(schema) && schema.type == 'object'\">\n <div class=\"schema-object-title\">{{schema.title}}</div>\n <schema-form\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"model[schema.id]\"\n [schemas]=\"getSchemaProperties()\"\n [editing]=\"this.editing\">\n </schema-form>\n\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model[schema.id] && schema.customProperties\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ this.additionalAttributesLabel }}</label>\n <schema-custom-attributes\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [(model)]=\"this.model[schema.id].customAttributes\"\n [onDropFunction]=\"onDrop\">\n </schema-custom-attributes>\n </div>\n </div>\n\n</div>\n","import {AfterContentInit, Component, EventEmitter, Input, Output} from '@angular/core';\nimport {BaseSchemaComponent} from '../../base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\nimport {onDropStruct} from '../../struct.utils';\n\n@Component({\n selector: 'schema-object',\n templateUrl: 'schema-object.html',\n styleUrls: ['./schema-object.scss']\n})\nexport class SchemaObjectComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public requiredLabel = '(required)';\n @Input() public addItemLabel = 'Add Item';\n @Input() public addLoopLabel = 'Add Loop';\n @Input() public additionalAttributesLabel = 'Additional Fields';\n @Input() public customAttributeRemoveLabel = 'Remove';\n @Input() public newCustomFieldNameLabel = 'Name';\n @Input() public newCustomFieldValueLabel = 'Value';\n @Input() public newCustomFieldAddLabel = 'Add';\n @Input() public newCustomFieldSaveLabel = 'Save';\n @Input() public newCustomFieldCancelLabel = 'Cancel';\n @Input() public selectPlaceHolderLabel = 'Select Item';\n @Input() public selectSearchPlaceHolderLabel = 'Search';\n @Input() public selectClearLabel = 'Clear';\n @Input() public selectNotFoundLabel = 'No Items Found';\n\n @Input() public idPrefix: string | undefined;\n @Input() public modelPropertiesPath: string | undefined;\n @Input() public inputId: string | undefined;\n @Input() public editing = false;\n @Input() index: number | undefined;\n\n @Output() public onDropEvent = new EventEmitter<{ $event: DndDropEvent, modelElement: any }>();\n loaded = false;\n\n ngAfterContentInit(): void {\n if (this.schema?.type === 'object' && this.model) {\n this.model[this.schema.id] = this.model[this.schema.id] || {};\n }\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n}\n","export type StructFieldType = Array<{\n title?: string,\n id: string,\n description?: string,\n propertyOrder?: number,\n minLength?: number,\n maxLength?: number\n}>;\n\nexport type ErrorsLabel = Array<{\n type: string,\n fieldName?: string,\n minLength?: number,\n maxLength?: number\n}>;\n\nexport class SchemaValidationField {\n\n emptyFields: StructFieldType;\n invalidMinLengthFields: StructFieldType;\n invalidMaxLengthFields: StructFieldType;\n validationErrorsLabel: ErrorsLabel | undefined;\n\n constructor(emptyFields: StructFieldType, invalidMinLengthFields: StructFieldType, invalidMaxLengthFields: StructFieldType) {\n this.emptyFields = emptyFields;\n this.invalidMinLengthFields = invalidMinLengthFields;\n this.invalidMaxLengthFields = invalidMaxLengthFields;\n }\n\n isValidSchemaFields(): boolean {\n return this.emptyFields?.length < 1 && this.invalidMinLengthFields?.length < 1 && this.invalidMaxLengthFields?.length < 1;\n }\n\n isInvalidSchemaFields(): boolean {\n return !this.isValidSchemaFields();\n }\n\n}\n","import {Injectable} from '@angular/core';\nimport {SchemaValidationField} from './schema-validation-field';\n\n@Injectable()\nexport class SchemaFieldsService {\n\n constructor() {\n }\n\n public async validateSchemaFields(propertiesRendered: Array<any>, model: any): Promise<SchemaValidationField> {\n\n if (!propertiesRendered) {\n return new SchemaValidationField([], [], []);\n }\n\n const emptyFields: any[] = [];\n const invalidMinLengthFields: any[] = [];\n const invalidMaxLengthFields: any[] = [];\n this.processProperties(propertiesRendered, model, emptyFields, invalidMinLengthFields, invalidMaxLengthFields);\n\n const structValidationField = new SchemaValidationField(emptyFields, invalidMinLengthFields, invalidMaxLengthFields);\n structValidationField.validationErrorsLabel = await this.getErrorsStringArray(structValidationField);\n\n return structValidationField;\n\n }\n\n private processProperties(propertiesRendered: Array<any>,\n model: any, emptyFields: any[],\n invalidMinLengthFields: any[],\n invalidMaxLengthFields: any[],\n recursive?: boolean): void {\n for (const property of propertiesRendered) {\n if ((property.type === 'object' || property.type === 'array') && property.properties) {\n this.processProperties(property.properties, model[property.id], emptyFields, invalidMinLengthFields, invalidMaxLengthFields, true);\n } else if (property.type === 'array' && !property.properties) {\n const newProperty = {...property};\n newProperty.type = 'string';\n this.processProperties([newProperty], model[property.id], emptyFields, invalidMinLengthFields, invalidMaxLengthFields, true);\n } else {\n const validateModel = recursive ? model : model[property.id];\n if (property?.canRender && property?.minLength > 0\n && (validateModel === undefined || validateModel === '' || validateModel === null)) {\n emptyFields.push(property);\n } else if (property?.canRender && property?.minLength > 0 && (validateModel?.length < property.minLength)) {\n invalidMinLengthFields.push(property);\n } else if (property?.canRender && property?.maxLength > 0 && (validateModel?.length > property.maxLength)) {\n invalidMaxLengthFields.push(property);\n }\n }\n }\n }\n\n public async getErrorsStringArray(structValidation: SchemaValidationField):\n Promise<{ type: string, fieldName?: string, minLength?: number, maxLength?: number }[]> {\n if (!structValidation.isInvalidSchemaFields()) {\n return [];\n }\n const errors = [];\n for (const field of structValidation.emptyFields) {\n const fieldName = field.title || field.id;\n errors.push({\n type: 'emptyFields',\n fieldName\n });\n }\n for (const field of structValidation.invalidMinLengthFields) {\n const fieldName = field.title || field.id;\n errors.push({\n type: 'invalidMinLengthFields',\n fieldName,\n minLength: field.minLength\n });\n }\n for (const field of structValidation.invalidMaxLengthFields) {\n const fieldName = field.title || field.id;\n errors.push({\n type: 'invalidMaxLengthFields',\n fieldName,\n maxLength: field.maxLength\n });\n }\n return errors;\n }\n\n}\n","<div class=\"schema\" *ngIf=\"loaded\">\n <schema-form\n [selectPlaceHolderLabel]=\"selectPlaceHolderLabel\"\n [selectSearchPlaceHolderLabel]=\"selectSearchPlaceHolderLabel\"\n [selectClearLabel]=\"selectClearLabel\"\n [selectNotFoundLabel]=\"selectNotFoundLabel\"\n [requiredLabel]=\"requiredLabel\"\n [addItemLabel]=\"addItemLabel\"\n [addLoopLabel]=\"addLoopLabel\"\n [additionalAttributesLabel]=\"additionalAttributesLabel\"\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [idPrefix]=\"idPrefix\"\n [(model)]=\"model\"\n [schemas]=\"schemas\"\n [editing]=\"this.editing\"></schema-form>\n\n <div class=\"schema-properties\" *ngFor=\"let schema of schemas; let i = index\">\n <div class=\"row struct-custom-properties\" *ngIf=\"this.model && customProperties\">\n <div class=\"col-md-12\">\n <label class=\"info-label bold\">{{ this.additionalAttributesLabel }}</label>\n <schema-custom-attributes\n [customAttributeRemoveLabel]=\"customAttributeRemoveLabel\"\n [newCustomFieldNameLabel]=\"newCustomFieldNameLabel\"\n [newCustomFieldValueLabel]=\"newCustomFieldValueLabel\"\n [newCustomFieldAddLabel]=\"newCustomFieldAddLabel\"\n [newCustomFieldSaveLabel]=\"newCustomFieldSaveLabel\"\n [newCustomFieldCancelLabel]=\"newCustomFieldCancelLabel\"\n [(model)]=\"model.customAttributes\"\n [onDropFunction]=\"onDrop\">\n </schema-custom-attributes>\n </div>\n </div>\n </div>\n\n</div>\n","import {AfterContentInit, Component, Input} from '@angular/core';\nimport {BaseSchemaComponent} from './base-schema.component';\nimport {DndDropEvent} from 'ngx-drag-drop';\nimport {onDropStruct} from './struct.utils';\n\n@Component({\n selector: 'schema-form-render',\n templateUrl: 'schema-form-render.html',\n styleUrls: ['./schema-form-render.scss']\n})\nexport class SchemaFormRenderComponent extends BaseSchemaComponent implements AfterContentInit {\n\n @Input() public requiredLabel = '(required)';\n @Input() public addItemLabel = 'Add Item';\n @Input() public addLoopLabel = 'Add Loop';\n @Input() public additionalAttributesLabel = 'Additional Fields';\n @Input() public customAttributeRemoveLabel = 'Remove';\n @Input() public newCustomFieldNameLabel = 'Name';\n @Input() public newCustomFieldValueLabel = 'Value';\n @Input() public newCustomFieldAddLabel = 'Add';\n @Input() public newCustomFieldSaveLabel = 'Save';\n @Input() public newCustomFieldCancelLabel = 'Cancel';\n @Input() public selectPlaceHolderLabel = 'Select Item';\n @Input() public selectSearchPlaceHolderLabel = 'Search';\n @Input() public selectClearLabel = 'Clear';\n @Input() public selectNotFoundLabel = 'No Items Found';\n\n @Input() idPrefix: string | undefined;\n @Input() schemas = [];\n @Input() customProperties = false;\n @Input() editing = false;\n @Input() inputType: string | undefined;\n\n loaded = false;\n\n ngAfterContentInit(): void {\n this.loaded = true;\n }\n\n onDrop($event: DndDropEvent, modelElement: any): any {\n return onDropStruct($event, modelElement);\n }\n\n getId(index: number): string {\n return `${this.idPrefix}-struct-${index}`;\n }\n\n}\n\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {FormsModule} from '@angular/forms';\nimport {SchemaArrayComponent} from './schema-form/schema-array/schema-array';\nimport {SchemaInputComponent} from './schema-form/schema-input/schema-input';\nimport {FieldRenderComponent} from './schema-form/schema-input/field-render/field-render';\nimport {SchemaObjectComponent} from './schema-form/schema-object/schema-object';\nimport {ArraySessionComponent} from './schema-form/schema-array/array-session/array-session';\nimport {InputRenderComponent} from './schema-form/schema-input/input-render/input-render';\nimport {SchemaFieldsService} from './schema-fields.service';\nimport {SchemaFormComponent} from './schema-form/schema-form';\nimport {SchemaCustomAttributesComponent} from './schema-custom-attributes/schema-custom-attributes';\nimport {BooleanInputComponent} from './schema-form/schema-input/input-render/boolean-input/boolean-input.component';\nimport {NumberInputComponent} from './schema-form/schema-input/input-render/number-input/number-input.component';\nimport {DndModule} from 'ngx-drag-drop';\nimport {MatTooltipModule} from '@angular/material/tooltip';\nimport {SchemaFormRenderComponent} from './schema-form-render';\nimport {InputsModule} from '@apipass/inputs';\n\n@NgModule({\n imports: [\n CommonModule,\n DndModule,\n FormsModule,\n MatTooltipModule,\n InputsModule\n ],\n declarations: [\n ArraySessionComponent,\n SchemaArrayComponent,\n FieldRenderComponent,\n InputRenderComponent,\n BooleanInputComponent,\n NumberInputComponent,\n SchemaInputComponent,\n SchemaObjectComponent,\n SchemaFormRenderComponent,\n SchemaFormComponent,\n SchemaCustomAttributesComponent\n ],\n exports: [\n ArraySessionComponent,\n SchemaArrayComponent,\n FieldRenderComponent,\n InputRenderComponent,\n BooleanInputComponent,\n NumberInputComponent,\n SchemaInputComponent,\n SchemaObjectComponent,\n SchemaFormRenderComponent,\n SchemaFormComponent,\n SchemaCustomAttributesComponent\n ],\n providers: [\n SchemaFieldsService\n ]\n})\nexport class SchemaFormRenderModule {\n}\n","import {FormControl, Validators} from '@angular/forms';\n\nexport class TypeScriptCompile {\n\n private static addItemToFormProperties(formProperties: any, item: any, key: string): void {\n if (item.minLength && item.minLength > 0) {\n formProperties[key] = new FormControl([null, [Validators.required]]);\n } else {\n formProperties[key] = new FormControl([null]);\n }\n }\n\n public static compileProperties(input: any): {\n compiledProperties: any,\n formProperties: any,\n inputData: any\n } {\n const compiledProperties = [];\n const formProperties = {};\n let inputData: any = {};\n const inputToCompile = JSON.parse(JSON.stringify(input));\n if (inputToCompile.properties) {\n if (inputToCompile.type === 'array') {\n inputData = [];\n }\n if (inputToCompile.type === 'object') {\n inputData = {};\n }\n inputToCompile.id = 'inputData';\n this.proccessProperties(inputToCompile, formProperties, 'inputData');\n compiledProperties.push(inputToCompile);\n } else if (inputToCompile.type === 'array') {\n inputToCompile.id = 'inputData';\n inputData = [];\n TypeScriptCompile.addItemToFormProperties(formProperties, inputToCompile, 'inputData');\n compiledProperties.push(inputToCompile);\n } else if (!inputToCompile.type) {\n for (let index = 0; index < Object.keys(inputToCompile).length; index++) {\n const key = Object.keys(inputToCompile)[index];\n const item = inputToCompile[key];\n item.id = key;\n\n if (item.type === 'array') {\n inputData[item.id] = [];\n }\n\n if (item.type === 'object') {\n inputData[item.id] = {};\n }\n this.proccessProperties(item, formProperties, key);\n compiledProperties.push(item);\n }\n }\n\n compiledProperties.sort((a, b) => a.propertyOrder - b.propertyOrder);\n return {compiledProperties, formProperties, inputData};\n }\n\n private static proccessProperties(item: any, formProperties: {}, key: any): void {\n if (this.hasProperties(item)) {\n const arFieldsChild = [];\n for (let indexChild = 0; indexChild < Object.keys(item.properties).length; indexChild++) {\n const keyChild = Object.keys(item.properties)[indexChild];\n const itemChild = item.properties[keyChild];\n itemChild.id = keyChild;\n if (this.hasProperties(itemChild)) {\n this.proccessProperties(itemChild, formProperties, keyChild);\n arFieldsChild.push(itemChild);\n } else {\n TypeScriptCompile.addItemToFormProperties(formProperties, itemChild, keyChild);\n arFieldsChild.push(itemChild);\n }\n }\n item.properties = arFieldsChild;\n } else {\n TypeScriptCompile.addItemToFormProperties(formProperties, item, key);\n }\n }\n\n private static hasProperties(item: any): any {\n return item.type === 'object' || (item.type === 'array' && item.properties);\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵtext","i0.ɵɵelementEnd","i0.ɵɵlistener","i0.ɵɵadvance","i0.ɵɵproperty","i0.ɵɵelementContainer","i0.ɵɵtemplate","i0.ɵɵtextInterpolate2","i0.ɵɵtextInterpolate","i0.ɵɵelement","i0.ɵɵtextInterpolate1","i0.ɵɵpropertyInterpolate","i0.ɵɵprojection"],"mappings":";;;;;;;;;;MAKsB,mBAAmB;IAHzC;QAOY,gBAAW,GAAsB,IAAI,YAAY,EAAO,CAAC;KAqBpE;IAnBC,mBAAmB;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,YAAY,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;KACpG;IAEM,SAAS,CAAC,QAAa;;QAE5B,QAAQ,CAAC,SAAS,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,mBAAmB,IAAG,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;QAC/F,OAAO,QAAQ,CAAC,SAAS,CAAC;KAC3B;IAEM,MAAM,CAAC,KAAU,EAAE,IAAS;QACjC,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,EAAE;YACT,IAAI,GAAG,EAAE,CAAC;SACX;QACD,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC;QACtB,OAAO,IAAI,CAAC;KACb;;sFAvBmB,mB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,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;gBAC5C,SAAS,CAAC,EAAE,GAAG,QAAQ,CAAC;gBACxB,IAAI,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE;oBACjC,IAAI,CAAC,kBAAkB,CAAC,SAAS,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC;oBAC7D,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;iBAC/B;qBAAM;oBACL,iBAAiB,CAAC,uBAAuB,CAAC,cAAc,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;oBAC/E,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;iBAC/B;aACF;YACD,IAAI,CAAC,UAAU,GAAG,aAAa,CAAC;SACjC;aAAM;YACL,iBAAiB,CAAC,uBAAuB,CAAC,cAAc,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;SACtE;KACF;IAEO,OAAO,aAAa,CAAC,IAAS;QACpC,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,KAAK,IAAI,CAAC,IAAI,KAAK,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;KAC7E;;;ACjFH;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apipass/schemas",
3
- "version": "0.2.5-alpha.1",
3
+ "version": "0.2.5-alpha.4",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^10.0.11",
6
6
  "@angular/cdk": "^10.1.3",
@@ -3,6 +3,12 @@ import { BaseSchemaComponent } from '../base-schema.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SchemaCustomAttributesComponent extends BaseSchemaComponent implements AfterContentInit {
5
5
  onDropFunction: (() => any | undefined) | undefined;
6
+ customAttributeRemoveLabel: string;
7
+ newCustomFieldNameLabel: string;
8
+ newCustomFieldValueLabel: string;
9
+ newCustomFieldAddLabel: string;
10
+ newCustomFieldSaveLabel: string;
11
+ newCustomFieldCancelLabel: string;
6
12
  onSaveAttribute: EventEmitter<any>;
7
13
  onDropOnAttribute: EventEmitter<any>;
8
14
  newCustomField: any;
@@ -11,5 +17,5 @@ export declare class SchemaCustomAttributesComponent extends BaseSchemaComponent
11
17
  removeCustomAttribute(attributeIndex: any): void;
12
18
  onDropAttr($event: any, attribute: any): void;
13
19
  static ɵfac: i0.ɵɵFactoryDef<SchemaCustomAttributesComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaCustomAttributesComponent, "schema-custom-attributes", never, { "onDropFunction": "onDropFunction"; }, { "onSaveAttribute": "onSaveAttribute"; "onDropOnAttribute": "onDropOnAttribute"; }, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaCustomAttributesComponent, "schema-custom-attributes", never, { "onDropFunction": "onDropFunction"; "customAttributeRemoveLabel": "customAttributeRemoveLabel"; "newCustomFieldNameLabel": "newCustomFieldNameLabel"; "newCustomFieldValueLabel": "newCustomFieldValueLabel"; "newCustomFieldAddLabel": "newCustomFieldAddLabel"; "newCustomFieldSaveLabel": "newCustomFieldSaveLabel"; "newCustomFieldCancelLabel": "newCustomFieldCancelLabel"; }, { "onSaveAttribute": "onSaveAttribute"; "onDropOnAttribute": "onDropOnAttribute"; }, never, never>;
15
21
  }
@@ -1,12 +1,15 @@
1
1
  import { SchemaValidationField } from './schema-validation-field';
2
- import { TranslateService } from '@ngx-translate/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class SchemaFieldsService {
5
- private translate;
6
- constructor(translate: TranslateService);
4
+ constructor();
7
5
  validateSchemaFields(propertiesRendered: Array<any>, model: any): Promise<SchemaValidationField>;
8
6
  private processProperties;
9
- getErrorsStringArray(structValidation: SchemaValidationField): Promise<string[]>;
7
+ getErrorsStringArray(structValidation: SchemaValidationField): Promise<{
8
+ type: string;
9
+ fieldName?: string;
10
+ minLength?: number;
11
+ maxLength?: number;
12
+ }[]>;
10
13
  static ɵfac: i0.ɵɵFactoryDef<SchemaFieldsService, never>;
11
14
  static ɵprov: i0.ɵɵInjectableDef<SchemaFieldsService>;
12
15
  }
@@ -3,8 +3,10 @@ import { BaseSchemaComponent } from '../../../base-schema.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ArraySessionComponent extends BaseSchemaComponent {
5
5
  label: string;
6
- showAddLoop: boolean;
7
6
  removeLabel: string;
7
+ addItemLabel: string;
8
+ addLoopLabel: string;
9
+ showAddLoop: boolean;
8
10
  onAdd: EventEmitter<any>;
9
11
  onAddLoop: EventEmitter<any>;
10
12
  subsectionItem: TemplateRef<any> | undefined;
@@ -13,5 +15,5 @@ export declare class ArraySessionComponent extends BaseSchemaComponent {
13
15
  remove(item: any): any;
14
16
  trackByIndex(index: number, obj: any): any;
15
17
  static ɵfac: i0.ɵɵFactoryDef<ArraySessionComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDefWithMeta<ArraySessionComponent, "array-session", never, { "label": "label"; "showAddLoop": "showAddLoop"; "removeLabel": "removeLabel"; }, { "onAdd": "onAdd"; "onAddLoop": "onAddLoop"; }, ["subsectionItem"], never>;
18
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<ArraySessionComponent, "array-session", never, { "label": "label"; "removeLabel": "removeLabel"; "addItemLabel": "addItemLabel"; "addLoopLabel": "addLoopLabel"; "showAddLoop": "showAddLoop"; }, { "onAdd": "onAdd"; "onAddLoop": "onAddLoop"; }, ["subsectionItem"], never>;
17
19
  }
@@ -3,6 +3,20 @@ import { BaseSchemaComponent } from '../../base-schema.component';
3
3
  import { DndDropEvent } from 'ngx-drag-drop';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SchemaArrayComponent extends BaseSchemaComponent implements AfterContentInit {
6
+ requiredLabel: string;
7
+ addItemLabel: string;
8
+ addLoopLabel: string;
9
+ additionalAttributesLabel: string;
10
+ customAttributeRemoveLabel: string;
11
+ newCustomFieldNameLabel: string;
12
+ newCustomFieldValueLabel: string;
13
+ newCustomFieldAddLabel: string;
14
+ newCustomFieldSaveLabel: string;
15
+ newCustomFieldCancelLabel: string;
16
+ selectPlaceHolderLabel: string;
17
+ selectSearchPlaceHolderLabel: string;
18
+ selectClearLabel: string;
19
+ selectNotFoundLabel: string;
6
20
  idPrefix: string | undefined;
7
21
  schema: any;
8
22
  editing: boolean;
@@ -14,5 +28,5 @@ export declare class SchemaArrayComponent extends BaseSchemaComponent implements
14
28
  addArrayItem(id: any, param: any): void;
15
29
  addArrayLoop(id: any, mappingAttributes: any): void;
16
30
  static ɵfac: i0.ɵɵFactoryDef<SchemaArrayComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaArrayComponent, "schema-array", never, { "idPrefix": "idPrefix"; "schema": "schema"; "editing": "editing"; "index": "index"; }, {}, never, never>;
31
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaArrayComponent, "schema-array", never, { "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"; "schema": "schema"; "editing": "editing"; "index": "index"; }, {}, never, never>;
18
32
  }
@@ -3,6 +3,20 @@ import { BaseSchemaComponent } from '../base-schema.component';
3
3
  import { DndDropEvent } from 'ngx-drag-drop';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SchemaFormComponent extends BaseSchemaComponent implements AfterContentInit {
6
+ requiredLabel: string;
7
+ addItemLabel: string;
8
+ addLoopLabel: string;
9
+ additionalAttributesLabel: string;
10
+ customAttributeRemoveLabel: string;
11
+ newCustomFieldNameLabel: string;
12
+ newCustomFieldValueLabel: string;
13
+ newCustomFieldAddLabel: string;
14
+ newCustomFieldSaveLabel: string;
15
+ newCustomFieldCancelLabel: string;
16
+ selectPlaceHolderLabel: string;
17
+ selectSearchPlaceHolderLabel: string;
18
+ selectClearLabel: string;
19
+ selectNotFoundLabel: string;
6
20
  idPrefix: string | undefined;
7
21
  schemas: never[];
8
22
  customProperties: boolean;
@@ -13,5 +27,5 @@ export declare class SchemaFormComponent extends BaseSchemaComponent implements
13
27
  onDrop($event: DndDropEvent, modelElement: any): any;
14
28
  getId(index: number): string;
15
29
  static ɵfac: i0.ɵɵFactoryDef<SchemaFormComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaFormComponent, "schema-form", never, { "idPrefix": "idPrefix"; "schemas": "schemas"; "customProperties": "customProperties"; "editing": "editing"; "inputType": "inputType"; }, {}, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaFormComponent, "schema-form", never, { "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"; }, {}, never, never>;
17
31
  }
@@ -1,6 +1,7 @@
1
1
  import { FormControl } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FieldRenderComponent {
4
+ requiredLabel: string;
4
5
  label: string;
5
6
  inputId: string | undefined;
6
7
  tooltip: string | undefined;
@@ -11,5 +12,5 @@ export declare class FieldRenderComponent {
11
12
  */
12
13
  state: FormControl | undefined;
13
14
  static ɵfac: i0.ɵɵFactoryDef<FieldRenderComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDefWithMeta<FieldRenderComponent, "field-render", never, { "label": "label"; "inputId": "inputId"; "tooltip": "tooltip"; "required": "required"; "state": "state"; }, {}, never, ["*"]>;
15
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<FieldRenderComponent, "field-render", never, { "requiredLabel": "requiredLabel"; "label": "label"; "inputId": "inputId"; "tooltip": "tooltip"; "required": "required"; "state": "state"; }, {}, never, ["*"]>;
15
16
  }
@@ -3,6 +3,10 @@ import { BaseSchemaComponent } from '../../../base-schema.component';
3
3
  import { DndDropEvent } from 'ngx-drag-drop';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class InputRenderComponent extends BaseSchemaComponent implements AfterContentInit {
6
+ selectPlaceHolderLabel: string;
7
+ selectSearchPlaceHolderLabel: string;
8
+ selectClearLabel: string;
9
+ selectNotFoundLabel: string;
6
10
  schema: any;
7
11
  modelPropertiesPath: string | undefined;
8
12
  inputId: string | undefined;
@@ -16,5 +20,5 @@ export declare class InputRenderComponent extends BaseSchemaComponent implements
16
20
  onDropCallBack($event: DndDropEvent, value: any): void;
17
21
  onChange($event: any): void;
18
22
  static ɵfac: i0.ɵɵFactoryDef<InputRenderComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDefWithMeta<InputRenderComponent, "input-render", never, { "schema": "schema"; "modelPropertiesPath": "modelPropertiesPath"; "inputId": "inputId"; "editing": "editing"; }, { "onDropEvent": "onDropEvent"; }, never, never>;
23
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<InputRenderComponent, "input-render", never, { "selectPlaceHolderLabel": "selectPlaceHolderLabel"; "selectSearchPlaceHolderLabel": "selectSearchPlaceHolderLabel"; "selectClearLabel": "selectClearLabel"; "selectNotFoundLabel": "selectNotFoundLabel"; "schema": "schema"; "modelPropertiesPath": "modelPropertiesPath"; "inputId": "inputId"; "editing": "editing"; }, { "onDropEvent": "onDropEvent"; }, never, never>;
20
24
  }
@@ -2,6 +2,11 @@ import { AfterContentInit } from '@angular/core';
2
2
  import { BaseSchemaComponent } from '../../base-schema.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SchemaInputComponent extends BaseSchemaComponent implements AfterContentInit {
5
+ requiredLabel: string;
6
+ selectPlaceHolderLabel: string;
7
+ selectSearchPlaceHolderLabel: string;
8
+ selectClearLabel: string;
9
+ selectNotFoundLabel: string;
5
10
  idPrefix: string | undefined;
6
11
  schema: any;
7
12
  editing: boolean;
@@ -10,5 +15,5 @@ export declare class SchemaInputComponent extends BaseSchemaComponent implements
10
15
  ngAfterContentInit(): void;
11
16
  getId(index: any): string;
12
17
  static ɵfac: i0.ɵɵFactoryDef<SchemaInputComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaInputComponent, "schema-input", never, { "idPrefix": "idPrefix"; "schema": "schema"; "editing": "editing"; "index": "index"; }, {}, never, never>;
18
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaInputComponent, "schema-input", never, { "requiredLabel": "requiredLabel"; "selectPlaceHolderLabel": "selectPlaceHolderLabel"; "selectSearchPlaceHolderLabel": "selectSearchPlaceHolderLabel"; "selectClearLabel": "selectClearLabel"; "selectNotFoundLabel": "selectNotFoundLabel"; "idPrefix": "idPrefix"; "schema": "schema"; "editing": "editing"; "index": "index"; }, {}, never, never>;
14
19
  }
@@ -3,6 +3,20 @@ import { BaseSchemaComponent } from '../../base-schema.component';
3
3
  import { DndDropEvent } from 'ngx-drag-drop';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SchemaObjectComponent extends BaseSchemaComponent implements AfterContentInit {
6
+ requiredLabel: string;
7
+ addItemLabel: string;
8
+ addLoopLabel: string;
9
+ additionalAttributesLabel: string;
10
+ customAttributeRemoveLabel: string;
11
+ newCustomFieldNameLabel: string;
12
+ newCustomFieldValueLabel: string;
13
+ newCustomFieldAddLabel: string;
14
+ newCustomFieldSaveLabel: string;
15
+ newCustomFieldCancelLabel: string;
16
+ selectPlaceHolderLabel: string;
17
+ selectSearchPlaceHolderLabel: string;
18
+ selectClearLabel: string;
19
+ selectNotFoundLabel: string;
6
20
  idPrefix: string | undefined;
7
21
  modelPropertiesPath: string | undefined;
8
22
  inputId: string | undefined;
@@ -16,5 +30,5 @@ export declare class SchemaObjectComponent extends BaseSchemaComponent implement
16
30
  ngAfterContentInit(): void;
17
31
  onDrop($event: DndDropEvent, modelElement: any): any;
18
32
  static ɵfac: i0.ɵɵFactoryDef<SchemaObjectComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaObjectComponent, "schema-object", never, { "idPrefix": "idPrefix"; "modelPropertiesPath": "modelPropertiesPath"; "inputId": "inputId"; "editing": "editing"; "index": "index"; }, { "onDropEvent": "onDropEvent"; }, never, never>;
33
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<SchemaObjectComponent, "schema-object", never, { "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"; }, { "onDropEvent": "onDropEvent"; }, never, never>;
20
34
  }