<?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>a6e8e0f1-5c6d-5b9a-0e4f-1a2b3c4d6e8d</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Noca</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Noca AI"/>
  <Description DefaultValue="Noca AI Word Add-in for document generation"/>
  <IconUrl DefaultValue="https://officedev.github.io/Office-Add-in-samples/Samples/hello-world/word-hello-world/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://officedev.github.io/Office-Add-in-samples/Samples/hello-world/word-hello-world/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://app.noca.ai/help"/>
  <AppDomains>
    <AppDomain>https://app.noca.ai</AppDomain>
    <AppDomain>https://accounts.google.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://app.noca.ai/plugins/signin"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <Runtimes>
          <Runtime resid="Taskpane.Url" lifetime="long"/>
        </Runtimes>
        <DesktopFormFactor>
          <FunctionFile resid="Taskpane.Url"/>
          <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.SupertipTitle"/>
                    <Description resid="TaskpaneButton.SupertipText"/>
                  </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>
          <ExtensionPoint xsi:type="ContextMenu">
            <OfficeMenu id="ContextMenuText">
              <Control xsi:type="Menu" id="NocaContextMenu">
                <Label resid="NocaMenu.Label"/>
                <Supertip>
                  <Title resid="NocaMenu.Title"/>
                  <Description resid="NocaMenu.Description"/>
                </Supertip>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>
                <Items>
                  <Item id="NocaFieldSelectButton">
                    <Label resid="ContextMenu.Label"/>
                    <Supertip>
                      <Title resid="ContextMenu.Title"/>
                      <Description resid="ContextMenu.Description"/>
                    </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="ExecuteFunction">
                      <FunctionName>showFieldSelectDialog</FunctionName>
                    </Action>
                  </Item>
                  <Item id="NocaConditionButton">
                    <Label resid="ContextMenuCondition.Label"/>
                    <Supertip>
                      <Title resid="ContextMenuCondition.Title"/>
                      <Description resid="ContextMenuCondition.Description"/>
                    </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="ExecuteFunction">
                      <FunctionName>showConditionDialog</FunctionName>
                    </Action>
                  </Item>
                  <Item id="NocaLoopButton">
                    <Label resid="ContextMenuLoop.Label"/>
                    <Supertip>
                      <Title resid="ContextMenuLoop.Title"/>
                      <Description resid="ContextMenuLoop.Description"/>
                    </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="ExecuteFunction">
                      <FunctionName>showLoopDialog</FunctionName>
                    </Action>
                  </Item>
                </Items>
              </Control>
            </OfficeMenu>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://officedev.github.io/Office-Add-in-samples/Samples/hello-world/word-hello-world/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://officedev.github.io/Office-Add-in-samples/Samples/hello-world/word-hello-world/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://officedev.github.io/Office-Add-in-samples/Samples/hello-world/word-hello-world/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://app.noca.ai"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://app.noca.ai/plugins/signin"/>
        <bt:Url id="FieldSelectDialog.Url" DefaultValue="https://app.noca.ai/plugins/field-select-dialog"/>
        <bt:Url id="ConditionSelectDialog.Url" DefaultValue="https://app.noca.ai/plugins/condition-select-dialog"/>
        <bt:Url id="LoopSelectDialog.Url" DefaultValue="https://app.noca.ai/plugins/loop-select-dialog"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Get started with Noca AI!"/>
        <bt:String id="CommandsGroup.Label" DefaultValue="Noca AI"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Open Noca AI"/>
        <bt:String id="TaskpaneButton.SupertipTitle" DefaultValue="Open Noca AI"/>
        <bt:String id="NocaMenu.Label" DefaultValue="Noca AI"/>
        <bt:String id="NocaMenu.Title" DefaultValue="Noca AI"/>
        <bt:String id="ContextMenu.Label" DefaultValue="Insert Fields"/>
        <bt:String id="ContextMenu.Title" DefaultValue="Insert Field"/>
        <bt:String id="ContextMenuCondition.Label" DefaultValue="Add Condition"/>
        <bt:String id="ContextMenuCondition.Title" DefaultValue="Condition"/>
        <bt:String id="ContextMenuLoop.Label" DefaultValue="Add Loop"/>
        <bt:String id="ContextMenuLoop.Title" DefaultValue="Add Loop"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Noca AI add-in loaded successfully. Go to the HOME tab and click the 'Open Noca AI' button to get started."/>
        <bt:String id="TaskpaneButton.SupertipText" DefaultValue="Open the Noca AI taskpane to generate and fill documents"/>
        <bt:String id="NocaMenu.Description" DefaultValue="Insert fields, conditions, and loops from your selected flow"/>
        <bt:String id="ContextMenu.Description" DefaultValue="Insert a field from your selected flow"/>
        <bt:String id="ContextMenuCondition.Description" DefaultValue="Insert a conditional statement based on your flow fields"/>
        <bt:String id="ContextMenuLoop.Description" DefaultValue="Insert loop markers to repeat content for each item in a flow"/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
