@ogc-maps/storybook-components 0.12.3 → 0.13.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/ExportButton-Ck1dESnc.js +26 -0
- package/dist/components/ExportButton/ExportButton.d.ts +8 -1
- package/dist/components/ExportButton/ExportButton.d.ts.map +1 -1
- package/dist/components/ExportButton/index.js +1 -1
- package/dist/{geo--Ta-t__y.js → geo-BxXVSJvJ.js} +339 -330
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +40 -39
- package/dist/hooks/useExport.d.ts +4 -3
- package/dist/hooks/useExport.d.ts.map +1 -1
- package/dist/main.js +98 -97
- package/dist/utils/exportFormats.d.ts +3 -0
- package/dist/utils/exportFormats.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/ExportButton-BsNrOvRE.js +0 -25
package/dist/hooks/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { useCsvExport, type UseCsvExportOptions, type UseCsvExportResult } from
|
|
|
5
5
|
export { useExport, type UseExportOptions, type UseExportResult, type FormatConverter } from './useExport';
|
|
6
6
|
export { featuresToCsv, type CsvExportOptions } from '../utils/csvExport';
|
|
7
7
|
export { downloadBlob } from '../utils/download';
|
|
8
|
+
export { DEFAULT_EXPORT_FORMATS } from '../utils/exportFormats';
|
|
8
9
|
export { useOgcQueryables, type UseOgcQueryablesResult } from './useOgcQueryables';
|
|
9
10
|
export { useOgcCollectionDetail, type UseOgcCollectionDetailResult } from './useOgcCollectionDetail';
|
|
10
11
|
export { useMeasure, type UseMeasureResult } from './useMeasure';
|
|
@@ -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,M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Ac,EACnB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,OAAO,EACP,IAAI,EACJ,MAAM,EACN,MAAM,EACN,GAAG,EACH,EAAE,EACF,GAAG,EACH,MAAM,EACN,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,qBAAqB,EACrB,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,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import { a,
|
|
1
|
+
import { D as a, a as t, b as l, c as r, d as o, e as i, f as c, g as u, h as n, i as f, j as g, k as h, l as F, m as C, n as T, o as y, p as d, q as m, r as b, s as p, t as D, u as S, v as O, w as U, x as V, y as q, z as v, A as x, B as E, C as w, E as A, F as B, G, H as I, I as J, J as L, K as M, L as P, M as Q, N as R, O as W, P as k, Q as z, R as K, S as N, T as X, U as _, V as j, W as H, X as Y, Y as Z } from "../geo-BxXVSJvJ.js";
|
|
2
2
|
export {
|
|
3
|
-
a as
|
|
4
|
-
t as
|
|
5
|
-
l as
|
|
6
|
-
r as
|
|
7
|
-
o as
|
|
8
|
-
i as
|
|
9
|
-
c as
|
|
10
|
-
u as
|
|
11
|
-
n as
|
|
12
|
-
f as
|
|
13
|
-
g as
|
|
14
|
-
h as
|
|
3
|
+
a as DEFAULT_EXPORT_FORMATS,
|
|
4
|
+
t as and,
|
|
5
|
+
l as bboxFromGeometry,
|
|
6
|
+
r as between,
|
|
7
|
+
o as buildGeometryFilter,
|
|
8
|
+
i as downloadBlob,
|
|
9
|
+
c as eq,
|
|
10
|
+
u as featuresToCsv,
|
|
11
|
+
n as fetchCollectionDetail,
|
|
12
|
+
f as fetchCollections,
|
|
13
|
+
g as fetchConformance,
|
|
14
|
+
h as fetchDistinctValues,
|
|
15
|
+
F as fetchFeatureById,
|
|
15
16
|
C as fetchFeatureCount,
|
|
16
|
-
|
|
17
|
+
T as fetchFeatures,
|
|
17
18
|
y as fetchQueryables,
|
|
18
19
|
d as fetchTileJson,
|
|
19
20
|
m as fromSimpleFilters,
|
|
20
21
|
b as fromStructuredFilters,
|
|
21
22
|
p as getCql2FilteredVectorTileUrl,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
D as getFilteredVectorTileUrl,
|
|
24
|
+
S as getTileJsonUrl,
|
|
25
|
+
O as getVectorTileSourceKey,
|
|
26
|
+
U as getVectorTileUrl,
|
|
27
|
+
V as gt,
|
|
28
|
+
q as gte,
|
|
29
|
+
v as inList,
|
|
30
|
+
x as isNull,
|
|
31
|
+
E as like,
|
|
31
32
|
w as lt,
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
A as lte,
|
|
34
|
+
B as neq,
|
|
34
35
|
G as not,
|
|
35
36
|
I as or,
|
|
36
37
|
J as resolvePropertyDisplay,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
L as resolveStyleWithSprites,
|
|
39
|
+
M as sDwithin,
|
|
40
|
+
P as sIntersects,
|
|
41
|
+
Q as sWithin,
|
|
42
|
+
R as serializeCql2,
|
|
43
|
+
W as tAfter,
|
|
44
|
+
k as tBefore,
|
|
45
|
+
z as tDuring,
|
|
46
|
+
K as useCsvExport,
|
|
47
|
+
N as useExport,
|
|
48
|
+
X as useMeasure,
|
|
49
|
+
_ as useOgcCollectionDetail,
|
|
50
|
+
j as useOgcCollections,
|
|
51
|
+
H as useOgcFeatures,
|
|
51
52
|
Y as useOgcQueryables,
|
|
52
53
|
Z as useSelection
|
|
53
54
|
};
|
|
@@ -8,15 +8,16 @@ export type FormatConverter = (features: GeoJsonFeature[], collectionId: string)
|
|
|
8
8
|
filename: string;
|
|
9
9
|
};
|
|
10
10
|
export interface UseExportOptions {
|
|
11
|
-
baseUrl
|
|
11
|
+
/** Default base URL. Can be overridden per-call via runExport's baseUrl parameter. */
|
|
12
|
+
baseUrl?: string;
|
|
12
13
|
limit?: number;
|
|
13
14
|
converters: Record<string, FormatConverter>;
|
|
14
15
|
}
|
|
15
16
|
export interface UseExportResult {
|
|
16
|
-
runExport: (collectionId: string, formatId: string, filename: string, cql2Filter?: CQL2Expression) => Promise<void>;
|
|
17
|
+
runExport: (collectionId: string, formatId: string, filename: string, cql2Filter?: CQL2Expression, baseUrl?: string) => Promise<void>;
|
|
17
18
|
loading: boolean;
|
|
18
19
|
progress: string | null;
|
|
19
20
|
error: Error | null;
|
|
20
21
|
}
|
|
21
|
-
export declare function useExport({ baseUrl, limit, converters, }: UseExportOptions): UseExportResult;
|
|
22
|
+
export declare function useExport({ baseUrl: defaultBaseUrl, limit, converters, }: UseExportOptions): UseExportResult;
|
|
22
23
|
//# sourceMappingURL=useExport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExport.d.ts","sourceRoot":"","sources":["../../src/hooks/useExport.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAErE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,MAAM,e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AE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,OAAO,EAAE,cAAmB,EAC5B,KAAe,EACf,UAAU,GACX,EAAE,gBAAgB,GAAG,eAAe,CAoEpC"}
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as Ri } from "./BasemapSwitcher-BW7lyZ2Y.js";
|
|
2
2
|
import { C as zi } from "./CollapsibleControl-qo9daiD8.js";
|
|
3
3
|
import { C as Gi, f as qi, a as Wi } from "./CoordinateDisplay-PxPmVjpm.js";
|
|
4
|
-
import { E as Vi } from "./ExportButton-
|
|
4
|
+
import { E as Vi } from "./ExportButton-Ck1dESnc.js";
|
|
5
5
|
import { jsx as a, jsxs as l, Fragment as z } from "react/jsx-runtime";
|
|
6
6
|
import { useState as T, useEffect as q, useRef as H, useCallback as Be, useId as ze, useMemo as Ue } from "react";
|
|
7
7
|
import { F as Yi } from "./FeatureDetailPanel-CkFpdEKW.js";
|
|
@@ -9,11 +9,11 @@ import { F as Zi } from "./FeatureTooltip-DxzN-jnp.js";
|
|
|
9
9
|
import { L as Ki } from "./LayerPanel-SCdJ8948.js";
|
|
10
10
|
import { L as et } from "./Legend-BLWBzD7Y.js";
|
|
11
11
|
import { LuRuler as Ke, LuPentagon as Qe, LuTrash2 as be, LuMousePointer2 as ea, LuSquareDashedMousePointer as aa, LuPenTool as ia, LuList as ta, LuGripHorizontal as ra, LuDownload as la, LuX as pa, LuInfo as na } from "react-icons/lu";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { S as
|
|
12
|
+
import { Z as ua, _ as oa, $ as xe, V as Ge, o as qe, n as ye, X as ma, k as sa } from "./geo-BxXVSJvJ.js";
|
|
13
|
+
import { D as it, a as tt, b as rt, c as lt, d as pt, a0 as nt, a1 as ut, a2 as ot, a3 as mt, a4 as st, a5 as ct, e as dt, a6 as ht, f as gt, g as bt, h as yt, i as ft, j as xt, l as wt, m as Nt, a7 as vt, a8 as kt, p as Ct, q as St, r as Tt, s as Dt, t as Lt, u as At, v as Et, w as It, x as Mt, y as Ft, z as Pt, A as Ot, B as jt, C as $t, E as Rt, F as Bt, G as zt, H as Ut, a9 as Gt, I as qt, J as Wt, K as _t, L as Vt, M as Ht, aa as Yt, N as Xt, O as Zt, P as Jt, Q as Kt, R as Qt, S as er, T as ar, U as ir, W as tr, Y as rr } from "./geo-BxXVSJvJ.js";
|
|
14
|
+
import { S as pr } from "./SearchPanel-4Y12jfuP.js";
|
|
15
15
|
import { s as ca } from "./index-CtbLVsqD.js";
|
|
16
|
-
import { B as
|
|
16
|
+
import { B as ur, a as or, C as mr, b as sr, c as cr, D as dr, d as hr, F as gr, e as br, f as yr, g as fr, G as xr, L as wr, h as Nr, i as vr, j as kr, k as Cr, l as Sr, M as Tr, N as Dr, O as Lr, P as Ar, m as Er, S as Ir, n as Mr, o as Fr, p as Pr, q as Or, r as jr, t as $r, u as Rr, T as Br, U as zr, V as Ur, v as Gr } from "./index-CtbLVsqD.js";
|
|
17
17
|
import './style.css';function wi({
|
|
18
18
|
open: e,
|
|
19
19
|
layers: i,
|
|
@@ -3741,14 +3741,14 @@ function Oi(e, i) {
|
|
|
3741
3741
|
};
|
|
3742
3742
|
}
|
|
3743
3743
|
export {
|
|
3744
|
-
|
|
3744
|
+
ur as BasemapConfigSchema,
|
|
3745
3745
|
je as BasemapEditor,
|
|
3746
3746
|
Ei as BasemapList,
|
|
3747
3747
|
Ri as BasemapSwitcher,
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3748
|
+
or as BrandingConfigSchema,
|
|
3749
|
+
mr as CircleLayoutSchema,
|
|
3750
|
+
sr as CirclePaintSchema,
|
|
3751
|
+
cr as CircleStyleSchema,
|
|
3752
3752
|
zi as CollapsibleControl,
|
|
3753
3753
|
X as CollapsibleSection,
|
|
3754
3754
|
Si as CollectionBrowser,
|
|
@@ -3756,152 +3756,153 @@ export {
|
|
|
3756
3756
|
Pi as ConfigPreview,
|
|
3757
3757
|
re as ConfirmDialog,
|
|
3758
3758
|
Gi as CoordinateDisplay,
|
|
3759
|
-
|
|
3760
|
-
dr as
|
|
3759
|
+
it as DEFAULT_EXPORT_FORMATS,
|
|
3760
|
+
dr as DEFAULT_HEADER_COLOR,
|
|
3761
|
+
hr as DatetimeSearchFieldSchema,
|
|
3761
3762
|
Vi as ExportButton,
|
|
3762
3763
|
wi as ExportModal,
|
|
3763
3764
|
Yi as FeatureDetailPanel,
|
|
3764
3765
|
Zi as FeatureTooltip,
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3766
|
+
gr as FillLayoutSchema,
|
|
3767
|
+
br as FillPaintSchema,
|
|
3768
|
+
yr as FillStyleSchema,
|
|
3769
|
+
fr as FilterConfigSchema,
|
|
3769
3770
|
S as FormField,
|
|
3770
|
-
|
|
3771
|
-
|
|
3771
|
+
xr as GeometryTypeSchema,
|
|
3772
|
+
wr as LayerConfigSchema,
|
|
3772
3773
|
Oe as LayerEditor,
|
|
3773
3774
|
Ai as LayerList,
|
|
3774
3775
|
Ki as LayerPanel,
|
|
3775
3776
|
et as Legend,
|
|
3776
|
-
|
|
3777
|
+
Nr as LegendConfigSchema,
|
|
3777
3778
|
Za as LegendEditor,
|
|
3778
3779
|
Xa as LegendEntryEditor,
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3780
|
+
vr as LegendEntrySchema,
|
|
3781
|
+
kr as LineLayoutSchema,
|
|
3782
|
+
Cr as LinePaintSchema,
|
|
3783
|
+
Sr as LineStyleSchema,
|
|
3784
|
+
Tr as MapConfigSchema,
|
|
3784
3785
|
Ni as MeasurePanel,
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3786
|
+
Dr as NumberSearchFieldSchema,
|
|
3787
|
+
Lr as OgcApiSourceSchema,
|
|
3788
|
+
Ar as PropertyDisplayConfigSchema,
|
|
3788
3789
|
ti as PropertyDisplayEditor,
|
|
3789
|
-
|
|
3790
|
+
Er as PropertyDisplaySchema,
|
|
3790
3791
|
ki as ResultsDrawer,
|
|
3791
|
-
|
|
3792
|
+
Ir as SearchConfigSchema,
|
|
3792
3793
|
Ka as SearchFieldEditor,
|
|
3793
3794
|
ei as SearchFieldList,
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3795
|
+
Mr as SearchFieldSchema,
|
|
3796
|
+
pr as SearchPanel,
|
|
3797
|
+
Fr as SelectSearchFieldSchema,
|
|
3797
3798
|
vi as SelectionPanel,
|
|
3798
3799
|
we as SourceEditor,
|
|
3799
3800
|
Ci as SourceList,
|
|
3800
3801
|
Re as SpriteSourceEditor,
|
|
3801
3802
|
Ii as SpriteSourceList,
|
|
3802
|
-
|
|
3803
|
-
|
|
3803
|
+
Pr as SpriteSourceSchema,
|
|
3804
|
+
Or as StyleConfigSchema,
|
|
3804
3805
|
Ya as StyleEditor,
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3806
|
+
jr as SymbolLayoutSchema,
|
|
3807
|
+
$r as SymbolPaintSchema,
|
|
3808
|
+
Rr as SymbolStyleSchema,
|
|
3809
|
+
Br as TextSearchFieldSchema,
|
|
3809
3810
|
Mi as UIConfigEditor,
|
|
3810
|
-
|
|
3811
|
+
zr as UIConfigSchema,
|
|
3811
3812
|
ua as UNITS_FOR_MODE,
|
|
3812
3813
|
xe as UNIT_LABELS,
|
|
3813
|
-
|
|
3814
|
+
Ur as ViewConfigSchema,
|
|
3814
3815
|
Fi as ViewEditor,
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3816
|
+
tt as and,
|
|
3817
|
+
rt as bboxFromGeometry,
|
|
3818
|
+
lt as between,
|
|
3818
3819
|
Oi as buildBoxDrawData,
|
|
3819
3820
|
hi as buildBoxPolygon,
|
|
3820
3821
|
ni as buildDefaultStylesForGeometryTypes,
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3822
|
+
pt as buildGeometryFilter,
|
|
3823
|
+
nt as buildMeasureGeometryData,
|
|
3824
|
+
ut as buildMeasurePointsData,
|
|
3825
|
+
ot as calculateArea,
|
|
3826
|
+
mt as calculateDistance,
|
|
3827
|
+
st as calculateMeasurement,
|
|
3827
3828
|
_e as defaultCircle,
|
|
3828
3829
|
ge as defaultFill,
|
|
3829
3830
|
qa as defaultLine,
|
|
3830
3831
|
Wa as defaultSymbol,
|
|
3831
|
-
|
|
3832
|
+
ct as defaultUnitForMode,
|
|
3832
3833
|
Xe as detectGeometryStyleTypesFromQueryables,
|
|
3833
3834
|
li as detectGeometryTypeFromQueryables,
|
|
3834
3835
|
Ze as detectGeometryTypesFromFeatures,
|
|
3835
3836
|
Ti as detectStyleTypeForCollection,
|
|
3836
3837
|
Di as detectStyleTypesForCollection,
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3838
|
+
dt as downloadBlob,
|
|
3839
|
+
ht as downloadCsv,
|
|
3840
|
+
gt as eq,
|
|
3840
3841
|
We as expressionColors,
|
|
3841
3842
|
Ma as expressionEntries,
|
|
3842
3843
|
Fa as expressionPropertyName,
|
|
3843
3844
|
Ia as expressionType,
|
|
3844
3845
|
He as extractGeometryType,
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3846
|
+
bt as featuresToCsv,
|
|
3847
|
+
yt as fetchCollectionDetail,
|
|
3848
|
+
ft as fetchCollections,
|
|
3849
|
+
xt as fetchConformance,
|
|
3849
3850
|
sa as fetchDistinctValues,
|
|
3850
|
-
|
|
3851
|
-
|
|
3851
|
+
wt as fetchFeatureById,
|
|
3852
|
+
Nt as fetchFeatureCount,
|
|
3852
3853
|
ye as fetchFeatures,
|
|
3853
3854
|
qe as fetchQueryables,
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3855
|
+
vt as fetchSpriteNames,
|
|
3856
|
+
kt as fetchSpriteUrlFromStyle,
|
|
3857
|
+
Ct as fetchTileJson,
|
|
3857
3858
|
qi as formatDMS,
|
|
3858
3859
|
Wi as formatDecimal,
|
|
3859
3860
|
oa as formatMeasurement,
|
|
3860
|
-
|
|
3861
|
-
|
|
3861
|
+
St as fromSimpleFilters,
|
|
3862
|
+
Tt as fromStructuredFilters,
|
|
3862
3863
|
Ye as geometryTypeToStyleType,
|
|
3863
3864
|
fe as geometryTypeToStyleTypes,
|
|
3864
3865
|
pe as getColorFromPalette,
|
|
3865
|
-
|
|
3866
|
-
|
|
3866
|
+
Dt as getCql2FilteredVectorTileUrl,
|
|
3867
|
+
Lt as getFilteredVectorTileUrl,
|
|
3867
3868
|
Pa as getPrimaryColor,
|
|
3868
3869
|
Oa as getShapeForStyleType,
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3870
|
+
At as getTileJsonUrl,
|
|
3871
|
+
Et as getVectorTileSourceKey,
|
|
3872
|
+
It as getVectorTileUrl,
|
|
3873
|
+
Mt as gt,
|
|
3874
|
+
Ft as gte,
|
|
3874
3875
|
Li as humanizePropertyName,
|
|
3875
|
-
|
|
3876
|
+
Pt as inList,
|
|
3876
3877
|
V as isExpression,
|
|
3877
3878
|
ri as isGeometryProperty,
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3879
|
+
Ot as isNull,
|
|
3880
|
+
jt as like,
|
|
3881
|
+
$t as lt,
|
|
3882
|
+
Rt as lte,
|
|
3883
|
+
Bt as neq,
|
|
3884
|
+
zt as not,
|
|
3885
|
+
Ut as or,
|
|
3886
|
+
Gt as resolveAvailableIcons,
|
|
3887
|
+
qt as resolvePropertyDisplay,
|
|
3888
|
+
Wt as resolveStyleWithSprites,
|
|
3889
|
+
_t as sDwithin,
|
|
3890
|
+
Vt as sIntersects,
|
|
3891
|
+
Ht as sWithin,
|
|
3891
3892
|
ca as safeValidateMapConfig,
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3893
|
+
Yt as selectedFeatureKey,
|
|
3894
|
+
Xt as serializeCql2,
|
|
3895
|
+
Zt as tAfter,
|
|
3896
|
+
Jt as tBefore,
|
|
3897
|
+
Kt as tDuring,
|
|
3897
3898
|
pi as toAvailableProperties,
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3899
|
+
Qt as useCsvExport,
|
|
3900
|
+
er as useExport,
|
|
3901
|
+
ar as useMeasure,
|
|
3902
|
+
ir as useOgcCollectionDetail,
|
|
3902
3903
|
Ge as useOgcCollections,
|
|
3903
|
-
|
|
3904
|
+
tr as useOgcFeatures,
|
|
3904
3905
|
ma as useOgcQueryables,
|
|
3905
|
-
|
|
3906
|
-
|
|
3906
|
+
rr as useSelection,
|
|
3907
|
+
Gr as validateMapConfig
|
|
3907
3908
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportFormats.d.ts","sourceRoot":"","sources":["../../src/utils/exportFormats.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EAOtD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
function m({
|
|
3
|
-
onExport: r,
|
|
4
|
-
loading: a = !1,
|
|
5
|
-
disabled: o = !1,
|
|
6
|
-
className: t = ""
|
|
7
|
-
}) {
|
|
8
|
-
const i = o || a, p = [
|
|
9
|
-
"mapui:inline-flex mapui:items-center mapui:gap-1.5 mapui:rounded mapui:border mapui:border-gray-300",
|
|
10
|
-
"mapui:bg-white mapui:px-3 mapui:py-1.5 mapui:text-sm mapui:text-gray-700 mapui:transition-colors",
|
|
11
|
-
i ? "mapui:cursor-not-allowed mapui:opacity-50" : "mapui:cursor-pointer hover:mapui:bg-gray-50 hover:mapui:border-gray-400"
|
|
12
|
-
].join(" ");
|
|
13
|
-
return /* @__PURE__ */ e(
|
|
14
|
-
"button",
|
|
15
|
-
{
|
|
16
|
-
className: `${p} ${t}`.trim(),
|
|
17
|
-
disabled: i,
|
|
18
|
-
onClick: () => !i && r(),
|
|
19
|
-
children: a ? "Exporting..." : "Export"
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
m as E
|
|
25
|
-
};
|