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

<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.Group?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleGroup?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.shape.Circle?>
<?import javafx.scene.shape.Line?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane id="AnchorPane" fx:id="AnchoreClientPerson" minHeight="662.0" minWidth="816.0" prefHeight="662.0" prefWidth="816.0" style="-fx-background-color: rgba(0,0,0,0.6);" styleClass="AnchorPane-Default" stylesheets="@../../Public/CSS/StylePrincipal.css" xmlns="http://javafx.com/javafx/13" xmlns:fx="http://javafx.com/fxml/1">
   <children>
      <StackPane fx:id="StackpaneClient" layoutX="17.0" layoutY="14.0" prefHeight="593.0" prefWidth="757.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <AnchorPane maxHeight="662.0" maxWidth="816.0" minHeight="662.0" minWidth="816.0" prefHeight="662.0" prefWidth="816.0" style="-fx-background-color: #FFFFFF;">
               <children>
                  <ProgressBar fx:id="ProgressBarClientPersonne" prefHeight="5.0" prefWidth="774.0" scaleShape="false" visible="false" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
               </children></AnchorPane>
            <AnchorPane fx:id="AnchorPaneGestionClt" maxHeight="620.0" maxWidth="776.0" minHeight="620.0" minWidth="776.0" prefHeight="620.0" prefWidth="776.0" style="-fx-background-radius: 5; -fx-border-color: #35aa47; -fx-border-radius: 5;" styleClass="AnchorPane-Default" stylesheets="@../../Public/CSS/StylePrincipal.css">
               <children>
                  <AnchorPane prefHeight="40.0" prefWidth="776.0" style="-fx-background-color: #35aa47;" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                     <children>
                        <Text fill="WHITE" fontSmoothingType="LCD" layoutX="52.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Rechercher Client">
                           <font>
                              <Font name="System Bold" size="14.0" />
                           </font>
                        </Text>
                        <ImageView fitHeight="20.0" fitWidth="28.0" layoutX="14.0" layoutY="10.0">
                           <image>
                              <Image url="@../../Public/icon/Client.png" />
                           </image>
                        </ImageView>
                     </children>
                  </AnchorPane>
                  <StackPane layoutX="23.2" layoutY="43.2" prefHeight="40.0" prefWidth="701.0" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="53.0" AnchorPane.topAnchor="42.0">
                     <children>
                        <Group>
                           <children>
                              <RadioButton fx:id="cltPersonne" layoutX="95.0" layoutY="-4.0" mnemonicParsing="false" selected="true" text="Personne physique">
                                 <toggleGroup>
                                    <ToggleGroup fx:id="typeclient" />
                                 </toggleGroup>
                              </RadioButton>
                              <RadioButton fx:id="cltEntreprise" layoutX="236.0" layoutY="-4.0" mnemonicParsing="false" text="Une entreprise" toggleGroup="$typeclient" />
                              <Text layoutX="-14.0" layoutY="10.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Type Client">
                                 <font>
                                    <Font size="15.0" />
                                 </font>
                              </Text>
                           </children>
                        </Group>
                     </children>
                  </StackPane>
                  <AnchorPane layoutX="18.0" layoutY="82.0" prefHeight="170.0" prefWidth="743.0" styleClass="panel-default" AnchorPane.leftAnchor="18.0" AnchorPane.rightAnchor="17.600000000000136" AnchorPane.topAnchor="82.0">
                     <children>
                        <AnchorPane prefHeight="35.0" prefWidth="200.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                           <children>
                              <Button fx:id="ButtonSearchClientPersonne" layoutY="1.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="162.0" styleClass="btn-icon-search" text="Filtre de recherche">
                                 <font>
                                    <Font name="Arial" size="12.0" />
                                 </font>
                              </Button>
                           </children>
                        </AnchorPane>
                        <GridPane layoutX="1.0" layoutY="57.0" prefHeight="30.0" prefWidth="765.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="56.0">
                           <children>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code">
                                 <font>
                                    <Font name="Arial" size="12.0" />
                                 </font>
                              </Text>
                              <TextField fx:id="GestionClientcode" prefHeight="30.0" prefWidth="74.0" GridPane.columnIndex="1" />
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom" GridPane.columnIndex="3" />
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Prénom" GridPane.columnIndex="6" />
                              <TextField fx:id="GestionClientnom" prefHeight="30.0" prefWidth="123.0" GridPane.columnIndex="4" />
                              <TextField fx:id="GestionClientprenom" prefHeight="30.0" prefWidth="123.0" GridPane.columnIndex="7" />
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Naissance" GridPane.columnIndex="9" />
                              <DatePicker fx:id="DatePickerNaissance" prefHeight="35.0" GridPane.columnIndex="10" />
                           </children>
                           <columnConstraints>
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="36.0" minWidth="36.0" prefWidth="36.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="70.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="30.0" minWidth="30.0" prefWidth="30.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="28.0" minWidth="28.0" prefWidth="28.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="73.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="30.0" minWidth="30.0" prefWidth="30.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="45.0" minWidth="45.0" prefWidth="45.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="84.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="30.0" minWidth="10.0" prefWidth="30.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="55.0" minWidth="55.0" prefWidth="55.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="83.0" />
                           </columnConstraints>
                           <rowConstraints>
                              <RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                           </rowConstraints>
                        </GridPane>
                        <GridPane layoutX="8.0" layoutY="117.0" prefHeight="30.0" prefWidth="721.0">
                           <columnConstraints>
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="40.0" minWidth="40.0" prefWidth="40.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="169.00001525878906" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="319.99998779296874" />
                           </columnConstraints>
                           <rowConstraints>
                              <RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                           </rowConstraints>
                           <children>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="CIN">
                                 <font>
                                    <Font name="Verdana" size="12.0" />
                                 </font>
                              </Text>
                              <TextField fx:id="GestionClientcin" prefHeight="35.0" prefWidth="123.0" GridPane.columnIndex="1" />
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom complet" GridPane.columnIndex="3" />
                              <TextField fx:id="GestionClientnomcomplet" prefHeight="35.0" prefWidth="123.0" GridPane.columnIndex="4" />
                           </children>
                        </GridPane>
                     </children>
                  </AnchorPane>
                  <AnchorPane id="AnchorPane" layoutX="20.4" layoutY="267.2" prefHeight="294.0" prefWidth="740.0" styleClass="panel-bleu" AnchorPane.bottomAnchor="60.0" AnchorPane.leftAnchor="19.0" AnchorPane.rightAnchor="17.0" AnchorPane.topAnchor="266.0">
                     <children>
                        <AnchorPane prefHeight="35.0" prefWidth="600.0" styleClass="panel-bleu-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                           <children>
                              <Text fill="WHITE" fontSmoothingType="LCD" layoutX="27.0" layoutY="22.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Liste des clients">
                                 <font>
                                    <Font name="Verdana Bold" size="12.0" />
                                 </font>
                              </Text>
                              <Line endX="10.0" layoutX="10.0" layoutY="12.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
                              <Line endX="10.0" layoutX="10.0" layoutY="17.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
                              <Line endX="10.0" layoutX="10.0" layoutY="22.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
                           </children>
                        </AnchorPane>
                        <TableView fx:id="TableViewListeClient" editable="true" layoutX="3.0" layoutY="36.0" prefHeight="212.0" prefWidth="573.0" style="-fx-border-color: #FFFFFF;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="35.0">
                           <columnResizePolicy>
                              <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                           </columnResizePolicy>
                           <columns>
                              <TableColumn fx:id="codeclient" maxWidth="74.0" minWidth="74.0" prefWidth="74.0" resizable="false" text="#" />
                              <TableColumn fx:id="cin" maxWidth="86.0" minWidth="86.0" prefWidth="86.0" resizable="false" text="CIN" />
                              <TableColumn fx:id="nomcomplet" maxWidth="6000.0" minWidth="200.0" prefWidth="200.0" text="Nom complet" />
                              <TableColumn fx:id="nom" minWidth="90.0" prefWidth="130.0" text="Nom" />
                              <TableColumn fx:id="prenom" minWidth="108.0" prefWidth="108.0" text="Prénom" />
                              <TableColumn fx:id="tele" maxWidth="80.0" minWidth="80.0" resizable="false" text="Tele" />
                              <TableColumn fx:id="Action" maxWidth="76.0" minWidth="76.0" prefWidth="76.0" resizable="false" text="Operation" />
                           </columns>
                        </TableView>
                     </children>
                  </AnchorPane>
                  <Button layoutX="665.0" layoutY="569.0" mnemonicParsing="false" onAction="#QuiterButtonAction" prefHeight="39.0" prefWidth="95.0" styleClass="btn-simple" text="Quiter">
                     <font>
                        <Font size="17.0" />
                     </font>
                  </Button>
                  <Group layoutX="3.0" layoutY="243.0">
                     <children>
                        <Label fx:id="LabelCount" layoutX="80.0" layoutY="334.0" style="-fx-background-color: #2dcb73; -fx-background-radius: 2; -fx-padding: 5;" text="0" textFill="WHITE">
                           <font>
                              <Font name="Arial Bold" size="11.0" />
                           </font>
                        </Label>
                        <Text layoutX="14.0" layoutY="349.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Total Count" AnchorPane.bottomAnchor="12.0" />
                     </children>
                  </Group>
                  <AnchorPane layoutX="209.0" layoutY="569.0" prefHeight="40.0" prefWidth="321.0">
                     <children>
                        <Text layoutX="134.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="|">
                           <font>
                              <Font name="Arial" size="17.0" />
                           </font>
                        </Text>
                        <HBox layoutX="150.0" layoutY="13.0" spacing="5.0">
                           <children>
                              <Text fx:id="ActuellePage" layoutX="149.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="0">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text layoutX="165.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="/">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="NbrPage" layoutX="177.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="0">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                           </children>
                        </HBox>
                        <Group fx:id="retourgroupe" layoutX="80.0" layoutY="20.0">
                           <children>
                              <Circle fill="WHITE" radius="11.0" stroke="#81818f" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-4.0" layoutY="-5.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-4.0" layoutY="-1.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="2.0" layoutY="-5.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="2.0" layoutY="-1.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                           </children>
                        </Group>
                        <Group fx:id="lastgroupe" layoutX="112.0" layoutY="20.0">
                           <children>
                              <Circle fill="WHITE" radius="11.0" stroke="#81818f" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-1.0" layoutY="-1.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-1.0" layoutY="-5.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                           </children>
                        </Group>
                        <Group fx:id="nextgroupe" layoutX="224.0" layoutY="20.0">
                           <children>
                              <Circle fx:id="nextcercle" fill="WHITE" radius="11.0" stroke="#81818f" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutY="-1.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutY="-6.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                           </children>
                        </Group>
                        <Group fx:id="avancergroupe" layoutX="254.0" layoutY="20.0">
                           <children>
                              <Circle fill="WHITE" radius="11.0" stroke="#80808f" strokeDashOffset="3.0" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-2.0" layoutY="-1.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-2.0" layoutY="-6.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="4.0" layoutY="-0.5" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                              <Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="4.0" layoutY="-5.5" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
                           </children>
                        </Group>
                        <Text layoutX="196.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="|">
                           <font>
                              <Font name="Arial" size="17.0" />
                           </font>
                        </Text>
                        <ChoiceBox fx:id="NbrLigne" layoutX="280.0" layoutY="8.0" prefHeight="25.0" prefWidth="41.0" style="-fx-background-color: #FFFFFFFF;" />
                     </children>
                  </AnchorPane>
               </children>
            </AnchorPane>
         </children>
      </StackPane>
   </children>
</AnchorPane>
