@oslokommune/punkt-react 3.4.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/footer/Footer.d.ts +23 -0
- package/dist/footerSimple/FooterSimple.d.ts +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/punkt-react.es.js +546 -455
- package/dist/punkt-react.umd.js +11 -11
- package/package.json +4 -4
- package/src/components/footer/Footer.test.tsx +123 -0
- package/src/components/footer/Footer.tsx +123 -0
- package/src/components/footer/__snapshots__/Footer.test.tsx.snap +218 -0
- package/src/components/footerSimple/FooterSimple.test.tsx +66 -0
- package/src/components/footerSimple/FooterSimple.tsx +50 -0
- package/src/components/footerSimple/__snapshots__/FooterSimple.test.tsx.snap +109 -0
- package/src/components/index.ts +2 -0
package/dist/punkt-react.es.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
set exports(i) {
|
|
7
|
-
L = i;
|
|
8
|
-
}
|
|
9
|
-
}, W = {};
|
|
1
|
+
import q, { forwardRef as z, useState as dt } from "react";
|
|
2
|
+
function mt(i) {
|
|
3
|
+
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
4
|
+
}
|
|
5
|
+
var te = { exports: {} }, W = {};
|
|
10
6
|
/**
|
|
11
7
|
* @license React
|
|
12
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,23 +12,23 @@ var L = {}, pr = {
|
|
|
16
12
|
* This source code is licensed under the MIT license found in the
|
|
17
13
|
* LICENSE file in the root directory of this source tree.
|
|
18
14
|
*/
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
if (
|
|
15
|
+
var Te;
|
|
16
|
+
function ht() {
|
|
17
|
+
if (Te)
|
|
22
18
|
return W;
|
|
23
|
-
|
|
24
|
-
var i =
|
|
25
|
-
function
|
|
26
|
-
var
|
|
27
|
-
x !== void 0 && (
|
|
28
|
-
for (
|
|
29
|
-
|
|
30
|
-
if (
|
|
31
|
-
for (
|
|
32
|
-
P[
|
|
33
|
-
return { $$typeof:
|
|
19
|
+
Te = 1;
|
|
20
|
+
var i = q, l = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function v(g, _, x) {
|
|
22
|
+
var N, P = {}, T = null, C = null;
|
|
23
|
+
x !== void 0 && (T = "" + x), _.key !== void 0 && (T = "" + _.key), _.ref !== void 0 && (C = _.ref);
|
|
24
|
+
for (N in _)
|
|
25
|
+
c.call(_, N) && !n.hasOwnProperty(N) && (P[N] = _[N]);
|
|
26
|
+
if (g && g.defaultProps)
|
|
27
|
+
for (N in _ = g.defaultProps, _)
|
|
28
|
+
P[N] === void 0 && (P[N] = _[N]);
|
|
29
|
+
return { $$typeof: l, type: g, key: T, ref: C, props: P, _owner: d.current };
|
|
34
30
|
}
|
|
35
|
-
return W.Fragment = s, W.jsx =
|
|
31
|
+
return W.Fragment = s, W.jsx = v, W.jsxs = v, W;
|
|
36
32
|
}
|
|
37
33
|
var Y = {};
|
|
38
34
|
/**
|
|
@@ -44,54 +40,54 @@ var Y = {};
|
|
|
44
40
|
* This source code is licensed under the MIT license found in the
|
|
45
41
|
* LICENSE file in the root directory of this source tree.
|
|
46
42
|
*/
|
|
47
|
-
var
|
|
48
|
-
function
|
|
49
|
-
return
|
|
50
|
-
var i =
|
|
51
|
-
function
|
|
43
|
+
var je;
|
|
44
|
+
function vt() {
|
|
45
|
+
return je || (je = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var i = q, l = Symbol.for("react.element"), s = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), ae = Symbol.iterator, Ce = "@@iterator";
|
|
47
|
+
function Fe(e) {
|
|
52
48
|
if (e === null || typeof e != "object")
|
|
53
49
|
return null;
|
|
54
|
-
var
|
|
55
|
-
return typeof
|
|
50
|
+
var t = ae && e[ae] || e[Ce];
|
|
51
|
+
return typeof t == "function" ? t : null;
|
|
56
52
|
}
|
|
57
53
|
var F = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
54
|
function E(e) {
|
|
59
55
|
{
|
|
60
|
-
for (var
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
57
|
+
a[o - 1] = arguments[o];
|
|
58
|
+
$e("error", e, a);
|
|
63
59
|
}
|
|
64
60
|
}
|
|
65
|
-
function
|
|
61
|
+
function $e(e, t, a) {
|
|
66
62
|
{
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
var
|
|
70
|
-
return String(
|
|
63
|
+
var o = F.ReactDebugCurrentFrame, m = o.getStackAddendum();
|
|
64
|
+
m !== "" && (t += "%s", a = a.concat([m]));
|
|
65
|
+
var h = a.map(function(f) {
|
|
66
|
+
return String(f);
|
|
71
67
|
});
|
|
72
|
-
|
|
68
|
+
h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
|
|
73
69
|
}
|
|
74
70
|
}
|
|
75
|
-
var De = !1, Ae = !1,
|
|
71
|
+
var De = !1, Ae = !1, Ie = !1, We = !1, Ye = !1, ne;
|
|
76
72
|
ne = Symbol.for("react.module.reference");
|
|
77
|
-
function
|
|
78
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
73
|
+
function Be(e) {
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === n || Ye || e === d || e === x || e === N || We || e === C || De || Ae || Ie || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === P || e.$$typeof === v || e.$$typeof === g || e.$$typeof === _ || // This needs to include all possible module reference object
|
|
79
75
|
// types supported by any Flight configuration anywhere since
|
|
80
76
|
// we don't know which Flight build this will end up being used
|
|
81
77
|
// with.
|
|
82
78
|
e.$$typeof === ne || e.getModuleId !== void 0));
|
|
83
79
|
}
|
|
84
|
-
function
|
|
85
|
-
var
|
|
86
|
-
if (
|
|
87
|
-
return
|
|
88
|
-
var
|
|
89
|
-
return
|
|
80
|
+
function Me(e, t, a) {
|
|
81
|
+
var o = e.displayName;
|
|
82
|
+
if (o)
|
|
83
|
+
return o;
|
|
84
|
+
var m = t.displayName || t.name || "";
|
|
85
|
+
return m !== "" ? a + "(" + m + ")" : a;
|
|
90
86
|
}
|
|
91
87
|
function ie(e) {
|
|
92
88
|
return e.displayName || "Context";
|
|
93
89
|
}
|
|
94
|
-
function
|
|
90
|
+
function j(e) {
|
|
95
91
|
if (e == null)
|
|
96
92
|
return null;
|
|
97
93
|
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -99,36 +95,36 @@ function mr() {
|
|
|
99
95
|
if (typeof e == "string")
|
|
100
96
|
return e;
|
|
101
97
|
switch (e) {
|
|
102
|
-
case
|
|
98
|
+
case c:
|
|
103
99
|
return "Fragment";
|
|
104
100
|
case s:
|
|
105
101
|
return "Portal";
|
|
106
|
-
case
|
|
102
|
+
case n:
|
|
107
103
|
return "Profiler";
|
|
108
|
-
case
|
|
104
|
+
case d:
|
|
109
105
|
return "StrictMode";
|
|
110
106
|
case x:
|
|
111
107
|
return "Suspense";
|
|
112
|
-
case
|
|
108
|
+
case N:
|
|
113
109
|
return "SuspenseList";
|
|
114
110
|
}
|
|
115
111
|
if (typeof e == "object")
|
|
116
112
|
switch (e.$$typeof) {
|
|
117
|
-
case
|
|
118
|
-
var r = e;
|
|
119
|
-
return ie(r) + ".Consumer";
|
|
120
|
-
case _:
|
|
113
|
+
case g:
|
|
121
114
|
var t = e;
|
|
122
|
-
return ie(t
|
|
123
|
-
case
|
|
124
|
-
|
|
115
|
+
return ie(t) + ".Consumer";
|
|
116
|
+
case v:
|
|
117
|
+
var a = e;
|
|
118
|
+
return ie(a._context) + ".Provider";
|
|
119
|
+
case _:
|
|
120
|
+
return Me(e, e.render, "ForwardRef");
|
|
125
121
|
case P:
|
|
126
|
-
var
|
|
127
|
-
return
|
|
128
|
-
case
|
|
129
|
-
var
|
|
122
|
+
var o = e.displayName || null;
|
|
123
|
+
return o !== null ? o : j(e.type) || "Memo";
|
|
124
|
+
case T: {
|
|
125
|
+
var m = e, h = m._payload, f = m._init;
|
|
130
126
|
try {
|
|
131
|
-
return
|
|
127
|
+
return j(f(h));
|
|
132
128
|
} catch {
|
|
133
129
|
return null;
|
|
134
130
|
}
|
|
@@ -136,18 +132,18 @@ function mr() {
|
|
|
136
132
|
}
|
|
137
133
|
return null;
|
|
138
134
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
135
|
+
var O = Object.assign, A = 0, oe, le, se, ce, ue, fe, pe;
|
|
136
|
+
function de() {
|
|
141
137
|
}
|
|
142
|
-
|
|
143
|
-
function
|
|
138
|
+
de.__reactDisabledLog = !0;
|
|
139
|
+
function Le() {
|
|
144
140
|
{
|
|
145
|
-
if (
|
|
146
|
-
oe = console.log,
|
|
141
|
+
if (A === 0) {
|
|
142
|
+
oe = console.log, le = console.info, se = console.warn, ce = console.error, ue = console.group, fe = console.groupCollapsed, pe = console.groupEnd;
|
|
147
143
|
var e = {
|
|
148
144
|
configurable: !0,
|
|
149
145
|
enumerable: !0,
|
|
150
|
-
value:
|
|
146
|
+
value: de,
|
|
151
147
|
writable: !0
|
|
152
148
|
};
|
|
153
149
|
Object.defineProperties(console, {
|
|
@@ -160,194 +156,194 @@ function mr() {
|
|
|
160
156
|
groupEnd: e
|
|
161
157
|
});
|
|
162
158
|
}
|
|
163
|
-
|
|
159
|
+
A++;
|
|
164
160
|
}
|
|
165
161
|
}
|
|
166
|
-
function
|
|
162
|
+
function Ve() {
|
|
167
163
|
{
|
|
168
|
-
if (
|
|
164
|
+
if (A--, A === 0) {
|
|
169
165
|
var e = {
|
|
170
166
|
configurable: !0,
|
|
171
167
|
enumerable: !0,
|
|
172
168
|
writable: !0
|
|
173
169
|
};
|
|
174
170
|
Object.defineProperties(console, {
|
|
175
|
-
log:
|
|
171
|
+
log: O({}, e, {
|
|
176
172
|
value: oe
|
|
177
173
|
}),
|
|
178
|
-
info:
|
|
179
|
-
value: se
|
|
180
|
-
}),
|
|
181
|
-
warn: C({}, e, {
|
|
174
|
+
info: O({}, e, {
|
|
182
175
|
value: le
|
|
183
176
|
}),
|
|
184
|
-
|
|
177
|
+
warn: O({}, e, {
|
|
178
|
+
value: se
|
|
179
|
+
}),
|
|
180
|
+
error: O({}, e, {
|
|
185
181
|
value: ce
|
|
186
182
|
}),
|
|
187
|
-
group:
|
|
183
|
+
group: O({}, e, {
|
|
188
184
|
value: ue
|
|
189
185
|
}),
|
|
190
|
-
groupCollapsed:
|
|
186
|
+
groupCollapsed: O({}, e, {
|
|
191
187
|
value: fe
|
|
192
188
|
}),
|
|
193
|
-
groupEnd:
|
|
194
|
-
value:
|
|
189
|
+
groupEnd: O({}, e, {
|
|
190
|
+
value: pe
|
|
195
191
|
})
|
|
196
192
|
});
|
|
197
193
|
}
|
|
198
|
-
|
|
194
|
+
A < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
195
|
}
|
|
200
196
|
}
|
|
201
|
-
var
|
|
202
|
-
function B(e,
|
|
197
|
+
var G = F.ReactCurrentDispatcher, J;
|
|
198
|
+
function B(e, t, a) {
|
|
203
199
|
{
|
|
204
|
-
if (
|
|
200
|
+
if (J === void 0)
|
|
205
201
|
try {
|
|
206
202
|
throw Error();
|
|
207
|
-
} catch (
|
|
208
|
-
var
|
|
209
|
-
|
|
203
|
+
} catch (m) {
|
|
204
|
+
var o = m.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
+
J = o && o[1] || "";
|
|
210
206
|
}
|
|
211
207
|
return `
|
|
212
|
-
` +
|
|
208
|
+
` + J + e;
|
|
213
209
|
}
|
|
214
210
|
}
|
|
215
211
|
var H = !1, M;
|
|
216
212
|
{
|
|
217
|
-
var
|
|
218
|
-
M = new
|
|
213
|
+
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
M = new Ue();
|
|
219
215
|
}
|
|
220
|
-
function
|
|
216
|
+
function me(e, t) {
|
|
221
217
|
if (!e || H)
|
|
222
218
|
return "";
|
|
223
219
|
{
|
|
224
|
-
var
|
|
225
|
-
if (
|
|
226
|
-
return
|
|
220
|
+
var a = M.get(e);
|
|
221
|
+
if (a !== void 0)
|
|
222
|
+
return a;
|
|
227
223
|
}
|
|
228
|
-
var
|
|
224
|
+
var o;
|
|
229
225
|
H = !0;
|
|
230
|
-
var
|
|
226
|
+
var m = Error.prepareStackTrace;
|
|
231
227
|
Error.prepareStackTrace = void 0;
|
|
232
|
-
var
|
|
233
|
-
|
|
228
|
+
var h;
|
|
229
|
+
h = G.current, G.current = null, Le();
|
|
234
230
|
try {
|
|
235
|
-
if (
|
|
236
|
-
var
|
|
231
|
+
if (t) {
|
|
232
|
+
var f = function() {
|
|
237
233
|
throw Error();
|
|
238
234
|
};
|
|
239
|
-
if (Object.defineProperty(
|
|
235
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
240
236
|
set: function() {
|
|
241
237
|
throw Error();
|
|
242
238
|
}
|
|
243
239
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
244
240
|
try {
|
|
245
|
-
Reflect.construct(
|
|
241
|
+
Reflect.construct(f, []);
|
|
246
242
|
} catch (S) {
|
|
247
|
-
|
|
243
|
+
o = S;
|
|
248
244
|
}
|
|
249
|
-
Reflect.construct(e, [],
|
|
245
|
+
Reflect.construct(e, [], f);
|
|
250
246
|
} else {
|
|
251
247
|
try {
|
|
252
|
-
|
|
248
|
+
f.call();
|
|
253
249
|
} catch (S) {
|
|
254
|
-
|
|
250
|
+
o = S;
|
|
255
251
|
}
|
|
256
|
-
e.call(
|
|
252
|
+
e.call(f.prototype);
|
|
257
253
|
}
|
|
258
254
|
} else {
|
|
259
255
|
try {
|
|
260
256
|
throw Error();
|
|
261
257
|
} catch (S) {
|
|
262
|
-
|
|
258
|
+
o = S;
|
|
263
259
|
}
|
|
264
260
|
e();
|
|
265
261
|
}
|
|
266
262
|
} catch (S) {
|
|
267
|
-
if (S &&
|
|
268
|
-
for (var
|
|
269
|
-
`), R =
|
|
270
|
-
`),
|
|
263
|
+
if (S && o && typeof S.stack == "string") {
|
|
264
|
+
for (var u = S.stack.split(`
|
|
265
|
+
`), R = o.stack.split(`
|
|
266
|
+
`), k = u.length - 1, b = R.length - 1; k >= 1 && b >= 0 && u[k] !== R[b]; )
|
|
271
267
|
b--;
|
|
272
|
-
for (;
|
|
273
|
-
if (
|
|
274
|
-
if (
|
|
268
|
+
for (; k >= 1 && b >= 0; k--, b--)
|
|
269
|
+
if (u[k] !== R[b]) {
|
|
270
|
+
if (k !== 1 || b !== 1)
|
|
275
271
|
do
|
|
276
|
-
if (
|
|
277
|
-
var
|
|
278
|
-
` +
|
|
279
|
-
return e.displayName &&
|
|
272
|
+
if (k--, b--, b < 0 || u[k] !== R[b]) {
|
|
273
|
+
var w = `
|
|
274
|
+
` + u[k].replace(" at new ", " at ");
|
|
275
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, w), w;
|
|
280
276
|
}
|
|
281
|
-
while (
|
|
277
|
+
while (k >= 1 && b >= 0);
|
|
282
278
|
break;
|
|
283
279
|
}
|
|
284
280
|
}
|
|
285
281
|
} finally {
|
|
286
|
-
H = !1,
|
|
282
|
+
H = !1, G.current = h, Ve(), Error.prepareStackTrace = m;
|
|
287
283
|
}
|
|
288
|
-
var
|
|
289
|
-
return typeof e == "function" && M.set(e,
|
|
284
|
+
var D = e ? e.displayName || e.name : "", Pe = D ? B(D) : "";
|
|
285
|
+
return typeof e == "function" && M.set(e, Pe), Pe;
|
|
290
286
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
287
|
+
function qe(e, t, a) {
|
|
288
|
+
return me(e, !1);
|
|
293
289
|
}
|
|
294
|
-
function
|
|
295
|
-
var
|
|
296
|
-
return !!(
|
|
290
|
+
function ze(e) {
|
|
291
|
+
var t = e.prototype;
|
|
292
|
+
return !!(t && t.isReactComponent);
|
|
297
293
|
}
|
|
298
|
-
function
|
|
294
|
+
function L(e, t, a) {
|
|
299
295
|
if (e == null)
|
|
300
296
|
return "";
|
|
301
297
|
if (typeof e == "function")
|
|
302
|
-
return
|
|
298
|
+
return me(e, ze(e));
|
|
303
299
|
if (typeof e == "string")
|
|
304
300
|
return B(e);
|
|
305
301
|
switch (e) {
|
|
306
302
|
case x:
|
|
307
303
|
return B("Suspense");
|
|
308
|
-
case
|
|
304
|
+
case N:
|
|
309
305
|
return B("SuspenseList");
|
|
310
306
|
}
|
|
311
307
|
if (typeof e == "object")
|
|
312
308
|
switch (e.$$typeof) {
|
|
313
|
-
case
|
|
314
|
-
return
|
|
309
|
+
case _:
|
|
310
|
+
return qe(e.render);
|
|
315
311
|
case P:
|
|
316
|
-
return
|
|
317
|
-
case
|
|
318
|
-
var
|
|
312
|
+
return L(e.type, t, a);
|
|
313
|
+
case T: {
|
|
314
|
+
var o = e, m = o._payload, h = o._init;
|
|
319
315
|
try {
|
|
320
|
-
return
|
|
316
|
+
return L(h(m), t, a);
|
|
321
317
|
} catch {
|
|
322
318
|
}
|
|
323
319
|
}
|
|
324
320
|
}
|
|
325
321
|
return "";
|
|
326
322
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
323
|
+
var V = Object.prototype.hasOwnProperty, he = {}, ve = F.ReactDebugCurrentFrame;
|
|
324
|
+
function U(e) {
|
|
329
325
|
if (e) {
|
|
330
|
-
var
|
|
331
|
-
|
|
326
|
+
var t = e._owner, a = L(e.type, e._source, t ? t.type : null);
|
|
327
|
+
ve.setExtraStackFrame(a);
|
|
332
328
|
} else
|
|
333
|
-
|
|
329
|
+
ve.setExtraStackFrame(null);
|
|
334
330
|
}
|
|
335
|
-
function Ge(e,
|
|
331
|
+
function Ge(e, t, a, o, m) {
|
|
336
332
|
{
|
|
337
|
-
var
|
|
338
|
-
for (var
|
|
339
|
-
if (
|
|
340
|
-
var
|
|
333
|
+
var h = Function.call.bind(V);
|
|
334
|
+
for (var f in e)
|
|
335
|
+
if (h(e, f)) {
|
|
336
|
+
var u = void 0;
|
|
341
337
|
try {
|
|
342
|
-
if (typeof e[
|
|
343
|
-
var R = Error((
|
|
338
|
+
if (typeof e[f] != "function") {
|
|
339
|
+
var R = Error((o || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
344
340
|
throw R.name = "Invariant Violation", R;
|
|
345
341
|
}
|
|
346
|
-
|
|
347
|
-
} catch (
|
|
348
|
-
|
|
342
|
+
u = e[f](t, f, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
|
+
} catch (k) {
|
|
344
|
+
u = k;
|
|
349
345
|
}
|
|
350
|
-
|
|
346
|
+
u && !(u instanceof Error) && (U(m), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, f, typeof u), U(null)), u instanceof Error && !(u.message in he) && (he[u.message] = !0, U(m), E("Failed %s type: %s", a, u.message), U(null));
|
|
351
347
|
}
|
|
352
348
|
}
|
|
353
349
|
}
|
|
@@ -355,141 +351,141 @@ function mr() {
|
|
|
355
351
|
function K(e) {
|
|
356
352
|
return Je(e);
|
|
357
353
|
}
|
|
358
|
-
function
|
|
354
|
+
function He(e) {
|
|
359
355
|
{
|
|
360
|
-
var
|
|
361
|
-
return
|
|
356
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, a = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
357
|
+
return a;
|
|
362
358
|
}
|
|
363
359
|
}
|
|
364
|
-
function
|
|
360
|
+
function Ke(e) {
|
|
365
361
|
try {
|
|
366
|
-
return
|
|
362
|
+
return _e(e), !1;
|
|
367
363
|
} catch {
|
|
368
364
|
return !0;
|
|
369
365
|
}
|
|
370
366
|
}
|
|
371
|
-
function
|
|
367
|
+
function _e(e) {
|
|
372
368
|
return "" + e;
|
|
373
369
|
}
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
376
|
-
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
370
|
+
function ke(e) {
|
|
371
|
+
if (Ke(e))
|
|
372
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), _e(e);
|
|
377
373
|
}
|
|
378
|
-
var I = F.ReactCurrentOwner,
|
|
374
|
+
var I = F.ReactCurrentOwner, Xe = {
|
|
379
375
|
key: !0,
|
|
380
376
|
ref: !0,
|
|
381
377
|
__self: !0,
|
|
382
378
|
__source: !0
|
|
383
|
-
},
|
|
379
|
+
}, be, ge, X;
|
|
384
380
|
X = {};
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
387
|
-
var
|
|
388
|
-
if (
|
|
381
|
+
function Ze(e) {
|
|
382
|
+
if (V.call(e, "ref")) {
|
|
383
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
384
|
+
if (t && t.isReactWarning)
|
|
389
385
|
return !1;
|
|
390
386
|
}
|
|
391
387
|
return e.ref !== void 0;
|
|
392
388
|
}
|
|
393
|
-
function
|
|
394
|
-
if (
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
389
|
+
function Qe(e) {
|
|
390
|
+
if (V.call(e, "key")) {
|
|
391
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
392
|
+
if (t && t.isReactWarning)
|
|
397
393
|
return !1;
|
|
398
394
|
}
|
|
399
395
|
return e.key !== void 0;
|
|
400
396
|
}
|
|
401
|
-
function
|
|
402
|
-
if (typeof e.ref == "string" && I.current &&
|
|
403
|
-
var
|
|
404
|
-
X[
|
|
397
|
+
function et(e, t) {
|
|
398
|
+
if (typeof e.ref == "string" && I.current && t && I.current.stateNode !== t) {
|
|
399
|
+
var a = j(I.current.type);
|
|
400
|
+
X[a] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', j(I.current.type), e.ref), X[a] = !0);
|
|
405
401
|
}
|
|
406
402
|
}
|
|
407
|
-
function
|
|
403
|
+
function tt(e, t) {
|
|
408
404
|
{
|
|
409
|
-
var
|
|
410
|
-
|
|
405
|
+
var a = function() {
|
|
406
|
+
be || (be = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
411
407
|
};
|
|
412
|
-
|
|
413
|
-
get:
|
|
408
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
409
|
+
get: a,
|
|
414
410
|
configurable: !0
|
|
415
411
|
});
|
|
416
412
|
}
|
|
417
413
|
}
|
|
418
|
-
function
|
|
414
|
+
function rt(e, t) {
|
|
419
415
|
{
|
|
420
|
-
var
|
|
421
|
-
ge || (ge = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
416
|
+
var a = function() {
|
|
417
|
+
ge || (ge = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
422
418
|
};
|
|
423
|
-
|
|
424
|
-
get:
|
|
419
|
+
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
420
|
+
get: a,
|
|
425
421
|
configurable: !0
|
|
426
422
|
});
|
|
427
423
|
}
|
|
428
424
|
}
|
|
429
|
-
var
|
|
430
|
-
var
|
|
425
|
+
var at = function(e, t, a, o, m, h, f) {
|
|
426
|
+
var u = {
|
|
431
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
432
|
-
$$typeof:
|
|
428
|
+
$$typeof: l,
|
|
433
429
|
// Built-in properties that belong on the element
|
|
434
430
|
type: e,
|
|
435
|
-
key:
|
|
436
|
-
ref:
|
|
437
|
-
props:
|
|
431
|
+
key: t,
|
|
432
|
+
ref: a,
|
|
433
|
+
props: f,
|
|
438
434
|
// Record the component responsible for creating this element.
|
|
439
|
-
_owner:
|
|
435
|
+
_owner: h
|
|
440
436
|
};
|
|
441
|
-
return
|
|
437
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
442
438
|
configurable: !1,
|
|
443
439
|
enumerable: !1,
|
|
444
440
|
writable: !0,
|
|
445
441
|
value: !1
|
|
446
|
-
}), Object.defineProperty(
|
|
442
|
+
}), Object.defineProperty(u, "_self", {
|
|
447
443
|
configurable: !1,
|
|
448
444
|
enumerable: !1,
|
|
449
445
|
writable: !1,
|
|
450
|
-
value:
|
|
451
|
-
}), Object.defineProperty(
|
|
446
|
+
value: o
|
|
447
|
+
}), Object.defineProperty(u, "_source", {
|
|
452
448
|
configurable: !1,
|
|
453
449
|
enumerable: !1,
|
|
454
450
|
writable: !1,
|
|
455
|
-
value:
|
|
456
|
-
}), Object.freeze && (Object.freeze(
|
|
451
|
+
value: m
|
|
452
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
457
453
|
};
|
|
458
|
-
function
|
|
454
|
+
function nt(e, t, a, o, m) {
|
|
459
455
|
{
|
|
460
|
-
var
|
|
461
|
-
|
|
462
|
-
for (
|
|
463
|
-
|
|
456
|
+
var h, f = {}, u = null, R = null;
|
|
457
|
+
a !== void 0 && (ke(a), u = "" + a), Qe(t) && (ke(t.key), u = "" + t.key), Ze(t) && (R = t.ref, et(t, m));
|
|
458
|
+
for (h in t)
|
|
459
|
+
V.call(t, h) && !Xe.hasOwnProperty(h) && (f[h] = t[h]);
|
|
464
460
|
if (e && e.defaultProps) {
|
|
465
|
-
var
|
|
466
|
-
for (
|
|
467
|
-
|
|
461
|
+
var k = e.defaultProps;
|
|
462
|
+
for (h in k)
|
|
463
|
+
f[h] === void 0 && (f[h] = k[h]);
|
|
468
464
|
}
|
|
469
|
-
if (
|
|
465
|
+
if (u || R) {
|
|
470
466
|
var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
471
|
-
|
|
467
|
+
u && tt(f, b), R && rt(f, b);
|
|
472
468
|
}
|
|
473
|
-
return
|
|
469
|
+
return at(e, u, R, m, o, I.current, f);
|
|
474
470
|
}
|
|
475
471
|
}
|
|
476
|
-
var Z = F.ReactCurrentOwner,
|
|
477
|
-
function
|
|
472
|
+
var Z = F.ReactCurrentOwner, Ne = F.ReactDebugCurrentFrame;
|
|
473
|
+
function $(e) {
|
|
478
474
|
if (e) {
|
|
479
|
-
var
|
|
480
|
-
|
|
475
|
+
var t = e._owner, a = L(e.type, e._source, t ? t.type : null);
|
|
476
|
+
Ne.setExtraStackFrame(a);
|
|
481
477
|
} else
|
|
482
|
-
|
|
478
|
+
Ne.setExtraStackFrame(null);
|
|
483
479
|
}
|
|
484
480
|
var Q;
|
|
485
481
|
Q = !1;
|
|
486
482
|
function ee(e) {
|
|
487
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
483
|
+
return typeof e == "object" && e !== null && e.$$typeof === l;
|
|
488
484
|
}
|
|
489
|
-
function
|
|
485
|
+
function ye() {
|
|
490
486
|
{
|
|
491
487
|
if (Z.current) {
|
|
492
|
-
var e =
|
|
488
|
+
var e = j(Z.current.type);
|
|
493
489
|
if (e)
|
|
494
490
|
return `
|
|
495
491
|
|
|
@@ -498,227 +494,326 @@ Check the render method of \`` + e + "`.";
|
|
|
498
494
|
return "";
|
|
499
495
|
}
|
|
500
496
|
}
|
|
501
|
-
function
|
|
497
|
+
function it(e) {
|
|
502
498
|
{
|
|
503
499
|
if (e !== void 0) {
|
|
504
|
-
var
|
|
500
|
+
var t = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
|
|
505
501
|
return `
|
|
506
502
|
|
|
507
|
-
Check your code at ` +
|
|
503
|
+
Check your code at ` + t + ":" + a + ".";
|
|
508
504
|
}
|
|
509
505
|
return "";
|
|
510
506
|
}
|
|
511
507
|
}
|
|
512
|
-
var
|
|
513
|
-
function
|
|
508
|
+
var Ee = {};
|
|
509
|
+
function ot(e) {
|
|
514
510
|
{
|
|
515
|
-
var
|
|
516
|
-
if (!
|
|
517
|
-
var
|
|
518
|
-
|
|
511
|
+
var t = ye();
|
|
512
|
+
if (!t) {
|
|
513
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
514
|
+
a && (t = `
|
|
519
515
|
|
|
520
|
-
Check the top-level render call using <` +
|
|
516
|
+
Check the top-level render call using <` + a + ">.");
|
|
521
517
|
}
|
|
522
|
-
return
|
|
518
|
+
return t;
|
|
523
519
|
}
|
|
524
520
|
}
|
|
525
|
-
function
|
|
521
|
+
function Re(e, t) {
|
|
526
522
|
{
|
|
527
523
|
if (!e._store || e._store.validated || e.key != null)
|
|
528
524
|
return;
|
|
529
525
|
e._store.validated = !0;
|
|
530
|
-
var
|
|
531
|
-
if (
|
|
526
|
+
var a = ot(t);
|
|
527
|
+
if (Ee[a])
|
|
532
528
|
return;
|
|
533
|
-
|
|
534
|
-
var
|
|
535
|
-
e && e._owner && e._owner !== Z.current && (
|
|
529
|
+
Ee[a] = !0;
|
|
530
|
+
var o = "";
|
|
531
|
+
e && e._owner && e._owner !== Z.current && (o = " It was passed a child from " + j(e._owner.type) + "."), $(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), $(null);
|
|
536
532
|
}
|
|
537
533
|
}
|
|
538
|
-
function
|
|
534
|
+
function xe(e, t) {
|
|
539
535
|
{
|
|
540
536
|
if (typeof e != "object")
|
|
541
537
|
return;
|
|
542
538
|
if (K(e))
|
|
543
|
-
for (var
|
|
544
|
-
var
|
|
545
|
-
ee(
|
|
539
|
+
for (var a = 0; a < e.length; a++) {
|
|
540
|
+
var o = e[a];
|
|
541
|
+
ee(o) && Re(o, t);
|
|
546
542
|
}
|
|
547
543
|
else if (ee(e))
|
|
548
544
|
e._store && (e._store.validated = !0);
|
|
549
545
|
else if (e) {
|
|
550
|
-
var
|
|
551
|
-
if (typeof
|
|
552
|
-
for (var
|
|
553
|
-
ee(
|
|
546
|
+
var m = Fe(e);
|
|
547
|
+
if (typeof m == "function" && m !== e.entries)
|
|
548
|
+
for (var h = m.call(e), f; !(f = h.next()).done; )
|
|
549
|
+
ee(f.value) && Re(f.value, t);
|
|
554
550
|
}
|
|
555
551
|
}
|
|
556
552
|
}
|
|
557
|
-
function
|
|
553
|
+
function lt(e) {
|
|
558
554
|
{
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
555
|
+
var t = e.type;
|
|
556
|
+
if (t == null || typeof t == "string")
|
|
561
557
|
return;
|
|
562
|
-
var
|
|
563
|
-
if (typeof
|
|
564
|
-
|
|
565
|
-
else if (typeof
|
|
558
|
+
var a;
|
|
559
|
+
if (typeof t == "function")
|
|
560
|
+
a = t.propTypes;
|
|
561
|
+
else if (typeof t == "object" && (t.$$typeof === _ || // Note: Memo only checks outer props here.
|
|
566
562
|
// Inner props are checked in the reconciler.
|
|
567
|
-
|
|
568
|
-
|
|
563
|
+
t.$$typeof === P))
|
|
564
|
+
a = t.propTypes;
|
|
569
565
|
else
|
|
570
566
|
return;
|
|
571
|
-
if (
|
|
572
|
-
var
|
|
573
|
-
Ge(
|
|
574
|
-
} else if (
|
|
567
|
+
if (a) {
|
|
568
|
+
var o = j(t);
|
|
569
|
+
Ge(a, e.props, "prop", o, e);
|
|
570
|
+
} else if (t.PropTypes !== void 0 && !Q) {
|
|
575
571
|
Q = !0;
|
|
576
|
-
var
|
|
577
|
-
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
572
|
+
var m = j(t);
|
|
573
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
578
574
|
}
|
|
579
|
-
typeof
|
|
575
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
576
|
}
|
|
581
577
|
}
|
|
582
|
-
function
|
|
578
|
+
function st(e) {
|
|
583
579
|
{
|
|
584
|
-
for (var
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
|
|
580
|
+
for (var t = Object.keys(e.props), a = 0; a < t.length; a++) {
|
|
581
|
+
var o = t[a];
|
|
582
|
+
if (o !== "children" && o !== "key") {
|
|
583
|
+
$(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), $(null);
|
|
588
584
|
break;
|
|
589
585
|
}
|
|
590
586
|
}
|
|
591
|
-
e.ref !== null && (
|
|
587
|
+
e.ref !== null && ($(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
|
|
592
588
|
}
|
|
593
589
|
}
|
|
594
|
-
function
|
|
590
|
+
function we(e, t, a, o, m, h) {
|
|
595
591
|
{
|
|
596
|
-
var
|
|
597
|
-
if (!
|
|
598
|
-
var
|
|
599
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
600
|
-
var R =
|
|
601
|
-
R ?
|
|
602
|
-
var
|
|
603
|
-
e === null ?
|
|
592
|
+
var f = Be(e);
|
|
593
|
+
if (!f) {
|
|
594
|
+
var u = "";
|
|
595
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
596
|
+
var R = it(m);
|
|
597
|
+
R ? u += R : u += ye();
|
|
598
|
+
var k;
|
|
599
|
+
e === null ? k = "null" : K(e) ? k = "array" : e !== void 0 && e.$$typeof === l ? (k = "<" + (j(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : k = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, u);
|
|
604
600
|
}
|
|
605
|
-
var b =
|
|
601
|
+
var b = nt(e, t, a, m, h);
|
|
606
602
|
if (b == null)
|
|
607
603
|
return b;
|
|
608
|
-
if (
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
611
|
-
if (
|
|
612
|
-
if (K(
|
|
613
|
-
for (var
|
|
614
|
-
|
|
615
|
-
Object.freeze && Object.freeze(
|
|
604
|
+
if (f) {
|
|
605
|
+
var w = t.children;
|
|
606
|
+
if (w !== void 0)
|
|
607
|
+
if (o)
|
|
608
|
+
if (K(w)) {
|
|
609
|
+
for (var D = 0; D < w.length; D++)
|
|
610
|
+
xe(w[D], e);
|
|
611
|
+
Object.freeze && Object.freeze(w);
|
|
616
612
|
} else
|
|
617
613
|
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
618
614
|
else
|
|
619
|
-
|
|
615
|
+
xe(w, e);
|
|
620
616
|
}
|
|
621
|
-
return e ===
|
|
617
|
+
return e === c ? st(b) : lt(b), b;
|
|
622
618
|
}
|
|
623
619
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
620
|
+
function ct(e, t, a) {
|
|
621
|
+
return we(e, t, a, !0);
|
|
626
622
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
623
|
+
function ut(e, t, a) {
|
|
624
|
+
return we(e, t, a, !1);
|
|
629
625
|
}
|
|
630
|
-
var
|
|
631
|
-
Y.Fragment =
|
|
626
|
+
var ft = ut, pt = ct;
|
|
627
|
+
Y.Fragment = c, Y.jsx = ft, Y.jsxs = pt;
|
|
632
628
|
}()), Y;
|
|
633
629
|
}
|
|
634
|
-
(
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
const Se = L.Fragment, n = L.jsx, y = L.jsxs, T = ({
|
|
630
|
+
process.env.NODE_ENV === "production" ? te.exports = ht() : te.exports = vt();
|
|
631
|
+
var re = te.exports;
|
|
632
|
+
const Se = re.Fragment, r = re.jsx, p = re.jsxs, y = ({
|
|
638
633
|
className: i,
|
|
639
|
-
name:
|
|
634
|
+
name: l,
|
|
640
635
|
viewBox: s = "0 0 32 32",
|
|
641
|
-
...
|
|
636
|
+
...c
|
|
642
637
|
}) => {
|
|
643
|
-
const
|
|
644
|
-
return /* @__PURE__ */
|
|
645
|
-
},
|
|
638
|
+
const d = [i].filter(Boolean).join(" ");
|
|
639
|
+
return /* @__PURE__ */ r("svg", { ...c, className: d, viewBox: s, children: /* @__PURE__ */ r("use", { href: `#${l}` }) });
|
|
640
|
+
}, xt = z(
|
|
646
641
|
({
|
|
647
642
|
children: i,
|
|
648
|
-
className:
|
|
643
|
+
className: l,
|
|
649
644
|
skin: s = "info",
|
|
650
|
-
closeAlert:
|
|
651
|
-
onClose:
|
|
652
|
-
title:
|
|
653
|
-
date:
|
|
654
|
-
ariaLive:
|
|
655
|
-
...
|
|
645
|
+
closeAlert: c = !1,
|
|
646
|
+
onClose: d,
|
|
647
|
+
title: n,
|
|
648
|
+
date: v,
|
|
649
|
+
ariaLive: g = "polite",
|
|
650
|
+
..._
|
|
656
651
|
}, x) => {
|
|
657
|
-
const
|
|
658
|
-
|
|
652
|
+
const N = [l, "pkt-alert", s && `pkt-alert--${s}`].filter(Boolean).join(" "), [P, T] = dt(!0), C = () => {
|
|
653
|
+
T(!1), d && d();
|
|
659
654
|
};
|
|
660
|
-
return P ? /* @__PURE__ */
|
|
661
|
-
/* @__PURE__ */
|
|
662
|
-
|
|
655
|
+
return P ? /* @__PURE__ */ p("div", { ..._, className: N, "aria-live": g, ref: x, children: [
|
|
656
|
+
/* @__PURE__ */ r("div", { className: "pkt-alert__icon", children: /* @__PURE__ */ r(y, { name: s === "info" ? "alert-information" : `alert-${s}` }) }),
|
|
657
|
+
c && /* @__PURE__ */ r("div", { className: "pkt-alert__close", children: /* @__PURE__ */ r(
|
|
663
658
|
"button",
|
|
664
659
|
{
|
|
665
660
|
className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
|
|
666
661
|
tabIndex: 0,
|
|
667
662
|
"aria-label": "close",
|
|
668
|
-
onClick:
|
|
669
|
-
children: /* @__PURE__ */
|
|
663
|
+
onClick: C,
|
|
664
|
+
children: /* @__PURE__ */ r(y, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
|
|
670
665
|
}
|
|
671
666
|
) }),
|
|
672
|
-
|
|
673
|
-
/* @__PURE__ */
|
|
674
|
-
|
|
667
|
+
n && /* @__PURE__ */ r("div", { className: "pkt-alert__title", children: n }),
|
|
668
|
+
/* @__PURE__ */ r("div", { className: "pkt-alert__text", children: i }),
|
|
669
|
+
v && /* @__PURE__ */ p("div", { className: "pkt-alert__date", children: [
|
|
675
670
|
"Sist oppdatert: ",
|
|
676
|
-
|
|
671
|
+
v
|
|
677
672
|
] })
|
|
678
673
|
] }) : null;
|
|
679
674
|
}
|
|
680
|
-
),
|
|
675
|
+
), _t = z(
|
|
681
676
|
({
|
|
682
677
|
children: i,
|
|
683
|
-
className:
|
|
678
|
+
className: l,
|
|
684
679
|
iconName: s = "user",
|
|
685
|
-
secondIconName:
|
|
686
|
-
size:
|
|
687
|
-
skin:
|
|
688
|
-
type:
|
|
689
|
-
variant:
|
|
690
|
-
...
|
|
680
|
+
secondIconName: c = "user",
|
|
681
|
+
size: d = "medium",
|
|
682
|
+
skin: n = "primary",
|
|
683
|
+
type: v = "button",
|
|
684
|
+
variant: g = "label-only",
|
|
685
|
+
..._
|
|
691
686
|
}, x) => {
|
|
692
|
-
const
|
|
693
|
-
|
|
687
|
+
const N = [
|
|
688
|
+
l,
|
|
694
689
|
"pkt-btn",
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
690
|
+
d && `pkt-btn--${d}`,
|
|
691
|
+
n && `pkt-btn--${n}`,
|
|
692
|
+
g && `pkt-btn--${g}`
|
|
698
693
|
].filter(Boolean).join(" ");
|
|
699
|
-
return /* @__PURE__ */
|
|
700
|
-
/* @__PURE__ */
|
|
701
|
-
/* @__PURE__ */
|
|
702
|
-
|
|
694
|
+
return /* @__PURE__ */ p("button", { ..._, className: N, type: v, ref: x, children: [
|
|
695
|
+
/* @__PURE__ */ r(y, { className: "pkt-btn__icon", name: s }),
|
|
696
|
+
/* @__PURE__ */ r("span", { className: "pkt-btn__text", children: i }),
|
|
697
|
+
g === "icons-right-and-left" && /* @__PURE__ */ r(y, { className: "pkt-btn__icon", name: c })
|
|
703
698
|
] });
|
|
704
699
|
}
|
|
705
700
|
);
|
|
706
|
-
|
|
707
|
-
const
|
|
701
|
+
_t.displayName = "PktButton";
|
|
702
|
+
const wt = ({
|
|
703
|
+
links: i = []
|
|
704
|
+
}) => /* @__PURE__ */ r("footer", { className: "pkt-footer-simple", "data-mode": "dark", children: /* @__PURE__ */ r("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ p("ul", { className: "pkt-footer-simple__list", children: [
|
|
705
|
+
i.map((l, s) => /* @__PURE__ */ r("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ p(
|
|
706
|
+
"a",
|
|
707
|
+
{
|
|
708
|
+
className: `pkt-footer-simple__link ${l.external ? " pkt-link--external" : ""}`,
|
|
709
|
+
href: l.href,
|
|
710
|
+
children: [
|
|
711
|
+
/* @__PURE__ */ r(
|
|
712
|
+
y,
|
|
713
|
+
{
|
|
714
|
+
className: "pkt-footer-simple__link-icon",
|
|
715
|
+
name: "chevron-right"
|
|
716
|
+
}
|
|
717
|
+
),
|
|
718
|
+
l.text
|
|
719
|
+
]
|
|
720
|
+
}
|
|
721
|
+
) }, s)),
|
|
722
|
+
/* @__PURE__ */ r("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ p("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/", children: [
|
|
723
|
+
/* @__PURE__ */ r(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
|
|
724
|
+
"Personvern og informasjonskapsler"
|
|
725
|
+
] }) }),
|
|
726
|
+
/* @__PURE__ */ r("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ p("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
|
|
727
|
+
/* @__PURE__ */ r(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
|
|
728
|
+
"Tilgjengelighet"
|
|
729
|
+
] }) })
|
|
730
|
+
] }) }) }), Pt = ({ columnOne: i, columnTwo: l, socialLinks: s }) => {
|
|
731
|
+
var c, d;
|
|
732
|
+
return /* @__PURE__ */ r("footer", { className: "pkt-footer", "data-mode": "dark", children: /* @__PURE__ */ p("div", { className: "pkt-footer__container", children: [
|
|
733
|
+
/* @__PURE__ */ p("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
|
|
734
|
+
/* @__PURE__ */ p("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
735
|
+
/* @__PURE__ */ r("h2", { className: "pkt-footer__title", children: i.title }),
|
|
736
|
+
/* @__PURE__ */ p("ul", { className: "pkt-footer__list", children: [
|
|
737
|
+
i.text && /* @__PURE__ */ r("li", { className: "pkt-footer__text", children: i.text }),
|
|
738
|
+
(c = i.links) == null ? void 0 : c.map((n, v) => /* @__PURE__ */ r("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p(
|
|
739
|
+
"a",
|
|
740
|
+
{
|
|
741
|
+
className: `pkt-footer__link ${n.external ? "pkt-link--external" : ""}`,
|
|
742
|
+
href: n.href,
|
|
743
|
+
children: [
|
|
744
|
+
/* @__PURE__ */ r(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
745
|
+
n.text
|
|
746
|
+
]
|
|
747
|
+
}
|
|
748
|
+
) }, `links-${v}`))
|
|
749
|
+
] })
|
|
750
|
+
] }),
|
|
751
|
+
/* @__PURE__ */ p("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
752
|
+
/* @__PURE__ */ r("h2", { className: "pkt-footer__title", children: l.title }),
|
|
753
|
+
/* @__PURE__ */ p("ul", { className: "pkt-footer__list", children: [
|
|
754
|
+
l.text && /* @__PURE__ */ r("li", { className: "pkt-footer__text", children: l.text }),
|
|
755
|
+
(d = l.links) == null ? void 0 : d.map((n, v) => /* @__PURE__ */ r("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p(
|
|
756
|
+
"a",
|
|
757
|
+
{
|
|
758
|
+
className: `pkt-footer__link ${n.external ? "pkt-link--external" : ""}`,
|
|
759
|
+
href: n.href,
|
|
760
|
+
children: [
|
|
761
|
+
/* @__PURE__ */ r(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
762
|
+
n.text
|
|
763
|
+
]
|
|
764
|
+
}
|
|
765
|
+
) }, `links-${v}`))
|
|
766
|
+
] })
|
|
767
|
+
] }),
|
|
768
|
+
/* @__PURE__ */ p("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
769
|
+
/* @__PURE__ */ r("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
|
|
770
|
+
/* @__PURE__ */ p("ul", { className: "pkt-footer__list", children: [
|
|
771
|
+
/* @__PURE__ */ r("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p(
|
|
772
|
+
"a",
|
|
773
|
+
{
|
|
774
|
+
className: "pkt-footer__link",
|
|
775
|
+
href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
|
|
776
|
+
children: [
|
|
777
|
+
/* @__PURE__ */ r(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
778
|
+
"Personvern og informasjonskapsler"
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
) }),
|
|
782
|
+
/* @__PURE__ */ r("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
|
|
783
|
+
/* @__PURE__ */ r(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
784
|
+
"Tilgjengelighet"
|
|
785
|
+
] }) })
|
|
786
|
+
] })
|
|
787
|
+
] })
|
|
788
|
+
] }),
|
|
789
|
+
s && /* @__PURE__ */ p("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
|
|
790
|
+
/* @__PURE__ */ r("div", { className: "pkt-footer__social-languages", children: s.filter((n) => n.language).map((n, v) => /* @__PURE__ */ r("div", { className: "pkt-footer__social-language", children: /* @__PURE__ */ r("a", { href: n.href, "aria-label": `til ${n.language} versjon av nettsiden`, children: n.language }) }, `sociallinks-language-${v}`)) }),
|
|
791
|
+
/* @__PURE__ */ r("div", { className: "pkt-footer__social-icons", children: s.filter((n) => n.iconName).map((n, v) => /* @__PURE__ */ r(q.Fragment, { children: /* @__PURE__ */ r(
|
|
792
|
+
"a",
|
|
793
|
+
{
|
|
794
|
+
href: n.href,
|
|
795
|
+
"aria-label": `til ${n.iconName}`,
|
|
796
|
+
className: "pkt-footer__social-icon-link",
|
|
797
|
+
children: /* @__PURE__ */ r("svg", { className: "pkt-footer__social-icon", viewBox: "0 0 32 32", "aria-hidden": "true", children: /* @__PURE__ */ r("use", { href: `#${n.iconName}` }) })
|
|
798
|
+
}
|
|
799
|
+
) }, `sociallinks-${v}`)) })
|
|
800
|
+
] })
|
|
801
|
+
] }) });
|
|
802
|
+
}, Tt = ({
|
|
708
803
|
className: i,
|
|
709
|
-
logoLink:
|
|
804
|
+
logoLink: l = "https://www.oslo.kommune.no/",
|
|
710
805
|
isLoggedIn: s = !1,
|
|
711
|
-
representing:
|
|
712
|
-
canChangeRepresentation:
|
|
713
|
-
showLogInButton:
|
|
714
|
-
onLogIn:
|
|
715
|
-
onLogOut:
|
|
716
|
-
onChangeRepresentation:
|
|
806
|
+
representing: c = "",
|
|
807
|
+
canChangeRepresentation: d = !1,
|
|
808
|
+
showLogInButton: n = !0,
|
|
809
|
+
onLogIn: v,
|
|
810
|
+
onLogOut: g,
|
|
811
|
+
onChangeRepresentation: _
|
|
717
812
|
}) => {
|
|
718
813
|
const x = [i, "pkt-header"].filter(Boolean).join(" ");
|
|
719
|
-
return /* @__PURE__ */
|
|
720
|
-
/* @__PURE__ */
|
|
721
|
-
|
|
814
|
+
return /* @__PURE__ */ p("header", { id: "pkt-header", className: x, "aria-label": "Topp", children: [
|
|
815
|
+
/* @__PURE__ */ r("div", { className: "pkt-header__logo", children: /* @__PURE__ */ r("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: l, children: /* @__PURE__ */ r(
|
|
816
|
+
y,
|
|
722
817
|
{
|
|
723
818
|
name: "oslologo",
|
|
724
819
|
className: "pkt-header__logo-svg",
|
|
@@ -726,105 +821,98 @@ const Nr = ({
|
|
|
726
821
|
"aria-hidden": "true"
|
|
727
822
|
}
|
|
728
823
|
) }) }),
|
|
729
|
-
/* @__PURE__ */
|
|
730
|
-
s &&
|
|
824
|
+
/* @__PURE__ */ p("div", { className: "pkt-header__actions", children: [
|
|
825
|
+
s && d && /* @__PURE__ */ p(
|
|
731
826
|
"button",
|
|
732
827
|
{
|
|
733
828
|
className: "pkt-btn pkt-btn--secondary pkt-btn--icon-right",
|
|
734
|
-
"aria-label": `Bytt bruker fra ${
|
|
735
|
-
onClick:
|
|
829
|
+
"aria-label": `Bytt bruker fra ${c}`,
|
|
830
|
+
onClick: _,
|
|
736
831
|
children: [
|
|
737
|
-
/* @__PURE__ */
|
|
738
|
-
/* @__PURE__ */
|
|
739
|
-
/* @__PURE__ */
|
|
740
|
-
/* @__PURE__ */
|
|
832
|
+
/* @__PURE__ */ r(y, { name: "user", className: "pkt-btn__icon pkt-show-tablet-up" }),
|
|
833
|
+
/* @__PURE__ */ r("span", { className: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15", children: "Endre" }),
|
|
834
|
+
/* @__PURE__ */ r("span", { className: "pkt-btn__text pkt-hide-tablet-up", children: "Endre" }),
|
|
835
|
+
/* @__PURE__ */ r("span", { className: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up", children: c })
|
|
741
836
|
]
|
|
742
837
|
}
|
|
743
838
|
),
|
|
744
|
-
s && !
|
|
745
|
-
/* @__PURE__ */
|
|
746
|
-
/* @__PURE__ */
|
|
839
|
+
s && !d && /* @__PURE__ */ p("div", { className: "pkt-header__action", children: [
|
|
840
|
+
/* @__PURE__ */ r("span", { className: "pkt-header__action-text", children: /* @__PURE__ */ r("span", { className: "pkt-btn__text pkt-header__action-textrow text-row-inline pkt-truncate-text", children: c }) }),
|
|
841
|
+
/* @__PURE__ */ r("span", { className: "pkt-header__action-icon pkt-show-phablet-up", children: /* @__PURE__ */ r(y, { name: "user" }) })
|
|
747
842
|
] }),
|
|
748
|
-
|
|
843
|
+
n && s && /* @__PURE__ */ p(
|
|
749
844
|
"button",
|
|
750
845
|
{
|
|
751
846
|
className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
|
|
752
847
|
"aria-label": "Logg ut",
|
|
753
|
-
onClick:
|
|
848
|
+
onClick: g,
|
|
754
849
|
children: [
|
|
755
|
-
/* @__PURE__ */
|
|
756
|
-
/* @__PURE__ */
|
|
850
|
+
/* @__PURE__ */ r(y, { className: "pkt-btn__icon pkt-show-tablet-up", name: "exit" }),
|
|
851
|
+
/* @__PURE__ */ r("span", { className: "pkt-btn__text", children: "Logg ut" })
|
|
757
852
|
]
|
|
758
853
|
}
|
|
759
854
|
),
|
|
760
|
-
|
|
855
|
+
n && !s && /* @__PURE__ */ p(
|
|
761
856
|
"button",
|
|
762
857
|
{
|
|
763
858
|
className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
|
|
764
859
|
"aria-label": "Logg inn",
|
|
765
|
-
onClick:
|
|
860
|
+
onClick: v,
|
|
766
861
|
children: [
|
|
767
|
-
/* @__PURE__ */
|
|
768
|
-
/* @__PURE__ */
|
|
862
|
+
/* @__PURE__ */ r(y, { className: "pkt-btn__icon", name: "user" }),
|
|
863
|
+
/* @__PURE__ */ r("span", { className: "pkt-btn__text", children: "Logg inn" })
|
|
769
864
|
]
|
|
770
865
|
}
|
|
771
866
|
)
|
|
772
867
|
] })
|
|
773
868
|
] });
|
|
774
|
-
},
|
|
775
|
-
({ label: i, id:
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
/* @__PURE__ */
|
|
869
|
+
}, kt = q.forwardRef(
|
|
870
|
+
({ label: i, id: l, children: s, ...c }, d) => /* @__PURE__ */ p("div", { className: "pkt-form-group", children: [
|
|
871
|
+
/* @__PURE__ */ r("label", { htmlFor: l, className: "pkt-form-label", children: i }),
|
|
872
|
+
/* @__PURE__ */ r("input", { className: "pkt-form-input", id: l, ...c, ref: d }),
|
|
778
873
|
s
|
|
779
874
|
] })
|
|
780
875
|
);
|
|
781
|
-
|
|
782
|
-
const
|
|
876
|
+
kt.displayName = "PktInput";
|
|
877
|
+
const jt = ({
|
|
783
878
|
children: i,
|
|
784
|
-
className:
|
|
879
|
+
className: l,
|
|
785
880
|
iconName: s = "user",
|
|
786
|
-
skin:
|
|
787
|
-
href:
|
|
788
|
-
title:
|
|
881
|
+
skin: c = "",
|
|
882
|
+
href: d = "#",
|
|
883
|
+
title: n
|
|
789
884
|
}) => {
|
|
790
|
-
const
|
|
791
|
-
return /* @__PURE__ */
|
|
792
|
-
/* @__PURE__ */
|
|
793
|
-
/* @__PURE__ */
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
/* @__PURE__ */
|
|
885
|
+
const v = [l, "pkt-linkcard", c && `pkt-linkcard--${c}`].filter(Boolean).join(" ");
|
|
886
|
+
return /* @__PURE__ */ p("a", { href: d, className: `pkt-linkcard pkt-link ${v}`, children: [
|
|
887
|
+
/* @__PURE__ */ r(y, { className: "pkt-link__icon", name: s }),
|
|
888
|
+
/* @__PURE__ */ p("div", { className: "pkt-linkcard__content", children: [
|
|
889
|
+
/* @__PURE__ */ r("div", { className: "pkt-linkcard__title", children: n }),
|
|
890
|
+
/* @__PURE__ */ r("div", { className: "pkt-linkcard__text", children: i })
|
|
796
891
|
] })
|
|
797
892
|
] });
|
|
798
|
-
},
|
|
893
|
+
}, St = ({
|
|
799
894
|
children: i,
|
|
800
|
-
skin:
|
|
895
|
+
skin: l = "beige",
|
|
801
896
|
title: s,
|
|
802
|
-
...
|
|
897
|
+
...c
|
|
803
898
|
}) => {
|
|
804
|
-
const
|
|
805
|
-
return /* @__PURE__ */
|
|
806
|
-
/* @__PURE__ */
|
|
807
|
-
/* @__PURE__ */
|
|
899
|
+
const d = ["pkt-messagebox", l && `pkt-messagebox--${l}`].filter(Boolean).join(" ");
|
|
900
|
+
return /* @__PURE__ */ p("div", { ...c, className: d, children: [
|
|
901
|
+
/* @__PURE__ */ r("div", { className: "pkt-messagebox__title", children: s }),
|
|
902
|
+
/* @__PURE__ */ r("div", { className: "pkt-messagebox__text", children: i })
|
|
808
903
|
] });
|
|
809
|
-
},
|
|
810
|
-
({ id: i, name:
|
|
811
|
-
/* @__PURE__ */
|
|
812
|
-
/* @__PURE__ */
|
|
904
|
+
}, bt = z(
|
|
905
|
+
({ id: i, name: l, label: s, value: c, ...d }, n) => /* @__PURE__ */ p("div", { className: "pkt-form-group", children: [
|
|
906
|
+
/* @__PURE__ */ r("input", { type: "radio", className: "pkt-form-check-input", id: i, name: l, value: c, ref: n, ...d }),
|
|
907
|
+
/* @__PURE__ */ r("label", { className: "pkt-form-label", htmlFor: i, children: s })
|
|
813
908
|
] })
|
|
814
909
|
);
|
|
815
|
-
|
|
816
|
-
const
|
|
817
|
-
/* @__PURE__ */
|
|
818
|
-
/* @__PURE__ */
|
|
910
|
+
bt.displayName = "PktRadio";
|
|
911
|
+
const Ot = ({ label: i, children: l }) => /* @__PURE__ */ p(Se, { children: [
|
|
912
|
+
/* @__PURE__ */ r("p", { children: i }),
|
|
913
|
+
/* @__PURE__ */ r("div", { className: "pkt-form-group", children: l })
|
|
819
914
|
] });
|
|
820
|
-
var
|
|
821
|
-
get exports() {
|
|
822
|
-
return re;
|
|
823
|
-
},
|
|
824
|
-
set exports(i) {
|
|
825
|
-
re = i;
|
|
826
|
-
}
|
|
827
|
-
};
|
|
915
|
+
var Oe = { exports: {} };
|
|
828
916
|
/*!
|
|
829
917
|
Copyright (c) 2018 Jed Watson.
|
|
830
918
|
Licensed under the MIT License (MIT), see
|
|
@@ -832,67 +920,70 @@ var re = {}, kr = {
|
|
|
832
920
|
*/
|
|
833
921
|
(function(i) {
|
|
834
922
|
(function() {
|
|
835
|
-
var
|
|
923
|
+
var l = {}.hasOwnProperty;
|
|
836
924
|
function s() {
|
|
837
|
-
for (var
|
|
838
|
-
var
|
|
839
|
-
if (
|
|
840
|
-
var
|
|
841
|
-
if (
|
|
842
|
-
|
|
843
|
-
else if (Array.isArray(
|
|
844
|
-
if (
|
|
845
|
-
var
|
|
846
|
-
|
|
925
|
+
for (var c = [], d = 0; d < arguments.length; d++) {
|
|
926
|
+
var n = arguments[d];
|
|
927
|
+
if (n) {
|
|
928
|
+
var v = typeof n;
|
|
929
|
+
if (v === "string" || v === "number")
|
|
930
|
+
c.push(n);
|
|
931
|
+
else if (Array.isArray(n)) {
|
|
932
|
+
if (n.length) {
|
|
933
|
+
var g = s.apply(null, n);
|
|
934
|
+
g && c.push(g);
|
|
847
935
|
}
|
|
848
|
-
} else if (
|
|
849
|
-
if (
|
|
850
|
-
|
|
936
|
+
} else if (v === "object") {
|
|
937
|
+
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]")) {
|
|
938
|
+
c.push(n.toString());
|
|
851
939
|
continue;
|
|
852
940
|
}
|
|
853
|
-
for (var
|
|
854
|
-
|
|
941
|
+
for (var _ in n)
|
|
942
|
+
l.call(n, _) && n[_] && c.push(_);
|
|
855
943
|
}
|
|
856
944
|
}
|
|
857
945
|
}
|
|
858
|
-
return
|
|
946
|
+
return c.join(" ");
|
|
859
947
|
}
|
|
860
948
|
i.exports ? (s.default = s, i.exports = s) : window.classNames = s;
|
|
861
949
|
})();
|
|
862
|
-
})(
|
|
863
|
-
|
|
950
|
+
})(Oe);
|
|
951
|
+
var gt = Oe.exports;
|
|
952
|
+
const Nt = /* @__PURE__ */ mt(gt), yt = ({ isResponsive: i, children: l }) => i ? /* @__PURE__ */ r("div", { className: "pkt-table-container", children: l }) : /* @__PURE__ */ r(Se, { children: l }), Ct = ({
|
|
864
953
|
isResponsive: i,
|
|
865
|
-
modifiers: { info:
|
|
866
|
-
children:
|
|
867
|
-
}) => /* @__PURE__ */
|
|
954
|
+
modifiers: { info: l = !1, success: s = !1, strong: c = !1, shadow: d = !1 } = {},
|
|
955
|
+
children: n
|
|
956
|
+
}) => /* @__PURE__ */ r(yt, { isResponsive: i, children: /* @__PURE__ */ r(
|
|
868
957
|
"table",
|
|
869
958
|
{
|
|
870
|
-
className:
|
|
871
|
-
"pkt-table--info":
|
|
959
|
+
className: Nt("pkt-table", {
|
|
960
|
+
"pkt-table--info": l,
|
|
872
961
|
"pkt-table--success": s,
|
|
873
|
-
"pkt-table--strong":
|
|
874
|
-
"pkt-table--shadow":
|
|
962
|
+
"pkt-table--strong": c,
|
|
963
|
+
"pkt-table--shadow": d
|
|
875
964
|
}),
|
|
876
|
-
children:
|
|
965
|
+
children: n
|
|
877
966
|
}
|
|
878
|
-
) }),
|
|
879
|
-
({ id: i, label:
|
|
880
|
-
/* @__PURE__ */
|
|
881
|
-
/* @__PURE__ */
|
|
967
|
+
) }), Ft = ({ children: i }) => /* @__PURE__ */ r("td", { className: "pkt-table__th", children: i }), $t = ({ children: i }) => /* @__PURE__ */ r("th", { className: "pkt-table__th", children: i }), Et = z(
|
|
968
|
+
({ id: i, label: l, ...s }, c) => /* @__PURE__ */ p("div", { className: "pkt-form-group", children: [
|
|
969
|
+
/* @__PURE__ */ r("label", { htmlFor: i, className: "pkt-form-label", children: l }),
|
|
970
|
+
/* @__PURE__ */ r("textarea", { className: "pkt-form-textarea", id: i, ref: c, ...s })
|
|
882
971
|
] })
|
|
883
972
|
);
|
|
884
|
-
|
|
973
|
+
Et.displayName = "PktTextarea";
|
|
885
974
|
export {
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
975
|
+
xt as PktAlert,
|
|
976
|
+
_t as PktButton,
|
|
977
|
+
Pt as PktFooter,
|
|
978
|
+
wt as PktFooterSimple,
|
|
979
|
+
Tt as PktHeader,
|
|
980
|
+
kt as PktInput,
|
|
981
|
+
jt as PktLinkCard,
|
|
982
|
+
St as PktMessagebox,
|
|
983
|
+
bt as PktRadio,
|
|
984
|
+
Ot as PktRadioGroup,
|
|
985
|
+
Ct as PktTable,
|
|
986
|
+
Ft as PktTableData,
|
|
987
|
+
$t as PktTableHeader,
|
|
988
|
+
Et as PktTextarea
|
|
898
989
|
};
|