@empathyco/x-components 6.0.0-alpha.135 → 6.0.0-alpha.136
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.0.0-alpha.136 (2025-09-05)
|
|
7
|
+
|
|
8
|
+
* fix(ai): reset state handling (#1864) ([29aa62c](https://github.com/empathyco/x/commit/29aa62c)), closes [#1864](https://github.com/empathyco/x/issues/1864)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## 6.0.0-alpha.135 (2025-09-04)
|
|
7
15
|
|
|
8
16
|
* feat(ai): color customization (#1863) ([2445441](https://github.com/empathyco/x/commit/2445441)), closes [#1863](https://github.com/empathyco/x/issues/1863)
|
|
@@ -39,13 +39,12 @@ const aiWiring = createWiring({
|
|
|
39
39
|
},
|
|
40
40
|
UserAcceptedAQuery: {
|
|
41
41
|
setAiQuery,
|
|
42
|
-
resetAiState,
|
|
43
42
|
},
|
|
44
43
|
UserClearedQuery: {
|
|
45
44
|
setAiQuery,
|
|
46
|
-
resetAiState,
|
|
47
45
|
},
|
|
48
46
|
AiSuggestionsRequestUpdated: {
|
|
47
|
+
resetAiState,
|
|
49
48
|
fetchAndSaveAiSuggestions,
|
|
50
49
|
},
|
|
51
50
|
AiSuggestionsSearchRequestUpdated: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/ai/wiring.ts"],"sourcesContent":["import {\n createWiring,\n namespacedWireCommit,\n namespacedWireCommitWithoutPayload,\n namespacedWireDispatch,\n} from '../../wiring'\n\n/** `ai` XModule name. */\nconst moduleName = 'ai'\n/** WireCommit for AiXModule. */\nconst wireCommit = namespacedWireCommit(moduleName)\n/** WireCommitWithoutPayload for AiXModule. */\nconst wireCommitWithoutPayload = namespacedWireCommitWithoutPayload(moduleName)\n/** WireDispatch for AiXModule.*/\nconst wireDispatch = namespacedWireDispatch(moduleName)\n\n/** Sets the ai state from URL data. */\nconst setUrlParams = wireDispatch('setUrlParams')\n/** Sets the ai state `params`. */\nconst setExtraParams = wireCommit('setParams')\n\n/** Sets the ai state `query`. */\nconst setAiQuery = wireCommit('setQuery')\n\n/** Fetches the AI suggestions streaming response. */\nconst fetchAndSaveAiSuggestions = wireDispatch('fetchAndSaveAiSuggestions')\n\n/** Fetches and save the ai suggestions search response. */\nconst fetchAndSaveAiSuggestionsSearch = wireDispatch('fetchAndSaveAiSuggestionsSearch')\n\n/** Sets the ai state `relatedTags`.*/\nconst setAiRelatedTags = wireCommit('setAiRelatedTags')\n\n/** Resets the related prompts state. */\nconst resetAiState = wireCommitWithoutPayload('resetAiState')\n\n/**\n * Wiring configuration for the {@link AiXModule | AI module}.\n *\n * @internal\n */\nexport const aiWiring = createWiring({\n ParamsLoadedFromUrl: {\n setUrlParams,\n },\n ExtraParamsChanged: {\n setExtraParams,\n },\n UserAcceptedAQuery: {\n setAiQuery,\n
|
|
1
|
+
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/ai/wiring.ts"],"sourcesContent":["import {\n createWiring,\n namespacedWireCommit,\n namespacedWireCommitWithoutPayload,\n namespacedWireDispatch,\n} from '../../wiring'\n\n/** `ai` XModule name. */\nconst moduleName = 'ai'\n/** WireCommit for AiXModule. */\nconst wireCommit = namespacedWireCommit(moduleName)\n/** WireCommitWithoutPayload for AiXModule. */\nconst wireCommitWithoutPayload = namespacedWireCommitWithoutPayload(moduleName)\n/** WireDispatch for AiXModule.*/\nconst wireDispatch = namespacedWireDispatch(moduleName)\n\n/** Sets the ai state from URL data. */\nconst setUrlParams = wireDispatch('setUrlParams')\n/** Sets the ai state `params`. */\nconst setExtraParams = wireCommit('setParams')\n\n/** Sets the ai state `query`. */\nconst setAiQuery = wireCommit('setQuery')\n\n/** Fetches the AI suggestions streaming response. */\nconst fetchAndSaveAiSuggestions = wireDispatch('fetchAndSaveAiSuggestions')\n\n/** Fetches and save the ai suggestions search response. */\nconst fetchAndSaveAiSuggestionsSearch = wireDispatch('fetchAndSaveAiSuggestionsSearch')\n\n/** Sets the ai state `relatedTags`.*/\nconst setAiRelatedTags = wireCommit('setAiRelatedTags')\n\n/** Resets the related prompts state. */\nconst resetAiState = wireCommitWithoutPayload('resetAiState')\n\n/**\n * Wiring configuration for the {@link AiXModule | AI module}.\n *\n * @internal\n */\nexport const aiWiring = createWiring({\n ParamsLoadedFromUrl: {\n setUrlParams,\n },\n ExtraParamsChanged: {\n setExtraParams,\n },\n UserAcceptedAQuery: {\n setAiQuery,\n },\n UserClearedQuery: {\n setAiQuery,\n },\n AiSuggestionsRequestUpdated: {\n resetAiState,\n fetchAndSaveAiSuggestions,\n },\n AiSuggestionsSearchRequestUpdated: {\n fetchAndSaveAiSuggestionsSearch,\n },\n SelectedRelatedTagsChanged: {\n setAiRelatedTags,\n },\n})\n"],"names":[],"mappings":";;;;;AAOA;AACA,MAAM,UAAU,GAAG,IAAI,CAAA;AACvB;AACA,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAA;AACnD;AACA,MAAM,wBAAwB,GAAG,kCAAkC,CAAC,UAAU,CAAC,CAAA;AAC/E;AACA,MAAM,YAAY,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAA;AAEvD;AACA,MAAM,YAAY,GAAG,YAAY,CAAC,cAAc,CAAC,CAAA;AACjD;AACA,MAAM,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;AAE9C;AACA,MAAM,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC,CAAA;AAEzC;AACA,MAAM,yBAAyB,GAAG,YAAY,CAAC,2BAA2B,CAAC,CAAA;AAE3E;AACA,MAAM,+BAA+B,GAAG,YAAY,CAAC,iCAAiC,CAAC,CAAA;AAEvF;AACA,MAAM,gBAAgB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAA;AAEvD;AACA,MAAM,YAAY,GAAG,wBAAwB,CAAC,cAAc,CAAC,CAAA;AAE7D;;;;AAIG;AACI,MAAM,QAAQ,GAAG,YAAY,CAAC;AACnC,IAAA,mBAAmB,EAAE;QACnB,YAAY;AACb,KAAA;AACD,IAAA,kBAAkB,EAAE;QAClB,cAAc;AACf,KAAA;AACD,IAAA,kBAAkB,EAAE;QAClB,UAAU;AACX,KAAA;AACD,IAAA,gBAAgB,EAAE;QAChB,UAAU;AACX,KAAA;AACD,IAAA,2BAA2B,EAAE;QAC3B,YAAY;QACZ,yBAAyB;AAC1B,KAAA;AACD,IAAA,iCAAiC,EAAE;QACjC,+BAA+B;AAChC,KAAA;AACD,IAAA,0BAA0B,EAAE;QAC1B,gBAAgB;AACjB,KAAA;AACF,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.136",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"access": "public",
|
|
143
143
|
"directory": "dist"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "be280e45cb5b2e41f5e33cb0723116eaecd818ff"
|
|
146
146
|
}
|
|
@@ -285,13 +285,12 @@ export const aiWiring: {
|
|
|
285
285
|
};
|
|
286
286
|
UserAcceptedAQuery: {
|
|
287
287
|
setAiQuery: Wire<string>;
|
|
288
|
-
resetAiState: AnyWire;
|
|
289
288
|
};
|
|
290
289
|
UserClearedQuery: {
|
|
291
290
|
setAiQuery: Wire<string>;
|
|
292
|
-
resetAiState: AnyWire;
|
|
293
291
|
};
|
|
294
292
|
AiSuggestionsRequestUpdated: {
|
|
293
|
+
resetAiState: AnyWire;
|
|
295
294
|
fetchAndSaveAiSuggestions: Wire<AiSuggestionsRequest | null>;
|
|
296
295
|
};
|
|
297
296
|
AiSuggestionsSearchRequestUpdated: {
|
|
@@ -12,13 +12,12 @@ export declare const aiWiring: {
|
|
|
12
12
|
};
|
|
13
13
|
UserAcceptedAQuery: {
|
|
14
14
|
setAiQuery: import("../../wiring").Wire<string>;
|
|
15
|
-
resetAiState: import("../../wiring").AnyWire;
|
|
16
15
|
};
|
|
17
16
|
UserClearedQuery: {
|
|
18
17
|
setAiQuery: import("../../wiring").Wire<string>;
|
|
19
|
-
resetAiState: import("../../wiring").AnyWire;
|
|
20
18
|
};
|
|
21
19
|
AiSuggestionsRequestUpdated: {
|
|
20
|
+
resetAiState: import("../../wiring").AnyWire;
|
|
22
21
|
fetchAndSaveAiSuggestions: import("../../wiring").Wire<import("@empathyco/x-types").AiSuggestionsRequest | null>;
|
|
23
22
|
};
|
|
24
23
|
AiSuggestionsSearchRequestUpdated: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/ai/wiring.ts"],"names":[],"mappings":"AAoCA;;;;GAIG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/ai/wiring.ts"],"names":[],"mappings":"AAoCA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAA"}
|