Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1 @@
(()=>{"use strict";const{$:n}=window;class e{constructor(e){this.id=e,this.$container=n(`#${this.id}`)}getContainer(){return this.$container}addExtension(n){n.extend(this)}}const{$:t}=window;class o{extend(n){const e=n.getContainer();e.on("click",".js-remove-helper-block",(n=>{e.remove();const o=t(n.target),s=o.data("closeUrl"),i=o.data("cardName");s&&t.post(s,{close:1,name:i})}))}}const{$:s}=window;class i{constructor(){const n=".js-meta-page-name",e=s(n).val();this.setUrlRewriteDisabledStatusByCurrentPage(e),s(document).on("change",n,(n=>this.changePageNameEvent(n)))}changePageNameEvent(n){const e=s(n.currentTarget).val();this.setUrlRewriteDisabledStatusByCurrentPage(e)}setUrlRewriteDisabledStatusByCurrentPage(n){s(".js-url-rewrite input").prop("disabled","index"===n)}}const{$:a}=window;a((()=>{const n=new window.prestashop.component.Grid("meta");n.addExtension(new window.prestashop.component.GridExtensions.ReloadListExtension),n.addExtension(new window.prestashop.component.GridExtensions.ExportToSqlManagerExtension),n.addExtension(new window.prestashop.component.GridExtensions.FiltersResetExtension),n.addExtension(new window.prestashop.component.GridExtensions.SortingExtension),n.addExtension(new window.prestashop.component.GridExtensions.LinkRowActionExtension),n.addExtension(new window.prestashop.component.GridExtensions.SubmitGridActionExtension),n.addExtension(new window.prestashop.component.GridExtensions.SubmitBulkActionExtension),n.addExtension(new window.prestashop.component.GridExtensions.SubmitRowActionExtension),n.addExtension(new window.prestashop.component.GridExtensions.BulkActionCheckboxExtension),n.addExtension(new window.prestashop.component.GridExtensions.FiltersSubmitButtonEnablerExtension);new e("seo-urls-showcase-card").addExtension(new o),new window.prestashop.component.TaggableField({tokenFieldSelector:"input.js-taggable-field",options:{createTokensOnBlur:!0}}),new i,window.prestashop.component.initComponents(["MultistoreConfigField","TranslatableInput","TextWithRecommendedLengthCounter"])})),window.meta={}})();