@redus/georedus-ui 0.1.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/CHANGELOG.md +19 -0
- package/README.md +1 -0
- package/dist/DevControls/importViewSpecsFromCsv/index.d.ts +6 -0
- package/dist/DevWebWorker/WorkerDemo.d.ts +2 -0
- package/dist/DevWebWorker/math.worker.d.ts +1 -0
- package/dist/DialogSystem/index.d.ts +4 -0
- package/dist/GeoReDUS/GeoReDUS.d.ts +2 -0
- package/dist/GeoReDUS/index.d.ts +1 -0
- package/dist/GeoReDUS/util.d.ts +6 -0
- package/dist/GeoReDUS/viewConfReducer.d.ts +25 -0
- package/dist/GeoReDUSLogo/GeoReDUSLogo.d.ts +1 -0
- package/dist/GeoReDUSLogo/GeoReDUSLogoSymbol.d.ts +1 -0
- package/dist/GeoReDUSLogo/GeoReDUSLogoText.d.ts +1 -0
- package/dist/GeoReDUSLogo/index.d.ts +3 -0
- package/dist/GeoReDUSWorker/GeoReDUSWorker.d.ts +1 -0
- package/dist/GeoReDUSWorker/GeoReDUSWorker.worker.d.ts +1 -0
- package/dist/GeoReDUSWorker/index.d.ts +1 -0
- package/dist/GeoReDUSWorker/methods/dissolveAreasPreservingIsolated.d.ts +1 -0
- package/dist/InputSystem/Inputs/GeoFile/GeoFile.d.ts +1 -0
- package/dist/InputSystem/Inputs/GeoFile/setupGdal.d.ts +5 -0
- package/dist/InputSystem/index.d.ts +1 -0
- package/dist/LeftPanel/LeftPanel.d.ts +10 -0
- package/dist/LeftPanel/SharePanel.d.ts +5 -0
- package/dist/LeftPanel/index.d.ts +1 -0
- package/dist/Markdown/index.d.ts +1 -0
- package/dist/ViewControl/CollapsibleContent.d.ts +2 -0
- package/dist/ViewControl/ViewConfTabs.d.ts +6 -0
- package/dist/ViewControl/ViewControl.d.ts +11 -0
- package/dist/ViewControl/index.d.ts +1 -0
- package/dist/ViewLayoutPopover/ViewLayoutControl.d.ts +5 -0
- package/dist/ViewLayoutPopover/ViewLayoutPopover.d.ts +6 -0
- package/dist/ViewLayoutPopover/index.d.ts +1 -0
- package/dist/ViewMenu/ViewMenu.d.ts +9 -0
- package/dist/ViewMenu/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +8314 -0
- package/dist/viewSpecs/constants.d.ts +1 -0
- package/dist/viewSpecs/index.d.ts +3 -0
- package/dist/viewSpecs/parseViewSpec.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_censo_2010_2022/index.d.ts +285 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/boolean_categorical.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/categorical.d.ts +11 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/index.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/numerical_choropleth.d.ts +12 -0
- package/dist/viewSpecs/presets/cem_escolas_2022/numerical_size.d.ts +9 -0
- package/dist/viewSpecs/presets/cem_saude_2024/boolean_categorical.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_saude_2024/categorical.d.ts +12 -0
- package/dist/viewSpecs/presets/cem_saude_2024/index.d.ts +1 -0
- package/dist/viewSpecs/presets/cem_saude_2024/numerical_choropleth.d.ts +10 -0
- package/dist/viewSpecs/presets/cem_saude_2024/numerical_size.d.ts +9 -0
- package/dist/viewSpecs/presets/index.d.ts +3 -0
- package/dist/viewSpecs/resolveView/customExpr.d.ts +12 -0
- package/dist/viewSpecs/resolveView/index.d.ts +1 -0
- package/dist/viewSpecs/resolveView/resolveExpr.d.ts +10 -0
- package/dist/viewSpecs/resolveView/resolveView.d.ts +12 -0
- package/dist/viewSpecs/resolveViewSpecs.d.ts +10 -0
- package/dist/viewSpecs/types.d.ts +41 -0
- package/dist/viewSpecs/util/BASE_MAP_LAYERS.d.ts +394 -0
- package/dist/viewSpecs/util/colorSchemes.d.ts +14 -0
- package/dist/viewSpecs/util/downloadResolver.d.ts +9 -0
- package/dist/viewSpecs/util/filter.d.ts +4 -0
- package/dist/viewSpecs/util/index.d.ts +49 -0
- package/dist/viewSpecs/util/setupVariants.d.ts +5 -0
- package/package.json +66 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @orioro/template-react
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- move georedus-related packages to isolated repo
|
|
8
|
+
|
|
9
|
+
## 0.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix changeset release with yarn
|
|
14
|
+
|
|
15
|
+
## 0.0.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- f26720d: Initialize package version control using changeset
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Template react lib
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function importViewSpecsFromCsv(dialogs: any): Promise<typeof CANCELLED | Record<string, any>[]>;
|
|
2
|
+
export namespace COLLECTION_SCHEMAS {
|
|
3
|
+
export { ibge_malha_br_setor_censitario_2010 };
|
|
4
|
+
export { ibge_malha_br_setor_censitario_2022 };
|
|
5
|
+
}
|
|
6
|
+
import { CANCELLED } from '@orioro/react-ui-core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GeoReDUS";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ItemList } from '@orioro/react-sortable';
|
|
2
|
+
type ViewConf = {
|
|
3
|
+
id: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
type State = {
|
|
7
|
+
byId: Record<string, ViewConf>;
|
|
8
|
+
layout: ItemList[];
|
|
9
|
+
};
|
|
10
|
+
type Action = {
|
|
11
|
+
type: 'SET_VIEW';
|
|
12
|
+
payload: {
|
|
13
|
+
viewConf: ViewConf;
|
|
14
|
+
layoutIndex?: number;
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
17
|
+
type: 'DEACTIVATE_VIEW';
|
|
18
|
+
payload: string;
|
|
19
|
+
} | {
|
|
20
|
+
type: 'SET_LAYOUT';
|
|
21
|
+
payload: ItemList[];
|
|
22
|
+
};
|
|
23
|
+
export declare function viewConfReducer(state: State, action: Action): State;
|
|
24
|
+
export declare function viewConfReducerInitialState(initialState: any): State;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function GeoReDUSLogo(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function GeoReDUSLogoSymbol(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function GeoReDUSLogoText(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GeoReDUSWorker: import("comlink").Remote<unknown> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GeoReDUSWorker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dissolveAreasPreservingIsolated(geojson: any): import("geojson").FeatureCollection<import("geojson").Point, import("geojson").GeoJsonProperties>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function GeoFile(props: any): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function InputProvider(props: any): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function LeftPanel({ viewConfState, viewConfDispatch, viewSpecs, resolvedViews, open, onSetOpen, syncedMapsRef, mapContainerRef, }: {
|
|
2
|
+
viewConfState: any;
|
|
3
|
+
viewConfDispatch: any;
|
|
4
|
+
viewSpecs: any;
|
|
5
|
+
resolvedViews: any;
|
|
6
|
+
open: any;
|
|
7
|
+
onSetOpen: any;
|
|
8
|
+
syncedMapsRef: any;
|
|
9
|
+
mapContainerRef: any;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LeftPanel";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function Markdown(props: any): import("react").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as Collapsible from '@radix-ui/react-collapsible';
|
|
2
|
+
export declare const CollapsibleContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Collapsible.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<Collapsible.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function ViewControl({ textSearch, viewSpec, viewConf, resolvedView, onSetView, onDeactivateView, configurable, path, style, }: {
|
|
2
|
+
textSearch: any;
|
|
3
|
+
viewSpec: any;
|
|
4
|
+
viewConf: any;
|
|
5
|
+
resolvedView: any;
|
|
6
|
+
onSetView: any;
|
|
7
|
+
onDeactivateView: any;
|
|
8
|
+
configurable?: boolean | undefined;
|
|
9
|
+
path?: null | undefined;
|
|
10
|
+
style: any;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ViewControl";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ViewLayoutPopover";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function ViewMenu({ viewSpecs, viewConfState, resolvedViews, onSetView, onDeactivateView, style, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
viewSpecs: any;
|
|
4
|
+
viewConfState: any;
|
|
5
|
+
resolvedViews: any;
|
|
6
|
+
onSetView: any;
|
|
7
|
+
onDeactivateView: any;
|
|
8
|
+
style: any;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ViewMenu";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GeoReDUS';
|