{ "version": 3, "sources": ["libs/mediio-plattform/kernel/core/current-organization-users/user-details-tab-plugin/util/src/lib/tokens/current-organization-user-details-tab-plugin-token.ts", "libs/mediio-plattform/kernel/core/users/user-details-tab-plugin/util/src/lib/tokens/user-details-tab-plugin-token.ts", "libs/mediio-plattform/kernel/core/organizations/util/src/lib/functions/filter-organizations-by-search-term.ts", "libs/mediio-plattform/kernel/core/users/util/src/lib/consts/salutation-options.ts", "libs/mediio-plattform/kernel/core/users/util/src/lib/consts/title-options.ts"], "sourcesContent": ["import { InjectionToken } from '@angular/core';\r\n\r\nimport { ICurrentOrganizationUserDetailsTabPlugin } from '../interfaces';\r\n\r\nexport const CURRENT_ORGANIZATION_USER_DETAILS_TAB_PLUGIN = new InjectionToken<\r\n ICurrentOrganizationUserDetailsTabPlugin[]\r\n>('CurrentOrganizationUserDetailsTabPlugin');\r\n", "import { InjectionToken } from '@angular/core';\r\n\r\nimport { IUserDetailsTabPlugin } from '../interfaces/user-details-tab-plugin';\r\n\r\nexport const USER_DETAILS_TAB_PLUGIN = new InjectionToken('UserDetailsTabPlugin');\r\n", "import { Organization } from '@mp/kernel/organizations/domain';\r\n\r\nexport function* filterOrganizationsBySearchTerm(\r\n organizations: Iterable,\r\n searchTerm: string,\r\n): Iterable {\r\n if (!searchTerm) {\r\n yield* organizations;\r\n return;\r\n }\r\n\r\n searchTerm = searchTerm.toLowerCase();\r\n\r\n for (const o of organizations) {\r\n if (o.name.toLowerCase().includes(searchTerm) || o.institutionCode?.toLowerCase()?.includes(searchTerm) === true) {\r\n yield o;\r\n }\r\n }\r\n}\r\n", "import { SelectOption } from '@core/ui';\r\n\r\nexport const DEFAULT_SALUTATION_OPTIONS: SelectOption[] = [\r\n { label: 'Keine Angabe', value: null, isResetOption: true },\r\n { label: 'Herr', value: 'Herr' },\r\n { label: 'Frau', value: 'Frau' },\r\n { label: 'Divers', value: 'Divers' },\r\n];\r\n", "import { SelectOption } from '@core/ui';\r\n\r\nexport const DEFAULT_TITLE_OPTIONS: SelectOption[] = [\r\n { label: 'Keine Angabe', value: null, isResetOption: true },\r\n { label: 'Dr.', value: 'Dr.' },\r\n { label: 'Dr. med.', value: 'Dr. med.' },\r\n { label: 'Prof.', value: 'Prof.' },\r\n { label: 'Prof. Dr.', value: 'Prof. Dr.' },\r\n { label: 'Prof. Dr. med.', value: 'Prof. Dr. med.' },\r\n { label: 'PD Dr. med.', value: 'PD Dr. med.' },\r\n { label: 'Prof. Dr. Dr.', value: 'Prof. Dr. Dr.' },\r\n];\r\n"], "mappings": "iFAIO,IAAMA,EAA+C,IAAIC,EAE9D,yCAAyC,ECFpC,IAAMC,EAA0B,IAAIC,EAAwC,sBAAsB,ECFnG,SAAWC,EACfC,EACAC,EAAkB,CAElB,GAAI,CAACA,EAAY,CACf,MAAAC,EAAOF,GACP,MACF,CAEAC,EAAaA,EAAWE,YAAW,EAEnC,QAAWC,KAAKJ,GACVI,EAAEC,KAAKF,YAAW,EAAGG,SAASL,CAAU,GAAKG,EAAEG,iBAAiBJ,YAAW,GAAIG,SAASL,CAAU,IAAM,MAC1G,MAAMG,EAGZ,CChBO,IAAMI,EAA4D,CACvE,CAAEC,MAAO,eAAgBC,MAAO,KAAMC,cAAe,EAAI,EACzD,CAAEF,MAAO,OAAQC,MAAO,MAAM,EAC9B,CAAED,MAAO,OAAQC,MAAO,MAAM,EAC9B,CAAED,MAAO,SAAUC,MAAO,QAAQ,CAAE,ECJ/B,IAAME,EAAuD,CAClE,CAAEC,MAAO,eAAgBC,MAAO,KAAMC,cAAe,EAAI,EACzD,CAAEF,MAAO,MAAOC,MAAO,KAAK,EAC5B,CAAED,MAAO,WAAYC,MAAO,UAAU,EACtC,CAAED,MAAO,QAASC,MAAO,OAAO,EAChC,CAAED,MAAO,YAAaC,MAAO,WAAW,EACxC,CAAED,MAAO,iBAAkBC,MAAO,gBAAgB,EAClD,CAAED,MAAO,cAAeC,MAAO,aAAa,EAC5C,CAAED,MAAO,gBAAiBC,MAAO,eAAe,CAAE", "names": ["CURRENT_ORGANIZATION_USER_DETAILS_TAB_PLUGIN", "InjectionToken", "USER_DETAILS_TAB_PLUGIN", "InjectionToken", "filterOrganizationsBySearchTerm", "organizations", "searchTerm", "__yieldStar", "toLowerCase", "o", "name", "includes", "institutionCode", "DEFAULT_SALUTATION_OPTIONS", "label", "value", "isResetOption", "DEFAULT_TITLE_OPTIONS", "label", "value", "isResetOption"] }