platform-components-ng/projects/platform-components-lib/src/lib/components/authoring/content-automation-rules/content-automation-rules-component/qpp-content-automation-rules.component.ts
| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | qpp-content-automation-rules |
| templateUrl | ./qpp-content-automation-rules.component.html |
Properties |
Methods |
Inputs |
Outputs |
constructor(contentAutomationRulesService: QppContentAutomationRulesService)
|
||||||
|
Parameters :
|
| activeRuleId |
Type : string | null
|
Default value : null
|
| disableSearch |
Default value : true
|
| documentMetaInfo |
Type : QppMetaInfo
|
| documentView |
Default value : false
|
| rules |
Type : ContentAutomationRule[]
|
Default value : []
|
| documentViewChange |
Type : EventEmitter
|
| executingRulesState |
Type : EventEmitter
|
| rulesChange |
Type : EventEmitter
|
| searchResults |
Type : EventEmitter
|
| evaluateRunRulesBtn |
evaluateRunRulesBtn()
|
|
Evaluates the state of the run rules button and updates the search disable flag.
Returns :
void
void |
| Async executeSearch |
executeSearch()
|
|
Executes search queries for content automation rules and emits the results.
Returns :
Promise<void>
A Promise that resolves when all search operations are complete |
| ngOnChanges | ||||||||
ngOnChanges(changes: SimpleChanges)
|
||||||||
|
Handles changes to input properties.
Parameters :
Returns :
void
void |
| onMetaUpdate | ||||||||
onMetaUpdate(rule: ContentAutomationRule)
|
||||||||
|
Handle meta update event
Parameters :
Returns :
void
void |
| tabChangeHandler | ||||||||
tabChangeHandler(event: any)
|
||||||||
|
Handles tab change events and updates the active tab index.
Parameters :
Returns :
void
void |
| toggleDocumentView | ||||||||
toggleDocumentView(value: boolean)
|
||||||||
|
Toggles the document view state and emits the change.
Parameters :
Returns :
void
void |
| activeTabIndex |
Type : number
|
Default value : 1
|
| entities |
Type : Entity[]
|
Default value : []
|
| flatRulesArray |
Type : ContentAutomationRule[]
|
Default value : []
|
| isSearchExpanded |
Default value : true
|