@dotcms/react 1.2.5-next.5 → 1.2.5-next.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.
package/index.esm.js
CHANGED
|
@@ -265,19 +265,19 @@ var tryToString$3 = tryToString$4;
|
|
|
265
265
|
var $TypeError$d = TypeError;
|
|
266
266
|
|
|
267
267
|
// `Assert: IsCallable(argument) is true`
|
|
268
|
-
var aCallable$
|
|
268
|
+
var aCallable$a = function (argument) {
|
|
269
269
|
if (isCallable$k(argument)) return argument;
|
|
270
270
|
throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
var aCallable$
|
|
273
|
+
var aCallable$9 = aCallable$a;
|
|
274
274
|
var isNullOrUndefined$3 = isNullOrUndefined$5;
|
|
275
275
|
|
|
276
276
|
// `GetMethod` abstract operation
|
|
277
277
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
278
278
|
var getMethod$5 = function (V, P) {
|
|
279
279
|
var func = V[P];
|
|
280
|
-
return isNullOrUndefined$3(func) ? undefined : aCallable$
|
|
280
|
+
return isNullOrUndefined$3(func) ? undefined : aCallable$9(func);
|
|
281
281
|
};
|
|
282
282
|
|
|
283
283
|
var call$m = functionCall;
|
|
@@ -489,7 +489,7 @@ var $String$4 = String;
|
|
|
489
489
|
var $TypeError$a = TypeError;
|
|
490
490
|
|
|
491
491
|
// `Assert: Type(argument) is Object`
|
|
492
|
-
var anObject$
|
|
492
|
+
var anObject$i = function (argument) {
|
|
493
493
|
if (isObject$7(argument)) return argument;
|
|
494
494
|
throw new $TypeError$a($String$4(argument) + ' is not an object');
|
|
495
495
|
};
|
|
@@ -497,7 +497,7 @@ var anObject$h = function (argument) {
|
|
|
497
497
|
var DESCRIPTORS$e = descriptors;
|
|
498
498
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
499
499
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
500
|
-
var anObject$
|
|
500
|
+
var anObject$h = anObject$i;
|
|
501
501
|
var toPropertyKey = toPropertyKey$2;
|
|
502
502
|
|
|
503
503
|
var $TypeError$9 = TypeError;
|
|
@@ -512,9 +512,9 @@ var WRITABLE = 'writable';
|
|
|
512
512
|
// `Object.defineProperty` method
|
|
513
513
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
514
514
|
objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
515
|
-
anObject$
|
|
515
|
+
anObject$h(O);
|
|
516
516
|
P = toPropertyKey(P);
|
|
517
|
-
anObject$
|
|
517
|
+
anObject$h(Attributes);
|
|
518
518
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
519
519
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
520
520
|
if (current && current[WRITABLE]) {
|
|
@@ -527,9 +527,9 @@ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
527
527
|
}
|
|
528
528
|
} return $defineProperty(O, P, Attributes);
|
|
529
529
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
530
|
-
anObject$
|
|
530
|
+
anObject$h(O);
|
|
531
531
|
P = toPropertyKey(P);
|
|
532
|
-
anObject$
|
|
532
|
+
anObject$h(Attributes);
|
|
533
533
|
if (IE8_DOM_DEFINE) try {
|
|
534
534
|
return $defineProperty(O, P, Attributes);
|
|
535
535
|
} catch (error) { /* empty */ }
|
|
@@ -896,13 +896,13 @@ var getBuiltIn$6 = getBuiltIn$8;
|
|
|
896
896
|
var uncurryThis$h = functionUncurryThis;
|
|
897
897
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
898
898
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
899
|
-
var anObject$
|
|
899
|
+
var anObject$g = anObject$i;
|
|
900
900
|
|
|
901
901
|
var concat$1 = uncurryThis$h([].concat);
|
|
902
902
|
|
|
903
903
|
// all object keys, includes non-enumerable and symbols
|
|
904
904
|
var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
905
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
905
|
+
var keys = getOwnPropertyNamesModule.f(anObject$g(it));
|
|
906
906
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
907
907
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
908
908
|
};
|
|
@@ -1075,7 +1075,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1075
1075
|
var DESCRIPTORS$9 = descriptors;
|
|
1076
1076
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1077
1077
|
var definePropertyModule = objectDefineProperty;
|
|
1078
|
-
var anObject$
|
|
1078
|
+
var anObject$f = anObject$i;
|
|
1079
1079
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1080
1080
|
var objectKeys$1 = objectKeys$2;
|
|
1081
1081
|
|
|
@@ -1083,7 +1083,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
1083
1083
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1084
1084
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1085
1085
|
objectDefineProperties.f = DESCRIPTORS$9 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1086
|
-
anObject$
|
|
1086
|
+
anObject$f(O);
|
|
1087
1087
|
var props = toIndexedObject$1(Properties);
|
|
1088
1088
|
var keys = objectKeys$1(Properties);
|
|
1089
1089
|
var length = keys.length;
|
|
@@ -1098,7 +1098,7 @@ var getBuiltIn$5 = getBuiltIn$8;
|
|
|
1098
1098
|
var html$2 = getBuiltIn$5('document', 'documentElement');
|
|
1099
1099
|
|
|
1100
1100
|
/* global ActiveXObject -- old IE, WSH */
|
|
1101
|
-
var anObject$
|
|
1101
|
+
var anObject$e = anObject$i;
|
|
1102
1102
|
var definePropertiesModule = objectDefineProperties;
|
|
1103
1103
|
var enumBugKeys = enumBugKeys$3;
|
|
1104
1104
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1172,7 +1172,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
1172
1172
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1173
1173
|
var result;
|
|
1174
1174
|
if (O !== null) {
|
|
1175
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1175
|
+
EmptyConstructor[PROTOTYPE] = anObject$e(O);
|
|
1176
1176
|
result = new EmptyConstructor();
|
|
1177
1177
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1178
1178
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1227,10 +1227,10 @@ var iteratorsCore = {
|
|
|
1227
1227
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1228
1228
|
};
|
|
1229
1229
|
|
|
1230
|
-
var $$
|
|
1230
|
+
var $$g = _export;
|
|
1231
1231
|
var global$e = global$o;
|
|
1232
1232
|
var anInstance$3 = anInstance$4;
|
|
1233
|
-
var anObject$
|
|
1233
|
+
var anObject$d = anObject$i;
|
|
1234
1234
|
var isCallable$b = isCallable$o;
|
|
1235
1235
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1236
1236
|
var defineBuiltInAccessor$4 = defineBuiltInAccessor$5;
|
|
@@ -1267,7 +1267,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
1267
1267
|
return value;
|
|
1268
1268
|
},
|
|
1269
1269
|
set: function (replacement) {
|
|
1270
|
-
anObject$
|
|
1270
|
+
anObject$d(this);
|
|
1271
1271
|
if (this === IteratorPrototype$3) throw new $TypeError$7("You can't redefine this property");
|
|
1272
1272
|
if (hasOwn$5(this, key)) this[key] = replacement;
|
|
1273
1273
|
else createProperty$1(this, key, replacement);
|
|
@@ -1286,13 +1286,13 @@ IteratorConstructor.prototype = IteratorPrototype$3;
|
|
|
1286
1286
|
|
|
1287
1287
|
// `Iterator` constructor
|
|
1288
1288
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1289
|
-
$$
|
|
1289
|
+
$$g({ global: true, constructor: true, forced: FORCED }, {
|
|
1290
1290
|
Iterator: IteratorConstructor
|
|
1291
1291
|
});
|
|
1292
1292
|
|
|
1293
1293
|
// `GetIteratorDirect(obj)` abstract operation
|
|
1294
1294
|
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
1295
|
-
var getIteratorDirect$
|
|
1295
|
+
var getIteratorDirect$2 = function (obj) {
|
|
1296
1296
|
return {
|
|
1297
1297
|
iterator: obj,
|
|
1298
1298
|
next: obj.next,
|
|
@@ -1314,12 +1314,12 @@ var createIterResultObject$4 = function (value, done) {
|
|
|
1314
1314
|
};
|
|
1315
1315
|
|
|
1316
1316
|
var call$j = functionCall;
|
|
1317
|
-
var anObject$
|
|
1317
|
+
var anObject$c = anObject$i;
|
|
1318
1318
|
var getMethod$3 = getMethod$5;
|
|
1319
1319
|
|
|
1320
1320
|
var iteratorClose$3 = function (iterator, kind, value) {
|
|
1321
1321
|
var innerResult, innerError;
|
|
1322
|
-
anObject$
|
|
1322
|
+
anObject$c(iterator);
|
|
1323
1323
|
try {
|
|
1324
1324
|
innerResult = getMethod$3(iterator, 'return');
|
|
1325
1325
|
if (!innerResult) {
|
|
@@ -1333,7 +1333,7 @@ var iteratorClose$3 = function (iterator, kind, value) {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
if (kind === 'throw') throw value;
|
|
1335
1335
|
if (innerError) throw innerResult;
|
|
1336
|
-
anObject$
|
|
1336
|
+
anObject$c(innerResult);
|
|
1337
1337
|
return value;
|
|
1338
1338
|
};
|
|
1339
1339
|
|
|
@@ -1413,28 +1413,28 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
|
1413
1413
|
return IteratorProxy;
|
|
1414
1414
|
};
|
|
1415
1415
|
|
|
1416
|
-
var anObject$
|
|
1416
|
+
var anObject$b = anObject$i;
|
|
1417
1417
|
var iteratorClose$1 = iteratorClose$3;
|
|
1418
1418
|
|
|
1419
1419
|
// call something on iterator step with safe closing on error
|
|
1420
1420
|
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
1421
1421
|
try {
|
|
1422
|
-
return ENTRIES ? fn(anObject$
|
|
1422
|
+
return ENTRIES ? fn(anObject$b(value)[0], value[1]) : fn(value);
|
|
1423
1423
|
} catch (error) {
|
|
1424
1424
|
iteratorClose$1(iterator, 'throw', error);
|
|
1425
1425
|
}
|
|
1426
1426
|
};
|
|
1427
1427
|
|
|
1428
1428
|
var call$h = functionCall;
|
|
1429
|
-
var aCallable$
|
|
1430
|
-
var anObject$
|
|
1431
|
-
var getIteratorDirect = getIteratorDirect$
|
|
1429
|
+
var aCallable$8 = aCallable$a;
|
|
1430
|
+
var anObject$a = anObject$i;
|
|
1431
|
+
var getIteratorDirect$1 = getIteratorDirect$2;
|
|
1432
1432
|
var createIteratorProxy = iteratorCreateProxy;
|
|
1433
1433
|
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
1434
1434
|
|
|
1435
1435
|
var IteratorProxy = createIteratorProxy(function () {
|
|
1436
1436
|
var iterator = this.iterator;
|
|
1437
|
-
var result = anObject$
|
|
1437
|
+
var result = anObject$a(call$h(this.next, iterator));
|
|
1438
1438
|
var done = this.done = !!result.done;
|
|
1439
1439
|
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
1440
1440
|
});
|
|
@@ -1442,20 +1442,20 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
1442
1442
|
// `Iterator.prototype.map` method
|
|
1443
1443
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1444
1444
|
var iteratorMap = function map(mapper) {
|
|
1445
|
-
anObject$
|
|
1446
|
-
aCallable$
|
|
1447
|
-
return new IteratorProxy(getIteratorDirect(this), {
|
|
1445
|
+
anObject$a(this);
|
|
1446
|
+
aCallable$8(mapper);
|
|
1447
|
+
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
1448
1448
|
mapper: mapper
|
|
1449
1449
|
});
|
|
1450
1450
|
};
|
|
1451
1451
|
|
|
1452
|
-
var $$
|
|
1452
|
+
var $$f = _export;
|
|
1453
1453
|
var map = iteratorMap;
|
|
1454
1454
|
var IS_PURE$1 = isPure;
|
|
1455
1455
|
|
|
1456
1456
|
// `Iterator.prototype.map` method
|
|
1457
1457
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1458
|
-
$$
|
|
1458
|
+
$$f({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
1459
1459
|
map: map
|
|
1460
1460
|
});
|
|
1461
1461
|
|
|
@@ -1512,12 +1512,12 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
1514
1514
|
var uncurryThis$g = functionUncurryThis;
|
|
1515
|
-
var aCallable$
|
|
1515
|
+
var aCallable$7 = aCallable$a;
|
|
1516
1516
|
|
|
1517
1517
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1518
1518
|
try {
|
|
1519
1519
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1520
|
-
return uncurryThis$g(aCallable$
|
|
1520
|
+
return uncurryThis$g(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1521
1521
|
} catch (error) { /* empty */ }
|
|
1522
1522
|
};
|
|
1523
1523
|
|
|
@@ -1566,7 +1566,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1566
1566
|
};
|
|
1567
1567
|
}() : undefined);
|
|
1568
1568
|
|
|
1569
|
-
var $$
|
|
1569
|
+
var $$e = _export;
|
|
1570
1570
|
var call$g = functionCall;
|
|
1571
1571
|
var FunctionName = functionName;
|
|
1572
1572
|
var isCallable$a = isCallable$o;
|
|
@@ -1654,7 +1654,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1654
1654
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1655
1655
|
defineBuiltIn$8(IterablePrototype, KEY, methods[KEY]);
|
|
1656
1656
|
}
|
|
1657
|
-
} else $$
|
|
1657
|
+
} else $$e({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
1660
|
// define iterator
|
|
@@ -1885,10 +1885,12 @@ const ErrorMessage = () => {
|
|
|
1885
1885
|
};
|
|
1886
1886
|
|
|
1887
1887
|
function styleInject(css, ref) {
|
|
1888
|
-
if (
|
|
1888
|
+
if (ref === void 0) ref = {};
|
|
1889
1889
|
var insertAt = ref.insertAt;
|
|
1890
1890
|
|
|
1891
|
-
if (
|
|
1891
|
+
if (typeof document === 'undefined') {
|
|
1892
|
+
return;
|
|
1893
|
+
}
|
|
1892
1894
|
|
|
1893
1895
|
var head = document.head || document.getElementsByTagName('head')[0];
|
|
1894
1896
|
var style = document.createElement('style');
|
|
@@ -1911,13 +1913,15 @@ function styleInject(css, ref) {
|
|
|
1911
1913
|
}
|
|
1912
1914
|
}
|
|
1913
1915
|
|
|
1914
|
-
var
|
|
1915
|
-
var styles$1 = {"row":"Row-module_row__PS0UP"};
|
|
1916
|
-
styleInject(css_248z$1);
|
|
1916
|
+
var css$1 = "._row_1e5l5_1 {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n gap: 1rem;\n}\n";
|
|
1917
1917
|
|
|
1918
|
-
|
|
1919
|
-
var styles = {"
|
|
1920
|
-
|
|
1918
|
+
styleInject(css$1);
|
|
1919
|
+
var styles$1 = {"row":"_row_1e5l5_1"};
|
|
1920
|
+
|
|
1921
|
+
var css = "._col-start-1_1myqa_1 {\n grid-column-start: 1;\n}\n\n._col-start-2_1myqa_5 {\n grid-column-start: 2;\n}\n\n._col-start-3_1myqa_9 {\n grid-column-start: 3;\n}\n\n._col-start-4_1myqa_13 {\n grid-column-start: 4;\n}\n\n._col-start-5_1myqa_17 {\n grid-column-start: 5;\n}\n\n._col-start-6_1myqa_21 {\n grid-column-start: 6;\n}\n\n._col-start-7_1myqa_25 {\n grid-column-start: 7;\n}\n\n._col-start-8_1myqa_29 {\n grid-column-start: 8;\n}\n\n._col-start-9_1myqa_33 {\n grid-column-start: 9;\n}\n\n._col-start-10_1myqa_37 {\n grid-column-start: 10;\n}\n\n._col-start-11_1myqa_41 {\n grid-column-start: 11;\n}\n\n._col-start-12_1myqa_45 {\n grid-column-start: 12;\n}\n\n._col-end-1_1myqa_49 {\n grid-column-end: 1;\n}\n\n._col-end-2_1myqa_53 {\n grid-column-end: 2;\n}\n\n._col-end-3_1myqa_57 {\n grid-column-end: 3;\n}\n\n._col-end-4_1myqa_61 {\n grid-column-end: 4;\n}\n\n._col-end-5_1myqa_65 {\n grid-column-end: 5;\n}\n\n._col-end-6_1myqa_69 {\n grid-column-end: 6;\n}\n\n._col-end-7_1myqa_73 {\n grid-column-end: 7;\n}\n\n._col-end-8_1myqa_77 {\n grid-column-end: 8;\n}\n\n._col-end-9_1myqa_81 {\n grid-column-end: 9;\n}\n\n._col-end-10_1myqa_85 {\n grid-column-end: 10;\n}\n\n._col-end-11_1myqa_89 {\n grid-column-end: 11;\n}\n\n._col-end-12_1myqa_93 {\n grid-column-end: 12;\n}\n\n._col-end-13_1myqa_97 {\n grid-column-end: 13;\n}\n";
|
|
1922
|
+
|
|
1923
|
+
styleInject(css);
|
|
1924
|
+
var styles = {"col-start-1":"_col-start-1_1myqa_1","col-start-2":"_col-start-2_1myqa_5","col-start-3":"_col-start-3_1myqa_9","col-start-4":"_col-start-4_1myqa_13","col-start-5":"_col-start-5_1myqa_17","col-start-6":"_col-start-6_1myqa_21","col-start-7":"_col-start-7_1myqa_25","col-start-8":"_col-start-8_1myqa_29","col-start-9":"_col-start-9_1myqa_33","col-start-10":"_col-start-10_1myqa_37","col-start-11":"_col-start-11_1myqa_41","col-start-12":"_col-start-12_1myqa_45","col-end-1":"_col-end-1_1myqa_49","col-end-2":"_col-end-2_1myqa_53","col-end-3":"_col-end-3_1myqa_57","col-end-4":"_col-end-4_1myqa_61","col-end-5":"_col-end-5_1myqa_65","col-end-6":"_col-end-6_1myqa_69","col-end-7":"_col-end-7_1myqa_73","col-end-8":"_col-end-8_1myqa_77","col-end-9":"_col-end-9_1myqa_81","col-end-10":"_col-end-10_1myqa_85","col-end-11":"_col-end-11_1myqa_89","col-end-12":"_col-end-12_1myqa_93","col-end-13":"_col-end-13_1myqa_97"};
|
|
1921
1925
|
|
|
1922
1926
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1923
1927
|
|
|
@@ -2021,7 +2025,7 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
2021
2025
|
};
|
|
2022
2026
|
};
|
|
2023
2027
|
|
|
2024
|
-
var $$
|
|
2028
|
+
var $$d = _export;
|
|
2025
2029
|
var getBuiltIn$4 = getBuiltIn$8;
|
|
2026
2030
|
var apply$1 = functionApply;
|
|
2027
2031
|
var call$e = functionCall;
|
|
@@ -2084,7 +2088,7 @@ var fixIllFormed = function (match, offset, string) {
|
|
|
2084
2088
|
if ($stringify) {
|
|
2085
2089
|
// `JSON.stringify` method
|
|
2086
2090
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
2087
|
-
$$
|
|
2091
|
+
$$d({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
2088
2092
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2089
2093
|
stringify: function stringify(it, replacer, space) {
|
|
2090
2094
|
var args = arraySlice$3(arguments);
|
|
@@ -2151,13 +2155,13 @@ var objectAssign = !$assign || fails$9(function () {
|
|
|
2151
2155
|
} return T;
|
|
2152
2156
|
} : $assign;
|
|
2153
2157
|
|
|
2154
|
-
var $$
|
|
2158
|
+
var $$c = _export;
|
|
2155
2159
|
var assign$1 = objectAssign;
|
|
2156
2160
|
|
|
2157
2161
|
// `Object.assign` method
|
|
2158
2162
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2159
2163
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2160
|
-
$$
|
|
2164
|
+
$$c({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
|
2161
2165
|
assign: assign$1
|
|
2162
2166
|
});
|
|
2163
2167
|
|
|
@@ -2726,12 +2730,12 @@ const useEditableDotCMSPage = pageResponse => {
|
|
|
2726
2730
|
return updatedPageResponse;
|
|
2727
2731
|
};
|
|
2728
2732
|
|
|
2729
|
-
var anObject$
|
|
2733
|
+
var anObject$9 = anObject$i;
|
|
2730
2734
|
|
|
2731
2735
|
// `RegExp.prototype.flags` getter implementation
|
|
2732
2736
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2733
2737
|
var regexpFlags$1 = function () {
|
|
2734
|
-
var that = anObject$
|
|
2738
|
+
var that = anObject$9(this);
|
|
2735
2739
|
var result = '';
|
|
2736
2740
|
if (that.hasIndices) result += 'd';
|
|
2737
2741
|
if (that.global) result += 'g';
|
|
@@ -2759,7 +2763,7 @@ var regexpGetFlags = function (R) {
|
|
|
2759
2763
|
|
|
2760
2764
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
2761
2765
|
var defineBuiltIn$7 = defineBuiltIn$c;
|
|
2762
|
-
var anObject$
|
|
2766
|
+
var anObject$8 = anObject$i;
|
|
2763
2767
|
var $toString$2 = toString$8;
|
|
2764
2768
|
var fails$8 = fails$m;
|
|
2765
2769
|
var getRegExpFlags = regexpGetFlags;
|
|
@@ -2776,7 +2780,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING
|
|
|
2776
2780
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2777
2781
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2778
2782
|
defineBuiltIn$7(RegExpPrototype$1, TO_STRING, function toString() {
|
|
2779
|
-
var R = anObject$
|
|
2783
|
+
var R = anObject$8(this);
|
|
2780
2784
|
var pattern = $toString$2(R.source);
|
|
2781
2785
|
var flags = $toString$2(getRegExpFlags(R));
|
|
2782
2786
|
return '/' + pattern + '/' + flags;
|
|
@@ -2904,14 +2908,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2904
2908
|
};
|
|
2905
2909
|
|
|
2906
2910
|
var uncurryThis$9 = functionUncurryThisClause;
|
|
2907
|
-
var aCallable$
|
|
2911
|
+
var aCallable$6 = aCallable$a;
|
|
2908
2912
|
var NATIVE_BIND = functionBindNative;
|
|
2909
2913
|
|
|
2910
2914
|
var bind$7 = uncurryThis$9(uncurryThis$9.bind);
|
|
2911
2915
|
|
|
2912
2916
|
// optional / simple context binding
|
|
2913
2917
|
var functionBindContext = function (fn, that) {
|
|
2914
|
-
aCallable$
|
|
2918
|
+
aCallable$6(fn);
|
|
2915
2919
|
return that === undefined ? fn : NATIVE_BIND ? bind$7(fn, that) : function (/* ...args */) {
|
|
2916
2920
|
return fn.apply(that, arguments);
|
|
2917
2921
|
};
|
|
@@ -2995,8 +2999,8 @@ var getIteratorMethod$4 = function (it) {
|
|
|
2995
2999
|
};
|
|
2996
3000
|
|
|
2997
3001
|
var call$b = functionCall;
|
|
2998
|
-
var aCallable$
|
|
2999
|
-
var anObject$
|
|
3002
|
+
var aCallable$5 = aCallable$a;
|
|
3003
|
+
var anObject$7 = anObject$i;
|
|
3000
3004
|
var tryToString$2 = tryToString$4;
|
|
3001
3005
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
3002
3006
|
|
|
@@ -3004,7 +3008,7 @@ var $TypeError$5 = TypeError;
|
|
|
3004
3008
|
|
|
3005
3009
|
var getIterator$3 = function (argument, usingIterator) {
|
|
3006
3010
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
3007
|
-
if (aCallable$
|
|
3011
|
+
if (aCallable$5(iteratorMethod)) return anObject$7(call$b(iteratorMethod, argument));
|
|
3008
3012
|
throw new $TypeError$5(tryToString$2(argument) + ' is not iterable');
|
|
3009
3013
|
};
|
|
3010
3014
|
|
|
@@ -3299,7 +3303,7 @@ var arraySort$1 = sort;
|
|
|
3299
3303
|
|
|
3300
3304
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
3301
3305
|
|
|
3302
|
-
var $$
|
|
3306
|
+
var $$b = _export;
|
|
3303
3307
|
var global$b = global$o;
|
|
3304
3308
|
var safeGetBuiltIn$1 = safeGetBuiltIn$2;
|
|
3305
3309
|
var call$9 = functionCall;
|
|
@@ -3317,7 +3321,7 @@ var isCallable$5 = isCallable$o;
|
|
|
3317
3321
|
var hasOwn$2 = hasOwnProperty_1;
|
|
3318
3322
|
var bind$5 = functionBindContext;
|
|
3319
3323
|
var classof$2 = classof$7;
|
|
3320
|
-
var anObject$
|
|
3324
|
+
var anObject$6 = anObject$i;
|
|
3321
3325
|
var isObject$2 = isObject$b;
|
|
3322
3326
|
var $toString$1 = toString$8;
|
|
3323
3327
|
var create$1 = objectCreate;
|
|
@@ -3448,7 +3452,7 @@ URLSearchParamsState.prototype = {
|
|
|
3448
3452
|
iterator = getIterator$1(object, iteratorMethod);
|
|
3449
3453
|
next = iterator.next;
|
|
3450
3454
|
while (!(step = call$9(next, iterator)).done) {
|
|
3451
|
-
entryIterator = getIterator$1(anObject$
|
|
3455
|
+
entryIterator = getIterator$1(anObject$6(step.value));
|
|
3452
3456
|
entryNext = entryIterator.next;
|
|
3453
3457
|
if (
|
|
3454
3458
|
(first = call$9(entryNext, entryIterator)).done ||
|
|
@@ -3659,7 +3663,7 @@ if (DESCRIPTORS$3) defineBuiltInAccessor$3(URLSearchParamsPrototype$3, 'size', {
|
|
|
3659
3663
|
|
|
3660
3664
|
setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
|
|
3661
3665
|
|
|
3662
|
-
$$
|
|
3666
|
+
$$b({ global: true, constructor: true, forced: !USE_NATIVE_URL$1 }, {
|
|
3663
3667
|
URLSearchParams: URLSearchParamsConstructor
|
|
3664
3668
|
});
|
|
3665
3669
|
|
|
@@ -3686,7 +3690,7 @@ if (!USE_NATIVE_URL$1 && isCallable$5(Headers)) {
|
|
|
3686
3690
|
};
|
|
3687
3691
|
|
|
3688
3692
|
if (isCallable$5(nativeFetch)) {
|
|
3689
|
-
$$
|
|
3693
|
+
$$b({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
|
|
3690
3694
|
fetch: function fetch(input /* , init */) {
|
|
3691
3695
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
3692
3696
|
}
|
|
@@ -3702,7 +3706,7 @@ if (!USE_NATIVE_URL$1 && isCallable$5(Headers)) {
|
|
|
3702
3706
|
RequestPrototype.constructor = RequestConstructor;
|
|
3703
3707
|
RequestConstructor.prototype = RequestPrototype;
|
|
3704
3708
|
|
|
3705
|
-
$$
|
|
3709
|
+
$$b({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
|
|
3706
3710
|
Request: RequestConstructor
|
|
3707
3711
|
});
|
|
3708
3712
|
}
|
|
@@ -3715,7 +3719,7 @@ var web_urlSearchParams_constructor = {
|
|
|
3715
3719
|
|
|
3716
3720
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
3717
3721
|
|
|
3718
|
-
var $$
|
|
3722
|
+
var $$a = _export;
|
|
3719
3723
|
var DESCRIPTORS$2 = descriptors;
|
|
3720
3724
|
var USE_NATIVE_URL = urlConstructorDetection;
|
|
3721
3725
|
var global$a = global$o;
|
|
@@ -4757,16 +4761,16 @@ if (NativeURL) {
|
|
|
4757
4761
|
|
|
4758
4762
|
setToStringTag$1(URLConstructor, 'URL');
|
|
4759
4763
|
|
|
4760
|
-
$$
|
|
4764
|
+
$$a({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
|
|
4761
4765
|
URL: URLConstructor
|
|
4762
4766
|
});
|
|
4763
4767
|
|
|
4764
|
-
var $$
|
|
4768
|
+
var $$9 = _export;
|
|
4765
4769
|
var call$8 = functionCall;
|
|
4766
4770
|
|
|
4767
4771
|
// `URL.prototype.toJSON` method
|
|
4768
4772
|
// https://url.spec.whatwg.org/#dom-url-tojson
|
|
4769
|
-
$$
|
|
4773
|
+
$$9({ target: 'URL', proto: true, enumerable: true }, {
|
|
4770
4774
|
toJSON: function toJSON() {
|
|
4771
4775
|
return call$8(URL.prototype.toString, this);
|
|
4772
4776
|
}
|
|
@@ -5164,6 +5168,136 @@ const DotContent = ({
|
|
|
5164
5168
|
});
|
|
5165
5169
|
};
|
|
5166
5170
|
|
|
5171
|
+
var bind$3 = functionBindContext;
|
|
5172
|
+
var call$7 = functionCall;
|
|
5173
|
+
var anObject$5 = anObject$i;
|
|
5174
|
+
var tryToString$1 = tryToString$4;
|
|
5175
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
5176
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
5177
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
5178
|
+
var getIterator = getIterator$3;
|
|
5179
|
+
var getIteratorMethod = getIteratorMethod$4;
|
|
5180
|
+
var iteratorClose = iteratorClose$3;
|
|
5181
|
+
|
|
5182
|
+
var $TypeError$3 = TypeError;
|
|
5183
|
+
|
|
5184
|
+
var Result = function (stopped, result) {
|
|
5185
|
+
this.stopped = stopped;
|
|
5186
|
+
this.result = result;
|
|
5187
|
+
};
|
|
5188
|
+
|
|
5189
|
+
var ResultPrototype = Result.prototype;
|
|
5190
|
+
|
|
5191
|
+
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
5192
|
+
var that = options && options.that;
|
|
5193
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
5194
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
5195
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
5196
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
5197
|
+
var fn = bind$3(unboundFunction, that);
|
|
5198
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
5199
|
+
|
|
5200
|
+
var stop = function (condition) {
|
|
5201
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
5202
|
+
return new Result(true, condition);
|
|
5203
|
+
};
|
|
5204
|
+
|
|
5205
|
+
var callFn = function (value) {
|
|
5206
|
+
if (AS_ENTRIES) {
|
|
5207
|
+
anObject$5(value);
|
|
5208
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
5209
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
5210
|
+
};
|
|
5211
|
+
|
|
5212
|
+
if (IS_RECORD) {
|
|
5213
|
+
iterator = iterable.iterator;
|
|
5214
|
+
} else if (IS_ITERATOR) {
|
|
5215
|
+
iterator = iterable;
|
|
5216
|
+
} else {
|
|
5217
|
+
iterFn = getIteratorMethod(iterable);
|
|
5218
|
+
if (!iterFn) throw new $TypeError$3(tryToString$1(iterable) + ' is not iterable');
|
|
5219
|
+
// optimisation for array iterators
|
|
5220
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
5221
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
5222
|
+
result = callFn(iterable[index]);
|
|
5223
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5224
|
+
} return new Result(false);
|
|
5225
|
+
}
|
|
5226
|
+
iterator = getIterator(iterable, iterFn);
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
5230
|
+
while (!(step = call$7(next, iterator)).done) {
|
|
5231
|
+
try {
|
|
5232
|
+
result = callFn(step.value);
|
|
5233
|
+
} catch (error) {
|
|
5234
|
+
iteratorClose(iterator, 'throw', error);
|
|
5235
|
+
}
|
|
5236
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5237
|
+
} return new Result(false);
|
|
5238
|
+
};
|
|
5239
|
+
|
|
5240
|
+
var $$8 = _export;
|
|
5241
|
+
var iterate$2 = iterate$3;
|
|
5242
|
+
var aCallable$4 = aCallable$a;
|
|
5243
|
+
var anObject$4 = anObject$i;
|
|
5244
|
+
var getIteratorDirect = getIteratorDirect$2;
|
|
5245
|
+
|
|
5246
|
+
// `Iterator.prototype.every` method
|
|
5247
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
5248
|
+
$$8({ target: 'Iterator', proto: true, real: true }, {
|
|
5249
|
+
every: function every(predicate) {
|
|
5250
|
+
anObject$4(this);
|
|
5251
|
+
aCallable$4(predicate);
|
|
5252
|
+
var record = getIteratorDirect(this);
|
|
5253
|
+
var counter = 0;
|
|
5254
|
+
return !iterate$2(record, function (value, stop) {
|
|
5255
|
+
if (!predicate(value, counter++)) return stop();
|
|
5256
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
5257
|
+
}
|
|
5258
|
+
});
|
|
5259
|
+
|
|
5260
|
+
/**
|
|
5261
|
+
* Renders a grid block with two columns using a 12-column grid system.
|
|
5262
|
+
*
|
|
5263
|
+
* @param node - The grid block node containing column configuration.
|
|
5264
|
+
* @param blockEditorBlock - The block editor component for rendering nested content.
|
|
5265
|
+
* @param customRenderers - Optional custom renderers for nested blocks.
|
|
5266
|
+
*/
|
|
5267
|
+
const GridBlock = ({
|
|
5268
|
+
node,
|
|
5269
|
+
blockEditorBlock,
|
|
5270
|
+
customRenderers
|
|
5271
|
+
}) => {
|
|
5272
|
+
var _node$attrs, _node$content;
|
|
5273
|
+
const BlockEditorBlockComponent = blockEditorBlock;
|
|
5274
|
+
const rawCols = Array.isArray((_node$attrs = node.attrs) == null ? void 0 : _node$attrs.columns) ? node.attrs.columns : [6, 6];
|
|
5275
|
+
const cols = rawCols.length === 2 && rawCols.every(v => typeof v === 'number' && Number.isFinite(v)) ? rawCols : [6, 6];
|
|
5276
|
+
return jsx("div", {
|
|
5277
|
+
"data-type": "gridBlock",
|
|
5278
|
+
className: "grid-block",
|
|
5279
|
+
style: {
|
|
5280
|
+
display: 'grid',
|
|
5281
|
+
gridTemplateColumns: 'repeat(12, 1fr)',
|
|
5282
|
+
gap: '1rem'
|
|
5283
|
+
},
|
|
5284
|
+
children: (_node$content = node.content) == null ? void 0 : _node$content.map((column, index) => {
|
|
5285
|
+
var _cols$index;
|
|
5286
|
+
return jsx("div", {
|
|
5287
|
+
"data-type": "gridColumn",
|
|
5288
|
+
className: "grid-block__column",
|
|
5289
|
+
style: {
|
|
5290
|
+
gridColumn: `span ${(_cols$index = cols[index]) != null ? _cols$index : 6}`
|
|
5291
|
+
},
|
|
5292
|
+
children: jsx(BlockEditorBlockComponent, {
|
|
5293
|
+
content: column.content,
|
|
5294
|
+
customRenderers: customRenderers
|
|
5295
|
+
})
|
|
5296
|
+
}, `gridColumn-${index}`);
|
|
5297
|
+
})
|
|
5298
|
+
});
|
|
5299
|
+
};
|
|
5300
|
+
|
|
5167
5301
|
/**
|
|
5168
5302
|
* Renders an image component for dotCMS.
|
|
5169
5303
|
*
|
|
@@ -5565,6 +5699,12 @@ const BlockEditorBlock = ({
|
|
|
5565
5699
|
content: (_node$content = node.content) != null ? _node$content : [],
|
|
5566
5700
|
blockEditorItem: BlockEditorBlock
|
|
5567
5701
|
}, key);
|
|
5702
|
+
case BlockEditorDefaultBlocks.GRID_BLOCK:
|
|
5703
|
+
return jsx(GridBlock, {
|
|
5704
|
+
node: node,
|
|
5705
|
+
blockEditorBlock: BlockEditorBlock,
|
|
5706
|
+
customRenderers: customRenderers
|
|
5707
|
+
}, key);
|
|
5568
5708
|
case BlockEditorDefaultBlocks.DOT_CONTENT:
|
|
5569
5709
|
return jsx(DotContent, {
|
|
5570
5710
|
customRenderers: customRenderers,
|
|
@@ -5699,17 +5839,17 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
5699
5839
|
};
|
|
5700
5840
|
|
|
5701
5841
|
var isConstructor = isConstructor$2;
|
|
5702
|
-
var tryToString
|
|
5842
|
+
var tryToString = tryToString$4;
|
|
5703
5843
|
|
|
5704
|
-
var $TypeError$
|
|
5844
|
+
var $TypeError$2 = TypeError;
|
|
5705
5845
|
|
|
5706
5846
|
// `Assert: IsConstructor(argument) is true`
|
|
5707
5847
|
var aConstructor$1 = function (argument) {
|
|
5708
5848
|
if (isConstructor(argument)) return argument;
|
|
5709
|
-
throw new $TypeError$
|
|
5849
|
+
throw new $TypeError$2(tryToString(argument) + ' is not a constructor');
|
|
5710
5850
|
};
|
|
5711
5851
|
|
|
5712
|
-
var anObject$
|
|
5852
|
+
var anObject$3 = anObject$i;
|
|
5713
5853
|
var aConstructor = aConstructor$1;
|
|
5714
5854
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
5715
5855
|
var wellKnownSymbol$3 = wellKnownSymbol$j;
|
|
@@ -5719,9 +5859,9 @@ var SPECIES$2 = wellKnownSymbol$3('species');
|
|
|
5719
5859
|
// `SpeciesConstructor` abstract operation
|
|
5720
5860
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
5721
5861
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
5722
|
-
var C = anObject$
|
|
5862
|
+
var C = anObject$3(O).constructor;
|
|
5723
5863
|
var S;
|
|
5724
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
5864
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$3(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
5725
5865
|
};
|
|
5726
5866
|
|
|
5727
5867
|
var userAgent$2 = engineUserAgent;
|
|
@@ -5731,7 +5871,7 @@ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
|
5731
5871
|
|
|
5732
5872
|
var global$8 = global$o;
|
|
5733
5873
|
var apply = functionApply;
|
|
5734
|
-
var bind$
|
|
5874
|
+
var bind$2 = functionBindContext;
|
|
5735
5875
|
var isCallable$4 = isCallable$o;
|
|
5736
5876
|
var hasOwn = hasOwnProperty_1;
|
|
5737
5877
|
var fails$5 = fails$m;
|
|
@@ -5813,7 +5953,7 @@ if (!set || !clear) {
|
|
|
5813
5953
|
channel = new MessageChannel();
|
|
5814
5954
|
port = channel.port2;
|
|
5815
5955
|
channel.port1.onmessage = eventListener;
|
|
5816
|
-
defer = bind$
|
|
5956
|
+
defer = bind$2(port.postMessage, port);
|
|
5817
5957
|
// Browsers with postMessage, skip WebWorkers
|
|
5818
5958
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5819
5959
|
} else if (
|
|
@@ -5879,7 +6019,7 @@ var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
5879
6019
|
|
|
5880
6020
|
var global$7 = global$o;
|
|
5881
6021
|
var safeGetBuiltIn = safeGetBuiltIn$2;
|
|
5882
|
-
var bind$
|
|
6022
|
+
var bind$1 = functionBindContext;
|
|
5883
6023
|
var macrotask = task$1.set;
|
|
5884
6024
|
var Queue$1 = queue$1;
|
|
5885
6025
|
var IS_IOS = engineIsIos;
|
|
@@ -5925,7 +6065,7 @@ if (!microtask$1) {
|
|
|
5925
6065
|
promise = Promise$1.resolve(undefined);
|
|
5926
6066
|
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
5927
6067
|
promise.constructor = Promise$1;
|
|
5928
|
-
then = bind$
|
|
6068
|
+
then = bind$1(promise.then, promise);
|
|
5929
6069
|
notify$1 = function () {
|
|
5930
6070
|
then(flush);
|
|
5931
6071
|
};
|
|
@@ -5942,7 +6082,7 @@ if (!microtask$1) {
|
|
|
5942
6082
|
// - setTimeout
|
|
5943
6083
|
} else {
|
|
5944
6084
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
5945
|
-
macrotask = bind$
|
|
6085
|
+
macrotask = bind$1(macrotask, global$7);
|
|
5946
6086
|
notify$1 = function () {
|
|
5947
6087
|
macrotask(flush);
|
|
5948
6088
|
};
|
|
@@ -6032,14 +6172,14 @@ var promiseConstructorDetection = {
|
|
|
6032
6172
|
|
|
6033
6173
|
var newPromiseCapability$2 = {};
|
|
6034
6174
|
|
|
6035
|
-
var aCallable$3 = aCallable$
|
|
6175
|
+
var aCallable$3 = aCallable$a;
|
|
6036
6176
|
|
|
6037
|
-
var $TypeError$
|
|
6177
|
+
var $TypeError$1 = TypeError;
|
|
6038
6178
|
|
|
6039
6179
|
var PromiseCapability = function (C) {
|
|
6040
6180
|
var resolve, reject;
|
|
6041
6181
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
6042
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
6182
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$1('Bad Promise constructor');
|
|
6043
6183
|
resolve = $$resolve;
|
|
6044
6184
|
reject = $$reject;
|
|
6045
6185
|
});
|
|
@@ -6056,12 +6196,12 @@ newPromiseCapability$2.f = function (C) {
|
|
|
6056
6196
|
var $$7 = _export;
|
|
6057
6197
|
var IS_NODE = engineIsNode;
|
|
6058
6198
|
var global$4 = global$o;
|
|
6059
|
-
var call$
|
|
6199
|
+
var call$6 = functionCall;
|
|
6060
6200
|
var defineBuiltIn$2 = defineBuiltIn$c;
|
|
6061
6201
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
6062
6202
|
var setToStringTag = setToStringTag$6;
|
|
6063
6203
|
var setSpecies = setSpecies$1;
|
|
6064
|
-
var aCallable$2 = aCallable$
|
|
6204
|
+
var aCallable$2 = aCallable$a;
|
|
6065
6205
|
var isCallable$2 = isCallable$o;
|
|
6066
6206
|
var isObject$1 = isObject$b;
|
|
6067
6207
|
var anInstance = anInstance$4;
|
|
@@ -6134,7 +6274,7 @@ var callReaction = function (reaction, state) {
|
|
|
6134
6274
|
if (result === reaction.promise) {
|
|
6135
6275
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
6136
6276
|
} else if (then = isThenable(result)) {
|
|
6137
|
-
call$
|
|
6277
|
+
call$6(then, result, resolve, reject);
|
|
6138
6278
|
} else resolve(result);
|
|
6139
6279
|
} else reject(value);
|
|
6140
6280
|
} catch (error) {
|
|
@@ -6171,7 +6311,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
6171
6311
|
};
|
|
6172
6312
|
|
|
6173
6313
|
var onUnhandled = function (state) {
|
|
6174
|
-
call$
|
|
6314
|
+
call$6(task, global$4, function () {
|
|
6175
6315
|
var promise = state.facade;
|
|
6176
6316
|
var value = state.value;
|
|
6177
6317
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -6194,7 +6334,7 @@ var isUnhandled = function (state) {
|
|
|
6194
6334
|
};
|
|
6195
6335
|
|
|
6196
6336
|
var onHandleUnhandled = function (state) {
|
|
6197
|
-
call$
|
|
6337
|
+
call$6(task, global$4, function () {
|
|
6198
6338
|
var promise = state.facade;
|
|
6199
6339
|
if (IS_NODE) {
|
|
6200
6340
|
process.emit('rejectionHandled', promise);
|
|
@@ -6202,7 +6342,7 @@ var onHandleUnhandled = function (state) {
|
|
|
6202
6342
|
});
|
|
6203
6343
|
};
|
|
6204
6344
|
|
|
6205
|
-
var bind
|
|
6345
|
+
var bind = function (fn, state, unwrap) {
|
|
6206
6346
|
return function (value) {
|
|
6207
6347
|
fn(state, value, unwrap);
|
|
6208
6348
|
};
|
|
@@ -6228,9 +6368,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6228
6368
|
microtask(function () {
|
|
6229
6369
|
var wrapper = { done: false };
|
|
6230
6370
|
try {
|
|
6231
|
-
call$
|
|
6232
|
-
bind
|
|
6233
|
-
bind
|
|
6371
|
+
call$6(then, value,
|
|
6372
|
+
bind(internalResolve, wrapper, state),
|
|
6373
|
+
bind(internalReject, wrapper, state)
|
|
6234
6374
|
);
|
|
6235
6375
|
} catch (error) {
|
|
6236
6376
|
internalReject(wrapper, error, state);
|
|
@@ -6252,10 +6392,10 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
6252
6392
|
PromiseConstructor = function Promise(executor) {
|
|
6253
6393
|
anInstance(this, PromisePrototype);
|
|
6254
6394
|
aCallable$2(executor);
|
|
6255
|
-
call$
|
|
6395
|
+
call$6(Internal, this);
|
|
6256
6396
|
var state = getInternalPromiseState(this);
|
|
6257
6397
|
try {
|
|
6258
|
-
executor(bind
|
|
6398
|
+
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
6259
6399
|
} catch (error) {
|
|
6260
6400
|
internalReject(state, error);
|
|
6261
6401
|
}
|
|
@@ -6297,8 +6437,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
6297
6437
|
var promise = new Internal();
|
|
6298
6438
|
var state = getInternalPromiseState(promise);
|
|
6299
6439
|
this.promise = promise;
|
|
6300
|
-
this.resolve = bind
|
|
6301
|
-
this.reject = bind
|
|
6440
|
+
this.resolve = bind(internalResolve, state);
|
|
6441
|
+
this.reject = bind(internalReject, state);
|
|
6302
6442
|
};
|
|
6303
6443
|
|
|
6304
6444
|
newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
|
|
@@ -6315,7 +6455,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
6315
6455
|
defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
6316
6456
|
var that = this;
|
|
6317
6457
|
return new PromiseConstructor(function (resolve, reject) {
|
|
6318
|
-
call$
|
|
6458
|
+
call$6(nativeThen, that, resolve, reject);
|
|
6319
6459
|
}).then(onFulfilled, onRejected);
|
|
6320
6460
|
// https://github.com/zloirock/core-js/issues/640
|
|
6321
6461
|
}, { unsafe: true });
|
|
@@ -6340,75 +6480,6 @@ $$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
|
|
|
6340
6480
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
6341
6481
|
setSpecies(PROMISE);
|
|
6342
6482
|
|
|
6343
|
-
var bind = functionBindContext;
|
|
6344
|
-
var call$6 = functionCall;
|
|
6345
|
-
var anObject$3 = anObject$h;
|
|
6346
|
-
var tryToString = tryToString$4;
|
|
6347
|
-
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
6348
|
-
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
6349
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
6350
|
-
var getIterator = getIterator$3;
|
|
6351
|
-
var getIteratorMethod = getIteratorMethod$4;
|
|
6352
|
-
var iteratorClose = iteratorClose$3;
|
|
6353
|
-
|
|
6354
|
-
var $TypeError$1 = TypeError;
|
|
6355
|
-
|
|
6356
|
-
var Result = function (stopped, result) {
|
|
6357
|
-
this.stopped = stopped;
|
|
6358
|
-
this.result = result;
|
|
6359
|
-
};
|
|
6360
|
-
|
|
6361
|
-
var ResultPrototype = Result.prototype;
|
|
6362
|
-
|
|
6363
|
-
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
6364
|
-
var that = options && options.that;
|
|
6365
|
-
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
6366
|
-
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
6367
|
-
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
6368
|
-
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
6369
|
-
var fn = bind(unboundFunction, that);
|
|
6370
|
-
var iterator, iterFn, index, length, result, next, step;
|
|
6371
|
-
|
|
6372
|
-
var stop = function (condition) {
|
|
6373
|
-
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
6374
|
-
return new Result(true, condition);
|
|
6375
|
-
};
|
|
6376
|
-
|
|
6377
|
-
var callFn = function (value) {
|
|
6378
|
-
if (AS_ENTRIES) {
|
|
6379
|
-
anObject$3(value);
|
|
6380
|
-
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
6381
|
-
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
6382
|
-
};
|
|
6383
|
-
|
|
6384
|
-
if (IS_RECORD) {
|
|
6385
|
-
iterator = iterable.iterator;
|
|
6386
|
-
} else if (IS_ITERATOR) {
|
|
6387
|
-
iterator = iterable;
|
|
6388
|
-
} else {
|
|
6389
|
-
iterFn = getIteratorMethod(iterable);
|
|
6390
|
-
if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
6391
|
-
// optimisation for array iterators
|
|
6392
|
-
if (isArrayIteratorMethod(iterFn)) {
|
|
6393
|
-
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
6394
|
-
result = callFn(iterable[index]);
|
|
6395
|
-
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
6396
|
-
} return new Result(false);
|
|
6397
|
-
}
|
|
6398
|
-
iterator = getIterator(iterable, iterFn);
|
|
6399
|
-
}
|
|
6400
|
-
|
|
6401
|
-
next = IS_RECORD ? iterable.next : iterator.next;
|
|
6402
|
-
while (!(step = call$6(next, iterator)).done) {
|
|
6403
|
-
try {
|
|
6404
|
-
result = callFn(step.value);
|
|
6405
|
-
} catch (error) {
|
|
6406
|
-
iteratorClose(iterator, 'throw', error);
|
|
6407
|
-
}
|
|
6408
|
-
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
6409
|
-
} return new Result(false);
|
|
6410
|
-
};
|
|
6411
|
-
|
|
6412
6483
|
var wellKnownSymbol$1 = wellKnownSymbol$j;
|
|
6413
6484
|
|
|
6414
6485
|
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
@@ -6460,10 +6531,10 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
6460
6531
|
|
|
6461
6532
|
var $$6 = _export;
|
|
6462
6533
|
var call$5 = functionCall;
|
|
6463
|
-
var aCallable$1 = aCallable$
|
|
6534
|
+
var aCallable$1 = aCallable$a;
|
|
6464
6535
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
6465
6536
|
var perform$1 = perform$3;
|
|
6466
|
-
var iterate$1 = iterate$
|
|
6537
|
+
var iterate$1 = iterate$3;
|
|
6467
6538
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
6468
6539
|
|
|
6469
6540
|
// `Promise.all` method
|
|
@@ -6524,10 +6595,10 @@ if (isCallable$1(NativePromiseConstructor)) {
|
|
|
6524
6595
|
|
|
6525
6596
|
var $$4 = _export;
|
|
6526
6597
|
var call$4 = functionCall;
|
|
6527
|
-
var aCallable = aCallable$
|
|
6598
|
+
var aCallable = aCallable$a;
|
|
6528
6599
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
6529
6600
|
var perform = perform$3;
|
|
6530
|
-
var iterate = iterate$
|
|
6601
|
+
var iterate = iterate$3;
|
|
6531
6602
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
6532
6603
|
|
|
6533
6604
|
// `Promise.race` method
|
|
@@ -6563,7 +6634,7 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
6563
6634
|
}
|
|
6564
6635
|
});
|
|
6565
6636
|
|
|
6566
|
-
var anObject$2 = anObject$
|
|
6637
|
+
var anObject$2 = anObject$i;
|
|
6567
6638
|
var isObject = isObject$b;
|
|
6568
6639
|
var newPromiseCapability = newPromiseCapability$2;
|
|
6569
6640
|
|
|
@@ -6853,7 +6924,7 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
6853
6924
|
};
|
|
6854
6925
|
|
|
6855
6926
|
var call$1 = functionCall;
|
|
6856
|
-
var anObject$1 = anObject$
|
|
6927
|
+
var anObject$1 = anObject$i;
|
|
6857
6928
|
var isCallable = isCallable$o;
|
|
6858
6929
|
var classof = classofRaw$2;
|
|
6859
6930
|
var regexpExec = regexpExec$2;
|
|
@@ -6875,7 +6946,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
6875
6946
|
|
|
6876
6947
|
var call = functionCall;
|
|
6877
6948
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
6878
|
-
var anObject = anObject$
|
|
6949
|
+
var anObject = anObject$i;
|
|
6879
6950
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
6880
6951
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
6881
6952
|
var sameValue = sameValue$1;
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BlockEditorNode } from '@dotcms/types';
|
|
2
|
+
import { CustomRenderer } from '../../DotCMSBlockEditorRenderer';
|
|
3
|
+
interface GridBlockProps {
|
|
4
|
+
node: BlockEditorNode;
|
|
5
|
+
customRenderers?: CustomRenderer;
|
|
6
|
+
blockEditorBlock: React.FC<{
|
|
7
|
+
content: BlockEditorNode[] | undefined;
|
|
8
|
+
customRenderers?: CustomRenderer;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders a grid block with two columns using a 12-column grid system.
|
|
13
|
+
*
|
|
14
|
+
* @param node - The grid block node containing column configuration.
|
|
15
|
+
* @param blockEditorBlock - The block editor component for rendering nested content.
|
|
16
|
+
* @param customRenderers - Optional custom renderers for nested blocks.
|
|
17
|
+
*/
|
|
18
|
+
export declare const GridBlock: ({ node, blockEditorBlock, customRenderers }: GridBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|