@testgorilla/tgo-ui 11.1.0 → 11.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testgorilla/tgo-ui",
|
|
3
|
-
"version": "11.1
|
|
3
|
+
"version": "11.2.1",
|
|
4
4
|
"license": "proprietary-license",
|
|
5
5
|
"lint-staged": {
|
|
6
6
|
"{projects,components}/**/*.ts": [
|
|
@@ -69,7 +69,8 @@
|
|
|
69
69
|
},
|
|
70
70
|
"@modelcontextprotocol/sdk": {
|
|
71
71
|
"@hono/node-server": "^2.0.5"
|
|
72
|
-
}
|
|
72
|
+
},
|
|
73
|
+
"less": "^4.8.1"
|
|
73
74
|
},
|
|
74
75
|
"module": "fesm2022/testgorilla-tgo-ui.mjs",
|
|
75
76
|
"typings": "types/testgorilla-tgo-ui.d.ts",
|
|
@@ -88,11 +88,21 @@ declare class PromptComponent implements ControlValueAccessor, OnInit, AfterView
|
|
|
88
88
|
private readonly keepDropdownClosed;
|
|
89
89
|
isFieldHovered: _angular_core.WritableSignal<boolean>;
|
|
90
90
|
isFieldFocused: _angular_core.WritableSignal<boolean>;
|
|
91
|
+
/** True while an IME candidate window is open (CJK input). */
|
|
92
|
+
private readonly composing;
|
|
93
|
+
private compositionEndedAt;
|
|
91
94
|
filteredDropdownItems: _angular_core.Signal<PromptDropdownItem[]>;
|
|
92
95
|
itemsDropdownVisible: _angular_core.Signal<boolean>;
|
|
93
96
|
isHighlighted: _angular_core.Signal<boolean>;
|
|
94
97
|
fileInputAccept: _angular_core.Signal<string>;
|
|
95
98
|
isLocked: _angular_core.Signal<boolean>;
|
|
99
|
+
private readonly hasContent;
|
|
100
|
+
/**
|
|
101
|
+
* Shared by the Send button's disabled state and the Enter shortcut, so they cannot disagree.
|
|
102
|
+
* Ignores `showSendButton` on purpose: this is whether submission is allowed, not whether a
|
|
103
|
+
* button is rendered.
|
|
104
|
+
*/
|
|
105
|
+
readonly canSubmit: _angular_core.Signal<boolean>;
|
|
96
106
|
private readonly destroyRef;
|
|
97
107
|
private readonly translationPipe;
|
|
98
108
|
private readonly resetOnLock;
|
|
@@ -108,10 +118,12 @@ declare class PromptComponent implements ControlValueAccessor, OnInit, AfterView
|
|
|
108
118
|
selectedMenuOption(menuOptionValue: string): void;
|
|
109
119
|
selectTag(tag: PromptTag, event: Event): void;
|
|
110
120
|
onTextareaTab(event: Event): void;
|
|
121
|
+
onTextareaEnter(event: Event): void;
|
|
111
122
|
dropdownOutsideClick(): void;
|
|
112
123
|
onFieldBlur(): void;
|
|
113
124
|
itemsDropdownOutsideClick(event: MouseEvent): void;
|
|
114
125
|
closeItemsDropdown(): void;
|
|
126
|
+
onTextareaEscape(event: Event): void;
|
|
115
127
|
selectDropdownItem(item: PromptDropdownItem, event: Event): void;
|
|
116
128
|
toggleDropdown(): void;
|
|
117
129
|
focusTagDropdown(): void;
|