@fangzhongya/fang-ui 0.0.22 → 0.0.24
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/index.css +0 -4
- package/dist/components/box/index.css +0 -4
- package/dist/components/box-adjust/index.css +0 -4
- package/dist/components/box-local/index.css +0 -4
- package/dist/components/box-mask/index.css +0 -4
- package/dist/components/box-title/index.css +0 -4
- package/dist/components/buttons/index.css +0 -4
- package/dist/components/cascaders/index.css +0 -4
- package/dist/components/checks/index.css +0 -4
- package/dist/components/css/common.scss +0 -8
- package/dist/components/dates/index.css +0 -4
- package/dist/components/dialog/index.css +0 -4
- package/dist/components/drawer/index.css +0 -4
- package/dist/components/el-tables/index.css +0 -4
- package/dist/components/forms/index.css +0 -4
- package/dist/components/forms-div/index.css +0 -4
- package/dist/components/forms-item/index.css +0 -4
- package/dist/components/global-config/index.css +0 -4
- package/dist/components/icon/index.css +12 -2
- package/dist/components/icon/index.d.ts +11 -4
- package/dist/components/icon/index.scss +13 -2
- package/dist/components/icon/src/data.cjs +3 -0
- package/dist/components/icon/src/data.d.ts +3 -0
- package/dist/components/icon/src/data.js +3 -0
- package/dist/components/icon/src/index.cjs +37 -35
- package/dist/components/icon/src/index.d.ts +9 -5
- package/dist/components/icon/src/index.js +38 -36
- package/dist/components/index.scss +1 -0
- package/dist/components/input-array/index.css +0 -4
- package/dist/components/input-num/index.css +0 -4
- package/dist/components/inputs/index.css +0 -4
- package/dist/components/lists/index.css +0 -4
- package/dist/components/menus/index.cjs +1 -0
- package/dist/components/menus/index.css +19 -0
- package/dist/components/menus/index.js +1 -0
- package/dist/components/menus/index.scss +9 -0
- package/dist/components/menus/src/menu-ll.cjs +3 -2
- package/dist/components/menus/src/menu-ll.js +4 -3
- package/dist/components/page/index.css +0 -4
- package/dist/components/pagin/index.css +0 -4
- package/dist/components/popup/index.css +0 -4
- package/dist/components/right-key/index.css +0 -4
- package/dist/components/right-key/src/index.cjs +4 -4
- package/dist/components/right-key/src/index.js +4 -4
- package/dist/components/selects/index.css +0 -4
- package/dist/components/switchs/index.css +0 -4
- package/dist/components/tables/index.css +0 -4
- package/dist/components/tables-pagin/index.css +0 -4
- package/dist/components/text/index.css +14 -0
- package/dist/components/vxe-tables/index.css +0 -4
- package/dist/components/window/index.css +0 -4
- package/dist/index.css +19 -4
- package/package.json +4 -4
|
@@ -13,6 +13,16 @@
|
|
|
13
13
|
--g-main-bg: var(--bg-color-page);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
17
|
-
|
|
16
|
+
.icon {
|
|
17
|
+
--color: inherit;
|
|
18
|
+
height: 1em;
|
|
19
|
+
width: 1em;
|
|
20
|
+
line-height: 1em;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
position: relative;
|
|
25
|
+
fill: currentColor;
|
|
26
|
+
color: var(--color);
|
|
27
|
+
font-size: inherit;
|
|
18
28
|
}
|
|
@@ -5,6 +5,9 @@ declare const Icon: {
|
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
+
iconClass: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
};
|
|
8
11
|
type: {
|
|
9
12
|
type: StringConstructor;
|
|
10
13
|
};
|
|
@@ -28,7 +31,7 @@ declare const Icon: {
|
|
|
28
31
|
runtime: boolean;
|
|
29
32
|
flip: "" | "horizontal" | "vertical" | "both";
|
|
30
33
|
rotate: number;
|
|
31
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
34
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLElement, ComponentProvideOptions, {
|
|
32
35
|
P: {};
|
|
33
36
|
B: {};
|
|
34
37
|
D: {};
|
|
@@ -40,6 +43,9 @@ declare const Icon: {
|
|
|
40
43
|
type: StringConstructor;
|
|
41
44
|
default: string;
|
|
42
45
|
};
|
|
46
|
+
iconClass: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
};
|
|
43
49
|
type: {
|
|
44
50
|
type: StringConstructor;
|
|
45
51
|
};
|
|
@@ -72,6 +78,9 @@ declare const Icon: {
|
|
|
72
78
|
type: StringConstructor;
|
|
73
79
|
default: string;
|
|
74
80
|
};
|
|
81
|
+
iconClass: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
75
84
|
type: {
|
|
76
85
|
type: StringConstructor;
|
|
77
86
|
};
|
|
@@ -97,9 +106,7 @@ declare const Icon: {
|
|
|
97
106
|
rotate: number;
|
|
98
107
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
99
108
|
$slots: {
|
|
100
|
-
default?(_: {
|
|
101
|
-
class: string;
|
|
102
|
-
}): any;
|
|
109
|
+
default?(_: {}): any;
|
|
103
110
|
};
|
|
104
111
|
}) & Plugin;
|
|
105
112
|
export { Icon, Icon as default };
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
@use '../css/common.scss' as *;
|
|
2
2
|
|
|
3
|
-
$
|
|
4
|
-
@include b($
|
|
3
|
+
$icon: 'icon';
|
|
4
|
+
@include b($icon) {
|
|
5
|
+
--color: inherit;
|
|
6
|
+
height: 1em;
|
|
7
|
+
width: 1em;
|
|
8
|
+
line-height: 1em;
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
position: relative;
|
|
13
|
+
fill: currentColor;
|
|
14
|
+
color: var(--color);
|
|
15
|
+
font-size: inherit;
|
|
5
16
|
}
|
|
@@ -119,42 +119,44 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
119
119
|
...data.dataExpose
|
|
120
120
|
});
|
|
121
121
|
return (_ctx, _cache) => {
|
|
122
|
-
return vue.
|
|
122
|
+
return vue.openBlock(), vue.createElementBlock("i", {
|
|
123
123
|
class: vue.normalizeClass(vue.unref(cs).z())
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
key:
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
124
|
+
}, [
|
|
125
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
126
|
+
outputType.value === "css" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
127
|
+
key: 0,
|
|
128
|
+
ctype: outputType.value,
|
|
129
|
+
class: vue.normalizeClass([outputName.value, props.iconClass]),
|
|
130
|
+
style: vue.normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
131
|
+
}, null, 14, _hoisted_1)) : outputType.value === "font" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
132
|
+
key: 1,
|
|
133
|
+
ctype: outputType.value,
|
|
134
|
+
class: vue.normalizeClass([outputName.value, props.iconClass]),
|
|
135
|
+
style: vue.normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
136
|
+
}, null, 14, _hoisted_2)) : outputType.value === "img" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
137
|
+
key: 2,
|
|
138
|
+
ctype: outputType.value,
|
|
139
|
+
class: vue.normalizeClass([props.iconClass]),
|
|
140
|
+
style: vue.normalizeStyle([{ "border": "0", "display": "inline-flex", "align-items": "center", "object-fit": "contain", "justify-content": "center" }, transformStyle.value]),
|
|
141
|
+
src: outputName.value
|
|
142
|
+
}, null, 14, _hoisted_3)) : outputType.value === "str" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [], 64)) : outputType.value === "com" ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(outputName.value), {
|
|
143
|
+
key: 4,
|
|
144
|
+
ctype: outputType.value,
|
|
145
|
+
class: vue.normalizeClass([props.iconClass]),
|
|
146
|
+
style: vue.normalizeStyle(transformStyle.value)
|
|
147
|
+
}, null, 8, ["ctype", "class", "style"])) : (vue.openBlock(), vue.createElementBlock("svg", {
|
|
148
|
+
key: 5,
|
|
149
|
+
ctype: outputType.value,
|
|
150
|
+
class: vue.normalizeClass([props.iconClass]),
|
|
151
|
+
style: vue.normalizeStyle(transformStyle.value),
|
|
152
|
+
"aria-hidden": "true"
|
|
153
|
+
}, [
|
|
154
|
+
vue.createElementVNode("use", {
|
|
155
|
+
"xlink:href": `#icon-${outputName.value}`
|
|
156
|
+
}, null, 8, _hoisted_5)
|
|
157
|
+
], 14, _hoisted_4))
|
|
158
|
+
])
|
|
159
|
+
], 2);
|
|
158
160
|
};
|
|
159
161
|
}
|
|
160
162
|
});
|
|
@@ -2,12 +2,10 @@ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, Pub
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
|
-
default?(_: {
|
|
6
|
-
class: string;
|
|
7
|
-
}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
8
6
|
};
|
|
9
7
|
refs: {};
|
|
10
|
-
rootEl:
|
|
8
|
+
rootEl: HTMLElement;
|
|
11
9
|
};
|
|
12
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
11
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -15,6 +13,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
15
13
|
type: StringConstructor;
|
|
16
14
|
default: string;
|
|
17
15
|
};
|
|
16
|
+
iconClass: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
18
19
|
type: {
|
|
19
20
|
type: StringConstructor;
|
|
20
21
|
};
|
|
@@ -38,6 +39,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
38
39
|
type: StringConstructor;
|
|
39
40
|
default: string;
|
|
40
41
|
};
|
|
42
|
+
iconClass: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
41
45
|
type: {
|
|
42
46
|
type: StringConstructor;
|
|
43
47
|
};
|
|
@@ -61,7 +65,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
61
65
|
runtime: boolean;
|
|
62
66
|
flip: "" | "horizontal" | "vertical" | "both";
|
|
63
67
|
rotate: number;
|
|
64
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
68
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
65
69
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
70
|
export default _default;
|
|
67
71
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, renderSlot, createBlock, normalizeStyle, Fragment, resolveDynamicComponent, createElementVNode } from "vue";
|
|
2
2
|
import { dataEmits, dataProps, dataExpose } from "./data.js";
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
4
|
import "@fangzhongya/utils/basic/string/splitUpper";
|
|
@@ -117,42 +117,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
117
|
...dataExpose
|
|
118
118
|
});
|
|
119
119
|
return (_ctx, _cache) => {
|
|
120
|
-
return
|
|
120
|
+
return openBlock(), createElementBlock("i", {
|
|
121
121
|
class: normalizeClass(unref(cs).z())
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
key:
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
122
|
+
}, [
|
|
123
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
124
|
+
outputType.value === "css" ? (openBlock(), createElementBlock("i", {
|
|
125
|
+
key: 0,
|
|
126
|
+
ctype: outputType.value,
|
|
127
|
+
class: normalizeClass([outputName.value, props.iconClass]),
|
|
128
|
+
style: normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
129
|
+
}, null, 14, _hoisted_1)) : outputType.value === "font" ? (openBlock(), createElementBlock("i", {
|
|
130
|
+
key: 1,
|
|
131
|
+
ctype: outputType.value,
|
|
132
|
+
class: normalizeClass([outputName.value, props.iconClass]),
|
|
133
|
+
style: normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
134
|
+
}, null, 14, _hoisted_2)) : outputType.value === "img" ? (openBlock(), createElementBlock("img", {
|
|
135
|
+
key: 2,
|
|
136
|
+
ctype: outputType.value,
|
|
137
|
+
class: normalizeClass([props.iconClass]),
|
|
138
|
+
style: normalizeStyle([{ "border": "0", "display": "inline-flex", "align-items": "center", "object-fit": "contain", "justify-content": "center" }, transformStyle.value]),
|
|
139
|
+
src: outputName.value
|
|
140
|
+
}, null, 14, _hoisted_3)) : outputType.value === "str" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [], 64)) : outputType.value === "com" ? (openBlock(), createBlock(resolveDynamicComponent(outputName.value), {
|
|
141
|
+
key: 4,
|
|
142
|
+
ctype: outputType.value,
|
|
143
|
+
class: normalizeClass([props.iconClass]),
|
|
144
|
+
style: normalizeStyle(transformStyle.value)
|
|
145
|
+
}, null, 8, ["ctype", "class", "style"])) : (openBlock(), createElementBlock("svg", {
|
|
146
|
+
key: 5,
|
|
147
|
+
ctype: outputType.value,
|
|
148
|
+
class: normalizeClass([props.iconClass]),
|
|
149
|
+
style: normalizeStyle(transformStyle.value),
|
|
150
|
+
"aria-hidden": "true"
|
|
151
|
+
}, [
|
|
152
|
+
createElementVNode("use", {
|
|
153
|
+
"xlink:href": `#icon-${outputName.value}`
|
|
154
|
+
}, null, 8, _hoisted_5)
|
|
155
|
+
], 14, _hoisted_4))
|
|
156
|
+
])
|
|
157
|
+
], 2);
|
|
156
158
|
};
|
|
157
159
|
}
|
|
158
160
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
3
4
|
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
4
5
|
const index_vue_vue_type_script_setup_true_lang = require("./src/index.cjs");
|
|
5
6
|
const Menus = withInstall.withInstall(index_vue_vue_type_script_setup_true_lang.default, "Menus");
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--icon-picker-on: rgb(91, 189, 246);
|
|
3
|
+
--icon-picker-border: #eee;
|
|
4
|
+
--color-primary: #409eff;
|
|
5
|
+
--bag-primary: #409eff;
|
|
6
|
+
--bag-primary-text: #fff;
|
|
7
|
+
--border: #eee;
|
|
8
|
+
--layout-panel-gap: 10px;
|
|
9
|
+
--layout-panel-padding: 20px;
|
|
10
|
+
--layout-form-item-padding-right: var(
|
|
11
|
+
--layout-panel-gap
|
|
12
|
+
);
|
|
13
|
+
--g-main-bg: var(--bg-color-page);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.menus .menu-li-item {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const elementPlus = require("element-plus");
|
|
5
|
+
const index$1 = require("../../icon/index.cjs");
|
|
5
6
|
const use = require("../../common/use.cjs");
|
|
6
7
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
7
8
|
const util$1 = require("./util.cjs");
|
|
@@ -43,7 +44,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
43
44
|
if (i) {
|
|
44
45
|
if (typeof i === "string") {
|
|
45
46
|
return vue.h(
|
|
46
|
-
|
|
47
|
+
index$1.Icon,
|
|
47
48
|
{
|
|
48
49
|
class: cs.z("icon")
|
|
49
50
|
},
|
|
@@ -53,7 +54,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
53
54
|
);
|
|
54
55
|
} else {
|
|
55
56
|
return vue.h(
|
|
56
|
-
|
|
57
|
+
index$1.Icon,
|
|
57
58
|
{
|
|
58
59
|
class: cs.z("icon")
|
|
59
60
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, h } from "vue";
|
|
2
|
-
import { ElSubMenu, ElMenuItem
|
|
2
|
+
import { ElSubMenu, ElMenuItem } from "element-plus";
|
|
3
|
+
import { Icon } from "../../icon/index.js";
|
|
3
4
|
import { useHide } from "../../common/use.js";
|
|
4
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
5
6
|
import { setLabel } from "./util.js";
|
|
@@ -41,7 +42,7 @@ const _sfc_main = defineComponent({
|
|
|
41
42
|
if (i) {
|
|
42
43
|
if (typeof i === "string") {
|
|
43
44
|
return h(
|
|
44
|
-
|
|
45
|
+
Icon,
|
|
45
46
|
{
|
|
46
47
|
class: cs.z("icon")
|
|
47
48
|
},
|
|
@@ -51,7 +52,7 @@ const _sfc_main = defineComponent({
|
|
|
51
52
|
);
|
|
52
53
|
} else {
|
|
53
54
|
return h(
|
|
54
|
-
|
|
55
|
+
Icon,
|
|
55
56
|
{
|
|
56
57
|
class: cs.z("icon")
|
|
57
58
|
},
|
|
@@ -60,17 +60,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
60
|
if (props.domClass) {
|
|
61
61
|
const v = getPrentClass.getPrentClass(dom2, props.domClass);
|
|
62
62
|
if (v && refRightKey.value.contains(v)) {
|
|
63
|
-
return
|
|
63
|
+
return v;
|
|
64
64
|
}
|
|
65
65
|
} else {
|
|
66
|
-
return
|
|
66
|
+
return dom2;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
return false;
|
|
70
69
|
}
|
|
71
70
|
function handleContextmenu(event) {
|
|
72
71
|
let target = event.target;
|
|
73
|
-
|
|
72
|
+
target = isDomClass(target);
|
|
73
|
+
if (target) {
|
|
74
74
|
dom.value = target;
|
|
75
75
|
let x = 0, y = 0;
|
|
76
76
|
if (event.x || event.y) {
|
|
@@ -58,17 +58,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
if (props.domClass) {
|
|
59
59
|
const v = getPrentClass(dom2, props.domClass);
|
|
60
60
|
if (v && refRightKey.value.contains(v)) {
|
|
61
|
-
return
|
|
61
|
+
return v;
|
|
62
62
|
}
|
|
63
63
|
} else {
|
|
64
|
-
return
|
|
64
|
+
return dom2;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
return false;
|
|
68
67
|
}
|
|
69
68
|
function handleContextmenu(event) {
|
|
70
69
|
let target = event.target;
|
|
71
|
-
|
|
70
|
+
target = isDomClass(target);
|
|
71
|
+
if (target) {
|
|
72
72
|
dom.value = target;
|
|
73
73
|
let x = 0, y = 0;
|
|
74
74
|
if (event.x || event.y) {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--icon-picker-on: rgb(91, 189, 246);
|
|
3
|
+
--icon-picker-border: #eee;
|
|
4
|
+
--color-primary: #409eff;
|
|
5
|
+
--bag-primary: #409eff;
|
|
6
|
+
--bag-primary-text: #fff;
|
|
7
|
+
--border: #eee;
|
|
8
|
+
--layout-panel-gap: 10px;
|
|
9
|
+
--layout-panel-padding: 20px;
|
|
10
|
+
--layout-form-item-padding-right: var(
|
|
11
|
+
--layout-panel-gap
|
|
12
|
+
);
|
|
13
|
+
--g-main-bg: var(--bg-color-page);
|
|
14
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
--g-main-bg: var(--bg-color-page);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.com {
|
|
17
|
-
font-size: 20px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
16
|
.f-dialog.el-dialog {
|
|
21
17
|
padding: 0;
|
|
22
18
|
}
|
|
@@ -358,6 +354,20 @@
|
|
|
358
354
|
left: 0;
|
|
359
355
|
}
|
|
360
356
|
|
|
357
|
+
.icon {
|
|
358
|
+
--color: inherit;
|
|
359
|
+
height: 1em;
|
|
360
|
+
width: 1em;
|
|
361
|
+
line-height: 1em;
|
|
362
|
+
display: inline-flex;
|
|
363
|
+
justify-content: center;
|
|
364
|
+
align-items: center;
|
|
365
|
+
position: relative;
|
|
366
|
+
fill: currentColor;
|
|
367
|
+
color: var(--color);
|
|
368
|
+
font-size: inherit;
|
|
369
|
+
}
|
|
370
|
+
|
|
361
371
|
.lists-div .lists-table {
|
|
362
372
|
width: 100%;
|
|
363
373
|
height: 100%;
|
|
@@ -433,6 +443,11 @@
|
|
|
433
443
|
border-bottom: 0;
|
|
434
444
|
}
|
|
435
445
|
|
|
446
|
+
.menus .menu-li-item {
|
|
447
|
+
display: flex;
|
|
448
|
+
align-items: center;
|
|
449
|
+
}
|
|
450
|
+
|
|
436
451
|
.page {
|
|
437
452
|
height: 100%;
|
|
438
453
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.24",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"vuedraggable": "4.1.0",
|
|
49
49
|
"vxe-table": "4.14.4",
|
|
50
50
|
"@fang-ui/components": "0.0.1-0",
|
|
51
|
-
"@fang-ui/directives": "0.0.1-0",
|
|
52
|
-
"@fang-ui/icons": "0.0.1-0",
|
|
53
51
|
"@fang-ui/hooks": "0.0.1-0",
|
|
52
|
+
"@fang-ui/directives": "0.0.1-0",
|
|
54
53
|
"@fang-ui/locale": "0.0.1-0",
|
|
55
|
-
"@fang-ui/
|
|
54
|
+
"@fang-ui/icons": "0.0.1-0",
|
|
56
55
|
"@fang-ui/utils": "0.0.1-0",
|
|
56
|
+
"@fang-ui/types": "0.0.1-0",
|
|
57
57
|
"@fang-ui/theme": "0.0.1-0"
|
|
58
58
|
},
|
|
59
59
|
"main": "./dist/index.cjs",
|