@malloydata/render 0.0.163-dev240807210504 → 0.0.163-dev240808193357

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.
@@ -0,0 +1,2 @@
1
+ import { AtomicField, DataColumn } from '@malloydata/malloy';
2
+ export declare function renderLink(f: AtomicField, data: DataColumn): "∅" | import("solid-js").JSX.Element;
@@ -5,5 +5,5 @@ export declare function valueIsNumber(f: Field, v: unknown): v is number;
5
5
  export declare function valueIsString(f: Field, s: unknown): s is string;
6
6
  export declare function getTextWidth(text: string, font: string, canvasToUse?: HTMLCanvasElement): number;
7
7
  export declare function clamp(s: number, e: number, v: number): number;
8
- export declare function shouldRenderAs(f: Field | Explore, tagOverride?: Tag): "table" | "cell" | "chart";
8
+ export declare function shouldRenderAs(f: Field | Explore, tagOverride?: Tag): "table" | "cell" | "link" | "chart";
9
9
  export declare function getFieldKey(f: Field | Explore): string;
@@ -6217,17 +6217,17 @@ class Yr extends qW {
6217
6217
  };
6218
6218
  }
6219
6219
  arguments() {
6220
- var e, n, r;
6220
+ var e;
6221
6221
  if (this._arguments !== void 0)
6222
6222
  return this._arguments;
6223
6223
  this._arguments = {};
6224
- const i = (e = this.fieldDef.parameters) !== null && e !== void 0 ? e : {};
6225
- for (const o in i)
6226
- this._arguments[o] = i[o];
6227
- const s = (r = (n = this.sourceArguments) !== null && n !== void 0 ? n : this.fieldDef.arguments) !== null && r !== void 0 ? r : {};
6228
- for (const o in s) {
6229
- const u = s[o];
6230
- this._arguments[o] = this.resolveParentParameterReferences(u);
6224
+ const n = (e = this.fieldDef.parameters) !== null && e !== void 0 ? e : {};
6225
+ for (const i in n)
6226
+ this._arguments[i] = n[i];
6227
+ const r = { ...this.fieldDef.arguments, ...this.sourceArguments };
6228
+ for (const i in r) {
6229
+ const s = r[i];
6230
+ this._arguments[i] = this.resolveParentParameterReferences(s);
6231
6231
  }
6232
6232
  return this._arguments;
6233
6233
  }
@@ -39636,7 +39636,7 @@ class Rve extends Sve.Source {
39636
39636
  }
39637
39637
  }
39638
39638
  for (const a in n)
39639
- a in o || (0, jO.paramHasValue)(n[a]) || this.refLog(`Argument not provided for required parameter \`${a}\``);
39639
+ a in o || ((0, jO.paramHasValue)(n[a]) ? o[a] = { ...n[a] } : this.refLog(`Argument not provided for required parameter \`${a}\``));
39640
39640
  return o;
39641
39641
  }
39642
39642
  structDef(e) {