@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
31 lines (30 loc) • 1.11 kB
TypeScript
import { TsxAllowUnknowProperties, IValidator } from "../..";
import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, GuidValue } from "../../../models";
export interface IEnterprisePropertyPickerProperties {
label?: string;
disabled?: boolean;
filled?: boolean;
hideDetails?: boolean;
multiple?: boolean;
clearable?: boolean;
}
/**Enterprise Property Picker*/
export interface IEnterprisePropertyPicker extends IEnterprisePropertyPickerProperties {
preSelectedPropertyInternalName?: string | Array<string>;
propertyItems?: Array<EnterprisePropertyDefinition>;
externalPropertyItems?: Array<ExternalPropertySelectionItem>;
onChange: (propertyInternalName: string | Array<string>) => void;
requiredWithValidator?: IValidator;
excludedPropertyTypeIds?: GuidValue[];
}
declare global {
namespace VueTsxSupport.JSX {
interface Element {
}
interface ElementClass {
}
interface IntrinsicElements {
"omfx-enterpriseproperty-picker": TsxAllowUnknowProperties<IEnterprisePropertyPicker>;
}
}
}