@luzmo/embed 6.0.0 → 6.0.1

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
@@ -5,17 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  - Fix for loader color when embedding dashboard as a web component, and other bug fixes
7
7
 
8
- ## [6.0.0] - 2024-07-11
8
+ ## [6.0.0] - 2024-05-31
9
9
 
10
10
  ### Breaking changes
11
11
 
12
12
  - Removed `<luzmo-dashboard>` web component, It has been replaced with `<luzmo-embed-dashboard>`.
13
13
  - `LuzmoDashboard` has been replaced with `LuzmoEmbedDashboard`
14
14
 
15
- ### Bugfixes
16
-
17
- - Fix for loader color when embedding dashboard as a web component, and other bug fixes
18
-
19
15
  ## [5.1.5] - 2024-05-03
20
16
 
21
17
  ### Bugfixes
package/MIGRATIONS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Luzmo embed migrations
2
2
 
3
- ## [5.X.X] -> [6.0.0] - 2024-07-11
3
+ ## [5.X.X] -> [6.0.0] - 2024-05-31
4
4
 
5
5
  ### Breaking changes
6
6
 
package/index.cjs CHANGED
@@ -54,7 +54,7 @@ var import_style_map = require("lit/directives/style-map.js");
54
54
  var import_shared_embed = require("@luzmo/shared-embed");
55
55
 
56
56
  // libs/embed-libs/embed/package.json
57
- var version = "6.0.0";
57
+ var version = "6.0.1";
58
58
 
59
59
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
60
60
  var LuzmoService = class {
package/index.js CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  } from "@luzmo/shared-embed";
38
38
 
39
39
  // libs/embed-libs/embed/package.json
40
- var version = "6.0.0";
40
+ var version = "6.0.1";
41
41
 
42
42
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
43
43
  var LuzmoService = class {
@@ -1906,7 +1906,7 @@ var o5 = e6(class extends i4 {
1906
1906
  });
1907
1907
 
1908
1908
  // libs/embed-libs/embed/package.json
1909
- var version = "6.0.0";
1909
+ var version = "6.0.1";
1910
1910
 
1911
1911
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
1912
1912
  var LuzmoService = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "dependencies": {
5
5
  "lit": "3.1.2",
6
6
  "@luzmo/shared-embed": "5.0.9"
package/src/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, Filter, FilterExpression, FilterOrigin, FilterInput, FilterGroup, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode } from '@luzmo/shared-embed';
2
- export * from './lib/dashboard-component/dashboard-component';
@@ -1,98 +0,0 @@
1
- import * as SharedLib from '@luzmo/shared-embed';
2
- import { LitElement, PropertyValues, TemplateResult } from 'lit';
3
- import { CombinedFilterInput } from '@luzmo/shared-embed';
4
- /**
5
- * Luzmo Dashboard
6
- * Base component isn't registered in customEvents registry so that it can be reused.
7
- */
8
- export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6LuzmoDashboard {
9
- container: HTMLElement;
10
- luzmoEmbedContainer: HTMLElement;
11
- iframe: HTMLIFrameElement;
12
- dashboardId?: SharedLib.DashboardInputs['dashboardId'];
13
- dashboardSlug?: SharedLib.DashboardInputs['dashboardSlug'];
14
- itemId?: SharedLib.DashboardInputs['itemId'];
15
- language: SharedLib.DashboardInputs['language'];
16
- qeVersion: SharedLib.DashboardInputs['qeVersion'];
17
- screenMode: SharedLib.DashboardInputs['screenMode'];
18
- switchScreenModeOnResize: boolean;
19
- editMode: SharedLib.DashboardInputs['editMode'];
20
- mainColor?: SharedLib.DashboardInputs['mainColor'];
21
- accentColor?: SharedLib.DashboardInputs['accentColor'];
22
- authToken?: SharedLib.DashboardInputs['authToken'];
23
- authKey?: SharedLib.DashboardInputs['authKey'];
24
- loaderBackground?: SharedLib.DashboardInputs['loaderBackground'];
25
- loaderFontColor?: SharedLib.DashboardInputs['loaderFontColor'];
26
- loaderSpinnerColor?: SharedLib.DashboardInputs['loaderSpinnerColor'];
27
- loaderSpinnerBackground?: SharedLib.DashboardInputs['loaderSpinnerBackground'];
28
- appServer?: SharedLib.DashboardInputs['appServer'];
29
- timezoneId?: SharedLib.DashboardInputs['timezoneId'];
30
- apiHost?: SharedLib.DashboardInputs['apiHost'];
31
- itemDimensions: SharedLib.DashboardInputs['itemDimensions'];
32
- experimental: boolean;
33
- _containerId: string;
34
- _iframeId: string;
35
- params: SharedLib.DashboardContentParams;
36
- _iframeUrl?: string;
37
- iframeLoaded: boolean;
38
- promises: SharedLib.DashboardPromises;
39
- iframeStyle: SharedLib.IframeStyles;
40
- _containerStyle: SharedLib.ContainerStyles;
41
- _loaderStyle: SharedLib.LoaderStyles;
42
- _lcStyle: SharedLib.LcStyles;
43
- _loadingCircleStyle: SharedLib.PlStyles;
44
- _containerLoaderStyle: SharedLib.ContainerLoaderStyles;
45
- _loaderMsg: string;
46
- containerWidth?: number;
47
- dimensions?: SharedLib.DashboardDimensions;
48
- currentScreenMode?: SharedLib.ScreenMode;
49
- _itemEmbedding: boolean;
50
- browserError: boolean;
51
- browserErrorMsg: string;
52
- dashboardError: boolean;
53
- browserNotSupported: any[];
54
- VERSION: string;
55
- protected isLibraryLoaded: boolean;
56
- protected dashboardReference: SharedLib.LuzmoElement;
57
- currentAuthKey: string;
58
- currentAuthToken: string;
59
- isInitCalled: boolean;
60
- private attributesMap;
61
- _loadTimeoutHandle?: number;
62
- _onResize: () => void;
63
- loaderSize: number;
64
- borderWidth: number;
65
- minHeight: number;
66
- iframeHeight?: string;
67
- iframeWidth?: string;
68
- _resizeObserver: ResizeObserver;
69
- constructor();
70
- private loadLibrary;
71
- connectedCallback(): void;
72
- disconnectedCallback(): void;
73
- firstUpdated(): void;
74
- initComponent(): void;
75
- setAllAttributes(): void;
76
- updated(changedProperties: PropertyValues): void;
77
- _setOptions(): SharedLib.DashboardContentParams;
78
- _updateIframeUrl(): void;
79
- _setupLoader(): void;
80
- _displayError(): void;
81
- _calculateDimAfterDashboardLoaded(): void;
82
- _loaderStyles(): void;
83
- static get styles(): import("lit").CSSResult[];
84
- render(): TemplateResult;
85
- getDashboards(): Promise<LuzmoDashboard[]>;
86
- getData(itemId: string): Promise<SharedLib.ItemData>;
87
- getFilters(): Promise<SharedLib.FilterGroup[]>;
88
- setFilters<K extends CombinedFilterInput>(itemId: string, filters: K): Promise<SharedLib.SetFilters>;
89
- setAuthorization(key: string, token: string): Promise<void>;
90
- refreshData(itemId?: string): Promise<void>;
91
- reloadDashboard(): Promise<void>;
92
- exportDashboard(format?: SharedLib.ExportType): Promise<SharedLib.ExportDashboard>;
93
- getAccessibleDashboards(): Promise<SharedLib.AccessibleDashboard[]>;
94
- addFilters(itemId: string, filters: SharedLib.FilterGroup[]): Promise<SharedLib.AddFilters>;
95
- setEditMode(editMode?: SharedLib.DashboardEditMode): Promise<SharedLib.SetEditMode>;
96
- setPreview(preview: boolean): Promise<SharedLib.SetPreview>;
97
- getIsViewMode(): boolean;
98
- }
@@ -1,8 +0,0 @@
1
- import { LuzmoDashboard } from './dashboard-base';
2
- /**!
3
- * @element luzmo-embed-dashboard
4
- * @description Exposed by @luzmo/embed lib to everyone.
5
- *
6
- */
7
- export declare class LuzmoEmbedDashboard extends LuzmoDashboard {
8
- }
@@ -1 +0,0 @@
1
- export declare const dashboardStyles: import("lit").CSSResult;
@@ -1 +0,0 @@
1
- export declare const _setEventHandler: () => void;
@@ -1,6 +0,0 @@
1
- import { LuzmoDashboard } from './dashboard-component/dashboard-base';
2
- declare class LuzmoService {
3
- _components: LuzmoDashboard[];
4
- }
5
- declare const _default: LuzmoService;
6
- export default _default;