@plurid/plurid-react 0.0.0-16 → 0.0.0-17
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/distribution/components/utilities/Toolbar/General/components/MenuMore/data.d.ts +0 -1
- package/distribution/containers/Application/View/logic.d.ts +0 -1
- package/distribution/containers/RouterBrowser/index.d.ts +0 -1
- package/distribution/containers/RouterStatic/index.d.ts +0 -1
- package/distribution/data/interfaces/index.d.ts +2 -0
- package/distribution/distribution/components/utilities/Toolbar/General/components/MenuMore/data.d.ts +0 -1
- package/distribution/distribution/containers/Application/View/logic.d.ts +0 -1
- package/distribution/distribution/containers/RouterBrowser/index.d.ts +0 -1
- package/distribution/distribution/containers/RouterStatic/index.d.ts +0 -1
- package/distribution/distribution/data/interfaces/index.d.ts +2 -0
- package/distribution/distribution/index.d.ts +2 -2
- package/distribution/distribution/services/logic/router/index.d.ts +5 -5
- package/distribution/distribution/services/logic/server/index.d.ts +1 -2
- package/distribution/distribution/services/logic/shortcuts/index.d.ts +1 -1
- package/distribution/index.d.ts +2 -2
- package/distribution/index.es.js +14 -10
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +14 -10
- package/distribution/index.js.map +1 -1
- package/distribution/index.min.js +16 -16
- package/distribution/index.min.js.map +1 -1
- package/distribution/services/logic/router/index.d.ts +5 -5
- package/distribution/services/logic/server/index.d.ts +1 -2
- package/distribution/services/logic/shortcuts/index.d.ts +1 -1
- package/package.json +34 -34
package/distribution/index.js
CHANGED
|
@@ -2561,7 +2561,7 @@ const PluridRoot = properties => {
|
|
|
2561
2561
|
if (!context) {
|
|
2562
2562
|
return React__default["default"].createElement(React__default["default"].Fragment, null);
|
|
2563
2563
|
}
|
|
2564
|
-
const {planesRegistrar: planesRegistrar, planeContext: PlaneContext, planeContextValue: planeContextValue, customPlane: customPlane} = context;
|
|
2564
|
+
const {planesRegistrar: planesRegistrar, planeContext: PlaneContext, planeContextValue: planeContextValue, customPlane: customPlane, matchedRoute: matchedRoute} = context;
|
|
2565
2565
|
const CustomPluridPlane = customPlane;
|
|
2566
2566
|
const [childrenPlanes, setChildrenPlanes] = React.useState([]);
|
|
2567
2567
|
const computeChildrenPlanes = plane => {
|
|
@@ -2588,9 +2588,9 @@ const PluridRoot = properties => {
|
|
|
2588
2588
|
query: activePlane.route.query
|
|
2589
2589
|
},
|
|
2590
2590
|
route: {
|
|
2591
|
-
value: "",
|
|
2592
|
-
parameters: {},
|
|
2593
|
-
query: {}
|
|
2591
|
+
value: (matchedRoute === null || matchedRoute === void 0 ? void 0 : matchedRoute.match.value) || "",
|
|
2592
|
+
parameters: (matchedRoute === null || matchedRoute === void 0 ? void 0 : matchedRoute.match.parameters) || {},
|
|
2593
|
+
query: (matchedRoute === null || matchedRoute === void 0 ? void 0 : matchedRoute.match.query) || {}
|
|
2594
2594
|
}
|
|
2595
2595
|
};
|
|
2596
2596
|
const properties = {
|
|
@@ -2643,9 +2643,9 @@ const PluridRoot = properties => {
|
|
|
2643
2643
|
query: pluridPlane.route.query
|
|
2644
2644
|
},
|
|
2645
2645
|
route: {
|
|
2646
|
-
value: "",
|
|
2647
|
-
parameters: {},
|
|
2648
|
-
query: {}
|
|
2646
|
+
value: (matchedRoute === null || matchedRoute === void 0 ? void 0 : matchedRoute.match.value) || "",
|
|
2647
|
+
parameters: (matchedRoute === null || matchedRoute === void 0 ? void 0 : matchedRoute.match.parameters) || {},
|
|
2648
|
+
query: (matchedRoute === null || matchedRoute === void 0 ? void 0 : matchedRoute.match.query) || {}
|
|
2649
2649
|
}
|
|
2650
2650
|
};
|
|
2651
2651
|
const planeProperties = {
|
|
@@ -4875,7 +4875,7 @@ const handleView = view => {
|
|
|
4875
4875
|
const {getRegisteredPlanes: getRegisteredPlanes} = pluridEngine.planes;
|
|
4876
4876
|
|
|
4877
4877
|
const PluridView = properties => {
|
|
4878
|
-
const {planesRegistrar: planesRegistrar, customPlane: customPlane, planeContext: planeContext, planeContextValue: planeContextValue, pubsub: pubsub, planeNotFound: planeNotFound, planeRenderError: planeRenderError, stateConfiguration: stateConfiguration, stateTransform: stateTransform, stateSpaceView: stateSpaceView, dispatch: dispatch, dispatchSetConfiguration: dispatchSetConfiguration, dispatchSetGeneralTheme: dispatchSetGeneralTheme, dispatchSetInteractionTheme: dispatchSetInteractionTheme, dispatchSetSpaceLocation: dispatchSetSpaceLocation, dispatchSetAnimatedTransform: dispatchSetAnimatedTransform, dispatchSetTransformTime: dispatchSetTransformTime, dispatchSetTree: dispatchSetTree, dispatchRotateXWith: dispatchRotateXWith, dispatchRotateX: dispatchRotateX, dispatchRotateYWith: dispatchRotateYWith, dispatchRotateY: dispatchRotateY, dispatchTranslateXWith: dispatchTranslateXWith, dispatchTranslateYWith: dispatchTranslateYWith, dispatchScaleUpWith: dispatchScaleUpWith, dispatchScaleDownWith: dispatchScaleDownWith, dispatchSpaceSetViewSize: dispatchSpaceSetViewSize, dispatchSpaceSetView: dispatchSpaceSetView} = properties;
|
|
4878
|
+
const {planesRegistrar: planesRegistrar, customPlane: customPlane, planeContext: planeContext, planeContextValue: planeContextValue, pubsub: pubsub, planeNotFound: planeNotFound, planeRenderError: planeRenderError, matchedRoute: matchedRoute, stateConfiguration: stateConfiguration, stateTransform: stateTransform, stateSpaceView: stateSpaceView, dispatch: dispatch, dispatchSetConfiguration: dispatchSetConfiguration, dispatchSetGeneralTheme: dispatchSetGeneralTheme, dispatchSetInteractionTheme: dispatchSetInteractionTheme, dispatchSetSpaceLocation: dispatchSetSpaceLocation, dispatchSetAnimatedTransform: dispatchSetAnimatedTransform, dispatchSetTransformTime: dispatchSetTransformTime, dispatchSetTree: dispatchSetTree, dispatchRotateXWith: dispatchRotateXWith, dispatchRotateX: dispatchRotateX, dispatchRotateYWith: dispatchRotateYWith, dispatchRotateY: dispatchRotateY, dispatchTranslateXWith: dispatchTranslateXWith, dispatchTranslateYWith: dispatchTranslateYWith, dispatchScaleUpWith: dispatchScaleUpWith, dispatchScaleDownWith: dispatchScaleDownWith, dispatchSpaceSetViewSize: dispatchSpaceSetViewSize, dispatchSpaceSetView: dispatchSpaceSetView} = properties;
|
|
4879
4879
|
const viewElement = React.useRef(null);
|
|
4880
4880
|
const [pluridPubSub, setPluridPubSub] = React.useState(pubsub ? [ pubsub ] : []);
|
|
4881
4881
|
const shortcutsCallback = React.useCallback((event => {
|
|
@@ -5296,6 +5296,7 @@ const PluridView = properties => {
|
|
|
5296
5296
|
customPlane: customPlane,
|
|
5297
5297
|
planeNotFound: planeNotFound,
|
|
5298
5298
|
planeRenderError: planeRenderError,
|
|
5299
|
+
matchedRoute: matchedRoute,
|
|
5299
5300
|
registerPubSub: registerPubSub
|
|
5300
5301
|
};
|
|
5301
5302
|
const viewContainer = handleView(stateSpaceView);
|
|
@@ -5824,7 +5825,8 @@ const computePluridRoute = (matchedRoute, planesRegistrar, isoMatcher, directPla
|
|
|
5824
5825
|
view: view,
|
|
5825
5826
|
planesRegistrar: planesRegistrar,
|
|
5826
5827
|
configuration: defaultConfiguration,
|
|
5827
|
-
pubsub: pubsub
|
|
5828
|
+
pubsub: pubsub,
|
|
5829
|
+
matchedRoute: matchedRoute
|
|
5828
5830
|
});
|
|
5829
5831
|
const PluridRoute = () => React__default["default"].createElement(React__default["default"].Fragment, null, PluridRouteExterior && React__default["default"].createElement(PluridRouteExterior, {
|
|
5830
5832
|
plurid: pluridRouteProperty,
|
|
@@ -5903,10 +5905,12 @@ const renderDirectPlane = (routePlane, planesRegistrar) => {
|
|
|
5903
5905
|
}
|
|
5904
5906
|
}
|
|
5905
5907
|
}
|
|
5908
|
+
const {defaultConfiguration: defaultConfiguration} = routePlane === null || routePlane === void 0 ? void 0 : routePlane.data;
|
|
5906
5909
|
const DirectPlane = () => {
|
|
5907
5910
|
const PluridRoute = () => React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement(PluridApplication, {
|
|
5908
5911
|
view: [ routePlane.match.value ],
|
|
5909
|
-
planesRegistrar: planesRegistrar
|
|
5912
|
+
planesRegistrar: planesRegistrar,
|
|
5913
|
+
configuration: defaultConfiguration
|
|
5910
5914
|
}));
|
|
5911
5915
|
return PluridRoute;
|
|
5912
5916
|
};
|