@ogc-maps/storybook-components 0.4.1 → 0.5.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.
Files changed (36) hide show
  1. package/dist/SearchPanel-DCY01Wa-.js +363 -0
  2. package/dist/components/SearchPanel/AutocompleteInput.d.ts +12 -0
  3. package/dist/components/SearchPanel/AutocompleteInput.d.ts.map +1 -0
  4. package/dist/components/SearchPanel/DateRangeInput.d.ts +11 -0
  5. package/dist/components/SearchPanel/DateRangeInput.d.ts.map +1 -0
  6. package/dist/components/SearchPanel/NumberInput.d.ts +11 -0
  7. package/dist/components/SearchPanel/NumberInput.d.ts.map +1 -0
  8. package/dist/components/SearchPanel/SearchPanel.d.ts +7 -3
  9. package/dist/components/SearchPanel/SearchPanel.d.ts.map +1 -1
  10. package/dist/components/SearchPanel/index.js +1 -1
  11. package/dist/cql2-BaKDic7B.js +288 -0
  12. package/dist/hooks/index.d.ts +3 -2
  13. package/dist/hooks/index.d.ts.map +1 -1
  14. package/dist/hooks/index.js +31 -10
  15. package/dist/hooks/useCsvExport.d.ts +2 -1
  16. package/dist/hooks/useCsvExport.d.ts.map +1 -1
  17. package/dist/index-BLgVA46J.js +2854 -0
  18. package/dist/main.js +74 -49
  19. package/dist/schemas/config.d.ts +836 -64
  20. package/dist/schemas/config.d.ts.map +1 -1
  21. package/dist/schemas/index.js +21 -2822
  22. package/dist/style.css +1 -1
  23. package/dist/types/index.d.ts +17 -3
  24. package/dist/types/index.d.ts.map +1 -1
  25. package/dist/types/index.js +20 -16
  26. package/dist/utils/__tests__/cql2.test.d.ts +2 -0
  27. package/dist/utils/__tests__/cql2.test.d.ts.map +1 -0
  28. package/dist/utils/cql2.d.ts +75 -0
  29. package/dist/utils/cql2.d.ts.map +1 -0
  30. package/dist/utils/index.d.ts +1 -0
  31. package/dist/utils/index.d.ts.map +1 -1
  32. package/dist/utils/ogcApi.d.ts +17 -0
  33. package/dist/utils/ogcApi.d.ts.map +1 -1
  34. package/package.json +4 -2
  35. package/dist/SearchPanel-B5GPX1gF.js +0 -106
  36. package/dist/useCsvExport-C4WAm7kG.js +0 -146
package/dist/main.js CHANGED
@@ -1,55 +1,80 @@
1
- import { B as o } from "./BasemapSwitcher-BW7lyZ2Y.js";
2
- import { C as t } from "./CollapsibleControl-VFUTWb_5.js";
3
- import { C as s, f as l, a as c } from "./CoordinateDisplay-PxPmVjpm.js";
4
- import { E as f } from "./ExportButton-CLsWoW4m.js";
5
- import { F as S } from "./FeatureDetailPanel-DpcaTS9I.js";
1
+ import { B as s } from "./BasemapSwitcher-BW7lyZ2Y.js";
2
+ import { C as r } from "./CollapsibleControl-VFUTWb_5.js";
3
+ import { C as i, f as l, a as c } from "./CoordinateDisplay-PxPmVjpm.js";
4
+ import { E as S } from "./ExportButton-CLsWoW4m.js";
5
+ import { F as f } from "./FeatureDetailPanel-DpcaTS9I.js";
6
6
  import { F as C } from "./FeatureTooltip-CM0ZTudi.js";
7
- import { L as g } from "./LayerPanel-BHpb8dbm.js";
8
- import { L as u } from "./Legend-D4cc1JzQ.js";
9
- import { S as F } from "./SearchPanel-B5GPX1gF.js";
10
- import { i as L, j as P, f as T, a as v, b as B, g as D, c as E, d as M, u as U, e as V, h as b } from "./useCsvExport-C4WAm7kG.js";
11
- import { BasemapConfigSchema as O, CirclePaintSchema as j, CircleStyleSchema as A, FillPaintSchema as I, FillStyleSchema as J, FilterConfigSchema as Q, LayerConfigSchema as k, LegendConfigSchema as q, LegendEntrySchema as z, LinePaintSchema as G, LineStyleSchema as H, MapConfigSchema as K, OgcApiSourceSchema as N, SearchConfigSchema as R, SearchFieldSchema as W, StyleConfigSchema as X, UIConfigSchema as Y, ViewConfigSchema as Z, safeValidateMapConfig as _, validateMapConfig as $ } from "./schemas/index.js";
7
+ import { L as p } from "./LayerPanel-BHpb8dbm.js";
8
+ import { L as d } from "./Legend-D4cc1JzQ.js";
9
+ import { S as x } from "./SearchPanel-DCY01Wa-.js";
10
+ import { a as y, b as D, E as T, e as B, F as V, f as b, c as v, d as P, g as U, h as q, i as w, j as E, k as M, l as O, m as A, n as N, o as j, p as k, q as z, r as I, s as J, t as Q, u as G, v as H, w as K, x as R, y as W, z as X, A as Y, B as Z, C as _, D as $ } from "./cql2-BaKDic7B.js";
11
+ import { B as ae, C as se, a as te, D as re, F as oe, b as ie, c as le, L as ce, d as me, e as Se, f as ne, g as fe, M as he, N as Ce, O as ge, S as pe, h as Fe, i as de, j as ue, T as xe, U as Le, V as ye, s as De, v as Te } from "./index-BLgVA46J.js";
12
12
  import './style.css';export {
13
- O as BasemapConfigSchema,
14
- o as BasemapSwitcher,
15
- j as CirclePaintSchema,
16
- A as CircleStyleSchema,
17
- t as CollapsibleControl,
18
- s as CoordinateDisplay,
19
- f as ExportButton,
20
- S as FeatureDetailPanel,
13
+ ae as BasemapConfigSchema,
14
+ s as BasemapSwitcher,
15
+ se as CirclePaintSchema,
16
+ te as CircleStyleSchema,
17
+ r as CollapsibleControl,
18
+ i as CoordinateDisplay,
19
+ re as DatetimeSearchFieldSchema,
20
+ S as ExportButton,
21
+ f as FeatureDetailPanel,
21
22
  C as FeatureTooltip,
22
- I as FillPaintSchema,
23
- J as FillStyleSchema,
24
- Q as FilterConfigSchema,
25
- k as LayerConfigSchema,
26
- g as LayerPanel,
27
- u as Legend,
28
- q as LegendConfigSchema,
29
- z as LegendEntrySchema,
30
- G as LinePaintSchema,
31
- H as LineStyleSchema,
32
- K as MapConfigSchema,
33
- N as OgcApiSourceSchema,
34
- R as SearchConfigSchema,
35
- W as SearchFieldSchema,
36
- F as SearchPanel,
37
- X as StyleConfigSchema,
38
- Y as UIConfigSchema,
39
- Z as ViewConfigSchema,
40
- L as downloadCsv,
41
- P as featuresToCsv,
42
- T as fetchCollections,
43
- v as fetchFeatures,
44
- B as fetchQueryables,
23
+ oe as FillPaintSchema,
24
+ ie as FillStyleSchema,
25
+ le as FilterConfigSchema,
26
+ ce as LayerConfigSchema,
27
+ p as LayerPanel,
28
+ d as Legend,
29
+ me as LegendConfigSchema,
30
+ Se as LegendEntrySchema,
31
+ ne as LinePaintSchema,
32
+ fe as LineStyleSchema,
33
+ he as MapConfigSchema,
34
+ Ce as NumberSearchFieldSchema,
35
+ ge as OgcApiSourceSchema,
36
+ pe as SearchConfigSchema,
37
+ Fe as SearchFieldSchema,
38
+ x as SearchPanel,
39
+ de as SelectSearchFieldSchema,
40
+ ue as StyleConfigSchema,
41
+ xe as TextSearchFieldSchema,
42
+ Le as UIConfigSchema,
43
+ ye as ViewConfigSchema,
44
+ y as and,
45
+ D as between,
46
+ T as downloadCsv,
47
+ B as eq,
48
+ V as featuresToCsv,
49
+ b as fetchCollections,
50
+ v as fetchDistinctValues,
51
+ P as fetchFeatures,
52
+ U as fetchQueryables,
45
53
  l as formatDMS,
46
54
  c as formatDecimal,
47
- D as getFilteredVectorTileUrl,
48
- E as getTileJsonUrl,
49
- M as getVectorTileUrl,
50
- _ as safeValidateMapConfig,
51
- U as useCsvExport,
52
- V as useOgcCollections,
53
- b as useOgcFeatures,
54
- $ as validateMapConfig
55
+ q as fromSimpleFilters,
56
+ w as fromStructuredFilters,
57
+ E as getCql2FilteredVectorTileUrl,
58
+ M as getFilteredVectorTileUrl,
59
+ O as getTileJsonUrl,
60
+ A as getVectorTileUrl,
61
+ N as gt,
62
+ j as gte,
63
+ k as inList,
64
+ z as isNull,
65
+ I as like,
66
+ J as lt,
67
+ Q as lte,
68
+ G as neq,
69
+ H as not,
70
+ K as or,
71
+ De as safeValidateMapConfig,
72
+ R as serializeCql2,
73
+ W as tAfter,
74
+ X as tBefore,
75
+ Y as tDuring,
76
+ Z as useCsvExport,
77
+ _ as useOgcCollections,
78
+ $ as useOgcFeatures,
79
+ Te as validateMapConfig
55
80
  };