@fuaran-ui/ops 0.22.0 → 0.23.0
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1404,10 +1404,10 @@ var chartSpec = (s) => {
|
|
|
1404
1404
|
["kind", str(s.kind)],
|
|
1405
1405
|
// fuaran#665 — rows are a typed Static payload now, not the opaque residual.
|
|
1406
1406
|
["source", binding(s.source, staticRowSeq)],
|
|
1407
|
-
["stacked", bool(s.stacked)],
|
|
1408
1407
|
["xField", str(s.xField)],
|
|
1409
1408
|
["yFields", jArray(s.yFields.map(str))]
|
|
1410
1409
|
];
|
|
1410
|
+
if (s.stacked) fields.push(["stacked", bool(s.stacked)]);
|
|
1411
1411
|
if (s.title !== void 0) fields.push(["title", textSource(s.title)]);
|
|
1412
1412
|
if (s.valueFormat !== void 0) fields.push(["valueFormat", formatIntent(s.valueFormat)]);
|
|
1413
1413
|
if (s.xTitle !== void 0) fields.push(["xTitle", textSource(s.xTitle)]);
|