<commit_before>{% set itemsData = config("PluginCallisto.basket.item_data")|split(', ') %}
{% set showItemVariation = config("PluginCallisto.basket.variations") %}
{% set configItemName = config("PluginCallisto.item.name") %}

<script type="x/template" id="vue-basket-list-item">

    <article class="cmp cmp-basket-item m-b-3 p-b-1">

        <a class="item-image" :href="basketItem.variation | itemURL">
            <img :src="basketItem.variation | itemImage">
        </a>

        <div class="item-quantity">

            <quantity-input @quantity-change="updateQuantity" :value="basketItem.quantity"></quantity-input>

            <div class="item-unit-price">
                ${ formatRetailPrice(basketItem) } / {{ trans("PluginCallisto::Callisto.itemPerPeace") }}
            </div>

            <div class="item-total-price">
                ${ calcPrice(basketItem) }
            </div>

            {#<div class="item-remove" @click="deleteItem">#}
                {#{{ trans("PluginCallisto::Callisto.generalDelete") }} <i class="fa fa-times"></i>#}
            {#</div>#}

            <button type="button" class="item-remove btn btn-labeled btn-link btn-sm" @click="deleteItem" :class="{ 'btn-link' : !deleteConfirmed, 'btn-danger' : deleteConfirmed }">
              <span class="message" v-if="!deleteConfirmed"><commit_msg>- fix: insert correct method<commit_after>{% set itemsData = config("PluginCallisto.basket.item_data")|split(', ') %}
{% set showItemVariation = config("PluginCallisto.basket.variations") %}
{% set configItemName = config("PluginCallisto.item.name") %}

<script type="x/template" id="vue-basket-list-item">

    <article class="cmp cmp-basket-item m-b-3 p-b-1">

        <a class="item-image" :href="basketItem.variation | itemURL">
            <img :src="basketItem.variation | itemImage">
        </a>

        <div class="item-quantity">

            <quantity-input @quantity-change="updateQuantity" :value="basketItem.quantity"></quantity-input>

            <div class="item-unit-price">
                ${ getBasePrice(basketItem) } / {{ trans("PluginCallisto::Callisto.itemPerPeace") }}
            </div>

            <div class="item-total-price">
                ${ calcPrice(basketItem) }
            </div>

            {#<div class="item-remove" @click="deleteItem">#}
                {#{{ trans("PluginCallisto::Callisto.generalDelete") }} <i class="fa fa-times"></i>#}
            {#</div>#}

            <button type="button" class="item-remove btn btn-labeled btn-link btn-sm" @click="deleteItem" :class="{ 'btn-link' : !deleteConfirmed, 'btn-danger' : deleteConfirmed }">
              <span class="message" v-if="!deleteConfirmed">
{'fraction_non_alphanumeric': 0.17904903417533433, 'fraction_numerical': 0.0014858841010401188, 'mean_word_length': 2.9371345029239766, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6099400', 'n_tokens_mistral': 866, 'n_tokens_neox': 814, 'n_words': 131}