{"version":3,"file":"qualcomm-ui-angular-core-password-input.mjs","sources":["../../src/password-input/password-input-context.service.ts","../../src/password-input/core-password-input-clear-trigger.directive.ts","../../src/password-input/core-password-input-error-indicator.directive.ts","../../src/password-input/core-password-input-error-text.directive.ts","../../src/password-input/core-password-input-hint.directive.ts","../../src/password-input/core-password-input-input-group.directive.ts","../../src/password-input/core-password-input-input.directive.ts","../../src/password-input/core-password-input-label.directive.ts","../../src/password-input/core-password-input-root.directive.ts","../../src/password-input/core-password-input-visibility-trigger.directive.ts","../../src/password-input/qualcomm-ui-angular-core-password-input.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n  type ApiContext,\n  BaseApiContextService,\n  createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PasswordInputApi} from \"@qualcomm-ui/core/password-input\"\n\n@Injectable()\nexport class PasswordInputContextService extends BaseApiContextService<PasswordInputApi> {}\n\nexport const [\n  PASSWORD_INPUT_CONTEXT,\n  usePasswordInputContext,\n  providePasswordInputContext,\n]: ApiContext<PasswordInputApi> = createApiContext<PasswordInputApi>(\n  \"PasswordInputContext\",\n  PasswordInputContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputClearTriggerDirective implements OnInit {\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getClearTriggerBindings()\n  })\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputErrorIndicatorDirective implements OnInit {\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getErrorIndicatorBindings()\n  })\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputErrorTextDirective implements OnInit {\n  /**\n   * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n   * omitted, a unique identifier will be generated for accessibility.\n   */\n  readonly id = input<string>()\n\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getErrorTextBindings({\n      id: this.hostId(),\n      onDestroy: this.onDestroy,\n    })\n  })\n\n  private readonly hostId = computed(() => useId(this, this.id()))\n\n  private readonly onDestroy = useOnDestroy()\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputHintDirective implements OnInit {\n  /**\n   * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n   * omitted, a unique identifier will be generated for accessibility.\n   */\n  readonly id = input<string>()\n\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getHintBindings({\n      id: this.hostId(),\n      onDestroy: this.onDestroy,\n    })\n  })\n\n  private readonly hostId = computed(() => useId(this, this.id()))\n\n  private readonly onDestroy = useOnDestroy()\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputInputGroupDirective implements OnInit {\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getInputGroupBindings()\n  })\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputInputDirective implements OnInit {\n  /**\n   * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n   * omitted, a unique identifier will be generated for accessibility.\n   */\n  readonly id = input<string>()\n\n  /**\n   * ARIA label applied to the input. Use this instead of `[attr.aria-label]`\n   *\n   * @since 2.4.0\n   */\n  readonly ariaLabel = input<string | undefined>(undefined, {\n    alias: \"aria-label\",\n  })\n\n  /**\n   * ID reference for an external label applied to the input.\n   *\n   * @since 2.4.0\n   */\n  readonly ariaLabelledby = input<string | undefined>(undefined, {\n    alias: \"aria-labelledby\",\n  })\n\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    const bindings = this.passwordInputContext().getInputBindings({\n      id: this.hostId(),\n      onDestroy: this.onDestroy,\n    })\n    const ariaLabel = this.ariaLabel() ?? undefined\n    const ariaLabelledby = this.ariaLabelledby() ?? bindings[\"aria-labelledby\"]\n\n    return {\n      ...bindings,\n      \"aria-label\": ariaLabel,\n      \"aria-labelledby\": ariaLabelledby,\n    }\n  })\n\n  private readonly hostId = computed(() => useId(this, this.id()))\n\n  private readonly onDestroy = useOnDestroy()\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputLabelDirective implements OnInit {\n  /**\n   * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n   * omitted, a unique identifier will be generated for accessibility.\n   */\n  readonly id = input<string>()\n\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getLabelBindings({\n      id: this.hostId(),\n      onDestroy: this.onDestroy,\n    })\n  })\n\n  private readonly hostId = computed(() => useId(this, this.id()))\n\n  private readonly onDestroy = useOnDestroy()\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n  booleanAttribute,\n  computed,\n  Directive,\n  inject,\n  input,\n  type OnInit,\n  output,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {AbstractInputFormControlDirective} from \"@qualcomm-ui/angular-core/input\"\nimport {\n  normalizeProps,\n  useMachine,\n  useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n  createPasswordInputApi,\n  type PasswordInputApiProps,\n  type PasswordInputIntlTranslations,\n  passwordInputMachine,\n} from \"@qualcomm-ui/core/password-input\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {PasswordInputContextService} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputRootDirective\n  extends AbstractInputFormControlDirective\n  implements\n    Omit<SignalifyInput<PasswordInputApiProps>, \"form\" | \"ids\" | \"value\">,\n    OnInit\n{\n  /**\n   * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete autocomplete}\n   * attribute for the password input.\n   *\n   * @default \"current-password\"\n   */\n  readonly autoComplete = input<\n    \"current-password\" | \"new-password\" | undefined\n  >()\n\n  /**\n   * The default visibility of the password input.\n   */\n  readonly defaultVisible = input<boolean | undefined, Booleanish>(undefined, {\n    transform: booleanAttribute,\n  })\n\n  /**\n   * The document's text/writing direction.\n   *\n   * @default \"ltr\"\n   */\n  readonly dir = input<Direction | undefined>(undefined)\n\n  /**\n   * A root node to correctly resolve the Document in custom environments. i.e.,\n   * Iframes, Electron.\n   */\n  readonly getRootNode = input<\n    (() => ShadowRoot | Document | Node) | undefined\n  >()\n\n  /**\n   * Localized messages to use for element labels.\n   */\n  readonly translations = input<PasswordInputIntlTranslations | undefined>()\n\n  /**\n   * Whether the password input is visible.\n   */\n  readonly visible = input<boolean | undefined, Booleanish>(undefined, {\n    transform: booleanAttribute,\n  })\n\n  /**\n   * Event emitted when the input value changes. This is only emitted on\n   * interaction. It doesn't emit in response to programmatic form control changes.\n   */\n  readonly valueChanged = output<string>()\n\n  /**\n   * Function called when the visibility changes.\n   */\n  readonly visibleChanged = output<boolean>()\n\n  protected readonly document = inject(DOCUMENT)\n\n  protected readonly isMounted = useIsMounted()\n\n  protected readonly passwordInputService = inject(PasswordInputContextService)\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputService.context().getRootBindings()\n  })\n\n  override ngOnInit() {\n    super.ngOnInit()\n\n    const machine = useMachine(\n      passwordInputMachine,\n      computed<Explicit<PasswordInputApiProps>>(() => ({\n        autoComplete: this.autoComplete(),\n        defaultValue: this.defaultValue(),\n        defaultVisible: this.defaultVisible(),\n        dir: this.dir(),\n        disabled: this.isDisabled(),\n        // angular handles this automatically with ngModel and Reactive Forms\n        form: undefined,\n        getRootNode: this.getRootNode() ?? (() => this.document),\n        ids: undefined,\n        invalid: this.isInvalid(),\n        name: this.name(),\n        onFocusChange: (focused) => {\n          if (!focused) {\n            // only trigger onTouched on blur.\n            this.onTouched()\n          }\n        },\n        onValueChange: (value) => {\n          if (!this.control) {\n            if (this.isMounted()) {\n              this.valueChanged.emit(value)\n            }\n            this.value.set(value)\n            return\n          }\n          // ngModel is bound to the root, but change events happen on the <input>\n          // element and are forwarded to the machine.  So we need to fire the value\n          // change event to keep the form in sync.\n          this.onChange(value)\n          if (!this.control?.touched) {\n            this.control.markAsTouched?.()\n          }\n          if (!this.control?.dirty) {\n            this.control.markAsDirty?.()\n          }\n        },\n        onVisibleChange: (value) => {\n          if (this.isMounted()) {\n            this.visibleChanged.emit(value)\n          }\n        },\n        readOnly: this.readOnly(),\n        required: this.isRequired(),\n        translations: this.translations(),\n        value: this.value(),\n        visible: this.visible(),\n      })),\n      this.injector,\n    )\n\n    this.passwordInputService.init(\n      computed(() => createPasswordInputApi(machine, normalizeProps)),\n    )\n\n    this.trackBindings()\n  }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputVisibilityTriggerDirective implements OnInit {\n  /**\n   * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n   * omitted, a unique identifier will be generated for accessibility.\n   */\n  readonly id = input<string>()\n\n  protected readonly passwordInputContext = usePasswordInputContext()\n\n  protected readonly trackBindings = useTrackBindings(() => {\n    return this.passwordInputContext().getVisibilityTriggerBindings({\n      id: this.hostId(),\n      onDestroy: this.onDestroy,\n    })\n  })\n\n  private readonly hostId = computed(() => useId(this, this.id()))\n\n  private readonly onDestroy = useOnDestroy()\n\n  ngOnInit() {\n    this.trackBindings()\n  }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AAYM,MAAO,2BAA4B,SAAQ,qBAAuC,CAAA;wGAA3E,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAA3B,2BAA2B,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;AAGM,MAAM,CACX,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC5B,GAAiC,gBAAgB,CAChD,sBAAsB,EACtB,2BAA2B;;ACrB7B;AACA;MASa,sCAAsC,CAAA;IAC9B,oBAAoB,GAAG,uBAAuB,EAAE;AAEhD,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAAK;AACvD,QAAA,OAAO,IAAI,CAAC,oBAAoB,EAAE,CAAC,uBAAuB,EAAE;AAC9D,IAAA,CAAC,CAAC;IAEF,QAAQ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