platform-components-ng/projects/platform-components-lib/src/lib/components/meta/qpp-meta-pane/qpp-meta-attribute/qpp-meta-attribute.component.ts
Qpp meta attribue
| encapsulation | ViewEncapsulation.None |
| selector | qpp-meta-attribute |
| styleUrls | qpp-meta-attribute.component.scss |
| templateUrl | qpp-meta-attribute.component.html |
constructor(dialogService: QppDialogService, qppErrorMessageService: QppErrorMessageService, cdr: ChangeDetectorRef, ele: ElementRef)
|
|||||||||||||||
|
Parameters :
|
| disableLockAction |
Type : boolean
|
| hasEditPrivilege |
Type : boolean
|
| metaInfo |
Type : QppMetaInfo
|
| metaMoreActions |
Type : []
|
| newDocument |
Type : boolean
|
| primaryMetaForCollection |
Type : string
|
| addContentVariable |
Type : EventEmitter
|
| metaMoreActionEmit |
Type : EventEmitter
|
| showAssetPicker |
Type : EventEmitter
|
| showBlockPicker |
Type : EventEmitter
|
| updated |
Type : EventEmitter
|
| addContentVariableAction | ||||||||
addContentVariableAction(_metaInfo: QppMetaInfo)
|
||||||||
|
Add Content Variable Action
Parameters :
Returns :
void
void |
| attributeValueChanged | ||||||||
attributeValueChanged(data: any[])
|
||||||||
|
Attribute value changed
Parameters :
Returns :
void
void |
| clearDateValue |
clearDateValue()
|
|
Clear date value
Returns :
void
void |
| datePickerHandler | ||||||||
datePickerHandler(value: Date)
|
||||||||
|
Date picker handler
Parameters :
Returns :
void
void |
| deleteTagField |
deleteTagField(tag: string, event?: any)
|
|
Delete tag field
Returns :
void
void |
| editField | ||||||
editField(inputFieldContainerEl)
|
||||||
|
Edit field
Parameters :
Returns :
void
void |
| generateSerializeKeyMetaMapping | |||||||||
generateSerializeKeyMetaMapping(data: Array
|
|||||||||
|
Parameters :
Returns :
any
|
| initializeDropdown |
initializeDropdown()
|
|
Initializes a dropdown menu with specific configurations. This method sets a timeout to delay the initialization of the dropdown.
Once the timeout completes, it checks if the necessary elements are present.
If the elements are present, it creates a new instance of the Options:
Returns :
void
|
| isChecked | ||||||
isChecked(value)
|
||||||
|
Is checked
Parameters :
Returns :
boolean
boolean |
| isComplexType | ||||
isComplexType(__option)
|
||||
|
Is complex type
Parameters :
Returns :
boolean
boolean |
| isValueChanged | ||||||
isValueChanged(obj1, obj2)
|
||||||
|
Parameters :
Returns :
boolean
|
| ngOnDestroy |
ngOnDestroy()
|
|
Component life cycle hook
Returns :
void
void |
| Async ngOnInit |
ngOnInit()
|
|
Component life cycle hook
Returns :
any
void |
| onActionClick | ||||||||
onActionClick(action: QppMetaMoreAction)
|
||||||||
|
Handles the click event for a given action. Emits an event with the action and associated meta information.
Parameters :
Returns :
void
void |
| onAssetPickerAttach |
onAssetPickerAttach()
|
|
Returns :
void
|
| onAttributeKeywordsContainerFocus | ||||||||||||||||
onAttributeKeywordsContainerFocus(elem: any, friendlyText: string, metaValue: any)
|
||||||||||||||||
|
On Attribute Keywords Container Focus
Parameters :
Returns :
void
void |
| onAttributeKeywordsContainerFocusOut |
onAttributeKeywordsContainerFocusOut()
|
|
On Attribute Keywords Container Focus Out
Returns :
void
void |
| onBlockPickerAttach |
onBlockPickerAttach()
|
|
Returns :
void
|
| onDateClose |
onDateClose()
|
|
Emit date/date-time/time change on date dialog close.
Returns :
void
void |
| onDropDownChange | ||||||
onDropDownChange(value)
|
||||||
|
On drop down change
Parameters :
Returns :
void
void |
| onDropDownClose |
onDropDownClose()
|
|
Emit or Revert changes on dropdown close
Returns :
void
void |
| onDropDownOpen |
onDropDownOpen()
|
|
On drop down open
Returns :
void
void |
| onInputFieldBlur |
onInputFieldBlur()
|
|
On input field blur
Returns :
void
void |
| onMetaUpdated | ||||||||
onMetaUpdated(metaInfo: QppMetaInfo)
|
||||||||
|
On meta updated
Parameters :
Returns :
void
void |
| onTagFieldBlur |
onTagFieldBlur()
|
|
On tag field blur
Returns :
void
void |
| onTagFocus | ||||||
onTagFocus(elem)
|
||||||
|
Method to handle focus on tag
Parameters :
Returns :
void
void |
| registerEventForEscape |
registerEventForEscape(elem: any, dataType: string)
|
|
Method to register event for escape
Returns :
void
void |
| registerValueChange |
registerValueChange()
|
|
Register value change
Returns :
void
void |
| resetTabIndexes |
resetTabIndexes(event?: any, elem?: any)
|
|
Reset Tabindexes Handler
Returns :
void
void |
| selectBooleanValue | ||||||
selectBooleanValue(value)
|
||||||
|
Select boolean value
Parameters :
Returns :
void
void |
| showAlert |
showAlert()
|
|
Shows alert for value change of readonly field.
Returns :
any
Promise |
| switchToInput | ||||||||
switchToInput(event: any)
|
||||||||
|
Switch to calendar input class handler
Parameters :
Returns :
void
void |
| tagRemoveHandler | ||||||||
tagRemoveHandler(tag: literal type)
|
||||||||
|
Tag remove handler
Parameters :
Returns :
void
void |
| toggleLockAction |
toggleLockAction()
|
|
Toggles the read-only state of the meta information.
If the
Returns :
void
|
| _metaMoreActions |
Type : QppMetaMoreAction[]
|
Default value : []
|
| ASSET_PICKER |
Default value : QppMetaAttributeComponentTypes.ASSET_PICKER
|
| assetPickerComponent |
Type : QppMetaAssetPickerComponent
|
Decorators :
@ViewChild('assetPicker')
|
| BLOCK_PICKER |
Default value : QppMetaAttributeComponentTypes.BLOCK_PICKER
|
| blockPickerComponent |
Type : QppMetaBlockPickerComponent
|
Decorators :
@ViewChild('blockPicker')
|
| dateFieldValue |
Type : any
|
| dateFormat |
Type : string
|
| DOMAIN_VALUE_PICKER |
Default value : QppMetaAttributeComponentTypes.DOMAIN_VALUE_PICKER
|
| domainPickerComponent |
Type : QppMetaDomainPickerComponent
|
Decorators :
@ViewChild('domainPicker')
|
| dropDownConfig |
Type : any
|
| guid |
Default value : uuid.v4()
|
| hoveredItem |
| hoveredKeyword |
| inputFieldId |
Type : string
|
| inputFieldValue |
Type : any
|
| isEditable |
Default value : false
|
| isSameSourceValue |
Type : boolean
|
| isTagFocused |
Default value : false
|
| META_CATEGORY |
Default value : META_CATEGORY
|
| Readonly META_CHANNEL_NAME_ID |
Default value : QppMetaConstants.META_CHANNEL_NAME_ID
|
| metaKeywordEl |
Type : ElementRef
|
Decorators :
@ViewChild('metaKeywordEl')
|
| moreMetaActions |
Type : ElementRef
|
Decorators :
@ViewChild('moreMetaActions')
|
| multipleInputContainer |
Type : ElementRef
|
Decorators :
@ViewChild('multipleInputContainer')
|
| oldRawValue |
Type : any
|
| oldSerializeValue |
Type : any
|
| oldValue |
Type : any
|
| pCalenderElement |
Type : any
|
| primeNgDateFormat |
Type : string
|
| qmaMoreActionsList |
Type : ElementRef
|
Decorators :
@ViewChild('qmaMoreActionsList')
|
| selectedNames |
Type : Array<string>
|
Default value : []
|
| serializeKeyMapping |
Type : literal type
|
Default value : {}
|
| showLoader |
Default value : false
|
| tagData |
Type : TagModel[]
|
| metaMoreActions | ||||||
getmetaMoreActions()
|
||||||
setmetaMoreActions(actions: [])
|
||||||
|
Parameters :
Returns :
void
|