@datarails-ai/dr-appspace-cli 0.12.51 → 0.12.53

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.
Files changed (2) hide show
  1. package/dist/cli.js +11 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@datarails-ai/dr-appspace-cli",
16
- version: "0.12.51",
16
+ version: "0.12.53",
17
17
  description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
18
18
  type: "module",
19
19
  engines: {
@@ -57,7 +57,7 @@ var package_default = {
57
57
  };
58
58
 
59
59
  // src/buildInfo.ts
60
- var BUILD_TIME = "2026-10-29T07:00:58.511Z";
60
+ var BUILD_TIME = "2026-10-29T08:12:58.567Z";
61
61
  function formatBuildTime(iso) {
62
62
  if (iso === "") return "";
63
63
  const d = new Date(iso);
@@ -11406,12 +11406,15 @@ function cardOf(element, uid, path3, handlerName, sections, refuse2, parent = nu
11406
11406
  if (kind !== "") out.kind = kind;
11407
11407
  for (const key of RUNTIME_CARD_WORDS) if (named5(props[key])) out[key] = props[key];
11408
11408
  for (const key of KEPT_CARD_PROPS) if (props[key] !== void 0 && props[key] !== null && props[key] !== "") out[key] = props[key];
11409
+ const params = Array.isArray(props.params) ? props.params.filter(named5) : [];
11410
+ if (params.length > 0) out.params = params;
11409
11411
  let frame2 = isPlainObject7(element.card) ? element.card : {};
11410
11412
  if (Object.keys(frame2).length === 0) {
11411
11413
  frame2 = {};
11412
11414
  const row = rows2[spec ?? uid];
11413
- const labelled = (kind === "kpi" || kind === "" && isPlainObject7(row) && row.kind === "kpi") && specLabel(row) !== null;
11414
- for (const key of labelled ? ["subtitle"] : ["title", "subtitle"]) if (named5(props[key])) frame2[key] = props[key];
11415
+ const kpi = kind === "kpi" || kind === "" && isPlainObject7(row) && row.kind === "kpi";
11416
+ const labelled = kpi && specLabel(row) !== null;
11417
+ for (const key of labelled ? [] : kpi ? ["title"] : ["title", "subtitle"]) if (named5(props[key])) frame2[key] = props[key];
11415
11418
  }
11416
11419
  const section = named5(element.section) && sections.some((entry) => entry.id === element.section) ? element.section : void 0;
11417
11420
  return {
@@ -12242,11 +12245,11 @@ var UI_KIT2 = "ui-kit/v4";
12242
12245
  var CHARTS = "echarts@5.6.0";
12243
12246
  var FMT = "dr-fmt@2.1.0";
12244
12247
  var TOKENS = "dr-tokens@1.0.0";
12245
- var WIDGETS = "dr-app-widgets@1.6.1";
12248
+ var WIDGETS = "dr-app-widgets@1.6.2";
12246
12249
  var COMPONENTS = "dr-components@1.6.0";
12247
12250
  var CONTROLS = "dr-components-controls@1.2.0";
12248
12251
  var DASHBOARD_RUNTIME = "dr-app-runtime@1.13.2";
12249
- var DASHBOARD_WIDGETS = "dr-app-widgets@1.6.1";
12252
+ var DASHBOARD_WIDGETS = "dr-app-widgets@1.6.2";
12250
12253
  var DASHBOARD_BAR = "dr-app-dashboard@1.0.0";
12251
12254
  var ASSISTANT = "dr-insights@1.4.1";
12252
12255
  var MARKDOWN = "dr-md@1.0.0";
@@ -17720,6 +17723,7 @@ function attrsOf(element) {
17720
17723
  if (card !== "") out.push(["card", card]);
17721
17724
  if (named5(element.emphasis)) out.push(["emphasis", element.emphasis]);
17722
17725
  if (isRuntimeCard(element)) {
17726
+ if (Array.isArray(props.params) && props.params.length > 0) out.push(["widget-params", props.params.join(" ")]);
17723
17727
  for (const key of RUNTIME_CARD_WORDS) if (named5(props[key])) out.push([`widget-${key}`, props[key]]);
17724
17728
  }
17725
17729
  return gridAttrs(element) + out.map(([key, value]) => ` ${ATTR_NAME.get(key) ?? `data-dr-${key}`}="${attr2(value)}"`).join("");
@@ -30971,7 +30975,7 @@ var kit_default2 = {
30971
30975
  checks: "checks/run.mjs",
30972
30976
  contract: "contract/extract.mjs",
30973
30977
  charts: "echarts@5.6.0",
30974
- appWidgets: "dr-app-widgets@1.6.1",
30978
+ appWidgets: "dr-app-widgets@1.6.2",
30975
30979
  appComponents: "dr-components@1.6.0",
30976
30980
  appControls: "dr-components-controls@1.2.0"
30977
30981
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarails-ai/dr-appspace-cli",
3
- "version": "0.12.51",
3
+ "version": "0.12.53",
4
4
  "description": "Datarails App Space CLI — build, try, push and publish App Space apps",
5
5
  "type": "module",
6
6
  "engines": {