@o3r/rules-engine
Version:
This module provides a rule engine that can be executed on your Otter application to customize your application (translations, placeholders and configs) based on a json file generated by your CMS.
24 lines • 1.18 kB
TypeScript
import type { TopLevelCondition } from '../../../engine';
import * as i0 from "@angular/core";
export declare class RuleConditionPresComponent {
private _condition?;
/**
* Left hand operator as it will be displayed in the template.
* In the case of a fact with a json path, will resolve the whole fact path, else will only display the value
*/
lhs: string;
/**
* Right hand operator as it will be displayed in the template.
* In the case of a fact with a json path, will resolve the whole fact path, else will only display the value
*/
rhs: string | undefined;
/**
* Rule condition that will be flattened by the component setter
*/
set condition(condition: TopLevelCondition | undefined);
get condition(): TopLevelCondition | undefined;
private getOperandName;
static ɵfac: i0.ɵɵFactoryDeclaration<RuleConditionPresComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RuleConditionPresComponent, "o3r-rule-condition-pres", never, { "condition": { "alias": "condition"; "required": false; }; }, {}, never, never, true, never>;
}
//# sourceMappingURL=rule-condition-pres.component.d.ts.map