@trops/dash-core 0.1.504 → 0.1.506
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/electron/index.js +628 -297
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +11 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -49435,7 +49435,7 @@ var ConfirmDisableInline = function ConfirmDisableInline(_ref7) {
|
|
|
49435
49435
|
});
|
|
49436
49436
|
};
|
|
49437
49437
|
var WidgetGrantRow = function WidgetGrantRow(_ref8) {
|
|
49438
|
-
var _granted$domains;
|
|
49438
|
+
var _granted$domains, _granted$domains2;
|
|
49439
49439
|
var widgetId = _ref8.widgetId,
|
|
49440
49440
|
declared = _ref8.declared,
|
|
49441
49441
|
granted = _ref8.granted,
|
|
@@ -49526,6 +49526,16 @@ var WidgetGrantRow = function WidgetGrantRow(_ref8) {
|
|
|
49526
49526
|
declaredItems: [],
|
|
49527
49527
|
grantedItems: granted.domains.fs.writePaths || []
|
|
49528
49528
|
})]
|
|
49529
|
+
}), (granted === null || granted === void 0 || (_granted$domains2 = granted.domains) === null || _granted$domains2 === void 0 ? void 0 : _granted$domains2.network) && (granted.domains.network.hosts || []).length > 0 && /*#__PURE__*/jsxs("div", {
|
|
49530
|
+
className: "flex flex-col space-y-2 border-t border-gray-800 pt-2",
|
|
49531
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
49532
|
+
className: "text-xs uppercase tracking-wider opacity-70",
|
|
49533
|
+
children: "network"
|
|
49534
|
+
}), /*#__PURE__*/jsx(PermsList, {
|
|
49535
|
+
label: "Allowed hosts",
|
|
49536
|
+
declaredItems: [],
|
|
49537
|
+
grantedItems: granted.domains.network.hosts || []
|
|
49538
|
+
})]
|
|
49529
49539
|
})]
|
|
49530
49540
|
});
|
|
49531
49541
|
};
|