@valbuild/react 0.148.1 → 0.148.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/analytics/dist/valbuild-react-analytics.browser.esm.js +950 -0
- package/analytics/dist/valbuild-react-analytics.cjs.d.ts +2 -0
- package/analytics/dist/valbuild-react-analytics.cjs.dev.js +962 -0
- package/analytics/dist/valbuild-react-analytics.cjs.js +7 -0
- package/analytics/dist/valbuild-react-analytics.cjs.prod.js +962 -0
- package/analytics/dist/valbuild-react-analytics.esm.js +953 -0
- package/analytics/dist/valbuild-react-analytics.worker.esm.js +232 -0
- package/analytics/package.json +7 -0
- package/dist/createForOfIteratorHelper-69c4a419.esm.js +52 -0
- package/dist/createForOfIteratorHelper-6f9dc6fa.cjs.prod.js +54 -0
- package/dist/createForOfIteratorHelper-73fe9a1a.worker.esm.js +52 -0
- package/dist/createForOfIteratorHelper-8a871dc3.cjs.dev.js +54 -0
- package/dist/createForOfIteratorHelper-c0be3691.browser.esm.js +52 -0
- package/dist/declarations/src/analytics/beacon.d.ts +80 -0
- package/dist/declarations/src/analytics/index.d.ts +3 -0
- package/dist/declarations/src/analytics/splitValPaths.d.ts +12 -0
- package/dist/declarations/src/analytics/tracker.d.ts +64 -0
- package/dist/{raw-1fce8756.cjs.dev.js → raw-c2b82a01.cjs.dev.js} +26 -74
- package/dist/{raw-26e85a34.esm.js → raw-cd78aea7.browser.esm.js} +11 -58
- package/dist/{raw-55a21edc.worker.esm.js → raw-d156d004.worker.esm.js} +11 -58
- package/dist/{raw-be2fd916.browser.esm.js → raw-d43ba7b8.esm.js} +11 -58
- package/dist/{raw-68a490e6.cjs.prod.js → raw-de29c973.cjs.prod.js} +26 -74
- package/dist/{slicedToArray-e9e8e991.cjs.dev.js → slicedToArray-387314c6.cjs.dev.js} +0 -11
- package/dist/{slicedToArray-0c0a3b4a.esm.js → slicedToArray-3d4c6640.esm.js} +1 -11
- package/dist/{slicedToArray-86004d59.cjs.prod.js → slicedToArray-64c83d56.cjs.prod.js} +0 -11
- package/dist/{slicedToArray-7d0170b6.worker.esm.js → slicedToArray-8b1a55e5.worker.esm.js} +1 -11
- package/dist/{slicedToArray-9cce0d9f.browser.esm.js → slicedToArray-8f9b0d84.browser.esm.js} +1 -11
- package/dist/toConsumableArray-203e636a.cjs.prod.js +21 -0
- package/dist/toConsumableArray-5335b4b0.worker.esm.js +19 -0
- package/dist/toConsumableArray-991f680f.browser.esm.js +19 -0
- package/dist/toConsumableArray-c950e394.esm.js +19 -0
- package/dist/toConsumableArray-d7cf1601.cjs.dev.js +21 -0
- package/dist/typeof-16428c61.cjs.prod.js +13 -0
- package/dist/typeof-9915e135.browser.esm.js +11 -0
- package/dist/typeof-a1531d8f.esm.js +11 -0
- package/dist/typeof-b568f48f.cjs.dev.js +13 -0
- package/dist/typeof-e0c837cc.worker.esm.js +11 -0
- package/internal/dist/valbuild-react-internal.browser.esm.js +5 -18
- package/internal/dist/valbuild-react-internal.cjs.dev.js +6 -19
- package/internal/dist/valbuild-react-internal.cjs.prod.js +6 -19
- package/internal/dist/valbuild-react-internal.esm.js +5 -18
- package/internal/dist/valbuild-react-internal.worker.esm.js +5 -18
- package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.browser.esm.js +2 -1
- package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.cjs.dev.js +3 -2
- package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.cjs.prod.js +3 -2
- package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.esm.js +2 -1
- package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.worker.esm.js +2 -1
- package/jsx-runtime/dist/valbuild-react-jsx-runtime.browser.esm.js +2 -1
- package/jsx-runtime/dist/valbuild-react-jsx-runtime.cjs.dev.js +3 -2
- package/jsx-runtime/dist/valbuild-react-jsx-runtime.cjs.prod.js +3 -2
- package/jsx-runtime/dist/valbuild-react-jsx-runtime.esm.js +2 -1
- package/jsx-runtime/dist/valbuild-react-jsx-runtime.worker.esm.js +2 -1
- package/package.json +16 -6
- package/stega/dist/valbuild-react-stega.browser.esm.js +8 -6
- package/stega/dist/valbuild-react-stega.cjs.dev.js +11 -9
- package/stega/dist/valbuild-react-stega.cjs.prod.js +11 -9
- package/stega/dist/valbuild-react-stega.esm.js +8 -6
- package/stega/dist/valbuild-react-stega.worker.esm.js +8 -6
|
@@ -1,70 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _typeof = require('./typeof-16428c61.cjs.prod.js');
|
|
4
|
+
var createForOfIteratorHelper = require('./createForOfIteratorHelper-6f9dc6fa.cjs.prod.js');
|
|
4
5
|
var core = require('@valbuild/core');
|
|
5
6
|
var stega = require('@vercel/stega');
|
|
6
|
-
|
|
7
|
-
function _createForOfIteratorHelper(r, e) {
|
|
8
|
-
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
-
if (!t) {
|
|
10
|
-
if (Array.isArray(r) || (t = slicedToArray._unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
11
|
-
t && (r = t);
|
|
12
|
-
var n = 0,
|
|
13
|
-
F = function () {};
|
|
14
|
-
return {
|
|
15
|
-
s: F,
|
|
16
|
-
n: function () {
|
|
17
|
-
return n >= r.length ? {
|
|
18
|
-
done: !0
|
|
19
|
-
} : {
|
|
20
|
-
done: !1,
|
|
21
|
-
value: r[n++]
|
|
22
|
-
};
|
|
23
|
-
},
|
|
24
|
-
e: function (r) {
|
|
25
|
-
throw r;
|
|
26
|
-
},
|
|
27
|
-
f: F
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
31
|
-
}
|
|
32
|
-
var o,
|
|
33
|
-
a = !0,
|
|
34
|
-
u = !1;
|
|
35
|
-
return {
|
|
36
|
-
s: function () {
|
|
37
|
-
t = t.call(r);
|
|
38
|
-
},
|
|
39
|
-
n: function () {
|
|
40
|
-
var r = t.next();
|
|
41
|
-
return a = r.done, r;
|
|
42
|
-
},
|
|
43
|
-
e: function (r) {
|
|
44
|
-
u = !0, o = r;
|
|
45
|
-
},
|
|
46
|
-
f: function () {
|
|
47
|
-
try {
|
|
48
|
-
a || null == t.return || t.return();
|
|
49
|
-
} finally {
|
|
50
|
-
if (u) throw o;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}
|
|
7
|
+
var slicedToArray = require('./slicedToArray-64c83d56.cjs.prod.js');
|
|
55
8
|
|
|
56
9
|
function stegaDecodeStrings(encodedString) {
|
|
57
10
|
if (!encodedString || typeof encodedString !== "string") return;
|
|
58
11
|
var encodedBits = stega.vercelStegaDecodeAll(encodedString);
|
|
59
12
|
var paths = [];
|
|
60
13
|
if (!encodedBits) return;
|
|
61
|
-
var _iterator = _createForOfIteratorHelper(encodedBits),
|
|
14
|
+
var _iterator = createForOfIteratorHelper._createForOfIteratorHelper(encodedBits),
|
|
62
15
|
_step;
|
|
63
16
|
try {
|
|
64
17
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
65
18
|
var encodedBit = _step.value;
|
|
66
|
-
if (encodedBit &&
|
|
67
|
-
if ("origin" in encodedBit && "data" in encodedBit &&
|
|
19
|
+
if (encodedBit && _typeof._typeof(encodedBit) === "object") {
|
|
20
|
+
if ("origin" in encodedBit && "data" in encodedBit && _typeof._typeof(encodedBit.data) === "object" && encodedBit.data && "valPath" in encodedBit.data && typeof encodedBit.data.valPath === "string") {
|
|
68
21
|
paths.push(encodedBit.data.valPath);
|
|
69
22
|
}
|
|
70
23
|
}
|
|
@@ -205,7 +158,7 @@ function _objectSpread2(e) {
|
|
|
205
158
|
*/
|
|
206
159
|
function resolveDiscriminatedUnionVariant(source, schema) {
|
|
207
160
|
var schemaKey = schema.key;
|
|
208
|
-
if (!source ||
|
|
161
|
+
if (!source || _typeof._typeof(source) !== "object" || Array.isArray(source)) {
|
|
209
162
|
return null;
|
|
210
163
|
}
|
|
211
164
|
var key = source[schemaKey];
|
|
@@ -220,13 +173,13 @@ function resolveDiscriminatedUnionVariant(source, schema) {
|
|
|
220
173
|
if (isLiteralSchema(keySchema)) {
|
|
221
174
|
return keySchema.value === key;
|
|
222
175
|
} else {
|
|
223
|
-
|
|
176
|
+
core.Internal.log.warn("Expected literal schema at key in discriminated union, but found: ", keySchema, {
|
|
224
177
|
key: key,
|
|
225
178
|
schema: s
|
|
226
179
|
});
|
|
227
180
|
}
|
|
228
181
|
} else {
|
|
229
|
-
|
|
182
|
+
core.Internal.log.warn("Expected discriminated union containing object schema, but found: ", s);
|
|
230
183
|
}
|
|
231
184
|
return false;
|
|
232
185
|
});
|
|
@@ -276,7 +229,7 @@ function handleRichTextSchema(sourceOrSelector, recOpts, rec) {
|
|
|
276
229
|
});
|
|
277
230
|
});
|
|
278
231
|
return arraySelector;
|
|
279
|
-
} else if (
|
|
232
|
+
} else if (_typeof._typeof(sourceOrSelector) === "object") {
|
|
280
233
|
if (!sourceOrSelector) {
|
|
281
234
|
return null;
|
|
282
235
|
}
|
|
@@ -404,7 +357,7 @@ function stegaEncode(input, opts) {
|
|
|
404
357
|
if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isRichTextSchema(recOpts.schema)) {
|
|
405
358
|
return handleRichTextSchema(sourceOrSelector, recOpts, rec);
|
|
406
359
|
}
|
|
407
|
-
if (recOpts && isVideoSchema(recOpts.schema) && sourceOrSelector &&
|
|
360
|
+
if (recOpts && isVideoSchema(recOpts.schema) && sourceOrSelector && _typeof._typeof(sourceOrSelector) === "object") {
|
|
408
361
|
// A set-backed video gets its mimeType, size and length from the set
|
|
409
362
|
// first — `Video` promises a `mimeType`, and the field has none — and
|
|
410
363
|
// every choice it did not make itself: the set's poster, times,
|
|
@@ -414,7 +367,7 @@ function stegaEncode(input, opts) {
|
|
|
414
367
|
return rec(core.Internal.mediaUrl(video), recOpts);
|
|
415
368
|
});
|
|
416
369
|
}
|
|
417
|
-
if (recOpts && (isImageSchema(recOpts.schema) || isFileSchema(recOpts.schema)) && sourceOrSelector &&
|
|
370
|
+
if (recOpts && (isImageSchema(recOpts.schema) || isFileSchema(recOpts.schema)) && sourceOrSelector && _typeof._typeof(sourceOrSelector) === "object") {
|
|
418
371
|
var _src = core.Internal.media.fillFromGallery(sourceOrSelector, recOpts.schema, getGallery);
|
|
419
372
|
// `url` carries the edit tag, so a click on an image reaches its field.
|
|
420
373
|
// `path` must stay raw: it is what the URL was derived from.
|
|
@@ -422,7 +375,7 @@ function stegaEncode(input, opts) {
|
|
|
422
375
|
url: rec(core.Internal.mediaUrl(_src), recOpts)
|
|
423
376
|
});
|
|
424
377
|
}
|
|
425
|
-
if (
|
|
378
|
+
if (_typeof._typeof(sourceOrSelector) === "object") {
|
|
426
379
|
if (!sourceOrSelector) {
|
|
427
380
|
return null;
|
|
428
381
|
}
|
|
@@ -434,7 +387,7 @@ function stegaEncode(input, opts) {
|
|
|
434
387
|
// the serialized schema, which carries a path and not a module. Merged
|
|
435
388
|
// rather than replaced: a handle resolved by `useVal` re-enters here as
|
|
436
389
|
// its own module, and its parent's views must stay resolvable.
|
|
437
|
-
var _iterator = _createForOfIteratorHelper(core.Internal.viewModulesOf(newSchema)),
|
|
390
|
+
var _iterator = createForOfIteratorHelper._createForOfIteratorHelper(core.Internal.viewModulesOf(newSchema)),
|
|
438
391
|
_step;
|
|
439
392
|
try {
|
|
440
393
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -448,7 +401,7 @@ function stegaEncode(input, opts) {
|
|
|
448
401
|
} finally {
|
|
449
402
|
_iterator.f();
|
|
450
403
|
}
|
|
451
|
-
var _iterator2 = _createForOfIteratorHelper(core.Internal.media.galleriesOf(newSchema)),
|
|
404
|
+
var _iterator2 = createForOfIteratorHelper._createForOfIteratorHelper(core.Internal.media.galleriesOf(newSchema)),
|
|
452
405
|
_step2;
|
|
453
406
|
try {
|
|
454
407
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -489,7 +442,7 @@ function stegaEncode(input, opts) {
|
|
|
489
442
|
}
|
|
490
443
|
return res;
|
|
491
444
|
}
|
|
492
|
-
|
|
445
|
+
core.Internal.log.error("Could not transform source selector: ".concat(_typeof._typeof(sourceOrSelector), " (array: ").concat(Array.isArray(sourceOrSelector), ")"), sourceOrSelector);
|
|
493
446
|
return sourceOrSelector;
|
|
494
447
|
}
|
|
495
448
|
if (typeof sourceOrSelector === "string") {
|
|
@@ -515,7 +468,7 @@ function stegaEncode(input, opts) {
|
|
|
515
468
|
if (typeof sourceOrSelector === "number" || typeof sourceOrSelector === "boolean") {
|
|
516
469
|
return sourceOrSelector;
|
|
517
470
|
}
|
|
518
|
-
|
|
471
|
+
core.Internal.log.error("Unexpected type of source selector: ".concat(_typeof._typeof(sourceOrSelector)));
|
|
519
472
|
return sourceOrSelector;
|
|
520
473
|
}
|
|
521
474
|
return rec(input, opts.root);
|
|
@@ -542,7 +495,7 @@ function isCodeSchema(schema) {
|
|
|
542
495
|
return (schema === null || schema === void 0 ? void 0 : schema.type) === "code";
|
|
543
496
|
}
|
|
544
497
|
function unknownSchema(schema) {
|
|
545
|
-
|
|
498
|
+
core.Internal.log.debug("Found unknown schema", schema);
|
|
546
499
|
return schema;
|
|
547
500
|
}
|
|
548
501
|
function isDiscriminatedUnionSchema(schema) {
|
|
@@ -582,7 +535,7 @@ function collectReferencedModulesFromSchema(schema, acc) {
|
|
|
582
535
|
} else if (schema.type === "array" || schema.type === "record") {
|
|
583
536
|
collectReferencedModulesFromSchema(schema.item, acc);
|
|
584
537
|
} else if (schema.type === "discriminated-union") {
|
|
585
|
-
var _iterator3 = _createForOfIteratorHelper(schema.items),
|
|
538
|
+
var _iterator3 = createForOfIteratorHelper._createForOfIteratorHelper(schema.items),
|
|
586
539
|
_step3;
|
|
587
540
|
try {
|
|
588
541
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
@@ -633,7 +586,7 @@ function getModuleIds(input) {
|
|
|
633
586
|
if (resolved !== undefined) {
|
|
634
587
|
return getModuleIds(resolved);
|
|
635
588
|
}
|
|
636
|
-
var cacheable =
|
|
589
|
+
var cacheable = _typeof._typeof(input) === "object" && input !== null;
|
|
637
590
|
if (cacheable) {
|
|
638
591
|
var cached = moduleIdsCache.get(input);
|
|
639
592
|
if (cached) {
|
|
@@ -643,7 +596,7 @@ function getModuleIds(input) {
|
|
|
643
596
|
}
|
|
644
597
|
var modules = new Set();
|
|
645
598
|
function rec(sourceOrSelector) {
|
|
646
|
-
if (
|
|
599
|
+
if (_typeof._typeof(sourceOrSelector) === "object") {
|
|
647
600
|
if (!sourceOrSelector) {
|
|
648
601
|
return;
|
|
649
602
|
}
|
|
@@ -671,7 +624,7 @@ function getModuleIds(input) {
|
|
|
671
624
|
}
|
|
672
625
|
return;
|
|
673
626
|
}
|
|
674
|
-
|
|
627
|
+
core.Internal.log.error("Could not transform source selector: ".concat(_typeof._typeof(sourceOrSelector), " (array: ").concat(Array.isArray(sourceOrSelector), ")"), sourceOrSelector);
|
|
675
628
|
return;
|
|
676
629
|
}
|
|
677
630
|
if (typeof sourceOrSelector === "string") {
|
|
@@ -680,7 +633,7 @@ function getModuleIds(input) {
|
|
|
680
633
|
if (typeof sourceOrSelector === "number" || typeof sourceOrSelector === "boolean") {
|
|
681
634
|
return;
|
|
682
635
|
}
|
|
683
|
-
|
|
636
|
+
core.Internal.log.error("Unexpected type of source selector: ".concat(_typeof._typeof(sourceOrSelector)));
|
|
684
637
|
return;
|
|
685
638
|
}
|
|
686
639
|
rec(input);
|
|
@@ -700,7 +653,7 @@ function attrs(target) {
|
|
|
700
653
|
if (typeof target === "string") {
|
|
701
654
|
var paths = stegaDecodeStrings(target);
|
|
702
655
|
if (paths) {
|
|
703
|
-
var _iterator = _createForOfIteratorHelper(paths),
|
|
656
|
+
var _iterator = createForOfIteratorHelper._createForOfIteratorHelper(paths),
|
|
704
657
|
_step;
|
|
705
658
|
try {
|
|
706
659
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -714,7 +667,7 @@ function attrs(target) {
|
|
|
714
667
|
}
|
|
715
668
|
}
|
|
716
669
|
}
|
|
717
|
-
if (
|
|
670
|
+
if (_typeof._typeof(target) === "object" && target !== null) {
|
|
718
671
|
var _path = core.Internal.getValPath(target);
|
|
719
672
|
if (_path) {
|
|
720
673
|
allPaths.add(_path);
|
|
@@ -740,7 +693,7 @@ function raw(val) {
|
|
|
740
693
|
return raw(item);
|
|
741
694
|
});
|
|
742
695
|
}
|
|
743
|
-
if (
|
|
696
|
+
if (_typeof._typeof(val) === "object" && val !== null) {
|
|
744
697
|
var result = {};
|
|
745
698
|
for (var _key in val) {
|
|
746
699
|
if (Object.prototype.hasOwnProperty.call(val, _key)) {
|
|
@@ -752,7 +705,6 @@ function raw(val) {
|
|
|
752
705
|
return val;
|
|
753
706
|
}
|
|
754
707
|
|
|
755
|
-
exports._createForOfIteratorHelper = _createForOfIteratorHelper;
|
|
756
708
|
exports._objectSpread2 = _objectSpread2;
|
|
757
709
|
exports.attrs = attrs;
|
|
758
710
|
exports.getModuleIds = getModuleIds;
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _typeof(o) {
|
|
4
|
-
"@babel/helpers - typeof";
|
|
5
|
-
|
|
6
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
7
|
-
return typeof o;
|
|
8
|
-
} : function (o) {
|
|
9
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
-
}, _typeof(o);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
3
|
function _arrayWithHoles(r) {
|
|
14
4
|
if (Array.isArray(r)) return r;
|
|
15
5
|
}
|
|
@@ -66,5 +56,4 @@ function _slicedToArray(r, e) {
|
|
|
66
56
|
|
|
67
57
|
exports._arrayLikeToArray = _arrayLikeToArray;
|
|
68
58
|
exports._slicedToArray = _slicedToArray;
|
|
69
|
-
exports._typeof = _typeof;
|
|
70
59
|
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _typeof(o) {
|
|
2
|
-
"@babel/helpers - typeof";
|
|
3
|
-
|
|
4
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
-
return typeof o;
|
|
6
|
-
} : function (o) {
|
|
7
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
-
}, _typeof(o);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
function _arrayWithHoles(r) {
|
|
12
2
|
if (Array.isArray(r)) return r;
|
|
13
3
|
}
|
|
@@ -62,4 +52,4 @@ function _slicedToArray(r, e) {
|
|
|
62
52
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
63
53
|
}
|
|
64
54
|
|
|
65
|
-
export { _slicedToArray as _,
|
|
55
|
+
export { _slicedToArray as _, _unsupportedIterableToArray as a, _arrayLikeToArray as b };
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _typeof(o) {
|
|
4
|
-
"@babel/helpers - typeof";
|
|
5
|
-
|
|
6
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
7
|
-
return typeof o;
|
|
8
|
-
} : function (o) {
|
|
9
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
-
}, _typeof(o);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
3
|
function _arrayWithHoles(r) {
|
|
14
4
|
if (Array.isArray(r)) return r;
|
|
15
5
|
}
|
|
@@ -66,5 +56,4 @@ function _slicedToArray(r, e) {
|
|
|
66
56
|
|
|
67
57
|
exports._arrayLikeToArray = _arrayLikeToArray;
|
|
68
58
|
exports._slicedToArray = _slicedToArray;
|
|
69
|
-
exports._typeof = _typeof;
|
|
70
59
|
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _typeof(o) {
|
|
2
|
-
"@babel/helpers - typeof";
|
|
3
|
-
|
|
4
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
-
return typeof o;
|
|
6
|
-
} : function (o) {
|
|
7
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
-
}, _typeof(o);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
function _arrayWithHoles(r) {
|
|
12
2
|
if (Array.isArray(r)) return r;
|
|
13
3
|
}
|
|
@@ -62,4 +52,4 @@ function _slicedToArray(r, e) {
|
|
|
62
52
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
63
53
|
}
|
|
64
54
|
|
|
65
|
-
export { _slicedToArray as _,
|
|
55
|
+
export { _slicedToArray as _, _unsupportedIterableToArray as a, _arrayLikeToArray as b };
|
package/dist/{slicedToArray-9cce0d9f.browser.esm.js → slicedToArray-8f9b0d84.browser.esm.js}
RENAMED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _typeof(o) {
|
|
2
|
-
"@babel/helpers - typeof";
|
|
3
|
-
|
|
4
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
-
return typeof o;
|
|
6
|
-
} : function (o) {
|
|
7
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
-
}, _typeof(o);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
function _arrayWithHoles(r) {
|
|
12
2
|
if (Array.isArray(r)) return r;
|
|
13
3
|
}
|
|
@@ -62,4 +52,4 @@ function _slicedToArray(r, e) {
|
|
|
62
52
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
63
53
|
}
|
|
64
54
|
|
|
65
|
-
export { _slicedToArray as _,
|
|
55
|
+
export { _slicedToArray as _, _unsupportedIterableToArray as a, _arrayLikeToArray as b };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var slicedToArray = require('./slicedToArray-64c83d56.cjs.prod.js');
|
|
4
|
+
|
|
5
|
+
function _arrayWithoutHoles(r) {
|
|
6
|
+
if (Array.isArray(r)) return slicedToArray._arrayLikeToArray(r);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function _iterableToArray(r) {
|
|
10
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function _nonIterableSpread() {
|
|
14
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function _toConsumableArray(r) {
|
|
18
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || slicedToArray._unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
exports._toConsumableArray = _toConsumableArray;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { b as _arrayLikeToArray, a as _unsupportedIterableToArray } from './slicedToArray-8b1a55e5.worker.esm.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(r) {
|
|
4
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(r) {
|
|
8
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(r) {
|
|
16
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _ };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { b as _arrayLikeToArray, a as _unsupportedIterableToArray } from './slicedToArray-8f9b0d84.browser.esm.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(r) {
|
|
4
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(r) {
|
|
8
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(r) {
|
|
16
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _ };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { b as _arrayLikeToArray, a as _unsupportedIterableToArray } from './slicedToArray-3d4c6640.esm.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(r) {
|
|
4
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(r) {
|
|
8
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(r) {
|
|
16
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _ };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var slicedToArray = require('./slicedToArray-387314c6.cjs.dev.js');
|
|
4
|
+
|
|
5
|
+
function _arrayWithoutHoles(r) {
|
|
6
|
+
if (Array.isArray(r)) return slicedToArray._arrayLikeToArray(r);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function _iterableToArray(r) {
|
|
10
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function _nonIterableSpread() {
|
|
14
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function _toConsumableArray(r) {
|
|
18
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || slicedToArray._unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
exports._toConsumableArray = _toConsumableArray;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
7
|
+
return typeof o;
|
|
8
|
+
} : function (o) {
|
|
9
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
+
}, _typeof(o);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
exports._typeof = _typeof;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _typeof as _ };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _typeof as _ };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
7
|
+
return typeof o;
|
|
8
|
+
} : function (o) {
|
|
9
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
+
}, _typeof(o);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
exports._typeof = _typeof;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _typeof as _ };
|
|
@@ -1,26 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { _ as _toConsumableArray } from '../../dist/toConsumableArray-991f680f.browser.esm.js';
|
|
2
|
+
import { _ as _objectSpread2, r as raw, c as attrs } from '../../dist/raw-cd78aea7.browser.esm.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
import '../../dist/slicedToArray-8f9b0d84.browser.esm.js';
|
|
6
|
+
import '../../dist/typeof-9915e135.browser.esm.js';
|
|
7
|
+
import '../../dist/createForOfIteratorHelper-c0be3691.browser.esm.js';
|
|
5
8
|
import '@valbuild/core';
|
|
6
9
|
import '@vercel/stega';
|
|
7
10
|
|
|
8
|
-
function _arrayWithoutHoles(r) {
|
|
9
|
-
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function _iterableToArray(r) {
|
|
13
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function _nonIterableSpread() {
|
|
17
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _toConsumableArray(r) {
|
|
21
|
-
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
22
|
-
}
|
|
23
|
-
|
|
24
11
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
25
12
|
if (null == r) return {};
|
|
26
13
|
var t = {};
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var raw = require('../../dist/raw-
|
|
5
|
+
var toConsumableArray = require('../../dist/toConsumableArray-d7cf1601.cjs.dev.js');
|
|
6
|
+
var raw = require('../../dist/raw-c2b82a01.cjs.dev.js');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var ReactJSXRuntime = require('react/jsx-runtime');
|
|
9
|
+
require('../../dist/slicedToArray-387314c6.cjs.dev.js');
|
|
10
|
+
require('../../dist/typeof-b568f48f.cjs.dev.js');
|
|
11
|
+
require('../../dist/createForOfIteratorHelper-8a871dc3.cjs.dev.js');
|
|
9
12
|
require('@valbuild/core');
|
|
10
13
|
require('@vercel/stega');
|
|
11
14
|
|
|
@@ -13,22 +16,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
|
|
|
13
16
|
|
|
14
17
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
15
18
|
|
|
16
|
-
function _arrayWithoutHoles(r) {
|
|
17
|
-
if (Array.isArray(r)) return slicedToArray._arrayLikeToArray(r);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _iterableToArray(r) {
|
|
21
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function _nonIterableSpread() {
|
|
25
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function _toConsumableArray(r) {
|
|
29
|
-
return _arrayWithoutHoles(r) || _iterableToArray(r) || slicedToArray._unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
30
|
-
}
|
|
31
|
-
|
|
32
19
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
33
20
|
if (null == r) return {};
|
|
34
21
|
var t = {};
|
|
@@ -152,7 +139,7 @@ function classNameOfTag(tag, style, theme) {
|
|
|
152
139
|
var _tag;
|
|
153
140
|
thisTagClassName = (_tag = theme[tag]) !== null && _tag !== void 0 ? _tag : null;
|
|
154
141
|
}
|
|
155
|
-
return [].concat(_toConsumableArray(thisTagClassName ? [thisTagClassName] : []), _toConsumableArray(style.map(function (style) {
|
|
142
|
+
return [].concat(toConsumableArray._toConsumableArray(thisTagClassName ? [thisTagClassName] : []), toConsumableArray._toConsumableArray(style.map(function (style) {
|
|
156
143
|
if (theme &&
|
|
157
144
|
// not need on type-level, but defensive on runtime:
|
|
158
145
|
typeof style === "string") {
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var raw = require('../../dist/raw-
|
|
5
|
+
var toConsumableArray = require('../../dist/toConsumableArray-203e636a.cjs.prod.js');
|
|
6
|
+
var raw = require('../../dist/raw-de29c973.cjs.prod.js');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var ReactJSXRuntime = require('react/jsx-runtime');
|
|
9
|
+
require('../../dist/slicedToArray-64c83d56.cjs.prod.js');
|
|
10
|
+
require('../../dist/typeof-16428c61.cjs.prod.js');
|
|
11
|
+
require('../../dist/createForOfIteratorHelper-6f9dc6fa.cjs.prod.js');
|
|
9
12
|
require('@valbuild/core');
|
|
10
13
|
require('@vercel/stega');
|
|
11
14
|
|
|
@@ -13,22 +16,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
|
|
|
13
16
|
|
|
14
17
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
15
18
|
|
|
16
|
-
function _arrayWithoutHoles(r) {
|
|
17
|
-
if (Array.isArray(r)) return slicedToArray._arrayLikeToArray(r);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _iterableToArray(r) {
|
|
21
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function _nonIterableSpread() {
|
|
25
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function _toConsumableArray(r) {
|
|
29
|
-
return _arrayWithoutHoles(r) || _iterableToArray(r) || slicedToArray._unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
30
|
-
}
|
|
31
|
-
|
|
32
19
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
33
20
|
if (null == r) return {};
|
|
34
21
|
var t = {};
|
|
@@ -152,7 +139,7 @@ function classNameOfTag(tag, style, theme) {
|
|
|
152
139
|
var _tag;
|
|
153
140
|
thisTagClassName = (_tag = theme[tag]) !== null && _tag !== void 0 ? _tag : null;
|
|
154
141
|
}
|
|
155
|
-
return [].concat(_toConsumableArray(thisTagClassName ? [thisTagClassName] : []), _toConsumableArray(style.map(function (style) {
|
|
142
|
+
return [].concat(toConsumableArray._toConsumableArray(thisTagClassName ? [thisTagClassName] : []), toConsumableArray._toConsumableArray(style.map(function (style) {
|
|
156
143
|
if (theme &&
|
|
157
144
|
// not need on type-level, but defensive on runtime:
|
|
158
145
|
typeof style === "string") {
|