@fragmentsx/render-web 0.1.2 → 0.1.3
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/index.cjs.js +5 -0
- package/dist/index.es.js +5 -0
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -6355,6 +6355,10 @@ const useArea = (options2) => {
|
|
|
6355
6355
|
options2 == null ? void 0 : options2.globalManager
|
|
6356
6356
|
);
|
|
6357
6357
|
const [areaData, setAreaData] = d(queryArea(options2.areaCode));
|
|
6358
|
+
const resultProps = T$1(
|
|
6359
|
+
() => ({ ...(areaData == null ? void 0 : areaData.props) ?? {}, ...(options2 == null ? void 0 : options2.props) ?? [] }),
|
|
6360
|
+
[areaData, options2]
|
|
6361
|
+
);
|
|
6358
6362
|
y$2(() => {
|
|
6359
6363
|
(async () => {
|
|
6360
6364
|
const response = await queryArea(options2.areaCode);
|
|
@@ -6365,6 +6369,7 @@ const useArea = (options2) => {
|
|
|
6365
6369
|
}, []);
|
|
6366
6370
|
return {
|
|
6367
6371
|
...areaData,
|
|
6372
|
+
props: resultProps,
|
|
6368
6373
|
globalManager: resultGlobalManager
|
|
6369
6374
|
};
|
|
6370
6375
|
};
|
package/dist/index.es.js
CHANGED
|
@@ -6354,6 +6354,10 @@ const useArea = (options2) => {
|
|
|
6354
6354
|
options2 == null ? void 0 : options2.globalManager
|
|
6355
6355
|
);
|
|
6356
6356
|
const [areaData, setAreaData] = d(queryArea(options2.areaCode));
|
|
6357
|
+
const resultProps = T$1(
|
|
6358
|
+
() => ({ ...(areaData == null ? void 0 : areaData.props) ?? {}, ...(options2 == null ? void 0 : options2.props) ?? [] }),
|
|
6359
|
+
[areaData, options2]
|
|
6360
|
+
);
|
|
6357
6361
|
y$2(() => {
|
|
6358
6362
|
(async () => {
|
|
6359
6363
|
const response = await queryArea(options2.areaCode);
|
|
@@ -6364,6 +6368,7 @@ const useArea = (options2) => {
|
|
|
6364
6368
|
}, []);
|
|
6365
6369
|
return {
|
|
6366
6370
|
...areaData,
|
|
6371
|
+
props: resultProps,
|
|
6367
6372
|
globalManager: resultGlobalManager
|
|
6368
6373
|
};
|
|
6369
6374
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fragmentsx/render-web",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@graph-state/checkers": "^0.1.2",
|
|
26
26
|
"@graph-state/core": "^0.13.0",
|
|
27
|
-
"@fragmentsx/client-core": "0.1.
|
|
27
|
+
"@fragmentsx/client-core": "0.1.3",
|
|
28
28
|
"@fragmentsx/definition": "0.1.0",
|
|
29
|
-
"@fragmentsx/
|
|
30
|
-
"@fragmentsx/
|
|
29
|
+
"@fragmentsx/utils": "0.1.0",
|
|
30
|
+
"@fragmentsx/render-core": "0.1.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@graph-state/plugin-logger": "^0.3.0",
|