sample-piral 1.11.1-beta.efeabd1 → 1.11.1
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.310b79.js → index.46e478.js} +6 -14
- package/app/index.46e478.js.map +1 -0
- package/app/index.html +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +8 -8
- package/app/index.310b79.js.map +0 -1
|
@@ -59547,9 +59547,6 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
59547
59547
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
59548
59548
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
59549
59549
|
|
|
59550
|
-
function getPortalContainer(portal) {
|
|
59551
|
-
return portal.containerInfo;
|
|
59552
|
-
}
|
|
59553
59550
|
function destroyPortal(ctx, id) {
|
|
59554
59551
|
ctx.dispatch(function (state) {
|
|
59555
59552
|
return _objectSpread(_objectSpread({}, state), {}, {
|
|
@@ -59564,16 +59561,11 @@ function hidePortal(ctx, id, entry) {
|
|
|
59564
59561
|
});
|
|
59565
59562
|
});
|
|
59566
59563
|
}
|
|
59567
|
-
function isSamePortal(current, candidate) {
|
|
59568
|
-
var currentContainer = getPortalContainer(current);
|
|
59569
|
-
var candidateContainer = getPortalContainer(candidate);
|
|
59570
|
-
return candidate === current || !!currentContainer && currentContainer === candidateContainer;
|
|
59571
|
-
}
|
|
59572
59564
|
function updatePortal(ctx, id, current, next) {
|
|
59573
59565
|
ctx.dispatch(function (state) {
|
|
59574
59566
|
return _objectSpread(_objectSpread({}, state), {}, {
|
|
59575
59567
|
portals: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.portals, id, (0,_utils__WEBPACK_IMPORTED_MODULE_0__.replaceOrAddItem)(state.portals[id], next, function (m) {
|
|
59576
|
-
return
|
|
59568
|
+
return m === current;
|
|
59577
59569
|
}))
|
|
59578
59570
|
});
|
|
59579
59571
|
});
|
|
@@ -59605,7 +59597,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59605
59597
|
function dispatch(ctx, update) {
|
|
59606
59598
|
var oldState = ctx.state.getState();
|
|
59607
59599
|
var newState = update(oldState);
|
|
59608
|
-
if (!(0,_utils__WEBPACK_IMPORTED_MODULE_0__.isSame)(oldState, newState)) {
|
|
59600
|
+
if (oldState.portals !== newState.portals || !(0,_utils__WEBPACK_IMPORTED_MODULE_0__.isSame)(oldState, newState)) {
|
|
59609
59601
|
ctx.state.setState(newState);
|
|
59610
59602
|
}
|
|
59611
59603
|
}
|
|
@@ -65618,12 +65610,12 @@ function installPiralDebug(options) {
|
|
|
65618
65610
|
debug: debugApiVersion,
|
|
65619
65611
|
instance: {
|
|
65620
65612
|
name: "sample-piral",
|
|
65621
|
-
version: "1.11.1
|
|
65613
|
+
version: "1.11.1",
|
|
65622
65614
|
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
|
|
65623
65615
|
},
|
|
65624
65616
|
build: {
|
|
65625
|
-
date: "2026-06-
|
|
65626
|
-
cli: "1.11.1
|
|
65617
|
+
date: "2026-06-16T07:33:54.349Z",
|
|
65618
|
+
cli: "1.11.1",
|
|
65627
65619
|
compat: "1"
|
|
65628
65620
|
}
|
|
65629
65621
|
};
|
|
@@ -67908,4 +67900,4 @@ root.render(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral_
|
|
|
67908
67900
|
|
|
67909
67901
|
/******/ })()
|
|
67910
67902
|
;
|
|
67911
|
-
//# sourceMappingURL=index.
|
|
67903
|
+
//# sourceMappingURL=index.46e478.js.map
|