Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@event-calendar/resource-time-grid

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@event-calendar/resource-time-grid - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

68

index.js

@@ -1,2 +0,2 @@

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';
import { SvelteComponent, init, safe_not_equal, create_component, space, mount_component, insert, transition_in, transition_out, destroy_component, detach, component_subscribe, set_store_value, element, text, attr, append, set_data, destroy_each, empty, group_outros, check_outros } from 'svelte/internal';
import { getContext, setContext } from 'svelte';

@@ -45,7 +45,7 @@ import { State as State$1, Header, Body, Day } from '@event-calendar/time-grid';

/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.46.6 */
/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.47.0 */
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[14] = list[i];
child_ctx[16] = list[i];
return child_ctx;

@@ -56,3 +56,3 @@ }

const child_ctx = ctx.slice();
child_ctx[17] = list[i];
child_ctx[19] = list[i];
return child_ctx;

@@ -63,3 +63,3 @@ }

const child_ctx = ctx.slice();
child_ctx[14] = list[i];
child_ctx[16] = list[i];
return child_ctx;

@@ -70,7 +70,7 @@ }

const child_ctx = ctx.slice();
child_ctx[17] = list[i];
child_ctx[19] = list[i];
return child_ctx;
}
// (29:3) {#if loops[1].length > 1}
// (31:3) {#if loops[1].length > 1}
function create_if_block(ctx) {

@@ -138,6 +138,6 @@ let div;

// (31:5) {#each loops[1] as item1}
// (33:5) {#each loops[1] as item1}
function create_each_block_3(ctx) {
let div;
let t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[17]) + "";
let t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[19]) + "";
let t;

@@ -157,3 +157,3 @@ let div_class_value;

p(ctx, dirty) {
if (dirty & /*titles, loops*/ 3 && t_value !== (t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[17]) + "")) set_data(t, t_value);
if (dirty & /*titles, loops*/ 3 && t_value !== (t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[19]) + "")) set_data(t, t_value);

@@ -170,7 +170,7 @@ if (dirty & /*$theme*/ 8 && div_class_value !== (div_class_value = /*$theme*/ ctx[3].day)) {

// (26:1) {#each loops[0] as item0}
// (28:1) {#each loops[0] as item0}
function create_each_block_2(ctx) {
let div1;
let div0;
let t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[14]) + "";
let t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[16]) + "";
let t0;

@@ -203,3 +203,3 @@ let div0_class_value;

p(ctx, dirty) {
if (dirty & /*titles, loops*/ 3 && t0_value !== (t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[14]) + "")) set_data(t0, t0_value);
if (dirty & /*titles, loops*/ 3 && t0_value !== (t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[16]) + "")) set_data(t0, t0_value);

@@ -234,3 +234,3 @@ if (dirty & /*$theme*/ 8 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[3].day)) {

// (25:0) <Header>
// (27:0) <Header>
function create_default_slot_1(ctx) {

@@ -291,3 +291,3 @@ let each_1_anchor;

// (42:3) {#each loops[1] as item1}
// (44:3) {#each loops[1] as item1}
function create_each_block_1(ctx) {

@@ -300,7 +300,7 @@ let day;

date: /*$datesAboveResources*/ ctx[2]
? /*item0*/ ctx[14]
: /*item1*/ ctx[17],
? /*item0*/ ctx[16]
: /*item1*/ ctx[19],
resource: /*$datesAboveResources*/ ctx[2]
? /*item1*/ ctx[17]
: /*item0*/ ctx[14]
? /*item1*/ ctx[19]
: /*item0*/ ctx[16]
}

@@ -321,8 +321,8 @@ });

if (dirty & /*$datesAboveResources, loops*/ 5) day_changes.date = /*$datesAboveResources*/ ctx[2]
? /*item0*/ ctx[14]
: /*item1*/ ctx[17];
? /*item0*/ ctx[16]
: /*item1*/ ctx[19];
if (dirty & /*$datesAboveResources, loops*/ 5) day_changes.resource = /*$datesAboveResources*/ ctx[2]
? /*item1*/ ctx[17]
: /*item0*/ ctx[14];
? /*item1*/ ctx[19]
: /*item0*/ ctx[16];

@@ -346,3 +346,3 @@ day.$set(day_changes);

// (40:1) {#each loops[0] as item0}
// (42:1) {#each loops[0] as item0}
function create_each_block(ctx) {

@@ -442,3 +442,3 @@ let div;

// (39:0) <Body>
// (41:0) <Body>
function create_default_slot(ctx) {

@@ -562,3 +562,3 @@ let each_1_anchor;

if (dirty & /*$$scope, loops, $theme, titles*/ 16777227) {
if (dirty & /*$$scope, loops, $theme, titles*/ 67108875) {
header_changes.$$scope = { dirty, ctx };

@@ -570,3 +570,3 @@ }

if (dirty & /*$$scope, loops, $theme, $datesAboveResources*/ 16777229) {
if (dirty & /*$$scope, loops, $theme, $datesAboveResources*/ 67108877) {
body_changes.$$scope = { dirty, ctx };

@@ -601,8 +601,10 @@ }

let $datesAboveResources;
let $_viewClass;
let $theme;
let state = getContext('state');
let { datesAboveResources, _viewDates, _intlDayHeader, theme } = state;
let { datesAboveResources, _viewDates, _intlDayHeader, _viewClass, theme } = state;
component_subscribe($$self, datesAboveResources, value => $$invalidate(2, $datesAboveResources = value));
component_subscribe($$self, _viewDates, value => $$invalidate(11, $_viewDates = value));
component_subscribe($$self, _intlDayHeader, value => $$invalidate(9, $_intlDayHeader = value));
component_subscribe($$self, _viewDates, value => $$invalidate(12, $_viewDates = value));
component_subscribe($$self, _intlDayHeader, value => $$invalidate(10, $_intlDayHeader = value));
component_subscribe($$self, _viewClass, value => $$invalidate(13, $_viewClass = value));
component_subscribe($$self, theme, value => $$invalidate(3, $theme = value));

@@ -612,7 +614,8 @@ let viewState = new State(state);

let { _viewResources } = viewState;
component_subscribe($$self, _viewResources, value => $$invalidate(10, $_viewResources = value));
component_subscribe($$self, _viewResources, value => $$invalidate(11, $_viewResources = value));
set_store_value(_viewClass, $_viewClass = 'week', $_viewClass);
let loops, titles;
$$self.$$.update = () => {
if ($$self.$$.dirty & /*$datesAboveResources, loops, $_viewDates, $_viewResources, titles, $_intlDayHeader*/ 3591) {
if ($$self.$$.dirty & /*$datesAboveResources, loops, $_viewDates, $_viewResources, titles, $_intlDayHeader*/ 7175) {
{

@@ -641,2 +644,3 @@ $$invalidate(0, loops = []);

_intlDayHeader,
_viewClass,
theme,

@@ -643,0 +647,0 @@ _viewResources,

{
"name": "@event-calendar/resource-time-grid",
"version": "0.10.0",
"version": "0.10.1",
"title": "Event Calendar ResourceTimeGrid plugin",

@@ -36,5 +36,5 @@ "description": "Full-sized drag & drop event calendar with resource view",

"dependencies": {
"@event-calendar/time-grid": "~0.10.0",
"svelte": "^3.46.6"
"@event-calendar/time-grid": "~0.10.1",
"svelte": "^3.47.0"
}
}

@@ -7,3 +7,3 @@ # Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) [![Donate](https://img.shields.io/badge/Donate_$10-PayPal-green.svg)](https://www.paypal.me/vkurko/10usd) [![Donate](https://img.shields.io/badge/Donate_$1-PayPal-green.svg)](https://www.paypal.me/vkurko/1usd)

* Lightweight (47kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version)
* Lightweight (48kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version)
* Zero-dependency (pre-built bundle)

@@ -10,0 +10,0 @@ * Used by [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc