@guandata/guanvis 0.1.25 → 0.1.26

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## @guandata/guanvis 0.1.26 - 2026-06-15
4
+
5
+ - 修复自定义排序 payload 归一化问题,提升图表排序配置发布兼容性。
6
+ - 资源包打包增加配置一致性校验,提前发现重复或冲突资源,降低上传失败和覆盖风险。
7
+
3
8
  ## @guandata/guanvis 0.1.25 - 2026-06-11
4
9
 
5
10
  - 补充资源 ID 命名指引,建议 Card/Page/布局等资源 ID 使用字母开头,降低平台 ID 解析兼容风险。
package/README.md CHANGED
@@ -51,6 +51,11 @@ guanvis publish ./my_dashboard/ --allow-overwrite
51
51
 
52
52
  ## 版本更新
53
53
 
54
+ ### @guandata/guanvis 0.1.26
55
+
56
+ - 修复自定义排序 payload 归一化问题,提升图表排序配置发布兼容性。
57
+ - 资源包打包增加配置一致性校验,提前发现重复或冲突资源,降低上传失败和覆盖风险。
58
+
54
59
  ### @guandata/guanvis 0.1.25
55
60
 
56
61
  - 补充资源 ID 命名指引,建议 Card/Page/布局等资源 ID 使用字母开头,降低平台 ID 解析兼容风险。
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guandata/guanvis",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "观远 BI Card/Page 生成工具 - 通过 JS DSL 创建图表和仪表板",
5
5
  "bin": {
6
6
  "guanvis": "bin/run.js"
@@ -414,7 +414,10 @@ createCard(ChartType.PIVOT_TABLE, "品牌同比分析")
414
414
  .addMetric(yoyRate)
415
415
  .addSort(f("品牌", {
416
416
  ordering: "ASC",
417
- customSort: ["华东", "华南", "华北"]
417
+ customSort: {
418
+ turnedOn: true,
419
+ sortOrder: ["华东", "华南", "华北"]
420
+ }
418
421
  }));
419
422
  ```
420
423