@utrecht/component-library-vue 1.0.0-alpha.31 → 1.0.0-alpha.310

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 (83) hide show
  1. package/dist/.jest-test-results.json +1 -0
  2. package/dist/AlertDialog.vue.d.ts +25 -0
  3. package/dist/Article.vue.d.ts +2 -0
  4. package/dist/BadgeCounter.vue.d.ts +16 -0
  5. package/dist/BadgeStatus.vue.d.ts +18 -0
  6. package/dist/BreadcrumbLink.vue.d.ts +55 -0
  7. package/dist/BreadcrumbNav.vue.d.ts +48 -0
  8. package/dist/Button.vue.d.ts +52 -0
  9. package/dist/ButtonGroup.vue.d.ts +2 -0
  10. package/dist/Checkbox.vue.d.ts +38 -0
  11. package/dist/Code.vue.d.ts +2 -0
  12. package/dist/CodeBlock.vue.d.ts +2 -0
  13. package/dist/DataList.vue.d.ts +16 -0
  14. package/dist/DataListActions.vue.d.ts +2 -0
  15. package/dist/DataListItem.vue.d.ts +2 -0
  16. package/dist/DataListKey.vue.d.ts +2 -0
  17. package/dist/DataListValue.vue.d.ts +47 -0
  18. package/dist/Document.vue.d.ts +2 -0
  19. package/dist/Emphasis.vue.d.ts +2 -0
  20. package/dist/Figure.vue.d.ts +2 -0
  21. package/dist/FigureCaption.vue.d.ts +2 -0
  22. package/dist/FormField.vue.d.ts +29 -0
  23. package/dist/FormFieldset.vue.d.ts +93 -0
  24. package/dist/FormFieldsetLegend.vue.d.ts +2 -0
  25. package/dist/FormLabel.vue.d.ts +40 -0
  26. package/dist/Heading.vue.d.ts +16 -0
  27. package/dist/Heading1.vue.d.ts +2 -0
  28. package/dist/Heading2.vue.d.ts +2 -0
  29. package/dist/Heading3.vue.d.ts +2 -0
  30. package/dist/Heading4.vue.d.ts +2 -0
  31. package/dist/Heading5.vue.d.ts +2 -0
  32. package/dist/Heading6.vue.d.ts +2 -0
  33. package/dist/Image.vue.d.ts +16 -0
  34. package/dist/Link.vue.d.ts +16 -0
  35. package/dist/LinkSocial.vue.d.ts +16 -0
  36. package/dist/ListSocial.vue.d.ts +16 -0
  37. package/dist/ListSocialItem.vue.d.ts +2 -0
  38. package/dist/NumberValue.vue.d.ts +16 -0
  39. package/dist/OrderedList.vue.d.ts +2 -0
  40. package/dist/OrderedListItem.vue.d.ts +2 -0
  41. package/dist/Page.vue.d.ts +2 -0
  42. package/dist/PageContent.vue.d.ts +2 -0
  43. package/dist/PageFooter.vue.d.ts +2 -0
  44. package/dist/PageHeader.vue.d.ts +2 -0
  45. package/dist/Paragraph.vue.d.ts +27 -0
  46. package/dist/RadioButton.vue.d.ts +27 -0
  47. package/dist/Select.vue.d.ts +44 -0
  48. package/dist/Separator.vue.d.ts +2 -0
  49. package/dist/SkipLink.vue.d.ts +16 -0
  50. package/dist/Strong.vue.d.ts +2 -0
  51. package/dist/Table.vue.d.ts +2 -0
  52. package/dist/TableBody.vue.d.ts +2 -0
  53. package/dist/TableCaption.vue.d.ts +2 -0
  54. package/dist/TableCell.vue.d.ts +2 -0
  55. package/dist/TableFooter.vue.d.ts +2 -0
  56. package/dist/TableHeader.vue.d.ts +2 -0
  57. package/dist/TableHeaderCell.vue.d.ts +2 -0
  58. package/dist/TableRow.vue.d.ts +2 -0
  59. package/dist/Textarea.vue.d.ts +38 -0
  60. package/dist/Textbox.vue.d.ts +38 -0
  61. package/dist/URLValue.vue.d.ts +2 -0
  62. package/dist/UnorderedList.vue.d.ts +2 -0
  63. package/dist/UnorderedListItem.vue.d.ts +2 -0
  64. package/dist/component-library-vue.mjs +1055 -0
  65. package/dist/component-library-vue.umd.js +4 -1
  66. package/dist/helpers/microdata.d.ts +6 -0
  67. package/dist/helpers/modelWrapper.d.ts +1 -0
  68. package/dist/index.d.ts +62 -29
  69. package/dist/style.css +35 -46
  70. package/package.json +34 -25
  71. package/dist/UtrechtBadgeStatus.vue.d.ts +0 -12
  72. package/dist/UtrechtButton.vue.d.ts +0 -39
  73. package/dist/UtrechtCheckbox.vue.d.ts +0 -67
  74. package/dist/UtrechtFormLabel.vue.d.ts +0 -31
  75. package/dist/UtrechtHeading.vue.d.ts +0 -12
  76. package/dist/UtrechtLink.vue.d.ts +0 -14
  77. package/dist/UtrechtParagraph.vue.d.ts +0 -14
  78. package/dist/UtrechtRadioButton.vue.d.ts +0 -64
  79. package/dist/UtrechtSelect.vue.d.ts +0 -51
  80. package/dist/UtrechtSelectOption.vue.d.ts +0 -14
  81. package/dist/UtrechtTextarea.vue.d.ts +0 -59
  82. package/dist/UtrechtTextbox.vue.d.ts +0 -59
  83. package/dist/component-library-vue.es.js +0 -623
@@ -1,623 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { openBlock, createElementBlock, renderSlot, defineComponent, normalizeClass } from "vue";
21
- var index_scss_vue_type_style_index_0_src_ef9a24a0_lang = "";
22
- var _export_sfc = (sfc, props) => {
23
- const target = sfc.__vccOpts || sfc;
24
- for (const [key, val] of props) {
25
- target[key] = val;
26
- }
27
- return target;
28
- };
29
- const _sfc_main$r = {};
30
- const _hoisted_1$n = { class: "utrecht-article" };
31
- function _sfc_render$f(_ctx, _cache) {
32
- return openBlock(), createElementBlock("article", _hoisted_1$n, [
33
- renderSlot(_ctx.$slots, "default")
34
- ]);
35
- }
36
- var UtrechtArticle = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$f]]);
37
- var index_scss_vue_type_style_index_0_src_70491734_lang = "";
38
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
39
- __name: "UtrechtBadgeStatus",
40
- props: {
41
- status: null
42
- },
43
- setup(__props) {
44
- return (_ctx, _cache) => {
45
- return openBlock(), createElementBlock("span", {
46
- class: normalizeClass(["utrecht-badge-status", {
47
- ["utrecht-badge--" + __props.status]: true
48
- }])
49
- }, [
50
- renderSlot(_ctx.$slots, "default")
51
- ], 2);
52
- };
53
- }
54
- });
55
- var index_scss_vue_type_style_index_0_src_527c33ba_lang = "";
56
- const _hoisted_1$m = ["aria-busy", "disabled", "type"];
57
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
58
- __name: "UtrechtButton",
59
- props: {
60
- appearance: null,
61
- busy: { type: Boolean },
62
- disabled: { type: Boolean },
63
- type: null
64
- },
65
- setup(__props) {
66
- return (_ctx, _cache) => {
67
- return openBlock(), createElementBlock("button", {
68
- class: normalizeClass(["utrecht-button", {
69
- "utrecht-button--busy": __props.busy,
70
- "utrecht-button--disabled": __props.disabled,
71
- "utrecht-button--primary-action": __props.appearance === "primary-action-button",
72
- "utrecht-button--secondary-action": __props.appearance === "secondary-action-button",
73
- "utrecht-button--submit": __props.type === "submit",
74
- "utrecht-button--subtle": __props.appearance === "subtle-button"
75
- }]),
76
- "aria-busy": __props.busy || void 0,
77
- disabled: __props.disabled,
78
- type: __props.type || "button"
79
- }, [
80
- renderSlot(_ctx.$slots, "default")
81
- ], 10, _hoisted_1$m);
82
- };
83
- }
84
- });
85
- var index_scss_vue_type_style_index_0_src_2303b246_lang = "";
86
- const _sfc_main$o = {};
87
- const _hoisted_1$l = { class: "utrecht-button-group" };
88
- function _sfc_render$e(_ctx, _cache) {
89
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
90
- renderSlot(_ctx.$slots, "default")
91
- ]);
92
- }
93
- var UtrechtButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$e]]);
94
- function looseCompareArrays(a, b) {
95
- if (a.length !== b.length)
96
- return false;
97
- let equal = true;
98
- for (let i = 0; equal && i < a.length; i++) {
99
- equal = looseEqual(a[i], b[i]);
100
- }
101
- return equal;
102
- }
103
- function looseEqual(a, b) {
104
- if (a === b)
105
- return true;
106
- let aValidType = isDate(a);
107
- let bValidType = isDate(b);
108
- if (aValidType || bValidType) {
109
- return aValidType && bValidType ? a.getTime() === b.getTime() : false;
110
- }
111
- aValidType = isSymbol(a);
112
- bValidType = isSymbol(b);
113
- if (aValidType || bValidType) {
114
- return a === b;
115
- }
116
- aValidType = isArray(a);
117
- bValidType = isArray(b);
118
- if (aValidType || bValidType) {
119
- return aValidType && bValidType ? looseCompareArrays(a, b) : false;
120
- }
121
- aValidType = isObject(a);
122
- bValidType = isObject(b);
123
- if (aValidType || bValidType) {
124
- if (!aValidType || !bValidType) {
125
- return false;
126
- }
127
- const aKeysCount = Object.keys(a).length;
128
- const bKeysCount = Object.keys(b).length;
129
- if (aKeysCount !== bKeysCount) {
130
- return false;
131
- }
132
- for (const key in a) {
133
- const aHasKey = a.hasOwnProperty(key);
134
- const bHasKey = b.hasOwnProperty(key);
135
- if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {
136
- return false;
137
- }
138
- }
139
- }
140
- return String(a) === String(b);
141
- }
142
- const isArray = Array.isArray;
143
- const isDate = (val) => toTypeString(val) === "[object Date]";
144
- const isSymbol = (val) => typeof val === "symbol";
145
- const isObject = (val) => val !== null && typeof val === "object";
146
- const objectToString = Object.prototype.toString;
147
- const toTypeString = (value) => objectToString.call(value);
148
- var index_scss_vue_type_style_index_0_src_a26e3682_lang = "";
149
- const _hoisted_1$k = ["aria-invalid", "checked", "disabled", "required", "value"];
150
- const isSet = (arg) => arg instanceof Set;
151
- const isChecked$1 = (modelValue, value) => {
152
- if (Array.isArray(modelValue)) {
153
- return modelValue.includes(value);
154
- } else if (modelValue instanceof Set) {
155
- return modelValue.has(value);
156
- } else {
157
- return looseEqual(modelValue, value);
158
- }
159
- };
160
- const checkValue = (modelValue, value) => {
161
- if (Array.isArray(modelValue)) {
162
- return [...modelValue, value];
163
- } else if (isSet(modelValue)) {
164
- return new Set(modelValue).add(value);
165
- } else {
166
- return value;
167
- }
168
- };
169
- const uncheckValue = (modelValue, value) => {
170
- if (Array.isArray(modelValue)) {
171
- return modelValue.filter((item) => item !== value);
172
- } else if (isSet(modelValue)) {
173
- const set = new Set(modelValue);
174
- set.delete(value);
175
- return set;
176
- } else {
177
- return "";
178
- }
179
- };
180
- const __default__$1 = {
181
- methods: {
182
- $_handleInputEvent(_evt) {
183
- const { value, modelValue } = this;
184
- const newValue = isChecked$1(modelValue, value) ? uncheckValue(modelValue, value) : checkValue(modelValue, value);
185
- this.$emit("update:modelValue", newValue);
186
- },
187
- $_isChecked() {
188
- return isChecked$1(this.modelValue, this.value);
189
- }
190
- }
191
- };
192
- const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$1), {
193
- __name: "UtrechtCheckbox",
194
- props: {
195
- checked: { type: Boolean },
196
- disabled: { type: Boolean },
197
- invalid: { type: Boolean },
198
- modelValue: null,
199
- required: { type: Boolean },
200
- value: null
201
- },
202
- emits: ["update:modelValue"],
203
- setup(__props) {
204
- return (_ctx, _cache) => {
205
- return openBlock(), createElementBlock("input", {
206
- type: "checkbox",
207
- class: normalizeClass(["utrecht-checkbox", {
208
- "utrecht-checkbox--checked": __props.checked || _ctx.$_isChecked(),
209
- "utrecht-checkbox--disabled": __props.disabled,
210
- "utrecht-checkbox--invalid": __props.invalid,
211
- "utrecht-checkbox--required": __props.required
212
- }]),
213
- "aria-invalid": __props.invalid || void 0,
214
- checked: typeof __props.checked === "boolean" ? __props.checked : _ctx.$_isChecked(),
215
- disabled: __props.disabled,
216
- required: __props.required,
217
- value: __props.value,
218
- onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$_handleInputEvent($event))
219
- }, null, 42, _hoisted_1$k);
220
- };
221
- }
222
- }));
223
- var index_scss_vue_type_style_index_0_src_377dc625_lang = "";
224
- const _sfc_main$m = {};
225
- const _hoisted_1$j = { class: "utrecht-document" };
226
- function _sfc_render$d(_ctx, _cache) {
227
- return openBlock(), createElementBlock("div", _hoisted_1$j, [
228
- renderSlot(_ctx.$slots, "default")
229
- ]);
230
- }
231
- var UtrechtDocument = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$d]]);
232
- var index_scss_vue_type_style_index_0_src_0334bbae_lang = "";
233
- const _sfc_main$l = {};
234
- const _hoisted_1$i = { class: "utrecht-form-field" };
235
- function _sfc_render$c(_ctx, _cache) {
236
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
237
- renderSlot(_ctx.$slots, "default")
238
- ]);
239
- }
240
- var UtrechtFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$c]]);
241
- var index_scss_vue_type_style_index_0_src_7d9b1ad2_lang = "";
242
- const _sfc_main$k = {};
243
- const _hoisted_1$h = { class: "utrecht-form-fieldset" };
244
- function _sfc_render$b(_ctx, _cache) {
245
- return openBlock(), createElementBlock("fieldset", _hoisted_1$h, [
246
- renderSlot(_ctx.$slots, "default")
247
- ]);
248
- }
249
- var UtrechtFormFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$b]]);
250
- var index_scss_vue_type_style_index_0_src_557ef4dc_lang = "";
251
- const _sfc_main$j = {};
252
- const _hoisted_1$g = { class: "utrecht-form-fieldset__legend" };
253
- function _sfc_render$a(_ctx, _cache) {
254
- return openBlock(), createElementBlock("legend", _hoisted_1$g, [
255
- renderSlot(_ctx.$slots, "default")
256
- ]);
257
- }
258
- var UtrechtFormFieldsetLegend = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$a]]);
259
- var index_scss_vue_type_style_index_0_src_e35723f4_lang = "";
260
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
261
- __name: "UtrechtFormLabel",
262
- props: {
263
- checked: { type: Boolean },
264
- disabled: { type: Boolean },
265
- type: null
266
- },
267
- setup(__props) {
268
- return (_ctx, _cache) => {
269
- return openBlock(), createElementBlock("label", {
270
- class: normalizeClass(["utrecht-form-label", {
271
- "utrecht-form-label--checked": __props.checked,
272
- "utrecht-form-label--disabled": __props.disabled,
273
- "utrecht-form-label--radio": __props.type === "radio",
274
- "utrecht-form-label--checkbox": __props.type === "checkbox"
275
- }])
276
- }, [
277
- renderSlot(_ctx.$slots, "default")
278
- ], 2);
279
- };
280
- }
281
- });
282
- var index_scss_vue_type_style_index_0_src_0797b6fe_scoped_true_lang = "";
283
- var index_scss_vue_type_style_index_1_src_0797b6fe_scoped_true_lang = "";
284
- var index_scss_vue_type_style_index_2_src_0797b6fe_scoped_true_lang = "";
285
- var index_scss_vue_type_style_index_3_src_0797b6fe_scoped_true_lang = "";
286
- var index_scss_vue_type_style_index_4_src_0797b6fe_scoped_true_lang = "";
287
- var index_scss_vue_type_style_index_5_src_0797b6fe_scoped_true_lang = "";
288
- const _hoisted_1$f = {
289
- key: 0,
290
- class: "utrecht-heading-1"
291
- };
292
- const _hoisted_2 = {
293
- key: 1,
294
- class: "utrecht-heading-2"
295
- };
296
- const _hoisted_3 = {
297
- key: 2,
298
- class: "utrecht-heading-3"
299
- };
300
- const _hoisted_4 = {
301
- key: 3,
302
- class: "utrecht-heading-4"
303
- };
304
- const _hoisted_5 = {
305
- key: 4,
306
- class: "utrecht-heading-5"
307
- };
308
- const _hoisted_6 = {
309
- key: 5,
310
- class: "utrecht-heading-6"
311
- };
312
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
313
- __name: "UtrechtHeading",
314
- props: {
315
- level: null
316
- },
317
- setup(__props) {
318
- return (_ctx, _cache) => {
319
- return __props.level == 1 ? (openBlock(), createElementBlock("h1", _hoisted_1$f, [
320
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
321
- ])) : __props.level == 2 ? (openBlock(), createElementBlock("h2", _hoisted_2, [
322
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
323
- ])) : __props.level == 3 ? (openBlock(), createElementBlock("h3", _hoisted_3, [
324
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
325
- ])) : __props.level == 4 ? (openBlock(), createElementBlock("h4", _hoisted_4, [
326
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
327
- ])) : __props.level == 5 ? (openBlock(), createElementBlock("h5", _hoisted_5, [
328
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
329
- ])) : (openBlock(), createElementBlock("h6", _hoisted_6, [
330
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
331
- ]));
332
- };
333
- }
334
- });
335
- var UtrechtHeading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0797b6fe"]]);
336
- var index_scss_vue_type_style_index_0_src_75371619_lang = "";
337
- const _sfc_main$g = {};
338
- const _hoisted_1$e = { class: "utrecht-heading-1" };
339
- function _sfc_render$9(_ctx, _cache) {
340
- return openBlock(), createElementBlock("h1", _hoisted_1$e, [
341
- renderSlot(_ctx.$slots, "default")
342
- ]);
343
- }
344
- var UtrechtHeading1 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$9]]);
345
- var index_scss_vue_type_style_index_0_src_52277e5a_lang = "";
346
- const _sfc_main$f = {};
347
- const _hoisted_1$d = { class: "utrecht-heading-2" };
348
- function _sfc_render$8(_ctx, _cache) {
349
- return openBlock(), createElementBlock("h2", _hoisted_1$d, [
350
- renderSlot(_ctx.$slots, "default")
351
- ]);
352
- }
353
- var UtrechtHeading2 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$8]]);
354
- var index_scss_vue_type_style_index_0_src_2f17e69b_lang = "";
355
- const _sfc_main$e = {};
356
- const _hoisted_1$c = { class: "utrecht-heading-3" };
357
- function _sfc_render$7(_ctx, _cache) {
358
- return openBlock(), createElementBlock("h3", _hoisted_1$c, [
359
- renderSlot(_ctx.$slots, "default")
360
- ]);
361
- }
362
- var UtrechtHeading3 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$7]]);
363
- var index_scss_vue_type_style_index_0_src_0c084edc_lang = "";
364
- const _sfc_main$d = {};
365
- const _hoisted_1$b = { class: "utrecht-heading-4" };
366
- function _sfc_render$6(_ctx, _cache) {
367
- return openBlock(), createElementBlock("h4", _hoisted_1$b, [
368
- renderSlot(_ctx.$slots, "default")
369
- ]);
370
- }
371
- var UtrechtHeading4 = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$6]]);
372
- var index_scss_vue_type_style_index_0_src_2e0e91c6_lang = "";
373
- const _sfc_main$c = {};
374
- const _hoisted_1$a = { class: "utrecht-heading-5" };
375
- function _sfc_render$5(_ctx, _cache) {
376
- return openBlock(), createElementBlock("h5", _hoisted_1$a, [
377
- renderSlot(_ctx.$slots, "default")
378
- ]);
379
- }
380
- var UtrechtHeading5 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$5]]);
381
- var index_scss_vue_type_style_index_0_src_742dc144_lang = "";
382
- const _sfc_main$b = {};
383
- const _hoisted_1$9 = { class: "utrecht-heading-6" };
384
- function _sfc_render$4(_ctx, _cache) {
385
- return openBlock(), createElementBlock("h6", _hoisted_1$9, [
386
- renderSlot(_ctx.$slots, "default")
387
- ]);
388
- }
389
- var UtrechtHeading6 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$4]]);
390
- var index_scss_vue_type_style_index_0_src_57003daf_lang = "";
391
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
392
- __name: "UtrechtLink",
393
- props: {
394
- external: { type: Boolean }
395
- },
396
- setup(__props) {
397
- return (_ctx, _cache) => {
398
- return openBlock(), createElementBlock("a", {
399
- class: normalizeClass(["utrecht-link", {
400
- "utrecht-link--external": __props.external
401
- }])
402
- }, [
403
- renderSlot(_ctx.$slots, "default")
404
- ], 2);
405
- };
406
- }
407
- });
408
- var index_scss_vue_type_style_index_0_src_c95041ce_lang = "";
409
- const _sfc_main$9 = {};
410
- const _hoisted_1$8 = { class: "utrecht-page" };
411
- function _sfc_render$3(_ctx, _cache) {
412
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
413
- renderSlot(_ctx.$slots, "default")
414
- ]);
415
- }
416
- var UtrechtPage = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$3]]);
417
- var index_scss_vue_type_style_index_0_src_0fe4086e_lang = "";
418
- const _sfc_main$8 = {};
419
- const _hoisted_1$7 = { class: "utrecht-page-content" };
420
- function _sfc_render$2(_ctx, _cache) {
421
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
422
- renderSlot(_ctx.$slots, "default")
423
- ]);
424
- }
425
- var UtrechtPageContent = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2]]);
426
- var index_scss_vue_type_style_index_0_src_970efa78_lang = "";
427
- const _sfc_main$7 = {};
428
- const _hoisted_1$6 = { class: "utrecht-page-footer" };
429
- function _sfc_render$1(_ctx, _cache) {
430
- return openBlock(), createElementBlock("footer", _hoisted_1$6, [
431
- renderSlot(_ctx.$slots, "default")
432
- ]);
433
- }
434
- var UtrechtPageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$1]]);
435
- var index_scss_vue_type_style_index_0_src_38ff3736_lang = "";
436
- const _sfc_main$6 = {};
437
- const _hoisted_1$5 = { class: "utrecht-page-header" };
438
- function _sfc_render(_ctx, _cache) {
439
- return openBlock(), createElementBlock("header", _hoisted_1$5, [
440
- renderSlot(_ctx.$slots, "default")
441
- ]);
442
- }
443
- var UtrechtPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]);
444
- var index_scss_vue_type_style_index_0_src_aebee898_lang = "";
445
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
446
- __name: "UtrechtParagraph",
447
- props: {
448
- lead: { type: Boolean }
449
- },
450
- setup(__props) {
451
- return (_ctx, _cache) => {
452
- return openBlock(), createElementBlock("p", {
453
- class: normalizeClass(["utrecht-paragraph", { "utrecht-paragraph--lead": __props.lead }])
454
- }, [
455
- renderSlot(_ctx.$slots, "default")
456
- ], 2);
457
- };
458
- }
459
- });
460
- var index_scss_vue_type_style_index_0_src_08e0d1b3_lang = "";
461
- const _hoisted_1$4 = ["aria-invalid", "checked", "disabled", "required", "value"];
462
- const isChecked = (modelValue, value) => looseEqual(modelValue, value);
463
- const __default__ = {
464
- methods: {
465
- $_handleInputEvent(evtTarget) {
466
- if (evtTarget.checked) {
467
- this.$emit("update:modelValue", this.value);
468
- }
469
- },
470
- $_isChecked() {
471
- return typeof this.modelValue !== "undefined" ? isChecked(this.modelValue, this.value) : this.checked;
472
- }
473
- }
474
- };
475
- const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
476
- __name: "UtrechtRadioButton",
477
- props: {
478
- checked: { type: Boolean },
479
- disabled: { type: Boolean },
480
- invalid: { type: Boolean },
481
- modelValue: null,
482
- required: { type: Boolean },
483
- value: null
484
- },
485
- emits: ["update:modelValue"],
486
- setup(__props) {
487
- return (_ctx, _cache) => {
488
- return openBlock(), createElementBlock("input", {
489
- type: "radio",
490
- class: normalizeClass(["utrecht-radio-button", {
491
- "utrecht-radio-button--checked": __props.checked,
492
- "utrecht-radio-button--disabled": __props.disabled,
493
- "utrecht-radio-button--invalid": __props.invalid,
494
- "utrecht-radio-button--required": __props.required
495
- }]),
496
- "aria-invalid": __props.invalid || void 0,
497
- checked: _ctx.$_isChecked(),
498
- disabled: __props.disabled,
499
- required: __props.required,
500
- value: __props.value,
501
- onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$_handleInputEvent($event.target))
502
- }, null, 42, _hoisted_1$4);
503
- };
504
- }
505
- }));
506
- var index_scss_vue_type_style_index_0_src_5b35235f_lang = "";
507
- const _hoisted_1$3 = ["aria-invalid", "disabled", "readonly", "required", "value"];
508
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
509
- __name: "UtrechtSelect",
510
- props: {
511
- disabled: { type: Boolean },
512
- invalid: { type: Boolean },
513
- modelValue: null,
514
- readonly: { type: Boolean },
515
- required: { type: Boolean }
516
- },
517
- emits: ["update:modelValue"],
518
- setup(__props) {
519
- return (_ctx, _cache) => {
520
- return openBlock(), createElementBlock("select", {
521
- class: normalizeClass(["utrecht-select", {
522
- "utrecht-select--disabled": __props.disabled,
523
- "utrecht-select--invalid": __props.invalid,
524
- "utrecht-select--required": __props.required,
525
- "utrecht-select--readonly": __props.readonly
526
- }]),
527
- "aria-invalid": __props.invalid || void 0,
528
- disabled: __props.disabled,
529
- readonly: __props.readonly,
530
- required: __props.required,
531
- value: __props.modelValue,
532
- onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
533
- }, [
534
- renderSlot(_ctx.$slots, "default")
535
- ], 42, _hoisted_1$3);
536
- };
537
- }
538
- });
539
- var index_scss_vue_type_style_index_0_src_3505c666_lang = "";
540
- const _hoisted_1$2 = ["disabled"];
541
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
542
- __name: "UtrechtSelectOption",
543
- props: {
544
- disabled: { type: Boolean }
545
- },
546
- setup(__props) {
547
- return (_ctx, _cache) => {
548
- return openBlock(), createElementBlock("option", {
549
- class: normalizeClass(["utrecht-select__option", {
550
- "utrecht-select__option--disabled": __props.disabled
551
- }]),
552
- disabled: __props.disabled
553
- }, [
554
- renderSlot(_ctx.$slots, "default")
555
- ], 10, _hoisted_1$2);
556
- };
557
- }
558
- });
559
- var index_scss_vue_type_style_index_0_src_5758ba1d_lang = "";
560
- const _hoisted_1$1 = ["aria-invalid", "disabled", "readonly", "required", "value"];
561
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
562
- __name: "UtrechtTextarea",
563
- props: {
564
- disabled: { type: Boolean },
565
- invalid: { type: Boolean },
566
- modelValue: null,
567
- readonly: { type: Boolean },
568
- required: { type: Boolean },
569
- type: null
570
- },
571
- emits: ["update:modelValue"],
572
- setup(__props) {
573
- return (_ctx, _cache) => {
574
- return openBlock(), createElementBlock("textarea", {
575
- class: normalizeClass(["utrecht-textarea", {
576
- "utrecht-textarea--disabled": __props.disabled,
577
- "utrecht-textarea--invalid": __props.invalid,
578
- "utrecht-textarea--required": __props.required,
579
- "utrecht-textarea--readonly": __props.readonly
580
- }]),
581
- "aria-invalid": __props.invalid || void 0,
582
- disabled: __props.disabled,
583
- readonly: __props.readonly,
584
- required: __props.required,
585
- value: __props.modelValue,
586
- onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
587
- }, null, 42, _hoisted_1$1);
588
- };
589
- }
590
- });
591
- var index_scss_vue_type_style_index_0_src_ea555f8a_lang = "";
592
- const _hoisted_1 = ["aria-invalid", "disabled", "readonly", "required", "value"];
593
- const _sfc_main = /* @__PURE__ */ defineComponent({
594
- __name: "UtrechtTextbox",
595
- props: {
596
- disabled: { type: Boolean },
597
- invalid: { type: Boolean },
598
- modelValue: null,
599
- readonly: { type: Boolean },
600
- required: { type: Boolean },
601
- type: null
602
- },
603
- emits: ["update:modelValue"],
604
- setup(__props) {
605
- return (_ctx, _cache) => {
606
- return openBlock(), createElementBlock("input", {
607
- class: normalizeClass(["utrecht-textbox", {
608
- "utrecht-textbox--disabled": __props.disabled,
609
- "utrecht-textbox--invalid": __props.invalid,
610
- "utrecht-textbox--required": __props.required,
611
- "utrecht-textbox--readonly": __props.readonly
612
- }]),
613
- "aria-invalid": __props.invalid || void 0,
614
- disabled: __props.disabled,
615
- readonly: __props.readonly,
616
- required: __props.required,
617
- value: __props.modelValue,
618
- onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
619
- }, null, 42, _hoisted_1);
620
- };
621
- }
622
- });
623
- export { UtrechtArticle as Article, _sfc_main$q as BadgeStatus, _sfc_main$p as Button, UtrechtButtonGroup as ButtonGroup, _sfc_main$n as Checkbox, UtrechtDocument as Document, UtrechtFormField as FormField, UtrechtFormFieldset as FormFieldset, UtrechtFormFieldsetLegend as FormFieldsetLegend, _sfc_main$i as FormLabel, UtrechtHeading as Heading, UtrechtHeading1 as Heading1, UtrechtHeading2 as Heading2, UtrechtHeading3 as Heading3, UtrechtHeading4 as Heading4, UtrechtHeading5 as Heading5, UtrechtHeading6 as Heading6, _sfc_main$a as Link, UtrechtPage as Page, UtrechtPageContent as PageContent, UtrechtPageFooter as PageFooter, UtrechtPageHeader as PageHeader, _sfc_main$5 as Paragraph, _sfc_main$4 as RadioButton, _sfc_main$3 as Select, _sfc_main$2 as SelectOption, _sfc_main$1 as Textarea, _sfc_main as Textbox };