@timum/booking 1.11.5 → 1.12.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/README.md +18 -18
- package/build/booking.js +15091 -14930
- package/build/booking.umd.cjs +91 -91
- package/build/component/booking.js +12977 -12816
- package/build/component/booking.umd.cjs +86 -86
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -14,23 +14,23 @@ This documentation guides you through all the customization capabilities.
|
|
|
14
14
|
- [Entity Referencing](#entity-referencing)
|
|
15
15
|
- [Channel Reference](#channel-reference)
|
|
16
16
|
- [Resource Reference](#resource-reference)
|
|
17
|
-
- [Resource Reference
|
|
17
|
+
- [Resource Reference with channelKey](#resource-reference-with-channelKey)
|
|
18
18
|
- [Example](#example)
|
|
19
19
|
- [Customer pre-identification](#customer-pre-identification)
|
|
20
|
-
- [Identification via
|
|
20
|
+
- [Identification via pDataId](#identification-via-pdataid)
|
|
21
21
|
- [Identification via logged-in User](#identification-via-logged-in-user)
|
|
22
22
|
- [Advanced Customisation](#advanced-usage)
|
|
23
|
-
- [muiTheme](#
|
|
24
|
-
- [fcConfig](#
|
|
25
|
-
- [appConfig](#
|
|
23
|
+
- [muiTheme](#muiTheme)
|
|
24
|
+
- [fcConfig](#fcConfig)
|
|
25
|
+
- [appConfig](#appConfig)
|
|
26
26
|
- [How to use Callbacks](#how-to-use-callbacks)
|
|
27
27
|
- [Booking Related](#booking-related)
|
|
28
28
|
- [Cancelation Related](#cancelation-related)
|
|
29
29
|
- [Data Fetching Related](#data-fetching-related)
|
|
30
30
|
- [Localisation](#localisation)
|
|
31
|
-
- [Booking Form Fields](#
|
|
32
|
-
- [Custom Fields](#
|
|
33
|
-
- [Custom Field Example](#
|
|
31
|
+
- [Booking Form Fields](#booking-form-fields)
|
|
32
|
+
- [Custom Fields](#custom-fields)
|
|
33
|
+
- [Custom Field Example](#custom-field-example)
|
|
34
34
|
- [The Scenario](#the-scenario)
|
|
35
35
|
- [The Implementation](#the-implementation)
|
|
36
36
|
|
|
@@ -157,9 +157,9 @@ To use these channels in an embed scenario, provide a channel reference in the r
|
|
|
157
157
|
|
|
158
158
|
A reference that refers to a plain resource, where the channel is unknown. The default channel (and its corresponding configuration) is used instead.
|
|
159
159
|
|
|
160
|
-
<a name="
|
|
160
|
+
<a name="#resource-reference-with-channelKey"></a>
|
|
161
161
|
|
|
162
|
-
#### Resource Reference
|
|
162
|
+
#### Resource Reference with ChannelKey
|
|
163
163
|
|
|
164
164
|
If you don't have a channel reference but still want to use a different channel than the default one, you can provide a combination of resource reference and `channelKey` to uniquely identify the channel (and resource) to be used.
|
|
165
165
|
|
|
@@ -195,9 +195,9 @@ The following table gives an overview of the different permutations and how book
|
|
|
195
195
|
BookingJs can identify customers automatically if configured correctly.
|
|
196
196
|
This means they don't need to input their personal data prior to booking.
|
|
197
197
|
|
|
198
|
-
<a name="identification-via-
|
|
198
|
+
<a name="identification-via-pdataid"></a>
|
|
199
199
|
|
|
200
|
-
##### Identification via pDataId
|
|
200
|
+
##### Identification via pDataId
|
|
201
201
|
|
|
202
202
|
Detection method: Is there a valid pDataId paired with a supported pDataPlatform (platform) in parent url matching an entity (contact, customer) in given CRM?
|
|
203
203
|
<em>
|
|
@@ -230,7 +230,7 @@ The following table gives a rough overview over each.
|
|
|
230
230
|
| muiTheme | object, mui theme allowing you to change the look and feel of timum. Requires a professional plan. |
|
|
231
231
|
| fcConfig | object, only used if you use full calendar as a booking frontend (settable in appConfig). |
|
|
232
232
|
|
|
233
|
-
<a name=”
|
|
233
|
+
<a name=”muiTheme”></a>
|
|
234
234
|
|
|
235
235
|
### muiTheme
|
|
236
236
|
|
|
@@ -241,7 +241,7 @@ When you open the file `config.js` in [this](https://stackblitz.com/edit/react-8
|
|
|
241
241
|
|
|
242
242
|
Needs professional plan.
|
|
243
243
|
|
|
244
|
-
<a name=”
|
|
244
|
+
<a name=”fcConfig”></a>
|
|
245
245
|
|
|
246
246
|
### fcConfig
|
|
247
247
|
|
|
@@ -273,7 +273,7 @@ There are also some options specific to bookingjs. In addition to the configurat
|
|
|
273
273
|
</tr>
|
|
274
274
|
</table>
|
|
275
275
|
|
|
276
|
-
<a name=”
|
|
276
|
+
<a name=”appConfig”></a>
|
|
277
277
|
|
|
278
278
|
### appConfig
|
|
279
279
|
|
|
@@ -695,7 +695,7 @@ localization: {
|
|
|
695
695
|
},
|
|
696
696
|
```
|
|
697
697
|
|
|
698
|
-
<a name=”
|
|
698
|
+
<a name=”booking-form-fields”></a>
|
|
699
699
|
|
|
700
700
|
#### Booking Form Fields
|
|
701
701
|
|
|
@@ -778,7 +778,7 @@ fields: {
|
|
|
778
778
|
},
|
|
779
779
|
```
|
|
780
780
|
|
|
781
|
-
<a name=”
|
|
781
|
+
<a name=”custom-fields”></a>
|
|
782
782
|
|
|
783
783
|
##### Custom Fields
|
|
784
784
|
|
|
@@ -865,7 +865,7 @@ Type `select`:
|
|
|
865
865
|
|
|
866
866
|
- options: array of objects with structure { title: string, key: string }. The title is displayed and the key is passed in the data object to callbacks.
|
|
867
867
|
|
|
868
|
-
<a name=”
|
|
868
|
+
<a name=”custom-field-example”></a>
|
|
869
869
|
|
|
870
870
|
### Custom Field Example
|
|
871
871
|
|