@trops/dash-core 0.1.227 → 0.1.229

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.js CHANGED
@@ -3895,7 +3895,7 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
3895
3895
  className: "space-y-1.5",
3896
3896
  children: widgetDeps.map(function (w, idx) {
3897
3897
  var _compatibility$widget;
3898
- var status = (compatibility === null || compatibility === void 0 || (_compatibility$widget = compatibility.widgets) === null || _compatibility$widget === void 0 ? void 0 : _compatibility$widget[w.name || w.packageName]) || "unknown";
3898
+ var status = (compatibility === null || compatibility === void 0 || (_compatibility$widget = compatibility.widgets) === null || _compatibility$widget === void 0 ? void 0 : _compatibility$widget[w["package"] || w.name]) || "unknown";
3899
3899
  var compat = getCompatIcon(status);
3900
3900
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
3901
3901
  className: "p-2 rounded ".concat(currentTheme["bg-primary-medium"], " flex items-center gap-2"),
@@ -7750,10 +7750,10 @@ var syntax = SyntaxError;
7750
7750
  var type = TypeError;
7751
7751
 
7752
7752
  /** @type {import('./gOPD')} */
7753
- var gOPD$6 = Object.getOwnPropertyDescriptor;
7753
+ var gOPD$5 = Object.getOwnPropertyDescriptor;
7754
7754
 
7755
7755
  /** @type {import('.')} */
7756
- var $gOPD$2 = gOPD$6;
7756
+ var $gOPD$2 = gOPD$5;
7757
7757
 
7758
7758
  if ($gOPD$2) {
7759
7759
  try {
@@ -7888,7 +7888,7 @@ defineProperties$1.supportsDescriptors = !!supportsDescriptors$2;
7888
7888
 
7889
7889
  var defineProperties_1 = defineProperties$1;
7890
7890
 
7891
- var callBind$7 = {exports: {}};
7891
+ var callBind$6 = {exports: {}};
7892
7892
 
7893
7893
  /** @type {import('.')} */
7894
7894
  var esObjectAtoms = Object;
@@ -8188,60 +8188,78 @@ var callBindApplyHelpers = function callBindBasic(args) {
8188
8188
  return $actualApply(bind$3, $call$1, args);
8189
8189
  };
8190
8190
 
8191
- var callBind$6 = callBindApplyHelpers;
8192
- var gOPD$5 = gopd$1;
8191
+ var get;
8192
+ var hasRequiredGet;
8193
8193
 
8194
- var hasProtoAccessor;
8195
- try {
8196
- // eslint-disable-next-line no-extra-parens, no-proto
8197
- hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
8198
- } catch (e) {
8199
- if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
8200
- throw e;
8194
+ function requireGet () {
8195
+ if (hasRequiredGet) return get;
8196
+ hasRequiredGet = 1;
8197
+
8198
+ var callBind = callBindApplyHelpers;
8199
+ var gOPD = gopd$1;
8200
+
8201
+ var hasProtoAccessor;
8202
+ try {
8203
+ // eslint-disable-next-line no-extra-parens, no-proto
8204
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
8205
+ } catch (e) {
8206
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
8207
+ throw e;
8208
+ }
8201
8209
  }
8202
- }
8203
8210
 
8204
- // eslint-disable-next-line no-extra-parens
8205
- var desc = !!hasProtoAccessor && gOPD$5 && gOPD$5(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
8211
+ // eslint-disable-next-line no-extra-parens
8212
+ var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
8206
8213
 
8207
- var $Object$3 = Object;
8208
- var $getPrototypeOf = $Object$3.getPrototypeOf;
8214
+ var $Object = Object;
8215
+ var $getPrototypeOf = $Object.getPrototypeOf;
8209
8216
 
8210
- /** @type {import('./get')} */
8211
- var get = desc && typeof desc.get === 'function'
8212
- ? callBind$6([desc.get])
8213
- : typeof $getPrototypeOf === 'function'
8214
- ? /** @type {import('./get')} */ function getDunder(value) {
8215
- // eslint-disable-next-line eqeqeq
8216
- return $getPrototypeOf(value == null ? value : $Object$3(value));
8217
- }
8218
- : false;
8217
+ /** @type {import('./get')} */
8218
+ get = desc && typeof desc.get === 'function'
8219
+ ? callBind([desc.get])
8220
+ : typeof $getPrototypeOf === 'function'
8221
+ ? /** @type {import('./get')} */ function getDunder(value) {
8222
+ // eslint-disable-next-line eqeqeq
8223
+ return $getPrototypeOf(value == null ? value : $Object(value));
8224
+ }
8225
+ : false;
8226
+ return get;
8227
+ }
8219
8228
 
8220
- var reflectGetProto = requireReflect_getPrototypeOf();
8221
- var originalGetProto = requireObject_getPrototypeOf();
8229
+ var getProto$3;
8230
+ var hasRequiredGetProto;
8222
8231
 
8223
- var getDunderProto = get;
8232
+ function requireGetProto () {
8233
+ if (hasRequiredGetProto) return getProto$3;
8234
+ hasRequiredGetProto = 1;
8224
8235
 
8225
- /** @type {import('.')} */
8226
- var getProto$3 = reflectGetProto
8227
- ? function getProto(O) {
8228
- // @ts-expect-error TS can't narrow inside a closure, for some reason
8229
- return reflectGetProto(O);
8230
- }
8231
- : originalGetProto
8236
+ var reflectGetProto = requireReflect_getPrototypeOf();
8237
+ var originalGetProto = requireObject_getPrototypeOf();
8238
+
8239
+ var getDunderProto = requireGet();
8240
+
8241
+ /** @type {import('.')} */
8242
+ getProto$3 = reflectGetProto
8232
8243
  ? function getProto(O) {
8233
- if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
8234
- throw new TypeError('getProto: not an object');
8235
- }
8236
8244
  // @ts-expect-error TS can't narrow inside a closure, for some reason
8237
- return originalGetProto(O);
8245
+ return reflectGetProto(O);
8238
8246
  }
8239
- : getDunderProto
8247
+ : originalGetProto
8240
8248
  ? function getProto(O) {
8249
+ if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
8250
+ throw new TypeError('getProto: not an object');
8251
+ }
8241
8252
  // @ts-expect-error TS can't narrow inside a closure, for some reason
8242
- return getDunderProto(O);
8253
+ return originalGetProto(O);
8243
8254
  }
8244
- : null;
8255
+ : getDunderProto
8256
+ ? function getProto(O) {
8257
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
8258
+ return getDunderProto(O);
8259
+ }
8260
+ : null;
8261
+ return getProto$3;
8262
+ }
8245
8263
 
8246
8264
  var call = Function.prototype.call;
8247
8265
  var $hasOwn = Object.prototype.hasOwnProperty;
@@ -8304,7 +8322,7 @@ var ThrowTypeError = $gOPD$1
8304
8322
 
8305
8323
  var hasSymbols$3 = hasSymbols$4();
8306
8324
 
8307
- var getProto$2 = getProto$3;
8325
+ var getProto$2 = requireGetProto();
8308
8326
  var $ObjectGPO = requireObject_getPrototypeOf();
8309
8327
  var $ReflectGPO = requireReflect_getPrototypeOf();
8310
8328
 
@@ -8701,9 +8719,9 @@ var applyBind = function applyBind() {
8701
8719
  } else {
8702
8720
  module.exports.apply = applyBind$1;
8703
8721
  }
8704
- } (callBind$7));
8722
+ } (callBind$6));
8705
8723
 
8706
- var callBindExports = callBind$7.exports;
8724
+ var callBindExports = callBind$6.exports;
8707
8725
 
8708
8726
  var GetIntrinsic$7 = getIntrinsic;
8709
8727
 
@@ -9002,7 +9020,7 @@ var getPolyfill$3 = polyfill$2;
9002
9020
  var gOPD$2 = gopd$1;
9003
9021
  var defineProperty = Object.defineProperty;
9004
9022
  var $TypeError$5 = esErrors;
9005
- var getProto$1 = getProto$3;
9023
+ var getProto$1 = requireGetProto();
9006
9024
  var regex = /a/;
9007
9025
 
9008
9026
  var shim$3 = function shimFlags() {
@@ -11118,7 +11136,7 @@ var availableTypedArrays = availableTypedArrays$1;
11118
11136
  var callBind = callBindExports;
11119
11137
  var callBound$2 = callBound$i;
11120
11138
  var gOPD = gopd$1;
11121
- var getProto = getProto$3;
11139
+ var getProto = requireGetProto();
11122
11140
 
11123
11141
  var $toString = callBound$2('Object.prototype.toString');
11124
11142
  var hasToStringTag = shams();