@fangzhongya/fang-ui 0.0.59 → 0.0.61
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 +10 -12
- package/dist/components/array/src/index2.js +10 -12
- package/dist/components/box/index.css +2 -1
- package/dist/components/box-adjust/index.css +2 -1
- package/dist/components/box-adjust/src/data.cjs +2 -3
- package/dist/components/box-adjust/src/data.d.ts +1 -2
- package/dist/components/box-adjust/src/data.js +2 -3
- package/dist/components/box-adjust/src/index2.cjs +27 -22
- package/dist/components/box-adjust/src/index2.js +15 -10
- package/dist/components/box-local/index.css +2 -1
- package/dist/components/box-title/index.css +2 -1
- package/dist/components/box-title/index.scss +2 -1
- package/dist/components/box-title/src/data.cjs +2 -1
- package/dist/components/box-title/src/data.d.ts +1 -0
- package/dist/components/box-title/src/data.js +2 -1
- package/dist/components/box-title/src/index2.cjs +13 -12
- package/dist/components/box-title/src/index2.js +14 -13
- package/dist/components/common/use.cjs +16 -0
- package/dist/components/common/use.d.ts +3 -0
- package/dist/components/common/use.js +16 -0
- package/dist/components/dialogs/src/index2.cjs +8 -9
- package/dist/components/dialogs/src/index2.js +8 -9
- package/dist/components/edit/src/data.cjs +1 -0
- package/dist/components/edit/src/data.d.ts +1 -0
- package/dist/components/edit/src/data.js +1 -0
- package/dist/components/edit/src/index2.cjs +10 -3
- package/dist/components/edit/src/index2.js +10 -3
- package/dist/components/edit-float/index.css +1 -2
- package/dist/components/edit-float/index.scss +1 -2
- package/dist/components/edit-float/src/data.cjs +1 -0
- package/dist/components/edit-float/src/data.d.ts +1 -0
- package/dist/components/edit-float/src/data.js +1 -0
- package/dist/components/edit-float/src/index2.cjs +21 -19
- package/dist/components/edit-float/src/index2.js +16 -14
- package/dist/components/index.cjs +110 -108
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +1 -0
- package/dist/components/lists/index.css +0 -5
- package/dist/components/lists/index.scss +0 -5
- package/dist/components/lists/src/index2.cjs +2 -5
- package/dist/components/lists/src/index2.js +3 -6
- package/dist/components/listsp/index.css +0 -5
- package/dist/components/no-data/index.cjs +9 -0
- package/dist/components/no-data/index.css +19 -0
- package/dist/components/no-data/index.d.ts +4 -0
- package/dist/components/no-data/index.js +9 -0
- package/dist/components/no-data/index.scss +8 -0
- package/dist/components/no-data/src/data.cjs +24 -0
- package/dist/components/no-data/src/data.d.ts +26 -0
- package/dist/components/no-data/src/data.js +24 -0
- package/dist/components/no-data/src/index.cjs +4 -0
- package/dist/components/no-data/src/index.js +4 -0
- package/dist/components/no-data/src/index2.cjs +34 -0
- package/dist/components/no-data/src/index2.js +34 -0
- package/dist/components/page/set-column.css +8 -8
- 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 +3 -6
- package/dist/components/page/src/set-column2.js +4 -7
- package/dist/components/popup/index.css +2 -1
- package/dist/components/popup/src/data.cjs +2 -3
- package/dist/components/popup/src/data.d.ts +1 -2
- package/dist/components/popup/src/data.js +2 -3
- package/dist/components/popup/src/index2.cjs +15 -9
- package/dist/components/popup/src/index2.js +16 -10
- package/dist/components/tables/src/index2.cjs +4 -7
- package/dist/components/tables/src/index2.js +3 -6
- package/dist/components/tablesv/src/index2.cjs +2 -5
- package/dist/components/tablesv/src/index2.js +3 -6
- package/dist/components/window/index.css +2 -1
- package/dist/components/window/src/data.cjs +2 -3
- package/dist/components/window/src/data.d.ts +1 -2
- package/dist/components/window/src/data.js +2 -3
- package/dist/components/window/src/index2.cjs +15 -9
- package/dist/components/window/src/index2.js +15 -9
- package/dist/css/box-adjust.css +2 -1
- package/dist/css/box-local.css +2 -1
- package/dist/css/box-title.css +2 -1
- package/dist/css/box.css +2 -1
- package/dist/css/edit-float.css +1 -2
- package/dist/css/index.css +9 -8
- package/dist/css/lists.css +0 -5
- package/dist/css/listsp.css +0 -5
- package/dist/css/no-data.css +19 -0
- package/dist/css/page/set-column.css +8 -8
- package/dist/css/popup.css +2 -1
- package/dist/css/window.css +2 -1
- package/dist/directives/drag/index.cjs +3 -2
- package/dist/directives/drag/index.js +3 -2
- package/dist/expand/{chunk-ID2WVA6N.js → chunk-3HYUAX6P.js} +2 -0
- package/dist/expand/{chunk-NEHCZ3EJ.cjs → chunk-IPHLXLMM.cjs} +2 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/index.cjs +0 -1
- package/dist/hooks/index.js +1 -2
- package/dist/hooks/locale/index.cjs +5 -45
- package/dist/hooks/locale/index.d.ts +0 -9
- package/dist/hooks/locale/index.js +5 -45
- package/dist/icons/index.css +30 -30
- package/dist/icons/index.json +13 -13
- package/dist/index.cjs +128 -126
- package/dist/index.css +9 -8
- package/dist/index.js +2 -0
- package/dist/locale/en.cjs +31 -31
- package/dist/locale/en.d.ts +2 -2
- package/dist/locale/en.js +31 -31
- package/dist/locale/zh-cn.cjs +2 -2
- package/dist/locale/zh-cn.d.ts +2 -2
- package/dist/locale/zh-cn.js +2 -2
- package/package.json +10 -10
- /package/dist/components/{keep-com → transfer}/index.css +0 -0
- /package/dist/css/{keep-com.css → transfer.css} +0 -0
|
@@ -4,6 +4,7 @@ const vue = require("vue");
|
|
|
4
4
|
const table = require("vxe-table/es/table");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
require("./columns.cjs");
|
|
7
|
+
const index$2 = require("../../no-data/index.cjs");
|
|
7
8
|
const use = require("../../common/use.cjs");
|
|
8
9
|
const index$1 = require("../../../hooks/inherit/index.cjs");
|
|
9
10
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
@@ -210,11 +211,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
210
211
|
}), {
|
|
211
212
|
empty: vue.withCtx(() => [
|
|
212
213
|
vue.renderSlot(_ctx.$slots, "no-data", {}, () => [
|
|
213
|
-
vue.
|
|
214
|
-
class: vue.normalizeClass(vue.unref(cs).z("no-data"))
|
|
215
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
216
|
-
vue.createElementVNode("span", null, "暂无数据", -1)
|
|
217
|
-
])], 2)
|
|
214
|
+
vue.createVNode(vue.unref(index$2.NoData))
|
|
218
215
|
])
|
|
219
216
|
]),
|
|
220
217
|
default: vue.withCtx(() => [
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, withModifiers, withCtx, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps
|
|
1
|
+
import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, withModifiers, withCtx, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { VxeTable } from "vxe-table/es/table";
|
|
3
3
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
4
4
|
import "./columns.js";
|
|
5
|
+
import { NoData } from "../../no-data/index.js";
|
|
5
6
|
import { uesObjComponSelected } from "../../common/use.js";
|
|
6
7
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
7
8
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
@@ -208,11 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
208
209
|
}), {
|
|
209
210
|
empty: withCtx(() => [
|
|
210
211
|
renderSlot(_ctx.$slots, "no-data", {}, () => [
|
|
211
|
-
|
|
212
|
-
class: normalizeClass(unref(cs).z("no-data"))
|
|
213
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
214
|
-
createElementVNode("span", null, "暂无数据", -1)
|
|
215
|
-
])], 2)
|
|
212
|
+
createVNode(unref(NoData))
|
|
216
213
|
])
|
|
217
214
|
]),
|
|
218
215
|
default: withCtx(() => [
|
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
.box-title-close {
|
|
39
39
|
right: 10px;
|
|
40
40
|
font-size: 18px;
|
|
41
|
+
height: 100%;
|
|
41
42
|
display: flex;
|
|
42
43
|
align-items: center;
|
|
44
|
+
cursor: pointer;
|
|
43
45
|
}
|
|
44
46
|
.box-title-close-icon {
|
|
45
47
|
width: 20px;
|
|
46
48
|
height: 20px;
|
|
47
49
|
margin: 0 4px;
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.window {
|
|
@@ -6,12 +6,11 @@ const data = require("../../box/src/data.cjs");
|
|
|
6
6
|
const dataProps = buildProps.buildProps({
|
|
7
7
|
...data.dataProps,
|
|
8
8
|
/**
|
|
9
|
-
* @props { String, Boolean } drag='.
|
|
9
|
+
* @props { String, Boolean } drag='.box-title-name' ( )
|
|
10
10
|
* 可拖拽的元素样式 为空字符串就不拖拽
|
|
11
11
|
*/
|
|
12
12
|
drag: {
|
|
13
|
-
type: [String, Boolean]
|
|
14
|
-
default: ".com-title-name"
|
|
13
|
+
type: [String, Boolean]
|
|
15
14
|
},
|
|
16
15
|
/**
|
|
17
16
|
* @props { Boolean } adjust=true ( )
|
|
@@ -7,12 +7,11 @@ type Pallet = {
|
|
|
7
7
|
};
|
|
8
8
|
export declare const dataProps: {
|
|
9
9
|
/**
|
|
10
|
-
* @props { String, Boolean } drag='.
|
|
10
|
+
* @props { String, Boolean } drag='.box-title-name' ( )
|
|
11
11
|
* 可拖拽的元素样式 为空字符串就不拖拽
|
|
12
12
|
*/
|
|
13
13
|
drag: {
|
|
14
14
|
type: (BooleanConstructor | StringConstructor)[];
|
|
15
|
-
default: string;
|
|
16
15
|
};
|
|
17
16
|
/**
|
|
18
17
|
* @props { Boolean } adjust=true ( )
|
|
@@ -4,12 +4,11 @@ import { dataProps as dataProps$1, dataEmits as dataEmits$1, dataSlot as dataSlo
|
|
|
4
4
|
const dataProps = buildProps({
|
|
5
5
|
...dataProps$1,
|
|
6
6
|
/**
|
|
7
|
-
* @props { String, Boolean } drag='.
|
|
7
|
+
* @props { String, Boolean } drag='.box-title-name' ( )
|
|
8
8
|
* 可拖拽的元素样式 为空字符串就不拖拽
|
|
9
9
|
*/
|
|
10
10
|
drag: {
|
|
11
|
-
type: [String, Boolean]
|
|
12
|
-
default: ".com-title-name"
|
|
11
|
+
type: [String, Boolean]
|
|
13
12
|
},
|
|
14
13
|
/**
|
|
15
14
|
* @props { Boolean } adjust=true ( )
|
|
@@ -16,6 +16,7 @@ const index$3 = require("../../box-mask/index.cjs");
|
|
|
16
16
|
const index$2 = require("../../box-teleport/index.cjs");
|
|
17
17
|
const setClassName = require("@fangzhongya/utils/css/setClassName");
|
|
18
18
|
const index$6 = require("../../../directives/drag/index.cjs");
|
|
19
|
+
const use = require("../../common/use.cjs");
|
|
19
20
|
const _hoisted_1 = ["title"];
|
|
20
21
|
const _hoisted_2 = ["title"];
|
|
21
22
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -27,7 +28,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
27
28
|
const refBody = vue.shallowRef();
|
|
28
29
|
const { getLocale } = index.useLocale();
|
|
29
30
|
const cs = index$1.useCssName("window");
|
|
30
|
-
const
|
|
31
|
+
const prs = __props;
|
|
32
|
+
const props = use.uesPropsDefault(prs, {
|
|
33
|
+
drag() {
|
|
34
|
+
return "." + cs.name + "box-title-name";
|
|
35
|
+
}
|
|
36
|
+
});
|
|
31
37
|
const emit = __emit;
|
|
32
38
|
const isMax = vue.shallowRef(props.max);
|
|
33
39
|
const isMin = vue.shallowRef(false);
|
|
@@ -189,8 +195,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
189
195
|
});
|
|
190
196
|
return (_ctx, _cache) => {
|
|
191
197
|
return vue.openBlock(), vue.createBlock(vue.unref(index$2.BoxTeleport), {
|
|
192
|
-
disabled: props.disabled,
|
|
193
|
-
to: props.to
|
|
198
|
+
disabled: vue.unref(props).disabled,
|
|
199
|
+
to: vue.unref(props).to
|
|
194
200
|
}, {
|
|
195
201
|
default: vue.withCtx(() => [
|
|
196
202
|
!isClose.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -199,10 +205,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
199
205
|
ref: refBox,
|
|
200
206
|
class: vue.normalizeClass(vue.unref(cs).z())
|
|
201
207
|
}, [
|
|
202
|
-
props.mask ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.BoxMask), {
|
|
208
|
+
vue.unref(props).mask ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.BoxMask), {
|
|
203
209
|
key: 0,
|
|
204
210
|
onClick: onMaskClose,
|
|
205
|
-
cssprefix: props.cssprefix || vue.unref(cs).z()
|
|
211
|
+
cssprefix: vue.unref(props).cssprefix || vue.unref(cs).z()
|
|
206
212
|
}, null, 8, ["cssprefix"])) : vue.createCommentVNode("", true),
|
|
207
213
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
208
214
|
ref_key: "refBody",
|
|
@@ -212,10 +218,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
212
218
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
|
|
213
219
|
vue.createVNode(vue.unref(index$4.BoxTitle), {
|
|
214
220
|
onClose,
|
|
215
|
-
title: props.title
|
|
221
|
+
title: vue.unref(props).title
|
|
216
222
|
}, {
|
|
217
223
|
icon: vue.withCtx(() => [
|
|
218
|
-
!props.noMin ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
224
|
+
!vue.unref(props).noMin ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
219
225
|
key: 0,
|
|
220
226
|
title: vue.unref(getLocale)("minh"),
|
|
221
227
|
onClick: onMin,
|
|
@@ -264,11 +270,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
264
270
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
|
|
265
271
|
], 2)), [
|
|
266
272
|
[vue.unref(index$6.default), {
|
|
267
|
-
dom: props.drag,
|
|
273
|
+
dom: vue.unref(props).drag,
|
|
268
274
|
onMousedown
|
|
269
275
|
}],
|
|
270
276
|
[vue.unref(index$7.default), {
|
|
271
|
-
often: props.often,
|
|
277
|
+
often: vue.unref(props).often,
|
|
272
278
|
onChange: onChangeAdjust,
|
|
273
279
|
all: { position: true, getDisabled }
|
|
274
280
|
}]
|
|
@@ -14,6 +14,7 @@ import { BoxMask } from "../../box-mask/index.js";
|
|
|
14
14
|
import { BoxTeleport } from "../../box-teleport/index.js";
|
|
15
15
|
import { setClassName } from "@fangzhongya/utils/css/setClassName";
|
|
16
16
|
import vDrag from "../../../directives/drag/index.js";
|
|
17
|
+
import { uesPropsDefault } from "../../common/use.js";
|
|
17
18
|
const _hoisted_1 = ["title"];
|
|
18
19
|
const _hoisted_2 = ["title"];
|
|
19
20
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -25,7 +26,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
26
|
const refBody = shallowRef();
|
|
26
27
|
const { getLocale } = useLocale();
|
|
27
28
|
const cs = useCssName("window");
|
|
28
|
-
const
|
|
29
|
+
const prs = __props;
|
|
30
|
+
const props = uesPropsDefault(prs, {
|
|
31
|
+
drag() {
|
|
32
|
+
return "." + cs.name + "box-title-name";
|
|
33
|
+
}
|
|
34
|
+
});
|
|
29
35
|
const emit = __emit;
|
|
30
36
|
const isMax = shallowRef(props.max);
|
|
31
37
|
const isMin = shallowRef(false);
|
|
@@ -187,8 +193,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
187
193
|
});
|
|
188
194
|
return (_ctx, _cache) => {
|
|
189
195
|
return openBlock(), createBlock(unref(BoxTeleport), {
|
|
190
|
-
disabled: props.disabled,
|
|
191
|
-
to: props.to
|
|
196
|
+
disabled: unref(props).disabled,
|
|
197
|
+
to: unref(props).to
|
|
192
198
|
}, {
|
|
193
199
|
default: withCtx(() => [
|
|
194
200
|
!isClose.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -197,10 +203,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
197
203
|
ref: refBox,
|
|
198
204
|
class: normalizeClass(unref(cs).z())
|
|
199
205
|
}, [
|
|
200
|
-
props.mask ? (openBlock(), createBlock(unref(BoxMask), {
|
|
206
|
+
unref(props).mask ? (openBlock(), createBlock(unref(BoxMask), {
|
|
201
207
|
key: 0,
|
|
202
208
|
onClick: onMaskClose,
|
|
203
|
-
cssprefix: props.cssprefix || unref(cs).z()
|
|
209
|
+
cssprefix: unref(props).cssprefix || unref(cs).z()
|
|
204
210
|
}, null, 8, ["cssprefix"])) : createCommentVNode("", true),
|
|
205
211
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
206
212
|
ref_key: "refBody",
|
|
@@ -210,10 +216,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
210
216
|
renderSlot(_ctx.$slots, unref(dataSlot).title, {}, () => [
|
|
211
217
|
createVNode(unref(BoxTitle), {
|
|
212
218
|
onClose,
|
|
213
|
-
title: props.title
|
|
219
|
+
title: unref(props).title
|
|
214
220
|
}, {
|
|
215
221
|
icon: withCtx(() => [
|
|
216
|
-
!props.noMin ? (openBlock(), createElementBlock("span", {
|
|
222
|
+
!unref(props).noMin ? (openBlock(), createElementBlock("span", {
|
|
217
223
|
key: 0,
|
|
218
224
|
title: unref(getLocale)("minh"),
|
|
219
225
|
onClick: onMin,
|
|
@@ -262,11 +268,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
262
268
|
renderSlot(_ctx.$slots, unref(dataSlot).footer)
|
|
263
269
|
], 2)), [
|
|
264
270
|
[unref(vDrag), {
|
|
265
|
-
dom: props.drag,
|
|
271
|
+
dom: unref(props).drag,
|
|
266
272
|
onMousedown
|
|
267
273
|
}],
|
|
268
274
|
[unref(vAdjust), {
|
|
269
|
-
often: props.often,
|
|
275
|
+
often: unref(props).often,
|
|
270
276
|
onChange: onChangeAdjust,
|
|
271
277
|
all: { position: true, getDisabled }
|
|
272
278
|
}]
|
package/dist/css/box-adjust.css
CHANGED
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
.box-title-close {
|
|
39
39
|
right: 10px;
|
|
40
40
|
font-size: 18px;
|
|
41
|
+
height: 100%;
|
|
41
42
|
display: flex;
|
|
42
43
|
align-items: center;
|
|
44
|
+
cursor: pointer;
|
|
43
45
|
}
|
|
44
46
|
.box-title-close-icon {
|
|
45
47
|
width: 20px;
|
|
46
48
|
height: 20px;
|
|
47
49
|
margin: 0 4px;
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.box-adjust {
|
package/dist/css/box-local.css
CHANGED
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
.box-title-close {
|
|
39
39
|
right: 10px;
|
|
40
40
|
font-size: 18px;
|
|
41
|
+
height: 100%;
|
|
41
42
|
display: flex;
|
|
42
43
|
align-items: center;
|
|
44
|
+
cursor: pointer;
|
|
43
45
|
}
|
|
44
46
|
.box-title-close-icon {
|
|
45
47
|
width: 20px;
|
|
46
48
|
height: 20px;
|
|
47
49
|
margin: 0 4px;
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.box {
|
package/dist/css/box-title.css
CHANGED
|
@@ -26,12 +26,13 @@
|
|
|
26
26
|
.box-title-close {
|
|
27
27
|
right: 10px;
|
|
28
28
|
font-size: 18px;
|
|
29
|
+
height: 100%;
|
|
29
30
|
display: flex;
|
|
30
31
|
align-items: center;
|
|
32
|
+
cursor: pointer;
|
|
31
33
|
}
|
|
32
34
|
.box-title-close-icon {
|
|
33
35
|
width: 20px;
|
|
34
36
|
height: 20px;
|
|
35
37
|
margin: 0 4px;
|
|
36
|
-
cursor: pointer;
|
|
37
38
|
}
|
package/dist/css/box.css
CHANGED
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
.box-title-close {
|
|
39
39
|
right: 10px;
|
|
40
40
|
font-size: 18px;
|
|
41
|
+
height: 100%;
|
|
41
42
|
display: flex;
|
|
42
43
|
align-items: center;
|
|
44
|
+
cursor: pointer;
|
|
43
45
|
}
|
|
44
46
|
.box-title-close-icon {
|
|
45
47
|
width: 20px;
|
|
46
48
|
height: 20px;
|
|
47
49
|
margin: 0 4px;
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.box {
|
package/dist/css/edit-float.css
CHANGED
package/dist/css/index.css
CHANGED
|
@@ -132,14 +132,15 @@
|
|
|
132
132
|
.box-title-close {
|
|
133
133
|
right: 10px;
|
|
134
134
|
font-size: 18px;
|
|
135
|
+
height: 100%;
|
|
135
136
|
display: flex;
|
|
136
137
|
align-items: center;
|
|
138
|
+
cursor: pointer;
|
|
137
139
|
}
|
|
138
140
|
.box-title-close-icon {
|
|
139
141
|
width: 20px;
|
|
140
142
|
height: 20px;
|
|
141
143
|
margin: 0 4px;
|
|
142
|
-
cursor: pointer;
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
.box-adjust {
|
|
@@ -237,6 +238,12 @@
|
|
|
237
238
|
padding: 20px 20px;
|
|
238
239
|
}
|
|
239
240
|
|
|
241
|
+
.no-data {
|
|
242
|
+
text-align: center;
|
|
243
|
+
margin-top: 20px;
|
|
244
|
+
color: #999;
|
|
245
|
+
}
|
|
246
|
+
|
|
240
247
|
.popup {
|
|
241
248
|
position: fixed;
|
|
242
249
|
width: 100vw;
|
|
@@ -860,8 +867,7 @@
|
|
|
860
867
|
padding: 10px 0;
|
|
861
868
|
}
|
|
862
869
|
.edit-float-but {
|
|
863
|
-
|
|
864
|
-
flex-direction: row-reverse;
|
|
870
|
+
text-align: right;
|
|
865
871
|
}
|
|
866
872
|
|
|
867
873
|
.edit {
|
|
@@ -1189,11 +1195,6 @@
|
|
|
1189
1195
|
.lists-list-item .el-card {
|
|
1190
1196
|
background-color: transparent;
|
|
1191
1197
|
}
|
|
1192
|
-
.lists-list .lists-no-data {
|
|
1193
|
-
text-align: center;
|
|
1194
|
-
margin-top: 20px;
|
|
1195
|
-
color: #999;
|
|
1196
|
-
}
|
|
1197
1198
|
|
|
1198
1199
|
.listsp {
|
|
1199
1200
|
width: 100%;
|
package/dist/css/lists.css
CHANGED
package/dist/css/listsp.css
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
3
|
+
--color-primary: #409eff;
|
|
4
|
+
--bag-primary: #409eff;
|
|
5
|
+
--bag-primary-text: #fff;
|
|
6
|
+
--border: #eee;
|
|
7
|
+
--layout-panel-gap: 10px;
|
|
8
|
+
--layout-panel-padding: 20px;
|
|
9
|
+
--layout-form-item-padding-right: var(
|
|
10
|
+
--layout-panel-gap
|
|
11
|
+
);
|
|
12
|
+
--g-main-bg: var(--bg-color-page);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.no-data {
|
|
16
|
+
text-align: center;
|
|
17
|
+
margin-top: 20px;
|
|
18
|
+
color: #999;
|
|
19
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.set-column-dialog-main[data-v-
|
|
1
|
+
.set-column-dialog-main[data-v-f43f186a] {
|
|
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-f43f186a] {
|
|
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-f43f186a] {
|
|
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-f43f186a] {
|
|
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-f43f186a] {
|
|
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-f43f186a] {
|
|
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-f43f186a] {
|
|
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-f43f186a] {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex: 1;
|
|
37
37
|
align-items: center;
|
package/dist/css/popup.css
CHANGED
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
.box-title-close {
|
|
39
39
|
right: 10px;
|
|
40
40
|
font-size: 18px;
|
|
41
|
+
height: 100%;
|
|
41
42
|
display: flex;
|
|
42
43
|
align-items: center;
|
|
44
|
+
cursor: pointer;
|
|
43
45
|
}
|
|
44
46
|
.box-title-close-icon {
|
|
45
47
|
width: 20px;
|
|
46
48
|
height: 20px;
|
|
47
49
|
margin: 0 4px;
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.popup {
|
package/dist/css/window.css
CHANGED
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
.box-title-close {
|
|
39
39
|
right: 10px;
|
|
40
40
|
font-size: 18px;
|
|
41
|
+
height: 100%;
|
|
41
42
|
display: flex;
|
|
42
43
|
align-items: center;
|
|
44
|
+
cursor: pointer;
|
|
43
45
|
}
|
|
44
46
|
.box-title-close-icon {
|
|
45
47
|
width: 20px;
|
|
46
48
|
height: 20px;
|
|
47
49
|
margin: 0 4px;
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.window {
|
|
@@ -43,6 +43,7 @@ function setDom(dom, el, value) {
|
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
bodyStyle.cursor = cursor;
|
|
46
|
+
dom.style.cursor = "grab";
|
|
46
47
|
};
|
|
47
48
|
const mousedown = (e) => {
|
|
48
49
|
const eps = dom.getBoundingClientRect();
|
|
@@ -57,11 +58,11 @@ function setDom(dom, el, value) {
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
mousedownEvent = e;
|
|
60
|
-
|
|
61
|
+
dom.style.cursor = "grabbing";
|
|
61
62
|
return true;
|
|
62
63
|
};
|
|
63
64
|
getShiftEvent.pressEvent(dom, mousedown, handleMouseMove, handleMouseUp);
|
|
64
|
-
setCss.setCss(dom, "cursor", "
|
|
65
|
+
setCss.setCss(dom, "cursor", "grab");
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
const vDrag = {
|
|
@@ -41,6 +41,7 @@ function setDom(dom, el, value) {
|
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
bodyStyle.cursor = cursor;
|
|
44
|
+
dom.style.cursor = "grab";
|
|
44
45
|
};
|
|
45
46
|
const mousedown = (e) => {
|
|
46
47
|
const eps = dom.getBoundingClientRect();
|
|
@@ -55,11 +56,11 @@ function setDom(dom, el, value) {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
mousedownEvent = e;
|
|
58
|
-
|
|
59
|
+
dom.style.cursor = "grabbing";
|
|
59
60
|
return true;
|
|
60
61
|
};
|
|
61
62
|
pressEvent(dom, mousedown, handleMouseMove, handleMouseUp);
|
|
62
|
-
setCss(dom, "cursor", "
|
|
63
|
+
setCss(dom, "cursor", "grab");
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
const vDrag = {
|
|
@@ -61,6 +61,7 @@ var config_default = {
|
|
|
61
61
|
"box-teleport",
|
|
62
62
|
"box-title",
|
|
63
63
|
"dialogs",
|
|
64
|
+
"no-data",
|
|
64
65
|
"popup",
|
|
65
66
|
"right-key",
|
|
66
67
|
"seamless-scroll",
|
|
@@ -148,6 +149,7 @@ var config_default = {
|
|
|
148
149
|
"box-mask",
|
|
149
150
|
"box-title",
|
|
150
151
|
"dialogs",
|
|
152
|
+
"no-data",
|
|
151
153
|
"popup",
|
|
152
154
|
"right-key",
|
|
153
155
|
"seamless-scroll",
|
|
@@ -61,6 +61,7 @@ var config_default = {
|
|
|
61
61
|
"box-teleport",
|
|
62
62
|
"box-title",
|
|
63
63
|
"dialogs",
|
|
64
|
+
"no-data",
|
|
64
65
|
"popup",
|
|
65
66
|
"right-key",
|
|
66
67
|
"seamless-scroll",
|
|
@@ -148,6 +149,7 @@ var config_default = {
|
|
|
148
149
|
"box-mask",
|
|
149
150
|
"box-title",
|
|
150
151
|
"dialogs",
|
|
152
|
+
"no-data",
|
|
151
153
|
"popup",
|
|
152
154
|
"right-key",
|
|
153
155
|
"seamless-scroll",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIPHLXLMMcjs = require('./chunk-IPHLXLMM.cjs');
|
|
4
4
|
|
|
5
5
|
// expand/components.ts
|
|
6
6
|
var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
|
|
@@ -29,11 +29,11 @@ function namefilter(c, name) {
|
|
|
29
29
|
function getFrom(mc, type, conf) {
|
|
30
30
|
const filename = mc.replace(new RegExp("^" + config.prefix + "-"), "");
|
|
31
31
|
if (type == 1) {
|
|
32
|
-
if (
|
|
32
|
+
if (_chunkIPHLXLMMcjs.config_default.components.includes(filename)) {
|
|
33
33
|
const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
|
|
34
34
|
const from = `${config.name}/components/${filename}/index`;
|
|
35
35
|
let sideEffects;
|
|
36
|
-
if (
|
|
36
|
+
if (_chunkIPHLXLMMcjs.config_default.sideEffects.includes(filename)) {
|
|
37
37
|
if (conf.css) {
|
|
38
38
|
sideEffects = `${config.name}/components/${filename}/style/index2/.scss`;
|
|
39
39
|
} else {
|
|
@@ -49,14 +49,14 @@ function getFrom(mc, type, conf) {
|
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
} else {
|
|
52
|
-
if (
|
|
52
|
+
if (_chunkIPHLXLMMcjs.config_default.directives.includes(filename)) {
|
|
53
53
|
const name = "default";
|
|
54
54
|
const from = `${config.name}/directives/${filename}/index`;
|
|
55
55
|
return {
|
|
56
56
|
name,
|
|
57
57
|
from
|
|
58
58
|
};
|
|
59
|
-
} else if (
|
|
59
|
+
} else if (_chunkIPHLXLMMcjs.config_default.directives.includes("v-" + filename)) {
|
|
60
60
|
const name = "default";
|
|
61
61
|
const from = `${config.name}/directives/${"v-" + filename}/index`;
|
|
62
62
|
return {
|
package/dist/expand/config.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIPHLXLMMcjs = require('./chunk-IPHLXLMM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.default =
|
|
6
|
+
exports.default = _chunkIPHLXLMMcjs.config_default;
|
package/dist/expand/config.js
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -13,7 +13,6 @@ exports.setGlobalConfig = index$2.setGlobalConfig;
|
|
|
13
13
|
exports.useGlobalConfig = index$2.useGlobalConfig;
|
|
14
14
|
exports.buildLocaleAdd = index$3.buildLocaleAdd;
|
|
15
15
|
exports.buildLocaleContext = index$3.buildLocaleContext;
|
|
16
|
-
exports.buildPropsDefault = index$3.buildPropsDefault;
|
|
17
16
|
exports.buildTranslator = index$3.buildTranslator;
|
|
18
17
|
exports.useLocale = index$3.useLocale;
|
|
19
18
|
exports.useAttrValue = index$4.useAttrValue;
|