<?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">

  <!-- Replace https://tidysheet.pages.dev with your deployed URL (see DEPLOY.md).
       Keep this GUID for updates; generate a new one only for a separate product. -->
  <Id>2df06a44-33f7-4450-94ab-80113b778eb4</Id>
  <Version>1.0.0</Version>
  <ProviderName>TidySheet</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="TidySheet — Data Cleanup"/>
  <Description DefaultValue="Clean messy spreadsheet data in one click: trim spaces, fix casing, remove duplicates, split names, extract emails and more."/>
  <IconUrl DefaultValue="https://tidysheet.pages.dev/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://tidysheet.pages.dev/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://tidysheet.pages.dev"/>

  <AppDomains>
    <AppDomain>https://api.gumroad.com</AppDomain>
  </AppDomains>

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

  <!-- Excludes IE11-webview clients (Office 2013-2019) that can't run our modern JS. -->
  <Requirements>
    <Sets DefaultMinVersion="1.12">
      <Set Name="ExcelApi" MinVersion="1.12"/>
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://tidysheet.pages.dev/src/taskpane"/>
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="TidySheet.Group">
                <Label resid="TidySheet.GroupLabel"/>
                <Icon>
                  <bt:Image size="16" resid="TidySheet.Icon16"/>
                  <bt:Image size="32" resid="TidySheet.Icon32"/>
                  <bt:Image size="80" resid="TidySheet.Icon80"/>
                </Icon>
                <Control xsi:type="Button" id="TidySheet.OpenButton">
                  <Label resid="TidySheet.ButtonLabel"/>
                  <Supertip>
                    <Title resid="TidySheet.ButtonLabel"/>
                    <Description resid="TidySheet.ButtonTip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="TidySheet.Icon16"/>
                    <bt:Image size="32" resid="TidySheet.Icon32"/>
                    <bt:Image size="80" resid="TidySheet.Icon80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>TidySheet.Taskpane</TaskpaneId>
                    <SourceLocation resid="TidySheet.TaskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="TidySheet.Icon16" DefaultValue="https://tidysheet.pages.dev/assets/icon-16.png"/>
        <bt:Image id="TidySheet.Icon32" DefaultValue="https://tidysheet.pages.dev/assets/icon-32.png"/>
        <bt:Image id="TidySheet.Icon80" DefaultValue="https://tidysheet.pages.dev/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TidySheet.TaskpaneUrl" DefaultValue="https://tidysheet.pages.dev/src/taskpane"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="TidySheet.GroupLabel" DefaultValue="TidySheet"/>
        <bt:String id="TidySheet.ButtonLabel" DefaultValue="Clean Data"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TidySheet.ButtonTip" DefaultValue="Open TidySheet to clean the selected cells: trim, fix casing, deduplicate, split names and more."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
