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

@event-calendar/core

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/core - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

5

index.js

@@ -266,4 +266,3 @@ import { is_function, tick, noop, identity, SvelteComponent, init, safe_not_equal, empty, insert, destroy_each, detach, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, transition_in, group_outros, check_outros, transition_out, space, create_component, mount_component, destroy_component, construct_svelte_component, set_style } from 'svelte/internal';

[state.events, state.eventSources, state._activeRange, state._fetchedRange, state.lazyFetching, state.loading],
(values, set) => tick().then(() => {
let [$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading] = values;
([$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading], set) => {
if (!$eventSources.length) {

@@ -341,3 +340,3 @@ set($events);

}
}),
},
[]

@@ -344,0 +343,0 @@ ).subscribe(_events.set);

4

package.json
{
"name": "@event-calendar/core",
"version": "0.16.0",
"version": "0.16.1",
"title": "Event Calendar Core package",

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

"dependencies": {
"@event-calendar/common": "~0.16.0",
"@event-calendar/common": "~0.16.1",
"svelte": "^3.55.1"
}
}

@@ -119,3 +119,3 @@ # Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build) [![npm](https://img.shields.io/npm/dm/@event-calendar/core?color=red&label=npm&style=flat-square)](https://www.npmjs.com/package/@event-calendar/core) [![Sponsor](https://img.shields.io/badge/Sponsor-$10-blue.svg?style=flat-square&logo=paypal)](https://www.paypal.me/vkurko/10usd)

- [dateFromPoint](#datefrompoint)
- [dateFromPoint](#datefrompoint-x-y-)
- [getView](#getview)

@@ -195,4 +195,4 @@ - [unselect](#unselect-1)

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@0.16.0/event-calendar.min.css">
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@0.16.0/event-calendar.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@event-calendar/build@0.16.1/event-calendar.min.css">
<script src="https://cdn.jsdelivr.net/npm/@event-calendar/build@0.16.1/event-calendar.min.js"></script>
```

@@ -1995,5 +1995,5 @@

Returns the date and time that would be determined if a click was made on the specified coordinates within the application's [viewport](https://developer.mozilla.org/en-US/docs/Glossary/Viewport).
Returns the date and time as if the [dateClick](#dateclick) event had fired for that point.
Using this method, you can get the date and time for any point inside the calendar, as if it was clicked. For example, you want to know, when you click on a multi-day event, which day the click happened on. To do this, inside [eventClick](#eventclick), pass the `jsEvent.clientX` and `jsEvent.clientY` coordinates to `dateFromPoint` and get the date that corresponds to the place in the calendar where the click was.
Using this method, you can, for example, find out on which day a click occurred inside a multi-day event. To do this, inside [eventClick](#eventclick), pass the `jsEvent.clientX` and `jsEvent.clientY` coordinates to `dateFromPoint` and get the desired date.

@@ -2003,3 +2003,3 @@ <details>

> In the `'listDay'`, `'listWeek'`, `'listMonth'` and `'listYear'` views, the events are rendered outside of the day container, so the method will return `null` for the coordinates that are inside the events.
> In the `'listDay'`, `'listWeek'`, `'listMonth'` and `'listYear'` views, the events are rendered outside the day container, so the method will return `null` for the coordinates that are inside the events.

@@ -2006,0 +2006,0 @@ </details>

@@ -128,4 +128,3 @@ import {derived, writable, readable} from 'svelte/store';

[state.events, state.eventSources, state._activeRange, state._fetchedRange, state.lazyFetching, state.loading],
(values, set) => tick().then(() => {
let [$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading] = values;
([$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading], set) => {
if (!$eventSources.length) {

@@ -203,3 +202,3 @@ set($events);

}
}),
},
[]

@@ -206,0 +205,0 @@ ).subscribe(_events.set);

Sorry, the diff of this file is not supported yet

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