diff --git a/public/akaunting-js/generalAction.js b/public/akaunting-js/generalAction.js index c6b29a79a..7784ca600 100644 --- a/public/akaunting-js/generalAction.js +++ b/public/akaunting-js/generalAction.js @@ -246,10 +246,10 @@ function runTooltip(tooltipToggleEl) { function show() { // Make the tooltip visible - tooltipEl.classList.remove("opacity-0"); - tooltipEl.classList.add("opacity-100"); - tooltipEl.classList.remove("invisible"); - tooltipEl.classList.add("visible"); + tooltipEl.classList.remove("opacity-0"); + tooltipEl.classList.add("opacity-100"); + tooltipEl.classList.remove("invisible"); + tooltipEl.classList.add("visible"); // Enable the event listeners popperInstance.setOptions((options) => ({ @@ -267,11 +267,11 @@ function runTooltip(tooltipToggleEl) { } function hide() { + tooltipEl.classList.remove("opacity-100"); + tooltipEl.classList.add("opacity-0"); + tooltipEl.classList.remove("visible"); + tooltipEl.classList.add("invisible"); // Hide the tooltip - tooltipEl.classList.remove("opacity-100"); - tooltipEl.classList.add("opacity-0"); - tooltipEl.classList.remove("visible"); - tooltipEl.classList.add("invisible"); // Disable the event listeners popperInstance.setOptions((options) => ({ diff --git a/public/css/app.css b/public/css/app.css index 9d098a3be..10c97872c 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -57885,5 +57885,12 @@ body{ .\32xl\:w-8{ width: 2rem; } + + .\32xl\:flex-row{ + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } } diff --git a/resources/assets/js/components/AkauntingSearch.vue b/resources/assets/js/components/AkauntingSearch.vue index 7ba705ff1..fa2833500 100644 --- a/resources/assets/js/components/AkauntingSearch.vue +++ b/resources/assets/js/components/AkauntingSearch.vue @@ -645,12 +645,14 @@ export default { }, closeIfClickedOutside(event) { - if (!document.getElementById('search-field-' + this._uid).contains(event.target) && event.target.getAttribute('data-btn') != 'btn btn-link') { - this.visible.options = false; - this.visible.operator = false; - this.visible.values = false; + if (document.getElementById('search-field-' + this._uid)) { + if (!document.getElementById('search-field-' + this._uid).contains(event.target) && event.target.getAttribute('data-btn') != 'btn btn-link') { + this.visible.options = false; + this.visible.operator = false; + this.visible.values = false; - document.removeEventListener('click', this.closeIfClickedOutside); + document.removeEventListener('click', this.closeIfClickedOutside); + } } }, }, diff --git a/resources/assets/js/views/portal/apps.js b/resources/assets/js/views/portal/apps.js index 547c56aa4..1cb97f284 100644 --- a/resources/assets/js/views/portal/apps.js +++ b/resources/assets/js/views/portal/apps.js @@ -147,6 +147,10 @@ const app = new Vue({ resolve({ template: '
' + response.data.html + '
', + mixins: [ + Global + ], + components: { CardForm }, @@ -238,6 +242,10 @@ const app = new Vue({ resolve({ template: '
' + response.data.html + '
', + mixins: [ + Global + ], + components: { CardForm }, diff --git a/resources/views/components/layouts/modules/show/buttons.blade.php b/resources/views/components/layouts/modules/show/buttons.blade.php index 436dabc66..1efee00b4 100644 --- a/resources/views/components/layouts/modules/show/buttons.blade.php +++ b/resources/views/components/layouts/modules/show/buttons.blade.php @@ -1,6 +1,6 @@ @props(['module', 'installed', 'enable']) -
+
-
+
@if (in_array('onprime', $module->where_to_use) || $module->isPurchase) @if ($installed) @can('delete-modules-item') @@ -98,7 +98,7 @@ @endif
-
+
@if (empty($module->plan)) @if ($installed) @can('delete-modules-item') diff --git a/resources/views/components/layouts/modules/show/price.blade.php b/resources/views/components/layouts/modules/show/price.blade.php index 100d2164d..95589660d 100644 --- a/resources/views/components/layouts/modules/show/price.blade.php +++ b/resources/views/components/layouts/modules/show/price.blade.php @@ -1,7 +1,7 @@ @props(['module']) @if ($module->price != '0.0000') -
+
{!! $module->price_prefix !!}
diff --git a/resources/views/components/layouts/modules/show/toggle.blade.php b/resources/views/components/layouts/modules/show/toggle.blade.php index 2b99cd7b4..bb2e06b1d 100644 --- a/resources/views/components/layouts/modules/show/toggle.blade.php +++ b/resources/views/components/layouts/modules/show/toggle.blade.php @@ -1,27 +1,27 @@ -
+
-
+
diff --git a/resources/views/modules/item/show.blade.php b/resources/views/modules/item/show.blade.php index 48ed7cbcd..6a4dac4ab 100644 --- a/resources/views/modules/item/show.blade.php +++ b/resources/views/modules/item/show.blade.php @@ -14,6 +14,8 @@ + +
-
+
@@ -101,10 +103,10 @@ {!! ! empty($module->sort_desc) ? $module->sort_desc : strip_tags($module->description) !!}
-
+
-
+
@if ($module->price != '0.0000') @endif @@ -114,7 +116,7 @@
-
+
diff --git a/safelist.txt b/safelist.txt index 51df5748d..0d57c72b2 100644 --- a/safelist.txt +++ b/safelist.txt @@ -70,6 +70,7 @@ lg:overflow-x-hidden xl:grid-cols-4 xl:w-8/12 xl:pt-6 +2xl:flex-row ltr:-right-10 rtl:-left-10 ltr:rounded-tl-md