@event-calendar/day-grid
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -508,3 +508,3 @@ import { SvelteComponent, init, safe_not_equal, element, text, attr, insert, append, set_data, detach, space, noop, destroy_each, component_subscribe, create_slot, listen, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, run_all, set_store_value, binding_callbacks, action_destroyer, is_function, create_component, mount_component, destroy_component, group_outros, check_outros, empty } from 'svelte/internal'; | ||
function createDragStartHandler(interaction, display) { | ||
return display === 'auto' && interaction.drag | ||
return display === 'auto' && interaction.drag && interaction.drag.draggable(chunk.event) | ||
? jsEvent => interaction.drag.startDayGrid(chunk.event, el, jsEvent) | ||
@@ -584,3 +584,3 @@ : undefined; | ||
$$invalidate(3, classes = $_interaction.drag | ||
$$invalidate(3, classes = $_interaction.drag && $_interaction.drag.draggable(chunk.event) | ||
? $_interaction.drag.classes(display, $theme.event) | ||
@@ -587,0 +587,0 @@ : $theme.event); |
{ | ||
"name": "@event-calendar/day-grid", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"title": "Event Calendar DayGrid plugin", | ||
@@ -20,5 +20,5 @@ "description": "Full-sized drag & drop event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/common": "~0.4.0", | ||
"@event-calendar/common": "~0.5.0", | ||
"svelte": "^3.42.4" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) | ||
* Lightweight (40.6kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Lightweight (40.8kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Zero-dependency (pre-built bundle) | ||
@@ -1477,2 +1477,22 @@ * Used by [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/) | ||
`editable` | ||
</td> | ||
<td> | ||
Boolean (`true` or `false`) or `undefined`. The value overriding the [editable](#editable) setting for this specific event | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`startEditable` | ||
</td> | ||
<td> | ||
Boolean (`true` or `false`) or `undefined`. The value overriding the [eventStartEditable](#eventstarteditable) setting for this specific event | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`display` | ||
@@ -1483,2 +1503,4 @@ </td> | ||
The rendering type of the event. Can be `'auto'` or `'background'` | ||
In addition, in your callback functions, you may get the `'ghost'` and `'preview'` for this property, which are internal values and are used to display events during drag-and-drop operations | ||
</td> | ||
@@ -1576,2 +1598,22 @@ </tr> | ||
`editable` | ||
</td> | ||
<td> | ||
`boolean` Overrides the master [editable](#editable) option for this single event. Default `undefined` | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`startEditable` | ||
</td> | ||
<td> | ||
`boolean` Overrides the master [eventDurationEditable](#eventstarteditable) option for this single event. Default `undefined` | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`display` | ||
@@ -1582,4 +1624,2 @@ </td> | ||
`string` The rendering type of the event. Can be `'auto'` or `'background'`. Default `'auto'` | ||
In addition, in your callback functions, you may get the `'ghost'` and `'preview'` for this property, which are internal values and are used to display events during drag-and-drop operations | ||
</td> | ||
@@ -1586,0 +1626,0 @@ </tr> |
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
80016
1808
+ Added@event-calendar/common@0.5.0(transitive)
- Removed@event-calendar/common@0.4.0(transitive)