@event-calendar/day-grid
Advanced tools
Comparing version 0.0.1-alpha.6 to 0.0.1-alpha.7
10
index.js
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, transition_in, transition_out, set_store_value, binding_callbacks, action_destroyer, is_function, run_all, create_component, mount_component, destroy_component, group_outros, check_outros, empty } from 'svelte/internal'; | ||
import { getContext, tick, onMount, afterUpdate, setContext } from 'svelte'; | ||
import { derived, writable } from 'svelte/store'; | ||
import { cloneDate, subtractDay, addDay, hasYScroll, sortEventChunks, setMidnight, datesEqual, action, createEventContent, createDate, createEventChunk } from '@event-calendar/common'; | ||
import { cloneDate, subtractDay, addDay, hasYScroll, sortEventChunks, setMidnight, datesEqual, action, createEventContent, toEventWithLocalDates, createDate, toLocalDate, createEventChunk } from '@event-calendar/common'; | ||
@@ -470,3 +470,3 @@ function days(state) { | ||
fn({ | ||
event: chunk.event, | ||
event: toEventWithLocalDates(chunk.event), | ||
el, | ||
@@ -785,3 +785,7 @@ jsEvent, | ||
if (is_function($dateClick)) { | ||
$dateClick({ date, jsEvent, view: $_view }); | ||
$dateClick({ | ||
date: toLocalDate(date), | ||
jsEvent, | ||
view: $_view | ||
}); | ||
} | ||
@@ -788,0 +792,0 @@ } |
{ | ||
"name": "@event-calendar/day-grid", | ||
"version": "0.0.1-alpha.6", | ||
"version": "0.0.1-alpha.7", | ||
"type": "module", | ||
@@ -10,5 +10,5 @@ "exports": { | ||
"dependencies": { | ||
"@event-calendar/common": "~0.0.1-alpha.6", | ||
"@event-calendar/common": "~0.0.1-alpha.7", | ||
"svelte": "^3.25.0" | ||
} | ||
} |
32882
1099