[ADF-838] Table of content automatic creation (#1981)

This commit is contained in:
Eugenio Romano
2017-06-16 20:20:05 +01:00
committed by Eugenio Romano
parent 99467ba957
commit 8e30af9d46
21 changed files with 440 additions and 31 deletions

View File

@@ -1,5 +1,29 @@
# Activiti Analytics Components
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Activiti Analytics List Component](#activiti-analytics-list-component)
* [Properties](#properties)
* [Events](#events)
- [Activiti Analytics Component](#activiti-analytics-component)
* [Properties](#properties-1)
* [Events](#events-1)
- [Analytics Generator Component](#analytics-generator-component)
* [Properties](#properties-2)
* [Events](#events-2)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,23 @@
# Activiti Diagrams Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Activiti Diagram Component](#activiti-diagram-component)
* [Properties](#properties)
* [Events](#events)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,37 @@
# APS Form Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Library Contents](#library-contents)
* [Components](#components)
* [Services](#services)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [ActivitiForm Component](#activitiform-component)
* [Properties](#properties)
* [Advanced properties](#advanced-properties)
* [Events](#events)
* [Controlling outcome execution behaviour](#controlling-outcome-execution-behaviour)
- [Activiti Content Component](#activiti-content-component)
* [Properties](#properties-1)
* [Events](#events-1)
- [FormService Service](#formservice-service)
* [Events](#events-2)
* [Methods](#methods)
- [Common scenarios](#common-scenarios)
* [Changing field value based on another field](#changing-field-value-based-on-another-field)
- [See also](#see-also)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
See it live: [Form Quickstart](https://embed.plnkr.co/YSLXTqb3DtMhVJSqXKkE/)
## Library Contents

View File

@@ -1,5 +1,49 @@
# Activiti Process List Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Activiti Process Instance List](#activiti-process-instance-list)
* [Properties](#properties)
* [Events](#events)
- [Process Filters Component](#process-filters-component)
* [Properties](#properties-1)
* [Events](#events-1)
* [How filter the activiti process filters](#how-filter-the-activiti-process-filters)
- [FilterParamsModel](#filterparamsmodel)
* [How to create an accordion menu with the processes filter](#how-to-create-an-accordion-menu-with-the-processes-filter)
- [Start Process component](#start-process-component)
* [Properties](#properties-2)
* [Events](#events-2)
- [Process Details component](#process-details-component)
* [Properties](#properties-3)
* [Events](#events-3)
- [Process Instance Details Header component](#process-instance-details-header-component)
* [Properties](#properties-4)
* [Events](#events-4)
- [Process Instance Tasks component](#process-instance-tasks-component)
* [Properties](#properties-5)
* [Events](#events-5)
- [Process Instance Comments component](#process-instance-comments-component)
* [Properties](#properties-6)
- [Process Attachment List component](#process-attachment-list-component)
* [Properties](#properties-7)
* [Events](#events-6)
- [Create Process Attachment component](#create-process-attachment-component)
* [Properties](#properties-8)
* [Events](#events-7)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
Displays lists of process instances both active and completed, using any defined process filter, and renders details for any chosen instance.
## Prerequisites

View File

@@ -1,5 +1,49 @@
# APS Task List Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Activiti Task List](#activiti-task-list)
* [DataColumn Properties](#datacolumn-properties)
* [Events](#events)
* [Properties](#properties)
- [Activiti Task Details](#activiti-task-details)
* [Properties](#properties-1)
* [Events](#events-1)
* [Custom 'empty Activiti Task Details' template](#custom-empty-activiti-task-details-template)
- [Activiti Apps Component](#activiti-apps-component)
* [Properties](#properties-2)
* [Events](#events-2)
* [How filter the activiti apps](#how-filter-the-activiti-apps)
- [ADF Card View](#adf-card-view)
* [Properties](#properties-3)
* [CardViewModel](#cardviewmodel)
- [Activiti Filter](#activiti-filter)
* [Properties](#properties-4)
* [Events](#events-3)
* [How filter the activiti task filters](#how-filter-the-activiti-task-filters)
* [FilterParamsModel](#filterparamsmodel)
* [How to create an accordion menu with the task filter](#how-to-create-an-accordion-menu-with-the-task-filter)
- [Activiti Checklist Component](#activiti-checklist-component)
* [Properties](#properties-5)
- [Task Attachment List Component](#task-attachment-list-component)
* [Properties](#properties-6)
* [Events](#events-4)
- [Create Task Attachment Component](#create-task-attachment-component)
* [Properties](#properties-7)
+ [Events](#events-5)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
Displays lists of process instances both active and completed, using any defined process filter, and
render details of any chosen instance.

View File

@@ -105,16 +105,6 @@
"angular2",
"typescript"
],
"license-check-config": {
"src": [
"**/*.js",
"**/*.ts",
"!/**/coverage/**/*",
"!/**/demo/**/*",
"!/**/node_modules/**/*",
"!/**/typings/**/*",
"!*.js"
],
"contributors": [
{
"name": "Maurizio Vitale",

View File

@@ -1,5 +1,13 @@
# Alfresco Core Library
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,38 @@
# DataTable Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
* [Prerequisites](#prerequisites)
* [Install](#install)
* [Basic usage](#basic-usage)
+ [DataTable Properties](#datatable-properties)
+ [DataColumn Properties](#datacolumn-properties)
+ [DataTable Events](#datatable-events)
+ [DataTable DOM Events](#datatable-dom-events)
+ [Empty content template](#empty-content-template)
+ [Loading content template](#loading-content-template)
- [Column Templates](#column-templates)
- [rowClick event](#rowclick-event)
- [rowDblClick event](#rowdblclick-event)
- [showRowContextMenu event](#showrowcontextmenu-event)
- [showRowActionsMenu event](#showrowactionsmenu-event)
- [executeRowAction event](#executerowaction-event)
* [Data sources](#data-sources)
* [Generate schema](#generate-schema)
- [Pagination Component](#pagination-component)
+ [Properties](#properties)
+ [Events](#events)
* [Build from sources](#build-from-sources)
* [NPM scripts](#npm-scripts)
* [Demo](#demo)
* [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
See it live: [DataTable Quickstart](https://embed.plnkr.co/80qr4YFBeHjLMdAV0F6l/)
## Prerequisites

View File

@@ -109,16 +109,6 @@
"angular2",
"typescript"
],
"license-check-config": {
"src": [
"**/*.js",
"**/*.ts",
"!/**/coverage/**/*",
"!/**/demo/**/*",
"!/**/node_modules/**/*",
"!/**/typings/**/*",
"!*.js"
],
"path": "assets/license_header.txt",
"blocking": true,
"logInfo": false,

View File

@@ -1,5 +1,51 @@
# DocumentList Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [See also](#see-also)
- [Install](#install)
- [Basic usage](#basic-usage)
- [Properties](#properties)
- [Events](#events)
- [DOM Events](#dom-events)
- [Handling DOM events](#handling-dom-events)
- [Setting default folder](#setting-default-folder)
- [Calling DocumentList api directly](#calling-documentlist-api-directly)
- [Breadcrumb Component](#breadcrumb-component)
* [Properties](#properties-1)
- [Creation Menu Action](#creation-menu-action)
- [Custom columns](#custom-columns)
* [DataColumn Properties](#datacolumn-properties)
- [Column definition](#column-definition)
* [Column Template](#column-template)
* [Actions](#actions)
+ [Menu actions](#menu-actions)
+ [Default action handlers](#default-action-handlers)
- [Delete - Show notification message with no permission](#delete---show-notification-message-with-no-permission)
- [Delete - Disable button checking the permission](#delete---disable-button-checking-the-permission)
- [Download](#download)
+ [Folder actions](#folder-actions)
* [Context Menu](#context-menu)
* [Navigation mode](#navigation-mode)
* [Events](#events-1)
- [Advanced usage and customization](#advanced-usage-and-customization)
* [Custom row filter](#custom-row-filter)
* [Custom image resolver](#custom-image-resolver)
* [Hiding columns on small screens](#hiding-columns-on-small-screens)
* [Custom 'empty folder' template](#custom-empty-folder-template)
* [Customizing default actions](#customizing-default-actions)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,29 @@
# Login Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
- [Properties](#properties)
- [Events](#events)
- [Change footer content](#change-footer-content)
- [Change header content](#change-header-content)
- [Extra content](#extra-content)
- [Custom logo and background](#custom-logo-and-background)
- [Customize Validation rules](#customize-validation-rules)
- [Controlling form submit execution behaviour](#controlling-form-submit-execution-behaviour)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,26 @@
# Search Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
- [Properties](#properties)
- [Events](#events)
- [Basic usage Search results](#basic-usage-search-results)
* [Properties](#properties-1)
* [Events](#events-1)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,27 @@
# Alfresco Social Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
- [adf-like](#adf-like)
* [Properties](#properties)
* [Events](#events)
- [adf-rating](#adf-rating)
* [Properties](#properties-1)
* [Events](#events-1)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,26 @@
# Alfresco Tag Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
- [alfresco-tag-node-actions-list](#alfresco-tag-node-actions-list)
* [Properties](#properties)
- [alfresco-tag-node-list](#alfresco-tag-node-list)
* [Properties](#properties-1)
- [alfresco-tag-list](#alfresco-tag-list)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -1,5 +1,36 @@
# Alfresco Upload Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Content](#content)
* [Components](#components)
* [Services](#services)
* [Directives](#directives)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [UploadButtonComponent](#uploadbuttoncomponent)
* [Properties](#properties)
* [Events](#events)
* [Advanced usage](#advanced-usage)
+ [How to show notification message with no permission](#how-to-show-notification-message-with-no-permission)
+ [How to disable the button when the delete permission is missing](#how-to-disable-the-button-when-the-delete-permission-is-missing)
- [UploadDragAreaComponent](#uploaddragareacomponent)
* [Properties](#properties-1)
* [Events](#events-1)
- [FileUploadingDialogComponent](#fileuploadingdialogcomponent)
- [UploadService](#uploadservice)
* [Events](#events-2)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Content
### Components

View File

@@ -1,5 +1,22 @@
# Alfresco User Info Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
* [Properties](#properties)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -103,16 +103,6 @@
"angular2",
"typescript"
],
"license-check-config": {
"src": [
"**/*.js",
"**/*.ts",
"!/**/coverage/**/*",
"!/**/demo/**/*",
"!/**/node_modules/**/*",
"!/**/typings/**/*",
"!*.js"
],
"contributors": [
{
"name": "Vito Albano",

View File

@@ -1,5 +1,25 @@
# Alfresco File Viewer Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
- [Properties](#properties)
- [Supported file formats](#supported-file-formats)
- [Custom extension handler](#custom-extension-handler)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
See it live: [Viewer Quickstart](https://embed.plnkr.co/iTuG1lFIXfsP95l6bDW6/)
## Prerequisites

View File

@@ -1,5 +1,26 @@
# Alfresco Webscript Component
<!-- markdown-toc start - Don't edit this section. npm run toc to generate it-->
<!-- toc -->
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
- [Properties](#properties)
- [Webscript View HTML example](#webscript-view-html-example)
- [Webscript View DATATABLE example](#webscript-view-datatable-example)
- [Webscript View JSON example](#webscript-view-json-example)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
<!-- markdown-toc end -->
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the

View File

@@ -9,6 +9,7 @@
"pkg-build": "package-json-merge ng2-alfresco-core/package.json ng2-alfresco-datatable/package.json ng2-activiti-diagrams/package.json ng2-activiti-analytics/package.json ng2-activiti-form/package.json ng2-activiti-tasklist/package.json ng2-activiti-processlist/package.json ng2-alfresco-documentlist/package.json ng2-alfresco-login/package.json ng2-alfresco-search/package.json ng2-alfresco-tag/package.json ng2-alfresco-upload/package.json ng2-alfresco-viewer/package.json ng2-alfresco-webscript/package.json ng2-alfresco-webscript/package.json ng2-alfresco-userinfo/package.json ng2-alfresco-social/package.json package-base.json > package.json",
"test": "node node_modules/karma/bin/karma start --reporters mocha,coverage --single-run --component .",
"test-browser": "node node_modules/karma/bin/karma start karma.conf.js --reporters kjhtml",
"toc": "markdown-toc -i ng2-alfresco-datatable/README.md -i ng2-activiti-diagrams/README.md -i ng2-activiti-analytics/README.md -i ng2-activiti-form/README.md -i ng2-activiti-tasklist/README.md -i ng2-activiti-processlist/README.md -i ng2-alfresco-documentlist/README.md -i ng2-alfresco-login/README.md -i ng2-alfresco-search/README.md -i ng2-alfresco-tag/README.md -i ng2-alfresco-upload/README.md -i ng2-alfresco-viewer/README.md -i ng2-alfresco-webscript/README.md -i ng2-alfresco-webscript/README.md -i ng2-alfresco-userinfo/README.md -i ng2-alfresco-social/README.md package-base.json > README.md",
"tslint": "",
"prepublish": "",
"tsc": "",
@@ -64,6 +65,7 @@
"karma-sourcemap-loader": "^0.3.7",
"karma-systemjs": "^0.16.0",
"karma-webpack": "^2.0.2",
"markdown-toc": "1.1.0",
"script-loader": "0.7.0",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.3.0",

View File

@@ -12,6 +12,7 @@
"coverage": "",
"prepublish": "",
"pkg-build": "package-json-merge ng2-alfresco-core/package.json ng2-alfresco-datatable/package.json ng2-activiti-diagrams/package.json ng2-activiti-analytics/package.json ng2-activiti-form/package.json ng2-activiti-tasklist/package.json ng2-activiti-processlist/package.json ng2-alfresco-documentlist/package.json ng2-alfresco-login/package.json ng2-alfresco-search/package.json ng2-alfresco-tag/package.json ng2-alfresco-upload/package.json ng2-alfresco-viewer/package.json ng2-alfresco-webscript/package.json ng2-alfresco-webscript/package.json ng2-alfresco-userinfo/package.json ng2-alfresco-social/package.json package-base.json > package.json",
"toc": "markdown-toc -i ng2-alfresco-datatable/README.md && markdown-toc -i ng2-activiti-diagrams/README.md && markdown-toc -i ng2-activiti-analytics/README.md && markdown-toc -i ng2-activiti-form/README.md && markdown-toc -i ng2-activiti-tasklist/README.md && markdown-toc -i ng2-activiti-processlist/README.md && markdown-toc -i ng2-alfresco-documentlist/README.md && markdown-toc -i ng2-alfresco-login/README.md && markdown-toc -i ng2-alfresco-search/README.md && markdown-toc -i ng2-alfresco-tag/README.md && markdown-toc -i ng2-alfresco-upload/README.md && markdown-toc -i ng2-alfresco-viewer/README.md && markdown-toc -i ng2-alfresco-webscript/README.md && markdown-toc -i ng2-alfresco-webscript/README.md && markdown-toc -i ng2-alfresco-userinfo/README.md && markdown-toc -i ng2-alfresco-social/README.md",
"tslint": "",
"tsc": "",
"pretest": "",
@@ -72,9 +73,18 @@
"hammerjs": "2.0.8",
"material-design-icons": "2.2.3",
"material-design-lite": "1.2.1",
"@ngx-translate/core": "^7.0.0",
"reflect-metadata": "0.1.10",
"rxjs": "5.0.0-beta.12",
"systemjs": "0.19.27",
"zone.js": "0.6.26",
"ng2-alfresco-core": "1.5.0",
"raphael": "2.2.7",
"chart.js": "2.5.0",
"md-date-time-picker": "2.2.0",
"moment": "2.15.1",
"ng2-activiti-diagrams": "1.5.0",
"ng2-charts": "1.6.0",
"ng2-activiti-form": "1.5.0",
"ng2-activiti-tasklist": "1.5.0",
"ng2-alfresco-core": "1.5.0",
@@ -142,7 +152,8 @@
"wsrv": "^0.1.7",
"node-sass": "4.5.3",
"sass-loader": "6.0.5",
"license-check": "1.1.5"
"markdown-toc": "1.1.0",
"happypack": "3.0.0"
},
"license": "Apache-2.0",
"module": "./index.js",