@luzmo/embed 5.0.7 → 5.0.9

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
@@ -1,6 +1,18 @@
1
1
 
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [5.0.9] - 2024-03-07
5
+
6
+ ### Bugfixes
7
+
8
+ - Fixed EDE width and height issue not being 100%.
9
+
10
+ ## [5.0.8] - 2024-03-05
11
+
12
+ ### Updates
13
+
14
+ - Typing improvements in shared lib.
15
+
4
16
  ## [5.0.7] - 2024-02-28
5
17
 
6
18
  ### Updates
package/README.md CHANGED
@@ -33,14 +33,14 @@ OR In an HTML page:
33
33
 
34
34
  ```html
35
35
  <script type="module">
36
- import './node_modules/@luzmo/embed/index.js';
36
+ import './node_modules/@luzmo/embed/index.umd.js';
37
37
  </script>
38
38
  ```
39
39
 
40
40
  OR
41
41
 
42
42
  ```html
43
- <script type="module" src="./node_modules/@luzmo/embed/index.js"></script>
43
+ <script type="module" src="./node_modules/@luzmo/embed/index.umd.js"></script>
44
44
  ```
45
45
 
46
46
  ## Usage
@@ -109,9 +109,6 @@ getData(itemId: string): Promise<ItemData>
109
109
  getFilters(): Promise<FilterGroup[]>
110
110
  // Returns an array of active filters.
111
111
 
112
- setFilters<K extends CombinedFilterInput>(itemId: string, filters: K): Promise<SetFilters>
113
- // Sets filters to the dashboard. Accepts an itemId which is an id of the item on the dashboard (e.g. chart) and filters which is an object with filters' settings.
114
-
115
112
  setAuthorization(key: string, token: string): Promise<void>
116
113
  // Changes the authorization of all or one dashboard. To fetch data based on new authorization parameters, reloadDashboard() or refreshData() needs to be called.
117
114
 
@@ -200,28 +197,6 @@ dashboardComponent.getAccessibleDashboards().then((dashboards) => {
200
197
  });
201
198
  ```
202
199
 
203
- Set filters for the Bar Chart:
204
-
205
- ```typescript
206
- const barChartId = '04ec1a76-1948-496f-8342-0177272f6695';
207
- const filters: BarChartFilterInput = {
208
- and: [
209
- {
210
- expression: '? between ?',
211
- parameters: [
212
- { slot: 'y-axis' },
213
- [
214
- ['2010-01-01T00:00:00.000Z', '2010-01-01T00:00:00.000Z'],
215
- ['2012-01-01T00:00:00.000Z', '2012-01-01T00:00:00.000Z']
216
- ]
217
- ]
218
- }
219
- ]
220
- }
221
- dashboardComponent.setFilters<BarChartFilterInput>(barChartId, filters)
222
- .then(() => {});
223
- ```
224
-
225
200
  ## Changelog
226
201
 
227
202
  - [Changelog](https://embed-libs.luzmo.com/changelogs/embed/)