@fangzhongya/fang-ui 0.0.65 → 0.0.67
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/array/src/index2.cjs +21 -2
- package/dist/components/array/src/index2.js +22 -3
- 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/cascaders/src/index2.cjs +3 -8
- package/dist/components/cascaders/src/index2.js +4 -9
- package/dist/components/dates-divide/src/data.cjs +1 -1
- package/dist/components/dates-divide/src/data.d.ts +1 -1
- package/dist/components/dates-divide/src/data.js +1 -1
- 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/forms/src/data.cjs +12 -12
- package/dist/components/forms/src/data.d.ts +1 -27
- package/dist/components/forms/src/data.js +12 -12
- package/dist/components/forms-div/src/data.cjs +5 -2
- package/dist/components/forms-div/src/data.d.ts +3 -2
- package/dist/components/forms-div/src/data.js +5 -2
- package/dist/components/forms-div/src/index2.cjs +2 -2
- package/dist/components/forms-div/src/index2.js +3 -3
- package/dist/components/forms-drag/src/index2.cjs +6 -10
- package/dist/components/forms-drag/src/index2.js +6 -10
- package/dist/components/forms-item/src/data.cjs +5 -2
- package/dist/components/forms-item/src/data.d.ts +3 -2
- package/dist/components/forms-item/src/data.js +5 -2
- package/dist/components/forms-item/src/indexts.d.ts +5 -2
- package/dist/components/global-config/src/index.cjs +7 -3
- package/dist/components/global-config/src/index.js +7 -3
- package/dist/components/icon/src/index2.cjs +2 -2
- package/dist/components/icon/src/index2.js +3 -3
- package/dist/components/images/src/index2.cjs +4 -4
- package/dist/components/images/src/index2.js +1 -1
- package/dist/components/index.scss +2 -2
- package/dist/components/index2.scss +2 -2
- package/dist/components/input-history/index.css +1 -1
- package/dist/components/input-history/index.scss +1 -2
- package/dist/components/input-history/src/data.cjs +2 -2
- package/dist/components/input-history/src/data.d.ts +0 -1
- package/dist/components/input-history/src/data.js +2 -2
- package/dist/components/input-history/src/index2.cjs +17 -12
- package/dist/components/input-history/src/index2.js +12 -7
- package/dist/components/input-num/index.css +1 -0
- package/dist/components/input-num/index.scss +1 -0
- package/dist/components/labels/src/index2.cjs +1 -1
- package/dist/components/labels/src/index2.js +1 -1
- package/dist/components/list/src/data.cjs +1 -1
- package/dist/components/list/src/data.d.ts +1 -1
- package/dist/components/list/src/data.js +1 -1
- package/dist/components/listsp/src/index2.cjs +3 -3
- package/dist/components/listsp/src/index2.js +3 -3
- 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/data.cjs +13 -1
- package/dist/components/page/src/data.d.ts +26 -1
- package/dist/components/page/src/data.js +13 -1
- package/dist/components/page/src/index2.cjs +23 -40
- package/dist/components/page/src/index2.js +24 -41
- 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/paging/src/index2.cjs +2 -2
- package/dist/components/paging/src/index2.js +2 -2
- 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/stick-div/src/index2.cjs +8 -1
- package/dist/components/stick-div/src/index2.js +8 -1
- 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 +24 -5
- package/dist/css/input-history.css +1 -1
- package/dist/css/input-num.css +1 -0
- package/dist/css/page/set-column.css +8 -8
- package/dist/directives/adjust/index.cjs +0 -8
- package/dist/directives/adjust/index.js +0 -8
- package/dist/icons/index.css +41 -41
- package/dist/icons/index.json +12 -12
- package/dist/index.css +24 -5
- package/package.json +6 -6
- /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
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const Draggable = require("vuedraggable");
|
|
5
|
-
const index$
|
|
6
|
-
const index$
|
|
5
|
+
const index$2 = require("../../dialogs/index.cjs");
|
|
6
|
+
const index$4 = require("../../no-data/index.cjs");
|
|
7
7
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
8
|
-
const
|
|
8
|
+
const index$3 = require("element-plus/es/components/checkbox/index");
|
|
9
|
+
const index$1 = require("element-plus/es/components/button/index");
|
|
9
10
|
const _hoisted_1 = {
|
|
10
11
|
key: 1,
|
|
11
12
|
class: "no-data"
|
|
@@ -69,13 +70,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
69
70
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
70
71
|
class: vue.normalizeClass(vue.unref(cs).z())
|
|
71
72
|
}, [
|
|
72
|
-
vue.createVNode(vue.unref(
|
|
73
|
+
vue.createVNode(vue.unref(index$1.ElButton), { onClick: onOpen }, {
|
|
73
74
|
default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
74
75
|
vue.createTextVNode("列设置", -1)
|
|
75
76
|
])]),
|
|
76
77
|
_: 1
|
|
77
78
|
}),
|
|
78
|
-
vue.createVNode(vue.unref(index$
|
|
79
|
+
vue.createVNode(vue.unref(index$2.Dialogs), {
|
|
79
80
|
class: vue.normalizeClass(vue.unref(cs).z("dialog")),
|
|
80
81
|
modelValue: dialogVisible.value,
|
|
81
82
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
|
|
@@ -97,7 +98,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
97
98
|
key: value.value.length
|
|
98
99
|
}, [
|
|
99
100
|
props.list && props.list.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(props.list, (item, index2) => {
|
|
100
|
-
return vue.openBlock(), vue.createBlock(vue.unref(
|
|
101
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$3.ElCheckbox), {
|
|
101
102
|
class: vue.normalizeClass(vue.unref(cs).z("check-list-li")),
|
|
102
103
|
key: index2,
|
|
103
104
|
label: item.label,
|
|
@@ -105,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
106
|
checked: isChecked(item),
|
|
106
107
|
onChange: (is) => onChange(item, Boolean(is))
|
|
107
108
|
}, null, 8, ["class", "label", "value", "checked", "onChange"]);
|
|
108
|
-
}), 128)) : (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
109
|
+
}), 128)) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.NoData), { key: 1 }))
|
|
109
110
|
], 2))
|
|
110
111
|
], 2),
|
|
111
112
|
vue.createElementVNode("div", {
|
|
@@ -134,7 +135,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
134
135
|
}, [
|
|
135
136
|
vue.createElementVNode("div", null, vue.toDisplayString(element.label), 1)
|
|
136
137
|
], 2),
|
|
137
|
-
vue.createVNode(vue.unref(
|
|
138
|
+
vue.createVNode(vue.unref(index$1.ElButton), {
|
|
138
139
|
text: "",
|
|
139
140
|
onClick: vue.withModifiers(($event) => onDelete(element, index2), ["stop"])
|
|
140
141
|
}, {
|
|
@@ -3,7 +3,8 @@ import Draggable from "vuedraggable";
|
|
|
3
3
|
import { Dialogs } from "../../dialogs/index.js";
|
|
4
4
|
import { NoData } from "../../no-data/index.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ElCheckbox } from "element-plus/es/components/checkbox/index";
|
|
7
|
+
import { ElButton } from "element-plus/es/components/button/index";
|
|
7
8
|
const _hoisted_1 = {
|
|
8
9
|
key: 1,
|
|
9
10
|
class: "no-data"
|
|
@@ -3,10 +3,10 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
require("../../../hooks/index.cjs");
|
|
6
|
-
const
|
|
6
|
+
const index$5 = require("element-plus/es/components/table/index");
|
|
7
7
|
const index$3 = require("../../input/index.cjs");
|
|
8
8
|
const index$4 = require("../../checkbox-group/index.cjs");
|
|
9
|
-
const index$
|
|
9
|
+
const index$6 = require("../../checkbox/index.cjs");
|
|
10
10
|
const index$2 = require("../../select-dialog/index.cjs");
|
|
11
11
|
const index = require("../../../hooks/locale/index.cjs");
|
|
12
12
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
@@ -158,27 +158,27 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
158
158
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => list.value = $event)
|
|
159
159
|
}, {
|
|
160
160
|
default: vue.withCtx(() => [
|
|
161
|
-
vue.createVNode(vue.unref(
|
|
161
|
+
vue.createVNode(vue.unref(index$5.ElTable), {
|
|
162
162
|
data: listData.value,
|
|
163
163
|
height: "100%",
|
|
164
164
|
style: { "width": "100%" }
|
|
165
165
|
}, {
|
|
166
166
|
default: vue.withCtx(() => [
|
|
167
|
-
vue.createVNode(vue.unref(
|
|
167
|
+
vue.createVNode(vue.unref(index$5.ElTableColumn), {
|
|
168
168
|
type: "index",
|
|
169
169
|
label: "序号",
|
|
170
170
|
width: "60"
|
|
171
171
|
}),
|
|
172
|
-
vue.createVNode(vue.unref(
|
|
172
|
+
vue.createVNode(vue.unref(index$5.ElTableColumn), {
|
|
173
173
|
prop: psprops.value.label,
|
|
174
174
|
label: "角色名称"
|
|
175
175
|
}, null, 8, ["prop"]),
|
|
176
|
-
vue.createVNode(vue.unref(
|
|
176
|
+
vue.createVNode(vue.unref(index$5.ElTableColumn), {
|
|
177
177
|
width: "60",
|
|
178
178
|
label: "选择"
|
|
179
179
|
}, {
|
|
180
180
|
default: vue.withCtx(({ row }) => [
|
|
181
|
-
vue.createVNode(vue.unref(index$
|
|
181
|
+
vue.createVNode(vue.unref(index$6.Checkbox), {
|
|
182
182
|
onChange: () => {
|
|
183
183
|
onChange(row);
|
|
184
184
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createElementVNode, withKeys, createTextVNode, toDisplayString, renderSlot } from "vue";
|
|
2
2
|
import { roleSelect, dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
3
|
import "../../../hooks/index.js";
|
|
4
|
-
import { ElTable, ElTableColumn } from "element-plus";
|
|
4
|
+
import { ElTable, ElTableColumn } from "element-plus/es/components/table/index";
|
|
5
5
|
import { Input } from "../../input/index.js";
|
|
6
6
|
import { CheckboxGroup } from "../../checkbox-group/index.js";
|
|
7
7
|
import { Checkbox } from "../../checkbox/index.js";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const
|
|
4
|
+
const index$2 = require("../../popover/index.cjs");
|
|
5
|
+
const index$4 = require("../../button/index.cjs");
|
|
6
|
+
const index$5 = require("../../array/index.cjs");
|
|
7
|
+
const index$6 = require("../../inputs/index.cjs");
|
|
8
|
+
const index$3 = require("../../select-scroll/index.cjs");
|
|
5
9
|
const use = require("../../common/use.cjs");
|
|
6
10
|
const data = require("./data.cjs");
|
|
7
11
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
|
-
const index$2 = require("../../select-scroll/index.cjs");
|
|
9
|
-
const index$3 = require("../../array/index.cjs");
|
|
10
|
-
const index$4 = require("../../inputs/index.cjs");
|
|
11
12
|
const index = require("../../../hooks/locale/index.cjs");
|
|
12
13
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
13
14
|
__name: "index",
|
|
@@ -113,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
113
114
|
...data.dataExpose
|
|
114
115
|
});
|
|
115
116
|
return (_ctx, _cache) => {
|
|
116
|
-
return vue.openBlock(), vue.createBlock(vue.unref(
|
|
117
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$2.Popover), {
|
|
117
118
|
onAfterEnter: afterEnter,
|
|
118
119
|
placement: "bottom",
|
|
119
120
|
"popper-class": vue.unref(cs).z("popper"),
|
|
@@ -123,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
123
124
|
visible: data$1.timeShow
|
|
124
125
|
}, {
|
|
125
126
|
reference: vue.withCtx(() => [
|
|
126
|
-
vue.createVNode(vue.unref(index$
|
|
127
|
+
vue.createVNode(vue.unref(index$5.Array), {
|
|
127
128
|
rangeSeparator: props.rangeSeparator,
|
|
128
129
|
startPlaceholder: props.startPlaceholder,
|
|
129
130
|
endPlaceholder: props.endPlaceholder,
|
|
@@ -132,7 +133,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
132
133
|
modelValue: [data$1.sname, data$1.ename],
|
|
133
134
|
onFocus: _cache[0] || (_cache[0] = ($event) => data$1.timeShow = true),
|
|
134
135
|
onClear: onCancel,
|
|
135
|
-
compon: vue.unref(index$
|
|
136
|
+
compon: vue.unref(index$6.Inputs)
|
|
136
137
|
}, null, 8, ["rangeSeparator", "startPlaceholder", "endPlaceholder", "clearable", "modelValue", "compon"])
|
|
137
138
|
]),
|
|
138
139
|
default: vue.withCtx(() => [
|
|
@@ -148,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
148
149
|
vue.createElementVNode("div", {
|
|
149
150
|
class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
|
|
150
151
|
}, vue.toDisplayString(props.startPlaceholder), 3),
|
|
151
|
-
vue.createVNode(vue.unref(index$
|
|
152
|
+
vue.createVNode(vue.unref(index$3.SelectScroll), {
|
|
152
153
|
modelValue: zindex.value,
|
|
153
154
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => zindex.value = $event),
|
|
154
155
|
max: yindex.value,
|
|
@@ -162,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
162
163
|
vue.createElementVNode("div", {
|
|
163
164
|
class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
|
|
164
165
|
}, vue.toDisplayString(props.endPlaceholder), 3),
|
|
165
|
-
vue.createVNode(vue.unref(index$
|
|
166
|
+
vue.createVNode(vue.unref(index$3.SelectScroll), {
|
|
166
167
|
min: zindex.value,
|
|
167
168
|
modelValue: yindex.value,
|
|
168
169
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => yindex.value = $event),
|
|
@@ -174,7 +175,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
174
175
|
vue.createElementVNode("div", {
|
|
175
176
|
class: vue.normalizeClass(vue.unref(cs).z("select-buts"))
|
|
176
177
|
}, [
|
|
177
|
-
vue.createVNode(vue.unref(
|
|
178
|
+
vue.createVNode(vue.unref(index$4.Button), {
|
|
178
179
|
text: "",
|
|
179
180
|
onClick: vue.withModifiers(onCancel, ["stop"])
|
|
180
181
|
}, {
|
|
@@ -183,7 +184,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
183
184
|
]),
|
|
184
185
|
_: 1
|
|
185
186
|
}),
|
|
186
|
-
vue.createVNode(vue.unref(
|
|
187
|
+
vue.createVNode(vue.unref(index$4.Button), {
|
|
187
188
|
type: "primary",
|
|
188
189
|
onClick: vue.withModifiers(onDetermine, ["stop"])
|
|
189
190
|
}, {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, watch, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createVNode, toDisplayString, withModifiers, createTextVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Popover } from "../../popover/index.js";
|
|
3
|
+
import { Button } from "../../button/index.js";
|
|
4
|
+
import { Array } from "../../array/index.js";
|
|
5
|
+
import { Inputs } from "../../inputs/index.js";
|
|
6
|
+
import { SelectScroll } from "../../select-scroll/index.js";
|
|
3
7
|
import { useVueValue } from "../../common/use.js";
|
|
4
8
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
5
9
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
|
-
import { SelectScroll } from "../../select-scroll/index.js";
|
|
7
|
-
import { Array } from "../../array/index.js";
|
|
8
|
-
import { Inputs } from "../../inputs/index.js";
|
|
9
10
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
12
|
__name: "index",
|
|
@@ -111,7 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
112
|
...dataExpose
|
|
112
113
|
});
|
|
113
114
|
return (_ctx, _cache) => {
|
|
114
|
-
return openBlock(), createBlock(unref(
|
|
115
|
+
return openBlock(), createBlock(unref(Popover), {
|
|
115
116
|
onAfterEnter: afterEnter,
|
|
116
117
|
placement: "bottom",
|
|
117
118
|
"popper-class": unref(cs).z("popper"),
|
|
@@ -172,7 +173,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
172
173
|
createElementVNode("div", {
|
|
173
174
|
class: normalizeClass(unref(cs).z("select-buts"))
|
|
174
175
|
}, [
|
|
175
|
-
createVNode(unref(
|
|
176
|
+
createVNode(unref(Button), {
|
|
176
177
|
text: "",
|
|
177
178
|
onClick: withModifiers(onCancel, ["stop"])
|
|
178
179
|
}, {
|
|
@@ -181,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
181
182
|
]),
|
|
182
183
|
_: 1
|
|
183
184
|
}),
|
|
184
|
-
createVNode(unref(
|
|
185
|
+
createVNode(unref(Button), {
|
|
185
186
|
type: "primary",
|
|
186
187
|
onClick: withModifiers(onDetermine, ["stop"])
|
|
187
188
|
}, {
|
|
@@ -56,7 +56,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
56
56
|
rect = refDom.value.getBoundingClientRect();
|
|
57
57
|
return true;
|
|
58
58
|
};
|
|
59
|
-
getShiftEvent.pressEvent(
|
|
59
|
+
getShiftEvent.pressEvent(
|
|
60
|
+
refStick.value,
|
|
61
|
+
mousedown,
|
|
62
|
+
handleMouseMove,
|
|
63
|
+
handleMouseUp,
|
|
64
|
+
void 0,
|
|
65
|
+
"mouse"
|
|
66
|
+
);
|
|
60
67
|
});
|
|
61
68
|
__expose({
|
|
62
69
|
...data.dataExpose
|
|
@@ -54,7 +54,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
rect = refDom.value.getBoundingClientRect();
|
|
55
55
|
return true;
|
|
56
56
|
};
|
|
57
|
-
pressEvent(
|
|
57
|
+
pressEvent(
|
|
58
|
+
refStick.value,
|
|
59
|
+
mousedown,
|
|
60
|
+
handleMouseMove,
|
|
61
|
+
handleMouseUp,
|
|
62
|
+
void 0,
|
|
63
|
+
"mouse"
|
|
64
|
+
);
|
|
58
65
|
});
|
|
59
66
|
__expose({
|
|
60
67
|
...dataExpose
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
|
-
const index = require("../../../hooks/inherit/index.cjs");
|
|
5
|
+
const index$2 = require("../../../hooks/inherit/index.cjs");
|
|
6
6
|
const compons = require("../../common/compons.cjs");
|
|
7
7
|
const util = require("../../tables/common/util.cjs");
|
|
8
8
|
require("../../../utils/index.cjs");
|
|
9
9
|
const column = require("vxe-table/es/column");
|
|
10
|
-
const
|
|
10
|
+
const index = require("element-plus/es/components/radio/index");
|
|
11
|
+
const index$1 = require("element-plus/es/components/checkbox/index");
|
|
11
12
|
const lineToSmallHump = require("@fangzhongya/utils/name/lineToSmallHump");
|
|
12
|
-
function setBox(props, obj, emit, propss, slots,
|
|
13
|
+
function setBox(props, obj, emit, propss, slots, index$22) {
|
|
13
14
|
if (props.type == "radio") {
|
|
14
15
|
return vue.h(
|
|
15
16
|
column.VxeColumn,
|
|
@@ -30,7 +31,7 @@ function setBox(props, obj, emit, propss, slots, index2) {
|
|
|
30
31
|
},
|
|
31
32
|
[
|
|
32
33
|
vue.h(
|
|
33
|
-
|
|
34
|
+
index.ElRadio,
|
|
34
35
|
{
|
|
35
36
|
modelValue: scope.checked,
|
|
36
37
|
value: true,
|
|
@@ -71,7 +72,7 @@ function setBox(props, obj, emit, propss, slots, index2) {
|
|
|
71
72
|
},
|
|
72
73
|
[
|
|
73
74
|
vue.h(
|
|
74
|
-
|
|
75
|
+
index$1.ElCheckbox,
|
|
75
76
|
{
|
|
76
77
|
indeterminate: scope.indeterminate,
|
|
77
78
|
modelValue: scope.checked
|
|
@@ -94,7 +95,7 @@ function setBox(props, obj, emit, propss, slots, index2) {
|
|
|
94
95
|
}
|
|
95
96
|
},
|
|
96
97
|
[
|
|
97
|
-
vue.h(
|
|
98
|
+
vue.h(index$1.ElCheckbox, {
|
|
98
99
|
indeterminate: scope.indeterminate,
|
|
99
100
|
modelValue: scope.checked,
|
|
100
101
|
disabled: scope.disabled
|
|
@@ -115,8 +116,8 @@ function setProps(obj, props) {
|
|
|
115
116
|
const vxeconfig = props.vxeconfig;
|
|
116
117
|
const robj = {};
|
|
117
118
|
robj["header-align"] = table["align"];
|
|
118
|
-
robj["align"] = index.useAttrValue(obj, "headerAlign") || table["align"];
|
|
119
|
-
const tooltip = index.useAttrValue(table, "showOverflowTooltip");
|
|
119
|
+
robj["align"] = index$2.useAttrValue(obj, "headerAlign") || table["align"];
|
|
120
|
+
const tooltip = index$2.useAttrValue(table, "showOverflowTooltip");
|
|
120
121
|
if (tooltip === "" || tooltip === true) {
|
|
121
122
|
robj["show-overflow"] = "tooltip";
|
|
122
123
|
}
|
|
@@ -5,7 +5,8 @@ import { getCompons } from "../../common/compons.js";
|
|
|
5
5
|
import { setMinWidth } from "../../tables/common/util.js";
|
|
6
6
|
import "../../../utils/index.js";
|
|
7
7
|
import { VxeColumn } from "vxe-table/es/column";
|
|
8
|
-
import { ElRadio
|
|
8
|
+
import { ElRadio } from "element-plus/es/components/radio/index";
|
|
9
|
+
import { ElCheckbox } from "element-plus/es/components/checkbox/index";
|
|
9
10
|
import { lineToSmallHump } from "@fangzhongya/utils/name/lineToSmallHump";
|
|
10
11
|
function setBox(props, obj, emit, propss, slots, index) {
|
|
11
12
|
if (props.type == "radio") {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const columns = require("./columns3.cjs");
|
|
5
|
-
const
|
|
5
|
+
const index = require("element-plus/es/components/tooltip/index");
|
|
6
6
|
require("../../tables/common/table-but.cjs");
|
|
7
7
|
require("../../tables/common/table-color.cjs");
|
|
8
8
|
require("../../tables/common/table-list.cjs");
|
|
@@ -11,7 +11,7 @@ const tableColor_vue_vue_type_script_setup_true_lang = require("../../tables/com
|
|
|
11
11
|
const tableBut_vue_vue_type_script_setup_true_lang = require("../../tables/common/table-but2.cjs");
|
|
12
12
|
const _sfc_main = vue.defineComponent({
|
|
13
13
|
emits: ["list-events"],
|
|
14
|
-
components: { VxeTooltip:
|
|
14
|
+
components: { VxeTooltip: index.ElTooltip, But: tableBut_vue_vue_type_script_setup_true_lang.default, Color: tableColor_vue_vue_type_script_setup_true_lang.default, List: tableList_vue_vue_type_script_setup_true_lang.default },
|
|
15
15
|
expose: [],
|
|
16
16
|
props: {
|
|
17
17
|
list: Array,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
2
|
import { render } from "./columns3.js";
|
|
3
|
-
import { ElTooltip } from "element-plus";
|
|
3
|
+
import { ElTooltip } from "element-plus/es/components/tooltip/index";
|
|
4
4
|
import "../../tables/common/table-but.js";
|
|
5
5
|
import "../../tables/common/table-color.js";
|
|
6
6
|
import "../../tables/common/table-list.js";
|
package/dist/css/index.css
CHANGED
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
}
|
|
947
947
|
|
|
948
948
|
.input-history {
|
|
949
|
-
display:
|
|
949
|
+
display: flex;
|
|
950
950
|
}
|
|
951
951
|
.input-history-popper {
|
|
952
952
|
padding: 6px 0 !important;
|
|
@@ -998,6 +998,7 @@
|
|
|
998
998
|
|
|
999
999
|
.input-num-input {
|
|
1000
1000
|
height: 100%;
|
|
1001
|
+
width: 100%;
|
|
1001
1002
|
}
|
|
1002
1003
|
|
|
1003
1004
|
.input-select-select-icon {
|
|
@@ -1161,10 +1162,6 @@
|
|
|
1161
1162
|
height: 100%;
|
|
1162
1163
|
}
|
|
1163
1164
|
|
|
1164
|
-
.switchs-switch {
|
|
1165
|
-
height: 100%;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
1165
|
.lists {
|
|
1169
1166
|
width: 100%;
|
|
1170
1167
|
min-height: 100px;
|
|
@@ -1331,4 +1328,26 @@
|
|
|
1331
1328
|
left: 0;
|
|
1332
1329
|
z-index: 1;
|
|
1333
1330
|
opacity: 0;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
.tablesvp {
|
|
1334
|
+
width: 100%;
|
|
1335
|
+
height: var(--tablesvp-height);
|
|
1336
|
+
display: flex;
|
|
1337
|
+
flex-direction: column;
|
|
1338
|
+
}
|
|
1339
|
+
.tablesvp-main {
|
|
1340
|
+
display: flex;
|
|
1341
|
+
flex-direction: column;
|
|
1342
|
+
flex: 1;
|
|
1343
|
+
width: 100%;
|
|
1344
|
+
}
|
|
1345
|
+
.tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1346
|
+
display: none;
|
|
1347
|
+
}
|
|
1348
|
+
.tablesvp-paginat {
|
|
1349
|
+
overflow: hidden;
|
|
1350
|
+
}
|
|
1351
|
+
.tablesvp-paginat .el-pagination {
|
|
1352
|
+
justify-content: flex-end;
|
|
1334
1353
|
}
|
package/dist/css/input-num.css
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.set-column-dialog-main[data-v-
|
|
1
|
+
.set-column-dialog-main[data-v-ad509651] {
|
|
2
2
|
font-size: 16px;
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
5
|
-
.set-column-dialog-main .set-column-check[data-v-
|
|
5
|
+
.set-column-dialog-main .set-column-check[data-v-ad509651] {
|
|
6
6
|
flex: 1;
|
|
7
7
|
}
|
|
8
|
-
.set-column-dialog-main .set-column-check .set-column-check-list[data-v-
|
|
8
|
+
.set-column-dialog-main .set-column-check .set-column-check-list[data-v-ad509651] {
|
|
9
9
|
padding: 10px;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
flex-wrap: wrap;
|
|
13
13
|
overflow-y: auto;
|
|
14
14
|
}
|
|
15
|
-
.set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li[data-v-
|
|
15
|
+
.set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li[data-v-ad509651] {
|
|
16
16
|
width: 130px;
|
|
17
17
|
}
|
|
18
|
-
.set-column-dialog-main .set-column-already[data-v-
|
|
18
|
+
.set-column-dialog-main .set-column-already[data-v-ad509651] {
|
|
19
19
|
border-left: 1px solid #999;
|
|
20
20
|
padding-left: 20px;
|
|
21
21
|
width: 260px;
|
|
22
22
|
}
|
|
23
|
-
.set-column-dialog-main .set-column-already .set-column-already-list[data-v-
|
|
23
|
+
.set-column-dialog-main .set-column-already .set-column-already-list[data-v-ad509651] {
|
|
24
24
|
padding: 10px 10px 10px 0;
|
|
25
25
|
}
|
|
26
|
-
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li[data-v-
|
|
26
|
+
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li[data-v-ad509651] {
|
|
27
27
|
height: 40px;
|
|
28
28
|
line-height: 40px;
|
|
29
29
|
border-bottom: 1px solid #ccc;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
}
|
|
34
|
-
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v[data-v-
|
|
34
|
+
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v[data-v-ad509651] {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex: 1;
|
|
37
37
|
align-items: center;
|
|
@@ -574,14 +574,6 @@ const vAdjust = {
|
|
|
574
574
|
};
|
|
575
575
|
el.addEventListener("mousemove", mousemove);
|
|
576
576
|
el.addEventListener("mouseout", mouseout);
|
|
577
|
-
el.addEventListener("touchstart", (e) => {
|
|
578
|
-
const changedTouches = e.changedTouches[0];
|
|
579
|
-
eps = el.getBoundingClientRect();
|
|
580
|
-
const is = getVobj(changedTouches);
|
|
581
|
-
if (is) {
|
|
582
|
-
mousedown(changedTouches, "touch");
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
577
|
el.addEventListener("mousedown", (e) => {
|
|
586
578
|
if (isCur) {
|
|
587
579
|
mousedown(e, "mouse");
|
|
@@ -572,14 +572,6 @@ const vAdjust = {
|
|
|
572
572
|
};
|
|
573
573
|
el.addEventListener("mousemove", mousemove);
|
|
574
574
|
el.addEventListener("mouseout", mouseout);
|
|
575
|
-
el.addEventListener("touchstart", (e) => {
|
|
576
|
-
const changedTouches = e.changedTouches[0];
|
|
577
|
-
eps = el.getBoundingClientRect();
|
|
578
|
-
const is = getVobj(changedTouches);
|
|
579
|
-
if (is) {
|
|
580
|
-
mousedown(changedTouches, "touch");
|
|
581
|
-
}
|
|
582
|
-
});
|
|
583
575
|
el.addEventListener("mousedown", (e) => {
|
|
584
576
|
if (isCur) {
|
|
585
577
|
mousedown(e, "mouse");
|