-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insights dependency and documentation improvements (#9815)
- Loading branch information
1 parent
c7592c5
commit 04f82fa
Showing
25 changed files
with
227 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Widget Component | ||
|
||
Base class for all standard and custom form widgets. All widgets must extend this class. | ||
|
||
## Basic Usage | ||
|
||
```ts | ||
import { Component } from '@angular/core'; | ||
import { WidgetComponent } from '@alfresco/adf-core'; | ||
|
||
@Component({ | ||
selector: 'custom-editor', | ||
template: ` | ||
<div style="color: red">Look, I'm a custom editor!</div> | ||
` | ||
}) | ||
export class CustomEditorComponent extends WidgetComponent {} | ||
``` | ||
|
||
## Class members | ||
|
||
### Properties | ||
|
||
| Name | Type | Default value | Description | | ||
|-------|-------|---------------|-------------| | ||
| field | `any` | | field. | | ||
|
||
### Events | ||
|
||
| Name | Type | Description | | ||
|--------------|---------------------|---------------| | ||
| fieldChanged | `EventEmitter<any>` | fieldChanged. | | ||
|
||
## Details | ||
|
||
The `WidgetComponent` is the base class for all standard and custom form widgets. | ||
See the [Form Extensibility and Customisation](../../user-guide/extensibility.md) page for full details about | ||
implementing custom widgets. | ||
|
||
## See also | ||
|
||
- [Extensibility](../../user-guide/extensibility.md) |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../lib/insights/docs/components/analytics-generator.component.md |
35 changes: 0 additions & 35 deletions
35
docs/insights/components/analytics-report-list.component.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../lib/insights/docs/components/analytics-report-list.component.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../lib/insights/docs/components/analytics.component.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../lib/insights/docs/components/diagram.component.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.