@nativescript-community/ui-massifmaps 3.0.1 → 4.0.0

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.
Files changed (248) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +237 -0
  3. package/api/bridge.android.d.ts +2 -0
  4. package/api/bridge.android.js +162 -0
  5. package/api/bridge.android.js.map +1 -0
  6. package/api/bridge.d.ts +90 -0
  7. package/api/bridge.ios.d.ts +2 -0
  8. package/api/bridge.ios.js +153 -0
  9. package/api/bridge.ios.js.map +1 -0
  10. package/api/index.common.d.ts +495 -0
  11. package/api/index.common.js +1449 -0
  12. package/api/index.common.js.map +1 -0
  13. package/api/index.d.ts +2 -0
  14. package/api/index.js +3 -0
  15. package/api/index.js.map +1 -0
  16. package/api/massif-api.d.ts +12398 -0
  17. package/api/resolve.d.ts +52 -0
  18. package/api/resolve.js +214 -0
  19. package/api/resolve.js.map +1 -0
  20. package/api/schema.d.ts +67 -0
  21. package/api/schema.js +538 -0
  22. package/api/schema.js.map +1 -0
  23. package/bindings/components/Options.d.ts +14 -13
  24. package/bindings/components/Options.js.map +1 -1
  25. package/bindings/core/Variant.d.ts +2 -1
  26. package/bindings/core/Variant.js.map +1 -1
  27. package/bindings/enums.d.ts +138 -0
  28. package/bindings/enums.js +153 -0
  29. package/bindings/enums.js.map +1 -0
  30. package/bindings/graphics/Bitmap.d.ts +2 -1
  31. package/bindings/graphics/Bitmap.js.map +1 -1
  32. package/bindings/layers/ClusterElementBuilder.d.ts +2 -1
  33. package/bindings/layers/ClusterElementBuilder.js.map +1 -1
  34. package/bindings/layers/CompositeVectorTileLayer.d.ts +3 -7
  35. package/bindings/layers/CompositeVectorTileLayer.js +3 -6
  36. package/bindings/layers/CompositeVectorTileLayer.js.map +1 -1
  37. package/bindings/layers/HillshadeRasterTileLayer.d.ts +3 -2
  38. package/bindings/layers/HillshadeRasterTileLayer.js.map +1 -1
  39. package/bindings/layers/Layer.d.ts +2 -1
  40. package/bindings/layers/Layer.js.map +1 -1
  41. package/bindings/layers/RasterTileLayer.d.ts +3 -2
  42. package/bindings/layers/RasterTileLayer.js.map +1 -1
  43. package/bindings/layers/TileLayer.d.ts +5 -3
  44. package/bindings/layers/TileLayer.js +1 -1
  45. package/bindings/layers/TileLayer.js.map +1 -1
  46. package/bindings/layers/VectorEditEventListener.d.ts +2 -1
  47. package/bindings/layers/VectorEditEventListener.js.map +1 -1
  48. package/bindings/layers/VectorTileLayer.d.ts +5 -4
  49. package/bindings/layers/VectorTileLayer.js.map +1 -1
  50. package/bindings/packagemanager/PackageInfo.d.ts +2 -1
  51. package/bindings/packagemanager/PackageInfo.js.map +1 -1
  52. package/bindings/packagemanager/PackageManagerListener.d.ts +2 -1
  53. package/bindings/packagemanager/PackageManagerListener.js.map +1 -1
  54. package/bindings/packagemanager/PackageStatus.d.ts +2 -1
  55. package/bindings/packagemanager/PackageStatus.js.map +1 -1
  56. package/bindings/packagemanager/PackageTileMask.d.ts +2 -1
  57. package/bindings/packagemanager/PackageTileMask.js.map +1 -1
  58. package/bindings/routing/RouteMatchingPoint.d.ts +2 -1
  59. package/bindings/routing/RouteMatchingPoint.js.map +1 -1
  60. package/bindings/routing/RoutingInstruction.js.map +1 -1
  61. package/bindings/styles/AnimationStyle.d.ts +3 -2
  62. package/bindings/styles/AnimationStyle.js.map +1 -1
  63. package/bindings/styles/AnimationStyleBuilder.d.ts +7 -6
  64. package/bindings/styles/AnimationStyleBuilder.js.map +1 -1
  65. package/bindings/styles/LabelStyle.js.map +1 -1
  66. package/bindings/styles/LabelStyleBuilder.d.ts +5 -4
  67. package/bindings/styles/LabelStyleBuilder.js.map +1 -1
  68. package/bindings/styles/LineStyle.d.ts +2 -1
  69. package/bindings/styles/LineStyle.js.map +1 -1
  70. package/bindings/styles/LineStyleBuilder.d.ts +6 -5
  71. package/bindings/styles/LineStyleBuilder.js.map +1 -1
  72. package/bindings/styles/MarkerStyle.js.map +1 -1
  73. package/bindings/styles/MarkerStyleBuilder.d.ts +5 -4
  74. package/bindings/styles/MarkerStyleBuilder.js.map +1 -1
  75. package/bindings/styles/NMLModelStyle.js.map +1 -1
  76. package/bindings/styles/NMLModelStyleBuilder.d.ts +5 -4
  77. package/bindings/styles/NMLModelStyleBuilder.js.map +1 -1
  78. package/bindings/ui/BalloonPopupButtonClickInfo.js.map +1 -1
  79. package/bindings/ui/ClickInfo.js.map +1 -1
  80. package/bindings/ui/MapClickInfo.js.map +1 -1
  81. package/bindings/ui/PopupClickInfo.js.map +1 -1
  82. package/bindings/ui/RasterTileClickInfo.js.map +1 -1
  83. package/bindings/ui/UTFGridClickInfo.js.map +1 -1
  84. package/bindings/ui/VectorElementClickInfo.js.map +1 -1
  85. package/bindings/ui/VectorElementDragInfo.d.ts +2 -1
  86. package/bindings/ui/VectorElementDragInfo.js.map +1 -1
  87. package/bindings/ui/VectorTileClickInfo.d.ts +3 -1
  88. package/bindings/ui/VectorTileClickInfo.js +5 -2
  89. package/bindings/ui/VectorTileClickInfo.js.map +1 -1
  90. package/bindings/utils/BundleAssetPackage.d.ts +15 -0
  91. package/bindings/utils/BundleAssetPackage.js +8 -0
  92. package/bindings/utils/BundleAssetPackage.js.map +1 -0
  93. package/bindings/utils/index.d.ts +1 -0
  94. package/bindings/utils/index.js +1 -0
  95. package/bindings/utils/index.js.map +1 -1
  96. package/bindings/vectortiles/MBVectorTileDecoder.d.ts +4 -3
  97. package/bindings/vectortiles/MBVectorTileDecoder.js.map +1 -1
  98. package/celestial/CelestialArc.android.d.ts +0 -1
  99. package/celestial/CelestialArc.android.js +0 -3
  100. package/celestial/CelestialArc.android.js.map +1 -1
  101. package/celestial/CelestialArc.d.ts +1 -3
  102. package/celestial/CelestialArc.ios.d.ts +0 -1
  103. package/celestial/CelestialArc.ios.js +0 -1
  104. package/celestial/CelestialArc.ios.js.map +1 -1
  105. package/celestial/CelestialObject.android.d.ts +0 -1
  106. package/celestial/CelestialObject.android.js +0 -1
  107. package/celestial/CelestialObject.android.js.map +1 -1
  108. package/celestial/CelestialObject.d.ts +0 -2
  109. package/celestial/CelestialObject.ios.d.ts +0 -1
  110. package/celestial/CelestialObject.ios.js +0 -1
  111. package/celestial/CelestialObject.ios.js.map +1 -1
  112. package/celestial/CelestialObjectVector.android.d.ts +0 -1
  113. package/celestial/CelestialObjectVector.android.js +0 -4
  114. package/celestial/CelestialObjectVector.android.js.map +1 -1
  115. package/celestial/CelestialObjectVector.d.ts +0 -2
  116. package/celestial/CelestialObjectVector.ios.d.ts +0 -1
  117. package/celestial/CelestialObjectVector.ios.js +0 -1
  118. package/celestial/CelestialObjectVector.ios.js.map +1 -1
  119. package/celestial/CelestialSprite.android.d.ts +0 -1
  120. package/celestial/CelestialSprite.android.js +0 -3
  121. package/celestial/CelestialSprite.android.js.map +1 -1
  122. package/celestial/CelestialSprite.d.ts +1 -3
  123. package/celestial/CelestialSprite.ios.d.ts +0 -1
  124. package/celestial/CelestialSprite.ios.js +0 -1
  125. package/celestial/CelestialSprite.ios.js.map +1 -1
  126. package/components/index.android.d.ts +9 -27
  127. package/components/index.android.js +3 -21
  128. package/components/index.android.js.map +1 -1
  129. package/components/index.d.ts +4 -26
  130. package/components/index.ios.d.ts +3 -21
  131. package/components/index.ios.js +3 -21
  132. package/components/index.ios.js.map +1 -1
  133. package/core/index.android.js +1 -1
  134. package/core/index.android.js.map +1 -1
  135. package/core/index.ios.js +1 -2
  136. package/core/index.ios.js.map +1 -1
  137. package/datasources/mbtiles.android.d.ts +2 -2
  138. package/index.android.d.ts +1 -6
  139. package/index.android.js +4 -8
  140. package/index.android.js.map +1 -1
  141. package/index.common.d.ts +3 -6
  142. package/index.common.js +3 -6
  143. package/index.common.js.map +1 -1
  144. package/index.d.ts +6 -0
  145. package/index.ios.d.ts +1 -6
  146. package/index.ios.js +1 -6
  147. package/index.ios.js.map +1 -1
  148. package/layers/CelestialLayer.android.d.ts +0 -1
  149. package/layers/CelestialLayer.android.js +0 -3
  150. package/layers/CelestialLayer.android.js.map +1 -1
  151. package/layers/CelestialLayer.d.ts +1 -4
  152. package/layers/CelestialLayer.ios.d.ts +0 -1
  153. package/layers/CelestialLayer.ios.js +1 -4
  154. package/layers/CelestialLayer.ios.js.map +1 -1
  155. package/layers/composite.android.d.ts +3 -5
  156. package/layers/composite.android.js +0 -6
  157. package/layers/composite.android.js.map +1 -1
  158. package/layers/composite.d.ts +6 -25
  159. package/layers/composite.ios.d.ts +2 -6
  160. package/layers/composite.ios.js +2 -10
  161. package/layers/composite.ios.js.map +1 -1
  162. package/layers/index.android.d.ts +3 -3
  163. package/layers/index.d.ts +4 -22
  164. package/layers/raster.android.d.ts +8 -8
  165. package/layers/raster.android.js +1 -1
  166. package/layers/raster.android.js.map +1 -1
  167. package/layers/raster.d.ts +2 -11
  168. package/layers/vector.android.d.ts +10 -10
  169. package/layers/vector.android.js +2 -2
  170. package/layers/vector.android.js.map +1 -1
  171. package/layers/vector.d.ts +15 -71
  172. package/nativeclass.common.d.ts +6 -31
  173. package/nativeclass.common.js +4 -21
  174. package/nativeclass.common.js.map +1 -1
  175. package/nativescript.config.ts +7 -6
  176. package/package.json +2 -2
  177. package/platforms/android/include-settings.gradle +18 -4
  178. package/platforms/android/include.gradle +9 -1
  179. package/platforms/android/java/com/nativescript/massifmaps/additions/CelestialEventListener.java +1 -1
  180. package/platforms/android/java/com/nativescript/massifmaps/additions/ClusterElementBuilder.java +1 -1
  181. package/platforms/android/java/com/nativescript/massifmaps/additions/HillshadeRasterTileLayer.java +4 -4
  182. package/platforms/android/java/com/nativescript/massifmaps/additions/RasterTileEventListener.java +1 -1
  183. package/platforms/android/java/com/nativescript/massifmaps/additions/RendererCaptureListener.java +1 -1
  184. package/platforms/android/java/com/nativescript/massifmaps/additions/SynchronousHandler.java +28 -0
  185. package/platforms/android/java/com/nativescript/massifmaps/additions/TileDownloadListener.java +4 -4
  186. package/platforms/android/java/com/nativescript/massifmaps/additions/VectorElementEventListener.java +1 -1
  187. package/platforms/android/java/com/nativescript/massifmaps/additions/VectorTileEventListener.java +1 -1
  188. package/platforms/android/java/com/nativescript/massifmaps/additions2/FeatureCollectionSearchService.java +1 -2
  189. package/platforms/android/java/com/nativescript/massifmaps/additions2/VectorEditEventListener.java +21 -20
  190. package/platforms/android/java/com/nativescript/massifmaps/additions2/VectorTileSearchService.java +1 -2
  191. package/platforms/android/java/com/nativescript/massifmaps/api/EventListener.java +60 -0
  192. package/platforms/android/java/com/nativescript/massifmaps/geocoding/GeocodingServiceAdditions.java +5 -5
  193. package/platforms/android/java/com/nativescript/massifmaps/packagemanager/PackageManagerListener.java +11 -11
  194. package/platforms/android/java/com/nativescript/massifmaps/routing/RoutingServiceAdditions.java +19 -36
  195. package/platforms/android/native-api-usage.json +8 -0
  196. package/platforms/ios/build.xcconfig +4 -1
  197. package/platforms/ios/native-api-usage.json +1 -0
  198. package/platforms/ios/src/MassifMapsAdditions.h +1 -0
  199. package/platforms/ios/src/NSMSFApiEventListener.h +23 -0
  200. package/platforms/ios/src/NSMSFApiEventListener.mm +33 -0
  201. package/platforms/ios/src/NSMSFFeatureCollectionSearchService.swift +1 -1
  202. package/platforms/ios/src/NSMSFGeocodingServiceAdditions.swift +1 -1
  203. package/platforms/ios/src/NSMSFHillshadeRasterTileLayer.swift +1 -1
  204. package/platforms/ios/src/NSMSFMainThread.swift +21 -0
  205. package/platforms/ios/src/NSMSFRoutingServiceAdditions.swift +1 -1
  206. package/platforms/ios/src/NSMSFVectorTileSearchService.swift +1 -1
  207. package/projections/index.ios.js.map +1 -1
  208. package/renderers/index.d.ts +3 -10
  209. package/routing/index.android.d.ts +17 -17
  210. package/tsconfig.tsbuildinfo +1 -1
  211. package/typings/massifmaps.android.d.ts +1913 -410
  212. package/typings/massifmaps.ios.d.ts +21 -4
  213. package/typings/ns.massifmaps.android.d.ts +44 -175
  214. package/typings/ns.massifmaps.ios.d.ts +10 -63
  215. package/ui/index.android.d.ts +10 -14
  216. package/ui/index.android.js +6 -66
  217. package/ui/index.android.js.map +1 -1
  218. package/ui/index.common.d.ts +31 -0
  219. package/ui/index.common.js +130 -2
  220. package/ui/index.common.js.map +1 -1
  221. package/ui/index.d.ts +60 -21
  222. package/ui/index.ios.d.ts +4 -6
  223. package/ui/index.ios.js +5 -92
  224. package/ui/index.ios.js.map +1 -1
  225. package/utils/index.android.d.ts +9 -22
  226. package/utils/index.android.js +20 -129
  227. package/utils/index.android.js.map +1 -1
  228. package/utils/index.d.ts +9 -7
  229. package/utils/index.ios.d.ts +10 -18
  230. package/utils/index.ios.js +20 -109
  231. package/utils/index.ios.js.map +1 -1
  232. package/vectorelements/index.android.d.ts +6 -6
  233. package/vectorelements/line.android.d.ts +8 -11
  234. package/vectorelements/line.android.js +1 -4
  235. package/vectorelements/line.android.js.map +1 -1
  236. package/vectorelements/line.ios.d.ts +1 -4
  237. package/vectorelements/line.ios.js +1 -4
  238. package/vectorelements/line.ios.js.map +1 -1
  239. package/vectortiles/index.android.d.ts +0 -2
  240. package/vectortiles/index.android.js +0 -9
  241. package/vectortiles/index.android.js.map +1 -1
  242. package/platforms/android/java/com/nativescript/massifmaps/additions/AssetPackage.java +0 -59
  243. package/platforms/android/java/com/nativescript/massifmaps/additions/DirAssetPackage.java +0 -53
  244. package/platforms/android/java/com/nativescript/massifmaps/additions/MapEventListener.java +0 -17
  245. package/platforms/android/java/com/nativescript/massifmaps/additions/MapView.java +0 -167
  246. package/platforms/android/java/com/nativescript/massifmaps/additions/TextureMapView.java +0 -166
  247. package/platforms/ios/src/NSMSFMapEventListener.swift +0 -43
  248. package/platforms/ios/src/NSMSFMapView.swift +0 -106
@@ -0,0 +1,52 @@
1
+ /**
2
+ * An unresolvable path is not an error: an intermediate object is often more derived than declared
3
+ * (a layer's `tileDecoder` is really an MBVectorTileDecoder), so callers fall back to a string read.
4
+ */
5
+ /**
6
+ * b bool, i int, f float, c color, s string, v variant, t struct, p position, e enum, o object,
7
+ * g bag - a property whose keys are the app's, where the rest of the path is one key.
8
+ */
9
+ export type PropCode = 'b' | 'i' | 'f' | 'c' | 's' | 'v' | 't' | 'p' | 'e' | 'o' | 'g';
10
+ export interface PropInfo {
11
+ code: PropCode;
12
+ /** The enum's name for `e`, the declared class for `o`, one entry's code for `g`. */
13
+ arg?: string;
14
+ }
15
+ /** v void, b bool, i int, f float, s string, j json, d doubles, o object. */
16
+ export type ResultCode = 'v' | 'b' | 'i' | 'f' | 's' | 'j' | 'd' | 'o';
17
+ export interface MethodInfo {
18
+ code: ResultCode;
19
+ /** The result's class, for `o`. */
20
+ arg?: string;
21
+ }
22
+ /** Nearest first. Used to hang getters off an event payload (`e.reason` rather than `e.get('reason')`). */
23
+ export declare function propertyNames(cls: string): string[];
24
+ /** An alias is a second spelling of one segment (`fog` for `fogOptions`). */
25
+ export declare function findProperty(cls: string, name: string): PropInfo | null;
26
+ /**
27
+ * A path walking into a struct or variant (`feature.properties.name`) resolves to `v`: the C++
28
+ * reads the leaf out of the JSON with a type this table cannot know.
29
+ */
30
+ export declare function resolvePath(cls: string, path: string): PropInfo | null;
31
+ export declare function findMethod(cls: string, name: string): MethodInfo | null;
32
+ /** A method addressed through a path: everything before the last dot traverses objects. */
33
+ export declare function resolveMethod(cls: string, path: string): MethodInfo | null;
34
+ export interface EventInfo {
35
+ /** The payload's class, or '' when the event carries none. */
36
+ payload: string;
37
+ /** Whether the SDK asks the listener if the event was consumed. */
38
+ consume: boolean;
39
+ }
40
+ export declare function findEvent(cls: string, event: string): EventInfo | null;
41
+ export declare function eventNames(cls: string): string[];
42
+ export declare function enumValue(name: string): number | undefined;
43
+ /** The constant name for a value, so a read comes back as the string the typings promise. */
44
+ export declare function enumName(enumType: string | undefined, value: number): string | number;
45
+ export declare function classOfSpec(kind: string, type: string): string | null;
46
+ /** Which kind builds a class, for a spec written into an object property. */
47
+ export declare function specKindOf(cppClass: string): string | null;
48
+ /** `VectorTileLayer` (the Java/ObjC leaf) to `massif::VectorTileLayer`. */
49
+ export declare function classOfShortName(short: string | null): string | null;
50
+ export declare function isKnownClass(cls: string): boolean;
51
+ /** `instanceof` over class names: the facade addresses classes by name, not JS prototypes. */
52
+ export declare function isSubclassOf(cls: string, base: string): boolean;
package/api/resolve.js ADDED
@@ -0,0 +1,214 @@
1
+ /**
2
+ * @internal
3
+ * @module
4
+ */
5
+ import { ALIASES, BASES, CLASS_NAMES, ENUMS, EVENTS, KIND_OF_CLASS, METHODS, PROPS, SPEC_CLASS } from './schema';
6
+ const propCache = {};
7
+ const aliasCache = {};
8
+ const methodCache = {};
9
+ function parseProps(cls) {
10
+ let table = propCache[cls];
11
+ if (!table) {
12
+ table = propCache[cls] = {};
13
+ const encoded = PROPS[cls];
14
+ if (encoded) {
15
+ for (const entry of encoded.split(';')) {
16
+ const [name, code, arg] = entry.split(',');
17
+ table[name] = arg ? { code: code, arg } : { code: code };
18
+ }
19
+ }
20
+ }
21
+ return table;
22
+ }
23
+ function parseAliases(cls) {
24
+ let table = aliasCache[cls];
25
+ if (!table) {
26
+ table = aliasCache[cls] = {};
27
+ const encoded = ALIASES[cls];
28
+ if (encoded) {
29
+ for (const entry of encoded.split(';')) {
30
+ const [alias, path] = entry.split('=');
31
+ table[alias] = path;
32
+ }
33
+ }
34
+ }
35
+ return table;
36
+ }
37
+ function parseMethods(cls) {
38
+ let table = methodCache[cls];
39
+ if (!table) {
40
+ table = methodCache[cls] = {};
41
+ const encoded = METHODS[cls];
42
+ if (encoded) {
43
+ for (const entry of encoded.split(';')) {
44
+ const [name, code, arg] = entry.split(',');
45
+ table[name] = arg ? { code: code, arg } : { code: code };
46
+ }
47
+ }
48
+ }
49
+ return table;
50
+ }
51
+ /** Nearest first. Used to hang getters off an event payload (`e.reason` rather than `e.get('reason')`). */
52
+ export function propertyNames(cls) {
53
+ const names = [];
54
+ let walk = cls;
55
+ while (walk) {
56
+ for (const name of Object.keys(parseProps(walk))) {
57
+ if (names.indexOf(name) < 0) {
58
+ names.push(name);
59
+ }
60
+ }
61
+ walk = BASES[walk];
62
+ }
63
+ return names;
64
+ }
65
+ /** An alias is a second spelling of one segment (`fog` for `fogOptions`). */
66
+ export function findProperty(cls, name) {
67
+ let walk = cls;
68
+ while (walk) {
69
+ const found = parseProps(walk)[name] ?? parseProps(walk)[parseAliases(walk)[name]];
70
+ if (found) {
71
+ return found;
72
+ }
73
+ walk = BASES[walk];
74
+ }
75
+ return null;
76
+ }
77
+ /**
78
+ * A path walking into a struct or variant (`feature.properties.name`) resolves to `v`: the C++
79
+ * reads the leaf out of the JSON with a type this table cannot know.
80
+ */
81
+ export function resolvePath(cls, path) {
82
+ if (!path) {
83
+ return null;
84
+ }
85
+ const segments = path.split('.');
86
+ let current = cls;
87
+ for (let i = 0; i < segments.length; i++) {
88
+ const prop = findProperty(current, segments[i]);
89
+ if (!prop) {
90
+ return null;
91
+ }
92
+ if (i === segments.length - 1) {
93
+ // A bag written whole takes an object of entries, which crosses as JSON.
94
+ return prop.code === 'g' ? { code: 'v' } : prop;
95
+ }
96
+ if (prop.code === 'o') {
97
+ current = prop.arg;
98
+ continue;
99
+ }
100
+ // A bag: everything left is ONE key, whatever it contains - valhalla's parameters nest.
101
+ if (prop.code === 'g') {
102
+ return { code: prop.arg ?? 's' };
103
+ }
104
+ // A struct or a variant: the rest of the path is read out of its JSON.
105
+ return prop.code === 't' || prop.code === 'p' || prop.code === 'v' ? { code: 'v' } : null;
106
+ }
107
+ return null;
108
+ }
109
+ export function findMethod(cls, name) {
110
+ let walk = cls;
111
+ while (walk) {
112
+ const found = parseMethods(walk)[name];
113
+ if (found) {
114
+ return found;
115
+ }
116
+ walk = BASES[walk];
117
+ }
118
+ return null;
119
+ }
120
+ /** A method addressed through a path: everything before the last dot traverses objects. */
121
+ export function resolveMethod(cls, path) {
122
+ const cut = path.lastIndexOf('.');
123
+ if (cut < 0) {
124
+ return findMethod(cls, path);
125
+ }
126
+ const owner = resolvePath(cls, path.substring(0, cut));
127
+ return owner && owner.code === 'o' ? findMethod(owner.arg, path.substring(cut + 1)) : null;
128
+ }
129
+ export function findEvent(cls, event) {
130
+ let walk = cls;
131
+ while (walk) {
132
+ const table = EVENTS[walk];
133
+ if (table && event in table) {
134
+ return table[event];
135
+ }
136
+ walk = BASES[walk];
137
+ }
138
+ return null;
139
+ }
140
+ export function eventNames(cls) {
141
+ const names = [];
142
+ let walk = cls;
143
+ while (walk) {
144
+ for (const name of Object.keys(EVENTS[walk] ?? {})) {
145
+ if (names.indexOf(name) < 0) {
146
+ names.push(name);
147
+ }
148
+ }
149
+ walk = BASES[walk];
150
+ }
151
+ return names;
152
+ }
153
+ let enumTables;
154
+ function tables() {
155
+ if (!enumTables) {
156
+ const built = { byName: {}, byValue: {} };
157
+ for (const enumType of Object.keys(ENUMS)) {
158
+ const reverse = (built.byValue[enumType] = {});
159
+ for (const member of ENUMS[enumType].split(',')) {
160
+ const cut = member.lastIndexOf('=');
161
+ const name = member.substring(0, cut);
162
+ const value = member.substring(cut + 1);
163
+ built.byName[name] = Number(value);
164
+ reverse[value] = name;
165
+ }
166
+ }
167
+ enumTables = built;
168
+ }
169
+ return enumTables;
170
+ }
171
+ export function enumValue(name) {
172
+ return tables().byName[name];
173
+ }
174
+ /** The constant name for a value, so a read comes back as the string the typings promise. */
175
+ export function enumName(enumType, value) {
176
+ const table = enumType ? tables().byValue[enumType] : undefined;
177
+ return table && table[value] !== undefined ? table[value] : value;
178
+ }
179
+ export function classOfSpec(kind, type) {
180
+ return SPEC_CLASS[kind]?.[type] ?? null;
181
+ }
182
+ /** Which kind builds a class, for a spec written into an object property. */
183
+ export function specKindOf(cppClass) {
184
+ return KIND_OF_CLASS[cppClass] ?? null;
185
+ }
186
+ let known;
187
+ function knownClasses() {
188
+ if (!known) {
189
+ known = {};
190
+ for (const name of CLASS_NAMES.split(',')) {
191
+ known[name] = true;
192
+ }
193
+ }
194
+ return known;
195
+ }
196
+ /** `VectorTileLayer` (the Java/ObjC leaf) to `massif::VectorTileLayer`. */
197
+ export function classOfShortName(short) {
198
+ return short && knownClasses()[short] ? `massif::${short}` : null;
199
+ }
200
+ export function isKnownClass(cls) {
201
+ return !!knownClasses()[cls.replace('massif::', '')];
202
+ }
203
+ /** `instanceof` over class names: the facade addresses classes by name, not JS prototypes. */
204
+ export function isSubclassOf(cls, base) {
205
+ let walk = cls;
206
+ while (walk) {
207
+ if (walk === base) {
208
+ return true;
209
+ }
210
+ walk = BASES[walk];
211
+ }
212
+ return false;
213
+ }
214
+ //# sourceMappingURL=resolve.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../../src/ui-massifmaps/api/resolve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA4BjH,MAAM,SAAS,GAAoD,EAAE,CAAC;AACtE,MAAM,UAAU,GAAmD,EAAE,CAAC;AACtE,MAAM,WAAW,GAAsD,EAAE,CAAC;AAE1E,SAAS,UAAU,CAAC,GAAW;IAC3B,IAAI,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;QAC5B,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QAC3B,IAAI,OAAO,EAAE,CAAC;YACV,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;gBACrC,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBAC3C,KAAK,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAgB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAgB,EAAE,CAAC;YAC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EAAE,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,8FAA8F;AAC9F,MAAM,UAAU,YAAY,CAAC,GAAW,EAAE,IAAY;IAClD,IAAI,IAAI,GAAuB,GAAG,CAAC;IACnC,OAAO,IAAI,EAAE,CAAC;QACV,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * @internal
3
+ * @module
4
+ */
5
+ /**
6
+ * The runtime half of the surface API's typings.
7
+ *
8
+ * Only what marshalling needs: each class' OWN properties plus its base, so a dotted path is
9
+ * resolved the way the C++ resolves it - walk the segment, follow the object it names, walk the
10
+ * next. Flattening the closure per class instead would triple this table for nothing.
11
+ *
12
+ * A property is encoded as `name,code` with the code from the table below, plus one argument
13
+ * for the two that need it:
14
+ *
15
+ * b bool i int f float c color (ARGB int) s string v variant (JSON)
16
+ * t struct (JSON) p position struct (JSON, convertible between projections)
17
+ * e enum, followed by the enum's name o object, followed by the declared class
18
+ * g bag, followed by the code ONE entry carries - the rest of the path is its key
19
+ */
20
+ /** Per class, its own properties (not its bases'), encoded as described above. */
21
+ export declare const PROPS: {
22
+ [cls: string]: string;
23
+ };
24
+ /** Per class, its aliases as `alias=path`. */
25
+ export declare const ALIASES: {
26
+ [cls: string]: string;
27
+ };
28
+ /** Each class' base, so a lookup walks the chain the C++ property table walks. */
29
+ export declare const BASES: {
30
+ [cls: string]: string;
31
+ };
32
+ /** Per enum, its constants as `NAME=value` - see enumValue and enumName. */
33
+ export declare const ENUMS: {
34
+ [enumName: string]: string;
35
+ };
36
+ /** The class `create` registers, per kind and spec type. */
37
+ export declare const SPEC_CLASS: {
38
+ [kind: string]: {
39
+ [type: string]: string;
40
+ };
41
+ };
42
+ /** The kind that builds each class, base chain included. */
43
+ export declare const KIND_OF_CLASS: {
44
+ [cls: string]: string;
45
+ };
46
+ /**
47
+ * Per class, its own methods: `name,resultCode` and, for an object result, its class.
48
+ *
49
+ * v void b bool i int f float s string j json d doubles o object
50
+ */
51
+ export declare const METHODS: {
52
+ [cls: string]: string;
53
+ };
54
+ /**
55
+ * Per class, its own events: the payload's class ('' when it carries none), and
56
+ * whether the SDK asks the listener if the event was consumed.
57
+ */
58
+ export declare const EVENTS: {
59
+ [cls: string]: {
60
+ [event: string]: {
61
+ payload: string;
62
+ consume: boolean;
63
+ };
64
+ };
65
+ };
66
+ /** Every class the tables know, by its Java/ObjC leaf name. */
67
+ export declare const CLASS_NAMES = "Address,AnimationStyle,AnimationStyleBuilder,AssetPackage,AssetTileDataSource,BalloonPopup,BalloonPopupButton,BalloonPopupButtonClickInfo,BalloonPopupButtonStyle,BalloonPopupButtonStyleBuilder,BalloonPopupEventListener,BalloonPopupMargins,BalloonPopupStyle,BalloonPopupStyleBuilder,BaseMapView,Billboard,BillboardStyle,BillboardStyleBuilder,BinaryData,Bitmap,BitmapOverlayRasterTileDataSource,BundleAssetPackage,CacheTileDataSource,CartoCSSStyleSet,CelestialArc,CelestialClickInfo,CelestialEventListener,CelestialImage,CelestialLabel,CelestialLayer,CelestialObject,CelestialSprite,ClickInfo,ClusterElementBuilder,ClusterFetchTask,ClusteredVectorLayer,Color,CombinedTileDataSource,CompiledStyleSet,CompositeVectorTileLayer,ContourTileDataSource,CullState,CustomPopup,CustomPopupHandler,CustomRasterTileLayer,DataSourceListener,DirAssetPackage,DouglasPeuckerGeometrySimplifier,DownloadTask,EPSG3857,EPSG4326,EditableVectorLayer,ElevationDecoder,EventListener,Feature,FeatureBuilder,FeatureCollection,FeatureCollectionSearchService,FetchTask,FetchTaskBase,FetchingTasks,FetchingTileTasks,FogOptions,GeoJSONGeometryReader,GeoJSONGeometryWriter,GeoJSONVectorTileDataSource,GeocodingAddress,GeocodingRequest,GeocodingResult,GeocodingService,Geometry,GeometryCollection,GeometryCollectionStyle,GeometryCollectionStyleBuilder,GeometrySimplifier,HTTPTileDataSource,HillshadeRasterTileLayer,Label,LabelStyle,LabelStyleBuilder,Layer,Layers,LightOptions,LightStop,Line,LineGeometry,LineStyle,LineStyleBuilder,LocalVectorDataSource,Log,LogEventListener,MBTilesTileDataSource,MBVectorTileDecoder,ManeuverArrowBuilder,MapBounds,MapBoxElevationDataDecoder,MapBoxOnlineGeocodingService,MapBoxOnlineReverseGeocodingService,MapClickInfo,MapEnvelope,MapEventListener,MapInteractionInfo,MapMoveInfo,MapPos,MapRange,MapRenderer,MapRendererListener,MapTile,MapTilerOnlineTileDataSource,MapVec,Marker,MarkerStyle,MarkerStyleBuilder,MassifApi,MassifInterop,MemoryCacheTileDataSource,MergedMBVTTileDataSource,MultiGeometry,MultiLineGeometry,MultiOSMOfflineGeocodingService,MultiOSMOfflineReverseGeocodingService,MultiPointGeometry,MultiPolygonGeometry,MultiTileDataSource,MultiValhallaOfflineRoutingService,NMLModel,NMLModelStyle,NMLModelStyleBuilder,OSMOfflineGeocodingService,OSMOfflineReverseGeocodingService,OSRMOfflineRoutingService,OnChangeListener,Options,OptionsListener,OrderedTileDataSource,PMTilesTileDataSource,PackageInfo,PackageManager,PackageManagerGeocodingService,PackageManagerListener,PackageManagerReverseGeocodingService,PackageManagerRoutingService,PackageManagerTileDataSource,PackageManagerValhallaRoutingService,PackageMetaInfo,PackageStatus,PackageTileMask,PeliasOnlineGeocodingService,PeliasOnlineReverseGeocodingService,PersistentCacheTileDataSource,PersistentTaskQueue,Point,PointDetailTileDataSource,PointGeometry,PointStyle,PointStyleBuilder,Polygon,Polygon3D,Polygon3DStyle,Polygon3DStyleBuilder,PolygonGeometry,PolygonStyle,PolygonStyleBuilder,Popup,PopupClickInfo,PopupDrawInfo,PopupStyle,PopupStyleBuilder,PostProcessEffect,Projection,RasterTileClickInfo,RasterTileEventListener,RasterTileLayer,RedrawRequestListener,RendererCaptureListener,ReverseGeocodingRequest,ReverseGeocodingService,RouteMatchingEdge,RouteMatchingPoint,RouteMatchingRequest,RouteMatchingResult,RoutingInstruction,RoutingRequest,RoutingResult,RoutingService,SGREOfflineRoutingService,ScreenBounds,ScreenPos,SearchRequest,SkyOptions,SolidLayer,Style,StyleBuilder,TerrainOptions,TerrariumElevationDataDecoder,Text,TextMargins,TextStyle,TextStyleBuilder,TileData,TileDataSource,TileDecoderListener,TileDownloadInfo,TileDownloadListener,TileInfo,TileLayer,TileLoadListener,TileUtils,TomTomOnlineGeocodingService,TomTomOnlineReverseGeocodingService,TorqueTileDecoder,TorqueTileLayer,TouchHandlerListener,UTFGridClickInfo,UTFGridEventListener,UiDispatcher,ValhallaOfflineRoutingService,ValhallaOnlineRoutingService,Variant,VariantArrayBuilder,VariantObjectBuilder,VectorData,VectorDataSource,VectorEditEventListener,VectorElement,VectorElementClickInfo,VectorElementDragInfo,VectorElementEventListener,VectorElementSearchService,VectorLayer,VectorTileClickInfo,VectorTileDecoder,VectorTileEventListener,VectorTileFeature,VectorTileFeatureBuilder,VectorTileFeatureCollection,VectorTileLayer,VectorTileSearchService,ViewState,WKBGeometryReader,WKBGeometryWriter,WKTGeometryReader,WKTGeometryWriter,ZippedAssetPackage";