@event-calendar/core
Advanced tools
Comparing version 0.5.0 to 0.6.0
23
index.js
@@ -1,2 +0,2 @@ | ||
import { is_function, tick, noop, SvelteComponent, init, safe_not_equal, empty, insert, detach, destroy_each, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, space, transition_in, group_outros, transition_out, check_outros, create_component, mount_component, destroy_component, set_style } from 'svelte/internal'; | ||
import { is_function, tick, noop, identity, SvelteComponent, init, safe_not_equal, empty, insert, detach, destroy_each, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, space, transition_in, group_outros, transition_out, check_outros, create_component, mount_component, destroy_component, set_style } from 'svelte/internal'; | ||
import { getContext, setContext } from 'svelte'; | ||
@@ -364,5 +364,8 @@ import { derived, writable, get } from 'svelte/store'; | ||
this._viewComponent = writable(undefined); | ||
// Interaction | ||
this._interaction = writable({}); | ||
this._interactionComponent = writable(null); | ||
this._dragEvent = writable(null); | ||
this._interactionEvents = writable([null, null]); // drag, pointer | ||
this._draggable = writable(noop); | ||
this._classes = writable(identity); | ||
this._scroll = writable(undefined); | ||
@@ -1231,3 +1234,3 @@ // Let plugins create their private stores | ||
var switch_value_1 = /*$_interactionComponent*/ ctx[3]; | ||
var switch_value_1 = /*$_interaction*/ ctx[3].component; | ||
@@ -1293,3 +1296,3 @@ function switch_props_1(ctx) { | ||
if (switch_value_1 !== (switch_value_1 = /*$_interactionComponent*/ ctx[3])) { | ||
if (switch_value_1 !== (switch_value_1 = /*$_interaction*/ ctx[3].component)) { | ||
if (switch_instance1) { | ||
@@ -1350,3 +1353,3 @@ group_outros(); | ||
let $_viewComponent; | ||
let $_interactionComponent; | ||
let $_interaction; | ||
let { plugins = [] } = $$props; | ||
@@ -1356,5 +1359,5 @@ let { options = {} } = $$props; | ||
setContext('state', state); | ||
let { _viewComponent, _interactionComponent, height, theme } = state; | ||
let { _viewComponent, _interaction, height, theme } = state; | ||
component_subscribe($$self, _viewComponent, value => $$invalidate(2, $_viewComponent = value)); | ||
component_subscribe($$self, _interactionComponent, value => $$invalidate(3, $_interactionComponent = value)); | ||
component_subscribe($$self, _interaction, value => $$invalidate(3, $_interaction = value)); | ||
component_subscribe($$self, height, value => $$invalidate(1, $height = value)); | ||
@@ -1443,5 +1446,5 @@ component_subscribe($$self, theme, value => $$invalidate(0, $theme = value)); | ||
$_viewComponent, | ||
$_interactionComponent, | ||
$_interaction, | ||
_viewComponent, | ||
_interactionComponent, | ||
_interaction, | ||
height, | ||
@@ -1448,0 +1451,0 @@ theme, |
{ | ||
"name": "@event-calendar/core", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"title": "Event Calendar Core package", | ||
@@ -21,5 +21,5 @@ "description": "Full-sized drag & drop event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/common": "~0.5.0", | ||
"@event-calendar/common": "~0.6.0", | ||
"svelte": "^3.42.4" | ||
} | ||
} |
@@ -66,2 +66,3 @@ # Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) | ||
- [noEventsContent](#noeventscontent) | ||
- [pointer](#pointer) | ||
- [resources](#resources) | ||
@@ -1187,2 +1188,8 @@ - [scrollTime](#scrolltime) | ||
### pointer | ||
- Type `boolean` | ||
- Default `false` | ||
Enables mouse cursor pointer in `timeGrid`/`resourceTimeGrid` views. | ||
### resources | ||
@@ -1611,3 +1618,3 @@ - Type `Array` | ||
`boolean` Overrides the master [eventDurationEditable](#eventstarteditable) option for this single event. Default `undefined` | ||
`boolean` Overrides the master [eventStartEditable](#eventstarteditable) option for this single event. Default `undefined` | ||
</td> | ||
@@ -1614,0 +1621,0 @@ </tr> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88462
1326
1815
101
2
5
1
22
+ Added@event-calendar/common@0.6.0(transitive)
- Removed@event-calendar/common@0.5.0(transitive)