@luzmo/embed 5.1.3-beta.3 → 5.1.3-beta.4
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/index.cjs +9 -3
- package/index.js +9 -3
- package/index.libs.cjs +9 -3
- package/index.libs.js +9 -3
- package/lib/viz-item/viz-item.base.d.ts +3 -1
- package/luzmo-embed.libs.js +12 -5
- package/luzmo-embed.min.js +12 -5
- package/package.json +2 -2
- package/src/lib/viz-item/viz-item.base.d.ts +3 -1
package/index.cjs
CHANGED
|
@@ -56,7 +56,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
56
56
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
57
57
|
|
|
58
58
|
// libs/embed-libs/embed/package.json
|
|
59
|
-
var version = "5.1.3-beta.
|
|
59
|
+
var version = "5.1.3-beta.4";
|
|
60
60
|
|
|
61
61
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
62
62
|
var LuzmoService = class {
|
|
@@ -1151,8 +1151,8 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
} catch (err) {
|
|
1153
1153
|
const validationError = (0, import_zod_validation_error.fromError)(err);
|
|
1154
|
-
console.
|
|
1155
|
-
console.
|
|
1154
|
+
console.warn(err);
|
|
1155
|
+
console.warn(validationError.toString());
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
render() {
|
|
@@ -1200,6 +1200,12 @@ __decorateClass([
|
|
|
1200
1200
|
__decorateClass([
|
|
1201
1201
|
(0, import_decorators3.property)({ type: Array })
|
|
1202
1202
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
1203
|
+
__decorateClass([
|
|
1204
|
+
(0, import_decorators3.property)()
|
|
1205
|
+
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
1206
|
+
__decorateClass([
|
|
1207
|
+
(0, import_decorators3.property)()
|
|
1208
|
+
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
1203
1209
|
|
|
1204
1210
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
|
|
1205
1211
|
var LuzmoVizItem = class extends LuzmoBaseVizItem {
|
package/index.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "@luzmo/shared-embed";
|
|
35
35
|
|
|
36
36
|
// libs/embed-libs/embed/package.json
|
|
37
|
-
var version = "5.1.3-beta.
|
|
37
|
+
var version = "5.1.3-beta.4";
|
|
38
38
|
|
|
39
39
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
40
40
|
var LuzmoService = class {
|
|
@@ -1129,8 +1129,8 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
} catch (err) {
|
|
1131
1131
|
const validationError = fromError(err);
|
|
1132
|
-
console.
|
|
1133
|
-
console.
|
|
1132
|
+
console.warn(err);
|
|
1133
|
+
console.warn(validationError.toString());
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
render() {
|
|
@@ -1178,6 +1178,12 @@ __decorateClass([
|
|
|
1178
1178
|
__decorateClass([
|
|
1179
1179
|
property2({ type: Array })
|
|
1180
1180
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
1181
|
+
__decorateClass([
|
|
1182
|
+
property2()
|
|
1183
|
+
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
1184
|
+
__decorateClass([
|
|
1185
|
+
property2()
|
|
1186
|
+
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
1181
1187
|
|
|
1182
1188
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
|
|
1183
1189
|
var LuzmoVizItem = class extends LuzmoBaseVizItem {
|
package/index.libs.cjs
CHANGED
|
@@ -55,7 +55,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
55
55
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
56
56
|
|
|
57
57
|
// libs/embed-libs/embed/package.json
|
|
58
|
-
var version = "5.1.3-beta.
|
|
58
|
+
var version = "5.1.3-beta.4";
|
|
59
59
|
|
|
60
60
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
61
61
|
var LuzmoService = class {
|
|
@@ -1145,8 +1145,8 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
} catch (err) {
|
|
1147
1147
|
const validationError = (0, import_zod_validation_error.fromError)(err);
|
|
1148
|
-
console.
|
|
1149
|
-
console.
|
|
1148
|
+
console.warn(err);
|
|
1149
|
+
console.warn(validationError.toString());
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
1152
|
render() {
|
|
@@ -1194,6 +1194,12 @@ __decorateClass([
|
|
|
1194
1194
|
__decorateClass([
|
|
1195
1195
|
(0, import_decorators3.property)({ type: Array })
|
|
1196
1196
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
1197
|
+
__decorateClass([
|
|
1198
|
+
(0, import_decorators3.property)()
|
|
1199
|
+
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
1200
|
+
__decorateClass([
|
|
1201
|
+
(0, import_decorators3.property)()
|
|
1202
|
+
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
1197
1203
|
|
|
1198
1204
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-web-component.ts
|
|
1199
1205
|
var LuzmoVizItemWebComponent = class extends LuzmoBaseVizItem {
|
package/index.libs.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "@luzmo/shared-embed";
|
|
33
33
|
|
|
34
34
|
// libs/embed-libs/embed/package.json
|
|
35
|
-
var version = "5.1.3-beta.
|
|
35
|
+
var version = "5.1.3-beta.4";
|
|
36
36
|
|
|
37
37
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
38
38
|
var LuzmoService = class {
|
|
@@ -1122,8 +1122,8 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
} catch (err) {
|
|
1124
1124
|
const validationError = fromError(err);
|
|
1125
|
-
console.
|
|
1126
|
-
console.
|
|
1125
|
+
console.warn(err);
|
|
1126
|
+
console.warn(validationError.toString());
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
1129
|
render() {
|
|
@@ -1171,6 +1171,12 @@ __decorateClass([
|
|
|
1171
1171
|
__decorateClass([
|
|
1172
1172
|
property2({ type: Array })
|
|
1173
1173
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
1174
|
+
__decorateClass([
|
|
1175
|
+
property2()
|
|
1176
|
+
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
1177
|
+
__decorateClass([
|
|
1178
|
+
property2()
|
|
1179
|
+
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
1174
1180
|
|
|
1175
1181
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-web-component.ts
|
|
1176
1182
|
var LuzmoVizItemWebComponent = class extends LuzmoBaseVizItem {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class LuzmoBaseVizItem extends LitElement {
|
|
3
|
+
export declare class LuzmoBaseVizItem extends LitElement implements SharedLib.LuzmoVizItemComponentInterface {
|
|
4
4
|
appServer: string;
|
|
5
5
|
apiHost: string;
|
|
6
6
|
slots: SharedLib.Slots;
|
|
@@ -12,6 +12,8 @@ export declare class LuzmoBaseVizItem extends LitElement {
|
|
|
12
12
|
contextId?: string;
|
|
13
13
|
canFilter?: SharedLib.CanFilter;
|
|
14
14
|
filters?: SharedLib.FilterGroup[];
|
|
15
|
+
dashboardId?: string;
|
|
16
|
+
itemId?: string;
|
|
15
17
|
chartElement: HTMLElement;
|
|
16
18
|
static styles: import("lit").CSSResult;
|
|
17
19
|
constructor();
|
package/luzmo-embed.libs.js
CHANGED
|
@@ -5525,7 +5525,6 @@ var vizItemOptionsParser = z.object({
|
|
|
5525
5525
|
var canFilterParser = z.union([z.array(z.string()), z.literal("all")]);
|
|
5526
5526
|
var libraryTypeToWebComponentTypeMapping = {
|
|
5527
5527
|
type: "type",
|
|
5528
|
-
theme: "theme",
|
|
5529
5528
|
slots: "slots",
|
|
5530
5529
|
options: "options",
|
|
5531
5530
|
appServer: "app-server",
|
|
@@ -5534,7 +5533,9 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
5534
5533
|
authToken: "auth-token",
|
|
5535
5534
|
contextId: "context-id",
|
|
5536
5535
|
canFilter: "can-filter",
|
|
5537
|
-
filters: "filters"
|
|
5536
|
+
filters: "filters",
|
|
5537
|
+
dashboardId: "dashboard-id",
|
|
5538
|
+
itemId: "item-id"
|
|
5538
5539
|
};
|
|
5539
5540
|
|
|
5540
5541
|
// libs/embed-libs/shared-embed/src/lib/constants/class-constants.ts
|
|
@@ -5969,7 +5970,7 @@ var o5 = e6(class extends i4 {
|
|
|
5969
5970
|
});
|
|
5970
5971
|
|
|
5971
5972
|
// libs/embed-libs/embed/package.json
|
|
5972
|
-
var version = "5.1.3-beta.
|
|
5973
|
+
var version = "5.1.3-beta.4";
|
|
5973
5974
|
|
|
5974
5975
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
5975
5976
|
var LuzmoService = class {
|
|
@@ -7208,8 +7209,8 @@ var LuzmoBaseVizItem = class extends s3 {
|
|
|
7208
7209
|
}
|
|
7209
7210
|
} catch (err) {
|
|
7210
7211
|
const validationError = fromError(err);
|
|
7211
|
-
console.
|
|
7212
|
-
console.
|
|
7212
|
+
console.warn(err);
|
|
7213
|
+
console.warn(validationError.toString());
|
|
7213
7214
|
}
|
|
7214
7215
|
}
|
|
7215
7216
|
render() {
|
|
@@ -7257,6 +7258,12 @@ __decorateClass([
|
|
|
7257
7258
|
__decorateClass([
|
|
7258
7259
|
n3({ type: Array })
|
|
7259
7260
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
7261
|
+
__decorateClass([
|
|
7262
|
+
n3()
|
|
7263
|
+
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
7264
|
+
__decorateClass([
|
|
7265
|
+
n3()
|
|
7266
|
+
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
7260
7267
|
|
|
7261
7268
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-web-component.ts
|
|
7262
7269
|
var LuzmoVizItemWebComponent = class extends LuzmoBaseVizItem {
|
package/luzmo-embed.min.js
CHANGED
|
@@ -5526,7 +5526,6 @@ var vizItemOptionsParser = z.object({
|
|
|
5526
5526
|
var canFilterParser = z.union([z.array(z.string()), z.literal("all")]);
|
|
5527
5527
|
var libraryTypeToWebComponentTypeMapping = {
|
|
5528
5528
|
type: "type",
|
|
5529
|
-
theme: "theme",
|
|
5530
5529
|
slots: "slots",
|
|
5531
5530
|
options: "options",
|
|
5532
5531
|
appServer: "app-server",
|
|
@@ -5535,7 +5534,9 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
5535
5534
|
authToken: "auth-token",
|
|
5536
5535
|
contextId: "context-id",
|
|
5537
5536
|
canFilter: "can-filter",
|
|
5538
|
-
filters: "filters"
|
|
5537
|
+
filters: "filters",
|
|
5538
|
+
dashboardId: "dashboard-id",
|
|
5539
|
+
itemId: "item-id"
|
|
5539
5540
|
};
|
|
5540
5541
|
|
|
5541
5542
|
// libs/embed-libs/shared-embed/src/lib/constants/class-constants.ts
|
|
@@ -5970,7 +5971,7 @@ var o5 = e6(class extends i4 {
|
|
|
5970
5971
|
});
|
|
5971
5972
|
|
|
5972
5973
|
// libs/embed-libs/embed/package.json
|
|
5973
|
-
var version = "5.1.3-beta.
|
|
5974
|
+
var version = "5.1.3-beta.4";
|
|
5974
5975
|
|
|
5975
5976
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
5976
5977
|
var LuzmoService = class {
|
|
@@ -7214,8 +7215,8 @@ var LuzmoBaseVizItem = class extends s3 {
|
|
|
7214
7215
|
}
|
|
7215
7216
|
} catch (err) {
|
|
7216
7217
|
const validationError = fromError(err);
|
|
7217
|
-
console.
|
|
7218
|
-
console.
|
|
7218
|
+
console.warn(err);
|
|
7219
|
+
console.warn(validationError.toString());
|
|
7219
7220
|
}
|
|
7220
7221
|
}
|
|
7221
7222
|
render() {
|
|
@@ -7263,6 +7264,12 @@ __decorateClass([
|
|
|
7263
7264
|
__decorateClass([
|
|
7264
7265
|
n3({ type: Array })
|
|
7265
7266
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
7267
|
+
__decorateClass([
|
|
7268
|
+
n3()
|
|
7269
|
+
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
7270
|
+
__decorateClass([
|
|
7271
|
+
n3()
|
|
7272
|
+
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
7266
7273
|
|
|
7267
7274
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
|
|
7268
7275
|
var LuzmoVizItem = class extends LuzmoBaseVizItem {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "5.1.3-beta.
|
|
3
|
+
"version": "5.1.3-beta.4",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"lit": "3.1.2",
|
|
6
|
-
"@luzmo/shared-embed": "5.0.8-beta.
|
|
6
|
+
"@luzmo/shared-embed": "5.0.8-beta.5",
|
|
7
7
|
"zod-validation-error": "3.2.0"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class LuzmoBaseVizItem extends LitElement {
|
|
3
|
+
export declare class LuzmoBaseVizItem extends LitElement implements SharedLib.LuzmoVizItemComponentInterface {
|
|
4
4
|
appServer: string;
|
|
5
5
|
apiHost: string;
|
|
6
6
|
slots: SharedLib.Slots;
|
|
@@ -12,6 +12,8 @@ export declare class LuzmoBaseVizItem extends LitElement {
|
|
|
12
12
|
contextId?: string;
|
|
13
13
|
canFilter?: SharedLib.CanFilter;
|
|
14
14
|
filters?: SharedLib.FilterGroup[];
|
|
15
|
+
dashboardId?: string;
|
|
16
|
+
itemId?: string;
|
|
15
17
|
chartElement: HTMLElement;
|
|
16
18
|
static styles: import("lit").CSSResult;
|
|
17
19
|
constructor();
|