mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7119] Fix circular dependencies (#7472)
* fix language item dependency * fix public-api export * dependency fixes * fix circular deps * fix circular deps * fix circular deps * fix circular deps * fix circular dependency * workaround for circular deps * fix lint
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormModel } from './../components/widgets/core/index';
|
||||
import { FormModel } from '../components/widgets/core/form.model';
|
||||
import { FormEvent } from './form.event';
|
||||
|
||||
export class FormErrorEvent extends FormEvent {
|
||||
|
@@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormFieldModel, FormModel } from './../components/widgets/core/index';
|
||||
import { FormFieldModel } from '../components/widgets/core/form-field.model';
|
||||
import { FormEvent } from './form.event';
|
||||
|
||||
export class FormFieldEvent extends FormEvent {
|
||||
|
||||
readonly field: FormFieldModel;
|
||||
|
||||
constructor(form: FormModel, field: FormFieldModel) {
|
||||
constructor(form: any, field: FormFieldModel) {
|
||||
super(form);
|
||||
this.field = field;
|
||||
}
|
||||
|
@@ -15,15 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormModel } from './../components/widgets/core/index';
|
||||
|
||||
export class FormEvent {
|
||||
|
||||
private isDefaultPrevented: boolean = false;
|
||||
|
||||
readonly form: FormModel;
|
||||
readonly form: any;
|
||||
|
||||
constructor(form: FormModel) {
|
||||
constructor(form: any) {
|
||||
this.form = form;
|
||||
}
|
||||
|
||||
|
@@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormFieldModel } from '../components/widgets/core/form-field.model';
|
||||
import { FormModel } from '../components/widgets/core/form.model';
|
||||
import { DynamicRowValidationSummary } from '../components/widgets/dynamic-table/dynamic-row-validation-summary.model';
|
||||
import { DynamicTableRow } from '../components/widgets/dynamic-table/dynamic-table-row.model';
|
||||
|
||||
import { FormFieldModel, FormModel } from './../components/widgets/core/index';
|
||||
import { FormFieldEvent } from './form-field.event';
|
||||
|
||||
export class ValidateDynamicTableRowEvent extends FormFieldEvent {
|
||||
|
@@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormFieldModel, FormModel } from './../components/widgets/core/index';
|
||||
import { FormFieldModel } from '../components/widgets/core/form-field.model';
|
||||
import { FormFieldEvent } from './form-field.event';
|
||||
|
||||
export class ValidateFormFieldEvent extends FormFieldEvent {
|
||||
|
||||
isValid = true;
|
||||
|
||||
constructor(form: FormModel, field: FormFieldModel) {
|
||||
constructor(form: any, field: FormFieldModel) {
|
||||
super(form, field);
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormModel } from './../components/widgets/core/index';
|
||||
import { FormEvent } from './form.event';
|
||||
import { FormFieldModel } from '../components/widgets/core/form-field.model';
|
||||
|
||||
@@ -24,7 +23,7 @@ export class ValidateFormEvent extends FormEvent {
|
||||
isValid = true;
|
||||
errorsField: FormFieldModel[] = [];
|
||||
|
||||
constructor(form: FormModel) {
|
||||
constructor(form: any) {
|
||||
super(form);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user