@konnectio/core 4.0.56-rc5 → 4.0.56-rc7

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 (128) hide show
  1. package/dist/{ActionField--byx0Lp1.js → ActionField-i2xWkFyi.js} +1 -1
  2. package/dist/ActionField-i2xWkFyi.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-PWA_yfC-.js +214 -0
  4. package/dist/AvailabilitySkeleton-PWA_yfC-.js.br +0 -0
  5. package/dist/{CheckoutWindow-_ZUCAYgm.js → CheckoutWindow-k3-Mh7Mp.js} +17 -17
  6. package/dist/CheckoutWindow-k3-Mh7Mp.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js → DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js} +2910 -2918
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js.br +0 -0
  9. package/dist/{Field-GdMucFcQ.js → Field-f9KUVLIW.js} +7 -7
  10. package/dist/Field-f9KUVLIW.js.br +0 -0
  11. package/dist/SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js +30460 -0
  12. package/dist/SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js.br +0 -0
  13. package/dist/{ThankYou-9pzt2SfJ.js → ThankYou-cAeMnWCk.js} +4325 -4567
  14. package/dist/ThankYou-cAeMnWCk.js.br +0 -0
  15. package/dist/{_-5uiOrU07.js → _-SqGSx3KP.js} +1 -1
  16. package/dist/{_commonjsHelpers-4t9S7M5p.js → _commonjsHelpers-2ufMB8rV.js} +1 -1
  17. package/dist/availability.js +138 -108
  18. package/dist/availability.js.br +0 -0
  19. package/dist/components/Alert.vue.d.ts +4 -27
  20. package/dist/components/Clickable.vue.d.ts +4 -59
  21. package/dist/components/Container.vue.d.ts +4 -22
  22. package/dist/components/ErrorMessage.vue.d.ts +4 -14
  23. package/dist/components/Gallery.vue.d.ts +4 -30
  24. package/dist/components/GoogleNotice.vue.d.ts +4 -2
  25. package/dist/components/Icon.vue.d.ts +4 -37
  26. package/dist/components/Loading.vue.d.ts +4 -28
  27. package/dist/components/Spinner.vue.d.ts +3 -1
  28. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -17
  29. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -33
  30. package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -41
  31. package/dist/components/forms/MultiStepForm.vue.d.ts +4 -42
  32. package/dist/components/forms/ReservationForm.vue.d.ts +5 -62
  33. package/dist/components/forms/_.vue.d.ts +4 -42
  34. package/dist/components/inputs/Checkbox.vue.d.ts +4 -54
  35. package/dist/components/inputs/CheckboxField.vue.d.ts +4 -28
  36. package/dist/components/inputs/DateField.vue.d.ts +5 -104
  37. package/dist/components/inputs/InputField.vue.d.ts +4 -61
  38. package/dist/components/inputs/MediaSelector.vue.d.ts +4 -42
  39. package/dist/components/inputs/NumberField.vue.d.ts +5 -87
  40. package/dist/components/inputs/SelectField.vue.d.ts +5 -90
  41. package/dist/components/inputs/TextField.vue.d.ts +4 -67
  42. package/dist/components/inputs/TimeField.vue.d.ts +5 -44
  43. package/dist/components/inputs/grouped/ActionField.vue.d.ts +4 -71
  44. package/dist/components/inputs/grouped/CountryField.vue.d.ts +4 -40
  45. package/dist/components/inputs/grouped/NameField.vue.d.ts +4 -70
  46. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +4 -50
  47. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +4 -46
  48. package/dist/components/listings/Base.vue.d.ts +5 -55
  49. package/dist/components/listings/Event.vue.d.ts +4 -46
  50. package/dist/components/listings/Hotel.vue.d.ts +4 -15
  51. package/dist/components/listings/Template.vue.d.ts +4 -20
  52. package/dist/components/side-panels/Base.vue.d.ts +5 -60
  53. package/dist/components/side-panels/ListingInfo.vue.d.ts +4 -17
  54. package/dist/components/side-panels/Template.vue.d.ts +4 -17
  55. package/dist/components/side-panels/TermsOfService.vue.d.ts +4 -13
  56. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -32
  57. package/dist/components/skeletons/Field.vue.d.ts +4 -35
  58. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +4 -1
  59. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +4 -1
  60. package/dist/components/skeletons/Listing.vue.d.ts +4 -1
  61. package/dist/components/skeletons/Sidebar.vue.d.ts +4 -1
  62. package/dist/components/skeletons/_.vue.d.ts +4 -35
  63. package/dist/components/views/CheckoutWindow.vue.d.ts +4 -1
  64. package/dist/components/views/TermsOfService.vue.d.ts +4 -1
  65. package/dist/components/views/ThankYou.vue.d.ts +4 -14
  66. package/dist/event-WJGagPbM.js +328 -0
  67. package/dist/event-WJGagPbM.js.br +0 -0
  68. package/dist/event.js +431 -412
  69. package/dist/event.js.br +0 -0
  70. package/dist/favicon.ico +0 -0
  71. package/dist/gift-card-validation.js +77 -67
  72. package/dist/gift-card-validation.js.br +0 -0
  73. package/dist/gift-card.js +291 -312
  74. package/dist/gift-card.js.br +0 -0
  75. package/dist/hotel-z4fa3tEa.js +3101 -0
  76. package/dist/hotel-z4fa3tEa.js.br +0 -0
  77. package/dist/hotel.js +11 -3136
  78. package/dist/polyfill.js +159 -159
  79. package/dist/polyfill.js.br +0 -0
  80. package/dist/style.css +1 -1
  81. package/dist/style.css.br +0 -0
  82. package/package.json +14 -16
  83. package/dist/ActionField--byx0Lp1.js.br +0 -0
  84. package/dist/AvailabilitySkeleton-cL6E9wAp.js +0 -239
  85. package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
  86. package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
  87. package/dist/Container-6UeOakwz.js +0 -68
  88. package/dist/Container-6UeOakwz.js.br +0 -0
  89. package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
  90. package/dist/Field-GdMucFcQ.js.br +0 -5
  91. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js +0 -27240
  92. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
  93. package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
  94. package/dist/assets/typescript/mixins.d.ts +0 -34
  95. package/dist/availability.d.ts +0 -3
  96. package/dist/entries/availability.d.ts +0 -5
  97. package/dist/entries/event.d.ts +0 -2
  98. package/dist/entries/gift-card-validation.d.ts +0 -5
  99. package/dist/entries/gift-card.d.ts +0 -5
  100. package/dist/entries/hotel.d.ts +0 -5
  101. package/dist/entries/navigation.d.ts +0 -1
  102. package/dist/entries/polyfill.d.ts +0 -0
  103. package/dist/event-jnP6wH4w.js +0 -358
  104. package/dist/event-jnP6wH4w.js.br +0 -0
  105. package/dist/event.d.ts +0 -3
  106. package/dist/gift-card-validation.d.ts +0 -3
  107. package/dist/gift-card.d.ts +0 -3
  108. package/dist/hotel.d.ts +0 -3
  109. package/dist/hotel.js.br +0 -0
  110. package/dist/layouts/Availability.vue.d.ts +0 -25
  111. package/dist/layouts/Event.vue.d.ts +0 -18
  112. package/dist/layouts/GiftCard.vue.d.ts +0 -32
  113. package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
  114. package/dist/layouts/Hotel.vue.d.ts +0 -36
  115. package/dist/layouts/_.vue.d.ts +0 -39
  116. package/dist/navigation.d.ts +0 -1
  117. package/dist/plugins/i18n.d.ts +0 -5
  118. package/dist/polyfill.d.ts +0 -1
  119. package/dist/store/alert.d.ts +0 -28
  120. package/dist/store/applyGiftCard.d.ts +0 -28
  121. package/dist/store/availability.d.ts +0 -40
  122. package/dist/store/event.d.ts +0 -683
  123. package/dist/store/giftCard.d.ts +0 -83
  124. package/dist/store/payment.d.ts +0 -139
  125. package/dist/store/recaptcha.d.ts +0 -28
  126. package/dist/store/tracking.d.ts +0 -57
  127. package/dist/store/utilities.d.ts +0 -350
  128. package/dist/types/index.d.ts +0 -976
package/dist/style.css.br CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konnectio/core",
3
- "version": "4.0.56-rc5",
3
+ "version": "4.0.56-rc7",
4
4
  "author": "Konnectio <info@freshcase.dk> (https://konnectio.dk)",
5
5
  "homepage": "https://konnectio.dk",
6
6
  "description": "Konnectio Core Frontend Integration.",
@@ -37,15 +37,14 @@
37
37
  "@fortawesome/pro-solid-svg-icons": "6.5.1",
38
38
  "@fortawesome/vue-fontawesome": "3.0.5",
39
39
  "@intlify/unplugin-vue-i18n": "2.0.0",
40
- "@unhead/vue": "1.8.9",
40
+ "@unhead/vue": "1.8.10",
41
41
  "@vuepic/vue-datepicker": "7.4.1",
42
42
  "@vueup/vue-quill": "1.2.0",
43
- "@vueuse/core": "10.7.1",
43
+ "@vueuse/core": "10.7.2",
44
44
  "axios": "1.6.5",
45
- "core-js": "3.35.0",
45
+ "core-js": "3.35.1",
46
46
  "cqfill": "0.6.1",
47
- "dotenv": "^16.3.1",
48
- "floating-vue": "5.0.3",
47
+ "floating-vue": "5.2.0",
49
48
  "linkify-html": "4.1.3",
50
49
  "linkifyjs": "4.1.3",
51
50
  "pinia": "2.1.7",
@@ -53,12 +52,12 @@
53
52
  "recaptcha-v3": "1.10.0",
54
53
  "regenerator-runtime": "0.14.1",
55
54
  "text-clipper": "2.2.0",
56
- "vue": "3.3.10",
55
+ "vue": "^3.3.10",
57
56
  "vue-gtag": "2.0.1",
58
57
  "vue-i18n": "9.9.0",
59
58
  "vue-inner-image-zoom": "2.0.0",
60
59
  "vue-masonry": "0.16.0",
61
- "vue-router": "^4.2.5",
60
+ "vue-router": "4.2.5",
62
61
  "vue-select": "4.0.0-beta.6",
63
62
  "vue3-side-panel": "1.3.0",
64
63
  "vue3-sticky-sidebar": "2.0.0",
@@ -67,24 +66,23 @@
67
66
  "devDependencies": {
68
67
  "@babel/eslint-parser": "7.23.3",
69
68
  "@originjs/vite-plugin-commonjs": "1.0.3",
70
- "@types/node": "20.11.0",
71
- "@typescript-eslint/eslint-plugin": "6.18.1",
72
- "@typescript-eslint/parser": "6.18.1",
69
+ "@types/node": "20.11.5",
70
+ "@typescript-eslint/eslint-plugin": "6.19.0",
71
+ "@typescript-eslint/parser": "6.19.0",
73
72
  "@vitejs/plugin-vue": "5.0.3",
74
73
  "@vue/eslint-config-typescript": "12.0.0",
75
74
  "@vue/test-utils": "2.4.3",
76
75
  "cross-env": "7.0.3",
77
- "cypress": "13.6.2",
76
+ "cypress": "13.6.3",
78
77
  "eslint": "8.56.0",
79
- "eslint-plugin-vue": "9.19.2",
78
+ "eslint-plugin-vue": "9.20.1",
80
79
  "rollup-plugin-typescript2": "0.36.0",
81
- "sass": "1.69.7",
80
+ "sass": "1.70.0",
82
81
  "ts-node": "10.9.2",
83
82
  "tslib": "2.6.2",
84
83
  "typescript": "5.3.3",
85
- "vite": "5.0.11",
84
+ "vite": "5.0.12",
86
85
  "vite-plugin-compression": "0.5.1",
87
- "vite-plugin-dts": "3.7.0",
88
86
  "vue-tsc": "1.8.27"
89
87
  },
90
88
  "peerDependencies": {
Binary file
@@ -1,239 +0,0 @@
1
- import { k as L, r as M, c as J, o as t, l as u, D as Y, N as Z, F as ee, s as A, aa as N, ab as E, f as v, a2 as H, B as ae, m as g, w as le, x as $, z as e, p as o, J as k, y as te, n as y, a3 as I, T as z, A as O, C as T, q as S, h as ie, _ as j } from "./SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js";
2
- import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js";
3
- import { E as q } from "./_-5uiOrU07.js";
4
- import { F as f } from "./Field-GdMucFcQ.js";
5
- const oe = /* @__PURE__ */ L({
6
- __name: "_",
7
- props: {
8
- type: { default: "submit" }
9
- },
10
- emits: ["submit"],
11
- setup(h, { emit: a }) {
12
- const n = M(!1), r = a, c = h, { verifyRecaptcha: d } = J();
13
- function p() {
14
- n.value = !0, d({
15
- callback: D,
16
- type: c.type
17
- }).then(() => n.value = !1);
18
- }
19
- function D() {
20
- r("submit");
21
- }
22
- return (V, R) => (t(), u("form", {
23
- onSubmit: Z(p, ["prevent"])
24
- }, [
25
- Y(V.$slots, "default", { isLoading: n.value })
26
- ], 32));
27
- }
28
- }), se = {
29
- key: 0,
30
- class: "konnectio-availability-location"
31
- }, re = { id: "fresh-booking-availability-date-selection" }, ue = {
32
- key: 1,
33
- id: "fresh-booking-availability-guest-selection"
34
- }, ce = { id: "fresh-booking-availability-confirmation" }, de = /* @__PURE__ */ L({
35
- __name: "HotelAvailabilityForm",
36
- props: {
37
- booking: { type: Boolean, default: !1 },
38
- link: {}
39
- },
40
- setup(h) {
41
- const { t: a } = ee(), n = h, {
42
- adults: r,
43
- children: c,
44
- arrivalDate: d,
45
- departureDate: p,
46
- location: D,
47
- isExpired: V
48
- } = A(N()), { reset: R } = N(), { fetchAvailabilityData: G } = E(), { areListingsLoading: U, hotelList: K, hasHotelList: _ } = A(E()), {
49
- firstSelectableDateOffset: B,
50
- lastSelectableDateOffset: C,
51
- disableChildSelection: b,
52
- disableAdultSelection: m
53
- } = A(J()), w = M([]), P = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (B.value - 1)))), fe = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + C.value))), ye = v(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + B.value))), Q = v(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + (C.value + 1)))), x = v(() => !(!m && r.value === 0)), W = v(() => typeof n.link != "string");
54
- function X() {
55
- if (n.booking === !1)
56
- if (W.value) {
57
- const s = ie();
58
- n.link[s] ? window.location.replace(n.link[s]) : n.link.en ? window.location.replace(n.link.en) : console.log("Sprog understøttes ikke");
59
- } else
60
- window.location.replace(n.link);
61
- else
62
- x.value && G();
63
- }
64
- return H(d, (s) => {
65
- const l = new Date(new Date(s).setDate(new Date(s).getDate() + 1));
66
- new Date(p.value) < l && (p.value = l);
67
- }), H(w, (s) => {
68
- d.value = s[0], p.value = s[1];
69
- }), ae(() => {
70
- V.value && R(), w.value = [d.value, p.value];
71
- }), (s, l) => (t(), g(oe, {
72
- id: "konnectio-availability-form",
73
- class: S({ reservation: s.booking }),
74
- type: "availability",
75
- onSubmit: X
76
- }, {
77
- default: le(({ isLoading: F }) => [
78
- $("ul", {
79
- id: "konnectio-availability-form-content",
80
- class: S([
81
- { "is-booking-page": s.booking },
82
- { "only-adult-guests": !e(m) && e(b) },
83
- { "only-child-guests": !e(b) && e(m) },
84
- { "no-guests": e(m) && e(b) },
85
- { "all-guests": !e(m) && !e(b) },
86
- { "has-location": e(_) }
87
- ])
88
- }, [
89
- e(_) ? (t(), u("li", se, [
90
- o(te, {
91
- modelValue: e(D),
92
- "onUpdate:modelValue": l[0] || (l[0] = (i) => k(D) ? D.value = i : null),
93
- label: e(a)("general.location"),
94
- icon: "location-dot",
95
- "icon-type": "fas",
96
- "icon-placement": "label",
97
- options: e(K),
98
- searchable: !1
99
- }, null, 8, ["modelValue", "label", "options"])
100
- ])) : y("", !0),
101
- $("li", re, [
102
- o(ne, {
103
- modelValue: w.value,
104
- "onUpdate:modelValue": l[1] || (l[1] = (i) => w.value = i),
105
- label: e(a)("availability.checkInOut"),
106
- "icon-type": "fas",
107
- "icon-placement": "label",
108
- "min-range": 1,
109
- "min-date": P.value,
110
- "max-date": Q.value,
111
- range: ""
112
- }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
113
- y("", !0)
114
- ]),
115
- !e(m) || !e(b) ? (t(), u("li", ue, [
116
- e(m) ? y("", !0) : (t(), u(I, { key: 0 }, [
117
- e(_) ? (t(), g(z, {
118
- key: 0,
119
- modelValue: e(r),
120
- "onUpdate:modelValue": l[4] || (l[4] = (i) => k(r) ? r.value = i : null),
121
- label: e(a)("availability.adults"),
122
- description: e(a)("general.adultAgeRange"),
123
- "icon-type": "fas",
124
- "icon-placement": "label",
125
- name: "adults",
126
- icon: "male"
127
- }, null, 8, ["modelValue", "label", "description"])) : (t(), g(O, {
128
- key: 1,
129
- modelValue: e(r),
130
- "onUpdate:modelValue": l[5] || (l[5] = (i) => k(r) ? r.value = i : null),
131
- label: e(a)("availability.adults"),
132
- description: e(a)("general.adultAgeRange"),
133
- "icon-type": "fas",
134
- "icon-placement": "label",
135
- name: "adults",
136
- icon: "male"
137
- }, null, 8, ["modelValue", "label", "description"]))
138
- ], 64)),
139
- e(b) ? y("", !0) : (t(), u(I, { key: 1 }, [
140
- e(_) ? (t(), g(z, {
141
- key: 0,
142
- modelValue: e(c),
143
- "onUpdate:modelValue": l[6] || (l[6] = (i) => k(c) ? c.value = i : null),
144
- label: e(a)("availability.children"),
145
- description: e(a)("general.childAgeRange"),
146
- "icon-type": "fas",
147
- "icon-placement": "label",
148
- name: "children",
149
- icon: "child"
150
- }, null, 8, ["modelValue", "label", "description"])) : (t(), g(O, {
151
- key: 1,
152
- modelValue: e(c),
153
- "onUpdate:modelValue": l[7] || (l[7] = (i) => k(c) ? c.value = i : null),
154
- label: e(a)("availability.children"),
155
- description: e(a)("general.childAgeRange"),
156
- "icon-type": "fas",
157
- "icon-placement": "label",
158
- name: "children",
159
- icon: "child"
160
- }, null, 8, ["modelValue", "label", "description"]))
161
- ], 64))
162
- ])) : y("", !0),
163
- $("li", ce, [
164
- o(T, {
165
- class: "konnectio-availability-submit-small",
166
- type: "submit",
167
- icon: "search",
168
- "icon-type": "fas",
169
- disabled: !x.value,
170
- "is-loading": e(U) || F
171
- }, null, 8, ["disabled", "is-loading"]),
172
- o(T, {
173
- class: "konnectio-availability-submit-large",
174
- type: "submit",
175
- label: e(a)("availability.buttonLabel"),
176
- disabled: !x.value,
177
- "is-loading": e(U) || F
178
- }, null, 8, ["label", "disabled", "is-loading"])
179
- ])
180
- ], 2)
181
- ]),
182
- _: 1
183
- }, 8, ["class"]));
184
- }
185
- }), _e = /* @__PURE__ */ j(de, [["__scopeId", "data-v-9ec1beba"]]), me = { class: "availability-skeleton" }, pe = {
186
- key: 0,
187
- class: "availability-skeleton-navigation"
188
- }, be = {
189
- key: 2,
190
- class: "availability-skeleton-event"
191
- }, ve = /* @__PURE__ */ L({
192
- __name: "AvailabilitySkeleton",
193
- props: {
194
- view: { default: "hotel" },
195
- hotel: { type: Boolean, default: !1 }
196
- },
197
- setup(h) {
198
- return (a, n) => (t(), u("div", me, [
199
- a.view === "both" ? (t(), u("div", pe, [
200
- o(q, {
201
- height: "28px",
202
- width: "60px",
203
- "border-radius": "20px"
204
- }),
205
- o(q, {
206
- height: "28px",
207
- width: "60px",
208
- "border-radius": "20px"
209
- })
210
- ])) : y("", !0),
211
- a.view !== "event" ? (t(), u("div", {
212
- key: 1,
213
- class: S([
214
- "availability-skeleton-hotel",
215
- { "within-hotel": a.hotel }
216
- ])
217
- }, [
218
- o(f, { "with-icon": "" }),
219
- o(f, { "with-icon": "" }),
220
- o(f, { "with-icon": "" }),
221
- o(f, {
222
- "with-icon": "",
223
- "no-label": ""
224
- })
225
- ], 2)) : (t(), u("div", be, [
226
- o(f, { "with-icon": "" }),
227
- o(f, {
228
- "with-icon": "",
229
- "no-label": ""
230
- })
231
- ]))
232
- ]));
233
- }
234
- }), we = /* @__PURE__ */ j(ve, [["__scopeId", "data-v-be195a3f"]]);
235
- export {
236
- we as A,
237
- _e as H,
238
- oe as _
239
- };
Binary file
@@ -1,68 +0,0 @@
1
- var u = Object.defineProperty;
2
- var n = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
4
- var a = (r, t, o) => t in r ? u(r, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[t] = o, l = (r, t) => {
5
- for (var o in t || (t = {}))
6
- p.call(t, o) && a(r, o, t[o]);
7
- if (n)
8
- for (var o of n(t))
9
- d.call(t, o) && a(r, o, t[o]);
10
- return r;
11
- };
12
- import { k as s, f as i, B as c, o as y, l as b, D as P, _ as C } from "./SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js";
13
- const g = { class: "konnectio-container" }, v = /* @__PURE__ */ s({
14
- __name: "Container",
15
- props: {
16
- styling: {}
17
- },
18
- setup(r) {
19
- const t = r, o = i(() => l({
20
- accentColor: "#6ab1e6",
21
- accentColorSecondary: "#dae9f8",
22
- buttonBackground: "#6ab1e6",
23
- buttonBorder: null,
24
- buttonBorderRadius: "4px",
25
- buttonColor: "#FFF",
26
- buttonFontFamily: "inherit",
27
- buttonFontSize: "14px",
28
- buttonFontWeight: "400",
29
- buttonIconColor: "#FFF",
30
- buttonTextTransform: "uppercase",
31
- dangerColor: "red",
32
- fontColor: "#3b3b3b",
33
- fontFamily: "inherit",
34
- fontSize: "16px",
35
- grayColor: "grey",
36
- headerColor: "#000",
37
- inputBorder: "1px solid rgba(0, 0, 0, 0.15)",
38
- inputBackground: "#f8f8f8",
39
- inputBorderWidth: "0px 0px 1px",
40
- inputBorderRadius: "6px",
41
- inputFontColor: "#000000",
42
- labelFontColor: "#000000",
43
- labelFontWeight: "bold",
44
- labelFontSize: "15px",
45
- labelPadding: "6px",
46
- linkColor: "#5d6dca",
47
- linkHoverColor: "#2e3d90",
48
- loadingColor: "#000",
49
- panelBackground: "#ffffff",
50
- panelBorder: null,
51
- panelBorderRadius: "5px",
52
- panelInnerPadding: "12px",
53
- panelMaxWidth: "none",
54
- panelPadding: "24px",
55
- panelShadow: "0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
56
- successColor: "green"
57
- }, t.styling));
58
- return c(() => {
59
- const e = document.documentElement.style;
60
- e.setProperty("--accentColor", o.value.accentColor), e.setProperty("--accentColorSecondary", o.value.accentColorSecondary), e.setProperty("--buttonBackground", o.value.buttonBackground), e.setProperty("--buttonBorder", o.value.buttonBorder), e.setProperty("--buttonBorderRadius", o.value.buttonBorderRadius), e.setProperty("--buttonColor", o.value.buttonColor), e.setProperty("--buttonFontFamily", o.value.buttonFontFamily), e.setProperty("--buttonFontSize", o.value.buttonFontSize), e.setProperty("--buttonFontWeight", o.value.buttonFontWeight), e.setProperty("--buttonTextTransform", o.value.buttonTextTransform), e.setProperty("--dangerColor", o.value.dangerColor), e.setProperty("--fontColor", o.value.fontColor), e.setProperty("--fontFamily", o.value.fontFamily), e.setProperty("--fontSize", o.value.fontSize), e.setProperty("--grayColor", o.value.grayColor), e.setProperty("--headerColor", o.value.headerColor), e.setProperty("--inputBackground", o.value.inputBackground), e.setProperty("--inputBorder", o.value.inputBorder), e.setProperty("--inputBorderRadius", o.value.inputBorderRadius), e.setProperty("--inputBorderWidth", o.value.inputBorderWidth), e.setProperty("--inputFontColor", o.value.inputFontColor), e.setProperty("--labelFontColor", o.value.labelFontColor), e.setProperty("--labelFontWeight", o.value.labelFontWeight), e.setProperty("--labelFontSize", o.value.labelFontSize), e.setProperty("--labelPadding", o.value.labelPadding), e.setProperty("--linkColor", o.value.linkColor), e.setProperty("--linkHoverColor", o.value.linkHoverColor), e.setProperty("--loadingColor", o.value.loadingColor), e.setProperty("--panelBackground", o.value.panelBackground), e.setProperty("--panelBorder", o.value.panelBorder), e.setProperty("--panelBorderRadius", o.value.panelBorderRadius), e.setProperty("--panelInnerPadding", o.value.panelInnerPadding), e.setProperty("--panelMaxWidth", o.value.panelMaxWidth), e.setProperty("--panelPadding", o.value.panelPadding), e.setProperty("--panelShadow", o.value.panelShadow), e.setProperty("--successColor", o.value.successColor);
61
- }), (e, B) => (y(), b("div", g, [
62
- P(e.$slots, "default", {}, void 0, !0)
63
- ]));
64
- }
65
- }), x = /* @__PURE__ */ C(v, [["__scopeId", "data-v-b8c97ab0"]]);
66
- export {
67
- x as C
68
- };
Binary file
@@ -1,5 +0,0 @@
1
- � ��8&�bk~L��,��� 4IM�7�ԮF�HM(�~mu�t�B*f�Z"��kG�$hd~�X� G� ����:
2
- �LqP�w&o�R�7����o �v5`FC�h�.E�����At�iI^c17���h�Q-p�6|.����8�۩?���
3
- �o�z����ӴoffG�^@7��s[�I<�Y�#���of3#��@n��X� D��j��
4
- � �ӷ���=��ڸ]�)[�c��6H��s�v%��gj�O��*O l�)yY�x�ȿ-��p|Y��?���.�_ѢXy"����/��u��/`�315�MX?��鑥������Q�O�K��s���)�JA�?��VS�VI����5�%Q���I�Es�y�+����ƛnw;?˥�#�2j�61�e��x
5
- *g�A�|�`f�ڛ�%'�@�k��ͧ�SIϽ�sT���A��,��)�Tp�)�\qM������t�dr%_X�J�U*�2���BfeK����B