diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 1b6457c..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode" -} diff --git a/app/components/TypeComponentForm.vue b/app/components/TypeComponentForm.vue index ffa6701..65d8b2b 100644 --- a/app/components/TypeComponentForm.vue +++ b/app/components/TypeComponentForm.vue @@ -6,48 +6,10 @@ class="btn btn-outline btn-sm" @click="toggleAllComponents" > - - - - - {{ allExpanded ? 'Tout plier' : 'Tout déplier' }} - - - -
-
-
-
Nouveau composant {{ index + 1 }}
@@ -59,97 +21,10 @@ @click="removeComponent(index)" class="btn btn-square btn-error btn-sm" > - - - - -
- -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- Champs personnalisés du composant : - -
-
-
-
-
- Champ personnalisé {{ fieldIndex + 1 }} @@ -161,164 +36,15 @@ @click="removeComponentCustomField(index, fieldIndex)" class="btn btn-square btn-error btn-xs" > - - - - -
- -
-
- -
-
- -
-
- -
-
- +
-
- -
-
- -
- -
-
-
-
- -
-
- Pièces du composant : - -
-
-
-
-
- - - - - Pièce {{ pieceIndex + 1 }} - - - {{ piece.name || 'Sans nom' }} - -
-
- - -
-
- -
-
-
-
-
- Champ {{ fieldIndex + 1 }} @@ -330,165 +56,15 @@ @click="removeComponentPieceCustomField(index, pieceIndex, fieldIndex)" class="btn btn-square btn-error btn-xs" > - - - - -
- -
- - -
- -
-
- - Obligatoire -
- -
- -
- -
-
-
-
-
-
-
- -
-
- Sous-composants : - -
- -
-
-
- - - - - Sous-composant {{ subIndex + 1 }} - - - {{ subComponent.name || 'Sans nom' }} - -
- -
- -
-
-
- Champs personnalisés : - -
-
-
-
-
- Champ {{ fieldIndex + 1 }} @@ -500,149 +76,15 @@ @click="removeSubComponentCustomField(index, subIndex, fieldIndex)" class="btn btn-square btn-error btn-xs" > - - - - -
- -
- - -
- -
-
- - Obligatoire -
- -
-
-
-
- -
-
- Pièces : - -
-
-
-
-
- - - - - Pièce {{ pieceIndex + 1 }} - - - {{ piece.name || 'Sans nom' }} - -
-
- - -
-
- -
-
-
-
-
- Champ {{ fieldIndex + 1 }} @@ -654,9 +96,10 @@ @click="removeSubComponentPieceCustomField(index, subIndex, pieceIndex, fieldIndex)" class="btn btn-square btn-error btn-xs" > - - - +
@@ -718,9 +161,10 @@ @click="addComponent" class="btn btn-outline btn-sm" > - - - +
@@ -728,6 +172,9 @@