@tectra-ng/ui 0.0.0-stage → 0.1.1
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.
- package/LICENSE +21 -0
- package/README.md +26 -2
- package/amount/README.md +28 -0
- package/autocomplete/README.md +82 -0
- package/avatar/README.md +43 -0
- package/badge/README.md +19 -0
- package/button/README.md +46 -0
- package/button-group/README.md +8 -0
- package/card/README.md +30 -0
- package/cascade-select/README.md +49 -0
- package/checkbox/README.md +64 -0
- package/chip/README.md +38 -0
- package/chips-input/README.md +47 -0
- package/color-picker/README.md +43 -0
- package/confirm/README.md +46 -0
- package/country/README.md +23 -0
- package/country-select/README.md +39 -0
- package/dialog/README.md +84 -0
- package/divider/README.md +24 -0
- package/drawer/README.md +54 -0
- package/email-suggestion/README.md +20 -0
- package/fesm2022/tectra-ng-ui-amount.mjs +415 -0
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +730 -0
- package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-avatar.mjs +670 -0
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-badge.mjs +191 -0
- package/fesm2022/tectra-ng-ui-badge.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-button-group.mjs +50 -0
- package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-button.mjs +725 -0
- package/fesm2022/tectra-ng-ui-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-card.mjs +210 -0
- package/fesm2022/tectra-ng-ui-card.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-cascade-select.mjs +887 -0
- package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-checkbox.mjs +1150 -0
- package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-chip.mjs +344 -0
- package/fesm2022/tectra-ng-ui-chip.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-chips-input.mjs +649 -0
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-color-picker.mjs +828 -0
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-confirm.mjs +489 -0
- package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-country-select.mjs +545 -0
- package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-country.mjs +313 -0
- package/fesm2022/tectra-ng-ui-country.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-dialog.mjs +1539 -0
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-divider.mjs +194 -0
- package/fesm2022/tectra-ng-ui-divider.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-drawer.mjs +540 -0
- package/fesm2022/tectra-ng-ui-drawer.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs +341 -0
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-field.mjs +492 -0
- package/fesm2022/tectra-ng-ui-field.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-fieldset.mjs +258 -0
- package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-highlight-text.mjs +246 -0
- package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-icon-field.mjs +478 -0
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-group.mjs +113 -0
- package/fesm2022/tectra-ng-ui-input-group.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-mask.mjs +413 -0
- package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-number.mjs +1045 -0
- package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-otp.mjs +553 -0
- package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input.mjs +260 -0
- package/fesm2022/tectra-ng-ui-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-key-filter.mjs +185 -0
- package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-knob.mjs +630 -0
- package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-label.mjs +271 -0
- package/fesm2022/tectra-ng-ui-label.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-link.mjs +699 -0
- package/fesm2022/tectra-ng-ui-link.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-listbox.mjs +484 -0
- package/fesm2022/tectra-ng-ui-listbox.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +717 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-menu.mjs +1484 -0
- package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-message.mjs +975 -0
- package/fesm2022/tectra-ng-ui-message.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-multiselect.mjs +569 -0
- package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-overlay-badge.mjs +345 -0
- package/fesm2022/tectra-ng-ui-overlay-badge.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-paginator.mjs +849 -0
- package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-panel.mjs +317 -0
- package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-password-generator.mjs +292 -0
- package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-password.mjs +871 -0
- package/fesm2022/tectra-ng-ui-password.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-pill.mjs +361 -0
- package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-popover.mjs +742 -0
- package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-progress-bar.mjs +440 -0
- package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-progress-spinner.mjs +265 -0
- package/fesm2022/tectra-ng-ui-progress-spinner.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-radio-button.mjs +817 -0
- package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-rating.mjs +584 -0
- package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-select.mjs +2478 -0
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-skeleton.mjs +548 -0
- package/fesm2022/tectra-ng-ui-skeleton.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-slider.mjs +630 -0
- package/fesm2022/tectra-ng-ui-slider.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-speed-dial.mjs +669 -0
- package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-split-button.mjs +614 -0
- package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-status-icon.mjs +295 -0
- package/fesm2022/tectra-ng-ui-status-icon.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-table.mjs +5997 -0
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-tag.mjs +422 -0
- package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-textarea.mjs +482 -0
- package/fesm2022/tectra-ng-ui-textarea.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-toast.mjs +668 -0
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-toggle-button.mjs +416 -0
- package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs +560 -0
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-tooltip.mjs +835 -0
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-tree-select.mjs +986 -0
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui.mjs +4 -0
- package/fesm2022/tectra-ng-ui.mjs.map +1 -0
- package/field/README.md +43 -0
- package/fieldset/README.md +36 -0
- package/highlight-text/README.md +20 -0
- package/icon-field/README.md +30 -0
- package/input/README.md +22 -0
- package/input-group/README.md +21 -0
- package/input-mask/README.md +30 -0
- package/input-number/README.md +61 -0
- package/input-otp/README.md +44 -0
- package/key-filter/README.md +31 -0
- package/knob/README.md +50 -0
- package/label/README.md +29 -0
- package/link/README.md +47 -0
- package/listbox/README.md +68 -0
- package/mention-textarea/README.md +47 -0
- package/menu/README.md +65 -0
- package/message/README.md +58 -0
- package/multiselect/README.md +85 -0
- package/overlay-badge/README.md +30 -0
- package/package.json +301 -3
- package/paginator/README.md +60 -0
- package/panel/README.md +45 -0
- package/password/README.md +60 -0
- package/password-generator/README.md +34 -0
- package/pill/README.md +42 -0
- package/popover/README.md +67 -0
- package/progress-bar/README.md +32 -0
- package/progress-spinner/README.md +22 -0
- package/radio-button/README.md +54 -0
- package/rating/README.md +49 -0
- package/select/README.md +78 -0
- package/skeleton/README.md +27 -0
- package/slider/README.md +48 -0
- package/speed-dial/README.md +49 -0
- package/split-button/README.md +45 -0
- package/status-icon/README.md +22 -0
- package/table/README.md +178 -0
- package/tag/README.md +42 -0
- package/textarea/README.md +37 -0
- package/toast/README.md +52 -0
- package/toggle-button/README.md +34 -0
- package/toggle-switch/README.md +49 -0
- package/tooltip/README.md +60 -0
- package/tree-select/README.md +49 -0
- package/types/tectra-ng-ui-amount.d.ts +135 -0
- package/types/tectra-ng-ui-amount.d.ts.map +1 -0
- package/types/tectra-ng-ui-autocomplete.d.ts +250 -0
- package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -0
- package/types/tectra-ng-ui-avatar.d.ts +289 -0
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -0
- package/types/tectra-ng-ui-badge.d.ts +119 -0
- package/types/tectra-ng-ui-badge.d.ts.map +1 -0
- package/types/tectra-ng-ui-button-group.d.ts +6 -0
- package/types/tectra-ng-ui-button-group.d.ts.map +1 -0
- package/types/tectra-ng-ui-button.d.ts +466 -0
- package/types/tectra-ng-ui-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-card.d.ts +71 -0
- package/types/tectra-ng-ui-card.d.ts.map +1 -0
- package/types/tectra-ng-ui-cascade-select.d.ts +244 -0
- package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -0
- package/types/tectra-ng-ui-checkbox.d.ts +450 -0
- package/types/tectra-ng-ui-checkbox.d.ts.map +1 -0
- package/types/tectra-ng-ui-chip.d.ts +106 -0
- package/types/tectra-ng-ui-chip.d.ts.map +1 -0
- package/types/tectra-ng-ui-chips-input.d.ts +187 -0
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -0
- package/types/tectra-ng-ui-color-picker.d.ts +237 -0
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -0
- package/types/tectra-ng-ui-confirm.d.ts +80 -0
- package/types/tectra-ng-ui-confirm.d.ts.map +1 -0
- package/types/tectra-ng-ui-country-select.d.ts +235 -0
- package/types/tectra-ng-ui-country-select.d.ts.map +1 -0
- package/types/tectra-ng-ui-country.d.ts +105 -0
- package/types/tectra-ng-ui-country.d.ts.map +1 -0
- package/types/tectra-ng-ui-dialog.d.ts +453 -0
- package/types/tectra-ng-ui-dialog.d.ts.map +1 -0
- package/types/tectra-ng-ui-divider.d.ts +70 -0
- package/types/tectra-ng-ui-divider.d.ts.map +1 -0
- package/types/tectra-ng-ui-drawer.d.ts +188 -0
- package/types/tectra-ng-ui-drawer.d.ts.map +1 -0
- package/types/tectra-ng-ui-email-suggestion.d.ts +84 -0
- package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -0
- package/types/tectra-ng-ui-field.d.ts +139 -0
- package/types/tectra-ng-ui-field.d.ts.map +1 -0
- package/types/tectra-ng-ui-fieldset.d.ts +74 -0
- package/types/tectra-ng-ui-fieldset.d.ts.map +1 -0
- package/types/tectra-ng-ui-highlight-text.d.ts +75 -0
- package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -0
- package/types/tectra-ng-ui-icon-field.d.ts +77 -0
- package/types/tectra-ng-ui-icon-field.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-group.d.ts +18 -0
- package/types/tectra-ng-ui-input-group.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-mask.d.ts +91 -0
- package/types/tectra-ng-ui-input-mask.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-number.d.ts +326 -0
- package/types/tectra-ng-ui-input-number.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-otp.d.ts +173 -0
- package/types/tectra-ng-ui-input-otp.d.ts.map +1 -0
- package/types/tectra-ng-ui-input.d.ts +113 -0
- package/types/tectra-ng-ui-input.d.ts.map +1 -0
- package/types/tectra-ng-ui-key-filter.d.ts +43 -0
- package/types/tectra-ng-ui-key-filter.d.ts.map +1 -0
- package/types/tectra-ng-ui-knob.d.ts +207 -0
- package/types/tectra-ng-ui-knob.d.ts.map +1 -0
- package/types/tectra-ng-ui-label.d.ts +53 -0
- package/types/tectra-ng-ui-label.d.ts.map +1 -0
- package/types/tectra-ng-ui-link.d.ts +223 -0
- package/types/tectra-ng-ui-link.d.ts.map +1 -0
- package/types/tectra-ng-ui-listbox.d.ts +131 -0
- package/types/tectra-ng-ui-listbox.d.ts.map +1 -0
- package/types/tectra-ng-ui-mention-textarea.d.ts +169 -0
- package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -0
- package/types/tectra-ng-ui-menu.d.ts +512 -0
- package/types/tectra-ng-ui-menu.d.ts.map +1 -0
- package/types/tectra-ng-ui-message.d.ts +390 -0
- package/types/tectra-ng-ui-message.d.ts.map +1 -0
- package/types/tectra-ng-ui-multiselect.d.ts +216 -0
- package/types/tectra-ng-ui-multiselect.d.ts.map +1 -0
- package/types/tectra-ng-ui-overlay-badge.d.ts +104 -0
- package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -0
- package/types/tectra-ng-ui-paginator.d.ts +293 -0
- package/types/tectra-ng-ui-paginator.d.ts.map +1 -0
- package/types/tectra-ng-ui-panel.d.ts +133 -0
- package/types/tectra-ng-ui-panel.d.ts.map +1 -0
- package/types/tectra-ng-ui-password-generator.d.ts +80 -0
- package/types/tectra-ng-ui-password-generator.d.ts.map +1 -0
- package/types/tectra-ng-ui-password.d.ts +271 -0
- package/types/tectra-ng-ui-password.d.ts.map +1 -0
- package/types/tectra-ng-ui-pill.d.ts +167 -0
- package/types/tectra-ng-ui-pill.d.ts.map +1 -0
- package/types/tectra-ng-ui-popover.d.ts +244 -0
- package/types/tectra-ng-ui-popover.d.ts.map +1 -0
- package/types/tectra-ng-ui-progress-bar.d.ts +151 -0
- package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -0
- package/types/tectra-ng-ui-progress-spinner.d.ts +95 -0
- package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -0
- package/types/tectra-ng-ui-radio-button.d.ts +380 -0
- package/types/tectra-ng-ui-radio-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-rating.d.ts +195 -0
- package/types/tectra-ng-ui-rating.d.ts.map +1 -0
- package/types/tectra-ng-ui-select.d.ts +761 -0
- package/types/tectra-ng-ui-select.d.ts.map +1 -0
- package/types/tectra-ng-ui-skeleton.d.ts +182 -0
- package/types/tectra-ng-ui-skeleton.d.ts.map +1 -0
- package/types/tectra-ng-ui-slider.d.ts +220 -0
- package/types/tectra-ng-ui-slider.d.ts.map +1 -0
- package/types/tectra-ng-ui-speed-dial.d.ts +175 -0
- package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -0
- package/types/tectra-ng-ui-split-button.d.ts +139 -0
- package/types/tectra-ng-ui-split-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-status-icon.d.ts +105 -0
- package/types/tectra-ng-ui-status-icon.d.ts.map +1 -0
- package/types/tectra-ng-ui-table.d.ts +1301 -0
- package/types/tectra-ng-ui-table.d.ts.map +1 -0
- package/types/tectra-ng-ui-tag.d.ts +157 -0
- package/types/tectra-ng-ui-tag.d.ts.map +1 -0
- package/types/tectra-ng-ui-textarea.d.ts +146 -0
- package/types/tectra-ng-ui-textarea.d.ts.map +1 -0
- package/types/tectra-ng-ui-toast.d.ts +268 -0
- package/types/tectra-ng-ui-toast.d.ts.map +1 -0
- package/types/tectra-ng-ui-toggle-button.d.ts +184 -0
- package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-toggle-switch.d.ts +226 -0
- package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -0
- package/types/tectra-ng-ui-tooltip.d.ts +275 -0
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -0
- package/types/tectra-ng-ui-tree-select.d.ts +339 -0
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -0
- package/types/tectra-ng-ui.d.ts +2 -0
- package/types/tectra-ng-ui.d.ts.map +1 -0
|
@@ -0,0 +1,835 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, DOCUMENT, DestroyRef, Directive, ElementRef, Injectable, InjectionToken, Injector, TemplateRef, ViewContainerRef, afterRenderEffect, booleanAttribute, computed, effect, inject, input, output, signal, untracked } from "@angular/core";
|
|
3
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
4
|
+
import { TxOverlay, parsePlacement, txArrowOffset } from "@tectra-ng/core/overlay";
|
|
5
|
+
import { linkAriaReference, uniqueId } from "@tectra-ng/core/a11y";
|
|
6
|
+
import { injectPassThrough, injectUnstyled } from "@tectra-ng/core/config";
|
|
7
|
+
import { optionalBoolean, optionalNumber } from "@tectra-ng/core/utils";
|
|
8
|
+
import { toStyleObject } from "@tectra-ng/themes";
|
|
9
|
+
const TX_TOOLTIP_DEFAULTS = {
|
|
10
|
+
placement: "top",
|
|
11
|
+
event: "both",
|
|
12
|
+
showDelay: 0,
|
|
13
|
+
hideDelay: 0,
|
|
14
|
+
offset: 3.5,
|
|
15
|
+
arrow: true,
|
|
16
|
+
interactive: false
|
|
17
|
+
};
|
|
18
|
+
const TX_TOOLTIP_OPTIONS = new InjectionToken("TX_TOOLTIP_OPTIONS");
|
|
19
|
+
function provideTxTooltip(options) {
|
|
20
|
+
return {
|
|
21
|
+
provide: TX_TOOLTIP_OPTIONS,
|
|
22
|
+
useValue: options
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
const WARM_WINDOW = 400;
|
|
26
|
+
var TxTooltipRegistry = class TxTooltipRegistry {
|
|
27
|
+
document = inject(DOCUMENT);
|
|
28
|
+
container = null;
|
|
29
|
+
active = null;
|
|
30
|
+
lastClosedAt = Number.NEGATIVE_INFINITY;
|
|
31
|
+
describe(id) {
|
|
32
|
+
const node = this.document.createElement("div");
|
|
33
|
+
node.id = id;
|
|
34
|
+
this.ensureContainer().appendChild(node);
|
|
35
|
+
return node;
|
|
36
|
+
}
|
|
37
|
+
forget(node) {
|
|
38
|
+
node.remove();
|
|
39
|
+
if (this.container && !this.container.childElementCount) {
|
|
40
|
+
this.container.remove();
|
|
41
|
+
this.container = null;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
isWarm() {
|
|
45
|
+
return this.active !== null || this.now() - this.lastClosedAt < WARM_WINDOW;
|
|
46
|
+
}
|
|
47
|
+
activate(tooltip) {
|
|
48
|
+
if (this.active && this.active !== tooltip) this.active.hideNow();
|
|
49
|
+
this.active = tooltip;
|
|
50
|
+
}
|
|
51
|
+
release(tooltip) {
|
|
52
|
+
if (this.active === tooltip) {
|
|
53
|
+
this.active = null;
|
|
54
|
+
this.lastClosedAt = this.now();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
now() {
|
|
58
|
+
return this.document.defaultView?.performance.now() ?? Date.now();
|
|
59
|
+
}
|
|
60
|
+
ensureContainer() {
|
|
61
|
+
if (!this.container) {
|
|
62
|
+
this.container = this.document.createElement("div");
|
|
63
|
+
this.container.className = "tx-tooltip-descriptions";
|
|
64
|
+
this.container.hidden = true;
|
|
65
|
+
this.document.body.appendChild(this.container);
|
|
66
|
+
}
|
|
67
|
+
return this.container;
|
|
68
|
+
}
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
70
|
+
minVersion: "12.0.0",
|
|
71
|
+
version: "22.2.3",
|
|
72
|
+
ngImport: i0,
|
|
73
|
+
type: TxTooltipRegistry,
|
|
74
|
+
deps: [],
|
|
75
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
76
|
+
});
|
|
77
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
78
|
+
minVersion: "12.0.0",
|
|
79
|
+
version: "22.2.3",
|
|
80
|
+
ngImport: i0,
|
|
81
|
+
type: TxTooltipRegistry,
|
|
82
|
+
providedIn: "root"
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
86
|
+
minVersion: "12.0.0",
|
|
87
|
+
version: "22.2.3",
|
|
88
|
+
ngImport: i0,
|
|
89
|
+
type: TxTooltipRegistry,
|
|
90
|
+
decorators: [{
|
|
91
|
+
type: Injectable,
|
|
92
|
+
args: [{ providedIn: "root" }]
|
|
93
|
+
}]
|
|
94
|
+
});
|
|
95
|
+
const TX_TOOLTIP_PANEL = new InjectionToken("TX_TOOLTIP_PANEL");
|
|
96
|
+
var TxTooltipPanel = class TxTooltipPanel {
|
|
97
|
+
state = inject(TX_TOOLTIP_PANEL);
|
|
98
|
+
originSize = signal({
|
|
99
|
+
width: 0,
|
|
100
|
+
height: 0
|
|
101
|
+
}, ...ngDevMode ? [{ debugName: "originSize" }] : /* istanbul ignore next */ []);
|
|
102
|
+
template = computed(() => {
|
|
103
|
+
const content = this.state.content();
|
|
104
|
+
return content instanceof TemplateRef ? content : null;
|
|
105
|
+
}, ...ngDevMode ? [{ debugName: "template" }] : /* istanbul ignore next */ []);
|
|
106
|
+
side = computed(() => parsePlacement(this.state.placement()).side, ...ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []);
|
|
107
|
+
rootClass = computed(() => [this.state.passThrough().root?.class, this.state.panelClass()].filter(Boolean).join(" "), ...ngDevMode ? [{ debugName: "rootClass" }] : /* istanbul ignore next */ []);
|
|
108
|
+
arrowOffset = computed(() => txArrowOffset(this.state.placement(), this.originSize()), ...ngDevMode ? [{ debugName: "arrowOffset" }] : /* istanbul ignore next */ []);
|
|
109
|
+
hostStyle = computed(() => ({
|
|
110
|
+
...this.state.style(),
|
|
111
|
+
"--tx-tooltip-arrow-offset": this.arrowOffset(),
|
|
112
|
+
...this.state.passThrough().root?.style
|
|
113
|
+
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
114
|
+
constructor() {
|
|
115
|
+
afterRenderEffect(() => {
|
|
116
|
+
this.state.placement();
|
|
117
|
+
const { width, height } = this.state.origin.getBoundingClientRect();
|
|
118
|
+
const current = this.originSize();
|
|
119
|
+
if (current.width !== width || current.height !== height) this.originSize.set({
|
|
120
|
+
width,
|
|
121
|
+
height
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
126
|
+
minVersion: "12.0.0",
|
|
127
|
+
version: "22.2.3",
|
|
128
|
+
ngImport: i0,
|
|
129
|
+
type: TxTooltipPanel,
|
|
130
|
+
deps: [],
|
|
131
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
132
|
+
});
|
|
133
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
134
|
+
minVersion: "17.0.0",
|
|
135
|
+
version: "22.2.3",
|
|
136
|
+
type: TxTooltipPanel,
|
|
137
|
+
isStandalone: true,
|
|
138
|
+
selector: "tx-tooltip",
|
|
139
|
+
host: {
|
|
140
|
+
attributes: { "role": "tooltip" },
|
|
141
|
+
listeners: {
|
|
142
|
+
"mouseenter": "state.pointerEnter()",
|
|
143
|
+
"mouseleave": "state.pointerLeave()"
|
|
144
|
+
},
|
|
145
|
+
properties: {
|
|
146
|
+
"id": "state.id",
|
|
147
|
+
"class": "rootClass()",
|
|
148
|
+
"style": "hostStyle()",
|
|
149
|
+
"attr.data-styled": "!state.unstyled() || null",
|
|
150
|
+
"attr.data-side": "side()",
|
|
151
|
+
"attr.data-placement": "state.placement()",
|
|
152
|
+
"attr.aria-hidden": "state.hiddenFromReaders() || null",
|
|
153
|
+
"class.tx-tooltip--interactive": "state.interactive()",
|
|
154
|
+
"class.tx-tooltip--multiline": "state.multiline()"
|
|
155
|
+
},
|
|
156
|
+
classAttribute: "tx-tooltip"
|
|
157
|
+
},
|
|
158
|
+
ngImport: i0,
|
|
159
|
+
template: `
|
|
160
|
+
@if (state.arrow()) {
|
|
161
|
+
<span class="tx-tooltip__arrow" [class]="state.passThrough().arrow?.class" [style]="state.passThrough().arrow?.style" aria-hidden="true"></span>
|
|
162
|
+
}
|
|
163
|
+
<div class="tx-tooltip__content" [class]="state.passThrough().content?.class" [style]="state.passThrough().content?.style">
|
|
164
|
+
@if (template(); as template) {
|
|
165
|
+
<ng-container *ngTemplateOutlet="template; context: state.context()" />
|
|
166
|
+
} @else {
|
|
167
|
+
{{ state.content() }}
|
|
168
|
+
}
|
|
169
|
+
</div>
|
|
170
|
+
`,
|
|
171
|
+
isInline: true,
|
|
172
|
+
styles: [":host{position:relative;display:block;pointer-events:none}@media(prefers-reduced-motion:no-preference){:host{will-change:transform}}:host(.tx-tooltip--interactive){pointer-events:auto}:host([data-styled]){box-sizing:border-box;max-width:var(--tx-tooltip-max-width);padding:var(--tx-tooltip-padding);border-radius:var(--tx-tooltip-border-radius);background:var(--tx-tooltip-background);color:var(--tx-tooltip-color);font-size:var(--tx-tooltip-font-size);font-weight:var(--tx-tooltip-font-weight);line-height:var(--tx-tooltip-line-height);box-shadow:var(--tx-tooltip-shadow);word-break:break-word;white-space:pre-line}:host([data-styled].tx-tooltip--multiline){max-width:var(--tx-tooltip-multiline-max-width);line-height:var(--tx-tooltip-multiline-line-height)}.tx-tooltip__content{position:relative}:host([data-styled]) .tx-tooltip__arrow{position:absolute;width:var(--tx-tooltip-arrow-size);height:var(--tx-tooltip-arrow-size);background:inherit;transform:rotate(45deg)}:host([data-styled][data-side=top]) .tx-tooltip__arrow,:host([data-styled][data-side=bottom]) .tx-tooltip__arrow{inset-inline-start:clamp(var(--tx-tooltip-arrow-inset),var(--tx-tooltip-arrow-offset),100% - var(--tx-tooltip-arrow-inset));margin-inline-start:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=left]) .tx-tooltip__arrow,:host([data-styled][data-side=right]) .tx-tooltip__arrow{top:clamp(var(--tx-tooltip-arrow-inset),var(--tx-tooltip-arrow-offset),100% - var(--tx-tooltip-arrow-inset));margin-top:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=top]) .tx-tooltip__arrow{bottom:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=bottom]) .tx-tooltip__arrow{top:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=left]) .tx-tooltip__arrow{right:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=right]) .tx-tooltip__arrow{left:calc(var(--tx-tooltip-arrow-size) / -2)}\n"],
|
|
173
|
+
dependencies: [{
|
|
174
|
+
kind: "directive",
|
|
175
|
+
type: NgTemplateOutlet,
|
|
176
|
+
selector: "[ngTemplateOutlet]",
|
|
177
|
+
inputs: [
|
|
178
|
+
"ngTemplateOutletContext",
|
|
179
|
+
"ngTemplateOutlet",
|
|
180
|
+
"ngTemplateOutletInjector"
|
|
181
|
+
]
|
|
182
|
+
}],
|
|
183
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
187
|
+
minVersion: "12.0.0",
|
|
188
|
+
version: "22.2.3",
|
|
189
|
+
ngImport: i0,
|
|
190
|
+
type: TxTooltipPanel,
|
|
191
|
+
decorators: [{
|
|
192
|
+
type: Component,
|
|
193
|
+
args: [{
|
|
194
|
+
selector: "tx-tooltip",
|
|
195
|
+
imports: [NgTemplateOutlet],
|
|
196
|
+
template: `
|
|
197
|
+
@if (state.arrow()) {
|
|
198
|
+
<span class="tx-tooltip__arrow" [class]="state.passThrough().arrow?.class" [style]="state.passThrough().arrow?.style" aria-hidden="true"></span>
|
|
199
|
+
}
|
|
200
|
+
<div class="tx-tooltip__content" [class]="state.passThrough().content?.class" [style]="state.passThrough().content?.style">
|
|
201
|
+
@if (template(); as template) {
|
|
202
|
+
<ng-container *ngTemplateOutlet="template; context: state.context()" />
|
|
203
|
+
} @else {
|
|
204
|
+
{{ state.content() }}
|
|
205
|
+
}
|
|
206
|
+
</div>
|
|
207
|
+
`,
|
|
208
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
209
|
+
host: {
|
|
210
|
+
class: "tx-tooltip",
|
|
211
|
+
role: "tooltip",
|
|
212
|
+
"[id]": "state.id",
|
|
213
|
+
"[class]": "rootClass()",
|
|
214
|
+
"[style]": "hostStyle()",
|
|
215
|
+
"[attr.data-styled]": "!state.unstyled() || null",
|
|
216
|
+
"[attr.data-side]": "side()",
|
|
217
|
+
"[attr.data-placement]": "state.placement()",
|
|
218
|
+
"[attr.aria-hidden]": "state.hiddenFromReaders() || null",
|
|
219
|
+
"[class.tx-tooltip--interactive]": "state.interactive()",
|
|
220
|
+
"[class.tx-tooltip--multiline]": "state.multiline()",
|
|
221
|
+
"(mouseenter)": "state.pointerEnter()",
|
|
222
|
+
"(mouseleave)": "state.pointerLeave()"
|
|
223
|
+
},
|
|
224
|
+
styles: [":host{position:relative;display:block;pointer-events:none}@media(prefers-reduced-motion:no-preference){:host{will-change:transform}}:host(.tx-tooltip--interactive){pointer-events:auto}:host([data-styled]){box-sizing:border-box;max-width:var(--tx-tooltip-max-width);padding:var(--tx-tooltip-padding);border-radius:var(--tx-tooltip-border-radius);background:var(--tx-tooltip-background);color:var(--tx-tooltip-color);font-size:var(--tx-tooltip-font-size);font-weight:var(--tx-tooltip-font-weight);line-height:var(--tx-tooltip-line-height);box-shadow:var(--tx-tooltip-shadow);word-break:break-word;white-space:pre-line}:host([data-styled].tx-tooltip--multiline){max-width:var(--tx-tooltip-multiline-max-width);line-height:var(--tx-tooltip-multiline-line-height)}.tx-tooltip__content{position:relative}:host([data-styled]) .tx-tooltip__arrow{position:absolute;width:var(--tx-tooltip-arrow-size);height:var(--tx-tooltip-arrow-size);background:inherit;transform:rotate(45deg)}:host([data-styled][data-side=top]) .tx-tooltip__arrow,:host([data-styled][data-side=bottom]) .tx-tooltip__arrow{inset-inline-start:clamp(var(--tx-tooltip-arrow-inset),var(--tx-tooltip-arrow-offset),100% - var(--tx-tooltip-arrow-inset));margin-inline-start:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=left]) .tx-tooltip__arrow,:host([data-styled][data-side=right]) .tx-tooltip__arrow{top:clamp(var(--tx-tooltip-arrow-inset),var(--tx-tooltip-arrow-offset),100% - var(--tx-tooltip-arrow-inset));margin-top:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=top]) .tx-tooltip__arrow{bottom:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=bottom]) .tx-tooltip__arrow{top:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=left]) .tx-tooltip__arrow{right:calc(var(--tx-tooltip-arrow-size) / -2)}:host([data-styled][data-side=right]) .tx-tooltip__arrow{left:calc(var(--tx-tooltip-arrow-size) / -2)}\n"]
|
|
225
|
+
}]
|
|
226
|
+
}],
|
|
227
|
+
ctorParameters: () => []
|
|
228
|
+
});
|
|
229
|
+
const FORM_CONTROL = "input, select, textarea";
|
|
230
|
+
const NAMED_CHILD = "img[alt]:not([alt=\"\"]), [aria-label]:not([aria-hidden=\"true\"])";
|
|
231
|
+
const INTERACTIVE_HIDE_DELAY = 100;
|
|
232
|
+
function isFocusVisible(element) {
|
|
233
|
+
try {
|
|
234
|
+
return element.matches(":focus-visible");
|
|
235
|
+
} catch {
|
|
236
|
+
return true;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
var TxTooltip = class TxTooltip {
|
|
240
|
+
host = inject(ElementRef).nativeElement;
|
|
241
|
+
overlay = inject(TxOverlay);
|
|
242
|
+
injector = inject(Injector);
|
|
243
|
+
viewContainerRef = inject(ViewContainerRef);
|
|
244
|
+
registry = inject(TxTooltipRegistry);
|
|
245
|
+
options = {
|
|
246
|
+
...TX_TOOLTIP_DEFAULTS,
|
|
247
|
+
...inject(TX_TOOLTIP_OPTIONS, { optional: true })
|
|
248
|
+
};
|
|
249
|
+
txTooltip = input(void 0, ...ngDevMode ? [{ debugName: "txTooltip" }] : /* istanbul ignore next */ []);
|
|
250
|
+
tooltipPlacement = input(void 0, ...ngDevMode ? [{ debugName: "tooltipPlacement" }] : /* istanbul ignore next */ []);
|
|
251
|
+
tooltipEvent = input(void 0, ...ngDevMode ? [{ debugName: "tooltipEvent" }] : /* istanbul ignore next */ []);
|
|
252
|
+
tooltipShowDelay = input(void 0, {
|
|
253
|
+
...ngDevMode ? { debugName: "tooltipShowDelay" } : /* istanbul ignore next */ {},
|
|
254
|
+
transform: optionalNumber
|
|
255
|
+
});
|
|
256
|
+
tooltipHideDelay = input(void 0, {
|
|
257
|
+
...ngDevMode ? { debugName: "tooltipHideDelay" } : /* istanbul ignore next */ {},
|
|
258
|
+
transform: optionalNumber
|
|
259
|
+
});
|
|
260
|
+
tooltipLife = input(void 0, {
|
|
261
|
+
...ngDevMode ? { debugName: "tooltipLife" } : /* istanbul ignore next */ {},
|
|
262
|
+
transform: optionalNumber
|
|
263
|
+
});
|
|
264
|
+
tooltipOffset = input(void 0, {
|
|
265
|
+
...ngDevMode ? { debugName: "tooltipOffset" } : /* istanbul ignore next */ {},
|
|
266
|
+
transform: optionalNumber
|
|
267
|
+
});
|
|
268
|
+
tooltipArrow = input(void 0, {
|
|
269
|
+
...ngDevMode ? { debugName: "tooltipArrow" } : /* istanbul ignore next */ {},
|
|
270
|
+
transform: optionalBoolean
|
|
271
|
+
});
|
|
272
|
+
tooltipInteractive = input(void 0, {
|
|
273
|
+
...ngDevMode ? { debugName: "tooltipInteractive" } : /* istanbul ignore next */ {},
|
|
274
|
+
transform: optionalBoolean
|
|
275
|
+
});
|
|
276
|
+
tooltipDisabled = input(false, {
|
|
277
|
+
...ngDevMode ? { debugName: "tooltipDisabled" } : /* istanbul ignore next */ {},
|
|
278
|
+
transform: booleanAttribute
|
|
279
|
+
});
|
|
280
|
+
tooltipOverflowOnly = input(false, {
|
|
281
|
+
...ngDevMode ? { debugName: "tooltipOverflowOnly" } : /* istanbul ignore next */ {},
|
|
282
|
+
transform: booleanAttribute
|
|
283
|
+
});
|
|
284
|
+
tooltipMultiline = input(false, {
|
|
285
|
+
...ngDevMode ? { debugName: "tooltipMultiline" } : /* istanbul ignore next */ {},
|
|
286
|
+
transform: booleanAttribute
|
|
287
|
+
});
|
|
288
|
+
tooltipContext = input(void 0, ...ngDevMode ? [{ debugName: "tooltipContext" }] : /* istanbul ignore next */ []);
|
|
289
|
+
tooltipClass = input(void 0, ...ngDevMode ? [{ debugName: "tooltipClass" }] : /* istanbul ignore next */ []);
|
|
290
|
+
tooltipDt = input(void 0, ...ngDevMode ? [{ debugName: "tooltipDt" }] : /* istanbul ignore next */ []);
|
|
291
|
+
tooltipPt = input(void 0, ...ngDevMode ? [{ debugName: "tooltipPt" }] : /* istanbul ignore next */ []);
|
|
292
|
+
tooltipPtOptions = input(void 0, ...ngDevMode ? [{ debugName: "tooltipPtOptions" }] : /* istanbul ignore next */ []);
|
|
293
|
+
tooltipUnstyled = input(void 0, {
|
|
294
|
+
...ngDevMode ? { debugName: "tooltipUnstyled" } : /* istanbul ignore next */ {},
|
|
295
|
+
transform: optionalBoolean
|
|
296
|
+
});
|
|
297
|
+
tooltipShown = output();
|
|
298
|
+
tooltipHidden = output();
|
|
299
|
+
ref = signal(null, ...ngDevMode ? [{ debugName: "ref" }] : /* istanbul ignore next */ []);
|
|
300
|
+
showTimer;
|
|
301
|
+
hideTimer;
|
|
302
|
+
lifeTimer;
|
|
303
|
+
hovered = false;
|
|
304
|
+
focused = false;
|
|
305
|
+
suppressed = false;
|
|
306
|
+
touched = false;
|
|
307
|
+
destroyed = false;
|
|
308
|
+
id = uniqueId("tx-tooltip");
|
|
309
|
+
isOpen = computed(() => this.ref() !== null, ...ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []);
|
|
310
|
+
placement = computed(() => this.tooltipPlacement() ?? this.options.placement, ...ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []);
|
|
311
|
+
event = computed(() => this.tooltipEvent() ?? this.options.event, ...ngDevMode ? [{ debugName: "event" }] : /* istanbul ignore next */ []);
|
|
312
|
+
showDelay = computed(() => this.tooltipShowDelay() ?? this.options.showDelay, ...ngDevMode ? [{ debugName: "showDelay" }] : /* istanbul ignore next */ []);
|
|
313
|
+
hideDelay = computed(() => this.tooltipHideDelay() ?? this.options.hideDelay, ...ngDevMode ? [{ debugName: "hideDelay" }] : /* istanbul ignore next */ []);
|
|
314
|
+
life = computed(() => this.tooltipLife() ?? this.options.life, ...ngDevMode ? [{ debugName: "life" }] : /* istanbul ignore next */ []);
|
|
315
|
+
offset = computed(() => this.tooltipOffset() ?? this.options.offset, ...ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []);
|
|
316
|
+
arrow = computed(() => this.tooltipArrow() ?? this.options.arrow, ...ngDevMode ? [{ debugName: "arrow" }] : /* istanbul ignore next */ []);
|
|
317
|
+
interactive = computed(() => this.tooltipInteractive() ?? this.options.interactive, ...ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []);
|
|
318
|
+
isUnstyled = injectUnstyled(this.tooltipUnstyled);
|
|
319
|
+
passThrough = injectPassThrough("tooltip", this, this.tooltipPt, this.tooltipPtOptions);
|
|
320
|
+
panelStyle = computed(() => toStyleObject(this.tooltipDt(), "--tx-tooltip"), ...ngDevMode ? [{ debugName: "panelStyle" }] : /* istanbul ignore next */ []);
|
|
321
|
+
text = computed(() => {
|
|
322
|
+
const content = this.txTooltip();
|
|
323
|
+
return typeof content === "string" || typeof content === "number" ? String(content).trim() : "";
|
|
324
|
+
}, ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
|
|
325
|
+
template = computed(() => {
|
|
326
|
+
const content = this.txTooltip();
|
|
327
|
+
return content instanceof TemplateRef ? content : null;
|
|
328
|
+
}, ...ngDevMode ? [{ debugName: "template" }] : /* istanbul ignore next */ []);
|
|
329
|
+
hasContent = computed(() => !this.tooltipDisabled() && (this.template() !== null || this.text() !== ""), ...ngDevMode ? [{ debugName: "hasContent" }] : /* istanbul ignore next */ []);
|
|
330
|
+
describesAhead = computed(() => this.text() !== "" && this.event() !== "manual" && !this.tooltipOverflowOnly(), ...ngDevMode ? [{ debugName: "describesAhead" }] : /* istanbul ignore next */ []);
|
|
331
|
+
context = computed(() => ({
|
|
332
|
+
$implicit: this.tooltipContext(),
|
|
333
|
+
close: () => this.hideNow()
|
|
334
|
+
}), ...ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []);
|
|
335
|
+
listensToHover = computed(() => this.event() === "hover" || this.event() === "both", ...ngDevMode ? [{ debugName: "listensToHover" }] : /* istanbul ignore next */ []);
|
|
336
|
+
listensToFocus = computed(() => this.event() === "focus" || this.event() === "both", ...ngDevMode ? [{ debugName: "listensToFocus" }] : /* istanbul ignore next */ []);
|
|
337
|
+
constructor() {
|
|
338
|
+
afterRenderEffect((onCleanup) => {
|
|
339
|
+
const text = this.tooltipDisabled() || !this.describesAhead() ? "" : this.text();
|
|
340
|
+
if (!text) return;
|
|
341
|
+
const node = this.registry.describe(`${this.id}-text`);
|
|
342
|
+
node.textContent = text;
|
|
343
|
+
const unlink = linkAriaReference(this.host, this.needsName() ? "aria-labelledby" : "aria-describedby", node.id);
|
|
344
|
+
onCleanup(() => {
|
|
345
|
+
unlink();
|
|
346
|
+
this.registry.forget(node);
|
|
347
|
+
});
|
|
348
|
+
});
|
|
349
|
+
afterRenderEffect((onCleanup) => {
|
|
350
|
+
if (this.ref() && !this.describesAhead()) onCleanup(linkAriaReference(this.host, "aria-describedby", this.id));
|
|
351
|
+
});
|
|
352
|
+
afterRenderEffect(() => {
|
|
353
|
+
this.txTooltip();
|
|
354
|
+
this.tooltipContext();
|
|
355
|
+
untracked(this.ref)?.updatePosition();
|
|
356
|
+
});
|
|
357
|
+
effect(() => {
|
|
358
|
+
if (!this.hasContent()) untracked(() => this.hideNow());
|
|
359
|
+
});
|
|
360
|
+
inject(DestroyRef).onDestroy(() => {
|
|
361
|
+
this.destroyed = true;
|
|
362
|
+
this.hideNow();
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
show(delay = this.showDelay()) {
|
|
366
|
+
this.clearHide();
|
|
367
|
+
if (!this.hasContent() || this.ref() || this.showTimer !== void 0) return;
|
|
368
|
+
if (this.tooltipOverflowOnly() && !this.overflows()) return;
|
|
369
|
+
const wait = this.registry.isWarm() ? 0 : delay;
|
|
370
|
+
if (wait > 0) this.showTimer = setTimeout(() => this.open(), wait);
|
|
371
|
+
else this.open();
|
|
372
|
+
}
|
|
373
|
+
hide(delay = this.hideDelay()) {
|
|
374
|
+
this.clearShow();
|
|
375
|
+
if (!this.ref() || this.hideTimer !== void 0) return;
|
|
376
|
+
const wait = this.interactive() ? Math.max(delay, INTERACTIVE_HIDE_DELAY) : delay;
|
|
377
|
+
if (wait > 0) this.hideTimer = setTimeout(() => this.hideNow(), wait);
|
|
378
|
+
else this.hideNow();
|
|
379
|
+
}
|
|
380
|
+
hideNow() {
|
|
381
|
+
this.clearShow();
|
|
382
|
+
this.clearHide();
|
|
383
|
+
this.ref()?.close("api");
|
|
384
|
+
}
|
|
385
|
+
toggle() {
|
|
386
|
+
if (this.ref()) this.hideNow();
|
|
387
|
+
else this.show(0);
|
|
388
|
+
}
|
|
389
|
+
onPointerEnter() {
|
|
390
|
+
if (this.touched) {
|
|
391
|
+
this.touched = false;
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
this.hovered = true;
|
|
395
|
+
if (this.listensToHover() && !this.suppressed) this.show();
|
|
396
|
+
}
|
|
397
|
+
onPointerLeave() {
|
|
398
|
+
this.hovered = false;
|
|
399
|
+
this.suppressed = false;
|
|
400
|
+
if (this.listensToHover() && !(this.focused && this.listensToFocus())) this.hide();
|
|
401
|
+
}
|
|
402
|
+
onPointerDown(event) {
|
|
403
|
+
this.touched = event.pointerType === "touch";
|
|
404
|
+
if (this.listensToHover()) {
|
|
405
|
+
this.suppressed = true;
|
|
406
|
+
this.hideNow();
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
onFocusIn() {
|
|
410
|
+
this.focused = true;
|
|
411
|
+
if (!this.listensToFocus() || this.suppressed) return;
|
|
412
|
+
if (this.event() === "focus" || isFocusVisible(this.host)) this.show();
|
|
413
|
+
}
|
|
414
|
+
onFocusOut(event) {
|
|
415
|
+
const next = event.relatedTarget;
|
|
416
|
+
if (next && (this.host.contains(next) || this.ref()?.element.contains(next))) return;
|
|
417
|
+
this.focused = false;
|
|
418
|
+
if (this.event() === "focus") this.suppressed = false;
|
|
419
|
+
if (this.listensToFocus() && !(this.hovered && this.listensToHover())) this.hide();
|
|
420
|
+
}
|
|
421
|
+
open() {
|
|
422
|
+
this.showTimer = void 0;
|
|
423
|
+
const requested = this.placement();
|
|
424
|
+
const opened = signal(null, ...ngDevMode ? [{ debugName: "opened" }] : /* istanbul ignore next */ []);
|
|
425
|
+
const state = {
|
|
426
|
+
id: this.id,
|
|
427
|
+
origin: this.host,
|
|
428
|
+
content: this.txTooltip,
|
|
429
|
+
context: this.context,
|
|
430
|
+
placement: computed(() => opened()?.placement() ?? requested),
|
|
431
|
+
arrow: this.arrow,
|
|
432
|
+
interactive: this.interactive,
|
|
433
|
+
hiddenFromReaders: this.describesAhead,
|
|
434
|
+
multiline: this.tooltipMultiline,
|
|
435
|
+
unstyled: this.isUnstyled,
|
|
436
|
+
passThrough: this.passThrough,
|
|
437
|
+
style: this.panelStyle,
|
|
438
|
+
panelClass: this.tooltipClass,
|
|
439
|
+
pointerEnter: () => this.onPanelEnter(),
|
|
440
|
+
pointerLeave: () => this.onPanelLeave()
|
|
441
|
+
};
|
|
442
|
+
this.registry.activate(this);
|
|
443
|
+
const ref = this.overlay.open(TxTooltipPanel, {
|
|
444
|
+
origin: this.host,
|
|
445
|
+
viewContainerRef: this.viewContainerRef,
|
|
446
|
+
injector: Injector.create({
|
|
447
|
+
providers: [{
|
|
448
|
+
provide: TX_TOOLTIP_PANEL,
|
|
449
|
+
useValue: state
|
|
450
|
+
}],
|
|
451
|
+
parent: this.injector
|
|
452
|
+
}),
|
|
453
|
+
placement: requested,
|
|
454
|
+
offset: this.offset(),
|
|
455
|
+
layer: "tooltip",
|
|
456
|
+
motion: "pop",
|
|
457
|
+
closeOnOutsideClick: false,
|
|
458
|
+
restoreFocus: false,
|
|
459
|
+
panelClass: "tx-tooltip-pane"
|
|
460
|
+
});
|
|
461
|
+
ref.closed.subscribe((reason) => {
|
|
462
|
+
this.ref.set(null);
|
|
463
|
+
this.clearHide();
|
|
464
|
+
this.clearLife();
|
|
465
|
+
this.registry.release(this);
|
|
466
|
+
if (reason === "escape") this.suppressed = true;
|
|
467
|
+
if (!this.destroyed) this.tooltipHidden.emit();
|
|
468
|
+
});
|
|
469
|
+
opened.set(ref);
|
|
470
|
+
this.ref.set(ref);
|
|
471
|
+
this.tooltipShown.emit();
|
|
472
|
+
const life = this.life();
|
|
473
|
+
if (life !== void 0 && life > 0) this.lifeTimer = setTimeout(() => this.hideNow(), life);
|
|
474
|
+
}
|
|
475
|
+
onPanelEnter() {
|
|
476
|
+
if (this.interactive()) this.clearHide();
|
|
477
|
+
}
|
|
478
|
+
onPanelLeave() {
|
|
479
|
+
if (!this.hovered && !this.focused) this.hide();
|
|
480
|
+
}
|
|
481
|
+
overflows() {
|
|
482
|
+
return this.host.scrollWidth > this.host.clientWidth || this.host.scrollHeight > this.host.clientHeight;
|
|
483
|
+
}
|
|
484
|
+
needsName() {
|
|
485
|
+
const host = this.host;
|
|
486
|
+
if (host.matches(FORM_CONTROL) || host.hasAttribute("aria-label") || host.hasAttribute("aria-labelledby")) return false;
|
|
487
|
+
return !host.textContent?.trim() && !host.querySelector(NAMED_CHILD);
|
|
488
|
+
}
|
|
489
|
+
clearShow() {
|
|
490
|
+
clearTimeout(this.showTimer);
|
|
491
|
+
this.showTimer = void 0;
|
|
492
|
+
}
|
|
493
|
+
clearHide() {
|
|
494
|
+
clearTimeout(this.hideTimer);
|
|
495
|
+
this.hideTimer = void 0;
|
|
496
|
+
}
|
|
497
|
+
clearLife() {
|
|
498
|
+
clearTimeout(this.lifeTimer);
|
|
499
|
+
this.lifeTimer = void 0;
|
|
500
|
+
}
|
|
501
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
502
|
+
minVersion: "12.0.0",
|
|
503
|
+
version: "22.2.3",
|
|
504
|
+
ngImport: i0,
|
|
505
|
+
type: TxTooltip,
|
|
506
|
+
deps: [],
|
|
507
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
508
|
+
});
|
|
509
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
510
|
+
minVersion: "17.1.0",
|
|
511
|
+
version: "22.2.3",
|
|
512
|
+
type: TxTooltip,
|
|
513
|
+
isStandalone: true,
|
|
514
|
+
selector: "[txTooltip]",
|
|
515
|
+
inputs: {
|
|
516
|
+
txTooltip: {
|
|
517
|
+
classPropertyName: "txTooltip",
|
|
518
|
+
publicName: "txTooltip",
|
|
519
|
+
isSignal: true,
|
|
520
|
+
isRequired: false,
|
|
521
|
+
transformFunction: null
|
|
522
|
+
},
|
|
523
|
+
tooltipPlacement: {
|
|
524
|
+
classPropertyName: "tooltipPlacement",
|
|
525
|
+
publicName: "tooltipPlacement",
|
|
526
|
+
isSignal: true,
|
|
527
|
+
isRequired: false,
|
|
528
|
+
transformFunction: null
|
|
529
|
+
},
|
|
530
|
+
tooltipEvent: {
|
|
531
|
+
classPropertyName: "tooltipEvent",
|
|
532
|
+
publicName: "tooltipEvent",
|
|
533
|
+
isSignal: true,
|
|
534
|
+
isRequired: false,
|
|
535
|
+
transformFunction: null
|
|
536
|
+
},
|
|
537
|
+
tooltipShowDelay: {
|
|
538
|
+
classPropertyName: "tooltipShowDelay",
|
|
539
|
+
publicName: "tooltipShowDelay",
|
|
540
|
+
isSignal: true,
|
|
541
|
+
isRequired: false,
|
|
542
|
+
transformFunction: null
|
|
543
|
+
},
|
|
544
|
+
tooltipHideDelay: {
|
|
545
|
+
classPropertyName: "tooltipHideDelay",
|
|
546
|
+
publicName: "tooltipHideDelay",
|
|
547
|
+
isSignal: true,
|
|
548
|
+
isRequired: false,
|
|
549
|
+
transformFunction: null
|
|
550
|
+
},
|
|
551
|
+
tooltipLife: {
|
|
552
|
+
classPropertyName: "tooltipLife",
|
|
553
|
+
publicName: "tooltipLife",
|
|
554
|
+
isSignal: true,
|
|
555
|
+
isRequired: false,
|
|
556
|
+
transformFunction: null
|
|
557
|
+
},
|
|
558
|
+
tooltipOffset: {
|
|
559
|
+
classPropertyName: "tooltipOffset",
|
|
560
|
+
publicName: "tooltipOffset",
|
|
561
|
+
isSignal: true,
|
|
562
|
+
isRequired: false,
|
|
563
|
+
transformFunction: null
|
|
564
|
+
},
|
|
565
|
+
tooltipArrow: {
|
|
566
|
+
classPropertyName: "tooltipArrow",
|
|
567
|
+
publicName: "tooltipArrow",
|
|
568
|
+
isSignal: true,
|
|
569
|
+
isRequired: false,
|
|
570
|
+
transformFunction: null
|
|
571
|
+
},
|
|
572
|
+
tooltipInteractive: {
|
|
573
|
+
classPropertyName: "tooltipInteractive",
|
|
574
|
+
publicName: "tooltipInteractive",
|
|
575
|
+
isSignal: true,
|
|
576
|
+
isRequired: false,
|
|
577
|
+
transformFunction: null
|
|
578
|
+
},
|
|
579
|
+
tooltipDisabled: {
|
|
580
|
+
classPropertyName: "tooltipDisabled",
|
|
581
|
+
publicName: "tooltipDisabled",
|
|
582
|
+
isSignal: true,
|
|
583
|
+
isRequired: false,
|
|
584
|
+
transformFunction: null
|
|
585
|
+
},
|
|
586
|
+
tooltipOverflowOnly: {
|
|
587
|
+
classPropertyName: "tooltipOverflowOnly",
|
|
588
|
+
publicName: "tooltipOverflowOnly",
|
|
589
|
+
isSignal: true,
|
|
590
|
+
isRequired: false,
|
|
591
|
+
transformFunction: null
|
|
592
|
+
},
|
|
593
|
+
tooltipMultiline: {
|
|
594
|
+
classPropertyName: "tooltipMultiline",
|
|
595
|
+
publicName: "tooltipMultiline",
|
|
596
|
+
isSignal: true,
|
|
597
|
+
isRequired: false,
|
|
598
|
+
transformFunction: null
|
|
599
|
+
},
|
|
600
|
+
tooltipContext: {
|
|
601
|
+
classPropertyName: "tooltipContext",
|
|
602
|
+
publicName: "tooltipContext",
|
|
603
|
+
isSignal: true,
|
|
604
|
+
isRequired: false,
|
|
605
|
+
transformFunction: null
|
|
606
|
+
},
|
|
607
|
+
tooltipClass: {
|
|
608
|
+
classPropertyName: "tooltipClass",
|
|
609
|
+
publicName: "tooltipClass",
|
|
610
|
+
isSignal: true,
|
|
611
|
+
isRequired: false,
|
|
612
|
+
transformFunction: null
|
|
613
|
+
},
|
|
614
|
+
tooltipDt: {
|
|
615
|
+
classPropertyName: "tooltipDt",
|
|
616
|
+
publicName: "tooltipDt",
|
|
617
|
+
isSignal: true,
|
|
618
|
+
isRequired: false,
|
|
619
|
+
transformFunction: null
|
|
620
|
+
},
|
|
621
|
+
tooltipPt: {
|
|
622
|
+
classPropertyName: "tooltipPt",
|
|
623
|
+
publicName: "tooltipPt",
|
|
624
|
+
isSignal: true,
|
|
625
|
+
isRequired: false,
|
|
626
|
+
transformFunction: null
|
|
627
|
+
},
|
|
628
|
+
tooltipPtOptions: {
|
|
629
|
+
classPropertyName: "tooltipPtOptions",
|
|
630
|
+
publicName: "tooltipPtOptions",
|
|
631
|
+
isSignal: true,
|
|
632
|
+
isRequired: false,
|
|
633
|
+
transformFunction: null
|
|
634
|
+
},
|
|
635
|
+
tooltipUnstyled: {
|
|
636
|
+
classPropertyName: "tooltipUnstyled",
|
|
637
|
+
publicName: "tooltipUnstyled",
|
|
638
|
+
isSignal: true,
|
|
639
|
+
isRequired: false,
|
|
640
|
+
transformFunction: null
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
outputs: {
|
|
644
|
+
tooltipShown: "tooltipShown",
|
|
645
|
+
tooltipHidden: "tooltipHidden"
|
|
646
|
+
},
|
|
647
|
+
host: { listeners: {
|
|
648
|
+
"mouseenter": "onPointerEnter()",
|
|
649
|
+
"mouseleave": "onPointerLeave()",
|
|
650
|
+
"pointerdown": "onPointerDown($event)",
|
|
651
|
+
"focusin": "onFocusIn()",
|
|
652
|
+
"focusout": "onFocusOut($event)"
|
|
653
|
+
} },
|
|
654
|
+
exportAs: ["txTooltip"],
|
|
655
|
+
ngImport: i0
|
|
656
|
+
});
|
|
657
|
+
};
|
|
658
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
659
|
+
minVersion: "12.0.0",
|
|
660
|
+
version: "22.2.3",
|
|
661
|
+
ngImport: i0,
|
|
662
|
+
type: TxTooltip,
|
|
663
|
+
decorators: [{
|
|
664
|
+
type: Directive,
|
|
665
|
+
args: [{
|
|
666
|
+
selector: "[txTooltip]",
|
|
667
|
+
exportAs: "txTooltip",
|
|
668
|
+
host: {
|
|
669
|
+
"(mouseenter)": "onPointerEnter()",
|
|
670
|
+
"(mouseleave)": "onPointerLeave()",
|
|
671
|
+
"(pointerdown)": "onPointerDown($event)",
|
|
672
|
+
"(focusin)": "onFocusIn()",
|
|
673
|
+
"(focusout)": "onFocusOut($event)"
|
|
674
|
+
}
|
|
675
|
+
}]
|
|
676
|
+
}],
|
|
677
|
+
ctorParameters: () => [],
|
|
678
|
+
propDecorators: {
|
|
679
|
+
txTooltip: [{
|
|
680
|
+
type: i0.Input,
|
|
681
|
+
args: [{
|
|
682
|
+
isSignal: true,
|
|
683
|
+
alias: "txTooltip",
|
|
684
|
+
required: false
|
|
685
|
+
}]
|
|
686
|
+
}],
|
|
687
|
+
tooltipPlacement: [{
|
|
688
|
+
type: i0.Input,
|
|
689
|
+
args: [{
|
|
690
|
+
isSignal: true,
|
|
691
|
+
alias: "tooltipPlacement",
|
|
692
|
+
required: false
|
|
693
|
+
}]
|
|
694
|
+
}],
|
|
695
|
+
tooltipEvent: [{
|
|
696
|
+
type: i0.Input,
|
|
697
|
+
args: [{
|
|
698
|
+
isSignal: true,
|
|
699
|
+
alias: "tooltipEvent",
|
|
700
|
+
required: false
|
|
701
|
+
}]
|
|
702
|
+
}],
|
|
703
|
+
tooltipShowDelay: [{
|
|
704
|
+
type: i0.Input,
|
|
705
|
+
args: [{
|
|
706
|
+
isSignal: true,
|
|
707
|
+
alias: "tooltipShowDelay",
|
|
708
|
+
required: false
|
|
709
|
+
}]
|
|
710
|
+
}],
|
|
711
|
+
tooltipHideDelay: [{
|
|
712
|
+
type: i0.Input,
|
|
713
|
+
args: [{
|
|
714
|
+
isSignal: true,
|
|
715
|
+
alias: "tooltipHideDelay",
|
|
716
|
+
required: false
|
|
717
|
+
}]
|
|
718
|
+
}],
|
|
719
|
+
tooltipLife: [{
|
|
720
|
+
type: i0.Input,
|
|
721
|
+
args: [{
|
|
722
|
+
isSignal: true,
|
|
723
|
+
alias: "tooltipLife",
|
|
724
|
+
required: false
|
|
725
|
+
}]
|
|
726
|
+
}],
|
|
727
|
+
tooltipOffset: [{
|
|
728
|
+
type: i0.Input,
|
|
729
|
+
args: [{
|
|
730
|
+
isSignal: true,
|
|
731
|
+
alias: "tooltipOffset",
|
|
732
|
+
required: false
|
|
733
|
+
}]
|
|
734
|
+
}],
|
|
735
|
+
tooltipArrow: [{
|
|
736
|
+
type: i0.Input,
|
|
737
|
+
args: [{
|
|
738
|
+
isSignal: true,
|
|
739
|
+
alias: "tooltipArrow",
|
|
740
|
+
required: false
|
|
741
|
+
}]
|
|
742
|
+
}],
|
|
743
|
+
tooltipInteractive: [{
|
|
744
|
+
type: i0.Input,
|
|
745
|
+
args: [{
|
|
746
|
+
isSignal: true,
|
|
747
|
+
alias: "tooltipInteractive",
|
|
748
|
+
required: false
|
|
749
|
+
}]
|
|
750
|
+
}],
|
|
751
|
+
tooltipDisabled: [{
|
|
752
|
+
type: i0.Input,
|
|
753
|
+
args: [{
|
|
754
|
+
isSignal: true,
|
|
755
|
+
alias: "tooltipDisabled",
|
|
756
|
+
required: false
|
|
757
|
+
}]
|
|
758
|
+
}],
|
|
759
|
+
tooltipOverflowOnly: [{
|
|
760
|
+
type: i0.Input,
|
|
761
|
+
args: [{
|
|
762
|
+
isSignal: true,
|
|
763
|
+
alias: "tooltipOverflowOnly",
|
|
764
|
+
required: false
|
|
765
|
+
}]
|
|
766
|
+
}],
|
|
767
|
+
tooltipMultiline: [{
|
|
768
|
+
type: i0.Input,
|
|
769
|
+
args: [{
|
|
770
|
+
isSignal: true,
|
|
771
|
+
alias: "tooltipMultiline",
|
|
772
|
+
required: false
|
|
773
|
+
}]
|
|
774
|
+
}],
|
|
775
|
+
tooltipContext: [{
|
|
776
|
+
type: i0.Input,
|
|
777
|
+
args: [{
|
|
778
|
+
isSignal: true,
|
|
779
|
+
alias: "tooltipContext",
|
|
780
|
+
required: false
|
|
781
|
+
}]
|
|
782
|
+
}],
|
|
783
|
+
tooltipClass: [{
|
|
784
|
+
type: i0.Input,
|
|
785
|
+
args: [{
|
|
786
|
+
isSignal: true,
|
|
787
|
+
alias: "tooltipClass",
|
|
788
|
+
required: false
|
|
789
|
+
}]
|
|
790
|
+
}],
|
|
791
|
+
tooltipDt: [{
|
|
792
|
+
type: i0.Input,
|
|
793
|
+
args: [{
|
|
794
|
+
isSignal: true,
|
|
795
|
+
alias: "tooltipDt",
|
|
796
|
+
required: false
|
|
797
|
+
}]
|
|
798
|
+
}],
|
|
799
|
+
tooltipPt: [{
|
|
800
|
+
type: i0.Input,
|
|
801
|
+
args: [{
|
|
802
|
+
isSignal: true,
|
|
803
|
+
alias: "tooltipPt",
|
|
804
|
+
required: false
|
|
805
|
+
}]
|
|
806
|
+
}],
|
|
807
|
+
tooltipPtOptions: [{
|
|
808
|
+
type: i0.Input,
|
|
809
|
+
args: [{
|
|
810
|
+
isSignal: true,
|
|
811
|
+
alias: "tooltipPtOptions",
|
|
812
|
+
required: false
|
|
813
|
+
}]
|
|
814
|
+
}],
|
|
815
|
+
tooltipUnstyled: [{
|
|
816
|
+
type: i0.Input,
|
|
817
|
+
args: [{
|
|
818
|
+
isSignal: true,
|
|
819
|
+
alias: "tooltipUnstyled",
|
|
820
|
+
required: false
|
|
821
|
+
}]
|
|
822
|
+
}],
|
|
823
|
+
tooltipShown: [{
|
|
824
|
+
type: i0.Output,
|
|
825
|
+
args: ["tooltipShown"]
|
|
826
|
+
}],
|
|
827
|
+
tooltipHidden: [{
|
|
828
|
+
type: i0.Output,
|
|
829
|
+
args: ["tooltipHidden"]
|
|
830
|
+
}]
|
|
831
|
+
}
|
|
832
|
+
});
|
|
833
|
+
export { TX_TOOLTIP_DEFAULTS, TX_TOOLTIP_OPTIONS, TX_TOOLTIP_PANEL, TxTooltip, TxTooltipPanel, TxTooltipRegistry, provideTxTooltip };
|
|
834
|
+
|
|
835
|
+
//# sourceMappingURL=tectra-ng-ui-tooltip.mjs.map
|