@colijnit/sharedcomponents 255.1.13 → 255.1.15
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.
- package/bundles/colijnit-sharedcomponents.umd.js +214 -74
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +19 -17
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +20 -18
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +38 -14
- package/esm2015/lib/components/email-selector/email-selector.component.js +105 -0
- package/esm2015/lib/components/email-selector/email-selector.module.js +32 -0
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +1 -6
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.js +4 -2
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +5 -3
- package/esm2015/lib/components/role-email-selector/role-email-selector.component.js +46 -26
- package/esm2015/lib/components/task-creator/task-creator.component.js +5 -57
- package/esm2015/lib/components/task-creator/task-creator.module.js +4 -2
- package/esm2015/lib/enum/icon.enum.js +3 -1
- package/esm2015/lib/model/icon-svg.js +3 -1
- package/fesm2015/colijnit-sharedcomponents.js +223 -104
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +2 -2
- package/lib/components/activity-overview-component/style/_layout.scss +63 -39
- package/lib/components/email-selector/email-selector.component.d.ts +33 -0
- package/lib/components/email-selector/email-selector.module.d.ts +2 -0
- package/lib/components/email-selector/style/_layout.scss +15 -0
- package/lib/components/email-selector/style/_material-definition.scss +15 -0
- package/lib/components/email-selector/style/_theme.scss +4 -0
- package/lib/components/email-selector/style/material.scss +4 -0
- package/lib/components/role-email-selector/role-email-selector.component.d.ts +9 -3
- package/lib/components/role-email-selector/style/_layout.scss +2 -2
- package/lib/components/task-creator/style/_layout.scss +73 -55
- package/lib/components/task-creator/task-creator.component.d.ts +0 -5
- package/lib/enum/icon.enum.d.ts +2 -0
- package/main.a44fb262c84ddaedcaa8.js +1 -0
- package/package.json +2 -2
- package/{styles.8fce26887e7ff9657567.css → styles.148f8e42f62a8231d70c.css} +1 -1
- package/main.e4088c92fb309d6af37a.js +0 -1
|
@@ -86,7 +86,6 @@ import { WorkflowCategoryType } from '@colijnit/mainapi/build/enum/workflow-cate
|
|
|
86
86
|
import { ReportType } from '@colijnit/mainapi/build/enum/report-type.enum';
|
|
87
87
|
import { StringUtils as StringUtils$1 } from '@colijnit/ioneconnector/build/utils/string-utils';
|
|
88
88
|
import { Period } from '@colijnit/mainapi/build/enum/period.enum';
|
|
89
|
-
import { activityEmailRequestData } from '@colijnit/mainapi/build/model/activity-email-request-data';
|
|
90
89
|
import { ActivityEmailHistory } from '@colijnit/mainapi/build/model/activity-email-history.bo';
|
|
91
90
|
|
|
92
91
|
class DocsignComponent {
|
|
@@ -1652,12 +1651,14 @@ var Icon;
|
|
|
1652
1651
|
Icon["Lock"] = "lock";
|
|
1653
1652
|
Icon["MessageSmsRegular"] = "message_sms_regular";
|
|
1654
1653
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
1654
|
+
Icon["MinusSimple"] = "minus_simple";
|
|
1655
1655
|
Icon["Notification"] = "notification";
|
|
1656
1656
|
Icon["PaperclipRegular"] = "paperclip_regular";
|
|
1657
1657
|
Icon["PaperPlaneTopSolid"] = "paper_plane_top_solid";
|
|
1658
1658
|
Icon["Pdf"] = "pdf";
|
|
1659
1659
|
Icon["PersonDiggingRegular"] = "person_digging_regular";
|
|
1660
1660
|
Icon["PinRoundOpen"] = "pin_round_open";
|
|
1661
|
+
Icon["PlusSimple"] = "plus_simple";
|
|
1661
1662
|
Icon["Print"] = "print";
|
|
1662
1663
|
Icon["PrintRegular"] = "print_regular";
|
|
1663
1664
|
Icon["PrintSolid"] = "print_solid";
|
|
@@ -1716,12 +1717,14 @@ const IconSvg = {
|
|
|
1716
1717
|
"lock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><path d=\"M22.65,11.67H7.35c-2.82,0-3.07,2.29-3.07,5.12v8.09c0,2.83,.25,5.12,3.07,5.12h15.29c2.81,0,3.07-2.29,3.07-5.12v-8.09c0-2.83-.25-5.12-3.07-5.12Zm-12.42,15.82l2.6-6.32c-1-.7-1.65-1.85-1.65-3.15,0-2.12,1.71-3.84,3.82-3.84s3.82,1.73,3.82,3.84c0,1.31-.65,2.46-1.65,3.15l2.6,6.32H10.22Z\" fill=\"#484f60\"/><path d=\"M19.51,6.64c0-3.6-2.02-4.07-4.51-4.07h0c-2.49,0-4.51,.47-4.51,4.07v3h-2.7v-3C7.79,1.62,11.02,0,15,0h0c3.98,0,7.21,1.62,7.21,6.64v3h-2.7v-3Z\" fill=\"#484f60\"/></g></g></svg>",
|
|
1717
1718
|
"message_sms_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448-.0004H64c-35.25 0-64 28.75-64 63.1v287.1c0 35.25 28.75 63.1 64 63.1h96v83.98c0 9.836 11.02 15.55 19.12 9.7L304 415.1H448c35.25 0 64-28.75 64-63.1V63.1C512 28.75 483.3-.0004 448-.0004zM464 352c0 8.75-7.25 16-16 16h-160l-80 60v-60H64c-8.75 0-16-7.25-16-16V64c0-8.75 7.25-16 16-16h384c8.75 0 16 7.25 16 16V352zM124.4 192.6C113.6 189.5 103.2 187.2 104.2 181.5c.7813-4.5 10.28-6.562 21.5-4.906c4.156 .6562 8.75 2.094 13.09 3.594c8.375 2.906 17.47-1.562 20.34-9.906c2.875-8.344-1.562-17.47-9.906-20.34C143.1 147.8 136.5 145.9 130.6 145c-30.69-4.812-53.94 7.719-58 31.09c-5.656 33.03 26.5 42.47 38.63 46c13.72 3.947 25.62 6.432 24.56 12.34C135 239 125.7 241.1 114.3 239.4C107.9 238.4 100.4 235.4 93.38 232.9c-8.375-2.969-16 1.875-18.97 10.19S77.19 261.1 85.5 264.1C92.81 266.8 101.1 269.8 109.4 271C113.7 271.7 117.9 272 121.1 272c24.28 0 41.94-12.03 45.38-32.13C173.1 206.5 141.4 197.5 124.4 192.6zM396.4 192.6C385.6 189.5 375.2 187.2 376.2 181.5c.7813-4.5 10.31-6.562 21.5-4.906c4.156 .6562 8.75 2.094 13.09 3.594c8.406 2.906 17.47-1.562 20.34-9.906c2.875-8.344-1.562-17.47-9.906-20.34c-6.156-2.125-12.69-4.062-18.59-4.969c-30.75-4.812-53.97 7.719-58 31.09c-5.656 33.03 26.5 42.47 38.63 46c13.72 3.947 25.62 6.432 24.56 12.34c-.7813 4.562-10.12 6.656-21.56 4.938c-6.342-.9883-13.9-3.939-20.88-6.438c-8.375-2.969-16 1.875-18.97 10.19s2.781 17.97 11.09 20.97c7.312 2.656 15.62 5.656 23.88 6.906C385.7 271.7 389.9 272 393.1 272c24.28 0 41.94-12.03 45.38-32.13C445.1 206.5 413.4 197.5 396.4 192.6zM309.1 144.8c-6.469-2.062-13.72 .0625-17.88 5.594L256 197.3L220.8 150.4C216.7 144.9 209.4 142.7 202.9 144.8C196.4 147 192 153.1 192 160v96c0 8.844 7.156 16 16 16S224 264.8 224 256V208l19.19 25.59c6.062 8.062 19.56 8.062 25.62 0L288 208V256c0 8.844 7.156 16 16 16S320 264.8 320 256V160C320 153.1 315.6 147 309.1 144.8z\"/></svg>",
|
|
1718
1719
|
"message_sms_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M0 64C0 28.7 28.7 0 64 0H448c35.3 0 64 28.7 64 64V352c0 35.3-28.7 64-64 64H309.3L185.6 508.8c-4.8 3.6-11.3 4.2-16.8 1.5s-8.8-8.2-8.8-14.3V416H64c-35.3 0-64-28.7-64-64V64zm202.9 80.8C196.4 147 192 153.1 192 160v96c0 8.8 7.2 16 16 16s16-7.2 16-16V208l19.2 25.6c3 4 7.8 6.4 12.8 6.4s9.8-2.4 12.8-6.4L288 208v48c0 8.8 7.2 16 16 16s16-7.2 16-16V160c0-6.9-4.4-13-10.9-15.2s-13.7 .1-17.9 5.6L256 197.3l-35.2-46.9c-4.1-5.5-11.3-7.8-17.9-5.6zm173.1 38c0-1.1 .2-1.6 .4-1.9c.3-.4 .9-1.2 2.4-2c3.1-1.8 8-3 12.9-2.9c6.1 .1 12.9 1.4 20.1 3.4c8.5 2.3 17.3-2.8 19.6-11.3s-2.8-17.3-11.3-19.6c-8.2-2.2-17.9-4.3-27.9-4.4c-9.3-.1-20.4 1.9-29.7 7.4c-9.9 5.9-18.6 16.4-18.5 31.6c.1 14.7 8.8 24 17.7 29.4c7.6 4.6 17.1 7.4 24.3 9.6l1.2 .4c8.5 2.6 14.2 4.5 18 6.9c2.7 1.7 2.7 2.4 2.7 3.1l0 .2c0 1.6-.3 2.3-.6 2.7c-.3 .5-.9 1.2-2.1 2c-2.8 1.7-7.5 2.9-12.8 2.8c-7-.2-13.5-2.4-22.6-5.5l0 0 0 0c-1.5-.5-3.2-1.1-4.9-1.6c-8.4-2.8-17.4 1.7-20.2 10.1s1.7 17.4 10.1 20.2c1.2 .4 2.6 .9 4 1.4l0 0 0 0c8.8 3 20.4 7 32.6 7.4c9.8 .3 21.2-1.6 30.7-7.6c10.2-6.4 18-17.3 17.8-32.3c-.2-14.7-8.5-24.2-17.6-29.9c-8-5-17.9-8-25.2-10.2l-.6-.2c-8.6-2.6-14.4-4.4-18.2-6.8c-1.6-1-2.1-1.6-2.2-1.7c0-.1 0-.2 0-.4zm-272 0c0-1.1 .2-1.6 .4-1.9c.3-.4 .9-1.2 2.4-2c3.1-1.8 8-3 12.9-2.9c6.6 .1 16.7 1.6 23.3 3.4c8.5 2.3 17.3-2.8 19.6-11.3s-2.8-17.3-11.3-19.6c-8.8-2.4-21.6-4.3-31.1-4.4c-9.3-.1-20.4 1.9-29.7 7.4C80.6 157.3 72 167.8 72 183c.1 14.7 8.8 24 17.7 29.4c7.6 4.6 17.1 7.4 24.3 9.6l0 0 1.2 .4c8.5 2.6 14.2 4.5 18 6.9c2.7 1.7 2.7 2.4 2.7 3.1l0 .2c0 1.6-.3 2.3-.6 2.7c-.3 .5-.9 1.2-2.1 2c-2.8 1.7-7.5 2.9-12.8 2.8c-7.2-.2-14.2-2.6-23.7-5.8l0 0 0 0c-1.3-.4-2.7-.9-4.1-1.4c-8.4-2.8-17.4 1.7-20.2 10.1s1.7 17.4 10.1 20.2c1.1 .4 2.4 .8 3.6 1.2l0 0 0 0c9 3.1 20.9 7.2 33.2 7.6c9.8 .3 21.2-1.6 30.7-7.6c10.2-6.4 18-17.3 17.8-32.3c-.2-14.7-8.5-24.2-17.6-29.9c-8-5-17.9-8-25.2-10.2l-.6-.2c-8.6-2.6-14.4-4.4-18.3-6.8c-1.6-1-2.1-1.6-2.2-1.7c0-.1 0-.2 0-.4z\"/></svg>",
|
|
1720
|
+
"minus_simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M4.58,16.71c-.32,0-.58-.26-.58-.57v-2.29c0-.31,.26-.57,.58-.57H25.43c.31,0,.57,.26,.57,.57v2.29c0,.31-.26,.57-.57,.57H4.58Z\" fill=\"#484f60\"/></g></svg>",
|
|
1719
1721
|
"notification": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M15,1.1C6.72,1.1,0,6,0,12.06c0,2.12,.84,4.09,2.27,5.77h-.16c.16,.1,.28,.22,.43,.32,.4,.44,.86,.85,1.35,1.24,3.07,3.75,.06,8.71-3.25,9.84,5.79-1.34,9.31-3.89,10.9-6.53,1.11,.19,2.27,.31,3.46,.31,8.28,0,15-4.91,15-10.96S23.28,1.1,15,1.1Zm1.38,17.07h-2.82v-7.06h2.82v7.06Zm-.34-9.59c-.28,.28-.61,.41-1,.41s-.72-.14-1-.41c-.28-.28-.41-.61-.41-1s.14-.72,.41-1c.27-.28,.61-.41,1-.41s.72,.14,1,.41c.28,.28,.41,.61,.41,1s-.14,.72-.41,1Z\" fill=\"#484f60\"/></g></svg>",
|
|
1720
1722
|
"paperclip_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M375 73c-26-26-68.1-26-94.1 0L89 265C45.3 308.6 45.3 379.4 89 423s114.4 43.6 158.1 0L399 271c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L281 457c-62.4 62.4-163.5 62.4-225.9 0S-7.4 293.4 55 231L247 39C291.7-5.7 364.2-5.7 409 39s44.7 117.2 0 161.9L225.2 384.7c-31.6 31.6-83.6 28.7-111.5-6.2c-23.8-29.8-21.5-72.8 5.5-99.8L271 127c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L153.2 312.7c-9.7 9.7-10.6 25.1-2 35.8c10 12.5 28.7 13.6 40 2.2L375 167c26-26 26-68.1 0-94.1z\"/></svg>",
|
|
1721
1723
|
"paper_plane_top_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M49.9 27.8C15.1 12.7-19.2 50.1-1.2 83.5L68.1 212.2c4.4 8.3 12.6 13.8 21.9 15c0 0 0 0 0 0l176 22c3.4 .4 6 3.3 6 6.7s-2.6 6.3-6 6.7l-176 22s0 0 0 0c-9.3 1.2-17.5 6.8-21.9 15L-1.2 428.5c-18 33.4 16.3 70.8 51.1 55.7L491.8 292.7c32.1-13.9 32.1-59.5 0-73.4L49.9 27.8z\"/></svg>",
|
|
1722
1724
|
"pdf": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.88c-2.16,0-2.72-.56-2.72-2.72V12.88c0-2.15.56-2.71,2.72-2.71h11.6l8.66,8.88v3.43H32.8V19.6l-7.88-8.09h-11c-1.38,0-1.38,0-1.38,1.37V37.45c0,1.37,0,1.37,1.38,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M27.83,26.63v4.24h1a3.57,3.57,0,0,0,.78-.06,1.22,1.22,0,0,0,.52-.26,1.44,1.44,0,0,0,.34-.62,4.13,4.13,0,0,0,.13-1.18,3.79,3.79,0,0,0-.13-1.14,1.51,1.51,0,0,0-.37-.62,1.14,1.14,0,0,0-.6-.3,5.93,5.93,0,0,0-1.06-.06Z\" fill=\"#484f60\"/><path d=\"M21.86,26.63v1.82h.71a3.57,3.57,0,0,0,1-.1A.88.88,0,0,0,24,28a.84.84,0,0,0,.14-.5.8.8,0,0,0-.2-.57.88.88,0,0,0-.52-.29,6.36,6.36,0,0,0-.93,0Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.12,4.24a1.68,1.68,0,0,1-.54.63,1.9,1.9,0,0,1-.67.3,6.57,6.57,0,0,1-1.34.1h-.85V32H20.57V25.54h2.07a7.75,7.75,0,0,1,1.54.1,1.73,1.73,0,0,1,.93.63,2,2,0,0,1,.37,1.25A2,2,0,0,1,25.26,28.51Zm6.45,1.66A2.91,2.91,0,0,1,31,31.31a2.28,2.28,0,0,1-.91.51A4,4,0,0,1,29,32H26.54V25.54H28.9a4.21,4.21,0,0,1,1.22.13,2.08,2.08,0,0,1,1,.59,2.79,2.79,0,0,1,.61,1,4.76,4.76,0,0,1,.21,1.52A4.19,4.19,0,0,1,31.71,30.17Zm5.7-3.54h-3.1v1.52H37v1.08H34.31V32H33V25.54h4.39Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/></svg>",
|
|
1723
1725
|
"person_digging_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M208 64a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM440.8 288c8.2 .3 15.7 4.7 19.8 11.8l104 176c4.4 7.4 4.5 16.6 .2 24.1s-12.2 12.1-20.8 12.1H288c-7.7 0-15-3.7-19.5-10s-5.7-14.3-3.3-21.6l16-48c3.3-9.8 12.4-16.4 22.8-16.4h35.4l20.3-29.5L22.8 246.2c-12.2-5.1-18-19.1-12.9-31.4s19.1-18 31.4-12.9L61 210.1l19.8-36.2C96.2 145.6 125.8 128 158 128h3.8c52.3 0 98.5 33.8 114.4 83.6l32.3 101.6 79 32.9 32.8-47.7c4.6-6.8 12.4-10.7 20.6-10.4zm-190.4 1l-20-62.8c-9.5-29.9-37.3-50.2-68.6-50.2H158c-14.6 0-28.1 8-35.1 20.8l-17.3 31.8L250.4 289zm188.1 67.6l-66.7 97L364.6 464H501.9L438.5 356.6zM81.4 301.1l128 54.4c8.9 3.8 14.6 12.5 14.6 22.1V488c0 13.3-10.7 24-24 24s-24-10.7-24-24V393.5L87.5 355.9 47 494.7c-3.7 12.7-17 20-29.8 16.3S-2.7 494 1 481.3L49 316.5l7.6-25.9 24.9 10.6z\"/></svg>",
|
|
1724
1726
|
"pin_round_open": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><path d=\"M683.16,390.18a7.07,7.07,0,0,1-3.09-.77c-2.53-1.25-3.94-3.58-3.14-5.19a3.07,3.07,0,0,1,2.94-1.43h.1l-1,1.74v.2a2.48,2.48,0,0,0,.78,1.82,5.23,5.23,0,0,0,3.44,1.51,2,2,0,0,0,1.8-.84l.06-.09.52-1.48a3,3,0,0,1,.57,3.09,3.07,3.07,0,0,1-2.94,1.43Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M683.15,386.94a4.06,4.06,0,0,1-2.62-1.16,1.5,1.5,0,0,1-.47-.92l2.32-4a5.24,5.24,0,0,0,3.13,1.45L684,386.63a1,1,0,0,1-.84.31Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M686.75,381.45a5.78,5.78,0,0,1-2.52-.63c-2.06-1-3.21-2.9-2.57-4.21a2.48,2.48,0,0,1,2.37-1.15,5.78,5.78,0,0,1,2.53.63,5.5,5.5,0,0,1,2.32,2.05,2.26,2.26,0,0,1,.24,2.15,2.48,2.48,0,0,1-2.37,1.15Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M679.42,390l-.89,1.92-.13,1.55,1-1.16.81-1.92-.54-.24Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/><path d=\"M683,399.47a15,15,0,1,1,15-15A15,15,0,0,1,683,399.47Zm0-29a14,14,0,1,0,14,14A14,14,0,0,0,683,370.44Z\" transform=\"translate(-657.5 -358.97)\" fill=\"#4d5065\"/></svg>",
|
|
1727
|
+
"plus_simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M13.86,27c-.32,0-.58-.26-.58-.57v-9.72H3.58c-.32,0-.58-.26-.58-.57v-2.29c0-.31,.26-.57,.58-.57H13.29V3.57c0-.31,.26-.57,.58-.57h2.28c.31,0,.57,.26,.57,.57V13.29h9.72c.31,0,.57,.26,.57,.57v2.29c0,.31-.26,.57-.57,.57h-9.72v9.72c0,.31-.26,.57-.57,.57h-2.28Z\" fill=\"#484f60\"/></g></svg>",
|
|
1725
1728
|
"print": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M38,16.5H12a2,2,0,0,0-2,2v9a2,2,0,0,0,2,2h2v-5H36v5h2a2,2,0,0,0,2-2v-9A2,2,0,0,0,38,16.5ZM37,21a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,37,21Z\" fill=\"#484f60\"/><path d=\"M35,11.5v5H15v-5H35m1-1H14v7H36v-7Z\" fill=\"#484f60\"/><path d=\"M35,25.5v13H15v-13H35m1-1H14v15H36v-15Z\" fill=\"#484f60\"/><rect x=\"17\" y=\"28.3\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"31.5\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"34.7\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/></svg>",
|
|
1726
1729
|
"print_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M111.1 48h254.1L400 81.94V160H448V81.94c0-12.73-5.057-24.94-14.06-33.94l-33.94-33.94C391 5.057 378.8 0 366.1 0H111.1C85.49 0 64.01 21.48 64 47.98l.002 82.28c-.002 0 .002 0 0 0L64 160h48.01L111.1 48zM440 192H72C32.3 192 0 224.3 0 264v112c0 13.25 10.75 24 24 24H80V480c0 17.67 14.33 32 32 32h288c17.67 0 32-14.33 32-32v-80h56c13.25 0 24-10.75 24-24v-112C512 224.3 479.7 192 440 192zM384 464H128v-96h256V464zM464 352h-32c0-17.67-14.33-32-32-32h-288c-17.67 0-32 14.33-32 32h-32V264c0-13.23 10.77-24 24-24h368c13.23 0 24 10.77 24 24V352z\"/></svg>",
|
|
1727
1730
|
"print_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448 192H64C28.65 192 0 220.7 0 256v96c0 17.67 14.33 32 32 32h32v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h32c17.67 0 32-14.33 32-32V256C512 220.7 483.3 192 448 192zM384 448H128v-96h256V448zM432 296c-13.25 0-24-10.75-24-24c0-13.27 10.75-24 24-24s24 10.73 24 24C456 285.3 445.3 296 432 296zM128 64h229.5L384 90.51V160h64V77.25c0-8.484-3.375-16.62-9.375-22.62l-45.25-45.25C387.4 3.375 379.2 0 370.8 0H96C78.34 0 64 14.33 64 32v128h64V64z\"/></svg>",
|
|
@@ -13117,7 +13120,8 @@ ComponentActivityListComponent.decorators = [
|
|
|
13117
13120
|
(formTriggerFired)="handleFormTriggerFired()"
|
|
13118
13121
|
(triggerFired)="handleTriggerFired($event)"
|
|
13119
13122
|
(linkClicked)="linkClicked.emit($event)"
|
|
13120
|
-
(formCreated)="handleFormCreation()"
|
|
13123
|
+
(formCreated)="handleFormCreation()"
|
|
13124
|
+
[class.bottom-task]="activityViewModel.activity.IsTask"></co-component-activity-overview>
|
|
13121
13125
|
</ng-container>
|
|
13122
13126
|
</co-collapsible>
|
|
13123
13127
|
</ng-container>
|
|
@@ -13138,7 +13142,8 @@ ComponentActivityListComponent.decorators = [
|
|
|
13138
13142
|
(formTriggerFired)="handleFormTriggerFired()"
|
|
13139
13143
|
(triggerFired)="handleTriggerFired($event)"
|
|
13140
13144
|
(linkClicked)="linkClicked.emit($event)"
|
|
13141
|
-
(formCreated)="handleFormCreation()"
|
|
13145
|
+
(formCreated)="handleFormCreation()"
|
|
13146
|
+
[class.bottom-task]="activityViewModel.activity.IsTask"></co-component-activity-overview>
|
|
13142
13147
|
</ng-container>
|
|
13143
13148
|
</co-collapsible>
|
|
13144
13149
|
</ng-container>
|
|
@@ -13232,10 +13237,11 @@ class ComponentActivityOverviewComponent extends BaseActivityOverviewComponent {
|
|
|
13232
13237
|
case ActivityType.Remark:
|
|
13233
13238
|
return this.remarkIcon;
|
|
13234
13239
|
case ActivityType.WorkflowStatus:
|
|
13240
|
+
return this.workIcon;
|
|
13235
13241
|
case ActivityType.Work:
|
|
13236
|
-
case ActivityType.WorkflowTask:
|
|
13237
|
-
case ActivityType.Form:
|
|
13238
13242
|
return this.workIcon;
|
|
13243
|
+
case ActivityType.Form:
|
|
13244
|
+
case ActivityType.WorkflowTask:
|
|
13239
13245
|
case ActivityType.StateChange:
|
|
13240
13246
|
return this.statusIcon;
|
|
13241
13247
|
case ActivityType.Task:
|
|
@@ -13247,7 +13253,8 @@ ComponentActivityOverviewComponent.decorators = [
|
|
|
13247
13253
|
{ type: Component, args: [{
|
|
13248
13254
|
selector: "co-component-activity-overview",
|
|
13249
13255
|
template: `
|
|
13250
|
-
|
|
13256
|
+
<div class="activity-task-wrapper">
|
|
13257
|
+
<div class="overview-wrapper" *ngIf="!isTask">
|
|
13251
13258
|
<div class="overview-current">
|
|
13252
13259
|
<div class="overview-wrapper-icons">
|
|
13253
13260
|
<co-icon *ngIf="userIsSupervisor && (!isTask || firstTriggerToCloseWF === undefined)" icon="supervisor"
|
|
@@ -13279,16 +13286,6 @@ ComponentActivityOverviewComponent.decorators = [
|
|
|
13279
13286
|
</div>
|
|
13280
13287
|
</div>
|
|
13281
13288
|
</div>
|
|
13282
|
-
|
|
13283
|
-
<ng-container *ngIf="isTask && firstTriggerToCloseWF !== undefined">
|
|
13284
|
-
<co-button class="trans-green custom-text button-trigger no-margin" [label]="firstTriggerToCloseWF.description"
|
|
13285
|
-
(click)="handleButtonEndClick()"></co-button>
|
|
13286
|
-
</ng-container>
|
|
13287
|
-
<ng-container *ngIf="openButtonLabel">
|
|
13288
|
-
<co-button class="trans-green default-bg custom-text button-trigger-icon action-hover no-margin"
|
|
13289
|
-
iconClass="custom small" [iconData]="iconCacheService.getIcon(icon.DetailView)" [label]="openButtonLabel | localize"
|
|
13290
|
-
(click)="handleOpenLink($event)"></co-button>
|
|
13291
|
-
</ng-container>
|
|
13292
13289
|
<!--TODO reinstate this when we figure out how to trigger a screen change. -->
|
|
13293
13290
|
<!--<ng-container *ngIf="urls && urls.length > 0">
|
|
13294
13291
|
<button-colijn *ngFor="let url of urls"
|
|
@@ -13298,6 +13295,7 @@ ComponentActivityOverviewComponent.decorators = [
|
|
|
13298
13295
|
iconClass="custom small"
|
|
13299
13296
|
(click)="handleOpenLink($event, url)"></button-colijn>
|
|
13300
13297
|
</ng-container>-->
|
|
13298
|
+
<div class="activity-buttons">
|
|
13301
13299
|
<ng-container *ngIf="!isTask && hasTriggers">
|
|
13302
13300
|
<co-button class="trans-green custom-text action-hover button-trigger no-margin" *ngFor="let trigger of workFlow.manualGenericTriggers"
|
|
13303
13301
|
[class.button-trigger-icon]="trigger.isTaskTrigger"
|
|
@@ -13315,8 +13313,39 @@ ComponentActivityOverviewComponent.decorators = [
|
|
|
13315
13313
|
(click)="handleTriggerClick(trigger)"
|
|
13316
13314
|
></co-button>
|
|
13317
13315
|
</ng-container>
|
|
13316
|
+
</div>
|
|
13318
13317
|
</div>
|
|
13319
13318
|
</div>
|
|
13319
|
+
<div class="overview-task-wrapper" *ngIf="isTask" (click)="handleOpenLink($event)">
|
|
13320
|
+
<div class="task-box">
|
|
13321
|
+
<div class="task-current-state">
|
|
13322
|
+
<div class="activity-title" [textContent]="activityTitle"></div>
|
|
13323
|
+
<!--seems unessecary for current usecases, but left in case this needs an input to switch on or off-->
|
|
13324
|
+
<!--<div class="activity-context-title" [textContent]="activityContextTitle"></div>-->
|
|
13325
|
+
</div>
|
|
13326
|
+
<div class="overview-wrapper-date">
|
|
13327
|
+
<div class="date-wrapper" [class.overdue]="overDue">
|
|
13328
|
+
<ng-container *ngIf="!sameDates">
|
|
13329
|
+
<div class="date" [textContent]="targetDate | date:'dd-MM-YYYY'"></div>
|
|
13330
|
+
<div class="date-divider" [textContent]="'-'"></div>
|
|
13331
|
+
</ng-container>
|
|
13332
|
+
<div class="date" [textContent]="deadlineDate | date:'dd-MM-YYYY'"></div>
|
|
13333
|
+
<co-icon class="activity-type-icon"[iconData]="iconCacheService.getIcon(icon.ListUlRegular)"></co-icon>
|
|
13334
|
+
</div>
|
|
13335
|
+
</div>
|
|
13336
|
+
<ng-container *ngIf="isTask && firstTriggerToCloseWF !== undefined">
|
|
13337
|
+
<co-button class="trans-green custom-text button-trigger no-margin" [label]="firstTriggerToCloseWF.description"
|
|
13338
|
+
(click)="handleButtonEndClick()"></co-button>
|
|
13339
|
+
</ng-container>
|
|
13340
|
+
<!--ng-container *ngIf="openButtonLabel">
|
|
13341
|
+
<co-button class="trans-green default-bg custom-text button-trigger-icon action-hover no-margin"
|
|
13342
|
+
iconClass="custom small" [iconData]="iconCacheService.getIcon(icon.DetailView)" [label]="openButtonLabel | localize"
|
|
13343
|
+
(click)="handleOpenLink($event)"></co-button>
|
|
13344
|
+
</ng-container-->
|
|
13345
|
+
</div>
|
|
13346
|
+
|
|
13347
|
+
</div>
|
|
13348
|
+
</div>
|
|
13320
13349
|
<!--TODO reinstate this when we figure out how to trigger a screen change. -->
|
|
13321
13350
|
<!-- <formbuilder-user-form *ngIf="showCreateForm"
|
|
13322
13351
|
[showPopup]="showCreateForm"
|
|
@@ -14117,11 +14146,6 @@ NotificationSummaryBlockComponent.decorators = [
|
|
|
14117
14146
|
<ng-template #editTemplate>
|
|
14118
14147
|
<div fxLayout="column">
|
|
14119
14148
|
<co-role-email-selector [(model)]="editActivity?.task.emailAddresses" [key]="editActivity?.task.taskId.toString()" [workflowCategoryType]="WorkflowCategoryType.Task"></co-role-email-selector>
|
|
14120
|
-
|
|
14121
|
-
<co-list-of-values [readonly]="readonly" [multiselect]="true"
|
|
14122
|
-
[collection]="listItems" [displayField]="'role'"
|
|
14123
|
-
[(model)]="editActivity.task.emailAddresses">
|
|
14124
|
-
</co-list-of-values>
|
|
14125
14149
|
</div>
|
|
14126
14150
|
</ng-template>
|
|
14127
14151
|
`,
|
|
@@ -14148,9 +14172,13 @@ class RoleEmailSelectorComponent {
|
|
|
14148
14172
|
this.sharedService = sharedService;
|
|
14149
14173
|
this.icons = Icon;
|
|
14150
14174
|
this.recipientLabel = 'RECIPIENTS';
|
|
14151
|
-
this.extraLabel = '
|
|
14175
|
+
this.extraLabel = '';
|
|
14152
14176
|
this.modelChange = new EventEmitter();
|
|
14153
|
-
this.
|
|
14177
|
+
this.emailAddressesAvailableForDropdown = [];
|
|
14178
|
+
this.chosenEmailAddressesInDropDown = [];
|
|
14179
|
+
this.emailModel = "";
|
|
14180
|
+
this._roleEmailAddresses = [];
|
|
14181
|
+
this._customEmailAddresses = [];
|
|
14154
14182
|
this._model = [];
|
|
14155
14183
|
}
|
|
14156
14184
|
set model(value) {
|
|
@@ -14188,45 +14216,54 @@ class RoleEmailSelectorComponent {
|
|
|
14188
14216
|
fetchRoleEmailAddresses() {
|
|
14189
14217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14190
14218
|
if (this.workflowCategoryType !== undefined && this.key !== undefined) {
|
|
14191
|
-
this.
|
|
14219
|
+
this.emailAddressesAvailableForDropdown = yield this.sharedService.getRoleEmailAddressesByWorkflowCategoryAndKey(this._workflowCategoryType, this._key);
|
|
14192
14220
|
}
|
|
14193
14221
|
});
|
|
14194
14222
|
}
|
|
14195
|
-
roleChosen(
|
|
14196
|
-
|
|
14197
|
-
|
|
14223
|
+
roleChosen(roles) {
|
|
14224
|
+
this._roleEmailAddresses = [];
|
|
14225
|
+
if (roles.length > 0) {
|
|
14226
|
+
roles.forEach(role => {
|
|
14227
|
+
for (let i = 0; i < role.emailAddresses.length; i++) {
|
|
14228
|
+
if (this._roleEmailAddresses.indexOf(role.emailAddresses[i]) === -1 && StringUtils$1.IsValidEmail(role.emailAddresses[i])) {
|
|
14229
|
+
this._roleEmailAddresses.push(role.emailAddresses[i]);
|
|
14230
|
+
}
|
|
14231
|
+
}
|
|
14232
|
+
});
|
|
14198
14233
|
}
|
|
14199
|
-
|
|
14200
|
-
|
|
14201
|
-
|
|
14202
|
-
|
|
14203
|
-
|
|
14204
|
-
}
|
|
14234
|
+
this.updateModel();
|
|
14235
|
+
}
|
|
14236
|
+
handleKeyPressed(event) {
|
|
14237
|
+
if (event.code === KeyboardCode.Enter) {
|
|
14238
|
+
this.addEmail();
|
|
14205
14239
|
}
|
|
14206
14240
|
}
|
|
14207
|
-
addEmail(
|
|
14208
|
-
if (this.
|
|
14209
|
-
this.
|
|
14210
|
-
this.
|
|
14241
|
+
addEmail() {
|
|
14242
|
+
if (this._customEmailAddresses.indexOf(this.emailModel) === -1 && StringUtils$1.IsValidEmail(this.emailModel)) {
|
|
14243
|
+
this._customEmailAddresses.push(this.emailModel);
|
|
14244
|
+
this.emailModel = "";
|
|
14245
|
+
this.updateModel();
|
|
14211
14246
|
}
|
|
14212
14247
|
}
|
|
14248
|
+
updateModel() {
|
|
14249
|
+
this.model = this._roleEmailAddresses.concat(this._customEmailAddresses);
|
|
14250
|
+
this.modelChange.emit(this.model);
|
|
14251
|
+
}
|
|
14213
14252
|
removeOptionFromModel(email) {
|
|
14214
|
-
if (this.
|
|
14215
|
-
this.
|
|
14253
|
+
if (this._roleEmailAddresses.indexOf(email) > -1) {
|
|
14254
|
+
this._roleEmailAddresses.splice(this._roleEmailAddresses.indexOf(email), 1);
|
|
14255
|
+
}
|
|
14256
|
+
if (this._customEmailAddresses.indexOf(email) > -1) {
|
|
14257
|
+
this._customEmailAddresses.splice(this._customEmailAddresses.indexOf(email), 1);
|
|
14216
14258
|
}
|
|
14259
|
+
this.updateModel();
|
|
14217
14260
|
}
|
|
14218
14261
|
}
|
|
14219
14262
|
RoleEmailSelectorComponent.decorators = [
|
|
14220
14263
|
{ type: Component, args: [{
|
|
14221
14264
|
selector: "co-role-email-selector",
|
|
14222
14265
|
template: `
|
|
14223
|
-
|
|
14224
|
-
[collection]="emailAddressesAvailable" [displayField]="'role'"
|
|
14225
|
-
(modelChange)="roleChosen($event)">
|
|
14226
|
-
</co-list-of-values>
|
|
14227
|
-
<co-input-text #inp [placeholder]="extraLabel | localize"
|
|
14228
|
-
[rightIconData]="iconService.getIcon(icons.CheckSolid)"
|
|
14229
|
-
(rightIconClick)="addEmail(inp.model)"></co-input-text>
|
|
14266
|
+
|
|
14230
14267
|
|
|
14231
14268
|
<div class="chips-wrapper">
|
|
14232
14269
|
<div class="chips" *ngFor="let email of model">
|
|
@@ -14234,6 +14271,12 @@ RoleEmailSelectorComponent.decorators = [
|
|
|
14234
14271
|
<co-icon class="remove-chip-icon" [iconData]="iconService.getIcon(icons.CrossSkinny)" (click)="removeOptionFromModel(email)"></co-icon>
|
|
14235
14272
|
</div>
|
|
14236
14273
|
</div>
|
|
14274
|
+
<co-list-of-values [multiselect]="true" [label]="recipientLabel | localize" [(model)]="chosenEmailAddressesInDropDown" [showChips]="false"
|
|
14275
|
+
[collection]="emailAddressesAvailableForDropdown" [displayField]="'role'"
|
|
14276
|
+
(modelChange)="roleChosen($event)">
|
|
14277
|
+
</co-list-of-values>
|
|
14278
|
+
<co-input-text [(model)]="emailModel" [placeholder]="extraLabel | localize" (keyDown)="handleKeyPressed($event)"
|
|
14279
|
+
></co-input-text>
|
|
14237
14280
|
|
|
14238
14281
|
`
|
|
14239
14282
|
},] }
|
|
@@ -14275,6 +14318,131 @@ RoleEmailSelectorModule.decorators = [
|
|
|
14275
14318
|
},] }
|
|
14276
14319
|
];
|
|
14277
14320
|
|
|
14321
|
+
class EmailSelectorComponent {
|
|
14322
|
+
constructor(iconService, sharedService) {
|
|
14323
|
+
this.iconService = iconService;
|
|
14324
|
+
this.sharedService = sharedService;
|
|
14325
|
+
this.icons = Icon;
|
|
14326
|
+
this.showBCC = false;
|
|
14327
|
+
this.buttonIcon = this.iconService.getIcon(this.icons.PlusSimple);
|
|
14328
|
+
this.emailAddressesChange = new EventEmitter();
|
|
14329
|
+
this.bccEmailAddressesChange = new EventEmitter();
|
|
14330
|
+
this._emailAddresses = [];
|
|
14331
|
+
this._bccEmailAddresses = [];
|
|
14332
|
+
}
|
|
14333
|
+
set key(value) {
|
|
14334
|
+
this._key = value;
|
|
14335
|
+
}
|
|
14336
|
+
;
|
|
14337
|
+
get key() {
|
|
14338
|
+
return this._key;
|
|
14339
|
+
}
|
|
14340
|
+
;
|
|
14341
|
+
set workflowCategoryType(value) {
|
|
14342
|
+
this._workflowCategoryType = value;
|
|
14343
|
+
}
|
|
14344
|
+
;
|
|
14345
|
+
get workflowCategoryType() {
|
|
14346
|
+
return this._workflowCategoryType;
|
|
14347
|
+
}
|
|
14348
|
+
;
|
|
14349
|
+
set emailAddresses(value) {
|
|
14350
|
+
this._emailAddresses = value;
|
|
14351
|
+
}
|
|
14352
|
+
;
|
|
14353
|
+
get emailAddresses() {
|
|
14354
|
+
return this._emailAddresses;
|
|
14355
|
+
}
|
|
14356
|
+
;
|
|
14357
|
+
set bccEmailAddresses(value) {
|
|
14358
|
+
this._bccEmailAddresses = value;
|
|
14359
|
+
}
|
|
14360
|
+
;
|
|
14361
|
+
get bccEmailAddresses() {
|
|
14362
|
+
return this._bccEmailAddresses;
|
|
14363
|
+
}
|
|
14364
|
+
;
|
|
14365
|
+
showClass() {
|
|
14366
|
+
return true;
|
|
14367
|
+
}
|
|
14368
|
+
ngOnInit() {
|
|
14369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14370
|
+
});
|
|
14371
|
+
}
|
|
14372
|
+
toggleBCC() {
|
|
14373
|
+
if (!this.showBCC) {
|
|
14374
|
+
this.showBCC = true;
|
|
14375
|
+
this.buttonIcon = this.iconService.getIcon(this.icons.MinusSimple);
|
|
14376
|
+
}
|
|
14377
|
+
else {
|
|
14378
|
+
this.showBCC = false;
|
|
14379
|
+
this.bccEmailAddresses = [];
|
|
14380
|
+
this.buttonIcon = this.iconService.getIcon(this.icons.PlusSimple);
|
|
14381
|
+
}
|
|
14382
|
+
}
|
|
14383
|
+
handleEmailAddressesChanged() {
|
|
14384
|
+
this.emailAddressesChange.emit(this.emailAddresses);
|
|
14385
|
+
}
|
|
14386
|
+
handleBccEmailAddressesChanged() {
|
|
14387
|
+
this.bccEmailAddressesChange.emit(this.bccEmailAddresses);
|
|
14388
|
+
}
|
|
14389
|
+
}
|
|
14390
|
+
EmailSelectorComponent.decorators = [
|
|
14391
|
+
{ type: Component, args: [{
|
|
14392
|
+
selector: "co-email-selector",
|
|
14393
|
+
template: `
|
|
14394
|
+
|
|
14395
|
+
<div class="recipients-line">
|
|
14396
|
+
<co-role-email-selector [(model)]="emailAddresses" [key]="key" [workflowCategoryType]="workflowCategoryType"
|
|
14397
|
+
(modelChange)="handleEmailAddressesChanged()"></co-role-email-selector>
|
|
14398
|
+
<label class="BCC-label"[textContent]="'BCC'"></label>
|
|
14399
|
+
<co-button [iconData]="buttonIcon" (click)="toggleBCC()"></co-button>
|
|
14400
|
+
</div>
|
|
14401
|
+
<co-role-email-selector *ngIf="showBCC" [(model)]="bccEmailAddresses" [key]="key" [workflowCategoryType]="workflowCategoryType"
|
|
14402
|
+
(modelChange)="handleBccEmailAddressesChanged()"></co-role-email-selector>
|
|
14403
|
+
|
|
14404
|
+
`
|
|
14405
|
+
},] }
|
|
14406
|
+
];
|
|
14407
|
+
EmailSelectorComponent.ctorParameters = () => [
|
|
14408
|
+
{ type: IconCacheService },
|
|
14409
|
+
{ type: SharedService }
|
|
14410
|
+
];
|
|
14411
|
+
EmailSelectorComponent.propDecorators = {
|
|
14412
|
+
key: [{ type: Input }],
|
|
14413
|
+
workflowCategoryType: [{ type: Input }],
|
|
14414
|
+
emailAddresses: [{ type: Input }],
|
|
14415
|
+
bccEmailAddresses: [{ type: Input }],
|
|
14416
|
+
emailAddressesChange: [{ type: Output }],
|
|
14417
|
+
bccEmailAddressesChange: [{ type: Output }],
|
|
14418
|
+
showClass: [{ type: HostBinding, args: ["class.co-email-selector",] }]
|
|
14419
|
+
};
|
|
14420
|
+
|
|
14421
|
+
class EmailSelectorModule {
|
|
14422
|
+
}
|
|
14423
|
+
EmailSelectorModule.decorators = [
|
|
14424
|
+
{ type: NgModule, args: [{
|
|
14425
|
+
imports: [
|
|
14426
|
+
ListOfValuesModule,
|
|
14427
|
+
InputTextModule,
|
|
14428
|
+
LocalizationModule,
|
|
14429
|
+
IconModule,
|
|
14430
|
+
CommonModule,
|
|
14431
|
+
RoleEmailSelectorModule,
|
|
14432
|
+
ButtonModule,
|
|
14433
|
+
],
|
|
14434
|
+
declarations: [
|
|
14435
|
+
EmailSelectorComponent
|
|
14436
|
+
],
|
|
14437
|
+
exports: [
|
|
14438
|
+
EmailSelectorComponent
|
|
14439
|
+
],
|
|
14440
|
+
providers: [
|
|
14441
|
+
BusinessObjectFactory
|
|
14442
|
+
]
|
|
14443
|
+
},] }
|
|
14444
|
+
];
|
|
14445
|
+
|
|
14278
14446
|
class NotificationSummaryBlockModule {
|
|
14279
14447
|
}
|
|
14280
14448
|
NotificationSummaryBlockModule.decorators = [
|
|
@@ -14284,7 +14452,8 @@ NotificationSummaryBlockModule.decorators = [
|
|
|
14284
14452
|
ListOfValuesModule,
|
|
14285
14453
|
ButtonModule,
|
|
14286
14454
|
CommonModule,
|
|
14287
|
-
RoleEmailSelectorModule
|
|
14455
|
+
RoleEmailSelectorModule,
|
|
14456
|
+
EmailSelectorModule
|
|
14288
14457
|
],
|
|
14289
14458
|
declarations: [
|
|
14290
14459
|
NotificationSummaryBlockComponent
|
|
@@ -15363,8 +15532,6 @@ class TaskCreatorComponent {
|
|
|
15363
15532
|
this.senderAddress = '';
|
|
15364
15533
|
this.emailAddresses = [];
|
|
15365
15534
|
this.bccEmailAddresses = [];
|
|
15366
|
-
this.oldEmailAddresses = [];
|
|
15367
|
-
this.oldBccEmailAddresses = [];
|
|
15368
15535
|
this.emailRequest = null;
|
|
15369
15536
|
this.remarkText = "";
|
|
15370
15537
|
this.workDescription = "";
|
|
@@ -15404,30 +15571,6 @@ class TaskCreatorComponent {
|
|
|
15404
15571
|
ArrayUtils.RemoveElement(doc, this.documents);
|
|
15405
15572
|
});
|
|
15406
15573
|
}
|
|
15407
|
-
openEmailDialog() {
|
|
15408
|
-
this.showEmailDialog = true;
|
|
15409
|
-
this.oldEmailAddresses = this.emailAddresses.slice();
|
|
15410
|
-
this.oldBccEmailAddresses = this.bccEmailAddresses.slice();
|
|
15411
|
-
}
|
|
15412
|
-
emailDialogClosed() {
|
|
15413
|
-
if (this.emailAddresses.length >= 0) {
|
|
15414
|
-
this.emailRequest = new activityEmailRequestData;
|
|
15415
|
-
this.emailRequest.table = this.table;
|
|
15416
|
-
this.emailRequest.key = this.remarkAndWorkKey;
|
|
15417
|
-
this.emailRequest.senderAddress = this.senderAddress;
|
|
15418
|
-
this.emailRequest.sendAddresses = this.emailAddresses;
|
|
15419
|
-
this.emailRequest.ccAddresses = this.bccEmailAddresses;
|
|
15420
|
-
}
|
|
15421
|
-
else {
|
|
15422
|
-
this.emailRequest = null;
|
|
15423
|
-
}
|
|
15424
|
-
this.showEmailDialog = false;
|
|
15425
|
-
}
|
|
15426
|
-
emailDialogCancelled() {
|
|
15427
|
-
this.emailAddresses = this.oldEmailAddresses.slice();
|
|
15428
|
-
this.bccEmailAddresses = this.oldBccEmailAddresses.slice();
|
|
15429
|
-
this.showEmailDialog = false;
|
|
15430
|
-
}
|
|
15431
15574
|
createRemarkClicked() {
|
|
15432
15575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15433
15576
|
this._formMasterService.submitSlaves();
|
|
@@ -15649,6 +15792,9 @@ TaskCreatorComponent.decorators = [
|
|
|
15649
15792
|
{ type: Component, args: [{
|
|
15650
15793
|
selector: "co-task-creator",
|
|
15651
15794
|
template: `
|
|
15795
|
+
<div class="top-rows">
|
|
15796
|
+
<co-email-selector [(emailAddresses)]="emailAddresses" [(bccEmailAddresses)]="bccEmailAddresses"
|
|
15797
|
+
[key]="remarkAndWorkKey" [workflowCategoryType]="workflowCategoryType"></co-email-selector>
|
|
15652
15798
|
<co-form #createForm class="input-fields">
|
|
15653
15799
|
<co-list-of-icons [collection]="optionCollection" (itemSelected)="itemSelected($event)"></co-list-of-icons>
|
|
15654
15800
|
<co-input-text *ngIf="chosenActivityType === optionCollection[0]" [required]="chosenActivityType === optionCollection[0]"
|
|
@@ -15666,8 +15812,8 @@ TaskCreatorComponent.decorators = [
|
|
|
15666
15812
|
<co-input-text [(model)]="taskDescription" [placeholder]="'DESCRIPTION' | localize" [required]="chosenActivityType === optionCollection[2]"></co-input-text>
|
|
15667
15813
|
</div>
|
|
15668
15814
|
</co-form>
|
|
15815
|
+
</div>
|
|
15669
15816
|
<div class="extras-buttons">
|
|
15670
|
-
<co-button [iconData]="iconService.getIcon(icons.EmailRegular)" (click)="openEmailDialog()"></co-button>
|
|
15671
15817
|
<co-button [iconData]="iconService.getIcon(icons.PaperclipRegular)" (click)="openAttachmentDialog()"
|
|
15672
15818
|
[label]="documents.length === 0 ? '' : documents.length.toString()" ></co-button>
|
|
15673
15819
|
</div>
|
|
@@ -15697,34 +15843,6 @@ TaskCreatorComponent.decorators = [
|
|
|
15697
15843
|
(click)="attachmentDialogCancelled()"></co-button>
|
|
15698
15844
|
</div>
|
|
15699
15845
|
</ng-template>
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
<co-dialog *ngIf="showEmailDialog" (closeClick)="emailDialogClosed()"
|
|
15703
|
-
[footerTemplate]="emailFooterTemplate"
|
|
15704
|
-
[headerTemplate]="emailheaderTemplate">
|
|
15705
|
-
<ng-template #emailheaderTemplate>
|
|
15706
|
-
<div class="co-dialog-wrapper-popup-title">
|
|
15707
|
-
<co-icon [iconData]="iconService.getIcon(icons.EmailRegular)"></co-icon>
|
|
15708
|
-
<div class="co-dialog-header-title" [textContent]="'SEND_EMAIL' | localize"></div>
|
|
15709
|
-
</div>
|
|
15710
|
-
</ng-template>
|
|
15711
|
-
<co-role-email-selector [(model)]="emailAddresses" [key]="remarkAndWorkKey" [workflowCategoryType]="workflowCategoryType"></co-role-email-selector>
|
|
15712
|
-
<co-role-email-selector [(model)]="bccEmailAddresses" [key]="remarkAndWorkKey" [workflowCategoryType]="workflowCategoryType" [recipientLabel]="'BCC_RECIPIENT'" [extraLabel]="'BCC_EXTRA_EMAIL_ADDRESSES'"></co-role-email-selector>
|
|
15713
|
-
<!--TODO: reimplement once we have the backend functionality for this-->
|
|
15714
|
-
<!--<co-input-text [readonly]="false" [label]="'SENDER' | localize" [(model)]="senderAddress"></co-input-text>-->
|
|
15715
|
-
|
|
15716
|
-
</co-dialog>
|
|
15717
|
-
|
|
15718
|
-
<ng-template #emailFooterTemplate>
|
|
15719
|
-
<div class="co-dialog-footer-button-wrapper">
|
|
15720
|
-
<co-button class="save-button"
|
|
15721
|
-
[iconData]="iconService.getIcon(icons.CheckDuotone)"
|
|
15722
|
-
(click)="emailDialogClosed()"></co-button>
|
|
15723
|
-
<co-button class="close-button"
|
|
15724
|
-
[iconData]="iconService.getIcon(icons.CrossSkinny)"
|
|
15725
|
-
(click)="emailDialogCancelled()"></co-button>
|
|
15726
|
-
</div>
|
|
15727
|
-
</ng-template>
|
|
15728
15846
|
`,
|
|
15729
15847
|
providers: [
|
|
15730
15848
|
FormMasterService
|
|
@@ -15765,7 +15883,8 @@ TaskCreatorModule.decorators = [
|
|
|
15765
15883
|
ListOfIconsModule,
|
|
15766
15884
|
FormModule,
|
|
15767
15885
|
IconModule,
|
|
15768
|
-
RoleEmailSelectorModule
|
|
15886
|
+
RoleEmailSelectorModule,
|
|
15887
|
+
EmailSelectorModule
|
|
15769
15888
|
],
|
|
15770
15889
|
declarations: [
|
|
15771
15890
|
TaskCreatorComponent
|
|
@@ -15787,5 +15906,5 @@ TaskCreatorModule.decorators = [
|
|
|
15787
15906
|
* Generated bundle index. Do not edit.
|
|
15788
15907
|
*/
|
|
15789
15908
|
|
|
15790
|
-
export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, TaskCreatorComponent, TaskCreatorModule, Translation, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockStatusbarComponent as ɵba, LocalizationModule as ɵbb, LocalizePipe as ɵbc, StockInformationComponent as ɵbd, StockInformationGridComponent as ɵbe, StockTransferComponent as ɵbf, StockChangeAmountComponent as ɵbg, StockTabComponent as ɵbh, OrderTabComponent as ɵbi, StockTabsComponent as ɵbj, StockHistoryTabsComponent as ɵbk, OrderStockTabComponent as ɵbl, StockLocationComponent as ɵbm, StockHistoryComponent as ɵbn, OrderSupplyStockHistoryComponent as ɵbo, OrderCommissionStockHistoryComponent as ɵbp, OrderStockHistoryComponent as ɵbq, AllocationStockHistoryComponent as ɵbr, StockPrognoseComponent as ɵbs, StockLocationPopupComponent as ɵbt, SendMethod as ɵbu, Icon as ɵbv, CalendarAllYearsComponent as ɵbw, CalendarAllMonthsComponent as ɵbx, CalendarHeaderComponent as ɵby, CalendarComponent as ɵbz, StockService as ɵc, CalendarViewComponent as ɵca, AgendaHeaderComponent as ɵcb, AgendaViewComponent as ɵcc, AgendaMonthViewComponent as ɵcd, AgendaBaseViewComponent as ɵce, AgendaDayViewComponent as ɵcf, AgendaWeekViewComponent as ɵcg, AgendaWeekSelectViewComponent as ɵch, AgendaHourViewComponent as ɵci, AgendaHourCellComponent as ɵcj, AgendaHourViewLabelsComponent as ɵck, AgendaHalfHourCellComponent as ɵcl, AgendaEventsComponent as ɵcm, AgendaEventComponent as ɵcn, ViewSelectComponent as ɵco, AgendaSelectEventComponent as ɵcp, MASTER_PIPES as ɵcq, ArrayNumberPipe as ɵcr, UCfirstPipe as ɵcs, FileTypeImagePipe as ɵct, BaseFileUploadComponent as ɵcu, InputBoolean as ɵcv, ImageDisplayModule as ɵcw, ImageDisplayComponent as ɵcx, FileUploadModule as ɵcy, TileRenderModule as ɵcz, SharedConnectorService as ɵd, TileRenderComponent as ɵda, FileUploadComponent as ɵdb, FileUploadPopupModule as ɵdc, MultiplePropertyTogglerModule as ɵdd, MultiplePropertyTogglerComponent as ɵde, FileUploadPopupComponent as ɵdf, AppFileDropzoneModule as ɵdg, AppFileDropzoneComponent as ɵdh, DragDropContainerComponent as ɵdi, DragDropService as ɵdj, BaseActivityListComponent as ɵdk, PersonalActivityOverviewComponent as ɵdl, BaseActivityOverviewComponent as ɵdm, TaskModifierComponent as ɵdn, ModifyTaskFormComponent as ɵdo, PersonalActivityOverviewModule as ɵdp, ComponentActivityOverviewModule as ɵdq, TaskModifyerModule as ɵdr, ModifyTaskFormModule as ɵds, TaskDetailsModule as ɵdt, TaskDetailsComponent as ɵdu, BaseActivitySummaryComponent as ɵdv, ExecutiveSummaryBlockModule as ɵdw, ActivitySummaryBlockModule as ɵdx, ActivitySummaryBlockComponent as ɵdy, ExecutiveSummaryBlockComponent as ɵdz, OptionsService as ɵe, StatusSummaryBlockModule as ɵea, StatusSummaryBlockComponent as ɵeb, CreationSummaryBlockModule as ɵec, CreationSummaryBlockComponent as ɵed, NotificationSummaryBlockModule as ɵee,
|
|
15909
|
+
export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, TaskCreatorComponent, TaskCreatorModule, Translation, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockStatusbarComponent as ɵba, LocalizationModule as ɵbb, LocalizePipe as ɵbc, StockInformationComponent as ɵbd, StockInformationGridComponent as ɵbe, StockTransferComponent as ɵbf, StockChangeAmountComponent as ɵbg, StockTabComponent as ɵbh, OrderTabComponent as ɵbi, StockTabsComponent as ɵbj, StockHistoryTabsComponent as ɵbk, OrderStockTabComponent as ɵbl, StockLocationComponent as ɵbm, StockHistoryComponent as ɵbn, OrderSupplyStockHistoryComponent as ɵbo, OrderCommissionStockHistoryComponent as ɵbp, OrderStockHistoryComponent as ɵbq, AllocationStockHistoryComponent as ɵbr, StockPrognoseComponent as ɵbs, StockLocationPopupComponent as ɵbt, SendMethod as ɵbu, Icon as ɵbv, CalendarAllYearsComponent as ɵbw, CalendarAllMonthsComponent as ɵbx, CalendarHeaderComponent as ɵby, CalendarComponent as ɵbz, StockService as ɵc, CalendarViewComponent as ɵca, AgendaHeaderComponent as ɵcb, AgendaViewComponent as ɵcc, AgendaMonthViewComponent as ɵcd, AgendaBaseViewComponent as ɵce, AgendaDayViewComponent as ɵcf, AgendaWeekViewComponent as ɵcg, AgendaWeekSelectViewComponent as ɵch, AgendaHourViewComponent as ɵci, AgendaHourCellComponent as ɵcj, AgendaHourViewLabelsComponent as ɵck, AgendaHalfHourCellComponent as ɵcl, AgendaEventsComponent as ɵcm, AgendaEventComponent as ɵcn, ViewSelectComponent as ɵco, AgendaSelectEventComponent as ɵcp, MASTER_PIPES as ɵcq, ArrayNumberPipe as ɵcr, UCfirstPipe as ɵcs, FileTypeImagePipe as ɵct, BaseFileUploadComponent as ɵcu, InputBoolean as ɵcv, ImageDisplayModule as ɵcw, ImageDisplayComponent as ɵcx, FileUploadModule as ɵcy, TileRenderModule as ɵcz, SharedConnectorService as ɵd, TileRenderComponent as ɵda, FileUploadComponent as ɵdb, FileUploadPopupModule as ɵdc, MultiplePropertyTogglerModule as ɵdd, MultiplePropertyTogglerComponent as ɵde, FileUploadPopupComponent as ɵdf, AppFileDropzoneModule as ɵdg, AppFileDropzoneComponent as ɵdh, DragDropContainerComponent as ɵdi, DragDropService as ɵdj, BaseActivityListComponent as ɵdk, PersonalActivityOverviewComponent as ɵdl, BaseActivityOverviewComponent as ɵdm, TaskModifierComponent as ɵdn, ModifyTaskFormComponent as ɵdo, PersonalActivityOverviewModule as ɵdp, ComponentActivityOverviewModule as ɵdq, TaskModifyerModule as ɵdr, ModifyTaskFormModule as ɵds, TaskDetailsModule as ɵdt, TaskDetailsComponent as ɵdu, BaseActivitySummaryComponent as ɵdv, ExecutiveSummaryBlockModule as ɵdw, ActivitySummaryBlockModule as ɵdx, ActivitySummaryBlockComponent as ɵdy, ExecutiveSummaryBlockComponent as ɵdz, OptionsService as ɵe, StatusSummaryBlockModule as ɵea, StatusSummaryBlockComponent as ɵeb, CreationSummaryBlockModule as ɵec, CreationSummaryBlockComponent as ɵed, NotificationSummaryBlockModule as ɵee, EmailSelectorModule as ɵef, EmailSelectorComponent as ɵeg, NotificationSummaryBlockComponent as ɵeh, ComponentActivityOverviewComponent as ɵei, ActivityListHeaderModule as ɵej, WorkflowNotificationToggleModule as ɵek, DirectivesModule as ɵel, AbsoluteOverlayTemplateDirective as ɵem, AppAbsoluteOverlayOutletService as ɵen, AlignWithDirective as ɵeo, ClickOutsideDirective as ɵep, WorkflowNotificationToggleComponent as ɵeq, WorkflowNotificationTogglePopupComponent as ɵer, PeriodFilterModule as ɵes, PeriodFilterComponent as ɵet, PeriodFilterPopupComponent as ɵeu, ActivityListHeaderComponent as ɵev, WorkflowInfoTileModule as ɵew, WorkflowInfoTileComponent as ɵex, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, LanguageCode as ɵi, SendMethodService as ɵj, SendMethodEmailModule as ɵk, LayoutSelectionModule as ɵl, LayoutSelectionComponent as ɵm, SignatureButtonModule as ɵn, SignatureButtonComponent as ɵo, SendMethodEmailComponent as ɵp, SendMethodPrinterModule as ɵq, PrinterSelectionModule as ɵr, PrinterSelectionComponent as ɵs, SendMethodPrinterComponent as ɵt, SendMethodPdfModule as ɵu, SendMethodPdfComponent as ɵv, TabBarModule as ɵw, TabBarComponent as ɵx, StatusbarPopupComponent as ɵy, StockStatusbarModule as ɵz };
|
|
15791
15910
|
//# sourceMappingURL=colijnit-sharedcomponents.js.map
|