{"version":3,"file":"fundamental-ngx-ui5-webcomponents-ai-input.mjs","sources":["../../../../libs/ui5-webcomponents-ai/input/index.ts","../../../../libs/ui5-webcomponents-ai/input/fundamental-ngx-ui5-webcomponents-ai-input.ts"],"sourcesContent":["\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ElementRef,\n  input,\n  output,\n  AfterViewInit,\n  effect,\n  runInInjectionContext,\n  inject,\n  Injector,\n  booleanAttribute,\n  computed,\n  signal,\n  DestroyRef\n} from '@angular/core';\nimport '@ui5/webcomponents-ai/dist/Input.js';\nimport { default as _Input } from '@ui5/webcomponents-ai/dist/Input.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n  ContentDensityObserver,\n  contentDensityObserverProviders,\n  ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\nimport { GenericControlValueAccessor, CVA_CONFIG } from '@fundamental-ngx/ui5-webcomponents-ai/utils';\n\nimport { default as InputSuggestionsFilter } from '@ui5/webcomponents/dist/types/InputSuggestionsFilter.js';\nimport { default as InputType } from '@ui5/webcomponents/dist/types/InputType.js';\nimport { default as ValueState } from '@ui5/webcomponents-base/dist/types/ValueState.js';\n\n@Component({\n  standalone: true,\n  selector: 'ui5-ai-input, [ui5-ai-input]',\n  template: '<ng-content></ng-content>',\n  exportAs: 'ui5Input',\n  hostDirectives: [GenericControlValueAccessor],\n  providers: [\n    contentDensityObserverProviders({\n      supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n    }),\n    {\n      provide: CVA_CONFIG,\n      useValue: {\n        property: 'value',\n        events: ['change', 'input'],\n        transformValue: (v) => v || ''\n      }\n    }\n  ],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Input implements AfterViewInit {\n\n  /**\n   * Indicates the index of the currently displayed version.\n   */\n  currentVersion = input<typeof _Input.prototype.currentVersion | undefined>(0);\n\n  /**\n   * Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.\n   */\n  loading = input(false, { transform: booleanAttribute });\n\n  /**\n   * Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.\n   */\n  totalVersions = input<typeof _Input.prototype.totalVersions | undefined>(0);\n\n  /**\n   * Defines the accessible description of the component.\n   */\n  accessibleDescription = input<typeof _Input.prototype.accessibleDescription | undefined>();\n\n  /**\n   * Receives id(or many ids) of the elements that describe the input.\n   */\n  accessibleDescriptionRef = input<typeof _Input.prototype.accessibleDescriptionRef | undefined>();\n\n  /**\n   * Defines the accessible ARIA name of the component.\n   */\n  accessibleName = input<typeof _Input.prototype.accessibleName | undefined>();\n\n  /**\n   * Receives id(or many ids) of the elements that label the input.\n   */\n  accessibleNameRef = input<typeof _Input.prototype.accessibleNameRef | undefined>();\n\n  /**\n   * Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.\n   */\n  disabled = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines the filter type of the component.\n   */\n  filter = input<typeof _Input.prototype.filter | undefined>(\"None\");\n\n  /**\n   * Sets the maximum number of characters available in the input field.\n\n**Note:** This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.\n   */\n  maxlength = input<typeof _Input.prototype.maxlength | undefined>();\n\n  /**\n   * Determines the name by which the component will be identified upon submission in an HTML form.\n\n**Note:** This property is only applicable within the context of an HTML Form element.\n   */\n  name = input<typeof _Input.prototype.name | undefined>();\n\n  /**\n   * Defines whether the value will be autcompleted to match an item\n   */\n  noTypeahead = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines whether the suggestions picker is open.\nThe picker will not open if the `showSuggestions` property is set to `false`, the input is disabled or the input is readonly.\nThe picker will close automatically and `close` event will be fired if the input is not in the viewport.\n   */\n  open = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.\n   */\n  placeholder = input<typeof _Input.prototype.placeholder | undefined>();\n\n  /**\n   * Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.\n   */\n  readonly = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines whether the component is required.\n   */\n  required = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines whether the clear icon of the input will be shown.\n   */\n  showClearIcon = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines whether the component should show suggestions, if such are present.\n   */\n  showSuggestions = input(false, { transform: booleanAttribute });\n\n  /**\n   * Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.\n   */\n  type = input<typeof _Input.prototype.type | undefined>(\"Text\");\n\n  /**\n   * Defines the value of the component.\n\n**Note:** The property is updated upon typing.\n   */\n  value = input<typeof _Input.prototype.value | undefined>(\"\");\n\n  /**\n   * Defines the value state of the component.\n   */\n  valueState = input<typeof _Input.prototype.valueState | undefined>(\"None\"); // className is now passed\n\n\n\n  /**\n   * Fired when the user selects the AI button.\n   */\n  ui5ButtonClick = output<UI5CustomEvent<_Input, 'button-click'>>();\n\n  /**\n   * Fired when an item from the AI actions menu is clicked.\n   */\n  ui5ItemClick = output<UI5CustomEvent<_Input, 'item-click'>>();\n\n  /**\n   * Fired when the user selects the \"Stop\" button to stop ongoing AI text generation.\n   */\n  ui5StopGeneration = output<UI5CustomEvent<_Input, 'stop-generation'>>();\n\n  /**\n   * Fired when the user selects the version navigation buttons.\n   */\n  ui5VersionChange = output<UI5CustomEvent<_Input, 'version-change'>>();\n\n  /**\n   * Fired when the input operation has finished by pressing Enter or on focusout.\n   */\n  ui5Change = output<UI5CustomEvent<_Input, 'change'>>();\n\n  /**\n   * Fired when the suggestions picker is closed.\n   */\n  ui5Close = output<UI5CustomEvent<_Input, 'close'>>();\n\n  /**\n   * Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n   */\n  ui5Input = output<UI5CustomEvent<_Input, 'input'>>();\n\n  /**\n   * Fired when the suggestions picker is open.\n   */\n  ui5Open = output<UI5CustomEvent<_Input, 'open'>>();\n\n  /**\n   * Fired when some text has been selected.\n   */\n  ui5Select = output<UI5CustomEvent<_Input, 'select'>>();\n\n  /**\n   * Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n   */\n  ui5SelectionChange = output<UI5CustomEvent<_Input, 'selection-change'>>();\n\n  /**\n   * Available slots for content projection in this component.\n   *\n   * Slots allow you to insert custom content into predefined areas of the web component.\n   * Use the `slot` attribute on child elements to target specific slots.\n   *\n   * - **actions**: Defines the items of the menu for the component.\n   * - **(default)**: Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions.\n   * - **icon**: Defines the icon to be displayed in the component.\n   * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n   *\n   * @example\n   * ```html\n   * <ui5-ai-input>\n   *   <div slot=\"header\">Custom header content</div>\n   *   <p>Default slot content</p>\n   * </ui5-ai-input>\n   * ```\n   *\n   * @readonly\n   * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n   */\n  readonly slots = [\n      {\n          \"name\": \"actions\",\n          \"description\": \"Defines the items of the menu for the component.\"\n      },\n      {\n          \"name\": \"default\",\n          \"description\": \"Defines the suggestion items.\\n\\n**Note:** The suggestions would be displayed only if the `showSuggestions`\\nproperty is set to `true`.\\n\\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\\n\\n**Note:** Input with type `Number` does not support suggestions.\"\n      },\n      {\n          \"name\": \"icon\",\n          \"description\": \"Defines the icon to be displayed in the component.\"\n      },\n      {\n          \"name\": \"valueStateMessage\",\n          \"description\": \"Defines the value state message that will be displayed as pop up under the component.\\nThe value state message slot should contain only one root element.\\n\\n**Note:** If not specified, a default text (in the respective language) will be displayed.\\n\\n**Note:** The `valueStateMessage` would be displayed,\\nwhen the component is in `Information`, `Critical` or `Negative` value state.\\n\\n**Note:** If the component has `suggestionItems`,\\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\",\n          \"since\": \"1.0.0-rc.6\"\n      }\n  ];\n\n\n  public elementRef: ElementRef<_Input> = inject(ElementRef);\n  public injector = inject(Injector);\n\n  /**\n   * Content density observer is injected to activate automatic CSS class and\n   * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n   * @private\n   */\n  private readonly _contentDensityObserver = inject(ContentDensityObserver);\n  private readonly _destroyRef = inject(DestroyRef);\n\n  get element(): _Input {\n    return this.elementRef.nativeElement;\n  }\n\n  ngAfterViewInit(): void {\n    const wcElement = this.element;\n    \n    const inputsToSync = [\n      'currentVersion',\n      'loading',\n      'totalVersions',\n      'accessibleDescription',\n      'accessibleDescriptionRef',\n      'accessibleName',\n      'accessibleNameRef',\n      'disabled',\n      'filter',\n      'maxlength',\n      'name',\n      'noTypeahead',\n      'open',\n      'placeholder',\n      'readonly',\n      'required',\n      'showClearIcon',\n      'showSuggestions',\n      'type',\n      'value',\n      'valueState',\n    ];\n    \n    // Synchronize inputs (properties)\n    for (const inputName of inputsToSync) {\n      // Find the corresponding camelCase signal property on the Angular component\n      const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n      // Use the Injector to run the effect in the correct context\n      if (this[signalName] && typeof this[signalName] === 'function') {\n        runInInjectionContext(this.injector, (): void => {\n          effect((): void => {\n            // Read the signal value\n            const value = this[signalName]();\n            if (wcElement) {\n              // Skip writes when the signal is undefined and the property is already truthy\n              // This prevents clobbering imperatively-set values (e.g., from RouterLink)\n              if (value === undefined && wcElement[inputName]) {\n                return;\n              }\n              // Write the value to the Web Component's property\n              wcElement[inputName] = value;\n            }\n          });\n        });\n      }\n    }\n  \n    \n    const outputsToSync = [\n      'ui5ButtonClick',\n      'ui5ItemClick',\n      'ui5StopGeneration',\n      'ui5VersionChange',\n      'ui5Change',\n      'ui5Close',\n      'ui5Input',\n      'ui5Open',\n      'ui5Select',\n      'ui5SelectionChange',\n    ];\n    \n    // Synchronize outputs (events)\n    const _listeners: Array<() => void> = [];\n    for (const outputName of outputsToSync) {\n      // Map Angular output name to UI5 web component event name\n      const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n      // Ensure the output property exists and has an emit function before adding listener\n      if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n        // Cast the listener to the correct type to satisfy TypeScript\n        const listener = (e: Event): void => {\n\n          this[outputName].emit(e as CustomEvent<any>);\n        };\n        wcElement.addEventListener(eventName, listener);\n        _listeners.push(() => wcElement.removeEventListener(eventName, listener));\n      }\n    }\n    this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));\n  \n\n  }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAoDa,KAAK,CAAA;AArBlB,IAAA,WAAA,GAAA;AAuBE;;AAEG;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAqD,CAAC;2FAAC;AAE7E;;;;AAIG;QACH,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,+EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEvD;;;;AAIG;QACH,IAAA,CAAA,aAAa,GAAG,KAAK,CAAoD,CAAC;0FAAC;AAE3E;;AAEG;AACH,QAAA,IAAA,CAAA,qB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