Skip to content

Documentation / @geoverse/vue / GvAttributeForm

Variable: GvAttributeForm

ts
const GvAttributeForm: DefineComponent<ExtractPropTypes<{
  declared: {
     default: undefined;
     type: PropType<FieldSchema>;
  };
  featureId: {
     default: null;
     type: PropType<string | null>;
  };
  session: {
     required: true;
     type: PropType<EditSession>;
  };
}>, () => 
  | VNode<RendererNode, RendererElement, {
[key: string]: any;
}>
  | VNode<RendererNode, RendererElement, {
[key: string]: any;
}>[], {
}, {
}, {
}, ComponentOptionsMixin, ComponentOptionsMixin, {
  saved: () => true;
}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{
  declared: {
     default: undefined;
     type: PropType<FieldSchema>;
  };
  featureId: {
     default: null;
     type: PropType<string | null>;
  };
  session: {
     required: true;
     type: PropType<EditSession>;
  };
}>, {
  saved: () => true;
}>, {
  declared: FieldSchema;
  featureId: string | null;
}, {
}, {
}, {
}, string, ComponentProvideOptions, true, {
}, any>;

Defined in: components/attributes.ts:81

按 schema 渲染属性表单,保存触发可撤销的 SetProperties。