@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
19 lines (18 loc) • 818 B
TypeScript
import GirafeHTMLElement from '../../../base/GirafeHTMLElement';
import Feature from 'ol/Feature';
import OgcApiFeaturesManager from '../../../tools/ogcapi/ogcapifeaturesmanager';
import OgcApiFeaturesSchema from '../../../tools/ogcapi/ogcapifeaturesschema';
export default class EditFromComponent extends GirafeHTMLElement {
template: () => import("uhtml").Hole;
oapifManager: OgcApiFeaturesManager;
featureSchema?: OgcApiFeaturesSchema;
feature?: Feature;
constructor();
setSchema(schema: OgcApiFeaturesSchema): void;
setFeature(feature: Feature | undefined): void;
getInputType(attributeName: string): "number" | "text";
getCurrentValue(attrName: string): any;
valid(): boolean;
getFormValues(): Record<string, string | number | boolean | null>;
private resetForm;
}