Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 1x | /** * Copyright (c) Siemens 2016 - 2025 * SPDX-License-Identifier: MIT */ import { Directive } from '@angular/core'; import { SiSelectComplexOptionsDirective, SiSelectSingleValueDirective } from '@siemens/element-ng/select'; /** * This directive provides the si-select options and value strategy for the phone number input. * As we don't use si-select directly, we need to provide these strategies manually. */ @Directive({ selector: '[siPhoneNumberInputSelect]', hostDirectives: [ { directive: SiSelectComplexOptionsDirective, inputs: ['complexOptions', 'valueProvider'] }, { directive: SiSelectSingleValueDirective, inputs: ['value'], outputs: ['valueChange'] } ] }) export class SiPhoneNumberInputSelectDirective {} |