design to light button and panel working without indicators

This commit is contained in:
isUnknown 2025-01-22 13:25:34 +01:00
parent 5a80cfaa81
commit c2314e6b8e
11 changed files with 221 additions and 23 deletions

View file

@ -0,0 +1,66 @@
designToLight:
label: Design to light
icon: leaf
columns:
- width: 2/10
fields:
isDTLEnabled:
label: Actif
type: toggle
default: false
- width: 8/10
fields:
DTLProposalLocation:
label: Localisation de la proposition Design to light
type: radio
options:
proposal: Proposition commerciale
industrialIdeation: Idéation industrielle
virtualSampleDynamicTrack: Échantillon virtuel - piste dynamique
virtualSampleStaticTrack: Échantillon virtuel - piste statique
when:
isDTLEnabled: true
width: 1/2
DTLproposal:
label: Fichier
type: files
multiple: false
query: page.find('proposal').pdf.toFiles
width: 1/2
when:
DTLProposalLocation: proposal
DTLindustrialIdeation:
label: Fichier
type: files
multiple: false
query: page.find('industrial-ideation').files
width: 1/2
when:
DTLProposalLocation: industrialIdeation
DTLVirtualSampleDynamicTrack:
label: Piste dynamique
type: pages
multiple: false
query: page.find('virtual-sample').children
width: 1/2
when:
DTLProposalLocation: virtualSampleDynamicTrack
DTLVirtualSampleStaticTrack:
label: Piste statique
type: files
multiple: false
query: page.find('virtual-sample').rawGlass.toFiles.add(page.find('virtual-sample').finishedGlass.toFile)
width: 1/2
when:
DTLProposalLocation: virtualSampleStaticTrack
DTLGrade:
label: Note globale
type: text
when:
isDTLEnabled: true