@smart-webcomponents-angular/tooltip 19.0.8 → 25.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,82 +14,85 @@ export declare class TooltipComponent extends BaseElement implements OnInit, Aft
14
14
  * @param properties An optional object of properties, which will be added to the template binded ones.
15
15
  */
16
16
  createComponent(properties?: {}): any;
17
- /** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
17
+ /** @description Allows you to specify or retrieve the current animation mode. Set this property to 'none' to disable all animations. When assigned other valid values, it enables the corresponding animation effects for the element or component. */
18
18
  get animation(): Animation | string;
19
19
  set animation(value: Animation | string);
20
- /** @description Determines how to align the tooltip. */
20
+ /** @description Specifies the alignment of the tooltip relative to its target element, such as positioning it above, below, to the left, or to the right of the target. This setting controls where the tooltip appears in relation to the element it is associated with. */
21
21
  get align(): string;
22
22
  set align(value: string);
23
- /** @description Gets or sets whether a tooltip's arrow will be shown. */
23
+ /** @description Determines whether the tooltip's arrow is displayed. Setting this property to true will show the arrow pointing to the anchor element, while setting it to false will hide the arrow. This enhances tooltip visibility and contextual association with the target element. */
24
24
  get arrow(): boolean;
25
25
  set arrow(value: boolean);
26
- /** @description Sets the position of the arrow. */
26
+ /** @description Specifies the location or alignment of the arrow relative to its parent element, determining where the arrow will appear (such as top, bottom, left, right, or center) within the component or tooltip. */
27
27
  get arrowDirection(): TooltipArrowDirection | string;
28
28
  set arrowDirection(value: TooltipArrowDirection | string);
29
- /** @description Gets or sets whether a tooltip's arrow will be shown. */
29
+ /** @description Determines whether the tooltip's arrow is displayed. When set to true, an arrow will appear pointing from the tooltip to its target element; when set to false, the tooltip will be shown without an arrow. This property can be used to customize the visual connection between the tooltip and its anchor element. */
30
30
  get delay(): number;
31
31
  set delay(value: number);
32
- /** @description Enables or disables the tooltip. */
32
+ /** @description Controls whether the tooltip is displayed. When enabled, the tooltip appears when users hover over or interact with the associated element. When disabled, the tooltip is hidden and does not appear under any circumstances. */
33
33
  get disabled(): boolean;
34
34
  set disabled(value: boolean);
35
- /** @description Sets an offset by X and Y. */
35
+ /** @description Specifies the horizontal (X) and vertical (Y) offset values, allowing you to adjust the position of an element relative to its original location. The X value shifts the element left or right, while the Y value moves it up or down. */
36
36
  get offset(): number[];
37
37
  set offset(value: number[]);
38
- /** @description Sets or gets the language. Used in conjunction with the property messages. */
38
+ /** @description Sets or retrieves the unlockKey used to grant access to the product. The unlockKey acts as an authorization token or code required to unlock and enable the product’s features. */
39
+ get unlockKey(): string;
40
+ set unlockKey(value: string);
41
+ /** @description Specifies or retrieves the current language setting. This property determines which set of localized messages from the messages property will be used. Changing this value updates the displayed content to match the selected language. */
39
42
  get locale(): string;
40
43
  set locale(value: string);
41
- /** @description Callback, related to localization module. */
44
+ /** @description Callback function associated with the localization module, typically invoked to handle language changes, region-specific formatting, or to update interface text based on the selected locale. */
42
45
  get localizeFormatFunction(): any;
43
46
  set localizeFormatFunction(value: any);
44
- /** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property language. */
47
+ /** @description Defines or retrieves an object containing the localized text strings used within the widget interface. This property allows you to customize the displayed text for different languages or regions, and works together with the language property to support localization and internationalization of the widget's UI elements. */
45
48
  get messages(): any;
46
49
  set messages(value: any);
47
- /** @description Sets or gets the way of triggering the tooltip. */
50
+ /** @description Specifies or retrieves the method by which the tooltip is activated, such as on hover, focus, or click events. */
48
51
  get openMode(): TooltipOpenMode | string;
49
52
  set openMode(value: TooltipOpenMode | string);
50
- /** @description Gets or sets the position of the tooltip. */
53
+ /** @description Specifies or retrieves the placement of the tooltip relative to its associated element. This determines where the tooltip appears, such as above, below, to the left, or to the right of the target element. */
51
54
  get position(): TooltipPosition | string;
52
55
  set position(value: TooltipPosition | string);
53
- /** @description Sets the element which triggers the tooltip. */
56
+ /** @description Specifies the HTML element that will act as the trigger for displaying the tooltip. When the user interacts with this element (such as by hovering, focusing, or clicking—depending on configuration), the tooltip will appear. */
54
57
  get selector(): string | HTMLElement;
55
58
  set selector(value: string | HTMLElement);
56
- /** @description Determines the theme. Theme defines the look of the element */
59
+ /** @description Specifies the theme applied to the element. The theme controls the element’s overall appearance, including colors, fonts, and stylistic details, ensuring a consistent visual presentation throughout the interface. */
57
60
  get theme(): string;
58
61
  set theme(value: string);
59
- /** @description Sets custom tooltip template. */
62
+ /** @description Specifies a custom template for rendering the tooltip content, allowing you to define the layout, styling, and dynamic data displayed within the tooltip. */
60
63
  get tooltipTemplate(): any;
61
64
  set tooltipTemplate(value: any);
62
- /** @description If is set to true, the element cannot be focused. */
65
+ /** @description When set to true, this property prevents the element from receiving keyboard focus, making it inaccessible through keyboard navigation such as the Tab key. */
63
66
  get unfocusable(): boolean;
64
67
  set unfocusable(value: boolean);
65
- /** @description Sets or gets the widget's value. */
68
+ /** @description Gets the current value of the widget or sets a new value for the widget. This property allows you to retrieve the widget's existing value or update it programmatically. */
66
69
  get value(): string;
67
70
  set value(value: string);
68
- /** @description Sets or gets the visibility of the tooltip. */
71
+ /** @description Controls whether the tooltip is visible or hidden. When set, this property determines if the tooltip is displayed to the user; when accessed, it returns the current visibility status of the tooltip. */
69
72
  get visible(): boolean;
70
73
  set visible(value: boolean);
71
- /** @description This event is triggered when the tooltip is opened.
74
+ /** @description This event is triggered immediately when the tooltip becomes visible to the user, indicating that the tooltip has been successfully opened and is now displayed on the screen. This can be used to perform additional actions, such as loading content or tracking analytics, when a tooltip appears.
72
75
  * @param event. The custom event. */
73
76
  onOpen: EventEmitter<CustomEvent>;
74
- /** @description This event is triggered before the tooltip is opened. The event can be prevented via event.preventDefault().
77
+ /** @description This event is dispatched immediately before the tooltip becomes visible to the user. By calling event.preventDefault() within the event handler, you can cancel the tooltip from opening, allowing you to implement custom logic or conditions before the tooltip is displayed.
75
78
  * @param event. The custom event. */
76
79
  onOpening: EventEmitter<CustomEvent>;
77
- /** @description This event is triggered when the tooltip is closed.
80
+ /** @description This event is triggered immediately after the tooltip has been closed, either by user interaction or programmatically. It signals that the tooltip is no longer visible in the user interface and can be used to perform cleanup operations or update other components in response to the tooltip's dismissal.
78
81
  * @param event. The custom event. */
79
82
  onClose: EventEmitter<CustomEvent>;
80
- /** @description This event is triggered before the tooltip is closed. The event can be prevented via event.preventDefault().
83
+ /** @description This event is fired immediately before the tooltip is about to close. It provides an opportunity to perform actions or validations before the tooltip is hidden. By calling event.preventDefault(), you can cancel the closing of the tooltip, keeping it visible until the action is allowed to proceed.
81
84
  * @param event. The custom event. */
82
85
  onClosing: EventEmitter<CustomEvent>;
83
- /** @description Closes smart-tooltip.
86
+ /** @description Closes the smart-tooltip component, removing the tooltip from view and disabling any tooltip functionality associated with the target element.
84
87
  */
85
88
  close(): void;
86
- /** @description Opens smart-tooltip.
89
+ /** @description Displays the smart-tooltip component, providing contextual information or guidance to the user when triggered.
87
90
  */
88
91
  open(): void;
89
- /** @description Toggles smart-tooltip.
92
+ /** @description Enables or disables the smart-tooltip component, controlling whether tooltips are displayed or hidden for the specified elements. This toggle function allows developers to dynamically show or hide helpful tooltip information in the user interface based on user interaction or application state.
90
93
  */
91
94
  toggle(): void;
92
- /** @description Clears the content of the Tooltip.
95
+ /** @description Removes all content currently displayed within the Tooltip, restoring it to an empty state and ensuring no text, HTML, or interactive elements remain visible.
93
96
  */
94
97
  clear(): void;
95
98
  get isRendered(): boolean;
@@ -102,5 +105,5 @@ export declare class TooltipComponent extends BaseElement implements OnInit, Aft
102
105
  /** @description Remove event listeners. */
103
106
  private unlisten;
104
107
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
105
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipComponent, "smart-tooltip, [smart-tooltip]", ["smart-tooltip"], { "animation": "animation"; "align": "align"; "arrow": "arrow"; "arrowDirection": "arrowDirection"; "delay": "delay"; "disabled": "disabled"; "offset": "offset"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "openMode": "openMode"; "position": "position"; "selector": "selector"; "theme": "theme"; "tooltipTemplate": "tooltipTemplate"; "unfocusable": "unfocusable"; "value": "value"; "visible": "visible"; }, { "onOpen": "onOpen"; "onOpening": "onOpening"; "onClose": "onClose"; "onClosing": "onClosing"; }, never>;
108
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipComponent, "smart-tooltip, [smart-tooltip]", ["smart-tooltip"], { "animation": "animation"; "align": "align"; "arrow": "arrow"; "arrowDirection": "arrowDirection"; "delay": "delay"; "disabled": "disabled"; "offset": "offset"; "unlockKey": "unlockKey"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "openMode": "openMode"; "position": "position"; "selector": "selector"; "theme": "theme"; "tooltipTemplate": "tooltipTemplate"; "unfocusable": "unfocusable"; "value": "value"; "visible": "visible"; }, { "onOpen": "onOpen"; "onOpening": "onOpening"; "onClose": "onClose"; "onClosing": "onClosing"; }, never>;
106
109
  }