@luzmo/embed 6.6.0 → 6.7.0
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 +126 -165
- package/README.md +17 -0
- package/index.cjs +15 -7
- package/index.js +12 -4
- package/luzmo-embed.min.js +100 -183
- package/package.json +3 -3
- package/src/lib/dashboard/dashboard-base.d.ts +2 -1
- package/src/lib/viz-item/viz-item.base.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,330 +1,291 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
-
## [6.
|
|
5
|
+
## [6.7.0] - 2025-10-14
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Added
|
|
8
|
+
- Added the `sendExportEmail()` method on `<luzmo-embed-dashboard>` to trigger immediate or scheduled export emails with optional subject and message overrides.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
## [6.6.1] - 2025-09-02
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
### Changed
|
|
13
|
+
- Updated dependencies to the latest compatible versions.
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
## [6.6.0] - 2025-07-14
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
+
### Changed
|
|
18
|
+
- Updated dependencies to the latest compatible versions.
|
|
17
19
|
|
|
18
|
-
## [6.
|
|
20
|
+
## [6.5.0] - 2025-06-23
|
|
19
21
|
|
|
20
|
-
###
|
|
22
|
+
### Changed
|
|
23
|
+
- Updated dependencies and shipped stability improvements.
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
## [6.4.3] - 2025-04-28
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
### Added
|
|
28
|
+
- Introduced the `--luzmo-iq-state-loader-color-accent` CSS variable for Luzmo IQ loaders.
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
## [6.4.2] - 2025-04-14
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
### Changed
|
|
33
|
+
- Added the missing `absolute` and `percentageAllBars` values to the `bars.label` configuration for bar charts.
|
|
29
34
|
|
|
30
35
|
## [6.4.1] - 2025-03-28
|
|
31
36
|
|
|
32
|
-
###
|
|
33
|
-
|
|
34
|
-
- Updated dependent lib
|
|
37
|
+
### Changed
|
|
38
|
+
- Updated dependencies to the latest compatible versions.
|
|
35
39
|
|
|
36
40
|
## [6.4.0] - 2025-03-20
|
|
37
41
|
|
|
38
|
-
###
|
|
39
|
-
|
|
40
|
-
- Added `editorLanguage` input to set the language of the dashboard editor
|
|
42
|
+
### Added
|
|
43
|
+
- Added the `editorLanguage` attribute to control the dashboard editor language.
|
|
41
44
|
|
|
42
45
|
## [6.3.7] - 2025-03-04
|
|
43
46
|
|
|
44
|
-
###
|
|
45
|
-
|
|
46
|
-
- Rename "experimental" input to "embedMode" in dashboard component
|
|
47
|
+
### Changed
|
|
48
|
+
- Renamed the `experimental` attribute to `embedMode` on `<luzmo-embed-dashboard>`.
|
|
47
49
|
|
|
48
50
|
## [6.3.6] - 2025-02-27
|
|
49
51
|
|
|
50
|
-
###
|
|
51
|
-
|
|
52
|
-
- Added availableDatasets as input to luzmo-iq-embed-chat component
|
|
52
|
+
### Added
|
|
53
|
+
- Added the `availableDatasets` attribute to `<luzmo-iq-embed-chat>`.
|
|
53
54
|
|
|
54
55
|
## [6.3.5] - 2025-02-24
|
|
55
56
|
|
|
56
|
-
###
|
|
57
|
-
|
|
58
|
-
- Updated dependent libs
|
|
57
|
+
### Changed
|
|
58
|
+
- Updated dependencies to the latest compatible versions.
|
|
59
59
|
|
|
60
60
|
## [6.3.4] - 2025-02-21
|
|
61
61
|
|
|
62
|
-
###
|
|
63
|
-
|
|
64
|
-
- Updated dependent libs
|
|
62
|
+
### Changed
|
|
63
|
+
- Updated dependencies to the latest compatible versions.
|
|
65
64
|
|
|
66
65
|
## [6.3.3] - 2025-02-06
|
|
67
66
|
|
|
68
|
-
###
|
|
69
|
-
|
|
70
|
-
- Updated dependent libs
|
|
67
|
+
### Changed
|
|
68
|
+
- Updated dependencies to the latest compatible versions.
|
|
71
69
|
|
|
72
70
|
## [6.3.2] - 2025-01-31
|
|
73
71
|
|
|
74
|
-
###
|
|
75
|
-
|
|
76
|
-
- export() now allows you to export the viz item as a CSV, XLSX and PNG
|
|
72
|
+
### Added
|
|
73
|
+
- Extended `export()` on `<luzmo-embed-viz-item>` to support CSV, CSV raw, XLSX, and XLSX raw formats in addition to PNG.
|
|
77
74
|
|
|
78
75
|
## [6.3.1] - 2025-01-21
|
|
79
76
|
|
|
80
|
-
###
|
|
81
|
-
|
|
82
|
-
- Updated dependent libs
|
|
77
|
+
### Changed
|
|
78
|
+
- Updated dependencies to the latest compatible versions.
|
|
83
79
|
|
|
84
80
|
## [6.3.0] - 2025-01-16
|
|
85
81
|
|
|
86
|
-
###
|
|
87
|
-
|
|
88
|
-
- Updated Flex performance
|
|
82
|
+
### Changed
|
|
83
|
+
- Improved Luzmo Flex performance.
|
|
89
84
|
|
|
90
85
|
## [6.2.6] - 2025-01-13
|
|
91
86
|
|
|
92
|
-
###
|
|
93
|
-
|
|
94
|
-
- Updated dependent libs
|
|
87
|
+
### Changed
|
|
88
|
+
- Updated dependencies to the latest compatible versions.
|
|
95
89
|
|
|
96
90
|
## [6.2.5] - 2025-01-08
|
|
97
91
|
|
|
98
|
-
###
|
|
99
|
-
|
|
100
|
-
- Updated dependent libs
|
|
92
|
+
### Changed
|
|
93
|
+
- Updated dependencies to the latest compatible versions.
|
|
101
94
|
|
|
102
95
|
## [6.2.4] - 2024-12-19
|
|
103
96
|
|
|
104
|
-
###
|
|
105
|
-
|
|
106
|
-
- Added LICENSE to the library
|
|
97
|
+
### Added
|
|
98
|
+
- Added the project `LICENSE`.
|
|
107
99
|
|
|
108
100
|
## [6.2.3] - 2024-12-10
|
|
109
101
|
|
|
110
|
-
###
|
|
111
|
-
|
|
112
|
-
- Enable Luzmo IQ custom chat widget button content with WebComponents slot
|
|
102
|
+
### Added
|
|
103
|
+
- Enabled custom chat widget button content via slots in `<luzmo-iq-embed-chat>`.
|
|
113
104
|
|
|
114
105
|
## [6.2.2] - 2024-12-09
|
|
115
106
|
|
|
116
|
-
###
|
|
117
|
-
|
|
118
|
-
- Minor bugfixes for EDE mode
|
|
107
|
+
### Fixed
|
|
108
|
+
- Applied minor fixes for EDE mode behaviour.
|
|
119
109
|
|
|
120
110
|
## [6.2.1] - 2024-11-22
|
|
121
111
|
|
|
122
|
-
###
|
|
123
|
-
|
|
124
|
-
- Updated dependencies
|
|
112
|
+
### Changed
|
|
113
|
+
- Updated dependencies to the latest compatible versions.
|
|
125
114
|
|
|
126
115
|
## [6.2.0] - 2024-11-20
|
|
127
116
|
|
|
128
|
-
###
|
|
129
|
-
|
|
130
|
-
- [Luzmo IQ](https://developer.luzmo.com/guide/iq--introduction) allows you to generate AI-powered answers to data-related questions. The update adds components that allows you embed chat and answer components onto your page
|
|
117
|
+
### Added
|
|
118
|
+
- Introduced [Luzmo IQ](https://developer.luzmo.com/guide/iq--introduction) components to embed AI-powered chat and answer experiences.
|
|
131
119
|
|
|
132
120
|
## [6.1.9] - 2024-11-14
|
|
133
121
|
|
|
134
|
-
###
|
|
135
|
-
|
|
136
|
-
- Updated dependencies
|
|
122
|
+
### Changed
|
|
123
|
+
- Updated dependencies to the latest compatible versions.
|
|
137
124
|
|
|
138
125
|
## [6.1.8] - 2024-11-12
|
|
139
126
|
|
|
140
|
-
###
|
|
141
|
-
|
|
142
|
-
- Fixes for getAccessibleDashboards()
|
|
127
|
+
### Fixed
|
|
128
|
+
- Resolved issues affecting `getAccessibleDashboards()`.
|
|
143
129
|
|
|
144
130
|
## [6.1.7] - 2024-10-25
|
|
145
131
|
|
|
146
|
-
###
|
|
147
|
-
|
|
148
|
-
- Fix setting a size (width, height) in the inline style for <luzmo-embed-viz-item>
|
|
132
|
+
### Fixed
|
|
133
|
+
- Corrected width and height handling when setting inline styles on `<luzmo-embed-viz-item>`.
|
|
149
134
|
|
|
150
135
|
## [6.1.6] - 2024-10-22
|
|
151
136
|
|
|
152
|
-
###
|
|
153
|
-
|
|
154
|
-
- Fix displaying Search Filter in Flex
|
|
137
|
+
### Fixed
|
|
138
|
+
- Fixed Flex search filter display issues.
|
|
155
139
|
|
|
156
140
|
## [6.1.5] - 2024-10-21
|
|
157
141
|
|
|
158
|
-
###
|
|
159
|
-
|
|
160
|
-
- Updated dependencies
|
|
142
|
+
### Changed
|
|
143
|
+
- Updated dependencies to the latest compatible versions.
|
|
161
144
|
|
|
162
145
|
## [6.1.4] - 2024-10-14
|
|
163
146
|
|
|
164
|
-
###
|
|
165
|
-
|
|
166
|
-
- Updated dependencies
|
|
147
|
+
### Changed
|
|
148
|
+
- Updated dependencies to the latest compatible versions.
|
|
167
149
|
|
|
168
150
|
## [6.1.3] - 2024-09-26
|
|
169
151
|
|
|
170
|
-
###
|
|
152
|
+
### Changed
|
|
153
|
+
- Updated public TypeScript definitions.
|
|
171
154
|
|
|
172
|
-
|
|
173
|
-
-
|
|
155
|
+
### Fixed
|
|
156
|
+
- Removed the requirement for `script-src 'unsafe-eval'` in runtime CSP settings.
|
|
174
157
|
|
|
175
158
|
## [6.1.2] - 2024-09-23
|
|
176
159
|
|
|
177
|
-
###
|
|
178
|
-
|
|
179
|
-
- Web component now is only registered once, if already registered, the registration is skipped. (Fixes issue with libraries being included multiple times)
|
|
160
|
+
### Fixed
|
|
161
|
+
- Ensured the web component registers only once when libraries are included multiple times.
|
|
180
162
|
|
|
181
163
|
## [6.1.1] - 2024-09-09
|
|
182
164
|
|
|
183
|
-
###
|
|
184
|
-
|
|
185
|
-
- Updated lib dependencies
|
|
165
|
+
### Changed
|
|
166
|
+
- Updated dependencies to the latest compatible versions.
|
|
186
167
|
|
|
187
168
|
## [6.1.0] - 2024-09-09
|
|
188
169
|
|
|
189
|
-
###
|
|
190
|
-
- [Luzmo Flex](https://developer.luzmo.com/guide/flex--introduction)
|
|
170
|
+
### Added
|
|
171
|
+
- Highlighted [Luzmo Flex](https://developer.luzmo.com/guide/flex--introduction) for building customizable visualizations entirely in code.
|
|
191
172
|
|
|
192
173
|
## [6.0.1] - 2024-07-11
|
|
193
174
|
|
|
194
|
-
|
|
175
|
+
### Fixed
|
|
176
|
+
- Corrected loader color handling when embedding dashboards as web components.
|
|
195
177
|
|
|
196
178
|
## [6.0.0] - 2024-07-11
|
|
197
179
|
|
|
198
|
-
###
|
|
199
|
-
|
|
200
|
-
- Removed `<luzmo-dashboard>` web component, It has been replaced with `<luzmo-embed-dashboard>`
|
|
201
|
-
- `LuzmoDashboard` has been replaced with `LuzmoEmbedDashboard`
|
|
180
|
+
### Changed
|
|
181
|
+
- Replaced the `LuzmoDashboard` type with `LuzmoEmbedDashboard`.
|
|
202
182
|
|
|
203
|
-
###
|
|
183
|
+
### Removed
|
|
184
|
+
- Removed the legacy `<luzmo-dashboard>` component in favour of `<luzmo-embed-dashboard>`.
|
|
204
185
|
|
|
205
|
-
|
|
186
|
+
### Fixed
|
|
187
|
+
- Corrected loader color handling when embedding dashboards as web components.
|
|
206
188
|
|
|
207
189
|
## [5.1.5] - 2024-05-03
|
|
208
190
|
|
|
209
|
-
###
|
|
210
|
-
|
|
211
|
-
- Fix bugs in experimental=true, dashboard not loading at times
|
|
191
|
+
### Fixed
|
|
192
|
+
- Addressed intermittent loading issues when `experimental=true`.
|
|
212
193
|
|
|
213
194
|
## [5.1.4] - 2024-05-02
|
|
214
195
|
|
|
215
|
-
###
|
|
216
|
-
|
|
217
|
-
- Fix build issues with CRA 5.0 and Webpack 5.0
|
|
196
|
+
### Fixed
|
|
197
|
+
- Resolved compatibility issues with CRA 5.0 and Webpack 5.0 builds.
|
|
218
198
|
|
|
219
199
|
## [5.1.3] - 2024-05-02
|
|
220
200
|
|
|
221
|
-
###
|
|
222
|
-
|
|
223
|
-
- Height in edit mode is set to 100%, taking 100% of parent height
|
|
201
|
+
### Fixed
|
|
202
|
+
- Ensured the editor mode height respects a 100% parent height.
|
|
224
203
|
|
|
225
204
|
## [5.1.2] - 2024-04-29
|
|
226
205
|
|
|
227
|
-
###
|
|
228
|
-
|
|
229
|
-
- Height in edit mode is set to a minimum of 100vh
|
|
230
|
-
|
|
206
|
+
### Fixed
|
|
207
|
+
- Set the minimum height in editor mode to 100vh.
|
|
231
208
|
|
|
232
209
|
## [5.1.1] - 2024-04-24
|
|
233
210
|
|
|
234
|
-
###
|
|
235
|
-
|
|
236
|
-
- Show actual error messages from luzmo application
|
|
211
|
+
### Changed
|
|
212
|
+
- Surface detailed error messages from the Luzmo application.
|
|
237
213
|
|
|
238
214
|
## [5.1.0] - 2024-04-17
|
|
239
215
|
|
|
240
|
-
###
|
|
241
|
-
|
|
242
|
-
- Deprecated `luzmo-dashboard`, `luzmo-embed-dashboard` is the new element, `luzmo-dashboard` will be removed in next major release (`6.0.0`)
|
|
216
|
+
### Changed
|
|
217
|
+
- Deprecated `<luzmo-dashboard>` in favour of `<luzmo-embed-dashboard>` ahead of removal in `6.0.0`.
|
|
243
218
|
|
|
244
219
|
## [5.0.14] - 2024-03-28
|
|
245
220
|
|
|
246
|
-
###
|
|
247
|
-
|
|
248
|
-
- Shared embed lib updated with bugfixes
|
|
221
|
+
### Fixed
|
|
222
|
+
- Pulled shared embed library fixes.
|
|
249
223
|
|
|
250
224
|
## [5.0.13] - 2024-03-26
|
|
251
225
|
|
|
252
|
-
###
|
|
253
|
-
|
|
254
|
-
- Add ESM build for libs entry point in `@luzmo/embed`
|
|
226
|
+
### Added
|
|
227
|
+
- Added an ESM build entry point to `@luzmo/embed`.
|
|
255
228
|
|
|
256
229
|
## [5.0.12] - 2024-03-19
|
|
257
230
|
|
|
258
|
-
###
|
|
259
|
-
|
|
260
|
-
- Fixed getAccessibleDashboards() to correctly work with embed tokens
|
|
231
|
+
### Fixed
|
|
232
|
+
- Ensured `getAccessibleDashboards()` works correctly with embed tokens.
|
|
261
233
|
|
|
262
234
|
## [5.0.11] - 2024-03-18
|
|
263
235
|
|
|
264
|
-
###
|
|
265
|
-
|
|
266
|
-
- Correct typings are now exposed from @luzmo/embed
|
|
236
|
+
### Changed
|
|
237
|
+
- Exposed the correct TypeScript typings from `@luzmo/embed`.
|
|
267
238
|
|
|
268
239
|
## [5.0.10] - 2024-03-11
|
|
269
240
|
|
|
270
|
-
###
|
|
271
|
-
|
|
272
|
-
- Use display block for the luzmo-dashboard component
|
|
241
|
+
### Fixed
|
|
242
|
+
- Set `<luzmo-dashboard>` to display as a block-level element.
|
|
273
243
|
|
|
274
244
|
## [5.0.9] - 2024-03-07
|
|
275
245
|
|
|
276
|
-
###
|
|
277
|
-
|
|
278
|
-
- Fixed EDE width and height issue not being 100%
|
|
246
|
+
### Fixed
|
|
247
|
+
- Corrected EDE width and height behaviour to use 100% of the container.
|
|
279
248
|
|
|
280
249
|
## [5.0.8] - 2024-03-05
|
|
281
250
|
|
|
282
|
-
###
|
|
283
|
-
|
|
284
|
-
- Typing improvements in shared lib
|
|
251
|
+
### Changed
|
|
252
|
+
- Improved typings in the shared library.
|
|
285
253
|
|
|
286
254
|
## [5.0.7] - 2024-02-28
|
|
287
255
|
|
|
288
|
-
###
|
|
289
|
-
|
|
290
|
-
- Bugfixes in experimental mode for width height issue
|
|
291
|
-
|
|
256
|
+
### Fixed
|
|
257
|
+
- Addressed width and height issues for experimental mode.
|
|
292
258
|
|
|
293
259
|
## [5.0.6] - 2024-02-17
|
|
294
260
|
|
|
295
|
-
###
|
|
296
|
-
|
|
297
|
-
-
|
|
298
|
-
- Updated dependencies
|
|
261
|
+
### Changed
|
|
262
|
+
- Added `"type": "module"` to `package.json`.
|
|
263
|
+
- Updated dependencies to the latest compatible versions.
|
|
299
264
|
|
|
300
265
|
## [5.0.5] - 2024-02-16
|
|
301
266
|
|
|
302
|
-
###
|
|
303
|
-
|
|
304
|
-
- Typing issue fixed
|
|
267
|
+
### Fixed
|
|
268
|
+
- Resolved a typing issue.
|
|
305
269
|
|
|
306
270
|
## [5.0.4] - 2024-02-08
|
|
307
271
|
|
|
308
|
-
###
|
|
309
|
-
|
|
310
|
-
- Changelog update / README updated
|
|
272
|
+
### Changed
|
|
273
|
+
- Refreshed documentation and changelog content.
|
|
311
274
|
|
|
312
275
|
## [5.0.3] - 2024-02-01
|
|
313
276
|
|
|
314
|
-
###
|
|
277
|
+
### Added
|
|
278
|
+
- Added a parameter to help clients test upstream changes.
|
|
315
279
|
|
|
316
|
-
|
|
317
|
-
-
|
|
280
|
+
### Changed
|
|
281
|
+
- Delivered performance improvements.
|
|
318
282
|
|
|
319
283
|
## [5.0.2] - 2023-12-07
|
|
320
284
|
|
|
321
|
-
###
|
|
322
|
-
|
|
323
|
-
- Fixed incorrect dependency version in library
|
|
324
|
-
|
|
285
|
+
### Fixed
|
|
286
|
+
- Corrected an incorrect dependency version.
|
|
325
287
|
|
|
326
288
|
## [5.0.1] - 2023-12-06
|
|
327
289
|
|
|
328
|
-
###
|
|
329
|
-
|
|
330
|
-
- Fixed a bug where dimensions were calculated before dimension data was available which resulted in a crash
|
|
290
|
+
### Fixed
|
|
291
|
+
- Prevented crashes caused by dimensions being calculated before dimension data was available.
|
package/README.md
CHANGED
|
@@ -230,6 +230,9 @@ reloadDashboard(): Promise<void>;
|
|
|
230
230
|
// Exports the current dashboard as either pdf or png. A container class needs to be passed as an argument and an optional type parameter.
|
|
231
231
|
exportDashboard(type?: ExportType): Promise<ExportDashboard>;
|
|
232
232
|
|
|
233
|
+
// Opens a pop-up modal to send the current dashboard export via email immediately or on a schedule (`type` argument). Optional arguments to override the email subject and email body message.
|
|
234
|
+
sendExportEmail(type: 'once' | 'scheduled', subject?: Record<string, string>, message?: Record<string, string>): void;
|
|
235
|
+
|
|
233
236
|
// Get accessible dashboards in a integration, make sure 'apiHost', 'authKey', 'authToken' are set correctly on the instance.
|
|
234
237
|
getAccessibleDashboards(): Promise<AccessibleDashboard[]>;
|
|
235
238
|
|
|
@@ -298,6 +301,20 @@ dashboardComponent.exportDashboard('png').then((data) => {
|
|
|
298
301
|
});
|
|
299
302
|
```
|
|
300
303
|
|
|
304
|
+
Open a pop-up modal to send a dashboard export via email
|
|
305
|
+
|
|
306
|
+
```typescript
|
|
307
|
+
// Open a pop-up modal to trigger an immediate export email using the default subject and message
|
|
308
|
+
dashboardComponent.sendExportEmail('once');
|
|
309
|
+
|
|
310
|
+
// Open a pop-up modal to schedule a recurring export email with custom email subject and message translations
|
|
311
|
+
dashboardComponent.sendExportEmail(
|
|
312
|
+
'scheduled',
|
|
313
|
+
{ en: 'Weekly KPI dashboard', fr: 'Tableau de bord KPI hebdomadaire' },
|
|
314
|
+
{ en: 'Automated KPI export created by our app.', fr: 'Export KPI automatisé créé par notre application.' }
|
|
315
|
+
);
|
|
316
|
+
```
|
|
317
|
+
|
|
301
318
|
Get accessible dashboards of an integration
|
|
302
319
|
|
|
303
320
|
```typescript
|
package/index.cjs
CHANGED
|
@@ -31,14 +31,13 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
31
31
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
32
32
|
if (decorator = decorators[i])
|
|
33
33
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
34
|
-
if (kind && result)
|
|
35
|
-
__defProp(target, key, result);
|
|
34
|
+
if (kind && result) __defProp(target, key, result);
|
|
36
35
|
return result;
|
|
37
36
|
};
|
|
38
37
|
|
|
39
38
|
// libs/embed-libs/embed/src/index.ts
|
|
40
|
-
var
|
|
41
|
-
__export(
|
|
39
|
+
var index_exports = {};
|
|
40
|
+
__export(index_exports, {
|
|
42
41
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
43
42
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
44
43
|
LuzmoIQEmbedAnswerComponent: () => LuzmoIQEmbedAnswerComponent,
|
|
@@ -51,7 +50,7 @@ __export(src_exports, {
|
|
|
51
50
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
52
51
|
selectedDataUtils: () => import_shared_embed4.selectedDataUtils
|
|
53
52
|
});
|
|
54
|
-
module.exports = __toCommonJS(
|
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
|
55
54
|
var import_shared_embed4 = require("@luzmo/shared-embed");
|
|
56
55
|
var import_lit6 = require("lit");
|
|
57
56
|
|
|
@@ -63,7 +62,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
63
62
|
var import_style_map = require("lit/directives/style-map.js");
|
|
64
63
|
|
|
65
64
|
// libs/embed-libs/embed/package.json
|
|
66
|
-
var version = "6.
|
|
65
|
+
var version = "6.7.0";
|
|
67
66
|
|
|
68
67
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
69
68
|
var SharedLib = __toESM(require("@luzmo/shared-embed"));
|
|
@@ -175,6 +174,7 @@ var _setEventHandler = () => {
|
|
|
175
174
|
break;
|
|
176
175
|
}
|
|
177
176
|
case "chartsRendered":
|
|
177
|
+
// TODO remove once chartsRendered is changed to itemsRendered in FE app
|
|
178
178
|
case "itemsRendered": {
|
|
179
179
|
event.data.type = "itemsRendered";
|
|
180
180
|
dashboardComponent.dispatchEvent(
|
|
@@ -921,6 +921,14 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
|
|
|
921
921
|
}
|
|
922
922
|
return SharedLib2.setPreview(this, this.iframe, preview);
|
|
923
923
|
}
|
|
924
|
+
sendExportEmail(type, subject, message) {
|
|
925
|
+
if (this.isWebComponentViewMode() && this.dashboardReference) {
|
|
926
|
+
return this.dashboardReference.sendExportEmail(type, subject, message);
|
|
927
|
+
} else if (!this.isWebComponentViewMode()) {
|
|
928
|
+
return SharedLib2.sendExportEmail(this, this.iframe, type, subject, message);
|
|
929
|
+
}
|
|
930
|
+
return Promise.reject();
|
|
931
|
+
}
|
|
924
932
|
isWebComponentViewMode() {
|
|
925
933
|
return this.embedMode === "webComponent" && (this.params.editMode === "view" || this.params.editMode === void 0);
|
|
926
934
|
}
|
|
@@ -1101,7 +1109,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
1101
1109
|
var SharedLib3 = __toESM(require("@luzmo/shared-embed"));
|
|
1102
1110
|
var import_lit3 = require("lit");
|
|
1103
1111
|
var import_decorators2 = require("lit/decorators.js");
|
|
1104
|
-
var dashboardContentsVersion = "0.1.
|
|
1112
|
+
var dashboardContentsVersion = "0.1.98";
|
|
1105
1113
|
var vizItemRemote = "VizItemApp";
|
|
1106
1114
|
var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
1107
1115
|
constructor() {
|
package/index.js
CHANGED
|
@@ -5,8 +5,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
5
5
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
6
|
if (decorator = decorators[i])
|
|
7
7
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
-
if (kind && result)
|
|
9
|
-
__defProp(target, key, result);
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
10
9
|
return result;
|
|
11
10
|
};
|
|
12
11
|
|
|
@@ -24,7 +23,7 @@ import { property, query, state } from "lit/decorators.js";
|
|
|
24
23
|
import { styleMap } from "lit/directives/style-map.js";
|
|
25
24
|
|
|
26
25
|
// libs/embed-libs/embed/package.json
|
|
27
|
-
var version = "6.
|
|
26
|
+
var version = "6.7.0";
|
|
28
27
|
|
|
29
28
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
30
29
|
import * as SharedLib from "@luzmo/shared-embed";
|
|
@@ -136,6 +135,7 @@ var _setEventHandler = () => {
|
|
|
136
135
|
break;
|
|
137
136
|
}
|
|
138
137
|
case "chartsRendered":
|
|
138
|
+
// TODO remove once chartsRendered is changed to itemsRendered in FE app
|
|
139
139
|
case "itemsRendered": {
|
|
140
140
|
event.data.type = "itemsRendered";
|
|
141
141
|
dashboardComponent.dispatchEvent(
|
|
@@ -882,6 +882,14 @@ var LuzmoDashboard = class extends LitElement {
|
|
|
882
882
|
}
|
|
883
883
|
return SharedLib2.setPreview(this, this.iframe, preview);
|
|
884
884
|
}
|
|
885
|
+
sendExportEmail(type, subject, message) {
|
|
886
|
+
if (this.isWebComponentViewMode() && this.dashboardReference) {
|
|
887
|
+
return this.dashboardReference.sendExportEmail(type, subject, message);
|
|
888
|
+
} else if (!this.isWebComponentViewMode()) {
|
|
889
|
+
return SharedLib2.sendExportEmail(this, this.iframe, type, subject, message);
|
|
890
|
+
}
|
|
891
|
+
return Promise.reject();
|
|
892
|
+
}
|
|
885
893
|
isWebComponentViewMode() {
|
|
886
894
|
return this.embedMode === "webComponent" && (this.params.editMode === "view" || this.params.editMode === void 0);
|
|
887
895
|
}
|
|
@@ -1062,7 +1070,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
1062
1070
|
import * as SharedLib3 from "@luzmo/shared-embed";
|
|
1063
1071
|
import { css as css2, html as html2, LitElement as LitElement2 } from "lit";
|
|
1064
1072
|
import { property as property2 } from "lit/decorators.js";
|
|
1065
|
-
var dashboardContentsVersion = "0.1.
|
|
1073
|
+
var dashboardContentsVersion = "0.1.98";
|
|
1066
1074
|
var vizItemRemote = "VizItemApp";
|
|
1067
1075
|
var LuzmoBaseVizItem = class extends LitElement2 {
|
|
1068
1076
|
constructor() {
|
package/luzmo-embed.min.js
CHANGED
|
@@ -22,14 +22,13 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
22
22
|
for (var i7 = decorators.length - 1, decorator; i7 >= 0; i7--)
|
|
23
23
|
if (decorator = decorators[i7])
|
|
24
24
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25
|
-
if (kind && result)
|
|
26
|
-
__defProp(target, key, result);
|
|
25
|
+
if (kind && result) __defProp(target, key, result);
|
|
27
26
|
return result;
|
|
28
27
|
};
|
|
29
28
|
|
|
30
29
|
// libs/embed-libs/embed/src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
30
|
+
var index_exports = {};
|
|
31
|
+
__export(index_exports, {
|
|
33
32
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
34
33
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
35
34
|
LuzmoIQEmbedAnswerComponent: () => LuzmoIQEmbedAnswerComponent,
|
|
@@ -42,7 +41,7 @@ __export(src_exports2, {
|
|
|
42
41
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
43
42
|
selectedDataUtils: () => selectedDataUtils
|
|
44
43
|
});
|
|
45
|
-
module.exports = __toCommonJS(
|
|
44
|
+
module.exports = __toCommonJS(index_exports);
|
|
46
45
|
|
|
47
46
|
// libs/embed-libs/shared-embed/src/lib/helpers/error.ts
|
|
48
47
|
var _handleError = (errorMessage, parameters) => {
|
|
@@ -833,6 +832,24 @@ var reloadDashboard = (dashboardComponent, iframe) => {
|
|
|
833
832
|
return Promise.reject(new Error("Cannot retrieve contentWindow."));
|
|
834
833
|
};
|
|
835
834
|
|
|
835
|
+
// libs/embed-libs/shared-embed/src/lib/methods/send-export-email.ts
|
|
836
|
+
var sendExportEmail = (dashboardComponent, iframe, type, subject, message) => {
|
|
837
|
+
if (iframe) {
|
|
838
|
+
iframe.contentWindow.postMessage(
|
|
839
|
+
{
|
|
840
|
+
action: "sendExportEmail",
|
|
841
|
+
type: type || "once",
|
|
842
|
+
subject,
|
|
843
|
+
message,
|
|
844
|
+
_version: dashboardComponent.libVersion
|
|
845
|
+
},
|
|
846
|
+
"*"
|
|
847
|
+
);
|
|
848
|
+
return Promise.resolve();
|
|
849
|
+
}
|
|
850
|
+
return Promise.reject(new Error("Cannot retrieve contentWindow."));
|
|
851
|
+
};
|
|
852
|
+
|
|
836
853
|
// libs/embed-libs/shared-embed/src/lib/methods/set-authorization.ts
|
|
837
854
|
var setAuthorization = (dashboardComponent, iframe, key, token) => {
|
|
838
855
|
if (iframe) {
|
|
@@ -881,17 +898,16 @@ var setEditMode = (dashboardComponent, iframe, editMode) => {
|
|
|
881
898
|
return Promise.reject(new Error("Cannot retrieve contentWindow."));
|
|
882
899
|
};
|
|
883
900
|
|
|
884
|
-
// libs/embed-libs/shared-embed/src/lib/methods/set-
|
|
885
|
-
var
|
|
901
|
+
// libs/embed-libs/shared-embed/src/lib/methods/set-preview.ts
|
|
902
|
+
var setPreview = (dashboardComponent, iframe, preview) => {
|
|
886
903
|
if (iframe) {
|
|
887
904
|
const requestId = uuidv4();
|
|
888
905
|
iframe.contentWindow.postMessage(
|
|
889
906
|
{
|
|
890
|
-
action: "
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
_version: dashboardComponent.libVersion
|
|
894
|
-
requestId
|
|
907
|
+
action: "setPreview",
|
|
908
|
+
preview,
|
|
909
|
+
requestId,
|
|
910
|
+
_version: dashboardComponent.libVersion
|
|
895
911
|
},
|
|
896
912
|
"*"
|
|
897
913
|
);
|
|
@@ -899,7 +915,7 @@ var setSelectedData = (dashboardComponent, iframe, itemId, filters) => {
|
|
|
899
915
|
dashboardComponent.promises[requestId] = { resolve, reject };
|
|
900
916
|
setTimeout(() => {
|
|
901
917
|
if (dashboardComponent.promises[requestId]) {
|
|
902
|
-
const errorMessage = "
|
|
918
|
+
const errorMessage = "setPreview request timed out.";
|
|
903
919
|
dashboardComponent.promises[requestId].reject(
|
|
904
920
|
new Error(errorMessage)
|
|
905
921
|
);
|
|
@@ -908,19 +924,20 @@ var setSelectedData = (dashboardComponent, iframe, itemId, filters) => {
|
|
|
908
924
|
}, 2e3);
|
|
909
925
|
});
|
|
910
926
|
}
|
|
911
|
-
return Promise.reject();
|
|
927
|
+
return Promise.reject(new Error("Cannot retrieve contentWindow."));
|
|
912
928
|
};
|
|
913
929
|
|
|
914
|
-
// libs/embed-libs/shared-embed/src/lib/methods/set-
|
|
915
|
-
var
|
|
930
|
+
// libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.ts
|
|
931
|
+
var setSelectedData = (dashboardComponent, iframe, itemId, filters) => {
|
|
916
932
|
if (iframe) {
|
|
917
933
|
const requestId = uuidv4();
|
|
918
934
|
iframe.contentWindow.postMessage(
|
|
919
935
|
{
|
|
920
|
-
action: "
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
_version: dashboardComponent.libVersion
|
|
936
|
+
action: "setSelectedData",
|
|
937
|
+
itemId,
|
|
938
|
+
filters,
|
|
939
|
+
_version: dashboardComponent.libVersion,
|
|
940
|
+
requestId
|
|
924
941
|
},
|
|
925
942
|
"*"
|
|
926
943
|
);
|
|
@@ -928,7 +945,7 @@ var setPreview = (dashboardComponent, iframe, preview) => {
|
|
|
928
945
|
dashboardComponent.promises[requestId] = { resolve, reject };
|
|
929
946
|
setTimeout(() => {
|
|
930
947
|
if (dashboardComponent.promises[requestId]) {
|
|
931
|
-
const errorMessage = "
|
|
948
|
+
const errorMessage = "setSelectedData request timed out.";
|
|
932
949
|
dashboardComponent.promises[requestId].reject(
|
|
933
950
|
new Error(errorMessage)
|
|
934
951
|
);
|
|
@@ -937,7 +954,7 @@ var setPreview = (dashboardComponent, iframe, preview) => {
|
|
|
937
954
|
}, 2e3);
|
|
938
955
|
});
|
|
939
956
|
}
|
|
940
|
-
return Promise.reject(
|
|
957
|
+
return Promise.reject();
|
|
941
958
|
};
|
|
942
959
|
|
|
943
960
|
// libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.ts
|
|
@@ -1344,8 +1361,7 @@ var s = Symbol();
|
|
|
1344
1361
|
var o = /* @__PURE__ */ new WeakMap();
|
|
1345
1362
|
var n = class {
|
|
1346
1363
|
constructor(t4, e7, o7) {
|
|
1347
|
-
if (this._$cssResult$ = true, o7 !== s)
|
|
1348
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1364
|
+
if (this._$cssResult$ = true, o7 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1349
1365
|
this.cssText = t4, this.t = e7;
|
|
1350
1366
|
}
|
|
1351
1367
|
get styleSheet() {
|
|
@@ -1364,27 +1380,22 @@ var n = class {
|
|
|
1364
1380
|
var r = (t4) => new n("string" == typeof t4 ? t4 : t4 + "", void 0, s);
|
|
1365
1381
|
var i = (t4, ...e7) => {
|
|
1366
1382
|
const o7 = 1 === t4.length ? t4[0] : e7.reduce((e8, s4, o8) => e8 + ((t5) => {
|
|
1367
|
-
if (true === t5._$cssResult$)
|
|
1368
|
-
|
|
1369
|
-
if ("number" == typeof t5)
|
|
1370
|
-
return t5;
|
|
1383
|
+
if (true === t5._$cssResult$) return t5.cssText;
|
|
1384
|
+
if ("number" == typeof t5) return t5;
|
|
1371
1385
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t5 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
1372
1386
|
})(s4) + t4[o8 + 1], t4[0]);
|
|
1373
1387
|
return new n(o7, t4, s);
|
|
1374
1388
|
};
|
|
1375
1389
|
var S = (s4, o7) => {
|
|
1376
|
-
if (e)
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
|
|
1382
|
-
}
|
|
1390
|
+
if (e) s4.adoptedStyleSheets = o7.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
|
|
1391
|
+
else for (const e7 of o7) {
|
|
1392
|
+
const o8 = document.createElement("style"), n6 = t.litNonce;
|
|
1393
|
+
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
|
|
1394
|
+
}
|
|
1383
1395
|
};
|
|
1384
1396
|
var c = e ? (t4) => t4 : (t4) => t4 instanceof CSSStyleSheet ? ((t5) => {
|
|
1385
1397
|
let e7 = "";
|
|
1386
|
-
for (const s4 of t5.cssRules)
|
|
1387
|
-
e7 += s4.cssText;
|
|
1398
|
+
for (const s4 of t5.cssRules) e7 += s4.cssText;
|
|
1388
1399
|
return r(e7);
|
|
1389
1400
|
})(t4) : t4;
|
|
1390
1401
|
|
|
@@ -1455,25 +1466,20 @@ var y = class extends HTMLElement {
|
|
|
1455
1466
|
return this.elementProperties.get(t4) ?? b;
|
|
1456
1467
|
}
|
|
1457
1468
|
static _$Ei() {
|
|
1458
|
-
if (this.hasOwnProperty(d("elementProperties")))
|
|
1459
|
-
return;
|
|
1469
|
+
if (this.hasOwnProperty(d("elementProperties"))) return;
|
|
1460
1470
|
const t4 = n2(this);
|
|
1461
1471
|
t4.finalize(), void 0 !== t4.l && (this.l = [...t4.l]), this.elementProperties = new Map(t4.elementProperties);
|
|
1462
1472
|
}
|
|
1463
1473
|
static finalize() {
|
|
1464
|
-
if (this.hasOwnProperty(d("finalized")))
|
|
1465
|
-
return;
|
|
1474
|
+
if (this.hasOwnProperty(d("finalized"))) return;
|
|
1466
1475
|
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
|
|
1467
1476
|
const t5 = this.properties, s4 = [...r2(t5), ...o2(t5)];
|
|
1468
|
-
for (const i7 of s4)
|
|
1469
|
-
this.createProperty(i7, t5[i7]);
|
|
1477
|
+
for (const i7 of s4) this.createProperty(i7, t5[i7]);
|
|
1470
1478
|
}
|
|
1471
1479
|
const t4 = this[Symbol.metadata];
|
|
1472
1480
|
if (null !== t4) {
|
|
1473
1481
|
const s4 = litPropertyMetadata.get(t4);
|
|
1474
|
-
if (void 0 !== s4)
|
|
1475
|
-
for (const [t5, i7] of s4)
|
|
1476
|
-
this.elementProperties.set(t5, i7);
|
|
1482
|
+
if (void 0 !== s4) for (const [t5, i7] of s4) this.elementProperties.set(t5, i7);
|
|
1477
1483
|
}
|
|
1478
1484
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
1479
1485
|
for (const [t5, s4] of this.elementProperties) {
|
|
@@ -1486,10 +1492,8 @@ var y = class extends HTMLElement {
|
|
|
1486
1492
|
const i7 = [];
|
|
1487
1493
|
if (Array.isArray(s4)) {
|
|
1488
1494
|
const e7 = new Set(s4.flat(1 / 0).reverse());
|
|
1489
|
-
for (const s5 of e7)
|
|
1490
|
-
|
|
1491
|
-
} else
|
|
1492
|
-
void 0 !== s4 && i7.push(c(s4));
|
|
1495
|
+
for (const s5 of e7) i7.unshift(c(s5));
|
|
1496
|
+
} else void 0 !== s4 && i7.push(c(s4));
|
|
1493
1497
|
return i7;
|
|
1494
1498
|
}
|
|
1495
1499
|
static _$Eu(t4, s4) {
|
|
@@ -1510,8 +1514,7 @@ var y = class extends HTMLElement {
|
|
|
1510
1514
|
}
|
|
1511
1515
|
_$E_() {
|
|
1512
1516
|
const t4 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
|
|
1513
|
-
for (const i7 of s4.keys())
|
|
1514
|
-
this.hasOwnProperty(i7) && (t4.set(i7, this[i7]), delete this[i7]);
|
|
1517
|
+
for (const i7 of s4.keys()) this.hasOwnProperty(i7) && (t4.set(i7, this[i7]), delete this[i7]);
|
|
1515
1518
|
t4.size > 0 && (this._$Ep = t4);
|
|
1516
1519
|
}
|
|
1517
1520
|
createRenderRoot() {
|
|
@@ -1546,8 +1549,7 @@ var y = class extends HTMLElement {
|
|
|
1546
1549
|
requestUpdate(t4, s4, i7) {
|
|
1547
1550
|
if (void 0 !== t4) {
|
|
1548
1551
|
const e7 = this.constructor, h3 = this[t4];
|
|
1549
|
-
if (i7 ??= e7.getPropertyOptions(t4), !((i7.hasChanged ?? f)(h3, s4) || i7.useDefault && i7.reflect && h3 === this._$Ej?.get(t4) && !this.hasAttribute(e7._$Eu(t4, i7))))
|
|
1550
|
-
return;
|
|
1552
|
+
if (i7 ??= e7.getPropertyOptions(t4), !((i7.hasChanged ?? f)(h3, s4) || i7.useDefault && i7.reflect && h3 === this._$Ej?.get(t4) && !this.hasAttribute(e7._$Eu(t4, i7)))) return;
|
|
1551
1553
|
this.C(t4, s4, i7);
|
|
1552
1554
|
}
|
|
1553
1555
|
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
@@ -1569,20 +1571,17 @@ var y = class extends HTMLElement {
|
|
|
1569
1571
|
return this.performUpdate();
|
|
1570
1572
|
}
|
|
1571
1573
|
performUpdate() {
|
|
1572
|
-
if (!this.isUpdatePending)
|
|
1573
|
-
return;
|
|
1574
|
+
if (!this.isUpdatePending) return;
|
|
1574
1575
|
if (!this.hasUpdated) {
|
|
1575
1576
|
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
1576
|
-
for (const [t6, s5] of this._$Ep)
|
|
1577
|
-
this[t6] = s5;
|
|
1577
|
+
for (const [t6, s5] of this._$Ep) this[t6] = s5;
|
|
1578
1578
|
this._$Ep = void 0;
|
|
1579
1579
|
}
|
|
1580
1580
|
const t5 = this.constructor.elementProperties;
|
|
1581
|
-
if (t5.size > 0)
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
}
|
|
1581
|
+
if (t5.size > 0) for (const [s5, i7] of t5) {
|
|
1582
|
+
const { wrapped: t6 } = i7, e7 = this[s5];
|
|
1583
|
+
true !== t6 || this._$AL.has(s5) || void 0 === e7 || this.C(s5, void 0, i7, e7);
|
|
1584
|
+
}
|
|
1586
1585
|
}
|
|
1587
1586
|
let t4 = false;
|
|
1588
1587
|
const s4 = this._$AL;
|
|
@@ -1651,8 +1650,7 @@ var E = Symbol.for("lit-nothing");
|
|
|
1651
1650
|
var A = /* @__PURE__ */ new WeakMap();
|
|
1652
1651
|
var C = r3.createTreeWalker(r3, 129);
|
|
1653
1652
|
function P(t4, i7) {
|
|
1654
|
-
if (!a2(t4) || !t4.hasOwnProperty("raw"))
|
|
1655
|
-
throw Error("invalid template strings array");
|
|
1653
|
+
if (!a2(t4) || !t4.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1656
1654
|
return void 0 !== s2 ? s2.createHTML(i7) : i7;
|
|
1657
1655
|
}
|
|
1658
1656
|
var V = (t4, i7) => {
|
|
@@ -1661,8 +1659,7 @@ var V = (t4, i7) => {
|
|
|
1661
1659
|
for (let i8 = 0; i8 < s4; i8++) {
|
|
1662
1660
|
const s5 = t4[i8];
|
|
1663
1661
|
let a3, u3, d3 = -1, y3 = 0;
|
|
1664
|
-
for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); )
|
|
1665
|
-
y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
|
|
1662
|
+
for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); ) y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
|
|
1666
1663
|
const x2 = c4 === m && t4[i8 + 1].startsWith("/>") ? " " : "";
|
|
1667
1664
|
l3 += c4 === f2 ? s5 + n3 : d3 >= 0 ? (o7.push(a3), s5.slice(0, d3) + e3 + s5.slice(d3) + h2 + x2) : s5 + h2 + (-2 === d3 ? i8 : x2);
|
|
1668
1665
|
}
|
|
@@ -1680,30 +1677,23 @@ var N = class _N {
|
|
|
1680
1677
|
}
|
|
1681
1678
|
for (; null !== (r6 = C.nextNode()) && d3.length < u3; ) {
|
|
1682
1679
|
if (1 === r6.nodeType) {
|
|
1683
|
-
if (r6.hasAttributes())
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
d3.push({ type: 1, index: c4, name: e7[2], strings: s5, ctor: "." === e7[1] ? H : "?" === e7[1] ? I : "@" === e7[1] ? L : k }), r6.removeAttribute(t5);
|
|
1688
|
-
} else
|
|
1689
|
-
t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t5));
|
|
1680
|
+
if (r6.hasAttributes()) for (const t5 of r6.getAttributeNames()) if (t5.endsWith(e3)) {
|
|
1681
|
+
const i7 = v2[a3++], s5 = r6.getAttribute(t5).split(h2), e7 = /([.?@])?(.*)/.exec(i7);
|
|
1682
|
+
d3.push({ type: 1, index: c4, name: e7[2], strings: s5, ctor: "." === e7[1] ? H : "?" === e7[1] ? I : "@" === e7[1] ? L : k }), r6.removeAttribute(t5);
|
|
1683
|
+
} else t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t5));
|
|
1690
1684
|
if ($.test(r6.tagName)) {
|
|
1691
1685
|
const t5 = r6.textContent.split(h2), s5 = t5.length - 1;
|
|
1692
1686
|
if (s5 > 0) {
|
|
1693
1687
|
r6.textContent = i3 ? i3.emptyScript : "";
|
|
1694
|
-
for (let i7 = 0; i7 < s5; i7++)
|
|
1695
|
-
r6.append(t5[i7], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
|
|
1688
|
+
for (let i7 = 0; i7 < s5; i7++) r6.append(t5[i7], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
|
|
1696
1689
|
r6.append(t5[s5], l2());
|
|
1697
1690
|
}
|
|
1698
1691
|
}
|
|
1699
|
-
} else if (8 === r6.nodeType)
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
for (; -1 !== (t5 = r6.data.indexOf(h2, t5 + 1)); )
|
|
1705
|
-
d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
|
|
1706
|
-
}
|
|
1692
|
+
} else if (8 === r6.nodeType) if (r6.data === o3) d3.push({ type: 2, index: c4 });
|
|
1693
|
+
else {
|
|
1694
|
+
let t5 = -1;
|
|
1695
|
+
for (; -1 !== (t5 = r6.data.indexOf(h2, t5 + 1)); ) d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
|
|
1696
|
+
}
|
|
1707
1697
|
c4++;
|
|
1708
1698
|
}
|
|
1709
1699
|
}
|
|
@@ -1713,8 +1703,7 @@ var N = class _N {
|
|
|
1713
1703
|
}
|
|
1714
1704
|
};
|
|
1715
1705
|
function S2(t4, i7, s4 = t4, e7) {
|
|
1716
|
-
if (i7 === T)
|
|
1717
|
-
return i7;
|
|
1706
|
+
if (i7 === T) return i7;
|
|
1718
1707
|
let h3 = void 0 !== e7 ? s4._$Co?.[e7] : s4._$Cl;
|
|
1719
1708
|
const o7 = c3(i7) ? void 0 : i7._$litDirective$;
|
|
1720
1709
|
return h3?.constructor !== o7 && (h3?._$AO?.(false), void 0 === o7 ? h3 = void 0 : (h3 = new o7(t4), h3._$AT(t4, s4, e7)), void 0 !== e7 ? (s4._$Co ??= [])[e7] = h3 : s4._$Cl = h3), void 0 !== h3 && (i7 = S2(t4, h3._$AS(t4, i7.values), h3, e7)), i7;
|
|
@@ -1744,8 +1733,7 @@ var M = class {
|
|
|
1744
1733
|
}
|
|
1745
1734
|
p(t4) {
|
|
1746
1735
|
let i7 = 0;
|
|
1747
|
-
for (const s4 of this._$AV)
|
|
1748
|
-
void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t4, s4, i7), i7 += s4.strings.length - 2) : s4._$AI(t4[i7])), i7++;
|
|
1736
|
+
for (const s4 of this._$AV) void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t4, s4, i7), i7 += s4.strings.length - 2) : s4._$AI(t4[i7])), i7++;
|
|
1749
1737
|
}
|
|
1750
1738
|
};
|
|
1751
1739
|
var R = class _R {
|
|
@@ -1780,8 +1768,7 @@ var R = class _R {
|
|
|
1780
1768
|
}
|
|
1781
1769
|
$(t4) {
|
|
1782
1770
|
const { values: i7, _$litType$: s4 } = t4, e7 = "number" == typeof s4 ? this._$AC(t4) : (void 0 === s4.el && (s4.el = N.createElement(P(s4.h, s4.h[0]), this.options)), s4);
|
|
1783
|
-
if (this._$AH?._$AD === e7)
|
|
1784
|
-
this._$AH.p(i7);
|
|
1771
|
+
if (this._$AH?._$AD === e7) this._$AH.p(i7);
|
|
1785
1772
|
else {
|
|
1786
1773
|
const t5 = new M(e7, this), s5 = t5.u(this.options);
|
|
1787
1774
|
t5.p(i7), this.T(s5), this._$AH = t5;
|
|
@@ -1795,8 +1782,7 @@ var R = class _R {
|
|
|
1795
1782
|
a2(this._$AH) || (this._$AH = [], this._$AR());
|
|
1796
1783
|
const i7 = this._$AH;
|
|
1797
1784
|
let s4, e7 = 0;
|
|
1798
|
-
for (const h3 of t4)
|
|
1799
|
-
e7 === i7.length ? i7.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i7[e7], s4._$AI(h3), e7++;
|
|
1785
|
+
for (const h3 of t4) e7 === i7.length ? i7.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i7[e7], s4._$AI(h3), e7++;
|
|
1800
1786
|
e7 < i7.length && (this._$AR(s4 && s4._$AB.nextSibling, e7), i7.length = e7);
|
|
1801
1787
|
}
|
|
1802
1788
|
_$AR(t4 = this._$AA.nextSibling, i7) {
|
|
@@ -1822,13 +1808,11 @@ var k = class {
|
|
|
1822
1808
|
_$AI(t4, i7 = this, s4, e7) {
|
|
1823
1809
|
const h3 = this.strings;
|
|
1824
1810
|
let o7 = false;
|
|
1825
|
-
if (void 0 === h3)
|
|
1826
|
-
t4 = S2(this, t4, i7, 0), o7 = !c3(t4) || t4 !== this._$AH && t4 !== T, o7 && (this._$AH = t4);
|
|
1811
|
+
if (void 0 === h3) t4 = S2(this, t4, i7, 0), o7 = !c3(t4) || t4 !== this._$AH && t4 !== T, o7 && (this._$AH = t4);
|
|
1827
1812
|
else {
|
|
1828
1813
|
const e8 = t4;
|
|
1829
1814
|
let n6, r6;
|
|
1830
|
-
for (t4 = h3[0], n6 = 0; n6 < h3.length - 1; n6++)
|
|
1831
|
-
r6 = S2(this, e8[s4 + n6], i7, n6), r6 === T && (r6 = this._$AH[n6]), o7 ||= !c3(r6) || r6 !== this._$AH[n6], r6 === E ? t4 = E : t4 !== E && (t4 += (r6 ?? "") + h3[n6 + 1]), this._$AH[n6] = r6;
|
|
1815
|
+
for (t4 = h3[0], n6 = 0; n6 < h3.length - 1; n6++) r6 = S2(this, e8[s4 + n6], i7, n6), r6 === T && (r6 = this._$AH[n6]), o7 ||= !c3(r6) || r6 !== this._$AH[n6], r6 === E ? t4 = E : t4 !== E && (t4 += (r6 ?? "") + h3[n6 + 1]), this._$AH[n6] = r6;
|
|
1832
1816
|
}
|
|
1833
1817
|
o7 && !e7 && this.j(t4);
|
|
1834
1818
|
}
|
|
@@ -1857,8 +1841,7 @@ var L = class extends k {
|
|
|
1857
1841
|
super(t4, i7, s4, e7, h3), this.type = 5;
|
|
1858
1842
|
}
|
|
1859
1843
|
_$AI(t4, i7 = this) {
|
|
1860
|
-
if ((t4 = S2(this, t4, i7, 0) ?? E) === T)
|
|
1861
|
-
return;
|
|
1844
|
+
if ((t4 = S2(this, t4, i7, 0) ?? E) === T) return;
|
|
1862
1845
|
const s4 = this._$AH, e7 = t4 === E && s4 !== E || t4.capture !== s4.capture || t4.once !== s4.once || t4.passive !== s4.passive, h3 = t4 !== E && (s4 === E || e7);
|
|
1863
1846
|
e7 && this.element.removeEventListener(this.name, this, s4), h3 && this.element.addEventListener(this.name, this, t4), this._$AH = t4;
|
|
1864
1847
|
}
|
|
@@ -2005,8 +1988,7 @@ var n5 = "important";
|
|
|
2005
1988
|
var i6 = " !" + n5;
|
|
2006
1989
|
var o6 = e6(class extends i5 {
|
|
2007
1990
|
constructor(t4) {
|
|
2008
|
-
if (super(t4), t4.type !== t3.ATTRIBUTE || "style" !== t4.name || t4.strings?.length > 2)
|
|
2009
|
-
throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
1991
|
+
if (super(t4), t4.type !== t3.ATTRIBUTE || "style" !== t4.name || t4.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2010
1992
|
}
|
|
2011
1993
|
render(t4) {
|
|
2012
1994
|
return Object.keys(t4).reduce((e7, r6) => {
|
|
@@ -2016,10 +1998,8 @@ var o6 = e6(class extends i5 {
|
|
|
2016
1998
|
}
|
|
2017
1999
|
update(e7, [r6]) {
|
|
2018
2000
|
const { style: s4 } = e7.element;
|
|
2019
|
-
if (void 0 === this.ft)
|
|
2020
|
-
|
|
2021
|
-
for (const t4 of this.ft)
|
|
2022
|
-
null == r6[t4] && (this.ft.delete(t4), t4.includes("-") ? s4.removeProperty(t4) : s4[t4] = null);
|
|
2001
|
+
if (void 0 === this.ft) return this.ft = new Set(Object.keys(r6)), this.render(r6);
|
|
2002
|
+
for (const t4 of this.ft) null == r6[t4] && (this.ft.delete(t4), t4.includes("-") ? s4.removeProperty(t4) : s4[t4] = null);
|
|
2023
2003
|
for (const t4 in r6) {
|
|
2024
2004
|
const e8 = r6[t4];
|
|
2025
2005
|
if (null != e8) {
|
|
@@ -2033,7 +2013,7 @@ var o6 = e6(class extends i5 {
|
|
|
2033
2013
|
});
|
|
2034
2014
|
|
|
2035
2015
|
// libs/embed-libs/embed/package.json
|
|
2036
|
-
var version = "6.
|
|
2016
|
+
var version = "6.7.0";
|
|
2037
2017
|
|
|
2038
2018
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
2039
2019
|
var LuzmoDashboardService = class {
|
|
@@ -2142,6 +2122,7 @@ var _setEventHandler = () => {
|
|
|
2142
2122
|
break;
|
|
2143
2123
|
}
|
|
2144
2124
|
case "chartsRendered":
|
|
2125
|
+
// TODO remove once chartsRendered is changed to itemsRendered in FE app
|
|
2145
2126
|
case "itemsRendered": {
|
|
2146
2127
|
event.data.type = "itemsRendered";
|
|
2147
2128
|
dashboardComponent.dispatchEvent(
|
|
@@ -2887,6 +2868,14 @@ var LuzmoDashboard = class extends i4 {
|
|
|
2887
2868
|
}
|
|
2888
2869
|
return setPreview(this, this.iframe, preview);
|
|
2889
2870
|
}
|
|
2871
|
+
sendExportEmail(type, subject, message) {
|
|
2872
|
+
if (this.isWebComponentViewMode() && this.dashboardReference) {
|
|
2873
|
+
return this.dashboardReference.sendExportEmail(type, subject, message);
|
|
2874
|
+
} else if (!this.isWebComponentViewMode()) {
|
|
2875
|
+
return sendExportEmail(this, this.iframe, type, subject, message);
|
|
2876
|
+
}
|
|
2877
|
+
return Promise.reject();
|
|
2878
|
+
}
|
|
2890
2879
|
isWebComponentViewMode() {
|
|
2891
2880
|
return this.embedMode === "webComponent" && (this.params.editMode === "view" || this.params.editMode === void 0);
|
|
2892
2881
|
}
|
|
@@ -3064,7 +3053,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
3064
3053
|
}
|
|
3065
3054
|
|
|
3066
3055
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
|
|
3067
|
-
var dashboardContentsVersion = "0.1.
|
|
3056
|
+
var dashboardContentsVersion = "0.1.98";
|
|
3068
3057
|
var vizItemRemote = "VizItemApp";
|
|
3069
3058
|
var LuzmoBaseVizItem = class extends i4 {
|
|
3070
3059
|
constructor() {
|
|
@@ -3596,86 +3585,28 @@ i4.disableWarning?.("change-in-update");
|
|
|
3596
3585
|
*)
|
|
3597
3586
|
|
|
3598
3587
|
@lit/reactive-element/reactive-element.js:
|
|
3599
|
-
(**
|
|
3600
|
-
* @license
|
|
3601
|
-
* Copyright 2017 Google LLC
|
|
3602
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3603
|
-
*)
|
|
3604
|
-
|
|
3605
3588
|
lit-html/lit-html.js:
|
|
3606
|
-
(**
|
|
3607
|
-
* @license
|
|
3608
|
-
* Copyright 2017 Google LLC
|
|
3609
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3610
|
-
*)
|
|
3611
|
-
|
|
3612
3589
|
lit-element/lit-element.js:
|
|
3613
|
-
(**
|
|
3614
|
-
* @license
|
|
3615
|
-
* Copyright 2017 Google LLC
|
|
3616
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3617
|
-
*)
|
|
3618
|
-
|
|
3619
|
-
lit-html/is-server.js:
|
|
3620
|
-
(**
|
|
3621
|
-
* @license
|
|
3622
|
-
* Copyright 2022 Google LLC
|
|
3623
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3624
|
-
*)
|
|
3625
|
-
|
|
3626
3590
|
@lit/reactive-element/decorators/custom-element.js:
|
|
3627
|
-
(**
|
|
3628
|
-
* @license
|
|
3629
|
-
* Copyright 2017 Google LLC
|
|
3630
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3631
|
-
*)
|
|
3632
|
-
|
|
3633
3591
|
@lit/reactive-element/decorators/property.js:
|
|
3634
|
-
(**
|
|
3635
|
-
* @license
|
|
3636
|
-
* Copyright 2017 Google LLC
|
|
3637
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3638
|
-
*)
|
|
3639
|
-
|
|
3640
3592
|
@lit/reactive-element/decorators/state.js:
|
|
3641
|
-
(**
|
|
3642
|
-
* @license
|
|
3643
|
-
* Copyright 2017 Google LLC
|
|
3644
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3645
|
-
*)
|
|
3646
|
-
|
|
3647
3593
|
@lit/reactive-element/decorators/event-options.js:
|
|
3648
|
-
(**
|
|
3649
|
-
* @license
|
|
3650
|
-
* Copyright 2017 Google LLC
|
|
3651
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3652
|
-
*)
|
|
3653
|
-
|
|
3654
3594
|
@lit/reactive-element/decorators/base.js:
|
|
3655
|
-
(**
|
|
3656
|
-
* @license
|
|
3657
|
-
* Copyright 2017 Google LLC
|
|
3658
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3659
|
-
*)
|
|
3660
|
-
|
|
3661
3595
|
@lit/reactive-element/decorators/query.js:
|
|
3662
|
-
(**
|
|
3663
|
-
* @license
|
|
3664
|
-
* Copyright 2017 Google LLC
|
|
3665
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3666
|
-
*)
|
|
3667
|
-
|
|
3668
3596
|
@lit/reactive-element/decorators/query-all.js:
|
|
3597
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
3598
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
3599
|
+
lit-html/directive.js:
|
|
3669
3600
|
(**
|
|
3670
3601
|
* @license
|
|
3671
3602
|
* Copyright 2017 Google LLC
|
|
3672
3603
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3673
3604
|
*)
|
|
3674
3605
|
|
|
3675
|
-
|
|
3606
|
+
lit-html/is-server.js:
|
|
3676
3607
|
(**
|
|
3677
3608
|
* @license
|
|
3678
|
-
* Copyright
|
|
3609
|
+
* Copyright 2022 Google LLC
|
|
3679
3610
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3680
3611
|
*)
|
|
3681
3612
|
|
|
@@ -3686,20 +3617,6 @@ lit-html/is-server.js:
|
|
|
3686
3617
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3687
3618
|
*)
|
|
3688
3619
|
|
|
3689
|
-
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
3690
|
-
(**
|
|
3691
|
-
* @license
|
|
3692
|
-
* Copyright 2017 Google LLC
|
|
3693
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3694
|
-
*)
|
|
3695
|
-
|
|
3696
|
-
lit-html/directive.js:
|
|
3697
|
-
(**
|
|
3698
|
-
* @license
|
|
3699
|
-
* Copyright 2017 Google LLC
|
|
3700
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3701
|
-
*)
|
|
3702
|
-
|
|
3703
3620
|
lit-html/directives/style-map.js:
|
|
3704
3621
|
(**
|
|
3705
3622
|
* @license
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.7.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"lit": "3.3.0",
|
|
6
|
-
"@luzmo/shared-embed": "5.
|
|
7
|
-
"@luzmo/dashboard-contents-types": "1.0.
|
|
6
|
+
"@luzmo/shared-embed": "5.6.0",
|
|
7
|
+
"@luzmo/dashboard-contents-types": "1.0.18"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"es6",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FilterGroup } from '@luzmo/dashboard-contents-types';
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
import { CombinedSelectedDataInput, DashboardInputs, LuzmoElement } from '@luzmo/shared-embed';
|
|
3
|
+
import { CombinedSelectedDataInput, DashboardInputs, LuzmoElement, PartialRecord, SupportedLanguage } from '@luzmo/shared-embed';
|
|
4
4
|
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
5
5
|
export declare class LuzmoDashboard extends LitElement implements SharedLib.WebComponentLuzmoDashboard {
|
|
6
6
|
container: HTMLElement;
|
|
@@ -92,5 +92,6 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.WebC
|
|
|
92
92
|
addFilters(itemId: string, filters: FilterGroup[]): Promise<SharedLib.AddFilters>;
|
|
93
93
|
setEditMode(editMode?: SharedLib.DashboardEditMode): Promise<SharedLib.SetEditMode>;
|
|
94
94
|
setPreview(preview: boolean): Promise<SharedLib.SetPreview>;
|
|
95
|
+
sendExportEmail(type?: SharedLib.SendExportEmailType, subject?: PartialRecord<SupportedLanguage, string>, message?: PartialRecord<SupportedLanguage, string>): Promise<void>;
|
|
95
96
|
isWebComponentViewMode(): boolean;
|
|
96
97
|
}
|
|
@@ -9,7 +9,7 @@ import { LitElement, PropertyValues } from 'lit';
|
|
|
9
9
|
* together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
|
|
10
10
|
* and if needed the migration will be applied on the dashboard app level.
|
|
11
11
|
*/
|
|
12
|
-
export declare const dashboardContentsVersion = "0.1.
|
|
12
|
+
export declare const dashboardContentsVersion = "0.1.98";
|
|
13
13
|
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
14
|
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
15
|
options?: VizItemOptions;
|