From c8f512ad545f8b4cf6f5f16e9ded4761c6555acb Mon Sep 17 00:00:00 2001
From: ctf0
Date: Wed, 10 Feb 2021 19:07:48 +0200
Subject: [PATCH] v3.8.5
---
README.md | 2 +-
logs/v3.8.0.txt | 6 -
logs/v3.8.5.txt | 1 +
.../js/components/globalSearch/button.vue | 22 +--
.../js/components/globalSearch/panel.vue | 40 ++---
.../js/components/image/editor/controls.vue | 64 ++++----
.../components/image/editor/filters/index.vue | 140 ++++++++---------
.../js/components/image/editor/main.vue | 144 +++++++++---------
.../assets/js/components/image/preview.vue | 68 ++++-----
.../assets/js/components/utils/icon-types.vue | 34 ++---
src/resources/assets/js/modules/icons.js | 86 +++++------
src/resources/views/_manager.blade.php | 32 ++--
src/resources/views/partials/card.blade.php | 2 +-
.../views/partials/modal/ops.blade.php | 4 +-
14 files changed, 324 insertions(+), 321 deletions(-)
delete mode 100644 logs/v3.8.0.txt
create mode 100644 logs/v3.8.5.txt
diff --git a/README.md b/README.md
index f07e426..5b7968c 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@
- [install dependencies](https://github.com/ctf0/Laravel-Media-Manager/wiki/Packages-In-Use)
```bash
- yarn add vue vue-ls vue-infinite-loading vue-image-compare2 vue-tippy@v2 vue2-filters vue-input-autowidth vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next vue-focuspoint-component axios dropzone cropperjs keycode lottie-web plyr fuse.js music-metadata-browser idb-keyval annyang
+ yarn add vue vue-ls vue-infinite-loading vue-image-compare2 vue-tippy@v2 vue2-filters vue-input-autowidth vue-notif vue-clipboard2 vue-awesome vue-touch@next vue-focuspoint-component axios dropzone cropperjs keycode lottie-web plyr fuse.js music-metadata-browser idb-keyval annyang
yarn add buffer process --dev
```
diff --git a/logs/v3.8.0.txt b/logs/v3.8.0.txt
deleted file mode 100644
index 6cbdf59..0000000
--- a/logs/v3.8.0.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-- use laravel mix v6
-- change minimum version for laravel to v7
-- remove `worker-loader` & use wp native worker support instead
-- add `buffer & process` to dev deps
-- update demo repo with the new changes
-- add new wiki for v6 upgrade https://github.com/ctf0/Laravel-Media-Manager/wiki/Laravel-Mix-V6
diff --git a/logs/v3.8.5.txt b/logs/v3.8.5.txt
new file mode 100644
index 0000000..4de74c0
--- /dev/null
+++ b/logs/v3.8.5.txt
@@ -0,0 +1 @@
+- update vue-awesome to v4, make sure to update it in your package.json
\ No newline at end of file
diff --git a/src/resources/assets/js/components/globalSearch/button.vue b/src/resources/assets/js/components/globalSearch/button.vue
index 669a449..e2de7d2 100644
--- a/src/resources/assets/js/components/globalSearch/button.vue
+++ b/src/resources/assets/js/components/globalSearch/button.vue
@@ -6,7 +6,7 @@
@click.stop="done ? showSearchPanel() : init()">
+ name="globe-americas"/>
@@ -16,8 +16,8 @@ export default {
props: ['route', 'isLoading', 'trans', 'showNotif'],
data() {
return {
- loading: false,
- done: false
+ loading : false,
+ done : false
}
},
mounted() {
@@ -30,15 +30,15 @@ export default {
this.loading = true
axios.get(this.route)
- .then(({data}) => {
- this.loading = false
- this.done = true
- EventHub.fire('global-search-index', data)
- this.showNotif(this.trans('glbl_search_avail'))
+ .then(({data}) => {
+ this.loading = false
+ this.done = true
+ EventHub.fire('global-search-index', data)
+ this.showNotif(this.trans('glbl_search_avail'))
- }).catch((err) => {
- console.error(err)
- })
+ }).catch((err) => {
+ console.error(err)
+ })
},
showSearchPanel() {
EventHub.fire('toggle-global-search', true)
diff --git a/src/resources/assets/js/components/globalSearch/panel.vue b/src/resources/assets/js/components/globalSearch/panel.vue
index 3adc582..af7e374 100644
--- a/src/resources/assets/js/components/globalSearch/panel.vue
+++ b/src/resources/assets/js/components/globalSearch/panel.vue
@@ -72,7 +72,7 @@
:title="trans('go_to_folder')">{{ item.dir_path }}
+
+
diff --git a/src/resources/assets/js/components/image/preview.vue b/src/resources/assets/js/components/image/preview.vue
index 056704a..5daeffc 100644
--- a/src/resources/assets/js/components/image/preview.vue
+++ b/src/resources/assets/js/components/image/preview.vue
@@ -6,27 +6,27 @@
-