@fangzhongya/fang-ui 0.1.72 → 0.1.73
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/dist/components/menus/src/menu-ll2.cjs +2 -1
- package/dist/components/menus/src/menu-ll2.js +2 -1
- package/dist/icons/index.json +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/only.cjs +6 -0
- package/dist/utils/only.d.ts +1 -0
- package/dist/utils/only.js +6 -0
- package/package.json +4 -4
- /package/dist/components/{box-fun → box}/index.css +0 -0
- /package/dist/css/{box-fun.css → box.css} +0 -0
|
@@ -8,6 +8,7 @@ const use = require("../../common/use.cjs");
|
|
|
8
8
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
9
9
|
const util = require("./util.cjs");
|
|
10
10
|
const util$1 = require("../../../utils/util.cjs");
|
|
11
|
+
const only = require("../../../utils/only.cjs");
|
|
11
12
|
const index = require("../../../hooks/props-default/index.cjs");
|
|
12
13
|
const name = "menu-li";
|
|
13
14
|
const dataProps = {
|
|
@@ -101,7 +102,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
101
102
|
if (!use.useHide(obj, props.value)) {
|
|
102
103
|
const v = obj[config.prop];
|
|
103
104
|
const c = obj[config.children];
|
|
104
|
-
const i = setIndexValue(v, obj, props.config) ||
|
|
105
|
+
const i = setIndexValue(v, obj, props.config) || only.getOnly();
|
|
105
106
|
if (c && c.length > 0) {
|
|
106
107
|
arr.push(
|
|
107
108
|
vue.h(
|
|
@@ -6,6 +6,7 @@ import { useHide } from "../../common/use.js";
|
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
7
7
|
import { setLabel } from "./util.js";
|
|
8
8
|
import { getFathers } from "../../../utils/util.js";
|
|
9
|
+
import { getOnly } from "../../../utils/only.js";
|
|
9
10
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
10
11
|
const name = "menu-li";
|
|
11
12
|
const dataProps = {
|
|
@@ -99,7 +100,7 @@ const _sfc_main = defineComponent({
|
|
|
99
100
|
if (!useHide(obj, props.value)) {
|
|
100
101
|
const v = obj[config.prop];
|
|
101
102
|
const c = obj[config.children];
|
|
102
|
-
const i = setIndexValue(v, obj, props.config) ||
|
|
103
|
+
const i = setIndexValue(v, obj, props.config) || getOnly();
|
|
103
104
|
if (c && c.length > 0) {
|
|
104
105
|
arr.push(
|
|
105
106
|
h(
|
package/dist/icons/index.json
CHANGED
package/dist/utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getOnly(): string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.73",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"vue-tsc": "^3.2.2",
|
|
53
53
|
"vxe-table": "4.6.20",
|
|
54
54
|
"@fang-ui/components": "0.0.1-0",
|
|
55
|
-
"@fang-ui/directives": "0.0.1-0",
|
|
56
55
|
"@fang-ui/hooks": "0.0.1-0",
|
|
57
56
|
"@fang-ui/icons": "0.0.1-0",
|
|
58
57
|
"@fang-ui/locale": "0.0.1-0",
|
|
58
|
+
"@fang-ui/directives": "0.0.1-0",
|
|
59
59
|
"@fang-ui/theme": "0.0.1-0",
|
|
60
|
-
"@fang-ui/
|
|
61
|
-
"@fang-ui/
|
|
60
|
+
"@fang-ui/types": "0.0.1-0",
|
|
61
|
+
"@fang-ui/utils": "0.0.1-0"
|
|
62
62
|
},
|
|
63
63
|
"main": "./dist/index.cjs",
|
|
64
64
|
"module": "./dist/index.js",
|
|
File without changes
|
|
File without changes
|