@konnectio/core 4.5.8 → 4.5.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.
Files changed (104) hide show
  1. package/README.md +274 -274
  2. package/dist/{ActionField-DlqhtdHW.js → ActionField-DRRWeUYM.js} +2 -2
  3. package/dist/ActionField-DRRWeUYM.js.br +0 -0
  4. package/dist/ActionField-DRRWeUYM.js.gz +0 -0
  5. package/dist/{AvailabilitySkeleton-DVRsnt_Y.js → AvailabilitySkeleton-Dts-myrc.js} +3 -3
  6. package/dist/AvailabilitySkeleton-Dts-myrc.js.br +0 -0
  7. package/dist/AvailabilitySkeleton-Dts-myrc.js.gz +0 -0
  8. package/dist/{CheckoutWindow-Cx1MBwXg.js → CheckoutWindow-BHVG2dxQ.js} +5 -5
  9. package/dist/CheckoutWindow-BHVG2dxQ.js.br +0 -0
  10. package/dist/CheckoutWindow-BHVG2dxQ.js.gz +0 -0
  11. package/dist/{ErrorMessage-B6saHmHE.js → ErrorMessage-B9Z6kWVl.js} +2 -2
  12. package/dist/ErrorMessage-B9Z6kWVl.js.br +0 -0
  13. package/dist/ErrorMessage-B9Z6kWVl.js.gz +0 -0
  14. package/dist/{EventAvailabilityForm-Dy1fXJzt.js → EventAvailabilityForm-kkiWxezV.js} +3 -3
  15. package/dist/EventAvailabilityForm-kkiWxezV.js.br +0 -0
  16. package/dist/EventAvailabilityForm-kkiWxezV.js.gz +0 -0
  17. package/dist/{Field-BjtJJFJG.js → Field-uy59BBE5.js} +6 -6
  18. package/dist/Field-uy59BBE5.js.br +0 -0
  19. package/dist/Field-uy59BBE5.js.gz +0 -0
  20. package/dist/{HotelAvailabilityForm-DxA1wrkE.js → HotelAvailabilityForm-BorqaKO9.js} +89 -83
  21. package/dist/HotelAvailabilityForm-BorqaKO9.js.br +0 -0
  22. package/dist/HotelAvailabilityForm-BorqaKO9.js.gz +0 -0
  23. package/dist/{SelectField-CfD2awPl.js → SelectField-Deugng4e.js} +216 -215
  24. package/dist/SelectField-Deugng4e.js.br +0 -0
  25. package/dist/SelectField-Deugng4e.js.gz +0 -0
  26. package/dist/{TermsOfService-C6R8tC_d.js → TermsOfService-B0e2zZ1G.js} +3 -3
  27. package/dist/TermsOfService-B0e2zZ1G.js.br +0 -0
  28. package/dist/TermsOfService-B0e2zZ1G.js.gz +1 -0
  29. package/dist/{_-13YE3WJt.js → _-BLU96am3.js} +1 -1
  30. package/dist/_-BLU96am3.js.br +0 -0
  31. package/dist/_-BLU96am3.js.gz +0 -0
  32. package/dist/availability.js +9 -9
  33. package/dist/availability.js.br +0 -0
  34. package/dist/availability.js.gz +0 -0
  35. package/dist/cancel-reservation.js +6 -6
  36. package/dist/cancel-reservation.js.br +0 -0
  37. package/dist/cancel-reservation.js.gz +0 -0
  38. package/dist/chunk-BPfpcrXh.js.gz +0 -0
  39. package/dist/core.css +1 -1
  40. package/dist/core.css.br +0 -0
  41. package/dist/core.css.gz +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-CcS6KL-S.js → dist-CkHp-kIg.js} +560 -228
  44. package/dist/dist-CkHp-kIg.js.br +0 -0
  45. package/dist/dist-CkHp-kIg.js.gz +0 -0
  46. package/dist/event.js +45 -42
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +9 -9
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +12 -12
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-3Rb6QoQd.js → giftCard-D4xa9d4r.js} +1 -1
  56. package/dist/giftCard-D4xa9d4r.js.br +0 -0
  57. package/dist/giftCard-D4xa9d4r.js.gz +9 -0
  58. package/dist/hotel.js +21 -21
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{masonry.plugin-BfiSV-UY.js → masonry.plugin-DeTZh8E2.js} +15 -15
  62. package/dist/masonry.plugin-DeTZh8E2.js.br +0 -0
  63. package/dist/masonry.plugin-DeTZh8E2.js.gz +0 -0
  64. package/dist/mitt-Dp_pykgV.js.gz +0 -0
  65. package/dist/polyfill.js +1 -1
  66. package/dist/polyfill.js.br +0 -0
  67. package/dist/polyfill.js.gz +0 -0
  68. package/dist/{style-Bpqv9k-3.js → style-CyChAn2F.js} +1 -1
  69. package/dist/style-CyChAn2F.js.br +0 -0
  70. package/dist/style-CyChAn2F.js.gz +0 -0
  71. package/package.json +121 -121
  72. package/dist/ActionField-DlqhtdHW.js.br +0 -0
  73. package/dist/ActionField-DlqhtdHW.js.gz +0 -0
  74. package/dist/AvailabilitySkeleton-DVRsnt_Y.js.br +0 -0
  75. package/dist/AvailabilitySkeleton-DVRsnt_Y.js.gz +0 -0
  76. package/dist/CheckoutWindow-Cx1MBwXg.js.br +0 -0
  77. package/dist/CheckoutWindow-Cx1MBwXg.js.gz +0 -0
  78. package/dist/ErrorMessage-B6saHmHE.js.br +0 -0
  79. package/dist/ErrorMessage-B6saHmHE.js.gz +0 -0
  80. package/dist/EventAvailabilityForm-Dy1fXJzt.js.br +0 -0
  81. package/dist/EventAvailabilityForm-Dy1fXJzt.js.gz +0 -0
  82. package/dist/Field-BjtJJFJG.js.br +0 -0
  83. package/dist/Field-BjtJJFJG.js.gz +0 -0
  84. package/dist/HotelAvailabilityForm-DxA1wrkE.js.br +0 -0
  85. package/dist/HotelAvailabilityForm-DxA1wrkE.js.gz +0 -0
  86. package/dist/SelectField-CfD2awPl.js.br +0 -0
  87. package/dist/SelectField-CfD2awPl.js.gz +0 -0
  88. package/dist/TermsOfService-C6R8tC_d.js.br +0 -0
  89. package/dist/TermsOfService-C6R8tC_d.js.gz +0 -4
  90. package/dist/_-13YE3WJt.js.br +0 -0
  91. package/dist/_-13YE3WJt.js.gz +0 -5
  92. package/dist/dist-CcS6KL-S.js.br +0 -0
  93. package/dist/dist-CcS6KL-S.js.gz +0 -0
  94. package/dist/giftCard-3Rb6QoQd.js.br +0 -0
  95. package/dist/giftCard-3Rb6QoQd.js.gz +0 -0
  96. package/dist/masonry.plugin-BfiSV-UY.js.br +0 -0
  97. package/dist/masonry.plugin-BfiSV-UY.js.gz +0 -0
  98. package/dist/style-Bpqv9k-3.js.br +0 -0
  99. package/dist/style-Bpqv9k-3.js.gz +0 -0
  100. package/dist-wix/availability.js +0 -594
  101. package/dist-wix/event.js +0 -595
  102. package/dist-wix/gift-card-validation.js +0 -584
  103. package/dist-wix/gift-card.js +0 -593
  104. package/dist-wix/hotel.js +0 -595
package/README.md CHANGED
@@ -1,274 +1,274 @@
1
- # Konnectio Core Integration for Octopus PMS
2
-
3
- <p align="center">
4
- <a href="https://vuejs.org/"><img src="https://img.shields.io/badge/vue-3-brightgreen.svg"/></a>
5
- </p>
6
-
7
- ## Features
8
-
9
- - Three feature-rich shortcode modules:
10
- - Hotel availability 'call-to-action'
11
- - Hotel module (with support for ReePay & Dibs)
12
- - Gift card module (with support for ReePay & Dibs)
13
- - Gift card validation
14
- - Event module
15
- - The look of the modules will adapt to the existing design of the website.
16
- - Multiple languages supported:
17
- - Works with popular multi-language plugins such as WPML and Polylang.
18
- - Language strings can be modified through an easy to use interface.
19
- - Comes prepackaged with Danish and English.
20
- - Various customization options.
21
- - Continuous updates. See [CHANGELOG.md](CHANGELOG.md).
22
-
23
- ## Getting started
24
-
25
- ### Installation
26
- Simply upload and install `FreshBooking for Octopus PMS` in the same way you'd install any other plugin.
27
-
28
- During the installation of the plugin two database tables are created. One for containing custom translation strings (which currently comes prepackaged with translations for Danish and English) and another for storing FreshBooking credentials.
29
-
30
- ### License activation
31
- After the installation of the FreshBooking WordPress plugin it is necessary to activate the FreshBooking license. This is done by navigating to the 'FreshBooking' page in the sidebar menu within the WordPress administration panel. From there you click the tab labeled 'License'. Here you just fill out your Octopus PMS login credentials, and then click 'Generate License'. This will generate the FreshBooking token required to use the plugin.
32
-
33
- ![License activation](https://repo.freshcase.dk/freshcase-octopus/screenshots/license.png)
34
-
35
- After successfully generating the FreshBooking token, you will be able to begin setting up plugin provided shortcodes that constitute the main functionality.
36
-
37
- ## Usage
38
- The FreshBooking WordPress plugin currently contains three shortcodes that require manual placement on a given page.
39
-
40
- The shortcodes can be inserted without further configuration.
41
-
42
- Common for all shortcodes is that they inject small [Vue.js](https://vuejs.org/) applications that work isolated from the rest of the Wordpress website.
43
-
44
- The most optimal way to insert them are on pages with a _"full width"_ layout with about a 15-25 pixel margin in the sides.
45
-
46
- ### 'Availability' shortcode
47
-
48
- The availability shortcode would most likely be inserted on the front page, and used as a _call to action_ to direct guests to _hotel_ module where the actual booking process happens.
49
-
50
- The availability shortcode can be inserted anywhere on the wordpress site using the following name:
51
-
52
- ```
53
- [konnectio-availability]
54
- ```
55
-
56
- You can add custom properties to the availability shortcode like so:
57
-
58
- ```
59
- [konnectio-availability panel-padding="24px"]
60
- ```
61
-
62
- The availability shortcode supports the following properties (the default property settings are listed in the right side of the arrows):
63
-
64
- ```js
65
- [
66
- 'accent-color' => '#e7c55e',
67
- 'button-background' => '#e7c55e',
68
- 'button-border' => null,
69
- 'button-border-radius' => '4px',
70
- 'button-color' => '#000000',
71
- 'button-font-family' => 'inherit',
72
- 'button-font-size' => '14px',
73
- 'button-font-weight' => '400',
74
- 'button-text-transform' => 'uppercase',
75
- 'font-color' => '#666',
76
- 'font-family' => 'inherit',
77
- 'font-size' => '18px',
78
- 'header-color' => '#000000',
79
- 'header-font-size' => '42px',
80
- 'input-background' => '#fff',
81
- 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
82
- 'input-border-radius' => '0px',
83
- 'label-font-weight' => 'bold',
84
- 'label-padding' => '6px',
85
- 'panel-background' => 'rgba(255, 255, 255, 0.8)',
86
- 'panel-border' => null,
87
- 'panel-border-radius' => '8px',
88
- 'panel-padding' => '24px'
89
- ]
90
- ```
91
-
92
-
93
- ### 'Hotel' shortcode
94
-
95
- The hotel shortcode can be inserted anywhere on the wordpress site using the following name:
96
-
97
- ```
98
- [konnectio-hotel]
99
- ```
100
-
101
- The hotel shortcode supports the following properties:
102
-
103
- ```js
104
- [
105
- 'accent-color' => '#e7c55e',
106
- 'button-background' => '#e7c55e',
107
- 'button-border-radius' => '4px',
108
- 'button-border' => null,
109
- 'button-color' => '#000000',
110
- 'button-font-family' => 'inherit',
111
- 'button-font-size' => '14px',
112
- 'button-font-weight' => '400',
113
- 'button-text-transform' => 'uppercase',
114
- 'danger-color' => '#afa997',
115
- 'font-color' => '#666',
116
- 'font-family' => 'inherit',
117
- 'font-size' => '18px',
118
- 'gray-color' => 'grey',
119
- 'header-color' => '#000000',
120
- 'header-layout' => 'default',
121
- 'input-background' => '#ffffff',
122
- 'input-border-radius' => '0px',
123
- 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
124
- 'label-font-weight' => 'bold',
125
- 'label-padding' => '6px',
126
- 'layout' => 'selective',
127
- 'loading-color' => '#666',
128
- 'packages-title-max-lines' => '1',
129
- 'panel-background' => '#ffffff',
130
- 'panel-border-radius' => '8px',
131
- 'panel-border' => null,
132
- 'panel-padding' => '24px',
133
- 'success-color' => '#e7c55e'
134
- ]
135
- ```
136
-
137
- ### 'Gift card' shortcode
138
-
139
- The gift card shortcode can be inserted anywhere on the wordpress site using the following name:
140
-
141
- ```
142
- [konnectio-gift-card]
143
- ```
144
-
145
- The gift card shortcode supports the following properties:
146
-
147
- ```js
148
- [
149
- 'accent-color' => '#e7c55e',
150
- 'button-background' => '#e7c55e',
151
- 'button-border' => null,
152
- 'button-border-radius' => '4px',
153
- 'button-color' => '#000000',
154
- 'button-font-family' => 'inherit',
155
- 'button-font-size' => '14px',
156
- 'button-text-transform' => 'uppercase',
157
- 'button-font-weight' => '400',
158
- 'font-color' => '#666',
159
- 'font-family' => 'inherit',
160
- 'font-size' => '18px',
161
- 'font-weight' => '400',
162
- 'gray-color' => 'grey',
163
- 'header-color' => '#000000',
164
- 'header-font-size' => '32px',
165
- 'input-background' => '#ffffff',
166
- 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
167
- 'input-border-radius' => '0px',
168
- 'label-font-weight' => 'bold',
169
- 'label-padding' => '6px',
170
- 'loading-color' => '#666',
171
- 'panel-background' => '#ffffff',
172
- 'panel-border' => null,
173
- 'panel-border-radius' => '8px',
174
- 'panel-padding' => '24px',
175
- 'place-type' => '0',
176
- 'success-color' => '#e7c55e'
177
- ]
178
- ```
179
-
180
- ### 'Gift card validation' shortcode
181
-
182
- The gift card validation shortcode can be inserted anywhere on the wordpress site using the following name:
183
-
184
- ```
185
- [konnectio-gift-card-validation]
186
- ```
187
-
188
- The gift card validation shortcode supports the following properties:
189
-
190
- ```js
191
- [
192
- 'accent-color' => '#e7c55e',
193
- 'button-background' => '#e7c55e',
194
- 'button-border' => null,
195
- 'button-border-radius' => '4px',
196
- 'button-color' => '#000000',
197
- 'button-font-family' => 'inherit',
198
- 'button-font-size' => '14px',
199
- 'button-text-transform' => 'uppercase',
200
- 'button-font-weight' => '400',
201
- 'font-color' => '#666',
202
- 'font-family' => 'inherit',
203
- 'font-size' => '18px',
204
- 'font-weight' => '400',
205
- 'gray-color' => 'grey',
206
- 'header-color' => '#000000',
207
- 'header-font-size' => '32px',
208
- 'input-background' => '#ffffff',
209
- 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
210
- 'input-border-radius' => '0px',
211
- 'label-font-weight' => 'bold',
212
- 'label-padding' => '6px',
213
- 'loading-color' => '#666',
214
- 'panel-background' => '#ffffff',
215
- 'panel-border' => null,
216
- 'panel-border-radius' => '8px',
217
- 'panel-padding' => '24px'
218
- ]
219
- ```
220
-
221
- ### 'Event' shortcode
222
-
223
- The event shortcode can be inserted anywhere on the wordpress site using the following name:
224
-
225
- ```
226
- [konnectio-event]
227
- ```
228
-
229
- The event validation shortcode supports the following properties:
230
-
231
- ```js
232
- [
233
- 'accent-color' => '#e7c55e',
234
- 'button-background' => '#e7c55e',
235
- 'button-border-radius' => '4px',
236
- 'button-border' => null,
237
- 'button-color' => '#000000',
238
- 'button-font-family' => 'inherit',
239
- 'button-font-size' => '14px',
240
- 'button-font-weight' => '400',
241
- 'button-text-transform' => 'uppercase',
242
- 'danger-color' => '#afa997',
243
- 'font-color' => '#666',
244
- 'font-family' => 'inherit',
245
- 'font-size' => '18px',
246
- 'gray-color' => 'grey',
247
- 'header-color' => '#000000',
248
- 'input-background' => '#ffffff',
249
- 'input-border-radius' => '0px',
250
- 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
251
- 'label-font-weight' => 'bold',
252
- 'label-padding' => '6px',
253
- 'loading-color' => '#666',
254
- 'panel-background' => '#ffffff',
255
- 'panel-border-radius' => '8px',
256
- 'panel-border' => null,
257
- 'panel-padding' => '24px',
258
- 'success-color' => '#e7c55e'
259
- ]
260
- ```
261
-
262
- ## Configuration
263
-
264
- The FreshBooking WordPress plugin can be configured from the `FreshBooking` page within the WordPress administration panel.
265
-
266
- ### Settings
267
-
268
- ![Settings](https://repo.freshcase.dk/freshcase-octopus/screenshots/settings.png)
269
-
270
- ### Translations
271
-
272
- FreshBooking supports custom translations.
273
-
274
- ![Translations](https://repo.freshcase.dk/freshcase-octopus/screenshots/translations.png)
1
+ # Konnectio Core Integration for Octopus PMS
2
+
3
+ <p align="center">
4
+ <a href="https://vuejs.org/"><img src="https://img.shields.io/badge/vue-3-brightgreen.svg"/></a>
5
+ </p>
6
+
7
+ ## Features
8
+
9
+ - Three feature-rich shortcode modules:
10
+ - Hotel availability 'call-to-action'
11
+ - Hotel module (with support for ReePay & Dibs)
12
+ - Gift card module (with support for ReePay & Dibs)
13
+ - Gift card validation
14
+ - Event module
15
+ - The look of the modules will adapt to the existing design of the website.
16
+ - Multiple languages supported:
17
+ - Works with popular multi-language plugins such as WPML and Polylang.
18
+ - Language strings can be modified through an easy to use interface.
19
+ - Comes prepackaged with Danish and English.
20
+ - Various customization options.
21
+ - Continuous updates. See [CHANGELOG.md](CHANGELOG.md).
22
+
23
+ ## Getting started
24
+
25
+ ### Installation
26
+ Simply upload and install `FreshBooking for Octopus PMS` in the same way you'd install any other plugin.
27
+
28
+ During the installation of the plugin two database tables are created. One for containing custom translation strings (which currently comes prepackaged with translations for Danish and English) and another for storing FreshBooking credentials.
29
+
30
+ ### License activation
31
+ After the installation of the FreshBooking WordPress plugin it is necessary to activate the FreshBooking license. This is done by navigating to the 'FreshBooking' page in the sidebar menu within the WordPress administration panel. From there you click the tab labeled 'License'. Here you just fill out your Octopus PMS login credentials, and then click 'Generate License'. This will generate the FreshBooking token required to use the plugin.
32
+
33
+ ![License activation](https://repo.freshcase.dk/freshcase-octopus/screenshots/license.png)
34
+
35
+ After successfully generating the FreshBooking token, you will be able to begin setting up plugin provided shortcodes that constitute the main functionality.
36
+
37
+ ## Usage
38
+ The FreshBooking WordPress plugin currently contains three shortcodes that require manual placement on a given page.
39
+
40
+ The shortcodes can be inserted without further configuration.
41
+
42
+ Common for all shortcodes is that they inject small [Vue.js](https://vuejs.org/) applications that work isolated from the rest of the Wordpress website.
43
+
44
+ The most optimal way to insert them are on pages with a _"full width"_ layout with about a 15-25 pixel margin in the sides.
45
+
46
+ ### 'Availability' shortcode
47
+
48
+ The availability shortcode would most likely be inserted on the front page, and used as a _call to action_ to direct guests to _hotel_ module where the actual booking process happens.
49
+
50
+ The availability shortcode can be inserted anywhere on the wordpress site using the following name:
51
+
52
+ ```
53
+ [konnectio-availability]
54
+ ```
55
+
56
+ You can add custom properties to the availability shortcode like so:
57
+
58
+ ```
59
+ [konnectio-availability panel-padding="24px"]
60
+ ```
61
+
62
+ The availability shortcode supports the following properties (the default property settings are listed in the right side of the arrows):
63
+
64
+ ```js
65
+ [
66
+ 'accent-color' => '#e7c55e',
67
+ 'button-background' => '#e7c55e',
68
+ 'button-border' => null,
69
+ 'button-border-radius' => '4px',
70
+ 'button-color' => '#000000',
71
+ 'button-font-family' => 'inherit',
72
+ 'button-font-size' => '14px',
73
+ 'button-font-weight' => '400',
74
+ 'button-text-transform' => 'uppercase',
75
+ 'font-color' => '#666',
76
+ 'font-family' => 'inherit',
77
+ 'font-size' => '18px',
78
+ 'header-color' => '#000000',
79
+ 'header-font-size' => '42px',
80
+ 'input-background' => '#fff',
81
+ 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
82
+ 'input-border-radius' => '0px',
83
+ 'label-font-weight' => 'bold',
84
+ 'label-padding' => '6px',
85
+ 'panel-background' => 'rgba(255, 255, 255, 0.8)',
86
+ 'panel-border' => null,
87
+ 'panel-border-radius' => '8px',
88
+ 'panel-padding' => '24px'
89
+ ]
90
+ ```
91
+
92
+
93
+ ### 'Hotel' shortcode
94
+
95
+ The hotel shortcode can be inserted anywhere on the wordpress site using the following name:
96
+
97
+ ```
98
+ [konnectio-hotel]
99
+ ```
100
+
101
+ The hotel shortcode supports the following properties:
102
+
103
+ ```js
104
+ [
105
+ 'accent-color' => '#e7c55e',
106
+ 'button-background' => '#e7c55e',
107
+ 'button-border-radius' => '4px',
108
+ 'button-border' => null,
109
+ 'button-color' => '#000000',
110
+ 'button-font-family' => 'inherit',
111
+ 'button-font-size' => '14px',
112
+ 'button-font-weight' => '400',
113
+ 'button-text-transform' => 'uppercase',
114
+ 'danger-color' => '#afa997',
115
+ 'font-color' => '#666',
116
+ 'font-family' => 'inherit',
117
+ 'font-size' => '18px',
118
+ 'gray-color' => 'grey',
119
+ 'header-color' => '#000000',
120
+ 'header-layout' => 'default',
121
+ 'input-background' => '#ffffff',
122
+ 'input-border-radius' => '0px',
123
+ 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
124
+ 'label-font-weight' => 'bold',
125
+ 'label-padding' => '6px',
126
+ 'layout' => 'selective',
127
+ 'loading-color' => '#666',
128
+ 'packages-title-max-lines' => '1',
129
+ 'panel-background' => '#ffffff',
130
+ 'panel-border-radius' => '8px',
131
+ 'panel-border' => null,
132
+ 'panel-padding' => '24px',
133
+ 'success-color' => '#e7c55e'
134
+ ]
135
+ ```
136
+
137
+ ### 'Gift card' shortcode
138
+
139
+ The gift card shortcode can be inserted anywhere on the wordpress site using the following name:
140
+
141
+ ```
142
+ [konnectio-gift-card]
143
+ ```
144
+
145
+ The gift card shortcode supports the following properties:
146
+
147
+ ```js
148
+ [
149
+ 'accent-color' => '#e7c55e',
150
+ 'button-background' => '#e7c55e',
151
+ 'button-border' => null,
152
+ 'button-border-radius' => '4px',
153
+ 'button-color' => '#000000',
154
+ 'button-font-family' => 'inherit',
155
+ 'button-font-size' => '14px',
156
+ 'button-text-transform' => 'uppercase',
157
+ 'button-font-weight' => '400',
158
+ 'font-color' => '#666',
159
+ 'font-family' => 'inherit',
160
+ 'font-size' => '18px',
161
+ 'font-weight' => '400',
162
+ 'gray-color' => 'grey',
163
+ 'header-color' => '#000000',
164
+ 'header-font-size' => '32px',
165
+ 'input-background' => '#ffffff',
166
+ 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
167
+ 'input-border-radius' => '0px',
168
+ 'label-font-weight' => 'bold',
169
+ 'label-padding' => '6px',
170
+ 'loading-color' => '#666',
171
+ 'panel-background' => '#ffffff',
172
+ 'panel-border' => null,
173
+ 'panel-border-radius' => '8px',
174
+ 'panel-padding' => '24px',
175
+ 'place-type' => '0',
176
+ 'success-color' => '#e7c55e'
177
+ ]
178
+ ```
179
+
180
+ ### 'Gift card validation' shortcode
181
+
182
+ The gift card validation shortcode can be inserted anywhere on the wordpress site using the following name:
183
+
184
+ ```
185
+ [konnectio-gift-card-validation]
186
+ ```
187
+
188
+ The gift card validation shortcode supports the following properties:
189
+
190
+ ```js
191
+ [
192
+ 'accent-color' => '#e7c55e',
193
+ 'button-background' => '#e7c55e',
194
+ 'button-border' => null,
195
+ 'button-border-radius' => '4px',
196
+ 'button-color' => '#000000',
197
+ 'button-font-family' => 'inherit',
198
+ 'button-font-size' => '14px',
199
+ 'button-text-transform' => 'uppercase',
200
+ 'button-font-weight' => '400',
201
+ 'font-color' => '#666',
202
+ 'font-family' => 'inherit',
203
+ 'font-size' => '18px',
204
+ 'font-weight' => '400',
205
+ 'gray-color' => 'grey',
206
+ 'header-color' => '#000000',
207
+ 'header-font-size' => '32px',
208
+ 'input-background' => '#ffffff',
209
+ 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
210
+ 'input-border-radius' => '0px',
211
+ 'label-font-weight' => 'bold',
212
+ 'label-padding' => '6px',
213
+ 'loading-color' => '#666',
214
+ 'panel-background' => '#ffffff',
215
+ 'panel-border' => null,
216
+ 'panel-border-radius' => '8px',
217
+ 'panel-padding' => '24px'
218
+ ]
219
+ ```
220
+
221
+ ### 'Event' shortcode
222
+
223
+ The event shortcode can be inserted anywhere on the wordpress site using the following name:
224
+
225
+ ```
226
+ [konnectio-event]
227
+ ```
228
+
229
+ The event validation shortcode supports the following properties:
230
+
231
+ ```js
232
+ [
233
+ 'accent-color' => '#e7c55e',
234
+ 'button-background' => '#e7c55e',
235
+ 'button-border-radius' => '4px',
236
+ 'button-border' => null,
237
+ 'button-color' => '#000000',
238
+ 'button-font-family' => 'inherit',
239
+ 'button-font-size' => '14px',
240
+ 'button-font-weight' => '400',
241
+ 'button-text-transform' => 'uppercase',
242
+ 'danger-color' => '#afa997',
243
+ 'font-color' => '#666',
244
+ 'font-family' => 'inherit',
245
+ 'font-size' => '18px',
246
+ 'gray-color' => 'grey',
247
+ 'header-color' => '#000000',
248
+ 'input-background' => '#ffffff',
249
+ 'input-border-radius' => '0px',
250
+ 'input-border' => '1px solid rgba(0, 0, 0, 0.15)',
251
+ 'label-font-weight' => 'bold',
252
+ 'label-padding' => '6px',
253
+ 'loading-color' => '#666',
254
+ 'panel-background' => '#ffffff',
255
+ 'panel-border-radius' => '8px',
256
+ 'panel-border' => null,
257
+ 'panel-padding' => '24px',
258
+ 'success-color' => '#e7c55e'
259
+ ]
260
+ ```
261
+
262
+ ## Configuration
263
+
264
+ The FreshBooking WordPress plugin can be configured from the `FreshBooking` page within the WordPress administration panel.
265
+
266
+ ### Settings
267
+
268
+ ![Settings](https://repo.freshcase.dk/freshcase-octopus/screenshots/settings.png)
269
+
270
+ ### Translations
271
+
272
+ FreshBooking supports custom translations.
273
+
274
+ ![Translations](https://repo.freshcase.dk/freshcase-octopus/screenshots/translations.png)
@@ -1,5 +1,5 @@
1
1
  import { D as e, E as t, Et as n, M as r, P as i, T as a, Y as o, dt as s, v as c } from "./mitt-Dp_pykgV.js";
2
- import { S as l, W as u, _ as d, n as f, r as p, t as m, v as h } from "./SelectField-CfD2awPl.js";
2
+ import { S as l, W as u, _ as d, n as f, r as p, t as m, v as h } from "./SelectField-Deugng4e.js";
3
3
  //#region src/components/inputs/grouped/ActionField.vue?vue&type=script&setup=true&lang.ts
4
4
  var g = { class: "konnectio-action-field" }, _ = /* @__PURE__ */ l(/* @__PURE__ */ i({
5
5
  __name: "ActionField",
@@ -146,6 +146,6 @@ var g = { class: "konnectio-action-field" }, _ = /* @__PURE__ */ l(/* @__PURE__
146
146
  "readonly"
147
147
  ]));
148
148
  }
149
- }), [["__scopeId", "data-v-37d63f6b"]]);
149
+ }), [["__scopeId", "data-v-d837a03d"]]);
150
150
  //#endregion
151
151
  export { _ as t };
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  import { $ as e, A as t, At as n, C as r, D as i, Dt as a, E as o, Et as s, G as c, H as l, I as u, J as d, L as f, M as p, O as m, Ot as h, P as g, R as _, St as v, T as y, Tt as b, V as x, Y as S, Z as C, _ as w, _t as T, bt as E, ct as D, d as O, dt as k, et as A, ft as j, ht as M, j as N, k as P, kt as ee, l as F, lt as I, q as te, rt as L, st as R, u as z, v as ne, vt as B, wt as re, x as V, xt as H, y as ie, yt as U, z as ae } from "./mitt-Dp_pykgV.js";
2
- import { C as oe, E as W, N as se, R as G, S as K, T as ce, V as le, W as ue, _ as de, c as fe, d as pe, f as me, g as he, h as ge, i as _e, l as ve, m as ye, o as be, ot as xe, p as q, q as Se, s as Ce, st as we, ut as Te } from "./SelectField-CfD2awPl.js";
3
- import { n as Ee, t as De } from "./Field-BjtJJFJG.js";
2
+ import { C as oe, E as W, N as se, R as G, S as K, T as ce, V as le, W as ue, _ as de, c as fe, d as pe, f as me, g as he, h as ge, i as _e, l as ve, m as ye, o as be, ot as xe, p as q, q as Se, s as Ce, st as we, ut as Te } from "./SelectField-Deugng4e.js";
3
+ import { n as Ee, t as De } from "./Field-uy59BBE5.js";
4
4
  //#region src/store/calendar.ts
5
5
  var Oe = F("calendar", () => {
6
6
  let e = E({}), t = E(!1), n = E([]), r = E(null), i = oe();
@@ -10124,6 +10124,6 @@ var ka = {
10124
10124
  })
10125
10125
  ], 2))])]));
10126
10126
  }
10127
- }), [["__scopeId", "data-v-86730e88"]]);
10127
+ }), [["__scopeId", "data-v-bcdabbb5"]]);
10128
10128
  //#endregion
10129
10129
  export { bn as a, ln as c, $t as d, Qt as f, Tn as i, Yt as l, lc as n, mn as o, Oe as p, Yn as r, pn as s, mc as t, en as u };
@@ -1,5 +1,5 @@
1
1
  import { A as e, At as t, C as n, D as r, Dt as i, E as a, Et as o, H as s, M as c, O as l, P as u, T as d, U as f, V as p, W as ee, Y as m, _ as h, bt as g, d as _, dt as v, et as y, ft as b, j as x, k as S, kt as C, lt as w, o as T, q as E, st as te, tt as ne, u as re, v as D } from "./mitt-Dp_pykgV.js";
2
- import { E as O, F as ie, S as k, W as A, _ as j, it as ae, n as M, x as N } from "./SelectField-CfD2awPl.js";
2
+ import { E as O, F as ie, S as k, W as A, _ as j, it as ae, n as M, x as N } from "./SelectField-Deugng4e.js";
3
3
  //#region node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js
4
4
  function P(e) {
5
5
  if (Array.isArray(e)) {
@@ -390,7 +390,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
390
390
  "width"
391
391
  ]));
392
392
  }
393
- }), [["__scopeId", "data-v-c84b8ee2"]]), ye = { class: "konnectio-phone-input" }, be = /* @__PURE__ */ k(/* @__PURE__ */ u({
393
+ }), [["__scopeId", "data-v-bfd7b67f"]]), ye = { class: "konnectio-phone-input" }, be = /* @__PURE__ */ k(/* @__PURE__ */ u({
394
394
  __name: "PhoneField",
395
395
  props: {
396
396
  modelValue: {},
@@ -476,7 +476,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
476
476
  "readonly"
477
477
  ]));
478
478
  }
479
- }), [["__scopeId", "data-v-3e373d03"]]), xe = [
479
+ }), [["__scopeId", "data-v-b0b6eb09"]]), xe = [
480
480
  "required",
481
481
  "type",
482
482
  "name",
@@ -568,7 +568,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
568
568
  "readonly"
569
569
  ]));
570
570
  }
571
- }), [["__scopeId", "data-v-673fba05"]]), Te = {
571
+ }), [["__scopeId", "data-v-e2c7b326"]]), Te = {
572
572
  href: "https://policies.google.com/privacy",
573
573
  target: "_blank"
574
574
  }, Ee = {
@@ -696,6 +696,6 @@ var De = Q, Oe = /* @__PURE__ */ k(/* @__PURE__ */ u({
696
696
  class: i({ reePay: o(t) === o(ae).ReePay })
697
697
  }, [...n[0] ||= [a("div", { id: "konnectio-payment-checkout" }, null, -1)]], 2)]));
698
698
  }
699
- }), [["__scopeId", "data-v-403e3fbf"]]);
699
+ }), [["__scopeId", "data-v-fea36eb8"]]);
700
700
  //#endregion
701
701
  export { ve as a, be as i, De as n, we as r, Oe as t };
@@ -1,5 +1,5 @@
1
1
  import { At as e, E as t, P as n, T as r, Y as i, k as a } from "./mitt-Dp_pykgV.js";
2
- import { S as o, V as s } from "./SelectField-CfD2awPl.js";
2
+ import { S as o, V as s } from "./SelectField-Deugng4e.js";
3
3
  //#endregion
4
4
  //#region src/components/ErrorMessage.vue?vue&type=script&setup=true&lang.ts
5
5
  var c = { class: "konnectio-notice" }, l = { class: "konnectio-notice-title" }, u = ["innerHTML"], d = { class: "konnectio-notice-help" }, f = ["href"], p = /* @__PURE__ */ o(/* @__PURE__ */ n({
@@ -26,6 +26,6 @@ var c = { class: "konnectio-notice" }, l = { class: "konnectio-notice-title" },
26
26
  }, [...s[0] ||= [t("button", null, [t("span", null, "Need help?")], -1)]], 8, f)])
27
27
  ]));
28
28
  }
29
- }), [["__scopeId", "data-v-103b8eff"]]);
29
+ }), [["__scopeId", "data-v-eb4de3ab"]]);
30
30
  //#endregion
31
31
  export { p as t };