diff --git a/docIndex.md b/docIndex.md new file mode 100644 index 0000000000..2fab46e64f --- /dev/null +++ b/docIndex.md @@ -0,0 +1,610 @@ +# Component Docs Index + +Below is an index of the documentation for each component library. The [User Guide](#user-guide) +section discusses particular techniques in depth. The other sections are references for the ADF +components. Items listed as **Documented** have descriptive documentation. For the **Undocumented** items, +the links lead to the appropriate code source file. + +## Contents + +- [User Guide](#user-guide) +- [ng2-activiti-analytics](#ng2-activiti-analytics) +- [ng2-activiti-diagrams](#ng2-activiti-diagrams) +- [ng2-activiti-form](#ng2-activiti-form) +- [ng2-activiti-processlist](#ng2-activiti-processlist) +- [ng2-activiti-tasklist](#ng2-activiti-tasklist) +- [ng2-alfresco-core](#ng2-alfresco-core) +- [ng2-alfresco-datatable](#ng2-alfresco-datatable) +- [ng2-alfresco-documentlist](#ng2-alfresco-documentlist) +- [ng2-alfresco-login](#ng2-alfresco-login) +- [ng2-alfresco-search](#ng2-alfresco-search) +- [ng2-alfresco-social](#ng2-alfresco-social) +- [ng2-alfresco-tag](#ng2-alfresco-tag) +- [ng2-alfresco-upload](#ng2-alfresco-upload) +- [ng2-alfresco-userinfo](#ng2-alfresco-userinfo) +- [ng2-alfresco-viewer](#ng2-alfresco-viewer) +- [ng2-alfresco-webscript](#ng2-alfresco-webscript) + +## User guide + + +- [Form Extensibility and Customisation](docs/extensibility.md) +- [Form Stencils with Angular 2](docs/stencils.md) +- [Theming](docs/theming.md) +- [Walkthrough: adding indicators to highlight information about a node](docs/metadata-indicators.md) + + +[(Back to Contents)](#contents) + +## ng2-activiti-analytics + +Contains the Analytics component and other related items. See the library's +[README file](ng2-components/ng2-activiti-analytics/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Analytics component](ng2-components/ng2-activiti-analytics/README.md) +- [Analytics report list component](ng2-components/ng2-activiti-analytics/README.md) +- [Analytics generator component](ng2-components/ng2-activiti-analytics/README.md) + +**Undocumented** + +- [Analytics report heat map component](ng2-components/ng2-activiti-analytics/src/components/analytics-report-heat-map.component.ts) +- [Analytics report parameters component](ng2-components/ng2-activiti-analytics/src/components/analytics-report-parameters.component.ts) +- [Checkbox widget](ng2-components/ng2-activiti-analytics/src/components/widgets/checkbox/checkbox.widget.ts) +- [Date range widget](ng2-components/ng2-activiti-analytics/src/components/widgets/date-range/date-range.widget.ts) +- [Dropdown widget](ng2-components/ng2-activiti-analytics/src/components/widgets/dropdown/dropdown.widget.ts) +- [Duration widget](ng2-components/ng2-activiti-analytics/src/components/widgets/duration/duration.widget.ts) +- [Number widget](ng2-components/ng2-activiti-analytics/src/components/widgets/number/number.widget.ts) +- [Widget component](ng2-components/ng2-activiti-analytics/src/components/widgets/widget.component.ts) +- [Analytics service](ng2-components/ng2-activiti-analytics/src/services/analytics.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-activiti-diagrams + +Contains the Diagram component and other related items. See the library's +[README file](ng2-components/ng2-activiti-diagrams/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Diagram component](ng2-components/ng2-activiti-diagrams/README.md) + +**Undocumented** + +- [Diagram alfresco publish task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-alfresco-publish-task.component.ts) +- [Diagram box publish task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-box-publish-task.component.ts) +- [Diagram business rule task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-business-rule-task.component.ts) +- [Diagram camel task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-camel-task.component.ts) +- [Diagram container service task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-container-service-task.component.ts) +- [Diagram google drive publish task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-google-drive-publish-task.component.ts) +- [Diagram manual task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-manual-task.component.ts) +- [Diagram mule task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-mule-task.component.ts) +- [Diagram receive task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-receive-task.component.ts) +- [Diagram rest call task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-rest-call-task.component.ts) +- [Diagram script task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-script-task.component.ts) +- [Diagram send task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-send-task.component.ts) +- [Diagram service task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-service-task.component.ts) +- [Diagram task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-task.component.ts) +- [Diagram user task component](ng2-components/ng2-activiti-diagrams/src/components/activities/diagram-user-task.component.ts) +- [Diagram boundary event component](ng2-components/ng2-activiti-diagrams/src/components/boundary-events/diagram-boundary-event.component.ts) +- [Diagram throw event component](ng2-components/ng2-activiti-diagrams/src/components/boundary-events/diagram-throw-event.component.ts) +- [Diagram sequence flow component](ng2-components/ng2-activiti-diagrams/src/components/diagram-sequence-flow.component.ts) +- [Diagram end event component](ng2-components/ng2-activiti-diagrams/src/components/events/diagram-end-event.component.ts) +- [Diagram event component](ng2-components/ng2-activiti-diagrams/src/components/events/diagram-event.component.ts) +- [Diagram start event component](ng2-components/ng2-activiti-diagrams/src/components/events/diagram-start-event.component.ts) +- [Diagram event gateway component](ng2-components/ng2-activiti-diagrams/src/components/gateways/diagram-event-gateway.component.ts) +- [Diagram exclusive gateway component](ng2-components/ng2-activiti-diagrams/src/components/gateways/diagram-exclusive-gateway.component.ts) +- [Diagram gateway component](ng2-components/ng2-activiti-diagrams/src/components/gateways/diagram-gateway.component.ts) +- [Diagram inclusive gateway component](ng2-components/ng2-activiti-diagrams/src/components/gateways/diagram-inclusive-gateway.component.ts) +- [Diagram parallel gateway component](ng2-components/ng2-activiti-diagrams/src/components/gateways/diagram-parallel-gateway.component.ts) +- [Diagram container icon event component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-container-icon-event.component.ts) +- [Diagram icon alfresco publish task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-alfresco-publish-task.component.ts) +- [Diagram icon box publish task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-box-publish-task.component.ts) +- [Diagram icon business rule task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-business-rule-task.component.ts) +- [Diagram icon camel task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-camel-task.component.ts) +- [Diagram icon error component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-error.component.ts) +- [Diagram icon google drive publish task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-google-drive-publish-task.component.ts) +- [Diagram icon manual task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-manual-task.component.ts) +- [Diagram icon message component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-message.component.ts) +- [Diagram icon mule task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-mule-task.component.ts) +- [Diagram icon receive task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-receive-task.component.ts) +- [Diagram icon rest call task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-rest-call-task.component.ts) +- [Diagram icon script task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-script-task.component.ts) +- [Diagram icon send task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-send-task.component.ts) +- [Diagram icon service task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-service-task.component.ts) +- [Diagram icon signal component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-signal.component.ts) +- [Diagram icon timer component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-timer.component.ts) +- [Diagram icon user task component](ng2-components/ng2-activiti-diagrams/src/components/icons/diagram-icon-user-task.component.ts) +- [Diagram intermediate catching event component](ng2-components/ng2-activiti-diagrams/src/components/intermediate-catching-events/diagram-intermediate-catching-event.component.ts) +- [Raphael icon alfresco publish component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-alfresco-publish.component.ts) +- [Raphael icon box publish component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-box-publish.component.ts) +- [Raphael icon business rule component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-business-rule.component.ts) +- [Raphael icon camel component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-camel.component.ts) +- [Raphael icon error component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-error.component.ts) +- [Raphael icon google drive publish component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-google-drive-publish.component.ts) +- [Raphael icon manual component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-manual.component.ts) +- [Raphael icon message component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-message.component.ts) +- [Raphael icon mule component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-mule.component.ts) +- [Raphael icon receive component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-receive.component.ts) +- [Raphael icon rest call component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-rest-call.component.ts) +- [Raphael icon script component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-script.component.ts) +- [Raphael icon send component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-send.component.ts) +- [Raphael icon service component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-service.component.ts) +- [Raphael icon signal component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-signal.component.ts) +- [Raphael icon timer component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-timer.component.ts) +- [Raphael icon user component](ng2-components/ng2-activiti-diagrams/src/components/raphael/icons/raphael-icon-user.component.ts) +- [Raphael circle component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-circle.component.ts) +- [Raphael cross component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-cross.component.ts) +- [Raphael flow arrow component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-flow-arrow.component.ts) +- [Raphael multiline text component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-multiline-text.component.ts) +- [Raphael pentagon component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-pentagon.component.ts) +- [Raphael plus component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-plus.component.ts) +- [Raphael rect component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-rect.component.ts) +- [Raphael rhombus component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-rhombus.component.ts) +- [Raphael text component](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael-text.component.ts) +- [Raphael service](ng2-components/ng2-activiti-diagrams/src/components/raphael/raphael.service.ts) +- [Diagram event subprocess component](ng2-components/ng2-activiti-diagrams/src/components/structural/diagram-event-subprocess.component.ts) +- [Diagram subprocess component](ng2-components/ng2-activiti-diagrams/src/components/structural/diagram-subprocess.component.ts) +- [Diagram lane component](ng2-components/ng2-activiti-diagrams/src/components/swimlanes/diagram-lane.component.ts) +- [Diagram lanes component](ng2-components/ng2-activiti-diagrams/src/components/swimlanes/diagram-lanes.component.ts) +- [Diagram pool component](ng2-components/ng2-activiti-diagrams/src/components/swimlanes/diagram-pool.component.ts) +- [Diagram pools component](ng2-components/ng2-activiti-diagrams/src/components/swimlanes/diagram-pools.component.ts) +- [Diagram tooltip component](ng2-components/ng2-activiti-diagrams/src/components/tooltip/diagram-tooltip.component.ts) +- [Chart model](ng2-components/ng2-activiti-diagrams/src/models/chart.model.ts) +- [Diagram model](ng2-components/ng2-activiti-diagrams/src/models/diagram.model.ts) +- [Report model](ng2-components/ng2-activiti-diagrams/src/models/report.model.ts) +- [Diagram color service](ng2-components/ng2-activiti-diagrams/src/services/diagram-color.service.ts) +- [Diagrams service](ng2-components/ng2-activiti-diagrams/src/services/diagrams.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-activiti-form + +Contains the Form component and other related items. See the library's +[README file](ng2-components/ng2-activiti-form/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Form component](ng2-components/ng2-activiti-form/README.md) +- [Form list component](ng2-components/ng2-activiti-form/README.md) +- [Form service](ng2-components/ng2-activiti-form/README.md) +- [Content widget](ng2-components/ng2-activiti-form/README.md) + +**Undocumented** + +- [Form field component](ng2-components/ng2-activiti-form/src/components/form-field/form-field.component.ts) +- [Start form component](ng2-components/ng2-activiti-form/src/components/start-form.component.ts) +- [Amount widget](ng2-components/ng2-activiti-form/src/components/widgets/amount/amount.widget.ts) +- [Attach widget](ng2-components/ng2-activiti-form/src/components/widgets/attach/attach.widget.ts) +- [Checkbox widget](ng2-components/ng2-activiti-form/src/components/widgets/checkbox/checkbox.widget.ts) +- [Container widget](ng2-components/ng2-activiti-form/src/components/widgets/container/container.widget.model.ts) +- [Container widget](ng2-components/ng2-activiti-form/src/components/widgets/container/container.widget.ts) +- [Container column model](ng2-components/ng2-activiti-form/src/components/widgets/core/container-column.model.ts) +- [Container model](ng2-components/ng2-activiti-form/src/components/widgets/core/container.model.ts) +- [Content link model](ng2-components/ng2-activiti-form/src/components/widgets/core/content-link.model.ts) +- [Form field model](ng2-components/ng2-activiti-form/src/components/widgets/core/form-field.model.ts) +- [Form outcome event model](ng2-components/ng2-activiti-form/src/components/widgets/core/form-outcome-event.model.ts) +- [Form outcome model](ng2-components/ng2-activiti-form/src/components/widgets/core/form-outcome.model.ts) +- [Form widget model](ng2-components/ng2-activiti-form/src/components/widgets/core/form-widget.model.ts) +- [Form model](ng2-components/ng2-activiti-form/src/components/widgets/core/form.model.ts) +- [Group user model](ng2-components/ng2-activiti-form/src/components/widgets/core/group-user.model.ts) +- [Group model](ng2-components/ng2-activiti-form/src/components/widgets/core/group.model.ts) +- [Tab model](ng2-components/ng2-activiti-form/src/components/widgets/core/tab.model.ts) +- [Date widget](ng2-components/ng2-activiti-form/src/components/widgets/date/date.widget.ts) +- [Display text widget](ng2-components/ng2-activiti-form/src/components/widgets/display-text/display-text.widget.ts) +- [Document widget](ng2-components/ng2-activiti-form/src/components/widgets/document/document.widget.ts) +- [Dropdown widget](ng2-components/ng2-activiti-form/src/components/widgets/dropdown/dropdown.widget.ts) +- [Dynamic table widget](ng2-components/ng2-activiti-form/src/components/widgets/dynamic-table/dynamic-table.widget.model.ts) +- [Dynamic table widget](ng2-components/ng2-activiti-form/src/components/widgets/dynamic-table/dynamic-table.widget.ts) +- [Error component](ng2-components/ng2-activiti-form/src/components/widgets/error/error.component.ts) +- [Functional group widget](ng2-components/ng2-activiti-form/src/components/widgets/functional-group/functional-group.widget.ts) +- [Hyperlink widget](ng2-components/ng2-activiti-form/src/components/widgets/hyperlink/hyperlink.widget.ts) +- [Multiline text widget](ng2-components/ng2-activiti-form/src/components/widgets/multiline-text/multiline-text.widget.ts) +- [Number widget](ng2-components/ng2-activiti-form/src/components/widgets/number/number.widget.ts) +- [People widget](ng2-components/ng2-activiti-form/src/components/widgets/people/people.widget.ts) +- [Radio buttons widget](ng2-components/ng2-activiti-form/src/components/widgets/radio-buttons/radio-buttons.widget.ts) +- [Tabs widget](ng2-components/ng2-activiti-form/src/components/widgets/tabs/tabs.widget.ts) +- [Text mask component](ng2-components/ng2-activiti-form/src/components/widgets/text/text-mask.component.ts) +- [Text widget](ng2-components/ng2-activiti-form/src/components/widgets/text/text.widget.ts) +- [Typeahead widget](ng2-components/ng2-activiti-form/src/components/widgets/typeahead/typeahead.widget.ts) +- [Unknown widget](ng2-components/ng2-activiti-form/src/components/widgets/unknown/unknown.widget.ts) +- [Upload widget](ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts) +- [Widget component](ng2-components/ng2-activiti-form/src/components/widgets/widget.component.ts) +- [Form definition model](ng2-components/ng2-activiti-form/src/models/form-definition.model.ts) +- [Node metadata model](ng2-components/ng2-activiti-form/src/models/node-metadata.model.ts) +- [Task process variable model](ng2-components/ng2-activiti-form/src/models/task-process-variable.model.ts) +- [Widget visibility model](ng2-components/ng2-activiti-form/src/models/widget-visibility.model.ts) +- [Activiti alfresco service](ng2-components/ng2-activiti-form/src/services/activiti-alfresco.service.ts) +- [Ecm model service](ng2-components/ng2-activiti-form/src/services/ecm-model.service.ts) +- [Form rendering service](ng2-components/ng2-activiti-form/src/services/form-rendering.service.ts) +- [Node service](ng2-components/ng2-activiti-form/src/services/node.service.ts) +- [Widget visibility service](ng2-components/ng2-activiti-form/src/services/widget-visibility.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-activiti-processlist + +Contains the Processlist component and other related items. See the library's +[README file](ng2-components/ng2-activiti-processlist/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Processlist component](ng2-components/ng2-activiti-processlist/README.md) +- [Process filters component](ng2-components/ng2-activiti-processlist/README.md) +- [Start process component](ng2-components/ng2-activiti-processlist/README.md) +- [Process instance details component](ng2-components/ng2-activiti-processlist/README.md) +- [Process instance tasks component](ng2-components/ng2-activiti-processlist/README.md) +- [Process comments component](ng2-components/ng2-activiti-processlist/README.md) +- [Process attachment list component](ng2-components/ng2-activiti-processlist/README.md) +- [Create process attachment component](ng2-components/ng2-activiti-processlist/README.md) +- [Process audit directive](ng2-components/ng2-activiti-processlist/README.md) + +**Undocumented** + +- [Process instance header component](ng2-components/ng2-activiti-processlist/src/components/process-instance-header.component.ts) +- [Filter process model](ng2-components/ng2-activiti-processlist/src/models/filter-process.model.ts) +- [Process definition model](ng2-components/ng2-activiti-processlist/src/models/process-definition.model.ts) +- [Process instance filter model](ng2-components/ng2-activiti-processlist/src/models/process-instance-filter.model.ts) +- [Process instance variable model](ng2-components/ng2-activiti-processlist/src/models/process-instance-variable.model.ts) +- [Process instance model](ng2-components/ng2-activiti-processlist/src/models/process-instance.model.ts) +- [Process upload service](ng2-components/ng2-activiti-processlist/src/services/process-upload.service.ts) +- [Process service](ng2-components/ng2-activiti-processlist/src/services/process.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-activiti-tasklist + +Contains the Tasklist omponent and other related items. See the library's +[README file](ng2-components/ng2-activiti-tasklist/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Tasklist component](ng2-components/ng2-activiti-tasklist/README.md) +- [Task details component](ng2-components/ng2-activiti-tasklist/README.md) +- [Apps list component](ng2-components/ng2-activiti-tasklist/README.md) +- [Task filters component](ng2-components/ng2-activiti-tasklist/README.md) +- [Checklist component](ng2-components/ng2-activiti-tasklist/README.md) +- [Task attachment list component](ng2-components/ng2-activiti-tasklist/README.md) +- [Create task attachment component](ng2-components/ng2-activiti-tasklist/README.md) +- [Task header component](ng2-components/ng2-activiti-tasklist/README.md) +- [People component](ng2-components/ng2-activiti-tasklist/README.md) +- [Comments component](ng2-components/ng2-activiti-tasklist/README.md) +- [People search component](ng2-components/ng2-activiti-tasklist/README.md) +- [Task audit directive](ng2-components/ng2-activiti-tasklist/README.md) + +**Undocumented** + +- [Comment list component](ng2-components/ng2-activiti-tasklist/src/components/comment-list.component.ts) +- [No task detail template directive](ng2-components/ng2-activiti-tasklist/src/components/no-task-detail-template.directive.ts) +- [People list component](ng2-components/ng2-activiti-tasklist/src/components/people-list.component.ts) +- [Start task component](ng2-components/ng2-activiti-tasklist/src/components/start-task.component.ts) +- [Comment model](ng2-components/ng2-activiti-tasklist/src/models/comment.model.ts) +- [Filter model](ng2-components/ng2-activiti-tasklist/src/models/filter.model.ts) +- [Form model](ng2-components/ng2-activiti-tasklist/src/models/form.model.ts) +- [Icon model](ng2-components/ng2-activiti-tasklist/src/models/icon.model.ts) +- [Start task model](ng2-components/ng2-activiti-tasklist/src/models/start-task.model.ts) +- [Task details model](ng2-components/ng2-activiti-tasklist/src/models/task-details.model.ts) +- [Task list model](ng2-components/ng2-activiti-tasklist/src/models/task-list.model.ts) +- [User event model](ng2-components/ng2-activiti-tasklist/src/models/user-event.model.ts) +- [User model](ng2-components/ng2-activiti-tasklist/src/models/user.model.ts) +- [People service](ng2-components/ng2-activiti-tasklist/src/services/people.service.ts) +- [Process upload service](ng2-components/ng2-activiti-tasklist/src/services/process-upload.service.ts) +- [Tasklist service](ng2-components/ng2-activiti-tasklist/src/services/tasklist.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-core + +Contains a variety of components, directives and other classes used throughout ADF. See the library's +[README file](ng2-components/ng2-alfresco-core/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Toolbar component](ng2-components/ng2-alfresco-core/README.md) +- [Accordion component](ng2-components/ng2-alfresco-core/README.md) +- [Card view component](ng2-components/ng2-alfresco-core/README.md) +- [Node permission directive](ng2-components/ng2-alfresco-core/README.md) +- [Upload directive](ng2-components/ng2-alfresco-core/README.md) +- [Context menu directive](ng2-components/ng2-alfresco-core/README.md) +- [Alfresco api service](ng2-components/ng2-alfresco-core/README.md) +- [App config service](ng2-components/ng2-alfresco-core/README.md) +- [User preferences service](ng2-components/ng2-alfresco-core/README.md) +- [Authentication service](ng2-components/ng2-alfresco-core/README.md) +- [Notification service](ng2-components/ng2-alfresco-core/README.md) +- [Translation service](ng2-components/ng2-alfresco-core/README.md) +- [Renditions service](ng2-components/ng2-alfresco-core/README.md) + +**Undocumented** + +- [Accordion group component](ng2-components/ng2-alfresco-core/src/components/collapsable/accordion-group.component.ts) +- [Context menu holder component](ng2-components/ng2-alfresco-core/src/components/context-menu/context-menu-holder.component.ts) +- [Context menu service](ng2-components/ng2-alfresco-core/src/components/context-menu/context-menu.service.ts) +- [Data column list component](ng2-components/ng2-alfresco-core/src/components/data-column/data-column-list.component.ts) +- [Data column component](ng2-components/ng2-alfresco-core/src/components/data-column/data-column.component.ts) +- [Info drawer layout component](ng2-components/ng2-alfresco-core/src/components/info-drawer/info-drawer-layout.component.ts) +- [Info drawer component](ng2-components/ng2-alfresco-core/src/components/info-drawer/info-drawer.component.ts) +- [Mdl menu directive](ng2-components/ng2-alfresco-core/src/components/material/mdl-menu.directive.ts) +- [Mdl textfield directive](ng2-components/ng2-alfresco-core/src/components/material/mdl-textfield.directive.ts) +- [Mdl upgrade element directive](ng2-components/ng2-alfresco-core/src/components/material/mdl-upgrade-element.directive.ts) +- [Pagination component](ng2-components/ng2-alfresco-core/src/components/pagination/pagination.component.ts) +- [Toolbar divider component](ng2-components/ng2-alfresco-core/src/components/toolbar/toolbar-divider.component.ts) +- [Toolbar title component](ng2-components/ng2-alfresco-core/src/components/toolbar/toolbar-title.component.ts) +- [Card view content proxy directive](ng2-components/ng2-alfresco-core/src/components/view/card-view-content-proxy.directive.ts) +- [Card view dateitem component](ng2-components/ng2-alfresco-core/src/components/view/card-view-dateitem.component.ts) +- [Card view item dispatcher component](ng2-components/ng2-alfresco-core/src/components/view/card-view-item-dispatcher.component.ts) +- [Card view mapitem component](ng2-components/ng2-alfresco-core/src/components/view/card-view-mapitem.component.ts) +- [Card view textitem component](ng2-components/ng2-alfresco-core/src/components/view/card-view-textitem.component.ts) +- [Highlight directive](ng2-components/ng2-alfresco-core/src/directives/highlight.directive.ts) +- [Card view baseitem model](ng2-components/ng2-alfresco-core/src/models/card-view-baseitem.model.ts) +- [Card view dateitem model](ng2-components/ng2-alfresco-core/src/models/card-view-dateitem.model.ts) +- [Card view mapitem model](ng2-components/ng2-alfresco-core/src/models/card-view-mapitem.model.ts) +- [Card view textitem model](ng2-components/ng2-alfresco-core/src/models/card-view-textitem.model.ts) +- [Component model](ng2-components/ng2-alfresco-core/src/models/component.model.ts) +- [File model](ng2-components/ng2-alfresco-core/src/models/file.model.ts) +- [Product version model](ng2-components/ng2-alfresco-core/src/models/product-version.model.ts) +- [Site model](ng2-components/ng2-alfresco-core/src/models/site.model.ts) +- [Alfresco content service](ng2-components/ng2-alfresco-core/src/services/alfresco-content.service.ts) +- [Alfresco settings service](ng2-components/ng2-alfresco-core/src/services/alfresco-settings.service.ts) +- [Auth guard bpm service](ng2-components/ng2-alfresco-core/src/services/auth-guard-bpm.service.ts) +- [Auth guard ecm service](ng2-components/ng2-alfresco-core/src/services/auth-guard-ecm.service.ts) +- [Auth guard service](ng2-components/ng2-alfresco-core/src/services/auth-guard.service.ts) +- [Card view update service](ng2-components/ng2-alfresco-core/src/services/card-view-update.service.ts) +- [Content service](ng2-components/ng2-alfresco-core/src/services/content.service.ts) +- [Cookie service](ng2-components/ng2-alfresco-core/src/services/cookie.service.ts) +- [Deleted nodes api service](ng2-components/ng2-alfresco-core/src/services/deleted-nodes-api.service.ts) +- [Discovery api service](ng2-components/ng2-alfresco-core/src/services/discovery-api.service.ts) +- [Favorites api service](ng2-components/ng2-alfresco-core/src/services/favorites-api.service.ts) +- [Highlight transform service](ng2-components/ng2-alfresco-core/src/services/highlight-transform.service.ts) +- [Log service](ng2-components/ng2-alfresco-core/src/services/log.service.ts) +- [Nodes api service](ng2-components/ng2-alfresco-core/src/services/nodes-api.service.ts) +- [People api service](ng2-components/ng2-alfresco-core/src/services/people-api.service.ts) +- [Search api service](ng2-components/ng2-alfresco-core/src/services/search-api.service.ts) +- [Search service](ng2-components/ng2-alfresco-core/src/services/search.service.ts) +- [Shared links api service](ng2-components/ng2-alfresco-core/src/services/shared-links-api.service.ts) +- [Sites api service](ng2-components/ng2-alfresco-core/src/services/sites-api.service.ts) +- [Storage service](ng2-components/ng2-alfresco-core/src/services/storage.service.ts) +- [Thumbnail service](ng2-components/ng2-alfresco-core/src/services/thumbnail.service.ts) +- [Translate loader service](ng2-components/ng2-alfresco-core/src/services/translate-loader.service.ts) +- [Upload service](ng2-components/ng2-alfresco-core/src/services/upload.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-datatable + +Contains the Datatable component and other related items. See the library's +[README file](ng2-components/ng2-alfresco-datatable/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Datatable component](ng2-components/ng2-alfresco-datatable/README.md) +- [Pagination component](ng2-components/ng2-alfresco-datatable/README.md) + +**Undocumented** + +- [Datatable cell component](ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable-cell.component.ts) +- [Date cell component](ng2-components/ng2-alfresco-datatable/src/components/datatable/date-cell.component.ts) +- [Empty list component](ng2-components/ng2-alfresco-datatable/src/components/datatable/empty-list.component.ts) +- [Filesize cell component](ng2-components/ng2-alfresco-datatable/src/components/datatable/filesize-cell.component.ts) +- [Location cell component](ng2-components/ng2-alfresco-datatable/src/components/datatable/location-cell.component.ts) +- [Loading template directive](ng2-components/ng2-alfresco-datatable/src/directives/loading-template.directive.ts) +- [No content template directive](ng2-components/ng2-alfresco-datatable/src/directives/no-content-template.directive.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-documentlist + +Contains the Document List component and other related items. See the library's +[README file](ng2-components/ng2-alfresco-documentlist/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Breadcrumb component](docs/breadcrumb.component.md) +- [Document list component](docs/document-list.component.md) +- [Sites dropdown component](docs/sites-dropdown.component.md) + +**Undocumented** + +- [Dropdown breadcrumb component](ng2-components/ng2-alfresco-documentlist/src/components/breadcrumb/dropdown-breadcrumb.component.ts) +- [Content action list component](ng2-components/ng2-alfresco-documentlist/src/components/content-action/content-action-list.component.ts) +- [Content action component](ng2-components/ng2-alfresco-documentlist/src/components/content-action/content-action.component.ts) +- [Content column list component](ng2-components/ng2-alfresco-documentlist/src/components/content-column/content-column-list.component.ts) +- [Content column component](ng2-components/ng2-alfresco-documentlist/src/components/content-column/content-column.component.ts) +- [Content node selector component](ng2-components/ng2-alfresco-documentlist/src/components/content-node-selector/content-node-selector.component.ts) +- [Empty folder content directive](ng2-components/ng2-alfresco-documentlist/src/components/empty-folder/empty-folder-content.directive.ts) +- [Content action model](ng2-components/ng2-alfresco-documentlist/src/models/content-action.model.ts) +- [Document library model](ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.ts) +- [Permissions style model](ng2-components/ng2-alfresco-documentlist/src/models/permissions-style.model.ts) +- [Permissions model](ng2-components/ng2-alfresco-documentlist/src/models/permissions.model.ts) +- [Document actions service](ng2-components/ng2-alfresco-documentlist/src/services/document-actions.service.ts) +- [Document list service](ng2-components/ng2-alfresco-documentlist/src/services/document-list.service.ts) +- [Folder actions service](ng2-components/ng2-alfresco-documentlist/src/services/folder-actions.service.ts) +- [Node actions service](ng2-components/ng2-alfresco-documentlist/src/services/node-actions.service.ts) + + +[(Back to Contents)](#contents) + +### ng2-alfresco-login + +Contains the Login component and other related items. See the library's +[README file](ng2-components/ng2-alfresco-login/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Login component](ng2-components/ng2-alfresco-login/README.md) + +**Undocumented** + +- [Login footer directive](ng2-components/ng2-alfresco-login/src/directives/login-footer.directive.ts) +- [Login header directive](ng2-components/ng2-alfresco-login/src/directives/login-header.directive.ts) +- [Form submit event model](ng2-components/ng2-alfresco-login/src/models/form-submit-event.model.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-search + +Contains the Search component and other related items. See the library's +[README file](ng2-components/ng2-alfresco-search/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Search control component](ng2-components/ng2-alfresco-search/README.md) +- [Search component](ng2-components/ng2-alfresco-search/README.md) + +**Undocumented** + +- [Search autocomplete component](ng2-components/ng2-alfresco-search/src/components/search-autocomplete.component.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-social + +Contains components for adding likes and ratings to items. See the library's +[README file](ng2-components/ng2-alfresco-social/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Like component](ng2-components/ng2-alfresco-social/README.md) +- [Rating component](ng2-components/ng2-alfresco-social/README.md) + +**Undocumented** + +- [Rating service](ng2-components/ng2-alfresco-social/src/services/rating.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-tag + +Contains components for adding tags to documents. See the library's +[README file](ng2-components/ng2-alfresco-tag/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Tag actions component](ng2-components/ng2-alfresco-tag/README.md) +- [Tag list component](ng2-components/ng2-alfresco-tag/README.md) +- [Tag node list component](ng2-components/ng2-alfresco-tag/README.md) + +**Undocumented** + +- [Tag service](ng2-components/ng2-alfresco-tag/src/services/tag.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-upload + +Contains components for uploading files to Content Services. See the library's +[README file](ng2-components/ng2-alfresco-upload/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Upload button component](ng2-components/ng2-alfresco-upload/README.md) +- [Upload drag area component](ng2-components/ng2-alfresco-upload/README.md) +- [File uploading dialog component](ng2-components/ng2-alfresco-upload/README.md) +- [Upload service](ng2-components/ng2-alfresco-upload/README.md) + +**Undocumented** + +- [File uploading list row component](ng2-components/ng2-alfresco-upload/src/components/file-uploading-list-row.component.ts) +- [File uploading list component](ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.ts) +- [File draggable directive](ng2-components/ng2-alfresco-upload/src/directives/file-draggable.directive.ts) +- [Permissions model](ng2-components/ng2-alfresco-upload/src/models/permissions.model.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-userinfo + +Contains the User Info component and other related items. See the library's +[README file](ng2-components/ng2-alfresco-userinfo/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [User info component](ng2-components/ng2-alfresco-userinfo/README.md) + +**Undocumented** + +- [Bpm user model](ng2-components/ng2-alfresco-userinfo/src/models/bpm-user.model.ts) +- [Ecm company model](ng2-components/ng2-alfresco-userinfo/src/models/ecm-company.model.ts) +- [Ecm user model](ng2-components/ng2-alfresco-userinfo/src/models/ecm-user.model.ts) +- [Bpm user service](ng2-components/ng2-alfresco-userinfo/src/services/bpm-user.service.ts) +- [Ecm user service](ng2-components/ng2-alfresco-userinfo/src/services/ecm-user.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-viewer + +Contains the Viewer component and other related items. See the library's +[README file](ng2-components/ng2-alfresco-viewer/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Viewer component](ng2-components/ng2-alfresco-viewer/README.md) + +**Undocumented** + +- [ImgViewer component](ng2-components/ng2-alfresco-viewer/src/components/imgViewer.component.ts) +- [MediaPlayer component](ng2-components/ng2-alfresco-viewer/src/components/mediaPlayer.component.ts) +- [NotSupportedFormat component](ng2-components/ng2-alfresco-viewer/src/components/notSupportedFormat.component.ts) +- [PdfViewer component](ng2-components/ng2-alfresco-viewer/src/components/pdfViewer.component.ts) +- [TxtViewer component](ng2-components/ng2-alfresco-viewer/src/components/txtViewer.component.ts) +- [Pdf view component](ng2-components/ng2-alfresco-viewer/src/components/viewer-dialog/pdf-view/pdf-view.component.ts) +- [Viewer dialog component](ng2-components/ng2-alfresco-viewer/src/components/viewer-dialog/viewer-dialog.component.ts) +- [Extension viewer directive](ng2-components/ng2-alfresco-viewer/src/directives/extension-viewer.directive.ts) +- [Viewer service](ng2-components/ng2-alfresco-viewer/src/services/viewer.service.ts) + + +[(Back to Contents)](#contents) + +## ng2-alfresco-webscript + +Contains the Webscript component. See the library's +[README file](ng2-components/ng2-alfresco-webscript/README.md) +for more information about installing and using the source code. + + +**Documented** + +- [Webscript component](ng2-components/ng2-alfresco-webscript/README.md) + \ No newline at end of file diff --git a/docassets/images/activiti-stencil-01.png b/docassets/images/activiti-stencil-01.png new file mode 100644 index 0000000000..6f01cec9d5 Binary files /dev/null and b/docassets/images/activiti-stencil-01.png differ diff --git a/docassets/images/activiti-stencil-02.png b/docassets/images/activiti-stencil-02.png new file mode 100644 index 0000000000..340fb7dece Binary files /dev/null and b/docassets/images/activiti-stencil-02.png differ diff --git a/docassets/images/activiti-stencil-03.png b/docassets/images/activiti-stencil-03.png new file mode 100644 index 0000000000..d2763a2178 Binary files /dev/null and b/docassets/images/activiti-stencil-03.png differ diff --git a/docassets/images/adf-stencil-01.png b/docassets/images/adf-stencil-01.png new file mode 100644 index 0000000000..4f3473cc98 Binary files /dev/null and b/docassets/images/adf-stencil-01.png differ diff --git a/docassets/images/adf-stencil-02.png b/docassets/images/adf-stencil-02.png new file mode 100644 index 0000000000..334b4ca6c6 Binary files /dev/null and b/docassets/images/adf-stencil-02.png differ diff --git a/docassets/images/breadcrumb.png b/docassets/images/breadcrumb.png new file mode 100644 index 0000000000..36c745dc5f Binary files /dev/null and b/docassets/images/breadcrumb.png differ diff --git a/docassets/images/content-action-disable-delete-button.png b/docassets/images/content-action-disable-delete-button.png new file mode 100644 index 0000000000..43d9dff579 Binary files /dev/null and b/docassets/images/content-action-disable-delete-button.png differ diff --git a/docassets/images/content-action-notification-message.png b/docassets/images/content-action-notification-message.png new file mode 100644 index 0000000000..e761f10665 Binary files /dev/null and b/docassets/images/content-action-notification-message.png differ diff --git a/docassets/images/custom-columns.png b/docassets/images/custom-columns.png new file mode 100644 index 0000000000..1ba048d759 Binary files /dev/null and b/docassets/images/custom-columns.png differ diff --git a/docassets/images/document-action-copymove.png b/docassets/images/document-action-copymove.png new file mode 100644 index 0000000000..8325b86928 Binary files /dev/null and b/docassets/images/document-action-copymove.png differ diff --git a/docassets/images/document-action-copymovedialog.png b/docassets/images/document-action-copymovedialog.png new file mode 100644 index 0000000000..7f9e0c1ffa Binary files /dev/null and b/docassets/images/document-action-copymovedialog.png differ diff --git a/docassets/images/document-action-download.png b/docassets/images/document-action-download.png new file mode 100644 index 0000000000..05d60793b2 Binary files /dev/null and b/docassets/images/document-action-download.png differ diff --git a/docassets/images/document-actions.png b/docassets/images/document-actions.png new file mode 100644 index 0000000000..f0fcee4a2f Binary files /dev/null and b/docassets/images/document-actions.png differ diff --git a/docassets/images/document-list-custom-icon.png b/docassets/images/document-list-custom-icon.png new file mode 100644 index 0000000000..487aa1fe4b Binary files /dev/null and b/docassets/images/document-list-custom-icon.png differ diff --git a/docassets/images/document-list-dropdown-list.png b/docassets/images/document-list-dropdown-list.png new file mode 100644 index 0000000000..d8d8b94040 Binary files /dev/null and b/docassets/images/document-list-dropdown-list.png differ diff --git a/docassets/images/document-list-tag-template.png b/docassets/images/document-list-tag-template.png new file mode 100644 index 0000000000..769147a677 Binary files /dev/null and b/docassets/images/document-list-tag-template.png differ diff --git a/docassets/images/documentLibrary.png b/docassets/images/documentLibrary.png new file mode 100644 index 0000000000..ee5be8b847 Binary files /dev/null and b/docassets/images/documentLibrary.png differ diff --git a/docassets/images/empty-folder-template-custom.png b/docassets/images/empty-folder-template-custom.png new file mode 100644 index 0000000000..f8f18dbb80 Binary files /dev/null and b/docassets/images/empty-folder-template-custom.png differ diff --git a/docassets/images/empty-folder-template-default.png b/docassets/images/empty-folder-template-default.png new file mode 100644 index 0000000000..558b81f300 Binary files /dev/null and b/docassets/images/empty-folder-template-default.png differ diff --git a/docassets/images/folder-actions.png b/docassets/images/folder-actions.png new file mode 100644 index 0000000000..2c698df6ef Binary files /dev/null and b/docassets/images/folder-actions.png differ diff --git a/docassets/images/folder-context-menu.png b/docassets/images/folder-context-menu.png new file mode 100644 index 0000000000..1907ecd75d Binary files /dev/null and b/docassets/images/folder-context-menu.png differ diff --git a/docassets/images/metadata-01.png b/docassets/images/metadata-01.png new file mode 100644 index 0000000000..fc4d8a0203 Binary files /dev/null and b/docassets/images/metadata-01.png differ diff --git a/docassets/images/metadata-02.png b/docassets/images/metadata-02.png new file mode 100644 index 0000000000..90d652ad91 Binary files /dev/null and b/docassets/images/metadata-02.png differ diff --git a/docassets/images/metadata-03.png b/docassets/images/metadata-03.png new file mode 100644 index 0000000000..724599a763 Binary files /dev/null and b/docassets/images/metadata-03.png differ diff --git a/docassets/images/responsive-desktop.png b/docassets/images/responsive-desktop.png new file mode 100644 index 0000000000..da7f0dac32 Binary files /dev/null and b/docassets/images/responsive-desktop.png differ diff --git a/docassets/images/responsive-mobile.png b/docassets/images/responsive-mobile.png new file mode 100644 index 0000000000..933ce1f60b Binary files /dev/null and b/docassets/images/responsive-mobile.png differ diff --git a/docassets/images/text-custom-widget.png b/docassets/images/text-custom-widget.png new file mode 100644 index 0000000000..ebec57f023 Binary files /dev/null and b/docassets/images/text-custom-widget.png differ diff --git a/docassets/images/text-default-widget.png b/docassets/images/text-default-widget.png new file mode 100644 index 0000000000..e75766e065 Binary files /dev/null and b/docassets/images/text-default-widget.png differ diff --git a/docassets/images/viewchild.png b/docassets/images/viewchild.png new file mode 100644 index 0000000000..c9c258dd52 Binary files /dev/null and b/docassets/images/viewchild.png differ diff --git a/docs/breadcrumb.component.md b/docs/breadcrumb.component.md new file mode 100644 index 0000000000..a527f8f147 --- /dev/null +++ b/docs/breadcrumb.component.md @@ -0,0 +1,41 @@ +# Breadcrumb Component + +Indicates the current position within a navigation hierarchy. + +![Breadcrumb](../docassets/images/breadcrumb.png) + + + + + +- [Basic Usage](#basic-usage) + * [Properties](#properties) + * [Events](#events) + + + + + +## Basic Usage + +```html + + +``` + +### Properties + +| Name | Type | Description | +| --- | --- | --- | +| target | DocumentListComponent | (optional) DocumentList component to operate with. Upon clicks will instruct the given component to update. | +| folderNode | [MinimalNodeEntryEntity](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/NodeMinimalEntry.md) | Active node, builds UI based on `folderNode.path.elements` collection. | +| root | string | (optional) Name of the root element of the breadcrumb. You can use this property to rename "Company Home" to "Personal Files" for example. You can use i18n resource key for the property value. | +| rootId | string | (optional) The id of the root element. You can use this property to set a custom element the breadcrumb should start with. | + +### Events + +| Name | Returned Type | Description | +| --- | --- | --- | +| navigate | [PathElementEntity](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/PathElementEntity.md) | emitted when user clicks on a breadcrumb | diff --git a/docs/data-column.component.md b/docs/data-column.component.md new file mode 100644 index 0000000000..48a11eda1c --- /dev/null +++ b/docs/data-column.component.md @@ -0,0 +1,141 @@ +# DataColumn Component + +Defines column properties for DataTable, Tasklist, Document List and other components. + + + + + +- [Basic Usage](#basic-usage) + * [Properties](#properties) +- [Details](#details) + * [Automatic column header translation](#automatic-column-header-translation) + * [Custom tooltips](#custom-tooltips) + * [Column Templates](#column-templates) + + + + + +## Basic Usage + +```html + + + + + + + + + +``` + +### Properties + +| Name | Type | Default | Description | +| --- | --- | --- | --- | +| key | string | | Data source key, can be either column/property key like `title` or property path like `createdBy.name` | +| type | string | text | Value type for the column. Possible settings are 'text', 'image', 'date', 'fileSize' and 'location'. | +| format | string | | Value format (if supported by components), for example format of the date | +| sortable | boolean | true | Toggles ability to sort by this column, for example by clicking the column header | +| title | string | | Display title of the column, typically used for column headers. You can use the i18n resouce key to get it translated automatically. | +| template | `TemplateRef` | | Custom column template | +| sr-title | string | | Screen reader title, used for accessibility purposes | +| class | string | | Additional CSS class to be applied to column (header and cells) | +| formatTooltip | Function | | Custom tooltip formatter function. | + +## Details + +### Automatic column header translation + +You can use i18n resource keys with DataColumn `title` property. +The component will automatically check the corresponding i18n resources and fetch corresponding value. + +```html + + +``` + +This feature is optional. Regular text either plain or converted via the `translate` pipe will still be working as it was before. + +### Custom tooltips + +You can create custom tooltips for the table cells by providing a `formatTooltip` property with a tooltip formatter function when declaring a data column. + +```html + + +``` + +And the code in this case will be similar to the following: + +```ts +import { DataColumn, DataRow } from 'ng2-alfresco-datatable'; + +@Component({...}) +export class MyComponent { + ... + + getNodeNameTooltip(row: DataRow, col: DataColumn): string { + if (row) { + return row.getValue('name'); + } + return null; + } +} +``` + +To disable the tooltip your function can return `null` or an empty string. + +### Column Templates + +It is possible to assign a custom column template like the following: + +```html + + + + + + + +``` + +Example above shows access to the underlying cell value by binding `value` property to the underlying context `value`: + +```html +