@phila/phila-ui-map-core 1.1.0-beta.18 → 1.1.0-beta.19

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.
@@ -1661,6 +1661,8 @@ position: string;
1661
1661
  title: string;
1662
1662
  trackUser: boolean;
1663
1663
  markerColor: string;
1664
+ showLocationMarker: boolean;
1665
+ deniedMessage: string;
1664
1666
  teleportTo: undefined;
1665
1667
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1666
1668
  located: (data: {
@@ -1669,11 +1671,14 @@ latitude: number;
1669
1671
  accuracy: number;
1670
1672
  }) => void;
1671
1673
  error: (error: Error | GeolocationPositionError) => void;
1674
+ "permission-change": (state: GeolocationPermissionState) => void;
1672
1675
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<GeolocationButtonProps>, {
1673
1676
  position: string;
1674
1677
  title: string;
1675
1678
  trackUser: boolean;
1676
1679
  markerColor: string;
1680
+ showLocationMarker: boolean;
1681
+ deniedMessage: string;
1677
1682
  teleportTo: undefined;
1678
1683
  }>>> & Readonly<{
1679
1684
  onLocated?: ((data: {
@@ -1682,12 +1687,15 @@ latitude: number;
1682
1687
  accuracy: number;
1683
1688
  }) => any) | undefined;
1684
1689
  onError?: ((error: Error | GeolocationPositionError) => any) | undefined;
1690
+ "onPermission-change"?: ((state: GeolocationPermissionState) => any) | undefined;
1685
1691
  }>, {
1686
1692
  position: MapControlPosition_2;
1687
1693
  title: string;
1688
1694
  teleportTo: HTMLElement | null;
1689
1695
  trackUser: boolean;
1690
1696
  markerColor: string;
1697
+ showLocationMarker: boolean;
1698
+ deniedMessage: string;
1691
1699
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1692
1700
 
1693
1701
  declare interface GeolocationButtonProps extends BaseProps {
@@ -1697,10 +1705,17 @@ declare interface GeolocationButtonProps extends BaseProps {
1697
1705
  size?: ComponentSize;
1698
1706
  title?: string;
1699
1707
  trackUser?: boolean;
1708
+ /** Color of the built-in location dot. Applied when the marker is created; later changes are not reflected. */
1700
1709
  markerColor?: string;
1710
+ /** Show the pulsing location dot when located. Default true; set false if the app draws its own marker. */
1711
+ showLocationMarker?: boolean;
1712
+ /** Message shown in the built-in callout when location is blocked (the browser will not re-prompt a blocked permission). */
1713
+ deniedMessage?: string;
1701
1714
  teleportTo?: HTMLElement | null;
1702
1715
  }
1703
1716
 
1717
+ declare type GeolocationPermissionState = "granted" | "prompt" | "denied";
1718
+
1704
1719
  /**
1705
1720
  * Get a valid access token, using cache if available and not expired
1706
1721
  *
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel--H0mtkqB.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-Df1QZYdk.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;
@@ -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-BRFTrxO-.js";
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-BDgmBiP1.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
@@ -1661,6 +1661,8 @@ position: string;
1661
1661
  title: string;
1662
1662
  trackUser: boolean;
1663
1663
  markerColor: string;
1664
+ showLocationMarker: boolean;
1665
+ deniedMessage: string;
1664
1666
  teleportTo: undefined;
1665
1667
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1666
1668
  located: (data: {
@@ -1669,11 +1671,14 @@ latitude: number;
1669
1671
  accuracy: number;
1670
1672
  }) => void;
1671
1673
  error: (error: Error | GeolocationPositionError) => void;
1674
+ "permission-change": (state: GeolocationPermissionState) => void;
1672
1675
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<GeolocationButtonProps>, {
1673
1676
  position: string;
1674
1677
  title: string;
1675
1678
  trackUser: boolean;
1676
1679
  markerColor: string;
1680
+ showLocationMarker: boolean;
1681
+ deniedMessage: string;
1677
1682
  teleportTo: undefined;
1678
1683
  }>>> & Readonly<{
1679
1684
  onLocated?: ((data: {
@@ -1682,12 +1687,15 @@ latitude: number;
1682
1687
  accuracy: number;
1683
1688
  }) => any) | undefined;
1684
1689
  onError?: ((error: Error | GeolocationPositionError) => any) | undefined;
1690
+ "onPermission-change"?: ((state: GeolocationPermissionState) => any) | undefined;
1685
1691
  }>, {
1686
1692
  position: MapControlPosition_2;
1687
1693
  title: string;
1688
1694
  teleportTo: HTMLElement | null;
1689
1695
  trackUser: boolean;
1690
1696
  markerColor: string;
1697
+ showLocationMarker: boolean;
1698
+ deniedMessage: string;
1691
1699
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1692
1700
 
1693
1701
  declare interface GeolocationButtonProps extends BaseProps {
@@ -1697,10 +1705,17 @@ declare interface GeolocationButtonProps extends BaseProps {
1697
1705
  size?: ComponentSize;
1698
1706
  title?: string;
1699
1707
  trackUser?: boolean;
1708
+ /** Color of the built-in location dot. Applied when the marker is created; later changes are not reflected. */
1700
1709
  markerColor?: string;
1710
+ /** Show the pulsing location dot when located. Default true; set false if the app draws its own marker. */
1711
+ showLocationMarker?: boolean;
1712
+ /** Message shown in the built-in callout when location is blocked (the browser will not re-prompt a blocked permission). */
1713
+ deniedMessage?: string;
1701
1714
  teleportTo?: HTMLElement | null;
1702
1715
  }
1703
1716
 
1717
+ declare type GeolocationPermissionState = "granted" | "prompt" | "denied";
1718
+
1704
1719
  /**
1705
1720
  * Get a valid access token, using cache if available and not expired
1706
1721
  *
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel--H0mtkqB.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-Df1QZYdk.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-BRFTrxO-.js";
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-BDgmBiP1.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.18",
3
+ "version": "1.1.0-beta.19",
4
4
  "type": "module",
5
5
  "description": "Core map utilities and styles for Phila UI library",
6
6
  "main": "./dist/index.js",
@@ -1,4 +0,0 @@
1
- import { s } from "./PictometryPanel-BRFTrxO-.js";
2
- export {
3
- s as default
4
- };
@@ -1,4 +0,0 @@
1
- import { t } from "./PictometryPanel-BRFTrxO-.js";
2
- export {
3
- t as default
4
- };
@@ -1,4 +0,0 @@
1
- import { u as f } from "./PictometryPanel-BRFTrxO-.js";
2
- export {
3
- f as default
4
- };