@oslokommune/punkt-elements 13.6.15 → 13.8.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.
Files changed (139) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/{accordionitem-B_h5XGCo.js → accordionitem-C_URrDjP.js} +4 -4
  3. package/dist/{accordionitem-BOmnm80g.cjs → accordionitem-DCZrHVNR.cjs} +1 -1
  4. package/dist/{alert-ZP5-fqlt.cjs → alert-Ci7WvRXi.cjs} +1 -1
  5. package/dist/{alert-CTTm6ugp.js → alert-Dh1YhaBq.js} +13 -26
  6. package/dist/{backlink-BT7DO6rV.cjs → backlink-BzEvli8m.cjs} +1 -1
  7. package/dist/{backlink-Bq8O2bt8.js → backlink-CI_jMGzZ.js} +3 -3
  8. package/dist/{button-x6Xw-5w0.js → button-CCFAUJa0.js} +5 -5
  9. package/dist/{button-BfqxLnMT.cjs → button-CXJQ_Wgl.cjs} +1 -1
  10. package/dist/calendar-BaMrdMDZ.cjs +115 -0
  11. package/dist/{calendar-CodWwTHM.js → calendar-DtJh7UYD.js} +532 -480
  12. package/dist/{card-B9RPShvV.cjs → card-Cf-UcGAP.cjs} +1 -1
  13. package/dist/{card-en2KhOPO.js → card-M1X36b6i.js} +8 -26
  14. package/dist/{checkbox-CH8xeK-0.cjs → checkbox-CTxc8wQe.cjs} +1 -1
  15. package/dist/{checkbox-DSAcMC-D.js → checkbox-_5LbXU7N.js} +4 -4
  16. package/dist/class-map-C_erArZz.cjs +5 -0
  17. package/dist/{class-map-Dw6Wrxwi.js → class-map-wy7PUk0P.js} +3 -3
  18. package/dist/{combobox-BFOjlFIj.cjs → combobox-BJ1gA0f0.cjs} +1 -1
  19. package/dist/{combobox-DaiEdUKx.js → combobox-Ct0NNY1p.js} +12 -16
  20. package/dist/{consent-CXp0bLvg.js → consent-B2hIQh4b.js} +3 -3
  21. package/dist/{consent-DFrsiYGQ.cjs → consent-BeOjxQdR.cjs} +1 -1
  22. package/dist/{datepicker-CbVSKaOY.js → datepicker-B8mifBAm.js} +12 -28
  23. package/dist/{datepicker-BR1imflE.cjs → datepicker-DVqmQAOe.cjs} +1 -1
  24. package/dist/directive-helpers-4oOjKnGY.cjs +5 -0
  25. package/dist/directive-helpers-BzAtj9by.js +38 -0
  26. package/dist/{element-D62wHiNU.cjs → element-CJ_QKaki.cjs} +6 -6
  27. package/dist/{element-DJZPsA_J.js → element-CRDRygXu.js} +47 -132
  28. package/dist/{heading-H_FWjo2k.cjs → heading--JKFppLS.cjs} +1 -1
  29. package/dist/{heading-DQ0R34j4.js → heading-Cs5yGnJg.js} +1 -1
  30. package/dist/{helptext-D1fkGmfT.cjs → helptext-CVQP3pis.cjs} +1 -1
  31. package/dist/{helptext-8ykxyegi.js → helptext-DuvVSH7d.js} +6 -6
  32. package/dist/icon-1dy7UZcu.js +89 -0
  33. package/dist/icon-BGuizDwk.cjs +9 -0
  34. package/dist/{if-defined-D3lgJqT7.js → if-defined-BWZGb3bh.js} +1 -1
  35. package/dist/{if-defined-CkVc_RJD.cjs → if-defined-Bc9-_I01.cjs} +1 -1
  36. package/dist/index.d.ts +8 -7
  37. package/dist/input-element-BcFmygSF.js +707 -0
  38. package/dist/input-element-j9znzLWz.cjs +1 -0
  39. package/dist/{input-wrapper-DVjNwf8-.cjs → input-wrapper-BsQ7oFMd.cjs} +1 -1
  40. package/dist/input-wrapper-CDgenrYA.js +6 -0
  41. package/dist/{input-wrapper-CQzXG44g.js → input-wrapper-CKJU0QWG.js} +8 -8
  42. package/dist/{link-CyiVlb-7.cjs → link-Da3pZ_CW.cjs} +1 -1
  43. package/dist/{link-DSSJYrtn.js → link-DzZCw8j2.js} +9 -16
  44. package/dist/{linkcard-fH9uydjS.cjs → linkcard-BM23gzhS.cjs} +1 -1
  45. package/dist/{linkcard-g8JtooPU.js → linkcard-RIK5xqbd.js} +4 -4
  46. package/dist/{listbox-L-iOSF7M.cjs → listbox-CsGiqzD0.cjs} +1 -1
  47. package/dist/{listbox-n4wjlLqD.js → listbox-DlJevu8O.js} +5 -5
  48. package/dist/{loader-Bzf1sPSg.js → loader-BVvBzaPI.js} +5 -5
  49. package/dist/{loader-C-3l7kb9.cjs → loader-Bo8RCbCJ.cjs} +1 -1
  50. package/dist/{messagebox---xPIAwR.cjs → messagebox-C76IcXTl.cjs} +1 -1
  51. package/dist/{messagebox-okJLeSpj.js → messagebox-DwdMXoAe.js} +6 -16
  52. package/dist/{modal-pohCsr_x.js → modal-BGXk3f9u.js} +6 -16
  53. package/dist/{modal-IjDRQfX1.cjs → modal-Cdz9JcCX.cjs} +1 -1
  54. package/dist/pkt-accordion.cjs +1 -1
  55. package/dist/pkt-accordion.js +2 -2
  56. package/dist/pkt-alert.cjs +1 -1
  57. package/dist/pkt-alert.js +1 -1
  58. package/dist/pkt-backlink.cjs +1 -1
  59. package/dist/pkt-backlink.js +1 -1
  60. package/dist/pkt-button.cjs +1 -1
  61. package/dist/pkt-button.js +1 -1
  62. package/dist/pkt-calendar.cjs +1 -1
  63. package/dist/pkt-calendar.js +1 -1
  64. package/dist/pkt-card.cjs +1 -1
  65. package/dist/pkt-card.js +1 -1
  66. package/dist/pkt-checkbox.cjs +1 -1
  67. package/dist/pkt-checkbox.js +1 -1
  68. package/dist/pkt-combobox.cjs +1 -1
  69. package/dist/pkt-combobox.js +1 -1
  70. package/dist/pkt-consent.cjs +1 -1
  71. package/dist/pkt-consent.js +1 -1
  72. package/dist/pkt-datepicker.cjs +1 -1
  73. package/dist/pkt-datepicker.js +2 -2
  74. package/dist/pkt-heading.cjs +1 -1
  75. package/dist/pkt-heading.js +1 -1
  76. package/dist/pkt-helptext.cjs +1 -1
  77. package/dist/pkt-helptext.js +1 -1
  78. package/dist/pkt-icon.cjs +1 -1
  79. package/dist/pkt-icon.js +1 -1
  80. package/dist/pkt-index.cjs +1 -1
  81. package/dist/pkt-index.js +29 -29
  82. package/dist/pkt-input-wrapper.cjs +1 -1
  83. package/dist/pkt-input-wrapper.js +1 -1
  84. package/dist/pkt-link.cjs +1 -1
  85. package/dist/pkt-link.js +1 -1
  86. package/dist/pkt-linkcard.cjs +1 -1
  87. package/dist/pkt-linkcard.js +1 -1
  88. package/dist/pkt-listbox.cjs +1 -1
  89. package/dist/pkt-listbox.js +1 -1
  90. package/dist/pkt-loader.cjs +1 -1
  91. package/dist/pkt-loader.js +1 -1
  92. package/dist/pkt-messagebox.cjs +1 -1
  93. package/dist/pkt-messagebox.js +1 -1
  94. package/dist/pkt-modal.cjs +1 -1
  95. package/dist/pkt-modal.js +1 -1
  96. package/dist/pkt-progressbar.cjs +1 -1
  97. package/dist/pkt-progressbar.js +2 -2
  98. package/dist/pkt-radiobutton.cjs +1 -1
  99. package/dist/pkt-radiobutton.js +1 -1
  100. package/dist/pkt-select.cjs +1 -1
  101. package/dist/pkt-select.js +1 -1
  102. package/dist/pkt-tag.cjs +1 -1
  103. package/dist/pkt-tag.js +1 -1
  104. package/dist/pkt-textarea.cjs +1 -1
  105. package/dist/pkt-textarea.js +1 -1
  106. package/dist/pkt-textinput.cjs +1 -1
  107. package/dist/pkt-textinput.js +1 -1
  108. package/dist/{progressbar-DjsupQ7Y.js → progressbar-BbVei20_.js} +7 -7
  109. package/dist/{progressbar-DJzEC7cx.cjs → progressbar-CazcIzVT.cjs} +2 -2
  110. package/dist/{radiobutton-DEboKECm.cjs → radiobutton-D1fihs8R.cjs} +1 -1
  111. package/dist/{radiobutton-Bz_qApF3.js → radiobutton-DODROIBF.js} +5 -5
  112. package/dist/{ref-BfgcOXko.cjs → ref-BFa5Utho.cjs} +1 -1
  113. package/dist/{ref-BCGCor-j.js → ref-Xa5dbh--.js} +2 -2
  114. package/dist/repeat-BZb41H64.cjs +5 -0
  115. package/dist/{repeat-B6qPUgAq.js → repeat-CJ79egkN.js} +8 -8
  116. package/dist/{select-DKkoxmgj.js → select-BG2MBQbh.js} +6 -6
  117. package/dist/{select-DynzsPo0.cjs → select-D-m1PhpA.cjs} +1 -1
  118. package/dist/{state-CPQXJ4Ct.js → state-DS_kr2Fy.js} +1 -1
  119. package/dist/{state-BkE_Rxl7.cjs → state-DSjcvzDN.cjs} +1 -1
  120. package/dist/{tag-NZ5oeGfw.js → tag-CqMgt01I.js} +7 -20
  121. package/dist/{tag-BKq07hGI.cjs → tag-EFUKrc8q.cjs} +2 -2
  122. package/dist/{textarea-COG1CH_s.js → textarea-DCKKhs1B.js} +9 -9
  123. package/dist/{textarea-BS1tgktz.cjs → textarea-aUG3S7C2.cjs} +1 -1
  124. package/dist/{textinput-CTOtfcTR.js → textinput-B5Ai5R8L.js} +8 -8
  125. package/dist/{textinput-CCK8ti2y.cjs → textinput-mUERucRy.cjs} +1 -1
  126. package/package.json +14 -6
  127. package/src/components/combobox/combobox.ts +1 -1
  128. package/src/components/icon/icon.ts +17 -8
  129. package/src/components/select/select.ts +1 -1
  130. package/dist/calendar-DH-fCGyW.cjs +0 -115
  131. package/dist/class-map-CG3vIaNm.cjs +0 -5
  132. package/dist/directive-helpers-_qHew-gi.cjs +0 -5
  133. package/dist/directive-helpers-cAOIHg9K.js +0 -45
  134. package/dist/icon-B1-mkmwB.js +0 -88
  135. package/dist/icon-__Hjt2XZ.cjs +0 -9
  136. package/dist/input-element-DQOVrqUZ.js +0 -703
  137. package/dist/input-element-Y8sdrq9C.cjs +0 -1
  138. package/dist/input-wrapper-8iKEzDRZ.js +0 -40
  139. package/dist/repeat-DzibMwhi.cjs +0 -5
@@ -0,0 +1,707 @@
1
+ import { P as Fe, t as g, n as d } from "./element-CRDRygXu.js";
2
+ import { r as Ce } from "./state-DS_kr2Fy.js";
3
+ import { u as Te } from "./stringutils-DJjRa8dG.js";
4
+ import { s as Se } from "./input-wrapper-CDgenrYA.js";
5
+ var oe = {}, le;
6
+ function Ae() {
7
+ return le || (le = 1, (function() {
8
+ (function(M) {
9
+ const s = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), C = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), T = /* @__PURE__ */ new WeakMap(), F = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), L = {
10
+ ariaAtomic: "aria-atomic",
11
+ ariaAutoComplete: "aria-autocomplete",
12
+ ariaBusy: "aria-busy",
13
+ ariaChecked: "aria-checked",
14
+ ariaColCount: "aria-colcount",
15
+ ariaColIndex: "aria-colindex",
16
+ ariaColIndexText: "aria-colindextext",
17
+ ariaColSpan: "aria-colspan",
18
+ ariaCurrent: "aria-current",
19
+ ariaDescription: "aria-description",
20
+ ariaDisabled: "aria-disabled",
21
+ ariaExpanded: "aria-expanded",
22
+ ariaHasPopup: "aria-haspopup",
23
+ ariaHidden: "aria-hidden",
24
+ ariaInvalid: "aria-invalid",
25
+ ariaKeyShortcuts: "aria-keyshortcuts",
26
+ ariaLabel: "aria-label",
27
+ ariaLevel: "aria-level",
28
+ ariaLive: "aria-live",
29
+ ariaModal: "aria-modal",
30
+ ariaMultiLine: "aria-multiline",
31
+ ariaMultiSelectable: "aria-multiselectable",
32
+ ariaOrientation: "aria-orientation",
33
+ ariaPlaceholder: "aria-placeholder",
34
+ ariaPosInSet: "aria-posinset",
35
+ ariaPressed: "aria-pressed",
36
+ ariaReadOnly: "aria-readonly",
37
+ ariaRelevant: "aria-relevant",
38
+ ariaRequired: "aria-required",
39
+ ariaRoleDescription: "aria-roledescription",
40
+ ariaRowCount: "aria-rowcount",
41
+ ariaRowIndex: "aria-rowindex",
42
+ ariaRowIndexText: "aria-rowindextext",
43
+ ariaRowSpan: "aria-rowspan",
44
+ ariaSelected: "aria-selected",
45
+ ariaSetSize: "aria-setsize",
46
+ ariaSort: "aria-sort",
47
+ ariaValueMax: "aria-valuemax",
48
+ ariaValueMin: "aria-valuemin",
49
+ ariaValueNow: "aria-valuenow",
50
+ ariaValueText: "aria-valuetext",
51
+ role: "role"
52
+ }, ce = (t, e) => {
53
+ for (let i in L) {
54
+ e[i] = null;
55
+ let a = null;
56
+ const r = L[i];
57
+ Object.defineProperty(e, i, {
58
+ get() {
59
+ return a;
60
+ },
61
+ set(n) {
62
+ a = n, t.isConnected ? k(t, r, n) : F.set(t, e);
63
+ }
64
+ });
65
+ }
66
+ };
67
+ function K(t) {
68
+ const e = u.get(t), { form: i } = e;
69
+ Y(t, i, e), X(t, e.labels);
70
+ }
71
+ const j = (t, e = !1) => {
72
+ const i = document.createTreeWalker(t, NodeFilter.SHOW_ELEMENT, {
73
+ acceptNode(n) {
74
+ return u.has(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
75
+ }
76
+ });
77
+ let a = i.nextNode();
78
+ const r = !e || t.disabled;
79
+ for (; a; )
80
+ a.formDisabledCallback && r && W(a, t.disabled), a = i.nextNode();
81
+ }, G = { attributes: !0, attributeFilter: ["disabled", "name"] }, N = D() ? new MutationObserver((t) => {
82
+ for (const e of t) {
83
+ const i = e.target;
84
+ if (e.attributeName === "disabled" && (i.constructor.formAssociated ? W(i, i.hasAttribute("disabled")) : i.localName === "fieldset" && j(i)), e.attributeName === "name" && i.constructor.formAssociated) {
85
+ const a = u.get(i), r = T.get(i);
86
+ a.setFormValue(r);
87
+ }
88
+ }
89
+ }) : {};
90
+ function P(t) {
91
+ t.forEach((e) => {
92
+ const { addedNodes: i, removedNodes: a } = e, r = Array.from(i), n = Array.from(a);
93
+ r.forEach((o) => {
94
+ var m;
95
+ if (u.has(o) && o.constructor.formAssociated && K(o), F.has(o)) {
96
+ const f = F.get(o);
97
+ Object.keys(L).filter((v) => f[v] !== null).forEach((v) => {
98
+ k(o, L[v], f[v]);
99
+ }), F.delete(o);
100
+ }
101
+ if (I.has(o)) {
102
+ const f = I.get(o);
103
+ k(o, "internals-valid", f.validity.valid.toString()), k(o, "internals-invalid", (!f.validity.valid).toString()), k(o, "aria-invalid", (!f.validity.valid).toString()), I.delete(o);
104
+ }
105
+ if (o.localName === "form") {
106
+ const f = b.get(o), E = document.createTreeWalker(o, NodeFilter.SHOW_ELEMENT, {
107
+ acceptNode($) {
108
+ return u.has($) && $.constructor.formAssociated && !(f && f.has($)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
109
+ }
110
+ });
111
+ let v = E.nextNode();
112
+ for (; v; )
113
+ K(v), v = E.nextNode();
114
+ }
115
+ o.localName === "fieldset" && ((m = N.observe) === null || m === void 0 || m.call(N, o, G), j(o, !0));
116
+ }), n.forEach((o) => {
117
+ const m = u.get(o);
118
+ m && p.get(m) && J(m), C.has(o) && C.get(o).disconnect();
119
+ });
120
+ });
121
+ }
122
+ function de(t) {
123
+ t.forEach((e) => {
124
+ const { removedNodes: i } = e;
125
+ i.forEach((a) => {
126
+ const r = U.get(e.target);
127
+ u.has(a) && ee(a), r.disconnect();
128
+ });
129
+ });
130
+ }
131
+ const he = (t) => {
132
+ var e, i;
133
+ const a = new MutationObserver(de);
134
+ !((e = window == null ? void 0 : window.ShadyDOM) === null || e === void 0) && e.inUse && t.mode && t.host && (t = t.host), (i = a.observe) === null || i === void 0 || i.call(a, t, { childList: !0 }), U.set(t, a);
135
+ };
136
+ D() && new MutationObserver(P);
137
+ const H = {
138
+ childList: !0,
139
+ subtree: !0
140
+ }, k = (t, e, i) => {
141
+ t.getAttribute(e) !== i && t.setAttribute(e, i);
142
+ }, W = (t, e) => {
143
+ t.toggleAttribute("internals-disabled", e), e ? k(t, "aria-disabled", "true") : t.removeAttribute("aria-disabled"), t.formDisabledCallback && t.formDisabledCallback.apply(t, [e]);
144
+ }, J = (t) => {
145
+ p.get(t).forEach((i) => {
146
+ i.remove();
147
+ }), p.set(t, []);
148
+ }, Q = (t, e) => {
149
+ const i = document.createElement("input");
150
+ return i.type = "hidden", i.name = t.getAttribute("name"), t.after(i), p.get(e).push(i), i;
151
+ }, ue = (t, e) => {
152
+ var i;
153
+ p.set(e, []), (i = N.observe) === null || i === void 0 || i.call(N, t, G);
154
+ }, X = (t, e) => {
155
+ if (e.length) {
156
+ Array.from(e).forEach((a) => a.addEventListener("click", t.click.bind(t)));
157
+ let i = e[0].id;
158
+ e[0].id || (i = `${e[0].htmlFor}_Label`, e[0].id = i), k(t, "aria-labelledby", i);
159
+ }
160
+ }, R = (t) => {
161
+ const e = Array.from(t.elements).filter((n) => !n.tagName.includes("-") && n.validity).map((n) => n.validity.valid), i = b.get(t) || [], a = Array.from(i).filter((n) => n.isConnected).map((n) => u.get(n).validity.valid), r = [...e, ...a].includes(!1);
162
+ t.toggleAttribute("internals-invalid", r), t.toggleAttribute("internals-valid", !r);
163
+ }, fe = (t) => {
164
+ R(O(t.target));
165
+ }, pe = (t) => {
166
+ R(O(t.target));
167
+ }, me = (t) => {
168
+ const e = ["button[type=submit]", "input[type=submit]", "button:not([type])"].map((i) => `${i}:not([disabled])`).map((i) => `${i}:not([form])${t.id ? `,${i}[form='${t.id}']` : ""}`).join(",");
169
+ t.addEventListener("click", (i) => {
170
+ if (i.target.closest(e)) {
171
+ const r = b.get(t);
172
+ if (t.noValidate)
173
+ return;
174
+ r.size && Array.from(r).reverse().map((m) => u.get(m).reportValidity()).includes(!1) && i.preventDefault();
175
+ }
176
+ });
177
+ }, ye = (t) => {
178
+ const e = b.get(t.target);
179
+ e && e.size && e.forEach((i) => {
180
+ i.constructor.formAssociated && i.formResetCallback && i.formResetCallback.apply(i);
181
+ });
182
+ }, Y = (t, e, i) => {
183
+ if (e) {
184
+ const a = b.get(e);
185
+ if (a)
186
+ a.add(t);
187
+ else {
188
+ const r = /* @__PURE__ */ new Set();
189
+ r.add(t), b.set(e, r), me(e), e.addEventListener("reset", ye), e.addEventListener("input", fe), e.addEventListener("change", pe);
190
+ }
191
+ V.set(e, { ref: t, internals: i }), t.constructor.formAssociated && t.formAssociatedCallback && setTimeout(() => {
192
+ t.formAssociatedCallback.apply(t, [e]);
193
+ }, 0), R(e);
194
+ }
195
+ }, O = (t) => {
196
+ let e = t.parentNode;
197
+ return e && e.tagName !== "FORM" && (e = O(e)), e;
198
+ }, w = (t, e, i = DOMException) => {
199
+ if (!t.constructor.formAssociated)
200
+ throw new i(e);
201
+ }, Z = (t, e, i) => {
202
+ const a = b.get(t);
203
+ return a && a.size && a.forEach((r) => {
204
+ u.get(r)[i]() || (e = !1);
205
+ }), e;
206
+ }, ee = (t) => {
207
+ if (t.constructor.formAssociated) {
208
+ const e = u.get(t), { labels: i, form: a } = e;
209
+ X(t, i), Y(t, a, e);
210
+ }
211
+ };
212
+ function D() {
213
+ return typeof MutationObserver < "u";
214
+ }
215
+ class ge {
216
+ constructor() {
217
+ this.badInput = !1, this.customError = !1, this.patternMismatch = !1, this.rangeOverflow = !1, this.rangeUnderflow = !1, this.stepMismatch = !1, this.tooLong = !1, this.tooShort = !1, this.typeMismatch = !1, this.valid = !0, this.valueMissing = !1, Object.seal(this);
218
+ }
219
+ }
220
+ const be = (t) => (t.badInput = !1, t.customError = !1, t.patternMismatch = !1, t.rangeOverflow = !1, t.rangeUnderflow = !1, t.stepMismatch = !1, t.tooLong = !1, t.tooShort = !1, t.typeMismatch = !1, t.valid = !0, t.valueMissing = !1, t), ve = (t, e, i) => (t.valid = we(e), Object.keys(e).forEach((a) => t[a] = e[a]), i && R(i), t), we = (t) => {
221
+ let e = !0;
222
+ for (let i in t)
223
+ i !== "valid" && t[i] !== !1 && (e = !1);
224
+ return e;
225
+ }, B = /* @__PURE__ */ new WeakMap();
226
+ function te(t, e) {
227
+ t.toggleAttribute(e, !0), t.part && t.part.add(e);
228
+ }
229
+ class _ extends Set {
230
+ static get isPolyfilled() {
231
+ return !0;
232
+ }
233
+ constructor(e) {
234
+ if (super(), !e || !e.tagName || e.tagName.indexOf("-") === -1)
235
+ throw new TypeError("Illegal constructor");
236
+ B.set(this, e);
237
+ }
238
+ add(e) {
239
+ if (!/^--/.test(e) || typeof e != "string")
240
+ throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);
241
+ const i = super.add(e), a = B.get(this), r = `state${e}`;
242
+ return a.isConnected ? te(a, r) : setTimeout(() => {
243
+ te(a, r);
244
+ }), i;
245
+ }
246
+ clear() {
247
+ for (let [e] of this.entries())
248
+ this.delete(e);
249
+ super.clear();
250
+ }
251
+ delete(e) {
252
+ const i = super.delete(e), a = B.get(this);
253
+ return a.isConnected ? (a.toggleAttribute(`state${e}`, !1), a.part && a.part.remove(`state${e}`)) : setTimeout(() => {
254
+ a.toggleAttribute(`state${e}`, !1), a.part && a.part.remove(`state${e}`);
255
+ }), i;
256
+ }
257
+ }
258
+ function ie(t, e, i, a) {
259
+ if (typeof e == "function" ? t !== e || !a : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
260
+ return i === "m" ? a : i === "a" ? a.call(t) : a ? a.value : e.get(t);
261
+ }
262
+ function Ee(t, e, i, a, r) {
263
+ if (typeof e == "function" ? t !== e || !0 : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
264
+ return e.set(t, i), i;
265
+ }
266
+ var x;
267
+ class Me {
268
+ constructor(e) {
269
+ x.set(this, void 0), Ee(this, x, e);
270
+ for (let i = 0; i < e.length; i++) {
271
+ let a = e[i];
272
+ this[i] = a, a.hasAttribute("name") && (this[a.getAttribute("name")] = a);
273
+ }
274
+ Object.freeze(this);
275
+ }
276
+ get length() {
277
+ return ie(this, x, "f").length;
278
+ }
279
+ [(x = /* @__PURE__ */ new WeakMap(), Symbol.iterator)]() {
280
+ return ie(this, x, "f")[Symbol.iterator]();
281
+ }
282
+ item(e) {
283
+ return this[e] == null ? null : this[e];
284
+ }
285
+ namedItem(e) {
286
+ return this[e] == null ? null : this[e];
287
+ }
288
+ }
289
+ function ke() {
290
+ const t = HTMLFormElement.prototype.checkValidity;
291
+ HTMLFormElement.prototype.checkValidity = i;
292
+ const e = HTMLFormElement.prototype.reportValidity;
293
+ HTMLFormElement.prototype.reportValidity = a;
294
+ function i(...n) {
295
+ let o = t.apply(this, n);
296
+ return Z(this, o, "checkValidity");
297
+ }
298
+ function a(...n) {
299
+ let o = e.apply(this, n);
300
+ return Z(this, o, "reportValidity");
301
+ }
302
+ const { get: r } = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, "elements");
303
+ Object.defineProperty(HTMLFormElement.prototype, "elements", {
304
+ get(...n) {
305
+ const o = r.call(this, ...n), m = Array.from(b.get(this) || []);
306
+ if (m.length === 0)
307
+ return o;
308
+ const f = Array.from(o).concat(m).sort((E, v) => E.compareDocumentPosition ? E.compareDocumentPosition(v) & 2 ? 1 : -1 : 0);
309
+ return new Me(f);
310
+ }
311
+ });
312
+ }
313
+ class ae {
314
+ static get isPolyfilled() {
315
+ return !0;
316
+ }
317
+ constructor(e) {
318
+ if (!e || !e.tagName || e.tagName.indexOf("-") === -1)
319
+ throw new TypeError("Illegal constructor");
320
+ const i = e.getRootNode(), a = new ge();
321
+ this.states = new _(e), s.set(this, e), h.set(this, a), u.set(e, this), ce(e, this), ue(e, this), Object.seal(this), i instanceof DocumentFragment && he(i);
322
+ }
323
+ checkValidity() {
324
+ const e = s.get(this);
325
+ if (w(e, "Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !this.willValidate)
326
+ return !0;
327
+ const i = h.get(this);
328
+ if (!i.valid) {
329
+ const a = new Event("invalid", {
330
+ bubbles: !1,
331
+ cancelable: !0,
332
+ composed: !1
333
+ });
334
+ e.dispatchEvent(a);
335
+ }
336
+ return i.valid;
337
+ }
338
+ get form() {
339
+ const e = s.get(this);
340
+ w(e, "Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");
341
+ let i;
342
+ return e.constructor.formAssociated === !0 && (i = O(e)), i;
343
+ }
344
+ get labels() {
345
+ const e = s.get(this);
346
+ w(e, "Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");
347
+ const i = e.getAttribute("id"), a = e.getRootNode();
348
+ return a && i ? a.querySelectorAll(`[for="${i}"]`) : [];
349
+ }
350
+ reportValidity() {
351
+ const e = s.get(this);
352
+ if (w(e, "Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !this.willValidate)
353
+ return !0;
354
+ const i = this.checkValidity(), a = A.get(this);
355
+ if (a && !e.constructor.formAssociated)
356
+ throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");
357
+ return !i && a && (e.focus(), a.focus()), i;
358
+ }
359
+ setFormValue(e) {
360
+ const i = s.get(this);
361
+ if (w(i, "Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."), J(this), e != null && !(e instanceof FormData)) {
362
+ if (i.getAttribute("name")) {
363
+ const a = Q(i, this);
364
+ a.value = e;
365
+ }
366
+ } else e != null && e instanceof FormData && Array.from(e).reverse().forEach(([a, r]) => {
367
+ if (typeof r == "string") {
368
+ const n = Q(i, this);
369
+ n.name = a, n.value = r;
370
+ }
371
+ });
372
+ T.set(i, e);
373
+ }
374
+ setValidity(e, i, a) {
375
+ const r = s.get(this);
376
+ if (w(r, "Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !e)
377
+ throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");
378
+ A.set(this, a);
379
+ const n = h.get(this), o = {};
380
+ for (const E in e)
381
+ o[E] = e[E];
382
+ Object.keys(o).length === 0 && be(n);
383
+ const m = Object.assign(Object.assign({}, n), o);
384
+ delete m.valid;
385
+ const { valid: f } = ve(n, m, this.form);
386
+ if (!f && !i)
387
+ throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");
388
+ y.set(this, f ? "" : i), r.isConnected ? (r.toggleAttribute("internals-invalid", !f), r.toggleAttribute("internals-valid", f), k(r, "aria-invalid", `${!f}`)) : I.set(r, this);
389
+ }
390
+ get shadowRoot() {
391
+ const e = s.get(this), i = S.get(e);
392
+ return i || null;
393
+ }
394
+ get validationMessage() {
395
+ const e = s.get(this);
396
+ return w(e, "Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."), y.get(this);
397
+ }
398
+ get validity() {
399
+ const e = s.get(this);
400
+ return w(e, "Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."), h.get(this);
401
+ }
402
+ get willValidate() {
403
+ const e = s.get(this);
404
+ return w(e, "Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."), !(e.disabled || e.hasAttribute("disabled") || e.hasAttribute("readonly"));
405
+ }
406
+ }
407
+ function Ve() {
408
+ if (typeof window > "u" || !window.ElementInternals || !HTMLElement.prototype.attachInternals)
409
+ return !1;
410
+ class t extends HTMLElement {
411
+ constructor() {
412
+ super(), this.internals = this.attachInternals();
413
+ }
414
+ }
415
+ const e = `element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g, "")}`;
416
+ customElements.define(e, t);
417
+ const i = new t();
418
+ return [
419
+ "shadowRoot",
420
+ "form",
421
+ "willValidate",
422
+ "validity",
423
+ "validationMessage",
424
+ "labels",
425
+ "setFormValue",
426
+ "setValidity",
427
+ "checkValidity",
428
+ "reportValidity"
429
+ ].every((a) => a in i.internals);
430
+ }
431
+ let se = !1, re = !1;
432
+ function q(t) {
433
+ re || (re = !0, window.CustomStateSet = _, t && (HTMLElement.prototype.attachInternals = function(...e) {
434
+ const i = t.call(this, e);
435
+ return i.states = new _(this), i;
436
+ }));
437
+ }
438
+ function ne(t = !0) {
439
+ if (!se) {
440
+ if (se = !0, typeof window < "u" && (window.ElementInternals = ae), typeof CustomElementRegistry < "u") {
441
+ const e = CustomElementRegistry.prototype.define;
442
+ CustomElementRegistry.prototype.define = function(i, a, r) {
443
+ if (a.formAssociated) {
444
+ const n = a.prototype.connectedCallback;
445
+ a.prototype.connectedCallback = function() {
446
+ z.has(this) || (z.set(this, !0), this.hasAttribute("disabled") && W(this, !0)), n != null && n.apply(this), ee(this);
447
+ };
448
+ }
449
+ e.call(this, i, a, r);
450
+ };
451
+ }
452
+ if (typeof HTMLElement < "u" && (HTMLElement.prototype.attachInternals = function() {
453
+ if (this.tagName) {
454
+ if (this.tagName.indexOf("-") === -1)
455
+ throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");
456
+ } else return {};
457
+ if (u.has(this))
458
+ throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");
459
+ return new ae(this);
460
+ }), typeof Element < "u") {
461
+ let e = function(...a) {
462
+ const r = i.apply(this, a);
463
+ if (S.set(this, r), D()) {
464
+ const n = new MutationObserver(P);
465
+ window.ShadyDOM ? n.observe(this, H) : n.observe(r, H), C.set(this, n);
466
+ }
467
+ return r;
468
+ };
469
+ const i = Element.prototype.attachShadow;
470
+ Element.prototype.attachShadow = e;
471
+ }
472
+ D() && typeof document < "u" && new MutationObserver(P).observe(document.documentElement, H), typeof HTMLFormElement < "u" && ke(), (t || typeof window < "u" && !window.CustomStateSet) && q();
473
+ }
474
+ }
475
+ return !!customElements.polyfillWrapFlushCallback || (Ve() ? typeof window < "u" && !window.CustomStateSet && q(HTMLElement.prototype.attachInternals) : ne(!1)), M.forceCustomStateSetPolyfill = q, M.forceElementInternalsPolyfill = ne, Object.defineProperty(M, "__esModule", { value: !0 }), M;
476
+ })({});
477
+ })()), oe;
478
+ }
479
+ Ae();
480
+ var xe = Object.defineProperty, l = (M, s, h, p) => {
481
+ for (var u = void 0, y = M.length - 1, V; y >= 0; y--)
482
+ (V = M[y]) && (u = V(s, h, u) || u);
483
+ return u && xe(s, h, u), u;
484
+ };
485
+ class c extends Fe {
486
+ constructor() {
487
+ super(), this.defaultValue = null, this.disabled = !1, this.readonly = !1, this.required = !1, this.max = null, this.maxlength = null, this.min = null, this.minlength = null, this.step = null, this.ariaDescribedBy = null, this.ariaLabelledby = null, this.name = "", this.pattern = null, this.placeholder = null, this.id = Te(), this.counter = !1, this.hasError = !1, this.inline = !1, this.hasFieldset = !1, this.optionalTag = !1, this.requiredTag = !1, this.skipForwardTestid = !1, this.useWrapper = !0, this.fullwidth = !1, this.counterMaxLength = 0, this.errorMessage = "", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Se.props.helptextDropdownButton.default, this.label = null, this.optionalText = g.forms.labels.optional, this.requiredText = g.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
488
+ }
489
+ static get formAssociated() {
490
+ return !0;
491
+ }
492
+ manageValidity(s) {
493
+ var h, p, u, y, V, C, b, T, F, S, A;
494
+ s && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, g.forms.messages.required, s) : (h = s.validity) != null && h.typeMismatch || (p = s.validity) != null && p.badInput ? this.internals.setValidity({ typeMismatch: !0 }, g.forms.messages.invalid, s) : (u = s.validity) != null && u.patternMismatch ? this.internals.setValidity(
495
+ { patternMismatch: !0 },
496
+ g.forms.messages.invalidPattern,
497
+ s
498
+ ) : (y = s.validity) != null && y.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, g.forms.messages.tooShort, s) : (V = s.validity) != null && V.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, g.forms.messages.tooLong, s) : (C = s.validity) != null && C.rangeUnderflow ? this.internals.setValidity(
499
+ { rangeUnderflow: !0 },
500
+ this.min ? g.forms.messages.rangeUnderflowMin.replace("{min}", (b = this.min) == null ? void 0 : b.toString()) : g.forms.messages.rangeUnderflow,
501
+ s
502
+ ) : (T = s.validity) != null && T.stepMismatch ? this.internals.setValidity({ stepMismatch: !0 }, g.forms.messages.invalid, s) : (F = s.validity) != null && F.rangeOverflow ? this.internals.setValidity(
503
+ { rangeOverflow: !0 },
504
+ this.max ? g.forms.messages.rangeOverflowMax.replace("{max}", (S = this.max) == null ? void 0 : S.toString()) : g.forms.messages.rangeOverflow,
505
+ s
506
+ ) : (A = s.validity) != null && A.customError ? this.internals.setValidity({ customError: !0 }, s.validationMessage, s) : this.internals.setValidity({}));
507
+ }
508
+ setFormValue(s) {
509
+ if (this.internals)
510
+ if (Array.isArray(s)) {
511
+ const h = new FormData();
512
+ s.forEach((p) => {
513
+ h.append(this.name, p);
514
+ }), this.internals.setFormValue(h);
515
+ } else
516
+ this.internals.setFormValue(s);
517
+ }
518
+ // Trigger this when you want to set the value of the *radio or checkbox* input out to the form
519
+ // Do not use valueChanged or onChange for radios and checkboxes!
520
+ valueChecked(s) {
521
+ if (!this.touched) return;
522
+ const h = this.internals.form || this.closest("form"), p = h ? new FormData(h) : null;
523
+ h && h.querySelectorAll(
524
+ `pkt-radiobutton[name="${this.name}"], input[type=radio][name="${this.name}"]`
525
+ ).forEach((u) => {
526
+ const y = u;
527
+ y.name === this.name && y.value !== this.value && y.checked && (y.checked = !1);
528
+ }), typeof s == "string" ? (this.checked = s === "true", this.internals.ariaChecked = s === "true") : typeof s == "boolean" && (this.checked = s, this.internals.ariaChecked = s), this.checked ? (this.internals.setFormValue(this.value || "on", this.value || "on"), p && p.append(this.name, this.value || "on"), this.internals.states.add("--checked")) : (this.internals.setFormValue(null, null), p && p.delete(this.name), this.internals.states.delete("--checked")), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })), this.dispatchEvent(
529
+ new CustomEvent("value-change", {
530
+ detail: this.checked,
531
+ bubbles: !0,
532
+ composed: !0
533
+ })
534
+ ), this.internals.reportValidity();
535
+ }
536
+ valueChanged(s, h) {
537
+ (h !== this.value || h !== this._value) && (typeof s == "string" ? ((this.multiple || this.range) && s.includes(",") && (s = s.split(",")), this.value = s, this._value = Array.isArray(s) ? s : [s]) : Array.isArray(s) ? (this.value = this.multiple || this.range ? s : s[0], this._value = s) : (this.value = "", this._value = []), (!this.value || this.value.length === 0) && h && h.length !== 0 ? this.clearInputValue() : this.value && this.value.toString() !== (h == null ? void 0 : h.toString()) && this.onChange(this.value), this.updateComplete.then(() => this.requestUpdate()));
538
+ }
539
+ // When input goes from content to no content
540
+ clearInputValue() {
541
+ const s = this.multiple || this.range ? [] : "";
542
+ this.value = s, this.internals.setFormValue(s), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })), this.dispatchEvent(
543
+ new CustomEvent("value-change", {
544
+ detail: s,
545
+ bubbles: !0,
546
+ composed: !0
547
+ })
548
+ );
549
+ }
550
+ // When user enters the input, we need to push that event out to the form
551
+ onFocus() {
552
+ this.dispatchEvent(new FocusEvent("focus", { bubbles: !0, composed: !0 }));
553
+ }
554
+ // And also when the user leaves the input...
555
+ onBlur() {
556
+ this.dispatchEvent(new FocusEvent("blur", { bubbles: !0, composed: !0 }));
557
+ }
558
+ // Trigger this when user types in the input
559
+ onInput() {
560
+ this.dispatchEvent(new InputEvent("input", { bubbles: !0, composed: !0 }));
561
+ }
562
+ // Trigger this when you want to set the value of the input out to the form
563
+ onChange(s) {
564
+ if (!this.touched) {
565
+ this.touched = !0, s && this.setFormValue(s);
566
+ return;
567
+ }
568
+ typeof s != "string" && !Array.isArray(s) || ((this.range || this.multiple) && !Array.isArray(s) && s.includes(",") && (s = s.split(",")), !this.multiple && !this.range && Array.isArray(s) && (s = s[0]), this.setFormValue(s), this.manageValidity(this.inputRef.value), this.inputRefTo && this.manageValidity(this.inputRefTo.value), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })), this.dispatchEvent(
569
+ new CustomEvent("value-change", {
570
+ detail: s,
571
+ bubbles: !0,
572
+ composed: !0
573
+ })
574
+ ));
575
+ }
576
+ formResetCallback() {
577
+ this.touched = !1, this._options && this._options.length && this._options.forEach((s) => {
578
+ "selected" in s && (s.selected = !1);
579
+ }), this.checked !== void 0 ? (this.checked = !1, this.internals.ariaChecked = !1, this.internals.setFormValue("", ""), this.inputRef.value.checked = !1, this.valueChecked(this.checked)) : (this.internals.setFormValue(""), this.value = this.defaultValue || (this.multiple || this.range ? [] : ""), this._value = this.value, this.valueChanged(this.value, null)), this.internals.ariaInvalid = !1;
580
+ }
581
+ updated(s) {
582
+ super.updated(s), s.has("dataTestid") && this.dataTestid && this.inputRef.value && (this.skipForwardTestid ? this.hasAttribute("data-testid") || this.setAttribute("data-testid", this.dataTestid) : (this.inputRef.value.dataset.testid = this.dataTestid, this.removeAttribute("data-testid")));
583
+ }
584
+ firstUpdated(s) {
585
+ if (super.firstUpdated(s), !this.form) {
586
+ const h = this.internals.form || this.closest("form");
587
+ this.form = h;
588
+ }
589
+ if (this.value && this.defaultValue !== null && (this.defaultValue = this.value), this.defaultValue !== null && !this.value && this.valueChanged(this.defaultValue, null), this.defaultChecked && (this.internals.ariaChecked = !0, this.checked = !0), this.required && (this.internals.ariaRequired = !0), this.disabled && (this.internals.ariaDisabled = !0), this.id && !this.name && (this.name = this.id), this.checked !== void 0) {
590
+ const h = this.checked === "" || this.checked === "true" || this.checked === !0;
591
+ this.internals.ariaChecked = h, this.internals.setFormValue(
592
+ h ? this.value || "on" : "",
593
+ h ? this.value || "on" : ""
594
+ );
595
+ } else
596
+ this.internals.setFormValue(this.value);
597
+ this.inputRef && this.inputRef.value && (this.inputRef.value.setAttribute("form", ""), this.manageValidity(this.inputRef.value)), this.inputRefTo && this.inputRefTo.value && (this.inputRefTo.value.setAttribute("form", ""), this.manageValidity(this.inputRefTo.value));
598
+ }
599
+ }
600
+ l([
601
+ d()
602
+ ], c.prototype, "defaultValue");
603
+ l([
604
+ d({ type: Boolean, reflect: !0 })
605
+ ], c.prototype, "disabled");
606
+ l([
607
+ d({ type: Boolean, reflect: !0 })
608
+ ], c.prototype, "readonly");
609
+ l([
610
+ d({ type: Boolean, reflect: !0 })
611
+ ], c.prototype, "required");
612
+ l([
613
+ d({ type: Number, reflect: !0 })
614
+ ], c.prototype, "max");
615
+ l([
616
+ d({ type: Number, reflect: !0 })
617
+ ], c.prototype, "maxlength");
618
+ l([
619
+ d({ type: Number, reflect: !0 })
620
+ ], c.prototype, "min");
621
+ l([
622
+ d({ type: Number, reflect: !0 })
623
+ ], c.prototype, "minlength");
624
+ l([
625
+ d({ type: Number, reflect: !0 })
626
+ ], c.prototype, "step");
627
+ l([
628
+ d({ type: String })
629
+ ], c.prototype, "ariaDescribedBy");
630
+ l([
631
+ d({ type: String })
632
+ ], c.prototype, "ariaLabelledby");
633
+ l([
634
+ d({ type: String, reflect: !0 })
635
+ ], c.prototype, "name");
636
+ l([
637
+ d({ type: String, reflect: !0 })
638
+ ], c.prototype, "pattern");
639
+ l([
640
+ d({ type: String, reflect: !0 })
641
+ ], c.prototype, "placeholder");
642
+ l([
643
+ d({ type: String, reflect: !0 })
644
+ ], c.prototype, "id");
645
+ l([
646
+ d({ type: Boolean })
647
+ ], c.prototype, "counter");
648
+ l([
649
+ d({ type: Boolean })
650
+ ], c.prototype, "hasError");
651
+ l([
652
+ d({ type: Boolean })
653
+ ], c.prototype, "inline");
654
+ l([
655
+ d({ type: Boolean })
656
+ ], c.prototype, "hasFieldset");
657
+ l([
658
+ d({ type: Boolean })
659
+ ], c.prototype, "optionalTag");
660
+ l([
661
+ d({ type: Boolean })
662
+ ], c.prototype, "requiredTag");
663
+ l([
664
+ d({ type: Boolean })
665
+ ], c.prototype, "skipForwardTestid");
666
+ l([
667
+ d({ type: Boolean, reflect: !1 })
668
+ ], c.prototype, "useWrapper");
669
+ l([
670
+ d({ type: Boolean, reflect: !0 })
671
+ ], c.prototype, "fullwidth");
672
+ l([
673
+ d({ type: Number })
674
+ ], c.prototype, "counterMaxLength");
675
+ l([
676
+ d({ type: String })
677
+ ], c.prototype, "errorMessage");
678
+ l([
679
+ d({ type: String })
680
+ ], c.prototype, "helptext");
681
+ l([
682
+ d({ type: String })
683
+ ], c.prototype, "helptextDropdown");
684
+ l([
685
+ d({ type: String, reflect: !1 })
686
+ ], c.prototype, "helptextDropdownButton");
687
+ l([
688
+ d({ type: String })
689
+ ], c.prototype, "label");
690
+ l([
691
+ d({ type: String, reflect: !1 })
692
+ ], c.prototype, "optionalText");
693
+ l([
694
+ d({ type: String, reflect: !1 })
695
+ ], c.prototype, "requiredText");
696
+ l([
697
+ d({ type: String, reflect: !1 })
698
+ ], c.prototype, "tagText");
699
+ l([
700
+ d({ type: String, attribute: "data-testid" })
701
+ ], c.prototype, "dataTestid");
702
+ l([
703
+ Ce()
704
+ ], c.prototype, "touched");
705
+ export {
706
+ c as P
707
+ };