@fangzhongya/fang-ui 0.1.24 → 0.1.26
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/box/index.css +24 -0
- package/dist/components/box-adjust/index.css +24 -0
- package/dist/components/box-adjust/index.scss +0 -5
- package/dist/components/box-adjust/src/index2.cjs +6 -6
- package/dist/components/box-adjust/src/index2.js +3 -3
- package/dist/components/box-local/index.css +24 -0
- package/dist/components/box-title/index.css +24 -0
- package/dist/components/box-title/index.scss +1 -1
- package/dist/components/index.scss +1 -1
- package/dist/components/index2.scss +1 -2
- package/dist/components/players/common/util.d.ts +1 -0
- package/dist/components/popup/index.css +24 -0
- package/dist/components/uploads/src/data.cjs +2 -1
- package/dist/components/uploads/src/data.d.ts +1 -0
- package/dist/components/uploads/src/data.js +2 -1
- package/dist/components/uploads/src/index2.cjs +18 -11
- package/dist/components/uploads/src/index2.js +19 -12
- package/dist/components/window/index.css +24 -0
- package/dist/css/box-adjust.css +24 -0
- package/dist/css/box-local.css +24 -0
- package/dist/css/box-title.css +24 -0
- package/dist/css/box.css +24 -0
- package/dist/css/index.css +24 -46
- package/dist/css/popup.css +24 -0
- package/dist/css/window.css +24 -0
- package/dist/icons/index.json +1 -1
- package/dist/index.css +24 -46
- package/package.json +6 -6
- /package/dist/components/{tooltip → keep-com}/index.css +0 -0
- /package/dist/css/{tooltip.css → keep-com.css} +0 -0
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
|
@@ -1,6 +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$6 = require("../../icon/index.cjs");
|
|
4
5
|
const data = require("./data.cjs");
|
|
5
6
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
7
|
const index = require("../../../hooks/locale/index.cjs");
|
|
@@ -9,8 +10,8 @@ const star = require("../../../icons/vue/star.cjs");
|
|
|
9
10
|
const index$5 = require("../../box-title/index.cjs");
|
|
10
11
|
const index$4 = require("../../box-mask/index.cjs");
|
|
11
12
|
const index$3 = require("../../box-teleport/index.cjs");
|
|
12
|
-
const index$
|
|
13
|
-
const index$
|
|
13
|
+
const index$8 = require("../../../directives/adjust/index.cjs");
|
|
14
|
+
const index$7 = require("../../../directives/drag/index.cjs");
|
|
14
15
|
const data$1 = require("../../box-title/src/data.cjs");
|
|
15
16
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
16
17
|
const _hoisted_1 = ["title"];
|
|
@@ -51,7 +52,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
51
52
|
...data.dataExpose
|
|
52
53
|
});
|
|
53
54
|
return (_ctx, _cache) => {
|
|
54
|
-
const _component_Icon = vue.resolveComponent("Icon");
|
|
55
55
|
return vue.openBlock(), vue.createBlock(vue.unref(index$3.BoxTeleport), {
|
|
56
56
|
disabled: vue.unref(props).disabled,
|
|
57
57
|
to: vue.unref(props).to
|
|
@@ -83,7 +83,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
83
83
|
vue.unref(cs).z("title-max")
|
|
84
84
|
])
|
|
85
85
|
}, [
|
|
86
|
-
vue.createVNode(
|
|
86
|
+
vue.createVNode(vue.unref(index$6.Icon), null, {
|
|
87
87
|
default: vue.withCtx(() => [
|
|
88
88
|
maxvalue.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
|
|
89
89
|
vue.createVNode(star.default)
|
|
@@ -105,10 +105,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
105
|
], 2),
|
|
106
106
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
|
|
107
107
|
], 2)), [
|
|
108
|
-
[vue.unref(index$
|
|
108
|
+
[vue.unref(index$7.default), {
|
|
109
109
|
dom: vue.unref(props).drag
|
|
110
110
|
}],
|
|
111
|
-
[vue.unref(index$
|
|
111
|
+
[vue.unref(index$8.default), {
|
|
112
112
|
often: vue.unref(props).often,
|
|
113
113
|
all: { position: true }
|
|
114
114
|
}]
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, shallowRef, watch,
|
|
1
|
+
import { defineComponent, shallowRef, watch, createBlock, openBlock, unref, withCtx, withDirectives, createCommentVNode, createElementBlock, normalizeClass, createVNode, renderSlot, createElementVNode, vShow } from "vue";
|
|
2
|
+
import { Icon } from "../../icon/index.js";
|
|
2
3
|
import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
|
|
3
4
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
5
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
@@ -49,7 +50,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
50
|
...dataExpose
|
|
50
51
|
});
|
|
51
52
|
return (_ctx, _cache) => {
|
|
52
|
-
const _component_Icon = resolveComponent("Icon");
|
|
53
53
|
return openBlock(), createBlock(unref(BoxTeleport), {
|
|
54
54
|
disabled: unref(props).disabled,
|
|
55
55
|
to: unref(props).to
|
|
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
unref(cs).z("title-max")
|
|
82
82
|
])
|
|
83
83
|
}, [
|
|
84
|
-
createVNode(
|
|
84
|
+
createVNode(unref(Icon), null, {
|
|
85
85
|
default: withCtx(() => [
|
|
86
86
|
maxvalue.value ? renderSlot(_ctx.$slots, unref(dataSlot)["icon-full"], { key: 0 }, () => [
|
|
87
87
|
createVNode(Star)
|
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
|
@@ -12,6 +12,30 @@
|
|
|
12
12
|
--g-main-bg: var(--bg-color-page);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.icon {
|
|
16
|
+
--color: inherit;
|
|
17
|
+
height: 1em;
|
|
18
|
+
width: 1em;
|
|
19
|
+
line-height: 1em;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
position: relative;
|
|
24
|
+
fill: currentColor;
|
|
25
|
+
color: var(--color);
|
|
26
|
+
font-size: inherit;
|
|
27
|
+
}
|
|
28
|
+
.icon-cont {
|
|
29
|
+
border: 0;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
object-fit: contain;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
font-size: inherit !important;
|
|
35
|
+
width: inherit !important;
|
|
36
|
+
height: inherit !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
15
39
|
.box-title {
|
|
16
40
|
padding: 10px;
|
|
17
41
|
position: relative;
|
|
@@ -119,5 +119,4 @@
|
|
|
119
119
|
@use './tablesp/style/index2.scss' as *;
|
|
120
120
|
@use './tablespd/style/index2.scss' as *;
|
|
121
121
|
@use './tabless/style/index2.scss' as *;
|
|
122
|
-
@use './tablesv/style/index2.scss' as *;
|
|
123
|
-
@use './tablesvp/style/index2.scss' as *;
|
|
122
|
+
@use './tablesv/style/index2.scss' as *;
|
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
|
@@ -24,10 +24,11 @@ const util = require("./util.cjs");
|
|
|
24
24
|
require("../../form/index.cjs");
|
|
25
25
|
const index$3 = require("../../../hooks/props-default/index.cjs");
|
|
26
26
|
const index$4 = require("element-plus/es/components/form/index");
|
|
27
|
-
const _hoisted_1 = ["
|
|
28
|
-
const _hoisted_2 = ["
|
|
27
|
+
const _hoisted_1 = ["onMouseenter"];
|
|
28
|
+
const _hoisted_2 = ["title"];
|
|
29
29
|
const _hoisted_3 = ["onClick", "title"];
|
|
30
30
|
const _hoisted_4 = ["onClick", "title"];
|
|
31
|
+
const _hoisted_5 = ["onClick", "title"];
|
|
31
32
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
32
33
|
...{ inheritAttrs: false },
|
|
33
34
|
__name: "index",
|
|
@@ -48,6 +49,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
48
49
|
const multiple = listFuObj.multiple;
|
|
49
50
|
const isloading = vue.ref(false);
|
|
50
51
|
const disabled = index$4.useDisabled();
|
|
52
|
+
const showIndex = vue.ref(-1);
|
|
51
53
|
const accept = vue.computed(() => {
|
|
52
54
|
if (props.accept) {
|
|
53
55
|
return props.accept;
|
|
@@ -251,9 +253,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
251
253
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fileList.value, (item, index2) => {
|
|
252
254
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
253
255
|
class: vue.normalizeClass(vue.unref(cs).z("list-li")),
|
|
254
|
-
key: index2
|
|
256
|
+
key: index2,
|
|
257
|
+
onMouseenter: ($event) => showIndex.value = index2,
|
|
258
|
+
onMouseleave: _cache[0] || (_cache[0] = ($event) => showIndex.value = -1)
|
|
255
259
|
}, [
|
|
256
|
-
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).
|
|
260
|
+
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).list, {
|
|
257
261
|
value: item,
|
|
258
262
|
type: vue.unref(props).type,
|
|
259
263
|
accept: accept.value,
|
|
@@ -263,6 +267,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
263
267
|
return [
|
|
264
268
|
vue.createElementVNode("div", {
|
|
265
269
|
class: vue.normalizeClass(vue.unref(cs).z("list-li-operation")),
|
|
270
|
+
style: vue.normalizeStyle({
|
|
271
|
+
display: showIndex.value == index2 ? "flex" : "none"
|
|
272
|
+
}),
|
|
266
273
|
title: item.url
|
|
267
274
|
}, [
|
|
268
275
|
vue.unref(props).isDownload ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -276,7 +283,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
276
283
|
]),
|
|
277
284
|
_: 1
|
|
278
285
|
})
|
|
279
|
-
], 8,
|
|
286
|
+
], 8, _hoisted_3)) : vue.createCommentVNode("", true),
|
|
280
287
|
vue.unref(props).isViews ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
281
288
|
key: 1,
|
|
282
289
|
onClick: ($event) => onViews(item, index2),
|
|
@@ -288,7 +295,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
288
295
|
]),
|
|
289
296
|
_: 1
|
|
290
297
|
})
|
|
291
|
-
], 8,
|
|
298
|
+
], 8, _hoisted_4)) : vue.createCommentVNode("", true),
|
|
292
299
|
!(vue.unref(disabled) || item.disabled) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
293
300
|
key: 2,
|
|
294
301
|
class: vue.normalizeClass(vue.unref(cs).z("list-li-operation-delete")),
|
|
@@ -301,8 +308,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
301
308
|
]),
|
|
302
309
|
_: 1
|
|
303
310
|
})
|
|
304
|
-
], 10,
|
|
305
|
-
],
|
|
311
|
+
], 10, _hoisted_5)) : vue.createCommentVNode("", true)
|
|
312
|
+
], 14, _hoisted_2),
|
|
306
313
|
vue.createElementVNode("div", {
|
|
307
314
|
class: vue.normalizeClass(vue.unref(cs).z("list-li-value"))
|
|
308
315
|
}, [
|
|
@@ -341,7 +348,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
341
348
|
], 2)
|
|
342
349
|
];
|
|
343
350
|
})
|
|
344
|
-
],
|
|
351
|
+
], 42, _hoisted_1);
|
|
345
352
|
}), 128)),
|
|
346
353
|
vue.unref(props).isViews ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
347
354
|
key: 0,
|
|
@@ -352,12 +359,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
352
359
|
accept: accept.value,
|
|
353
360
|
value: views$1.value,
|
|
354
361
|
show: views$1.show,
|
|
355
|
-
onClose: _cache[
|
|
362
|
+
onClose: _cache[1] || (_cache[1] = ($event) => views$1.show = false)
|
|
356
363
|
}, () => [
|
|
357
364
|
vue.createVNode(vue.unref(index$9.BoxAdjust), {
|
|
358
365
|
isMax: "",
|
|
359
366
|
modelValue: views$1.show,
|
|
360
|
-
"onUpdate:modelValue": _cache[
|
|
367
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => views$1.show = $event)
|
|
361
368
|
}, {
|
|
362
369
|
default: vue.withCtx(() => {
|
|
363
370
|
var _a, _b;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, useAttrs, computed, reactive, createElementBlock, openBlock, mergeProps, unref, createElementVNode, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, renderSlot, createVNode, withCtx, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, ref, useAttrs, computed, reactive, createElementBlock, openBlock, mergeProps, unref, createElementVNode, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, renderSlot, normalizeStyle, createVNode, withCtx, toDisplayString } from "vue";
|
|
2
2
|
import Document from "../../../icons/vue/document.js";
|
|
3
3
|
import Download from "../../../icons/vue/download.js";
|
|
4
4
|
import Plus from "../../../icons/vue/plus.js";
|
|
@@ -22,10 +22,11 @@ import { getType, getListType } from "./util.js";
|
|
|
22
22
|
import "../../form/index.js";
|
|
23
23
|
import { usePropsDefault, viewProps, getProps } from "../../../hooks/props-default/index.js";
|
|
24
24
|
import { useDisabled } from "element-plus/es/components/form/index";
|
|
25
|
-
const _hoisted_1 = ["
|
|
26
|
-
const _hoisted_2 = ["
|
|
25
|
+
const _hoisted_1 = ["onMouseenter"];
|
|
26
|
+
const _hoisted_2 = ["title"];
|
|
27
27
|
const _hoisted_3 = ["onClick", "title"];
|
|
28
28
|
const _hoisted_4 = ["onClick", "title"];
|
|
29
|
+
const _hoisted_5 = ["onClick", "title"];
|
|
29
30
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
30
31
|
...{ inheritAttrs: false },
|
|
31
32
|
__name: "index",
|
|
@@ -46,6 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
47
|
const multiple = listFuObj.multiple;
|
|
47
48
|
const isloading = ref(false);
|
|
48
49
|
const disabled = useDisabled();
|
|
50
|
+
const showIndex = ref(-1);
|
|
49
51
|
const accept = computed(() => {
|
|
50
52
|
if (props.accept) {
|
|
51
53
|
return props.accept;
|
|
@@ -249,9 +251,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
251
|
(openBlock(true), createElementBlock(Fragment, null, renderList(fileList.value, (item, index) => {
|
|
250
252
|
return openBlock(), createElementBlock("div", {
|
|
251
253
|
class: normalizeClass(unref(cs).z("list-li")),
|
|
252
|
-
key: index
|
|
254
|
+
key: index,
|
|
255
|
+
onMouseenter: ($event) => showIndex.value = index,
|
|
256
|
+
onMouseleave: _cache[0] || (_cache[0] = ($event) => showIndex.value = -1)
|
|
253
257
|
}, [
|
|
254
|
-
renderSlot(_ctx.$slots, unref(dataSlot).
|
|
258
|
+
renderSlot(_ctx.$slots, unref(dataSlot).list, {
|
|
255
259
|
value: item,
|
|
256
260
|
type: unref(props).type,
|
|
257
261
|
accept: accept.value,
|
|
@@ -261,6 +265,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
261
265
|
return [
|
|
262
266
|
createElementVNode("div", {
|
|
263
267
|
class: normalizeClass(unref(cs).z("list-li-operation")),
|
|
268
|
+
style: normalizeStyle({
|
|
269
|
+
display: showIndex.value == index ? "flex" : "none"
|
|
270
|
+
}),
|
|
264
271
|
title: item.url
|
|
265
272
|
}, [
|
|
266
273
|
unref(props).isDownload ? (openBlock(), createElementBlock("span", {
|
|
@@ -274,7 +281,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
281
|
]),
|
|
275
282
|
_: 1
|
|
276
283
|
})
|
|
277
|
-
], 8,
|
|
284
|
+
], 8, _hoisted_3)) : createCommentVNode("", true),
|
|
278
285
|
unref(props).isViews ? (openBlock(), createElementBlock("span", {
|
|
279
286
|
key: 1,
|
|
280
287
|
onClick: ($event) => onViews(item, index),
|
|
@@ -286,7 +293,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
293
|
]),
|
|
287
294
|
_: 1
|
|
288
295
|
})
|
|
289
|
-
], 8,
|
|
296
|
+
], 8, _hoisted_4)) : createCommentVNode("", true),
|
|
290
297
|
!(unref(disabled) || item.disabled) ? (openBlock(), createElementBlock("span", {
|
|
291
298
|
key: 2,
|
|
292
299
|
class: normalizeClass(unref(cs).z("list-li-operation-delete")),
|
|
@@ -299,8 +306,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
306
|
]),
|
|
300
307
|
_: 1
|
|
301
308
|
})
|
|
302
|
-
], 10,
|
|
303
|
-
],
|
|
309
|
+
], 10, _hoisted_5)) : createCommentVNode("", true)
|
|
310
|
+
], 14, _hoisted_2),
|
|
304
311
|
createElementVNode("div", {
|
|
305
312
|
class: normalizeClass(unref(cs).z("list-li-value"))
|
|
306
313
|
}, [
|
|
@@ -339,7 +346,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
339
346
|
], 2)
|
|
340
347
|
];
|
|
341
348
|
})
|
|
342
|
-
],
|
|
349
|
+
], 42, _hoisted_1);
|
|
343
350
|
}), 128)),
|
|
344
351
|
unref(props).isViews ? (openBlock(), createElementBlock("div", {
|
|
345
352
|
key: 0,
|
|
@@ -350,12 +357,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
350
357
|
accept: accept.value,
|
|
351
358
|
value: views.value,
|
|
352
359
|
show: views.show,
|
|
353
|
-
onClose: _cache[
|
|
360
|
+
onClose: _cache[1] || (_cache[1] = ($event) => views.show = false)
|
|
354
361
|
}, () => [
|
|
355
362
|
createVNode(unref(BoxAdjust), {
|
|
356
363
|
isMax: "",
|
|
357
364
|
modelValue: views.show,
|
|
358
|
-
"onUpdate:modelValue": _cache[
|
|
365
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => views.show = $event)
|
|
359
366
|
}, {
|
|
360
367
|
default: withCtx(() => {
|
|
361
368
|
var _a, _b;
|
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
package/dist/css/box-adjust.css
CHANGED
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
package/dist/css/box-local.css
CHANGED
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
package/dist/css/box-title.css
CHANGED
|
@@ -12,6 +12,30 @@
|
|
|
12
12
|
--g-main-bg: var(--bg-color-page);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.icon {
|
|
16
|
+
--color: inherit;
|
|
17
|
+
height: 1em;
|
|
18
|
+
width: 1em;
|
|
19
|
+
line-height: 1em;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
position: relative;
|
|
24
|
+
fill: currentColor;
|
|
25
|
+
color: var(--color);
|
|
26
|
+
font-size: inherit;
|
|
27
|
+
}
|
|
28
|
+
.icon-cont {
|
|
29
|
+
border: 0;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
object-fit: contain;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
font-size: inherit !important;
|
|
35
|
+
width: inherit !important;
|
|
36
|
+
height: inherit !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
15
39
|
.box-title {
|
|
16
40
|
padding: 10px;
|
|
17
41
|
position: relative;
|
package/dist/css/box.css
CHANGED
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
package/dist/css/index.css
CHANGED
|
@@ -636,6 +636,30 @@
|
|
|
636
636
|
background: rgba(2, 28, 39, 0.4);
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
+
.icon {
|
|
640
|
+
--color: inherit;
|
|
641
|
+
height: 1em;
|
|
642
|
+
width: 1em;
|
|
643
|
+
line-height: 1em;
|
|
644
|
+
display: inline-flex;
|
|
645
|
+
justify-content: center;
|
|
646
|
+
align-items: center;
|
|
647
|
+
position: relative;
|
|
648
|
+
fill: currentColor;
|
|
649
|
+
color: var(--color);
|
|
650
|
+
font-size: inherit;
|
|
651
|
+
}
|
|
652
|
+
.icon-cont {
|
|
653
|
+
border: 0;
|
|
654
|
+
display: inline-flex;
|
|
655
|
+
align-items: center;
|
|
656
|
+
object-fit: contain;
|
|
657
|
+
justify-content: center;
|
|
658
|
+
font-size: inherit !important;
|
|
659
|
+
width: inherit !important;
|
|
660
|
+
height: inherit !important;
|
|
661
|
+
}
|
|
662
|
+
|
|
639
663
|
.box-title {
|
|
640
664
|
padding: 10px;
|
|
641
665
|
position: relative;
|
|
@@ -995,30 +1019,6 @@
|
|
|
995
1019
|
text-align: right;
|
|
996
1020
|
}
|
|
997
1021
|
|
|
998
|
-
.icon {
|
|
999
|
-
--color: inherit;
|
|
1000
|
-
height: 1em;
|
|
1001
|
-
width: 1em;
|
|
1002
|
-
line-height: 1em;
|
|
1003
|
-
display: inline-flex;
|
|
1004
|
-
justify-content: center;
|
|
1005
|
-
align-items: center;
|
|
1006
|
-
position: relative;
|
|
1007
|
-
fill: currentColor;
|
|
1008
|
-
color: var(--color);
|
|
1009
|
-
font-size: inherit;
|
|
1010
|
-
}
|
|
1011
|
-
.icon-cont {
|
|
1012
|
-
border: 0;
|
|
1013
|
-
display: inline-flex;
|
|
1014
|
-
align-items: center;
|
|
1015
|
-
object-fit: contain;
|
|
1016
|
-
justify-content: center;
|
|
1017
|
-
font-size: inherit !important;
|
|
1018
|
-
width: inherit !important;
|
|
1019
|
-
height: inherit !important;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
1022
|
.iframe {
|
|
1023
1023
|
width: 100%;
|
|
1024
1024
|
height: 100%;
|
|
@@ -1835,26 +1835,4 @@
|
|
|
1835
1835
|
left: 0;
|
|
1836
1836
|
z-index: 1;
|
|
1837
1837
|
opacity: 0;
|
|
1838
|
-
}
|
|
1839
|
-
|
|
1840
|
-
.tablesvp {
|
|
1841
|
-
width: 100%;
|
|
1842
|
-
height: var(--tablesvp-height);
|
|
1843
|
-
display: flex;
|
|
1844
|
-
flex-direction: column;
|
|
1845
|
-
}
|
|
1846
|
-
.tablesvp-main {
|
|
1847
|
-
display: flex;
|
|
1848
|
-
flex-direction: column;
|
|
1849
|
-
flex: 1;
|
|
1850
|
-
width: 100%;
|
|
1851
|
-
}
|
|
1852
|
-
.tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1853
|
-
display: none;
|
|
1854
|
-
}
|
|
1855
|
-
.tablesvp-paginat {
|
|
1856
|
-
overflow: hidden;
|
|
1857
|
-
}
|
|
1858
|
-
.tablesvp-paginat .el-pagination {
|
|
1859
|
-
justify-content: flex-end;
|
|
1860
1838
|
}
|
package/dist/css/popup.css
CHANGED
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
package/dist/css/window.css
CHANGED
|
@@ -24,6 +24,30 @@
|
|
|
24
24
|
background: rgba(2, 28, 39, 0.4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.icon {
|
|
28
|
+
--color: inherit;
|
|
29
|
+
height: 1em;
|
|
30
|
+
width: 1em;
|
|
31
|
+
line-height: 1em;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
color: var(--color);
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
}
|
|
40
|
+
.icon-cont {
|
|
41
|
+
border: 0;
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
object-fit: contain;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
font-size: inherit !important;
|
|
47
|
+
width: inherit !important;
|
|
48
|
+
height: inherit !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
27
51
|
.box-title {
|
|
28
52
|
padding: 10px;
|
|
29
53
|
position: relative;
|
package/dist/icons/index.json
CHANGED
package/dist/index.css
CHANGED
|
@@ -636,6 +636,30 @@
|
|
|
636
636
|
background: rgba(2, 28, 39, 0.4);
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
+
.icon {
|
|
640
|
+
--color: inherit;
|
|
641
|
+
height: 1em;
|
|
642
|
+
width: 1em;
|
|
643
|
+
line-height: 1em;
|
|
644
|
+
display: inline-flex;
|
|
645
|
+
justify-content: center;
|
|
646
|
+
align-items: center;
|
|
647
|
+
position: relative;
|
|
648
|
+
fill: currentColor;
|
|
649
|
+
color: var(--color);
|
|
650
|
+
font-size: inherit;
|
|
651
|
+
}
|
|
652
|
+
.icon-cont {
|
|
653
|
+
border: 0;
|
|
654
|
+
display: inline-flex;
|
|
655
|
+
align-items: center;
|
|
656
|
+
object-fit: contain;
|
|
657
|
+
justify-content: center;
|
|
658
|
+
font-size: inherit !important;
|
|
659
|
+
width: inherit !important;
|
|
660
|
+
height: inherit !important;
|
|
661
|
+
}
|
|
662
|
+
|
|
639
663
|
.box-title {
|
|
640
664
|
padding: 10px;
|
|
641
665
|
position: relative;
|
|
@@ -995,30 +1019,6 @@
|
|
|
995
1019
|
text-align: right;
|
|
996
1020
|
}
|
|
997
1021
|
|
|
998
|
-
.icon {
|
|
999
|
-
--color: inherit;
|
|
1000
|
-
height: 1em;
|
|
1001
|
-
width: 1em;
|
|
1002
|
-
line-height: 1em;
|
|
1003
|
-
display: inline-flex;
|
|
1004
|
-
justify-content: center;
|
|
1005
|
-
align-items: center;
|
|
1006
|
-
position: relative;
|
|
1007
|
-
fill: currentColor;
|
|
1008
|
-
color: var(--color);
|
|
1009
|
-
font-size: inherit;
|
|
1010
|
-
}
|
|
1011
|
-
.icon-cont {
|
|
1012
|
-
border: 0;
|
|
1013
|
-
display: inline-flex;
|
|
1014
|
-
align-items: center;
|
|
1015
|
-
object-fit: contain;
|
|
1016
|
-
justify-content: center;
|
|
1017
|
-
font-size: inherit !important;
|
|
1018
|
-
width: inherit !important;
|
|
1019
|
-
height: inherit !important;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
1022
|
.iframe {
|
|
1023
1023
|
width: 100%;
|
|
1024
1024
|
height: 100%;
|
|
@@ -1835,26 +1835,4 @@
|
|
|
1835
1835
|
left: 0;
|
|
1836
1836
|
z-index: 1;
|
|
1837
1837
|
opacity: 0;
|
|
1838
|
-
}
|
|
1839
|
-
|
|
1840
|
-
.tablesvp {
|
|
1841
|
-
width: 100%;
|
|
1842
|
-
height: var(--tablesvp-height);
|
|
1843
|
-
display: flex;
|
|
1844
|
-
flex-direction: column;
|
|
1845
|
-
}
|
|
1846
|
-
.tablesvp-main {
|
|
1847
|
-
display: flex;
|
|
1848
|
-
flex-direction: column;
|
|
1849
|
-
flex: 1;
|
|
1850
|
-
width: 100%;
|
|
1851
|
-
}
|
|
1852
|
-
.tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1853
|
-
display: none;
|
|
1854
|
-
}
|
|
1855
|
-
.tablesvp-paginat {
|
|
1856
|
-
overflow: hidden;
|
|
1857
|
-
}
|
|
1858
|
-
.tablesvp-paginat .el-pagination {
|
|
1859
|
-
justify-content: flex-end;
|
|
1860
1838
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.26",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"vue-tsc": "^3.1.3",
|
|
52
52
|
"vuedraggable": "4.1.0",
|
|
53
53
|
"vxe-table": "4.17.13",
|
|
54
|
-
"@fang-ui/icons": "0.0.1-0",
|
|
55
|
-
"@fang-ui/components": "0.0.1-0",
|
|
56
|
-
"@fang-ui/locale": "0.0.1-0",
|
|
57
54
|
"@fang-ui/directives": "0.0.1-0",
|
|
55
|
+
"@fang-ui/components": "0.0.1-0",
|
|
56
|
+
"@fang-ui/icons": "0.0.1-0",
|
|
58
57
|
"@fang-ui/hooks": "0.0.1-0",
|
|
59
|
-
"@fang-ui/
|
|
58
|
+
"@fang-ui/theme": "0.0.1-0",
|
|
60
59
|
"@fang-ui/utils": "0.0.1-0",
|
|
61
|
-
"@fang-ui/
|
|
60
|
+
"@fang-ui/locale": "0.0.1-0",
|
|
61
|
+
"@fang-ui/types": "0.0.1-0"
|
|
62
62
|
},
|
|
63
63
|
"main": "./dist/index.cjs",
|
|
64
64
|
"module": "./dist/index.js",
|
|
File without changes
|
|
File without changes
|