diff --git a/package.json b/package.json index 7cdfb1ed0..da67e8b06 100644 --- a/package.json +++ b/package.json @@ -9,18 +9,18 @@ }, "devDependencies": { "@tailwindcss/forms": "^0.5.11", - "@tailwindcss/vite": "^4.1.18", + "@tailwindcss/vite": "^4.2.0", "axios": "^1.13.5", "lodash": "^4.17.23", - "npm-check-updates": "^19.3.2", + "npm-check-updates": "^19.4.1", "prettier": "^3.8.1", - "tailwindcss": "^4.1.18", + "tailwindcss": "^4.2.0", "vite": "^7.3", - "vue": "^3.5.27" + "vue": "^3.5.28" }, "dependencies": { "@alpinejs/csp": "^3.15.8", - "@fortawesome/fontawesome-free": "^7.1.0", + "@fortawesome/fontawesome-free": "^7.2.0", "@melloware/coloris": "^0.25.0", "@simonwep/pickr": "^1.9.1", "chart.js": "^4.5.1", diff --git a/resources/js/alpine/components/cart-page.js b/resources/js/alpine/components/cart-page.js index 2a4e3d55c..13702d2e3 100644 --- a/resources/js/alpine/components/cart-page.js +++ b/resources/js/alpine/components/cart-page.js @@ -86,6 +86,12 @@ Alpine.data('releaseMultiOps', () => ({ boxes.forEach(cb => { cb.checked = this.allChecked; }); }, + onCheckboxChange() { + const boxes = document.querySelectorAll('.chkRelease'); + const checked = document.querySelectorAll('.chkRelease:checked'); + this.allChecked = boxes.length > 0 && checked.length === boxes.length; + }, + _getSelected() { return Array.from(document.querySelectorAll('.chkRelease:checked')).map(cb => cb.value); }, diff --git a/resources/js/alpine/lazy-loader.js b/resources/js/alpine/lazy-loader.js index 2488cac6c..482d0af69 100644 --- a/resources/js/alpine/lazy-loader.js +++ b/resources/js/alpine/lazy-loader.js @@ -33,6 +33,7 @@ const lazyComponentMap = { 'profilePage': () => import('./components/profile-edit.js'), // same file 'copyToClipboard': () => import('./components/profile-edit.js'), // same file 'cartPage': () => import('./components/cart-page.js'), + 'releaseMultiOps': () => import('./components/cart-page.js'), // same file 'authPage': () => import('./components/auth-page.js'), 'otpInput': () => import('./components/auth-page.js'), // same file diff --git a/resources/views/browse/index.blade.php b/resources/views/browse/index.blade.php index d23b3a572..a07a4a1ff 100644 --- a/resources/views/browse/index.blade.php +++ b/resources/views/browse/index.blade.php @@ -43,7 +43,7 @@ @if($results->count() > 0) -