@luzmo/embed 5.0.6 → 5.0.8

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,19 @@
1
1
 
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [5.0.8] - 2024-03-05
5
+
6
+ ### Updates
7
+
8
+ - Typing improvements in shared lib.
9
+
10
+ ## [5.0.7] - 2024-02-28
11
+
12
+ ### Updates
13
+
14
+ - Bugfixes in experimental mode for width height issue.
15
+
16
+
4
17
  ## [5.0.6] - 2024-02-17
5
18
 
6
19
  ### Updates
package/README.md CHANGED
@@ -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/)