@axinom/mosaic-portal 0.41.5-rc.4 → 0.41.5
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/app/{index.ec4c04.js → index.dbd3d2.js} +17 -5
- package/app/index.dbd3d2.js.map +1 -0
- package/app/index.html +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +1 -1
- package/app/index.ec4c04.js.map +0 -1
|
@@ -40082,7 +40082,19 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
|
40082
40082
|
function _arrayLikeToArray(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; }
|
|
40083
40083
|
function registerNavigationItem(ctx, value) {
|
|
40084
40084
|
ctx.dispatch(function (state) {
|
|
40085
|
-
var
|
|
40085
|
+
var existingItems = state.registry.navigation.items;
|
|
40086
|
+
var existingIndex = existingItems.findIndex(function (item) {
|
|
40087
|
+
return item.name === value.name;
|
|
40088
|
+
});
|
|
40089
|
+
var items;
|
|
40090
|
+
if (existingIndex !== -1) {
|
|
40091
|
+
// Merge with existing item
|
|
40092
|
+
items = _toConsumableArray(existingItems);
|
|
40093
|
+
items[existingIndex] = Object.assign(Object.assign({}, items[existingIndex]), value);
|
|
40094
|
+
} else {
|
|
40095
|
+
// Add new item
|
|
40096
|
+
items = [].concat(_toConsumableArray(existingItems), [value]);
|
|
40097
|
+
}
|
|
40086
40098
|
return Object.assign(Object.assign({}, state), {
|
|
40087
40099
|
registry: Object.assign(Object.assign({}, state.registry), {
|
|
40088
40100
|
navigation: Object.assign(Object.assign({}, state.registry.navigation), {
|
|
@@ -41045,7 +41057,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
41045
41057
|
/* harmony export */ });
|
|
41046
41058
|
var shellInfo = {
|
|
41047
41059
|
name: "@axinom/mosaic-portal",
|
|
41048
|
-
version: "0.41.5
|
|
41060
|
+
version: "0.41.5"
|
|
41049
41061
|
};
|
|
41050
41062
|
|
|
41051
41063
|
/***/ }),
|
|
@@ -45393,11 +45405,11 @@ function installPiralDebug(options) {
|
|
|
45393
45405
|
debug: debugApiVersion,
|
|
45394
45406
|
instance: {
|
|
45395
45407
|
name: "@axinom/mosaic-portal",
|
|
45396
|
-
version: "0.41.5
|
|
45408
|
+
version: "0.41.5",
|
|
45397
45409
|
dependencies: "react,react-dom,react-router,react-router-dom,tslib",
|
|
45398
45410
|
},
|
|
45399
45411
|
build: {
|
|
45400
|
-
date: "2025-06-
|
|
45412
|
+
date: "2025-06-20T03:43:23.855Z",
|
|
45401
45413
|
cli: "1.5.2",
|
|
45402
45414
|
compat: "1",
|
|
45403
45415
|
},
|
|
@@ -94846,4 +94858,4 @@ var App = function App() {
|
|
|
94846
94858
|
|
|
94847
94859
|
/******/ })()
|
|
94848
94860
|
;
|
|
94849
|
-
//# sourceMappingURL=index.
|
|
94861
|
+
//# sourceMappingURL=index.dbd3d2.js.map
|