UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

20 lines (19 loc) 830 B
import GirafeHTMLElement from '../../../base/GirafeHTMLElement.js'; import Feature from 'ol/Feature.js'; import OgcApiFeaturesSchema from '../../../tools/ogcapi/ogcapifeaturesschema.js'; export default class EditFromComponent extends GirafeHTMLElement { protected templateUrl: string | null; protected styleUrls: string[] | null; template: () => import("uhtml").Hole; 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; protected connectedCallback(): void; }