@luck-design-biz/luckda 0.0.25-8 → 0.0.25-9
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/components/ComplexItem/index.js +92 -0
- package/es/components/ComplexItem/service.js +21 -0
- package/es/components/LdAutoForm/index.js +11 -6
- package/es/components/LdFormList/index.js +2 -1
- package/es/components/LdGrid/index.js +8 -1
- package/es/components/LdGridForm/index.js +16 -7
- package/es/helper/FromItems.js +177 -94
- package/es/helper/form.js +41 -7
- package/es/helper/props_config.js +17 -0
- package/es/locales/zh-CN.js +3 -3
- package/es/lowcode/constants/api-url.js +110 -32
- package/es/lowcode/constants/index.js +2 -1
- package/es/lowcode/engine/meta/cardlist.props.json +13 -3
- package/es/lowcode/engine/meta/components-list.json +102 -0
- package/es/lowcode/engine/meta/dialog.props.default.json +1 -0
- package/es/lowcode/engine/meta/dialog.props.json +7 -0
- package/es/lowcode/engine/meta/fieldcolor.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldcolor.props.json +63 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.json +39 -0
- package/es/lowcode/engine/meta/fielddate.props.default.json +12 -0
- package/es/lowcode/engine/meta/fielddate.props.json +47 -0
- package/es/lowcode/engine/meta/fielddict.props.default.json +14 -0
- package/es/lowcode/engine/meta/fielddict.props.json +44 -0
- package/es/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldeditor.props.json +44 -0
- package/es/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
- package/es/lowcode/engine/meta/fieldgroup.props.json +73 -0
- package/es/lowcode/engine/meta/fieldnumber.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldnumber.props.json +48 -0
- package/es/lowcode/engine/meta/fieldradio.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldradio.props.json +20 -0
- package/es/lowcode/engine/meta/fieldregion.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldregion.props.json +26 -0
- package/es/lowcode/engine/meta/fieldselect.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldselect.props.json +58 -0
- package/es/lowcode/engine/meta/fieldstring.props.default.json +16 -0
- package/es/lowcode/engine/meta/fieldstring.props.json +62 -0
- package/es/lowcode/engine/meta/fieldswitch.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldswitch.props.json +31 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.json +49 -0
- package/es/lowcode/engine/meta/fieldupload.props.default.json +15 -0
- package/es/lowcode/engine/meta/fieldupload.props.json +71 -0
- package/es/lowcode/engine/meta/fielduser.props.default.json +16 -0
- package/es/lowcode/engine/meta/fielduser.props.json +82 -0
- package/es/lowcode/engine/meta/fieldyear.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldyear.props.json +20 -0
- package/es/lowcode/engine/meta/form.props.json +3 -3
- package/es/lowcode/engine/meta/imex.props.default.json +1 -1
- package/es/lowcode/engine/meta/imex.props.json +1 -1
- package/es/lowcode/engine/meta/table.props.json +3 -3
- package/es/lowcode/engine/meta/tree.props.json +9 -2
- package/es/lowcode/engine/provider/ContextProvider/index.js +1 -0
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +12 -18
- package/es/lowcode/engine/tools/helper.js +24 -2
- package/es/lowcode/painter/Design.js +4 -4
- package/es/lowcode/painter/DesignOperator.js +103 -66
- package/es/lowcode/painter/DesignToolbar.js +13 -15
- package/es/lowcode/painter/Outline.js +10 -6
- package/es/lowcode/painter/Panel.js +57 -19
- package/es/lowcode/painter/components/ActionBindModal.js +13 -8
- package/es/lowcode/painter/components/AdvancePanel.js +32 -21
- package/es/lowcode/painter/components/AttrsPanel.js +5 -3
- package/es/lowcode/painter/components/FieldSelector.js +26 -13
- package/es/lowcode/painter/components/code-editor/JSEditor.js +5 -9
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js +4 -7
- package/es/lowcode/painter/panel-section/DataSetSelector.js +29 -9
- package/es/lowcode/painter/panel-section/FieldsSetting.js +24 -21
- package/es/lowcode/painter/panel-section/ImpExp.js +19 -21
- package/es/lowcode/painter/panel-section/ImpExpAlone.js +6 -7
- package/es/lowcode/painter/panel-section/TableTopFilter.js +23 -13
- package/es/lowcode/view/Page.js +4 -4
- package/es/lowcode/view/lc-components/CardList/meta.json +13 -3
- package/es/lowcode/view/lc-components/Dialog/index.js +3 -1
- package/es/lowcode/view/lc-components/Dialog/meta.json +7 -0
- package/es/lowcode/view/lc-components/FieldColor/meta.json +63 -0
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +39 -0
- package/es/lowcode/view/lc-components/FieldDate/meta.json +45 -0
- package/es/lowcode/view/lc-components/FieldDict/meta.json +44 -0
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +44 -0
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +73 -0
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +48 -0
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +20 -0
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +26 -0
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +58 -0
- package/es/lowcode/view/lc-components/FieldString/meta.json +62 -0
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +31 -0
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +49 -0
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +71 -0
- package/es/lowcode/view/lc-components/FieldUser/meta.json +82 -0
- package/es/lowcode/view/lc-components/FieldYear/meta.json +20 -0
- package/es/lowcode/view/lc-components/Form/index.js +90 -18
- package/es/lowcode/view/lc-components/Form/meta.json +3 -3
- package/es/lowcode/view/lc-components/ImEx/index.js +297 -88
- package/es/lowcode/view/lc-components/ImEx/meta.json +1 -1
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +78 -57
- package/es/lowcode/view/lc-components/Table/components/TopImex.js +345 -63
- package/es/lowcode/view/lc-components/Table/index.js +179 -18
- package/es/lowcode/view/lc-components/Table/meta.json +3 -3
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +1 -1
- package/es/lowcode/view/lc-components/Tabs/index.js +1 -1
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -2
- package/es/lowcode/view/lc-components/Tree/index.js +38 -13
- package/es/lowcode/view/lc-components/Tree/meta.json +9 -2
- package/es/upload/FilesWall/index.js +13 -13
- package/es/upload/FilesWall/index.less +74 -74
- package/es/upload/Form/gridForm.js +3 -2
- package/es/upload/FormItem/index.js +3 -2
- package/es/utils/form.js +16 -3
- package/es/utils/grid.js +8 -5
- package/lib/components/ComplexItem/index.js +100 -0
- package/lib/components/ComplexItem/service.js +28 -0
- package/lib/components/LdAutoForm/index.js +10 -5
- package/lib/components/LdFormList/index.js +2 -1
- package/lib/components/LdGrid/index.js +8 -1
- package/lib/components/LdGridForm/index.js +15 -6
- package/lib/helper/FromItems.js +175 -92
- package/lib/helper/form.js +39 -6
- package/lib/helper/props_config.js +23 -0
- package/lib/locales/zh-CN.js +3 -3
- package/lib/lowcode/constants/api-url.js +110 -33
- package/lib/lowcode/constants/index.js +3 -2
- package/lib/lowcode/engine/meta/cardlist.props.json +13 -3
- package/lib/lowcode/engine/meta/components-list.json +102 -0
- package/lib/lowcode/engine/meta/dialog.props.default.json +1 -0
- package/lib/lowcode/engine/meta/dialog.props.json +7 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.json +63 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +39 -0
- package/lib/lowcode/engine/meta/fielddate.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +47 -0
- package/lib/lowcode/engine/meta/fielddict.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fielddict.props.json +44 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.json +44 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.json +73 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.json +48 -0
- package/lib/lowcode/engine/meta/fieldradio.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldradio.props.json +20 -0
- package/lib/lowcode/engine/meta/fieldregion.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldregion.props.json +26 -0
- package/lib/lowcode/engine/meta/fieldselect.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldselect.props.json +58 -0
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fieldstring.props.json +62 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.json +31 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +49 -0
- package/lib/lowcode/engine/meta/fieldupload.props.default.json +15 -0
- package/lib/lowcode/engine/meta/fieldupload.props.json +71 -0
- package/lib/lowcode/engine/meta/fielduser.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fielduser.props.json +82 -0
- package/lib/lowcode/engine/meta/fieldyear.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldyear.props.json +20 -0
- package/lib/lowcode/engine/meta/form.props.json +3 -3
- package/lib/lowcode/engine/meta/imex.props.default.json +1 -1
- package/lib/lowcode/engine/meta/imex.props.json +1 -1
- package/lib/lowcode/engine/meta/table.props.json +3 -3
- package/lib/lowcode/engine/meta/tree.props.json +9 -2
- package/lib/lowcode/engine/provider/ContextProvider/index.js +1 -0
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +12 -18
- package/lib/lowcode/engine/tools/helper.js +25 -1
- package/lib/lowcode/painter/Design.js +4 -4
- package/lib/lowcode/painter/DesignOperator.js +101 -64
- package/lib/lowcode/painter/DesignToolbar.js +12 -14
- package/lib/lowcode/painter/Outline.js +9 -5
- package/lib/lowcode/painter/Panel.js +56 -18
- package/lib/lowcode/painter/components/ActionBindModal.js +13 -8
- package/lib/lowcode/painter/components/AdvancePanel.js +31 -20
- package/lib/lowcode/painter/components/AttrsPanel.js +5 -3
- package/lib/lowcode/painter/components/FieldSelector.js +26 -13
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +5 -9
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +4 -7
- package/lib/lowcode/painter/panel-section/DataSetSelector.js +29 -9
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +23 -20
- package/lib/lowcode/painter/panel-section/ImpExp.js +20 -21
- package/lib/lowcode/painter/panel-section/ImpExpAlone.js +6 -7
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +22 -12
- package/lib/lowcode/view/Page.js +4 -4
- package/lib/lowcode/view/lc-components/CardList/meta.json +13 -3
- package/lib/lowcode/view/lc-components/Dialog/index.js +3 -1
- package/lib/lowcode/view/lc-components/Dialog/meta.json +7 -0
- package/lib/lowcode/view/lc-components/FieldColor/meta.json +63 -0
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +39 -0
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +45 -0
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +44 -0
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +44 -0
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +73 -0
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +48 -0
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +20 -0
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +26 -0
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +58 -0
- package/lib/lowcode/view/lc-components/FieldString/meta.json +62 -0
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +31 -0
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +49 -0
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +71 -0
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +82 -0
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +20 -0
- package/lib/lowcode/view/lc-components/Form/index.js +89 -17
- package/lib/lowcode/view/lc-components/Form/meta.json +3 -3
- package/lib/lowcode/view/lc-components/ImEx/index.js +295 -85
- package/lib/lowcode/view/lc-components/ImEx/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +75 -55
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js +343 -60
- package/lib/lowcode/view/lc-components/Table/index.js +178 -17
- package/lib/lowcode/view/lc-components/Table/meta.json +3 -3
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +1 -1
- package/lib/lowcode/view/lc-components/Tabs/index.js +1 -1
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -2
- package/lib/lowcode/view/lc-components/Tree/index.js +36 -11
- package/lib/lowcode/view/lc-components/Tree/meta.json +9 -2
- package/lib/upload/FilesWall/index.js +13 -13
- package/lib/upload/FilesWall/index.less +74 -74
- package/lib/upload/Form/gridForm.js +3 -2
- package/lib/upload/FormItem/index.js +3 -2
- package/lib/utils/form.js +16 -3
- package/lib/utils/grid.js +8 -5
- package/package.json +3 -3
- package/es/lowcode/engine/meta/local/local.zh-cn.js +0 -97
- package/lib/lowcode/engine/meta/local/local.zh-cn.js +0 -103
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
.operates {
|
|
2
|
-
display: flex;
|
|
3
|
-
margin-bottom: 8px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.filesWall {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
align-items: center;
|
|
10
|
-
width: 100%;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
|
|
13
|
-
.fileContent {
|
|
14
|
-
position: relative;
|
|
15
|
-
|
|
16
|
-
.check {
|
|
17
|
-
position: absolute;
|
|
18
|
-
right: 8px;
|
|
19
|
-
top: -3px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.img {
|
|
23
|
-
position: relative;
|
|
24
|
-
padding: 8px;
|
|
25
|
-
border: 1px solid #d9d9d9;
|
|
26
|
-
border-radius: 4px 0 4px 4px;
|
|
27
|
-
display: table;
|
|
28
|
-
float: left;
|
|
29
|
-
width: 104px;
|
|
30
|
-
height: 104px;
|
|
31
|
-
margin-right: 8px;
|
|
32
|
-
margin-bottom: 8px;
|
|
33
|
-
text-align: center;
|
|
34
|
-
vertical-align: top;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
-webkit-transition: border-color 0.3s ease;
|
|
37
|
-
transition: border-color 0.3s ease;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.actions {
|
|
42
|
-
width: 104px !important;
|
|
43
|
-
height: 104px !important;
|
|
44
|
-
position: absolute;
|
|
45
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
46
|
-
border-radius: 4px;
|
|
47
|
-
display: none !important;
|
|
48
|
-
|
|
49
|
-
.actionsChild {
|
|
50
|
-
margin-top: 35%;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.fileContent:hover + .actions,
|
|
55
|
-
.actions:hover {
|
|
56
|
-
display: block !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:global {
|
|
60
|
-
.ant-upload-select-picture-card i {
|
|
61
|
-
font-size: 32px;
|
|
62
|
-
color: #999;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.ant-upload-select-picture-card .ant-upload-text {
|
|
66
|
-
margin-top: 8px;
|
|
67
|
-
color: #666;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.ant-upload-picture-card-wrapper {
|
|
71
|
-
width: auto;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
1
|
+
.operates {
|
|
2
|
+
display: flex;
|
|
3
|
+
margin-bottom: 8px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.filesWall {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
|
|
13
|
+
.fileContent {
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
.check {
|
|
17
|
+
position: absolute;
|
|
18
|
+
right: 8px;
|
|
19
|
+
top: -3px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.img {
|
|
23
|
+
position: relative;
|
|
24
|
+
padding: 8px;
|
|
25
|
+
border: 1px solid #d9d9d9;
|
|
26
|
+
border-radius: 4px 0 4px 4px;
|
|
27
|
+
display: table;
|
|
28
|
+
float: left;
|
|
29
|
+
width: 104px;
|
|
30
|
+
height: 104px;
|
|
31
|
+
margin-right: 8px;
|
|
32
|
+
margin-bottom: 8px;
|
|
33
|
+
text-align: center;
|
|
34
|
+
vertical-align: top;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
-webkit-transition: border-color 0.3s ease;
|
|
37
|
+
transition: border-color 0.3s ease;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.actions {
|
|
42
|
+
width: 104px !important;
|
|
43
|
+
height: 104px !important;
|
|
44
|
+
position: absolute;
|
|
45
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
display: none !important;
|
|
48
|
+
|
|
49
|
+
.actionsChild {
|
|
50
|
+
margin-top: 35%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fileContent:hover + .actions,
|
|
55
|
+
.actions:hover {
|
|
56
|
+
display: block !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:global {
|
|
60
|
+
.ant-upload-select-picture-card i {
|
|
61
|
+
font-size: 32px;
|
|
62
|
+
color: #999;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ant-upload-select-picture-card .ant-upload-text {
|
|
66
|
+
margin-top: 8px;
|
|
67
|
+
color: #666;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ant-upload-picture-card-wrapper {
|
|
71
|
+
width: auto;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -20,7 +20,7 @@ var _luckDesign = require("luck-design");
|
|
|
20
20
|
var _ApiConfig = _interopRequireDefault(require("@/services/ApiConfig"));
|
|
21
21
|
var _FormList = require("@luck-design-biz/base/FormList");
|
|
22
22
|
var _utils = require("@luck-design-biz/base/utils");
|
|
23
|
-
var _excluded = ["formId", "formRef", "showNote", "operates", "loading", "uploadUrl", "forbiddenTypes", "beforeUpload", "formMode", "onUploadChange", "zipName", "resetActions", "getUrl", "wrapperRef"];
|
|
23
|
+
var _excluded = ["formId", "formRef", "showNote", "operates", "loading", "uploadUrl", "supportTypes", "forbiddenTypes", "beforeUpload", "formMode", "onUploadChange", "zipName", "resetActions", "getUrl", "wrapperRef"];
|
|
24
24
|
var columns = [{
|
|
25
25
|
field: 'name',
|
|
26
26
|
title: '附件名称'
|
|
@@ -63,6 +63,7 @@ var UploadGridForm = function UploadGridForm(_ref) {
|
|
|
63
63
|
operates = _ref$operates === void 0 ? ['read', 'add', 'delete', 'download'] : _ref$operates,
|
|
64
64
|
loading = _ref.loading,
|
|
65
65
|
uploadUrl = _ref.uploadUrl,
|
|
66
|
+
supportTypes = _ref.supportTypes,
|
|
66
67
|
_ref$forbiddenTypes = _ref.forbiddenTypes,
|
|
67
68
|
forbiddenTypes = _ref$forbiddenTypes === void 0 ? [] : _ref$forbiddenTypes,
|
|
68
69
|
_beforeUpload = _ref.beforeUpload,
|
|
@@ -87,7 +88,7 @@ var UploadGridForm = function UploadGridForm(_ref) {
|
|
|
87
88
|
currentUser = _getDvaApp$_store$get.currentUser;
|
|
88
89
|
var supportUploadTypes = (0, _ahooks.useCreation)(function () {
|
|
89
90
|
return (0, _utils.getSupportUploadTypes)(forbiddenTypes);
|
|
90
|
-
}, [forbiddenTypes]);
|
|
91
|
+
}, [forbiddenTypes, supportTypes]);
|
|
91
92
|
|
|
92
93
|
// 下载
|
|
93
94
|
var downloadFile = function downloadFile(filenames, tag) {
|
|
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
12
12
|
var _luckDesign = require("luck-design");
|
|
13
13
|
var _utils = require("@luck-design-biz/base/utils");
|
|
14
14
|
var _apiUrl = require("../../lowcode/constants/api-url");
|
|
15
|
-
var _excluded = ["uploadUrl", "moduleCode", "bucket", "tag", "note", "config", "forbiddenTypes", "children", "dataFormat", "listType"];
|
|
15
|
+
var _excluded = ["uploadUrl", "moduleCode", "bucket", "tag", "note", "config", "supportTypes", "forbiddenTypes", "children", "dataFormat", "listType"];
|
|
16
16
|
/**
|
|
17
17
|
* 表单类型富文本上传
|
|
18
18
|
* 是否实体字段: 是
|
|
@@ -41,6 +41,7 @@ function buildComponent(props) {
|
|
|
41
41
|
note = _props$note === void 0 ? '' : _props$note,
|
|
42
42
|
_props$config = props.config,
|
|
43
43
|
config = _props$config === void 0 ? {} : _props$config,
|
|
44
|
+
supportTypes = props.supportTypes,
|
|
44
45
|
forbiddenTypes = props.forbiddenTypes,
|
|
45
46
|
children = props.children,
|
|
46
47
|
dataFormat = props.dataFormat,
|
|
@@ -49,7 +50,7 @@ function buildComponent(props) {
|
|
|
49
50
|
var getUrl = function getUrl(behaviorKey) {
|
|
50
51
|
return "".concat((0, _apiUrl.getBehaviorUrl)(), "?moduleCode=").concat(moduleCode, "&behaviorKey=").concat(behaviorKey, "&bucket=").concat(bucket, "&tag=").concat(tag, "¬e=").concat(note);
|
|
51
52
|
};
|
|
52
|
-
var supportUploadTypes = (0, _utils.getSupportUploadTypes)(forbiddenTypes);
|
|
53
|
+
var supportUploadTypes = (0, _utils.getSupportUploadTypes)(forbiddenTypes, supportTypes);
|
|
53
54
|
return /*#__PURE__*/_react.default.createElement(_luckDesign.BasicFormItem, (0, _extends2.default)({
|
|
54
55
|
extra: "".concat((0, _utils.formatMessage)({
|
|
55
56
|
id: 'app.upload.supportUpload',
|
package/lib/utils/form.js
CHANGED
|
@@ -40,12 +40,13 @@ function getFormItem() {
|
|
|
40
40
|
var customProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
41
41
|
if (!property) return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
42
42
|
if (property === 'sint' || property === 'number') props.opt_decimal = 0;
|
|
43
|
+
var comType = comName || _form.defaultComName[property];
|
|
43
44
|
var _translator = (0, _form.translator)(props),
|
|
44
45
|
name = _translator.name,
|
|
45
46
|
translateProps = (0, _objectWithoutProperties2.default)(_translator, _excluded2);
|
|
46
47
|
var _merge = (0, _lodash.merge)(
|
|
47
48
|
// 移除type,不能删除type,会导致查询renderInfo的时候报错
|
|
48
|
-
translateProps, (0, _form.formatCustomProps)(customProps)),
|
|
49
|
+
translateProps, (0, _form.formatCustomProps)(comType, customProps)),
|
|
49
50
|
type = _merge.type,
|
|
50
51
|
_props = (0, _objectWithoutProperties2.default)(_merge, _excluded3);
|
|
51
52
|
if (customProps.renderBasicFormItem) {
|
|
@@ -56,7 +57,7 @@ function getFormItem() {
|
|
|
56
57
|
key: name
|
|
57
58
|
}), com.props.children);
|
|
58
59
|
}
|
|
59
|
-
var getFormItemUtils = formItemUtils["get".concat((0, _lodash.capitalize)(
|
|
60
|
+
var getFormItemUtils = formItemUtils["get".concat((0, _lodash.capitalize)(comType), "Item")];
|
|
60
61
|
return getFormItemUtils((0, _objectSpread2.default)((0, _objectSpread2.default)({}, _props), {}, {
|
|
61
62
|
name: name,
|
|
62
63
|
key: name
|
|
@@ -85,9 +86,15 @@ var formItemDataFormat = exports.formItemDataFormat = function formItemDataForma
|
|
|
85
86
|
case 'date':
|
|
86
87
|
result[name] = values["".concat(name, "_virtual")] ? (0, _moment.default)(values["".concat(name, "_virtual")], 'YYYY-MM-DD HH:mm:ss') : undefined;
|
|
87
88
|
break;
|
|
89
|
+
case 'dict':
|
|
90
|
+
if (props.display === 'radio') {
|
|
91
|
+
result[name] = values[name] || void 0;
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
88
94
|
case 'user':
|
|
89
95
|
case 'select':
|
|
90
96
|
case 'group':
|
|
97
|
+
case 'complex':
|
|
91
98
|
if (translatorProps.multiple) {
|
|
92
99
|
result[name] = (0, _form.splitStrToObj)(values[name], values["".concat(name, "_virtual")]);
|
|
93
100
|
} else {
|
|
@@ -155,9 +162,15 @@ var dataFormat = exports.dataFormat = function dataFormat() {
|
|
|
155
162
|
case 'date':
|
|
156
163
|
result[name] = values[name] ? (0, _moment.default)(values[name]).valueOf() : null;
|
|
157
164
|
break;
|
|
165
|
+
case 'dict':
|
|
166
|
+
if (props.display === 'radio') {
|
|
167
|
+
result[name] = values[name] || null;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
158
170
|
case 'user':
|
|
159
171
|
case 'select':
|
|
160
172
|
case 'group':
|
|
173
|
+
case 'complex':
|
|
161
174
|
if ((0, _lodash.isArray)(values[name])) result[name] = values[name].map(function (v) {
|
|
162
175
|
return v.value || v.key;
|
|
163
176
|
}).join(',');else result[name] = !(0, _lodash.isNil)((_values$name = values[name]) === null || _values$name === void 0 ? void 0 : _values$name.value) ? values[name].value : ((_values$name2 = values[name]) === null || _values$name2 === void 0 ? void 0 : _values$name2.key) || null;
|
|
@@ -218,7 +231,7 @@ var getFormColumn = exports.getFormColumn = function getFormColumn() {
|
|
|
218
231
|
translateProps = (0, _objectWithoutProperties2.default)(_translator2, _excluded8);
|
|
219
232
|
var _merge2 = (0, _lodash.merge)(
|
|
220
233
|
// mode=writer移除type,不能删除type,会导致查询renderInfo的时候报错
|
|
221
|
-
translateProps, (0, _form.formatCustomProps)(formItemRewrite)),
|
|
234
|
+
translateProps, (0, _form.formatCustomProps)(formItemType, formItemRewrite)),
|
|
222
235
|
type = _merge2.type,
|
|
223
236
|
_ = _merge2.name,
|
|
224
237
|
_props = (0, _objectWithoutProperties2.default)(_merge2, _excluded9);
|
package/lib/utils/grid.js
CHANGED
|
@@ -52,6 +52,7 @@ function getColumnRender(name, type) {
|
|
|
52
52
|
case 'user':
|
|
53
53
|
case 'select':
|
|
54
54
|
case 'group':
|
|
55
|
+
case 'complex':
|
|
55
56
|
render = function render(text, record) {
|
|
56
57
|
if (record["".concat(name, "_virtual")]) return record["".concat(name, "_virtual")];
|
|
57
58
|
if ((0, _lodash.isArray)(text)) return text.map(function (i) {
|
|
@@ -123,6 +124,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
123
124
|
var customProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
124
125
|
var isTreeGrid = arguments.length > 2 ? arguments[2] : undefined;
|
|
125
126
|
var writable = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
127
|
+
var comType = comName || _form.defaultComName[property];
|
|
126
128
|
var _props$isVirtual = props.isVirtual,
|
|
127
129
|
isVirtual = _props$isVirtual === void 0 ? false : _props$isVirtual,
|
|
128
130
|
_props$extra = props.extra,
|
|
@@ -130,7 +132,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
130
132
|
var _translator = (0, _form.translator)(props),
|
|
131
133
|
name = _translator.name,
|
|
132
134
|
translateProps = (0, _objectWithoutProperties2.default)(_translator, _excluded2);
|
|
133
|
-
var _merge = (0, _lodash.merge)(translateProps, (0, _form.formatCustomProps)(customProps)),
|
|
135
|
+
var _merge = (0, _lodash.merge)(translateProps, (0, _form.formatCustomProps)(comType, customProps)),
|
|
134
136
|
filter = _merge.filter,
|
|
135
137
|
filterParams = _merge.filterParams,
|
|
136
138
|
_props = (0, _objectWithoutProperties2.default)(_merge, _excluded3);
|
|
@@ -140,9 +142,9 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
140
142
|
title: _props.label,
|
|
141
143
|
headerAlign: _props.headerAlign || getAlign(_extra, 'sheading_alignment_virtual'),
|
|
142
144
|
align: _props.align || getAlign(_extra, 'scell_alignment_virtual'),
|
|
143
|
-
render: _props.render || getColumnRender(name,
|
|
145
|
+
render: _props.render || getColumnRender(name, comType, _props)
|
|
144
146
|
});
|
|
145
|
-
if (isTreeGrid || isVirtual || (0, _lodash.includes)(['user', 'select', 'group', 'switch', 'color', 'region', 'file'],
|
|
147
|
+
if (isTreeGrid || isVirtual || (0, _lodash.includes)(['user', 'select', 'group', 'switch', 'color', 'region', 'file', 'complex'], comType)) data.sortable = false;
|
|
146
148
|
// data.filter = false;
|
|
147
149
|
if (!(0, _lodash.isNil)(filter)) {
|
|
148
150
|
// 因为后端升级问题,暂时关闭过滤功能
|
|
@@ -155,7 +157,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
155
157
|
data.filter = 'text';
|
|
156
158
|
return data;
|
|
157
159
|
}
|
|
158
|
-
switch (
|
|
160
|
+
switch (comType) {
|
|
159
161
|
case 'switch':
|
|
160
162
|
data.filter = 'select';
|
|
161
163
|
data.filterParams = {
|
|
@@ -256,7 +258,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
256
258
|
required: true
|
|
257
259
|
} : true;
|
|
258
260
|
if (_props.cellWriter) data.cellWriter = _props.cellWriter;else {
|
|
259
|
-
var formItemCom = (0, _lodash.capitalize)(
|
|
261
|
+
var formItemCom = (0, _lodash.capitalize)(comType) === 'Textarea' ? 'String' : (0, _lodash.capitalize)(comType);
|
|
260
262
|
var getFormItemUtils = formItemUtils["get".concat(formItemCom, "Item")];
|
|
261
263
|
var formItemProps = {};
|
|
262
264
|
switch (formItemCom) {
|
|
@@ -273,6 +275,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
273
275
|
case 'user':
|
|
274
276
|
case 'select':
|
|
275
277
|
case 'group':
|
|
278
|
+
case 'complex':
|
|
276
279
|
if (translateProps.multiple) {
|
|
277
280
|
formItemProps = {
|
|
278
281
|
dataFormat: function dataFormat(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luck-design-biz/luckda",
|
|
3
|
-
"version": "0.0.25-
|
|
3
|
+
"version": "0.0.25-9",
|
|
4
4
|
"description": "前端配置管理中心业务组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@babel/plugin-transform-strict-mode": "^7.18.6",
|
|
78
78
|
"@babel/polyfill": "^7.12.1",
|
|
79
79
|
"@babel/traverse": "^7.24.1",
|
|
80
|
-
"@luck-design-biz/base": "0.0.
|
|
80
|
+
"@luck-design-biz/base": "0.0.46-4",
|
|
81
81
|
"@luck-design-biz/bpm": "0.0.5",
|
|
82
82
|
"@luck-helper/ui-design": "0.0.6",
|
|
83
83
|
"@types/classnames": "^2.3.1",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"js-cookie": "^2.2.1",
|
|
123
123
|
"jsdom-global": "^3.0.2",
|
|
124
124
|
"lint-staged": "^11.2.6",
|
|
125
|
-
"luck-design": "0.1.
|
|
125
|
+
"luck-design": "0.1.77-2",
|
|
126
126
|
"monaco-editor-webpack-plugin": "6.*.*",
|
|
127
127
|
"node-fetch": "^2.6.7",
|
|
128
128
|
"nprogress": "^0.2.0",
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"luckda.lowcode.page": "页面",
|
|
3
|
-
"luckda.lowcode.modal": "模态视图层",
|
|
4
|
-
"luckda.lowcode.painter.I18n.search": "搜索文案",
|
|
5
|
-
"luckda.lowcode.painter.I18n.add": "新增文案",
|
|
6
|
-
"luckda.lowcode.painter.components.search": "搜索组件",
|
|
7
|
-
"ccm.dev.page.set.components.base": "基础组件",
|
|
8
|
-
"ccm.dev.page.set.components.dataset": "数据集字段",
|
|
9
|
-
"luckda.lowcode.painter.panel-section.width-height": "请输入数值",
|
|
10
|
-
"luckda.lowcode.painter.edit": "编辑",
|
|
11
|
-
"luckda.lowcode.painter.delete": "删除",
|
|
12
|
-
"luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
|
|
13
|
-
"luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
|
|
14
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
|
|
15
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
|
|
16
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
|
|
17
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
|
|
18
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
|
|
19
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
|
|
20
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
|
|
21
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
|
|
22
|
-
"luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
|
|
23
|
-
"luckda.lowcode.painter.import": "导入",
|
|
24
|
-
"luckda.lowcode.painter.export": "导出",
|
|
25
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
|
|
26
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
|
|
27
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
|
|
28
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
|
|
29
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
|
|
30
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
|
|
31
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
|
|
32
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
|
|
33
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
|
|
34
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
|
|
35
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
|
|
36
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
|
|
37
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
|
|
38
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
|
|
39
|
-
"luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
|
|
40
|
-
"luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
|
|
41
|
-
"luckda.lowcode.painter.panel-section.style-panel.display": "显示",
|
|
42
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
|
|
43
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
|
|
44
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
|
|
45
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
|
|
46
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
|
|
47
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
|
|
48
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
|
|
49
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
|
|
50
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
|
|
51
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
|
|
52
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
|
|
53
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
|
|
54
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
|
|
55
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
|
|
56
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
|
|
57
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
|
|
58
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
|
|
59
|
-
"luckda.lowcode.painter.panel-section.style-panel.font": "文字",
|
|
60
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
|
|
61
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
|
|
62
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
|
|
63
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
|
|
64
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
|
|
65
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
|
|
66
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
|
|
67
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
|
|
68
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
|
|
69
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
|
|
70
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
|
|
71
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
|
|
72
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
|
|
73
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
|
|
74
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
|
|
75
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
|
|
76
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
|
|
77
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
|
|
78
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
|
|
79
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
|
|
80
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
|
|
81
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
|
|
82
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
|
|
83
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
|
|
84
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
|
|
85
|
-
"luckda.lowcode.painter.panel-section.style-panel.border": "边框",
|
|
86
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
|
|
87
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
|
|
88
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
|
|
89
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
|
|
90
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
|
|
91
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
|
|
92
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
|
|
93
|
-
"luckda.lowcode.painter.panel-section.style-panel.background": "背景",
|
|
94
|
-
"luckda.lowcode.painter.coder": "编码器",
|
|
95
|
-
"luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
|
|
96
|
-
"luckda.lowcode.painter.components.fullscreen.tip": "全屏"
|
|
97
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _default = exports.default = {
|
|
8
|
-
"luckda.lowcode.page": "页面",
|
|
9
|
-
"luckda.lowcode.modal": "模态视图层",
|
|
10
|
-
"luckda.lowcode.painter.I18n.search": "搜索文案",
|
|
11
|
-
"luckda.lowcode.painter.I18n.add": "新增文案",
|
|
12
|
-
"luckda.lowcode.painter.components.search": "搜索组件",
|
|
13
|
-
"ccm.dev.page.set.components.base": "基础组件",
|
|
14
|
-
"ccm.dev.page.set.components.dataset": "数据集字段",
|
|
15
|
-
"luckda.lowcode.painter.panel-section.width-height": "请输入数值",
|
|
16
|
-
"luckda.lowcode.painter.edit": "编辑",
|
|
17
|
-
"luckda.lowcode.painter.delete": "删除",
|
|
18
|
-
"luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
|
|
19
|
-
"luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
|
|
20
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
|
|
21
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
|
|
22
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
|
|
23
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
|
|
24
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
|
|
25
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
|
|
26
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
|
|
27
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
|
|
28
|
-
"luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
|
|
29
|
-
"luckda.lowcode.painter.import": "导入",
|
|
30
|
-
"luckda.lowcode.painter.export": "导出",
|
|
31
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
|
|
32
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
|
|
33
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
|
|
34
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
|
|
35
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
|
|
36
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
|
|
37
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
|
|
38
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
|
|
39
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
|
|
40
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
|
|
41
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
|
|
42
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
|
|
43
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
|
|
44
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
|
|
45
|
-
"luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
|
|
46
|
-
"luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
|
|
47
|
-
"luckda.lowcode.painter.panel-section.style-panel.display": "显示",
|
|
48
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
|
|
49
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
|
|
50
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
|
|
51
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
|
|
52
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
|
|
53
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
|
|
54
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
|
|
55
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
|
|
56
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
|
|
57
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
|
|
58
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
|
|
59
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
|
|
60
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
|
|
61
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
|
|
62
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
|
|
63
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
|
|
64
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
|
|
65
|
-
"luckda.lowcode.painter.panel-section.style-panel.font": "文字",
|
|
66
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
|
|
67
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
|
|
68
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
|
|
69
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
|
|
70
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
|
|
71
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
|
|
72
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
|
|
73
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
|
|
74
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
|
|
75
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
|
|
76
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
|
|
77
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
|
|
78
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
|
|
79
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
|
|
80
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
|
|
81
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
|
|
82
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
|
|
83
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
|
|
84
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
|
|
85
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
|
|
86
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
|
|
87
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
|
|
88
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
|
|
89
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
|
|
90
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
|
|
91
|
-
"luckda.lowcode.painter.panel-section.style-panel.border": "边框",
|
|
92
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
|
|
93
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
|
|
94
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
|
|
95
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
|
|
96
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
|
|
97
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
|
|
98
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
|
|
99
|
-
"luckda.lowcode.painter.panel-section.style-panel.background": "背景",
|
|
100
|
-
"luckda.lowcode.painter.coder": "编码器",
|
|
101
|
-
"luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
|
|
102
|
-
"luckda.lowcode.painter.components.fullscreen.tip": "全屏"
|
|
103
|
-
};
|