@trops/dash-core 0.1.240 → 0.1.241
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/dist/index.esm.js +115 -92
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +74 -60
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -6340,7 +6340,7 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6340
6340
|
_context2.prev = 1;
|
|
6341
6341
|
_state$customization = state.customization, name = _state$customization.name, menuId = _state$customization.menuId, theme = _state$customization.theme;
|
|
6342
6342
|
if (!(isPrebuilt && state.selectedDashboard)) {
|
|
6343
|
-
_context2.next =
|
|
6343
|
+
_context2.next = 9;
|
|
6344
6344
|
break;
|
|
6345
6345
|
}
|
|
6346
6346
|
if (!onInstallDashboard) {
|
|
@@ -6357,19 +6357,25 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6357
6357
|
});
|
|
6358
6358
|
case 2:
|
|
6359
6359
|
result = _context2.sent;
|
|
6360
|
-
_context2.next =
|
|
6360
|
+
_context2.next = 8;
|
|
6361
6361
|
break;
|
|
6362
6362
|
case 3:
|
|
6363
|
-
if (!((_window$mainApi = window.mainApi) !== null && _window$mainApi !== void 0 && (_window$mainApi = _window$mainApi.
|
|
6364
|
-
_context2.next =
|
|
6363
|
+
if (!((_window$mainApi = window.mainApi) !== null && _window$mainApi !== void 0 && (_window$mainApi = _window$mainApi.dashboardConfig) !== null && _window$mainApi !== void 0 && _window$mainApi.installDashboardFromRegistry)) {
|
|
6364
|
+
_context2.next = 8;
|
|
6365
6365
|
break;
|
|
6366
6366
|
}
|
|
6367
6367
|
_context2.next = 4;
|
|
6368
|
-
return window.mainApi.
|
|
6368
|
+
return window.mainApi.dashboardConfig.installDashboardFromRegistry(appId, state.selectedDashboard.name || state.selectedDashboard.key);
|
|
6369
6369
|
case 4:
|
|
6370
6370
|
installResult = _context2.sent;
|
|
6371
|
+
if (!(installResult !== null && installResult !== void 0 && installResult.authRequired)) {
|
|
6372
|
+
_context2.next = 5;
|
|
6373
|
+
break;
|
|
6374
|
+
}
|
|
6375
|
+
throw new Error(installResult.error || "Sign in to install this dashboard.");
|
|
6376
|
+
case 5:
|
|
6371
6377
|
if (!(installResult !== null && installResult !== void 0 && installResult.workspace)) {
|
|
6372
|
-
_context2.next =
|
|
6378
|
+
_context2.next = 7;
|
|
6373
6379
|
break;
|
|
6374
6380
|
}
|
|
6375
6381
|
updatedWorkspace = _objectSpread$B(_objectSpread$B({}, installResult.workspace), {}, {
|
|
@@ -6377,87 +6383,95 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6377
6383
|
menuId: menuId || 1,
|
|
6378
6384
|
themeKey: theme
|
|
6379
6385
|
});
|
|
6380
|
-
_context2.next =
|
|
6386
|
+
_context2.next = 6;
|
|
6381
6387
|
return window.mainApi.workspace.saveWorkspaceForApplication(appId, updatedWorkspace);
|
|
6382
|
-
case
|
|
6388
|
+
case 6:
|
|
6383
6389
|
result = {
|
|
6384
6390
|
success: true,
|
|
6385
6391
|
workspace: updatedWorkspace
|
|
6386
6392
|
};
|
|
6387
|
-
|
|
6388
|
-
_context2.next = 25;
|
|
6393
|
+
_context2.next = 8;
|
|
6389
6394
|
break;
|
|
6390
6395
|
case 7:
|
|
6396
|
+
if (!(installResult !== null && installResult !== void 0 && installResult.error)) {
|
|
6397
|
+
_context2.next = 8;
|
|
6398
|
+
break;
|
|
6399
|
+
}
|
|
6400
|
+
throw new Error(installResult.error);
|
|
6401
|
+
case 8:
|
|
6402
|
+
_context2.next = 27;
|
|
6403
|
+
break;
|
|
6404
|
+
case 9:
|
|
6391
6405
|
// Build-your-own path: create layout from template + place widgets
|
|
6392
6406
|
template = layoutTemplates.find(function (t) {
|
|
6393
6407
|
return t.id === state.layout.templateKey;
|
|
6394
6408
|
});
|
|
6395
6409
|
if (template) {
|
|
6396
|
-
_context2.next =
|
|
6410
|
+
_context2.next = 10;
|
|
6397
6411
|
break;
|
|
6398
6412
|
}
|
|
6399
6413
|
throw new Error("No layout template selected.");
|
|
6400
|
-
case
|
|
6414
|
+
case 10:
|
|
6401
6415
|
if (!((_window$mainApi2 = window.mainApi) !== null && _window$mainApi2 !== void 0 && _window$mainApi2.widgets)) {
|
|
6402
|
-
_context2.next =
|
|
6416
|
+
_context2.next = 20;
|
|
6403
6417
|
break;
|
|
6404
6418
|
}
|
|
6405
|
-
_context2.next =
|
|
6419
|
+
_context2.next = 11;
|
|
6406
6420
|
return window.mainApi.widgets.list();
|
|
6407
|
-
case
|
|
6421
|
+
case 11:
|
|
6408
6422
|
_t = _context2.sent;
|
|
6409
6423
|
if (_t) {
|
|
6410
|
-
_context2.next =
|
|
6424
|
+
_context2.next = 12;
|
|
6411
6425
|
break;
|
|
6412
6426
|
}
|
|
6413
6427
|
_t = [];
|
|
6414
|
-
case
|
|
6428
|
+
case 12:
|
|
6415
6429
|
installedList = _t;
|
|
6416
6430
|
installedNames = new Set(installedList.map(function (w) {
|
|
6417
6431
|
return w.name;
|
|
6418
6432
|
}));
|
|
6419
6433
|
_iterator = _createForOfIteratorHelper$e(state.selectedWidgets);
|
|
6420
|
-
_context2.prev =
|
|
6434
|
+
_context2.prev = 13;
|
|
6421
6435
|
_iterator.s();
|
|
6422
|
-
case
|
|
6436
|
+
case 14:
|
|
6423
6437
|
if ((_step = _iterator.n()).done) {
|
|
6424
|
-
_context2.next =
|
|
6438
|
+
_context2.next = 17;
|
|
6425
6439
|
break;
|
|
6426
6440
|
}
|
|
6427
6441
|
widget = _step.value;
|
|
6428
6442
|
if (widget.isRegistry) {
|
|
6429
|
-
_context2.next =
|
|
6443
|
+
_context2.next = 15;
|
|
6430
6444
|
break;
|
|
6431
6445
|
}
|
|
6432
|
-
return _context2.abrupt("continue",
|
|
6433
|
-
case
|
|
6446
|
+
return _context2.abrupt("continue", 16);
|
|
6447
|
+
case 15:
|
|
6434
6448
|
scopedId = widget.packageScope ? "@".concat(widget.packageScope.replace(/^@/, ""), "/").concat(widget.packageName) : widget.packageName;
|
|
6435
6449
|
if (!(!installedNames.has(scopedId) && !installedNames.has(widget.packageName))) {
|
|
6436
|
-
_context2.next =
|
|
6450
|
+
_context2.next = 16;
|
|
6437
6451
|
break;
|
|
6438
6452
|
}
|
|
6439
6453
|
resolvedUrl = (widget.downloadUrl || "").replace(/\{version\}/g, widget.packageVersion || "").replace(/\{name\}/g, widget.packageName || "");
|
|
6440
6454
|
if (!resolvedUrl) {
|
|
6441
|
-
_context2.next =
|
|
6455
|
+
_context2.next = 16;
|
|
6442
6456
|
break;
|
|
6443
6457
|
}
|
|
6444
|
-
_context2.next =
|
|
6458
|
+
_context2.next = 16;
|
|
6445
6459
|
return window.mainApi.widgets.install(scopedId, resolvedUrl);
|
|
6446
|
-
case
|
|
6447
|
-
_context2.next =
|
|
6460
|
+
case 16:
|
|
6461
|
+
_context2.next = 14;
|
|
6448
6462
|
break;
|
|
6449
|
-
case
|
|
6450
|
-
_context2.next =
|
|
6463
|
+
case 17:
|
|
6464
|
+
_context2.next = 19;
|
|
6451
6465
|
break;
|
|
6452
|
-
case
|
|
6453
|
-
_context2.prev =
|
|
6454
|
-
_t2 = _context2["catch"](
|
|
6466
|
+
case 18:
|
|
6467
|
+
_context2.prev = 18;
|
|
6468
|
+
_t2 = _context2["catch"](13);
|
|
6455
6469
|
_iterator.e(_t2);
|
|
6456
|
-
case
|
|
6457
|
-
_context2.prev =
|
|
6470
|
+
case 19:
|
|
6471
|
+
_context2.prev = 19;
|
|
6458
6472
|
_iterator.f();
|
|
6459
|
-
return _context2.finish(
|
|
6460
|
-
case
|
|
6473
|
+
return _context2.finish(19);
|
|
6474
|
+
case 20:
|
|
6461
6475
|
layoutObj = createLayoutFromTemplate(template, menuId || 1); // Place widgets into grid cells as proper layout items
|
|
6462
6476
|
widgetOrder = state.layout.widgetOrder || [];
|
|
6463
6477
|
cells = template.cells.filter(function (c) {
|
|
@@ -6494,31 +6508,31 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6494
6508
|
}, _loop);
|
|
6495
6509
|
});
|
|
6496
6510
|
i = 0;
|
|
6497
|
-
case
|
|
6511
|
+
case 21:
|
|
6498
6512
|
if (!(i < widgetOrder.length && i < cells.length)) {
|
|
6499
|
-
_context2.next =
|
|
6513
|
+
_context2.next = 23;
|
|
6500
6514
|
break;
|
|
6501
6515
|
}
|
|
6502
|
-
return _context2.delegateYield(_loop(i), "t0",
|
|
6503
|
-
case
|
|
6516
|
+
return _context2.delegateYield(_loop(i), "t0", 22);
|
|
6517
|
+
case 22:
|
|
6504
6518
|
i++;
|
|
6505
|
-
_context2.next =
|
|
6519
|
+
_context2.next = 21;
|
|
6506
6520
|
break;
|
|
6507
|
-
case
|
|
6521
|
+
case 23:
|
|
6508
6522
|
fullLayout = [layoutObj].concat(widgetItems);
|
|
6509
6523
|
if (!onCreateWorkspace) {
|
|
6510
|
-
_context2.next =
|
|
6524
|
+
_context2.next = 25;
|
|
6511
6525
|
break;
|
|
6512
6526
|
}
|
|
6513
|
-
_context2.next =
|
|
6527
|
+
_context2.next = 24;
|
|
6514
6528
|
return onCreateWorkspace(fullLayout, theme, name.trim());
|
|
6515
|
-
case
|
|
6529
|
+
case 24:
|
|
6516
6530
|
result = _context2.sent;
|
|
6517
|
-
_context2.next =
|
|
6531
|
+
_context2.next = 27;
|
|
6518
6532
|
break;
|
|
6519
|
-
case
|
|
6533
|
+
case 25:
|
|
6520
6534
|
if (!((_window$mainApi3 = window.mainApi) !== null && _window$mainApi3 !== void 0 && (_window$mainApi3 = _window$mainApi3.workspace) !== null && _window$mainApi3 !== void 0 && _window$mainApi3.saveWorkspaceForApplication)) {
|
|
6521
|
-
_context2.next =
|
|
6535
|
+
_context2.next = 27;
|
|
6522
6536
|
break;
|
|
6523
6537
|
}
|
|
6524
6538
|
workspace = {
|
|
@@ -6527,32 +6541,32 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6527
6541
|
themeKey: theme,
|
|
6528
6542
|
layout: fullLayout
|
|
6529
6543
|
};
|
|
6530
|
-
_context2.next =
|
|
6544
|
+
_context2.next = 26;
|
|
6531
6545
|
return window.mainApi.workspace.saveWorkspaceForApplication(appId, workspace);
|
|
6532
|
-
case
|
|
6546
|
+
case 26:
|
|
6533
6547
|
result = {
|
|
6534
6548
|
success: true,
|
|
6535
6549
|
workspace: workspace
|
|
6536
6550
|
};
|
|
6537
|
-
case
|
|
6551
|
+
case 27:
|
|
6538
6552
|
if (result) {
|
|
6539
6553
|
setCreatedDashboard(result.workspace || result);
|
|
6540
6554
|
}
|
|
6541
|
-
_context2.next =
|
|
6555
|
+
_context2.next = 29;
|
|
6542
6556
|
break;
|
|
6543
|
-
case
|
|
6544
|
-
_context2.prev =
|
|
6557
|
+
case 28:
|
|
6558
|
+
_context2.prev = 28;
|
|
6545
6559
|
_t3 = _context2["catch"](1);
|
|
6546
6560
|
setError(_t3.message || "Failed to create dashboard.");
|
|
6547
|
-
case
|
|
6548
|
-
_context2.prev =
|
|
6561
|
+
case 29:
|
|
6562
|
+
_context2.prev = 29;
|
|
6549
6563
|
setCreating(false);
|
|
6550
|
-
return _context2.finish(
|
|
6551
|
-
case
|
|
6564
|
+
return _context2.finish(29);
|
|
6565
|
+
case 30:
|
|
6552
6566
|
case "end":
|
|
6553
6567
|
return _context2.stop();
|
|
6554
6568
|
}
|
|
6555
|
-
}, _callee, null, [[1,
|
|
6569
|
+
}, _callee, null, [[1, 28, 29, 30], [13, 18, 19, 20]]);
|
|
6556
6570
|
})), [state, isPrebuilt, onInstallDashboard, onCreateWorkspace, appId]);
|
|
6557
6571
|
|
|
6558
6572
|
// Expose handleCreate and creating state to parent via ref (DASH-183)
|
|
@@ -7971,7 +7985,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
7971
7985
|
var hasPropertyDescriptors_1 = hasPropertyDescriptors;
|
|
7972
7986
|
|
|
7973
7987
|
var keys = objectKeys$2;
|
|
7974
|
-
var hasSymbols$
|
|
7988
|
+
var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
7975
7989
|
|
|
7976
7990
|
var toStr$4 = Object.prototype.toString;
|
|
7977
7991
|
var concat = Array.prototype.concat;
|
|
@@ -8004,7 +8018,7 @@ var defineProperty$1 = function (object, name, value, predicate) {
|
|
|
8004
8018
|
var defineProperties$1 = function (object, map) {
|
|
8005
8019
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
8006
8020
|
var props = keys(map);
|
|
8007
|
-
if (hasSymbols$
|
|
8021
|
+
if (hasSymbols$4) {
|
|
8008
8022
|
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
8009
8023
|
}
|
|
8010
8024
|
for (var i = 0; i < props.length; i += 1) {
|
|
@@ -8070,11 +8084,11 @@ var sign$1 = function sign(number) {
|
|
|
8070
8084
|
};
|
|
8071
8085
|
|
|
8072
8086
|
var shams$1;
|
|
8073
|
-
var hasRequiredShams;
|
|
8087
|
+
var hasRequiredShams$1;
|
|
8074
8088
|
|
|
8075
|
-
function requireShams () {
|
|
8076
|
-
if (hasRequiredShams) return shams$1;
|
|
8077
|
-
hasRequiredShams = 1;
|
|
8089
|
+
function requireShams$1 () {
|
|
8090
|
+
if (hasRequiredShams$1) return shams$1;
|
|
8091
|
+
hasRequiredShams$1 = 1;
|
|
8078
8092
|
|
|
8079
8093
|
/** @type {import('./shams')} */
|
|
8080
8094
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -8123,10 +8137,10 @@ function requireShams () {
|
|
|
8123
8137
|
}
|
|
8124
8138
|
|
|
8125
8139
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
8126
|
-
var hasSymbolSham = requireShams();
|
|
8140
|
+
var hasSymbolSham = requireShams$1();
|
|
8127
8141
|
|
|
8128
8142
|
/** @type {import('.')} */
|
|
8129
|
-
var hasSymbols$
|
|
8143
|
+
var hasSymbols$3 = function hasNativeSymbols() {
|
|
8130
8144
|
if (typeof origSymbol !== 'function') { return false; }
|
|
8131
8145
|
if (typeof Symbol !== 'function') { return false; }
|
|
8132
8146
|
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
@@ -8430,7 +8444,7 @@ var ThrowTypeError = $gOPD$1
|
|
|
8430
8444
|
}())
|
|
8431
8445
|
: throwTypeError;
|
|
8432
8446
|
|
|
8433
|
-
var hasSymbols$
|
|
8447
|
+
var hasSymbols$2 = hasSymbols$3();
|
|
8434
8448
|
|
|
8435
8449
|
var getProto$2 = getProto$3;
|
|
8436
8450
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
@@ -8448,7 +8462,7 @@ var INTRINSICS = {
|
|
|
8448
8462
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
8449
8463
|
'%Array%': Array,
|
|
8450
8464
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
8451
|
-
'%ArrayIteratorPrototype%': hasSymbols$
|
|
8465
|
+
'%ArrayIteratorPrototype%': hasSymbols$2 && getProto$2 ? getProto$2([][Symbol.iterator]()) : undefined$1,
|
|
8452
8466
|
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
8453
8467
|
'%AsyncFunction%': needsEval,
|
|
8454
8468
|
'%AsyncGenerator%': needsEval,
|
|
@@ -8479,10 +8493,10 @@ var INTRINSICS = {
|
|
|
8479
8493
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
8480
8494
|
'%isFinite%': isFinite,
|
|
8481
8495
|
'%isNaN%': isNaN,
|
|
8482
|
-
'%IteratorPrototype%': hasSymbols$
|
|
8496
|
+
'%IteratorPrototype%': hasSymbols$2 && getProto$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$1,
|
|
8483
8497
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
8484
8498
|
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
8485
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$
|
|
8499
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 || !getProto$2 ? undefined$1 : getProto$2(new Map()[Symbol.iterator]()),
|
|
8486
8500
|
'%Math%': Math,
|
|
8487
8501
|
'%Number%': Number,
|
|
8488
8502
|
'%Object%': $Object$2,
|
|
@@ -8496,11 +8510,11 @@ var INTRINSICS = {
|
|
|
8496
8510
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
8497
8511
|
'%RegExp%': RegExp,
|
|
8498
8512
|
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
8499
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$
|
|
8513
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 || !getProto$2 ? undefined$1 : getProto$2(new Set()[Symbol.iterator]()),
|
|
8500
8514
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
8501
8515
|
'%String%': String,
|
|
8502
|
-
'%StringIteratorPrototype%': hasSymbols$
|
|
8503
|
-
'%Symbol%': hasSymbols$
|
|
8516
|
+
'%StringIteratorPrototype%': hasSymbols$2 && getProto$2 ? getProto$2(''[Symbol.iterator]()) : undefined$1,
|
|
8517
|
+
'%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
|
|
8504
8518
|
'%SyntaxError%': $SyntaxError$1,
|
|
8505
8519
|
'%ThrowTypeError%': ThrowTypeError,
|
|
8506
8520
|
'%TypedArray%': TypedArray,
|
|
@@ -8853,12 +8867,12 @@ var callBound$i = function callBoundIntrinsic(name, allowMissing) {
|
|
|
8853
8867
|
|
|
8854
8868
|
// modified from https://github.com/es-shims/es6-shim
|
|
8855
8869
|
var objectKeys$1 = objectKeys$2;
|
|
8856
|
-
var hasSymbols$
|
|
8870
|
+
var hasSymbols$1 = requireShams$1()();
|
|
8857
8871
|
var callBound$h = callBound$i;
|
|
8858
8872
|
var $Object$1 = esObjectAtoms;
|
|
8859
8873
|
var $push = callBound$h('Array.prototype.push');
|
|
8860
8874
|
var $propIsEnumerable = callBound$h('Object.prototype.propertyIsEnumerable');
|
|
8861
|
-
var originalGetSymbols = hasSymbols$
|
|
8875
|
+
var originalGetSymbols = hasSymbols$1 ? $Object$1.getOwnPropertySymbols : null;
|
|
8862
8876
|
|
|
8863
8877
|
// eslint-disable-next-line no-unused-vars
|
|
8864
8878
|
var implementation$8 = function assign(target, source1) {
|
|
@@ -8872,7 +8886,7 @@ var implementation$8 = function assign(target, source1) {
|
|
|
8872
8886
|
|
|
8873
8887
|
// step 3.a.ii:
|
|
8874
8888
|
var keys = objectKeys$1(from);
|
|
8875
|
-
var getSymbols = hasSymbols$
|
|
8889
|
+
var getSymbols = hasSymbols$1 && ($Object$1.getOwnPropertySymbols || originalGetSymbols);
|
|
8876
8890
|
if (getSymbols) {
|
|
8877
8891
|
var syms = getSymbols(from);
|
|
8878
8892
|
for (var j = 0; j < syms.length; ++j) {
|
|
@@ -9169,14 +9183,23 @@ var regexp_prototype_flags = flagsBound;
|
|
|
9169
9183
|
|
|
9170
9184
|
var esGetIterator = {exports: {}};
|
|
9171
9185
|
|
|
9172
|
-
var
|
|
9186
|
+
var shams;
|
|
9187
|
+
var hasRequiredShams;
|
|
9173
9188
|
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9189
|
+
function requireShams () {
|
|
9190
|
+
if (hasRequiredShams) return shams;
|
|
9191
|
+
hasRequiredShams = 1;
|
|
9192
|
+
|
|
9193
|
+
var hasSymbols = requireShams$1();
|
|
9194
|
+
|
|
9195
|
+
/** @type {import('.')} */
|
|
9196
|
+
shams = function hasToStringTagShams() {
|
|
9197
|
+
return hasSymbols() && !!Symbol.toStringTag;
|
|
9198
|
+
};
|
|
9199
|
+
return shams;
|
|
9200
|
+
}
|
|
9178
9201
|
|
|
9179
|
-
var hasToStringTag$7 =
|
|
9202
|
+
var hasToStringTag$7 = requireShams()();
|
|
9180
9203
|
var callBound$f = callBound$i;
|
|
9181
9204
|
|
|
9182
9205
|
var $toString$7 = callBound$f('Object.prototype.toString');
|
|
@@ -10213,7 +10236,7 @@ var tryStringObject = function tryStringObject(value) {
|
|
|
10213
10236
|
/** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */
|
|
10214
10237
|
var $toString$6 = callBound$c('Object.prototype.toString');
|
|
10215
10238
|
var strClass = '[object String]';
|
|
10216
|
-
var hasToStringTag$6 =
|
|
10239
|
+
var hasToStringTag$6 = requireShams()();
|
|
10217
10240
|
|
|
10218
10241
|
/** @type {import('.')} */
|
|
10219
10242
|
var isString$2 = function isString(value) {
|
|
@@ -10329,7 +10352,7 @@ var isSet$2 = exported$1 || function isSet(x) {
|
|
|
10329
10352
|
var isArguments$1 = isArguments$2;
|
|
10330
10353
|
var getStopIterationIterator = stopIterationIterator;
|
|
10331
10354
|
|
|
10332
|
-
if (hasSymbols$
|
|
10355
|
+
if (hasSymbols$3() || requireShams$1()()) {
|
|
10333
10356
|
var $iterator = Symbol.iterator;
|
|
10334
10357
|
// Symbol is available natively or shammed
|
|
10335
10358
|
// natively:
|
|
@@ -10618,7 +10641,7 @@ var tryDateObject = function tryDateGetDayCall(value) {
|
|
|
10618
10641
|
/** @type {(value: unknown) => string} */
|
|
10619
10642
|
var toStr$2 = callBound$9('Object.prototype.toString');
|
|
10620
10643
|
var dateClass = '[object Date]';
|
|
10621
|
-
var hasToStringTag$5 =
|
|
10644
|
+
var hasToStringTag$5 = requireShams()();
|
|
10622
10645
|
|
|
10623
10646
|
/** @type {import('.')} */
|
|
10624
10647
|
var isDateObject = function isDateObject(value) {
|
|
@@ -10629,7 +10652,7 @@ var isDateObject = function isDateObject(value) {
|
|
|
10629
10652
|
};
|
|
10630
10653
|
|
|
10631
10654
|
var callBound$8 = callBound$i;
|
|
10632
|
-
var hasToStringTag$4 =
|
|
10655
|
+
var hasToStringTag$4 = requireShams()();
|
|
10633
10656
|
var hasOwn = hasown;
|
|
10634
10657
|
var gOPD$1 = gopd$1;
|
|
10635
10658
|
|
|
@@ -10734,7 +10757,7 @@ var tryNumberObject = function tryNumberObject(value) {
|
|
|
10734
10757
|
};
|
|
10735
10758
|
var $toString$3 = callBound$6('Object.prototype.toString');
|
|
10736
10759
|
var numClass = '[object Number]';
|
|
10737
|
-
var hasToStringTag$3 =
|
|
10760
|
+
var hasToStringTag$3 = requireShams()();
|
|
10738
10761
|
|
|
10739
10762
|
/** @type {import('.')} */
|
|
10740
10763
|
var isNumberObject = function isNumberObject(value) {
|
|
@@ -10761,7 +10784,7 @@ var tryBooleanObject = function booleanBrandCheck(value) {
|
|
|
10761
10784
|
}
|
|
10762
10785
|
};
|
|
10763
10786
|
var boolClass = '[object Boolean]';
|
|
10764
|
-
var hasToStringTag$2 =
|
|
10787
|
+
var hasToStringTag$2 = requireShams()();
|
|
10765
10788
|
|
|
10766
10789
|
/** @type {import('.')} */
|
|
10767
10790
|
var isBooleanObject = function isBoolean(value) {
|
|
@@ -10803,7 +10826,7 @@ function requireSafeRegexTest () {
|
|
|
10803
10826
|
|
|
10804
10827
|
var callBound$4 = callBound$i;
|
|
10805
10828
|
var $toString$1 = callBound$4('Object.prototype.toString');
|
|
10806
|
-
var hasSymbols = hasSymbols$
|
|
10829
|
+
var hasSymbols = hasSymbols$3();
|
|
10807
10830
|
var safeRegexTest = requireSafeRegexTest();
|
|
10808
10831
|
|
|
10809
10832
|
if (hasSymbols) {
|
|
@@ -11249,7 +11272,7 @@ var gOPD = gopd$1;
|
|
|
11249
11272
|
var getProto = getProto$3;
|
|
11250
11273
|
|
|
11251
11274
|
var $toString = callBound$2('Object.prototype.toString');
|
|
11252
|
-
var hasToStringTag =
|
|
11275
|
+
var hasToStringTag = requireShams()();
|
|
11253
11276
|
|
|
11254
11277
|
var g = typeof globalThis === 'undefined' ? commonjsGlobal : globalThis;
|
|
11255
11278
|
var typedArrays = availableTypedArrays();
|