{ "version": 3, "sources": ["src/app/shared/pipes/join.pipe.ts", "src/app/shared/pipes/menu-item.pipe.ts"], "sourcesContent": ["/**\n * Copyright (c) 2020-2023 by Bosch.IO GmbH\n *\n * http://www.bosch.io\n * All rights reserved,\n * also regarding any disposal, exploitation, reproduction,\n * editing, distribution, as well as in the event of\n * applications for industrial property rights.\n *\n * This software is the confidential and proprietary information\n * of Bosch.IO GmbH. You shall not disclose\n * such Confidential Information and shall use it only in\n * accordance with the terms of the license agreement you\n * entered into with Bosch.IO.\n */\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { RoleInfo } from '../models/user.model';\n\n@Pipe({\n name: 'join',\n standalone: true,\n})\nexport class JoinPipe implements PipeTransform {\n transform(value: RoleInfo[], lang: string): string {\n return value\n .map((x) => (lang === 'en' ? x.label.en : x.label.de))\n .join(', ');\n }\n}\n", "/**\n * Copyright (c) 2020-2023 by Bosch.IO GmbH\n *\n * http://www.bosch.io\n * All rights reserved,\n * also regarding any disposal, exploitation, reproduction,\n * editing, distribution, as well as in the event of\n * applications for industrial property rights.\n *\n * This software is the confidential and proprietary information\n * of Bosch.IO GmbH. You shall not disclose\n * such Confidential Information and shall use it only in\n * accordance with the terms of the license agreement you\n * entered into with Bosch.IO.\n */\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { ViewMenuItem } from 'src/app/shared/models/view.model';\n\n@Pipe({\n name: 'menuItemPipe',\n standalone: true,\n})\nexport class MenuItemPipe implements PipeTransform {\n transform(value: ViewMenuItem[]): string {\n return value.map((x) => x.label.en).join(', ');\n }\n}\n"], "mappings": ";;;;;AAsBM,IAAO,YAAP,MAAO,UAAQ;EACnB,UAAU,OAAmB,MAAY;AACvC,WAAO,MACJ,IAAI,CAAC,MAAO,SAAS,OAAO,EAAE,MAAM,KAAK,EAAE,MAAM,EAAG,EACpD,KAAK,IAAI;EACd;;;mBALW,WAAQ;AAAA;oFAAR,WAAQ,MAAA,MAAA,YAAA,KAAA,CAAA;AAAf,IAAO,WAAP;;;ACAA,IAAO,gBAAP,MAAO,cAAY;EACvB,UAAU,OAAqB;AAC7B,WAAO,MAAM,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,IAAI;EAC/C;;;mBAHW,eAAY;AAAA;gGAAZ,eAAY,MAAA,MAAA,YAAA,KAAA,CAAA;AAAnB,IAAO,eAAP;", "names": [] }