@fangzhongya/fang-ui 0.0.59 → 0.0.60
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 +3 -3
- package/dist/components/array/src/index2.js +3 -3
- package/dist/components/dialogs/src/index2.cjs +2 -2
- package/dist/components/dialogs/src/index2.js +2 -2
- 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 +2 -1
- package/dist/components/index2.scss +2 -1
- 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/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/css/index.css +28 -5
- 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/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/locale/index.cjs +2 -2
- package/dist/hooks/locale/index.d.ts +1 -1
- package/dist/hooks/locale/index.js +2 -2
- package/dist/icons/index.css +29 -29
- package/dist/icons/index.json +9 -9
- package/dist/index.cjs +128 -126
- package/dist/index.css +28 -5
- package/dist/index.js +2 -0
- package/dist/locale/en.cjs +30 -31
- package/dist/locale/en.d.ts +1 -2
- package/dist/locale/en.js +30 -31
- package/dist/locale/zh-cn.cjs +1 -2
- package/dist/locale/zh-cn.d.ts +1 -2
- package/dist/locale/zh-cn.js +1 -2
- package/package.json +6 -6
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
|
|
2
|
+
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
|
+
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: dataProps,
|
|
8
|
+
emits: dataEmits,
|
|
9
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
10
|
+
const { getPropsDefault } = useLocale();
|
|
11
|
+
const cs = useCssName("no-data");
|
|
12
|
+
const prs = __props;
|
|
13
|
+
const props = getPropsDefault(prs, [
|
|
14
|
+
{
|
|
15
|
+
prop: "text",
|
|
16
|
+
locale: "nodata"
|
|
17
|
+
}
|
|
18
|
+
]);
|
|
19
|
+
const emit = __emit;
|
|
20
|
+
__expose({
|
|
21
|
+
...dataExpose
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", {
|
|
25
|
+
class: normalizeClass(unref(cs).z())
|
|
26
|
+
}, [
|
|
27
|
+
createElementVNode("div", null, toDisplayString(unref(props).text), 1)
|
|
28
|
+
], 2);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
_sfc_main as default
|
|
34
|
+
};
|
|
@@ -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;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const setColumn_vue_vue_type_script_setup_true_lang = require("./set-column2.cjs");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
|
|
6
|
-
const SetColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(setColumn_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const SetColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(setColumn_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f43f186a"]]);
|
|
7
7
|
exports.default = SetColumn;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./set-column2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const SetColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const SetColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f43f186a"]]);
|
|
5
5
|
export {
|
|
6
6
|
SetColumn as default
|
|
7
7
|
};
|
|
@@ -3,16 +3,13 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const Draggable = require("vuedraggable");
|
|
5
5
|
const index$1 = require("../../dialogs/index.cjs");
|
|
6
|
+
const index$2 = require("../../no-data/index.cjs");
|
|
6
7
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
7
8
|
const elementPlus = require("element-plus");
|
|
8
9
|
const _hoisted_1 = {
|
|
9
10
|
key: 1,
|
|
10
11
|
class: "no-data"
|
|
11
12
|
};
|
|
12
|
-
const _hoisted_2 = {
|
|
13
|
-
key: 1,
|
|
14
|
-
class: "no-data"
|
|
15
|
-
};
|
|
16
13
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
14
|
__name: "set-column",
|
|
18
15
|
props: {
|
|
@@ -108,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
108
105
|
checked: isChecked(item),
|
|
109
106
|
onChange: (is) => onChange(item, Boolean(is))
|
|
110
107
|
}, null, 8, ["class", "label", "value", "checked", "onChange"]);
|
|
111
|
-
}), 128)) : (vue.openBlock(), vue.
|
|
108
|
+
}), 128)) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.NoData), { key: 1 }))
|
|
112
109
|
], 2))
|
|
113
110
|
], 2),
|
|
114
111
|
vue.createElementVNode("div", {
|
|
@@ -149,7 +146,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
149
146
|
], 2)
|
|
150
147
|
]),
|
|
151
148
|
_: 1
|
|
152
|
-
}, 16, ["modelValue", "item-key"])) : (vue.openBlock(), vue.createElementBlock("div",
|
|
149
|
+
}, 16, ["modelValue", "item-key"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, "未选字段"))
|
|
153
150
|
], 2)
|
|
154
151
|
], 2)
|
|
155
152
|
], 2)
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, createElementVNode, Fragment, renderList,
|
|
1
|
+
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, createElementVNode, createBlock, Fragment, renderList, mergeProps, toDisplayString, withModifiers } from "vue";
|
|
2
2
|
import Draggable from "vuedraggable";
|
|
3
3
|
import { Dialogs } from "../../dialogs/index.js";
|
|
4
|
+
import { NoData } from "../../no-data/index.js";
|
|
4
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
5
6
|
import { ElButton, ElCheckbox } from "element-plus";
|
|
6
7
|
const _hoisted_1 = {
|
|
7
8
|
key: 1,
|
|
8
9
|
class: "no-data"
|
|
9
10
|
};
|
|
10
|
-
const _hoisted_2 = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "no-data"
|
|
13
|
-
};
|
|
14
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
12
|
__name: "set-column",
|
|
16
13
|
props: {
|
|
@@ -106,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
103
|
checked: isChecked(item),
|
|
107
104
|
onChange: (is) => onChange(item, Boolean(is))
|
|
108
105
|
}, null, 8, ["class", "label", "value", "checked", "onChange"]);
|
|
109
|
-
}), 128)) : (openBlock(),
|
|
106
|
+
}), 128)) : (openBlock(), createBlock(unref(NoData), { key: 1 }))
|
|
110
107
|
], 2))
|
|
111
108
|
], 2),
|
|
112
109
|
createElementVNode("div", {
|
|
@@ -147,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
147
144
|
], 2)
|
|
148
145
|
]),
|
|
149
146
|
_: 1
|
|
150
|
-
}, 16, ["modelValue", "item-key"])) : (openBlock(), createElementBlock("div",
|
|
147
|
+
}, 16, ["modelValue", "item-key"])) : (openBlock(), createElementBlock("div", _hoisted_1, "未选字段"))
|
|
151
148
|
], 2)
|
|
152
149
|
], 2)
|
|
153
150
|
], 2)
|
|
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index$2 = require("element-plus/es/components/table/index");
|
|
6
|
-
const index$
|
|
6
|
+
const index$4 = require("element-plus/es/components/loading/index");
|
|
7
|
+
const index$3 = require("../../no-data/index.cjs");
|
|
7
8
|
require("./columns.cjs");
|
|
8
9
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
9
10
|
const index$1 = require("../../../hooks/inherit/index.cjs");
|
|
@@ -143,11 +144,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
143
144
|
}), {
|
|
144
145
|
empty: vue.withCtx(() => [
|
|
145
146
|
vue.renderSlot(_ctx.$slots, "no-data", {}, () => [
|
|
146
|
-
vue.
|
|
147
|
-
class: vue.normalizeClass(vue.unref(cs).z("no-data"))
|
|
148
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
149
|
-
vue.createElementVNode("span", null, "暂无数据", -1)
|
|
150
|
-
])], 2)
|
|
147
|
+
vue.createVNode(vue.unref(index$3.NoData))
|
|
151
148
|
])
|
|
152
149
|
]),
|
|
153
150
|
default: vue.withCtx(() => [
|
|
@@ -173,7 +170,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
173
170
|
]),
|
|
174
171
|
_: 3
|
|
175
172
|
}, 16, ["class", "height", "row-style", "data", "default-sort"])), [
|
|
176
|
-
[vue.unref(index$
|
|
173
|
+
[vue.unref(index$4.vLoading), props.loading]
|
|
177
174
|
])
|
|
178
175
|
], 16);
|
|
179
176
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withModifiers, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps
|
|
1
|
+
import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withModifiers, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
3
|
import { ElTable } from "element-plus/es/components/table/index";
|
|
4
4
|
import { vLoading } from "element-plus/es/components/loading/index";
|
|
5
|
+
import { NoData } from "../../no-data/index.js";
|
|
5
6
|
import "./columns.js";
|
|
6
7
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
7
8
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
@@ -141,11 +142,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
141
142
|
}), {
|
|
142
143
|
empty: withCtx(() => [
|
|
143
144
|
renderSlot(_ctx.$slots, "no-data", {}, () => [
|
|
144
|
-
|
|
145
|
-
class: normalizeClass(unref(cs).z("no-data"))
|
|
146
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
147
|
-
createElementVNode("span", null, "暂无数据", -1)
|
|
148
|
-
])], 2)
|
|
145
|
+
createVNode(unref(NoData))
|
|
149
146
|
])
|
|
150
147
|
]),
|
|
151
148
|
default: withCtx(() => [
|
|
@@ -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(() => [
|
package/dist/css/index.css
CHANGED
|
@@ -237,6 +237,12 @@
|
|
|
237
237
|
padding: 20px 20px;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
.no-data {
|
|
241
|
+
text-align: center;
|
|
242
|
+
margin-top: 20px;
|
|
243
|
+
color: #999;
|
|
244
|
+
}
|
|
245
|
+
|
|
240
246
|
.popup {
|
|
241
247
|
position: fixed;
|
|
242
248
|
width: 100vw;
|
|
@@ -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%;
|
|
@@ -1323,4 +1324,26 @@
|
|
|
1323
1324
|
left: 0;
|
|
1324
1325
|
z-index: 1;
|
|
1325
1326
|
opacity: 0;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
.tablesvp {
|
|
1330
|
+
width: 100%;
|
|
1331
|
+
height: var(--tablesvp-height);
|
|
1332
|
+
display: flex;
|
|
1333
|
+
flex-direction: column;
|
|
1334
|
+
}
|
|
1335
|
+
.tablesvp-main {
|
|
1336
|
+
display: flex;
|
|
1337
|
+
flex-direction: column;
|
|
1338
|
+
flex: 1;
|
|
1339
|
+
width: 100%;
|
|
1340
|
+
}
|
|
1341
|
+
.tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1342
|
+
display: none;
|
|
1343
|
+
}
|
|
1344
|
+
.tablesvp-paginat {
|
|
1345
|
+
overflow: hidden;
|
|
1346
|
+
}
|
|
1347
|
+
.tablesvp-paginat .el-pagination {
|
|
1348
|
+
justify-content: flex-end;
|
|
1326
1349
|
}
|
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;
|
|
@@ -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
|
@@ -31,8 +31,8 @@ function getPropsDefault(props, arr, getLocale) {
|
|
|
31
31
|
const keys = [];
|
|
32
32
|
const keyObj = {};
|
|
33
33
|
arr.forEach((v) => {
|
|
34
|
-
keys.push(v.
|
|
35
|
-
keyObj[v.
|
|
34
|
+
keys.push(v.prop);
|
|
35
|
+
keyObj[v.prop] = v;
|
|
36
36
|
});
|
|
37
37
|
return new Proxy(props, {
|
|
38
38
|
get(_target, k) {
|
|
@@ -3,7 +3,7 @@ import { MaybeRef } from '../../types/hooks';
|
|
|
3
3
|
import { ComputedRef, Ref } from 'vue';
|
|
4
4
|
export declare function buildTranslator(locale: MaybeRef<Locale>): Translator;
|
|
5
5
|
type PropsDefault = {
|
|
6
|
-
|
|
6
|
+
prop: string;
|
|
7
7
|
locale: string;
|
|
8
8
|
filter?: (locale: string) => string;
|
|
9
9
|
};
|
|
@@ -29,8 +29,8 @@ function getPropsDefault(props, arr, getLocale) {
|
|
|
29
29
|
const keys = [];
|
|
30
30
|
const keyObj = {};
|
|
31
31
|
arr.forEach((v) => {
|
|
32
|
-
keys.push(v.
|
|
33
|
-
keyObj[v.
|
|
32
|
+
keys.push(v.prop);
|
|
33
|
+
keyObj[v.prop] = v;
|
|
34
34
|
});
|
|
35
35
|
return new Proxy(props, {
|
|
36
36
|
get(_target, k) {
|