@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/luzmo-embed.min.js
CHANGED
|
@@ -42,7 +42,8 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
42
42
|
// libs/embed-libs/embed/src/index.ts
|
|
43
43
|
var src_exports2 = {};
|
|
44
44
|
__export(src_exports2, {
|
|
45
|
-
LuzmoDashboard: () => LuzmoDashboard
|
|
45
|
+
LuzmoDashboard: () => LuzmoDashboard,
|
|
46
|
+
LuzmoDashboardWebComponent: () => LuzmoDashboardWebComponent
|
|
46
47
|
});
|
|
47
48
|
module.exports = __toCommonJS(src_exports2);
|
|
48
49
|
|
|
@@ -1922,7 +1923,7 @@ var o5 = e6(class extends i4 {
|
|
|
1922
1923
|
});
|
|
1923
1924
|
|
|
1924
1925
|
// libs/embed-libs/embed/package.json
|
|
1925
|
-
var version = "5.0.
|
|
1926
|
+
var version = "5.0.10";
|
|
1926
1927
|
|
|
1927
1928
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
1928
1929
|
var LuzmoService = class {
|
|
@@ -2089,6 +2090,10 @@ var _setEventHandler = () => {
|
|
|
2089
2090
|
|
|
2090
2091
|
// libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.ts
|
|
2091
2092
|
var dashboardStyles = i`
|
|
2093
|
+
:host {
|
|
2094
|
+
display: block;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2092
2097
|
@-webkit-keyframes spin {
|
|
2093
2098
|
0% {
|
|
2094
2099
|
-webkit-transform: rotate(0deg);
|
|
@@ -2121,6 +2126,11 @@ var dashboardStyles = i`
|
|
|
2121
2126
|
border: 0;
|
|
2122
2127
|
}
|
|
2123
2128
|
|
|
2129
|
+
.luzmo-embed-container-ede {
|
|
2130
|
+
width: 100%;
|
|
2131
|
+
height: 100%;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2124
2134
|
.luzmo-container-loader {
|
|
2125
2135
|
width: 100%;
|
|
2126
2136
|
position: relative;
|
|
@@ -2645,7 +2655,7 @@ var LuzmoDashboard = class extends s3 {
|
|
|
2645
2655
|
`;
|
|
2646
2656
|
}
|
|
2647
2657
|
return x`
|
|
2648
|
-
<div class="${luzmoEmbedContainerClass}">
|
|
2658
|
+
<div class="${luzmoEmbedContainerClass} ${!this.getIsViewMode() ? `${luzmoEmbedContainerClass}-ede` : ""}">
|
|
2649
2659
|
<div
|
|
2650
2660
|
class="dashboard-container"
|
|
2651
2661
|
style=${o5(Object.assign({}, this._containerStyle, {
|
|
@@ -2855,7 +2865,12 @@ __decorateClass([
|
|
|
2855
2865
|
n4({ type: Object })
|
|
2856
2866
|
], LuzmoDashboard.prototype, "itemDimensions", 2);
|
|
2857
2867
|
__decorateClass([
|
|
2858
|
-
n4(
|
|
2868
|
+
n4({
|
|
2869
|
+
converter: {
|
|
2870
|
+
fromAttribute: (value) => value === "true",
|
|
2871
|
+
toAttribute: String
|
|
2872
|
+
}
|
|
2873
|
+
})
|
|
2859
2874
|
], LuzmoDashboard.prototype, "experimental", 2);
|
|
2860
2875
|
__decorateClass([
|
|
2861
2876
|
n4({ attribute: false })
|
|
@@ -2921,7 +2936,7 @@ __decorateClass([
|
|
|
2921
2936
|
n4({ attribute: false })
|
|
2922
2937
|
], LuzmoDashboard.prototype, "browserNotSupported", 2);
|
|
2923
2938
|
__decorateClass([
|
|
2924
|
-
n4(
|
|
2939
|
+
n4()
|
|
2925
2940
|
], LuzmoDashboard.prototype, "VERSION", 2);
|
|
2926
2941
|
__decorateClass([
|
|
2927
2942
|
r6()
|
|
@@ -2932,6 +2947,11 @@ __decorateClass([
|
|
|
2932
2947
|
LuzmoDashboard = __decorateClass([
|
|
2933
2948
|
t3("luzmo-dashboard")
|
|
2934
2949
|
], LuzmoDashboard);
|
|
2950
|
+
var LuzmoDashboardWebComponent = class extends LuzmoDashboard {
|
|
2951
|
+
};
|
|
2952
|
+
LuzmoDashboardWebComponent = __decorateClass([
|
|
2953
|
+
t3("luzmo-dashboard-web-component")
|
|
2954
|
+
], LuzmoDashboardWebComponent);
|
|
2935
2955
|
/*! Bundled license information:
|
|
2936
2956
|
|
|
2937
2957
|
@lit/reactive-element/css-tag.js:
|