@ogc-maps/storybook-components 0.15.0 → 0.16.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/LICENSE +661 -0
- package/dist/{BasemapSwitcher-BW7lyZ2Y.js → BasemapSwitcher-DuqVusX0.js} +9 -9
- package/dist/CollapsibleControl-BTIkiTmU.js +60 -0
- package/dist/CoordinateDisplay-BblQ34mS.js +154 -0
- package/dist/{ExportButton-Ck1dESnc.js → ExportButton-C8hCCsav.js} +7 -7
- package/dist/{FeatureDetailPanel-CkFpdEKW.js → FeatureDetailPanel-DgCHiNi9.js} +16 -16
- package/dist/FeatureTooltip-DHjMZC0u.js +49 -0
- package/dist/{LayerPanel-C6H74vhO.js → LayerPanel-BkDbZ66Z.js} +28 -28
- package/dist/Legend-CvBd-v0n.js +285 -0
- package/dist/PropertyList-0EonV_BQ.js +33 -0
- package/dist/SearchPanel-DIb7aYVs.js +725 -0
- package/dist/components/BasemapSwitcher/index.js +1 -1
- package/dist/components/CollapsibleControl/CollapsibleControl.d.ts +4 -1
- package/dist/components/CollapsibleControl/CollapsibleControl.d.ts.map +1 -1
- package/dist/components/CollapsibleControl/index.js +1 -1
- package/dist/components/CompassControl/CompassControl.d.ts +19 -0
- package/dist/components/CompassControl/CompassControl.d.ts.map +1 -0
- package/dist/components/CompassControl/index.d.ts +3 -0
- package/dist/components/CompassControl/index.d.ts.map +1 -0
- package/dist/components/CoordinateDisplay/CoordinateDisplay.d.ts +35 -4
- package/dist/components/CoordinateDisplay/CoordinateDisplay.d.ts.map +1 -1
- package/dist/components/CoordinateDisplay/CoordinateDisplay.test.d.ts +2 -0
- package/dist/components/CoordinateDisplay/CoordinateDisplay.test.d.ts.map +1 -0
- package/dist/components/CoordinateDisplay/index.d.ts +1 -1
- package/dist/components/CoordinateDisplay/index.d.ts.map +1 -1
- package/dist/components/CoordinateDisplay/index.js +5 -3
- package/dist/components/Cql2FilterEditor/Cql2FilterEditor.d.ts.map +1 -1
- package/dist/components/Cql2FilterEditor/FilterRuleGroupEditor.d.ts.map +1 -1
- package/dist/components/Cql2FilterEditor/ParameterizableField.d.ts +30 -0
- package/dist/components/Cql2FilterEditor/ParameterizableField.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/styles.d.ts +2 -2
- package/dist/components/Cql2FilterEditor/styles.d.ts.map +1 -1
- package/dist/components/ExportButton/index.js +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +20 -1
- package/dist/components/ExportModal/ExportModal.d.ts.map +1 -1
- package/dist/components/ExportModal/index.d.ts +1 -1
- package/dist/components/ExportModal/index.d.ts.map +1 -1
- package/dist/components/FeatureDetailPanel/index.js +1 -1
- package/dist/components/FeatureTooltip/index.js +1 -1
- package/dist/components/GlobalSearchBar/GlobalSearchBar.d.ts +25 -0
- package/dist/components/GlobalSearchBar/GlobalSearchBar.d.ts.map +1 -0
- package/dist/components/GlobalSearchBar/GlobalSearchBar.test.d.ts +2 -0
- package/dist/components/GlobalSearchBar/GlobalSearchBar.test.d.ts.map +1 -0
- package/dist/components/GlobalSearchBar/index.d.ts +3 -0
- package/dist/components/GlobalSearchBar/index.d.ts.map +1 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.d.ts +22 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.d.ts.map +1 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.test.d.ts +2 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.test.d.ts.map +1 -0
- package/dist/components/GlobalSearchConfigEditor/index.d.ts +3 -0
- package/dist/components/GlobalSearchConfigEditor/index.d.ts.map +1 -0
- package/dist/components/ImageryEditor/ImageryEditor.d.ts +0 -1
- package/dist/components/ImageryEditor/ImageryEditor.d.ts.map +1 -1
- package/dist/components/ImageryEditor/index.d.ts +2 -1
- package/dist/components/ImageryEditor/index.d.ts.map +1 -1
- package/dist/components/ImageryPanel/ImageryPanel.d.ts.map +1 -1
- package/dist/components/InfoControl/InfoControl.d.ts +12 -0
- package/dist/components/InfoControl/InfoControl.d.ts.map +1 -0
- package/dist/components/InfoControl/InfoModal.d.ts +16 -0
- package/dist/components/InfoControl/InfoModal.d.ts.map +1 -0
- package/dist/components/InfoControl/index.d.ts +5 -0
- package/dist/components/InfoControl/index.d.ts.map +1 -0
- package/dist/components/LayerEditor/LayerEditor.d.ts +6 -1
- package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -1
- package/dist/components/LayerEditor/LayerList.d.ts +8 -1
- package/dist/components/LayerEditor/LayerList.d.ts.map +1 -1
- package/dist/components/LayerEditor/index.d.ts +1 -1
- package/dist/components/LayerEditor/index.d.ts.map +1 -1
- package/dist/components/LayerPanel/index.js +1 -1
- package/dist/components/Legend/Legend.d.ts +7 -1
- package/dist/components/Legend/Legend.d.ts.map +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/PropertyFilterPanel/PropertyFilterPanel.d.ts +21 -0
- package/dist/components/PropertyFilterPanel/PropertyFilterPanel.d.ts.map +1 -0
- package/dist/components/PropertyFilterPanel/index.d.ts +3 -0
- package/dist/components/PropertyFilterPanel/index.d.ts.map +1 -0
- package/dist/components/QueryPanel/QueryPanel.d.ts.map +1 -1
- package/dist/components/ResultsDrawer/ResultsDrawer.d.ts +12 -1
- package/dist/components/ResultsDrawer/ResultsDrawer.d.ts.map +1 -1
- package/dist/components/ResultsDrawer/index.d.ts +1 -1
- package/dist/components/ResultsDrawer/index.d.ts.map +1 -1
- package/dist/components/ResultsDrawer/tableUtils.d.ts +11 -0
- package/dist/components/ResultsDrawer/tableUtils.d.ts.map +1 -0
- package/dist/components/ScaleBarControl/ScaleBarControl.d.ts +32 -0
- package/dist/components/ScaleBarControl/ScaleBarControl.d.ts.map +1 -0
- package/dist/components/ScaleBarControl/index.d.ts +2 -0
- package/dist/components/ScaleBarControl/index.d.ts.map +1 -0
- package/dist/components/SearchPanel/SearchPanel.d.ts +15 -2
- package/dist/components/SearchPanel/SearchPanel.d.ts.map +1 -1
- package/dist/components/SearchPanel/index.js +1 -1
- package/dist/components/SideMenuPanel/SideMenuPanel.d.ts +51 -0
- package/dist/components/SideMenuPanel/SideMenuPanel.d.ts.map +1 -0
- package/dist/components/SideMenuPanel/index.d.ts +3 -0
- package/dist/components/SideMenuPanel/index.d.ts.map +1 -0
- package/dist/components/SourceEditor/SourceEditor.d.ts +3 -1
- package/dist/components/SourceEditor/SourceEditor.d.ts.map +1 -1
- package/dist/components/SourceEditor/SourceList.d.ts +6 -1
- package/dist/components/SourceEditor/SourceList.d.ts.map +1 -1
- package/dist/components/SourceEditor/index.d.ts +1 -1
- package/dist/components/SourceEditor/index.d.ts.map +1 -1
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts +6 -1
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyField.d.ts +4 -1
- package/dist/components/StyleEditor/PropertyField.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts +4 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts.map +1 -1
- package/dist/components/StyleEditor/StyleEditor.d.ts +5 -1
- package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -1
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts +13 -2
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -1
- package/dist/components/UserMenu/UserMenu.d.ts +15 -0
- package/dist/components/UserMenu/UserMenu.d.ts.map +1 -0
- package/dist/components/UserMenu/index.d.ts +3 -0
- package/dist/components/UserMenu/index.d.ts.map +1 -0
- package/dist/components/ViewEditor/ViewEditor.d.ts.map +1 -1
- package/dist/components/index.d.ts +22 -5
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/controlIcons.d.ts +10 -0
- package/dist/components/shared/controlIcons.d.ts.map +1 -0
- package/dist/{geo-BXaVaxak.js → geo-DUdRIR7u.js} +1288 -1219
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useExport.d.ts +6 -0
- package/dist/hooks/useExport.d.ts.map +1 -1
- package/dist/id-C2J6iu8_.js +11 -0
- package/dist/{index-CzYEPGO9.js → index-BtQnyWPg.js} +1318 -1171
- package/dist/main.js +13448 -2959
- package/dist/schemas/config.d.ts +341 -2
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +35 -24
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +10 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +56 -44
- package/dist/useSelection-BFHYsPvU.js +224 -0
- package/dist/utils/colorPalettes.d.ts +4 -2
- package/dist/utils/colorPalettes.d.ts.map +1 -1
- package/dist/utils/colorThemes.d.ts +12 -0
- package/dist/utils/colorThemes.d.ts.map +1 -0
- package/dist/utils/cql2.d.ts.map +1 -1
- package/dist/utils/exportConverters.d.ts.map +1 -1
- package/dist/utils/geo.d.ts +53 -0
- package/dist/utils/geo.d.ts.map +1 -1
- package/dist/utils/id.d.ts +2 -0
- package/dist/utils/id.d.ts.map +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +352 -150
- package/dist/utils/ogcApi.d.ts +10 -5
- package/dist/utils/ogcApi.d.ts.map +1 -1
- package/dist/utils/propertyFilters.d.ts +35 -0
- package/dist/utils/propertyFilters.d.ts.map +1 -0
- package/dist/utils/queryParameters.d.ts +1 -0
- package/dist/utils/queryParameters.d.ts.map +1 -1
- package/dist/utils/slugify.d.ts +2 -0
- package/dist/utils/slugify.d.ts.map +1 -0
- package/package.json +13 -7
- package/dist/CollapsibleControl-qo9daiD8.js +0 -53
- package/dist/CoordinateDisplay-PxPmVjpm.js +0 -47
- package/dist/FeatureTooltip-DxzN-jnp.js +0 -49
- package/dist/Legend-BLWBzD7Y.js +0 -275
- package/dist/PropertyList-BGXHLVBM.js +0 -33
- package/dist/SearchPanel-4Y12jfuP.js +0 -401
- package/dist/useSelection-B1RnQZlj.js +0 -206
package/dist/schemas/config.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export declare const ViewConfigSchema: z.ZodObject<{
|
|
|
13
13
|
zoom: z.ZodNumber;
|
|
14
14
|
pitch: z.ZodDefault<z.ZodNumber>;
|
|
15
15
|
bearing: z.ZodDefault<z.ZodNumber>;
|
|
16
|
+
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
16
18
|
}, z.core.$strip>;
|
|
17
19
|
export declare const SourceAuthSchema: z.ZodObject<{
|
|
18
20
|
type: z.ZodEnum<{
|
|
@@ -931,6 +933,37 @@ export declare const SearchConfigSchema: z.ZodObject<{
|
|
|
931
933
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
932
934
|
}, z.core.$strip>], "type">>;
|
|
933
935
|
}, z.core.$strip>;
|
|
936
|
+
export declare const GlobalSearchPropertySchema: z.ZodObject<{
|
|
937
|
+
property: z.ZodString;
|
|
938
|
+
label: z.ZodOptional<z.ZodString>;
|
|
939
|
+
autocomplete: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
export declare const GlobalSearchLayerConfigSchema: z.ZodObject<{
|
|
943
|
+
layerId: z.ZodString;
|
|
944
|
+
properties: z.ZodArray<z.ZodObject<{
|
|
945
|
+
property: z.ZodString;
|
|
946
|
+
label: z.ZodOptional<z.ZodString>;
|
|
947
|
+
autocomplete: z.ZodOptional<z.ZodBoolean>;
|
|
948
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
949
|
+
}, z.core.$strip>>;
|
|
950
|
+
}, z.core.$strip>;
|
|
951
|
+
export declare const GlobalSearchConfigSchema: z.ZodObject<{
|
|
952
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
953
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
954
|
+
maxResultsPerLayer: z.ZodDefault<z.ZodNumber>;
|
|
955
|
+
debounceMs: z.ZodDefault<z.ZodNumber>;
|
|
956
|
+
minQueryLength: z.ZodDefault<z.ZodNumber>;
|
|
957
|
+
layers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
958
|
+
layerId: z.ZodString;
|
|
959
|
+
properties: z.ZodArray<z.ZodObject<{
|
|
960
|
+
property: z.ZodString;
|
|
961
|
+
label: z.ZodOptional<z.ZodString>;
|
|
962
|
+
autocomplete: z.ZodOptional<z.ZodBoolean>;
|
|
963
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
964
|
+
}, z.core.$strip>>;
|
|
965
|
+
}, z.core.$strip>>>;
|
|
966
|
+
}, z.core.$strip>;
|
|
934
967
|
export declare const PropertyDisplaySchema: z.ZodObject<{
|
|
935
968
|
label: z.ZodOptional<z.ZodString>;
|
|
936
969
|
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1180,6 +1213,24 @@ export declare const FilterRuleValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1180
1213
|
default: z.ZodOptional<z.ZodNumber>;
|
|
1181
1214
|
}, z.core.$strip>]>;
|
|
1182
1215
|
}, z.core.$strip>], "kind">;
|
|
1216
|
+
export declare const DISTANCE_UNITS: readonly ["meters", "kilometers", "miles", "feet"];
|
|
1217
|
+
export declare const SpatialDistanceParamSchema: z.ZodObject<{
|
|
1218
|
+
kind: z.ZodLiteral<"parameter">;
|
|
1219
|
+
name: z.ZodString;
|
|
1220
|
+
label: z.ZodString;
|
|
1221
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
1222
|
+
}, z.core.$strip>;
|
|
1223
|
+
export declare const SpatialUnitsParamSchema: z.ZodObject<{
|
|
1224
|
+
kind: z.ZodLiteral<"parameter">;
|
|
1225
|
+
name: z.ZodString;
|
|
1226
|
+
label: z.ZodString;
|
|
1227
|
+
default: z.ZodOptional<z.ZodEnum<{
|
|
1228
|
+
meters: "meters";
|
|
1229
|
+
kilometers: "kilometers";
|
|
1230
|
+
miles: "miles";
|
|
1231
|
+
feet: "feet";
|
|
1232
|
+
}>>;
|
|
1233
|
+
}, z.core.$strip>;
|
|
1183
1234
|
export declare const SpatialConfigSchema: z.ZodObject<{
|
|
1184
1235
|
distance: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1185
1236
|
kind: z.ZodLiteral<"parameter">;
|
|
@@ -1362,8 +1413,28 @@ export declare const SpatialConstraintSchema: z.ZodObject<{
|
|
|
1362
1413
|
s_dwithin: "s_dwithin";
|
|
1363
1414
|
}>;
|
|
1364
1415
|
geometryProperty: z.ZodString;
|
|
1365
|
-
distance: z.ZodOptional<z.ZodNumber
|
|
1366
|
-
|
|
1416
|
+
distance: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1417
|
+
kind: z.ZodLiteral<"parameter">;
|
|
1418
|
+
name: z.ZodString;
|
|
1419
|
+
label: z.ZodString;
|
|
1420
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
1421
|
+
}, z.core.$strip>]>>;
|
|
1422
|
+
distanceUnits: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1423
|
+
meters: "meters";
|
|
1424
|
+
kilometers: "kilometers";
|
|
1425
|
+
miles: "miles";
|
|
1426
|
+
feet: "feet";
|
|
1427
|
+
}>, z.ZodObject<{
|
|
1428
|
+
kind: z.ZodLiteral<"parameter">;
|
|
1429
|
+
name: z.ZodString;
|
|
1430
|
+
label: z.ZodString;
|
|
1431
|
+
default: z.ZodOptional<z.ZodEnum<{
|
|
1432
|
+
meters: "meters";
|
|
1433
|
+
kilometers: "kilometers";
|
|
1434
|
+
miles: "miles";
|
|
1435
|
+
feet: "feet";
|
|
1436
|
+
}>>;
|
|
1437
|
+
}, z.core.$strip>]>>;
|
|
1367
1438
|
}, z.core.$strip>;
|
|
1368
1439
|
export declare const FilterRuleGroupSchema: z.ZodType<{
|
|
1369
1440
|
id: string;
|
|
@@ -1421,6 +1492,7 @@ export declare const LayerConfigSchema: z.ZodPipe<z.ZodTransform<unknown, unknow
|
|
|
1421
1492
|
}>;
|
|
1422
1493
|
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
1423
1494
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
1495
|
+
zoomToLevel: z.ZodOptional<z.ZodNumber>;
|
|
1424
1496
|
styles: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1425
1497
|
type: z.ZodLiteral<"fill">;
|
|
1426
1498
|
paint: z.ZodObject<{
|
|
@@ -1792,6 +1864,17 @@ export declare const SpriteSourceSchema: z.ZodObject<{
|
|
|
1792
1864
|
id: z.ZodString;
|
|
1793
1865
|
url: z.ZodString;
|
|
1794
1866
|
}, z.core.$strip>;
|
|
1867
|
+
/** Controls that appear in the top-right stack and can be reordered. */
|
|
1868
|
+
export declare const ORDERABLE_CONTROLS: readonly ["showLegend", "showSearchPanel", "showLayerPanel", "showMeasureTool", "showSelectionTool", "showImageryPanel", "showBasemapSwitcher", "showExportButton", "showCompass", "showInfoControl"];
|
|
1869
|
+
export type OrderableControlKey = (typeof ORDERABLE_CONTROLS)[number];
|
|
1870
|
+
/** Corners of the map where a control group can be anchored. */
|
|
1871
|
+
export declare const CONTROL_CORNERS: readonly ["top-right", "top-left", "bottom-right", "bottom-left"];
|
|
1872
|
+
export type ControlCorner = (typeof CONTROL_CORNERS)[number];
|
|
1873
|
+
/** Layout mode for map controls: individual buttons, a single side menu, or responsive auto. */
|
|
1874
|
+
export declare const CONTROL_LAYOUTS: readonly ["individual", "side-menu", "auto"];
|
|
1875
|
+
export type ControlLayout = (typeof CONTROL_LAYOUTS)[number];
|
|
1876
|
+
export declare const COORDINATE_FORMATS: readonly ["decimal-degrees", "ddm", "dms"];
|
|
1877
|
+
export type CoordinateFormat = (typeof COORDINATE_FORMATS)[number];
|
|
1795
1878
|
export declare const UIConfigSchema: z.ZodObject<{
|
|
1796
1879
|
showLayerPanel: z.ZodDefault<z.ZodBoolean>;
|
|
1797
1880
|
showLegend: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1801,11 +1884,85 @@ export declare const UIConfigSchema: z.ZodObject<{
|
|
|
1801
1884
|
showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
|
|
1802
1885
|
showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
|
|
1803
1886
|
showExportButton: z.ZodDefault<z.ZodBoolean>;
|
|
1887
|
+
showExportPdf: z.ZodDefault<z.ZodBoolean>;
|
|
1804
1888
|
showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
|
|
1805
1889
|
showMeasureTool: z.ZodDefault<z.ZodBoolean>;
|
|
1806
1890
|
showSelectionTool: z.ZodDefault<z.ZodBoolean>;
|
|
1807
1891
|
showImageryPanel: z.ZodDefault<z.ZodBoolean>;
|
|
1892
|
+
showCompass: z.ZodDefault<z.ZodBoolean>;
|
|
1893
|
+
showGlobalSearch: z.ZodDefault<z.ZodBoolean>;
|
|
1894
|
+
showScaleBar: z.ZodDefault<z.ZodBoolean>;
|
|
1895
|
+
controlOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1896
|
+
showLegend: "showLegend";
|
|
1897
|
+
showSearchPanel: "showSearchPanel";
|
|
1898
|
+
showLayerPanel: "showLayerPanel";
|
|
1899
|
+
showMeasureTool: "showMeasureTool";
|
|
1900
|
+
showSelectionTool: "showSelectionTool";
|
|
1901
|
+
showImageryPanel: "showImageryPanel";
|
|
1902
|
+
showBasemapSwitcher: "showBasemapSwitcher";
|
|
1903
|
+
showExportButton: "showExportButton";
|
|
1904
|
+
showCompass: "showCompass";
|
|
1905
|
+
showInfoControl: "showInfoControl";
|
|
1906
|
+
}>>>;
|
|
1907
|
+
controlPositions: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1908
|
+
showLegend: "showLegend";
|
|
1909
|
+
showSearchPanel: "showSearchPanel";
|
|
1910
|
+
showLayerPanel: "showLayerPanel";
|
|
1911
|
+
showMeasureTool: "showMeasureTool";
|
|
1912
|
+
showSelectionTool: "showSelectionTool";
|
|
1913
|
+
showImageryPanel: "showImageryPanel";
|
|
1914
|
+
showBasemapSwitcher: "showBasemapSwitcher";
|
|
1915
|
+
showExportButton: "showExportButton";
|
|
1916
|
+
showCompass: "showCompass";
|
|
1917
|
+
showInfoControl: "showInfoControl";
|
|
1918
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1919
|
+
"top-left": "top-left";
|
|
1920
|
+
"top-right": "top-right";
|
|
1921
|
+
"bottom-left": "bottom-left";
|
|
1922
|
+
"bottom-right": "bottom-right";
|
|
1923
|
+
}>>>;
|
|
1924
|
+
controlLayout: z.ZodDefault<z.ZodEnum<{
|
|
1925
|
+
auto: "auto";
|
|
1926
|
+
individual: "individual";
|
|
1927
|
+
"side-menu": "side-menu";
|
|
1928
|
+
}>>;
|
|
1929
|
+
sideMenuToggleCorner: z.ZodDefault<z.ZodEnum<{
|
|
1930
|
+
"top-left": "top-left";
|
|
1931
|
+
"top-right": "top-right";
|
|
1932
|
+
"bottom-left": "bottom-left";
|
|
1933
|
+
"bottom-right": "bottom-right";
|
|
1934
|
+
}>>;
|
|
1935
|
+
controlIcons: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1936
|
+
showLegend: "showLegend";
|
|
1937
|
+
showSearchPanel: "showSearchPanel";
|
|
1938
|
+
showLayerPanel: "showLayerPanel";
|
|
1939
|
+
showMeasureTool: "showMeasureTool";
|
|
1940
|
+
showSelectionTool: "showSelectionTool";
|
|
1941
|
+
showImageryPanel: "showImageryPanel";
|
|
1942
|
+
showBasemapSwitcher: "showBasemapSwitcher";
|
|
1943
|
+
showExportButton: "showExportButton";
|
|
1944
|
+
showCompass: "showCompass";
|
|
1945
|
+
showInfoControl: "showInfoControl";
|
|
1946
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
1947
|
+
legendOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1948
|
+
coordinateFormat: z.ZodDefault<z.ZodEnum<{
|
|
1949
|
+
"decimal-degrees": "decimal-degrees";
|
|
1950
|
+
ddm: "ddm";
|
|
1951
|
+
dms: "dms";
|
|
1952
|
+
}>>;
|
|
1808
1953
|
}, z.core.$strip>;
|
|
1954
|
+
/** Returns the effective control order, falling back to defaults and appending any missing keys. */
|
|
1955
|
+
export declare function resolveControlOrder(config: z.infer<typeof UIConfigSchema>): readonly OrderableControlKey[];
|
|
1956
|
+
/**
|
|
1957
|
+
* Returns the corner where a given control should render. Defaults to
|
|
1958
|
+
* 'top-right' when no override is configured for the control.
|
|
1959
|
+
*/
|
|
1960
|
+
export declare function resolveControlCorner(config: z.infer<typeof UIConfigSchema>, key: OrderableControlKey): ControlCorner;
|
|
1961
|
+
/**
|
|
1962
|
+
* Groups controls by the corner they should render in, preserving the
|
|
1963
|
+
* configured `controlOrder` within each group.
|
|
1964
|
+
*/
|
|
1965
|
+
export declare function groupControlsByCorner(config: z.infer<typeof UIConfigSchema>): Record<ControlCorner, OrderableControlKey[]>;
|
|
1809
1966
|
export declare const DEFAULT_HEADER_COLOR = "#1e293b";
|
|
1810
1967
|
export declare const BrandingConfigSchema: z.ZodObject<{
|
|
1811
1968
|
headerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -1827,7 +1984,22 @@ export declare const ImageryLayerConfigSchema: z.ZodObject<{
|
|
|
1827
1984
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
1828
1985
|
tileSize: z.ZodDefault<z.ZodNumber>;
|
|
1829
1986
|
tileUrlTemplate: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1830
1988
|
}, z.core.$strip>;
|
|
1989
|
+
export declare const INFO_POSITIONS: readonly ["top-right", "top-left", "bottom-right", "bottom-left"];
|
|
1990
|
+
export type InfoPosition = (typeof INFO_POSITIONS)[number];
|
|
1991
|
+
export declare const InfoConfigSchema: z.ZodObject<{
|
|
1992
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1993
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
markdown: z.ZodDefault<z.ZodString>;
|
|
1995
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
1996
|
+
"top-left": "top-left";
|
|
1997
|
+
"top-right": "top-right";
|
|
1998
|
+
"bottom-left": "bottom-left";
|
|
1999
|
+
"bottom-right": "bottom-right";
|
|
2000
|
+
}>>;
|
|
2001
|
+
}, z.core.$strip>;
|
|
2002
|
+
export type InfoConfig = z.infer<typeof InfoConfigSchema>;
|
|
1831
2003
|
export declare const MapConfigSchema: z.ZodObject<{
|
|
1832
2004
|
sources: z.ZodArray<z.ZodObject<{
|
|
1833
2005
|
id: z.ZodString;
|
|
@@ -1860,6 +2032,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
1860
2032
|
}>;
|
|
1861
2033
|
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
1862
2034
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
2035
|
+
zoomToLevel: z.ZodOptional<z.ZodNumber>;
|
|
1863
2036
|
styles: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1864
2037
|
type: z.ZodLiteral<"fill">;
|
|
1865
2038
|
paint: z.ZodObject<{
|
|
@@ -2233,6 +2406,7 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
2233
2406
|
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
2234
2407
|
tileSize: z.ZodDefault<z.ZodNumber>;
|
|
2235
2408
|
tileUrlTemplate: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
2236
2410
|
}, z.core.$strip>>>;
|
|
2237
2411
|
basemaps: z.ZodArray<z.ZodObject<{
|
|
2238
2412
|
id: z.ZodString;
|
|
@@ -2253,10 +2427,72 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
2253
2427
|
showFeatureDetail: z.ZodDefault<z.ZodBoolean>;
|
|
2254
2428
|
showFeatureTooltip: z.ZodDefault<z.ZodBoolean>;
|
|
2255
2429
|
showExportButton: z.ZodDefault<z.ZodBoolean>;
|
|
2430
|
+
showExportPdf: z.ZodDefault<z.ZodBoolean>;
|
|
2256
2431
|
showLegendOpacity: z.ZodDefault<z.ZodBoolean>;
|
|
2257
2432
|
showMeasureTool: z.ZodDefault<z.ZodBoolean>;
|
|
2258
2433
|
showSelectionTool: z.ZodDefault<z.ZodBoolean>;
|
|
2259
2434
|
showImageryPanel: z.ZodDefault<z.ZodBoolean>;
|
|
2435
|
+
showCompass: z.ZodDefault<z.ZodBoolean>;
|
|
2436
|
+
showGlobalSearch: z.ZodDefault<z.ZodBoolean>;
|
|
2437
|
+
showScaleBar: z.ZodDefault<z.ZodBoolean>;
|
|
2438
|
+
controlOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2439
|
+
showLegend: "showLegend";
|
|
2440
|
+
showSearchPanel: "showSearchPanel";
|
|
2441
|
+
showLayerPanel: "showLayerPanel";
|
|
2442
|
+
showMeasureTool: "showMeasureTool";
|
|
2443
|
+
showSelectionTool: "showSelectionTool";
|
|
2444
|
+
showImageryPanel: "showImageryPanel";
|
|
2445
|
+
showBasemapSwitcher: "showBasemapSwitcher";
|
|
2446
|
+
showExportButton: "showExportButton";
|
|
2447
|
+
showCompass: "showCompass";
|
|
2448
|
+
showInfoControl: "showInfoControl";
|
|
2449
|
+
}>>>;
|
|
2450
|
+
controlPositions: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2451
|
+
showLegend: "showLegend";
|
|
2452
|
+
showSearchPanel: "showSearchPanel";
|
|
2453
|
+
showLayerPanel: "showLayerPanel";
|
|
2454
|
+
showMeasureTool: "showMeasureTool";
|
|
2455
|
+
showSelectionTool: "showSelectionTool";
|
|
2456
|
+
showImageryPanel: "showImageryPanel";
|
|
2457
|
+
showBasemapSwitcher: "showBasemapSwitcher";
|
|
2458
|
+
showExportButton: "showExportButton";
|
|
2459
|
+
showCompass: "showCompass";
|
|
2460
|
+
showInfoControl: "showInfoControl";
|
|
2461
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2462
|
+
"top-left": "top-left";
|
|
2463
|
+
"top-right": "top-right";
|
|
2464
|
+
"bottom-left": "bottom-left";
|
|
2465
|
+
"bottom-right": "bottom-right";
|
|
2466
|
+
}>>>;
|
|
2467
|
+
controlLayout: z.ZodDefault<z.ZodEnum<{
|
|
2468
|
+
auto: "auto";
|
|
2469
|
+
individual: "individual";
|
|
2470
|
+
"side-menu": "side-menu";
|
|
2471
|
+
}>>;
|
|
2472
|
+
sideMenuToggleCorner: z.ZodDefault<z.ZodEnum<{
|
|
2473
|
+
"top-left": "top-left";
|
|
2474
|
+
"top-right": "top-right";
|
|
2475
|
+
"bottom-left": "bottom-left";
|
|
2476
|
+
"bottom-right": "bottom-right";
|
|
2477
|
+
}>>;
|
|
2478
|
+
controlIcons: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2479
|
+
showLegend: "showLegend";
|
|
2480
|
+
showSearchPanel: "showSearchPanel";
|
|
2481
|
+
showLayerPanel: "showLayerPanel";
|
|
2482
|
+
showMeasureTool: "showMeasureTool";
|
|
2483
|
+
showSelectionTool: "showSelectionTool";
|
|
2484
|
+
showImageryPanel: "showImageryPanel";
|
|
2485
|
+
showBasemapSwitcher: "showBasemapSwitcher";
|
|
2486
|
+
showExportButton: "showExportButton";
|
|
2487
|
+
showCompass: "showCompass";
|
|
2488
|
+
showInfoControl: "showInfoControl";
|
|
2489
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
2490
|
+
legendOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2491
|
+
coordinateFormat: z.ZodDefault<z.ZodEnum<{
|
|
2492
|
+
"decimal-degrees": "decimal-degrees";
|
|
2493
|
+
ddm: "ddm";
|
|
2494
|
+
dms: "dms";
|
|
2495
|
+
}>>;
|
|
2260
2496
|
}, z.core.$strip>>;
|
|
2261
2497
|
initialView: z.ZodObject<{
|
|
2262
2498
|
latitude: z.ZodNumber;
|
|
@@ -2264,6 +2500,8 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
2264
2500
|
zoom: z.ZodNumber;
|
|
2265
2501
|
pitch: z.ZodDefault<z.ZodNumber>;
|
|
2266
2502
|
bearing: z.ZodDefault<z.ZodNumber>;
|
|
2503
|
+
minZoom: z.ZodOptional<z.ZodNumber>;
|
|
2504
|
+
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
2267
2505
|
}, z.core.$strip>;
|
|
2268
2506
|
branding: z.ZodOptional<z.ZodObject<{
|
|
2269
2507
|
headerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -2273,6 +2511,33 @@ export declare const MapConfigSchema: z.ZodObject<{
|
|
|
2273
2511
|
logoDataUrl: z.ZodOptional<z.ZodString>;
|
|
2274
2512
|
logoHeight: z.ZodOptional<z.ZodNumber>;
|
|
2275
2513
|
}, z.core.$strip>>;
|
|
2514
|
+
globalSearch: z.ZodOptional<z.ZodObject<{
|
|
2515
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2516
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
maxResultsPerLayer: z.ZodDefault<z.ZodNumber>;
|
|
2518
|
+
debounceMs: z.ZodDefault<z.ZodNumber>;
|
|
2519
|
+
minQueryLength: z.ZodDefault<z.ZodNumber>;
|
|
2520
|
+
layers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2521
|
+
layerId: z.ZodString;
|
|
2522
|
+
properties: z.ZodArray<z.ZodObject<{
|
|
2523
|
+
property: z.ZodString;
|
|
2524
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2525
|
+
autocomplete: z.ZodOptional<z.ZodBoolean>;
|
|
2526
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2527
|
+
}, z.core.$strip>>;
|
|
2528
|
+
}, z.core.$strip>>>;
|
|
2529
|
+
}, z.core.$strip>>;
|
|
2530
|
+
info: z.ZodOptional<z.ZodObject<{
|
|
2531
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2532
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
markdown: z.ZodDefault<z.ZodString>;
|
|
2534
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
2535
|
+
"top-left": "top-left";
|
|
2536
|
+
"top-right": "top-right";
|
|
2537
|
+
"bottom-left": "bottom-left";
|
|
2538
|
+
"bottom-right": "bottom-right";
|
|
2539
|
+
}>>;
|
|
2540
|
+
}, z.core.$strip>>;
|
|
2276
2541
|
}, z.core.$strip>;
|
|
2277
2542
|
/**
|
|
2278
2543
|
* Validates a map config, throwing a ZodError if invalid.
|
|
@@ -2300,6 +2565,7 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
2300
2565
|
dataMode: "vector-tiles" | "geojson";
|
|
2301
2566
|
minZoom?: number | undefined;
|
|
2302
2567
|
maxZoom?: number | undefined;
|
|
2568
|
+
zoomToLevel?: number | undefined;
|
|
2303
2569
|
styles?: ({
|
|
2304
2570
|
type: "fill";
|
|
2305
2571
|
paint: {
|
|
@@ -2513,10 +2779,21 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
2513
2779
|
showFeatureDetail: boolean;
|
|
2514
2780
|
showFeatureTooltip: boolean;
|
|
2515
2781
|
showExportButton: boolean;
|
|
2782
|
+
showExportPdf: boolean;
|
|
2516
2783
|
showLegendOpacity: boolean;
|
|
2517
2784
|
showMeasureTool: boolean;
|
|
2518
2785
|
showSelectionTool: boolean;
|
|
2519
2786
|
showImageryPanel: boolean;
|
|
2787
|
+
showCompass: boolean;
|
|
2788
|
+
showGlobalSearch: boolean;
|
|
2789
|
+
showScaleBar: boolean;
|
|
2790
|
+
controlLayout: "auto" | "individual" | "side-menu";
|
|
2791
|
+
sideMenuToggleCorner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
2792
|
+
coordinateFormat: "decimal-degrees" | "ddm" | "dms";
|
|
2793
|
+
controlOrder?: ("showLegend" | "showSearchPanel" | "showLayerPanel" | "showMeasureTool" | "showSelectionTool" | "showImageryPanel" | "showBasemapSwitcher" | "showExportButton" | "showCompass" | "showInfoControl")[] | undefined;
|
|
2794
|
+
controlPositions?: Partial<Record<"showLegend" | "showSearchPanel" | "showLayerPanel" | "showMeasureTool" | "showSelectionTool" | "showImageryPanel" | "showBasemapSwitcher" | "showExportButton" | "showCompass" | "showInfoControl", "top-left" | "top-right" | "bottom-left" | "bottom-right">> | undefined;
|
|
2795
|
+
controlIcons?: Partial<Record<"showLegend" | "showSearchPanel" | "showLayerPanel" | "showMeasureTool" | "showSelectionTool" | "showImageryPanel" | "showBasemapSwitcher" | "showExportButton" | "showCompass" | "showInfoControl", string>> | undefined;
|
|
2796
|
+
legendOrder?: string[] | undefined;
|
|
2520
2797
|
};
|
|
2521
2798
|
initialView: {
|
|
2522
2799
|
latitude: number;
|
|
@@ -2524,6 +2801,8 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
2524
2801
|
zoom: number;
|
|
2525
2802
|
pitch: number;
|
|
2526
2803
|
bearing: number;
|
|
2804
|
+
minZoom?: number | undefined;
|
|
2805
|
+
maxZoom?: number | undefined;
|
|
2527
2806
|
};
|
|
2528
2807
|
imageryLayers?: {
|
|
2529
2808
|
id: string;
|
|
@@ -2537,6 +2816,7 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
2537
2816
|
minZoom?: number | undefined;
|
|
2538
2817
|
maxZoom?: number | undefined;
|
|
2539
2818
|
tileUrlTemplate?: string | undefined;
|
|
2819
|
+
thumbnailUrl?: string | undefined;
|
|
2540
2820
|
}[] | undefined;
|
|
2541
2821
|
sprites?: {
|
|
2542
2822
|
id: string;
|
|
@@ -2550,6 +2830,28 @@ export declare function validateMapConfig(config: unknown): {
|
|
|
2550
2830
|
logoDataUrl?: string | undefined;
|
|
2551
2831
|
logoHeight?: number | undefined;
|
|
2552
2832
|
} | undefined;
|
|
2833
|
+
globalSearch?: {
|
|
2834
|
+
enabled: boolean;
|
|
2835
|
+
maxResultsPerLayer: number;
|
|
2836
|
+
debounceMs: number;
|
|
2837
|
+
minQueryLength: number;
|
|
2838
|
+
layers: {
|
|
2839
|
+
layerId: string;
|
|
2840
|
+
properties: {
|
|
2841
|
+
property: string;
|
|
2842
|
+
label?: string | undefined;
|
|
2843
|
+
autocomplete?: boolean | undefined;
|
|
2844
|
+
prefetch?: boolean | undefined;
|
|
2845
|
+
}[];
|
|
2846
|
+
}[];
|
|
2847
|
+
placeholder?: string | undefined;
|
|
2848
|
+
} | undefined;
|
|
2849
|
+
info?: {
|
|
2850
|
+
enabled: boolean;
|
|
2851
|
+
markdown: string;
|
|
2852
|
+
position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
2853
|
+
title?: string | undefined;
|
|
2854
|
+
} | undefined;
|
|
2553
2855
|
};
|
|
2554
2856
|
/**
|
|
2555
2857
|
* Validates a map config, returning a safe result object instead of throwing.
|
|
@@ -2577,6 +2879,7 @@ export declare function safeValidateMapConfig(config: unknown): z.ZodSafeParseRe
|
|
|
2577
2879
|
dataMode: "vector-tiles" | "geojson";
|
|
2578
2880
|
minZoom?: number | undefined;
|
|
2579
2881
|
maxZoom?: number | undefined;
|
|
2882
|
+
zoomToLevel?: number | undefined;
|
|
2580
2883
|
styles?: ({
|
|
2581
2884
|
type: "fill";
|
|
2582
2885
|
paint: {
|
|
@@ -2790,10 +3093,21 @@ export declare function safeValidateMapConfig(config: unknown): z.ZodSafeParseRe
|
|
|
2790
3093
|
showFeatureDetail: boolean;
|
|
2791
3094
|
showFeatureTooltip: boolean;
|
|
2792
3095
|
showExportButton: boolean;
|
|
3096
|
+
showExportPdf: boolean;
|
|
2793
3097
|
showLegendOpacity: boolean;
|
|
2794
3098
|
showMeasureTool: boolean;
|
|
2795
3099
|
showSelectionTool: boolean;
|
|
2796
3100
|
showImageryPanel: boolean;
|
|
3101
|
+
showCompass: boolean;
|
|
3102
|
+
showGlobalSearch: boolean;
|
|
3103
|
+
showScaleBar: boolean;
|
|
3104
|
+
controlLayout: "auto" | "individual" | "side-menu";
|
|
3105
|
+
sideMenuToggleCorner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
3106
|
+
coordinateFormat: "decimal-degrees" | "ddm" | "dms";
|
|
3107
|
+
controlOrder?: ("showLegend" | "showSearchPanel" | "showLayerPanel" | "showMeasureTool" | "showSelectionTool" | "showImageryPanel" | "showBasemapSwitcher" | "showExportButton" | "showCompass" | "showInfoControl")[] | undefined;
|
|
3108
|
+
controlPositions?: Partial<Record<"showLegend" | "showSearchPanel" | "showLayerPanel" | "showMeasureTool" | "showSelectionTool" | "showImageryPanel" | "showBasemapSwitcher" | "showExportButton" | "showCompass" | "showInfoControl", "top-left" | "top-right" | "bottom-left" | "bottom-right">> | undefined;
|
|
3109
|
+
controlIcons?: Partial<Record<"showLegend" | "showSearchPanel" | "showLayerPanel" | "showMeasureTool" | "showSelectionTool" | "showImageryPanel" | "showBasemapSwitcher" | "showExportButton" | "showCompass" | "showInfoControl", string>> | undefined;
|
|
3110
|
+
legendOrder?: string[] | undefined;
|
|
2797
3111
|
};
|
|
2798
3112
|
initialView: {
|
|
2799
3113
|
latitude: number;
|
|
@@ -2801,6 +3115,8 @@ export declare function safeValidateMapConfig(config: unknown): z.ZodSafeParseRe
|
|
|
2801
3115
|
zoom: number;
|
|
2802
3116
|
pitch: number;
|
|
2803
3117
|
bearing: number;
|
|
3118
|
+
minZoom?: number | undefined;
|
|
3119
|
+
maxZoom?: number | undefined;
|
|
2804
3120
|
};
|
|
2805
3121
|
imageryLayers?: {
|
|
2806
3122
|
id: string;
|
|
@@ -2814,6 +3130,7 @@ export declare function safeValidateMapConfig(config: unknown): z.ZodSafeParseRe
|
|
|
2814
3130
|
minZoom?: number | undefined;
|
|
2815
3131
|
maxZoom?: number | undefined;
|
|
2816
3132
|
tileUrlTemplate?: string | undefined;
|
|
3133
|
+
thumbnailUrl?: string | undefined;
|
|
2817
3134
|
}[] | undefined;
|
|
2818
3135
|
sprites?: {
|
|
2819
3136
|
id: string;
|
|
@@ -2827,5 +3144,27 @@ export declare function safeValidateMapConfig(config: unknown): z.ZodSafeParseRe
|
|
|
2827
3144
|
logoDataUrl?: string | undefined;
|
|
2828
3145
|
logoHeight?: number | undefined;
|
|
2829
3146
|
} | undefined;
|
|
3147
|
+
globalSearch?: {
|
|
3148
|
+
enabled: boolean;
|
|
3149
|
+
maxResultsPerLayer: number;
|
|
3150
|
+
debounceMs: number;
|
|
3151
|
+
minQueryLength: number;
|
|
3152
|
+
layers: {
|
|
3153
|
+
layerId: string;
|
|
3154
|
+
properties: {
|
|
3155
|
+
property: string;
|
|
3156
|
+
label?: string | undefined;
|
|
3157
|
+
autocomplete?: boolean | undefined;
|
|
3158
|
+
prefetch?: boolean | undefined;
|
|
3159
|
+
}[];
|
|
3160
|
+
}[];
|
|
3161
|
+
placeholder?: string | undefined;
|
|
3162
|
+
} | undefined;
|
|
3163
|
+
info?: {
|
|
3164
|
+
enabled: boolean;
|
|
3165
|
+
markdown: string;
|
|
3166
|
+
position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
3167
|
+
title?: string | undefined;
|
|
3168
|
+
} | undefined;
|
|
2830
3169
|
}>;
|
|
2831
3170
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/schemas/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;EAI7B,CAAC;AAWH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/schemas/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8R5D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA3S/C,MAAM;wBACE,KAAK,GAAG,IAAI;mBACjB,CACH,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,GAChC;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,UAAU,EAAE,KAAK,GAAG,IAAI,CAAC;gBAAC,KAAK,EAAE,OAAO,EAAE,CAAA;aAAE,CAC7D,EAAE;qBACM,KAAK,CAAC;gBAAE,QAAQ,EAAE,MAAM,CAAC;gBAAC,SAAS,EAAE,KAAK,GAAG,MAAM,CAAA;aAAE,CAAC;oBACvD,MAAM;gCACM,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqS5D"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ViewConfigSchema, SourceAuthSchema, OgcApiSourceSchema, FillPaintSchema, LinePaintSchema, CirclePaintSchema, FillStyleSchema, LineStyleSchema, CircleStyleSchema, StyleConfigSchema, LegendEntrySchema, LegendConfigSchema, SearchFieldSchema, SearchConfigSchema, FilterConfigSchema, LayerConfigSchema, ImageryLayerConfigSchema, BasemapConfigSchema, UIConfigSchema, DEFAULT_HEADER_COLOR, BrandingConfigSchema, MapConfigSchema, validateMapConfig, safeValidateMapConfig, } from './config';
|
|
1
|
+
export { ViewConfigSchema, SourceAuthSchema, OgcApiSourceSchema, FillPaintSchema, LinePaintSchema, CirclePaintSchema, FillStyleSchema, LineStyleSchema, CircleStyleSchema, StyleConfigSchema, LegendEntrySchema, LegendConfigSchema, SearchFieldSchema, SearchConfigSchema, GlobalSearchPropertySchema, GlobalSearchLayerConfigSchema, GlobalSearchConfigSchema, FilterConfigSchema, LayerConfigSchema, ImageryLayerConfigSchema, BasemapConfigSchema, UIConfigSchema, ORDERABLE_CONTROLS, CONTROL_CORNERS, CONTROL_LAYOUTS, resolveControlOrder, resolveControlCorner, groupControlsByCorner, DEFAULT_HEADER_COLOR, BrandingConfigSchema, InfoConfigSchema, INFO_POSITIONS, MapConfigSchema, validateMapConfig, safeValidateMapConfig, } from './config';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,UAAU,CAAC"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,27 +1,38 @@
|
|
|
1
|
-
import { B as
|
|
1
|
+
import { B as s, d as S, a as o, C as c, f as n, g as r, j as i, m as h, n as m, o as C, v as l, w as g, x as f, I as t, y as O, z as L, L as y, A as R, E as d, J as p, K as E, M as A, O as I, P as T, T as F, U as N, X as P, $ as _, a4 as B, a5 as b, a6 as u, b as v, r as M, s as U, a7 as D } from "../index-BtQnyWPg.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
s as BasemapConfigSchema,
|
|
4
4
|
S as BrandingConfigSchema,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
C as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
t as
|
|
17
|
-
|
|
18
|
-
L as
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
E as
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
5
|
+
o as CONTROL_CORNERS,
|
|
6
|
+
c as CONTROL_LAYOUTS,
|
|
7
|
+
n as CirclePaintSchema,
|
|
8
|
+
r as CircleStyleSchema,
|
|
9
|
+
i as DEFAULT_HEADER_COLOR,
|
|
10
|
+
h as FillPaintSchema,
|
|
11
|
+
m as FillStyleSchema,
|
|
12
|
+
C as FilterConfigSchema,
|
|
13
|
+
l as GlobalSearchConfigSchema,
|
|
14
|
+
g as GlobalSearchLayerConfigSchema,
|
|
15
|
+
f as GlobalSearchPropertySchema,
|
|
16
|
+
t as INFO_POSITIONS,
|
|
17
|
+
O as ImageryLayerConfigSchema,
|
|
18
|
+
L as InfoConfigSchema,
|
|
19
|
+
y as LayerConfigSchema,
|
|
20
|
+
R as LegendConfigSchema,
|
|
21
|
+
d as LegendEntrySchema,
|
|
22
|
+
p as LinePaintSchema,
|
|
23
|
+
E as LineStyleSchema,
|
|
24
|
+
A as MapConfigSchema,
|
|
25
|
+
I as ORDERABLE_CONTROLS,
|
|
26
|
+
T as OgcApiSourceSchema,
|
|
27
|
+
F as SearchConfigSchema,
|
|
28
|
+
N as SearchFieldSchema,
|
|
29
|
+
P as SourceAuthSchema,
|
|
30
|
+
_ as StyleConfigSchema,
|
|
31
|
+
B as UIConfigSchema,
|
|
32
|
+
b as ViewConfigSchema,
|
|
33
|
+
u as groupControlsByCorner,
|
|
34
|
+
v as resolveControlCorner,
|
|
35
|
+
M as resolveControlOrder,
|
|
36
|
+
U as safeValidateMapConfig,
|
|
37
|
+
D as validateMapConfig
|
|
27
38
|
};
|