@paubox/ui 0.3.2 → 0.3.3
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/index.esm.js +880 -759
- package/package.json +1 -1
- package/src/lib/Table/ContextMenuCell.d.ts +10 -0
- package/src/lib/Table/LoadingOverlay.d.ts +1 -0
- package/src/lib/Table/Table.d.ts +33 -16
- package/src/lib/Table/TableBody.d.ts +11 -0
- package/src/lib/Table/TableHeader.d.ts +10 -0
- package/src/lib/Table/tableComponents.d.ts +0 -77
package/index.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { css } from '@emotion/react';
|
|
3
|
+
import styled from '@emotion/styled';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import React__default, { useState, useRef, forwardRef, useLayoutEffect, useEffect, createElement, cloneElement, Component, createRef, useCallback, useMemo } from 'react';
|
|
5
|
-
import styled from '@emotion/styled';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import ReactDOM__default, { createPortal } from 'react-dom';
|
|
8
8
|
|
|
9
|
-
function _define_property$
|
|
9
|
+
function _define_property$12(obj, key, value) {
|
|
10
10
|
if (key in obj) {
|
|
11
11
|
Object.defineProperty(obj, key, {
|
|
12
12
|
value: value,
|
|
@@ -19,7 +19,7 @@ function _define_property$11(obj, key, value) {
|
|
|
19
19
|
}
|
|
20
20
|
return obj;
|
|
21
21
|
}
|
|
22
|
-
function _object_spread$
|
|
22
|
+
function _object_spread$y(target) {
|
|
23
23
|
for(var i = 1; i < arguments.length; i++){
|
|
24
24
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
25
25
|
var ownKeys = Object.keys(source);
|
|
@@ -29,7 +29,7 @@ function _object_spread$x(target) {
|
|
|
29
29
|
}));
|
|
30
30
|
}
|
|
31
31
|
ownKeys.forEach(function(key) {
|
|
32
|
-
_define_property$
|
|
32
|
+
_define_property$12(target, key, source[key]);
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
return target;
|
|
@@ -54,7 +54,7 @@ function _object_spread_props$u(target, source) {
|
|
|
54
54
|
return target;
|
|
55
55
|
}
|
|
56
56
|
var Add = function(props) {
|
|
57
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$u(_object_spread$
|
|
57
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$u(_object_spread$y({
|
|
58
58
|
width: "1em",
|
|
59
59
|
height: "1em",
|
|
60
60
|
viewBox: "0 0 16 16",
|
|
@@ -68,7 +68,7 @@ var Add = function(props) {
|
|
|
68
68
|
}));
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
function _define_property$
|
|
71
|
+
function _define_property$11(obj, key, value) {
|
|
72
72
|
if (key in obj) {
|
|
73
73
|
Object.defineProperty(obj, key, {
|
|
74
74
|
value: value,
|
|
@@ -81,7 +81,7 @@ function _define_property$10(obj, key, value) {
|
|
|
81
81
|
}
|
|
82
82
|
return obj;
|
|
83
83
|
}
|
|
84
|
-
function _object_spread$
|
|
84
|
+
function _object_spread$x(target) {
|
|
85
85
|
for(var i = 1; i < arguments.length; i++){
|
|
86
86
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
87
87
|
var ownKeys = Object.keys(source);
|
|
@@ -91,7 +91,7 @@ function _object_spread$w(target) {
|
|
|
91
91
|
}));
|
|
92
92
|
}
|
|
93
93
|
ownKeys.forEach(function(key) {
|
|
94
|
-
_define_property$
|
|
94
|
+
_define_property$11(target, key, source[key]);
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
return target;
|
|
@@ -116,7 +116,7 @@ function _object_spread_props$t(target, source) {
|
|
|
116
116
|
return target;
|
|
117
117
|
}
|
|
118
118
|
var CalendarIcon$1 = function(props) {
|
|
119
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$t(_object_spread$
|
|
119
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$t(_object_spread$x({
|
|
120
120
|
width: "1em",
|
|
121
121
|
height: "1em",
|
|
122
122
|
viewBox: "0 0 16 16",
|
|
@@ -130,7 +130,7 @@ var CalendarIcon$1 = function(props) {
|
|
|
130
130
|
}));
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
function _define_property
|
|
133
|
+
function _define_property$10(obj, key, value) {
|
|
134
134
|
if (key in obj) {
|
|
135
135
|
Object.defineProperty(obj, key, {
|
|
136
136
|
value: value,
|
|
@@ -143,7 +143,7 @@ function _define_property$$(obj, key, value) {
|
|
|
143
143
|
}
|
|
144
144
|
return obj;
|
|
145
145
|
}
|
|
146
|
-
function _object_spread$
|
|
146
|
+
function _object_spread$w(target) {
|
|
147
147
|
for(var i = 1; i < arguments.length; i++){
|
|
148
148
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
149
149
|
var ownKeys = Object.keys(source);
|
|
@@ -153,7 +153,7 @@ function _object_spread$v(target) {
|
|
|
153
153
|
}));
|
|
154
154
|
}
|
|
155
155
|
ownKeys.forEach(function(key) {
|
|
156
|
-
_define_property
|
|
156
|
+
_define_property$10(target, key, source[key]);
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
return target;
|
|
@@ -178,7 +178,7 @@ function _object_spread_props$s(target, source) {
|
|
|
178
178
|
return target;
|
|
179
179
|
}
|
|
180
180
|
var Cancel = function(props) {
|
|
181
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$s(_object_spread$
|
|
181
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$s(_object_spread$w({
|
|
182
182
|
width: "1em",
|
|
183
183
|
height: "1em",
|
|
184
184
|
viewBox: "0 0 16 16",
|
|
@@ -192,7 +192,7 @@ var Cancel = function(props) {
|
|
|
192
192
|
}));
|
|
193
193
|
};
|
|
194
194
|
|
|
195
|
-
function _define_property
|
|
195
|
+
function _define_property$$(obj, key, value) {
|
|
196
196
|
if (key in obj) {
|
|
197
197
|
Object.defineProperty(obj, key, {
|
|
198
198
|
value: value,
|
|
@@ -205,7 +205,7 @@ function _define_property$_(obj, key, value) {
|
|
|
205
205
|
}
|
|
206
206
|
return obj;
|
|
207
207
|
}
|
|
208
|
-
function _object_spread$
|
|
208
|
+
function _object_spread$v(target) {
|
|
209
209
|
for(var i = 1; i < arguments.length; i++){
|
|
210
210
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
211
211
|
var ownKeys = Object.keys(source);
|
|
@@ -215,7 +215,7 @@ function _object_spread$u(target) {
|
|
|
215
215
|
}));
|
|
216
216
|
}
|
|
217
217
|
ownKeys.forEach(function(key) {
|
|
218
|
-
_define_property
|
|
218
|
+
_define_property$$(target, key, source[key]);
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
return target;
|
|
@@ -240,7 +240,7 @@ function _object_spread_props$r(target, source) {
|
|
|
240
240
|
return target;
|
|
241
241
|
}
|
|
242
242
|
var ChevronDown = function(props) {
|
|
243
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$r(_object_spread$
|
|
243
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$r(_object_spread$v({
|
|
244
244
|
width: "1em",
|
|
245
245
|
height: "1em",
|
|
246
246
|
viewBox: "0 0 16 16",
|
|
@@ -258,7 +258,7 @@ var ChevronDown = function(props) {
|
|
|
258
258
|
}));
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
function _define_property$
|
|
261
|
+
function _define_property$_(obj, key, value) {
|
|
262
262
|
if (key in obj) {
|
|
263
263
|
Object.defineProperty(obj, key, {
|
|
264
264
|
value: value,
|
|
@@ -271,7 +271,7 @@ function _define_property$Z(obj, key, value) {
|
|
|
271
271
|
}
|
|
272
272
|
return obj;
|
|
273
273
|
}
|
|
274
|
-
function _object_spread$
|
|
274
|
+
function _object_spread$u(target) {
|
|
275
275
|
for(var i = 1; i < arguments.length; i++){
|
|
276
276
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
277
277
|
var ownKeys = Object.keys(source);
|
|
@@ -281,7 +281,7 @@ function _object_spread$t(target) {
|
|
|
281
281
|
}));
|
|
282
282
|
}
|
|
283
283
|
ownKeys.forEach(function(key) {
|
|
284
|
-
_define_property$
|
|
284
|
+
_define_property$_(target, key, source[key]);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
return target;
|
|
@@ -306,7 +306,7 @@ function _object_spread_props$q(target, source) {
|
|
|
306
306
|
return target;
|
|
307
307
|
}
|
|
308
308
|
var ChevronLeft = function(props) {
|
|
309
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$q(_object_spread$
|
|
309
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$q(_object_spread$u({
|
|
310
310
|
width: "1em",
|
|
311
311
|
height: "1em",
|
|
312
312
|
viewBox: "0 0 16 16",
|
|
@@ -324,7 +324,7 @@ var ChevronLeft = function(props) {
|
|
|
324
324
|
}));
|
|
325
325
|
};
|
|
326
326
|
|
|
327
|
-
function _define_property$
|
|
327
|
+
function _define_property$Z(obj, key, value) {
|
|
328
328
|
if (key in obj) {
|
|
329
329
|
Object.defineProperty(obj, key, {
|
|
330
330
|
value: value,
|
|
@@ -337,7 +337,7 @@ function _define_property$Y(obj, key, value) {
|
|
|
337
337
|
}
|
|
338
338
|
return obj;
|
|
339
339
|
}
|
|
340
|
-
function _object_spread$
|
|
340
|
+
function _object_spread$t(target) {
|
|
341
341
|
for(var i = 1; i < arguments.length; i++){
|
|
342
342
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
343
343
|
var ownKeys = Object.keys(source);
|
|
@@ -347,7 +347,7 @@ function _object_spread$s(target) {
|
|
|
347
347
|
}));
|
|
348
348
|
}
|
|
349
349
|
ownKeys.forEach(function(key) {
|
|
350
|
-
_define_property$
|
|
350
|
+
_define_property$Z(target, key, source[key]);
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
353
|
return target;
|
|
@@ -372,7 +372,7 @@ function _object_spread_props$p(target, source) {
|
|
|
372
372
|
return target;
|
|
373
373
|
}
|
|
374
374
|
var ChevronRight = function(props) {
|
|
375
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$p(_object_spread$
|
|
375
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$p(_object_spread$t({
|
|
376
376
|
width: "1em",
|
|
377
377
|
height: "1em",
|
|
378
378
|
viewBox: "0 0 16 16",
|
|
@@ -390,7 +390,7 @@ var ChevronRight = function(props) {
|
|
|
390
390
|
}));
|
|
391
391
|
};
|
|
392
392
|
|
|
393
|
-
function _define_property$
|
|
393
|
+
function _define_property$Y(obj, key, value) {
|
|
394
394
|
if (key in obj) {
|
|
395
395
|
Object.defineProperty(obj, key, {
|
|
396
396
|
value: value,
|
|
@@ -403,7 +403,7 @@ function _define_property$X(obj, key, value) {
|
|
|
403
403
|
}
|
|
404
404
|
return obj;
|
|
405
405
|
}
|
|
406
|
-
function _object_spread$
|
|
406
|
+
function _object_spread$s(target) {
|
|
407
407
|
for(var i = 1; i < arguments.length; i++){
|
|
408
408
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
409
409
|
var ownKeys = Object.keys(source);
|
|
@@ -413,7 +413,7 @@ function _object_spread$r(target) {
|
|
|
413
413
|
}));
|
|
414
414
|
}
|
|
415
415
|
ownKeys.forEach(function(key) {
|
|
416
|
-
_define_property$
|
|
416
|
+
_define_property$Y(target, key, source[key]);
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
return target;
|
|
@@ -438,7 +438,7 @@ function _object_spread_props$o(target, source) {
|
|
|
438
438
|
return target;
|
|
439
439
|
}
|
|
440
440
|
var ChevronUp = function(props) {
|
|
441
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$o(_object_spread$
|
|
441
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$o(_object_spread$s({
|
|
442
442
|
width: "1em",
|
|
443
443
|
height: "1em",
|
|
444
444
|
viewBox: "0 0 16 16",
|
|
@@ -456,7 +456,7 @@ var ChevronUp = function(props) {
|
|
|
456
456
|
}));
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
function _define_property$
|
|
459
|
+
function _define_property$X(obj, key, value) {
|
|
460
460
|
if (key in obj) {
|
|
461
461
|
Object.defineProperty(obj, key, {
|
|
462
462
|
value: value,
|
|
@@ -469,7 +469,7 @@ function _define_property$W(obj, key, value) {
|
|
|
469
469
|
}
|
|
470
470
|
return obj;
|
|
471
471
|
}
|
|
472
|
-
function _object_spread$
|
|
472
|
+
function _object_spread$r(target) {
|
|
473
473
|
for(var i = 1; i < arguments.length; i++){
|
|
474
474
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
475
475
|
var ownKeys = Object.keys(source);
|
|
@@ -479,7 +479,7 @@ function _object_spread$q(target) {
|
|
|
479
479
|
}));
|
|
480
480
|
}
|
|
481
481
|
ownKeys.forEach(function(key) {
|
|
482
|
-
_define_property$
|
|
482
|
+
_define_property$X(target, key, source[key]);
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
485
|
return target;
|
|
@@ -504,7 +504,7 @@ function _object_spread_props$n(target, source) {
|
|
|
504
504
|
return target;
|
|
505
505
|
}
|
|
506
506
|
var Close = function(props) {
|
|
507
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$n(_object_spread$
|
|
507
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$n(_object_spread$r({
|
|
508
508
|
width: "1em",
|
|
509
509
|
height: "1em",
|
|
510
510
|
viewBox: "0 0 20 20",
|
|
@@ -518,7 +518,7 @@ var Close = function(props) {
|
|
|
518
518
|
}));
|
|
519
519
|
};
|
|
520
520
|
|
|
521
|
-
function _define_property$
|
|
521
|
+
function _define_property$W(obj, key, value) {
|
|
522
522
|
if (key in obj) {
|
|
523
523
|
Object.defineProperty(obj, key, {
|
|
524
524
|
value: value,
|
|
@@ -531,7 +531,7 @@ function _define_property$V(obj, key, value) {
|
|
|
531
531
|
}
|
|
532
532
|
return obj;
|
|
533
533
|
}
|
|
534
|
-
function _object_spread$
|
|
534
|
+
function _object_spread$q(target) {
|
|
535
535
|
for(var i = 1; i < arguments.length; i++){
|
|
536
536
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
537
537
|
var ownKeys = Object.keys(source);
|
|
@@ -541,7 +541,7 @@ function _object_spread$p(target) {
|
|
|
541
541
|
}));
|
|
542
542
|
}
|
|
543
543
|
ownKeys.forEach(function(key) {
|
|
544
|
-
_define_property$
|
|
544
|
+
_define_property$W(target, key, source[key]);
|
|
545
545
|
});
|
|
546
546
|
}
|
|
547
547
|
return target;
|
|
@@ -566,7 +566,7 @@ function _object_spread_props$m(target, source) {
|
|
|
566
566
|
return target;
|
|
567
567
|
}
|
|
568
568
|
var Delete = function(props) {
|
|
569
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$m(_object_spread$
|
|
569
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$m(_object_spread$q({
|
|
570
570
|
width: "1em",
|
|
571
571
|
height: "1em",
|
|
572
572
|
viewBox: "0 0 16 16",
|
|
@@ -580,7 +580,7 @@ var Delete = function(props) {
|
|
|
580
580
|
}));
|
|
581
581
|
};
|
|
582
582
|
|
|
583
|
-
function _define_property$
|
|
583
|
+
function _define_property$V(obj, key, value) {
|
|
584
584
|
if (key in obj) {
|
|
585
585
|
Object.defineProperty(obj, key, {
|
|
586
586
|
value: value,
|
|
@@ -593,7 +593,7 @@ function _define_property$U(obj, key, value) {
|
|
|
593
593
|
}
|
|
594
594
|
return obj;
|
|
595
595
|
}
|
|
596
|
-
function _object_spread$
|
|
596
|
+
function _object_spread$p(target) {
|
|
597
597
|
for(var i = 1; i < arguments.length; i++){
|
|
598
598
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
599
599
|
var ownKeys = Object.keys(source);
|
|
@@ -603,7 +603,7 @@ function _object_spread$o(target) {
|
|
|
603
603
|
}));
|
|
604
604
|
}
|
|
605
605
|
ownKeys.forEach(function(key) {
|
|
606
|
-
_define_property$
|
|
606
|
+
_define_property$V(target, key, source[key]);
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
609
|
return target;
|
|
@@ -628,7 +628,7 @@ function _object_spread_props$l(target, source) {
|
|
|
628
628
|
return target;
|
|
629
629
|
}
|
|
630
630
|
var Edit = function(props) {
|
|
631
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$l(_object_spread$
|
|
631
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$l(_object_spread$p({
|
|
632
632
|
width: "1em",
|
|
633
633
|
height: "1em",
|
|
634
634
|
viewBox: "0 0 16 16",
|
|
@@ -642,7 +642,7 @@ var Edit = function(props) {
|
|
|
642
642
|
}));
|
|
643
643
|
};
|
|
644
644
|
|
|
645
|
-
function _define_property$
|
|
645
|
+
function _define_property$U(obj, key, value) {
|
|
646
646
|
if (key in obj) {
|
|
647
647
|
Object.defineProperty(obj, key, {
|
|
648
648
|
value: value,
|
|
@@ -655,7 +655,7 @@ function _define_property$T(obj, key, value) {
|
|
|
655
655
|
}
|
|
656
656
|
return obj;
|
|
657
657
|
}
|
|
658
|
-
function _object_spread$
|
|
658
|
+
function _object_spread$o(target) {
|
|
659
659
|
for(var i = 1; i < arguments.length; i++){
|
|
660
660
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
661
661
|
var ownKeys = Object.keys(source);
|
|
@@ -665,7 +665,7 @@ function _object_spread$n(target) {
|
|
|
665
665
|
}));
|
|
666
666
|
}
|
|
667
667
|
ownKeys.forEach(function(key) {
|
|
668
|
-
_define_property$
|
|
668
|
+
_define_property$U(target, key, source[key]);
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
671
|
return target;
|
|
@@ -690,7 +690,7 @@ function _object_spread_props$k(target, source) {
|
|
|
690
690
|
return target;
|
|
691
691
|
}
|
|
692
692
|
var Error$1 = function(props) {
|
|
693
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$k(_object_spread$
|
|
693
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$k(_object_spread$o({
|
|
694
694
|
width: "1em",
|
|
695
695
|
height: "1em",
|
|
696
696
|
viewBox: "0 0 24 24",
|
|
@@ -707,7 +707,7 @@ var Error$1 = function(props) {
|
|
|
707
707
|
}));
|
|
708
708
|
};
|
|
709
709
|
|
|
710
|
-
function _define_property$
|
|
710
|
+
function _define_property$T(obj, key, value) {
|
|
711
711
|
if (key in obj) {
|
|
712
712
|
Object.defineProperty(obj, key, {
|
|
713
713
|
value: value,
|
|
@@ -720,7 +720,7 @@ function _define_property$S(obj, key, value) {
|
|
|
720
720
|
}
|
|
721
721
|
return obj;
|
|
722
722
|
}
|
|
723
|
-
function _object_spread$
|
|
723
|
+
function _object_spread$n(target) {
|
|
724
724
|
for(var i = 1; i < arguments.length; i++){
|
|
725
725
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
726
726
|
var ownKeys = Object.keys(source);
|
|
@@ -730,7 +730,7 @@ function _object_spread$m(target) {
|
|
|
730
730
|
}));
|
|
731
731
|
}
|
|
732
732
|
ownKeys.forEach(function(key) {
|
|
733
|
-
_define_property$
|
|
733
|
+
_define_property$T(target, key, source[key]);
|
|
734
734
|
});
|
|
735
735
|
}
|
|
736
736
|
return target;
|
|
@@ -755,7 +755,7 @@ function _object_spread_props$j(target, source) {
|
|
|
755
755
|
return target;
|
|
756
756
|
}
|
|
757
757
|
var Info = function(props) {
|
|
758
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$j(_object_spread$
|
|
758
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$j(_object_spread$n({
|
|
759
759
|
width: "1em",
|
|
760
760
|
height: "1em",
|
|
761
761
|
viewBox: "0 0 24 24",
|
|
@@ -769,7 +769,7 @@ var Info = function(props) {
|
|
|
769
769
|
}));
|
|
770
770
|
};
|
|
771
771
|
|
|
772
|
-
function _define_property$
|
|
772
|
+
function _define_property$S(obj, key, value) {
|
|
773
773
|
if (key in obj) {
|
|
774
774
|
Object.defineProperty(obj, key, {
|
|
775
775
|
value: value,
|
|
@@ -782,7 +782,7 @@ function _define_property$R(obj, key, value) {
|
|
|
782
782
|
}
|
|
783
783
|
return obj;
|
|
784
784
|
}
|
|
785
|
-
function _object_spread$
|
|
785
|
+
function _object_spread$m(target) {
|
|
786
786
|
for(var i = 1; i < arguments.length; i++){
|
|
787
787
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
788
788
|
var ownKeys = Object.keys(source);
|
|
@@ -792,7 +792,7 @@ function _object_spread$l(target) {
|
|
|
792
792
|
}));
|
|
793
793
|
}
|
|
794
794
|
ownKeys.forEach(function(key) {
|
|
795
|
-
_define_property$
|
|
795
|
+
_define_property$S(target, key, source[key]);
|
|
796
796
|
});
|
|
797
797
|
}
|
|
798
798
|
return target;
|
|
@@ -816,7 +816,7 @@ function _object_spread_props$i(target, source) {
|
|
|
816
816
|
}
|
|
817
817
|
return target;
|
|
818
818
|
}
|
|
819
|
-
function _tagged_template_literal$
|
|
819
|
+
function _tagged_template_literal$m(strings, raw) {
|
|
820
820
|
if (!raw) {
|
|
821
821
|
raw = strings.slice(0);
|
|
822
822
|
}
|
|
@@ -826,34 +826,23 @@ function _tagged_template_literal$i(strings, raw) {
|
|
|
826
826
|
}
|
|
827
827
|
}));
|
|
828
828
|
}
|
|
829
|
-
function _templateObject$
|
|
830
|
-
var data = _tagged_template_literal$
|
|
831
|
-
"\n
|
|
832
|
-
]);
|
|
833
|
-
_templateObject$i = function _templateObject() {
|
|
834
|
-
return data;
|
|
835
|
-
};
|
|
836
|
-
return data;
|
|
837
|
-
}
|
|
838
|
-
function _templateObject1$a() {
|
|
839
|
-
var data = _tagged_template_literal$i([
|
|
840
|
-
"\n animation: ",
|
|
841
|
-
" 1s linear infinite;\n "
|
|
829
|
+
function _templateObject$m() {
|
|
830
|
+
var data = _tagged_template_literal$m([
|
|
831
|
+
"\n animation: rotate 1s linear infinite;\n\n @keyframes rotate {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"
|
|
842
832
|
]);
|
|
843
|
-
|
|
833
|
+
_templateObject$m = function _templateObject() {
|
|
844
834
|
return data;
|
|
845
835
|
};
|
|
846
836
|
return data;
|
|
847
837
|
}
|
|
848
|
-
var
|
|
838
|
+
var RotatingSvg = styled.svg(_templateObject$m());
|
|
849
839
|
var LoadingWheel = function(props) {
|
|
850
|
-
return /*#__PURE__*/ jsxs(
|
|
840
|
+
return /*#__PURE__*/ jsxs(RotatingSvg, _object_spread_props$i(_object_spread$m({
|
|
851
841
|
width: "1em",
|
|
852
842
|
height: "1em",
|
|
853
843
|
viewBox: "0 0 56 56",
|
|
854
844
|
fill: "none",
|
|
855
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
856
|
-
css: css(_templateObject1$a(), rotate)
|
|
845
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
857
846
|
}, props), {
|
|
858
847
|
children: [
|
|
859
848
|
/*#__PURE__*/ jsx("path", {
|
|
@@ -871,7 +860,7 @@ var LoadingWheel = function(props) {
|
|
|
871
860
|
}));
|
|
872
861
|
};
|
|
873
862
|
|
|
874
|
-
function _define_property$
|
|
863
|
+
function _define_property$R(obj, key, value) {
|
|
875
864
|
if (key in obj) {
|
|
876
865
|
Object.defineProperty(obj, key, {
|
|
877
866
|
value: value,
|
|
@@ -884,7 +873,7 @@ function _define_property$Q(obj, key, value) {
|
|
|
884
873
|
}
|
|
885
874
|
return obj;
|
|
886
875
|
}
|
|
887
|
-
function _object_spread$
|
|
876
|
+
function _object_spread$l(target) {
|
|
888
877
|
for(var i = 1; i < arguments.length; i++){
|
|
889
878
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
890
879
|
var ownKeys = Object.keys(source);
|
|
@@ -894,7 +883,7 @@ function _object_spread$k(target) {
|
|
|
894
883
|
}));
|
|
895
884
|
}
|
|
896
885
|
ownKeys.forEach(function(key) {
|
|
897
|
-
_define_property$
|
|
886
|
+
_define_property$R(target, key, source[key]);
|
|
898
887
|
});
|
|
899
888
|
}
|
|
900
889
|
return target;
|
|
@@ -919,7 +908,7 @@ function _object_spread_props$h(target, source) {
|
|
|
919
908
|
return target;
|
|
920
909
|
}
|
|
921
910
|
var MoreVertical = function(props) {
|
|
922
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$h(_object_spread$
|
|
911
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$h(_object_spread$l({
|
|
923
912
|
width: "1em",
|
|
924
913
|
height: "1em",
|
|
925
914
|
viewBox: "0 0 16 16",
|
|
@@ -933,7 +922,7 @@ var MoreVertical = function(props) {
|
|
|
933
922
|
}));
|
|
934
923
|
};
|
|
935
924
|
|
|
936
|
-
function _define_property$
|
|
925
|
+
function _define_property$Q(obj, key, value) {
|
|
937
926
|
if (key in obj) {
|
|
938
927
|
Object.defineProperty(obj, key, {
|
|
939
928
|
value: value,
|
|
@@ -946,7 +935,7 @@ function _define_property$P(obj, key, value) {
|
|
|
946
935
|
}
|
|
947
936
|
return obj;
|
|
948
937
|
}
|
|
949
|
-
function _object_spread$
|
|
938
|
+
function _object_spread$k(target) {
|
|
950
939
|
for(var i = 1; i < arguments.length; i++){
|
|
951
940
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
952
941
|
var ownKeys = Object.keys(source);
|
|
@@ -956,7 +945,7 @@ function _object_spread$j(target) {
|
|
|
956
945
|
}));
|
|
957
946
|
}
|
|
958
947
|
ownKeys.forEach(function(key) {
|
|
959
|
-
_define_property$
|
|
948
|
+
_define_property$Q(target, key, source[key]);
|
|
960
949
|
});
|
|
961
950
|
}
|
|
962
951
|
return target;
|
|
@@ -981,7 +970,7 @@ function _object_spread_props$g(target, source) {
|
|
|
981
970
|
return target;
|
|
982
971
|
}
|
|
983
972
|
var Return = function(props) {
|
|
984
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$g(_object_spread$
|
|
973
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$g(_object_spread$k({
|
|
985
974
|
width: "1em",
|
|
986
975
|
height: "1em",
|
|
987
976
|
viewBox: "0 0 16 16",
|
|
@@ -996,7 +985,7 @@ var Return = function(props) {
|
|
|
996
985
|
}));
|
|
997
986
|
};
|
|
998
987
|
|
|
999
|
-
function _define_property$
|
|
988
|
+
function _define_property$P(obj, key, value) {
|
|
1000
989
|
if (key in obj) {
|
|
1001
990
|
Object.defineProperty(obj, key, {
|
|
1002
991
|
value: value,
|
|
@@ -1009,7 +998,7 @@ function _define_property$O(obj, key, value) {
|
|
|
1009
998
|
}
|
|
1010
999
|
return obj;
|
|
1011
1000
|
}
|
|
1012
|
-
function _object_spread$
|
|
1001
|
+
function _object_spread$j(target) {
|
|
1013
1002
|
for(var i = 1; i < arguments.length; i++){
|
|
1014
1003
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1015
1004
|
var ownKeys = Object.keys(source);
|
|
@@ -1019,7 +1008,7 @@ function _object_spread$i(target) {
|
|
|
1019
1008
|
}));
|
|
1020
1009
|
}
|
|
1021
1010
|
ownKeys.forEach(function(key) {
|
|
1022
|
-
_define_property$
|
|
1011
|
+
_define_property$P(target, key, source[key]);
|
|
1023
1012
|
});
|
|
1024
1013
|
}
|
|
1025
1014
|
return target;
|
|
@@ -1044,7 +1033,7 @@ function _object_spread_props$f(target, source) {
|
|
|
1044
1033
|
return target;
|
|
1045
1034
|
}
|
|
1046
1035
|
var SearchIcon = function(props) {
|
|
1047
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$f(_object_spread$
|
|
1036
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$f(_object_spread$j({
|
|
1048
1037
|
width: "1em",
|
|
1049
1038
|
height: "1em",
|
|
1050
1039
|
viewBox: "0 0 16 16",
|
|
@@ -1058,7 +1047,7 @@ var SearchIcon = function(props) {
|
|
|
1058
1047
|
}));
|
|
1059
1048
|
};
|
|
1060
1049
|
|
|
1061
|
-
function _define_property$
|
|
1050
|
+
function _define_property$O(obj, key, value) {
|
|
1062
1051
|
if (key in obj) {
|
|
1063
1052
|
Object.defineProperty(obj, key, {
|
|
1064
1053
|
value: value,
|
|
@@ -1071,7 +1060,7 @@ function _define_property$N(obj, key, value) {
|
|
|
1071
1060
|
}
|
|
1072
1061
|
return obj;
|
|
1073
1062
|
}
|
|
1074
|
-
function _object_spread$
|
|
1063
|
+
function _object_spread$i(target) {
|
|
1075
1064
|
for(var i = 1; i < arguments.length; i++){
|
|
1076
1065
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1077
1066
|
var ownKeys = Object.keys(source);
|
|
@@ -1081,7 +1070,7 @@ function _object_spread$h(target) {
|
|
|
1081
1070
|
}));
|
|
1082
1071
|
}
|
|
1083
1072
|
ownKeys.forEach(function(key) {
|
|
1084
|
-
_define_property$
|
|
1073
|
+
_define_property$O(target, key, source[key]);
|
|
1085
1074
|
});
|
|
1086
1075
|
}
|
|
1087
1076
|
return target;
|
|
@@ -1106,7 +1095,7 @@ function _object_spread_props$e(target, source) {
|
|
|
1106
1095
|
return target;
|
|
1107
1096
|
}
|
|
1108
1097
|
var Success = function(props) {
|
|
1109
|
-
return /*#__PURE__*/ jsx("svg", _object_spread_props$e(_object_spread$
|
|
1098
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props$e(_object_spread$i({
|
|
1110
1099
|
width: "1em",
|
|
1111
1100
|
height: "1em",
|
|
1112
1101
|
viewBox: "0 0 24 24",
|
|
@@ -1120,7 +1109,7 @@ var Success = function(props) {
|
|
|
1120
1109
|
}));
|
|
1121
1110
|
};
|
|
1122
1111
|
|
|
1123
|
-
function _define_property$
|
|
1112
|
+
function _define_property$N(obj, key, value) {
|
|
1124
1113
|
if (key in obj) {
|
|
1125
1114
|
Object.defineProperty(obj, key, {
|
|
1126
1115
|
value: value,
|
|
@@ -1133,7 +1122,7 @@ function _define_property$M(obj, key, value) {
|
|
|
1133
1122
|
}
|
|
1134
1123
|
return obj;
|
|
1135
1124
|
}
|
|
1136
|
-
function _object_spread$
|
|
1125
|
+
function _object_spread$h(target) {
|
|
1137
1126
|
for(var i = 1; i < arguments.length; i++){
|
|
1138
1127
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1139
1128
|
var ownKeys = Object.keys(source);
|
|
@@ -1143,7 +1132,7 @@ function _object_spread$g(target) {
|
|
|
1143
1132
|
}));
|
|
1144
1133
|
}
|
|
1145
1134
|
ownKeys.forEach(function(key) {
|
|
1146
|
-
_define_property$
|
|
1135
|
+
_define_property$N(target, key, source[key]);
|
|
1147
1136
|
});
|
|
1148
1137
|
}
|
|
1149
1138
|
return target;
|
|
@@ -1168,7 +1157,7 @@ function _object_spread_props$d(target, source) {
|
|
|
1168
1157
|
return target;
|
|
1169
1158
|
}
|
|
1170
1159
|
var Warning = function(props) {
|
|
1171
|
-
return /*#__PURE__*/ jsxs("svg", _object_spread_props$d(_object_spread$
|
|
1160
|
+
return /*#__PURE__*/ jsxs("svg", _object_spread_props$d(_object_spread$h({
|
|
1172
1161
|
width: "1em",
|
|
1173
1162
|
height: "1em",
|
|
1174
1163
|
viewBox: "0 0 24 24",
|
|
@@ -1458,7 +1447,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
1458
1447
|
warning900: warning900
|
|
1459
1448
|
});
|
|
1460
1449
|
|
|
1461
|
-
function _tagged_template_literal$
|
|
1450
|
+
function _tagged_template_literal$l(strings, raw) {
|
|
1462
1451
|
if (!raw) {
|
|
1463
1452
|
raw = strings.slice(0);
|
|
1464
1453
|
}
|
|
@@ -1468,46 +1457,46 @@ function _tagged_template_literal$h(strings, raw) {
|
|
|
1468
1457
|
}
|
|
1469
1458
|
}));
|
|
1470
1459
|
}
|
|
1471
|
-
function _templateObject$
|
|
1472
|
-
var data = _tagged_template_literal$
|
|
1460
|
+
function _templateObject$l() {
|
|
1461
|
+
var data = _tagged_template_literal$l([
|
|
1473
1462
|
"\n box-shadow: 0px 2px 8px 0px #0000001f;\n"
|
|
1474
1463
|
]);
|
|
1475
|
-
_templateObject$
|
|
1464
|
+
_templateObject$l = function _templateObject() {
|
|
1476
1465
|
return data;
|
|
1477
1466
|
};
|
|
1478
1467
|
return data;
|
|
1479
1468
|
}
|
|
1480
|
-
function _templateObject1$
|
|
1481
|
-
var data = _tagged_template_literal$
|
|
1469
|
+
function _templateObject1$c() {
|
|
1470
|
+
var data = _tagged_template_literal$l([
|
|
1482
1471
|
"\n box-shadow: 0px 4px 12px 0px #00000029;\n"
|
|
1483
1472
|
]);
|
|
1484
|
-
_templateObject1$
|
|
1473
|
+
_templateObject1$c = function _templateObject() {
|
|
1485
1474
|
return data;
|
|
1486
1475
|
};
|
|
1487
1476
|
return data;
|
|
1488
1477
|
}
|
|
1489
|
-
function _templateObject2$
|
|
1490
|
-
var data = _tagged_template_literal$
|
|
1478
|
+
function _templateObject2$9() {
|
|
1479
|
+
var data = _tagged_template_literal$l([
|
|
1491
1480
|
"\n box-shadow: 0px 8px 16px 0px #0000001f;\n"
|
|
1492
1481
|
]);
|
|
1493
|
-
_templateObject2$
|
|
1482
|
+
_templateObject2$9 = function _templateObject() {
|
|
1494
1483
|
return data;
|
|
1495
1484
|
};
|
|
1496
1485
|
return data;
|
|
1497
1486
|
}
|
|
1498
|
-
function _templateObject3$
|
|
1499
|
-
var data = _tagged_template_literal$
|
|
1487
|
+
function _templateObject3$6() {
|
|
1488
|
+
var data = _tagged_template_literal$l([
|
|
1500
1489
|
"\n box-shadow: 0px 8px 32px 0px #00000029;\n"
|
|
1501
1490
|
]);
|
|
1502
|
-
_templateObject3$
|
|
1491
|
+
_templateObject3$6 = function _templateObject() {
|
|
1503
1492
|
return data;
|
|
1504
1493
|
};
|
|
1505
1494
|
return data;
|
|
1506
1495
|
}
|
|
1507
|
-
var elevation100 = css(_templateObject$
|
|
1508
|
-
var elevation200 = css(_templateObject1$
|
|
1509
|
-
var elevation300 = css(_templateObject2$
|
|
1510
|
-
var elevation400 = css(_templateObject3$
|
|
1496
|
+
var elevation100 = css(_templateObject$l());
|
|
1497
|
+
var elevation200 = css(_templateObject1$c());
|
|
1498
|
+
var elevation300 = css(_templateObject2$9());
|
|
1499
|
+
var elevation400 = css(_templateObject3$6());
|
|
1511
1500
|
|
|
1512
1501
|
var elevation = /*#__PURE__*/Object.freeze({
|
|
1513
1502
|
__proto__: null,
|
|
@@ -1522,7 +1511,7 @@ var spacing = function(multiple) {
|
|
|
1522
1511
|
return multiple * DEFAULT_SPACING;
|
|
1523
1512
|
};
|
|
1524
1513
|
|
|
1525
|
-
function _tagged_template_literal$
|
|
1514
|
+
function _tagged_template_literal$k(strings, raw) {
|
|
1526
1515
|
if (!raw) {
|
|
1527
1516
|
raw = strings.slice(0);
|
|
1528
1517
|
}
|
|
@@ -1532,56 +1521,56 @@ function _tagged_template_literal$g(strings, raw) {
|
|
|
1532
1521
|
}
|
|
1533
1522
|
}));
|
|
1534
1523
|
}
|
|
1535
|
-
function _templateObject$
|
|
1536
|
-
var data = _tagged_template_literal$
|
|
1524
|
+
function _templateObject$k() {
|
|
1525
|
+
var data = _tagged_template_literal$k([
|
|
1537
1526
|
"\n font-family: 'Roboto', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-smooth: never;\n"
|
|
1538
1527
|
]);
|
|
1539
|
-
_templateObject$
|
|
1528
|
+
_templateObject$k = function _templateObject() {
|
|
1540
1529
|
return data;
|
|
1541
1530
|
};
|
|
1542
1531
|
return data;
|
|
1543
1532
|
}
|
|
1544
|
-
function _templateObject1$
|
|
1545
|
-
var data = _tagged_template_literal$
|
|
1533
|
+
function _templateObject1$b() {
|
|
1534
|
+
var data = _tagged_template_literal$k([
|
|
1546
1535
|
"\n ",
|
|
1547
1536
|
"\n font-size: ",
|
|
1548
1537
|
"rem;\n line-height: ",
|
|
1549
1538
|
"rem;\n letter-spacing: ",
|
|
1550
1539
|
"px;\n font-weight: 400;\n"
|
|
1551
1540
|
]);
|
|
1552
|
-
_templateObject1$
|
|
1541
|
+
_templateObject1$b = function _templateObject() {
|
|
1553
1542
|
return data;
|
|
1554
1543
|
};
|
|
1555
1544
|
return data;
|
|
1556
1545
|
}
|
|
1557
|
-
function _templateObject2$
|
|
1558
|
-
var data = _tagged_template_literal$
|
|
1546
|
+
function _templateObject2$8() {
|
|
1547
|
+
var data = _tagged_template_literal$k([
|
|
1559
1548
|
"\n ",
|
|
1560
1549
|
"\n font-size: ",
|
|
1561
1550
|
"rem;\n line-height: ",
|
|
1562
1551
|
"rem;\n letter-spacing: ",
|
|
1563
1552
|
"px;\n font-weight: 600;\n"
|
|
1564
1553
|
]);
|
|
1565
|
-
_templateObject2$
|
|
1554
|
+
_templateObject2$8 = function _templateObject() {
|
|
1566
1555
|
return data;
|
|
1567
1556
|
};
|
|
1568
1557
|
return data;
|
|
1569
1558
|
}
|
|
1570
|
-
function _templateObject3$
|
|
1571
|
-
var data = _tagged_template_literal$
|
|
1559
|
+
function _templateObject3$5() {
|
|
1560
|
+
var data = _tagged_template_literal$k([
|
|
1572
1561
|
"\n ",
|
|
1573
1562
|
"\n font-size: ",
|
|
1574
1563
|
"rem;\n line-height: ",
|
|
1575
1564
|
"rem;\n letter-spacing: ",
|
|
1576
1565
|
"px;\n font-weight: 400;\n"
|
|
1577
1566
|
]);
|
|
1578
|
-
_templateObject3$
|
|
1567
|
+
_templateObject3$5 = function _templateObject() {
|
|
1579
1568
|
return data;
|
|
1580
1569
|
};
|
|
1581
1570
|
return data;
|
|
1582
1571
|
}
|
|
1583
1572
|
function _templateObject4$3() {
|
|
1584
|
-
var data = _tagged_template_literal$
|
|
1573
|
+
var data = _tagged_template_literal$k([
|
|
1585
1574
|
"\n ",
|
|
1586
1575
|
"\n font-size: ",
|
|
1587
1576
|
"rem;\n line-height: ",
|
|
@@ -1594,7 +1583,7 @@ function _templateObject4$3() {
|
|
|
1594
1583
|
return data;
|
|
1595
1584
|
}
|
|
1596
1585
|
function _templateObject5$3() {
|
|
1597
|
-
var data = _tagged_template_literal$
|
|
1586
|
+
var data = _tagged_template_literal$k([
|
|
1598
1587
|
"\n ",
|
|
1599
1588
|
"\n font-size: ",
|
|
1600
1589
|
"rem;\n line-height: ",
|
|
@@ -1607,7 +1596,7 @@ function _templateObject5$3() {
|
|
|
1607
1596
|
return data;
|
|
1608
1597
|
}
|
|
1609
1598
|
function _templateObject6$3() {
|
|
1610
|
-
var data = _tagged_template_literal$
|
|
1599
|
+
var data = _tagged_template_literal$k([
|
|
1611
1600
|
"\n ",
|
|
1612
1601
|
"\n font-size: ",
|
|
1613
1602
|
"rem;\n line-height: ",
|
|
@@ -1619,112 +1608,112 @@ function _templateObject6$3() {
|
|
|
1619
1608
|
};
|
|
1620
1609
|
return data;
|
|
1621
1610
|
}
|
|
1622
|
-
function _templateObject7$
|
|
1623
|
-
var data = _tagged_template_literal$
|
|
1611
|
+
function _templateObject7$1() {
|
|
1612
|
+
var data = _tagged_template_literal$k([
|
|
1624
1613
|
"\n ",
|
|
1625
1614
|
"\n font-size: ",
|
|
1626
1615
|
"rem;\n line-height: ",
|
|
1627
1616
|
"rem;\n letter-spacing: ",
|
|
1628
1617
|
"px;\n font-weight: 400;\n"
|
|
1629
1618
|
]);
|
|
1630
|
-
_templateObject7$
|
|
1619
|
+
_templateObject7$1 = function _templateObject() {
|
|
1631
1620
|
return data;
|
|
1632
1621
|
};
|
|
1633
1622
|
return data;
|
|
1634
1623
|
}
|
|
1635
|
-
function _templateObject8$
|
|
1636
|
-
var data = _tagged_template_literal$
|
|
1624
|
+
function _templateObject8$1() {
|
|
1625
|
+
var data = _tagged_template_literal$k([
|
|
1637
1626
|
"\n ",
|
|
1638
1627
|
"\n font-size: ",
|
|
1639
1628
|
"rem;\n line-height: ",
|
|
1640
1629
|
"rem;\n letter-spacing: ",
|
|
1641
1630
|
"px;\n font-weight: 600;\n"
|
|
1642
1631
|
]);
|
|
1643
|
-
_templateObject8$
|
|
1632
|
+
_templateObject8$1 = function _templateObject() {
|
|
1644
1633
|
return data;
|
|
1645
1634
|
};
|
|
1646
1635
|
return data;
|
|
1647
1636
|
}
|
|
1648
|
-
function _templateObject9$
|
|
1649
|
-
var data = _tagged_template_literal$
|
|
1637
|
+
function _templateObject9$1() {
|
|
1638
|
+
var data = _tagged_template_literal$k([
|
|
1650
1639
|
"\n ",
|
|
1651
1640
|
"\n font-size: ",
|
|
1652
1641
|
"rem;\n line-height: ",
|
|
1653
1642
|
"rem;\n letter-spacing: ",
|
|
1654
1643
|
"px;\n font-weight: 400;\n"
|
|
1655
1644
|
]);
|
|
1656
|
-
_templateObject9$
|
|
1645
|
+
_templateObject9$1 = function _templateObject() {
|
|
1657
1646
|
return data;
|
|
1658
1647
|
};
|
|
1659
1648
|
return data;
|
|
1660
1649
|
}
|
|
1661
|
-
function _templateObject10
|
|
1662
|
-
var data = _tagged_template_literal$
|
|
1650
|
+
function _templateObject10() {
|
|
1651
|
+
var data = _tagged_template_literal$k([
|
|
1663
1652
|
"\n ",
|
|
1664
1653
|
"\n font-size: ",
|
|
1665
1654
|
"rem;\n line-height: ",
|
|
1666
1655
|
"rem;\n letter-spacing: ",
|
|
1667
1656
|
"px;\n font-weight: 600;\n"
|
|
1668
1657
|
]);
|
|
1669
|
-
_templateObject10
|
|
1658
|
+
_templateObject10 = function _templateObject() {
|
|
1670
1659
|
return data;
|
|
1671
1660
|
};
|
|
1672
1661
|
return data;
|
|
1673
1662
|
}
|
|
1674
|
-
function _templateObject11
|
|
1675
|
-
var data = _tagged_template_literal$
|
|
1663
|
+
function _templateObject11() {
|
|
1664
|
+
var data = _tagged_template_literal$k([
|
|
1676
1665
|
"\n ",
|
|
1677
1666
|
"\n font-size: ",
|
|
1678
1667
|
"rem;\n line-height: ",
|
|
1679
1668
|
"rem;\n letter-spacing: ",
|
|
1680
1669
|
"px;\n font-weight: 400;\n"
|
|
1681
1670
|
]);
|
|
1682
|
-
_templateObject11
|
|
1671
|
+
_templateObject11 = function _templateObject() {
|
|
1683
1672
|
return data;
|
|
1684
1673
|
};
|
|
1685
1674
|
return data;
|
|
1686
1675
|
}
|
|
1687
|
-
function _templateObject12
|
|
1688
|
-
var data = _tagged_template_literal$
|
|
1676
|
+
function _templateObject12() {
|
|
1677
|
+
var data = _tagged_template_literal$k([
|
|
1689
1678
|
"\n ",
|
|
1690
1679
|
"\n font-size: ",
|
|
1691
1680
|
"rem;\n line-height: ",
|
|
1692
1681
|
"rem;\n letter-spacing: ",
|
|
1693
1682
|
"px;\n font-weight: 500;\n"
|
|
1694
1683
|
]);
|
|
1695
|
-
_templateObject12
|
|
1684
|
+
_templateObject12 = function _templateObject() {
|
|
1696
1685
|
return data;
|
|
1697
1686
|
};
|
|
1698
1687
|
return data;
|
|
1699
1688
|
}
|
|
1700
|
-
function _templateObject13
|
|
1701
|
-
var data = _tagged_template_literal$
|
|
1689
|
+
function _templateObject13() {
|
|
1690
|
+
var data = _tagged_template_literal$k([
|
|
1702
1691
|
"\n ",
|
|
1703
1692
|
"\n font-size: ",
|
|
1704
1693
|
"rem;\n line-height: ",
|
|
1705
1694
|
"rem;\n letter-spacing: ",
|
|
1706
1695
|
"px;\n font-weight: 600;\n"
|
|
1707
1696
|
]);
|
|
1708
|
-
_templateObject13
|
|
1697
|
+
_templateObject13 = function _templateObject() {
|
|
1709
1698
|
return data;
|
|
1710
1699
|
};
|
|
1711
1700
|
return data;
|
|
1712
1701
|
}
|
|
1713
|
-
function _templateObject14
|
|
1714
|
-
var data = _tagged_template_literal$
|
|
1702
|
+
function _templateObject14() {
|
|
1703
|
+
var data = _tagged_template_literal$k([
|
|
1715
1704
|
"\n ",
|
|
1716
1705
|
"\n font-size: ",
|
|
1717
1706
|
"rem;\n line-height: ",
|
|
1718
1707
|
"rem;\n letter-spacing: ",
|
|
1719
1708
|
"px;\n font-weight: 700;\n"
|
|
1720
1709
|
]);
|
|
1721
|
-
_templateObject14
|
|
1710
|
+
_templateObject14 = function _templateObject() {
|
|
1722
1711
|
return data;
|
|
1723
1712
|
};
|
|
1724
1713
|
return data;
|
|
1725
1714
|
}
|
|
1726
1715
|
function _templateObject15() {
|
|
1727
|
-
var data = _tagged_template_literal$
|
|
1716
|
+
var data = _tagged_template_literal$k([
|
|
1728
1717
|
"\n ",
|
|
1729
1718
|
"\n font-size: ",
|
|
1730
1719
|
"rem;\n line-height: ",
|
|
@@ -1737,7 +1726,7 @@ function _templateObject15() {
|
|
|
1737
1726
|
return data;
|
|
1738
1727
|
}
|
|
1739
1728
|
function _templateObject16() {
|
|
1740
|
-
var data = _tagged_template_literal$
|
|
1729
|
+
var data = _tagged_template_literal$k([
|
|
1741
1730
|
"\n ",
|
|
1742
1731
|
"\n font-size: ",
|
|
1743
1732
|
"rem;\n line-height: ",
|
|
@@ -1750,7 +1739,7 @@ function _templateObject16() {
|
|
|
1750
1739
|
return data;
|
|
1751
1740
|
}
|
|
1752
1741
|
function _templateObject17() {
|
|
1753
|
-
var data = _tagged_template_literal$
|
|
1742
|
+
var data = _tagged_template_literal$k([
|
|
1754
1743
|
"\n ",
|
|
1755
1744
|
"\n font-size: ",
|
|
1756
1745
|
"rem;\n line-height: ",
|
|
@@ -1763,7 +1752,7 @@ function _templateObject17() {
|
|
|
1763
1752
|
return data;
|
|
1764
1753
|
}
|
|
1765
1754
|
function _templateObject18() {
|
|
1766
|
-
var data = _tagged_template_literal$
|
|
1755
|
+
var data = _tagged_template_literal$k([
|
|
1767
1756
|
"\n ",
|
|
1768
1757
|
"\n font-size: ",
|
|
1769
1758
|
"rem;\n line-height: ",
|
|
@@ -1776,7 +1765,7 @@ function _templateObject18() {
|
|
|
1776
1765
|
return data;
|
|
1777
1766
|
}
|
|
1778
1767
|
function _templateObject19() {
|
|
1779
|
-
var data = _tagged_template_literal$
|
|
1768
|
+
var data = _tagged_template_literal$k([
|
|
1780
1769
|
"\n ",
|
|
1781
1770
|
"\n font-size: ",
|
|
1782
1771
|
"rem;\n line-height: ",
|
|
@@ -1789,7 +1778,7 @@ function _templateObject19() {
|
|
|
1789
1778
|
return data;
|
|
1790
1779
|
}
|
|
1791
1780
|
function _templateObject20() {
|
|
1792
|
-
var data = _tagged_template_literal$
|
|
1781
|
+
var data = _tagged_template_literal$k([
|
|
1793
1782
|
"\n ",
|
|
1794
1783
|
"\n font-size: ",
|
|
1795
1784
|
"rem;\n line-height: ",
|
|
@@ -1802,7 +1791,7 @@ function _templateObject20() {
|
|
|
1802
1791
|
return data;
|
|
1803
1792
|
}
|
|
1804
1793
|
function _templateObject21() {
|
|
1805
|
-
var data = _tagged_template_literal$
|
|
1794
|
+
var data = _tagged_template_literal$k([
|
|
1806
1795
|
"\n ",
|
|
1807
1796
|
"\n font-size: ",
|
|
1808
1797
|
"rem;\n line-height: ",
|
|
@@ -1815,7 +1804,7 @@ function _templateObject21() {
|
|
|
1815
1804
|
return data;
|
|
1816
1805
|
}
|
|
1817
1806
|
function _templateObject22() {
|
|
1818
|
-
var data = _tagged_template_literal$
|
|
1807
|
+
var data = _tagged_template_literal$k([
|
|
1819
1808
|
"\n ",
|
|
1820
1809
|
"\n font-size: ",
|
|
1821
1810
|
"rem;\n line-height: ",
|
|
@@ -1827,23 +1816,23 @@ function _templateObject22() {
|
|
|
1827
1816
|
};
|
|
1828
1817
|
return data;
|
|
1829
1818
|
}
|
|
1830
|
-
var commonStyles = css(_templateObject$
|
|
1819
|
+
var commonStyles = css(_templateObject$k());
|
|
1831
1820
|
// HEADLINES
|
|
1832
|
-
var $headline100Regular = css(_templateObject1$
|
|
1833
|
-
var $headline100Semibold = css(_templateObject2$
|
|
1834
|
-
var $headline200Regular = css(_templateObject3$
|
|
1821
|
+
var $headline100Regular = css(_templateObject1$b(), commonStyles, headline100FontSize / BASE_FONT_SIZE, headline100LineHeight / BASE_FONT_SIZE, headline100LetterSpacing);
|
|
1822
|
+
var $headline100Semibold = css(_templateObject2$8(), commonStyles, headline100FontSize / BASE_FONT_SIZE, headline100LineHeight / BASE_FONT_SIZE, headline100LetterSpacing);
|
|
1823
|
+
var $headline200Regular = css(_templateObject3$5(), commonStyles, headline200FontSize / BASE_FONT_SIZE, headline200LineHeight / BASE_FONT_SIZE, headline200LetterSpacing);
|
|
1835
1824
|
var $headline200Semibold = css(_templateObject4$3(), commonStyles, headline200FontSize / BASE_FONT_SIZE, headline200LineHeight / BASE_FONT_SIZE, headline200LetterSpacing);
|
|
1836
1825
|
var $headline300Regular = css(_templateObject5$3(), commonStyles, headline300FontSize / BASE_FONT_SIZE, headline300LineHeight / BASE_FONT_SIZE, headline300LetterSpacing);
|
|
1837
1826
|
var $headline300Semibold = css(_templateObject6$3(), commonStyles, headline300FontSize / BASE_FONT_SIZE, headline300LineHeight / BASE_FONT_SIZE, headline300LetterSpacing);
|
|
1838
1827
|
// PARAGRAPH
|
|
1839
|
-
var $paragraph100Regular = css(_templateObject7$
|
|
1840
|
-
var $paragraph100Semibold = css(_templateObject8$
|
|
1841
|
-
var $paragraph200Regular = css(_templateObject9$
|
|
1842
|
-
var $paragraph200Semibold = css(_templateObject10
|
|
1843
|
-
var $paragraph300Regular = css(_templateObject11
|
|
1844
|
-
var $paragraph300Medium = css(_templateObject12
|
|
1845
|
-
var $paragraph300Semibold = css(_templateObject13
|
|
1846
|
-
var $paragraph300Bold = css(_templateObject14
|
|
1828
|
+
var $paragraph100Regular = css(_templateObject7$1(), commonStyles, paragraph100FontSize / BASE_FONT_SIZE, paragraph100LineHeight / BASE_FONT_SIZE, paragraph100LetterSpacing);
|
|
1829
|
+
var $paragraph100Semibold = css(_templateObject8$1(), commonStyles, paragraph100FontSize / BASE_FONT_SIZE, paragraph100LineHeight / BASE_FONT_SIZE, paragraph100LetterSpacing);
|
|
1830
|
+
var $paragraph200Regular = css(_templateObject9$1(), commonStyles, paragraph200FontSize / BASE_FONT_SIZE, paragraph200LineHeight / BASE_FONT_SIZE, paragraph200LetterSpacing);
|
|
1831
|
+
var $paragraph200Semibold = css(_templateObject10(), commonStyles, paragraph200FontSize / BASE_FONT_SIZE, paragraph200LineHeight / BASE_FONT_SIZE, paragraph200LetterSpacing);
|
|
1832
|
+
var $paragraph300Regular = css(_templateObject11(), commonStyles, paragraph300FontSize / BASE_FONT_SIZE, paragraph300LineHeight / BASE_FONT_SIZE, paragraph300LetterSpacing);
|
|
1833
|
+
var $paragraph300Medium = css(_templateObject12(), commonStyles, paragraph300FontSize / BASE_FONT_SIZE, paragraph300LineHeight / BASE_FONT_SIZE, paragraph300LetterSpacing);
|
|
1834
|
+
var $paragraph300Semibold = css(_templateObject13(), commonStyles, paragraph300FontSize / BASE_FONT_SIZE, paragraph300LineHeight / BASE_FONT_SIZE, paragraph300LetterSpacing);
|
|
1835
|
+
var $paragraph300Bold = css(_templateObject14(), commonStyles, paragraph300FontSize / BASE_FONT_SIZE, paragraph300LineHeight / BASE_FONT_SIZE, paragraph300LetterSpacing);
|
|
1847
1836
|
// BUTTON
|
|
1848
1837
|
var $button100Medium = css(_templateObject15(), commonStyles, button100FontSize / BASE_FONT_SIZE, button100LineHeight / BASE_FONT_SIZE, button100LetterSpacing);
|
|
1849
1838
|
var $button200Medium = css(_templateObject16(), commonStyles, button200FontSize / BASE_FONT_SIZE, button200LineHeight / BASE_FONT_SIZE, button200LetterSpacing);
|
|
@@ -1919,7 +1908,7 @@ function _non_iterable_rest$c() {
|
|
|
1919
1908
|
function _sliced_to_array$c(arr, i) {
|
|
1920
1909
|
return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$c();
|
|
1921
1910
|
}
|
|
1922
|
-
function _tagged_template_literal$
|
|
1911
|
+
function _tagged_template_literal$j(strings, raw) {
|
|
1923
1912
|
if (!raw) {
|
|
1924
1913
|
raw = strings.slice(0);
|
|
1925
1914
|
}
|
|
@@ -1937,49 +1926,49 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
1937
1926
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1938
1927
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
1939
1928
|
}
|
|
1940
|
-
function _templateObject$
|
|
1941
|
-
var data = _tagged_template_literal$
|
|
1929
|
+
function _templateObject$j() {
|
|
1930
|
+
var data = _tagged_template_literal$j([
|
|
1942
1931
|
"\n padding: ",
|
|
1943
1932
|
";\n margin: 10px;\n border-radius: 5px;\n color: ",
|
|
1944
1933
|
";\n display: flex;\n align-items: center;\n flex-direction: row;\n gap: 0.5rem;\n "
|
|
1945
1934
|
]);
|
|
1946
|
-
_templateObject$
|
|
1935
|
+
_templateObject$j = function _templateObject() {
|
|
1947
1936
|
return data;
|
|
1948
1937
|
};
|
|
1949
1938
|
return data;
|
|
1950
1939
|
}
|
|
1951
|
-
function _templateObject1$
|
|
1952
|
-
var data = _tagged_template_literal$
|
|
1940
|
+
function _templateObject1$a() {
|
|
1941
|
+
var data = _tagged_template_literal$j([
|
|
1953
1942
|
"\n ",
|
|
1954
1943
|
"\n margin: 0;\n "
|
|
1955
1944
|
]);
|
|
1956
|
-
_templateObject1$
|
|
1945
|
+
_templateObject1$a = function _templateObject() {
|
|
1957
1946
|
return data;
|
|
1958
1947
|
};
|
|
1959
1948
|
return data;
|
|
1960
1949
|
}
|
|
1961
|
-
function _templateObject2$
|
|
1962
|
-
var data = _tagged_template_literal$
|
|
1950
|
+
function _templateObject2$7() {
|
|
1951
|
+
var data = _tagged_template_literal$j([
|
|
1963
1952
|
"\n ",
|
|
1964
1953
|
"\n margin: 0;\n "
|
|
1965
1954
|
]);
|
|
1966
|
-
_templateObject2$
|
|
1955
|
+
_templateObject2$7 = function _templateObject() {
|
|
1967
1956
|
return data;
|
|
1968
1957
|
};
|
|
1969
1958
|
return data;
|
|
1970
1959
|
}
|
|
1971
|
-
function _templateObject3$
|
|
1972
|
-
var data = _tagged_template_literal$
|
|
1960
|
+
function _templateObject3$4() {
|
|
1961
|
+
var data = _tagged_template_literal$j([
|
|
1973
1962
|
"\n background-color: ",
|
|
1974
1963
|
";\n "
|
|
1975
1964
|
]);
|
|
1976
|
-
_templateObject3$
|
|
1965
|
+
_templateObject3$4 = function _templateObject() {
|
|
1977
1966
|
return data;
|
|
1978
1967
|
};
|
|
1979
1968
|
return data;
|
|
1980
1969
|
}
|
|
1981
1970
|
function _templateObject4$2() {
|
|
1982
|
-
var data = _tagged_template_literal$
|
|
1971
|
+
var data = _tagged_template_literal$j([
|
|
1983
1972
|
"\n background-color: ",
|
|
1984
1973
|
";\n "
|
|
1985
1974
|
]);
|
|
@@ -1989,7 +1978,7 @@ function _templateObject4$2() {
|
|
|
1989
1978
|
return data;
|
|
1990
1979
|
}
|
|
1991
1980
|
function _templateObject5$2() {
|
|
1992
|
-
var data = _tagged_template_literal$
|
|
1981
|
+
var data = _tagged_template_literal$j([
|
|
1993
1982
|
"\n background-color: ",
|
|
1994
1983
|
";\n "
|
|
1995
1984
|
]);
|
|
@@ -1999,7 +1988,7 @@ function _templateObject5$2() {
|
|
|
1999
1988
|
return data;
|
|
2000
1989
|
}
|
|
2001
1990
|
function _templateObject6$2() {
|
|
2002
|
-
var data = _tagged_template_literal$
|
|
1991
|
+
var data = _tagged_template_literal$j([
|
|
2003
1992
|
"\n background-color: ",
|
|
2004
1993
|
";\n "
|
|
2005
1994
|
]);
|
|
@@ -2008,32 +1997,32 @@ function _templateObject6$2() {
|
|
|
2008
1997
|
};
|
|
2009
1998
|
return data;
|
|
2010
1999
|
}
|
|
2011
|
-
function _templateObject7
|
|
2012
|
-
var data = _tagged_template_literal$
|
|
2000
|
+
function _templateObject7() {
|
|
2001
|
+
var data = _tagged_template_literal$j([
|
|
2013
2002
|
"\n font-size: 1.5rem;\n color: ",
|
|
2014
2003
|
";\n margin-bottom: auto;\n flex-shrink: 0;\n "
|
|
2015
2004
|
]);
|
|
2016
|
-
_templateObject7
|
|
2005
|
+
_templateObject7 = function _templateObject() {
|
|
2017
2006
|
return data;
|
|
2018
2007
|
};
|
|
2019
2008
|
return data;
|
|
2020
2009
|
}
|
|
2021
|
-
function _templateObject8
|
|
2022
|
-
var data = _tagged_template_literal$
|
|
2010
|
+
function _templateObject8() {
|
|
2011
|
+
var data = _tagged_template_literal$j([
|
|
2023
2012
|
"\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n "
|
|
2024
2013
|
]);
|
|
2025
|
-
_templateObject8
|
|
2014
|
+
_templateObject8 = function _templateObject() {
|
|
2026
2015
|
return data;
|
|
2027
2016
|
};
|
|
2028
2017
|
return data;
|
|
2029
2018
|
}
|
|
2030
|
-
function _templateObject9
|
|
2031
|
-
var data = _tagged_template_literal$
|
|
2019
|
+
function _templateObject9() {
|
|
2020
|
+
var data = _tagged_template_literal$j([
|
|
2032
2021
|
"\n background-color: transparent;\n border: none;\n color: ",
|
|
2033
2022
|
";\n cursor: pointer;\n padding: 0.25rem;\n font-size: 0.75;\n margin-left: ",
|
|
2034
2023
|
";\n "
|
|
2035
2024
|
]);
|
|
2036
|
-
_templateObject9
|
|
2025
|
+
_templateObject9 = function _templateObject() {
|
|
2037
2026
|
return data;
|
|
2038
2027
|
};
|
|
2039
2028
|
return data;
|
|
@@ -2045,18 +2034,18 @@ var AlertBar = function(props) {
|
|
|
2045
2034
|
var isTooLong = text.length > maxLength;
|
|
2046
2035
|
var displayText = isExpanded || !isTooLong ? text : "".concat(text.slice(0, maxLength), "...");
|
|
2047
2036
|
var textRef = useRef(null);
|
|
2048
|
-
var alertBaseStyles = css(_templateObject$
|
|
2049
|
-
var titleStyles = css(_templateObject1$
|
|
2050
|
-
var textStyles = css(_templateObject2$
|
|
2037
|
+
var alertBaseStyles = css(_templateObject$j(), size === 'large' ? '1rem' : '0.5rem 0.625rem ', neutral900);
|
|
2038
|
+
var titleStyles = css(_templateObject1$a(), size === 'large' ? $paragraph100Semibold : $paragraph200Regular);
|
|
2039
|
+
var textStyles = css(_templateObject2$7(), $paragraph200Regular);
|
|
2051
2040
|
var alertStyles = {
|
|
2052
|
-
info: css(_templateObject3$
|
|
2041
|
+
info: css(_templateObject3$4(), primary100),
|
|
2053
2042
|
warning: css(_templateObject4$2(), warning100),
|
|
2054
2043
|
error: css(_templateObject5$2(), danger100),
|
|
2055
2044
|
success: css(_templateObject6$2(), success100)
|
|
2056
2045
|
};
|
|
2057
|
-
var iconStyles = css(_templateObject7
|
|
2058
|
-
var textWrapperStyles = css(_templateObject8
|
|
2059
|
-
var truncaterButtonStyles = css(_templateObject9
|
|
2046
|
+
var iconStyles = css(_templateObject7(), type === 'info' ? "".concat(primary700) : type === 'error' ? "".concat(danger700) : type === 'success' ? "".concat(success700) : "".concat(warning700));
|
|
2047
|
+
var textWrapperStyles = css(_templateObject8());
|
|
2048
|
+
var truncaterButtonStyles = css(_templateObject9(), primary700, !isExpanded ? '0' : '0.25rem');
|
|
2060
2049
|
var icon = {
|
|
2061
2050
|
info: Info,
|
|
2062
2051
|
warning: Warning,
|
|
@@ -2101,7 +2090,7 @@ var AlertBar = function(props) {
|
|
|
2101
2090
|
});
|
|
2102
2091
|
};
|
|
2103
2092
|
|
|
2104
|
-
function _tagged_template_literal$
|
|
2093
|
+
function _tagged_template_literal$i(strings, raw) {
|
|
2105
2094
|
if (!raw) {
|
|
2106
2095
|
raw = strings.slice(0);
|
|
2107
2096
|
}
|
|
@@ -2111,8 +2100,8 @@ function _tagged_template_literal$e(strings, raw) {
|
|
|
2111
2100
|
}
|
|
2112
2101
|
}));
|
|
2113
2102
|
}
|
|
2114
|
-
function _templateObject$
|
|
2115
|
-
var data = _tagged_template_literal$
|
|
2103
|
+
function _templateObject$i() {
|
|
2104
|
+
var data = _tagged_template_literal$i([
|
|
2116
2105
|
"\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ",
|
|
2117
2106
|
";\n border: none;\n transition: all;\n transition-duration: 200ms;\n border-radius: ",
|
|
2118
2107
|
";\n background-color: ",
|
|
@@ -2126,7 +2115,7 @@ function _templateObject$e() {
|
|
|
2126
2115
|
";\n cursor: not-allowed;\n\n color: ",
|
|
2127
2116
|
";\n }\n"
|
|
2128
2117
|
]);
|
|
2129
|
-
_templateObject$
|
|
2118
|
+
_templateObject$i = function _templateObject() {
|
|
2130
2119
|
return data;
|
|
2131
2120
|
};
|
|
2132
2121
|
return data;
|
|
@@ -2169,7 +2158,7 @@ var getTextColor = function(color) {
|
|
|
2169
2158
|
return textPrimary;
|
|
2170
2159
|
}
|
|
2171
2160
|
};
|
|
2172
|
-
var BaseButton = styled.button(_templateObject$
|
|
2161
|
+
var BaseButton = styled.button(_templateObject$i(), function(props) {
|
|
2173
2162
|
return props.size === 'large' ? '12px 16px' : '10px 12px';
|
|
2174
2163
|
}, function(param) {
|
|
2175
2164
|
var round = param.round;
|
|
@@ -2200,7 +2189,7 @@ var BaseButton = styled.button(_templateObject$e(), function(props) {
|
|
|
2200
2189
|
return color === 'primary' ? textPrimaryIconDisabled : textPrimaryIconDisabled;
|
|
2201
2190
|
});
|
|
2202
2191
|
|
|
2203
|
-
function _define_property$
|
|
2192
|
+
function _define_property$M(obj, key, value) {
|
|
2204
2193
|
if (key in obj) {
|
|
2205
2194
|
Object.defineProperty(obj, key, {
|
|
2206
2195
|
value: value,
|
|
@@ -2213,7 +2202,7 @@ function _define_property$L(obj, key, value) {
|
|
|
2213
2202
|
}
|
|
2214
2203
|
return obj;
|
|
2215
2204
|
}
|
|
2216
|
-
function _object_spread$
|
|
2205
|
+
function _object_spread$g(target) {
|
|
2217
2206
|
for(var i = 1; i < arguments.length; i++){
|
|
2218
2207
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
2219
2208
|
var ownKeys = Object.keys(source);
|
|
@@ -2223,7 +2212,7 @@ function _object_spread$f(target) {
|
|
|
2223
2212
|
}));
|
|
2224
2213
|
}
|
|
2225
2214
|
ownKeys.forEach(function(key) {
|
|
2226
|
-
_define_property$
|
|
2215
|
+
_define_property$M(target, key, source[key]);
|
|
2227
2216
|
});
|
|
2228
2217
|
}
|
|
2229
2218
|
return target;
|
|
@@ -2274,7 +2263,7 @@ function _object_without_properties_loose$a(source, excluded) {
|
|
|
2274
2263
|
}
|
|
2275
2264
|
return target;
|
|
2276
2265
|
}
|
|
2277
|
-
function _tagged_template_literal$
|
|
2266
|
+
function _tagged_template_literal$h(strings, raw) {
|
|
2278
2267
|
if (!raw) {
|
|
2279
2268
|
raw = strings.slice(0);
|
|
2280
2269
|
}
|
|
@@ -2284,17 +2273,17 @@ function _tagged_template_literal$d(strings, raw) {
|
|
|
2284
2273
|
}
|
|
2285
2274
|
}));
|
|
2286
2275
|
}
|
|
2287
|
-
function _templateObject$
|
|
2288
|
-
var data = _tagged_template_literal$
|
|
2276
|
+
function _templateObject$h() {
|
|
2277
|
+
var data = _tagged_template_literal$h([
|
|
2289
2278
|
"\n display: flex;\n margin: ",
|
|
2290
2279
|
";\n"
|
|
2291
2280
|
]);
|
|
2292
|
-
_templateObject$
|
|
2281
|
+
_templateObject$h = function _templateObject() {
|
|
2293
2282
|
return data;
|
|
2294
2283
|
};
|
|
2295
2284
|
return data;
|
|
2296
2285
|
}
|
|
2297
|
-
var IconWrapper$2 = styled.span(_templateObject$
|
|
2286
|
+
var IconWrapper$2 = styled.span(_templateObject$h(), function(props) {
|
|
2298
2287
|
return props.iconLeft ? '0 8px 0 0' : props.iconRight ? '0 0 0 8px' : '0';
|
|
2299
2288
|
});
|
|
2300
2289
|
var Button = /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
@@ -2303,7 +2292,7 @@ var Button = /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
|
2303
2292
|
"iconRight",
|
|
2304
2293
|
"children"
|
|
2305
2294
|
]);
|
|
2306
|
-
return /*#__PURE__*/ jsxs(BaseButton, _object_spread_props$c(_object_spread$
|
|
2295
|
+
return /*#__PURE__*/ jsxs(BaseButton, _object_spread_props$c(_object_spread$g({
|
|
2307
2296
|
ref: ref
|
|
2308
2297
|
}, props), {
|
|
2309
2298
|
children: [
|
|
@@ -6130,7 +6119,7 @@ function _create_class$w(Constructor, protoProps, staticProps) {
|
|
|
6130
6119
|
if (protoProps) _defineProperties$w(Constructor.prototype, protoProps);
|
|
6131
6120
|
return Constructor;
|
|
6132
6121
|
}
|
|
6133
|
-
function _define_property$
|
|
6122
|
+
function _define_property$L(obj, key, value) {
|
|
6134
6123
|
if (key in obj) {
|
|
6135
6124
|
Object.defineProperty(obj, key, {
|
|
6136
6125
|
value: value,
|
|
@@ -6207,7 +6196,7 @@ var TIMEZONE_UNIT_PRIORITY = 10;
|
|
|
6207
6196
|
var Setter = /*#__PURE__*/ function() {
|
|
6208
6197
|
function Setter() {
|
|
6209
6198
|
_class_call_check$w(this, Setter);
|
|
6210
|
-
_define_property$
|
|
6199
|
+
_define_property$L(this, "subPriority", 0);
|
|
6211
6200
|
}
|
|
6212
6201
|
_create_class$w(Setter, [
|
|
6213
6202
|
{
|
|
@@ -6258,8 +6247,8 @@ var DateToSystemTimezoneSetter = /*#__PURE__*/ function(Setter) {
|
|
|
6258
6247
|
_class_call_check$w(this, DateToSystemTimezoneSetter);
|
|
6259
6248
|
var _this;
|
|
6260
6249
|
_this = _super.apply(this, arguments);
|
|
6261
|
-
_define_property$
|
|
6262
|
-
_define_property$
|
|
6250
|
+
_define_property$L(_assert_this_initialized$v(_this), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
6251
|
+
_define_property$L(_assert_this_initialized$v(_this), "subPriority", -1);
|
|
6263
6252
|
return _this;
|
|
6264
6253
|
}
|
|
6265
6254
|
_create_class$w(DateToSystemTimezoneSetter, [
|
|
@@ -6344,7 +6333,7 @@ function _create_class$u(Constructor, protoProps, staticProps) {
|
|
|
6344
6333
|
if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
|
|
6345
6334
|
return Constructor;
|
|
6346
6335
|
}
|
|
6347
|
-
function _define_property$
|
|
6336
|
+
function _define_property$K(obj, key, value) {
|
|
6348
6337
|
if (key in obj) {
|
|
6349
6338
|
Object.defineProperty(obj, key, {
|
|
6350
6339
|
value: value,
|
|
@@ -6424,8 +6413,8 @@ var EraParser = /*#__PURE__*/ function(Parser) {
|
|
|
6424
6413
|
_class_call_check$u(this, EraParser);
|
|
6425
6414
|
var _this;
|
|
6426
6415
|
_this = _super.apply(this, arguments);
|
|
6427
|
-
_define_property$
|
|
6428
|
-
_define_property$
|
|
6416
|
+
_define_property$K(_assert_this_initialized$u(_this), "priority", 140);
|
|
6417
|
+
_define_property$K(_assert_this_initialized$u(_this), "incompatibleTokens", [
|
|
6429
6418
|
"R",
|
|
6430
6419
|
"u",
|
|
6431
6420
|
"t",
|
|
@@ -6641,7 +6630,7 @@ function _create_class$t(Constructor, protoProps, staticProps) {
|
|
|
6641
6630
|
if (protoProps) _defineProperties$t(Constructor.prototype, protoProps);
|
|
6642
6631
|
return Constructor;
|
|
6643
6632
|
}
|
|
6644
|
-
function _define_property$
|
|
6633
|
+
function _define_property$J(obj, key, value) {
|
|
6645
6634
|
if (key in obj) {
|
|
6646
6635
|
Object.defineProperty(obj, key, {
|
|
6647
6636
|
value: value,
|
|
@@ -6729,8 +6718,8 @@ var YearParser = /*#__PURE__*/ function(Parser) {
|
|
|
6729
6718
|
_class_call_check$t(this, YearParser);
|
|
6730
6719
|
var _this;
|
|
6731
6720
|
_this = _super.apply(this, arguments);
|
|
6732
|
-
_define_property$
|
|
6733
|
-
_define_property$
|
|
6721
|
+
_define_property$J(_assert_this_initialized$t(_this), "priority", 130);
|
|
6722
|
+
_define_property$J(_assert_this_initialized$t(_this), "incompatibleTokens", [
|
|
6734
6723
|
"Y",
|
|
6735
6724
|
"R",
|
|
6736
6725
|
"u",
|
|
@@ -6816,7 +6805,7 @@ function _create_class$s(Constructor, protoProps, staticProps) {
|
|
|
6816
6805
|
if (protoProps) _defineProperties$s(Constructor.prototype, protoProps);
|
|
6817
6806
|
return Constructor;
|
|
6818
6807
|
}
|
|
6819
|
-
function _define_property$
|
|
6808
|
+
function _define_property$I(obj, key, value) {
|
|
6820
6809
|
if (key in obj) {
|
|
6821
6810
|
Object.defineProperty(obj, key, {
|
|
6822
6811
|
value: value,
|
|
@@ -6897,8 +6886,8 @@ var LocalWeekYearParser = /*#__PURE__*/ function(Parser) {
|
|
|
6897
6886
|
_class_call_check$s(this, LocalWeekYearParser);
|
|
6898
6887
|
var _this;
|
|
6899
6888
|
_this = _super.apply(this, arguments);
|
|
6900
|
-
_define_property$
|
|
6901
|
-
_define_property$
|
|
6889
|
+
_define_property$I(_assert_this_initialized$s(_this), "priority", 130);
|
|
6890
|
+
_define_property$I(_assert_this_initialized$s(_this), "incompatibleTokens", [
|
|
6902
6891
|
"y",
|
|
6903
6892
|
"R",
|
|
6904
6893
|
"u",
|
|
@@ -6987,7 +6976,7 @@ function _create_class$r(Constructor, protoProps, staticProps) {
|
|
|
6987
6976
|
if (protoProps) _defineProperties$r(Constructor.prototype, protoProps);
|
|
6988
6977
|
return Constructor;
|
|
6989
6978
|
}
|
|
6990
|
-
function _define_property$
|
|
6979
|
+
function _define_property$H(obj, key, value) {
|
|
6991
6980
|
if (key in obj) {
|
|
6992
6981
|
Object.defineProperty(obj, key, {
|
|
6993
6982
|
value: value,
|
|
@@ -7068,8 +7057,8 @@ var ISOWeekYearParser = /*#__PURE__*/ function(Parser) {
|
|
|
7068
7057
|
_class_call_check$r(this, ISOWeekYearParser);
|
|
7069
7058
|
var _this;
|
|
7070
7059
|
_this = _super.apply(this, arguments);
|
|
7071
|
-
_define_property$
|
|
7072
|
-
_define_property$
|
|
7060
|
+
_define_property$H(_assert_this_initialized$r(_this), "priority", 130);
|
|
7061
|
+
_define_property$H(_assert_this_initialized$r(_this), "incompatibleTokens", [
|
|
7073
7062
|
"G",
|
|
7074
7063
|
"y",
|
|
7075
7064
|
"Y",
|
|
@@ -7135,7 +7124,7 @@ function _create_class$q(Constructor, protoProps, staticProps) {
|
|
|
7135
7124
|
if (protoProps) _defineProperties$q(Constructor.prototype, protoProps);
|
|
7136
7125
|
return Constructor;
|
|
7137
7126
|
}
|
|
7138
|
-
function _define_property$
|
|
7127
|
+
function _define_property$G(obj, key, value) {
|
|
7139
7128
|
if (key in obj) {
|
|
7140
7129
|
Object.defineProperty(obj, key, {
|
|
7141
7130
|
value: value,
|
|
@@ -7215,8 +7204,8 @@ var ExtendedYearParser = /*#__PURE__*/ function(Parser) {
|
|
|
7215
7204
|
_class_call_check$q(this, ExtendedYearParser);
|
|
7216
7205
|
var _this;
|
|
7217
7206
|
_this = _super.apply(this, arguments);
|
|
7218
|
-
_define_property$
|
|
7219
|
-
_define_property$
|
|
7207
|
+
_define_property$G(_assert_this_initialized$q(_this), "priority", 130);
|
|
7208
|
+
_define_property$G(_assert_this_initialized$q(_this), "incompatibleTokens", [
|
|
7220
7209
|
"G",
|
|
7221
7210
|
"y",
|
|
7222
7211
|
"Y",
|
|
@@ -7277,7 +7266,7 @@ function _create_class$p(Constructor, protoProps, staticProps) {
|
|
|
7277
7266
|
if (protoProps) _defineProperties$p(Constructor.prototype, protoProps);
|
|
7278
7267
|
return Constructor;
|
|
7279
7268
|
}
|
|
7280
|
-
function _define_property$
|
|
7269
|
+
function _define_property$F(obj, key, value) {
|
|
7281
7270
|
if (key in obj) {
|
|
7282
7271
|
Object.defineProperty(obj, key, {
|
|
7283
7272
|
value: value,
|
|
@@ -7357,8 +7346,8 @@ var QuarterParser = /*#__PURE__*/ function(Parser) {
|
|
|
7357
7346
|
_class_call_check$p(this, QuarterParser);
|
|
7358
7347
|
var _this;
|
|
7359
7348
|
_this = _super.apply(this, arguments);
|
|
7360
|
-
_define_property$
|
|
7361
|
-
_define_property$
|
|
7349
|
+
_define_property$F(_assert_this_initialized$p(_this), "priority", 120);
|
|
7350
|
+
_define_property$F(_assert_this_initialized$p(_this), "incompatibleTokens", [
|
|
7362
7351
|
"Y",
|
|
7363
7352
|
"R",
|
|
7364
7353
|
"q",
|
|
@@ -7463,7 +7452,7 @@ function _create_class$o(Constructor, protoProps, staticProps) {
|
|
|
7463
7452
|
if (protoProps) _defineProperties$o(Constructor.prototype, protoProps);
|
|
7464
7453
|
return Constructor;
|
|
7465
7454
|
}
|
|
7466
|
-
function _define_property$
|
|
7455
|
+
function _define_property$E(obj, key, value) {
|
|
7467
7456
|
if (key in obj) {
|
|
7468
7457
|
Object.defineProperty(obj, key, {
|
|
7469
7458
|
value: value,
|
|
@@ -7543,8 +7532,8 @@ var StandAloneQuarterParser = /*#__PURE__*/ function(Parser) {
|
|
|
7543
7532
|
_class_call_check$o(this, StandAloneQuarterParser);
|
|
7544
7533
|
var _this;
|
|
7545
7534
|
_this = _super.apply(this, arguments);
|
|
7546
|
-
_define_property$
|
|
7547
|
-
_define_property$
|
|
7535
|
+
_define_property$E(_assert_this_initialized$o(_this), "priority", 120);
|
|
7536
|
+
_define_property$E(_assert_this_initialized$o(_this), "incompatibleTokens", [
|
|
7548
7537
|
"Y",
|
|
7549
7538
|
"R",
|
|
7550
7539
|
"Q",
|
|
@@ -7649,7 +7638,7 @@ function _create_class$n(Constructor, protoProps, staticProps) {
|
|
|
7649
7638
|
if (protoProps) _defineProperties$n(Constructor.prototype, protoProps);
|
|
7650
7639
|
return Constructor;
|
|
7651
7640
|
}
|
|
7652
|
-
function _define_property$
|
|
7641
|
+
function _define_property$D(obj, key, value) {
|
|
7653
7642
|
if (key in obj) {
|
|
7654
7643
|
Object.defineProperty(obj, key, {
|
|
7655
7644
|
value: value,
|
|
@@ -7729,7 +7718,7 @@ var MonthParser = /*#__PURE__*/ function(Parser) {
|
|
|
7729
7718
|
_class_call_check$n(this, MonthParser);
|
|
7730
7719
|
var _this;
|
|
7731
7720
|
_this = _super.apply(this, arguments);
|
|
7732
|
-
_define_property$
|
|
7721
|
+
_define_property$D(_assert_this_initialized$n(_this), "incompatibleTokens", [
|
|
7733
7722
|
"Y",
|
|
7734
7723
|
"R",
|
|
7735
7724
|
"q",
|
|
@@ -7744,7 +7733,7 @@ var MonthParser = /*#__PURE__*/ function(Parser) {
|
|
|
7744
7733
|
"t",
|
|
7745
7734
|
"T"
|
|
7746
7735
|
]);
|
|
7747
|
-
_define_property$
|
|
7736
|
+
_define_property$D(_assert_this_initialized$n(_this), "priority", 110);
|
|
7748
7737
|
return _this;
|
|
7749
7738
|
}
|
|
7750
7739
|
_create_class$n(MonthParser, [
|
|
@@ -7839,7 +7828,7 @@ function _create_class$m(Constructor, protoProps, staticProps) {
|
|
|
7839
7828
|
if (protoProps) _defineProperties$m(Constructor.prototype, protoProps);
|
|
7840
7829
|
return Constructor;
|
|
7841
7830
|
}
|
|
7842
|
-
function _define_property$
|
|
7831
|
+
function _define_property$C(obj, key, value) {
|
|
7843
7832
|
if (key in obj) {
|
|
7844
7833
|
Object.defineProperty(obj, key, {
|
|
7845
7834
|
value: value,
|
|
@@ -7919,8 +7908,8 @@ var StandAloneMonthParser = /*#__PURE__*/ function(Parser) {
|
|
|
7919
7908
|
_class_call_check$m(this, StandAloneMonthParser);
|
|
7920
7909
|
var _this;
|
|
7921
7910
|
_this = _super.apply(this, arguments);
|
|
7922
|
-
_define_property$
|
|
7923
|
-
_define_property$
|
|
7911
|
+
_define_property$C(_assert_this_initialized$m(_this), "priority", 110);
|
|
7912
|
+
_define_property$C(_assert_this_initialized$m(_this), "incompatibleTokens", [
|
|
7924
7913
|
"Y",
|
|
7925
7914
|
"R",
|
|
7926
7915
|
"q",
|
|
@@ -8074,7 +8063,7 @@ function _create_class$l(Constructor, protoProps, staticProps) {
|
|
|
8074
8063
|
if (protoProps) _defineProperties$l(Constructor.prototype, protoProps);
|
|
8075
8064
|
return Constructor;
|
|
8076
8065
|
}
|
|
8077
|
-
function _define_property$
|
|
8066
|
+
function _define_property$B(obj, key, value) {
|
|
8078
8067
|
if (key in obj) {
|
|
8079
8068
|
Object.defineProperty(obj, key, {
|
|
8080
8069
|
value: value,
|
|
@@ -8155,8 +8144,8 @@ var LocalWeekParser = /*#__PURE__*/ function(Parser) {
|
|
|
8155
8144
|
_class_call_check$l(this, LocalWeekParser);
|
|
8156
8145
|
var _this;
|
|
8157
8146
|
_this = _super.apply(this, arguments);
|
|
8158
|
-
_define_property$
|
|
8159
|
-
_define_property$
|
|
8147
|
+
_define_property$B(_assert_this_initialized$l(_this), "priority", 100);
|
|
8148
|
+
_define_property$B(_assert_this_initialized$l(_this), "incompatibleTokens", [
|
|
8160
8149
|
"y",
|
|
8161
8150
|
"R",
|
|
8162
8151
|
"u",
|
|
@@ -8257,7 +8246,7 @@ function _create_class$k(Constructor, protoProps, staticProps) {
|
|
|
8257
8246
|
if (protoProps) _defineProperties$k(Constructor.prototype, protoProps);
|
|
8258
8247
|
return Constructor;
|
|
8259
8248
|
}
|
|
8260
|
-
function _define_property$
|
|
8249
|
+
function _define_property$A(obj, key, value) {
|
|
8261
8250
|
if (key in obj) {
|
|
8262
8251
|
Object.defineProperty(obj, key, {
|
|
8263
8252
|
value: value,
|
|
@@ -8338,8 +8327,8 @@ var ISOWeekParser = /*#__PURE__*/ function(Parser) {
|
|
|
8338
8327
|
_class_call_check$k(this, ISOWeekParser);
|
|
8339
8328
|
var _this;
|
|
8340
8329
|
_this = _super.apply(this, arguments);
|
|
8341
|
-
_define_property$
|
|
8342
|
-
_define_property$
|
|
8330
|
+
_define_property$A(_assert_this_initialized$k(_this), "priority", 100);
|
|
8331
|
+
_define_property$A(_assert_this_initialized$k(_this), "incompatibleTokens", [
|
|
8343
8332
|
"y",
|
|
8344
8333
|
"Y",
|
|
8345
8334
|
"u",
|
|
@@ -8413,7 +8402,7 @@ function _create_class$j(Constructor, protoProps, staticProps) {
|
|
|
8413
8402
|
if (protoProps) _defineProperties$j(Constructor.prototype, protoProps);
|
|
8414
8403
|
return Constructor;
|
|
8415
8404
|
}
|
|
8416
|
-
function _define_property$
|
|
8405
|
+
function _define_property$z(obj, key, value) {
|
|
8417
8406
|
if (key in obj) {
|
|
8418
8407
|
Object.defineProperty(obj, key, {
|
|
8419
8408
|
value: value,
|
|
@@ -8522,9 +8511,9 @@ var DateParser = /*#__PURE__*/ function(Parser) {
|
|
|
8522
8511
|
_class_call_check$j(this, DateParser);
|
|
8523
8512
|
var _this;
|
|
8524
8513
|
_this = _super.apply(this, arguments);
|
|
8525
|
-
_define_property$
|
|
8526
|
-
_define_property$
|
|
8527
|
-
_define_property$
|
|
8514
|
+
_define_property$z(_assert_this_initialized$j(_this), "priority", 90);
|
|
8515
|
+
_define_property$z(_assert_this_initialized$j(_this), "subPriority", 1);
|
|
8516
|
+
_define_property$z(_assert_this_initialized$j(_this), "incompatibleTokens", [
|
|
8528
8517
|
"Y",
|
|
8529
8518
|
"R",
|
|
8530
8519
|
"q",
|
|
@@ -8605,7 +8594,7 @@ function _create_class$i(Constructor, protoProps, staticProps) {
|
|
|
8605
8594
|
if (protoProps) _defineProperties$i(Constructor.prototype, protoProps);
|
|
8606
8595
|
return Constructor;
|
|
8607
8596
|
}
|
|
8608
|
-
function _define_property$
|
|
8597
|
+
function _define_property$y(obj, key, value) {
|
|
8609
8598
|
if (key in obj) {
|
|
8610
8599
|
Object.defineProperty(obj, key, {
|
|
8611
8600
|
value: value,
|
|
@@ -8685,9 +8674,9 @@ var DayOfYearParser = /*#__PURE__*/ function(Parser) {
|
|
|
8685
8674
|
_class_call_check$i(this, DayOfYearParser);
|
|
8686
8675
|
var _this;
|
|
8687
8676
|
_this = _super.apply(this, arguments);
|
|
8688
|
-
_define_property$
|
|
8689
|
-
_define_property$
|
|
8690
|
-
_define_property$
|
|
8677
|
+
_define_property$y(_assert_this_initialized$i(_this), "priority", 90);
|
|
8678
|
+
_define_property$y(_assert_this_initialized$i(_this), "subpriority", 1);
|
|
8679
|
+
_define_property$y(_assert_this_initialized$i(_this), "incompatibleTokens", [
|
|
8691
8680
|
"Y",
|
|
8692
8681
|
"R",
|
|
8693
8682
|
"q",
|
|
@@ -8812,7 +8801,7 @@ function _create_class$h(Constructor, protoProps, staticProps) {
|
|
|
8812
8801
|
if (protoProps) _defineProperties$h(Constructor.prototype, protoProps);
|
|
8813
8802
|
return Constructor;
|
|
8814
8803
|
}
|
|
8815
|
-
function _define_property$
|
|
8804
|
+
function _define_property$x(obj, key, value) {
|
|
8816
8805
|
if (key in obj) {
|
|
8817
8806
|
Object.defineProperty(obj, key, {
|
|
8818
8807
|
value: value,
|
|
@@ -8893,8 +8882,8 @@ var DayParser = /*#__PURE__*/ function(Parser) {
|
|
|
8893
8882
|
_class_call_check$h(this, DayParser);
|
|
8894
8883
|
var _this;
|
|
8895
8884
|
_this = _super.apply(this, arguments);
|
|
8896
|
-
_define_property$
|
|
8897
|
-
_define_property$
|
|
8885
|
+
_define_property$x(_assert_this_initialized$h(_this), "priority", 90);
|
|
8886
|
+
_define_property$x(_assert_this_initialized$h(_this), "incompatibleTokens", [
|
|
8898
8887
|
"D",
|
|
8899
8888
|
"i",
|
|
8900
8889
|
"e",
|
|
@@ -8999,7 +8988,7 @@ function _create_class$g(Constructor, protoProps, staticProps) {
|
|
|
8999
8988
|
if (protoProps) _defineProperties$g(Constructor.prototype, protoProps);
|
|
9000
8989
|
return Constructor;
|
|
9001
8990
|
}
|
|
9002
|
-
function _define_property$
|
|
8991
|
+
function _define_property$w(obj, key, value) {
|
|
9003
8992
|
if (key in obj) {
|
|
9004
8993
|
Object.defineProperty(obj, key, {
|
|
9005
8994
|
value: value,
|
|
@@ -9080,8 +9069,8 @@ var LocalDayParser = /*#__PURE__*/ function(Parser) {
|
|
|
9080
9069
|
_class_call_check$g(this, LocalDayParser);
|
|
9081
9070
|
var _this;
|
|
9082
9071
|
_this = _super.apply(this, arguments);
|
|
9083
|
-
_define_property$
|
|
9084
|
-
_define_property$
|
|
9072
|
+
_define_property$w(_assert_this_initialized$g(_this), "priority", 90);
|
|
9073
|
+
_define_property$w(_assert_this_initialized$g(_this), "incompatibleTokens", [
|
|
9085
9074
|
"y",
|
|
9086
9075
|
"R",
|
|
9087
9076
|
"u",
|
|
@@ -9207,7 +9196,7 @@ function _create_class$f(Constructor, protoProps, staticProps) {
|
|
|
9207
9196
|
if (protoProps) _defineProperties$f(Constructor.prototype, protoProps);
|
|
9208
9197
|
return Constructor;
|
|
9209
9198
|
}
|
|
9210
|
-
function _define_property$
|
|
9199
|
+
function _define_property$v(obj, key, value) {
|
|
9211
9200
|
if (key in obj) {
|
|
9212
9201
|
Object.defineProperty(obj, key, {
|
|
9213
9202
|
value: value,
|
|
@@ -9288,8 +9277,8 @@ var StandAloneLocalDayParser = /*#__PURE__*/ function(Parser) {
|
|
|
9288
9277
|
_class_call_check$f(this, StandAloneLocalDayParser);
|
|
9289
9278
|
var _this;
|
|
9290
9279
|
_this = _super.apply(this, arguments);
|
|
9291
|
-
_define_property$
|
|
9292
|
-
_define_property$
|
|
9280
|
+
_define_property$v(_assert_this_initialized$f(_this), "priority", 90);
|
|
9281
|
+
_define_property$v(_assert_this_initialized$f(_this), "incompatibleTokens", [
|
|
9293
9282
|
"y",
|
|
9294
9283
|
"R",
|
|
9295
9284
|
"u",
|
|
@@ -9473,7 +9462,7 @@ function _create_class$e(Constructor, protoProps, staticProps) {
|
|
|
9473
9462
|
if (protoProps) _defineProperties$e(Constructor.prototype, protoProps);
|
|
9474
9463
|
return Constructor;
|
|
9475
9464
|
}
|
|
9476
|
-
function _define_property$
|
|
9465
|
+
function _define_property$u(obj, key, value) {
|
|
9477
9466
|
if (key in obj) {
|
|
9478
9467
|
Object.defineProperty(obj, key, {
|
|
9479
9468
|
value: value,
|
|
@@ -9554,8 +9543,8 @@ var ISODayParser = /*#__PURE__*/ function(Parser) {
|
|
|
9554
9543
|
_class_call_check$e(this, ISODayParser);
|
|
9555
9544
|
var _this;
|
|
9556
9545
|
_this = _super.apply(this, arguments);
|
|
9557
|
-
_define_property$
|
|
9558
|
-
_define_property$
|
|
9546
|
+
_define_property$u(_assert_this_initialized$e(_this), "priority", 90);
|
|
9547
|
+
_define_property$u(_assert_this_initialized$e(_this), "incompatibleTokens", [
|
|
9559
9548
|
"y",
|
|
9560
9549
|
"Y",
|
|
9561
9550
|
"u",
|
|
@@ -9682,7 +9671,7 @@ function _create_class$d(Constructor, protoProps, staticProps) {
|
|
|
9682
9671
|
if (protoProps) _defineProperties$d(Constructor.prototype, protoProps);
|
|
9683
9672
|
return Constructor;
|
|
9684
9673
|
}
|
|
9685
|
-
function _define_property$
|
|
9674
|
+
function _define_property$t(obj, key, value) {
|
|
9686
9675
|
if (key in obj) {
|
|
9687
9676
|
Object.defineProperty(obj, key, {
|
|
9688
9677
|
value: value,
|
|
@@ -9762,8 +9751,8 @@ var AMPMParser = /*#__PURE__*/ function(Parser) {
|
|
|
9762
9751
|
_class_call_check$d(this, AMPMParser);
|
|
9763
9752
|
var _this;
|
|
9764
9753
|
_this = _super.apply(this, arguments);
|
|
9765
|
-
_define_property$
|
|
9766
|
-
_define_property$
|
|
9754
|
+
_define_property$t(_assert_this_initialized$d(_this), "priority", 80);
|
|
9755
|
+
_define_property$t(_assert_this_initialized$d(_this), "incompatibleTokens", [
|
|
9767
9756
|
"b",
|
|
9768
9757
|
"B",
|
|
9769
9758
|
"H",
|
|
@@ -9843,7 +9832,7 @@ function _create_class$c(Constructor, protoProps, staticProps) {
|
|
|
9843
9832
|
if (protoProps) _defineProperties$c(Constructor.prototype, protoProps);
|
|
9844
9833
|
return Constructor;
|
|
9845
9834
|
}
|
|
9846
|
-
function _define_property$
|
|
9835
|
+
function _define_property$s(obj, key, value) {
|
|
9847
9836
|
if (key in obj) {
|
|
9848
9837
|
Object.defineProperty(obj, key, {
|
|
9849
9838
|
value: value,
|
|
@@ -9923,8 +9912,8 @@ var AMPMMidnightParser = /*#__PURE__*/ function(Parser) {
|
|
|
9923
9912
|
_class_call_check$c(this, AMPMMidnightParser);
|
|
9924
9913
|
var _this;
|
|
9925
9914
|
_this = _super.apply(this, arguments);
|
|
9926
|
-
_define_property$
|
|
9927
|
-
_define_property$
|
|
9915
|
+
_define_property$s(_assert_this_initialized$c(_this), "priority", 80);
|
|
9916
|
+
_define_property$s(_assert_this_initialized$c(_this), "incompatibleTokens", [
|
|
9928
9917
|
"a",
|
|
9929
9918
|
"B",
|
|
9930
9919
|
"H",
|
|
@@ -10004,7 +9993,7 @@ function _create_class$b(Constructor, protoProps, staticProps) {
|
|
|
10004
9993
|
if (protoProps) _defineProperties$b(Constructor.prototype, protoProps);
|
|
10005
9994
|
return Constructor;
|
|
10006
9995
|
}
|
|
10007
|
-
function _define_property$
|
|
9996
|
+
function _define_property$r(obj, key, value) {
|
|
10008
9997
|
if (key in obj) {
|
|
10009
9998
|
Object.defineProperty(obj, key, {
|
|
10010
9999
|
value: value,
|
|
@@ -10085,8 +10074,8 @@ var DayPeriodParser = /*#__PURE__*/ function(Parser) {
|
|
|
10085
10074
|
_class_call_check$b(this, DayPeriodParser);
|
|
10086
10075
|
var _this;
|
|
10087
10076
|
_this = _super.apply(this, arguments);
|
|
10088
|
-
_define_property$
|
|
10089
|
-
_define_property$
|
|
10077
|
+
_define_property$r(_assert_this_initialized$b(_this), "priority", 80);
|
|
10078
|
+
_define_property$r(_assert_this_initialized$b(_this), "incompatibleTokens", [
|
|
10090
10079
|
"a",
|
|
10091
10080
|
"b",
|
|
10092
10081
|
"t",
|
|
@@ -10164,7 +10153,7 @@ function _create_class$a(Constructor, protoProps, staticProps) {
|
|
|
10164
10153
|
if (protoProps) _defineProperties$a(Constructor.prototype, protoProps);
|
|
10165
10154
|
return Constructor;
|
|
10166
10155
|
}
|
|
10167
|
-
function _define_property$
|
|
10156
|
+
function _define_property$q(obj, key, value) {
|
|
10168
10157
|
if (key in obj) {
|
|
10169
10158
|
Object.defineProperty(obj, key, {
|
|
10170
10159
|
value: value,
|
|
@@ -10244,8 +10233,8 @@ var Hour1to12Parser = /*#__PURE__*/ function(Parser) {
|
|
|
10244
10233
|
_class_call_check$a(this, Hour1to12Parser);
|
|
10245
10234
|
var _this;
|
|
10246
10235
|
_this = _super.apply(this, arguments);
|
|
10247
|
-
_define_property$
|
|
10248
|
-
_define_property$
|
|
10236
|
+
_define_property$q(_assert_this_initialized$a(_this), "priority", 70);
|
|
10237
|
+
_define_property$q(_assert_this_initialized$a(_this), "incompatibleTokens", [
|
|
10249
10238
|
"H",
|
|
10250
10239
|
"K",
|
|
10251
10240
|
"k",
|
|
@@ -10318,7 +10307,7 @@ function _create_class$9(Constructor, protoProps, staticProps) {
|
|
|
10318
10307
|
if (protoProps) _defineProperties$9(Constructor.prototype, protoProps);
|
|
10319
10308
|
return Constructor;
|
|
10320
10309
|
}
|
|
10321
|
-
function _define_property$
|
|
10310
|
+
function _define_property$p(obj, key, value) {
|
|
10322
10311
|
if (key in obj) {
|
|
10323
10312
|
Object.defineProperty(obj, key, {
|
|
10324
10313
|
value: value,
|
|
@@ -10398,8 +10387,8 @@ var Hour0to23Parser = /*#__PURE__*/ function(Parser) {
|
|
|
10398
10387
|
_class_call_check$9(this, Hour0to23Parser);
|
|
10399
10388
|
var _this;
|
|
10400
10389
|
_this = _super.apply(this, arguments);
|
|
10401
|
-
_define_property$
|
|
10402
|
-
_define_property$
|
|
10390
|
+
_define_property$p(_assert_this_initialized$9(_this), "priority", 70);
|
|
10391
|
+
_define_property$p(_assert_this_initialized$9(_this), "incompatibleTokens", [
|
|
10403
10392
|
"a",
|
|
10404
10393
|
"b",
|
|
10405
10394
|
"h",
|
|
@@ -10467,7 +10456,7 @@ function _create_class$8(Constructor, protoProps, staticProps) {
|
|
|
10467
10456
|
if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
|
|
10468
10457
|
return Constructor;
|
|
10469
10458
|
}
|
|
10470
|
-
function _define_property$
|
|
10459
|
+
function _define_property$o(obj, key, value) {
|
|
10471
10460
|
if (key in obj) {
|
|
10472
10461
|
Object.defineProperty(obj, key, {
|
|
10473
10462
|
value: value,
|
|
@@ -10547,8 +10536,8 @@ var Hour0To11Parser = /*#__PURE__*/ function(Parser) {
|
|
|
10547
10536
|
_class_call_check$8(this, Hour0To11Parser);
|
|
10548
10537
|
var _this;
|
|
10549
10538
|
_this = _super.apply(this, arguments);
|
|
10550
|
-
_define_property$
|
|
10551
|
-
_define_property$
|
|
10539
|
+
_define_property$o(_assert_this_initialized$8(_this), "priority", 70);
|
|
10540
|
+
_define_property$o(_assert_this_initialized$8(_this), "incompatibleTokens", [
|
|
10552
10541
|
"h",
|
|
10553
10542
|
"H",
|
|
10554
10543
|
"k",
|
|
@@ -10619,7 +10608,7 @@ function _create_class$7(Constructor, protoProps, staticProps) {
|
|
|
10619
10608
|
if (protoProps) _defineProperties$7(Constructor.prototype, protoProps);
|
|
10620
10609
|
return Constructor;
|
|
10621
10610
|
}
|
|
10622
|
-
function _define_property$
|
|
10611
|
+
function _define_property$n(obj, key, value) {
|
|
10623
10612
|
if (key in obj) {
|
|
10624
10613
|
Object.defineProperty(obj, key, {
|
|
10625
10614
|
value: value,
|
|
@@ -10699,8 +10688,8 @@ var Hour1To24Parser = /*#__PURE__*/ function(Parser) {
|
|
|
10699
10688
|
_class_call_check$7(this, Hour1To24Parser);
|
|
10700
10689
|
var _this;
|
|
10701
10690
|
_this = _super.apply(this, arguments);
|
|
10702
|
-
_define_property$
|
|
10703
|
-
_define_property$
|
|
10691
|
+
_define_property$n(_assert_this_initialized$7(_this), "priority", 70);
|
|
10692
|
+
_define_property$n(_assert_this_initialized$7(_this), "incompatibleTokens", [
|
|
10704
10693
|
"a",
|
|
10705
10694
|
"b",
|
|
10706
10695
|
"h",
|
|
@@ -10769,7 +10758,7 @@ function _create_class$6(Constructor, protoProps, staticProps) {
|
|
|
10769
10758
|
if (protoProps) _defineProperties$6(Constructor.prototype, protoProps);
|
|
10770
10759
|
return Constructor;
|
|
10771
10760
|
}
|
|
10772
|
-
function _define_property$
|
|
10761
|
+
function _define_property$m(obj, key, value) {
|
|
10773
10762
|
if (key in obj) {
|
|
10774
10763
|
Object.defineProperty(obj, key, {
|
|
10775
10764
|
value: value,
|
|
@@ -10849,8 +10838,8 @@ var MinuteParser = /*#__PURE__*/ function(Parser) {
|
|
|
10849
10838
|
_class_call_check$6(this, MinuteParser);
|
|
10850
10839
|
var _this;
|
|
10851
10840
|
_this = _super.apply(this, arguments);
|
|
10852
|
-
_define_property$
|
|
10853
|
-
_define_property$
|
|
10841
|
+
_define_property$m(_assert_this_initialized$6(_this), "priority", 60);
|
|
10842
|
+
_define_property$m(_assert_this_initialized$6(_this), "incompatibleTokens", [
|
|
10854
10843
|
"t",
|
|
10855
10844
|
"T"
|
|
10856
10845
|
]);
|
|
@@ -10913,7 +10902,7 @@ function _create_class$5(Constructor, protoProps, staticProps) {
|
|
|
10913
10902
|
if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
|
|
10914
10903
|
return Constructor;
|
|
10915
10904
|
}
|
|
10916
|
-
function _define_property$
|
|
10905
|
+
function _define_property$l(obj, key, value) {
|
|
10917
10906
|
if (key in obj) {
|
|
10918
10907
|
Object.defineProperty(obj, key, {
|
|
10919
10908
|
value: value,
|
|
@@ -10993,8 +10982,8 @@ var SecondParser = /*#__PURE__*/ function(Parser) {
|
|
|
10993
10982
|
_class_call_check$5(this, SecondParser);
|
|
10994
10983
|
var _this;
|
|
10995
10984
|
_this = _super.apply(this, arguments);
|
|
10996
|
-
_define_property$
|
|
10997
|
-
_define_property$
|
|
10985
|
+
_define_property$l(_assert_this_initialized$5(_this), "priority", 50);
|
|
10986
|
+
_define_property$l(_assert_this_initialized$5(_this), "incompatibleTokens", [
|
|
10998
10987
|
"t",
|
|
10999
10988
|
"T"
|
|
11000
10989
|
]);
|
|
@@ -11057,7 +11046,7 @@ function _create_class$4(Constructor, protoProps, staticProps) {
|
|
|
11057
11046
|
if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
|
|
11058
11047
|
return Constructor;
|
|
11059
11048
|
}
|
|
11060
|
-
function _define_property$
|
|
11049
|
+
function _define_property$k(obj, key, value) {
|
|
11061
11050
|
if (key in obj) {
|
|
11062
11051
|
Object.defineProperty(obj, key, {
|
|
11063
11052
|
value: value,
|
|
@@ -11137,8 +11126,8 @@ var FractionOfSecondParser = /*#__PURE__*/ function(Parser) {
|
|
|
11137
11126
|
_class_call_check$4(this, FractionOfSecondParser);
|
|
11138
11127
|
var _this;
|
|
11139
11128
|
_this = _super.apply(this, arguments);
|
|
11140
|
-
_define_property$
|
|
11141
|
-
_define_property$
|
|
11129
|
+
_define_property$k(_assert_this_initialized$4(_this), "priority", 30);
|
|
11130
|
+
_define_property$k(_assert_this_initialized$4(_this), "incompatibleTokens", [
|
|
11142
11131
|
"t",
|
|
11143
11132
|
"T"
|
|
11144
11133
|
]);
|
|
@@ -11189,7 +11178,7 @@ function _create_class$3(Constructor, protoProps, staticProps) {
|
|
|
11189
11178
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
11190
11179
|
return Constructor;
|
|
11191
11180
|
}
|
|
11192
|
-
function _define_property$
|
|
11181
|
+
function _define_property$j(obj, key, value) {
|
|
11193
11182
|
if (key in obj) {
|
|
11194
11183
|
Object.defineProperty(obj, key, {
|
|
11195
11184
|
value: value,
|
|
@@ -11270,8 +11259,8 @@ var ISOTimezoneWithZParser = /*#__PURE__*/ function(Parser) {
|
|
|
11270
11259
|
_class_call_check$3(this, ISOTimezoneWithZParser);
|
|
11271
11260
|
var _this;
|
|
11272
11261
|
_this = _super.apply(this, arguments);
|
|
11273
|
-
_define_property$
|
|
11274
|
-
_define_property$
|
|
11262
|
+
_define_property$j(_assert_this_initialized$3(_this), "priority", 10);
|
|
11263
|
+
_define_property$j(_assert_this_initialized$3(_this), "incompatibleTokens", [
|
|
11275
11264
|
"t",
|
|
11276
11265
|
"T",
|
|
11277
11266
|
"x"
|
|
@@ -11332,7 +11321,7 @@ function _create_class$2(Constructor, protoProps, staticProps) {
|
|
|
11332
11321
|
if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
|
|
11333
11322
|
return Constructor;
|
|
11334
11323
|
}
|
|
11335
|
-
function _define_property$
|
|
11324
|
+
function _define_property$i(obj, key, value) {
|
|
11336
11325
|
if (key in obj) {
|
|
11337
11326
|
Object.defineProperty(obj, key, {
|
|
11338
11327
|
value: value,
|
|
@@ -11413,8 +11402,8 @@ var ISOTimezoneParser = /*#__PURE__*/ function(Parser) {
|
|
|
11413
11402
|
_class_call_check$2(this, ISOTimezoneParser);
|
|
11414
11403
|
var _this;
|
|
11415
11404
|
_this = _super.apply(this, arguments);
|
|
11416
|
-
_define_property$
|
|
11417
|
-
_define_property$
|
|
11405
|
+
_define_property$i(_assert_this_initialized$2(_this), "priority", 10);
|
|
11406
|
+
_define_property$i(_assert_this_initialized$2(_this), "incompatibleTokens", [
|
|
11418
11407
|
"t",
|
|
11419
11408
|
"T",
|
|
11420
11409
|
"X"
|
|
@@ -11475,7 +11464,7 @@ function _create_class$1(Constructor, protoProps, staticProps) {
|
|
|
11475
11464
|
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
11476
11465
|
return Constructor;
|
|
11477
11466
|
}
|
|
11478
|
-
function _define_property$
|
|
11467
|
+
function _define_property$h(obj, key, value) {
|
|
11479
11468
|
if (key in obj) {
|
|
11480
11469
|
Object.defineProperty(obj, key, {
|
|
11481
11470
|
value: value,
|
|
@@ -11555,8 +11544,8 @@ var TimestampSecondsParser = /*#__PURE__*/ function(Parser) {
|
|
|
11555
11544
|
_class_call_check$1(this, TimestampSecondsParser);
|
|
11556
11545
|
var _this;
|
|
11557
11546
|
_this = _super.apply(this, arguments);
|
|
11558
|
-
_define_property$
|
|
11559
|
-
_define_property$
|
|
11547
|
+
_define_property$h(_assert_this_initialized$1(_this), "priority", 40);
|
|
11548
|
+
_define_property$h(_assert_this_initialized$1(_this), "incompatibleTokens", "*");
|
|
11560
11549
|
return _this;
|
|
11561
11550
|
}
|
|
11562
11551
|
_create_class$1(TimestampSecondsParser, [
|
|
@@ -11605,7 +11594,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
11605
11594
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
11606
11595
|
return Constructor;
|
|
11607
11596
|
}
|
|
11608
|
-
function _define_property$
|
|
11597
|
+
function _define_property$g(obj, key, value) {
|
|
11609
11598
|
if (key in obj) {
|
|
11610
11599
|
Object.defineProperty(obj, key, {
|
|
11611
11600
|
value: value,
|
|
@@ -11685,8 +11674,8 @@ var TimestampMillisecondsParser = /*#__PURE__*/ function(Parser) {
|
|
|
11685
11674
|
_class_call_check(this, TimestampMillisecondsParser);
|
|
11686
11675
|
var _this;
|
|
11687
11676
|
_this = _super.apply(this, arguments);
|
|
11688
|
-
_define_property$
|
|
11689
|
-
_define_property$
|
|
11677
|
+
_define_property$g(_assert_this_initialized(_this), "priority", 20);
|
|
11678
|
+
_define_property$g(_assert_this_initialized(_this), "incompatibleTokens", "*");
|
|
11690
11679
|
return _this;
|
|
11691
11680
|
}
|
|
11692
11681
|
_create_class(TimestampMillisecondsParser, [
|
|
@@ -13078,7 +13067,7 @@ function getFrameElement(win) {
|
|
|
13078
13067
|
/**
|
|
13079
13068
|
* Custom positioning reference element.
|
|
13080
13069
|
* @see https://floating-ui.com/docs/virtual-elements
|
|
13081
|
-
*/ function _define_property$
|
|
13070
|
+
*/ function _define_property$f(obj, key, value) {
|
|
13082
13071
|
if (key in obj) {
|
|
13083
13072
|
Object.defineProperty(obj, key, {
|
|
13084
13073
|
value: value,
|
|
@@ -13091,7 +13080,7 @@ function getFrameElement(win) {
|
|
|
13091
13080
|
}
|
|
13092
13081
|
return obj;
|
|
13093
13082
|
}
|
|
13094
|
-
function _object_spread$
|
|
13083
|
+
function _object_spread$f(target) {
|
|
13095
13084
|
for(var i = 1; i < arguments.length; i++){
|
|
13096
13085
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
13097
13086
|
var ownKeys = Object.keys(source);
|
|
@@ -13101,7 +13090,7 @@ function _object_spread$e(target) {
|
|
|
13101
13090
|
}));
|
|
13102
13091
|
}
|
|
13103
13092
|
ownKeys.forEach(function(key) {
|
|
13104
|
-
_define_property$
|
|
13093
|
+
_define_property$f(target, key, source[key]);
|
|
13105
13094
|
});
|
|
13106
13095
|
}
|
|
13107
13096
|
return target;
|
|
@@ -13230,7 +13219,7 @@ function getOppositePlacement(placement) {
|
|
|
13230
13219
|
});
|
|
13231
13220
|
}
|
|
13232
13221
|
function expandPaddingObject(padding) {
|
|
13233
|
-
return _object_spread$
|
|
13222
|
+
return _object_spread$f({
|
|
13234
13223
|
top: 0,
|
|
13235
13224
|
right: 0,
|
|
13236
13225
|
bottom: 0,
|
|
@@ -13296,7 +13285,7 @@ function _async_to_generator$1(fn) {
|
|
|
13296
13285
|
});
|
|
13297
13286
|
};
|
|
13298
13287
|
}
|
|
13299
|
-
function _define_property$
|
|
13288
|
+
function _define_property$e(obj, key, value) {
|
|
13300
13289
|
if (key in obj) {
|
|
13301
13290
|
Object.defineProperty(obj, key, {
|
|
13302
13291
|
value: value,
|
|
@@ -13315,7 +13304,7 @@ function _iterable_to_array$5(iter) {
|
|
|
13315
13304
|
function _non_iterable_spread$5() {
|
|
13316
13305
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13317
13306
|
}
|
|
13318
|
-
function _object_spread$
|
|
13307
|
+
function _object_spread$e(target) {
|
|
13319
13308
|
for(var i = 1; i < arguments.length; i++){
|
|
13320
13309
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
13321
13310
|
var ownKeys = Object.keys(source);
|
|
@@ -13325,7 +13314,7 @@ function _object_spread$d(target) {
|
|
|
13325
13314
|
}));
|
|
13326
13315
|
}
|
|
13327
13316
|
ownKeys.forEach(function(key) {
|
|
13328
|
-
_define_property$
|
|
13317
|
+
_define_property$e(target, key, source[key]);
|
|
13329
13318
|
});
|
|
13330
13319
|
}
|
|
13331
13320
|
return target;
|
|
@@ -13601,7 +13590,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
13601
13590
|
_ref = _state.sent(), nextX = _ref.x, nextY = _ref.y, data = _ref.data, reset = _ref.reset;
|
|
13602
13591
|
x = nextX != null ? nextX : x;
|
|
13603
13592
|
y = nextY != null ? nextY : y;
|
|
13604
|
-
middlewareData = _object_spread_props$b(_object_spread$
|
|
13593
|
+
middlewareData = _object_spread_props$b(_object_spread$e({}, middlewareData), _define_property$e({}, name, _object_spread$e({}, middlewareData[name], data)));
|
|
13605
13594
|
if (!(reset && resetCount <= 50)) return [
|
|
13606
13595
|
3,
|
|
13607
13596
|
10
|
|
@@ -13907,9 +13896,9 @@ function _detectOverflow() {
|
|
|
13907
13896
|
alignmentOffset = shouldAddOffset ? center < min$1$1 ? center - min$1$1 : center - max : 0;
|
|
13908
13897
|
return [
|
|
13909
13898
|
2,
|
|
13910
|
-
(_obj1 = {}, _define_property$
|
|
13899
|
+
(_obj1 = {}, _define_property$e(_obj1, axis, coords[axis] + alignmentOffset), _define_property$e(_obj1, "data", _object_spread$e((_obj = {}, _define_property$e(_obj, axis, offset), _define_property$e(_obj, "centerOffset", center - offset - alignmentOffset), _obj), shouldAddOffset && {
|
|
13911
13900
|
alignmentOffset: alignmentOffset
|
|
13912
|
-
})), _define_property$
|
|
13901
|
+
})), _define_property$e(_obj1, "reset", shouldAddOffset), _obj1)
|
|
13913
13902
|
];
|
|
13914
13903
|
}
|
|
13915
13904
|
});
|
|
@@ -14172,7 +14161,7 @@ function _convertValueToCoords() {
|
|
|
14172
14161
|
{
|
|
14173
14162
|
x: x + diffCoords.x,
|
|
14174
14163
|
y: y + diffCoords.y,
|
|
14175
|
-
data: _object_spread_props$b(_object_spread$
|
|
14164
|
+
data: _object_spread_props$b(_object_spread$e({}, diffCoords), {
|
|
14176
14165
|
placement: placement
|
|
14177
14166
|
})
|
|
14178
14167
|
}
|
|
@@ -14224,7 +14213,7 @@ function _async_to_generator(fn) {
|
|
|
14224
14213
|
});
|
|
14225
14214
|
};
|
|
14226
14215
|
}
|
|
14227
|
-
function _define_property$
|
|
14216
|
+
function _define_property$d(obj, key, value) {
|
|
14228
14217
|
if (key in obj) {
|
|
14229
14218
|
Object.defineProperty(obj, key, {
|
|
14230
14219
|
value: value,
|
|
@@ -14270,7 +14259,7 @@ function _non_iterable_rest$a() {
|
|
|
14270
14259
|
function _non_iterable_spread$4() {
|
|
14271
14260
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14272
14261
|
}
|
|
14273
|
-
function _object_spread$
|
|
14262
|
+
function _object_spread$d(target) {
|
|
14274
14263
|
for(var i = 1; i < arguments.length; i++){
|
|
14275
14264
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
14276
14265
|
var ownKeys = Object.keys(source);
|
|
@@ -14280,7 +14269,7 @@ function _object_spread$c(target) {
|
|
|
14280
14269
|
}));
|
|
14281
14270
|
}
|
|
14282
14271
|
ownKeys.forEach(function(key) {
|
|
14283
|
-
_define_property$
|
|
14272
|
+
_define_property$d(target, key, source[key]);
|
|
14284
14273
|
});
|
|
14285
14274
|
}
|
|
14286
14275
|
return target;
|
|
@@ -14645,7 +14634,7 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
14645
14634
|
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
14646
14635
|
} else {
|
|
14647
14636
|
var visualOffsets = getVisualOffsets(element);
|
|
14648
|
-
rect = _object_spread_props$a(_object_spread$
|
|
14637
|
+
rect = _object_spread_props$a(_object_spread$d({}, clippingAncestor), {
|
|
14649
14638
|
x: clippingAncestor.x - visualOffsets.x,
|
|
14650
14639
|
y: clippingAncestor.y - visualOffsets.y
|
|
14651
14640
|
});
|
|
@@ -14930,7 +14919,7 @@ function observeMove(element, onMove) {
|
|
|
14930
14919
|
// Older browsers don't support a `document` as the root and will throw an
|
|
14931
14920
|
// error.
|
|
14932
14921
|
try {
|
|
14933
|
-
io = new IntersectionObserver(handleObserve, _object_spread_props$a(_object_spread$
|
|
14922
|
+
io = new IntersectionObserver(handleObserve, _object_spread_props$a(_object_spread$d({}, options), {
|
|
14934
14923
|
// Handle <iframe>s
|
|
14935
14924
|
root: root.ownerDocument
|
|
14936
14925
|
}));
|
|
@@ -15039,13 +15028,13 @@ function observeMove(element, onMove) {
|
|
|
15039
15028
|
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
15040
15029
|
// single call. If other functions become expensive, we can add them as well.
|
|
15041
15030
|
var cache = new Map();
|
|
15042
|
-
var mergedOptions = _object_spread$
|
|
15031
|
+
var mergedOptions = _object_spread$d({
|
|
15043
15032
|
platform: platform
|
|
15044
15033
|
}, options);
|
|
15045
|
-
var platformWithCache = _object_spread_props$a(_object_spread$
|
|
15034
|
+
var platformWithCache = _object_spread_props$a(_object_spread$d({}, mergedOptions.platform), {
|
|
15046
15035
|
_c: cache
|
|
15047
15036
|
});
|
|
15048
|
-
return computePosition$1(reference, floating, _object_spread_props$a(_object_spread$
|
|
15037
|
+
return computePosition$1(reference, floating, _object_spread_props$a(_object_spread$d({}, mergedOptions), {
|
|
15049
15038
|
platform: platformWithCache
|
|
15050
15039
|
}));
|
|
15051
15040
|
};
|
|
@@ -15058,7 +15047,7 @@ function _array_like_to_array$9(arr, len) {
|
|
|
15058
15047
|
function _array_with_holes$9(arr) {
|
|
15059
15048
|
if (Array.isArray(arr)) return arr;
|
|
15060
15049
|
}
|
|
15061
|
-
function _define_property$
|
|
15050
|
+
function _define_property$c(obj, key, value) {
|
|
15062
15051
|
if (key in obj) {
|
|
15063
15052
|
Object.defineProperty(obj, key, {
|
|
15064
15053
|
value: value,
|
|
@@ -15098,7 +15087,7 @@ function _iterable_to_array_limit$9(arr, i) {
|
|
|
15098
15087
|
function _non_iterable_rest$9() {
|
|
15099
15088
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15100
15089
|
}
|
|
15101
|
-
function _object_spread$
|
|
15090
|
+
function _object_spread$c(target) {
|
|
15102
15091
|
for(var i = 1; i < arguments.length; i++){
|
|
15103
15092
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
15104
15093
|
var ownKeys = Object.keys(source);
|
|
@@ -15108,7 +15097,7 @@ function _object_spread$b(target) {
|
|
|
15108
15097
|
}));
|
|
15109
15098
|
}
|
|
15110
15099
|
ownKeys.forEach(function(key) {
|
|
15111
|
-
_define_property$
|
|
15100
|
+
_define_property$c(target, key, source[key]);
|
|
15112
15101
|
});
|
|
15113
15102
|
}
|
|
15114
15103
|
return target;
|
|
@@ -15271,7 +15260,7 @@ function useLatestRef(value) {
|
|
|
15271
15260
|
config.platform = platformRef.current;
|
|
15272
15261
|
}
|
|
15273
15262
|
computePosition(referenceRef.current, floatingRef.current, config).then(function(data) {
|
|
15274
|
-
var fullData = _object_spread_props$9(_object_spread$
|
|
15263
|
+
var fullData = _object_spread_props$9(_object_spread$c({}, data), {
|
|
15275
15264
|
// The floating element's position may be recomputed while it's closed
|
|
15276
15265
|
// but still mounted (such as when transitioning out). To ensure
|
|
15277
15266
|
// `isPositioned` will be `false` initially on the next open, avoid
|
|
@@ -15296,7 +15285,7 @@ function useLatestRef(value) {
|
|
|
15296
15285
|
if (open === false && dataRef.current.isPositioned) {
|
|
15297
15286
|
dataRef.current.isPositioned = false;
|
|
15298
15287
|
setData(function(data) {
|
|
15299
|
-
return _object_spread_props$9(_object_spread$
|
|
15288
|
+
return _object_spread_props$9(_object_spread$c({}, data), {
|
|
15300
15289
|
isPositioned: false
|
|
15301
15290
|
});
|
|
15302
15291
|
});
|
|
@@ -15359,7 +15348,7 @@ function useLatestRef(value) {
|
|
|
15359
15348
|
var x = roundByDPR(elements.floating, data.x);
|
|
15360
15349
|
var y = roundByDPR(elements.floating, data.y);
|
|
15361
15350
|
if (transform) {
|
|
15362
|
-
return _object_spread$
|
|
15351
|
+
return _object_spread$c(_object_spread_props$9(_object_spread$c({}, initialStyles), {
|
|
15363
15352
|
transform: "translate(" + x + "px, " + y + "px)"
|
|
15364
15353
|
}), getDPR(elements.floating) >= 1.5 && {
|
|
15365
15354
|
willChange: 'transform'
|
|
@@ -15378,7 +15367,7 @@ function useLatestRef(value) {
|
|
|
15378
15367
|
data.y
|
|
15379
15368
|
]);
|
|
15380
15369
|
return React.useMemo(function() {
|
|
15381
|
-
return _object_spread_props$9(_object_spread$
|
|
15370
|
+
return _object_spread_props$9(_object_spread$c({}, data), {
|
|
15382
15371
|
update: update,
|
|
15383
15372
|
refs: refs,
|
|
15384
15373
|
elements: elements,
|
|
@@ -15432,7 +15421,7 @@ function useLatestRef(value) {
|
|
|
15432
15421
|
* object may be passed.
|
|
15433
15422
|
* @see https://floating-ui.com/docs/offset
|
|
15434
15423
|
*/ var offset = function(options, deps) {
|
|
15435
|
-
return _object_spread_props$9(_object_spread$
|
|
15424
|
+
return _object_spread_props$9(_object_spread$c({}, offset$1(options)), {
|
|
15436
15425
|
options: [
|
|
15437
15426
|
options,
|
|
15438
15427
|
deps
|
|
@@ -15445,7 +15434,7 @@ function useLatestRef(value) {
|
|
|
15445
15434
|
* clipping boundary. Alternative to `autoPlacement`.
|
|
15446
15435
|
* @see https://floating-ui.com/docs/flip
|
|
15447
15436
|
*/ var flip = function(options, deps) {
|
|
15448
|
-
return _object_spread_props$9(_object_spread$
|
|
15437
|
+
return _object_spread_props$9(_object_spread$c({}, flip$1(options)), {
|
|
15449
15438
|
options: [
|
|
15450
15439
|
options,
|
|
15451
15440
|
deps
|
|
@@ -15458,7 +15447,7 @@ function useLatestRef(value) {
|
|
|
15458
15447
|
* This wraps the core `arrow` middleware to allow React refs as the element.
|
|
15459
15448
|
* @see https://floating-ui.com/docs/arrow
|
|
15460
15449
|
*/ var arrow = function(options, deps) {
|
|
15461
|
-
return _object_spread_props$9(_object_spread$
|
|
15450
|
+
return _object_spread_props$9(_object_spread$c({}, arrow$1(options)), {
|
|
15462
15451
|
options: [
|
|
15463
15452
|
options,
|
|
15464
15453
|
deps
|
|
@@ -15477,7 +15466,7 @@ function _array_with_holes$8(arr) {
|
|
|
15477
15466
|
function _array_without_holes$3(arr) {
|
|
15478
15467
|
if (Array.isArray(arr)) return _array_like_to_array$8(arr);
|
|
15479
15468
|
}
|
|
15480
|
-
function _define_property$
|
|
15469
|
+
function _define_property$b(obj, key, value) {
|
|
15481
15470
|
if (key in obj) {
|
|
15482
15471
|
Object.defineProperty(obj, key, {
|
|
15483
15472
|
value: value,
|
|
@@ -15523,7 +15512,7 @@ function _non_iterable_rest$8() {
|
|
|
15523
15512
|
function _non_iterable_spread$3() {
|
|
15524
15513
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15525
15514
|
}
|
|
15526
|
-
function _object_spread$
|
|
15515
|
+
function _object_spread$b(target) {
|
|
15527
15516
|
for(var i = 1; i < arguments.length; i++){
|
|
15528
15517
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
15529
15518
|
var ownKeys = Object.keys(source);
|
|
@@ -15533,7 +15522,7 @@ function _object_spread$a(target) {
|
|
|
15533
15522
|
}));
|
|
15534
15523
|
}
|
|
15535
15524
|
ownKeys.forEach(function(key) {
|
|
15536
|
-
_define_property$
|
|
15525
|
+
_define_property$b(target, key, source[key]);
|
|
15537
15526
|
});
|
|
15538
15527
|
}
|
|
15539
15528
|
return target;
|
|
@@ -15599,7 +15588,7 @@ function _unsupported_iterable_to_array$8(o, minLen) {
|
|
|
15599
15588
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
|
|
15600
15589
|
}
|
|
15601
15590
|
// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379
|
|
15602
|
-
var SafeReact = _object_spread$
|
|
15591
|
+
var SafeReact = _object_spread$b({}, React);
|
|
15603
15592
|
var useInsertionEffect = SafeReact.useInsertionEffect;
|
|
15604
15593
|
var useSafeInsertionEffect = useInsertionEffect || function(fn) {
|
|
15605
15594
|
return fn();
|
|
@@ -15776,10 +15765,10 @@ function error() {
|
|
|
15776
15765
|
width: isCustomShape ? width : width + computedStrokeWidth,
|
|
15777
15766
|
height: width,
|
|
15778
15767
|
viewBox: "0 0 " + width + " " + (height > width ? height : width),
|
|
15779
|
-
style: _object_spread$
|
|
15768
|
+
style: _object_spread$b((_obj = {
|
|
15780
15769
|
position: 'absolute',
|
|
15781
15770
|
pointerEvents: 'none'
|
|
15782
|
-
}, _define_property$
|
|
15771
|
+
}, _define_property$b(_obj, xOffsetProp, arrowX), _define_property$b(_obj, yOffsetProp, arrowY), _define_property$b(_obj, side, isVerticalSide || isCustomShape ? '100%' : "calc(100% - " + computedStrokeWidth / 2 + "px)"), _define_property$b(_obj, "transform", [
|
|
15783
15772
|
rotation,
|
|
15784
15773
|
transform
|
|
15785
15774
|
].filter(function(t) {
|
|
@@ -15907,8 +15896,8 @@ function useFloatingRootContext(options) {
|
|
|
15907
15896
|
options = {};
|
|
15908
15897
|
}
|
|
15909
15898
|
var nodeId = options.nodeId;
|
|
15910
|
-
var internalRootContext = useFloatingRootContext(_object_spread_props$8(_object_spread$
|
|
15911
|
-
elements: _object_spread$
|
|
15899
|
+
var internalRootContext = useFloatingRootContext(_object_spread_props$8(_object_spread$b({}, options), {
|
|
15900
|
+
elements: _object_spread$b({
|
|
15912
15901
|
reference: null,
|
|
15913
15902
|
floating: null
|
|
15914
15903
|
}, options.elements)
|
|
@@ -15928,8 +15917,8 @@ function useFloatingRootContext(options) {
|
|
|
15928
15917
|
}, [
|
|
15929
15918
|
domReference
|
|
15930
15919
|
]);
|
|
15931
|
-
var position = useFloating$1(_object_spread_props$8(_object_spread$
|
|
15932
|
-
elements: _object_spread$
|
|
15920
|
+
var position = useFloating$1(_object_spread_props$8(_object_spread$b({}, options), {
|
|
15921
|
+
elements: _object_spread$b({}, computedElements, positionReference && {
|
|
15933
15922
|
reference: positionReference
|
|
15934
15923
|
})
|
|
15935
15924
|
}));
|
|
@@ -15964,7 +15953,7 @@ function useFloatingRootContext(options) {
|
|
|
15964
15953
|
position.refs
|
|
15965
15954
|
]);
|
|
15966
15955
|
var refs = React.useMemo(function() {
|
|
15967
|
-
return _object_spread_props$8(_object_spread$
|
|
15956
|
+
return _object_spread_props$8(_object_spread$b({}, position.refs), {
|
|
15968
15957
|
setReference: setReference,
|
|
15969
15958
|
setPositionReference: setPositionReference,
|
|
15970
15959
|
domReference: domReferenceRef
|
|
@@ -15975,7 +15964,7 @@ function useFloatingRootContext(options) {
|
|
|
15975
15964
|
setPositionReference
|
|
15976
15965
|
]);
|
|
15977
15966
|
var elements = React.useMemo(function() {
|
|
15978
|
-
return _object_spread_props$8(_object_spread$
|
|
15967
|
+
return _object_spread_props$8(_object_spread$b({}, position.elements), {
|
|
15979
15968
|
domReference: domReference
|
|
15980
15969
|
});
|
|
15981
15970
|
}, [
|
|
@@ -15983,7 +15972,7 @@ function useFloatingRootContext(options) {
|
|
|
15983
15972
|
domReference
|
|
15984
15973
|
]);
|
|
15985
15974
|
var context = React.useMemo(function() {
|
|
15986
|
-
return _object_spread_props$8(_object_spread$
|
|
15975
|
+
return _object_spread_props$8(_object_spread$b({}, position, rootContext), {
|
|
15987
15976
|
refs: refs,
|
|
15988
15977
|
elements: elements,
|
|
15989
15978
|
nodeId: nodeId
|
|
@@ -16005,7 +15994,7 @@ function useFloatingRootContext(options) {
|
|
|
16005
15994
|
}
|
|
16006
15995
|
});
|
|
16007
15996
|
return React.useMemo(function() {
|
|
16008
|
-
return _object_spread_props$8(_object_spread$
|
|
15997
|
+
return _object_spread_props$8(_object_spread$b({}, position), {
|
|
16009
15998
|
context: context,
|
|
16010
15999
|
refs: refs,
|
|
16011
16000
|
elements: elements
|
|
@@ -21352,7 +21341,7 @@ var DatePicker$1 = /** @class */ function(_super) {
|
|
|
21352
21341
|
var PRESELECT_CHANGE_VIA_INPUT = "input";
|
|
21353
21342
|
var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
|
|
21354
21343
|
|
|
21355
|
-
function _tagged_template_literal$
|
|
21344
|
+
function _tagged_template_literal$g(strings, raw) {
|
|
21356
21345
|
if (!raw) {
|
|
21357
21346
|
raw = strings.slice(0);
|
|
21358
21347
|
}
|
|
@@ -21362,8 +21351,8 @@ function _tagged_template_literal$c(strings, raw) {
|
|
|
21362
21351
|
}
|
|
21363
21352
|
}));
|
|
21364
21353
|
}
|
|
21365
|
-
function _templateObject$
|
|
21366
|
-
var data = _tagged_template_literal$
|
|
21354
|
+
function _templateObject$g() {
|
|
21355
|
+
var data = _tagged_template_literal$g([
|
|
21367
21356
|
"\n .react-datepicker__day-name {\n ",
|
|
21368
21357
|
"\n color: ",
|
|
21369
21358
|
";\n }\n .react-datepicker__day-names {\n margin: 12px 0;\n }\n .react-datepicker__day-name {\n width: 40px;\n margin: 0;\n }\n .react-datepicker__day {\n height: 30px;\n width: 40px;\n margin: 0;\n border-top: 5px solid white;\n border-bottom: 5px solid white;\n border-radius: 0;\n }\n .react-datepicker__day:hover,\n .react-datepicker__day--today,\n .react-datepicker__day--selected,\n .react-datepicker__day--keyboard-selected {\n background: none;\n }\n .react-datepicker__day div {\n ",
|
|
@@ -21375,13 +21364,13 @@ function _templateObject$c() {
|
|
|
21375
21364
|
";\n background: ",
|
|
21376
21365
|
";\n }\n"
|
|
21377
21366
|
]);
|
|
21378
|
-
_templateObject$
|
|
21367
|
+
_templateObject$g = function _templateObject() {
|
|
21379
21368
|
return data;
|
|
21380
21369
|
};
|
|
21381
21370
|
return data;
|
|
21382
21371
|
}
|
|
21383
|
-
function _templateObject1$
|
|
21384
|
-
var data = _tagged_template_literal$
|
|
21372
|
+
function _templateObject1$9() {
|
|
21373
|
+
var data = _tagged_template_literal$g([
|
|
21385
21374
|
"\n .react-datepicker__day--in-selecting-range:not(\n .react-datepicker__day--selecting-range-start\n ):not(.react-datepicker__day--selecting-range-end),\n .react-datepicker__day--in-range:not(.react-datepicker__day--range-start):not(\n .react-datepicker__day--range-end\n ) {\n color: ",
|
|
21386
21375
|
";\n background: ",
|
|
21387
21376
|
";\n\n &:hover {\n background: ",
|
|
@@ -21396,13 +21385,13 @@ function _templateObject1$6() {
|
|
|
21396
21385
|
";\n }\n }\n .react-datepicker__day--selecting-range-start:not(\n .react-datepicker__day--selecting-range-end\n ),\n .react-datepicker__day--range-start:not(.react-datepicker__day--range-end) {\n background: linear-gradient(\n to right,\n transparent 50%,\n ",
|
|
21397
21386
|
" 50%\n );\n }\n"
|
|
21398
21387
|
]);
|
|
21399
|
-
_templateObject1$
|
|
21388
|
+
_templateObject1$9 = function _templateObject() {
|
|
21400
21389
|
return data;
|
|
21401
21390
|
};
|
|
21402
21391
|
return data;
|
|
21403
21392
|
}
|
|
21404
|
-
function _templateObject2$
|
|
21405
|
-
var data = _tagged_template_literal$
|
|
21393
|
+
function _templateObject2$6() {
|
|
21394
|
+
var data = _tagged_template_literal$g([
|
|
21406
21395
|
"\n &.calendar-container {\n display: flex;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n border: none;\n font-family: 'Roboto', sans-serif;\n color: ",
|
|
21407
21396
|
";\n\n .react-datepicker__header {\n padding: 0;\n border-bottom: none;\n background: none;\n }\n .react-datepicker__navigation {\n top: 6px;\n background: ",
|
|
21408
21397
|
";\n border-radius: 4px;\n transition: background ease 0.3s;\n\n &:hover {\n background: ",
|
|
@@ -21412,14 +21401,14 @@ function _templateObject2$5() {
|
|
|
21412
21401
|
"\n ",
|
|
21413
21402
|
"\n }\n"
|
|
21414
21403
|
]);
|
|
21415
|
-
_templateObject2$
|
|
21404
|
+
_templateObject2$6 = function _templateObject() {
|
|
21416
21405
|
return data;
|
|
21417
21406
|
};
|
|
21418
21407
|
return data;
|
|
21419
21408
|
}
|
|
21420
|
-
var dayStyles = css(_templateObject$
|
|
21421
|
-
var rangeStyles = css(_templateObject1$
|
|
21422
|
-
var Container = styled.div(_templateObject2$
|
|
21409
|
+
var dayStyles = css(_templateObject$g(), $paragraph300Medium, neutral400, $paragraph300Bold, primary600, $paragraph300Medium, neutral400, primary100, textPrimaryWhite, primary600);
|
|
21410
|
+
var rangeStyles = css(_templateObject1$9(), primary600, primary100, primary100, textPrimaryWhite, primary600, primary200, textPrimaryWhite, primary600, primary100, textPrimaryWhite, primary600, primary100);
|
|
21411
|
+
var Container = styled.div(_templateObject2$6(), textPrimary, neutral100, neutral300, textPrimary, $paragraph100Semibold, dayStyles, rangeStyles);
|
|
21423
21412
|
var CalendarContainer = function(param) {
|
|
21424
21413
|
var children = param.children;
|
|
21425
21414
|
return /*#__PURE__*/ jsx("div", {
|
|
@@ -21435,7 +21424,7 @@ var CalendarContainer = function(param) {
|
|
|
21435
21424
|
});
|
|
21436
21425
|
};
|
|
21437
21426
|
|
|
21438
|
-
function _define_property$
|
|
21427
|
+
function _define_property$a(obj, key, value) {
|
|
21439
21428
|
if (key in obj) {
|
|
21440
21429
|
Object.defineProperty(obj, key, {
|
|
21441
21430
|
value: value,
|
|
@@ -21448,7 +21437,7 @@ function _define_property$9(obj, key, value) {
|
|
|
21448
21437
|
}
|
|
21449
21438
|
return obj;
|
|
21450
21439
|
}
|
|
21451
|
-
function _object_spread$
|
|
21440
|
+
function _object_spread$a(target) {
|
|
21452
21441
|
for(var i = 1; i < arguments.length; i++){
|
|
21453
21442
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
21454
21443
|
var ownKeys = Object.keys(source);
|
|
@@ -21458,7 +21447,7 @@ function _object_spread$9(target) {
|
|
|
21458
21447
|
}));
|
|
21459
21448
|
}
|
|
21460
21449
|
ownKeys.forEach(function(key) {
|
|
21461
|
-
_define_property$
|
|
21450
|
+
_define_property$a(target, key, source[key]);
|
|
21462
21451
|
});
|
|
21463
21452
|
}
|
|
21464
21453
|
return target;
|
|
@@ -21484,7 +21473,7 @@ function _object_spread_props$7(target, source) {
|
|
|
21484
21473
|
}
|
|
21485
21474
|
var Calendar = function(param) {
|
|
21486
21475
|
var _param_rangeSelect = param.rangeSelect, rangeSelect = _param_rangeSelect === void 0 ? false : _param_rangeSelect, selectedDate = param.selectedDate, startDate = param.startDate, endDate = param.endDate, onChange = param.onChange;
|
|
21487
|
-
return /*#__PURE__*/ jsx(DatePicker$1, _object_spread$
|
|
21476
|
+
return /*#__PURE__*/ jsx(DatePicker$1, _object_spread$a({}, _object_spread_props$7(_object_spread$a({
|
|
21488
21477
|
onChange: onChange,
|
|
21489
21478
|
selected: rangeSelect ? null : selectedDate,
|
|
21490
21479
|
startDate: startDate || undefined,
|
|
@@ -21507,7 +21496,7 @@ var Calendar = function(param) {
|
|
|
21507
21496
|
})));
|
|
21508
21497
|
};
|
|
21509
21498
|
|
|
21510
|
-
function _define_property$
|
|
21499
|
+
function _define_property$9(obj, key, value) {
|
|
21511
21500
|
if (key in obj) {
|
|
21512
21501
|
Object.defineProperty(obj, key, {
|
|
21513
21502
|
value: value,
|
|
@@ -21520,7 +21509,7 @@ function _define_property$8(obj, key, value) {
|
|
|
21520
21509
|
}
|
|
21521
21510
|
return obj;
|
|
21522
21511
|
}
|
|
21523
|
-
function _object_spread$
|
|
21512
|
+
function _object_spread$9(target) {
|
|
21524
21513
|
for(var i = 1; i < arguments.length; i++){
|
|
21525
21514
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
21526
21515
|
var ownKeys = Object.keys(source);
|
|
@@ -21530,7 +21519,7 @@ function _object_spread$8(target) {
|
|
|
21530
21519
|
}));
|
|
21531
21520
|
}
|
|
21532
21521
|
ownKeys.forEach(function(key) {
|
|
21533
|
-
_define_property$
|
|
21522
|
+
_define_property$9(target, key, source[key]);
|
|
21534
21523
|
});
|
|
21535
21524
|
}
|
|
21536
21525
|
return target;
|
|
@@ -21562,7 +21551,7 @@ function _object_without_properties_loose$7(source, excluded) {
|
|
|
21562
21551
|
}
|
|
21563
21552
|
return target;
|
|
21564
21553
|
}
|
|
21565
|
-
function _tagged_template_literal$
|
|
21554
|
+
function _tagged_template_literal$f(strings, raw) {
|
|
21566
21555
|
if (!raw) {
|
|
21567
21556
|
raw = strings.slice(0);
|
|
21568
21557
|
}
|
|
@@ -21572,16 +21561,16 @@ function _tagged_template_literal$b(strings, raw) {
|
|
|
21572
21561
|
}
|
|
21573
21562
|
}));
|
|
21574
21563
|
}
|
|
21575
|
-
function _templateObject$
|
|
21576
|
-
var data = _tagged_template_literal$
|
|
21564
|
+
function _templateObject$f() {
|
|
21565
|
+
var data = _tagged_template_literal$f([
|
|
21577
21566
|
"\n height: 15px;\n width: 15px;\n cursor: pointer;\n"
|
|
21578
21567
|
]);
|
|
21579
|
-
_templateObject$
|
|
21568
|
+
_templateObject$f = function _templateObject() {
|
|
21580
21569
|
return data;
|
|
21581
21570
|
};
|
|
21582
21571
|
return data;
|
|
21583
21572
|
}
|
|
21584
|
-
var StyledCheckbox = styled.input(_templateObject$
|
|
21573
|
+
var StyledCheckbox = styled.input(_templateObject$f());
|
|
21585
21574
|
var Checkbox = function(_param) {
|
|
21586
21575
|
var _param_checked = _param.checked, checked = _param_checked === void 0 ? false : _param_checked, _param_indeterminate = _param.indeterminate, indeterminate = _param_indeterminate === void 0 ? false : _param_indeterminate, onChange = _param.onChange, props = _object_without_properties$7(_param, [
|
|
21587
21576
|
"checked",
|
|
@@ -21597,7 +21586,7 @@ var Checkbox = function(_param) {
|
|
|
21597
21586
|
}, [
|
|
21598
21587
|
indeterminate
|
|
21599
21588
|
]);
|
|
21600
|
-
return /*#__PURE__*/ jsx(StyledCheckbox, _object_spread$
|
|
21589
|
+
return /*#__PURE__*/ jsx(StyledCheckbox, _object_spread$9({
|
|
21601
21590
|
ref: checkboxRef,
|
|
21602
21591
|
type: "checkbox",
|
|
21603
21592
|
checked: checked,
|
|
@@ -21667,7 +21656,7 @@ function _non_iterable_rest$7() {
|
|
|
21667
21656
|
function _sliced_to_array$7(arr, i) {
|
|
21668
21657
|
return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$7();
|
|
21669
21658
|
}
|
|
21670
|
-
function _tagged_template_literal$
|
|
21659
|
+
function _tagged_template_literal$e(strings, raw) {
|
|
21671
21660
|
if (!raw) {
|
|
21672
21661
|
raw = strings.slice(0);
|
|
21673
21662
|
}
|
|
@@ -21685,18 +21674,18 @@ function _unsupported_iterable_to_array$7(o, minLen) {
|
|
|
21685
21674
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
21686
21675
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
21687
21676
|
}
|
|
21688
|
-
function _templateObject$
|
|
21689
|
-
var data = _tagged_template_literal$
|
|
21677
|
+
function _templateObject$e() {
|
|
21678
|
+
var data = _tagged_template_literal$e([
|
|
21690
21679
|
"\n position: absolute;\n z-index: 1;\n transform: translate(-50%);\n padding: ",
|
|
21691
21680
|
"px;\n border-radius: 8px;\n background: white;\n ",
|
|
21692
21681
|
"\n"
|
|
21693
21682
|
]);
|
|
21694
|
-
_templateObject$
|
|
21683
|
+
_templateObject$e = function _templateObject() {
|
|
21695
21684
|
return data;
|
|
21696
21685
|
};
|
|
21697
21686
|
return data;
|
|
21698
21687
|
}
|
|
21699
|
-
var PopperContainer = styled.div(_templateObject$
|
|
21688
|
+
var PopperContainer = styled.div(_templateObject$e(), spacing(1.5), elevation400);
|
|
21700
21689
|
var Popper = function(param) {
|
|
21701
21690
|
var anchorRef = param.anchorRef, open = param.open, onClose = param.onClose, children = param.children;
|
|
21702
21691
|
var _useState = _sliced_to_array$7(useState({
|
|
@@ -21779,7 +21768,7 @@ function _non_iterable_rest$6() {
|
|
|
21779
21768
|
function _sliced_to_array$6(arr, i) {
|
|
21780
21769
|
return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$6();
|
|
21781
21770
|
}
|
|
21782
|
-
function _tagged_template_literal$
|
|
21771
|
+
function _tagged_template_literal$d(strings, raw) {
|
|
21783
21772
|
if (!raw) {
|
|
21784
21773
|
raw = strings.slice(0);
|
|
21785
21774
|
}
|
|
@@ -21797,18 +21786,18 @@ function _unsupported_iterable_to_array$6(o, minLen) {
|
|
|
21797
21786
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
21798
21787
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
21799
21788
|
}
|
|
21800
|
-
function _templateObject$
|
|
21801
|
-
var data = _tagged_template_literal$
|
|
21789
|
+
function _templateObject$d() {
|
|
21790
|
+
var data = _tagged_template_literal$d([
|
|
21802
21791
|
"\n display: flex;\n justify-content: space-between;\n padding: ",
|
|
21803
21792
|
"px;\n border: 1px solid ",
|
|
21804
21793
|
";\n border-radius: 6;\n font-weight: 700;\n opacity: 0.8;\n"
|
|
21805
21794
|
]);
|
|
21806
|
-
_templateObject$
|
|
21795
|
+
_templateObject$d = function _templateObject() {
|
|
21807
21796
|
return data;
|
|
21808
21797
|
};
|
|
21809
21798
|
return data;
|
|
21810
21799
|
}
|
|
21811
|
-
var DatePickerButton = styled(Button)(_templateObject$
|
|
21800
|
+
var DatePickerButton = styled(Button)(_templateObject$d(), spacing(1), neutral300);
|
|
21812
21801
|
var DatePicker = function(param) {
|
|
21813
21802
|
var _param_rangeSelect = param.rangeSelect, rangeSelect = _param_rangeSelect === void 0 ? false : _param_rangeSelect, _param_selectedDate = param.selectedDate, selectedDate = _param_selectedDate === void 0 ? new Date() : _param_selectedDate, _param_startDate = param.startDate, startDate = _param_startDate === void 0 ? new Date(Date.now() - 7 * 24 * 60 * 60 * 1000) : _param_startDate, _param_endDate = param.endDate, endDate = _param_endDate === void 0 ? new Date() : _param_endDate, onChange = param.onChange;
|
|
21814
21803
|
var _useState = _sliced_to_array$6(useState(false), 2), open = _useState[0], setOpen = _useState[1];
|
|
@@ -21878,7 +21867,7 @@ var DatePicker = function(param) {
|
|
|
21878
21867
|
});
|
|
21879
21868
|
};
|
|
21880
21869
|
|
|
21881
|
-
function _define_property$
|
|
21870
|
+
function _define_property$8(obj, key, value) {
|
|
21882
21871
|
if (key in obj) {
|
|
21883
21872
|
Object.defineProperty(obj, key, {
|
|
21884
21873
|
value: value,
|
|
@@ -21891,7 +21880,7 @@ function _define_property$7(obj, key, value) {
|
|
|
21891
21880
|
}
|
|
21892
21881
|
return obj;
|
|
21893
21882
|
}
|
|
21894
|
-
function _object_spread$
|
|
21883
|
+
function _object_spread$8(target) {
|
|
21895
21884
|
for(var i = 1; i < arguments.length; i++){
|
|
21896
21885
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
21897
21886
|
var ownKeys = Object.keys(source);
|
|
@@ -21901,7 +21890,7 @@ function _object_spread$7(target) {
|
|
|
21901
21890
|
}));
|
|
21902
21891
|
}
|
|
21903
21892
|
ownKeys.forEach(function(key) {
|
|
21904
|
-
_define_property$
|
|
21893
|
+
_define_property$8(target, key, source[key]);
|
|
21905
21894
|
});
|
|
21906
21895
|
}
|
|
21907
21896
|
return target;
|
|
@@ -21952,7 +21941,7 @@ function _object_without_properties_loose$6(source, excluded) {
|
|
|
21952
21941
|
}
|
|
21953
21942
|
return target;
|
|
21954
21943
|
}
|
|
21955
|
-
function _tagged_template_literal$
|
|
21944
|
+
function _tagged_template_literal$c(strings, raw) {
|
|
21956
21945
|
if (!raw) {
|
|
21957
21946
|
raw = strings.slice(0);
|
|
21958
21947
|
}
|
|
@@ -21962,19 +21951,19 @@ function _tagged_template_literal$8(strings, raw) {
|
|
|
21962
21951
|
}
|
|
21963
21952
|
}));
|
|
21964
21953
|
}
|
|
21965
|
-
function _templateObject$
|
|
21966
|
-
var data = _tagged_template_literal$
|
|
21954
|
+
function _templateObject$c() {
|
|
21955
|
+
var data = _tagged_template_literal$c([
|
|
21967
21956
|
"\n display: ",
|
|
21968
21957
|
";\n padding: 0.5rem 0rem;\n align-items: center;\n flex-direction: column;\n position: absolute;\n height: min-content;\n width: fit-content;\n z-index: 1;\n background-color: ",
|
|
21969
21958
|
";\n border-radius: 0.5rem;\n min-width: 15.625rem;\n box-shadow: 0px 4px 1rem rgba(0, 0, 0, 0.25);\n\n z-index: 50;\n margin: auto;\n\n ",
|
|
21970
21959
|
";\n"
|
|
21971
21960
|
]);
|
|
21972
|
-
_templateObject$
|
|
21961
|
+
_templateObject$c = function _templateObject() {
|
|
21973
21962
|
return data;
|
|
21974
21963
|
};
|
|
21975
21964
|
return data;
|
|
21976
21965
|
}
|
|
21977
|
-
var Menu = styled.div(_templateObject$
|
|
21966
|
+
var Menu = styled.div(_templateObject$c(), function(param) {
|
|
21978
21967
|
var open = param.open;
|
|
21979
21968
|
return open ? 'flex' : 'none';
|
|
21980
21969
|
}, textPrimaryWhite, function(param) {
|
|
@@ -22012,7 +22001,7 @@ var Dropdown = function(_param) {
|
|
|
22012
22001
|
open,
|
|
22013
22002
|
handleClickOutside
|
|
22014
22003
|
]);
|
|
22015
|
-
return /*#__PURE__*/ jsx(Menu, _object_spread_props$6(_object_spread$
|
|
22004
|
+
return /*#__PURE__*/ jsx(Menu, _object_spread_props$6(_object_spread$8({
|
|
22016
22005
|
ref: ref
|
|
22017
22006
|
}, rest), {
|
|
22018
22007
|
open: open,
|
|
@@ -22024,7 +22013,7 @@ var Dropdown = function(_param) {
|
|
|
22024
22013
|
}));
|
|
22025
22014
|
};
|
|
22026
22015
|
|
|
22027
|
-
function _tagged_template_literal$
|
|
22016
|
+
function _tagged_template_literal$b(strings, raw) {
|
|
22028
22017
|
if (!raw) {
|
|
22029
22018
|
raw = strings.slice(0);
|
|
22030
22019
|
}
|
|
@@ -22034,50 +22023,50 @@ function _tagged_template_literal$7(strings, raw) {
|
|
|
22034
22023
|
}
|
|
22035
22024
|
}));
|
|
22036
22025
|
}
|
|
22037
|
-
function _templateObject$
|
|
22038
|
-
var data = _tagged_template_literal$
|
|
22026
|
+
function _templateObject$b() {
|
|
22027
|
+
var data = _tagged_template_literal$b([
|
|
22039
22028
|
"\n cursor: pointer;\n width: 100%;\n padding: 0 0.5rem;\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n white-space: nowrap;\n gap: 0.5rem;\n\n &:hover {\n background-color: ",
|
|
22040
22029
|
";\n }\n "
|
|
22041
22030
|
]);
|
|
22042
|
-
_templateObject$
|
|
22031
|
+
_templateObject$b = function _templateObject() {
|
|
22043
22032
|
return data;
|
|
22044
22033
|
};
|
|
22045
22034
|
return data;
|
|
22046
22035
|
}
|
|
22047
|
-
function _templateObject1$
|
|
22048
|
-
var data = _tagged_template_literal$
|
|
22036
|
+
function _templateObject1$8() {
|
|
22037
|
+
var data = _tagged_template_literal$b([
|
|
22049
22038
|
"\n cursor: pointer;\n background-color: transparent;\n text-align: left;\n border: none;\n padding: 1rem 0.625rem;\n white-space: nowrap;\n width: 100%;\n ",
|
|
22050
22039
|
"\n "
|
|
22051
22040
|
]);
|
|
22052
|
-
_templateObject1$
|
|
22041
|
+
_templateObject1$8 = function _templateObject() {
|
|
22053
22042
|
return data;
|
|
22054
22043
|
};
|
|
22055
22044
|
return data;
|
|
22056
22045
|
}
|
|
22057
|
-
function _templateObject2$
|
|
22058
|
-
var data = _tagged_template_literal$
|
|
22046
|
+
function _templateObject2$5() {
|
|
22047
|
+
var data = _tagged_template_literal$b([
|
|
22059
22048
|
"\n display: flex;\n align-items: center;\n justify-content: center;\n "
|
|
22060
22049
|
]);
|
|
22061
|
-
_templateObject2$
|
|
22050
|
+
_templateObject2$5 = function _templateObject() {
|
|
22062
22051
|
return data;
|
|
22063
22052
|
};
|
|
22064
22053
|
return data;
|
|
22065
22054
|
}
|
|
22066
|
-
function _templateObject3$
|
|
22067
|
-
var data = _tagged_template_literal$
|
|
22055
|
+
function _templateObject3$3() {
|
|
22056
|
+
var data = _tagged_template_literal$b([
|
|
22068
22057
|
"\n display: inline-block;\n width: 100%;\n "
|
|
22069
22058
|
]);
|
|
22070
|
-
_templateObject3$
|
|
22059
|
+
_templateObject3$3 = function _templateObject() {
|
|
22071
22060
|
return data;
|
|
22072
22061
|
};
|
|
22073
22062
|
return data;
|
|
22074
22063
|
}
|
|
22075
22064
|
var DropdownOption = function(param) {
|
|
22076
22065
|
var label = param.label, href = param.href, onClick = param.onClick, icon = param.icon;
|
|
22077
|
-
var dropdownOptionStyles = css(_templateObject$
|
|
22078
|
-
var optionStyles = css(_templateObject1$
|
|
22079
|
-
var iconStyles = css(_templateObject2$
|
|
22080
|
-
var dropdownOptionWrapper = css(_templateObject3$
|
|
22066
|
+
var dropdownOptionStyles = css(_templateObject$b(), primary100);
|
|
22067
|
+
var optionStyles = css(_templateObject1$8(), $paragraph200Regular);
|
|
22068
|
+
var iconStyles = css(_templateObject2$5());
|
|
22069
|
+
var dropdownOptionWrapper = css(_templateObject3$3());
|
|
22081
22070
|
return /*#__PURE__*/ jsx("div", {
|
|
22082
22071
|
css: dropdownOptionWrapper,
|
|
22083
22072
|
children: /*#__PURE__*/ jsxs("div", {
|
|
@@ -22109,7 +22098,7 @@ var DropdownOption = function(param) {
|
|
|
22109
22098
|
});
|
|
22110
22099
|
};
|
|
22111
22100
|
|
|
22112
|
-
function _define_property$
|
|
22101
|
+
function _define_property$7(obj, key, value) {
|
|
22113
22102
|
if (key in obj) {
|
|
22114
22103
|
Object.defineProperty(obj, key, {
|
|
22115
22104
|
value: value,
|
|
@@ -22122,7 +22111,7 @@ function _define_property$6(obj, key, value) {
|
|
|
22122
22111
|
}
|
|
22123
22112
|
return obj;
|
|
22124
22113
|
}
|
|
22125
|
-
function _object_spread$
|
|
22114
|
+
function _object_spread$7(target) {
|
|
22126
22115
|
for(var i = 1; i < arguments.length; i++){
|
|
22127
22116
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
22128
22117
|
var ownKeys = Object.keys(source);
|
|
@@ -22132,7 +22121,7 @@ function _object_spread$6(target) {
|
|
|
22132
22121
|
}));
|
|
22133
22122
|
}
|
|
22134
22123
|
ownKeys.forEach(function(key) {
|
|
22135
|
-
_define_property$
|
|
22124
|
+
_define_property$7(target, key, source[key]);
|
|
22136
22125
|
});
|
|
22137
22126
|
}
|
|
22138
22127
|
return target;
|
|
@@ -22183,7 +22172,7 @@ function _object_without_properties_loose$5(source, excluded) {
|
|
|
22183
22172
|
}
|
|
22184
22173
|
return target;
|
|
22185
22174
|
}
|
|
22186
|
-
function _tagged_template_literal$
|
|
22175
|
+
function _tagged_template_literal$a(strings, raw) {
|
|
22187
22176
|
if (!raw) {
|
|
22188
22177
|
raw = strings.slice(0);
|
|
22189
22178
|
}
|
|
@@ -22193,17 +22182,17 @@ function _tagged_template_literal$6(strings, raw) {
|
|
|
22193
22182
|
}
|
|
22194
22183
|
}));
|
|
22195
22184
|
}
|
|
22196
|
-
function _templateObject$
|
|
22197
|
-
var data = _tagged_template_literal$
|
|
22185
|
+
function _templateObject$a() {
|
|
22186
|
+
var data = _tagged_template_literal$a([
|
|
22198
22187
|
"\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n overflow: hidden;\n"
|
|
22199
22188
|
]);
|
|
22200
|
-
_templateObject$
|
|
22189
|
+
_templateObject$a = function _templateObject() {
|
|
22201
22190
|
return data;
|
|
22202
22191
|
};
|
|
22203
22192
|
return data;
|
|
22204
22193
|
}
|
|
22205
|
-
function _templateObject1$
|
|
22206
|
-
var data = _tagged_template_literal$
|
|
22194
|
+
function _templateObject1$7() {
|
|
22195
|
+
var data = _tagged_template_literal$a([
|
|
22207
22196
|
"\n flex: 1;\n border: 1px solid\n ",
|
|
22208
22197
|
";\n\n background-color: ",
|
|
22209
22198
|
";\n border-radius: 0.5rem;\n\n color: ",
|
|
@@ -22216,26 +22205,26 @@ function _templateObject1$4() {
|
|
|
22216
22205
|
";\n }\n\n ",
|
|
22217
22206
|
"\n"
|
|
22218
22207
|
]);
|
|
22219
|
-
_templateObject1$
|
|
22208
|
+
_templateObject1$7 = function _templateObject() {
|
|
22220
22209
|
return data;
|
|
22221
22210
|
};
|
|
22222
22211
|
return data;
|
|
22223
22212
|
}
|
|
22224
|
-
function _templateObject2$
|
|
22225
|
-
var data = _tagged_template_literal$
|
|
22213
|
+
function _templateObject2$4() {
|
|
22214
|
+
var data = _tagged_template_literal$a([
|
|
22226
22215
|
"\n position: absolute;\n left: ",
|
|
22227
22216
|
";\n right: ",
|
|
22228
22217
|
";\n\n display: flex;\n align-items: center;\n justify-content: center;\n"
|
|
22229
22218
|
]);
|
|
22230
|
-
_templateObject2$
|
|
22219
|
+
_templateObject2$4 = function _templateObject() {
|
|
22231
22220
|
return data;
|
|
22232
22221
|
};
|
|
22233
22222
|
return data;
|
|
22234
22223
|
}
|
|
22235
22224
|
// Wrapper for the Input and Icons
|
|
22236
|
-
var InputWrapper$1 = styled.div(_templateObject$
|
|
22225
|
+
var InputWrapper$1 = styled.div(_templateObject$a());
|
|
22237
22226
|
// Style for the Input itself
|
|
22238
|
-
var BaseInput = styled.input(_templateObject1$
|
|
22227
|
+
var BaseInput = styled.input(_templateObject1$7(), function(param) {
|
|
22239
22228
|
var error = param.error, disabled = param.disabled;
|
|
22240
22229
|
return error && !disabled ? danger600 : neutral200;
|
|
22241
22230
|
}, function(param) {
|
|
@@ -22261,7 +22250,7 @@ var BaseInput = styled.input(_templateObject1$4(), function(param) {
|
|
|
22261
22250
|
return sz === 'lg' ? $paragraph100Regular : $paragraph200Regular;
|
|
22262
22251
|
});
|
|
22263
22252
|
// Style for the Icons
|
|
22264
|
-
var IconWrapper$1 = styled.span(_templateObject2$
|
|
22253
|
+
var IconWrapper$1 = styled.span(_templateObject2$4(), function(param) {
|
|
22265
22254
|
var position = param.position;
|
|
22266
22255
|
return position === 'left' ? '0.5rem' : 'auto';
|
|
22267
22256
|
}, function(param) {
|
|
@@ -22281,7 +22270,7 @@ var Input = function(_param) {
|
|
|
22281
22270
|
position: "left",
|
|
22282
22271
|
children: /*#__PURE__*/ jsx(LeftIcon, {})
|
|
22283
22272
|
}),
|
|
22284
|
-
/*#__PURE__*/ jsx(BaseInput, _object_spread_props$5(_object_spread$
|
|
22273
|
+
/*#__PURE__*/ jsx(BaseInput, _object_spread_props$5(_object_spread$7({}, props), {
|
|
22285
22274
|
sz: sz,
|
|
22286
22275
|
error: error
|
|
22287
22276
|
})),
|
|
@@ -22304,7 +22293,7 @@ function _array_with_holes$5(arr) {
|
|
|
22304
22293
|
function _array_without_holes$2(arr) {
|
|
22305
22294
|
if (Array.isArray(arr)) return _array_like_to_array$5(arr);
|
|
22306
22295
|
}
|
|
22307
|
-
function _define_property$
|
|
22296
|
+
function _define_property$6(obj, key, value) {
|
|
22308
22297
|
if (key in obj) {
|
|
22309
22298
|
Object.defineProperty(obj, key, {
|
|
22310
22299
|
value: value,
|
|
@@ -22350,7 +22339,7 @@ function _non_iterable_rest$5() {
|
|
|
22350
22339
|
function _non_iterable_spread$2() {
|
|
22351
22340
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22352
22341
|
}
|
|
22353
|
-
function _object_spread$
|
|
22342
|
+
function _object_spread$6(target) {
|
|
22354
22343
|
for(var i = 1; i < arguments.length; i++){
|
|
22355
22344
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
22356
22345
|
var ownKeys = Object.keys(source);
|
|
@@ -22360,7 +22349,7 @@ function _object_spread$5(target) {
|
|
|
22360
22349
|
}));
|
|
22361
22350
|
}
|
|
22362
22351
|
ownKeys.forEach(function(key) {
|
|
22363
|
-
_define_property$
|
|
22352
|
+
_define_property$6(target, key, source[key]);
|
|
22364
22353
|
});
|
|
22365
22354
|
}
|
|
22366
22355
|
return target;
|
|
@@ -22414,7 +22403,7 @@ function _object_without_properties_loose$4(source, excluded) {
|
|
|
22414
22403
|
function _sliced_to_array$5(arr, i) {
|
|
22415
22404
|
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$5(arr, i) || _non_iterable_rest$5();
|
|
22416
22405
|
}
|
|
22417
|
-
function _tagged_template_literal$
|
|
22406
|
+
function _tagged_template_literal$9(strings, raw) {
|
|
22418
22407
|
if (!raw) {
|
|
22419
22408
|
raw = strings.slice(0);
|
|
22420
22409
|
}
|
|
@@ -22435,26 +22424,26 @@ function _unsupported_iterable_to_array$5(o, minLen) {
|
|
|
22435
22424
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
22436
22425
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
|
|
22437
22426
|
}
|
|
22438
|
-
function _templateObject$
|
|
22439
|
-
var data = _tagged_template_literal$
|
|
22427
|
+
function _templateObject$9() {
|
|
22428
|
+
var data = _tagged_template_literal$9([
|
|
22440
22429
|
"\n display: flex;\n align-items: center;\n width: 100%;\n"
|
|
22441
22430
|
]);
|
|
22442
|
-
_templateObject$
|
|
22431
|
+
_templateObject$9 = function _templateObject() {
|
|
22443
22432
|
return data;
|
|
22444
22433
|
};
|
|
22445
22434
|
return data;
|
|
22446
22435
|
}
|
|
22447
|
-
function _templateObject1$
|
|
22448
|
-
var data = _tagged_template_literal$
|
|
22436
|
+
function _templateObject1$6() {
|
|
22437
|
+
var data = _tagged_template_literal$9([
|
|
22449
22438
|
"\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n"
|
|
22450
22439
|
]);
|
|
22451
|
-
_templateObject1$
|
|
22440
|
+
_templateObject1$6 = function _templateObject() {
|
|
22452
22441
|
return data;
|
|
22453
22442
|
};
|
|
22454
22443
|
return data;
|
|
22455
22444
|
}
|
|
22456
|
-
function _templateObject2$
|
|
22457
|
-
var data = _tagged_template_literal$
|
|
22445
|
+
function _templateObject2$3() {
|
|
22446
|
+
var data = _tagged_template_literal$9([
|
|
22458
22447
|
"\n flex: 1;\n cursor: pointer;\n border: 1px solid\n ",
|
|
22459
22448
|
";\n background-color: ",
|
|
22460
22449
|
";\n border-radius: 0.5rem;\n -webkit-appearance: none;\n -moz-appearance: none;\n &::-ms-expand {\n display: none;\n }\n color: ",
|
|
@@ -22464,24 +22453,24 @@ function _templateObject2$2() {
|
|
|
22464
22453
|
";\n }\n\n ",
|
|
22465
22454
|
"\n"
|
|
22466
22455
|
]);
|
|
22467
|
-
_templateObject2$
|
|
22456
|
+
_templateObject2$3 = function _templateObject() {
|
|
22468
22457
|
return data;
|
|
22469
22458
|
};
|
|
22470
22459
|
return data;
|
|
22471
22460
|
}
|
|
22472
|
-
function _templateObject3$
|
|
22473
|
-
var data = _tagged_template_literal$
|
|
22461
|
+
function _templateObject3$2() {
|
|
22462
|
+
var data = _tagged_template_literal$9([
|
|
22474
22463
|
"\n background-color: ",
|
|
22475
22464
|
";\n border-radius: 1rem;\n border: none;\n cursor: pointer;\n padding: 0.25rem 0.313rem;\n display: flex;\n gap: 0.25rem;\n ",
|
|
22476
22465
|
"\n align-items: center;\n justify-content: center;\n"
|
|
22477
22466
|
]);
|
|
22478
|
-
_templateObject3$
|
|
22467
|
+
_templateObject3$2 = function _templateObject() {
|
|
22479
22468
|
return data;
|
|
22480
22469
|
};
|
|
22481
22470
|
return data;
|
|
22482
22471
|
}
|
|
22483
22472
|
function _templateObject4$1() {
|
|
22484
|
-
var data = _tagged_template_literal$
|
|
22473
|
+
var data = _tagged_template_literal$9([
|
|
22485
22474
|
"\n position: absolute;\n display: flex;\n gap: 0.25rem;\n width: min-content;\n height: auto;\n overflow-x: scroll;\n padding: ",
|
|
22486
22475
|
";\n"
|
|
22487
22476
|
]);
|
|
@@ -22491,7 +22480,7 @@ function _templateObject4$1() {
|
|
|
22491
22480
|
return data;
|
|
22492
22481
|
}
|
|
22493
22482
|
function _templateObject5$1() {
|
|
22494
|
-
var data = _tagged_template_literal$
|
|
22483
|
+
var data = _tagged_template_literal$9([
|
|
22495
22484
|
"\n position: absolute;\n right: 0.5rem;\n display: flex;\n align-items: center;\n justify-content: center;\n"
|
|
22496
22485
|
]);
|
|
22497
22486
|
_templateObject5$1 = function _templateObject() {
|
|
@@ -22500,7 +22489,7 @@ function _templateObject5$1() {
|
|
|
22500
22489
|
return data;
|
|
22501
22490
|
}
|
|
22502
22491
|
function _templateObject6$1() {
|
|
22503
|
-
var data = _tagged_template_literal$
|
|
22492
|
+
var data = _tagged_template_literal$9([
|
|
22504
22493
|
"\n ",
|
|
22505
22494
|
"\n color: ",
|
|
22506
22495
|
"/80;\n"
|
|
@@ -22511,10 +22500,10 @@ function _templateObject6$1() {
|
|
|
22511
22500
|
return data;
|
|
22512
22501
|
}
|
|
22513
22502
|
// Wrapper for the Input and Icons
|
|
22514
|
-
var InputWrapper = styled.div(_templateObject$
|
|
22515
|
-
var DropdownWrapper = styled.div(_templateObject1$
|
|
22503
|
+
var InputWrapper = styled.div(_templateObject$9());
|
|
22504
|
+
var DropdownWrapper = styled.div(_templateObject1$6());
|
|
22516
22505
|
// Style for the Select itself
|
|
22517
|
-
var BaseSelect = styled.select(_templateObject2$
|
|
22506
|
+
var BaseSelect = styled.select(_templateObject2$3(), function(param) {
|
|
22518
22507
|
var error = param.error, disabled = param.disabled;
|
|
22519
22508
|
return error && !disabled ? danger600 : neutral200;
|
|
22520
22509
|
}, function(param) {
|
|
@@ -22530,7 +22519,7 @@ var BaseSelect = styled.select(_templateObject2$2(), function(param) {
|
|
|
22530
22519
|
var sz = param.sz;
|
|
22531
22520
|
return sz === 'lg' ? $paragraph100Regular : $paragraph200Regular;
|
|
22532
22521
|
});
|
|
22533
|
-
var Chip = styled.button(_templateObject3$
|
|
22522
|
+
var Chip = styled.button(_templateObject3$2(), neutral100, $label200Medium);
|
|
22534
22523
|
var ChipWrapper = styled.div(_templateObject4$1(), function(param) {
|
|
22535
22524
|
var sz = param.sz;
|
|
22536
22525
|
return sz === 'lg' ? '0.5rem 0.563rem' : '0.375rem 0.563rem';
|
|
@@ -22574,7 +22563,7 @@ var MultiSelect = function(_param) {
|
|
|
22574
22563
|
children: [
|
|
22575
22564
|
/*#__PURE__*/ jsxs(InputWrapper, {
|
|
22576
22565
|
children: [
|
|
22577
|
-
/*#__PURE__*/ jsx(BaseSelect, _object_spread_props$4(_object_spread$
|
|
22566
|
+
/*#__PURE__*/ jsx(BaseSelect, _object_spread_props$4(_object_spread$6({}, props), {
|
|
22578
22567
|
onMouseDown: function(e) {
|
|
22579
22568
|
setOpen(!open);
|
|
22580
22569
|
e.stopPropagation();
|
|
@@ -22593,7 +22582,7 @@ var MultiSelect = function(_param) {
|
|
|
22593
22582
|
/*#__PURE__*/ jsx(ChipWrapper, {
|
|
22594
22583
|
sz: sz,
|
|
22595
22584
|
children: values.map(function(option) {
|
|
22596
|
-
return /*#__PURE__*/ jsx(MultiSelectChip, _object_spread_props$4(_object_spread$
|
|
22585
|
+
return /*#__PURE__*/ jsx(MultiSelectChip, _object_spread_props$4(_object_spread$6({}, option), {
|
|
22597
22586
|
onClick: function() {
|
|
22598
22587
|
return toggleSelect(option);
|
|
22599
22588
|
}
|
|
@@ -22608,7 +22597,7 @@ var MultiSelect = function(_param) {
|
|
|
22608
22597
|
bottom: 110,
|
|
22609
22598
|
children: /*#__PURE__*/ jsx(Fragment, {
|
|
22610
22599
|
children: options.map(function(option) {
|
|
22611
|
-
return /*#__PURE__*/ jsx(DropdownOption, _object_spread_props$4(_object_spread$
|
|
22600
|
+
return /*#__PURE__*/ jsx(DropdownOption, _object_spread_props$4(_object_spread$6({}, option), {
|
|
22612
22601
|
onClick: function() {
|
|
22613
22602
|
return toggleSelect(option);
|
|
22614
22603
|
}
|
|
@@ -22628,7 +22617,7 @@ function _array_like_to_array$4(arr, len) {
|
|
|
22628
22617
|
function _array_with_holes$4(arr) {
|
|
22629
22618
|
if (Array.isArray(arr)) return arr;
|
|
22630
22619
|
}
|
|
22631
|
-
function _define_property$
|
|
22620
|
+
function _define_property$5(obj, key, value) {
|
|
22632
22621
|
if (key in obj) {
|
|
22633
22622
|
Object.defineProperty(obj, key, {
|
|
22634
22623
|
value: value,
|
|
@@ -22668,7 +22657,7 @@ function _iterable_to_array_limit$4(arr, i) {
|
|
|
22668
22657
|
function _non_iterable_rest$4() {
|
|
22669
22658
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22670
22659
|
}
|
|
22671
|
-
function _object_spread$
|
|
22660
|
+
function _object_spread$5(target) {
|
|
22672
22661
|
for(var i = 1; i < arguments.length; i++){
|
|
22673
22662
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
22674
22663
|
var ownKeys = Object.keys(source);
|
|
@@ -22678,7 +22667,7 @@ function _object_spread$4(target) {
|
|
|
22678
22667
|
}));
|
|
22679
22668
|
}
|
|
22680
22669
|
ownKeys.forEach(function(key) {
|
|
22681
|
-
_define_property$
|
|
22670
|
+
_define_property$5(target, key, source[key]);
|
|
22682
22671
|
});
|
|
22683
22672
|
}
|
|
22684
22673
|
return target;
|
|
@@ -22713,7 +22702,7 @@ function _object_without_properties_loose$3(source, excluded) {
|
|
|
22713
22702
|
function _sliced_to_array$4(arr, i) {
|
|
22714
22703
|
return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$4();
|
|
22715
22704
|
}
|
|
22716
|
-
function _tagged_template_literal$
|
|
22705
|
+
function _tagged_template_literal$8(strings, raw) {
|
|
22717
22706
|
if (!raw) {
|
|
22718
22707
|
raw = strings.slice(0);
|
|
22719
22708
|
}
|
|
@@ -22731,17 +22720,17 @@ function _unsupported_iterable_to_array$4(o, minLen) {
|
|
|
22731
22720
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
22732
22721
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
|
|
22733
22722
|
}
|
|
22734
|
-
function _templateObject$
|
|
22735
|
-
var data = _tagged_template_literal$
|
|
22723
|
+
function _templateObject$8() {
|
|
22724
|
+
var data = _tagged_template_literal$8([
|
|
22736
22725
|
"\n font-size: 1rem;\n animation: spin 500ms linear infinite;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",
|
|
22737
22726
|
";\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"
|
|
22738
22727
|
]);
|
|
22739
|
-
_templateObject$
|
|
22728
|
+
_templateObject$8 = function _templateObject() {
|
|
22740
22729
|
return data;
|
|
22741
22730
|
};
|
|
22742
22731
|
return data;
|
|
22743
22732
|
}
|
|
22744
|
-
var loadingWheelStyle = css(_templateObject$
|
|
22733
|
+
var loadingWheelStyle = css(_templateObject$8(), primary500);
|
|
22745
22734
|
var Loader = function() {
|
|
22746
22735
|
return /*#__PURE__*/ jsx("div", {
|
|
22747
22736
|
css: loadingWheelStyle,
|
|
@@ -22775,7 +22764,7 @@ var Search = function(_param) {
|
|
|
22775
22764
|
setLoading,
|
|
22776
22765
|
setSearchValue
|
|
22777
22766
|
]);
|
|
22778
|
-
return /*#__PURE__*/ jsx(Input, _object_spread$
|
|
22767
|
+
return /*#__PURE__*/ jsx(Input, _object_spread$5({
|
|
22779
22768
|
value: value,
|
|
22780
22769
|
leftIcon: SearchIcon,
|
|
22781
22770
|
rightIcon: loading ? Loader : undefined,
|
|
@@ -22784,7 +22773,7 @@ var Search = function(_param) {
|
|
|
22784
22773
|
}, props));
|
|
22785
22774
|
};
|
|
22786
22775
|
|
|
22787
|
-
function _define_property$
|
|
22776
|
+
function _define_property$4(obj, key, value) {
|
|
22788
22777
|
if (key in obj) {
|
|
22789
22778
|
Object.defineProperty(obj, key, {
|
|
22790
22779
|
value: value,
|
|
@@ -22797,7 +22786,7 @@ function _define_property$3(obj, key, value) {
|
|
|
22797
22786
|
}
|
|
22798
22787
|
return obj;
|
|
22799
22788
|
}
|
|
22800
|
-
function _object_spread$
|
|
22789
|
+
function _object_spread$4(target) {
|
|
22801
22790
|
for(var i = 1; i < arguments.length; i++){
|
|
22802
22791
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
22803
22792
|
var ownKeys = Object.keys(source);
|
|
@@ -22807,7 +22796,7 @@ function _object_spread$3(target) {
|
|
|
22807
22796
|
}));
|
|
22808
22797
|
}
|
|
22809
22798
|
ownKeys.forEach(function(key) {
|
|
22810
|
-
_define_property$
|
|
22799
|
+
_define_property$4(target, key, source[key]);
|
|
22811
22800
|
});
|
|
22812
22801
|
}
|
|
22813
22802
|
return target;
|
|
@@ -22858,7 +22847,7 @@ function _object_without_properties_loose$2(source, excluded) {
|
|
|
22858
22847
|
}
|
|
22859
22848
|
return target;
|
|
22860
22849
|
}
|
|
22861
|
-
function _tagged_template_literal$
|
|
22850
|
+
function _tagged_template_literal$7(strings, raw) {
|
|
22862
22851
|
if (!raw) {
|
|
22863
22852
|
raw = strings.slice(0);
|
|
22864
22853
|
}
|
|
@@ -22868,18 +22857,18 @@ function _tagged_template_literal$3(strings, raw) {
|
|
|
22868
22857
|
}
|
|
22869
22858
|
}));
|
|
22870
22859
|
}
|
|
22871
|
-
function _templateObject$
|
|
22872
|
-
var data = _tagged_template_literal$
|
|
22860
|
+
function _templateObject$7() {
|
|
22861
|
+
var data = _tagged_template_literal$7([
|
|
22873
22862
|
"\n ",
|
|
22874
22863
|
"\n color: ",
|
|
22875
22864
|
";\n font-family: 'Roboto', sans-serif;\n"
|
|
22876
22865
|
]);
|
|
22877
|
-
_templateObject$
|
|
22866
|
+
_templateObject$7 = function _templateObject() {
|
|
22878
22867
|
return data;
|
|
22879
22868
|
};
|
|
22880
22869
|
return data;
|
|
22881
22870
|
}
|
|
22882
|
-
var StyledTypography = styled.div(_templateObject$
|
|
22871
|
+
var StyledTypography = styled.div(_templateObject$7(), function(param) {
|
|
22883
22872
|
var $variant = param.$variant;
|
|
22884
22873
|
return typography["$".concat($variant)];
|
|
22885
22874
|
}, function(param) {
|
|
@@ -22894,7 +22883,7 @@ var Typography = function(_param) {
|
|
|
22894
22883
|
]);
|
|
22895
22884
|
var Tag = getTagForVariant(variant);
|
|
22896
22885
|
var colorString = color === 'primary' ? textPrimary : color === 'secondary' ? textSecondary : color;
|
|
22897
|
-
return /*#__PURE__*/ jsx(StyledTypography, _object_spread_props$3(_object_spread$
|
|
22886
|
+
return /*#__PURE__*/ jsx(StyledTypography, _object_spread_props$3(_object_spread$4({
|
|
22898
22887
|
as: Tag,
|
|
22899
22888
|
$variant: variant,
|
|
22900
22889
|
$color: colorString
|
|
@@ -22937,7 +22926,7 @@ function getTagForVariant(variant) {
|
|
|
22937
22926
|
}
|
|
22938
22927
|
}
|
|
22939
22928
|
|
|
22940
|
-
function _tagged_template_literal$
|
|
22929
|
+
function _tagged_template_literal$6(strings, raw) {
|
|
22941
22930
|
if (!raw) {
|
|
22942
22931
|
raw = strings.slice(0);
|
|
22943
22932
|
}
|
|
@@ -22947,29 +22936,29 @@ function _tagged_template_literal$2(strings, raw) {
|
|
|
22947
22936
|
}
|
|
22948
22937
|
}));
|
|
22949
22938
|
}
|
|
22950
|
-
function _templateObject$
|
|
22951
|
-
var data = _tagged_template_literal$
|
|
22939
|
+
function _templateObject$6() {
|
|
22940
|
+
var data = _tagged_template_literal$6([
|
|
22952
22941
|
"\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ",
|
|
22953
22942
|
"px ",
|
|
22954
22943
|
"px ",
|
|
22955
22944
|
"px;\n"
|
|
22956
22945
|
]);
|
|
22957
|
-
_templateObject$
|
|
22946
|
+
_templateObject$6 = function _templateObject() {
|
|
22958
22947
|
return data;
|
|
22959
22948
|
};
|
|
22960
22949
|
return data;
|
|
22961
22950
|
}
|
|
22962
|
-
function _templateObject1$
|
|
22963
|
-
var data = _tagged_template_literal$
|
|
22951
|
+
function _templateObject1$5() {
|
|
22952
|
+
var data = _tagged_template_literal$6([
|
|
22964
22953
|
"\n display: flex;\n align-items: center;\n"
|
|
22965
22954
|
]);
|
|
22966
|
-
_templateObject1$
|
|
22955
|
+
_templateObject1$5 = function _templateObject() {
|
|
22967
22956
|
return data;
|
|
22968
22957
|
};
|
|
22969
22958
|
return data;
|
|
22970
22959
|
}
|
|
22971
|
-
var PaginationContainer = styled.div(_templateObject$
|
|
22972
|
-
var PageControls = styled.div(_templateObject1$
|
|
22960
|
+
var PaginationContainer = styled.div(_templateObject$6(), spacing(2), spacing(1), spacing(1));
|
|
22961
|
+
var PageControls = styled.div(_templateObject1$5());
|
|
22973
22962
|
var Pagination = function(param) {
|
|
22974
22963
|
var pageInfo = param.pageInfo, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, onPageSizeChange = param.onPageSizeChange, onPageChange = param.onPageChange;
|
|
22975
22964
|
return /*#__PURE__*/ jsxs(PaginationContainer, {
|
|
@@ -22977,10 +22966,9 @@ var Pagination = function(param) {
|
|
|
22977
22966
|
/*#__PURE__*/ jsxs(PageControls, {
|
|
22978
22967
|
children: [
|
|
22979
22968
|
/*#__PURE__*/ jsx(Typography, {
|
|
22980
|
-
variant: "
|
|
22969
|
+
variant: "paragraph300Regular",
|
|
22981
22970
|
style: {
|
|
22982
|
-
marginRight: spacing(1)
|
|
22983
|
-
fontSize: 14
|
|
22971
|
+
marginRight: spacing(1)
|
|
22984
22972
|
},
|
|
22985
22973
|
as: "span",
|
|
22986
22974
|
children: "Rows per page:"
|
|
@@ -22993,6 +22981,9 @@ var Pagination = function(param) {
|
|
|
22993
22981
|
onPageSizeChange(Number(e.target.value));
|
|
22994
22982
|
},
|
|
22995
22983
|
disabled: isLoading,
|
|
22984
|
+
style: {
|
|
22985
|
+
fontSize: '0.75rem'
|
|
22986
|
+
},
|
|
22996
22987
|
children: [
|
|
22997
22988
|
/*#__PURE__*/ jsx("option", {
|
|
22998
22989
|
value: "10",
|
|
@@ -23021,10 +23012,7 @@ var Pagination = function(param) {
|
|
|
23021
23012
|
/*#__PURE__*/ jsxs(PageControls, {
|
|
23022
23013
|
children: [
|
|
23023
23014
|
/*#__PURE__*/ jsx(Typography, {
|
|
23024
|
-
variant: "
|
|
23025
|
-
style: {
|
|
23026
|
-
fontSize: 14
|
|
23027
|
-
},
|
|
23015
|
+
variant: "paragraph300Regular",
|
|
23028
23016
|
as: "span",
|
|
23029
23017
|
children: "".concat(pageInfo.items * (pageInfo.currentPage - 1) + 1, " – ").concat(pageInfo.items * pageInfo.currentPage, " of ").concat(pageInfo.itemCount)
|
|
23030
23018
|
}),
|
|
@@ -23046,7 +23034,7 @@ var Pagination = function(param) {
|
|
|
23046
23034
|
onClick: function() {
|
|
23047
23035
|
return onPageChange(pageInfo.currentPage + 1);
|
|
23048
23036
|
},
|
|
23049
|
-
disabled: isLoading || pageInfo.currentPage
|
|
23037
|
+
disabled: isLoading || pageInfo.currentPage >= pageInfo.pageCount,
|
|
23050
23038
|
style: {
|
|
23051
23039
|
fontSize: 10,
|
|
23052
23040
|
padding: spacing(1),
|
|
@@ -23115,7 +23103,7 @@ function _array_with_holes$3(arr) {
|
|
|
23115
23103
|
function _array_without_holes$1(arr) {
|
|
23116
23104
|
if (Array.isArray(arr)) return _array_like_to_array$3(arr);
|
|
23117
23105
|
}
|
|
23118
|
-
function _define_property$
|
|
23106
|
+
function _define_property$3(obj, key, value) {
|
|
23119
23107
|
if (key in obj) {
|
|
23120
23108
|
Object.defineProperty(obj, key, {
|
|
23121
23109
|
value: value,
|
|
@@ -23168,7 +23156,7 @@ function _non_iterable_rest$3() {
|
|
|
23168
23156
|
function _non_iterable_spread$1() {
|
|
23169
23157
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23170
23158
|
}
|
|
23171
|
-
function _object_spread$
|
|
23159
|
+
function _object_spread$3(target) {
|
|
23172
23160
|
for(var i = 1; i < arguments.length; i++){
|
|
23173
23161
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
23174
23162
|
var ownKeys = Object.keys(source);
|
|
@@ -23178,7 +23166,7 @@ function _object_spread$2(target) {
|
|
|
23178
23166
|
}));
|
|
23179
23167
|
}
|
|
23180
23168
|
ownKeys.forEach(function(key) {
|
|
23181
|
-
_define_property$
|
|
23169
|
+
_define_property$3(target, key, source[key]);
|
|
23182
23170
|
});
|
|
23183
23171
|
}
|
|
23184
23172
|
return target;
|
|
@@ -23270,7 +23258,7 @@ function functionalUpdate(updater, input) {
|
|
|
23270
23258
|
function makeStateUpdater(key, instance) {
|
|
23271
23259
|
return function(updater) {
|
|
23272
23260
|
instance.setState(function(old) {
|
|
23273
|
-
return _object_spread_props$2(_object_spread$
|
|
23261
|
+
return _object_spread_props$2(_object_spread$3({}, old), _define_property$3({}, key, functionalUpdate(updater, old[key])));
|
|
23274
23262
|
});
|
|
23275
23263
|
};
|
|
23276
23264
|
}
|
|
@@ -23381,7 +23369,7 @@ function createCell(table, row, column, columnId) {
|
|
|
23381
23369
|
function createColumn(table, columnDef, depth, parent) {
|
|
23382
23370
|
var _ref, _resolvedColumnDef$id;
|
|
23383
23371
|
var defaultColumn = table._getDefaultColumnDef();
|
|
23384
|
-
var resolvedColumnDef = _object_spread$
|
|
23372
|
+
var resolvedColumnDef = _object_spread$3({}, defaultColumn, columnDef);
|
|
23385
23373
|
var accessorKey = resolvedColumnDef.accessorKey;
|
|
23386
23374
|
var id = (_ref = (_resolvedColumnDef$id = resolvedColumnDef.id) != null ? _resolvedColumnDef$id : accessorKey ? typeof String.prototype.replaceAll === 'function' ? accessorKey.replaceAll('.', '_') : accessorKey.replace(/\./g, '_') : undefined) != null ? _ref : typeof resolvedColumnDef.header === 'string' ? resolvedColumnDef.header : undefined;
|
|
23387
23375
|
var accessorFn;
|
|
@@ -24060,7 +24048,7 @@ var ColumnFiltering = {
|
|
|
24060
24048
|
};
|
|
24061
24049
|
},
|
|
24062
24050
|
getInitialState: function(state) {
|
|
24063
|
-
return _object_spread$
|
|
24051
|
+
return _object_spread$3({
|
|
24064
24052
|
columnFilters: []
|
|
24065
24053
|
}, state);
|
|
24066
24054
|
},
|
|
@@ -24312,7 +24300,7 @@ var ColumnGrouping = {
|
|
|
24312
24300
|
};
|
|
24313
24301
|
},
|
|
24314
24302
|
getInitialState: function(state) {
|
|
24315
|
-
return _object_spread$
|
|
24303
|
+
return _object_spread$3({
|
|
24316
24304
|
grouping: []
|
|
24317
24305
|
}, state);
|
|
24318
24306
|
},
|
|
@@ -24444,7 +24432,7 @@ function orderColumns(leafColumns, grouping, groupedColumnMode) {
|
|
|
24444
24432
|
//
|
|
24445
24433
|
var ColumnOrdering = {
|
|
24446
24434
|
getInitialState: function(state) {
|
|
24447
|
-
return _object_spread$
|
|
24435
|
+
return _object_spread$3({
|
|
24448
24436
|
columnOrder: []
|
|
24449
24437
|
}, state);
|
|
24450
24438
|
},
|
|
@@ -24529,7 +24517,7 @@ var getDefaultColumnPinningState = function() {
|
|
|
24529
24517
|
};
|
|
24530
24518
|
var ColumnPinning = {
|
|
24531
24519
|
getInitialState: function(state) {
|
|
24532
|
-
return _object_spread$
|
|
24520
|
+
return _object_spread$3({
|
|
24533
24521
|
columnPinning: getDefaultColumnPinningState()
|
|
24534
24522
|
}, state);
|
|
24535
24523
|
},
|
|
@@ -24627,7 +24615,7 @@ var ColumnPinning = {
|
|
|
24627
24615
|
return cell.column.id === columnId;
|
|
24628
24616
|
});
|
|
24629
24617
|
}).filter(Boolean).map(function(d) {
|
|
24630
|
-
return _object_spread_props$2(_object_spread$
|
|
24618
|
+
return _object_spread_props$2(_object_spread$3({}, d), {
|
|
24631
24619
|
position: 'left'
|
|
24632
24620
|
});
|
|
24633
24621
|
});
|
|
@@ -24644,7 +24632,7 @@ var ColumnPinning = {
|
|
|
24644
24632
|
return cell.column.id === columnId;
|
|
24645
24633
|
});
|
|
24646
24634
|
}).filter(Boolean).map(function(d) {
|
|
24647
|
-
return _object_spread_props$2(_object_spread$
|
|
24635
|
+
return _object_spread_props$2(_object_spread$3({}, d), {
|
|
24648
24636
|
position: 'right'
|
|
24649
24637
|
});
|
|
24650
24638
|
});
|
|
@@ -24729,7 +24717,7 @@ var ColumnSizing = (_obj = {
|
|
|
24729
24717
|
return defaultColumnSizing;
|
|
24730
24718
|
},
|
|
24731
24719
|
getInitialState: function(state) {
|
|
24732
|
-
return _object_spread$
|
|
24720
|
+
return _object_spread$3({
|
|
24733
24721
|
columnSizing: {},
|
|
24734
24722
|
columnSizingInfo: getDefaultColumnSizingInfoState()
|
|
24735
24723
|
}, state);
|
|
@@ -24742,7 +24730,7 @@ var ColumnSizing = (_obj = {
|
|
|
24742
24730
|
onColumnSizingInfoChange: makeStateUpdater('columnSizingInfo', table)
|
|
24743
24731
|
};
|
|
24744
24732
|
}
|
|
24745
|
-
}, _define_property$
|
|
24733
|
+
}, _define_property$3(_obj, "createColumn", function(column, table) {
|
|
24746
24734
|
column.getSize = function() {
|
|
24747
24735
|
var _column$columnDef$min, _ref, _column$columnDef$max;
|
|
24748
24736
|
var columnSize = table.getState().columnSizing[column.id];
|
|
@@ -24785,7 +24773,7 @@ var ColumnSizing = (_obj = {
|
|
|
24785
24773
|
column.getIsResizing = function() {
|
|
24786
24774
|
return table.getState().columnSizingInfo.isResizingColumn === column.id;
|
|
24787
24775
|
};
|
|
24788
|
-
}), _define_property$
|
|
24776
|
+
}), _define_property$3(_obj, "createHeader", function(header, table) {
|
|
24789
24777
|
header.getSize = function() {
|
|
24790
24778
|
var sum = 0;
|
|
24791
24779
|
var recurse = function(header) {
|
|
@@ -24847,14 +24835,14 @@ var ColumnSizing = (_obj = {
|
|
|
24847
24835
|
var _$_ref3 = _sliced_to_array$3(_ref3, 2), columnId = _$_ref3[0], headerSize = _$_ref3[1];
|
|
24848
24836
|
newColumnSizing[columnId] = Math.round(Math.max(headerSize + headerSize * deltaPercentage, 0) * 100) / 100;
|
|
24849
24837
|
});
|
|
24850
|
-
return _object_spread_props$2(_object_spread$
|
|
24838
|
+
return _object_spread_props$2(_object_spread$3({}, old), {
|
|
24851
24839
|
deltaOffset: deltaOffset,
|
|
24852
24840
|
deltaPercentage: deltaPercentage
|
|
24853
24841
|
});
|
|
24854
24842
|
});
|
|
24855
24843
|
if (table.options.columnResizeMode === 'onChange' || eventType === 'end') {
|
|
24856
24844
|
table.setColumnSizing(function(old) {
|
|
24857
|
-
return _object_spread$
|
|
24845
|
+
return _object_spread$3({}, old, newColumnSizing);
|
|
24858
24846
|
});
|
|
24859
24847
|
}
|
|
24860
24848
|
};
|
|
@@ -24864,7 +24852,7 @@ var ColumnSizing = (_obj = {
|
|
|
24864
24852
|
var onEnd = function(clientXPos) {
|
|
24865
24853
|
updateOffset('end', clientXPos);
|
|
24866
24854
|
table.setColumnSizingInfo(function(old) {
|
|
24867
|
-
return _object_spread_props$2(_object_spread$
|
|
24855
|
+
return _object_spread_props$2(_object_spread$3({}, old), {
|
|
24868
24856
|
isResizingColumn: false,
|
|
24869
24857
|
startOffset: null,
|
|
24870
24858
|
startSize: null,
|
|
@@ -24916,7 +24904,7 @@ var ColumnSizing = (_obj = {
|
|
|
24916
24904
|
contextDocument == null || contextDocument.addEventListener('mouseup', mouseEvents.upHandler, passiveIfSupported);
|
|
24917
24905
|
}
|
|
24918
24906
|
table.setColumnSizingInfo(function(old) {
|
|
24919
|
-
return _object_spread_props$2(_object_spread$
|
|
24907
|
+
return _object_spread_props$2(_object_spread$3({}, old), {
|
|
24920
24908
|
startOffset: clientX,
|
|
24921
24909
|
startSize: startSize,
|
|
24922
24910
|
deltaOffset: 0,
|
|
@@ -24927,7 +24915,7 @@ var ColumnSizing = (_obj = {
|
|
|
24927
24915
|
});
|
|
24928
24916
|
};
|
|
24929
24917
|
};
|
|
24930
|
-
}), _define_property$
|
|
24918
|
+
}), _define_property$3(_obj, "createTable", function(table) {
|
|
24931
24919
|
table.setColumnSizing = function(updater) {
|
|
24932
24920
|
return table.options.onColumnSizingChange == null ? void 0 : table.options.onColumnSizingChange(updater);
|
|
24933
24921
|
};
|
|
@@ -24993,7 +24981,7 @@ function isTouchStartEvent(e) {
|
|
|
24993
24981
|
//
|
|
24994
24982
|
var ColumnVisibility = {
|
|
24995
24983
|
getInitialState: function(state) {
|
|
24996
|
-
return _object_spread$
|
|
24984
|
+
return _object_spread$3({
|
|
24997
24985
|
columnVisibility: {}
|
|
24998
24986
|
}, state);
|
|
24999
24987
|
},
|
|
@@ -25006,7 +24994,7 @@ var ColumnVisibility = {
|
|
|
25006
24994
|
column.toggleVisibility = function(value) {
|
|
25007
24995
|
if (column.getCanHide()) {
|
|
25008
24996
|
table.setColumnVisibility(function(old) {
|
|
25009
|
-
return _object_spread_props$2(_object_spread$
|
|
24997
|
+
return _object_spread_props$2(_object_spread$3({}, old), _define_property$3({}, column.id, value != null ? value : !column.getIsVisible()));
|
|
25010
24998
|
});
|
|
25011
24999
|
}
|
|
25012
25000
|
};
|
|
@@ -25091,7 +25079,7 @@ var ColumnVisibility = {
|
|
|
25091
25079
|
var _value;
|
|
25092
25080
|
value = (_value = value) != null ? _value : !table.getIsAllColumnsVisible();
|
|
25093
25081
|
table.setColumnVisibility(table.getAllLeafColumns().reduce(function(obj, column) {
|
|
25094
|
-
return _object_spread_props$2(_object_spread$
|
|
25082
|
+
return _object_spread_props$2(_object_spread$3({}, obj), _define_property$3({}, column.id, !value ? !(column.getCanHide != null && column.getCanHide()) : value));
|
|
25095
25083
|
}, {}));
|
|
25096
25084
|
};
|
|
25097
25085
|
table.getIsAllColumnsVisible = function() {
|
|
@@ -25144,7 +25132,7 @@ var GlobalFaceting = {
|
|
|
25144
25132
|
//
|
|
25145
25133
|
var GlobalFiltering = {
|
|
25146
25134
|
getInitialState: function(state) {
|
|
25147
|
-
return _object_spread$
|
|
25135
|
+
return _object_spread$3({
|
|
25148
25136
|
globalFilter: undefined
|
|
25149
25137
|
}, state);
|
|
25150
25138
|
},
|
|
@@ -25183,9 +25171,9 @@ var GlobalFiltering = {
|
|
|
25183
25171
|
}
|
|
25184
25172
|
};
|
|
25185
25173
|
//
|
|
25186
|
-
var RowExpanding = _define_property$
|
|
25174
|
+
var RowExpanding = _define_property$3({
|
|
25187
25175
|
getInitialState: function(state) {
|
|
25188
|
-
return _object_spread$
|
|
25176
|
+
return _object_spread$3({
|
|
25189
25177
|
expanded: {}
|
|
25190
25178
|
}, state);
|
|
25191
25179
|
},
|
|
@@ -25299,7 +25287,7 @@ var RowExpanding = _define_property$2({
|
|
|
25299
25287
|
}
|
|
25300
25288
|
expanded = (_expanded = expanded) != null ? _expanded : !exists;
|
|
25301
25289
|
if (!exists && expanded) {
|
|
25302
|
-
return _object_spread_props$2(_object_spread$
|
|
25290
|
+
return _object_spread_props$2(_object_spread$3({}, oldExpanded), _define_property$3({}, row.id, true));
|
|
25303
25291
|
}
|
|
25304
25292
|
if (exists && !expanded) {
|
|
25305
25293
|
var _row_id = row.id; oldExpanded[_row_id]; var rest = _object_without_properties$1(oldExpanded, [
|
|
@@ -25347,8 +25335,8 @@ var getDefaultPaginationState = function() {
|
|
|
25347
25335
|
};
|
|
25348
25336
|
var RowPagination = {
|
|
25349
25337
|
getInitialState: function(state) {
|
|
25350
|
-
return _object_spread_props$2(_object_spread$
|
|
25351
|
-
pagination: _object_spread$
|
|
25338
|
+
return _object_spread_props$2(_object_spread$3({}, state), {
|
|
25339
|
+
pagination: _object_spread$3({}, getDefaultPaginationState(), state == null ? void 0 : state.pagination)
|
|
25352
25340
|
});
|
|
25353
25341
|
},
|
|
25354
25342
|
getDefaultOptions: function(table) {
|
|
@@ -25392,7 +25380,7 @@ var RowPagination = {
|
|
|
25392
25380
|
var pageIndex = functionalUpdate(updater, old.pageIndex);
|
|
25393
25381
|
var maxPageIndex = typeof table.options.pageCount === 'undefined' || table.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : table.options.pageCount - 1;
|
|
25394
25382
|
pageIndex = Math.max(0, Math.min(pageIndex, maxPageIndex));
|
|
25395
|
-
return _object_spread_props$2(_object_spread$
|
|
25383
|
+
return _object_spread_props$2(_object_spread$3({}, old), {
|
|
25396
25384
|
pageIndex: pageIndex
|
|
25397
25385
|
});
|
|
25398
25386
|
});
|
|
@@ -25410,7 +25398,7 @@ var RowPagination = {
|
|
|
25410
25398
|
var pageSize = Math.max(1, functionalUpdate(updater, old.pageSize));
|
|
25411
25399
|
var topRowIndex = old.pageSize * old.pageIndex;
|
|
25412
25400
|
var pageIndex = Math.floor(topRowIndex / pageSize);
|
|
25413
|
-
return _object_spread_props$2(_object_spread$
|
|
25401
|
+
return _object_spread_props$2(_object_spread$3({}, old), {
|
|
25414
25402
|
pageIndex: pageIndex,
|
|
25415
25403
|
pageSize: pageSize
|
|
25416
25404
|
});
|
|
@@ -25424,7 +25412,7 @@ var RowPagination = {
|
|
|
25424
25412
|
if (typeof newPageCount === 'number') {
|
|
25425
25413
|
newPageCount = Math.max(-1, newPageCount);
|
|
25426
25414
|
}
|
|
25427
|
-
return _object_spread_props$2(_object_spread$
|
|
25415
|
+
return _object_spread_props$2(_object_spread$3({}, old), {
|
|
25428
25416
|
pageCount: newPageCount
|
|
25429
25417
|
});
|
|
25430
25418
|
});
|
|
@@ -25503,7 +25491,7 @@ var getDefaultRowPinningState = function() {
|
|
|
25503
25491
|
};
|
|
25504
25492
|
var RowPinning = {
|
|
25505
25493
|
getInitialState: function(state) {
|
|
25506
|
-
return _object_spread$
|
|
25494
|
+
return _object_spread$3({
|
|
25507
25495
|
rowPinning: getDefaultRowPinningState()
|
|
25508
25496
|
}, state);
|
|
25509
25497
|
},
|
|
@@ -25622,7 +25610,7 @@ var RowPinning = {
|
|
|
25622
25610
|
});
|
|
25623
25611
|
});
|
|
25624
25612
|
return rows.filter(Boolean).map(function(d) {
|
|
25625
|
-
return _object_spread_props$2(_object_spread$
|
|
25613
|
+
return _object_spread_props$2(_object_spread$3({}, d), {
|
|
25626
25614
|
position: position
|
|
25627
25615
|
});
|
|
25628
25616
|
});
|
|
@@ -25660,7 +25648,7 @@ var RowPinning = {
|
|
|
25660
25648
|
//
|
|
25661
25649
|
var RowSelection = {
|
|
25662
25650
|
getInitialState: function(state) {
|
|
25663
|
-
return _object_spread$
|
|
25651
|
+
return _object_spread$3({
|
|
25664
25652
|
rowSelection: {}
|
|
25665
25653
|
}, state);
|
|
25666
25654
|
},
|
|
@@ -25683,7 +25671,7 @@ var RowSelection = {
|
|
|
25683
25671
|
table.toggleAllRowsSelected = function(value) {
|
|
25684
25672
|
table.setRowSelection(function(old) {
|
|
25685
25673
|
value = typeof value !== 'undefined' ? value : !table.getIsAllRowsSelected();
|
|
25686
|
-
var rowSelection = _object_spread$
|
|
25674
|
+
var rowSelection = _object_spread$3({}, old);
|
|
25687
25675
|
var preGroupedFlatRows = table.getPreGroupedRowModel().flatRows;
|
|
25688
25676
|
// We don't use `mutateRowIsSelected` here for performance reasons.
|
|
25689
25677
|
// All of the rows are flat already, so it wouldn't be worth it
|
|
@@ -25705,7 +25693,7 @@ var RowSelection = {
|
|
|
25705
25693
|
table.toggleAllPageRowsSelected = function(value) {
|
|
25706
25694
|
return table.setRowSelection(function(old) {
|
|
25707
25695
|
var resolvedValue = typeof value !== 'undefined' ? value : !table.getIsAllPageRowsSelected();
|
|
25708
|
-
var rowSelection = _object_spread$
|
|
25696
|
+
var rowSelection = _object_spread$3({}, old);
|
|
25709
25697
|
table.getRowModel().rows.forEach(function(row) {
|
|
25710
25698
|
mutateRowIsSelected(rowSelection, row.id, resolvedValue, true, table);
|
|
25711
25699
|
});
|
|
@@ -25880,7 +25868,7 @@ var RowSelection = {
|
|
|
25880
25868
|
if (row.getCanSelect() && isSelected === value) {
|
|
25881
25869
|
return old;
|
|
25882
25870
|
}
|
|
25883
|
-
var selectedRowIds = _object_spread$
|
|
25871
|
+
var selectedRowIds = _object_spread$3({}, old);
|
|
25884
25872
|
mutateRowIsSelected(selectedRowIds, row.id, value, (_opts$selectChildren = opts == null ? void 0 : opts.selectChildren) != null ? _opts$selectChildren : true, table);
|
|
25885
25873
|
return selectedRowIds;
|
|
25886
25874
|
});
|
|
@@ -25969,7 +25957,7 @@ function selectRowsFn(table, rowModel) {
|
|
|
25969
25957
|
newSelectedRowsById[row.id] = row;
|
|
25970
25958
|
}
|
|
25971
25959
|
if ((_row$subRows2 = row.subRows) != null && _row$subRows2.length) {
|
|
25972
|
-
row = _object_spread_props$2(_object_spread$
|
|
25960
|
+
row = _object_spread_props$2(_object_spread$3({}, row), {
|
|
25973
25961
|
subRows: recurseRows(row.subRows)
|
|
25974
25962
|
});
|
|
25975
25963
|
}
|
|
@@ -26118,7 +26106,7 @@ var sortingFns = {
|
|
|
26118
26106
|
//
|
|
26119
26107
|
var RowSorting = {
|
|
26120
26108
|
getInitialState: function(state) {
|
|
26121
|
-
return _object_spread$
|
|
26109
|
+
return _object_spread$3({
|
|
26122
26110
|
sorting: []
|
|
26123
26111
|
}, state);
|
|
26124
26112
|
},
|
|
@@ -26254,7 +26242,7 @@ var RowSorting = {
|
|
|
26254
26242
|
// This flips (or sets) the
|
|
26255
26243
|
newSorting = old.map(function(d) {
|
|
26256
26244
|
if (d.id === column.id) {
|
|
26257
|
-
return _object_spread_props$2(_object_spread$
|
|
26245
|
+
return _object_spread_props$2(_object_spread$3({}, d), {
|
|
26258
26246
|
desc: nextDesc
|
|
26259
26247
|
});
|
|
26260
26248
|
}
|
|
@@ -26391,10 +26379,10 @@ function createTable(options) {
|
|
|
26391
26379
|
if (table.options.mergeOptions) {
|
|
26392
26380
|
return table.options.mergeOptions(defaultOptions, options);
|
|
26393
26381
|
}
|
|
26394
|
-
return _object_spread$
|
|
26382
|
+
return _object_spread$3({}, defaultOptions, options);
|
|
26395
26383
|
};
|
|
26396
26384
|
var coreInitialState = {};
|
|
26397
|
-
var initialState = _object_spread$
|
|
26385
|
+
var initialState = _object_spread$3({}, coreInitialState, (_options$initialState = options.initialState) != null ? _options$initialState : {});
|
|
26398
26386
|
table._features.forEach(function(feature) {
|
|
26399
26387
|
var _feature$getInitialSt;
|
|
26400
26388
|
initialState = (_feature$getInitialSt = feature.getInitialState == null ? void 0 : feature.getInitialState(initialState)) != null ? _feature$getInitialSt : initialState;
|
|
@@ -26403,7 +26391,7 @@ function createTable(options) {
|
|
|
26403
26391
|
var queuedTimeout = false;
|
|
26404
26392
|
var coreInstance = {
|
|
26405
26393
|
_features: _features,
|
|
26406
|
-
options: _object_spread$
|
|
26394
|
+
options: _object_spread$3({}, defaultOptions, options),
|
|
26407
26395
|
initialState: initialState,
|
|
26408
26396
|
_queue: function(cb) {
|
|
26409
26397
|
queued.push(cb);
|
|
@@ -26475,7 +26463,7 @@ function createTable(options) {
|
|
|
26475
26463
|
}, function(defaultColumn) {
|
|
26476
26464
|
var _defaultColumn;
|
|
26477
26465
|
defaultColumn = (_defaultColumn = defaultColumn) != null ? _defaultColumn : {};
|
|
26478
|
-
return _object_spread$
|
|
26466
|
+
return _object_spread$3({
|
|
26479
26467
|
header: function(props) {
|
|
26480
26468
|
var resolvedColumnDef = props.header.column.columnDef;
|
|
26481
26469
|
if (resolvedColumnDef.accessorKey) {
|
|
@@ -26903,7 +26891,7 @@ function getSortedRowModel() {
|
|
|
26903
26891
|
// This will also perform a stable sorting using the row index
|
|
26904
26892
|
// if needed.
|
|
26905
26893
|
var sortedData = rows.map(function(row) {
|
|
26906
|
-
return _object_spread$
|
|
26894
|
+
return _object_spread$3({}, row);
|
|
26907
26895
|
});
|
|
26908
26896
|
sortedData.sort(function(rowA, rowB) {
|
|
26909
26897
|
for(var i = 0; i < availableSorting.length; i += 1){
|
|
@@ -26979,7 +26967,7 @@ function getSortedRowModel() {
|
|
|
26979
26967
|
function _array_with_holes$2(arr) {
|
|
26980
26968
|
if (Array.isArray(arr)) return arr;
|
|
26981
26969
|
}
|
|
26982
|
-
function _define_property$
|
|
26970
|
+
function _define_property$2(obj, key, value) {
|
|
26983
26971
|
if (key in obj) {
|
|
26984
26972
|
Object.defineProperty(obj, key, {
|
|
26985
26973
|
value: value,
|
|
@@ -27019,7 +27007,7 @@ function _iterable_to_array_limit$2(arr, i) {
|
|
|
27019
27007
|
function _non_iterable_rest$2() {
|
|
27020
27008
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
27021
27009
|
}
|
|
27022
|
-
function _object_spread$
|
|
27010
|
+
function _object_spread$2(target) {
|
|
27023
27011
|
for(var i = 1; i < arguments.length; i++){
|
|
27024
27012
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
27025
27013
|
var ownKeys = Object.keys(source);
|
|
@@ -27029,7 +27017,7 @@ function _object_spread$1(target) {
|
|
|
27029
27017
|
}));
|
|
27030
27018
|
}
|
|
27031
27019
|
ownKeys.forEach(function(key) {
|
|
27032
|
-
_define_property$
|
|
27020
|
+
_define_property$2(target, key, source[key]);
|
|
27033
27021
|
});
|
|
27034
27022
|
}
|
|
27035
27023
|
return target;
|
|
@@ -27091,7 +27079,7 @@ function isExoticComponent(component) {
|
|
|
27091
27079
|
}
|
|
27092
27080
|
function useReactTable(options) {
|
|
27093
27081
|
// Compose in the generic options to the user options
|
|
27094
|
-
var resolvedOptions = _object_spread$
|
|
27082
|
+
var resolvedOptions = _object_spread$2({
|
|
27095
27083
|
state: {},
|
|
27096
27084
|
// Dummy state
|
|
27097
27085
|
onStateChange: function() {},
|
|
@@ -27111,8 +27099,8 @@ function useReactTable(options) {
|
|
|
27111
27099
|
// Compose the default state above with any user state. This will allow the user
|
|
27112
27100
|
// to only control a subset of the state if desired.
|
|
27113
27101
|
tableRef.current.setOptions(function(prev) {
|
|
27114
|
-
return _object_spread_props$1(_object_spread$
|
|
27115
|
-
state: _object_spread$
|
|
27102
|
+
return _object_spread_props$1(_object_spread$2({}, prev, options), {
|
|
27103
|
+
state: _object_spread$2({}, state, options.state),
|
|
27116
27104
|
// Similarly, we'll maintain both our internal state and any user-provided
|
|
27117
27105
|
// state.
|
|
27118
27106
|
onStateChange: function(updater) {
|
|
@@ -27124,7 +27112,7 @@ function useReactTable(options) {
|
|
|
27124
27112
|
return tableRef.current;
|
|
27125
27113
|
}
|
|
27126
27114
|
|
|
27127
|
-
function _tagged_template_literal$
|
|
27115
|
+
function _tagged_template_literal$5(strings, raw) {
|
|
27128
27116
|
if (!raw) {
|
|
27129
27117
|
raw = strings.slice(0);
|
|
27130
27118
|
}
|
|
@@ -27134,50 +27122,48 @@ function _tagged_template_literal$1(strings, raw) {
|
|
|
27134
27122
|
}
|
|
27135
27123
|
}));
|
|
27136
27124
|
}
|
|
27137
|
-
function _templateObject$
|
|
27138
|
-
var data = _tagged_template_literal$
|
|
27139
|
-
"\n
|
|
27140
|
-
";\n border-radius: ",
|
|
27141
|
-
"px;\n overflow: hidden;\n"
|
|
27125
|
+
function _templateObject$5() {
|
|
27126
|
+
var data = _tagged_template_literal$5([
|
|
27127
|
+
"\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n border-spacing: 0;\n"
|
|
27142
27128
|
]);
|
|
27143
|
-
_templateObject$
|
|
27129
|
+
_templateObject$5 = function _templateObject() {
|
|
27144
27130
|
return data;
|
|
27145
27131
|
};
|
|
27146
27132
|
return data;
|
|
27147
27133
|
}
|
|
27148
|
-
function _templateObject1$
|
|
27149
|
-
var data = _tagged_template_literal$
|
|
27150
|
-
"\n position:
|
|
27134
|
+
function _templateObject1$4() {
|
|
27135
|
+
var data = _tagged_template_literal$5([
|
|
27136
|
+
"\n position: sticky;\n top: 0;\n z-index: 1;\n"
|
|
27151
27137
|
]);
|
|
27152
|
-
_templateObject1$
|
|
27138
|
+
_templateObject1$4 = function _templateObject() {
|
|
27153
27139
|
return data;
|
|
27154
27140
|
};
|
|
27155
27141
|
return data;
|
|
27156
27142
|
}
|
|
27157
|
-
function _templateObject2$
|
|
27158
|
-
var data = _tagged_template_literal$
|
|
27159
|
-
"\n
|
|
27143
|
+
function _templateObject2$2() {
|
|
27144
|
+
var data = _tagged_template_literal$5([
|
|
27145
|
+
"\n padding: ",
|
|
27146
|
+
"px;\n text-align: left;\n position: relative;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n background: ",
|
|
27147
|
+
";\n border-bottom: 1px solid ",
|
|
27148
|
+
";\n\n &:hover .pbui-table-resize-handle {\n height: 100%;\n }\n"
|
|
27160
27149
|
]);
|
|
27161
|
-
_templateObject2$
|
|
27150
|
+
_templateObject2$2 = function _templateObject() {
|
|
27162
27151
|
return data;
|
|
27163
27152
|
};
|
|
27164
27153
|
return data;
|
|
27165
27154
|
}
|
|
27166
|
-
function _templateObject3() {
|
|
27167
|
-
var data = _tagged_template_literal$
|
|
27168
|
-
"\n
|
|
27155
|
+
function _templateObject3$1() {
|
|
27156
|
+
var data = _tagged_template_literal$5([
|
|
27157
|
+
"\n display: flex;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n"
|
|
27169
27158
|
]);
|
|
27170
|
-
_templateObject3 = function _templateObject() {
|
|
27159
|
+
_templateObject3$1 = function _templateObject() {
|
|
27171
27160
|
return data;
|
|
27172
27161
|
};
|
|
27173
27162
|
return data;
|
|
27174
27163
|
}
|
|
27175
27164
|
function _templateObject4() {
|
|
27176
|
-
var data = _tagged_template_literal$
|
|
27177
|
-
"\n padding: "
|
|
27178
|
-
"px;\n text-align: left;\n font-size: 14px;\n position: relative;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n background: ",
|
|
27179
|
-
";\n border-bottom: 1px solid ",
|
|
27180
|
-
";\n\n &:hover .resize-handle {\n height: 100%;\n }\n"
|
|
27165
|
+
var data = _tagged_template_literal$5([
|
|
27166
|
+
"\n position: absolute;\n right: 0;\n top: 0;\n display: flex;\n align-items: center;\n height: 100%;\n width: 6px;\n padding-right: 10px;\n"
|
|
27181
27167
|
]);
|
|
27182
27168
|
_templateObject4 = function _templateObject() {
|
|
27183
27169
|
return data;
|
|
@@ -27185,9 +27171,9 @@ function _templateObject4() {
|
|
|
27185
27171
|
return data;
|
|
27186
27172
|
}
|
|
27187
27173
|
function _templateObject5() {
|
|
27188
|
-
var data = _tagged_template_literal$
|
|
27189
|
-
"\n
|
|
27190
|
-
";\n
|
|
27174
|
+
var data = _tagged_template_literal$5([
|
|
27175
|
+
"\n position: absolute;\n height: 0%;\n width: 6px;\n background-color: ",
|
|
27176
|
+
";\n cursor: col-resize;\n user-select: none;\n touch-action: none;\n transition: height ease 0.25s;\n"
|
|
27191
27177
|
]);
|
|
27192
27178
|
_templateObject5 = function _templateObject() {
|
|
27193
27179
|
return data;
|
|
@@ -27195,84 +27181,210 @@ function _templateObject5() {
|
|
|
27195
27181
|
return data;
|
|
27196
27182
|
}
|
|
27197
27183
|
function _templateObject6() {
|
|
27198
|
-
var data = _tagged_template_literal$
|
|
27199
|
-
"\n ",
|
|
27200
|
-
"\n\n
|
|
27184
|
+
var data = _tagged_template_literal$5([
|
|
27185
|
+
"\n font-size: 9px;\n display: inline-flex;\n flex-direction: column;\n margin-left: ",
|
|
27186
|
+
"px;\n align-items: center;\n\n & svg:first-of-type {\n margin-bottom: -1.5px;\n }\n & svg:last-of-type {\n margin-top: -1.5px;\n }\n"
|
|
27201
27187
|
]);
|
|
27202
27188
|
_templateObject6 = function _templateObject() {
|
|
27203
27189
|
return data;
|
|
27204
27190
|
};
|
|
27205
27191
|
return data;
|
|
27206
27192
|
}
|
|
27207
|
-
|
|
27208
|
-
|
|
27209
|
-
|
|
27210
|
-
|
|
27211
|
-
|
|
27212
|
-
|
|
27213
|
-
|
|
27214
|
-
|
|
27215
|
-
|
|
27193
|
+
var StyledTable$1 = styled.table(_templateObject$5());
|
|
27194
|
+
var StyledHeader = styled.div(_templateObject1$4());
|
|
27195
|
+
var Th = styled(Typography)(_templateObject2$2(), spacing(1), neutral100, neutral300);
|
|
27196
|
+
var HeaderContent = styled.div(_templateObject3$1());
|
|
27197
|
+
var ResizeHandleContainer = styled.div(_templateObject4());
|
|
27198
|
+
var ResizeHandle = styled.div(_templateObject5(), neutral300);
|
|
27199
|
+
var SortIcon = styled.span(_templateObject6(), spacing(1));
|
|
27200
|
+
var TableHeader = function(param) {
|
|
27201
|
+
var table = param.table, columnWidths = param.columnWidths, disableControls = param.disableControls, dense = param.dense;
|
|
27202
|
+
return /*#__PURE__*/ jsx(StyledHeader, {
|
|
27203
|
+
children: /*#__PURE__*/ jsxs(StyledTable$1, {
|
|
27204
|
+
children: [
|
|
27205
|
+
/*#__PURE__*/ jsx("colgroup", {
|
|
27206
|
+
children: columnWidths.map(function(param) {
|
|
27207
|
+
var id = param.id, width = param.width;
|
|
27208
|
+
return /*#__PURE__*/ jsx("col", {
|
|
27209
|
+
style: {
|
|
27210
|
+
width: "".concat(width, "px")
|
|
27211
|
+
}
|
|
27212
|
+
}, id);
|
|
27213
|
+
})
|
|
27214
|
+
}),
|
|
27215
|
+
/*#__PURE__*/ jsx("thead", {
|
|
27216
|
+
children: table.getHeaderGroups().map(function(headerGroup) {
|
|
27217
|
+
return /*#__PURE__*/ jsx("tr", {
|
|
27218
|
+
children: headerGroup.headers.map(function(header) {
|
|
27219
|
+
return /*#__PURE__*/ jsxs(Th, {
|
|
27220
|
+
variant: "paragraph200Semibold",
|
|
27221
|
+
as: "th",
|
|
27222
|
+
style: {
|
|
27223
|
+
padding: dense ? "".concat(spacing(1), "px ").concat(spacing(header.id === 'row-select' ? 1 : 1.5), "px") : "".concat(spacing(1.5), "px ").concat(spacing(header.id === 'row-select' ? 1 : 1.5), "px")
|
|
27224
|
+
},
|
|
27225
|
+
children: [
|
|
27226
|
+
header.isPlaceholder ? null : /*#__PURE__*/ jsxs(HeaderContent, {
|
|
27227
|
+
role: header.column.getCanSort() ? 'button' : undefined,
|
|
27228
|
+
onClick: !disableControls ? header.column.getToggleSortingHandler() : undefined,
|
|
27229
|
+
style: {
|
|
27230
|
+
cursor: header.column.getCanSort() ? 'pointer' : 'default'
|
|
27231
|
+
},
|
|
27232
|
+
children: [
|
|
27233
|
+
flexRender(header.column.columnDef.header, header.getContext()),
|
|
27234
|
+
header.column.getCanSort() && /*#__PURE__*/ jsxs(SortIcon, {
|
|
27235
|
+
children: [
|
|
27236
|
+
/*#__PURE__*/ jsx(ChevronUp, {
|
|
27237
|
+
color: header.column.getIsSorted() === 'desc' ? neutral400 : undefined
|
|
27238
|
+
}),
|
|
27239
|
+
/*#__PURE__*/ jsx(ChevronDown, {
|
|
27240
|
+
color: header.column.getIsSorted() === 'asc' ? neutral400 : undefined
|
|
27241
|
+
})
|
|
27242
|
+
]
|
|
27243
|
+
})
|
|
27244
|
+
]
|
|
27245
|
+
}),
|
|
27246
|
+
header.column.getCanResize() && /*#__PURE__*/ jsx(ResizeHandleContainer, {
|
|
27247
|
+
children: /*#__PURE__*/ jsx(ResizeHandle, {
|
|
27248
|
+
onMouseDown: header.getResizeHandler(),
|
|
27249
|
+
onTouchStart: header.getResizeHandler(),
|
|
27250
|
+
className: "pbui-table-resize-handle",
|
|
27251
|
+
onClick: function(e) {
|
|
27252
|
+
e.stopPropagation();
|
|
27253
|
+
e.preventDefault();
|
|
27254
|
+
}
|
|
27255
|
+
})
|
|
27256
|
+
})
|
|
27257
|
+
]
|
|
27258
|
+
}, header.id);
|
|
27259
|
+
})
|
|
27260
|
+
}, headerGroup.id);
|
|
27261
|
+
})
|
|
27262
|
+
})
|
|
27263
|
+
]
|
|
27264
|
+
})
|
|
27265
|
+
});
|
|
27266
|
+
};
|
|
27267
|
+
|
|
27268
|
+
function _tagged_template_literal$4(strings, raw) {
|
|
27269
|
+
if (!raw) {
|
|
27270
|
+
raw = strings.slice(0);
|
|
27271
|
+
}
|
|
27272
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
27273
|
+
raw: {
|
|
27274
|
+
value: Object.freeze(raw)
|
|
27275
|
+
}
|
|
27276
|
+
}));
|
|
27216
27277
|
}
|
|
27217
|
-
function
|
|
27218
|
-
var data = _tagged_template_literal$
|
|
27219
|
-
"\n
|
|
27278
|
+
function _templateObject$4() {
|
|
27279
|
+
var data = _tagged_template_literal$4([
|
|
27280
|
+
"\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n border-spacing: 0;\n"
|
|
27220
27281
|
]);
|
|
27221
|
-
|
|
27282
|
+
_templateObject$4 = function _templateObject() {
|
|
27222
27283
|
return data;
|
|
27223
27284
|
};
|
|
27224
27285
|
return data;
|
|
27225
27286
|
}
|
|
27226
|
-
function
|
|
27227
|
-
var data = _tagged_template_literal$
|
|
27228
|
-
"\n
|
|
27287
|
+
function _templateObject1$3() {
|
|
27288
|
+
var data = _tagged_template_literal$4([
|
|
27289
|
+
"\n &:hover {\n background: ",
|
|
27290
|
+
";\n }\n "
|
|
27229
27291
|
]);
|
|
27230
|
-
|
|
27292
|
+
_templateObject1$3 = function _templateObject() {
|
|
27231
27293
|
return data;
|
|
27232
27294
|
};
|
|
27233
27295
|
return data;
|
|
27234
27296
|
}
|
|
27235
|
-
function
|
|
27236
|
-
var data = _tagged_template_literal$
|
|
27237
|
-
"\n
|
|
27238
|
-
"
|
|
27297
|
+
function _templateObject2$1() {
|
|
27298
|
+
var data = _tagged_template_literal$4([
|
|
27299
|
+
"\n ",
|
|
27300
|
+
"\n\n &:last-child td {\n border-bottom: none;\n }\n"
|
|
27239
27301
|
]);
|
|
27240
|
-
|
|
27302
|
+
_templateObject2$1 = function _templateObject() {
|
|
27241
27303
|
return data;
|
|
27242
27304
|
};
|
|
27243
27305
|
return data;
|
|
27244
27306
|
}
|
|
27245
|
-
function
|
|
27246
|
-
var data = _tagged_template_literal$
|
|
27247
|
-
"\n
|
|
27248
|
-
"
|
|
27307
|
+
function _templateObject3() {
|
|
27308
|
+
var data = _tagged_template_literal$4([
|
|
27309
|
+
"\n border-bottom: 1px solid ",
|
|
27310
|
+
";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"
|
|
27249
27311
|
]);
|
|
27250
|
-
|
|
27312
|
+
_templateObject3 = function _templateObject() {
|
|
27251
27313
|
return data;
|
|
27252
27314
|
};
|
|
27253
27315
|
return data;
|
|
27254
27316
|
}
|
|
27255
|
-
|
|
27256
|
-
|
|
27257
|
-
|
|
27258
|
-
|
|
27259
|
-
|
|
27260
|
-
|
|
27261
|
-
|
|
27262
|
-
return
|
|
27317
|
+
var StyledTable = styled.table(_templateObject$4());
|
|
27318
|
+
var Tr = styled.tr(_templateObject2$1(), function(props) {
|
|
27319
|
+
return props.enableHover && css(_templateObject1$3(), primary100);
|
|
27320
|
+
});
|
|
27321
|
+
var Td = styled(Typography)(_templateObject3(), neutral300);
|
|
27322
|
+
var TableBody = function(param) {
|
|
27323
|
+
var table = param.table, columnWidths = param.columnWidths, enableRowSelection = param.enableRowSelection, onRowClick = param.onRowClick, dense = param.dense;
|
|
27324
|
+
return /*#__PURE__*/ jsxs(StyledTable, {
|
|
27325
|
+
children: [
|
|
27326
|
+
/*#__PURE__*/ jsx("colgroup", {
|
|
27327
|
+
children: columnWidths.map(function(param) {
|
|
27328
|
+
var id = param.id, width = param.width;
|
|
27329
|
+
return /*#__PURE__*/ jsx("col", {
|
|
27330
|
+
style: {
|
|
27331
|
+
width: "".concat(width, "px")
|
|
27332
|
+
}
|
|
27333
|
+
}, id);
|
|
27334
|
+
})
|
|
27335
|
+
}),
|
|
27336
|
+
/*#__PURE__*/ jsx("tbody", {
|
|
27337
|
+
children: table.getRowModel().rows.map(function(row) {
|
|
27338
|
+
var rowClickEnabled = enableRowSelection || !!onRowClick;
|
|
27339
|
+
return /*#__PURE__*/ jsx(Tr, {
|
|
27340
|
+
role: rowClickEnabled ? 'button' : undefined,
|
|
27341
|
+
onClick: onRowClick ? function() {
|
|
27342
|
+
return onRowClick(row.original);
|
|
27343
|
+
} : row.getToggleSelectedHandler(),
|
|
27344
|
+
style: {
|
|
27345
|
+
cursor: rowClickEnabled ? 'pointer' : undefined,
|
|
27346
|
+
background: row.getIsSelected() ? primary100 : undefined
|
|
27347
|
+
},
|
|
27348
|
+
enableHover: rowClickEnabled,
|
|
27349
|
+
children: row.getVisibleCells().map(function(cell) {
|
|
27350
|
+
return /*#__PURE__*/ jsx(Td, {
|
|
27351
|
+
variant: "paragraph200Regular",
|
|
27352
|
+
as: "td",
|
|
27353
|
+
style: {
|
|
27354
|
+
padding: dense ? "".concat(spacing(1), "px ").concat(spacing(cell.column.id === 'row-select' ? 1 : 1.5), "px") : "".concat(spacing(1.5), "px ").concat(spacing(cell.column.id === 'row-select' ? 1 : 1.5), "px")
|
|
27355
|
+
},
|
|
27356
|
+
children: flexRender(cell.column.columnDef.cell, cell.getContext())
|
|
27357
|
+
}, cell.id);
|
|
27358
|
+
})
|
|
27359
|
+
}, row.id);
|
|
27360
|
+
})
|
|
27361
|
+
})
|
|
27362
|
+
]
|
|
27363
|
+
});
|
|
27364
|
+
};
|
|
27365
|
+
|
|
27366
|
+
function _tagged_template_literal$3(strings, raw) {
|
|
27367
|
+
if (!raw) {
|
|
27368
|
+
raw = strings.slice(0);
|
|
27369
|
+
}
|
|
27370
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
27371
|
+
raw: {
|
|
27372
|
+
value: Object.freeze(raw)
|
|
27373
|
+
}
|
|
27374
|
+
}));
|
|
27263
27375
|
}
|
|
27264
|
-
function
|
|
27265
|
-
var data = _tagged_template_literal$
|
|
27376
|
+
function _templateObject$3() {
|
|
27377
|
+
var data = _tagged_template_literal$3([
|
|
27266
27378
|
"\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ",
|
|
27267
27379
|
"px;\n background: none;\n font-size: 20px;\n"
|
|
27268
27380
|
]);
|
|
27269
|
-
|
|
27381
|
+
_templateObject$3 = function _templateObject() {
|
|
27270
27382
|
return data;
|
|
27271
27383
|
};
|
|
27272
27384
|
return data;
|
|
27273
27385
|
}
|
|
27274
|
-
function
|
|
27275
|
-
var data = _tagged_template_literal$
|
|
27386
|
+
function _templateObject1$2() {
|
|
27387
|
+
var data = _tagged_template_literal$3([
|
|
27276
27388
|
"\n width: 100%;\n padding: ",
|
|
27277
27389
|
"px ",
|
|
27278
27390
|
"px;\n border: none;\n background: none;\n text-align: left;\n cursor: ",
|
|
@@ -27281,27 +27393,13 @@ function _templateObject14() {
|
|
|
27281
27393
|
"px;\n\n &:hover:not(:disabled) {\n background-color: ",
|
|
27282
27394
|
";\n }\n"
|
|
27283
27395
|
]);
|
|
27284
|
-
|
|
27396
|
+
_templateObject1$2 = function _templateObject() {
|
|
27285
27397
|
return data;
|
|
27286
27398
|
};
|
|
27287
27399
|
return data;
|
|
27288
27400
|
}
|
|
27289
|
-
var
|
|
27290
|
-
var
|
|
27291
|
-
var StyledTable = styled.table(_templateObject2$1());
|
|
27292
|
-
var TableHeader = styled.div(_templateObject3());
|
|
27293
|
-
var Th = styled(Typography)(_templateObject4(), spacing(1), neutral100, neutral300);
|
|
27294
|
-
var Tr = styled.tr(_templateObject6(), function(props) {
|
|
27295
|
-
return props.enableHover && css(_templateObject5(), primary100);
|
|
27296
|
-
});
|
|
27297
|
-
var Td = styled(Typography)(_templateObject7(), neutral300);
|
|
27298
|
-
var HeaderContent = styled.div(_templateObject8());
|
|
27299
|
-
var ResizeHandleContainer = styled.div(_templateObject9());
|
|
27300
|
-
var ResizeHandle = styled.div(_templateObject10(), neutral300);
|
|
27301
|
-
var SortIcon = styled.span(_templateObject11(), spacing(1));
|
|
27302
|
-
var LoadingOverlay = styled.div(_templateObject12());
|
|
27303
|
-
var ContextMenuButton = styled(Button)(_templateObject13(), spacing(0.5));
|
|
27304
|
-
var MenuItem = styled.button(_templateObject14(), spacing(1), spacing(2), function(props) {
|
|
27401
|
+
var ContextMenuButton = styled(Button)(_templateObject$3(), spacing(0.5));
|
|
27402
|
+
var MenuItem = styled.button(_templateObject1$2(), spacing(1), spacing(2), function(props) {
|
|
27305
27403
|
return props.disabled ? 'not-allowed' : 'pointer';
|
|
27306
27404
|
}, function(props) {
|
|
27307
27405
|
return props.disabled ? 0.5 : 1;
|
|
@@ -27347,6 +27445,34 @@ var ContextMenuCell = function(param) {
|
|
|
27347
27445
|
});
|
|
27348
27446
|
};
|
|
27349
27447
|
|
|
27448
|
+
function _tagged_template_literal$2(strings, raw) {
|
|
27449
|
+
if (!raw) {
|
|
27450
|
+
raw = strings.slice(0);
|
|
27451
|
+
}
|
|
27452
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
27453
|
+
raw: {
|
|
27454
|
+
value: Object.freeze(raw)
|
|
27455
|
+
}
|
|
27456
|
+
}));
|
|
27457
|
+
}
|
|
27458
|
+
function _templateObject$2() {
|
|
27459
|
+
var data = _tagged_template_literal$2([
|
|
27460
|
+
"\n position: absolute;\n z-index: 2;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.05);\n font-size: 32px;\n"
|
|
27461
|
+
]);
|
|
27462
|
+
_templateObject$2 = function _templateObject() {
|
|
27463
|
+
return data;
|
|
27464
|
+
};
|
|
27465
|
+
return data;
|
|
27466
|
+
}
|
|
27467
|
+
var Overlay = styled.div(_templateObject$2());
|
|
27468
|
+
var LoadingOverlay = function() {
|
|
27469
|
+
return /*#__PURE__*/ jsx(Overlay, {
|
|
27470
|
+
children: /*#__PURE__*/ jsx(LoadingWheel, {
|
|
27471
|
+
color: primary500
|
|
27472
|
+
})
|
|
27473
|
+
});
|
|
27474
|
+
};
|
|
27475
|
+
|
|
27350
27476
|
function _array_like_to_array$1(arr, len) {
|
|
27351
27477
|
if (len == null || len > arr.length) len = arr.length;
|
|
27352
27478
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -27358,6 +27484,19 @@ function _array_with_holes$1(arr) {
|
|
|
27358
27484
|
function _array_without_holes(arr) {
|
|
27359
27485
|
if (Array.isArray(arr)) return _array_like_to_array$1(arr);
|
|
27360
27486
|
}
|
|
27487
|
+
function _define_property$1(obj, key, value) {
|
|
27488
|
+
if (key in obj) {
|
|
27489
|
+
Object.defineProperty(obj, key, {
|
|
27490
|
+
value: value,
|
|
27491
|
+
enumerable: true,
|
|
27492
|
+
configurable: true,
|
|
27493
|
+
writable: true
|
|
27494
|
+
});
|
|
27495
|
+
} else {
|
|
27496
|
+
obj[key] = value;
|
|
27497
|
+
}
|
|
27498
|
+
return obj;
|
|
27499
|
+
}
|
|
27361
27500
|
function _iterable_to_array(iter) {
|
|
27362
27501
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
27363
27502
|
}
|
|
@@ -27391,9 +27530,34 @@ function _non_iterable_rest$1() {
|
|
|
27391
27530
|
function _non_iterable_spread() {
|
|
27392
27531
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
27393
27532
|
}
|
|
27533
|
+
function _object_spread$1(target) {
|
|
27534
|
+
for(var i = 1; i < arguments.length; i++){
|
|
27535
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
27536
|
+
var ownKeys = Object.keys(source);
|
|
27537
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
27538
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
27539
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
27540
|
+
}));
|
|
27541
|
+
}
|
|
27542
|
+
ownKeys.forEach(function(key) {
|
|
27543
|
+
_define_property$1(target, key, source[key]);
|
|
27544
|
+
});
|
|
27545
|
+
}
|
|
27546
|
+
return target;
|
|
27547
|
+
}
|
|
27394
27548
|
function _sliced_to_array$1(arr, i) {
|
|
27395
27549
|
return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest$1();
|
|
27396
27550
|
}
|
|
27551
|
+
function _tagged_template_literal$1(strings, raw) {
|
|
27552
|
+
if (!raw) {
|
|
27553
|
+
raw = strings.slice(0);
|
|
27554
|
+
}
|
|
27555
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
27556
|
+
raw: {
|
|
27557
|
+
value: Object.freeze(raw)
|
|
27558
|
+
}
|
|
27559
|
+
}));
|
|
27560
|
+
}
|
|
27397
27561
|
function _to_consumable_array(arr) {
|
|
27398
27562
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread();
|
|
27399
27563
|
}
|
|
@@ -27405,19 +27569,46 @@ function _unsupported_iterable_to_array$1(o, minLen) {
|
|
|
27405
27569
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
27406
27570
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
|
|
27407
27571
|
}
|
|
27572
|
+
function _templateObject$1() {
|
|
27573
|
+
var data = _tagged_template_literal$1([
|
|
27574
|
+
"\n position: relative;\n display: flex;\n flex-direction: column;\n border: 1px solid ",
|
|
27575
|
+
";\n border-radius: ",
|
|
27576
|
+
"px;\n overflow: hidden;\n"
|
|
27577
|
+
]);
|
|
27578
|
+
_templateObject$1 = function _templateObject() {
|
|
27579
|
+
return data;
|
|
27580
|
+
};
|
|
27581
|
+
return data;
|
|
27582
|
+
}
|
|
27583
|
+
function _templateObject1$1() {
|
|
27584
|
+
var data = _tagged_template_literal$1([
|
|
27585
|
+
"\n position: relative;\n flex: 1;\n min-height: 0;\n overflow-x: auto;\n"
|
|
27586
|
+
]);
|
|
27587
|
+
_templateObject1$1 = function _templateObject() {
|
|
27588
|
+
return data;
|
|
27589
|
+
};
|
|
27590
|
+
return data;
|
|
27591
|
+
}
|
|
27592
|
+
var TableContainer = styled.div(_templateObject$1(), neutral300, spacing(1));
|
|
27593
|
+
var TableWrapper = styled.div(_templateObject1$1());
|
|
27408
27594
|
var Table = function(param) {
|
|
27409
|
-
var
|
|
27595
|
+
var columns = param.columns, _param_data = param.data, data = _param_data === void 0 ? [] : _param_data, getRowId = param.getRowId, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_pageInfo = param.pageInfo, pageInfo = _param_pageInfo === void 0 ? {
|
|
27596
|
+
pageCount: 1,
|
|
27597
|
+
itemCount: 0,
|
|
27598
|
+
currentPage: 1,
|
|
27599
|
+
items: 50
|
|
27600
|
+
} : _param_pageInfo, onPageSizeChange = param.onPageSizeChange, onPageChange = param.onPageChange, sortBy = param.sortBy, sortOrder = param.sortOrder, onSortChange = param.onSortChange, _param_enableRowSelection = param.enableRowSelection, enableRowSelection = _param_enableRowSelection === void 0 ? false : _param_enableRowSelection, _param_selectedRows = param.selectedRows, selectedRows = _param_selectedRows === void 0 ? {} : _param_selectedRows, onRowSelectionChange = param.onRowSelectionChange, onRowClick = param.onRowClick, rowActions = param.rowActions, _param_dense = param.dense, dense = _param_dense === void 0 ? false : _param_dense, _param_height = param.height, height = _param_height === void 0 ? 400 : _param_height;
|
|
27410
27601
|
var _useState = _sliced_to_array$1(useState({}), 2), columnSizing = _useState[0], setColumnSizing = _useState[1];
|
|
27411
27602
|
var _useState1 = _sliced_to_array$1(useState(null), 2), openMenuId = _useState1[0], setOpenMenuId = _useState1[1];
|
|
27603
|
+
var disableControls = isLoading || !data.length;
|
|
27412
27604
|
var tableColumns = useMemo(function() {
|
|
27413
27605
|
return columns.map(function(col) {
|
|
27414
|
-
return {
|
|
27606
|
+
return _object_spread$1({
|
|
27415
27607
|
id: col.key,
|
|
27416
27608
|
accessorKey: col.key,
|
|
27417
|
-
header: col.header,
|
|
27418
27609
|
size: col.width,
|
|
27419
27610
|
enableSorting: col.sortable
|
|
27420
|
-
};
|
|
27611
|
+
}, col);
|
|
27421
27612
|
});
|
|
27422
27613
|
}, [
|
|
27423
27614
|
columns
|
|
@@ -27432,7 +27623,8 @@ var Table = function(param) {
|
|
|
27432
27623
|
return /*#__PURE__*/ jsx(Checkbox, {
|
|
27433
27624
|
checked: table.getIsAllRowsSelected(),
|
|
27434
27625
|
indeterminate: table.getIsSomeRowsSelected(),
|
|
27435
|
-
onChange: table.getToggleAllPageRowsSelectedHandler()
|
|
27626
|
+
onChange: table.getToggleAllPageRowsSelectedHandler(),
|
|
27627
|
+
disabled: disableControls
|
|
27436
27628
|
});
|
|
27437
27629
|
},
|
|
27438
27630
|
cell: function(param) {
|
|
@@ -27443,7 +27635,7 @@ var Table = function(param) {
|
|
|
27443
27635
|
},
|
|
27444
27636
|
children: /*#__PURE__*/ jsx(Checkbox, {
|
|
27445
27637
|
checked: row.getIsSelected(),
|
|
27446
|
-
disabled: !row.getCanSelect(),
|
|
27638
|
+
disabled: disableControls || !row.getCanSelect(),
|
|
27447
27639
|
onClick: function(e) {
|
|
27448
27640
|
return e.stopPropagation();
|
|
27449
27641
|
},
|
|
@@ -27476,11 +27668,28 @@ var Table = function(param) {
|
|
|
27476
27668
|
}
|
|
27477
27669
|
return cols;
|
|
27478
27670
|
}, [
|
|
27479
|
-
|
|
27671
|
+
tableColumns,
|
|
27480
27672
|
enableRowSelection,
|
|
27481
27673
|
rowActions,
|
|
27674
|
+
disableControls,
|
|
27482
27675
|
openMenuId
|
|
27483
27676
|
]);
|
|
27677
|
+
var handleSortingChange = useCallback(function(updater) {
|
|
27678
|
+
var nextState = typeof updater === 'function' ? updater(sortBy && sortOrder ? [
|
|
27679
|
+
{
|
|
27680
|
+
id: sortBy,
|
|
27681
|
+
desc: sortOrder === 'desc'
|
|
27682
|
+
}
|
|
27683
|
+
] : []) : updater;
|
|
27684
|
+
if (typeof onSortChange === 'function') {
|
|
27685
|
+
var _nextState_, _nextState_1;
|
|
27686
|
+
onSortChange((_nextState_ = nextState[0]) === null || _nextState_ === void 0 ? void 0 : _nextState_.id, ((_nextState_1 = nextState[0]) === null || _nextState_1 === void 0 ? void 0 : _nextState_1.desc) ? 'desc' : 'asc');
|
|
27687
|
+
}
|
|
27688
|
+
}, [
|
|
27689
|
+
sortBy,
|
|
27690
|
+
sortOrder,
|
|
27691
|
+
onSortChange
|
|
27692
|
+
]);
|
|
27484
27693
|
var table = useReactTable({
|
|
27485
27694
|
data: data,
|
|
27486
27695
|
columns: allColumns,
|
|
@@ -27496,19 +27705,15 @@ var Table = function(param) {
|
|
|
27496
27705
|
pageSize: pageInfo.items
|
|
27497
27706
|
},
|
|
27498
27707
|
columnSizing: columnSizing,
|
|
27499
|
-
sorting:
|
|
27500
|
-
|
|
27708
|
+
sorting: sortBy && sortOrder ? [
|
|
27709
|
+
{
|
|
27710
|
+
id: sortBy,
|
|
27711
|
+
desc: sortOrder === 'desc'
|
|
27712
|
+
}
|
|
27501
27713
|
] : [],
|
|
27502
27714
|
rowSelection: selectedRows
|
|
27503
27715
|
},
|
|
27504
|
-
onSortingChange:
|
|
27505
|
-
var nextState = typeof updater === 'function' ? updater(sorting ? [
|
|
27506
|
-
sorting
|
|
27507
|
-
] : []) : updater;
|
|
27508
|
-
if (typeof onSortChange === 'function') {
|
|
27509
|
-
onSortChange(nextState[0]);
|
|
27510
|
-
}
|
|
27511
|
-
},
|
|
27716
|
+
onSortingChange: handleSortingChange,
|
|
27512
27717
|
manualPagination: true,
|
|
27513
27718
|
manualSorting: true,
|
|
27514
27719
|
pageCount: pageInfo.pageCount,
|
|
@@ -27535,118 +27740,34 @@ var Table = function(param) {
|
|
|
27535
27740
|
height: height
|
|
27536
27741
|
},
|
|
27537
27742
|
children: [
|
|
27743
|
+
isLoading && /*#__PURE__*/ jsx(LoadingOverlay, {}),
|
|
27744
|
+
Boolean(!isLoading && !data.length) && /*#__PURE__*/ jsx(Typography, {
|
|
27745
|
+
variant: "paragraph200Regular",
|
|
27746
|
+
as: "div",
|
|
27747
|
+
style: {
|
|
27748
|
+
position: 'absolute',
|
|
27749
|
+
left: '50%',
|
|
27750
|
+
top: '50%',
|
|
27751
|
+
transform: 'translate(-50%, -50%)'
|
|
27752
|
+
},
|
|
27753
|
+
children: "No results found."
|
|
27754
|
+
}),
|
|
27538
27755
|
/*#__PURE__*/ jsxs(TableWrapper, {
|
|
27539
27756
|
children: [
|
|
27540
27757
|
/*#__PURE__*/ jsx(TableHeader, {
|
|
27541
|
-
|
|
27542
|
-
|
|
27543
|
-
|
|
27544
|
-
|
|
27545
|
-
var id = param.id, width = param.width;
|
|
27546
|
-
return /*#__PURE__*/ jsx("col", {
|
|
27547
|
-
style: {
|
|
27548
|
-
width: "".concat(width, "px")
|
|
27549
|
-
}
|
|
27550
|
-
}, id);
|
|
27551
|
-
})
|
|
27552
|
-
}),
|
|
27553
|
-
/*#__PURE__*/ jsx("thead", {
|
|
27554
|
-
children: table.getHeaderGroups().map(function(headerGroup) {
|
|
27555
|
-
return /*#__PURE__*/ jsx("tr", {
|
|
27556
|
-
children: headerGroup.headers.map(function(header) {
|
|
27557
|
-
return /*#__PURE__*/ jsxs(Th, {
|
|
27558
|
-
variant: "paragraph100Semibold",
|
|
27559
|
-
as: "th",
|
|
27560
|
-
style: {
|
|
27561
|
-
padding: dense ? "".concat(spacing(1), "px ").concat(spacing(header.id === 'row-select' ? 1 : 1.5), "px") : "".concat(spacing(1.5), "px ").concat(spacing(header.id === 'row-select' ? 1 : 1.5), "px")
|
|
27562
|
-
},
|
|
27563
|
-
children: [
|
|
27564
|
-
header.isPlaceholder ? null : /*#__PURE__*/ jsxs(HeaderContent, {
|
|
27565
|
-
role: header.column.getCanSort() ? 'button' : undefined,
|
|
27566
|
-
onClick: header.column.getToggleSortingHandler(),
|
|
27567
|
-
style: {
|
|
27568
|
-
cursor: header.column.getCanSort() ? 'pointer' : 'default'
|
|
27569
|
-
},
|
|
27570
|
-
children: [
|
|
27571
|
-
flexRender(header.column.columnDef.header, header.getContext()),
|
|
27572
|
-
header.column.getCanSort() && /*#__PURE__*/ jsxs(SortIcon, {
|
|
27573
|
-
children: [
|
|
27574
|
-
/*#__PURE__*/ jsx(ChevronUp, {
|
|
27575
|
-
color: header.column.getIsSorted() === 'desc' ? neutral400 : undefined
|
|
27576
|
-
}),
|
|
27577
|
-
/*#__PURE__*/ jsx(ChevronDown, {
|
|
27578
|
-
color: header.column.getIsSorted() === 'asc' ? neutral400 : undefined
|
|
27579
|
-
})
|
|
27580
|
-
]
|
|
27581
|
-
})
|
|
27582
|
-
]
|
|
27583
|
-
}),
|
|
27584
|
-
header.column.getCanResize() && /*#__PURE__*/ jsx(ResizeHandleContainer, {
|
|
27585
|
-
children: /*#__PURE__*/ jsx(ResizeHandle, {
|
|
27586
|
-
onMouseDown: header.getResizeHandler(),
|
|
27587
|
-
onTouchStart: header.getResizeHandler(),
|
|
27588
|
-
className: "resize-handle ".concat(header.column.getIsResizing() ? 'resizing' : ''),
|
|
27589
|
-
onClick: function(e) {
|
|
27590
|
-
e.stopPropagation();
|
|
27591
|
-
e.preventDefault();
|
|
27592
|
-
}
|
|
27593
|
-
})
|
|
27594
|
-
})
|
|
27595
|
-
]
|
|
27596
|
-
}, header.id);
|
|
27597
|
-
})
|
|
27598
|
-
}, headerGroup.id);
|
|
27599
|
-
})
|
|
27600
|
-
})
|
|
27601
|
-
]
|
|
27602
|
-
})
|
|
27758
|
+
table: table,
|
|
27759
|
+
columnWidths: columnWidths,
|
|
27760
|
+
disableControls: disableControls,
|
|
27761
|
+
dense: dense
|
|
27603
27762
|
}),
|
|
27604
|
-
/*#__PURE__*/
|
|
27605
|
-
|
|
27606
|
-
|
|
27607
|
-
|
|
27608
|
-
|
|
27609
|
-
|
|
27610
|
-
style: {
|
|
27611
|
-
width: "".concat(width, "px")
|
|
27612
|
-
}
|
|
27613
|
-
}, id);
|
|
27614
|
-
})
|
|
27615
|
-
}),
|
|
27616
|
-
/*#__PURE__*/ jsx("tbody", {
|
|
27617
|
-
children: table.getRowModel().rows.map(function(row) {
|
|
27618
|
-
var rowClickEnabled = enableRowSelection || !!onRowClick;
|
|
27619
|
-
return /*#__PURE__*/ jsx(Tr, {
|
|
27620
|
-
role: rowClickEnabled ? 'button' : undefined,
|
|
27621
|
-
onClick: onRowClick ? function() {
|
|
27622
|
-
return onRowClick(row.original);
|
|
27623
|
-
} : row.getToggleSelectedHandler(),
|
|
27624
|
-
style: {
|
|
27625
|
-
cursor: rowClickEnabled ? 'pointer' : undefined,
|
|
27626
|
-
background: row.getIsSelected() ? primary100 : undefined
|
|
27627
|
-
},
|
|
27628
|
-
enableHover: rowClickEnabled,
|
|
27629
|
-
children: row.getVisibleCells().map(function(cell) {
|
|
27630
|
-
return /*#__PURE__*/ jsx(Td, {
|
|
27631
|
-
variant: "paragraph100Regular",
|
|
27632
|
-
as: "td",
|
|
27633
|
-
style: {
|
|
27634
|
-
padding: dense ? "".concat(spacing(1), "px ").concat(spacing(cell.column.id === 'row-select' ? 1 : 1.5), "px") : "".concat(spacing(1.5), "px ").concat(spacing(cell.column.id === 'row-select' ? 1 : 1.5), "px")
|
|
27635
|
-
},
|
|
27636
|
-
children: flexRender(cell.column.columnDef.cell, cell.getContext())
|
|
27637
|
-
}, cell.id);
|
|
27638
|
-
})
|
|
27639
|
-
}, row.id);
|
|
27640
|
-
})
|
|
27641
|
-
})
|
|
27642
|
-
]
|
|
27763
|
+
/*#__PURE__*/ jsx(TableBody, {
|
|
27764
|
+
table: table,
|
|
27765
|
+
columnWidths: columnWidths,
|
|
27766
|
+
enableRowSelection: enableRowSelection,
|
|
27767
|
+
onRowClick: onRowClick,
|
|
27768
|
+
dense: dense
|
|
27643
27769
|
})
|
|
27644
27770
|
]
|
|
27645
|
-
}),
|
|
27646
|
-
isLoading && /*#__PURE__*/ jsx(LoadingOverlay, {
|
|
27647
|
-
children: /*#__PURE__*/ jsx(LoadingWheel, {
|
|
27648
|
-
color: primary500
|
|
27649
|
-
})
|
|
27650
27771
|
})
|
|
27651
27772
|
]
|
|
27652
27773
|
}),
|
|
@@ -27884,4 +28005,4 @@ var Tooltip = function(_param) {
|
|
|
27884
28005
|
});
|
|
27885
28006
|
};
|
|
27886
28007
|
|
|
27887
|
-
export { Add, AlertBar, Button, Calendar, CalendarIcon$1 as CalendarIcon, Cancel, Checkbox, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Close, DEFAULT_SPACING, DatePicker, Delete, Dropdown, DropdownOption, Edit, Error$1 as Error, Info, Input, InputWrapper, LoadingWheel, MoreVertical, MultiSelect, Pagination, Popper, Return, Search, SearchIcon, Success, Table, Tooltip, Typography, Warning, baseTypography, colors, elevation, loadingWheelStyle, spacing, typography };
|
|
28008
|
+
export { Add, AlertBar, Button, Calendar, CalendarIcon$1 as CalendarIcon, Cancel, Checkbox, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Close, DEFAULT_SPACING, DatePicker, Delete, Dropdown, DropdownOption, Edit, Error$1 as Error, Info, Input, InputWrapper, LoadingWheel, MoreVertical, MultiSelect, Pagination, Popper, Return, Search, SearchIcon, Success, Table, TableContainer, TableWrapper, Tooltip, Typography, Warning, baseTypography, colors, elevation, loadingWheelStyle, spacing, typography };
|