@sisense/sdk-shared-ui 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Breadcrumbs-B-OHBus7.cjs → Breadcrumbs-BPFGyMFx.cjs} +3 -3
- package/dist/{Breadcrumbs-DrCp8avo.js → Breadcrumbs-Dx05v0v1.js} +17 -17
- package/dist/{Button-cvim-8Bz.js → Button-Ok4u9SDv.js} +4 -4
- package/dist/{Button-CvkAcTyS.cjs → Button-SdsF1IuR.cjs} +1 -1
- package/dist/{ButtonBase-4TqAVSBf.js → ButtonBase-BFKx2I1_.js} +3 -3
- package/dist/{ButtonBase-hZEG-21k.cjs → ButtonBase-_pI6xEeE.cjs} +1 -1
- package/dist/{Checkbox-BbF4jutm.cjs → Checkbox-BsNYaD1B.cjs} +1 -1
- package/dist/{Checkbox-aMi60WQj.js → Checkbox-DZEeQIus.js} +7 -7
- package/dist/{CircularProgress-B3FkrcM6.js → CircularProgress-BDTuj27S.js} +3 -3
- package/dist/{CircularProgress-BWqRJiR-.cjs → CircularProgress-BW3Hjcp9.cjs} +1 -1
- package/dist/{DEPRECATED_Button-CKGdJitl.cjs → DEPRECATED_Button-CIjcOy2c.cjs} +1 -1
- package/dist/{DEPRECATED_Button-Dhs0ieAl.js → DEPRECATED_Button-D4Ej5Vhs.js} +1 -1
- package/dist/{Dropdown-B6uSaA3z.cjs → Dropdown-C-gB9fcP.cjs} +1 -1
- package/dist/{Dropdown-BzcjbX6k.js → Dropdown-DHawmEpj.js} +1 -1
- package/dist/{Icon-DVO7Byvy.js → Icon-CJxir64u.js} +2 -2
- package/dist/{Icon-DFhY5sRf.cjs → Icon-MnCGEEQV.cjs} +1 -1
- package/dist/Menu-1NGOC2wt.cjs +1 -0
- package/dist/Menu-B79T1mdd.js +902 -0
- package/dist/{Portal-C6RJkJ6n.js → Portal-CuOEoTV6.js} +4 -4
- package/dist/{Portal-B6TDsfBi.cjs → Portal-DjzIwZc4.cjs} +1 -1
- package/dist/{SvgIcon-a_07YA77.js → SvgIcon-Cx2GHl0w.js} +2 -2
- package/dist/{SvgIcon-CjUZ_jwt.cjs → SvgIcon-DOhrb2-I.cjs} +1 -1
- package/dist/{TablePagination-CNwjJIdB.cjs → TablePagination-B9mPoc_j.cjs} +12 -12
- package/dist/{TablePagination-D4-bcrO_.js → TablePagination-DVbTwUqR.js} +26 -26
- package/dist/{Tooltip-BjyR1mIC.cjs → Tooltip-CvpZynmo.cjs} +1 -1
- package/dist/{Tooltip-CWF5y-3F.js → Tooltip-DNpXhTeO.js} +77 -77
- package/dist/{TransitionGroupContext-BNiEy2cD.js → TransitionGroupContext-ChvHFIH-.js} +2 -2
- package/dist/{TransitionGroupContext-CJJeIdck.cjs → TransitionGroupContext-gYEZneWE.cjs} +1 -1
- package/dist/{Typography-ReSKaH87.js → Typography-BzL8bBVw.js} +5 -5
- package/dist/{Typography-Pieq_mxw.cjs → Typography-DpSJrSkJ.cjs} +1 -1
- package/dist/{createSvgIcon-CiRZfwSO.js → createSvgIcon-BICIYW9O.js} +1 -1
- package/dist/{createSvgIcon-DgE0zN0k.cjs → createSvgIcon-CNsKzZej.cjs} +1 -1
- package/dist/emotion-cache-provider-BA0VP8z6.cjs +108 -0
- package/dist/{emotion-cache-provider-B6yKtm_a.js → emotion-cache-provider-CbsuuMnH.js} +1588 -1755
- package/dist/{lightweight/index-D0lMis-I.js → index-B2g_Xs_b.js} +138 -140
- package/dist/index-CHH7nhRo.cjs +20 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +10 -10
- package/dist/index.umd.js +41 -41
- package/dist/integerPropType-Ched4o4e.cjs +1 -0
- package/dist/integerPropType-D-nm5Xmm.js +31 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts +1 -2
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Input/Input.d.ts.map +1 -1
- package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.d.ts +6 -1
- package/dist/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lib/themes/themes.cjs +1 -1
- package/dist/lib/themes/themes.js +1 -1
- package/dist/lightweight/DEPRECATED_Button-CJkh2swh.js +746 -0
- package/dist/lightweight/DEPRECATED_Button-CTtEqID4.cjs +20 -0
- package/dist/lightweight/{Dropdown-B6uSaA3z.cjs → Dropdown-C-gB9fcP.cjs} +1 -1
- package/dist/lightweight/{Dropdown-C5DcG6WG.js → Dropdown-DtISatbx.js} +1 -1
- package/dist/lightweight/Menu-1NGOC2wt.cjs +1 -0
- package/dist/lightweight/Menu-dqrqcZgC.js +902 -0
- package/dist/lightweight/index.cjs +1 -1
- package/dist/lightweight/index.js +3 -3
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts +1 -2
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lightweight/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lightweight/lib/Input/Input.d.ts.map +1 -1
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -1
- package/dist/lightweight/lib/Menu/Menu.cjs +1 -1
- package/dist/lightweight/lib/Menu/Menu.d.ts +6 -1
- package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lightweight/lib/Menu/Menu.js +2 -2
- package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lightweight/lib/themes/themes.cjs +1 -1
- package/dist/lightweight/lib/themes/themes.js +1 -1
- package/dist/lightweight/package.json +9 -10
- package/dist/package.json +9 -10
- package/dist/{resolveComponentProps-BjHOskdg.cjs → resolveComponentProps-C1BCvUav.cjs} +1 -1
- package/dist/{resolveComponentProps-L5VTqIs8.js → resolveComponentProps-CVKbaofP.js} +1 -1
- package/dist/{useFormControl-DNim9J_T.cjs → useFormControl-CisPyzzB.cjs} +1 -1
- package/dist/{useFormControl-lYrMmqEx.js → useFormControl-ngVvjZV5.js} +1 -1
- package/dist/{useSlot-BHK4fbKV.cjs → useSlot-CIx66mhH.cjs} +1 -1
- package/dist/{useSlot-DUGuD2Ya.js → useSlot-V_VuJk__.js} +2 -2
- package/dist/{useSlotProps-ChaoOi-_.cjs → useSlotProps-CNjMh886.cjs} +1 -1
- package/dist/{useSlotProps-9rt1So3E.js → useSlotProps-Cvkx05GZ.js} +2 -2
- package/dist/{useTheme-DPwUUXTG.js → useTheme-D8nF1njr.js} +1 -1
- package/dist/{useTheme-Dn8Us9iT.cjs → useTheme-zwxXljhI.cjs} +1 -1
- package/package.json +9 -10
- package/dist/Menu-CgLII61r.cjs +0 -1
- package/dist/Menu-DqvdoiKn.js +0 -1211
- package/dist/emotion-cache-provider-XZE1SDsY.cjs +0 -122
- package/dist/index-B-zZeebW.cjs +0 -20
- package/dist/index-D0lMis-I.js +0 -667
- package/dist/integerPropType-B8hl-7D0.js +0 -180
- package/dist/integerPropType-BGlNA6vX.cjs +0 -17
- package/dist/lightweight/DEPRECATED_Button-CKGdJitl.cjs +0 -1
- package/dist/lightweight/DEPRECATED_Button-Dhs0ieAl.js +0 -87
- package/dist/lightweight/Menu-CgLII61r.cjs +0 -1
- package/dist/lightweight/Menu-DeHgR0JO.js +0 -1211
- package/dist/lightweight/index-B-zZeebW.cjs +0 -20
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
import { jsxs as Oe, jsx as re } from "react/jsx-runtime";
|
|
2
|
+
import te from "classnames";
|
|
3
|
+
import { D as pe } from "./DEPRECATED_Icon-Bgufd-9Q.js";
|
|
4
|
+
function Re(o) {
|
|
5
|
+
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
6
|
+
}
|
|
7
|
+
var fe = { exports: {} }, G = { exports: {} }, m = {};
|
|
8
|
+
/** @license React v16.13.1
|
|
9
|
+
* react-is.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
var ye;
|
|
17
|
+
function xe() {
|
|
18
|
+
if (ye) return m;
|
|
19
|
+
ye = 1;
|
|
20
|
+
var o = typeof Symbol == "function" && Symbol.for, I = o ? Symbol.for("react.element") : 60103, S = o ? Symbol.for("react.portal") : 60106, i = o ? Symbol.for("react.fragment") : 60107, _ = o ? Symbol.for("react.strict_mode") : 60108, s = o ? Symbol.for("react.profiler") : 60114, C = o ? Symbol.for("react.provider") : 60109, u = o ? Symbol.for("react.context") : 60110, P = o ? Symbol.for("react.async_mode") : 60111, h = o ? Symbol.for("react.concurrent_mode") : 60111, p = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, R = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, $ = o ? Symbol.for("react.lazy") : 60116, O = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, D = o ? Symbol.for("react.responder") : 60118, L = o ? Symbol.for("react.scope") : 60119;
|
|
21
|
+
function A(t) {
|
|
22
|
+
if (typeof t == "object" && t !== null) {
|
|
23
|
+
var q = t.$$typeof;
|
|
24
|
+
switch (q) {
|
|
25
|
+
case I:
|
|
26
|
+
switch (t = t.type, t) {
|
|
27
|
+
case P:
|
|
28
|
+
case h:
|
|
29
|
+
case i:
|
|
30
|
+
case s:
|
|
31
|
+
case _:
|
|
32
|
+
case E:
|
|
33
|
+
return t;
|
|
34
|
+
default:
|
|
35
|
+
switch (t = t && t.$$typeof, t) {
|
|
36
|
+
case u:
|
|
37
|
+
case p:
|
|
38
|
+
case $:
|
|
39
|
+
case w:
|
|
40
|
+
case C:
|
|
41
|
+
return t;
|
|
42
|
+
default:
|
|
43
|
+
return q;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
case S:
|
|
47
|
+
return q;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function x(t) {
|
|
52
|
+
return A(t) === h;
|
|
53
|
+
}
|
|
54
|
+
return m.AsyncMode = P, m.ConcurrentMode = h, m.ContextConsumer = u, m.ContextProvider = C, m.Element = I, m.ForwardRef = p, m.Fragment = i, m.Lazy = $, m.Memo = w, m.Portal = S, m.Profiler = s, m.StrictMode = _, m.Suspense = E, m.isAsyncMode = function(t) {
|
|
55
|
+
return x(t) || A(t) === P;
|
|
56
|
+
}, m.isConcurrentMode = x, m.isContextConsumer = function(t) {
|
|
57
|
+
return A(t) === u;
|
|
58
|
+
}, m.isContextProvider = function(t) {
|
|
59
|
+
return A(t) === C;
|
|
60
|
+
}, m.isElement = function(t) {
|
|
61
|
+
return typeof t == "object" && t !== null && t.$$typeof === I;
|
|
62
|
+
}, m.isForwardRef = function(t) {
|
|
63
|
+
return A(t) === p;
|
|
64
|
+
}, m.isFragment = function(t) {
|
|
65
|
+
return A(t) === i;
|
|
66
|
+
}, m.isLazy = function(t) {
|
|
67
|
+
return A(t) === $;
|
|
68
|
+
}, m.isMemo = function(t) {
|
|
69
|
+
return A(t) === w;
|
|
70
|
+
}, m.isPortal = function(t) {
|
|
71
|
+
return A(t) === S;
|
|
72
|
+
}, m.isProfiler = function(t) {
|
|
73
|
+
return A(t) === s;
|
|
74
|
+
}, m.isStrictMode = function(t) {
|
|
75
|
+
return A(t) === _;
|
|
76
|
+
}, m.isSuspense = function(t) {
|
|
77
|
+
return A(t) === E;
|
|
78
|
+
}, m.isValidElementType = function(t) {
|
|
79
|
+
return typeof t == "string" || typeof t == "function" || t === i || t === h || t === s || t === _ || t === E || t === R || typeof t == "object" && t !== null && (t.$$typeof === $ || t.$$typeof === w || t.$$typeof === C || t.$$typeof === u || t.$$typeof === p || t.$$typeof === j || t.$$typeof === D || t.$$typeof === L || t.$$typeof === O);
|
|
80
|
+
}, m.typeOf = A, m;
|
|
81
|
+
}
|
|
82
|
+
var T = {};
|
|
83
|
+
/** @license React v16.13.1
|
|
84
|
+
* react-is.development.js
|
|
85
|
+
*
|
|
86
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the MIT license found in the
|
|
89
|
+
* LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/
|
|
91
|
+
var ve;
|
|
92
|
+
function we() {
|
|
93
|
+
return ve || (ve = 1, process.env.NODE_ENV !== "production" && function() {
|
|
94
|
+
var o = typeof Symbol == "function" && Symbol.for, I = o ? Symbol.for("react.element") : 60103, S = o ? Symbol.for("react.portal") : 60106, i = o ? Symbol.for("react.fragment") : 60107, _ = o ? Symbol.for("react.strict_mode") : 60108, s = o ? Symbol.for("react.profiler") : 60114, C = o ? Symbol.for("react.provider") : 60109, u = o ? Symbol.for("react.context") : 60110, P = o ? Symbol.for("react.async_mode") : 60111, h = o ? Symbol.for("react.concurrent_mode") : 60111, p = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, R = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, $ = o ? Symbol.for("react.lazy") : 60116, O = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, D = o ? Symbol.for("react.responder") : 60118, L = o ? Symbol.for("react.scope") : 60119;
|
|
95
|
+
function A(r) {
|
|
96
|
+
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
97
|
+
r === i || r === h || r === s || r === _ || r === E || r === R || typeof r == "object" && r !== null && (r.$$typeof === $ || r.$$typeof === w || r.$$typeof === C || r.$$typeof === u || r.$$typeof === p || r.$$typeof === j || r.$$typeof === D || r.$$typeof === L || r.$$typeof === O);
|
|
98
|
+
}
|
|
99
|
+
function x(r) {
|
|
100
|
+
if (typeof r == "object" && r !== null) {
|
|
101
|
+
var W = r.$$typeof;
|
|
102
|
+
switch (W) {
|
|
103
|
+
case I:
|
|
104
|
+
var H = r.type;
|
|
105
|
+
switch (H) {
|
|
106
|
+
case P:
|
|
107
|
+
case h:
|
|
108
|
+
case i:
|
|
109
|
+
case s:
|
|
110
|
+
case _:
|
|
111
|
+
case E:
|
|
112
|
+
return H;
|
|
113
|
+
default:
|
|
114
|
+
var de = H && H.$$typeof;
|
|
115
|
+
switch (de) {
|
|
116
|
+
case u:
|
|
117
|
+
case p:
|
|
118
|
+
case $:
|
|
119
|
+
case w:
|
|
120
|
+
case C:
|
|
121
|
+
return de;
|
|
122
|
+
default:
|
|
123
|
+
return W;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
case S:
|
|
127
|
+
return W;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
var t = P, q = h, F = u, U = C, z = I, X = p, V = i, K = $, Z = w, N = S, Q = s, k = _, B = E, J = !1;
|
|
132
|
+
function ee(r) {
|
|
133
|
+
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.")), e(r) || x(r) === P;
|
|
134
|
+
}
|
|
135
|
+
function e(r) {
|
|
136
|
+
return x(r) === h;
|
|
137
|
+
}
|
|
138
|
+
function n(r) {
|
|
139
|
+
return x(r) === u;
|
|
140
|
+
}
|
|
141
|
+
function d(r) {
|
|
142
|
+
return x(r) === C;
|
|
143
|
+
}
|
|
144
|
+
function f(r) {
|
|
145
|
+
return typeof r == "object" && r !== null && r.$$typeof === I;
|
|
146
|
+
}
|
|
147
|
+
function a(r) {
|
|
148
|
+
return x(r) === p;
|
|
149
|
+
}
|
|
150
|
+
function y(r) {
|
|
151
|
+
return x(r) === i;
|
|
152
|
+
}
|
|
153
|
+
function c(r) {
|
|
154
|
+
return x(r) === $;
|
|
155
|
+
}
|
|
156
|
+
function l(r) {
|
|
157
|
+
return x(r) === w;
|
|
158
|
+
}
|
|
159
|
+
function v(r) {
|
|
160
|
+
return x(r) === S;
|
|
161
|
+
}
|
|
162
|
+
function g(r) {
|
|
163
|
+
return x(r) === s;
|
|
164
|
+
}
|
|
165
|
+
function b(r) {
|
|
166
|
+
return x(r) === _;
|
|
167
|
+
}
|
|
168
|
+
function M(r) {
|
|
169
|
+
return x(r) === E;
|
|
170
|
+
}
|
|
171
|
+
T.AsyncMode = t, T.ConcurrentMode = q, T.ContextConsumer = F, T.ContextProvider = U, T.Element = z, T.ForwardRef = X, T.Fragment = V, T.Lazy = K, T.Memo = Z, T.Portal = N, T.Profiler = Q, T.StrictMode = k, T.Suspense = B, T.isAsyncMode = ee, T.isConcurrentMode = e, T.isContextConsumer = n, T.isContextProvider = d, T.isElement = f, T.isForwardRef = a, T.isFragment = y, T.isLazy = c, T.isMemo = l, T.isPortal = v, T.isProfiler = g, T.isStrictMode = b, T.isSuspense = M, T.isValidElementType = A, T.typeOf = x;
|
|
172
|
+
}()), T;
|
|
173
|
+
}
|
|
174
|
+
var be;
|
|
175
|
+
function Ce() {
|
|
176
|
+
return be || (be = 1, process.env.NODE_ENV === "production" ? G.exports = xe() : G.exports = we()), G.exports;
|
|
177
|
+
}
|
|
178
|
+
/*
|
|
179
|
+
object-assign
|
|
180
|
+
(c) Sindre Sorhus
|
|
181
|
+
@license MIT
|
|
182
|
+
*/
|
|
183
|
+
var ne, me;
|
|
184
|
+
function Ae() {
|
|
185
|
+
if (me) return ne;
|
|
186
|
+
me = 1;
|
|
187
|
+
var o = Object.getOwnPropertySymbols, I = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
188
|
+
function i(s) {
|
|
189
|
+
if (s == null)
|
|
190
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
191
|
+
return Object(s);
|
|
192
|
+
}
|
|
193
|
+
function _() {
|
|
194
|
+
try {
|
|
195
|
+
if (!Object.assign)
|
|
196
|
+
return !1;
|
|
197
|
+
var s = new String("abc");
|
|
198
|
+
if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5")
|
|
199
|
+
return !1;
|
|
200
|
+
for (var C = {}, u = 0; u < 10; u++)
|
|
201
|
+
C["_" + String.fromCharCode(u)] = u;
|
|
202
|
+
var P = Object.getOwnPropertyNames(C).map(function(p) {
|
|
203
|
+
return C[p];
|
|
204
|
+
});
|
|
205
|
+
if (P.join("") !== "0123456789")
|
|
206
|
+
return !1;
|
|
207
|
+
var h = {};
|
|
208
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(p) {
|
|
209
|
+
h[p] = p;
|
|
210
|
+
}), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
|
|
211
|
+
} catch {
|
|
212
|
+
return !1;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return ne = _() ? Object.assign : function(s, C) {
|
|
216
|
+
for (var u, P = i(s), h, p = 1; p < arguments.length; p++) {
|
|
217
|
+
u = Object(arguments[p]);
|
|
218
|
+
for (var E in u)
|
|
219
|
+
I.call(u, E) && (P[E] = u[E]);
|
|
220
|
+
if (o) {
|
|
221
|
+
h = o(u);
|
|
222
|
+
for (var R = 0; R < h.length; R++)
|
|
223
|
+
S.call(u, h[R]) && (P[h[R]] = u[h[R]]);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return P;
|
|
227
|
+
}, ne;
|
|
228
|
+
}
|
|
229
|
+
var oe, Te;
|
|
230
|
+
function le() {
|
|
231
|
+
if (Te) return oe;
|
|
232
|
+
Te = 1;
|
|
233
|
+
var o = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
234
|
+
return oe = o, oe;
|
|
235
|
+
}
|
|
236
|
+
var ae, he;
|
|
237
|
+
function Pe() {
|
|
238
|
+
return he || (he = 1, ae = Function.call.bind(Object.prototype.hasOwnProperty)), ae;
|
|
239
|
+
}
|
|
240
|
+
var ie, Ee;
|
|
241
|
+
function Ie() {
|
|
242
|
+
if (Ee) return ie;
|
|
243
|
+
Ee = 1;
|
|
244
|
+
var o = function() {
|
|
245
|
+
};
|
|
246
|
+
if (process.env.NODE_ENV !== "production") {
|
|
247
|
+
var I = le(), S = {}, i = Pe();
|
|
248
|
+
o = function(s) {
|
|
249
|
+
var C = "Warning: " + s;
|
|
250
|
+
typeof console < "u" && console.error(C);
|
|
251
|
+
try {
|
|
252
|
+
throw new Error(C);
|
|
253
|
+
} catch {
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
function _(s, C, u, P, h) {
|
|
258
|
+
if (process.env.NODE_ENV !== "production") {
|
|
259
|
+
for (var p in s)
|
|
260
|
+
if (i(s, p)) {
|
|
261
|
+
var E;
|
|
262
|
+
try {
|
|
263
|
+
if (typeof s[p] != "function") {
|
|
264
|
+
var R = Error(
|
|
265
|
+
(P || "React class") + ": " + u + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
266
|
+
);
|
|
267
|
+
throw R.name = "Invariant Violation", R;
|
|
268
|
+
}
|
|
269
|
+
E = s[p](C, p, P, u, null, I);
|
|
270
|
+
} catch ($) {
|
|
271
|
+
E = $;
|
|
272
|
+
}
|
|
273
|
+
if (E && !(E instanceof Error) && o(
|
|
274
|
+
(P || "React class") + ": type specification of " + u + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
275
|
+
), E instanceof Error && !(E.message in S)) {
|
|
276
|
+
S[E.message] = !0;
|
|
277
|
+
var w = h ? h() : "";
|
|
278
|
+
o(
|
|
279
|
+
"Failed " + u + " type: " + E.message + (w ?? "")
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
return _.resetWarningCache = function() {
|
|
286
|
+
process.env.NODE_ENV !== "production" && (S = {});
|
|
287
|
+
}, ie = _, ie;
|
|
288
|
+
}
|
|
289
|
+
var se, ge;
|
|
290
|
+
function je() {
|
|
291
|
+
if (ge) return se;
|
|
292
|
+
ge = 1;
|
|
293
|
+
var o = Ce(), I = Ae(), S = le(), i = Pe(), _ = Ie(), s = function() {
|
|
294
|
+
};
|
|
295
|
+
process.env.NODE_ENV !== "production" && (s = function(u) {
|
|
296
|
+
var P = "Warning: " + u;
|
|
297
|
+
typeof console < "u" && console.error(P);
|
|
298
|
+
try {
|
|
299
|
+
throw new Error(P);
|
|
300
|
+
} catch {
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
function C() {
|
|
304
|
+
return null;
|
|
305
|
+
}
|
|
306
|
+
return se = function(u, P) {
|
|
307
|
+
var h = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
308
|
+
function E(e) {
|
|
309
|
+
var n = e && (h && e[h] || e[p]);
|
|
310
|
+
if (typeof n == "function")
|
|
311
|
+
return n;
|
|
312
|
+
}
|
|
313
|
+
var R = "<<anonymous>>", w = {
|
|
314
|
+
array: D("array"),
|
|
315
|
+
bigint: D("bigint"),
|
|
316
|
+
bool: D("boolean"),
|
|
317
|
+
func: D("function"),
|
|
318
|
+
number: D("number"),
|
|
319
|
+
object: D("object"),
|
|
320
|
+
string: D("string"),
|
|
321
|
+
symbol: D("symbol"),
|
|
322
|
+
any: L(),
|
|
323
|
+
arrayOf: A,
|
|
324
|
+
element: x(),
|
|
325
|
+
elementType: t(),
|
|
326
|
+
instanceOf: q,
|
|
327
|
+
node: X(),
|
|
328
|
+
objectOf: U,
|
|
329
|
+
oneOf: F,
|
|
330
|
+
oneOfType: z,
|
|
331
|
+
shape: K,
|
|
332
|
+
exact: Z
|
|
333
|
+
};
|
|
334
|
+
function $(e, n) {
|
|
335
|
+
return e === n ? e !== 0 || 1 / e === 1 / n : e !== e && n !== n;
|
|
336
|
+
}
|
|
337
|
+
function O(e, n) {
|
|
338
|
+
this.message = e, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
339
|
+
}
|
|
340
|
+
O.prototype = Error.prototype;
|
|
341
|
+
function j(e) {
|
|
342
|
+
if (process.env.NODE_ENV !== "production")
|
|
343
|
+
var n = {}, d = 0;
|
|
344
|
+
function f(y, c, l, v, g, b, M) {
|
|
345
|
+
if (v = v || R, b = b || l, M !== S) {
|
|
346
|
+
if (P) {
|
|
347
|
+
var r = new Error(
|
|
348
|
+
"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"
|
|
349
|
+
);
|
|
350
|
+
throw r.name = "Invariant Violation", r;
|
|
351
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
352
|
+
var W = v + ":" + l;
|
|
353
|
+
!n[W] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
354
|
+
d < 3 && (s(
|
|
355
|
+
"You are manually calling a React.PropTypes validation function for the `" + b + "` prop on `" + v + "`. 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."
|
|
356
|
+
), n[W] = !0, d++);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
return c[l] == null ? y ? c[l] === null ? new O("The " + g + " `" + b + "` is marked as required " + ("in `" + v + "`, but its value is `null`.")) : new O("The " + g + " `" + b + "` is marked as required in " + ("`" + v + "`, but its value is `undefined`.")) : null : e(c, l, v, g, b);
|
|
360
|
+
}
|
|
361
|
+
var a = f.bind(null, !1);
|
|
362
|
+
return a.isRequired = f.bind(null, !0), a;
|
|
363
|
+
}
|
|
364
|
+
function D(e) {
|
|
365
|
+
function n(d, f, a, y, c, l) {
|
|
366
|
+
var v = d[f], g = k(v);
|
|
367
|
+
if (g !== e) {
|
|
368
|
+
var b = B(v);
|
|
369
|
+
return new O(
|
|
370
|
+
"Invalid " + y + " `" + c + "` of type " + ("`" + b + "` supplied to `" + a + "`, expected ") + ("`" + e + "`."),
|
|
371
|
+
{ expectedType: e }
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
return j(n);
|
|
377
|
+
}
|
|
378
|
+
function L() {
|
|
379
|
+
return j(C);
|
|
380
|
+
}
|
|
381
|
+
function A(e) {
|
|
382
|
+
function n(d, f, a, y, c) {
|
|
383
|
+
if (typeof e != "function")
|
|
384
|
+
return new O("Property `" + c + "` of component `" + a + "` has invalid PropType notation inside arrayOf.");
|
|
385
|
+
var l = d[f];
|
|
386
|
+
if (!Array.isArray(l)) {
|
|
387
|
+
var v = k(l);
|
|
388
|
+
return new O("Invalid " + y + " `" + c + "` of type " + ("`" + v + "` supplied to `" + a + "`, expected an array."));
|
|
389
|
+
}
|
|
390
|
+
for (var g = 0; g < l.length; g++) {
|
|
391
|
+
var b = e(l, g, a, y, c + "[" + g + "]", S);
|
|
392
|
+
if (b instanceof Error)
|
|
393
|
+
return b;
|
|
394
|
+
}
|
|
395
|
+
return null;
|
|
396
|
+
}
|
|
397
|
+
return j(n);
|
|
398
|
+
}
|
|
399
|
+
function x() {
|
|
400
|
+
function e(n, d, f, a, y) {
|
|
401
|
+
var c = n[d];
|
|
402
|
+
if (!u(c)) {
|
|
403
|
+
var l = k(c);
|
|
404
|
+
return new O("Invalid " + a + " `" + y + "` of type " + ("`" + l + "` supplied to `" + f + "`, expected a single ReactElement."));
|
|
405
|
+
}
|
|
406
|
+
return null;
|
|
407
|
+
}
|
|
408
|
+
return j(e);
|
|
409
|
+
}
|
|
410
|
+
function t() {
|
|
411
|
+
function e(n, d, f, a, y) {
|
|
412
|
+
var c = n[d];
|
|
413
|
+
if (!o.isValidElementType(c)) {
|
|
414
|
+
var l = k(c);
|
|
415
|
+
return new O("Invalid " + a + " `" + y + "` of type " + ("`" + l + "` supplied to `" + f + "`, expected a single ReactElement type."));
|
|
416
|
+
}
|
|
417
|
+
return null;
|
|
418
|
+
}
|
|
419
|
+
return j(e);
|
|
420
|
+
}
|
|
421
|
+
function q(e) {
|
|
422
|
+
function n(d, f, a, y, c) {
|
|
423
|
+
if (!(d[f] instanceof e)) {
|
|
424
|
+
var l = e.name || R, v = ee(d[f]);
|
|
425
|
+
return new O("Invalid " + y + " `" + c + "` of type " + ("`" + v + "` supplied to `" + a + "`, expected ") + ("instance of `" + l + "`."));
|
|
426
|
+
}
|
|
427
|
+
return null;
|
|
428
|
+
}
|
|
429
|
+
return j(n);
|
|
430
|
+
}
|
|
431
|
+
function F(e) {
|
|
432
|
+
if (!Array.isArray(e))
|
|
433
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
434
|
+
"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])."
|
|
435
|
+
) : s("Invalid argument supplied to oneOf, expected an array.")), C;
|
|
436
|
+
function n(d, f, a, y, c) {
|
|
437
|
+
for (var l = d[f], v = 0; v < e.length; v++)
|
|
438
|
+
if ($(l, e[v]))
|
|
439
|
+
return null;
|
|
440
|
+
var g = JSON.stringify(e, function(M, r) {
|
|
441
|
+
var W = B(r);
|
|
442
|
+
return W === "symbol" ? String(r) : r;
|
|
443
|
+
});
|
|
444
|
+
return new O("Invalid " + y + " `" + c + "` of value `" + String(l) + "` " + ("supplied to `" + a + "`, expected one of " + g + "."));
|
|
445
|
+
}
|
|
446
|
+
return j(n);
|
|
447
|
+
}
|
|
448
|
+
function U(e) {
|
|
449
|
+
function n(d, f, a, y, c) {
|
|
450
|
+
if (typeof e != "function")
|
|
451
|
+
return new O("Property `" + c + "` of component `" + a + "` has invalid PropType notation inside objectOf.");
|
|
452
|
+
var l = d[f], v = k(l);
|
|
453
|
+
if (v !== "object")
|
|
454
|
+
return new O("Invalid " + y + " `" + c + "` of type " + ("`" + v + "` supplied to `" + a + "`, expected an object."));
|
|
455
|
+
for (var g in l)
|
|
456
|
+
if (i(l, g)) {
|
|
457
|
+
var b = e(l, g, a, y, c + "." + g, S);
|
|
458
|
+
if (b instanceof Error)
|
|
459
|
+
return b;
|
|
460
|
+
}
|
|
461
|
+
return null;
|
|
462
|
+
}
|
|
463
|
+
return j(n);
|
|
464
|
+
}
|
|
465
|
+
function z(e) {
|
|
466
|
+
if (!Array.isArray(e))
|
|
467
|
+
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), C;
|
|
468
|
+
for (var n = 0; n < e.length; n++) {
|
|
469
|
+
var d = e[n];
|
|
470
|
+
if (typeof d != "function")
|
|
471
|
+
return s(
|
|
472
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(d) + " at index " + n + "."
|
|
473
|
+
), C;
|
|
474
|
+
}
|
|
475
|
+
function f(a, y, c, l, v) {
|
|
476
|
+
for (var g = [], b = 0; b < e.length; b++) {
|
|
477
|
+
var M = e[b], r = M(a, y, c, l, v, S);
|
|
478
|
+
if (r == null)
|
|
479
|
+
return null;
|
|
480
|
+
r.data && i(r.data, "expectedType") && g.push(r.data.expectedType);
|
|
481
|
+
}
|
|
482
|
+
var W = g.length > 0 ? ", expected one of type [" + g.join(", ") + "]" : "";
|
|
483
|
+
return new O("Invalid " + l + " `" + v + "` supplied to " + ("`" + c + "`" + W + "."));
|
|
484
|
+
}
|
|
485
|
+
return j(f);
|
|
486
|
+
}
|
|
487
|
+
function X() {
|
|
488
|
+
function e(n, d, f, a, y) {
|
|
489
|
+
return N(n[d]) ? null : new O("Invalid " + a + " `" + y + "` supplied to " + ("`" + f + "`, expected a ReactNode."));
|
|
490
|
+
}
|
|
491
|
+
return j(e);
|
|
492
|
+
}
|
|
493
|
+
function V(e, n, d, f, a) {
|
|
494
|
+
return new O(
|
|
495
|
+
(e || "React class") + ": " + n + " type `" + d + "." + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + a + "`."
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
function K(e) {
|
|
499
|
+
function n(d, f, a, y, c) {
|
|
500
|
+
var l = d[f], v = k(l);
|
|
501
|
+
if (v !== "object")
|
|
502
|
+
return new O("Invalid " + y + " `" + c + "` of type `" + v + "` " + ("supplied to `" + a + "`, expected `object`."));
|
|
503
|
+
for (var g in e) {
|
|
504
|
+
var b = e[g];
|
|
505
|
+
if (typeof b != "function")
|
|
506
|
+
return V(a, y, c, g, B(b));
|
|
507
|
+
var M = b(l, g, a, y, c + "." + g, S);
|
|
508
|
+
if (M)
|
|
509
|
+
return M;
|
|
510
|
+
}
|
|
511
|
+
return null;
|
|
512
|
+
}
|
|
513
|
+
return j(n);
|
|
514
|
+
}
|
|
515
|
+
function Z(e) {
|
|
516
|
+
function n(d, f, a, y, c) {
|
|
517
|
+
var l = d[f], v = k(l);
|
|
518
|
+
if (v !== "object")
|
|
519
|
+
return new O("Invalid " + y + " `" + c + "` of type `" + v + "` " + ("supplied to `" + a + "`, expected `object`."));
|
|
520
|
+
var g = I({}, d[f], e);
|
|
521
|
+
for (var b in g) {
|
|
522
|
+
var M = e[b];
|
|
523
|
+
if (i(e, b) && typeof M != "function")
|
|
524
|
+
return V(a, y, c, b, B(M));
|
|
525
|
+
if (!M)
|
|
526
|
+
return new O(
|
|
527
|
+
"Invalid " + y + " `" + c + "` key `" + b + "` supplied to `" + a + "`.\nBad object: " + JSON.stringify(d[f], null, " ") + `
|
|
528
|
+
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
529
|
+
);
|
|
530
|
+
var r = M(l, b, a, y, c + "." + b, S);
|
|
531
|
+
if (r)
|
|
532
|
+
return r;
|
|
533
|
+
}
|
|
534
|
+
return null;
|
|
535
|
+
}
|
|
536
|
+
return j(n);
|
|
537
|
+
}
|
|
538
|
+
function N(e) {
|
|
539
|
+
switch (typeof e) {
|
|
540
|
+
case "number":
|
|
541
|
+
case "string":
|
|
542
|
+
case "undefined":
|
|
543
|
+
return !0;
|
|
544
|
+
case "boolean":
|
|
545
|
+
return !e;
|
|
546
|
+
case "object":
|
|
547
|
+
if (Array.isArray(e))
|
|
548
|
+
return e.every(N);
|
|
549
|
+
if (e === null || u(e))
|
|
550
|
+
return !0;
|
|
551
|
+
var n = E(e);
|
|
552
|
+
if (n) {
|
|
553
|
+
var d = n.call(e), f;
|
|
554
|
+
if (n !== e.entries) {
|
|
555
|
+
for (; !(f = d.next()).done; )
|
|
556
|
+
if (!N(f.value))
|
|
557
|
+
return !1;
|
|
558
|
+
} else
|
|
559
|
+
for (; !(f = d.next()).done; ) {
|
|
560
|
+
var a = f.value;
|
|
561
|
+
if (a && !N(a[1]))
|
|
562
|
+
return !1;
|
|
563
|
+
}
|
|
564
|
+
} else
|
|
565
|
+
return !1;
|
|
566
|
+
return !0;
|
|
567
|
+
default:
|
|
568
|
+
return !1;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
function Q(e, n) {
|
|
572
|
+
return e === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
573
|
+
}
|
|
574
|
+
function k(e) {
|
|
575
|
+
var n = typeof e;
|
|
576
|
+
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Q(n, e) ? "symbol" : n;
|
|
577
|
+
}
|
|
578
|
+
function B(e) {
|
|
579
|
+
if (typeof e > "u" || e === null)
|
|
580
|
+
return "" + e;
|
|
581
|
+
var n = k(e);
|
|
582
|
+
if (n === "object") {
|
|
583
|
+
if (e instanceof Date)
|
|
584
|
+
return "date";
|
|
585
|
+
if (e instanceof RegExp)
|
|
586
|
+
return "regexp";
|
|
587
|
+
}
|
|
588
|
+
return n;
|
|
589
|
+
}
|
|
590
|
+
function J(e) {
|
|
591
|
+
var n = B(e);
|
|
592
|
+
switch (n) {
|
|
593
|
+
case "array":
|
|
594
|
+
case "object":
|
|
595
|
+
return "an " + n;
|
|
596
|
+
case "boolean":
|
|
597
|
+
case "date":
|
|
598
|
+
case "regexp":
|
|
599
|
+
return "a " + n;
|
|
600
|
+
default:
|
|
601
|
+
return n;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
function ee(e) {
|
|
605
|
+
return !e.constructor || !e.constructor.name ? R : e.constructor.name;
|
|
606
|
+
}
|
|
607
|
+
return w.checkPropTypes = _, w.resetWarningCache = _.resetWarningCache, w.PropTypes = w, w;
|
|
608
|
+
}, se;
|
|
609
|
+
}
|
|
610
|
+
var ce, _e;
|
|
611
|
+
function $e() {
|
|
612
|
+
if (_e) return ce;
|
|
613
|
+
_e = 1;
|
|
614
|
+
var o = le();
|
|
615
|
+
function I() {
|
|
616
|
+
}
|
|
617
|
+
function S() {
|
|
618
|
+
}
|
|
619
|
+
return S.resetWarningCache = I, ce = function() {
|
|
620
|
+
function i(C, u, P, h, p, E) {
|
|
621
|
+
if (E !== o) {
|
|
622
|
+
var R = new Error(
|
|
623
|
+
"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"
|
|
624
|
+
);
|
|
625
|
+
throw R.name = "Invariant Violation", R;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
i.isRequired = i;
|
|
629
|
+
function _() {
|
|
630
|
+
return i;
|
|
631
|
+
}
|
|
632
|
+
var s = {
|
|
633
|
+
array: i,
|
|
634
|
+
bigint: i,
|
|
635
|
+
bool: i,
|
|
636
|
+
func: i,
|
|
637
|
+
number: i,
|
|
638
|
+
object: i,
|
|
639
|
+
string: i,
|
|
640
|
+
symbol: i,
|
|
641
|
+
any: i,
|
|
642
|
+
arrayOf: _,
|
|
643
|
+
element: i,
|
|
644
|
+
elementType: i,
|
|
645
|
+
instanceOf: _,
|
|
646
|
+
node: i,
|
|
647
|
+
objectOf: _,
|
|
648
|
+
oneOf: _,
|
|
649
|
+
oneOfType: _,
|
|
650
|
+
shape: _,
|
|
651
|
+
exact: _,
|
|
652
|
+
checkPropTypes: S,
|
|
653
|
+
resetWarningCache: I
|
|
654
|
+
};
|
|
655
|
+
return s.PropTypes = s, s;
|
|
656
|
+
}, ce;
|
|
657
|
+
}
|
|
658
|
+
if (process.env.NODE_ENV !== "production") {
|
|
659
|
+
var Me = Ce(), De = !0;
|
|
660
|
+
fe.exports = je()(Me.isElement, De);
|
|
661
|
+
} else
|
|
662
|
+
fe.exports = $e()();
|
|
663
|
+
var Ye = fe.exports;
|
|
664
|
+
const Y = /* @__PURE__ */ Re(Ye), qe = "DEPRECATED_Button-module__sharedComponentsButton___wmUpf", ke = "DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy", We = "DEPRECATED_Button-module__btnSecondary___Ga6J-", ue = {
|
|
665
|
+
sharedComponentsButton: qe,
|
|
666
|
+
sharedComponentsButtonText: ke,
|
|
667
|
+
btnSecondary: We
|
|
668
|
+
}, Le = " ", Se = (o) => {
|
|
669
|
+
const {
|
|
670
|
+
allowDisabledTitle: I,
|
|
671
|
+
className: S,
|
|
672
|
+
disabled: i,
|
|
673
|
+
hoverSuffix: _,
|
|
674
|
+
iconClassName: s,
|
|
675
|
+
iconName: C,
|
|
676
|
+
transparent: u,
|
|
677
|
+
text: P,
|
|
678
|
+
trailingIconName: h,
|
|
679
|
+
title: p,
|
|
680
|
+
dark: E,
|
|
681
|
+
gray: R,
|
|
682
|
+
secondary: w,
|
|
683
|
+
dataTestId: $,
|
|
684
|
+
ariaLabel: O = "button",
|
|
685
|
+
...j
|
|
686
|
+
} = o, L = te(
|
|
687
|
+
"btn",
|
|
688
|
+
{
|
|
689
|
+
"btn--disabled": i,
|
|
690
|
+
"btn--transp": u,
|
|
691
|
+
"btn--dark": E,
|
|
692
|
+
"btn--icon": !P,
|
|
693
|
+
"btn--gray": R,
|
|
694
|
+
[ue.btnSecondary]: w
|
|
695
|
+
},
|
|
696
|
+
ue.sharedComponentsButton,
|
|
697
|
+
S
|
|
698
|
+
), A = te("btn__icon", s), x = C && /* @__PURE__ */ re(
|
|
699
|
+
pe,
|
|
700
|
+
{
|
|
701
|
+
className: A,
|
|
702
|
+
name: C,
|
|
703
|
+
disabled: i,
|
|
704
|
+
hoverSuffix: _
|
|
705
|
+
}
|
|
706
|
+
), t = te("btn__text", ue.sharedComponentsButtonText), q = P && /* @__PURE__ */ re("span", { className: t, children: P }), F = x && q && Le, U = h && /* @__PURE__ */ re(
|
|
707
|
+
pe,
|
|
708
|
+
{
|
|
709
|
+
className: A,
|
|
710
|
+
name: h,
|
|
711
|
+
disabled: i,
|
|
712
|
+
hoverSuffix: _
|
|
713
|
+
}
|
|
714
|
+
), z = {
|
|
715
|
+
disabled: i,
|
|
716
|
+
title: p && (!i || I) ? p : void 0,
|
|
717
|
+
...j
|
|
718
|
+
};
|
|
719
|
+
return /* @__PURE__ */ Oe("button", { ...z, className: L, "data-testid": $, "aria-label": O, children: [
|
|
720
|
+
x,
|
|
721
|
+
F,
|
|
722
|
+
q,
|
|
723
|
+
U
|
|
724
|
+
] });
|
|
725
|
+
};
|
|
726
|
+
Se.propTypes = {
|
|
727
|
+
allowDisabledTitle: Y.bool,
|
|
728
|
+
className: Y.string,
|
|
729
|
+
disabled: Y.bool,
|
|
730
|
+
hoverSuffix: Y.string,
|
|
731
|
+
iconClassName: Y.string,
|
|
732
|
+
iconName: Y.string,
|
|
733
|
+
onClick: Y.func.isRequired,
|
|
734
|
+
text: Y.string,
|
|
735
|
+
title: Y.string,
|
|
736
|
+
trailingIconName: Y.string,
|
|
737
|
+
transparent: Y.bool,
|
|
738
|
+
dark: Y.bool,
|
|
739
|
+
gray: Y.bool
|
|
740
|
+
};
|
|
741
|
+
Se.defaultProps = {
|
|
742
|
+
allowDisabledTitle: !1
|
|
743
|
+
};
|
|
744
|
+
export {
|
|
745
|
+
Se as D
|
|
746
|
+
};
|