@ogc-maps/storybook-components 0.5.0 → 0.5.1

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 (111) hide show
  1. package/dist/{FeatureDetailPanel-DpcaTS9I.js → FeatureDetailPanel-CkFpdEKW.js} +8 -7
  2. package/dist/{FeatureTooltip-CM0ZTudi.js → FeatureTooltip-Db1LgLQV.js} +9 -7
  3. package/dist/{LayerPanel-BHpb8dbm.js → LayerPanel-SCdJ8948.js} +21 -21
  4. package/dist/{Legend-D4cc1JzQ.js → Legend-BMrkY-rw.js} +4 -4
  5. package/dist/PropertyList-BGXHLVBM.js +33 -0
  6. package/dist/components/BasemapEditor/BasemapEditor.d.ts +7 -0
  7. package/dist/components/BasemapEditor/BasemapEditor.d.ts.map +1 -0
  8. package/dist/components/BasemapEditor/BasemapList.d.ts +7 -0
  9. package/dist/components/BasemapEditor/BasemapList.d.ts.map +1 -0
  10. package/dist/components/BasemapEditor/index.d.ts +5 -0
  11. package/dist/components/BasemapEditor/index.d.ts.map +1 -0
  12. package/dist/components/CollectionBrowser/CollectionBrowser.d.ts +8 -0
  13. package/dist/components/CollectionBrowser/CollectionBrowser.d.ts.map +1 -0
  14. package/dist/components/CollectionBrowser/index.d.ts +3 -0
  15. package/dist/components/CollectionBrowser/index.d.ts.map +1 -0
  16. package/dist/components/ConfigPreview/ConfigPreview.d.ts +5 -0
  17. package/dist/components/ConfigPreview/ConfigPreview.d.ts.map +1 -0
  18. package/dist/components/ConfigPreview/index.d.ts +3 -0
  19. package/dist/components/ConfigPreview/index.d.ts.map +1 -0
  20. package/dist/components/FeatureDetailPanel/FeatureDetailPanel.d.ts +2 -1
  21. package/dist/components/FeatureDetailPanel/FeatureDetailPanel.d.ts.map +1 -1
  22. package/dist/components/FeatureDetailPanel/index.js +1 -1
  23. package/dist/components/FeatureTooltip/FeatureTooltip.d.ts +2 -1
  24. package/dist/components/FeatureTooltip/FeatureTooltip.d.ts.map +1 -1
  25. package/dist/components/FeatureTooltip/index.js +1 -1
  26. package/dist/components/LayerEditor/LayerEditor.d.ts +8 -0
  27. package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -0
  28. package/dist/components/LayerEditor/LayerList.d.ts +8 -0
  29. package/dist/components/LayerEditor/LayerList.d.ts.map +1 -0
  30. package/dist/components/LayerEditor/index.d.ts +5 -0
  31. package/dist/components/LayerEditor/index.d.ts.map +1 -0
  32. package/dist/components/LayerPanel/index.js +1 -1
  33. package/dist/components/Legend/index.js +1 -1
  34. package/dist/components/LegendEditor/LegendEditor.d.ts +7 -0
  35. package/dist/components/LegendEditor/LegendEditor.d.ts.map +1 -0
  36. package/dist/components/LegendEditor/LegendEntryEditor.d.ts +7 -0
  37. package/dist/components/LegendEditor/LegendEntryEditor.d.ts.map +1 -0
  38. package/dist/components/LegendEditor/index.d.ts +5 -0
  39. package/dist/components/LegendEditor/index.d.ts.map +1 -0
  40. package/dist/components/PropertyDisplayEditor/PropertyDisplayEditor.d.ts +15 -0
  41. package/dist/components/PropertyDisplayEditor/PropertyDisplayEditor.d.ts.map +1 -0
  42. package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts +2 -0
  43. package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts.map +1 -0
  44. package/dist/components/PropertyDisplayEditor/index.d.ts +3 -0
  45. package/dist/components/PropertyDisplayEditor/index.d.ts.map +1 -0
  46. package/dist/components/SearchFieldEditor/SearchFieldEditor.d.ts +8 -0
  47. package/dist/components/SearchFieldEditor/SearchFieldEditor.d.ts.map +1 -0
  48. package/dist/components/SearchFieldEditor/SearchFieldList.d.ts +8 -0
  49. package/dist/components/SearchFieldEditor/SearchFieldList.d.ts.map +1 -0
  50. package/dist/components/SearchFieldEditor/index.d.ts +5 -0
  51. package/dist/components/SearchFieldEditor/index.d.ts.map +1 -0
  52. package/dist/components/SourceEditor/SourceEditor.d.ts +10 -0
  53. package/dist/components/SourceEditor/SourceEditor.d.ts.map +1 -0
  54. package/dist/components/SourceEditor/SourceList.d.ts +7 -0
  55. package/dist/components/SourceEditor/SourceList.d.ts.map +1 -0
  56. package/dist/components/SourceEditor/index.d.ts +5 -0
  57. package/dist/components/SourceEditor/index.d.ts.map +1 -0
  58. package/dist/components/StyleEditor/StyleEditor.d.ts +11 -0
  59. package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -0
  60. package/dist/components/StyleEditor/index.d.ts +3 -0
  61. package/dist/components/StyleEditor/index.d.ts.map +1 -0
  62. package/dist/components/UIConfigEditor/UIConfigEditor.d.ts +7 -0
  63. package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -0
  64. package/dist/components/UIConfigEditor/index.d.ts +3 -0
  65. package/dist/components/UIConfigEditor/index.d.ts.map +1 -0
  66. package/dist/components/ViewEditor/ViewEditor.d.ts +7 -0
  67. package/dist/components/ViewEditor/ViewEditor.d.ts.map +1 -0
  68. package/dist/components/ViewEditor/index.d.ts +3 -0
  69. package/dist/components/ViewEditor/index.d.ts.map +1 -0
  70. package/dist/components/_shared/PropertyList.d.ts +2 -1
  71. package/dist/components/_shared/PropertyList.d.ts.map +1 -1
  72. package/dist/components/admin/ColorPicker.d.ts +7 -0
  73. package/dist/components/admin/ColorPicker.d.ts.map +1 -0
  74. package/dist/components/admin/ConfirmDialog.d.ts +9 -0
  75. package/dist/components/admin/ConfirmDialog.d.ts.map +1 -0
  76. package/dist/components/admin/FormField.d.ts +10 -0
  77. package/dist/components/admin/FormField.d.ts.map +1 -0
  78. package/dist/components/admin/index.d.ts +7 -0
  79. package/dist/components/admin/index.d.ts.map +1 -0
  80. package/dist/components/index.d.ts +24 -0
  81. package/dist/components/index.d.ts.map +1 -1
  82. package/dist/cql2-Dhe6Ny6v.js +352 -0
  83. package/dist/hooks/index.d.ts +5 -2
  84. package/dist/hooks/index.d.ts.map +1 -1
  85. package/dist/hooks/index.js +31 -24
  86. package/dist/hooks/useOgcCollectionDetail.d.ts +14 -0
  87. package/dist/hooks/useOgcCollectionDetail.d.ts.map +1 -0
  88. package/dist/hooks/useOgcQueryables.d.ts +14 -0
  89. package/dist/hooks/useOgcQueryables.d.ts.map +1 -0
  90. package/dist/{index-BLgVA46J.js → index-Bw9lUiuL.js} +152 -146
  91. package/dist/main.js +2090 -79
  92. package/dist/schemas/config.d.ts +81 -5
  93. package/dist/schemas/config.d.ts.map +1 -1
  94. package/dist/schemas/index.js +1 -1
  95. package/dist/style.css +1 -1
  96. package/dist/types/index.d.ts +15 -2
  97. package/dist/types/index.d.ts.map +1 -1
  98. package/dist/types/index.js +15 -13
  99. package/dist/utils/__tests__/propertyDisplay.test.d.ts +2 -0
  100. package/dist/utils/__tests__/propertyDisplay.test.d.ts.map +1 -0
  101. package/dist/utils/index.d.ts +2 -0
  102. package/dist/utils/index.d.ts.map +1 -1
  103. package/dist/utils/ogcApi.d.ts +44 -0
  104. package/dist/utils/ogcApi.d.ts.map +1 -1
  105. package/dist/utils/propertyDisplay.d.ts +6 -0
  106. package/dist/utils/propertyDisplay.d.ts.map +1 -0
  107. package/dist/utils/queryableHelpers.d.ts +35 -0
  108. package/dist/utils/queryableHelpers.d.ts.map +1 -0
  109. package/package.json +1 -1
  110. package/dist/PropertyList-BH_DTkcU.js +0 -32
  111. package/dist/cql2-BaKDic7B.js +0 -288
@@ -683,6 +683,26 @@ export declare const SearchConfigSchema: z.ZodObject<{
683
683
  placeholder?: string | undefined;
684
684
  })[];
685
685
  }>;
686
+ export declare const PropertyDisplaySchema: z.ZodObject<{
687
+ label: z.ZodOptional<z.ZodString>;
688
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ visible: boolean;
691
+ label?: string | undefined;
692
+ }, {
693
+ label?: string | undefined;
694
+ visible?: boolean | undefined;
695
+ }>;
696
+ export declare const PropertyDisplayConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
697
+ label: z.ZodOptional<z.ZodString>;
698
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ visible: boolean;
701
+ label?: string | undefined;
702
+ }, {
703
+ label?: string | undefined;
704
+ visible?: boolean | undefined;
705
+ }>>;
686
706
  export declare const FilterConfigSchema: z.ZodObject<{
687
707
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>>;
688
708
  bbox: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
@@ -1008,12 +1028,22 @@ export declare const LayerConfigSchema: z.ZodObject<{
1008
1028
  placeholder?: string | undefined;
1009
1029
  })[];
1010
1030
  }>>;
1031
+ propertyDisplay: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1032
+ label: z.ZodOptional<z.ZodString>;
1033
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ visible: boolean;
1036
+ label?: string | undefined;
1037
+ }, {
1038
+ label?: string | undefined;
1039
+ visible?: boolean | undefined;
1040
+ }>>>;
1011
1041
  }, "strip", z.ZodTypeAny, {
1012
1042
  id: string;
1013
1043
  label: string;
1044
+ visible: boolean;
1014
1045
  sourceId: string;
1015
1046
  collection: string;
1016
- visible: boolean;
1017
1047
  dataMode: "vector-tiles" | "geojson";
1018
1048
  style?: {
1019
1049
  type: "fill";
@@ -1086,6 +1116,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
1086
1116
  placeholder?: string | undefined;
1087
1117
  })[];
1088
1118
  } | undefined;
1119
+ propertyDisplay?: Record<string, {
1120
+ visible: boolean;
1121
+ label?: string | undefined;
1122
+ }> | undefined;
1089
1123
  }, {
1090
1124
  id: string;
1091
1125
  label: string;
@@ -1164,6 +1198,10 @@ export declare const LayerConfigSchema: z.ZodObject<{
1164
1198
  placeholder?: string | undefined;
1165
1199
  })[];
1166
1200
  } | undefined;
1201
+ propertyDisplay?: Record<string, {
1202
+ label?: string | undefined;
1203
+ visible?: boolean | undefined;
1204
+ }> | undefined;
1167
1205
  }>;
1168
1206
  export declare const BasemapConfigSchema: z.ZodObject<{
1169
1207
  id: z.ZodString;
@@ -1538,12 +1576,22 @@ export declare const MapConfigSchema: z.ZodObject<{
1538
1576
  placeholder?: string | undefined;
1539
1577
  })[];
1540
1578
  }>>;
1579
+ propertyDisplay: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1580
+ label: z.ZodOptional<z.ZodString>;
1581
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ visible: boolean;
1584
+ label?: string | undefined;
1585
+ }, {
1586
+ label?: string | undefined;
1587
+ visible?: boolean | undefined;
1588
+ }>>>;
1541
1589
  }, "strip", z.ZodTypeAny, {
1542
1590
  id: string;
1543
1591
  label: string;
1592
+ visible: boolean;
1544
1593
  sourceId: string;
1545
1594
  collection: string;
1546
- visible: boolean;
1547
1595
  dataMode: "vector-tiles" | "geojson";
1548
1596
  style?: {
1549
1597
  type: "fill";
@@ -1616,6 +1664,10 @@ export declare const MapConfigSchema: z.ZodObject<{
1616
1664
  placeholder?: string | undefined;
1617
1665
  })[];
1618
1666
  } | undefined;
1667
+ propertyDisplay?: Record<string, {
1668
+ visible: boolean;
1669
+ label?: string | undefined;
1670
+ }> | undefined;
1619
1671
  }, {
1620
1672
  id: string;
1621
1673
  label: string;
@@ -1694,6 +1746,10 @@ export declare const MapConfigSchema: z.ZodObject<{
1694
1746
  placeholder?: string | undefined;
1695
1747
  })[];
1696
1748
  } | undefined;
1749
+ propertyDisplay?: Record<string, {
1750
+ label?: string | undefined;
1751
+ visible?: boolean | undefined;
1752
+ }> | undefined;
1697
1753
  }>, "many">;
1698
1754
  basemaps: z.ZodArray<z.ZodObject<{
1699
1755
  id: z.ZodString;
@@ -1768,9 +1824,9 @@ export declare const MapConfigSchema: z.ZodObject<{
1768
1824
  layers: {
1769
1825
  id: string;
1770
1826
  label: string;
1827
+ visible: boolean;
1771
1828
  sourceId: string;
1772
1829
  collection: string;
1773
- visible: boolean;
1774
1830
  dataMode: "vector-tiles" | "geojson";
1775
1831
  style?: {
1776
1832
  type: "fill";
@@ -1843,6 +1899,10 @@ export declare const MapConfigSchema: z.ZodObject<{
1843
1899
  placeholder?: string | undefined;
1844
1900
  })[];
1845
1901
  } | undefined;
1902
+ propertyDisplay?: Record<string, {
1903
+ visible: boolean;
1904
+ label?: string | undefined;
1905
+ }> | undefined;
1846
1906
  }[];
1847
1907
  basemaps: {
1848
1908
  id: string;
@@ -1952,6 +2012,10 @@ export declare const MapConfigSchema: z.ZodObject<{
1952
2012
  placeholder?: string | undefined;
1953
2013
  })[];
1954
2014
  } | undefined;
2015
+ propertyDisplay?: Record<string, {
2016
+ label?: string | undefined;
2017
+ visible?: boolean | undefined;
2018
+ }> | undefined;
1955
2019
  }[];
1956
2020
  basemaps: {
1957
2021
  id: string;
@@ -1990,9 +2054,9 @@ export declare function validateMapConfig(config: unknown): {
1990
2054
  layers: {
1991
2055
  id: string;
1992
2056
  label: string;
2057
+ visible: boolean;
1993
2058
  sourceId: string;
1994
2059
  collection: string;
1995
- visible: boolean;
1996
2060
  dataMode: "vector-tiles" | "geojson";
1997
2061
  style?: {
1998
2062
  type: "fill";
@@ -2065,6 +2129,10 @@ export declare function validateMapConfig(config: unknown): {
2065
2129
  placeholder?: string | undefined;
2066
2130
  })[];
2067
2131
  } | undefined;
2132
+ propertyDisplay?: Record<string, {
2133
+ visible: boolean;
2134
+ label?: string | undefined;
2135
+ }> | undefined;
2068
2136
  }[];
2069
2137
  basemaps: {
2070
2138
  id: string;
@@ -2178,6 +2246,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
2178
2246
  placeholder?: string | undefined;
2179
2247
  })[];
2180
2248
  } | undefined;
2249
+ propertyDisplay?: Record<string, {
2250
+ label?: string | undefined;
2251
+ visible?: boolean | undefined;
2252
+ }> | undefined;
2181
2253
  }[];
2182
2254
  basemaps: {
2183
2255
  id: string;
@@ -2212,9 +2284,9 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
2212
2284
  layers: {
2213
2285
  id: string;
2214
2286
  label: string;
2287
+ visible: boolean;
2215
2288
  sourceId: string;
2216
2289
  collection: string;
2217
- visible: boolean;
2218
2290
  dataMode: "vector-tiles" | "geojson";
2219
2291
  style?: {
2220
2292
  type: "fill";
@@ -2287,6 +2359,10 @@ export declare function safeValidateMapConfig(config: unknown): z.SafeParseRetur
2287
2359
  placeholder?: string | undefined;
2288
2360
  })[];
2289
2361
  } | undefined;
2362
+ propertyDisplay?: Record<string, {
2363
+ visible: boolean;
2364
+ label?: string | undefined;
2365
+ }> | undefined;
2290
2366
  }[];
2291
2367
  basemaps: {
2292
2368
  id: string;
@@ -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,gBAAgB;;;;;;;;;;;;;;;;;;EAM3B,CAAC;AAIH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAK7B,CAAC;AAIH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAK1B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAIH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG1B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AAEH,eAAO,MAAM,iBAAiB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM1B,CAAC;AAIH;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhD;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEpD"}
@@ -1,4 +1,4 @@
1
- import { B as i, C as S, a as c, F as s, b as h, c as m, L as n, d as g, e as f, f as l, g as o, M as C, O as t, S as r, h as d, j as p, U as y, V as L, s as F, v as M } from "../index-BLgVA46J.js";
1
+ import { B as i, C as S, a as c, F as s, b as h, c as m, L as n, d as g, e as f, f as l, g as o, M as C, O as t, S as r, i as d, k as p, U as y, V as L, s as F, v as M } from "../index-Bw9lUiuL.js";
2
2
  export {
3
3
  i as BasemapConfigSchema,
4
4
  S as CirclePaintSchema,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--mapui-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--mapui-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--mapui-color-blue-50:oklch(97% .014 254.604);--mapui-color-blue-100:oklch(93.2% .032 255.585);--mapui-color-blue-300:oklch(80.9% .105 251.813);--mapui-color-blue-500:oklch(62.3% .214 259.815);--mapui-color-blue-600:oklch(54.6% .245 262.881);--mapui-color-blue-700:oklch(48.8% .243 264.376);--mapui-color-gray-100:oklch(96.7% .003 264.542);--mapui-color-gray-200:oklch(92.8% .006 264.531);--mapui-color-gray-300:oklch(87.2% .01 258.338);--mapui-color-gray-400:oklch(70.7% .022 261.325);--mapui-color-gray-500:oklch(55.1% .027 264.364);--mapui-color-gray-600:oklch(44.6% .03 256.802);--mapui-color-gray-700:oklch(37.3% .034 259.733);--mapui-color-gray-800:oklch(27.8% .033 256.848);--mapui-color-black:#000;--mapui-color-white:#fff;--mapui-spacing:.25rem;--mapui-container-lg:32rem;--mapui-text-xs:.75rem;--mapui-text-xs--line-height:calc(1/.75);--mapui-text-sm:.875rem;--mapui-text-sm--line-height:calc(1.25/.875);--mapui-text-lg:1.125rem;--mapui-text-lg--line-height:calc(1.75/1.125);--mapui-font-weight-medium:500;--mapui-font-weight-semibold:600;--mapui-tracking-wide:.025em;--mapui-radius-sm:.25rem;--mapui-radius-md:.375rem;--mapui-radius-lg:.5rem;--mapui-default-transition-duration:.15s;--mapui-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--mapui-default-font-family:var(--mapui-font-sans);--mapui-default-mono-font-family:var(--mapui-font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--mapui-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--mapui-default-font-feature-settings,normal);font-variation-settings:var(--mapui-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--mapui-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--mapui-default-mono-font-feature-settings,normal);font-variation-settings:var(--mapui-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.mapui\:absolute{position:absolute}.mapui\:fixed{position:fixed}.mapui\:relative{position:relative}.mapui\:inset-0{inset:calc(var(--mapui-spacing)*0)}.mapui\:top-0{top:calc(var(--mapui-spacing)*0)}.mapui\:top-full{top:100%}.mapui\:right-0{right:calc(var(--mapui-spacing)*0)}.mapui\:right-full{right:100%}.mapui\:bottom-full{bottom:100%}.mapui\:z-10{z-index:10}.mapui\:z-50{z-index:50}.mapui\:m-0{margin:calc(var(--mapui-spacing)*0)}.mapui\:mt-0{margin-top:calc(var(--mapui-spacing)*0)}.mapui\:mt-1{margin-top:calc(var(--mapui-spacing)*1)}.mapui\:mt-2{margin-top:calc(var(--mapui-spacing)*2)}.mapui\:mr-2{margin-right:calc(var(--mapui-spacing)*2)}.mapui\:mb-0{margin-bottom:calc(var(--mapui-spacing)*0)}.mapui\:mb-1{margin-bottom:calc(var(--mapui-spacing)*1)}.mapui\:mb-1\.5{margin-bottom:calc(var(--mapui-spacing)*1.5)}.mapui\:mb-2{margin-bottom:calc(var(--mapui-spacing)*2)}.mapui\:contents{display:contents}.mapui\:flex{display:flex}.mapui\:grid{display:grid}.mapui\:inline-block{display:inline-block}.mapui\:inline-flex{display:inline-flex}.mapui\:h-0\.5{height:calc(var(--mapui-spacing)*.5)}.mapui\:h-3{height:calc(var(--mapui-spacing)*3)}.mapui\:h-4{height:calc(var(--mapui-spacing)*4)}.mapui\:h-6{height:calc(var(--mapui-spacing)*6)}.mapui\:h-10{height:calc(var(--mapui-spacing)*10)}.mapui\:h-12{height:calc(var(--mapui-spacing)*12)}.mapui\:max-h-48{max-height:calc(var(--mapui-spacing)*48)}.mapui\:max-h-\[80vh\]{max-height:80vh}.mapui\:max-h-\[calc\(100vh-4rem\)\]{max-height:calc(100vh - 4rem)}.mapui\:w-1\/2{width:50%}.mapui\:w-3{width:calc(var(--mapui-spacing)*3)}.mapui\:w-4{width:calc(var(--mapui-spacing)*4)}.mapui\:w-6{width:calc(var(--mapui-spacing)*6)}.mapui\:w-8{width:calc(var(--mapui-spacing)*8)}.mapui\:w-10{width:calc(var(--mapui-spacing)*10)}.mapui\:w-16{width:calc(var(--mapui-spacing)*16)}.mapui\:w-64{width:calc(var(--mapui-spacing)*64)}.mapui\:w-72{width:calc(var(--mapui-spacing)*72)}.mapui\:w-full{width:100%}.mapui\:max-w-\[240px\]{max-width:240px}.mapui\:max-w-lg{max-width:var(--mapui-container-lg)}.mapui\:min-w-12{min-width:calc(var(--mapui-spacing)*12)}.mapui\:min-w-\[140px\]{min-width:140px}.mapui\:min-w-\[160px\]{min-width:160px}.mapui\:flex-1{flex:1}.mapui\:shrink-0{flex-shrink:0}.mapui\:cursor-grab{cursor:grab}.mapui\:cursor-not-allowed{cursor:not-allowed}.mapui\:cursor-pointer{cursor:pointer}.mapui\:list-none{list-style-type:none}.mapui\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.mapui\:flex-col{flex-direction:column}.mapui\:flex-wrap{flex-wrap:wrap}.mapui\:items-center{align-items:center}.mapui\:justify-between{justify-content:space-between}.mapui\:justify-center{justify-content:center}.mapui\:gap-0\.5{gap:calc(var(--mapui-spacing)*.5)}.mapui\:gap-1{gap:calc(var(--mapui-spacing)*1)}.mapui\:gap-1\.5{gap:calc(var(--mapui-spacing)*1.5)}.mapui\:gap-2{gap:calc(var(--mapui-spacing)*2)}.mapui\:gap-3{gap:calc(var(--mapui-spacing)*3)}.mapui\:gap-4{gap:calc(var(--mapui-spacing)*4)}:where(.mapui\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--mapui-spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--mapui-spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.mapui\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--mapui-spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--mapui-spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.mapui\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--mapui-spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--mapui-spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.mapui\:gap-x-4{column-gap:calc(var(--mapui-spacing)*4)}.mapui\:gap-y-2{row-gap:calc(var(--mapui-spacing)*2)}.mapui\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mapui\:overflow-hidden{overflow:hidden}.mapui\:overflow-y-auto{overflow-y:auto}.mapui\:rounded{border-radius:.25rem}.mapui\:rounded-full{border-radius:3.40282e38px}.mapui\:rounded-lg{border-radius:var(--mapui-radius-lg)}.mapui\:rounded-md{border-radius:var(--mapui-radius-md)}.mapui\:rounded-sm{border-radius:var(--mapui-radius-sm)}.mapui\:border{border-style:var(--tw-border-style);border-width:1px}.mapui\:border-0{border-style:var(--tw-border-style);border-width:0}.mapui\:border-2{border-style:var(--tw-border-style);border-width:2px}.mapui\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.mapui\:border-none{--tw-border-style:none;border-style:none}.mapui\:border-blue-500{border-color:var(--mapui-color-blue-500)}.mapui\:border-gray-100{border-color:var(--mapui-color-gray-100)}.mapui\:border-gray-200{border-color:var(--mapui-color-gray-200)}.mapui\:border-gray-300{border-color:var(--mapui-color-gray-300)}.mapui\:bg-black\/40{background-color:var(--mapui-color-black)}@supports (color:color-mix(in lab,red,red)){.mapui\:bg-black\/40{background-color:color-mix(in oklab,var(--mapui-color-black)40%,transparent)}}.mapui\:bg-black\/60{background-color:var(--mapui-color-black)}@supports (color:color-mix(in lab,red,red)){.mapui\:bg-black\/60{background-color:color-mix(in oklab,var(--mapui-color-black)60%,transparent)}}.mapui\:bg-blue-50{background-color:var(--mapui-color-blue-50)}.mapui\:bg-blue-100{background-color:var(--mapui-color-blue-100)}.mapui\:bg-blue-500{background-color:var(--mapui-color-blue-500)}.mapui\:bg-gray-100{background-color:var(--mapui-color-gray-100)}.mapui\:bg-transparent{background-color:#0000}.mapui\:bg-white{background-color:var(--mapui-color-white)}.mapui\:object-cover{object-fit:cover}.mapui\:p-0{padding:calc(var(--mapui-spacing)*0)}.mapui\:p-2{padding:calc(var(--mapui-spacing)*2)}.mapui\:p-3{padding:calc(var(--mapui-spacing)*3)}.mapui\:p-4{padding:calc(var(--mapui-spacing)*4)}.mapui\:px-2{padding-inline:calc(var(--mapui-spacing)*2)}.mapui\:px-3{padding-inline:calc(var(--mapui-spacing)*3)}.mapui\:px-4{padding-inline:calc(var(--mapui-spacing)*4)}.mapui\:py-0\.5{padding-block:calc(var(--mapui-spacing)*.5)}.mapui\:py-1{padding-block:calc(var(--mapui-spacing)*1)}.mapui\:py-1\.5{padding-block:calc(var(--mapui-spacing)*1.5)}.mapui\:py-2{padding-block:calc(var(--mapui-spacing)*2)}.mapui\:py-3{padding-block:calc(var(--mapui-spacing)*3)}.mapui\:pb-2{padding-bottom:calc(var(--mapui-spacing)*2)}.mapui\:pl-1{padding-left:calc(var(--mapui-spacing)*1)}.mapui\:text-right{text-align:right}.mapui\:font-mono{font-family:var(--mapui-font-mono)}.mapui\:text-lg{font-size:var(--mapui-text-lg);line-height:var(--tw-leading,var(--mapui-text-lg--line-height))}.mapui\:text-sm{font-size:var(--mapui-text-sm);line-height:var(--tw-leading,var(--mapui-text-sm--line-height))}.mapui\:text-xs{font-size:var(--mapui-text-xs);line-height:var(--tw-leading,var(--mapui-text-xs--line-height))}.mapui\:leading-none{--tw-leading:1;line-height:1}.mapui\:font-medium{--tw-font-weight:var(--mapui-font-weight-medium);font-weight:var(--mapui-font-weight-medium)}.mapui\:font-semibold{--tw-font-weight:var(--mapui-font-weight-semibold);font-weight:var(--mapui-font-weight-semibold)}.mapui\:tracking-wide{--tw-tracking:var(--mapui-tracking-wide);letter-spacing:var(--mapui-tracking-wide)}.mapui\:break-words{overflow-wrap:break-word}.mapui\:whitespace-nowrap{white-space:nowrap}.mapui\:text-blue-300{color:var(--mapui-color-blue-300)}.mapui\:text-blue-600{color:var(--mapui-color-blue-600)}.mapui\:text-blue-700{color:var(--mapui-color-blue-700)}.mapui\:text-gray-400{color:var(--mapui-color-gray-400)}.mapui\:text-gray-500{color:var(--mapui-color-gray-500)}.mapui\:text-gray-600{color:var(--mapui-color-gray-600)}.mapui\:text-gray-700{color:var(--mapui-color-gray-700)}.mapui\:text-gray-800{color:var(--mapui-color-gray-800)}.mapui\:text-white{color:var(--mapui-color-white)}.mapui\:uppercase{text-transform:uppercase}.mapui\:accent-blue-600{accent-color:var(--mapui-color-blue-600)}.mapui\:opacity-50{opacity:.5}.mapui\:opacity-100{opacity:1}.mapui\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.mapui\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.mapui\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--mapui-default-transition-timing-function));transition-duration:var(--tw-duration,var(--mapui-default-transition-duration))}.mapui\:outline-none{--tw-outline-style:none;outline-style:none}.mapui\:select-none{-webkit-user-select:none;user-select:none}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
1
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--mapui-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--mapui-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--mapui-color-red-50:oklch(97.1% .013 17.38);--mapui-color-red-100:oklch(93.6% .032 17.717);--mapui-color-red-200:oklch(88.5% .062 18.334);--mapui-color-red-400:oklch(70.4% .191 22.216);--mapui-color-red-500:oklch(63.7% .237 25.331);--mapui-color-red-600:oklch(57.7% .245 27.325);--mapui-color-red-700:oklch(50.5% .213 27.518);--mapui-color-red-800:oklch(44.4% .177 26.899);--mapui-color-amber-100:oklch(96.2% .059 95.617);--mapui-color-amber-700:oklch(55.5% .163 48.998);--mapui-color-green-100:oklch(96.2% .044 156.743);--mapui-color-green-600:oklch(62.7% .194 149.214);--mapui-color-green-700:oklch(52.7% .154 150.069);--mapui-color-green-800:oklch(44.8% .119 151.328);--mapui-color-blue-50:oklch(97% .014 254.604);--mapui-color-blue-100:oklch(93.2% .032 255.585);--mapui-color-blue-200:oklch(88.2% .059 254.128);--mapui-color-blue-300:oklch(80.9% .105 251.813);--mapui-color-blue-400:oklch(70.7% .165 254.624);--mapui-color-blue-500:oklch(62.3% .214 259.815);--mapui-color-blue-600:oklch(54.6% .245 262.881);--mapui-color-blue-700:oklch(48.8% .243 264.376);--mapui-color-blue-800:oklch(42.4% .199 265.638);--mapui-color-purple-100:oklch(94.6% .033 307.174);--mapui-color-purple-700:oklch(49.6% .265 301.924);--mapui-color-slate-100:oklch(96.8% .007 247.896);--mapui-color-slate-700:oklch(37.2% .044 257.287);--mapui-color-gray-50:oklch(98.5% .002 247.839);--mapui-color-gray-100:oklch(96.7% .003 264.542);--mapui-color-gray-200:oklch(92.8% .006 264.531);--mapui-color-gray-300:oklch(87.2% .01 258.338);--mapui-color-gray-400:oklch(70.7% .022 261.325);--mapui-color-gray-500:oklch(55.1% .027 264.364);--mapui-color-gray-600:oklch(44.6% .03 256.802);--mapui-color-gray-700:oklch(37.3% .034 259.733);--mapui-color-gray-800:oklch(27.8% .033 256.848);--mapui-color-gray-900:oklch(21% .034 264.665);--mapui-color-black:#000;--mapui-color-white:#fff;--mapui-spacing:.25rem;--mapui-container-sm:24rem;--mapui-container-md:28rem;--mapui-container-lg:32rem;--mapui-container-xl:36rem;--mapui-text-xs:.75rem;--mapui-text-xs--line-height:calc(1/.75);--mapui-text-sm:.875rem;--mapui-text-sm--line-height:calc(1.25/.875);--mapui-text-base:1rem;--mapui-text-base--line-height: 1.5 ;--mapui-text-lg:1.125rem;--mapui-text-lg--line-height:calc(1.75/1.125);--mapui-font-weight-medium:500;--mapui-font-weight-semibold:600;--mapui-tracking-wide:.025em;--mapui-radius-sm:.25rem;--mapui-radius-md:.375rem;--mapui-radius-lg:.5rem;--mapui-animate-spin:spin 1s linear infinite;--mapui-default-transition-duration:.15s;--mapui-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--mapui-default-font-family:var(--mapui-font-sans);--mapui-default-mono-font-family:var(--mapui-font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--mapui-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--mapui-default-font-feature-settings,normal);font-variation-settings:var(--mapui-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--mapui-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--mapui-default-mono-font-feature-settings,normal);font-variation-settings:var(--mapui-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.mapui\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mapui\:absolute{position:absolute}.mapui\:fixed{position:fixed}.mapui\:relative{position:relative}.mapui\:inset-0{inset:calc(var(--mapui-spacing)*0)}.mapui\:top-0{top:calc(var(--mapui-spacing)*0)}.mapui\:top-0\.5{top:calc(var(--mapui-spacing)*.5)}.mapui\:top-full{top:100%}.mapui\:right-0{right:calc(var(--mapui-spacing)*0)}.mapui\:right-full{right:100%}.mapui\:bottom-full{bottom:100%}.mapui\:z-10{z-index:10}.mapui\:z-50{z-index:50}.mapui\:m-0{margin:calc(var(--mapui-spacing)*0)}.mapui\:mt-0{margin-top:calc(var(--mapui-spacing)*0)}.mapui\:mt-0\.5{margin-top:calc(var(--mapui-spacing)*.5)}.mapui\:mt-1{margin-top:calc(var(--mapui-spacing)*1)}.mapui\:mt-2{margin-top:calc(var(--mapui-spacing)*2)}.mapui\:mt-3{margin-top:calc(var(--mapui-spacing)*3)}.mapui\:mt-4{margin-top:calc(var(--mapui-spacing)*4)}.mapui\:mr-1{margin-right:calc(var(--mapui-spacing)*1)}.mapui\:mr-2{margin-right:calc(var(--mapui-spacing)*2)}.mapui\:mb-0{margin-bottom:calc(var(--mapui-spacing)*0)}.mapui\:mb-1{margin-bottom:calc(var(--mapui-spacing)*1)}.mapui\:mb-1\.5{margin-bottom:calc(var(--mapui-spacing)*1.5)}.mapui\:mb-2{margin-bottom:calc(var(--mapui-spacing)*2)}.mapui\:mb-3{margin-bottom:calc(var(--mapui-spacing)*3)}.mapui\:mb-6{margin-bottom:calc(var(--mapui-spacing)*6)}.mapui\:ml-0\.5{margin-left:calc(var(--mapui-spacing)*.5)}.mapui\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mapui\:block{display:block}.mapui\:contents{display:contents}.mapui\:flex{display:flex}.mapui\:grid{display:grid}.mapui\:inline-block{display:inline-block}.mapui\:inline-flex{display:inline-flex}.mapui\:h-0\.5{height:calc(var(--mapui-spacing)*.5)}.mapui\:h-3{height:calc(var(--mapui-spacing)*3)}.mapui\:h-4{height:calc(var(--mapui-spacing)*4)}.mapui\:h-5{height:calc(var(--mapui-spacing)*5)}.mapui\:h-6{height:calc(var(--mapui-spacing)*6)}.mapui\:h-8{height:calc(var(--mapui-spacing)*8)}.mapui\:h-10{height:calc(var(--mapui-spacing)*10)}.mapui\:h-12{height:calc(var(--mapui-spacing)*12)}.mapui\:h-16{height:calc(var(--mapui-spacing)*16)}.mapui\:max-h-48{max-height:calc(var(--mapui-spacing)*48)}.mapui\:max-h-\[80vh\]{max-height:80vh}.mapui\:max-h-\[calc\(100vh-4rem\)\]{max-height:calc(100vh - 4rem)}.mapui\:w-1\/2{width:50%}.mapui\:w-3{width:calc(var(--mapui-spacing)*3)}.mapui\:w-4{width:calc(var(--mapui-spacing)*4)}.mapui\:w-6{width:calc(var(--mapui-spacing)*6)}.mapui\:w-8{width:calc(var(--mapui-spacing)*8)}.mapui\:w-9{width:calc(var(--mapui-spacing)*9)}.mapui\:w-10{width:calc(var(--mapui-spacing)*10)}.mapui\:w-14{width:calc(var(--mapui-spacing)*14)}.mapui\:w-16{width:calc(var(--mapui-spacing)*16)}.mapui\:w-24{width:calc(var(--mapui-spacing)*24)}.mapui\:w-64{width:calc(var(--mapui-spacing)*64)}.mapui\:w-72{width:calc(var(--mapui-spacing)*72)}.mapui\:w-96{width:calc(var(--mapui-spacing)*96)}.mapui\:w-full{width:100%}.mapui\:max-w-\[240px\]{max-width:240px}.mapui\:max-w-lg{max-width:var(--mapui-container-lg)}.mapui\:max-w-md{max-width:var(--mapui-container-md)}.mapui\:max-w-sm{max-width:var(--mapui-container-sm)}.mapui\:max-w-xl{max-width:var(--mapui-container-xl)}.mapui\:min-w-0{min-width:calc(var(--mapui-spacing)*0)}.mapui\:min-w-12{min-width:calc(var(--mapui-spacing)*12)}.mapui\:min-w-\[140px\]{min-width:140px}.mapui\:min-w-\[160px\]{min-width:160px}.mapui\:flex-1{flex:1}.mapui\:shrink-0{flex-shrink:0}.mapui\:translate-x-0\.5{--tw-translate-x:calc(var(--mapui-spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.mapui\:translate-x-4{--tw-translate-x:calc(var(--mapui-spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.mapui\:animate-spin{animation:var(--mapui-animate-spin)}.mapui\:cursor-grab{cursor:grab}.mapui\:cursor-not-allowed{cursor:not-allowed}.mapui\:cursor-pointer{cursor:pointer}.mapui\:list-none{list-style-type:none}.mapui\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.mapui\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.mapui\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.mapui\:flex-col{flex-direction:column}.mapui\:flex-wrap{flex-wrap:wrap}.mapui\:items-center{align-items:center}.mapui\:items-start{align-items:flex-start}.mapui\:justify-between{justify-content:space-between}.mapui\:justify-center{justify-content:center}.mapui\:justify-end{justify-content:flex-end}.mapui\:gap-0\.5{gap:calc(var(--mapui-spacing)*.5)}.mapui\:gap-1{gap:calc(var(--mapui-spacing)*1)}.mapui\:gap-1\.5{gap:calc(var(--mapui-spacing)*1.5)}.mapui\:gap-2{gap:calc(var(--mapui-spacing)*2)}.mapui\:gap-3{gap:calc(var(--mapui-spacing)*3)}.mapui\:gap-4{gap:calc(var(--mapui-spacing)*4)}.mapui\:gap-6{gap:calc(var(--mapui-spacing)*6)}:where(.mapui\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--mapui-spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--mapui-spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.mapui\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--mapui-spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--mapui-spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.mapui\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--mapui-spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--mapui-spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.mapui\:gap-x-4{column-gap:calc(var(--mapui-spacing)*4)}.mapui\:gap-y-2{row-gap:calc(var(--mapui-spacing)*2)}.mapui\:self-start{align-self:flex-start}.mapui\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mapui\:overflow-auto{overflow:auto}.mapui\:overflow-hidden{overflow:hidden}.mapui\:overflow-y-auto{overflow-y:auto}.mapui\:rounded{border-radius:.25rem}.mapui\:rounded-full{border-radius:3.40282e38px}.mapui\:rounded-lg{border-radius:var(--mapui-radius-lg)}.mapui\:rounded-md{border-radius:var(--mapui-radius-md)}.mapui\:rounded-sm{border-radius:var(--mapui-radius-sm)}.mapui\:border{border-style:var(--tw-border-style);border-width:1px}.mapui\:border-0{border-style:var(--tw-border-style);border-width:0}.mapui\:border-2{border-style:var(--tw-border-style);border-width:2px}.mapui\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.mapui\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.mapui\:border-dashed{--tw-border-style:dashed;border-style:dashed}.mapui\:border-none{--tw-border-style:none;border-style:none}.mapui\:border-blue-200{border-color:var(--mapui-color-blue-200)}.mapui\:border-blue-300{border-color:var(--mapui-color-blue-300)}.mapui\:border-blue-400{border-color:var(--mapui-color-blue-400)}.mapui\:border-blue-500{border-color:var(--mapui-color-blue-500)}.mapui\:border-gray-100{border-color:var(--mapui-color-gray-100)}.mapui\:border-gray-200{border-color:var(--mapui-color-gray-200)}.mapui\:border-gray-300{border-color:var(--mapui-color-gray-300)}.mapui\:border-red-200{border-color:var(--mapui-color-red-200)}.mapui\:border-red-400{border-color:var(--mapui-color-red-400)}.mapui\:border-transparent{border-color:#0000}.mapui\:border-t-blue-600{border-top-color:var(--mapui-color-blue-600)}.mapui\:bg-amber-100{background-color:var(--mapui-color-amber-100)}.mapui\:bg-black\/40{background-color:var(--mapui-color-black)}@supports (color:color-mix(in lab,red,red)){.mapui\:bg-black\/40{background-color:color-mix(in oklab,var(--mapui-color-black)40%,transparent)}}.mapui\:bg-black\/50{background-color:var(--mapui-color-black)}@supports (color:color-mix(in lab,red,red)){.mapui\:bg-black\/50{background-color:color-mix(in oklab,var(--mapui-color-black)50%,transparent)}}.mapui\:bg-black\/60{background-color:var(--mapui-color-black)}@supports (color:color-mix(in lab,red,red)){.mapui\:bg-black\/60{background-color:color-mix(in oklab,var(--mapui-color-black)60%,transparent)}}.mapui\:bg-blue-50{background-color:var(--mapui-color-blue-50)}.mapui\:bg-blue-100{background-color:var(--mapui-color-blue-100)}.mapui\:bg-blue-500{background-color:var(--mapui-color-blue-500)}.mapui\:bg-blue-600{background-color:var(--mapui-color-blue-600)}.mapui\:bg-gray-50{background-color:var(--mapui-color-gray-50)}.mapui\:bg-gray-100{background-color:var(--mapui-color-gray-100)}.mapui\:bg-gray-300{background-color:var(--mapui-color-gray-300)}.mapui\:bg-green-100{background-color:var(--mapui-color-green-100)}.mapui\:bg-purple-100{background-color:var(--mapui-color-purple-100)}.mapui\:bg-red-50{background-color:var(--mapui-color-red-50)}.mapui\:bg-red-100{background-color:var(--mapui-color-red-100)}.mapui\:bg-red-600{background-color:var(--mapui-color-red-600)}.mapui\:bg-slate-100{background-color:var(--mapui-color-slate-100)}.mapui\:bg-transparent{background-color:#0000}.mapui\:bg-white{background-color:var(--mapui-color-white)}.mapui\:object-cover{object-fit:cover}.mapui\:p-0{padding:calc(var(--mapui-spacing)*0)}.mapui\:p-0\.5{padding:calc(var(--mapui-spacing)*.5)}.mapui\:p-2{padding:calc(var(--mapui-spacing)*2)}.mapui\:p-3{padding:calc(var(--mapui-spacing)*3)}.mapui\:p-4{padding:calc(var(--mapui-spacing)*4)}.mapui\:p-6{padding:calc(var(--mapui-spacing)*6)}.mapui\:px-1{padding-inline:calc(var(--mapui-spacing)*1)}.mapui\:px-1\.5{padding-inline:calc(var(--mapui-spacing)*1.5)}.mapui\:px-2{padding-inline:calc(var(--mapui-spacing)*2)}.mapui\:px-2\.5{padding-inline:calc(var(--mapui-spacing)*2.5)}.mapui\:px-3{padding-inline:calc(var(--mapui-spacing)*3)}.mapui\:px-4{padding-inline:calc(var(--mapui-spacing)*4)}.mapui\:px-8{padding-inline:calc(var(--mapui-spacing)*8)}.mapui\:py-0\.5{padding-block:calc(var(--mapui-spacing)*.5)}.mapui\:py-1{padding-block:calc(var(--mapui-spacing)*1)}.mapui\:py-1\.5{padding-block:calc(var(--mapui-spacing)*1.5)}.mapui\:py-2{padding-block:calc(var(--mapui-spacing)*2)}.mapui\:py-3{padding-block:calc(var(--mapui-spacing)*3)}.mapui\:py-4{padding-block:calc(var(--mapui-spacing)*4)}.mapui\:pb-2{padding-bottom:calc(var(--mapui-spacing)*2)}.mapui\:pl-1{padding-left:calc(var(--mapui-spacing)*1)}.mapui\:text-left{text-align:left}.mapui\:text-right{text-align:right}.mapui\:font-mono{font-family:var(--mapui-font-mono)}.mapui\:text-base{font-size:var(--mapui-text-base);line-height:var(--tw-leading,var(--mapui-text-base--line-height))}.mapui\:text-lg{font-size:var(--mapui-text-lg);line-height:var(--tw-leading,var(--mapui-text-lg--line-height))}.mapui\:text-sm{font-size:var(--mapui-text-sm);line-height:var(--tw-leading,var(--mapui-text-sm--line-height))}.mapui\:text-xs{font-size:var(--mapui-text-xs);line-height:var(--tw-leading,var(--mapui-text-xs--line-height))}.mapui\:text-\[10px\]{font-size:10px}.mapui\:leading-none{--tw-leading:1;line-height:1}.mapui\:font-medium{--tw-font-weight:var(--mapui-font-weight-medium);font-weight:var(--mapui-font-weight-medium)}.mapui\:font-semibold{--tw-font-weight:var(--mapui-font-weight-semibold);font-weight:var(--mapui-font-weight-semibold)}.mapui\:tracking-wide{--tw-tracking:var(--mapui-tracking-wide);letter-spacing:var(--mapui-tracking-wide)}.mapui\:break-words{overflow-wrap:break-word}.mapui\:whitespace-nowrap{white-space:nowrap}.mapui\:whitespace-pre{white-space:pre}.mapui\:text-amber-700{color:var(--mapui-color-amber-700)}.mapui\:text-blue-300{color:var(--mapui-color-blue-300)}.mapui\:text-blue-600{color:var(--mapui-color-blue-600)}.mapui\:text-blue-700{color:var(--mapui-color-blue-700)}.mapui\:text-blue-800{color:var(--mapui-color-blue-800)}.mapui\:text-gray-400{color:var(--mapui-color-gray-400)}.mapui\:text-gray-500{color:var(--mapui-color-gray-500)}.mapui\:text-gray-600{color:var(--mapui-color-gray-600)}.mapui\:text-gray-700{color:var(--mapui-color-gray-700)}.mapui\:text-gray-800{color:var(--mapui-color-gray-800)}.mapui\:text-gray-900{color:var(--mapui-color-gray-900)}.mapui\:text-green-600{color:var(--mapui-color-green-600)}.mapui\:text-green-700{color:var(--mapui-color-green-700)}.mapui\:text-green-800{color:var(--mapui-color-green-800)}.mapui\:text-purple-700{color:var(--mapui-color-purple-700)}.mapui\:text-red-500{color:var(--mapui-color-red-500)}.mapui\:text-red-600{color:var(--mapui-color-red-600)}.mapui\:text-red-700{color:var(--mapui-color-red-700)}.mapui\:text-red-800{color:var(--mapui-color-red-800)}.mapui\:text-slate-700{color:var(--mapui-color-slate-700)}.mapui\:text-white{color:var(--mapui-color-white)}.mapui\:uppercase{text-transform:uppercase}.mapui\:accent-blue-600{accent-color:var(--mapui-color-blue-600)}.mapui\:opacity-50{opacity:.5}.mapui\:opacity-100{opacity:1}.mapui\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.mapui\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.mapui\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.mapui\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.mapui\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--mapui-default-transition-timing-function));transition-duration:var(--tw-duration,var(--mapui-default-transition-duration))}.mapui\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--mapui-default-transition-timing-function));transition-duration:var(--tw-duration,var(--mapui-default-transition-duration))}.mapui\:outline-none{--tw-outline-style:none;outline-style:none}.mapui\:select-none{-webkit-user-select:none;user-select:none}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@keyframes spin{to{transform:rotate(360deg)}}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { ViewConfigSchema, OgcApiSourceSchema, FillPaintSchema, LinePaintSchema, CirclePaintSchema, FillStyleSchema, LineStyleSchema, CircleStyleSchema, StyleConfigSchema, LegendEntrySchema, LegendConfigSchema, TextSearchFieldSchema, NumberSearchFieldSchema, DatetimeSearchFieldSchema, SelectSearchFieldSchema, SearchFieldSchema, SearchConfigSchema, FilterConfigSchema, LayerConfigSchema, BasemapConfigSchema, UIConfigSchema, MapConfigSchema } from '../schemas/config';
2
+ import { ViewConfigSchema, OgcApiSourceSchema, FillPaintSchema, LinePaintSchema, CirclePaintSchema, FillStyleSchema, LineStyleSchema, CircleStyleSchema, StyleConfigSchema, LegendEntrySchema, LegendConfigSchema, TextSearchFieldSchema, NumberSearchFieldSchema, DatetimeSearchFieldSchema, SelectSearchFieldSchema, SearchFieldSchema, SearchConfigSchema, FilterConfigSchema, PropertyDisplaySchema, PropertyDisplayConfigSchema, LayerConfigSchema, BasemapConfigSchema, UIConfigSchema, MapConfigSchema } from '../schemas/config';
3
3
  export type ViewConfig = z.infer<typeof ViewConfigSchema>;
4
4
  export type OgcApiSource = z.infer<typeof OgcApiSourceSchema>;
5
5
  export type FillPaint = z.infer<typeof FillPaintSchema>;
@@ -29,9 +29,22 @@ export type SearchFilterValue = string | number | {
29
29
  } | undefined;
30
30
  export type SearchFilterValues = Record<string, SearchFilterValue>;
31
31
  export type FilterConfig = z.infer<typeof FilterConfigSchema>;
32
+ export type PropertyDisplay = z.infer<typeof PropertyDisplaySchema>;
33
+ export type PropertyDisplayConfig = z.infer<typeof PropertyDisplayConfigSchema>;
34
+ export type PropertyDisplayConfigInput = z.input<typeof PropertyDisplayConfigSchema>;
32
35
  export type LayerConfig = z.infer<typeof LayerConfigSchema>;
33
36
  export type BasemapConfig = z.infer<typeof BasemapConfigSchema>;
34
37
  export type UIConfig = z.infer<typeof UIConfigSchema>;
35
38
  export type MapConfig = z.infer<typeof MapConfigSchema>;
36
- export { ViewConfigSchema, OgcApiSourceSchema, FillPaintSchema, LinePaintSchema, CirclePaintSchema, FillStyleSchema, LineStyleSchema, CircleStyleSchema, StyleConfigSchema, LegendEntrySchema, LegendConfigSchema, TextSearchFieldSchema, NumberSearchFieldSchema, DatetimeSearchFieldSchema, SelectSearchFieldSchema, SearchFieldSchema, SearchConfigSchema, FilterConfigSchema, LayerConfigSchema, BasemapConfigSchema, UIConfigSchema, MapConfigSchema, };
39
+ /** A queryable property from OGC API metadata, used to drive editor dropdowns. */
40
+ export interface AvailableProperty {
41
+ name: string;
42
+ title?: string;
43
+ type?: string;
44
+ format?: string;
45
+ enum?: string[];
46
+ minimum?: number;
47
+ maximum?: number;
48
+ }
49
+ export { ViewConfigSchema, OgcApiSourceSchema, FillPaintSchema, LinePaintSchema, CirclePaintSchema, FillStyleSchema, LineStyleSchema, CircleStyleSchema, StyleConfigSchema, LegendEntrySchema, LegendConfigSchema, TextSearchFieldSchema, NumberSearchFieldSchema, DatetimeSearchFieldSchema, SelectSearchFieldSchema, SearchFieldSchema, SearchConfigSchema, FilterConfigSchema, PropertyDisplaySchema, PropertyDisplayConfigSchema, LayerConfigSchema, BasemapConfigSchema, UIConfigSchema, MapConfigSchema, };
37
50
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAI3B,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,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O,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,eAAe,GAChB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAI3B,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CA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ACL,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,eAAe,GAChB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { B as S, C as c, a as h, D as i, F as m, b as s, c as l, L as n, d as r, e as t, f as g, g as o, M as C, N as f, O as F, S as d, h as y, i as L, j as p, T as P, U as b, V as u } from "../index-BLgVA46J.js";
1
+ import { B as S, C as c, a as h, D as i, F as m, b as s, c as l, L as r, d as n, e as t, f as o, g, M as C, N as f, O as y, P as F, h as d, S as p, i as L, j as P, k as D, T as b, U as u, V as x } from "../index-Bw9lUiuL.js";
2
2
  export {
3
3
  S as BasemapConfigSchema,
4
4
  c as CirclePaintSchema,
@@ -7,19 +7,21 @@ export {
7
7
  m as FillPaintSchema,
8
8
  s as FillStyleSchema,
9
9
  l as FilterConfigSchema,
10
- n as LayerConfigSchema,
11
- r as LegendConfigSchema,
10
+ r as LayerConfigSchema,
11
+ n as LegendConfigSchema,
12
12
  t as LegendEntrySchema,
13
- g as LinePaintSchema,
14
- o as LineStyleSchema,
13
+ o as LinePaintSchema,
14
+ g as LineStyleSchema,
15
15
  C as MapConfigSchema,
16
16
  f as NumberSearchFieldSchema,
17
- F as OgcApiSourceSchema,
18
- d as SearchConfigSchema,
19
- y as SearchFieldSchema,
20
- L as SelectSearchFieldSchema,
21
- p as StyleConfigSchema,
22
- P as TextSearchFieldSchema,
23
- b as UIConfigSchema,
24
- u as ViewConfigSchema
17
+ y as OgcApiSourceSchema,
18
+ F as PropertyDisplayConfigSchema,
19
+ d as PropertyDisplaySchema,
20
+ p as SearchConfigSchema,
21
+ L as SearchFieldSchema,
22
+ P as SelectSearchFieldSchema,
23
+ D as StyleConfigSchema,
24
+ b as TextSearchFieldSchema,
25
+ u as UIConfigSchema,
26
+ x as ViewConfigSchema
25
27
  };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=propertyDisplay.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propertyDisplay.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/propertyDisplay.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,6 @@
1
1
  export * from './ogcApi';
2
2
  export * from './csvExport';
3
3
  export * from './cql2';
4
+ export * from './propertyDisplay';
5
+ export * from './queryableHelpers';
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
@@ -54,6 +54,12 @@ export interface QueryableProperty {
54
54
  name?: string;
55
55
  type?: string;
56
56
  $ref?: string;
57
+ title?: string;
58
+ description?: string;
59
+ format?: string;
60
+ enum?: string[];
61
+ minimum?: number;
62
+ maximum?: number;
57
63
  }
58
64
  /** OGC API queryables response (schemajson format). */
59
65
  export interface OgcQueryables {
@@ -63,6 +69,26 @@ export interface OgcQueryables {
63
69
  title?: string;
64
70
  properties: Record<string, QueryableProperty>;
65
71
  }
72
+ /** OGC API conformance response. */
73
+ export interface OgcConformance {
74
+ conformsTo: string[];
75
+ }
76
+ /** TileJSON response for a vector tile layer. */
77
+ export interface TileJson {
78
+ tilejson: string;
79
+ tiles: string[];
80
+ name?: string;
81
+ description?: string;
82
+ minzoom?: number;
83
+ maxzoom?: number;
84
+ bounds?: [number, number, number, number];
85
+ center?: [number, number, number];
86
+ vector_layers?: Array<{
87
+ id: string;
88
+ description?: string;
89
+ fields?: Record<string, string>;
90
+ }>;
91
+ }
66
92
  /** Options for fetchFeatures. */
67
93
  export interface FetchFeaturesOptions {
68
94
  bbox?: [number, number, number, number];
@@ -87,6 +113,24 @@ export declare function fetchFeatures(baseUrl: string, collection: string, optio
87
113
  * Fetch queryable properties for a collection.
88
114
  */
89
115
  export declare function fetchQueryables(baseUrl: string, collection: string): Promise<OgcQueryables>;
116
+ /**
117
+ * Fetch metadata for a single OGC API collection.
118
+ */
119
+ export declare function fetchCollectionDetail(baseUrl: string, collectionId: string): Promise<OgcCollection>;
120
+ /**
121
+ * Fetch the OGC API conformance declaration to discover server capabilities.
122
+ */
123
+ export declare function fetchConformance(baseUrl: string): Promise<OgcConformance>;
124
+ /**
125
+ * Fetch the TileJSON document for a collection's vector tiles.
126
+ */
127
+ export declare function fetchTileJson(baseUrl: string, collection: string, tileMatrixSetId?: string): Promise<TileJson>;
128
+ /**
129
+ * Fetch the total feature count for a collection (optionally filtered).
130
+ * Uses limit=0 and reads `numberMatched` from the response.
131
+ * Returns null if the server does not report numberMatched.
132
+ */
133
+ export declare function fetchFeatureCount(baseUrl: string, collection: string, options?: Omit<FetchFeaturesOptions, 'limit' | 'offset' | 'properties'>): Promise<number | null>;
90
134
  /**
91
135
  * Build the TileJSON URL for a collection's vector tiles.
92
136
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ogcApi.d.ts","sourceRoot":"","sources":["../../src/utils/ogcApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI7C,mCAAmC;AACnC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM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 @@
1
+ import { PropertyDisplayConfigInput } from '../types';
2
+ export declare function resolvePropertyDisplay(propertyDisplay: PropertyDisplayConfigInput | undefined): {
3
+ fields: string[];
4
+ labels: Record<string, string>;
5
+ } | undefined;
6
+ //# sourceMappingURL=propertyDisplay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propertyDisplay.d.ts","sourceRoot":"","sources":["../../src/utils/propertyDisplay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,0BAA0B,GAAG,SAAS,GACtD;IAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,SAAS,CAUlE"}
@@ -0,0 +1,35 @@
1
+ import { OgcQueryables, QueryableProperty } from './ogcApi';
2
+ import { AvailableProperty } from '../types';
3
+ /** Returns true if the property definition references a GeoJSON geometry $ref. */
4
+ export declare function isGeometryProperty(prop: QueryableProperty): boolean;
5
+ /**
6
+ * Extracts the geometry type name from a geojson.org schema $ref.
7
+ * e.g. "https://geojson.org/schema/Point.json" → "Point"
8
+ */
9
+ export declare function extractGeometryType(ref: string): string | null;
10
+ /**
11
+ * Maps a GeoJSON geometry type name to a MapLibre style type.
12
+ * Returns null for geometry collection or unrecognised types.
13
+ */
14
+ export declare function geometryTypeToStyleType(geomType: string): 'fill' | 'line' | 'circle' | null;
15
+ /**
16
+ * Scans all properties in a queryables document for a geometry $ref and
17
+ * returns the derived style type, or null if none found.
18
+ */
19
+ export declare function detectGeometryTypeFromQueryables(queryables: OgcQueryables): 'fill' | 'line' | 'circle' | null;
20
+ /**
21
+ * Filters out geometry properties and maps the rest to AvailableProperty[].
22
+ */
23
+ export declare function toAvailableProperties(queryables: OgcQueryables): AvailableProperty[];
24
+ /**
25
+ * Detects the geometry type for a collection and returns the corresponding
26
+ * MapLibre style type. Tries queryables first, falls back to fetching one feature.
27
+ * Returns null if detection fails.
28
+ */
29
+ export declare function detectStyleTypeForCollection(baseUrl: string, collectionId: string): Promise<'fill' | 'line' | 'circle' | null>;
30
+ /**
31
+ * Converts a snake_case or camelCase property name to a human-readable label.
32
+ * e.g. "pop_est" → "Pop Est", "countryName" → "Country Name"
33
+ */
34
+ export declare function humanizePropertyName(name: string): string;
35
+ //# sourceMappingURL=queryableHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryableHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/queryableHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAIlD,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAEnE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG9D;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,IAAI,CAM3F;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,aAAa,GACxB,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,IAAI,CAQnC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,aAAa,GAAG,iBAAiB,EAAE,CAYpF;AAED;;;;GAIG;AACH,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC,CAc5C;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ogc-maps/storybook-components",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "main": "./dist/main.js",
6
6
  "publishConfig": {
@@ -1,32 +0,0 @@
1
- import { jsx as m, jsxs as r } from "react/jsx-runtime";
2
- function t(i) {
3
- return i == null ? "--" : typeof i == "boolean" ? i ? "Yes" : "No" : Array.isArray(i) ? i.map(t).join(", ") : typeof i == "object" ? JSON.stringify(i) : String(i);
4
- }
5
- function o({
6
- properties: i,
7
- fields: u,
8
- maxItems: p,
9
- density: c = "default",
10
- className: e = ""
11
- }) {
12
- const n = u ?? Object.keys(i), s = p != null ? n.slice(0, p) : n;
13
- return c === "compact" ? /* @__PURE__ */ m("dl", { className: `mapui:m-0 mapui:text-xs ${e}`.trim(), children: s.map((a) => /* @__PURE__ */ r("div", { className: "mapui:flex mapui:gap-1 mapui:py-0.5", children: [
14
- /* @__PURE__ */ r("dt", { className: "mapui:shrink-0 mapui:font-medium mapui:text-gray-500", children: [
15
- a,
16
- ":"
17
- ] }),
18
- /* @__PURE__ */ m("dd", { className: "mapui:m-0 mapui:truncate mapui:text-gray-800", children: t(i[a]) })
19
- ] }, a)) }) : /* @__PURE__ */ m(
20
- "dl",
21
- {
22
- className: `mapui:m-0 mapui:grid mapui:grid-cols-2 mapui:gap-x-4 mapui:gap-y-2 mapui:text-sm ${e}`.trim(),
23
- children: s.map((a) => /* @__PURE__ */ r("div", { className: "mapui:contents", children: [
24
- /* @__PURE__ */ m("dt", { className: "mapui:break-words mapui:font-medium mapui:text-gray-500", children: a }),
25
- /* @__PURE__ */ m("dd", { className: "mapui:m-0 mapui:break-words mapui:text-gray-800", children: t(i[a]) })
26
- ] }, a))
27
- }
28
- );
29
- }
30
- export {
31
- o as P
32
- };