@luzmo/embed 6.1.1 → 6.1.2

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
@@ -54066,9 +54066,6 @@ var json_schemas_default = {
54066
54066
  // libs/embed-libs/embed/src/index.ts
54067
54067
  var import_shared_embed2 = require("@luzmo/shared-embed");
54068
54068
 
54069
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
54070
- var import_decorators2 = require("lit/decorators.js");
54071
-
54072
54069
  // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.ts
54073
54070
  var SharedLib2 = __toESM(require("@luzmo/shared-embed"), 1);
54074
54071
  var import_lit2 = require("lit");
@@ -54077,7 +54074,7 @@ var import_style_map = require("lit/directives/style-map.js");
54077
54074
  var import_shared_embed = require("@luzmo/shared-embed");
54078
54075
 
54079
54076
  // libs/embed-libs/embed/package.json
54080
- var version = "6.1.1";
54077
+ var version = "6.1.2";
54081
54078
 
54082
54079
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
54083
54080
  var LuzmoService = class {
@@ -55077,15 +55074,12 @@ __decorateClass([
55077
55074
  // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
55078
55075
  var LuzmoEmbedDashboard = class extends LuzmoDashboard {
55079
55076
  };
55080
- LuzmoEmbedDashboard = __decorateClass([
55081
- (0, import_decorators2.customElement)("luzmo-embed-dashboard")
55082
- ], LuzmoEmbedDashboard);
55083
-
55084
- // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
55085
- var import_decorators4 = require("lit/decorators.js");
55077
+ if (!customElements.get("luzmo-embed-dashboard")) {
55078
+ customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
55079
+ }
55086
55080
 
55087
55081
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
55088
- var import_decorators3 = require("lit/decorators.js");
55082
+ var import_decorators2 = require("lit/decorators.js");
55089
55083
  var import_lit3 = require("lit");
55090
55084
  var import_ajv = __toESM(require("ajv"), 1);
55091
55085
  var import_ajv_formats = __toESM(require("ajv-formats"), 1);
@@ -55258,34 +55252,34 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
55258
55252
  }
55259
55253
  };
55260
55254
  __decorateClass([
55261
- (0, import_decorators3.property)()
55255
+ (0, import_decorators2.property)()
55262
55256
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
55263
55257
  __decorateClass([
55264
- (0, import_decorators3.property)()
55258
+ (0, import_decorators2.property)()
55265
55259
  ], LuzmoBaseVizItem.prototype, "apiHost", 2);
55266
55260
  __decorateClass([
55267
- (0, import_decorators3.property)({ type: Array })
55261
+ (0, import_decorators2.property)({ type: Array })
55268
55262
  ], LuzmoBaseVizItem.prototype, "slots", 2);
55269
55263
  __decorateClass([
55270
- (0, import_decorators3.property)({ type: Object })
55264
+ (0, import_decorators2.property)({ type: Object })
55271
55265
  ], LuzmoBaseVizItem.prototype, "options", 2);
55272
55266
  __decorateClass([
55273
- (0, import_decorators3.property)()
55267
+ (0, import_decorators2.property)()
55274
55268
  ], LuzmoBaseVizItem.prototype, "type", 2);
55275
55269
  __decorateClass([
55276
- (0, import_decorators3.property)()
55270
+ (0, import_decorators2.property)()
55277
55271
  ], LuzmoBaseVizItem.prototype, "authKey", 2);
55278
55272
  __decorateClass([
55279
- (0, import_decorators3.property)()
55273
+ (0, import_decorators2.property)()
55280
55274
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
55281
55275
  __decorateClass([
55282
- (0, import_decorators3.property)()
55276
+ (0, import_decorators2.property)()
55283
55277
  ], LuzmoBaseVizItem.prototype, "version", 2);
55284
55278
  __decorateClass([
55285
- (0, import_decorators3.property)()
55279
+ (0, import_decorators2.property)()
55286
55280
  ], LuzmoBaseVizItem.prototype, "contextId", 2);
55287
55281
  __decorateClass([
55288
- (0, import_decorators3.property)({
55282
+ (0, import_decorators2.property)({
55289
55283
  converter: (value) => {
55290
55284
  try {
55291
55285
  return JSON.parse(value);
@@ -55296,30 +55290,30 @@ __decorateClass([
55296
55290
  })
55297
55291
  ], LuzmoBaseVizItem.prototype, "canFilter", 2);
55298
55292
  __decorateClass([
55299
- (0, import_decorators3.property)({ type: Array })
55293
+ (0, import_decorators2.property)({ type: Array })
55300
55294
  ], LuzmoBaseVizItem.prototype, "filters", 2);
55301
55295
  __decorateClass([
55302
- (0, import_decorators3.property)()
55296
+ (0, import_decorators2.property)()
55303
55297
  ], LuzmoBaseVizItem.prototype, "dashboardId", 2);
55304
55298
  __decorateClass([
55305
- (0, import_decorators3.property)()
55299
+ (0, import_decorators2.property)()
55306
55300
  ], LuzmoBaseVizItem.prototype, "itemId", 2);
55307
55301
  __decorateClass([
55308
- (0, import_decorators3.property)({ type: Object })
55302
+ (0, import_decorators2.property)({ type: Object })
55309
55303
  ], LuzmoBaseVizItem.prototype, "selectedData", 2);
55310
55304
  __decorateClass([
55311
- (0, import_decorators3.property)()
55305
+ (0, import_decorators2.property)()
55312
55306
  ], LuzmoBaseVizItem.prototype, "dashboardContentsVersion", 2);
55313
55307
  __decorateClass([
55314
- (0, import_decorators3.property)()
55308
+ (0, import_decorators2.property)()
55315
55309
  ], LuzmoBaseVizItem.prototype, "libVersion", 2);
55316
55310
 
55317
55311
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
55318
55312
  var LuzmoEmbedVizItem = class extends LuzmoBaseVizItem {
55319
55313
  };
55320
- LuzmoEmbedVizItem = __decorateClass([
55321
- (0, import_decorators4.customElement)("luzmo-embed-viz-item")
55322
- ], LuzmoEmbedVizItem);
55314
+ if (!customElements.get("luzmo-embed-viz-item")) {
55315
+ customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
55316
+ }
55323
55317
  // Annotate the CommonJS export names for ESM import in node:
55324
55318
  0 && (module.exports = {
55325
55319
  ColumnChartModes,
package/index.js CHANGED
@@ -54028,11 +54028,6 @@ var json_schemas_default = {
54028
54028
  // libs/embed-libs/embed/src/index.ts
54029
54029
  import { selectedDataUtils } from "@luzmo/shared-embed";
54030
54030
 
54031
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
54032
- import {
54033
- customElement
54034
- } from "lit/decorators.js";
54035
-
54036
54031
  // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.ts
54037
54032
  import * as SharedLib2 from "@luzmo/shared-embed";
54038
54033
  import {
@@ -54052,7 +54047,7 @@ import {
54052
54047
  } from "@luzmo/shared-embed";
54053
54048
 
54054
54049
  // libs/embed-libs/embed/package.json
54055
- var version = "6.1.1";
54050
+ var version = "6.1.2";
54056
54051
 
54057
54052
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
54058
54053
  var LuzmoService = class {
@@ -55052,12 +55047,9 @@ __decorateClass([
55052
55047
  // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
55053
55048
  var LuzmoEmbedDashboard = class extends LuzmoDashboard {
55054
55049
  };
55055
- LuzmoEmbedDashboard = __decorateClass([
55056
- customElement("luzmo-embed-dashboard")
55057
- ], LuzmoEmbedDashboard);
55058
-
55059
- // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
55060
- import { customElement as customElement2 } from "lit/decorators.js";
55050
+ if (!customElements.get("luzmo-embed-dashboard")) {
55051
+ customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
55052
+ }
55061
55053
 
55062
55054
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
55063
55055
  import { property as property2 } from "lit/decorators.js";
@@ -55292,9 +55284,9 @@ __decorateClass([
55292
55284
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
55293
55285
  var LuzmoEmbedVizItem = class extends LuzmoBaseVizItem {
55294
55286
  };
55295
- LuzmoEmbedVizItem = __decorateClass([
55296
- customElement2("luzmo-embed-viz-item")
55297
- ], LuzmoEmbedVizItem);
55287
+ if (!customElements.get("luzmo-embed-viz-item")) {
55288
+ customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
55289
+ }
55298
55290
  export {
55299
55291
  ColumnChartModes,
55300
55292
  json_schemas_default as JSON_SCHEMAS,
@@ -284,7 +284,7 @@ interface AreaChartDisplayViewOptions extends DisplayLegendViewOptions, DisplayT
284
284
  modeOption?: boolean;
285
285
  };
286
286
  }
287
- interface AreaChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
287
+ interface AreaChartInteractivityViewOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityGoToUrlViewOptions {
288
288
  /**
289
289
  * Interactivity options
290
290
  */
@@ -206,7 +206,7 @@ interface BarChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLeg
206
206
  modeOption?: boolean;
207
207
  };
208
208
  }
209
- interface BarChartInteractivityViewOptions extends InteractivityCustomTooltipViewOptions, InteractivityGoToUrlViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions {
209
+ interface BarChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
210
210
  /**
211
211
  * Interactivity options
212
212
  */
@@ -266,7 +266,7 @@ export interface BoxPlotViewOptions extends Omit<AxisObjectViewOptions, 'interac
266
266
  };
267
267
  manualAxisRange?: ManualAxesRange;
268
268
  }
269
- export interface BoxPlotInteractivity extends InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityExportViewOptions, InteractivityCustomTooltipViewOptions {
269
+ export interface BoxPlotInteractivity extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
270
270
  /**
271
271
  * Interactivity options
272
272
  */
@@ -49,7 +49,7 @@ interface BubbleChartDisplayViewOptions extends DisplayLegendViewOptions, Displa
49
49
  bubbleValues?: 'none' | 'percentage' | 'absolute';
50
50
  };
51
51
  }
52
- interface BubbleChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityFilterOnSelectViewOptions {
52
+ interface BubbleChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityGoToUrlViewOptions {
53
53
  /**
54
54
  * Interactivity options
55
55
  */
@@ -38,7 +38,7 @@ interface BulletChartDisplayViewOptions extends DisplayTitleViewOptions {
38
38
  ranges?: boolean;
39
39
  };
40
40
  }
41
- interface BulletChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions {
41
+ interface BulletChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
42
42
  /**
43
43
  * Interactivity options
44
44
  */
@@ -203,7 +203,7 @@ interface ColumnChartDisplayViewOptions extends DisplayLegendViewOptions, Displa
203
203
  modeOption?: boolean;
204
204
  };
205
205
  }
206
- interface ColumnChartInteractivityViewOptions extends InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityFilterOnSelectViewOptions {
206
+ interface ColumnChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityMeasureDimensionPickerViewOptions {
207
207
  /**
208
208
  * Interactivity options
209
209
  */
@@ -233,7 +233,7 @@ interface CombinationChartDisplayOptions extends DisplayTitleViewOptions, Displa
233
233
  legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
234
234
  };
235
235
  }
236
- interface CombinationChartInteractivityOptions extends InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityExportViewOptions, InteractivityCustomTooltipViewOptions {
236
+ interface CombinationChartInteractivityOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
237
237
  /**
238
238
  * Interactivity options
239
239
  */
@@ -59,7 +59,7 @@ interface ConditionalNumberDisplayViewOptions extends DisplayTitleViewOptions {
59
59
  label?: boolean;
60
60
  };
61
61
  }
62
- interface ConditionalNumberInteractivityViewOptions extends InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityExportViewOptions {
62
+ interface ConditionalNumberInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
63
63
  /**
64
64
  * Interactivity options
65
65
  */
@@ -81,7 +81,7 @@ interface DonutChartDisplayViewOptions extends DisplayLegendViewOptions, Display
81
81
  categoryLabels?: boolean;
82
82
  };
83
83
  }
84
- interface DonutChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityFilterOnSelectViewOptions {
84
+ interface DonutChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
85
85
  /**
86
86
  * Interactivity options
87
87
  */
@@ -165,7 +165,7 @@ export interface EvolutionNumberViewOptions extends Omit<DropObjectViewOptions,
165
165
  */
166
166
  uploadedImage?: string;
167
167
  }
168
- interface EvolutionNumberInteractivityViewOptions extends InteractivityGoToUrlViewOptions, InteractivityExportViewOptions {
168
+ interface EvolutionNumberInteractivityViewOptions extends InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityGoToUrlViewOptions, InteractivityExportViewOptions {
169
169
  /**
170
170
  * Interactivity options
171
171
  */
@@ -61,7 +61,7 @@ interface FunnelChartDisplayViewOptions extends DisplayLegendViewOptions, Displa
61
61
  values?: boolean;
62
62
  };
63
63
  }
64
- interface FunnelChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityFilterOnSelectViewOptions {
64
+ interface FunnelChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityGoToUrlViewOptions {
65
65
  /**
66
66
  * Interactivity options
67
67
  */
@@ -307,7 +307,7 @@ interface LineChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLe
307
307
  legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
308
308
  };
309
309
  }
310
- interface LineChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
310
+ interface LineChartInteractivityViewOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
311
311
  /**
312
312
  * Interactivity options
313
313
  */
@@ -167,7 +167,7 @@ interface ScatterPlotDisplayViewOptions extends DisplayLegendViewOptions, Displa
167
167
  legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
168
168
  };
169
169
  }
170
- interface ScatterPlotInteractivityViewOptions extends InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityCustomTooltipViewOptions, InteractivityCustomEventsViewOptions {
170
+ interface ScatterPlotInteractivityViewOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions {
171
171
  /**
172
172
  * Interactivity options
173
173
  */