import type { DynamicDataProvider, DynamicProperty } from '@microsoft/sp-component-base'; import type { IPropertyPaneDynamicFieldProps } from '../../propertyPaneFields/propertyPaneDynamicField/IPropertyPaneDynamicField'; import type { IPropertyPaneDynamicFieldSetProps } from '../../propertyPaneFields/propertyPaneDynamicFieldSet/IPropertyPaneDynamicFieldSet'; import type { PropertyPaneFieldType } from '../../propertyPaneFields/propertyPaneField/IPropertyPaneField'; import type { IDynamicDataWidgetEntry } from '../dynamicDataWidgetEntry/IDynamicDataWidgetEntry'; /** * @internal */ export interface IDynamicDataWidgetProps { /** * A unique key of the property pane group field, in which the widget is rendered. */ parentKey: string; /** * The Dynamic Data provider for the component. */ dynamicDataProvider: DynamicDataProvider; /** * Entries on the widget. */ entries: IDynamicDataWidgetEntry[]; /** * Callback when the dynamic data changes on the widget. */ onChange: (targetProperty: string, dynamicProperty: DynamicProperty) => void; /** * Type of the field for which the widget is being constructed. */ type: PropertyPaneFieldType.DynamicField | PropertyPaneFieldType.DynamicFieldSet; /** * Properties associated with the field. */ fieldProperties: IPropertyPaneDynamicFieldProps | IPropertyPaneDynamicFieldSetProps; } //# sourceMappingURL=IDynamicDataWidget.d.ts.map