@konnectio/core 4.4.8 → 4.5.0
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/dist/ActionField-X2QEHCxM.js +148 -0
- package/dist/ActionField-X2QEHCxM.js.br +0 -0
- package/dist/ActionField-X2QEHCxM.js.gz +0 -0
- package/dist/AvailabilitySkeleton-sfPLQyx0.js +10131 -0
- package/dist/AvailabilitySkeleton-sfPLQyx0.js.br +0 -0
- package/dist/AvailabilitySkeleton-sfPLQyx0.js.gz +0 -0
- package/dist/CheckoutWindow-BRnjOTlw.js +701 -0
- package/dist/CheckoutWindow-BRnjOTlw.js.br +0 -0
- package/dist/CheckoutWindow-BRnjOTlw.js.gz +0 -0
- package/dist/ErrorMessage-4qWixsXZ.js +31 -0
- package/dist/ErrorMessage-4qWixsXZ.js.br +0 -0
- package/dist/ErrorMessage-4qWixsXZ.js.gz +0 -0
- package/dist/EventAvailabilityForm-DAeAtR3I.js +114 -0
- package/dist/EventAvailabilityForm-DAeAtR3I.js.br +0 -0
- package/dist/EventAvailabilityForm-DAeAtR3I.js.gz +0 -0
- package/dist/Field-CyDf8ah0.js +57 -0
- package/dist/Field-CyDf8ah0.js.br +0 -0
- package/dist/Field-CyDf8ah0.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BPSy0THr.js +317 -0
- package/dist/HotelAvailabilityForm-BPSy0THr.js.br +0 -0
- package/dist/HotelAvailabilityForm-BPSy0THr.js.gz +0 -0
- package/dist/SelectField-CX4o6A18.js +11133 -0
- package/dist/SelectField-CX4o6A18.js.br +0 -0
- package/dist/SelectField-CX4o6A18.js.gz +0 -0
- package/dist/TermsOfService-CWjn_42W.js +17 -0
- package/dist/TermsOfService-CWjn_42W.js.br +5 -0
- package/dist/TermsOfService-CWjn_42W.js.gz +0 -0
- package/dist/_-qyWkj4S8.js +22 -0
- package/dist/_-qyWkj4S8.js.br +0 -0
- package/dist/_-qyWkj4S8.js.gz +0 -0
- package/dist/availability.js +99 -129
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +155 -158
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/chunk-BPfpcrXh.js +20 -0
- package/dist/chunk-BPfpcrXh.js.br +0 -0
- package/dist/chunk-BPfpcrXh.js.gz +2 -0
- package/dist/core.css +2 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js +43 -47
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/dist-CVBZ2agG.js +944 -0
- package/dist/dist-CVBZ2agG.js.br +0 -0
- package/dist/dist-CVBZ2agG.js.gz +0 -0
- package/dist/event.js +1069 -1192
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +114 -161
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +452 -451
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/giftCard-BrTMBQuW.js +101 -0
- package/dist/giftCard-BrTMBQuW.js.br +0 -0
- package/dist/giftCard-BrTMBQuW.js.gz +0 -0
- package/dist/hotel.js +8165 -10392
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/masonry.plugin-Doip-tm0.js +8747 -0
- package/dist/masonry.plugin-Doip-tm0.js.br +0 -0
- package/dist/masonry.plugin-Doip-tm0.js.gz +0 -0
- package/dist/mitt-DrOLO7f9.js +9694 -0
- package/dist/mitt-DrOLO7f9.js.br +0 -0
- package/dist/mitt-DrOLO7f9.js.gz +0 -0
- package/dist/polyfill.js +9298 -11610
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/style-k68BwP9N.js +1709 -0
- package/dist/style-k68BwP9N.js.br +0 -0
- package/dist/style-k68BwP9N.js.gz +0 -0
- package/package.json +24 -27
- package/dist/ActionField-DjYUsVEl.js +0 -103
- package/dist/ActionField-DjYUsVEl.js.br +0 -0
- package/dist/ActionField-DjYUsVEl.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js +0 -338
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.br +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js +0 -10188
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.gz +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js +0 -668
- package/dist/CheckoutWindow-B-HulkOw.js.br +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js.gz +0 -0
- package/dist/ErrorMessage-C-LZif3u.js +0 -39
- package/dist/ErrorMessage-C-LZif3u.js.br +0 -0
- package/dist/ErrorMessage-C-LZif3u.js.gz +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js +0 -119
- package/dist/EventAvailabilityForm-CdaoawQu.js.br +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js.gz +0 -0
- package/dist/Field-BxQDGBO6.js +0 -44
- package/dist/Field-BxQDGBO6.js.br +0 -0
- package/dist/Field-BxQDGBO6.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js +0 -21
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js +0 -11901
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.gz +0 -0
- package/dist/TermsOfService-9-UO5S3G.js +0 -28
- package/dist/TermsOfService-9-UO5S3G.js.br +0 -0
- package/dist/TermsOfService-9-UO5S3G.js.gz +0 -0
- package/dist/_-DgORUiWu.js +0 -5
- package/dist/_-DgORUiWu.js.br +0 -0
- package/dist/_-DgORUiWu.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js +0 -25
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.gz +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
- package/dist/_commonjsHelpers-DaMA6jEr.js.br +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
- package/dist/giftCard-D-f02FPM.js +0 -109
- package/dist/giftCard-D-f02FPM.js.br +0 -0
- package/dist/giftCard-D-f02FPM.js.gz +0 -0
- package/dist/index-CBRMHLd-.js +0 -639
- package/dist/index-CBRMHLd-.js.br +0 -0
- package/dist/index-CBRMHLd-.js.gz +0 -0
- package/dist/masonry.plugin-emIQEcmM.js +0 -10816
- package/dist/masonry.plugin-emIQEcmM.js.br +0 -0
- package/dist/masonry.plugin-emIQEcmM.js.gz +0 -0
- package/dist/mitt-Cj---5fy.js +0 -13346
- package/dist/mitt-Cj---5fy.js.br +0 -0
- package/dist/mitt-Cj---5fy.js.gz +0 -0
- package/dist/style-DLdT0Zxs.js +0 -1750
- package/dist/style-DLdT0Zxs.js.br +0 -0
- package/dist/style-DLdT0Zxs.js.gz +0 -0
|
@@ -0,0 +1,148 @@
|
|
|
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 } from "./mitt-DrOLO7f9.js";
|
|
2
|
+
import { S as c, W as l, _ as u, n as d, r as f, t as p, v as m } from "./SelectField-CX4o6A18.js";
|
|
3
|
+
//#region src/components/inputs/grouped/ActionField.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var h = { class: "konnectio-action-field" }, g = /* @__PURE__ */ c(/* @__PURE__ */ i({
|
|
5
|
+
__name: "ActionField",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
label: {},
|
|
9
|
+
inputType: { default: "text" },
|
|
10
|
+
buttonLabel: {},
|
|
11
|
+
buttonIcon: {},
|
|
12
|
+
buttonIconColor: {},
|
|
13
|
+
buttonDisabled: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
},
|
|
17
|
+
secondary: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
name: {},
|
|
22
|
+
id: {},
|
|
23
|
+
type: { default: "text" },
|
|
24
|
+
placeholder: {},
|
|
25
|
+
icon: {},
|
|
26
|
+
iconType: { default: "fal" },
|
|
27
|
+
required: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
},
|
|
31
|
+
readonly: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !1
|
|
34
|
+
},
|
|
35
|
+
data: {},
|
|
36
|
+
action: {},
|
|
37
|
+
minValue: {},
|
|
38
|
+
maxValue: {},
|
|
39
|
+
isLoading: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: !1
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
emits: ["update:modelValue", "action"],
|
|
45
|
+
setup(i, { emit: c }) {
|
|
46
|
+
let g = c, _ = i, v = _.id || l();
|
|
47
|
+
function y(e) {
|
|
48
|
+
g("update:modelValue", e);
|
|
49
|
+
}
|
|
50
|
+
let b = a({
|
|
51
|
+
get: () => _.modelValue,
|
|
52
|
+
set: (e) => y(e)
|
|
53
|
+
}), x = a({
|
|
54
|
+
get: () => _.modelValue,
|
|
55
|
+
set: (e) => y(e)
|
|
56
|
+
});
|
|
57
|
+
function S() {
|
|
58
|
+
g("action");
|
|
59
|
+
}
|
|
60
|
+
return (a, c) => (o(), e(u, {
|
|
61
|
+
label: i.label,
|
|
62
|
+
id: n(v),
|
|
63
|
+
icon: i.icon,
|
|
64
|
+
"icon-type": i.iconType,
|
|
65
|
+
required: i.required,
|
|
66
|
+
type: i.type,
|
|
67
|
+
readonly: i.readonly
|
|
68
|
+
}, {
|
|
69
|
+
default: s(() => [t("div", h, [i.type === "dropdown" && i.data ? (o(), e(p, {
|
|
70
|
+
key: 0,
|
|
71
|
+
modelValue: b.value,
|
|
72
|
+
"onUpdate:modelValue": c[0] ||= (e) => b.value = e,
|
|
73
|
+
id: n(v),
|
|
74
|
+
options: i.data,
|
|
75
|
+
name: i.name,
|
|
76
|
+
required: i.required,
|
|
77
|
+
placeholder: i.placeholder
|
|
78
|
+
}, null, 8, [
|
|
79
|
+
"modelValue",
|
|
80
|
+
"id",
|
|
81
|
+
"options",
|
|
82
|
+
"name",
|
|
83
|
+
"required",
|
|
84
|
+
"placeholder"
|
|
85
|
+
])) : i.type === "number" ? (o(), e(f, {
|
|
86
|
+
key: 1,
|
|
87
|
+
modelValue: x.value,
|
|
88
|
+
"onUpdate:modelValue": c[1] ||= (e) => x.value = e,
|
|
89
|
+
id: n(v),
|
|
90
|
+
"min-value": i.minValue,
|
|
91
|
+
"max-value": i.maxValue
|
|
92
|
+
}, null, 8, [
|
|
93
|
+
"modelValue",
|
|
94
|
+
"id",
|
|
95
|
+
"min-value",
|
|
96
|
+
"max-value"
|
|
97
|
+
])) : (o(), e(d, {
|
|
98
|
+
key: 2,
|
|
99
|
+
modelValue: b.value,
|
|
100
|
+
"onUpdate:modelValue": c[2] ||= (e) => b.value = e,
|
|
101
|
+
id: n(v),
|
|
102
|
+
type: i.inputType,
|
|
103
|
+
name: i.name,
|
|
104
|
+
required: i.required,
|
|
105
|
+
placeholder: i.placeholder,
|
|
106
|
+
"no-optional-label": !0
|
|
107
|
+
}, null, 8, [
|
|
108
|
+
"modelValue",
|
|
109
|
+
"id",
|
|
110
|
+
"type",
|
|
111
|
+
"name",
|
|
112
|
+
"required",
|
|
113
|
+
"placeholder"
|
|
114
|
+
])), r(m, {
|
|
115
|
+
"data-test": `${i.name}Submit`,
|
|
116
|
+
icon: i.buttonIcon,
|
|
117
|
+
label: i.buttonLabel,
|
|
118
|
+
"icon-color": i.buttonIconColor,
|
|
119
|
+
styling: i.action,
|
|
120
|
+
type: "button",
|
|
121
|
+
"is-loading": i.isLoading,
|
|
122
|
+
disabled: i.buttonDisabled,
|
|
123
|
+
secondary: i.secondary,
|
|
124
|
+
onClickEvent: c[3] ||= (e) => S()
|
|
125
|
+
}, null, 8, [
|
|
126
|
+
"data-test",
|
|
127
|
+
"icon",
|
|
128
|
+
"label",
|
|
129
|
+
"icon-color",
|
|
130
|
+
"styling",
|
|
131
|
+
"is-loading",
|
|
132
|
+
"disabled",
|
|
133
|
+
"secondary"
|
|
134
|
+
])])]),
|
|
135
|
+
_: 1
|
|
136
|
+
}, 8, [
|
|
137
|
+
"label",
|
|
138
|
+
"id",
|
|
139
|
+
"icon",
|
|
140
|
+
"icon-type",
|
|
141
|
+
"required",
|
|
142
|
+
"type",
|
|
143
|
+
"readonly"
|
|
144
|
+
]));
|
|
145
|
+
}
|
|
146
|
+
}), [["__scopeId", "data-v-18f51ff2"]]);
|
|
147
|
+
//#endregion
|
|
148
|
+
export { g as t };
|
|
Binary file
|
|
Binary file
|