@fangzhongya/fang-ui 0.0.34 → 0.0.35
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/cascaders/src/index.cjs +4 -3
- package/dist/components/cascaders/src/index.js +2 -1
- package/dist/components/cascaders/style/index2.scss +4 -0
- package/dist/components/dates/index.css +0 -1
- package/dist/components/dates/index.scss +0 -1
- package/dist/components/index2.scss +22 -0
- package/dist/components/input-num/src/index.cjs +4 -4
- package/dist/components/input-num/src/index.js +1 -1
- package/dist/components/input-num/style/index2.scss +3 -0
- package/dist/components/inputs/src/index.cjs +4 -4
- package/dist/components/inputs/src/index.js +1 -1
- package/dist/components/inputs/style/index2.scss +3 -0
- package/dist/components/selects/src/index.cjs +5 -5
- package/dist/components/selects/src/index.js +1 -1
- package/dist/components/selects/style/index2.scss +3 -0
- package/dist/components/switchs/src/index.cjs +4 -4
- package/dist/components/switchs/src/index.js +1 -1
- package/dist/components/switchs/style/index2.scss +3 -0
- package/dist/components/tree-select/src/index.cjs +2 -2
- package/dist/index.css +0 -1
- package/package.json +6 -6
- /package/dist/components/{pagination → time-picker}/index.css +0 -0
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const index$2 = require("../../../directives/expose/index.cjs");
|
|
5
|
-
const
|
|
5
|
+
const ElCascader = require("element-plus/es/components/calendar/index");
|
|
6
|
+
const ElTreeSelect = require("element-plus/es/components/tree-select/index");
|
|
6
7
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
7
8
|
const index$1 = require("../../../hooks/inherit/index.cjs");
|
|
8
9
|
const data = require("./data.cjs");
|
|
@@ -31,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
31
32
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
32
33
|
class: vue.unref(cs).z()
|
|
33
34
|
}, vue.unref(attrs).root), [
|
|
34
|
-
props.isTree ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
35
|
+
props.isTree ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ElTreeSelect), vue.mergeProps({
|
|
35
36
|
key: 0,
|
|
36
37
|
modelValue: vue.unref(value),
|
|
37
38
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(value) ? value.value = $event : null)
|
|
@@ -42,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
42
43
|
"show-checkbox": vue.unref(multiple)
|
|
43
44
|
}), null, 16, ["modelValue", "class", "data", "multiple", "show-checkbox"])), [
|
|
44
45
|
[vue.unref(index$2.default), {}]
|
|
45
|
-
]) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
46
|
+
]) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ElCascader), vue.mergeProps({ key: 1 }, vue.unref(attrs).assem, {
|
|
46
47
|
class: vue.unref(cs).z("cascader"),
|
|
47
48
|
"show-all-levels": false,
|
|
48
49
|
modelValue: vue.unref(value),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, isRef } from "vue";
|
|
2
2
|
import vExpose from "../../../directives/expose/index.js";
|
|
3
|
-
import
|
|
3
|
+
import ElCascader from "element-plus/es/components/calendar/index";
|
|
4
|
+
import ElTreeSelect from "element-plus/es/components/tree-select/index";
|
|
4
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
5
6
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
6
7
|
import { dataEmits, dataProps, dataHandle } from "./data.js";
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use './color-picker/style/index2.scss' as *;
|
|
7
7
|
@use './config-provider/style/index2.scss' as *;
|
|
8
8
|
@use './alert/style/index2.scss' as *;
|
|
9
|
+
@use './drawer/style/index.scss' as *;
|
|
9
10
|
@use './popconfirm/style/index2.scss' as *;
|
|
10
11
|
@use './popover/style/index2.scss' as *;
|
|
11
12
|
@use './tooltip/style/index2.scss' as *;
|
|
@@ -41,11 +42,32 @@
|
|
|
41
42
|
@use './forms-item/style/index2.scss' as *;
|
|
42
43
|
@use './forms-items/style/index2.scss' as *;
|
|
43
44
|
@use './forms/style/index2.scss' as *;
|
|
45
|
+
@use './box-adjust/style/index.scss' as *;
|
|
46
|
+
@use './box-local/style/index.scss' as *;
|
|
47
|
+
@use './box-mask/style/index.scss' as *;
|
|
48
|
+
@use './box-title/style/index.scss' as *;
|
|
49
|
+
@use './box/style/index.scss' as *;
|
|
50
|
+
@use './popup/style/index.scss' as *;
|
|
51
|
+
@use './right-key/style/index.scss' as *;
|
|
52
|
+
@use './seamless-scroll/style/index.scss' as *;
|
|
53
|
+
@use './window/style/index.scss' as *;
|
|
54
|
+
@use './global-config/style/index.scss' as *;
|
|
55
|
+
@use './icon/style/index.scss' as *;
|
|
56
|
+
@use './lists/style/index.scss' as *;
|
|
44
57
|
@use './menus/style/index2.scss' as *;
|
|
45
58
|
@use './page/style/index2.scss' as *;
|
|
59
|
+
@use './array/style/index.scss' as *;
|
|
46
60
|
@use './buttons/style/index2.scss' as *;
|
|
61
|
+
@use './cascaders/style/index2.scss' as *;
|
|
47
62
|
@use './checks/style/index2.scss' as *;
|
|
48
63
|
@use './dates/style/index2.scss' as *;
|
|
64
|
+
@use './edit/style/index.scss' as *;
|
|
65
|
+
@use './input-array/style/index.scss' as *;
|
|
66
|
+
@use './input-num/style/index2.scss' as *;
|
|
67
|
+
@use './inputs/style/index2.scss' as *;
|
|
68
|
+
@use './selects/style/index2.scss' as *;
|
|
69
|
+
@use './switchs/style/index2.scss' as *;
|
|
70
|
+
@use './text/style/index.scss' as *;
|
|
49
71
|
@use './paging/style/index2.scss' as *;
|
|
50
72
|
@use './tables/style/index2.scss' as *;
|
|
51
73
|
@use './tablesp/style/index2.scss' as *;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const index$
|
|
5
|
-
const
|
|
4
|
+
const index$3 = require("../../../directives/expose/index.cjs");
|
|
5
|
+
const index$2 = require("element-plus/es/components/input-number/index");
|
|
6
6
|
const data = require("./data.cjs");
|
|
7
7
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36
36
|
ref: refEl,
|
|
37
37
|
class: vue.unref(cs).z()
|
|
38
38
|
}, vue.unref(attrs).root), [
|
|
39
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
39
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.ElInputNumber), vue.mergeProps({
|
|
40
40
|
class: vue.unref(cs).z("input"),
|
|
41
41
|
modelValue: value.value,
|
|
42
42
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
52
|
};
|
|
53
53
|
})
|
|
54
54
|
]), 1040, ["class", "modelValue", "placeholder"])), [
|
|
55
|
-
[vue.unref(index$
|
|
55
|
+
[vue.unref(index$3.default), {}]
|
|
56
56
|
])
|
|
57
57
|
], 16);
|
|
58
58
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, useSlots, ref, computed, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, createSlots, renderList, withCtx, renderSlot } from "vue";
|
|
2
2
|
import vExpose from "../../../directives/expose/index.js";
|
|
3
|
-
import { ElInputNumber } from "element-plus";
|
|
3
|
+
import { ElInputNumber } from "element-plus/es/components/input-number/index";
|
|
4
4
|
import { dataEmits, dataProps } from "./data.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
6
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const index$
|
|
5
|
-
const
|
|
4
|
+
const index$3 = require("../../../directives/expose/index.cjs");
|
|
5
|
+
const index$2 = require("element-plus/es/components/input/index");
|
|
6
6
|
const data = require("./data.cjs");
|
|
7
7
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
57
57
|
ref: refEl,
|
|
58
58
|
class: vue.unref(cs).z()
|
|
59
59
|
}, vue.unref(attrs).root), [
|
|
60
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
60
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.ElInput), vue.mergeProps({
|
|
61
61
|
class: vue.unref(cs).z("input"),
|
|
62
62
|
modelValue: value.value,
|
|
63
63
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
@@ -71,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
71
71
|
};
|
|
72
72
|
})
|
|
73
73
|
]), 1040, ["class", "modelValue", "placeholder"])), [
|
|
74
|
-
[vue.unref(index$
|
|
74
|
+
[vue.unref(index$3.default), {}]
|
|
75
75
|
])
|
|
76
76
|
], 16);
|
|
77
77
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, useSlots, ref, computed, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, createSlots, renderList, withCtx, renderSlot } from "vue";
|
|
2
2
|
import vExpose from "../../../directives/expose/index.js";
|
|
3
|
-
import { ElInput } from "element-plus";
|
|
3
|
+
import { ElInput } from "element-plus/es/components/input/index";
|
|
4
4
|
import { dataEmits, dataProps } from "./data.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
6
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const index$
|
|
5
|
-
const
|
|
4
|
+
const index$3 = require("../../../directives/expose/index.cjs");
|
|
5
|
+
const index$2 = require("element-plus/es/components/select/index");
|
|
6
6
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
7
7
|
const use = require("../../common/use.cjs");
|
|
8
8
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
38
|
}, vue.unref(attrs).root, {
|
|
39
39
|
class: vue.unref(cs).z()
|
|
40
40
|
}), [
|
|
41
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
41
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.ElSelect), vue.mergeProps({
|
|
42
42
|
class: vue.unref(cs).z("select"),
|
|
43
43
|
modelValue: vue.unref(value),
|
|
44
44
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(value) ? value.value = $event : null)
|
|
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
48
48
|
}), {
|
|
49
49
|
default: vue.withCtx(() => [
|
|
50
50
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.options, (item) => {
|
|
51
|
-
return vue.openBlock(), vue.createBlock(vue.unref(
|
|
51
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElOption), {
|
|
52
52
|
label: vue.unref(use.useVueValue)(item, props.label),
|
|
53
53
|
value: vue.unref(use.useVueValue)(item, props.prop),
|
|
54
54
|
disabled: item?.disabled
|
|
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
}, 16, ["class", "modelValue", "multiple", "placeholder"])), [
|
|
60
|
-
[vue.unref(index$
|
|
60
|
+
[vue.unref(index$3.default), {}]
|
|
61
61
|
])
|
|
62
62
|
], 16);
|
|
63
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, useAttrs, computed, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, isRef, withCtx, Fragment, renderList } from "vue";
|
|
2
2
|
import vExpose from "../../../directives/expose/index.js";
|
|
3
|
-
import { ElSelect, ElOption } from "element-plus";
|
|
3
|
+
import { ElSelect, ElOption } from "element-plus/es/components/select/index";
|
|
4
4
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
5
5
|
import { useVueValue } from "../../common/use.js";
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const index$
|
|
5
|
-
const
|
|
4
|
+
const index$3 = require("../../../directives/expose/index.cjs");
|
|
5
|
+
const index$2 = require("element-plus/es/components/switch/index");
|
|
6
6
|
const index$1 = require("../../../hooks/inherit/index.cjs");
|
|
7
7
|
const use = require("../../common/use.cjs");
|
|
8
8
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
@@ -68,12 +68,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
68
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
69
69
|
class: vue.unref(cs).z()
|
|
70
70
|
}, vue.unref(attrs).root), [
|
|
71
|
-
vue.withDirectives(vue.createVNode(vue.unref(
|
|
71
|
+
vue.withDirectives(vue.createVNode(vue.unref(index$2.ElSwitch), vue.mergeProps({
|
|
72
72
|
class: vue.unref(cs).z("switch"),
|
|
73
73
|
modelValue: value.value,
|
|
74
74
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
75
75
|
}, { ...binds.value, ...vue.unref(attrs).assem }), null, 16, ["class", "modelValue"]), [
|
|
76
|
-
[vue.unref(index$
|
|
76
|
+
[vue.unref(index$3.default), {}]
|
|
77
77
|
])
|
|
78
78
|
], 16);
|
|
79
79
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, ref, watch, computed, createElementBlock, openBlock, mergeProps, unref, withDirectives, createVNode } from "vue";
|
|
2
2
|
import vExpose from "../../../directives/expose/index.js";
|
|
3
|
-
import { ElSwitch } from "element-plus";
|
|
3
|
+
import { ElSwitch } from "element-plus/es/components/switch/index";
|
|
4
4
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
5
5
|
import { useVueValue } from "../../common/use.js";
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
@@ -5,7 +5,7 @@ const data = require("./data.cjs");
|
|
|
5
5
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index$2 = require("../../../hooks/locale/index.cjs");
|
|
7
7
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
8
|
-
const
|
|
8
|
+
const ElTreeSelect = require("element-plus/es/components/tree-select/index");
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: data.dataProps,
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
24
24
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
25
25
|
class: vue.unref(cs).z()
|
|
26
26
|
}, vue.unref(attrs).root), [
|
|
27
|
-
vue.createVNode(vue.unref(
|
|
27
|
+
vue.createVNode(vue.unref(ElTreeSelect.ElTreeSelect), vue.mergeProps(vue.unref(attrs).assem, {
|
|
28
28
|
ref_key: "refEl",
|
|
29
29
|
ref: refEl
|
|
30
30
|
}), vue.createSlots({ _: 2 }, [
|
package/dist/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.35",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@fangzhongya/utils": "0.0.25"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@fangzhongya/create": "0.2.
|
|
30
|
+
"@fangzhongya/create": "0.2.30",
|
|
31
31
|
"@types/node": "^24.1.0",
|
|
32
32
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
33
33
|
"@vue/shared": "3.5.18",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"vue-tsc": "^3.0.4",
|
|
50
50
|
"vuedraggable": "4.1.0",
|
|
51
51
|
"vxe-table": "4.14.8",
|
|
52
|
-
"@fang-ui/
|
|
52
|
+
"@fang-ui/icons": "0.0.1-0",
|
|
53
|
+
"@fang-ui/directives": "0.0.1-0",
|
|
53
54
|
"@fang-ui/hooks": "0.0.1-0",
|
|
55
|
+
"@fang-ui/components": "0.0.1-0",
|
|
56
|
+
"@fang-ui/locale": "0.0.1-0",
|
|
54
57
|
"@fang-ui/theme": "0.0.1-0",
|
|
55
58
|
"@fang-ui/types": "0.0.1-0",
|
|
56
|
-
"@fang-ui/directives": "0.0.1-0",
|
|
57
|
-
"@fang-ui/icons": "0.0.1-0",
|
|
58
|
-
"@fang-ui/locale": "0.0.1-0",
|
|
59
59
|
"@fang-ui/utils": "0.0.1-0"
|
|
60
60
|
},
|
|
61
61
|
"main": "./dist/index.cjs",
|
|
File without changes
|