@kepler.gl/utils 3.3.0-alpha.26 → 3.3.0-alpha.28

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.
@@ -0,0 +1,5 @@
1
+ import type { AnnotationPropsPartial, AnnotationReadout, ViewportAnnotationPlacement } from '@kepler.gl/types';
2
+ export declare function normalizeAnnotationViewport(value: unknown): ViewportAnnotationPlacement | undefined;
3
+ export declare function normalizeAnnotationReadout(value: unknown): AnnotationReadout | undefined;
4
+ /** Own caption metadata and discard it when changing back to a geographic annotation. */
5
+ export declare function normalizeAnnotationCaption(config: AnnotationPropsPartial): Pick<AnnotationPropsPartial, 'viewport' | 'readout'>;
@@ -190,6 +190,8 @@ export type KeplerApplicationConfig = {
190
190
  enableCameraBookmarks?: boolean;
191
191
  /** Whether to show the Camera animation panel in Interactions. Enabled by default. */
192
192
  enableCameraTour?: boolean;
193
+ /** Whether to show the experimental Animation editor map-control button and panel. Enabled by default. */
194
+ enableAnimationEditor?: boolean;
193
195
  /**
194
196
  * Master switch for power-user JSON editors. When false, every section editor is hidden.
195
197
  * Defaults to true; each section also has its own flag.
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.normalizeAnnotationCaption = normalizeAnnotationCaption;
8
+ exports.normalizeAnnotationReadout = normalizeAnnotationReadout;
9
+ exports.normalizeAnnotationViewport = normalizeAnnotationViewport;
10
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
12
+ var _constants = require("@kepler.gl/constants");
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // SPDX-License-Identifier: MIT
15
+ // Copyright contributors to the kepler.gl project
16
+ var anchors = new Set(['top-left', 'top', 'top-right', 'left', 'right', 'bottom-left', 'bottom', 'bottom-right']);
17
+ function normalizeAnnotationViewport(value) {
18
+ if (!value || (0, _typeof2["default"])(value) !== 'object') return undefined;
19
+ var _ref = value,
20
+ anchor = _ref.anchor,
21
+ margin = _ref.margin;
22
+ if (!anchors.has(anchor) || !Array.isArray(margin) || margin.length !== 2 || !margin.every(function (item) {
23
+ return Number.isFinite(item) && item >= 0;
24
+ })) return undefined;
25
+ return {
26
+ anchor: anchor,
27
+ margin: [margin[0], margin[1]]
28
+ };
29
+ }
30
+ function normalizeAnnotationReadout(value) {
31
+ if (!value || (0, _typeof2["default"])(value) !== 'object') return undefined;
32
+ var readout = value;
33
+ if (readout.type === 'time' && (readout.format === undefined || typeof readout.format === 'string' && readout.format.length > 0 && readout.format.length <= 128)) {
34
+ return _objectSpread({
35
+ type: 'time'
36
+ }, readout.format !== undefined ? {
37
+ format: readout.format
38
+ } : {});
39
+ }
40
+ if (readout.type === 'count' && typeof readout.dataId === 'string' && readout.dataId.trim()) {
41
+ return {
42
+ type: 'count',
43
+ dataId: readout.dataId
44
+ };
45
+ }
46
+ return undefined;
47
+ }
48
+
49
+ /** Own caption metadata and discard it when changing back to a geographic annotation. */
50
+ function normalizeAnnotationCaption(config) {
51
+ var viewport = config.kind === _constants.AnnotationKind.TEXT ? normalizeAnnotationViewport(config.viewport) : undefined;
52
+ if (!viewport) return {};
53
+ var readout = normalizeAnnotationReadout(config.readout);
54
+ return _objectSpread({
55
+ viewport: viewport
56
+ }, readout ? {
57
+ readout: readout
58
+ } : {});
59
+ }
60
+ //# sourceMappingURL=annotation-caption.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotation-caption.js","names":["_constants","require","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","anchors","Set","normalizeAnnotationViewport","value","_typeof2","undefined","_ref","anchor","margin","has","Array","isArray","every","item","Number","isFinite","normalizeAnnotationReadout","readout","type","format","dataId","trim","normalizeAnnotationCaption","config","viewport","kind","AnnotationKind","TEXT"],"sources":["../../src/annotation-caption.ts"],"sourcesContent":["// SPDX-License-Identifier: MIT\n// Copyright contributors to the kepler.gl project\n\nimport {AnnotationKind} from '@kepler.gl/constants';\nimport type {\n AnnotationPropsPartial,\n AnnotationReadout,\n ViewportAnnotationPlacement\n} from '@kepler.gl/types';\n\nconst anchors = new Set([\n 'top-left',\n 'top',\n 'top-right',\n 'left',\n 'right',\n 'bottom-left',\n 'bottom',\n 'bottom-right'\n]);\n\nexport function normalizeAnnotationViewport(\n value: unknown\n): ViewportAnnotationPlacement | undefined {\n if (!value || typeof value !== 'object') return undefined;\n const {anchor, margin} = value as ViewportAnnotationPlacement;\n if (\n !anchors.has(anchor) ||\n !Array.isArray(margin) ||\n margin.length !== 2 ||\n !margin.every(item => Number.isFinite(item) && item >= 0)\n )\n return undefined;\n return {anchor, margin: [margin[0], margin[1]]};\n}\n\nexport function normalizeAnnotationReadout(value: unknown): AnnotationReadout | undefined {\n if (!value || typeof value !== 'object') return undefined;\n const readout = value as AnnotationReadout;\n if (\n readout.type === 'time' &&\n (readout.format === undefined ||\n (typeof readout.format === 'string' &&\n readout.format.length > 0 &&\n readout.format.length <= 128))\n ) {\n return {type: 'time', ...(readout.format !== undefined ? {format: readout.format} : {})};\n }\n if (readout.type === 'count' && typeof readout.dataId === 'string' && readout.dataId.trim()) {\n return {type: 'count', dataId: readout.dataId};\n }\n return undefined;\n}\n\n/** Own caption metadata and discard it when changing back to a geographic annotation. */\nexport function normalizeAnnotationCaption(\n config: AnnotationPropsPartial\n): Pick<AnnotationPropsPartial, 'viewport' | 'readout'> {\n const viewport =\n config.kind === AnnotationKind.TEXT ? normalizeAnnotationViewport(config.viewport) : undefined;\n if (!viewport) return {};\n const readout = normalizeAnnotationReadout(config.readout);\n return {viewport, ...(readout ? {readout} : {})};\n}\n"],"mappings":";;;;;;;;;;;AAGA,IAAAA,UAAA,GAAAC,OAAA;AAAoD,SAAAC,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAAc,yBAAA,GAAAd,MAAA,CAAAe,gBAAA,CAAAlB,CAAA,EAAAG,MAAA,CAAAc,yBAAA,CAAAf,CAAA,KAAAH,OA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CAACE,MAAM,KAAKd,SAAS,IAC1B,OAAOY,OAAO,CAACE,MAAM,KAAK,QAAQ,IACjCF,OAAO,CAACE,MAAM,CAACzB,MAAM,GAAG,CAAC,IACzBuB,OAAO,CAACE,MAAM,CAACzB,MAAM,IAAI,GAAI,CAAC,EAClC;IACA,OAAAF,aAAA;MAAQ0B,IAAI,EAAE;IAAM,GAAMD,OAAO,CAACE,MAAM,KAAKd,SAAS,GAAG;MAACc,MAAM,EAAEF,OAAO,CAACE;IAAM,CAAC,GAAG,CAAC,CAAC;EACxF;EACA,IAAIF,OAAO,CAACC,IAAI,KAAK,OAAO,IAAI,OAAOD,OAAO,CAACG,MAAM,KAAK,QAAQ,IAAIH,OAAO,CAACG,MAAM,CAACC,IAAI,CAAC,CAAC,EAAE;IAC3F,OAAO;MAACH,IAAI,EAAE,OAAO;MAAEE,MAAM,EAAEH,OAAO,CAACG;IAAM,CAAC;EAChD;EACA,OAAOf,SAAS;AAClB;;AAEA;AACO,SAASiB,0BAA0BA,CACxCC,MAA8B,EACwB;EACtD,IAAMC,QAAQ,GACZD,MAAM,CAACE,IAAI,KAAKC,yBAAc,CAACC,IAAI,GAAGzB,2BAA2B,CAACqB,MAAM,CAACC,QAAQ,CAAC,GAAGnB,SAAS;EAChG,IAAI,CAACmB,QAAQ,EAAE,OAAO,CAAC,CAAC;EACxB,IAAMP,OAAO,GAAGD,0BAA0B,CAACO,MAAM,CAACN,OAAO,CAAC;EAC1D,OAAAzB,aAAA;IAAQgC,QAAQ,EAARA;EAAQ,GAAMP,OAAO,GAAG;IAACA,OAAO,EAAPA;EAAO,CAAC,GAAG,CAAC,CAAC;AAChD","ignoreList":[]}
@@ -153,6 +153,7 @@ var DEFAULT_APPLICATION_CONFIG = {
153
153
  enableMapInfo: true,
154
154
  enableCameraBookmarks: true,
155
155
  enableCameraTour: true,
156
+ enableAnimationEditor: true,
156
157
  enableJsonEditors: true,
157
158
  enableLayerJsonEditor: true,
158
159
  enableFilterJsonEditor: true,
@@ -1 +1 @@
1
- {"version":3,"file":"application-config.js","names":["_constants","require","_interopRequireWildcard","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof2","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isWebpackBuild","__webpack_require__","DEFAULT_APPLICATION_CONFIG","defaultHtmlName","defaultImageName","defaultJsonName","defaultDataName","defaultExportJsonSettings","hasData","enableCustomExportBranding","baseMapLibraryConfig","maplibre","getMapLib","Promise","resolve","then","mapLibCssClass","mapLibAttributionCssClass","mapLibName","mapLibUrl","mapbox","cdnUrl","KEPLER_UNFOLDED_BUCKET","sqlJsUrl","parquetWasmUrl","plugins","table","database","useArrowProgressiveLoading","useOnFilteredItemsChange","enableRasterTileLayer","rasterServerUseLatestTitiler","rasterServerShowServerInput","rasterServerUrls","rasterServerSupportsElevation","rasterServerMaxRetries","rasterServerRetryDelay","rasterServerServerErrorsToRetry","rasterServerMaxPerServerRequests","enableWMSLayer","enableZarrLayer","enableFlowLayer","enableBitmapLayer","enableA5Layer","enableGeohashLayer","enableFlowFieldLayer","enableContourLayer","enableVoronoiLayer","enableDonutLayer","showInlineTilesetExamples","escapeXhtmlForWebpack","maxPitch","enableMapRepeat","enableAnnotations","enableDrawOnMapSketches","enableMapNavigationControl","enableMapScale","enableFitBoundsOnManualLayer","enableSwipeMode","enableGlobeView","enableLayerGroups","themes","enableColumnStats","enableDatasetOps","enableChartsPanel","enableMapInfo","enableCameraBookmarks","enableCameraTour","enableJsonEditors","enableLayerJsonEditor","enableFilterJsonEditor","enableEffectJsonEditor","enableViewportJsonEditor","enableAnimationJsonEditor","enableChartJsonEditor","enableRemoteFileFormatSelector","largeDatasetWarningRows","largeDatasetWarningBytes","acceptedFileFormats","customIcons","customIconUrl","reduxLogLevel","maxArrowBatches","applicationConfig","getApplicationConfig","exports","initApplicationConfig","appConfig","arguments","length","undefined","assign"],"sources":["../../src/application-config.ts"],"sourcesContent":["// SPDX-License-Identifier: MIT\n// Copyright contributors to the kepler.gl project\n\nimport type {MapLib, MapRef} from 'react-map-gl/mapbox-legacy';\n\nimport {KEPLER_UNFOLDED_BUCKET} from '@kepler.gl/constants';\nimport type {BaseMapLibraryType} from '@kepler.gl/constants';\n\nimport type {DatabaseAdapter} from './application-config-types';\n\n/**\n * Represents a custom SVG icon that can be used in the icon layer.\n * The mesh describes the icon's geometry as triangulated SVG paths.\n *\n * Important: Triangle cells must use counter-clockwise (CCW) winding order.\n * Positions should be in the range [-1, 1] on both axes.\n */\nexport type SvgIcon = {\n /** Unique identifier for the icon, used as the value in the data's icon column */\n id: string;\n /** Triangulated SVG path geometry */\n mesh: {\n /** Triangle cell indices referencing positions (CCW winding order) */\n cells: [number, number, number][];\n /** Vertex positions [x, y, z] in range [-1, 1] */\n positions: [number, number, number][];\n };\n};\n\n/**\n * Detect if running with webpack build tool\n */\nfunction isWebpackBuild(): boolean {\n // @ts-ignore - __webpack_require__ is injected by webpack at runtime\n return typeof __webpack_require__ !== 'undefined';\n}\n\nexport type MapLibInstance = MapLib;\nexport type GetMapRef = ReturnType<MapRef['getMap']>;\n\nexport type BaseMapLibraryConfig = {\n getMapLib: () => Promise<MapLibInstance>;\n mapLibAttributionCssClass: string;\n mapLibCssClass: string;\n mapLibName: string;\n mapLibUrl: string;\n};\n\n/**\n * A mechanism to override default Kepler values/settings so that we\n * without having to make application-specific changes to the kepler repo.\n */\n/**\n * Controls which Redux actions are suppressed by the dev-mode Redux logger.\n * Mirrors the `log.level` convention used by luma.gl / deck.gl.\n *\n * - `0` — log every action (no filtering)\n * - `1` — suppress the highest-frequency UI noise:\n * MOUSE_MOVE, LAYER_HOVER, SET_MAP_BOUNDARY, SET_LOADING_INDICATOR,\n * SET_LOADING_PROGRESS\n * - `2` — suppress everything in level 1 plus map/layer update chatter:\n * LOAD_MAP_STYLES, UPDATE_MAP, LAYER_VISUAL_CHANGE,\n * ON_MAP_CLICK, FILTER_CHANGE, MAP_LOAD_STARTED\n *\n * Effects by context:\n * - **redux-logger** (console output): only active when `NODE_ENV === 'local'` (i.e. `yarn start`)\n * - **Redux DevTools** (`actionsBlacklist`): active whenever the browser extension is present,\n * regardless of `NODE_ENV`\n *\n * Default: `1`\n *\n * @example\n * ```ts\n * initApplicationConfig({ reduxLogLevel: 2 }); // quieter dev console\n * initApplicationConfig({ reduxLogLevel: 0 }); // see every action\n * ```\n */\nexport type ReduxLogLevel = 0 | 1 | 2;\n\n/** Built-in file formats that can be listed in {@link KeplerApplicationConfig.acceptedFileFormats}. */\nexport type KeplerAcceptedFileFormat =\n | 'csv'\n | 'tsv'\n | 'dsv'\n | 'json'\n | 'geojson'\n | 'ndjson'\n | 'jsonl'\n | 'geojsonl'\n | 'ndgeojson'\n | 'ldgeojson'\n | 'kml'\n | 'gpx'\n | 'tcx'\n | 'arrow'\n | 'feather'\n | 'parquet'\n | 'shp'\n | 'shapefile'\n | 'zip'\n | 'dbf'\n | 'shx'\n | 'prj'\n | 'cpg'\n | 'xlsx'\n | 'xls'\n | 'xlsm'\n | 'xlsb'\n | 'excel'\n | 'fgb'\n | 'flatgeobuf';\n\nexport type KeplerApplicationConfig = {\n /** Default name of export HTML file, can be overridden by user */\n defaultHtmlName?: string;\n defaultImageName?: string;\n defaultJsonName?: string;\n defaultDataName?: string;\n defaultExportJsonSettings?: {\n hasData?: boolean;\n };\n /**\n * Whether to show editable application name and website controls for exported maps.\n * Enabled by default.\n */\n enableCustomExportBranding?: boolean;\n baseMapLibraryConfig?: Record<BaseMapLibraryType, BaseMapLibraryConfig>;\n plugins?: any[];\n // KeplerTable alternative\n // TODO improve typing by exporting KeplerTable interface to @kepler.gl/types\n table?: any;\n database?: DatabaseAdapter | null;\n\n // Disable progressive loading for arrow files\n useArrowProgressiveLoading?: boolean;\n // Use the onFilteredItemsChange callback for DataFilterExtension.\n // Enabling this option may cause performance issues when dealing with a large number of layers or sublayers,\n // especially if large Arrow files are split into relatively small batches (should be fixed in the future).\n useOnFilteredItemsChange?: boolean;\n\n // A URL to the CDN where the kepler.gl assets are hosted.\n cdnUrl?: string;\n /**\n * Folder that Export data loads sql.js from to write GeoPackage files. It must hold\n * `sql-wasm.js` and `sql-wasm.wasm` from the sql.js version kepler.gl depends on.\n * Empty loads them from jsDelivr.\n */\n sqlJsUrl?: string;\n /**\n * URL of `parquet_wasm_bg.wasm` from the parquet-wasm version kepler.gl depends on,\n * which Export data uses to write GeoParquet files. Empty loads it from unpkg.\n */\n parquetWasmUrl?: string;\n\n // Raster Tile layer config\n // Raster Tile layer is under development and not ready for production use. Disabled by default.\n enableRasterTileLayer?: boolean;\n /** Whether to use Titiler v0.21 API endpoints instead of v0.11 */\n rasterServerUseLatestTitiler?: boolean;\n /** An array of URLs to shards of the raster tile server to be used by the raster tile layer. */\n rasterServerUrls?: string[];\n /** If true then try to fetch quantized elevation meshes from raster servers */\n rasterServerSupportsElevation?: boolean;\n /** How many times to retry a request if case of rasterServerServerErrorsToRetry errors */\n rasterServerMaxRetries?: number;\n /** How long between retries */\n rasterServerRetryDelay?: number;\n /** An array of HTTP status codes that should be retried when encountered. */\n rasterServerServerErrorsToRetry?: number[];\n /** Maximum number of simultaneous requests per raster server. 0 - no limit */\n rasterServerMaxPerServerRequests?: number;\n /** Whether to show the server input field in the raster tile layer setup form */\n rasterServerShowServerInput?: boolean;\n\n // WMS layer config -- Experimental\n // WMS layer is under development and not ready for production use. Disabled by default.\n enableWMSLayer?: boolean;\n\n // Zarr layer config -- Experimental\n // Enabled by default. Set false to hide Zarr in Add Data and layer type pickers.\n // Existing Zarr layers in saved maps can still render.\n enableZarrLayer?: boolean;\n\n // Flow layer config\n enableFlowLayer?: boolean;\n\n // Bitmap layer config\n enableBitmapLayer?: boolean;\n\n // A5 layer config\n // A5 DGGS layer is optional. Disabled by default; enable via initApplicationConfig.\n enableA5Layer?: boolean;\n\n // GeoHash layer config\n // GeoHash layer is optional. Enabled by default; disable via initApplicationConfig.\n enableGeohashLayer?: boolean;\n\n // Flow Field (streamlines) layer config\n enableFlowFieldLayer?: boolean;\n\n // Contour layer config -- Experimental\n // Enabled by default. Set false to hide Contour in layer type pickers.\n // Existing Contour layers in saved maps can still render.\n enableContourLayer?: boolean;\n\n // Voronoi Mosaic layer config\n // Enabled by default. Set false to hide Voronoi in layer type pickers.\n // Existing Voronoi layers in saved maps can still render.\n enableVoronoiLayer?: boolean;\n\n // Donut layer config\n // Enabled by default. Set false to hide Donut in layer type pickers.\n // Existing Donut layers in saved maps can still render.\n enableDonutLayer?: boolean;\n\n /** Whether to show example URLs in tileset setup forms (vector tile, raster tile, WMS, 3D tile) */\n showInlineTilesetExamples?: boolean;\n\n // Image export config\n /** Whether to apply fix for uglify error in dom-to-image (should be true for webpack builds, false for Vite) */\n escapeXhtmlForWebpack?: boolean;\n\n /** Maximum pitch angle in degrees. deck.gl defaults to 60; set higher (up to 85) for elevated perspectives.\n * Note: values above 60 may cause rendering artifacts with some basemap tile providers. */\n maxPitch?: number;\n\n /**\n * Draw flat-map layers on every visible world copy. Disabled by default because\n * each copy adds rendering and picking work. With it disabled, layers can be\n * missing on adjacent world copies across the antimeridian. Enable with\n * `initApplicationConfig({enableMapRepeat: true})`.\n */\n enableMapRepeat?: boolean;\n\n /** Whether to enable the annotations feature. Enabled by default. */\n enableAnnotations?: boolean;\n\n /**\n * Whether to enable extended Draw on Map sketch tools: Point, Line, Copy all,\n * Convert to Layer, and Edit Properties.\n * Polygon and rectangle drawing remain available when this is disabled. Enabled by default.\n */\n enableDrawOnMapSketches?: boolean;\n\n /** Whether to show the map navigation control (zoom buttons and compass). Enabled by default. */\n enableMapNavigationControl?: boolean;\n\n /** Whether to show the map scale bar at the bottom-left of the map. Enabled by default. */\n enableMapScale?: boolean;\n\n /**\n * Fit the map to a dataset when the layer type dropdown gives a manually\n * added layer its first type. The layer already has a dataset (chosen from\n * Add Layer). Programmatic `layerTypeChange`, saved configs, and later type\n * changes do not move the map.\n * Enabled by default. Disable with {@link initApplicationConfig}.\n *\n * @example\n * ```\n * initApplicationConfig({enableFitBoundsOnManualLayer: false});\n * ```\n */\n enableFitBoundsOnManualLayer?: boolean;\n\n /** Whether to enable the swipe compare mode in split map view. Enabled by default. */\n enableSwipeMode?: boolean;\n\n /** Whether to show the option to switch to the globe view. Enabled by default. */\n enableGlobeView?: boolean;\n\n /** Whether to enable the layer groups feature. Enabled by default. */\n enableLayerGroups?: boolean;\n\n /**\n * Named UI themes to cycle (`dark`, `light`, `space`, `base`).\n * Empty (default): dark theme, no switcher.\n * One theme: that theme is used, no switcher.\n * Two or more: first is the default, a map control cycles the list.\n */\n themes?: string[];\n\n /** Whether to show column statistics in the data table modal. Enabled by default. */\n enableColumnStats?: boolean;\n\n /** Group-by, attribute join, and simple spatial join UI on local datasets. Enabled by default. */\n enableDatasetOps?: boolean;\n\n /**\n * Whether to show the charts map-control panel (big number, bar, line,\n * heatmap, pivot table, tooltip charts, and chart cross-filters).\n * Enabled by default. Disable with {@link initApplicationConfig}.\n */\n enableChartsPanel?: boolean;\n\n /**\n * Whether to show the Map info section in Interactions and the on-map\n * name and description card. Enabled by default.\n */\n enableMapInfo?: boolean;\n\n /** Whether to show the Bookmarks panel in Interactions. Enabled by default. */\n enableCameraBookmarks?: boolean;\n\n /** Whether to show the Camera animation panel in Interactions. Enabled by default. */\n enableCameraTour?: boolean;\n\n /**\n * Master switch for power-user JSON editors. When false, every section editor is hidden.\n * Defaults to true; each section also has its own flag.\n *\n * @example\n * ```\n * initApplicationConfig({\n * enableViewportJsonEditor: true,\n * enableLayerJsonEditor: false\n * });\n * ```\n */\n enableJsonEditors?: boolean;\n\n /** Layer panel `{ }` JSON editor. Enabled by default. */\n enableLayerJsonEditor?: boolean;\n\n /** Filter panel `{ }` JSON editor. Enabled by default. */\n enableFilterJsonEditor?: boolean;\n\n /** Effect panel `{ }` JSON editor. Enabled by default. */\n enableEffectJsonEditor?: boolean;\n\n /**\n * Viewport JSON editor map-control button. Disabled by default because it adds an extra\n * map control.\n */\n enableViewportJsonEditor?: boolean;\n\n /** Animation / time-filter playback `{ }` JSON editor. Enabled by default. */\n enableAnimationJsonEditor?: boolean;\n\n /** Charts panel `{ }` JSON editor. Enabled by default. */\n enableChartJsonEditor?: boolean;\n\n /**\n * Show a format dropdown next to the remote dataset URL field (Auto / CSV / GeoJSON / JSON / Arrow / Parquet).\n * Useful for extensionless URLs such as Azure SAS blobs. Disabled by default.\n */\n enableRemoteFileFormatSelector?: boolean;\n\n /**\n * Warn in the Add Data list when a dataset has at least this many rows.\n * `false` shows no warning. The warning waits until the row count is known.\n *\n * @example\n * ```\n * initApplicationConfig({largeDatasetWarningRows: 1_000_000});\n * initApplicationConfig({largeDatasetWarningRows: false});\n * ```\n */\n largeDatasetWarningRows?: false | number;\n\n /**\n * Warn in the Add Data list when a file is at least this many bytes.\n * `false` shows no file-size warning. Either this or {@link largeDatasetWarningRows}\n * can show the same tag.\n *\n * @example\n * ```\n * initApplicationConfig({largeDatasetWarningBytes: 50 * 1024 * 1024});\n * initApplicationConfig({largeDatasetWarningBytes: false});\n * ```\n */\n largeDatasetWarningBytes?: false | number;\n\n /**\n * File formats Kepler may load from drag-and-drop, the file picker, and remote URLs.\n * Values are format ids or extensions (`csv`, `geojson`, `kml`, `shp`, `xlsx`, `fgb`, …).\n * When omitted or `null`, every built-in format is accepted.\n *\n * @example\n * ```\n * initApplicationConfig({acceptedFileFormats: ['csv', 'geojson', 'parquet']});\n * ```\n */\n acceptedFileFormats?: KeplerAcceptedFileFormat[] | null;\n\n /**\n * Custom SVG icons to be made available in the icon layer.\n * These icons will be merged with the default icons fetched from CDN.\n * Each icon must have a unique `id` and a `mesh` describing its triangulated geometry.\n *\n * @example\n * ```\n * initApplicationConfig({\n * customIcons: [\n * {\n * id: 'my-custom-marker',\n * mesh: {\n * cells: [[0, 1, 2], [2, 3, 0]],\n * positions: [[0, 1, 0], [1, -1, 0], [-1, -1, 0], [0, 0, 0]]\n * }\n * }\n * ]\n * });\n * ```\n */\n customIcons?: SvgIcon[];\n\n /**\n * URL to a remote JSON file containing custom SVG icons.\n * The JSON file should have the format: `{ \"svgIcons\": [{ id, mesh: { cells, positions } }, ...] }`\n * Icons from this URL will be merged with default CDN icons and inline `customIcons`.\n *\n * @example\n * ```\n * initApplicationConfig({\n * customIconUrl: 'https://my-server.com/my-icons.json'\n * });\n * ```\n */\n customIconUrl?: string;\n\n /** Controls Redux action logging verbosity in dev mode. See {@link ReduxLogLevel}. */\n reduxLogLevel?: ReduxLogLevel;\n\n /**\n * If an Arrow/Parquet table has more record batches than this, they are\n * compacted into a single batch. The default is `1`, so any table with more\n * than one record batch is compacted. Deck.gl picking supports at most 255\n * pickable leaf layers, and GeoJSON adds fill/stroke/point sublayers per\n * batch, so a higher cap still overruns picking. Compacting copies the table.\n * Progressive Arrow loading skips compaction on intermediate batches and\n * compacts the completed file once. Set a very large number to never compact.\n *\n * @example\n * ```\n * initApplicationConfig({maxArrowBatches: 64});\n * ```\n */\n maxArrowBatches?: number;\n};\n\nconst DEFAULT_APPLICATION_CONFIG: Required<KeplerApplicationConfig> = {\n defaultHtmlName: 'kepler.gl.html',\n defaultImageName: 'kepler.gl.png',\n defaultJsonName: 'kepler.gl.json',\n defaultDataName: 'kepler.gl',\n defaultExportJsonSettings: {\n hasData: true\n },\n enableCustomExportBranding: true,\n\n baseMapLibraryConfig: {\n maplibre: {\n getMapLib: () => import('maplibre-gl') as unknown as Promise<MapLibInstance>,\n mapLibCssClass: 'maplibregl',\n mapLibAttributionCssClass: 'maplibre-attribution-container',\n mapLibName: 'MapLibre',\n mapLibUrl: 'https://www.maplibre.org/'\n },\n mapbox: {\n getMapLib: () => import('mapbox-gl'),\n mapLibCssClass: 'mapboxgl',\n mapLibAttributionCssClass: 'mapbox-attribution-container',\n mapLibName: 'Mapbox',\n mapLibUrl: 'https://www.mapbox.com/'\n }\n },\n\n cdnUrl: KEPLER_UNFOLDED_BUCKET,\n sqlJsUrl: '',\n parquetWasmUrl: '',\n\n plugins: [],\n // The default table class is KeplerTable.\n // TODO include KeplerTable here when the circular dependency with @kepler.gl/table and @kepler.gl/utils are resolved.\n table: null,\n database: null,\n\n useArrowProgressiveLoading: false,\n useOnFilteredItemsChange: false,\n\n // Raster Tile layer config\n enableRasterTileLayer: true,\n rasterServerUseLatestTitiler: true,\n rasterServerShowServerInput: true,\n rasterServerUrls: [], // TODO: provide a default free server or leave blank\n rasterServerSupportsElevation: true,\n rasterServerMaxRetries: 1,\n rasterServerRetryDelay: 10000,\n rasterServerServerErrorsToRetry: [503],\n rasterServerMaxPerServerRequests: 0,\n\n // WMS layer config\n enableWMSLayer: true,\n\n // Zarr layer config -- experimental, disable via initApplicationConfig\n enableZarrLayer: true,\n\n // Flow layer config\n enableFlowLayer: true,\n\n // Bitmap layer config\n enableBitmapLayer: true,\n\n // A5 layer config\n enableA5Layer: true,\n\n // GeoHash layer config\n enableGeohashLayer: true,\n\n // Flow Field layer config\n enableFlowFieldLayer: true,\n\n // Contour layer config -- disable via initApplicationConfig\n enableContourLayer: true,\n\n // Voronoi Mosaic layer config -- disable via initApplicationConfig\n enableVoronoiLayer: true,\n\n // Donut layer config -- disable via initApplicationConfig\n enableDonutLayer: true,\n\n showInlineTilesetExamples: true,\n\n // Image export config\n // Default to true for webpack builds, false for other build tools (e.g., Vite)\n escapeXhtmlForWebpack: isWebpackBuild(),\n\n maxPitch: 60,\n\n enableMapRepeat: false,\n\n enableAnnotations: true,\n\n enableDrawOnMapSketches: true,\n\n enableMapNavigationControl: true,\n\n enableMapScale: true,\n\n enableFitBoundsOnManualLayer: true,\n\n enableSwipeMode: true,\n\n enableGlobeView: true,\n\n enableLayerGroups: true,\n\n themes: [],\n\n enableColumnStats: true,\n\n enableDatasetOps: true,\n\n enableChartsPanel: true,\n\n enableMapInfo: true,\n\n enableCameraBookmarks: true,\n\n enableCameraTour: true,\n\n enableJsonEditors: true,\n enableLayerJsonEditor: true,\n enableFilterJsonEditor: true,\n enableEffectJsonEditor: true,\n enableViewportJsonEditor: false,\n enableAnimationJsonEditor: true,\n enableChartJsonEditor: true,\n\n enableRemoteFileFormatSelector: false,\n\n largeDatasetWarningRows: 500_000,\n\n largeDatasetWarningBytes: 1024 * 1024 * 1024,\n\n acceptedFileFormats: null,\n\n customIcons: [],\n\n customIconUrl: '',\n\n reduxLogLevel: 1,\n\n maxArrowBatches: 1\n};\n\nconst applicationConfig: Required<KeplerApplicationConfig> = DEFAULT_APPLICATION_CONFIG;\n\nexport const getApplicationConfig = (): Required<KeplerApplicationConfig> => applicationConfig;\n\nexport function initApplicationConfig(appConfig: KeplerApplicationConfig = {}) {\n Object.assign(applicationConfig, appConfig);\n}\n"],"mappings":";;;;;;;;;AAKA,IAAAA,UAAA,GAAAC,OAAA;AAA4D,SAAAC,wBAAAC,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAH,uBAAA,YAAAA,wBAAAC,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,mBAAAT,CAAA,iBAAAA,CAAA,oBAAAU,QAAA,aAAAV,CAAA,0BAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAnB,CAAA,EAAAc,EAAA,OAAAP,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CA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gB,EAAE,IAAI;EAEtBC,iBAAiB,EAAE,IAAI;EAEvBC,aAAa,EAAE,IAAI;EAEnBC,qBAAqB,EAAE,IAAI;EAE3BC,gBAAgB,EAAE,IAAI;EAEtBC,iBAAiB,EAAE,IAAI;EACvBC,qBAAqB,EAAE,IAAI;EAC3BC,sBAAsB,EAAE,IAAI;EAC5BC,sBAAsB,EAAE,IAAI;EAC5BC,wBAAwB,EAAE,KAAK;EAC/BC,yBAAyB,EAAE,IAAI;EAC/BC,qBAAqB,EAAE,IAAI;EAE3BC,8BAA8B,EAAE,KAAK;EAErCC,uBAAuB,EAAE,MAAO;EAEhCC,wBAAwB,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI;EAE5CC,mBAAmB,EAAE,IAAI;EAEzBC,WAAW,EAAE,EAAE;EAEfC,aAAa,EAAE,EAAE;EAEjBC,aAAa,EAAE,CAAC;EAEhBC,eAAe,EAAE;AACnB,CAAC;AAED,IAAMC,iBAAoD,GAAGjF,0BAA0B;AAEhF,IAAMkF,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG,SAAvBA,oBAAoBA,CAAA;EAAA,OAA4CD,iBAAiB;AAAA;AAEvF,SAASG,qBAAqBA,CAAA,EAA0C;EAAA,IAAzCC,SAAkC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC3E3F,MAAM,CAAC8F,MAAM,CAACR,iBAAiB,EAAEI,SAAS,CAAC;AAC7C","ignoreList":[]}
1
+ {"version":3,"file":"application-config.js","names":["_constants","require","_interopRequireWildcard","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof2","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isWebpackBuild","__webpack_require__","DEFAULT_APPLICATION_CONFIG","defaultHtmlName","defaultImageName","defaultJsonName","defaultDataName","defaultExportJsonSettings","hasData","enableCustomExportBranding","baseMapLibraryConfig","maplibre","getMapLib","Promise","resolve","then","mapLibCssClass","mapLibAttributionCssClass","mapLibName","mapLibUrl","mapbox","cdnUrl","KEPLER_UNFOLDED_BUCKET","sqlJsUrl","parquetWasmUrl","plugins","table","database","useArrowProgressiveLoading","useOnFilteredItemsChange","enableRasterTileLayer","rasterServerUseLatestTitiler","rasterServerShowServerInput","rasterServerUrls","rasterServerSupportsElevation","rasterServerMaxRetries","rasterServerRetryDelay","rasterServerServerErrorsToRetry","rasterServerMaxPerServerRequests","enableWMSLayer","enableZarrLayer","enableFlowLayer","enableBitmapLayer","enableA5Layer","enableGeohashLayer","enableFlowFieldLayer","enableContourLayer","enableVoronoiLayer","enableDonutLayer","showInlineTilesetExamples","escapeXhtmlForWebpack","maxPitch","enableMapRepeat","enableAnnotations","enableDrawOnMapSketches","enableMapNavigationControl","enableMapScale","enableFitBoundsOnManualLayer","enableSwipeMode","enableGlobeView","enableLayerGroups","themes","enableColumnStats","enableDatasetOps","enableChartsPanel","enableMapInfo","enableCameraBookmarks","enableCameraTour","enableAnimationEditor","enableJsonEditors","enableLayerJsonEditor","enableFilterJsonEditor","enableEffectJsonEditor","enableViewportJsonEditor","enableAnimationJsonEditor","enableChartJsonEditor","enableRemoteFileFormatSelector","largeDatasetWarningRows","largeDatasetWarningBytes","acceptedFileFormats","customIcons","customIconUrl","reduxLogLevel","maxArrowBatches","applicationConfig","getApplicationConfig","exports","initApplicationConfig","appConfig","arguments","length","undefined","assign"],"sources":["../../src/application-config.ts"],"sourcesContent":["// SPDX-License-Identifier: MIT\n// Copyright contributors to the kepler.gl project\n\nimport type {MapLib, MapRef} from 'react-map-gl/mapbox-legacy';\n\nimport {KEPLER_UNFOLDED_BUCKET} from '@kepler.gl/constants';\nimport type {BaseMapLibraryType} from '@kepler.gl/constants';\n\nimport type {DatabaseAdapter} from './application-config-types';\n\n/**\n * Represents a custom SVG icon that can be used in the icon layer.\n * The mesh describes the icon's geometry as triangulated SVG paths.\n *\n * Important: Triangle cells must use counter-clockwise (CCW) winding order.\n * Positions should be in the range [-1, 1] on both axes.\n */\nexport type SvgIcon = {\n /** Unique identifier for the icon, used as the value in the data's icon column */\n id: string;\n /** Triangulated SVG path geometry */\n mesh: {\n /** Triangle cell indices referencing positions (CCW winding order) */\n cells: [number, number, number][];\n /** Vertex positions [x, y, z] in range [-1, 1] */\n positions: [number, number, number][];\n };\n};\n\n/**\n * Detect if running with webpack build tool\n */\nfunction isWebpackBuild(): boolean {\n // @ts-ignore - __webpack_require__ is injected by webpack at runtime\n return typeof __webpack_require__ !== 'undefined';\n}\n\nexport type MapLibInstance = MapLib;\nexport type GetMapRef = ReturnType<MapRef['getMap']>;\n\nexport type BaseMapLibraryConfig = {\n getMapLib: () => Promise<MapLibInstance>;\n mapLibAttributionCssClass: string;\n mapLibCssClass: string;\n mapLibName: string;\n mapLibUrl: string;\n};\n\n/**\n * A mechanism to override default Kepler values/settings so that we\n * without having to make application-specific changes to the kepler repo.\n */\n/**\n * Controls which Redux actions are suppressed by the dev-mode Redux logger.\n * Mirrors the `log.level` convention used by luma.gl / deck.gl.\n *\n * - `0` — log every action (no filtering)\n * - `1` — suppress the highest-frequency UI noise:\n * MOUSE_MOVE, LAYER_HOVER, SET_MAP_BOUNDARY, SET_LOADING_INDICATOR,\n * SET_LOADING_PROGRESS\n * - `2` — suppress everything in level 1 plus map/layer update chatter:\n * LOAD_MAP_STYLES, UPDATE_MAP, LAYER_VISUAL_CHANGE,\n * ON_MAP_CLICK, FILTER_CHANGE, MAP_LOAD_STARTED\n *\n * Effects by context:\n * - **redux-logger** (console output): only active when `NODE_ENV === 'local'` (i.e. `yarn start`)\n * - **Redux DevTools** (`actionsBlacklist`): active whenever the browser extension is present,\n * regardless of `NODE_ENV`\n *\n * Default: `1`\n *\n * @example\n * ```ts\n * initApplicationConfig({ reduxLogLevel: 2 }); // quieter dev console\n * initApplicationConfig({ reduxLogLevel: 0 }); // see every action\n * ```\n */\nexport type ReduxLogLevel = 0 | 1 | 2;\n\n/** Built-in file formats that can be listed in {@link KeplerApplicationConfig.acceptedFileFormats}. */\nexport type KeplerAcceptedFileFormat =\n | 'csv'\n | 'tsv'\n | 'dsv'\n | 'json'\n | 'geojson'\n | 'ndjson'\n | 'jsonl'\n | 'geojsonl'\n | 'ndgeojson'\n | 'ldgeojson'\n | 'kml'\n | 'gpx'\n | 'tcx'\n | 'arrow'\n | 'feather'\n | 'parquet'\n | 'shp'\n | 'shapefile'\n | 'zip'\n | 'dbf'\n | 'shx'\n | 'prj'\n | 'cpg'\n | 'xlsx'\n | 'xls'\n | 'xlsm'\n | 'xlsb'\n | 'excel'\n | 'fgb'\n | 'flatgeobuf';\n\nexport type KeplerApplicationConfig = {\n /** Default name of export HTML file, can be overridden by user */\n defaultHtmlName?: string;\n defaultImageName?: string;\n defaultJsonName?: string;\n defaultDataName?: string;\n defaultExportJsonSettings?: {\n hasData?: boolean;\n };\n /**\n * Whether to show editable application name and website controls for exported maps.\n * Enabled by default.\n */\n enableCustomExportBranding?: boolean;\n baseMapLibraryConfig?: Record<BaseMapLibraryType, BaseMapLibraryConfig>;\n plugins?: any[];\n // KeplerTable alternative\n // TODO improve typing by exporting KeplerTable interface to @kepler.gl/types\n table?: any;\n database?: DatabaseAdapter | null;\n\n // Disable progressive loading for arrow files\n useArrowProgressiveLoading?: boolean;\n // Use the onFilteredItemsChange callback for DataFilterExtension.\n // Enabling this option may cause performance issues when dealing with a large number of layers or sublayers,\n // especially if large Arrow files are split into relatively small batches (should be fixed in the future).\n useOnFilteredItemsChange?: boolean;\n\n // A URL to the CDN where the kepler.gl assets are hosted.\n cdnUrl?: string;\n /**\n * Folder that Export data loads sql.js from to write GeoPackage files. It must hold\n * `sql-wasm.js` and `sql-wasm.wasm` from the sql.js version kepler.gl depends on.\n * Empty loads them from jsDelivr.\n */\n sqlJsUrl?: string;\n /**\n * URL of `parquet_wasm_bg.wasm` from the parquet-wasm version kepler.gl depends on,\n * which Export data uses to write GeoParquet files. Empty loads it from unpkg.\n */\n parquetWasmUrl?: string;\n\n // Raster Tile layer config\n // Raster Tile layer is under development and not ready for production use. Disabled by default.\n enableRasterTileLayer?: boolean;\n /** Whether to use Titiler v0.21 API endpoints instead of v0.11 */\n rasterServerUseLatestTitiler?: boolean;\n /** An array of URLs to shards of the raster tile server to be used by the raster tile layer. */\n rasterServerUrls?: string[];\n /** If true then try to fetch quantized elevation meshes from raster servers */\n rasterServerSupportsElevation?: boolean;\n /** How many times to retry a request if case of rasterServerServerErrorsToRetry errors */\n rasterServerMaxRetries?: number;\n /** How long between retries */\n rasterServerRetryDelay?: number;\n /** An array of HTTP status codes that should be retried when encountered. */\n rasterServerServerErrorsToRetry?: number[];\n /** Maximum number of simultaneous requests per raster server. 0 - no limit */\n rasterServerMaxPerServerRequests?: number;\n /** Whether to show the server input field in the raster tile layer setup form */\n rasterServerShowServerInput?: boolean;\n\n // WMS layer config -- Experimental\n // WMS layer is under development and not ready for production use. Disabled by default.\n enableWMSLayer?: boolean;\n\n // Zarr layer config -- Experimental\n // Enabled by default. Set false to hide Zarr in Add Data and layer type pickers.\n // Existing Zarr layers in saved maps can still render.\n enableZarrLayer?: boolean;\n\n // Flow layer config\n enableFlowLayer?: boolean;\n\n // Bitmap layer config\n enableBitmapLayer?: boolean;\n\n // A5 layer config\n // A5 DGGS layer is optional. Disabled by default; enable via initApplicationConfig.\n enableA5Layer?: boolean;\n\n // GeoHash layer config\n // GeoHash layer is optional. Enabled by default; disable via initApplicationConfig.\n enableGeohashLayer?: boolean;\n\n // Flow Field (streamlines) layer config\n enableFlowFieldLayer?: boolean;\n\n // Contour layer config -- Experimental\n // Enabled by default. Set false to hide Contour in layer type pickers.\n // Existing Contour layers in saved maps can still render.\n enableContourLayer?: boolean;\n\n // Voronoi Mosaic layer config\n // Enabled by default. Set false to hide Voronoi in layer type pickers.\n // Existing Voronoi layers in saved maps can still render.\n enableVoronoiLayer?: boolean;\n\n // Donut layer config\n // Enabled by default. Set false to hide Donut in layer type pickers.\n // Existing Donut layers in saved maps can still render.\n enableDonutLayer?: boolean;\n\n /** Whether to show example URLs in tileset setup forms (vector tile, raster tile, WMS, 3D tile) */\n showInlineTilesetExamples?: boolean;\n\n // Image export config\n /** Whether to apply fix for uglify error in dom-to-image (should be true for webpack builds, false for Vite) */\n escapeXhtmlForWebpack?: boolean;\n\n /** Maximum pitch angle in degrees. deck.gl defaults to 60; set higher (up to 85) for elevated perspectives.\n * Note: values above 60 may cause rendering artifacts with some basemap tile providers. */\n maxPitch?: number;\n\n /**\n * Draw flat-map layers on every visible world copy. Disabled by default because\n * each copy adds rendering and picking work. With it disabled, layers can be\n * missing on adjacent world copies across the antimeridian. Enable with\n * `initApplicationConfig({enableMapRepeat: true})`.\n */\n enableMapRepeat?: boolean;\n\n /** Whether to enable the annotations feature. Enabled by default. */\n enableAnnotations?: boolean;\n\n /**\n * Whether to enable extended Draw on Map sketch tools: Point, Line, Copy all,\n * Convert to Layer, and Edit Properties.\n * Polygon and rectangle drawing remain available when this is disabled. Enabled by default.\n */\n enableDrawOnMapSketches?: boolean;\n\n /** Whether to show the map navigation control (zoom buttons and compass). Enabled by default. */\n enableMapNavigationControl?: boolean;\n\n /** Whether to show the map scale bar at the bottom-left of the map. Enabled by default. */\n enableMapScale?: boolean;\n\n /**\n * Fit the map to a dataset when the layer type dropdown gives a manually\n * added layer its first type. The layer already has a dataset (chosen from\n * Add Layer). Programmatic `layerTypeChange`, saved configs, and later type\n * changes do not move the map.\n * Enabled by default. Disable with {@link initApplicationConfig}.\n *\n * @example\n * ```\n * initApplicationConfig({enableFitBoundsOnManualLayer: false});\n * ```\n */\n enableFitBoundsOnManualLayer?: boolean;\n\n /** Whether to enable the swipe compare mode in split map view. Enabled by default. */\n enableSwipeMode?: boolean;\n\n /** Whether to show the option to switch to the globe view. Enabled by default. */\n enableGlobeView?: boolean;\n\n /** Whether to enable the layer groups feature. Enabled by default. */\n enableLayerGroups?: boolean;\n\n /**\n * Named UI themes to cycle (`dark`, `light`, `space`, `base`).\n * Empty (default): dark theme, no switcher.\n * One theme: that theme is used, no switcher.\n * Two or more: first is the default, a map control cycles the list.\n */\n themes?: string[];\n\n /** Whether to show column statistics in the data table modal. Enabled by default. */\n enableColumnStats?: boolean;\n\n /** Group-by, attribute join, and simple spatial join UI on local datasets. Enabled by default. */\n enableDatasetOps?: boolean;\n\n /**\n * Whether to show the charts map-control panel (big number, bar, line,\n * heatmap, pivot table, tooltip charts, and chart cross-filters).\n * Enabled by default. Disable with {@link initApplicationConfig}.\n */\n enableChartsPanel?: boolean;\n\n /**\n * Whether to show the Map info section in Interactions and the on-map\n * name and description card. Enabled by default.\n */\n enableMapInfo?: boolean;\n\n /** Whether to show the Bookmarks panel in Interactions. Enabled by default. */\n enableCameraBookmarks?: boolean;\n\n /** Whether to show the Camera animation panel in Interactions. Enabled by default. */\n enableCameraTour?: boolean;\n\n /** Whether to show the experimental Animation editor map-control button and panel. Enabled by default. */\n enableAnimationEditor?: boolean;\n\n /**\n * Master switch for power-user JSON editors. When false, every section editor is hidden.\n * Defaults to true; each section also has its own flag.\n *\n * @example\n * ```\n * initApplicationConfig({\n * enableViewportJsonEditor: true,\n * enableLayerJsonEditor: false\n * });\n * ```\n */\n enableJsonEditors?: boolean;\n\n /** Layer panel `{ }` JSON editor. Enabled by default. */\n enableLayerJsonEditor?: boolean;\n\n /** Filter panel `{ }` JSON editor. Enabled by default. */\n enableFilterJsonEditor?: boolean;\n\n /** Effect panel `{ }` JSON editor. Enabled by default. */\n enableEffectJsonEditor?: boolean;\n\n /**\n * Viewport JSON editor map-control button. Disabled by default because it adds an extra\n * map control.\n */\n enableViewportJsonEditor?: boolean;\n\n /** Animation / time-filter playback `{ }` JSON editor. Enabled by default. */\n enableAnimationJsonEditor?: boolean;\n\n /** Charts panel `{ }` JSON editor. Enabled by default. */\n enableChartJsonEditor?: boolean;\n\n /**\n * Show a format dropdown next to the remote dataset URL field (Auto / CSV / GeoJSON / JSON / Arrow / Parquet).\n * Useful for extensionless URLs such as Azure SAS blobs. Disabled by default.\n */\n enableRemoteFileFormatSelector?: boolean;\n\n /**\n * Warn in the Add Data list when a dataset has at least this many rows.\n * `false` shows no warning. The warning waits until the row count is known.\n *\n * @example\n * ```\n * initApplicationConfig({largeDatasetWarningRows: 1_000_000});\n * initApplicationConfig({largeDatasetWarningRows: false});\n * ```\n */\n largeDatasetWarningRows?: false | number;\n\n /**\n * Warn in the Add Data list when a file is at least this many bytes.\n * `false` shows no file-size warning. Either this or {@link largeDatasetWarningRows}\n * can show the same tag.\n *\n * @example\n * ```\n * initApplicationConfig({largeDatasetWarningBytes: 50 * 1024 * 1024});\n * initApplicationConfig({largeDatasetWarningBytes: false});\n * ```\n */\n largeDatasetWarningBytes?: false | number;\n\n /**\n * File formats Kepler may load from drag-and-drop, the file picker, and remote URLs.\n * Values are format ids or extensions (`csv`, `geojson`, `kml`, `shp`, `xlsx`, `fgb`, …).\n * When omitted or `null`, every built-in format is accepted.\n *\n * @example\n * ```\n * initApplicationConfig({acceptedFileFormats: ['csv', 'geojson', 'parquet']});\n * ```\n */\n acceptedFileFormats?: KeplerAcceptedFileFormat[] | null;\n\n /**\n * Custom SVG icons to be made available in the icon layer.\n * These icons will be merged with the default icons fetched from CDN.\n * Each icon must have a unique `id` and a `mesh` describing its triangulated geometry.\n *\n * @example\n * ```\n * initApplicationConfig({\n * customIcons: [\n * {\n * id: 'my-custom-marker',\n * mesh: {\n * cells: [[0, 1, 2], [2, 3, 0]],\n * positions: [[0, 1, 0], [1, -1, 0], [-1, -1, 0], [0, 0, 0]]\n * }\n * }\n * ]\n * });\n * ```\n */\n customIcons?: SvgIcon[];\n\n /**\n * URL to a remote JSON file containing custom SVG icons.\n * The JSON file should have the format: `{ \"svgIcons\": [{ id, mesh: { cells, positions } }, ...] }`\n * Icons from this URL will be merged with default CDN icons and inline `customIcons`.\n *\n * @example\n * ```\n * initApplicationConfig({\n * customIconUrl: 'https://my-server.com/my-icons.json'\n * });\n * ```\n */\n customIconUrl?: string;\n\n /** Controls Redux action logging verbosity in dev mode. See {@link ReduxLogLevel}. */\n reduxLogLevel?: ReduxLogLevel;\n\n /**\n * If an Arrow/Parquet table has more record batches than this, they are\n * compacted into a single batch. The default is `1`, so any table with more\n * than one record batch is compacted. Deck.gl picking supports at most 255\n * pickable leaf layers, and GeoJSON adds fill/stroke/point sublayers per\n * batch, so a higher cap still overruns picking. Compacting copies the table.\n * Progressive Arrow loading skips compaction on intermediate batches and\n * compacts the completed file once. Set a very large number to never compact.\n *\n * @example\n * ```\n * initApplicationConfig({maxArrowBatches: 64});\n * ```\n */\n maxArrowBatches?: number;\n};\n\nconst DEFAULT_APPLICATION_CONFIG: Required<KeplerApplicationConfig> = {\n defaultHtmlName: 'kepler.gl.html',\n defaultImageName: 'kepler.gl.png',\n defaultJsonName: 'kepler.gl.json',\n defaultDataName: 'kepler.gl',\n defaultExportJsonSettings: {\n hasData: true\n },\n enableCustomExportBranding: true,\n\n baseMapLibraryConfig: {\n maplibre: {\n getMapLib: () => import('maplibre-gl') as unknown as Promise<MapLibInstance>,\n mapLibCssClass: 'maplibregl',\n mapLibAttributionCssClass: 'maplibre-attribution-container',\n mapLibName: 'MapLibre',\n mapLibUrl: 'https://www.maplibre.org/'\n },\n mapbox: {\n getMapLib: () => import('mapbox-gl'),\n mapLibCssClass: 'mapboxgl',\n mapLibAttributionCssClass: 'mapbox-attribution-container',\n mapLibName: 'Mapbox',\n mapLibUrl: 'https://www.mapbox.com/'\n }\n },\n\n cdnUrl: KEPLER_UNFOLDED_BUCKET,\n sqlJsUrl: '',\n parquetWasmUrl: '',\n\n plugins: [],\n // The default table class is KeplerTable.\n // TODO include KeplerTable here when the circular dependency with @kepler.gl/table and @kepler.gl/utils are resolved.\n table: null,\n database: null,\n\n useArrowProgressiveLoading: false,\n useOnFilteredItemsChange: false,\n\n // Raster Tile layer config\n enableRasterTileLayer: true,\n rasterServerUseLatestTitiler: true,\n rasterServerShowServerInput: true,\n rasterServerUrls: [], // TODO: provide a default free server or leave blank\n rasterServerSupportsElevation: true,\n rasterServerMaxRetries: 1,\n rasterServerRetryDelay: 10000,\n rasterServerServerErrorsToRetry: [503],\n rasterServerMaxPerServerRequests: 0,\n\n // WMS layer config\n enableWMSLayer: true,\n\n // Zarr layer config -- experimental, disable via initApplicationConfig\n enableZarrLayer: true,\n\n // Flow layer config\n enableFlowLayer: true,\n\n // Bitmap layer config\n enableBitmapLayer: true,\n\n // A5 layer config\n enableA5Layer: true,\n\n // GeoHash layer config\n enableGeohashLayer: true,\n\n // Flow Field layer config\n enableFlowFieldLayer: true,\n\n // Contour layer config -- disable via initApplicationConfig\n enableContourLayer: true,\n\n // Voronoi Mosaic layer config -- disable via initApplicationConfig\n enableVoronoiLayer: true,\n\n // Donut layer config -- disable via initApplicationConfig\n enableDonutLayer: true,\n\n showInlineTilesetExamples: true,\n\n // Image export config\n // Default to true for webpack builds, false for other build tools (e.g., Vite)\n escapeXhtmlForWebpack: isWebpackBuild(),\n\n maxPitch: 60,\n\n enableMapRepeat: false,\n\n enableAnnotations: true,\n\n enableDrawOnMapSketches: true,\n\n enableMapNavigationControl: true,\n\n enableMapScale: true,\n\n enableFitBoundsOnManualLayer: true,\n\n enableSwipeMode: true,\n\n enableGlobeView: true,\n\n enableLayerGroups: true,\n\n themes: [],\n\n enableColumnStats: true,\n\n enableDatasetOps: true,\n\n enableChartsPanel: true,\n\n enableMapInfo: true,\n\n enableCameraBookmarks: true,\n\n enableCameraTour: true,\n\n enableAnimationEditor: true,\n\n enableJsonEditors: true,\n enableLayerJsonEditor: true,\n enableFilterJsonEditor: true,\n enableEffectJsonEditor: true,\n enableViewportJsonEditor: false,\n enableAnimationJsonEditor: true,\n enableChartJsonEditor: true,\n\n enableRemoteFileFormatSelector: false,\n\n largeDatasetWarningRows: 500_000,\n\n largeDatasetWarningBytes: 1024 * 1024 * 1024,\n\n acceptedFileFormats: null,\n\n customIcons: [],\n\n customIconUrl: '',\n\n reduxLogLevel: 1,\n\n maxArrowBatches: 1\n};\n\nconst applicationConfig: Required<KeplerApplicationConfig> = DEFAULT_APPLICATION_CONFIG;\n\nexport const getApplicationConfig = (): Required<KeplerApplicationConfig> => applicationConfig;\n\nexport function initApplicationConfig(appConfig: KeplerApplicationConfig = {}) {\n Object.assign(applicationConfig, appConfig);\n}\n"],"mappings":";;;;;;;;;AAKA,IAAAA,UAAA,GAAAC,OAAA;AAA4D,SAAAC,wBAAAC,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAH,uBAAA,YAAAA,wBAAAC,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,mBAAAT,CAAA,iBAAAA,CAAA,oBAAAU,QAAA,aAAAV,CAAA,0BAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAnB,CAAA,EAAAc,EAAA,OAAAP,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAM,EAAA,EAAAP,CAAA,IAAAC,CAAA,CAAAM,EAAA,IAAAd,CAAA,CAAAc,EAAA,WAAAN,CAAA,KAAAR,CAAA,EAAAC,CAAA,KAL5D;AACA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaA;AACA;AACA;AACA,SAASmB,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AqB,EAAE,IAAI;EAC3BC,sBAAsB,EAAE,IAAI;EAC5BC,sBAAsB,EAAE,IAAI;EAC5BC,wBAAwB,EAAE,KAAK;EAC/BC,yBAAyB,EAAE,IAAI;EAC/BC,qBAAqB,EAAE,IAAI;EAE3BC,8BAA8B,EAAE,KAAK;EAErCC,uBAAuB,EAAE,MAAO;EAEhCC,wBAAwB,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI;EAE5CC,mBAAmB,EAAE,IAAI;EAEzBC,WAAW,EAAE,EAAE;EAEfC,aAAa,EAAE,EAAE;EAEjBC,aAAa,EAAE,CAAC;EAEhBC,eAAe,EAAE;AACnB,CAAC;AAED,IAAMC,iBAAoD,GAAGlF,0BAA0B;AAEhF,IAAMmF,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG,SAAvBA,oBAAoBA,CAAA;EAAA,OAA4CD,iBAAiB;AAAA;AAEvF,SAASG,qBAAqBA,CAAA,EAA0C;EAAA,IAAzCC,SAAkC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC3E5F,MAAM,CAAC+F,MAAM,CAACR,iBAAiB,EAAEI,SAAS,CAAC;AAC7C","ignoreList":[]}
@@ -1438,9 +1438,13 @@ function mergeFilterDomain(filter, datasets) {
1438
1438
  }
1439
1439
  var endName = (0, _commonUtils.toArray)(filter.endName)[idx];
1440
1440
  if (endName) {
1441
- var _domainSteps2;
1442
1441
  var endProps = dataset.getColumnFilterProps(endName);
1443
- domainSteps = mergeFilterDomainStep((_domainSteps2 = domainSteps) !== null && _domainSteps2 !== void 0 ? _domainSteps2 : {}, endProps);
1442
+ // All-null ends are open intervals. Their synthetic timestamp domain
1443
+ // does not represent an observation and must not extend the timeline.
1444
+ if (endProps && 'mappedValue' in endProps && Array.isArray(endProps.mappedValue) && endProps.mappedValue.some(Number.isFinite)) {
1445
+ var _domainSteps2;
1446
+ domainSteps = mergeFilterDomainStep((_domainSteps2 = domainSteps) !== null && _domainSteps2 !== void 0 ? _domainSteps2 : {}, endProps);
1447
+ }
1444
1448
  }
1445
1449
  });
1446
1450
  return domainSteps;