@dotcms/react 1.2.5-next.4 → 1.2.5-next.6
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
|
|
@@ -2021,7 +2021,7 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
2021
2021
|
};
|
|
2022
2022
|
};
|
|
2023
2023
|
|
|
2024
|
-
var $$
|
|
2024
|
+
var $$d = _export;
|
|
2025
2025
|
var getBuiltIn$4 = getBuiltIn$8;
|
|
2026
2026
|
var apply$1 = functionApply;
|
|
2027
2027
|
var call$e = functionCall;
|
|
@@ -2084,7 +2084,7 @@ var fixIllFormed = function (match, offset, string) {
|
|
|
2084
2084
|
if ($stringify) {
|
|
2085
2085
|
// `JSON.stringify` method
|
|
2086
2086
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
2087
|
-
$$
|
|
2087
|
+
$$d({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
2088
2088
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2089
2089
|
stringify: function stringify(it, replacer, space) {
|
|
2090
2090
|
var args = arraySlice$3(arguments);
|
|
@@ -2151,13 +2151,13 @@ var objectAssign = !$assign || fails$9(function () {
|
|
|
2151
2151
|
} return T;
|
|
2152
2152
|
} : $assign;
|
|
2153
2153
|
|
|
2154
|
-
var $$
|
|
2154
|
+
var $$c = _export;
|
|
2155
2155
|
var assign$1 = objectAssign;
|
|
2156
2156
|
|
|
2157
2157
|
// `Object.assign` method
|
|
2158
2158
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2159
2159
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2160
|
-
$$
|
|
2160
|
+
$$c({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
|
2161
2161
|
assign: assign$1
|
|
2162
2162
|
});
|
|
2163
2163
|
|
|
@@ -2726,12 +2726,12 @@ const useEditableDotCMSPage = pageResponse => {
|
|
|
2726
2726
|
return updatedPageResponse;
|
|
2727
2727
|
};
|
|
2728
2728
|
|
|
2729
|
-
var anObject$
|
|
2729
|
+
var anObject$9 = anObject$i;
|
|
2730
2730
|
|
|
2731
2731
|
// `RegExp.prototype.flags` getter implementation
|
|
2732
2732
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2733
2733
|
var regexpFlags$1 = function () {
|
|
2734
|
-
var that = anObject$
|
|
2734
|
+
var that = anObject$9(this);
|
|
2735
2735
|
var result = '';
|
|
2736
2736
|
if (that.hasIndices) result += 'd';
|
|
2737
2737
|
if (that.global) result += 'g';
|
|
@@ -2759,7 +2759,7 @@ var regexpGetFlags = function (R) {
|
|
|
2759
2759
|
|
|
2760
2760
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
2761
2761
|
var defineBuiltIn$7 = defineBuiltIn$c;
|
|
2762
|
-
var anObject$
|
|
2762
|
+
var anObject$8 = anObject$i;
|
|
2763
2763
|
var $toString$2 = toString$8;
|
|
2764
2764
|
var fails$8 = fails$m;
|
|
2765
2765
|
var getRegExpFlags = regexpGetFlags;
|
|
@@ -2776,7 +2776,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING
|
|
|
2776
2776
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2777
2777
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2778
2778
|
defineBuiltIn$7(RegExpPrototype$1, TO_STRING, function toString() {
|
|
2779
|
-
var R = anObject$
|
|
2779
|
+
var R = anObject$8(this);
|
|
2780
2780
|
var pattern = $toString$2(R.source);
|
|
2781
2781
|
var flags = $toString$2(getRegExpFlags(R));
|
|
2782
2782
|
return '/' + pattern + '/' + flags;
|
|
@@ -2904,14 +2904,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2904
2904
|
};
|
|
2905
2905
|
|
|
2906
2906
|
var uncurryThis$9 = functionUncurryThisClause;
|
|
2907
|
-
var aCallable$
|
|
2907
|
+
var aCallable$6 = aCallable$a;
|
|
2908
2908
|
var NATIVE_BIND = functionBindNative;
|
|
2909
2909
|
|
|
2910
2910
|
var bind$7 = uncurryThis$9(uncurryThis$9.bind);
|
|
2911
2911
|
|
|
2912
2912
|
// optional / simple context binding
|
|
2913
2913
|
var functionBindContext = function (fn, that) {
|
|
2914
|
-
aCallable$
|
|
2914
|
+
aCallable$6(fn);
|
|
2915
2915
|
return that === undefined ? fn : NATIVE_BIND ? bind$7(fn, that) : function (/* ...args */) {
|
|
2916
2916
|
return fn.apply(that, arguments);
|
|
2917
2917
|
};
|
|
@@ -2995,8 +2995,8 @@ var getIteratorMethod$4 = function (it) {
|
|
|
2995
2995
|
};
|
|
2996
2996
|
|
|
2997
2997
|
var call$b = functionCall;
|
|
2998
|
-
var aCallable$
|
|
2999
|
-
var anObject$
|
|
2998
|
+
var aCallable$5 = aCallable$a;
|
|
2999
|
+
var anObject$7 = anObject$i;
|
|
3000
3000
|
var tryToString$2 = tryToString$4;
|
|
3001
3001
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
3002
3002
|
|
|
@@ -3004,7 +3004,7 @@ var $TypeError$5 = TypeError;
|
|
|
3004
3004
|
|
|
3005
3005
|
var getIterator$3 = function (argument, usingIterator) {
|
|
3006
3006
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
3007
|
-
if (aCallable$
|
|
3007
|
+
if (aCallable$5(iteratorMethod)) return anObject$7(call$b(iteratorMethod, argument));
|
|
3008
3008
|
throw new $TypeError$5(tryToString$2(argument) + ' is not iterable');
|
|
3009
3009
|
};
|
|
3010
3010
|
|
|
@@ -3299,7 +3299,7 @@ var arraySort$1 = sort;
|
|
|
3299
3299
|
|
|
3300
3300
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
3301
3301
|
|
|
3302
|
-
var $$
|
|
3302
|
+
var $$b = _export;
|
|
3303
3303
|
var global$b = global$o;
|
|
3304
3304
|
var safeGetBuiltIn$1 = safeGetBuiltIn$2;
|
|
3305
3305
|
var call$9 = functionCall;
|
|
@@ -3317,7 +3317,7 @@ var isCallable$5 = isCallable$o;
|
|
|
3317
3317
|
var hasOwn$2 = hasOwnProperty_1;
|
|
3318
3318
|
var bind$5 = functionBindContext;
|
|
3319
3319
|
var classof$2 = classof$7;
|
|
3320
|
-
var anObject$
|
|
3320
|
+
var anObject$6 = anObject$i;
|
|
3321
3321
|
var isObject$2 = isObject$b;
|
|
3322
3322
|
var $toString$1 = toString$8;
|
|
3323
3323
|
var create$1 = objectCreate;
|
|
@@ -3448,7 +3448,7 @@ URLSearchParamsState.prototype = {
|
|
|
3448
3448
|
iterator = getIterator$1(object, iteratorMethod);
|
|
3449
3449
|
next = iterator.next;
|
|
3450
3450
|
while (!(step = call$9(next, iterator)).done) {
|
|
3451
|
-
entryIterator = getIterator$1(anObject$
|
|
3451
|
+
entryIterator = getIterator$1(anObject$6(step.value));
|
|
3452
3452
|
entryNext = entryIterator.next;
|
|
3453
3453
|
if (
|
|
3454
3454
|
(first = call$9(entryNext, entryIterator)).done ||
|
|
@@ -3659,7 +3659,7 @@ if (DESCRIPTORS$3) defineBuiltInAccessor$3(URLSearchParamsPrototype$3, 'size', {
|
|
|
3659
3659
|
|
|
3660
3660
|
setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
|
|
3661
3661
|
|
|
3662
|
-
$$
|
|
3662
|
+
$$b({ global: true, constructor: true, forced: !USE_NATIVE_URL$1 }, {
|
|
3663
3663
|
URLSearchParams: URLSearchParamsConstructor
|
|
3664
3664
|
});
|
|
3665
3665
|
|
|
@@ -3686,7 +3686,7 @@ if (!USE_NATIVE_URL$1 && isCallable$5(Headers)) {
|
|
|
3686
3686
|
};
|
|
3687
3687
|
|
|
3688
3688
|
if (isCallable$5(nativeFetch)) {
|
|
3689
|
-
$$
|
|
3689
|
+
$$b({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
|
|
3690
3690
|
fetch: function fetch(input /* , init */) {
|
|
3691
3691
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
3692
3692
|
}
|
|
@@ -3702,7 +3702,7 @@ if (!USE_NATIVE_URL$1 && isCallable$5(Headers)) {
|
|
|
3702
3702
|
RequestPrototype.constructor = RequestConstructor;
|
|
3703
3703
|
RequestConstructor.prototype = RequestPrototype;
|
|
3704
3704
|
|
|
3705
|
-
$$
|
|
3705
|
+
$$b({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
|
|
3706
3706
|
Request: RequestConstructor
|
|
3707
3707
|
});
|
|
3708
3708
|
}
|
|
@@ -3715,7 +3715,7 @@ var web_urlSearchParams_constructor = {
|
|
|
3715
3715
|
|
|
3716
3716
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
3717
3717
|
|
|
3718
|
-
var $$
|
|
3718
|
+
var $$a = _export;
|
|
3719
3719
|
var DESCRIPTORS$2 = descriptors;
|
|
3720
3720
|
var USE_NATIVE_URL = urlConstructorDetection;
|
|
3721
3721
|
var global$a = global$o;
|
|
@@ -4757,16 +4757,16 @@ if (NativeURL) {
|
|
|
4757
4757
|
|
|
4758
4758
|
setToStringTag$1(URLConstructor, 'URL');
|
|
4759
4759
|
|
|
4760
|
-
$$
|
|
4760
|
+
$$a({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
|
|
4761
4761
|
URL: URLConstructor
|
|
4762
4762
|
});
|
|
4763
4763
|
|
|
4764
|
-
var $$
|
|
4764
|
+
var $$9 = _export;
|
|
4765
4765
|
var call$8 = functionCall;
|
|
4766
4766
|
|
|
4767
4767
|
// `URL.prototype.toJSON` method
|
|
4768
4768
|
// https://url.spec.whatwg.org/#dom-url-tojson
|
|
4769
|
-
$$
|
|
4769
|
+
$$9({ target: 'URL', proto: true, enumerable: true }, {
|
|
4770
4770
|
toJSON: function toJSON() {
|
|
4771
4771
|
return call$8(URL.prototype.toString, this);
|
|
4772
4772
|
}
|
|
@@ -5164,6 +5164,136 @@ const DotContent = ({
|
|
|
5164
5164
|
});
|
|
5165
5165
|
};
|
|
5166
5166
|
|
|
5167
|
+
var bind$3 = functionBindContext;
|
|
5168
|
+
var call$7 = functionCall;
|
|
5169
|
+
var anObject$5 = anObject$i;
|
|
5170
|
+
var tryToString$1 = tryToString$4;
|
|
5171
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
5172
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
5173
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
5174
|
+
var getIterator = getIterator$3;
|
|
5175
|
+
var getIteratorMethod = getIteratorMethod$4;
|
|
5176
|
+
var iteratorClose = iteratorClose$3;
|
|
5177
|
+
|
|
5178
|
+
var $TypeError$3 = TypeError;
|
|
5179
|
+
|
|
5180
|
+
var Result = function (stopped, result) {
|
|
5181
|
+
this.stopped = stopped;
|
|
5182
|
+
this.result = result;
|
|
5183
|
+
};
|
|
5184
|
+
|
|
5185
|
+
var ResultPrototype = Result.prototype;
|
|
5186
|
+
|
|
5187
|
+
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
5188
|
+
var that = options && options.that;
|
|
5189
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
5190
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
5191
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
5192
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
5193
|
+
var fn = bind$3(unboundFunction, that);
|
|
5194
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
5195
|
+
|
|
5196
|
+
var stop = function (condition) {
|
|
5197
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
5198
|
+
return new Result(true, condition);
|
|
5199
|
+
};
|
|
5200
|
+
|
|
5201
|
+
var callFn = function (value) {
|
|
5202
|
+
if (AS_ENTRIES) {
|
|
5203
|
+
anObject$5(value);
|
|
5204
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
5205
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
5206
|
+
};
|
|
5207
|
+
|
|
5208
|
+
if (IS_RECORD) {
|
|
5209
|
+
iterator = iterable.iterator;
|
|
5210
|
+
} else if (IS_ITERATOR) {
|
|
5211
|
+
iterator = iterable;
|
|
5212
|
+
} else {
|
|
5213
|
+
iterFn = getIteratorMethod(iterable);
|
|
5214
|
+
if (!iterFn) throw new $TypeError$3(tryToString$1(iterable) + ' is not iterable');
|
|
5215
|
+
// optimisation for array iterators
|
|
5216
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
5217
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
5218
|
+
result = callFn(iterable[index]);
|
|
5219
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5220
|
+
} return new Result(false);
|
|
5221
|
+
}
|
|
5222
|
+
iterator = getIterator(iterable, iterFn);
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5225
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
5226
|
+
while (!(step = call$7(next, iterator)).done) {
|
|
5227
|
+
try {
|
|
5228
|
+
result = callFn(step.value);
|
|
5229
|
+
} catch (error) {
|
|
5230
|
+
iteratorClose(iterator, 'throw', error);
|
|
5231
|
+
}
|
|
5232
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5233
|
+
} return new Result(false);
|
|
5234
|
+
};
|
|
5235
|
+
|
|
5236
|
+
var $$8 = _export;
|
|
5237
|
+
var iterate$2 = iterate$3;
|
|
5238
|
+
var aCallable$4 = aCallable$a;
|
|
5239
|
+
var anObject$4 = anObject$i;
|
|
5240
|
+
var getIteratorDirect = getIteratorDirect$2;
|
|
5241
|
+
|
|
5242
|
+
// `Iterator.prototype.every` method
|
|
5243
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
5244
|
+
$$8({ target: 'Iterator', proto: true, real: true }, {
|
|
5245
|
+
every: function every(predicate) {
|
|
5246
|
+
anObject$4(this);
|
|
5247
|
+
aCallable$4(predicate);
|
|
5248
|
+
var record = getIteratorDirect(this);
|
|
5249
|
+
var counter = 0;
|
|
5250
|
+
return !iterate$2(record, function (value, stop) {
|
|
5251
|
+
if (!predicate(value, counter++)) return stop();
|
|
5252
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
5253
|
+
}
|
|
5254
|
+
});
|
|
5255
|
+
|
|
5256
|
+
/**
|
|
5257
|
+
* Renders a grid block with two columns using a 12-column grid system.
|
|
5258
|
+
*
|
|
5259
|
+
* @param node - The grid block node containing column configuration.
|
|
5260
|
+
* @param blockEditorBlock - The block editor component for rendering nested content.
|
|
5261
|
+
* @param customRenderers - Optional custom renderers for nested blocks.
|
|
5262
|
+
*/
|
|
5263
|
+
const GridBlock = ({
|
|
5264
|
+
node,
|
|
5265
|
+
blockEditorBlock,
|
|
5266
|
+
customRenderers
|
|
5267
|
+
}) => {
|
|
5268
|
+
var _node$attrs, _node$content;
|
|
5269
|
+
const BlockEditorBlockComponent = blockEditorBlock;
|
|
5270
|
+
const rawCols = Array.isArray((_node$attrs = node.attrs) == null ? void 0 : _node$attrs.columns) ? node.attrs.columns : [6, 6];
|
|
5271
|
+
const cols = rawCols.length === 2 && rawCols.every(v => typeof v === 'number' && Number.isFinite(v)) ? rawCols : [6, 6];
|
|
5272
|
+
return jsx("div", {
|
|
5273
|
+
"data-type": "gridBlock",
|
|
5274
|
+
className: "grid-block",
|
|
5275
|
+
style: {
|
|
5276
|
+
display: 'grid',
|
|
5277
|
+
gridTemplateColumns: 'repeat(12, 1fr)',
|
|
5278
|
+
gap: '1rem'
|
|
5279
|
+
},
|
|
5280
|
+
children: (_node$content = node.content) == null ? void 0 : _node$content.map((column, index) => {
|
|
5281
|
+
var _cols$index;
|
|
5282
|
+
return jsx("div", {
|
|
5283
|
+
"data-type": "gridColumn",
|
|
5284
|
+
className: "grid-block__column",
|
|
5285
|
+
style: {
|
|
5286
|
+
gridColumn: `span ${(_cols$index = cols[index]) != null ? _cols$index : 6}`
|
|
5287
|
+
},
|
|
5288
|
+
children: jsx(BlockEditorBlockComponent, {
|
|
5289
|
+
content: column.content,
|
|
5290
|
+
customRenderers: customRenderers
|
|
5291
|
+
})
|
|
5292
|
+
}, `gridColumn-${index}`);
|
|
5293
|
+
})
|
|
5294
|
+
});
|
|
5295
|
+
};
|
|
5296
|
+
|
|
5167
5297
|
/**
|
|
5168
5298
|
* Renders an image component for dotCMS.
|
|
5169
5299
|
*
|
|
@@ -5565,6 +5695,12 @@ const BlockEditorBlock = ({
|
|
|
5565
5695
|
content: (_node$content = node.content) != null ? _node$content : [],
|
|
5566
5696
|
blockEditorItem: BlockEditorBlock
|
|
5567
5697
|
}, key);
|
|
5698
|
+
case BlockEditorDefaultBlocks.GRID_BLOCK:
|
|
5699
|
+
return jsx(GridBlock, {
|
|
5700
|
+
node: node,
|
|
5701
|
+
blockEditorBlock: BlockEditorBlock,
|
|
5702
|
+
customRenderers: customRenderers
|
|
5703
|
+
}, key);
|
|
5568
5704
|
case BlockEditorDefaultBlocks.DOT_CONTENT:
|
|
5569
5705
|
return jsx(DotContent, {
|
|
5570
5706
|
customRenderers: customRenderers,
|
|
@@ -5699,17 +5835,17 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
5699
5835
|
};
|
|
5700
5836
|
|
|
5701
5837
|
var isConstructor = isConstructor$2;
|
|
5702
|
-
var tryToString
|
|
5838
|
+
var tryToString = tryToString$4;
|
|
5703
5839
|
|
|
5704
|
-
var $TypeError$
|
|
5840
|
+
var $TypeError$2 = TypeError;
|
|
5705
5841
|
|
|
5706
5842
|
// `Assert: IsConstructor(argument) is true`
|
|
5707
5843
|
var aConstructor$1 = function (argument) {
|
|
5708
5844
|
if (isConstructor(argument)) return argument;
|
|
5709
|
-
throw new $TypeError$
|
|
5845
|
+
throw new $TypeError$2(tryToString(argument) + ' is not a constructor');
|
|
5710
5846
|
};
|
|
5711
5847
|
|
|
5712
|
-
var anObject$
|
|
5848
|
+
var anObject$3 = anObject$i;
|
|
5713
5849
|
var aConstructor = aConstructor$1;
|
|
5714
5850
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
5715
5851
|
var wellKnownSymbol$3 = wellKnownSymbol$j;
|
|
@@ -5719,9 +5855,9 @@ var SPECIES$2 = wellKnownSymbol$3('species');
|
|
|
5719
5855
|
// `SpeciesConstructor` abstract operation
|
|
5720
5856
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
5721
5857
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
5722
|
-
var C = anObject$
|
|
5858
|
+
var C = anObject$3(O).constructor;
|
|
5723
5859
|
var S;
|
|
5724
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
5860
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$3(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
5725
5861
|
};
|
|
5726
5862
|
|
|
5727
5863
|
var userAgent$2 = engineUserAgent;
|
|
@@ -5731,7 +5867,7 @@ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
|
5731
5867
|
|
|
5732
5868
|
var global$8 = global$o;
|
|
5733
5869
|
var apply = functionApply;
|
|
5734
|
-
var bind$
|
|
5870
|
+
var bind$2 = functionBindContext;
|
|
5735
5871
|
var isCallable$4 = isCallable$o;
|
|
5736
5872
|
var hasOwn = hasOwnProperty_1;
|
|
5737
5873
|
var fails$5 = fails$m;
|
|
@@ -5813,7 +5949,7 @@ if (!set || !clear) {
|
|
|
5813
5949
|
channel = new MessageChannel();
|
|
5814
5950
|
port = channel.port2;
|
|
5815
5951
|
channel.port1.onmessage = eventListener;
|
|
5816
|
-
defer = bind$
|
|
5952
|
+
defer = bind$2(port.postMessage, port);
|
|
5817
5953
|
// Browsers with postMessage, skip WebWorkers
|
|
5818
5954
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5819
5955
|
} else if (
|
|
@@ -5879,7 +6015,7 @@ var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
5879
6015
|
|
|
5880
6016
|
var global$7 = global$o;
|
|
5881
6017
|
var safeGetBuiltIn = safeGetBuiltIn$2;
|
|
5882
|
-
var bind$
|
|
6018
|
+
var bind$1 = functionBindContext;
|
|
5883
6019
|
var macrotask = task$1.set;
|
|
5884
6020
|
var Queue$1 = queue$1;
|
|
5885
6021
|
var IS_IOS = engineIsIos;
|
|
@@ -5925,7 +6061,7 @@ if (!microtask$1) {
|
|
|
5925
6061
|
promise = Promise$1.resolve(undefined);
|
|
5926
6062
|
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
5927
6063
|
promise.constructor = Promise$1;
|
|
5928
|
-
then = bind$
|
|
6064
|
+
then = bind$1(promise.then, promise);
|
|
5929
6065
|
notify$1 = function () {
|
|
5930
6066
|
then(flush);
|
|
5931
6067
|
};
|
|
@@ -5942,7 +6078,7 @@ if (!microtask$1) {
|
|
|
5942
6078
|
// - setTimeout
|
|
5943
6079
|
} else {
|
|
5944
6080
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
5945
|
-
macrotask = bind$
|
|
6081
|
+
macrotask = bind$1(macrotask, global$7);
|
|
5946
6082
|
notify$1 = function () {
|
|
5947
6083
|
macrotask(flush);
|
|
5948
6084
|
};
|
|
@@ -6032,14 +6168,14 @@ var promiseConstructorDetection = {
|
|
|
6032
6168
|
|
|
6033
6169
|
var newPromiseCapability$2 = {};
|
|
6034
6170
|
|
|
6035
|
-
var aCallable$3 = aCallable$
|
|
6171
|
+
var aCallable$3 = aCallable$a;
|
|
6036
6172
|
|
|
6037
|
-
var $TypeError$
|
|
6173
|
+
var $TypeError$1 = TypeError;
|
|
6038
6174
|
|
|
6039
6175
|
var PromiseCapability = function (C) {
|
|
6040
6176
|
var resolve, reject;
|
|
6041
6177
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
6042
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
6178
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$1('Bad Promise constructor');
|
|
6043
6179
|
resolve = $$resolve;
|
|
6044
6180
|
reject = $$reject;
|
|
6045
6181
|
});
|
|
@@ -6056,12 +6192,12 @@ newPromiseCapability$2.f = function (C) {
|
|
|
6056
6192
|
var $$7 = _export;
|
|
6057
6193
|
var IS_NODE = engineIsNode;
|
|
6058
6194
|
var global$4 = global$o;
|
|
6059
|
-
var call$
|
|
6195
|
+
var call$6 = functionCall;
|
|
6060
6196
|
var defineBuiltIn$2 = defineBuiltIn$c;
|
|
6061
6197
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
6062
6198
|
var setToStringTag = setToStringTag$6;
|
|
6063
6199
|
var setSpecies = setSpecies$1;
|
|
6064
|
-
var aCallable$2 = aCallable$
|
|
6200
|
+
var aCallable$2 = aCallable$a;
|
|
6065
6201
|
var isCallable$2 = isCallable$o;
|
|
6066
6202
|
var isObject$1 = isObject$b;
|
|
6067
6203
|
var anInstance = anInstance$4;
|
|
@@ -6134,7 +6270,7 @@ var callReaction = function (reaction, state) {
|
|
|
6134
6270
|
if (result === reaction.promise) {
|
|
6135
6271
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
6136
6272
|
} else if (then = isThenable(result)) {
|
|
6137
|
-
call$
|
|
6273
|
+
call$6(then, result, resolve, reject);
|
|
6138
6274
|
} else resolve(result);
|
|
6139
6275
|
} else reject(value);
|
|
6140
6276
|
} catch (error) {
|
|
@@ -6171,7 +6307,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
6171
6307
|
};
|
|
6172
6308
|
|
|
6173
6309
|
var onUnhandled = function (state) {
|
|
6174
|
-
call$
|
|
6310
|
+
call$6(task, global$4, function () {
|
|
6175
6311
|
var promise = state.facade;
|
|
6176
6312
|
var value = state.value;
|
|
6177
6313
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -6194,7 +6330,7 @@ var isUnhandled = function (state) {
|
|
|
6194
6330
|
};
|
|
6195
6331
|
|
|
6196
6332
|
var onHandleUnhandled = function (state) {
|
|
6197
|
-
call$
|
|
6333
|
+
call$6(task, global$4, function () {
|
|
6198
6334
|
var promise = state.facade;
|
|
6199
6335
|
if (IS_NODE) {
|
|
6200
6336
|
process.emit('rejectionHandled', promise);
|
|
@@ -6202,7 +6338,7 @@ var onHandleUnhandled = function (state) {
|
|
|
6202
6338
|
});
|
|
6203
6339
|
};
|
|
6204
6340
|
|
|
6205
|
-
var bind
|
|
6341
|
+
var bind = function (fn, state, unwrap) {
|
|
6206
6342
|
return function (value) {
|
|
6207
6343
|
fn(state, value, unwrap);
|
|
6208
6344
|
};
|
|
@@ -6228,9 +6364,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6228
6364
|
microtask(function () {
|
|
6229
6365
|
var wrapper = { done: false };
|
|
6230
6366
|
try {
|
|
6231
|
-
call$
|
|
6232
|
-
bind
|
|
6233
|
-
bind
|
|
6367
|
+
call$6(then, value,
|
|
6368
|
+
bind(internalResolve, wrapper, state),
|
|
6369
|
+
bind(internalReject, wrapper, state)
|
|
6234
6370
|
);
|
|
6235
6371
|
} catch (error) {
|
|
6236
6372
|
internalReject(wrapper, error, state);
|
|
@@ -6252,10 +6388,10 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
6252
6388
|
PromiseConstructor = function Promise(executor) {
|
|
6253
6389
|
anInstance(this, PromisePrototype);
|
|
6254
6390
|
aCallable$2(executor);
|
|
6255
|
-
call$
|
|
6391
|
+
call$6(Internal, this);
|
|
6256
6392
|
var state = getInternalPromiseState(this);
|
|
6257
6393
|
try {
|
|
6258
|
-
executor(bind
|
|
6394
|
+
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
6259
6395
|
} catch (error) {
|
|
6260
6396
|
internalReject(state, error);
|
|
6261
6397
|
}
|
|
@@ -6297,8 +6433,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
6297
6433
|
var promise = new Internal();
|
|
6298
6434
|
var state = getInternalPromiseState(promise);
|
|
6299
6435
|
this.promise = promise;
|
|
6300
|
-
this.resolve = bind
|
|
6301
|
-
this.reject = bind
|
|
6436
|
+
this.resolve = bind(internalResolve, state);
|
|
6437
|
+
this.reject = bind(internalReject, state);
|
|
6302
6438
|
};
|
|
6303
6439
|
|
|
6304
6440
|
newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
|
|
@@ -6315,7 +6451,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
6315
6451
|
defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
6316
6452
|
var that = this;
|
|
6317
6453
|
return new PromiseConstructor(function (resolve, reject) {
|
|
6318
|
-
call$
|
|
6454
|
+
call$6(nativeThen, that, resolve, reject);
|
|
6319
6455
|
}).then(onFulfilled, onRejected);
|
|
6320
6456
|
// https://github.com/zloirock/core-js/issues/640
|
|
6321
6457
|
}, { unsafe: true });
|
|
@@ -6340,75 +6476,6 @@ $$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
|
|
|
6340
6476
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
6341
6477
|
setSpecies(PROMISE);
|
|
6342
6478
|
|
|
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
6479
|
var wellKnownSymbol$1 = wellKnownSymbol$j;
|
|
6413
6480
|
|
|
6414
6481
|
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
@@ -6460,10 +6527,10 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
6460
6527
|
|
|
6461
6528
|
var $$6 = _export;
|
|
6462
6529
|
var call$5 = functionCall;
|
|
6463
|
-
var aCallable$1 = aCallable$
|
|
6530
|
+
var aCallable$1 = aCallable$a;
|
|
6464
6531
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
6465
6532
|
var perform$1 = perform$3;
|
|
6466
|
-
var iterate$1 = iterate$
|
|
6533
|
+
var iterate$1 = iterate$3;
|
|
6467
6534
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
6468
6535
|
|
|
6469
6536
|
// `Promise.all` method
|
|
@@ -6524,10 +6591,10 @@ if (isCallable$1(NativePromiseConstructor)) {
|
|
|
6524
6591
|
|
|
6525
6592
|
var $$4 = _export;
|
|
6526
6593
|
var call$4 = functionCall;
|
|
6527
|
-
var aCallable = aCallable$
|
|
6594
|
+
var aCallable = aCallable$a;
|
|
6528
6595
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
6529
6596
|
var perform = perform$3;
|
|
6530
|
-
var iterate = iterate$
|
|
6597
|
+
var iterate = iterate$3;
|
|
6531
6598
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
6532
6599
|
|
|
6533
6600
|
// `Promise.race` method
|
|
@@ -6563,7 +6630,7 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
6563
6630
|
}
|
|
6564
6631
|
});
|
|
6565
6632
|
|
|
6566
|
-
var anObject$2 = anObject$
|
|
6633
|
+
var anObject$2 = anObject$i;
|
|
6567
6634
|
var isObject = isObject$b;
|
|
6568
6635
|
var newPromiseCapability = newPromiseCapability$2;
|
|
6569
6636
|
|
|
@@ -6853,7 +6920,7 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
6853
6920
|
};
|
|
6854
6921
|
|
|
6855
6922
|
var call$1 = functionCall;
|
|
6856
|
-
var anObject$1 = anObject$
|
|
6923
|
+
var anObject$1 = anObject$i;
|
|
6857
6924
|
var isCallable = isCallable$o;
|
|
6858
6925
|
var classof = classofRaw$2;
|
|
6859
6926
|
var regexpExec = regexpExec$2;
|
|
@@ -6875,7 +6942,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
6875
6942
|
|
|
6876
6943
|
var call = functionCall;
|
|
6877
6944
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
6878
|
-
var anObject = anObject$
|
|
6945
|
+
var anObject = anObject$i;
|
|
6879
6946
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
6880
6947
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
6881
6948
|
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 {};
|