@colijnit/sharedcomponents 255.1.4 → 255.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15193,7 +15193,7 @@
15193
15193
  TaskCreatorComponent.decorators = [
15194
15194
  { type: i0.Component, args: [{
15195
15195
  selector: "co-task-creator",
15196
- template: "\n <co-form #createForm class=\"input-fields\">\n <co-list-of-icons [collection]=\"optionCollection\" (itemSelected)=\"itemSelected($event)\"></co-list-of-icons>\n <co-input-text *ngIf=\"chosenActivityType === optionCollection[0]\" [required]=\"chosenActivityType === optionCollection[0]\"\n [placeholder]=\"'REMARK' | localize\" [(model)]=\"remarkText\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createRemarkClicked()\"></co-input-text>\n <co-input-text *ngIf=\"chosenActivityType === optionCollection[1]\" [required]=\"chosenActivityType === optionCollection[1]\"\n [placeholder]=\"'DESCRIPTION' | localize\" [(model)]=\"workDescription\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createWorkClicked()\"></co-input-text>\n <div class=\"task-input-fields\" *ngIf=\"chosenActivityType === optionCollection[2]\">\n <co-input-text [(model)]=\"taskName\" [placeholder]=\"'NAME' | localize\" [required]=\"chosenActivityType === optionCollection[2]\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createTaskClicked()\"></co-input-text>\n <co-input-text [(model)]=\"taskDescription\" [placeholder]=\"'DESCRIPTION' | localize\" [required]=\"chosenActivityType === optionCollection[2]\"></co-input-text>\n </div>\n </co-form>\n <div class=\"extras-buttons\">\n <co-button [iconData]=\"iconService.getIcon(icons.EmailRegular)\" (click)=\"showEmailDialog = true\"></co-button>\n <co-button [iconData]=\"iconService.getIcon(icons.PaperclipRegular)\" (click)=\"showFilesDialog = true\"\n [label]=\"documents.length === 0 ? '' : documents.length.toString()\" ></co-button>\n </div>\n\n <co-dialog *ngIf=\"showFilesDialog\" (closeClick)=\"showFilesDialog = false\">\n <co-files-upload (documentsAdded)=\"addedDocument($event)\" (documentDeleted)=\"deletedDocument\"\n [documents]=\"documents\" [useWithoutSettingProps]=\"true\"></co-files-upload>\n </co-dialog>\n <co-dialog *ngIf=\"showEmailDialog\" (closeClick)=\"emailDialogClosed()\" [footerTemplate]=\"footerTemplate\">\n <co-role-email-selector [(model)]=\"emailAddresses\" [key]=\"remarkAndWorkKey\" [workflowCategoryType]=\"workflowCategoryType\"></co-role-email-selector>\n <co-role-email-selector [(model)]=\"bccEmailAddresses\" [key]=\"remarkAndWorkKey\" [workflowCategoryType]=\"workflowCategoryType\" [recipientLabel]=\"'BCC_RECIPIENT'\" [extraLabel]=\"'BCC_EXTRA_EMAIL_ADDRESSES'\"></co-role-email-selector>\n <!--TODO: reimplement once we have the backend functionality for this-->\n <!--<co-input-text [readonly]=\"false\" [label]=\"'SENDER' | localize\" [(model)]=\"senderAddress\"></co-input-text>-->\n\n </co-dialog>\n\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconService.getIcon(icons.CheckDuotone)\"\n (click)=\"emailDialogClosed()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconService.getIcon(icons.CrossSkinny)\"\n (click)=\"emailDialogClosed()\"></co-button>\n </div>\n </ng-template>\n ",
15196
+ template: "\n <co-form #createForm class=\"input-fields\">\n <co-list-of-icons [collection]=\"optionCollection\" (itemSelected)=\"itemSelected($event)\"></co-list-of-icons>\n <co-input-text *ngIf=\"chosenActivityType === optionCollection[0]\" [required]=\"chosenActivityType === optionCollection[0]\"\n [placeholder]=\"'REMARK' | localize\" [(model)]=\"remarkText\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createRemarkClicked()\"></co-input-text>\n <co-input-text *ngIf=\"chosenActivityType === optionCollection[1]\" [required]=\"chosenActivityType === optionCollection[1]\"\n [placeholder]=\"'DESCRIPTION' | localize\" [(model)]=\"workDescription\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createWorkClicked()\"></co-input-text>\n <div class=\"task-input-fields\" *ngIf=\"chosenActivityType === optionCollection[2]\">\n <co-input-text [(model)]=\"taskName\" [placeholder]=\"'NAME' | localize\" [required]=\"chosenActivityType === optionCollection[2]\"\n [rightIconData]=\"iconService.getIcon(icons.PaperPlaneTopSolid)\"\n (rightIconClick)=\"createTaskClicked()\"></co-input-text>\n <co-input-text [(model)]=\"taskDescription\" [placeholder]=\"'DESCRIPTION' | localize\" [required]=\"chosenActivityType === optionCollection[2]\"></co-input-text>\n </div>\n </co-form>\n <div class=\"extras-buttons\">\n <co-button [iconData]=\"iconService.getIcon(icons.EmailRegular)\" (click)=\"showEmailDialog = true\"></co-button>\n <co-button [iconData]=\"iconService.getIcon(icons.PaperclipRegular)\" (click)=\"showFilesDialog = true\"\n [label]=\"documents.length === 0 ? '' : documents.length.toString()\" ></co-button>\n </div>\n\n <co-dialog *ngIf=\"showFilesDialog\" (closeClick)=\"showFilesDialog = false\">\n <co-files-upload (documentsAdded)=\"addedDocument($event)\" (documentDeleted)=\"deletedDocument\"\n [documents]=\"documents\" [useWithoutSettingProps]=\"true\"></co-files-upload>\n </co-dialog>\n <co-dialog *ngIf=\"showEmailDialog\" (closeClick)=\"emailDialogClosed()\"\n [footerTemplate]=\"footerTemplate\"\n [headerTemplate]=\"headerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-wrapper-popup-title\">\n <co-icon [iconData]=\"iconService.getIcon(icons.EmailRegular)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'SEND_EMAIL' | localize\"></div>\n </div>\n </ng-template>\n <co-role-email-selector [(model)]=\"emailAddresses\" [key]=\"remarkAndWorkKey\" [workflowCategoryType]=\"workflowCategoryType\"></co-role-email-selector>\n <co-role-email-selector [(model)]=\"bccEmailAddresses\" [key]=\"remarkAndWorkKey\" [workflowCategoryType]=\"workflowCategoryType\" [recipientLabel]=\"'BCC_RECIPIENT'\" [extraLabel]=\"'BCC_EXTRA_EMAIL_ADDRESSES'\"></co-role-email-selector>\n <!--TODO: reimplement once we have the backend functionality for this-->\n <!--<co-input-text [readonly]=\"false\" [label]=\"'SENDER' | localize\" [(model)]=\"senderAddress\"></co-input-text>-->\n\n </co-dialog>\n\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconService.getIcon(icons.CheckDuotone)\"\n (click)=\"emailDialogClosed()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconService.getIcon(icons.CrossSkinny)\"\n (click)=\"emailDialogClosed()\"></co-button>\n </div>\n </ng-template>\n ",
15197
15197
  providers: [
15198
15198
  corecomponents_v12.FormMasterService
15199
15199
  ]