@visma-swno/gaia-chat-ui 1.1.0-beta.6 → 1.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/CHANGELOG.md +51 -0
- package/dist/core/auth/auth.events.d.ts +13 -0
- package/dist/core/auth/auth.events.d.ts.map +1 -0
- package/dist/core/auth/auth.store.d.ts.map +1 -1
- package/dist/core/lib/http-client.d.ts.map +1 -1
- package/dist/gaia-chat-ui.es.js +452 -411
- package/dist/gaia-chat-ui.es.js.map +1 -1
- package/dist/gaia-chat-ui.umd.js +112 -112
- package/dist/gaia-chat-ui.umd.js.map +1 -1
- package/dist/ui/chat/chat.d.ts +2 -0
- package/dist/ui/chat/chat.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0...chat-ui@v1.2.0) (2025-08-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* emit event on token expiry ([#988](https://github.com/visma-swno/vsn-assistant/issues/988)) ([8d22ae3](https://github.com/visma-swno/vsn-assistant/commit/8d22ae39a5dcf7a3d4ee871b8b409b561713b40e))
|
|
9
|
+
* **ui:** send custom origin header ([#984](https://github.com/visma-swno/vsn-assistant/issues/984)) ([3fa05e7](https://github.com/visma-swno/vsn-assistant/commit/3fa05e7870e4bb0223826069b636f3f350958e73))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* default to english on invalid lang codes ([8d22ae3](https://github.com/visma-swno/vsn-assistant/commit/8d22ae39a5dcf7a3d4ee871b8b409b561713b40e))
|
|
15
|
+
* **deps:** bump the javascript group in /chat-ui with 6 updates ([#975](https://github.com/visma-swno/vsn-assistant/issues/975)) ([78f173b](https://github.com/visma-swno/vsn-assistant/commit/78f173b1a2a0775f602c17368c26940a6bd526d2))
|
|
16
|
+
|
|
17
|
+
## [1.1.0](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.0.1...chat-ui@v1.1.0) (2025-08-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **ui:** add AI disclaimer ([#966](https://github.com/visma-swno/vsn-assistant/issues/966)) ([27e37da](https://github.com/visma-swno/vsn-assistant/commit/27e37dae041f0adbc29b00d4292a17a1a87d67f4))
|
|
23
|
+
* **ui:** render close button when mounted inside popover ([#965](https://github.com/visma-swno/vsn-assistant/issues/965)) ([26a990d](https://github.com/visma-swno/vsn-assistant/commit/26a990d19ab519b649fcf5e9007460c793d86b93))
|
|
24
|
+
* add language support for swedish and danish ([#915](https://github.com/visma-swno/vsn-assistant/issues/915)) ([ec84bac](https://github.com/visma-swno/vsn-assistant/commit/ec84bacd69e4ca7ad0f7bd02bcd4928bc39f4310))
|
|
25
|
+
* add feedback UI ([#899](https://github.com/visma-swno/vsn-assistant/issues/899)) ([6b67cc9](https://github.com/visma-swno/vsn-assistant/commit/6b67cc9944100e5b0e0cab1499bc4901c4e66d54))
|
|
26
|
+
* add localization ([#876](https://github.com/visma-swno/vsn-assistant/issues/876)) ([98307bc](https://github.com/visma-swno/vsn-assistant/commit/98307bc25be4d9588fd2877c967fe869267d440e)), closes [#269](https://github.com/visma-swno/vsn-assistant/issues/269)
|
|
27
|
+
* Add liveleader support ([#661](https://github.com/visma-swno/vsn-assistant/issues/661)) ([76b79ab](https://github.com/visma-swno/vsn-assistant/commit/76b79ab678f8ea3d31a45101f4d5012cbc40dded))
|
|
28
|
+
* **api:** Refactor chat messages ([#634](https://github.com/visma-swno/vsn-assistant/issues/634)) ([3b7ecf9](https://github.com/visma-swno/vsn-assistant/commit/3b7ecf971f2f35011d6cabafb3fed6d3fbaaa824))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* assistant messages display sparkles icon ([#963](https://github.com/visma-swno/vsn-assistant/issues/963)) ([62ee37d](https://github.com/visma-swno/vsn-assistant/commit/62ee37d9af826b7432598e9997f4356a98e3d655))
|
|
34
|
+
* **ui:** remove popup when hovering the chat ([#968](https://github.com/visma-swno/vsn-assistant/issues/968)) ([a87beaa](https://github.com/visma-swno/vsn-assistant/commit/a87beaa2e8f719f51f8979f972bad8cb9d407e22))
|
|
35
|
+
* **ui:** update welcome message ([#967](https://github.com/visma-swno/vsn-assistant/issues/967)) ([f98ef13](https://github.com/visma-swno/vsn-assistant/commit/f98ef13bec9db8dfc4819eeb4445819e51812f90))
|
|
36
|
+
* **deps:** bump the javascript group in /chat-ui with 6 updates ([#934](https://github.com/visma-swno/vsn-assistant/issues/934)) ([0f948e9](https://github.com/visma-swno/vsn-assistant/commit/0f948e94dc206b5d342710f51b6bacfe2753bd9b))
|
|
37
|
+
* **markdown:** wrap text overflow ([#921](https://github.com/visma-swno/vsn-assistant/issues/921)) ([3b79c37](https://github.com/visma-swno/vsn-assistant/commit/3b79c375d1e5ddca3cf4b0f8712624403488c47a))
|
|
38
|
+
* prevent users from sending a new message while previous is processing ([#913](https://github.com/visma-swno/vsn-assistant/issues/913)) ([c2e1320](https://github.com/visma-swno/vsn-assistant/commit/c2e13205f9e37b751e97724217799c32773214fb)), closes [#895](https://github.com/visma-swno/vsn-assistant/issues/895)
|
|
39
|
+
* prevent users from sending feedback before conversation is started ([#912](https://github.com/visma-swno/vsn-assistant/issues/912)) ([8305d9a](https://github.com/visma-swno/vsn-assistant/commit/8305d9a2c2bb63a444cc18e176be323b3e321e43))
|
|
40
|
+
* update release ([#887](https://github.com/visma-swno/vsn-assistant/issues/887)) ([dd19931](https://github.com/visma-swno/vsn-assistant/commit/dd19931d63677dfcb1e2c50bee75abaa9294ea02))
|
|
41
|
+
* **security:** bump koa dependency to patched version ([#860](https://github.com/visma-swno/vsn-assistant/issues/860)) ([ccf58d5](https://github.com/visma-swno/vsn-assistant/commit/ccf58d50acd3cf989df7d19ba569372f15ce4e2b))
|
|
42
|
+
* brace-expansion Regular Expression Denial of Service vulnerability ([#845](https://github.com/visma-swno/vsn-assistant/issues/845)) ([233a2d8](https://github.com/visma-swno/vsn-assistant/commit/233a2d8eaf9681eb2896a72894304a84894d0ddb))
|
|
43
|
+
* **deps:** bump marked from 15.0.11 to 16.1.2 in /chat-ui ([#840](https://github.com/visma-swno/vsn-assistant/issues/840)) ([2a740fc](https://github.com/visma-swno/vsn-assistant/commit/2a740fc124a81e7ebd2d8c123c43420c79ebb522))
|
|
44
|
+
* allow typing new message while waiting for AI response ([#724](https://github.com/visma-swno/vsn-assistant/issues/724)) ([fb52a24](https://github.com/visma-swno/vsn-assistant/commit/fb52a243a3106eb2d705a86af4120f5dae7a72c2))
|
|
45
|
+
* **api:** Improve conversation stream ([#632](https://github.com/visma-swno/vsn-assistant/issues/632)) ([74be1f6](https://github.com/visma-swno/vsn-assistant/commit/74be1f6243479f09d82c14239327e97f54afcb11))
|
|
46
|
+
* **chat-ui:** Add error handler ([#639](https://github.com/visma-swno/vsn-assistant/issues/639)) ([a0ea255](https://github.com/visma-swno/vsn-assistant/commit/a0ea2556d5143fcf2bb496b42ca69ec3cbc5ba6c))
|
|
47
|
+
* **chat-ui:** Add user input length limitations ([#654](https://github.com/visma-swno/vsn-assistant/issues/654)) ([3f9c867](https://github.com/visma-swno/vsn-assistant/commit/3f9c867eaa6d0cea2757297fdb620edf035432ea)), closes [#648](https://github.com/visma-swno/vsn-assistant/issues/648)
|
|
48
|
+
* **chat-ui:** Make team-id optional ([#545](https://github.com/visma-swno/vsn-assistant/issues/545)) ([9030f45](https://github.com/visma-swno/vsn-assistant/commit/9030f450cff05e693bdd1ffbe09f01956c94e55a))
|
|
49
|
+
* **chat-ui:** Read expiration time from token payload ([#624](https://github.com/visma-swno/vsn-assistant/issues/624)) ([78096df](https://github.com/visma-swno/vsn-assistant/commit/78096dffe95dd343ba8347bfc8df86078ac91a0f))
|
|
50
|
+
* **chat-ui:** update package version ([#663](https://github.com/visma-swno/vsn-assistant/issues/663)) ([4ab1927](https://github.com/visma-swno/vsn-assistant/commit/4ab19273476b03308a1ee696e9151e09c1fe6c13))
|
|
51
|
+
* **chat-ui:** Update popover to latest Gaia guidelines ([#565](https://github.com/visma-swno/vsn-assistant/issues/565)) ([0ad466d](https://github.com/visma-swno/vsn-assistant/commit/0ad466d74ea26a736855e06760d7c41d9de901bc))
|
|
52
|
+
* set initial beta-version ([#770](https://github.com/visma-swno/vsn-assistant/issues/770)) ([e77e00a](https://github.com/visma-swno/vsn-assistant/commit/e77e00affe7a14975aec51bca202eeed497aa217))
|
|
53
|
+
|
|
3
54
|
## [1.1.0-beta.6](https://github.com/visma-swno/vsn-assistant/compare/chat-ui@v1.1.0-beta.5...chat-ui@v1.1.0-beta.6) (2025-08-19)
|
|
4
55
|
|
|
5
56
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type AuthTokenExpiringDetail = {
|
|
2
|
+
expiresAt: number;
|
|
3
|
+
isVisitor: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare class AuthTokenExpiringEvent extends CustomEvent<AuthTokenExpiringDetail> {
|
|
6
|
+
constructor(detail: AuthTokenExpiringDetail);
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'vsn-aiasst:token-expiring': AuthTokenExpiringEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=auth.events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.events.d.ts","sourceRoot":"","sources":["../../../src/core/auth/auth.events.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,WAAW,CAAC,uBAAuB,CAAC;gBAClE,MAAM,EAAE,uBAAuB;CAG5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,2BAA2B;QACnC,2BAA2B,EAAE,sBAAsB,CAAC;KACrD;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.store.d.ts","sourceRoot":"","sources":["../../../src/core/auth/auth.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.store.d.ts","sourceRoot":"","sources":["../../../src/core/auth/auth.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAmB,MAAM,cAAc,CAAC;AAG1D,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA8B;IAC9D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAc;IAC/C,OAAO,CAAC,eAAe,CAAC,CAAiB;;IAclC,QAAQ,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE;IAkB3D,UAAU;IAaV,aAAa,IAAI,OAAO;IAQxB,cAAc,IAAI,OAAO;IAIhC,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,qBAAqB;CAwB9B;AAED,eAAO,MAAM,UAAU,WAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../../src/core/lib/http-client.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB,CAAC,CAAC,CAAE,SAAQ,QAAQ;IAC9C,IAAI,IAAI,OAAO,CAAC,CAAC,CAAC,CA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