pixelon 0.7.4 → 0.7.5
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/dist/index.esm.js
CHANGED
|
@@ -17035,7 +17035,8 @@ const ServiceShortcuts = ({
|
|
|
17035
17035
|
onClick: () => {
|
|
17036
17036
|
if (elegido) return;
|
|
17037
17037
|
onSelect?.(o.id);
|
|
17038
|
-
if (o.
|
|
17038
|
+
if (o.newChat) eventBus?.emit(CHAT_EVENT.NEW_CHAT, null);
|
|
17039
|
+
else if (o.prompt) eventBus?.emit(CHAT_EVENT.SEND_MESSAGE, { content: o.prompt });
|
|
17039
17040
|
else if (o.route) eventBus?.emit(CHAT_EVENT.NAVIGATE, { route: o.route });
|
|
17040
17041
|
},
|
|
17041
17042
|
children: [
|
package/dist/index.js
CHANGED
|
@@ -17056,7 +17056,8 @@ const ServiceShortcuts = ({
|
|
|
17056
17056
|
onClick: () => {
|
|
17057
17057
|
if (elegido) return;
|
|
17058
17058
|
onSelect?.(o.id);
|
|
17059
|
-
if (o.
|
|
17059
|
+
if (o.newChat) eventBus?.emit(CHAT_EVENT.NEW_CHAT, null);
|
|
17060
|
+
else if (o.prompt) eventBus?.emit(CHAT_EVENT.SEND_MESSAGE, { content: o.prompt });
|
|
17060
17061
|
else if (o.route) eventBus?.emit(CHAT_EVENT.NAVIGATE, { route: o.route });
|
|
17061
17062
|
},
|
|
17062
17063
|
children: [
|