@freeday-ai/webchat 2025.12.1-0.15.10.11787 → 2025.12.1-1.14.7.8095

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/webchat.mjs CHANGED
@@ -97882,7 +97882,7 @@ function Ee1({ closeModal: a }) {
97882
97882
  const { t } = ue(["common", "menu"]), { emit: n } = wf(), { handleActionEvent: r, handleRestart: o } = re(), i = (u) => {
97883
97883
  switch (u.type) {
97884
97884
  case "emit":
97885
- u.event === "restart" ? o() : u.event === "freeday:close" ? (n(u.event, u.payload), window.dispatchEvent(new Event(u.event))) : n(u.event, u.payload);
97885
+ u.event === "restart" ? o() : u.event === "freeday:close" ? (n(u.event, u.payload), globalThis.dispatchEvent(new Event(u.event))) : n(u.event, u.payload);
97886
97886
  break;
97887
97887
  case "send_action":
97888
97888
  r(u.action, u.event);
@@ -97896,11 +97896,13 @@ function Ee1({ closeModal: a }) {
97896
97896
  }, s = [
97897
97897
  {
97898
97898
  label: "menu:restartConversationLabel",
97899
+ testId: "menu-restart-button",
97899
97900
  icon: { value: "ArrowCounterClockwise", weight: "regular" },
97900
97901
  action: { type: "emit", event: "restart", payload: {} }
97901
97902
  },
97902
97903
  {
97903
97904
  label: "header:tooltipMinimizeChat",
97905
+ testId: "menu-minimize-button",
97904
97906
  icon: { value: "CaretDown", weight: "regular" },
97905
97907
  action: { type: "emit", event: "freeday:close", payload: {} }
97906
97908
  }
@@ -97912,6 +97914,7 @@ function Ee1({ closeModal: a }) {
97912
97914
  {
97913
97915
  variant: "ghost",
97914
97916
  className: "w-full justify-start",
97917
+ "data-testid": u.testId,
97915
97918
  onClick: () => {
97916
97919
  i(u.action), a();
97917
97920
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freeday-ai/webchat",
3
- "version": "2025.12.10.15.10.11787",
3
+ "version": "2025.12.11.14.07.8095",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"