<?xml version="1.0" encoding="UTF-8"?>

<?import com.megatimfx.common.customcontrols.AbstractNestedEntityTable?>
<?import com.megatimfx.common.customcontrols.AbstractSelectionItem?>
<?import com.megatimfx.common.customcontrols.CustomFileChooser?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="503.0" prefWidth="705.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="importation.validation.data.client.forms.FileToValidateEditFormController">
   <children>
      <VBox prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <TabPane fx:id="tabPane" prefHeight="553.0" prefWidth="702.0" stylesheets="@../../../../../styles/CustomFormComponents.css" tabClosingPolicy="UNAVAILABLE">
              <tabs>
                <Tab text="Fichier à valider">
                     <content>
                        <VBox prefHeight="518.0" prefWidth="645.0" spacing="15.0">
                           <children>
                              <TitledPane collapsible="false" prefHeight="496.0" prefWidth="702.0" style="-fx-text-fill: #fff;" text="Informations sur le fichier à valider">
                                 <content>
                                    <VBox prefHeight="275.0" prefWidth="614.0" spacing="20.0" style="-fx-background-color: #fff;">
                                       <children>
                                          <HBox layoutX="25.0" layoutY="358.0" prefHeight="43.0" prefWidth="637.0" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Utiliser un modèle de conversion existant" />
                                                <CheckBox fx:id="useExistingConversionModelCheckBox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" text="Oui" />
                                             </children>
                                          </HBox>
                                          <HBox alignment="CENTER_LEFT" layoutX="25.0" layoutY="25.0" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" maxWidth="213.0" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Modèle de conversion" />
                                                <AbstractSelectionItem fx:id="conversionModelAbstractSelectItem" minWidth="390.0" prefHeight="25.0" prefWidth="390.0" />
                                             </children>
                                          </HBox>
                                          <HBox alignment="CENTER_LEFT" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" maxWidth="213.0" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Type du fichier à valider" />
                                                <AbstractSelectionItem fx:id="typeFichierAbstractSelectItem" minWidth="390.0" prefHeight="25.0" prefWidth="390.0" />
                                             </children>
                                          </HBox>
                                          <HBox alignment="CENTER_LEFT" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Fichier à valider" />
                                                <CustomFileChooser fx:id="fileToValidateFileChooser" minWidth="390.0" prefWidth="390.0" />
                                             </children>
                                          </HBox>
                                          <HBox alignment="CENTER_LEFT" layoutX="25.0" layoutY="169.0" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Format du fichier de données" />
                                                <ComboBox fx:id="dataTypeComboBox" minHeight="25.0" minWidth="300.0" prefHeight="25.0" prefWidth="300.0" style="-fx-background-radius: 0%;" />
                                             </children>
                                          </HBox>
                                          <HBox fx:id="delimiteurLigneHBox" alignment="CENTER_LEFT" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Délimiteur de ligne" />
                                                <ComboBox fx:id="delimiteurLigne" minHeight="25.0" minWidth="300.0" prefHeight="25.0" prefWidth="300.0" style="-fx-background-radius: 0%;" />
                                             </children>
                                          </HBox>
                                          <HBox fx:id="delimiteurColonneHBox" alignment="CENTER_LEFT" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Délimiteur colonne" />
                                                <ComboBox fx:id="delimiteurColonne" minHeight="25.0" minWidth="300.0" prefHeight="25.0" prefWidth="300.0" style="-fx-background-radius: 0%;" />
                                             </children>
                                          </HBox>
                                          <HBox prefHeight="43.0" prefWidth="637.0" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Fichier contient ligne d'entête ?" />
                                                <CheckBox fx:id="headerPresentCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" text="Oui" />
                                             </children>
                                          </HBox>
                                          <HBox layoutX="25.0" layoutY="244.0" prefHeight="43.0" prefWidth="637.0" spacing="10.0">
                                             <children>
                                                <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Validation stricte des données ?" />
                                                <CheckBox fx:id="strictValidationCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" text="Oui" />
                                             </children>
                                          </HBox>
                                       </children>
                                       <padding>
                                          <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
                                       </padding>
                                    </VBox>
                                 </content>
                              </TitledPane>
                           </children>
                           <padding>
                              <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
                           </padding>
                        </VBox>
                     </content>
                </Tab>
                <Tab text="Champs à tronquer">
                     <content>
                        <VBox prefHeight="200.0" prefWidth="100.0" spacing="15.0">
                           <children>
                              <TitledPane animated="false" collapsible="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Informations sur les champs">
                                 <content>
                                    <VBox prefHeight="200.0" prefWidth="100.0" spacing="5.0">
                                       <children>
                                          <HBox alignment="CENTER_RIGHT">
                                             <children>
                                                <CheckBox fx:id="saisieAlphaNumeriqueFieldChecBox" mnemonicParsing="false" styleClass="square-border" stylesheets="@../../../../../../../../../generation-validateur-typefichier/src/main/resources/styles/style.css" text="Sélectionner les champs à tronquer" />
                                             </children>
                                          </HBox>
                                          <AbstractNestedEntityTable fx:id="metaAlphaNumeriqueFieldAbstractTable" prefHeight="252.0" prefWidth="526.0" VBox.vgrow="ALWAYS" />
                                       </children>
                                       <padding>
                                          <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
                                       </padding>
                                    </VBox>
                                 </content>
                              </TitledPane>
                           </children>
                           <padding>
                              <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
                           </padding>
                        </VBox>
                     </content>
                </Tab>
              </tabs>
            </TabPane>
         </children>
      </VBox>
   </children>
</AnchorPane>
