@funcho/ui 1.1.14 → 1.1.17
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/README.md +3 -0
- package/dist/cjs/business/DataTable/DataTable.vue.js +6 -0
- package/dist/cjs/business/EditFormCard/EditFormCard.vue.js +239 -0
- package/dist/cjs/business/EditFormCard/EditFormCard.vue3.js +10 -0
- package/dist/cjs/business/EditFormCard/index.js +12 -0
- package/dist/cjs/business/FormDialog/FormDialog.vue.js +129 -0
- package/dist/cjs/business/FormDialog/FormDialog.vue3.js +10 -0
- package/dist/cjs/business/FormDialog/index.js +12 -0
- package/dist/cjs/business/ProForm/ProForm.vue.js +45 -8
- package/dist/cjs/business/SidebarMainLayout/SidebarMainLayout.vue.js +1 -0
- package/dist/cjs/business/TreeCheckFilter/TreeCheckFilter.vue.js +1 -0
- package/dist/cjs/business/TreeTransfer/TreeTransfer.vue.js +1 -0
- package/dist/cjs/business/index.js +4 -0
- package/dist/cjs/components/Button/DangerButton.vue.js +2 -2
- package/dist/cjs/components/Cascader/Cascader.vue.js +3 -1
- package/dist/cjs/components/CheckboxGroup/CheckboxGroup.vue.js +3 -1
- package/dist/cjs/components/Dropdown/Dropdown.vue.js +3 -1
- package/dist/cjs/components/LovText/LovText.vue.js +61 -0
- package/dist/cjs/components/LovText/LovText.vue3.js +10 -0
- package/dist/cjs/components/LovText/index.js +12 -0
- package/dist/cjs/components/Radio/Radio.vue.js +3 -1
- package/dist/cjs/components/Select/Select.vue.js +3 -1
- package/dist/cjs/components/index.js +2 -0
- package/dist/cjs/index.js +22 -16
- package/dist/cjs/packages/ui/package.json.js +1 -1
- package/dist/esm/business/DataTable/DataTable.vue.mjs +6 -0
- package/dist/esm/business/EditFormCard/EditFormCard.vue.mjs +235 -0
- package/dist/esm/business/EditFormCard/EditFormCard.vue3.mjs +6 -0
- package/dist/esm/business/EditFormCard/index.mjs +7 -0
- package/dist/esm/business/FormDialog/FormDialog.vue.mjs +125 -0
- package/dist/esm/business/FormDialog/FormDialog.vue3.mjs +6 -0
- package/dist/esm/business/FormDialog/index.mjs +7 -0
- package/dist/esm/business/ProForm/ProForm.vue.mjs +46 -9
- package/dist/esm/business/SidebarMainLayout/SidebarMainLayout.vue.mjs +1 -0
- package/dist/esm/business/TreeCheckFilter/TreeCheckFilter.vue.mjs +1 -0
- package/dist/esm/business/TreeTransfer/TreeTransfer.vue.mjs +1 -0
- package/dist/esm/business/index.mjs +2 -0
- package/dist/esm/components/Button/DangerButton.vue.mjs +2 -2
- package/dist/esm/components/Cascader/Cascader.vue.mjs +3 -1
- package/dist/esm/components/CheckboxGroup/CheckboxGroup.vue.mjs +3 -1
- package/dist/esm/components/Dropdown/Dropdown.vue.mjs +3 -1
- package/dist/esm/components/LovText/LovText.vue.mjs +57 -0
- package/dist/esm/components/LovText/LovText.vue3.mjs +6 -0
- package/dist/esm/components/LovText/index.mjs +7 -0
- package/dist/esm/components/Radio/Radio.vue.mjs +3 -1
- package/dist/esm/components/Select/Select.vue.mjs +3 -1
- package/dist/esm/components/index.mjs +1 -0
- package/dist/esm/index.mjs +3 -0
- package/dist/esm/packages/ui/package.json.mjs +1 -1
- package/dist/style.css +14 -3
- package/dist/types/business/DataTable/DataTable.vue.d.ts +438 -1208
- package/dist/types/business/DataTable/index.d.ts +438 -1208
- package/dist/types/business/EditFormCard/EditFormCard.types.d.ts +1 -0
- package/dist/types/business/EditFormCard/EditFormCard.vue.d.ts +1169 -0
- package/dist/types/business/EditFormCard/index.d.ts +1569 -0
- package/dist/types/business/FormDialog/FormDialog.types.d.ts +1 -0
- package/dist/types/business/FormDialog/FormDialog.vue.d.ts +1006 -0
- package/dist/types/business/FormDialog/index.d.ts +1077 -0
- package/dist/types/business/ProForm/ProForm.types.d.ts +9 -0
- package/dist/types/business/ProForm/ProForm.vue.d.ts +37 -422
- package/dist/types/business/ProForm/index.d.ts +236 -1391
- package/dist/types/business/index.d.ts +2 -0
- package/dist/types/components/Cascader/Cascader.vue.d.ts +2 -0
- package/dist/types/components/Cascader/CascaderCheck.vue.d.ts +16 -2
- package/dist/types/components/Cascader/CascaderEnd.vue.d.ts +16 -2
- package/dist/types/components/Cascader/CascaderMultiple.vue.d.ts +16 -2
- package/dist/types/components/Cascader/index.d.ts +60 -3
- package/dist/types/components/CheckboxGroup/CheckboxGroup.vue.d.ts +2 -0
- package/dist/types/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/types/components/DatePicker/BzDatePicker.vue.d.ts +9 -1
- package/dist/types/components/DatePicker/DatePicker.vue.d.ts +4 -0
- package/dist/types/components/DatePicker/DatePickerRanger.vue.d.ts +27 -3
- package/dist/types/components/DatePicker/DateTimePicker.vue.d.ts +26 -2
- package/dist/types/components/DatePicker/DateTimePickerRanger.vue.d.ts +27 -3
- package/dist/types/components/DatePicker/index.d.ts +126 -10
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +2 -0
- package/dist/types/components/Dropdown/index.d.ts +6 -0
- package/dist/types/components/LovText/LovText.types.d.ts +1 -0
- package/dist/types/components/LovText/LovText.vue.d.ts +13 -0
- package/dist/types/components/LovText/index.d.ts +45 -0
- package/dist/types/components/Menu/Menu.vue.d.ts +4 -0
- package/dist/types/components/Menu/index.d.ts +12 -0
- package/dist/types/components/Radio/Radio.vue.d.ts +2 -0
- package/dist/types/components/Radio/index.d.ts +6 -0
- package/dist/types/components/Select/Select.vue.d.ts +2 -0
- package/dist/types/components/Select/SelectAllowCreateSelect.vue.d.ts +12 -2
- package/dist/types/components/Select/SelectMultiple.vue.d.ts +12 -2
- package/dist/types/components/Select/index.d.ts +18 -2
- package/dist/types/components/Table/Table.vue.d.ts +6 -6
- package/dist/types/components/Text/Text.vue.d.ts +1 -81
- package/dist/types/components/Text/index.d.ts +3 -243
- package/dist/types/components/TimePicker/TimePicker.vue.d.ts +4 -0
- package/dist/types/components/TimePicker/index.d.ts +12 -0
- package/dist/types/components/TreeSelect/TreeSelect.vue.d.ts +2 -500
- package/dist/types/components/TreeSelect/index.d.ts +27 -1521
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +6 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementBlock, Fragment, renderList, normalizeStyle, resolveDynamicComponent } from 'vue';
|
|
1
|
+
import { defineComponent, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementBlock, Fragment, renderList, normalizeStyle, createSlots, resolveDynamicComponent, createElementVNode, normalizeClass, createVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { useNamespace } from '../../hooks/use-namespace.mjs';
|
|
3
3
|
import '../../components/Button/index.mjs';
|
|
4
4
|
import '../../components/Dialog/index.mjs';
|
|
@@ -14,7 +14,7 @@ import '../../components/Select/index.mjs';
|
|
|
14
14
|
import '../../components/Option/index.mjs';
|
|
15
15
|
import '../../components/DatePicker/index.mjs';
|
|
16
16
|
import '../../components/DatePickerPanel/index.mjs';
|
|
17
|
-
import '../../components/Tooltip/index.mjs';
|
|
17
|
+
import { FcTooltip } from '../../components/Tooltip/index.mjs';
|
|
18
18
|
import '../../components/Icon/index.mjs';
|
|
19
19
|
import '../../components/Notification/index.mjs';
|
|
20
20
|
import '../../components/Link/index.mjs';
|
|
@@ -57,7 +57,7 @@ import '../../components/Breadcrumb/index.mjs';
|
|
|
57
57
|
import '../../components/BreadcrumbItem/index.mjs';
|
|
58
58
|
import '../../components/Drawer/index.mjs';
|
|
59
59
|
import '../../components/Popconfirm/index.mjs';
|
|
60
|
-
import '../../components/IconComponent/index.mjs';
|
|
60
|
+
import { FcIconComponent } from '../../components/IconComponent/index.mjs';
|
|
61
61
|
import '../../components/Popover/index.mjs';
|
|
62
62
|
import '../../components/Result/index.mjs';
|
|
63
63
|
import '../../components/Progress/index.mjs';
|
|
@@ -75,7 +75,10 @@ import '../../components/CollapseItem/index.mjs';
|
|
|
75
75
|
import '../../components/ContextMenu/index.mjs';
|
|
76
76
|
import '../../components/CodeEditor/index.mjs';
|
|
77
77
|
import '../../components/RichEditor/index.mjs';
|
|
78
|
+
import '../../components/LovText/index.mjs';
|
|
78
79
|
import { ComponentsMap } from './componentsMap.mjs';
|
|
80
|
+
import isPlainObject from '../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.mjs';
|
|
81
|
+
import cloneDeep from '../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.mjs';
|
|
79
82
|
|
|
80
83
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
81
84
|
...{
|
|
@@ -84,14 +87,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
87
|
__name: "ProForm",
|
|
85
88
|
props: {
|
|
86
89
|
inline: { type: Boolean, default: false },
|
|
90
|
+
columns: { default: "auto-fill" },
|
|
87
91
|
labelPosition: { default: "top" },
|
|
88
|
-
|
|
92
|
+
labelWidth: { default: "" },
|
|
93
|
+
fields: { default: () => [] },
|
|
94
|
+
rules: { default: () => ({}) }
|
|
89
95
|
},
|
|
90
96
|
setup(__props, { expose: __expose }) {
|
|
91
97
|
const ns = useNamespace("pro-form");
|
|
92
98
|
const formModel = ref({});
|
|
93
99
|
const setValues = (data) => {
|
|
94
|
-
|
|
100
|
+
if (isPlainObject(data)) {
|
|
101
|
+
formModel.value = cloneDeep(data || {});
|
|
102
|
+
} else {
|
|
103
|
+
console.warn("setValues 只能接受一个对象");
|
|
104
|
+
}
|
|
95
105
|
};
|
|
96
106
|
const getGridItemStyle = (item) => {
|
|
97
107
|
if (item.span === "full") {
|
|
@@ -147,7 +157,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
147
157
|
model: formModel.value,
|
|
148
158
|
class: { [unref(ns).e("container")]: true, [unref(ns).is("inline")]: __props.inline },
|
|
149
159
|
inline: __props.inline,
|
|
150
|
-
"label-position": __props.labelPosition
|
|
160
|
+
"label-position": __props.labelPosition,
|
|
161
|
+
"label-width": __props.labelWidth,
|
|
162
|
+
style: { "--grid-columns": __props.columns },
|
|
163
|
+
rules: __props.rules
|
|
151
164
|
}), {
|
|
152
165
|
default: withCtx(() => [
|
|
153
166
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fields, (item) => {
|
|
@@ -156,7 +169,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
156
169
|
label: item.label,
|
|
157
170
|
prop: item.prop,
|
|
158
171
|
style: normalizeStyle(getGridItemStyle(item))
|
|
159
|
-
}, {
|
|
172
|
+
}, createSlots({
|
|
160
173
|
default: withCtx(() => [
|
|
161
174
|
item.render ? (openBlock(), createBlock(resolveDynamicComponent(item.render(formModel.value, item.prop, item.label)), mergeProps({
|
|
162
175
|
key: 0,
|
|
@@ -179,11 +192,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
179
192
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"]))
|
|
180
193
|
]),
|
|
181
194
|
_: 2
|
|
182
|
-
},
|
|
195
|
+
}, [
|
|
196
|
+
item.tooltip ? {
|
|
197
|
+
name: "label",
|
|
198
|
+
fn: withCtx(() => [
|
|
199
|
+
createElementVNode("div", {
|
|
200
|
+
class: normalizeClass(unref(ns).e("label-with-tooltip"))
|
|
201
|
+
}, [
|
|
202
|
+
createElementVNode("span", null, toDisplayString(item.label), 1),
|
|
203
|
+
createVNode(unref(FcTooltip), {
|
|
204
|
+
content: item.tooltip,
|
|
205
|
+
placement: "top"
|
|
206
|
+
}, {
|
|
207
|
+
default: withCtx(() => [
|
|
208
|
+
createVNode(unref(FcIconComponent), {
|
|
209
|
+
name: "QuestionFilled",
|
|
210
|
+
size: 14
|
|
211
|
+
})
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 8, ["content"])
|
|
215
|
+
], 2)
|
|
216
|
+
]),
|
|
217
|
+
key: "0"
|
|
218
|
+
} : void 0
|
|
219
|
+
]), 1032, ["label", "prop", "style"]);
|
|
183
220
|
}), 128))
|
|
184
221
|
]),
|
|
185
222
|
_: 1
|
|
186
|
-
}, 16, ["model", "class", "inline", "label-position"]);
|
|
223
|
+
}, 16, ["model", "class", "inline", "label-position", "label-width", "style", "rules"]);
|
|
187
224
|
};
|
|
188
225
|
}
|
|
189
226
|
});
|
|
@@ -75,6 +75,7 @@ import '../../components/CollapseItem/index.mjs';
|
|
|
75
75
|
import '../../components/ContextMenu/index.mjs';
|
|
76
76
|
import '../../components/CodeEditor/index.mjs';
|
|
77
77
|
import '../../components/RichEditor/index.mjs';
|
|
78
|
+
import '../../components/LovText/index.mjs';
|
|
78
79
|
import { useNamespace } from '../../hooks/use-namespace.mjs';
|
|
79
80
|
|
|
80
81
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -75,6 +75,7 @@ import '../../components/CollapseItem/index.mjs';
|
|
|
75
75
|
import '../../components/ContextMenu/index.mjs';
|
|
76
76
|
import '../../components/CodeEditor/index.mjs';
|
|
77
77
|
import '../../components/RichEditor/index.mjs';
|
|
78
|
+
import '../../components/LovText/index.mjs';
|
|
78
79
|
import { Search } from '@funcho/icons-vue';
|
|
79
80
|
import { useElementSize } from '@vueuse/core';
|
|
80
81
|
|
|
@@ -77,6 +77,7 @@ import '../../components/CollapseItem/index.mjs';
|
|
|
77
77
|
import '../../components/ContextMenu/index.mjs';
|
|
78
78
|
import '../../components/CodeEditor/index.mjs';
|
|
79
79
|
import '../../components/RichEditor/index.mjs';
|
|
80
|
+
import '../../components/LovText/index.mjs';
|
|
80
81
|
|
|
81
82
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
82
83
|
...{
|
|
@@ -3,3 +3,5 @@ export { FcProDataTable } from './DataTable/index.mjs';
|
|
|
3
3
|
export { FcProForm } from './ProForm/index.mjs';
|
|
4
4
|
export { FcProTreeCheckFilter } from './TreeCheckFilter/index.mjs';
|
|
5
5
|
export { FcProTreeTransfer } from './TreeTransfer/index.mjs';
|
|
6
|
+
export { FcProEditFormCard } from './EditFormCard/index.mjs';
|
|
7
|
+
export { FcProFormDialog } from './FormDialog/index.mjs';
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
createVNode(_sfc_main$2, mergeProps(_ctx.$attrs, {
|
|
39
39
|
ref: "elRef",
|
|
40
40
|
type: "danger",
|
|
41
|
-
link:
|
|
41
|
+
link: __props.link
|
|
42
42
|
}), createSlots({ _: 2 }, [
|
|
43
43
|
renderList(_ctx.$slots, (_, name) => {
|
|
44
44
|
return {
|
|
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
])
|
|
49
49
|
};
|
|
50
50
|
})
|
|
51
|
-
]), 1040)
|
|
51
|
+
]), 1040, ["link"])
|
|
52
52
|
]),
|
|
53
53
|
_: 3
|
|
54
54
|
}, 8, ["title"])
|
|
@@ -16,6 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
filterable: { type: Boolean, default: true },
|
|
17
17
|
collapseTags: { type: Boolean, default: true },
|
|
18
18
|
collapseTagsTooltip: { type: Boolean, default: true },
|
|
19
|
+
isSql: { type: Boolean, default: false },
|
|
19
20
|
tagType: { default: "primary" }
|
|
20
21
|
},
|
|
21
22
|
setup(__props, { expose: __expose }) {
|
|
@@ -30,7 +31,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
31
|
try {
|
|
31
32
|
const context = {
|
|
32
33
|
lovId: props.lovId,
|
|
33
|
-
isUpdateLovOptions: props.isUpdateLovOptions
|
|
34
|
+
isUpdateLovOptions: props.isUpdateLovOptions,
|
|
35
|
+
isSql: props.isSql
|
|
34
36
|
};
|
|
35
37
|
lovIdOptions.value = await config.requestHandler(context);
|
|
36
38
|
} catch (error) {
|
|
@@ -13,6 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
__name: "CheckboxGroup",
|
|
14
14
|
props: /* @__PURE__ */ mergeModels({
|
|
15
15
|
lovId: { default: "" },
|
|
16
|
+
isSql: { type: Boolean, default: false },
|
|
16
17
|
isUpdateLovOptions: { type: Boolean, default: false },
|
|
17
18
|
hasIndeterminate: { type: Boolean, default: false },
|
|
18
19
|
options: { default: () => [] },
|
|
@@ -47,7 +48,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
48
|
try {
|
|
48
49
|
const context = {
|
|
49
50
|
lovId: myProps.lovId,
|
|
50
|
-
isUpdateLovOptions: myProps.isUpdateLovOptions
|
|
51
|
+
isUpdateLovOptions: myProps.isUpdateLovOptions,
|
|
52
|
+
isSql: myProps.isSql
|
|
51
53
|
};
|
|
52
54
|
lovIdOptions.value = await config.requestHandler(context);
|
|
53
55
|
} catch (error) {
|
|
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
__name: "Dropdown",
|
|
18
18
|
props: /* @__PURE__ */ mergeModels({
|
|
19
19
|
lovId: { default: "" },
|
|
20
|
+
isSql: { type: Boolean, default: false },
|
|
20
21
|
isUpdateLovOptions: { type: Boolean, default: false },
|
|
21
22
|
options: { default: () => [] },
|
|
22
23
|
maxHeight: { default: 320 },
|
|
@@ -56,7 +57,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
57
|
try {
|
|
57
58
|
const context = {
|
|
58
59
|
lovId: props.lovId,
|
|
59
|
-
isUpdateLovOptions: props.isUpdateLovOptions
|
|
60
|
+
isUpdateLovOptions: props.isUpdateLovOptions,
|
|
61
|
+
isSql: props.isSql
|
|
60
62
|
};
|
|
61
63
|
lovIdOptions.value = await config.requestHandler(context);
|
|
62
64
|
} catch (error) {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent, inject, ref, watch, onMounted, computed, createElementBlock, openBlock, toDisplayString } from 'vue';
|
|
2
|
+
import { FC_LOVID_REQUEST_CONFIG_KEY } from '../../config/lovId-request-provide.mjs';
|
|
3
|
+
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
...{
|
|
6
|
+
name: "FcLovText"
|
|
7
|
+
},
|
|
8
|
+
__name: "LovText",
|
|
9
|
+
props: {
|
|
10
|
+
lovId: { default: "" },
|
|
11
|
+
value: { default: null },
|
|
12
|
+
isSql: { type: Boolean, default: false },
|
|
13
|
+
isUpdateLovOptions: { type: Boolean, default: false }
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const config = inject(FC_LOVID_REQUEST_CONFIG_KEY, {});
|
|
17
|
+
const props = __props;
|
|
18
|
+
const lovIdLoading = ref(false);
|
|
19
|
+
const lovIdOptions = ref([]);
|
|
20
|
+
const loadData = async () => {
|
|
21
|
+
if (!props.lovId || !config.requestHandler) return;
|
|
22
|
+
lovIdLoading.value = true;
|
|
23
|
+
try {
|
|
24
|
+
const context = {
|
|
25
|
+
lovId: props.lovId,
|
|
26
|
+
isUpdateLovOptions: props.isUpdateLovOptions,
|
|
27
|
+
isSql: props.isSql
|
|
28
|
+
};
|
|
29
|
+
lovIdOptions.value = await config.requestHandler(context);
|
|
30
|
+
} finally {
|
|
31
|
+
lovIdLoading.value = false;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
watch(
|
|
35
|
+
() => props.lovId,
|
|
36
|
+
(newId) => {
|
|
37
|
+
lovIdOptions.value = [];
|
|
38
|
+
if (newId) {
|
|
39
|
+
loadData();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
onMounted(() => {
|
|
44
|
+
if (props.lovId) loadData();
|
|
45
|
+
});
|
|
46
|
+
const displayText = computed(() => {
|
|
47
|
+
if (!props.value) return "";
|
|
48
|
+
const matched = lovIdOptions.value.find((opt) => opt.value === props.value);
|
|
49
|
+
return matched ? matched.label : props.value;
|
|
50
|
+
});
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
return openBlock(), createElementBlock("span", null, toDisplayString(displayText.value), 1);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export { _sfc_main as default };
|
|
@@ -10,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
__name: "Radio",
|
|
11
11
|
props: {
|
|
12
12
|
lovId: { default: "" },
|
|
13
|
+
isSql: { type: Boolean, default: false },
|
|
13
14
|
isUpdateLovOptions: { type: Boolean, default: false },
|
|
14
15
|
options: { default: () => [] }
|
|
15
16
|
},
|
|
@@ -25,7 +26,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
26
|
try {
|
|
26
27
|
const context = {
|
|
27
28
|
lovId: props.lovId,
|
|
28
|
-
isUpdateLovOptions: props.isUpdateLovOptions
|
|
29
|
+
isUpdateLovOptions: props.isUpdateLovOptions,
|
|
30
|
+
isSql: props.isSql
|
|
29
31
|
};
|
|
30
32
|
lovIdOptions.value = await config.requestHandler(context);
|
|
31
33
|
} catch (error) {
|
|
@@ -10,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
__name: "Select",
|
|
11
11
|
props: {
|
|
12
12
|
lovId: { default: "" },
|
|
13
|
+
isSql: { type: Boolean, default: false },
|
|
13
14
|
loading: { type: Boolean, default: false },
|
|
14
15
|
isUpdateLovOptions: { type: Boolean, default: false },
|
|
15
16
|
options: { default: () => [] },
|
|
@@ -34,7 +35,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
try {
|
|
35
36
|
const context = {
|
|
36
37
|
lovId: props.lovId,
|
|
37
|
-
isUpdateLovOptions: props.isUpdateLovOptions
|
|
38
|
+
isUpdateLovOptions: props.isUpdateLovOptions,
|
|
39
|
+
isSql: props.isSql
|
|
38
40
|
};
|
|
39
41
|
lovIdOptions.value = await config.requestHandler(context);
|
|
40
42
|
} finally {
|
|
@@ -76,5 +76,6 @@ export { FcCollapseItem } from './CollapseItem/index.mjs';
|
|
|
76
76
|
export { FcContextMenu } from './ContextMenu/index.mjs';
|
|
77
77
|
export { FcCodeEditor, FcCodeEditorInput } from './CodeEditor/index.mjs';
|
|
78
78
|
export { FcRichEditor, FcRichEditorInput } from './RichEditor/index.mjs';
|
|
79
|
+
export { FcLovText } from './LovText/index.mjs';
|
|
79
80
|
export { default as FcLoadingDirective, default as vLoading } from '../node_modules/.pnpm/element-plus@2.13.5_patch_hash_415fe9eaeb4c26121ef1304c7dfbfaa75441fcd0d7ca1a8beb1acd12_87ac520f28bb40f5a8b03aa48269c150/node_modules/element-plus/es/components/loading/src/directive.mjs';
|
|
80
81
|
export { default as FcLoadingService } from '../node_modules/.pnpm/element-plus@2.13.5_patch_hash_415fe9eaeb4c26121ef1304c7dfbfaa75441fcd0d7ca1a8beb1acd12_87ac520f28bb40f5a8b03aa48269c150/node_modules/element-plus/es/components/loading/src/service.mjs';
|
package/dist/esm/index.mjs
CHANGED
|
@@ -84,11 +84,14 @@ export { FcCollapseItem } from './components/CollapseItem/index.mjs';
|
|
|
84
84
|
export { FcContextMenu } from './components/ContextMenu/index.mjs';
|
|
85
85
|
export { FcCodeEditor, FcCodeEditorInput } from './components/CodeEditor/index.mjs';
|
|
86
86
|
export { FcRichEditor, FcRichEditorInput } from './components/RichEditor/index.mjs';
|
|
87
|
+
export { FcLovText } from './components/LovText/index.mjs';
|
|
87
88
|
export { FcProSidebarMainLayout } from './business/SidebarMainLayout/index.mjs';
|
|
88
89
|
export { FcProDataTable } from './business/DataTable/index.mjs';
|
|
89
90
|
export { FcProForm } from './business/ProForm/index.mjs';
|
|
90
91
|
export { FcProTreeCheckFilter } from './business/TreeCheckFilter/index.mjs';
|
|
91
92
|
export { FcProTreeTransfer } from './business/TreeTransfer/index.mjs';
|
|
93
|
+
export { FcProEditFormCard } from './business/EditFormCard/index.mjs';
|
|
94
|
+
export { FcProFormDialog } from './business/FormDialog/index.mjs';
|
|
92
95
|
|
|
93
96
|
const components = Object.keys(index$1).map((key) => {
|
|
94
97
|
return index$1[key];
|
package/dist/style.css
CHANGED
|
@@ -12783,7 +12783,7 @@
|
|
|
12783
12783
|
.fc-ui-table {
|
|
12784
12784
|
--fc-ui-table-border-color: var(--fc-ui-border-color-lighter);
|
|
12785
12785
|
--fc-ui-table-border: 1px solid var(--fc-ui-table-border-color);
|
|
12786
|
-
--fc-ui-table-text-color:
|
|
12786
|
+
--fc-ui-table-text-color: #181818;
|
|
12787
12787
|
--fc-ui-table-header-text-color: var(--fc-ui-text-color-secondary);
|
|
12788
12788
|
--fc-ui-table-row-hover-bg-color: var(--fc-ui-fill-color-light);
|
|
12789
12789
|
--fc-ui-table-current-row-bg-color: var(--fc-ui-color-primary-light-9);
|
|
@@ -13400,7 +13400,7 @@
|
|
|
13400
13400
|
.fc-ui-table-v2 {
|
|
13401
13401
|
--fc-ui-table-border-color: var(--fc-ui-border-color-lighter);
|
|
13402
13402
|
--fc-ui-table-border: 1px solid var(--fc-ui-table-border-color);
|
|
13403
|
-
--fc-ui-table-text-color:
|
|
13403
|
+
--fc-ui-table-text-color: #181818;
|
|
13404
13404
|
--fc-ui-table-header-text-color: var(--fc-ui-text-color-secondary);
|
|
13405
13405
|
--fc-ui-table-row-hover-bg-color: var(--fc-ui-fill-color-light);
|
|
13406
13406
|
--fc-ui-table-current-row-bg-color: var(--fc-ui-color-primary-light-9);
|
|
@@ -17063,11 +17063,20 @@ to {
|
|
|
17063
17063
|
--fc-ui-border-color-light: transparent;
|
|
17064
17064
|
}.fc-mkui-pro-form__container.is-inline {
|
|
17065
17065
|
display: grid;
|
|
17066
|
-
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
17066
|
+
grid-template-columns: repeat(var(--grid-columns, auto-fill), minmax(220px, 1fr));
|
|
17067
17067
|
column-gap: 24px;
|
|
17068
17068
|
}
|
|
17069
17069
|
.fc-mkui-pro-form__container.is-inline .fc-ui-form-item {
|
|
17070
17070
|
margin-right: 0;
|
|
17071
|
+
}
|
|
17072
|
+
.fc-mkui-pro-form__container .fc-mkui-pro-form__label-with-tooltip {
|
|
17073
|
+
display: inline-flex;
|
|
17074
|
+
align-items: center;
|
|
17075
|
+
gap: 2px;
|
|
17076
|
+
}
|
|
17077
|
+
.fc-mkui-pro-form__container .fc-mkui-pro-form__label-with-tooltip .fc-ui-icon {
|
|
17078
|
+
color: #7a7a7a;
|
|
17079
|
+
cursor: pointer;
|
|
17071
17080
|
}.fc-mkui-data-table {
|
|
17072
17081
|
height: 100%;
|
|
17073
17082
|
}
|
|
@@ -17197,4 +17206,6 @@ to {
|
|
|
17197
17206
|
.fc-mkui-pro-tree-transfer__center .fc-mkui-pro-tree-transfer__left:hover {
|
|
17198
17207
|
background: #f5f7fa;
|
|
17199
17208
|
cursor: pointer;
|
|
17209
|
+
}.fc-mkui-form-dialog__body {
|
|
17210
|
+
padding-bottom: 0;
|
|
17200
17211
|
}
|