@luzmo/embed 6.9.0-es2021 → 6.10.0-es2021

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [6.10.0] - 2026-03-04
6
+
7
+ ### Changed
8
+ - Added `base64` as a supported format for `<luzmo-embed-viz-item>.export()`.
9
+ - Updated `<luzmo-embed-viz-item>.export()` to return `Promise<string | void>`.
10
+
5
11
  ## [6.9.0] - 2026-02-16
6
12
 
7
13
  ### Changed
package/README.md CHANGED
@@ -107,8 +107,8 @@ refreshData(): void;
107
107
  // Changes the authorization of the viz item. To fetch data based on new authorization parameters, refreshData() needs to be called.
108
108
  setAuthorization(key: string, token: string): void;
109
109
 
110
- // Export the viz item as png, csv, xlsx, xlsx-raw, csv-raw.
111
- export(type: 'png' | 'xlsx' | 'csv' | 'xlsx-raw' | 'csv-raw'): void;
110
+ // Export the viz item as png, base64, csv, xlsx, xlsx-raw, csv-raw.
111
+ export(type: 'png' | 'base64' | 'xlsx' | 'csv' | 'xlsx-raw' | 'csv-raw'): Promise<string | void>;
112
112
  ```
113
113
  <br/>
114
114
 
@@ -145,7 +145,7 @@ const filters = vizItemComponent.getFilters();
145
145
  Export the viz item
146
146
 
147
147
  ```typescript
148
- const type = 'png'; // type is optional, defaults to png, other values supported are 'xlsx', 'csv', 'xlsx-raw', 'csv-raw'.
148
+ const type = 'png'; // type is optional, defaults to png, other values supported are 'base64', 'xlsx', 'csv', 'xlsx-raw', 'csv-raw'.
149
149
  vizItemComponent.export(type);
150
150
  ```
151
151
 
package/index.cjs CHANGED
@@ -62,7 +62,7 @@ var import_decorators = require("lit/decorators.js");
62
62
  var import_style_map = require("lit/directives/style-map.js");
63
63
 
64
64
  // libs/embed-libs/embed/package.json
65
- var version = "6.9.0";
65
+ var version = "6.10.0";
66
66
 
67
67
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
68
68
  var SharedLib = __toESM(require("@luzmo/shared-embed"));
package/index.js CHANGED
@@ -23,7 +23,7 @@ import { property, query, state } from "lit/decorators.js";
23
23
  import { styleMap } from "lit/directives/style-map.js";
24
24
 
25
25
  // libs/embed-libs/embed/package.json
26
- var version = "6.9.0";
26
+ var version = "6.10.0";
27
27
 
28
28
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
29
29
  import * as SharedLib from "@luzmo/shared-embed";
@@ -6013,7 +6013,7 @@ var o6 = e6(class extends i5 {
6013
6013
  });
6014
6014
 
6015
6015
  // libs/embed-libs/embed/package.json
6016
- var version = "6.9.0";
6016
+ var version = "6.10.0";
6017
6017
 
6018
6018
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
6019
6019
  var LuzmoDashboardService = class {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.9.0-es2021",
3
+ "version": "6.10.0-es2021",
4
4
  "dependencies": {
5
5
  "lit": "^3.3.1",
6
- "@luzmo/shared-embed": "5.8.1"
6
+ "@luzmo/shared-embed": "5.9.0"
7
7
  },
8
8
  "keywords": [
9
9
  "es2021",
@@ -25,7 +25,7 @@ interface LuzmoVizItemComponentInterface extends HTMLElement {
25
25
  dashboardId?: string;
26
26
  itemId?: string;
27
27
  getFilters: () => FilterGroup[];
28
- export: (type?: VizItemExportType) => void;
28
+ export: (type?: VizItemExportType) => Promise<string | void>;
29
29
  refreshData: () => void;
30
30
  getData: () => SharedLib.ItemData;
31
31
  setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
@@ -57,7 +57,7 @@ export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItem
57
57
  protected createRenderRoot(): HTMLElement | DocumentFragment;
58
58
  canInitializeVizItem(): boolean;
59
59
  getFilters(): FilterGroup[];
60
- export(type?: VizItemExportType): void;
60
+ export(type?: VizItemExportType): Promise<string | void>;
61
61
  getData(): SharedLib.ItemData;
62
62
  refreshData(): void;
63
63
  setSelectedData(selectedDataInput: SharedLib.SelectedDataInput): SharedLib.SetSelectedData;