@phila/phila-ui-map-core 1.1.0-beta.18 → 1.1.0-beta.20
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-4M9ukpEi.js +4 -0
- package/dist/{CyclomediaButton-shZEYiZ0.cjs → CyclomediaButton-DrW9lKrt.cjs} +1 -1
- package/dist/{CyclomediaCameraIcon-CvNTiT5k.cjs → CyclomediaCameraIcon-BFUUzQeZ.cjs} +1 -1
- package/dist/{CyclomediaCameraIcon-BuAmw3C2.js → CyclomediaCameraIcon-tRVDqOwG.js} +1 -1
- package/dist/{CyclomediaRecordingsLayer-BZdKn0TG.cjs → CyclomediaRecordingsLayer-DD3ngFMc.cjs} +1 -1
- package/dist/CyclomediaRecordingsLayer-DgBVzedk.js +4 -0
- package/dist/{CyclomediaViewcone-Crl_y12v.cjs → CyclomediaViewcone-DZPKifsT.cjs} +1 -1
- package/dist/{CyclomediaViewcone-BL0eFOin.js → CyclomediaViewcone-InpByWUM.js} +1 -1
- package/dist/{PictometryButton-Bdka-xbH.cjs → PictometryButton-DHRSgVVn.cjs} +1 -1
- package/dist/PictometryButton-lYD8K4nh.js +4 -0
- package/dist/{PictometryPanel-BRFTrxO-.js → PictometryPanel-CsXnOu_x.js} +12451 -12395
- package/dist/{PictometryPanel--H0mtkqB.cjs → PictometryPanel-CwLAS2ef.cjs} +160 -160
- package/dist/assets/phila-ui-map-core.css +1 -1
- package/dist/components.d.ts +15 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/CyclomediaButton-BYM4wC4-.js +0 -4
- package/dist/CyclomediaRecordingsLayer-Dsvlll5c.js +0 -4
- package/dist/PictometryButton-pIzn5XRF.js +0 -4
package/dist/components.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/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-CwLAS2ef.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-CsXnOu_x.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
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PictometryPanel-CwLAS2ef.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-CsXnOu_x.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.20",
|
|
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-checkbox": "0.1.1-beta.7",
|
|
64
|
-
"@phila/phila-ui-core": "3.0.0-beta.6",
|
|
65
63
|
"@phila/phila-ui-tooltip": "0.1.0-beta.7",
|
|
66
|
-
"@phila/phila-ui-
|
|
64
|
+
"@phila/phila-ui-checkbox": "0.1.1-beta.7",
|
|
65
|
+
"@phila/phila-ui-search": "1.2.0-beta.9",
|
|
66
|
+
"@phila/phila-ui-core": "3.0.0-beta.6"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "vite build && npm run copy-css",
|