<?xml version="1.0" encoding="UTF-8"?>
<!--
 This file is part of the Meeds project (https://meeds.io/).

 Copyright (C) 2020 - 2025 Meeds Association contact@meeds.io

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 3 of the License, or (at your option) any later version.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public License
 along with this program; if not, write to the Free Software Foundation,
 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<gatein-resources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplatform.org/xml/ns/gatein_resources_1_5 http://www.exoplatform.org/xml/ns/gatein_resources_1_5" xmlns="http://www.exoplatform.org/xml/ns/gatein_resources_1_5">

  <portal-skin>
    <skin-name>Enterprise</skin-name>
    <skin-module>taskCommentsDrawer</skin-module>
    <css-path>/skin/css/tasksCommentDrawer.css</css-path>
    <css-priority>2</css-priority>
    <filtered>true</filtered>
  </portal-skin>

  <portal-skin>
    <skin-name>Enterprise</skin-name>
    <skin-module>tasksDrawer</skin-module>
    <css-path>/skin/css/tasksDrawer.css</css-path>
    <css-priority>2</css-priority>
    <filtered>true</filtered>
  </portal-skin>

  <portal-skin>
    <skin-name>Enterprise</skin-name>
    <skin-module>tasks</skin-module>
    <css-path>/skin/css/tasks.css</css-path>
    <css-priority>2</css-priority>
    <filtered>true</filtered>
  </portal-skin>

  <portlet-skin>
    <application-name>task-management</application-name>
    <portlet-name>tasks</portlet-name>
    <skin-name>Enterprise</skin-name>
    <css-priority>2</css-priority>
    <additional-module>tasks</additional-module>
    <additional-module>tasksDrawer</additional-module>
    <additional-module>taskCommentsDrawer</additional-module>
    <additional-module>ImageCropper</additional-module>
  </portlet-skin>

  <portlet-skin>
    <application-name>task-management</application-name>
    <portlet-name>TasksManagement</portlet-name>
    <skin-name>Enterprise</skin-name>
    <css-priority>2</css-priority>
    <additional-module>tasks</additional-module>
    <additional-module>tasksDrawer</additional-module>
    <additional-module>taskCommentsDrawer</additional-module>
    <additional-module>ImageCropper</additional-module>
  </portlet-skin>

  <module>
    <name>ganttChart</name>
    <script>
      <minify>false</minify>
      <path>/js/frappegantt.js</path>
    </script>
  </module>

  <portlet>
    <name>tasks</name>
    <module>
      <depends>
        <module>tasksBundle</module>
      </depends>
      <depends>
        <module>vue</module>
      </depends>
      <depends>
        <module>vuetify</module>
      </depends>
      <depends>
        <module>eXoVueI18n</module>
      </depends>
      <depends>
        <module>commonVueComponents</module>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
    </module>
  </portlet>

  <module>
    <name>tasksBundle</name>
    <script>
      <minify>false</minify>
      <path>/js/tasks.bundle.js</path>
    </script>
    <depends>
      <module>taskDrawer</module>
    </depends>
    <depends>
      <module>ExtendedDomPurify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>taskDrawer</name>
    <load-group>taskDrawerGrp</load-group>
    <script>
      <minify>false</minify>
      <path>/js/taskDrawer.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>attachImage</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>taskCommentsDrawer</name>
    <script>
      <minify>false</minify>
      <path>/js/taskCommentsDrawer.bundle.js</path>
    </script>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>purifyVue</module>
    </depends>
    <depends>
      <module>ExtendedDomPurify</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>TaskSearch</name>
    <script>
      <minify>false</minify>
      <path>/js/taskSearch.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
    <depends>
      <module>taskDrawer</module>
    </depends>
    <depends>
      <module>taskCommentsDrawer</module>
    </depends>
  </module>
  
  <portlet>
    <name>RestrictedProject</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/restrictedProject.bundle.js</path>
      </script>
      <depends>
        <module>commonVueComponents</module>
      </depends>
      <depends>
        <module>vue</module>
      </depends>
      <depends>
        <module>vuetify</module>
      </depends>
      <depends>
        <module>eXoVueI18n</module>
      </depends>
      <depends>
        <module>extensionRegistry</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>TasksManagement</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/tasksManagement.bundle.js</path>
      </script>
      <depends>
        <module>taskDrawer</module>
      </depends>
      <depends>
        <module>taskCommentsDrawer</module>
      </depends>
      <depends>
        <module>ExtendedDomPurify</module>
      </depends>
      <depends>
        <module>commonVueComponents</module>
      </depends>
      <depends>
        <module>vueDraggable</module>
      </depends>
      <depends>
        <module>ganttChart</module>
      </depends>
      <depends>
        <module>vue</module>
      </depends>
      <depends>
        <module>vuetify</module>
      </depends>
      <depends>
        <module>eXoVueI18n</module>
      </depends>
      <depends>
        <module>commons-editor</module>
        <as>editor</as>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>eCharts</module>
      </depends>
      <depends>
        <module>extensionRegistry</module>
      </depends>
    </module>
  </portlet>

  <module>
    <name>engagementCenterActionsTaskExtensions</name>
    <load-group>engagement-center-user-actions</load-group>
    <script>
      <path>/js/engagementCenterExtensions.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
  </module>

  <module>
    <name>engagementCenterConnectorEventsTaskExtensions</name>
    <load-group>engagement-center-connector-event-extensions</load-group>
    <script>
      <path>/js/connectorEventExtensions.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>taskNotificationExtension</name>
    <load-group>notificationGRP</load-group>
    <script>
      <path>/js/notificationExtension.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
  </module>

  <module>
    <name>taskQuickActionExtension</name>
    <load-group>QuickActionsGrp</load-group>
    <script>
      <path>/js/taskQuickAction.bundle.js</path>
    </script>
    <depends>
      <module>extensionRegistry</module>
    </depends>
  </module>

  <module>
    <name>taskContentLinkExtension</name>
    <load-group>contentLinkGRP</load-group>
    <script>
      <path>/js/taskContentLinkExtension.bundle.js</path>
    </script>
    <depends>
      <module>extensionRegistry</module>
    </depends>
  </module>

</gatein-resources>
