/** @packageDocumentation * @module PresentationRules */ import { ConditionContainer } from "../Rule"; import { RequiredSchemaSpecification } from "../SchemasSpecification"; import { ChildNodeSpecification } from "./ChildNodeSpecification"; /** * Defines child node specifications which should only be handled when a condition * is satisfied. * * @public */ export interface SubCondition extends ConditionContainer { /** * Defines a condition for the rule, which needs to be met in order to execute it. Condition * is an [ECExpression]($docs/learning/presentation/ECExpressions.md), which can use * a [limited set of symbols]($docs/learning/presentation/Hierarchies/ECExpressions.md#rule-condition). */ condition?: string; /** * Schema requirements for this rule. The rule is not used if the requirements are not met. * @beta */ requiredSchemas?: RequiredSchemaSpecification[]; /** Nested sub-conditions */ subConditions?: SubCondition[]; /** Child node specifications which are used if condition is satisfied */ specifications?: ChildNodeSpecification[]; } //# sourceMappingURL=SubCondition.d.ts.map