projects/m2-core/src/lib/shared/ui-components/value/card-rows/component/item-card-row.component.ts
| selector | [card-row] |
| styleUrls | ./item-card-row.component.scss |
| templateUrl | ./item-card-row.component.html |
constructor(elementRef: ElementRef, injector: Injector, ngZone: NgZone, logger: Logger, uiConfigService: UIConfigService, clientConfigService: ClientConfigService, dataReadService: DataReadService, dataEditService: DataEditService, searchService: SearchService, attributeClassifierService: AttributeClassifierService, taxonomyReadService: TaxonomyReadService, propositionsService: PropositionsService, aggregationRowService: AggregationRowService, itemValuesService: ItemValuesService, propertyValueEditService: PropertyValueEditService, subscriptionService: SubscriptionService, globalModalsService: GlobalModalsService, contentCtx?: ContentContext)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| applicationAttributes |
Type : Pair<number | Map<number, ApplicationAttribute[]>>
|
| cardRow |
Type : ItemCardRow | any
|
| cardRowInitIndent |
Type : any
|
Default value : CONSTANTS.CARD_ROW_INIT_INDENT
|
| colWidthRatioInPercent |
Type : number
|
| editModeON |
Type : boolean
|
| selectedUnit |
Type : MeasurementUnit
|
| showEmptyInReadMode |
Type : boolean
|
| version |
Type : number
|
| activateRelation | ||||||
activateRelation(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| checkValues |
checkValues()
|
|
Fake values for empty cells in edit mode
Returns :
void
|
| enrichPropertyValue | ||||||
enrichPropertyValue(newValue: string)
|
||||||
|
Parameters :
Returns :
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| ngOnChanges | ||||||
ngOnChanges(changes: ComponentChanges<ItemCardRowComponent>)
|
||||||
|
Parameters :
Returns :
void
|
| onAddMultipleAggregationClick | ||||||||||||
onAddMultipleAggregationClick(event: MouseEvent, createNewPart)
|
||||||||||||
|
Aggregations
Parameters :
Returns :
void
|
| onAggregationsGroupRowRightClick | ||||||
onAggregationsGroupRowRightClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onAnyValueClick | ||||||
onAnyValueClick(event: MouseEvent)
|
||||||
|
Constraint cell aggregations
Parameters :
Returns :
void
|
| onMultipleValueCreated | ||||||
onMultipleValueCreated(parentRow?: CardRow)
|
||||||
|
Parameters :
Returns :
void
|
| onMultipleValueDeleted | |||||||||
onMultipleValueDeleted(value: PropertyValue | ConstraintTableCell, parentRow?: CardRow)
|
|||||||||
|
Parameters :
Returns :
void
|
| onNamedValueNameCreated | ||||||
onNamedValueNameCreated(attrValueComponent: AttributeValueComponent)
|
||||||
|
Named values
Parameters :
Returns :
void
|
| onNotNullClick | ||||||
onNotNullClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onOpenConstraintTablesClick | ||||||
onOpenConstraintTablesClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onPropertyRowClick | ||||||
onPropertyRowClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onPropositionInputKeyDown | ||||||
onPropositionInputKeyDown(event: KeyboardEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onPropositionSelected | ||||||
onPropositionSelected(proposition: Proposition)
|
||||||
|
Selecting proposition
Parameters :
Returns :
void
|
| onPropositionsInputBlur | ||||||
onPropositionsInputBlur(input: string)
|
||||||
|
Parameters :
Returns :
void
|
| onPropositionsToggleClick | ||||||
onPropositionsToggleClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onRelatedItemNameClick | ||||||
onRelatedItemNameClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onRowTipIconEnter | ||||||
onRowTipIconEnter(event: MouseEvent)
|
||||||
|
Tip icon
Parameters :
Returns :
void
|
| onSetSingleAggregationClick | ||||||||||||
onSetSingleAggregationClick(event: MouseEvent, createNewPart)
|
||||||||||||
|
Parameters :
Returns :
void
|
| onSingleAggregationRowRightClick | ||||||
onSingleAggregationRowRightClick(event: MouseEvent)
|
||||||
|
Context menu
Parameters :
Returns :
void
|
| onUnitSelected | ||||||
onUnitSelected(unit: MeasurementUnit)
|
||||||
|
Parameters :
Returns :
void
|
| openItemInGenerator |
openItemInGenerator(itemId: number, propertyId: number)
|
|
Content related stuff
Returns :
void
|
| Public scrollIntoView | |||||||||
scrollIntoView(expand: boolean, scrollOptions?: boolean | ScrollIntoViewOptions)
|
|||||||||
|
public API
Parameters :
Returns :
void
|
| showPropositions | ||||||
showPropositions(input: string)
|
||||||
|
Parameters :
Returns :
void
|
| showPropositionsImmediately | ||||||
showPropositionsImmediately(input: string)
|
||||||
|
Parameters :
Returns :
void
|
| toggle | ||||||
toggle(event: Event | null)
|
||||||
|
Parameters :
Returns :
void
|
| attributeValueComponents |
Type : QueryList<AttributeValueComponent>
|
Decorators :
@ViewChildren(AttributeValueComponent)
|
| Optional desirableUnitId |
Type : number
|
| Public elementRef |
Type : ElementRef
|
| Optional getPropositionsFn |
Type : function
|
| openRelationsEditorTitle |
Default value : $localize`:@@openRelationsEditorTitle:Открыть взаимосвязи`
|
| Optional postProcessingTitle |
Type : string
|
| propositionsDebounceTime |
Default value : APP_SETTINGS.PROPOSITIONS_DEBOUNCE_IN_MS
|
| propositionsHighlightOnly |
Default value : true
|
| propositionsInput |
Type : HighlightedInputComponent
|
Decorators :
@ViewChild('propositionsInput')
|
| propositionsReloadOnShow |
Default value : true
|
| trackByFn |
Default value : ((index, row: CardRow) => row.id)
|
| Optional valuePropositionsComponent |
Type : ValuePropositionsComponent
|
Decorators :
@ViewChild(ValuePropositionsComponent)
|
| isRelationsEditorAvailable |
getisRelationsEditorAvailable()
|
| areAggregationPropositionsReadonly |
getareAggregationPropositionsReadonly()
|
| showRow |
getshowRow()
|
| showChildren |
getshowChildren()
|
| calculatedEditModeON |
getcalculatedEditModeON()
|
| relatedItemRouterLink |
getrelatedItemRouterLink()
|
| relatedItemQueryParams |
getrelatedItemQueryParams()
|
| rowParentNodeId |
getrowParentNodeId()
|
| rowItemId |
getrowItemId()
|
| rowClassifierId |
getrowClassifierId()
|
| canPostProcess |
getcanPostProcess()
|
| isPostProcessingDisabled |
getisPostProcessingDisabled()
|