@event-calendar/resource-time-grid
Advanced tools
Comparing version 0.0.1-beta.2 to 0.0.1-beta.3
36
index.js
@@ -5,4 +5,10 @@ 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'; | ||
/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.25.0 */ | ||
/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.31.2 */ | ||
function get_each_context(ctx, list, i) { | ||
const child_ctx = ctx.slice(); | ||
child_ctx[16] = list[i]; | ||
return child_ctx; | ||
} | ||
function get_each_context_1(ctx, list, i) { | ||
@@ -14,3 +20,3 @@ const child_ctx = ctx.slice(); | ||
function get_each_context(ctx, list, i) { | ||
function get_each_context_2(ctx, list, i) { | ||
const child_ctx = ctx.slice(); | ||
@@ -27,8 +33,2 @@ child_ctx[16] = list[i]; | ||
function get_each_context_2(ctx, list, i) { | ||
const child_ctx = ctx.slice(); | ||
child_ctx[16] = list[i]; | ||
return child_ctx; | ||
} | ||
// (36:3) {#if $_viewDates.length > 1} | ||
@@ -534,3 +534,3 @@ function create_if_block(ctx) { | ||
let $resources; | ||
let $filterResourcesWithEvents; | ||
let $hideResourcesWithNoEvents; | ||
let $_events; | ||
@@ -541,5 +541,5 @@ let $_activeRange; | ||
let $_intlDayHeader; | ||
let { resources, filterResourcesWithEvents, _activeRange, _events, _viewDates, _intlDayHeader, theme } = getContext("state"); | ||
let { resources, hideResourcesWithNoEvents, _activeRange, _events, _viewDates, _intlDayHeader, theme } = getContext("state"); | ||
component_subscribe($$self, resources, value => $$invalidate(11, $resources = value)); | ||
component_subscribe($$self, filterResourcesWithEvents, value => $$invalidate(12, $filterResourcesWithEvents = value)); | ||
component_subscribe($$self, hideResourcesWithNoEvents, value => $$invalidate(12, $hideResourcesWithNoEvents = value)); | ||
component_subscribe($$self, _activeRange, value => $$invalidate(14, $_activeRange = value)); | ||
@@ -555,7 +555,7 @@ component_subscribe($$self, _events, value => $$invalidate(13, $_events = value)); | ||
$$self.$$.update = () => { | ||
if ($$self.$$.dirty & /*$resources, $filterResourcesWithEvents, $_events, $_activeRange, filteredResources*/ 30721) { | ||
if ($$self.$$.dirty & /*$resources, $hideResourcesWithNoEvents, $_events, $_activeRange, filteredResources*/ 30721) { | ||
{ | ||
$$invalidate(0, filteredResources = $resources); | ||
if ($filterResourcesWithEvents) { | ||
if ($hideResourcesWithNoEvents) { | ||
$$invalidate(0, filteredResources = $resources.filter(resource => { | ||
@@ -585,3 +585,3 @@ for (let event of $_events) { | ||
resources, | ||
filterResourcesWithEvents, | ||
hideResourcesWithNoEvents, | ||
_activeRange, | ||
@@ -591,3 +591,7 @@ _events, | ||
_intlDayHeader, | ||
theme | ||
theme, | ||
$resources, | ||
$hideResourcesWithNoEvents, | ||
$_events, | ||
$_activeRange | ||
]; | ||
@@ -606,3 +610,3 @@ } | ||
options.resources = []; | ||
options.filterResourcesWithEvents = false; | ||
options.hideResourcesWithNoEvents = false; | ||
// Common options | ||
@@ -609,0 +613,0 @@ options.buttonText.resourceTimeGridDay = 'day'; |
{ | ||
"name": "@event-calendar/resource-time-grid", | ||
"version": "0.0.1-beta.2", | ||
"version": "0.0.1-beta.3", | ||
"title": "EventCalendar ResourceTimeGrid Plugin", | ||
@@ -13,2 +13,3 @@ "description": "Full-sized event calendar with resource view", | ||
}, | ||
"license": "MIT", | ||
"type": "module", | ||
@@ -20,5 +21,5 @@ "exports": { | ||
"dependencies": { | ||
"@event-calendar/time-grid": "~0.0.1-beta.2", | ||
"svelte": "^3.25.0" | ||
"@event-calendar/time-grid": "~0.0.1-beta.3", | ||
"svelte": "^3.31.2" | ||
} | ||
} |
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
16284
0
544
Updatedsvelte@^3.31.2