@konnectio/core 4.4.9 → 4.5.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.
Files changed (131) hide show
  1. package/README.md +274 -274
  2. package/dist/ActionField-CCjWElNQ.js +148 -0
  3. package/dist/ActionField-CCjWElNQ.js.br +0 -0
  4. package/dist/ActionField-CCjWElNQ.js.gz +0 -0
  5. package/dist/AvailabilitySkeleton-IQbxzq3Q.js +10129 -0
  6. package/dist/AvailabilitySkeleton-IQbxzq3Q.js.br +0 -0
  7. package/dist/AvailabilitySkeleton-IQbxzq3Q.js.gz +0 -0
  8. package/dist/CheckoutWindow-xnLaHTT5.js +701 -0
  9. package/dist/CheckoutWindow-xnLaHTT5.js.br +0 -0
  10. package/dist/CheckoutWindow-xnLaHTT5.js.gz +0 -0
  11. package/dist/ErrorMessage-6_ULtG_D.js +31 -0
  12. package/dist/ErrorMessage-6_ULtG_D.js.br +0 -0
  13. package/dist/ErrorMessage-6_ULtG_D.js.gz +0 -0
  14. package/dist/EventAvailabilityForm-Dq4WxMuL.js +114 -0
  15. package/dist/EventAvailabilityForm-Dq4WxMuL.js.br +0 -0
  16. package/dist/EventAvailabilityForm-Dq4WxMuL.js.gz +0 -0
  17. package/dist/Field-00JXggoS.js +57 -0
  18. package/dist/Field-00JXggoS.js.br +0 -0
  19. package/dist/Field-00JXggoS.js.gz +0 -0
  20. package/dist/HotelAvailabilityForm-D_mVPzOx.js +317 -0
  21. package/dist/HotelAvailabilityForm-D_mVPzOx.js.br +0 -0
  22. package/dist/HotelAvailabilityForm-D_mVPzOx.js.gz +0 -0
  23. package/dist/SelectField-BYcZ8xUa.js +11161 -0
  24. package/dist/SelectField-BYcZ8xUa.js.br +0 -0
  25. package/dist/SelectField-BYcZ8xUa.js.gz +0 -0
  26. package/dist/TermsOfService-tFJBZdRe.js +17 -0
  27. package/dist/TermsOfService-tFJBZdRe.js.br +0 -0
  28. package/dist/TermsOfService-tFJBZdRe.js.gz +0 -0
  29. package/dist/_-BZTN6PmS.js +22 -0
  30. package/dist/_-BZTN6PmS.js.br +0 -0
  31. package/dist/_-BZTN6PmS.js.gz +5 -0
  32. package/dist/availability.js +99 -129
  33. package/dist/availability.js.br +0 -0
  34. package/dist/availability.js.gz +0 -0
  35. package/dist/cancel-reservation.js +155 -158
  36. package/dist/cancel-reservation.js.br +0 -0
  37. package/dist/cancel-reservation.js.gz +0 -0
  38. package/dist/chunk-BPfpcrXh.js +20 -0
  39. package/dist/chunk-BPfpcrXh.js.br +0 -0
  40. package/dist/chunk-BPfpcrXh.js.gz +2 -0
  41. package/dist/core.css +2 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/deep-link.js +43 -47
  45. package/dist/deep-link.js.br +0 -0
  46. package/dist/deep-link.js.gz +0 -0
  47. package/dist/dist-oox8Oy7m.js +944 -0
  48. package/dist/dist-oox8Oy7m.js.br +0 -0
  49. package/dist/dist-oox8Oy7m.js.gz +0 -0
  50. package/dist/event.js +1069 -1192
  51. package/dist/event.js.br +0 -0
  52. package/dist/event.js.gz +0 -0
  53. package/dist/gift-card-validation.js +114 -161
  54. package/dist/gift-card-validation.js.br +0 -0
  55. package/dist/gift-card-validation.js.gz +0 -0
  56. package/dist/gift-card.js +452 -451
  57. package/dist/gift-card.js.br +0 -0
  58. package/dist/gift-card.js.gz +0 -0
  59. package/dist/giftCard-Dlw7i36H.js +101 -0
  60. package/dist/giftCard-Dlw7i36H.js.br +0 -0
  61. package/dist/giftCard-Dlw7i36H.js.gz +0 -0
  62. package/dist/hotel.js +8169 -10403
  63. package/dist/hotel.js.br +0 -0
  64. package/dist/hotel.js.gz +0 -0
  65. package/dist/masonry.plugin-qpD7rOEC.js +8747 -0
  66. package/dist/masonry.plugin-qpD7rOEC.js.br +0 -0
  67. package/dist/masonry.plugin-qpD7rOEC.js.gz +0 -0
  68. package/dist/mitt-DrOLO7f9.js +9694 -0
  69. package/dist/mitt-DrOLO7f9.js.br +0 -0
  70. package/dist/mitt-DrOLO7f9.js.gz +0 -0
  71. package/dist/polyfill.js +9298 -11610
  72. package/dist/polyfill.js.br +0 -0
  73. package/dist/polyfill.js.gz +0 -0
  74. package/dist/style-CCnDB_V1.js +1709 -0
  75. package/dist/style-CCnDB_V1.js.br +0 -0
  76. package/dist/style-CCnDB_V1.js.gz +0 -0
  77. package/package.json +115 -118
  78. package/dist/ActionField-CjB94ywQ.js +0 -103
  79. package/dist/ActionField-CjB94ywQ.js.br +0 -0
  80. package/dist/ActionField-CjB94ywQ.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-GcNIEr0O.js +0 -346
  82. package/dist/AvailabilitySkeleton-GcNIEr0O.js.br +0 -0
  83. package/dist/AvailabilitySkeleton-GcNIEr0O.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js +0 -10311
  85. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.br +0 -0
  86. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.gz +0 -0
  87. package/dist/CheckoutWindow-jLe1mUEB.js +0 -668
  88. package/dist/CheckoutWindow-jLe1mUEB.js.br +0 -0
  89. package/dist/CheckoutWindow-jLe1mUEB.js.gz +0 -0
  90. package/dist/ErrorMessage-uA3IcjN_.js +0 -39
  91. package/dist/ErrorMessage-uA3IcjN_.js.br +0 -0
  92. package/dist/ErrorMessage-uA3IcjN_.js.gz +0 -0
  93. package/dist/EventAvailabilityForm-4m-RW0Lx.js +0 -119
  94. package/dist/EventAvailabilityForm-4m-RW0Lx.js.br +0 -0
  95. package/dist/EventAvailabilityForm-4m-RW0Lx.js.gz +0 -0
  96. package/dist/Field-D9fOd9ca.js +0 -44
  97. package/dist/Field-D9fOd9ca.js.br +0 -0
  98. package/dist/Field-D9fOd9ca.js.gz +0 -0
  99. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js +0 -21
  100. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.br +0 -5
  101. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.gz +0 -0
  102. package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js +0 -11918
  103. package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.br +0 -0
  104. package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.gz +0 -0
  105. package/dist/TermsOfService-CD3_lM8u.js +0 -28
  106. package/dist/TermsOfService-CD3_lM8u.js.br +0 -0
  107. package/dist/TermsOfService-CD3_lM8u.js.gz +0 -0
  108. package/dist/_-DeLqDsjZ.js +0 -5
  109. package/dist/_-DeLqDsjZ.js.br +0 -0
  110. package/dist/_-DeLqDsjZ.js.gz +0 -2
  111. package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js +0 -25
  112. package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.br +0 -0
  113. package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.gz +0 -0
  114. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
  115. package/dist/_commonjsHelpers-DaMA6jEr.js.br +0 -0
  116. package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
  117. package/dist/giftCard-G-zvnJVj.js +0 -109
  118. package/dist/giftCard-G-zvnJVj.js.br +0 -0
  119. package/dist/giftCard-G-zvnJVj.js.gz +0 -0
  120. package/dist/index-BEOLg3OJ.js +0 -639
  121. package/dist/index-BEOLg3OJ.js.br +0 -0
  122. package/dist/index-BEOLg3OJ.js.gz +0 -0
  123. package/dist/masonry.plugin-gbufcPfU.js +0 -10816
  124. package/dist/masonry.plugin-gbufcPfU.js.br +0 -0
  125. package/dist/masonry.plugin-gbufcPfU.js.gz +0 -0
  126. package/dist/mitt-Cj---5fy.js +0 -13346
  127. package/dist/mitt-Cj---5fy.js.br +0 -0
  128. package/dist/mitt-Cj---5fy.js.gz +0 -0
  129. package/dist/style-n4UQjvXd.js +0 -1750
  130. package/dist/style-n4UQjvXd.js.br +0 -0
  131. package/dist/style-n4UQjvXd.js.gz +0 -0
Binary file
Binary file
package/package.json CHANGED
@@ -1,118 +1,115 @@
1
- {
2
- "name": "@konnectio/core",
3
- "version": "4.4.9",
4
- "author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
5
- "homepage": "https://konnectio.com",
6
- "description": "Konnectio Core Frontend Integration.",
7
- "type": "module",
8
- "files": [
9
- "dist/*.js",
10
- "dist/*.gz",
11
- "dist/*.br",
12
- "dist/*.css",
13
- "!dist/index.*",
14
- "!dist/playground.*"
15
- ],
16
- "exports": {
17
- "./availability": "./dist/availability.js",
18
- "./hotel": "./dist/hotel.js",
19
- "./event": "./dist/event.js",
20
- "./gift-card": "./dist/gift-card.js",
21
- "./gift-card-validation": "./dist/gift-card-validation.js"
22
- },
23
- "scripts": {
24
- "dev": "vite",
25
- "prod": "vite build",
26
- "build": "vite build --config vite.config.js --mode production",
27
- "build:playground": "vite build --config vite.config.playground.js --mode production",
28
- "build:demo": "npm run build && npm run build:playground",
29
- "devprod": "vite build --mode development",
30
- "watch": "vite build --watch --mode development",
31
- "production": "vue-tsc --noEmit && vite build --mode production",
32
- "analysis": "vue-tsc --noEmit",
33
- "preview": "vite preview",
34
- "e2e": "cypress open"
35
- },
36
- "dependencies": {
37
- "@chenfengyuan/vue-number-input": "2.0.1",
38
- "@date-fns/tz": "1.4.1",
39
- "@egjs/flicking-plugins": "4.7.1",
40
- "@egjs/vue3-flicking": "4.15.0",
41
- "@flareapp/js": "1.1.0",
42
- "@flareapp/vite": "1.0.3",
43
- "@flareapp/vue": "1.0.1",
44
- "@fortawesome/fontawesome-pro": "7.2.0",
45
- "@fortawesome/fontawesome-svg-core": "7.2.0",
46
- "@fortawesome/free-brands-svg-icons": "7.2.0",
47
- "@fortawesome/pro-light-svg-icons": "7.2.0",
48
- "@fortawesome/pro-solid-svg-icons": "7.2.0",
49
- "@fortawesome/vue-fontawesome": "3.1.3",
50
- "@intlify/unplugin-vue-i18n": "11.0.7",
51
- "@types/leaflet": "1.9.21",
52
- "@unhead/vue": "2.1.2",
53
- "@vuepic/vue-datepicker": "12.1.0",
54
- "@vueuse/core": "14.2.1",
55
- "axios": "1.13.6",
56
- "core-js": "3.48.0",
57
- "cqfill": "0.6.1",
58
- "date-fns": "4.1.0",
59
- "floating-vue": "5.2.2",
60
- "leaflet": "1.9.4",
61
- "leaflet.markercluster": "1.5.3",
62
- "linkify-html": "4.3.2",
63
- "linkifyjs": "4.3.2",
64
- "mitt": "3.0.1",
65
- "pinia": "3.0.4",
66
- "postcss": "8.5.6",
67
- "recaptcha-v3": "1.11.3",
68
- "regenerator-runtime": "0.14.1",
69
- "resize-detector": "0.3.0",
70
- "text-clipper": "2.2.0",
71
- "vue": "3.5.28",
72
- "vue-gtag": "3.6.3",
73
- "vue-i18n": "11.2.8",
74
- "vue-inner-image-zoom": "3.0.2",
75
- "vue-masonry": "0.16.0",
76
- "vue-router": "4.6.4",
77
- "vue-select": "4.0.0-beta.6",
78
- "vue3-side-panel": "1.3.0",
79
- "vue3-sticky-directive": "0.0.2",
80
- "vue3-sticky-sidebar": "2.0.0"
81
- },
82
- "devDependencies": {
83
- "@babel/eslint-parser": "7.28.6",
84
- "@types/node": "25.2.3",
85
- "@typescript-eslint/eslint-plugin": "8.56.1",
86
- "@typescript-eslint/parser": "8.56.1",
87
- "@vitejs/plugin-vue": "6.0.4",
88
- "@vue/eslint-config-typescript": "14.7.0",
89
- "@vue/test-utils": "2.4.6",
90
- "cross-env": "10.1.0",
91
- "cypress": "15.9.0",
92
- "eslint": "9.39.2",
93
- "eslint-plugin-vue": "10.7.0",
94
- "sass": "1.97.3",
95
- "ts-node": "10.9.2",
96
- "tslib": "2.8.1",
97
- "typescript": "5.9.3",
98
- "vite": "7.3.1",
99
- "vite-plugin-compression2": "2.4.0",
100
- "vue-tsc": "3.2.4"
101
- },
102
- "contributors": [
103
- {
104
- "name": "Benjamin Bach Jensen",
105
- "email": "dev@dapperbenji.com",
106
- "url": "https://www.linkedin.com/in/benjamin-bach-jensen/"
107
- }
108
- ],
109
- "keywords": [
110
- "konnectio",
111
- "freshcase",
112
- "freshbooking",
113
- "wordpress",
114
- "booking",
115
- "octopus-pms",
116
- "hotel"
117
- ]
118
- }
1
+ {
2
+ "name": "@konnectio/core",
3
+ "version": "4.5.1",
4
+ "author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
5
+ "homepage": "https://konnectio.com",
6
+ "description": "Konnectio Core Frontend Integration.",
7
+ "type": "module",
8
+ "files": [
9
+ "dist/*.js",
10
+ "dist/*.gz",
11
+ "dist/*.br",
12
+ "dist/*.css",
13
+ "!dist/index.*",
14
+ "!dist/playground.*"
15
+ ],
16
+ "exports": {
17
+ "./availability": "./dist/availability.js",
18
+ "./hotel": "./dist/hotel.js",
19
+ "./event": "./dist/event.js",
20
+ "./gift-card": "./dist/gift-card.js",
21
+ "./gift-card-validation": "./dist/gift-card-validation.js"
22
+ },
23
+ "scripts": {
24
+ "dev": "vite",
25
+ "prod": "vite build",
26
+ "build": "vite build --config vite.config.js --mode production",
27
+ "build:playground": "vite build --config vite.config.playground.js --mode production",
28
+ "build:demo": "npm run build && npm run build:playground",
29
+ "devprod": "vite build --mode development",
30
+ "watch": "vite build --watch --mode development",
31
+ "production": "vue-tsc --noEmit && vite build --mode production",
32
+ "analysis": "vue-tsc --noEmit",
33
+ "preview": "vite preview",
34
+ "e2e": "cypress open"
35
+ },
36
+ "dependencies": {
37
+ "@chenfengyuan/vue-number-input": "2.0.1",
38
+ "@date-fns/tz": "1.4.1",
39
+ "@egjs/flicking-plugins": "4.7.1",
40
+ "@egjs/vue3-flicking": "4.15.0",
41
+ "@flareapp/js": "2.0.0",
42
+ "@flareapp/vite": "2.0.0",
43
+ "@flareapp/vue": "2.0.0",
44
+ "@fortawesome/fontawesome-pro": "7.2.0",
45
+ "@fortawesome/fontawesome-svg-core": "7.2.0",
46
+ "@fortawesome/free-brands-svg-icons": "7.2.0",
47
+ "@fortawesome/pro-light-svg-icons": "7.2.0",
48
+ "@fortawesome/pro-solid-svg-icons": "7.2.0",
49
+ "@fortawesome/vue-fontawesome": "3.2.0",
50
+ "@intlify/unplugin-vue-i18n": "11.2.0",
51
+ "@types/leaflet": "1.9.21",
52
+ "@unhead/vue": "2.1.2",
53
+ "@vuepic/vue-datepicker": "12.1.0",
54
+ "@vueuse/core": "14.3.0",
55
+ "axios": "1.16.1",
56
+ "core-js": "3.49.0",
57
+ "cqfill": "0.6.1",
58
+ "date-fns": "4.1.0",
59
+ "floating-vue": "5.2.2",
60
+ "leaflet": "1.9.4",
61
+ "leaflet.markercluster": "1.5.3",
62
+ "linkify-html": "4.3.3",
63
+ "linkifyjs": "4.3.3",
64
+ "mitt": "3.0.1",
65
+ "pinia": "3.0.4",
66
+ "postcss": "8.5.14",
67
+ "recaptcha-v3": "1.11.3",
68
+ "regenerator-runtime": "0.14.1",
69
+ "resize-detector": "0.3.0",
70
+ "vue": "3.5.29",
71
+ "vue-gtag": "3.7.1",
72
+ "vue-i18n": "11.4.2",
73
+ "vue-inner-image-zoom": "3.0.2",
74
+ "vue-masonry": "0.16.0",
75
+ "vue-router": "4.6.4",
76
+ "vue-select": "4.0.0-beta.6",
77
+ "vue3-side-panel": "1.3.0",
78
+ "vue3-sticky-directive": "0.0.2",
79
+ "vue3-sticky-sidebar": "2.0.0"
80
+ },
81
+ "devDependencies": {
82
+ "@types/node": "25.8.0",
83
+ "@typescript-eslint/eslint-plugin": "8.56.1",
84
+ "@typescript-eslint/parser": "8.56.1",
85
+ "@vitejs/plugin-vue": "6.0.7",
86
+ "@vue/eslint-config-typescript": "14.7.0",
87
+ "cross-env": "10.1.0",
88
+ "cypress": "15.15.0",
89
+ "eslint": "10.4.0",
90
+ "eslint-plugin-vue": "10.9.1",
91
+ "sass": "1.99.0",
92
+ "ts-node": "10.9.2",
93
+ "tslib": "2.8.1",
94
+ "typescript": "5.9.3",
95
+ "vite": "8.0.13",
96
+ "vite-plugin-compression2": "2.5.3",
97
+ "vue-tsc": "3.2.9"
98
+ },
99
+ "contributors": [
100
+ {
101
+ "name": "Benjamin Bach Jensen",
102
+ "email": "dev@dapperbenji.com",
103
+ "url": "https://www.linkedin.com/in/benjamin-bach-jensen/"
104
+ }
105
+ ],
106
+ "keywords": [
107
+ "konnectio",
108
+ "freshcase",
109
+ "freshbooking",
110
+ "wordpress",
111
+ "booking",
112
+ "octopus-pms",
113
+ "hotel"
114
+ ]
115
+ }
@@ -1,103 +0,0 @@
1
- import { d as V, c as d, a as i, g as u, w as v, e as x, f as q, b as y } from "./mitt-Cj---5fy.js";
2
- import { H as g, x as k, c as B, i as I, T as C, d as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js";
3
- const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ V({
4
- __name: "ActionField",
5
- props: {
6
- modelValue: {},
7
- label: {},
8
- inputType: { default: "text" },
9
- buttonLabel: {},
10
- buttonIcon: {},
11
- buttonIconColor: {},
12
- buttonDisabled: { type: Boolean, default: !1 },
13
- secondary: { type: Boolean, default: !1 },
14
- name: {},
15
- id: {},
16
- type: { default: "text" },
17
- placeholder: {},
18
- icon: {},
19
- iconType: { default: "fal" },
20
- required: { type: Boolean, default: !1 },
21
- readonly: { type: Boolean, default: !1 },
22
- data: {},
23
- action: {},
24
- minValue: {},
25
- maxValue: {},
26
- isLoading: { type: Boolean, default: !1 }
27
- },
28
- emits: ["update:modelValue", "action"],
29
- setup(e, { emit: f }) {
30
- const m = f, c = e, n = c.id || g();
31
- function s(l) {
32
- m("update:modelValue", l);
33
- }
34
- const o = y({
35
- get: () => c.modelValue,
36
- set: (l) => s(l)
37
- }), r = y({
38
- get: () => c.modelValue,
39
- set: (l) => s(l)
40
- });
41
- function b() {
42
- m("action");
43
- }
44
- return (l, a) => (i(), d(k, {
45
- label: e.label,
46
- id: u(n),
47
- icon: e.icon,
48
- "icon-type": e.iconType,
49
- required: e.required,
50
- type: e.type,
51
- readonly: e.readonly
52
- }, {
53
- default: v(() => [
54
- x("div", A, [
55
- e.type === "dropdown" && e.data ? (i(), d(B, {
56
- key: 0,
57
- modelValue: o.value,
58
- "onUpdate:modelValue": a[0] || (a[0] = (t) => o.value = t),
59
- id: u(n),
60
- options: e.data,
61
- name: e.name,
62
- required: e.required,
63
- placeholder: e.placeholder
64
- }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (i(), d(I, {
65
- key: 1,
66
- modelValue: r.value,
67
- "onUpdate:modelValue": a[1] || (a[1] = (t) => r.value = t),
68
- id: u(n),
69
- "min-value": e.minValue,
70
- "max-value": e.maxValue
71
- }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (i(), d(C, {
72
- key: 2,
73
- modelValue: o.value,
74
- "onUpdate:modelValue": a[2] || (a[2] = (t) => o.value = t),
75
- id: u(n),
76
- type: e.inputType,
77
- name: e.name,
78
- required: e.required,
79
- placeholder: e.placeholder,
80
- "no-optional-label": !0
81
- }, null, 8, ["modelValue", "id", "type", "name", "required", "placeholder"])),
82
- q(T, {
83
- "data-test": `${e.name}Submit`,
84
- icon: e.buttonIcon,
85
- label: e.buttonLabel,
86
- "icon-color": e.buttonIconColor,
87
- styling: e.action,
88
- type: "button",
89
- "is-loading": e.isLoading,
90
- disabled: e.buttonDisabled,
91
- secondary: e.secondary,
92
- onClickEvent: a[3] || (a[3] = (t) => b())
93
- }, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
94
- ])
95
- ]),
96
- _: 1
97
- }, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
98
- }
99
- }), U = /* @__PURE__ */ F(L, [["__scopeId", "data-v-1f49e3b0"]]);
100
- export {
101
- U as A
102
- };
103
- //# sourceMappingURL=ActionField-CjB94ywQ.js.map
Binary file
Binary file