@event-calendar/resource-time-grid
Advanced tools
Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6
20
index.js
@@ -31,3 +31,3 @@ import { SvelteComponent, init, safe_not_equal, create_component, space, mount_component, insert, transition_in, transition_out, destroy_component, detach, component_subscribe, element, text, attr, append, set_data, destroy_each, empty, group_outros, check_outros } from 'svelte/internal'; | ||
// (34:3) {#if $_viewDates.length > 1} | ||
// (36:3) {#if $_viewDates.length > 1} | ||
function create_if_block(ctx) { | ||
@@ -95,3 +95,3 @@ let div; | ||
// (36:5) {#each $_viewDates as date} | ||
// (38:5) {#each $_viewDates as date} | ||
function create_each_block_3(ctx) { | ||
@@ -126,3 +126,3 @@ let div; | ||
// (31:1) {#each filteredResources as resource} | ||
// (33:1) {#each filteredResources as resource} | ||
function create_each_block_2(ctx) { | ||
@@ -189,3 +189,3 @@ let div1; | ||
// (30:0) <Header> | ||
// (32:0) <Header> | ||
function create_default_slot_1(ctx) { | ||
@@ -246,3 +246,3 @@ let each_1_anchor; | ||
// (47:3) {#each $_viewDates as date} | ||
// (49:3) {#each $_viewDates as date} | ||
function create_each_block_1(ctx) { | ||
@@ -288,3 +288,3 @@ let day; | ||
// (45:1) {#each filteredResources as resource} | ||
// (47:1) {#each filteredResources as resource} | ||
function create_each_block(ctx) { | ||
@@ -384,3 +384,3 @@ let div; | ||
// (44:0) <Body> | ||
// (46:0) <Body> | ||
function create_default_slot(ctx) { | ||
@@ -554,7 +554,9 @@ let each_1_anchor; | ||
setContext("view-state", state); | ||
let filteredResources = $resources; | ||
let filteredResources; | ||
$$self.$$.update = () => { | ||
if ($$self.$$.dirty & /*$filterResourcesWithEvents, $resources, $_events, $_activeRange, filteredResources*/ 30721) { | ||
if ($$self.$$.dirty & /*$resources, $filterResourcesWithEvents, $_events, $_activeRange, filteredResources*/ 30721) { | ||
{ | ||
$$invalidate(0, filteredResources = $resources); | ||
if ($filterResourcesWithEvents) { | ||
@@ -561,0 +563,0 @@ $$invalidate(0, filteredResources = $resources.filter(resource => { |
{ | ||
"name": "@event-calendar/resource-time-grid", | ||
"version": "0.0.1-alpha.5", | ||
"version": "0.0.1-alpha.6", | ||
"type": "module", | ||
@@ -10,5 +10,5 @@ "exports": { | ||
"dependencies": { | ||
"@event-calendar/time-grid": "~0.0.1-alpha.5", | ||
"@event-calendar/time-grid": "~0.0.1-alpha.6", | ||
"svelte": "^3.25.0" | ||
} | ||
} |
15819
540