@luzmo/embed 10.1.1-es2021 → 10.1.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/index.cjs +36 -30
- package/index.dashboard-analyst.cjs +60 -40
- package/index.dashboard-analyst.js +60 -40
- package/index.dashboard-next.cjs +31 -19
- package/index.dashboard-next.js +31 -19
- package/index.js +36 -30
- package/luzmo-dashboard-analyst.min.js +19169 -19145
- package/luzmo-dashboard-next.min.js +16884 -16869
- package/luzmo-embed.min.js +36 -30
- package/package.json +2 -8
package/index.dashboard-next.cjs
CHANGED
|
@@ -1279,6 +1279,22 @@ var LuzmoBaseVizItem = class extends import_lit.LitElement {
|
|
|
1279
1279
|
this.libVersion = version + "-wc-luzmo";
|
|
1280
1280
|
this.postInitCallQueue = [];
|
|
1281
1281
|
}
|
|
1282
|
+
static {
|
|
1283
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1284
|
+
this.styles = import_lit.css`
|
|
1285
|
+
:host {
|
|
1286
|
+
display: block;
|
|
1287
|
+
width: 100%;
|
|
1288
|
+
height: 100%;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
luzmo-embed-viz-item {
|
|
1292
|
+
width: 100%;
|
|
1293
|
+
height: 1000%;
|
|
1294
|
+
display: block;
|
|
1295
|
+
}
|
|
1296
|
+
`;
|
|
1297
|
+
}
|
|
1282
1298
|
createRenderRoot() {
|
|
1283
1299
|
if (!this.style.display) {
|
|
1284
1300
|
this.style.display = "block";
|
|
@@ -1458,20 +1474,6 @@ var LuzmoBaseVizItem = class extends import_lit.LitElement {
|
|
|
1458
1474
|
return import_lit.html``;
|
|
1459
1475
|
}
|
|
1460
1476
|
};
|
|
1461
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1462
|
-
LuzmoBaseVizItem.styles = import_lit.css`
|
|
1463
|
-
:host {
|
|
1464
|
-
display: block;
|
|
1465
|
-
width: 100%;
|
|
1466
|
-
height: 100%;
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
luzmo-embed-viz-item {
|
|
1470
|
-
width: 100%;
|
|
1471
|
-
height: 1000%;
|
|
1472
|
-
display: block;
|
|
1473
|
-
}
|
|
1474
|
-
`;
|
|
1475
1477
|
__decorateClass([
|
|
1476
1478
|
(0, import_decorators.property)()
|
|
1477
1479
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -4670,6 +4672,9 @@ var DashboardDataSettings = class extends import_lit7.LitElement {
|
|
|
4670
4672
|
this.editorController = new DashboardDataSettingsController(this);
|
|
4671
4673
|
this.controlWaiters = [];
|
|
4672
4674
|
}
|
|
4675
|
+
static {
|
|
4676
|
+
this.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
|
|
4677
|
+
}
|
|
4673
4678
|
get controlsPending() {
|
|
4674
4679
|
return !this.editorController.context || this.editorController.state.loading;
|
|
4675
4680
|
}
|
|
@@ -4758,7 +4763,6 @@ var DashboardDataSettings = class extends import_lit7.LitElement {
|
|
|
4758
4763
|
`;
|
|
4759
4764
|
}
|
|
4760
4765
|
};
|
|
4761
|
-
DashboardDataSettings.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
|
|
4762
4766
|
__decorateClass([
|
|
4763
4767
|
(0, import_decorators4.property)({ attribute: false })
|
|
4764
4768
|
], DashboardDataSettings.prototype, "stores", 2);
|
|
@@ -5098,6 +5102,9 @@ var DashboardSettingsPopover = class extends import_lit9.LitElement {
|
|
|
5098
5102
|
this.tabs = ["data", "filters", "appearance"];
|
|
5099
5103
|
this.disabled = false;
|
|
5100
5104
|
}
|
|
5105
|
+
static {
|
|
5106
|
+
this.styles = dashboardSettingsPopoverStyles;
|
|
5107
|
+
}
|
|
5101
5108
|
async focusClose() {
|
|
5102
5109
|
const button = this.renderRoot.querySelector('[part="close-settings"]');
|
|
5103
5110
|
await button?.updateComplete;
|
|
@@ -5148,7 +5155,6 @@ var DashboardSettingsPopover = class extends import_lit9.LitElement {
|
|
|
5148
5155
|
`;
|
|
5149
5156
|
}
|
|
5150
5157
|
};
|
|
5151
|
-
DashboardSettingsPopover.styles = dashboardSettingsPopoverStyles;
|
|
5152
5158
|
__decorateClass([
|
|
5153
5159
|
(0, import_decorators5.property)({ attribute: false })
|
|
5154
5160
|
], DashboardSettingsPopover.prototype, "labels", 2);
|
|
@@ -5275,6 +5281,9 @@ var DashboardFilterSettings = class extends import_lit11.LitElement {
|
|
|
5275
5281
|
super(...arguments);
|
|
5276
5282
|
this.controller = new DashboardFilterSettingsController(this);
|
|
5277
5283
|
}
|
|
5284
|
+
static {
|
|
5285
|
+
this.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
|
|
5286
|
+
}
|
|
5278
5287
|
render() {
|
|
5279
5288
|
const controller = this.controller;
|
|
5280
5289
|
const { context, config, labels } = controller;
|
|
@@ -5306,7 +5315,6 @@ var DashboardFilterSettings = class extends import_lit11.LitElement {
|
|
|
5306
5315
|
`;
|
|
5307
5316
|
}
|
|
5308
5317
|
};
|
|
5309
|
-
DashboardFilterSettings.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
|
|
5310
5318
|
__decorateClass([
|
|
5311
5319
|
(0, import_decorators6.property)({ attribute: false })
|
|
5312
5320
|
], DashboardFilterSettings.prototype, "stores", 2);
|
|
@@ -5767,6 +5775,9 @@ var DashboardAppearanceSettings = class extends import_lit13.LitElement {
|
|
|
5767
5775
|
endInteractions() {
|
|
5768
5776
|
this.controller.endInteractions();
|
|
5769
5777
|
}
|
|
5778
|
+
static {
|
|
5779
|
+
this.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
|
|
5780
|
+
}
|
|
5770
5781
|
render() {
|
|
5771
5782
|
const { context, config, labels } = this.controller;
|
|
5772
5783
|
if (!context || !config || !labels) {
|
|
@@ -5853,7 +5864,6 @@ var DashboardAppearanceSettings = class extends import_lit13.LitElement {
|
|
|
5853
5864
|
`;
|
|
5854
5865
|
}
|
|
5855
5866
|
};
|
|
5856
|
-
DashboardAppearanceSettings.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
|
|
5857
5867
|
__decorateClass([
|
|
5858
5868
|
(0, import_decorators7.property)({ attribute: false })
|
|
5859
5869
|
], DashboardAppearanceSettings.prototype, "stores", 2);
|
|
@@ -6401,6 +6411,9 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
|
|
|
6401
6411
|
get layout() {
|
|
6402
6412
|
return this.content.layout;
|
|
6403
6413
|
}
|
|
6414
|
+
static {
|
|
6415
|
+
this.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
|
|
6416
|
+
}
|
|
6404
6417
|
connectedCallback() {
|
|
6405
6418
|
if (!this.experimentalWarningShown) {
|
|
6406
6419
|
console.warn("Luzmo dashboard-next is experimental. Its API and behavior may change without notice.");
|
|
@@ -6621,7 +6634,6 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
|
|
|
6621
6634
|
`;
|
|
6622
6635
|
}
|
|
6623
6636
|
};
|
|
6624
|
-
LuzmoDashboardNext.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
|
|
6625
6637
|
__decorateClass([
|
|
6626
6638
|
(0, import_decorators9.property)({ type: String, attribute: "edit-mode", noAccessor: true })
|
|
6627
6639
|
], LuzmoDashboardNext.prototype, "editMode", 1);
|
package/index.dashboard-next.js
CHANGED
|
@@ -1267,6 +1267,22 @@ var LuzmoBaseVizItem = class extends LitElement {
|
|
|
1267
1267
|
this.libVersion = version + "-wc-luzmo";
|
|
1268
1268
|
this.postInitCallQueue = [];
|
|
1269
1269
|
}
|
|
1270
|
+
static {
|
|
1271
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1272
|
+
this.styles = css`
|
|
1273
|
+
:host {
|
|
1274
|
+
display: block;
|
|
1275
|
+
width: 100%;
|
|
1276
|
+
height: 100%;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
luzmo-embed-viz-item {
|
|
1280
|
+
width: 100%;
|
|
1281
|
+
height: 1000%;
|
|
1282
|
+
display: block;
|
|
1283
|
+
}
|
|
1284
|
+
`;
|
|
1285
|
+
}
|
|
1270
1286
|
createRenderRoot() {
|
|
1271
1287
|
if (!this.style.display) {
|
|
1272
1288
|
this.style.display = "block";
|
|
@@ -1446,20 +1462,6 @@ var LuzmoBaseVizItem = class extends LitElement {
|
|
|
1446
1462
|
return html``;
|
|
1447
1463
|
}
|
|
1448
1464
|
};
|
|
1449
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1450
|
-
LuzmoBaseVizItem.styles = css`
|
|
1451
|
-
:host {
|
|
1452
|
-
display: block;
|
|
1453
|
-
width: 100%;
|
|
1454
|
-
height: 100%;
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
luzmo-embed-viz-item {
|
|
1458
|
-
width: 100%;
|
|
1459
|
-
height: 1000%;
|
|
1460
|
-
display: block;
|
|
1461
|
-
}
|
|
1462
|
-
`;
|
|
1463
1465
|
__decorateClass([
|
|
1464
1466
|
property()
|
|
1465
1467
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -4658,6 +4660,9 @@ var DashboardDataSettings = class extends LitElement2 {
|
|
|
4658
4660
|
this.editorController = new DashboardDataSettingsController(this);
|
|
4659
4661
|
this.controlWaiters = [];
|
|
4660
4662
|
}
|
|
4663
|
+
static {
|
|
4664
|
+
this.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
|
|
4665
|
+
}
|
|
4661
4666
|
get controlsPending() {
|
|
4662
4667
|
return !this.editorController.context || this.editorController.state.loading;
|
|
4663
4668
|
}
|
|
@@ -4746,7 +4751,6 @@ var DashboardDataSettings = class extends LitElement2 {
|
|
|
4746
4751
|
`;
|
|
4747
4752
|
}
|
|
4748
4753
|
};
|
|
4749
|
-
DashboardDataSettings.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
|
|
4750
4754
|
__decorateClass([
|
|
4751
4755
|
property4({ attribute: false })
|
|
4752
4756
|
], DashboardDataSettings.prototype, "stores", 2);
|
|
@@ -5086,6 +5090,9 @@ var DashboardSettingsPopover = class extends LitElement3 {
|
|
|
5086
5090
|
this.tabs = ["data", "filters", "appearance"];
|
|
5087
5091
|
this.disabled = false;
|
|
5088
5092
|
}
|
|
5093
|
+
static {
|
|
5094
|
+
this.styles = dashboardSettingsPopoverStyles;
|
|
5095
|
+
}
|
|
5089
5096
|
async focusClose() {
|
|
5090
5097
|
const button = this.renderRoot.querySelector('[part="close-settings"]');
|
|
5091
5098
|
await button?.updateComplete;
|
|
@@ -5136,7 +5143,6 @@ var DashboardSettingsPopover = class extends LitElement3 {
|
|
|
5136
5143
|
`;
|
|
5137
5144
|
}
|
|
5138
5145
|
};
|
|
5139
|
-
DashboardSettingsPopover.styles = dashboardSettingsPopoverStyles;
|
|
5140
5146
|
__decorateClass([
|
|
5141
5147
|
property5({ attribute: false })
|
|
5142
5148
|
], DashboardSettingsPopover.prototype, "labels", 2);
|
|
@@ -5263,6 +5269,9 @@ var DashboardFilterSettings = class extends LitElement4 {
|
|
|
5263
5269
|
super(...arguments);
|
|
5264
5270
|
this.controller = new DashboardFilterSettingsController(this);
|
|
5265
5271
|
}
|
|
5272
|
+
static {
|
|
5273
|
+
this.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
|
|
5274
|
+
}
|
|
5266
5275
|
render() {
|
|
5267
5276
|
const controller = this.controller;
|
|
5268
5277
|
const { context, config, labels } = controller;
|
|
@@ -5294,7 +5303,6 @@ var DashboardFilterSettings = class extends LitElement4 {
|
|
|
5294
5303
|
`;
|
|
5295
5304
|
}
|
|
5296
5305
|
};
|
|
5297
|
-
DashboardFilterSettings.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
|
|
5298
5306
|
__decorateClass([
|
|
5299
5307
|
property6({ attribute: false })
|
|
5300
5308
|
], DashboardFilterSettings.prototype, "stores", 2);
|
|
@@ -5755,6 +5763,9 @@ var DashboardAppearanceSettings = class extends LitElement5 {
|
|
|
5755
5763
|
endInteractions() {
|
|
5756
5764
|
this.controller.endInteractions();
|
|
5757
5765
|
}
|
|
5766
|
+
static {
|
|
5767
|
+
this.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
|
|
5768
|
+
}
|
|
5758
5769
|
render() {
|
|
5759
5770
|
const { context, config, labels } = this.controller;
|
|
5760
5771
|
if (!context || !config || !labels) {
|
|
@@ -5841,7 +5852,6 @@ var DashboardAppearanceSettings = class extends LitElement5 {
|
|
|
5841
5852
|
`;
|
|
5842
5853
|
}
|
|
5843
5854
|
};
|
|
5844
|
-
DashboardAppearanceSettings.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
|
|
5845
5855
|
__decorateClass([
|
|
5846
5856
|
property7({ attribute: false })
|
|
5847
5857
|
], DashboardAppearanceSettings.prototype, "stores", 2);
|
|
@@ -6389,6 +6399,9 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
|
|
|
6389
6399
|
get layout() {
|
|
6390
6400
|
return this.content.layout;
|
|
6391
6401
|
}
|
|
6402
|
+
static {
|
|
6403
|
+
this.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
|
|
6404
|
+
}
|
|
6392
6405
|
connectedCallback() {
|
|
6393
6406
|
if (!this.experimentalWarningShown) {
|
|
6394
6407
|
console.warn("Luzmo dashboard-next is experimental. Its API and behavior may change without notice.");
|
|
@@ -6609,7 +6622,6 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
|
|
|
6609
6622
|
`;
|
|
6610
6623
|
}
|
|
6611
6624
|
};
|
|
6612
|
-
LuzmoDashboardNext.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
|
|
6613
6625
|
__decorateClass([
|
|
6614
6626
|
property9({ type: String, attribute: "edit-mode", noAccessor: true })
|
|
6615
6627
|
], LuzmoDashboardNext.prototype, "editMode", 1);
|
package/index.js
CHANGED
|
@@ -2817,6 +2817,22 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
2817
2817
|
this.libVersion = version + "-wc-luzmo";
|
|
2818
2818
|
this.postInitCallQueue = [];
|
|
2819
2819
|
}
|
|
2820
|
+
static {
|
|
2821
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
2822
|
+
this.styles = css2`
|
|
2823
|
+
:host {
|
|
2824
|
+
display: block;
|
|
2825
|
+
width: 100%;
|
|
2826
|
+
height: 100%;
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
luzmo-embed-viz-item {
|
|
2830
|
+
width: 100%;
|
|
2831
|
+
height: 1000%;
|
|
2832
|
+
display: block;
|
|
2833
|
+
}
|
|
2834
|
+
`;
|
|
2835
|
+
}
|
|
2820
2836
|
createRenderRoot() {
|
|
2821
2837
|
if (!this.style.display) {
|
|
2822
2838
|
this.style.display = "block";
|
|
@@ -2996,20 +3012,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
2996
3012
|
return html2``;
|
|
2997
3013
|
}
|
|
2998
3014
|
};
|
|
2999
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3000
|
-
LuzmoBaseVizItem.styles = css2`
|
|
3001
|
-
:host {
|
|
3002
|
-
display: block;
|
|
3003
|
-
width: 100%;
|
|
3004
|
-
height: 100%;
|
|
3005
|
-
}
|
|
3006
|
-
|
|
3007
|
-
luzmo-embed-viz-item {
|
|
3008
|
-
width: 100%;
|
|
3009
|
-
height: 1000%;
|
|
3010
|
-
display: block;
|
|
3011
|
-
}
|
|
3012
|
-
`;
|
|
3013
3015
|
__decorateClass([
|
|
3014
3016
|
property2()
|
|
3015
3017
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -3118,6 +3120,16 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
|
|
|
3118
3120
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
3119
3121
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
3120
3122
|
}
|
|
3123
|
+
static {
|
|
3124
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3125
|
+
this.styles = css3`
|
|
3126
|
+
:host {
|
|
3127
|
+
display: block;
|
|
3128
|
+
width: 100%;
|
|
3129
|
+
height: 100%;
|
|
3130
|
+
}
|
|
3131
|
+
`;
|
|
3132
|
+
}
|
|
3121
3133
|
createRenderRoot() {
|
|
3122
3134
|
return this;
|
|
3123
3135
|
}
|
|
@@ -3195,14 +3207,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
|
|
|
3195
3207
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
3196
3208
|
}
|
|
3197
3209
|
};
|
|
3198
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3199
|
-
LuzmoIQEmbedChatComponent.styles = css3`
|
|
3200
|
-
:host {
|
|
3201
|
-
display: block;
|
|
3202
|
-
width: 100%;
|
|
3203
|
-
height: 100%;
|
|
3204
|
-
}
|
|
3205
|
-
`;
|
|
3206
3210
|
__decorateClass([
|
|
3207
3211
|
property3()
|
|
3208
3212
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -3279,6 +3283,16 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
|
3279
3283
|
this.libVersion = version + "-wc-luzmo";
|
|
3280
3284
|
this.remoteEntryServer = "http://localhost:4202";
|
|
3281
3285
|
}
|
|
3286
|
+
static {
|
|
3287
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3288
|
+
this.styles = css4`
|
|
3289
|
+
:host {
|
|
3290
|
+
display: block;
|
|
3291
|
+
width: 100%;
|
|
3292
|
+
height: 100%;
|
|
3293
|
+
}
|
|
3294
|
+
`;
|
|
3295
|
+
}
|
|
3282
3296
|
createRenderRoot() {
|
|
3283
3297
|
return this;
|
|
3284
3298
|
}
|
|
@@ -3329,14 +3343,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
|
3329
3343
|
return html4` `;
|
|
3330
3344
|
}
|
|
3331
3345
|
};
|
|
3332
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3333
|
-
LuzmoIQEmbedAnswerComponent.styles = css4`
|
|
3334
|
-
:host {
|
|
3335
|
-
display: block;
|
|
3336
|
-
width: 100%;
|
|
3337
|
-
height: 100%;
|
|
3338
|
-
}
|
|
3339
|
-
`;
|
|
3340
3346
|
__decorateClass([
|
|
3341
3347
|
property4()
|
|
3342
3348
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|