@tectra-ng/ui 0.1.8 → 0.2.0
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 -2
- package/avatar/README.md +19 -6
- package/color-picker/README.md +6 -5
- package/fesm2022/tectra-ng-ui-avatar.mjs +243 -63
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs +100 -18
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-list-input.mjs +693 -0
- package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +1 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs +1 -0
- package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tooltip.mjs +10 -5
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +390 -0
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -0
- package/list-input/README.md +52 -0
- package/package.json +12 -4
- package/truncate-text/README.md +38 -0
- package/types/tectra-ng-ui-avatar.d.ts +85 -3
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-picker.d.ts +22 -1
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
- package/types/tectra-ng-ui-list-input.d.ts +231 -0
- package/types/tectra-ng-ui-list-input.d.ts.map +1 -0
- package/types/tectra-ng-ui-tooltip.d.ts +20 -17
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +123 -0
- package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
+
import { TxPlacement } from "@tectra-ng/core/overlay";
|
|
3
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
import { TxHighlightTerms } from "@tectra-ng/ui/highlight-text";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type TxTruncateTextPart = 'root' | 'text' | 'link' | 'copy';
|
|
7
|
+
export declare class TxTruncateText {
|
|
8
|
+
private document;
|
|
9
|
+
private timer;
|
|
10
|
+
readonly text: import("@angular/core").InputSignal<string | number | null | undefined>;
|
|
11
|
+
readonly limit: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
12
|
+
readonly ellipsis: import("@angular/core").InputSignal<string>;
|
|
13
|
+
readonly href: import("@angular/core").InputSignal<string | null | undefined>;
|
|
14
|
+
readonly openLink: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
readonly target: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly highlight: import("@angular/core").InputSignal<TxHighlightTerms>;
|
|
17
|
+
readonly copyable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly tooltipPlacement: import("@angular/core").InputSignal<TxPlacement>;
|
|
19
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
20
|
+
root: {
|
|
21
|
+
gap: string;
|
|
22
|
+
linkColor: string;
|
|
23
|
+
linkHoverColor: string;
|
|
24
|
+
copyColor: string;
|
|
25
|
+
copyHoverColor: string;
|
|
26
|
+
copiedColor: string;
|
|
27
|
+
copyIconSize: string;
|
|
28
|
+
focusRingColor: string;
|
|
29
|
+
transitionDuration: string;
|
|
30
|
+
};
|
|
31
|
+
}> | undefined>;
|
|
32
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxTruncateTextPart, import("@tectra-ng/core/config").TxPassThroughValue<TxTruncateText>>> | undefined>;
|
|
33
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
34
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
35
|
+
readonly copied: import("@angular/core").OutputEmitterRef<string>;
|
|
36
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
37
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
38
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxTruncateTextPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
39
|
+
readonly isCopied: import("@angular/core").WritableSignal<boolean>;
|
|
40
|
+
readonly fullText: import("@angular/core").Signal<string>;
|
|
41
|
+
readonly isTruncated: import("@angular/core").Signal<boolean>;
|
|
42
|
+
readonly displayText: import("@angular/core").Signal<string>;
|
|
43
|
+
readonly tooltip: import("@angular/core").Signal<string | null>;
|
|
44
|
+
readonly linkHref: import("@angular/core").Signal<string | null>;
|
|
45
|
+
readonly relation: import("@angular/core").Signal<"noopener noreferrer" | null>;
|
|
46
|
+
readonly copyLabel: import("@angular/core").Signal<string>;
|
|
47
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
48
|
+
[x: string]: string;
|
|
49
|
+
}>;
|
|
50
|
+
constructor();
|
|
51
|
+
copy(): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTruncateText, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxTruncateText, "tx-truncate-text", never, {
|
|
54
|
+
"text": {
|
|
55
|
+
"alias": "text";
|
|
56
|
+
"required": false;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"limit": {
|
|
60
|
+
"alias": "limit";
|
|
61
|
+
"required": false;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
"ellipsis": {
|
|
65
|
+
"alias": "ellipsis";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"href": {
|
|
70
|
+
"alias": "href";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"openLink": {
|
|
75
|
+
"alias": "openLink";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"target": {
|
|
80
|
+
"alias": "target";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"highlight": {
|
|
85
|
+
"alias": "highlight";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"copyable": {
|
|
90
|
+
"alias": "copyable";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"tooltipPlacement": {
|
|
95
|
+
"alias": "tooltipPlacement";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"dt": {
|
|
100
|
+
"alias": "dt";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"pt": {
|
|
105
|
+
"alias": "pt";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"ptOptions": {
|
|
110
|
+
"alias": "ptOptions";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
"unstyled": {
|
|
115
|
+
"alias": "unstyled";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
}, {
|
|
120
|
+
"copied": "copied";
|
|
121
|
+
}, never, never, true, never>;
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=tectra-ng-ui-truncate-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-truncate-text.d.ts","names":[],"sources":["../../../../packages/ui/truncate-text/src/truncate-text.types.ts","../../../../packages/ui/truncate-text/src/truncate-text.component.ts"],"mappings":";;;;;YAAY;qBC4BC;UACH;UACA;WAEC,8BAAI;WACJ,+BAAK;WACL,kCAAQ;WACR,8BAAI;WACJ,kCAAQ;WACR,gCAAM;WACN,mCAAS,YAAA;WACT,kCAAQ;WACR,0CAAgB,YAAA;WAChB,4BAAE,YAAA;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,gCAAM;WAEN,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;WACX,kCAAQ;WAER,kCAAQ;WACR,qCAAW;WACX,qCAAW;WACX,iCAAO;WACP,kCAAQ;WACR,kCAAQ;WACR,mCAAS;WACT,mCAAS;;;;EAMlB;SAtCW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|