mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-03-25 15:10:33 +08:00
fix(dev-server): Add google maps and aggrid as default types.
chore: cleanup. fix(dev-server): add google maps and aggrid as default types. chore: Update pnp.
This commit is contained in:
parent
fbc38185ea
commit
b3fa3a24c3
183
.pnp.cjs
generated
183
.pnp.cjs
generated
@ -60,6 +60,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"name": "@lowdefy/actions-core",\
|
||||
"reference": "workspace:packages/plugins/actions/actions-core"\
|
||||
},\
|
||||
{\
|
||||
"name": "@lowdefy/blocks-aggrid",\
|
||||
"reference": "workspace:packages/plugins/blocks/blocks-aggrid"\
|
||||
},\
|
||||
{\
|
||||
"name": "@lowdefy/blocks-antd",\
|
||||
"reference": "workspace:packages/plugins/blocks/blocks-antd"\
|
||||
@ -76,6 +80,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"name": "@lowdefy/blocks-echarts",\
|
||||
"reference": "workspace:packages/plugins/blocks/blocks-echarts"\
|
||||
},\
|
||||
{\
|
||||
"name": "@lowdefy/blocks-google-maps",\
|
||||
"reference": "workspace:packages/plugins/blocks/blocks-google-maps"\
|
||||
},\
|
||||
{\
|
||||
"name": "@lowdefy/blocks-loaders",\
|
||||
"reference": "workspace:packages/plugins/blocks/blocks-loaders"\
|
||||
@ -197,10 +205,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
["@lowdefy/api", ["workspace:packages/api"]],\
|
||||
["@lowdefy/block-dev", ["workspace:packages/utils/block-dev"]],\
|
||||
["@lowdefy/block-utils", ["workspace:packages/utils/block-utils"]],\
|
||||
["@lowdefy/blocks-aggrid", ["workspace:packages/plugins/blocks/blocks-aggrid"]],\
|
||||
["@lowdefy/blocks-antd", ["workspace:packages/plugins/blocks/blocks-antd"]],\
|
||||
["@lowdefy/blocks-basic", ["workspace:packages/plugins/blocks/blocks-basic"]],\
|
||||
["@lowdefy/blocks-color-selectors", ["workspace:packages/plugins/blocks/blocks-color-selectors"]],\
|
||||
["@lowdefy/blocks-echarts", ["workspace:packages/plugins/blocks/blocks-echarts"]],\
|
||||
["@lowdefy/blocks-google-maps", ["workspace:packages/plugins/blocks/blocks-google-maps"]],\
|
||||
["@lowdefy/blocks-loaders", ["workspace:packages/plugins/blocks/blocks-loaders"]],\
|
||||
["@lowdefy/blocks-markdown", ["workspace:packages/plugins/blocks/blocks-markdown"]],\
|
||||
["@lowdefy/build", ["workspace:packages/build"]],\
|
||||
@ -259,6 +269,89 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"linkType": "SOFT"\
|
||||
}]\
|
||||
]],\
|
||||
["@ag-grid-community/all-modules", [\
|
||||
["npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ag-grid-community-all-modules-npm-27.3.0-bcf77b9b81-7a68e7ae2b.zip/node_modules/@ag-grid-community/all-modules/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/all-modules", "npm:27.3.0"],\
|
||||
["@ag-grid-community/client-side-row-model", "npm:27.3.0"],\
|
||||
["@ag-grid-community/core", "npm:27.3.0"],\
|
||||
["@ag-grid-community/csv-export", "npm:27.3.0"],\
|
||||
["@ag-grid-community/infinite-row-model", "npm:27.3.0"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@ag-grid-community/client-side-row-model", [\
|
||||
["npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ag-grid-community-client-side-row-model-npm-27.3.0-380bcabcd1-11a3f29a72.zip/node_modules/@ag-grid-community/client-side-row-model/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/client-side-row-model", "npm:27.3.0"],\
|
||||
["@ag-grid-community/core", "npm:27.3.0"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@ag-grid-community/core", [\
|
||||
["npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ag-grid-community-core-npm-27.3.0-220ac68f70-915a3eb560.zip/node_modules/@ag-grid-community/core/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/core", "npm:27.3.0"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@ag-grid-community/csv-export", [\
|
||||
["npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ag-grid-community-csv-export-npm-27.3.0-83ff0471bd-b5ae750655.zip/node_modules/@ag-grid-community/csv-export/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/csv-export", "npm:27.3.0"],\
|
||||
["@ag-grid-community/core", "npm:27.3.0"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@ag-grid-community/infinite-row-model", [\
|
||||
["npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ag-grid-community-infinite-row-model-npm-27.3.0-3d93c7a591-f94b118f3b.zip/node_modules/@ag-grid-community/infinite-row-model/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/infinite-row-model", "npm:27.3.0"],\
|
||||
["@ag-grid-community/core", "npm:27.3.0"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@ag-grid-community/react", [\
|
||||
["npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ag-grid-community-react-npm-27.3.0-f47fcb4eb8-a7215edead.zip/node_modules/@ag-grid-community/react/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/react", "npm:27.3.0"]\
|
||||
],\
|
||||
"linkType": "SOFT"\
|
||||
}],\
|
||||
["virtual:11bce50eff5a7c5d53f62ed68ab6f789e2fc52696b3b4dc8fe7b68cf9ff03e2192b7dd5328ee55d6614e01bba244a809486267facb3b0bb459998e2fc5694c92#npm:27.3.0", {\
|
||||
"packageLocation": "./.yarn/__virtual__/@ag-grid-community-react-virtual-81e0fa20ce/0/cache/@ag-grid-community-react-npm-27.3.0-f47fcb4eb8-a7215edead.zip/node_modules/@ag-grid-community/react/",\
|
||||
"packageDependencies": [\
|
||||
["@ag-grid-community/react", "virtual:11bce50eff5a7c5d53f62ed68ab6f789e2fc52696b3b4dc8fe7b68cf9ff03e2192b7dd5328ee55d6614e01bba244a809486267facb3b0bb459998e2fc5694c92#npm:27.3.0"],\
|
||||
["@ag-grid-community/core", "npm:27.3.0"],\
|
||||
["@types/ag-grid-community__core", null],\
|
||||
["@types/react", null],\
|
||||
["@types/react-dom", null],\
|
||||
["prop-types", "npm:15.8.1"],\
|
||||
["react", "npm:18.1.0"],\
|
||||
["react-dom", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:18.1.0"]\
|
||||
],\
|
||||
"packagePeers": [\
|
||||
"@ag-grid-community/core",\
|
||||
"@types/ag-grid-community__core",\
|
||||
"@types/react-dom",\
|
||||
"@types/react",\
|
||||
"react-dom",\
|
||||
"react"\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@ampproject/remapping", [\
|
||||
["npm:2.2.0", {\
|
||||
"packageLocation": "./.yarn/cache/@ampproject-remapping-npm-2.2.0-114878fa50-d74d170d06.zip/node_modules/@ampproject/remapping/",\
|
||||
@ -1611,6 +1704,39 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@googlemaps/js-api-loader", [\
|
||||
["npm:1.14.3", {\
|
||||
"packageLocation": "./.yarn/cache/@googlemaps-js-api-loader-npm-1.14.3-0b6d7f8b05-55ec4519c3.zip/node_modules/@googlemaps/js-api-loader/",\
|
||||
"packageDependencies": [\
|
||||
["@googlemaps/js-api-loader", "npm:1.14.3"],\
|
||||
["fast-deep-equal", "npm:3.1.3"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@googlemaps/react-wrapper", [\
|
||||
["npm:1.1.34", {\
|
||||
"packageLocation": "./.yarn/cache/@googlemaps-react-wrapper-npm-1.1.34-719dbfd7b5-4ae752c368.zip/node_modules/@googlemaps/react-wrapper/",\
|
||||
"packageDependencies": [\
|
||||
["@googlemaps/react-wrapper", "npm:1.1.34"]\
|
||||
],\
|
||||
"linkType": "SOFT"\
|
||||
}],\
|
||||
["virtual:cf9d4a30902225398260a9280741ea448264ff48eb7ce15b91d793e7cb0bc44c4e6ebc83708c628343ed5c99482f005ce5bc95f7b1d2fbe35caaf5ed60bd12ad#npm:1.1.34", {\
|
||||
"packageLocation": "./.yarn/__virtual__/@googlemaps-react-wrapper-virtual-52be79e71a/0/cache/@googlemaps-react-wrapper-npm-1.1.34-719dbfd7b5-4ae752c368.zip/node_modules/@googlemaps/react-wrapper/",\
|
||||
"packageDependencies": [\
|
||||
["@googlemaps/react-wrapper", "virtual:cf9d4a30902225398260a9280741ea448264ff48eb7ce15b91d793e7cb0bc44c4e6ebc83708c628343ed5c99482f005ce5bc95f7b1d2fbe35caaf5ed60bd12ad#npm:1.1.34"],\
|
||||
["@googlemaps/js-api-loader", "npm:1.14.3"],\
|
||||
["@types/react", null],\
|
||||
["react", "npm:18.1.0"]\
|
||||
],\
|
||||
"packagePeers": [\
|
||||
"@types/react",\
|
||||
"react"\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
]],\
|
||||
["@humanwhocodes/config-array", [\
|
||||
["npm:0.9.5", {\
|
||||
"packageLocation": "./.yarn/cache/@humanwhocodes-config-array-npm-0.9.5-030a025eae-8ba6281bc0.zip/node_modules/@humanwhocodes/config-array/",\
|
||||
@ -2988,6 +3114,34 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"linkType": "SOFT"\
|
||||
}]\
|
||||
]],\
|
||||
["@lowdefy/blocks-aggrid", [\
|
||||
["workspace:packages/plugins/blocks/blocks-aggrid", {\
|
||||
"packageLocation": "./packages/plugins/blocks/blocks-aggrid/",\
|
||||
"packageDependencies": [\
|
||||
["@lowdefy/blocks-aggrid", "workspace:packages/plugins/blocks/blocks-aggrid"],\
|
||||
["@ag-grid-community/all-modules", "npm:27.3.0"],\
|
||||
["@ag-grid-community/core", "npm:27.3.0"],\
|
||||
["@ag-grid-community/react", "virtual:11bce50eff5a7c5d53f62ed68ab6f789e2fc52696b3b4dc8fe7b68cf9ff03e2192b7dd5328ee55d6614e01bba244a809486267facb3b0bb459998e2fc5694c92#npm:27.3.0"],\
|
||||
["@emotion/jest", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:11.9.1"],\
|
||||
["@lowdefy/block-dev", "workspace:packages/utils/block-dev"],\
|
||||
["@lowdefy/block-utils", "workspace:packages/utils/block-utils"],\
|
||||
["@lowdefy/jest-yaml-transform", "workspace:packages/utils/jest-yaml-transform"],\
|
||||
["@swc/cli", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:0.1.57"],\
|
||||
["@swc/core", "npm:1.2.194"],\
|
||||
["@swc/jest", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:0.2.21"],\
|
||||
["@testing-library/dom", "npm:8.13.0"],\
|
||||
["@testing-library/react", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:13.3.0"],\
|
||||
["@testing-library/user-event", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:14.2.0"],\
|
||||
["copyfiles", "npm:2.4.1"],\
|
||||
["jest", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:28.1.0"],\
|
||||
["jest-environment-jsdom", "npm:28.1.0"],\
|
||||
["jest-serializer-html", "npm:7.1.0"],\
|
||||
["react", "npm:18.1.0"],\
|
||||
["react-dom", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:18.1.0"]\
|
||||
],\
|
||||
"linkType": "SOFT"\
|
||||
}]\
|
||||
]],\
|
||||
["@lowdefy/blocks-antd", [\
|
||||
["workspace:packages/plugins/blocks/blocks-antd", {\
|
||||
"packageLocation": "./packages/plugins/blocks/blocks-antd/",\
|
||||
@ -3104,6 +3258,33 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"linkType": "SOFT"\
|
||||
}]\
|
||||
]],\
|
||||
["@lowdefy/blocks-google-maps", [\
|
||||
["workspace:packages/plugins/blocks/blocks-google-maps", {\
|
||||
"packageLocation": "./packages/plugins/blocks/blocks-google-maps/",\
|
||||
"packageDependencies": [\
|
||||
["@lowdefy/blocks-google-maps", "workspace:packages/plugins/blocks/blocks-google-maps"],\
|
||||
["@emotion/jest", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:11.9.1"],\
|
||||
["@googlemaps/react-wrapper", "virtual:cf9d4a30902225398260a9280741ea448264ff48eb7ce15b91d793e7cb0bc44c4e6ebc83708c628343ed5c99482f005ce5bc95f7b1d2fbe35caaf5ed60bd12ad#npm:1.1.34"],\
|
||||
["@lowdefy/block-dev", "workspace:packages/utils/block-dev"],\
|
||||
["@lowdefy/block-utils", "workspace:packages/utils/block-utils"],\
|
||||
["@lowdefy/helpers", "workspace:packages/utils/helpers"],\
|
||||
["@lowdefy/jest-yaml-transform", "workspace:packages/utils/jest-yaml-transform"],\
|
||||
["@swc/cli", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:0.1.57"],\
|
||||
["@swc/core", "npm:1.2.194"],\
|
||||
["@swc/jest", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:0.2.21"],\
|
||||
["@testing-library/dom", "npm:8.13.0"],\
|
||||
["@testing-library/react", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:13.3.0"],\
|
||||
["@testing-library/user-event", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:14.2.0"],\
|
||||
["copyfiles", "npm:2.4.1"],\
|
||||
["jest", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:28.1.0"],\
|
||||
["jest-environment-jsdom", "npm:28.1.0"],\
|
||||
["jest-serializer-html", "npm:7.1.0"],\
|
||||
["react", "npm:18.1.0"],\
|
||||
["react-dom", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:18.1.0"]\
|
||||
],\
|
||||
"linkType": "SOFT"\
|
||||
}]\
|
||||
]],\
|
||||
["@lowdefy/blocks-loaders", [\
|
||||
["workspace:packages/plugins/blocks/blocks-loaders", {\
|
||||
"packageLocation": "./packages/plugins/blocks/blocks-loaders/",\
|
||||
@ -3747,10 +3928,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
["@lowdefy/server-dev", "workspace:packages/server-dev"],\
|
||||
["@lowdefy/actions-core", "workspace:packages/plugins/actions/actions-core"],\
|
||||
["@lowdefy/api", "workspace:packages/api"],\
|
||||
["@lowdefy/blocks-aggrid", "workspace:packages/plugins/blocks/blocks-aggrid"],\
|
||||
["@lowdefy/blocks-antd", "workspace:packages/plugins/blocks/blocks-antd"],\
|
||||
["@lowdefy/blocks-basic", "workspace:packages/plugins/blocks/blocks-basic"],\
|
||||
["@lowdefy/blocks-color-selectors", "workspace:packages/plugins/blocks/blocks-color-selectors"],\
|
||||
["@lowdefy/blocks-echarts", "workspace:packages/plugins/blocks/blocks-echarts"],\
|
||||
["@lowdefy/blocks-google-maps", "workspace:packages/plugins/blocks/blocks-google-maps"],\
|
||||
["@lowdefy/blocks-loaders", "workspace:packages/plugins/blocks/blocks-loaders"],\
|
||||
["@lowdefy/blocks-markdown", "workspace:packages/plugins/blocks/blocks-markdown"],\
|
||||
["@lowdefy/build", "workspace:packages/build"],\
|
||||
|
BIN
.yarn/cache/@ag-grid-community-all-modules-npm-27.3.0-bcf77b9b81-7a68e7ae2b.zip
vendored
Normal file
BIN
.yarn/cache/@ag-grid-community-all-modules-npm-27.3.0-bcf77b9b81-7a68e7ae2b.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@ag-grid-community-client-side-row-model-npm-27.3.0-380bcabcd1-11a3f29a72.zip
vendored
Normal file
BIN
.yarn/cache/@ag-grid-community-client-side-row-model-npm-27.3.0-380bcabcd1-11a3f29a72.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@ag-grid-community-core-npm-27.3.0-220ac68f70-915a3eb560.zip
vendored
Normal file
BIN
.yarn/cache/@ag-grid-community-core-npm-27.3.0-220ac68f70-915a3eb560.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@ag-grid-community-csv-export-npm-27.3.0-83ff0471bd-b5ae750655.zip
vendored
Normal file
BIN
.yarn/cache/@ag-grid-community-csv-export-npm-27.3.0-83ff0471bd-b5ae750655.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@ag-grid-community-infinite-row-model-npm-27.3.0-3d93c7a591-f94b118f3b.zip
vendored
Normal file
BIN
.yarn/cache/@ag-grid-community-infinite-row-model-npm-27.3.0-3d93c7a591-f94b118f3b.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@ag-grid-community-react-npm-27.3.0-f47fcb4eb8-a7215edead.zip
vendored
Normal file
BIN
.yarn/cache/@ag-grid-community-react-npm-27.3.0-f47fcb4eb8-a7215edead.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@googlemaps-js-api-loader-npm-1.14.3-0b6d7f8b05-55ec4519c3.zip
vendored
Normal file
BIN
.yarn/cache/@googlemaps-js-api-loader-npm-1.14.3-0b6d7f8b05-55ec4519c3.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@googlemaps-react-wrapper-npm-1.1.34-719dbfd7b5-4ae752c368.zip
vendored
Normal file
BIN
.yarn/cache/@googlemaps-react-wrapper-npm-1.1.34-719dbfd7b5-4ae752c368.zip
vendored
Normal file
Binary file not shown.
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import React, { useEffect, useState, useRef } from 'react';
|
||||
import { Wrapper, Status } from '@googlemaps/react-wrapper';
|
||||
import { Wrapper } from '@googlemaps/react-wrapper';
|
||||
import { blockDefaultProps } from '@lowdefy/block-utils';
|
||||
|
||||
// see which libraries to load at https://developers.google.com/maps/documentation/javascript/libraries
|
||||
@ -31,8 +31,8 @@ const MAP_DEFAULTS = {
|
||||
},
|
||||
};
|
||||
|
||||
// TODO: not sure how to implement status for now.
|
||||
const render = (status) => {
|
||||
// TODO: not sure how to implement status for now.
|
||||
// switch (status) {
|
||||
// case Status.LOADING:
|
||||
// return <Spinner />;
|
||||
@ -129,7 +129,7 @@ const Map = ({ blockId, properties, methods }) => {
|
||||
);
|
||||
};
|
||||
|
||||
const GoogleMaps = ({ blockId, events, methods, properties, loading }) => {
|
||||
const GoogleMaps = ({ blockId, methods, properties }) => {
|
||||
const libraries = new Set(properties.libraries || []);
|
||||
if (properties.heatmap) {
|
||||
libraries.add('visualization');
|
||||
|
@ -41,10 +41,12 @@
|
||||
"dependencies": {
|
||||
"@lowdefy/actions-core": "4.0.0-alpha.12",
|
||||
"@lowdefy/api": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-aggrid": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-antd": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-basic": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-color-selectors": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-echarts": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-google-maps": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-loaders": "4.0.0-alpha.12",
|
||||
"@lowdefy/blocks-markdown": "4.0.0-alpha.12",
|
||||
"@lowdefy/build": "4.0.0-alpha.12",
|
||||
|
132
yarn.lock
132
yarn.lock
@ -5,6 +5,65 @@ __metadata:
|
||||
version: 6
|
||||
cacheKey: 8
|
||||
|
||||
"@ag-grid-community/all-modules@npm:27.3.0":
|
||||
version: 27.3.0
|
||||
resolution: "@ag-grid-community/all-modules@npm:27.3.0"
|
||||
dependencies:
|
||||
"@ag-grid-community/client-side-row-model": ~27.3.0
|
||||
"@ag-grid-community/core": ~27.3.0
|
||||
"@ag-grid-community/csv-export": ~27.3.0
|
||||
"@ag-grid-community/infinite-row-model": ~27.3.0
|
||||
checksum: 7a68e7ae2b0c523f27b10055d9ab9c8e8acf36b7199531032751d3892f26f59b36b0295069608622067e7e82a2d5ec93ce11f6077e4370163fed0cc8f0e4d451
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ag-grid-community/client-side-row-model@npm:~27.3.0":
|
||||
version: 27.3.0
|
||||
resolution: "@ag-grid-community/client-side-row-model@npm:27.3.0"
|
||||
dependencies:
|
||||
"@ag-grid-community/core": ~27.3.0
|
||||
checksum: 11a3f29a721f3a39d130cc1bcd79e6280ff2c39ea680e8dc59edae30dbc14966337898da856c9b271903d79a0fd049807872a8d8ca4a42007239dedac804433e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ag-grid-community/core@npm:27.3.0, @ag-grid-community/core@npm:~27.3.0":
|
||||
version: 27.3.0
|
||||
resolution: "@ag-grid-community/core@npm:27.3.0"
|
||||
checksum: 915a3eb560c06baffa18ba98462ffb4562c2c898752e87c1f303de75fd77e2356cdceda11bf5b80687ea9fe4c856ea2a9907235dc19b637b109f52340ae2e1fc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ag-grid-community/csv-export@npm:~27.3.0":
|
||||
version: 27.3.0
|
||||
resolution: "@ag-grid-community/csv-export@npm:27.3.0"
|
||||
dependencies:
|
||||
"@ag-grid-community/core": ~27.3.0
|
||||
checksum: b5ae75065511a330ab25be89ec0629ce7c1c8c267d66013e8b1f70ff1192d3661e7e7797a5baae91076b466dfeaa4b93aa9a07affa095dae4eb5919334426c4f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ag-grid-community/infinite-row-model@npm:~27.3.0":
|
||||
version: 27.3.0
|
||||
resolution: "@ag-grid-community/infinite-row-model@npm:27.3.0"
|
||||
dependencies:
|
||||
"@ag-grid-community/core": ~27.3.0
|
||||
checksum: f94b118f3b6e19ae60b2bf58c3a27203425a26779597678d5f2932724978772e5cb08b2c1fee37dfeeb222a0198851f3b9c3494b14c2ddf60dc8f9f1a59a558c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ag-grid-community/react@npm:27.3.0":
|
||||
version: 27.3.0
|
||||
resolution: "@ag-grid-community/react@npm:27.3.0"
|
||||
dependencies:
|
||||
prop-types: ^15.8.1
|
||||
peerDependencies:
|
||||
"@ag-grid-community/core": ~27.3.0
|
||||
react: ^16.3.0 || ^17.0.0 || ^18.0.0
|
||||
react-dom: ^16.3.0 || ^17.0.0 || ^18.0.0
|
||||
checksum: a7215edead31eb7c1d2fea8e1f6a3e3b8173639a240435e08186db833dc1ef507824db212be16c64655adceb84a12172fa721c4eb5db8643151bca04d2267ac9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ampproject/remapping@npm:^2.1.0":
|
||||
version: 2.2.0
|
||||
resolution: "@ampproject/remapping@npm:2.2.0"
|
||||
@ -880,6 +939,26 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@googlemaps/js-api-loader@npm:^1.13.2":
|
||||
version: 1.14.3
|
||||
resolution: "@googlemaps/js-api-loader@npm:1.14.3"
|
||||
dependencies:
|
||||
fast-deep-equal: ^3.1.3
|
||||
checksum: 55ec4519c3bd99a489fc55715bfe5c12a617eff75101c16f237d2c8d56852f607bb74d50ca2204fe371d6b793741db57e4c487658f0d284a5d3bd2ecbcc2a15d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@googlemaps/react-wrapper@npm:1.1.34":
|
||||
version: 1.1.34
|
||||
resolution: "@googlemaps/react-wrapper@npm:1.1.34"
|
||||
dependencies:
|
||||
"@googlemaps/js-api-loader": ^1.13.2
|
||||
peerDependencies:
|
||||
react: ">=16.8.0"
|
||||
checksum: 4ae752c36842afdb1770325d76bffc263de9e54005a694acca0f08f8f8ec04bf6a7787c71631da1e7b00a1528a96388aa36fe8e196e05ed5d679e83420eababf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@humanwhocodes/config-array@npm:^0.9.2":
|
||||
version: 0.9.5
|
||||
resolution: "@humanwhocodes/config-array@npm:0.9.5"
|
||||
@ -2136,6 +2215,32 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/blocks-aggrid@4.0.0-alpha.12, @lowdefy/blocks-aggrid@workspace:packages/plugins/blocks/blocks-aggrid":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/blocks-aggrid@workspace:packages/plugins/blocks/blocks-aggrid"
|
||||
dependencies:
|
||||
"@ag-grid-community/all-modules": 27.3.0
|
||||
"@ag-grid-community/core": 27.3.0
|
||||
"@ag-grid-community/react": 27.3.0
|
||||
"@emotion/jest": 11.9.1
|
||||
"@lowdefy/block-dev": 4.0.0-alpha.12
|
||||
"@lowdefy/block-utils": 4.0.0-alpha.12
|
||||
"@lowdefy/jest-yaml-transform": 4.0.0-alpha.12
|
||||
"@swc/cli": 0.1.57
|
||||
"@swc/core": 1.2.194
|
||||
"@swc/jest": 0.2.21
|
||||
"@testing-library/dom": 8.13.0
|
||||
"@testing-library/react": 13.3.0
|
||||
"@testing-library/user-event": 14.2.0
|
||||
copyfiles: 2.4.1
|
||||
jest: 28.1.0
|
||||
jest-environment-jsdom: 28.1.0
|
||||
jest-serializer-html: 7.1.0
|
||||
react: 18.1.0
|
||||
react-dom: 18.1.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/blocks-antd@4.0.0-alpha.12, @lowdefy/blocks-antd@workspace:packages/plugins/blocks/blocks-antd":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/blocks-antd@workspace:packages/plugins/blocks/blocks-antd"
|
||||
@ -2244,6 +2349,31 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/blocks-google-maps@4.0.0-alpha.12, @lowdefy/blocks-google-maps@workspace:packages/plugins/blocks/blocks-google-maps":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/blocks-google-maps@workspace:packages/plugins/blocks/blocks-google-maps"
|
||||
dependencies:
|
||||
"@emotion/jest": 11.9.1
|
||||
"@googlemaps/react-wrapper": 1.1.34
|
||||
"@lowdefy/block-dev": 4.0.0-alpha.12
|
||||
"@lowdefy/block-utils": 4.0.0-alpha.12
|
||||
"@lowdefy/helpers": 4.0.0-alpha.12
|
||||
"@lowdefy/jest-yaml-transform": 4.0.0-alpha.12
|
||||
"@swc/cli": 0.1.57
|
||||
"@swc/core": 1.2.194
|
||||
"@swc/jest": 0.2.21
|
||||
"@testing-library/dom": 8.13.0
|
||||
"@testing-library/react": 13.3.0
|
||||
"@testing-library/user-event": 14.2.0
|
||||
copyfiles: 2.4.1
|
||||
jest: 28.1.0
|
||||
jest-environment-jsdom: 28.1.0
|
||||
jest-serializer-html: 7.1.0
|
||||
react: 18.1.0
|
||||
react-dom: 18.1.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/blocks-loaders@4.0.0-alpha.12, @lowdefy/blocks-loaders@workspace:packages/plugins/blocks/blocks-loaders":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/blocks-loaders@workspace:packages/plugins/blocks/blocks-loaders"
|
||||
@ -2793,10 +2923,12 @@ __metadata:
|
||||
dependencies:
|
||||
"@lowdefy/actions-core": 4.0.0-alpha.12
|
||||
"@lowdefy/api": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-aggrid": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-antd": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-basic": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-color-selectors": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-echarts": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-google-maps": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-loaders": 4.0.0-alpha.12
|
||||
"@lowdefy/blocks-markdown": 4.0.0-alpha.12
|
||||
"@lowdefy/build": 4.0.0-alpha.12
|
||||
|
Loading…
x
Reference in New Issue
Block a user