From 26e5029d922779fd7e786c1a31b6b37492132388 Mon Sep 17 00:00:00 2001 From: vasraz Date: Tue, 16 Feb 2021 17:37:57 +0000 Subject: Implement Attributes/Outputs FE Change-Id: I014bb0ebc07f3fea4266a4f295172eadee546705 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3448 --- .../property-creator/property-creator.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment/property-creator/property-creator.component.ts') diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/property-creator/property-creator.component.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/property-creator/property-creator.component.ts index 5053d52cc8..8167caa959 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/property-creator/property-creator.component.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/property-creator/property-creator.component.ts @@ -6,6 +6,7 @@ import { DataTypeService } from 'app/ng2/services/data-type.service'; import { PROPERTY_DATA } from 'app/utils'; import * as _ from 'lodash'; import { PROPERTY_TYPES } from '../../../../utils'; +import {Validation} from "../../../../view-models/workspace/tabs/general/general-view-model"; @Component({ selector: 'property-creator', @@ -15,12 +16,10 @@ import { PROPERTY_TYPES } from '../../../../utils'; export class PropertyCreatorComponent { + validation:Validation; typesProperties: DropdownValue[]; typesSchemaProperties: DropdownValue[]; propertyModel: PropertyBEModel; - // propertyNameValidationPattern:RegExp = /^[a-zA-Z0-9_:-]{1,50}$/; - // commentValidationPattern:RegExp = /^[\u0000-\u00BF]*$/; - // types:Array; dataTypes: DataTypesMap; isLoading: boolean; -- cgit 1.2.3-korg