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

  Copyright (C) 2020 - 2024 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>analytics</skin-module>
    <css-path>/skin/css/analytics.css</css-path>
    <css-priority>200</css-priority>
    <filtered>true</filtered>
  </portal-skin>

  <portlet-skin>
    <application-name>analytics</application-name>
    <portlet-name>AnalyticsPortlet</portlet-name>
    <skin-name>Enterprise</skin-name>
    <additional-module>analytics</additional-module>
  </portlet-skin>

  <portlet-skin>
    <application-name>analytics</application-name>
    <portlet-name>AnalyticsTablePortlet</portlet-name>
    <skin-name>Enterprise</skin-name>
    <additional-module>analytics</additional-module>
  </portlet-skin>

  <portlet-skin>
    <application-name>analytics</application-name>
    <portlet-name>AnalyticsRatePortlet</portlet-name>
    <skin-name>Enterprise</skin-name>
    <additional-module>analytics</additional-module>
  </portlet-skin>

  <portlet-skin>
    <application-name>analytics</application-name>
    <portlet-name>AnalyticsDashboardBreadcrumb</portlet-name>
    <skin-name>Enterprise</skin-name>
    <additional-module>analytics</additional-module>
  </portlet-skin>

  <portlet>
    <name>AnalyticsPortlet</name>
    <module>
      <load-group>AnalyticsPortletGroup</load-group>
      <script>
        <minify>false</minify>
        <path>/js/analytics.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>commonAnalyticsVueComponents</module>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>eCharts</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>AnalyticsTablePortlet</name>
    <module>
      <load-group>AnalyticsTablePortletGroup</load-group>
      <script>
        <minify>false</minify>
        <path>/js/analyticsTable.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>commonAnalyticsVueComponents</module>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>eCharts</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>AnalyticsRatePortlet</name>
    <module>
      <load-group>AnalyticsRatePortletGroup</load-group>
      <script>
        <minify>false</minify>
        <path>/js/analyticsRate.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>commonAnalyticsVueComponents</module>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>eCharts</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>AnalyticsDashboardBreadcrumb</name>
    <module>
      <load-group>AnalyticsDashboardBreadcrumbGroup</load-group>
      <script>
        <minify>false</minify>
        <path>/js/breadcrumb.bundle.js</path>
      </script>
      <depends>
        <module>vue</module>
      </depends>
      <depends>
        <module>vuetify</module>
      </depends>
      <depends>
        <module>eXoVueI18n</module>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>extensionRegistry</module>
      </depends>
      <depends>
        <module>commonAnalyticsVueComponents</module>
      </depends>
      <depends>
        <module>commonVueComponents</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>SpacesListWidget</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/spacesListWidget.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>translationField</module>
      </depends>
      <depends>
        <module>spacesListComponents</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>StatisticsCollection</name>
    <module>
      <load-group>StatisticsCollectionGroup</load-group>
      <script>
        <minify>false</minify>
        <path>/js/statistic-collection.js</path>
      </script>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>commons-cometd3</module>
        <as>cCometd</as>
      </depends>
    </module>
  </portlet>

  <module>
    <name>AnalyticsActivityStreamExtension</name>
    <load-group>ActivityStreamGRP</load-group>
    <script>
      <minify>false</minify>
      <path>/js/analyticsActivityStreamExtension.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>

  <module>
    <name>commonAnalyticsVueComponents</name>
    <load-group>commonAnalyticsVueComponentsGroup</load-group>
    <script>
      <minify>false</minify>
      <path>/js/commonAnalyticsVueComponents.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>categoryVueComponents</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>analyticsManageSpacesExtension</name>
    <load-group>SpacesAdministration</load-group>
    <script>
      <minify>false</minify>
      <path>/js/spacesAdministrationExtension.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>analyticsApi</module>
    </depends>
  </module>

  <module>
    <name>analyticsApi</name>
    <script>
      <minify>false</minify>
      <path>/js/analyticsApi.bundle.js</path>
    </script>
  </module>

  <module>
    <name>AnalyticsQuickActionExtensions</name>
    <load-group>QuickActionsGrp</load-group>
    <script>
      <minify>false</minify>
      <path>/js/analyticsQuickActionExtensions.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>
  </module>

</gatein-resources>
