@fangzhongya/fang-ui 0.0.65 → 0.0.66
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/button/src/data.cjs +3 -1
- package/dist/components/button/src/data.d.ts +3 -1
- package/dist/components/button/src/data.js +3 -1
- package/dist/components/button/src/index2.cjs +6 -10
- package/dist/components/button/src/index2.js +8 -12
- package/dist/components/buttons/src/index2.cjs +3 -3
- package/dist/components/buttons/src/index2.js +3 -3
- package/dist/components/dates-picker/src/index2.cjs +2 -2
- package/dist/components/dates-picker/src/index2.js +1 -1
- package/dist/components/edit-float/src/index2.cjs +9 -8
- package/dist/components/edit-float/src/index2.js +7 -6
- package/dist/components/images/src/index2.cjs +4 -4
- package/dist/components/images/src/index2.js +1 -1
- package/dist/components/input-history/index.css +1 -1
- package/dist/components/input-history/index.scss +1 -2
- package/dist/components/input-history/src/index2.cjs +17 -12
- package/dist/components/input-history/src/index2.js +12 -7
- package/dist/components/labels/src/index2.cjs +1 -1
- package/dist/components/labels/src/index2.js +1 -1
- package/dist/components/loading/src/index.cjs +3 -3
- package/dist/components/loading/src/index.d.ts +2 -2
- package/dist/components/loading/src/index.js +1 -1
- package/dist/components/message/index.d.ts +3 -5
- package/dist/components/message/src/index.cjs +3 -3
- package/dist/components/message/src/index.d.ts +3 -10
- package/dist/components/message/src/index.js +2 -2
- package/dist/components/message-box/src/index.cjs +3 -6
- package/dist/components/message-box/src/index.d.ts +3 -13
- package/dist/components/message-box/src/index.js +2 -5
- package/dist/components/page/set-column.css +8 -8
- package/dist/components/page/src/index2.cjs +22 -39
- package/dist/components/page/src/index2.js +23 -40
- package/dist/components/page/src/set-column.cjs +1 -1
- package/dist/components/page/src/set-column.js +1 -1
- package/dist/components/page/src/set-column2.cjs +9 -8
- package/dist/components/page/src/set-column2.js +2 -1
- package/dist/components/role-select/src/index2.cjs +7 -7
- package/dist/components/role-select/src/index2.js +1 -1
- package/dist/components/selector/src/index2.cjs +12 -11
- package/dist/components/selector/src/index2.js +8 -7
- package/dist/components/tablesv/src/column.cjs +9 -8
- package/dist/components/tablesv/src/column.js +2 -1
- package/dist/components/tablesv/src/columns2.cjs +2 -2
- package/dist/components/tablesv/src/columns2.js +1 -1
- package/dist/css/index.css +1 -1
- package/dist/css/input-history.css +1 -1
- package/dist/css/page/set-column.css +8 -8
- package/dist/icons/index.css +36 -36
- package/dist/icons/index.json +8 -8
- package/dist/index.css +1 -1
- package/package.json +4 -4
- /package/dist/components/{forms-items → forms-item}/index.css +0 -0
- /package/dist/components/{config-provider → keep-com}/index.css +0 -0
- /package/dist/css/{forms-items.css → forms-item.css} +0 -0
- /package/dist/css/{config-provider.css → keep-com.css} +0 -0
|
@@ -3,7 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
4
|
const dataProps = buildProps.buildProps({});
|
|
5
5
|
const dataEmits = [];
|
|
6
|
-
const dataSlot = {
|
|
6
|
+
const dataSlot = {
|
|
7
|
+
default: "default"
|
|
8
|
+
};
|
|
7
9
|
const dataExpose = {};
|
|
8
10
|
exports.dataEmits = dataEmits;
|
|
9
11
|
exports.dataExpose = dataExpose;
|
|
@@ -7,7 +7,9 @@ export declare const dataProps: {};
|
|
|
7
7
|
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
8
8
|
export declare const dataEmits: never[];
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
|
-
export declare const dataSlot: {
|
|
10
|
+
export declare const dataSlot: {
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
11
13
|
/**
|
|
12
14
|
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
15
|
*/
|
|
@@ -20,16 +20,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
21
|
return vue.openBlock(), vue.createBlock(vue.unref(index$1.ElButton), vue.mergeProps({
|
|
22
22
|
class: vue.unref(cs).z()
|
|
23
|
-
}, vue.unref(attrs)),
|
|
24
|
-
vue.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
])
|
|
30
|
-
};
|
|
31
|
-
})
|
|
32
|
-
]), 1040, ["class"]);
|
|
23
|
+
}, vue.unref(attrs)), {
|
|
24
|
+
default: vue.withCtx(() => [
|
|
25
|
+
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
|
|
26
|
+
]),
|
|
27
|
+
_: 3
|
|
28
|
+
}, 16, ["class"]);
|
|
33
29
|
};
|
|
34
30
|
}
|
|
35
31
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, useSlots, createBlock, openBlock, unref, mergeProps,
|
|
2
|
-
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
1
|
+
import { defineComponent, useAttrs, useSlots, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { dataExpose, dataSlot, dataEmits, dataProps } from "./data.js";
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
4
|
import { ElButton } from "element-plus/es/components/button/index";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -18,16 +18,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
19
|
return openBlock(), createBlock(unref(ElButton), mergeProps({
|
|
20
20
|
class: unref(cs).z()
|
|
21
|
-
}, unref(attrs)),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
])
|
|
28
|
-
};
|
|
29
|
-
})
|
|
30
|
-
]), 1040, ["class"]);
|
|
21
|
+
}, unref(attrs)), {
|
|
22
|
+
default: withCtx(() => [
|
|
23
|
+
renderSlot(_ctx.$slots, unref(dataSlot).default)
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
}, 16, ["class"]);
|
|
31
27
|
};
|
|
32
28
|
}
|
|
33
29
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
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$1 = require("
|
|
4
|
+
const index$1 = require("../../button/index.cjs");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
26
|
return props.nofather ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(props.options, (item, index2) => {
|
|
27
27
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
28
|
-
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
28
|
+
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.Button), vue.mergeProps({
|
|
29
29
|
key: 0,
|
|
30
30
|
class: [vue.unref(cs).z("li"), item.class]
|
|
31
31
|
}, { ref_for: true }, item, {
|
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
44
|
}, [
|
|
45
45
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.options, (item, index2) => {
|
|
46
46
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
47
|
-
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
47
|
+
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.Button), vue.mergeProps({
|
|
48
48
|
key: 0,
|
|
49
49
|
class: [vue.unref(cs).z("li"), item.class]
|
|
50
50
|
}, { ref_for: true }, item, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, renderList, createBlock, createCommentVNode, unref, mergeProps, withModifiers, withCtx, createTextVNode, toDisplayString, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Button } from "../../button/index.js";
|
|
3
3
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
4
4
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
return (_ctx, _cache) => {
|
|
24
24
|
return props.nofather ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(props.options, (item, index) => {
|
|
25
25
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
26
|
-
!item.hide ? (openBlock(), createBlock(unref(
|
|
26
|
+
!item.hide ? (openBlock(), createBlock(unref(Button), mergeProps({
|
|
27
27
|
key: 0,
|
|
28
28
|
class: [unref(cs).z("li"), item.class]
|
|
29
29
|
}, { ref_for: true }, item, {
|
|
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
}, [
|
|
43
43
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.options, (item, index) => {
|
|
44
44
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
45
|
-
!item.hide ? (openBlock(), createBlock(unref(
|
|
45
|
+
!item.hide ? (openBlock(), createBlock(unref(Button), mergeProps({
|
|
46
46
|
key: 0,
|
|
47
47
|
class: [unref(cs).z("li"), item.class]
|
|
48
48
|
}, { ref_for: true }, item, {
|
|
@@ -5,7 +5,7 @@ const data = require("./data.cjs");
|
|
|
5
5
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
7
7
|
const util = require("./util.cjs");
|
|
8
|
-
const
|
|
8
|
+
const index$2 = require("element-plus/es/components/date-picker/index");
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
...{ inheritAttrs: false },
|
|
11
11
|
__name: "index",
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
45
45
|
class: [vue.unref(cs).z()]
|
|
46
46
|
}, vue.unref(attrs).root), [
|
|
47
47
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).prefix),
|
|
48
|
-
vue.createVNode(vue.unref(
|
|
48
|
+
vue.createVNode(vue.unref(index$2.ElDatePicker), vue.mergeProps(vue.unref(attrs).assem, {
|
|
49
49
|
type: types.value.type,
|
|
50
50
|
format: props.format || types.value.format,
|
|
51
51
|
modelValue: value.value,
|
|
@@ -3,7 +3,7 @@ import { dataExpose, dataSlot, dataEmits, dataProps } from "./data.js";
|
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
4
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
5
5
|
import { getType, format } from "./util.js";
|
|
6
|
-
import { ElDatePicker } from "element-plus";
|
|
6
|
+
import { ElDatePicker } from "element-plus/es/components/date-picker/index";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
...{ inheritAttrs: false },
|
|
9
9
|
__name: "index",
|
|
@@ -1,11 +1,12 @@
|
|
|
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$3 = require("../../icon/index.cjs");
|
|
5
4
|
const edit = require("../../../icons/vue/edit.cjs");
|
|
6
|
-
const
|
|
5
|
+
const index$5 = require("../../icon/index.cjs");
|
|
6
|
+
const index$2 = require("../../popover/index.cjs");
|
|
7
|
+
const index$4 = require("../../button/index.cjs");
|
|
8
|
+
const index$3 = require("../../inputs/index.cjs");
|
|
7
9
|
const data = require("./data.cjs");
|
|
8
|
-
const index$2 = require("../../inputs/index.cjs");
|
|
9
10
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
10
11
|
const index = require("../../../hooks/locale/index.cjs");
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -85,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
86
|
ref: refEdit,
|
|
86
87
|
class: vue.normalizeClass(vue.unref(cs).z())
|
|
87
88
|
}, [
|
|
88
|
-
vue.createVNode(vue.unref(
|
|
89
|
+
vue.createVNode(vue.unref(index$2.Popover), {
|
|
89
90
|
visible: isInput.value,
|
|
90
91
|
placement: "top",
|
|
91
92
|
width: 200
|
|
@@ -98,7 +99,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
98
99
|
onDblclick: vue.withModifiers(onDblclick, ["stop"]),
|
|
99
100
|
class: vue.normalizeClass(vue.unref(cs).z("value"))
|
|
100
101
|
}, vue.toDisplayString(props.modelValue), 35),
|
|
101
|
-
isIcon.value && !isInput.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
102
|
+
isIcon.value && !isInput.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.Icon), {
|
|
102
103
|
key: 0,
|
|
103
104
|
onClick,
|
|
104
105
|
class: vue.normalizeClass(vue.unref(cs).z("icon"))
|
|
@@ -117,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
117
118
|
vue.createElementVNode("div", {
|
|
118
119
|
class: vue.normalizeClass(vue.unref(cs).z("title"))
|
|
119
120
|
}, vue.toDisplayString(vue.unref(getLocale)("modify")), 3),
|
|
120
|
-
vue.createVNode(vue.unref(index$
|
|
121
|
+
vue.createVNode(vue.unref(index$3.Inputs), {
|
|
121
122
|
modelValue: value.value,
|
|
122
123
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
123
124
|
ref_key: "refEditInput",
|
|
@@ -130,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
130
131
|
vue.createElementVNode("div", {
|
|
131
132
|
class: vue.normalizeClass(vue.unref(cs).z("but"))
|
|
132
133
|
}, [
|
|
133
|
-
vue.createVNode(vue.unref(
|
|
134
|
+
vue.createVNode(vue.unref(index$4.Button), {
|
|
134
135
|
size: "small",
|
|
135
136
|
text: "",
|
|
136
137
|
onClick: onClickqx
|
|
@@ -140,7 +141,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
140
141
|
]),
|
|
141
142
|
_: 1
|
|
142
143
|
}),
|
|
143
|
-
vue.createVNode(vue.unref(
|
|
144
|
+
vue.createVNode(vue.unref(index$4.Button), {
|
|
144
145
|
size: "small",
|
|
145
146
|
type: "primary",
|
|
146
147
|
onClick: onConfirm
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createElementVNode, toDisplayString, createTextVNode, createBlock, createCommentVNode, withModifiers } from "vue";
|
|
2
|
-
import { Icon } from "../../icon/index.js";
|
|
3
2
|
import Edit from "../../../icons/vue/edit.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Icon } from "../../icon/index.js";
|
|
4
|
+
import { Popover } from "../../popover/index.js";
|
|
5
|
+
import { Button } from "../../button/index.js";
|
|
6
6
|
import { Inputs } from "../../inputs/index.js";
|
|
7
|
+
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
7
8
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
9
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -83,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
84
|
ref: refEdit,
|
|
84
85
|
class: normalizeClass(unref(cs).z())
|
|
85
86
|
}, [
|
|
86
|
-
createVNode(unref(
|
|
87
|
+
createVNode(unref(Popover), {
|
|
87
88
|
visible: isInput.value,
|
|
88
89
|
placement: "top",
|
|
89
90
|
width: 200
|
|
@@ -128,7 +129,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
129
|
createElementVNode("div", {
|
|
129
130
|
class: normalizeClass(unref(cs).z("but"))
|
|
130
131
|
}, [
|
|
131
|
-
createVNode(unref(
|
|
132
|
+
createVNode(unref(Button), {
|
|
132
133
|
size: "small",
|
|
133
134
|
text: "",
|
|
134
135
|
onClick: onClickqx
|
|
@@ -138,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
139
|
]),
|
|
139
140
|
_: 1
|
|
140
141
|
}),
|
|
141
|
-
createVNode(unref(
|
|
142
|
+
createVNode(unref(Button), {
|
|
142
143
|
size: "small",
|
|
143
144
|
type: "primary",
|
|
144
145
|
onClick: onConfirm
|
|
@@ -1,11 +1,11 @@
|
|
|
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$
|
|
4
|
+
const index$3 = require("../../../directives/expose/index.cjs");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
7
7
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
8
|
-
const
|
|
8
|
+
const index$2 = require("element-plus/es/components/image/index");
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: data.dataProps,
|
|
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
35
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
36
36
|
class: [vue.unref(cs).z()]
|
|
37
37
|
}, vue.unref(attrs).root), [
|
|
38
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
38
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.ElImage), vue.mergeProps(vue.unref(attrs).assem, {
|
|
39
39
|
src: value.value,
|
|
40
40
|
"preview-src-list": list.value,
|
|
41
41
|
style: {
|
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
52
|
};
|
|
53
53
|
})
|
|
54
54
|
]), 1040, ["src", "preview-src-list", "style"])), [
|
|
55
|
-
[vue.unref(index$
|
|
55
|
+
[vue.unref(index$3.default), {}]
|
|
56
56
|
])
|
|
57
57
|
], 16);
|
|
58
58
|
};
|
|
@@ -3,7 +3,7 @@ import vExpose from "../../../directives/expose/index.js";
|
|
|
3
3
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
4
4
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
5
5
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
6
|
-
import { ElImage } from "element-plus";
|
|
6
|
+
import { ElImage } from "element-plus/es/components/image/index";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: dataProps,
|
|
@@ -1,14 +1,15 @@
|
|
|
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$
|
|
4
|
+
const index$3 = require("../../icon/index.cjs");
|
|
5
5
|
const clear = require("../../../icons/vue/clear.cjs");
|
|
6
|
-
const index$
|
|
7
|
-
const
|
|
6
|
+
const index$5 = require("../../../directives/expose/index.cjs");
|
|
7
|
+
const index$2 = require("../../popover/index.cjs");
|
|
8
|
+
const index$6 = require("../../button/index.cjs");
|
|
8
9
|
const getCss = require("@fangzhongya/utils/css/getCss");
|
|
9
10
|
const util = require("./util.cjs");
|
|
10
11
|
const data = require("./data.cjs");
|
|
11
|
-
const index$
|
|
12
|
+
const index$4 = require("../../inputs/index.cjs");
|
|
12
13
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
13
14
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
14
15
|
const _hoisted_1 = ["onClick"];
|
|
@@ -96,7 +97,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
97
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
97
98
|
class: [vue.unref(cs).z()]
|
|
98
99
|
}, vue.unref(attrs).root), [
|
|
99
|
-
vue.createVNode(vue.unref(
|
|
100
|
+
vue.createVNode(vue.unref(index$2.Popover), {
|
|
100
101
|
trigger: "click",
|
|
101
102
|
"popper-class": vue.unref(cs).z("popper"),
|
|
102
103
|
visible: visible.value,
|
|
@@ -104,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
104
105
|
width: width.value
|
|
105
106
|
}, {
|
|
106
107
|
reference: vue.withCtx(() => [
|
|
107
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
108
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$4.Inputs), vue.mergeProps({
|
|
108
109
|
ref_key: "refInput",
|
|
109
110
|
ref: refInput,
|
|
110
111
|
modelValue: value.value,
|
|
@@ -131,7 +132,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
131
132
|
};
|
|
132
133
|
})
|
|
133
134
|
]), 1040, ["modelValue", "disabled"])), [
|
|
134
|
-
[vue.unref(index$
|
|
135
|
+
[vue.unref(index$5.default), {}]
|
|
135
136
|
])
|
|
136
137
|
]),
|
|
137
138
|
default: vue.withCtx(() => [
|
|
@@ -148,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
148
149
|
onClick: vue.withModifiers(($event) => onClickSelect(item), ["stop"])
|
|
149
150
|
}, [
|
|
150
151
|
vue.createElementVNode("span", null, vue.toDisplayString(item), 1),
|
|
151
|
-
props.clean ? (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
152
|
+
props.clean ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Icon), {
|
|
152
153
|
key: 0,
|
|
153
154
|
class: vue.normalizeClass([vue.unref(cs).z("select-li-clean")]),
|
|
154
155
|
onClick: vue.withModifiers(($event) => onClean(item), ["stop"])
|
|
@@ -165,13 +166,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
165
166
|
]),
|
|
166
167
|
_: 3
|
|
167
168
|
}, 8, ["popper-class", "visible", "disabled", "width"]),
|
|
168
|
-
props.buts ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
169
|
+
props.buts ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.Button), vue.mergeProps({
|
|
169
170
|
key: 0,
|
|
170
171
|
class: [vue.unref(cs).z("but"), props.buts.class]
|
|
171
172
|
}, props.buts, {
|
|
172
|
-
onClick: vue.withModifiers(onChange, ["stop"])
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
onClick: vue.withModifiers(onChange, ["stop"])
|
|
174
|
+
}), {
|
|
175
|
+
default: vue.withCtx(() => [
|
|
176
|
+
vue.createTextVNode(vue.toDisplayString(props.buts.label), 1)
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
}, 16, ["class"])) : vue.createCommentVNode("", true)
|
|
175
180
|
], 16);
|
|
176
181
|
};
|
|
177
182
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, useSlots, ref, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, createBlock, createCommentVNode, withCtx, normalizeClass, createElementVNode, Fragment, renderList, withModifiers, toDisplayString, withDirectives, withKeys, createSlots, renderSlot } from "vue";
|
|
1
|
+
import { defineComponent, useAttrs, useSlots, ref, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, createBlock, createCommentVNode, withCtx, normalizeClass, createElementVNode, Fragment, renderList, withModifiers, toDisplayString, withDirectives, withKeys, createSlots, renderSlot, createTextVNode } from "vue";
|
|
2
2
|
import { Icon } from "../../icon/index.js";
|
|
3
3
|
import Clear from "../../../icons/vue/clear.js";
|
|
4
4
|
import vExpose from "../../../directives/expose/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Popover } from "../../popover/index.js";
|
|
6
|
+
import { Button } from "../../button/index.js";
|
|
6
7
|
import { getCss } from "@fangzhongya/utils/css/getCss";
|
|
7
8
|
import { useStorage, replaceAfter, deleteArray } from "./util.js";
|
|
8
9
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
@@ -94,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
94
95
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
95
96
|
class: [unref(cs).z()]
|
|
96
97
|
}, unref(attrs).root), [
|
|
97
|
-
createVNode(unref(
|
|
98
|
+
createVNode(unref(Popover), {
|
|
98
99
|
trigger: "click",
|
|
99
100
|
"popper-class": unref(cs).z("popper"),
|
|
100
101
|
visible: visible.value,
|
|
@@ -163,13 +164,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
163
164
|
]),
|
|
164
165
|
_: 3
|
|
165
166
|
}, 8, ["popper-class", "visible", "disabled", "width"]),
|
|
166
|
-
props.buts ? (openBlock(), createBlock(unref(
|
|
167
|
+
props.buts ? (openBlock(), createBlock(unref(Button), mergeProps({
|
|
167
168
|
key: 0,
|
|
168
169
|
class: [unref(cs).z("but"), props.buts.class]
|
|
169
170
|
}, props.buts, {
|
|
170
|
-
onClick: withModifiers(onChange, ["stop"])
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
onClick: withModifiers(onChange, ["stop"])
|
|
172
|
+
}), {
|
|
173
|
+
default: withCtx(() => [
|
|
174
|
+
createTextVNode(toDisplayString(props.buts.label), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}, 16, ["class"])) : createCommentVNode("", true)
|
|
173
178
|
], 16);
|
|
174
179
|
};
|
|
175
180
|
}
|
|
@@ -6,7 +6,6 @@ const index$1 = require("../../selects/index.cjs");
|
|
|
6
6
|
const use = require("../../common/use.cjs");
|
|
7
7
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const data = require("./data.cjs");
|
|
9
|
-
const wholeValue = "Symbol('whole')";
|
|
10
9
|
const wholeClass = "labels-li-whole";
|
|
11
10
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
12
11
|
__name: "index",
|
|
@@ -36,6 +35,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36
35
|
obj[d] = value2;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
38
|
+
const wholeValue = "__Symbol('whole')__" + (/* @__PURE__ */ new Date()).valueOf();
|
|
39
39
|
const options = vue.computed(() => {
|
|
40
40
|
const opts = [...props.options];
|
|
41
41
|
if (!props.nowhole) {
|
|
@@ -4,7 +4,6 @@ import { Selects } from "../../selects/index.js";
|
|
|
4
4
|
import { useVueValue } from "../../common/use.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
6
|
import { dataHandle, dataEmits, dataProps } from "./data.js";
|
|
7
|
-
const wholeValue = "Symbol('whole')";
|
|
8
7
|
const wholeClass = "labels-li-whole";
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "index",
|
|
@@ -34,6 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
33
|
obj[d] = value2;
|
|
35
34
|
}
|
|
36
35
|
}
|
|
36
|
+
const wholeValue = "__Symbol('whole')__" + (/* @__PURE__ */ new Date()).valueOf();
|
|
37
37
|
const options = computed(() => {
|
|
38
38
|
const opts = [...props.options];
|
|
39
39
|
if (!props.nowhole) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const vLoading =
|
|
5
|
-
const Loading =
|
|
3
|
+
const index = require("element-plus/es/components/loading/index");
|
|
4
|
+
const vLoading = index.ElLoadingDirective;
|
|
5
|
+
const Loading = index.ElLoadingService;
|
|
6
6
|
exports.Loading = Loading;
|
|
7
7
|
exports.default = Loading;
|
|
8
8
|
exports.vLoading = vLoading;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElLoadingDirective } from 'element-plus';
|
|
2
|
-
import { LoadingOptions, LoadingInstance } from 'element-plus/es/
|
|
1
|
+
import { ElLoadingDirective } from 'element-plus/es/es/components/loading/index';
|
|
2
|
+
import { LoadingOptions, LoadingInstance } from 'element-plus/es/components/loading';
|
|
3
3
|
import { AppContext } from 'vue';
|
|
4
4
|
/**
|
|
5
5
|
* @title {h2} Loading 加载
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SFCInstallWithContext } from 'element-plus/es/utils';
|
|
2
|
+
import { Message } from 'element-plus/es/components/message';
|
|
2
3
|
import { Plugin } from 'vue';
|
|
3
|
-
declare const Message: {
|
|
4
|
-
(...arr: any[]): MessageHandler;
|
|
5
|
-
closeAll: (type?: MessageType) => void;
|
|
6
|
-
} & {
|
|
4
|
+
declare const Message: SFCInstallWithContext<Message> & {
|
|
7
5
|
install: Plugin["install"];
|
|
8
6
|
};
|
|
9
7
|
export { Message, Message as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const index = require("element-plus/es/components/message/index");
|
|
4
4
|
const Message = (...arr) => {
|
|
5
|
-
return
|
|
5
|
+
return index.ElMessage(...arr);
|
|
6
6
|
};
|
|
7
|
-
Message
|
|
7
|
+
Object.assign(Message, index.ElMessage);
|
|
8
8
|
exports.default = Message;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @text 目前完全继承 element-plus 中 ElMessage
|
|
5
|
-
*/
|
|
6
|
-
declare const Message: {
|
|
7
|
-
(...arr: any[]): MessageHandler;
|
|
8
|
-
closeAll: (type?: MessageType) => void;
|
|
9
|
-
};
|
|
10
|
-
export default Message;
|
|
1
|
+
import { ElMessage } from 'element-plus/es/es/components/message/index';
|
|
2
|
+
declare const _default: typeof ElMessage;
|
|
3
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ElMessage } from "element-plus";
|
|
1
|
+
import { ElMessage } from "element-plus/es/components/message/index";
|
|
2
2
|
const Message = (...arr) => {
|
|
3
3
|
return ElMessage(...arr);
|
|
4
4
|
};
|
|
5
|
-
Message
|
|
5
|
+
Object.assign(Message, ElMessage);
|
|
6
6
|
export {
|
|
7
7
|
Message as default
|
|
8
8
|
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const index = require("element-plus/es/components/message-box/index");
|
|
4
4
|
const MessageBox = (a, ...rest) => {
|
|
5
|
-
return
|
|
5
|
+
return index.ElMessageBox(a, ...rest);
|
|
6
6
|
};
|
|
7
|
-
MessageBox
|
|
8
|
-
MessageBox.alert = elementPlus.ElMessageBox.alert;
|
|
9
|
-
MessageBox.confirm = elementPlus.ElMessageBox.confirm;
|
|
10
|
-
MessageBox.prompt = elementPlus.ElMessageBox.prompt;
|
|
7
|
+
Object.assign(MessageBox, index.ElMessageBox);
|
|
11
8
|
exports.default = MessageBox;
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @text 目前完全继承 element-plus 中 ElMessageBox
|
|
5
|
-
*/
|
|
6
|
-
declare const MessageBox: {
|
|
7
|
-
(a: any, ...rest: any[]): Promise< MessageBoxData>;
|
|
8
|
-
close: () => void;
|
|
9
|
-
alert: ElMessageBoxShortcutMethod;
|
|
10
|
-
confirm: ElMessageBoxShortcutMethod;
|
|
11
|
-
prompt: ElMessageBoxShortcutMethod;
|
|
12
|
-
};
|
|
13
|
-
export default MessageBox;
|
|
1
|
+
import { ElMessageBox } from 'element-plus/es/es/components/message-box/index';
|
|
2
|
+
declare const _default: typeof ElMessageBox;
|
|
3
|
+
export default _default;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { ElMessageBox } from "element-plus";
|
|
1
|
+
import { ElMessageBox } from "element-plus/es/components/message-box/index";
|
|
2
2
|
const MessageBox = (a, ...rest) => {
|
|
3
3
|
return ElMessageBox(a, ...rest);
|
|
4
4
|
};
|
|
5
|
-
MessageBox
|
|
6
|
-
MessageBox.alert = ElMessageBox.alert;
|
|
7
|
-
MessageBox.confirm = ElMessageBox.confirm;
|
|
8
|
-
MessageBox.prompt = ElMessageBox.prompt;
|
|
5
|
+
Object.assign(MessageBox, ElMessageBox);
|
|
9
6
|
export {
|
|
10
7
|
MessageBox as default
|
|
11
8
|
};
|