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