@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.js
CHANGED
|
@@ -2800,9 +2800,9 @@ var LayoutContainer = function LayoutContainer(_ref) {
|
|
|
2800
2800
|
|
|
2801
2801
|
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; }
|
|
2802
2802
|
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; }
|
|
2803
|
-
function _createForOfIteratorHelper$
|
|
2804
|
-
function _unsupportedIterableToArray$
|
|
2805
|
-
function _arrayLikeToArray$
|
|
2803
|
+
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; } } }; }
|
|
2804
|
+
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; } }
|
|
2805
|
+
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; }
|
|
2806
2806
|
/**
|
|
2807
2807
|
* Layout template definitions for the dashboard template picker.
|
|
2808
2808
|
*
|
|
@@ -3076,7 +3076,7 @@ function createLayoutFromTemplate(template) {
|
|
|
3076
3076
|
cols: template.cols,
|
|
3077
3077
|
gap: "gap-2"
|
|
3078
3078
|
};
|
|
3079
|
-
var _iterator = _createForOfIteratorHelper$
|
|
3079
|
+
var _iterator = _createForOfIteratorHelper$k(template.cells),
|
|
3080
3080
|
_step;
|
|
3081
3081
|
try {
|
|
3082
3082
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -4007,9 +4007,9 @@ var RegistryAuthModal = function RegistryAuthModal(_ref) {
|
|
|
4007
4007
|
});
|
|
4008
4008
|
};
|
|
4009
4009
|
|
|
4010
|
-
function _createForOfIteratorHelper$
|
|
4011
|
-
function _unsupportedIterableToArray$
|
|
4012
|
-
function _arrayLikeToArray$
|
|
4010
|
+
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; } } }; }
|
|
4011
|
+
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; } }
|
|
4012
|
+
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; }
|
|
4013
4013
|
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; }
|
|
4014
4014
|
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; }
|
|
4015
4015
|
var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
|
|
@@ -4250,7 +4250,7 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
|
|
|
4250
4250
|
toInstall = 0,
|
|
4251
4251
|
unavailable = 0,
|
|
4252
4252
|
hasUnavailableRequired = false;
|
|
4253
|
-
var _iterator = _createForOfIteratorHelper$
|
|
4253
|
+
var _iterator = _createForOfIteratorHelper$j(widgetDeps),
|
|
4254
4254
|
_step;
|
|
4255
4255
|
try {
|
|
4256
4256
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -5918,9 +5918,9 @@ function cleanIpcError(message) {
|
|
|
5918
5918
|
return match ? match[1] : message;
|
|
5919
5919
|
}
|
|
5920
5920
|
|
|
5921
|
-
function _createForOfIteratorHelper$
|
|
5922
|
-
function _unsupportedIterableToArray$
|
|
5923
|
-
function _arrayLikeToArray$
|
|
5921
|
+
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; } } }; }
|
|
5922
|
+
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; } }
|
|
5923
|
+
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; }
|
|
5924
5924
|
|
|
5925
5925
|
/**
|
|
5926
5926
|
* useRegistrySearch — shared hook for browsing and installing registry packages.
|
|
@@ -6031,13 +6031,13 @@ var useRegistrySearch = function useRegistrySearch() {
|
|
|
6031
6031
|
return c.toLowerCase();
|
|
6032
6032
|
}));
|
|
6033
6033
|
widgets = [];
|
|
6034
|
-
_iterator = _createForOfIteratorHelper$
|
|
6034
|
+
_iterator = _createForOfIteratorHelper$i(pkgs);
|
|
6035
6035
|
try {
|
|
6036
6036
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
6037
6037
|
pkg = _step.value;
|
|
6038
6038
|
// Compute missing APIs for the entire package
|
|
6039
6039
|
allApiProviders = [];
|
|
6040
|
-
_iterator2 = _createForOfIteratorHelper$
|
|
6040
|
+
_iterator2 = _createForOfIteratorHelper$i(pkg.providers || []);
|
|
6041
6041
|
try {
|
|
6042
6042
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
6043
6043
|
p = _step2.value;
|
|
@@ -6050,11 +6050,11 @@ var useRegistrySearch = function useRegistrySearch() {
|
|
|
6050
6050
|
} finally {
|
|
6051
6051
|
_iterator2.f();
|
|
6052
6052
|
}
|
|
6053
|
-
_iterator3 = _createForOfIteratorHelper$
|
|
6053
|
+
_iterator3 = _createForOfIteratorHelper$i(pkg.widgets || []);
|
|
6054
6054
|
try {
|
|
6055
6055
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
6056
6056
|
w = _step3.value;
|
|
6057
|
-
_iterator5 = _createForOfIteratorHelper$
|
|
6057
|
+
_iterator5 = _createForOfIteratorHelper$i(w.providers || []);
|
|
6058
6058
|
try {
|
|
6059
6059
|
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
6060
6060
|
_p = _step5.value;
|
|
@@ -6076,7 +6076,7 @@ var useRegistrySearch = function useRegistrySearch() {
|
|
|
6076
6076
|
missingApis = _toConsumableArray(new Set(allApiProviders)).filter(function (api) {
|
|
6077
6077
|
return !capSet.has(api.toLowerCase());
|
|
6078
6078
|
});
|
|
6079
|
-
_iterator4 = _createForOfIteratorHelper$
|
|
6079
|
+
_iterator4 = _createForOfIteratorHelper$i(pkg.widgets || []);
|
|
6080
6080
|
try {
|
|
6081
6081
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
6082
6082
|
widget = _step4.value;
|
|
@@ -6697,9 +6697,9 @@ function applyFilters(items, filters, mode) {
|
|
|
6697
6697
|
});
|
|
6698
6698
|
}
|
|
6699
6699
|
|
|
6700
|
-
function _createForOfIteratorHelper$
|
|
6701
|
-
function _unsupportedIterableToArray$
|
|
6702
|
-
function _arrayLikeToArray$
|
|
6700
|
+
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; } } }; }
|
|
6701
|
+
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; } }
|
|
6702
|
+
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; }
|
|
6703
6703
|
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; }
|
|
6704
6704
|
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; }
|
|
6705
6705
|
var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
@@ -6923,7 +6923,7 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
|
|
|
6923
6923
|
installedNames = new Set(installedList.map(function (w) {
|
|
6924
6924
|
return w.name;
|
|
6925
6925
|
}));
|
|
6926
|
-
_iterator = _createForOfIteratorHelper$
|
|
6926
|
+
_iterator = _createForOfIteratorHelper$h(state.selectedWidgets);
|
|
6927
6927
|
_context2.prev = 13;
|
|
6928
6928
|
_iterator.s();
|
|
6929
6929
|
case 14:
|
|
@@ -12629,9 +12629,9 @@ var PanelEditItem = function PanelEditItem(_ref) {
|
|
|
12629
12629
|
};
|
|
12630
12630
|
|
|
12631
12631
|
var _excluded$5 = ["rows", "cols"];
|
|
12632
|
-
function _createForOfIteratorHelper$
|
|
12633
|
-
function _unsupportedIterableToArray$
|
|
12634
|
-
function _arrayLikeToArray$
|
|
12632
|
+
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; } } }; }
|
|
12633
|
+
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; } }
|
|
12634
|
+
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; }
|
|
12635
12635
|
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; }
|
|
12636
12636
|
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; }
|
|
12637
12637
|
var defaultGrid = {
|
|
@@ -12784,7 +12784,7 @@ function GridEditor(_ref) {
|
|
|
12784
12784
|
function sortObjectByKeys(obj) {
|
|
12785
12785
|
var sortedKeys = Object.keys(obj).sort();
|
|
12786
12786
|
var sortedObj = {};
|
|
12787
|
-
var _iterator = _createForOfIteratorHelper$
|
|
12787
|
+
var _iterator = _createForOfIteratorHelper$g(sortedKeys),
|
|
12788
12788
|
_step;
|
|
12789
12789
|
try {
|
|
12790
12790
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -13257,9 +13257,9 @@ var PanelEditItemNotifications = function PanelEditItemNotifications(_ref) {
|
|
|
13257
13257
|
});
|
|
13258
13258
|
};
|
|
13259
13259
|
|
|
13260
|
-
function _createForOfIteratorHelper$
|
|
13261
|
-
function _unsupportedIterableToArray$
|
|
13262
|
-
function _arrayLikeToArray$
|
|
13260
|
+
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; } } }; }
|
|
13261
|
+
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; } }
|
|
13262
|
+
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; }
|
|
13263
13263
|
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; }
|
|
13264
13264
|
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; }
|
|
13265
13265
|
var DAYS = [{
|
|
@@ -13588,7 +13588,7 @@ var PanelEditItemSchedule = function PanelEditItemSchedule(_ref2) {
|
|
|
13588
13588
|
setIsLoading(true);
|
|
13589
13589
|
window.mainApi.scheduler.getTasks(widgetUuid).then(function (tasks) {
|
|
13590
13590
|
var stateMap = {};
|
|
13591
|
-
var _iterator = _createForOfIteratorHelper$
|
|
13591
|
+
var _iterator = _createForOfIteratorHelper$f(tasks || []),
|
|
13592
13592
|
_step;
|
|
13593
13593
|
try {
|
|
13594
13594
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -16438,9 +16438,9 @@ var getUserConfigurableProviders = function getUserConfigurableProviders(provide
|
|
|
16438
16438
|
});
|
|
16439
16439
|
};
|
|
16440
16440
|
|
|
16441
|
-
function _createForOfIteratorHelper$
|
|
16442
|
-
function _unsupportedIterableToArray$
|
|
16443
|
-
function _arrayLikeToArray$
|
|
16441
|
+
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; } } }; }
|
|
16442
|
+
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; } }
|
|
16443
|
+
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; }
|
|
16444
16444
|
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; }
|
|
16445
16445
|
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; }
|
|
16446
16446
|
var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
|
|
@@ -16725,11 +16725,11 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
|
|
|
16725
16725
|
|
|
16726
16726
|
// Flatten all widgets from all packages for the widget list
|
|
16727
16727
|
flatWidgets = [];
|
|
16728
|
-
_iterator = _createForOfIteratorHelper$
|
|
16728
|
+
_iterator = _createForOfIteratorHelper$e(result.packages || []);
|
|
16729
16729
|
try {
|
|
16730
16730
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
16731
16731
|
pkg = _step.value;
|
|
16732
|
-
_iterator2 = _createForOfIteratorHelper$
|
|
16732
|
+
_iterator2 = _createForOfIteratorHelper$e(pkg.widgets || []);
|
|
16733
16733
|
try {
|
|
16734
16734
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
16735
16735
|
widget = _step2.value;
|
|
@@ -18375,9 +18375,9 @@ var ProviderBadge = function ProviderBadge(_ref) {
|
|
|
18375
18375
|
});
|
|
18376
18376
|
};
|
|
18377
18377
|
|
|
18378
|
-
function _createForOfIteratorHelper$
|
|
18379
|
-
function _unsupportedIterableToArray$
|
|
18380
|
-
function _arrayLikeToArray$
|
|
18378
|
+
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; } } }; }
|
|
18379
|
+
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; } }
|
|
18380
|
+
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; }
|
|
18381
18381
|
var WidgetCardHeader = function WidgetCardHeader(_ref) {
|
|
18382
18382
|
var item = _ref.item,
|
|
18383
18383
|
widget = _ref.widget,
|
|
@@ -18421,7 +18421,7 @@ var WidgetCardHeader = function WidgetCardHeader(_ref) {
|
|
|
18421
18421
|
var el = headerRef.current;
|
|
18422
18422
|
if (!el) return;
|
|
18423
18423
|
var observer = new ResizeObserver(function (entries) {
|
|
18424
|
-
var _iterator = _createForOfIteratorHelper$
|
|
18424
|
+
var _iterator = _createForOfIteratorHelper$d(entries),
|
|
18425
18425
|
_step;
|
|
18426
18426
|
try {
|
|
18427
18427
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -18778,9 +18778,9 @@ var useWidgetSchedulerStatus = function useWidgetSchedulerStatus(widgetId) {
|
|
|
18778
18778
|
};
|
|
18779
18779
|
};
|
|
18780
18780
|
|
|
18781
|
-
function _createForOfIteratorHelper$
|
|
18782
|
-
function _unsupportedIterableToArray$
|
|
18783
|
-
function _arrayLikeToArray$
|
|
18781
|
+
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; } } }; }
|
|
18782
|
+
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; } }
|
|
18783
|
+
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; }
|
|
18784
18784
|
function formatCountdown(ms) {
|
|
18785
18785
|
if (ms == null || ms < 0) return "--";
|
|
18786
18786
|
if (ms < 1000) return "< 1s";
|
|
@@ -18897,7 +18897,7 @@ var WidgetCardStatusBar = function WidgetCardStatusBar(_ref) {
|
|
|
18897
18897
|
|
|
18898
18898
|
// Find soonest countdown among enabled tasks
|
|
18899
18899
|
var soonestMs = null;
|
|
18900
|
-
var _iterator = _createForOfIteratorHelper$
|
|
18900
|
+
var _iterator = _createForOfIteratorHelper$c(enabledTasks),
|
|
18901
18901
|
_step;
|
|
18902
18902
|
try {
|
|
18903
18903
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -24008,9 +24008,9 @@ var ExternalWidget = function ExternalWidget(_ref) {
|
|
|
24008
24008
|
var GRID_CELL_WIDGET_TYPE = "grid-cell-widget";
|
|
24009
24009
|
var SIDEBAR_WIDGET_TYPE = "sidebar-widget";
|
|
24010
24010
|
|
|
24011
|
-
function _createForOfIteratorHelper$
|
|
24012
|
-
function _unsupportedIterableToArray$
|
|
24013
|
-
function _arrayLikeToArray$
|
|
24011
|
+
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; } } }; }
|
|
24012
|
+
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; } }
|
|
24013
|
+
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; }
|
|
24014
24014
|
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; }
|
|
24015
24015
|
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; }
|
|
24016
24016
|
var DraggableDroppableCellBody = function DraggableDroppableCellBody(_ref) {
|
|
@@ -24585,7 +24585,7 @@ var LayoutGridContainer = /*#__PURE__*/React.memo(function (_ref3) {
|
|
|
24585
24585
|
return selectable["delete"](cn);
|
|
24586
24586
|
});
|
|
24587
24587
|
var resolved = new Set();
|
|
24588
|
-
var _iterator = _createForOfIteratorHelper$
|
|
24588
|
+
var _iterator = _createForOfIteratorHelper$b(selectable),
|
|
24589
24589
|
_step;
|
|
24590
24590
|
try {
|
|
24591
24591
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -26723,9 +26723,9 @@ function isWidgetResolvable(componentKey) {
|
|
|
26723
26723
|
|
|
26724
26724
|
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; }
|
|
26725
26725
|
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; }
|
|
26726
|
-
function _createForOfIteratorHelper$
|
|
26727
|
-
function _unsupportedIterableToArray$
|
|
26728
|
-
function _arrayLikeToArray$
|
|
26726
|
+
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; } } }; }
|
|
26727
|
+
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; } }
|
|
26728
|
+
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; }
|
|
26729
26729
|
/**
|
|
26730
26730
|
* The model for all layout components used primarily in the renderLayout method
|
|
26731
26731
|
* @param {Object} layoutItem an object containing various attributes of the layout item
|
|
@@ -26737,7 +26737,7 @@ function _arrayLikeToArray$9(r, a) { (null == a || a > r.length) && (a = r.lengt
|
|
|
26737
26737
|
function sortObjectByKeys(obj) {
|
|
26738
26738
|
var sortedKeys = Object.keys(obj).sort();
|
|
26739
26739
|
var sortedObj = {};
|
|
26740
|
-
var _iterator = _createForOfIteratorHelper$
|
|
26740
|
+
var _iterator = _createForOfIteratorHelper$a(sortedKeys),
|
|
26741
26741
|
_step;
|
|
26742
26742
|
try {
|
|
26743
26743
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -27406,9 +27406,9 @@ var MenuItemModel = function MenuItemModel() {
|
|
|
27406
27406
|
return m;
|
|
27407
27407
|
};
|
|
27408
27408
|
|
|
27409
|
-
function _createForOfIteratorHelper$
|
|
27410
|
-
function _unsupportedIterableToArray$
|
|
27411
|
-
function _arrayLikeToArray$
|
|
27409
|
+
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; } } }; }
|
|
27410
|
+
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; } }
|
|
27411
|
+
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; }
|
|
27412
27412
|
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; }
|
|
27413
27413
|
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; }
|
|
27414
27414
|
/**
|
|
@@ -29390,7 +29390,7 @@ var DashboardModel = /*#__PURE__*/function () {
|
|
|
29390
29390
|
try {
|
|
29391
29391
|
// Collect all item IDs actively referenced by grid cells
|
|
29392
29392
|
var activeItemIds = new Set();
|
|
29393
|
-
var _iterator = _createForOfIteratorHelper$
|
|
29393
|
+
var _iterator = _createForOfIteratorHelper$9(this.layout),
|
|
29394
29394
|
_step;
|
|
29395
29395
|
try {
|
|
29396
29396
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -29430,7 +29430,7 @@ var DashboardModel = /*#__PURE__*/function () {
|
|
|
29430
29430
|
});
|
|
29431
29431
|
|
|
29432
29432
|
// Clean listener references on remaining items for each removed orphan
|
|
29433
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
29433
|
+
var _iterator2 = _createForOfIteratorHelper$9(orphanedIds),
|
|
29434
29434
|
_step2;
|
|
29435
29435
|
try {
|
|
29436
29436
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -30058,9 +30058,9 @@ var useDashboard = function useDashboard() {
|
|
|
30058
30058
|
});
|
|
30059
30059
|
};
|
|
30060
30060
|
|
|
30061
|
-
function _createForOfIteratorHelper$
|
|
30062
|
-
function _unsupportedIterableToArray$
|
|
30063
|
-
function _arrayLikeToArray$
|
|
30061
|
+
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; } } }; }
|
|
30062
|
+
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; } }
|
|
30063
|
+
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; }
|
|
30064
30064
|
|
|
30065
30065
|
/**
|
|
30066
30066
|
* useWidgetProviders Hook
|
|
@@ -30111,7 +30111,7 @@ var useWidgetProviders = function useWidgetProviders() {
|
|
|
30111
30111
|
// 1. Widget-level: stored directly on the layout item by handleSelectProvider
|
|
30112
30112
|
// 2. Workspace-level: stored as workspace.selectedProviders[widgetId][providerType]
|
|
30113
30113
|
var providers = {};
|
|
30114
|
-
var _iterator = _createForOfIteratorHelper$
|
|
30114
|
+
var _iterator = _createForOfIteratorHelper$8(providerDeclarations),
|
|
30115
30115
|
_step;
|
|
30116
30116
|
try {
|
|
30117
30117
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -30846,9 +30846,9 @@ var useNotifications = function useNotifications() {
|
|
|
30846
30846
|
};
|
|
30847
30847
|
};
|
|
30848
30848
|
|
|
30849
|
-
function _createForOfIteratorHelper$
|
|
30850
|
-
function _unsupportedIterableToArray$
|
|
30851
|
-
function _arrayLikeToArray$
|
|
30849
|
+
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; } } }; }
|
|
30850
|
+
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; } }
|
|
30851
|
+
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; }
|
|
30852
30852
|
|
|
30853
30853
|
/**
|
|
30854
30854
|
* useScheduler Hook
|
|
@@ -30921,7 +30921,7 @@ var useScheduler = function useScheduler() {
|
|
|
30921
30921
|
if (pending && pending.length > 0) {
|
|
30922
30922
|
setPendingResults(pending);
|
|
30923
30923
|
// Call handlers for each pending result
|
|
30924
|
-
var _iterator = _createForOfIteratorHelper$
|
|
30924
|
+
var _iterator = _createForOfIteratorHelper$7(pending),
|
|
30925
30925
|
_step;
|
|
30926
30926
|
try {
|
|
30927
30927
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -33934,9 +33934,9 @@ function loadWidgetBundle(source, widgetName) {
|
|
|
33934
33934
|
};
|
|
33935
33935
|
}
|
|
33936
33936
|
|
|
33937
|
-
function _createForOfIteratorHelper$
|
|
33938
|
-
function _unsupportedIterableToArray$
|
|
33939
|
-
function _arrayLikeToArray$
|
|
33937
|
+
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; } } }; }
|
|
33938
|
+
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; } }
|
|
33939
|
+
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; }
|
|
33940
33940
|
/**
|
|
33941
33941
|
* Validation utilities for grid-first dashboard architecture
|
|
33942
33942
|
*
|
|
@@ -34175,7 +34175,7 @@ var validateCellMerge = function validateCellMerge(cellNumbers, grid) {
|
|
|
34175
34175
|
|
|
34176
34176
|
// Validate each cell
|
|
34177
34177
|
var cells = [];
|
|
34178
|
-
var _iterator = _createForOfIteratorHelper$
|
|
34178
|
+
var _iterator = _createForOfIteratorHelper$6(cellNumbers),
|
|
34179
34179
|
_step;
|
|
34180
34180
|
try {
|
|
34181
34181
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -41978,9 +41978,9 @@ var McpCatalogDetail = function McpCatalogDetail(_ref) {
|
|
|
41978
41978
|
|
|
41979
41979
|
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; }
|
|
41980
41980
|
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; }
|
|
41981
|
-
function _createForOfIteratorHelper$
|
|
41982
|
-
function _unsupportedIterableToArray$
|
|
41983
|
-
function _arrayLikeToArray$
|
|
41981
|
+
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; } } }; }
|
|
41982
|
+
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; } }
|
|
41983
|
+
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; }
|
|
41984
41984
|
function isValidWsUrl(url) {
|
|
41985
41985
|
if (!url) return false;
|
|
41986
41986
|
try {
|
|
@@ -42027,7 +42027,7 @@ function extractCredentialFields(url, headerRows) {
|
|
|
42027
42027
|
fields.add(match[1]);
|
|
42028
42028
|
}
|
|
42029
42029
|
}
|
|
42030
|
-
var _iterator = _createForOfIteratorHelper$
|
|
42030
|
+
var _iterator = _createForOfIteratorHelper$5(headerRows),
|
|
42031
42031
|
_step;
|
|
42032
42032
|
try {
|
|
42033
42033
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -42130,7 +42130,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
|
|
|
42130
42130
|
if (!url.trim()) errs.url = "WebSocket URL is required";else if (!isValidWsUrl(url)) errs.url = "URL must start with ws:// or wss://";
|
|
42131
42131
|
|
|
42132
42132
|
// Check required credential fields are filled
|
|
42133
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
42133
|
+
var _iterator2 = _createForOfIteratorHelper$5(credentialFields),
|
|
42134
42134
|
_step2;
|
|
42135
42135
|
try {
|
|
42136
42136
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -42153,7 +42153,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
|
|
|
42153
42153
|
|
|
42154
42154
|
// Build headers object from rows
|
|
42155
42155
|
var headers = {};
|
|
42156
|
-
var _iterator3 = _createForOfIteratorHelper$
|
|
42156
|
+
var _iterator3 = _createForOfIteratorHelper$5(headerRows),
|
|
42157
42157
|
_step3;
|
|
42158
42158
|
try {
|
|
42159
42159
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
@@ -42222,7 +42222,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
|
|
|
42222
42222
|
|
|
42223
42223
|
// Build config from current form state (same as handleSave)
|
|
42224
42224
|
headers = {};
|
|
42225
|
-
_iterator4 = _createForOfIteratorHelper$
|
|
42225
|
+
_iterator4 = _createForOfIteratorHelper$5(headerRows);
|
|
42226
42226
|
try {
|
|
42227
42227
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
42228
42228
|
row = _step4.value;
|
|
@@ -44624,7 +44624,7 @@ var InstalledWidgetDetail = function InstalledWidgetDetail(_ref) {
|
|
|
44624
44624
|
}), widget.source !== "builtin" && /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
44625
44625
|
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"),
|
|
44626
44626
|
children: [updateInfo && /*#__PURE__*/jsxRuntime.jsx(DashReact.Button, {
|
|
44627
|
-
title: isUpdating ? "Updating..." : "Update to v".concat(updateInfo.latestVersion),
|
|
44627
|
+
title: isUpdating ? "Updating..." : "Update Package to v".concat(updateInfo.latestVersion),
|
|
44628
44628
|
onClick: function onClick() {
|
|
44629
44629
|
return onUpdate(widget.name);
|
|
44630
44630
|
},
|
|
@@ -44733,9 +44733,9 @@ var InstallWidgetPicker = function InstallWidgetPicker(_ref2) {
|
|
|
44733
44733
|
|
|
44734
44734
|
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; }
|
|
44735
44735
|
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; }
|
|
44736
|
-
function _createForOfIteratorHelper$
|
|
44737
|
-
function _unsupportedIterableToArray$
|
|
44738
|
-
function _arrayLikeToArray$
|
|
44736
|
+
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; } } }; }
|
|
44737
|
+
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; } }
|
|
44738
|
+
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; }
|
|
44739
44739
|
var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
44740
44740
|
var onBack = _ref.onBack;
|
|
44741
44741
|
var _useContext = React.useContext(DashReact.ThemeContext),
|
|
@@ -44801,7 +44801,7 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
44801
44801
|
case 1:
|
|
44802
44802
|
widgets = _context.sent;
|
|
44803
44803
|
names = new Set();
|
|
44804
|
-
_iterator = _createForOfIteratorHelper$
|
|
44804
|
+
_iterator = _createForOfIteratorHelper$4(widgets);
|
|
44805
44805
|
try {
|
|
44806
44806
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
44807
44807
|
w = _step.value;
|
|
@@ -44907,12 +44907,12 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
44907
44907
|
var checkToolConflicts = function checkToolConflicts(widget) {
|
|
44908
44908
|
var conflicts = [];
|
|
44909
44909
|
var packageWidgets = widget.packageWidgets || [];
|
|
44910
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
44910
|
+
var _iterator2 = _createForOfIteratorHelper$4(packageWidgets),
|
|
44911
44911
|
_step2;
|
|
44912
44912
|
try {
|
|
44913
44913
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
44914
44914
|
var w = _step2.value;
|
|
44915
|
-
var _iterator3 = _createForOfIteratorHelper$
|
|
44915
|
+
var _iterator3 = _createForOfIteratorHelper$4(w.providers || []),
|
|
44916
44916
|
_step3;
|
|
44917
44917
|
try {
|
|
44918
44918
|
var _loop = function _loop() {
|
|
@@ -44925,7 +44925,7 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
44925
44925
|
prov = _ref4[1];
|
|
44926
44926
|
return prov.type === p.type && prov.providerClass === "mcp" && prov.allowedTools;
|
|
44927
44927
|
});
|
|
44928
|
-
var _iterator4 = _createForOfIteratorHelper$
|
|
44928
|
+
var _iterator4 = _createForOfIteratorHelper$4(matchingProviders),
|
|
44929
44929
|
_step4;
|
|
44930
44930
|
try {
|
|
44931
44931
|
var _loop2 = function _loop2() {
|
|
@@ -45194,9 +45194,9 @@ var DiscoverWidgetsDetail = function DiscoverWidgetsDetail(_ref) {
|
|
|
45194
45194
|
});
|
|
45195
45195
|
};
|
|
45196
45196
|
|
|
45197
|
-
function _createForOfIteratorHelper$
|
|
45198
|
-
function _unsupportedIterableToArray$
|
|
45199
|
-
function _arrayLikeToArray$
|
|
45197
|
+
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; } } }; }
|
|
45198
|
+
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; } }
|
|
45199
|
+
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; }
|
|
45200
45200
|
|
|
45201
45201
|
/**
|
|
45202
45202
|
* Walk a workspace layout and collect widget component keys that are
|
|
@@ -45210,7 +45210,7 @@ function collectComponentsFromLayout(layout) {
|
|
|
45210
45210
|
|
|
45211
45211
|
// Collect IDs of layout items that are actively referenced by grid cells
|
|
45212
45212
|
var activeItemIds = new Set();
|
|
45213
|
-
var _iterator = _createForOfIteratorHelper$
|
|
45213
|
+
var _iterator = _createForOfIteratorHelper$3(layout),
|
|
45214
45214
|
_step;
|
|
45215
45215
|
try {
|
|
45216
45216
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -45230,7 +45230,7 @@ function collectComponentsFromLayout(layout) {
|
|
|
45230
45230
|
} finally {
|
|
45231
45231
|
_iterator.f();
|
|
45232
45232
|
}
|
|
45233
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
45233
|
+
var _iterator2 = _createForOfIteratorHelper$3(layout),
|
|
45234
45234
|
_step2;
|
|
45235
45235
|
try {
|
|
45236
45236
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -45264,7 +45264,7 @@ function findWidgetUsage(componentNames, workspaces) {
|
|
|
45264
45264
|
if (!(componentNames !== null && componentNames !== void 0 && componentNames.length) || !(workspaces !== null && workspaces !== void 0 && workspaces.length)) return [];
|
|
45265
45265
|
var nameSet = new Set(componentNames);
|
|
45266
45266
|
var results = [];
|
|
45267
|
-
var _iterator3 = _createForOfIteratorHelper$
|
|
45267
|
+
var _iterator3 = _createForOfIteratorHelper$3(workspaces),
|
|
45268
45268
|
_step3;
|
|
45269
45269
|
try {
|
|
45270
45270
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
@@ -45499,6 +45499,10 @@ var useInstalledWidgets = function useInstalledWidgets() {
|
|
|
45499
45499
|
};
|
|
45500
45500
|
};
|
|
45501
45501
|
|
|
45502
|
+
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; } } }; }
|
|
45503
|
+
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; } }
|
|
45504
|
+
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; }
|
|
45505
|
+
|
|
45502
45506
|
/**
|
|
45503
45507
|
* useWidgetUpdates — checks the registry for newer versions of installed widgets
|
|
45504
45508
|
* and provides a one-click update function.
|
|
@@ -45614,10 +45618,24 @@ function useWidgetUpdates() {
|
|
|
45614
45618
|
_context.next = 5;
|
|
45615
45619
|
return window.mainApi.widgets.install(packageId, resolvedUrl);
|
|
45616
45620
|
case 5:
|
|
45617
|
-
// Remove from updates map
|
|
45621
|
+
// Remove ALL widgets in this package from updates map
|
|
45622
|
+
// (install replaces the entire package, not just one widget)
|
|
45618
45623
|
setUpdates(function (prev) {
|
|
45619
45624
|
var next = new Map(prev);
|
|
45620
|
-
next
|
|
45625
|
+
var _iterator = _createForOfIteratorHelper$2(next),
|
|
45626
|
+
_step;
|
|
45627
|
+
try {
|
|
45628
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
45629
|
+
var _step$value = _slicedToArray(_step.value, 2),
|
|
45630
|
+
key = _step$value[0],
|
|
45631
|
+
val = _step$value[1];
|
|
45632
|
+
if (val.name === info.name) next["delete"](key);
|
|
45633
|
+
}
|
|
45634
|
+
} catch (err) {
|
|
45635
|
+
_iterator.e(err);
|
|
45636
|
+
} finally {
|
|
45637
|
+
_iterator.f();
|
|
45638
|
+
}
|
|
45621
45639
|
return next;
|
|
45622
45640
|
});
|
|
45623
45641
|
if (onUpdated) onUpdated();
|
|
@@ -46149,8 +46167,17 @@ var WidgetsSection = function WidgetsSection(_ref) {
|
|
|
46149
46167
|
}, widget.name);
|
|
46150
46168
|
});
|
|
46151
46169
|
if (showGroupHeaders) {
|
|
46170
|
+
var groupHasUpdate = groupWidgets.some(function (w) {
|
|
46171
|
+
return updates.has(w.name);
|
|
46172
|
+
});
|
|
46152
46173
|
return /*#__PURE__*/jsxRuntime.jsx(DashReact.Sidebar.Group, {
|
|
46153
|
-
label:
|
|
46174
|
+
label: groupHasUpdate ? /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
46175
|
+
className: "flex items-center gap-2",
|
|
46176
|
+
children: [group, /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
46177
|
+
className: "text-[10px] text-blue-400 font-medium",
|
|
46178
|
+
children: "Update"
|
|
46179
|
+
})]
|
|
46180
|
+
}) : group,
|
|
46154
46181
|
children: items
|
|
46155
46182
|
}, group);
|
|
46156
46183
|
}
|
|
@@ -46198,7 +46225,7 @@ var WidgetsSection = function WidgetsSection(_ref) {
|
|
|
46198
46225
|
className: selectClassName,
|
|
46199
46226
|
children: [/*#__PURE__*/jsxRuntime.jsx("option", {
|
|
46200
46227
|
value: "all",
|
|
46201
|
-
children: "All
|
|
46228
|
+
children: "All Packages"
|
|
46202
46229
|
}), uniqueAuthors.map(function (a) {
|
|
46203
46230
|
return /*#__PURE__*/jsxRuntime.jsx("option", {
|
|
46204
46231
|
value: a,
|