@weeehaoooz/talos-ui 0.1.1 → 0.1.2
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/README.md +2 -0
- package/fesm2022/{weeehaoooz-talos-ui-button-button-group.mjs → weeehaoooz-talos-ui-button.mjs} +91 -15
- package/fesm2022/weeehaoooz-talos-ui-button.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-data-display.mjs +3110 -0
- package/fesm2022/weeehaoooz-talos-ui-data-display.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-data-viz.mjs +2414 -0
- package/fesm2022/weeehaoooz-talos-ui-data-viz.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-dropdown.mjs +1039 -0
- package/fesm2022/weeehaoooz-talos-ui-dropdown.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-feedback.mjs +2885 -0
- package/fesm2022/weeehaoooz-talos-ui-feedback.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-form.mjs +10799 -0
- package/fesm2022/weeehaoooz-talos-ui-form.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-layout.mjs +1316 -7
- package/fesm2022/weeehaoooz-talos-ui-layout.mjs.map +1 -1
- package/fesm2022/weeehaoooz-talos-ui-nav.mjs +3 -3
- package/fesm2022/weeehaoooz-talos-ui-nav.mjs.map +1 -1
- package/fesm2022/weeehaoooz-talos-ui.mjs +21592 -16293
- package/fesm2022/weeehaoooz-talos-ui.mjs.map +1 -1
- package/package.json +20 -139
- package/styles/_breadcrumb.scss +16 -0
- package/styles/_button-group.scss +2 -1
- package/styles/_buttons.scss +51 -0
- package/styles/_dropdown.scss +438 -0
- package/styles/_form-controls.scss +13 -0
- package/styles/_progress-bar.scss +43 -0
- package/styles/_skeleton.scss +176 -0
- package/styles/_spinner.scss +58 -0
- package/styles/_variables.scss +33 -0
- package/styles/index.scss +6 -1
- package/types/weeehaoooz-talos-ui-button.d.ts +92 -0
- package/types/weeehaoooz-talos-ui-button.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-data-display.d.ts +1018 -0
- package/types/weeehaoooz-talos-ui-data-display.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-data-viz.d.ts +839 -0
- package/types/weeehaoooz-talos-ui-data-viz.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-dropdown.d.ts +187 -0
- package/types/weeehaoooz-talos-ui-dropdown.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-feedback.d.ts +1495 -0
- package/types/weeehaoooz-talos-ui-feedback.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-form.d.ts +2639 -0
- package/types/weeehaoooz-talos-ui-form.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-layout.d.ts +851 -3
- package/types/weeehaoooz-talos-ui-layout.d.ts.map +1 -1
- package/types/weeehaoooz-talos-ui-nav.d.ts +1 -1
- package/types/weeehaoooz-talos-ui.d.ts +7148 -4629
- package/types/weeehaoooz-talos-ui.d.ts.map +1 -1
- package/fesm2022/weeehaoooz-talos-ui-button-button-group.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-button-button.mjs +0 -94
- package/fesm2022/weeehaoooz-talos-ui-button-button.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-badge.mjs +0 -233
- package/fesm2022/weeehaoooz-talos-ui-data-display-badge.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-data-grid.mjs +0 -1627
- package/fesm2022/weeehaoooz-talos-ui-data-display-data-grid.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-status-tag.mjs +0 -361
- package/fesm2022/weeehaoooz-talos-ui-data-display-status-tag.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-timeline.mjs +0 -312
- package/fesm2022/weeehaoooz-talos-ui-data-display-timeline.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-trend-indicator.mjs +0 -235
- package/fesm2022/weeehaoooz-talos-ui-data-display-trend-indicator.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-category-bar.mjs +0 -462
- package/fesm2022/weeehaoooz-talos-ui-data-viz-category-bar.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-heatmap.mjs +0 -805
- package/fesm2022/weeehaoooz-talos-ui-data-viz-heatmap.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-donut.mjs +0 -267
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-donut.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-gauge.mjs +0 -351
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-gauge.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-sparkline.mjs +0 -566
- package/fesm2022/weeehaoooz-talos-ui-data-viz-sparkline.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-alert.mjs +0 -534
- package/fesm2022/weeehaoooz-talos-ui-feedback-alert.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-dialog.mjs +0 -446
- package/fesm2022/weeehaoooz-talos-ui-feedback-dialog.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-snackbar.mjs +0 -376
- package/fesm2022/weeehaoooz-talos-ui-feedback-snackbar.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-tooltip.mjs +0 -147
- package/fesm2022/weeehaoooz-talos-ui-feedback-tooltip.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-affix.mjs +0 -242
- package/fesm2022/weeehaoooz-talos-ui-form-affix.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-autocomplete.mjs +0 -514
- package/fesm2022/weeehaoooz-talos-ui-form-autocomplete.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-checkbox.mjs +0 -548
- package/fesm2022/weeehaoooz-talos-ui-form-checkbox.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-chips.mjs +0 -692
- package/fesm2022/weeehaoooz-talos-ui-form-chips.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-color-picker.mjs +0 -761
- package/fesm2022/weeehaoooz-talos-ui-form-color-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-picker.mjs +0 -896
- package/fesm2022/weeehaoooz-talos-ui-form-date-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-range-picker.mjs +0 -872
- package/fesm2022/weeehaoooz-talos-ui-form-date-range-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-picker.mjs +0 -119
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-range-picker.mjs +0 -135
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-range-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-drop-zone.mjs +0 -666
- package/fesm2022/weeehaoooz-talos-ui-form-drop-zone.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-form-field.mjs +0 -147
- package/fesm2022/weeehaoooz-talos-ui-form-form-field.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-input.mjs +0 -33
- package/fesm2022/weeehaoooz-talos-ui-form-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-otp.mjs +0 -455
- package/fesm2022/weeehaoooz-talos-ui-form-otp.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-password-input.mjs +0 -379
- package/fesm2022/weeehaoooz-talos-ui-form-password-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-radio.mjs +0 -297
- package/fesm2022/weeehaoooz-talos-ui-form-radio.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-range-input.mjs +0 -661
- package/fesm2022/weeehaoooz-talos-ui-form-range-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-rating.mjs +0 -346
- package/fesm2022/weeehaoooz-talos-ui-form-rating.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-select-input.mjs +0 -896
- package/fesm2022/weeehaoooz-talos-ui-form-select-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-slide-toggle.mjs +0 -252
- package/fesm2022/weeehaoooz-talos-ui-form-slide-toggle.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-transfer-list.mjs +0 -916
- package/fesm2022/weeehaoooz-talos-ui-form-transfer-list.mjs.map +0 -1
- package/types/weeehaoooz-talos-ui-button-button-group.d.ts +0 -62
- package/types/weeehaoooz-talos-ui-button-button-group.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-button-button.d.ts +0 -38
- package/types/weeehaoooz-talos-ui-button-button.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-badge.d.ts +0 -119
- package/types/weeehaoooz-talos-ui-data-display-badge.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-data-grid.d.ts +0 -272
- package/types/weeehaoooz-talos-ui-data-display-data-grid.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-status-tag.d.ts +0 -135
- package/types/weeehaoooz-talos-ui-data-display-status-tag.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-timeline.d.ts +0 -144
- package/types/weeehaoooz-talos-ui-data-display-timeline.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-trend-indicator.d.ts +0 -83
- package/types/weeehaoooz-talos-ui-data-display-trend-indicator.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-category-bar.d.ts +0 -255
- package/types/weeehaoooz-talos-ui-data-viz-category-bar.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-heatmap.d.ts +0 -204
- package/types/weeehaoooz-talos-ui-data-viz-heatmap.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-mini-donut.d.ts +0 -101
- package/types/weeehaoooz-talos-ui-data-viz-mini-donut.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-mini-gauge.d.ts +0 -138
- package/types/weeehaoooz-talos-ui-data-viz-mini-gauge.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-sparkline.d.ts +0 -161
- package/types/weeehaoooz-talos-ui-data-viz-sparkline.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-alert.d.ts +0 -212
- package/types/weeehaoooz-talos-ui-feedback-alert.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-dialog.d.ts +0 -259
- package/types/weeehaoooz-talos-ui-feedback-dialog.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-snackbar.d.ts +0 -147
- package/types/weeehaoooz-talos-ui-feedback-snackbar.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-tooltip.d.ts +0 -32
- package/types/weeehaoooz-talos-ui-feedback-tooltip.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-affix.d.ts +0 -88
- package/types/weeehaoooz-talos-ui-form-affix.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-autocomplete.d.ts +0 -113
- package/types/weeehaoooz-talos-ui-form-autocomplete.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-checkbox.d.ts +0 -165
- package/types/weeehaoooz-talos-ui-form-checkbox.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-chips.d.ts +0 -152
- package/types/weeehaoooz-talos-ui-form-chips.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-color-picker.d.ts +0 -144
- package/types/weeehaoooz-talos-ui-form-color-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-picker.d.ts +0 -138
- package/types/weeehaoooz-talos-ui-form-date-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-range-picker.d.ts +0 -148
- package/types/weeehaoooz-talos-ui-form-date-range-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-time-picker.d.ts +0 -44
- package/types/weeehaoooz-talos-ui-form-date-time-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-time-range-picker.d.ts +0 -48
- package/types/weeehaoooz-talos-ui-form-date-time-range-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-drop-zone.d.ts +0 -227
- package/types/weeehaoooz-talos-ui-form-drop-zone.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-form-field.d.ts +0 -42
- package/types/weeehaoooz-talos-ui-form-form-field.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-input.d.ts +0 -15
- package/types/weeehaoooz-talos-ui-form-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-otp.d.ts +0 -111
- package/types/weeehaoooz-talos-ui-form-otp.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-password-input.d.ts +0 -145
- package/types/weeehaoooz-talos-ui-form-password-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-radio.d.ts +0 -84
- package/types/weeehaoooz-talos-ui-form-radio.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-range-input.d.ts +0 -181
- package/types/weeehaoooz-talos-ui-form-range-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-rating.d.ts +0 -110
- package/types/weeehaoooz-talos-ui-form-rating.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-select-input.d.ts +0 -195
- package/types/weeehaoooz-talos-ui-form-select-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-slide-toggle.d.ts +0 -79
- package/types/weeehaoooz-talos-ui-form-slide-toggle.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-transfer-list.d.ts +0 -192
- package/types/weeehaoooz-talos-ui-form-transfer-list.d.ts.map +0 -1
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, Component, inject, ElementRef, DestroyRef, Injector, Directive } from '@angular/core';
|
|
3
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
4
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
5
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
6
|
-
|
|
7
|
-
class TalosTooltipComponent {
|
|
8
|
-
text = input('', /* @ts-ignore */
|
|
9
|
-
...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: TalosTooltipComponent, isStandalone: true, selector: "talos-tooltip-content", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "tooltip" }, classAttribute: "talos-tooltip-panel" }, ngImport: i0, template: `<div class="talos-tooltip-inner">{{ text() }}</div>`, isInline: true });
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTooltipComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: 'talos-tooltip-content',
|
|
17
|
-
template: `<div class="talos-tooltip-inner">{{ text() }}</div>`,
|
|
18
|
-
host: {
|
|
19
|
-
'class': 'talos-tooltip-panel',
|
|
20
|
-
'role': 'tooltip'
|
|
21
|
-
}
|
|
22
|
-
}]
|
|
23
|
-
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
|
|
24
|
-
class TalosTooltipDirective {
|
|
25
|
-
elementRef = inject(ElementRef);
|
|
26
|
-
overlay = inject(Overlay);
|
|
27
|
-
destroyRef = inject(DestroyRef);
|
|
28
|
-
injector = inject(Injector);
|
|
29
|
-
focusMonitor = inject(FocusMonitor);
|
|
30
|
-
tooltip = input('', { ...(ngDevMode ? { debugName: "tooltip" } : /* istanbul ignore next */ {}), alias: 'talosTooltip' });
|
|
31
|
-
tooltipContent = input('', { ...(ngDevMode ? { debugName: "tooltipContent" } : /* istanbul ignore next */ {}), alias: 'tooltip' });
|
|
32
|
-
position = input('top', { ...(ngDevMode ? { debugName: "position" } : /* istanbul ignore next */ {}), alias: 'tooltipPosition' });
|
|
33
|
-
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), alias: 'tooltipDisabled' });
|
|
34
|
-
overlayRef = null;
|
|
35
|
-
ngOnInit() {
|
|
36
|
-
this.focusMonitor.monitor(this.elementRef).subscribe((origin) => {
|
|
37
|
-
if (origin === 'keyboard') {
|
|
38
|
-
this.show();
|
|
39
|
-
}
|
|
40
|
-
else if (!origin) {
|
|
41
|
-
this.hide();
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
this.destroyRef.onDestroy(() => {
|
|
45
|
-
this.focusMonitor.stopMonitoring(this.elementRef);
|
|
46
|
-
this.hide();
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
get tooltipText() {
|
|
50
|
-
return this.tooltip() || this.tooltipContent() || '';
|
|
51
|
-
}
|
|
52
|
-
show() {
|
|
53
|
-
if (this.disabled() || !this.tooltipText || this.overlayRef?.hasAttached()) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
const positionStrategy = this.createPositionStrategy();
|
|
57
|
-
this.overlayRef = this.overlay.create({
|
|
58
|
-
positionStrategy,
|
|
59
|
-
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
60
|
-
hasBackdrop: false
|
|
61
|
-
});
|
|
62
|
-
const portal = new ComponentPortal(TalosTooltipComponent, null, this.injector);
|
|
63
|
-
const componentRef = this.overlayRef.attach(portal);
|
|
64
|
-
componentRef.setInput('text', this.tooltipText);
|
|
65
|
-
}
|
|
66
|
-
hide() {
|
|
67
|
-
if (this.overlayRef) {
|
|
68
|
-
this.overlayRef.dispose();
|
|
69
|
-
this.overlayRef = null;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
createPositionStrategy() {
|
|
73
|
-
const pos = this.position();
|
|
74
|
-
const strategy = this.overlay
|
|
75
|
-
.position()
|
|
76
|
-
.flexibleConnectedTo(this.elementRef)
|
|
77
|
-
.withFlexibleDimensions(false)
|
|
78
|
-
.withPush(false);
|
|
79
|
-
const positions = {
|
|
80
|
-
top: {
|
|
81
|
-
originX: 'center',
|
|
82
|
-
originY: 'top',
|
|
83
|
-
overlayX: 'center',
|
|
84
|
-
overlayY: 'bottom',
|
|
85
|
-
offsetY: -8
|
|
86
|
-
},
|
|
87
|
-
bottom: {
|
|
88
|
-
originX: 'center',
|
|
89
|
-
originY: 'bottom',
|
|
90
|
-
overlayX: 'center',
|
|
91
|
-
overlayY: 'top',
|
|
92
|
-
offsetY: 8
|
|
93
|
-
},
|
|
94
|
-
left: {
|
|
95
|
-
originX: 'start',
|
|
96
|
-
originY: 'center',
|
|
97
|
-
overlayX: 'end',
|
|
98
|
-
overlayY: 'center',
|
|
99
|
-
offsetX: -8
|
|
100
|
-
},
|
|
101
|
-
right: {
|
|
102
|
-
originX: 'end',
|
|
103
|
-
originY: 'center',
|
|
104
|
-
overlayX: 'start',
|
|
105
|
-
overlayY: 'center',
|
|
106
|
-
offsetX: 8
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
if (pos === 'top') {
|
|
110
|
-
strategy.withPositions([positions.top, positions.bottom, positions.left, positions.right]);
|
|
111
|
-
}
|
|
112
|
-
else if (pos === 'bottom') {
|
|
113
|
-
strategy.withPositions([positions.bottom, positions.top, positions.left, positions.right]);
|
|
114
|
-
}
|
|
115
|
-
else if (pos === 'left') {
|
|
116
|
-
strategy.withPositions([positions.left, positions.right, positions.top, positions.bottom]);
|
|
117
|
-
}
|
|
118
|
-
else if (pos === 'right') {
|
|
119
|
-
strategy.withPositions([positions.right, positions.left, positions.top, positions.bottom]);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
strategy.withPositions([positions.top, positions.bottom, positions.right, positions.left]);
|
|
123
|
-
}
|
|
124
|
-
return strategy;
|
|
125
|
-
}
|
|
126
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
127
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: TalosTooltipDirective, isStandalone: true, selector: "[talosTooltip], [tooltip]", inputs: { tooltip: { classPropertyName: "tooltip", publicName: "talosTooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipContent: { classPropertyName: "tooltipContent", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()", "click": "hide()", "keydown.escape": "hide()" } }, ngImport: i0 });
|
|
128
|
-
}
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTooltipDirective, decorators: [{
|
|
130
|
-
type: Directive,
|
|
131
|
-
args: [{
|
|
132
|
-
selector: '[talosTooltip], [tooltip]',
|
|
133
|
-
host: {
|
|
134
|
-
'(mouseenter)': 'show()',
|
|
135
|
-
'(mouseleave)': 'hide()',
|
|
136
|
-
'(click)': 'hide()',
|
|
137
|
-
'(keydown.escape)': 'hide()'
|
|
138
|
-
}
|
|
139
|
-
}]
|
|
140
|
-
}], propDecorators: { tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "talosTooltip", required: false }] }], tooltipContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipPosition", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipDisabled", required: false }] }] } });
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* Generated bundle index. Do not edit.
|
|
144
|
-
*/
|
|
145
|
-
|
|
146
|
-
export { TalosTooltipComponent, TalosTooltipDirective };
|
|
147
|
-
//# sourceMappingURL=weeehaoooz-talos-ui-feedback-tooltip.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"weeehaoooz-talos-ui-feedback-tooltip.mjs","sources":["../../../projects/talos-ui/feedback/tooltip/tooltip.directive.ts","../../../projects/talos-ui/feedback/tooltip/weeehaoooz-talos-ui-feedback-tooltip.ts"],"sourcesContent":["import {\n Component,\n Directive,\n ElementRef,\n DestroyRef,\n inject,\n input,\n Injector,\n OnInit\n} from '@angular/core';\nimport { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';\nimport { Overlay, OverlayRef, PositionStrategy } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\n\nexport type TooltipPosition = 'top' | 'left' | 'right' | 'bottom' | 'auto';\n\n@Component({\n selector: 'talos-tooltip-content',\n template: `<div class=\"talos-tooltip-inner\">{{ text() }}</div>`,\n host: {\n 'class': 'talos-tooltip-panel',\n 'role': 'tooltip'\n }\n})\nexport class TalosTooltipComponent {\n readonly text = input<string>('');\n}\n\n@Directive({\n selector: '[talosTooltip], [tooltip]',\n host: {\n '(mouseenter)': 'show()',\n '(mouseleave)': 'hide()',\n '(click)': 'hide()',\n '(keydown.escape)': 'hide()'\n }\n})\nexport class TalosTooltipDirective implements OnInit {\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly overlay = inject(Overlay);\n private readonly destroyRef = inject(DestroyRef);\n private readonly injector = inject(Injector);\n private readonly focusMonitor = inject(FocusMonitor);\n\n readonly tooltip = input<string>('', { alias: 'talosTooltip' });\n readonly tooltipContent = input<string>('', { alias: 'tooltip' });\n readonly position = input<TooltipPosition>('top', { alias: 'tooltipPosition' });\n readonly disabled = input<boolean>(false, { alias: 'tooltipDisabled' });\n\n private overlayRef: OverlayRef | null = null;\n\n ngOnInit(): void {\n this.focusMonitor.monitor(this.elementRef).subscribe((origin: FocusOrigin) => {\n if (origin === 'keyboard') {\n this.show();\n } else if (!origin) {\n this.hide();\n }\n });\n\n this.destroyRef.onDestroy(() => {\n this.focusMonitor.stopMonitoring(this.elementRef);\n this.hide();\n });\n }\n\n get tooltipText(): string {\n return this.tooltip() || this.tooltipContent() || '';\n }\n\n show(): void {\n if (this.disabled() || !this.tooltipText || this.overlayRef?.hasAttached()) {\n return;\n }\n\n const positionStrategy = this.createPositionStrategy();\n this.overlayRef = this.overlay.create({\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n hasBackdrop: false\n });\n\n const portal = new ComponentPortal(TalosTooltipComponent, null, this.injector);\n const componentRef = this.overlayRef.attach(portal);\n componentRef.setInput('text', this.tooltipText);\n }\n\n hide(): void {\n if (this.overlayRef) {\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n }\n\n private createPositionStrategy(): PositionStrategy {\n const pos = this.position();\n const strategy = this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef)\n .withFlexibleDimensions(false)\n .withPush(false);\n\n const positions = {\n top: {\n originX: 'center' as const,\n originY: 'top' as const,\n overlayX: 'center' as const,\n overlayY: 'bottom' as const,\n offsetY: -8\n },\n bottom: {\n originX: 'center' as const,\n originY: 'bottom' as const,\n overlayX: 'center' as const,\n overlayY: 'top' as const,\n offsetY: 8\n },\n left: {\n originX: 'start' as const,\n originY: 'center' as const,\n overlayX: 'end' as const,\n overlayY: 'center' as const,\n offsetX: -8\n },\n right: {\n originX: 'end' as const,\n originY: 'center' as const,\n overlayX: 'start' as const,\n overlayY: 'center' as const,\n offsetX: 8\n }\n };\n\n if (pos === 'top') {\n strategy.withPositions([positions.top, positions.bottom, positions.left, positions.right]);\n } else if (pos === 'bottom') {\n strategy.withPositions([positions.bottom, positions.top, positions.left, positions.right]);\n } else if (pos === 'left') {\n strategy.withPositions([positions.left, positions.right, positions.top, positions.bottom]);\n } else if (pos === 'right') {\n strategy.withPositions([positions.right, positions.left, positions.top, positions.bottom]);\n } else {\n strategy.withPositions([positions.top, positions.bottom, positions.right, positions.left]);\n }\n\n return strategy;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAwBa,qBAAqB,CAAA;IACvB,IAAI,GAAG,KAAK,CAAS,EAAE;6EAAC;uGADtB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,sSANtB,CAAA,mDAAA,CAAqD,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAMpD,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBARjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,QAAQ,EAAE,CAAA,mDAAA,CAAqD;AAC/D,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE,qBAAqB;AAC9B,wBAAA,MAAM,EAAE;AACT;AACF,iBAAA;;MAcY,qBAAqB,CAAA;AACf,IAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AACxD,IAAA,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AACzB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,IAAA,QAAQ,G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Q;AACxB,wBAAA,cAAc,EAAE,QAAQ;AACxB,wBAAA,SAAS,EAAE,QAAQ;AACnB,wBAAA,kBAAkB,EAAE;AACrB;AACF,iBAAA;;;ACpCD;;AAEG;;;;"}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, Directive, NgModule } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Directive applied to leading prefix elements inside form fields, inputs, or select fields.
|
|
6
|
-
* Supports icons, symbols, dropdowns, and custom buttons.
|
|
7
|
-
*/
|
|
8
|
-
class TalosPrefixDirective {
|
|
9
|
-
elementRef = inject((ElementRef));
|
|
10
|
-
/** Whether the prefix is interactive (e.g. clickable button, dropdown) */
|
|
11
|
-
interactive = input(false, /* @ts-ignore */
|
|
12
|
-
...(ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []));
|
|
13
|
-
/** Micro-interaction animation preset */
|
|
14
|
-
animation = input('none', /* @ts-ignore */
|
|
15
|
-
...(ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []));
|
|
16
|
-
/** Convenience boolean signal for spinning icon / continuous refresh state */
|
|
17
|
-
spinning = input(false, /* @ts-ignore */
|
|
18
|
-
...(ngDevMode ? [{ debugName: "spinning" }] : /* istanbul ignore next */ []));
|
|
19
|
-
/** Convenience boolean signal for pop / scale bounce feedback */
|
|
20
|
-
popping = input(false, /* @ts-ignore */
|
|
21
|
-
...(ngDevMode ? [{ debugName: "popping" }] : /* istanbul ignore next */ []));
|
|
22
|
-
/** Contextual temporary feedback state */
|
|
23
|
-
feedback = input(null, /* @ts-ignore */
|
|
24
|
-
...(ngDevMode ? [{ debugName: "feedback" }] : /* istanbul ignore next */ []));
|
|
25
|
-
isButton() {
|
|
26
|
-
const el = this.elementRef.nativeElement;
|
|
27
|
-
return el.tagName?.toLowerCase() === 'button' || el.getAttribute('role') === 'button';
|
|
28
|
-
}
|
|
29
|
-
isInteractive() {
|
|
30
|
-
return this.interactive() || this.isButton();
|
|
31
|
-
}
|
|
32
|
-
get nativeElement() {
|
|
33
|
-
return this.elementRef.nativeElement;
|
|
34
|
-
}
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: TalosPrefixDirective, isStandalone: true, selector: "[talosPrefix], [talos-prefix], [talosLead], [talosStart]", inputs: { interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, spinning: { classPropertyName: "spinning", publicName: "spinning", isSignal: true, isRequired: false, transformFunction: null }, popping: { classPropertyName: "popping", publicName: "popping", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.affix-interactive": "isInteractive()", "class.talos-affix-btn": "isButton()", "class.talos-anim-spin": "animation() === \"spin\" || spinning()", "class.talos-anim-spin-once": "animation() === \"spin-once\"", "class.talos-anim-pop": "animation() === \"pop\" || popping()", "class.talos-anim-shake": "animation() === \"shake\"", "class.talos-anim-pulse": "animation() === \"pulse\"", "class.talos-anim-bounce": "animation() === \"bounce\"", "class.talos-feedback-success": "feedback() === \"success\"", "class.talos-feedback-error": "feedback() === \"error\"", "class.affix-anim-spin": "animation() === \"spin\" || spinning()", "class.affix-anim-spin-once": "animation() === \"spin-once\"", "class.affix-anim-pop": "animation() === \"pop\" || popping()", "class.affix-anim-shake": "animation() === \"shake\"", "class.affix-anim-pulse": "animation() === \"pulse\"", "class.affix-anim-bounce": "animation() === \"bounce\"", "class.affix-feedback-success": "feedback() === \"success\"", "class.affix-feedback-error": "feedback() === \"error\"" }, classAttribute: "talos-input-prefix talos-affix-element" }, ngImport: i0 });
|
|
37
|
-
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosPrefixDirective, decorators: [{
|
|
39
|
-
type: Directive,
|
|
40
|
-
args: [{
|
|
41
|
-
selector: '[talosPrefix], [talos-prefix], [talosLead], [talosStart]',
|
|
42
|
-
host: {
|
|
43
|
-
'class': 'talos-input-prefix talos-affix-element',
|
|
44
|
-
'[class.affix-interactive]': 'isInteractive()',
|
|
45
|
-
'[class.talos-affix-btn]': 'isButton()',
|
|
46
|
-
'[class.talos-anim-spin]': 'animation() === "spin" || spinning()',
|
|
47
|
-
'[class.talos-anim-spin-once]': 'animation() === "spin-once"',
|
|
48
|
-
'[class.talos-anim-pop]': 'animation() === "pop" || popping()',
|
|
49
|
-
'[class.talos-anim-shake]': 'animation() === "shake"',
|
|
50
|
-
'[class.talos-anim-pulse]': 'animation() === "pulse"',
|
|
51
|
-
'[class.talos-anim-bounce]': 'animation() === "bounce"',
|
|
52
|
-
'[class.talos-feedback-success]': 'feedback() === "success"',
|
|
53
|
-
'[class.talos-feedback-error]': 'feedback() === "error"',
|
|
54
|
-
'[class.affix-anim-spin]': 'animation() === "spin" || spinning()',
|
|
55
|
-
'[class.affix-anim-spin-once]': 'animation() === "spin-once"',
|
|
56
|
-
'[class.affix-anim-pop]': 'animation() === "pop" || popping()',
|
|
57
|
-
'[class.affix-anim-shake]': 'animation() === "shake"',
|
|
58
|
-
'[class.affix-anim-pulse]': 'animation() === "pulse"',
|
|
59
|
-
'[class.affix-anim-bounce]': 'animation() === "bounce"',
|
|
60
|
-
'[class.affix-feedback-success]': 'feedback() === "success"',
|
|
61
|
-
'[class.affix-feedback-error]': 'feedback() === "error"'
|
|
62
|
-
}
|
|
63
|
-
}]
|
|
64
|
-
}], propDecorators: { interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], spinning: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinning", required: false }] }], popping: [{ type: i0.Input, args: [{ isSignal: true, alias: "popping", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }] } });
|
|
65
|
-
/**
|
|
66
|
-
* Directive applied to trailing suffix / postfix elements inside form fields, inputs, or select fields.
|
|
67
|
-
* Supports units (USD, kg, px, %), clear buttons, copy actions, and dropdown indicators.
|
|
68
|
-
*/
|
|
69
|
-
class TalosSuffixDirective {
|
|
70
|
-
elementRef = inject((ElementRef));
|
|
71
|
-
/** Whether the suffix is interactive (e.g. clickable button, copy icon) */
|
|
72
|
-
interactive = input(false, /* @ts-ignore */
|
|
73
|
-
...(ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []));
|
|
74
|
-
/** Micro-interaction animation preset */
|
|
75
|
-
animation = input('none', /* @ts-ignore */
|
|
76
|
-
...(ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []));
|
|
77
|
-
/** Convenience boolean signal for spinning icon / continuous refresh state */
|
|
78
|
-
spinning = input(false, /* @ts-ignore */
|
|
79
|
-
...(ngDevMode ? [{ debugName: "spinning" }] : /* istanbul ignore next */ []));
|
|
80
|
-
/** Convenience boolean signal for pop / scale bounce feedback */
|
|
81
|
-
popping = input(false, /* @ts-ignore */
|
|
82
|
-
...(ngDevMode ? [{ debugName: "popping" }] : /* istanbul ignore next */ []));
|
|
83
|
-
/** Contextual temporary feedback state */
|
|
84
|
-
feedback = input(null, /* @ts-ignore */
|
|
85
|
-
...(ngDevMode ? [{ debugName: "feedback" }] : /* istanbul ignore next */ []));
|
|
86
|
-
isButton() {
|
|
87
|
-
const el = this.elementRef.nativeElement;
|
|
88
|
-
return el.tagName?.toLowerCase() === 'button' || el.getAttribute('role') === 'button';
|
|
89
|
-
}
|
|
90
|
-
isInteractive() {
|
|
91
|
-
return this.interactive() || this.isButton();
|
|
92
|
-
}
|
|
93
|
-
get nativeElement() {
|
|
94
|
-
return this.elementRef.nativeElement;
|
|
95
|
-
}
|
|
96
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
97
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: TalosSuffixDirective, isStandalone: true, selector: "[talosSuffix], [talosPostfix], [talos-suffix], [talos-postfix], [talosTrail], [talosEnd]", inputs: { interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, spinning: { classPropertyName: "spinning", publicName: "spinning", isSignal: true, isRequired: false, transformFunction: null }, popping: { classPropertyName: "popping", publicName: "popping", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.affix-interactive": "isInteractive()", "class.talos-affix-btn": "isButton()", "class.talos-anim-spin": "animation() === \"spin\" || spinning()", "class.talos-anim-spin-once": "animation() === \"spin-once\"", "class.talos-anim-pop": "animation() === \"pop\" || popping()", "class.talos-anim-shake": "animation() === \"shake\"", "class.talos-anim-pulse": "animation() === \"pulse\"", "class.talos-anim-bounce": "animation() === \"bounce\"", "class.talos-feedback-success": "feedback() === \"success\"", "class.talos-feedback-error": "feedback() === \"error\"", "class.affix-anim-spin": "animation() === \"spin\" || spinning()", "class.affix-anim-spin-once": "animation() === \"spin-once\"", "class.affix-anim-pop": "animation() === \"pop\" || popping()", "class.affix-anim-shake": "animation() === \"shake\"", "class.affix-anim-pulse": "animation() === \"pulse\"", "class.affix-anim-bounce": "animation() === \"bounce\"", "class.affix-feedback-success": "feedback() === \"success\"", "class.affix-feedback-error": "feedback() === \"error\"" }, classAttribute: "talos-input-suffix talos-affix-element" }, ngImport: i0 });
|
|
98
|
-
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosSuffixDirective, decorators: [{
|
|
100
|
-
type: Directive,
|
|
101
|
-
args: [{
|
|
102
|
-
selector: '[talosSuffix], [talosPostfix], [talos-suffix], [talos-postfix], [talosTrail], [talosEnd]',
|
|
103
|
-
host: {
|
|
104
|
-
'class': 'talos-input-suffix talos-affix-element',
|
|
105
|
-
'[class.affix-interactive]': 'isInteractive()',
|
|
106
|
-
'[class.talos-affix-btn]': 'isButton()',
|
|
107
|
-
'[class.talos-anim-spin]': 'animation() === "spin" || spinning()',
|
|
108
|
-
'[class.talos-anim-spin-once]': 'animation() === "spin-once"',
|
|
109
|
-
'[class.talos-anim-pop]': 'animation() === "pop" || popping()',
|
|
110
|
-
'[class.talos-anim-shake]': 'animation() === "shake"',
|
|
111
|
-
'[class.talos-anim-pulse]': 'animation() === "pulse"',
|
|
112
|
-
'[class.talos-anim-bounce]': 'animation() === "bounce"',
|
|
113
|
-
'[class.talos-feedback-success]': 'feedback() === "success"',
|
|
114
|
-
'[class.talos-feedback-error]': 'feedback() === "error"',
|
|
115
|
-
'[class.affix-anim-spin]': 'animation() === "spin" || spinning()',
|
|
116
|
-
'[class.affix-anim-spin-once]': 'animation() === "spin-once"',
|
|
117
|
-
'[class.affix-anim-pop]': 'animation() === "pop" || popping()',
|
|
118
|
-
'[class.affix-anim-shake]': 'animation() === "shake"',
|
|
119
|
-
'[class.affix-anim-pulse]': 'animation() === "pulse"',
|
|
120
|
-
'[class.affix-anim-bounce]': 'animation() === "bounce"',
|
|
121
|
-
'[class.affix-feedback-success]': 'feedback() === "success"',
|
|
122
|
-
'[class.affix-feedback-error]': 'feedback() === "error"'
|
|
123
|
-
}
|
|
124
|
-
}]
|
|
125
|
-
}], propDecorators: { interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], spinning: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinning", required: false }] }], popping: [{ type: i0.Input, args: [{ isSignal: true, alias: "popping", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }] } });
|
|
126
|
-
/**
|
|
127
|
-
* Convenience directive for styled text prefix elements (e.g. $, €, https://, @).
|
|
128
|
-
*/
|
|
129
|
-
class TalosTextPrefixDirective {
|
|
130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTextPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
131
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTextPrefixDirective, isStandalone: true, selector: "[talosTextPrefix], [talos-text-prefix]", host: { classAttribute: "talos-input-prefix talos-text-prefix talos-affix-element" }, ngImport: i0 });
|
|
132
|
-
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTextPrefixDirective, decorators: [{
|
|
134
|
-
type: Directive,
|
|
135
|
-
args: [{
|
|
136
|
-
selector: '[talosTextPrefix], [talos-text-prefix]',
|
|
137
|
-
host: {
|
|
138
|
-
'class': 'talos-input-prefix talos-text-prefix talos-affix-element'
|
|
139
|
-
}
|
|
140
|
-
}]
|
|
141
|
-
}] });
|
|
142
|
-
/**
|
|
143
|
-
* Convenience directive for styled text suffix / postfix elements (e.g. .00, USD, kg, px, %).
|
|
144
|
-
*/
|
|
145
|
-
class TalosTextSuffixDirective {
|
|
146
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTextSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
147
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTextSuffixDirective, isStandalone: true, selector: "[talosTextSuffix], [talosTextPostfix], [talos-text-suffix], [talos-text-postfix]", host: { classAttribute: "talos-input-suffix talos-text-suffix talos-affix-element" }, ngImport: i0 });
|
|
148
|
-
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTextSuffixDirective, decorators: [{
|
|
150
|
-
type: Directive,
|
|
151
|
-
args: [{
|
|
152
|
-
selector: '[talosTextSuffix], [talosTextPostfix], [talos-text-suffix], [talos-text-postfix]',
|
|
153
|
-
host: {
|
|
154
|
-
'class': 'talos-input-suffix talos-text-suffix talos-affix-element'
|
|
155
|
-
}
|
|
156
|
-
}]
|
|
157
|
-
}] });
|
|
158
|
-
/**
|
|
159
|
-
* Directive explicitly applied to affix action buttons inside form fields, inputs, or select fields.
|
|
160
|
-
*/
|
|
161
|
-
class TalosAffixButtonDirective {
|
|
162
|
-
/** Micro-interaction animation preset */
|
|
163
|
-
animation = input('none', /* @ts-ignore */
|
|
164
|
-
...(ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []));
|
|
165
|
-
/** Convenience boolean signal for spinning icon / continuous refresh state */
|
|
166
|
-
spinning = input(false, /* @ts-ignore */
|
|
167
|
-
...(ngDevMode ? [{ debugName: "spinning" }] : /* istanbul ignore next */ []));
|
|
168
|
-
/** Convenience boolean signal for pop / scale bounce feedback */
|
|
169
|
-
popping = input(false, /* @ts-ignore */
|
|
170
|
-
...(ngDevMode ? [{ debugName: "popping" }] : /* istanbul ignore next */ []));
|
|
171
|
-
/** Contextual temporary feedback state */
|
|
172
|
-
feedback = input(null, /* @ts-ignore */
|
|
173
|
-
...(ngDevMode ? [{ debugName: "feedback" }] : /* istanbul ignore next */ []));
|
|
174
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosAffixButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
175
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: TalosAffixButtonDirective, isStandalone: true, selector: "[talosAffixButton], [talos-affix-button]", inputs: { animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, spinning: { classPropertyName: "spinning", publicName: "spinning", isSignal: true, isRequired: false, transformFunction: null }, popping: { classPropertyName: "popping", publicName: "popping", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button" }, properties: { "class.talos-anim-spin": "animation() === \"spin\" || spinning()", "class.talos-anim-spin-once": "animation() === \"spin-once\"", "class.talos-anim-pop": "animation() === \"pop\" || popping()", "class.talos-anim-shake": "animation() === \"shake\"", "class.talos-anim-pulse": "animation() === \"pulse\"", "class.talos-anim-bounce": "animation() === \"bounce\"", "class.talos-feedback-success": "feedback() === \"success\"", "class.talos-feedback-error": "feedback() === \"error\"", "class.affix-anim-spin": "animation() === \"spin\" || spinning()", "class.affix-anim-spin-once": "animation() === \"spin-once\"", "class.affix-anim-pop": "animation() === \"pop\" || popping()", "class.affix-anim-shake": "animation() === \"shake\"", "class.affix-anim-pulse": "animation() === \"pulse\"", "class.affix-anim-bounce": "animation() === \"bounce\"", "class.affix-feedback-success": "feedback() === \"success\"", "class.affix-feedback-error": "feedback() === \"error\"" }, classAttribute: "talos-affix-btn affix-interactive" }, ngImport: i0 });
|
|
176
|
-
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosAffixButtonDirective, decorators: [{
|
|
178
|
-
type: Directive,
|
|
179
|
-
args: [{
|
|
180
|
-
selector: '[talosAffixButton], [talos-affix-button]',
|
|
181
|
-
host: {
|
|
182
|
-
'type': 'button',
|
|
183
|
-
'class': 'talos-affix-btn affix-interactive',
|
|
184
|
-
'[class.talos-anim-spin]': 'animation() === "spin" || spinning()',
|
|
185
|
-
'[class.talos-anim-spin-once]': 'animation() === "spin-once"',
|
|
186
|
-
'[class.talos-anim-pop]': 'animation() === "pop" || popping()',
|
|
187
|
-
'[class.talos-anim-shake]': 'animation() === "shake"',
|
|
188
|
-
'[class.talos-anim-pulse]': 'animation() === "pulse"',
|
|
189
|
-
'[class.talos-anim-bounce]': 'animation() === "bounce"',
|
|
190
|
-
'[class.talos-feedback-success]': 'feedback() === "success"',
|
|
191
|
-
'[class.talos-feedback-error]': 'feedback() === "error"',
|
|
192
|
-
'[class.affix-anim-spin]': 'animation() === "spin" || spinning()',
|
|
193
|
-
'[class.affix-anim-spin-once]': 'animation() === "spin-once"',
|
|
194
|
-
'[class.affix-anim-pop]': 'animation() === "pop" || popping()',
|
|
195
|
-
'[class.affix-anim-shake]': 'animation() === "shake"',
|
|
196
|
-
'[class.affix-anim-pulse]': 'animation() === "pulse"',
|
|
197
|
-
'[class.affix-anim-bounce]': 'animation() === "bounce"',
|
|
198
|
-
'[class.affix-feedback-success]': 'feedback() === "success"',
|
|
199
|
-
'[class.affix-feedback-error]': 'feedback() === "error"'
|
|
200
|
-
}
|
|
201
|
-
}]
|
|
202
|
-
}], propDecorators: { animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], spinning: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinning", required: false }] }], popping: [{ type: i0.Input, args: [{ isSignal: true, alias: "popping", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }] } });
|
|
203
|
-
|
|
204
|
-
class TalosAffixModule {
|
|
205
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
206
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: TalosAffixModule, imports: [TalosPrefixDirective,
|
|
207
|
-
TalosSuffixDirective,
|
|
208
|
-
TalosTextPrefixDirective,
|
|
209
|
-
TalosTextSuffixDirective,
|
|
210
|
-
TalosAffixButtonDirective], exports: [TalosPrefixDirective,
|
|
211
|
-
TalosSuffixDirective,
|
|
212
|
-
TalosTextPrefixDirective,
|
|
213
|
-
TalosTextSuffixDirective,
|
|
214
|
-
TalosAffixButtonDirective] });
|
|
215
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosAffixModule });
|
|
216
|
-
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosAffixModule, decorators: [{
|
|
218
|
-
type: NgModule,
|
|
219
|
-
args: [{
|
|
220
|
-
imports: [
|
|
221
|
-
TalosPrefixDirective,
|
|
222
|
-
TalosSuffixDirective,
|
|
223
|
-
TalosTextPrefixDirective,
|
|
224
|
-
TalosTextSuffixDirective,
|
|
225
|
-
TalosAffixButtonDirective
|
|
226
|
-
],
|
|
227
|
-
exports: [
|
|
228
|
-
TalosPrefixDirective,
|
|
229
|
-
TalosSuffixDirective,
|
|
230
|
-
TalosTextPrefixDirective,
|
|
231
|
-
TalosTextSuffixDirective,
|
|
232
|
-
TalosAffixButtonDirective
|
|
233
|
-
]
|
|
234
|
-
}]
|
|
235
|
-
}] });
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Generated bundle index. Do not edit.
|
|
239
|
-
*/
|
|
240
|
-
|
|
241
|
-
export { TalosAffixButtonDirective, TalosAffixModule, TalosPrefixDirective, TalosSuffixDirective, TalosTextPrefixDirective, TalosTextSuffixDirective };
|
|
242
|
-
//# sourceMappingURL=weeehaoooz-talos-ui-form-affix.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"weeehaoooz-talos-ui-form-affix.mjs","sources":["../../../projects/talos-ui/form/affix/affix.directives.ts","../../../projects/talos-ui/form/affix/affix.module.ts","../../../projects/talos-ui/form/affix/weeehaoooz-talos-ui-form-affix.ts"],"sourcesContent":["import { Directive, ElementRef, inject, input } from '@angular/core';\n\nexport type AffixPosition = 'prefix' | 'suffix';\nexport type AffixAnimation = 'spin' | 'spin-once' | 'pop' | 'shake' | 'pulse' | 'bounce' | 'none';\nexport type AffixFeedbackState = 'success' | 'error' | null;\n\n/**\n * Directive applied to leading prefix elements inside form fields, inputs, or select fields.\n * Supports icons, symbols, dropdowns, and custom buttons.\n */\n@Directive({\n selector: '[talosPrefix], [talos-prefix], [talosLead], [talosStart]',\n host: {\n 'class': 'talos-input-prefix talos-affix-element',\n '[class.affix-interactive]': 'isInteractive()',\n '[class.talos-affix-btn]': 'isButton()',\n '[class.talos-anim-spin]': 'animation() === \"spin\" || spinning()',\n '[class.talos-anim-spin-once]': 'animation() === \"spin-once\"',\n '[class.talos-anim-pop]': 'animation() === \"pop\" || popping()',\n '[class.talos-anim-shake]': 'animation() === \"shake\"',\n '[class.talos-anim-pulse]': 'animation() === \"pulse\"',\n '[class.talos-anim-bounce]': 'animation() === \"bounce\"',\n '[class.talos-feedback-success]': 'feedback() === \"success\"',\n '[class.talos-feedback-error]': 'feedback() === \"error\"',\n '[class.affix-anim-spin]': 'animation() === \"spin\" || spinning()',\n '[class.affix-anim-spin-once]': 'animation() === \"spin-once\"',\n '[class.affix-anim-pop]': 'animation() === \"pop\" || popping()',\n '[class.affix-anim-shake]': 'animation() === \"shake\"',\n '[class.affix-anim-pulse]': 'animation() === \"pulse\"',\n '[class.affix-anim-bounce]': 'animation() === \"bounce\"',\n '[class.affix-feedback-success]': 'feedback() === \"success\"',\n '[class.affix-feedback-error]': 'feedback() === \"error\"'\n }\n})\nexport class TalosPrefixDirective {\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n\n /** Whether the prefix is interactive (e.g. clickable button, dropdown) */\n readonly interactive = input<boolean>(false);\n\n /** Micro-interaction animation preset */\n readonly animation = input<AffixAnimation>('none');\n\n /** Convenience boolean signal for spinning icon / continuous refresh state */\n readonly spinning = input<boolean>(false);\n\n /** Convenience boolean signal for pop / scale bounce feedback */\n readonly popping = input<boolean>(false);\n\n /** Contextual temporary feedback state */\n readonly feedback = input<AffixFeedbackState>(null);\n\n protected isButton(): boolean {\n const el = this.elementRef.nativeElement;\n return el.tagName?.toLowerCase() === 'button' || el.getAttribute('role') === 'button';\n }\n\n protected isInteractive(): boolean {\n return this.interactive() || this.isButton();\n }\n\n get nativeElement(): HTMLElement {\n return this.elementRef.nativeElement;\n }\n}\n\n/**\n * Directive applied to trailing suffix / postfix elements inside form fields, inputs, or select fields.\n * Supports units (USD, kg, px, %), clear buttons, copy actions, and dropdown indicators.\n */\n@Directive({\n selector: '[talosSuffix], [talosPostfix], [talos-suffix], [talos-postfix], [talosTrail], [talosEnd]',\n host: {\n 'class': 'talos-input-suffix talos-affix-element',\n '[class.affix-interactive]': 'isInteractive()',\n '[class.talos-affix-btn]': 'isButton()',\n '[class.talos-anim-spin]': 'animation() === \"spin\" || spinning()',\n '[class.talos-anim-spin-once]': 'animation() === \"spin-once\"',\n '[class.talos-anim-pop]': 'animation() === \"pop\" || popping()',\n '[class.talos-anim-shake]': 'animation() === \"shake\"',\n '[class.talos-anim-pulse]': 'animation() === \"pulse\"',\n '[class.talos-anim-bounce]': 'animation() === \"bounce\"',\n '[class.talos-feedback-success]': 'feedback() === \"success\"',\n '[class.talos-feedback-error]': 'feedback() === \"error\"',\n '[class.affix-anim-spin]': 'animation() === \"spin\" || spinning()',\n '[class.affix-anim-spin-once]': 'animation() === \"spin-once\"',\n '[class.affix-anim-pop]': 'animation() === \"pop\" || popping()',\n '[class.affix-anim-shake]': 'animation() === \"shake\"',\n '[class.affix-anim-pulse]': 'animation() === \"pulse\"',\n '[class.affix-anim-bounce]': 'animation() === \"bounce\"',\n '[class.affix-feedback-success]': 'feedback() === \"success\"',\n '[class.affix-feedback-error]': 'feedback() === \"error\"'\n }\n})\nexport class TalosSuffixDirective {\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n\n /** Whether the suffix is interactive (e.g. clickable button, copy icon) */\n readonly interactive = input<boolean>(false);\n\n /** Micro-interaction animation preset */\n readonly animation = input<AffixAnimation>('none');\n\n /** Convenience boolean signal for spinning icon / continuous refresh state */\n readonly spinning = input<boolean>(false);\n\n /** Convenience boolean signal for pop / scale bounce feedback */\n readonly popping = input<boolean>(false);\n\n /** Contextual temporary feedback state */\n readonly feedback = input<AffixFeedbackState>(null);\n\n protected isButton(): boolean {\n const el = this.elementRef.nativeElement;\n return el.tagName?.toLowerCase() === 'button' || el.getAttribute('role') === 'button';\n }\n\n protected isInteractive(): boolean {\n return this.interactive() || this.isButton();\n }\n\n get nativeElement(): HTMLElement {\n return this.elementRef.nativeElement;\n }\n}\n\n/**\n * Convenience directive for styled text prefix elements (e.g. $, €, https://, @).\n */\n@Directive({\n selector: '[talosTextPrefix], [talos-text-prefix]',\n host: {\n 'class': 'talos-input-prefix talos-text-prefix talos-affix-element'\n }\n})\nexport class TalosTextPrefixDirective {}\n\n/**\n * Convenience directive for styled text suffix / postfix elements (e.g. .00, USD, kg, px, %).\n */\n@Directive({\n selector: '[talosTextSuffix], [talosTextPostfix], [talos-text-suffix], [talos-text-postfix]',\n host: {\n 'class': 'talos-input-suffix talos-text-suffix talos-affix-element'\n }\n})\nexport class TalosTextSuffixDirective {}\n\n/**\n * Directive explicitly applied to affix action buttons inside form fields, inputs, or select fields.\n */\n@Directive({\n selector: '[talosAffixButton], [talos-affix-button]',\n host: {\n 'type': 'button',\n 'class': 'talos-affix-btn affix-interactive',\n '[class.talos-anim-spin]': 'animation() === \"spin\" || spinning()',\n '[class.talos-anim-spin-once]': 'animation() === \"spin-once\"',\n '[class.talos-anim-pop]': 'animation() === \"pop\" || popping()',\n '[class.talos-anim-shake]': 'animation() === \"shake\"',\n '[class.talos-anim-pulse]': 'animation() === \"pulse\"',\n '[class.talos-anim-bounce]': 'animation() === \"bounce\"',\n '[class.talos-feedback-success]': 'feedback() === \"success\"',\n '[class.talos-feedback-error]': 'feedback() === \"error\"',\n '[class.affix-anim-spin]': 'animation() === \"spin\" || spinning()',\n '[class.affix-anim-spin-once]': 'animation() === \"spin-once\"',\n '[class.affix-anim-pop]': 'animation() === \"pop\" || popping()',\n '[class.affix-anim-shake]': 'animation() === \"shake\"',\n '[class.affix-anim-pulse]': 'animation() === \"pulse\"',\n '[class.affix-anim-bounce]': 'animation() === \"bounce\"',\n '[class.affix-feedback-success]': 'feedback() === \"success\"',\n '[class.affix-feedback-error]': 'feedback() === \"error\"'\n }\n})\nexport class TalosAffixButtonDirective {\n /** Micro-interaction animation preset */\n readonly animation = input<AffixAnimation>('none');\n\n /** Convenience boolean signal for spinning icon / continuous refresh state */\n readonly spinning = input<boolean>(false);\n\n /** Convenience boolean signal for pop / scale bounce feedback */\n readonly popping = input<boolean>(false);\n\n /** Contextual temporary feedback state */\n readonly feedback = input<AffixFeedbackState>(null);\n}\n","import { NgModule } from '@angular/core';\nimport {\n TalosAffixButtonDirective,\n TalosPrefixDirective,\n TalosSuffixDirective,\n TalosTextPrefixDirective,\n TalosTextSuffixDirective\n} from './affix.directives';\n\n@NgModule({\n imports: [\n TalosPrefixDirective,\n TalosSuffixDirective,\n TalosTextPrefixDirective,\n TalosTextSuffixDirective,\n TalosAffixButtonDirective\n ],\n exports: [\n TalosPrefixDirective,\n TalosSuffixDirective,\n TalosTextPrefixDirective,\n TalosTextSuffixDirective,\n TalosAffixButtonDirective\n ]\n})\nexport class TalosAffixModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAMA;;;AAGG;MAyBU,oBAAoB,CAAA;AACd,IAAA,UAAU,GAAG,MAAM,EAAC,UAAuB,EAAC;;IAGpD,WAAW,GAAG,KAAK,CAAU,KAAK;oFAAC;;IAGnC,SAAS,GAAG,KAAK,CAAiB,MAAM;kFAAC;;IAGzC,QAAQ,GAAG,KAAK,CAAU,KAAK;iFAAC;;IAGhC,OAAO,GAAG,KAAK,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