arlas-wui-toolkit > "src/app/components/widget/widget.component" > WidgetComponent
Class: WidgetComponent
Hierarchy
WidgetComponent
Implements
OnInit
Index
Constructors
Properties
- arlasExportCsvService
- chartType
- componentParams
- componentType
- contributor
- contributorId
- contributorType
- donutOverlayRef
- graphParam
- groupLength
- highlightItems
- histogramComponent
- indeterminatedItems
- outEvents
- position
- showExportCsv
- showSwimlaneDropDown
- spinnerOptions
- swimSelected
- swimlanes
- translate
Methods
Constructors
constructor
⊕ new WidgetComponent(arlasStartupService: ArlasStartupService, cdr: ChangeDetectorRef
, arlasCollaborativesearchService: ArlasCollaborativesearchService, arlasOverlayService: ArlasOverlayService, translate: TranslateService
, arlasExportCsvService: ArlasExportCsvService): WidgetComponent
Defined in src/app/components/widget/widget.component.ts:105
Parameters:
Name | Type |
---|---|
arlasStartupService | ArlasStartupService |
cdr | ChangeDetectorRef |
arlasCollaborativesearchService | ArlasCollaborativesearchService |
arlasOverlayService | ArlasOverlayService |
translate | TranslateService |
arlasExportCsvService | ArlasExportCsvService |
Returns: WidgetComponent
Properties
arlasExportCsvService
● arlasExportCsvService: ArlasExportCsvService
Defined in src/app/components/widget/widget.component.ts:111
chartType
● chartType: ChartType
= ChartType
Defined in src/app/components/widget/widget.component.ts:44
componentParams
● componentParams: any
Defined in src/app/components/widget/widget.component.ts:69
componentType
● componentType: any
Defined in src/app/components/widget/widget.component.ts:58
contributor
● contributor: any
Defined in src/app/components/widget/widget.component.ts:47
contributorId
● contributorId: string
Defined in src/app/components/widget/widget.component.ts:64
contributorType
● contributorType: any
Defined in src/app/components/widget/widget.component.ts:46
donutOverlayRef
● donutOverlayRef: ArlasOverlayRef
Defined in src/app/components/widget/widget.component.ts:55
graphParam
● graphParam: any
Defined in src/app/components/widget/widget.component.ts:53
groupLength
● groupLength: number
Defined in src/app/components/widget/widget.component.ts:94
highlightItems
● highlightItems: Set
<string
> = new Set
Defined in src/app/components/widget/widget.component.ts:51
histogramComponent
● histogramComponent: HistogramComponent
Defined in src/app/components/widget/widget.component.ts:105
indeterminatedItems
● indeterminatedItems: Set
<string
> = new Set
Defined in src/app/components/widget/widget.component.ts:50
outEvents
● outEvents: Subject
<object
> = new Subject<{ origin: string, event: string, data?: any }>()
Defined in src/app/components/widget/widget.component.ts:102
position
● position: number
Defined in src/app/components/widget/widget.component.ts:88
showExportCsv
● showExportCsv: boolean
= false
Defined in src/app/components/widget/widget.component.ts:75
showSwimlaneDropDown
● showSwimlaneDropDown: boolean
Defined in src/app/components/widget/widget.component.ts:52
spinnerOptions
● spinnerOptions: SpinnerOptions
Defined in src/app/components/widget/widget.component.ts:82
swimSelected
● swimSelected: any
Defined in src/app/components/widget/widget.component.ts:48
swimlanes
● swimlanes: any
[] = []
Defined in src/app/components/widget/widget.component.ts:49
translate
● translate: TranslateService
Defined in src/app/components/widget/widget.component.ts:111
Methods
changeSwimlane
▸ changeSwimlane(swimlaneName: any
): void
Defined in src/app/components/widget/widget.component.ts:159
Parameters:
Name | Type | Description |
---|---|---|
swimlaneName | any |
The name of swimlane. |
Returns: void
emitEvent
▸ emitEvent(source: string
, event: string
, data: any
): void
Defined in src/app/components/widget/widget.component.ts:181
Parameters:
Name | Type | Description |
---|---|---|
source | string |
Contributor identifier |
event | string |
Name of the event |
data | any |
Emitted data |
Returns: void
exportCsv
▸ exportCsv(contributor: Contributor
, stayAtFirstLevel: boolean
, componentType: string
, contributorType?: string
): void
Defined in src/app/components/widget/widget.component.ts:185
Parameters:
Name | Type |
---|---|
contributor | Contributor |
stayAtFirstLevel | boolean |
componentType | string |
Optional contributorType |
string |
Returns: void
ngOnInit
▸ ngOnInit(): void
Defined in src/app/components/widget/widget.component.ts:142
Returns: void
showDonutTooltip
▸ showDonutTooltip(tooltip: ARLASDonutTooltip
, e: ElementRef
): void
Defined in src/app/components/widget/widget.component.ts:114
Parameters:
Name | Type |
---|---|
tooltip | ARLASDonutTooltip |
e | ElementRef |
Returns: void