diff --git a/docs/README.md b/docs/README.md
index 765c856af3..04e3314c53 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -108,6 +108,7 @@ for more information about installing and using the source code.
| [Highlight directive](core/highlight.directive.md) | Adds highlighting to selected sections of an HTML element's content. | [Source](../lib/core/directives/highlight.directive.ts) |
| [Logout directive](core/logout.directive.md) | Logs the user out when the decorated element is clicked. | [Source](../lib/core/directives/logout.directive.ts) |
| [Node delete directive](core/node-delete.directive.md) | Deletes multiple files and folders. | [Source](../lib/core/directives/node-delete.directive.ts) |
+| [Node download directive](content-services/node-download.directive.md) | Allows folders and/or files to be downloaded, with multiple nodes packed as a '.ZIP' archive. | [Source](../lib/core/directives/node-download.directive.ts) |
| [Node favorite directive](core/node-favorite.directive.md) | Selectively toggles nodes as favorites. | [Source](../lib/core/directives/node-favorite.directive.ts) |
| [Node permission directive](core/node-permission.directive.md) | Selectively disables an HTML element or Angular component. | [Source](../lib/core/directives/node-permission.directive.ts) |
| [Node restore directive](core/node-restore.directive.md) | Restores deleted nodes to their original location. | [Source](../lib/core/directives/node-restore.directive.ts) |
@@ -180,6 +181,7 @@ for more information about installing and using the source code.
| [User preferences service](core/user-preferences.service.md) | Stores preferences for the app and for individual components. | [Source](../lib/core/services/user-preferences.service.ts) |
| [Bpm user service](core/bpm-user.service.md) | Gets information about the current Process Services user. | [Source](../lib/core/userinfo/services/bpm-user.service.ts) |
| [Ecm user service](core/ecm-user.service.md) | Gets information about a Content Services user. | [Source](../lib/core/userinfo/services/ecm-user.service.ts) |
+| _Download zip service_ | _Not currently documented_ | [Source](../lib/core/services/download-zip.service.ts) |
| _Jwt helper service_ | _Not currently documented_ | [Source](../lib/core/services/jwt-helper.service.ts) |
| _Identity user service_ | _Not currently documented_ | [Source](../lib/core/userinfo/services/identity-user.service.ts) |
@@ -252,12 +254,17 @@ for more information about installing and using the source code.
| [Version manager component](content-services/version-manager.component.md)  | Displays the version history of a node with the ability to upload a new version. | [Source](../lib/content-services/version-manager/version-manager.component.ts) |
| [Webscript component](content-services/webscript.component.md) | Provides access to Webscript features. | [Source](../lib/content-services/webscript/webscript.component.ts) |
+## Dialogs
+
+| Name | Description | Source link |
+| ---- | ----------- | ----------- |
+| [Library dialog](content-services/library.dialog.md) | Creates a new Content Services document library/site. | [Source](../lib/content-services/dialogs/library/library.dialog.ts) |
+
## Directives
| Name | Description | Source link |
| ---- | ----------- | ----------- |
| [Content node share directive](content-services/content-node-share.directive.md) | Creates and manages public shared links for files. | [Source](../lib/content-services/content-node-share/content-node-share.directive.ts) |
-| [Node download directive](content-services/node-download.directive.md) | Allows folders and/or files to be downloaded, with multiple nodes packed as a '.ZIP' archive. | [Source](../lib/content-services/directives/node-download.directive.ts) |
| [Node lock directive](content-services/node-lock.directive.md) | Locks a node. | [Source](../lib/content-services/directives/node-lock.directive.ts) |
| [Folder create directive](content-services/folder-create.directive.md) | Creates folders. | [Source](../lib/content-services/folder-directive/folder-create.directive.ts) |
| [Folder edit directive](content-services/folder-edit.directive.md) | Allows folders to be edited. | [Source](../lib/content-services/folder-directive/folder-edit.directive.ts) |
@@ -368,12 +375,13 @@ for more information about installing and using the source code.
| Name | Description | Source link |
| ---- | ----------- | ----------- |
| [App list cloud component](process-services-cloud/app-list-cloud.component.md) | Shows all deployed cloud application instances. | [Source](../lib/process-services-cloud/src/lib/app-list-cloud/components/app-list-cloud.component.ts) |
+| [Process filters cloud component](process-services-cloud/process-filters-cloud.component.md) | Lists all available process filters and allows to select a filter. | [Source](../lib/process-services-cloud/src/lib/process-cloud/process-filters-cloud/process-filters-cloud.component.ts) |
| [Process list cloud component](process-services-cloud/process-list-cloud.component.md) | Renders a list containing all the process instances matched by the parameters specified. | [Source](../lib/process-services-cloud/src/lib/process-list-cloud/components/process-list-cloud.component.ts) |
| [Start task cloud component](process-services-cloud/start-task-cloud.component.md) | Creates/Starts new task for the specified app | [Source](../lib/process-services-cloud/src/lib/start-task-cloud/components/start-task-cloud.component.ts) |
+| [Edit task filter cloud component](process-services-cloud/edit-task-filter-cloud.component.md) | Shows Task Filter Details. | [Source](../lib/process-services-cloud/src/lib/task-cloud/task-filters-cloud/edit-task-filter-cloud.component.ts) |
| [Task filters cloud component](process-services-cloud/task-filters-cloud.component.md) | Shows all available filters. | [Source](../lib/process-services-cloud/src/lib/task-cloud/task-filters-cloud/task-filters-cloud.component.ts) |
| [Task list cloud component](process-services-cloud/task-list-cloud.component.md) | Renders a list containing all the tasks matched by the parameters specified. | [Source](../lib/process-services-cloud/src/lib/task-list-cloud/components/task-list-cloud.component.ts) |
| _App details cloud component_ | _Not currently documented_ | [Source](../lib/process-services-cloud/src/lib/app-list-cloud/components/app-details-cloud.component.ts) |
-| _Process filters cloud component_ | _Not currently documented_ | [Source](../lib/process-services-cloud/src/lib/process-cloud/process-filters-cloud/process-filters-cloud.component.ts) |
| _People cloud component_ | _Not currently documented_ | [Source](../lib/process-services-cloud/src/lib/start-task-cloud/components/people-cloud/people-cloud.component.ts) |
## Services
diff --git a/docs/content-services/README.md b/docs/content-services/README.md
index 300920e0eb..f1b6e9e7c7 100644
--- a/docs/content-services/README.md
+++ b/docs/content-services/README.md
@@ -54,12 +54,17 @@ for more information about installing and using the source code.
| [Version manager component](version-manager.component.md)  | Displays the version history of a node with the ability to upload a new version. | [Source](../../lib/content-services/version-manager/version-manager.component.ts) |
| [Webscript component](webscript.component.md) | Provides access to Webscript features. | [Source](../../lib/content-services/webscript/webscript.component.ts) |
+## Dialogs
+
+| Name | Description | Source link |
+| ---- | ----------- | ----------- |
+| [Library dialog](library.dialog.md) | Creates a new Content Services document library/site. | [Source](../../lib/content-services/dialogs/library/library.dialog.ts) |
+
## Directives
| Name | Description | Source link |
| ---- | ----------- | ----------- |
| [Content node share directive](content-node-share.directive.md) | Creates and manages public shared links for files. | [Source](../../lib/content-services/content-node-share/content-node-share.directive.ts) |
-| [Node download directive](node-download.directive.md) | Allows folders and/or files to be downloaded, with multiple nodes packed as a '.ZIP' archive. | [Source](../../lib/content-services/directives/node-download.directive.ts) |
| [Node lock directive](node-lock.directive.md) | Locks a node. | [Source](../../lib/content-services/directives/node-lock.directive.ts) |
| [Folder create directive](folder-create.directive.md) | Creates folders. | [Source](../../lib/content-services/folder-directive/folder-create.directive.ts) |
| [Folder edit directive](folder-edit.directive.md) | Allows folders to be edited. | [Source](../../lib/content-services/folder-directive/folder-edit.directive.ts) |
diff --git a/docs/content-services/library.dialog.md b/docs/content-services/library.dialog.md
new file mode 100644
index 0000000000..25ff5e7a83
--- /dev/null
+++ b/docs/content-services/library.dialog.md
@@ -0,0 +1,42 @@
+---
+Title: Library dialog component
+Added: v3.0.0
+Status: Active
+Last reviewed: 2018-12-07
+---
+
+# [Library dialog component](../../lib/content-services/dialogs/library/library.dialog.ts "Defined in library.dialog.ts")
+
+Creates a new Content Services document library/site.
+
+
+
+## Basic Usage
+
+```html
+
+
+```
+
+## Class members
+
+### Events
+
+| Name | Type | Description |
+| ---- | ---- | ----------- |
+| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when an error occurs. |
+| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when the new library is created successfully. The event parameter is a [SiteEntry](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/SiteEntry.md) object with the details of the newly-created library. |
+
+## Details
+
+This component lets the user create a new document library/site with the usual
+name, ID, description and access restrictions. See the
+[Sites](https://docs.alfresco.com/6.0/concepts/sites-intro.html)
+section of the Content Services documentation for more information.
+
+## See also
+
+- [Sites dropdown component](sites-dropdown.component.md)
diff --git a/docs/docassets/images/CreateLibraryDialog.png b/docs/docassets/images/CreateLibraryDialog.png
new file mode 100644
index 0000000000..a47a2532a1
Binary files /dev/null and b/docs/docassets/images/CreateLibraryDialog.png differ
diff --git a/lib/content-services/dialogs/library/library.dialog.ts b/lib/content-services/dialogs/library/library.dialog.ts
index e116a0bcae..4f7ee0128b 100644
--- a/lib/content-services/dialogs/library/library.dialog.ts
+++ b/lib/content-services/dialogs/library/library.dialog.ts
@@ -44,9 +44,14 @@ import { debounceTime, mergeMap, takeUntil } from 'rxjs/operators';
host: { class: 'adf-library-dialog' }
})
export class LibraryDialogComponent implements OnInit, OnDestroy {
+ /** Emitted when an error occurs. */
@Output()
error: EventEmitter = new EventEmitter();
+ /** Emitted when the new library is created successfully. The
+ * event parameter is a SiteEntry object with the details of the
+ * newly-created library.
+ */
@Output()
success: EventEmitter = new EventEmitter();
diff --git a/tools/doc/doctool.config.json b/tools/doc/doctool.config.json
index d5f6c4a6d5..7f2d8fc8a4 100644
--- a/tools/doc/doctool.config.json
+++ b/tools/doc/doctool.config.json
@@ -68,6 +68,7 @@
"form-field-validator.interface": "FormFieldValidator",
"header.component": "HeaderLayoutComponent",
"inherited-button.directive": "InheritPermissionDirective",
+ "library.dialog": "LibraryDialogComponent",
"permissions-style.model": "PermissionStyleModel",
"process-list.component": "ProcessInstanceListComponent",
"product-version.model": "BpmProductVersionModel",
@@ -140,7 +141,8 @@
"clipboard",
"external-alfresco",
"content-node-share",
- "tree-view"
+ "tree-view",
+ "dialog"
],
"fileCheckerFilter": [
"README",
diff --git a/tools/doc/libsearch.js b/tools/doc/libsearch.js
index ba6c63a5db..d0d662879e 100644
--- a/tools/doc/libsearch.js
+++ b/tools/doc/libsearch.js
@@ -3,7 +3,7 @@ var path = require("path");
module.exports = searchLibraryRecursive;
-var angFilenameRegex = /([a-zA-Z0-9\-]+)\.((component)|(directive)|(model)|(pipe)|(service)|(widget))\.ts/;
+var angFilenameRegex = /([a-zA-Z0-9\-]+)\.((component)|(dialog)|(directive)|(model)|(pipe)|(service)|(widget))\.ts/;
var searchFolderOmitRegex = /(config)|(mock)|(i18n)|(assets)|(styles)/;
// Search source folders for .ts files to discover all components, directives, etc.
diff --git a/tools/doc/ngHelpers.js b/tools/doc/ngHelpers.js
index 701bf45a63..e6a3ca2b8b 100644
--- a/tools/doc/ngHelpers.js
+++ b/tools/doc/ngHelpers.js
@@ -3,7 +3,7 @@ module.exports = {
"ngNameToClassName": ngNameToClassName,
"dekebabifyName": dekebabifyName,
"kebabifyClassName": kebabifyClassName,
- "classTypes": ["component", "directive", "model", "pipe", "service", "widget"]
+ "classTypes": ["component", "dialog", "directive", "model", "pipe", "service", "widget"]
}
diff --git a/tools/doc/tools/index.js b/tools/doc/tools/index.js
index fc6efdb322..5e59c40d3a 100644
--- a/tools/doc/tools/index.js
+++ b/tools/doc/tools/index.js
@@ -16,7 +16,7 @@ module.exports = {
"processDocs": processDocs
}
-var angFilenameRegex = /([a-zA-Z0-9\-]+)\.((component)|(directive)|(model)|(pipe)|(service)|(widget))\.ts/;
+var angFilenameRegex = /([a-zA-Z0-9\-]+)\.((component)|(dialog)|(directive)|(model)|(pipe)|(service)|(widget))\.ts/;
var searchFolderOmitRegex = /(config)|(mock)|(i18n)|(assets)|(styles)/;
var docsFolderPath = path.resolve("docs");