UNPKG

@omnia/fx-models

Version:
29 lines (28 loc) 1.5 kB
import { Guid, GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models"; import { LockStatusExcludeChildren, PropertyLockStatusType } from "../../../ux"; import { PropertyDefinition, PropertyDisplaySettingsBase } from "../PropertyDefinition"; import { PropertyValue } from "../PropertyValue"; export type SharePointTermSetPropertySetupSettings = { termSetId: GuidValue; }; export type SharePointTermSetPropertyDisplaySettings = { locks?: PropertyLockStatusType<LockStatusExcludeChildren<Omit<SharePointTermSetPropertyDisplaySettings, "locks">, "label">>; textOnly?: boolean; } & PropertyDisplaySettingsBase; export type SharePointTermSetPropertyEditorSettings = { locks?: PropertyLockStatusType<Omit<SharePointTermSetPropertyEditorSettings, "locks">>; multiple?: boolean; required?: boolean; }; export declare const sharePointTermSetPropertyDefinitionId: Guid; export declare class SharePointTermSetPropertyValue extends PropertyValue { termIds: Guid[]; constructor(termIds: Guid[]); containValue(other: SharePointTermSetPropertyValue): boolean; appendValue(other: SharePointTermSetPropertyValue): SharePointTermSetPropertyValue; isEmpty(): boolean; } export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertySetupSettings> { id: Guid; typeName: string; }