From 5c276faf786a68340fdf3c96a0e8960d8152b67b Mon Sep 17 00:00:00 2001 From: ewandor Date: Mon, 27 Mar 2023 01:29:56 +0200 Subject: [PATCH] Folding lists and opened variables --- front/app/src/common/crud/types/array.type.ts | 62 +++++++++++-------- .../src/common/crud/types/dictionary.type.ts | 2 +- 2 files changed, 36 insertions(+), 28 deletions(-) diff --git a/front/app/src/common/crud/types/array.type.ts b/front/app/src/common/crud/types/array.type.ts index b94511b1..c7e86937 100644 --- a/front/app/src/common/crud/types/array.type.ts +++ b/front/app/src/common/crud/types/array.type.ts @@ -2,36 +2,44 @@ import {Component, OnInit} from '@angular/core'; import { FieldArrayType } from '@ngx-formly/core'; @Component({ - selector: 'formly-array-type', - template: ` -
- -

{{ props.description }}

- -
-
-
-
-
- {{ i + 1 }} + selector: 'formly-array-type', + template: ` +
+ + + + +

{{ props.description }}

+ -
- - - + + +
+
+
+
+
+ {{ i + 1 }} +
+
+ + + +
+
+
+ +
+
+
-
-
- -
-
-
+ + + +
- -
- `, + `, }) export class ArrayTypeComponent extends FieldArrayType implements OnInit { colSm: string = "col-sm-6" diff --git a/front/app/src/common/crud/types/dictionary.type.ts b/front/app/src/common/crud/types/dictionary.type.ts index 9b49bcec..f64873f3 100644 --- a/front/app/src/common/crud/types/dictionary.type.ts +++ b/front/app/src/common/crud/types/dictionary.type.ts @@ -10,7 +10,7 @@ import {FormlyJsonschema} from "@ngx-formly/core/json-schema"; template: `
- +