[ADF-1549] Moved docassets folder inside docs folder (#2367)
@ -41,7 +41,7 @@ You can also hide chart parameters UI by setting the `hideParameters` to `true`:
|
||||
</adf-analytics>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Events
|
||||
|
||||
|
@ -54,7 +54,7 @@ If you want to show some specific apps you can specify them through the filtersA
|
||||
|
||||
In this specific case only the Tasks app, the app with deploymentId 15037 and the app with "my app name" will be shown.
|
||||
|
||||

|
||||

|
||||
|
||||
You can use inside the filter one of the following property
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Indicates the current position within a navigation hierarchy.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays a configurable property list renderer.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays comments from users involved in a specified task and allows an involved user to add a comment to the task.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays Upload Component(Drag and Click) to upload the attachment to a specified process instance
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays Upload Component(Drag and Click) to upload the attachment to a specified task
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays data as a table with customizable columns and presentation.
|
||||
|
||||

|
||||

|
||||
|
||||
See it live: [DataTable Quickstart](https://embed.plnkr.co/80qr4YFBeHjLMdAV0F6l/)
|
||||
|
||||
@ -186,7 +186,7 @@ onRowClick(event) {
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Custom Empty content template
|
||||
|
||||
@ -246,7 +246,7 @@ You can use any HTML layout or Angular component as a content of the empty templ
|
||||
| dragDropMsg | String | Drag and drop | The default drag and drop message |
|
||||
| additionalMsg | String | Drag and drop | The default additional message |
|
||||
|
||||

|
||||

|
||||
|
||||
### Loading content template
|
||||
|
||||
@ -427,9 +427,9 @@ onExecuteRowAction(event: DataRowActionEvent) {
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
Developers are allowed to use any payloads as row actions.
|
||||
The only requirement for the objects is having `title` property.
|
||||
|
BIN
docs/docassets/images/HTML.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
docs/docassets/images/activiti-stencil-01.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/docassets/images/activiti-stencil-02.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
docs/docassets/images/activiti-stencil-03.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
docs/docassets/images/activiti_people.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/adf-comments.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
docs/docassets/images/adf-custom-view.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
docs/docassets/images/adf-empty-list.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
docs/docassets/images/adf-process-audit-directive.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
docs/docassets/images/adf-process-instance-header-attachment.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/adf-start-task.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
docs/docassets/images/adf-stencil-01.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
docs/docassets/images/adf-stencil-02.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/docassets/images/adf-task-audit-directive.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
docs/docassets/images/adf-task-header.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
docs/docassets/images/adf-toolbar-01.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/adf-toolbar-02.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
docs/docassets/images/adf-toolbar-03.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/adf-toolbar-04.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
docs/docassets/images/adf-toolbar-05.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/adf-toolbar-06.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/adf-toolbar-07.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
docs/docassets/images/analytics-without-parameters.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
docs/docassets/images/basic.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
docs/docassets/images/breadcrumb.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
docs/docassets/images/content-action-disable-delete-button.png
Normal file
After Width: | Height: | Size: 133 KiB |
BIN
docs/docassets/images/content-action-notification-message.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
docs/docassets/images/custom-columns.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
docs/docassets/images/custom-footer.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
docs/docassets/images/custom-header.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
docs/docassets/images/custom-login.png
Normal file
After Width: | Height: | Size: 4.8 MiB |
BIN
docs/docassets/images/datatable-actions-console.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
docs/docassets/images/datatable-actions-ui.png
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
docs/docassets/images/datatable-demo.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
docs/docassets/images/datatable-dom-events.png
Normal file
After Width: | Height: | Size: 133 KiB |
BIN
docs/docassets/images/datatable.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
docs/docassets/images/demo-validator.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
docs/docassets/images/document-action-copymove.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
docs/docassets/images/document-action-copymovedialog.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
docs/docassets/images/document-action-download.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
docs/docassets/images/document-actions.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
docs/docassets/images/document-list-custom-icon.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
docs/docassets/images/document-list-dropdown-list.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
docs/docassets/images/document-list-tag-template.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
docs/docassets/images/documentLibrary.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
docs/docassets/images/empty-folder-template-custom.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
docs/docassets/images/empty-folder-template-default.png
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
docs/docassets/images/folder-actions.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
docs/docassets/images/folder-context-menu.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
docs/docassets/images/form-service-sample-01.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
docs/docassets/images/how-filter-apps.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
docs/docassets/images/how-to-create-accordion-menu.png
Normal file
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 2.2 MiB |
After Width: | Height: | Size: 2.0 MiB |
After Width: | Height: | Size: 2.3 MiB |
After Width: | Height: | Size: 4.8 MiB |
BIN
docs/docassets/images/login-extra-content.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
docs/docassets/images/metadata-01.png
Normal file
After Width: | Height: | Size: 119 KiB |
BIN
docs/docassets/images/metadata-02.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
docs/docassets/images/metadata-03.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
docs/docassets/images/process-create-attachment.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
docs/docassets/images/renditions.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/docassets/images/responsive-desktop.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
docs/docassets/images/responsive-mobile.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
docs/docassets/images/social1.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
docs/docassets/images/social2.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
docs/docassets/images/startProcess.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
docs/docassets/images/tag1.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
docs/docassets/images/tag2.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
docs/docassets/images/tag3.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
docs/docassets/images/task-attachment-list.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
docs/docassets/images/task-create-attachment.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
docs/docassets/images/text-custom-widget.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
docs/docassets/images/text-default-widget.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
docs/docassets/images/upload-disable-button.png
Normal file
After Width: | Height: | Size: 155 KiB |
BIN
docs/docassets/images/upload-notification-message.png
Normal file
After Width: | Height: | Size: 171 KiB |
BIN
docs/docassets/images/viewchild.png
Normal file
After Width: | Height: | Size: 136 KiB |
@ -321,7 +321,7 @@ export class FilesComponent implements OnInit {
|
||||
We've added `console.log(node)` for the `getNodeInfo` callback just for study and debug purposes.
|
||||
It helps examining other valuable information you can have access to if needed:
|
||||
|
||||

|
||||

|
||||
|
||||
**Important note**: for this particular scenario you must also trigger `changeDetector.detectChanges()` as in the example above.
|
||||
|
||||
@ -377,7 +377,7 @@ adf-document-list >>> adf-datatable tr.is-selected .image-table-cell::before {
|
||||
|
||||
Once your application starts you should see the following icon for each selected row:
|
||||
|
||||

|
||||

|
||||
|
||||
### Calling DocumentList api directly
|
||||
|
||||
@ -436,7 +436,7 @@ export class MyAppComponent implements AfterViewInit {
|
||||
|
||||
Example above should produce the following browser console output:
|
||||
|
||||

|
||||

|
||||
|
||||
Now you are able to access DocumentList properties or to call methods directly.
|
||||
|
||||
@ -485,7 +485,7 @@ A custom set of columns can look like the following:
|
||||
</adf-document-list>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
You can also use HTML-based schema declaration used by DataTable, TaskList and other components:
|
||||
|
||||
@ -669,7 +669,7 @@ In the Example below we will add the [ng2-alfresco-tag](https://www.npmjs.com/pa
|
||||
</data-column>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Actions
|
||||
|
||||
@ -749,7 +749,7 @@ export class MyView {
|
||||
|
||||
All document actions are rendered as a dropdown menu as on the picture below:
|
||||
|
||||

|
||||

|
||||
|
||||
### Default action handlers
|
||||
|
||||
@ -799,7 +799,7 @@ export class MyComponent {
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
#### Delete - Disable button checking the permission
|
||||
|
||||
@ -823,7 +823,7 @@ The ContentActionComponent provides the property permission that must contain th
|
||||
</adf-document-list>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
#### Download
|
||||
|
||||
@ -843,13 +843,13 @@ Initiates download of the corresponding document file.
|
||||
</adf-document-list>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
#### Copy and move
|
||||
|
||||
Shows the destination chooser dialog for copy and move actions. By default the destination chooser lists all the folders of the subject item's parent (except the selected item which is about to be copied/moved if it was a folder itself also).
|
||||
|
||||

|
||||

|
||||
|
||||
```html
|
||||
<adf-document-list ...>
|
||||
@ -891,7 +891,7 @@ Defining error, permission and success callbacks are pretty much the same as doi
|
||||
- The success callback's only parameter is the translatable success message string (could be used for showing in snackbar for example)
|
||||
- The permissionEvent callback is the same as described above with the delete action
|
||||
|
||||

|
||||

|
||||
|
||||
### Folder actions
|
||||
|
||||
@ -943,7 +943,7 @@ export class MyView {
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Context Menu
|
||||
|
||||
@ -953,7 +953,7 @@ DocumentList also provides integration for 'Context Menu Service' from the
|
||||
You can automatically turn all menu actions (for the files and folders)
|
||||
into context menu items like shown below:
|
||||
|
||||

|
||||

|
||||
|
||||
Enabling context menu is very simple:
|
||||
|
||||
@ -1159,11 +1159,11 @@ Now you can declare columns and assign `desktop-only` class where needed:
|
||||
|
||||
**Desktop View**
|
||||
|
||||

|
||||

|
||||
|
||||
**Mobile View**
|
||||
|
||||

|
||||

|
||||
|
||||
### Custom row permissions style
|
||||
|
||||
@ -1225,7 +1225,7 @@ adf-document-list >>> adf-datatable tr.document-list__disable {
|
||||
|
||||
By default DocumentList provides the following content for the empty folder:
|
||||
|
||||

|
||||

|
||||
|
||||
This can be changed by means of the custom html template:
|
||||
|
||||
@ -1241,7 +1241,7 @@ This can be changed by means of the custom html template:
|
||||
|
||||
That will give the following output:
|
||||
|
||||

|
||||

|
||||
|
||||
### Customizing default actions
|
||||
|
||||
|
@ -91,7 +91,7 @@ rendered within `<activiti-form>` component.
|
||||
|
||||
First let's create a simple Alfresco Activiti form with `Text` widgets:
|
||||
|
||||

|
||||

|
||||
|
||||
Every custom widget must inherit `WidgetComponent` class in order to function properly:
|
||||
|
||||
@ -158,7 +158,7 @@ export class MyView {
|
||||
|
||||
At runtime it should look similar to the following:
|
||||
|
||||

|
||||

|
||||
|
||||
## Replacing custom stencils with custom components
|
||||
|
||||
@ -168,7 +168,7 @@ This is a short walkthrough on rendering custom Alfresco Activiti stencils by me
|
||||
|
||||
First let's create a basic stencil and call it `Custom Stencil 01`:
|
||||
|
||||

|
||||

|
||||
|
||||
_Note the `internal identifier` value as it will become a `field type` value when corresponding form is rendered._
|
||||
|
||||
@ -180,17 +180,17 @@ Next put some simple html layout for `Form runtime template` and `Form editor te
|
||||
|
||||
Now you are ready to design a test form based on your custom stencil:
|
||||
|
||||

|
||||

|
||||
|
||||
Once wired with a new task it should look like the following within Alfresco Activiti web application:
|
||||
|
||||

|
||||

|
||||
|
||||
### Creating custom widget
|
||||
|
||||
If you load previously created task into ADF `<activiti-form>` component you will see something like the following:
|
||||
|
||||

|
||||

|
||||
|
||||
Let's create an Angular 2 component to render missing content:
|
||||
|
||||
@ -252,4 +252,4 @@ export class MyView {
|
||||
|
||||
At runtime you should now see your custom Angular 2 component rendered in place of the stencils:
|
||||
|
||||

|
||||

|
@ -360,7 +360,7 @@ You can now use the 'fieldValidators' property with the Form or Task Details com
|
||||
|
||||
Now if you run the application and try to enter "admin" in one of the text fields (either optional or required), you should see the following error:
|
||||
|
||||

|
||||

|
||||
|
||||
## Other documentation
|
||||
|
||||
@ -387,7 +387,7 @@ You subscribe to the `formFieldValueChanged` event and check whether event is ra
|
||||
|
||||
The result should be as following:
|
||||
|
||||

|
||||

|
||||
|
||||
#### Listen all form Events
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# ADF Like component
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Authenticates to Alfresco Content Services and Alfresco Process Services.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
@ -88,7 +88,7 @@ export class AppComponent {
|
||||
|
||||
### Change footer content
|
||||
|
||||

|
||||

|
||||
|
||||
You can replace the entire content in the footer of the login component with your custom content.
|
||||
|
||||
@ -100,7 +100,7 @@ You can replace the entire content in the footer of the login component with you
|
||||
|
||||
### Change header content
|
||||
|
||||

|
||||

|
||||
|
||||
You can replace the entire content in the header of the login component with your custom content.
|
||||
|
||||
@ -125,7 +125,7 @@ This becomes handy in case you need to extend it with custom input fields handle
|
||||
|
||||
Here's an example of custom content:
|
||||
|
||||

|
||||

|
||||
|
||||
### Custom logo and background
|
||||
|
||||
@ -140,7 +140,7 @@ It is possible changing logo and background images to custom values.
|
||||
|
||||
Should give you something like the following:
|
||||
|
||||

|
||||

|
||||
|
||||
Alternatively you can bind to your component properties and provide values dynamically if needed:
|
||||
|
||||
|
@ -5,7 +5,7 @@ All metadata is stored inside `properties` property.
|
||||
|
||||
Here's an example of basic image-related metadata fetched from the server:
|
||||
|
||||

|
||||

|
||||
|
||||
## Custom column template
|
||||
|
||||
@ -90,12 +90,12 @@ You will need to enable `versioning` feature for the Document List to be able to
|
||||
|
||||
Drag and drop any image file to upload it and ensure it has `1.0` displayed in the column:
|
||||
|
||||

|
||||

|
||||
|
||||
Now drop the same file again to upload a new version of the file.
|
||||
You should now see icons instead of version label.
|
||||
|
||||

|
||||

|
||||
|
||||
You can see on the screenshot above that only files with version `2.0` got extra icons.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Adds pagination to the component it is used with.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -30,7 +30,7 @@ Displays involved users to a specified task
|
||||
</adf-people>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Properties
|
||||
|
||||
@ -65,7 +65,7 @@ In this way will be easy customize the people component to involve the user with
|
||||
</adf-people>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Involve People single click without close search
|
||||
|
||||
@ -78,7 +78,7 @@ In this way will be easy customize the people component to involve the user with
|
||||
</adf-people>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Involve People double click and close search
|
||||
|
||||
@ -91,7 +91,7 @@ In this way will be easy customize the people component to involve the user with
|
||||
</adf-people>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Involve People double double without close search
|
||||
|
||||
@ -104,4 +104,4 @@ In this way will be easy customize the people component to involve the user with
|
||||
</adf-people>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Provide a way to fetch the Process Audit information in the pdf or json format.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -99,4 +99,4 @@ The AccordionComponent is exposed by the alfresco-core.
|
||||
</adf-accordion>
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Sub-component of the process details component, which renders some general information about the selected process.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# ADF Rating component
|
||||
|
||||

|
||||

|
||||
|
||||
## Basic Usage
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays a dropdown menu to show and interact with the sites of the current user.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Displays Start Process, allowing the user to specify some basic details needed to start a new process instance.
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Creates/Starts new task for the specified app
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
|
||||
|
||||
|