@plurid/plurid-react 0.0.0-27 → 0.0.0-28
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/structural/Space/index.d.ts +2 -1
- package/distribution/containers/Application/View/index.d.ts +2 -1
- package/distribution/containers/Application/index.d.ts +2 -0
- package/distribution/index.d.ts +1 -1
- package/distribution/index.es.js +61 -72
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +61 -72
- package/distribution/index.js.map +1 -1
- package/distribution/index.min.js +70 -73
- package/distribution/index.min.js.map +1 -1
- package/distribution/services/logic/computing/index.d.ts +1 -1
- package/distribution/services/logic/server/index.d.ts +1 -1
- package/distribution/services/state/actions/index.d.ts +1 -0
- package/distribution/services/state/modules/space/index.d.ts +2 -0
- package/distribution/services/state/modules/space/selectors.d.ts +1 -0
- package/package.json +12 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluridPlane, TreePlane, PluridApplicationView, PluridPartialConfiguration } from '@plurid/plurid-data';
|
|
2
2
|
import { PluridReactComponent } from "../../../data/interfaces";
|
|
3
|
-
export declare const computeApplication: (planes: PluridPlane<PluridReactComponent>[] | undefined, configuration: PluridPartialConfiguration | undefined, view: PluridApplicationView | undefined) => {
|
|
3
|
+
export declare const computeApplication: (planes: PluridPlane<PluridReactComponent>[] | undefined, configuration: PluridPartialConfiguration | undefined, view: PluridApplicationView | undefined, origin?: string) => {
|
|
4
4
|
computedTree: TreePlane[];
|
|
5
5
|
appConfiguration: import("@plurid/plurid-data").PluridConfiguration;
|
|
6
6
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PluridMetastate, PluridRoute } from '@plurid/plurid-data';
|
|
2
2
|
import { PluridReactComponent, PluridRouteMatch } from "../../../data/interfaces";
|
|
3
|
-
export declare const serverComputeMetastate: (isoMatch: PluridRouteMatch, paths: PluridRoute<PluridReactComponent>[], globals: Record<string, string> | undefined) => Promise<PluridMetastate>;
|
|
3
|
+
export declare const serverComputeMetastate: (isoMatch: PluridRouteMatch, paths: PluridRoute<PluridReactComponent>[], globals: Record<string, string> | undefined, hostname?: string) => Promise<PluridMetastate>;
|
|
@@ -122,6 +122,7 @@ declare const _default: {
|
|
|
122
122
|
rotationY: number;
|
|
123
123
|
scale: number;
|
|
124
124
|
loading: boolean;
|
|
125
|
+
resolvedLayout: boolean;
|
|
125
126
|
animatedTransform: boolean;
|
|
126
127
|
transformTime: number;
|
|
127
128
|
tree: import("immer/dist/internal").WritableDraft<import("@plurid/plurid-data").TreePlane>[];
|
|
@@ -19,6 +19,7 @@ export declare const space: import("@reduxjs/toolkit").Slice<PluridStateSpace, {
|
|
|
19
19
|
rotationY: number;
|
|
20
20
|
scale: number;
|
|
21
21
|
loading: boolean;
|
|
22
|
+
resolvedLayout: boolean;
|
|
22
23
|
animatedTransform: boolean;
|
|
23
24
|
transformTime: number;
|
|
24
25
|
tree: import("immer/dist/internal").WritableDraft<TreePlane>[];
|
|
@@ -89,6 +90,7 @@ export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
89
90
|
rotationY: number;
|
|
90
91
|
scale: number;
|
|
91
92
|
loading: boolean;
|
|
93
|
+
resolvedLayout: boolean;
|
|
92
94
|
animatedTransform: boolean;
|
|
93
95
|
transformTime: number;
|
|
94
96
|
tree: import("immer/dist/internal").WritableDraft<TreePlane>[];
|
|
@@ -2,6 +2,7 @@ import { TreePlane, SpaceTransform } from '@plurid/plurid-data';
|
|
|
2
2
|
import { AppState } from "../../store";
|
|
3
3
|
export declare const getSpace: (state: AppState) => import("@plurid/plurid-data").PluridStateSpace;
|
|
4
4
|
export declare const getLoading: (state: AppState) => boolean;
|
|
5
|
+
export declare const getResolvedLayout: (state: AppState) => boolean;
|
|
5
6
|
export declare const getTransformMatrix: (state: AppState) => string;
|
|
6
7
|
export declare const getAnimatedTransform: (state: AppState) => boolean;
|
|
7
8
|
export declare const getTransformTime: (state: AppState) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurid/plurid-react",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-28",
|
|
4
4
|
"description": "React implementation of Plurid to explore the web in three dimensions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurid",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"styled-components": ">=5"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@babel/core": "^7.
|
|
70
|
+
"@babel/core": "^7.19.0",
|
|
71
71
|
"@plurid/elementql": "^0.0.0-1",
|
|
72
72
|
"@plurid/elementql-client-react": "^0.0.0-1",
|
|
73
|
-
"@plurid/plurid-data": "0.0.0-
|
|
74
|
-
"@plurid/plurid-engine": "0.0.0-
|
|
73
|
+
"@plurid/plurid-data": "0.0.0-19",
|
|
74
|
+
"@plurid/plurid-engine": "0.0.0-18",
|
|
75
75
|
"@plurid/plurid-functions": "0.0.0-30",
|
|
76
76
|
"@plurid/plurid-functions-react": "0.0.0-5",
|
|
77
77
|
"@plurid/plurid-icons-react": "0.0.0-5",
|
|
@@ -82,26 +82,26 @@
|
|
|
82
82
|
"@reduxjs/toolkit": "^1.8.5",
|
|
83
83
|
"@rollup/plugin-babel": "^5.3.1",
|
|
84
84
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
85
|
-
"@rollup/plugin-node-resolve": "^
|
|
85
|
+
"@rollup/plugin-node-resolve": "^14.0.0",
|
|
86
86
|
"@rollup/plugin-replace": "^4.0.0",
|
|
87
|
-
"@rollup/plugin-typescript": "^8.
|
|
87
|
+
"@rollup/plugin-typescript": "^8.5.0",
|
|
88
88
|
"@rollup/plugin-url": "^7.0.0",
|
|
89
89
|
"@types/hammerjs": "^2.0.41",
|
|
90
90
|
"@types/jest": "^29.0.0",
|
|
91
|
-
"@types/node": "^18.7.
|
|
91
|
+
"@types/node": "^18.7.15",
|
|
92
92
|
"@types/react": "^18.0.18",
|
|
93
93
|
"@types/react-dom": "^18.0.6",
|
|
94
94
|
"@types/react-redux": "^7.1.24",
|
|
95
95
|
"@types/styled-components": "^5.1.26",
|
|
96
|
-
"@typescript-eslint/eslint-plugin": "^5.36.
|
|
97
|
-
"@typescript-eslint/parser": "^5.36.
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
97
|
+
"@typescript-eslint/parser": "^5.36.2",
|
|
98
98
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
99
99
|
"babel-plugin-styled-components": "^2.0.7",
|
|
100
100
|
"cross-fetch": "^3.1.5",
|
|
101
|
-
"esbuild": "^0.15.
|
|
101
|
+
"esbuild": "^0.15.7",
|
|
102
102
|
"eslint": "^8.23.0",
|
|
103
|
-
"jest": "^29.0.
|
|
104
|
-
"jest-config": "^29.0.
|
|
103
|
+
"jest": "^29.0.2",
|
|
104
|
+
"jest-config": "^29.0.2",
|
|
105
105
|
"postcss": "^8.4.16",
|
|
106
106
|
"react": "^18.2.0",
|
|
107
107
|
"react-dom": "^18.2.0",
|