Skip to content

Commit ace3796

Browse files
committed
5.1.7
1 parent 30a7448 commit ace3796

File tree

18 files changed

+413
-1706
lines changed

18 files changed

+413
-1706
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"illuminate/filesystem": "^10.48.23|^11.35",
2020
"illuminate/support": "^10.48.23|^11.35",
2121
"inertiajs/inertia-laravel": "^1.3.2|^2.0",
22-
"laravel/fortify": "^1.25.2",
22+
"laravel/fortify": "^1.25.3",
2323
"nesbot/carbon": "^2.62.1|^3.4",
2424
"rap2hpoutre/fast-excel": "^5.4",
2525
"spatie/once": "^3.0",
@@ -162,5 +162,5 @@
162162
},
163163
"minimum-stability": "dev",
164164
"prefer-stable": true,
165-
"version": "5.1.5"
165+
"version": "5.1.7"
166166
}

package-lock.json

Lines changed: 293 additions & 1676 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"/app.js": "/app.js?id=88cd4d0cd991a90987eca35d7375ac9e",
2+
"/app.js": "/app.js?id=7d717946e7f8c89b5d805d44aedaf2ca",
33
"/ui.js": "/ui.js?id=592866a715b1c20b43fff6ca7980b279",
44
"/manifest.js": "/manifest.js?id=3267e5c99fd7b729e2f38ec55b50397d",
5-
"/app.css": "/app.css?id=4979b631c5ac542d792aa697845f8e1d",
5+
"/app.css": "/app.css?id=5be2f220306cc89d3f1400a1b2b7bb98",
66
"/vendor.js": "/vendor.js?id=7ea02f3d5fdd3c4b567217ae68db7376",
77
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2?id=c8390e146be0a3c8a5498355dec892ae",
88
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2?id=b0735c7dd6126471acbaf9d6e9f5e41a",

resources/css/form.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
}
1818

1919
.form-control[data-disabled],
20-
.form-control:disabled {
21-
@apply bg-gray-50 dark:bg-gray-800 text-gray-400 outline-none;
20+
.form-control:disabled,
21+
.form-control:read-only {
22+
@apply bg-gray-50 dark:bg-gray-800 text-gray-400 outline-none focus:outline-none;
2223
}
2324

2425
/* Form Inputs

resources/js/fields/Form/TextareaField.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
@input="handleChange"
1616
class="w-full h-auto py-3 block form-control form-input form-control-bordered"
1717
:dusk="field.attribute"
18+
:disabled="currentlyIsReadonly"
1819
/>
1920

2021
<CharacterCounter

resources/js/mixins/Filterable.js

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,37 @@ export default {
55
data: () => ({
66
filterHasLoaded: false,
77
filterIsActive: false,
8+
filtersAreApplied: false,
89
}),
910

1011
watch: {
11-
encodedFilters(value) {
12-
Nova.$emit('filter-changed', [value])
12+
encodedFilters(newValue, oldValue) {
13+
if (
14+
this.filterHasLoaded == false ||
15+
newValue === this.initialEncodedFilters ||
16+
('' === this.initialEncodedFilters && this.filtersAreApplied === false)
17+
) {
18+
return
19+
}
20+
21+
Nova.$emit('filter-changed', [newValue])
22+
23+
const query = {
24+
[this.filterParameter]: this.encodedFilters,
25+
}
26+
27+
if (newValue !== oldValue) {
28+
query[this.pageParameter] = 1
29+
}
30+
31+
this.pushAfterUpdatingQueryString(query)
1332
},
1433
},
1534

35+
created() {
36+
this.filterCurrentEncoded = this.encodedFilters
37+
},
38+
1639
methods: {
1740
/**
1841
* Clear filters and reset the resource table.
@@ -43,15 +66,11 @@ export default {
4366
* Handle a filter state change.
4467
*/
4568
filterChanged() {
46-
let filtersAreApplied =
69+
this.filtersAreApplied =
4770
this.$store.getters[`${this.resourceName}/filtersAreApplied`]
4871

49-
if (filtersAreApplied || this.filterIsActive) {
72+
if (this.filtersAreApplied || this.filterIsActive) {
5073
this.filterIsActive = true
51-
this.pushAfterUpdatingQueryString({
52-
[this.pageParameter]: 1,
53-
[this.filterParameter]: this.encodedFilters,
54-
})
5574
}
5675
},
5776

src/Console/asset-stubs/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"require-dev": {
1414
"laravel/nova": "^5.0",
15-
"laravel/nova-devtool": "^1.2"
15+
"laravel/nova-devtool": "^1.4.2"
1616
},
1717
"repositories": [
1818
{ "type": "composer", "url": "https://nova.laravel.com" }

src/Console/card-stubs/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"require-dev": {
1414
"laravel/nova": "^5.0",
15-
"laravel/nova-devtool": "^1.2"
15+
"laravel/nova-devtool": "^1.4.2"
1616
},
1717
"repositories": [
1818
{ "type": "composer", "url": "https://nova.laravel.com" }

0 commit comments

Comments
 (0)