@wovvmap/contracts 0.0.0-stage → 1.2.0
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/catalog.d.ts +427 -0
- package/dist/catalog.d.ts.map +1 -0
- package/dist/catalog.js +21 -0
- package/dist/depthConfig.d.ts +112 -0
- package/dist/depthConfig.d.ts.map +1 -0
- package/dist/depthConfig.js +109 -0
- package/dist/discovery.d.ts +122 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +91 -0
- package/dist/endpoints.d.ts +63 -0
- package/dist/endpoints.d.ts.map +1 -0
- package/dist/endpoints.js +61 -0
- package/dist/events.d.ts +198 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +204 -0
- package/dist/geometry.d.ts +190 -0
- package/dist/geometry.d.ts.map +1 -0
- package/dist/geometry.js +6 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/interaction.d.ts +37 -0
- package/dist/interaction.d.ts.map +1 -0
- package/dist/interaction.js +32 -0
- package/dist/interactionScope.d.ts +15 -0
- package/dist/interactionScope.d.ts.map +1 -0
- package/dist/interactionScope.js +30 -0
- package/dist/metadata.d.ts +217 -0
- package/dist/metadata.d.ts.map +1 -0
- package/dist/metadata.js +102 -0
- package/dist/multiFloor.d.ts +102 -0
- package/dist/multiFloor.d.ts.map +1 -0
- package/dist/multiFloor.js +30 -0
- package/dist/navigation/index.d.ts +17 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/index.js +14 -0
- package/dist/navigation/navigationConfig.d.ts +21 -0
- package/dist/navigation/navigationConfig.d.ts.map +1 -0
- package/dist/navigation/navigationConfig.js +18 -0
- package/dist/navigation/offlineRecovery.d.ts +29 -0
- package/dist/navigation/offlineRecovery.d.ts.map +1 -0
- package/dist/navigation/offlineRecovery.js +47 -0
- package/dist/navigation/offlineRouteConfig.d.ts +17 -0
- package/dist/navigation/offlineRouteConfig.d.ts.map +1 -0
- package/dist/navigation/offlineRouteConfig.js +53 -0
- package/dist/navigation/resolveNavigationConfig.d.ts +6 -0
- package/dist/navigation/resolveNavigationConfig.d.ts.map +1 -0
- package/dist/navigation/resolveNavigationConfig.js +50 -0
- package/dist/navigation/routeArtifacts.d.ts +130 -0
- package/dist/navigation/routeArtifacts.d.ts.map +1 -0
- package/dist/navigation/routeArtifacts.js +1 -0
- package/dist/navigation/routeDelivery.d.ts +83 -0
- package/dist/navigation/routeDelivery.d.ts.map +1 -0
- package/dist/navigation/routeDelivery.js +22 -0
- package/dist/navigation/routeJourneyValidation.d.ts +5 -0
- package/dist/navigation/routeJourneyValidation.d.ts.map +1 -0
- package/dist/navigation/routeJourneyValidation.js +65 -0
- package/dist/navigation/routeOperations.d.ts +70 -0
- package/dist/navigation/routeOperations.d.ts.map +1 -0
- package/dist/navigation/routeOperations.js +22 -0
- package/dist/navigation/routePlayback.d.ts +98 -0
- package/dist/navigation/routePlayback.d.ts.map +1 -0
- package/dist/navigation/routePlayback.js +44 -0
- package/dist/navigation/routeResponseValidation.d.ts +10 -0
- package/dist/navigation/routeResponseValidation.d.ts.map +1 -0
- package/dist/navigation/routeResponseValidation.js +280 -0
- package/dist/navigation/routeSnapshot.d.ts +5 -0
- package/dist/navigation/routeSnapshot.d.ts.map +1 -0
- package/dist/navigation/routeSnapshot.js +145 -0
- package/dist/navigation/routeState.d.ts +105 -0
- package/dist/navigation/routeState.d.ts.map +1 -0
- package/dist/navigation/routeState.js +1 -0
- package/dist/navigation/routeSteps.d.ts +27 -0
- package/dist/navigation/routeSteps.d.ts.map +1 -0
- package/dist/navigation/routeSteps.js +1 -0
- package/dist/navigation/savedRoute.d.ts +156 -0
- package/dist/navigation/savedRoute.d.ts.map +1 -0
- package/dist/navigation/savedRoute.js +68 -0
- package/dist/navigation/savedRouteValidation.d.ts +5 -0
- package/dist/navigation/savedRouteValidation.d.ts.map +1 -0
- package/dist/navigation/savedRouteValidation.js +298 -0
- package/dist/nodeLine.d.ts +45 -0
- package/dist/nodeLine.d.ts.map +1 -0
- package/dist/nodeLine.js +44 -0
- package/dist/nodePoint.d.ts +111 -0
- package/dist/nodePoint.d.ts.map +1 -0
- package/dist/nodePoint.js +152 -0
- package/dist/offerValidity.d.ts +11 -0
- package/dist/offerValidity.d.ts.map +1 -0
- package/dist/offerValidity.js +27 -0
- package/dist/offline.d.ts +60 -0
- package/dist/offline.d.ts.map +1 -0
- package/dist/offline.js +47 -0
- package/dist/preparedMap.d.ts +186 -0
- package/dist/preparedMap.d.ts.map +1 -0
- package/dist/preparedMap.js +6 -0
- package/dist/preparedMapIdentity.d.ts +3 -0
- package/dist/preparedMapIdentity.d.ts.map +1 -0
- package/dist/preparedMapIdentity.js +30 -0
- package/dist/publicAssets.d.ts +11 -0
- package/dist/publicAssets.d.ts.map +1 -0
- package/dist/publicAssets.js +5 -0
- package/dist/taxonomy.d.ts +50 -0
- package/dist/taxonomy.d.ts.map +1 -0
- package/dist/taxonomy.js +10 -0
- package/dist/theme.d.ts +143 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +141 -0
- package/dist/viewer.d.ts +333 -0
- package/dist/viewer.d.ts.map +1 -0
- package/dist/viewer.js +109 -0
- package/package.json +28 -3
- package/README.md +0 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PublicOfferData } from './metadata.js';
|
|
2
|
+
/** UTC epoch-millisecond validity window; absent bounds are open, malformed/reversed dates reject.
|
|
3
|
+
* Hinglish: Millisecond dates/offset-wali ISO date chale; missing bound open hai, galat range reject ho. */
|
|
4
|
+
export declare function getOfferWindow(offer: PublicOfferData): {
|
|
5
|
+
from: number;
|
|
6
|
+
to: number;
|
|
7
|
+
} | null;
|
|
8
|
+
/** Direct per-node compatibility read; live catalog queries use their already indexed availability.
|
|
9
|
+
* Hinglish: Seedha ek node ka read current date dekhe; catalog apna ready index use karta hai. */
|
|
10
|
+
export declare function hasActiveOffer(offers: readonly PublicOfferData[] | undefined, now?: number): boolean;
|
|
11
|
+
//# sourceMappingURL=offerValidity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offerValidity.d.ts","sourceRoot":"","sources":["../src/offerValidity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD;4GAC4G;AAC5G,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAY1F;AAED;kGACkG;AAClG,wBAAgB,cAAc,CAC5B,MAAM,EAAE,SAAS,eAAe,EAAE,GAAG,SAAS,EAC9C,GAAG,SAAa,GACf,OAAO,CAOT"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** UTC epoch-millisecond validity window; absent bounds are open, malformed/reversed dates reject.
|
|
2
|
+
* Hinglish: Millisecond dates/offset-wali ISO date chale; missing bound open hai, galat range reject ho. */
|
|
3
|
+
export function getOfferWindow(offer) {
|
|
4
|
+
const read = (value, fallback) => {
|
|
5
|
+
if (value === undefined || value === null || value === '')
|
|
6
|
+
return fallback;
|
|
7
|
+
if (typeof value === 'number')
|
|
8
|
+
return Number.isFinite(value) ? value : NaN;
|
|
9
|
+
if (typeof value !== 'string' || !value.trim())
|
|
10
|
+
return NaN;
|
|
11
|
+
const numeric = Number(value);
|
|
12
|
+
if (Number.isFinite(numeric))
|
|
13
|
+
return numeric;
|
|
14
|
+
return /T.*(?:Z|[+-]\d{2}:\d{2})$/i.test(value) ? Date.parse(value) : NaN;
|
|
15
|
+
};
|
|
16
|
+
const from = read(offer['offer_mst.valid_from'], -Infinity);
|
|
17
|
+
const to = read(offer['offer_mst.valid_to'], Infinity);
|
|
18
|
+
return from <= to ? { from, to } : null;
|
|
19
|
+
}
|
|
20
|
+
/** Direct per-node compatibility read; live catalog queries use their already indexed availability.
|
|
21
|
+
* Hinglish: Seedha ek node ka read current date dekhe; catalog apna ready index use karta hai. */
|
|
22
|
+
export function hasActiveOffer(offers, now = Date.now()) {
|
|
23
|
+
return (offers?.some((offer) => {
|
|
24
|
+
const window = getOfferWindow(offer);
|
|
25
|
+
return window !== null && now >= window.from && now <= window.to;
|
|
26
|
+
}) ?? false);
|
|
27
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { PreparedMapIdentity } from './preparedMap.js';
|
|
2
|
+
/** Explicit opt-in; this does not grant access or install a platform storage adapter.
|
|
3
|
+
* Hinglish: Enable karna access permission ya offline download complete hona nahi hai. */
|
|
4
|
+
export interface OfflineConfig {
|
|
5
|
+
readonly enabled: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** Own only the supported primitive before JSON can coerce boxed values or visit extra caller data.
|
|
8
|
+
* Hinglish: Sirf enabled copy ho; poora caller object/NodePoint traverse na ho aur same validation rahe. */
|
|
9
|
+
export declare function resolveOfflineConfig(config: OfflineConfig | null): OfflineConfig | null;
|
|
10
|
+
export type OfflineStatus = 'disabled' | 'unsupported' | 'idle' | 'checking' | 'saving' | 'ready' | 'removing' | 'error';
|
|
11
|
+
export type OfflineErrorCode = 'OFFLINE_STORAGE_FAILED' | 'OFFLINE_RECORD_INVALID' | 'OFFLINE_MAP_EXPIRED';
|
|
12
|
+
/** Compact host/UI projection; no prepared packet, asset URLs, graph or access credentials.
|
|
13
|
+
* Hinglish: UI ko status aur chhoti map pehchan mile; poora saved map host store mein copy nahi hoga. */
|
|
14
|
+
export interface OfflineMapSummary {
|
|
15
|
+
readonly mallId: string;
|
|
16
|
+
readonly environment: string;
|
|
17
|
+
readonly sourceVersion: PreparedMapIdentity['sourceVersion'];
|
|
18
|
+
readonly sourceRevision: string;
|
|
19
|
+
readonly savedAt: number | null;
|
|
20
|
+
}
|
|
21
|
+
export interface OfflineState {
|
|
22
|
+
readonly enabled: boolean;
|
|
23
|
+
readonly supported: boolean;
|
|
24
|
+
readonly status: OfflineStatus;
|
|
25
|
+
readonly map: OfflineMapSummary | null;
|
|
26
|
+
readonly error: {
|
|
27
|
+
readonly code: OfflineErrorCode;
|
|
28
|
+
readonly message: string;
|
|
29
|
+
} | null;
|
|
30
|
+
}
|
|
31
|
+
export declare const DISABLED_OFFLINE_STATE: OfflineState;
|
|
32
|
+
/** Copy only public fields at projection boundaries, including third-party typed transports.
|
|
33
|
+
* Hinglish: Extra runtime fields UI projection tak na pahunchein; nested summary bhi read-only ho. */
|
|
34
|
+
export declare function freezeOfflineState(state: OfflineState): OfflineState;
|
|
35
|
+
/** Jobs acknowledge immediately; completion/failure arrives through offlineChanged, not a long ACK.
|
|
36
|
+
* Hinglish: Download ka wait Native ACK mein nahi hoga; final status same event se dono SDK ko milega. */
|
|
37
|
+
export interface OfflineStateOperations {
|
|
38
|
+
configureOffline(config: OfflineConfig | null): OfflineState;
|
|
39
|
+
getOfflineState(): OfflineState;
|
|
40
|
+
prepareOfflineMap(): OfflineState;
|
|
41
|
+
cancelOfflineOperation(): OfflineState;
|
|
42
|
+
removeOfflineMap(): OfflineState;
|
|
43
|
+
}
|
|
44
|
+
/** Read public saved image bytes only; no raw map/graph access or remote URL fetching.
|
|
45
|
+
* Hinglish: Native Image SW use nahi karta; sirf current saved session ki image maang sakta hai. */
|
|
46
|
+
export interface OfflineOperations extends OfflineStateOperations {
|
|
47
|
+
readOfflineImage(url: string): Promise<string | null>;
|
|
48
|
+
}
|
|
49
|
+
export declare const OfflineCommands: Readonly<{
|
|
50
|
+
readonly readOfflineImage: "readOfflineImage";
|
|
51
|
+
readonly configureOffline: "configureOffline";
|
|
52
|
+
readonly getOfflineState: "getOfflineState";
|
|
53
|
+
readonly prepareOfflineMap: "prepareOfflineMap";
|
|
54
|
+
readonly cancelOfflineOperation: "cancelOfflineOperation";
|
|
55
|
+
readonly removeOfflineMap: "removeOfflineMap";
|
|
56
|
+
}>;
|
|
57
|
+
export type OfflineCommandArgs = {
|
|
58
|
+
[K in keyof OfflineOperations]: Parameters<Offl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AAO,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACrF;AACD,eAAO,MAAM,sBAAsB,EAAE,YAMnC,CAAA;AAEF;sGACsG;AACtG,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,YAAY,GAAG,YAAY,CAkBpE;AAED;0GAC0G;AAC1G,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,GAAG,YAAY,CAAA;IAC5D,eAAe,IAAI,YAAY,CAAA;IAC/B,iBAAiB,IAAI,YAAY,CAAA;IACjC,sBAAsB,IAAI,YAAY,CAAA;IACtC,gBAAgB,IAAI,YAAY,CAAA;CACjC;AACD;oGACoG;AACpG,MAAM,WAAW,iBAAkB,SAAQ,sBAAsB;IAC/D,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;CACtD;AACD,eAAO,MAAM,eAAe;;;;;;;EAO+B,CAAA;AAC3D,MAAM,MAAM,kBAAkB,GAAG;KAC9B,CAAC,IAAI,MAAM,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACjE,CAAA"}
|
package/dist/offline.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ViewerCommandError } from './events.js';
|
|
2
|
+
/** Own only the supported primitive before JSON can coerce boxed values or visit extra caller data.
|
|
3
|
+
* Hinglish: Sirf enabled copy ho; poora caller object/NodePoint traverse na ho aur same validation rahe. */
|
|
4
|
+
export function resolveOfflineConfig(config) {
|
|
5
|
+
if (config === null)
|
|
6
|
+
return null;
|
|
7
|
+
const enabled = config?.enabled;
|
|
8
|
+
if (typeof enabled !== 'boolean')
|
|
9
|
+
throw new ViewerCommandError('Invalid offline configuration.', { code: 'INVALID_REQUEST' });
|
|
10
|
+
return Object.freeze({ enabled });
|
|
11
|
+
}
|
|
12
|
+
export const DISABLED_OFFLINE_STATE = Object.freeze({
|
|
13
|
+
enabled: false,
|
|
14
|
+
supported: false,
|
|
15
|
+
status: 'disabled',
|
|
16
|
+
map: null,
|
|
17
|
+
error: null,
|
|
18
|
+
});
|
|
19
|
+
/** Copy only public fields at projection boundaries, including third-party typed transports.
|
|
20
|
+
* Hinglish: Extra runtime fields UI projection tak na pahunchein; nested summary bhi read-only ho. */
|
|
21
|
+
export function freezeOfflineState(state) {
|
|
22
|
+
return Object.freeze({
|
|
23
|
+
enabled: state.enabled,
|
|
24
|
+
supported: state.supported,
|
|
25
|
+
status: state.status,
|
|
26
|
+
map: state.map
|
|
27
|
+
? Object.freeze({
|
|
28
|
+
mallId: state.map.mallId,
|
|
29
|
+
environment: state.map.environment,
|
|
30
|
+
sourceVersion: state.map.sourceVersion,
|
|
31
|
+
sourceRevision: state.map.sourceRevision,
|
|
32
|
+
savedAt: state.map.savedAt,
|
|
33
|
+
})
|
|
34
|
+
: null,
|
|
35
|
+
error: state.error
|
|
36
|
+
? Object.freeze({ code: state.error.code, message: state.error.message })
|
|
37
|
+
: null,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
export const OfflineCommands = Object.freeze({
|
|
41
|
+
readOfflineImage: 'readOfflineImage',
|
|
42
|
+
configureOffline: 'configureOffline',
|
|
43
|
+
getOfflineState: 'getOfflineState',
|
|
44
|
+
prepareOfflineMap: 'prepareOfflineMap',
|
|
45
|
+
cancelOfflineOperation: 'cancelOfflineOperation',
|
|
46
|
+
removeOfflineMap: 'removeOfflineMap',
|
|
47
|
+
});
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { PublicAmenityData, PublicCategoryData, PublicSubCategoryData } from './catalog.js';
|
|
2
|
+
import type { DynamicDepthConfig } from './depthConfig.js';
|
|
3
|
+
import type { LocationName, Point3D, PointImage } from './geometry.js';
|
|
4
|
+
import type { PublicNodeData } from './nodePoint.js';
|
|
5
|
+
/** Prepared JSON format, independent of npm and source API versions.
|
|
6
|
+
* Hinglish: Ye packet ka format hai; npm version aur V1/V2 source version alag hain. */
|
|
7
|
+
export declare const PREPARED_MAP_FORMAT_VERSION: 1;
|
|
8
|
+
/** Public metadata preparation revision; refresh older cached packets even when source data is unchanged.
|
|
9
|
+
* Hinglish: Source updatedAt same ho tab bhi purane cache ko naye public detail fields ke liye refresh karein. */
|
|
10
|
+
export declare const PREPARED_MAP_PREPARATION_VERSION: "3";
|
|
11
|
+
/** Existing map preparation inputs, shared by server and SDK clients.
|
|
12
|
+
* Hinglish: Depth/brand ke existing options hi request mein jaate hain; private parser inject nahi hota. */
|
|
13
|
+
export interface MapPreparationOptions {
|
|
14
|
+
readonly depthConfig?: Partial<DynamicDepthConfig>;
|
|
15
|
+
readonly brandEnvironment?: 'sit' | 'prod';
|
|
16
|
+
}
|
|
17
|
+
/** Public mall summary and prepared delivery wrapper, independent of the private CMS format.
|
|
18
|
+
* Hinglish: Mall list/cache ke familiar fields hain; upstream response ya credentials nahi. */
|
|
19
|
+
export interface MallSummary {
|
|
20
|
+
readonly mall_id: string;
|
|
21
|
+
readonly mall_name: string;
|
|
22
|
+
readonly is_active: boolean;
|
|
23
|
+
readonly updatedAt?: string;
|
|
24
|
+
readonly id?: string;
|
|
25
|
+
readonly documentId?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface PreparedMallDocument extends MallSummary {
|
|
28
|
+
readonly data_json: PreparedMapData;
|
|
29
|
+
}
|
|
30
|
+
/** Exact preparation identity; effective options must participate in future cache keys.
|
|
31
|
+
* Hinglish: Same mall ke alag environment, source revision ya depth options mix nahi honge. */
|
|
32
|
+
export interface PreparedMapIdentity {
|
|
33
|
+
readonly formatVersion: typeof PREPARED_MAP_FORMAT_VERSION;
|
|
34
|
+
readonly mallId: string;
|
|
35
|
+
readonly environment: string;
|
|
36
|
+
readonly sourceVersion: 'v1' | 'v2';
|
|
37
|
+
readonly sourceRevision: string;
|
|
38
|
+
readonly preparationVersion: string;
|
|
39
|
+
readonly brandEnvironment: 'sit' | 'prod';
|
|
40
|
+
readonly depthConfig: DynamicDepthConfig;
|
|
41
|
+
/** Reprepare at the next existing offer start/end transition, even if source revision is unchanged.
|
|
42
|
+
* Hinglish: Offer ki date badalne par ready cache fresh bane; source updatedAt badalna zaroori nahi. */
|
|
43
|
+
readonly validUntil?: number;
|
|
44
|
+
/** CPU preparation variant belongs to the packet identity, never to the render loop.
|
|
45
|
+
* Hinglish: Flat/extruded aur scale badle to purana geometry packet reuse nahi hoga. */
|
|
46
|
+
readonly shapePreparation?: {
|
|
47
|
+
readonly version: '1';
|
|
48
|
+
readonly type: 'extruded' | 'flat';
|
|
49
|
+
readonly scale: number;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/** Finite axis-aligned bounds: floor bounds use world space, geometry bounds use mesh-local space.
|
|
53
|
+
* Hinglish: Floor aur geometry ki units unke owner se clear hain; empty bounds mein Infinity mat bhejo. */
|
|
54
|
+
export interface PreparedBounds {
|
|
55
|
+
readonly min: Point3D;
|
|
56
|
+
readonly max: Point3D;
|
|
57
|
+
}
|
|
58
|
+
/** Saved camera coordinates are already in world units; omitted zoom means no zoom override.
|
|
59
|
+
* Hinglish: Saved view par scale dobara nahi lagega; zoom missing ho to default 1 mat lagao. */
|
|
60
|
+
export interface PreparedDeviceView {
|
|
61
|
+
readonly camera: Point3D & {
|
|
62
|
+
zoom?: number;
|
|
63
|
+
};
|
|
64
|
+
readonly controls: Point3D;
|
|
65
|
+
}
|
|
66
|
+
/** Floor identity stays canonical; FloorNumber is display/source metadata, never its replacement.
|
|
67
|
+
* Hinglish: index aur FloorNumber alag ho sakte hain; floor switch mein canonical index hi jayega. */
|
|
68
|
+
export interface PreparedFloor {
|
|
69
|
+
readonly index: number;
|
|
70
|
+
readonly id: string;
|
|
71
|
+
readonly FloorName: string;
|
|
72
|
+
readonly FloorUrl: string;
|
|
73
|
+
readonly ShortName: string;
|
|
74
|
+
readonly FloorNumber: number;
|
|
75
|
+
readonly SubFloor?: boolean;
|
|
76
|
+
readonly bounds: PreparedBounds | null;
|
|
77
|
+
readonly viewState: {
|
|
78
|
+
readonly pc?: PreparedDeviceView;
|
|
79
|
+
readonly mobile?: PreparedDeviceView;
|
|
80
|
+
} | null;
|
|
81
|
+
}
|
|
82
|
+
/** Only taxonomy definitions travel here; memberships reference public nodes by key below.
|
|
83
|
+
* Hinglish: Category/amenity ke andar wahi node details dobara serialize nahi hongi. */
|
|
84
|
+
export interface PreparedMapTaxonomy {
|
|
85
|
+
readonly categories: Readonly<Record<string, Pick<PublicCategoryData, 'code' | 'name' | 'image' | 'subCategoryCodes'>>>;
|
|
86
|
+
readonly subCategories: Readonly<Record<string, Pick<PublicSubCategoryData, 'code' | 'name' | 'image' | 'description' | 'categoryCode'>>>;
|
|
87
|
+
readonly amenities: Readonly<Record<string, Pick<PublicAmenityData, 'id' | 'fieldCode' | 'name' | 'image' | 'status' | 'wayfindingId'>>>;
|
|
88
|
+
}
|
|
89
|
+
/** Source-ordered memberships prepared by the existing indexer, not recomputed classifications.
|
|
90
|
+
* Group IDs retain the existing location-name rule. Numeric taxonomy ID 0 remains valid.
|
|
91
|
+
* Hinglish: Sirf keys jayengi; sorting, search aur paging client par rahenge, raw parser nahi. */
|
|
92
|
+
export interface PreparedMapMemberships {
|
|
93
|
+
readonly storeKeys: readonly string[];
|
|
94
|
+
readonly byFloor: Readonly<Record<number, readonly string[]>>;
|
|
95
|
+
readonly byCategory: Readonly<Record<string, readonly string[]>>;
|
|
96
|
+
readonly bySubCategory: Readonly<Record<string, readonly string[]>>;
|
|
97
|
+
/** Existing resolved hierarchy, including node-derived relations absent from definitions.
|
|
98
|
+
* Hinglish: Indexer ka ready parent-child key map bhejo; client par relation dobara mat banao. */
|
|
99
|
+
readonly subCategoriesByCategory: Readonly<Record<string, readonly string[]>>;
|
|
100
|
+
readonly byAmenity: Readonly<Record<string, readonly string[]>>;
|
|
101
|
+
readonly amenityFloors: Readonly<Record<string, readonly number[]>>;
|
|
102
|
+
readonly byGroup: Readonly<Record<string, readonly string[]>>;
|
|
103
|
+
readonly offersByCategory: Readonly<Record<string, readonly string[]>>;
|
|
104
|
+
readonly offersBySubCategory: Readonly<Record<string, readonly string[]>>;
|
|
105
|
+
readonly allOfferKeys: readonly string[];
|
|
106
|
+
}
|
|
107
|
+
/** JSON number arrays, never typed arrays/Three objects. Positions/normals use xyz triples,
|
|
108
|
+
* UVs use pairs, indices are triangle vertex indices; group start/count address index entries
|
|
109
|
+
* when indexed, otherwise vertices. Material slots preserve the existing geometry groups.
|
|
110
|
+
* Hinglish: Buffers ek baar upload honge; source polygon se client dobara mesh calculate nahi karega. */
|
|
111
|
+
export interface PreparedGeometry {
|
|
112
|
+
readonly positions: readonly number[];
|
|
113
|
+
readonly normals: readonly number[];
|
|
114
|
+
readonly uvs: readonly number[] | null;
|
|
115
|
+
readonly indices: readonly number[] | null;
|
|
116
|
+
readonly groups: readonly {
|
|
117
|
+
start: number;
|
|
118
|
+
count: number;
|
|
119
|
+
materialIndex: number;
|
|
120
|
+
}[];
|
|
121
|
+
readonly edgePositions: readonly number[];
|
|
122
|
+
readonly bounds: PreparedBounds | null;
|
|
123
|
+
}
|
|
124
|
+
/** Geometry-local coordinates already include the current 0.1 scale and source Y inversion.
|
|
125
|
+
* The client applies this mesh transform once; Euler rotation uses radians (-PI/2 around X).
|
|
126
|
+
* Material/theme/highlight changes remain local and do not regenerate geometry.
|
|
127
|
+
* Hinglish: Scale/inversion dobara mat lagana; shape algorithm server par, material client par hai. */
|
|
128
|
+
export interface PreparedShape {
|
|
129
|
+
readonly type: 'extruded' | 'flat';
|
|
130
|
+
readonly color: string;
|
|
131
|
+
/** Extruded mesh animation baseline; null for flat shapes without originalDepth metadata.
|
|
132
|
+
* Hinglish: Dynamic height scaling ka original depth; flat mesh par fake depth mat lagao. */
|
|
133
|
+
readonly originalDepth: number | null;
|
|
134
|
+
readonly isFloorBase: boolean;
|
|
135
|
+
readonly position: Point3D;
|
|
136
|
+
readonly rotation: Point3D;
|
|
137
|
+
readonly geometry: PreparedGeometry;
|
|
138
|
+
}
|
|
139
|
+
/** Narrow renderer input for one key, separate from consumer business details.
|
|
140
|
+
* Position, label and image coordinates retain current map units (client placement scales once).
|
|
141
|
+
* Keep layer group numbers explicit: shapes currently use key Z, images node Z, labels floorIndex.
|
|
142
|
+
* Hinglish: Text type/theme/context restore ke liye ye record reuse hoga, hidden NodePoint backup nahi.
|
|
143
|
+
* Floor grouping ko privacy migration ke saath silently change nahi karna. */
|
|
144
|
+
export interface PreparedRenderNode {
|
|
145
|
+
readonly position: Point3D;
|
|
146
|
+
readonly floorGroups: {
|
|
147
|
+
readonly shapes: number;
|
|
148
|
+
readonly images: number;
|
|
149
|
+
readonly labels: number;
|
|
150
|
+
};
|
|
151
|
+
readonly surface: {
|
|
152
|
+
readonly depth: number;
|
|
153
|
+
readonly floorBash: boolean;
|
|
154
|
+
readonly shapeType?: string;
|
|
155
|
+
};
|
|
156
|
+
readonly locationName: LocationName | null;
|
|
157
|
+
readonly pointImage: Omit<PointImage, 'nodePointId'> | null;
|
|
158
|
+
readonly shape: PreparedShape | null;
|
|
159
|
+
}
|
|
160
|
+
/** Candidate data contract only: not ParsedMapResult, an HTTP validator or an offline cache.
|
|
161
|
+
* One public record per key; renderer records join by the same key. No raw source, adjacency,
|
|
162
|
+
* NodePoint methods, private indexer snapshots or upstream credentials belong in this packet.
|
|
163
|
+
* Types do not strip unexpected runtime properties: the future producer must explicitly project
|
|
164
|
+
* fields and the receiving boundary must validate before committing a candidate.
|
|
165
|
+
* Hinglish: Public details aur render data alag hain. Sirf type lagane se secret fields remove nahi hoti;
|
|
166
|
+
* backend producer allowlist banayega aur client successful validation ke baad hi map replace karega. */
|
|
167
|
+
export interface PreparedMapData {
|
|
168
|
+
readonly identity: PreparedMapIdentity;
|
|
169
|
+
readonly floors: readonly PreparedFloor[];
|
|
170
|
+
readonly defaultFloor: number;
|
|
171
|
+
readonly defaultDist: number;
|
|
172
|
+
/** Source order for creation/collision ties, including numeric-looking keys that JSON objects reorder.
|
|
173
|
+
* Hinglish: Render order object ki key ordering se guess nahi hoga; parser ke same pass mein keys milengi. */
|
|
174
|
+
readonly nodeKeys: readonly string[];
|
|
175
|
+
readonly publicNodesByKey: Readonly<Record<string, PublicNodeData>>;
|
|
176
|
+
readonly taxonomy: PreparedMapTaxonomy;
|
|
177
|
+
readonly memberships: PreparedMapMemberships;
|
|
178
|
+
readonly renderNodesByKey: Readonly<Record<string, PreparedRenderNode>>;
|
|
179
|
+
}
|
|
180
|
+
/** Shared data-only preparation stage; not a render-ready map or a delivery/offline format.
|
|
181
|
+
* Hinglish: Backend aur common reader ka same data draft; shape/bounds ke bina ready map nahi hai. */
|
|
182
|
+
export interface PreparedMapContent extends Omit<PreparedMapData, 'floors' | 'renderNodesByKey'> {
|
|
183
|
+
readonly floors: readonly Omit<PreparedFloor, 'bounds'>[];
|
|
184
|
+
readonly renderNodesByKey: Readonly<Record<string, Omit<PreparedRenderNode, 'shape'>>>;
|
|
185
|
+
}
|
|
186
|
+
//# sourceMappingURL=preparedMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedMap.d.ts","sourceRoot":"","sources":["../src/preparedMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAC7F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD;wFACwF;AACxF,eAAO,MAAM,2BAA2B,EAAG,CAAU,CAAA;AAErD;kHACkH;AAClH,eAAO,MAAM,gCAAgC,EAAG,GAAY,CAAA;AAE5D;4GAC4G;AAC5G,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAA;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D,QAAQ,CAAC,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;CACvF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Prepared JSON format, independent of npm and source API versions.
|
|
2
|
+
* Hinglish: Ye packet ka format hai; npm version aur V1/V2 source version alag hain. */
|
|
3
|
+
export const PREPARED_MAP_FORMAT_VERSION = 1;
|
|
4
|
+
/** Public metadata preparation revision; refresh older cached packets even when source data is unchanged.
|
|
5
|
+
* Hinglish: Source updatedAt same ho tab bhi purane cache ko naye public detail fields ke liye refresh karein. */
|
|
6
|
+
export const PREPARED_MAP_PREPARATION_VERSION = '3';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedMapIdentity.d.ts","sourceRoot":"","sources":["../src/preparedMapIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAgBxD,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,mBAAmB,GAAG,OAAO,CA4B/F"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Exact source/preparation equality without reading nodes or depending on object key order.
|
|
2
|
+
* Hinglish: Viewer aur server same identity rule use karein; local viewer revision isse alag hai. */
|
|
3
|
+
function sameRecord(a, b, equal) {
|
|
4
|
+
if (!a || !b)
|
|
5
|
+
return a === b;
|
|
6
|
+
const keys = Object.keys(a);
|
|
7
|
+
return (keys.length === Object.keys(b).length &&
|
|
8
|
+
keys.every((key) => Object.hasOwn(b, key) && equal(a[key], b[key])));
|
|
9
|
+
}
|
|
10
|
+
export function samePreparedMapIdentity(a, b) {
|
|
11
|
+
const x = a.depthConfig, y = b.depthConfig;
|
|
12
|
+
return (a.formatVersion === b.formatVersion &&
|
|
13
|
+
a.mallId === b.mallId &&
|
|
14
|
+
a.environment === b.environment &&
|
|
15
|
+
a.sourceVersion === b.sourceVersion &&
|
|
16
|
+
a.sourceRevision === b.sourceRevision &&
|
|
17
|
+
a.preparationVersion === b.preparationVersion &&
|
|
18
|
+
a.brandEnvironment === b.brandEnvironment &&
|
|
19
|
+
a.validUntil === b.validUntil &&
|
|
20
|
+
a.shapePreparation?.version === b.shapePreparation?.version &&
|
|
21
|
+
a.shapePreparation?.type === b.shapePreparation?.type &&
|
|
22
|
+
a.shapePreparation?.scale === b.shapePreparation?.scale &&
|
|
23
|
+
x.floorBaseDepth === y.floorBaseDepth &&
|
|
24
|
+
x.defaultUnitDepth === y.defaultUnitDepth &&
|
|
25
|
+
x.depthMultiplier === y.depthMultiplier &&
|
|
26
|
+
sameRecord(x.customDepths, y.customDepths, (left, right) => left === right) &&
|
|
27
|
+
sameRecord(x.modeDepths, y.modeDepths, (left, right) => left.unitDepth === right.unitDepth &&
|
|
28
|
+
left.extraDepthPlane === right.extraDepthPlane &&
|
|
29
|
+
left.extraDepthSprite === right.extraDepthSprite));
|
|
30
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Public resources only; collected while the existing prepared reader visits each node.
|
|
2
|
+
* Hinglish: Ready packet ke same visit mein URLs milein; download ke liye nodes dobara scan nahi hon. */
|
|
3
|
+
export interface PublicMapAsset {
|
|
4
|
+
readonly url: string;
|
|
5
|
+
readonly required: boolean;
|
|
6
|
+
readonly kind: 'image' | 'font';
|
|
7
|
+
}
|
|
8
|
+
/** The image renderer and offline manifest must use the same delivery URL.
|
|
9
|
+
* Hinglish: Sprite ka normalized URL aur saved bytes ka URL same rahe. */
|
|
10
|
+
export declare function resolvePublicImageUrl(url: string): string;
|
|
11
|
+
//# sourceMappingURL=publicAssets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publicAssets.d.ts","sourceRoot":"","sources":["../src/publicAssets.ts"],"names":[],"mappings":"AAAA;yGACyG;AACzG,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAAA;CAChC;AAED;0EAC0E;AAC1E,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKzD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The image renderer and offline manifest must use the same delivery URL.
|
|
2
|
+
* Hinglish: Sprite ka normalized URL aur saved bytes ka URL same rahe. */
|
|
3
|
+
export function resolvePublicImageUrl(url) {
|
|
4
|
+
return url.replace('https://cdnsit.wovvtech.com/image/', 'https://wovvmapimagesit.wovvtech.com/image/');
|
|
5
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file catalog.ts
|
|
3
|
+
* @description Canonical adapter-independent prepared/indexed taxonomy models (`Category`, `SubCategory`, `Amenity`)
|
|
4
|
+
* for `@wovvmap/map-data`. Reuses compatible identity and display contracts from `@wovvmap/contracts`
|
|
5
|
+
* without depending on Strapi V1/V2/V3 raw adapter response types.
|
|
6
|
+
*
|
|
7
|
+
* Hinglish: `@wovvmap/map-data` ke adapter-independent prepared/indexed taxonomy models (`Category`, `SubCategory`, `Amenity`)
|
|
8
|
+
* jo `@wovvmap/contracts` ke compatible public contracts reuse karte hain aur raw Strapi V2 response types par depend nahi karte.
|
|
9
|
+
*/
|
|
10
|
+
import type { PublicAmenityData, PublicCategoryData, PublicSubCategoryData } from './catalog.js';
|
|
11
|
+
import type { PublicNodeData } from './nodePoint.js';
|
|
12
|
+
/**
|
|
13
|
+
* Prepared/indexed store category record owned by `@wovvmap/map-data`.
|
|
14
|
+
* Reuses compatible identity/hierarchy fields from `PublicCategoryData` and carries
|
|
15
|
+
* indexed `nodePointsKey` and read-only `nodePoints` projections.
|
|
16
|
+
*
|
|
17
|
+
* Hinglish: Prepared/indexed category model jo `PublicCategoryData` ke common fields reuse karta hai
|
|
18
|
+
* aur indexing ke dauran `nodePointsKey` + read-only `nodePoints` carry karta hai.
|
|
19
|
+
*/
|
|
20
|
+
export interface Category extends Pick<PublicCategoryData, 'code' | 'name' | 'subCategoryCodes' | 'nodePointsKey'> {
|
|
21
|
+
image?: string;
|
|
22
|
+
nodePoints?: readonly PublicNodeData[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Prepared/indexed store sub-category record owned by `@wovvmap/map-data`.
|
|
26
|
+
* Reuses compatible identity/parent fields from `PublicSubCategoryData` and carries
|
|
27
|
+
* indexed `nodePointsKey` and read-only `nodePoints` projections.
|
|
28
|
+
*
|
|
29
|
+
* Hinglish: Prepared/indexed sub-category model jo `PublicSubCategoryData` ke common fields reuse karta hai
|
|
30
|
+
* aur indexing ke dauran `nodePointsKey` + read-only `nodePoints` carry karta hai.
|
|
31
|
+
*/
|
|
32
|
+
export interface SubCategory extends Pick<PublicSubCategoryData, 'code' | 'name' | 'categoryCode' | 'nodePointsKey'> {
|
|
33
|
+
image?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
nodePoints?: readonly PublicNodeData[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Prepared/indexed amenity record owned by `@wovvmap/map-data`.
|
|
39
|
+
* Reuses compatible identity/status fields from `PublicAmenityData` and carries
|
|
40
|
+
* indexed `nodePointsKey` and read-only `nodePoints` projections.
|
|
41
|
+
*
|
|
42
|
+
* Hinglish: Prepared/indexed amenity model jo `PublicAmenityData` ke common fields reuse karta hai
|
|
43
|
+
* aur indexing ke dauran `nodePointsKey` + read-only `nodePoints` carry karta hai.
|
|
44
|
+
*/
|
|
45
|
+
export interface Amenity extends Pick<PublicAmenityData, 'id' | 'status' | 'fieldCode' | 'name' | 'nodePointsKey'> {
|
|
46
|
+
image: string;
|
|
47
|
+
wayfinding_id?: string | number | null;
|
|
48
|
+
nodePoints?: readonly PublicNodeData[];
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=taxonomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taxonomy.d.ts","sourceRoot":"","sources":["../src/taxonomy.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAC7F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,WAAW,QAAS,SAAQ,IAAI,CACpC,kBAAkB,EAClB,MAAM,GAAG,MAAM,GAAG,kBAAkB,GAAG,eAAe,CACvD;IACC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;CACvC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CACvC,qBAAqB,EACrB,MAAM,GAAG,MAAM,GAAG,cAAc,GAAG,eAAe,CACnD;IACC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;CACvC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,OAAQ,SAAQ,IAAI,CACnC,iBAAiB,EACjB,IAAI,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,eAAe,CACzD;IACC,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IACtC,UAAU,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;CACvC"}
|
package/dist/taxonomy.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file catalog.ts
|
|
3
|
+
* @description Canonical adapter-independent prepared/indexed taxonomy models (`Category`, `SubCategory`, `Amenity`)
|
|
4
|
+
* for `@wovvmap/map-data`. Reuses compatible identity and display contracts from `@wovvmap/contracts`
|
|
5
|
+
* without depending on Strapi V1/V2/V3 raw adapter response types.
|
|
6
|
+
*
|
|
7
|
+
* Hinglish: `@wovvmap/map-data` ke adapter-independent prepared/indexed taxonomy models (`Category`, `SubCategory`, `Amenity`)
|
|
8
|
+
* jo `@wovvmap/contracts` ke compatible public contracts reuse karte hain aur raw Strapi V2 response types par depend nahi karte.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file theme.ts
|
|
3
|
+
* @description Map viewer theme contracts, color tokens, lighting specifications, and preset themes.
|
|
4
|
+
* English: Portable theme interfaces and built-in theme presets (Nexus Light, Nexus Dark).
|
|
5
|
+
* Hinglish: Map viewer ke themes (Nexus Light, Nexus Dark), sprite colors aur lighting contracts.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Portable lighting parameters for 3D map illumination.
|
|
9
|
+
* 3D scene lighting ke parameters.
|
|
10
|
+
*/
|
|
11
|
+
export interface MapLightsThemeConfig {
|
|
12
|
+
ambient?: {
|
|
13
|
+
color: string | number;
|
|
14
|
+
intensity: number;
|
|
15
|
+
};
|
|
16
|
+
hemisphere?: {
|
|
17
|
+
skyColor: string | number;
|
|
18
|
+
groundColor: string | number;
|
|
19
|
+
intensity: number;
|
|
20
|
+
position?: [number, number, number];
|
|
21
|
+
};
|
|
22
|
+
directionalMain?: {
|
|
23
|
+
color: string | number;
|
|
24
|
+
intensity: number;
|
|
25
|
+
position?: [number, number, number];
|
|
26
|
+
};
|
|
27
|
+
directionalBack?: {
|
|
28
|
+
color: string | number;
|
|
29
|
+
intensity: number;
|
|
30
|
+
position?: [number, number, number];
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/** Normal store-selection paint is independent from routing roles and base unit styles.
|
|
34
|
+
* Hinglish: Store select ka temporary paint alag hai; route roles ya original colors change nahi hote. */
|
|
35
|
+
export interface MapSelectionTheme {
|
|
36
|
+
color?: string;
|
|
37
|
+
text2D?: string;
|
|
38
|
+
text3D?: string;
|
|
39
|
+
}
|
|
40
|
+
/** Universal theme configuration for map rendering and UI chrome.
|
|
41
|
+
* Hinglish: Canvas, sprites, lighting, selection aur UI ke shared theme tokens. */
|
|
42
|
+
export interface MapTheme {
|
|
43
|
+
/** Static selected/alternate path color; opacity is presentation, never a new solve.
|
|
44
|
+
* Hinglish: Route ka rang badle to ready geometry/source/camera same rahen. */
|
|
45
|
+
route?: {
|
|
46
|
+
color?: string;
|
|
47
|
+
highlightColor?: string;
|
|
48
|
+
arrowColor?: string;
|
|
49
|
+
};
|
|
50
|
+
/** Optional normal-selection overrides; omitted values retain the existing map palette.
|
|
51
|
+
* Hinglish: Normal selection ke optional colors; na dein to current map palette hi use hogi. */
|
|
52
|
+
selection?: MapSelectionTheme;
|
|
53
|
+
/** Endpoint paint overrides; destination wins a shared key while both semantic roles remain valid.
|
|
54
|
+
* Hinglish: Start/end ke optional rang; same key par end ka paint, state mein dono roles rahenge. */
|
|
55
|
+
endpoints?: {
|
|
56
|
+
origin?: MapSelectionTheme;
|
|
57
|
+
destination?: MapSelectionTheme;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Unique theme identifier (e.g. 'nexus', 'kiosk', 'teal', 'custom').
|
|
61
|
+
* Theme ka identifier.
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
/**
|
|
65
|
+
* Theme mode: 'light' | 'dark'.
|
|
66
|
+
* Light ya dark mode.
|
|
67
|
+
*/
|
|
68
|
+
mode: 'light' | 'dark';
|
|
69
|
+
/**
|
|
70
|
+
* CSS class or background gradient/color for the map container/canvas.
|
|
71
|
+
* Canvas wrapper ke liye CSS class (e.g. Tailwind gradient).
|
|
72
|
+
*/
|
|
73
|
+
canvasClass?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Fallback solid background hex color for WebGL clear color or scene background.
|
|
76
|
+
* WebGL canvas clear color ya solid background color.
|
|
77
|
+
*/
|
|
78
|
+
backgroundColor?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Background badge / circle color for vertical transit and amenity icon sprites.
|
|
81
|
+
* Transit (escalator, elevator, restroom) aur amenity sprites ke circular badge ka background color.
|
|
82
|
+
*/
|
|
83
|
+
spriteBackgroundColor: string;
|
|
84
|
+
/**
|
|
85
|
+
* Optional granular background badge colors by sprite type (e.g. Escalator, Elevator, Restroom).
|
|
86
|
+
* Har sprite type ke hisab se alag-alag background badge color.
|
|
87
|
+
*/
|
|
88
|
+
spriteBackgroundColors?: Record<string, string>;
|
|
89
|
+
/**
|
|
90
|
+
* UI overlay glassmorphism class for action bars, header, and floating panels.
|
|
91
|
+
* Floating UI panels aur buttons ke liye CSS classes.
|
|
92
|
+
*/
|
|
93
|
+
overlayClass?: string;
|
|
94
|
+
/**
|
|
95
|
+
* 3D Scene lighting configuration matching the theme mood.
|
|
96
|
+
* 3D lighting configuration.
|
|
97
|
+
*/
|
|
98
|
+
lights?: MapLightsThemeConfig;
|
|
99
|
+
/**
|
|
100
|
+
* Anchor store gradient colors [top, bottom].
|
|
101
|
+
* Anchor stores ke liye vertical gradient colors.
|
|
102
|
+
*/
|
|
103
|
+
anchorStoreGradient?: [string, string];
|
|
104
|
+
/**
|
|
105
|
+
* Stroke edge line color for shapes.
|
|
106
|
+
* Unit shapes ke borders/edges ka color.
|
|
107
|
+
*/
|
|
108
|
+
shapeEdgeColor?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Store and waypoint label text colors in 2D and 3D modes.
|
|
111
|
+
* Text labels ke colors.
|
|
112
|
+
*/
|
|
113
|
+
textColors?: {
|
|
114
|
+
startPoint2D?: string;
|
|
115
|
+
startPoint3D?: string;
|
|
116
|
+
endPoint2D?: string;
|
|
117
|
+
endPoint3D?: string;
|
|
118
|
+
amenity2D?: string;
|
|
119
|
+
amenity3D?: string;
|
|
120
|
+
category2D?: string;
|
|
121
|
+
category3D?: string;
|
|
122
|
+
subCategory2D?: string;
|
|
123
|
+
subCategory3D?: string;
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Standard Nexus Light theme definition matching wovvmap_frontend legacy parity.
|
|
128
|
+
* wovvmap_frontend ke Nexus Light theme ke exact tokens aur sprite colors.
|
|
129
|
+
*/
|
|
130
|
+
export declare const NEXUS_LIGHT_THEME: Readonly<MapTheme>;
|
|
131
|
+
/**
|
|
132
|
+
* Standard Nexus Dark theme definition matching wovvmap_frontend legacy parity.
|
|
133
|
+
* wovvmap_frontend ke Nexus Dark theme ke tokens.
|
|
134
|
+
*/
|
|
135
|
+
export declare const NEXUS_DARK_THEME: Readonly<MapTheme>;
|
|
136
|
+
/**
|
|
137
|
+
* Resolves a MapTheme object from either a theme preset string or a partial/complete MapTheme object.
|
|
138
|
+
* Always safely defaults to NEXUS_LIGHT_THEME.
|
|
139
|
+
*
|
|
140
|
+
* Theme input (preset name ya object) se valid MapTheme resolve karein.
|
|
141
|
+
*/
|
|
142
|
+
export declare function resolveMapTheme(themeInput?: MapTheme | string | null): MapTheme;
|
|
143
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;QACtB,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,UAAU,CAAC,EAAE;QACX,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;QACzB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAA;QAC5B,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;KACpC,CAAA;IACD,eAAe,CAAC,EAAE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