@colijnit/sharedcomponents 1.0.46 → 1.0.48

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.
Files changed (35) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +292 -8
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/key-pad/key-pad.component.js +18 -16
  5. package/esm2015/lib/components/key-pad/key-pad.module.js +4 -3
  6. package/esm2015/lib/components/simple-tags/simple-tags.component.js +231 -0
  7. package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -0
  8. package/esm2015/lib/enum/icon.enum.js +5 -1
  9. package/esm2015/lib/model/icon-svg.js +6 -2
  10. package/esm2015/lib/service/shared-connector.service.js +64 -1
  11. package/esm2015/lib/service/shared.service.js +21 -1
  12. package/esm2015/public-api.js +3 -1
  13. package/fesm2015/colijnit-sharedcomponents.js +362 -19
  14. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  15. package/lib/components/key-pad/style/_layout.scss +56 -1
  16. package/lib/components/key-pad/style/_material-definition.scss +4 -2
  17. package/lib/components/screen-config-generator/style/_layout.scss +31 -0
  18. package/lib/components/simple-tags/simple-tags.component.d.ts +31 -0
  19. package/lib/components/simple-tags/simple-tags.module.d.ts +2 -0
  20. package/lib/components/simple-tags/style/_layout.scss +232 -0
  21. package/lib/components/simple-tags/style/_material-definition.scss +19 -0
  22. package/lib/components/simple-tags/style/_theme.scss +4 -0
  23. package/lib/components/simple-tags/style/material.scss +4 -0
  24. package/lib/enum/icon.enum.d.ts +5 -1
  25. package/lib/service/shared-connector.service.d.ts +6 -0
  26. package/lib/service/shared.service.d.ts +6 -0
  27. package/package.json +2 -2
  28. package/public-api.d.ts +2 -0
  29. package/3rdpartylicenses.txt +0 -1112
  30. package/favicon.ico +0 -0
  31. package/index.html +0 -12
  32. package/main.9d48e64dce1f453fb5e6.js +0 -1
  33. package/polyfills.4a44032b137d291298c3.js +0 -1
  34. package/runtime.8aac21847ed3d3829cca.js +0 -1
  35. package/styles.ba023a0306f438960465.css +0 -1
@@ -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, 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() {
@@ -669,6 +671,68 @@ class SharedConnectorService {
669
671
  });
670
672
  });
671
673
  }
674
+ getScreenConfigTree() {
675
+ return __awaiter(this, void 0, void 0, function* () {
676
+ return new Promise((resolve, reject) => {
677
+ return this.sharedConnector.getConfigTreeObject('T', 'JS').then((result) => {
678
+ if (result.validationResult && result.validationResult.success) {
679
+ if (result.resultObjects) {
680
+ resolve(result.resultObjects);
681
+ }
682
+ }
683
+ else {
684
+ reject(result.validationMessagesAsString);
685
+ }
686
+ });
687
+ });
688
+ });
689
+ }
690
+ getScreenConfigSubRubric(parentRubricId, configId, fixedKey) {
691
+ return __awaiter(this, void 0, void 0, function* () {
692
+ return new Promise((resolve, reject) => {
693
+ return this.sharedConnector.getConfigSubRubric(parentRubricId, configId, fixedKey).then((result) => {
694
+ if (result.validationResult && result.validationResult.success) {
695
+ if (result.resultObjects) {
696
+ resolve(result.resultObjects);
697
+ }
698
+ }
699
+ else {
700
+ reject(result.validationMessagesAsString);
701
+ }
702
+ });
703
+ });
704
+ });
705
+ }
706
+ getTagsFullTree(category, includeTags) {
707
+ return __awaiter(this, void 0, void 0, function* () {
708
+ return new Promise((resolve, reject) => {
709
+ return this.mainConnector.getTagsFullTree(category, includeTags).then((result) => {
710
+ if (result.validationResult && result.validationResult.success) {
711
+ if (result.resultObjects) {
712
+ resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(TagTreeItem, result.resultObjects));
713
+ }
714
+ }
715
+ else {
716
+ reject(result.validationMessagesAsString);
717
+ }
718
+ });
719
+ });
720
+ });
721
+ }
722
+ getDocumentContent(id, thumbnail = true) {
723
+ return __awaiter(this, void 0, void 0, function* () {
724
+ return new Promise((resolve, reject) => {
725
+ return this.mainConnector.getDocumentContent(id, thumbnail).then((result) => {
726
+ if (result.validationResult && result.validationResult.success) {
727
+ resolve(result.resultObject.documentContent);
728
+ }
729
+ else {
730
+ reject(result.validationMessagesAsString);
731
+ }
732
+ });
733
+ });
734
+ });
735
+ }
672
736
  // public async getPrintStockStickers(request: PrintStockStickers): Promise<PrintStockStickers> {
673
737
  // return new Promise((resolve: Function, reject: Function) => {
674
738
  // return this.sharedConnector.getPrintStockStickers(request).then((result: DataServiceResponseData) => {
@@ -1269,6 +1333,7 @@ const IconSvg = {
1269
1333
  "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>",
1270
1334
  "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>",
1271
1335
  "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>",
1336
+ "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>",
1272
1337
  "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>",
1273
1338
  "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>",
1274
1339
  "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>",
@@ -1280,6 +1345,7 @@ const IconSvg = {
1280
1345
  "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>",
1281
1346
  "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>",
1282
1347
  "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>",
1348
+ "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>",
1283
1349
  "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>",
1284
1350
  "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>",
1285
1351
  "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>",
@@ -1288,7 +1354,9 @@ const IconSvg = {
1288
1354
  "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>",
1289
1355
  "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>",
1290
1356
  "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>",
1291
- "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>"
1357
+ "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>",
1358
+ "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>",
1359
+ "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>"
1292
1360
  };
1293
1361
 
1294
1362
  class IconCacheService {
@@ -1348,6 +1416,7 @@ var Icon;
1348
1416
  Icon["ArrowPointRight"] = "arrow_point_right";
1349
1417
  Icon["AtSolid"] = "at_solid";
1350
1418
  Icon["BringForwardRegular"] = "bring_forward_regular";
1419
+ Icon["CheckDuotone"] = "check_duotone";
1351
1420
  Icon["CheckRound"] = "check_round";
1352
1421
  Icon["DeleteLeftRegular"] = "delete_left_regular";
1353
1422
  Icon["DeliveryTruck"] = "delivery_truck";
@@ -1359,6 +1428,7 @@ var Icon;
1359
1428
  Icon["FilePdfRegular"] = "file_pdf_regular";
1360
1429
  Icon["FilePdfSolid"] = "file_pdf_solid";
1361
1430
  Icon["FileSignatureRegular"] = "file_signature_regular";
1431
+ Icon["HouseBlankRegular"] = "house_blank_regular";
1362
1432
  Icon["Lock"] = "lock";
1363
1433
  Icon["MessageSmsRegular"] = "message_sms_regular";
1364
1434
  Icon["MessageSmsSolid"] = "message_sms_solid";
@@ -1367,7 +1437,9 @@ var Icon;
1367
1437
  Icon["PrintRegular"] = "print_regular";
1368
1438
  Icon["PrintSolid"] = "print_solid";
1369
1439
  Icon["SignatureField"] = "signature_field";
1440
+ Icon["TagRegular"] = "tag_regular";
1370
1441
  Icon["Xml"] = "xml";
1442
+ Icon["XSolid"] = "x_solid";
1371
1443
  })(Icon || (Icon = {}));
1372
1444
 
1373
1445
  class StockInformationGridComponent {
@@ -1972,6 +2044,26 @@ class SharedService {
1972
2044
  return yield this.connector.getSendMethods();
1973
2045
  });
1974
2046
  }
2047
+ getScreenConfigTree() {
2048
+ return __awaiter(this, void 0, void 0, function* () {
2049
+ return yield this.connector.getScreenConfigTree();
2050
+ });
2051
+ }
2052
+ getScreenConfigSubRubric(parentRubricId, configId, fixedKey) {
2053
+ return __awaiter(this, void 0, void 0, function* () {
2054
+ return yield this.connector.getScreenConfigSubRubric(parentRubricId, configId, fixedKey);
2055
+ });
2056
+ }
2057
+ getTagsFullTree(category, includeTags = true) {
2058
+ return __awaiter(this, void 0, void 0, function* () {
2059
+ return yield this.connector.getTagsFullTree(category, includeTags);
2060
+ });
2061
+ }
2062
+ getDocumentContent(docId, thumbnail = true) {
2063
+ return __awaiter(this, void 0, void 0, function* () {
2064
+ return yield this.connector.getDocumentContent(docId, thumbnail);
2065
+ });
2066
+ }
1975
2067
  }
1976
2068
  SharedService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SharedService_Factory() { return new SharedService(i0.ɵɵinject(OptionsService), i0.ɵɵinject(SharedConnectorService)); }, token: SharedService, providedIn: "root" });
1977
2069
  SharedService.decorators = [
@@ -4187,7 +4279,9 @@ class KeyPadComponent {
4187
4279
  return true;
4188
4280
  }
4189
4281
  handleKeyDown(event) {
4190
- this._keyDown(event);
4282
+ if (document.activeElement instanceof HTMLBodyElement) {
4283
+ this._keyDown(event);
4284
+ }
4191
4285
  }
4192
4286
  set internalModel(value) {
4193
4287
  this._internalModel = value;
@@ -4284,27 +4378,27 @@ KeyPadComponent.decorators = [
4284
4378
  template: `
4285
4379
  <div class="key-pad-wrapper">
4286
4380
  <div class="key-pad-model-wrapper" *ngIf="showValue">
4287
- <div class="key-pad-model" [textContent]="internalModel" [class.negative]="isNegative"></div>
4381
+ <co-responsive-text class="key-pad-model" [text]="internalModel" [class.negative]="isNegative"></co-responsive-text>
4288
4382
  </div>
4289
4383
  <div class="key-pad-button-wrapper">
4290
- <div class="key-pad-button button-7" [textContent]="'7'" (click)="handleButtonClick('7')"></div>
4291
- <div class="key-pad-button button-8" [textContent]="'8'" (click)="handleButtonClick('8')"></div>
4292
- <div class="key-pad-button button-9" [textContent]="'9'" (click)="handleButtonClick('9')"></div>
4384
+ <div class="key-pad-button button-7" (click)="handleButtonClick('7')"><co-responsive-text class="key-pad-button-text" [text]="'7'"></co-responsive-text></div>
4385
+ <div class="key-pad-button button-8" (click)="handleButtonClick('8')"><co-responsive-text class="key-pad-button-text" [text]="'8'"></co-responsive-text></div>
4386
+ <div class="key-pad-button button-9" (click)="handleButtonClick('9')"><co-responsive-text class="key-pad-button-text" [text]="'9'"></co-responsive-text></div>
4293
4387
  <div class="key-pad-button button-bs" (click)="handleBsClick($event)">
4294
4388
  <co-icon [iconData]="iconCacheService.getIcon(icons.DeleteLeftRegular)"></co-icon>
4295
4389
  </div>
4296
- <div class="key-pad-button button-4" [textContent]="'4'" (click)="handleButtonClick('4')"></div>
4297
- <div class="key-pad-button button-5" [textContent]="'5'" (click)="handleButtonClick('5')"></div>
4298
- <div class="key-pad-button button-6" [textContent]="'6'" (click)="handleButtonClick('6')"></div>
4299
- <div class="key-pad-button button-minus" [textContent]="'-'" (click)="handleMinusClick($event)"></div>
4300
- <div class="key-pad-button button-1" [textContent]="'1'" (click)="handleButtonClick('1')"></div>
4301
- <div class="key-pad-button button-2" [textContent]="'2'" (click)="handleButtonClick('2')"></div>
4302
- <div class="key-pad-button button-3" [textContent]="'3'" (click)="handleButtonClick('3')"></div>
4390
+ <div class="key-pad-button button-4" (click)="handleButtonClick('4')"><co-responsive-text class="key-pad-button-text" [text]="'4'"></co-responsive-text></div>
4391
+ <div class="key-pad-button button-5" (click)="handleButtonClick('5')"><co-responsive-text class="key-pad-button-text" [text]="'5'"></co-responsive-text></div>
4392
+ <div class="key-pad-button button-6" (click)="handleButtonClick('6')"><co-responsive-text class="key-pad-button-text" [text]="'6'"></co-responsive-text></div>
4393
+ <div class="key-pad-button button-minus" (click)="handleMinusClick($event)"><co-responsive-text class="key-pad-button-text" [text]="'-'"></co-responsive-text></div>
4394
+ <div class="key-pad-button button-1" (click)="handleButtonClick('1')"><co-responsive-text class="key-pad-button-text" [text]="'1'"></co-responsive-text></div>
4395
+ <div class="key-pad-button button-2" (click)="handleButtonClick('2')"><co-responsive-text class="key-pad-button-text" [text]="'2'"></co-responsive-text></div>
4396
+ <div class="key-pad-button button-3" (click)="handleButtonClick('3')"><co-responsive-text class="key-pad-button-text" [text]="'3'"></co-responsive-text></div>
4303
4397
  <div class="key-pad-button button-enter" (click)="handleEnterClick($event)">
4304
- <span [textContent]="'enter'"></span>
4398
+ <co-responsive-text class="key-pad-button-text" [text]="'enter'"></co-responsive-text>
4305
4399
  </div>
4306
- <div class="key-pad-button button-0" [textContent]="'0'" (click)="handleButtonClick('0')"></div>
4307
- <div class="key-pad-button button-dot" [textContent]="'.'" (click)="handleButtonClick('.')"></div>
4400
+ <div class="key-pad-button button-0" (click)="handleButtonClick('0')"><co-responsive-text class="key-pad-button-text" [text]="'0'"></co-responsive-text></div>
4401
+ <div class="key-pad-button button-dot" (click)="handleButtonClick('.')"><co-responsive-text class="key-pad-button-text" [text]="'.'"></co-responsive-text></div>
4308
4402
  </div>
4309
4403
  </div>
4310
4404
  `,
@@ -4331,7 +4425,8 @@ KeyPadModule.decorators = [
4331
4425
  { type: NgModule, args: [{
4332
4426
  imports: [
4333
4427
  CommonModule,
4334
- IconModule
4428
+ IconModule,
4429
+ ResponsiveTextModule
4335
4430
  ],
4336
4431
  declarations: [
4337
4432
  KeyPadComponent
@@ -6338,6 +6433,254 @@ DatePlanningModule.decorators = [
6338
6433
  },] }
6339
6434
  ];
6340
6435
 
6436
+ class SimpleTagsComponent {
6437
+ constructor(iconCacheService, sharedService) {
6438
+ this.iconCacheService = iconCacheService;
6439
+ this.sharedService = sharedService;
6440
+ this.icon = Icon;
6441
+ this.closeClick = new EventEmitter();
6442
+ this.saveClick = new EventEmitter();
6443
+ this.breadCrumbs = [];
6444
+ this.displayTags = [];
6445
+ this.searchString = '';
6446
+ this._tags = [];
6447
+ this._linkedTags = [];
6448
+ }
6449
+ set tags(tags) {
6450
+ this._tags = tags;
6451
+ this.setRootDisplayTags();
6452
+ }
6453
+ set linkedTags(tags) {
6454
+ this._linkedTags = tags;
6455
+ tags.forEach((tag) => this._loadThumbnail(tag));
6456
+ }
6457
+ get linkedTags() {
6458
+ return this._linkedTags;
6459
+ }
6460
+ showClass() {
6461
+ return true;
6462
+ }
6463
+ setRootDisplayTags() {
6464
+ this.displayTags = this._tags.filter((tag) => tag.treeLevel === 0);
6465
+ this.breadCrumbs = [];
6466
+ this.searchString = '';
6467
+ }
6468
+ handleTagSelected(selectedTag) {
6469
+ if (selectedTag.tagType === 'TR' || selectedTag.tagType === 'TG') {
6470
+ if (selectedTag !== this.breadCrumbs[0]) {
6471
+ this.breadCrumbs.push(selectedTag);
6472
+ }
6473
+ this.displayTags = this._tags.filter((tag) => {
6474
+ return tag.parentId === selectedTag.id && tag.treeLevel === selectedTag.treeLevel + 1;
6475
+ });
6476
+ }
6477
+ }
6478
+ handleCrumbClicked(tag, index) {
6479
+ if (tag !== this.breadCrumbs[this.breadCrumbs.length - 1]) {
6480
+ this.breadCrumbs.splice(index + 1);
6481
+ this.handleTagSelected(tag);
6482
+ }
6483
+ }
6484
+ handleAddTag(event) {
6485
+ const draggedTag = this.displayTags[event.previousIndex];
6486
+ if (!this._linkedTags.includes(draggedTag)) {
6487
+ this._linkedTags.push(this.displayTags[event.previousIndex]);
6488
+ this._loadThumbnail(draggedTag);
6489
+ }
6490
+ }
6491
+ deleteLinkedTag(tag) {
6492
+ this._linkedTags.splice(this._linkedTags.indexOf(tag), 1);
6493
+ }
6494
+ searchCollection() {
6495
+ if (!this.searchString) {
6496
+ this.searchString = '';
6497
+ this.setRootDisplayTags();
6498
+ return;
6499
+ }
6500
+ if (this.searchString.length < 2) {
6501
+ return;
6502
+ }
6503
+ if (this.searchString === '') {
6504
+ this.setRootDisplayTags();
6505
+ return;
6506
+ }
6507
+ const matchingObjects = [];
6508
+ this._tags.filter((item) => item.tagType === 'T').forEach((obj) => {
6509
+ Object.values(obj).forEach((value) => {
6510
+ if (typeof value === 'string' || typeof value === 'number') {
6511
+ const stringValue = String(value).toLowerCase();
6512
+ if (stringValue.includes(this.searchString.toLowerCase())) {
6513
+ matchingObjects.push(obj);
6514
+ }
6515
+ }
6516
+ });
6517
+ });
6518
+ this.displayTags = matchingObjects;
6519
+ this.breadCrumbs = [];
6520
+ }
6521
+ handleSaveTags() {
6522
+ this.saveClick.next(this._linkedTags);
6523
+ this.closeClick.next();
6524
+ }
6525
+ _loadThumbnail(tagTreeItem) {
6526
+ if (tagTreeItem.image && tagTreeItem.image.documentId && !tagTreeItem.image.thumbnailBody) {
6527
+ this.sharedService.getDocumentContent(tagTreeItem.image.documentId, true)
6528
+ .then((result) => {
6529
+ if (result) {
6530
+ tagTreeItem.image.thumbnailBody = result;
6531
+ }
6532
+ });
6533
+ }
6534
+ }
6535
+ }
6536
+ SimpleTagsComponent.decorators = [
6537
+ { type: Component, args: [{
6538
+ selector: "co-simple-tags",
6539
+ template: `
6540
+ <co-dialog
6541
+ [headerTemplate]="headerTemplate"
6542
+ [footerTemplate]="footerTemplate"
6543
+ (closeClick)="closeClick.emit()"
6544
+ >
6545
+ <ng-template #headerTemplate>
6546
+ <div class="header-wrapper">
6547
+ <co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
6548
+ <span class="co-dialog-header-title" [textContent]="'Tags'"></span>
6549
+ </div>
6550
+ </ng-template>
6551
+
6552
+ <div class="dialog-content-wrapper">
6553
+ <div class="collection-navigation">
6554
+ <span class="title" [textContent]="'Beschikbare tags'"></span>
6555
+ <co-input-search
6556
+ [(model)]="searchString"
6557
+ [placeholder]="'Search for tag name'"
6558
+ (search)="searchCollection()"
6559
+ (modelChange)="searchCollection()"
6560
+ (rightIconClick)="searchCollection()"
6561
+ ></co-input-search>
6562
+ <div class="breadcrumbs">
6563
+ <co-icon
6564
+ [iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
6565
+ (click)="setRootDisplayTags()"
6566
+ ></co-icon>
6567
+ <div class="crumbs">
6568
+ <span class="spacer" [textContent]="'|'"></span>
6569
+ <div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
6570
+ <span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
6571
+ <span [textContent]="crumb.description"></span>
6572
+ </div>
6573
+ </div>
6574
+ </div>
6575
+ <div class="collection-view"
6576
+ cdkDropList
6577
+ cdkDropListSortingDisabled
6578
+ #collectionList="cdkDropList"
6579
+ [cdkDropListData]="displayTags"
6580
+ [cdkDropListConnectedTo]="[linkedList]"
6581
+ ><div class="collection-item"
6582
+ *ngFor="let tag of displayTags"
6583
+ cdkDrag
6584
+ [cdkDragDisabled]="tag.tagType !== 'T' || linkedTags.includes(tag)"
6585
+ [class.draggable]="tag.tagType === 'T' && !linkedTags.includes(tag)"
6586
+ [class.disabled]="linkedTags.includes(tag)"
6587
+ (click)="handleTagSelected(tag)">
6588
+
6589
+ <div class="collection-item" *cdkDragPlaceholder>
6590
+ <co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
6591
+ <span [textContent]="tag.description"></span>
6592
+ </div>
6593
+
6594
+ <div *cdkDragPreview><co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon></div>
6595
+
6596
+ <co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
6597
+ <span [textContent]="tag.description"></span>
6598
+ </div>
6599
+ </div>
6600
+ </div>
6601
+
6602
+ <div class="linked-tags-view">
6603
+ <span class="title" [textContent]="'Gekoppelde tags'"></span>
6604
+ <div class="view-wrapper"
6605
+ cdkDropList
6606
+ #linkedList="cdkDropList"
6607
+ [cdkDropListData]="linkedTags"
6608
+ (cdkDropListDropped)="handleAddTag($event)">
6609
+ <div class="tag-item" *ngFor="let tag of linkedTags" [cdkDragDisabled]="true" cdkDrag [style.background-color]="tag.color?.replace('0x', '#')">
6610
+ <div class="placeholderLinked" *cdkDragPlaceholder></div>
6611
+
6612
+ <div class="thumbnail-description">
6613
+ <co-icon *ngIf="!tag.image?.thumbnailBody" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
6614
+ <div *ngIf="tag.image" class="thumbnail-wrapper">
6615
+ <img [src]="tag.image.thumbnailBodyAsDataUri">
6616
+ </div>
6617
+
6618
+ <div class="description-wrapper">
6619
+ <span [textContent]="tag.parentDescription"></span>
6620
+ <span class="description" [textContent]="tag.description"></span>
6621
+ </div>
6622
+ </div>
6623
+ <co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
6624
+ [iconData]="iconCacheService.getIcon(icon.XSolid)"
6625
+ ></co-icon>
6626
+ </div>
6627
+ </div>
6628
+ </div>
6629
+ </div>
6630
+
6631
+ <ng-template #footerTemplate>
6632
+ <div class="co-dialog-footer-button-wrapper">
6633
+ <div class="commit-button-wrapper">
6634
+ <co-button
6635
+ [iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
6636
+ (click)="handleSaveTags()"
6637
+ ></co-button>
6638
+ <co-button
6639
+ class="cancel-button"
6640
+ [iconData]="iconCacheService.getIcon(icon.XSolid)"
6641
+ (click)="closeClick.next()"
6642
+ ></co-button>
6643
+ </div>
6644
+ </div>
6645
+ </ng-template>
6646
+ </co-dialog>
6647
+ `,
6648
+ encapsulation: ViewEncapsulation.None
6649
+ },] }
6650
+ ];
6651
+ SimpleTagsComponent.ctorParameters = () => [
6652
+ { type: IconCacheService },
6653
+ { type: SharedService }
6654
+ ];
6655
+ SimpleTagsComponent.propDecorators = {
6656
+ tags: [{ type: Input }],
6657
+ linkedTags: [{ type: Input }],
6658
+ closeClick: [{ type: Output }],
6659
+ saveClick: [{ type: Output }],
6660
+ showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
6661
+ };
6662
+
6663
+ class SimpleTagsModule {
6664
+ }
6665
+ SimpleTagsModule.decorators = [
6666
+ { type: NgModule, args: [{
6667
+ imports: [
6668
+ CommonModule,
6669
+ CoDialogModule,
6670
+ InputSearchModule,
6671
+ IconModule,
6672
+ DragDropModule,
6673
+ ButtonModule
6674
+ ],
6675
+ declarations: [
6676
+ SimpleTagsComponent
6677
+ ],
6678
+ exports: [
6679
+ SimpleTagsComponent
6680
+ ]
6681
+ },] }
6682
+ ];
6683
+
6341
6684
  /*
6342
6685
  * Public API Surface of sharedcomponents
6343
6686
  */
@@ -6346,5 +6689,5 @@ DatePlanningModule.decorators = [
6346
6689
  * Generated bundle index. Do not edit.
6347
6690
  */
6348
6691
 
6349
- 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 };
6692
+ 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 };
6350
6693
  //# sourceMappingURL=colijnit-sharedcomponents.js.map