<Ui xmlns="http://www.blizzard.com/wow/ui/">
  <Frame name="AuctionatorConfigSellingAllItemsFrameTemplate" mixin="AuctionatorConfigSellingAllItemsFrameMixin" parent="InterfaceOptionsFrame" hidden="true" virtual="true">
    <Scripts>
      <OnLoad method="OnLoad"/>
      <OnShow method="OnShow"/>
      <OnHide method="Save"/>
    </Scripts>
    <Frames>
      <Frame inherits="AuctionatorConfigurationTitleFrame" parentKey="TitleArea">
        <KeyValues>
          <KeyValue key="titleText" value="AUCTIONATOR_L_CONFIG_SELLING_ALL_ITEMS_CATEGORY" type="global"/>
          <KeyValue key="subTitleText" value="AUCTIONATOR_L_CONFIG_SELLING_TBC_ALL_ITEMS" type="global"/>
        </KeyValues>
      </Frame>

      <Frame inherits="AuctionatorConfigurationRadioButtonGroup" parentKey="DurationGroup">
        <KeyValues>
          <KeyValue key="groupHeadingText" value="AUCTIONATOR_L_DEFAULT_AUCTION_DURATION" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.TitleArea" relativePoint="BOTTOMLEFT"/>
        </Anchors>
        <Frames>
          <Frame inherits="AuctionatorConfigurationRadioButton">
            <KeyValues>
              <KeyValue key="labelText" value="AUCTIONATOR_L_AUCTION_DURATION_12" type="global"/>
              <KeyValue key="value" value="12" type="number"/>
            </KeyValues>
          </Frame>
          <Frame inherits="AuctionatorConfigurationRadioButton">
            <KeyValues>
              <KeyValue key="labelText" value="AUCTIONATOR_L_AUCTION_DURATION_24" type="global"/>
              <KeyValue key="value" value="24" type="number"/>
            </KeyValues>
          </Frame>
          <Frame inherits="AuctionatorConfigurationRadioButton">
            <KeyValues>
              <KeyValue key="labelText" value="AUCTIONATOR_L_AUCTION_DURATION_48" type="global"/>
              <KeyValue key="value" value="48" type="number"/>
            </KeyValues>
          </Frame>
        </Frames>
      </Frame>

      <Frame inherits="AuctionatorConfigurationRadioButtonGroup" parentKey="SalesPreference">
        <KeyValues>
          <KeyValue key="groupHeadingText" value="AUCTIONATOR_L_UNDERCUT_PREFERENCE" type="global" />
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.DurationGroup" relativePoint="BOTTOMLEFT" />
        </Anchors>
        <Frames>
          <Frame inherits="AuctionatorConfigurationRadioButton">
            <!--
              The values here should be populated by Auctionator.Config.SalesTypes but I don't know
              how to do that programmatically?
            -->
            <KeyValues>
              <KeyValue key="labelText" value="AUCTIONATOR_L_PERCENTAGE" type="global"/>
              <KeyValue key="value" value="percentage" type="string"/>
            </KeyValues>
          </Frame>
          <Frame inherits="AuctionatorConfigurationRadioButton">
            <KeyValues>
              <KeyValue key="labelText" value="AUCTIONATOR_L_SET_VALUE" type="global"/>
              <KeyValue key="value" value="static" type="string"/>
            </KeyValues>
          </Frame>
        </Frames>
      </Frame>

      <Frame inherits="AuctionatorConfigurationNumericInput" parentKey="UndercutPercentage" hidden="true">
        <KeyValues>
          <KeyValue key="labelText" value="AUCTIONATOR_L_PERCENTAGE_SUFFIX" type="global"/>
          <KeyValue key="tooltipTitleText" value="AUCTIONATOR_L_PERCENTAGE_TOOLTIP_HEADER" type="global"/>
          <KeyValue key="tooltipText" value="AUCTIONATOR_L_PERCENTAGE_TOOLTIP_TEXT" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.SalesPreference" relativePoint="BOTTOMLEFT" y="-7" />
        </Anchors>
      </Frame>

      <Frame inherits="AuctionatorConfigurationMoneyInput" parentKey="UndercutValue" hidden="true">
        <KeyValues>
          <KeyValue key="labelText" value="AUCTIONATOR_L_SET_VALUE_SUFFIX" type="global"/>
          <KeyValue key="tooltipTitleText" value="AUCTIONATOR_L_UNDERCUT_TOOLTIP_HEADER" type="global"/>
          <KeyValue key="tooltipText" value="AUCTIONATOR_L_UNDERCUT_TOOLTIP_TEXT" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.SalesPreference" relativePoint="BOTTOMLEFT" />
        </Anchors>
      </Frame>

      <Frame inherits="AuctionatorConfigurationSubHeadingFrame" parentKey="StackSizesHeading">
        <KeyValues>
          <KeyValue key="subHeadingText" value="AUCTIONATOR_L_DEFAULT_STACK_SIZES" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.UndercutValue" relativePoint="BOTTOMLEFT" y="-35"/>
        </Anchors>
      </Frame>

      <Frame inherits="AuctionatorStackOfInputTemplate" parentKey="DefaultStacks">
        <KeyValues>
          <KeyValue key="labelText" value="AUCTIONATOR_L_CONFIG_SELLING_DEFAULT_QUANTITY_SUFFIX" type="global" />
          <KeyValue key="tooltipTitleText" value="AUCTIONATOR_L_CONFIG_SELLING_DEFAULT_QUANTITY_TOOLTIP_HEADER" type="global" />
          <KeyValue key="tooltipText" value="AUCTIONATOR_L_CONFIG_SELLING_DEFAULT_QUANTITY_TOOLTIP_TEXT" type="global"/>
          <KeyValue key="classID" value="Enum.ItemClass.Armor" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.StackSizesHeading" relativePoint="BOTTOMLEFT" x="25" y="-10"/>
        </Anchors>
      </Frame>

      <Button inherits="UIPanelDynamicResizeButtonTemplate" text="AUCTIONATOR_L_CONFIG_RESET_STACK_SIZE_MEMORY" parentKey="ResetStackSizeMemory">
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.DefaultStacks" relativePoint="BOTTOMLEFT" x="-2"/>
        </Anchors>
        <Scripts>
          <OnClick>
            self:GetParent():ResetStackSizeMemoryClicked()
          </OnClick>
        </Scripts>
      </Button>

      <Frame inherits="AuctionatorConfigurationSubHeadingFrame" parentKey="GearPriceMultiplierHeading">
        <KeyValues>
          <KeyValue key="subHeadingText" value="AUCTIONATOR_L_GEAR_VENDOR_PRICE_MULTIPLIER" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.ResetStackSizeMemory" relativePoint="BOTTOMLEFT" x="-23"/>
        </Anchors>
      </Frame>

      <Frame inherits="AuctionatorConfigurationNumericInput" parentKey="GearPriceMultiplier">
        <KeyValues>
          <KeyValue key="labelText" value="AUCTIONATOR_L_CONFIG_SELLING_GEAR_VENDOR_PRICE_MULTIPLIER_SUFFIX" type="global"/>
          <KeyValue key="tooltipTitleText" value="AUCTIONATOR_L_CONFIG_SELLING_GEAR_VENDOR_PRICE_MULTIPLIER_TOOLTIP_HEADER" type="global" />
          <KeyValue key="tooltipText" value="AUCTIONATOR_L_CONFIG_SELLING_GEAR_VENDOR_PRICE_MULTIPLIER_TOOLTIP_TEXT" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.GearPriceMultiplierHeading" relativePoint="BOTTOMLEFT" y="-15"/>
        </Anchors>
      </Frame>

      <Frame inherits="AuctionatorConfigurationSubHeadingFrame" parentKey="StartingPricePercentageHeading">
        <KeyValues>
          <KeyValue key="subHeadingText" value="AUCTIONATOR_L_STARTING_PRICE_PERCENTAGE" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.GearPriceMultiplier" relativePoint="BOTTOMLEFT"/>
        </Anchors>
      </Frame>

      <Frame inherits="AuctionatorConfigurationNumericInput" parentKey="StartingPricePercentage">
        <KeyValues>
          <KeyValue key="labelText" value="AUCTIONATOR_L_STARTING_PRICE_PERCENTAGE_SUFFIX" type="global"/>
          <KeyValue key="tooltipTitleText" value="AUCTIONATOR_L_STARTING_PRICE_PERCENTAGE_TOOLTIP_HEADER" type="global"/>
          <KeyValue key="tooltipText" value="AUCTIONATOR_L_STARTING_PRICE_PERCENTAGE_TOOLTIP_TEXT" type="global"/>
        </KeyValues>
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.StartingPricePercentageHeading" relativePoint="BOTTOMLEFT" y="-15"/>
        </Anchors>
      </Frame>
    </Frames>
  </Frame>
</Ui>
