@zthun/romulator-web 1.3.5 → 1.5.0
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 +25 -0
- package/dist/assets/{index-GdtABegS.js → index-BO4ogTAe.js} +391 -249
- package/dist/index.html +1 -1
- package/package.json +11 -11
- package/src/games/games-list.tsx +74 -0
- package/src/games/games-service.mts +25 -0
- package/src/systems/system-page.cm.mts +18 -7
- package/src/systems/system-page.spec.tsx +98 -15
- package/src/systems/system-page.tsx +59 -9
- package/src/systems/system-avatar-card.cm.mts +0 -17
- package/src/systems/system-avatar-card.tsx +0 -39
|
@@ -209,12 +209,12 @@ function _object_spread$2$2(target) {
|
|
|
209
209
|
return ZCircusWaitOptionsBuilder;
|
|
210
210
|
}();
|
|
211
211
|
|
|
212
|
-
function _array_like_to_array$
|
|
212
|
+
function _array_like_to_array$f(arr, len) {
|
|
213
213
|
if (len == null || len > arr.length) len = arr.length;
|
|
214
214
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
215
215
|
return arr2;
|
|
216
216
|
}
|
|
217
|
-
function _array_with_holes$
|
|
217
|
+
function _array_with_holes$f(arr) {
|
|
218
218
|
if (Array.isArray(arr)) return arr;
|
|
219
219
|
}
|
|
220
220
|
function asyncGeneratorStep$u(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -264,7 +264,7 @@ function _create_class$3$4(Constructor, protoProps, staticProps) {
|
|
|
264
264
|
if (staticProps) _defineProperties$3$4(Constructor, staticProps);
|
|
265
265
|
return Constructor;
|
|
266
266
|
}
|
|
267
|
-
function _iterable_to_array_limit$
|
|
267
|
+
function _iterable_to_array_limit$d(arr, i) {
|
|
268
268
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
269
269
|
if (_i == null) return;
|
|
270
270
|
var _arr = [];
|
|
@@ -288,19 +288,19 @@ function _iterable_to_array_limit$c(arr, i) {
|
|
|
288
288
|
}
|
|
289
289
|
return _arr;
|
|
290
290
|
}
|
|
291
|
-
function _non_iterable_rest$
|
|
291
|
+
function _non_iterable_rest$f() {
|
|
292
292
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
293
293
|
}
|
|
294
|
-
function _sliced_to_array$
|
|
295
|
-
return _array_with_holes$
|
|
294
|
+
function _sliced_to_array$d(arr, i) {
|
|
295
|
+
return _array_with_holes$f(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$f();
|
|
296
296
|
}
|
|
297
|
-
function _unsupported_iterable_to_array$
|
|
297
|
+
function _unsupported_iterable_to_array$f(o, minLen) {
|
|
298
298
|
if (!o) return;
|
|
299
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
299
|
+
if (typeof o === "string") return _array_like_to_array$f(o, minLen);
|
|
300
300
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
301
301
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
302
302
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
303
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
303
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
304
304
|
}
|
|
305
305
|
function _ts_generator$u(thisArg, body) {
|
|
306
306
|
var f, y, t, _ = {
|
|
@@ -547,7 +547,7 @@ var _selector = function(root, name) {
|
|
|
547
547
|
driver.query(selector)
|
|
548
548
|
];
|
|
549
549
|
case 1:
|
|
550
|
-
_ref = _sliced_to_array$
|
|
550
|
+
_ref = _sliced_to_array$d.apply(void 0, [
|
|
551
551
|
_state.sent(),
|
|
552
552
|
1
|
|
553
553
|
]), found = _ref[0];
|
|
@@ -1316,13 +1316,13 @@ function isEmptyObject(candidate) {
|
|
|
1316
1316
|
* @returns
|
|
1317
1317
|
* The first value for where predicate returns true for the given argument value.
|
|
1318
1318
|
* If first and all values of remaining fail the predicate then fallback is returned.
|
|
1319
|
-
*/ function _array_like_to_array$2$
|
|
1319
|
+
*/ function _array_like_to_array$2$2(arr, len) {
|
|
1320
1320
|
if (len == null || len > arr.length) len = arr.length;
|
|
1321
1321
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1322
1322
|
return arr2;
|
|
1323
1323
|
}
|
|
1324
1324
|
function _array_without_holes$2(arr) {
|
|
1325
|
-
if (Array.isArray(arr)) return _array_like_to_array$2$
|
|
1325
|
+
if (Array.isArray(arr)) return _array_like_to_array$2$2(arr);
|
|
1326
1326
|
}
|
|
1327
1327
|
function _iterable_to_array$2(iter) {
|
|
1328
1328
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -1331,15 +1331,15 @@ function _non_iterable_spread$2() {
|
|
|
1331
1331
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1332
1332
|
}
|
|
1333
1333
|
function _to_consumable_array$2(arr) {
|
|
1334
|
-
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2$
|
|
1334
|
+
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2$2(arr) || _non_iterable_spread$2();
|
|
1335
1335
|
}
|
|
1336
|
-
function _unsupported_iterable_to_array$2$
|
|
1336
|
+
function _unsupported_iterable_to_array$2$2(o, minLen) {
|
|
1337
1337
|
if (!o) return;
|
|
1338
|
-
if (typeof o === "string") return _array_like_to_array$2$
|
|
1338
|
+
if (typeof o === "string") return _array_like_to_array$2$2(o, minLen);
|
|
1339
1339
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1340
1340
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1341
1341
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1342
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2$
|
|
1342
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2$2(o, minLen);
|
|
1343
1343
|
}
|
|
1344
1344
|
function firstWhere(predicate, fallback, first) {
|
|
1345
1345
|
for(var _len = arguments.length, remaining = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++){
|
|
@@ -2543,15 +2543,15 @@ function _ts_generator$1$1(thisArg, body) {
|
|
|
2543
2543
|
* }
|
|
2544
2544
|
* `
|
|
2545
2545
|
* ```
|
|
2546
|
-
*/ function _array_like_to_array$
|
|
2546
|
+
*/ function _array_like_to_array$d(arr, len) {
|
|
2547
2547
|
if (len == null || len > arr.length) len = arr.length;
|
|
2548
2548
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2549
2549
|
return arr2;
|
|
2550
2550
|
}
|
|
2551
|
-
function _array_with_holes$
|
|
2551
|
+
function _array_with_holes$d(arr) {
|
|
2552
2552
|
if (Array.isArray(arr)) return arr;
|
|
2553
2553
|
}
|
|
2554
|
-
function _iterable_to_array_limit$
|
|
2554
|
+
function _iterable_to_array_limit$c(arr, i) {
|
|
2555
2555
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2556
2556
|
if (_i == null) return;
|
|
2557
2557
|
var _arr = [];
|
|
@@ -2575,25 +2575,25 @@ function _iterable_to_array_limit$5(arr, i) {
|
|
|
2575
2575
|
}
|
|
2576
2576
|
return _arr;
|
|
2577
2577
|
}
|
|
2578
|
-
function _non_iterable_rest$
|
|
2578
|
+
function _non_iterable_rest$d() {
|
|
2579
2579
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2580
2580
|
}
|
|
2581
|
-
function _sliced_to_array$
|
|
2582
|
-
return _array_with_holes$
|
|
2581
|
+
function _sliced_to_array$c(arr, i) {
|
|
2582
|
+
return _array_with_holes$d(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
|
|
2583
2583
|
}
|
|
2584
|
-
function _unsupported_iterable_to_array$
|
|
2584
|
+
function _unsupported_iterable_to_array$d(o, minLen) {
|
|
2585
2585
|
if (!o) return;
|
|
2586
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2586
|
+
if (typeof o === "string") return _array_like_to_array$d(o, minLen);
|
|
2587
2587
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2588
2588
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2589
2589
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2590
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2590
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
2591
2591
|
}
|
|
2592
2592
|
function tag(strings) {
|
|
2593
2593
|
for(var _len = arguments.length, expressions = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
2594
2594
|
expressions[_key - 1] = arguments[_key];
|
|
2595
2595
|
}
|
|
2596
|
-
var _strings = _sliced_to_array$
|
|
2596
|
+
var _strings = _sliced_to_array$c(strings, 1), result = _strings[0];
|
|
2597
2597
|
for(var i = 1, l = strings.length; i < l; i++){
|
|
2598
2598
|
result += expressions[i - 1];
|
|
2599
2599
|
result += strings[i];
|
|
@@ -7301,6 +7301,9 @@ function _define_property$4$3(obj, key, value) {
|
|
|
7301
7301
|
* Vary sizes vary with the area for which they exist in or to the content which exists in them.
|
|
7302
7302
|
*/ var ZSizeVaried = /*#__PURE__*/ function(ZSizeVaried) {
|
|
7303
7303
|
/**
|
|
7304
|
+
* Fall back to the default behavior of the component.
|
|
7305
|
+
*/ ZSizeVaried["Default"] = "default";
|
|
7306
|
+
/**
|
|
7304
7307
|
* Fit to whatever is inside the box.
|
|
7305
7308
|
*/ ZSizeVaried["Fit"] = "fit";
|
|
7306
7309
|
/**
|
|
@@ -7330,7 +7333,7 @@ function _define_property$3$3(obj, key, value) {
|
|
|
7330
7333
|
* to css supported values.
|
|
7331
7334
|
*/ function createSizeChartVariedCss() {
|
|
7332
7335
|
var _obj;
|
|
7333
|
-
return _obj = {}, _define_property$3$3(_obj, ZSizeVaried.
|
|
7336
|
+
return _obj = {}, _define_property$3$3(_obj, ZSizeVaried.Default, "auto"), _define_property$3$3(_obj, ZSizeVaried.Fit, "fit-content"), _define_property$3$3(_obj, ZSizeVaried.Full, "100%"), _obj;
|
|
7334
7337
|
}
|
|
7335
7338
|
|
|
7336
7339
|
/**
|
|
@@ -7438,7 +7441,7 @@ function _object_spread_props$1(target, source) {
|
|
|
7438
7441
|
var ZFashionTailor = /*#__PURE__*/ function() {
|
|
7439
7442
|
function ZFashionTailor() {
|
|
7440
7443
|
_class_call_check$G(this, ZFashionTailor);
|
|
7441
|
-
_define_property$1$5(this, "_gaps", _object_spread_props$1(_object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedFibonacci(0.5, 1), "rem"), createSizeChartVoidCss()), _define_property$1$5({}, ZSizeVaried.
|
|
7444
|
+
_define_property$1$5(this, "_gaps", _object_spread_props$1(_object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedFibonacci(0.5, 1), "rem"), createSizeChartVoidCss()), _define_property$1$5({}, ZSizeVaried.Default, "auto")));
|
|
7442
7445
|
_define_property$1$5(this, "_thickness", _object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(0.0625, 0.0625), "rem"), createSizeChartVoidCss()));
|
|
7443
7446
|
_define_property$1$5(this, "_rounding", _object_spread_props$1(_object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(0.15, 0.25), "rem"), createSizeChartVoidCss()), _define_property$1$5({}, ZSizeVaried.Full, "50%")));
|
|
7444
7447
|
_define_property$1$5(this, "gapsChart", this._sizeChart.bind(this, "_gaps"));
|
|
@@ -7667,12 +7670,12 @@ function _unsupported_iterable_to_array$1$3(o, minLen) {
|
|
|
7667
7670
|
* The output from rgb(255, 255, 255, 1);
|
|
7668
7671
|
*/ var white = rgb.bind(null, 255, 255, 255, 1);
|
|
7669
7672
|
|
|
7670
|
-
function _array_like_to_array$
|
|
7673
|
+
function _array_like_to_array$c(arr, len) {
|
|
7671
7674
|
if (len == null || len > arr.length) len = arr.length;
|
|
7672
7675
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7673
7676
|
return arr2;
|
|
7674
7677
|
}
|
|
7675
|
-
function _array_with_holes$
|
|
7678
|
+
function _array_with_holes$c(arr) {
|
|
7676
7679
|
if (Array.isArray(arr)) return arr;
|
|
7677
7680
|
}
|
|
7678
7681
|
function _iterable_to_array_limit(arr, i) {
|
|
@@ -7699,19 +7702,19 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
7699
7702
|
}
|
|
7700
7703
|
return _arr;
|
|
7701
7704
|
}
|
|
7702
|
-
function _non_iterable_rest$
|
|
7705
|
+
function _non_iterable_rest$c() {
|
|
7703
7706
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7704
7707
|
}
|
|
7705
7708
|
function _sliced_to_array(arr, i) {
|
|
7706
|
-
return _array_with_holes$
|
|
7709
|
+
return _array_with_holes$c(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
|
|
7707
7710
|
}
|
|
7708
|
-
function _unsupported_iterable_to_array$
|
|
7711
|
+
function _unsupported_iterable_to_array$c(o, minLen) {
|
|
7709
7712
|
if (!o) return;
|
|
7710
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
7713
|
+
if (typeof o === "string") return _array_like_to_array$c(o, minLen);
|
|
7711
7714
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7712
7715
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7713
7716
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7714
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
7717
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
7715
7718
|
}
|
|
7716
7719
|
/**
|
|
7717
7720
|
* Constructs a css color from a number.
|
|
@@ -12499,14 +12502,14 @@ var _ZOperatorsUnaryLookup = keyBy(ZOperatorsUnary);
|
|
|
12499
12502
|
*/ function isUnaryOperator(candidate) {
|
|
12500
12503
|
return candidate != null && Object.prototype.hasOwnProperty.call(_ZOperatorsUnaryLookup, candidate);
|
|
12501
12504
|
}
|
|
12502
|
-
var _obj$
|
|
12505
|
+
var _obj$5;
|
|
12503
12506
|
/**
|
|
12504
12507
|
* Comparators for unary operators.
|
|
12505
|
-
*/ var ZUnaryComparators = (_obj$
|
|
12508
|
+
*/ var ZUnaryComparators = (_obj$5 = {}, _define_property$9$1(_obj$5, "null", function(data) {
|
|
12506
12509
|
return data == null;
|
|
12507
|
-
}), _define_property$9$1(_obj$
|
|
12510
|
+
}), _define_property$9$1(_obj$5, "is-not-null", function(data) {
|
|
12508
12511
|
return data != null;
|
|
12509
|
-
}), _obj$
|
|
12512
|
+
}), _obj$5);
|
|
12510
12513
|
|
|
12511
12514
|
function _class_call_check$f$1(instance, Constructor) {
|
|
12512
12515
|
if (!(instance instanceof Constructor)) {
|
|
@@ -12581,12 +12584,12 @@ function _create_class$f$1(Constructor, protoProps, staticProps) {
|
|
|
12581
12584
|
* A list of all possible filter operators in one collection.
|
|
12582
12585
|
*/ var ZOperatorsFilter = [].concat(ZOperatorsBinary).concat(ZOperatorsCollection).concat(ZOperatorsLogic).concat(ZOperatorsUnary);
|
|
12583
12586
|
|
|
12584
|
-
function _array_like_to_array$2(arr, len) {
|
|
12587
|
+
function _array_like_to_array$2$1(arr, len) {
|
|
12585
12588
|
if (len == null || len > arr.length) len = arr.length;
|
|
12586
12589
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
12587
12590
|
return arr2;
|
|
12588
12591
|
}
|
|
12589
|
-
function _array_with_holes$2(arr) {
|
|
12592
|
+
function _array_with_holes$2$1(arr) {
|
|
12590
12593
|
if (Array.isArray(arr)) return arr;
|
|
12591
12594
|
}
|
|
12592
12595
|
function _class_call_check$e$1(instance, Constructor) {
|
|
@@ -12607,7 +12610,7 @@ function _create_class$e$1(Constructor, protoProps, staticProps) {
|
|
|
12607
12610
|
if (protoProps) _defineProperties$e$1(Constructor.prototype, protoProps);
|
|
12608
12611
|
return Constructor;
|
|
12609
12612
|
}
|
|
12610
|
-
function _iterable_to_array_limit$2(arr, i) {
|
|
12613
|
+
function _iterable_to_array_limit$2$1(arr, i) {
|
|
12611
12614
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
12612
12615
|
if (_i == null) return;
|
|
12613
12616
|
var _arr = [];
|
|
@@ -12631,19 +12634,19 @@ function _iterable_to_array_limit$2(arr, i) {
|
|
|
12631
12634
|
}
|
|
12632
12635
|
return _arr;
|
|
12633
12636
|
}
|
|
12634
|
-
function _non_iterable_rest$2() {
|
|
12637
|
+
function _non_iterable_rest$2$1() {
|
|
12635
12638
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12636
12639
|
}
|
|
12637
|
-
function _sliced_to_array$2(arr, i) {
|
|
12638
|
-
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$2(arr, i) || _non_iterable_rest$2();
|
|
12640
|
+
function _sliced_to_array$2$1(arr, i) {
|
|
12641
|
+
return _array_with_holes$2$1(arr) || _iterable_to_array_limit$2$1(arr, i) || _unsupported_iterable_to_array$2$1(arr, i) || _non_iterable_rest$2$1();
|
|
12639
12642
|
}
|
|
12640
|
-
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
12643
|
+
function _unsupported_iterable_to_array$2$1(o, minLen) {
|
|
12641
12644
|
if (!o) return;
|
|
12642
|
-
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
12645
|
+
if (typeof o === "string") return _array_like_to_array$2$1(o, minLen);
|
|
12643
12646
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12644
12647
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12645
12648
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12646
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
12649
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2$1(o, minLen);
|
|
12647
12650
|
}
|
|
12648
12651
|
/**
|
|
12649
12652
|
* Represents a parser object that can parse an {@link IZFilter} from a string.
|
|
@@ -12665,7 +12668,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12665
12668
|
* @throws
|
|
12666
12669
|
* If there is a syntax error in candidate.
|
|
12667
12670
|
*/ function deserialize(candidate) {
|
|
12668
|
-
var _this__parseFilter = _sliced_to_array$2(this._parseFilter(candidate), 2), filter = _this__parseFilter[0], rest = _this__parseFilter[1];
|
|
12671
|
+
var _this__parseFilter = _sliced_to_array$2$1(this._parseFilter(candidate), 2), filter = _this__parseFilter[0], rest = _this__parseFilter[1];
|
|
12669
12672
|
if (trim$2(rest).length > 0) {
|
|
12670
12673
|
throw new Error("Extraneous characters found at the end of the candidate filter: ".concat(rest));
|
|
12671
12674
|
}
|
|
@@ -12675,7 +12678,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12675
12678
|
{
|
|
12676
12679
|
key: "_peelBetweenParens",
|
|
12677
12680
|
value: function _peelBetweenParens(args) {
|
|
12678
|
-
var _peelBetween = _sliced_to_array$2(peelBetween(args, "(", ")"), 2), argList = _peelBetween[0], rest = _peelBetween[1];
|
|
12681
|
+
var _peelBetween = _sliced_to_array$2$1(peelBetween(args, "(", ")"), 2), argList = _peelBetween[0], rest = _peelBetween[1];
|
|
12679
12682
|
if (argList == null) {
|
|
12680
12683
|
throw new Error("Unable to find opening and closing parenthesis for ".concat(args, ". Check syntax."));
|
|
12681
12684
|
}
|
|
@@ -12689,7 +12692,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12689
12692
|
key: "_splitArgs",
|
|
12690
12693
|
value: function _splitArgs(operator, args, minArgs) {
|
|
12691
12694
|
var maxArgs = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : minArgs;
|
|
12692
|
-
var _this__peelBetweenParens = _sliced_to_array$2(this._peelBetweenParens(args), 2), argList = _this__peelBetweenParens[0], rest = _this__peelBetweenParens[1];
|
|
12695
|
+
var _this__peelBetweenParens = _sliced_to_array$2$1(this._peelBetweenParens(args), 2), argList = _this__peelBetweenParens[0], rest = _this__peelBetweenParens[1];
|
|
12693
12696
|
var splitArgs = argList.split(",").filter(function(x) {
|
|
12694
12697
|
return !!x;
|
|
12695
12698
|
});
|
|
@@ -12712,8 +12715,8 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12712
12715
|
{
|
|
12713
12716
|
key: "_parseUnaryFilter",
|
|
12714
12717
|
value: function _parseUnaryFilter(operator, args) {
|
|
12715
|
-
var _this__splitArgs = _sliced_to_array$2(this._splitArgs(operator, args, 1), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
|
|
12716
|
-
var _argList = _sliced_to_array$2(argList, 1), subject = _argList[0];
|
|
12718
|
+
var _this__splitArgs = _sliced_to_array$2$1(this._splitArgs(operator, args, 1), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
|
|
12719
|
+
var _argList = _sliced_to_array$2$1(argList, 1), subject = _argList[0];
|
|
12717
12720
|
subject = trim$2(subject);
|
|
12718
12721
|
return [
|
|
12719
12722
|
new ZFilterUnaryBuilder().operator(operator).subject(subject).build(),
|
|
@@ -12724,8 +12727,8 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12724
12727
|
{
|
|
12725
12728
|
key: "_parseBinaryFilter",
|
|
12726
12729
|
value: function _parseBinaryFilter(operator, args) {
|
|
12727
|
-
var _this__splitArgs = _sliced_to_array$2(this._splitArgs(operator, args, 2), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
|
|
12728
|
-
var _argList = _sliced_to_array$2(argList, 2), subject = _argList[0], value = _argList[1];
|
|
12730
|
+
var _this__splitArgs = _sliced_to_array$2$1(this._splitArgs(operator, args, 2), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
|
|
12731
|
+
var _argList = _sliced_to_array$2$1(argList, 2), subject = _argList[0], value = _argList[1];
|
|
12729
12732
|
subject = trim$2(subject);
|
|
12730
12733
|
value = JSON.parse(value);
|
|
12731
12734
|
return [
|
|
@@ -12737,8 +12740,8 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12737
12740
|
{
|
|
12738
12741
|
key: "_parseCollectionFilter",
|
|
12739
12742
|
value: function _parseCollectionFilter(operator, args) {
|
|
12740
|
-
var _this__splitArgs = _sliced_to_array$2(this._splitArgs(operator, args, 1, Infinity), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
|
|
12741
|
-
var _argList = _sliced_to_array$2(argList, 1), subject = _argList[0];
|
|
12743
|
+
var _this__splitArgs = _sliced_to_array$2$1(this._splitArgs(operator, args, 1, Infinity), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
|
|
12744
|
+
var _argList = _sliced_to_array$2$1(argList, 1), subject = _argList[0];
|
|
12742
12745
|
subject = trim$2(subject);
|
|
12743
12746
|
var values = argList.slice(1).map(function(a) {
|
|
12744
12747
|
return JSON.parse(trim$2(a));
|
|
@@ -12753,14 +12756,14 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12753
12756
|
key: "_parseLogicFilter",
|
|
12754
12757
|
value: function _parseLogicFilter(operator, args) {
|
|
12755
12758
|
var argsList = this._peelBetweenParens(trim$2(args));
|
|
12756
|
-
var _argsList = _sliced_to_array$2(argsList, 1), remaining = _argsList[0];
|
|
12757
|
-
var _argsList1 = _sliced_to_array$2(argsList, 2), rest = _argsList1[1];
|
|
12759
|
+
var _argsList = _sliced_to_array$2$1(argsList, 1), remaining = _argsList[0];
|
|
12760
|
+
var _argsList1 = _sliced_to_array$2$1(argsList, 2), rest = _argsList1[1];
|
|
12758
12761
|
var builder = new ZFilterLogicBuilder().operator(operator);
|
|
12759
12762
|
while(remaining){
|
|
12760
12763
|
var split = this._parseFilter(remaining);
|
|
12761
|
-
var _split = _sliced_to_array$2(split, 1), clause = _split[0];
|
|
12764
|
+
var _split = _sliced_to_array$2$1(split, 1), clause = _split[0];
|
|
12762
12765
|
var ref;
|
|
12763
|
-
ref = _sliced_to_array$2(split, 2), remaining = ref[1];
|
|
12766
|
+
ref = _sliced_to_array$2$1(split, 2), remaining = ref[1];
|
|
12764
12767
|
remaining = trimStart(remaining, " ,");
|
|
12765
12768
|
builder = builder.clause(clause);
|
|
12766
12769
|
}
|
|
@@ -12773,7 +12776,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
12773
12776
|
{
|
|
12774
12777
|
key: "_parseFilter",
|
|
12775
12778
|
value: function _parseFilter(candidate) {
|
|
12776
|
-
var _peel = _sliced_to_array$2(peel(trim$2(candidate), ZOperatorsFilter), 2), operator = _peel[0], rest = _peel[1];
|
|
12779
|
+
var _peel = _sliced_to_array$2$1(peel(trim$2(candidate), ZOperatorsFilter), 2), operator = _peel[0], rest = _peel[1];
|
|
12777
12780
|
if (isUnaryOperator(operator)) {
|
|
12778
12781
|
return this._parseUnaryFilter(operator, rest);
|
|
12779
12782
|
}
|
|
@@ -14178,15 +14181,15 @@ function _ts_generator$t(thisArg, body) {
|
|
|
14178
14181
|
return ZDataSourceStatic;
|
|
14179
14182
|
}();
|
|
14180
14183
|
|
|
14181
|
-
function _array_like_to_array$
|
|
14184
|
+
function _array_like_to_array$5(arr, len) {
|
|
14182
14185
|
if (len == null || len > arr.length) len = arr.length;
|
|
14183
14186
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14184
14187
|
return arr2;
|
|
14185
14188
|
}
|
|
14186
|
-
function _array_with_holes$
|
|
14189
|
+
function _array_with_holes$5(arr) {
|
|
14187
14190
|
if (Array.isArray(arr)) return arr;
|
|
14188
14191
|
}
|
|
14189
|
-
function _iterable_to_array_limit$
|
|
14192
|
+
function _iterable_to_array_limit$5(arr, i) {
|
|
14190
14193
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14191
14194
|
if (_i == null) return;
|
|
14192
14195
|
var _arr = [];
|
|
@@ -14210,19 +14213,19 @@ function _iterable_to_array_limit$4$1(arr, i) {
|
|
|
14210
14213
|
}
|
|
14211
14214
|
return _arr;
|
|
14212
14215
|
}
|
|
14213
|
-
function _non_iterable_rest$
|
|
14216
|
+
function _non_iterable_rest$5() {
|
|
14214
14217
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14215
14218
|
}
|
|
14216
|
-
function _sliced_to_array$
|
|
14217
|
-
return _array_with_holes$
|
|
14219
|
+
function _sliced_to_array$5(arr, i) {
|
|
14220
|
+
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$5(arr, i) || _non_iterable_rest$5();
|
|
14218
14221
|
}
|
|
14219
|
-
function _unsupported_iterable_to_array$
|
|
14222
|
+
function _unsupported_iterable_to_array$5(o, minLen) {
|
|
14220
14223
|
if (!o) return;
|
|
14221
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
14224
|
+
if (typeof o === "string") return _array_like_to_array$5(o, minLen);
|
|
14222
14225
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14223
14226
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14224
14227
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14225
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
14228
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
|
|
14226
14229
|
}
|
|
14227
14230
|
/**
|
|
14228
14231
|
* A type of state where the value is used from the props in the case of them being set.
|
|
@@ -14247,7 +14250,7 @@ function _unsupported_iterable_to_array$4$1(o, minLen) {
|
|
|
14247
14250
|
* A tuple where the first item is the current state and the 2nd item is a mutator
|
|
14248
14251
|
* method to modify the state.
|
|
14249
14252
|
*/ function useAmbassadorState(current, setCurrent, initial) {
|
|
14250
|
-
var _useState = _sliced_to_array$
|
|
14253
|
+
var _useState = _sliced_to_array$5(reactExports.useState(current || initial), 2), localCurrent = _useState[0], setLocalCurrent = _useState[1];
|
|
14251
14254
|
var _current = current === undefined ? localCurrent : current;
|
|
14252
14255
|
var _setCurrent = function(val) {
|
|
14253
14256
|
setLocalCurrent(val);
|
|
@@ -14268,12 +14271,12 @@ function _unsupported_iterable_to_array$4$1(o, minLen) {
|
|
|
14268
14271
|
];
|
|
14269
14272
|
}
|
|
14270
14273
|
|
|
14271
|
-
function _array_like_to_array$
|
|
14274
|
+
function _array_like_to_array$4$1(arr, len) {
|
|
14272
14275
|
if (len == null || len > arr.length) len = arr.length;
|
|
14273
14276
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14274
14277
|
return arr2;
|
|
14275
14278
|
}
|
|
14276
|
-
function _array_with_holes$
|
|
14279
|
+
function _array_with_holes$4$1(arr) {
|
|
14277
14280
|
if (Array.isArray(arr)) return arr;
|
|
14278
14281
|
}
|
|
14279
14282
|
function asyncGeneratorStep$s(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -14312,7 +14315,7 @@ function _instanceof$2(left, right) {
|
|
|
14312
14315
|
return left instanceof right;
|
|
14313
14316
|
}
|
|
14314
14317
|
}
|
|
14315
|
-
function _iterable_to_array_limit$
|
|
14318
|
+
function _iterable_to_array_limit$4$1(arr, i) {
|
|
14316
14319
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14317
14320
|
if (_i == null) return;
|
|
14318
14321
|
var _arr = [];
|
|
@@ -14336,19 +14339,19 @@ function _iterable_to_array_limit$3$1(arr, i) {
|
|
|
14336
14339
|
}
|
|
14337
14340
|
return _arr;
|
|
14338
14341
|
}
|
|
14339
|
-
function _non_iterable_rest$
|
|
14342
|
+
function _non_iterable_rest$4$1() {
|
|
14340
14343
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14341
14344
|
}
|
|
14342
|
-
function _sliced_to_array$
|
|
14343
|
-
return _array_with_holes$
|
|
14345
|
+
function _sliced_to_array$4$1(arr, i) {
|
|
14346
|
+
return _array_with_holes$4$1(arr) || _iterable_to_array_limit$4$1(arr, i) || _unsupported_iterable_to_array$4$1(arr, i) || _non_iterable_rest$4$1();
|
|
14344
14347
|
}
|
|
14345
|
-
function _unsupported_iterable_to_array$
|
|
14348
|
+
function _unsupported_iterable_to_array$4$1(o, minLen) {
|
|
14346
14349
|
if (!o) return;
|
|
14347
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
14350
|
+
if (typeof o === "string") return _array_like_to_array$4$1(o, minLen);
|
|
14348
14351
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14349
14352
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14350
14353
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14351
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
14354
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4$1(o, minLen);
|
|
14352
14355
|
}
|
|
14353
14356
|
function _ts_generator$s(thisArg, body) {
|
|
14354
14357
|
var f, y, t, _ = {
|
|
@@ -14459,7 +14462,7 @@ function _ts_generator$s(thisArg, body) {
|
|
|
14459
14462
|
* the 2nd argument is a refresh function to refresh the data.
|
|
14460
14463
|
*/ function useAsyncState(load) {
|
|
14461
14464
|
var deps = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
14462
|
-
var _useState = _sliced_to_array$
|
|
14465
|
+
var _useState = _sliced_to_array$4$1(reactExports.useState(ZAsyncLoading), 2), current = _useState[0], setCurrent = _useState[1];
|
|
14463
14466
|
var subscription = reactExports.useRef(new Subscription());
|
|
14464
14467
|
var _refresh = function() {
|
|
14465
14468
|
subscription.current.unsubscribe();
|
|
@@ -14728,6 +14731,78 @@ function _define_property$s(obj, key, value) {
|
|
|
14728
14731
|
};
|
|
14729
14732
|
}
|
|
14730
14733
|
|
|
14734
|
+
function _array_like_to_array$2(arr, len) {
|
|
14735
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
14736
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14737
|
+
return arr2;
|
|
14738
|
+
}
|
|
14739
|
+
function _array_with_holes$2(arr) {
|
|
14740
|
+
if (Array.isArray(arr)) return arr;
|
|
14741
|
+
}
|
|
14742
|
+
function _iterable_to_array_limit$2(arr, i) {
|
|
14743
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14744
|
+
if (_i == null) return;
|
|
14745
|
+
var _arr = [];
|
|
14746
|
+
var _n = true;
|
|
14747
|
+
var _d = false;
|
|
14748
|
+
var _s, _e;
|
|
14749
|
+
try {
|
|
14750
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
14751
|
+
_arr.push(_s.value);
|
|
14752
|
+
if (i && _arr.length === i) break;
|
|
14753
|
+
}
|
|
14754
|
+
} catch (err) {
|
|
14755
|
+
_d = true;
|
|
14756
|
+
_e = err;
|
|
14757
|
+
} finally{
|
|
14758
|
+
try {
|
|
14759
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
14760
|
+
} finally{
|
|
14761
|
+
if (_d) throw _e;
|
|
14762
|
+
}
|
|
14763
|
+
}
|
|
14764
|
+
return _arr;
|
|
14765
|
+
}
|
|
14766
|
+
function _non_iterable_rest$2() {
|
|
14767
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14768
|
+
}
|
|
14769
|
+
function _sliced_to_array$2(arr, i) {
|
|
14770
|
+
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$2(arr, i) || _non_iterable_rest$2();
|
|
14771
|
+
}
|
|
14772
|
+
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
14773
|
+
if (!o) return;
|
|
14774
|
+
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
14775
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14776
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14777
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14778
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
14779
|
+
}
|
|
14780
|
+
/**
|
|
14781
|
+
* Represents a useState where changing the initial state resets the internal state.
|
|
14782
|
+
*
|
|
14783
|
+
* This is useful for form like flows where you internally keep track
|
|
14784
|
+
* of changes to data, commit the changes, and then want to reflect the new
|
|
14785
|
+
* updated state.
|
|
14786
|
+
*
|
|
14787
|
+
* @param initial -
|
|
14788
|
+
* The initial state or a callback to retrieve the initial state.
|
|
14789
|
+
*
|
|
14790
|
+
* @returns
|
|
14791
|
+
* A set state tuple where the first value is the current set value,
|
|
14792
|
+
* and the 2nd value is a setter for the internal state.
|
|
14793
|
+
*/ function useSyncState(initial) {
|
|
14794
|
+
var _useState = _sliced_to_array$2(reactExports.useState(initial), 2), value = _useState[0], setValue = _useState[1];
|
|
14795
|
+
reactExports.useEffect(function() {
|
|
14796
|
+
setValue(initial);
|
|
14797
|
+
}, [
|
|
14798
|
+
initial
|
|
14799
|
+
]);
|
|
14800
|
+
return [
|
|
14801
|
+
value,
|
|
14802
|
+
setValue
|
|
14803
|
+
];
|
|
14804
|
+
}
|
|
14805
|
+
|
|
14731
14806
|
function _array_like_to_array$1$1(arr, len) {
|
|
14732
14807
|
if (len == null || len > arr.length) len = arr.length;
|
|
14733
14808
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -15441,7 +15516,7 @@ function rulesheet (callback) {
|
|
|
15441
15516
|
}
|
|
15442
15517
|
|
|
15443
15518
|
/**
|
|
15444
|
-
* react-router v7.9.
|
|
15519
|
+
* react-router v7.9.4
|
|
15445
15520
|
*
|
|
15446
15521
|
* Copyright (c) Remix Software Inc.
|
|
15447
15522
|
*
|
|
@@ -17214,7 +17289,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
|
|
|
17214
17289
|
try {
|
|
17215
17290
|
if (isBrowser) {
|
|
17216
17291
|
window.__reactRouterVersion = // @ts-expect-error
|
|
17217
|
-
"7.9.
|
|
17292
|
+
"7.9.4";
|
|
17218
17293
|
}
|
|
17219
17294
|
} catch (e) {
|
|
17220
17295
|
}
|
|
@@ -20901,14 +20976,14 @@ var ZHttpCodeSuccess = /*#__PURE__*/ function(ZHttpCodeSuccess) {
|
|
|
20901
20976
|
*/ ZHttpCodeSuccess[ZHttpCodeSuccess["IMUsed"] = 226] = "IMUsed";
|
|
20902
20977
|
return ZHttpCodeSuccess;
|
|
20903
20978
|
}({});
|
|
20904
|
-
var _obj
|
|
20979
|
+
var _obj;
|
|
20905
20980
|
/**
|
|
20906
20981
|
* Friendly english names of success codes.
|
|
20907
|
-
*/ var ZHttpCodeSuccessNames = (_obj
|
|
20908
|
-
var _obj1
|
|
20982
|
+
*/ var ZHttpCodeSuccessNames = (_obj = {}, _define_property$2$1(_obj, 200, "OK"), _define_property$2$1(_obj, 201, "Created"), _define_property$2$1(_obj, 202, "Accepted"), _define_property$2$1(_obj, 203, "Non-Authoritative Information"), _define_property$2$1(_obj, 204, "No Content"), _define_property$2$1(_obj, 205, "Reset Content"), _define_property$2$1(_obj, 206, "Partial Content"), _define_property$2$1(_obj, 207, "Multi Status"), _define_property$2$1(_obj, 208, "Already Reported"), _define_property$2$1(_obj, 226, "IM Used"), _obj);
|
|
20983
|
+
var _obj1;
|
|
20909
20984
|
/**
|
|
20910
20985
|
* Friendly english descriptions of success codes.
|
|
20911
|
-
*/ var ZHttpCodeSuccessDescriptions = (_obj1
|
|
20986
|
+
*/ var ZHttpCodeSuccessDescriptions = (_obj1 = {}, _define_property$2$1(_obj1, 200, "The request was successful."), _define_property$2$1(_obj1, 201, "The request has been fulfilled, resulting in the creation of a new resource."), _define_property$2$1(_obj1, 202, "The request has been accepted for processing, but the processing has not been completed."), _define_property$2$1(_obj1, 203, "The server is a transforming proxy that received an OK from its origin,but is returning a modified version of the response."), _define_property$2$1(_obj1, 204, "The server successfully processed the request and is not returning any content."), _define_property$2$1(_obj1, 205, "The server successfully processed the request, but is not returning any content. The document view must be refreshed."), _define_property$2$1(_obj1, 206, "he server is delivering only part of the resource due to a range header sent by the client."), _define_property$2$1(_obj1, 207, "The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made."), _define_property$2$1(_obj1, 208, "The members of a DAV binding have already been enumerated in a preceding part of the response, and are not being included again."), _define_property$2$1(_obj1, 226, "The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."), _obj1);
|
|
20912
20987
|
/**
|
|
20913
20988
|
* Gets the english friendly name of a code.
|
|
20914
20989
|
*
|
|
@@ -21688,7 +21763,7 @@ function useFashionDevice() {
|
|
|
21688
21763
|
return reactExports.useContext(ZFashionDeviceContext);
|
|
21689
21764
|
}
|
|
21690
21765
|
|
|
21691
|
-
function _tagged_template_literal$
|
|
21766
|
+
function _tagged_template_literal$A(strings, raw) {
|
|
21692
21767
|
if (!raw) {
|
|
21693
21768
|
raw = strings.slice(0);
|
|
21694
21769
|
}
|
|
@@ -21698,13 +21773,13 @@ function _tagged_template_literal$z(strings, raw) {
|
|
|
21698
21773
|
}
|
|
21699
21774
|
}));
|
|
21700
21775
|
}
|
|
21701
|
-
function _templateObject$
|
|
21702
|
-
var data = _tagged_template_literal$
|
|
21776
|
+
function _templateObject$A() {
|
|
21777
|
+
var data = _tagged_template_literal$A([
|
|
21703
21778
|
"\n body {\n background-color: ",
|
|
21704
21779
|
";\n color: ",
|
|
21705
21780
|
";\n margin: 0;\n position: relative;\n height: 100vh;\n }\n "
|
|
21706
21781
|
]);
|
|
21707
|
-
_templateObject$
|
|
21782
|
+
_templateObject$A = function _templateObject() {
|
|
21708
21783
|
return data;
|
|
21709
21784
|
};
|
|
21710
21785
|
return data;
|
|
@@ -21779,14 +21854,14 @@ function _templateObject$z() {
|
|
|
21779
21854
|
*/ function ZStyled(props) {
|
|
21780
21855
|
var children = props.children, className = props.className;
|
|
21781
21856
|
var body = useFashionTheme().body;
|
|
21782
|
-
useGlobalCss(css$1(_templateObject$
|
|
21857
|
+
useGlobalCss(css$1(_templateObject$A(), body.idle.main, body.idle.contrast));
|
|
21783
21858
|
return /*#__PURE__*/ jsxRuntimeExports.jsx("div", {
|
|
21784
21859
|
className: cssJoinDefined("ZStyled-root", className),
|
|
21785
21860
|
children: children
|
|
21786
21861
|
});
|
|
21787
21862
|
}
|
|
21788
21863
|
|
|
21789
|
-
function _tagged_template_literal$
|
|
21864
|
+
function _tagged_template_literal$z(strings, raw) {
|
|
21790
21865
|
if (!raw) {
|
|
21791
21866
|
raw = strings.slice(0);
|
|
21792
21867
|
}
|
|
@@ -21796,8 +21871,8 @@ function _tagged_template_literal$y(strings, raw) {
|
|
|
21796
21871
|
}
|
|
21797
21872
|
}));
|
|
21798
21873
|
}
|
|
21799
|
-
function _templateObject$
|
|
21800
|
-
var data = _tagged_template_literal$
|
|
21874
|
+
function _templateObject$z() {
|
|
21875
|
+
var data = _tagged_template_literal$z([
|
|
21801
21876
|
"\n &.ZAlert-root {\n align-items: center;\n background: ",
|
|
21802
21877
|
";\n border-color: ",
|
|
21803
21878
|
";\n border-radius: 0.25rem;\n border-style: double;\n box-shadow: 0 0 0 ",
|
|
@@ -21809,7 +21884,7 @@ function _templateObject$y() {
|
|
|
21809
21884
|
";\n }\n\n .ZAlert-heading {\n grid-area: heading;\n margin-bottom: ",
|
|
21810
21885
|
";\n }\n\n .ZAlert-message {\n grid-area: message;\n }\n "
|
|
21811
21886
|
]);
|
|
21812
|
-
_templateObject$
|
|
21887
|
+
_templateObject$z = function _templateObject() {
|
|
21813
21888
|
return data;
|
|
21814
21889
|
};
|
|
21815
21890
|
return data;
|
|
@@ -21823,7 +21898,7 @@ function ZAlert(props) {
|
|
|
21823
21898
|
var boxWidth = tailor.thickness(ZSizeFixed.ExtraSmall);
|
|
21824
21899
|
var px = tailor.gap(ZSizeFixed.Small);
|
|
21825
21900
|
var py = tailor.gap(ZSizeFixed.ExtraSmall);
|
|
21826
|
-
var _className = useCss(css$1(_templateObject$
|
|
21901
|
+
var _className = useCss(css$1(_templateObject$z(), picker.idle.main, picker.idle.border, boxWidth, picker.idle.border, picker.idle.contrast, px, py, tailor.gap(ZSizeFixed.Medium), tailor.gap(ZSizeFixed.Small)));
|
|
21827
21902
|
return /*#__PURE__*/ jsxRuntimeExports.jsxs("div", {
|
|
21828
21903
|
className: cssJoinDefined("ZAlert-root", className, _className),
|
|
21829
21904
|
"data-name": name,
|
|
@@ -22276,7 +22351,7 @@ function _is_native_reflect_construct$t() {
|
|
|
22276
22351
|
}(ZCircusComponentModel);
|
|
22277
22352
|
_define_property$T(ZBannerMainComponentModel, "Selector", ".ZBannerMain-root");
|
|
22278
22353
|
|
|
22279
|
-
function _tagged_template_literal$
|
|
22354
|
+
function _tagged_template_literal$y(strings, raw) {
|
|
22280
22355
|
if (!raw) {
|
|
22281
22356
|
raw = strings.slice(0);
|
|
22282
22357
|
}
|
|
@@ -22286,15 +22361,15 @@ function _tagged_template_literal$x(strings, raw) {
|
|
|
22286
22361
|
}
|
|
22287
22362
|
}));
|
|
22288
22363
|
}
|
|
22289
|
-
function _templateObject$
|
|
22290
|
-
var data = _tagged_template_literal$
|
|
22364
|
+
function _templateObject$y() {
|
|
22365
|
+
var data = _tagged_template_literal$y([
|
|
22291
22366
|
"\n &.ZBanner-root {\n background: ",
|
|
22292
22367
|
";\n box-sizing: border-box;\n color: ",
|
|
22293
22368
|
";\n left: 0;\n padding: ",
|
|
22294
22369
|
"\n ",
|
|
22295
22370
|
";\n position: sticky;\n right: 0;\n top: 0;\n z-index: 1100;\n }\n "
|
|
22296
22371
|
]);
|
|
22297
|
-
_templateObject$
|
|
22372
|
+
_templateObject$y = function _templateObject() {
|
|
22298
22373
|
return data;
|
|
22299
22374
|
};
|
|
22300
22375
|
return data;
|
|
@@ -22304,7 +22379,7 @@ function ZBanner(props) {
|
|
|
22304
22379
|
var tailor = useFashionTailor();
|
|
22305
22380
|
var children = props.children, className = props.className, fashion = props.fashion;
|
|
22306
22381
|
var picker = new ZColorPicker(firstDefined(primary, fashion));
|
|
22307
|
-
var _className = useCss(css$1(_templateObject$
|
|
22382
|
+
var _className = useCss(css$1(_templateObject$y(), picker.idle.main, picker.idle.contrast, tailor.gap(ZSizeFixed.ExtraSmall), tailor.gap(ZSizeFixed.Small)));
|
|
22308
22383
|
return /*#__PURE__*/ jsxRuntimeExports.jsx("div", {
|
|
22309
22384
|
className: cssJoinDefined("ZBanner-root", className, _className),
|
|
22310
22385
|
role: "banner",
|
|
@@ -22340,7 +22415,7 @@ function _object_spread$o(target) {
|
|
|
22340
22415
|
}
|
|
22341
22416
|
return target;
|
|
22342
22417
|
}
|
|
22343
|
-
function ownKeys$
|
|
22418
|
+
function ownKeys$i(object, enumerableOnly) {
|
|
22344
22419
|
var keys = Object.keys(object);
|
|
22345
22420
|
if (Object.getOwnPropertySymbols) {
|
|
22346
22421
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -22348,12 +22423,12 @@ function ownKeys$k(object, enumerableOnly) {
|
|
|
22348
22423
|
}
|
|
22349
22424
|
return keys;
|
|
22350
22425
|
}
|
|
22351
|
-
function _object_spread_props$
|
|
22426
|
+
function _object_spread_props$i(target, source) {
|
|
22352
22427
|
source = source != null ? source : {};
|
|
22353
22428
|
if (Object.getOwnPropertyDescriptors) {
|
|
22354
22429
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
22355
22430
|
} else {
|
|
22356
|
-
ownKeys$
|
|
22431
|
+
ownKeys$i(Object(source)).forEach(function(key) {
|
|
22357
22432
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22358
22433
|
});
|
|
22359
22434
|
}
|
|
@@ -22386,7 +22461,7 @@ function _object_without_properties_loose$9(source, excluded) {
|
|
|
22386
22461
|
}
|
|
22387
22462
|
return target;
|
|
22388
22463
|
}
|
|
22389
|
-
function _tagged_template_literal$
|
|
22464
|
+
function _tagged_template_literal$x(strings, raw) {
|
|
22390
22465
|
if (!raw) {
|
|
22391
22466
|
raw = strings.slice(0);
|
|
22392
22467
|
}
|
|
@@ -22396,8 +22471,8 @@ function _tagged_template_literal$w(strings, raw) {
|
|
|
22396
22471
|
}
|
|
22397
22472
|
}));
|
|
22398
22473
|
}
|
|
22399
|
-
function _templateObject$
|
|
22400
|
-
var data = _tagged_template_literal$
|
|
22474
|
+
function _templateObject$x() {
|
|
22475
|
+
var data = _tagged_template_literal$x([
|
|
22401
22476
|
"\n & {\n background-color: ",
|
|
22402
22477
|
";\n border-color: ",
|
|
22403
22478
|
";\n\n border-bottom-style: ",
|
|
@@ -22440,12 +22515,12 @@ function _templateObject$w() {
|
|
|
22440
22515
|
" {\n & {\n max-width: ",
|
|
22441
22516
|
";\n }\n }\n "
|
|
22442
22517
|
]);
|
|
22443
|
-
_templateObject$
|
|
22518
|
+
_templateObject$x = function _templateObject() {
|
|
22444
22519
|
return data;
|
|
22445
22520
|
};
|
|
22446
22521
|
return data;
|
|
22447
22522
|
}
|
|
22448
|
-
var WidthChart$4 =
|
|
22523
|
+
var WidthChart$4 = _object_spread$o({}, createSizeChartFixedCss(createSizeChartFixedGeometric(1.4, 18), "rem"), createSizeChartVariedCss(), createSizeChartVoidCss());
|
|
22449
22524
|
function ZBox(props) {
|
|
22450
22525
|
var device = useFashionDevice();
|
|
22451
22526
|
var tailor = useFashionTailor();
|
|
@@ -22470,8 +22545,8 @@ function ZBox(props) {
|
|
|
22470
22545
|
var _padding = new ZQuadrilateralBuilder(ZSizeVoid.None).from(padding).build();
|
|
22471
22546
|
var _margin = new ZQuadrilateralBuilder(ZSizeVoid.None).from(margin).build();
|
|
22472
22547
|
var _width = new ZDeviceValues(width, ZSizeVaried.Full);
|
|
22473
|
-
var _className = useCss(css$1(_templateObject$
|
|
22474
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx("div", _object_spread_props$
|
|
22548
|
+
var _className = useCss(css$1(_templateObject$x(), picker.idle.main, picker.idle.border, trim.bottom, trim.left, trim.right, trim.top, tailor.thickness(edge.bottom), tailor.thickness(edge.left), tailor.thickness(edge.right), tailor.thickness(edge.top), tailor.rounding(radius.bottomLeft), tailor.rounding(radius.bottomRight), tailor.rounding(radius.topLeft), tailor.rounding(radius.topRight), picker.idle.contrast, cursor, tailor.gap(_padding.bottom), tailor.gap(_padding.left), tailor.gap(_padding.right), tailor.gap(_padding.top), tailor.gap(_margin.bottom), tailor.gap(_margin.left), tailor.gap(_margin.right), tailor.gap(_margin.top), WidthChart$4[_width.xl], justification, interactive ? picker.focus.main : picker.idle.main, interactive ? picker.focus.border : picker.idle.border, interactive ? picker.focus.contrast : picker.idle.contrast, interactive ? picker.hover.main : picker.idle.main, interactive ? picker.hover.border : picker.idle.border, interactive ? picker.hover.contrast : picker.idle.contrast, device.break(ZSizeFixed.Large), WidthChart$4[_width.lg], device.break(ZSizeFixed.Medium), WidthChart$4[_width.md], device.break(ZSizeFixed.Small), WidthChart$4[_width.sm], device.break(ZSizeFixed.ExtraSmall), WidthChart$4[_width.xs]));
|
|
22549
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx("div", _object_spread_props$i(_object_spread$o({}, events), {
|
|
22475
22550
|
className: cssJoinDefined("ZBox-root", className, _className),
|
|
22476
22551
|
tabIndex: tabIndex,
|
|
22477
22552
|
children: children
|
|
@@ -22519,7 +22594,7 @@ function _object_spread$n(target) {
|
|
|
22519
22594
|
}
|
|
22520
22595
|
return target;
|
|
22521
22596
|
}
|
|
22522
|
-
function ownKeys$
|
|
22597
|
+
function ownKeys$h(object, enumerableOnly) {
|
|
22523
22598
|
var keys = Object.keys(object);
|
|
22524
22599
|
if (Object.getOwnPropertySymbols) {
|
|
22525
22600
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -22527,12 +22602,12 @@ function ownKeys$j(object, enumerableOnly) {
|
|
|
22527
22602
|
}
|
|
22528
22603
|
return keys;
|
|
22529
22604
|
}
|
|
22530
|
-
function _object_spread_props$
|
|
22605
|
+
function _object_spread_props$h(target, source) {
|
|
22531
22606
|
source = source != null ? source : {};
|
|
22532
22607
|
if (Object.getOwnPropertyDescriptors) {
|
|
22533
22608
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
22534
22609
|
} else {
|
|
22535
|
-
ownKeys$
|
|
22610
|
+
ownKeys$h(Object(source)).forEach(function(key) {
|
|
22536
22611
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22537
22612
|
});
|
|
22538
22613
|
}
|
|
@@ -22565,8 +22640,49 @@ function _object_without_properties_loose$8(source, excluded) {
|
|
|
22565
22640
|
}
|
|
22566
22641
|
return target;
|
|
22567
22642
|
}
|
|
22643
|
+
function _tagged_template_literal$w(strings, raw) {
|
|
22644
|
+
if (!raw) {
|
|
22645
|
+
raw = strings.slice(0);
|
|
22646
|
+
}
|
|
22647
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
22648
|
+
raw: {
|
|
22649
|
+
value: Object.freeze(raw)
|
|
22650
|
+
}
|
|
22651
|
+
}));
|
|
22652
|
+
}
|
|
22653
|
+
function _templateObject$w() {
|
|
22654
|
+
var data = _tagged_template_literal$w([
|
|
22655
|
+
"\n & {\n align-content: ",
|
|
22656
|
+
";\n align-items: ",
|
|
22657
|
+
";\n display: ",
|
|
22658
|
+
";\n flex-direction: ",
|
|
22659
|
+
";\n flex-wrap: ",
|
|
22660
|
+
";\n gap: ",
|
|
22661
|
+
";\n height: ",
|
|
22662
|
+
";\n justify-content: ",
|
|
22663
|
+
";\n width: ",
|
|
22664
|
+
";\n }\n\n ",
|
|
22665
|
+
" {\n height: ",
|
|
22666
|
+
";\n width: ",
|
|
22667
|
+
";\n }\n\n ",
|
|
22668
|
+
" {\n height: ",
|
|
22669
|
+
";\n width: ",
|
|
22670
|
+
";\n }\n\n ",
|
|
22671
|
+
" {\n height: ",
|
|
22672
|
+
";\n width: ",
|
|
22673
|
+
";\n }\n\n ",
|
|
22674
|
+
" {\n height: ",
|
|
22675
|
+
";\n width: ",
|
|
22676
|
+
";\n }\n "
|
|
22677
|
+
]);
|
|
22678
|
+
_templateObject$w = function _templateObject() {
|
|
22679
|
+
return data;
|
|
22680
|
+
};
|
|
22681
|
+
return data;
|
|
22682
|
+
}
|
|
22683
|
+
var DimensionChart$1 = createSizeChartVariedCss();
|
|
22568
22684
|
function ZStack(props) {
|
|
22569
|
-
var className = props.className, align = props.align, justify = props.justify, gap = props.gap, name = props.name, orientation = props.orientation, children = props.children, inline = props.inline, wrap = props.wrap, dom = _object_without_properties$8(props, [
|
|
22685
|
+
var className = props.className, align = props.align, justify = props.justify, gap = props.gap, name = props.name, orientation = props.orientation, children = props.children, inline = props.inline, wrap = props.wrap, height = props.height, width = props.width, dom = _object_without_properties$8(props, [
|
|
22570
22686
|
"className",
|
|
22571
22687
|
"align",
|
|
22572
22688
|
"justify",
|
|
@@ -22575,21 +22691,24 @@ function ZStack(props) {
|
|
|
22575
22691
|
"orientation",
|
|
22576
22692
|
"children",
|
|
22577
22693
|
"inline",
|
|
22578
|
-
"wrap"
|
|
22694
|
+
"wrap",
|
|
22695
|
+
"height",
|
|
22696
|
+
"width"
|
|
22579
22697
|
]);
|
|
22698
|
+
var device = useFashionDevice();
|
|
22580
22699
|
var tailor = useFashionTailor();
|
|
22581
|
-
|
|
22582
|
-
|
|
22583
|
-
|
|
22584
|
-
|
|
22585
|
-
|
|
22586
|
-
|
|
22587
|
-
|
|
22588
|
-
|
|
22589
|
-
|
|
22590
|
-
|
|
22591
|
-
|
|
22592
|
-
|
|
22700
|
+
var _display = inline ? "inline-flex" : "flex";
|
|
22701
|
+
var _direction = orientation === ZOrientation.Horizontal ? "row" : "column";
|
|
22702
|
+
var _gap = tailor.gap(firstDefined(ZSizeVoid.None, gap));
|
|
22703
|
+
var _alignItems = firstDefined("stretch", align === null || align === void 0 ? void 0 : align.items);
|
|
22704
|
+
var _alignContent = firstDefined("normal", align === null || align === void 0 ? void 0 : align.content);
|
|
22705
|
+
var _justifyContent = firstDefined("start", justify === null || justify === void 0 ? void 0 : justify.content);
|
|
22706
|
+
var _wrap = firstDefined("nowrap", wrap);
|
|
22707
|
+
var _width = new ZDeviceValues(width, ZSizeVaried.Default);
|
|
22708
|
+
var _height = new ZDeviceValues(height, ZSizeVaried.Default);
|
|
22709
|
+
var _className = useCss(css$1(_templateObject$w(), _alignContent, _alignItems, _display, _direction, _wrap, _gap, DimensionChart$1[_height.xl], _justifyContent, DimensionChart$1[_width.xl], device.break(ZSizeFixed.Large), DimensionChart$1[_height.lg], DimensionChart$1[_width.lg], device.break(ZSizeFixed.Medium), DimensionChart$1[_height.md], DimensionChart$1[_width.md], device.break(ZSizeFixed.Small), DimensionChart$1[_height.sm], DimensionChart$1[_width.sm], device.break(ZSizeFixed.ExtraSmall), DimensionChart$1[_height.xs], DimensionChart$1[_width.xs]));
|
|
22710
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx("div", _object_spread_props$h(_object_spread$n({
|
|
22711
|
+
className: cssJoinDefined("ZStack-root", _className, className)
|
|
22593
22712
|
}, dom), {
|
|
22594
22713
|
"data-orientation": orientation,
|
|
22595
22714
|
"data-name": name,
|
|
@@ -22626,7 +22745,7 @@ function _object_spread$m(target) {
|
|
|
22626
22745
|
}
|
|
22627
22746
|
return target;
|
|
22628
22747
|
}
|
|
22629
|
-
function ownKeys$
|
|
22748
|
+
function ownKeys$g(object, enumerableOnly) {
|
|
22630
22749
|
var keys = Object.keys(object);
|
|
22631
22750
|
if (Object.getOwnPropertySymbols) {
|
|
22632
22751
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -22634,12 +22753,12 @@ function ownKeys$i(object, enumerableOnly) {
|
|
|
22634
22753
|
}
|
|
22635
22754
|
return keys;
|
|
22636
22755
|
}
|
|
22637
|
-
function _object_spread_props$
|
|
22756
|
+
function _object_spread_props$g(target, source) {
|
|
22638
22757
|
source = source != null ? source : {};
|
|
22639
22758
|
if (Object.getOwnPropertyDescriptors) {
|
|
22640
22759
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
22641
22760
|
} else {
|
|
22642
|
-
ownKeys$
|
|
22761
|
+
ownKeys$g(Object(source)).forEach(function(key) {
|
|
22643
22762
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22644
22763
|
});
|
|
22645
22764
|
}
|
|
@@ -22742,7 +22861,7 @@ function Typography(props) {
|
|
|
22742
22861
|
"weight"
|
|
22743
22862
|
]);
|
|
22744
22863
|
var _className = useTypographyCss(props);
|
|
22745
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Element, _object_spread_props$
|
|
22864
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Element, _object_spread_props$g(_object_spread$m({}, dom), {
|
|
22746
22865
|
className: cssJoinDefined("ZTypography-root", className, _className),
|
|
22747
22866
|
"data-compact": compact,
|
|
22748
22867
|
"data-fashion": fashion === null || fashion === void 0 ? void 0 : fashion.name,
|
|
@@ -22757,7 +22876,7 @@ var ZH1 = function(_param) {
|
|
|
22757
22876
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22758
22877
|
"className"
|
|
22759
22878
|
]);
|
|
22760
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22879
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22761
22880
|
Element: "h1"
|
|
22762
22881
|
}, props), {
|
|
22763
22882
|
className: cssJoinDefined("ZH1-root", className),
|
|
@@ -22769,7 +22888,7 @@ var ZH2 = function(_param) {
|
|
|
22769
22888
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22770
22889
|
"className"
|
|
22771
22890
|
]);
|
|
22772
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22891
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22773
22892
|
Element: "h2"
|
|
22774
22893
|
}, props), {
|
|
22775
22894
|
className: cssJoinDefined("ZH2-root", className),
|
|
@@ -22781,7 +22900,7 @@ var ZH3 = function(_param) {
|
|
|
22781
22900
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22782
22901
|
"className"
|
|
22783
22902
|
]);
|
|
22784
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22903
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22785
22904
|
Element: "h3"
|
|
22786
22905
|
}, props), {
|
|
22787
22906
|
className: cssJoinDefined("ZH3-root", className),
|
|
@@ -22793,7 +22912,7 @@ var ZH5 = function(_param) {
|
|
|
22793
22912
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22794
22913
|
"className"
|
|
22795
22914
|
]);
|
|
22796
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22915
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22797
22916
|
Element: "h5"
|
|
22798
22917
|
}, props), {
|
|
22799
22918
|
className: cssJoinDefined("ZH5-root", className),
|
|
@@ -22806,7 +22925,7 @@ var ZParagraph = function(_param) {
|
|
|
22806
22925
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22807
22926
|
"className"
|
|
22808
22927
|
]);
|
|
22809
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22928
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22810
22929
|
Element: "p"
|
|
22811
22930
|
}, props), {
|
|
22812
22931
|
className: cssJoinDefined("ZParagraph-root", className),
|
|
@@ -22818,7 +22937,7 @@ var ZCaption = function(_param) {
|
|
|
22818
22937
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22819
22938
|
"className"
|
|
22820
22939
|
]);
|
|
22821
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22940
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22822
22941
|
Element: "sub"
|
|
22823
22942
|
}, props), {
|
|
22824
22943
|
className: cssJoinDefined("ZCaption-root", className),
|
|
@@ -22830,7 +22949,7 @@ var ZSubtitle = function(_param) {
|
|
|
22830
22949
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22831
22950
|
"className"
|
|
22832
22951
|
]);
|
|
22833
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22952
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22834
22953
|
Element: "sub"
|
|
22835
22954
|
}, props), {
|
|
22836
22955
|
className: cssJoinDefined("ZSubtitle-root", className),
|
|
@@ -22842,7 +22961,7 @@ var ZButtonText = function(_param) {
|
|
|
22842
22961
|
var className = _param.className, props = _object_without_properties$7(_param, [
|
|
22843
22962
|
"className"
|
|
22844
22963
|
]);
|
|
22845
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$
|
|
22964
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(Typography, _object_spread_props$g(_object_spread$m({
|
|
22846
22965
|
Element: "div"
|
|
22847
22966
|
}, props), {
|
|
22848
22967
|
className: cssJoinDefined("ZButtonText-root", className),
|
|
@@ -23066,7 +23185,7 @@ function _object_spread$k(target) {
|
|
|
23066
23185
|
}
|
|
23067
23186
|
return target;
|
|
23068
23187
|
}
|
|
23069
|
-
function ownKeys$
|
|
23188
|
+
function ownKeys$f(object, enumerableOnly) {
|
|
23070
23189
|
var keys = Object.keys(object);
|
|
23071
23190
|
if (Object.getOwnPropertySymbols) {
|
|
23072
23191
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -23074,12 +23193,12 @@ function ownKeys$h(object, enumerableOnly) {
|
|
|
23074
23193
|
}
|
|
23075
23194
|
return keys;
|
|
23076
23195
|
}
|
|
23077
|
-
function _object_spread_props$
|
|
23196
|
+
function _object_spread_props$f(target, source) {
|
|
23078
23197
|
source = source != null ? source : {};
|
|
23079
23198
|
if (Object.getOwnPropertyDescriptors) {
|
|
23080
23199
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
23081
23200
|
} else {
|
|
23082
|
-
ownKeys$
|
|
23201
|
+
ownKeys$f(Object(source)).forEach(function(key) {
|
|
23083
23202
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
23084
23203
|
});
|
|
23085
23204
|
}
|
|
@@ -23148,7 +23267,7 @@ function ZLabel(props) {
|
|
|
23148
23267
|
size: ZSizeFixed.Small
|
|
23149
23268
|
});
|
|
23150
23269
|
var _className = useCss(css$1(_templateObject$t(), error.idle.main, tailor.thickness(ZSizeFixed.Medium)));
|
|
23151
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx("label", _object_spread_props$
|
|
23270
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx("label", _object_spread_props$f(_object_spread$k({}, dom), {
|
|
23152
23271
|
className: cssJoinDefined("ZLabel-root", _className, _typography, className),
|
|
23153
23272
|
htmlFor: htmlFor,
|
|
23154
23273
|
"data-required": required,
|
|
@@ -23184,7 +23303,7 @@ function _object_spread$j(target) {
|
|
|
23184
23303
|
}
|
|
23185
23304
|
return target;
|
|
23186
23305
|
}
|
|
23187
|
-
function ownKeys$
|
|
23306
|
+
function ownKeys$e(object, enumerableOnly) {
|
|
23188
23307
|
var keys = Object.keys(object);
|
|
23189
23308
|
if (Object.getOwnPropertySymbols) {
|
|
23190
23309
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -23192,12 +23311,12 @@ function ownKeys$g(object, enumerableOnly) {
|
|
|
23192
23311
|
}
|
|
23193
23312
|
return keys;
|
|
23194
23313
|
}
|
|
23195
|
-
function _object_spread_props$
|
|
23314
|
+
function _object_spread_props$e(target, source) {
|
|
23196
23315
|
source = source != null ? source : {};
|
|
23197
23316
|
if (Object.getOwnPropertyDescriptors) {
|
|
23198
23317
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
23199
23318
|
} else {
|
|
23200
|
-
ownKeys$
|
|
23319
|
+
ownKeys$e(Object(source)).forEach(function(key) {
|
|
23201
23320
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
23202
23321
|
});
|
|
23203
23322
|
}
|
|
@@ -23243,11 +23362,11 @@ function ZLabeled(props) {
|
|
|
23243
23362
|
]);
|
|
23244
23363
|
var items = orientation === ZOrientation.Horizontal ? "center" : undefined;
|
|
23245
23364
|
var renderLabel = function(_position) {
|
|
23246
|
-
return position === _position && label && /*#__PURE__*/ jsxRuntimeExports.jsx(ZLabel, _object_spread_props$
|
|
23365
|
+
return position === _position && label && /*#__PURE__*/ jsxRuntimeExports.jsx(ZLabel, _object_spread_props$e(_object_spread$j({}, LabelProps), {
|
|
23247
23366
|
children: label
|
|
23248
23367
|
}));
|
|
23249
23368
|
};
|
|
23250
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, _object_spread_props$
|
|
23369
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, _object_spread_props$e(_object_spread$j({}, dom), {
|
|
23251
23370
|
align: {
|
|
23252
23371
|
items: items
|
|
23253
23372
|
},
|
|
@@ -25117,7 +25236,7 @@ function _object_spread$h(target) {
|
|
|
25117
25236
|
}
|
|
25118
25237
|
return target;
|
|
25119
25238
|
}
|
|
25120
|
-
function ownKeys$
|
|
25239
|
+
function ownKeys$c(object, enumerableOnly) {
|
|
25121
25240
|
var keys = Object.keys(object);
|
|
25122
25241
|
if (Object.getOwnPropertySymbols) {
|
|
25123
25242
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -25125,12 +25244,12 @@ function ownKeys$e(object, enumerableOnly) {
|
|
|
25125
25244
|
}
|
|
25126
25245
|
return keys;
|
|
25127
25246
|
}
|
|
25128
|
-
function _object_spread_props$
|
|
25247
|
+
function _object_spread_props$c(target, source) {
|
|
25129
25248
|
source = source != null ? source : {};
|
|
25130
25249
|
if (Object.getOwnPropertyDescriptors) {
|
|
25131
25250
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
25132
25251
|
} else {
|
|
25133
|
-
ownKeys$
|
|
25252
|
+
ownKeys$c(Object(source)).forEach(function(key) {
|
|
25134
25253
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25135
25254
|
});
|
|
25136
25255
|
}
|
|
@@ -25197,7 +25316,7 @@ function ZLink(props) {
|
|
|
25197
25316
|
]);
|
|
25198
25317
|
var picker = new ZColorPicker(firstDefined(primary, fashion));
|
|
25199
25318
|
var _className = useCss(css$1(_templateObject$q(), picker.idle.main, picker.active.main, picker.hover.main, picker.focus.main));
|
|
25200
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx("a", _object_spread_props$
|
|
25319
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx("a", _object_spread_props$c(_object_spread$h({}, rest), {
|
|
25201
25320
|
className: cssJoinDefined("ZLink-root", _className, className),
|
|
25202
25321
|
href: href,
|
|
25203
25322
|
"data-name": name,
|
|
@@ -26022,7 +26141,7 @@ function _object_spread$e(target) {
|
|
|
26022
26141
|
}
|
|
26023
26142
|
return target;
|
|
26024
26143
|
}
|
|
26025
|
-
function ownKeys$
|
|
26144
|
+
function ownKeys$a(object, enumerableOnly) {
|
|
26026
26145
|
var keys = Object.keys(object);
|
|
26027
26146
|
if (Object.getOwnPropertySymbols) {
|
|
26028
26147
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -26030,12 +26149,12 @@ function ownKeys$c(object, enumerableOnly) {
|
|
|
26030
26149
|
}
|
|
26031
26150
|
return keys;
|
|
26032
26151
|
}
|
|
26033
|
-
function _object_spread_props$
|
|
26152
|
+
function _object_spread_props$a(target, source) {
|
|
26034
26153
|
source = source != null ? source : {};
|
|
26035
26154
|
if (Object.getOwnPropertyDescriptors) {
|
|
26036
26155
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
26037
26156
|
} else {
|
|
26038
|
-
ownKeys$
|
|
26157
|
+
ownKeys$a(Object(source)).forEach(function(key) {
|
|
26039
26158
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
26040
26159
|
});
|
|
26041
26160
|
}
|
|
@@ -26137,9 +26256,9 @@ var WidthChart$2 = createSizeChartVariedCss();
|
|
|
26137
26256
|
var component = useFashionTheme().component;
|
|
26138
26257
|
var tailor = useFashionTailor();
|
|
26139
26258
|
var picker = new ZColorPicker(firstDefined(component, fashion));
|
|
26140
|
-
var _width = new ZDeviceValues(width, ZSizeVaried.
|
|
26259
|
+
var _width = new ZDeviceValues(width, ZSizeVaried.Default);
|
|
26141
26260
|
var _className = useCss(css$1(_templateObject$n(), tailor.gap(ZSizeFixed.ExtraSmall), outline ? "transparent" : picker.idle.main, picker.idle.main, borderless ? "none" : "solid", outline ? picker.idle.main : picker.idle.contrast, compact ? 0 : tailor.gap(ZSizeFixed.ExtraSmall), WidthChart$2[_width.xl], tailor.thickness(ZSizeFixed.Medium), picker.focus.main, picker.focus.border, picker.hover.main, picker.hover.border, picker.hover.contrast, picker.active.main, picker.active.border, picker.active.contrast, device.break(ZSizeFixed.Large), WidthChart$2[_width.lg], device.break(ZSizeFixed.Medium), WidthChart$2[_width.md], device.break(ZSizeFixed.Small), WidthChart$2[_width.sm], device.break(ZSizeFixed.ExtraSmall), WidthChart$2[_width.xs]));
|
|
26142
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx("button", _object_spread_props$
|
|
26261
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx("button", _object_spread_props$a(_object_spread$e({}, dom), {
|
|
26143
26262
|
className: cssJoinDefined("ZButton-root", className, _className),
|
|
26144
26263
|
disabled: disabled,
|
|
26145
26264
|
name: name,
|
|
@@ -26526,7 +26645,7 @@ function _object_spread$d(target) {
|
|
|
26526
26645
|
}
|
|
26527
26646
|
return target;
|
|
26528
26647
|
}
|
|
26529
|
-
function ownKeys$
|
|
26648
|
+
function ownKeys$9(object, enumerableOnly) {
|
|
26530
26649
|
var keys = Object.keys(object);
|
|
26531
26650
|
if (Object.getOwnPropertySymbols) {
|
|
26532
26651
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -26534,12 +26653,12 @@ function ownKeys$b(object, enumerableOnly) {
|
|
|
26534
26653
|
}
|
|
26535
26654
|
return keys;
|
|
26536
26655
|
}
|
|
26537
|
-
function _object_spread_props$
|
|
26656
|
+
function _object_spread_props$9(target, source) {
|
|
26538
26657
|
source = source != null ? source : {};
|
|
26539
26658
|
if (Object.getOwnPropertyDescriptors) {
|
|
26540
26659
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
26541
26660
|
} else {
|
|
26542
|
-
ownKeys$
|
|
26661
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
26543
26662
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
26544
26663
|
});
|
|
26545
26664
|
}
|
|
@@ -26594,10 +26713,10 @@ function ZCard(props) {
|
|
|
26594
26713
|
var className = props.className, children = props.children, footer = props.footer, fashion = props.fashion, name = props.name, width = props.width, height = props.height, TitleProps = props.TitleProps;
|
|
26595
26714
|
var _fashion = firstDefined(surface, fashion);
|
|
26596
26715
|
var picker = new ZColorPicker(_fashion);
|
|
26597
|
-
var _width = new ZDeviceValues(width, ZSizeVaried.
|
|
26598
|
-
var _height = new ZDeviceValues(height, ZSizeVaried.
|
|
26716
|
+
var _width = new ZDeviceValues(width, ZSizeVaried.Default);
|
|
26717
|
+
var _height = new ZDeviceValues(height, ZSizeVaried.Default);
|
|
26599
26718
|
var _className = useCss(css$1(_templateObject$m(), surface.idle.main, surface.idle.contrast, WidthChart$1[_width.xl], HeightChart$4[_height.xl], picker.idle.main, picker.idle.contrast, tailor.gap(ZSizeFixed.Small), tailor.gap(ZSizeFixed.Small), tailor.gap(ZSizeFixed.Small), device.break(ZSizeFixed.Large), WidthChart$1[_width.lg], HeightChart$4[_height.lg], device.break(ZSizeFixed.Medium), WidthChart$1[_width.md], HeightChart$4[_height.md], device.break(ZSizeFixed.Small), WidthChart$1[_width.sm], HeightChart$4[_height.sm], device.break(ZSizeFixed.ExtraSmall), WidthChart$1[_width.xs], HeightChart$4[_height.xs]));
|
|
26600
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, _object_spread_props$
|
|
26719
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, _object_spread_props$9(_object_spread$d({
|
|
26601
26720
|
align: {
|
|
26602
26721
|
items: "stretch"
|
|
26603
26722
|
},
|
|
@@ -26607,7 +26726,7 @@ function ZCard(props) {
|
|
|
26607
26726
|
}, pickDataAttributes(props)), {
|
|
26608
26727
|
"data-fashion": _fashion.name,
|
|
26609
26728
|
children: [
|
|
26610
|
-
/*#__PURE__*/ jsxRuntimeExports.jsx(ZContentTitle, _object_spread_props$
|
|
26729
|
+
/*#__PURE__*/ jsxRuntimeExports.jsx(ZContentTitle, _object_spread_props$9(_object_spread$d({}, TitleProps), {
|
|
26611
26730
|
className: "ZCard-header"
|
|
26612
26731
|
})),
|
|
26613
26732
|
/*#__PURE__*/ jsxRuntimeExports.jsx("article", {
|
|
@@ -26980,8 +27099,8 @@ var DimensionChart = createSizeChartVariedCss();
|
|
|
26980
27099
|
var tailor = useFashionTailor();
|
|
26981
27100
|
var device = useFashionDevice();
|
|
26982
27101
|
var align = props.align, className = props.className, children = props.children, columns = props.columns, gap = props.gap, justify = props.justify, rows = props.rows, width = props.width, height = props.height;
|
|
26983
|
-
var _width = new ZDeviceValues(width, ZSizeVaried.
|
|
26984
|
-
var _height = new ZDeviceValues(height, ZSizeVaried.
|
|
27102
|
+
var _width = new ZDeviceValues(width, ZSizeVaried.Default);
|
|
27103
|
+
var _height = new ZDeviceValues(height, ZSizeVaried.Default);
|
|
26985
27104
|
var _columns = new ZDeviceValues(columns, undefined);
|
|
26986
27105
|
var _gap = new ZDeviceValues(gap, ZSizeVoid.None);
|
|
26987
27106
|
var _className = useCss(css$1(_templateObject$k(), align === null || align === void 0 ? void 0 : align.content, align === null || align === void 0 ? void 0 : align.items, rows, justify === null || justify === void 0 ? void 0 : justify.content, justify === null || justify === void 0 ? void 0 : justify.items, tailor.gap(_gap.xl), _columns.xl, DimensionChart[_height.xl], DimensionChart[_width.xl], device.break(ZSizeFixed.Large), tailor.gap(_gap.lg), _columns.lg, DimensionChart[_height.lg], DimensionChart[_width.lg], device.break(ZSizeFixed.Medium), tailor.gap(_gap.md), _columns.md, DimensionChart[_height.md], DimensionChart[_width.md], device.break(ZSizeFixed.Small), tailor.gap(_gap.sm), _columns.sm, DimensionChart[_height.sm], DimensionChart[_width.sm], device.break(ZSizeFixed.ExtraSmall), tailor.gap(_gap.xs), _columns.xs, DimensionChart[_height.xs], DimensionChart[_width.xs]));
|
|
@@ -27939,26 +28058,7 @@ function _object_spread$9(target) {
|
|
|
27939
28058
|
}
|
|
27940
28059
|
return target;
|
|
27941
28060
|
}
|
|
27942
|
-
|
|
27943
|
-
var keys = Object.keys(object);
|
|
27944
|
-
if (Object.getOwnPropertySymbols) {
|
|
27945
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
27946
|
-
keys.push.apply(keys, symbols);
|
|
27947
|
-
}
|
|
27948
|
-
return keys;
|
|
27949
|
-
}
|
|
27950
|
-
function _object_spread_props$8(target, source) {
|
|
27951
|
-
source = source != null ? source : {};
|
|
27952
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
27953
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
27954
|
-
} else {
|
|
27955
|
-
ownKeys$8(Object(source)).forEach(function(key) {
|
|
27956
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
27957
|
-
});
|
|
27958
|
-
}
|
|
27959
|
-
return target;
|
|
27960
|
-
}
|
|
27961
|
-
_object_spread_props$8(_object_spread$9({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(5, 10), "rem"), createSizeChartVariedCss()), _define_property$r({}, ZSizeVaried.Fit, "fit-content"));
|
|
28061
|
+
_object_spread$9({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(5, 10), "rem"), createSizeChartVariedCss());
|
|
27962
28062
|
|
|
27963
28063
|
function _define_property$q(obj, key, value) {
|
|
27964
28064
|
if (key in obj) {
|
|
@@ -27988,7 +28088,7 @@ function _object_spread$8(target) {
|
|
|
27988
28088
|
}
|
|
27989
28089
|
return target;
|
|
27990
28090
|
}
|
|
27991
|
-
function ownKeys$
|
|
28091
|
+
function ownKeys$6(object, enumerableOnly) {
|
|
27992
28092
|
var keys = Object.keys(object);
|
|
27993
28093
|
if (Object.getOwnPropertySymbols) {
|
|
27994
28094
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -27996,12 +28096,12 @@ function ownKeys$7(object, enumerableOnly) {
|
|
|
27996
28096
|
}
|
|
27997
28097
|
return keys;
|
|
27998
28098
|
}
|
|
27999
|
-
function _object_spread_props$
|
|
28099
|
+
function _object_spread_props$6(target, source) {
|
|
28000
28100
|
source = source != null ? source : {};
|
|
28001
28101
|
if (Object.getOwnPropertyDescriptors) {
|
|
28002
28102
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
28003
28103
|
} else {
|
|
28004
|
-
ownKeys$
|
|
28104
|
+
ownKeys$6(Object(source)).forEach(function(key) {
|
|
28005
28105
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
28006
28106
|
});
|
|
28007
28107
|
}
|
|
@@ -28070,7 +28170,7 @@ function ZListItem(props) {
|
|
|
28070
28170
|
var py = compact ? tailor.gap(ZSizeFixed.ExtraSmall) : tailor.gap(ZSizeFixed.Small);
|
|
28071
28171
|
var px = compact ? tailor.gap(ZSizeFixed.ExtraSmall) : tailor.gap(ZSizeFixed.Large);
|
|
28072
28172
|
var _className = useCss(css$1(_templateObject$g(), cursor, py, px));
|
|
28073
|
-
return /*#__PURE__*/ jsxRuntimeExports.jsx("li", _object_spread_props$
|
|
28173
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx("li", _object_spread_props$6(_object_spread$8({}, dom), {
|
|
28074
28174
|
className: cssJoinDefined("ZListItem-root", _className, className),
|
|
28075
28175
|
"data-name": name,
|
|
28076
28176
|
"data-interactive": interactive,
|
|
@@ -29444,29 +29544,8 @@ function _object_spread$7(target) {
|
|
|
29444
29544
|
}
|
|
29445
29545
|
return target;
|
|
29446
29546
|
}
|
|
29447
|
-
|
|
29448
|
-
|
|
29449
|
-
if (Object.getOwnPropertySymbols) {
|
|
29450
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
29451
|
-
keys.push.apply(keys, symbols);
|
|
29452
|
-
}
|
|
29453
|
-
return keys;
|
|
29454
|
-
}
|
|
29455
|
-
function _object_spread_props$6(target, source) {
|
|
29456
|
-
source = source != null ? source : {};
|
|
29457
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
29458
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
29459
|
-
} else {
|
|
29460
|
-
ownKeys$6(Object(source)).forEach(function(key) {
|
|
29461
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
29462
|
-
});
|
|
29463
|
-
}
|
|
29464
|
-
return target;
|
|
29465
|
-
}
|
|
29466
|
-
var _obj;
|
|
29467
|
-
Object.freeze(_object_spread_props$6(_object_spread$7({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(10, 20), "rem")), (_obj = {}, _define_property$n(_obj, ZSizeVaried.Full, "100%"), _define_property$n(_obj, ZSizeVaried.Fit, undefined), _obj)));
|
|
29468
|
-
var _obj1;
|
|
29469
|
-
Object.freeze(_object_spread_props$6(_object_spread$7({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(3, 20), "rem")), (_obj1 = {}, _define_property$n(_obj1, ZSizeVaried.Full, "100%"), _define_property$n(_obj1, ZSizeVaried.Fit, undefined), _obj1)));
|
|
29547
|
+
Object.freeze(_object_spread$7({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(10, 20), "rem"), createSizeChartVariedCss()));
|
|
29548
|
+
Object.freeze(_object_spread$7({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(3, 20), "rem"), createSizeChartVariedCss()));
|
|
29470
29549
|
|
|
29471
29550
|
function _assert_this_initialized$e(self) {
|
|
29472
29551
|
if (self === void 0) {
|
|
@@ -32638,8 +32717,8 @@ var ImageSizeChart = _object_spread$2({}, createSizeChartFixedCss(createSizeChar
|
|
|
32638
32717
|
*/ function ZImageSource(props) {
|
|
32639
32718
|
var device = useFashionDevice();
|
|
32640
32719
|
var className = props.className, src = props.src, height = props.height, width = props.width, name = props.name;
|
|
32641
|
-
var _height = new ZDeviceValues(height, ZSizeVaried.
|
|
32642
|
-
var _width = new ZDeviceValues(width, ZSizeVaried.
|
|
32720
|
+
var _height = new ZDeviceValues(height, ZSizeVaried.Default);
|
|
32721
|
+
var _width = new ZDeviceValues(width, ZSizeVaried.Default);
|
|
32643
32722
|
var _className = useCss(css$1(_templateObject$5(), ImageSizeChart[_width.xl], ImageSizeChart[_height.xl], device.break(ZSizeFixed.Large), ImageSizeChart[_width.lg], ImageSizeChart[_height.lg], device.break(ZSizeFixed.Medium), ImageSizeChart[_width.md], ImageSizeChart[_height.md], device.break(ZSizeFixed.Small), ImageSizeChart[_width.sm], ImageSizeChart[_height.sm], device.break(ZSizeFixed.ExtraSmall), ImageSizeChart[_width.xs], ImageSizeChart[_height.xs]));
|
|
32644
32723
|
var imageClass = cssJoinDefined("ZImageSource-root", className, _className);
|
|
32645
32724
|
if (!src) {
|
|
@@ -52145,35 +52224,62 @@ function ZRomulatorSettingsPage() {
|
|
|
52145
52224
|
});
|
|
52146
52225
|
}
|
|
52147
52226
|
|
|
52148
|
-
function
|
|
52149
|
-
const {
|
|
52150
|
-
const
|
|
52151
|
-
const
|
|
52152
|
-
|
|
52153
|
-
|
|
52154
|
-
|
|
52155
|
-
|
|
52156
|
-
|
|
52157
|
-
|
|
52158
|
-
|
|
52159
|
-
|
|
52160
|
-
|
|
52161
|
-
|
|
52162
|
-
|
|
52163
|
-
|
|
52164
|
-
|
|
52165
|
-
|
|
52166
|
-
|
|
52167
|
-
|
|
52168
|
-
|
|
52169
|
-
|
|
52170
|
-
|
|
52171
|
-
|
|
52172
|
-
|
|
52173
|
-
|
|
52174
|
-
|
|
52227
|
+
function createDefaultGamesService() {
|
|
52228
|
+
const { api } = new ZRomulatorEnvironmentBuilder().build();
|
|
52229
|
+
const endpoint = new ZUrlBuilder().parse(api).append("games").build();
|
|
52230
|
+
const http = new ZHttpService();
|
|
52231
|
+
return new ZRestfulService(http, endpoint);
|
|
52232
|
+
}
|
|
52233
|
+
const ZRomulatorGamesServiceContext = /*#__PURE__*/ reactExports.createContext(createDefaultGamesService());
|
|
52234
|
+
const useGamesService = ()=>reactExports.useContext(ZRomulatorGamesServiceContext);
|
|
52235
|
+
|
|
52236
|
+
function ZRomulatorGamesList(props) {
|
|
52237
|
+
const { value, onValueChange } = props;
|
|
52238
|
+
const [request, setRequest] = useAmbassadorState(value, onValueChange, new ZDataRequestBuilder().build());
|
|
52239
|
+
const games = useGamesService();
|
|
52240
|
+
const { body } = useFashionTheme();
|
|
52241
|
+
const navigate = useNavigate();
|
|
52242
|
+
const renderTile = (value)=>{
|
|
52243
|
+
const { api } = new ZRomulatorEnvironmentBuilder().build();
|
|
52244
|
+
const id = `${value.id}-marquees`;
|
|
52245
|
+
const wheel = `${api}/media/${id}`;
|
|
52246
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(ZBox, {
|
|
52247
|
+
className: "ZRomulatorGameTile-root",
|
|
52248
|
+
fashion: body,
|
|
52249
|
+
interactive: true,
|
|
52250
|
+
cursor: "pointer",
|
|
52251
|
+
padding: ZSizeFixed.Small,
|
|
52252
|
+
"data-name": value.id,
|
|
52253
|
+
onClick: ()=>navigate(`/games/${value.id}`),
|
|
52254
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZStack, {
|
|
52255
|
+
justify: {
|
|
52256
|
+
content: "center"
|
|
52257
|
+
},
|
|
52258
|
+
align: {
|
|
52259
|
+
items: "center"
|
|
52260
|
+
},
|
|
52261
|
+
height: ZSizeVaried.Full,
|
|
52262
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZImageSource, {
|
|
52263
|
+
src: wheel,
|
|
52264
|
+
width: ZSizeVaried.Full
|
|
52265
|
+
})
|
|
52175
52266
|
})
|
|
52176
|
-
})
|
|
52267
|
+
}, value.id);
|
|
52268
|
+
};
|
|
52269
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(ZGridView, {
|
|
52270
|
+
GridProps: {
|
|
52271
|
+
columns: {
|
|
52272
|
+
xl: "1fr 1fr 1fr 1fr",
|
|
52273
|
+
lg: "1fr 1fr 1fr",
|
|
52274
|
+
md: "1fr 1fr",
|
|
52275
|
+
sm: "1fr"
|
|
52276
|
+
},
|
|
52277
|
+
gap: ZSizeFixed.Medium
|
|
52278
|
+
},
|
|
52279
|
+
dataSource: games,
|
|
52280
|
+
renderItem: renderTile,
|
|
52281
|
+
value: request,
|
|
52282
|
+
onValueChange: setRequest
|
|
52177
52283
|
});
|
|
52178
52284
|
}
|
|
52179
52285
|
|
|
@@ -52212,9 +52318,17 @@ function ZRomulatorSystemPage() {
|
|
|
52212
52318
|
const { id } = useParams();
|
|
52213
52319
|
const { error } = useFashionTheme();
|
|
52214
52320
|
const [system] = useSystem(firstDefined("", id));
|
|
52321
|
+
const gameFilter = reactExports.useMemo(()=>new ZFilterBinaryBuilder().subject("system").equal().value(id).build(), [
|
|
52322
|
+
id
|
|
52323
|
+
]);
|
|
52324
|
+
const baseGameRequest = reactExports.useMemo(()=>new ZDataRequestBuilder().filter(gameFilter).build(), [
|
|
52325
|
+
gameFilter
|
|
52326
|
+
]);
|
|
52327
|
+
const [userRequest, setGameRequest] = useSyncState(baseGameRequest);
|
|
52215
52328
|
const renderSystemInformation = ()=>{
|
|
52216
52329
|
if (isStateLoading(system)) {
|
|
52217
52330
|
return /*#__PURE__*/ jsxRuntimeExports.jsx(ZSuspenseProgress, {
|
|
52331
|
+
name: "system-loading",
|
|
52218
52332
|
height: ZSizeFixed.Large
|
|
52219
52333
|
});
|
|
52220
52334
|
}
|
|
@@ -52225,13 +52339,41 @@ function ZRomulatorSystemPage() {
|
|
|
52225
52339
|
message: system.message
|
|
52226
52340
|
});
|
|
52227
52341
|
}
|
|
52228
|
-
return /*#__PURE__*/ jsxRuntimeExports.
|
|
52229
|
-
|
|
52342
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, {
|
|
52343
|
+
gap: ZSizeFixed.Medium,
|
|
52344
|
+
children: [
|
|
52345
|
+
/*#__PURE__*/ jsxRuntimeExports.jsx(ZCard, {
|
|
52346
|
+
name: "system-info",
|
|
52347
|
+
TitleProps: {
|
|
52348
|
+
avatar: /*#__PURE__*/ jsxRuntimeExports.jsx(ZIconFontAwesome, {
|
|
52349
|
+
name: "puzzle-piece",
|
|
52350
|
+
width: ZSizeFixed.Medium
|
|
52351
|
+
}),
|
|
52352
|
+
heading: system.name,
|
|
52353
|
+
subHeading: `Generation ${system.generation}`
|
|
52354
|
+
}
|
|
52355
|
+
}),
|
|
52356
|
+
/*#__PURE__*/ jsxRuntimeExports.jsx(ZCard, {
|
|
52357
|
+
name: "game-list",
|
|
52358
|
+
TitleProps: {
|
|
52359
|
+
avatar: /*#__PURE__*/ jsxRuntimeExports.jsx(ZIconFontAwesome, {
|
|
52360
|
+
name: "gamepad",
|
|
52361
|
+
width: ZSizeFixed.Medium
|
|
52362
|
+
}),
|
|
52363
|
+
heading: "Games",
|
|
52364
|
+
subHeading: `Your ${system.name} Games`
|
|
52365
|
+
},
|
|
52366
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZRomulatorGamesList, {
|
|
52367
|
+
value: userRequest,
|
|
52368
|
+
onValueChange: setGameRequest
|
|
52369
|
+
})
|
|
52370
|
+
})
|
|
52371
|
+
]
|
|
52230
52372
|
});
|
|
52231
52373
|
};
|
|
52232
52374
|
return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, {
|
|
52233
52375
|
gap: ZSizeFixed.Medium,
|
|
52234
|
-
className:
|
|
52376
|
+
className: "ZRomulatorSystemPage-root",
|
|
52235
52377
|
children: [
|
|
52236
52378
|
/*#__PURE__*/ jsxRuntimeExports.jsx(ZBreadcrumbsLocation, {}),
|
|
52237
52379
|
renderSystemInformation()
|