@event-calendar/list
Advanced tools
Comparing version 0.1.0-beta.4 to 0.1.0
23
index.js
@@ -621,3 +621,3 @@ import { SvelteComponent, init, safe_not_equal, create_slot, element, attr, insert, append, update_slot, transition_in, transition_out, detach, component_subscribe, space, action_destroyer, listen, is_function, noop, run_all, binding_callbacks, text, empty, set_data, create_component, mount_component, destroy_component, group_outros, check_outros, destroy_each } from 'svelte/internal'; | ||
// (45:1) {:else} | ||
// (47:1) {:else} | ||
function create_else_block(ctx) { | ||
@@ -706,3 +706,3 @@ let each_1_anchor; | ||
// (43:1) {#if noEvents} | ||
// (45:1) {#if noEvents} | ||
function create_if_block(ctx) { | ||
@@ -749,3 +749,3 @@ let div; | ||
// (46:2) {#each $_viewDates as date} | ||
// (48:2) {#each $_viewDates as date} | ||
function create_each_block(ctx) { | ||
@@ -784,3 +784,3 @@ let day; | ||
// (42:0) <Body> | ||
// (44:0) <Body> | ||
function create_default_slot(ctx) { | ||
@@ -929,9 +929,12 @@ let current_block_type_index; | ||
$$invalidate(2, noEvents = true); | ||
let start = $_viewDates[0]; | ||
let end = addDay(cloneDate($_viewDates[$_viewDates.length - 1])); | ||
for (let event of $_events) { | ||
if (event.display === "auto" && event.start < end && event.end > start) { | ||
$$invalidate(2, noEvents = false); | ||
break; | ||
if ($_viewDates.length) { | ||
let start = $_viewDates[0]; | ||
let end = addDay(cloneDate($_viewDates[$_viewDates.length - 1])); | ||
for (let event of $_events) { | ||
if (event.display === "auto" && event.start < end && event.end > start) { | ||
$$invalidate(2, noEvents = false); | ||
break; | ||
} | ||
} | ||
@@ -938,0 +941,0 @@ } |
{ | ||
"name": "@event-calendar/list", | ||
"version": "0.1.0-beta.4", | ||
"version": "0.1.0", | ||
"title": "Event Calendar List plugin", | ||
@@ -20,5 +20,5 @@ "description": "Full-sized event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/common": "~0.1.0-beta.4", | ||
"@event-calendar/common": "~0.1.0", | ||
"svelte": "^3.35.0" | ||
} | ||
} |
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
27041
893