@sinco/react 0.0.0-rc.4 → 0.0.0-rc.7
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1097 -4
- package/package.json +1 -1
- package/src/lib/Theme/index.d.ts +2 -1
package/index.js
CHANGED
@@ -1,4 +1,1088 @@
|
|
1
|
-
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
2
|
+
|
3
|
+
var check = function (it) {
|
4
|
+
return it && it.Math == Math && it;
|
5
|
+
};
|
6
|
+
|
7
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
8
|
+
var global$b =
|
9
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
10
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
11
|
+
check(typeof window == 'object' && window) ||
|
12
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
13
|
+
check(typeof self == 'object' && self) ||
|
14
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
15
|
+
// eslint-disable-next-line no-new-func -- fallback
|
16
|
+
(function () { return this; })() || commonjsGlobal || Function('return this')();
|
17
|
+
|
18
|
+
var objectGetOwnPropertyDescriptor = {};
|
19
|
+
|
20
|
+
var fails$9 = function (exec) {
|
21
|
+
try {
|
22
|
+
return !!exec();
|
23
|
+
} catch (error) {
|
24
|
+
return true;
|
25
|
+
}
|
26
|
+
};
|
27
|
+
|
28
|
+
var fails$8 = fails$9;
|
29
|
+
|
30
|
+
// Detect IE8's incomplete defineProperty implementation
|
31
|
+
var descriptors = !fails$8(function () {
|
32
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
33
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
34
|
+
});
|
35
|
+
|
36
|
+
var fails$7 = fails$9;
|
37
|
+
|
38
|
+
var functionBindNative = !fails$7(function () {
|
39
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
40
|
+
var test = (function () { /* empty */ }).bind();
|
41
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
42
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
43
|
+
});
|
44
|
+
|
45
|
+
var NATIVE_BIND$1 = functionBindNative;
|
46
|
+
|
47
|
+
var call$5 = Function.prototype.call;
|
48
|
+
|
49
|
+
var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
|
50
|
+
return call$5.apply(call$5, arguments);
|
51
|
+
};
|
52
|
+
|
53
|
+
var objectPropertyIsEnumerable = {};
|
54
|
+
|
55
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
56
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
57
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
58
|
+
|
59
|
+
// Nashorn ~ JDK8 bug
|
60
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
61
|
+
|
62
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
63
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
64
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
65
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
66
|
+
return !!descriptor && descriptor.enumerable;
|
67
|
+
} : $propertyIsEnumerable;
|
68
|
+
|
69
|
+
var createPropertyDescriptor$2 = function (bitmap, value) {
|
70
|
+
return {
|
71
|
+
enumerable: !(bitmap & 1),
|
72
|
+
configurable: !(bitmap & 2),
|
73
|
+
writable: !(bitmap & 4),
|
74
|
+
value: value
|
75
|
+
};
|
76
|
+
};
|
77
|
+
|
78
|
+
var NATIVE_BIND = functionBindNative;
|
79
|
+
|
80
|
+
var FunctionPrototype$1 = Function.prototype;
|
81
|
+
var call$4 = FunctionPrototype$1.call;
|
82
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
|
83
|
+
|
84
|
+
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
85
|
+
return function () {
|
86
|
+
return call$4.apply(fn, arguments);
|
87
|
+
};
|
88
|
+
};
|
89
|
+
|
90
|
+
var uncurryThis$9 = functionUncurryThis;
|
91
|
+
|
92
|
+
var toString$1 = uncurryThis$9({}.toString);
|
93
|
+
var stringSlice$1 = uncurryThis$9(''.slice);
|
94
|
+
|
95
|
+
var classofRaw = function (it) {
|
96
|
+
return stringSlice$1(toString$1(it), 8, -1);
|
97
|
+
};
|
98
|
+
|
99
|
+
var uncurryThis$8 = functionUncurryThis;
|
100
|
+
var fails$6 = fails$9;
|
101
|
+
var classof = classofRaw;
|
102
|
+
|
103
|
+
var $Object$2 = Object;
|
104
|
+
var split = uncurryThis$8(''.split);
|
105
|
+
|
106
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
107
|
+
var indexedObject = fails$6(function () {
|
108
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
109
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
110
|
+
return !$Object$2('z').propertyIsEnumerable(0);
|
111
|
+
}) ? function (it) {
|
112
|
+
return classof(it) == 'String' ? split(it, '') : $Object$2(it);
|
113
|
+
} : $Object$2;
|
114
|
+
|
115
|
+
// we can't use just `it == null` since of `document.all` special case
|
116
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
117
|
+
var isNullOrUndefined$2 = function (it) {
|
118
|
+
return it === null || it === undefined;
|
119
|
+
};
|
120
|
+
|
121
|
+
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
122
|
+
|
123
|
+
var $TypeError$5 = TypeError;
|
124
|
+
|
125
|
+
// `RequireObjectCoercible` abstract operation
|
126
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
127
|
+
var requireObjectCoercible$2 = function (it) {
|
128
|
+
if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
|
129
|
+
return it;
|
130
|
+
};
|
131
|
+
|
132
|
+
// toObject with fallback for non-array-like ES3 strings
|
133
|
+
var IndexedObject$1 = indexedObject;
|
134
|
+
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
135
|
+
|
136
|
+
var toIndexedObject$3 = function (it) {
|
137
|
+
return IndexedObject$1(requireObjectCoercible$1(it));
|
138
|
+
};
|
139
|
+
|
140
|
+
var documentAll$2 = typeof document == 'object' && document.all;
|
141
|
+
|
142
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
143
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
144
|
+
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
145
|
+
|
146
|
+
var documentAll_1 = {
|
147
|
+
all: documentAll$2,
|
148
|
+
IS_HTMLDDA: IS_HTMLDDA
|
149
|
+
};
|
150
|
+
|
151
|
+
var $documentAll$1 = documentAll_1;
|
152
|
+
|
153
|
+
var documentAll$1 = $documentAll$1.all;
|
154
|
+
|
155
|
+
// `IsCallable` abstract operation
|
156
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
157
|
+
var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
158
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
159
|
+
} : function (argument) {
|
160
|
+
return typeof argument == 'function';
|
161
|
+
};
|
162
|
+
|
163
|
+
var isCallable$9 = isCallable$a;
|
164
|
+
var $documentAll = documentAll_1;
|
165
|
+
|
166
|
+
var documentAll = $documentAll.all;
|
167
|
+
|
168
|
+
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
169
|
+
return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
|
170
|
+
} : function (it) {
|
171
|
+
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
172
|
+
};
|
173
|
+
|
174
|
+
var global$a = global$b;
|
175
|
+
var isCallable$8 = isCallable$a;
|
176
|
+
|
177
|
+
var aFunction = function (argument) {
|
178
|
+
return isCallable$8(argument) ? argument : undefined;
|
179
|
+
};
|
180
|
+
|
181
|
+
var getBuiltIn$2 = function (namespace, method) {
|
182
|
+
return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
|
183
|
+
};
|
184
|
+
|
185
|
+
var uncurryThis$7 = functionUncurryThis;
|
186
|
+
|
187
|
+
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
|
188
|
+
|
189
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
190
|
+
|
191
|
+
var global$9 = global$b;
|
192
|
+
var userAgent = engineUserAgent;
|
193
|
+
|
194
|
+
var process$1 = global$9.process;
|
195
|
+
var Deno = global$9.Deno;
|
196
|
+
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
197
|
+
var v8 = versions && versions.v8;
|
198
|
+
var match, version;
|
199
|
+
|
200
|
+
if (v8) {
|
201
|
+
match = v8.split('.');
|
202
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
203
|
+
// but their correct versions are not interesting for us
|
204
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
205
|
+
}
|
206
|
+
|
207
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
208
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
209
|
+
if (!version && userAgent) {
|
210
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
211
|
+
if (!match || match[1] >= 74) {
|
212
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
213
|
+
if (match) version = +match[1];
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
var engineV8Version = version;
|
218
|
+
|
219
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
220
|
+
|
221
|
+
var V8_VERSION = engineV8Version;
|
222
|
+
var fails$5 = fails$9;
|
223
|
+
var global$8 = global$b;
|
224
|
+
|
225
|
+
var $String$3 = global$8.String;
|
226
|
+
|
227
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
228
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
229
|
+
var symbol = Symbol();
|
230
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
231
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
232
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
233
|
+
// of course, fail.
|
234
|
+
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
235
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
236
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
237
|
+
});
|
238
|
+
|
239
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
240
|
+
|
241
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
242
|
+
|
243
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
244
|
+
&& !Symbol.sham
|
245
|
+
&& typeof Symbol.iterator == 'symbol';
|
246
|
+
|
247
|
+
var getBuiltIn$1 = getBuiltIn$2;
|
248
|
+
var isCallable$7 = isCallable$a;
|
249
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
250
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
251
|
+
|
252
|
+
var $Object$1 = Object;
|
253
|
+
|
254
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
255
|
+
return typeof it == 'symbol';
|
256
|
+
} : function (it) {
|
257
|
+
var $Symbol = getBuiltIn$1('Symbol');
|
258
|
+
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
259
|
+
};
|
260
|
+
|
261
|
+
var $String$2 = String;
|
262
|
+
|
263
|
+
var tryToString$1 = function (argument) {
|
264
|
+
try {
|
265
|
+
return $String$2(argument);
|
266
|
+
} catch (error) {
|
267
|
+
return 'Object';
|
268
|
+
}
|
269
|
+
};
|
270
|
+
|
271
|
+
var isCallable$6 = isCallable$a;
|
272
|
+
var tryToString = tryToString$1;
|
273
|
+
|
274
|
+
var $TypeError$4 = TypeError;
|
275
|
+
|
276
|
+
// `Assert: IsCallable(argument) is true`
|
277
|
+
var aCallable$1 = function (argument) {
|
278
|
+
if (isCallable$6(argument)) return argument;
|
279
|
+
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
280
|
+
};
|
281
|
+
|
282
|
+
var aCallable = aCallable$1;
|
283
|
+
var isNullOrUndefined = isNullOrUndefined$2;
|
284
|
+
|
285
|
+
// `GetMethod` abstract operation
|
286
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
287
|
+
var getMethod$1 = function (V, P) {
|
288
|
+
var func = V[P];
|
289
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
290
|
+
};
|
291
|
+
|
292
|
+
var call$3 = functionCall;
|
293
|
+
var isCallable$5 = isCallable$a;
|
294
|
+
var isObject$4 = isObject$5;
|
295
|
+
|
296
|
+
var $TypeError$3 = TypeError;
|
297
|
+
|
298
|
+
// `OrdinaryToPrimitive` abstract operation
|
299
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
300
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
301
|
+
var fn, val;
|
302
|
+
if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
303
|
+
if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
|
304
|
+
if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
305
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
306
|
+
};
|
307
|
+
|
308
|
+
var shared$3 = {exports: {}};
|
309
|
+
|
310
|
+
var global$7 = global$b;
|
311
|
+
|
312
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
313
|
+
var defineProperty$2 = Object.defineProperty;
|
314
|
+
|
315
|
+
var defineGlobalProperty$3 = function (key, value) {
|
316
|
+
try {
|
317
|
+
defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
|
318
|
+
} catch (error) {
|
319
|
+
global$7[key] = value;
|
320
|
+
} return value;
|
321
|
+
};
|
322
|
+
|
323
|
+
var global$6 = global$b;
|
324
|
+
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
325
|
+
|
326
|
+
var SHARED = '__core-js_shared__';
|
327
|
+
var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
328
|
+
|
329
|
+
var sharedStore = store$3;
|
330
|
+
|
331
|
+
var store$2 = sharedStore;
|
332
|
+
|
333
|
+
(shared$3.exports = function (key, value) {
|
334
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
335
|
+
})('versions', []).push({
|
336
|
+
version: '3.30.2',
|
337
|
+
mode: 'global',
|
338
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
339
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
340
|
+
source: 'https://github.com/zloirock/core-js'
|
341
|
+
});
|
342
|
+
|
343
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
344
|
+
|
345
|
+
var $Object = Object;
|
346
|
+
|
347
|
+
// `ToObject` abstract operation
|
348
|
+
// https://tc39.es/ecma262/#sec-toobject
|
349
|
+
var toObject$3 = function (argument) {
|
350
|
+
return $Object(requireObjectCoercible(argument));
|
351
|
+
};
|
352
|
+
|
353
|
+
var uncurryThis$6 = functionUncurryThis;
|
354
|
+
var toObject$2 = toObject$3;
|
355
|
+
|
356
|
+
var hasOwnProperty$1 = uncurryThis$6({}.hasOwnProperty);
|
357
|
+
|
358
|
+
// `HasOwnProperty` abstract operation
|
359
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
360
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
361
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
362
|
+
return hasOwnProperty$1(toObject$2(it), key);
|
363
|
+
};
|
364
|
+
|
365
|
+
var uncurryThis$5 = functionUncurryThis;
|
366
|
+
|
367
|
+
var id = 0;
|
368
|
+
var postfix = Math.random();
|
369
|
+
var toString = uncurryThis$5(1.0.toString);
|
370
|
+
|
371
|
+
var uid$2 = function (key) {
|
372
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
373
|
+
};
|
374
|
+
|
375
|
+
var global$5 = global$b;
|
376
|
+
var shared$2 = shared$3.exports;
|
377
|
+
var hasOwn$6 = hasOwnProperty_1;
|
378
|
+
var uid$1 = uid$2;
|
379
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
380
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
381
|
+
|
382
|
+
var Symbol$1 = global$5.Symbol;
|
383
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
384
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
385
|
+
|
386
|
+
var wellKnownSymbol$1 = function (name) {
|
387
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name)) {
|
388
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
|
389
|
+
? Symbol$1[name]
|
390
|
+
: createWellKnownSymbol('Symbol.' + name);
|
391
|
+
} return WellKnownSymbolsStore[name];
|
392
|
+
};
|
393
|
+
|
394
|
+
var call$2 = functionCall;
|
395
|
+
var isObject$3 = isObject$5;
|
396
|
+
var isSymbol$1 = isSymbol$2;
|
397
|
+
var getMethod = getMethod$1;
|
398
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
399
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
400
|
+
|
401
|
+
var $TypeError$2 = TypeError;
|
402
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
403
|
+
|
404
|
+
// `ToPrimitive` abstract operation
|
405
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
406
|
+
var toPrimitive$1 = function (input, pref) {
|
407
|
+
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
408
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
409
|
+
var result;
|
410
|
+
if (exoticToPrim) {
|
411
|
+
if (pref === undefined) pref = 'default';
|
412
|
+
result = call$2(exoticToPrim, input, pref);
|
413
|
+
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
414
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
415
|
+
}
|
416
|
+
if (pref === undefined) pref = 'number';
|
417
|
+
return ordinaryToPrimitive(input, pref);
|
418
|
+
};
|
419
|
+
|
420
|
+
var toPrimitive = toPrimitive$1;
|
421
|
+
var isSymbol = isSymbol$2;
|
422
|
+
|
423
|
+
// `ToPropertyKey` abstract operation
|
424
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
425
|
+
var toPropertyKey$2 = function (argument) {
|
426
|
+
var key = toPrimitive(argument, 'string');
|
427
|
+
return isSymbol(key) ? key : key + '';
|
428
|
+
};
|
429
|
+
|
430
|
+
var global$4 = global$b;
|
431
|
+
var isObject$2 = isObject$5;
|
432
|
+
|
433
|
+
var document$1 = global$4.document;
|
434
|
+
// typeof document.createElement is 'object' in old IE
|
435
|
+
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
436
|
+
|
437
|
+
var documentCreateElement = function (it) {
|
438
|
+
return EXISTS$1 ? document$1.createElement(it) : {};
|
439
|
+
};
|
440
|
+
|
441
|
+
var DESCRIPTORS$7 = descriptors;
|
442
|
+
var fails$4 = fails$9;
|
443
|
+
var createElement = documentCreateElement;
|
444
|
+
|
445
|
+
// Thanks to IE8 for its funny defineProperty
|
446
|
+
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
447
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
448
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
449
|
+
get: function () { return 7; }
|
450
|
+
}).a != 7;
|
451
|
+
});
|
452
|
+
|
453
|
+
var DESCRIPTORS$6 = descriptors;
|
454
|
+
var call$1 = functionCall;
|
455
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
456
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
457
|
+
var toIndexedObject$2 = toIndexedObject$3;
|
458
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
459
|
+
var hasOwn$5 = hasOwnProperty_1;
|
460
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
461
|
+
|
462
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
463
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
464
|
+
|
465
|
+
// `Object.getOwnPropertyDescriptor` method
|
466
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
467
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
468
|
+
O = toIndexedObject$2(O);
|
469
|
+
P = toPropertyKey$1(P);
|
470
|
+
if (IE8_DOM_DEFINE$1) try {
|
471
|
+
return $getOwnPropertyDescriptor$1(O, P);
|
472
|
+
} catch (error) { /* empty */ }
|
473
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
474
|
+
};
|
475
|
+
|
476
|
+
var objectDefineProperty = {};
|
477
|
+
|
478
|
+
var DESCRIPTORS$5 = descriptors;
|
479
|
+
var fails$3 = fails$9;
|
480
|
+
|
481
|
+
// V8 ~ Chrome 36-
|
482
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
483
|
+
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
484
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
485
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
486
|
+
value: 42,
|
487
|
+
writable: false
|
488
|
+
}).prototype != 42;
|
489
|
+
});
|
490
|
+
|
491
|
+
var isObject$1 = isObject$5;
|
492
|
+
|
493
|
+
var $String$1 = String;
|
494
|
+
var $TypeError$1 = TypeError;
|
495
|
+
|
496
|
+
// `Assert: Type(argument) is Object`
|
497
|
+
var anObject$2 = function (argument) {
|
498
|
+
if (isObject$1(argument)) return argument;
|
499
|
+
throw $TypeError$1($String$1(argument) + ' is not an object');
|
500
|
+
};
|
501
|
+
|
502
|
+
var DESCRIPTORS$4 = descriptors;
|
503
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
504
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
505
|
+
var anObject$1 = anObject$2;
|
506
|
+
var toPropertyKey = toPropertyKey$2;
|
507
|
+
|
508
|
+
var $TypeError = TypeError;
|
509
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
510
|
+
var $defineProperty = Object.defineProperty;
|
511
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
512
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
513
|
+
var ENUMERABLE = 'enumerable';
|
514
|
+
var CONFIGURABLE$1 = 'configurable';
|
515
|
+
var WRITABLE = 'writable';
|
516
|
+
|
517
|
+
// `Object.defineProperty` method
|
518
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
519
|
+
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
520
|
+
anObject$1(O);
|
521
|
+
P = toPropertyKey(P);
|
522
|
+
anObject$1(Attributes);
|
523
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
524
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
525
|
+
if (current && current[WRITABLE]) {
|
526
|
+
O[P] = Attributes.value;
|
527
|
+
Attributes = {
|
528
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
529
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
530
|
+
writable: false
|
531
|
+
};
|
532
|
+
}
|
533
|
+
} return $defineProperty(O, P, Attributes);
|
534
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
535
|
+
anObject$1(O);
|
536
|
+
P = toPropertyKey(P);
|
537
|
+
anObject$1(Attributes);
|
538
|
+
if (IE8_DOM_DEFINE) try {
|
539
|
+
return $defineProperty(O, P, Attributes);
|
540
|
+
} catch (error) { /* empty */ }
|
541
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
542
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
543
|
+
return O;
|
544
|
+
};
|
545
|
+
|
546
|
+
var DESCRIPTORS$3 = descriptors;
|
547
|
+
var definePropertyModule$2 = objectDefineProperty;
|
548
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
549
|
+
|
550
|
+
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
551
|
+
return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
|
552
|
+
} : function (object, key, value) {
|
553
|
+
object[key] = value;
|
554
|
+
return object;
|
555
|
+
};
|
556
|
+
|
557
|
+
var makeBuiltIn$2 = {exports: {}};
|
558
|
+
|
559
|
+
var DESCRIPTORS$2 = descriptors;
|
560
|
+
var hasOwn$4 = hasOwnProperty_1;
|
561
|
+
|
562
|
+
var FunctionPrototype = Function.prototype;
|
563
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
564
|
+
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
565
|
+
|
566
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
567
|
+
// additional protection from minified / mangled / dropped function names
|
568
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
569
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
570
|
+
|
571
|
+
var functionName = {
|
572
|
+
EXISTS: EXISTS,
|
573
|
+
PROPER: PROPER,
|
574
|
+
CONFIGURABLE: CONFIGURABLE
|
575
|
+
};
|
576
|
+
|
577
|
+
var uncurryThis$4 = functionUncurryThis;
|
578
|
+
var isCallable$4 = isCallable$a;
|
579
|
+
var store$1 = sharedStore;
|
580
|
+
|
581
|
+
var functionToString = uncurryThis$4(Function.toString);
|
582
|
+
|
583
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
584
|
+
if (!isCallable$4(store$1.inspectSource)) {
|
585
|
+
store$1.inspectSource = function (it) {
|
586
|
+
return functionToString(it);
|
587
|
+
};
|
588
|
+
}
|
589
|
+
|
590
|
+
var inspectSource$1 = store$1.inspectSource;
|
591
|
+
|
592
|
+
var global$3 = global$b;
|
593
|
+
var isCallable$3 = isCallable$a;
|
594
|
+
|
595
|
+
var WeakMap$1 = global$3.WeakMap;
|
596
|
+
|
597
|
+
var weakMapBasicDetection = isCallable$3(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
598
|
+
|
599
|
+
var shared$1 = shared$3.exports;
|
600
|
+
var uid = uid$2;
|
601
|
+
|
602
|
+
var keys = shared$1('keys');
|
603
|
+
|
604
|
+
var sharedKey$1 = function (key) {
|
605
|
+
return keys[key] || (keys[key] = uid(key));
|
606
|
+
};
|
607
|
+
|
608
|
+
var hiddenKeys$3 = {};
|
609
|
+
|
610
|
+
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
611
|
+
var global$2 = global$b;
|
612
|
+
var isObject = isObject$5;
|
613
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
614
|
+
var hasOwn$3 = hasOwnProperty_1;
|
615
|
+
var shared = sharedStore;
|
616
|
+
var sharedKey = sharedKey$1;
|
617
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
618
|
+
|
619
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
620
|
+
var TypeError$1 = global$2.TypeError;
|
621
|
+
var WeakMap = global$2.WeakMap;
|
622
|
+
var set, get, has$3;
|
623
|
+
|
624
|
+
var enforce = function (it) {
|
625
|
+
return has$3(it) ? get(it) : set(it, {});
|
626
|
+
};
|
627
|
+
|
628
|
+
var getterFor = function (TYPE) {
|
629
|
+
return function (it) {
|
630
|
+
var state;
|
631
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
632
|
+
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
633
|
+
} return state;
|
634
|
+
};
|
635
|
+
};
|
636
|
+
|
637
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
638
|
+
var store = shared.state || (shared.state = new WeakMap());
|
639
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
640
|
+
store.get = store.get;
|
641
|
+
store.has = store.has;
|
642
|
+
store.set = store.set;
|
643
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
644
|
+
set = function (it, metadata) {
|
645
|
+
if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
646
|
+
metadata.facade = it;
|
647
|
+
store.set(it, metadata);
|
648
|
+
return metadata;
|
649
|
+
};
|
650
|
+
get = function (it) {
|
651
|
+
return store.get(it) || {};
|
652
|
+
};
|
653
|
+
has$3 = function (it) {
|
654
|
+
return store.has(it);
|
655
|
+
};
|
656
|
+
} else {
|
657
|
+
var STATE = sharedKey('state');
|
658
|
+
hiddenKeys$2[STATE] = true;
|
659
|
+
set = function (it, metadata) {
|
660
|
+
if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
661
|
+
metadata.facade = it;
|
662
|
+
createNonEnumerableProperty$1(it, STATE, metadata);
|
663
|
+
return metadata;
|
664
|
+
};
|
665
|
+
get = function (it) {
|
666
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
667
|
+
};
|
668
|
+
has$3 = function (it) {
|
669
|
+
return hasOwn$3(it, STATE);
|
670
|
+
};
|
671
|
+
}
|
672
|
+
|
673
|
+
var internalState = {
|
674
|
+
set: set,
|
675
|
+
get: get,
|
676
|
+
has: has$3,
|
677
|
+
enforce: enforce,
|
678
|
+
getterFor: getterFor
|
679
|
+
};
|
680
|
+
|
681
|
+
var uncurryThis$3 = functionUncurryThis;
|
682
|
+
var fails$2 = fails$9;
|
683
|
+
var isCallable$2 = isCallable$a;
|
684
|
+
var hasOwn$2 = hasOwnProperty_1;
|
685
|
+
var DESCRIPTORS$1 = descriptors;
|
686
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
687
|
+
var inspectSource = inspectSource$1;
|
688
|
+
var InternalStateModule = internalState;
|
689
|
+
|
690
|
+
var enforceInternalState = InternalStateModule.enforce;
|
691
|
+
var getInternalState = InternalStateModule.get;
|
692
|
+
var $String = String;
|
693
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
694
|
+
var defineProperty$1 = Object.defineProperty;
|
695
|
+
var stringSlice = uncurryThis$3(''.slice);
|
696
|
+
var replace = uncurryThis$3(''.replace);
|
697
|
+
var join = uncurryThis$3([].join);
|
698
|
+
|
699
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
|
700
|
+
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
701
|
+
});
|
702
|
+
|
703
|
+
var TEMPLATE = String(String).split('String');
|
704
|
+
|
705
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
706
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
707
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
708
|
+
}
|
709
|
+
if (options && options.getter) name = 'get ' + name;
|
710
|
+
if (options && options.setter) name = 'set ' + name;
|
711
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
712
|
+
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
713
|
+
else value.name = name;
|
714
|
+
}
|
715
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
716
|
+
defineProperty$1(value, 'length', { value: options.arity });
|
717
|
+
}
|
718
|
+
try {
|
719
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
720
|
+
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
721
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
722
|
+
} else if (value.prototype) value.prototype = undefined;
|
723
|
+
} catch (error) { /* empty */ }
|
724
|
+
var state = enforceInternalState(value);
|
725
|
+
if (!hasOwn$2(state, 'source')) {
|
726
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
727
|
+
} return value;
|
728
|
+
};
|
729
|
+
|
730
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
731
|
+
// eslint-disable-next-line no-extend-native -- required
|
732
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
733
|
+
return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
|
734
|
+
}, 'toString');
|
735
|
+
|
736
|
+
var isCallable$1 = isCallable$a;
|
737
|
+
var definePropertyModule$1 = objectDefineProperty;
|
738
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
739
|
+
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
740
|
+
|
741
|
+
var defineBuiltIn$1 = function (O, key, value, options) {
|
742
|
+
if (!options) options = {};
|
743
|
+
var simple = options.enumerable;
|
744
|
+
var name = options.name !== undefined ? options.name : key;
|
745
|
+
if (isCallable$1(value)) makeBuiltIn(value, name, options);
|
746
|
+
if (options.global) {
|
747
|
+
if (simple) O[key] = value;
|
748
|
+
else defineGlobalProperty$1(key, value);
|
749
|
+
} else {
|
750
|
+
try {
|
751
|
+
if (!options.unsafe) delete O[key];
|
752
|
+
else if (O[key]) simple = true;
|
753
|
+
} catch (error) { /* empty */ }
|
754
|
+
if (simple) O[key] = value;
|
755
|
+
else definePropertyModule$1.f(O, key, {
|
756
|
+
value: value,
|
757
|
+
enumerable: false,
|
758
|
+
configurable: !options.nonConfigurable,
|
759
|
+
writable: !options.nonWritable
|
760
|
+
});
|
761
|
+
} return O;
|
762
|
+
};
|
763
|
+
|
764
|
+
var objectGetOwnPropertyNames = {};
|
765
|
+
|
766
|
+
var ceil = Math.ceil;
|
767
|
+
var floor = Math.floor;
|
768
|
+
|
769
|
+
// `Math.trunc` method
|
770
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
771
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
772
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
773
|
+
var n = +x;
|
774
|
+
return (n > 0 ? floor : ceil)(n);
|
775
|
+
};
|
776
|
+
|
777
|
+
var trunc = mathTrunc;
|
778
|
+
|
779
|
+
// `ToIntegerOrInfinity` abstract operation
|
780
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
781
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
782
|
+
var number = +argument;
|
783
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
784
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
785
|
+
};
|
786
|
+
|
787
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
788
|
+
|
789
|
+
var max = Math.max;
|
790
|
+
var min$1 = Math.min;
|
791
|
+
|
792
|
+
// Helper for a popular repeating case of the spec:
|
793
|
+
// Let integer be ? ToInteger(index).
|
794
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
795
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
796
|
+
var integer = toIntegerOrInfinity$1(index);
|
797
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
798
|
+
};
|
799
|
+
|
800
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
801
|
+
|
802
|
+
var min = Math.min;
|
803
|
+
|
804
|
+
// `ToLength` abstract operation
|
805
|
+
// https://tc39.es/ecma262/#sec-tolength
|
806
|
+
var toLength$1 = function (argument) {
|
807
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
808
|
+
};
|
809
|
+
|
810
|
+
var toLength = toLength$1;
|
811
|
+
|
812
|
+
// `LengthOfArrayLike` abstract operation
|
813
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
814
|
+
var lengthOfArrayLike$1 = function (obj) {
|
815
|
+
return toLength(obj.length);
|
816
|
+
};
|
817
|
+
|
818
|
+
var toIndexedObject$1 = toIndexedObject$3;
|
819
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
820
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
821
|
+
|
822
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
823
|
+
var createMethod = function (IS_INCLUDES) {
|
824
|
+
return function ($this, el, fromIndex) {
|
825
|
+
var O = toIndexedObject$1($this);
|
826
|
+
var length = lengthOfArrayLike(O);
|
827
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
828
|
+
var value;
|
829
|
+
// Array#includes uses SameValueZero equality algorithm
|
830
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
831
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
832
|
+
value = O[index++];
|
833
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
834
|
+
if (value != value) return true;
|
835
|
+
// Array#indexOf ignores holes, Array#includes - not
|
836
|
+
} else for (;length > index; index++) {
|
837
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
838
|
+
} return !IS_INCLUDES && -1;
|
839
|
+
};
|
840
|
+
};
|
841
|
+
|
842
|
+
var arrayIncludes = {
|
843
|
+
// `Array.prototype.includes` method
|
844
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
845
|
+
includes: createMethod(true),
|
846
|
+
// `Array.prototype.indexOf` method
|
847
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
848
|
+
indexOf: createMethod(false)
|
849
|
+
};
|
850
|
+
|
851
|
+
var uncurryThis$2 = functionUncurryThis;
|
852
|
+
var hasOwn$1 = hasOwnProperty_1;
|
853
|
+
var toIndexedObject = toIndexedObject$3;
|
854
|
+
var indexOf = arrayIncludes.indexOf;
|
855
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
856
|
+
|
857
|
+
var push = uncurryThis$2([].push);
|
858
|
+
|
859
|
+
var objectKeysInternal = function (object, names) {
|
860
|
+
var O = toIndexedObject(object);
|
861
|
+
var i = 0;
|
862
|
+
var result = [];
|
863
|
+
var key;
|
864
|
+
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
865
|
+
// Don't enum bug & hidden keys
|
866
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
867
|
+
~indexOf(result, key) || push(result, key);
|
868
|
+
}
|
869
|
+
return result;
|
870
|
+
};
|
871
|
+
|
872
|
+
// IE8- don't enum bug keys
|
873
|
+
var enumBugKeys$2 = [
|
874
|
+
'constructor',
|
875
|
+
'hasOwnProperty',
|
876
|
+
'isPrototypeOf',
|
877
|
+
'propertyIsEnumerable',
|
878
|
+
'toLocaleString',
|
879
|
+
'toString',
|
880
|
+
'valueOf'
|
881
|
+
];
|
882
|
+
|
883
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
884
|
+
var enumBugKeys$1 = enumBugKeys$2;
|
885
|
+
|
886
|
+
var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
|
887
|
+
|
888
|
+
// `Object.getOwnPropertyNames` method
|
889
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
890
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
891
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
892
|
+
return internalObjectKeys$1(O, hiddenKeys);
|
893
|
+
};
|
894
|
+
|
895
|
+
var objectGetOwnPropertySymbols = {};
|
896
|
+
|
897
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
898
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
899
|
+
|
900
|
+
var getBuiltIn = getBuiltIn$2;
|
901
|
+
var uncurryThis$1 = functionUncurryThis;
|
902
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
903
|
+
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
904
|
+
var anObject = anObject$2;
|
905
|
+
|
906
|
+
var concat$1 = uncurryThis$1([].concat);
|
907
|
+
|
908
|
+
// all object keys, includes non-enumerable and symbols
|
909
|
+
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
910
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
911
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
912
|
+
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
913
|
+
};
|
914
|
+
|
915
|
+
var hasOwn = hasOwnProperty_1;
|
916
|
+
var ownKeys = ownKeys$1;
|
917
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
918
|
+
var definePropertyModule = objectDefineProperty;
|
919
|
+
|
920
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
921
|
+
var keys = ownKeys(source);
|
922
|
+
var defineProperty = definePropertyModule.f;
|
923
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
924
|
+
for (var i = 0; i < keys.length; i++) {
|
925
|
+
var key = keys[i];
|
926
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
927
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
928
|
+
}
|
929
|
+
}
|
930
|
+
};
|
931
|
+
|
932
|
+
var fails$1 = fails$9;
|
933
|
+
var isCallable = isCallable$a;
|
934
|
+
|
935
|
+
var replacement = /#|\.prototype\./;
|
936
|
+
|
937
|
+
var isForced$1 = function (feature, detection) {
|
938
|
+
var value = data[normalize(feature)];
|
939
|
+
return value == POLYFILL ? true
|
940
|
+
: value == NATIVE ? false
|
941
|
+
: isCallable(detection) ? fails$1(detection)
|
942
|
+
: !!detection;
|
943
|
+
};
|
944
|
+
|
945
|
+
var normalize = isForced$1.normalize = function (string) {
|
946
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
947
|
+
};
|
948
|
+
|
949
|
+
var data = isForced$1.data = {};
|
950
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
951
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
952
|
+
|
953
|
+
var isForced_1 = isForced$1;
|
954
|
+
|
955
|
+
var global$1 = global$b;
|
956
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
957
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
958
|
+
var defineBuiltIn = defineBuiltIn$1;
|
959
|
+
var defineGlobalProperty = defineGlobalProperty$3;
|
960
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
961
|
+
var isForced = isForced_1;
|
962
|
+
|
963
|
+
/*
|
964
|
+
options.target - name of the target object
|
965
|
+
options.global - target is the global object
|
966
|
+
options.stat - export as static methods of target
|
967
|
+
options.proto - export as prototype methods of target
|
968
|
+
options.real - real prototype method for the `pure` version
|
969
|
+
options.forced - export even if the native feature is available
|
970
|
+
options.bind - bind methods to the target, required for the `pure` version
|
971
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
972
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
973
|
+
options.sham - add a flag to not completely full polyfills
|
974
|
+
options.enumerable - export as enumerable property
|
975
|
+
options.dontCallGetSet - prevent calling a getter on target
|
976
|
+
options.name - the .name of the function if it does not match the key
|
977
|
+
*/
|
978
|
+
var _export = function (options, source) {
|
979
|
+
var TARGET = options.target;
|
980
|
+
var GLOBAL = options.global;
|
981
|
+
var STATIC = options.stat;
|
982
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
983
|
+
if (GLOBAL) {
|
984
|
+
target = global$1;
|
985
|
+
} else if (STATIC) {
|
986
|
+
target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
|
987
|
+
} else {
|
988
|
+
target = (global$1[TARGET] || {}).prototype;
|
989
|
+
}
|
990
|
+
if (target) for (key in source) {
|
991
|
+
sourceProperty = source[key];
|
992
|
+
if (options.dontCallGetSet) {
|
993
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
994
|
+
targetProperty = descriptor && descriptor.value;
|
995
|
+
} else targetProperty = target[key];
|
996
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
997
|
+
// contained in target
|
998
|
+
if (!FORCED && targetProperty !== undefined) {
|
999
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
1000
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
1001
|
+
}
|
1002
|
+
// add a flag to not completely full polyfills
|
1003
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1004
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1005
|
+
}
|
1006
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1007
|
+
}
|
1008
|
+
};
|
1009
|
+
|
1010
|
+
var internalObjectKeys = objectKeysInternal;
|
1011
|
+
var enumBugKeys = enumBugKeys$2;
|
1012
|
+
|
1013
|
+
// `Object.keys` method
|
1014
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
1015
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
1016
|
+
var objectKeys$1 = Object.keys || function keys(O) {
|
1017
|
+
return internalObjectKeys(O, enumBugKeys);
|
1018
|
+
};
|
1019
|
+
|
1020
|
+
var DESCRIPTORS = descriptors;
|
1021
|
+
var uncurryThis = functionUncurryThis;
|
1022
|
+
var call = functionCall;
|
1023
|
+
var fails = fails$9;
|
1024
|
+
var objectKeys = objectKeys$1;
|
1025
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
1026
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
1027
|
+
var toObject$1 = toObject$3;
|
1028
|
+
var IndexedObject = indexedObject;
|
1029
|
+
|
1030
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
1031
|
+
var $assign = Object.assign;
|
1032
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1033
|
+
var defineProperty = Object.defineProperty;
|
1034
|
+
var concat = uncurryThis([].concat);
|
1035
|
+
|
1036
|
+
// `Object.assign` method
|
1037
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
1038
|
+
var objectAssign$1 = !$assign || fails(function () {
|
1039
|
+
// should have correct order of operations (Edge bug)
|
1040
|
+
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
1041
|
+
enumerable: true,
|
1042
|
+
get: function () {
|
1043
|
+
defineProperty(this, 'b', {
|
1044
|
+
value: 3,
|
1045
|
+
enumerable: false
|
1046
|
+
});
|
1047
|
+
}
|
1048
|
+
}), { b: 2 })).b !== 1) return true;
|
1049
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
1050
|
+
var A = {};
|
1051
|
+
var B = {};
|
1052
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
1053
|
+
var symbol = Symbol();
|
1054
|
+
var alphabet = 'abcdefghijklmnopqrst';
|
1055
|
+
A[symbol] = 7;
|
1056
|
+
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1057
|
+
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
1058
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1059
|
+
var T = toObject$1(target);
|
1060
|
+
var argumentsLength = arguments.length;
|
1061
|
+
var index = 1;
|
1062
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
1063
|
+
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
1064
|
+
while (argumentsLength > index) {
|
1065
|
+
var S = IndexedObject(arguments[index++]);
|
1066
|
+
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
1067
|
+
var length = keys.length;
|
1068
|
+
var j = 0;
|
1069
|
+
var key;
|
1070
|
+
while (length > j) {
|
1071
|
+
key = keys[j++];
|
1072
|
+
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1073
|
+
}
|
1074
|
+
} return T;
|
1075
|
+
} : $assign;
|
1076
|
+
|
1077
|
+
var $ = _export;
|
1078
|
+
var assign$1 = objectAssign$1;
|
1079
|
+
|
1080
|
+
// `Object.assign` method
|
1081
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
1082
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
1083
|
+
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
1084
|
+
assign: assign$1
|
1085
|
+
});
|
2
1086
|
|
3
1087
|
function isPlainObject(item) {
|
4
1088
|
return item !== null && typeof item === 'object' && item.constructor === Object;
|
@@ -3280,10 +4364,15 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
3280
4364
|
}
|
3281
4365
|
|
3282
4366
|
const Componentes = {
|
4367
|
+
MuiDataGrid: {
|
4368
|
+
defaultProps: {
|
4369
|
+
density: "compact"
|
4370
|
+
}
|
4371
|
+
},
|
3283
4372
|
MuiDialog: {
|
3284
4373
|
styleOverrides: {
|
3285
4374
|
root: {
|
3286
|
-
"
|
4375
|
+
".MuiBackdrop-root": {
|
3287
4376
|
backgroundColor: "#f0f0f099",
|
3288
4377
|
backdropFilter: "blur(2px) !important"
|
3289
4378
|
}
|
@@ -3437,6 +4526,9 @@ const Componentes = {
|
|
3437
4526
|
},
|
3438
4527
|
styleOverrides: {
|
3439
4528
|
root: {
|
4529
|
+
"&.MuiInput-underline": {
|
4530
|
+
marginTop: 9
|
4531
|
+
},
|
3440
4532
|
".MuiOutlinedInput-input.MuiInputBase-inputSizeSmall": {
|
3441
4533
|
paddingBlock: 5.95
|
3442
4534
|
},
|
@@ -3490,9 +4582,10 @@ const Componentes = {
|
|
3490
4582
|
styleOverrides: {
|
3491
4583
|
outlined: {
|
3492
4584
|
"&.MuiInputLabel-outlined.MuiInputLabel-sizeSmall ": {
|
3493
|
-
transform: "translate(14px,
|
4585
|
+
transform: "translate(14px,7px) scale(1)"
|
3494
4586
|
},
|
3495
4587
|
"&.MuiInputLabel-outlined ": {
|
4588
|
+
transform: "translate(14px, 15px) scale(1)",
|
3496
4589
|
"&.MuiInputLabel-shrink": {
|
3497
4590
|
transform: "translate(14px, -7px) scale(0.75)"
|
3498
4591
|
}
|
@@ -3716,6 +4809,6 @@ const themeOptions = {
|
|
3716
4809
|
spacing: 8
|
3717
4810
|
};
|
3718
4811
|
|
3719
|
-
const SincoTheme = createTheme(Object.assign({}, themeOptions));
|
4812
|
+
const SincoTheme = override => createTheme(Object.assign({}, themeOptions, override));
|
3720
4813
|
|
3721
4814
|
export { SincoTheme };
|
package/package.json
CHANGED
package/src/lib/Theme/index.d.ts
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
import { ThemeOptions } from '@mui/material/styles';
|
2
|
+
export declare const SincoTheme: (override: ThemeOptions) => import("@mui/material/styles").Theme;
|