@event-calendar/core 4.7.0 → 4.7.1
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 +3 -2
- package/package.json +2 -2
- package/src/plugins/interaction/Action.svelte +3 -2
package/README.md
CHANGED
|
@@ -244,8 +244,8 @@ This bundle contains a version of the calendar that includes all plugins and is
|
|
|
244
244
|
|
|
245
245
|
The first step is to include the following lines of code in the `<head>` section of your page:
|
|
246
246
|
```html
|
|
247
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.7.
|
|
248
|
-
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.7.
|
|
247
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.7.1/dist/event-calendar.min.css">
|
|
248
|
+
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@4.7.1/dist/event-calendar.min.js"></script>
|
|
249
249
|
```
|
|
250
250
|
|
|
251
251
|
<details>
|
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* EventCalendar v4.7.
|
|
2
|
+
* EventCalendar v4.7.1
|
|
3
3
|
* https://github.com/vkurko/calendar
|
|
4
4
|
*/
|
|
5
5
|
import { tick, getContext, untrack, setContext, onMount, mount, unmount } from "svelte";
|
|
6
6
|
import * as $ from "svelte/internal/client";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
|
+
import "svelte/internal/flags/async";
|
|
8
9
|
import { derived, writable, readable, get } from "svelte/store";
|
|
9
10
|
import "svelte/internal/flags/legacy";
|
|
10
11
|
import { SvelteSet } from "svelte/reactivity";
|
|
@@ -3377,7 +3378,6 @@ function Action($$anchor, $$props) {
|
|
|
3377
3378
|
let target = jsEvent.target;
|
|
3378
3379
|
let stops = [];
|
|
3379
3380
|
let stop = () => runAll(stops);
|
|
3380
|
-
stops.push(listen(window, "touchmove", noop, { passive: false }));
|
|
3381
3381
|
stops.push(listen(target, "touchmove", createPreventDefaultHandler(() => interacting)));
|
|
3382
3382
|
stops.push(listen(target, "touchend", stop));
|
|
3383
3383
|
stops.push(listen(target, "touchcancel", stop));
|
|
@@ -3390,6 +3390,7 @@ function Action($$anchor, $$props) {
|
|
|
3390
3390
|
}
|
|
3391
3391
|
};
|
|
3392
3392
|
}
|
|
3393
|
+
onMount(() => listen(window, "touchmove", noop, { passive: false }));
|
|
3393
3394
|
var $$exports = {
|
|
3394
3395
|
draggable,
|
|
3395
3396
|
drag,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@event-calendar/core",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.1",
|
|
4
4
|
"title": "Event Calendar Core package",
|
|
5
5
|
"description": "Full-sized drag & drop event calendar with resource & timeline views",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
"#components": "./src/lib/components/index.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"svelte": "^5.
|
|
35
|
+
"svelte": "^5.41.2"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import {getContext} from 'svelte';
|
|
2
|
+
import {getContext, onMount} from 'svelte';
|
|
3
3
|
import {
|
|
4
4
|
addDay, addDuration, ancestor, assign, cloneDate, cloneEvent, copyTime, createDuration, getElementWithPayload,
|
|
5
5
|
getPayload, isFunction, listen, listView, max, min, noop, rect, runAll, subtractDay, subtractDuration,
|
|
@@ -582,7 +582,6 @@
|
|
|
582
582
|
let target = jsEvent.target;
|
|
583
583
|
let stops = [];
|
|
584
584
|
let stop = () => runAll(stops);
|
|
585
|
-
stops.push(listen(window, 'touchmove', noop, {passive: false}))
|
|
586
585
|
stops.push(listen(target, 'touchmove', createPreventDefaultHandler(() => interacting)));
|
|
587
586
|
stops.push(listen(target, 'touchend', stop));
|
|
588
587
|
stops.push(listen(target, 'touchcancel', stop));
|
|
@@ -596,6 +595,8 @@
|
|
|
596
595
|
}
|
|
597
596
|
};
|
|
598
597
|
}
|
|
598
|
+
|
|
599
|
+
onMount(() => listen(window, 'touchmove', noop, {passive: false}));
|
|
599
600
|
</script>
|
|
600
601
|
|
|
601
602
|
<svelte:window
|