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

  This file is part of the Meeds project (https://meeds.io/).

  Copyright (C) 2022 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">

  <portlet-skin>
    <application-name>deeds-tenant</application-name>
    <portlet-name>WoMSetupAdmin</portlet-name>
    <skin-name>Enterprise</skin-name>
    <additional-module>ImageCropper</additional-module>
  </portlet-skin>

  <portlet>
    <name>WoMSetupAdmin</name>
    <module>
      <script>
        <minify>false</minify>
        <path>/js/womSetup.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>metamaskOnboarding</module>
        <as>MetaMaskOnboarding</as>
      </depends>
      <depends>
        <module>Jdenticon</module>
        <as>jdenticon</as>
      </depends>
      <depends>
        <module>ethers</module>
      </depends>
      <depends>
        <module>animationComponents</module>
      </depends>
    </module>
  </portlet>

  <module>
    <name>metamaskLoginExtension</name>
    <load-group>login-extensions</load-group>
    <script>
      <path>/js/metamaskLoginExtension.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>ethers</module>
    </depends>
    <depends>
      <module>metamaskOnboarding</module>
      <as>MetaMaskOnboarding</as>
    </depends>
  </module>

  <module>
    <name>metamaskRegisterExtension</name>
    <load-group>register-extensions</load-group>
    <script>
      <path>/js/metamaskRegisterExtension.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>metamaskOnboarding</module>
      <as>MetaMaskOnboarding</as>
    </depends>
    <depends>
      <module>ethers</module>
    </depends>
  </module>

  <module>
    <name>metamaskSetupForm</name>
    <script>
      <path>/js/metamaskSetupForm.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>loginCommon</module>
    </depends>
    <depends>
      <module>commonVueComponents</module>
    </depends>
    <depends>
      <module>ethers</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>$</as>
    </depends>
  </module>

  <module>
    <name>WoMWalletRewardingExtension</name>
    <load-group>wallet-rewarding</load-group>
    <script>
      <minify>false</minify>
      <path>/js/womWalletExtensions.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>metamaskOnboarding</module>
      <as>MetaMaskOnboarding</as>
    </depends>
    <depends>
      <module>ethers</module>
    </depends>
    <depends>
      <module>animationComponents</module>
    </depends>
  </module>

  <module>
    <name>WoMWalletAdministrationExtension</name>
    <load-group>wallet-administration</load-group>
    <script>
      <minify>false</minify>
      <path>/js/womWalletExtensions.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>metamaskOnboarding</module>
      <as>MetaMaskOnboarding</as>
    </depends>
    <depends>
      <module>ethers</module>
    </depends>
    <depends>
      <module>animationComponents</module>
    </depends>
  </module>

  <module>
    <name>metamaskOnboarding</name>
    <as>MetaMaskOnboarding</as>
    <script>
      <adapter>
        (function() {
        <include>/js/metamask-onboarding.bundle.js</include>
        return MetaMaskOnboarding;
        })();
      </adapter>
    </script>
  </module>

  <module>
    <name>ethers</name>
    <script>
      <minify>false</minify>
      <adapter>
        (function() {
          <include>/js/ethers.umd.min.js</include>
          return ethers;
        })();
      </adapter>
    </script>
  </module>

</gatein-resources>
