@ogc-maps/storybook-components 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{LayerPanel-SCdJ8948.js → LayerPanel-C6H74vhO.js} +14 -14
- package/dist/components/CollectionBrowser/CollectionBrowser.d.ts +3 -1
- package/dist/components/CollectionBrowser/CollectionBrowser.d.ts.map +1 -1
- package/dist/components/Cql2FilterEditor/Cql2FilterEditor.d.ts +9 -0
- package/dist/components/Cql2FilterEditor/Cql2FilterEditor.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/Cql2Preview.d.ts +6 -0
- package/dist/components/Cql2FilterEditor/Cql2Preview.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/FilterRuleEditor.d.ts +9 -0
- package/dist/components/Cql2FilterEditor/FilterRuleEditor.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/FilterRuleGroupEditor.d.ts +10 -0
- package/dist/components/Cql2FilterEditor/FilterRuleGroupEditor.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/FilterValueInput.d.ts +12 -0
- package/dist/components/Cql2FilterEditor/FilterValueInput.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/index.d.ts +2 -0
- package/dist/components/Cql2FilterEditor/index.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/operatorOptions.d.ts +9 -0
- package/dist/components/Cql2FilterEditor/operatorOptions.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/styles.d.ts +3 -0
- package/dist/components/Cql2FilterEditor/styles.d.ts.map +1 -0
- package/dist/components/ImageryEditor/ImageryEditor.d.ts +13 -0
- package/dist/components/ImageryEditor/ImageryEditor.d.ts.map +1 -0
- package/dist/components/ImageryEditor/ImageryList.d.ts +8 -0
- package/dist/components/ImageryEditor/ImageryList.d.ts.map +1 -0
- package/dist/components/ImageryEditor/index.d.ts +5 -0
- package/dist/components/ImageryEditor/index.d.ts.map +1 -0
- package/dist/components/ImageryPanel/ImageryPanel.d.ts +10 -0
- package/dist/components/ImageryPanel/ImageryPanel.d.ts.map +1 -0
- package/dist/components/ImageryPanel/index.d.ts +3 -0
- package/dist/components/ImageryPanel/index.d.ts.map +1 -0
- package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -1
- package/dist/components/LayerPanel/index.js +1 -1
- package/dist/components/QueryPanel/QueryPanel.d.ts +14 -0
- package/dist/components/QueryPanel/QueryPanel.d.ts.map +1 -0
- package/dist/components/QueryPanel/index.d.ts +3 -0
- package/dist/components/QueryPanel/index.d.ts.map +1 -0
- package/dist/components/ResultsDrawer/ResultsDrawer.d.ts +18 -4
- 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/SelectionPanel/SelectionPanel.d.ts +3 -1
- package/dist/components/SelectionPanel/SelectionPanel.d.ts.map +1 -1
- package/dist/components/SourceEditor/SourceEditor.d.ts +2 -2
- package/dist/components/SourceEditor/SourceEditor.d.ts.map +1 -1
- package/dist/components/SourceEditor/SourceList.d.ts.map +1 -1
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts +2 -2
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyField.d.ts +2 -2
- package/dist/components/StyleEditor/PropertyField.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts +2 -2
- package/dist/components/StyleEditor/PropertyGroup.d.ts.map +1 -1
- package/dist/components/StyleEditor/StyleEditor.d.ts +2 -2
- package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -1
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/geo-BXaVaxak.js +9707 -0
- package/dist/hooks/index.d.ts +6 -4
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +68 -52
- package/dist/hooks/useExport.d.ts +2 -8
- package/dist/hooks/useExport.d.ts.map +1 -1
- package/dist/hooks/useOgcCollections.d.ts +3 -2
- package/dist/hooks/useOgcCollections.d.ts.map +1 -1
- package/dist/hooks/useOgcFeatures.d.ts +2 -2
- package/dist/hooks/useOgcFeatures.d.ts.map +1 -1
- package/dist/index-CzYEPGO9.js +3571 -0
- package/dist/main.js +3182 -1971
- package/dist/schemas/config.d.ts +1833 -4763
- 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 +18 -16
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +41 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +42 -29
- package/dist/useSelection-B1RnQZlj.js +206 -0
- package/dist/utils/cql2.d.ts +34 -5
- package/dist/utils/cql2.d.ts.map +1 -1
- package/dist/utils/exportConverters.d.ts +16 -0
- package/dist/utils/exportConverters.d.ts.map +1 -0
- package/dist/utils/geo.d.ts +6 -0
- package/dist/utils/geo.d.ts.map +1 -1
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +275 -0
- package/dist/utils/ogcApi.d.ts +63 -14
- package/dist/utils/ogcApi.d.ts.map +1 -1
- package/dist/utils/queryParameters.d.ts +22 -0
- package/dist/utils/queryParameters.d.ts.map +1 -0
- package/dist/utils/queryableHelpers.d.ts +4 -0
- package/dist/utils/queryableHelpers.d.ts.map +1 -1
- package/package.json +26 -15
- package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts +0 -2
- package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts.map +0 -1
- package/dist/geo-BxXVSJvJ.js +0 -1133
- package/dist/index-CtbLVsqD.js +0 -3011
- package/dist/schemas/__tests__/config.test.d.ts +0 -2
- package/dist/schemas/__tests__/config.test.d.ts.map +0 -1
- package/dist/utils/__tests__/cql2.test.d.ts +0 -2
- package/dist/utils/__tests__/cql2.test.d.ts.map +0 -1
- package/dist/utils/__tests__/expressionColors.test.d.ts +0 -2
- package/dist/utils/__tests__/expressionColors.test.d.ts.map +0 -1
- package/dist/utils/__tests__/propertyDisplay.test.d.ts +0 -2
- package/dist/utils/__tests__/propertyDisplay.test.d.ts.map +0 -1
- package/dist/utils/__tests__/queryableHelpers.test.d.ts +0 -2
- package/dist/utils/__tests__/queryableHelpers.test.d.ts.map +0 -1
- package/dist/utils/__tests__/wkt.test.d.ts +0 -2
- package/dist/utils/__tests__/wkt.test.d.ts.map +0 -1
package/dist/hooks/index.d.ts
CHANGED
|
@@ -10,12 +10,14 @@ export { useOgcQueryables, type UseOgcQueryablesResult } from './useOgcQueryable
|
|
|
10
10
|
export { useOgcCollectionDetail, type UseOgcCollectionDetailResult } from './useOgcCollectionDetail';
|
|
11
11
|
export { useMeasure, type UseMeasureResult } from './useMeasure';
|
|
12
12
|
export { useSelection, type UseSelectionResult } from './useSelection';
|
|
13
|
-
export type { OgcApiSource, LayerConfig, MapConfig, UIConfig, ViewConfig, StyleConfig, FilterConfig, LegendConfig, SearchConfig, SearchField, TextSearchField, NumberSearchField, DatetimeSearchField, SelectSearchField, PropertyDisplay, PropertyDisplayConfig, } from '../types';
|
|
13
|
+
export type { OgcApiSource, LayerConfig, MapConfig, UIConfig, ViewConfig, StyleConfig, FilterConfig, LegendConfig, SearchConfig, SearchField, TextSearchField, NumberSearchField, DatetimeSearchField, SelectSearchField, ImageryLayerConfig, SourceAuth, PropertyDisplay, PropertyDisplayConfig, FilterOperator, FilterRuleValue, SpatialConfig, SpatialConstraint, FilterRule, FilterRuleGroup, Cql2FilterConfig, Cql2QueryShape, RelativeDateValue, DateRangeValue, ComputedRangeValue, SortField, } from '../types';
|
|
14
14
|
export { resolvePropertyDisplay } from '../utils/propertyDisplay';
|
|
15
15
|
export { resolveStyleWithSprites } from '../utils/spriteUtils';
|
|
16
16
|
export type SearchFieldType = SearchField['type'];
|
|
17
|
-
export { fetchCollections, fetchFeatures, fetchFeatureById, fetchQueryables, fetchCollectionDetail, fetchConformance, fetchTileJson, fetchFeatureCount, fetchDistinctValues, getFilteredVectorTileUrl, getCql2FilteredVectorTileUrl, getTileJsonUrl, getVectorTileUrl, getVectorTileSourceKey, buildGeometryFilter, type OgcCollection, type OgcCollectionsResponse, type GeoJsonFeature, type OgcFeatureCollection, type OgcQueryables, type OgcConformance, type TileJson, type QueryableProperty, type FetchFeaturesOptions, } from '../utils/ogcApi';
|
|
18
|
-
export { eq, neq, gt, gte, lt, lte, between, like, inList, isNull, and, or, not, tAfter, tBefore, tDuring, fromSimpleFilters, fromStructuredFilters, serializeCql2, sIntersects, sWithin, sDwithin, type CQL2Expression, type CQL2PropertyRef, type CQL2Date, type CQL2Timestamp, type CQL2Interval, type CQL2Geometry, } from '../utils/cql2';
|
|
19
|
-
export { bboxFromGeometry, type BBox } from '../utils/geo';
|
|
17
|
+
export { fetchCollections, fetchFeatures, fetchFeatureById, fetchQueryables, fetchCollectionDetail, fetchConformance, fetchTileJson, fetchFeatureCount, fetchDistinctValues, getFilteredVectorTileUrl, getCql2FilteredVectorTileUrl, getTileJsonUrl, getVectorTileUrl, getVectorTileSourceKey, buildGeometryFilter, getImageryTileUrl, fetchGenericTileJson, tileSizeFromTileJson, detectTileSourceType, appendAuth, authHeaders, stripTrailingSlash, type OgcCollection, type OgcCollectionsResponse, type GeoJsonFeature, type OgcFeatureCollection, type OgcQueryables, type OgcConformance, type TileJson, type QueryableProperty, type FetchFeaturesOptions, } from '../utils/ogcApi';
|
|
18
|
+
export { eq, neq, gt, gte, lt, lte, between, like, inList, isNull, and, or, not, tAfter, tBefore, tDuring, fromSimpleFilters, fromStructuredFilters, fromFilterRuleGroup, buildCql2Query, resolveRelativeDate, isFilterRuleGroup, serializeCql2, sIntersects, sWithin, sDwithin, type CQL2Expression, type CQL2PropertyRef, type CQL2Date, type CQL2Timestamp, type CQL2Interval, type CQL2Geometry, } from '../utils/cql2';
|
|
19
|
+
export { bboxFromGeometry, combineGeometries, type BBox } from '../utils/geo';
|
|
20
|
+
export { extractQueryParameters, queryRequiresGeometry, type QueryParameter } from '../utils/queryParameters';
|
|
21
|
+
export { getGeometryPropertyNames } from '../utils/queryableHelpers';
|
|
20
22
|
export type { SelectionMode, SelectedFeature } from '../utils/selection';
|
|
21
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3G,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,KAAK,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACrG,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAA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B,EACnB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,OAAO,EACP,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC9G,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,54 +1,70 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as a, a as t, b as r, c as l, d as i, e as o, f as u, g as c } from "../useSelection-B1RnQZlj.js";
|
|
2
|
+
import { D as f, a as m, b as g, c as y, d as h, e as T, f as p, g as F, h as d, i as C, j as b, k as S, l as D, m as G, n as q, o as v, p as x, q as O, r as R, s as U, t as V, u as A, v as E, w as J, x as P, y as Q, z as w, A as B, B as I, C as z, E as L, F as M, G as N, H as W, I as _, J as k, K as H, L as K, M as X, N as j, O as Y, P as Z, Q as $, R as ee, S as se, T as ae, U as te, V as re, W as le, X as ie, Y as oe, Z as ue, _ as ce, $ as ne, a0 as fe, a1 as me, a2 as ge, a3 as ye } from "../geo-BXaVaxak.js";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
4
|
+
f as DEFAULT_EXPORT_FORMATS,
|
|
5
|
+
m as and,
|
|
6
|
+
g as appendAuth,
|
|
7
|
+
y as authHeaders,
|
|
8
|
+
h as bboxFromGeometry,
|
|
9
|
+
T as between,
|
|
10
|
+
p as buildCql2Query,
|
|
11
|
+
F as buildGeometryFilter,
|
|
12
|
+
d as combineGeometries,
|
|
13
|
+
C as detectTileSourceType,
|
|
14
|
+
b as downloadBlob,
|
|
15
|
+
S as eq,
|
|
16
|
+
D as extractQueryParameters,
|
|
17
|
+
G as featuresToCsv,
|
|
18
|
+
q as fetchCollectionDetail,
|
|
19
|
+
v as fetchCollections,
|
|
20
|
+
x as fetchConformance,
|
|
21
|
+
O as fetchDistinctValues,
|
|
22
|
+
R as fetchFeatureById,
|
|
23
|
+
U as fetchFeatureCount,
|
|
24
|
+
V as fetchFeatures,
|
|
25
|
+
A as fetchGenericTileJson,
|
|
26
|
+
E as fetchQueryables,
|
|
27
|
+
J as fetchTileJson,
|
|
28
|
+
P as fromFilterRuleGroup,
|
|
29
|
+
Q as fromSimpleFilters,
|
|
30
|
+
w as fromStructuredFilters,
|
|
31
|
+
B as getCql2FilteredVectorTileUrl,
|
|
32
|
+
I as getFilteredVectorTileUrl,
|
|
33
|
+
z as getGeometryPropertyNames,
|
|
34
|
+
L as getImageryTileUrl,
|
|
35
|
+
M as getTileJsonUrl,
|
|
36
|
+
N as getVectorTileSourceKey,
|
|
37
|
+
W as getVectorTileUrl,
|
|
38
|
+
_ as gt,
|
|
39
|
+
k as gte,
|
|
40
|
+
H as inList,
|
|
41
|
+
K as isFilterRuleGroup,
|
|
42
|
+
X as isNull,
|
|
43
|
+
j as like,
|
|
44
|
+
Y as lt,
|
|
45
|
+
Z as lte,
|
|
46
|
+
$ as neq,
|
|
47
|
+
ee as not,
|
|
48
|
+
se as or,
|
|
49
|
+
ae as queryRequiresGeometry,
|
|
50
|
+
te as resolvePropertyDisplay,
|
|
51
|
+
re as resolveRelativeDate,
|
|
52
|
+
le as resolveStyleWithSprites,
|
|
53
|
+
ie as sDwithin,
|
|
54
|
+
oe as sIntersects,
|
|
55
|
+
ue as sWithin,
|
|
56
|
+
ce as serializeCql2,
|
|
57
|
+
ne as stripTrailingSlash,
|
|
58
|
+
fe as tAfter,
|
|
59
|
+
me as tBefore,
|
|
60
|
+
ge as tDuring,
|
|
61
|
+
ye as tileSizeFromTileJson,
|
|
62
|
+
a as useCsvExport,
|
|
63
|
+
t as useExport,
|
|
64
|
+
r as useMeasure,
|
|
65
|
+
l as useOgcCollectionDetail,
|
|
66
|
+
i as useOgcCollections,
|
|
67
|
+
o as useOgcFeatures,
|
|
68
|
+
u as useOgcQueryables,
|
|
69
|
+
c as useSelection
|
|
54
70
|
};
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { GeoJsonFeature } from '../utils/ogcApi';
|
|
2
1
|
import { CQL2Expression } from '../utils/cql2';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
filename: string;
|
|
6
|
-
}> | {
|
|
7
|
-
blob: Blob;
|
|
8
|
-
filename: string;
|
|
9
|
-
};
|
|
2
|
+
import { FormatConverter } from '../utils/exportConverters';
|
|
3
|
+
export type { FormatConverter };
|
|
10
4
|
export interface UseExportOptions {
|
|
11
5
|
/** Default base URL. Can be overridden per-call via runExport's baseUrl parameter. */
|
|
12
6
|
baseUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExport.d.ts","sourceRoot":"","sources":["../../src/hooks/useExport.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useExport.d.ts","sourceRoot":"","sources":["../../src/hooks/useExport.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,MAAM,WAAW,gBAAgB;IAC/B,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,CACT,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,cAAc,EAC3B,OAAO,CAAC,EAAE,MAAM,KACb,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,OAAO,EAAE,cAAmB,EAC5B,KAAe,EACf,UAAU,GACX,EAAE,gBAAgB,GAAG,eAAe,CAoEpC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OgcCollection } from '../utils/ogcApi';
|
|
1
|
+
import { OgcCollection, SourceAuth } from '../utils/ogcApi';
|
|
2
2
|
export interface UseOgcCollectionsResult {
|
|
3
3
|
collections: OgcCollection[];
|
|
4
4
|
loading: boolean;
|
|
@@ -8,6 +8,7 @@ export interface UseOgcCollectionsResult {
|
|
|
8
8
|
* Hook to fetch the list of collections from an OGC API endpoint.
|
|
9
9
|
*
|
|
10
10
|
* @param baseUrl - The base URL of the OGC API server (e.g. "http://localhost:8000")
|
|
11
|
+
* @param auth - Optional source authentication config
|
|
11
12
|
*/
|
|
12
|
-
export declare function useOgcCollections(baseUrl: string | null): UseOgcCollectionsResult;
|
|
13
|
+
export declare function useOgcCollections(baseUrl: string | null, auth?: SourceAuth): UseOgcCollectionsResult;
|
|
13
14
|
//# sourceMappingURL=useOgcCollections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOgcCollections.d.ts","sourceRoot":"","sources":["../../src/hooks/useOgcCollections.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"useOgcCollections.d.ts","sourceRoot":"","sources":["../../src/hooks/useOgcCollections.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAExF,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,aAAa,EAAE,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,uBAAuB,CAuCpG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GeoJsonFeature, FetchFeaturesOptions } from '../utils/ogcApi';
|
|
1
|
+
import { GeoJsonFeature, FetchFeaturesOptions, SourceAuth } from '../utils/ogcApi';
|
|
2
2
|
export interface UseOgcFeaturesResult {
|
|
3
3
|
features: GeoJsonFeature[];
|
|
4
4
|
loading: boolean;
|
|
@@ -13,5 +13,5 @@ export interface UseOgcFeaturesResult {
|
|
|
13
13
|
* @param collection - The collection ID to fetch features from
|
|
14
14
|
* @param options - Optional fetch parameters (bbox, limit, offset, properties, datetime)
|
|
15
15
|
*/
|
|
16
|
-
export declare function useOgcFeatures(baseUrl: string | null, collection: string | null, options?: FetchFeaturesOptions): UseOgcFeaturesResult;
|
|
16
|
+
export declare function useOgcFeatures(baseUrl: string | null, collection: string | null, options?: FetchFeaturesOptions, auth?: SourceAuth): UseOgcFeaturesResult;
|
|
17
17
|
//# sourceMappingURL=useOgcFeatures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOgcFeatures.d.ts","sourceRoot":"","sources":["../../src/hooks/useOgcFeatures.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"useOgcFeatures.d.ts","sourceRoot":"","sources":["../../src/hooks/useOgcFeatures.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,wFAAwF;IACxF,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,IAAI,EACtB,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,OAAO,GAAE,oBAAyB,EAClC,IAAI,CAAC,EAAE,UAAU,GAChB,oBAAoB,CAuDtB"}
|