<?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">

  <Id>1f43ad53-1011-409a-a709-320abc22b1ae</Id>
  <Version>1.0.0.1</Version>
  <ProviderName>ELEK</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>

  <DisplayName DefaultValue="ELEK Cable Pro" />
  <Description DefaultValue="Add-in for ELEK calculators." />

  <IconUrl DefaultValue="https://excel-addin.elek.com/assets/calc-32x32.png" />
 
  <HighResolutionIconUrl DefaultValue="https://excel-addin.elek.com/assets/elek-64x64.png" />
  <SupportUrl DefaultValue="https://elek.com/support" />

   <!-- <PrivacyUrl DefaultValue="https://yourdomain.com/privacy-policy" />
  <TermsOfUseUrl DefaultValue="https://yourdomain.com/terms" /> -->

   <!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
	<AppDomains>
		<AppDomain>https://www.elek.com</AppDomain>
		<AppDomain>https://excel-addin.elek.com</AppDomain>
        <AppDomain>https://d20d5khucjw9ld.cloudfront.net</AppDomain>
	</AppDomains>

  <Hosts>
    <Host Name="Workbook" />
  </Hosts>

  <!-- Default taskpane page -->
  <DefaultSettings>
    <SourceLocation DefaultValue="https://excel-addin.elek.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>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="TabCustom">
              <Group id="ELEKGroup">
                <Label resid="ELEKGrpLabel" />
                <Icon>
                  <bt:Image size="16" resid="elek-16x16" />
                  <bt:Image size="20" resid="elek-20x20" />
                  <bt:Image size="24" resid="elek-24x24" />
                  <bt:Image size="32" resid="elek-32x32" />
                  <bt:Image size="40" resid="elek-40x40" />
                  <bt:Image size="48" resid="elek-48x48" />
                  <bt:Image size="64" resid="elek-64x64" />
                  <bt:Image size="80" resid="elek-80x80" />
                   <bt:Image size="128" resid="elek-128x128" />
                </Icon>



                <!-- Log In button -->
                <Control xsi:type="Button" id="performAuth">
                  <Label resid="PerformAuthLabel" />
                  <Supertip>
                    <Title resid="PerformAuthLabel" />
                    <Description resid="PerfAuthDescLong" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="32" resid="auth-32x32" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="AuthTaskPaneUrl" />
                  </Action>
                </Control>

                <!-- Load Calcs button -->
                <Control xsi:type="Button" id="loadCalcButton">
                  <Label resid="LoadCalcsLabel" />
                  <Supertip>
                    <Title resid="LoadCalcsLabel" />
                    <Description resid="LoadCalcsDescLong" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="32" resid="calc-32x32" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="LoadCalcsTaskPane" />
                  </Action>
                
                </Control>


              </Group>
              <Label resid="ELEK.Tab.Lbl" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>


      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://excel-addin.elek.com/assets/icon-16.png" />
        <bt:Image id="Icon32" DefaultValue="https://excel-addin.elek.com/assets/icon-32.png" />
        <bt:Image id="Icon80" DefaultValue="https://excel-addin.elek.com/assets/icon-80.png" />
        <bt:Image id="elek-16x16" DefaultValue="https://excel-addin.elek.com/assets/elek-16x16.png" />
        <bt:Image id="elek-20x20" DefaultValue="https://excel-addin.elek.com/assets/elek-20x20.png" />
        <bt:Image id="elek-24x24" DefaultValue="https://excel-addin.elek.com/assets/elek-24x24.png" />
        <bt:Image id="elek-32x32" DefaultValue="https://excel-addin.elek.com/assets/elek-32x32.png" />
        <bt:Image id="elek-40x40" DefaultValue="https://excel-addin.elek.com/assets/elek-40x40.png" />
        <bt:Image id="elek-48x48" DefaultValue="https://excel-addin.elek.com/assets/elek-48x48.png" />
        <bt:Image id="elek-64x64" DefaultValue="https://excel-addin.elek.com/assets/elek-64x64.png" />
        <bt:Image id="elek-80x80" DefaultValue="https://excel-addin.elek.com/assets/elek-80x80.png" />
        <bt:Image id="elek-128x128" DefaultValue="https://excel-addin.elek.com/assets/elek-128x128.png" />
        <bt:Image id="calc-32x32" DefaultValue="https://excel-addin.elek.com/assets/calc-32x32.png" />
        <bt:Image id="auth-32x32" DefaultValue="https://excel-addin.elek.com/assets/auth-32x32.png" />
      </bt:Images>

      <bt:Urls>
        <bt:Url id="AuthTaskPaneUrl" DefaultValue="https://excel-addin.elek.com/taskpane-host.html" />
        <bt:Url id="TaskPaneRuntimeUrl" DefaultValue="https://excel-addin.elek.com/taskpane.js" />
        <bt:Url id="LoadCalcsTaskPane" DefaultValue="https://excel-addin.elek.com/load-calcs-host.html" />
      

       
      </bt:Urls>

      <bt:ShortStrings>
        <bt:String id="ELEKGrpLabel" DefaultValue="ELEK Add-in" />
        <bt:String id="ELEK.Tab.Lbl" DefaultValue="ELEK" />
        <bt:String id="WelcomeLabel" DefaultValue="Welcome" />
        <bt:String id="WelcomeDesc" DefaultValue="Opens the Welcome page" />
        <bt:String id="PerformAuthLabel" DefaultValue="Log in" />
        <bt:String id="PerfAuthDesc" DefaultValue="Opens the taskpane" />
        <bt:String id="LoadCalcsLabel" DefaultValue="Calculators" />
        <bt:String id="LoadCalcsDesc" DefaultValue="Opens the Load Calculations taskpane" />
      
      </bt:ShortStrings>

      <bt:LongStrings>
        
        <bt:String id="PerfAuthDescLong"
          DefaultValue="Log in to ELEK services to access calculators and templates." />
        <bt:String id="LoadCalcsDescLong"
          DefaultValue="Open the calculator panel to select a tool, load its template, and run calculations." />
      </bt:LongStrings>

    </Resources>
  </VersionOverrides>
</OfficeApp>