<?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>2731f04a-a44b-4dda-b45b-cad9f28ec61d</Id>
  <Version>1.1.0.415</Version>
  <ProviderName>Enabler BI</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Gridavera for Excel"/>
  <Description DefaultValue="Business Planning using Excel and SharePoint"/>
  <IconUrl DefaultValue="https://app.gridavera.com/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://app.gridavera.com/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://gridavera.com/support/"/>
  <!-- AppDomains: every host the task pane iframe NAVIGATES to (script
       loads and target="_blank" links don't need to be listed; only
       same-iframe navigations do). Tightened in audit Wave 1.5 — removed
       admin.gridavera.com and gridavera.com, which were only opened via
       target="_blank" (external browser), not navigated within the
       iframe. Cert-reviewer least-privilege spot-check now clean. CI
       enforces that every remaining entry must be referenced in the
       built artefacts. -->
  <AppDomains>
    <AppDomain>https://gridavera-functions.azurewebsites.net</AppDomain>
    <AppDomain>https://login.microsoftonline.com</AppDomain>
    <AppDomain>https://login.windows.net</AppDomain>
    <AppDomain>https://graph.microsoft.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="ExcelApi" MinVersion="1.8"/>
      <Set Name="DialogApi" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://app.gridavera.com/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="CommandsGroup">
                <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="TaskpaneButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.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://app.gridavera.com/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://app.gridavera.com/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://app.gridavera.com/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://gridavera.com/getting-started/"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://app.gridavera.com/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Welcome to Gridavera"/>
        <bt:String id="CommandsGroup.Label" DefaultValue="Gridavera"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Gridavera"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Gridavera turns your Excel workbook into a controlled, multi-user planning surface that writes directly to SharePoint. Click the Gridavera button in the Home tab to open the task pane and begin."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open the Gridavera planning task pane"/>
      </bt:LongStrings>
    </Resources>
    <WebApplicationInfo>
      <Id>c44465aa-e363-4e37-a8e9-aa37c242bad2</Id>
      <Resource>api://app.gridavera.com/c44465aa-e363-4e37-a8e9-aa37c242bad2</Resource>
      <Scopes>
        <Scope>openid</Scope>
        <Scope>profile</Scope>
        <Scope>access_as_user</Scope>
      </Scopes>
    </WebApplicationInfo>
  </VersionOverrides>
</OfficeApp>