@htmlbricks/hb-calendar-events 0.8.43 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-calendar-events",
|
|
3
3
|
"displayName": "Svelte Calendar WebComponent",
|
|
4
4
|
"description": "Svelte Calendar WebComponent",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.9.1",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dayjs": "^1.10.7"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@htmlbricks/hb-jsutils": "^0.
|
|
38
|
-
"@htmlbricks/manifester": "^0.0.
|
|
37
|
+
"@htmlbricks/hb-jsutils": "^0.9.1",
|
|
38
|
+
"@htmlbricks/manifester": "^0.0.9",
|
|
39
39
|
"@rollup/plugin-alias": "^3.1.2",
|
|
40
40
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
41
41
|
"@rollup/plugin-json": "^4.1.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"webcomponents"
|
|
80
80
|
],
|
|
81
81
|
"contributors": [],
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "5da5e18dec4ee6e6a205dca3c49d1785b9cc2cc9"
|
|
83
83
|
}
|
package/release/manifest.json
CHANGED
package/release/docs.mjs
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import dayjs from "dayjs";
|
|
2
|
-
export var storybookArgs = {
|
|
3
|
-
events: { control: { type: "object" } },
|
|
4
|
-
date: { control: { type: "text" } },
|
|
5
|
-
selected: { control: { type: "text" } },
|
|
6
|
-
calendarEventClick: { action: "calendarEventClickEvent" },
|
|
7
|
-
changeCalendarDate: { action: "changeCalendarDateEvent" },
|
|
8
|
-
changeSelectedDate: { action: "changeSelectedDateEvent" }
|
|
9
|
-
};
|
|
10
|
-
var cssVars = [
|
|
11
|
-
{ name: "--bs-primary", valueType: "color", theme: "bootstrap", defaultValue: "#07689f" },
|
|
12
|
-
{ name: "--bs-secondary", valueType: "color", theme: "bootstrap", defaultValue: "#c9d6df" },
|
|
13
|
-
{ name: "--bs-success", valueType: "color", theme: "bootstrap", defaultValue: "#11d3bc" },
|
|
14
|
-
];
|
|
15
|
-
var cssParts = [
|
|
16
|
-
{
|
|
17
|
-
name: "calendar-header"
|
|
18
|
-
},
|
|
19
|
-
{ name: "calendar-current-time-header" },
|
|
20
|
-
{ name: "cell" },
|
|
21
|
-
];
|
|
22
|
-
export var htmlSlots = [];
|
|
23
|
-
export var i18nLanguages = [];
|
|
24
|
-
export var styleSetup = {
|
|
25
|
-
vars: cssVars,
|
|
26
|
-
parts: cssParts
|
|
27
|
-
};
|
|
28
|
-
var events = [
|
|
29
|
-
{
|
|
30
|
-
date: new Date(),
|
|
31
|
-
id: "test",
|
|
32
|
-
label: "thetest"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
date: dayjs().startOf("month").subtract(1, "day").toDate(),
|
|
36
|
-
id: "test2",
|
|
37
|
-
label: "thetest start"
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
var examples = [{ events: events }];
|
|
41
|
-
export var componentSetup = {
|
|
42
|
-
definitions: null,
|
|
43
|
-
storybookArgs: storybookArgs,
|
|
44
|
-
styleSetup: styleSetup,
|
|
45
|
-
htmlSlots: htmlSlots,
|
|
46
|
-
i18n: i18nLanguages,
|
|
47
|
-
examples: examples,
|
|
48
|
-
name: "hb-calendar-events",
|
|
49
|
-
category: "components",
|
|
50
|
-
tags: ["components"],
|
|
51
|
-
size: {}
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=docs.js.map
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/Component",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"Component": {
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"properties": {
|
|
8
|
-
"date": {
|
|
9
|
-
"format": "date-time",
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"events": {
|
|
13
|
-
"items": {
|
|
14
|
-
"$ref": "#/definitions/IEvent"
|
|
15
|
-
},
|
|
16
|
-
"type": "array"
|
|
17
|
-
},
|
|
18
|
-
"id": {
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
"selected": {
|
|
22
|
-
"format": "date-time",
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"style": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"type": "object"
|
|
30
|
-
},
|
|
31
|
-
"IEvent": {
|
|
32
|
-
"additionalProperties": false,
|
|
33
|
-
"properties": {
|
|
34
|
-
"color": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"date": {
|
|
38
|
-
"format": "date-time",
|
|
39
|
-
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
"details": {
|
|
42
|
-
"additionalProperties": false,
|
|
43
|
-
"properties": {
|
|
44
|
-
"author": {
|
|
45
|
-
"type": "string"
|
|
46
|
-
},
|
|
47
|
-
"avatarUrl": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
},
|
|
50
|
-
"end": {
|
|
51
|
-
"format": "date-time",
|
|
52
|
-
"type": "string"
|
|
53
|
-
},
|
|
54
|
-
"imageUrl": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
"subject": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"text": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"required": [
|
|
65
|
-
"subject",
|
|
66
|
-
"text"
|
|
67
|
-
],
|
|
68
|
-
"type": "object"
|
|
69
|
-
},
|
|
70
|
-
"icon": {
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
"id": {
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
"label": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"link": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"required": [
|
|
84
|
-
"date",
|
|
85
|
-
"label",
|
|
86
|
-
"id"
|
|
87
|
-
],
|
|
88
|
-
"type": "object"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/Events",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"Events": {
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"properties": {
|
|
8
|
-
"calendarEventClick": {
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"properties": {
|
|
11
|
-
"eventId": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": [
|
|
16
|
-
"eventId"
|
|
17
|
-
],
|
|
18
|
-
"type": "object"
|
|
19
|
-
},
|
|
20
|
-
"changeCalendarDate": {
|
|
21
|
-
"additionalProperties": false,
|
|
22
|
-
"properties": {
|
|
23
|
-
"date": {
|
|
24
|
-
"format": "date-time",
|
|
25
|
-
"type": "string"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"required": [
|
|
29
|
-
"date"
|
|
30
|
-
],
|
|
31
|
-
"type": "object"
|
|
32
|
-
},
|
|
33
|
-
"changeSelectedDate": {
|
|
34
|
-
"additionalProperties": false,
|
|
35
|
-
"properties": {
|
|
36
|
-
"selectedDate": {
|
|
37
|
-
"format": "date-time",
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"required": [
|
|
42
|
-
"selectedDate"
|
|
43
|
-
],
|
|
44
|
-
"type": "object"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"required": [
|
|
48
|
-
"calendarEventClick",
|
|
49
|
-
"changeCalendarDate",
|
|
50
|
-
"changeSelectedDate"
|
|
51
|
-
],
|
|
52
|
-
"type": "object"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|