@ray-js/adapter 1.7.68 → 1.7.70

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.
@@ -7,6 +7,7 @@ export interface MapProps extends BaseProps, DiffLayer {
7
7
  minScale?: number;
8
8
  maxScale?: number;
9
9
  disableAnimation?: boolean;
10
+ disableRotate?: boolean;
10
11
  /**
11
12
  * 地图类型
12
13
  * @description 0:夜景地图,1:白昼地图,2:卫星图
@@ -29,6 +30,7 @@ export interface MapProps extends BaseProps, DiffLayer {
29
30
  onCallouttap?: (e: GenericEvent) => void;
30
31
  onRegionchange?: (e: GenericEvent) => void;
31
32
  onInitdone?: (e: GenericEvent) => void;
33
+ onMaptap?: (e: GenericEvent) => void;
32
34
  }
33
35
  export type Marker = {
34
36
  content?: string;
@@ -9,6 +9,7 @@ export declare const alias: {
9
9
  minScale: string;
10
10
  maxScale: string;
11
11
  disableAnimation: string;
12
+ disableRotate: string;
12
13
  mapType: string;
13
14
  markers: string;
14
15
  polyline: string;
@@ -27,6 +28,7 @@ export declare const alias: {
27
28
  onCallouttap: string;
28
29
  onRegionchange: string;
29
30
  onInitdone: string;
31
+ onMaptap: string;
30
32
  disableScroll: string;
31
33
  hoverClass: string;
32
34
  hoverClassName: string;
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_js_1 = require("../universal.js");
5
- exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', disableRotate: 'disable-rotate', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone', onMaptap: 'bind:maptap' });
6
6
  exports.props = Object.values(exports.alias);
@@ -7,6 +7,7 @@ export interface MapProps extends BaseProps, DiffLayer {
7
7
  minScale?: number;
8
8
  maxScale?: number;
9
9
  disableAnimation?: boolean;
10
+ disableRotate?: boolean;
10
11
  /**
11
12
  * 地图类型
12
13
  * @description 0:夜景地图,1:白昼地图,2:卫星图
@@ -29,6 +30,7 @@ export interface MapProps extends BaseProps, DiffLayer {
29
30
  onCallouttap?: (e: GenericEvent) => void;
30
31
  onRegionchange?: (e: GenericEvent) => void;
31
32
  onInitdone?: (e: GenericEvent) => void;
33
+ onMaptap?: (e: GenericEvent) => void;
32
34
  }
33
35
  export type Marker = {
34
36
  content?: string;
@@ -9,6 +9,7 @@ export declare const alias: {
9
9
  minScale: string;
10
10
  maxScale: string;
11
11
  disableAnimation: string;
12
+ disableRotate: string;
12
13
  mapType: string;
13
14
  markers: string;
14
15
  polyline: string;
@@ -27,6 +28,7 @@ export declare const alias: {
27
28
  onCallouttap: string;
28
29
  onRegionchange: string;
29
30
  onInitdone: string;
31
+ onMaptap: string;
30
32
  disableScroll: string;
31
33
  hoverClass: string;
32
34
  hoverClassName: string;
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal.js';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', disableRotate: 'disable-rotate', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone', onMaptap: 'bind:maptap' });
3
3
  export const props = Object.values(alias);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.7.68",
3
+ "version": "1.7.70",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -36,7 +36,7 @@
36
36
  "@ray-core/types": "^0.4.9"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/types": "1.7.68",
39
+ "@ray-js/types": "1.7.70",
40
40
  "concurrently": "^6.5.1"
41
41
  },
42
42
  "publishConfig": {
@@ -44,5 +44,5 @@
44
44
  "registry": "https://registry.npmjs.org"
45
45
  },
46
46
  "esnext": "./esm/index.js",
47
- "gitHead": "b91b3823c5b4f115ca7832b01d202b3bd31688f8"
47
+ "gitHead": "93b0befc6a22e7c788b9af473c36f757813f310a"
48
48
  }