accomadesc 0.1.9 → 0.1.11
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/BookingRequest.svelte +1 -1
- package/dist/CalendarAvailable.svelte +1 -1
- package/dist/PageComponent.svelte +2 -2
- package/dist/PageComponent.svelte.d.ts +3 -1
- package/dist/PageHeader.svelte +1 -1
- package/dist/PageHeader.svelte.d.ts +1 -1
- package/dist/basic/Notes.svelte +1 -1
- package/dist/occuplan/OccuPlanAvailableInfo.svelte +5 -2
- package/dist/occuplan/OccuPlanAvailableInfo.svelte.d.ts +1 -1
- package/dist/occuplan/OccuPlanPicker.svelte +1 -2
- package/dist/occuplan/state.svelte.d.ts +10 -10
- package/dist/occuplan/state.svelte.js +2 -2
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import Notes from './basic/Notes.svelte';
|
|
6
6
|
import Spinner from './basic/Spinner.svelte';
|
|
7
7
|
import TextInput from './basic/TextInput.svelte';
|
|
8
|
-
import { OCCUPATION_STATE, OccupationState } from './occuplan/state.svelte.
|
|
8
|
+
import { OCCUPATION_STATE, OccupationState } from './occuplan/state.svelte.js';
|
|
9
9
|
import OccuPlanPicker from './occuplan/OccuPlanPicker.svelte';
|
|
10
10
|
import { slide } from 'svelte/transition';
|
|
11
11
|
import type { DateTime } from 'luxon';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import OccuPlanAvailableInfo from './occuplan/OccuPlanAvailableInfo.svelte';
|
|
3
3
|
import { DateTime } from 'luxon';
|
|
4
4
|
import type { CalendarAvailableContent, I18nFacade } from './types.js';
|
|
5
|
-
import { type AvailableSpans } from './occuplan/state.svelte.
|
|
5
|
+
import { type AvailableSpans } from './occuplan/state.svelte.js';
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
url,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import Hamburger from './Hamburger.svelte';
|
|
5
5
|
import PageHeader from './PageHeader.svelte';
|
|
6
6
|
import PageFooter from './PageFooter.svelte';
|
|
7
|
-
import type {
|
|
7
|
+
import type { PageProps, Section as SectionI, I18nFacade } from './types.js';
|
|
8
8
|
|
|
9
9
|
let {
|
|
10
10
|
hero,
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
updateCurrentLang,
|
|
25
25
|
currentLang,
|
|
26
26
|
calendarTranslation,
|
|
27
|
-
}:
|
|
27
|
+
}: PageProps & I18nFacade = $props();
|
|
28
28
|
|
|
29
29
|
let pageTitle = hero && hero.title ? hero.title : header ? header : title;
|
|
30
30
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PageProps, I18nFacade } from './types.js';
|
|
2
|
+
type $$ComponentProps = PageProps & I18nFacade;
|
|
3
|
+
declare const PageComponent: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
2
4
|
type PageComponent = ReturnType<typeof PageComponent>;
|
|
3
5
|
export default PageComponent;
|
package/dist/PageHeader.svelte
CHANGED
package/dist/basic/Notes.svelte
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { DateTime } from 'luxon';
|
|
3
3
|
import { normalizeDate } from '../helpers/normalizeDate.js';
|
|
4
|
-
import type { AvailableSpans } from './state.svelte.js';
|
|
5
4
|
import { getContext, setContext, type Snippet } from 'svelte';
|
|
6
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
OCCUPATION_STATE,
|
|
7
|
+
OccupationState,
|
|
8
|
+
type AvailableSpans,
|
|
9
|
+
} from './state.svelte.js';
|
|
7
10
|
import Spinner from '../basic/Spinner.svelte';
|
|
8
11
|
import { browser } from '$app/environment';
|
|
9
12
|
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
import Button from '../basic/Button.svelte';
|
|
15
15
|
import { browser } from '$app/environment';
|
|
16
16
|
import Spinner from '../basic/Spinner.svelte';
|
|
17
|
-
import { normalizeDate } from '../helpers/normalizeDate.
|
|
18
|
-
import { preventDefault } from 'svelte/legacy';
|
|
17
|
+
import { normalizeDate } from '../helpers/normalizeDate.js';
|
|
19
18
|
|
|
20
19
|
let {
|
|
21
20
|
url,
|
|
@@ -51,16 +51,16 @@ export type PrevMonthNumbers = '-1' | '-2' | '-3' | '-4' | '-5' | '-6' | '-7' |
|
|
|
51
51
|
export type FirstMonth = MonthNumbers | NextMonthNumbers | PrevMonthNumbers | 0;
|
|
52
52
|
export interface OccuplanMiscProps {
|
|
53
53
|
url: string;
|
|
54
|
-
gridNumberOfMonths
|
|
55
|
-
gridFirstMonth
|
|
56
|
-
gridMaxWidth
|
|
57
|
-
rowsNumberOfMonths
|
|
58
|
-
rowsFirstMonth
|
|
59
|
-
rowsMaxWidth
|
|
60
|
-
minDate
|
|
61
|
-
maxDate
|
|
62
|
-
toggleGridOffset
|
|
63
|
-
toggleRowsOffset
|
|
54
|
+
gridNumberOfMonths?: number;
|
|
55
|
+
gridFirstMonth?: FirstMonth;
|
|
56
|
+
gridMaxWidth?: string;
|
|
57
|
+
rowsNumberOfMonths?: number;
|
|
58
|
+
rowsFirstMonth?: FirstMonth;
|
|
59
|
+
rowsMaxWidth?: string;
|
|
60
|
+
minDate?: DateTime;
|
|
61
|
+
maxDate?: DateTime;
|
|
62
|
+
toggleGridOffset?: number;
|
|
63
|
+
toggleRowsOffset?: number;
|
|
64
64
|
}
|
|
65
65
|
export declare const defaultWeekendLabel = "Weekend";
|
|
66
66
|
export declare const defaultWeekdayLabels: WeekdayLabels;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { normalizeDate } from '../helpers/normalizeDate.
|
|
2
|
-
import { getEvents } from '../helpers/readICS.
|
|
1
|
+
import { normalizeDate } from '../helpers/normalizeDate.js';
|
|
2
|
+
import { getEvents } from '../helpers/readICS.js';
|
|
3
3
|
import { DateTime } from 'luxon';
|
|
4
4
|
import { DateTime as luxon } from 'luxon';
|
|
5
5
|
export const OCCUPATION_STATE = 'occupation-state';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Dinero, type DineroSnapshot } from 'dinero.js';
|
|
2
|
-
import type { FirstMonth } from './occuplan/state.svelte.
|
|
2
|
+
import type { FirstMonth } from './occuplan/state.svelte.js';
|
|
3
3
|
import type { DateTime, MonthNumbers, WeekdayNumbers } from 'luxon';
|
|
4
4
|
export type WeekdayLabels = {
|
|
5
5
|
[key in WeekdayNumbers]: string;
|