@timum/booking 0.7.3 → 0.7.4

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 CHANGED
@@ -50,7 +50,7 @@ Add the following code to your webpage:
50
50
  ```html
51
51
  <div id="bookingjs" style="margin: 32px"></div>
52
52
  <script type="module">
53
- import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.3/build/timum-booking.js';
53
+ import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.4/build/timum-booking.js';
54
54
 
55
55
  timum.init({ ref: 'booking-widget-demo-resource@timum' });
56
56
  </script>
@@ -65,7 +65,7 @@ Alternatively, you can add `ref` to your url as a parameter. This allows you to
65
65
  ```html
66
66
  <div id="bookingjs" style="margin: 32px"></div>
67
67
  <script type="module">
68
- import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.3/build/timum-booking.js';
68
+ import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.4/build/timum-booking.js';
69
69
 
70
70
  timum.init(); //<- no need for the reference here
71
71
  </script>
@@ -202,17 +202,17 @@ All Booking related callbacks receive a <em>single obejct</em> as argument conta
202
202
  - a `timeslot` looking like this:
203
203
  ```
204
204
  {
205
- start: luxon Datetime object. Internal state. "2023-01-27T09:05:00.000Z",
206
- end: luxon Datetime object. Internal state. "2023-01-27T09:35:00.000Z",
207
- timeslot_uuid: uuid of the booked timeslot. e.g. "82ec5220-9d55-11ed-8617-e4a7a0ca32e8",
208
- product_uuid: uuid of the booked product e.g. "92867f70-4836-11e5-bc04-021a52c25043",
209
- product_name: string. e.g. "Meeting",
210
- resource_name: string. e.g. "Booking Widget DEMO",
211
- capacity: number e.g. 1,
212
- capacity_left: number e.g. 1,
213
- kind: either "models.Bookable" or "models.LotAppointment",
214
- untouchedStart: ISO String e.g: "2023-01-27T09:05:00+01:00" as the server sent it,
215
- untouchedEnd: ISO String e.g: "2023-01-27T09:35:00+01:00" as the server sent it
205
+ start: luxon Datetime object. Internal state. "2023-01-27T09:05:00.000Z",
206
+ end: luxon Datetime object. Internal state. "2023-01-27T09:35:00.000Z",
207
+ timeslot_uuid: uuid of the booked timeslot. e.g. "82ec5220-9d55-11ed-8617-e4a7a0ca32e8",
208
+ product_uuid: uuid of the booked product e.g. "92867f70-4836-11e5-bc04-021a52c25043",
209
+ product_name: string. e.g. "Meeting",
210
+ resource_name: string. e.g. "Booking Widget DEMO",
211
+ capacity: number e.g. 1,
212
+ capacity_left: number e.g. 1,
213
+ kind: either "models.Bookable" or "models.LotAppointment",
214
+ untouchedStart: ISO String e.g: "2023-01-27T09:05:00+01:00" as the server sent it,
215
+ untouchedEnd: ISO String e.g: "2023-01-27T09:35:00+01:00" as the server sent it
216
216
  }
217
217
  ```
218
218
  - a `data` looking like this:
@@ -559,7 +559,7 @@ This is the base configuration. As it is it uses the standard field configuratio
559
559
  ```html
560
560
  <div id="bookingjs" style="margin: 32px"></div>
561
561
  <script type="module">
562
- import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.3/build/timum-booking.js';
562
+ import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.4/build/timum-booking.js';
563
563
 
564
564
  timum.init({ ref: 'booking-widget-demo-resource@timum' });
565
565
  </script>
@@ -570,7 +570,7 @@ Let's add the necessary changes:
570
570
  ```html
571
571
  <div id="bookingjs" style="margin: 32px"></div>
572
572
  <script type="module">
573
- import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.3/build/timum-booking.js';
573
+ import * as timum from 'https://cdn.jsdelivr.net/npm/@timum/booking@0.7.4/build/timum-booking.js';
574
574
 
575
575
  timum.init(
576
576
  {