@fmdeui/fmui 1.0.135 → 1.0.137
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/es/hooks/limitsFunction.d.ts +4 -4
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +39 -29
- package/es/packages/hooks/limitsFunction.mjs +8 -8
- package/index.js +48 -38
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +48 -38
- package/lib/hooks/limitsFunction.d.ts +4 -4
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +39 -29
- package/lib/packages/hooks/limitsFunction.js +8 -8
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{component.css → make-installer.css} +0 -0
- /package/lib/{defaults.css → index.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.137 */
|
|
2
2
|
import VxeUITable from 'vxe-table';
|
|
3
3
|
import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
|
|
4
4
|
import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
|
|
@@ -21117,11 +21117,11 @@ function getlimit(value) {
|
|
|
21117
21117
|
if (matched) return matched.limit;
|
|
21118
21118
|
return null;
|
|
21119
21119
|
}
|
|
21120
|
-
function getRules(field, msg) {
|
|
21120
|
+
function getRules(field, msg, flag = "main") {
|
|
21121
21121
|
var _a, _b, _c, _d;
|
|
21122
21122
|
const stores = useUserInfo();
|
|
21123
21123
|
const route = useRoute();
|
|
21124
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
21124
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
21125
21125
|
let rels = [];
|
|
21126
21126
|
if (ItemField) {
|
|
21127
21127
|
if (ItemField.isRequired == 1)
|
|
@@ -21131,31 +21131,31 @@ function getRules(field, msg) {
|
|
|
21131
21131
|
}
|
|
21132
21132
|
return rels;
|
|
21133
21133
|
}
|
|
21134
|
-
function getFormItemProp(field) {
|
|
21134
|
+
function getFormItemProp(field, flag = "main") {
|
|
21135
21135
|
var _a, _b, _c, _d;
|
|
21136
21136
|
const stores = useUserInfo();
|
|
21137
21137
|
const route = useRoute();
|
|
21138
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
21138
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
21139
21139
|
if (ItemField) {
|
|
21140
21140
|
return ItemField.isRequired == 1 || ItemField.isFromValid > 0 ? field : "";
|
|
21141
21141
|
}
|
|
21142
21142
|
return "";
|
|
21143
21143
|
}
|
|
21144
|
-
function getFormItemLabel(field, defaultValue) {
|
|
21144
|
+
function getFormItemLabel(field, defaultValue, flag = "main") {
|
|
21145
21145
|
var _a, _b, _c, _d;
|
|
21146
21146
|
const stores = useUserInfo();
|
|
21147
21147
|
const route = useRoute();
|
|
21148
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
21148
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
21149
21149
|
if (ItemField) {
|
|
21150
21150
|
return ItemField.title && ItemField.title != "" ? ItemField.title : defaultValue;
|
|
21151
21151
|
}
|
|
21152
21152
|
return defaultValue;
|
|
21153
21153
|
}
|
|
21154
|
-
function showTabelColumn(field) {
|
|
21154
|
+
function showTabelColumn(field, flag = "main") {
|
|
21155
21155
|
var _a, _b, _c, _d;
|
|
21156
21156
|
const stores = useUserInfo();
|
|
21157
21157
|
const route = useRoute();
|
|
21158
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
21158
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
21159
21159
|
if (ItemField) {
|
|
21160
21160
|
if (ItemField.isTable == 1)
|
|
21161
21161
|
return true;
|
|
@@ -27969,6 +27969,12 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27969
27969
|
const handledbclick = (row) => {
|
|
27970
27970
|
handleSelectUser(row);
|
|
27971
27971
|
};
|
|
27972
|
+
const loadSub = async (row, treeNode, resolve) => {
|
|
27973
|
+
var _a, _b, _c;
|
|
27974
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
27975
|
+
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
27976
|
+
resolve((_c = row.children) != null ? _c : []);
|
|
27977
|
+
};
|
|
27972
27978
|
const handleSizeChange = (val) => {
|
|
27973
27979
|
state.queryParams.pageSize = val;
|
|
27974
27980
|
handleQuery();
|
|
@@ -27989,8 +27995,8 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27989
27995
|
const _component_el_button = resolveComponent("el-button");
|
|
27990
27996
|
const _component_el_button_group = resolveComponent("el-button-group");
|
|
27991
27997
|
const _component_el_form = resolveComponent("el-form");
|
|
27992
|
-
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
27993
27998
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
27999
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
27994
28000
|
const _component_el_table = resolveComponent("el-table");
|
|
27995
28001
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
27996
28002
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -28127,36 +28133,13 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28127
28133
|
ref: "refTable",
|
|
28128
28134
|
data: userList.value,
|
|
28129
28135
|
style: { "height": "calc(70vh - 96px)" },
|
|
28136
|
+
"row-key": "id",
|
|
28137
|
+
lazy: "",
|
|
28138
|
+
load: loadSub,
|
|
28139
|
+
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
28130
28140
|
onRowDblclick: handledbclick
|
|
28131
28141
|
}, {
|
|
28132
28142
|
default: withCtx(() => [
|
|
28133
|
-
createVNode(_component_el_table_column, {
|
|
28134
|
-
label: "\u64CD\u4F5C",
|
|
28135
|
-
width: "60",
|
|
28136
|
-
align: "center"
|
|
28137
|
-
}, {
|
|
28138
|
-
default: withCtx((scope) => [
|
|
28139
|
-
createVNode(_component_el_button, {
|
|
28140
|
-
link: "",
|
|
28141
|
-
type: "primary",
|
|
28142
|
-
onClick: ($event) => handleSelectUser(scope.row)
|
|
28143
|
-
}, {
|
|
28144
|
-
default: withCtx(() => [
|
|
28145
|
-
createVNode(_component_el_icon, null, {
|
|
28146
|
-
default: withCtx(() => [
|
|
28147
|
-
createVNode(_component_ele_Plus)
|
|
28148
|
-
]),
|
|
28149
|
-
_: 1
|
|
28150
|
-
/* STABLE */
|
|
28151
|
-
})
|
|
28152
|
-
]),
|
|
28153
|
-
_: 1
|
|
28154
|
-
/* STABLE */
|
|
28155
|
-
}, 8, ["onClick"])
|
|
28156
|
-
]),
|
|
28157
|
-
_: 1
|
|
28158
|
-
/* STABLE */
|
|
28159
|
-
}),
|
|
28160
28143
|
createVNode(_component_el_table_column, {
|
|
28161
28144
|
label: _ctx.$t("\u540D\u79F0"),
|
|
28162
28145
|
prop: "supplierName",
|
|
@@ -28219,7 +28202,34 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28219
28202
|
}),
|
|
28220
28203
|
_: 1
|
|
28221
28204
|
/* STABLE */
|
|
28222
|
-
}, 8, ["label"])
|
|
28205
|
+
}, 8, ["label"]),
|
|
28206
|
+
createVNode(_component_el_table_column, {
|
|
28207
|
+
label: "\u64CD\u4F5C",
|
|
28208
|
+
width: "60",
|
|
28209
|
+
align: "center"
|
|
28210
|
+
}, {
|
|
28211
|
+
default: withCtx((scope) => [
|
|
28212
|
+
createVNode(_component_el_button, {
|
|
28213
|
+
link: "",
|
|
28214
|
+
type: "primary",
|
|
28215
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
28216
|
+
}, {
|
|
28217
|
+
default: withCtx(() => [
|
|
28218
|
+
createVNode(_component_el_icon, null, {
|
|
28219
|
+
default: withCtx(() => [
|
|
28220
|
+
createVNode(_component_ele_Plus)
|
|
28221
|
+
]),
|
|
28222
|
+
_: 1
|
|
28223
|
+
/* STABLE */
|
|
28224
|
+
})
|
|
28225
|
+
]),
|
|
28226
|
+
_: 1
|
|
28227
|
+
/* STABLE */
|
|
28228
|
+
}, 8, ["onClick"])
|
|
28229
|
+
]),
|
|
28230
|
+
_: 1
|
|
28231
|
+
/* STABLE */
|
|
28232
|
+
})
|
|
28223
28233
|
]),
|
|
28224
28234
|
_: 1
|
|
28225
28235
|
/* STABLE */
|
|
@@ -5,26 +5,26 @@ export declare function getlimit(value: string): any;
|
|
|
5
5
|
* @param msg 验证提示
|
|
6
6
|
* @returns 验证规则
|
|
7
7
|
*/
|
|
8
|
-
export declare function getRules(field: string, msg: string): string;
|
|
8
|
+
export declare function getRules(field: string, msg: string, flag?: string): string;
|
|
9
9
|
/**
|
|
10
10
|
* 获取表单字段属性
|
|
11
11
|
* @param field 表单字段
|
|
12
12
|
* @returns 表单字段属性
|
|
13
13
|
*/
|
|
14
|
-
export declare function getFormItemProp(field: string): string;
|
|
14
|
+
export declare function getFormItemProp(field: string, flag?: string): string;
|
|
15
15
|
/**
|
|
16
16
|
* 获取表单字段标签
|
|
17
17
|
* @param field 表单字段
|
|
18
18
|
* @param defaultValue 默认值
|
|
19
19
|
* @returns 表单字段标签
|
|
20
20
|
*/
|
|
21
|
-
export declare function getFormItemLabel(field: string, defaultValue: string): string;
|
|
21
|
+
export declare function getFormItemLabel(field: string, defaultValue: string, flag?: string): string;
|
|
22
22
|
/**
|
|
23
23
|
* 获取表格字段是否显示
|
|
24
24
|
* @param field 表格字段
|
|
25
25
|
* @returns 表格字段是否显示
|
|
26
26
|
*/
|
|
27
|
-
export declare function showTabelColumn(field: string): boolean;
|
|
27
|
+
export declare function showTabelColumn(field: string, flag?: string): boolean;
|
|
28
28
|
export declare function getSubFormFields(flag: string): any;
|
|
29
29
|
export declare function getShowColumn(flag: string, field: string): boolean;
|
|
30
30
|
export declare function getShowColumnWidth(flag: string, field: string, defaultValue?: string, isJson?: boolean): any;
|
|
@@ -84,6 +84,12 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
84
84
|
const handledbclick = (row) => {
|
|
85
85
|
handleSelectUser(row);
|
|
86
86
|
};
|
|
87
|
+
const loadSub = async (row, treeNode, resolve) => {
|
|
88
|
+
var _a, _b, _c;
|
|
89
|
+
let res = await index.useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
90
|
+
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
91
|
+
resolve((_c = row.children) != null ? _c : []);
|
|
92
|
+
};
|
|
87
93
|
const handleSizeChange = (val) => {
|
|
88
94
|
state.queryParams.pageSize = val;
|
|
89
95
|
handleQuery();
|
|
@@ -104,8 +110,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
104
110
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
105
111
|
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
106
112
|
const _component_el_form = vue.resolveComponent("el-form");
|
|
107
|
-
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
108
113
|
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
114
|
+
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
109
115
|
const _component_el_table = vue.resolveComponent("el-table");
|
|
110
116
|
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
111
117
|
const _component_el_card = vue.resolveComponent("el-card");
|
|
@@ -242,36 +248,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
242
248
|
ref: "refTable",
|
|
243
249
|
data: userList.value,
|
|
244
250
|
style: { "height": "calc(70vh - 96px)" },
|
|
251
|
+
"row-key": "id",
|
|
252
|
+
lazy: "",
|
|
253
|
+
load: loadSub,
|
|
254
|
+
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
245
255
|
onRowDblclick: handledbclick
|
|
246
256
|
}, {
|
|
247
257
|
default: vue.withCtx(() => [
|
|
248
|
-
vue.createVNode(_component_el_table_column, {
|
|
249
|
-
label: "\u64CD\u4F5C",
|
|
250
|
-
width: "60",
|
|
251
|
-
align: "center"
|
|
252
|
-
}, {
|
|
253
|
-
default: vue.withCtx((scope) => [
|
|
254
|
-
vue.createVNode(_component_el_button, {
|
|
255
|
-
link: "",
|
|
256
|
-
type: "primary",
|
|
257
|
-
onClick: ($event) => handleSelectUser(scope.row)
|
|
258
|
-
}, {
|
|
259
|
-
default: vue.withCtx(() => [
|
|
260
|
-
vue.createVNode(_component_el_icon, null, {
|
|
261
|
-
default: vue.withCtx(() => [
|
|
262
|
-
vue.createVNode(_component_ele_Plus)
|
|
263
|
-
]),
|
|
264
|
-
_: 1
|
|
265
|
-
/* STABLE */
|
|
266
|
-
})
|
|
267
|
-
]),
|
|
268
|
-
_: 1
|
|
269
|
-
/* STABLE */
|
|
270
|
-
}, 8, ["onClick"])
|
|
271
|
-
]),
|
|
272
|
-
_: 1
|
|
273
|
-
/* STABLE */
|
|
274
|
-
}),
|
|
275
258
|
vue.createVNode(_component_el_table_column, {
|
|
276
259
|
label: _ctx.$t("\u540D\u79F0"),
|
|
277
260
|
prop: "supplierName",
|
|
@@ -334,7 +317,34 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
334
317
|
}),
|
|
335
318
|
_: 1
|
|
336
319
|
/* STABLE */
|
|
337
|
-
}, 8, ["label"])
|
|
320
|
+
}, 8, ["label"]),
|
|
321
|
+
vue.createVNode(_component_el_table_column, {
|
|
322
|
+
label: "\u64CD\u4F5C",
|
|
323
|
+
width: "60",
|
|
324
|
+
align: "center"
|
|
325
|
+
}, {
|
|
326
|
+
default: vue.withCtx((scope) => [
|
|
327
|
+
vue.createVNode(_component_el_button, {
|
|
328
|
+
link: "",
|
|
329
|
+
type: "primary",
|
|
330
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
331
|
+
}, {
|
|
332
|
+
default: vue.withCtx(() => [
|
|
333
|
+
vue.createVNode(_component_el_icon, null, {
|
|
334
|
+
default: vue.withCtx(() => [
|
|
335
|
+
vue.createVNode(_component_ele_Plus)
|
|
336
|
+
]),
|
|
337
|
+
_: 1
|
|
338
|
+
/* STABLE */
|
|
339
|
+
})
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
/* STABLE */
|
|
343
|
+
}, 8, ["onClick"])
|
|
344
|
+
]),
|
|
345
|
+
_: 1
|
|
346
|
+
/* STABLE */
|
|
347
|
+
})
|
|
338
348
|
]),
|
|
339
349
|
_: 1
|
|
340
350
|
/* STABLE */
|
|
@@ -10,11 +10,11 @@ function getlimit(value) {
|
|
|
10
10
|
if (matched) return matched.limit;
|
|
11
11
|
return null;
|
|
12
12
|
}
|
|
13
|
-
function getRules(field, msg) {
|
|
13
|
+
function getRules(field, msg, flag = "main") {
|
|
14
14
|
var _a, _b, _c, _d;
|
|
15
15
|
const stores = userInfo.useUserInfo();
|
|
16
16
|
const route = vueRouter.useRoute();
|
|
17
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
17
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
18
18
|
let rels = [];
|
|
19
19
|
if (ItemField) {
|
|
20
20
|
if (ItemField.isRequired == 1)
|
|
@@ -24,31 +24,31 @@ function getRules(field, msg) {
|
|
|
24
24
|
}
|
|
25
25
|
return rels;
|
|
26
26
|
}
|
|
27
|
-
function getFormItemProp(field) {
|
|
27
|
+
function getFormItemProp(field, flag = "main") {
|
|
28
28
|
var _a, _b, _c, _d;
|
|
29
29
|
const stores = userInfo.useUserInfo();
|
|
30
30
|
const route = vueRouter.useRoute();
|
|
31
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
31
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
32
32
|
if (ItemField) {
|
|
33
33
|
return ItemField.isRequired == 1 || ItemField.isFromValid > 0 ? field : "";
|
|
34
34
|
}
|
|
35
35
|
return "";
|
|
36
36
|
}
|
|
37
|
-
function getFormItemLabel(field, defaultValue) {
|
|
37
|
+
function getFormItemLabel(field, defaultValue, flag = "main") {
|
|
38
38
|
var _a, _b, _c, _d;
|
|
39
39
|
const stores = userInfo.useUserInfo();
|
|
40
40
|
const route = vueRouter.useRoute();
|
|
41
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
41
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
42
42
|
if (ItemField) {
|
|
43
43
|
return ItemField.title && ItemField.title != "" ? ItemField.title : defaultValue;
|
|
44
44
|
}
|
|
45
45
|
return defaultValue;
|
|
46
46
|
}
|
|
47
|
-
function showTabelColumn(field) {
|
|
47
|
+
function showTabelColumn(field, flag = "main") {
|
|
48
48
|
var _a, _b, _c, _d;
|
|
49
49
|
const stores = userInfo.useUserInfo();
|
|
50
50
|
const route = vueRouter.useRoute();
|
|
51
|
-
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag ===
|
|
51
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
52
52
|
if (ItemField) {
|
|
53
53
|
if (ItemField.isTable == 1)
|
|
54
54
|
return true;
|
package/locale/en.js
CHANGED
package/locale/en.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.137 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.fmdeuiPlusLocaleEn=t())})(this,(function(){"use strict";var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};return e}));
|
package/locale/en.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.137 */var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};export{e as default};
|
package/locale/en.mjs
CHANGED
package/locale/zh-cn.js
CHANGED
package/locale/zh-cn.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.137 */(function(u,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(u=typeof globalThis!="undefined"?globalThis:u||self,u.fmdeuiPlusLocaleZhCn=e())})(this,(function(){"use strict";var u={name:"zh-cn",plus:{datepicker:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",dates:"\u8BF7\u9009\u62E9\u65E5\u671F",week:"\u8BF7\u9009\u62E9\u5468",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",months:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",years:"\u8BF7\u9009\u62E9\u5E74\u4EFD",startDatePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",endDatePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",datetime:"\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",startMonthPlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u6708\u4EFD",endMonthPlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u6708\u4EFD",startTimePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",endTimePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",shortcutsDate:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDaterange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"},shortcutsMonthrange:{thisMonth:"\u672C\u6708",thisYear:"\u4ECA\u5E74\u81F3\u4ECA",pastSixMonths:"\u6700\u8FD1\u516D\u4E2A\u6708"},shortcutsDatetime:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDatetimerange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"}},form:{pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9"},input:{placeholder:"\u8BF7\u8F93\u5165",appendTitle:"\u5143",validatePhone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801",validateIdCard:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",validateInteger:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6574\u6570",format:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684",amount:"\u91D1\u989D",numbers:"\u6570\u5B57",digitUppercase:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u91D1\u989D\u683C\u5F0F",validateError:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u683C\u5F0F",escaped:{0:"\u89D2",1:"\u5206",2:"\u96F6",3:"\u58F9",4:"\u8D30",5:"\u53C1",6:"\u8086",7:"\u4F0D",8:"\u9646",9:"\u67D2",10:"\u634C",11:"\u7396",12:"\u5143",13:"\u4E07",14:"\u4EBF",15:"\u5146",16:"\u62FE",17:"\u4F70",18:"\u4EDF",19:"\u6B20",20:"\u6574"}},moduleForm:{save:"\u4FDD\u5B58",back:"\u8FD4\u56DE"},search:{searchText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E",expand:"\u5C55\u5F00",retract:"\u6536\u8D77",pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",popoverAttrs:{showTxt:"\u66F4\u591A",title:"\u6240\u6709\u6761\u4EF6",allTxt:"\u5168\u9009",reverseTxt:"\u53CD\u9009",clearTxt:"\u6E05\u7A7A"}},select:{selectAllTxt:"\u5168\u9009"},selectIcon:{placeholder:"\u8BF7\u9009\u62E9\u56FE\u6807",dialogTitle:"\u8BF7\u9009\u62E9\u56FE\u6807",searchPlaceholder:"\u641C\u7D22\u56FE\u6807",emptyDescription:"\u672A\u641C\u7D22\u5230\u60A8\u8981\u627E\u7684\u56FE\u6807"},copy:{copySuccess:"\u590D\u5236\u6210\u529F",copyFail:"\u590D\u5236\u5931\u8D25",invalidCopyContent:"\u65E0\u6548\u7684\u590D\u5236\u5185\u5BB9"},selectTable:{searchBtnTxt:"\u5173\u95ED\u4E0B\u62C9\u6846",radioTxt:"\u5355\u9009",loadingTxt:"\u52A0\u8F7D\u4E2D..."},stepWizard:{lastBtnTitle:"\u5B8C\u6210"},table:{columnBind:{btnTxt:"\u5217\u8BBE\u7F6E",title:"\u5217\u8BBE\u7F6E"},fistColumn:{label:"\u5E8F\u53F7",radio:"\u5355\u9009"},operator:{label:"\u64CD\u4F5C",more:"\u66F4\u591A",sum:"\u5F53\u9875\u5408\u8BA1",total:"\u5408\u8BA1",allSum:"\u5168\u90E8\u5408\u8BA1"},singleEdit:{tipText:"\u5355\u51FB\u53EF\u7F16\u8F91"},pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",loadingTxt:"\u52A0\u8F7D\u4E2D...",saveBtnTxt:"\u4FDD\u5B58",dragTxt:"\u62D6\u52A8",density:"\u5BC6\u5EA6",default:"\u9ED8\u8BA4",loose:"\u5BBD\u677E",compact:"\u7D27\u51D1"},list:{idleTimeoutMessage:"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u5DF2\u9000\u51FA\u7CFB\u7EDF\u3002",sysMessage:"\u7CFB\u7EDF\u6D88\u606F"}}};return u}));
|
package/locale/zh-cn.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.137 */var u={name:"zh-cn",plus:{datepicker:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",dates:"\u8BF7\u9009\u62E9\u65E5\u671F",week:"\u8BF7\u9009\u62E9\u5468",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",months:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",years:"\u8BF7\u9009\u62E9\u5E74\u4EFD",startDatePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",endDatePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",datetime:"\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",startMonthPlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u6708\u4EFD",endMonthPlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u6708\u4EFD",startTimePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",endTimePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",shortcutsDate:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDaterange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"},shortcutsMonthrange:{thisMonth:"\u672C\u6708",thisYear:"\u4ECA\u5E74\u81F3\u4ECA",pastSixMonths:"\u6700\u8FD1\u516D\u4E2A\u6708"},shortcutsDatetime:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDatetimerange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"}},form:{pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9"},input:{placeholder:"\u8BF7\u8F93\u5165",appendTitle:"\u5143",validatePhone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801",validateIdCard:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",validateInteger:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6574\u6570",format:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684",amount:"\u91D1\u989D",numbers:"\u6570\u5B57",digitUppercase:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u91D1\u989D\u683C\u5F0F",validateError:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u683C\u5F0F",escaped:{0:"\u89D2",1:"\u5206",2:"\u96F6",3:"\u58F9",4:"\u8D30",5:"\u53C1",6:"\u8086",7:"\u4F0D",8:"\u9646",9:"\u67D2",10:"\u634C",11:"\u7396",12:"\u5143",13:"\u4E07",14:"\u4EBF",15:"\u5146",16:"\u62FE",17:"\u4F70",18:"\u4EDF",19:"\u6B20",20:"\u6574"}},moduleForm:{save:"\u4FDD\u5B58",back:"\u8FD4\u56DE"},search:{searchText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E",expand:"\u5C55\u5F00",retract:"\u6536\u8D77",pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",popoverAttrs:{showTxt:"\u66F4\u591A",title:"\u6240\u6709\u6761\u4EF6",allTxt:"\u5168\u9009",reverseTxt:"\u53CD\u9009",clearTxt:"\u6E05\u7A7A"}},select:{selectAllTxt:"\u5168\u9009"},selectIcon:{placeholder:"\u8BF7\u9009\u62E9\u56FE\u6807",dialogTitle:"\u8BF7\u9009\u62E9\u56FE\u6807",searchPlaceholder:"\u641C\u7D22\u56FE\u6807",emptyDescription:"\u672A\u641C\u7D22\u5230\u60A8\u8981\u627E\u7684\u56FE\u6807"},copy:{copySuccess:"\u590D\u5236\u6210\u529F",copyFail:"\u590D\u5236\u5931\u8D25",invalidCopyContent:"\u65E0\u6548\u7684\u590D\u5236\u5185\u5BB9"},selectTable:{searchBtnTxt:"\u5173\u95ED\u4E0B\u62C9\u6846",radioTxt:"\u5355\u9009",loadingTxt:"\u52A0\u8F7D\u4E2D..."},stepWizard:{lastBtnTitle:"\u5B8C\u6210"},table:{columnBind:{btnTxt:"\u5217\u8BBE\u7F6E",title:"\u5217\u8BBE\u7F6E"},fistColumn:{label:"\u5E8F\u53F7",radio:"\u5355\u9009"},operator:{label:"\u64CD\u4F5C",more:"\u66F4\u591A",sum:"\u5F53\u9875\u5408\u8BA1",total:"\u5408\u8BA1",allSum:"\u5168\u90E8\u5408\u8BA1"},singleEdit:{tipText:"\u5355\u51FB\u53EF\u7F16\u8F91"},pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",loadingTxt:"\u52A0\u8F7D\u4E2D...",saveBtnTxt:"\u4FDD\u5B58",dragTxt:"\u62D6\u52A8",density:"\u5BC6\u5EA6",default:"\u9ED8\u8BA4",loose:"\u5BBD\u677E",compact:"\u7D27\u51D1"},list:{idleTimeoutMessage:"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u5DF2\u9000\u51FA\u7CFB\u7EDF\u3002",sysMessage:"\u7CFB\u7EDF\u6D88\u606F"}}};export{u as default};
|
package/locale/zh-cn.mjs
CHANGED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|