@oslokommune/punkt-react 3.4.2 → 4.1.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 +41 -0
- package/dist/footer/Footer.d.ts +25 -0
- package/dist/footerSimple/FooterSimple.d.ts +10 -0
- package/dist/index.d.ts +2 -0
- package/dist/punkt-react.es.js +545 -437
- package/dist/punkt-react.umd.js +11 -11
- package/dist/table/Table.d.ts +1 -1
- package/dist/table/TableData.d.ts +1 -1
- package/dist/table/TableHeader.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/footer/Footer.test.tsx +122 -0
- package/src/components/footer/Footer.tsx +134 -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 +54 -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 dr } from "react";
|
|
2
|
+
function mr(o) {
|
|
3
|
+
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
4
|
+
}
|
|
5
|
+
var re = { exports: {} }, W = {};
|
|
10
6
|
/**
|
|
11
7
|
* @license React
|
|
12
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,21 +12,21 @@ 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 Pe;
|
|
16
|
+
function hr() {
|
|
17
|
+
if (Pe)
|
|
22
18
|
return W;
|
|
23
|
-
|
|
24
|
-
var
|
|
25
|
-
function _(
|
|
26
|
-
var
|
|
27
|
-
x !== void 0 && (
|
|
28
|
-
for (
|
|
29
|
-
|
|
30
|
-
if (
|
|
31
|
-
for (
|
|
32
|
-
|
|
33
|
-
return { $$typeof:
|
|
19
|
+
Pe = 1;
|
|
20
|
+
var o = q, l = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function _(g, v, x) {
|
|
22
|
+
var N, T = {}, P = null, C = null;
|
|
23
|
+
x !== void 0 && (P = "" + x), v.key !== void 0 && (P = "" + v.key), v.ref !== void 0 && (C = v.ref);
|
|
24
|
+
for (N in v)
|
|
25
|
+
c.call(v, N) && !n.hasOwnProperty(N) && (T[N] = v[N]);
|
|
26
|
+
if (g && g.defaultProps)
|
|
27
|
+
for (N in v = g.defaultProps, v)
|
|
28
|
+
T[N] === void 0 && (T[N] = v[N]);
|
|
29
|
+
return { $$typeof: l, type: g, key: P, ref: C, props: T, _owner: d.current };
|
|
34
30
|
}
|
|
35
31
|
return W.Fragment = s, W.jsx = _, W.jsxs = _, W;
|
|
36
32
|
}
|
|
@@ -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
|
|
51
|
-
function
|
|
43
|
+
var je;
|
|
44
|
+
function _r() {
|
|
45
|
+
return je || (je = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var o = 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"), _ = Symbol.for("react.provider"), g = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), P = 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
50
|
var r = ae && e[ae] || e[Ce];
|
|
55
51
|
return typeof r == "function" ? r : null;
|
|
56
52
|
}
|
|
57
|
-
var F =
|
|
53
|
+
var F = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
54
|
function E(e) {
|
|
59
55
|
{
|
|
60
|
-
for (var r = arguments.length,
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
57
|
+
a[i - 1] = arguments[i];
|
|
58
|
+
$e("error", e, a);
|
|
63
59
|
}
|
|
64
60
|
}
|
|
65
|
-
function
|
|
61
|
+
function $e(e, r, a) {
|
|
66
62
|
{
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
var
|
|
70
|
-
return String(
|
|
63
|
+
var i = F.ReactDebugCurrentFrame, m = i.getStackAddendum();
|
|
64
|
+
m !== "" && (r += "%s", a = a.concat([m]));
|
|
65
|
+
var h = a.map(function(f) {
|
|
66
|
+
return String(f);
|
|
71
67
|
});
|
|
72
|
-
|
|
68
|
+
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
73
69
|
}
|
|
74
70
|
}
|
|
75
|
-
var De = !1,
|
|
71
|
+
var De = !1, Ie = !1, Ae = !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 || Ie || Ae || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === T || e.$$typeof === _ || e.$$typeof === g || e.$$typeof === v || // 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, r, a) {
|
|
81
|
+
var i = e.displayName;
|
|
82
|
+
if (i)
|
|
83
|
+
return i;
|
|
84
|
+
var m = r.displayName || r.name || "";
|
|
85
|
+
return m !== "" ? a + "(" + m + ")" : a;
|
|
90
86
|
}
|
|
91
|
-
function
|
|
87
|
+
function oe(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
|
|
113
|
+
case g:
|
|
118
114
|
var r = e;
|
|
119
|
-
return
|
|
115
|
+
return oe(r) + ".Consumer";
|
|
120
116
|
case _:
|
|
121
|
-
var
|
|
122
|
-
return
|
|
123
|
-
case
|
|
124
|
-
return
|
|
125
|
-
case
|
|
126
|
-
var
|
|
127
|
-
return
|
|
128
|
-
case
|
|
129
|
-
var
|
|
117
|
+
var a = e;
|
|
118
|
+
return oe(a._context) + ".Provider";
|
|
119
|
+
case v:
|
|
120
|
+
return Me(e, e.render, "ForwardRef");
|
|
121
|
+
case T:
|
|
122
|
+
var i = e.displayName || null;
|
|
123
|
+
return i !== null ? i : j(e.type) || "Memo";
|
|
124
|
+
case P: {
|
|
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, I = 0, ie, 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
|
-
|
|
141
|
+
if (I === 0) {
|
|
142
|
+
ie = 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
|
+
I++;
|
|
164
160
|
}
|
|
165
161
|
}
|
|
166
|
-
function
|
|
162
|
+
function Ve() {
|
|
167
163
|
{
|
|
168
|
-
if (
|
|
164
|
+
if (I--, I === 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:
|
|
176
|
-
value:
|
|
171
|
+
log: O({}, e, {
|
|
172
|
+
value: ie
|
|
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
|
+
I < 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, r,
|
|
197
|
+
var G = F.ReactCurrentDispatcher, J;
|
|
198
|
+
function B(e, r, 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 i = m.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
+
J = i && i[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, r) {
|
|
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 i;
|
|
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
231
|
if (r) {
|
|
236
|
-
var
|
|
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
|
+
i = 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
|
+
i = 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
|
+
i = S;
|
|
263
259
|
}
|
|
264
260
|
e();
|
|
265
261
|
}
|
|
266
262
|
} catch (S) {
|
|
267
|
-
if (S &&
|
|
268
|
-
for (var
|
|
269
|
-
`), R =
|
|
270
|
-
`),
|
|
263
|
+
if (S && i && typeof S.stack == "string") {
|
|
264
|
+
for (var u = S.stack.split(`
|
|
265
|
+
`), R = i.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
|
|
284
|
+
var D = e ? e.displayName || e.name : "", Te = D ? B(D) : "";
|
|
289
285
|
return typeof e == "function" && M.set(e, Te), Te;
|
|
290
286
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
287
|
+
function qe(e, r, a) {
|
|
288
|
+
return me(e, !1);
|
|
293
289
|
}
|
|
294
|
-
function
|
|
290
|
+
function ze(e) {
|
|
295
291
|
var r = e.prototype;
|
|
296
292
|
return !!(r && r.isReactComponent);
|
|
297
293
|
}
|
|
298
|
-
function
|
|
294
|
+
function L(e, r, 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
|
|
315
|
-
case
|
|
316
|
-
return
|
|
317
|
-
case
|
|
318
|
-
var
|
|
309
|
+
case v:
|
|
310
|
+
return qe(e.render);
|
|
311
|
+
case T:
|
|
312
|
+
return L(e.type, r, a);
|
|
313
|
+
case P: {
|
|
314
|
+
var i = e, m = i._payload, h = i._init;
|
|
319
315
|
try {
|
|
320
|
-
return
|
|
316
|
+
return L(h(m), r, 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 = {}, _e = F.ReactDebugCurrentFrame;
|
|
324
|
+
function U(e) {
|
|
329
325
|
if (e) {
|
|
330
|
-
var r = e._owner,
|
|
331
|
-
|
|
326
|
+
var r = e._owner, a = L(e.type, e._source, r ? r.type : null);
|
|
327
|
+
_e.setExtraStackFrame(a);
|
|
332
328
|
} else
|
|
333
|
-
|
|
329
|
+
_e.setExtraStackFrame(null);
|
|
334
330
|
}
|
|
335
|
-
function Ge(e, r,
|
|
331
|
+
function Ge(e, r, a, i, 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((i || "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](r, f, i, 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).", i || "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 r = typeof Symbol == "function" && Symbol.toStringTag,
|
|
361
|
-
return
|
|
356
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && 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 ve(e), !1;
|
|
367
363
|
} catch {
|
|
368
364
|
return !0;
|
|
369
365
|
}
|
|
370
366
|
}
|
|
371
|
-
function
|
|
367
|
+
function ve(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)), ve(e);
|
|
377
373
|
}
|
|
378
|
-
var
|
|
374
|
+
var A = 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 (
|
|
381
|
+
function Ze(e) {
|
|
382
|
+
if (V.call(e, "ref")) {
|
|
387
383
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
388
384
|
if (r && r.isReactWarning)
|
|
389
385
|
return !1;
|
|
390
386
|
}
|
|
391
387
|
return e.ref !== void 0;
|
|
392
388
|
}
|
|
393
|
-
function
|
|
394
|
-
if (
|
|
389
|
+
function Qe(e) {
|
|
390
|
+
if (V.call(e, "key")) {
|
|
395
391
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
396
392
|
if (r && r.isReactWarning)
|
|
397
393
|
return !1;
|
|
398
394
|
}
|
|
399
395
|
return e.key !== void 0;
|
|
400
396
|
}
|
|
401
|
-
function
|
|
402
|
-
if (typeof e.ref == "string" &&
|
|
403
|
-
var
|
|
404
|
-
X[
|
|
397
|
+
function er(e, r) {
|
|
398
|
+
if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
|
|
399
|
+
var a = j(A.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(A.current.type), e.ref), X[a] = !0);
|
|
405
401
|
}
|
|
406
402
|
}
|
|
407
|
-
function
|
|
403
|
+
function rr(e, r) {
|
|
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)", r));
|
|
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 tr(e, r) {
|
|
419
415
|
{
|
|
420
|
-
var
|
|
416
|
+
var a = function() {
|
|
421
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)", r));
|
|
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 ar = function(e, r, a, i, 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
431
|
key: r,
|
|
436
|
-
ref:
|
|
437
|
-
props:
|
|
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: i
|
|
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 nr(e, r, a, i, 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(r) && (ke(r.key), u = "" + r.key), Ze(r) && (R = r.ref, er(r, m));
|
|
458
|
+
for (h in r)
|
|
459
|
+
V.call(r, h) && !Xe.hasOwnProperty(h) && (f[h] = r[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 && rr(f, b), R && tr(f, b);
|
|
472
468
|
}
|
|
473
|
-
return
|
|
469
|
+
return ar(e, u, R, m, i, A.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 r = e._owner,
|
|
480
|
-
|
|
475
|
+
var r = e._owner, a = L(e.type, e._source, r ? r.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,343 @@ Check the render method of \`` + e + "`.";
|
|
|
498
494
|
return "";
|
|
499
495
|
}
|
|
500
496
|
}
|
|
501
|
-
function
|
|
497
|
+
function or(e) {
|
|
502
498
|
{
|
|
503
499
|
if (e !== void 0) {
|
|
504
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""),
|
|
500
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
|
|
505
501
|
return `
|
|
506
502
|
|
|
507
|
-
Check your code at ` + r + ":" +
|
|
503
|
+
Check your code at ` + r + ":" + a + ".";
|
|
508
504
|
}
|
|
509
505
|
return "";
|
|
510
506
|
}
|
|
511
507
|
}
|
|
512
|
-
var
|
|
508
|
+
var Ee = {};
|
|
513
509
|
function ir(e) {
|
|
514
510
|
{
|
|
515
|
-
var r =
|
|
511
|
+
var r = ye();
|
|
516
512
|
if (!r) {
|
|
517
|
-
var
|
|
518
|
-
|
|
513
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
514
|
+
a && (r = `
|
|
519
515
|
|
|
520
|
-
Check the top-level render call using <` +
|
|
516
|
+
Check the top-level render call using <` + a + ">.");
|
|
521
517
|
}
|
|
522
518
|
return r;
|
|
523
519
|
}
|
|
524
520
|
}
|
|
525
|
-
function
|
|
521
|
+
function Re(e, r) {
|
|
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 = ir(r);
|
|
527
|
+
if (Ee[a])
|
|
532
528
|
return;
|
|
533
|
-
|
|
534
|
-
var
|
|
535
|
-
e && e._owner && e._owner !== Z.current && (
|
|
529
|
+
Ee[a] = !0;
|
|
530
|
+
var i = "";
|
|
531
|
+
e && e._owner && e._owner !== Z.current && (i = " 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, i), $(null);
|
|
536
532
|
}
|
|
537
533
|
}
|
|
538
|
-
function
|
|
534
|
+
function xe(e, r) {
|
|
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 i = e[a];
|
|
541
|
+
ee(i) && Re(i, r);
|
|
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, r);
|
|
554
550
|
}
|
|
555
551
|
}
|
|
556
552
|
}
|
|
557
|
-
function
|
|
553
|
+
function lr(e) {
|
|
558
554
|
{
|
|
559
555
|
var r = e.type;
|
|
560
556
|
if (r == null || typeof r == "string")
|
|
561
557
|
return;
|
|
562
|
-
var
|
|
558
|
+
var a;
|
|
563
559
|
if (typeof r == "function")
|
|
564
|
-
|
|
565
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
560
|
+
a = r.propTypes;
|
|
561
|
+
else if (typeof r == "object" && (r.$$typeof === v || // Note: Memo only checks outer props here.
|
|
566
562
|
// Inner props are checked in the reconciler.
|
|
567
|
-
r.$$typeof ===
|
|
568
|
-
|
|
563
|
+
r.$$typeof === T))
|
|
564
|
+
a = r.propTypes;
|
|
569
565
|
else
|
|
570
566
|
return;
|
|
571
|
-
if (
|
|
572
|
-
var
|
|
573
|
-
Ge(
|
|
567
|
+
if (a) {
|
|
568
|
+
var i = j(r);
|
|
569
|
+
Ge(a, e.props, "prop", i, e);
|
|
574
570
|
} else if (r.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(r);
|
|
573
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
578
574
|
}
|
|
579
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.");
|
|
580
576
|
}
|
|
581
577
|
}
|
|
582
578
|
function sr(e) {
|
|
583
579
|
{
|
|
584
|
-
for (var r = Object.keys(e.props),
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
|
|
580
|
+
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
581
|
+
var i = r[a];
|
|
582
|
+
if (i !== "children" && i !== "key") {
|
|
583
|
+
$(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), $(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, r, a, i, 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 = or(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 = nr(e, r, 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 = r.children;
|
|
606
|
+
if (w !== void 0)
|
|
607
|
+
if (i)
|
|
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 ? sr(b) : lr(b), b;
|
|
622
618
|
}
|
|
623
619
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
620
|
+
function cr(e, r, a) {
|
|
621
|
+
return we(e, r, a, !0);
|
|
626
622
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
623
|
+
function ur(e, r, a) {
|
|
624
|
+
return we(e, r, a, !1);
|
|
629
625
|
}
|
|
630
|
-
var
|
|
631
|
-
Y.Fragment =
|
|
626
|
+
var fr = ur, pr = cr;
|
|
627
|
+
Y.Fragment = c, Y.jsx = fr, Y.jsxs = pr;
|
|
632
628
|
}()), Y;
|
|
633
629
|
}
|
|
634
|
-
(
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
name: c,
|
|
630
|
+
process.env.NODE_ENV === "production" ? re.exports = hr() : re.exports = _r();
|
|
631
|
+
var te = re.exports;
|
|
632
|
+
const Se = te.Fragment, t = te.jsx, p = te.jsxs, y = ({
|
|
633
|
+
className: o,
|
|
634
|
+
name: l,
|
|
640
635
|
viewBox: s = "0 0 32 32",
|
|
641
|
-
...
|
|
636
|
+
...c
|
|
642
637
|
}) => {
|
|
643
|
-
const
|
|
644
|
-
return /* @__PURE__ */
|
|
645
|
-
}, xr =
|
|
638
|
+
const d = [o].filter(Boolean).join(" ");
|
|
639
|
+
return /* @__PURE__ */ t("svg", { ...c, className: d, viewBox: s, children: /* @__PURE__ */ t("use", { href: `#${l}` }) });
|
|
640
|
+
}, xr = z(
|
|
646
641
|
({
|
|
647
|
-
children:
|
|
648
|
-
className:
|
|
642
|
+
children: o,
|
|
643
|
+
className: l,
|
|
649
644
|
skin: s = "info",
|
|
650
|
-
closeAlert:
|
|
651
|
-
onClose:
|
|
652
|
-
title:
|
|
645
|
+
closeAlert: c = !1,
|
|
646
|
+
onClose: d,
|
|
647
|
+
title: n,
|
|
653
648
|
date: _,
|
|
654
|
-
ariaLive:
|
|
655
|
-
...
|
|
649
|
+
ariaLive: g = "polite",
|
|
650
|
+
...v
|
|
656
651
|
}, x) => {
|
|
657
|
-
const
|
|
658
|
-
|
|
652
|
+
const N = [l, "pkt-alert", s && `pkt-alert--${s}`].filter(Boolean).join(" "), [T, P] = dr(!0), C = () => {
|
|
653
|
+
P(!1), d && d();
|
|
659
654
|
};
|
|
660
|
-
return
|
|
661
|
-
/* @__PURE__ */
|
|
662
|
-
|
|
655
|
+
return T ? /* @__PURE__ */ p("div", { ...v, className: N, "aria-live": g, ref: x, children: [
|
|
656
|
+
/* @__PURE__ */ t("div", { className: "pkt-alert__icon", children: /* @__PURE__ */ t(y, { name: s === "info" ? "alert-information" : `alert-${s}` }) }),
|
|
657
|
+
c && /* @__PURE__ */ t("div", { className: "pkt-alert__close", children: /* @__PURE__ */ t(
|
|
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__ */ t(y, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
|
|
670
665
|
}
|
|
671
666
|
) }),
|
|
672
|
-
|
|
673
|
-
/* @__PURE__ */
|
|
674
|
-
_ && /* @__PURE__ */
|
|
667
|
+
n && /* @__PURE__ */ t("div", { className: "pkt-alert__title", children: n }),
|
|
668
|
+
/* @__PURE__ */ t("div", { className: "pkt-alert__text", children: o }),
|
|
669
|
+
_ && /* @__PURE__ */ p("div", { className: "pkt-alert__date", children: [
|
|
675
670
|
"Sist oppdatert: ",
|
|
676
671
|
_
|
|
677
672
|
] })
|
|
678
673
|
] }) : null;
|
|
679
674
|
}
|
|
680
|
-
),
|
|
675
|
+
), vr = z(
|
|
681
676
|
({
|
|
682
|
-
children:
|
|
683
|
-
className:
|
|
677
|
+
children: o,
|
|
678
|
+
className: l,
|
|
684
679
|
iconName: s = "user",
|
|
685
|
-
secondIconName:
|
|
686
|
-
size:
|
|
687
|
-
skin:
|
|
680
|
+
secondIconName: c = "user",
|
|
681
|
+
size: d = "medium",
|
|
682
|
+
skin: n = "primary",
|
|
688
683
|
type: _ = "button",
|
|
689
|
-
variant:
|
|
690
|
-
...
|
|
684
|
+
variant: g = "label-only",
|
|
685
|
+
...v
|
|
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", { ...v, className: N, type: _, ref: x, children: [
|
|
695
|
+
/* @__PURE__ */ t(y, { className: "pkt-btn__icon", name: s }),
|
|
696
|
+
/* @__PURE__ */ t("span", { className: "pkt-btn__text", children: o }),
|
|
697
|
+
g === "icons-right-and-left" && /* @__PURE__ */ t(y, { className: "pkt-btn__icon", name: c })
|
|
703
698
|
] });
|
|
704
699
|
}
|
|
705
700
|
);
|
|
706
|
-
|
|
707
|
-
const
|
|
708
|
-
|
|
709
|
-
|
|
701
|
+
vr.displayName = "PktButton";
|
|
702
|
+
const wr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
|
|
703
|
+
var c, d;
|
|
704
|
+
return /* @__PURE__ */ t("footer", { className: "pkt-footer", "data-mode": "dark", children: /* @__PURE__ */ p("div", { className: "pkt-footer__container", children: [
|
|
705
|
+
/* @__PURE__ */ p("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
|
|
706
|
+
/* @__PURE__ */ p("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
707
|
+
/* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: o.title }),
|
|
708
|
+
/* @__PURE__ */ p("ul", { className: "pkt-footer__list", children: [
|
|
709
|
+
o.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: o.text }),
|
|
710
|
+
(c = o.links) == null ? void 0 : c.map((n, _) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p(
|
|
711
|
+
"a",
|
|
712
|
+
{
|
|
713
|
+
className: `pkt-footer__link ${n.external ? "pkt-link--external" : ""}`,
|
|
714
|
+
href: n.href,
|
|
715
|
+
target: n.openInNewTab ? "_blank" : "_self",
|
|
716
|
+
rel: n.openInNewTab ? "noopener noreferrer" : void 0,
|
|
717
|
+
children: [
|
|
718
|
+
/* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
719
|
+
n.text
|
|
720
|
+
]
|
|
721
|
+
}
|
|
722
|
+
) }, `links-${_}`))
|
|
723
|
+
] })
|
|
724
|
+
] }),
|
|
725
|
+
/* @__PURE__ */ p("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
726
|
+
/* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: l.title }),
|
|
727
|
+
/* @__PURE__ */ p("ul", { className: "pkt-footer__list", children: [
|
|
728
|
+
l.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: l.text }),
|
|
729
|
+
(d = l.links) == null ? void 0 : d.map((n, _) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p(
|
|
730
|
+
"a",
|
|
731
|
+
{
|
|
732
|
+
className: `pkt-footer__link ${n.external ? "pkt-link--external" : ""}`,
|
|
733
|
+
href: n.href,
|
|
734
|
+
target: n.openInNewTab ? "_blank" : "_self",
|
|
735
|
+
rel: n.openInNewTab ? "noopener noreferrer" : void 0,
|
|
736
|
+
children: [
|
|
737
|
+
/* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
738
|
+
n.text
|
|
739
|
+
]
|
|
740
|
+
}
|
|
741
|
+
) }, `links-${_}`))
|
|
742
|
+
] })
|
|
743
|
+
] }),
|
|
744
|
+
/* @__PURE__ */ p("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
745
|
+
/* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
|
|
746
|
+
/* @__PURE__ */ p("ul", { className: "pkt-footer__list", children: [
|
|
747
|
+
/* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p(
|
|
748
|
+
"a",
|
|
749
|
+
{
|
|
750
|
+
className: "pkt-footer__link",
|
|
751
|
+
href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
|
|
752
|
+
children: [
|
|
753
|
+
/* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
754
|
+
"Personvern og informasjonskapsler"
|
|
755
|
+
]
|
|
756
|
+
}
|
|
757
|
+
) }),
|
|
758
|
+
/* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ p("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
|
|
759
|
+
/* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
|
|
760
|
+
"Tilgjengelighet"
|
|
761
|
+
] }) })
|
|
762
|
+
] })
|
|
763
|
+
] })
|
|
764
|
+
] }),
|
|
765
|
+
s && /* @__PURE__ */ p("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
|
|
766
|
+
/* @__PURE__ */ t("div", { className: "pkt-footer__social-languages", children: s.filter((n) => n.language).map((n, _) => /* @__PURE__ */ t("div", { className: "pkt-footer__social-language", children: /* @__PURE__ */ t(
|
|
767
|
+
"a",
|
|
768
|
+
{
|
|
769
|
+
href: n.href,
|
|
770
|
+
"aria-label": `til ${n.language} versjon av nettsiden`,
|
|
771
|
+
target: n.openInNewTab ? "_blank" : "_self",
|
|
772
|
+
rel: n.openInNewTab ? "noopener noreferrer" : void 0,
|
|
773
|
+
children: n.language
|
|
774
|
+
}
|
|
775
|
+
) }, `sociallinks-language-${_}`)) }),
|
|
776
|
+
/* @__PURE__ */ t("div", { className: "pkt-footer__social-icons", children: s.filter((n) => n.iconName).map((n, _) => /* @__PURE__ */ t(q.Fragment, { children: /* @__PURE__ */ t(
|
|
777
|
+
"a",
|
|
778
|
+
{
|
|
779
|
+
href: n.href,
|
|
780
|
+
"aria-label": `til ${n.iconName}`,
|
|
781
|
+
className: "pkt-footer__social-icon-link",
|
|
782
|
+
target: n.openInNewTab ? "_blank" : "_self",
|
|
783
|
+
rel: n.openInNewTab ? "noopener noreferrer" : void 0,
|
|
784
|
+
children: /* @__PURE__ */ t("svg", { className: "pkt-footer__social-icon", viewBox: "0 0 32 32", "aria-hidden": "true", children: /* @__PURE__ */ t("use", { href: `#${n.iconName}` }) })
|
|
785
|
+
}
|
|
786
|
+
) }, `sociallinks-${_}`)) })
|
|
787
|
+
] })
|
|
788
|
+
] }) });
|
|
789
|
+
}, Tr = ({
|
|
790
|
+
links: o = []
|
|
791
|
+
}) => /* @__PURE__ */ t("footer", { className: "pkt-footer-simple", "data-mode": "dark", children: /* @__PURE__ */ t("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ p("ul", { className: "pkt-footer-simple__list", children: [
|
|
792
|
+
o.map((l, s) => /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ p(
|
|
793
|
+
"a",
|
|
794
|
+
{
|
|
795
|
+
className: `pkt-footer-simple__link ${l.external ? " pkt-link--external" : ""}`,
|
|
796
|
+
href: l.href,
|
|
797
|
+
target: l.openInNewTab ? "_blank" : "_self",
|
|
798
|
+
rel: l.openInNewTab ? "noopener noreferrer" : void 0,
|
|
799
|
+
children: [
|
|
800
|
+
/* @__PURE__ */ t(
|
|
801
|
+
y,
|
|
802
|
+
{
|
|
803
|
+
className: "pkt-footer-simple__link-icon",
|
|
804
|
+
name: "chevron-right"
|
|
805
|
+
}
|
|
806
|
+
),
|
|
807
|
+
l.text
|
|
808
|
+
]
|
|
809
|
+
}
|
|
810
|
+
) }, s)),
|
|
811
|
+
/* @__PURE__ */ t("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: [
|
|
812
|
+
/* @__PURE__ */ t(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
|
|
813
|
+
"Personvern og informasjonskapsler"
|
|
814
|
+
] }) }),
|
|
815
|
+
/* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ p("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
|
|
816
|
+
/* @__PURE__ */ t(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
|
|
817
|
+
"Tilgjengelighet"
|
|
818
|
+
] }) })
|
|
819
|
+
] }) }) }), Pr = ({
|
|
820
|
+
className: o,
|
|
821
|
+
logoLink: l = "https://www.oslo.kommune.no/",
|
|
710
822
|
isLoggedIn: s = !1,
|
|
711
|
-
representing:
|
|
712
|
-
canChangeRepresentation:
|
|
713
|
-
showLogInButton:
|
|
823
|
+
representing: c = "",
|
|
824
|
+
canChangeRepresentation: d = !1,
|
|
825
|
+
showLogInButton: n = !0,
|
|
714
826
|
onLogIn: _,
|
|
715
|
-
onLogOut:
|
|
716
|
-
onChangeRepresentation:
|
|
827
|
+
onLogOut: g,
|
|
828
|
+
onChangeRepresentation: v
|
|
717
829
|
}) => {
|
|
718
|
-
const x = [
|
|
719
|
-
return /* @__PURE__ */
|
|
720
|
-
/* @__PURE__ */
|
|
721
|
-
|
|
830
|
+
const x = [o, "pkt-header"].filter(Boolean).join(" ");
|
|
831
|
+
return /* @__PURE__ */ p("header", { id: "pkt-header", className: x, "aria-label": "Topp", children: [
|
|
832
|
+
/* @__PURE__ */ t("div", { className: "pkt-header__logo", children: /* @__PURE__ */ t("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: l, children: /* @__PURE__ */ t(
|
|
833
|
+
y,
|
|
722
834
|
{
|
|
723
835
|
name: "oslologo",
|
|
724
836
|
className: "pkt-header__logo-svg",
|
|
@@ -726,173 +838,169 @@ const Nr = ({
|
|
|
726
838
|
"aria-hidden": "true"
|
|
727
839
|
}
|
|
728
840
|
) }) }),
|
|
729
|
-
/* @__PURE__ */
|
|
730
|
-
s &&
|
|
841
|
+
/* @__PURE__ */ p("div", { className: "pkt-header__actions", children: [
|
|
842
|
+
s && d && /* @__PURE__ */ p(
|
|
731
843
|
"button",
|
|
732
844
|
{
|
|
733
845
|
className: "pkt-btn pkt-btn--secondary pkt-btn--icon-right",
|
|
734
|
-
"aria-label": `Bytt bruker fra ${
|
|
735
|
-
onClick:
|
|
846
|
+
"aria-label": `Bytt bruker fra ${c}`,
|
|
847
|
+
onClick: v,
|
|
736
848
|
children: [
|
|
737
|
-
/* @__PURE__ */
|
|
738
|
-
/* @__PURE__ */
|
|
739
|
-
/* @__PURE__ */
|
|
740
|
-
/* @__PURE__ */
|
|
849
|
+
/* @__PURE__ */ t(y, { name: "user", className: "pkt-btn__icon pkt-show-tablet-up" }),
|
|
850
|
+
/* @__PURE__ */ t("span", { className: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15", children: "Endre" }),
|
|
851
|
+
/* @__PURE__ */ t("span", { className: "pkt-btn__text pkt-hide-tablet-up", children: "Endre" }),
|
|
852
|
+
/* @__PURE__ */ t("span", { className: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up", children: c })
|
|
741
853
|
]
|
|
742
854
|
}
|
|
743
855
|
),
|
|
744
|
-
s && !
|
|
745
|
-
/* @__PURE__ */
|
|
746
|
-
/* @__PURE__ */
|
|
856
|
+
s && !d && /* @__PURE__ */ p("div", { className: "pkt-header__action", children: [
|
|
857
|
+
/* @__PURE__ */ t("span", { className: "pkt-header__action-text", children: /* @__PURE__ */ t("span", { className: "pkt-btn__text pkt-header__action-textrow text-row-inline pkt-truncate-text", children: c }) }),
|
|
858
|
+
/* @__PURE__ */ t("span", { className: "pkt-header__action-icon pkt-show-phablet-up", children: /* @__PURE__ */ t(y, { name: "user" }) })
|
|
747
859
|
] }),
|
|
748
|
-
|
|
860
|
+
n && s && /* @__PURE__ */ p(
|
|
749
861
|
"button",
|
|
750
862
|
{
|
|
751
863
|
className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
|
|
752
864
|
"aria-label": "Logg ut",
|
|
753
|
-
onClick:
|
|
865
|
+
onClick: g,
|
|
754
866
|
children: [
|
|
755
|
-
/* @__PURE__ */
|
|
756
|
-
/* @__PURE__ */
|
|
867
|
+
/* @__PURE__ */ t(y, { className: "pkt-btn__icon pkt-show-tablet-up", name: "exit" }),
|
|
868
|
+
/* @__PURE__ */ t("span", { className: "pkt-btn__text", children: "Logg ut" })
|
|
757
869
|
]
|
|
758
870
|
}
|
|
759
871
|
),
|
|
760
|
-
|
|
872
|
+
n && !s && /* @__PURE__ */ p(
|
|
761
873
|
"button",
|
|
762
874
|
{
|
|
763
875
|
className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
|
|
764
876
|
"aria-label": "Logg inn",
|
|
765
877
|
onClick: _,
|
|
766
878
|
children: [
|
|
767
|
-
/* @__PURE__ */
|
|
768
|
-
/* @__PURE__ */
|
|
879
|
+
/* @__PURE__ */ t(y, { className: "pkt-btn__icon", name: "user" }),
|
|
880
|
+
/* @__PURE__ */ t("span", { className: "pkt-btn__text", children: "Logg inn" })
|
|
769
881
|
]
|
|
770
882
|
}
|
|
771
883
|
)
|
|
772
884
|
] })
|
|
773
885
|
] });
|
|
774
|
-
},
|
|
775
|
-
({ label:
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
/* @__PURE__ */
|
|
886
|
+
}, kr = q.forwardRef(
|
|
887
|
+
({ label: o, id: l, children: s, ...c }, d) => /* @__PURE__ */ p("div", { className: "pkt-form-group", children: [
|
|
888
|
+
/* @__PURE__ */ t("label", { htmlFor: l, className: "pkt-form-label", children: o }),
|
|
889
|
+
/* @__PURE__ */ t("input", { className: "pkt-form-input", id: l, ...c, ref: d }),
|
|
778
890
|
s
|
|
779
891
|
] })
|
|
780
892
|
);
|
|
781
|
-
|
|
782
|
-
const
|
|
783
|
-
children:
|
|
784
|
-
className:
|
|
893
|
+
kr.displayName = "PktInput";
|
|
894
|
+
const jr = ({
|
|
895
|
+
children: o,
|
|
896
|
+
className: l,
|
|
785
897
|
iconName: s = "user",
|
|
786
|
-
skin:
|
|
787
|
-
href:
|
|
788
|
-
title:
|
|
898
|
+
skin: c = "",
|
|
899
|
+
href: d = "#",
|
|
900
|
+
title: n
|
|
789
901
|
}) => {
|
|
790
|
-
const _ = [
|
|
791
|
-
return /* @__PURE__ */
|
|
792
|
-
/* @__PURE__ */
|
|
793
|
-
/* @__PURE__ */
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
/* @__PURE__ */
|
|
902
|
+
const _ = [l, "pkt-linkcard", c && `pkt-linkcard--${c}`].filter(Boolean).join(" ");
|
|
903
|
+
return /* @__PURE__ */ p("a", { href: d, className: `pkt-linkcard pkt-link ${_}`, children: [
|
|
904
|
+
/* @__PURE__ */ t(y, { className: "pkt-link__icon", name: s }),
|
|
905
|
+
/* @__PURE__ */ p("div", { className: "pkt-linkcard__content", children: [
|
|
906
|
+
/* @__PURE__ */ t("div", { className: "pkt-linkcard__title", children: n }),
|
|
907
|
+
/* @__PURE__ */ t("div", { className: "pkt-linkcard__text", children: o })
|
|
796
908
|
] })
|
|
797
909
|
] });
|
|
798
|
-
},
|
|
799
|
-
children:
|
|
800
|
-
skin:
|
|
910
|
+
}, Sr = ({
|
|
911
|
+
children: o,
|
|
912
|
+
skin: l = "beige",
|
|
801
913
|
title: s,
|
|
802
|
-
...
|
|
914
|
+
...c
|
|
803
915
|
}) => {
|
|
804
|
-
const
|
|
805
|
-
return /* @__PURE__ */
|
|
806
|
-
/* @__PURE__ */
|
|
807
|
-
/* @__PURE__ */
|
|
916
|
+
const d = ["pkt-messagebox", l && `pkt-messagebox--${l}`].filter(Boolean).join(" ");
|
|
917
|
+
return /* @__PURE__ */ p("div", { ...c, className: d, children: [
|
|
918
|
+
/* @__PURE__ */ t("div", { className: "pkt-messagebox__title", children: s }),
|
|
919
|
+
/* @__PURE__ */ t("div", { className: "pkt-messagebox__text", children: o })
|
|
808
920
|
] });
|
|
809
|
-
},
|
|
810
|
-
({ id:
|
|
811
|
-
/* @__PURE__ */
|
|
812
|
-
/* @__PURE__ */
|
|
921
|
+
}, br = z(
|
|
922
|
+
({ id: o, name: l, label: s, value: c, ...d }, n) => /* @__PURE__ */ p("div", { className: "pkt-form-group", children: [
|
|
923
|
+
/* @__PURE__ */ t("input", { type: "radio", className: "pkt-form-check-input", id: o, name: l, value: c, ref: n, ...d }),
|
|
924
|
+
/* @__PURE__ */ t("label", { className: "pkt-form-label", htmlFor: o, children: s })
|
|
813
925
|
] })
|
|
814
926
|
);
|
|
815
|
-
|
|
816
|
-
const
|
|
817
|
-
/* @__PURE__ */
|
|
818
|
-
/* @__PURE__ */
|
|
927
|
+
br.displayName = "PktRadio";
|
|
928
|
+
const Or = ({ label: o, children: l }) => /* @__PURE__ */ p(Se, { children: [
|
|
929
|
+
/* @__PURE__ */ t("p", { children: o }),
|
|
930
|
+
/* @__PURE__ */ t("div", { className: "pkt-form-group", children: l })
|
|
819
931
|
] });
|
|
820
|
-
var
|
|
821
|
-
get exports() {
|
|
822
|
-
return re;
|
|
823
|
-
},
|
|
824
|
-
set exports(i) {
|
|
825
|
-
re = i;
|
|
826
|
-
}
|
|
827
|
-
};
|
|
932
|
+
var Oe = { exports: {} };
|
|
828
933
|
/*!
|
|
829
934
|
Copyright (c) 2018 Jed Watson.
|
|
830
935
|
Licensed under the MIT License (MIT), see
|
|
831
936
|
http://jedwatson.github.io/classnames
|
|
832
937
|
*/
|
|
833
|
-
(function(
|
|
938
|
+
(function(o) {
|
|
834
939
|
(function() {
|
|
835
|
-
var
|
|
940
|
+
var l = {}.hasOwnProperty;
|
|
836
941
|
function s() {
|
|
837
|
-
for (var
|
|
838
|
-
var
|
|
839
|
-
if (
|
|
840
|
-
var _ = typeof
|
|
942
|
+
for (var c = [], d = 0; d < arguments.length; d++) {
|
|
943
|
+
var n = arguments[d];
|
|
944
|
+
if (n) {
|
|
945
|
+
var _ = typeof n;
|
|
841
946
|
if (_ === "string" || _ === "number")
|
|
842
|
-
|
|
843
|
-
else if (Array.isArray(
|
|
844
|
-
if (
|
|
845
|
-
var
|
|
846
|
-
|
|
947
|
+
c.push(n);
|
|
948
|
+
else if (Array.isArray(n)) {
|
|
949
|
+
if (n.length) {
|
|
950
|
+
var g = s.apply(null, n);
|
|
951
|
+
g && c.push(g);
|
|
847
952
|
}
|
|
848
953
|
} else if (_ === "object") {
|
|
849
|
-
if (
|
|
850
|
-
|
|
954
|
+
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]")) {
|
|
955
|
+
c.push(n.toString());
|
|
851
956
|
continue;
|
|
852
957
|
}
|
|
853
|
-
for (var
|
|
854
|
-
|
|
958
|
+
for (var v in n)
|
|
959
|
+
l.call(n, v) && n[v] && c.push(v);
|
|
855
960
|
}
|
|
856
961
|
}
|
|
857
962
|
}
|
|
858
|
-
return
|
|
963
|
+
return c.join(" ");
|
|
859
964
|
}
|
|
860
|
-
|
|
965
|
+
o.exports ? (s.default = s, o.exports = s) : window.classNames = s;
|
|
861
966
|
})();
|
|
862
|
-
})(
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
967
|
+
})(Oe);
|
|
968
|
+
var gr = Oe.exports;
|
|
969
|
+
const Nr = /* @__PURE__ */ mr(gr), yr = ({ isResponsive: o, children: l }) => o ? /* @__PURE__ */ t("div", { className: "pkt-table-container", children: l }) : /* @__PURE__ */ t(Se, { children: l }), Cr = ({
|
|
970
|
+
isResponsive: o,
|
|
971
|
+
modifiers: { info: l = !1, success: s = !1, strong: c = !1, shadow: d = !1 } = {},
|
|
972
|
+
children: n
|
|
973
|
+
}) => /* @__PURE__ */ t(yr, { isResponsive: o, children: /* @__PURE__ */ t(
|
|
868
974
|
"table",
|
|
869
975
|
{
|
|
870
|
-
className:
|
|
871
|
-
"pkt-table--info":
|
|
976
|
+
className: Nr("pkt-table", {
|
|
977
|
+
"pkt-table--info": l,
|
|
872
978
|
"pkt-table--success": s,
|
|
873
|
-
"pkt-table--strong":
|
|
874
|
-
"pkt-table--shadow":
|
|
979
|
+
"pkt-table--strong": c,
|
|
980
|
+
"pkt-table--shadow": d
|
|
875
981
|
}),
|
|
876
|
-
children:
|
|
982
|
+
children: n
|
|
877
983
|
}
|
|
878
|
-
) }),
|
|
879
|
-
({ id:
|
|
880
|
-
/* @__PURE__ */
|
|
881
|
-
/* @__PURE__ */
|
|
984
|
+
) }), Fr = ({ children: o }) => /* @__PURE__ */ t("td", { className: "pkt-table__th", children: o }), $r = ({ children: o }) => /* @__PURE__ */ t("th", { className: "pkt-table__th", children: o }), Er = z(
|
|
985
|
+
({ id: o, label: l, ...s }, c) => /* @__PURE__ */ p("div", { className: "pkt-form-group", children: [
|
|
986
|
+
/* @__PURE__ */ t("label", { htmlFor: o, className: "pkt-form-label", children: l }),
|
|
987
|
+
/* @__PURE__ */ t("textarea", { className: "pkt-form-textarea", id: o, ref: c, ...s })
|
|
882
988
|
] })
|
|
883
989
|
);
|
|
884
990
|
Er.displayName = "PktTextarea";
|
|
885
991
|
export {
|
|
886
992
|
xr as PktAlert,
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
Pr as
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
Cr as
|
|
993
|
+
vr as PktButton,
|
|
994
|
+
wr as PktFooter,
|
|
995
|
+
Tr as PktFooterSimple,
|
|
996
|
+
Pr as PktHeader,
|
|
997
|
+
kr as PktInput,
|
|
998
|
+
jr as PktLinkCard,
|
|
999
|
+
Sr as PktMessagebox,
|
|
1000
|
+
br as PktRadio,
|
|
1001
|
+
Or as PktRadioGroup,
|
|
1002
|
+
Cr as PktTable,
|
|
1003
|
+
Fr as PktTableData,
|
|
1004
|
+
$r as PktTableHeader,
|
|
897
1005
|
Er as PktTextarea
|
|
898
1006
|
};
|