@axium/calendar 0.1.1 → 0.1.3
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/db.json +1 -1
- package/package.json +1 -1
- package/routes/calendar/+page.svelte +2 -2
package/db.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"email": { "type": "text", "required": true },
|
|
51
51
|
"name": { "type": "text" },
|
|
52
52
|
"userId": { "type": "uuid", "references": "users.id", "onDelete": "cascade" },
|
|
53
|
-
"status": { "type": "text", "required": true, "default": "
|
|
53
|
+
"status": { "type": "text", "required": true, "default": "'needs-action'" },
|
|
54
54
|
"role": { "type": "text" }
|
|
55
55
|
},
|
|
56
56
|
"constraints": {
|
package/package.json
CHANGED
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
<button class="event-init icon-text" command="show-modal" commandfor="event-init"><Icon i="plus" /> New Event</button>
|
|
62
62
|
<div class="bar">
|
|
63
63
|
<button onclick={() => start.setTime(today.getTime())}>Today</button>
|
|
64
|
-
<span class="label">{weekDays[0].toLocaleString('default', { month: 'long', year: 'numeric' })}</span>
|
|
65
64
|
<button
|
|
66
65
|
style:display="contents"
|
|
67
66
|
onclick={() => {
|
|
@@ -76,6 +75,7 @@
|
|
|
76
75
|
end.setDate(end.getDate() + spanDays);
|
|
77
76
|
}}><Icon i="chevron-right" /></button
|
|
78
77
|
>
|
|
78
|
+
<span class="label">{weekDays[0].toLocaleString('default', { month: 'long', year: 'numeric' })}</span>
|
|
79
79
|
</div>
|
|
80
80
|
<div id="cal-list">
|
|
81
81
|
<Calendar.Select bind:start bind:end />
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
class="reset"
|
|
191
191
|
onclick={() => (eventEditId = event.id)}
|
|
192
192
|
command="show-modal"
|
|
193
|
-
commandfor="event-delete"><Icon i="trash" /></button
|
|
193
|
+
commandfor="event-delete"><Icon i="trash-can" /></button
|
|
194
194
|
>
|
|
195
195
|
<button class="reset" command="hide-popover" commandfor="event-popover:{event.id}"
|
|
196
196
|
><Icon i="xmark" /></button
|