waibu-db 1.0.18 → 1.1.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/lib/crud/helper/add-ons-handler.js +1 -1
- package/package.json +1 -1
- package/waibuBootstrap/theme/component/factory/btn-add.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-back.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-clone.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-columns.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-delete.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-details.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-edit.js +1 -1
- package/waibuBootstrap/theme/component/factory/btn-export.js +1 -1
- package/waibuBootstrap/theme/component/factory/echarts.js +1 -1
- package/waibuBootstrap/theme/component/factory/pagination.js +1 -1
- package/waibuBootstrap/theme/component/factory/query.js +1 -1
- package/waibuBootstrap/theme/component/factory/recs-info.js +1 -1
- package/waibuBootstrap/theme/component/factory/table.js +1 -1
- /package/bajoTemplate/partial/crud/{echarts-window.html → ~echarts-window.html} +0 -0
- /package/{bajo → plugin}/.alias +0 -0
- /package/{bajo → plugin}/.dependencies +0 -0
- /package/{bajo → plugin}/config.json +0 -0
- /package/{bajo → plugin}/method/admin-menu.js +0 -0
- /package/{bajo → plugin}/method/get-lookup-data.js +0 -0
- /package/{bajo → plugin}/method/get-params.js +0 -0
- /package/{bajo → plugin}/method/get-schema-ext.js +0 -0
- /package/{bajo → plugin}/method/method-map.js +0 -0
- /package/{bajo → plugin}/method/record/count.js +0 -0
- /package/{bajo → plugin}/method/record/create.js +0 -0
- /package/{bajo → plugin}/method/record/find-one.js +0 -0
- /package/{bajo → plugin}/method/record/find.js +0 -0
- /package/{bajo → plugin}/method/record/get.js +0 -0
- /package/{bajo → plugin}/method/record/remove.js +0 -0
- /package/{bajo → plugin}/method/record/update.js +0 -0
- /package/{bajo → plugin}/method/stat/aggregate.js +0 -0
- /package/{bajo → plugin}/method/stat/histogram.js +0 -0
|
@@ -38,7 +38,7 @@ async function addOnsHandler ({ req, reply, data, schema }) {
|
|
|
38
38
|
return map(opts, o => {
|
|
39
39
|
return {
|
|
40
40
|
data: { option: o.chartOpts, name: o.name },
|
|
41
|
-
resource: 'waibuDb.partial:/crud
|
|
41
|
+
resource: 'waibuDb.partial:/crud/~echarts-window.html'
|
|
42
42
|
}
|
|
43
43
|
})
|
|
44
44
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ async function btnAdd () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnAdd extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { isEmpty, get } = this.plugin.app.bajo.lib._
|
|
9
9
|
const { req } = this.component
|
|
10
10
|
this.params.noTag = true
|
|
@@ -4,7 +4,7 @@ async function btnBack () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnBack extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { isEmpty } = this.plugin.app.bajo.lib._
|
|
9
9
|
const { attrToArray } = this.plugin.app.waibuMpa
|
|
10
10
|
const { req } = this.component
|
|
@@ -4,7 +4,7 @@ async function btnClone () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnClone extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { req } = this.component
|
|
9
9
|
const { isEmpty, get } = this.plugin.app.bajo.lib._
|
|
10
10
|
this.params.noTag = true
|
|
@@ -4,7 +4,7 @@ async function btnColumns () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnColumns extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { get, isEmpty, without } = this.plugin.app.bajo.lib._
|
|
9
9
|
const { jsonStringify } = this.plugin.app.waibuMpa
|
|
10
10
|
const { req } = this.component
|
|
@@ -4,7 +4,7 @@ async function btnDelete () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnDelete extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { req } = this.component
|
|
9
9
|
const { generateId } = this.plugin.app.bajo
|
|
10
10
|
const { isEmpty, get } = this.plugin.app.bajo.lib._
|
|
@@ -4,7 +4,7 @@ async function btnDetails () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnDetails extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { req } = this.component
|
|
9
9
|
const { generateId } = this.plugin.app.bajo
|
|
10
10
|
const { isEmpty, get } = this.plugin.app.bajo.lib._
|
|
@@ -4,7 +4,7 @@ async function btnEdit () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnEdit extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { req } = this.component
|
|
9
9
|
const { generateId } = this.plugin.app.bajo
|
|
10
10
|
const { isEmpty, get } = this.plugin.app.bajo.lib._
|
|
@@ -4,7 +4,7 @@ async function btnExport () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbBtnExport extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { isEmpty, get } = this.plugin.app.bajo.lib._
|
|
9
9
|
const { req } = this.component
|
|
10
10
|
this.params.noTag = true
|
|
@@ -20,7 +20,7 @@ async function echarts () {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
async
|
|
23
|
+
build = async () => {
|
|
24
24
|
const { defaultsDeep, generateId } = this.plugin.app.bajo
|
|
25
25
|
const { base64JsonDecode, jsonStringify } = this.plugin.app.waibuMpa
|
|
26
26
|
const { cloneDeep } = this.plugin.app.bajo.lib._
|
|
@@ -15,7 +15,7 @@ async function pagination () {
|
|
|
15
15
|
const WdbBase = await wdbBase.call(this)
|
|
16
16
|
|
|
17
17
|
return class WdbPagination extends WdbBase {
|
|
18
|
-
async
|
|
18
|
+
build = async () => {
|
|
19
19
|
const { req } = this.component
|
|
20
20
|
const { attrToObject, paginationLayout, groupAttrs } = this.plugin.app.waibuMpa
|
|
21
21
|
const { get, isNumber } = this.plugin.app.bajo.lib._
|
|
@@ -4,7 +4,7 @@ async function query () {
|
|
|
4
4
|
const WdbBase = await wdbBase.call(this)
|
|
5
5
|
|
|
6
6
|
return class WdbQuery extends WdbBase {
|
|
7
|
-
async
|
|
7
|
+
build = async () => {
|
|
8
8
|
const { generateId } = this.plugin.app.bajo
|
|
9
9
|
const { jsonStringify } = this.plugin.app.waibuMpa
|
|
10
10
|
const { find, get, without, isEmpty, filter, upperFirst } = this.plugin.app.bajo.lib._
|
|
@@ -5,7 +5,7 @@ async function recsInfo () {
|
|
|
5
5
|
const WdbBase = await wdbBase.call(this)
|
|
6
6
|
|
|
7
7
|
return class WdbRecsInfo extends WdbBase {
|
|
8
|
-
async
|
|
8
|
+
build = async () => {
|
|
9
9
|
const { req } = this.component
|
|
10
10
|
const { attrToObject, groupAttrs, attrToArray } = this.plugin.app.waibuMpa
|
|
11
11
|
const { get, isEmpty, omit, merge } = this.plugin.app.bajo.lib._
|
|
@@ -18,7 +18,7 @@ async function table () {
|
|
|
18
18
|
return get(schema, 'view.noWrap', []).includes(field)
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
async
|
|
21
|
+
build = async () => {
|
|
22
22
|
const { req } = this.component
|
|
23
23
|
const { callHandler } = this.plugin.app.bajo
|
|
24
24
|
const { escape } = this.plugin.app.waibu
|
|
File without changes
|
/package/{bajo → plugin}/.alias
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|