<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp
  xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
  xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
  xsi:type="TaskPaneApp">

  <Id>7d4f1a89-3c2b-4e6f-8a1d-5b9c4e7f2031</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Windy Network</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Windy Network for Excel"/>
  <Description DefaultValue="Live Windy Network market data as Excel custom functions: crypto rates, OHLC, indicators (SMA, EMA, RSI, MACD, BBANDS), 24/7 fiat, derivatives, reference rates and market calendar."/>

  <IconUrl DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://windy.network/support"/>

  <AppDomains>
    <AppDomain>https://api.windy.network</AppDomain>
    <AppDomain>https://openserver.windy.network</AppDomain>
    <AppDomain>https://windy.network</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>

  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="CustomFunctionsRuntime" MinVersion="1.1"/>
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://excel-addin.dev.windynetwork.space/taskpane.html"/>
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <AllFormFactors>
          <ExtensionPoint xsi:type="CustomFunctions">
            <Script>
              <SourceLocation resid="Functions.Script.Url"/>
            </Script>
            <Page>
              <SourceLocation resid="Functions.Page.Url"/>
            </Page>
            <Metadata>
              <SourceLocation resid="Functions.Metadata.Url"/>
            </Metadata>
            <Namespace resid="Functions.Namespace"/>
          </ExtensionPoint>
        </AllFormFactors>

        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>

          <FunctionFile resid="Commands.Url"/>

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="WindyNetwork.Group">
                <Label resid="Group.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="WindyNetwork.OpenTaskpaneButton">
                  <Label resid="OpenTaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="OpenTaskpaneButton.Label"/>
                    <Description resid="OpenTaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>WindyNetwork.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-32.png"/>
        <bt:Image id="Icon.64x64" DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-64.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-80.png"/>
        <bt:Image id="Icon.128x128" DefaultValue="https://excel-addin.dev.windynetwork.space/assets/icon-128.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://excel-addin.dev.windynetwork.space/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://excel-addin.dev.windynetwork.space/taskpane.html"/>
        <bt:Url id="Functions.Page.Url" DefaultValue="https://excel-addin.dev.windynetwork.space/functions.html"/>
        <bt:Url id="Functions.Script.Url" DefaultValue="https://excel-addin.dev.windynetwork.space/functions.js"/>
        <bt:Url id="Functions.Metadata.Url" DefaultValue="https://excel-addin.dev.windynetwork.space/functions.json"/>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://windy.network/excel"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Get started with Windy Network"/>
        <bt:String id="Functions.Namespace" DefaultValue="WINDY"/>
        <bt:String id="Group.Label" DefaultValue="Windy Network"/>
        <bt:String id="OpenTaskpaneButton.Label" DefaultValue="Windy"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open the Windy task pane to enter your API key, then use =WINDY.RATE, =WINDY.OHLC, =WINDY.RSI and more in your cells."/>
        <bt:String id="OpenTaskpaneButton.Tooltip" DefaultValue="Open the Windy Network task pane to manage your API key and refresh data."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
