accomadesc 0.3.29 → 0.3.30
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/dist/occuplan/OccuPlanAvailableInfo.svelte +3 -3
- package/dist/occuplan/OccuPlanGrid.svelte +2 -2
- package/dist/occuplan/OccuPlanPicker.svelte +2 -2
- package/dist/occuplan/OccuPlanRows.svelte +2 -2
- package/dist/svg/AcSVG.svelte.d.ts +3 -3
- package/dist/svg/AreaSVG.svelte.d.ts +3 -3
- package/dist/svg/BathroomSVG.svelte.d.ts +3 -3
- package/dist/svg/BedroomSVG.svelte.d.ts +3 -3
- package/dist/svg/CheckSVG.svelte.d.ts +3 -3
- package/dist/svg/ExtLinkSVG.svelte.d.ts +3 -3
- package/dist/svg/HamburgerSVG.svelte.d.ts +3 -3
- package/dist/svg/LinkSVG.svelte.d.ts +3 -3
- package/dist/svg/LogoSVG.svelte.d.ts +3 -3
- package/dist/svg/NoCheckSVG.svelte.d.ts +3 -3
- package/dist/svg/NotSVG.svelte.d.ts +3 -3
- package/dist/svg/ParkingSVG.svelte.d.ts +3 -3
- package/dist/svg/PeopleSVG.svelte.d.ts +3 -3
- package/dist/svg/PetsSVG.svelte.d.ts +3 -3
- package/dist/svg/SmokingSVG.svelte.d.ts +3 -3
- package/dist/svg/TvSVG.svelte.d.ts +3 -3
- package/dist/svg/WifiSVG.svelte.d.ts +3 -3
- package/dist/svg/XSVG.svelte.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { DateTime } from 'luxon';
|
|
3
3
|
import { normalizeDate } from '../helpers/normalizeDate.js';
|
|
4
|
-
import { getContext, setContext, type Snippet } from 'svelte';
|
|
4
|
+
import { getContext, onMount, setContext, type Snippet } from 'svelte';
|
|
5
5
|
import {
|
|
6
6
|
OCCUPATION_STATE,
|
|
7
7
|
OccupationState,
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
|
|
28
28
|
const oStateID = `i-${url}-${OCCUPATION_STATE}`;
|
|
29
29
|
let occupationState: OccupationState = $state(getContext(oStateID));
|
|
30
|
-
|
|
31
|
-
$effect(() => {
|
|
30
|
+
onMount(() => {
|
|
32
31
|
if (!occupationState && browser) {
|
|
33
32
|
occupationState = getOccupationState(url, debug);
|
|
34
33
|
setContext(oStateID, occupationState);
|
|
35
34
|
}
|
|
36
35
|
});
|
|
36
|
+
|
|
37
37
|
let av = $derived(occupationState ? occupationState.calcAvailability(search, maxFutureDate) : {});
|
|
38
38
|
</script>
|
|
39
39
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
type OccupationType,
|
|
14
14
|
type OccuplanTranslations,
|
|
15
15
|
} from './state.svelte.js';
|
|
16
|
-
import { getContext, setContext } from 'svelte';
|
|
16
|
+
import { getContext, onMount, setContext } from 'svelte';
|
|
17
17
|
import Button from '../basic/Button.svelte';
|
|
18
18
|
import { browser } from '$app/environment';
|
|
19
19
|
import Spinner from '../basic/Spinner.svelte';
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
const oStateID = `i-${url}-${OCCUPATION_STATE}`;
|
|
55
55
|
let occupationState: OccupationState = $state(getContext(oStateID));
|
|
56
|
-
|
|
56
|
+
onMount(() => {
|
|
57
57
|
if (!occupationState && browser) {
|
|
58
58
|
occupationState = getOccupationState(url, debug);
|
|
59
59
|
setContext(oStateID, occupationState);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
realFirstMonth,
|
|
11
11
|
type OccuplanTranslations,
|
|
12
12
|
} from './state.svelte.js';
|
|
13
|
-
import { getContext, setContext, untrack } from 'svelte';
|
|
13
|
+
import { getContext, onMount, setContext, untrack } from 'svelte';
|
|
14
14
|
import Button from '../basic/Button.svelte';
|
|
15
15
|
import { browser } from '$app/environment';
|
|
16
16
|
import Spinner from '../basic/Spinner.svelte';
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
const oStateID = `i-${url}-${OCCUPATION_STATE}`;
|
|
62
62
|
let occupationState: OccupationState = $state(getContext(oStateID));
|
|
63
|
-
|
|
63
|
+
onMount(() => {
|
|
64
64
|
if (!occupationState && browser) {
|
|
65
65
|
occupationState = getOccupationState(url, debug);
|
|
66
66
|
setContext(oStateID, occupationState);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} from './state.svelte.js';
|
|
16
16
|
import Button from '../basic/Button.svelte';
|
|
17
17
|
import { browser } from '$app/environment';
|
|
18
|
-
import { getContext, setContext } from 'svelte';
|
|
18
|
+
import { getContext, onMount, setContext } from 'svelte';
|
|
19
19
|
import Spinner from '../basic/Spinner.svelte';
|
|
20
20
|
import { randomID } from '../names/gen.js';
|
|
21
21
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
const oStateID = `i-${url}-${OCCUPATION_STATE}`;
|
|
52
52
|
let occupationState: OccupationState = $state(getContext(oStateID));
|
|
53
|
-
|
|
53
|
+
onMount(() => {
|
|
54
54
|
if (!occupationState && browser) {
|
|
55
55
|
occupationState = getOccupationState(url, debug);
|
|
56
56
|
setContext(oStateID, occupationState);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default AcSVG;
|
|
2
|
+
type AcSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const AcSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default AreaSVG;
|
|
2
|
+
type AreaSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const AreaSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default BathroomSVG;
|
|
2
|
+
type BathroomSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const BathroomSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default BedroomSVG;
|
|
2
|
+
type BedroomSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const BedroomSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default CheckSVG;
|
|
2
|
+
type CheckSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const CheckSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
size?: string;
|
|
3
3
|
}
|
|
4
|
-
declare const
|
|
5
|
-
type
|
|
6
|
-
export default
|
|
4
|
+
declare const ExtLinkSVG: import("svelte").Component<Props, {}, "">;
|
|
5
|
+
type ExtLinkSVG = ReturnType<typeof ExtLinkSVG>;
|
|
6
|
+
export default ExtLinkSVG;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default HamburgerSVG;
|
|
2
|
+
type HamburgerSVG = SvelteComponent<{
|
|
3
3
|
[x: string]: never;
|
|
4
4
|
}, {
|
|
5
5
|
[evt: string]: CustomEvent<any>;
|
|
6
6
|
}, {}> & {
|
|
7
7
|
$$bindings?: string | undefined;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
9
|
+
declare const HamburgerSVG: $$__sveltets_2_IsomorphicComponent<{
|
|
10
10
|
[x: string]: never;
|
|
11
11
|
}, {
|
|
12
12
|
[evt: string]: CustomEvent<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
size?: string;
|
|
3
3
|
}
|
|
4
|
-
declare const
|
|
5
|
-
type
|
|
6
|
-
export default
|
|
4
|
+
declare const LinkSVG: import("svelte").Component<Props, {}, "">;
|
|
5
|
+
type LinkSVG = ReturnType<typeof LinkSVG>;
|
|
6
|
+
export default LinkSVG;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default LogoSVG;
|
|
2
|
+
type LogoSVG = SvelteComponent<{
|
|
3
3
|
[x: string]: never;
|
|
4
4
|
}, {
|
|
5
5
|
[evt: string]: CustomEvent<any>;
|
|
6
6
|
}, {}> & {
|
|
7
7
|
$$bindings?: string | undefined;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
9
|
+
declare const LogoSVG: $$__sveltets_2_IsomorphicComponent<{
|
|
10
10
|
[x: string]: never;
|
|
11
11
|
}, {
|
|
12
12
|
[evt: string]: CustomEvent<any>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default NoCheckSVG;
|
|
2
|
+
type NoCheckSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const NoCheckSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default NotSVG;
|
|
2
|
+
type NotSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const NotSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default ParkingSVG;
|
|
2
|
+
type ParkingSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const ParkingSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default PeopleSVG;
|
|
2
|
+
type PeopleSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const PeopleSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default PetsSVG;
|
|
2
|
+
type PetsSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const PetsSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default SmokingSVG;
|
|
2
|
+
type SmokingSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const SmokingSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default TvSVG;
|
|
2
|
+
type TvSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const TvSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default WifiSVG;
|
|
2
|
+
type WifiSVG = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const WifiSVG: import("svelte").Component<{
|
|
7
7
|
size?: string | undefined;
|
|
8
8
|
}, {}, "">;
|
|
9
9
|
type Props = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default XSVG;
|
|
2
|
+
type XSVG = SvelteComponent<{
|
|
3
3
|
[x: string]: never;
|
|
4
4
|
}, {
|
|
5
5
|
[evt: string]: CustomEvent<any>;
|
|
6
6
|
}, {}> & {
|
|
7
7
|
$$bindings?: string | undefined;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
9
|
+
declare const XSVG: $$__sveltets_2_IsomorphicComponent<{
|
|
10
10
|
[x: string]: never;
|
|
11
11
|
}, {
|
|
12
12
|
[evt: string]: CustomEvent<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accomadesc",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"!dist/**/*.test.*",
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@sveltejs/adapter-auto": "^3.3.1",
|
|
28
|
-
"@sveltejs/adapter-static": "^3.0.
|
|
29
|
-
"@sveltejs/kit": "^2.
|
|
30
|
-
"@sveltejs/package": "^2.5.
|
|
28
|
+
"@sveltejs/adapter-static": "^3.0.10",
|
|
29
|
+
"@sveltejs/kit": "^2.47.3",
|
|
30
|
+
"@sveltejs/package": "^2.5.4",
|
|
31
31
|
"@sveltejs/vite-plugin-svelte": "^5.1.1",
|
|
32
32
|
"@types/luxon": "^3.7.1",
|
|
33
33
|
"gdpr-cooco-banner": "^0.0.11",
|
|
34
34
|
"prettier": "^3.6.2",
|
|
35
35
|
"prettier-plugin-svelte": "^3.4.0",
|
|
36
|
-
"publint": "^0.3.
|
|
37
|
-
"svelte": "^5.
|
|
38
|
-
"svelte-check": "^4.3.
|
|
39
|
-
"typescript": "^5.9.
|
|
40
|
-
"vite": "^6.
|
|
36
|
+
"publint": "^0.3.15",
|
|
37
|
+
"svelte": "^5.41.4",
|
|
38
|
+
"svelte-check": "^4.3.3",
|
|
39
|
+
"typescript": "^5.9.3",
|
|
40
|
+
"vite": "^6.4.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@dinero.js/currencies": "2.0.0-alpha.14",
|
|
44
|
-
"@fontsource/raleway": "^5.2.
|
|
44
|
+
"@fontsource/raleway": "^5.2.8",
|
|
45
45
|
"@twicpics/components": "^0.31.4",
|
|
46
|
-
"@types/leaflet": "^1.9.
|
|
46
|
+
"@types/leaflet": "^1.9.21",
|
|
47
47
|
"leaflet": "^1.9.4",
|
|
48
48
|
"luxon": "^3.7.2"
|
|
49
49
|
},
|