@phila/phila-ui-map-core 1.1.0-beta.13 → 1.1.0-beta.15
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/{CyclomediaButton-DfzBEAvd.cjs → CyclomediaButton-BqVUnYPn.cjs} +1 -1
- package/dist/CyclomediaButton-D1Mo3nZ3.js +4 -0
- package/dist/{CyclomediaCameraIcon-DE6-fuiX.cjs → CyclomediaCameraIcon-CoguOuX7.cjs} +1 -1
- package/dist/{CyclomediaCameraIcon-0UloRUd6.js → CyclomediaCameraIcon-DLuLQftS.js} +1 -1
- package/dist/{CyclomediaRecordingsLayer-ZT6rVet1.cjs → CyclomediaRecordingsLayer-CPMgzPJc.cjs} +1 -1
- package/dist/CyclomediaRecordingsLayer-aVE2l_8F.js +4 -0
- package/dist/{CyclomediaViewcone-C_7gGAY7.cjs → CyclomediaViewcone-1C7JZBQO.cjs} +1 -1
- package/dist/{CyclomediaViewcone-CQ6f74iJ.js → CyclomediaViewcone-CNLj31fA.js} +1 -1
- package/dist/PictometryButton-B_o407ME.js +4 -0
- package/dist/{PictometryButton-htTcpha4.cjs → PictometryButton-D8PnmRyf.cjs} +1 -1
- package/dist/{PictometryPanel-D34QJJC_.js → PictometryPanel-DFBlgBP5.js} +33761 -33754
- package/dist/{PictometryPanel-CjeUN5FT.cjs → PictometryPanel-SjMeboxd.cjs} +235 -235
- package/dist/assets/phila-ui-map-core.css +1 -1
- package/dist/components.d.ts +16 -60
- package/dist/components.js +1 -1
- package/dist/components.mjs +1 -1
- package/dist/index.d.ts +16 -60
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
- package/dist/CyclomediaButton-yEAZmZx2.js +0 -4
- package/dist/CyclomediaRecordingsLayer-CHB_-hnR.js +0 -4
- package/dist/PictometryButton-Cj_BSMV7.js +0 -4
package/dist/components.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { CircleLayerSpecification } from 'maplibre-gl';
|
|
|
3
3
|
import { ColorSpecification } from 'maplibre-gl';
|
|
4
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
5
|
import { ComponentProvideOptions } from 'vue';
|
|
6
|
+
import { ComponentSize } from '@phila/phila-ui-core';
|
|
6
7
|
import { ComputedRef } from 'vue';
|
|
7
8
|
import { DataDrivenPropertyValueSpecification } from 'maplibre-gl';
|
|
8
9
|
import { default as default_2 } from 'maplibre-gl';
|
|
@@ -224,7 +225,8 @@ image: string;
|
|
|
224
225
|
imagePadding: number;
|
|
225
226
|
position: string;
|
|
226
227
|
title: string;
|
|
227
|
-
iconSize:
|
|
228
|
+
iconSize: undefined;
|
|
229
|
+
size: undefined;
|
|
228
230
|
toggleable: boolean;
|
|
229
231
|
active: boolean;
|
|
230
232
|
activeColor: string;
|
|
@@ -237,7 +239,8 @@ image: string;
|
|
|
237
239
|
imagePadding: number;
|
|
238
240
|
position: string;
|
|
239
241
|
title: string;
|
|
240
|
-
iconSize:
|
|
242
|
+
iconSize: undefined;
|
|
243
|
+
size: undefined;
|
|
241
244
|
toggleable: boolean;
|
|
242
245
|
active: boolean;
|
|
243
246
|
activeColor: string;
|
|
@@ -251,6 +254,7 @@ imagePadding: number;
|
|
|
251
254
|
position: MapControlPosition_2;
|
|
252
255
|
title: string;
|
|
253
256
|
iconSize: number;
|
|
257
|
+
size: ComponentSize;
|
|
254
258
|
toggleable: boolean;
|
|
255
259
|
active: boolean;
|
|
256
260
|
activeColor: string;
|
|
@@ -1054,7 +1058,6 @@ position: string;
|
|
|
1054
1058
|
imageryUrl: string;
|
|
1055
1059
|
imageryLabelsUrl: string;
|
|
1056
1060
|
title: string;
|
|
1057
|
-
iconSize: number;
|
|
1058
1061
|
showDropdown: boolean;
|
|
1059
1062
|
dropdownOptions: () => ImageryYearOption[];
|
|
1060
1063
|
teleportTo: undefined;
|
|
@@ -1065,7 +1068,6 @@ position: string;
|
|
|
1065
1068
|
imageryUrl: string;
|
|
1066
1069
|
imageryLabelsUrl: string;
|
|
1067
1070
|
title: string;
|
|
1068
|
-
iconSize: number;
|
|
1069
1071
|
showDropdown: boolean;
|
|
1070
1072
|
dropdownOptions: () => ImageryYearOption[];
|
|
1071
1073
|
teleportTo: undefined;
|
|
@@ -1074,7 +1076,6 @@ onChange?: ((value: BasemapChangeEvent) => any) | undefined;
|
|
|
1074
1076
|
}>, {
|
|
1075
1077
|
position: MapControlPosition_2;
|
|
1076
1078
|
title: string;
|
|
1077
|
-
iconSize: number;
|
|
1078
1079
|
teleportTo: HTMLElement | null;
|
|
1079
1080
|
imageryUrl: string;
|
|
1080
1081
|
imageryLabelsUrl: string;
|
|
@@ -1089,7 +1090,7 @@ declare interface BasemapToggleProps extends BaseProps {
|
|
|
1089
1090
|
iconImage?: string | null;
|
|
1090
1091
|
basemapImage?: string | null;
|
|
1091
1092
|
title?: string;
|
|
1092
|
-
|
|
1093
|
+
size?: ComponentSize;
|
|
1093
1094
|
showDropdown?: boolean;
|
|
1094
1095
|
dropdownOptions?: BasemapOption[];
|
|
1095
1096
|
teleportTo?: HTMLElement | null;
|
|
@@ -1212,7 +1213,6 @@ declare function closeDropdown(): void;
|
|
|
1212
1213
|
|
|
1213
1214
|
export declare const CyclomediaButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<CyclomediaButtonProps>, {
|
|
1214
1215
|
position: string;
|
|
1215
|
-
iconSize: number;
|
|
1216
1216
|
title: string;
|
|
1217
1217
|
active: boolean;
|
|
1218
1218
|
disabled: boolean;
|
|
@@ -1228,7 +1228,6 @@ lng: number;
|
|
|
1228
1228
|
error: (error: Error) => void;
|
|
1229
1229
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<CyclomediaButtonProps>, {
|
|
1230
1230
|
position: string;
|
|
1231
|
-
iconSize: number;
|
|
1232
1231
|
title: string;
|
|
1233
1232
|
active: boolean;
|
|
1234
1233
|
disabled: boolean;
|
|
@@ -1245,7 +1244,6 @@ lng: number;
|
|
|
1245
1244
|
}>, {
|
|
1246
1245
|
position: MapControlPosition;
|
|
1247
1246
|
title: string;
|
|
1248
|
-
iconSize: number;
|
|
1249
1247
|
active: boolean;
|
|
1250
1248
|
teleportTo: HTMLElement | null;
|
|
1251
1249
|
disabled: boolean;
|
|
@@ -1283,12 +1281,12 @@ export declare interface CyclomediaButtonProps {
|
|
|
1283
1281
|
icon?: string;
|
|
1284
1282
|
/** Optional image URL (default: cyclomedia.png) */
|
|
1285
1283
|
image?: string;
|
|
1286
|
-
/** Size of the icon in pixels */
|
|
1287
|
-
iconSize?: number;
|
|
1288
1284
|
/** Tooltip title for the button */
|
|
1289
1285
|
title?: string;
|
|
1290
1286
|
/** Whether the button is in active state (controlled) */
|
|
1291
1287
|
active?: boolean;
|
|
1288
|
+
/** Control size; unset = responsive */
|
|
1289
|
+
size?: ComponentSize;
|
|
1292
1290
|
/** Whether the button is disabled */
|
|
1293
1291
|
disabled?: boolean;
|
|
1294
1292
|
/** Element to teleport the button control into */
|
|
@@ -1380,35 +1378,6 @@ declare enum CyclomediaEvents {
|
|
|
1380
1378
|
RECORDING_CHANGED = "RECORDING_CHANGED"
|
|
1381
1379
|
}
|
|
1382
1380
|
|
|
1383
|
-
/**
|
|
1384
|
-
* TypeScript type definitions for Cyclomedia Street Smart API integration
|
|
1385
|
-
* Based on @cyclomedia/streetsmart-api package
|
|
1386
|
-
*
|
|
1387
|
-
* ## Design Decisions
|
|
1388
|
-
*
|
|
1389
|
-
* ### Separate Type File
|
|
1390
|
-
* Types are in their own file (not co-located with components) because:
|
|
1391
|
-
* 1. Types are shared across multiple components and composables
|
|
1392
|
-
* 2. Avoids circular dependency issues between files
|
|
1393
|
-
* 3. Makes types easy to find and import
|
|
1394
|
-
* 4. Exported from package for consumer type checking
|
|
1395
|
-
*
|
|
1396
|
-
* ### CyclomediaConfig vs RecordingsClientConfig
|
|
1397
|
-
* Two separate config types exist because:
|
|
1398
|
-
* 1. Street Smart API (viewer) and WFS API (recordings) have different auth patterns
|
|
1399
|
-
* 2. Street Smart uses username/password/apiKey
|
|
1400
|
-
* 3. WFS uses Basic auth with username/password only
|
|
1401
|
-
* 4. RecordingsClientConfig also has WFS-specific options (typeName, maxFeatures)
|
|
1402
|
-
*
|
|
1403
|
-
* ### CameraPosition Fields
|
|
1404
|
-
* Position includes yaw/pitch/hFov/roll because:
|
|
1405
|
-
* 1. Cyclomedia viewer reports full 6DOF camera state
|
|
1406
|
-
* 2. yaw/pitch used for icon rotation on map
|
|
1407
|
-
* 3. hFov used for viewcone triangle angle
|
|
1408
|
-
* 4. All fields optional since some events only report partial state
|
|
1409
|
-
*
|
|
1410
|
-
* @module cyclomedia/types
|
|
1411
|
-
*/
|
|
1412
1381
|
/**
|
|
1413
1382
|
* Supported locale values for the Cyclomedia Street Smart API
|
|
1414
1383
|
* Must match the Locale type from @cyclomedia/streetsmart-api
|
|
@@ -1578,21 +1547,18 @@ export declare const defaultLabelsSource: RasterSourceSpecification;
|
|
|
1578
1547
|
export declare const DrawTool: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<DrawToolProps>, {
|
|
1579
1548
|
position: string;
|
|
1580
1549
|
title: string;
|
|
1581
|
-
iconSize: number;
|
|
1582
1550
|
teleportTo: undefined;
|
|
1583
1551
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1584
1552
|
polygonComplete: (geometry: ShapeGeometry) => void;
|
|
1585
1553
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<DrawToolProps>, {
|
|
1586
1554
|
position: string;
|
|
1587
1555
|
title: string;
|
|
1588
|
-
iconSize: number;
|
|
1589
1556
|
teleportTo: undefined;
|
|
1590
1557
|
}>>> & Readonly<{
|
|
1591
1558
|
onPolygonComplete?: ((geometry: ShapeGeometry) => any) | undefined;
|
|
1592
1559
|
}>, {
|
|
1593
1560
|
position: MapControlPosition_2;
|
|
1594
1561
|
title: string;
|
|
1595
|
-
iconSize: number;
|
|
1596
1562
|
teleportTo: HTMLElement | null;
|
|
1597
1563
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1598
1564
|
|
|
@@ -1602,6 +1568,7 @@ declare interface DrawToolProps extends BaseProps {
|
|
|
1602
1568
|
position?: MapControlPosition_2;
|
|
1603
1569
|
title?: string;
|
|
1604
1570
|
iconSize?: number;
|
|
1571
|
+
size?: ComponentSize;
|
|
1605
1572
|
teleportTo?: HTMLElement | null;
|
|
1606
1573
|
}
|
|
1607
1574
|
|
|
@@ -1691,7 +1658,6 @@ export declare function geocodeAddress(address: string): Promise<AisResponse | n
|
|
|
1691
1658
|
|
|
1692
1659
|
export declare const GeolocationButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<GeolocationButtonProps>, {
|
|
1693
1660
|
position: string;
|
|
1694
|
-
iconSize: number;
|
|
1695
1661
|
title: string;
|
|
1696
1662
|
trackUser: boolean;
|
|
1697
1663
|
markerColor: string;
|
|
@@ -1705,7 +1671,6 @@ accuracy: number;
|
|
|
1705
1671
|
error: (error: Error | GeolocationPositionError) => void;
|
|
1706
1672
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<GeolocationButtonProps>, {
|
|
1707
1673
|
position: string;
|
|
1708
|
-
iconSize: number;
|
|
1709
1674
|
title: string;
|
|
1710
1675
|
trackUser: boolean;
|
|
1711
1676
|
markerColor: string;
|
|
@@ -1720,7 +1685,6 @@ onError?: ((error: Error | GeolocationPositionError) => any) | undefined;
|
|
|
1720
1685
|
}>, {
|
|
1721
1686
|
position: MapControlPosition_2;
|
|
1722
1687
|
title: string;
|
|
1723
|
-
iconSize: number;
|
|
1724
1688
|
teleportTo: HTMLElement | null;
|
|
1725
1689
|
trackUser: boolean;
|
|
1726
1690
|
markerColor: string;
|
|
@@ -1730,6 +1694,7 @@ declare interface GeolocationButtonProps extends BaseProps {
|
|
|
1730
1694
|
position?: MapControlPosition_2;
|
|
1731
1695
|
icon?: IconDefinition_2 | string;
|
|
1732
1696
|
iconSize?: number;
|
|
1697
|
+
size?: ComponentSize;
|
|
1733
1698
|
title?: string;
|
|
1734
1699
|
trackUser?: boolean;
|
|
1735
1700
|
markerColor?: string;
|
|
@@ -1895,6 +1860,8 @@ declare interface MapButtonProps extends BaseProps {
|
|
|
1895
1860
|
position?: MapControlPosition_2;
|
|
1896
1861
|
title?: string;
|
|
1897
1862
|
iconSize?: number;
|
|
1863
|
+
/** Control size; unset = responsive (29px desktop, grows on mobile) */
|
|
1864
|
+
size?: ComponentSize;
|
|
1898
1865
|
toggleable?: boolean;
|
|
1899
1866
|
active?: boolean;
|
|
1900
1867
|
activeColor?: string;
|
|
@@ -1998,10 +1965,10 @@ onClick?: ((event: MouseEvent) => any) | undefined;
|
|
|
1998
1965
|
onMouseenter?: ((event: MouseEvent) => any) | undefined;
|
|
1999
1966
|
onMouseleave?: ((event: MouseEvent) => any) | undefined;
|
|
2000
1967
|
}>, {
|
|
1968
|
+
size: MapIconTextPinSize;
|
|
2001
1969
|
ariaLabel: string;
|
|
2002
1970
|
zoom: number;
|
|
2003
1971
|
text: string;
|
|
2004
|
-
size: MapIconTextPinSize;
|
|
2005
1972
|
color: string;
|
|
2006
1973
|
colorTheme: MapIconTextPinColorTheme;
|
|
2007
1974
|
selected: boolean;
|
|
@@ -2248,7 +2215,6 @@ declare interface PictometryAuthConfig {
|
|
|
2248
2215
|
|
|
2249
2216
|
export declare const PictometryButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryButtonProps>, {
|
|
2250
2217
|
position: string;
|
|
2251
|
-
iconSize: number;
|
|
2252
2218
|
title: string;
|
|
2253
2219
|
active: boolean;
|
|
2254
2220
|
disabled: boolean;
|
|
@@ -2258,7 +2224,6 @@ toggle: (payload: PictometryButtonTogglePayload) => void;
|
|
|
2258
2224
|
error: (error: Error) => void;
|
|
2259
2225
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryButtonProps>, {
|
|
2260
2226
|
position: string;
|
|
2261
|
-
iconSize: number;
|
|
2262
2227
|
title: string;
|
|
2263
2228
|
active: boolean;
|
|
2264
2229
|
disabled: boolean;
|
|
@@ -2269,7 +2234,6 @@ onToggle?: ((payload: PictometryButtonTogglePayload) => any) | undefined;
|
|
|
2269
2234
|
}>, {
|
|
2270
2235
|
position: MapControlPosition_3;
|
|
2271
2236
|
title: string;
|
|
2272
|
-
iconSize: number;
|
|
2273
2237
|
active: boolean;
|
|
2274
2238
|
teleportTo: HTMLElement | null;
|
|
2275
2239
|
disabled: boolean;
|
|
@@ -2289,8 +2253,8 @@ export declare interface PictometryButtonProps {
|
|
|
2289
2253
|
title?: string;
|
|
2290
2254
|
/** Whether Pictometry is currently active */
|
|
2291
2255
|
active?: boolean;
|
|
2292
|
-
/**
|
|
2293
|
-
|
|
2256
|
+
/** Control size; unset = responsive */
|
|
2257
|
+
size?: ComponentSize;
|
|
2294
2258
|
/** Whether the button is disabled */
|
|
2295
2259
|
disabled?: boolean;
|
|
2296
2260
|
/** Element to teleport the button control into */
|
|
@@ -2326,14 +2290,6 @@ export declare interface PictometryConfig {
|
|
|
2326
2290
|
enableDualPaneButton?: boolean;
|
|
2327
2291
|
}
|
|
2328
2292
|
|
|
2329
|
-
/**
|
|
2330
|
-
* Pictometry/Eagleview TypeScript Type Definitions
|
|
2331
|
-
*
|
|
2332
|
-
* Types for integrating Eagleview's Embedded Explorer SDK for oblique aerial imagery.
|
|
2333
|
-
* The SDK is loaded from CDN and creates window.ev.EmbeddedExplorer.
|
|
2334
|
-
*
|
|
2335
|
-
* @module pictometry/types
|
|
2336
|
-
*/
|
|
2337
2293
|
/**
|
|
2338
2294
|
* OAuth2 client credentials for Eagleview API authentication
|
|
2339
2295
|
*/
|
package/dist/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-SjMeboxd.cjs"),o=require("./useMapControl-CPeYYuH7.cjs"),a=require("./index-CNj5iS7C.cjs");exports.BasemapDropdown=e._sfc_main$13;exports.BasemapToggle=e._sfc_main$12;exports.CircleLayer=e._sfc_main$4;exports.CyclomediaButton=e._sfc_main$15;exports.CyclomediaPanel=e.CyclomediaPanel;exports.CyclomediaRecordingsLayer=e._sfc_main$16;exports.DrawTool=e._sfc_main$9;exports.FillLayer=e._sfc_main$2;exports.GeolocationButton=e._sfc_main$11;exports.LineLayer=e._sfc_main$3;exports.Map=e.Map;exports.MapButton=e._sfc_main$10;exports.MapCheckboxLegend=e.MapCheckboxLegend;exports.MapFloatingPanel=e._sfc_main$8;exports.MapIconTextPin=e.MapIconTextPin;exports.MapLoadingOverlay=e.MapLoadingOverlay;exports.MapMarker=e._sfc_main;exports.MapNavigationControl=e._sfc_main$7;exports.MapPopup=e._sfc_main$1;exports.MapSearchControl=e._sfc_main$14;exports.MapTooltip=e.MapTooltip;exports.PictometryButton=e._sfc_main$17;exports.PictometryLabelsControl=e._sfc_main$19;exports.PictometryLayerControl=e.PictometryLayerControl;exports.PictometryPanel=e.PictometryPanel;exports.PictometryParcelsControl=e._sfc_main$18;exports.RasterLayer=e._sfc_main$6;exports.SymbolLayer=e._sfc_main$5;exports.clearTokenCache=e.clearTokenCache;exports.defaultBasemapSource=e.defaultBasemapSource;exports.defaultImageryOptions=e.defaultImageryOptions;exports.defaultLabelsSource=e.defaultLabelsSource;exports.getValidToken=e.getValidToken;exports.imageryLabelsSource=e.imageryLabelsSource;exports.imageryLabelsUrl=e.imageryLabelsUrl;exports.imageryParcelOutlinesSource=e.imageryParcelOutlinesSource;exports.imagerySources=e.imagerySources;exports.isPictometryLoaded=e.isPictometryLoaded;exports.loadPictometryScript=e.loadPictometryScript;exports.validateCredentials=e.validateCredentials;exports.useMapControl=o.useMapControl;exports.fetchParcelGeometry=a.fetchParcelGeometry;exports.geocodeAddress=a.geocodeAddress;exports.queryParcelAtPoint=a.queryParcelAtPoint;
|
package/dist/components.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as o, p as s, f as r, s as t, C as l, t as i, m as c, d as n, o as y, e as p, M as m, n as d, l as u, k as P, a as g, i as L, _ as C, j as M, c as f, r as B, b as S, u as b, x, v as T, P as h, w as k, h as v, g as q, D as w, E as A, G as D, F, A as G, I, K as O, J as R, H as j, z, y as E, B as H } from "./PictometryPanel-
|
|
1
|
+
import { q as o, p as s, f as r, s as t, C as l, t as i, m as c, d as n, o as y, e as p, M as m, n as d, l as u, k as P, a as g, i as L, _ as C, j as M, c as f, r as B, b as S, u as b, x, v as T, P as h, w as k, h as v, g as q, D as w, E as A, G as D, F, A as G, I, K as O, J as R, H as j, z, y as E, B as H } from "./PictometryPanel-DFBlgBP5.js";
|
|
2
2
|
import { u as K } from "./useMapControl-D8Y6Eb86.js";
|
|
3
3
|
import { f as U, g as V, q as _ } from "./index-BXLyy2C_.js";
|
|
4
4
|
export {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { CircleLayerSpecification } from 'maplibre-gl';
|
|
|
3
3
|
import { ColorSpecification } from 'maplibre-gl';
|
|
4
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
5
|
import { ComponentProvideOptions } from 'vue';
|
|
6
|
+
import { ComponentSize } from '@phila/phila-ui-core';
|
|
6
7
|
import { ComputedRef } from 'vue';
|
|
7
8
|
import { DataDrivenPropertyValueSpecification } from 'maplibre-gl';
|
|
8
9
|
import { default as default_2 } from 'maplibre-gl';
|
|
@@ -224,7 +225,8 @@ image: string;
|
|
|
224
225
|
imagePadding: number;
|
|
225
226
|
position: string;
|
|
226
227
|
title: string;
|
|
227
|
-
iconSize:
|
|
228
|
+
iconSize: undefined;
|
|
229
|
+
size: undefined;
|
|
228
230
|
toggleable: boolean;
|
|
229
231
|
active: boolean;
|
|
230
232
|
activeColor: string;
|
|
@@ -237,7 +239,8 @@ image: string;
|
|
|
237
239
|
imagePadding: number;
|
|
238
240
|
position: string;
|
|
239
241
|
title: string;
|
|
240
|
-
iconSize:
|
|
242
|
+
iconSize: undefined;
|
|
243
|
+
size: undefined;
|
|
241
244
|
toggleable: boolean;
|
|
242
245
|
active: boolean;
|
|
243
246
|
activeColor: string;
|
|
@@ -251,6 +254,7 @@ imagePadding: number;
|
|
|
251
254
|
position: MapControlPosition_2;
|
|
252
255
|
title: string;
|
|
253
256
|
iconSize: number;
|
|
257
|
+
size: ComponentSize;
|
|
254
258
|
toggleable: boolean;
|
|
255
259
|
active: boolean;
|
|
256
260
|
activeColor: string;
|
|
@@ -1054,7 +1058,6 @@ position: string;
|
|
|
1054
1058
|
imageryUrl: string;
|
|
1055
1059
|
imageryLabelsUrl: string;
|
|
1056
1060
|
title: string;
|
|
1057
|
-
iconSize: number;
|
|
1058
1061
|
showDropdown: boolean;
|
|
1059
1062
|
dropdownOptions: () => ImageryYearOption[];
|
|
1060
1063
|
teleportTo: undefined;
|
|
@@ -1065,7 +1068,6 @@ position: string;
|
|
|
1065
1068
|
imageryUrl: string;
|
|
1066
1069
|
imageryLabelsUrl: string;
|
|
1067
1070
|
title: string;
|
|
1068
|
-
iconSize: number;
|
|
1069
1071
|
showDropdown: boolean;
|
|
1070
1072
|
dropdownOptions: () => ImageryYearOption[];
|
|
1071
1073
|
teleportTo: undefined;
|
|
@@ -1074,7 +1076,6 @@ onChange?: ((value: BasemapChangeEvent) => any) | undefined;
|
|
|
1074
1076
|
}>, {
|
|
1075
1077
|
position: MapControlPosition_2;
|
|
1076
1078
|
title: string;
|
|
1077
|
-
iconSize: number;
|
|
1078
1079
|
teleportTo: HTMLElement | null;
|
|
1079
1080
|
imageryUrl: string;
|
|
1080
1081
|
imageryLabelsUrl: string;
|
|
@@ -1089,7 +1090,7 @@ declare interface BasemapToggleProps extends BaseProps {
|
|
|
1089
1090
|
iconImage?: string | null;
|
|
1090
1091
|
basemapImage?: string | null;
|
|
1091
1092
|
title?: string;
|
|
1092
|
-
|
|
1093
|
+
size?: ComponentSize;
|
|
1093
1094
|
showDropdown?: boolean;
|
|
1094
1095
|
dropdownOptions?: BasemapOption[];
|
|
1095
1096
|
teleportTo?: HTMLElement | null;
|
|
@@ -1212,7 +1213,6 @@ declare function closeDropdown(): void;
|
|
|
1212
1213
|
|
|
1213
1214
|
export declare const CyclomediaButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<CyclomediaButtonProps>, {
|
|
1214
1215
|
position: string;
|
|
1215
|
-
iconSize: number;
|
|
1216
1216
|
title: string;
|
|
1217
1217
|
active: boolean;
|
|
1218
1218
|
disabled: boolean;
|
|
@@ -1228,7 +1228,6 @@ lng: number;
|
|
|
1228
1228
|
error: (error: Error) => void;
|
|
1229
1229
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<CyclomediaButtonProps>, {
|
|
1230
1230
|
position: string;
|
|
1231
|
-
iconSize: number;
|
|
1232
1231
|
title: string;
|
|
1233
1232
|
active: boolean;
|
|
1234
1233
|
disabled: boolean;
|
|
@@ -1245,7 +1244,6 @@ lng: number;
|
|
|
1245
1244
|
}>, {
|
|
1246
1245
|
position: MapControlPosition;
|
|
1247
1246
|
title: string;
|
|
1248
|
-
iconSize: number;
|
|
1249
1247
|
active: boolean;
|
|
1250
1248
|
teleportTo: HTMLElement | null;
|
|
1251
1249
|
disabled: boolean;
|
|
@@ -1283,12 +1281,12 @@ export declare interface CyclomediaButtonProps {
|
|
|
1283
1281
|
icon?: string;
|
|
1284
1282
|
/** Optional image URL (default: cyclomedia.png) */
|
|
1285
1283
|
image?: string;
|
|
1286
|
-
/** Size of the icon in pixels */
|
|
1287
|
-
iconSize?: number;
|
|
1288
1284
|
/** Tooltip title for the button */
|
|
1289
1285
|
title?: string;
|
|
1290
1286
|
/** Whether the button is in active state (controlled) */
|
|
1291
1287
|
active?: boolean;
|
|
1288
|
+
/** Control size; unset = responsive */
|
|
1289
|
+
size?: ComponentSize;
|
|
1292
1290
|
/** Whether the button is disabled */
|
|
1293
1291
|
disabled?: boolean;
|
|
1294
1292
|
/** Element to teleport the button control into */
|
|
@@ -1380,35 +1378,6 @@ declare enum CyclomediaEvents {
|
|
|
1380
1378
|
RECORDING_CHANGED = "RECORDING_CHANGED"
|
|
1381
1379
|
}
|
|
1382
1380
|
|
|
1383
|
-
/**
|
|
1384
|
-
* TypeScript type definitions for Cyclomedia Street Smart API integration
|
|
1385
|
-
* Based on @cyclomedia/streetsmart-api package
|
|
1386
|
-
*
|
|
1387
|
-
* ## Design Decisions
|
|
1388
|
-
*
|
|
1389
|
-
* ### Separate Type File
|
|
1390
|
-
* Types are in their own file (not co-located with components) because:
|
|
1391
|
-
* 1. Types are shared across multiple components and composables
|
|
1392
|
-
* 2. Avoids circular dependency issues between files
|
|
1393
|
-
* 3. Makes types easy to find and import
|
|
1394
|
-
* 4. Exported from package for consumer type checking
|
|
1395
|
-
*
|
|
1396
|
-
* ### CyclomediaConfig vs RecordingsClientConfig
|
|
1397
|
-
* Two separate config types exist because:
|
|
1398
|
-
* 1. Street Smart API (viewer) and WFS API (recordings) have different auth patterns
|
|
1399
|
-
* 2. Street Smart uses username/password/apiKey
|
|
1400
|
-
* 3. WFS uses Basic auth with username/password only
|
|
1401
|
-
* 4. RecordingsClientConfig also has WFS-specific options (typeName, maxFeatures)
|
|
1402
|
-
*
|
|
1403
|
-
* ### CameraPosition Fields
|
|
1404
|
-
* Position includes yaw/pitch/hFov/roll because:
|
|
1405
|
-
* 1. Cyclomedia viewer reports full 6DOF camera state
|
|
1406
|
-
* 2. yaw/pitch used for icon rotation on map
|
|
1407
|
-
* 3. hFov used for viewcone triangle angle
|
|
1408
|
-
* 4. All fields optional since some events only report partial state
|
|
1409
|
-
*
|
|
1410
|
-
* @module cyclomedia/types
|
|
1411
|
-
*/
|
|
1412
1381
|
/**
|
|
1413
1382
|
* Supported locale values for the Cyclomedia Street Smart API
|
|
1414
1383
|
* Must match the Locale type from @cyclomedia/streetsmart-api
|
|
@@ -1578,21 +1547,18 @@ export declare const defaultLabelsSource: RasterSourceSpecification;
|
|
|
1578
1547
|
export declare const DrawTool: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<DrawToolProps>, {
|
|
1579
1548
|
position: string;
|
|
1580
1549
|
title: string;
|
|
1581
|
-
iconSize: number;
|
|
1582
1550
|
teleportTo: undefined;
|
|
1583
1551
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1584
1552
|
polygonComplete: (geometry: ShapeGeometry) => void;
|
|
1585
1553
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<DrawToolProps>, {
|
|
1586
1554
|
position: string;
|
|
1587
1555
|
title: string;
|
|
1588
|
-
iconSize: number;
|
|
1589
1556
|
teleportTo: undefined;
|
|
1590
1557
|
}>>> & Readonly<{
|
|
1591
1558
|
onPolygonComplete?: ((geometry: ShapeGeometry) => any) | undefined;
|
|
1592
1559
|
}>, {
|
|
1593
1560
|
position: MapControlPosition_2;
|
|
1594
1561
|
title: string;
|
|
1595
|
-
iconSize: number;
|
|
1596
1562
|
teleportTo: HTMLElement | null;
|
|
1597
1563
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1598
1564
|
|
|
@@ -1602,6 +1568,7 @@ declare interface DrawToolProps extends BaseProps {
|
|
|
1602
1568
|
position?: MapControlPosition_2;
|
|
1603
1569
|
title?: string;
|
|
1604
1570
|
iconSize?: number;
|
|
1571
|
+
size?: ComponentSize;
|
|
1605
1572
|
teleportTo?: HTMLElement | null;
|
|
1606
1573
|
}
|
|
1607
1574
|
|
|
@@ -1691,7 +1658,6 @@ export declare function geocodeAddress(address: string): Promise<AisResponse | n
|
|
|
1691
1658
|
|
|
1692
1659
|
export declare const GeolocationButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<GeolocationButtonProps>, {
|
|
1693
1660
|
position: string;
|
|
1694
|
-
iconSize: number;
|
|
1695
1661
|
title: string;
|
|
1696
1662
|
trackUser: boolean;
|
|
1697
1663
|
markerColor: string;
|
|
@@ -1705,7 +1671,6 @@ accuracy: number;
|
|
|
1705
1671
|
error: (error: Error | GeolocationPositionError) => void;
|
|
1706
1672
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<GeolocationButtonProps>, {
|
|
1707
1673
|
position: string;
|
|
1708
|
-
iconSize: number;
|
|
1709
1674
|
title: string;
|
|
1710
1675
|
trackUser: boolean;
|
|
1711
1676
|
markerColor: string;
|
|
@@ -1720,7 +1685,6 @@ onError?: ((error: Error | GeolocationPositionError) => any) | undefined;
|
|
|
1720
1685
|
}>, {
|
|
1721
1686
|
position: MapControlPosition_2;
|
|
1722
1687
|
title: string;
|
|
1723
|
-
iconSize: number;
|
|
1724
1688
|
teleportTo: HTMLElement | null;
|
|
1725
1689
|
trackUser: boolean;
|
|
1726
1690
|
markerColor: string;
|
|
@@ -1730,6 +1694,7 @@ declare interface GeolocationButtonProps extends BaseProps {
|
|
|
1730
1694
|
position?: MapControlPosition_2;
|
|
1731
1695
|
icon?: IconDefinition_2 | string;
|
|
1732
1696
|
iconSize?: number;
|
|
1697
|
+
size?: ComponentSize;
|
|
1733
1698
|
title?: string;
|
|
1734
1699
|
trackUser?: boolean;
|
|
1735
1700
|
markerColor?: string;
|
|
@@ -1895,6 +1860,8 @@ declare interface MapButtonProps extends BaseProps {
|
|
|
1895
1860
|
position?: MapControlPosition_2;
|
|
1896
1861
|
title?: string;
|
|
1897
1862
|
iconSize?: number;
|
|
1863
|
+
/** Control size; unset = responsive (29px desktop, grows on mobile) */
|
|
1864
|
+
size?: ComponentSize;
|
|
1898
1865
|
toggleable?: boolean;
|
|
1899
1866
|
active?: boolean;
|
|
1900
1867
|
activeColor?: string;
|
|
@@ -1998,10 +1965,10 @@ onClick?: ((event: MouseEvent) => any) | undefined;
|
|
|
1998
1965
|
onMouseenter?: ((event: MouseEvent) => any) | undefined;
|
|
1999
1966
|
onMouseleave?: ((event: MouseEvent) => any) | undefined;
|
|
2000
1967
|
}>, {
|
|
1968
|
+
size: MapIconTextPinSize;
|
|
2001
1969
|
ariaLabel: string;
|
|
2002
1970
|
zoom: number;
|
|
2003
1971
|
text: string;
|
|
2004
|
-
size: MapIconTextPinSize;
|
|
2005
1972
|
color: string;
|
|
2006
1973
|
colorTheme: MapIconTextPinColorTheme;
|
|
2007
1974
|
selected: boolean;
|
|
@@ -2248,7 +2215,6 @@ declare interface PictometryAuthConfig {
|
|
|
2248
2215
|
|
|
2249
2216
|
export declare const PictometryButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryButtonProps>, {
|
|
2250
2217
|
position: string;
|
|
2251
|
-
iconSize: number;
|
|
2252
2218
|
title: string;
|
|
2253
2219
|
active: boolean;
|
|
2254
2220
|
disabled: boolean;
|
|
@@ -2258,7 +2224,6 @@ toggle: (payload: PictometryButtonTogglePayload) => void;
|
|
|
2258
2224
|
error: (error: Error) => void;
|
|
2259
2225
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryButtonProps>, {
|
|
2260
2226
|
position: string;
|
|
2261
|
-
iconSize: number;
|
|
2262
2227
|
title: string;
|
|
2263
2228
|
active: boolean;
|
|
2264
2229
|
disabled: boolean;
|
|
@@ -2269,7 +2234,6 @@ onToggle?: ((payload: PictometryButtonTogglePayload) => any) | undefined;
|
|
|
2269
2234
|
}>, {
|
|
2270
2235
|
position: MapControlPosition_3;
|
|
2271
2236
|
title: string;
|
|
2272
|
-
iconSize: number;
|
|
2273
2237
|
active: boolean;
|
|
2274
2238
|
teleportTo: HTMLElement | null;
|
|
2275
2239
|
disabled: boolean;
|
|
@@ -2289,8 +2253,8 @@ export declare interface PictometryButtonProps {
|
|
|
2289
2253
|
title?: string;
|
|
2290
2254
|
/** Whether Pictometry is currently active */
|
|
2291
2255
|
active?: boolean;
|
|
2292
|
-
/**
|
|
2293
|
-
|
|
2256
|
+
/** Control size; unset = responsive */
|
|
2257
|
+
size?: ComponentSize;
|
|
2294
2258
|
/** Whether the button is disabled */
|
|
2295
2259
|
disabled?: boolean;
|
|
2296
2260
|
/** Element to teleport the button control into */
|
|
@@ -2326,14 +2290,6 @@ export declare interface PictometryConfig {
|
|
|
2326
2290
|
enableDualPaneButton?: boolean;
|
|
2327
2291
|
}
|
|
2328
2292
|
|
|
2329
|
-
/**
|
|
2330
|
-
* Pictometry/Eagleview TypeScript Type Definitions
|
|
2331
|
-
*
|
|
2332
|
-
* Types for integrating Eagleview's Embedded Explorer SDK for oblique aerial imagery.
|
|
2333
|
-
* The SDK is loaded from CDN and creates window.ev.EmbeddedExplorer.
|
|
2334
|
-
*
|
|
2335
|
-
* @module pictometry/types
|
|
2336
|
-
*/
|
|
2337
2293
|
/**
|
|
2338
2294
|
* OAuth2 client credentials for Eagleview API authentication
|
|
2339
2295
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-SjMeboxd.cjs"),o=require("./useMapControl-CPeYYuH7.cjs"),a=require("./index-CNj5iS7C.cjs");exports.BasemapDropdown=e._sfc_main$13;exports.BasemapToggle=e._sfc_main$12;exports.CircleLayer=e._sfc_main$4;exports.CyclomediaButton=e._sfc_main$15;exports.CyclomediaPanel=e.CyclomediaPanel;exports.CyclomediaRecordingsLayer=e._sfc_main$16;exports.DrawTool=e._sfc_main$9;exports.FillLayer=e._sfc_main$2;exports.GeolocationButton=e._sfc_main$11;exports.LineLayer=e._sfc_main$3;exports.Map=e.Map;exports.MapButton=e._sfc_main$10;exports.MapCheckboxLegend=e.MapCheckboxLegend;exports.MapFloatingPanel=e._sfc_main$8;exports.MapIconTextPin=e.MapIconTextPin;exports.MapLoadingOverlay=e.MapLoadingOverlay;exports.MapMarker=e._sfc_main;exports.MapNavigationControl=e._sfc_main$7;exports.MapPopup=e._sfc_main$1;exports.MapSearchControl=e._sfc_main$14;exports.MapTooltip=e.MapTooltip;exports.PictometryButton=e._sfc_main$17;exports.PictometryLabelsControl=e._sfc_main$19;exports.PictometryLayerControl=e.PictometryLayerControl;exports.PictometryPanel=e.PictometryPanel;exports.PictometryParcelsControl=e._sfc_main$18;exports.RasterLayer=e._sfc_main$6;exports.SymbolLayer=e._sfc_main$5;exports.clearTokenCache=e.clearTokenCache;exports.defaultBasemapSource=e.defaultBasemapSource;exports.defaultImageryOptions=e.defaultImageryOptions;exports.defaultLabelsSource=e.defaultLabelsSource;exports.getValidToken=e.getValidToken;exports.imageryLabelsSource=e.imageryLabelsSource;exports.imageryLabelsUrl=e.imageryLabelsUrl;exports.imageryParcelOutlinesSource=e.imageryParcelOutlinesSource;exports.imagerySources=e.imagerySources;exports.isPictometryLoaded=e.isPictometryLoaded;exports.loadPictometryScript=e.loadPictometryScript;exports.validateCredentials=e.validateCredentials;exports.useMapControl=o.useMapControl;exports.fetchParcelGeometry=a.fetchParcelGeometry;exports.geocodeAddress=a.geocodeAddress;exports.queryParcelAtPoint=a.queryParcelAtPoint;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as o, p as s, f as r, s as t, C as l, t as i, m as c, d as n, o as y, e as p, M as m, n as d, l as u, k as P, a as g, i as L, _ as C, j as M, c as f, r as B, b as S, u as b, x, v as T, P as h, w as k, h as v, g as q, D as w, E as A, G as D, F, A as G, I, K as O, J as R, H as j, z, y as E, B as H } from "./PictometryPanel-
|
|
1
|
+
import { q as o, p as s, f as r, s as t, C as l, t as i, m as c, d as n, o as y, e as p, M as m, n as d, l as u, k as P, a as g, i as L, _ as C, j as M, c as f, r as B, b as S, u as b, x, v as T, P as h, w as k, h as v, g as q, D as w, E as A, G as D, F, A as G, I, K as O, J as R, H as j, z, y as E, B as H } from "./PictometryPanel-DFBlgBP5.js";
|
|
2
2
|
import { u as K } from "./useMapControl-D8Y6Eb86.js";
|
|
3
3
|
import { f as U, g as V, q as _ } from "./index-BXLyy2C_.js";
|
|
4
4
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phila/phila-ui-map-core",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core map utilities and styles for Phila UI library",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"pepjs": "^0.5.3",
|
|
61
61
|
"react": "18.3.1",
|
|
62
62
|
"react-dom": "18.3.1",
|
|
63
|
-
"@phila/phila-ui-
|
|
64
|
-
"@phila/phila-ui-
|
|
65
|
-
"@phila/phila-ui-tooltip": "0.1.0-beta.
|
|
66
|
-
"@phila/phila-ui-search": "1.2.0-beta.
|
|
63
|
+
"@phila/phila-ui-checkbox": "0.1.1-beta.4",
|
|
64
|
+
"@phila/phila-ui-core": "3.0.0-beta.3",
|
|
65
|
+
"@phila/phila-ui-tooltip": "0.1.0-beta.4",
|
|
66
|
+
"@phila/phila-ui-search": "1.2.0-beta.6"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "vite build && npm run copy-css",
|