@phila/phila-ui-map-core 0.0.3-beta.7 → 0.0.3-beta.9

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/index.d.ts CHANGED
@@ -94,14 +94,14 @@ draggable: boolean;
94
94
  iconColor: string;
95
95
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
96
96
 
97
- declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<MapPopupProps>, {
97
+ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<MapPopupProps>, {
98
98
  html: undefined;
99
99
  closeButton: boolean;
100
100
  closeOnClick: boolean;
101
101
  className: undefined;
102
102
  maxWidth: string;
103
103
  offset: undefined;
104
- anchor: undefined;
104
+ anchor: string;
105
105
  showNavigation: boolean;
106
106
  currentFeatureIndex: number;
107
107
  totalFeatures: number;
@@ -111,14 +111,14 @@ close: () => void;
111
111
  open: () => void;
112
112
  next: () => void;
113
113
  previous: () => void;
114
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<MapPopupProps>, {
114
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<MapPopupProps>, {
115
115
  html: undefined;
116
116
  closeButton: boolean;
117
117
  closeOnClick: boolean;
118
118
  className: undefined;
119
119
  maxWidth: string;
120
120
  offset: undefined;
121
- anchor: undefined;
121
+ anchor: string;
122
122
  showNavigation: boolean;
123
123
  currentFeatureIndex: number;
124
124
  totalFeatures: number;
@@ -142,15 +142,15 @@ currentFeatureIndex: number;
142
142
  totalFeatures: number;
143
143
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
144
144
 
145
- declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<MapNavigationControlProps>, {
145
+ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<MapNavigationControlProps>, {
146
146
  position: string;
147
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<MapNavigationControlProps>, {
147
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<MapNavigationControlProps>, {
148
148
  position: string;
149
149
  }>>> & Readonly<{}>, {
150
150
  position: MapControlPosition_2;
151
151
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
152
152
 
153
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<MapFloatingPanelProps>, {
153
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<MapFloatingPanelProps>, {
154
154
  position: string;
155
155
  visible: boolean;
156
156
  offset: () => {
@@ -159,7 +159,7 @@ y: number;
159
159
  };
160
160
  leaveRoomForControls: boolean;
161
161
  ariaLabel: string;
162
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<MapFloatingPanelProps>, {
162
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<MapFloatingPanelProps>, {
163
163
  position: string;
164
164
  visible: boolean;
165
165
  offset: () => {
@@ -179,7 +179,7 @@ leaveRoomForControls: boolean;
179
179
  ariaLabel: string;
180
180
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
181
181
 
182
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<MapButtonProps>, {
182
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<MapButtonProps>, {
183
183
  icon: undefined;
184
184
  image: string;
185
185
  imagePadding: number;
@@ -191,7 +191,7 @@ active: boolean;
191
191
  activeColor: string;
192
192
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
193
193
  click: () => void;
194
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<MapButtonProps>, {
194
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<MapButtonProps>, {
195
195
  icon: undefined;
196
196
  image: string;
197
197
  imagePadding: number;
@@ -215,7 +215,7 @@ active: boolean;
215
215
  activeColor: string;
216
216
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
217
217
 
218
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<CyclomediaRecordingsLayerProps>, {
218
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<CyclomediaRecordingsLayerProps>, {
219
219
  config: undefined;
220
220
  visible: boolean;
221
221
  year: undefined;
@@ -236,7 +236,7 @@ error: (error: {
236
236
  message: string;
237
237
  type: string;
238
238
  }) => void;
239
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<CyclomediaRecordingsLayerProps>, {
239
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<CyclomediaRecordingsLayerProps>, {
240
240
  config: undefined;
241
241
  visible: boolean;
242
242
  year: undefined;
@@ -293,6 +293,10 @@ declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
293
293
 
294
294
  declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
295
295
 
296
+ declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
297
+
298
+ declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
299
+
296
300
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
297
301
 
298
302
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
@@ -371,6 +375,14 @@ declare type __VLS_Prettify_23<T> = {
371
375
  [K in keyof T]: T[K];
372
376
  } & {};
373
377
 
378
+ declare type __VLS_Prettify_24<T> = {
379
+ [K in keyof T]: T[K];
380
+ } & {};
381
+
382
+ declare type __VLS_Prettify_25<T> = {
383
+ [K in keyof T]: T[K];
384
+ } & {};
385
+
374
386
  declare type __VLS_Prettify_3<T> = {
375
387
  [K in keyof T]: T[K];
376
388
  } & {};
@@ -567,6 +579,24 @@ declare type __VLS_TypePropsToRuntimeProps_23<T> = {
567
579
  };
568
580
  };
569
581
 
582
+ declare type __VLS_TypePropsToRuntimeProps_24<T> = {
583
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
584
+ type: PropType<__VLS_NonUndefinedable_24<T[K]>>;
585
+ } : {
586
+ type: PropType<T[K]>;
587
+ required: true;
588
+ };
589
+ };
590
+
591
+ declare type __VLS_TypePropsToRuntimeProps_25<T> = {
592
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
593
+ type: PropType<__VLS_NonUndefinedable_25<T[K]>>;
594
+ } : {
595
+ type: PropType<T[K]>;
596
+ required: true;
597
+ };
598
+ };
599
+
570
600
  declare type __VLS_TypePropsToRuntimeProps_3<T> = {
571
601
  [K in keyof T]-?: {} extends Pick<T, K> ? {
572
602
  type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
@@ -726,6 +756,18 @@ declare type __VLS_WithDefaults_23<P, D> = {
726
756
  }> : P[K];
727
757
  };
728
758
 
759
+ declare type __VLS_WithDefaults_24<P, D> = {
760
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_24<P[K] & {
761
+ default: D[K];
762
+ }> : P[K];
763
+ };
764
+
765
+ declare type __VLS_WithDefaults_25<P, D> = {
766
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_25<P[K] & {
767
+ default: D[K];
768
+ }> : P[K];
769
+ };
770
+
729
771
  declare type __VLS_WithDefaults_3<P, D> = {
730
772
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
731
773
  default: D[K];
@@ -866,7 +908,7 @@ declare interface BasemapChangeEvent {
866
908
  showLabels: boolean;
867
909
  }
868
910
 
869
- export declare const BasemapDropdown: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BasemapDropdownProps>, {
911
+ export declare const BasemapDropdown: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BasemapDropdownProps>, {
870
912
  position: string;
871
913
  selectedIndex: number;
872
914
  useAsControl: boolean;
@@ -879,7 +921,7 @@ toggleDropdown: typeof toggleDropdown;
879
921
  closeDropdown: typeof closeDropdown;
880
922
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
881
923
  select: (option: BasemapOption, index: number) => void;
882
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BasemapDropdownProps>, {
924
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BasemapDropdownProps>, {
883
925
  position: string;
884
926
  selectedIndex: number;
885
927
  useAsControl: boolean;
@@ -909,7 +951,7 @@ declare interface BasemapOption {
909
951
  showLabels?: boolean;
910
952
  }
911
953
 
912
- export declare const BasemapToggle: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BasemapToggleProps>, {
954
+ export declare const BasemapToggle: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BasemapToggleProps>, {
913
955
  position: string;
914
956
  imageryUrl: string;
915
957
  imageryLabelsUrl: string;
@@ -919,7 +961,7 @@ showDropdown: boolean;
919
961
  dropdownOptions: () => ImageryYearOption[];
920
962
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
921
963
  change: (value: BasemapChangeEvent) => void;
922
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BasemapToggleProps>, {
964
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BasemapToggleProps>, {
923
965
  position: string;
924
966
  imageryUrl: string;
925
967
  imageryLabelsUrl: string;
@@ -985,7 +1027,7 @@ export declare interface CameraPosition {
985
1027
  roll?: number;
986
1028
  }
987
1029
 
988
- export declare const CircleLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<CircleLayerProps>, {
1030
+ export declare const CircleLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<CircleLayerProps>, {
989
1031
  sourceLayer: undefined;
990
1032
  paint: () => {};
991
1033
  layout: () => {};
@@ -1002,7 +1044,7 @@ mousemove: (event: MapLayerMouseEvent) => void;
1002
1044
  mousedown: (event: MapLayerMouseEvent) => void;
1003
1045
  mouseup: (event: MapLayerMouseEvent) => void;
1004
1046
  contextmenu: (event: MapLayerMouseEvent) => void;
1005
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<CircleLayerProps>, {
1047
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<CircleLayerProps>, {
1006
1048
  sourceLayer: undefined;
1007
1049
  paint: () => {};
1008
1050
  layout: () => {};
@@ -1066,7 +1108,7 @@ export declare function clearTokenCache(): void;
1066
1108
 
1067
1109
  declare function closeDropdown(): void;
1068
1110
 
1069
- export declare const CyclomediaButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<CyclomediaButtonProps>, {
1111
+ export declare const CyclomediaButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<CyclomediaButtonProps>, {
1070
1112
  position: string;
1071
1113
  iconSize: number;
1072
1114
  title: string;
@@ -1081,7 +1123,7 @@ lng: number;
1081
1123
  };
1082
1124
  }) => void;
1083
1125
  error: (error: Error) => void;
1084
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<CyclomediaButtonProps>, {
1126
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<CyclomediaButtonProps>, {
1085
1127
  position: string;
1086
1128
  iconSize: number;
1087
1129
  title: string;
@@ -1266,7 +1308,7 @@ declare enum CyclomediaEvents {
1266
1308
  */
1267
1309
  declare type CyclomediaLocale = "de" | "en-GB" | "en-US" | "fi" | "fr" | "nl" | "tr" | "pl" | "es-ES" | "eu-ES" | "ca-ES";
1268
1310
 
1269
- export declare const CyclomediaPanel: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<CyclomediaPanelProps>, {
1311
+ export declare const CyclomediaPanel: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<CyclomediaPanelProps>, {
1270
1312
  year: undefined;
1271
1313
  autoOpen: boolean;
1272
1314
  popOutEnabled: boolean;
@@ -1291,7 +1333,7 @@ error: (error: {
1291
1333
  message: string;
1292
1334
  type: string;
1293
1335
  }) => void;
1294
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<CyclomediaPanelProps>, {
1336
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<CyclomediaPanelProps>, {
1295
1337
  year: undefined;
1296
1338
  autoOpen: boolean;
1297
1339
  popOutEnabled: boolean;
@@ -1426,13 +1468,13 @@ export declare const defaultImageryOptions: ImageryYearOption[];
1426
1468
 
1427
1469
  export declare const defaultLabelsSource: RasterSourceSpecification;
1428
1470
 
1429
- export declare const DrawTool: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<DrawToolProps>, {
1471
+ export declare const DrawTool: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<DrawToolProps>, {
1430
1472
  position: string;
1431
1473
  title: string;
1432
1474
  iconSize: number;
1433
1475
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1434
1476
  polygonComplete: (geometry: ShapeGeometry) => void;
1435
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<DrawToolProps>, {
1477
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<DrawToolProps>, {
1436
1478
  position: string;
1437
1479
  title: string;
1438
1480
  iconSize: number;
@@ -1463,7 +1505,7 @@ export declare function fetchParcelGeometry(parcelId: string): Promise<ParcelFea
1463
1505
  */
1464
1506
  declare function fetchRecordingsForBounds(): Promise<void>;
1465
1507
 
1466
- export declare const FillLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<FillLayerProps>, {
1508
+ export declare const FillLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<FillLayerProps>, {
1467
1509
  sourceLayer: undefined;
1468
1510
  paint: () => {};
1469
1511
  layout: () => {};
@@ -1480,7 +1522,7 @@ mousemove: (event: MapLayerMouseEvent) => void;
1480
1522
  mousedown: (event: MapLayerMouseEvent) => void;
1481
1523
  mouseup: (event: MapLayerMouseEvent) => void;
1482
1524
  contextmenu: (event: MapLayerMouseEvent) => void;
1483
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<FillLayerProps>, {
1525
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<FillLayerProps>, {
1484
1526
  sourceLayer: undefined;
1485
1527
  paint: () => {};
1486
1528
  layout: () => {};
@@ -1536,7 +1578,7 @@ declare interface FillLayerProps extends BaseLayerProps {
1536
1578
  */
1537
1579
  export declare function geocodeAddress(address: string): Promise<AisResponse | null>;
1538
1580
 
1539
- export declare const GeolocationButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<GeolocationButtonProps>, {
1581
+ export declare const GeolocationButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<GeolocationButtonProps>, {
1540
1582
  position: string;
1541
1583
  iconSize: number;
1542
1584
  title: string;
@@ -1549,7 +1591,7 @@ latitude: number;
1549
1591
  accuracy: number;
1550
1592
  }) => void;
1551
1593
  error: (error: Error | GeolocationPositionError) => void;
1552
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<GeolocationButtonProps>, {
1594
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<GeolocationButtonProps>, {
1553
1595
  position: string;
1554
1596
  iconSize: number;
1555
1597
  title: string;
@@ -1628,7 +1670,7 @@ declare function initializeViewer_2(): Promise<void>;
1628
1670
  */
1629
1671
  export declare function isPictometryLoaded(): boolean;
1630
1672
 
1631
- export declare const LineLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<LineLayerProps>, {
1673
+ export declare const LineLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<LineLayerProps>, {
1632
1674
  sourceLayer: undefined;
1633
1675
  paint: () => {};
1634
1676
  layout: () => {};
@@ -1645,7 +1687,7 @@ mousemove: (event: MapLayerMouseEvent) => void;
1645
1687
  mousedown: (event: MapLayerMouseEvent) => void;
1646
1688
  mouseup: (event: MapLayerMouseEvent) => void;
1647
1689
  contextmenu: (event: MapLayerMouseEvent) => void;
1648
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<LineLayerProps>, {
1690
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<LineLayerProps>, {
1649
1691
  sourceLayer: undefined;
1650
1692
  paint: () => {};
1651
1693
  layout: () => {};
@@ -1763,6 +1805,50 @@ declare interface MapFloatingPanelProps extends BaseProps {
1763
1805
  ariaLabel?: string;
1764
1806
  }
1765
1807
 
1808
+ export declare const MapIconTextPin: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<MapIconTextPinProps>, {
1809
+ text: undefined;
1810
+ color: string;
1811
+ textColor: string;
1812
+ ariaLabel: undefined;
1813
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<MapIconTextPinProps>, {
1814
+ text: undefined;
1815
+ color: string;
1816
+ textColor: string;
1817
+ ariaLabel: undefined;
1818
+ }>>> & Readonly<{}>, {
1819
+ ariaLabel: string;
1820
+ text: string;
1821
+ color: string;
1822
+ textColor: string;
1823
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1824
+
1825
+ export declare interface MapIconTextPinProps extends BaseProps {
1826
+ /** Font Awesome icon class, e.g. "fa-solid fa-gauge-circle-bolt" */
1827
+ icon: string;
1828
+ /** Label text displayed next to the icon. Omit for icon-only mode. */
1829
+ text?: string;
1830
+ /** Background color of the pin bubble (default: "#0F33F5") */
1831
+ color?: string;
1832
+ /** Color of the icon and text (default: "white") */
1833
+ textColor?: string;
1834
+ /** Accessible label for the pin. Sets role="img" and aria-label when provided. */
1835
+ ariaLabel?: string;
1836
+ }
1837
+
1838
+ export declare const MapLoadingOverlay: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
1839
+ visible: boolean;
1840
+ text?: string;
1841
+ }>, {
1842
+ text: string;
1843
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
1844
+ visible: boolean;
1845
+ text?: string;
1846
+ }>, {
1847
+ text: string;
1848
+ }>>> & Readonly<{}>, {
1849
+ text: string;
1850
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1851
+
1766
1852
  export declare const MapMarker: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
1767
1853
 
1768
1854
  export declare interface MapMarkerEmits {
@@ -1831,7 +1917,7 @@ declare interface MapPopupProps {
1831
1917
  layerName?: string;
1832
1918
  }
1833
1919
 
1834
- export declare const MapSearchControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<MapSearchControlProps>, {
1920
+ export declare const MapSearchControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<MapSearchControlProps>, {
1835
1921
  position: string;
1836
1922
  placeholder: string;
1837
1923
  geocode: boolean;
@@ -1845,7 +1931,7 @@ searchQuery: Ref<string, string>;
1845
1931
  search: (query: string) => void;
1846
1932
  result: (result: AisGeocodeResult) => void;
1847
1933
  error: (error: string) => void;
1848
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<MapSearchControlProps>, {
1934
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<MapSearchControlProps>, {
1849
1935
  position: string;
1850
1936
  placeholder: string;
1851
1937
  geocode: boolean;
@@ -1928,7 +2014,7 @@ declare interface PictometryAuthConfig {
1928
2014
  proxy?: string;
1929
2015
  }
1930
2016
 
1931
- export declare const PictometryButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<PictometryButtonProps>, {
2017
+ export declare const PictometryButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<PictometryButtonProps>, {
1932
2018
  position: string;
1933
2019
  iconSize: number;
1934
2020
  title: string;
@@ -1937,7 +2023,7 @@ disabled: boolean;
1937
2023
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1938
2024
  toggle: (payload: PictometryButtonTogglePayload) => void;
1939
2025
  error: (error: Error) => void;
1940
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<PictometryButtonProps>, {
2026
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<PictometryButtonProps>, {
1941
2027
  position: string;
1942
2028
  iconSize: number;
1943
2029
  title: string;
@@ -2041,14 +2127,14 @@ declare interface PictometryImageDisplayPreferences {
2041
2127
  mainPane: "oblique" | "ortho" | "street";
2042
2128
  }
2043
2129
 
2044
- export declare const PictometryLabelsControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryLabelsControlProps>, {
2130
+ export declare const PictometryLabelsControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<PictometryLabelsControlProps>, {
2045
2131
  initialState: boolean;
2046
2132
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2047
2133
  toggle: (payload: {
2048
2134
  layerName: string;
2049
2135
  visible: boolean;
2050
2136
  }) => void;
2051
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryLabelsControlProps>, {
2137
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<PictometryLabelsControlProps>, {
2052
2138
  initialState: boolean;
2053
2139
  }>>> & Readonly<{
2054
2140
  onToggle?: ((payload: {
@@ -2064,14 +2150,14 @@ declare interface PictometryLabelsControlProps {
2064
2150
  initialState?: boolean;
2065
2151
  }
2066
2152
 
2067
- export declare const PictometryLayerControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<PictometryLayerControlProps>, {
2153
+ export declare const PictometryLayerControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryLayerControlProps>, {
2068
2154
  initialState: boolean;
2069
2155
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2070
2156
  toggle: (payload: {
2071
2157
  layerName: string;
2072
2158
  visible: boolean;
2073
2159
  }) => void;
2074
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<PictometryLayerControlProps>, {
2160
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<PictometryLayerControlProps>, {
2075
2161
  initialState: boolean;
2076
2162
  }>>> & Readonly<{
2077
2163
  onToggle?: ((payload: {
@@ -2101,7 +2187,7 @@ declare interface PictometryLonLat {
2101
2187
  lat: number;
2102
2188
  }
2103
2189
 
2104
- export declare const PictometryPanel: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<PictometryPanelProps_2>, {
2190
+ export declare const PictometryPanel: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<PictometryPanelProps_2>, {
2105
2191
  autoOpen: boolean;
2106
2192
  popOutEnabled: boolean;
2107
2193
  showParcels: boolean;
@@ -2119,7 +2205,7 @@ error: (error: {
2119
2205
  message: string;
2120
2206
  type: string;
2121
2207
  }) => void;
2122
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<PictometryPanelProps_2>, {
2208
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<PictometryPanelProps_2>, {
2123
2209
  autoOpen: boolean;
2124
2210
  popOutEnabled: boolean;
2125
2211
  showParcels: boolean;
@@ -2166,14 +2252,14 @@ declare interface PictometryPanelProps_2 {
2166
2252
  showLabels?: boolean;
2167
2253
  }
2168
2254
 
2169
- export declare const PictometryParcelsControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<PictometryParcelsControlProps>, {
2255
+ export declare const PictometryParcelsControl: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<PictometryParcelsControlProps>, {
2170
2256
  initialState: boolean;
2171
2257
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2172
2258
  toggle: (payload: {
2173
2259
  layerName: string;
2174
2260
  visible: boolean;
2175
2261
  }) => void;
2176
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<PictometryParcelsControlProps>, {
2262
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<PictometryParcelsControlProps>, {
2177
2263
  initialState: boolean;
2178
2264
  }>>> & Readonly<{
2179
2265
  onToggle?: ((payload: {
@@ -2235,12 +2321,12 @@ declare interface PolygonGeometry_2 {
2235
2321
  */
2236
2322
  export declare function queryParcelAtPoint(lng: number, lat: number): Promise<ParcelQueryResult | null>;
2237
2323
 
2238
- export declare const RasterLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<RasterLayerProps>, {
2324
+ export declare const RasterLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<RasterLayerProps>, {
2239
2325
  paint: () => {};
2240
2326
  minzoom: undefined;
2241
2327
  maxzoom: undefined;
2242
2328
  beforeId: undefined;
2243
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<RasterLayerProps>, {
2329
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<RasterLayerProps>, {
2244
2330
  paint: () => {};
2245
2331
  minzoom: undefined;
2246
2332
  maxzoom: undefined;
@@ -2319,7 +2405,7 @@ export declare interface RecordingsQueryResult {
2319
2405
 
2320
2406
  declare type ShapeGeometry = PolygonGeometry | LineStringGeometry | PointGeometry;
2321
2407
 
2322
- export declare const SymbolLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<SymbolLayerProps>, {
2408
+ export declare const SymbolLayer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<SymbolLayerProps>, {
2323
2409
  sourceLayer: undefined;
2324
2410
  paint: () => {};
2325
2411
  layout: () => {};
@@ -2338,7 +2424,7 @@ mousemove: (event: MapLayerMouseEvent) => void;
2338
2424
  mousedown: (event: MapLayerMouseEvent) => void;
2339
2425
  mouseup: (event: MapLayerMouseEvent) => void;
2340
2426
  contextmenu: (event: MapLayerMouseEvent) => void;
2341
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<SymbolLayerProps>, {
2427
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<SymbolLayerProps>, {
2342
2428
  sourceLayer: undefined;
2343
2429
  paint: () => {};
2344
2430
  layout: () => {};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-DjAbh4d5.cjs"),o=require("./useMapControl-DRyRMqub.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.CyclomediaButton;exports.CyclomediaPanel=e.CyclomediaPanel;exports.CyclomediaRecordingsLayer=e._sfc_main$15;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.MapFloatingPanel=e._sfc_main$8;exports.MapMarker=e._sfc_main;exports.MapNavigationControl=e._sfc_main$7;exports.MapPopup=e._sfc_main$1;exports.MapSearchControl=e._sfc_main$14;exports.PictometryButton=e.PictometryButton;exports.PictometryLabelsControl=e._sfc_main$17;exports.PictometryLayerControl=e.PictometryLayerControl;exports.PictometryPanel=e.PictometryPanel;exports.PictometryParcelsControl=e._sfc_main$16;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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-i6bdCrS1.cjs"),o=require("./useMapControl-DRyRMqub.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.CyclomediaButton;exports.CyclomediaPanel=e.CyclomediaPanel;exports.CyclomediaRecordingsLayer=e._sfc_main$15;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.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.PictometryButton=e.PictometryButton;exports.PictometryLabelsControl=e._sfc_main$17;exports.PictometryLayerControl=e.PictometryLayerControl;exports.PictometryPanel=e.PictometryPanel;exports.PictometryParcelsControl=e._sfc_main$16;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,6 +1,6 @@
1
- import { m as o, l as s, d as r, C as t, o as l, p as i, i as c, b as n, k as y, c as m, M as p, j as d, h as u, _ as P, g, a as C, n as L, P as M, t as f, r as B, q as S, s as b, f as h, e as k, y as x, z as T, B as q, A as v, w, E as A, G as D, F, D as G, v as O, u as R, x as j } from "./PictometryPanel-DNJkUIVi.js";
2
- import { u as E } from "./useMapControl-JxftoDwE.js";
3
- import { f as N, g as U, q as V } from "./index-BXLyy2C_.js";
1
+ import { o, n as s, e as r, C as t, q as l, r as i, k as c, c as n, m as y, d as m, M as p, l as d, j as u, a as P, h as g, _ as L, i as C, b as M, p as f, P as B, v as S, t as b, s as x, u as T, g as h, f as k, A as v, B as q, E as w, D as A, y as D, G as F, I as G, H as I, F as O, x as R, w as j, z } from "./PictometryPanel-CWLQN6Ip.js";
2
+ import { u as H } from "./useMapControl-JxftoDwE.js";
3
+ import { f as U, g as V, q as _ } from "./index-BXLyy2C_.js";
4
4
  export {
5
5
  o as BasemapDropdown,
6
6
  s as BasemapToggle,
@@ -15,31 +15,33 @@ export {
15
15
  p as Map,
16
16
  d as MapButton,
17
17
  u as MapFloatingPanel,
18
- P as MapMarker,
19
- g as MapNavigationControl,
20
- C as MapPopup,
21
- L as MapSearchControl,
22
- M as PictometryButton,
23
- f as PictometryLabelsControl,
24
- B as PictometryLayerControl,
25
- S as PictometryPanel,
26
- b as PictometryParcelsControl,
18
+ P as MapIconTextPin,
19
+ g as MapLoadingOverlay,
20
+ L as MapMarker,
21
+ C as MapNavigationControl,
22
+ M as MapPopup,
23
+ f as MapSearchControl,
24
+ B as PictometryButton,
25
+ S as PictometryLabelsControl,
26
+ b as PictometryLayerControl,
27
+ x as PictometryPanel,
28
+ T as PictometryParcelsControl,
27
29
  h as RasterLayer,
28
30
  k as SymbolLayer,
29
- x as clearTokenCache,
30
- T as defaultBasemapSource,
31
- q as defaultImageryOptions,
32
- v as defaultLabelsSource,
33
- N as fetchParcelGeometry,
34
- U as geocodeAddress,
35
- w as getValidToken,
36
- A as imageryLabelsSource,
37
- D as imageryLabelsUrl,
38
- F as imageryParcelOutlinesSource,
39
- G as imagerySources,
40
- O as isPictometryLoaded,
41
- R as loadPictometryScript,
42
- V as queryParcelAtPoint,
43
- E as useMapControl,
44
- j as validateCredentials
31
+ v as clearTokenCache,
32
+ q as defaultBasemapSource,
33
+ w as defaultImageryOptions,
34
+ A as defaultLabelsSource,
35
+ U as fetchParcelGeometry,
36
+ V as geocodeAddress,
37
+ D as getValidToken,
38
+ F as imageryLabelsSource,
39
+ G as imageryLabelsUrl,
40
+ I as imageryParcelOutlinesSource,
41
+ O as imagerySources,
42
+ R as isPictometryLoaded,
43
+ j as loadPictometryScript,
44
+ _ as queryParcelAtPoint,
45
+ H as useMapControl,
46
+ z as validateCredentials
45
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phila/phila-ui-map-core",
3
- "version": "0.0.3-beta.7",
3
+ "version": "0.0.3-beta.9",
4
4
  "type": "module",
5
5
  "description": "Core map utilities and styles for Phila UI library",
6
6
  "main": "./dist/index.js",
@@ -60,7 +60,7 @@
60
60
  "pepjs": "^0.5.3",
61
61
  "react": "18.3.1",
62
62
  "react-dom": "18.3.1",
63
- "@phila/phila-ui-core": "2.3.1-beta.0",
63
+ "@phila/phila-ui-core": "2.3.1",
64
64
  "@phila/phila-ui-search": "1.1.1-beta.1"
65
65
  },
66
66
  "scripts": {
@@ -1,4 +0,0 @@
1
- import { p as f } from "./PictometryPanel-DNJkUIVi.js";
2
- export {
3
- f as default
4
- };