mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2149] Update ng-packagr to 2.0.0 (#2935)
* ng-packagr version 2.0.0 core fixes * fix content services jsdoc * fix process service jsdoc * last update new build 2.0.0 * fix comment jsdoc
This commit is contained in:
@@ -253,7 +253,6 @@ export class FormComponent implements OnInit, OnChanges {
|
||||
/**
|
||||
* Invoked when user clicks outcome button.
|
||||
* @param outcome Form outcome model
|
||||
* @returns {boolean} True if outcome action was executed, otherwise false.
|
||||
*/
|
||||
onOutcomeClicked(outcome: FormOutcomeModel): boolean {
|
||||
if (!this.readOnly && outcome && this.form) {
|
||||
@@ -448,7 +447,6 @@ export class FormComponent implements OnInit, OnChanges {
|
||||
/**
|
||||
* Get custom set of outcomes for a Form Definition.
|
||||
* @param form Form definition model.
|
||||
* @returns {FormOutcomeModel[]} Outcomes for a given form definition.
|
||||
*/
|
||||
getFormDefinitionOutcomes(form: FormModel): FormOutcomeModel[] {
|
||||
return [
|
||||
|
@@ -38,7 +38,6 @@ import { FormOutcomeModel } from './widgets/core/index';
|
||||
* {formSaved} EventEmitter - This event is fired when the form is saved, it pass all the value in the form.
|
||||
* {formCompleted} EventEmitter - This event is fired when the form is completed, it pass all the value in the form.
|
||||
*
|
||||
* @returns {FormComponent} .
|
||||
*/
|
||||
@Component({
|
||||
selector: 'adf-start-form',
|
||||
|
@@ -173,7 +173,6 @@ export class FormModel {
|
||||
/**
|
||||
* Validates entire form and all form fields.
|
||||
*
|
||||
* @returns {void}
|
||||
* @memberof FormModel
|
||||
*/
|
||||
validateForm(): void {
|
||||
@@ -203,8 +202,7 @@ export class FormModel {
|
||||
/**
|
||||
* Validates a specific form field, triggers form validation.
|
||||
*
|
||||
* @param {FormFieldModel} field Form field to validate.
|
||||
* @returns {void}
|
||||
* @param field Form field to validate.
|
||||
* @memberof FormModel
|
||||
*/
|
||||
validateField(field: FormFieldModel): void {
|
||||
|
Reference in New Issue
Block a user