@colijnit/sharedcomponents 255.1.6 → 255.1.8
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 +21 -6
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +153 -146
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +4 -3
- package/esm2015/lib/components/stock/localization/translation.js +3 -1
- package/esm2015/lib/components/task-creator/task-creator.component.js +2 -2
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +3 -2
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/fesm2015/colijnit-sharedcomponents.js +159 -148
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +2 -2
- package/lib/components/activity-list/style/_layout.scss +4 -0
- package/lib/components/activity-overview-component/style/_layout.scss +35 -5
- package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +5 -1
- package/lib/components/file-upload-popup/style/_layout.scss +53 -8
- package/lib/components/open-activity-list/style/_layout.scss +1 -2
- package/lib/components/stock/localization/translation.d.ts +2 -0
- package/lib/components/task-creator/style/_layout.scss +11 -8
- package/lib/enum/icon.enum.d.ts +1 -0
- package/{main.2396a36c81daedb9fd1f.js → main.d0249f34b89d4e820129.js} +1 -1
- package/package.json +2 -2
- package/{styles.7699734a9d860ab3b86f.css → styles.5648bca110e9e1584719.css} +1 -1
|
@@ -1633,6 +1633,7 @@ var Icon;
|
|
|
1633
1633
|
Icon["FileSignatureRegular"] = "file_signature_regular";
|
|
1634
1634
|
Icon["HouseBlankRegular"] = "house_blank_regular";
|
|
1635
1635
|
Icon["IoneWorkflow"] = "ione_workflow";
|
|
1636
|
+
Icon["ListUlRegular"] = "list_ul_regular";
|
|
1636
1637
|
Icon["Lock"] = "lock";
|
|
1637
1638
|
Icon["MessageSmsRegular"] = "message_sms_regular";
|
|
1638
1639
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
@@ -1696,6 +1697,7 @@ const IconSvg = {
|
|
|
1696
1697
|
"file_signature_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M64 464H320c8.8 0 16-7.2 16-16v-6.7l39.8-9.9c2.8-.7 5.6-1.6 8.2-2.7V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3v49.1l-48 48V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zm96-115l-9.8 32.8c-6.1 20.3-24.8 34.2-46 34.2H96c-8.8 0-16-7.2-16-16s7.2-16 16-16h8.2c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.7 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8h25.6l12-48.2c1.4-5.6 4.3-10.8 8.4-14.9L441.1 191.8l71 71L382.9 391.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-1.1 .3-2.1 .4-3.2 .5c-.8 .1-1.5 .2-2.3 .2H256c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L160 349zM549.8 139.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0z\"/></svg>",
|
|
1697
1698
|
"house_blank_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M303.5 5.7c-9-7.6-22.1-7.6-31.1 0l-264 224c-10.1 8.6-11.3 23.7-2.8 33.8s23.7 11.3 33.8 2.8L64 245.5V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V245.5l24.5 20.8c10.1 8.6 25.3 7.3 33.8-2.8s7.3-25.3-2.8-33.8l-264-224zM464 204.8V432c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V204.8L288 55.5 464 204.8z\"/></svg>",
|
|
1698
1699
|
"ione_workflow": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g display=\"none\"></g><g ><g ><g><g><rect x=\"34.3\" y=\"20\" fill=\"#484F60\" width=\"1.5\" height=\"3.7\"/><g><polygon fill=\"#484F60\" points=\"32,22.8 35,28 38,22.8 \"/></g></g><path fill=\"#484F60\" d=\"M18.5,21.5v7h-7v-7H18.5 M20,20H10v10h10V20L20,20z\"/><path fill=\"#484F60\" d=\"M38.5,11.5v7h-7v-7H38.5 M40,10H30v10h10V10L40,10z\"/><path fill=\"#484F60\" d=\"M38.5,31.5v7h-7v-7H38.5 M40,30H30v10h10V30L40,30z\"/><g><polygon fill=\"#484F60\" points=\"15.8,20 14.3,20 14.3,14.3 23.7,14.3 23.7,15.8 15.8,15.8 \"/><g><polygon fill=\"#484F60\" points=\"22.8,18 28,15 22.8,12 \"/></g></g><g><polygon fill=\"#484F60\" points=\"23.7,35.8 14.3,35.8 14.3,30 15.8,30 15.8,34.3 23.7,34.3 \"/><g><polygon fill=\"#484F60\" points=\"22.8,38 28,35 22.8,32 \"/></g></g></g></g><g display=\"none\"></g></g><g display=\"none\"></g><g display=\"none\"></g><g display=\"none\"></g><g display=\"none\"></g><g display=\"none\"><g display=\"inline\"><rect y=\"50\" opacity=\"0.25\" fill=\"#FFFFFF\" width=\"50\" height=\"50\"/></g><g display=\"inline\"><g><rect y=\"-45\" opacity=\"0.5\" fill=\"none\" width=\"50\" height=\"45\"/><text transform=\"matrix(1 0 0 1 7.375 -37.9002)\"><tspan x=\"0\" y=\"0\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">Opmaak </tspan><tspan x=\"5.4\" y=\"12\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">item / </tspan><tspan x=\"-1.4\" y=\"24\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">structuur </tspan><tspan x=\"8.1\" y=\"36\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">item </tspan></text></g></g><g display=\"inline\"><g><rect y=\"0\" opacity=\"0.25\" fill=\"#FFFFFF\" width=\"50\" height=\"50\"/><rect y=\"5\" opacity=\"0.5\" fill=\"none\" width=\"50\" height=\"45\"/><text transform=\"matrix(1 0 0 1 5.0054 12.0999)\" font-family=\"'MyriadPro-Regular'\" font-size=\"10px\">Workflow</text></g></g></g></svg>",
|
|
1700
|
+
"list_ul_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M64 64a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm120 8c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L184 72zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zM96 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM64 384a32 32 0 1 0 0 64 32 32 0 1 0 0-64z\"/></svg>",
|
|
1699
1701
|
"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>",
|
|
1700
1702
|
"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>",
|
|
1701
1703
|
"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>",
|
|
@@ -5538,6 +5540,7 @@ class Translation {
|
|
|
5538
5540
|
this.RELATION_ID = 'RELATION_ID';
|
|
5539
5541
|
this.RELATION_NR = 'RELATION_NR';
|
|
5540
5542
|
this.REMARK = 'REMARK';
|
|
5543
|
+
this.REPORTS_TO_ATTACH_TO = 'REPORTS_TO_ATTACH_TO';
|
|
5541
5544
|
this.RESERVED = 'RESERVED';
|
|
5542
5545
|
this.QUANTITY = 'QUANTITY';
|
|
5543
5546
|
this.SEARCH = 'SEARCH';
|
|
@@ -5554,6 +5557,7 @@ class Translation {
|
|
|
5554
5557
|
this.STOCK_STATE = 'STOCK_STATE';
|
|
5555
5558
|
this.STOCK_STATUS = 'STOCK_STATUS';
|
|
5556
5559
|
this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
|
|
5560
|
+
this.TITLE = 'TITLE';
|
|
5557
5561
|
this.TRANSFER = 'TRANSFER';
|
|
5558
5562
|
this.TRANSFER_STOCK = 'TRANSFER_STOCK';
|
|
5559
5563
|
this.USER = 'USER';
|
|
@@ -9456,9 +9460,17 @@ var DomainMultipleName;
|
|
|
9456
9460
|
class FileUploadPopupComponent {
|
|
9457
9461
|
constructor(
|
|
9458
9462
|
//private _workabilityService: AppWorkabilityService,
|
|
9459
|
-
_promptService, _fileTypeImgPipe
|
|
9463
|
+
_promptService, _fileTypeImgPipe,
|
|
9464
|
+
//private _userRights: UserRightsService,
|
|
9465
|
+
//private _baseDataRepo: BaseDataDalRepository,
|
|
9466
|
+
//private _tagsRepo: TagsDalRepository,
|
|
9467
|
+
//private _dataService: DataService,
|
|
9468
|
+
//private _toastService: AppToastService
|
|
9469
|
+
iconCacheService) {
|
|
9460
9470
|
this._promptService = _promptService;
|
|
9461
9471
|
this._fileTypeImgPipe = _fileTypeImgPipe;
|
|
9472
|
+
this.iconCacheService = iconCacheService;
|
|
9473
|
+
this.icon = Icon;
|
|
9462
9474
|
this.useWithoutSettingProps = false;
|
|
9463
9475
|
this.hasPublicAccessVisible = false;
|
|
9464
9476
|
this.showDocumentReportPicker = true;
|
|
@@ -9626,155 +9638,151 @@ FileUploadPopupComponent.decorators = [
|
|
|
9626
9638
|
template: `
|
|
9627
9639
|
<co-dialog *ngIf="!useWithoutSettingProps && documentUnderEdit" cssId="popup_files_upload_content"
|
|
9628
9640
|
[headerTemplate]="headerTemplate" contentSize noClickOutside
|
|
9641
|
+
[footerTemplate]="footerTemplate"
|
|
9629
9642
|
(close)="onPopupClose()" (closeClick)="onPopupCancelClick()">
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
<
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9643
|
+
<div class="file-upload-form-wrapper" fxLayout="column" fxLayoutGap="10px">
|
|
9644
|
+
<co-form class="narrow-scrollbar" (validSubmit)="onValidSubmit()">
|
|
9645
|
+
<div class="horizontal-layout-column">
|
|
9646
|
+
<div class="document-thumb column-left" *ngIf="!addDocumentByUrl">
|
|
9647
|
+
<a (click)="onPreviewClick()"><img [src]="thumbnail"/></a>
|
|
9648
|
+
</div>
|
|
9649
|
+
<div class="column-right">
|
|
9650
|
+
<co-input-text
|
|
9651
|
+
[(model)]="documentUnderEdit.title"
|
|
9652
|
+
[screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
|
|
9653
|
+
filesUploadConfigObjects?.ImageDocumentTitle :
|
|
9654
|
+
filesUploadConfigObjects?.TextDocumentTitle"
|
|
9655
|
+
[placeholder]="'TITLE' | localize"
|
|
9656
|
+
noValidation forceReadonly></co-input-text>
|
|
9657
|
+
<co-input-text [placeholder]="'DESCRIPTION' | localize" [(model)]="documentUnderEdit.description"
|
|
9658
|
+
[screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
|
|
9659
|
+
filesUploadConfigObjects?.ImageDocumentDescription :
|
|
9660
|
+
filesUploadConfigObjects?.TextDocumentDescription"
|
|
9661
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9662
|
+
></co-input-text>
|
|
9663
|
+
<div class="row sizes">
|
|
9664
|
+
<co-input-text
|
|
9665
|
+
[model]="documentUnderEdit.fileSize"
|
|
9666
|
+
[screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
|
|
9667
|
+
filesUploadConfigObjects?.ImageDocumentFileSize :
|
|
9668
|
+
filesUploadConfigObjects?.TextDocumentFileSize"
|
|
9669
|
+
[placeholder]="'SIZE' | localize"
|
|
9670
|
+
forceReadonly
|
|
9671
|
+
noValidation>
|
|
9672
|
+
</co-input-text>
|
|
9673
|
+
<ng-container *ngIf="documentUnderEdit.isImageDocument()">
|
|
9674
|
+
<co-input-text [placeholder]="'DIMENSIONS' | localize"
|
|
9675
|
+
[model]="documentUnderEdit.imageDimensions"
|
|
9676
|
+
[screenConfigurationObject]="filesUploadConfigObjects?.ImageDocumentDimensions"
|
|
9677
|
+
forceReadonly noValidation></co-input-text>
|
|
9678
|
+
</ng-container>
|
|
9679
|
+
</div>
|
|
9680
|
+
</div>
|
|
9681
|
+
</div>
|
|
9667
9682
|
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
[readWriteCfgNames]="filesUploadConfigObjects?.readWriteAccess"
|
|
9673
|
-
[layoutHorizontal]="true"
|
|
9674
|
-
[medicalUserGroups]="medicalUserGroups"
|
|
9675
|
-
[(userGroupsForWrite)]="userGroupsForWrite"
|
|
9676
|
-
[(userGroupsForRead)]="userGroupsForRead"
|
|
9677
|
-
[readonly]="docUnderEditIsReadOnly"
|
|
9678
|
-
></read-write-access>
|
|
9679
|
-
</div>-->
|
|
9680
|
-
<!--<div class="horizontal-layout-column">
|
|
9681
|
-
<ng-container *ngIf="addDocumentByUrl">
|
|
9682
|
-
<co-input-text required [placeholder]="'URL' | localize" [(model)]="documentUnderEdit.filePath"
|
|
9683
|
-
[readonly]="docUnderEditIsReadOnly"></co-input-text>
|
|
9684
|
-
</ng-container>
|
|
9685
|
-
</div>-->
|
|
9686
|
-
<div class="horizontal-layout-column">
|
|
9687
|
-
<div class="column-left">
|
|
9688
|
-
<co-input-text [placeholder]="'DESCRIPTION' | localize" [(model)]="documentUnderEdit.description"
|
|
9689
|
-
[screenConfigurationObject]="documentUnderEdit.isImageDocument() ?
|
|
9690
|
-
filesUploadConfigObjects?.ImageDocumentDescription :
|
|
9691
|
-
filesUploadConfigObjects?.TextDocumentDescription"
|
|
9692
|
-
[readonly]="docUnderEditIsReadOnly"
|
|
9693
|
-
></co-input-text>
|
|
9683
|
+
<div>
|
|
9684
|
+
<!--<sc-tags
|
|
9685
|
+
[tagCategory]="tagCategory"
|
|
9686
|
+
[readonly]="docUnderEditIsReadOnly"-->
|
|
9694
9687
|
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9741
|
-
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9688
|
+
<!-- ></sc-tags>--><!-- [myCfgNames]="tagsConfigName" | [(joinedTags)]="this.documentUnderEdit.tags"-->
|
|
9689
|
+
</div>
|
|
9690
|
+
<!--<div>
|
|
9691
|
+
<read-write-access *ngIf="showReadWriteAccess"
|
|
9692
|
+
[readWriteCfgNames]="filesUploadConfigObjects?.readWriteAccess"
|
|
9693
|
+
[layoutHorizontal]="true"
|
|
9694
|
+
[medicalUserGroups]="medicalUserGroups"
|
|
9695
|
+
[(userGroupsForWrite)]="userGroupsForWrite"
|
|
9696
|
+
[(userGroupsForRead)]="userGroupsForRead"
|
|
9697
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9698
|
+
></read-write-access>
|
|
9699
|
+
</div>-->
|
|
9700
|
+
<!--<div class="horizontal-layout-column">
|
|
9701
|
+
<ng-container *ngIf="addDocumentByUrl">
|
|
9702
|
+
<co-input-text required [placeholder]="'URL' | localize" [(model)]="documentUnderEdit.filePath"
|
|
9703
|
+
[readonly]="docUnderEditIsReadOnly"></co-input-text>
|
|
9704
|
+
</ng-container>
|
|
9705
|
+
</div>-->
|
|
9706
|
+
<div class="horizontal-layout-column">
|
|
9707
|
+
<!--<div *ngIf="hasPublicAccessVisible" class="column-right">
|
|
9708
|
+
<input-switcher-yes-no label="PUBLIC_ACCESS"
|
|
9709
|
+
[(model)]="documentUnderEdit.hasPublicAccess"
|
|
9710
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9711
|
+
></input-switcher-yes-no>
|
|
9712
|
+
</div>-->
|
|
9713
|
+
</div>
|
|
9714
|
+
<div class="horizontal-layout-column">
|
|
9715
|
+
<ng-container *ngIf="!documentUnderEdit.isImageDocument()">
|
|
9716
|
+
<div class="column-left">
|
|
9717
|
+
<!-- <input-switcher-yes-no label="DOWNLOADABLE"
|
|
9718
|
+
[(model)]="documentUnderEdit.downloadable"
|
|
9719
|
+
[cfgName]="filesUploadConfigObjects?.TextDocumentDownloadable"
|
|
9720
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9721
|
+
></input-switcher-yes-no>-->
|
|
9722
|
+
</div>
|
|
9723
|
+
</ng-container>
|
|
9724
|
+
</div>
|
|
9725
|
+
<div class="horizontal-layout-column">
|
|
9726
|
+
<ng-container *ngIf="fileType === fileTypes.ThreeDFile">
|
|
9727
|
+
<div class="column-left">
|
|
9728
|
+
<!-- <input-switcher-yes-no label="ALSO_AS_USDZ"
|
|
9729
|
+
[(model)]="documentUnderEdit.convertToUSDZ"
|
|
9730
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9731
|
+
></input-switcher-yes-no>-->
|
|
9732
|
+
</div>
|
|
9733
|
+
</ng-container>
|
|
9734
|
+
</div>
|
|
9735
|
+
<div class="horizontal-layout-column">
|
|
9736
|
+
<ng-container *ngIf="documentUnderEdit.isImageDocument()">
|
|
9737
|
+
<div class="column-left"><!--
|
|
9738
|
+
<input-switcher-yes-no label="ATTACH_TO_NOTIFICATION"
|
|
9739
|
+
[(model)]="documentUnderEdit.attachToNotification"
|
|
9740
|
+
[cfgName]="filesUploadConfigObjects?.ImageDocumentAttachNotification"
|
|
9741
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9742
|
+
></input-switcher-yes-no>-->
|
|
9743
|
+
</div>
|
|
9744
|
+
<div class="column-right"><!--
|
|
9745
|
+
<image-type-select
|
|
9746
|
+
[cfgName]="filesUploadConfigObjects?.ImageDocumentDisplayType"
|
|
9747
|
+
[(selectedModelId)]="this.documentUnderEdit.imageDisplayKind"
|
|
9748
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9749
|
+
label="DISPLAY_TYPE"
|
|
9750
|
+
></image-type-select>-->
|
|
9751
|
+
</div>
|
|
9752
|
+
</ng-container>
|
|
9753
|
+
</div>
|
|
9754
|
+
<div *ngIf="!isWorkability">
|
|
9755
|
+
<!-- <multiple-property-toggler *ngIf="!showDocumentReportPicker"
|
|
9756
|
+
[propertyNamesToToggle]="documentPublication"
|
|
9757
|
+
[(enableditems)]="this.documentUnderEdit.publication"
|
|
9758
|
+
(onPropertyItemChange)="handlePropertyChange($event)"
|
|
9759
|
+
label="PUBLISH_TO"
|
|
9760
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9761
|
+
></multiple-property-toggler>
|
|
9762
|
+
<co-multiple-property-toggler *ngIf="showDocumentReportPicker"
|
|
9763
|
+
[propertyNamesToToggle]="documentEmailReports"
|
|
9764
|
+
[(enableditems)]="documentUnderEdit.reports"
|
|
9765
|
+
(onPropertyItemChange)="handleReportsPropertyChange($event)"
|
|
9766
|
+
label="REPORTS_TO_ATTACH_TO"
|
|
9767
|
+
[readonly]="docUnderEditIsReadOnly"
|
|
9768
|
+
></co-multiple-property-toggler>-->
|
|
9758
9769
|
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
<co-button [disabled]="docUnderEditIsReadOnly" [textContent]="'OK' | localize" (click)="onPopupOkClick()"></co-button>
|
|
9765
|
-
<co-button *ngIf="hideCancel" [textContent]="'STICKER' | localize" (click)="onPopupCancelClick()"></co-button>
|
|
9766
|
-
</div>
|
|
9767
|
-
<!-- <default-ok-cancel-buttons class="justify-center"
|
|
9768
|
-
[okDisabled]="docUnderEditIsReadOnly"
|
|
9769
|
-
[hideCancel]="hideCancel"
|
|
9770
|
-
(okClick)="onPopupOkClick()"
|
|
9771
|
-
(cancelClick)="onPopupCancelClick()">
|
|
9772
|
-
</default-ok-cancel-buttons>-->
|
|
9773
|
-
</div>
|
|
9774
|
-
</div>
|
|
9770
|
+
<!--<ng-container *ngIf="documentUnderEdit.isImageDocument()"
|
|
9771
|
+
[templateWrapper]="templateImage"></ng-container>-->
|
|
9772
|
+
</div>
|
|
9773
|
+
</co-form>
|
|
9774
|
+
</div>
|
|
9775
9775
|
</co-dialog>
|
|
9776
9776
|
<ng-template #headerTemplate>
|
|
9777
|
-
|
|
9777
|
+
<div class="co-dialog-header-title" [textContent]="popupHeader | localize"></div>
|
|
9778
|
+
</ng-template>
|
|
9779
|
+
<ng-template #footerTemplate>
|
|
9780
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
9781
|
+
<co-button [disabled]="docUnderEditIsReadOnly" class="save-button"
|
|
9782
|
+
(click)="onPopupOkClick()" [iconData]="iconCacheService.getIcon(icon.CheckDuotone)"></co-button>
|
|
9783
|
+
<co-button class="close-button"
|
|
9784
|
+
(click)="onPopupCancelClick()" [iconData]="iconCacheService.getIcon(icon.CrossSkinny)"></co-button>
|
|
9785
|
+
</div>
|
|
9778
9786
|
</ng-template>
|
|
9779
9787
|
<ng-template #templateImage *ngIf="!isWorkability">
|
|
9780
9788
|
<!-- <div class="column-right">
|
|
@@ -9796,7 +9804,8 @@ FileUploadPopupComponent.decorators = [
|
|
|
9796
9804
|
];
|
|
9797
9805
|
FileUploadPopupComponent.ctorParameters = () => [
|
|
9798
9806
|
{ type: PromptService },
|
|
9799
|
-
{ type: FileTypeImagePipe }
|
|
9807
|
+
{ type: FileTypeImagePipe },
|
|
9808
|
+
{ type: IconCacheService }
|
|
9800
9809
|
];
|
|
9801
9810
|
FileUploadPopupComponent.propDecorators = {
|
|
9802
9811
|
form: [{ type: ViewChild, args: [FormComponent,] }],
|
|
@@ -11484,7 +11493,8 @@ FileUploadPopupModule.decorators = [
|
|
|
11484
11493
|
ButtonModule,
|
|
11485
11494
|
CommonModule,
|
|
11486
11495
|
ScreenConfigurationModule,
|
|
11487
|
-
MultiplePropertyTogglerModule
|
|
11496
|
+
MultiplePropertyTogglerModule,
|
|
11497
|
+
IconModule
|
|
11488
11498
|
],
|
|
11489
11499
|
declarations: [
|
|
11490
11500
|
FileUploadPopupComponent
|
|
@@ -15200,7 +15210,8 @@ class WorkflowInfoTileComponent {
|
|
|
15200
15210
|
return true;
|
|
15201
15211
|
}
|
|
15202
15212
|
ngOnInit() {
|
|
15203
|
-
this.backgroundColor = this.
|
|
15213
|
+
this.backgroundColor = (this.workflowProcessInfoPerStatus && this.workflowProcessInfoPerStatus.color) ?
|
|
15214
|
+
this.workflowProcessInfoPerStatus.color.replace('0x', '#') : "";
|
|
15204
15215
|
}
|
|
15205
15216
|
}
|
|
15206
15217
|
WorkflowInfoTileComponent.decorators = [
|
|
@@ -15280,7 +15291,7 @@ class TaskCreatorComponent {
|
|
|
15280
15291
|
this.optionCollection = [
|
|
15281
15292
|
{ icon: this.iconService.getIcon(this.icons.CommentRegular), label: this.dictionaryService.get('REMARK', true) },
|
|
15282
15293
|
{ icon: this.iconService.getIcon(this.icons.PersonDiggingRegular), label: this.dictionaryService.get('WORK', true) },
|
|
15283
|
-
{ icon: this.iconService.getIcon(this.icons.
|
|
15294
|
+
{ icon: this.iconService.getIcon(this.icons.ListUlRegular), label: this.dictionaryService.get('TASK', true) },
|
|
15284
15295
|
];
|
|
15285
15296
|
this.showFilesDialog = false;
|
|
15286
15297
|
this.documents = [];
|