mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4496] Share dialog enhancements (#4705)
* raise snackbars on unshare errors * remove time from datepicker * update tests * Update en.json * code updates as per review * update docs * bind datetimepicker type attribute * set datetimepicker type by configuration or default * tests * e2e test * update docs * e2e set sharedLinkDateTimePickerType config
This commit is contained in:
committed by
Eugenio Romano
parent
c3b1300d86
commit
99f4b07878
@@ -67,3 +67,17 @@ and passes it to a [Viewer component](../../core/components/viewer.component.md)
|
||||
[allowGoBack]="false">
|
||||
</adf-viewer>
|
||||
```
|
||||
|
||||
## Date and time widget
|
||||
|
||||
Date and time widget for setting the expiration date can be configured to show only the date picker or both date and time piker.
|
||||
By default, the widget will show both date and time picker if `sharedLinkDateTimePickerType` is not present in the app.config.json.
|
||||
Possible values are `'date'` or `'datetime'`
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"sharedLinkDateTimePickerType": 'date'
|
||||
...
|
||||
}
|
||||
```
|
||||
|
@@ -27,6 +27,12 @@ Finds shared links to Content Services items.
|
||||
- _options:_ `any` - Options supported by JS-API
|
||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`NodePaging`](https://github.com/Alfresco/alfresco-js-api/blob/development/src/api/content-rest-api/docs/NodePaging.md)`>` - List of shared links
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| error | `Subject<{ statusCode: number, message: string }>` | Gets emitted upon errors. |
|
||||
|
||||
## Details
|
||||
|
||||
Content Services allows users to generate URLs that can be shared with
|
||||
|
Reference in New Issue
Block a user