@uxland/primary-shell 7.45.8 → 7.45.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "7.45.8",
3
+ "version": "7.45.10",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
@@ -62,6 +62,9 @@ export class ImportDataManagerImpl implements PrimariaImportDataManager {
62
62
  }
63
63
 
64
64
  selectItems(payload: { pluginId: string; data: any[]; text: { raw: string; html: string } }): void {
65
+ console.log(
66
+ `[ImportDataManager] selectItems — pluginId: "${payload.pluginId}" | items: ${payload.data.length} | text.raw: ${payload.text.raw.length} chars | text.html: ${payload.text.html.length} chars`,
67
+ );
65
68
  this.selectedItems[payload.pluginId] = payload.data;
66
69
  this.pluginTexts[payload.pluginId] = payload.text;
67
70
  }
@@ -15,7 +15,7 @@ describe("PrimariaNotificationServiceImpl", () => {
15
15
  vi.useRealTimers();
16
16
  });
17
17
 
18
- const assertToast = (expectedState: string, message: string, duration: number = 3000) => {
18
+ const assertToast = (expectedState: string, message: string, duration: number = 5000) => {
19
19
  const toast = document.querySelector("dss-toast") as HTMLElement;
20
20
  expect(toast).not.toBeNull();
21
21
  expect(toast.getAttribute("isshow")).toBe("true");
@@ -21,11 +21,7 @@ export class PrimariaNotificationServiceImpl extends PrimariaNotificationService
21
21
  }
22
22
  }
23
23
 
24
- private notify(
25
- message: string,
26
- state: "info" | "warning" | "error" | "success",
27
- duration = 3000,
28
- ): void {
24
+ private notify(message: string, state: "info" | "warning" | "error" | "success", duration = 5000): void {
29
25
  const container = this.getOrCreateContainer();
30
26
 
31
27
  const toast = document.createElement("dss-toast");