@event-calendar/day-grid
Advanced tools
Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4
31
index.js
@@ -1,2 +0,2 @@ | ||
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 { 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'; | ||
@@ -72,6 +72,9 @@ import { derived, writable } from 'svelte/store'; | ||
function create_fragment(ctx) { | ||
let div1; | ||
let div2; | ||
let div0; | ||
let div0_class_value; | ||
let t; | ||
let div1; | ||
let div1_class_value; | ||
let div2_class_value; | ||
let each_value = /*$_days*/ ctx[2]; | ||
@@ -86,3 +89,3 @@ let each_blocks = []; | ||
c() { | ||
div1 = element("div"); | ||
div2 = element("div"); | ||
div0 = element("div"); | ||
@@ -94,5 +97,8 @@ | ||
t = space(); | ||
div1 = element("div"); | ||
attr(div0, "class", div0_class_value = /*$theme*/ ctx[0].days); | ||
attr(div1, "class", div1_class_value = /*$theme*/ ctx[0].hiddenScroll); | ||
attr(div1, "class", div1_class_value = "" + (/*$theme*/ ctx[0].header + " " + /*$theme*/ ctx[0].month + (/*$_scrollable*/ ctx[1] | ||
attr(div2, "class", div2_class_value = "" + (/*$theme*/ ctx[0].header + " " + /*$theme*/ ctx[0].month + (/*$_scrollable*/ ctx[1] | ||
? " " + /*$theme*/ ctx[0].withScroll | ||
@@ -102,4 +108,4 @@ : ""))); | ||
m(target, anchor) { | ||
insert(target, div1, anchor); | ||
append(div1, div0); | ||
insert(target, div2, anchor); | ||
append(div2, div0); | ||
@@ -109,2 +115,5 @@ for (let i = 0; i < each_blocks.length; i += 1) { | ||
} | ||
append(div2, t); | ||
append(div2, div1); | ||
}, | ||
@@ -139,6 +148,10 @@ p(ctx, [dirty]) { | ||
if (dirty & /*$theme, $_scrollable*/ 3 && div1_class_value !== (div1_class_value = "" + (/*$theme*/ ctx[0].header + " " + /*$theme*/ ctx[0].month + (/*$_scrollable*/ ctx[1] | ||
if (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].hiddenScroll)) { | ||
attr(div1, "class", div1_class_value); | ||
} | ||
if (dirty & /*$theme, $_scrollable*/ 3 && div2_class_value !== (div2_class_value = "" + (/*$theme*/ ctx[0].header + " " + /*$theme*/ ctx[0].month + (/*$_scrollable*/ ctx[1] | ||
? " " + /*$theme*/ ctx[0].withScroll | ||
: "")))) { | ||
attr(div1, "class", div1_class_value); | ||
attr(div2, "class", div2_class_value); | ||
} | ||
@@ -149,3 +162,3 @@ }, | ||
d(detaching) { | ||
if (detaching) detach(div1); | ||
if (detaching) detach(div2); | ||
destroy_each(each_blocks, detaching); | ||
@@ -152,0 +165,0 @@ } |
{ | ||
"name": "@event-calendar/day-grid", | ||
"version": "0.0.1-alpha.3", | ||
"version": "0.0.1-alpha.4", | ||
"type": "module", | ||
@@ -10,5 +10,5 @@ "exports": { | ||
"dependencies": { | ||
"@event-calendar/common": "~0.0.1-alpha.3", | ||
"@event-calendar/common": "~0.0.1-alpha.4", | ||
"svelte": "^3.25.0" | ||
} | ||
} |
32775
1095