@lowdefy/blocks-google-maps 4.0.0-alpha.37 → 4.0.0-rc.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/dist/blocks/GoogleMaps/GoogleMaps.js +1 -1
- package/dist/blocks/GoogleMapsHeatmap/GoogleMapsHeatmap.js +16 -16
- package/dist/blocks/GoogleMapsScript/GoogleMapsScript.js +1 -1
- package/dist/blocks/Map.js +16 -16
- package/dist/blocks.js +1 -1
- package/dist/types.js +1 -1
- package/package.json +14 -15
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
function _extends() {
|
|
2
|
-
_extends = Object.assign || function(target) {
|
|
3
|
-
for(var i = 1; i < arguments.length; i++){
|
|
4
|
-
var source = arguments[i];
|
|
5
|
-
for(var key in source){
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7
|
-
target[key] = source[key];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return target;
|
|
12
|
-
};
|
|
13
|
-
return _extends.apply(this, arguments);
|
|
14
|
-
}
|
|
15
1
|
/* eslint-disable react/jsx-props-no-spreading */ /*
|
|
16
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2023 Lowdefy, Inc
|
|
17
3
|
|
|
18
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
19
5
|
you may not use this file except in compliance with the License.
|
|
@@ -26,7 +12,21 @@ function _extends() {
|
|
|
26
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27
13
|
See the License for the specific language governing permissions and
|
|
28
14
|
limitations under the License.
|
|
29
|
-
*/
|
|
15
|
+
*/ function _extends() {
|
|
16
|
+
_extends = Object.assign || function(target) {
|
|
17
|
+
for(var i = 1; i < arguments.length; i++){
|
|
18
|
+
var source = arguments[i];
|
|
19
|
+
for(var key in source){
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21
|
+
target[key] = source[key];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return target;
|
|
26
|
+
};
|
|
27
|
+
return _extends.apply(this, arguments);
|
|
28
|
+
}
|
|
29
|
+
import React from 'react';
|
|
30
30
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
31
31
|
import { HeatmapLayer } from '@react-google-maps/api';
|
|
32
32
|
import Map from '../Map.js';
|
package/dist/blocks/Map.js
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
function _extends() {
|
|
2
|
-
_extends = Object.assign || function(target) {
|
|
3
|
-
for(var i = 1; i < arguments.length; i++){
|
|
4
|
-
var source = arguments[i];
|
|
5
|
-
for(var key in source){
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7
|
-
target[key] = source[key];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return target;
|
|
12
|
-
};
|
|
13
|
-
return _extends.apply(this, arguments);
|
|
14
|
-
}
|
|
15
1
|
/* eslint-disable react/jsx-props-no-spreading */ /*
|
|
16
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2023 Lowdefy, Inc
|
|
17
3
|
|
|
18
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
19
5
|
you may not use this file except in compliance with the License.
|
|
@@ -26,7 +12,21 @@ function _extends() {
|
|
|
26
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27
13
|
See the License for the specific language governing permissions and
|
|
28
14
|
limitations under the License.
|
|
29
|
-
*/
|
|
15
|
+
*/ function _extends() {
|
|
16
|
+
_extends = Object.assign || function(target) {
|
|
17
|
+
for(var i = 1; i < arguments.length; i++){
|
|
18
|
+
var source = arguments[i];
|
|
19
|
+
for(var key in source){
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21
|
+
target[key] = source[key];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return target;
|
|
26
|
+
};
|
|
27
|
+
return _extends.apply(this, arguments);
|
|
28
|
+
}
|
|
29
|
+
import React, { useState, useEffect } from 'react';
|
|
30
30
|
import { GoogleMap, Marker, InfoWindow } from '@react-google-maps/api';
|
|
31
31
|
const STYLE_DEFAULTS = {
|
|
32
32
|
width: '100%',
|
package/dist/blocks.js
CHANGED
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/blocks-google-maps",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Google Maps Blocks for Lowdefy.",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -38,25 +38,24 @@
|
|
|
38
38
|
"clean": "rm -rf dist",
|
|
39
39
|
"copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\"",
|
|
40
40
|
"prepublishOnly": "pnpm build",
|
|
41
|
-
"test
|
|
42
|
-
"test": "jest --coverage"
|
|
41
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
43
42
|
},
|
|
44
43
|
"dependencies": {
|
|
45
|
-
"@lowdefy/block-utils": "4.0.0-
|
|
46
|
-
"@react-google-maps/api": "2.
|
|
44
|
+
"@lowdefy/block-utils": "4.0.0-rc.1",
|
|
45
|
+
"@react-google-maps/api": "2.17.1",
|
|
47
46
|
"react": "18.2.0",
|
|
48
47
|
"react-dom": "18.2.0"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
|
-
"@emotion/jest": "11.
|
|
52
|
-
"@lowdefy/block-dev": "4.0.0-
|
|
53
|
-
"@lowdefy/jest-yaml-transform": "4.0.0-
|
|
54
|
-
"@swc/cli": "0.1.
|
|
55
|
-
"@swc/core": "1.
|
|
56
|
-
"@swc/jest": "0.2.
|
|
57
|
-
"@testing-library/dom": "8.
|
|
58
|
-
"@testing-library/react": "13.
|
|
59
|
-
"@testing-library/user-event": "14.
|
|
50
|
+
"@emotion/jest": "11.10.5",
|
|
51
|
+
"@lowdefy/block-dev": "4.0.0-rc.1",
|
|
52
|
+
"@lowdefy/jest-yaml-transform": "4.0.0-rc.1",
|
|
53
|
+
"@swc/cli": "0.1.59",
|
|
54
|
+
"@swc/core": "1.3.24",
|
|
55
|
+
"@swc/jest": "0.2.24",
|
|
56
|
+
"@testing-library/dom": "8.19.1",
|
|
57
|
+
"@testing-library/react": "13.4.0",
|
|
58
|
+
"@testing-library/user-event": "14.4.3",
|
|
60
59
|
"copyfiles": "2.4.1",
|
|
61
60
|
"jest": "28.1.0",
|
|
62
61
|
"jest-environment-jsdom": "28.1.0",
|
|
@@ -65,5 +64,5 @@
|
|
|
65
64
|
"publishConfig": {
|
|
66
65
|
"access": "public"
|
|
67
66
|
},
|
|
68
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
|
|
69
68
|
}
|