@luzmo/embed 6.0.0-beta.4 → 6.0.0-beta.6

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
@@ -57,7 +57,7 @@ var import_style_map = require("lit/directives/style-map.js");
57
57
  var import_shared_embed = require("@luzmo/shared-embed");
58
58
 
59
59
  // libs/embed-libs/embed/package.json
60
- var version = "6.0.0-beta.4";
60
+ var version = "6.0.0-beta.6";
61
61
 
62
62
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
63
63
  var LuzmoService = class {
package/index.js CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  } from "@luzmo/shared-embed";
38
38
 
39
39
  // libs/embed-libs/embed/package.json
40
- var version = "6.0.0-beta.4";
40
+ var version = "6.0.0-beta.6";
41
41
 
42
42
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
43
43
  var LuzmoService = class {
@@ -5230,6 +5230,30 @@ var itemTypeParser = z.enum([
5230
5230
  "wordcloud-chart"
5231
5231
  ]);
5232
5232
  var slotsParser = z.array(slotParser);
5233
+ var itemQueryDimensionParser = z.object({
5234
+ /**
5235
+ * @format uuid
5236
+ */
5237
+ column_id: z.string().optional(),
5238
+ /**
5239
+ * @format uuid
5240
+ */
5241
+ formula_id: z.string().optional(),
5242
+ /**
5243
+ * @format uuid
5244
+ */
5245
+ dataset_id: z.string().optional(),
5246
+ level: z.number().optional(),
5247
+ expression: z.string().optional(),
5248
+ include_nonoccurring: z.boolean().optional(),
5249
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
5250
+ discretization: z.lazy(() => itemQueryDiscretizationParser).optional()
5251
+ });
5252
+ var itemQueryDiscretizationParser = z.object({
5253
+ type: z.enum(["none", "linear", "powerset"]).optional(),
5254
+ bins: z.number().optional(),
5255
+ over: z.array(itemQueryDimensionParser).optional()
5256
+ });
5233
5257
  var vizItemOptionsParser = z.object({
5234
5258
  title: z.record(z.string()).optional(),
5235
5259
  theme: z.union([z.string(), z.record(z.any())]).optional(),
@@ -5247,7 +5271,54 @@ var vizItemOptionsParser = z.object({
5247
5271
  vectorTileProvider: z.record(z.any()).optional(),
5248
5272
  sources: z.record(z.any()).optional(),
5249
5273
  display: z.union([z.record(z.any()), z.object({ title: z.boolean() })]).optional(),
5250
- timezoneId: z.string().optional()
5274
+ timezoneId: z.string().optional(),
5275
+ ranking: z.object({
5276
+ active: z.boolean().optional(),
5277
+ direction: z.enum(["top", "bottom"]).optional(),
5278
+ // eslint-disable-next-line id-blacklist
5279
+ number: z.number().optional()
5280
+ }).optional(),
5281
+ sort: z.object({
5282
+ aggregation: z.object({
5283
+ type: z.enum(
5284
+ [
5285
+ "sum",
5286
+ "cumulativesum",
5287
+ "average",
5288
+ "median",
5289
+ "count",
5290
+ "distinctcount",
5291
+ "min",
5292
+ "max",
5293
+ "stddev",
5294
+ "weightedaverage",
5295
+ "rate",
5296
+ "histogram"
5297
+ ]
5298
+ ).optional(),
5299
+ /**
5300
+ * @format uuid
5301
+ */
5302
+ dataset_id: z.string().optional(),
5303
+ /**
5304
+ * @format uuid
5305
+ */
5306
+ column_id: z.string().optional(),
5307
+ level: z.number().optional()
5308
+ }).optional(),
5309
+ /**
5310
+ * @format uuid
5311
+ */
5312
+ column_id: z.string().optional(),
5313
+ /**
5314
+ * @format uuid
5315
+ */
5316
+ dataset_id: z.string().optional(),
5317
+ discretization: itemQueryDiscretizationParser.optional(),
5318
+ expression: z.string().optional(),
5319
+ level: z.number().optional(),
5320
+ order: z.enum(["asc", "desc"]).optional()
5321
+ }).optional()
5251
5322
  });
5252
5323
  var canFilterParser = z.union([z.array(z.string()), z.literal("all")]);
5253
5324
  var libraryTypeToWebComponentTypeMapping = {
@@ -6049,7 +6120,7 @@ var o5 = e6(class extends i4 {
6049
6120
  });
6050
6121
 
6051
6122
  // libs/embed-libs/embed/package.json
6052
- var version = "6.0.0-beta.4";
6123
+ var version = "6.0.0-beta.6";
6053
6124
 
6054
6125
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
6055
6126
  var LuzmoService = class {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.0.0-beta.4",
3
+ "version": "6.0.0-beta.6",
4
4
  "dependencies": {
5
5
  "lit": "3.1.2",
6
- "@luzmo/shared-embed": "5.0.9-beta.2",
6
+ "@luzmo/shared-embed": "5.0.9-beta.4",
7
7
  "zod-validation-error": "3.2.0"
8
8
  },
9
9
  "type": "module",