@raspberrypifoundation/design-system-react 2.7.0-beta.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -2
- package/dist/design-system-react.css +1 -1
- package/dist/design-system-react.js +1125 -952
- package/dist/design-system-react.umd.cjs +41 -6
- package/dist/scss/components/alert.scss +39 -16
- package/dist/scss/components/forms/error-message.scss +1 -0
- package/dist/scss/components/forms/fieldset.scss +13 -17
- package/dist/scss/components/forms/input-checkbox.scss +18 -12
- package/dist/scss/components/forms/input-label.scss +2 -1
- package/dist/scss/components/forms/input-radio.scss +17 -12
- package/dist/scss/components/forms/input-search.scss +8 -2
- package/dist/scss/components/modal.scss +95 -0
- package/dist/scss/components/progress-bar.scss +61 -17
- package/dist/scss/design-system-core.scss +4 -0
- package/dist/scss/properties/colors/_utilities.scss +4 -0
- package/dist/types/lib/main.d.ts +28 -0
- package/dist/types/lib/main.d.ts.map +1 -0
- package/dist/types/src/components/Accordion/Accordion.spec.d.ts +2 -0
- package/dist/types/src/components/Accordion/Accordion.spec.d.ts.map +1 -0
- package/dist/types/src/components/Accordion/index.d.ts +17 -0
- package/dist/types/src/components/Accordion/index.d.ts.map +1 -0
- package/dist/types/src/components/Alert/Alert.spec.d.ts +2 -0
- package/dist/types/src/components/Alert/Alert.spec.d.ts.map +1 -0
- package/dist/types/src/components/Alert/Alert.types.d.ts +41 -0
- package/dist/types/src/components/Alert/Alert.types.d.ts.map +1 -0
- package/dist/types/src/components/Alert/index.d.ts +6 -0
- package/dist/types/src/components/Alert/index.d.ts.map +1 -0
- package/dist/types/src/components/Button/Button.spec.d.ts +2 -0
- package/dist/types/src/components/Button/Button.spec.d.ts.map +1 -0
- package/dist/types/src/components/Button/Button.types.d.ts +34 -0
- package/dist/types/src/components/Button/Button.types.d.ts.map +1 -0
- package/dist/types/src/components/Button/index.d.ts +6 -0
- package/dist/types/src/components/Button/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/CheckboxInput/CheckboxInput.types.d.ts +24 -0
- package/dist/types/src/components/Form/CheckboxInput/CheckboxInput.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/CheckboxInput/index.d.ts +6 -0
- package/dist/types/src/components/Form/CheckboxInput/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/Fieldset/Fieldset.spec.d.ts +2 -0
- package/dist/types/src/components/Form/Fieldset/Fieldset.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/Fieldset/index.d.ts +21 -0
- package/dist/types/src/components/Form/Fieldset/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/InputField/index.d.ts +21 -0
- package/dist/types/src/components/Form/InputField/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/InputLabel/InputLabel.spec.d.ts +2 -0
- package/dist/types/src/components/Form/InputLabel/InputLabel.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/InputLabel/index.d.ts +17 -0
- package/dist/types/src/components/Form/InputLabel/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/RadioInput/RadioInput.spec.d.ts +2 -0
- package/dist/types/src/components/Form/RadioInput/RadioInput.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/RadioInput/index.d.ts +25 -0
- package/dist/types/src/components/Form/RadioInput/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/SearchInput/SearchInput.spec.d.ts +2 -0
- package/dist/types/src/components/Form/SearchInput/SearchInput.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/SearchInput/SearchInput.types.d.ts +21 -0
- package/dist/types/src/components/Form/SearchInput/SearchInput.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/SearchInput/index.d.ts +6 -0
- package/dist/types/src/components/Form/SearchInput/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/SelectInput/SelectInput.spec.d.ts +2 -0
- package/dist/types/src/components/Form/SelectInput/SelectInput.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/SelectInput/index.d.ts +31 -0
- package/dist/types/src/components/Form/SelectInput/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/TextInput/TextInput.spec.d.ts +2 -0
- package/dist/types/src/components/Form/TextInput/TextInput.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/TextInput/index.d.ts +27 -0
- package/dist/types/src/components/Form/TextInput/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/TextareaInput/TextareaInput.spec.d.ts +2 -0
- package/dist/types/src/components/Form/TextareaInput/TextareaInput.spec.d.ts.map +1 -0
- package/dist/types/src/components/Form/TextareaInput/index.d.ts +29 -0
- package/dist/types/src/components/Form/TextareaInput/index.d.ts.map +1 -0
- package/dist/types/src/components/MaterialSymbols/index.d.ts +2 -0
- package/dist/types/src/components/MaterialSymbols/index.d.ts.map +1 -0
- package/dist/types/src/components/Modal/Modal.types.d.ts +45 -0
- package/dist/types/src/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/types/src/components/Modal/index.d.ts +6 -0
- package/dist/types/src/components/Modal/index.d.ts.map +1 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.types.d.ts +11 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.types.d.ts.map +1 -0
- package/dist/types/src/components/ProgressBar/index.d.ts +6 -0
- package/dist/types/src/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/types/src/components/Table/BodyCell/BodyCell.spec.d.ts +2 -0
- package/dist/types/src/components/Table/BodyCell/BodyCell.spec.d.ts.map +1 -0
- package/dist/types/src/components/Table/BodyCell/index.d.ts +6 -0
- package/dist/types/src/components/Table/BodyCell/index.d.ts.map +1 -0
- package/dist/types/src/components/Table/HeaderCell/HeaderCell.helpers.d.ts +2 -0
- package/dist/types/src/components/Table/HeaderCell/HeaderCell.helpers.d.ts.map +1 -0
- package/dist/types/src/components/Table/HeaderCell/HeaderCell.spec.d.ts +2 -0
- package/dist/types/src/components/Table/HeaderCell/HeaderCell.spec.d.ts.map +1 -0
- package/dist/types/src/components/Table/HeaderCell/HeaderCell.types.d.ts +9 -0
- package/dist/types/src/components/Table/HeaderCell/HeaderCell.types.d.ts.map +1 -0
- package/dist/types/src/components/Table/HeaderCell/index.d.ts +5 -0
- package/dist/types/src/components/Table/HeaderCell/index.d.ts.map +1 -0
- package/dist/types/src/components/Table/Table/Table.spec.d.ts +2 -0
- package/dist/types/src/components/Table/Table/Table.spec.d.ts.map +1 -0
- package/dist/types/src/components/Table/Table/Table.types.d.ts +9 -0
- package/dist/types/src/components/Table/Table/Table.types.d.ts.map +1 -0
- package/dist/types/src/components/Table/Table/index.d.ts +5 -0
- package/dist/types/src/components/Table/Table/index.d.ts.map +1 -0
- package/dist/types/src/components/Tag/Tag.spec.d.ts +2 -0
- package/dist/types/src/components/Tag/Tag.spec.d.ts.map +1 -0
- package/dist/types/src/components/Tag/Tag.types.d.ts +13 -0
- package/dist/types/src/components/Tag/Tag.types.d.ts.map +1 -0
- package/dist/types/src/components/Tag/index.d.ts +5 -0
- package/dist/types/src/components/Tag/index.d.ts.map +1 -0
- package/dist/types/src/hooks/useDialog.d.ts +5 -0
- package/dist/types/src/hooks/useDialog.d.ts.map +1 -0
- package/dist/types/src/stories/Accordion.stories.d.ts +15 -0
- package/dist/types/src/stories/Accordion.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Alert.stories.d.ts +41 -0
- package/dist/types/src/stories/Alert.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Button.stories.d.ts +132 -0
- package/dist/types/src/stories/Button.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Modal/ExampleModal/ExampleModal.d.ts +2 -0
- package/dist/types/src/stories/Modal/ExampleModal/ExampleModal.d.ts.map +1 -0
- package/dist/types/src/stories/Modal/ExampleModal/ExampleModal.stories.d.ts +7 -0
- package/dist/types/src/stories/Modal/ExampleModal/ExampleModal.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Modal/Modal.stories.d.ts +26 -0
- package/dist/types/src/stories/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Modal/Modal.stories.helpers.d.ts +3 -0
- package/dist/types/src/stories/Modal/Modal.stories.helpers.d.ts.map +1 -0
- package/dist/types/src/stories/ProgressBar.stories.d.ts +93 -0
- package/dist/types/src/stories/ProgressBar.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Tag.stories.d.ts +53 -0
- package/dist/types/src/stories/Tag.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/CheckboxInput.stories.d.ts +30 -0
- package/dist/types/src/stories/forms/CheckboxInput.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/Fieldset.stories.d.ts +57 -0
- package/dist/types/src/stories/forms/Fieldset.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/InputLabel.stories.d.ts +25 -0
- package/dist/types/src/stories/forms/InputLabel.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/RadioInput.stories.d.ts +51 -0
- package/dist/types/src/stories/forms/RadioInput.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/SearchInput.stories.d.ts +40 -0
- package/dist/types/src/stories/forms/SearchInput.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/SelectInput.stories.d.ts +52 -0
- package/dist/types/src/stories/forms/SelectInput.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/TextInput.stories.d.ts +37 -0
- package/dist/types/src/stories/forms/TextInput.stories.d.ts.map +1 -0
- package/dist/types/src/stories/forms/TextareaInput.stories.d.ts +52 -0
- package/dist/types/src/stories/forms/TextareaInput.stories.d.ts.map +1 -0
- package/dist/types/src/stories/table/Table.stories.d.ts +9 -0
- package/dist/types/src/stories/table/Table.stories.d.ts.map +1 -0
- package/package.json +3 -2
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
function
|
|
4
|
-
return
|
|
1
|
+
import { jsxs as P, jsx as p, Fragment as G } from "react/jsx-runtime";
|
|
2
|
+
import Le, { useRef as _e, useEffect as ce, forwardRef as ke, createElement as me } from "react";
|
|
3
|
+
function qe(e) {
|
|
4
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var le = { exports: {} };
|
|
7
7
|
/*!
|
|
8
8
|
Copyright (c) 2018 Jed Watson.
|
|
9
9
|
Licensed under the MIT License (MIT), see
|
|
10
10
|
http://jedwatson.github.io/classnames
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
return
|
|
12
|
+
var Te;
|
|
13
|
+
function We() {
|
|
14
|
+
return Te || (Te = 1, function(e) {
|
|
15
15
|
(function() {
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
for (var
|
|
19
|
-
var
|
|
20
|
-
|
|
16
|
+
var t = {}.hasOwnProperty;
|
|
17
|
+
function i() {
|
|
18
|
+
for (var r = "", l = 0; l < arguments.length; l++) {
|
|
19
|
+
var c = arguments[l];
|
|
20
|
+
c && (r = a(r, n(c)));
|
|
21
21
|
}
|
|
22
|
-
return
|
|
22
|
+
return r;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
if (typeof
|
|
26
|
-
return
|
|
27
|
-
if (typeof
|
|
24
|
+
function n(r) {
|
|
25
|
+
if (typeof r == "string" || typeof r == "number")
|
|
26
|
+
return r;
|
|
27
|
+
if (typeof r != "object")
|
|
28
28
|
return "";
|
|
29
|
-
if (Array.isArray(
|
|
30
|
-
return
|
|
31
|
-
if (
|
|
32
|
-
return
|
|
33
|
-
var
|
|
34
|
-
for (var
|
|
35
|
-
|
|
36
|
-
return
|
|
29
|
+
if (Array.isArray(r))
|
|
30
|
+
return i.apply(null, r);
|
|
31
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
32
|
+
return r.toString();
|
|
33
|
+
var l = "";
|
|
34
|
+
for (var c in r)
|
|
35
|
+
t.call(r, c) && r[c] && (l = a(l, c));
|
|
36
|
+
return l;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
38
|
+
function a(r, l) {
|
|
39
|
+
return l ? r ? r + " " + l : r + l : r;
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
|
|
42
42
|
})();
|
|
43
|
-
}(
|
|
43
|
+
}(le)), le.exports;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
const
|
|
47
|
-
var
|
|
45
|
+
var Ye = We();
|
|
46
|
+
const M = /* @__PURE__ */ qe(Ye);
|
|
47
|
+
var K = { exports: {} }, X = { exports: {} }, S = {};
|
|
48
48
|
/** @license React v16.13.1
|
|
49
49
|
* react-is.production.min.js
|
|
50
50
|
*
|
|
@@ -53,71 +53,71 @@ var X = { exports: {} }, G = { exports: {} }, C = {};
|
|
|
53
53
|
* This source code is licensed under the MIT license found in the
|
|
54
54
|
* LICENSE file in the root directory of this source tree.
|
|
55
55
|
*/
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
if (
|
|
59
|
-
|
|
60
|
-
var
|
|
61
|
-
function $(
|
|
62
|
-
if (typeof
|
|
63
|
-
var
|
|
64
|
-
switch (
|
|
65
|
-
case
|
|
66
|
-
switch (
|
|
56
|
+
var Ee;
|
|
57
|
+
function De() {
|
|
58
|
+
if (Ee) return S;
|
|
59
|
+
Ee = 1;
|
|
60
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, j = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, N = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
61
|
+
function $(f) {
|
|
62
|
+
if (typeof f == "object" && f !== null) {
|
|
63
|
+
var Y = f.$$typeof;
|
|
64
|
+
switch (Y) {
|
|
65
|
+
case t:
|
|
66
|
+
switch (f = f.type, f) {
|
|
67
|
+
case y:
|
|
67
68
|
case v:
|
|
68
|
-
case _:
|
|
69
|
-
case a:
|
|
70
69
|
case n:
|
|
71
|
-
case
|
|
72
|
-
case
|
|
73
|
-
|
|
70
|
+
case r:
|
|
71
|
+
case a:
|
|
72
|
+
case g:
|
|
73
|
+
return f;
|
|
74
74
|
default:
|
|
75
|
-
switch (
|
|
76
|
-
case
|
|
77
|
-
case
|
|
78
|
-
case
|
|
75
|
+
switch (f = f && f.$$typeof, f) {
|
|
76
|
+
case c:
|
|
77
|
+
case h:
|
|
78
|
+
case I:
|
|
79
79
|
case j:
|
|
80
|
-
case
|
|
81
|
-
return
|
|
80
|
+
case l:
|
|
81
|
+
return f;
|
|
82
82
|
default:
|
|
83
|
-
return
|
|
83
|
+
return Y;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
case
|
|
87
|
-
return
|
|
86
|
+
case i:
|
|
87
|
+
return Y;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return $(
|
|
91
|
+
function k(f) {
|
|
92
|
+
return $(f) === v;
|
|
93
93
|
}
|
|
94
|
-
return
|
|
95
|
-
return
|
|
96
|
-
},
|
|
97
|
-
return $(
|
|
98
|
-
},
|
|
99
|
-
return $(
|
|
100
|
-
},
|
|
101
|
-
return typeof
|
|
102
|
-
},
|
|
103
|
-
return $(
|
|
104
|
-
},
|
|
105
|
-
return $(
|
|
106
|
-
},
|
|
107
|
-
return $(
|
|
108
|
-
},
|
|
109
|
-
return $(
|
|
110
|
-
},
|
|
111
|
-
return $(
|
|
112
|
-
},
|
|
113
|
-
return $(
|
|
114
|
-
},
|
|
115
|
-
return $(
|
|
116
|
-
},
|
|
117
|
-
return $(
|
|
118
|
-
},
|
|
119
|
-
return typeof
|
|
120
|
-
},
|
|
94
|
+
return S.AsyncMode = y, S.ConcurrentMode = v, S.ContextConsumer = c, S.ContextProvider = l, S.Element = t, S.ForwardRef = h, S.Fragment = n, S.Lazy = I, S.Memo = j, S.Portal = i, S.Profiler = r, S.StrictMode = a, S.Suspense = g, S.isAsyncMode = function(f) {
|
|
95
|
+
return k(f) || $(f) === y;
|
|
96
|
+
}, S.isConcurrentMode = k, S.isContextConsumer = function(f) {
|
|
97
|
+
return $(f) === c;
|
|
98
|
+
}, S.isContextProvider = function(f) {
|
|
99
|
+
return $(f) === l;
|
|
100
|
+
}, S.isElement = function(f) {
|
|
101
|
+
return typeof f == "object" && f !== null && f.$$typeof === t;
|
|
102
|
+
}, S.isForwardRef = function(f) {
|
|
103
|
+
return $(f) === h;
|
|
104
|
+
}, S.isFragment = function(f) {
|
|
105
|
+
return $(f) === n;
|
|
106
|
+
}, S.isLazy = function(f) {
|
|
107
|
+
return $(f) === I;
|
|
108
|
+
}, S.isMemo = function(f) {
|
|
109
|
+
return $(f) === j;
|
|
110
|
+
}, S.isPortal = function(f) {
|
|
111
|
+
return $(f) === i;
|
|
112
|
+
}, S.isProfiler = function(f) {
|
|
113
|
+
return $(f) === r;
|
|
114
|
+
}, S.isStrictMode = function(f) {
|
|
115
|
+
return $(f) === a;
|
|
116
|
+
}, S.isSuspense = function(f) {
|
|
117
|
+
return $(f) === g;
|
|
118
|
+
}, S.isValidElementType = function(f) {
|
|
119
|
+
return typeof f == "string" || typeof f == "function" || f === n || f === v || f === r || f === a || f === g || f === A || typeof f == "object" && f !== null && (f.$$typeof === I || f.$$typeof === j || f.$$typeof === l || f.$$typeof === c || f.$$typeof === h || f.$$typeof === q || f.$$typeof === L || f.$$typeof === U || f.$$typeof === N);
|
|
120
|
+
}, S.typeOf = $, S;
|
|
121
121
|
}
|
|
122
122
|
var x = {};
|
|
123
123
|
/** @license React v16.13.1
|
|
@@ -128,477 +128,477 @@ var x = {};
|
|
|
128
128
|
* This source code is licensed under the MIT license found in the
|
|
129
129
|
* LICENSE file in the root directory of this source tree.
|
|
130
130
|
*/
|
|
131
|
-
var
|
|
132
|
-
function
|
|
133
|
-
return
|
|
134
|
-
var
|
|
135
|
-
function $(
|
|
136
|
-
return typeof
|
|
137
|
-
|
|
131
|
+
var we;
|
|
132
|
+
function Fe() {
|
|
133
|
+
return we || (we = 1, process.env.NODE_ENV !== "production" && function() {
|
|
134
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, y = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, j = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, N = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
135
|
+
function $(u) {
|
|
136
|
+
return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
137
|
+
u === n || u === v || u === r || u === a || u === g || u === A || typeof u == "object" && u !== null && (u.$$typeof === I || u.$$typeof === j || u.$$typeof === l || u.$$typeof === c || u.$$typeof === h || u.$$typeof === q || u.$$typeof === L || u.$$typeof === U || u.$$typeof === N);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
if (typeof
|
|
141
|
-
var F =
|
|
139
|
+
function k(u) {
|
|
140
|
+
if (typeof u == "object" && u !== null) {
|
|
141
|
+
var F = u.$$typeof;
|
|
142
142
|
switch (F) {
|
|
143
|
-
case
|
|
144
|
-
var
|
|
145
|
-
switch (
|
|
143
|
+
case t:
|
|
144
|
+
var Z = u.type;
|
|
145
|
+
switch (Z) {
|
|
146
|
+
case y:
|
|
146
147
|
case v:
|
|
147
|
-
case _:
|
|
148
|
-
case a:
|
|
149
148
|
case n:
|
|
150
|
-
case
|
|
151
|
-
case
|
|
152
|
-
|
|
149
|
+
case r:
|
|
150
|
+
case a:
|
|
151
|
+
case g:
|
|
152
|
+
return Z;
|
|
153
153
|
default:
|
|
154
|
-
var
|
|
155
|
-
switch (
|
|
156
|
-
case
|
|
157
|
-
case
|
|
158
|
-
case
|
|
154
|
+
var ge = Z && Z.$$typeof;
|
|
155
|
+
switch (ge) {
|
|
156
|
+
case c:
|
|
157
|
+
case h:
|
|
158
|
+
case I:
|
|
159
159
|
case j:
|
|
160
|
-
case
|
|
161
|
-
return
|
|
160
|
+
case l:
|
|
161
|
+
return ge;
|
|
162
162
|
default:
|
|
163
163
|
return F;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
case
|
|
166
|
+
case i:
|
|
167
167
|
return F;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
var
|
|
172
|
-
function
|
|
173
|
-
return
|
|
171
|
+
var f = y, Y = v, ee = c, re = l, te = t, ne = h, H = n, ae = I, oe = j, B = i, ie = r, D = a, z = g, J = !1;
|
|
172
|
+
function se(u) {
|
|
173
|
+
return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), o(u) || k(u) === y;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
return
|
|
175
|
+
function o(u) {
|
|
176
|
+
return k(u) === v;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
return
|
|
178
|
+
function d(u) {
|
|
179
|
+
return k(u) === c;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return
|
|
181
|
+
function E(u) {
|
|
182
|
+
return k(u) === l;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
return typeof
|
|
184
|
+
function _(u) {
|
|
185
|
+
return typeof u == "object" && u !== null && u.$$typeof === t;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
return
|
|
187
|
+
function m(u) {
|
|
188
|
+
return k(u) === h;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
return
|
|
190
|
+
function w(u) {
|
|
191
|
+
return k(u) === n;
|
|
192
192
|
}
|
|
193
|
-
function b(
|
|
194
|
-
return
|
|
193
|
+
function b(u) {
|
|
194
|
+
return k(u) === I;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
return
|
|
196
|
+
function T(u) {
|
|
197
|
+
return k(u) === j;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
return
|
|
199
|
+
function R(u) {
|
|
200
|
+
return k(u) === i;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
return
|
|
202
|
+
function O(u) {
|
|
203
|
+
return k(u) === r;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return
|
|
205
|
+
function C(u) {
|
|
206
|
+
return k(u) === a;
|
|
207
207
|
}
|
|
208
|
-
function W(
|
|
209
|
-
return
|
|
208
|
+
function W(u) {
|
|
209
|
+
return k(u) === g;
|
|
210
210
|
}
|
|
211
|
-
x.AsyncMode =
|
|
211
|
+
x.AsyncMode = f, x.ConcurrentMode = Y, x.ContextConsumer = ee, x.ContextProvider = re, x.Element = te, x.ForwardRef = ne, x.Fragment = H, x.Lazy = ae, x.Memo = oe, x.Portal = B, x.Profiler = ie, x.StrictMode = D, x.Suspense = z, x.isAsyncMode = se, x.isConcurrentMode = o, x.isContextConsumer = d, x.isContextProvider = E, x.isElement = _, x.isForwardRef = m, x.isFragment = w, x.isLazy = b, x.isMemo = T, x.isPortal = R, x.isProfiler = O, x.isStrictMode = C, x.isSuspense = W, x.isValidElementType = $, x.typeOf = k;
|
|
212
212
|
}()), x;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
215
|
-
function
|
|
216
|
-
return
|
|
214
|
+
var Re;
|
|
215
|
+
function $e() {
|
|
216
|
+
return Re || (Re = 1, process.env.NODE_ENV === "production" ? X.exports = De() : X.exports = Fe()), X.exports;
|
|
217
217
|
}
|
|
218
218
|
/*
|
|
219
219
|
object-assign
|
|
220
220
|
(c) Sindre Sorhus
|
|
221
221
|
@license MIT
|
|
222
222
|
*/
|
|
223
|
-
var
|
|
224
|
-
function
|
|
225
|
-
if (
|
|
226
|
-
|
|
227
|
-
var
|
|
228
|
-
function
|
|
229
|
-
if (
|
|
223
|
+
var fe, Ce;
|
|
224
|
+
function Ue() {
|
|
225
|
+
if (Ce) return fe;
|
|
226
|
+
Ce = 1;
|
|
227
|
+
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
228
|
+
function n(r) {
|
|
229
|
+
if (r == null)
|
|
230
230
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
231
|
-
return Object(
|
|
231
|
+
return Object(r);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function a() {
|
|
234
234
|
try {
|
|
235
235
|
if (!Object.assign)
|
|
236
236
|
return !1;
|
|
237
|
-
var
|
|
238
|
-
if (
|
|
237
|
+
var r = new String("abc");
|
|
238
|
+
if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
|
|
239
239
|
return !1;
|
|
240
|
-
for (var
|
|
241
|
-
|
|
242
|
-
var
|
|
243
|
-
return
|
|
240
|
+
for (var l = {}, c = 0; c < 10; c++)
|
|
241
|
+
l["_" + String.fromCharCode(c)] = c;
|
|
242
|
+
var y = Object.getOwnPropertyNames(l).map(function(h) {
|
|
243
|
+
return l[h];
|
|
244
244
|
});
|
|
245
|
-
if (
|
|
245
|
+
if (y.join("") !== "0123456789")
|
|
246
246
|
return !1;
|
|
247
|
-
var
|
|
248
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
249
|
-
|
|
250
|
-
}), Object.keys(Object.assign({},
|
|
247
|
+
var v = {};
|
|
248
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(h) {
|
|
249
|
+
v[h] = h;
|
|
250
|
+
}), Object.keys(Object.assign({}, v)).join("") === "abcdefghijklmnopqrst";
|
|
251
251
|
} catch {
|
|
252
252
|
return !1;
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
return
|
|
256
|
-
for (var
|
|
257
|
-
|
|
258
|
-
for (var
|
|
259
|
-
|
|
260
|
-
if (
|
|
261
|
-
|
|
262
|
-
for (var A = 0; A <
|
|
263
|
-
|
|
255
|
+
return fe = a() ? Object.assign : function(r, l) {
|
|
256
|
+
for (var c, y = n(r), v, h = 1; h < arguments.length; h++) {
|
|
257
|
+
c = Object(arguments[h]);
|
|
258
|
+
for (var g in c)
|
|
259
|
+
t.call(c, g) && (y[g] = c[g]);
|
|
260
|
+
if (e) {
|
|
261
|
+
v = e(c);
|
|
262
|
+
for (var A = 0; A < v.length; A++)
|
|
263
|
+
i.call(c, v[A]) && (y[v[A]] = c[v[A]]);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
return
|
|
267
|
-
},
|
|
266
|
+
return y;
|
|
267
|
+
}, fe;
|
|
268
268
|
}
|
|
269
|
-
var
|
|
270
|
-
function
|
|
271
|
-
if (
|
|
272
|
-
|
|
273
|
-
var
|
|
274
|
-
return
|
|
269
|
+
var ue, Se;
|
|
270
|
+
function ve() {
|
|
271
|
+
if (Se) return ue;
|
|
272
|
+
Se = 1;
|
|
273
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
274
|
+
return ue = e, ue;
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
276
|
+
var de, xe;
|
|
277
|
+
function Ie() {
|
|
278
|
+
return xe || (xe = 1, de = Function.call.bind(Object.prototype.hasOwnProperty)), de;
|
|
279
279
|
}
|
|
280
|
-
var
|
|
281
|
-
function
|
|
282
|
-
if (Oe) return
|
|
280
|
+
var pe, Oe;
|
|
281
|
+
function ze() {
|
|
282
|
+
if (Oe) return pe;
|
|
283
283
|
Oe = 1;
|
|
284
|
-
var
|
|
284
|
+
var e = function() {
|
|
285
285
|
};
|
|
286
286
|
if (process.env.NODE_ENV !== "production") {
|
|
287
|
-
var
|
|
288
|
-
|
|
289
|
-
var
|
|
290
|
-
typeof console < "u" && console.error(
|
|
287
|
+
var t = /* @__PURE__ */ ve(), i = {}, n = /* @__PURE__ */ Ie();
|
|
288
|
+
e = function(r) {
|
|
289
|
+
var l = "Warning: " + r;
|
|
290
|
+
typeof console < "u" && console.error(l);
|
|
291
291
|
try {
|
|
292
|
-
throw new Error(
|
|
292
|
+
throw new Error(l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function a(r, l, c, y, v) {
|
|
298
298
|
if (process.env.NODE_ENV !== "production") {
|
|
299
|
-
for (var
|
|
300
|
-
if (
|
|
301
|
-
var
|
|
299
|
+
for (var h in r)
|
|
300
|
+
if (n(r, h)) {
|
|
301
|
+
var g;
|
|
302
302
|
try {
|
|
303
|
-
if (typeof
|
|
303
|
+
if (typeof r[h] != "function") {
|
|
304
304
|
var A = Error(
|
|
305
|
-
(
|
|
305
|
+
(y || "React class") + ": " + c + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
306
306
|
);
|
|
307
307
|
throw A.name = "Invariant Violation", A;
|
|
308
308
|
}
|
|
309
|
-
|
|
310
|
-
} catch (
|
|
311
|
-
|
|
309
|
+
g = r[h](l, h, y, c, null, t);
|
|
310
|
+
} catch (I) {
|
|
311
|
+
g = I;
|
|
312
312
|
}
|
|
313
|
-
if (
|
|
314
|
-
(
|
|
315
|
-
),
|
|
316
|
-
|
|
317
|
-
var j =
|
|
318
|
-
|
|
319
|
-
"Failed " +
|
|
313
|
+
if (g && !(g instanceof Error) && e(
|
|
314
|
+
(y || "React class") + ": type specification of " + c + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
315
|
+
), g instanceof Error && !(g.message in i)) {
|
|
316
|
+
i[g.message] = !0;
|
|
317
|
+
var j = v ? v() : "";
|
|
318
|
+
e(
|
|
319
|
+
"Failed " + c + " type: " + g.message + (j ?? "")
|
|
320
320
|
);
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
return
|
|
326
|
-
process.env.NODE_ENV !== "production" && (
|
|
327
|
-
},
|
|
325
|
+
return a.resetWarningCache = function() {
|
|
326
|
+
process.env.NODE_ENV !== "production" && (i = {});
|
|
327
|
+
}, pe = a, pe;
|
|
328
328
|
}
|
|
329
|
-
var
|
|
330
|
-
function
|
|
331
|
-
if (
|
|
332
|
-
|
|
333
|
-
var
|
|
329
|
+
var ye, Pe;
|
|
330
|
+
function Be() {
|
|
331
|
+
if (Pe) return ye;
|
|
332
|
+
Pe = 1;
|
|
333
|
+
var e = $e(), t = Ue(), i = /* @__PURE__ */ ve(), n = /* @__PURE__ */ Ie(), a = /* @__PURE__ */ ze(), r = function() {
|
|
334
334
|
};
|
|
335
|
-
process.env.NODE_ENV !== "production" && (
|
|
336
|
-
var
|
|
337
|
-
typeof console < "u" && console.error(
|
|
335
|
+
process.env.NODE_ENV !== "production" && (r = function(c) {
|
|
336
|
+
var y = "Warning: " + c;
|
|
337
|
+
typeof console < "u" && console.error(y);
|
|
338
338
|
try {
|
|
339
|
-
throw new Error(
|
|
339
|
+
throw new Error(y);
|
|
340
340
|
} catch {
|
|
341
341
|
}
|
|
342
342
|
});
|
|
343
|
-
function
|
|
343
|
+
function l() {
|
|
344
344
|
return null;
|
|
345
345
|
}
|
|
346
|
-
return
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
var
|
|
350
|
-
if (typeof
|
|
351
|
-
return
|
|
346
|
+
return ye = function(c, y) {
|
|
347
|
+
var v = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
|
|
348
|
+
function g(o) {
|
|
349
|
+
var d = o && (v && o[v] || o[h]);
|
|
350
|
+
if (typeof d == "function")
|
|
351
|
+
return d;
|
|
352
352
|
}
|
|
353
353
|
var A = "<<anonymous>>", j = {
|
|
354
|
-
array:
|
|
355
|
-
bigint:
|
|
356
|
-
bool:
|
|
357
|
-
func:
|
|
358
|
-
number:
|
|
359
|
-
object:
|
|
360
|
-
string:
|
|
361
|
-
symbol:
|
|
362
|
-
any:
|
|
354
|
+
array: L("array"),
|
|
355
|
+
bigint: L("bigint"),
|
|
356
|
+
bool: L("boolean"),
|
|
357
|
+
func: L("function"),
|
|
358
|
+
number: L("number"),
|
|
359
|
+
object: L("object"),
|
|
360
|
+
string: L("string"),
|
|
361
|
+
symbol: L("symbol"),
|
|
362
|
+
any: U(),
|
|
363
363
|
arrayOf: $,
|
|
364
|
-
element:
|
|
365
|
-
elementType:
|
|
366
|
-
instanceOf:
|
|
367
|
-
node:
|
|
368
|
-
objectOf:
|
|
369
|
-
oneOf:
|
|
370
|
-
oneOfType:
|
|
371
|
-
shape:
|
|
372
|
-
exact:
|
|
364
|
+
element: k(),
|
|
365
|
+
elementType: f(),
|
|
366
|
+
instanceOf: Y,
|
|
367
|
+
node: ne(),
|
|
368
|
+
objectOf: re,
|
|
369
|
+
oneOf: ee,
|
|
370
|
+
oneOfType: te,
|
|
371
|
+
shape: ae,
|
|
372
|
+
exact: oe
|
|
373
373
|
};
|
|
374
|
-
function
|
|
375
|
-
return
|
|
374
|
+
function I(o, d) {
|
|
375
|
+
return o === d ? o !== 0 || 1 / o === 1 / d : o !== o && d !== d;
|
|
376
376
|
}
|
|
377
|
-
function N(
|
|
378
|
-
this.message =
|
|
377
|
+
function N(o, d) {
|
|
378
|
+
this.message = o, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
|
|
379
379
|
}
|
|
380
380
|
N.prototype = Error.prototype;
|
|
381
|
-
function
|
|
381
|
+
function q(o) {
|
|
382
382
|
if (process.env.NODE_ENV !== "production")
|
|
383
|
-
var
|
|
384
|
-
function
|
|
385
|
-
if (
|
|
386
|
-
if (
|
|
387
|
-
var
|
|
383
|
+
var d = {}, E = 0;
|
|
384
|
+
function _(w, b, T, R, O, C, W) {
|
|
385
|
+
if (R = R || A, C = C || T, W !== i) {
|
|
386
|
+
if (y) {
|
|
387
|
+
var u = new Error(
|
|
388
388
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
389
389
|
);
|
|
390
|
-
throw
|
|
390
|
+
throw u.name = "Invariant Violation", u;
|
|
391
391
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
392
|
-
var F =
|
|
393
|
-
!
|
|
394
|
-
|
|
395
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
396
|
-
),
|
|
392
|
+
var F = R + ":" + T;
|
|
393
|
+
!d[F] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
394
|
+
E < 3 && (r(
|
|
395
|
+
"You are manually calling a React.PropTypes validation function for the `" + C + "` prop on `" + R + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
396
|
+
), d[F] = !0, E++);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
return b[
|
|
399
|
+
return b[T] == null ? w ? b[T] === null ? new N("The " + O + " `" + C + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new N("The " + O + " `" + C + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : o(b, T, R, O, C);
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
return
|
|
401
|
+
var m = _.bind(null, !1);
|
|
402
|
+
return m.isRequired = _.bind(null, !0), m;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
405
|
-
function
|
|
406
|
-
var
|
|
407
|
-
if (
|
|
408
|
-
var
|
|
404
|
+
function L(o) {
|
|
405
|
+
function d(E, _, m, w, b, T) {
|
|
406
|
+
var R = E[_], O = D(R);
|
|
407
|
+
if (O !== o) {
|
|
408
|
+
var C = z(R);
|
|
409
409
|
return new N(
|
|
410
|
-
"Invalid " +
|
|
411
|
-
{ expectedType:
|
|
410
|
+
"Invalid " + w + " `" + b + "` of type " + ("`" + C + "` supplied to `" + m + "`, expected ") + ("`" + o + "`."),
|
|
411
|
+
{ expectedType: o }
|
|
412
412
|
);
|
|
413
413
|
}
|
|
414
414
|
return null;
|
|
415
415
|
}
|
|
416
|
-
return
|
|
416
|
+
return q(d);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
return
|
|
418
|
+
function U() {
|
|
419
|
+
return q(l);
|
|
420
420
|
}
|
|
421
|
-
function $(
|
|
422
|
-
function
|
|
423
|
-
if (typeof
|
|
424
|
-
return new N("Property `" + b + "` of component `" +
|
|
425
|
-
var
|
|
426
|
-
if (!Array.isArray(
|
|
427
|
-
var
|
|
428
|
-
return new N("Invalid " +
|
|
421
|
+
function $(o) {
|
|
422
|
+
function d(E, _, m, w, b) {
|
|
423
|
+
if (typeof o != "function")
|
|
424
|
+
return new N("Property `" + b + "` of component `" + m + "` has invalid PropType notation inside arrayOf.");
|
|
425
|
+
var T = E[_];
|
|
426
|
+
if (!Array.isArray(T)) {
|
|
427
|
+
var R = D(T);
|
|
428
|
+
return new N("Invalid " + w + " `" + b + "` of type " + ("`" + R + "` supplied to `" + m + "`, expected an array."));
|
|
429
429
|
}
|
|
430
|
-
for (var
|
|
431
|
-
var
|
|
432
|
-
if (
|
|
433
|
-
return
|
|
430
|
+
for (var O = 0; O < T.length; O++) {
|
|
431
|
+
var C = o(T, O, m, w, b + "[" + O + "]", i);
|
|
432
|
+
if (C instanceof Error)
|
|
433
|
+
return C;
|
|
434
434
|
}
|
|
435
435
|
return null;
|
|
436
436
|
}
|
|
437
|
-
return
|
|
437
|
+
return q(d);
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
function
|
|
441
|
-
var b =
|
|
442
|
-
if (!
|
|
443
|
-
var
|
|
444
|
-
return new N("Invalid " +
|
|
439
|
+
function k() {
|
|
440
|
+
function o(d, E, _, m, w) {
|
|
441
|
+
var b = d[E];
|
|
442
|
+
if (!c(b)) {
|
|
443
|
+
var T = D(b);
|
|
444
|
+
return new N("Invalid " + m + " `" + w + "` of type " + ("`" + T + "` supplied to `" + _ + "`, expected a single ReactElement."));
|
|
445
445
|
}
|
|
446
446
|
return null;
|
|
447
447
|
}
|
|
448
|
-
return
|
|
448
|
+
return q(o);
|
|
449
449
|
}
|
|
450
|
-
function
|
|
451
|
-
function
|
|
452
|
-
var b =
|
|
453
|
-
if (!
|
|
454
|
-
var
|
|
455
|
-
return new N("Invalid " +
|
|
450
|
+
function f() {
|
|
451
|
+
function o(d, E, _, m, w) {
|
|
452
|
+
var b = d[E];
|
|
453
|
+
if (!e.isValidElementType(b)) {
|
|
454
|
+
var T = D(b);
|
|
455
|
+
return new N("Invalid " + m + " `" + w + "` of type " + ("`" + T + "` supplied to `" + _ + "`, expected a single ReactElement type."));
|
|
456
456
|
}
|
|
457
457
|
return null;
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return q(o);
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
function
|
|
463
|
-
if (!(
|
|
464
|
-
var
|
|
465
|
-
return new N("Invalid " +
|
|
461
|
+
function Y(o) {
|
|
462
|
+
function d(E, _, m, w, b) {
|
|
463
|
+
if (!(E[_] instanceof o)) {
|
|
464
|
+
var T = o.name || A, R = se(E[_]);
|
|
465
|
+
return new N("Invalid " + w + " `" + b + "` of type " + ("`" + R + "` supplied to `" + m + "`, expected ") + ("instance of `" + T + "`."));
|
|
466
466
|
}
|
|
467
467
|
return null;
|
|
468
468
|
}
|
|
469
|
-
return
|
|
469
|
+
return q(d);
|
|
470
470
|
}
|
|
471
|
-
function
|
|
472
|
-
if (!Array.isArray(
|
|
473
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
471
|
+
function ee(o) {
|
|
472
|
+
if (!Array.isArray(o))
|
|
473
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
474
474
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
475
|
-
) :
|
|
476
|
-
function
|
|
477
|
-
for (var
|
|
478
|
-
if (
|
|
475
|
+
) : r("Invalid argument supplied to oneOf, expected an array.")), l;
|
|
476
|
+
function d(E, _, m, w, b) {
|
|
477
|
+
for (var T = E[_], R = 0; R < o.length; R++)
|
|
478
|
+
if (I(T, o[R]))
|
|
479
479
|
return null;
|
|
480
|
-
var
|
|
481
|
-
var F =
|
|
482
|
-
return F === "symbol" ? String(
|
|
480
|
+
var O = JSON.stringify(o, function(W, u) {
|
|
481
|
+
var F = z(u);
|
|
482
|
+
return F === "symbol" ? String(u) : u;
|
|
483
483
|
});
|
|
484
|
-
return new N("Invalid " +
|
|
484
|
+
return new N("Invalid " + w + " `" + b + "` of value `" + String(T) + "` " + ("supplied to `" + m + "`, expected one of " + O + "."));
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return q(d);
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
function
|
|
490
|
-
if (typeof
|
|
491
|
-
return new N("Property `" + b + "` of component `" +
|
|
492
|
-
var
|
|
493
|
-
if (
|
|
494
|
-
return new N("Invalid " +
|
|
495
|
-
for (var
|
|
496
|
-
if (
|
|
497
|
-
var
|
|
498
|
-
if (
|
|
499
|
-
return
|
|
488
|
+
function re(o) {
|
|
489
|
+
function d(E, _, m, w, b) {
|
|
490
|
+
if (typeof o != "function")
|
|
491
|
+
return new N("Property `" + b + "` of component `" + m + "` has invalid PropType notation inside objectOf.");
|
|
492
|
+
var T = E[_], R = D(T);
|
|
493
|
+
if (R !== "object")
|
|
494
|
+
return new N("Invalid " + w + " `" + b + "` of type " + ("`" + R + "` supplied to `" + m + "`, expected an object."));
|
|
495
|
+
for (var O in T)
|
|
496
|
+
if (n(T, O)) {
|
|
497
|
+
var C = o(T, O, m, w, b + "." + O, i);
|
|
498
|
+
if (C instanceof Error)
|
|
499
|
+
return C;
|
|
500
500
|
}
|
|
501
501
|
return null;
|
|
502
502
|
}
|
|
503
|
-
return
|
|
503
|
+
return q(d);
|
|
504
504
|
}
|
|
505
|
-
function
|
|
506
|
-
if (!Array.isArray(
|
|
507
|
-
return process.env.NODE_ENV !== "production" &&
|
|
508
|
-
for (var
|
|
509
|
-
var
|
|
510
|
-
if (typeof
|
|
511
|
-
return
|
|
512
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
513
|
-
),
|
|
505
|
+
function te(o) {
|
|
506
|
+
if (!Array.isArray(o))
|
|
507
|
+
return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), l;
|
|
508
|
+
for (var d = 0; d < o.length; d++) {
|
|
509
|
+
var E = o[d];
|
|
510
|
+
if (typeof E != "function")
|
|
511
|
+
return r(
|
|
512
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(E) + " at index " + d + "."
|
|
513
|
+
), l;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
516
|
-
for (var
|
|
517
|
-
var W =
|
|
518
|
-
if (
|
|
515
|
+
function _(m, w, b, T, R) {
|
|
516
|
+
for (var O = [], C = 0; C < o.length; C++) {
|
|
517
|
+
var W = o[C], u = W(m, w, b, T, R, i);
|
|
518
|
+
if (u == null)
|
|
519
519
|
return null;
|
|
520
|
-
|
|
520
|
+
u.data && n(u.data, "expectedType") && O.push(u.data.expectedType);
|
|
521
521
|
}
|
|
522
|
-
var F =
|
|
523
|
-
return new N("Invalid " +
|
|
522
|
+
var F = O.length > 0 ? ", expected one of type [" + O.join(", ") + "]" : "";
|
|
523
|
+
return new N("Invalid " + T + " `" + R + "` supplied to " + ("`" + b + "`" + F + "."));
|
|
524
524
|
}
|
|
525
|
-
return
|
|
525
|
+
return q(_);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
function
|
|
529
|
-
return B(
|
|
527
|
+
function ne() {
|
|
528
|
+
function o(d, E, _, m, w) {
|
|
529
|
+
return B(d[E]) ? null : new N("Invalid " + m + " `" + w + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
|
|
530
530
|
}
|
|
531
|
-
return
|
|
531
|
+
return q(o);
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function H(o, d, E, _, m) {
|
|
534
534
|
return new N(
|
|
535
|
-
(
|
|
535
|
+
(o || "React class") + ": " + d + " type `" + E + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + m + "`."
|
|
536
536
|
);
|
|
537
537
|
}
|
|
538
|
-
function
|
|
539
|
-
function
|
|
540
|
-
var
|
|
541
|
-
if (
|
|
542
|
-
return new N("Invalid " +
|
|
543
|
-
for (var
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
return
|
|
547
|
-
var W =
|
|
538
|
+
function ae(o) {
|
|
539
|
+
function d(E, _, m, w, b) {
|
|
540
|
+
var T = E[_], R = D(T);
|
|
541
|
+
if (R !== "object")
|
|
542
|
+
return new N("Invalid " + w + " `" + b + "` of type `" + R + "` " + ("supplied to `" + m + "`, expected `object`."));
|
|
543
|
+
for (var O in o) {
|
|
544
|
+
var C = o[O];
|
|
545
|
+
if (typeof C != "function")
|
|
546
|
+
return H(m, w, b, O, z(C));
|
|
547
|
+
var W = C(T, O, m, w, b + "." + O, i);
|
|
548
548
|
if (W)
|
|
549
549
|
return W;
|
|
550
550
|
}
|
|
551
551
|
return null;
|
|
552
552
|
}
|
|
553
|
-
return
|
|
553
|
+
return q(d);
|
|
554
554
|
}
|
|
555
|
-
function
|
|
556
|
-
function
|
|
557
|
-
var
|
|
558
|
-
if (
|
|
559
|
-
return new N("Invalid " +
|
|
560
|
-
var
|
|
561
|
-
for (var
|
|
562
|
-
var W =
|
|
563
|
-
if (
|
|
564
|
-
return
|
|
555
|
+
function oe(o) {
|
|
556
|
+
function d(E, _, m, w, b) {
|
|
557
|
+
var T = E[_], R = D(T);
|
|
558
|
+
if (R !== "object")
|
|
559
|
+
return new N("Invalid " + w + " `" + b + "` of type `" + R + "` " + ("supplied to `" + m + "`, expected `object`."));
|
|
560
|
+
var O = t({}, E[_], o);
|
|
561
|
+
for (var C in O) {
|
|
562
|
+
var W = o[C];
|
|
563
|
+
if (n(o, C) && typeof W != "function")
|
|
564
|
+
return H(m, w, b, C, z(W));
|
|
565
565
|
if (!W)
|
|
566
566
|
return new N(
|
|
567
|
-
"Invalid " +
|
|
568
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
567
|
+
"Invalid " + w + " `" + b + "` key `" + C + "` supplied to `" + m + "`.\nBad object: " + JSON.stringify(E[_], null, " ") + `
|
|
568
|
+
Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
|
|
569
569
|
);
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
return
|
|
570
|
+
var u = W(T, C, m, w, b + "." + C, i);
|
|
571
|
+
if (u)
|
|
572
|
+
return u;
|
|
573
573
|
}
|
|
574
574
|
return null;
|
|
575
575
|
}
|
|
576
|
-
return
|
|
576
|
+
return q(d);
|
|
577
577
|
}
|
|
578
|
-
function B(
|
|
579
|
-
switch (typeof
|
|
578
|
+
function B(o) {
|
|
579
|
+
switch (typeof o) {
|
|
580
580
|
case "number":
|
|
581
581
|
case "string":
|
|
582
582
|
case "undefined":
|
|
583
583
|
return !0;
|
|
584
584
|
case "boolean":
|
|
585
|
-
return !
|
|
585
|
+
return !o;
|
|
586
586
|
case "object":
|
|
587
|
-
if (Array.isArray(
|
|
588
|
-
return
|
|
589
|
-
if (
|
|
587
|
+
if (Array.isArray(o))
|
|
588
|
+
return o.every(B);
|
|
589
|
+
if (o === null || c(o))
|
|
590
590
|
return !0;
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
var
|
|
594
|
-
if (
|
|
595
|
-
for (; !(
|
|
596
|
-
if (!B(
|
|
591
|
+
var d = g(o);
|
|
592
|
+
if (d) {
|
|
593
|
+
var E = d.call(o), _;
|
|
594
|
+
if (d !== o.entries) {
|
|
595
|
+
for (; !(_ = E.next()).done; )
|
|
596
|
+
if (!B(_.value))
|
|
597
597
|
return !1;
|
|
598
598
|
} else
|
|
599
|
-
for (; !(
|
|
600
|
-
var
|
|
601
|
-
if (
|
|
599
|
+
for (; !(_ = E.next()).done; ) {
|
|
600
|
+
var m = _.value;
|
|
601
|
+
if (m && !B(m[1]))
|
|
602
602
|
return !1;
|
|
603
603
|
}
|
|
604
604
|
} else
|
|
@@ -608,752 +608,925 @@ Valid keys: ` + JSON.stringify(Object.keys(t), null, " ")
|
|
|
608
608
|
return !1;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
function
|
|
612
|
-
return
|
|
611
|
+
function ie(o, d) {
|
|
612
|
+
return o === "symbol" ? !0 : d ? d["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && d instanceof Symbol : !1;
|
|
613
613
|
}
|
|
614
|
-
function D(
|
|
615
|
-
var
|
|
616
|
-
return Array.isArray(
|
|
614
|
+
function D(o) {
|
|
615
|
+
var d = typeof o;
|
|
616
|
+
return Array.isArray(o) ? "array" : o instanceof RegExp ? "object" : ie(d, o) ? "symbol" : d;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
if (typeof
|
|
620
|
-
return "" +
|
|
621
|
-
var
|
|
622
|
-
if (
|
|
623
|
-
if (
|
|
618
|
+
function z(o) {
|
|
619
|
+
if (typeof o > "u" || o === null)
|
|
620
|
+
return "" + o;
|
|
621
|
+
var d = D(o);
|
|
622
|
+
if (d === "object") {
|
|
623
|
+
if (o instanceof Date)
|
|
624
624
|
return "date";
|
|
625
|
-
if (
|
|
625
|
+
if (o instanceof RegExp)
|
|
626
626
|
return "regexp";
|
|
627
627
|
}
|
|
628
|
-
return
|
|
628
|
+
return d;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
var
|
|
632
|
-
switch (
|
|
630
|
+
function J(o) {
|
|
631
|
+
var d = z(o);
|
|
632
|
+
switch (d) {
|
|
633
633
|
case "array":
|
|
634
634
|
case "object":
|
|
635
|
-
return "an " +
|
|
635
|
+
return "an " + d;
|
|
636
636
|
case "boolean":
|
|
637
637
|
case "date":
|
|
638
638
|
case "regexp":
|
|
639
|
-
return "a " +
|
|
639
|
+
return "a " + d;
|
|
640
640
|
default:
|
|
641
|
-
return
|
|
641
|
+
return d;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
return !
|
|
644
|
+
function se(o) {
|
|
645
|
+
return !o.constructor || !o.constructor.name ? A : o.constructor.name;
|
|
646
646
|
}
|
|
647
|
-
return j.checkPropTypes =
|
|
648
|
-
},
|
|
647
|
+
return j.checkPropTypes = a, j.resetWarningCache = a.resetWarningCache, j.PropTypes = j, j;
|
|
648
|
+
}, ye;
|
|
649
649
|
}
|
|
650
|
-
var
|
|
651
|
-
function
|
|
652
|
-
if (
|
|
653
|
-
|
|
654
|
-
var
|
|
655
|
-
function
|
|
650
|
+
var he, Ne;
|
|
651
|
+
function Ve() {
|
|
652
|
+
if (Ne) return he;
|
|
653
|
+
Ne = 1;
|
|
654
|
+
var e = /* @__PURE__ */ ve();
|
|
655
|
+
function t() {
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function i() {
|
|
658
658
|
}
|
|
659
|
-
return
|
|
660
|
-
function
|
|
661
|
-
if (
|
|
659
|
+
return i.resetWarningCache = t, he = function() {
|
|
660
|
+
function n(l, c, y, v, h, g) {
|
|
661
|
+
if (g !== e) {
|
|
662
662
|
var A = new Error(
|
|
663
663
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
664
664
|
);
|
|
665
665
|
throw A.name = "Invariant Violation", A;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
|
|
669
|
-
function
|
|
670
|
-
return
|
|
668
|
+
n.isRequired = n;
|
|
669
|
+
function a() {
|
|
670
|
+
return n;
|
|
671
671
|
}
|
|
672
|
-
var
|
|
673
|
-
array:
|
|
674
|
-
bigint:
|
|
675
|
-
bool:
|
|
676
|
-
func:
|
|
677
|
-
number:
|
|
678
|
-
object:
|
|
679
|
-
string:
|
|
680
|
-
symbol:
|
|
681
|
-
any:
|
|
682
|
-
arrayOf:
|
|
683
|
-
element:
|
|
684
|
-
elementType:
|
|
685
|
-
instanceOf:
|
|
686
|
-
node:
|
|
687
|
-
objectOf:
|
|
688
|
-
oneOf:
|
|
689
|
-
oneOfType:
|
|
690
|
-
shape:
|
|
691
|
-
exact:
|
|
692
|
-
checkPropTypes:
|
|
693
|
-
resetWarningCache:
|
|
672
|
+
var r = {
|
|
673
|
+
array: n,
|
|
674
|
+
bigint: n,
|
|
675
|
+
bool: n,
|
|
676
|
+
func: n,
|
|
677
|
+
number: n,
|
|
678
|
+
object: n,
|
|
679
|
+
string: n,
|
|
680
|
+
symbol: n,
|
|
681
|
+
any: n,
|
|
682
|
+
arrayOf: a,
|
|
683
|
+
element: n,
|
|
684
|
+
elementType: n,
|
|
685
|
+
instanceOf: a,
|
|
686
|
+
node: n,
|
|
687
|
+
objectOf: a,
|
|
688
|
+
oneOf: a,
|
|
689
|
+
oneOfType: a,
|
|
690
|
+
shape: a,
|
|
691
|
+
exact: a,
|
|
692
|
+
checkPropTypes: i,
|
|
693
|
+
resetWarningCache: t
|
|
694
694
|
};
|
|
695
|
-
return
|
|
696
|
-
},
|
|
695
|
+
return r.PropTypes = r, r;
|
|
696
|
+
}, he;
|
|
697
697
|
}
|
|
698
|
-
var
|
|
699
|
-
function
|
|
700
|
-
if (
|
|
701
|
-
if (
|
|
702
|
-
var
|
|
703
|
-
|
|
698
|
+
var Ae;
|
|
699
|
+
function He() {
|
|
700
|
+
if (Ae) return K.exports;
|
|
701
|
+
if (Ae = 1, process.env.NODE_ENV !== "production") {
|
|
702
|
+
var e = $e(), t = !0;
|
|
703
|
+
K.exports = /* @__PURE__ */ Be()(e.isElement, t);
|
|
704
704
|
} else
|
|
705
|
-
|
|
706
|
-
return
|
|
705
|
+
K.exports = /* @__PURE__ */ Ve()();
|
|
706
|
+
return K.exports;
|
|
707
707
|
}
|
|
708
|
-
var
|
|
709
|
-
const
|
|
710
|
-
const
|
|
711
|
-
return /* @__PURE__ */
|
|
712
|
-
/* @__PURE__ */
|
|
713
|
-
|
|
714
|
-
/* @__PURE__ */
|
|
708
|
+
var Je = /* @__PURE__ */ He();
|
|
709
|
+
const s = /* @__PURE__ */ qe(Je), Ze = ({ content: e, title: t, className: i, id: n = "accordion" }) => {
|
|
710
|
+
const a = M("rpf-accordion", i);
|
|
711
|
+
return /* @__PURE__ */ P("details", { className: a, id: `${n}`, children: [
|
|
712
|
+
/* @__PURE__ */ P("summary", { className: "rpf-accordion__title", role: "button", children: [
|
|
713
|
+
t,
|
|
714
|
+
/* @__PURE__ */ p("span", { className: "rpf-accordion__icon" })
|
|
715
715
|
] }),
|
|
716
|
-
/* @__PURE__ */
|
|
716
|
+
/* @__PURE__ */ p("p", { className: "rpf-accordion__text", children: e })
|
|
717
717
|
] });
|
|
718
718
|
};
|
|
719
|
-
|
|
720
|
-
content:
|
|
721
|
-
title:
|
|
722
|
-
id:
|
|
723
|
-
className:
|
|
719
|
+
Ze.propTypes = {
|
|
720
|
+
content: s.string.isRequired,
|
|
721
|
+
title: s.string.isRequired,
|
|
722
|
+
id: s.string,
|
|
723
|
+
className: s.string
|
|
724
724
|
};
|
|
725
|
-
const
|
|
726
|
-
text:
|
|
727
|
-
href:
|
|
728
|
-
title:
|
|
729
|
-
className:
|
|
730
|
-
type:
|
|
731
|
-
variant:
|
|
732
|
-
size:
|
|
733
|
-
icon:
|
|
734
|
-
iconOnly:
|
|
735
|
-
iconPosition:
|
|
736
|
-
fullWidth:
|
|
737
|
-
disabled:
|
|
725
|
+
const V = ({
|
|
726
|
+
text: e,
|
|
727
|
+
href: t,
|
|
728
|
+
title: i,
|
|
729
|
+
className: n,
|
|
730
|
+
type: a = "primary",
|
|
731
|
+
variant: r = "",
|
|
732
|
+
size: l = "default",
|
|
733
|
+
icon: c = "",
|
|
734
|
+
iconOnly: y = !1,
|
|
735
|
+
iconPosition: v = "left",
|
|
736
|
+
fullWidth: h = !1,
|
|
737
|
+
disabled: g = !1,
|
|
738
738
|
onClick: A = () => {
|
|
739
739
|
},
|
|
740
740
|
"aria-label": j = "",
|
|
741
|
-
linkComponent:
|
|
741
|
+
linkComponent: I
|
|
742
742
|
// to pass in react-router-dom Link component
|
|
743
743
|
}) => {
|
|
744
|
-
const N =
|
|
744
|
+
const N = c && y, q = M(
|
|
745
745
|
// Static classes
|
|
746
746
|
"rpf-button",
|
|
747
747
|
// Conditional classes
|
|
748
748
|
{
|
|
749
|
-
[`rpf-button--${
|
|
750
|
-
"rpf-button--danger":
|
|
751
|
-
"rpf-button--sm":
|
|
749
|
+
[`rpf-button--${a}`]: a,
|
|
750
|
+
"rpf-button--danger": r === "danger",
|
|
751
|
+
"rpf-button--sm": l === "small",
|
|
752
752
|
"rpf-button--icon-only": N,
|
|
753
|
-
"rpf-button--full-width":
|
|
754
|
-
disabled:
|
|
753
|
+
"rpf-button--full-width": h,
|
|
754
|
+
disabled: g
|
|
755
755
|
},
|
|
756
|
-
|
|
756
|
+
n
|
|
757
757
|
);
|
|
758
|
-
let
|
|
759
|
-
|
|
758
|
+
let L = "rpf-button__icon";
|
|
759
|
+
Le.isValidElement(c) ? (L += " icon", console.warn(
|
|
760
760
|
"DEPRECATED: icons as React elements will not be supported in future releases"
|
|
761
|
-
)) :
|
|
762
|
-
const
|
|
763
|
-
|
|
761
|
+
)) : L += " material-symbols-sharp";
|
|
762
|
+
const U = (f, Y) => !Y || v !== f ? null : typeof Y == "string" ? /* @__PURE__ */ p("span", { className: L, children: Y }) : Y, $ = () => e && !N && /* @__PURE__ */ p("span", { className: "text", children: e }), k = /* @__PURE__ */ P(G, { children: [
|
|
763
|
+
U("left", c),
|
|
764
764
|
$(),
|
|
765
|
-
|
|
765
|
+
U("right", c)
|
|
766
766
|
] });
|
|
767
|
-
return
|
|
768
|
-
|
|
767
|
+
return t ? /* @__PURE__ */ p(
|
|
768
|
+
I || "a",
|
|
769
769
|
{
|
|
770
|
-
className:
|
|
771
|
-
...
|
|
770
|
+
className: q,
|
|
771
|
+
...I ? { to: t } : { href: t, role: "button" },
|
|
772
772
|
onClick: A,
|
|
773
773
|
"aria-label": j,
|
|
774
|
-
children:
|
|
774
|
+
children: k
|
|
775
775
|
}
|
|
776
|
-
) : /* @__PURE__ */
|
|
776
|
+
) : /* @__PURE__ */ p(
|
|
777
777
|
"button",
|
|
778
778
|
{
|
|
779
|
-
className:
|
|
780
|
-
title:
|
|
779
|
+
className: q,
|
|
780
|
+
title: i,
|
|
781
781
|
onClick: A,
|
|
782
|
-
disabled:
|
|
782
|
+
disabled: g,
|
|
783
783
|
"aria-label": j,
|
|
784
|
-
children:
|
|
784
|
+
children: k
|
|
785
785
|
}
|
|
786
786
|
);
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
fullWidth: e.bool,
|
|
802
|
-
variant: e.string,
|
|
803
|
-
linkComponent: e.elementType
|
|
804
|
-
};
|
|
805
|
-
const ze = ({ title: r, text: s, children: c, type: a, actions: i, onClose: n }) => /* @__PURE__ */ w("div", { className: `rpf-alert rpf-alert--${a}`, children: [
|
|
806
|
-
/* @__PURE__ */ w("div", { className: "rpf-alert__header", children: [
|
|
807
|
-
/* @__PURE__ */ d("span", { className: "rpf-alert__icon material-symbols-sharp" }),
|
|
808
|
-
/* @__PURE__ */ d("p", { className: "rpf-alert__title", children: r }),
|
|
809
|
-
!!n && /* @__PURE__ */ d("div", { className: "rpf-alert__close", children: /* @__PURE__ */ d(
|
|
810
|
-
de,
|
|
787
|
+
}, vr = ({
|
|
788
|
+
title: e,
|
|
789
|
+
text: t,
|
|
790
|
+
titleChildren: i,
|
|
791
|
+
children: n,
|
|
792
|
+
type: a,
|
|
793
|
+
actions: r,
|
|
794
|
+
onClose: l
|
|
795
|
+
}) => /* @__PURE__ */ P("div", { className: `rpf-alert rpf-alert--${a}`, children: [
|
|
796
|
+
/* @__PURE__ */ P("div", { className: "rpf-alert__header", children: [
|
|
797
|
+
/* @__PURE__ */ p("span", { className: "rpf-alert__icon material-symbols-sharp" }),
|
|
798
|
+
i ? /* @__PURE__ */ p("div", { className: "rpf-alert__title", children: i }) : e ? /* @__PURE__ */ p("p", { className: "rpf-alert__title", children: e }) : null,
|
|
799
|
+
!!l && /* @__PURE__ */ p("div", { className: "rpf-alert__close", children: /* @__PURE__ */ p(
|
|
800
|
+
V,
|
|
811
801
|
{
|
|
812
802
|
type: "tertiary",
|
|
813
803
|
icon: "close",
|
|
814
804
|
size: "small",
|
|
815
805
|
iconOnly: !0,
|
|
816
|
-
onClick:
|
|
806
|
+
onClick: l
|
|
817
807
|
}
|
|
818
808
|
) })
|
|
819
809
|
] }),
|
|
820
|
-
(
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
de,
|
|
810
|
+
(t || n || r) && /* @__PURE__ */ P("div", { className: "rpf-alert__body", children: [
|
|
811
|
+
t ? /* @__PURE__ */ p("p", { children: t }) : n ? /* @__PURE__ */ p("div", { children: n }) : null,
|
|
812
|
+
r && r.length > 0 && /* @__PURE__ */ p("div", { className: "rpf-alert__actions", children: r.map((c, y) => /* @__PURE__ */ p(
|
|
813
|
+
V,
|
|
825
814
|
{
|
|
826
|
-
text:
|
|
815
|
+
text: c.label,
|
|
827
816
|
size: "small",
|
|
828
817
|
type: "tertiary",
|
|
829
|
-
href:
|
|
830
|
-
onClick:
|
|
818
|
+
href: c.href,
|
|
819
|
+
onClick: c.onClick
|
|
831
820
|
},
|
|
832
|
-
|
|
821
|
+
y
|
|
833
822
|
)) })
|
|
834
823
|
] })
|
|
835
|
-
] })
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
label: e.string,
|
|
844
|
-
onClick: e.func
|
|
845
|
-
})
|
|
846
|
-
),
|
|
847
|
-
children: e.node,
|
|
848
|
-
onClose: e.func
|
|
849
|
-
};
|
|
850
|
-
const Ue = ({
|
|
851
|
-
id: r,
|
|
852
|
-
label: s,
|
|
853
|
-
name: c,
|
|
854
|
-
checked: a = !1,
|
|
855
|
-
disabled: i = !1,
|
|
856
|
-
error: n = "",
|
|
857
|
-
onChange: u = () => {
|
|
824
|
+
] }), br = ({
|
|
825
|
+
id: e,
|
|
826
|
+
label: t,
|
|
827
|
+
name: i,
|
|
828
|
+
checked: n = !1,
|
|
829
|
+
disabled: a = !1,
|
|
830
|
+
error: r = "",
|
|
831
|
+
onChange: l = () => {
|
|
858
832
|
},
|
|
859
|
-
value:
|
|
860
|
-
className:
|
|
861
|
-
}) => /* @__PURE__ */
|
|
862
|
-
/* @__PURE__ */
|
|
833
|
+
value: c = "",
|
|
834
|
+
className: y = ""
|
|
835
|
+
}) => /* @__PURE__ */ P(G, { children: [
|
|
836
|
+
/* @__PURE__ */ P(
|
|
863
837
|
"label",
|
|
864
838
|
{
|
|
865
|
-
className:
|
|
866
|
-
"rpf-input-checkbox--error":
|
|
867
|
-
className:
|
|
839
|
+
className: M("rpf-input-checkbox", {
|
|
840
|
+
"rpf-input-checkbox--error": r,
|
|
841
|
+
className: y
|
|
868
842
|
}),
|
|
869
843
|
children: [
|
|
870
|
-
/* @__PURE__ */
|
|
844
|
+
/* @__PURE__ */ p(
|
|
871
845
|
"input",
|
|
872
846
|
{
|
|
873
|
-
checked: !!
|
|
874
|
-
disabled:
|
|
875
|
-
id:
|
|
876
|
-
name:
|
|
877
|
-
onChange:
|
|
847
|
+
checked: !!n,
|
|
848
|
+
disabled: a,
|
|
849
|
+
id: e,
|
|
850
|
+
name: i,
|
|
851
|
+
onChange: l,
|
|
878
852
|
type: "checkbox",
|
|
879
|
-
value:
|
|
853
|
+
value: c
|
|
880
854
|
}
|
|
881
|
-
)
|
|
882
|
-
|
|
883
|
-
s
|
|
855
|
+
),
|
|
856
|
+
t
|
|
884
857
|
]
|
|
885
858
|
}
|
|
886
859
|
),
|
|
887
|
-
|
|
888
|
-
/* @__PURE__ */
|
|
889
|
-
|
|
860
|
+
r && /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
|
|
861
|
+
/* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
|
|
862
|
+
r
|
|
890
863
|
] })
|
|
891
|
-
] })
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
onChange: e.func,
|
|
900
|
-
value: e.string,
|
|
901
|
-
className: e.string
|
|
902
|
-
};
|
|
903
|
-
const Be = ({
|
|
904
|
-
disabled: r = !1,
|
|
905
|
-
errorText: s = "",
|
|
906
|
-
fullWidth: c = !1,
|
|
907
|
-
legendText: a,
|
|
908
|
-
legendHintText: i = "",
|
|
909
|
-
children: n
|
|
910
|
-
}) => /* @__PURE__ */ w(
|
|
864
|
+
] }), Ke = ({
|
|
865
|
+
disabled: e = !1,
|
|
866
|
+
errorText: t = "",
|
|
867
|
+
fullWidth: i = !1,
|
|
868
|
+
legendText: n,
|
|
869
|
+
legendHintText: a = "",
|
|
870
|
+
children: r
|
|
871
|
+
}) => /* @__PURE__ */ P(
|
|
911
872
|
"fieldset",
|
|
912
873
|
{
|
|
913
|
-
className:
|
|
914
|
-
"rpf-fieldset--disabled":
|
|
915
|
-
"rpf-fieldset--full-width":
|
|
916
|
-
"rpf-fieldset--error":
|
|
874
|
+
className: M("rpf-fieldset", {
|
|
875
|
+
"rpf-fieldset--disabled": e,
|
|
876
|
+
"rpf-fieldset--full-width": i,
|
|
877
|
+
"rpf-fieldset--error": t
|
|
917
878
|
}),
|
|
918
|
-
disabled:
|
|
879
|
+
disabled: e,
|
|
919
880
|
children: [
|
|
920
|
-
/* @__PURE__ */
|
|
921
|
-
|
|
922
|
-
|
|
881
|
+
/* @__PURE__ */ P("legend", { className: "rpf-label", children: [
|
|
882
|
+
n,
|
|
883
|
+
a.length > 0 ? /* @__PURE__ */ p("small", { className: "rpf-label__hint", children: a }) : null
|
|
923
884
|
] }),
|
|
924
|
-
/* @__PURE__ */
|
|
925
|
-
|
|
926
|
-
/* @__PURE__ */
|
|
927
|
-
|
|
885
|
+
/* @__PURE__ */ p("div", { className: "rpf-fieldset__inputs", children: r }),
|
|
886
|
+
t.length > 0 ? /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
|
|
887
|
+
/* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
|
|
888
|
+
t
|
|
928
889
|
] }) : null
|
|
929
890
|
]
|
|
930
891
|
}
|
|
931
892
|
);
|
|
932
|
-
|
|
933
|
-
disabled:
|
|
934
|
-
errorText:
|
|
935
|
-
fullWidth:
|
|
936
|
-
legendText:
|
|
937
|
-
legendHintText:
|
|
938
|
-
children:
|
|
893
|
+
Ke.propTypes = {
|
|
894
|
+
disabled: s.bool,
|
|
895
|
+
errorText: s.string,
|
|
896
|
+
fullWidth: s.bool,
|
|
897
|
+
legendText: s.string.isRequired,
|
|
898
|
+
legendHintText: s.string,
|
|
899
|
+
children: s.node
|
|
939
900
|
};
|
|
940
|
-
const
|
|
941
|
-
id:
|
|
942
|
-
label:
|
|
943
|
-
children:
|
|
944
|
-
disabled:
|
|
945
|
-
error:
|
|
946
|
-
hint:
|
|
947
|
-
}) => /* @__PURE__ */
|
|
948
|
-
(
|
|
901
|
+
const Q = ({
|
|
902
|
+
id: e,
|
|
903
|
+
label: t,
|
|
904
|
+
children: i,
|
|
905
|
+
disabled: n = !1,
|
|
906
|
+
error: a = "",
|
|
907
|
+
hint: r = ""
|
|
908
|
+
}) => /* @__PURE__ */ P("div", { className: "rpf-input-field", children: [
|
|
909
|
+
(t || r) && /* @__PURE__ */ P(
|
|
949
910
|
"label",
|
|
950
911
|
{
|
|
951
|
-
htmlFor:
|
|
952
|
-
className:
|
|
953
|
-
"rpf-label--disabled":
|
|
912
|
+
htmlFor: e,
|
|
913
|
+
className: M("rpf-label", {
|
|
914
|
+
"rpf-label--disabled": n
|
|
954
915
|
}),
|
|
955
916
|
children: [
|
|
956
|
-
|
|
957
|
-
/* @__PURE__ */
|
|
917
|
+
t,
|
|
918
|
+
/* @__PURE__ */ p("small", { className: "rpf-label__hint", children: r })
|
|
958
919
|
]
|
|
959
920
|
}
|
|
960
921
|
),
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
/* @__PURE__ */
|
|
964
|
-
|
|
922
|
+
i,
|
|
923
|
+
a && /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
|
|
924
|
+
/* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
|
|
925
|
+
a
|
|
965
926
|
] })
|
|
966
927
|
] });
|
|
967
|
-
|
|
968
|
-
disabled:
|
|
969
|
-
error:
|
|
970
|
-
hint:
|
|
971
|
-
label:
|
|
972
|
-
id:
|
|
973
|
-
children:
|
|
928
|
+
Q.propTypes = {
|
|
929
|
+
disabled: s.bool,
|
|
930
|
+
error: s.string,
|
|
931
|
+
hint: s.oneOfType([s.string, s.object]),
|
|
932
|
+
label: s.oneOfType([s.string, s.object]).isRequired,
|
|
933
|
+
id: s.string.isRequired,
|
|
934
|
+
children: s.node
|
|
974
935
|
};
|
|
975
|
-
const
|
|
976
|
-
label:
|
|
977
|
-
inputFieldId:
|
|
978
|
-
disabled:
|
|
979
|
-
hint:
|
|
980
|
-
}) => /* @__PURE__ */
|
|
936
|
+
const Xe = ({
|
|
937
|
+
label: e,
|
|
938
|
+
inputFieldId: t,
|
|
939
|
+
disabled: i = !1,
|
|
940
|
+
hint: n = ""
|
|
941
|
+
}) => /* @__PURE__ */ p("div", { className: "rpf-label", children: /* @__PURE__ */ P(
|
|
981
942
|
"label",
|
|
982
943
|
{
|
|
983
|
-
htmlFor:
|
|
984
|
-
className:
|
|
985
|
-
"rpf-label--disabled":
|
|
944
|
+
htmlFor: t,
|
|
945
|
+
className: M("rpf-label", {
|
|
946
|
+
"rpf-label--disabled": i
|
|
986
947
|
}),
|
|
987
948
|
children: [
|
|
988
|
-
|
|
989
|
-
|
|
949
|
+
e,
|
|
950
|
+
n && /* @__PURE__ */ p("div", { className: "rpf-label__hint", children: n })
|
|
990
951
|
]
|
|
991
952
|
}
|
|
992
953
|
) });
|
|
993
|
-
|
|
994
|
-
disabled:
|
|
995
|
-
hint:
|
|
996
|
-
label:
|
|
997
|
-
inputFieldId:
|
|
998
|
-
};
|
|
999
|
-
const He = ({ text: r = "", percent: s }) => /* @__PURE__ */ d("div", { className: "rpf-progress-bar", children: /* @__PURE__ */ w("label", { className: "rpf-progress-bar__label", children: [
|
|
1000
|
-
/* @__PURE__ */ d("span", { children: r }),
|
|
1001
|
-
/* @__PURE__ */ d("progress", { className: "rpf-progress-bar__bar", value: s, max: "100", children: `${s}%` })
|
|
1002
|
-
] }) });
|
|
1003
|
-
He.propTypes = {
|
|
1004
|
-
text: e.string,
|
|
1005
|
-
percent: e.number.isRequired
|
|
954
|
+
Xe.propTypes = {
|
|
955
|
+
disabled: s.bool,
|
|
956
|
+
hint: s.oneOfType([s.string, s.object]),
|
|
957
|
+
label: s.oneOfType([s.string, s.object]).isRequired,
|
|
958
|
+
inputFieldId: s.string.isRequired
|
|
1006
959
|
};
|
|
1007
|
-
const
|
|
1008
|
-
id:
|
|
1009
|
-
label:
|
|
1010
|
-
name:
|
|
1011
|
-
checked:
|
|
1012
|
-
disabled:
|
|
1013
|
-
fullWidth:
|
|
1014
|
-
onChange:
|
|
960
|
+
const Ge = ({
|
|
961
|
+
id: e,
|
|
962
|
+
label: t,
|
|
963
|
+
name: i,
|
|
964
|
+
checked: n = !1,
|
|
965
|
+
disabled: a = !1,
|
|
966
|
+
fullWidth: r = !1,
|
|
967
|
+
onChange: l = () => {
|
|
1015
968
|
},
|
|
1016
|
-
value:
|
|
1017
|
-
}) => /* @__PURE__ */
|
|
969
|
+
value: c = ""
|
|
970
|
+
}) => /* @__PURE__ */ p(G, { children: /* @__PURE__ */ P(
|
|
1018
971
|
"label",
|
|
1019
972
|
{
|
|
1020
|
-
className:
|
|
1021
|
-
"rpf-input-radio--disabled":
|
|
1022
|
-
"rpf-input--full-width":
|
|
973
|
+
className: M("rpf-input-radio", {
|
|
974
|
+
"rpf-input-radio--disabled": a,
|
|
975
|
+
"rpf-input--full-width": r
|
|
1023
976
|
}),
|
|
1024
977
|
children: [
|
|
1025
|
-
/* @__PURE__ */
|
|
978
|
+
/* @__PURE__ */ p(
|
|
1026
979
|
"input",
|
|
1027
980
|
{
|
|
1028
|
-
checked: !!
|
|
1029
|
-
disabled:
|
|
1030
|
-
id:
|
|
1031
|
-
name:
|
|
1032
|
-
onChange:
|
|
981
|
+
checked: !!n,
|
|
982
|
+
disabled: a,
|
|
983
|
+
id: e,
|
|
984
|
+
name: i,
|
|
985
|
+
onChange: l,
|
|
1033
986
|
type: "radio",
|
|
1034
|
-
value:
|
|
987
|
+
value: c
|
|
1035
988
|
}
|
|
1036
989
|
),
|
|
1037
|
-
|
|
990
|
+
t
|
|
1038
991
|
]
|
|
1039
992
|
}
|
|
1040
993
|
) });
|
|
1041
|
-
|
|
1042
|
-
checked:
|
|
1043
|
-
disabled:
|
|
1044
|
-
fullWidth:
|
|
1045
|
-
id:
|
|
1046
|
-
label:
|
|
1047
|
-
name:
|
|
1048
|
-
onChange:
|
|
1049
|
-
value:
|
|
994
|
+
Ge.propTypes = {
|
|
995
|
+
checked: s.bool,
|
|
996
|
+
disabled: s.bool,
|
|
997
|
+
fullWidth: s.bool,
|
|
998
|
+
id: s.string.isRequired,
|
|
999
|
+
label: s.oneOfType([s.string, s.object]).isRequired,
|
|
1000
|
+
name: s.string.isRequired,
|
|
1001
|
+
onChange: s.func,
|
|
1002
|
+
value: s.string
|
|
1050
1003
|
};
|
|
1051
|
-
const
|
|
1052
|
-
label:
|
|
1053
|
-
inputFieldId:
|
|
1054
|
-
disabled:
|
|
1055
|
-
error:
|
|
1056
|
-
hint:
|
|
1057
|
-
placeholder:
|
|
1058
|
-
defaultValue:
|
|
1059
|
-
onClick:
|
|
1004
|
+
const gr = ({
|
|
1005
|
+
label: e,
|
|
1006
|
+
inputFieldId: t,
|
|
1007
|
+
disabled: i = !1,
|
|
1008
|
+
error: n = "",
|
|
1009
|
+
hint: a = "",
|
|
1010
|
+
placeholder: r = "",
|
|
1011
|
+
defaultValue: l = "",
|
|
1012
|
+
onClick: c = () => {
|
|
1060
1013
|
},
|
|
1061
|
-
|
|
1062
|
-
onChange: v = (_) => {
|
|
1014
|
+
onChange: y = () => {
|
|
1063
1015
|
}
|
|
1064
|
-
}) => /* @__PURE__ */
|
|
1065
|
-
/* @__PURE__ */
|
|
1016
|
+
}) => /* @__PURE__ */ p("search", { children: /* @__PURE__ */ P("form", { className: "rpf-input-field", onSubmit: c, children: [
|
|
1017
|
+
/* @__PURE__ */ P(
|
|
1066
1018
|
"label",
|
|
1067
1019
|
{
|
|
1068
|
-
htmlFor:
|
|
1069
|
-
className:
|
|
1070
|
-
"rpf-label--disabled":
|
|
1020
|
+
htmlFor: t,
|
|
1021
|
+
className: M("rpf-label", {
|
|
1022
|
+
"rpf-label--disabled": i
|
|
1071
1023
|
}),
|
|
1072
1024
|
children: [
|
|
1073
|
-
|
|
1074
|
-
|
|
1025
|
+
e,
|
|
1026
|
+
a && /* @__PURE__ */ p("small", { className: "rpf-label__hint", children: a })
|
|
1075
1027
|
]
|
|
1076
1028
|
}
|
|
1077
1029
|
),
|
|
1078
|
-
/* @__PURE__ */
|
|
1079
|
-
/* @__PURE__ */
|
|
1030
|
+
/* @__PURE__ */ P("div", { className: "rpf-input-search-container", children: [
|
|
1031
|
+
/* @__PURE__ */ p(
|
|
1080
1032
|
"input",
|
|
1081
1033
|
{
|
|
1082
|
-
className:
|
|
1083
|
-
"rpf-input--disabled":
|
|
1084
|
-
"rpf-input--error":
|
|
1034
|
+
className: M("rpf-input rpf-input-search", {
|
|
1035
|
+
"rpf-input--disabled": i,
|
|
1036
|
+
"rpf-input--error": n
|
|
1085
1037
|
}),
|
|
1086
|
-
disabled:
|
|
1087
|
-
id:
|
|
1038
|
+
disabled: i,
|
|
1039
|
+
id: t,
|
|
1088
1040
|
name: "search",
|
|
1089
1041
|
type: "search",
|
|
1090
1042
|
"aria-label": "Search",
|
|
1091
|
-
defaultValue:
|
|
1092
|
-
placeholder:
|
|
1093
|
-
onChange:
|
|
1043
|
+
defaultValue: l,
|
|
1044
|
+
placeholder: r,
|
|
1045
|
+
onChange: y
|
|
1094
1046
|
}
|
|
1095
1047
|
),
|
|
1096
|
-
/* @__PURE__ */
|
|
1048
|
+
/* @__PURE__ */ p(
|
|
1097
1049
|
"button",
|
|
1098
1050
|
{
|
|
1099
|
-
type: "
|
|
1100
|
-
className:
|
|
1101
|
-
"rpf-button--disabled":
|
|
1102
|
-
"rpf-button--error":
|
|
1051
|
+
type: "submit",
|
|
1052
|
+
className: M("rpf-button rpf-button-search", {
|
|
1053
|
+
"rpf-button--disabled": i,
|
|
1054
|
+
"rpf-button--error": n
|
|
1103
1055
|
}),
|
|
1104
|
-
disabled:
|
|
1105
|
-
onClick:
|
|
1106
|
-
children: /* @__PURE__ */
|
|
1056
|
+
disabled: i,
|
|
1057
|
+
onClick: c,
|
|
1058
|
+
children: /* @__PURE__ */ p("span", { className: "rpf-button__icon material-symbols-sharp", children: "search" })
|
|
1107
1059
|
}
|
|
1108
1060
|
)
|
|
1109
1061
|
] }),
|
|
1110
|
-
|
|
1111
|
-
/* @__PURE__ */
|
|
1112
|
-
|
|
1062
|
+
n && /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
|
|
1063
|
+
/* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "info" }),
|
|
1064
|
+
n
|
|
1113
1065
|
] })
|
|
1114
|
-
] })
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
defaultValue: e.string
|
|
1125
|
-
};
|
|
1126
|
-
const Ge = ({
|
|
1127
|
-
id: r,
|
|
1128
|
-
label: s,
|
|
1129
|
-
name: c,
|
|
1130
|
-
options: a,
|
|
1131
|
-
disabled: i = !1,
|
|
1132
|
-
error: n = "",
|
|
1133
|
-
fullWidth: u = !1,
|
|
1134
|
-
hint: p = "",
|
|
1135
|
-
onChange: v = () => {
|
|
1066
|
+
] }) }), Qe = ({
|
|
1067
|
+
id: e,
|
|
1068
|
+
label: t,
|
|
1069
|
+
name: i,
|
|
1070
|
+
options: n,
|
|
1071
|
+
disabled: a = !1,
|
|
1072
|
+
error: r = "",
|
|
1073
|
+
fullWidth: l = !1,
|
|
1074
|
+
hint: c = "",
|
|
1075
|
+
onChange: y = () => {
|
|
1136
1076
|
},
|
|
1137
|
-
placeholder:
|
|
1138
|
-
value:
|
|
1139
|
-
}) => /* @__PURE__ */
|
|
1140
|
-
|
|
1077
|
+
placeholder: v = "",
|
|
1078
|
+
value: h = ""
|
|
1079
|
+
}) => /* @__PURE__ */ p(
|
|
1080
|
+
Q,
|
|
1141
1081
|
{
|
|
1142
|
-
id:
|
|
1143
|
-
disabled:
|
|
1144
|
-
error:
|
|
1145
|
-
hint:
|
|
1146
|
-
label:
|
|
1147
|
-
children: /* @__PURE__ */
|
|
1082
|
+
id: e,
|
|
1083
|
+
disabled: a,
|
|
1084
|
+
error: r,
|
|
1085
|
+
hint: c,
|
|
1086
|
+
label: t,
|
|
1087
|
+
children: /* @__PURE__ */ P(
|
|
1148
1088
|
"select",
|
|
1149
1089
|
{
|
|
1150
|
-
className:
|
|
1151
|
-
"rpf-input--error":
|
|
1152
|
-
"rpf-input--full-width":
|
|
1090
|
+
className: M("rpf-input rpf-input-select", {
|
|
1091
|
+
"rpf-input--error": r,
|
|
1092
|
+
"rpf-input--full-width": l
|
|
1153
1093
|
}),
|
|
1154
|
-
disabled:
|
|
1155
|
-
id:
|
|
1156
|
-
name:
|
|
1157
|
-
onChange:
|
|
1094
|
+
disabled: a,
|
|
1095
|
+
id: e,
|
|
1096
|
+
name: i,
|
|
1097
|
+
onChange: y,
|
|
1158
1098
|
type: "text",
|
|
1159
|
-
value:
|
|
1099
|
+
value: h,
|
|
1160
1100
|
children: [
|
|
1161
|
-
!
|
|
1162
|
-
|
|
1101
|
+
!h && !!v && /* @__PURE__ */ p("option", { value: "", disabled: !0, children: v }),
|
|
1102
|
+
n.map((g) => /* @__PURE__ */ p("option", { value: g.key, children: g.value }, g.key))
|
|
1163
1103
|
]
|
|
1164
1104
|
}
|
|
1165
1105
|
)
|
|
1166
1106
|
}
|
|
1167
1107
|
);
|
|
1168
|
-
|
|
1169
|
-
disabled:
|
|
1170
|
-
error:
|
|
1171
|
-
fullWidth:
|
|
1172
|
-
hint:
|
|
1173
|
-
label:
|
|
1174
|
-
id:
|
|
1175
|
-
name:
|
|
1176
|
-
onChange:
|
|
1177
|
-
options:
|
|
1178
|
-
placeholder:
|
|
1179
|
-
value:
|
|
1108
|
+
Qe.propTypes = {
|
|
1109
|
+
disabled: s.bool,
|
|
1110
|
+
error: s.string,
|
|
1111
|
+
fullWidth: s.bool,
|
|
1112
|
+
hint: s.oneOfType([s.string, s.object]),
|
|
1113
|
+
label: s.oneOfType([s.string, s.object]).isRequired,
|
|
1114
|
+
id: s.string.isRequired,
|
|
1115
|
+
name: s.string.isRequired,
|
|
1116
|
+
onChange: s.func,
|
|
1117
|
+
options: s.array.isRequired,
|
|
1118
|
+
placeholder: s.string,
|
|
1119
|
+
value: s.string
|
|
1180
1120
|
};
|
|
1181
|
-
const
|
|
1182
|
-
|
|
1121
|
+
const er = ({
|
|
1122
|
+
id: e,
|
|
1123
|
+
label: t,
|
|
1124
|
+
name: i,
|
|
1125
|
+
value: n,
|
|
1126
|
+
disabled: a = !1,
|
|
1127
|
+
readOnly: r = !1,
|
|
1128
|
+
error: l = "",
|
|
1129
|
+
fullWidth: c = !1,
|
|
1130
|
+
hint: y = "",
|
|
1131
|
+
onChange: v = () => {
|
|
1132
|
+
}
|
|
1133
|
+
}) => /* @__PURE__ */ p(
|
|
1134
|
+
Q,
|
|
1183
1135
|
{
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1136
|
+
id: e,
|
|
1137
|
+
disabled: a,
|
|
1138
|
+
error: l,
|
|
1139
|
+
hint: y,
|
|
1140
|
+
label: t,
|
|
1141
|
+
children: /* @__PURE__ */ p(
|
|
1142
|
+
"textarea",
|
|
1188
1143
|
{
|
|
1189
|
-
className:
|
|
1190
|
-
"rpf-
|
|
1144
|
+
className: M("rpf-input rpf-input-textarea", {
|
|
1145
|
+
"rpf-input--error": l,
|
|
1146
|
+
"rpf-input--full-width": c,
|
|
1147
|
+
"rpf-input--disabled": a
|
|
1191
1148
|
}),
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1149
|
+
disabled: a,
|
|
1150
|
+
readOnly: r,
|
|
1151
|
+
id: e,
|
|
1152
|
+
name: i,
|
|
1153
|
+
onChange: v,
|
|
1154
|
+
type: "text",
|
|
1155
|
+
value: n
|
|
1196
1156
|
}
|
|
1197
1157
|
)
|
|
1198
1158
|
}
|
|
1199
1159
|
);
|
|
1200
|
-
Ke.propTypes = {
|
|
1201
|
-
headerRow: e.node.isRequired,
|
|
1202
|
-
bodyRows: e.arrayOf(e.node).isRequired,
|
|
1203
|
-
fullWidth: e.bool
|
|
1204
|
-
};
|
|
1205
|
-
const Ze = ({ children: r }) => /* @__PURE__ */ d("td", { className: "rpf-table-cell rpf-table-cell--body", children: /* @__PURE__ */ d("div", { className: "rpf-table-cell__content", children: r }) });
|
|
1206
|
-
Ze.propTypes = {
|
|
1207
|
-
children: e.node
|
|
1208
|
-
};
|
|
1209
|
-
const Qe = ({ sortDirection: r, children: s }) => (r !== void 0 && (s = /* @__PURE__ */ w("div", { className: "rpf-table-cell__sort-header", children: [
|
|
1210
|
-
s,
|
|
1211
|
-
/* @__PURE__ */ d("span", { className: "material-symbols-sharp", children: r === "up" ? "arrow_drop_up" : "arrow_drop_down" })
|
|
1212
|
-
] })), /* @__PURE__ */ d("th", { className: `rpf-table-cell ${r !== void 0 ? "rpf-table-cell--sortable-header" : "rpf-table-cell--header"}`, children: /* @__PURE__ */ d("div", { className: "rpf-table-cell__content", children: s }) }));
|
|
1213
|
-
Qe.propTypes = {
|
|
1214
|
-
sortDirection: e.oneOf(["up", "down"]),
|
|
1215
|
-
children: e.node
|
|
1216
|
-
};
|
|
1217
|
-
const er = ({ text: r, variant: s, secondary: c, icon: a, iconPosition: i }) => (a && (a = /* @__PURE__ */ d("span", { className: "rpf-tag__icon material-symbols-sharp", children: a })), a && !i && (i = "left"), s && s !== "default" ? s = `rpf-tag--${s}` : s = null, /* @__PURE__ */ w(
|
|
1218
|
-
"span",
|
|
1219
|
-
{
|
|
1220
|
-
className: Y("rpf-tag", s, {
|
|
1221
|
-
"rpf-tag--secondary": c
|
|
1222
|
-
}),
|
|
1223
|
-
children: [
|
|
1224
|
-
i === "left" && a,
|
|
1225
|
-
r,
|
|
1226
|
-
i === "right" && a
|
|
1227
|
-
]
|
|
1228
|
-
}
|
|
1229
|
-
));
|
|
1230
1160
|
er.propTypes = {
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
iconPosition: e.oneOf(["left", "right"])
|
|
1161
|
+
disabled: s.bool,
|
|
1162
|
+
readOnly: s.bool,
|
|
1163
|
+
error: s.string,
|
|
1164
|
+
fullWidth: s.bool,
|
|
1165
|
+
hint: s.oneOfType([s.string, s.object]),
|
|
1166
|
+
label: s.oneOfType([s.string, s.object]).isRequired,
|
|
1167
|
+
id: s.string.isRequired,
|
|
1168
|
+
name: s.string.isRequired,
|
|
1169
|
+
onChange: s.func,
|
|
1170
|
+
value: s.string.isRequired
|
|
1242
1171
|
};
|
|
1243
1172
|
const rr = ({
|
|
1244
|
-
id:
|
|
1245
|
-
label:
|
|
1246
|
-
name:
|
|
1247
|
-
value:
|
|
1248
|
-
disabled:
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
onChange: _ = () => {
|
|
1173
|
+
id: e,
|
|
1174
|
+
label: t,
|
|
1175
|
+
name: i,
|
|
1176
|
+
value: n,
|
|
1177
|
+
disabled: a = !1,
|
|
1178
|
+
error: r = "",
|
|
1179
|
+
fullWidth: l = !1,
|
|
1180
|
+
hint: c = "",
|
|
1181
|
+
onChange: y = () => {
|
|
1254
1182
|
}
|
|
1255
|
-
}) => /* @__PURE__ */
|
|
1256
|
-
|
|
1183
|
+
}) => /* @__PURE__ */ p(
|
|
1184
|
+
Q,
|
|
1257
1185
|
{
|
|
1258
|
-
id:
|
|
1259
|
-
disabled:
|
|
1260
|
-
error:
|
|
1261
|
-
hint:
|
|
1262
|
-
label:
|
|
1263
|
-
children: /* @__PURE__ */
|
|
1264
|
-
"
|
|
1186
|
+
id: e,
|
|
1187
|
+
disabled: a,
|
|
1188
|
+
error: r,
|
|
1189
|
+
hint: c,
|
|
1190
|
+
label: t,
|
|
1191
|
+
children: /* @__PURE__ */ p(
|
|
1192
|
+
"input",
|
|
1265
1193
|
{
|
|
1266
|
-
className:
|
|
1267
|
-
"rpf-input--error":
|
|
1268
|
-
"rpf-input--full-width":
|
|
1269
|
-
"rpf-input--disabled": i
|
|
1194
|
+
className: M("rpf-input rpf-input-text", {
|
|
1195
|
+
"rpf-input--error": r,
|
|
1196
|
+
"rpf-input--full-width": l
|
|
1270
1197
|
}),
|
|
1271
|
-
disabled:
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
onChange: _,
|
|
1198
|
+
disabled: a,
|
|
1199
|
+
id: e,
|
|
1200
|
+
name: i,
|
|
1201
|
+
onChange: y,
|
|
1276
1202
|
type: "text",
|
|
1277
|
-
value:
|
|
1203
|
+
value: n
|
|
1278
1204
|
}
|
|
1279
1205
|
)
|
|
1280
1206
|
}
|
|
1281
1207
|
);
|
|
1282
1208
|
rr.propTypes = {
|
|
1283
|
-
disabled:
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
value: e.string.isRequired
|
|
1209
|
+
disabled: s.bool,
|
|
1210
|
+
error: s.string,
|
|
1211
|
+
fullWidth: s.bool,
|
|
1212
|
+
hint: s.oneOfType([s.string, s.object]),
|
|
1213
|
+
label: s.oneOfType([s.string, s.object]).isRequired,
|
|
1214
|
+
id: s.string.isRequired,
|
|
1215
|
+
name: s.string.isRequired,
|
|
1216
|
+
onChange: s.func,
|
|
1217
|
+
value: s.string.isRequired
|
|
1293
1218
|
};
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1219
|
+
function tr(e, t) {
|
|
1220
|
+
const i = _e(null), n = _e(null);
|
|
1221
|
+
return ce(() => {
|
|
1222
|
+
const a = i.current;
|
|
1223
|
+
a && (e && !a.open ? a.showModal() : !e && a.open && a.close());
|
|
1224
|
+
}, [e]), ce(() => {
|
|
1225
|
+
const a = i.current;
|
|
1226
|
+
if (!a) return;
|
|
1227
|
+
const r = () => t(!1), l = (c) => {
|
|
1228
|
+
c.preventDefault(), t(!1);
|
|
1229
|
+
};
|
|
1230
|
+
return a.addEventListener("close", r), a.addEventListener("cancel", l), () => {
|
|
1231
|
+
a.removeEventListener("close", r), a.removeEventListener("cancel", l);
|
|
1232
|
+
};
|
|
1233
|
+
}, [t]), ce(() => {
|
|
1234
|
+
const a = i.current, r = n.current;
|
|
1235
|
+
if (!a || !r) return;
|
|
1236
|
+
const l = (c) => {
|
|
1237
|
+
e && !r.contains(c.target) && t(!1);
|
|
1238
|
+
};
|
|
1239
|
+
return a.addEventListener("mousedown", l), () => a.removeEventListener("mousedown", l);
|
|
1240
|
+
}, [e, t]), { dialogRef: i, contentRef: n };
|
|
1241
|
+
}
|
|
1242
|
+
const _r = ({
|
|
1243
|
+
isOpen: e,
|
|
1244
|
+
setIsOpen: t,
|
|
1245
|
+
heading: i,
|
|
1246
|
+
children: n,
|
|
1247
|
+
primaryButtonLink: a,
|
|
1248
|
+
primaryButtonText: r,
|
|
1249
|
+
onClickPrimaryButton: l,
|
|
1250
|
+
secondaryButtonText: c,
|
|
1251
|
+
secondaryButtonLink: y,
|
|
1252
|
+
onClickSecondaryButton: v,
|
|
1253
|
+
tertiaryButtonText: h,
|
|
1254
|
+
tertiaryButtonLink: g,
|
|
1255
|
+
onClickTertiaryButton: A,
|
|
1256
|
+
showCloseButton: j = !0
|
|
1257
|
+
}) => {
|
|
1258
|
+
const { dialogRef: I, contentRef: N } = tr(e, t);
|
|
1259
|
+
return /* @__PURE__ */ p(
|
|
1260
|
+
"dialog",
|
|
1261
|
+
{
|
|
1262
|
+
ref: I,
|
|
1263
|
+
className: "rpf-modal",
|
|
1264
|
+
"aria-labelledby": "modal-heading",
|
|
1265
|
+
"aria-describedby": "modal-description",
|
|
1266
|
+
children: /* @__PURE__ */ P("div", { ref: N, className: "rpf-modal__wrapper", children: [
|
|
1267
|
+
/* @__PURE__ */ P("div", { className: "rpf-modal__header", children: [
|
|
1268
|
+
/* @__PURE__ */ p("h2", { className: "rpf-modal__title", id: "modal-heading", children: i }),
|
|
1269
|
+
j && /* @__PURE__ */ p(
|
|
1270
|
+
V,
|
|
1271
|
+
{
|
|
1272
|
+
icon: "close",
|
|
1273
|
+
iconOnly: !0,
|
|
1274
|
+
"aria-label": "Close modal",
|
|
1275
|
+
type: "tertiary",
|
|
1276
|
+
onClick: () => t(!1)
|
|
1277
|
+
}
|
|
1278
|
+
)
|
|
1279
|
+
] }),
|
|
1280
|
+
/* @__PURE__ */ p("div", { id: "modal-description", className: "rpf-modal__content", tabIndex: 0, children: n }),
|
|
1281
|
+
/* @__PURE__ */ P("div", { className: "rpf-modal__buttons", children: [
|
|
1282
|
+
/* @__PURE__ */ p(
|
|
1283
|
+
V,
|
|
1284
|
+
{
|
|
1285
|
+
text: r,
|
|
1286
|
+
href: a,
|
|
1287
|
+
onClick: l,
|
|
1288
|
+
type: "primary"
|
|
1289
|
+
}
|
|
1290
|
+
),
|
|
1291
|
+
c && /* @__PURE__ */ p(
|
|
1292
|
+
V,
|
|
1293
|
+
{
|
|
1294
|
+
text: c,
|
|
1295
|
+
href: y,
|
|
1296
|
+
onClick: v,
|
|
1297
|
+
type: "secondary"
|
|
1298
|
+
}
|
|
1299
|
+
),
|
|
1300
|
+
h && /* @__PURE__ */ p(
|
|
1301
|
+
V,
|
|
1302
|
+
{
|
|
1303
|
+
text: h,
|
|
1304
|
+
href: g,
|
|
1305
|
+
onClick: A,
|
|
1306
|
+
type: "tertiary"
|
|
1307
|
+
}
|
|
1308
|
+
)
|
|
1309
|
+
] })
|
|
1310
|
+
] })
|
|
1311
|
+
}
|
|
1312
|
+
);
|
|
1313
|
+
}, Tr = ({
|
|
1314
|
+
text: e = "",
|
|
1315
|
+
percent: t,
|
|
1316
|
+
complete: i = !1,
|
|
1317
|
+
className: n
|
|
1318
|
+
}) => /* @__PURE__ */ p(
|
|
1319
|
+
"div",
|
|
1320
|
+
{
|
|
1321
|
+
className: M("rpf-progress-bar", {
|
|
1322
|
+
"rpf-progress-bar--complete": i,
|
|
1323
|
+
className: n
|
|
1324
|
+
}),
|
|
1325
|
+
children: /* @__PURE__ */ P("label", { className: "rpf-progress-bar__label", children: [
|
|
1326
|
+
/* @__PURE__ */ p("span", { children: e }),
|
|
1327
|
+
/* @__PURE__ */ p("progress", { className: "rpf-progress-bar__bar", value: t, max: "100", children: `${t}%` })
|
|
1328
|
+
] })
|
|
1304
1329
|
}
|
|
1305
|
-
}) => /* @__PURE__ */
|
|
1306
|
-
|
|
1330
|
+
), Er = ({ children: e }) => /* @__PURE__ */ p("td", { className: "rpf-table-cell rpf-table-cell--body", children: /* @__PURE__ */ p("div", { className: "rpf-table-cell__content", children: e }) });
|
|
1331
|
+
/**
|
|
1332
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1333
|
+
*
|
|
1334
|
+
* This source code is licensed under the ISC license.
|
|
1335
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1336
|
+
*/
|
|
1337
|
+
const nr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ar = (e) => e.replace(
|
|
1338
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
1339
|
+
(t, i, n) => n ? n.toUpperCase() : i.toLowerCase()
|
|
1340
|
+
), je = (e) => {
|
|
1341
|
+
const t = ar(e);
|
|
1342
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
1343
|
+
}, Me = (...e) => e.filter((t, i, n) => !!t && t.trim() !== "" && n.indexOf(t) === i).join(" ").trim(), or = (e) => {
|
|
1344
|
+
for (const t in e)
|
|
1345
|
+
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
1346
|
+
return !0;
|
|
1347
|
+
};
|
|
1348
|
+
/**
|
|
1349
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1350
|
+
*
|
|
1351
|
+
* This source code is licensed under the ISC license.
|
|
1352
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1353
|
+
*/
|
|
1354
|
+
var ir = {
|
|
1355
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1356
|
+
width: 24,
|
|
1357
|
+
height: 24,
|
|
1358
|
+
viewBox: "0 0 24 24",
|
|
1359
|
+
fill: "none",
|
|
1360
|
+
stroke: "currentColor",
|
|
1361
|
+
strokeWidth: 2,
|
|
1362
|
+
strokeLinecap: "round",
|
|
1363
|
+
strokeLinejoin: "round"
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1367
|
+
*
|
|
1368
|
+
* This source code is licensed under the ISC license.
|
|
1369
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1370
|
+
*/
|
|
1371
|
+
const sr = ke(
|
|
1372
|
+
({
|
|
1373
|
+
color: e = "currentColor",
|
|
1374
|
+
size: t = 24,
|
|
1375
|
+
strokeWidth: i = 2,
|
|
1376
|
+
absoluteStrokeWidth: n,
|
|
1377
|
+
className: a = "",
|
|
1378
|
+
children: r,
|
|
1379
|
+
iconNode: l,
|
|
1380
|
+
...c
|
|
1381
|
+
}, y) => me(
|
|
1382
|
+
"svg",
|
|
1383
|
+
{
|
|
1384
|
+
ref: y,
|
|
1385
|
+
...ir,
|
|
1386
|
+
width: t,
|
|
1387
|
+
height: t,
|
|
1388
|
+
stroke: e,
|
|
1389
|
+
strokeWidth: n ? Number(i) * 24 / Number(t) : i,
|
|
1390
|
+
className: Me("lucide", a),
|
|
1391
|
+
...!r && !or(c) && { "aria-hidden": "true" },
|
|
1392
|
+
...c
|
|
1393
|
+
},
|
|
1394
|
+
[
|
|
1395
|
+
...l.map(([v, h]) => me(v, h)),
|
|
1396
|
+
...Array.isArray(r) ? r : [r]
|
|
1397
|
+
]
|
|
1398
|
+
)
|
|
1399
|
+
);
|
|
1400
|
+
/**
|
|
1401
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1402
|
+
*
|
|
1403
|
+
* This source code is licensed under the ISC license.
|
|
1404
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1405
|
+
*/
|
|
1406
|
+
const be = (e, t) => {
|
|
1407
|
+
const i = ke(
|
|
1408
|
+
({ className: n, ...a }, r) => me(sr, {
|
|
1409
|
+
ref: r,
|
|
1410
|
+
iconNode: t,
|
|
1411
|
+
className: Me(
|
|
1412
|
+
`lucide-${nr(je(e))}`,
|
|
1413
|
+
`lucide-${e}`,
|
|
1414
|
+
n
|
|
1415
|
+
),
|
|
1416
|
+
...a
|
|
1417
|
+
})
|
|
1418
|
+
);
|
|
1419
|
+
return i.displayName = je(e), i;
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1423
|
+
*
|
|
1424
|
+
* This source code is licensed under the ISC license.
|
|
1425
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1426
|
+
*/
|
|
1427
|
+
const cr = [
|
|
1428
|
+
["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
|
|
1429
|
+
["path", { d: "M7 20V4", key: "1yoxec" }],
|
|
1430
|
+
["path", { d: "m21 8-4-4-4 4", key: "1c9v7m" }],
|
|
1431
|
+
["path", { d: "M17 4v16", key: "7dpous" }]
|
|
1432
|
+
], lr = be("arrow-down-up", cr);
|
|
1433
|
+
/**
|
|
1434
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1435
|
+
*
|
|
1436
|
+
* This source code is licensed under the ISC license.
|
|
1437
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1438
|
+
*/
|
|
1439
|
+
const fr = [
|
|
1440
|
+
["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
|
|
1441
|
+
["path", { d: "M7 20V4", key: "1yoxec" }],
|
|
1442
|
+
["path", { d: "M11 4h10", key: "1w87gc" }],
|
|
1443
|
+
["path", { d: "M11 8h7", key: "djye34" }],
|
|
1444
|
+
["path", { d: "M11 12h4", key: "q8tih4" }]
|
|
1445
|
+
], ur = be("arrow-down-wide-narrow", fr);
|
|
1446
|
+
/**
|
|
1447
|
+
* @license lucide-react v0.553.0 - ISC
|
|
1448
|
+
*
|
|
1449
|
+
* This source code is licensed under the ISC license.
|
|
1450
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1451
|
+
*/
|
|
1452
|
+
const dr = [
|
|
1453
|
+
["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
|
|
1454
|
+
["path", { d: "M7 4v16", key: "1glfcx" }],
|
|
1455
|
+
["path", { d: "M11 12h4", key: "q8tih4" }],
|
|
1456
|
+
["path", { d: "M11 16h7", key: "uosisv" }],
|
|
1457
|
+
["path", { d: "M11 20h10", key: "jvxblo" }]
|
|
1458
|
+
], pr = be("arrow-up-narrow-wide", dr), yr = (e, t) => {
|
|
1459
|
+
if (e)
|
|
1460
|
+
return t === "up" ? "ascending" : t === "down" ? "descending" : "none";
|
|
1461
|
+
}, wr = ({
|
|
1462
|
+
sortDirection: e,
|
|
1463
|
+
children: t,
|
|
1464
|
+
onClick: i
|
|
1465
|
+
}) => {
|
|
1466
|
+
const n = !!i, a = e === "up" ? pr : e === "down" ? ur : lr, r = yr(n, e);
|
|
1467
|
+
return /* @__PURE__ */ p("th", { className: `rpf-table-cell ${n ? "rpf-table-cell--sortable-header" : "rpf-table-cell--header"}`, "aria-sort": r, children: /* @__PURE__ */ p("div", { className: "rpf-table-cell__content", children: n ? /* @__PURE__ */ P("button", { className: "rpf-table-cell__sort-header", onClick: i, children: [
|
|
1468
|
+
t,
|
|
1469
|
+
/* @__PURE__ */ p(a, { size: 20 })
|
|
1470
|
+
] }) : /* @__PURE__ */ p(G, { children: t }) }) });
|
|
1471
|
+
}, Rr = ({ headerRow: e, bodyRows: t, fullWidth: i }) => /* @__PURE__ */ p(
|
|
1472
|
+
"div",
|
|
1307
1473
|
{
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
label: s,
|
|
1313
|
-
children: /* @__PURE__ */ d(
|
|
1314
|
-
"input",
|
|
1474
|
+
"data-testid": "table-container",
|
|
1475
|
+
className: M("rpf-table", { "rpf-table--full-width": i }),
|
|
1476
|
+
children: /* @__PURE__ */ P(
|
|
1477
|
+
"table",
|
|
1315
1478
|
{
|
|
1316
|
-
className:
|
|
1317
|
-
"rpf-
|
|
1318
|
-
"rpf-input--full-width": u
|
|
1479
|
+
className: M("rpf-table__table", {
|
|
1480
|
+
"rpf-table__table--full-width": i
|
|
1319
1481
|
}),
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
type: "text",
|
|
1325
|
-
value: a
|
|
1482
|
+
children: [
|
|
1483
|
+
/* @__PURE__ */ p("thead", { children: /* @__PURE__ */ p("tr", { className: "rpf-table-row", children: e }) }),
|
|
1484
|
+
/* @__PURE__ */ p("tbody", { children: t.map((n, a) => /* @__PURE__ */ p("tr", { className: "rpf-table-row", children: n }, a)) })
|
|
1485
|
+
]
|
|
1326
1486
|
}
|
|
1327
1487
|
)
|
|
1328
1488
|
}
|
|
1329
|
-
)
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1489
|
+
), Cr = ({
|
|
1490
|
+
text: e,
|
|
1491
|
+
variant: t,
|
|
1492
|
+
secondary: i,
|
|
1493
|
+
icon: n,
|
|
1494
|
+
iconPosition: a
|
|
1495
|
+
}) => {
|
|
1496
|
+
const r = n ? /* @__PURE__ */ p("span", { className: "rpf-tag__icon material-symbols-sharp", children: n }) : null;
|
|
1497
|
+
n && !a && (a = "left");
|
|
1498
|
+
const l = t && t !== "default" ? `rpf-tag--${t}` : null;
|
|
1499
|
+
return /* @__PURE__ */ P(
|
|
1500
|
+
"span",
|
|
1501
|
+
{
|
|
1502
|
+
className: M("rpf-tag", l, {
|
|
1503
|
+
"rpf-tag--secondary": i
|
|
1504
|
+
}),
|
|
1505
|
+
children: [
|
|
1506
|
+
a === "left" && r,
|
|
1507
|
+
e,
|
|
1508
|
+
a === "right" && r
|
|
1509
|
+
]
|
|
1510
|
+
}
|
|
1511
|
+
);
|
|
1340
1512
|
};
|
|
1341
1513
|
export {
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
rr as
|
|
1514
|
+
Ze as Accordion,
|
|
1515
|
+
vr as Alert,
|
|
1516
|
+
V as Button,
|
|
1517
|
+
br as CheckboxInput,
|
|
1518
|
+
Ke as Fieldset,
|
|
1519
|
+
Q as InputField,
|
|
1520
|
+
Xe as InputLabel,
|
|
1521
|
+
_r as Modal,
|
|
1522
|
+
Tr as ProgressBar,
|
|
1523
|
+
Ge as RadioInput,
|
|
1524
|
+
gr as SearchInput,
|
|
1525
|
+
Qe as SelectInput,
|
|
1526
|
+
Rr as Table,
|
|
1527
|
+
Er as TableBodyCell,
|
|
1528
|
+
wr as TableHeaderCell,
|
|
1529
|
+
Cr as Tag,
|
|
1530
|
+
rr as TextInput,
|
|
1531
|
+
er as TextareaInput
|
|
1359
1532
|
};
|