Skip to content

Commit eb20855

Browse files
committed
Bump version
1 parent 9e85a3b commit eb20855

6 files changed

+207
-204
lines changed

app/package-lock.json

+190-190
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"tailwindcss": "^3.1.0",
1919
"vite": "^2.9.11",
2020
"vue": "^3.2.37",
21-
"@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-0.1.1.tgz"
21+
"@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-0.1.2.tgz"
2222
}
2323
}

dist/protone-media-laravel-splade.js

+11-8
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ const Oe = {
439439
ln(Oe, { html: ee(n) }, null, 8, ["html"]),
440440
(z(!0), He(ke, null, un(ee(m).currentStack, (h) => (z(), Se(Oe, {
441441
key: `modal.${h}`,
442-
class: "z-20",
443442
type: l.value[h].type,
444443
html: l.value[h].html,
445444
stack: h,
@@ -1562,7 +1561,7 @@ const Ii = {
15621561
mounted() {
15631562
if (this.remember) {
15641563
let e = m.restore(this.remember, this.localStorage);
1565-
e || (e = {}), this.values = Object.assign({}, { ...e });
1564+
e || (e = {}), this.values = Object.assign({}, { ...this.default, ...e });
15661565
} else
15671566
this.values = Object.assign({}, { ...this.default });
15681567
},
@@ -2119,7 +2118,9 @@ const ol = {
21192118
action: {
21202119
type: String,
21212120
required: !1,
2122-
default: location.href
2121+
default() {
2122+
return location ? location.href : "";
2123+
}
21232124
},
21242125
method: {
21252126
type: String,
@@ -2205,14 +2206,14 @@ const ol = {
22052206
});
22062207
},
22072208
request() {
2208-
this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(this.recentlySuccessfulTimeoutId);
2209+
this.processing = !0, this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(this.recentlySuccessfulTimeoutId);
22092210
const e = this.forceFormData || ct(this.values) ? kr(this.values) : this.values;
22102211
m.request(this.action, this.method.toUpperCase(), e, {
22112212
Accept: "application/json"
22122213
}).then((t) => {
2213-
this.$emit("success", t), this.restoreOnSuccess && this.restore(), this.resetOnSuccess && this.reset(), this.wasSuccessful = !0, this.recentlySuccessful = !0, this.recentlySuccessfulTimeoutId = setTimeout(() => this.recentlySuccessful = !1, 2e3);
2214+
this.$emit("success", t), this.restoreOnSuccess && this.restore(), this.resetOnSuccess && this.reset(), this.processing = !1, this.wasSuccessful = !0, this.recentlySuccessful = !0, this.recentlySuccessfulTimeoutId = setTimeout(() => this.recentlySuccessful = !1, 2e3);
22142215
}).catch((t) => {
2215-
this.$emit("error", t);
2216+
this.processing = !1, this.$emit("error", t);
22162217
});
22172218
}
22182219
},
@@ -2303,8 +2304,10 @@ const ol = {
23032304
], 8, il));
23042305
}
23052306
}, ll = {
2306-
provide: {
2307-
stack: () => globalThis.stack
2307+
provide() {
2308+
return {
2309+
stack: this.stack
2310+
};
23082311
},
23092312
props: {
23102313
type: {

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

+3-3
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@protonemedia/laravel-splade",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Laravel Splade: the magic of Inertia.js with the simplicity of Blade.",
55
"author": "Pascal Baljet <[email protected]>",
66
"license": "MIT",

src/Commands/SpladeInstallCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function handle(): int
2121
// Install NPM packages...
2222
$this->updateNodePackages(function ($packages) {
2323
return [
24-
'@protonemedia/laravel-splade' => '^0.1.1',
24+
'@protonemedia/laravel-splade' => '^0.1.2',
2525
'@tailwindcss/forms' => '^0.5.2',
2626
'@tailwindcss/typography' => '^0.5.2',
2727
'@vitejs/plugin-vue' => '^3.0.0',

0 commit comments

Comments
 (0)