@event-calendar/day-grid
Advanced tools
Comparing version 0.0.1-alpha.2 to 0.0.1-alpha.3
42
index.js
import { SvelteComponent, init, safe_not_equal, element, text, attr, insert, append, set_data, detach, 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, space, 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, createEventContent, createEventChunk } from '@event-calendar/common'; | ||
import { cloneDate, subtractDay, addDay, hasYScroll, sortEventChunks, setMidnight, datesEqual, action, createEventContent, createEventChunk } from '@event-calendar/common'; | ||
@@ -33,3 +33,3 @@ function days(state) { | ||
/* packages/day-grid/src/Header.svelte generated by Svelte v3.24.1 */ | ||
/* packages/day-grid/src/Header.svelte generated by Svelte v3.25.0 */ | ||
@@ -181,3 +181,3 @@ function get_each_context(ctx, list, i) { | ||
/* packages/day-grid/src/Body.svelte generated by Svelte v3.24.1 */ | ||
/* packages/day-grid/src/Body.svelte generated by Svelte v3.25.0 */ | ||
@@ -192,3 +192,3 @@ function create_fragment$1(ctx) { | ||
let dispose; | ||
const default_slot_template = /*$$slots*/ ctx[7].default; | ||
const default_slot_template = /*#slots*/ ctx[7].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[6], null); | ||
@@ -258,2 +258,3 @@ | ||
let $theme; | ||
let { $$slots: slots = {}, $$scope } = $$props; | ||
let { _events, _scrollable, theme } = getContext("state"); | ||
@@ -269,4 +270,2 @@ component_subscribe($$self, _events, value => $$invalidate(9, $_events = value)); | ||
let { $$slots = {}, $$scope } = $$props; | ||
function div1_binding($$value) { | ||
@@ -299,3 +298,3 @@ binding_callbacks[$$value ? "unshift" : "push"](() => { | ||
$$scope, | ||
$$slots, | ||
slots, | ||
div1_binding | ||
@@ -352,3 +351,3 @@ ]; | ||
/* packages/day-grid/src/Event.svelte generated by Svelte v3.24.1 */ | ||
/* packages/day-grid/src/Event.svelte generated by Svelte v3.25.0 */ | ||
@@ -414,23 +413,2 @@ function create_fragment$2(ctx) { | ||
function action(node, content) { | ||
let actions = { | ||
update(content) { | ||
while (node.firstChild) { | ||
node.removeChild(node.lastChild); | ||
} | ||
if (content.domNodes) { | ||
for (let child of content.domNodes) { | ||
node.appendChild(child); | ||
} | ||
} else if (content.html) { | ||
node.innerHTML = content.html; | ||
} | ||
} | ||
}; | ||
actions.update(content); | ||
return actions; | ||
} | ||
function instance$2($$self, $$props, $$invalidate) { | ||
@@ -596,3 +574,3 @@ let $eventBackgroundColor; | ||
/* packages/day-grid/src/Day.svelte generated by Svelte v3.24.1 */ | ||
/* packages/day-grid/src/Day.svelte generated by Svelte v3.25.0 */ | ||
@@ -859,3 +837,3 @@ function get_each_context$1(ctx, list, i) { | ||
/* packages/day-grid/src/Week.svelte generated by Svelte v3.24.1 */ | ||
/* packages/day-grid/src/Week.svelte generated by Svelte v3.25.0 */ | ||
@@ -1047,3 +1025,3 @@ function get_each_context$2(ctx, list, i) { | ||
/* packages/day-grid/src/View.svelte generated by Svelte v3.24.1 */ | ||
/* packages/day-grid/src/View.svelte generated by Svelte v3.25.0 */ | ||
@@ -1050,0 +1028,0 @@ function get_each_context$3(ctx, list, i) { |
{ | ||
"name": "@event-calendar/day-grid", | ||
"version": "0.0.1-alpha.2", | ||
"version": "0.0.1-alpha.3", | ||
"type": "module", | ||
@@ -10,5 +10,5 @@ "exports": { | ||
"dependencies": { | ||
"@event-calendar/common": "~0.0.1-alpha.2", | ||
"svelte": "^3.24.1" | ||
"@event-calendar/common": "~0.0.1-alpha.3", | ||
"svelte": "^3.25.0" | ||
} | ||
} |
32416
1084
Updatedsvelte@^3.25.0