<?xml version="1.0" encoding="UTF-8"?>
<!--
  AYBARION TRADE for Excel: Office add-in manifest (custom functions in a shared runtime, no build step).
  Sideload this file (developers.html#spreadsheets): Excel on the web, Home > Add-ins > More add-ins > My add-ins >
  Upload my add-in. Every page and script is served by https://aybarion.com:
    task pane + shared runtime  /integrations/excel/taskpane.html (loads Office.js and /assets/js/excel-functions.js)
    function metadata           /integrations/excel/functions.json (namespace AYB: =AYB.DUTY("GB","640399","TR"))
  The edge (deploy/aybarion-sayfalar.caddy) lets Office hosts frame these paths and allows appsforoffice.microsoft.com scripts.
-->
<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>1a69cfa4-e874-4d71-b7f3-6df0cea069f3</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>AYBARION TRADE</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="AYBARION TRADE"/>
  <Description DefaultValue="Trade statistics, import duty rates and company records from official open sources as Excel functions, each table with its source and licence."/>
  <IconUrl DefaultValue="https://aybarion.com/integrations/excel/icons/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://aybarion.com/integrations/excel/icons/icon-64.png"/>
  <SupportUrl DefaultValue="https://aybarion.com/developers#spreadsheets"/>
  <AppDomains>
    <AppDomain>https://aybarion.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="SharedRuntime" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://aybarion.com/integrations/excel/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <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>
            <Namespace resid="Functions.Namespace"/>
          </ExtensionPoint>
        </AllFormFactors>
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Taskpane.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="AybGroup">
                <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="AybTaskpaneButton">
                  <Label resid="Button.Label"/>
                  <Supertip>
                    <Title resid="Button.Label"/>
                    <Description resid="Button.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>AybTaskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://aybarion.com/integrations/excel/icons/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://aybarion.com/integrations/excel/icons/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://aybarion.com/integrations/excel/icons/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Functions.Script.Url" DefaultValue="https://aybarion.com/assets/js/excel-functions.js"/>
        <bt:Url id="Functions.Metadata.Url" DefaultValue="https://aybarion.com/integrations/excel/functions.json"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://aybarion.com/integrations/excel/taskpane.html"/>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://aybarion.com/developers#spreadsheets"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Functions.Namespace" DefaultValue="AYB"/>
        <bt:String id="Group.Label" DefaultValue="AYBARION"/>
        <bt:String id="Button.Label" DefaultValue="AYBARION key"/>
        <bt:String id="GetStarted.Title" DefaultValue="AYBARION TRADE functions are ready"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Button.Tooltip" DefaultValue="Save or test your AYBARION API key for the AYB functions."/>
        <bt:String id="GetStarted.Description" DefaultValue="Open the AYBARION task pane on the Home tab, save your API key, then type =AYB.DUTY(&quot;GB&quot;,&quot;640399&quot;,&quot;TR&quot;) in a cell."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
