@colijnit/sharedcomponents 1.0.47 → 1.0.49
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 +238 -9
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +231 -0
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -0
- package/esm2015/lib/enum/icon.enum.js +5 -1
- package/esm2015/lib/model/icon-svg.js +6 -2
- package/esm2015/lib/service/shared-connector.service.js +34 -2
- package/esm2015/lib/service/shared.service.js +11 -1
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-sharedcomponents.js +303 -4
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/screen-config-generator/style/_layout.scss +10 -4
- package/lib/components/simple-tags/simple-tags.component.d.ts +31 -0
- package/lib/components/simple-tags/simple-tags.module.d.ts +2 -0
- package/lib/components/simple-tags/style/_layout.scss +232 -0
- package/lib/components/simple-tags/style/_material-definition.scss +19 -0
- package/lib/components/simple-tags/style/_theme.scss +4 -0
- package/lib/components/simple-tags/style/material.scss +4 -0
- package/lib/enum/icon.enum.d.ts +5 -1
- package/lib/service/shared-connector.service.d.ts +4 -0
- package/lib/service/shared.service.d.ts +4 -0
- package/package.json +6 -6
- package/public-api.d.ts +2 -0
|
@@ -21,9 +21,10 @@ import { MainApi } from '@colijnit/mainapi';
|
|
|
21
21
|
import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
22
22
|
import { SendMethod as SendMethod$1 } from '@colijnit/mainapi/build/model/send-method.bo';
|
|
23
23
|
import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
|
|
24
|
+
import { TagTreeItem } from '@colijnit/mainapi/build/model/tag-tree-item.bo';
|
|
24
25
|
import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
|
|
25
26
|
import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock';
|
|
26
|
-
import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, ResponsiveTextModule, InputDatePickerModule } from '@colijnit/corecomponents_v12';
|
|
27
|
+
import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, ResponsiveTextModule, InputDatePickerModule, InputSearchModule } from '@colijnit/corecomponents_v12';
|
|
27
28
|
import * as i1 from '@angular/platform-browser';
|
|
28
29
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
29
30
|
import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
|
|
@@ -36,6 +37,7 @@ import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.en
|
|
|
36
37
|
import { GetStockHistoryRequest } from '@colijnit/articleapi/build/model/get-stock-history-request';
|
|
37
38
|
import { Chart, DoughnutController, ArcElement } from 'chart.js';
|
|
38
39
|
import * as moment from 'moment';
|
|
40
|
+
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
39
41
|
|
|
40
42
|
class DocsignComponent {
|
|
41
43
|
constructor() {
|
|
@@ -632,8 +634,9 @@ class SharedConnectorService {
|
|
|
632
634
|
}
|
|
633
635
|
connect() {
|
|
634
636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
|
-
this.articleConnector = new Articles(this._optionsService.options);
|
|
636
637
|
this.sharedConnector = new Sharedapi(this._optionsService.options);
|
|
638
|
+
yield this.sharedConnector.connect();
|
|
639
|
+
this.articleConnector = new Articles(this._optionsService.options);
|
|
637
640
|
this.mainConnector = new MainApi(this._optionsService.options);
|
|
638
641
|
});
|
|
639
642
|
}
|
|
@@ -701,6 +704,36 @@ class SharedConnectorService {
|
|
|
701
704
|
});
|
|
702
705
|
});
|
|
703
706
|
}
|
|
707
|
+
getTagsFullTree(category, includeTags) {
|
|
708
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
709
|
+
return new Promise((resolve, reject) => {
|
|
710
|
+
return this.mainConnector.getTagsFullTree(category, includeTags).then((result) => {
|
|
711
|
+
if (result.validationResult && result.validationResult.success) {
|
|
712
|
+
if (result.resultObjects) {
|
|
713
|
+
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(TagTreeItem, result.resultObjects));
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
else {
|
|
717
|
+
reject(result.validationMessagesAsString);
|
|
718
|
+
}
|
|
719
|
+
});
|
|
720
|
+
});
|
|
721
|
+
});
|
|
722
|
+
}
|
|
723
|
+
getDocumentContent(id, thumbnail = true) {
|
|
724
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
725
|
+
return new Promise((resolve, reject) => {
|
|
726
|
+
return this.mainConnector.getDocumentContent(id, thumbnail).then((result) => {
|
|
727
|
+
if (result.validationResult && result.validationResult.success) {
|
|
728
|
+
resolve(result.resultObject.documentContent);
|
|
729
|
+
}
|
|
730
|
+
else {
|
|
731
|
+
reject(result.validationMessagesAsString);
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
});
|
|
735
|
+
});
|
|
736
|
+
}
|
|
704
737
|
// public async getPrintStockStickers(request: PrintStockStickers): Promise<PrintStockStickers> {
|
|
705
738
|
// return new Promise((resolve: Function, reject: Function) => {
|
|
706
739
|
// return this.sharedConnector.getPrintStockStickers(request).then((result: DataServiceResponseData) => {
|
|
@@ -1301,6 +1334,7 @@ const IconSvg = {
|
|
|
1301
1334
|
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\"><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
1302
1335
|
"at_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M207.8 20.73c-93.45 18.32-168.7 93.66-187 187.1c-27.64 140.9 68.65 266.2 199.1 285.1c19.01 2.888 36.17-12.26 36.17-31.49l.0001-.6631c0-15.74-11.44-28.88-26.84-31.24c-84.35-12.98-149.2-86.13-149.2-174.2c0-102.9 88.61-185.5 193.4-175.4c91.54 8.869 158.6 91.25 158.6 183.2l0 16.16c0 22.09-17.94 40.05-40 40.05s-40.01-17.96-40.01-40.05v-120.1c0-8.847-7.161-16.02-16.01-16.02l-31.98 .0036c-7.299 0-13.2 4.992-15.12 11.68c-24.85-12.15-54.24-16.38-86.06-5.106c-38.75 13.73-68.12 48.91-73.72 89.64c-9.483 69.01 43.81 128 110.9 128c26.44 0 50.43-9.544 69.59-24.88c24 31.3 65.23 48.69 109.4 37.49C465.2 369.3 496 324.1 495.1 277.2V256.3C495.1 107.1 361.2-9.332 207.8 20.73zM239.1 304.3c-26.47 0-48-21.56-48-48.05s21.53-48.05 48-48.05s48 21.56 48 48.05S266.5 304.3 239.1 304.3z\"/></svg>",
|
|
1303
1336
|
"bring_forward_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"#183153\" d=\"M224 464H448C456.8 464 464 456.8 464 448V224C464 215.2 456.8 208 448 208H384V160H448C483.3 160 512 188.7 512 224V448C512 483.3 483.3 512 448 512H224C188.7 512 160 483.3 160 448V384H208V448C208 456.8 215.2 464 224 464zM64 352C28.65 352 0 323.3 0 288V64C0 28.65 28.65 0 64 0H288C323.3 0 352 28.65 352 64V288C352 323.3 323.3 352 288 352H64z\"/></svg>",
|
|
1337
|
+
"check_duotone": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><defs><style>.fa-secondary{opacity:.4}</style></defs><path class=\"fa-primary\" d=\"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z\"/></svg>",
|
|
1304
1338
|
"check_round": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M25,10A15,15,0,1,0,40,25,15,15,0,0,0,25,10ZM23,34l-6.24-9.09,2.81-3.59L23,26.45,27.66,16h5.58Z\" fill=\"#484f60\"/></svg>",
|
|
1305
1339
|
"delete_left_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z\"/></svg>",
|
|
1306
1340
|
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
@@ -1312,6 +1346,7 @@ const IconSvg = {
|
|
|
1312
1346
|
"file_pdf_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M320 464C328.8 464 336 456.8 336 448V416H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V416H48V448C48 456.8 55.16 464 64 464H320zM256 160C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V192H0V64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V192H336V160H256zM88 224C118.9 224 144 249.1 144 280C144 310.9 118.9 336 88 336H80V368C80 376.8 72.84 384 64 384C55.16 384 48 376.8 48 368V240C48 231.2 55.16 224 64 224H88zM112 280C112 266.7 101.3 256 88 256H80V304H88C101.3 304 112 293.3 112 280zM160 240C160 231.2 167.2 224 176 224H200C226.5 224 248 245.5 248 272V336C248 362.5 226.5 384 200 384H176C167.2 384 160 376.8 160 368V240zM192 352H200C208.8 352 216 344.8 216 336V272C216 263.2 208.8 256 200 256H192V352zM336 224C344.8 224 352 231.2 352 240C352 248.8 344.8 256 336 256H304V288H336C344.8 288 352 295.2 352 304C352 312.8 344.8 320 336 320H304V368C304 376.8 296.8 384 288 384C279.2 384 272 376.8 272 368V240C272 231.2 279.2 224 288 224H336z\"/></svg>",
|
|
1313
1347
|
"file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 224H88c30.9 0 56 25.1 56 56s-25.1 56-56 56H80v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V320 240c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H80v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-8.8 0-16-7.2-16-16V240zm32 112h8c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V304 240c0-8.8 7.2-16 16-16z\"/></svg>",
|
|
1314
1348
|
"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>",
|
|
1349
|
+
"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>",
|
|
1315
1350
|
"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>",
|
|
1316
1351
|
"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>",
|
|
1317
1352
|
"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>",
|
|
@@ -1320,7 +1355,9 @@ const IconSvg = {
|
|
|
1320
1355
|
"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>",
|
|
1321
1356
|
"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>",
|
|
1322
1357
|
"signature_field": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M20.1,25.42a1.1,1.1,0,1,1,1.27,1.45l-3.3,9.07A63.13,63.13,0,0,1,28,28.3l1.26-12-8.26-3-6.77,10A62.4,62.4,0,0,1,17,35.54l3.3-9.07A1.12,1.12,0,0,1,20.1,25.42Z\" fill=\"#484f60\"/><rect x=\"21.62\" y=\"11.43\" width=\"8.79\" height=\"2.34\" transform=\"translate(5.88 -8.14) rotate(20)\" fill=\"#484f60\"/><path d=\"M18.11,37.48c1.44,2.65,4.58,2.94,7.23,2.1,1.41-.44,2.2-1.49,3.44-2.06,2.42-1.1,3.13,1.2,5.36,1.37.42,0,2-.65,1.54-.68-2.55-.19-2.93-3.13-5.51-2.65a4.9,4.9,0,0,0-1.64.71c-.77.49-1.31,1.62-2.07,2l-4.61.56A3.38,3.38,0,0,1,20,37c-.22-.41-2,.28-1.85.5Z\" fill=\"#484f60\"/></svg>",
|
|
1323
|
-
"
|
|
1358
|
+
"tag_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M197.5 32c17 0 33.3 6.7 45.3 18.7l176 176c25 25 25 65.5 0 90.5L285.3 450.7c-25 25-65.5 25-90.5 0l-176-176C6.7 262.7 0 246.5 0 229.5V80C0 53.5 21.5 32 48 32H197.5zM48 229.5c0 4.2 1.7 8.3 4.7 11.3l176 176c6.2 6.2 16.4 6.2 22.6 0L384.8 283.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-3-3-7.1-4.7-11.3-4.7H48V229.5zM112 112a32 32 0 1 1 0 64 32 32 0 1 1 0-64z\"/></svg>",
|
|
1359
|
+
"xml": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><path d=\"M21.42,30.17H3.87c-2.16,0-2.72-.56-2.72-2.72V2.88C1.16,.73,1.72,.17,3.87,.17H15.48l8.66,8.88v3.43h-1.34v-2.88L14.92,1.51H3.87q-1.37,0-1.37,1.37V27.45q0,1.37,1.37,1.37H21.42q1.37,0,1.37-1.37v-2.43h1.34v2.43c0,2.16-.56,2.72-2.72,2.72Z\" fill=\"#484f60\"/><path d=\"M15.2,.84V7.28c0,1.78,.27,2.05,2.04,2.05h6.22L15.2,.84Z\" fill=\"#484f60\"/><path d=\"M9.14,14.27v8.96H28.84V14.27H9.14Zm5.36,7.4l-1.3-2.02-1.3,2.02h-1.42l2-3.05-1.81-2.8h1.38l1.17,1.88,1.15-1.88h1.37l-1.82,2.84,2,3.01h-1.43Zm7.67,0h-1.1v-4.61l-1.16,4.61h-1.14l-1.16-4.61v4.61h-1.1v-5.85h1.77l1.06,3.99,1.05-3.99h1.77v5.85Zm5.33,0h-4.12v-5.81h1.18v4.82h2.94v.99Z\" fill=\"#484f60\"/></g></g></svg>",
|
|
1360
|
+
"x_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z\"/></svg>"
|
|
1324
1361
|
};
|
|
1325
1362
|
|
|
1326
1363
|
class IconCacheService {
|
|
@@ -1380,6 +1417,7 @@ var Icon;
|
|
|
1380
1417
|
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
1381
1418
|
Icon["AtSolid"] = "at_solid";
|
|
1382
1419
|
Icon["BringForwardRegular"] = "bring_forward_regular";
|
|
1420
|
+
Icon["CheckDuotone"] = "check_duotone";
|
|
1383
1421
|
Icon["CheckRound"] = "check_round";
|
|
1384
1422
|
Icon["DeleteLeftRegular"] = "delete_left_regular";
|
|
1385
1423
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
@@ -1391,6 +1429,7 @@ var Icon;
|
|
|
1391
1429
|
Icon["FilePdfRegular"] = "file_pdf_regular";
|
|
1392
1430
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
1393
1431
|
Icon["FileSignatureRegular"] = "file_signature_regular";
|
|
1432
|
+
Icon["HouseBlankRegular"] = "house_blank_regular";
|
|
1394
1433
|
Icon["Lock"] = "lock";
|
|
1395
1434
|
Icon["MessageSmsRegular"] = "message_sms_regular";
|
|
1396
1435
|
Icon["MessageSmsSolid"] = "message_sms_solid";
|
|
@@ -1399,7 +1438,9 @@ var Icon;
|
|
|
1399
1438
|
Icon["PrintRegular"] = "print_regular";
|
|
1400
1439
|
Icon["PrintSolid"] = "print_solid";
|
|
1401
1440
|
Icon["SignatureField"] = "signature_field";
|
|
1441
|
+
Icon["TagRegular"] = "tag_regular";
|
|
1402
1442
|
Icon["Xml"] = "xml";
|
|
1443
|
+
Icon["XSolid"] = "x_solid";
|
|
1403
1444
|
})(Icon || (Icon = {}));
|
|
1404
1445
|
|
|
1405
1446
|
class StockInformationGridComponent {
|
|
@@ -2014,6 +2055,16 @@ class SharedService {
|
|
|
2014
2055
|
return yield this.connector.getScreenConfigSubRubric(parentRubricId, configId, fixedKey);
|
|
2015
2056
|
});
|
|
2016
2057
|
}
|
|
2058
|
+
getTagsFullTree(category, includeTags = true) {
|
|
2059
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2060
|
+
return yield this.connector.getTagsFullTree(category, includeTags);
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
getDocumentContent(docId, thumbnail = true) {
|
|
2064
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2065
|
+
return yield this.connector.getDocumentContent(docId, thumbnail);
|
|
2066
|
+
});
|
|
2067
|
+
}
|
|
2017
2068
|
}
|
|
2018
2069
|
SharedService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SharedService_Factory() { return new SharedService(i0.ɵɵinject(OptionsService), i0.ɵɵinject(SharedConnectorService)); }, token: SharedService, providedIn: "root" });
|
|
2019
2070
|
SharedService.decorators = [
|
|
@@ -6383,6 +6434,254 @@ DatePlanningModule.decorators = [
|
|
|
6383
6434
|
},] }
|
|
6384
6435
|
];
|
|
6385
6436
|
|
|
6437
|
+
class SimpleTagsComponent {
|
|
6438
|
+
constructor(iconCacheService, sharedService) {
|
|
6439
|
+
this.iconCacheService = iconCacheService;
|
|
6440
|
+
this.sharedService = sharedService;
|
|
6441
|
+
this.icon = Icon;
|
|
6442
|
+
this.closeClick = new EventEmitter();
|
|
6443
|
+
this.saveClick = new EventEmitter();
|
|
6444
|
+
this.breadCrumbs = [];
|
|
6445
|
+
this.displayTags = [];
|
|
6446
|
+
this.searchString = '';
|
|
6447
|
+
this._tags = [];
|
|
6448
|
+
this._linkedTags = [];
|
|
6449
|
+
}
|
|
6450
|
+
set tags(tags) {
|
|
6451
|
+
this._tags = tags;
|
|
6452
|
+
this.setRootDisplayTags();
|
|
6453
|
+
}
|
|
6454
|
+
set linkedTags(tags) {
|
|
6455
|
+
this._linkedTags = tags;
|
|
6456
|
+
tags.forEach((tag) => this._loadThumbnail(tag));
|
|
6457
|
+
}
|
|
6458
|
+
get linkedTags() {
|
|
6459
|
+
return this._linkedTags;
|
|
6460
|
+
}
|
|
6461
|
+
showClass() {
|
|
6462
|
+
return true;
|
|
6463
|
+
}
|
|
6464
|
+
setRootDisplayTags() {
|
|
6465
|
+
this.displayTags = this._tags.filter((tag) => tag.treeLevel === 0);
|
|
6466
|
+
this.breadCrumbs = [];
|
|
6467
|
+
this.searchString = '';
|
|
6468
|
+
}
|
|
6469
|
+
handleTagSelected(selectedTag) {
|
|
6470
|
+
if (selectedTag.tagType === 'TR' || selectedTag.tagType === 'TG') {
|
|
6471
|
+
if (selectedTag !== this.breadCrumbs[0]) {
|
|
6472
|
+
this.breadCrumbs.push(selectedTag);
|
|
6473
|
+
}
|
|
6474
|
+
this.displayTags = this._tags.filter((tag) => {
|
|
6475
|
+
return tag.parentId === selectedTag.id && tag.treeLevel === selectedTag.treeLevel + 1;
|
|
6476
|
+
});
|
|
6477
|
+
}
|
|
6478
|
+
}
|
|
6479
|
+
handleCrumbClicked(tag, index) {
|
|
6480
|
+
if (tag !== this.breadCrumbs[this.breadCrumbs.length - 1]) {
|
|
6481
|
+
this.breadCrumbs.splice(index + 1);
|
|
6482
|
+
this.handleTagSelected(tag);
|
|
6483
|
+
}
|
|
6484
|
+
}
|
|
6485
|
+
handleAddTag(event) {
|
|
6486
|
+
const draggedTag = this.displayTags[event.previousIndex];
|
|
6487
|
+
if (!this._linkedTags.includes(draggedTag)) {
|
|
6488
|
+
this._linkedTags.push(this.displayTags[event.previousIndex]);
|
|
6489
|
+
this._loadThumbnail(draggedTag);
|
|
6490
|
+
}
|
|
6491
|
+
}
|
|
6492
|
+
deleteLinkedTag(tag) {
|
|
6493
|
+
this._linkedTags.splice(this._linkedTags.indexOf(tag), 1);
|
|
6494
|
+
}
|
|
6495
|
+
searchCollection() {
|
|
6496
|
+
if (!this.searchString) {
|
|
6497
|
+
this.searchString = '';
|
|
6498
|
+
this.setRootDisplayTags();
|
|
6499
|
+
return;
|
|
6500
|
+
}
|
|
6501
|
+
if (this.searchString.length < 2) {
|
|
6502
|
+
return;
|
|
6503
|
+
}
|
|
6504
|
+
if (this.searchString === '') {
|
|
6505
|
+
this.setRootDisplayTags();
|
|
6506
|
+
return;
|
|
6507
|
+
}
|
|
6508
|
+
const matchingObjects = [];
|
|
6509
|
+
this._tags.filter((item) => item.tagType === 'T').forEach((obj) => {
|
|
6510
|
+
Object.values(obj).forEach((value) => {
|
|
6511
|
+
if (typeof value === 'string' || typeof value === 'number') {
|
|
6512
|
+
const stringValue = String(value).toLowerCase();
|
|
6513
|
+
if (stringValue.includes(this.searchString.toLowerCase())) {
|
|
6514
|
+
matchingObjects.push(obj);
|
|
6515
|
+
}
|
|
6516
|
+
}
|
|
6517
|
+
});
|
|
6518
|
+
});
|
|
6519
|
+
this.displayTags = matchingObjects;
|
|
6520
|
+
this.breadCrumbs = [];
|
|
6521
|
+
}
|
|
6522
|
+
handleSaveTags() {
|
|
6523
|
+
this.saveClick.next(this._linkedTags);
|
|
6524
|
+
this.closeClick.next();
|
|
6525
|
+
}
|
|
6526
|
+
_loadThumbnail(tagTreeItem) {
|
|
6527
|
+
if (tagTreeItem.image && tagTreeItem.image.documentId && !tagTreeItem.image.thumbnailBody) {
|
|
6528
|
+
this.sharedService.getDocumentContent(tagTreeItem.image.documentId, true)
|
|
6529
|
+
.then((result) => {
|
|
6530
|
+
if (result) {
|
|
6531
|
+
tagTreeItem.image.thumbnailBody = result;
|
|
6532
|
+
}
|
|
6533
|
+
});
|
|
6534
|
+
}
|
|
6535
|
+
}
|
|
6536
|
+
}
|
|
6537
|
+
SimpleTagsComponent.decorators = [
|
|
6538
|
+
{ type: Component, args: [{
|
|
6539
|
+
selector: "co-simple-tags",
|
|
6540
|
+
template: `
|
|
6541
|
+
<co-dialog
|
|
6542
|
+
[headerTemplate]="headerTemplate"
|
|
6543
|
+
[footerTemplate]="footerTemplate"
|
|
6544
|
+
(closeClick)="closeClick.emit()"
|
|
6545
|
+
>
|
|
6546
|
+
<ng-template #headerTemplate>
|
|
6547
|
+
<div class="header-wrapper">
|
|
6548
|
+
<co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
6549
|
+
<span class="co-dialog-header-title" [textContent]="'Tags'"></span>
|
|
6550
|
+
</div>
|
|
6551
|
+
</ng-template>
|
|
6552
|
+
|
|
6553
|
+
<div class="dialog-content-wrapper">
|
|
6554
|
+
<div class="collection-navigation">
|
|
6555
|
+
<span class="title" [textContent]="'Beschikbare tags'"></span>
|
|
6556
|
+
<co-input-search
|
|
6557
|
+
[(model)]="searchString"
|
|
6558
|
+
[placeholder]="'Search for tag name'"
|
|
6559
|
+
(search)="searchCollection()"
|
|
6560
|
+
(modelChange)="searchCollection()"
|
|
6561
|
+
(rightIconClick)="searchCollection()"
|
|
6562
|
+
></co-input-search>
|
|
6563
|
+
<div class="breadcrumbs">
|
|
6564
|
+
<co-icon
|
|
6565
|
+
[iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
|
|
6566
|
+
(click)="setRootDisplayTags()"
|
|
6567
|
+
></co-icon>
|
|
6568
|
+
<div class="crumbs">
|
|
6569
|
+
<span class="spacer" [textContent]="'|'"></span>
|
|
6570
|
+
<div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
|
|
6571
|
+
<span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
|
|
6572
|
+
<span [textContent]="crumb.description"></span>
|
|
6573
|
+
</div>
|
|
6574
|
+
</div>
|
|
6575
|
+
</div>
|
|
6576
|
+
<div class="collection-view"
|
|
6577
|
+
cdkDropList
|
|
6578
|
+
cdkDropListSortingDisabled
|
|
6579
|
+
#collectionList="cdkDropList"
|
|
6580
|
+
[cdkDropListData]="displayTags"
|
|
6581
|
+
[cdkDropListConnectedTo]="[linkedList]"
|
|
6582
|
+
><div class="collection-item"
|
|
6583
|
+
*ngFor="let tag of displayTags"
|
|
6584
|
+
cdkDrag
|
|
6585
|
+
[cdkDragDisabled]="tag.tagType !== 'T' || linkedTags.includes(tag)"
|
|
6586
|
+
[class.draggable]="tag.tagType === 'T' && !linkedTags.includes(tag)"
|
|
6587
|
+
[class.disabled]="linkedTags.includes(tag)"
|
|
6588
|
+
(click)="handleTagSelected(tag)">
|
|
6589
|
+
|
|
6590
|
+
<div class="collection-item" *cdkDragPlaceholder>
|
|
6591
|
+
<co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
6592
|
+
<span [textContent]="tag.description"></span>
|
|
6593
|
+
</div>
|
|
6594
|
+
|
|
6595
|
+
<div *cdkDragPreview><co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon></div>
|
|
6596
|
+
|
|
6597
|
+
<co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
6598
|
+
<span [textContent]="tag.description"></span>
|
|
6599
|
+
</div>
|
|
6600
|
+
</div>
|
|
6601
|
+
</div>
|
|
6602
|
+
|
|
6603
|
+
<div class="linked-tags-view">
|
|
6604
|
+
<span class="title" [textContent]="'Gekoppelde tags'"></span>
|
|
6605
|
+
<div class="view-wrapper"
|
|
6606
|
+
cdkDropList
|
|
6607
|
+
#linkedList="cdkDropList"
|
|
6608
|
+
[cdkDropListData]="linkedTags"
|
|
6609
|
+
(cdkDropListDropped)="handleAddTag($event)">
|
|
6610
|
+
<div class="tag-item" *ngFor="let tag of linkedTags" [cdkDragDisabled]="true" cdkDrag [style.background-color]="tag.color?.replace('0x', '#')">
|
|
6611
|
+
<div class="placeholderLinked" *cdkDragPlaceholder></div>
|
|
6612
|
+
|
|
6613
|
+
<div class="thumbnail-description">
|
|
6614
|
+
<co-icon *ngIf="!tag.image?.thumbnailBody" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
6615
|
+
<div *ngIf="tag.image" class="thumbnail-wrapper">
|
|
6616
|
+
<img [src]="tag.image.thumbnailBodyAsDataUri">
|
|
6617
|
+
</div>
|
|
6618
|
+
|
|
6619
|
+
<div class="description-wrapper">
|
|
6620
|
+
<span [textContent]="tag.parentDescription"></span>
|
|
6621
|
+
<span class="description" [textContent]="tag.description"></span>
|
|
6622
|
+
</div>
|
|
6623
|
+
</div>
|
|
6624
|
+
<co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
|
|
6625
|
+
[iconData]="iconCacheService.getIcon(icon.XSolid)"
|
|
6626
|
+
></co-icon>
|
|
6627
|
+
</div>
|
|
6628
|
+
</div>
|
|
6629
|
+
</div>
|
|
6630
|
+
</div>
|
|
6631
|
+
|
|
6632
|
+
<ng-template #footerTemplate>
|
|
6633
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
6634
|
+
<div class="commit-button-wrapper">
|
|
6635
|
+
<co-button
|
|
6636
|
+
[iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
|
|
6637
|
+
(click)="handleSaveTags()"
|
|
6638
|
+
></co-button>
|
|
6639
|
+
<co-button
|
|
6640
|
+
class="cancel-button"
|
|
6641
|
+
[iconData]="iconCacheService.getIcon(icon.XSolid)"
|
|
6642
|
+
(click)="closeClick.next()"
|
|
6643
|
+
></co-button>
|
|
6644
|
+
</div>
|
|
6645
|
+
</div>
|
|
6646
|
+
</ng-template>
|
|
6647
|
+
</co-dialog>
|
|
6648
|
+
`,
|
|
6649
|
+
encapsulation: ViewEncapsulation.None
|
|
6650
|
+
},] }
|
|
6651
|
+
];
|
|
6652
|
+
SimpleTagsComponent.ctorParameters = () => [
|
|
6653
|
+
{ type: IconCacheService },
|
|
6654
|
+
{ type: SharedService }
|
|
6655
|
+
];
|
|
6656
|
+
SimpleTagsComponent.propDecorators = {
|
|
6657
|
+
tags: [{ type: Input }],
|
|
6658
|
+
linkedTags: [{ type: Input }],
|
|
6659
|
+
closeClick: [{ type: Output }],
|
|
6660
|
+
saveClick: [{ type: Output }],
|
|
6661
|
+
showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
|
|
6662
|
+
};
|
|
6663
|
+
|
|
6664
|
+
class SimpleTagsModule {
|
|
6665
|
+
}
|
|
6666
|
+
SimpleTagsModule.decorators = [
|
|
6667
|
+
{ type: NgModule, args: [{
|
|
6668
|
+
imports: [
|
|
6669
|
+
CommonModule,
|
|
6670
|
+
CoDialogModule,
|
|
6671
|
+
InputSearchModule,
|
|
6672
|
+
IconModule,
|
|
6673
|
+
DragDropModule,
|
|
6674
|
+
ButtonModule
|
|
6675
|
+
],
|
|
6676
|
+
declarations: [
|
|
6677
|
+
SimpleTagsComponent
|
|
6678
|
+
],
|
|
6679
|
+
exports: [
|
|
6680
|
+
SimpleTagsComponent
|
|
6681
|
+
]
|
|
6682
|
+
},] }
|
|
6683
|
+
];
|
|
6684
|
+
|
|
6386
6685
|
/*
|
|
6387
6686
|
* Public API Surface of sharedcomponents
|
|
6388
6687
|
*/
|
|
@@ -6391,5 +6690,5 @@ DatePlanningModule.decorators = [
|
|
|
6391
6690
|
* Generated bundle index. Do not edit.
|
|
6392
6691
|
*/
|
|
6393
6692
|
|
|
6394
|
-
export { CoLinearGaugeComponent, CoLinearGaugeModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockInformationComponent as ɵba, StockInformationGridComponent as ɵbb, StockTransferComponent as ɵbc, StockChangeAmountComponent as ɵbd, StockTabComponent as ɵbe, OrderTabComponent as ɵbf, StockTabsComponent as ɵbg, StockHistoryTabsComponent as ɵbh, OrderStockTabComponent as ɵbi, StockLocationComponent as ɵbj, StockHistoryComponent as ɵbk, OrderSupplyStockHistoryComponent as ɵbl, OrderCommissionStockHistoryComponent as ɵbm, OrderStockHistoryComponent as ɵbn, AllocationStockHistoryComponent as ɵbo, StockPrognoseComponent as ɵbp, SendMethod as ɵbq, Icon as ɵbr, CalendarAllYearsComponent as ɵbs, CalendarAllMonthsComponent as ɵbt, CalendarHeaderComponent as ɵbu, CalendarComponent as ɵbv, CalendarViewComponent as ɵbw, LanguageCode as ɵbx, AgendaHeaderComponent as ɵby, AgendaViewComponent as ɵbz, StockService as ɵc, AgendaMonthViewComponent as ɵca, AgendaBaseViewComponent as ɵcb, AgendaDayViewComponent as ɵcc, AgendaWeekViewComponent as ɵcd, AgendaWeekSelectViewComponent as ɵce, AgendaHourViewComponent as ɵcf, AgendaHourCellComponent as ɵcg, AgendaHourViewLabelsComponent as ɵch, AgendaHalfHourCellComponent as ɵci, AgendaEventsComponent as ɵcj, AgendaEventComponent as ɵck, ViewSelectComponent as ɵcl, AgendaSelectEventComponent as ɵcm, MASTER_PIPES as ɵcn, ArrayNumberPipe as ɵco, UCfirstPipe as ɵcp, SharedConnectorService as ɵd, OptionsService as ɵe, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, SendMethodPrinterComponent as ɵs, TabBarModule as ɵt, TabBarComponent as ɵu, StatusbarPopupComponent as ɵv, StockStatusbarModule as ɵw, StockStatusbarComponent as ɵx, LocalizationModule as ɵy, LocalizePipe as ɵz };
|
|
6693
|
+
export { CoLinearGaugeComponent, CoLinearGaugeModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockInformationComponent as ɵba, StockInformationGridComponent as ɵbb, StockTransferComponent as ɵbc, StockChangeAmountComponent as ɵbd, StockTabComponent as ɵbe, OrderTabComponent as ɵbf, StockTabsComponent as ɵbg, StockHistoryTabsComponent as ɵbh, OrderStockTabComponent as ɵbi, StockLocationComponent as ɵbj, StockHistoryComponent as ɵbk, OrderSupplyStockHistoryComponent as ɵbl, OrderCommissionStockHistoryComponent as ɵbm, OrderStockHistoryComponent as ɵbn, AllocationStockHistoryComponent as ɵbo, StockPrognoseComponent as ɵbp, SendMethod as ɵbq, Icon as ɵbr, CalendarAllYearsComponent as ɵbs, CalendarAllMonthsComponent as ɵbt, CalendarHeaderComponent as ɵbu, CalendarComponent as ɵbv, CalendarViewComponent as ɵbw, LanguageCode as ɵbx, AgendaHeaderComponent as ɵby, AgendaViewComponent as ɵbz, StockService as ɵc, AgendaMonthViewComponent as ɵca, AgendaBaseViewComponent as ɵcb, AgendaDayViewComponent as ɵcc, AgendaWeekViewComponent as ɵcd, AgendaWeekSelectViewComponent as ɵce, AgendaHourViewComponent as ɵcf, AgendaHourCellComponent as ɵcg, AgendaHourViewLabelsComponent as ɵch, AgendaHalfHourCellComponent as ɵci, AgendaEventsComponent as ɵcj, AgendaEventComponent as ɵck, ViewSelectComponent as ɵcl, AgendaSelectEventComponent as ɵcm, MASTER_PIPES as ɵcn, ArrayNumberPipe as ɵco, UCfirstPipe as ɵcp, SharedConnectorService as ɵd, OptionsService as ɵe, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, SendMethodPrinterComponent as ɵs, TabBarModule as ɵt, TabBarComponent as ɵu, StatusbarPopupComponent as ɵv, StockStatusbarModule as ɵw, StockStatusbarComponent as ɵx, LocalizationModule as ɵy, LocalizePipe as ɵz };
|
|
6395
6694
|
//# sourceMappingURL=colijnit-sharedcomponents.js.map
|