<?xml version="1.0" encoding="UTF-8" ?>
<gatein-resources
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.exoplatform.org/xml/ns/gatein_resources_1_4 http://www.exoplatform.org/xml/ns/gatein_resources_1_4"
  xmlns="http://www.exoplatform.org/xml/ns/gatein_resources_1_4">

  <portlet-skin>
    <application-name>documents-portlet</application-name>
    <portlet-name>Documents</portlet-name>
    <skin-name>Enterprise</skin-name>
    <css-path>/skin/css/documents.css</css-path>
  </portlet-skin>

  <portal-skin>
    <skin-name>Enterprise</skin-name>
    <skin-module>Documents</skin-module>
    <css-path>/skin/css/global-documents.css</css-path>
    <css-priority>2</css-priority>
  </portal-skin>

  <!-- AttachmentsPortlet skins -->
  <portlet-skin>
    <application-name>documents</application-name>
    <portlet-name>AttachmentApp</portlet-name>
    <skin-name>Enterprise</skin-name>
    <css-path>/skin/css/attachmentsApp.css</css-path>
    <overwrite>true</overwrite>
  </portlet-skin>

  <portlet>
    <name>Documents</name>
    <module>
      <load-group>DocumentsGRP</load-group>
      <script>
        <minify>false</minify>
        <path>/js/documents.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>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>documentsSnackbarComponent</module>
      </depends>
      <depends>
        <module>versionHistoryDrawer</module>
      </depends>
      <depends>
        <module>commons-cometd3</module>
        <as>cCometd</as>
      </depends>
      <depends>
        <module>DocumentsDraggable</module>
      </depends>
      <depends>
        <module>applicationToolbarComponent</module>
      </depends>
      <depends>
        <module>categoryVueComponents</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>DownloadDocumentsPublicAccess</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/downloadDocumentsPublicAccess.bundle.js</path>
      </script>
      <depends>
        <module>loginCommon</module>
      </depends>
      <depends>
        <module>commonVueComponents</module>
      </depends>
      <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>
    </module>
  </portlet>

  <portlet>
    <name>DocumentsSizeGadget</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/documentsSizeGadget.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>jquery</module>
        <as>$</as>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>TrashManagement</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/trashManagement.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>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>applicationToolbarComponent</module>
      </depends>
      <depends>
        <module>commons-cometd3</module>
        <as>cCometd</as>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>DocumentsUserSettings</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/documentsUserSettings.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>
    </module>
  </portlet>

  <portlet>
    <name>AttachmentApp</name>
    <module>
      <load-group>AttachmentIntegrationGRP</load-group>
      <script>
        <minify>false</minify>
        <path>/js/attachmentApp.bundle.js</path>
      </script>
      <depends>
        <module>vue</module>
      </depends>
      <depends>
        <module>eXoVueI18n</module>
      </depends>
      <depends>
        <module>vuetify</module>
      </depends>
      <depends>
        <module>jquery</module>
        <as>$</as>
      </depends>
      <depends>
        <module>extensionRegistry</module>
      </depends>
      <depends>
        <module>commonVueComponents</module>
      </depends>
      <depends>
        <module>AttachmentIntegration</module>
      </depends>
      <depends>
        <module>documentsPreviewExtension</module>
      </depends>
    </module>
  </portlet>

  <portlet>
    <name>DocumentGadget</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/documentGadget.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>
  </portlet>

  <module>
    <name>AttachmentIntegration</name>
    <load-group>AttachmentIntegrationGRP</load-group>
    <script>
      <minify>false</minify>
      <path>/js/attachmentIntegration.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
  </module>
  
  <module>
    <name>DocumentsFavoriteDrawerExtensions</name>
    <load-group>FavoriteDrawerGRP</load-group>
    <script>
      <path>/js/documentsFavoriteDrawerExtensions.bundle.js</path>
    </script>
    <depends>
      <module>extensionRegistry</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>documentPreview</module>
    </depends>
  </module>

  <module>
    <name>documentsSnackbarComponent</name>
    <script>
      <minify>false</minify>
      <path>/js/documentsSnackbarComponent.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
  </module>

  <module>
    <name>DocumentsDraggable</name>
    <script>
      <minify>false</minify>
      <path>/js/DocumentsDraggable.js</path>
    </script>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>documentsNotificationExtension</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>documentsPreviewExtension</name>
    <load-group>ActivityStreamGRP</load-group>
    <script>
      <path>/js/documentsPreviewExtension.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>DocumentsInfoDrawerListener</name>
    <load-group>DocumentsListenerGRP</load-group>
    <script>
      <path>/js/documentInfoDrawerListener.js</path>
    </script>
  </module>

  <module>
    <name>DocumentsInfoDrawer</name>
    <script>
      <path>/js/documentsInfoDrawer.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>categoryVueComponents</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
  </module>

  <module>
    <name>DocumentsPWAOfflineApp</name>
    <load-group>pwaOfflineGRP</load-group>
    <script>
      <path>/js/documentsOffline.bundle.js</path>
    </script>
    <depends>
      <module>vue</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>applicationToolbarComponent</module>
    </depends>
    <depends>
      <module>vuetify</module>
    </depends>
    <depends>
      <module>eXoVueI18n</module>
    </depends>
    <depends>
      <module>extensionRegistry</module>
    </depends>
  </module>

  <module>
    <name>DocumentsPWAUserSettings</name>
    <load-group>pwaUserSettingsGRP</load-group>
    <script>
      <minify>false</minify>
      <path>/js/documentsOfflineSettings.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>DocumentsPWARegisterExtension</name>
    <load-group>baseGRP</load-group>
    <script>
      <minify>false</minify>
      <path>/js/documentsPwaExtension.bundle.js</path>
    </script>
  </module>

  <module>
    <name>FileSearch</name>
    <script>
      <minify>false</minify>
      <path>/js/filesSearch.bundle.js</path>
    </script>
    <depends>
      <module>commonDocComponents</module>
    </depends>
    <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>
    <depends>
      <module>jquery</module>
    </depends>
  </module>

</gatein-resources>

