diff --git a/.github/workflows/pack-plugin.yml b/.github/workflows/pack-plugin.yml deleted file mode 100644 index 6d0a12e..0000000 --- a/.github/workflows/pack-plugin.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Build extension -on: - workflow_dispatch: - push: - branches: - - main - -jobs: - build: - uses: FriendsOfShopware/actions/.github/workflows/store-shopware-cli.yml@main - with: - extensionName: ${{ github.event.repository.name }} - secrets: - accountUser: ${{ secrets.ACCOUNT_USER }} - accountPassword: ${{ secrets.ACCOUNT_PASSWORD }} - ghToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ffe94fc..0000000 --- a/.gitignore +++ /dev/null @@ -1,104 +0,0 @@ -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -.idea - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws - -# IntelliJ -out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser - -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -/src/Resources/app/storefront/dist -node_modules diff --git a/.shopware-extension.yml b/.shopware-extension.yml deleted file mode 100644 index 830b5a3..0000000 --- a/.shopware-extension.yml +++ /dev/null @@ -1,8 +0,0 @@ -build: - zip: - assets: - enable_es_build_for_admin: true - enable_es_build_for_storefront: true - -changelog: - enabled: true diff --git a/CHANGELOG_en-GB.md b/CHANGELOG_en-GB.md new file mode 100644 index 0000000..a8be5c7 --- /dev/null +++ b/CHANGELOG_en-GB.md @@ -0,0 +1,3 @@ +# 2.0.1 +- [prepare release](/9a2b6d6) +- [fix: make shopware 6.6 compatible](/60d0f64) \ No newline at end of file diff --git a/src/Resources/app/storefront/dist/storefront/js/frosh-platform-filter-search/frosh-platform-filter-search.js b/src/Resources/app/storefront/dist/storefront/js/frosh-platform-filter-search/frosh-platform-filter-search.js new file mode 100644 index 0000000..dccbe66 --- /dev/null +++ b/src/Resources/app/storefront/dist/storefront/js/frosh-platform-filter-search/frosh-platform-filter-search.js @@ -0,0 +1 @@ +(()=>{var o=class extends window.PluginBaseClass{static{this.options={dropdownSelector:".filter-panel-items-container .dropdown"}}init(){this._registerEvents()}_registerEvents(){this.el.addEventListener("input",this._onInput.bind(this));let e=document.querySelectorAll(this.options.dropdownSelector);e&&e.forEach(t=>{t.addEventListener("shown.bs.dropdown",this._onDropdownShown.bind(this))})}_onInput(e){let t=e.target.value.trim().toLowerCase(),s=e.target.closest(".filter-multi-select-dropdown").querySelector(".filter-multi-select-list").querySelectorAll("li"),i=Array.from(s);for(let l of i)l.style.display="none",l.querySelector(".filter-multi-select-item-label").innerText.trim().toLowerCase().includes(t)&&(l.style.display=null)}_onDropdownShown(e){let t=e.relatedTarget.closest(".dropdown"),r=t.querySelector("[data-frosh-platform-filter-search=true]");if(!r)return;let n=t.querySelector(".dropdown-menu");n&&n.classList.add("fpfs-dropdown-is--expanded"),r.focus({preventScroll:!0})}};window.PluginManager.register("FroshPlatformFilterSearch",o,"[data-frosh-platform-filter-search=true]");})(); diff --git a/src/Resources/store/de.html b/src/Resources/store/de.html deleted file mode 100644 index 8121ee7..0000000 --- a/src/Resources/store/de.html +++ /dev/null @@ -1,13 +0,0 @@ -

- Das Plugin fügt ein Suchfeld über die Filter Optionen ein. Damit können die Optionen gefiltert werden. Das Suchfeld wird erst aktiviert, sobald die Anzahl der Optionen den konfigurierten Wert überschreitet. -

- -

- - Dieses Plugin wird von @FriendsOfShopware entwickelt. - Maintainer dieses Plugins ist: Alexander Wolf -

- -

- Bei Fragen / Fehlern bitte ein Github Issue erstellen -

\ No newline at end of file diff --git a/src/Resources/store/en.html b/src/Resources/store/en.html deleted file mode 100644 index 4cbbcbe..0000000 --- a/src/Resources/store/en.html +++ /dev/null @@ -1,13 +0,0 @@ -

- This plugin inserts a search input above the filter options. It is visible if the configured value is bigger than the count of the filter options. -

- -

- - This plugin is part of @FriendsOfShopware. - Maintainer from the plugin is: Alexander Wolf -

- -

- For questions or bugs please create a Github Issue -

\ No newline at end of file diff --git a/src/Resources/store/icon.png b/src/Resources/store/icon.png deleted file mode 100644 index 885856b..0000000 Binary files a/src/Resources/store/icon.png and /dev/null differ diff --git a/src/Resources/store/images/1.png b/src/Resources/store/images/1.png deleted file mode 100644 index 35ebdee..0000000 Binary files a/src/Resources/store/images/1.png and /dev/null differ diff --git a/src/Resources/store/images/2.png b/src/Resources/store/images/2.png deleted file mode 100644 index 0fb1655..0000000 Binary files a/src/Resources/store/images/2.png and /dev/null differ diff --git a/src/Resources/store/images/3.png b/src/Resources/store/images/3.png deleted file mode 100644 index 976e98f..0000000 Binary files a/src/Resources/store/images/3.png and /dev/null differ diff --git a/src/Resources/store/store.json b/src/Resources/store/store.json deleted file mode 100644 index be510e0..0000000 --- a/src/Resources/store/store.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "storeAvailabilities": [ - "International", - "German" - ], - "standardLocale": "en_GB", - "localizations": ["de_DE","en_GB","fr_FR","nl_NL","es_ES","it_IT"], - "categories": [ - "ConversionOptimierung", - "MenueKategorien" - ], - "productType": "extension", - "responsive": true, - "tags": { - "en": [ - "conversion", - "listing" - ], - "de": [ - "conversion", - "listing" - ] - } -}