@doubao-apps/taro-runtime 0.0.35-rc.0 → 0.0.35

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.
@@ -49,7 +49,6 @@ function DoubaoAppsMap(props) {
49
49
  unsupportedValues: {
50
50
  animation,
51
51
  controls,
52
- showLocation,
53
52
  subkey,
54
53
  layerStyle,
55
54
  skew,
@@ -137,7 +136,7 @@ function DoubaoAppsMap(props) {
137
136
  // @ts-expect-error
138
137
  enableNativeInteraction={rest.enableNativeInteraction} mapStyle={passedThroughMapStyle ?? resolvedMapStyle}
139
138
  // @ts-ignore
140
- center={longitude !== undefined && latitude !== undefined ? resolvedCenter : undefined} scale={resolvedScale} minScale={resolvedMinScale} maxScale={resolvedMaxScale} rotate={resolvedRotate} showScale={resolvedShowScale} enableTilt={resolvedEnableTilt} enableScale={resolvedEnableScale} enableDrag={resolvedEnableDrag} enableRotate={resolvedEnableRotate} polyline={resolvePolylines(polyline)} circles={resolveNativeCircles(circles)} polygons={resolveNativePolygons(resolvedPolygons)} onClick={(detail) => {
139
+ center={longitude !== undefined && latitude !== undefined ? resolvedCenter : undefined} scale={resolvedScale} minScale={resolvedMinScale} maxScale={resolvedMaxScale} rotate={resolvedRotate} showScale={resolvedShowScale} showLocation={showLocation} enableTilt={resolvedEnableTilt} enableScale={resolvedEnableScale} enableDrag={resolvedEnableDrag} enableRotate={resolvedEnableRotate} polyline={resolvePolylines(polyline)} circles={resolveNativeCircles(circles)} polygons={resolveNativePolygons(resolvedPolygons)} onClick={(detail) => {
141
140
  const event = toCommonEvent({ point: detail.point }, 'tap', mapId);
142
141
  onTap?.(event);
143
142
  onBaseClick?.(event);
@@ -47,7 +47,7 @@ type CollectUnsupportedOptions = {
47
47
  circles: MapProps['circles'];
48
48
  resolvedPolygons: MapProps.polygon[];
49
49
  };
50
- declare const MAP_UNSUPPORTED_PROPS: readonly ["animation", "controls", "showLocation", "subkey", "layerStyle", "skew", "showCompass", "enableSatellite", "enableTraffic", "groundOverlays", "tileOverlay", "enablePoi", "enableBuilding", "panels", "theme", "optimize", "enableAutoMaxOverlooking", "enable3D", "onTouchStart", "onTouchMove", "onTouchCancel", "onTouchEnd", "onLongPress", "onLongClick", "onTransitionEnd", "onAnimationStart", "onAnimationIteration", "onAnimationEnd", "onControlTap", "onPoiTap", "onAbilitySuccess", "onAbilityFailed", "onAuthSuccess", "onInterpolatePoint", "onError", "onAnchorPointTap", "onPanelTap"];
50
+ declare const MAP_UNSUPPORTED_PROPS: readonly ["animation", "controls", "subkey", "layerStyle", "skew", "showCompass", "enableSatellite", "enableTraffic", "groundOverlays", "tileOverlay", "enablePoi", "enableBuilding", "panels", "theme", "optimize", "enableAutoMaxOverlooking", "enable3D", "onTouchStart", "onTouchMove", "onTouchCancel", "onTouchEnd", "onLongPress", "onLongClick", "onTransitionEnd", "onAnimationStart", "onAnimationIteration", "onAnimationEnd", "onControlTap", "onPoiTap", "onAbilitySuccess", "onAbilityFailed", "onAuthSuccess", "onInterpolatePoint", "onError", "onAnchorPointTap", "onPanelTap"];
51
51
  export type RuntimeMarker = MapProps.marker & {
52
52
  children?: unknown;
53
53
  };
@@ -13,7 +13,6 @@ const SUPPORTED_SETTING_KEYS = new Set([
13
13
  const MAP_UNSUPPORTED_PROPS = [
14
14
  'animation',
15
15
  'controls',
16
- 'showLocation',
17
16
  'subkey',
18
17
  'layerStyle',
19
18
  'skew',
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "access": "public",
38
38
  "registry": "https://registry.npmjs.org/"
39
39
  },
40
- "version": "0.0.35-rc.0",
40
+ "version": "0.0.35",
41
41
  "scripts": {
42
42
  "dev": "npm run build -- -w",
43
43
  "build": "rimraf dist bundle && tsc -p tsconfig.build.json",