@m4l/components 9.3.30-JA.beta-1 → 9.3.31
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/@types/types.d.ts +8 -0
- package/commonjs/index.js +1 -0
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +3 -3
- package/components/Chip/slots/ChipSlots.d.ts +1 -1
- package/components/EditLabel/slots/EditLabelSlots.d.ts +1 -1
- package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
- package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
- package/components/Label/slots/LabelSlots.d.ts +2 -2
- package/components/LoadingError/LoadingError.js +2 -1
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
- package/components/Pager/slots/PagerSlots.d.ts +3 -3
- package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +1 -1
- package/components/Stepper/slots/StepperSlot.d.ts +4 -4
- package/components/TabsNavigator/TabsNavigator.d.ts +5 -0
- package/components/TabsNavigator/TabsNavigator.js +53 -0
- package/components/TabsNavigator/TabsNavigator.styles.d.ts +2 -0
- package/components/TabsNavigator/TabsNavigator.styles.js +260 -0
- package/components/TabsNavigator/__tests__/TabNavigatorClusterComponent.test.d.ts +1 -0
- package/components/TabsNavigator/__tests__/TabNavigatorComponent.test.d.ts +1 -0
- package/components/TabsNavigator/__tests__/TabsNavigator.integration.test.d.ts +1 -0
- package/components/TabsNavigator/__tests__/TextMarquee.test.d.ts +1 -0
- package/components/TabsNavigator/__tests__/getClusterTabs.test.d.ts +1 -0
- package/components/TabsNavigator/__tests__/getFinalTabs.test.d.ts +1 -0
- package/components/TabsNavigator/__tests__/mocks/tabsNavigatorMocks.d.ts +36 -0
- package/components/TabsNavigator/__tests__/useTabsNavigator.test.d.ts +1 -0
- package/components/TabsNavigator/constants.d.ts +20 -0
- package/components/TabsNavigator/constants.js +18 -0
- package/components/TabsNavigator/dictionary.d.ts +4 -0
- package/components/TabsNavigator/dictionary.js +11 -0
- package/components/TabsNavigator/helpers/getClusterTabs/getClusterTabs.d.ts +13 -0
- package/components/TabsNavigator/helpers/getClusterTabs/getClusterTabs.js +12 -0
- package/components/TabsNavigator/helpers/getClusterTabs/index.d.ts +1 -0
- package/components/TabsNavigator/helpers/getClusterTabs/index.js +1 -0
- package/components/TabsNavigator/helpers/getFinalTabs/getFinalTabs.d.ts +13 -0
- package/components/TabsNavigator/helpers/getFinalTabs/getFinalTabs.js +27 -0
- package/components/TabsNavigator/helpers/getFinalTabs/index.d.ts +1 -0
- package/components/TabsNavigator/helpers/getFinalTabs/index.js +1 -0
- package/components/TabsNavigator/hooks/useTabsNavigator/types.d.ts +6 -0
- package/components/TabsNavigator/hooks/useTabsNavigator/useTabsNavigator.d.ts +11 -0
- package/components/TabsNavigator/hooks/useTabsNavigator/useTabsNavigator.js +28 -0
- package/components/TabsNavigator/icons.d.ts +3 -0
- package/components/TabsNavigator/icons.js +6 -0
- package/components/TabsNavigator/index.d.ts +3 -0
- package/components/TabsNavigator/index.js +1 -0
- package/components/TabsNavigator/slots/TabsNavigatorEnum.d.ts +16 -0
- package/components/TabsNavigator/slots/TabsNavigatorEnum.js +22 -0
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +30 -0
- package/components/TabsNavigator/slots/TabsNavigatorSlots.js +60 -0
- package/components/TabsNavigator/subcomponents/TabNavigatorClusterComponent/TabNavigatorClusterComponent.d.ts +7 -0
- package/components/TabsNavigator/subcomponents/TabNavigatorClusterComponent/TabNavigatorClusterComponent.js +120 -0
- package/components/TabsNavigator/subcomponents/TabNavigatorComponent/TabNavigatorComponent.d.ts +7 -0
- package/components/TabsNavigator/subcomponents/TabNavigatorComponent/TabNavigatorComponent.js +77 -0
- package/components/TabsNavigator/subcomponents/TextMarquee/TextMarquee.d.ts +6 -0
- package/components/TabsNavigator/subcomponents/TextMarquee/TextMarquee.js +99 -0
- package/components/TabsNavigator/subcomponents/TextMarquee/index.d.ts +2 -0
- package/components/TabsNavigator/subcomponents/TextMarquee/index.js +1 -0
- package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts +8 -0
- package/components/TabsNavigator/types.d.ts +43 -0
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
- package/components/areas/contexts/AreasContext/store.js +2 -2
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +5 -5
- package/components/hook-form/RHFormProvider/RHFormProvider.d.ts +2 -19
- package/components/hook-form/RHFormProvider/RHFormProvider.js +10 -5
- package/components/hook-form/RHFormProvider/types.d.ts +8 -4
- package/components/index.d.ts +1 -0
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +1 -1
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +2 -2
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +1 -1
- package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +1 -1
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +3 -3
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/mui_extended/Typography/Typography.d.ts +1 -1
- package/components/mui_extended/Typography/Typography.js +4 -2
- package/hooks/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.d.ts → useFormAddEdit.d.ts} +2 -1
- package/index.js +31 -27
- package/not_recognized/index.js +627 -0
- package/package.json +1 -1
- /package/hooks/useFormAddEdit/{index.js → useFormAddEdit.js} +0 -0
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
function memoize(fn) {
|
|
3
|
+
var cache = /* @__PURE__ */ Object.create(null);
|
|
4
|
+
return function(arg) {
|
|
5
|
+
if (cache[arg] === void 0) cache[arg] = fn(arg);
|
|
6
|
+
return cache[arg];
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
var reactIs = { exports: {} };
|
|
10
|
+
var reactIs_production_min = {};
|
|
11
|
+
/** @license React v16.13.1
|
|
12
|
+
* react-is.production.min.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
19
|
+
var hasRequiredReactIs_production_min;
|
|
20
|
+
function requireReactIs_production_min() {
|
|
21
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
22
|
+
hasRequiredReactIs_production_min = 1;
|
|
23
|
+
var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
|
|
24
|
+
function z(a) {
|
|
25
|
+
if ("object" === typeof a && null !== a) {
|
|
26
|
+
var u = a.$$typeof;
|
|
27
|
+
switch (u) {
|
|
28
|
+
case c:
|
|
29
|
+
switch (a = a.type, a) {
|
|
30
|
+
case l:
|
|
31
|
+
case m:
|
|
32
|
+
case e:
|
|
33
|
+
case g:
|
|
34
|
+
case f:
|
|
35
|
+
case p:
|
|
36
|
+
return a;
|
|
37
|
+
default:
|
|
38
|
+
switch (a = a && a.$$typeof, a) {
|
|
39
|
+
case k:
|
|
40
|
+
case n:
|
|
41
|
+
case t:
|
|
42
|
+
case r:
|
|
43
|
+
case h:
|
|
44
|
+
return a;
|
|
45
|
+
default:
|
|
46
|
+
return u;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
case d:
|
|
50
|
+
return u;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function A(a) {
|
|
55
|
+
return z(a) === m;
|
|
56
|
+
}
|
|
57
|
+
reactIs_production_min.AsyncMode = l;
|
|
58
|
+
reactIs_production_min.ConcurrentMode = m;
|
|
59
|
+
reactIs_production_min.ContextConsumer = k;
|
|
60
|
+
reactIs_production_min.ContextProvider = h;
|
|
61
|
+
reactIs_production_min.Element = c;
|
|
62
|
+
reactIs_production_min.ForwardRef = n;
|
|
63
|
+
reactIs_production_min.Fragment = e;
|
|
64
|
+
reactIs_production_min.Lazy = t;
|
|
65
|
+
reactIs_production_min.Memo = r;
|
|
66
|
+
reactIs_production_min.Portal = d;
|
|
67
|
+
reactIs_production_min.Profiler = g;
|
|
68
|
+
reactIs_production_min.StrictMode = f;
|
|
69
|
+
reactIs_production_min.Suspense = p;
|
|
70
|
+
reactIs_production_min.isAsyncMode = function(a) {
|
|
71
|
+
return A(a) || z(a) === l;
|
|
72
|
+
};
|
|
73
|
+
reactIs_production_min.isConcurrentMode = A;
|
|
74
|
+
reactIs_production_min.isContextConsumer = function(a) {
|
|
75
|
+
return z(a) === k;
|
|
76
|
+
};
|
|
77
|
+
reactIs_production_min.isContextProvider = function(a) {
|
|
78
|
+
return z(a) === h;
|
|
79
|
+
};
|
|
80
|
+
reactIs_production_min.isElement = function(a) {
|
|
81
|
+
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
82
|
+
};
|
|
83
|
+
reactIs_production_min.isForwardRef = function(a) {
|
|
84
|
+
return z(a) === n;
|
|
85
|
+
};
|
|
86
|
+
reactIs_production_min.isFragment = function(a) {
|
|
87
|
+
return z(a) === e;
|
|
88
|
+
};
|
|
89
|
+
reactIs_production_min.isLazy = function(a) {
|
|
90
|
+
return z(a) === t;
|
|
91
|
+
};
|
|
92
|
+
reactIs_production_min.isMemo = function(a) {
|
|
93
|
+
return z(a) === r;
|
|
94
|
+
};
|
|
95
|
+
reactIs_production_min.isPortal = function(a) {
|
|
96
|
+
return z(a) === d;
|
|
97
|
+
};
|
|
98
|
+
reactIs_production_min.isProfiler = function(a) {
|
|
99
|
+
return z(a) === g;
|
|
100
|
+
};
|
|
101
|
+
reactIs_production_min.isStrictMode = function(a) {
|
|
102
|
+
return z(a) === f;
|
|
103
|
+
};
|
|
104
|
+
reactIs_production_min.isSuspense = function(a) {
|
|
105
|
+
return z(a) === p;
|
|
106
|
+
};
|
|
107
|
+
reactIs_production_min.isValidElementType = function(a) {
|
|
108
|
+
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
109
|
+
};
|
|
110
|
+
reactIs_production_min.typeOf = z;
|
|
111
|
+
return reactIs_production_min;
|
|
112
|
+
}
|
|
113
|
+
var reactIs_development = {};
|
|
114
|
+
/** @license React v16.13.1
|
|
115
|
+
* react-is.development.js
|
|
116
|
+
*
|
|
117
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the MIT license found in the
|
|
120
|
+
* LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/
|
|
122
|
+
var hasRequiredReactIs_development;
|
|
123
|
+
function requireReactIs_development() {
|
|
124
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
125
|
+
hasRequiredReactIs_development = 1;
|
|
126
|
+
if (process.env.NODE_ENV !== "production") {
|
|
127
|
+
(function() {
|
|
128
|
+
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
|
129
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
|
130
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
|
131
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
|
|
132
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
|
|
133
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
|
|
134
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
|
|
135
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
|
|
136
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
|
|
137
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
|
|
138
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
|
|
139
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
|
|
140
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
|
|
141
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
|
|
142
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
|
|
143
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
|
|
144
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
|
145
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
|
146
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
|
147
|
+
function isValidElementType(type) {
|
|
148
|
+
return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
149
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
150
|
+
}
|
|
151
|
+
function typeOf(object) {
|
|
152
|
+
if (typeof object === "object" && object !== null) {
|
|
153
|
+
var $$typeof = object.$$typeof;
|
|
154
|
+
switch ($$typeof) {
|
|
155
|
+
case REACT_ELEMENT_TYPE:
|
|
156
|
+
var type = object.type;
|
|
157
|
+
switch (type) {
|
|
158
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
159
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
160
|
+
case REACT_FRAGMENT_TYPE:
|
|
161
|
+
case REACT_PROFILER_TYPE:
|
|
162
|
+
case REACT_STRICT_MODE_TYPE:
|
|
163
|
+
case REACT_SUSPENSE_TYPE:
|
|
164
|
+
return type;
|
|
165
|
+
default:
|
|
166
|
+
var $$typeofType = type && type.$$typeof;
|
|
167
|
+
switch ($$typeofType) {
|
|
168
|
+
case REACT_CONTEXT_TYPE:
|
|
169
|
+
case REACT_FORWARD_REF_TYPE:
|
|
170
|
+
case REACT_LAZY_TYPE:
|
|
171
|
+
case REACT_MEMO_TYPE:
|
|
172
|
+
case REACT_PROVIDER_TYPE:
|
|
173
|
+
return $$typeofType;
|
|
174
|
+
default:
|
|
175
|
+
return $$typeof;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
case REACT_PORTAL_TYPE:
|
|
179
|
+
return $$typeof;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return void 0;
|
|
183
|
+
}
|
|
184
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
185
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
186
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
187
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
188
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
189
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
190
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
191
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
192
|
+
var Memo = REACT_MEMO_TYPE;
|
|
193
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
194
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
195
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
196
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
197
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
198
|
+
function isAsyncMode(object) {
|
|
199
|
+
{
|
|
200
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
201
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
202
|
+
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.");
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
206
|
+
}
|
|
207
|
+
function isConcurrentMode(object) {
|
|
208
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
209
|
+
}
|
|
210
|
+
function isContextConsumer(object) {
|
|
211
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
212
|
+
}
|
|
213
|
+
function isContextProvider(object) {
|
|
214
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
215
|
+
}
|
|
216
|
+
function isElement(object) {
|
|
217
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
218
|
+
}
|
|
219
|
+
function isForwardRef(object) {
|
|
220
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
221
|
+
}
|
|
222
|
+
function isFragment(object) {
|
|
223
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
224
|
+
}
|
|
225
|
+
function isLazy(object) {
|
|
226
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
227
|
+
}
|
|
228
|
+
function isMemo(object) {
|
|
229
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
230
|
+
}
|
|
231
|
+
function isPortal(object) {
|
|
232
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
233
|
+
}
|
|
234
|
+
function isProfiler(object) {
|
|
235
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
236
|
+
}
|
|
237
|
+
function isStrictMode(object) {
|
|
238
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
239
|
+
}
|
|
240
|
+
function isSuspense(object) {
|
|
241
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
242
|
+
}
|
|
243
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
244
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
245
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
246
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
247
|
+
reactIs_development.Element = Element;
|
|
248
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
249
|
+
reactIs_development.Fragment = Fragment;
|
|
250
|
+
reactIs_development.Lazy = Lazy;
|
|
251
|
+
reactIs_development.Memo = Memo;
|
|
252
|
+
reactIs_development.Portal = Portal;
|
|
253
|
+
reactIs_development.Profiler = Profiler;
|
|
254
|
+
reactIs_development.StrictMode = StrictMode;
|
|
255
|
+
reactIs_development.Suspense = Suspense;
|
|
256
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
257
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
258
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
259
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
260
|
+
reactIs_development.isElement = isElement;
|
|
261
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
262
|
+
reactIs_development.isFragment = isFragment;
|
|
263
|
+
reactIs_development.isLazy = isLazy;
|
|
264
|
+
reactIs_development.isMemo = isMemo;
|
|
265
|
+
reactIs_development.isPortal = isPortal;
|
|
266
|
+
reactIs_development.isProfiler = isProfiler;
|
|
267
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
268
|
+
reactIs_development.isSuspense = isSuspense;
|
|
269
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
270
|
+
reactIs_development.typeOf = typeOf;
|
|
271
|
+
})();
|
|
272
|
+
}
|
|
273
|
+
return reactIs_development;
|
|
274
|
+
}
|
|
275
|
+
var hasRequiredReactIs;
|
|
276
|
+
function requireReactIs() {
|
|
277
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
278
|
+
hasRequiredReactIs = 1;
|
|
279
|
+
if (process.env.NODE_ENV === "production") {
|
|
280
|
+
reactIs.exports = requireReactIs_production_min();
|
|
281
|
+
} else {
|
|
282
|
+
reactIs.exports = requireReactIs_development();
|
|
283
|
+
}
|
|
284
|
+
return reactIs.exports;
|
|
285
|
+
}
|
|
286
|
+
var hoistNonReactStatics_cjs;
|
|
287
|
+
var hasRequiredHoistNonReactStatics_cjs;
|
|
288
|
+
function requireHoistNonReactStatics_cjs() {
|
|
289
|
+
if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
|
|
290
|
+
hasRequiredHoistNonReactStatics_cjs = 1;
|
|
291
|
+
var reactIs2 = requireReactIs();
|
|
292
|
+
var REACT_STATICS = {
|
|
293
|
+
childContextTypes: true,
|
|
294
|
+
contextType: true,
|
|
295
|
+
contextTypes: true,
|
|
296
|
+
defaultProps: true,
|
|
297
|
+
displayName: true,
|
|
298
|
+
getDefaultProps: true,
|
|
299
|
+
getDerivedStateFromError: true,
|
|
300
|
+
getDerivedStateFromProps: true,
|
|
301
|
+
mixins: true,
|
|
302
|
+
propTypes: true,
|
|
303
|
+
type: true
|
|
304
|
+
};
|
|
305
|
+
var KNOWN_STATICS = {
|
|
306
|
+
name: true,
|
|
307
|
+
length: true,
|
|
308
|
+
prototype: true,
|
|
309
|
+
caller: true,
|
|
310
|
+
callee: true,
|
|
311
|
+
arguments: true,
|
|
312
|
+
arity: true
|
|
313
|
+
};
|
|
314
|
+
var FORWARD_REF_STATICS = {
|
|
315
|
+
"$$typeof": true,
|
|
316
|
+
render: true,
|
|
317
|
+
defaultProps: true,
|
|
318
|
+
displayName: true,
|
|
319
|
+
propTypes: true
|
|
320
|
+
};
|
|
321
|
+
var MEMO_STATICS = {
|
|
322
|
+
"$$typeof": true,
|
|
323
|
+
compare: true,
|
|
324
|
+
defaultProps: true,
|
|
325
|
+
displayName: true,
|
|
326
|
+
propTypes: true,
|
|
327
|
+
type: true
|
|
328
|
+
};
|
|
329
|
+
var TYPE_STATICS = {};
|
|
330
|
+
TYPE_STATICS[reactIs2.ForwardRef] = FORWARD_REF_STATICS;
|
|
331
|
+
TYPE_STATICS[reactIs2.Memo] = MEMO_STATICS;
|
|
332
|
+
function getStatics(component) {
|
|
333
|
+
if (reactIs2.isMemo(component)) {
|
|
334
|
+
return MEMO_STATICS;
|
|
335
|
+
}
|
|
336
|
+
return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
|
|
337
|
+
}
|
|
338
|
+
var defineProperty = Object.defineProperty;
|
|
339
|
+
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
340
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
341
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
342
|
+
var getPrototypeOf = Object.getPrototypeOf;
|
|
343
|
+
var objectPrototype = Object.prototype;
|
|
344
|
+
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
345
|
+
if (typeof sourceComponent !== "string") {
|
|
346
|
+
if (objectPrototype) {
|
|
347
|
+
var inheritedComponent = getPrototypeOf(sourceComponent);
|
|
348
|
+
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
|
349
|
+
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
var keys = getOwnPropertyNames(sourceComponent);
|
|
353
|
+
if (getOwnPropertySymbols) {
|
|
354
|
+
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
355
|
+
}
|
|
356
|
+
var targetStatics = getStatics(targetComponent);
|
|
357
|
+
var sourceStatics = getStatics(sourceComponent);
|
|
358
|
+
for (var i = 0; i < keys.length; ++i) {
|
|
359
|
+
var key = keys[i];
|
|
360
|
+
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
361
|
+
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
362
|
+
try {
|
|
363
|
+
defineProperty(targetComponent, key, descriptor);
|
|
364
|
+
} catch (e) {
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
return targetComponent;
|
|
370
|
+
}
|
|
371
|
+
hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
372
|
+
return hoistNonReactStatics_cjs;
|
|
373
|
+
}
|
|
374
|
+
requireHoistNonReactStatics_cjs();
|
|
375
|
+
function murmur2(str) {
|
|
376
|
+
var h = 0;
|
|
377
|
+
var k, i = 0, len = str.length;
|
|
378
|
+
for (; len >= 4; ++i, len -= 4) {
|
|
379
|
+
k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
|
|
380
|
+
k = /* Math.imul(k, m): */
|
|
381
|
+
(k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
|
|
382
|
+
k ^= /* k >>> r: */
|
|
383
|
+
k >>> 24;
|
|
384
|
+
h = /* Math.imul(k, m): */
|
|
385
|
+
(k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
386
|
+
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
387
|
+
}
|
|
388
|
+
switch (len) {
|
|
389
|
+
case 3:
|
|
390
|
+
h ^= (str.charCodeAt(i + 2) & 255) << 16;
|
|
391
|
+
case 2:
|
|
392
|
+
h ^= (str.charCodeAt(i + 1) & 255) << 8;
|
|
393
|
+
case 1:
|
|
394
|
+
h ^= str.charCodeAt(i) & 255;
|
|
395
|
+
h = /* Math.imul(h, m): */
|
|
396
|
+
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
397
|
+
}
|
|
398
|
+
h ^= h >>> 13;
|
|
399
|
+
h = /* Math.imul(h, m): */
|
|
400
|
+
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
401
|
+
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
402
|
+
}
|
|
403
|
+
var unitlessKeys = {
|
|
404
|
+
animationIterationCount: 1,
|
|
405
|
+
aspectRatio: 1,
|
|
406
|
+
borderImageOutset: 1,
|
|
407
|
+
borderImageSlice: 1,
|
|
408
|
+
borderImageWidth: 1,
|
|
409
|
+
boxFlex: 1,
|
|
410
|
+
boxFlexGroup: 1,
|
|
411
|
+
boxOrdinalGroup: 1,
|
|
412
|
+
columnCount: 1,
|
|
413
|
+
columns: 1,
|
|
414
|
+
flex: 1,
|
|
415
|
+
flexGrow: 1,
|
|
416
|
+
flexPositive: 1,
|
|
417
|
+
flexShrink: 1,
|
|
418
|
+
flexNegative: 1,
|
|
419
|
+
flexOrder: 1,
|
|
420
|
+
gridRow: 1,
|
|
421
|
+
gridRowEnd: 1,
|
|
422
|
+
gridRowSpan: 1,
|
|
423
|
+
gridRowStart: 1,
|
|
424
|
+
gridColumn: 1,
|
|
425
|
+
gridColumnEnd: 1,
|
|
426
|
+
gridColumnSpan: 1,
|
|
427
|
+
gridColumnStart: 1,
|
|
428
|
+
msGridRow: 1,
|
|
429
|
+
msGridRowSpan: 1,
|
|
430
|
+
msGridColumn: 1,
|
|
431
|
+
msGridColumnSpan: 1,
|
|
432
|
+
fontWeight: 1,
|
|
433
|
+
lineHeight: 1,
|
|
434
|
+
opacity: 1,
|
|
435
|
+
order: 1,
|
|
436
|
+
orphans: 1,
|
|
437
|
+
scale: 1,
|
|
438
|
+
tabSize: 1,
|
|
439
|
+
widows: 1,
|
|
440
|
+
zIndex: 1,
|
|
441
|
+
zoom: 1,
|
|
442
|
+
WebkitLineClamp: 1,
|
|
443
|
+
// SVG-related properties
|
|
444
|
+
fillOpacity: 1,
|
|
445
|
+
floodOpacity: 1,
|
|
446
|
+
stopOpacity: 1,
|
|
447
|
+
strokeDasharray: 1,
|
|
448
|
+
strokeDashoffset: 1,
|
|
449
|
+
strokeMiterlimit: 1,
|
|
450
|
+
strokeOpacity: 1,
|
|
451
|
+
strokeWidth: 1
|
|
452
|
+
};
|
|
453
|
+
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
454
|
+
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
455
|
+
var isCustomProperty = function isCustomProperty2(property) {
|
|
456
|
+
return property.charCodeAt(1) === 45;
|
|
457
|
+
};
|
|
458
|
+
var isProcessableValue = function isProcessableValue2(value) {
|
|
459
|
+
return value != null && typeof value !== "boolean";
|
|
460
|
+
};
|
|
461
|
+
var processStyleName = /* @__PURE__ */ memoize(function(styleName) {
|
|
462
|
+
return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
|
|
463
|
+
});
|
|
464
|
+
var processStyleValue = function processStyleValue2(key, value) {
|
|
465
|
+
switch (key) {
|
|
466
|
+
case "animation":
|
|
467
|
+
case "animationName": {
|
|
468
|
+
if (typeof value === "string") {
|
|
469
|
+
return value.replace(animationRegex, function(match, p1, p2) {
|
|
470
|
+
cursor = {
|
|
471
|
+
name: p1,
|
|
472
|
+
styles: p2,
|
|
473
|
+
next: cursor
|
|
474
|
+
};
|
|
475
|
+
return p1;
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
|
|
481
|
+
return value + "px";
|
|
482
|
+
}
|
|
483
|
+
return value;
|
|
484
|
+
};
|
|
485
|
+
function handleInterpolation(mergedProps, registered, interpolation) {
|
|
486
|
+
if (interpolation == null) {
|
|
487
|
+
return "";
|
|
488
|
+
}
|
|
489
|
+
var componentSelector = interpolation;
|
|
490
|
+
if (componentSelector.__emotion_styles !== void 0) {
|
|
491
|
+
return componentSelector;
|
|
492
|
+
}
|
|
493
|
+
switch (typeof interpolation) {
|
|
494
|
+
case "boolean": {
|
|
495
|
+
return "";
|
|
496
|
+
}
|
|
497
|
+
case "object": {
|
|
498
|
+
var keyframes3 = interpolation;
|
|
499
|
+
if (keyframes3.anim === 1) {
|
|
500
|
+
cursor = {
|
|
501
|
+
name: keyframes3.name,
|
|
502
|
+
styles: keyframes3.styles,
|
|
503
|
+
next: cursor
|
|
504
|
+
};
|
|
505
|
+
return keyframes3.name;
|
|
506
|
+
}
|
|
507
|
+
var serializedStyles = interpolation;
|
|
508
|
+
if (serializedStyles.styles !== void 0) {
|
|
509
|
+
var next = serializedStyles.next;
|
|
510
|
+
if (next !== void 0) {
|
|
511
|
+
while (next !== void 0) {
|
|
512
|
+
cursor = {
|
|
513
|
+
name: next.name,
|
|
514
|
+
styles: next.styles,
|
|
515
|
+
next: cursor
|
|
516
|
+
};
|
|
517
|
+
next = next.next;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
var styles = serializedStyles.styles + ";";
|
|
521
|
+
return styles;
|
|
522
|
+
}
|
|
523
|
+
return createStringFromObject(mergedProps, registered, interpolation);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
var asString = interpolation;
|
|
527
|
+
{
|
|
528
|
+
return asString;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
function createStringFromObject(mergedProps, registered, obj) {
|
|
532
|
+
var string = "";
|
|
533
|
+
if (Array.isArray(obj)) {
|
|
534
|
+
for (var i = 0; i < obj.length; i++) {
|
|
535
|
+
string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
|
|
536
|
+
}
|
|
537
|
+
} else {
|
|
538
|
+
for (var key in obj) {
|
|
539
|
+
var value = obj[key];
|
|
540
|
+
if (typeof value !== "object") {
|
|
541
|
+
var asString = value;
|
|
542
|
+
if (isProcessableValue(asString)) {
|
|
543
|
+
string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
|
|
544
|
+
}
|
|
545
|
+
} else {
|
|
546
|
+
if (Array.isArray(value) && typeof value[0] === "string" && registered == null) {
|
|
547
|
+
for (var _i = 0; _i < value.length; _i++) {
|
|
548
|
+
if (isProcessableValue(value[_i])) {
|
|
549
|
+
string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
} else {
|
|
553
|
+
var interpolated = handleInterpolation(mergedProps, registered, value);
|
|
554
|
+
switch (key) {
|
|
555
|
+
case "animation":
|
|
556
|
+
case "animationName": {
|
|
557
|
+
string += processStyleName(key) + ":" + interpolated + ";";
|
|
558
|
+
break;
|
|
559
|
+
}
|
|
560
|
+
default: {
|
|
561
|
+
string += key + "{" + interpolated + "}";
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
return string;
|
|
569
|
+
}
|
|
570
|
+
var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g;
|
|
571
|
+
var cursor;
|
|
572
|
+
function serializeStyles(args, registered, mergedProps) {
|
|
573
|
+
if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
|
|
574
|
+
return args[0];
|
|
575
|
+
}
|
|
576
|
+
var stringMode = true;
|
|
577
|
+
var styles = "";
|
|
578
|
+
cursor = void 0;
|
|
579
|
+
var strings = args[0];
|
|
580
|
+
if (strings == null || strings.raw === void 0) {
|
|
581
|
+
stringMode = false;
|
|
582
|
+
styles += handleInterpolation(mergedProps, registered, strings);
|
|
583
|
+
} else {
|
|
584
|
+
var asTemplateStringsArr = strings;
|
|
585
|
+
styles += asTemplateStringsArr[0];
|
|
586
|
+
}
|
|
587
|
+
for (var i = 1; i < args.length; i++) {
|
|
588
|
+
styles += handleInterpolation(mergedProps, registered, args[i]);
|
|
589
|
+
if (stringMode) {
|
|
590
|
+
var templateStringsArr = strings;
|
|
591
|
+
styles += templateStringsArr[i];
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
labelPattern.lastIndex = 0;
|
|
595
|
+
var identifierName = "";
|
|
596
|
+
var match;
|
|
597
|
+
while ((match = labelPattern.exec(styles)) !== null) {
|
|
598
|
+
identifierName += "-" + match[1];
|
|
599
|
+
}
|
|
600
|
+
var name = murmur2(styles) + identifierName;
|
|
601
|
+
return {
|
|
602
|
+
name,
|
|
603
|
+
styles,
|
|
604
|
+
next: cursor
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
function css() {
|
|
608
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
609
|
+
args[_key] = arguments[_key];
|
|
610
|
+
}
|
|
611
|
+
return serializeStyles(args);
|
|
612
|
+
}
|
|
613
|
+
var keyframes = function keyframes2() {
|
|
614
|
+
var insertable = css.apply(void 0, arguments);
|
|
615
|
+
var name = "animation-" + insertable.name;
|
|
616
|
+
return {
|
|
617
|
+
name,
|
|
618
|
+
styles: "@keyframes " + name + "{" + insertable.styles + "}",
|
|
619
|
+
anim: 1,
|
|
620
|
+
toString: function toString() {
|
|
621
|
+
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
622
|
+
}
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
export {
|
|
626
|
+
keyframes as k
|
|
627
|
+
};
|
package/package.json
CHANGED
|
File without changes
|