@semics-tech/emdash-events 1.0.0-rc.0 → 1.0.0-rc.10
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/README.md +3 -2
- package/dist/index.mjs +25 -1
- package/dist/manifest.json +25 -1
- package/dist/plugin.mjs +6 -6
- package/dist/ts/astro/lib/page.d.ts +44 -0
- package/dist/ts/astro/lib/page.js +122 -0
- package/dist/ts/integration/index.d.ts +4 -0
- package/dist/ts/integration/index.js +2 -0
- package/emdash-plugin.jsonc +16 -0
- package/package.json +7 -2
- package/src/astro/AttendeeList.astro +154 -0
- package/src/astro/BookingPage.astro +82 -9
- package/src/astro/BookingStatus.astro +147 -51
- package/src/astro/BookingWidget.astro +307 -35
- package/src/astro/CancelBooking.astro +80 -0
- package/src/astro/PageBrand.astro +18 -0
- package/src/astro/PageOrganiser.astro +22 -0
- package/src/astro/TicketPass.astro +131 -33
- package/src/astro/lib/attendees.ts +218 -0
- package/src/astro/lib/list.ts +22 -0
- package/src/astro/lib/page.ts +142 -0
- package/src/astro/lib/pass.ts +9 -0
- package/src/astro/lib/payment.ts +6 -10
- package/src/astro/lib/picker.ts +245 -0
- package/src/astro/lib/widget.ts +75 -2
- package/src/astro/virtual.d.ts +2 -0
- package/src/client/booking.ts +3 -1
- package/src/client/forget-form.ts +16 -0
- package/src/client/picker.ts +154 -0
- package/src/client/print.ts +12 -0
- package/src/i18n/ar.ts +63 -1
- package/src/i18n/en.ts +61 -1
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Event bookings and ticketing for [EmDash CMS](https://emdashcms.com): events from your own collection,
|
|
4
4
|
ticket types, capacity, holds, a booking page, confirmation emails, calendar files, a waitlist, recurring
|
|
5
|
-
events
|
|
5
|
+
events, slot schedules (several bookable time slots a day from one schedule, with a day view to close, reopen
|
|
6
|
+
or re-size slots, booked by picking a day on a month calendar, then a time), optional booking approval with admin notifications, and check-in. MIT licensed.
|
|
6
7
|
|
|
7
8
|
The package holds the sandboxed core `semics-events` (its default export) and the UI kit (`/ui`,
|
|
8
9
|
`/integration`, and the Astro components under `/astro/*.astro`).
|
|
@@ -62,7 +63,7 @@ into the site.
|
|
|
62
63
|
|
|
63
64
|
```sh
|
|
64
65
|
pnpm run login -- alice.example.com
|
|
65
|
-
pnpm run publish
|
|
66
|
+
pnpm run registry:publish # builds and uploads artifacts to your PDS
|
|
66
67
|
```
|
|
67
68
|
|
|
68
69
|
To publish from GitHub Actions, run `pnpm run release:setup`. The command creates one shared workflow at the
|
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/** @type {import("emdash").PluginDescriptor} */
|
|
8
8
|
const descriptor = Object.freeze({
|
|
9
9
|
"id": "semics-events",
|
|
10
|
-
"version": "1.0.0-rc.
|
|
10
|
+
"version": "1.0.0-rc.10",
|
|
11
11
|
"format": "standard",
|
|
12
12
|
"entrypoint": "@semics-tech/emdash-events/sandbox",
|
|
13
13
|
"capabilities": [
|
|
@@ -371,6 +371,30 @@ const descriptor = Object.freeze({
|
|
|
371
371
|
"default": 365,
|
|
372
372
|
"min": 30
|
|
373
373
|
},
|
|
374
|
+
"adminNotifyEmails": {
|
|
375
|
+
"label": "Admin notification emails",
|
|
376
|
+
"description": "Up to 5 addresses, separated by commas, told about booking requests (and bookings, if chosen below).",
|
|
377
|
+
"type": "string"
|
|
378
|
+
},
|
|
379
|
+
"notifyAdminOn": {
|
|
380
|
+
"label": "Notify admins about",
|
|
381
|
+
"type": "select",
|
|
382
|
+
"options": [
|
|
383
|
+
{
|
|
384
|
+
"value": "requests",
|
|
385
|
+
"label": "Booking requests that need approval"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"value": "all",
|
|
389
|
+
"label": "All bookings"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"value": "off",
|
|
393
|
+
"label": "Nothing"
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"default": "requests"
|
|
397
|
+
},
|
|
374
398
|
"emailSenderName": {
|
|
375
399
|
"label": "Email sender name",
|
|
376
400
|
"description": "Name shown on booking emails. Defaults to the site name.",
|
package/dist/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "semics-events",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.10",
|
|
4
4
|
"declaredAccess": {
|
|
5
5
|
"content": {
|
|
6
6
|
"read": {}
|
|
@@ -352,6 +352,30 @@
|
|
|
352
352
|
"default": 365,
|
|
353
353
|
"min": 30
|
|
354
354
|
},
|
|
355
|
+
"adminNotifyEmails": {
|
|
356
|
+
"label": "Admin notification emails",
|
|
357
|
+
"description": "Up to 5 addresses, separated by commas, told about booking requests (and bookings, if chosen below).",
|
|
358
|
+
"type": "string"
|
|
359
|
+
},
|
|
360
|
+
"notifyAdminOn": {
|
|
361
|
+
"label": "Notify admins about",
|
|
362
|
+
"type": "select",
|
|
363
|
+
"options": [
|
|
364
|
+
{
|
|
365
|
+
"value": "requests",
|
|
366
|
+
"label": "Booking requests that need approval"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"value": "all",
|
|
370
|
+
"label": "All bookings"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"value": "off",
|
|
374
|
+
"label": "Nothing"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"default": "requests"
|
|
378
|
+
},
|
|
355
379
|
"emailSenderName": {
|
|
356
380
|
"label": "Email sender name",
|
|
357
381
|
"description": "Name shown on booking emails. Defaults to the site name.",
|