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

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.VBox?>
<VBox prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="com.ecep.contract.controller.cloud.u8.YongYouU8ManagerWindowController">
    <children>
        <MenuBar VBox.vgrow="NEVER">
            <menus>
                <Menu mnemonicParsing="false" text="File">
                    <items>
                        <MenuItem mnemonicParsing="false" text="New"/>
                        <MenuItem mnemonicParsing="false" text="Open…"/>
                        <Menu mnemonicParsing="false" text="Open Recent"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="Close"/>
                        <MenuItem mnemonicParsing="false" text="Save"/>
                        <MenuItem mnemonicParsing="false" text="Save As…"/>
                        <MenuItem mnemonicParsing="false" text="Revert"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="配置…" onAction="#onConfigAction"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="Quit"/>
                    </items>
                </Menu>
                <Menu mnemonicParsing="false" text="同步">
                    <items>
                        <MenuItem mnemonicParsing="false" text="员工信息同步" onAction="#onPersonSyncAction"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="合同数据增量同步" onAction="#onContractSyncAction"/>
                        <MenuItem mnemonicParsing="false" text="合同数据全量同步" onAction="#onContractAllSyncAction"/>
                        <MenuItem mnemonicParsing="false" text="合同分组数据同步"
                                  onAction="#onContractGroupSyncAction"/>
                        <MenuItem mnemonicParsing="false" text="合同分类数据同步" onAction="#onContractTypeSyncAction"/>
                        <MenuItem mnemonicParsing="false" text="合同类型数据同步" onAction="#onContractKindSyncAction"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="供应商数据同步" onAction="#onVendorSyncAction"/>
                        <MenuItem mnemonicParsing="false" text="供应商分类数据同步"
                                  onAction="#onVendorClassSyncAction"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="客户数据同步" onAction="#onCustomerSyncAction"/>
                        <MenuItem mnemonicParsing="false" text="客户分类数据同步"
                                  onAction="#onCustomerClassSyncAction"/>
                    </items>
                </Menu>
                <Menu mnemonicParsing="false" text="Help">
                    <items>
                        <MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
                    </items>
                </Menu>
            </menus>
        </MenuBar>
        <ToolBar prefHeight="40.0" prefWidth="200.0">
            <items>
                <TextField fx:id="searchKeyField" promptText="检索关键字"/>
                <Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
            </items>
        </ToolBar>
        <TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
            <columns>
                <TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
                <TableColumn fx:id="companyColumn" prefWidth="200.0" text="公司"/>
                <TableColumn fx:id="latestUpdateColumn" prefWidth="160.0" text="更新日期"/>
                <TableColumn fx:id="cloudIdColumn" prefWidth="150.0" text="平台编号"/>
                <TableColumn fx:id="cloudLatestColumn" prefWidth="160.0"
                             text="平台更新日期"/>
                <TableColumn fx:id="descriptionColumn" text="Description"/>
            </columns>
        </TableView>
        <fx:include source="../part-footer.fxml" fx:id="footer"/>
    </children>
</VBox>
