@event-calendar/core 5.1.2 → 5.1.3
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/README.md +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/storage/effects.js +1 -1
- package/src/storage/state.svelte.js +1 -1
package/README.md
CHANGED
|
@@ -246,8 +246,8 @@ This bundle contains a version of the calendar that includes all plugins and is
|
|
|
246
246
|
|
|
247
247
|
The first step is to include the following lines of code in the `<head>` section of your page:
|
|
248
248
|
```html
|
|
249
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@5.1.
|
|
250
|
-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@5.1.
|
|
249
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@5.1.3/dist/event-calendar.min.css">
|
|
250
|
+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@5.1.3/dist/event-calendar.min.js"></script>
|
|
251
251
|
```
|
|
252
252
|
|
|
253
253
|
<details>
|
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* EventCalendar v5.1.
|
|
2
|
+
* EventCalendar v5.1.3
|
|
3
3
|
* https://github.com/vkurko/calendar
|
|
4
4
|
*/
|
|
5
5
|
import { untrack, getAbortSignal, tick, getContext, setContext, onMount, mount, unmount } from "svelte";
|
|
@@ -1013,7 +1013,7 @@ function loadEvents(mainState) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
++fetching;
|
|
1015
1015
|
}
|
|
1016
|
-
|
|
1016
|
+
assign(fetchedRange, activeRange2);
|
|
1017
1017
|
}
|
|
1018
1018
|
});
|
|
1019
1019
|
};
|
|
@@ -1202,7 +1202,7 @@ class State {
|
|
|
1202
1202
|
return $.get(this.#fetchedRange);
|
|
1203
1203
|
}
|
|
1204
1204
|
set fetchedRange(value) {
|
|
1205
|
-
$.set(this.#fetchedRange, value
|
|
1205
|
+
$.set(this.#fetchedRange, value);
|
|
1206
1206
|
}
|
|
1207
1207
|
#events;
|
|
1208
1208
|
get events() {
|
|
@@ -1338,7 +1338,7 @@ class State {
|
|
|
1338
1338
|
this.#auxComponents = $.state($.proxy([]));
|
|
1339
1339
|
this.#currentRange = $.derived(currentRange(this));
|
|
1340
1340
|
this.#activeRange = $.derived(activeRange(this));
|
|
1341
|
-
this.#fetchedRange = $.state(
|
|
1341
|
+
this.#fetchedRange = $.state({ start: void 0, end: void 0 });
|
|
1342
1342
|
this.#events = $.state([]);
|
|
1343
1343
|
this.#filteredEvents = $.derived(filteredEvents(this));
|
|
1344
1344
|
this.#mainEl = $.state();
|
package/package.json
CHANGED
package/src/storage/effects.js
CHANGED
|
@@ -18,7 +18,7 @@ export default class State {
|
|
|
18
18
|
this.auxComponents = $state([]);
|
|
19
19
|
this.currentRange = $derived.by(currentRange(this));
|
|
20
20
|
this.activeRange = $derived.by(activeRange(this));
|
|
21
|
-
this.fetchedRange = $state({start: undefined, end: undefined});
|
|
21
|
+
this.fetchedRange = $state.raw({start: undefined, end: undefined});
|
|
22
22
|
this.events = $state.raw([]);
|
|
23
23
|
this.filteredEvents = $derived.by(filteredEvents(this));
|
|
24
24
|
this.mainEl = $state();
|