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'; import type { IDynamicDataSource } from '@microsoft/sp-dynamic-data'; export interface IDynamicDataWidgetPropertyProps { /** * A unique key of the property pane group field, in which the widget is rendered. */ parentKey: string; /** * Selected source in the data source dropdown */ selectedSource: IDynamicDataSource; /** * 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; } export interface IDynamicDataWidgetPropertyState { /** * Selected property */ selectedPropertyId: string; } //# sourceMappingURL=IDynamicDataWidgetProperty.d.ts.map