Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 5ab4828

Browse files
committed
Version bump
1 parent 594a18c commit 5ab4828

File tree

7 files changed

+31
-27
lines changed

7 files changed

+31
-27
lines changed

app/package-lock.json

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

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"pre-publish": "npm upgrade && vite build"
77
},
88
"devDependencies": {
9-
"@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-1.0.1.tgz",
9+
"@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-1.0.2.tgz",
1010
"@tailwindcss/forms": "^0.5.2",
1111
"@tailwindcss/typography": "^0.5.2",
1212
"@vitejs/plugin-vue": "^3.0.0",

dist/protone-media-laravel-splade.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3846,17 +3846,19 @@ const vd = {
38463846
},
38473847
mounted() {
38483848
let e = document.querySelector(`form[data-splade-id="${this.spladeId}"]`);
3849-
e || (e = document), this.formElement = e, this.missingAttributes.forEach((t) => {
3850-
let r = "";
3851-
const n = e.querySelector(`[name="${t}"]`);
3852-
n ? r = n.type === "checkbox" ? !1 : "" : e.querySelector(`[name="${t}[]"]`) ? r = [] : (e.querySelector(`[name^="${t}."]`) || e.querySelector(`[name^="${t}["]`)) && (r = {}), this.$put(t, r);
3849+
e || (e = document), this.formElement = e, this.missingAttributes.forEach((r) => {
3850+
let n = "";
3851+
const i = e.querySelector(`[name="${r}"]`);
3852+
i ? n = i.type === "checkbox" ? !1 : "" : e.querySelector(`[name="${r}[]"]`) ? n = [] : (e.querySelector(`[name^="${r}."]`) || e.querySelector(`[name^="${r}["]`)) && (n = {}), this.$put(r, n);
38533853
}), this.missingAttributes = [], this.submitOnChange === !0 ? this.$watch("values", () => {
38543854
this.$nextTick(() => this.request());
3855-
}, { deep: !0 }) : L(this.submitOnChange) && this.submitOnChange.forEach((t) => {
3856-
this.$watch(`values.${t}`, () => {
3855+
}, { deep: !0 }) : L(this.submitOnChange) && this.submitOnChange.forEach((r) => {
3856+
this.$watch(`values.${r}`, () => {
38573857
this.$nextTick(() => this.request());
38583858
}, { deep: !0 });
38593859
}), this.isMounted = !0;
3860+
const t = this.formElement.querySelector("[autofocus]");
3861+
t && this.focusAndScrollToElement(t);
38603862
},
38613863
methods: {
38623864
$startUploading(e) {
@@ -4616,8 +4618,10 @@ const Bd = {
46164618
}), t.length === 0 ? this.visibleColumns = this.defaultVisibleToggleableColumns : this.visibleColumns = t;
46174619
},
46184620
methods: {
4619-
visitLink(e, t) {
4620-
return t === "modal" ? m.modal(e) : t === "slideover" ? m.slideover(e) : m.visit(e);
4621+
visitLink(e, t, r) {
4622+
var n, i;
4623+
if (!(((n = r == null ? void 0 : r.target) == null ? void 0 : n.tagName) === "A" || ((i = r == null ? void 0 : r.target) == null ? void 0 : i.tagName) === "BUTTON"))
4624+
return t === "modal" ? m.modal(e) : t === "slideover" ? m.slideover(e) : m.visit(e);
46214625
},
46224626
reset() {
46234627
this.forcedVisibleSearchInputs = [], this.visibleColumns = this.defaultVisibleToggleableColumns;

dist/protone-media-laravel-splade.umd.cjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@protonemedia/laravel-splade",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Laravel Splade: the magic of Inertia.js with the simplicity of Blade.",
55
"private": false,
66
"author": "Pascal Baljet <[email protected]>",

src/Commands/SpladeInstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function handle(): int
3030
// Install NPM packages...
3131
$this->updateNodePackages(function ($packages) {
3232
return [
33-
'@protonemedia/laravel-splade' => '^1.0.1',
33+
'@protonemedia/laravel-splade' => '^1.0.2',
3434
'@tailwindcss/forms' => '^0.5.2',
3535
'@tailwindcss/typography' => '^0.5.2',
3636
'@vitejs/plugin-vue' => '^3.0.0',

0 commit comments

Comments
 (0)