@trops/dash-core 0.1.299 → 0.1.301
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 +118 -91
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +118 -91
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2782,9 +2782,9 @@ var LayoutContainer = function LayoutContainer(_ref) {
|
|
|
2782
2782
|
|
|
2783
2783
|
function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2784
2784
|
function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2785
|
-
function _createForOfIteratorHelper$
|
|
2786
|
-
function _unsupportedIterableToArray$
|
|
2787
|
-
function _arrayLikeToArray$
|
|
2785
|
+
function _createForOfIteratorHelper$k(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$k(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
2786
|
+
function _unsupportedIterableToArray$k(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$k(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$k(r, a) : void 0; } }
|
|
2787
|
+
function _arrayLikeToArray$k(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
2788
2788
|
/**
|
|
2789
2789
|
* Layout template definitions for the dashboard template picker.
|
|
2790
2790
|
*
|
|
@@ -3058,7 +3058,7 @@ function createLayoutFromTemplate(template) {
|
|
|
3058
3058
|
cols: template.cols,
|
|
3059
3059
|
gap: "gap-2"
|
|
3060
3060
|
};
|
|
3061
|
-
var _iterator = _createForOfIteratorHelper$
|
|
3061
|
+
var _iterator = _createForOfIteratorHelper$k(template.cells),
|
|
3062
3062
|
_step;
|
|
3063
3063
|
try {
|
|
3064
3064
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -3989,9 +3989,9 @@ var RegistryAuthModal = function RegistryAuthModal(_ref) {
|
|
|
3989
3989
|
});
|
|
3990
3990
|
};
|
|
3991
3991
|
|
|
3992
|
-
function _createForOfIteratorHelper$
|
|
3993
|
-
function _unsupportedIterableToArray$
|
|
3994
|
-
function _arrayLikeToArray$
|
|
3992
|
+
function _createForOfIteratorHelper$j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$j(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
3993
|
+
function _unsupportedIterableToArray$j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$j(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$j(r, a) : void 0; } }
|
|
3994
|
+
function _arrayLikeToArray$j(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
3995
3995
|
function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3996
3996
|
function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3997
3997
|
var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
|
|
@@ -4232,7 +4232,7 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
|
|
|
4232
4232
|
toInstall = 0,
|
|
4233
4233
|
unavailable = 0,
|
|
4234
4234
|
hasUnavailableRequired = false;
|
|
4235
|
-
var _iterator = _createForOfIteratorHelper$
|
|
4235
|
+
var _iterator = _createForOfIteratorHelper$j(widgetDeps),
|
|
4236
4236
|
_step;
|
|
4237
4237
|
try {
|
|
4238
4238
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -5900,9 +5900,9 @@ function cleanIpcError(message) {
|
|
|
5900
5900
|
return match ? match[1] : message;
|
|
5901
5901
|
}
|
|
5902
5902
|
|
|
5903
|
-
function _createForOfIteratorHelper$
|
|
5904
|
-
function _unsupportedIterableToArray$
|
|
5905
|
-
function _arrayLikeToArray$
|
|
5903
|
+
function _createForOfIteratorHelper$i(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$i(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
5904
|
+
function _unsupportedIterableToArray$i(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$i(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$i(r, a) : void 0; } }
|
|
5905
|
+
function _arrayLikeToArray$i(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5906
5906
|
|
|
5907
5907
|
/**
|
|
5908
5908
|
* useRegistrySearch — shared hook for browsing and installing registry packages.
|
|
@@ -6013,13 +6013,13 @@ var useRegistrySearch = function useRegistrySearch() {
|
|
|
6013
6013
|
return c.toLowerCase();
|
|
6014
6014
|
}));
|
|
6015
6015
|
widgets = [];
|
|
6016
|
-
_iterator = _createForOfIteratorHelper$
|
|
6016
|
+
_iterator = _createForOfIteratorHelper$i(pkgs);
|
|
6017
6017
|
try {
|
|
6018
6018
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
6019
6019
|
pkg = _step.value;
|
|
6020
6020
|
// Compute missing APIs for the entire package
|
|
6021
6021
|
allApiProviders = [];
|
|
6022
|
-
_iterator2 = _createForOfIteratorHelper$
|
|
6022
|
+
_iterator2 = _createForOfIteratorHelper$i(pkg.providers || []);
|
|
6023
6023
|
try {
|
|
6024
6024
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
6025
6025
|
p = _step2.value;
|
|
@@ -6032,11 +6032,11 @@ var useRegistrySearch = function useRegistrySearch() {
|
|
|
6032
6032
|
} finally {
|
|
6033
6033
|
_iterator2.f();
|
|
6034
6034
|
}
|
|
6035
|
-
_iterator3 = _createForOfIteratorHelper$
|
|
6035
|
+
_iterator3 = _createForOfIteratorHelper$i(pkg.widgets || []);
|
|
6036
6036
|
try {
|
|
6037
6037
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
6038
6038
|
w = _step3.value;
|
|
6039
|
-
_iterator5 = _createForOfIteratorHelper$
|
|
6039
|
+
_iterator5 = _createForOfIteratorHelper$i(w.providers || []);
|
|
6040
6040
|
try {
|
|
6041
6041
|
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
6042
6042
|
_p = _step5.value;
|
|
@@ -6058,7 +6058,7 @@ var useRegistrySearch = function useRegistrySearch() {
|
|
|
6058
6058
|
missingApis = _toConsumableArray(new Set(allApiProviders)).filter(function (api) {
|
|
6059
6059
|
return !capSet.has(api.toLowerCase());
|
|
6060
6060
|
});
|
|
6061
|
-
_iterator4 = _createForOfIteratorHelper$
|
|
6061
|
+
_iterator4 = _createForOfIteratorHelper$i(pkg.widgets || []);
|
|
6062
6062
|
try {
|
|
6063
6063
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
6064
6064
|
widget = _step4.value;
|
|
@@ -6679,9 +6679,9 @@ function applyFilters(items, filters, mode) {
|
|
|
6679
6679
|
});
|
|
6680
6680
|
}
|
|
6681
6681
|
|
|
6682
|
-
function _createForOfIteratorHelper$
|
|
6683
|
-
function _unsupportedIterableToArray$
|
|
6684
|
-
function _arrayLikeToArray$
|
|
6682
|
+
function _createForOfIteratorHelper$h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$h(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
6683
|
+
function _unsupportedIterableToArray$h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$h(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$h(r, a) : void 0; } }
|
|
6684
|
+
function _arrayLikeToArray$h(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
6685
6685
|
function ownKeys$F(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6686
6686
|
function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6687
6687
|
var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
@@ -6905,7 +6905,7 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6905
6905
|
installedNames = new Set(installedList.map(function (w) {
|
|
6906
6906
|
return w.name;
|
|
6907
6907
|
}));
|
|
6908
|
-
_iterator = _createForOfIteratorHelper$
|
|
6908
|
+
_iterator = _createForOfIteratorHelper$h(state.selectedWidgets);
|
|
6909
6909
|
_context2.prev = 13;
|
|
6910
6910
|
_iterator.s();
|
|
6911
6911
|
case 14:
|
|
@@ -12611,9 +12611,9 @@ var PanelEditItem = function PanelEditItem(_ref) {
|
|
|
12611
12611
|
};
|
|
12612
12612
|
|
|
12613
12613
|
var _excluded$5 = ["rows", "cols"];
|
|
12614
|
-
function _createForOfIteratorHelper$
|
|
12615
|
-
function _unsupportedIterableToArray$
|
|
12616
|
-
function _arrayLikeToArray$
|
|
12614
|
+
function _createForOfIteratorHelper$g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$g(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12615
|
+
function _unsupportedIterableToArray$g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$g(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$g(r, a) : void 0; } }
|
|
12616
|
+
function _arrayLikeToArray$g(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
12617
12617
|
function ownKeys$C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12618
12618
|
function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12619
12619
|
var defaultGrid = {
|
|
@@ -12766,7 +12766,7 @@ function GridEditor(_ref) {
|
|
|
12766
12766
|
function sortObjectByKeys(obj) {
|
|
12767
12767
|
var sortedKeys = Object.keys(obj).sort();
|
|
12768
12768
|
var sortedObj = {};
|
|
12769
|
-
var _iterator = _createForOfIteratorHelper$
|
|
12769
|
+
var _iterator = _createForOfIteratorHelper$g(sortedKeys),
|
|
12770
12770
|
_step;
|
|
12771
12771
|
try {
|
|
12772
12772
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -13239,9 +13239,9 @@ var PanelEditItemNotifications = function PanelEditItemNotifications(_ref) {
|
|
|
13239
13239
|
});
|
|
13240
13240
|
};
|
|
13241
13241
|
|
|
13242
|
-
function _createForOfIteratorHelper$
|
|
13243
|
-
function _unsupportedIterableToArray$
|
|
13244
|
-
function _arrayLikeToArray$
|
|
13242
|
+
function _createForOfIteratorHelper$f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$f(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
13243
|
+
function _unsupportedIterableToArray$f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$f(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$f(r, a) : void 0; } }
|
|
13244
|
+
function _arrayLikeToArray$f(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13245
13245
|
function ownKeys$A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13246
13246
|
function _objectSpread$A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13247
13247
|
var DAYS = [{
|
|
@@ -13570,7 +13570,7 @@ var PanelEditItemSchedule = function PanelEditItemSchedule(_ref2) {
|
|
|
13570
13570
|
setIsLoading(true);
|
|
13571
13571
|
window.mainApi.scheduler.getTasks(widgetUuid).then(function (tasks) {
|
|
13572
13572
|
var stateMap = {};
|
|
13573
|
-
var _iterator = _createForOfIteratorHelper$
|
|
13573
|
+
var _iterator = _createForOfIteratorHelper$f(tasks || []),
|
|
13574
13574
|
_step;
|
|
13575
13575
|
try {
|
|
13576
13576
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -16420,9 +16420,9 @@ var getUserConfigurableProviders = function getUserConfigurableProviders(provide
|
|
|
16420
16420
|
});
|
|
16421
16421
|
};
|
|
16422
16422
|
|
|
16423
|
-
function _createForOfIteratorHelper$
|
|
16424
|
-
function _unsupportedIterableToArray$
|
|
16425
|
-
function _arrayLikeToArray$
|
|
16423
|
+
function _createForOfIteratorHelper$e(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$e(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
16424
|
+
function _unsupportedIterableToArray$e(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$e(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$e(r, a) : void 0; } }
|
|
16425
|
+
function _arrayLikeToArray$e(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16426
16426
|
function ownKeys$x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16427
16427
|
function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16428
16428
|
var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
|
|
@@ -16707,11 +16707,11 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
|
|
|
16707
16707
|
|
|
16708
16708
|
// Flatten all widgets from all packages for the widget list
|
|
16709
16709
|
flatWidgets = [];
|
|
16710
|
-
_iterator = _createForOfIteratorHelper$
|
|
16710
|
+
_iterator = _createForOfIteratorHelper$e(result.packages || []);
|
|
16711
16711
|
try {
|
|
16712
16712
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
16713
16713
|
pkg = _step.value;
|
|
16714
|
-
_iterator2 = _createForOfIteratorHelper$
|
|
16714
|
+
_iterator2 = _createForOfIteratorHelper$e(pkg.widgets || []);
|
|
16715
16715
|
try {
|
|
16716
16716
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
16717
16717
|
widget = _step2.value;
|
|
@@ -18357,9 +18357,9 @@ var ProviderBadge = function ProviderBadge(_ref) {
|
|
|
18357
18357
|
});
|
|
18358
18358
|
};
|
|
18359
18359
|
|
|
18360
|
-
function _createForOfIteratorHelper$
|
|
18361
|
-
function _unsupportedIterableToArray$
|
|
18362
|
-
function _arrayLikeToArray$
|
|
18360
|
+
function _createForOfIteratorHelper$d(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$d(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
18361
|
+
function _unsupportedIterableToArray$d(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$d(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$d(r, a) : void 0; } }
|
|
18362
|
+
function _arrayLikeToArray$d(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18363
18363
|
var WidgetCardHeader = function WidgetCardHeader(_ref) {
|
|
18364
18364
|
var item = _ref.item,
|
|
18365
18365
|
widget = _ref.widget,
|
|
@@ -18403,7 +18403,7 @@ var WidgetCardHeader = function WidgetCardHeader(_ref) {
|
|
|
18403
18403
|
var el = headerRef.current;
|
|
18404
18404
|
if (!el) return;
|
|
18405
18405
|
var observer = new ResizeObserver(function (entries) {
|
|
18406
|
-
var _iterator = _createForOfIteratorHelper$
|
|
18406
|
+
var _iterator = _createForOfIteratorHelper$d(entries),
|
|
18407
18407
|
_step;
|
|
18408
18408
|
try {
|
|
18409
18409
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -18760,9 +18760,9 @@ var useWidgetSchedulerStatus = function useWidgetSchedulerStatus(widgetId) {
|
|
|
18760
18760
|
};
|
|
18761
18761
|
};
|
|
18762
18762
|
|
|
18763
|
-
function _createForOfIteratorHelper$
|
|
18764
|
-
function _unsupportedIterableToArray$
|
|
18765
|
-
function _arrayLikeToArray$
|
|
18763
|
+
function _createForOfIteratorHelper$c(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$c(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
18764
|
+
function _unsupportedIterableToArray$c(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$c(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$c(r, a) : void 0; } }
|
|
18765
|
+
function _arrayLikeToArray$c(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18766
18766
|
function formatCountdown(ms) {
|
|
18767
18767
|
if (ms == null || ms < 0) return "--";
|
|
18768
18768
|
if (ms < 1000) return "< 1s";
|
|
@@ -18879,7 +18879,7 @@ var WidgetCardStatusBar = function WidgetCardStatusBar(_ref) {
|
|
|
18879
18879
|
|
|
18880
18880
|
// Find soonest countdown among enabled tasks
|
|
18881
18881
|
var soonestMs = null;
|
|
18882
|
-
var _iterator = _createForOfIteratorHelper$
|
|
18882
|
+
var _iterator = _createForOfIteratorHelper$c(enabledTasks),
|
|
18883
18883
|
_step;
|
|
18884
18884
|
try {
|
|
18885
18885
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -23990,9 +23990,9 @@ var ExternalWidget = function ExternalWidget(_ref) {
|
|
|
23990
23990
|
var GRID_CELL_WIDGET_TYPE = "grid-cell-widget";
|
|
23991
23991
|
var SIDEBAR_WIDGET_TYPE = "sidebar-widget";
|
|
23992
23992
|
|
|
23993
|
-
function _createForOfIteratorHelper$
|
|
23994
|
-
function _unsupportedIterableToArray$
|
|
23995
|
-
function _arrayLikeToArray$
|
|
23993
|
+
function _createForOfIteratorHelper$b(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$b(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
23994
|
+
function _unsupportedIterableToArray$b(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$b(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$b(r, a) : void 0; } }
|
|
23995
|
+
function _arrayLikeToArray$b(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
23996
23996
|
function ownKeys$q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
23997
23997
|
function _objectSpread$q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23998
23998
|
var DraggableDroppableCellBody = function DraggableDroppableCellBody(_ref) {
|
|
@@ -24567,7 +24567,7 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref3) {
|
|
|
24567
24567
|
return selectable["delete"](cn);
|
|
24568
24568
|
});
|
|
24569
24569
|
var resolved = new Set();
|
|
24570
|
-
var _iterator = _createForOfIteratorHelper$
|
|
24570
|
+
var _iterator = _createForOfIteratorHelper$b(selectable),
|
|
24571
24571
|
_step;
|
|
24572
24572
|
try {
|
|
24573
24573
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -26705,9 +26705,9 @@ function isWidgetResolvable(componentKey) {
|
|
|
26705
26705
|
|
|
26706
26706
|
function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26707
26707
|
function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26708
|
-
function _createForOfIteratorHelper$
|
|
26709
|
-
function _unsupportedIterableToArray$
|
|
26710
|
-
function _arrayLikeToArray$
|
|
26708
|
+
function _createForOfIteratorHelper$a(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$a(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
26709
|
+
function _unsupportedIterableToArray$a(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$a(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$a(r, a) : void 0; } }
|
|
26710
|
+
function _arrayLikeToArray$a(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
26711
26711
|
/**
|
|
26712
26712
|
* The model for all layout components used primarily in the renderLayout method
|
|
26713
26713
|
* @param {Object} layoutItem an object containing various attributes of the layout item
|
|
@@ -26719,7 +26719,7 @@ function _arrayLikeToArray$9(r, a) { (null == a || a > r.length) && (a = r.lengt
|
|
|
26719
26719
|
function sortObjectByKeys(obj) {
|
|
26720
26720
|
var sortedKeys = Object.keys(obj).sort();
|
|
26721
26721
|
var sortedObj = {};
|
|
26722
|
-
var _iterator = _createForOfIteratorHelper$
|
|
26722
|
+
var _iterator = _createForOfIteratorHelper$a(sortedKeys),
|
|
26723
26723
|
_step;
|
|
26724
26724
|
try {
|
|
26725
26725
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -27388,9 +27388,9 @@ var MenuItemModel = function MenuItemModel() {
|
|
|
27388
27388
|
return m;
|
|
27389
27389
|
};
|
|
27390
27390
|
|
|
27391
|
-
function _createForOfIteratorHelper$
|
|
27392
|
-
function _unsupportedIterableToArray$
|
|
27393
|
-
function _arrayLikeToArray$
|
|
27391
|
+
function _createForOfIteratorHelper$9(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$9(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
27392
|
+
function _unsupportedIterableToArray$9(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$9(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$9(r, a) : void 0; } }
|
|
27393
|
+
function _arrayLikeToArray$9(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
27394
27394
|
function ownKeys$o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27395
27395
|
function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27396
27396
|
/**
|
|
@@ -29372,7 +29372,7 @@ var DashboardModel = /*#__PURE__*/function () {
|
|
|
29372
29372
|
try {
|
|
29373
29373
|
// Collect all item IDs actively referenced by grid cells
|
|
29374
29374
|
var activeItemIds = new Set();
|
|
29375
|
-
var _iterator = _createForOfIteratorHelper$
|
|
29375
|
+
var _iterator = _createForOfIteratorHelper$9(this.layout),
|
|
29376
29376
|
_step;
|
|
29377
29377
|
try {
|
|
29378
29378
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -29412,7 +29412,7 @@ var DashboardModel = /*#__PURE__*/function () {
|
|
|
29412
29412
|
});
|
|
29413
29413
|
|
|
29414
29414
|
// Clean listener references on remaining items for each removed orphan
|
|
29415
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
29415
|
+
var _iterator2 = _createForOfIteratorHelper$9(orphanedIds),
|
|
29416
29416
|
_step2;
|
|
29417
29417
|
try {
|
|
29418
29418
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -30040,9 +30040,9 @@ var useDashboard = function useDashboard() {
|
|
|
30040
30040
|
});
|
|
30041
30041
|
};
|
|
30042
30042
|
|
|
30043
|
-
function _createForOfIteratorHelper$
|
|
30044
|
-
function _unsupportedIterableToArray$
|
|
30045
|
-
function _arrayLikeToArray$
|
|
30043
|
+
function _createForOfIteratorHelper$8(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$8(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
30044
|
+
function _unsupportedIterableToArray$8(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$8(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$8(r, a) : void 0; } }
|
|
30045
|
+
function _arrayLikeToArray$8(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
30046
30046
|
|
|
30047
30047
|
/**
|
|
30048
30048
|
* useWidgetProviders Hook
|
|
@@ -30093,7 +30093,7 @@ var useWidgetProviders = function useWidgetProviders() {
|
|
|
30093
30093
|
// 1. Widget-level: stored directly on the layout item by handleSelectProvider
|
|
30094
30094
|
// 2. Workspace-level: stored as workspace.selectedProviders[widgetId][providerType]
|
|
30095
30095
|
var providers = {};
|
|
30096
|
-
var _iterator = _createForOfIteratorHelper$
|
|
30096
|
+
var _iterator = _createForOfIteratorHelper$8(providerDeclarations),
|
|
30097
30097
|
_step;
|
|
30098
30098
|
try {
|
|
30099
30099
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -30828,9 +30828,9 @@ var useNotifications = function useNotifications() {
|
|
|
30828
30828
|
};
|
|
30829
30829
|
};
|
|
30830
30830
|
|
|
30831
|
-
function _createForOfIteratorHelper$
|
|
30832
|
-
function _unsupportedIterableToArray$
|
|
30833
|
-
function _arrayLikeToArray$
|
|
30831
|
+
function _createForOfIteratorHelper$7(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$7(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
30832
|
+
function _unsupportedIterableToArray$7(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$7(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$7(r, a) : void 0; } }
|
|
30833
|
+
function _arrayLikeToArray$7(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
30834
30834
|
|
|
30835
30835
|
/**
|
|
30836
30836
|
* useScheduler Hook
|
|
@@ -30903,7 +30903,7 @@ var useScheduler = function useScheduler() {
|
|
|
30903
30903
|
if (pending && pending.length > 0) {
|
|
30904
30904
|
setPendingResults(pending);
|
|
30905
30905
|
// Call handlers for each pending result
|
|
30906
|
-
var _iterator = _createForOfIteratorHelper$
|
|
30906
|
+
var _iterator = _createForOfIteratorHelper$7(pending),
|
|
30907
30907
|
_step;
|
|
30908
30908
|
try {
|
|
30909
30909
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -33916,9 +33916,9 @@ function loadWidgetBundle(source, widgetName) {
|
|
|
33916
33916
|
};
|
|
33917
33917
|
}
|
|
33918
33918
|
|
|
33919
|
-
function _createForOfIteratorHelper$
|
|
33920
|
-
function _unsupportedIterableToArray$
|
|
33921
|
-
function _arrayLikeToArray$
|
|
33919
|
+
function _createForOfIteratorHelper$6(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$6(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
33920
|
+
function _unsupportedIterableToArray$6(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$6(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$6(r, a) : void 0; } }
|
|
33921
|
+
function _arrayLikeToArray$6(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
33922
33922
|
/**
|
|
33923
33923
|
* Validation utilities for grid-first dashboard architecture
|
|
33924
33924
|
*
|
|
@@ -34157,7 +34157,7 @@ var validateCellMerge = function validateCellMerge(cellNumbers, grid) {
|
|
|
34157
34157
|
|
|
34158
34158
|
// Validate each cell
|
|
34159
34159
|
var cells = [];
|
|
34160
|
-
var _iterator = _createForOfIteratorHelper$
|
|
34160
|
+
var _iterator = _createForOfIteratorHelper$6(cellNumbers),
|
|
34161
34161
|
_step;
|
|
34162
34162
|
try {
|
|
34163
34163
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -41960,9 +41960,9 @@ var McpCatalogDetail = function McpCatalogDetail(_ref) {
|
|
|
41960
41960
|
|
|
41961
41961
|
function ownKeys$a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
41962
41962
|
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41963
|
-
function _createForOfIteratorHelper$
|
|
41964
|
-
function _unsupportedIterableToArray$
|
|
41965
|
-
function _arrayLikeToArray$
|
|
41963
|
+
function _createForOfIteratorHelper$5(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$5(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
41964
|
+
function _unsupportedIterableToArray$5(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$5(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$5(r, a) : void 0; } }
|
|
41965
|
+
function _arrayLikeToArray$5(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
41966
41966
|
function isValidWsUrl(url) {
|
|
41967
41967
|
if (!url) return false;
|
|
41968
41968
|
try {
|
|
@@ -42009,7 +42009,7 @@ function extractCredentialFields(url, headerRows) {
|
|
|
42009
42009
|
fields.add(match[1]);
|
|
42010
42010
|
}
|
|
42011
42011
|
}
|
|
42012
|
-
var _iterator = _createForOfIteratorHelper$
|
|
42012
|
+
var _iterator = _createForOfIteratorHelper$5(headerRows),
|
|
42013
42013
|
_step;
|
|
42014
42014
|
try {
|
|
42015
42015
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -42112,7 +42112,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
|
|
|
42112
42112
|
if (!url.trim()) errs.url = "WebSocket URL is required";else if (!isValidWsUrl(url)) errs.url = "URL must start with ws:// or wss://";
|
|
42113
42113
|
|
|
42114
42114
|
// Check required credential fields are filled
|
|
42115
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
42115
|
+
var _iterator2 = _createForOfIteratorHelper$5(credentialFields),
|
|
42116
42116
|
_step2;
|
|
42117
42117
|
try {
|
|
42118
42118
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -42135,7 +42135,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
|
|
|
42135
42135
|
|
|
42136
42136
|
// Build headers object from rows
|
|
42137
42137
|
var headers = {};
|
|
42138
|
-
var _iterator3 = _createForOfIteratorHelper$
|
|
42138
|
+
var _iterator3 = _createForOfIteratorHelper$5(headerRows),
|
|
42139
42139
|
_step3;
|
|
42140
42140
|
try {
|
|
42141
42141
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
@@ -42204,7 +42204,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
|
|
|
42204
42204
|
|
|
42205
42205
|
// Build config from current form state (same as handleSave)
|
|
42206
42206
|
headers = {};
|
|
42207
|
-
_iterator4 = _createForOfIteratorHelper$
|
|
42207
|
+
_iterator4 = _createForOfIteratorHelper$5(headerRows);
|
|
42208
42208
|
try {
|
|
42209
42209
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
42210
42210
|
row = _step4.value;
|
|
@@ -44606,7 +44606,7 @@ var InstalledWidgetDetail = function InstalledWidgetDetail(_ref) {
|
|
|
44606
44606
|
}), widget.source !== "builtin" && /*#__PURE__*/jsxs("div", {
|
|
44607
44607
|
className: "flex-shrink-0 flex flex-row justify-end gap-2 px-6 py-4 border-t ".concat(currentTheme["border-primary-medium"] || "border-white/10"),
|
|
44608
44608
|
children: [updateInfo && /*#__PURE__*/jsx(Button, {
|
|
44609
|
-
title: isUpdating ? "Updating..." : "Update to v".concat(updateInfo.latestVersion),
|
|
44609
|
+
title: isUpdating ? "Updating..." : "Update Package to v".concat(updateInfo.latestVersion),
|
|
44610
44610
|
onClick: function onClick() {
|
|
44611
44611
|
return onUpdate(widget.name);
|
|
44612
44612
|
},
|
|
@@ -44715,9 +44715,9 @@ var InstallWidgetPicker = function InstallWidgetPicker(_ref2) {
|
|
|
44715
44715
|
|
|
44716
44716
|
function ownKeys$8(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44717
44717
|
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44718
|
-
function _createForOfIteratorHelper$
|
|
44719
|
-
function _unsupportedIterableToArray$
|
|
44720
|
-
function _arrayLikeToArray$
|
|
44718
|
+
function _createForOfIteratorHelper$4(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$4(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
44719
|
+
function _unsupportedIterableToArray$4(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$4(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$4(r, a) : void 0; } }
|
|
44720
|
+
function _arrayLikeToArray$4(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
44721
44721
|
var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
44722
44722
|
var onBack = _ref.onBack;
|
|
44723
44723
|
var _useContext = useContext(ThemeContext),
|
|
@@ -44783,7 +44783,7 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
44783
44783
|
case 1:
|
|
44784
44784
|
widgets = _context.sent;
|
|
44785
44785
|
names = new Set();
|
|
44786
|
-
_iterator = _createForOfIteratorHelper$
|
|
44786
|
+
_iterator = _createForOfIteratorHelper$4(widgets);
|
|
44787
44787
|
try {
|
|
44788
44788
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
44789
44789
|
w = _step.value;
|
|
@@ -44889,12 +44889,12 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
44889
44889
|
var checkToolConflicts = function checkToolConflicts(widget) {
|
|
44890
44890
|
var conflicts = [];
|
|
44891
44891
|
var packageWidgets = widget.packageWidgets || [];
|
|
44892
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
44892
|
+
var _iterator2 = _createForOfIteratorHelper$4(packageWidgets),
|
|
44893
44893
|
_step2;
|
|
44894
44894
|
try {
|
|
44895
44895
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
44896
44896
|
var w = _step2.value;
|
|
44897
|
-
var _iterator3 = _createForOfIteratorHelper$
|
|
44897
|
+
var _iterator3 = _createForOfIteratorHelper$4(w.providers || []),
|
|
44898
44898
|
_step3;
|
|
44899
44899
|
try {
|
|
44900
44900
|
var _loop = function _loop() {
|
|
@@ -44907,7 +44907,7 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
44907
44907
|
prov = _ref4[1];
|
|
44908
44908
|
return prov.type === p.type && prov.providerClass === "mcp" && prov.allowedTools;
|
|
44909
44909
|
});
|
|
44910
|
-
var _iterator4 = _createForOfIteratorHelper$
|
|
44910
|
+
var _iterator4 = _createForOfIteratorHelper$4(matchingProviders),
|
|
44911
44911
|
_step4;
|
|
44912
44912
|
try {
|
|
44913
44913
|
var _loop2 = function _loop2() {
|
|
@@ -45176,9 +45176,9 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
45176
45176
|
});
|
|
45177
45177
|
};
|
|
45178
45178
|
|
|
45179
|
-
function _createForOfIteratorHelper$
|
|
45180
|
-
function _unsupportedIterableToArray$
|
|
45181
|
-
function _arrayLikeToArray$
|
|
45179
|
+
function _createForOfIteratorHelper$3(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$3(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
45180
|
+
function _unsupportedIterableToArray$3(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$3(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$3(r, a) : void 0; } }
|
|
45181
|
+
function _arrayLikeToArray$3(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
45182
45182
|
|
|
45183
45183
|
/**
|
|
45184
45184
|
* Walk a workspace layout and collect widget component keys that are
|
|
@@ -45192,7 +45192,7 @@ function collectComponentsFromLayout(layout) {
|
|
|
45192
45192
|
|
|
45193
45193
|
// Collect IDs of layout items that are actively referenced by grid cells
|
|
45194
45194
|
var activeItemIds = new Set();
|
|
45195
|
-
var _iterator = _createForOfIteratorHelper$
|
|
45195
|
+
var _iterator = _createForOfIteratorHelper$3(layout),
|
|
45196
45196
|
_step;
|
|
45197
45197
|
try {
|
|
45198
45198
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -45212,7 +45212,7 @@ function collectComponentsFromLayout(layout) {
|
|
|
45212
45212
|
} finally {
|
|
45213
45213
|
_iterator.f();
|
|
45214
45214
|
}
|
|
45215
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
45215
|
+
var _iterator2 = _createForOfIteratorHelper$3(layout),
|
|
45216
45216
|
_step2;
|
|
45217
45217
|
try {
|
|
45218
45218
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -45246,7 +45246,7 @@ function findWidgetUsage(componentNames, workspaces) {
|
|
|
45246
45246
|
if (!(componentNames !== null && componentNames !== void 0 && componentNames.length) || !(workspaces !== null && workspaces !== void 0 && workspaces.length)) return [];
|
|
45247
45247
|
var nameSet = new Set(componentNames);
|
|
45248
45248
|
var results = [];
|
|
45249
|
-
var _iterator3 = _createForOfIteratorHelper$
|
|
45249
|
+
var _iterator3 = _createForOfIteratorHelper$3(workspaces),
|
|
45250
45250
|
_step3;
|
|
45251
45251
|
try {
|
|
45252
45252
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
@@ -45481,6 +45481,10 @@ var useInstalledWidgets = function useInstalledWidgets() {
|
|
|
45481
45481
|
};
|
|
45482
45482
|
};
|
|
45483
45483
|
|
|
45484
|
+
function _createForOfIteratorHelper$2(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$2(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
45485
|
+
function _unsupportedIterableToArray$2(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$2(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$2(r, a) : void 0; } }
|
|
45486
|
+
function _arrayLikeToArray$2(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
45487
|
+
|
|
45484
45488
|
/**
|
|
45485
45489
|
* useWidgetUpdates — checks the registry for newer versions of installed widgets
|
|
45486
45490
|
* and provides a one-click update function.
|
|
@@ -45596,10 +45600,24 @@ function useWidgetUpdates() {
|
|
|
45596
45600
|
_context.next = 5;
|
|
45597
45601
|
return window.mainApi.widgets.install(packageId, resolvedUrl);
|
|
45598
45602
|
case 5:
|
|
45599
|
-
// Remove from updates map
|
|
45603
|
+
// Remove ALL widgets in this package from updates map
|
|
45604
|
+
// (install replaces the entire package, not just one widget)
|
|
45600
45605
|
setUpdates(function (prev) {
|
|
45601
45606
|
var next = new Map(prev);
|
|
45602
|
-
next
|
|
45607
|
+
var _iterator = _createForOfIteratorHelper$2(next),
|
|
45608
|
+
_step;
|
|
45609
|
+
try {
|
|
45610
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
45611
|
+
var _step$value = _slicedToArray(_step.value, 2),
|
|
45612
|
+
key = _step$value[0],
|
|
45613
|
+
val = _step$value[1];
|
|
45614
|
+
if (val.name === info.name) next["delete"](key);
|
|
45615
|
+
}
|
|
45616
|
+
} catch (err) {
|
|
45617
|
+
_iterator.e(err);
|
|
45618
|
+
} finally {
|
|
45619
|
+
_iterator.f();
|
|
45620
|
+
}
|
|
45603
45621
|
return next;
|
|
45604
45622
|
});
|
|
45605
45623
|
if (onUpdated) onUpdated();
|
|
@@ -46131,8 +46149,17 @@ var WidgetsSection = function WidgetsSection(_ref) {
|
|
|
46131
46149
|
}, widget.name);
|
|
46132
46150
|
});
|
|
46133
46151
|
if (showGroupHeaders) {
|
|
46152
|
+
var groupHasUpdate = groupWidgets.some(function (w) {
|
|
46153
|
+
return updates.has(w.name);
|
|
46154
|
+
});
|
|
46134
46155
|
return /*#__PURE__*/jsx(Sidebar.Group, {
|
|
46135
|
-
label:
|
|
46156
|
+
label: groupHasUpdate ? /*#__PURE__*/jsxs("span", {
|
|
46157
|
+
className: "flex items-center gap-2",
|
|
46158
|
+
children: [group, /*#__PURE__*/jsx("span", {
|
|
46159
|
+
className: "text-[10px] text-blue-400 font-medium",
|
|
46160
|
+
children: "Update"
|
|
46161
|
+
})]
|
|
46162
|
+
}) : group,
|
|
46136
46163
|
children: items
|
|
46137
46164
|
}, group);
|
|
46138
46165
|
}
|
|
@@ -46180,7 +46207,7 @@ var WidgetsSection = function WidgetsSection(_ref) {
|
|
|
46180
46207
|
className: selectClassName,
|
|
46181
46208
|
children: [/*#__PURE__*/jsx("option", {
|
|
46182
46209
|
value: "all",
|
|
46183
|
-
children: "All
|
|
46210
|
+
children: "All Packages"
|
|
46184
46211
|
}), uniqueAuthors.map(function (a) {
|
|
46185
46212
|
return /*#__PURE__*/jsx("option", {
|
|
46186
46213
|
value: a,
|