<?xml version="1.0" encoding="UTF-8"?>
<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>2F182C0A-5774-4392-A14C-83F3FE996394</Id>
  <Version>1.0.0.5</Version>
  <ProviderName>MNI Markets</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>

  <DisplayName DefaultValue="MNI DataLink" />
  <Description DefaultValue="Real-time macroeconomic data in Excel" />

  <IconUrl DefaultValue="https://excel-plugin.mnimarkets.com/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://excel-plugin.mnimarkets.com/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://www.mnimarkets.com/manuals/mni-excel-add-in-1776428839942" />

  <AppDomains>
    <AppDomain>https://excel-plugin.mnimarkets.com</AppDomain>
    <AppDomain>https://api.alphaflash.com</AppDomain>
    <AppDomain>https://select.alphaflash.com</AppDomain>
    <AppDomain>https://analytics.marketnews.com</AppDomain>
    <AppDomain>https://apis.marketnews.com</AppDomain>
    <AppDomain>https://auth.mnimarkets.com</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://excel-plugin.mnimarkets.com/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides
    xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
    xsi:type="VersionOverridesV1_0">

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

    <Hosts>
      <Host xsi:type="Workbook">
        <Runtimes>
          <Runtime resid="Taskpane.Url" lifetime="long" />
        </Runtimes>

        <AllFormFactors>
          <ExtensionPoint xsi:type="CustomFunctions">
            <Script>
              <SourceLocation resid="Functions.Script.Url" />
            </Script>
            <Page>
              <SourceLocation resid="Taskpane.Url" />
            </Page>
            <Metadata>
              <SourceLocation resid="Functions.Metadata.Url" />
            </Metadata>
          </ExtensionPoint>
        </AllFormFactors>

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

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="MNI.Group">
                <Label resid="CommandsGroup.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="MNI.ShowTaskpane">
                  <Label resid="ShowTaskpane.Label" />

                  <Supertip>
                    <Title resid="ShowTaskpane.Label" />
                    <Description resid="ShowTaskpane.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>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>

              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>

      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://excel-plugin.mnimarkets.com/assets/icon-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="https://excel-plugin.mnimarkets.com/assets/icon-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="https://excel-plugin.mnimarkets.com/assets/icon-64.png" />
      </bt:Images>

      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://excel-plugin.mnimarkets.com/taskpane.html" />
        <bt:Url id="Functions.Script.Url" DefaultValue="https://excel-plugin.mnimarkets.com/functions.bundle.js" />
        <bt:Url id="Functions.Page.Url" DefaultValue="https://excel-plugin.mnimarkets.com/functions.html" />
        <bt:Url id="Functions.Metadata.Url" DefaultValue="https://excel-plugin.mnimarkets.com/functions.json" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://www.mnimarkets.com/manuals/mni-excel-add-in-1776428839942" />
      </bt:Urls>

      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="MNI DataLink is ready" />
        <bt:String id="CommandsGroup.Label" DefaultValue="MNI DataLink" />
        <bt:String id="ShowTaskpane.Label" DefaultValue="MNI DataLink" />
      </bt:ShortStrings>

      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Login to stream real-time macroeconomic data into your spreadsheet." />
        <bt:String id="ShowTaskpane.Tooltip" DefaultValue="Open the MNI DataLink panel to login and monitor connection status." />
      </bt:LongStrings>

    </Resources>

  </VersionOverrides>
</OfficeApp>