@mapvx/web-kit 1.2.0-develop.10 → 1.2.0-develop.12
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/cjs/chunks/{DRACOLoader-BatVMFjv.cjs → DRACOLoader-B7myelzS.cjs} +2 -2
- package/dist/cjs/chunks/{GLTFLoader-DPzCuhq_.cjs → GLTFLoader-Bhlg-PN9.cjs} +2 -2
- package/dist/cjs/chunks/{KTX2Loader-D3UkVYrQ.cjs → KTX2Loader-8oVInPCY.cjs} +2 -2
- package/dist/cjs/chunks/{accessibility-DSrJvXsP.cjs → accessibility-DQMGPqEF.cjs} +2 -2
- package/dist/cjs/chunks/{back_arrow-DDucL2vy.cjs → back_arrow-BT38PaNs.cjs} +2 -2
- package/dist/cjs/chunks/{debug-hooks-6E-6XyZt.cjs → debug-hooks-DDHLlDXD.cjs} +2 -2
- package/dist/cjs/chunks/{dist-Bn3kS9il.cjs → dist-BsZPOLf6.cjs} +2 -2
- package/dist/cjs/chunks/{dist-C7Xq932f.cjs → dist-CdHuaZdF.cjs} +2 -2
- package/dist/cjs/chunks/{dist-CyU0uhT_.cjs → dist-Dqt88Zla.cjs} +2 -2
- package/dist/cjs/chunks/{expression-YhbojQDk.cjs → expression-DOSBosTT.cjs} +2 -2
- package/dist/cjs/chunks/{globe-viewport-L8jhK17I.cjs → globe-viewport-CTph-zTi.cjs} +2 -2
- package/dist/cjs/chunks/{icon-origin-point-Fx1ItO6l.cjs → icon-origin-point-BQq_v8fl.cjs} +2 -2
- package/dist/cjs/chunks/{meshopt_decoder.module-CfZgR5oC.cjs → meshopt_decoder.module-Xc0iTpWr.cjs} +2 -2
- package/dist/cjs/chunks/{repeat_icon-DTL5IJer.cjs → repeat_icon-DgZwJHQn.cjs} +2 -2
- package/dist/cjs/chunks/{rolldown-runtime-X-Z9OGZI.cjs → rolldown-runtime-DCHM1mdG.cjs} +2 -2
- package/dist/cjs/chunks/{shader-type-decoder-CM9es9dC.cjs → shader-type-decoder-ClUxS2uC.cjs} +2 -2
- package/dist/cjs/chunks/{styles-DSsNALyl.cjs → styles-ap7q_oUC.cjs} +2 -2
- package/dist/cjs/chunks/{three.module-DrkjviT-.cjs → three.module-CZrl_ZUv.cjs} +2 -2
- package/dist/cjs/chunks/{walking-DH57xlEw.cjs → walking-zHHQi5LZ.cjs} +2 -2
- package/dist/cjs/chunks/{webgl-CmQcn-HM.cjs → webgl-CmboLkDs.cjs} +2 -2
- package/dist/cjs/chunks/{webgl-device-Bjj2DuDc.cjs → webgl-device-BXkaCOiH.cjs} +2 -2
- package/dist/cjs/web-kit.cjs +41 -53
- package/dist/es/chunks/{DRACOLoader-Coaeymvd.js → DRACOLoader-CNpxxqVh.js} +2 -2
- package/dist/es/chunks/{GLTFLoader-Cg9W7uGp.js → GLTFLoader-CbnWtZLU.js} +2 -2
- package/dist/es/chunks/{KTX2Loader-CW7QOwqk.js → KTX2Loader-DA7PMnUh.js} +2 -2
- package/dist/es/chunks/{accessibility-CY2Znzrd.js → accessibility-D1G0e3jm.js} +2 -2
- package/dist/es/chunks/{back_arrow-DXxWd53C.js → back_arrow-DOtCNdHS.js} +2 -2
- package/dist/es/chunks/{debug-hooks-CttUbwx0.js → debug-hooks-Cd_b4Bki.js} +2 -2
- package/dist/es/chunks/{dist-TkIGGp-O.js → dist-CrKfguaO.js} +2 -2
- package/dist/es/chunks/{dist-DrDbx8fV.js → dist-DXAjwVD1.js} +2 -2
- package/dist/es/chunks/{dist-Dzp0YWIR.js → dist-DXRF-lm8.js} +2 -2
- package/dist/es/chunks/{expression-DK4fcsrz.js → expression-6f6kc1i6.js} +2 -2
- package/dist/es/chunks/{globe-viewport-CmXSxt1e.js → globe-viewport-Brth2aT0.js} +2 -2
- package/dist/es/chunks/{icon-origin-point-CsdwEebb.js → icon-origin-point-DWIRQVPT.js} +2 -2
- package/dist/es/chunks/{meshopt_decoder.module-CymL9NxH.js → meshopt_decoder.module-Ch7mmZHA.js} +2 -2
- package/dist/es/chunks/{repeat_icon-VI8TF8gY.js → repeat_icon-D5mfHUaL.js} +2 -2
- package/dist/es/chunks/{rolldown-runtime-DD4WNi4o.js → rolldown-runtime-BptZgroH.js} +2 -2
- package/dist/es/chunks/{shader-type-decoder-aS2S_0ef.js → shader-type-decoder-CQKC8yW9.js} +2 -2
- package/dist/es/chunks/{styles-CT7CDFlr.js → styles-Be_VFWZ4.js} +2 -2
- package/dist/es/chunks/{three.module-BeGwQoXi.js → three.module-CrfgWCl8.js} +2 -2
- package/dist/es/chunks/{walking-DJUq61cT.js → walking-BRSMxmlG.js} +2 -2
- package/dist/es/chunks/{webgl-Cm54xPsy.js → webgl-ClUuONJn.js} +2 -2
- package/dist/es/chunks/{webgl-device-Cmfm4mkc.js → webgl-device-6J3R62SY.js} +2 -2
- package/dist/es/web-kit.mjs +44 -56
- package/dist/iife/web-kit.iife.js +41 -53
- package/dist/types/index.d.ts +17 -19
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -187,10 +187,10 @@ export declare function clearAllCacheStorage(): void;
|
|
|
187
187
|
* Acts as a single source of truth for state management across components.
|
|
188
188
|
*/
|
|
189
189
|
declare class ContextManager {
|
|
190
|
-
private sdkProvider;
|
|
191
|
-
private placeProvider;
|
|
192
|
-
private routeProvider;
|
|
193
|
-
private uiProvider;
|
|
190
|
+
private readonly sdkProvider;
|
|
191
|
+
private readonly placeProvider;
|
|
192
|
+
private readonly routeProvider;
|
|
193
|
+
private readonly uiProvider;
|
|
194
194
|
/**
|
|
195
195
|
* Creates a new ContextManager attached to the given host element.
|
|
196
196
|
* Sets up all context providers with their initial values.
|
|
@@ -298,8 +298,8 @@ declare const FLOOR_SELECTOR_POSITIONS: readonly ["top-left", "top-center", "top
|
|
|
298
298
|
* Controller for managing floor-related operations.
|
|
299
299
|
*/
|
|
300
300
|
declare class FloorController implements ReactiveController {
|
|
301
|
-
private host;
|
|
302
|
-
private contextManager;
|
|
301
|
+
private readonly host;
|
|
302
|
+
private readonly contextManager;
|
|
303
303
|
constructor(host: ReactiveControllerHost, contextManager: ContextManager);
|
|
304
304
|
hostConnected(): void;
|
|
305
305
|
hostDisconnected(): void;
|
|
@@ -552,7 +552,7 @@ export declare class MapViewWithModal extends LitElement {
|
|
|
552
552
|
* side rather than through the controller (see Task 9's identical wiring and its own doc comment).
|
|
553
553
|
* Safe to call for either source: idempotent on an already-applied floor.
|
|
554
554
|
*/
|
|
555
|
-
private _floorChangeHandler;
|
|
555
|
+
private readonly _floorChangeHandler;
|
|
556
556
|
updated(changedProperties: PropertyValues): void;
|
|
557
557
|
/** The `placeId` last passed to {@link PlaceController.setOriginAndDestination}, or `undefined`. */
|
|
558
558
|
private _placeIdRequestedFor;
|
|
@@ -757,8 +757,8 @@ declare interface PlaceContextType {
|
|
|
757
757
|
* Controller for managing place-related operations.
|
|
758
758
|
*/
|
|
759
759
|
declare class PlaceController implements ReactiveController {
|
|
760
|
-
private host;
|
|
761
|
-
private contextManager;
|
|
760
|
+
private readonly host;
|
|
761
|
+
private readonly contextManager;
|
|
762
762
|
private connected;
|
|
763
763
|
/**
|
|
764
764
|
* Request counter, the reference's `placesRequest`. Every pair load bumps it and keeps the value it
|
|
@@ -976,8 +976,8 @@ declare interface RouteContextType {
|
|
|
976
976
|
* Controller for managing route-related operations.
|
|
977
977
|
*/
|
|
978
978
|
declare class RouteController implements ReactiveController {
|
|
979
|
-
private host;
|
|
980
|
-
private contextManager;
|
|
979
|
+
private readonly host;
|
|
980
|
+
private readonly contextManager;
|
|
981
981
|
private connected;
|
|
982
982
|
/**
|
|
983
983
|
* Request counter, the reference's `routeRequest`. Every route request bumps it and keeps the value
|
|
@@ -1738,6 +1738,12 @@ declare global {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
|
|
1740
1740
|
|
|
1741
|
+
declare global {
|
|
1742
|
+
var dataLayer: unknown[];
|
|
1743
|
+
var gtag: (...args: unknown[]) => void;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
|
|
1741
1747
|
declare global {
|
|
1742
1748
|
interface HTMLElementEventMap {
|
|
1743
1749
|
/**
|
|
@@ -1755,11 +1761,3 @@ declare global {
|
|
|
1755
1761
|
'map-loading-overlay': MapLoadingOverlay;
|
|
1756
1762
|
}
|
|
1757
1763
|
}
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
declare global {
|
|
1761
|
-
interface Window {
|
|
1762
|
-
dataLayer: unknown[];
|
|
1763
|
-
gtag: (...args: unknown[]) => void;
|
|
1764
|
-
}
|
|
1765
|
-
}
|
package/package.json
CHANGED