@colijnit/sharedcomponents 255.1.6 → 255.1.7
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 +19 -5
- 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/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/fesm2015/colijnit-sharedcomponents.js +157 -147
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- 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/package.json +1 -1
- package/3rdpartylicenses.txt +0 -1405
- package/favicon.ico +0 -0
- package/index.html +0 -12
- package/main.2396a36c81daedb9fd1f.js +0 -1
- package/polyfills.907fe9d1887c5de17993.js +0 -1
- package/runtime.8aac21847ed3d3829cca.js +0 -1
- package/styles.7699734a9d860ab3b86f.css +0 -1
|
@@ -2388,6 +2388,7 @@
|
|
|
2388
2388
|
Icon["FileSignatureRegular"] = "file_signature_regular";
|
|
2389
2389
|
Icon["HouseBlankRegular"] = "house_blank_regular";
|
|
2390
2390
|
Icon["IoneWorkflow"] = "ione_workflow";
|
|
2391
|
+
Icon["ListUlRegular"] = "list_ul_regular";
|
|
2391
2392
|
Icon["Lock"] = "lock";
|
|
2392
2393
|
Icon["MessageSmsRegular"] = "message_sms_regular";
|
|
2393
2394
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
@@ -2451,6 +2452,7 @@
|
|
|
2451
2452
|
"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>",
|
|
2452
2453
|
"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>",
|
|
2453
2454
|
"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>",
|
|
2455
|
+
"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>",
|
|
2454
2456
|
"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>",
|
|
2455
2457
|
"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>",
|
|
2456
2458
|
"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>",
|
|
@@ -5532,6 +5534,7 @@
|
|
|
5532
5534
|
this.RELATION_ID = 'RELATION_ID';
|
|
5533
5535
|
this.RELATION_NR = 'RELATION_NR';
|
|
5534
5536
|
this.REMARK = 'REMARK';
|
|
5537
|
+
this.REPORTS_TO_ATTACH_TO = 'REPORTS_TO_ATTACH_TO';
|
|
5535
5538
|
this.RESERVED = 'RESERVED';
|
|
5536
5539
|
this.QUANTITY = 'QUANTITY';
|
|
5537
5540
|
this.SEARCH = 'SEARCH';
|
|
@@ -5548,6 +5551,7 @@
|
|
|
5548
5551
|
this.STOCK_STATE = 'STOCK_STATE';
|
|
5549
5552
|
this.STOCK_STATUS = 'STOCK_STATUS';
|
|
5550
5553
|
this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
|
|
5554
|
+
this.TITLE = 'TITLE';
|
|
5551
5555
|
this.TRANSFER = 'TRANSFER';
|
|
5552
5556
|
this.TRANSFER_STOCK = 'TRANSFER_STOCK';
|
|
5553
5557
|
this.USER = 'USER';
|
|
@@ -9203,9 +9207,17 @@
|
|
|
9203
9207
|
var FileUploadPopupComponent = /** @class */ (function () {
|
|
9204
9208
|
function FileUploadPopupComponent(
|
|
9205
9209
|
//private _workabilityService: AppWorkabilityService,
|
|
9206
|
-
_promptService, _fileTypeImgPipe
|
|
9210
|
+
_promptService, _fileTypeImgPipe,
|
|
9211
|
+
//private _userRights: UserRightsService,
|
|
9212
|
+
//private _baseDataRepo: BaseDataDalRepository,
|
|
9213
|
+
//private _tagsRepo: TagsDalRepository,
|
|
9214
|
+
//private _dataService: DataService,
|
|
9215
|
+
//private _toastService: AppToastService
|
|
9216
|
+
iconCacheService) {
|
|
9207
9217
|
this._promptService = _promptService;
|
|
9208
9218
|
this._fileTypeImgPipe = _fileTypeImgPipe;
|
|
9219
|
+
this.iconCacheService = iconCacheService;
|
|
9220
|
+
this.icon = exports["ɵbv"];
|
|
9209
9221
|
this.useWithoutSettingProps = false;
|
|
9210
9222
|
this.hasPublicAccessVisible = false;
|
|
9211
9223
|
this.showDocumentReportPicker = true;
|
|
@@ -9418,13 +9430,14 @@
|
|
|
9418
9430
|
FileUploadPopupComponent.decorators = [
|
|
9419
9431
|
{ type: i0.Component, args: [{
|
|
9420
9432
|
selector: "co-file-upload-popup",
|
|
9421
|
-
template: "\n <co-dialog *ngIf=\"!useWithoutSettingProps && documentUnderEdit\" cssId=\"popup_files_upload_content\"\n [headerTemplate]=\"headerTemplate\" contentSize noClickOutside\n (close)=\"onPopupClose()\" (closeClick)=\"onPopupCancelClick()\">\n <div class=\"co-dialog-wrapper\">\n <div class=\"file-upload-form-wrapper\" fxLayout=\"column\" fxLayoutGap=\"10px\">\n <co-form class=\"narrow-scrollbar\" (validSubmit)=\"onValidSubmit()\">\n <div class=\"horizontal-layout-column\">\n <div class=\"document-thumb column-left\" *ngIf=\"!addDocumentByUrl\">\n <a (click)=\"onPreviewClick()\"><img [src]=\"thumbnail\"/></a>\n </div>\n <div class=\"column-right\">\n <co-input-text\n [model]=\"documentUnderEdit.fileSize\"\n [screenConfigurationObject]=\"documentUnderEdit.isImageDocument() ?\n filesUploadConfigObjects?.ImageDocumentFileSize :\n filesUploadConfigObjects?.TextDocumentFileSize\"\n [placeholder]=\"'SIZE' | localize\"\n forceReadonly\n noValidation>\n </co-input-text>\n <ng-container *ngIf=\"documentUnderEdit.isImageDocument()\">\n <co-input-text [placeholder]=\"'DIMENSIONS' | localize\"\n [model]=\"documentUnderEdit.imageDimensions\"\n [screenConfigurationObject]=\"filesUploadConfigObjects?.ImageDocumentDimensions\"\n forceReadonly noValidation></co-input-text>\n </ng-container>\n <co-input-text\n [(model)]=\"documentUnderEdit.title\"\n [screenConfigurationObject]=\"documentUnderEdit.isImageDocument() ?\n filesUploadConfigObjects?.ImageDocumentTitle :\n filesUploadConfigObjects?.TextDocumentTitle\"\n [placeholder]=\"'TITLE2' | localize\"\n noValidation forceReadonly></co-input-text>\n </div>\n </div>\n\n <div>\n <!--<sc-tags\n [tagCategory]=\"tagCategory\"\n [readonly]=\"docUnderEditIsReadOnly\"-->\n\n <!-- ></sc-tags>--><!-- [myCfgNames]=\"tagsConfigName\" | [(joinedTags)]=\"this.documentUnderEdit.tags\"-->\n </div>\n <!--<div>\n <read-write-access *ngIf=\"showReadWriteAccess\"\n [readWriteCfgNames]=\"filesUploadConfigObjects?.readWriteAccess\"\n [layoutHorizontal]=\"true\"\n [medicalUserGroups]=\"medicalUserGroups\"\n [(userGroupsForWrite)]=\"userGroupsForWrite\"\n [(userGroupsForRead)]=\"userGroupsForRead\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></read-write-access>\n </div>-->\n <!--<div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"addDocumentByUrl\">\n <co-input-text required [placeholder]=\"'URL' | localize\" [(model)]=\"documentUnderEdit.filePath\"\n [readonly]=\"docUnderEditIsReadOnly\"></co-input-text>\n </ng-container>\n </div>-->\n <div class=\"horizontal-layout-column\">\n <div class=\"column-left\">\n <co-input-text [placeholder]=\"'DESCRIPTION' | localize\" [(model)]=\"documentUnderEdit.description\"\n [screenConfigurationObject]=\"documentUnderEdit.isImageDocument() ?\n filesUploadConfigObjects?.ImageDocumentDescription :\n filesUploadConfigObjects?.TextDocumentDescription\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></co-input-text>\n\n </div>\n <!--<div *ngIf=\"hasPublicAccessVisible\" class=\"column-right\">\n <input-switcher-yes-no label=\"PUBLIC_ACCESS\"\n [(model)]=\"documentUnderEdit.hasPublicAccess\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>\n </div>-->\n </div>\n <div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"!documentUnderEdit.isImageDocument()\">\n <div class=\"column-left\">\n <!-- <input-switcher-yes-no label=\"DOWNLOADABLE\"\n [(model)]=\"documentUnderEdit.downloadable\"\n [cfgName]=\"filesUploadConfigObjects?.TextDocumentDownloadable\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>-->\n </div>\n </ng-container>\n </div>\n <div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"fileType === fileTypes.ThreeDFile\">\n <div class=\"column-left\">\n <!-- <input-switcher-yes-no label=\"ALSO_AS_USDZ\"\n [(model)]=\"documentUnderEdit.convertToUSDZ\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>-->\n </div>\n </ng-container>\n </div>\n <div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"documentUnderEdit.isImageDocument()\">\n <div class=\"column-left\"><!--\n <input-switcher-yes-no label=\"ATTACH_TO_NOTIFICATION\"\n [(model)]=\"documentUnderEdit.attachToNotification\"\n [cfgName]=\"filesUploadConfigObjects?.ImageDocumentAttachNotification\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>-->\n </div>\n <div class=\"column-right\"><!--\n <image-type-select\n [cfgName]=\"filesUploadConfigObjects?.ImageDocumentDisplayType\"\n [(selectedModelId)]=\"this.documentUnderEdit.imageDisplayKind\"\n [readonly]=\"docUnderEditIsReadOnly\"\n label=\"DISPLAY_TYPE\"\n ></image-type-select>-->\n </div>\n </ng-container>\n </div>\n <div *ngIf=\"!isWorkability\">\n <!-- <multiple-property-toggler *ngIf=\"!showDocumentReportPicker\"\n [propertyNamesToToggle]=\"documentPublication\"\n [(enableditems)]=\"this.documentUnderEdit.publication\"\n (onPropertyItemChange)=\"handlePropertyChange($event)\"\n label=\"PUBLISH_TO\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></multiple-property-toggler>-->\n <co-multiple-property-toggler *ngIf=\"showDocumentReportPicker\"\n [propertyNamesToToggle]=\"documentEmailReports\"\n [(enableditems)]=\"documentUnderEdit.reports\"\n (onPropertyItemChange)=\"handleReportsPropertyChange($event)\"\n label=\"REPORTS_TO_ATTACH_TO\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></co-multiple-property-toggler>\n\n <!--<ng-container *ngIf=\"documentUnderEdit.isImageDocument()\"\n [templateWrapper]=\"templateImage\"></ng-container>-->\n </div>\n </co-form>\n <div class=\"ok-cancel-buttons\">\n <co-button [disabled]=\"docUnderEditIsReadOnly\" [textContent]=\"'OK' | localize\" (click)=\"onPopupOkClick()\"></co-button>\n <co-button *ngIf=\"hideCancel\" [textContent]=\"'STICKER' | localize\" (click)=\"onPopupCancelClick()\"></co-button>\n </div>\n <!-- <default-ok-cancel-buttons class=\"justify-center\"\n [okDisabled]=\"docUnderEditIsReadOnly\"\n [hideCancel]=\"hideCancel\"\n (okClick)=\"onPopupOkClick()\"\n (cancelClick)=\"onPopupCancelClick()\">\n </default-ok-cancel-buttons>-->\n </div>\n </div>\n </co-dialog>\n <ng-template #headerTemplate>\n <div [textContent]=\"popupHeader | localize\"></div>\n </ng-template>\n <ng-template #templateImage *ngIf=\"!isWorkability\">\n <!-- <div class=\"column-right\">\n <input-lov-multi-select\n [cfgName]=\"filesUploadConfigObjects.ImageDocumentStoreGroups\"\n [(selectedModelIds)]=\"storeGroupIds\"\n [collection]=\"storeGroups\"\n [readonly]=\"docUnderEditIsReadOnly\"\n descriptionField=\"description\"\n doNotLoadCollection\n customWidth\n label=\"RETAIL_FORMULAS\"\n ></input-lov-multi-select>\n </div>-->\n </ng-template>\n ",
|
|
9433
|
+
template: "\n <co-dialog *ngIf=\"!useWithoutSettingProps && documentUnderEdit\" cssId=\"popup_files_upload_content\"\n [headerTemplate]=\"headerTemplate\" contentSize noClickOutside\n [footerTemplate]=\"footerTemplate\"\n (close)=\"onPopupClose()\" (closeClick)=\"onPopupCancelClick()\">\n <div class=\"file-upload-form-wrapper\" fxLayout=\"column\" fxLayoutGap=\"10px\">\n <co-form class=\"narrow-scrollbar\" (validSubmit)=\"onValidSubmit()\">\n <div class=\"horizontal-layout-column\">\n <div class=\"document-thumb column-left\" *ngIf=\"!addDocumentByUrl\">\n <a (click)=\"onPreviewClick()\"><img [src]=\"thumbnail\"/></a>\n </div>\n <div class=\"column-right\">\n <co-input-text\n [(model)]=\"documentUnderEdit.title\"\n [screenConfigurationObject]=\"documentUnderEdit.isImageDocument() ?\n filesUploadConfigObjects?.ImageDocumentTitle :\n filesUploadConfigObjects?.TextDocumentTitle\"\n [placeholder]=\"'TITLE' | localize\"\n noValidation forceReadonly></co-input-text>\n <co-input-text [placeholder]=\"'DESCRIPTION' | localize\" [(model)]=\"documentUnderEdit.description\"\n [screenConfigurationObject]=\"documentUnderEdit.isImageDocument() ?\n filesUploadConfigObjects?.ImageDocumentDescription :\n filesUploadConfigObjects?.TextDocumentDescription\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></co-input-text>\n <div class=\"row sizes\">\n <co-input-text\n [model]=\"documentUnderEdit.fileSize\"\n [screenConfigurationObject]=\"documentUnderEdit.isImageDocument() ?\n filesUploadConfigObjects?.ImageDocumentFileSize :\n filesUploadConfigObjects?.TextDocumentFileSize\"\n [placeholder]=\"'SIZE' | localize\"\n forceReadonly\n noValidation>\n </co-input-text>\n <ng-container *ngIf=\"documentUnderEdit.isImageDocument()\">\n <co-input-text [placeholder]=\"'DIMENSIONS' | localize\"\n [model]=\"documentUnderEdit.imageDimensions\"\n [screenConfigurationObject]=\"filesUploadConfigObjects?.ImageDocumentDimensions\"\n forceReadonly noValidation></co-input-text>\n </ng-container>\n </div>\n </div>\n </div>\n\n <div>\n <!--<sc-tags\n [tagCategory]=\"tagCategory\"\n [readonly]=\"docUnderEditIsReadOnly\"-->\n\n <!-- ></sc-tags>--><!-- [myCfgNames]=\"tagsConfigName\" | [(joinedTags)]=\"this.documentUnderEdit.tags\"-->\n </div>\n <!--<div>\n <read-write-access *ngIf=\"showReadWriteAccess\"\n [readWriteCfgNames]=\"filesUploadConfigObjects?.readWriteAccess\"\n [layoutHorizontal]=\"true\"\n [medicalUserGroups]=\"medicalUserGroups\"\n [(userGroupsForWrite)]=\"userGroupsForWrite\"\n [(userGroupsForRead)]=\"userGroupsForRead\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></read-write-access>\n </div>-->\n <!--<div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"addDocumentByUrl\">\n <co-input-text required [placeholder]=\"'URL' | localize\" [(model)]=\"documentUnderEdit.filePath\"\n [readonly]=\"docUnderEditIsReadOnly\"></co-input-text>\n </ng-container>\n </div>-->\n <div class=\"horizontal-layout-column\">\n <!--<div *ngIf=\"hasPublicAccessVisible\" class=\"column-right\">\n <input-switcher-yes-no label=\"PUBLIC_ACCESS\"\n [(model)]=\"documentUnderEdit.hasPublicAccess\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>\n </div>-->\n </div>\n <div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"!documentUnderEdit.isImageDocument()\">\n <div class=\"column-left\">\n <!-- <input-switcher-yes-no label=\"DOWNLOADABLE\"\n [(model)]=\"documentUnderEdit.downloadable\"\n [cfgName]=\"filesUploadConfigObjects?.TextDocumentDownloadable\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>-->\n </div>\n </ng-container>\n </div>\n <div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"fileType === fileTypes.ThreeDFile\">\n <div class=\"column-left\">\n <!-- <input-switcher-yes-no label=\"ALSO_AS_USDZ\"\n [(model)]=\"documentUnderEdit.convertToUSDZ\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>-->\n </div>\n </ng-container>\n </div>\n <div class=\"horizontal-layout-column\">\n <ng-container *ngIf=\"documentUnderEdit.isImageDocument()\">\n <div class=\"column-left\"><!--\n <input-switcher-yes-no label=\"ATTACH_TO_NOTIFICATION\"\n [(model)]=\"documentUnderEdit.attachToNotification\"\n [cfgName]=\"filesUploadConfigObjects?.ImageDocumentAttachNotification\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></input-switcher-yes-no>-->\n </div>\n <div class=\"column-right\"><!--\n <image-type-select\n [cfgName]=\"filesUploadConfigObjects?.ImageDocumentDisplayType\"\n [(selectedModelId)]=\"this.documentUnderEdit.imageDisplayKind\"\n [readonly]=\"docUnderEditIsReadOnly\"\n label=\"DISPLAY_TYPE\"\n ></image-type-select>-->\n </div>\n </ng-container>\n </div>\n <div *ngIf=\"!isWorkability\">\n <!-- <multiple-property-toggler *ngIf=\"!showDocumentReportPicker\"\n [propertyNamesToToggle]=\"documentPublication\"\n [(enableditems)]=\"this.documentUnderEdit.publication\"\n (onPropertyItemChange)=\"handlePropertyChange($event)\"\n label=\"PUBLISH_TO\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></multiple-property-toggler>\n <co-multiple-property-toggler *ngIf=\"showDocumentReportPicker\"\n [propertyNamesToToggle]=\"documentEmailReports\"\n [(enableditems)]=\"documentUnderEdit.reports\"\n (onPropertyItemChange)=\"handleReportsPropertyChange($event)\"\n label=\"REPORTS_TO_ATTACH_TO\"\n [readonly]=\"docUnderEditIsReadOnly\"\n ></co-multiple-property-toggler>-->\n\n <!--<ng-container *ngIf=\"documentUnderEdit.isImageDocument()\"\n [templateWrapper]=\"templateImage\"></ng-container>-->\n </div>\n </co-form>\n </div>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"popupHeader | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button [disabled]=\"docUnderEditIsReadOnly\" class=\"save-button\"\n (click)=\"onPopupOkClick()\" [iconData]=\"iconCacheService.getIcon(icon.CheckDuotone)\"></co-button>\n <co-button class=\"close-button\"\n (click)=\"onPopupCancelClick()\" [iconData]=\"iconCacheService.getIcon(icon.CrossSkinny)\"></co-button>\n </div>\n </ng-template>\n <ng-template #templateImage *ngIf=\"!isWorkability\">\n <!-- <div class=\"column-right\">\n <input-lov-multi-select\n [cfgName]=\"filesUploadConfigObjects.ImageDocumentStoreGroups\"\n [(selectedModelIds)]=\"storeGroupIds\"\n [collection]=\"storeGroups\"\n [readonly]=\"docUnderEditIsReadOnly\"\n descriptionField=\"description\"\n doNotLoadCollection\n customWidth\n label=\"RETAIL_FORMULAS\"\n ></input-lov-multi-select>\n </div>-->\n </ng-template>\n ",
|
|
9422
9434
|
encapsulation: i0.ViewEncapsulation.None
|
|
9423
9435
|
},] }
|
|
9424
9436
|
];
|
|
9425
9437
|
FileUploadPopupComponent.ctorParameters = function () { return [
|
|
9426
9438
|
{ type: corecomponents_v12.PromptService },
|
|
9427
|
-
{ type: FileTypeImagePipe }
|
|
9439
|
+
{ type: FileTypeImagePipe },
|
|
9440
|
+
{ type: IconCacheService }
|
|
9428
9441
|
]; };
|
|
9429
9442
|
FileUploadPopupComponent.propDecorators = {
|
|
9430
9443
|
form: [{ type: i0.ViewChild, args: [corecomponents_v12.FormComponent,] }],
|
|
@@ -11230,7 +11243,8 @@
|
|
|
11230
11243
|
corecomponents_v12.ButtonModule,
|
|
11231
11244
|
common.CommonModule,
|
|
11232
11245
|
corecomponents_v12.ScreenConfigurationModule,
|
|
11233
|
-
MultiplePropertyTogglerModule
|
|
11246
|
+
MultiplePropertyTogglerModule,
|
|
11247
|
+
corecomponents_v12.IconModule
|
|
11234
11248
|
],
|
|
11235
11249
|
declarations: [
|
|
11236
11250
|
FileUploadPopupComponent
|
|
@@ -14830,7 +14844,7 @@
|
|
|
14830
14844
|
this.optionCollection = [
|
|
14831
14845
|
{ icon: this.iconService.getIcon(this.icons.CommentRegular), label: this.dictionaryService.get('REMARK', true) },
|
|
14832
14846
|
{ icon: this.iconService.getIcon(this.icons.PersonDiggingRegular), label: this.dictionaryService.get('WORK', true) },
|
|
14833
|
-
{ icon: this.iconService.getIcon(this.icons.
|
|
14847
|
+
{ icon: this.iconService.getIcon(this.icons.ListUlRegular), label: this.dictionaryService.get('TASK', true) },
|
|
14834
14848
|
];
|
|
14835
14849
|
this.showFilesDialog = false;
|
|
14836
14850
|
this.documents = [];
|