@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 CHANGED
@@ -2853,6 +2853,22 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
2853
2853
  this.libVersion = version + "-wc-luzmo";
2854
2854
  this.postInitCallQueue = [];
2855
2855
  }
2856
+ static {
2857
+ // Static styles to set host display to block, else it is not shown at all for some reason.
2858
+ this.styles = import_lit3.css`
2859
+ :host {
2860
+ display: block;
2861
+ width: 100%;
2862
+ height: 100%;
2863
+ }
2864
+
2865
+ luzmo-embed-viz-item {
2866
+ width: 100%;
2867
+ height: 1000%;
2868
+ display: block;
2869
+ }
2870
+ `;
2871
+ }
2856
2872
  createRenderRoot() {
2857
2873
  if (!this.style.display) {
2858
2874
  this.style.display = "block";
@@ -3032,20 +3048,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
3032
3048
  return import_lit3.html``;
3033
3049
  }
3034
3050
  };
3035
- // Static styles to set host display to block, else it is not shown at all for some reason.
3036
- LuzmoBaseVizItem.styles = import_lit3.css`
3037
- :host {
3038
- display: block;
3039
- width: 100%;
3040
- height: 100%;
3041
- }
3042
-
3043
- luzmo-embed-viz-item {
3044
- width: 100%;
3045
- height: 1000%;
3046
- display: block;
3047
- }
3048
- `;
3049
3051
  __decorateClass([
3050
3052
  (0, import_decorators2.property)()
3051
3053
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -3154,6 +3156,16 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
3154
3156
  this.remoteEntryServer = "http://localhost:4202/";
3155
3157
  this.aydHost = "https://ayd.luzmo.com/";
3156
3158
  }
3159
+ static {
3160
+ // Static styles to set host display to block, else it is not shown at all for some reason.
3161
+ this.styles = import_lit4.css`
3162
+ :host {
3163
+ display: block;
3164
+ width: 100%;
3165
+ height: 100%;
3166
+ }
3167
+ `;
3168
+ }
3157
3169
  createRenderRoot() {
3158
3170
  return this;
3159
3171
  }
@@ -3231,14 +3243,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
3231
3243
  observer.observe(embedChat, { childList: true, subtree: true });
3232
3244
  }
3233
3245
  };
3234
- // Static styles to set host display to block, else it is not shown at all for some reason.
3235
- LuzmoIQEmbedChatComponent.styles = import_lit4.css`
3236
- :host {
3237
- display: block;
3238
- width: 100%;
3239
- height: 100%;
3240
- }
3241
- `;
3242
3246
  __decorateClass([
3243
3247
  (0, import_decorators3.property)()
3244
3248
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -3315,6 +3319,16 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
3315
3319
  this.libVersion = version + "-wc-luzmo";
3316
3320
  this.remoteEntryServer = "http://localhost:4202";
3317
3321
  }
3322
+ static {
3323
+ // Static styles to set host display to block, else it is not shown at all for some reason.
3324
+ this.styles = import_lit5.css`
3325
+ :host {
3326
+ display: block;
3327
+ width: 100%;
3328
+ height: 100%;
3329
+ }
3330
+ `;
3331
+ }
3318
3332
  createRenderRoot() {
3319
3333
  return this;
3320
3334
  }
@@ -3365,14 +3379,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
3365
3379
  return import_lit5.html` `;
3366
3380
  }
3367
3381
  };
3368
- // Static styles to set host display to block, else it is not shown at all for some reason.
3369
- LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
3370
- :host {
3371
- display: block;
3372
- width: 100%;
3373
- height: 100%;
3374
- }
3375
- `;
3376
3382
  __decorateClass([
3377
3383
  (0, import_decorators4.property)()
3378
3384
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
@@ -1409,6 +1409,22 @@ var LuzmoBaseVizItem = class extends import_lit2.LitElement {
1409
1409
  this.libVersion = version + "-wc-luzmo";
1410
1410
  this.postInitCallQueue = [];
1411
1411
  }
1412
+ static {
1413
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1414
+ this.styles = import_lit2.css`
1415
+ :host {
1416
+ display: block;
1417
+ width: 100%;
1418
+ height: 100%;
1419
+ }
1420
+
1421
+ luzmo-embed-viz-item {
1422
+ width: 100%;
1423
+ height: 1000%;
1424
+ display: block;
1425
+ }
1426
+ `;
1427
+ }
1412
1428
  createRenderRoot() {
1413
1429
  if (!this.style.display) {
1414
1430
  this.style.display = "block";
@@ -1588,20 +1604,6 @@ var LuzmoBaseVizItem = class extends import_lit2.LitElement {
1588
1604
  return import_lit2.html``;
1589
1605
  }
1590
1606
  };
1591
- // Static styles to set host display to block, else it is not shown at all for some reason.
1592
- LuzmoBaseVizItem.styles = import_lit2.css`
1593
- :host {
1594
- display: block;
1595
- width: 100%;
1596
- height: 100%;
1597
- }
1598
-
1599
- luzmo-embed-viz-item {
1600
- width: 100%;
1601
- height: 1000%;
1602
- display: block;
1603
- }
1604
- `;
1605
1607
  __decorateClass([
1606
1608
  (0, import_decorators2.property)()
1607
1609
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -4800,6 +4802,9 @@ var DashboardDataSettings = class extends import_lit8.LitElement {
4800
4802
  this.editorController = new DashboardDataSettingsController(this);
4801
4803
  this.controlWaiters = [];
4802
4804
  }
4805
+ static {
4806
+ this.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
4807
+ }
4803
4808
  get controlsPending() {
4804
4809
  return !this.editorController.context || this.editorController.state.loading;
4805
4810
  }
@@ -4888,7 +4893,6 @@ var DashboardDataSettings = class extends import_lit8.LitElement {
4888
4893
  `;
4889
4894
  }
4890
4895
  };
4891
- DashboardDataSettings.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
4892
4896
  __decorateClass([
4893
4897
  (0, import_decorators5.property)({ attribute: false })
4894
4898
  ], DashboardDataSettings.prototype, "stores", 2);
@@ -5228,6 +5232,9 @@ var DashboardSettingsPopover = class extends import_lit10.LitElement {
5228
5232
  this.tabs = ["data", "filters", "appearance"];
5229
5233
  this.disabled = false;
5230
5234
  }
5235
+ static {
5236
+ this.styles = dashboardSettingsPopoverStyles;
5237
+ }
5231
5238
  async focusClose() {
5232
5239
  const button = this.renderRoot.querySelector('[part="close-settings"]');
5233
5240
  await button?.updateComplete;
@@ -5278,7 +5285,6 @@ var DashboardSettingsPopover = class extends import_lit10.LitElement {
5278
5285
  `;
5279
5286
  }
5280
5287
  };
5281
- DashboardSettingsPopover.styles = dashboardSettingsPopoverStyles;
5282
5288
  __decorateClass([
5283
5289
  (0, import_decorators6.property)({ attribute: false })
5284
5290
  ], DashboardSettingsPopover.prototype, "labels", 2);
@@ -5405,6 +5411,9 @@ var DashboardFilterSettings = class extends import_lit12.LitElement {
5405
5411
  super(...arguments);
5406
5412
  this.controller = new DashboardFilterSettingsController(this);
5407
5413
  }
5414
+ static {
5415
+ this.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
5416
+ }
5408
5417
  render() {
5409
5418
  const controller = this.controller;
5410
5419
  const { context, config, labels } = controller;
@@ -5436,7 +5445,6 @@ var DashboardFilterSettings = class extends import_lit12.LitElement {
5436
5445
  `;
5437
5446
  }
5438
5447
  };
5439
- DashboardFilterSettings.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
5440
5448
  __decorateClass([
5441
5449
  (0, import_decorators7.property)({ attribute: false })
5442
5450
  ], DashboardFilterSettings.prototype, "stores", 2);
@@ -5897,6 +5905,9 @@ var DashboardAppearanceSettings = class extends import_lit14.LitElement {
5897
5905
  endInteractions() {
5898
5906
  this.controller.endInteractions();
5899
5907
  }
5908
+ static {
5909
+ this.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
5910
+ }
5900
5911
  render() {
5901
5912
  const { context, config, labels } = this.controller;
5902
5913
  if (!context || !config || !labels) {
@@ -5983,7 +5994,6 @@ var DashboardAppearanceSettings = class extends import_lit14.LitElement {
5983
5994
  `;
5984
5995
  }
5985
5996
  };
5986
- DashboardAppearanceSettings.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
5987
5997
  __decorateClass([
5988
5998
  (0, import_decorators8.property)({ attribute: false })
5989
5999
  ], DashboardAppearanceSettings.prototype, "stores", 2);
@@ -6411,6 +6421,9 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
6411
6421
  get layout() {
6412
6422
  return this.content.layout;
6413
6423
  }
6424
+ static {
6425
+ this.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
6426
+ }
6414
6427
  connectedCallback() {
6415
6428
  if (!this.experimentalWarningShown) {
6416
6429
  console.warn("Luzmo dashboard-next is experimental. Its API and behavior may change without notice.");
@@ -6631,7 +6644,6 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
6631
6644
  `;
6632
6645
  }
6633
6646
  };
6634
- LuzmoDashboardNext.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
6635
6647
  __decorateClass([
6636
6648
  (0, import_decorators9.property)({ type: String, attribute: "edit-mode", noAccessor: true })
6637
6649
  ], LuzmoDashboardNext.prototype, "editMode", 1);
@@ -8241,6 +8253,26 @@ var DashboardAddChartMenu = class extends import_lit24.LitElement {
8241
8253
  this.disabled = false;
8242
8254
  this.controller = new DashboardAddChartController(this, () => this.stores);
8243
8255
  }
8256
+ static {
8257
+ this.styles = import_lit24.css`
8258
+ :host { display: block; color: var(--luzmo-font-color); font: inherit; }
8259
+ luzmo-popover { --luzmo-popover-border-radius: var(--luzmo-border-radius-l); --luzmo-popover-content-area-spacing-vertical: 0px; }
8260
+ .panel { inline-size: min(calc(var(--luzmo-spacing-5) * 25), calc(100vw - var(--luzmo-spacing-5) * 2)); }
8261
+ .search { padding: var(--luzmo-spacing-3); border-block-end: var(--luzmo-border-width) solid var(--luzmo-border-color); }
8262
+ luzmo-search { inline-size: 100%; }
8263
+ .catalog { padding: var(--luzmo-spacing-3); max-block-size: min(65vh, calc(var(--luzmo-spacing-5) * 28)); overflow: auto; overscroll-behavior: contain; }
8264
+ h3 { margin: var(--luzmo-spacing-3) 0; font-size: var(--luzmo-font-size-s); font-weight: var(--luzmo-font-weight-semibold); color: var(--luzmo-font-color-extra-dimmed); }
8265
+ .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7rem), 1fr)); gap: var(--luzmo-spacing-2); }
8266
+ .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--luzmo-spacing-3); min-block-size: 5.5rem; padding: var(--luzmo-spacing-3); padding-block-start: calc(var(--luzmo-spacing-3) + .5lh); border: var(--luzmo-border-width) solid var(--luzmo-border-color); border-radius: var(--luzmo-border-radius); background: var(--luzmo-background-color); color: inherit; font: inherit; font-size: var(--luzmo-font-size-s); overflow-wrap: anywhere; cursor: pointer; }
8267
+ .tile luzmo-icon { flex: none; --luzmo-icon-line-color: color-mix(in srgb, var(--luzmo-font-color) 60%, transparent); --luzmo-icon-line-color-dimmed: var(--luzmo-border-color); --luzmo-icon-color-1: var(--luzmo-primary); --luzmo-icon-color-2: color-mix(in srgb, var(--luzmo-primary) 50%, transparent); --luzmo-icon-color-3: color-mix(in srgb, var(--luzmo-primary) 25%, transparent); }
8268
+ .tile span { display: flex; align-items: flex-start; justify-content: center; min-block-size: 2lh; text-align: center; }
8269
+ .tile:hover { background: var(--luzmo-background-color-highlight); border-color: var(--luzmo-primary); }
8270
+ .tile:active { background: color-mix(in srgb, var(--luzmo-primary) 15%, var(--luzmo-background-color)); }
8271
+ .tile:focus-visible { outline: 2px solid var(--luzmo-primary); outline-offset: -2px; }
8272
+ .tile:disabled { color: var(--luzmo-disabled-color); cursor: default; }
8273
+ [role='status'] { text-align: center; padding: var(--luzmo-spacing-5); }
8274
+ `;
8275
+ }
8244
8276
  willUpdate(changes) {
8245
8277
  if (changes.has("stores")) {
8246
8278
  this.controller.connect();
@@ -8376,24 +8408,6 @@ var DashboardAddChartMenu = class extends import_lit24.LitElement {
8376
8408
  `;
8377
8409
  }
8378
8410
  };
8379
- DashboardAddChartMenu.styles = import_lit24.css`
8380
- :host { display: block; color: var(--luzmo-font-color); font: inherit; }
8381
- luzmo-popover { --luzmo-popover-border-radius: var(--luzmo-border-radius-l); --luzmo-popover-content-area-spacing-vertical: 0px; }
8382
- .panel { inline-size: min(calc(var(--luzmo-spacing-5) * 25), calc(100vw - var(--luzmo-spacing-5) * 2)); }
8383
- .search { padding: var(--luzmo-spacing-3); border-block-end: var(--luzmo-border-width) solid var(--luzmo-border-color); }
8384
- luzmo-search { inline-size: 100%; }
8385
- .catalog { padding: var(--luzmo-spacing-3); max-block-size: min(65vh, calc(var(--luzmo-spacing-5) * 28)); overflow: auto; overscroll-behavior: contain; }
8386
- h3 { margin: var(--luzmo-spacing-3) 0; font-size: var(--luzmo-font-size-s); font-weight: var(--luzmo-font-weight-semibold); color: var(--luzmo-font-color-extra-dimmed); }
8387
- .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7rem), 1fr)); gap: var(--luzmo-spacing-2); }
8388
- .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--luzmo-spacing-3); min-block-size: 5.5rem; padding: var(--luzmo-spacing-3); padding-block-start: calc(var(--luzmo-spacing-3) + .5lh); border: var(--luzmo-border-width) solid var(--luzmo-border-color); border-radius: var(--luzmo-border-radius); background: var(--luzmo-background-color); color: inherit; font: inherit; font-size: var(--luzmo-font-size-s); overflow-wrap: anywhere; cursor: pointer; }
8389
- .tile luzmo-icon { flex: none; --luzmo-icon-line-color: color-mix(in srgb, var(--luzmo-font-color) 60%, transparent); --luzmo-icon-line-color-dimmed: var(--luzmo-border-color); --luzmo-icon-color-1: var(--luzmo-primary); --luzmo-icon-color-2: color-mix(in srgb, var(--luzmo-primary) 50%, transparent); --luzmo-icon-color-3: color-mix(in srgb, var(--luzmo-primary) 25%, transparent); }
8390
- .tile span { display: flex; align-items: flex-start; justify-content: center; min-block-size: 2lh; text-align: center; }
8391
- .tile:hover { background: var(--luzmo-background-color-highlight); border-color: var(--luzmo-primary); }
8392
- .tile:active { background: color-mix(in srgb, var(--luzmo-primary) 15%, var(--luzmo-background-color)); }
8393
- .tile:focus-visible { outline: 2px solid var(--luzmo-primary); outline-offset: -2px; }
8394
- .tile:disabled { color: var(--luzmo-disabled-color); cursor: default; }
8395
- [role='status'] { text-align: center; padding: var(--luzmo-spacing-5); }
8396
- `;
8397
8411
  __decorateClass([
8398
8412
  (0, import_decorators10.property)({ attribute: false })
8399
8413
  ], DashboardAddChartMenu.prototype, "stores", 2);
@@ -8799,6 +8813,9 @@ var DashboardPicker = class extends import_lit27.LitElement {
8799
8813
  this.showPicker = true;
8800
8814
  this.unsubscribers = [];
8801
8815
  }
8816
+ static {
8817
+ this.styles = [dashboardPickerStyles, dashboardPreviewThumbnailStyles];
8818
+ }
8802
8819
  connectedCallback() {
8803
8820
  super.connectedCallback();
8804
8821
  this.subscribe();
@@ -9104,7 +9121,6 @@ var DashboardPicker = class extends import_lit27.LitElement {
9104
9121
  `;
9105
9122
  }
9106
9123
  };
9107
- DashboardPicker.styles = [dashboardPickerStyles, dashboardPreviewThumbnailStyles];
9108
9124
  __decorateClass([
9109
9125
  (0, import_decorators11.property)({ attribute: false })
9110
9126
  ], DashboardPicker.prototype, "stores", 2);
@@ -9168,6 +9184,9 @@ var DashboardVariantDelete = class extends import_lit29.LitElement {
9168
9184
  super(...arguments);
9169
9185
  this.dirty = false;
9170
9186
  }
9187
+ static {
9188
+ this.styles = dashboardVariantDeleteStyles;
9189
+ }
9171
9190
  updated() {
9172
9191
  const dialog = this.renderRoot.querySelector("dialog");
9173
9192
  if (dialog && !dialog.open) {
@@ -9204,7 +9223,6 @@ var DashboardVariantDelete = class extends import_lit29.LitElement {
9204
9223
  `;
9205
9224
  }
9206
9225
  };
9207
- DashboardVariantDelete.styles = dashboardVariantDeleteStyles;
9208
9226
  __decorateClass([
9209
9227
  (0, import_decorators12.property)({ attribute: false })
9210
9228
  ], DashboardVariantDelete.prototype, "controller", 2);
@@ -9730,6 +9748,9 @@ var LuzmoDashboardAnalyst = class extends DashboardConfiguredElement {
9730
9748
  }
9731
9749
  });
9732
9750
  }
9751
+ static {
9752
+ this.styles = [dashboardAnalystStyles, dashboardAgentPanelStyles, dashboardAgentHistoryStyles, dashboardNextToolbarStyles, dashboardQuestionModeStyles];
9753
+ }
9733
9754
  connectedCallback() {
9734
9755
  super.connectedCallback();
9735
9756
  this.disconnectDashboard = this.workspace.subscribe((next, previous) => {
@@ -9857,7 +9878,6 @@ var LuzmoDashboardAnalyst = class extends DashboardConfiguredElement {
9857
9878
  `;
9858
9879
  }
9859
9880
  };
9860
- LuzmoDashboardAnalyst.styles = [dashboardAnalystStyles, dashboardAgentPanelStyles, dashboardAgentHistoryStyles, dashboardNextToolbarStyles, dashboardQuestionModeStyles];
9861
9881
  __decorateClass([
9862
9882
  (0, import_decorators13.property)({ type: String, attribute: "agent-id", noAccessor: true })
9863
9883
  ], LuzmoDashboardAnalyst.prototype, "agentId", 1);
@@ -1397,6 +1397,22 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1397
1397
  this.libVersion = version + "-wc-luzmo";
1398
1398
  this.postInitCallQueue = [];
1399
1399
  }
1400
+ static {
1401
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1402
+ this.styles = css`
1403
+ :host {
1404
+ display: block;
1405
+ width: 100%;
1406
+ height: 100%;
1407
+ }
1408
+
1409
+ luzmo-embed-viz-item {
1410
+ width: 100%;
1411
+ height: 1000%;
1412
+ display: block;
1413
+ }
1414
+ `;
1415
+ }
1400
1416
  createRenderRoot() {
1401
1417
  if (!this.style.display) {
1402
1418
  this.style.display = "block";
@@ -1576,20 +1592,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1576
1592
  return html``;
1577
1593
  }
1578
1594
  };
1579
- // Static styles to set host display to block, else it is not shown at all for some reason.
1580
- LuzmoBaseVizItem.styles = css`
1581
- :host {
1582
- display: block;
1583
- width: 100%;
1584
- height: 100%;
1585
- }
1586
-
1587
- luzmo-embed-viz-item {
1588
- width: 100%;
1589
- height: 1000%;
1590
- display: block;
1591
- }
1592
- `;
1593
1595
  __decorateClass([
1594
1596
  property2()
1595
1597
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -4788,6 +4790,9 @@ var DashboardDataSettings = class extends LitElement3 {
4788
4790
  this.editorController = new DashboardDataSettingsController(this);
4789
4791
  this.controlWaiters = [];
4790
4792
  }
4793
+ static {
4794
+ this.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
4795
+ }
4791
4796
  get controlsPending() {
4792
4797
  return !this.editorController.context || this.editorController.state.loading;
4793
4798
  }
@@ -4876,7 +4881,6 @@ var DashboardDataSettings = class extends LitElement3 {
4876
4881
  `;
4877
4882
  }
4878
4883
  };
4879
- DashboardDataSettings.styles = [dashboardChartSettingsStyles, dashboardDataSettingsStyles];
4880
4884
  __decorateClass([
4881
4885
  property5({ attribute: false })
4882
4886
  ], DashboardDataSettings.prototype, "stores", 2);
@@ -5216,6 +5220,9 @@ var DashboardSettingsPopover = class extends LitElement4 {
5216
5220
  this.tabs = ["data", "filters", "appearance"];
5217
5221
  this.disabled = false;
5218
5222
  }
5223
+ static {
5224
+ this.styles = dashboardSettingsPopoverStyles;
5225
+ }
5219
5226
  async focusClose() {
5220
5227
  const button = this.renderRoot.querySelector('[part="close-settings"]');
5221
5228
  await button?.updateComplete;
@@ -5266,7 +5273,6 @@ var DashboardSettingsPopover = class extends LitElement4 {
5266
5273
  `;
5267
5274
  }
5268
5275
  };
5269
- DashboardSettingsPopover.styles = dashboardSettingsPopoverStyles;
5270
5276
  __decorateClass([
5271
5277
  property6({ attribute: false })
5272
5278
  ], DashboardSettingsPopover.prototype, "labels", 2);
@@ -5393,6 +5399,9 @@ var DashboardFilterSettings = class extends LitElement5 {
5393
5399
  super(...arguments);
5394
5400
  this.controller = new DashboardFilterSettingsController(this);
5395
5401
  }
5402
+ static {
5403
+ this.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
5404
+ }
5396
5405
  render() {
5397
5406
  const controller = this.controller;
5398
5407
  const { context, config, labels } = controller;
@@ -5424,7 +5433,6 @@ var DashboardFilterSettings = class extends LitElement5 {
5424
5433
  `;
5425
5434
  }
5426
5435
  };
5427
- DashboardFilterSettings.styles = [dashboardChartSettingsStyles, dashboardFilterSettingsStyles];
5428
5436
  __decorateClass([
5429
5437
  property7({ attribute: false })
5430
5438
  ], DashboardFilterSettings.prototype, "stores", 2);
@@ -5885,6 +5893,9 @@ var DashboardAppearanceSettings = class extends LitElement6 {
5885
5893
  endInteractions() {
5886
5894
  this.controller.endInteractions();
5887
5895
  }
5896
+ static {
5897
+ this.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
5898
+ }
5888
5899
  render() {
5889
5900
  const { context, config, labels } = this.controller;
5890
5901
  if (!context || !config || !labels) {
@@ -5971,7 +5982,6 @@ var DashboardAppearanceSettings = class extends LitElement6 {
5971
5982
  `;
5972
5983
  }
5973
5984
  };
5974
- DashboardAppearanceSettings.styles = [dashboardChartSettingsStyles, dashboardAppearanceSettingsStyles];
5975
5985
  __decorateClass([
5976
5986
  property8({ attribute: false })
5977
5987
  ], DashboardAppearanceSettings.prototype, "stores", 2);
@@ -6399,6 +6409,9 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
6399
6409
  get layout() {
6400
6410
  return this.content.layout;
6401
6411
  }
6412
+ static {
6413
+ this.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
6414
+ }
6402
6415
  connectedCallback() {
6403
6416
  if (!this.experimentalWarningShown) {
6404
6417
  console.warn("Luzmo dashboard-next is experimental. Its API and behavior may change without notice.");
@@ -6619,7 +6632,6 @@ var LuzmoDashboardNext = class extends (_b = DashboardConfiguredElement, _a = da
6619
6632
  `;
6620
6633
  }
6621
6634
  };
6622
- LuzmoDashboardNext.styles = [dashboardLayoutSkeletonStyles, dashboardNextStyles];
6623
6635
  __decorateClass([
6624
6636
  property9({ type: String, attribute: "edit-mode", noAccessor: true })
6625
6637
  ], LuzmoDashboardNext.prototype, "editMode", 1);
@@ -8234,6 +8246,26 @@ var DashboardAddChartMenu = class extends LitElement7 {
8234
8246
  this.disabled = false;
8235
8247
  this.controller = new DashboardAddChartController(this, () => this.stores);
8236
8248
  }
8249
+ static {
8250
+ this.styles = css12`
8251
+ :host { display: block; color: var(--luzmo-font-color); font: inherit; }
8252
+ luzmo-popover { --luzmo-popover-border-radius: var(--luzmo-border-radius-l); --luzmo-popover-content-area-spacing-vertical: 0px; }
8253
+ .panel { inline-size: min(calc(var(--luzmo-spacing-5) * 25), calc(100vw - var(--luzmo-spacing-5) * 2)); }
8254
+ .search { padding: var(--luzmo-spacing-3); border-block-end: var(--luzmo-border-width) solid var(--luzmo-border-color); }
8255
+ luzmo-search { inline-size: 100%; }
8256
+ .catalog { padding: var(--luzmo-spacing-3); max-block-size: min(65vh, calc(var(--luzmo-spacing-5) * 28)); overflow: auto; overscroll-behavior: contain; }
8257
+ h3 { margin: var(--luzmo-spacing-3) 0; font-size: var(--luzmo-font-size-s); font-weight: var(--luzmo-font-weight-semibold); color: var(--luzmo-font-color-extra-dimmed); }
8258
+ .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7rem), 1fr)); gap: var(--luzmo-spacing-2); }
8259
+ .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--luzmo-spacing-3); min-block-size: 5.5rem; padding: var(--luzmo-spacing-3); padding-block-start: calc(var(--luzmo-spacing-3) + .5lh); border: var(--luzmo-border-width) solid var(--luzmo-border-color); border-radius: var(--luzmo-border-radius); background: var(--luzmo-background-color); color: inherit; font: inherit; font-size: var(--luzmo-font-size-s); overflow-wrap: anywhere; cursor: pointer; }
8260
+ .tile luzmo-icon { flex: none; --luzmo-icon-line-color: color-mix(in srgb, var(--luzmo-font-color) 60%, transparent); --luzmo-icon-line-color-dimmed: var(--luzmo-border-color); --luzmo-icon-color-1: var(--luzmo-primary); --luzmo-icon-color-2: color-mix(in srgb, var(--luzmo-primary) 50%, transparent); --luzmo-icon-color-3: color-mix(in srgb, var(--luzmo-primary) 25%, transparent); }
8261
+ .tile span { display: flex; align-items: flex-start; justify-content: center; min-block-size: 2lh; text-align: center; }
8262
+ .tile:hover { background: var(--luzmo-background-color-highlight); border-color: var(--luzmo-primary); }
8263
+ .tile:active { background: color-mix(in srgb, var(--luzmo-primary) 15%, var(--luzmo-background-color)); }
8264
+ .tile:focus-visible { outline: 2px solid var(--luzmo-primary); outline-offset: -2px; }
8265
+ .tile:disabled { color: var(--luzmo-disabled-color); cursor: default; }
8266
+ [role='status'] { text-align: center; padding: var(--luzmo-spacing-5); }
8267
+ `;
8268
+ }
8237
8269
  willUpdate(changes) {
8238
8270
  if (changes.has("stores")) {
8239
8271
  this.controller.connect();
@@ -8369,24 +8401,6 @@ var DashboardAddChartMenu = class extends LitElement7 {
8369
8401
  `;
8370
8402
  }
8371
8403
  };
8372
- DashboardAddChartMenu.styles = css12`
8373
- :host { display: block; color: var(--luzmo-font-color); font: inherit; }
8374
- luzmo-popover { --luzmo-popover-border-radius: var(--luzmo-border-radius-l); --luzmo-popover-content-area-spacing-vertical: 0px; }
8375
- .panel { inline-size: min(calc(var(--luzmo-spacing-5) * 25), calc(100vw - var(--luzmo-spacing-5) * 2)); }
8376
- .search { padding: var(--luzmo-spacing-3); border-block-end: var(--luzmo-border-width) solid var(--luzmo-border-color); }
8377
- luzmo-search { inline-size: 100%; }
8378
- .catalog { padding: var(--luzmo-spacing-3); max-block-size: min(65vh, calc(var(--luzmo-spacing-5) * 28)); overflow: auto; overscroll-behavior: contain; }
8379
- h3 { margin: var(--luzmo-spacing-3) 0; font-size: var(--luzmo-font-size-s); font-weight: var(--luzmo-font-weight-semibold); color: var(--luzmo-font-color-extra-dimmed); }
8380
- .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7rem), 1fr)); gap: var(--luzmo-spacing-2); }
8381
- .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--luzmo-spacing-3); min-block-size: 5.5rem; padding: var(--luzmo-spacing-3); padding-block-start: calc(var(--luzmo-spacing-3) + .5lh); border: var(--luzmo-border-width) solid var(--luzmo-border-color); border-radius: var(--luzmo-border-radius); background: var(--luzmo-background-color); color: inherit; font: inherit; font-size: var(--luzmo-font-size-s); overflow-wrap: anywhere; cursor: pointer; }
8382
- .tile luzmo-icon { flex: none; --luzmo-icon-line-color: color-mix(in srgb, var(--luzmo-font-color) 60%, transparent); --luzmo-icon-line-color-dimmed: var(--luzmo-border-color); --luzmo-icon-color-1: var(--luzmo-primary); --luzmo-icon-color-2: color-mix(in srgb, var(--luzmo-primary) 50%, transparent); --luzmo-icon-color-3: color-mix(in srgb, var(--luzmo-primary) 25%, transparent); }
8383
- .tile span { display: flex; align-items: flex-start; justify-content: center; min-block-size: 2lh; text-align: center; }
8384
- .tile:hover { background: var(--luzmo-background-color-highlight); border-color: var(--luzmo-primary); }
8385
- .tile:active { background: color-mix(in srgb, var(--luzmo-primary) 15%, var(--luzmo-background-color)); }
8386
- .tile:focus-visible { outline: 2px solid var(--luzmo-primary); outline-offset: -2px; }
8387
- .tile:disabled { color: var(--luzmo-disabled-color); cursor: default; }
8388
- [role='status'] { text-align: center; padding: var(--luzmo-spacing-5); }
8389
- `;
8390
8404
  __decorateClass([
8391
8405
  property10({ attribute: false })
8392
8406
  ], DashboardAddChartMenu.prototype, "stores", 2);
@@ -8792,6 +8806,9 @@ var DashboardPicker = class extends LitElement8 {
8792
8806
  this.showPicker = true;
8793
8807
  this.unsubscribers = [];
8794
8808
  }
8809
+ static {
8810
+ this.styles = [dashboardPickerStyles, dashboardPreviewThumbnailStyles];
8811
+ }
8795
8812
  connectedCallback() {
8796
8813
  super.connectedCallback();
8797
8814
  this.subscribe();
@@ -9097,7 +9114,6 @@ var DashboardPicker = class extends LitElement8 {
9097
9114
  `;
9098
9115
  }
9099
9116
  };
9100
- DashboardPicker.styles = [dashboardPickerStyles, dashboardPreviewThumbnailStyles];
9101
9117
  __decorateClass([
9102
9118
  property11({ attribute: false })
9103
9119
  ], DashboardPicker.prototype, "stores", 2);
@@ -9161,6 +9177,9 @@ var DashboardVariantDelete = class extends LitElement9 {
9161
9177
  super(...arguments);
9162
9178
  this.dirty = false;
9163
9179
  }
9180
+ static {
9181
+ this.styles = dashboardVariantDeleteStyles;
9182
+ }
9164
9183
  updated() {
9165
9184
  const dialog = this.renderRoot.querySelector("dialog");
9166
9185
  if (dialog && !dialog.open) {
@@ -9197,7 +9216,6 @@ var DashboardVariantDelete = class extends LitElement9 {
9197
9216
  `;
9198
9217
  }
9199
9218
  };
9200
- DashboardVariantDelete.styles = dashboardVariantDeleteStyles;
9201
9219
  __decorateClass([
9202
9220
  property12({ attribute: false })
9203
9221
  ], DashboardVariantDelete.prototype, "controller", 2);
@@ -9723,6 +9741,9 @@ var LuzmoDashboardAnalyst = class extends DashboardConfiguredElement {
9723
9741
  }
9724
9742
  });
9725
9743
  }
9744
+ static {
9745
+ this.styles = [dashboardAnalystStyles, dashboardAgentPanelStyles, dashboardAgentHistoryStyles, dashboardNextToolbarStyles, dashboardQuestionModeStyles];
9746
+ }
9726
9747
  connectedCallback() {
9727
9748
  super.connectedCallback();
9728
9749
  this.disconnectDashboard = this.workspace.subscribe((next, previous) => {
@@ -9850,7 +9871,6 @@ var LuzmoDashboardAnalyst = class extends DashboardConfiguredElement {
9850
9871
  `;
9851
9872
  }
9852
9873
  };
9853
- LuzmoDashboardAnalyst.styles = [dashboardAnalystStyles, dashboardAgentPanelStyles, dashboardAgentHistoryStyles, dashboardNextToolbarStyles, dashboardQuestionModeStyles];
9854
9874
  __decorateClass([
9855
9875
  property13({ type: String, attribute: "agent-id", noAccessor: true })
9856
9876
  ], LuzmoDashboardAnalyst.prototype, "agentId", 1);