@ogc-maps/storybook-components 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/dist/{BasemapSwitcher-BW7lyZ2Y.js → BasemapSwitcher-DuqVusX0.js} +9 -9
- package/dist/CollapsibleControl-BTIkiTmU.js +60 -0
- package/dist/CoordinateDisplay-BblQ34mS.js +154 -0
- package/dist/{ExportButton-Ck1dESnc.js → ExportButton-C8hCCsav.js} +7 -7
- package/dist/{FeatureDetailPanel-CkFpdEKW.js → FeatureDetailPanel-DgCHiNi9.js} +16 -16
- package/dist/FeatureTooltip-DHjMZC0u.js +49 -0
- package/dist/{LayerPanel-SCdJ8948.js → LayerPanel-BkDbZ66Z.js} +23 -23
- package/dist/Legend-CvBd-v0n.js +285 -0
- package/dist/PropertyList-0EonV_BQ.js +33 -0
- package/dist/SearchPanel-DIb7aYVs.js +725 -0
- package/dist/components/BasemapSwitcher/index.js +1 -1
- package/dist/components/CollapsibleControl/CollapsibleControl.d.ts +4 -1
- package/dist/components/CollapsibleControl/CollapsibleControl.d.ts.map +1 -1
- package/dist/components/CollapsibleControl/index.js +1 -1
- package/dist/components/CompassControl/CompassControl.d.ts +19 -0
- package/dist/components/CompassControl/CompassControl.d.ts.map +1 -0
- package/dist/components/CompassControl/index.d.ts +3 -0
- package/dist/components/CompassControl/index.d.ts.map +1 -0
- package/dist/components/CoordinateDisplay/CoordinateDisplay.d.ts +35 -4
- package/dist/components/CoordinateDisplay/CoordinateDisplay.d.ts.map +1 -1
- package/dist/components/CoordinateDisplay/CoordinateDisplay.test.d.ts +2 -0
- package/dist/components/CoordinateDisplay/CoordinateDisplay.test.d.ts.map +1 -0
- package/dist/components/CoordinateDisplay/index.d.ts +1 -1
- package/dist/components/CoordinateDisplay/index.d.ts.map +1 -1
- package/dist/components/CoordinateDisplay/index.js +5 -3
- package/dist/components/Cql2FilterEditor/Cql2FilterEditor.d.ts +9 -0
- package/dist/components/Cql2FilterEditor/Cql2FilterEditor.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/Cql2Preview.d.ts +6 -0
- package/dist/components/Cql2FilterEditor/Cql2Preview.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/FilterRuleEditor.d.ts +9 -0
- package/dist/components/Cql2FilterEditor/FilterRuleEditor.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/FilterRuleGroupEditor.d.ts +10 -0
- package/dist/components/Cql2FilterEditor/FilterRuleGroupEditor.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/FilterValueInput.d.ts +12 -0
- package/dist/components/Cql2FilterEditor/FilterValueInput.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/ParameterizableField.d.ts +30 -0
- package/dist/components/Cql2FilterEditor/ParameterizableField.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/index.d.ts +2 -0
- package/dist/components/Cql2FilterEditor/index.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/operatorOptions.d.ts +9 -0
- package/dist/components/Cql2FilterEditor/operatorOptions.d.ts.map +1 -0
- package/dist/components/Cql2FilterEditor/styles.d.ts +3 -0
- package/dist/components/Cql2FilterEditor/styles.d.ts.map +1 -0
- package/dist/components/ExportButton/index.js +1 -1
- package/dist/components/ExportModal/ExportModal.d.ts +20 -1
- package/dist/components/ExportModal/ExportModal.d.ts.map +1 -1
- package/dist/components/ExportModal/index.d.ts +1 -1
- package/dist/components/ExportModal/index.d.ts.map +1 -1
- package/dist/components/FeatureDetailPanel/index.js +1 -1
- package/dist/components/FeatureTooltip/index.js +1 -1
- package/dist/components/GlobalSearchBar/GlobalSearchBar.d.ts +25 -0
- package/dist/components/GlobalSearchBar/GlobalSearchBar.d.ts.map +1 -0
- package/dist/components/GlobalSearchBar/GlobalSearchBar.test.d.ts +2 -0
- package/dist/components/GlobalSearchBar/GlobalSearchBar.test.d.ts.map +1 -0
- package/dist/components/GlobalSearchBar/index.d.ts +3 -0
- package/dist/components/GlobalSearchBar/index.d.ts.map +1 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.d.ts +22 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.d.ts.map +1 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.test.d.ts +2 -0
- package/dist/components/GlobalSearchConfigEditor/GlobalSearchConfigEditor.test.d.ts.map +1 -0
- package/dist/components/GlobalSearchConfigEditor/index.d.ts +3 -0
- package/dist/components/GlobalSearchConfigEditor/index.d.ts.map +1 -0
- package/dist/components/ImageryEditor/ImageryEditor.d.ts +0 -1
- package/dist/components/ImageryEditor/ImageryEditor.d.ts.map +1 -1
- package/dist/components/ImageryEditor/index.d.ts +2 -1
- package/dist/components/ImageryEditor/index.d.ts.map +1 -1
- package/dist/components/ImageryPanel/ImageryPanel.d.ts.map +1 -1
- package/dist/components/InfoControl/InfoControl.d.ts +12 -0
- package/dist/components/InfoControl/InfoControl.d.ts.map +1 -0
- package/dist/components/InfoControl/InfoModal.d.ts +16 -0
- package/dist/components/InfoControl/InfoModal.d.ts.map +1 -0
- package/dist/components/InfoControl/index.d.ts +5 -0
- package/dist/components/InfoControl/index.d.ts.map +1 -0
- package/dist/components/LayerEditor/LayerEditor.d.ts +6 -1
- package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -1
- package/dist/components/LayerEditor/LayerList.d.ts +8 -1
- package/dist/components/LayerEditor/LayerList.d.ts.map +1 -1
- package/dist/components/LayerEditor/index.d.ts +1 -1
- package/dist/components/LayerEditor/index.d.ts.map +1 -1
- package/dist/components/LayerPanel/index.js +1 -1
- package/dist/components/Legend/Legend.d.ts +7 -1
- package/dist/components/Legend/Legend.d.ts.map +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/PropertyFilterPanel/PropertyFilterPanel.d.ts +21 -0
- package/dist/components/PropertyFilterPanel/PropertyFilterPanel.d.ts.map +1 -0
- package/dist/components/PropertyFilterPanel/index.d.ts +3 -0
- package/dist/components/PropertyFilterPanel/index.d.ts.map +1 -0
- package/dist/components/QueryPanel/QueryPanel.d.ts +14 -0
- package/dist/components/QueryPanel/QueryPanel.d.ts.map +1 -0
- package/dist/components/QueryPanel/index.d.ts +3 -0
- package/dist/components/QueryPanel/index.d.ts.map +1 -0
- package/dist/components/ResultsDrawer/ResultsDrawer.d.ts +29 -4
- package/dist/components/ResultsDrawer/ResultsDrawer.d.ts.map +1 -1
- package/dist/components/ResultsDrawer/index.d.ts +1 -1
- package/dist/components/ResultsDrawer/index.d.ts.map +1 -1
- package/dist/components/ResultsDrawer/tableUtils.d.ts +11 -0
- package/dist/components/ResultsDrawer/tableUtils.d.ts.map +1 -0
- package/dist/components/ScaleBarControl/ScaleBarControl.d.ts +32 -0
- package/dist/components/ScaleBarControl/ScaleBarControl.d.ts.map +1 -0
- package/dist/components/ScaleBarControl/index.d.ts +2 -0
- package/dist/components/ScaleBarControl/index.d.ts.map +1 -0
- package/dist/components/SearchPanel/SearchPanel.d.ts +15 -2
- package/dist/components/SearchPanel/SearchPanel.d.ts.map +1 -1
- package/dist/components/SearchPanel/index.js +1 -1
- package/dist/components/SelectionPanel/SelectionPanel.d.ts +3 -1
- package/dist/components/SelectionPanel/SelectionPanel.d.ts.map +1 -1
- package/dist/components/SideMenuPanel/SideMenuPanel.d.ts +51 -0
- package/dist/components/SideMenuPanel/SideMenuPanel.d.ts.map +1 -0
- package/dist/components/SideMenuPanel/index.d.ts +3 -0
- package/dist/components/SideMenuPanel/index.d.ts.map +1 -0
- package/dist/components/SourceEditor/SourceEditor.d.ts +3 -1
- package/dist/components/SourceEditor/SourceEditor.d.ts.map +1 -1
- package/dist/components/SourceEditor/SourceList.d.ts +6 -1
- package/dist/components/SourceEditor/SourceList.d.ts.map +1 -1
- package/dist/components/SourceEditor/index.d.ts +1 -1
- package/dist/components/SourceEditor/index.d.ts.map +1 -1
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts +8 -3
- package/dist/components/StyleEditor/DataDrivenColorEditor.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyField.d.ts +6 -3
- package/dist/components/StyleEditor/PropertyField.d.ts.map +1 -1
- package/dist/components/StyleEditor/PropertyGroup.d.ts +6 -3
- package/dist/components/StyleEditor/PropertyGroup.d.ts.map +1 -1
- package/dist/components/StyleEditor/StyleEditor.d.ts +7 -3
- package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -1
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts +13 -2
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -1
- package/dist/components/UserMenu/UserMenu.d.ts +15 -0
- package/dist/components/UserMenu/UserMenu.d.ts.map +1 -0
- package/dist/components/UserMenu/index.d.ts +3 -0
- package/dist/components/UserMenu/index.d.ts.map +1 -0
- package/dist/components/ViewEditor/ViewEditor.d.ts.map +1 -1
- package/dist/components/index.d.ts +26 -5
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/controlIcons.d.ts +10 -0
- package/dist/components/shared/controlIcons.d.ts.map +1 -0
- package/dist/geo-DUdRIR7u.js +9776 -0
- package/dist/hooks/index.d.ts +5 -3
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +68 -59
- package/dist/hooks/useExport.d.ts +7 -7
- package/dist/hooks/useExport.d.ts.map +1 -1
- package/dist/id-C2J6iu8_.js +11 -0
- package/dist/index-BtQnyWPg.js +3718 -0
- package/dist/main.js +13801 -2600
- package/dist/schemas/config.d.ts +2127 -5011
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +35 -24
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +47 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +56 -33
- package/dist/useSelection-BFHYsPvU.js +224 -0
- package/dist/utils/colorPalettes.d.ts +4 -2
- package/dist/utils/colorPalettes.d.ts.map +1 -1
- package/dist/utils/colorThemes.d.ts +12 -0
- package/dist/utils/colorThemes.d.ts.map +1 -0
- package/dist/utils/cql2.d.ts +34 -5
- package/dist/utils/cql2.d.ts.map +1 -1
- package/dist/utils/exportConverters.d.ts +16 -0
- package/dist/utils/exportConverters.d.ts.map +1 -0
- package/dist/utils/geo.d.ts +59 -0
- package/dist/utils/geo.d.ts.map +1 -1
- package/dist/utils/id.d.ts +2 -0
- package/dist/utils/id.d.ts.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +477 -0
- package/dist/utils/ogcApi.d.ts +31 -6
- package/dist/utils/ogcApi.d.ts.map +1 -1
- package/dist/utils/propertyFilters.d.ts +35 -0
- package/dist/utils/propertyFilters.d.ts.map +1 -0
- package/dist/utils/queryParameters.d.ts +23 -0
- package/dist/utils/queryParameters.d.ts.map +1 -0
- package/dist/utils/queryableHelpers.d.ts +4 -0
- package/dist/utils/queryableHelpers.d.ts.map +1 -1
- package/dist/utils/slugify.d.ts +2 -0
- package/dist/utils/slugify.d.ts.map +1 -0
- package/package.json +31 -14
- package/dist/CollapsibleControl-qo9daiD8.js +0 -53
- package/dist/CoordinateDisplay-PxPmVjpm.js +0 -47
- package/dist/FeatureTooltip-DxzN-jnp.js +0 -49
- package/dist/Legend-BLWBzD7Y.js +0 -275
- package/dist/PropertyList-BGXHLVBM.js +0 -33
- package/dist/SearchPanel-4Y12jfuP.js +0 -401
- package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts +0 -2
- package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts.map +0 -1
- package/dist/geo-PA_KiJwy.js +0 -1169
- package/dist/index-Cz_PEKV1.js +0 -3035
- package/dist/schemas/__tests__/config.test.d.ts +0 -2
- package/dist/schemas/__tests__/config.test.d.ts.map +0 -1
- package/dist/utils/__tests__/cql2.test.d.ts +0 -2
- package/dist/utils/__tests__/cql2.test.d.ts.map +0 -1
- package/dist/utils/__tests__/expressionColors.test.d.ts +0 -2
- package/dist/utils/__tests__/expressionColors.test.d.ts.map +0 -1
- package/dist/utils/__tests__/propertyDisplay.test.d.ts +0 -2
- package/dist/utils/__tests__/propertyDisplay.test.d.ts.map +0 -1
- package/dist/utils/__tests__/queryableHelpers.test.d.ts +0 -2
- package/dist/utils/__tests__/queryableHelpers.test.d.ts.map +0 -1
- package/dist/utils/__tests__/wkt.test.d.ts +0 -2
- package/dist/utils/__tests__/wkt.test.d.ts.map +0 -1
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
import { UIConfig } from '../../types';
|
|
1
|
+
import { UIConfig, LayerConfig } from '../../types';
|
|
2
2
|
export interface UIConfigEditorProps {
|
|
3
3
|
value: UIConfig;
|
|
4
4
|
onChange: (config: UIConfig) => void;
|
|
5
|
+
/** Keys that were auto-enabled by the wizard based on config state. */
|
|
6
|
+
autoEnabled?: Set<keyof UIConfig>;
|
|
7
|
+
/**
|
|
8
|
+
* Optional list of layers that have legend configs. When provided, the editor
|
|
9
|
+
* renders a "Legend Order" reorder UI that writes to `value.legendOrder`.
|
|
10
|
+
*/
|
|
11
|
+
layers?: LayerConfig[];
|
|
12
|
+
/** External toggle state for the info control (driven by `info.enabled`). */
|
|
13
|
+
infoEnabled?: boolean;
|
|
14
|
+
/** Callback when the info control toggle changes in the control stack. */
|
|
15
|
+
onInfoEnabledChange?: (enabled: boolean) => void;
|
|
5
16
|
}
|
|
6
|
-
export declare function UIConfigEditor({ value, onChange }: UIConfigEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function UIConfigEditor({ value, onChange, autoEnabled, layers, infoEnabled, onInfoEnabledChange }: UIConfigEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
18
|
//# sourceMappingURL=UIConfigEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIConfigEditor.d.ts","sourceRoot":"","sources":["../../../src/components/UIConfigEditor/UIConfigEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UIConfigEditor.d.ts","sourceRoot":"","sources":["../../../src/components/UIConfigEditor/UIConfigEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAuB,WAAW,EAAgC,MAAM,aAAa,CAAC;AAK5G,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,QAAQ,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,uEAAuE;IACvE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,QAAQ,CAAC,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0EAA0E;IAC1E,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AA0ED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,EAAE,mBAAmB,2CAmc7H"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface UserMenuItem {
|
|
2
|
+
label: string;
|
|
3
|
+
icon?: React.ComponentType<{
|
|
4
|
+
className?: string;
|
|
5
|
+
}>;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
variant?: 'default' | 'danger';
|
|
8
|
+
}
|
|
9
|
+
export interface UserMenuProps {
|
|
10
|
+
username?: string;
|
|
11
|
+
menuItems?: UserMenuItem[];
|
|
12
|
+
onLogout: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function UserMenu({ username, menuItems, onLogout }: UserMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=UserMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserMenu.d.ts","sourceRoot":"","sources":["../../../src/components/UserMenu/UserMenu.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,SAAc,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAkF7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UserMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +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;
|
|
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;AA6CD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA+B9D"}
|
|
@@ -2,33 +2,45 @@ export { BasemapSwitcher } from './BasemapSwitcher';
|
|
|
2
2
|
export type { BasemapSwitcherProps } from './BasemapSwitcher';
|
|
3
3
|
export { CollapsibleControl } from './CollapsibleControl';
|
|
4
4
|
export type { CollapsibleControlProps } from './CollapsibleControl';
|
|
5
|
-
export {
|
|
5
|
+
export { CompassControl } from './CompassControl';
|
|
6
|
+
export type { CompassControlProps } from './CompassControl';
|
|
7
|
+
export { CoordinateDisplay, formatDecimal, formatDMS, formatDDM, } from './CoordinateDisplay';
|
|
6
8
|
export type { CoordinateDisplayProps, CoordinateFormatOption, } from './CoordinateDisplay';
|
|
7
9
|
export { ExportButton } from './ExportButton';
|
|
8
10
|
export type { ExportButtonProps } from './ExportButton';
|
|
9
11
|
export { ExportModal } from './ExportModal';
|
|
10
|
-
export type { ExportModalProps, ExportFormatOption, ExportRequest, ExportableLayer } from './ExportModal';
|
|
12
|
+
export type { ExportModalProps, ExportFormatOption, ExportRequest, ExportableLayer, ExportMode, PdfExportOptions, } from './ExportModal';
|
|
11
13
|
export { FeatureDetailPanel } from './FeatureDetailPanel';
|
|
12
14
|
export type { FeatureDetailPanelProps } from './FeatureDetailPanel';
|
|
13
15
|
export { FeatureTooltip } from './FeatureTooltip';
|
|
14
16
|
export type { FeatureTooltipProps } from './FeatureTooltip';
|
|
15
17
|
export { ImageryPanel } from './ImageryPanel';
|
|
16
18
|
export type { ImageryPanelProps } from './ImageryPanel';
|
|
19
|
+
export { InfoControl, InfoModal } from './InfoControl';
|
|
20
|
+
export type { InfoControlProps, InfoModalProps } from './InfoControl';
|
|
17
21
|
export { LayerPanel } from './LayerPanel';
|
|
18
22
|
export type { LayerPanelProps } from './LayerPanel';
|
|
19
23
|
export { Legend } from './Legend';
|
|
20
24
|
export type { LegendProps } from './Legend';
|
|
25
|
+
export { ScaleBarControl, computeMetricScale, computeImperialScale, metersPerPixel, } from './ScaleBarControl';
|
|
26
|
+
export type { ScaleBarControlProps, ScaleBarUnit } from './ScaleBarControl';
|
|
27
|
+
export { SideMenuPanel, SideMenuToggle } from './SideMenuPanel';
|
|
28
|
+
export type { SideMenuPanelProps, SideMenuPanelItem, SideMenuToggleProps, } from './SideMenuPanel';
|
|
21
29
|
export { MeasurePanel } from './MeasurePanel';
|
|
22
30
|
export type { MeasurePanelProps } from './MeasurePanel';
|
|
23
31
|
export { SelectionPanel } from './SelectionPanel';
|
|
24
32
|
export type { SelectionPanelProps } from './SelectionPanel';
|
|
25
33
|
export { SearchPanel } from './SearchPanel';
|
|
26
34
|
export type { SearchPanelProps } from './SearchPanel';
|
|
35
|
+
export { PropertyFilterPanel } from './PropertyFilterPanel';
|
|
36
|
+
export type { PropertyFilterPanelProps } from './PropertyFilterPanel';
|
|
37
|
+
export { GlobalSearchBar } from './GlobalSearchBar';
|
|
38
|
+
export type { GlobalSearchBarProps, FeatureMatch as GlobalSearchFeatureMatch, GroupedResults as GlobalSearchGroupedResults, } from './GlobalSearchBar';
|
|
27
39
|
export { ResultsDrawer } from './ResultsDrawer';
|
|
28
|
-
export type { ResultsDrawerProps } from './ResultsDrawer';
|
|
40
|
+
export type { ResultsDrawerProps, ResultsDrawerTab, ResultsDrawerSort, SortDirection, } from './ResultsDrawer';
|
|
29
41
|
export { FormField, ColorPicker, ConfirmDialog, CollapsibleSection } from './admin';
|
|
30
42
|
export type { FormFieldProps, ColorPickerProps, ConfirmDialogProps, CollapsibleSectionProps } from './admin';
|
|
31
|
-
export { SourceEditor, SourceList } from './SourceEditor';
|
|
43
|
+
export { SourceEditor, SourceList, isFeatureSource, isSourceType } from './SourceEditor';
|
|
32
44
|
export type { SourceEditorProps, SourceListProps } from './SourceEditor';
|
|
33
45
|
export { CollectionBrowser } from './CollectionBrowser';
|
|
34
46
|
export type { CollectionBrowserProps } from './CollectionBrowser';
|
|
@@ -38,10 +50,12 @@ export { LegendEntryEditor, LegendEditor } from './LegendEditor';
|
|
|
38
50
|
export type { LegendEntryEditorProps, LegendEditorProps } from './LegendEditor';
|
|
39
51
|
export { SearchFieldEditor, SearchFieldList } from './SearchFieldEditor';
|
|
40
52
|
export type { SearchFieldEditorProps, SearchFieldListProps } from './SearchFieldEditor';
|
|
53
|
+
export { GlobalSearchConfigEditor } from './GlobalSearchConfigEditor';
|
|
54
|
+
export type { GlobalSearchConfigEditorProps } from './GlobalSearchConfigEditor';
|
|
41
55
|
export { PropertyDisplayEditor } from './PropertyDisplayEditor';
|
|
42
56
|
export type { PropertyDisplayEditorProps } from './PropertyDisplayEditor';
|
|
43
57
|
export { LayerEditor, LayerList } from './LayerEditor';
|
|
44
|
-
export type { LayerEditorProps, LayerListProps } from './LayerEditor';
|
|
58
|
+
export type { LayerEditorProps, LayerEditorSection, LayerListProps } from './LayerEditor';
|
|
45
59
|
export { ImageryEditor, ImageryList, slugify } from './ImageryEditor';
|
|
46
60
|
export type { ImageryEditorProps, ImageryListProps } from './ImageryEditor';
|
|
47
61
|
export { BasemapEditor, BasemapList } from './BasemapEditor';
|
|
@@ -54,4 +68,11 @@ export { ViewEditor } from './ViewEditor';
|
|
|
54
68
|
export type { ViewEditorProps } from './ViewEditor';
|
|
55
69
|
export { ConfigPreview } from './ConfigPreview';
|
|
56
70
|
export type { ConfigPreviewProps } from './ConfigPreview';
|
|
71
|
+
export { Cql2FilterEditor } from './Cql2FilterEditor';
|
|
72
|
+
export type { Cql2FilterEditorProps } from './Cql2FilterEditor';
|
|
73
|
+
export { QueryPanel } from './QueryPanel';
|
|
74
|
+
export type { QueryPanelProps } from './QueryPanel';
|
|
75
|
+
export { UserMenu } from './UserMenu';
|
|
76
|
+
export type { UserMenuProps, UserMenuItem } from './UserMenu';
|
|
77
|
+
export { CONTROL_ICON_MAP, CONTROL_ICON_NAMES, getControlIcon } from './shared/controlIcons';
|
|
57
78
|
//# 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,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,
|
|
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,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,qBA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YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconType } from 'react-icons';
|
|
2
|
+
/**
|
|
3
|
+
* Map of icon name → component used by `UIConfigEditor` (icon picker) and
|
|
4
|
+
* `MapOverlay` (icon resolution) so admins can pick a custom icon per control.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CONTROL_ICON_MAP: Record<string, IconType>;
|
|
7
|
+
export declare const CONTROL_ICON_NAMES: string[];
|
|
8
|
+
/** Resolve a control icon by name, falling back to `fallback` if not found. */
|
|
9
|
+
export declare function getControlIcon(name: string | undefined, fallback: IconType): IconType;
|
|
10
|
+
//# sourceMappingURL=controlIcons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controlIcons.d.ts","sourceRoot":"","sources":["../../../src/components/shared/controlIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAyB5C;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAsBrD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,EAAkC,CAAC;AAE1E,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAGrF"}
|