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

  <!-- ==================== BASIC SETTINGS ==================== -->

  <Id>7f3a2b1c-4d5e-6f70-8a9b-0c1d2e3f4a5b</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>AlifTrans2026</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Transliterasi Alif" />
  <Description DefaultValue="Add-in transliterasi huruf Arab-Latin untuk Microsoft Word"/>

  <!-- URL Ikon -->
  <IconUrl DefaultValue="https://transliteralif.vercel.app/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://transliteralif.vercel.app/assets/icon-80.png"/>

  <!-- Domain yang diizinkan -->
  <AppDomains>
    <AppDomain>https://transliteralif.vercel.app</AppDomain>
  </AppDomains>

  <!-- ==================== TASKPANE MODE ==================== -->

  <Hosts>
    <Host Name="Document" />
  </Hosts>
  <DefaultSettings>
    <!-- Pastikan domain Vercel Anda mengarah ke file yang benar (index.html atau home.html) -->
    <SourceLocation DefaultValue="https://transliteralif.vercel.app/" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <!-- ==================== ADD-IN COMMANDS MODE ==================== -->

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

    <Hosts>
      <Host xsi:type="Document">
        <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 ==================== -->
    <Resources>

      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://transliteralif.vercel.app/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://transliteralif.vercel.app/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://transliteralif.vercel.app/assets/icon-80.png"/>
      </bt:Images>

      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812" />
        <!-- URL Taskpane -->
        <bt:Url id="Taskpane.Url" DefaultValue="https://transliteralif.vercel.app/" />
      </bt:Urls>

      <!-- ShortStrings: max 125 karakter -->
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Transliterasi Alif siap digunakan" />
        <bt:String id="CommandsGroup.Label" DefaultValue="Transliterasi Alif" />
        <bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane" />
      </bt:ShortStrings>

      <!-- LongStrings: max 250 karakter -->
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Buka tab HOME lalu klik 'Show Taskpane' untuk mulai transliterasi." />
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Show a Taskpane" />
      </bt:LongStrings>

    </Resources>
    <!-- ==================== END RESOURCES ==================== -->

  </VersionOverrides>

</OfficeApp>
