@event-calendar/list
Advanced tools
Comparing version 0.13.4 to 0.14.0
@@ -306,3 +306,3 @@ import { SvelteComponent, init, safe_not_equal, create_slot, element, attr, insert, append, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, detach, component_subscribe, space, action_destroyer, listen, is_function, noop, run_all, binding_callbacks, empty, group_outros, check_outros, text, set_data, destroy_each, create_component, mount_component, destroy_component, set_store_value } from 'svelte/internal'; | ||
// (60:0) {#if chunks.length} | ||
// (61:0) {#if chunks.length} | ||
function create_if_block$1(ctx) { | ||
@@ -450,3 +450,3 @@ let div; | ||
// (69:4) {#each chunks as chunk} | ||
// (70:4) {#each chunks as chunk} | ||
function create_each_block$1(ctx) { | ||
@@ -566,2 +566,3 @@ let event; | ||
fn({ | ||
allDay: true, | ||
date: toLocalDate(date), | ||
@@ -568,0 +569,0 @@ dateStr: toISOString(date), |
{ | ||
"name": "@event-calendar/list", | ||
"version": "0.13.4", | ||
"version": "0.14.0", | ||
"title": "Event Calendar List plugin", | ||
@@ -36,5 +36,5 @@ "description": "Full-sized drag & drop event calendar with resource view", | ||
"dependencies": { | ||
"@event-calendar/common": "~0.13.4", | ||
"@event-calendar/common": "~0.14.0", | ||
"svelte": "^3.51.0" | ||
} | ||
} |
105
README.md
@@ -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) [![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) | ||
* Lightweight (54kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Lightweight (55kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version) | ||
* Zero-dependency (pre-built bundle) | ||
@@ -186,2 +186,6 @@ * Used by [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/) | ||
``` | ||
The CSS is located at `@event-calendar/core/index.css`. If your build tool supports CSS processing, you can import it like this: | ||
```js | ||
import '@event-calendar/core/index.css'; | ||
``` | ||
@@ -239,3 +243,3 @@ ### Pre-built browser ready bundle | ||
This value can be either a string containing HTML `'<p>...</p>'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
This value can be either a string containing text `'...'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
@@ -290,5 +294,5 @@ ```js | ||
```js | ||
function (dateClickInfo) {} | ||
function (info) {} | ||
``` | ||
`dateClickInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -312,2 +316,11 @@ <tr> | ||
`allDay` | ||
</td> | ||
<td> | ||
`true` or `false`. Determines if the click has occurred in the `all-day` slot. Clicks in month and list views are treated as all-day too</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`dayEl` | ||
@@ -510,5 +523,5 @@ </td> | ||
```js | ||
function (eventClickInfo) { } | ||
function (info) { } | ||
``` | ||
`eventClickInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -563,10 +576,10 @@ <tr> | ||
This value can be either a string containing HTML `'<p>...</p>'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
This value can be either a string containing text `'...'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
```js | ||
function (eventInfo) { | ||
function (info) { | ||
// return string or object | ||
} | ||
``` | ||
`eventInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -609,5 +622,5 @@ <tr> | ||
```js | ||
function (mountInfo) { } | ||
function (info) { } | ||
``` | ||
`mountInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -851,5 +864,5 @@ <tr> | ||
```js | ||
function (mouseEnterInfo) { } | ||
function (info) { } | ||
``` | ||
`mouseEnterInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -899,5 +912,5 @@ <tr> | ||
```js | ||
function (mouseLeaveInfo) { } | ||
function (info) { } | ||
``` | ||
`mouseLeaveInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -1413,3 +1426,3 @@ <tr> | ||
This value can be either a string containing HTML `'<p>...</p>'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
This value can be either a string containing text `'...'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
@@ -1449,5 +1462,5 @@ ```js | ||
```js | ||
function (clickInfo) { } | ||
function (info) { } | ||
``` | ||
`clickInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -1479,3 +1492,3 @@ <tr> | ||
This value can be either a string containing HTML `'<p>...</p>'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
This value can be either a string containing text `'...'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats: | ||
@@ -1513,5 +1526,5 @@ ```js | ||
```js | ||
function (selectInfo) { } | ||
function (info) { } | ||
``` | ||
`selectInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -1553,3 +1566,3 @@ <tr> | ||
Boolean (`true` or `false`). Determines if the selection has occurred in the `all-day` slot</td> | ||
`true` or `false`. Determines if the selection has occurred in the `all-day` slot</td> | ||
</tr> | ||
@@ -1609,3 +1622,3 @@ <tr> | ||
- Type `integer` | ||
- Default `0` | ||
- Default `5` | ||
@@ -1798,5 +1811,5 @@ Defines how many pixels the user’s mouse must move before the selection begins. | ||
```js | ||
function (mountInfo) { } | ||
function (info) { } | ||
``` | ||
`mountInfo` is an object with the following properties: | ||
`info` is an object with the following properties: | ||
<table> | ||
@@ -1947,3 +1960,3 @@ <tr> | ||
Boolean (`true` or `false`). Determines if the event is shown in the `all-day` slot</td> | ||
`true` or `false`. Determines if the event is shown in the `all-day` slot</td> | ||
</tr> | ||
@@ -1974,2 +1987,9 @@ <tr> | ||
`titleHTML` | ||
</td> | ||
<td>The HTML version of the title</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`editable` | ||
@@ -1979,3 +1999,3 @@ </td> | ||
Boolean (`true` or `false`) or `undefined`. The value overriding the [editable](#editable) setting for this specific event | ||
`true`, `false` or `undefined`. The value overriding the [editable](#editable) setting for this specific event | ||
</td> | ||
@@ -1990,3 +2010,3 @@ </tr> | ||
Boolean (`true` or `false`) or `undefined`. The value overriding the [eventStartEditable](#eventstarteditable) setting for this specific event | ||
`true`, `false` or `undefined`. The value overriding the [eventStartEditable](#eventstarteditable) setting for this specific event | ||
</td> | ||
@@ -2001,3 +2021,3 @@ </tr> | ||
Boolean (`true` or `false`) or `undefined`. The value overriding the [eventDurationEditable](#eventdurationeditable) setting for this specific event | ||
`true`, `false` or `undefined`. The value overriding the [eventDurationEditable](#eventdurationeditable) setting for this specific event | ||
</td> | ||
@@ -2117,2 +2137,12 @@ </tr> | ||
`titleHTML` | ||
</td> | ||
<td> | ||
`string` The HTML version of the title to be displayed instead of the text version. Default `''` | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`editable` | ||
@@ -2246,2 +2276,9 @@ </td> | ||
</tr> | ||
<tr> | ||
<td> | ||
`titleHTML` | ||
</td> | ||
<td>The HTML version of the title</td> | ||
</tr> | ||
</table> | ||
@@ -2274,2 +2311,12 @@ | ||
</tr> | ||
<tr> | ||
<td> | ||
`titleHTML` | ||
</td> | ||
<td> | ||
`string` The HTML version of the title to be displayed instead of the text version. Default `''` | ||
</td> | ||
</tr> | ||
</table> | ||
@@ -2276,0 +2323,0 @@ |
Sorry, the diff of this file is not supported yet
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
88261
971
2355
+ Added@event-calendar/common@0.14.3(transitive)
- Removed@event-calendar/common@0.13.4(transitive)