From 7cf7499e7651a9329f5f98149417292b607842cc Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Fri, 15 Oct 2021 14:36:03 +0200 Subject: [PATCH] Rename classes to comply with standards --- .../{audioElement.ts => audio-element.ts} | 2 +- .../{buttonElement.ts => button-element.ts} | 2 +- ...checkboxElement.ts => checkbox-element.ts} | 2 +- ...dropdownElement.ts => dropdown-element.ts} | 2 +- .../{imageElement.ts => image-element.ts} | 2 +- ...ement.ts => radio-button-group-element.ts} | 2 +- projects/common/classes/section.ts | 2 +- ...extAreaElement.ts => text-area-element.ts} | 2 +- .../{textElement.ts => text-element.ts} | 2 +- ...tFieldElement.ts => text-field-element.ts} | 2 +- .../classes/{uIElement.ts => uI-element.ts} | 0 .../{videoElement.ts => video-element.ts} | 2 +- .../common/element-component.directive.ts | 2 +- .../element-components/audio.component.ts | 2 +- .../element-components/button.component.ts | 2 +- .../element-components/checkbox.component.ts | 2 +- .../element-components/dropdown.component.ts | 2 +- .../element-components/image.component.ts | 2 +- .../pipes/error-transform.pipe.ts | 2 +- .../radio-button-group.component.ts | 2 +- .../element-components/text-area.component.ts | 2 +- .../text-field.component.ts | 2 +- .../element-components/text.component.ts | 2 +- .../element-components/video.component.ts | 2 +- .../form-element-component.directive.ts | 2 +- projects/common/util/element.factory.ts | 22 +++++++++---------- .../canvas/canvas-element-overlay.ts | 2 +- .../page-view/canvas/canvas.component.ts | 2 +- .../dynamic-canvas-overlay.component.ts | 2 +- .../element-properties.component.ts | 2 +- .../element-sizing-properties.component.ts | 2 +- .../element-style-properties.component.ts | 2 +- projects/editor/src/app/selection.service.ts | 2 +- projects/editor/src/app/unit.service.ts | 4 ++-- .../components/element/element.component.ts | 2 +- .../src/app/services/unit-state.service.ts | 2 +- 36 files changed, 46 insertions(+), 46 deletions(-) rename projects/common/classes/{audioElement.ts => audio-element.ts} (85%) rename projects/common/classes/{buttonElement.ts => button-element.ts} (95%) rename projects/common/classes/{checkboxElement.ts => checkbox-element.ts} (94%) rename projects/common/classes/{dropdownElement.ts => dropdown-element.ts} (93%) rename projects/common/classes/{imageElement.ts => image-element.ts} (86%) rename projects/common/classes/{radioButtonGroupElement.ts => radio-button-group-element.ts} (94%) rename projects/common/classes/{textAreaElement.ts => text-area-element.ts} (94%) rename projects/common/classes/{textElement.ts => text-element.ts} (96%) rename projects/common/classes/{textFieldElement.ts => text-field-element.ts} (95%) rename projects/common/classes/{uIElement.ts => uI-element.ts} (100%) rename projects/common/classes/{videoElement.ts => video-element.ts} (86%) diff --git a/projects/common/classes/audioElement.ts b/projects/common/classes/audio-element.ts similarity index 85% rename from projects/common/classes/audioElement.ts rename to projects/common/classes/audio-element.ts index 2f6d3be9e..3db8a7c9f 100644 --- a/projects/common/classes/audioElement.ts +++ b/projects/common/classes/audio-element.ts @@ -1,4 +1,4 @@ -import { UIElement } from './uIElement'; +import { UIElement } from './uI-element'; export class AudioElement extends UIElement { src: string = ''; diff --git a/projects/common/classes/buttonElement.ts b/projects/common/classes/button-element.ts similarity index 95% rename from projects/common/classes/buttonElement.ts rename to projects/common/classes/button-element.ts index 906d10c3e..70d1e4376 100644 --- a/projects/common/classes/buttonElement.ts +++ b/projects/common/classes/button-element.ts @@ -1,5 +1,5 @@ import { FontElement, SurfaceUIElement } from '../interfaces/UIElementInterfaces'; -import { UIElement } from './uIElement'; +import { UIElement } from './uI-element'; import { initFontElement, initSurfaceElement } from '../util/unit-interface-initializer'; export class ButtonElement extends UIElement implements FontElement, SurfaceUIElement { diff --git a/projects/common/classes/checkboxElement.ts b/projects/common/classes/checkbox-element.ts similarity index 94% rename from projects/common/classes/checkboxElement.ts rename to projects/common/classes/checkbox-element.ts index 7385d35c3..7d4218a34 100644 --- a/projects/common/classes/checkboxElement.ts +++ b/projects/common/classes/checkbox-element.ts @@ -1,4 +1,4 @@ -import { InputElement, UIElement } from './uIElement'; +import { InputElement, UIElement } from './uI-element'; import { FontElement, SurfaceUIElement } from '../interfaces/UIElementInterfaces'; import { initFontElement, initSurfaceElement } from '../util/unit-interface-initializer'; diff --git a/projects/common/classes/dropdownElement.ts b/projects/common/classes/dropdown-element.ts similarity index 93% rename from projects/common/classes/dropdownElement.ts rename to projects/common/classes/dropdown-element.ts index 9373cba59..a06b74f55 100644 --- a/projects/common/classes/dropdownElement.ts +++ b/projects/common/classes/dropdown-element.ts @@ -1,4 +1,4 @@ -import { InputElement, UIElement } from './uIElement'; +import { InputElement, UIElement } from './uI-element'; import { FontElement, SurfaceUIElement } from '../interfaces/UIElementInterfaces'; import { initFontElement, initSurfaceElement } from '../util/unit-interface-initializer'; diff --git a/projects/common/classes/imageElement.ts b/projects/common/classes/image-element.ts similarity index 86% rename from projects/common/classes/imageElement.ts rename to projects/common/classes/image-element.ts index a7a614568..522329b60 100644 --- a/projects/common/classes/imageElement.ts +++ b/projects/common/classes/image-element.ts @@ -1,4 +1,4 @@ -import { UIElement } from './uIElement'; +import { UIElement } from './uI-element'; export class ImageElement extends UIElement { src: string = ''; diff --git a/projects/common/classes/radioButtonGroupElement.ts b/projects/common/classes/radio-button-group-element.ts similarity index 94% rename from projects/common/classes/radioButtonGroupElement.ts rename to projects/common/classes/radio-button-group-element.ts index e66b31a04..2a5a05fe7 100644 --- a/projects/common/classes/radioButtonGroupElement.ts +++ b/projects/common/classes/radio-button-group-element.ts @@ -1,4 +1,4 @@ -import { InputElement, UIElement } from './uIElement'; +import { InputElement, UIElement } from './uI-element'; import { FontElement, SurfaceUIElement } from '../interfaces/UIElementInterfaces'; import { initFontElement, initSurfaceElement } from '../util/unit-interface-initializer'; diff --git a/projects/common/classes/section.ts b/projects/common/classes/section.ts index 802b6025e..873a6429a 100644 --- a/projects/common/classes/section.ts +++ b/projects/common/classes/section.ts @@ -1,6 +1,6 @@ import { UIElement -} from './uIElement'; +} from './uI-element'; import * as ElementFactory from '../util/element.factory'; export class Section { diff --git a/projects/common/classes/textAreaElement.ts b/projects/common/classes/text-area-element.ts similarity index 94% rename from projects/common/classes/textAreaElement.ts rename to projects/common/classes/text-area-element.ts index 377d68352..3f0da8a7c 100644 --- a/projects/common/classes/textAreaElement.ts +++ b/projects/common/classes/text-area-element.ts @@ -1,5 +1,5 @@ import { FontElement, SurfaceUIElement } from '../interfaces/UIElementInterfaces'; -import { InputElement, UIElement } from './uIElement'; +import { InputElement, UIElement } from './uI-element'; import { initFontElement, initSurfaceElement } from '../util/unit-interface-initializer'; export class TextAreaElement extends InputElement implements FontElement, SurfaceUIElement { diff --git a/projects/common/classes/textElement.ts b/projects/common/classes/text-element.ts similarity index 96% rename from projects/common/classes/textElement.ts rename to projects/common/classes/text-element.ts index 8ccab10c7..ace68c9e6 100644 --- a/projects/common/classes/textElement.ts +++ b/projects/common/classes/text-element.ts @@ -1,4 +1,4 @@ -import { UIElement } from './uIElement'; +import { UIElement } from './uI-element'; import { SurfaceUIElement } from '../interfaces/UIElementInterfaces'; import { initSurfaceElement } from '../util/unit-interface-initializer'; diff --git a/projects/common/classes/textFieldElement.ts b/projects/common/classes/text-field-element.ts similarity index 95% rename from projects/common/classes/textFieldElement.ts rename to projects/common/classes/text-field-element.ts index 989b3ec6d..388471877 100644 --- a/projects/common/classes/textFieldElement.ts +++ b/projects/common/classes/text-field-element.ts @@ -1,4 +1,4 @@ -import { InputElement, UIElement } from './uIElement'; +import { InputElement, UIElement } from './uI-element'; import { FontElement, SurfaceUIElement } from '../interfaces/UIElementInterfaces'; import { initFontElement, initSurfaceElement } from '../util/unit-interface-initializer'; diff --git a/projects/common/classes/uIElement.ts b/projects/common/classes/uI-element.ts similarity index 100% rename from projects/common/classes/uIElement.ts rename to projects/common/classes/uI-element.ts diff --git a/projects/common/classes/videoElement.ts b/projects/common/classes/video-element.ts similarity index 86% rename from projects/common/classes/videoElement.ts rename to projects/common/classes/video-element.ts index 650ba49f0..9f901046f 100644 --- a/projects/common/classes/videoElement.ts +++ b/projects/common/classes/video-element.ts @@ -1,4 +1,4 @@ -import { UIElement } from './uIElement'; +import { UIElement } from './uI-element'; export class VideoElement extends UIElement { src: string = ''; diff --git a/projects/common/element-component.directive.ts b/projects/common/element-component.directive.ts index 26e0931d2..74bd49eb0 100644 --- a/projects/common/element-component.directive.ts +++ b/projects/common/element-component.directive.ts @@ -1,7 +1,7 @@ import { Directive } from '@angular/core'; -import { UIElement } from './classes/uIElement'; +import { UIElement } from './classes/uI-element'; @Directive() export abstract class ElementComponent { diff --git a/projects/common/element-components/audio.component.ts b/projects/common/element-components/audio.component.ts index 77bef3a50..98e86102d 100644 --- a/projects/common/element-components/audio.component.ts +++ b/projects/common/element-components/audio.component.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; import { ElementComponent } from '../element-component.directive'; -import { AudioElement } from '../classes/audioElement'; +import { AudioElement } from '../classes/audio-element'; @Component({ selector: 'app-audio', diff --git a/projects/common/element-components/button.component.ts b/projects/common/element-components/button.component.ts index b94031847..7ece62f11 100644 --- a/projects/common/element-components/button.component.ts +++ b/projects/common/element-components/button.component.ts @@ -1,6 +1,6 @@ import { Component, EventEmitter, Output } from '@angular/core'; import { ElementComponent } from '../element-component.directive'; -import { ButtonElement } from '../classes/buttonElement'; +import { ButtonElement } from '../classes/button-element'; @Component({ selector: 'app-button', diff --git a/projects/common/element-components/checkbox.component.ts b/projects/common/element-components/checkbox.component.ts index 7ac772fff..46926d938 100644 --- a/projects/common/element-components/checkbox.component.ts +++ b/projects/common/element-components/checkbox.component.ts @@ -1,7 +1,7 @@ import { Component, EventEmitter, Output } from '@angular/core'; import { ValidatorFn, Validators } from '@angular/forms'; import { FormElementComponent } from '../form-element-component.directive'; -import { CheckboxElement } from '../classes/checkboxElement'; +import { CheckboxElement } from '../classes/checkbox-element'; @Component({ selector: 'app-checkbox', diff --git a/projects/common/element-components/dropdown.component.ts b/projects/common/element-components/dropdown.component.ts index 4754e7768..f69b6a446 100644 --- a/projects/common/element-components/dropdown.component.ts +++ b/projects/common/element-components/dropdown.component.ts @@ -1,6 +1,6 @@ import { Component, EventEmitter, Output } from '@angular/core'; import { FormElementComponent } from '../form-element-component.directive'; -import { DropdownElement } from '../classes/dropdownElement'; +import { DropdownElement } from '../classes/dropdown-element'; @Component({ selector: 'app-dropdown', diff --git a/projects/common/element-components/image.component.ts b/projects/common/element-components/image.component.ts index a49b9a508..26d414ef1 100644 --- a/projects/common/element-components/image.component.ts +++ b/projects/common/element-components/image.component.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; import { ElementComponent } from '../element-component.directive'; -import { ImageElement } from '../classes/imageElement'; +import { ImageElement } from '../classes/image-element'; @Component({ selector: 'app-image', diff --git a/projects/common/element-components/pipes/error-transform.pipe.ts b/projects/common/element-components/pipes/error-transform.pipe.ts index 0521d6fd0..55e393598 100644 --- a/projects/common/element-components/pipes/error-transform.pipe.ts +++ b/projects/common/element-components/pipes/error-transform.pipe.ts @@ -1,7 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; import { ValidationErrors } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; -import { UIElement } from '../../classes/uIElement'; +import { UIElement } from '../../classes/uI-element'; @Pipe({ name: 'errorTransform' diff --git a/projects/common/element-components/radio-button-group.component.ts b/projects/common/element-components/radio-button-group.component.ts index b1bb42869..4f5502e1f 100644 --- a/projects/common/element-components/radio-button-group.component.ts +++ b/projects/common/element-components/radio-button-group.component.ts @@ -1,6 +1,6 @@ import { Component, EventEmitter, Output } from '@angular/core'; import { FormElementComponent } from '../form-element-component.directive'; -import { RadioButtonGroupElement } from '../classes/radioButtonGroupElement'; +import { RadioButtonGroupElement } from '../classes/radio-button-group-element'; @Component({ selector: 'app-radio-button-group', diff --git a/projects/common/element-components/text-area.component.ts b/projects/common/element-components/text-area.component.ts index fb23425d3..06c8304df 100644 --- a/projects/common/element-components/text-area.component.ts +++ b/projects/common/element-components/text-area.component.ts @@ -1,6 +1,6 @@ import { Component, Output, EventEmitter } from '@angular/core'; import { FormElementComponent } from '../form-element-component.directive'; -import { TextAreaElement } from '../classes/textAreaElement'; +import { TextAreaElement } from '../classes/text-area-element'; @Component({ selector: 'app-text-area', diff --git a/projects/common/element-components/text-field.component.ts b/projects/common/element-components/text-field.component.ts index b6a2046b1..860bd88f8 100644 --- a/projects/common/element-components/text-field.component.ts +++ b/projects/common/element-components/text-field.component.ts @@ -1,7 +1,7 @@ import { Component, EventEmitter, Output } from '@angular/core'; import { ValidatorFn, Validators } from '@angular/forms'; import { FormElementComponent } from '../form-element-component.directive'; -import { TextFieldElement } from '../classes/textFieldElement'; +import { TextFieldElement } from '../classes/text-field-element'; @Component({ selector: 'app-text-field', diff --git a/projects/common/element-components/text.component.ts b/projects/common/element-components/text.component.ts index e56b6a51d..75325cccc 100644 --- a/projects/common/element-components/text.component.ts +++ b/projects/common/element-components/text.component.ts @@ -3,7 +3,7 @@ import { } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import { ElementComponent } from '../element-component.directive'; -import { TextElement } from '../classes/textElement'; +import { TextElement } from '../classes/text-element'; @Component({ selector: 'app-text', diff --git a/projects/common/element-components/video.component.ts b/projects/common/element-components/video.component.ts index 8ec946d33..73d4e5311 100644 --- a/projects/common/element-components/video.component.ts +++ b/projects/common/element-components/video.component.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; import { ElementComponent } from '../element-component.directive'; -import { VideoElement } from '../classes/videoElement'; +import { VideoElement } from '../classes/video-element'; @Component({ selector: 'app-video', diff --git a/projects/common/form-element-component.directive.ts b/projects/common/form-element-component.directive.ts index 4bc5e7dfa..a0c2c0c62 100644 --- a/projects/common/form-element-component.directive.ts +++ b/projects/common/form-element-component.directive.ts @@ -9,7 +9,7 @@ import { pairwise, startWith, takeUntil } from 'rxjs/operators'; import { FormService } from './form.service'; import { ValueChangeElement } from './form'; import { ElementComponent } from './element-component.directive'; -import { InputElement } from './classes/uIElement'; +import { InputElement } from './classes/uI-element'; @Directive() export abstract class FormElementComponent extends ElementComponent implements OnInit, OnDestroy { diff --git a/projects/common/util/element.factory.ts b/projects/common/util/element.factory.ts index b6151e90a..f60533efc 100644 --- a/projects/common/util/element.factory.ts +++ b/projects/common/util/element.factory.ts @@ -1,14 +1,14 @@ -import { UIElement } from '../classes/uIElement'; -import { TextElement } from '../classes/textElement'; -import { ButtonElement } from '../classes/buttonElement'; -import { TextFieldElement } from '../classes/textFieldElement'; -import { TextAreaElement } from '../classes/textAreaElement'; -import { CheckboxElement } from '../classes/checkboxElement'; -import { DropdownElement } from '../classes/dropdownElement'; -import { RadioButtonGroupElement } from '../classes/radioButtonGroupElement'; -import { ImageElement } from '../classes/imageElement'; -import { AudioElement } from '../classes/audioElement'; -import { VideoElement } from '../classes/videoElement'; +import { UIElement } from '../classes/uI-element'; +import { TextElement } from '../classes/text-element'; +import { ButtonElement } from '../classes/button-element'; +import { TextFieldElement } from '../classes/text-field-element'; +import { TextAreaElement } from '../classes/text-area-element'; +import { CheckboxElement } from '../classes/checkbox-element'; +import { DropdownElement } from '../classes/dropdown-element'; +import { RadioButtonGroupElement } from '../classes/radio-button-group-element'; +import { ImageElement } from '../classes/image-element'; +import { AudioElement } from '../classes/audio-element'; +import { VideoElement } from '../classes/video-element'; export function createElement(elementModel: UIElement, coordinates?: { x: number; y: number }): UIElement { let newElement: UIElement; diff --git a/projects/editor/src/app/components/unit-view/page-view/canvas/canvas-element-overlay.ts b/projects/editor/src/app/components/unit-view/page-view/canvas/canvas-element-overlay.ts index 6e0214c9f..06d6878a9 100644 --- a/projects/editor/src/app/components/unit-view/page-view/canvas/canvas-element-overlay.ts +++ b/projects/editor/src/app/components/unit-view/page-view/canvas/canvas-element-overlay.ts @@ -12,7 +12,7 @@ import { FormElementComponent } from '../../../../../../../common/form-element-c import { ValueChangeElement } from '../../../../../../../common/form'; import { ElementComponent } from '../../../../../../../common/element-component.directive'; import { SelectionService } from '../../../../selection.service'; -import { InputElement, UIElement } from '../../../../../../../common/classes/uIElement'; +import { InputElement, UIElement } from '../../../../../../../common/classes/uI-element'; @Directive() export abstract class CanvasElementOverlay implements OnInit, OnDestroy { diff --git a/projects/editor/src/app/components/unit-view/page-view/canvas/canvas.component.ts b/projects/editor/src/app/components/unit-view/page-view/canvas/canvas.component.ts index ff1e55377..661403c85 100644 --- a/projects/editor/src/app/components/unit-view/page-view/canvas/canvas.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/canvas/canvas.component.ts @@ -7,7 +7,7 @@ import { takeUntil } from 'rxjs/operators'; import { UnitService } from '../../../../unit.service'; import { SelectionService } from '../../../../selection.service'; import { Page } from '../../../../../../../common/classes/page'; -import { UIElement } from '../../../../../../../common/classes/uIElement'; +import { UIElement } from '../../../../../../../common/classes/uI-element'; import { Section } from '../../../../../../../common/classes/section'; @Component({ diff --git a/projects/editor/src/app/components/unit-view/page-view/canvas/dynamic-canvas-overlay.component.ts b/projects/editor/src/app/components/unit-view/page-view/canvas/dynamic-canvas-overlay.component.ts index c61e9c900..e52173916 100644 --- a/projects/editor/src/app/components/unit-view/page-view/canvas/dynamic-canvas-overlay.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/canvas/dynamic-canvas-overlay.component.ts @@ -3,7 +3,7 @@ import { } from '@angular/core'; import { CdkDragMove } from '@angular/cdk/drag-drop'; import { CanvasElementOverlay } from './canvas-element-overlay'; -import { UIElement } from '../../../../../../../common/classes/uIElement'; +import { UIElement } from '../../../../../../../common/classes/uI-element'; @Component({ selector: 'app-dynamic-canvas-overlay', diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts index 46b236235..e80886e55 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.ts @@ -10,7 +10,7 @@ import { UnitService } from '../../../../unit.service'; import { SelectionService } from '../../../../selection.service'; import { MessageService } from '../../../../../../../common/message.service'; import { FileService } from '../../../../../../../common/file.service'; -import { UIElement } from '../../../../../../../common/classes/uIElement'; +import { UIElement } from '../../../../../../../common/classes/uI-element'; @Component({ selector: 'app-element-properties', diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-sizing-properties.component.ts b/projects/editor/src/app/components/unit-view/page-view/properties/element-sizing-properties.component.ts index 298ea6b70..1fbd963ab 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-sizing-properties.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-sizing-properties.component.ts @@ -3,7 +3,7 @@ import { } from '@angular/core'; import { UnitService } from '../../../../unit.service'; import { SelectionService } from '../../../../selection.service'; -import { UIElement } from '../../../../../../../common/classes/uIElement'; +import { UIElement } from '../../../../../../../common/classes/uI-element'; @Component({ selector: 'app-element-sizing-properties', diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-style-properties.component.ts b/projects/editor/src/app/components/unit-view/page-view/properties/element-style-properties.component.ts index d47a8e084..e891409af 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-style-properties.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-style-properties.component.ts @@ -1,7 +1,7 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; -import { UIElement } from '../../../../../../../common/classes/uIElement'; +import { UIElement } from '../../../../../../../common/classes/uI-element'; @Component({ selector: 'app-element-style-properties', diff --git a/projects/editor/src/app/selection.service.ts b/projects/editor/src/app/selection.service.ts index ebcdee736..e12d39a0b 100644 --- a/projects/editor/src/app/selection.service.ts +++ b/projects/editor/src/app/selection.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; -import { UIElement } from '../../../common/classes/uIElement'; +import { UIElement } from '../../../common/classes/uI-element'; @Injectable({ providedIn: 'root' diff --git a/projects/editor/src/app/unit.service.ts b/projects/editor/src/app/unit.service.ts index c07368a59..bf63817a3 100644 --- a/projects/editor/src/app/unit.service.ts +++ b/projects/editor/src/app/unit.service.ts @@ -9,8 +9,8 @@ import { VeronaAPIService } from './verona-api.service'; import { Unit } from '../../../common/classes/unit'; import { Page } from '../../../common/classes/page'; import { Section } from '../../../common/classes/section'; -import { InputElement, UIElement } from '../../../common/classes/uIElement'; -import { TextElement } from '../../../common/classes/textElement'; +import { InputElement, UIElement } from '../../../common/classes/uI-element'; +import { TextElement } from '../../../common/classes/text-element'; @Injectable({ providedIn: 'root' diff --git a/projects/player/src/app/components/element/element.component.ts b/projects/player/src/app/components/element/element.component.ts index ed6a2e79d..86e024c16 100644 --- a/projects/player/src/app/components/element/element.component.ts +++ b/projects/player/src/app/components/element/element.component.ts @@ -13,7 +13,7 @@ import { FormService } from '../../../../../common/form.service'; import { ValueChangeElement } from '../../../../../common/form'; import { UnitStateService } from '../../services/unit-state.service'; import { MarkingService } from '../../services/marking.service'; -import { UIElement } from '../../../../../common/classes/uIElement'; +import { UIElement } from '../../../../../common/classes/uI-element'; @Component({ selector: 'app-element', diff --git a/projects/player/src/app/services/unit-state.service.ts b/projects/player/src/app/services/unit-state.service.ts index bec7b9ee0..0de87d960 100644 --- a/projects/player/src/app/services/unit-state.service.ts +++ b/projects/player/src/app/services/unit-state.service.ts @@ -7,7 +7,7 @@ import { UnitStateElementCodeStatusValue } from '../models/verona'; import { ValueChangeElement } from '../../../../common/form'; -import { InputElement, InputElementValue } from '../../../../common/classes/uIElement'; +import { InputElement, InputElementValue } from '../../../../common/classes/uI-element'; @Injectable({ providedIn: 'root' -- GitLab