@luzmo/embed 5.0.8 → 5.0.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/CHANGELOG.md +12 -0
- package/README.md +8 -8
- package/index.cjs +99 -1241
- package/index.js +83 -1231
- package/lib/dashboard-component/dashboard-component.d.ts +2 -0
- package/luzmo-embed.min.js +25 -5
- package/package.json +1 -1
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.10] - 2024-03-11
|
|
5
|
+
|
|
6
|
+
### Bugfixes
|
|
7
|
+
|
|
8
|
+
- Use display block for the luzmo-dashboard component
|
|
9
|
+
|
|
10
|
+
## [5.0.9] - 2024-03-07
|
|
11
|
+
|
|
12
|
+
### Bugfixes
|
|
13
|
+
|
|
14
|
+
- Fixed EDE width and height issue not being 100%.
|
|
15
|
+
|
|
4
16
|
## [5.0.8] - 2024-03-05
|
|
5
17
|
|
|
6
18
|
### Updates
|
package/README.md
CHANGED
|
@@ -62,13 +62,13 @@ OR
|
|
|
62
62
|
Below a list of available properties on the dashboard web component
|
|
63
63
|
|
|
64
64
|
| Property | Type | Description |
|
|
65
|
-
|
|
66
|
-
| `dashboardId` | string | The id of the Luzmo dashboard you wish to embed
|
|
67
|
-
| `dashboardSlug` | string | The slug of the Luzmo dashboard you wish to embed (if a dashboardId is supplied that one will be used)
|
|
68
|
-
| `itemId` | string | The id of the Luzmo item you wish to embed
|
|
65
|
+
|----------------------------|--------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
66
|
+
| `dashboardId` | string | The id of the Luzmo dashboard you wish to embed |
|
|
67
|
+
| `dashboardSlug` | string | The slug of the Luzmo dashboard you wish to embed (if a dashboardId is supplied that one will be used) |
|
|
68
|
+
| `itemId` | string | The id of the Luzmo item you wish to embed. The `dashboardId` should be provided as well if you what to embed just a Luzmo item. |
|
|
69
69
|
| `itemDimensions` | { width: number/string; height: number/string; } | width and height of item only applies when itemId is provided. Accepts a JSON string. |
|
|
70
|
-
| `authKey` | string | Authorization key generated via Luzmo API
|
|
71
|
-
| `authToken` | string | Authorization token generated via Luzmo API
|
|
70
|
+
| `authKey` | string | Authorization key generated via Luzmo API |
|
|
71
|
+
| `authToken` | string | Authorization token generated via Luzmo API |
|
|
72
72
|
| `language` | string | The language of the dashboard: eg. 'en' (Default: 'auto') |
|
|
73
73
|
| `screenMode` | string | The screen mode of your dashboard: 'mobile', 'tablet', 'desktop', 'largeScreen', 'fixed' or 'auto' (Default: 'auto') |
|
|
74
74
|
| `switchScreenModeOnResize` | boolean | true: the embedded dashboard can switch screenModes on resize of the container , false: Dashboard will keep the same screenMode (Default: true) |
|
|
@@ -76,9 +76,9 @@ Below a list of available properties on the dashboard web component
|
|
|
76
76
|
| `loaderFontColor` | string | Font color of the text of the loaders (Default: '#5a5a5a') |
|
|
77
77
|
| `loaderSpinnerColor` | string | Spinner color of the loader (Default: 'rgba(255, 165, 0, 0.7)') |
|
|
78
78
|
| `loaderSpinnerBackground` | string | Background color of the spinner (Default: 'rgba(169, 169, 169, 0.14)') |
|
|
79
|
-
| `appServer` | string | Tenancy of luzmo.com to connect to (Default: 'https://app.luzmo.com/' for US set appServer to 'https://app.us.luzmo.com/')
|
|
79
|
+
| `appServer` | string | Tenancy of luzmo.com to connect to (Default: 'https://app.luzmo.com/' for US set appServer to 'https://app.us.luzmo.com/') |
|
|
80
80
|
| `timezoneId` | string | The timezone you you wish to use in your dashboard. This timezone id needs to be a valid id that is available in the [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List), for example: Europe/Brussels or America/New_York. |
|
|
81
|
-
| `apiHost` | string | API server to connect to (Default: 'https://api.luzmo.com/' , for US set apiHost to 'https://api.us.luzmo.com/')
|
|
81
|
+
| `apiHost` | string | API server to connect to (Default: 'https://api.luzmo.com/' , for US set apiHost to 'https://api.us.luzmo.com/') |
|
|
82
82
|
| `editMode` | string | Specifies if the embedded dashboard should be editable or not. Accepted values: "view" , "editLimited" , "editFull" . Use "view" if you don't want the embedded dashboard to be editable. (Default: "view" ) |
|
|
83
83
|
| `mainColor` | string | Optional override of the main color used in the whitelabeling of the embedded dashboard editor. If not provided, the main color of the whitelabeling colors set on the organization will be used. Should be specified as a string of rgb values (i.e. "rgb(50,50,50)"). |
|
|
84
84
|
| `accentColor` | string | Optional override of the accent color used in the whitelabeling of the embedded dashboard editor. If not provided, the accent color of the whitelabeling colors set on the organization will be used. Should be specified as a string of rgb values (i.e. "rgb(50,50,50)"). |
|