diff --git a/app/components/ComponentModelStructureEditor.vue b/app/components/ComponentModelStructureEditor.vue index 40b6905..e65193f 100644 --- a/app/components/ComponentModelStructureEditor.vue +++ b/app/components/ComponentModelStructureEditor.vue @@ -10,7 +10,6 @@ :locked-type-label="displayedRootTypeLabel" :allow-subcomponents="allowSubcomponents" :max-subcomponent-depth="maxSubcomponentDepth" - :restricted-mode="restrictedMode" is-root /> @@ -56,10 +55,6 @@ const props = defineProps({ type: Number, default: Infinity, }, - restrictedMode: { - type: Boolean, - default: false, - }, }) const emit = defineEmits(['update:modelValue']) diff --git a/app/components/PieceModelStructureEditor.vue b/app/components/PieceModelStructureEditor.vue index c58b25c..c26a7fc 100644 --- a/app/components/PieceModelStructureEditor.vue +++ b/app/components/PieceModelStructureEditor.vue @@ -29,7 +29,6 @@ + + Obligatoire @@ -140,27 +129,16 @@ v-model="field.optionsText" class="textarea textarea-bordered textarea-xs h-20" placeholder="Option 1 Option 2" - :disabled="isFieldLocked(field)" /> -
- -
@@ -183,7 +161,6 @@ defineOptions({ name: 'PieceModelStructureEditor' }) const props = defineProps<{ modelValue?: PieceModelStructure | null - restrictedMode?: boolean }>() const emit = defineEmits<{ @@ -194,9 +171,6 @@ const { fields, products, productTypeOptions, - restrictedMode, - isFieldLocked, - isProductLocked, formatProductTypeOption, handleProductTypeSelect, addProduct, diff --git a/app/components/StructureNodeEditor.vue b/app/components/StructureNodeEditor.vue index 69dd4c4..660ee45 100644 --- a/app/components/StructureNodeEditor.vue +++ b/app/components/StructureNodeEditor.vue @@ -109,7 +109,7 @@ class="input input-bordered input-xs" placeholder="Nom du champ" /> - @@ -118,7 +118,7 @@
- + Obligatoire
-
- -
@@ -189,7 +178,6 @@ - -
- -
- @@ -261,7 +240,6 @@