@oslokommune/punkt-react 16.7.0 → 16.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/punkt-react.es.js
CHANGED
|
@@ -4824,7 +4824,7 @@ function vh() {
|
|
|
4824
4824
|
}
|
|
4825
4825
|
}
|
|
4826
4826
|
}) : {};
|
|
4827
|
-
function
|
|
4827
|
+
function U(b) {
|
|
4828
4828
|
b.forEach((h) => {
|
|
4829
4829
|
const { addedNodes: _, removedNodes: T } = h, Y = Array.from(_), K = Array.from(T);
|
|
4830
4830
|
Y.forEach((we) => {
|
|
@@ -4870,7 +4870,7 @@ function vh() {
|
|
|
4870
4870
|
const T = new MutationObserver(X);
|
|
4871
4871
|
!((h = window == null ? void 0 : window.ShadyDOM) === null || h === void 0) && h.inUse && b.mode && b.host && (b = b.host), (_ = T.observe) === null || _ === void 0 || _.call(T, b, { childList: !0 }), v.set(b, T);
|
|
4872
4872
|
};
|
|
4873
|
-
oe() && new MutationObserver(
|
|
4873
|
+
oe() && new MutationObserver(U);
|
|
4874
4874
|
const z = {
|
|
4875
4875
|
childList: !0,
|
|
4876
4876
|
subtree: !0
|
|
@@ -5047,7 +5047,7 @@ function vh() {
|
|
|
5047
5047
|
}
|
|
5048
5048
|
});
|
|
5049
5049
|
}
|
|
5050
|
-
class
|
|
5050
|
+
class q {
|
|
5051
5051
|
static get isPolyfilled() {
|
|
5052
5052
|
return !0;
|
|
5053
5053
|
}
|
|
@@ -5174,7 +5174,7 @@ function vh() {
|
|
|
5174
5174
|
}
|
|
5175
5175
|
function qe(b = !0) {
|
|
5176
5176
|
if (!ke) {
|
|
5177
|
-
if (ke = !0, typeof window < "u" && (window.ElementInternals =
|
|
5177
|
+
if (ke = !0, typeof window < "u" && (window.ElementInternals = q), typeof CustomElementRegistry < "u") {
|
|
5178
5178
|
const h = CustomElementRegistry.prototype.define;
|
|
5179
5179
|
CustomElementRegistry.prototype.define = function(_, T, Y) {
|
|
5180
5180
|
if (T.formAssociated) {
|
|
@@ -5193,12 +5193,12 @@ function vh() {
|
|
|
5193
5193
|
} else return {};
|
|
5194
5194
|
if (i.has(this))
|
|
5195
5195
|
throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");
|
|
5196
|
-
return new
|
|
5196
|
+
return new q(this);
|
|
5197
5197
|
}), typeof Element < "u") {
|
|
5198
5198
|
let h = function(...T) {
|
|
5199
5199
|
const Y = _.apply(this, T);
|
|
5200
5200
|
if (m.set(this, Y), oe()) {
|
|
5201
|
-
const K = new MutationObserver(
|
|
5201
|
+
const K = new MutationObserver(U);
|
|
5202
5202
|
window.ShadyDOM ? K.observe(this, z) : K.observe(Y, z), o.set(this, K);
|
|
5203
5203
|
}
|
|
5204
5204
|
return Y;
|
|
@@ -5206,7 +5206,7 @@ function vh() {
|
|
|
5206
5206
|
const _ = Element.prototype.attachShadow;
|
|
5207
5207
|
Element.prototype.attachShadow = h;
|
|
5208
5208
|
}
|
|
5209
|
-
oe() && typeof document < "u" && new MutationObserver(
|
|
5209
|
+
oe() && typeof document < "u" && new MutationObserver(U).observe(document.documentElement, z), typeof HTMLFormElement < "u" && j(), (b || typeof window < "u" && !window.CustomStateSet) && ze();
|
|
5210
5210
|
}
|
|
5211
5211
|
}
|
|
5212
5212
|
return customElements.polyfillWrapFlushCallback || (te() ? typeof window < "u" && !window.CustomStateSet && ze(HTMLElement.prototype.attachInternals) : qe(!1)), n.forceCustomStateSetPolyfill = ze, n.forceElementInternalsPolyfill = qe, Object.defineProperty(n, "__esModule", { value: !0 }), n;
|
|
@@ -10713,7 +10713,13 @@ let Wn = class extends fe {
|
|
|
10713
10713
|
var n, e, t, s, i, r, a, o;
|
|
10714
10714
|
const l = ((n = this.strings.timepicker) == null ? void 0 : n.hours) ?? "Timer", d = ((e = this.strings.timepicker) == null ? void 0 : e.minutes) ?? "Minutter", f = this.label ? `${l}, ${this.label}` : l, m = this.label ? `${d}, ${this.label}` : d;
|
|
10715
10715
|
return k`
|
|
10716
|
-
<div
|
|
10716
|
+
<div
|
|
10717
|
+
class="pkt-input__container"
|
|
10718
|
+
@click=${(p) => {
|
|
10719
|
+
var v;
|
|
10720
|
+
p.target.closest("button, input") || (v = this.hoursInputRef.value) == null || v.focus();
|
|
10721
|
+
}}
|
|
10722
|
+
>
|
|
10717
10723
|
${this.stepArrows ? k`
|
|
10718
10724
|
<button
|
|
10719
10725
|
class="pkt-input-icon pkt-btn pkt-btn--icon-only pkt-btn--tertiary pkt-timepicker__button pkt-timepicker__button--prev"
|
|
@@ -10915,8 +10921,8 @@ const ie = Ti({
|
|
|
10915
10921
|
r === void 0 && v(n);
|
|
10916
10922
|
}, [n, r]);
|
|
10917
10923
|
const S = (A) => {
|
|
10918
|
-
const
|
|
10919
|
-
|
|
10924
|
+
const U = A.currentTarget.open;
|
|
10925
|
+
U !== N && (r === void 0 && v(U), f == null || f(A));
|
|
10920
10926
|
}, C = (A) => {
|
|
10921
10927
|
setTimeout(() => {
|
|
10922
10928
|
d == null || d(A);
|
|
@@ -12834,9 +12840,9 @@ function Gf(n) {
|
|
|
12834
12840
|
} = n, C = Lo(), B = N ?? C, A = Me(() => ({ ...Yf, ...v }), [v]), W = Me(
|
|
12835
12841
|
() => p ? fn(p) : Tf(),
|
|
12836
12842
|
[p]
|
|
12837
|
-
),
|
|
12838
|
-
() => ({ earliest: r, latest: a, excludedates:
|
|
12839
|
-
[r, a,
|
|
12843
|
+
), U = Me(() => o ? o.map((b) => typeof b == "string" ? fn(b) : b) : [], [o]), X = e !== void 0, [xe, z] = de([]), M = X ? e : xe, G = Me(() => Pl(M), [M]), [V, ee] = de(0), [ce, se] = de(0), [ve, $e] = de({}), [ge, ue] = de(null), [pe, et] = de(null), J = ne(null), I = ne([]), Ve = ne(0), Ue = ne(!1), oe = ne(!1), Xe = Me(
|
|
12844
|
+
() => ({ earliest: r, latest: a, excludedates: U, excludeweekdays: l }),
|
|
12845
|
+
[r, a, U, l]
|
|
12840
12846
|
);
|
|
12841
12847
|
me(() => {
|
|
12842
12848
|
let b = null;
|
|
@@ -12887,20 +12893,20 @@ function Gf(n) {
|
|
|
12887
12893
|
[Xe, t, s, M.length]
|
|
12888
12894
|
), R = O(() => typeof M == "string" ? M.split(",") : M, [M]), We = O(
|
|
12889
12895
|
(b) => {
|
|
12890
|
-
if (!i || G.length !== 1 || !Rl(b, G,
|
|
12896
|
+
if (!i || G.length !== 1 || !Rl(b, G, U, l) || G[0] >= b) {
|
|
12891
12897
|
ue(null);
|
|
12892
12898
|
return;
|
|
12893
12899
|
}
|
|
12894
12900
|
ue(b), $e(Co(G[0], b));
|
|
12895
12901
|
},
|
|
12896
|
-
[i, G,
|
|
12902
|
+
[i, G, U, l]
|
|
12897
12903
|
), Fe = O(
|
|
12898
12904
|
(b) => {
|
|
12899
12905
|
if (!b) return;
|
|
12900
12906
|
let h;
|
|
12901
12907
|
if (i)
|
|
12902
12908
|
h = Ff(b, R(), {
|
|
12903
|
-
excludedates:
|
|
12909
|
+
excludedates: U,
|
|
12904
12910
|
excludeweekdays: l
|
|
12905
12911
|
}), X || z(h), h.length === 2 ? (g == null || g(h), _e()) : (h.length === 1 && $e({}), g == null || g(h));
|
|
12906
12912
|
else if (t)
|
|
@@ -12916,7 +12922,7 @@ function Gf(n) {
|
|
|
12916
12922
|
s,
|
|
12917
12923
|
R,
|
|
12918
12924
|
M,
|
|
12919
|
-
|
|
12925
|
+
U,
|
|
12920
12926
|
l,
|
|
12921
12927
|
X,
|
|
12922
12928
|
Te,
|
|
@@ -12929,7 +12935,7 @@ function Gf(n) {
|
|
|
12929
12935
|
X || z(h), i && h.length === 2 && (g == null || g(h), _e());
|
|
12930
12936
|
},
|
|
12931
12937
|
[R, X, i, g, _e]
|
|
12932
|
-
),
|
|
12938
|
+
), q = O(
|
|
12933
12939
|
(b) => {
|
|
12934
12940
|
const h = da(b, R());
|
|
12935
12941
|
X || z(h);
|
|
@@ -13003,7 +13009,7 @@ function Gf(n) {
|
|
|
13003
13009
|
withcontrols: f,
|
|
13004
13010
|
earliest: r,
|
|
13005
13011
|
latest: a,
|
|
13006
|
-
excludedates:
|
|
13012
|
+
excludedates: U,
|
|
13007
13013
|
excludeweekdays: l,
|
|
13008
13014
|
className: S,
|
|
13009
13015
|
dateConstraints: Xe,
|
|
@@ -13015,7 +13021,7 @@ function Gf(n) {
|
|
|
13015
13021
|
changeMonth: le,
|
|
13016
13022
|
handleDateSelect: Fe,
|
|
13017
13023
|
addToSelected: j,
|
|
13018
|
-
removeFromSelected:
|
|
13024
|
+
removeFromSelected: q,
|
|
13019
13025
|
toggleSelectedDate: te,
|
|
13020
13026
|
handleRangeHover: We,
|
|
13021
13027
|
isExcluded: Be,
|
|
@@ -13187,7 +13193,7 @@ const eg = ({ state: n }) => {
|
|
|
13187
13193
|
/* @__PURE__ */ c("th", { children: /* @__PURE__ */ c("div", { className: "pkt-calendar__day-name", "aria-label": e.days[M], children: e.daysShort[M] }) }, `day-${M}`)
|
|
13188
13194
|
);
|
|
13189
13195
|
return /* @__PURE__ */ c("tr", { className: "pkt-cal-week-row", children: z });
|
|
13190
|
-
},
|
|
13196
|
+
}, U = (z, M) => {
|
|
13191
13197
|
const G = Qf(z, M, B), { currentDate: V, currentDateISO: ee, isSelected: ce, isDisabled: se, ariaLabel: ve, tabindex: $e } = G;
|
|
13192
13198
|
m.current.push({ currentDateISO: ee, isDisabled: se, tabindex: $e });
|
|
13193
13199
|
const ge = Jf(G, A), ue = Zf(G, A);
|
|
@@ -13228,7 +13234,7 @@ const eg = ({ state: n }) => {
|
|
|
13228
13234
|
for (let ve = 0; ve < wi; ve++) {
|
|
13229
13235
|
const $e = Uf(ce, ve, G, M);
|
|
13230
13236
|
if ($e === "current-month")
|
|
13231
|
-
se.push(
|
|
13237
|
+
se.push(U(G, z)), G++;
|
|
13232
13238
|
else {
|
|
13233
13239
|
const ge = qf($e, ve, G, M);
|
|
13234
13240
|
se.push(X(ge, `${$e}-${ce}-${ve}`)), $e === "next-month" && G++;
|
|
@@ -13313,8 +13319,8 @@ const os = Le(
|
|
|
13313
13319
|
g(!0), l && l();
|
|
13314
13320
|
}, [l]), N = ne(null), [S, C] = de("");
|
|
13315
13321
|
me(() => {
|
|
13316
|
-
var
|
|
13317
|
-
C(((X = (
|
|
13322
|
+
var U, X;
|
|
13323
|
+
C(((X = (U = N.current) == null ? void 0 : U.textContent) == null ? void 0 : X.trim()) ?? "");
|
|
13318
13324
|
}, [n]);
|
|
13319
13325
|
const B = Me(() => {
|
|
13320
13326
|
if (i && !o) return S && `Klikk for å fjerne ${S}` || f;
|
|
@@ -13384,7 +13390,7 @@ const tg = Le(
|
|
|
13384
13390
|
[`pkt-card--${a}`]: a,
|
|
13385
13391
|
[`pkt-card--padding-${p}`]: p,
|
|
13386
13392
|
"pkt-card--border-on-hover": i
|
|
13387
|
-
}), W = (t == null ? void 0 : t.trim()) || (o ? `${o} lenkekort` : "lenkekort"),
|
|
13393
|
+
}), W = (t == null ? void 0 : t.trim()) || (o ? `${o} lenkekort` : "lenkekort"), U = (t == null ? void 0 : t.trim()) || o || "kort", X = `h${l}`, xe = () => d != null && d.src ? /* @__PURE__ */ c("div", { className: be("pkt-card__image", `pkt-card__image-${f}`), children: /* @__PURE__ */ c("img", { src: d.src, alt: d.alt || "" }) }) : null, z = () => S.length === 0 ? null : /* @__PURE__ */ c(
|
|
13388
13394
|
"div",
|
|
13389
13395
|
{
|
|
13390
13396
|
className: be("pkt-card__tags", `pkt-card__tags-${N}`),
|
|
@@ -13420,7 +13426,7 @@ const tg = Le(
|
|
|
13420
13426
|
s && /* @__PURE__ */ c("span", { className: "pkt-card__metadata-lead", children: s }),
|
|
13421
13427
|
r && /* @__PURE__ */ c("span", { className: "pkt-card__metadata-trail", children: r })
|
|
13422
13428
|
] });
|
|
13423
|
-
return /* @__PURE__ */ c("div", { ref: B, className: be("pkt-card-root", e), style: { display: "block", width: "100%" }, children: /* @__PURE__ */ x("article", { ...C, className: A, "aria-label": m ? W :
|
|
13429
|
+
return /* @__PURE__ */ c("div", { ref: B, className: be("pkt-card-root", e), style: { display: "block", width: "100%" }, children: /* @__PURE__ */ x("article", { ...C, className: A, "aria-label": m ? W : U, children: [
|
|
13424
13430
|
xe(),
|
|
13425
13431
|
/* @__PURE__ */ x("div", { className: "pkt-card__wrapper", children: [
|
|
13426
13432
|
N === "top" && z(),
|
|
@@ -13461,7 +13467,7 @@ const ng = Le(
|
|
|
13461
13467
|
}, [p]), me(() => {
|
|
13462
13468
|
typeof B == "function" ? B(A.current) : B && (B.current = A.current);
|
|
13463
13469
|
}, [B]);
|
|
13464
|
-
const W = [a, "pkt-input-check"].filter(Boolean).join(" "),
|
|
13470
|
+
const W = [a, "pkt-input-check"].filter(Boolean).join(" "), U = [
|
|
13465
13471
|
"pkt-input-check__input-label",
|
|
13466
13472
|
t ? "pkt-input-check__input-label--disabled" : "",
|
|
13467
13473
|
`pkt-input-check__input-label--${d}`,
|
|
@@ -13476,7 +13482,7 @@ const ng = Le(
|
|
|
13476
13482
|
$ && /* @__PURE__ */ c("span", { className: xe + " pkt-tag--beige", children: N })
|
|
13477
13483
|
] });
|
|
13478
13484
|
return /* @__PURE__ */ c("div", { className: W, children: /* @__PURE__ */ x("div", { className: X, children: [
|
|
13479
|
-
d === "left" && /* @__PURE__ */ x("label", { className:
|
|
13485
|
+
d === "left" && /* @__PURE__ */ x("label", { className: U, htmlFor: n, children: [
|
|
13480
13486
|
s,
|
|
13481
13487
|
" ",
|
|
13482
13488
|
z(),
|
|
@@ -13495,7 +13501,7 @@ const ng = Le(
|
|
|
13495
13501
|
...C
|
|
13496
13502
|
}
|
|
13497
13503
|
),
|
|
13498
|
-
d === "right" && /* @__PURE__ */ x("label", { className:
|
|
13504
|
+
d === "right" && /* @__PURE__ */ x("label", { className: U, htmlFor: n, children: [
|
|
13499
13505
|
s,
|
|
13500
13506
|
" ",
|
|
13501
13507
|
z(),
|
|
@@ -13529,7 +13535,7 @@ const Kn = Le(
|
|
|
13529
13535
|
children: B,
|
|
13530
13536
|
className: A = "",
|
|
13531
13537
|
hasFieldset: W = !1,
|
|
13532
|
-
role:
|
|
13538
|
+
role: U = "group",
|
|
13533
13539
|
counterPosition: X = "bottom"
|
|
13534
13540
|
}, xe) => {
|
|
13535
13541
|
const [z, M] = de(!1), G = S || (t ? `${n}-helptext` : void 0), V = !!r, ee = V && X === "top", ce = V && X === "bottom", se = () => M((I) => !I), ve = [
|
|
@@ -13590,7 +13596,7 @@ const Kn = Le(
|
|
|
13590
13596
|
ce && /* @__PURE__ */ c(ge, {}),
|
|
13591
13597
|
v && g && /* @__PURE__ */ c("div", { className: "pkt-inputwrapper__alert-wrapper", children: /* @__PURE__ */ c(ca, { skin: "error", "aria-live": "assertive", role: "alert", id: `${n}-error`, compact: !0, children: g }) })
|
|
13592
13598
|
] });
|
|
13593
|
-
return /* @__PURE__ */ c("div", { className: ve, ref: xe, role:
|
|
13599
|
+
return /* @__PURE__ */ c("div", { className: ve, ref: xe, role: U, children: W ? /* @__PURE__ */ c("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": G, children: J }) : /* @__PURE__ */ c("div", { className: "pkt-inputwrapper__fieldset", children: J }) });
|
|
13594
13600
|
}
|
|
13595
13601
|
);
|
|
13596
13602
|
Kn.displayName = "PktInputWrapper";
|
|
@@ -13763,7 +13769,7 @@ const Cn = (n, e) => e && (n.find((t) => t.value === e) || n.find((t) => t.label
|
|
|
13763
13769
|
handleInputChange: B,
|
|
13764
13770
|
handleInputKeydown: A,
|
|
13765
13771
|
handleInputFocus: W,
|
|
13766
|
-
handleInputBlur:
|
|
13772
|
+
handleInputBlur: U,
|
|
13767
13773
|
handleInputClick: X,
|
|
13768
13774
|
handlePlaceholderClick: xe,
|
|
13769
13775
|
handleSelectOnlyKeydown: z,
|
|
@@ -13800,7 +13806,7 @@ const Cn = (n, e) => e && (n.find((t) => t.value === e) || n.find((t) => t.label
|
|
|
13800
13806
|
onChange: B,
|
|
13801
13807
|
onKeyDown: A,
|
|
13802
13808
|
onFocus: W,
|
|
13803
|
-
onBlur:
|
|
13809
|
+
onBlur: U,
|
|
13804
13810
|
placeholder: !i.length || o && f === "outside" ? m : void 0,
|
|
13805
13811
|
autoComplete: "off",
|
|
13806
13812
|
role: "combobox",
|
|
@@ -13848,13 +13854,13 @@ const Cn = (n, e) => e && (n.find((t) => t.value === e) || n.find((t) => t.label
|
|
|
13848
13854
|
handleSearchKeydown: B,
|
|
13849
13855
|
handleNewOptionClick: A,
|
|
13850
13856
|
handleNewOptionKeydown: W,
|
|
13851
|
-
listboxRef:
|
|
13857
|
+
listboxRef: U
|
|
13852
13858
|
} = n, X = r.filter((V) => V.selected).length, xe = a && X > 0 && d != null && d > 0, z = m && p && !l, M = !!v, G = ["pkt-listbox", s && "pkt-listbox__open", "pkt-txt-16-light"].filter(Boolean).join(" ");
|
|
13853
13859
|
return /* @__PURE__ */ x(Je, { children: [
|
|
13854
13860
|
/* @__PURE__ */ x(
|
|
13855
13861
|
"div",
|
|
13856
13862
|
{
|
|
13857
|
-
ref:
|
|
13863
|
+
ref: U,
|
|
13858
13864
|
id: e,
|
|
13859
13865
|
className: G,
|
|
13860
13866
|
role: r.length > 0 ? "listbox" : void 0,
|
|
@@ -13996,7 +14002,7 @@ function mg(n, e) {
|
|
|
13996
14002
|
fullwidth: B = !1,
|
|
13997
14003
|
hasError: A = !1,
|
|
13998
14004
|
errorMessage: W,
|
|
13999
|
-
helptext:
|
|
14005
|
+
helptext: U,
|
|
14000
14006
|
helptextDropdown: X,
|
|
14001
14007
|
helptextDropdownButton: xe,
|
|
14002
14008
|
optionalTag: z = !1,
|
|
@@ -14036,7 +14042,7 @@ function mg(n, e) {
|
|
|
14036
14042
|
...le
|
|
14037
14043
|
];
|
|
14038
14044
|
return pg(y, R);
|
|
14039
|
-
}, [le, We, R]), [
|
|
14045
|
+
}, [le, We, R]), [q, te] = de(!1), [ke, Z] = de(""), [ze, qe] = de(""), [b, h] = de(""), [_, T] = de(null), [Y, K] = de(!1), [we, ht] = de(!1), [ct, Qe] = de(-1), zt = ne(!1), Kt = Vi(R.length, d ?? null), Pe = l && d != null, Vt = Me(() => ke ? f ? No(j, ke).filtered : ig(j, ke) : j, [j, ke, f]), tt = Me(
|
|
14040
14046
|
() => {
|
|
14041
14047
|
var y;
|
|
14042
14048
|
return (y = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")) == null ? void 0 : y.set;
|
|
@@ -14054,10 +14060,10 @@ function mg(n, e) {
|
|
|
14054
14060
|
me(() => {
|
|
14055
14061
|
Ve.current && (Ve.current.value = mt);
|
|
14056
14062
|
}, [mt]), me(() => {
|
|
14057
|
-
if (
|
|
14063
|
+
if (q || l || !I.current) return;
|
|
14058
14064
|
const y = R[0] ? Hi(R[0], j, v) : "";
|
|
14059
14065
|
I.current.value !== y && (I.current.value = y);
|
|
14060
|
-
}, [R, j, v, l,
|
|
14066
|
+
}, [R, j, v, l, q]);
|
|
14061
14067
|
const It = O(
|
|
14062
14068
|
(y, L = !0) => {
|
|
14063
14069
|
he || Be(y), L && (ge == null || ge(y), yt(y));
|
|
@@ -14208,7 +14214,7 @@ function mg(n, e) {
|
|
|
14208
14214
|
return;
|
|
14209
14215
|
}
|
|
14210
14216
|
const L = ag(y.key, y.shiftKey, l);
|
|
14211
|
-
if (L && !(y.key === "Tab" && !
|
|
14217
|
+
if (L && !(y.key === "Tab" && !q)) {
|
|
14212
14218
|
if (L === "focusListbox" && y.key === "Tab" && !((Xn = oe.current) == null ? void 0 : Xn.querySelector(
|
|
14213
14219
|
'[role="option"]:not([data-disabled]), [data-type="new-option"]'
|
|
14214
14220
|
))) {
|
|
@@ -14226,7 +14232,7 @@ function mg(n, e) {
|
|
|
14226
14232
|
break;
|
|
14227
14233
|
}
|
|
14228
14234
|
case "focusListbox":
|
|
14229
|
-
oe.current && (
|
|
14235
|
+
oe.current && (q || te(!0), Ui(oe.current, {
|
|
14230
14236
|
disabled: S,
|
|
14231
14237
|
allowUserInput: p,
|
|
14232
14238
|
customUserInput: _,
|
|
@@ -14247,7 +14253,7 @@ function mg(n, e) {
|
|
|
14247
14253
|
p,
|
|
14248
14254
|
_,
|
|
14249
14255
|
m,
|
|
14250
|
-
|
|
14256
|
+
q,
|
|
14251
14257
|
ut,
|
|
14252
14258
|
Ht,
|
|
14253
14259
|
Te
|
|
@@ -14264,11 +14270,11 @@ function mg(n, e) {
|
|
|
14264
14270
|
K(!1), ht(!1);
|
|
14265
14271
|
}, []), E = O(
|
|
14266
14272
|
(y) => {
|
|
14267
|
-
if (S || !
|
|
14273
|
+
if (S || !q) return;
|
|
14268
14274
|
const L = y.relatedTarget, ae = Xe.current;
|
|
14269
14275
|
ae && L && ae.contains(L) || Pt();
|
|
14270
14276
|
},
|
|
14271
|
-
[S,
|
|
14277
|
+
[S, q, Pt]
|
|
14272
14278
|
), H = O(
|
|
14273
14279
|
(y) => {
|
|
14274
14280
|
var L;
|
|
@@ -14280,7 +14286,7 @@ function mg(n, e) {
|
|
|
14280
14286
|
(L = I.current) == null || L.focus();
|
|
14281
14287
|
else {
|
|
14282
14288
|
y.stopPropagation(), y.preventDefault();
|
|
14283
|
-
const ae = !
|
|
14289
|
+
const ae = !q;
|
|
14284
14290
|
te(ae), ae && oe.current && Ui(oe.current, {
|
|
14285
14291
|
disabled: S,
|
|
14286
14292
|
allowUserInput: p,
|
|
@@ -14289,7 +14295,7 @@ function mg(n, e) {
|
|
|
14289
14295
|
});
|
|
14290
14296
|
}
|
|
14291
14297
|
},
|
|
14292
|
-
[S, J,
|
|
14298
|
+
[S, J, q, p, _, m]
|
|
14293
14299
|
), re = O(
|
|
14294
14300
|
(y) => {
|
|
14295
14301
|
S || (y.stopPropagation(), J && I.current ? (I.current.focus(), K(!0)) : te((L) => !L));
|
|
@@ -14303,7 +14309,7 @@ function mg(n, e) {
|
|
|
14303
14309
|
case " ":
|
|
14304
14310
|
case "ArrowDown":
|
|
14305
14311
|
case "ArrowUp":
|
|
14306
|
-
y.preventDefault(),
|
|
14312
|
+
y.preventDefault(), q ? te(!1) : (te(!0), oe.current && window.setTimeout(() => {
|
|
14307
14313
|
oe.current && Ui(oe.current, {
|
|
14308
14314
|
disabled: S,
|
|
14309
14315
|
allowUserInput: p && !Kt,
|
|
@@ -14313,11 +14319,11 @@ function mg(n, e) {
|
|
|
14313
14319
|
}, 0));
|
|
14314
14320
|
break;
|
|
14315
14321
|
case "Escape":
|
|
14316
|
-
|
|
14322
|
+
q && (y.preventDefault(), te(!1));
|
|
14317
14323
|
break;
|
|
14318
14324
|
case "Home":
|
|
14319
14325
|
case "End":
|
|
14320
|
-
y.preventDefault(),
|
|
14326
|
+
y.preventDefault(), q || te(!0), oe.current && window.setTimeout(() => {
|
|
14321
14327
|
oe.current && Ui(oe.current, {
|
|
14322
14328
|
disabled: S,
|
|
14323
14329
|
allowUserInput: p && !Kt,
|
|
@@ -14339,7 +14345,7 @@ function mg(n, e) {
|
|
|
14339
14345
|
break;
|
|
14340
14346
|
}
|
|
14341
14347
|
},
|
|
14342
|
-
[S,
|
|
14348
|
+
[S, q, p, Kt, _, m, l, R, ut]
|
|
14343
14349
|
), P = O(
|
|
14344
14350
|
(y) => {
|
|
14345
14351
|
Ht(y);
|
|
@@ -14450,7 +14456,7 @@ function mg(n, e) {
|
|
|
14450
14456
|
[Ht, m, Te]
|
|
14451
14457
|
);
|
|
14452
14458
|
return me(() => {
|
|
14453
|
-
if (!
|
|
14459
|
+
if (!q) return;
|
|
14454
14460
|
const y = (L) => {
|
|
14455
14461
|
const ae = L.target;
|
|
14456
14462
|
Xe.current && !Xe.current.contains(ae) && Pt();
|
|
@@ -14458,7 +14464,7 @@ function mg(n, e) {
|
|
|
14458
14464
|
return document.addEventListener("click", y, !0), () => {
|
|
14459
14465
|
document.removeEventListener("click", y, !0);
|
|
14460
14466
|
};
|
|
14461
|
-
}, [
|
|
14467
|
+
}, [q, Pt]), me(() => {
|
|
14462
14468
|
var ae;
|
|
14463
14469
|
const y = (ae = Xe.current) == null ? void 0 : ae.closest("form");
|
|
14464
14470
|
if (!y) return;
|
|
@@ -14505,7 +14511,7 @@ function mg(n, e) {
|
|
|
14505
14511
|
options: j,
|
|
14506
14512
|
filteredOptions: Vt,
|
|
14507
14513
|
// UI state
|
|
14508
|
-
isOpen:
|
|
14514
|
+
isOpen: q,
|
|
14509
14515
|
userInfoMessage: b,
|
|
14510
14516
|
addValueText: _,
|
|
14511
14517
|
maxIsReached: Kt,
|
|
@@ -14528,7 +14534,7 @@ function mg(n, e) {
|
|
|
14528
14534
|
fullwidth: B,
|
|
14529
14535
|
hasError: A,
|
|
14530
14536
|
errorMessage: W,
|
|
14531
|
-
helptext:
|
|
14537
|
+
helptext: U,
|
|
14532
14538
|
helptextDropdown: X,
|
|
14533
14539
|
helptextDropdownButton: xe,
|
|
14534
14540
|
optionalTag: z,
|
|
@@ -14759,7 +14765,7 @@ const Hl = () => {
|
|
|
14759
14765
|
isIOSDevice: B,
|
|
14760
14766
|
strings: A,
|
|
14761
14767
|
inputClasses: W,
|
|
14762
|
-
buttonClasses:
|
|
14768
|
+
buttonClasses: U,
|
|
14763
14769
|
rangeLabelClasses: X,
|
|
14764
14770
|
datepickerInputsClasses: xe,
|
|
14765
14771
|
isInputDisabled: z,
|
|
@@ -14787,7 +14793,7 @@ const Hl = () => {
|
|
|
14787
14793
|
"button",
|
|
14788
14794
|
{
|
|
14789
14795
|
ref: V,
|
|
14790
|
-
className:
|
|
14796
|
+
className: U,
|
|
14791
14797
|
type: "button",
|
|
14792
14798
|
onClick: ee,
|
|
14793
14799
|
disabled: l,
|
|
@@ -14947,7 +14953,7 @@ function Ng(n, e) {
|
|
|
14947
14953
|
fullwidth: B = !1,
|
|
14948
14954
|
hasFieldset: A = !1,
|
|
14949
14955
|
inline: W = !1,
|
|
14950
|
-
helptext:
|
|
14956
|
+
helptext: U,
|
|
14951
14957
|
helptextDropdown: X,
|
|
14952
14958
|
helptextDropdownButton: xe,
|
|
14953
14959
|
hasError: z = !1,
|
|
@@ -14978,7 +14984,7 @@ function Ng(n, e) {
|
|
|
14978
14984
|
me(() => {
|
|
14979
14985
|
S !== void 0 && Fe(S);
|
|
14980
14986
|
}, [S]);
|
|
14981
|
-
const j = ne(null),
|
|
14987
|
+
const j = ne(null), q = ne(null), te = ne(null), ke = ne(null), Z = ne(null), ze = Me(() => gg(), []), qe = Me(() => Hl(), []), b = Me(
|
|
14982
14988
|
() => $e ?? (d ? Tg : Cg),
|
|
14983
14989
|
[$e, d]
|
|
14984
14990
|
), h = typeof J == "string" ? J : J !== void 0 ? String(J) : void 0, _ = typeof I == "string" ? I : I !== void 0 ? String(I) : void 0, T = Me(() => {
|
|
@@ -15122,7 +15128,7 @@ function Ng(n, e) {
|
|
|
15122
15128
|
() => Zt(j.current),
|
|
15123
15129
|
() => {
|
|
15124
15130
|
var P;
|
|
15125
|
-
return (P =
|
|
15131
|
+
return (P = q.current) == null ? void 0 : P.focus();
|
|
15126
15132
|
},
|
|
15127
15133
|
() => {
|
|
15128
15134
|
var P;
|
|
@@ -15136,11 +15142,11 @@ function Ng(n, e) {
|
|
|
15136
15142
|
qi(
|
|
15137
15143
|
D.nativeEvent,
|
|
15138
15144
|
() => yt(),
|
|
15139
|
-
() => Zt(
|
|
15145
|
+
() => Zt(q.current),
|
|
15140
15146
|
void 0,
|
|
15141
15147
|
() => {
|
|
15142
15148
|
var P;
|
|
15143
|
-
return (P =
|
|
15149
|
+
return (P = q.current) == null ? void 0 : P.blur();
|
|
15144
15150
|
}
|
|
15145
15151
|
);
|
|
15146
15152
|
},
|
|
@@ -15215,7 +15221,7 @@ function Ng(n, e) {
|
|
|
15215
15221
|
fullwidth: B,
|
|
15216
15222
|
hasFieldset: A,
|
|
15217
15223
|
inline: W,
|
|
15218
|
-
helptext:
|
|
15224
|
+
helptext: U,
|
|
15219
15225
|
helptextDropdown: X,
|
|
15220
15226
|
helptextDropdownButton: xe,
|
|
15221
15227
|
hasError: z,
|
|
@@ -15241,7 +15247,7 @@ function Ng(n, e) {
|
|
|
15241
15247
|
isInputDisabled: ct,
|
|
15242
15248
|
hasCounter: Qe,
|
|
15243
15249
|
inputRef: j,
|
|
15244
|
-
inputRefTo:
|
|
15250
|
+
inputRefTo: q,
|
|
15245
15251
|
changeInputRef: te,
|
|
15246
15252
|
btnRef: ke,
|
|
15247
15253
|
wrapperRef: Z,
|
|
@@ -15408,7 +15414,7 @@ const pa = or({}), Rg = ".PDF, .JPEG, .JPG, .PNG, .HEIC, .DOC, .DOCX, .ODT", Lg
|
|
|
15408
15414
|
B(Array.from(G));
|
|
15409
15415
|
}, W = (M) => {
|
|
15410
15416
|
B(M);
|
|
15411
|
-
},
|
|
15417
|
+
}, U = (M) => {
|
|
15412
15418
|
if (M.preventDefault(), N(!1), l) return;
|
|
15413
15419
|
const G = M.dataTransfer.files, V = Array.from(G);
|
|
15414
15420
|
W(V);
|
|
@@ -15426,7 +15432,7 @@ const pa = or({}), Rg = ".PDF, .JPEG, .JPG, .PNG, .HEIC, .DOC, .DOCX, .ODT", Lg
|
|
|
15426
15432
|
return /* @__PURE__ */ x(
|
|
15427
15433
|
"div",
|
|
15428
15434
|
{
|
|
15429
|
-
onDrop:
|
|
15435
|
+
onDrop: U,
|
|
15430
15436
|
onDragOver: X,
|
|
15431
15437
|
onDragLeave: xe,
|
|
15432
15438
|
onClick: z,
|
|
@@ -15507,7 +15513,7 @@ const pa = or({}), Rg = ".PDF, .JPEG, .JPG, .PNG, .HEIC, .DOC, .DOCX, .ODT", Lg
|
|
|
15507
15513
|
requiredText: B,
|
|
15508
15514
|
tagText: A = null,
|
|
15509
15515
|
placeholder: W,
|
|
15510
|
-
rows:
|
|
15516
|
+
rows: U,
|
|
15511
15517
|
useWrapper: X = !0,
|
|
15512
15518
|
onChange: xe,
|
|
15513
15519
|
value: z,
|
|
@@ -15556,7 +15562,7 @@ const pa = or({}), Rg = ".PDF, .JPEG, .JPG, .PNG, .HEIC, .DOC, .DOCX, .ODT", Lg
|
|
|
15556
15562
|
id: ge,
|
|
15557
15563
|
placeholder: W,
|
|
15558
15564
|
disabled: a,
|
|
15559
|
-
rows:
|
|
15565
|
+
rows: U,
|
|
15560
15566
|
"aria-labelledby": pe,
|
|
15561
15567
|
"aria-invalid": l,
|
|
15562
15568
|
"aria-errormessage": `${n}-error`,
|
|
@@ -15829,23 +15835,23 @@ const Fg = Symbol("comment"), Vg = (n) => {
|
|
|
15829
15835
|
...v
|
|
15830
15836
|
}, g) => {
|
|
15831
15837
|
const $ = ne(null), N = g || $, S = O(() => {
|
|
15832
|
-
var
|
|
15833
|
-
(
|
|
15838
|
+
var U, X;
|
|
15839
|
+
(U = N.current) != null && U.open && ((X = N.current) == null || X.close(), p == null || p());
|
|
15834
15840
|
}, [N, p]);
|
|
15835
15841
|
me(() => {
|
|
15836
|
-
const
|
|
15837
|
-
if (!
|
|
15842
|
+
const U = N.current;
|
|
15843
|
+
if (!U) return;
|
|
15838
15844
|
const X = new MutationObserver(() => {
|
|
15839
|
-
|
|
15845
|
+
U.open ? document.body.classList.add("pkt-modal--open") : document.body.classList.remove("pkt-modal--open");
|
|
15840
15846
|
});
|
|
15841
|
-
return X.observe(
|
|
15847
|
+
return X.observe(U, { attributes: !0, attributeFilter: ["open"] }), () => X.disconnect();
|
|
15842
15848
|
}, [N]), me(() => {
|
|
15843
|
-
var
|
|
15844
|
-
t ? (
|
|
15849
|
+
var U, X, xe, z;
|
|
15850
|
+
t ? (U = N.current) != null && U.open || (X = N.current) == null || X.showModal() : (xe = N.current) != null && xe.open && ((z = N.current) == null || z.close());
|
|
15845
15851
|
}, [t, N]);
|
|
15846
15852
|
const C = O(
|
|
15847
|
-
(
|
|
15848
|
-
r &&
|
|
15853
|
+
(U) => {
|
|
15854
|
+
r && U.target === N.current && S();
|
|
15849
15855
|
},
|
|
15850
15856
|
[r, N, S]
|
|
15851
15857
|
), B = O(() => {
|
|
@@ -16458,17 +16464,17 @@ const ub = (n) => {
|
|
|
16458
16464
|
hasError: B = !1,
|
|
16459
16465
|
disabled: A = !1,
|
|
16460
16466
|
label: W,
|
|
16461
|
-
helptext:
|
|
16467
|
+
helptext: U,
|
|
16462
16468
|
optionalTag: X,
|
|
16463
16469
|
requiredTag: xe,
|
|
16464
16470
|
enableImagePreview: z = !1,
|
|
16465
16471
|
...M
|
|
16466
16472
|
}, G) => {
|
|
16467
16473
|
const V = "transfers" in M ? M.transfers : void 0, [ee, ce] = de(null), se = B || !!ee, ve = C || ee, $e = $ ? nb($) : void 0, ge = O(
|
|
16468
|
-
(
|
|
16474
|
+
(q) => {
|
|
16469
16475
|
var te;
|
|
16470
16476
|
if (v && v.length > 0) {
|
|
16471
|
-
const ke = ((te =
|
|
16477
|
+
const ke = ((te = q.name.split(".").pop()) == null ? void 0 : te.toLowerCase()) || "", Z = q.type.toLowerCase();
|
|
16472
16478
|
if (!v.some((qe) => {
|
|
16473
16479
|
const b = qe.toLowerCase().replace(/^\./, "");
|
|
16474
16480
|
if (b.includes("/")) {
|
|
@@ -16484,11 +16490,11 @@ const ub = (n) => {
|
|
|
16484
16490
|
return (g == null ? void 0 : g.replace("{formats}", qe)) || b;
|
|
16485
16491
|
}
|
|
16486
16492
|
}
|
|
16487
|
-
if ($e &&
|
|
16493
|
+
if ($e && q.size > $e) {
|
|
16488
16494
|
const ke = fr($e), Z = `Filen er for stor. Maks størrelse er ${ke}.`;
|
|
16489
16495
|
return (N == null ? void 0 : N.replace("{maxSize}", ke)) || Z;
|
|
16490
16496
|
}
|
|
16491
|
-
return S ? S(
|
|
16497
|
+
return S ? S(q) : null;
|
|
16492
16498
|
},
|
|
16493
16499
|
[v, g, $e, N, S]
|
|
16494
16500
|
);
|
|
@@ -16499,13 +16505,13 @@ const ub = (n) => {
|
|
|
16499
16505
|
);
|
|
16500
16506
|
const pe = n !== void 0 ? n : e || [], et = typeof m == "string" ? Ao[m] : m, J = m === "thumbnail", I = typeof M.accept == "string" ? M.accept.trim() : void 0, Ve = Me(() => {
|
|
16501
16507
|
if (!(!v || v.length === 0))
|
|
16502
|
-
return v.map((
|
|
16503
|
-
const te =
|
|
16508
|
+
return v.map((q) => q.trim()).filter(Boolean).map((q) => {
|
|
16509
|
+
const te = q.toLowerCase();
|
|
16504
16510
|
return te.includes("/") || te.startsWith(".") ? te : `.${te}`;
|
|
16505
16511
|
}).join(", ");
|
|
16506
16512
|
}, [v]), Ue = I || Ve, oe = a && !J, Xe = r && !J, Te = O(
|
|
16507
|
-
(
|
|
16508
|
-
for (const ke of
|
|
16513
|
+
(q) => {
|
|
16514
|
+
for (const ke of q) {
|
|
16509
16515
|
const Z = ge(ke.file);
|
|
16510
16516
|
if (Z) {
|
|
16511
16517
|
ce(Z);
|
|
@@ -16513,23 +16519,23 @@ const ub = (n) => {
|
|
|
16513
16519
|
}
|
|
16514
16520
|
}
|
|
16515
16521
|
ce(null);
|
|
16516
|
-
const te = s ? [...pe, ...
|
|
16517
|
-
l && l(te), i === "custom" && d &&
|
|
16522
|
+
const te = s ? [...pe, ...q] : [q[0]];
|
|
16523
|
+
l && l(te), i === "custom" && d && q.forEach((ke) => {
|
|
16518
16524
|
d == null || d(ke);
|
|
16519
16525
|
});
|
|
16520
16526
|
},
|
|
16521
16527
|
[l, pe, s, i, d, ge]
|
|
16522
16528
|
), _e = O(
|
|
16523
|
-
(
|
|
16524
|
-
const ke = pe.map((Z) => Z.fileId ===
|
|
16529
|
+
(q, te) => {
|
|
16530
|
+
const ke = pe.map((Z) => Z.fileId === q ? { ...Z, ...te } : Z);
|
|
16525
16531
|
l && l(ke);
|
|
16526
16532
|
},
|
|
16527
16533
|
[l, pe]
|
|
16528
16534
|
), le = O(
|
|
16529
|
-
(
|
|
16535
|
+
(q) => {
|
|
16530
16536
|
var ke;
|
|
16531
|
-
const te = pe.filter((Z) => Z.fileId !==
|
|
16532
|
-
l && l(te), "onTransferCancelled" in M && M.onTransferCancelled && ((ke = M.onTransferCancelled) == null || ke.call(M,
|
|
16537
|
+
const te = pe.filter((Z) => Z.fileId !== q);
|
|
16538
|
+
l && l(te), "onTransferCancelled" in M && M.onTransferCancelled && ((ke = M.onTransferCancelled) == null || ke.call(M, q));
|
|
16533
16539
|
},
|
|
16534
16540
|
[l, pe, M]
|
|
16535
16541
|
), { fileAttributes: he } = Qg(pe, _e), Ie = Me(
|
|
@@ -16539,10 +16545,10 @@ const ub = (n) => {
|
|
|
16539
16545
|
enabled: oe
|
|
16540
16546
|
},
|
|
16541
16547
|
{
|
|
16542
|
-
op: (
|
|
16548
|
+
op: (q) => jg(q),
|
|
16543
16549
|
enabled: Xe
|
|
16544
16550
|
}
|
|
16545
|
-
].filter(({ enabled:
|
|
16551
|
+
].filter(({ enabled: q }) => q).map(({ op: q }) => q).concat(...f),
|
|
16546
16552
|
[oe, Xe]
|
|
16547
16553
|
), Be = Me(
|
|
16548
16554
|
() => ({
|
|
@@ -16551,15 +16557,15 @@ const ub = (n) => {
|
|
|
16551
16557
|
}),
|
|
16552
16558
|
[t]
|
|
16553
16559
|
), { totalCount: Oe, uploadedCount: R, failedCount: We } = Me(() => {
|
|
16554
|
-
const
|
|
16560
|
+
const q = pe.length;
|
|
16555
16561
|
if (!V)
|
|
16556
|
-
return { totalCount:
|
|
16562
|
+
return { totalCount: q, uploadedCount: 0, failedCount: 0 };
|
|
16557
16563
|
let te = 0, ke = 0;
|
|
16558
16564
|
for (const Z of pe) {
|
|
16559
16565
|
const ze = V.find((qe) => qe.fileId === Z.fileId);
|
|
16560
16566
|
(ze == null ? void 0 : ze.progress) === "done" && te++, (ze == null ? void 0 : ze.progress) === "error" && ke++;
|
|
16561
16567
|
}
|
|
16562
|
-
return { totalCount:
|
|
16568
|
+
return { totalCount: q, uploadedCount: te, failedCount: ke };
|
|
16563
16569
|
}, [pe, V]), Fe = Oe === 1 ? "fil" : "filer", j = /* @__PURE__ */ c(
|
|
16564
16570
|
"div",
|
|
16565
16571
|
{
|
|
@@ -16600,7 +16606,7 @@ const ub = (n) => {
|
|
|
16600
16606
|
uploadStrategy: i,
|
|
16601
16607
|
ItemRenderer: et,
|
|
16602
16608
|
enableImagePreview: J && z,
|
|
16603
|
-
queueItemOperations: Ie.map((
|
|
16609
|
+
queueItemOperations: Ie.map((q) => q(he)).concat(zg(le))
|
|
16604
16610
|
}
|
|
16605
16611
|
)
|
|
16606
16612
|
] })
|
|
@@ -16611,7 +16617,7 @@ const ub = (n) => {
|
|
|
16611
16617
|
{
|
|
16612
16618
|
forId: t,
|
|
16613
16619
|
label: W,
|
|
16614
|
-
helptext:
|
|
16620
|
+
helptext: U,
|
|
16615
16621
|
disabled: A,
|
|
16616
16622
|
hasError: se,
|
|
16617
16623
|
optionalTag: X,
|
|
@@ -16981,7 +16987,7 @@ const Jr = Le(
|
|
|
16981
16987
|
optionalText: B,
|
|
16982
16988
|
requiredTag: A = !1,
|
|
16983
16989
|
requiredText: W,
|
|
16984
|
-
tagText:
|
|
16990
|
+
tagText: U = null,
|
|
16985
16991
|
placeholder: X,
|
|
16986
16992
|
prefix: xe,
|
|
16987
16993
|
suffix: z,
|
|
@@ -17026,7 +17032,7 @@ const Jr = Le(
|
|
|
17026
17032
|
optionalText: B,
|
|
17027
17033
|
requiredTag: A,
|
|
17028
17034
|
requiredText: W,
|
|
17029
|
-
tagText:
|
|
17035
|
+
tagText: U,
|
|
17030
17036
|
useWrapper: G,
|
|
17031
17037
|
counter: i,
|
|
17032
17038
|
counterCurrent: le,
|
|
@@ -17105,7 +17111,7 @@ const Yl = Le(
|
|
|
17105
17111
|
userMenu: B,
|
|
17106
17112
|
userMenuFooter: A,
|
|
17107
17113
|
userOptions: W,
|
|
17108
|
-
canChangeRepresentation:
|
|
17114
|
+
canChangeRepresentation: U = !1,
|
|
17109
17115
|
changeRepresentation: X,
|
|
17110
17116
|
hideLogo: xe = !1,
|
|
17111
17117
|
logoLink: z,
|
|
@@ -17140,7 +17146,7 @@ const Yl = Le(
|
|
|
17140
17146
|
me(() => {
|
|
17141
17147
|
l !== void 0 && pe(l);
|
|
17142
17148
|
}, [l]);
|
|
17143
|
-
const [et, J] = de(!1), [I, Ve] = de(0), [Ue, oe] = de(!1), [Xe, Te] = de(!1), _e = ne(null), le = ne(null), he = ne(null), Ie = ne(null), Be = ne(null), Oe = ne(null), R = ne(null), We = ne(!1), Fe = yb(_e), j = Fe < n,
|
|
17149
|
+
const [et, J] = de(!1), [I, Ve] = de(0), [Ue, oe] = de(!1), [Xe, Te] = de(!1), _e = ne(null), le = ne(null), he = ne(null), Ie = ne(null), Be = ne(null), Oe = ne(null), R = ne(null), We = ne(!1), Fe = yb(_e), j = Fe < n, q = Fe < e, te = O(
|
|
17144
17150
|
(h) => {
|
|
17145
17151
|
_e.current = h, typeof se == "function" ? se(h) : se && (se.current = h);
|
|
17146
17152
|
},
|
|
@@ -17195,11 +17201,11 @@ const Yl = Le(
|
|
|
17195
17201
|
const ze = O(
|
|
17196
17202
|
(h) => {
|
|
17197
17203
|
const _ = h === "slot" ? he : Ie, T = h === "slot" ? Be : Oe;
|
|
17198
|
-
if (!_.current || !T.current || !
|
|
17204
|
+
if (!_.current || !T.current || !q || j) return;
|
|
17199
17205
|
const Y = _.current.getBoundingClientRect(), K = T.current.offsetWidth, we = Y.left + K > window.innerWidth;
|
|
17200
17206
|
h === "slot" ? oe(we) : Te(we);
|
|
17201
17207
|
},
|
|
17202
|
-
[
|
|
17208
|
+
[q, j]
|
|
17203
17209
|
), qe = O(
|
|
17204
17210
|
(h) => {
|
|
17205
17211
|
ue !== "none" ? pe("none") : (R.current = document.activeElement, pe(h));
|
|
@@ -17218,7 +17224,7 @@ const Yl = Le(
|
|
|
17218
17224
|
"pkt-header-service",
|
|
17219
17225
|
i && "pkt-header-service--compact",
|
|
17220
17226
|
j && "pkt-header-service--mobile",
|
|
17221
|
-
|
|
17227
|
+
q && "pkt-header-service--tablet",
|
|
17222
17228
|
ve && "pkt-header-service--fixed",
|
|
17223
17229
|
$e && "pkt-header-service--scroll-to-hide",
|
|
17224
17230
|
et && "pkt-header-service--hidden",
|
|
@@ -17269,7 +17275,7 @@ const Yl = Le(
|
|
|
17269
17275
|
]
|
|
17270
17276
|
}
|
|
17271
17277
|
),
|
|
17272
|
-
t || d ||
|
|
17278
|
+
t || d || q && o && (a === "header" || a === "both") ? /* @__PURE__ */ x("div", { className: "pkt-header-service__content", children: [
|
|
17273
17279
|
/* @__PURE__ */ x(
|
|
17274
17280
|
"div",
|
|
17275
17281
|
{
|
|
@@ -17277,7 +17283,7 @@ const Yl = Le(
|
|
|
17277
17283
|
onBlur: (h) => ke(h, "slot"),
|
|
17278
17284
|
ref: he,
|
|
17279
17285
|
children: [
|
|
17280
|
-
|
|
17286
|
+
q && t && /* @__PURE__ */ c(
|
|
17281
17287
|
Nt,
|
|
17282
17288
|
{
|
|
17283
17289
|
skin: "secondary",
|
|
@@ -17297,8 +17303,8 @@ const Yl = Le(
|
|
|
17297
17303
|
{
|
|
17298
17304
|
className: be("pkt-header-service__slot-content", Ue && "align-right"),
|
|
17299
17305
|
id: "mobile-slot-menu",
|
|
17300
|
-
role:
|
|
17301
|
-
"aria-label":
|
|
17306
|
+
role: q ? "menu" : void 0,
|
|
17307
|
+
"aria-label": q ? "Meny" : void 0,
|
|
17302
17308
|
ref: Be,
|
|
17303
17309
|
children: /* @__PURE__ */ c("div", { className: "pkt-contents", children: t })
|
|
17304
17310
|
}
|
|
@@ -17306,7 +17312,7 @@ const Yl = Le(
|
|
|
17306
17312
|
]
|
|
17307
17313
|
}
|
|
17308
17314
|
),
|
|
17309
|
-
d && /* @__PURE__ */ c(Je, { children:
|
|
17315
|
+
d && /* @__PURE__ */ c(Je, { children: q ? /* @__PURE__ */ x(
|
|
17310
17316
|
"div",
|
|
17311
17317
|
{
|
|
17312
17318
|
className: be("pkt-header-service__search-container", ue === "search" && "is-open"),
|
|
@@ -17375,7 +17381,7 @@ const Yl = Le(
|
|
|
17375
17381
|
}
|
|
17376
17382
|
}
|
|
17377
17383
|
) }),
|
|
17378
|
-
|
|
17384
|
+
j && o && (a === "header" || a === "both") && /* @__PURE__ */ c(
|
|
17379
17385
|
Nt,
|
|
17380
17386
|
{
|
|
17381
17387
|
skin: "secondary",
|
|
@@ -17429,7 +17435,7 @@ const Yl = Le(
|
|
|
17429
17435
|
formattedLastLoggedIn: ge,
|
|
17430
17436
|
representing: g,
|
|
17431
17437
|
userMenu: B,
|
|
17432
|
-
canChangeRepresentation:
|
|
17438
|
+
canChangeRepresentation: U,
|
|
17433
17439
|
changeRepresentation: X,
|
|
17434
17440
|
logoutOnClick: a === "userMenu" || a === "both" ? o : void 0
|
|
17435
17441
|
}
|
|
@@ -17454,7 +17460,7 @@ const Yl = Le(
|
|
|
17454
17460
|
i && "pkt-header-service-spacer--compact",
|
|
17455
17461
|
C && "pkt-header-service-spacer--has-user",
|
|
17456
17462
|
j && "pkt-header-service-spacer--mobile",
|
|
17457
|
-
|
|
17463
|
+
q && "pkt-header-service-spacer--tablet"
|
|
17458
17464
|
)
|
|
17459
17465
|
}
|
|
17460
17466
|
)
|
|
@@ -17590,7 +17596,7 @@ const Io = () => ("00000000000000000" + (Math.random() * 18446744073709552e3).to
|
|
|
17590
17596
|
me(() => {
|
|
17591
17597
|
B.current && W(B.current.getBoundingClientRect().width || 0);
|
|
17592
17598
|
}, [m]);
|
|
17593
|
-
const
|
|
17599
|
+
const U = p - v, X = Math.round(l === "fraction" ? m / U * 100 : (m - v) / U * 100), xe = `${m} av ${U}`, z = l === "fraction" && !s ? `${m} av ${p - v}` : s || void 0, M = n ? void 0 : e || `${C}-title`;
|
|
17594
17600
|
return /* @__PURE__ */ c(
|
|
17595
17601
|
"div",
|
|
17596
17602
|
{
|
|
@@ -17681,7 +17687,7 @@ const Pb = Le(
|
|
|
17681
17687
|
].filter(Boolean).join(" "), B = [
|
|
17682
17688
|
"pkt-input-check__input-checkbox",
|
|
17683
17689
|
o ? "pkt-input-check__input-checkbox--error" : ""
|
|
17684
|
-
].filter(Boolean).join(" "), A = ["pkt-input-check__input-label", r ? "pkt-input-check__input-label--disabled" : ""].filter(Boolean).join(" "), W = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "),
|
|
17690
|
+
].filter(Boolean).join(" "), A = ["pkt-input-check__input-label", r ? "pkt-input-check__input-label--disabled" : ""].filter(Boolean).join(" "), W = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), U = () => /* @__PURE__ */ x(Je, { children: [
|
|
17685
17691
|
g && /* @__PURE__ */ c("span", { className: W + " pkt-tag--gray", children: g }),
|
|
17686
17692
|
f && /* @__PURE__ */ c("span", { className: W + " pkt-tag--blue-light", children: m }),
|
|
17687
17693
|
p && /* @__PURE__ */ c("span", { className: W + " pkt-tag--beige", children: v })
|
|
@@ -17703,7 +17709,7 @@ const Pb = Le(
|
|
|
17703
17709
|
/* @__PURE__ */ x("label", { className: A, htmlFor: n, children: [
|
|
17704
17710
|
t,
|
|
17705
17711
|
" ",
|
|
17706
|
-
|
|
17712
|
+
U(),
|
|
17707
17713
|
a && /* @__PURE__ */ c("div", { className: "pkt-input-check__input-helptext", children: a })
|
|
17708
17714
|
] })
|
|
17709
17715
|
] }) });
|
|
@@ -17783,7 +17789,7 @@ const Rb = Le(
|
|
|
17783
17789
|
className: `pkt-searchinput__suggestion ${A.onClick ? "pkt-link-button" : ""} ${A.href || A.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
|
|
17784
17790
|
type: A.onClick ? "button" : void 0,
|
|
17785
17791
|
onClick: () => N(A.onClick, W),
|
|
17786
|
-
onKeyUp: (
|
|
17792
|
+
onKeyUp: (U) => U.key === "Enter" && N(A.onClick, W)
|
|
17787
17793
|
},
|
|
17788
17794
|
/* @__PURE__ */ x(Je, { children: [
|
|
17789
17795
|
A.title && /* @__PURE__ */ c("h3", { className: "pkt-searchinput__suggestion-title", children: A.title }),
|
|
@@ -17819,11 +17825,11 @@ const Lb = Le(
|
|
|
17819
17825
|
tagText: B,
|
|
17820
17826
|
...A
|
|
17821
17827
|
}, W) => {
|
|
17822
|
-
const
|
|
17828
|
+
const U = [s, "pkt-select"].join(" ");
|
|
17823
17829
|
return /* @__PURE__ */ c(
|
|
17824
17830
|
Kn,
|
|
17825
17831
|
{
|
|
17826
|
-
className:
|
|
17832
|
+
className: U,
|
|
17827
17833
|
forId: `${f}-input`,
|
|
17828
17834
|
label: v,
|
|
17829
17835
|
helptext: o,
|
|
@@ -18076,7 +18082,7 @@ function Gb(n, e) {
|
|
|
18076
18082
|
errorMessage: B,
|
|
18077
18083
|
optionalTag: A = !1,
|
|
18078
18084
|
optionalText: W,
|
|
18079
|
-
requiredTag:
|
|
18085
|
+
requiredTag: U = !1,
|
|
18080
18086
|
requiredText: X,
|
|
18081
18087
|
tagText: xe,
|
|
18082
18088
|
inline: z = !1,
|
|
@@ -18102,7 +18108,7 @@ function Gb(n, e) {
|
|
|
18102
18108
|
`PktTimepicker: step="${l}" er ikke en gyldig verdi. Step må være et multiplum av 60 (hele minutter) eller nøyaktig 3600 (hel time).`
|
|
18103
18109
|
);
|
|
18104
18110
|
}, [l]);
|
|
18105
|
-
const Fe = ne(null), j = ne(null),
|
|
18111
|
+
const Fe = ne(null), j = ne(null), q = ne(null), te = ne(null), ke = ne(null), Z = ne(null), ze = ne(0), qe = ne(-1), b = ne(0), h = ne(-1), [_, T] = de(!1), Y = Me(
|
|
18106
18112
|
() => {
|
|
18107
18113
|
var E;
|
|
18108
18114
|
return (E = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")) == null ? void 0 : E.set;
|
|
@@ -18199,7 +18205,7 @@ function Gb(n, e) {
|
|
|
18199
18205
|
const D = Te.current;
|
|
18200
18206
|
D !== "" && Pe(`${D}:${re}`), requestAnimationFrame(() => {
|
|
18201
18207
|
var P;
|
|
18202
|
-
return (P =
|
|
18208
|
+
return (P = q.current) == null ? void 0 : P.focus();
|
|
18203
18209
|
});
|
|
18204
18210
|
}
|
|
18205
18211
|
},
|
|
@@ -18399,7 +18405,7 @@ function Gb(n, e) {
|
|
|
18399
18405
|
E.preventDefault(), H.click();
|
|
18400
18406
|
break;
|
|
18401
18407
|
case "Escape":
|
|
18402
|
-
E.preventDefault(), mt(), (Se =
|
|
18408
|
+
E.preventDefault(), mt(), (Se = q.current) == null || Se.focus();
|
|
18403
18409
|
break;
|
|
18404
18410
|
}
|
|
18405
18411
|
},
|
|
@@ -18487,7 +18493,7 @@ function Gb(n, e) {
|
|
|
18487
18493
|
errorMessage: B,
|
|
18488
18494
|
optionalTag: A,
|
|
18489
18495
|
optionalText: W,
|
|
18490
|
-
requiredTag:
|
|
18496
|
+
requiredTag: U,
|
|
18491
18497
|
requiredText: X,
|
|
18492
18498
|
tagText: xe,
|
|
18493
18499
|
inline: z,
|
|
@@ -18510,7 +18516,7 @@ function Gb(n, e) {
|
|
|
18510
18516
|
minuteOptions: ht,
|
|
18511
18517
|
hoursInputRef: Fe,
|
|
18512
18518
|
minutesInputRef: j,
|
|
18513
|
-
buttonRef:
|
|
18519
|
+
buttonRef: q,
|
|
18514
18520
|
popupRef: te,
|
|
18515
18521
|
changeInputRef: Z,
|
|
18516
18522
|
handleHoursKeydown: Yn,
|
|
@@ -18571,137 +18577,147 @@ const Xb = Le((n, e) => {
|
|
|
18571
18577
|
/* @__PURE__ */ c("div", { className: "pkt-timepicker-popup__col", role: "listbox", "aria-label": a, "aria-orientation": "vertical", children: i.minuteOptions.map((p) => d(p, "minute")) })
|
|
18572
18578
|
]
|
|
18573
18579
|
}
|
|
18574
|
-
), m = () => /* @__PURE__ */ x(
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
"
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
"
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
18675
|
-
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
|
|
18693
|
-
|
|
18694
|
-
|
|
18695
|
-
|
|
18696
|
-
|
|
18697
|
-
|
|
18698
|
-
|
|
18699
|
-
|
|
18700
|
-
|
|
18701
|
-
|
|
18702
|
-
|
|
18703
|
-
|
|
18704
|
-
|
|
18580
|
+
), m = () => /* @__PURE__ */ x(
|
|
18581
|
+
"div",
|
|
18582
|
+
{
|
|
18583
|
+
className: "pkt-input__container",
|
|
18584
|
+
onClick: (p) => {
|
|
18585
|
+
var g;
|
|
18586
|
+
p.target.closest("button, input") || (g = i.hoursInputRef.current) == null || g.focus();
|
|
18587
|
+
},
|
|
18588
|
+
children: [
|
|
18589
|
+
i.stepArrows && /* @__PURE__ */ x(
|
|
18590
|
+
"button",
|
|
18591
|
+
{
|
|
18592
|
+
type: "button",
|
|
18593
|
+
className: "pkt-input-icon pkt-btn pkt-btn--icon-only pkt-btn--tertiary pkt-timepicker__button pkt-timepicker__button--prev",
|
|
18594
|
+
"aria-label": i.strings.prevTime,
|
|
18595
|
+
disabled: i.disabled,
|
|
18596
|
+
onClick: () => i.stepTimeDelta(-1),
|
|
18597
|
+
children: [
|
|
18598
|
+
/* @__PURE__ */ c(ie, { name: "chevron-thin-left" }),
|
|
18599
|
+
/* @__PURE__ */ c("span", { className: "pkt-btn__text", children: i.strings.prevTime })
|
|
18600
|
+
]
|
|
18601
|
+
}
|
|
18602
|
+
),
|
|
18603
|
+
/* @__PURE__ */ c(
|
|
18604
|
+
"input",
|
|
18605
|
+
{
|
|
18606
|
+
ref: i.hoursInputRef,
|
|
18607
|
+
type: "text",
|
|
18608
|
+
inputMode: "numeric",
|
|
18609
|
+
maxLength: 2,
|
|
18610
|
+
size: 2,
|
|
18611
|
+
className: "pkt-input pkt-timepicker__input",
|
|
18612
|
+
id: i.hoursId,
|
|
18613
|
+
"data-min": "0",
|
|
18614
|
+
"data-max": "23",
|
|
18615
|
+
value: i.hours,
|
|
18616
|
+
placeholder: "––",
|
|
18617
|
+
"aria-label": o,
|
|
18618
|
+
role: "spinbutton",
|
|
18619
|
+
"aria-invalid": i.hasError || i.isInvalid || void 0,
|
|
18620
|
+
"aria-valuemin": 0,
|
|
18621
|
+
"aria-valuemax": 23,
|
|
18622
|
+
"aria-valuenow": i.hours !== "" ? parseInt(i.hours, 10) : void 0,
|
|
18623
|
+
"aria-valuetext": i.hours !== "" ? `${i.hours} ${r.toLowerCase()}` : void 0,
|
|
18624
|
+
autoComplete: "off",
|
|
18625
|
+
disabled: i.disabled,
|
|
18626
|
+
onKeyDown: i.handleHoursKeydown,
|
|
18627
|
+
onBlur: i.handleHoursBlur,
|
|
18628
|
+
onFocus: (p) => {
|
|
18629
|
+
p.currentTarget.select();
|
|
18630
|
+
},
|
|
18631
|
+
onChange: () => {
|
|
18632
|
+
},
|
|
18633
|
+
onPaste: (p) => p.preventDefault()
|
|
18634
|
+
}
|
|
18635
|
+
),
|
|
18636
|
+
/* @__PURE__ */ c("span", { className: "pkt-timepicker__separator", children: ":" }),
|
|
18637
|
+
/* @__PURE__ */ c(
|
|
18638
|
+
"input",
|
|
18639
|
+
{
|
|
18640
|
+
ref: i.minutesInputRef,
|
|
18641
|
+
type: "text",
|
|
18642
|
+
inputMode: "numeric",
|
|
18643
|
+
maxLength: 2,
|
|
18644
|
+
size: 2,
|
|
18645
|
+
className: "pkt-input pkt-timepicker__input",
|
|
18646
|
+
id: i.minutesId,
|
|
18647
|
+
"data-min": "0",
|
|
18648
|
+
"data-max": "59",
|
|
18649
|
+
value: i.minutes,
|
|
18650
|
+
placeholder: "––",
|
|
18651
|
+
"aria-label": l,
|
|
18652
|
+
role: "spinbutton",
|
|
18653
|
+
"aria-invalid": i.hasError || i.isInvalid || void 0,
|
|
18654
|
+
"aria-valuemin": 0,
|
|
18655
|
+
"aria-valuemax": 59,
|
|
18656
|
+
"aria-valuenow": i.minutes !== "" ? parseInt(i.minutes, 10) : void 0,
|
|
18657
|
+
"aria-valuetext": i.minutes !== "" ? `${i.minutes} ${a.toLowerCase()}` : void 0,
|
|
18658
|
+
autoComplete: "off",
|
|
18659
|
+
disabled: i.disabled,
|
|
18660
|
+
onKeyDown: i.handleMinutesKeydown,
|
|
18661
|
+
onBlur: i.handleMinutesBlur,
|
|
18662
|
+
onFocus: (p) => {
|
|
18663
|
+
p.currentTarget.select();
|
|
18664
|
+
},
|
|
18665
|
+
onChange: () => {
|
|
18666
|
+
},
|
|
18667
|
+
onPaste: (p) => p.preventDefault()
|
|
18668
|
+
}
|
|
18669
|
+
),
|
|
18670
|
+
i.hidePicker && !i.stepArrows && /* @__PURE__ */ c(ie, { className: "pkt-input-icon pkt-timepicker__icon", name: "clock", "aria-hidden": !0 }),
|
|
18671
|
+
!i.hidePicker && !i.stepArrows && /* @__PURE__ */ x(
|
|
18672
|
+
"button",
|
|
18673
|
+
{
|
|
18674
|
+
ref: i.buttonRef,
|
|
18675
|
+
type: "button",
|
|
18676
|
+
className: "pkt-input-icon pkt-btn pkt-btn--icon-only pkt-btn--tertiary pkt-timepicker__button",
|
|
18677
|
+
"aria-label": i.strings.openPicker,
|
|
18678
|
+
"aria-haspopup": "listbox",
|
|
18679
|
+
"aria-expanded": i.isOpen,
|
|
18680
|
+
"aria-controls": i.popupId,
|
|
18681
|
+
disabled: i.disabled,
|
|
18682
|
+
onClick: i.handleClockButtonClick,
|
|
18683
|
+
children: [
|
|
18684
|
+
/* @__PURE__ */ c(ie, { name: "clock" }),
|
|
18685
|
+
/* @__PURE__ */ c("span", { className: "pkt-btn__text", children: i.strings.openPicker })
|
|
18686
|
+
]
|
|
18687
|
+
}
|
|
18688
|
+
),
|
|
18689
|
+
i.stepArrows && /* @__PURE__ */ x(
|
|
18690
|
+
"button",
|
|
18691
|
+
{
|
|
18692
|
+
type: "button",
|
|
18693
|
+
className: "pkt-input-icon pkt-btn pkt-btn--icon-only pkt-btn--tertiary pkt-timepicker__button pkt-timepicker__button--next",
|
|
18694
|
+
"aria-label": i.strings.nextTime,
|
|
18695
|
+
disabled: i.disabled,
|
|
18696
|
+
onClick: () => i.stepTimeDelta(1),
|
|
18697
|
+
children: [
|
|
18698
|
+
/* @__PURE__ */ c(ie, { name: "chevron-thin-right" }),
|
|
18699
|
+
/* @__PURE__ */ c("span", { className: "pkt-btn__text", children: i.strings.nextTime })
|
|
18700
|
+
]
|
|
18701
|
+
}
|
|
18702
|
+
),
|
|
18703
|
+
/* @__PURE__ */ c(
|
|
18704
|
+
"input",
|
|
18705
|
+
{
|
|
18706
|
+
ref: i.changeInputRef,
|
|
18707
|
+
type: "time",
|
|
18708
|
+
hidden: !0,
|
|
18709
|
+
name: i.name,
|
|
18710
|
+
id: i.hiddenInputId,
|
|
18711
|
+
disabled: i.disabled,
|
|
18712
|
+
tabIndex: -1,
|
|
18713
|
+
"aria-hidden": !0,
|
|
18714
|
+
onChange: t,
|
|
18715
|
+
onInput: s
|
|
18716
|
+
}
|
|
18717
|
+
)
|
|
18718
|
+
]
|
|
18719
|
+
}
|
|
18720
|
+
);
|
|
18705
18721
|
return /* @__PURE__ */ c(
|
|
18706
18722
|
"div",
|
|
18707
18723
|
{
|