@ogc-maps/storybook-components 0.4.1 → 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 (128) 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/SearchPanel-DCY01Wa-.js +363 -0
  7. package/dist/components/BasemapEditor/BasemapEditor.d.ts +7 -0
  8. package/dist/components/BasemapEditor/BasemapEditor.d.ts.map +1 -0
  9. package/dist/components/BasemapEditor/BasemapList.d.ts +7 -0
  10. package/dist/components/BasemapEditor/BasemapList.d.ts.map +1 -0
  11. package/dist/components/BasemapEditor/index.d.ts +5 -0
  12. package/dist/components/BasemapEditor/index.d.ts.map +1 -0
  13. package/dist/components/CollectionBrowser/CollectionBrowser.d.ts +8 -0
  14. package/dist/components/CollectionBrowser/CollectionBrowser.d.ts.map +1 -0
  15. package/dist/components/CollectionBrowser/index.d.ts +3 -0
  16. package/dist/components/CollectionBrowser/index.d.ts.map +1 -0
  17. package/dist/components/ConfigPreview/ConfigPreview.d.ts +5 -0
  18. package/dist/components/ConfigPreview/ConfigPreview.d.ts.map +1 -0
  19. package/dist/components/ConfigPreview/index.d.ts +3 -0
  20. package/dist/components/ConfigPreview/index.d.ts.map +1 -0
  21. package/dist/components/FeatureDetailPanel/FeatureDetailPanel.d.ts +2 -1
  22. package/dist/components/FeatureDetailPanel/FeatureDetailPanel.d.ts.map +1 -1
  23. package/dist/components/FeatureDetailPanel/index.js +1 -1
  24. package/dist/components/FeatureTooltip/FeatureTooltip.d.ts +2 -1
  25. package/dist/components/FeatureTooltip/FeatureTooltip.d.ts.map +1 -1
  26. package/dist/components/FeatureTooltip/index.js +1 -1
  27. package/dist/components/LayerEditor/LayerEditor.d.ts +8 -0
  28. package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -0
  29. package/dist/components/LayerEditor/LayerList.d.ts +8 -0
  30. package/dist/components/LayerEditor/LayerList.d.ts.map +1 -0
  31. package/dist/components/LayerEditor/index.d.ts +5 -0
  32. package/dist/components/LayerEditor/index.d.ts.map +1 -0
  33. package/dist/components/LayerPanel/index.js +1 -1
  34. package/dist/components/Legend/index.js +1 -1
  35. package/dist/components/LegendEditor/LegendEditor.d.ts +7 -0
  36. package/dist/components/LegendEditor/LegendEditor.d.ts.map +1 -0
  37. package/dist/components/LegendEditor/LegendEntryEditor.d.ts +7 -0
  38. package/dist/components/LegendEditor/LegendEntryEditor.d.ts.map +1 -0
  39. package/dist/components/LegendEditor/index.d.ts +5 -0
  40. package/dist/components/LegendEditor/index.d.ts.map +1 -0
  41. package/dist/components/PropertyDisplayEditor/PropertyDisplayEditor.d.ts +15 -0
  42. package/dist/components/PropertyDisplayEditor/PropertyDisplayEditor.d.ts.map +1 -0
  43. package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts +2 -0
  44. package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts.map +1 -0
  45. package/dist/components/PropertyDisplayEditor/index.d.ts +3 -0
  46. package/dist/components/PropertyDisplayEditor/index.d.ts.map +1 -0
  47. package/dist/components/SearchFieldEditor/SearchFieldEditor.d.ts +8 -0
  48. package/dist/components/SearchFieldEditor/SearchFieldEditor.d.ts.map +1 -0
  49. package/dist/components/SearchFieldEditor/SearchFieldList.d.ts +8 -0
  50. package/dist/components/SearchFieldEditor/SearchFieldList.d.ts.map +1 -0
  51. package/dist/components/SearchFieldEditor/index.d.ts +5 -0
  52. package/dist/components/SearchFieldEditor/index.d.ts.map +1 -0
  53. package/dist/components/SearchPanel/AutocompleteInput.d.ts +12 -0
  54. package/dist/components/SearchPanel/AutocompleteInput.d.ts.map +1 -0
  55. package/dist/components/SearchPanel/DateRangeInput.d.ts +11 -0
  56. package/dist/components/SearchPanel/DateRangeInput.d.ts.map +1 -0
  57. package/dist/components/SearchPanel/NumberInput.d.ts +11 -0
  58. package/dist/components/SearchPanel/NumberInput.d.ts.map +1 -0
  59. package/dist/components/SearchPanel/SearchPanel.d.ts +7 -3
  60. package/dist/components/SearchPanel/SearchPanel.d.ts.map +1 -1
  61. package/dist/components/SearchPanel/index.js +1 -1
  62. package/dist/components/SourceEditor/SourceEditor.d.ts +10 -0
  63. package/dist/components/SourceEditor/SourceEditor.d.ts.map +1 -0
  64. package/dist/components/SourceEditor/SourceList.d.ts +7 -0
  65. package/dist/components/SourceEditor/SourceList.d.ts.map +1 -0
  66. package/dist/components/SourceEditor/index.d.ts +5 -0
  67. package/dist/components/SourceEditor/index.d.ts.map +1 -0
  68. package/dist/components/StyleEditor/StyleEditor.d.ts +11 -0
  69. package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -0
  70. package/dist/components/StyleEditor/index.d.ts +3 -0
  71. package/dist/components/StyleEditor/index.d.ts.map +1 -0
  72. package/dist/components/UIConfigEditor/UIConfigEditor.d.ts +7 -0
  73. package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -0
  74. package/dist/components/UIConfigEditor/index.d.ts +3 -0
  75. package/dist/components/UIConfigEditor/index.d.ts.map +1 -0
  76. package/dist/components/ViewEditor/ViewEditor.d.ts +7 -0
  77. package/dist/components/ViewEditor/ViewEditor.d.ts.map +1 -0
  78. package/dist/components/ViewEditor/index.d.ts +3 -0
  79. package/dist/components/ViewEditor/index.d.ts.map +1 -0
  80. package/dist/components/_shared/PropertyList.d.ts +2 -1
  81. package/dist/components/_shared/PropertyList.d.ts.map +1 -1
  82. package/dist/components/admin/ColorPicker.d.ts +7 -0
  83. package/dist/components/admin/ColorPicker.d.ts.map +1 -0
  84. package/dist/components/admin/ConfirmDialog.d.ts +9 -0
  85. package/dist/components/admin/ConfirmDialog.d.ts.map +1 -0
  86. package/dist/components/admin/FormField.d.ts +10 -0
  87. package/dist/components/admin/FormField.d.ts.map +1 -0
  88. package/dist/components/admin/index.d.ts +7 -0
  89. package/dist/components/admin/index.d.ts.map +1 -0
  90. package/dist/components/index.d.ts +24 -0
  91. package/dist/components/index.d.ts.map +1 -1
  92. package/dist/cql2-Dhe6Ny6v.js +352 -0
  93. package/dist/hooks/index.d.ts +6 -2
  94. package/dist/hooks/index.d.ts.map +1 -1
  95. package/dist/hooks/index.js +38 -10
  96. package/dist/hooks/useCsvExport.d.ts +2 -1
  97. package/dist/hooks/useCsvExport.d.ts.map +1 -1
  98. package/dist/hooks/useOgcCollectionDetail.d.ts +14 -0
  99. package/dist/hooks/useOgcCollectionDetail.d.ts.map +1 -0
  100. package/dist/hooks/useOgcQueryables.d.ts +14 -0
  101. package/dist/hooks/useOgcQueryables.d.ts.map +1 -0
  102. package/dist/index-Bw9lUiuL.js +2860 -0
  103. package/dist/main.js +2090 -54
  104. package/dist/schemas/config.d.ts +917 -69
  105. package/dist/schemas/config.d.ts.map +1 -1
  106. package/dist/schemas/index.js +21 -2822
  107. package/dist/style.css +1 -1
  108. package/dist/types/index.d.ts +30 -3
  109. package/dist/types/index.d.ts.map +1 -1
  110. package/dist/types/index.js +22 -16
  111. package/dist/utils/__tests__/cql2.test.d.ts +2 -0
  112. package/dist/utils/__tests__/cql2.test.d.ts.map +1 -0
  113. package/dist/utils/__tests__/propertyDisplay.test.d.ts +2 -0
  114. package/dist/utils/__tests__/propertyDisplay.test.d.ts.map +1 -0
  115. package/dist/utils/cql2.d.ts +75 -0
  116. package/dist/utils/cql2.d.ts.map +1 -0
  117. package/dist/utils/index.d.ts +3 -0
  118. package/dist/utils/index.d.ts.map +1 -1
  119. package/dist/utils/ogcApi.d.ts +61 -0
  120. package/dist/utils/ogcApi.d.ts.map +1 -1
  121. package/dist/utils/propertyDisplay.d.ts +6 -0
  122. package/dist/utils/propertyDisplay.d.ts.map +1 -0
  123. package/dist/utils/queryableHelpers.d.ts +35 -0
  124. package/dist/utils/queryableHelpers.d.ts.map +1 -0
  125. package/package.json +4 -2
  126. package/dist/PropertyList-BH_DTkcU.js +0 -32
  127. package/dist/SearchPanel-B5GPX1gF.js +0 -106
  128. package/dist/useCsvExport-C4WAm7kG.js +0 -146
@@ -0,0 +1,3 @@
1
+ export { CollectionBrowser } from './CollectionBrowser';
2
+ export type { CollectionBrowserProps } from './CollectionBrowser';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CollectionBrowser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface ConfigPreviewProps {
2
+ config: unknown;
3
+ }
4
+ export declare function ConfigPreview({ config }: ConfigPreviewProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=ConfigPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigPreview.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPreview/ConfigPreview.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CA4C3D"}
@@ -0,0 +1,3 @@
1
+ export { ConfigPreview } from './ConfigPreview';
2
+ export type { ConfigPreviewProps } from './ConfigPreview';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -4,8 +4,9 @@ export interface FeatureDetailPanelProps {
4
4
  properties: Record<string, unknown> | null;
5
5
  title?: string;
6
6
  fields?: string[];
7
+ labels?: Record<string, string>;
7
8
  variant?: 'panel' | 'modal';
8
9
  className?: string;
9
10
  }
10
- export declare function FeatureDetailPanel({ isOpen, onClose, properties, title, fields, variant, className, }: FeatureDetailPanelProps): import("react/jsx-runtime").JSX.Element | null;
11
+ export declare function FeatureDetailPanel({ isOpen, onClose, properties, title, fields, labels, variant, className, }: FeatureDetailPanelProps): import("react/jsx-runtime").JSX.Element | null;
11
12
  //# sourceMappingURL=FeatureDetailPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureDetailPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureDetailPanel/FeatureDetailPanel.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAA4B,EAC5B,MAAM,EACN,OAAiB,EACjB,SAAc,GACf,EAAE,uBAAuB,kDAmDzB"}
1
+ {"version":3,"file":"FeatureDetailPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureDetailPanel/FeatureDetailPanel.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAA4B,EAC5B,MAAM,EACN,MAAM,EACN,OAAiB,EACjB,SAAc,GACf,EAAE,uBAAuB,kDAmDzB"}
@@ -1,4 +1,4 @@
1
- import { F as r } from "../../FeatureDetailPanel-DpcaTS9I.js";
1
+ import { F as r } from "../../FeatureDetailPanel-CkFpdEKW.js";
2
2
  export {
3
3
  r as FeatureDetailPanel
4
4
  };
@@ -2,8 +2,9 @@ export interface FeatureTooltipProps {
2
2
  title?: string;
3
3
  properties: Record<string, unknown> | null;
4
4
  fields?: string[];
5
+ labels?: Record<string, string>;
5
6
  maxItems?: number;
6
7
  className?: string;
7
8
  }
8
- export declare function FeatureTooltip({ title, properties, fields, maxItems, className, }: FeatureTooltipProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function FeatureTooltip({ title, properties, fields, labels, maxItems, className, }: FeatureTooltipProps): import("react/jsx-runtime").JSX.Element;
9
10
  //# sourceMappingURL=FeatureTooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureTooltip/FeatureTooltip.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,EACV,MAAM,EACN,QAAY,EACZ,SAAc,GACf,EAAE,mBAAmB,2CAmCrB"}
1
+ {"version":3,"file":"FeatureTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureTooltip/FeatureTooltip.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,EACV,MAAM,EACN,MAAM,EACN,QAAY,EACZ,SAAc,GACf,EAAE,mBAAmB,2CAoCrB"}
@@ -1,4 +1,4 @@
1
- import { F as r } from "../../FeatureTooltip-CM0ZTudi.js";
1
+ import { F as r } from "../../FeatureTooltip-Db1LgLQV.js";
2
2
  export {
3
3
  r as FeatureTooltip
4
4
  };
@@ -0,0 +1,8 @@
1
+ import { LayerConfig, OgcApiSource } from '../../types';
2
+ export interface LayerEditorProps {
3
+ value: LayerConfig;
4
+ onChange: (layer: LayerConfig) => void;
5
+ availableSources: OgcApiSource[];
6
+ }
7
+ export declare function LayerEditor({ value, onChange, availableSources }: LayerEditorProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=LayerEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayerEditor.d.ts","sourceRoot":"","sources":["../../../src/components/LayerEditor/LayerEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAqB,MAAM,aAAa,CAAC;AAehF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,YAAY,EAAE,CAAC;CAClC;AA6BD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,gBAAgB,2CAwNlF"}
@@ -0,0 +1,8 @@
1
+ import { LayerConfig, OgcApiSource } from '../../types';
2
+ export interface LayerListProps {
3
+ layers: LayerConfig[];
4
+ onChange: (layers: LayerConfig[]) => void;
5
+ availableSources: OgcApiSource[];
6
+ }
7
+ export declare function LayerList({ layers, onChange, availableSources }: LayerListProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=LayerList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayerList.d.ts","sourceRoot":"","sources":["../../../src/components/LayerEditor/LayerList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI7D,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,YAAY,EAAE,CAAC;CAClC;AAWD,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,cAAc,2CA2P/E"}
@@ -0,0 +1,5 @@
1
+ export { LayerEditor } from './LayerEditor';
2
+ export type { LayerEditorProps } from './LayerEditor';
3
+ export { LayerList } from './LayerList';
4
+ export type { LayerListProps } from './LayerList';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LayerEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import { L as r } from "../../LayerPanel-BHpb8dbm.js";
1
+ import { L as r } from "../../LayerPanel-SCdJ8948.js";
2
2
  export {
3
3
  r as LayerPanel
4
4
  };
@@ -1,4 +1,4 @@
1
- import { L as r } from "../../Legend-D4cc1JzQ.js";
1
+ import { L as r } from "../../Legend-BMrkY-rw.js";
2
2
  export {
3
3
  r as Legend
4
4
  };
@@ -0,0 +1,7 @@
1
+ import { LegendConfig } from '../../types';
2
+ export interface LegendEditorProps {
3
+ value: LegendConfig | undefined;
4
+ onChange: (legend: LegendConfig | undefined) => void;
5
+ }
6
+ export declare function LegendEditor({ value, onChange }: LegendEditorProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=LegendEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegendEditor.d.ts","sourceRoot":"","sources":["../../../src/components/LegendEditor/LegendEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,aAAa,CAAC;AAG7D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI,CAAC;CACtD;AAID,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CA+ElE"}
@@ -0,0 +1,7 @@
1
+ import { LegendEntry } from '../../types';
2
+ export interface LegendEntryEditorProps {
3
+ value: LegendEntry;
4
+ onChange: (entry: LegendEntry) => void;
5
+ }
6
+ export declare function LegendEntryEditor({ value, onChange }: LegendEntryEditorProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=LegendEntryEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegendEntryEditor.d.ts","sourceRoot":"","sources":["../../../src/components/LegendEditor/LegendEntryEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CACxC;AAKD,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAkC5E"}
@@ -0,0 +1,5 @@
1
+ export { LegendEntryEditor } from './LegendEntryEditor';
2
+ export type { LegendEntryEditorProps } from './LegendEntryEditor';
3
+ export { LegendEditor } from './LegendEditor';
4
+ export type { LegendEditorProps } from './LegendEditor';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LegendEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { PropertyDisplayConfig, AvailableProperty } from '../../types';
2
+ export interface PropertyDisplayEditorProps {
3
+ value: PropertyDisplayConfig;
4
+ onChange: (config: PropertyDisplayConfig) => void;
5
+ availableProperties?: AvailableProperty[];
6
+ }
7
+ export type PropertyEntry = {
8
+ key: string;
9
+ label: string;
10
+ visible: boolean;
11
+ };
12
+ export declare function toEntries(config: PropertyDisplayConfig): PropertyEntry[];
13
+ export declare function fromEntries(entries: PropertyEntry[]): PropertyDisplayConfig;
14
+ export declare function PropertyDisplayEditor({ value, onChange, availableProperties }: PropertyDisplayEditorProps): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=PropertyDisplayEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyDisplayEditor.d.ts","sourceRoot":"","sources":["../../../src/components/PropertyDisplayEditor/PropertyDisplayEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG5E,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC3C;AAED,MAAM,MAAM,aAAa,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7E,wBAAgB,SAAS,CAAC,MAAM,EAAE,qBAAqB,GAAG,aAAa,EAAE,CAMxE;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,qBAAqB,CAS3E;AAKD,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,0BAA0B,2CAkKzG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PropertyDisplayEditor.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyDisplayEditor.test.d.ts","sourceRoot":"","sources":["../../../../src/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export { PropertyDisplayEditor } from './PropertyDisplayEditor';
2
+ export type { PropertyDisplayEditorProps } from './PropertyDisplayEditor';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PropertyDisplayEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SearchField, AvailableProperty } from '../../types';
2
+ export interface SearchFieldEditorProps {
3
+ value: SearchField;
4
+ onChange: (field: SearchField) => void;
5
+ availableProperties?: AvailableProperty[];
6
+ }
7
+ export declare function SearchFieldEditor({ value, onChange, availableProperties }: SearchFieldEditorProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=SearchFieldEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchFieldEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SearchFieldEditor/SearchFieldEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAKX,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC3C;AAYD,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,sBAAsB,2CAsPjG"}
@@ -0,0 +1,8 @@
1
+ import { SearchField, AvailableProperty } from '../../types';
2
+ export interface SearchFieldListProps {
3
+ fields: SearchField[];
4
+ onChange: (fields: SearchField[]) => void;
5
+ availableProperties?: AvailableProperty[];
6
+ }
7
+ export declare function SearchFieldList({ fields, onChange, availableProperties }: SearchFieldListProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=SearchFieldList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchFieldList.d.ts","sourceRoot":"","sources":["../../../src/components/SearchFieldEditor/SearchFieldList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGlE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IAC1C,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC3C;AASD,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,oBAAoB,2CA0G9F"}
@@ -0,0 +1,5 @@
1
+ export { SearchFieldEditor } from './SearchFieldEditor';
2
+ export type { SearchFieldEditorProps } from './SearchFieldEditor';
3
+ export { SearchFieldList } from './SearchFieldList';
4
+ export type { SearchFieldListProps } from './SearchFieldList';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchFieldEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ interface AutocompleteInputProps {
2
+ value: string;
3
+ onChange: (value: string) => void;
4
+ suggestions: string[];
5
+ onQueryChange?: (query: string) => void;
6
+ placeholder?: string;
7
+ className?: string;
8
+ id?: string;
9
+ }
10
+ export declare function AutocompleteInput({ value, onChange, suggestions, onQueryChange, placeholder, className, id, }: AutocompleteInputProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=AutocompleteInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutocompleteInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchPanel/AutocompleteInput.tsx"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,WAAW,EACX,aAAa,EACb,WAAgB,EAChB,SAAc,EACd,EAAE,GACH,EAAE,sBAAsB,2CA0GxB"}
@@ -0,0 +1,11 @@
1
+ interface DateRangeInputProps {
2
+ startValue: string;
3
+ endValue: string;
4
+ onStartChange: (value: string) => void;
5
+ onEndChange: (value: string) => void;
6
+ className?: string;
7
+ id?: string;
8
+ }
9
+ export declare function DateRangeInput({ startValue, endValue, onStartChange, onEndChange, className, id, }: DateRangeInputProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=DateRangeInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangeInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchPanel/DateRangeInput.tsx"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,QAAQ,EACR,aAAa,EACb,WAAW,EACX,SAAc,EACd,EAAE,GACH,EAAE,mBAAmB,2CAmCrB"}
@@ -0,0 +1,11 @@
1
+ import { NumberSearchField, SearchFilterValue } from '../../types';
2
+ interface NumberInputProps {
3
+ field: NumberSearchField;
4
+ value: SearchFilterValue;
5
+ onChange: (value: SearchFilterValue) => void;
6
+ className?: string;
7
+ id?: string;
8
+ }
9
+ export declare function NumberInput({ field, value, onChange, className, id }: NumberInputProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=NumberInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchPanel/NumberInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAExE,UAAU,gBAAgB;IACxB,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AA2BD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAc,EAAE,EAAE,EAAE,EAAE,gBAAgB,2CAgK3F"}
@@ -1,11 +1,15 @@
1
- import { LayerConfig, SearchFilterValues } from '../../types';
1
+ import { LayerConfig, SearchFilterValues, SearchFilterValue } from '../../types';
2
2
  export interface SearchPanelProps {
3
3
  layers: LayerConfig[];
4
4
  activeFilters: Record<string, SearchFilterValues>;
5
- onFilterChange: (layerId: string, property: string, value: string | number | undefined) => void;
5
+ onFilterChange: (layerId: string, property: string, value: SearchFilterValue) => void;
6
6
  onClearFilters: (layerId: string) => void;
7
+ autocompleteSuggestions?: Record<string, string[]>;
8
+ onFetchSuggestions?: (layerId: string, property: string, query: string, options?: {
9
+ prefetch?: boolean;
10
+ }) => void;
7
11
  className?: string;
8
12
  hideTitle?: boolean;
9
13
  }
10
- export declare function SearchPanel({ layers, activeFilters, onFilterChange, onClearFilters, className, hideTitle, }: SearchPanelProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function SearchPanel({ layers, activeFilters, onFilterChange, onClearFilters, autocompleteSuggestions, onFetchSuggestions, className, hideTitle, }: SearchPanelProps): import("react/jsx-runtime").JSX.Element;
11
15
  //# sourceMappingURL=SearchPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SearchPanel/SearchPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAe,MAAM,aAAa,CAAC;AAEhF,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAClD,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAChG,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,aAAa,EACb,cAAc,EACd,cAAc,EACd,SAAc,EACd,SAAS,GACV,EAAE,gBAAgB,2CAkIlB"}
1
+ {"version":3,"file":"SearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SearchPanel/SearchPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAA2F,MAAM,aAAa,CAAC;AAK/K,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAClD,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACtF,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACnD,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IAClH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAcD,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,aAAa,EACb,cAAc,EACd,cAAc,EACd,uBAA4B,EAC5B,kBAAkB,EAClB,SAAc,EACd,SAAS,GACV,EAAE,gBAAgB,2CA4KlB"}
@@ -1,4 +1,4 @@
1
- import { S as r } from "../../SearchPanel-B5GPX1gF.js";
1
+ import { S as r } from "../../SearchPanel-DCY01Wa-.js";
2
2
  export {
3
3
  r as SearchPanel
4
4
  };
@@ -0,0 +1,10 @@
1
+ import { OgcApiSource } from '../../types';
2
+ export interface SourceEditorProps {
3
+ value: OgcApiSource;
4
+ onChange: (source: OgcApiSource) => void;
5
+ onTestConnection?: (url: string) => void;
6
+ testStatus?: 'idle' | 'loading' | 'success' | 'error';
7
+ testError?: string;
8
+ }
9
+ export declare function SourceEditor({ value, onChange, onTestConnection, testStatus, testError, }: SourceEditorProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=SourceEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SourceEditor/SourceEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,UAAmB,EACnB,SAAS,GACV,EAAE,iBAAiB,2CAkEnB"}
@@ -0,0 +1,7 @@
1
+ import { OgcApiSource } from '../../types';
2
+ export interface SourceListProps {
3
+ sources: OgcApiSource[];
4
+ onChange: (sources: OgcApiSource[]) => void;
5
+ }
6
+ export declare function SourceList({ sources, onChange }: SourceListProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=SourceList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceList.d.ts","sourceRoot":"","sources":["../../../src/components/SourceEditor/SourceList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CAC7C;AASD,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA6KhE"}
@@ -0,0 +1,5 @@
1
+ export { SourceEditor } from './SourceEditor';
2
+ export type { SourceEditorProps } from './SourceEditor';
3
+ export { SourceList } from './SourceList';
4
+ export type { SourceListProps } from './SourceList';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SourceEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { StyleConfig, FillStyle, LineStyle, CircleStyle } from '../../types';
2
+ export interface StyleEditorProps {
3
+ value: StyleConfig;
4
+ onChange: (style: StyleConfig) => void;
5
+ suggestedType?: 'fill' | 'line' | 'circle' | null;
6
+ }
7
+ export declare const defaultFill: FillStyle;
8
+ export declare const defaultLine: LineStyle;
9
+ export declare const defaultCircle: CircleStyle;
10
+ export declare function StyleEditor({ value, onChange, suggestedType }: StyleEditorProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=StyleEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StyleEditor.d.ts","sourceRoot":"","sources":["../../../src/components/StyleEditor/StyleEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAIlF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC;CACnD;AAED,eAAO,MAAM,WAAW,EAAE,SAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,SAGzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,WAG3B,CAAC;AA4DF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,gBAAgB,2CA0R/E"}
@@ -0,0 +1,3 @@
1
+ export { StyleEditor, defaultFill, defaultLine, defaultCircle } from './StyleEditor';
2
+ export type { StyleEditorProps } from './StyleEditor';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StyleEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACrF,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { UIConfig } from '../../types';
2
+ export interface UIConfigEditorProps {
3
+ value: UIConfig;
4
+ onChange: (config: UIConfig) => void;
5
+ }
6
+ export declare function UIConfigEditor({ value, onChange }: UIConfigEditorProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=UIConfigEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIConfigEditor.d.ts","sourceRoot":"","sources":["../../../src/components/UIConfigEditor/UIConfigEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,QAAQ,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC;CACtC;AAaD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAkDtE"}
@@ -0,0 +1,3 @@
1
+ export { UIConfigEditor } from './UIConfigEditor';
2
+ export type { UIConfigEditorProps } from './UIConfigEditor';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UIConfigEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ViewConfig } from '../../types';
2
+ export interface ViewEditorProps {
3
+ value: ViewConfig;
4
+ onChange: (view: ViewConfig) => void;
5
+ }
6
+ export declare function ViewEditor({ value, onChange }: ViewEditorProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=ViewEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewEditor.d.ts","sourceRoot":"","sources":["../../../src/components/ViewEditor/ViewEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC;AA+BD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA2B9D"}
@@ -0,0 +1,3 @@
1
+ export { ViewEditor } from './ViewEditor';
2
+ export type { ViewEditorProps } from './ViewEditor';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ViewEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -2,11 +2,12 @@ export type PropertyListDensity = 'compact' | 'default';
2
2
  interface PropertyListProps {
3
3
  properties: Record<string, unknown>;
4
4
  fields?: string[];
5
+ labels?: Record<string, string>;
5
6
  maxItems?: number;
6
7
  density?: PropertyListDensity;
7
8
  className?: string;
8
9
  }
9
10
  export declare function formatPropertyValue(value: unknown): string;
10
- export declare function PropertyList({ properties, fields, maxItems, density, className, }: PropertyListProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function PropertyList({ properties, fields, labels, maxItems, density, className, }: PropertyListProps): import("react/jsx-runtime").JSX.Element;
11
12
  export {};
12
13
  //# sourceMappingURL=PropertyList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyList.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/PropertyList.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,UAAU,iBAAiB;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAM1D;AAED,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,MAAM,EACN,QAAQ,EACR,OAAmB,EACnB,SAAc,GACf,EAAE,iBAAiB,2CAiCnB"}
1
+ {"version":3,"file":"PropertyList.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/PropertyList.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,UAAU,iBAAiB;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAM1D;AAED,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAmB,EACnB,SAAc,GACf,EAAE,iBAAiB,2CAiCnB"}
@@ -0,0 +1,7 @@
1
+ export interface ColorPickerProps {
2
+ value: string;
3
+ onChange: (color: string) => void;
4
+ label?: string;
5
+ }
6
+ export declare function ColorPicker({ value, onChange, label }: ColorPickerProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=ColorPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/admin/ColorPicker.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,gBAAgB,2CAavE"}
@@ -0,0 +1,9 @@
1
+ export interface ConfirmDialogProps {
2
+ open: boolean;
3
+ title: string;
4
+ description: string;
5
+ onConfirm: () => void;
6
+ onCancel: () => void;
7
+ }
8
+ export declare function ConfirmDialog({ open, title, description, onConfirm, onCancel, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element | null;
9
+ //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/admin/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAQ,GACT,EAAE,kBAAkB,kDA2CpB"}
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ export interface FormFieldProps {
3
+ label: string;
4
+ error?: string;
5
+ required?: boolean;
6
+ htmlFor?: string;
7
+ children: ReactNode;
8
+ }
9
+ export declare function FormField({ label, error, required, htmlFor, children }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=FormField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/admin/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAmBtF"}
@@ -0,0 +1,7 @@
1
+ export { FormField } from './FormField';
2
+ export type { FormFieldProps } from './FormField';
3
+ export { ColorPicker } from './ColorPicker';
4
+ export type { ColorPickerProps } from './ColorPicker';
5
+ export { ConfirmDialog } from './ConfirmDialog';
6
+ export type { ConfirmDialogProps } from './ConfirmDialog';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -16,4 +16,28 @@ export { Legend } from './Legend';
16
16
  export type { LegendProps } from './Legend';
17
17
  export { SearchPanel } from './SearchPanel';
18
18
  export type { SearchPanelProps } from './SearchPanel';
19
+ export { FormField, ColorPicker, ConfirmDialog } from './admin';
20
+ export type { FormFieldProps, ColorPickerProps, ConfirmDialogProps } from './admin';
21
+ export { SourceEditor, SourceList } from './SourceEditor';
22
+ export type { SourceEditorProps, SourceListProps } from './SourceEditor';
23
+ export { CollectionBrowser } from './CollectionBrowser';
24
+ export type { CollectionBrowserProps } from './CollectionBrowser';
25
+ export { StyleEditor, defaultFill, defaultLine, defaultCircle } from './StyleEditor';
26
+ export type { StyleEditorProps } from './StyleEditor';
27
+ export { LegendEntryEditor, LegendEditor } from './LegendEditor';
28
+ export type { LegendEntryEditorProps, LegendEditorProps } from './LegendEditor';
29
+ export { SearchFieldEditor, SearchFieldList } from './SearchFieldEditor';
30
+ export type { SearchFieldEditorProps, SearchFieldListProps } from './SearchFieldEditor';
31
+ export { PropertyDisplayEditor } from './PropertyDisplayEditor';
32
+ export type { PropertyDisplayEditorProps } from './PropertyDisplayEditor';
33
+ export { LayerEditor, LayerList } from './LayerEditor';
34
+ export type { LayerEditorProps, LayerListProps } from './LayerEditor';
35
+ export { BasemapEditor, BasemapList } from './BasemapEditor';
36
+ export type { BasemapEditorProps, BasemapListProps } from './BasemapEditor';
37
+ export { UIConfigEditor } from './UIConfigEditor';
38
+ export type { UIConfigEditorProps } from './UIConfigEditor';
39
+ export { ViewEditor } from './ViewEditor';
40
+ export type { ViewEditorProps } from './ViewEditor';
41
+ export { ConfigPreview } from './ConfigPreview';
42
+ export type { ConfigPreviewProps } from './ConfigPreview';
19
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"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"}