waibu-db 2.34.1 → 2.34.2

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.
@@ -1,6 +1,6 @@
1
1
  <c:grid-row gutter="3">
2
2
  <c:grid-col col="5-lg">
3
- <c:wdb-query />
3
+ <c:wdb-query mini />
4
4
  </c:grid-col>
5
5
  <c:grid-col col="7-lg" flex="justify-content:end-lg">
6
6
  <c:btn-group margin="end-2">
@@ -1,4 +1,4 @@
1
- <c:card>
1
+ <c:card border>
2
2
  <c:card-header>
3
3
  <c:card-title t:content="<%= attr.name %>" />
4
4
  </c:card-header>
@@ -37,13 +37,13 @@ async function table () {
37
37
  const count = get(locals, 'list.count', 0)
38
38
  const allowed = await this.isActionAllowed('READ')
39
39
  if (!allowed) {
40
- const alert = '<c:alert color="error" t:content="accessDenied" margin="top-4"/>'
40
+ const alert = '<c:alert color="error" t:content="accessDenied" margin="top-4 x-4"/>'
41
41
  this.params.noTag = true
42
42
  this.params.html = await buildSentence(alert)
43
43
  return
44
44
  }
45
45
  if (count === 0 || data.length === 0) {
46
- const alert = '<c:alert color="warning" t:content="noRecordFound" margin="top-4"/>'
46
+ const alert = '<c:alert color="warning" t:content="noRecordFound" margin="top-4 x-4"/>'
47
47
  this.params.noTag = true
48
48
  this.params.html = await buildSentence(alert)
49
49
  return
@@ -40,7 +40,7 @@ export async function addOnsHandler (opts = {}) {
40
40
  const key = o.dbOpts.fields[0]
41
41
  data.push({
42
42
  name: escape(d[key]),
43
- value: d[key + 'Count']
43
+ value: d.count
44
44
  })
45
45
  }
46
46
  _opts[idx].chartOpts = base64JsonEncode({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-db",
3
- "version": "2.34.1",
3
+ "version": "2.34.2",
4
4
  "description": "DB Helper",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -5,6 +5,9 @@
5
5
  - [2.34.1] Bug fix in `echarts.js`
6
6
  - [2.34.1] Bug fix in `echarts-bar.js`
7
7
  - [2.34.1] Bug fix in `echarts-pie.js`
8
+ - [2.34.2] Bug fix in templates
9
+ - [2.34.2] Bug fix in `helper.addOnsHandler()`
10
+ - [2.34.2] Bug fix in `data-table.js` widget
8
11
 
9
12
  ## 2026-10-21
10
13