@movvjs/svelte-schedule-view 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.svelte-kit/__package__/components/Layout.svelte +1 -1
- package/.svelte-kit/__package__/components/Layout.svelte.d.ts +1 -1
- package/.svelte-kit/__package__/schedule/Schedule.svelte +0 -3
- package/.svelte-kit/ambient.d.ts +0 -2
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/components/Layout.svelte +1 -1
- package/dist/components/Layout.svelte.d.ts +1 -1
- package/dist/schedule/Schedule.svelte +0 -3
- package/package.json +1 -2
- package/src/lib/components/Layout.svelte +1 -1
- package/src/lib/schedule/Schedule.svelte +0 -3
- package/yarn.lock +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script context="module"></script>
|
|
2
2
|
|
|
3
|
-
<script>import "../assets/scss/
|
|
3
|
+
<script>import "../assets/scss/indie_booking.scss";
|
|
4
4
|
import { isLoading, init, locale } from "svelte-i18n";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import Loader from "../loaders/component.svelte";
|
|
@@ -11,14 +11,12 @@ import { loaders } from "../loaders";
|
|
|
11
11
|
import { alert } from "../alert";
|
|
12
12
|
import { t } from "../i18n";
|
|
13
13
|
import { env } from "../store/env";
|
|
14
|
-
import { jwtDecode } from "jwt-decode";
|
|
15
14
|
import Layout from "../components/Layout.svelte";
|
|
16
15
|
import Map from "./Map.svelte";
|
|
17
16
|
import ServiceZone from "./ServiceZone.svelte";
|
|
18
17
|
import Plan from "./Plan.svelte";
|
|
19
18
|
import BookingInfo from "./BookingInfo.svelte";
|
|
20
19
|
import { Toaster } from "svelte-french-toast";
|
|
21
|
-
import { onMount } from "svelte";
|
|
22
20
|
const { stdt, price, isModifiable } = originalBooking;
|
|
23
21
|
const { price: editPrice, availableDestZones, availableWaypointZones, fullName, selectedPrice } = copiedBooking;
|
|
24
22
|
let on = false;
|
|
@@ -40,7 +38,6 @@ export function init(options) {
|
|
|
40
38
|
isDev
|
|
41
39
|
});
|
|
42
40
|
console.log("init env ==>", $env);
|
|
43
|
-
console.log("user =>", jwtDecode(token.accessToken));
|
|
44
41
|
return {
|
|
45
42
|
open
|
|
46
43
|
};
|
package/.svelte-kit/ambient.d.ts
CHANGED
|
@@ -53,7 +53,6 @@ declare module '$env/static/private' {
|
|
|
53
53
|
export const npm_package_dependencies_dayjs: string;
|
|
54
54
|
export const USER: string;
|
|
55
55
|
export const npm_package_description: string;
|
|
56
|
-
export const npm_package_dependencies_jwt_decode: string;
|
|
57
56
|
export const LS_COLORS: string;
|
|
58
57
|
export const npm_package_scripts_check_watch: string;
|
|
59
58
|
export const npm_package_license: string;
|
|
@@ -191,7 +190,6 @@ declare module '$env/dynamic/private' {
|
|
|
191
190
|
npm_package_dependencies_dayjs: string;
|
|
192
191
|
USER: string;
|
|
193
192
|
npm_package_description: string;
|
|
194
|
-
npm_package_dependencies_jwt_decode: string;
|
|
195
193
|
LS_COLORS: string;
|
|
196
194
|
npm_package_scripts_check_watch: string;
|
|
197
195
|
npm_package_license: string;
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta name=\"referrer\" content=\"no-referrer\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div>" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "zc2dzo"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script context="module"></script>
|
|
2
2
|
|
|
3
|
-
<script>import "../assets/scss/
|
|
3
|
+
<script>import "../assets/scss/indie_booking.scss";
|
|
4
4
|
import { isLoading, init, locale } from "svelte-i18n";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import Loader from "../loaders/component.svelte";
|
|
@@ -11,14 +11,12 @@ import { loaders } from "../loaders";
|
|
|
11
11
|
import { alert } from "../alert";
|
|
12
12
|
import { t } from "../i18n";
|
|
13
13
|
import { env } from "../store/env";
|
|
14
|
-
import { jwtDecode } from "jwt-decode";
|
|
15
14
|
import Layout from "../components/Layout.svelte";
|
|
16
15
|
import Map from "./Map.svelte";
|
|
17
16
|
import ServiceZone from "./ServiceZone.svelte";
|
|
18
17
|
import Plan from "./Plan.svelte";
|
|
19
18
|
import BookingInfo from "./BookingInfo.svelte";
|
|
20
19
|
import { Toaster } from "svelte-french-toast";
|
|
21
|
-
import { onMount } from "svelte";
|
|
22
20
|
const { stdt, price, isModifiable } = originalBooking;
|
|
23
21
|
const { price: editPrice, availableDestZones, availableWaypointZones, fullName, selectedPrice } = copiedBooking;
|
|
24
22
|
let on = false;
|
|
@@ -40,7 +38,6 @@ export function init(options) {
|
|
|
40
38
|
isDev
|
|
41
39
|
});
|
|
42
40
|
console.log("init env ==>", $env);
|
|
43
|
-
console.log("user =>", jwtDecode(token.accessToken));
|
|
44
41
|
return {
|
|
45
42
|
open
|
|
46
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movvjs/svelte-schedule-view",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": {
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"axios": "^1.6.8",
|
|
53
53
|
"dayjs": "^1.11.11",
|
|
54
54
|
"intl-messageformat": "^10.5.12",
|
|
55
|
-
"jwt-decode": "^4.0.0",
|
|
56
55
|
"lodash-es": "^4.17.21",
|
|
57
56
|
"qs": "^6.12.1",
|
|
58
57
|
"sortablejs": "^1.15.2",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
import { t } from '$lib/i18n'
|
|
15
15
|
import type { Locale, Target } from '$lib/types'
|
|
16
16
|
import { env } from '$lib/store/env'
|
|
17
|
-
import { jwtDecode } from 'jwt-decode'
|
|
18
17
|
|
|
19
18
|
import Layout from '$lib/components/Layout.svelte'
|
|
20
19
|
import Map from './Map.svelte'
|
|
@@ -22,7 +21,6 @@
|
|
|
22
21
|
import Plan from './Plan.svelte'
|
|
23
22
|
import BookingInfo from './BookingInfo.svelte'
|
|
24
23
|
import { Toaster } from 'svelte-french-toast'
|
|
25
|
-
import { onMount } from 'svelte'
|
|
26
24
|
|
|
27
25
|
const { stdt, price, isModifiable } = originalBooking
|
|
28
26
|
const { price: editPrice, availableDestZones, availableWaypointZones, fullName, selectedPrice } = copiedBooking
|
|
@@ -57,7 +55,6 @@
|
|
|
57
55
|
})
|
|
58
56
|
|
|
59
57
|
console.log('init env ==>', $env)
|
|
60
|
-
console.log('user =>', jwtDecode(token.accessToken))
|
|
61
58
|
|
|
62
59
|
return {
|
|
63
60
|
open
|
package/yarn.lock
CHANGED
|
@@ -1109,11 +1109,6 @@ is-reference@^3.0.0, is-reference@^3.0.1:
|
|
|
1109
1109
|
dependencies:
|
|
1110
1110
|
"@types/estree" "*"
|
|
1111
1111
|
|
|
1112
|
-
jwt-decode@^4.0.0:
|
|
1113
|
-
version "4.0.0"
|
|
1114
|
-
resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-4.0.0.tgz#2270352425fd413785b2faf11f6e755c5151bd4b"
|
|
1115
|
-
integrity sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==
|
|
1116
|
-
|
|
1117
1112
|
kleur@^4.1.5:
|
|
1118
1113
|
version "4.1.5"
|
|
1119
1114
|
resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780"
|