@lambo-design/detail-table 1.0.0-beta.23 → 1.0.0-beta.25

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/.versionrc ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "tagPrefix": "@lambo-design/detail-table@",
3
+ "releaseCommitMessageFormat": "chore(release): @lambo-design/detail-table@{{currentTag}}",
4
+ "path": ".",
5
+ "header": "# Changelog",
6
+ "types": [
7
+ {"type": "chore", "section":"'🎫 Chores | 其他更新", "hidden": false},
8
+ {"type": "revert", "section":"⏪ Reverts | 回退", "hidden": false},
9
+ {"type": "feat", "section": "✨ Features | 新功能", "hidden": false},
10
+ {"type": "fix", "section": "🐛 Bug Fixes | Bug 修复", "hidden": false},
11
+ {"type": "improvement", "section": "Feature Improvements", "hidden": false},
12
+ {"type": "docs", "section":"📝 Documentation | 文档", "hidden": false},
13
+ {"type": "style", "section":"💄 Styles | 风格", "hidden": false},
14
+ {"type": "refactor", "section":"💄 Styles | 风格", "hidden": false},
15
+ {"type": "perf", "section":"⚡ Performance Improvements | 性能优化", "hidden": false},
16
+ {"type": "test", "section":"✅ Tests | 测试", "hidden": false},
17
+ {"type": "build", "section":"👷‍ Build System | 构建", "hidden": false},
18
+ {"type": "ci", "section":"🔧 Continuous Integration | CI 配置", "hidden":false}
19
+ ],
20
+ "commitUrlFormat": "http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/{{hash}}",
21
+ "compareUrlFormat": "http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/{{previousTag}}...{{currentTag}}",
22
+ "issueUrlFormat": "http://git.inspur.com/ecbh/lambo-design/lambo-design/-/issues/{{id}}"
23
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+ ## [1.0.0-beta.25](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design/detail-table@1.0.0-beta.24...@lambo-design/detail-table@1.0.0-beta.25) (2024-05-22)
3
+
4
+
5
+ ### ✨ Features | 新功能
6
+
7
+ * **detail-table:** 删除title配置属性 ([491d78f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/491d78fd6a81b70110b4c090e884841c584cf50c))
8
+
9
+ ## 1.0.0-beta.24 (2024-05-09)
10
+
11
+
12
+ ### ✨ Features | 新功能
13
+
14
+ * **@lambo-design/detail-table:** 明细表格问题处理 ([9a798f5](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9a798f5f36579a1dbd1e55b1031f8400a4f463f3))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/detail-table",
3
- "version": "1.0.0-beta.23",
3
+ "version": "1.0.0-beta.25",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -10,8 +10,15 @@
10
10
  "registry": "https://registry.npmjs.org/"
11
11
  },
12
12
  "devDependencies": {
13
- "@lambo-design/shared": "^1.0.0-beta.43",
14
- "@lambo-design/core": "^4.7.1-beta.60"
13
+ "@lambo-design/core": "^4.7.1-beta.138",
14
+ "@lambo-design/shared": "^1.0.0-beta.177"
15
15
  },
16
- "scripts": {}
16
+ "scripts": {
17
+ "release": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
18
+ "release-major": "standard-version --release-as major",
19
+ "release-minor": "standard-version --release-as minor",
20
+ "release-patch": "standard-version --release-as patch",
21
+ "release-beta": "standard-version --prerelease beta",
22
+ "re-publish": "pnpm publish --access public --no-git-checks"
23
+ }
17
24
  }
@@ -28,8 +28,8 @@ const Col = {
28
28
  const { key } = ctx.data;
29
29
  const label = getComponentFromProp(child, "label");
30
30
  const slots = getSlots(child);
31
- const labelColSpan = Math.floor(100 / ColProps.totalCols * 0.3); // 计算 label 的长度
32
- const contextColSpan = Math.floor(100 / ColProps.totalCols * 0.7); // 计算 context 的长度
31
+ const labelColSpan = Math.floor(100 / ColProps.totalCols * 0.33); // 计算 label 的长度
32
+ const contextColSpan = Math.floor(100 / ColProps.totalCols * 0.66); // 计算 context 的长度
33
33
  const labelProps = {
34
34
  attrs: {},
35
35
  class: [
@@ -8,7 +8,6 @@
8
8
  },
9
9
  ]"
10
10
  >
11
- <div v-if="title" :class="[`${prefixCls}-title`]">{{ title }}</div>
12
11
  <div :class="[`${prefixCls}-view`]">
13
12
  <table>
14
13
  <tbody>
@@ -21,7 +20,8 @@
21
20
  :bordered="bordered"
22
21
  :layout="layout"
23
22
  :colon="colon"
24
- ></Row>
23
+ >
24
+ </Row>
25
25
  </tbody>
26
26
  </table>
27
27
  </div>
@@ -67,7 +67,6 @@ export default {
67
67
  return ["default", "middle", "small"].indexOf(value) !== -1;
68
68
  },
69
69
  },
70
- title: String,
71
70
  column: Number,
72
71
  layout: {
73
72
  type: String,
@@ -109,6 +108,7 @@ export default {
109
108
  .filter((node) => node);
110
109
  const column = this.getColumn();
111
110
  this.childrenArray = this.generateChildrenRows(cloneChildren, column);
111
+ console.log('array:',this.childrenArray)
112
112
  },
113
113
  getColumn() {
114
114
  const { column } = this.$props;