import { BaseFilterEngineProperty, FilterEngineSettings, GuidValue, MultilingualString, OrderBy, PropertyIndexedType, RollupEnums, RollupFilter, RollupFilterValue, RollupOtherTypes, SpacingSettings, TypedFilterEnginePropertyOutput } from "@omnia/fx-models"; import { FormStatus } from "../Form"; import { FormRollupViewComponentSettings } from "./FormRollupBlockViewSettings"; export declare enum FormQueryScopes { Tenant = 1, BusinessProfile = 2, AppInstance = 3 } export interface FormRollupBlockSettings { blockTitle: MultilingualString; querySettings: FormRollupBlockQuerySettings; displaySettings: FormRollupBlockDisplaySettings; pagingSettings: FormRollupPagingSettings; filterEngine: FilterEngineSettings; } export interface FormRollupBlockQuerySettings { queryScope: FormQueryScopes; sources: Array; } export type FormRollupFilter = Omit & { type: PropertyIndexedType | RollupOtherTypes.TextSearches; }; export interface FormRollupQuerySource { filters: Array; } export interface TenantScopedQuery extends FormRollupQuerySource { } export interface BusinessProfileQuery extends FormRollupQuerySource { businessProfileId: GuidValue; } export interface AppInstanceQuery extends FormRollupQuerySource { appInstanceId: GuidValue; } export interface FormRollupBlockDisplaySettings { selectedDisplayView: FormRollupViewRegistrationSettings; orderBy: OrderBy; noResultText?: MultilingualString; spacing?: SpacingSettings; } export interface FormRollupBlockFilterSettings { filters: Array; enableWildcardSearch: boolean; hideFilterByDefault: boolean; } export interface FormRollupPagingSettings { pagingType: RollupEnums.PagingType; itemLimit: number; } export interface FormRollupViewRegistrationSettings { viewRegistrationId: GuidValue; resultRendererComponentId: GuidValue; viewSettings: FormRollupViewComponentSettings; } export interface FormStatusExtendedPropFilterValue extends RollupFilterValue { value: Array; } export interface FormScopeFilterEngineProperty extends BaseFilterEngineProperty { value: Array; type: PropertyIndexedType.Text; showSearchValueBox: boolean; } export interface FormScopeFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput { value: Array; type: PropertyIndexedType.Text; } export interface FormScopePropFilterValue extends RollupFilterValue { value: Array; } export interface FormTypePropFilterValue extends RollupFilterValue { value: Array; } export interface FormStatusFilterEngineProperty extends BaseFilterEngineProperty { value: Array; type: PropertyIndexedType.Number; } export interface FormStatusEnginePropertyOutput extends TypedFilterEnginePropertyOutput { type: PropertyIndexedType.Number; value: Array; sub: FormStatusEnginePropertyOutput[]; }