@epam/ai-dial-prompts 1.3.0-dev.98 → 1.3.0-rc.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/index.js +1 -5
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -115,11 +115,7 @@ var C = t(async () => ({ default: (await import("./parameters-popup.js")).Prompt
|
|
|
115
115
|
});
|
|
116
116
|
}, A = ({ isEnabled: e, prompts: t, favoriteIds: r, onToggleFavorite: i, onInsertText: o, isRowTooltipHidden: l = !1, labels: u, renderCatalog: d }) => {
|
|
117
117
|
let { panelLabels: f, parametersLabels: p } = u ?? {}, [h, _] = s(!1), [v, y] = s(null), [b, x] = s(!1), S = a(() => t.filter((e) => r.has(e.id)), [t, r]), C = n((e, t) => {
|
|
118
|
-
|
|
119
|
-
o(e.content), _(!1);
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
y(e), x(t);
|
|
118
|
+
m(e.content).length === 0 ? (o(e.content), _(!1)) : (y(e), x(t));
|
|
123
119
|
}, [o]), T = n((e) => /* @__PURE__ */ c(k, {
|
|
124
120
|
favorites: S,
|
|
125
121
|
onSelect: (t) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-prompts",
|
|
3
3
|
"description": "Host-agnostic UI for picking a favorite prompt and resolving its {{parameter}} placeholders before it is inserted into a chat message",
|
|
4
|
-
"version": "1.3.0-
|
|
4
|
+
"version": "1.3.0-rc.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@tabler/icons-react": "^3.
|
|
26
|
-
"@epam/ai-dial-catalog": "1.3.0-
|
|
25
|
+
"@tabler/icons-react": "^3.50.0",
|
|
26
|
+
"@epam/ai-dial-catalog": "1.3.0-rc.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@epam/ai-dial-chat-shared": "1.3.0-
|
|
30
|
-
"@epam/ai-dial-ui-kit": "^0.16.0
|
|
29
|
+
"@epam/ai-dial-chat-shared": "1.3.0-rc.1",
|
|
30
|
+
"@epam/ai-dial-ui-kit": "^0.16.0",
|
|
31
31
|
"react": "^19.2.8"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|