tfy-web-components 0.0.5 → 0.0.7

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.
Files changed (115) hide show
  1. package/dist/..d.ts +31 -0
  2. package/dist/Button.d.ts +62 -0
  3. package/dist/CustomDrawer.d.ts +30 -0
  4. package/dist/IconButton.d.ts +15 -0
  5. package/dist/IconProvider.d.ts +39 -0
  6. package/dist/Spinner.d.ts +15 -0
  7. package/dist/Tooltip.d.ts +28 -0
  8. package/dist/animation.d.ts +6 -0
  9. package/dist/backgroundColor.d.ts +5 -0
  10. package/dist/backgroundImage.d.ts +10 -0
  11. package/dist/borderWidth.d.ts +6 -0
  12. package/dist/classNames-f3c6f58e.js +9 -0
  13. package/dist/classNames-f3c6f58e.js.map +1 -0
  14. package/dist/colors.d.ts +191 -0
  15. package/dist/components/atoms/Button.d.ts +42 -0
  16. package/dist/components/atoms/Button.es.js +150 -0
  17. package/dist/components/atoms/Button.es.js.map +1 -0
  18. package/dist/components/atoms/IconButton.d.ts +11 -0
  19. package/dist/components/atoms/IconButton.es.js +23 -0
  20. package/dist/components/atoms/IconButton.es.js.map +1 -0
  21. package/dist/components/atoms/IconProvider.d.ts +29 -0
  22. package/dist/components/atoms/IconProvider.es.js +103 -0
  23. package/dist/components/atoms/IconProvider.es.js.map +1 -0
  24. package/dist/components/atoms/Spinner.d.ts +11 -0
  25. package/dist/components/atoms/Spinner.es.js +28 -0
  26. package/dist/components/atoms/Spinner.es.js.map +1 -0
  27. package/dist/components/atoms/Tooltip.d.ts +21 -0
  28. package/dist/components/atoms/Tooltip.es.js +118 -0
  29. package/dist/components/atoms/Tooltip.es.js.map +1 -0
  30. package/dist/components/molecules/CustomDrawer.d.ts +24 -0
  31. package/dist/components/molecules/CustomDrawer.es.js +114 -0
  32. package/dist/components/molecules/CustomDrawer.es.js.map +1 -0
  33. package/dist/components/theme/animation.d.ts +4 -0
  34. package/dist/components/theme/animation.es.js +8 -0
  35. package/dist/components/theme/animation.es.js.map +1 -0
  36. package/dist/components/theme/backgroundColor.d.ts +3 -0
  37. package/dist/components/theme/backgroundColor.es.js +7 -0
  38. package/dist/components/theme/backgroundColor.es.js.map +1 -0
  39. package/dist/components/theme/backgroundImage.d.ts +8 -0
  40. package/dist/components/theme/backgroundImage.es.js +22 -0
  41. package/dist/components/theme/backgroundImage.es.js.map +1 -0
  42. package/dist/components/theme/borderWidth.d.ts +4 -0
  43. package/dist/components/theme/borderWidth.es.js +8 -0
  44. package/dist/components/theme/borderWidth.es.js.map +1 -0
  45. package/dist/components/theme/colors.d.ts +188 -0
  46. package/dist/components/theme/colors.es.js +194 -0
  47. package/dist/components/theme/colors.es.js.map +1 -0
  48. package/dist/components/theme/cursor.d.ts +3 -0
  49. package/dist/components/theme/cursor.es.js +7 -0
  50. package/dist/components/theme/cursor.es.js.map +1 -0
  51. package/dist/components/theme/dropShadow.d.ts +3 -0
  52. package/dist/components/theme/dropShadow.es.js +7 -0
  53. package/dist/components/theme/dropShadow.es.js.map +1 -0
  54. package/dist/components/theme/flexGrow.d.ts +3 -0
  55. package/dist/components/theme/flexGrow.es.js +7 -0
  56. package/dist/components/theme/flexGrow.es.js.map +1 -0
  57. package/dist/components/theme/fontSize.d.ts +6 -0
  58. package/dist/components/theme/fontSize.es.js +10 -0
  59. package/dist/components/theme/fontSize.es.js.map +1 -0
  60. package/dist/components/theme/height.d.ts +6 -0
  61. package/dist/components/theme/height.es.js +10 -0
  62. package/dist/components/theme/height.es.js.map +1 -0
  63. package/dist/components/theme/index.d.ts +78 -0
  64. package/dist/components/theme/index.es.js +35 -0
  65. package/dist/components/theme/index.es.js.map +1 -0
  66. package/dist/components/theme/keyframes.d.ts +18 -0
  67. package/dist/components/theme/keyframes.es.js +14 -0
  68. package/dist/components/theme/keyframes.es.js.map +1 -0
  69. package/dist/components/theme/lightColorPlugin.js.d.ts +1 -0
  70. package/dist/components/theme/lightColorPlugin.js.es.js +91 -0
  71. package/dist/components/theme/lightColorPlugin.js.es.js.map +1 -0
  72. package/dist/components/theme/maxHeight.d.ts +4 -0
  73. package/dist/components/theme/maxHeight.es.js +8 -0
  74. package/dist/components/theme/maxHeight.es.js.map +1 -0
  75. package/dist/components/theme/screens.d.ts +6 -0
  76. package/dist/components/theme/screens.es.js +10 -0
  77. package/dist/components/theme/screens.es.js.map +1 -0
  78. package/dist/components/theme/tailwindScrollbar.js.d.ts +1 -0
  79. package/dist/components/theme/tailwindScrollbar.js.es.js +81 -0
  80. package/dist/components/theme/tailwindScrollbar.js.es.js.map +1 -0
  81. package/dist/components/theme/theme.d.ts +23 -0
  82. package/dist/components/theme/theme.es.js +128 -0
  83. package/dist/components/theme/theme.es.js.map +1 -0
  84. package/dist/components/theme/transitionProperty.d.ts +4 -0
  85. package/dist/components/theme/transitionProperty.es.js +8 -0
  86. package/dist/components/theme/transitionProperty.es.js.map +1 -0
  87. package/dist/components/theme/useTheme.d.ts +14 -0
  88. package/dist/components/theme/useTheme.es.js +40 -0
  89. package/dist/components/theme/useTheme.es.js.map +1 -0
  90. package/dist/components/theme/utils.d.ts +77 -0
  91. package/dist/components/theme/utils.es.js +762 -0
  92. package/dist/components/theme/utils.es.js.map +1 -0
  93. package/dist/components/theme/zIndex.d.ts +3 -0
  94. package/dist/components/theme/zIndex.es.js +7 -0
  95. package/dist/components/theme/zIndex.es.js.map +1 -0
  96. package/dist/cursor.d.ts +5 -0
  97. package/dist/dropShadow.d.ts +5 -0
  98. package/dist/flexGrow.d.ts +5 -0
  99. package/dist/fontSize.d.ts +8 -0
  100. package/dist/height.d.ts +8 -0
  101. package/dist/index.es.js +13 -0
  102. package/dist/index.es.js.map +1 -0
  103. package/dist/keyframes.d.ts +20 -0
  104. package/dist/lightColorPlugin.js.d.ts +1 -0
  105. package/dist/maxHeight.d.ts +6 -0
  106. package/dist/plugin-06dc459f.js +61 -0
  107. package/dist/plugin-06dc459f.js.map +1 -0
  108. package/dist/screens.d.ts +8 -0
  109. package/dist/tailwindScrollbar.js.d.ts +1 -0
  110. package/dist/theme.d.ts +33 -0
  111. package/dist/transitionProperty.d.ts +6 -0
  112. package/dist/useTheme.d.ts +22 -0
  113. package/dist/utils.d.ts +79 -0
  114. package/dist/zIndex.d.ts +5 -0
  115. package/package.json +1 -1
@@ -0,0 +1,762 @@
1
+ import { defaultTheme } from "./index.es.js";
2
+ import "./animation.es.js";
3
+ import "./backgroundColor.es.js";
4
+ import "./backgroundImage.es.js";
5
+ import "./borderWidth.es.js";
6
+ import "./cursor.es.js";
7
+ import "./dropShadow.es.js";
8
+ import "./flexGrow.es.js";
9
+ import "./fontSize.es.js";
10
+ import "./height.es.js";
11
+ import "./keyframes.es.js";
12
+ import "./maxHeight.es.js";
13
+ import "./screens.es.js";
14
+ import "./transitionProperty.es.js";
15
+ import "./zIndex.es.js";
16
+ function listCacheClear() {
17
+ this.__data__ = [];
18
+ this.size = 0;
19
+ }
20
+ function eq(value, other) {
21
+ return value === other || value !== value && other !== other;
22
+ }
23
+ function assocIndexOf(array, key) {
24
+ var length = array.length;
25
+ while (length--) {
26
+ if (eq(array[length][0], key)) {
27
+ return length;
28
+ }
29
+ }
30
+ return -1;
31
+ }
32
+ var arrayProto = Array.prototype;
33
+ var splice = arrayProto.splice;
34
+ function listCacheDelete(key) {
35
+ var data = this.__data__, index = assocIndexOf(data, key);
36
+ if (index < 0) {
37
+ return false;
38
+ }
39
+ var lastIndex = data.length - 1;
40
+ if (index == lastIndex) {
41
+ data.pop();
42
+ } else {
43
+ splice.call(data, index, 1);
44
+ }
45
+ --this.size;
46
+ return true;
47
+ }
48
+ function listCacheGet(key) {
49
+ var data = this.__data__, index = assocIndexOf(data, key);
50
+ return index < 0 ? void 0 : data[index][1];
51
+ }
52
+ function listCacheHas(key) {
53
+ return assocIndexOf(this.__data__, key) > -1;
54
+ }
55
+ function listCacheSet(key, value) {
56
+ var data = this.__data__, index = assocIndexOf(data, key);
57
+ if (index < 0) {
58
+ ++this.size;
59
+ data.push([key, value]);
60
+ } else {
61
+ data[index][1] = value;
62
+ }
63
+ return this;
64
+ }
65
+ function ListCache(entries) {
66
+ var index = -1, length = entries == null ? 0 : entries.length;
67
+ this.clear();
68
+ while (++index < length) {
69
+ var entry = entries[index];
70
+ this.set(entry[0], entry[1]);
71
+ }
72
+ }
73
+ ListCache.prototype.clear = listCacheClear;
74
+ ListCache.prototype["delete"] = listCacheDelete;
75
+ ListCache.prototype.get = listCacheGet;
76
+ ListCache.prototype.has = listCacheHas;
77
+ ListCache.prototype.set = listCacheSet;
78
+ function stackClear() {
79
+ this.__data__ = new ListCache();
80
+ this.size = 0;
81
+ }
82
+ function stackDelete(key) {
83
+ var data = this.__data__, result = data["delete"](key);
84
+ this.size = data.size;
85
+ return result;
86
+ }
87
+ function stackGet(key) {
88
+ return this.__data__.get(key);
89
+ }
90
+ function stackHas(key) {
91
+ return this.__data__.has(key);
92
+ }
93
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
94
+ const freeGlobal$1 = freeGlobal;
95
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
96
+ var root = freeGlobal$1 || freeSelf || Function("return this")();
97
+ const root$1 = root;
98
+ var Symbol$1 = root$1.Symbol;
99
+ const Symbol$2 = Symbol$1;
100
+ var objectProto$a = Object.prototype;
101
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
102
+ var nativeObjectToString$1 = objectProto$a.toString;
103
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
104
+ function getRawTag(value) {
105
+ var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
106
+ try {
107
+ value[symToStringTag$1] = void 0;
108
+ var unmasked = true;
109
+ } catch (e) {
110
+ }
111
+ var result = nativeObjectToString$1.call(value);
112
+ if (unmasked) {
113
+ if (isOwn) {
114
+ value[symToStringTag$1] = tag;
115
+ } else {
116
+ delete value[symToStringTag$1];
117
+ }
118
+ }
119
+ return result;
120
+ }
121
+ var objectProto$9 = Object.prototype;
122
+ var nativeObjectToString = objectProto$9.toString;
123
+ function objectToString(value) {
124
+ return nativeObjectToString.call(value);
125
+ }
126
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
127
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
128
+ function baseGetTag(value) {
129
+ if (value == null) {
130
+ return value === void 0 ? undefinedTag : nullTag;
131
+ }
132
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
133
+ }
134
+ function isObject(value) {
135
+ var type = typeof value;
136
+ return value != null && (type == "object" || type == "function");
137
+ }
138
+ var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
139
+ function isFunction(value) {
140
+ if (!isObject(value)) {
141
+ return false;
142
+ }
143
+ var tag = baseGetTag(value);
144
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
145
+ }
146
+ var coreJsData = root$1["__core-js_shared__"];
147
+ const coreJsData$1 = coreJsData;
148
+ var maskSrcKey = function() {
149
+ var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || "");
150
+ return uid ? "Symbol(src)_1." + uid : "";
151
+ }();
152
+ function isMasked(func) {
153
+ return !!maskSrcKey && maskSrcKey in func;
154
+ }
155
+ var funcProto$2 = Function.prototype;
156
+ var funcToString$2 = funcProto$2.toString;
157
+ function toSource(func) {
158
+ if (func != null) {
159
+ try {
160
+ return funcToString$2.call(func);
161
+ } catch (e) {
162
+ }
163
+ try {
164
+ return func + "";
165
+ } catch (e) {
166
+ }
167
+ }
168
+ return "";
169
+ }
170
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
171
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
172
+ var funcProto$1 = Function.prototype, objectProto$8 = Object.prototype;
173
+ var funcToString$1 = funcProto$1.toString;
174
+ var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
175
+ var reIsNative = RegExp(
176
+ "^" + funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
177
+ );
178
+ function baseIsNative(value) {
179
+ if (!isObject(value) || isMasked(value)) {
180
+ return false;
181
+ }
182
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
183
+ return pattern.test(toSource(value));
184
+ }
185
+ function getValue(object, key) {
186
+ return object == null ? void 0 : object[key];
187
+ }
188
+ function getNative(object, key) {
189
+ var value = getValue(object, key);
190
+ return baseIsNative(value) ? value : void 0;
191
+ }
192
+ var Map = getNative(root$1, "Map");
193
+ const Map$1 = Map;
194
+ var nativeCreate = getNative(Object, "create");
195
+ const nativeCreate$1 = nativeCreate;
196
+ function hashClear() {
197
+ this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
198
+ this.size = 0;
199
+ }
200
+ function hashDelete(key) {
201
+ var result = this.has(key) && delete this.__data__[key];
202
+ this.size -= result ? 1 : 0;
203
+ return result;
204
+ }
205
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
206
+ var objectProto$7 = Object.prototype;
207
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
208
+ function hashGet(key) {
209
+ var data = this.__data__;
210
+ if (nativeCreate$1) {
211
+ var result = data[key];
212
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
213
+ }
214
+ return hasOwnProperty$6.call(data, key) ? data[key] : void 0;
215
+ }
216
+ var objectProto$6 = Object.prototype;
217
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
218
+ function hashHas(key) {
219
+ var data = this.__data__;
220
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$5.call(data, key);
221
+ }
222
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
223
+ function hashSet(key, value) {
224
+ var data = this.__data__;
225
+ this.size += this.has(key) ? 0 : 1;
226
+ data[key] = nativeCreate$1 && value === void 0 ? HASH_UNDEFINED : value;
227
+ return this;
228
+ }
229
+ function Hash(entries) {
230
+ var index = -1, length = entries == null ? 0 : entries.length;
231
+ this.clear();
232
+ while (++index < length) {
233
+ var entry = entries[index];
234
+ this.set(entry[0], entry[1]);
235
+ }
236
+ }
237
+ Hash.prototype.clear = hashClear;
238
+ Hash.prototype["delete"] = hashDelete;
239
+ Hash.prototype.get = hashGet;
240
+ Hash.prototype.has = hashHas;
241
+ Hash.prototype.set = hashSet;
242
+ function mapCacheClear() {
243
+ this.size = 0;
244
+ this.__data__ = {
245
+ "hash": new Hash(),
246
+ "map": new (Map$1 || ListCache)(),
247
+ "string": new Hash()
248
+ };
249
+ }
250
+ function isKeyable(value) {
251
+ var type = typeof value;
252
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
253
+ }
254
+ function getMapData(map, key) {
255
+ var data = map.__data__;
256
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
257
+ }
258
+ function mapCacheDelete(key) {
259
+ var result = getMapData(this, key)["delete"](key);
260
+ this.size -= result ? 1 : 0;
261
+ return result;
262
+ }
263
+ function mapCacheGet(key) {
264
+ return getMapData(this, key).get(key);
265
+ }
266
+ function mapCacheHas(key) {
267
+ return getMapData(this, key).has(key);
268
+ }
269
+ function mapCacheSet(key, value) {
270
+ var data = getMapData(this, key), size = data.size;
271
+ data.set(key, value);
272
+ this.size += data.size == size ? 0 : 1;
273
+ return this;
274
+ }
275
+ function MapCache(entries) {
276
+ var index = -1, length = entries == null ? 0 : entries.length;
277
+ this.clear();
278
+ while (++index < length) {
279
+ var entry = entries[index];
280
+ this.set(entry[0], entry[1]);
281
+ }
282
+ }
283
+ MapCache.prototype.clear = mapCacheClear;
284
+ MapCache.prototype["delete"] = mapCacheDelete;
285
+ MapCache.prototype.get = mapCacheGet;
286
+ MapCache.prototype.has = mapCacheHas;
287
+ MapCache.prototype.set = mapCacheSet;
288
+ var LARGE_ARRAY_SIZE = 200;
289
+ function stackSet(key, value) {
290
+ var data = this.__data__;
291
+ if (data instanceof ListCache) {
292
+ var pairs = data.__data__;
293
+ if (!Map$1 || pairs.length < LARGE_ARRAY_SIZE - 1) {
294
+ pairs.push([key, value]);
295
+ this.size = ++data.size;
296
+ return this;
297
+ }
298
+ data = this.__data__ = new MapCache(pairs);
299
+ }
300
+ data.set(key, value);
301
+ this.size = data.size;
302
+ return this;
303
+ }
304
+ function Stack(entries) {
305
+ var data = this.__data__ = new ListCache(entries);
306
+ this.size = data.size;
307
+ }
308
+ Stack.prototype.clear = stackClear;
309
+ Stack.prototype["delete"] = stackDelete;
310
+ Stack.prototype.get = stackGet;
311
+ Stack.prototype.has = stackHas;
312
+ Stack.prototype.set = stackSet;
313
+ var defineProperty = function() {
314
+ try {
315
+ var func = getNative(Object, "defineProperty");
316
+ func({}, "", {});
317
+ return func;
318
+ } catch (e) {
319
+ }
320
+ }();
321
+ const defineProperty$1 = defineProperty;
322
+ function baseAssignValue(object, key, value) {
323
+ if (key == "__proto__" && defineProperty$1) {
324
+ defineProperty$1(object, key, {
325
+ "configurable": true,
326
+ "enumerable": true,
327
+ "value": value,
328
+ "writable": true
329
+ });
330
+ } else {
331
+ object[key] = value;
332
+ }
333
+ }
334
+ function assignMergeValue(object, key, value) {
335
+ if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
336
+ baseAssignValue(object, key, value);
337
+ }
338
+ }
339
+ function createBaseFor(fromRight) {
340
+ return function(object, iteratee, keysFunc) {
341
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
342
+ while (length--) {
343
+ var key = props[fromRight ? length : ++index];
344
+ if (iteratee(iterable[key], key, iterable) === false) {
345
+ break;
346
+ }
347
+ }
348
+ return object;
349
+ };
350
+ }
351
+ var baseFor = createBaseFor();
352
+ const baseFor$1 = baseFor;
353
+ var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
354
+ var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
355
+ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
356
+ var Buffer$1 = moduleExports$2 ? root$1.Buffer : void 0, allocUnsafe = Buffer$1 ? Buffer$1.allocUnsafe : void 0;
357
+ function cloneBuffer(buffer, isDeep) {
358
+ if (isDeep) {
359
+ return buffer.slice();
360
+ }
361
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
362
+ buffer.copy(result);
363
+ return result;
364
+ }
365
+ var Uint8Array = root$1.Uint8Array;
366
+ const Uint8Array$1 = Uint8Array;
367
+ function cloneArrayBuffer(arrayBuffer) {
368
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
369
+ new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
370
+ return result;
371
+ }
372
+ function cloneTypedArray(typedArray, isDeep) {
373
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
374
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
375
+ }
376
+ function copyArray(source, array) {
377
+ var index = -1, length = source.length;
378
+ array || (array = Array(length));
379
+ while (++index < length) {
380
+ array[index] = source[index];
381
+ }
382
+ return array;
383
+ }
384
+ var objectCreate = Object.create;
385
+ var baseCreate = function() {
386
+ function object() {
387
+ }
388
+ return function(proto) {
389
+ if (!isObject(proto)) {
390
+ return {};
391
+ }
392
+ if (objectCreate) {
393
+ return objectCreate(proto);
394
+ }
395
+ object.prototype = proto;
396
+ var result = new object();
397
+ object.prototype = void 0;
398
+ return result;
399
+ };
400
+ }();
401
+ const baseCreate$1 = baseCreate;
402
+ function overArg(func, transform) {
403
+ return function(arg) {
404
+ return func(transform(arg));
405
+ };
406
+ }
407
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
408
+ const getPrototype$1 = getPrototype;
409
+ var objectProto$5 = Object.prototype;
410
+ function isPrototype(value) {
411
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$5;
412
+ return value === proto;
413
+ }
414
+ function initCloneObject(object) {
415
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate$1(getPrototype$1(object)) : {};
416
+ }
417
+ function isObjectLike(value) {
418
+ return value != null && typeof value == "object";
419
+ }
420
+ var argsTag$1 = "[object Arguments]";
421
+ function baseIsArguments(value) {
422
+ return isObjectLike(value) && baseGetTag(value) == argsTag$1;
423
+ }
424
+ var objectProto$4 = Object.prototype;
425
+ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
426
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
427
+ var isArguments = baseIsArguments(function() {
428
+ return arguments;
429
+ }()) ? baseIsArguments : function(value) {
430
+ return isObjectLike(value) && hasOwnProperty$4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
431
+ };
432
+ const isArguments$1 = isArguments;
433
+ var isArray = Array.isArray;
434
+ const isArray$1 = isArray;
435
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
436
+ function isLength(value) {
437
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
438
+ }
439
+ function isArrayLike(value) {
440
+ return value != null && isLength(value.length) && !isFunction(value);
441
+ }
442
+ function isArrayLikeObject(value) {
443
+ return isObjectLike(value) && isArrayLike(value);
444
+ }
445
+ function stubFalse() {
446
+ return false;
447
+ }
448
+ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
449
+ var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
450
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
451
+ var Buffer = moduleExports$1 ? root$1.Buffer : void 0;
452
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
453
+ var isBuffer = nativeIsBuffer || stubFalse;
454
+ const isBuffer$1 = isBuffer;
455
+ var objectTag$1 = "[object Object]";
456
+ var funcProto = Function.prototype, objectProto$3 = Object.prototype;
457
+ var funcToString = funcProto.toString;
458
+ var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
459
+ var objectCtorString = funcToString.call(Object);
460
+ function isPlainObject(value) {
461
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag$1) {
462
+ return false;
463
+ }
464
+ var proto = getPrototype$1(value);
465
+ if (proto === null) {
466
+ return true;
467
+ }
468
+ var Ctor = hasOwnProperty$3.call(proto, "constructor") && proto.constructor;
469
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
470
+ }
471
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
472
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
473
+ var typedArrayTags = {};
474
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
475
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
476
+ function baseIsTypedArray(value) {
477
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
478
+ }
479
+ function baseUnary(func) {
480
+ return function(value) {
481
+ return func(value);
482
+ };
483
+ }
484
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
485
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
486
+ var moduleExports = freeModule && freeModule.exports === freeExports;
487
+ var freeProcess = moduleExports && freeGlobal$1.process;
488
+ var nodeUtil = function() {
489
+ try {
490
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
491
+ if (types) {
492
+ return types;
493
+ }
494
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
495
+ } catch (e) {
496
+ }
497
+ }();
498
+ const nodeUtil$1 = nodeUtil;
499
+ var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
500
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
501
+ const isTypedArray$1 = isTypedArray;
502
+ function safeGet(object, key) {
503
+ if (key === "constructor" && typeof object[key] === "function") {
504
+ return;
505
+ }
506
+ if (key == "__proto__") {
507
+ return;
508
+ }
509
+ return object[key];
510
+ }
511
+ var objectProto$2 = Object.prototype;
512
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
513
+ function assignValue(object, key, value) {
514
+ var objValue = object[key];
515
+ if (!(hasOwnProperty$2.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
516
+ baseAssignValue(object, key, value);
517
+ }
518
+ }
519
+ function copyObject(source, props, object, customizer) {
520
+ var isNew = !object;
521
+ object || (object = {});
522
+ var index = -1, length = props.length;
523
+ while (++index < length) {
524
+ var key = props[index];
525
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
526
+ if (newValue === void 0) {
527
+ newValue = source[key];
528
+ }
529
+ if (isNew) {
530
+ baseAssignValue(object, key, newValue);
531
+ } else {
532
+ assignValue(object, key, newValue);
533
+ }
534
+ }
535
+ return object;
536
+ }
537
+ function baseTimes(n, iteratee) {
538
+ var index = -1, result = Array(n);
539
+ while (++index < n) {
540
+ result[index] = iteratee(index);
541
+ }
542
+ return result;
543
+ }
544
+ var MAX_SAFE_INTEGER = 9007199254740991;
545
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
546
+ function isIndex(value, length) {
547
+ var type = typeof value;
548
+ length = length == null ? MAX_SAFE_INTEGER : length;
549
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
550
+ }
551
+ var objectProto$1 = Object.prototype;
552
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
553
+ function arrayLikeKeys(value, inherited) {
554
+ var isArr = isArray$1(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
555
+ for (var key in value) {
556
+ if ((inherited || hasOwnProperty$1.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
557
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
558
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
559
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
560
+ isIndex(key, length)))) {
561
+ result.push(key);
562
+ }
563
+ }
564
+ return result;
565
+ }
566
+ function nativeKeysIn(object) {
567
+ var result = [];
568
+ if (object != null) {
569
+ for (var key in Object(object)) {
570
+ result.push(key);
571
+ }
572
+ }
573
+ return result;
574
+ }
575
+ var objectProto = Object.prototype;
576
+ var hasOwnProperty = objectProto.hasOwnProperty;
577
+ function baseKeysIn(object) {
578
+ if (!isObject(object)) {
579
+ return nativeKeysIn(object);
580
+ }
581
+ var isProto = isPrototype(object), result = [];
582
+ for (var key in object) {
583
+ if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
584
+ result.push(key);
585
+ }
586
+ }
587
+ return result;
588
+ }
589
+ function keysIn(object) {
590
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
591
+ }
592
+ function toPlainObject(value) {
593
+ return copyObject(value, keysIn(value));
594
+ }
595
+ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
596
+ var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
597
+ if (stacked) {
598
+ assignMergeValue(object, key, stacked);
599
+ return;
600
+ }
601
+ var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
602
+ var isCommon = newValue === void 0;
603
+ if (isCommon) {
604
+ var isArr = isArray$1(srcValue), isBuff = !isArr && isBuffer$1(srcValue), isTyped = !isArr && !isBuff && isTypedArray$1(srcValue);
605
+ newValue = srcValue;
606
+ if (isArr || isBuff || isTyped) {
607
+ if (isArray$1(objValue)) {
608
+ newValue = objValue;
609
+ } else if (isArrayLikeObject(objValue)) {
610
+ newValue = copyArray(objValue);
611
+ } else if (isBuff) {
612
+ isCommon = false;
613
+ newValue = cloneBuffer(srcValue, true);
614
+ } else if (isTyped) {
615
+ isCommon = false;
616
+ newValue = cloneTypedArray(srcValue, true);
617
+ } else {
618
+ newValue = [];
619
+ }
620
+ } else if (isPlainObject(srcValue) || isArguments$1(srcValue)) {
621
+ newValue = objValue;
622
+ if (isArguments$1(objValue)) {
623
+ newValue = toPlainObject(objValue);
624
+ } else if (!isObject(objValue) || isFunction(objValue)) {
625
+ newValue = initCloneObject(srcValue);
626
+ }
627
+ } else {
628
+ isCommon = false;
629
+ }
630
+ }
631
+ if (isCommon) {
632
+ stack.set(srcValue, newValue);
633
+ mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
634
+ stack["delete"](srcValue);
635
+ }
636
+ assignMergeValue(object, key, newValue);
637
+ }
638
+ function baseMerge(object, source, srcIndex, customizer, stack) {
639
+ if (object === source) {
640
+ return;
641
+ }
642
+ baseFor$1(source, function(srcValue, key) {
643
+ stack || (stack = new Stack());
644
+ if (isObject(srcValue)) {
645
+ baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
646
+ } else {
647
+ var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
648
+ if (newValue === void 0) {
649
+ newValue = srcValue;
650
+ }
651
+ assignMergeValue(object, key, newValue);
652
+ }
653
+ }, keysIn);
654
+ }
655
+ function identity(value) {
656
+ return value;
657
+ }
658
+ function apply(func, thisArg, args) {
659
+ switch (args.length) {
660
+ case 0:
661
+ return func.call(thisArg);
662
+ case 1:
663
+ return func.call(thisArg, args[0]);
664
+ case 2:
665
+ return func.call(thisArg, args[0], args[1]);
666
+ case 3:
667
+ return func.call(thisArg, args[0], args[1], args[2]);
668
+ }
669
+ return func.apply(thisArg, args);
670
+ }
671
+ var nativeMax = Math.max;
672
+ function overRest(func, start, transform) {
673
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
674
+ return function() {
675
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
676
+ while (++index < length) {
677
+ array[index] = args[start + index];
678
+ }
679
+ index = -1;
680
+ var otherArgs = Array(start + 1);
681
+ while (++index < start) {
682
+ otherArgs[index] = args[index];
683
+ }
684
+ otherArgs[start] = transform(array);
685
+ return apply(func, this, otherArgs);
686
+ };
687
+ }
688
+ function constant(value) {
689
+ return function() {
690
+ return value;
691
+ };
692
+ }
693
+ var baseSetToString = !defineProperty$1 ? identity : function(func, string) {
694
+ return defineProperty$1(func, "toString", {
695
+ "configurable": true,
696
+ "enumerable": false,
697
+ "value": constant(string),
698
+ "writable": true
699
+ });
700
+ };
701
+ const baseSetToString$1 = baseSetToString;
702
+ var HOT_COUNT = 800, HOT_SPAN = 16;
703
+ var nativeNow = Date.now;
704
+ function shortOut(func) {
705
+ var count = 0, lastCalled = 0;
706
+ return function() {
707
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
708
+ lastCalled = stamp;
709
+ if (remaining > 0) {
710
+ if (++count >= HOT_COUNT) {
711
+ return arguments[0];
712
+ }
713
+ } else {
714
+ count = 0;
715
+ }
716
+ return func.apply(void 0, arguments);
717
+ };
718
+ }
719
+ var setToString = shortOut(baseSetToString$1);
720
+ const setToString$1 = setToString;
721
+ function baseRest(func, start) {
722
+ return setToString$1(overRest(func, start, identity), func + "");
723
+ }
724
+ function isIterateeCall(value, index, object) {
725
+ if (!isObject(object)) {
726
+ return false;
727
+ }
728
+ var type = typeof index;
729
+ if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
730
+ return eq(object[index], value);
731
+ }
732
+ return false;
733
+ }
734
+ function createAssigner(assigner) {
735
+ return baseRest(function(object, sources) {
736
+ var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
737
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
738
+ if (guard && isIterateeCall(sources[0], sources[1], guard)) {
739
+ customizer = length < 3 ? void 0 : customizer;
740
+ length = 1;
741
+ }
742
+ object = Object(object);
743
+ while (++index < length) {
744
+ var source = sources[index];
745
+ if (source) {
746
+ assigner(object, source, index, customizer);
747
+ }
748
+ }
749
+ return object;
750
+ });
751
+ }
752
+ var merge = createAssigner(function(object, source, srcIndex) {
753
+ baseMerge(object, source, srcIndex);
754
+ });
755
+ const _merge = merge;
756
+ function extendCustomTheme(customTheme) {
757
+ return _merge({}, defaultTheme, customTheme);
758
+ }
759
+ export {
760
+ extendCustomTheme
761
+ };
762
+ //# sourceMappingURL=utils.es.js.map