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

<!--
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
-->

<tobago-config
    xmlns="http://myfaces.apache.org/tobago/tobago-config"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://myfaces.apache.org/tobago/tobago-config http://myfaces.apache.org/tobago/tobago-config-2.3.xsd"
    version="2.3">

  <name>tobago-theme-standard</name>

  <resource-dir>org/apache/myfaces/tobago/renderkit</resource-dir>

  <content-security-policy mode="on">
    <directive>default-src 'self'</directive>
  </content-security-policy>

  <theme-definitions>
    <theme-definition>
      <name>standard</name>
      <display-name>Standard Theme</display-name>
      <resource-path>org/apache/myfaces/tobago/renderkit</resource-path>
      <versioned>true</versioned>
      <renderers>
        <renderer>
          <name>BoxToolBar</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Button</name>
          <supported-markup>
            <markup>default</markup>
            <markup>disabled</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Calendar</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Column</name>
          <supported-markup>
            <!-- XXX needed for "cell", is here to ignore the warning -->
            <markup>pure</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Date</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>File</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Image</name>
          <supported-markup>
            <markup>disabled</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>In</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>number</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Label</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Link</name>
          <supported-markup>
            <markup>disabled</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Menu</name>
          <supported-markup>
            <!-- internal: for the root of the menu -->
            <markup>top</markup>
            <!-- internal: to mark "cursor" position in the menu -->
            <markup>selected</markup>
            <markup>disabled</markup>
            <!-- internal: sheet command -->
            <markup>sheetSelectAll</markup>
            <!-- internal: sheet command -->
            <markup>sheetDeselectAll</markup>
            <!-- internal: sheet command -->
            <markup>sheetToggleAll</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>MenuCommand</name>
          <supported-markup>
            <markup>disabled</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Messages</name>
          <supported-markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Out</name>
          <supported-markup>
            <markup>deleted</markup>
            <markup>strong</markup>
            <markup>number</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Page</name>
          <supported-markup>
            <markup>portlet</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Popup</name>
          <supported-markup>
            <markup>modal</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectBooleanCheckbox</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectManyBox</name>
          <supported-markup>
            <markup>container</markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
            <markup>inline</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectManyCheckbox</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
            <markup>inline</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectManyListbox</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectManyShuttle</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectOneChoice</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectOneListbox</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>SelectOneRadio</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <markup>selected</markup>
            <markup>inline</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Sheet</name>
          <supported-markup>
            <!-- internal: for the paging buttons -->
            <markup>disabled</markup>
            <!-- internal: for the header -->
            <markup>resizable</markup>
            <markup>sortable</markup>
            <markup>ascending</markup>
            <markup>descending</markup>
            <!-- for the rows -->
            <markup>odd</markup>
            <markup>even</markup>
            <markup>selected</markup>
            <!-- for the cells -->
            <markup>clickable</markup>
            <markup>filler</markup>
            <markup>first</markup>
            <markup>pure</markup>
            <!-- internal: for the paging fields -->
            <markup>left</markup>
            <markup>center</markup>
            <markup>right</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Tab</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>selected</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>TabGroupToolBar</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Textarea</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>Time</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>readonly</markup>
            <markup>required</markup>
            <markup>fatal</markup>
            <markup>error</markup>
            <markup>warn</markup>
            <markup>info</markup>
            <!-- internal: for the seconds field -->
            <markup>seconds</markup>
            <markup>timepicker</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>ToolBar</name>
          <supported-markup>
            <markup>disabled</markup>
            <markup>selected</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>TreeCommand</name>
          <supported-markup>
            <markup>disabled</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>TreeLabel</name>
          <supported-markup>
            <markup>disabled</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>TreeNode</name>
          <supported-markup>
            <markup>disabled</markup>
            <!--XXX has to be in label and command ? -->
            <markup>strong</markup>
            <markup>selected</markup>
            <markup>folder</markup>
            <markup>expanded</markup>
          </supported-markup>
        </renderer>
        <renderer>
          <name>TreeMenuNode</name>
          <supported-markup>
            <markup>disabled</markup>
            <!--XXX has to be in label and command ? -->
            <markup>strong</markup>
            <markup>selected</markup>
            <markup>folder</markup>
            <markup>expanded</markup>
          </supported-markup>
        </renderer>
      </renderers>
      <resources production="true">
        <script priority="10" name="script/contrib/jquery-3.6.0.js"/>
        <script priority="20" name="script/contrib/jquery-ui-1.13.1.custom.js"/>
        <script priority="30" name="script/contrib/jquery-ui-timepicker-addon-1.6.3.js"/>
        <script priority="35" name="script/contrib/select2/select2.full.js"/>
        <script priority="40" name="script/tobago.js"/>
        <style priority="10" name="style/contrib/ui-lightness/jquery-ui-1.13.1.custom.css"/>
        <style priority="20" name="style/contrib/jquery-ui-timepicker-addon-1.6.3.css"/>
        <style priority="25" name="style/contrib/select2/select2.css"/>
        <style priority="30" name="style/tobago.css"/>
        <!-- backward compatibility -->
        <style priority="40" name="style/style.css"/>
      </resources>
      <resources production="false">
        <script priority="10" name="script/contrib/jquery-3.6.0.js"/>
        <script priority="20" name="script/contrib/jquery-ui-1.13.1.custom.js"/>
        <script priority="30" name="script/contrib/jquery-ui-timepicker-addon-1.6.3.js"/>
        <script priority="35" name="script/contrib/select2/select2.full.js"/>
        <script priority="40" name="script/tobago.js"/>
        <script priority="50" name="script/tobago-calendar.js"/>
        <script priority="60" name="script/tobago-console.js"/>
        <script priority="70" name="script/tobago-converter.js"/>
        <script priority="75" name="script/tobago-deltaspike.js"/>
        <script priority="80" name="script/tobago-file.js"/>
        <script priority="90" name="script/tobago-in.js"/>
        <script priority="100" name="script/tobago-menu.js"/>
        <script priority="110" name="script/tobago-overlay.js"/>
        <script priority="120" name="script/tobago-popup.js"/>
        <script priority="125" name="script/tobago-select2.js"/>
        <script priority="130" name="script/tobago-sheet.js"/>
        <script priority="140" name="script/tobago-suggest.js"/>
        <script priority="150" name="script/tobago-tab.js"/>
        <script priority="160" name="script/tobago-tree.js"/>
        <script priority="170" name="script/tobago-utils.js"/>
        <script priority="180" name="script/tobago-logging.js"/>
        <style priority="10" name="style/contrib/ui-lightness/jquery-ui-1.13.1.custom.css"/>
        <style priority="20" name="style/contrib/jquery-ui-timepicker-addon-1.6.3.css"/>
        <style priority="25" name="style/contrib/select2/select2.css"/>
        <style priority="30" name="style/tobago.css"/>
        <!-- backward compatibility -->
        <style priority="40" name="style/style.css"/>
      </resources>
    </theme-definition>
  </theme-definitions>
</tobago-config>
