zenit-sdk 0.0.7 → 0.0.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/README.md +32 -0
- package/dist/{chunk-ITF7QCUZ.mjs → chunk-PCTRVN4O.mjs} +1140 -926
- package/dist/chunk-PCTRVN4O.mjs.map +1 -0
- package/dist/{index-kGwfqTc_.d.mts → index-DvcYGhqj.d.mts} +70 -4
- package/dist/{index-kGwfqTc_.d.ts → index-DvcYGhqj.d.ts} +70 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1272 -937
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +119 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1154 -940
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +1 -1
- package/package.json +10 -7
- package/dist/chunk-ITF7QCUZ.mjs.map +0 -1
|
@@ -30,10 +30,14 @@ interface HttpClientOptions {
|
|
|
30
30
|
* `/sdk-auth/validate` y `/sdk-auth/exchange`.
|
|
31
31
|
*/
|
|
32
32
|
declare class HttpClient {
|
|
33
|
-
private
|
|
33
|
+
private baseUrl;
|
|
34
34
|
private readonly resolveTokens?;
|
|
35
35
|
private readonly resolveAuthorizationHeader;
|
|
36
36
|
constructor(options: HttpClientOptions);
|
|
37
|
+
/**
|
|
38
|
+
* Update base URL at runtime (e.g. when a host injects config).
|
|
39
|
+
*/
|
|
40
|
+
setBaseUrl(baseUrl: string): void;
|
|
37
41
|
get<T>(path: string, options?: RequestInit): Promise<T>;
|
|
38
42
|
post<T>(path: string, body?: unknown, options?: RequestInit): Promise<T>;
|
|
39
43
|
put<T>(path: string, body?: unknown, options?: RequestInit): Promise<T>;
|
|
@@ -391,6 +395,26 @@ declare class ZenitLayersClient {
|
|
|
391
395
|
private unwrapResponse;
|
|
392
396
|
}
|
|
393
397
|
|
|
398
|
+
type ZenitRuntimeConfig = {
|
|
399
|
+
baseUrl: string;
|
|
400
|
+
accessToken?: string;
|
|
401
|
+
sdkToken?: string;
|
|
402
|
+
mapId?: number;
|
|
403
|
+
defaultFilters?: Record<string, unknown>;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Normalize an unknown filters payload into a plain object.
|
|
407
|
+
*/
|
|
408
|
+
declare const normalizeFilters: (filters: unknown) => Record<string, unknown>;
|
|
409
|
+
/**
|
|
410
|
+
* Merge two filter objects into a new one (next overrides base).
|
|
411
|
+
*/
|
|
412
|
+
declare const mergeFilters: (base?: Record<string, unknown>, next?: Record<string, unknown>) => Record<string, unknown>;
|
|
413
|
+
/**
|
|
414
|
+
* Resolve runtime config from unknown input, validating and normalizing fields.
|
|
415
|
+
*/
|
|
416
|
+
declare const resolveRuntimeConfig: (input: unknown) => ZenitRuntimeConfig | null;
|
|
417
|
+
|
|
394
418
|
interface ZenitSdkConfig {
|
|
395
419
|
baseUrl: string;
|
|
396
420
|
sdkToken?: string;
|
|
@@ -401,12 +425,14 @@ interface ZenitSdkConfig {
|
|
|
401
425
|
accessToken: string;
|
|
402
426
|
refreshToken?: string;
|
|
403
427
|
}): void;
|
|
428
|
+
defaultFilters?: Record<string, unknown>;
|
|
404
429
|
}
|
|
405
430
|
declare class ZenitClient {
|
|
406
431
|
private readonly config;
|
|
407
432
|
private accessToken?;
|
|
408
433
|
private refreshToken?;
|
|
409
434
|
private sdkToken?;
|
|
435
|
+
private defaultFilters?;
|
|
410
436
|
private readonly httpClient;
|
|
411
437
|
readonly auth: ZenitAuthClient;
|
|
412
438
|
readonly sdkAuth: ZenitSdkAuthClient;
|
|
@@ -418,8 +444,48 @@ declare class ZenitClient {
|
|
|
418
444
|
*/
|
|
419
445
|
private updateTokens;
|
|
420
446
|
private updateAccessTokenFromSdkExchange;
|
|
421
|
-
|
|
422
|
-
|
|
447
|
+
/**
|
|
448
|
+
* Update the access token at runtime.
|
|
449
|
+
*/
|
|
450
|
+
setAccessToken(token?: string): void;
|
|
451
|
+
/**
|
|
452
|
+
* Update the refresh token at runtime.
|
|
453
|
+
*/
|
|
454
|
+
setRefreshToken(token?: string): void;
|
|
455
|
+
/**
|
|
456
|
+
* Update the SDK token at runtime.
|
|
457
|
+
*/
|
|
458
|
+
setSdkToken(token?: string): void;
|
|
459
|
+
/**
|
|
460
|
+
* Update both access token and SDK token at once.
|
|
461
|
+
*/
|
|
462
|
+
setAuth(params: {
|
|
463
|
+
accessToken?: string;
|
|
464
|
+
sdkToken?: string;
|
|
465
|
+
}): void;
|
|
466
|
+
/**
|
|
467
|
+
* Update base URL at runtime (e.g. injected config from a host app).
|
|
468
|
+
*/
|
|
469
|
+
setBaseUrl(baseUrl: string): void;
|
|
470
|
+
/**
|
|
471
|
+
* Store default filters for UI integrations.
|
|
472
|
+
*/
|
|
473
|
+
setDefaultFilters(filters: Record<string, unknown> | undefined): void;
|
|
474
|
+
/**
|
|
475
|
+
* Return default filters for UI integrations.
|
|
476
|
+
*/
|
|
477
|
+
getDefaultFilters(): Record<string, unknown> | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* Get a readonly snapshot of the current SDK config.
|
|
480
|
+
*/
|
|
481
|
+
getConfig(): Readonly<ZenitSdkConfig>;
|
|
482
|
+
/**
|
|
483
|
+
* Get a readonly snapshot of runtime config for debugging or host integrations.
|
|
484
|
+
*/
|
|
485
|
+
getRuntimeConfig(): Readonly<ZenitRuntimeConfig>;
|
|
486
|
+
/**
|
|
487
|
+
* Build an authorization header on demand using the current token values.
|
|
488
|
+
*/
|
|
423
489
|
getAuthorizationHeader(): Record<string, string>;
|
|
424
490
|
getHttpClient(): HttpClient;
|
|
425
491
|
}
|
|
@@ -696,4 +762,4 @@ declare function getZoomOpacityFactor(zoom: number, options?: ZoomOpacityOptions
|
|
|
696
762
|
declare function getLayerZoomOpacityFactor(zoom: number, layerType?: string, geometryType?: string, options?: ZoomOpacityOptions): number;
|
|
697
763
|
declare function getEffectiveLayerOpacity(baseOpacity: number, zoom: number, layerType?: string, geometryType?: string, options?: ZoomOpacityOptions): number;
|
|
698
764
|
|
|
699
|
-
export { type
|
|
765
|
+
export { type LoadLayerDataParams as $, ZenitLayersClient as A, type Bbox as B, type LayerDto as C, DEFAULT_MAX_FEATURES_FULL_GEOJSON as D, type LayerSummary as E, type FilterMultipleMetadata as F, type GeoJsonFeature as G, type HttpClientOptions as H, type GeoJsonPoint as I, type GeoJsonGeometryCollection as J, type LayerDataStrategy as K, type LayerFilters as L, type MapDto as M, type NormalizedMapLayer as N, type ApiEnvelope as O, type ApiResponseData as P, type LayerMetadata as Q, type RefreshResponse as R, type SdkTokenValidateResponse as S, type GeoJsonBBoxRequest as T, type UserSummary as U, type ValidateResponse as V, type GeoJsonIntersectRequest as W, type LayerAoi as X, type ResolveLayerStrategyParams as Y, type ZenitSdkConfig as Z, type ResolveLayerStrategyResult as _, type GeoJsonFeatureCollection as a, type LoadLayerDataResult as a0, type LayerFeatureCatalogItem as a1, type LayerFeaturesCatalogDto as a2, type FilterValue as a3, type FilterMultipleLayerMeta as a4, type FilterMultipleWithFallbackResult as a5, type LayerBaseState as a6, type LayerOverrideState as a7, type EffectiveLayerState as a8, initLayerStates as a9, type ZoomOpacityOptions as aA, clampNumber as aB, clampOpacity as aC, isPolygonLayer as aD, getZoomOpacityFactor as aE, getLayerZoomOpacityFactor as aF, getEffectiveLayerOpacity as aG, applyLayerOverrides as aa, resetOverrides as ab, type ChatServiceConfig as ac, type ChatRequestOptions as ad, type ChatStreamCallbacks as ae, sendMessage as af, sendMessageStream as ag, createChatService as ah, type ChatRequestDto as ai, type SuggestedAction as aj, type ChatResponseDto as ak, ZenitMap as al, type ZenitMapRef as am, type LayerSnapshot as an, type ZenitMapProps as ao, ZenitLayerManager as ap, ZenitFeatureFilterPanel as aq, FloatingChatBox as ar, type FloatingChatBoxProps as as, useSendMessage as at, useSendMessageStream as au, type LayerStyle$1 as av, resolveLayerAccent as aw, getLayerColor as ax, getStyleByLayerId as ay, getAccentByLayerId as az, type GeoJsonRequestOptions as b, type GeoJsonPolygon as c, ZenitClient as d, type ZenitRuntimeConfig as e, type LoginRequest as f, type LoginResponse as g, type MeResponse as h, ZenitAuthClient as i, type SdkTokenExchangeResponse as j, ZenitSdkAuthClient as k, type ZenitSdkError as l, mergeFilters as m, normalizeFilters as n, HttpClient as o, ZenitMapsClient as p, type MapSettings as q, resolveRuntimeConfig as r, type MapLayerConfig as s, buildLayerFilters as t, buildFilterMultipleParams as u, shouldUseFilterMultiple as v, shouldSkipGeojsonDownload as w, buildAoiFromFeatureCollection as x, resolveLayerStrategy as y, buildLimitedMessage as z };
|
|
@@ -30,10 +30,14 @@ interface HttpClientOptions {
|
|
|
30
30
|
* `/sdk-auth/validate` y `/sdk-auth/exchange`.
|
|
31
31
|
*/
|
|
32
32
|
declare class HttpClient {
|
|
33
|
-
private
|
|
33
|
+
private baseUrl;
|
|
34
34
|
private readonly resolveTokens?;
|
|
35
35
|
private readonly resolveAuthorizationHeader;
|
|
36
36
|
constructor(options: HttpClientOptions);
|
|
37
|
+
/**
|
|
38
|
+
* Update base URL at runtime (e.g. when a host injects config).
|
|
39
|
+
*/
|
|
40
|
+
setBaseUrl(baseUrl: string): void;
|
|
37
41
|
get<T>(path: string, options?: RequestInit): Promise<T>;
|
|
38
42
|
post<T>(path: string, body?: unknown, options?: RequestInit): Promise<T>;
|
|
39
43
|
put<T>(path: string, body?: unknown, options?: RequestInit): Promise<T>;
|
|
@@ -391,6 +395,26 @@ declare class ZenitLayersClient {
|
|
|
391
395
|
private unwrapResponse;
|
|
392
396
|
}
|
|
393
397
|
|
|
398
|
+
type ZenitRuntimeConfig = {
|
|
399
|
+
baseUrl: string;
|
|
400
|
+
accessToken?: string;
|
|
401
|
+
sdkToken?: string;
|
|
402
|
+
mapId?: number;
|
|
403
|
+
defaultFilters?: Record<string, unknown>;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Normalize an unknown filters payload into a plain object.
|
|
407
|
+
*/
|
|
408
|
+
declare const normalizeFilters: (filters: unknown) => Record<string, unknown>;
|
|
409
|
+
/**
|
|
410
|
+
* Merge two filter objects into a new one (next overrides base).
|
|
411
|
+
*/
|
|
412
|
+
declare const mergeFilters: (base?: Record<string, unknown>, next?: Record<string, unknown>) => Record<string, unknown>;
|
|
413
|
+
/**
|
|
414
|
+
* Resolve runtime config from unknown input, validating and normalizing fields.
|
|
415
|
+
*/
|
|
416
|
+
declare const resolveRuntimeConfig: (input: unknown) => ZenitRuntimeConfig | null;
|
|
417
|
+
|
|
394
418
|
interface ZenitSdkConfig {
|
|
395
419
|
baseUrl: string;
|
|
396
420
|
sdkToken?: string;
|
|
@@ -401,12 +425,14 @@ interface ZenitSdkConfig {
|
|
|
401
425
|
accessToken: string;
|
|
402
426
|
refreshToken?: string;
|
|
403
427
|
}): void;
|
|
428
|
+
defaultFilters?: Record<string, unknown>;
|
|
404
429
|
}
|
|
405
430
|
declare class ZenitClient {
|
|
406
431
|
private readonly config;
|
|
407
432
|
private accessToken?;
|
|
408
433
|
private refreshToken?;
|
|
409
434
|
private sdkToken?;
|
|
435
|
+
private defaultFilters?;
|
|
410
436
|
private readonly httpClient;
|
|
411
437
|
readonly auth: ZenitAuthClient;
|
|
412
438
|
readonly sdkAuth: ZenitSdkAuthClient;
|
|
@@ -418,8 +444,48 @@ declare class ZenitClient {
|
|
|
418
444
|
*/
|
|
419
445
|
private updateTokens;
|
|
420
446
|
private updateAccessTokenFromSdkExchange;
|
|
421
|
-
|
|
422
|
-
|
|
447
|
+
/**
|
|
448
|
+
* Update the access token at runtime.
|
|
449
|
+
*/
|
|
450
|
+
setAccessToken(token?: string): void;
|
|
451
|
+
/**
|
|
452
|
+
* Update the refresh token at runtime.
|
|
453
|
+
*/
|
|
454
|
+
setRefreshToken(token?: string): void;
|
|
455
|
+
/**
|
|
456
|
+
* Update the SDK token at runtime.
|
|
457
|
+
*/
|
|
458
|
+
setSdkToken(token?: string): void;
|
|
459
|
+
/**
|
|
460
|
+
* Update both access token and SDK token at once.
|
|
461
|
+
*/
|
|
462
|
+
setAuth(params: {
|
|
463
|
+
accessToken?: string;
|
|
464
|
+
sdkToken?: string;
|
|
465
|
+
}): void;
|
|
466
|
+
/**
|
|
467
|
+
* Update base URL at runtime (e.g. injected config from a host app).
|
|
468
|
+
*/
|
|
469
|
+
setBaseUrl(baseUrl: string): void;
|
|
470
|
+
/**
|
|
471
|
+
* Store default filters for UI integrations.
|
|
472
|
+
*/
|
|
473
|
+
setDefaultFilters(filters: Record<string, unknown> | undefined): void;
|
|
474
|
+
/**
|
|
475
|
+
* Return default filters for UI integrations.
|
|
476
|
+
*/
|
|
477
|
+
getDefaultFilters(): Record<string, unknown> | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* Get a readonly snapshot of the current SDK config.
|
|
480
|
+
*/
|
|
481
|
+
getConfig(): Readonly<ZenitSdkConfig>;
|
|
482
|
+
/**
|
|
483
|
+
* Get a readonly snapshot of runtime config for debugging or host integrations.
|
|
484
|
+
*/
|
|
485
|
+
getRuntimeConfig(): Readonly<ZenitRuntimeConfig>;
|
|
486
|
+
/**
|
|
487
|
+
* Build an authorization header on demand using the current token values.
|
|
488
|
+
*/
|
|
423
489
|
getAuthorizationHeader(): Record<string, string>;
|
|
424
490
|
getHttpClient(): HttpClient;
|
|
425
491
|
}
|
|
@@ -696,4 +762,4 @@ declare function getZoomOpacityFactor(zoom: number, options?: ZoomOpacityOptions
|
|
|
696
762
|
declare function getLayerZoomOpacityFactor(zoom: number, layerType?: string, geometryType?: string, options?: ZoomOpacityOptions): number;
|
|
697
763
|
declare function getEffectiveLayerOpacity(baseOpacity: number, zoom: number, layerType?: string, geometryType?: string, options?: ZoomOpacityOptions): number;
|
|
698
764
|
|
|
699
|
-
export { type
|
|
765
|
+
export { type LoadLayerDataParams as $, ZenitLayersClient as A, type Bbox as B, type LayerDto as C, DEFAULT_MAX_FEATURES_FULL_GEOJSON as D, type LayerSummary as E, type FilterMultipleMetadata as F, type GeoJsonFeature as G, type HttpClientOptions as H, type GeoJsonPoint as I, type GeoJsonGeometryCollection as J, type LayerDataStrategy as K, type LayerFilters as L, type MapDto as M, type NormalizedMapLayer as N, type ApiEnvelope as O, type ApiResponseData as P, type LayerMetadata as Q, type RefreshResponse as R, type SdkTokenValidateResponse as S, type GeoJsonBBoxRequest as T, type UserSummary as U, type ValidateResponse as V, type GeoJsonIntersectRequest as W, type LayerAoi as X, type ResolveLayerStrategyParams as Y, type ZenitSdkConfig as Z, type ResolveLayerStrategyResult as _, type GeoJsonFeatureCollection as a, type LoadLayerDataResult as a0, type LayerFeatureCatalogItem as a1, type LayerFeaturesCatalogDto as a2, type FilterValue as a3, type FilterMultipleLayerMeta as a4, type FilterMultipleWithFallbackResult as a5, type LayerBaseState as a6, type LayerOverrideState as a7, type EffectiveLayerState as a8, initLayerStates as a9, type ZoomOpacityOptions as aA, clampNumber as aB, clampOpacity as aC, isPolygonLayer as aD, getZoomOpacityFactor as aE, getLayerZoomOpacityFactor as aF, getEffectiveLayerOpacity as aG, applyLayerOverrides as aa, resetOverrides as ab, type ChatServiceConfig as ac, type ChatRequestOptions as ad, type ChatStreamCallbacks as ae, sendMessage as af, sendMessageStream as ag, createChatService as ah, type ChatRequestDto as ai, type SuggestedAction as aj, type ChatResponseDto as ak, ZenitMap as al, type ZenitMapRef as am, type LayerSnapshot as an, type ZenitMapProps as ao, ZenitLayerManager as ap, ZenitFeatureFilterPanel as aq, FloatingChatBox as ar, type FloatingChatBoxProps as as, useSendMessage as at, useSendMessageStream as au, type LayerStyle$1 as av, resolveLayerAccent as aw, getLayerColor as ax, getStyleByLayerId as ay, getAccentByLayerId as az, type GeoJsonRequestOptions as b, type GeoJsonPolygon as c, ZenitClient as d, type ZenitRuntimeConfig as e, type LoginRequest as f, type LoginResponse as g, type MeResponse as h, ZenitAuthClient as i, type SdkTokenExchangeResponse as j, ZenitSdkAuthClient as k, type ZenitSdkError as l, mergeFilters as m, normalizeFilters as n, HttpClient as o, ZenitMapsClient as p, type MapSettings as q, resolveRuntimeConfig as r, type MapLayerConfig as s, buildLayerFilters as t, buildFilterMultipleParams as u, shouldUseFilterMultiple as v, shouldSkipGeojsonDownload as w, buildAoiFromFeatureCollection as x, resolveLayerStrategy as y, buildLimitedMessage as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MapDto, N as NormalizedMapLayer, G as GeoJsonFeature, B as Bbox, a as GeoJsonFeatureCollection, F as FilterMultipleMetadata, L as LayerFilters, b as GeoJsonRequestOptions, c as GeoJsonPolygon } from './index-
|
|
2
|
-
export {
|
|
1
|
+
import { M as MapDto, N as NormalizedMapLayer, G as GeoJsonFeature, B as Bbox, a as GeoJsonFeatureCollection, F as FilterMultipleMetadata, L as LayerFilters, b as GeoJsonRequestOptions, c as GeoJsonPolygon } from './index-DvcYGhqj.mjs';
|
|
2
|
+
export { O as ApiEnvelope, P as ApiResponseData, ai as ChatRequestDto, ad as ChatRequestOptions, ak as ChatResponseDto, ac as ChatServiceConfig, ae as ChatStreamCallbacks, D as DEFAULT_MAX_FEATURES_FULL_GEOJSON, a8 as EffectiveLayerState, a4 as FilterMultipleLayerMeta, a5 as FilterMultipleWithFallbackResult, a3 as FilterValue, ar as FloatingChatBox, as as FloatingChatBoxProps, T as GeoJsonBBoxRequest, J as GeoJsonGeometryCollection, W as GeoJsonIntersectRequest, I as GeoJsonPoint, o as HttpClient, H as HttpClientOptions, X as LayerAoi, a6 as LayerBaseState, K as LayerDataStrategy, C as LayerDto, a1 as LayerFeatureCatalogItem, a2 as LayerFeaturesCatalogDto, Q as LayerMetadata, a7 as LayerOverrideState, an as LayerSnapshot, av as LayerStyle, E as LayerSummary, $ as LoadLayerDataParams, a0 as LoadLayerDataResult, f as LoginRequest, g as LoginResponse, s as MapLayerConfig, q as MapSettings, h as MeResponse, R as RefreshResponse, Y as ResolveLayerStrategyParams, _ as ResolveLayerStrategyResult, j as SdkTokenExchangeResponse, S as SdkTokenValidateResponse, aj as SuggestedAction, U as UserSummary, V as ValidateResponse, i as ZenitAuthClient, d as ZenitClient, aq as ZenitFeatureFilterPanel, ap as ZenitLayerManager, A as ZenitLayersClient, al as ZenitMap, ao as ZenitMapProps, am as ZenitMapRef, p as ZenitMapsClient, e as ZenitRuntimeConfig, k as ZenitSdkAuthClient, Z as ZenitSdkConfig, l as ZenitSdkError, aA as ZoomOpacityOptions, aa as applyLayerOverrides, x as buildAoiFromFeatureCollection, u as buildFilterMultipleParams, t as buildLayerFilters, z as buildLimitedMessage, aB as clampNumber, aC as clampOpacity, ah as createChatService, az as getAccentByLayerId, aG as getEffectiveLayerOpacity, ax as getLayerColor, aF as getLayerZoomOpacityFactor, ay as getStyleByLayerId, aE as getZoomOpacityFactor, a9 as initLayerStates, aD as isPolygonLayer, m as mergeFilters, n as normalizeFilters, ab as resetOverrides, aw as resolveLayerAccent, y as resolveLayerStrategy, r as resolveRuntimeConfig, af as sendMessage, ag as sendMessageStream, w as shouldSkipGeojsonDownload, v as shouldUseFilterMultiple, at as useSendMessage, au as useSendMessageStream } from './index-DvcYGhqj.mjs';
|
|
3
3
|
export { ChevronLeft, ChevronRight, Eye, EyeOff, Layers, Upload, X, ZoomIn } from 'lucide-react';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'leaflet';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MapDto, N as NormalizedMapLayer, G as GeoJsonFeature, B as Bbox, a as GeoJsonFeatureCollection, F as FilterMultipleMetadata, L as LayerFilters, b as GeoJsonRequestOptions, c as GeoJsonPolygon } from './index-
|
|
2
|
-
export {
|
|
1
|
+
import { M as MapDto, N as NormalizedMapLayer, G as GeoJsonFeature, B as Bbox, a as GeoJsonFeatureCollection, F as FilterMultipleMetadata, L as LayerFilters, b as GeoJsonRequestOptions, c as GeoJsonPolygon } from './index-DvcYGhqj.js';
|
|
2
|
+
export { O as ApiEnvelope, P as ApiResponseData, ai as ChatRequestDto, ad as ChatRequestOptions, ak as ChatResponseDto, ac as ChatServiceConfig, ae as ChatStreamCallbacks, D as DEFAULT_MAX_FEATURES_FULL_GEOJSON, a8 as EffectiveLayerState, a4 as FilterMultipleLayerMeta, a5 as FilterMultipleWithFallbackResult, a3 as FilterValue, ar as FloatingChatBox, as as FloatingChatBoxProps, T as GeoJsonBBoxRequest, J as GeoJsonGeometryCollection, W as GeoJsonIntersectRequest, I as GeoJsonPoint, o as HttpClient, H as HttpClientOptions, X as LayerAoi, a6 as LayerBaseState, K as LayerDataStrategy, C as LayerDto, a1 as LayerFeatureCatalogItem, a2 as LayerFeaturesCatalogDto, Q as LayerMetadata, a7 as LayerOverrideState, an as LayerSnapshot, av as LayerStyle, E as LayerSummary, $ as LoadLayerDataParams, a0 as LoadLayerDataResult, f as LoginRequest, g as LoginResponse, s as MapLayerConfig, q as MapSettings, h as MeResponse, R as RefreshResponse, Y as ResolveLayerStrategyParams, _ as ResolveLayerStrategyResult, j as SdkTokenExchangeResponse, S as SdkTokenValidateResponse, aj as SuggestedAction, U as UserSummary, V as ValidateResponse, i as ZenitAuthClient, d as ZenitClient, aq as ZenitFeatureFilterPanel, ap as ZenitLayerManager, A as ZenitLayersClient, al as ZenitMap, ao as ZenitMapProps, am as ZenitMapRef, p as ZenitMapsClient, e as ZenitRuntimeConfig, k as ZenitSdkAuthClient, Z as ZenitSdkConfig, l as ZenitSdkError, aA as ZoomOpacityOptions, aa as applyLayerOverrides, x as buildAoiFromFeatureCollection, u as buildFilterMultipleParams, t as buildLayerFilters, z as buildLimitedMessage, aB as clampNumber, aC as clampOpacity, ah as createChatService, az as getAccentByLayerId, aG as getEffectiveLayerOpacity, ax as getLayerColor, aF as getLayerZoomOpacityFactor, ay as getStyleByLayerId, aE as getZoomOpacityFactor, a9 as initLayerStates, aD as isPolygonLayer, m as mergeFilters, n as normalizeFilters, ab as resetOverrides, aw as resolveLayerAccent, y as resolveLayerStrategy, r as resolveRuntimeConfig, af as sendMessage, ag as sendMessageStream, w as shouldSkipGeojsonDownload, v as shouldUseFilterMultiple, at as useSendMessage, au as useSendMessageStream } from './index-DvcYGhqj.js';
|
|
3
3
|
export { ChevronLeft, ChevronRight, Eye, EyeOff, Layers, Upload, X, ZoomIn } from 'lucide-react';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'leaflet';
|