waibu-bootstrap 1.1.16 → 1.2.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/package.json
CHANGED
|
@@ -8,7 +8,7 @@ async function form () {
|
|
|
8
8
|
|
|
9
9
|
build = async () => {
|
|
10
10
|
this.component.locals.form = this.component.locals.form ?? {}
|
|
11
|
-
const { pascalCase } = this.plugin.
|
|
11
|
+
const { pascalCase } = this.plugin.lib.aneka
|
|
12
12
|
const { isEmpty, omit, has } = this.plugin.lib._
|
|
13
13
|
const { attrToArray } = this.plugin.app.waibuMpa
|
|
14
14
|
const { groupAttrs } = this.plugin.app.waibuMpa
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
async function navDropdownDarkmode () {
|
|
2
2
|
return class NavDropdownDarkmode extends this.baseFactory {
|
|
3
3
|
build = async () => {
|
|
4
|
-
const { titleize, isSet } = this.plugin.
|
|
4
|
+
const { titleize, isSet } = this.plugin.lib.aneka
|
|
5
5
|
const { set, omit } = this.plugin.lib._
|
|
6
6
|
const cfgWmpa = this.plugin.app.waibuMpa.config
|
|
7
7
|
this.params.noTag = true
|
|
@@ -2,7 +2,7 @@ import { placements } from './_lib.js'
|
|
|
2
2
|
const classes = ['btn', 'nav-link']
|
|
3
3
|
|
|
4
4
|
function tooltip ({ key, params }) {
|
|
5
|
-
const { includes } = this.plugin.
|
|
5
|
+
const { includes } = this.plugin.lib.aneka
|
|
6
6
|
const { isString } = this.plugin.lib._
|
|
7
7
|
if (isString(params.attr.tooltip) && (includes(params.attr.class, classes) || params.tag === 'a' || params.attr.tag === 'a')) {
|
|
8
8
|
params.attr.dataBsToggle = 'tooltip'
|
|
File without changes
|