@luck-design-biz/luckda 0.0.24-2 → 0.0.25
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/LDActions/index.js +130 -0
- package/es/components/LDActions/index.less +48 -0
- package/es/components/LdFormList/index.js +1 -1
- package/es/components/LdGrid/index.js +9 -3
- package/es/components/LdTree/index.js +32 -5
- package/es/components/LdTree/index.less +6 -1
- package/es/index.js +1 -0
- package/es/locales/zh-CN.js +151 -0
- package/es/lowcode/constants/api-url.js +71 -12
- package/es/lowcode/constants/index.js +3 -1
- package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +32 -0
- package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/es/lowcode/engine/meta/box.props.default.json +1 -3
- package/es/lowcode/engine/meta/box.props.json +1 -3
- package/es/lowcode/engine/meta/button.props.default.json +1 -1
- package/es/lowcode/engine/meta/button.props.json +1 -1
- package/es/lowcode/engine/meta/cardlist.props.default.json +0 -1
- package/es/lowcode/engine/meta/cardlist.props.json +1 -2
- package/es/lowcode/engine/meta/dialog.props.default.json +0 -1
- package/es/lowcode/engine/meta/dialog.props.json +0 -1
- package/es/lowcode/engine/meta/drawer.props.default.json +0 -1
- package/es/lowcode/engine/meta/drawer.props.json +0 -1
- package/es/lowcode/engine/meta/form.props.default.json +0 -1
- package/es/lowcode/engine/meta/form.props.json +1 -2
- package/es/lowcode/engine/meta/iframe.props.default.json +1 -1
- package/es/lowcode/engine/meta/iframe.props.json +1 -1
- package/es/lowcode/engine/meta/image.props.default.json +1 -1
- package/es/lowcode/engine/meta/image.props.json +1 -1
- 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/js-editor/auto-complete.json +132 -26
- package/es/lowcode/engine/meta/jsx.props.default.json +1 -1
- package/es/lowcode/engine/meta/jsx.props.json +1 -1
- package/es/lowcode/engine/meta/layout.props.default.json +1 -1
- package/es/lowcode/engine/meta/layout.props.json +1 -1
- package/es/lowcode/engine/meta/link.props.default.json +1 -1
- package/es/lowcode/engine/meta/link.props.json +1 -1
- package/es/lowcode/engine/meta/local/local.zh-cn.js +97 -0
- package/es/lowcode/engine/meta/section.props.default.json +1 -1
- package/es/lowcode/engine/meta/section.props.json +1 -1
- package/es/lowcode/engine/meta/split.props.default.json +1 -1
- package/es/lowcode/engine/meta/split.props.json +1 -1
- package/es/lowcode/engine/meta/table.props.default.json +18 -2
- package/es/lowcode/engine/meta/table.props.json +207 -32
- package/es/lowcode/engine/meta/tabs.props.default.json +0 -1
- package/es/lowcode/engine/meta/tabs.props.json +0 -1
- package/es/lowcode/engine/meta/text.props.default.json +1 -1
- package/es/lowcode/engine/meta/text.props.json +1 -1
- package/es/lowcode/engine/meta/tree.props.default.json +9 -4
- package/es/lowcode/engine/meta/tree.props.json +101 -55
- package/es/lowcode/engine/provider/{ContextProvider.js → ContextProvider/index.js} +71 -41
- package/es/lowcode/engine/tools/helper.js +29 -1
- package/es/lowcode/engine/tools/usePromiseState.js +7 -6
- package/es/lowcode/painter/Panel.js +50 -133
- package/es/lowcode/painter/Ribbon.js +1 -1
- package/es/lowcode/painter/components/ActionBindModal.js +180 -0
- package/es/lowcode/painter/components/AdvancePanel.js +68 -0
- package/es/lowcode/painter/components/AttrsPanel.js +134 -0
- package/es/lowcode/painter/components/Collapse.js +12 -7
- package/es/lowcode/painter/components/FieldSelector.js +44 -0
- package/es/lowcode/painter/components/ListEditor.js +4 -2
- package/es/lowcode/painter/components/PopConfirm.js +10 -3
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
- package/es/lowcode/painter/components/code-editor/JSEditor.js +25 -14
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +41 -0
- package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +10 -3
- package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +36 -8
- package/es/lowcode/painter/panel-section/ImpExp.js +91 -0
- package/es/lowcode/painter/panel-section/JSEditor.js +48 -0
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
- package/es/lowcode/painter/panel-section/TableTopFilter.js +306 -0
- package/es/lowcode/painter/style/action-bind-modal.less +99 -0
- package/es/lowcode/painter/style/design.less +1 -1
- package/es/lowcode/painter/style/impexp.less +7 -0
- package/es/lowcode/painter/style/panel-attrs.less +43 -0
- package/es/lowcode/painter/style/panel.less +6 -37
- package/es/lowcode/painter/style/pop-confirm.less +9 -2
- package/es/lowcode/view/lc-components/Box/index.js +20 -4
- package/es/lowcode/view/lc-components/Box/index.less +0 -1
- package/es/lowcode/view/lc-components/Box/meta.json +1 -3
- package/es/lowcode/view/lc-components/Button/meta.json +1 -1
- package/es/lowcode/view/lc-components/CardList/meta.json +1 -2
- package/es/lowcode/view/lc-components/Dialog/meta.json +0 -1
- package/es/lowcode/view/lc-components/Drawer/index.js +16 -0
- package/es/lowcode/view/lc-components/Drawer/meta.json +0 -1
- package/es/lowcode/view/lc-components/Form/meta.json +1 -2
- package/es/lowcode/view/lc-components/Iframe/meta.json +1 -1
- package/es/lowcode/view/lc-components/ImEx/meta.json +1 -1
- package/es/lowcode/view/lc-components/Image/meta.json +1 -1
- package/es/lowcode/view/lc-components/JSX/meta.json +1 -1
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +6 -9
- package/es/lowcode/view/lc-components/Layout/meta.json +1 -1
- package/es/lowcode/view/lc-components/Link/meta.json +1 -1
- package/es/lowcode/view/lc-components/Section/meta.json +1 -1
- package/es/lowcode/view/lc-components/Split/meta.json +1 -1
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js +35 -2
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +96 -0
- package/es/lowcode/view/lc-components/Table/index.js +255 -35
- package/es/lowcode/view/lc-components/Table/meta.json +179 -32
- package/es/lowcode/view/lc-components/Tabs/meta.json +0 -1
- package/es/lowcode/view/lc-components/Text/meta.json +1 -1
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +48 -3
- package/es/lowcode/view/lc-components/Tree/index.js +77 -6
- package/es/lowcode/view/lc-components/Tree/index.less +2 -0
- package/es/lowcode/view/lc-components/Tree/meta.json +97 -55
- package/es/lowcode/view/lc-components/Wrapper.js +2 -2
- package/lib/components/LDActions/index.js +138 -0
- package/lib/components/LDActions/index.less +48 -0
- package/lib/components/LdFormList/index.js +1 -1
- package/lib/components/LdGrid/index.js +8 -2
- package/lib/components/LdTree/index.js +31 -4
- package/lib/components/LdTree/index.less +6 -1
- package/lib/index.js +8 -0
- package/lib/locales/zh-CN.js +157 -0
- package/lib/lowcode/constants/api-url.js +71 -12
- package/lib/lowcode/constants/index.js +4 -2
- package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +38 -0
- package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/lib/lowcode/engine/meta/box.props.default.json +1 -3
- package/lib/lowcode/engine/meta/box.props.json +1 -3
- package/lib/lowcode/engine/meta/button.props.default.json +1 -1
- package/lib/lowcode/engine/meta/button.props.json +1 -1
- package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -1
- package/lib/lowcode/engine/meta/cardlist.props.json +1 -2
- package/lib/lowcode/engine/meta/dialog.props.default.json +0 -1
- package/lib/lowcode/engine/meta/dialog.props.json +0 -1
- package/lib/lowcode/engine/meta/drawer.props.default.json +0 -1
- package/lib/lowcode/engine/meta/drawer.props.json +0 -1
- package/lib/lowcode/engine/meta/form.props.default.json +0 -1
- package/lib/lowcode/engine/meta/form.props.json +1 -2
- package/lib/lowcode/engine/meta/iframe.props.default.json +1 -1
- package/lib/lowcode/engine/meta/iframe.props.json +1 -1
- package/lib/lowcode/engine/meta/image.props.default.json +1 -1
- package/lib/lowcode/engine/meta/image.props.json +1 -1
- 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/js-editor/auto-complete.json +132 -26
- package/lib/lowcode/engine/meta/jsx.props.default.json +1 -1
- package/lib/lowcode/engine/meta/jsx.props.json +1 -1
- package/lib/lowcode/engine/meta/layout.props.default.json +1 -1
- package/lib/lowcode/engine/meta/layout.props.json +1 -1
- package/lib/lowcode/engine/meta/link.props.default.json +1 -1
- package/lib/lowcode/engine/meta/link.props.json +1 -1
- package/lib/lowcode/engine/meta/local/local.zh-cn.js +103 -0
- package/lib/lowcode/engine/meta/section.props.default.json +1 -1
- package/lib/lowcode/engine/meta/section.props.json +1 -1
- package/lib/lowcode/engine/meta/split.props.default.json +1 -1
- package/lib/lowcode/engine/meta/split.props.json +1 -1
- package/lib/lowcode/engine/meta/table.props.default.json +18 -2
- package/lib/lowcode/engine/meta/table.props.json +207 -32
- package/lib/lowcode/engine/meta/tabs.props.default.json +0 -1
- package/lib/lowcode/engine/meta/tabs.props.json +0 -1
- package/lib/lowcode/engine/meta/text.props.default.json +1 -1
- package/lib/lowcode/engine/meta/text.props.json +1 -1
- package/lib/lowcode/engine/meta/tree.props.default.json +9 -4
- package/lib/lowcode/engine/meta/tree.props.json +101 -55
- package/lib/lowcode/engine/provider/{ContextProvider.js → ContextProvider/index.js} +70 -40
- package/lib/lowcode/engine/tools/helper.js +31 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +6 -5
- package/lib/lowcode/painter/Panel.js +48 -131
- package/lib/lowcode/painter/Ribbon.js +1 -1
- package/lib/lowcode/painter/components/ActionBindModal.js +188 -0
- package/lib/lowcode/painter/components/AdvancePanel.js +76 -0
- package/lib/lowcode/painter/components/AttrsPanel.js +142 -0
- package/lib/lowcode/painter/components/Collapse.js +12 -7
- package/lib/lowcode/painter/components/FieldSelector.js +52 -0
- package/lib/lowcode/painter/components/ListEditor.js +4 -2
- package/lib/lowcode/painter/components/PopConfirm.js +10 -3
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +25 -14
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +48 -0
- package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +10 -3
- package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +35 -7
- package/lib/lowcode/painter/panel-section/ImpExp.js +98 -0
- package/lib/lowcode/painter/panel-section/JSEditor.js +56 -0
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +314 -0
- package/lib/lowcode/painter/style/action-bind-modal.less +99 -0
- package/lib/lowcode/painter/style/design.less +1 -1
- package/lib/lowcode/painter/style/impexp.less +7 -0
- package/lib/lowcode/painter/style/panel-attrs.less +43 -0
- package/lib/lowcode/painter/style/panel.less +6 -37
- package/lib/lowcode/painter/style/pop-confirm.less +9 -2
- package/lib/lowcode/view/lc-components/Box/index.js +17 -2
- package/lib/lowcode/view/lc-components/Box/index.less +0 -1
- package/lib/lowcode/view/lc-components/Box/meta.json +1 -3
- package/lib/lowcode/view/lc-components/Button/meta.json +1 -1
- package/lib/lowcode/view/lc-components/CardList/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Dialog/meta.json +0 -1
- package/lib/lowcode/view/lc-components/Drawer/index.js +16 -0
- package/lib/lowcode/view/lc-components/Drawer/meta.json +0 -1
- package/lib/lowcode/view/lc-components/Form/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Iframe/meta.json +1 -1
- package/lib/lowcode/view/lc-components/ImEx/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Image/meta.json +1 -1
- package/lib/lowcode/view/lc-components/JSX/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +6 -9
- package/lib/lowcode/view/lc-components/Layout/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Link/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Section/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Split/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +37 -3
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +104 -0
- package/lib/lowcode/view/lc-components/Table/index.js +255 -35
- package/lib/lowcode/view/lc-components/Table/meta.json +179 -32
- package/lib/lowcode/view/lc-components/Tabs/meta.json +0 -1
- package/lib/lowcode/view/lc-components/Text/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +49 -3
- package/lib/lowcode/view/lc-components/Tree/index.js +77 -6
- package/lib/lowcode/view/lc-components/Tree/index.less +2 -0
- package/lib/lowcode/view/lc-components/Tree/meta.json +97 -55
- package/lib/lowcode/view/lc-components/Wrapper.js +2 -2
- package/package.json +10 -5
- package/es/lowcode/painter/panel-section/TableActions.js +0 -19
- package/lib/lowcode/painter/panel-section/TableActions.js +0 -26
|
@@ -0,0 +1,157 @@
|
|
|
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.painter.panel.attrs": "属性",
|
|
9
|
+
"luckda.lowcode.painter.panel.styles": "样式",
|
|
10
|
+
"luckda.lowcode.painter.panel.advance": "高级",
|
|
11
|
+
"luckda.lowcode.painter.panel.empty": "请在左侧画布选中节点",
|
|
12
|
+
"luckda.lowcode.page": "页面",
|
|
13
|
+
"luckda.lowcode.modal": "模态视图层",
|
|
14
|
+
"luckda.lowcode.painter.I18n.search": "搜索文案",
|
|
15
|
+
"luckda.lowcode.painter.I18n.add": "新增文案",
|
|
16
|
+
"luckda.lowcode.painter.components.search": "搜索组件",
|
|
17
|
+
"ccm.dev.page.set.components.base": "基础组件",
|
|
18
|
+
"ccm.dev.page.set.components.dataset": "数据集字段",
|
|
19
|
+
"luckda.lowcode.painter.panel-section.width-height": "请输入数值",
|
|
20
|
+
"luckda.lowcode.painter.edit": "编辑",
|
|
21
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.label": "名称",
|
|
22
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.label.placeholder": "请输入过滤项名称",
|
|
23
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.value": "值",
|
|
24
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.value.placeholder": "请输入过滤项值",
|
|
25
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.field": "字段",
|
|
26
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.field.placeholder": "请选择过滤字段",
|
|
27
|
+
"luckda.lowcode.painter.delete": "删除",
|
|
28
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.nil": "关闭过滤器",
|
|
29
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.dict": "数据字典",
|
|
30
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.dict.placeholder": "请输入接口地址",
|
|
31
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.custom": "自定义项",
|
|
32
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.add": "添加过滤项",
|
|
33
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.customApi": "自定义接口",
|
|
34
|
+
"luckda.lowcode.painter.panel-section.tableTopFilter.customApi.tip": "接口返回数据格式必须是: {mainInfo:{options:[{value: string,label: stirng}], field: string}}",
|
|
35
|
+
"luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
|
|
36
|
+
"luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
|
|
37
|
+
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
|
|
38
|
+
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
|
|
39
|
+
"luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
|
|
40
|
+
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
|
|
41
|
+
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
|
|
42
|
+
"luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
|
|
43
|
+
"luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
|
|
44
|
+
"luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
|
|
45
|
+
"luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
|
|
46
|
+
"luckda.lowcode.painter.import": "导入",
|
|
47
|
+
"luckda.lowcode.painter.panel-section.impexp.impUrl.placeholder": "请输入模版ID或自定义接口",
|
|
48
|
+
"luckda.lowcode.painter.export": "导出",
|
|
49
|
+
"luckda.lowcode.painter.panel-section.impexp.expUrl.placeholder": "请输入自定义接口",
|
|
50
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow": "阴影",
|
|
51
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
|
|
52
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
|
|
53
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
|
|
54
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
|
|
55
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
|
|
56
|
+
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
|
|
57
|
+
"luckda.lowcode.painter.panel-section.style-panel.cursor": "鼠标手势",
|
|
58
|
+
"luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
|
|
59
|
+
"luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
|
|
60
|
+
"luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
|
|
61
|
+
"luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
|
|
62
|
+
"luckda.lowcode.painter.panel-section.style-panel.opacity": "透明度",
|
|
63
|
+
"luckda.lowcode.painter.panel-section.style-panel.opacity.ph": "透明度",
|
|
64
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
|
|
65
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
|
|
66
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
|
|
67
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
|
|
68
|
+
"luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
|
|
69
|
+
"luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
|
|
70
|
+
"luckda.lowcode.painter.panel-section.style-panel.display": "显示",
|
|
71
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
|
|
72
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
|
|
73
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
|
|
74
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
|
|
75
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
|
|
76
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
|
|
77
|
+
"luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
|
|
78
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
|
|
79
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
|
|
80
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
|
|
81
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
|
|
82
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.size.ph": "字体大小",
|
|
83
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.line-height.ph": "行高",
|
|
84
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
|
|
85
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
|
|
86
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
|
|
87
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
|
|
88
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
|
|
89
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
|
|
90
|
+
"luckda.lowcode.painter.panel-section.style-panel.font": "文字",
|
|
91
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
|
|
92
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
|
|
93
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
|
|
94
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
|
|
95
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
|
|
96
|
+
"luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
|
|
97
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
|
|
98
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
|
|
99
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
|
|
100
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
|
|
101
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
|
|
102
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
|
|
103
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
|
|
104
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
|
|
105
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
|
|
106
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
|
|
107
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
|
|
108
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
|
|
109
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
|
|
110
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
|
|
111
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
|
|
112
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
|
|
113
|
+
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
|
|
114
|
+
"luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
|
|
115
|
+
"luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
|
|
116
|
+
"luckda.lowcode.painter.panel-section.style-panel.border-radius.width.ph": "半径",
|
|
117
|
+
"luckda.lowcode.painter.panel-section.style-panel.border": "边框",
|
|
118
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
|
|
119
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
|
|
120
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
|
|
121
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
|
|
122
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
|
|
123
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
|
|
124
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.width.ph": "线宽",
|
|
125
|
+
"luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
|
|
126
|
+
"luckda.lowcode.painter.panel-section.style-panel.background": "背景",
|
|
127
|
+
"luckda.lowcode.painter.panel-section.actionsEditor.button": "按钮",
|
|
128
|
+
"luckda.lowcode.painter.panel-section.actionsEditor.text": "文本",
|
|
129
|
+
"luckda.lowcode.painter.panel-section.actionsEditor.display": "展现形式",
|
|
130
|
+
"luckda.lowcode.painter.panel-section.actionsEditor.max": "最大显示数",
|
|
131
|
+
"luckda.lowcode.painter.panel-section.actionsEditor.moreText": "更多显示文字",
|
|
132
|
+
"luckda.lowcode.painter.panel-section.actionsEditor.add": "添加操作",
|
|
133
|
+
"luckda.lowcode.painter.panel-section.actionEditor.hidden": "隐藏",
|
|
134
|
+
"luckda.lowcode.painter.panel-section.actionEditor.disable": "禁用",
|
|
135
|
+
"luckda.lowcode.painter.panel-section.actionEditor.default": "一般",
|
|
136
|
+
"luckda.lowcode.painter.panel-section.actionEditor.primary": "重要",
|
|
137
|
+
"luckda.lowcode.painter.panel-section.actionEditor.danger": "危险",
|
|
138
|
+
"luckda.lowcode.painter.panel-section.actionEditor.destroy": "毁灭",
|
|
139
|
+
"luckda.lowcode.painter.panel-section.actionEditor.name": "名称",
|
|
140
|
+
"luckda.lowcode.painter.panel-section.actionEditor.name.placeholder": "请输入行为名称",
|
|
141
|
+
"luckda.lowcode.painter.panel-section.actionEditor.serial": "资源串",
|
|
142
|
+
"luckda.lowcode.painter.panel-section.actionEditor.serial.placeholder": "请输入行为名称",
|
|
143
|
+
"luckda.lowcode.painter.panel-section.actionEditor.serialEffect": "风险等级",
|
|
144
|
+
"luckda.lowcode.painter.panel-section.actionEditor.actionPool": "行为池",
|
|
145
|
+
"luckda.lowcode.painter.coder": "编码器",
|
|
146
|
+
"luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
|
|
147
|
+
"luckda.lowcode.painter.panel-section.field-selector.placeholder": "请选择字段",
|
|
148
|
+
"luckda.lowcode.painter.advancePanel.events": "事件",
|
|
149
|
+
"luckda.lowcode.painter.advancePanel.addEventAction": "添加事件动作",
|
|
150
|
+
"luckda.lowcode.painter.actionBindModal.actions": "页面行为",
|
|
151
|
+
"luckda.lowcode.painter.actionBindModal.trigger": "触发器",
|
|
152
|
+
"luckda.lowcode.painter.actionBindModal.code": "自定义动作",
|
|
153
|
+
"luckda.lowcode.painter.actionBindModal.coding": "动作编写",
|
|
154
|
+
"luckda.lowcode.painter.actionBindModal.bind": "绑定动作",
|
|
155
|
+
"luckda.lowcode.painter.actionBindModal.search": "搜索",
|
|
156
|
+
"luckda.lowcode.painter.components.fullscreen.tip": "全屏"
|
|
157
|
+
};
|
|
@@ -82,7 +82,7 @@ function _fetchPageData() {
|
|
|
82
82
|
groupName: '布局',
|
|
83
83
|
desc: '布局容器是一种提供列比例、列间距、行间距和样式等配置选项的元素,用于创建灵活的页面布局。它使用户能够轻松组织和排列组件,并实现各种复杂的布局需求。',
|
|
84
84
|
order: 1,
|
|
85
|
-
|
|
85
|
+
css: {},
|
|
86
86
|
columnRatio: '12:3:9',
|
|
87
87
|
columnSpacing: 16,
|
|
88
88
|
lineSpacing: 16,
|
|
@@ -98,9 +98,9 @@ function _fetchPageData() {
|
|
|
98
98
|
group: 'container',
|
|
99
99
|
groupName: '布局',
|
|
100
100
|
order: 3,
|
|
101
|
+
css: 'height: auto; background-color: #5cdbd3',
|
|
101
102
|
style: {
|
|
102
|
-
gridColumn: 'span 12'
|
|
103
|
-
height: 'auto'
|
|
103
|
+
gridColumn: 'span 12'
|
|
104
104
|
},
|
|
105
105
|
id: 'box_xFuKLKBI'
|
|
106
106
|
},
|
|
@@ -137,9 +137,9 @@ function _fetchPageData() {
|
|
|
137
137
|
groupName: '布局',
|
|
138
138
|
order: 3,
|
|
139
139
|
style: {
|
|
140
|
-
gridColumn: 'span 3'
|
|
141
|
-
height: '60px'
|
|
140
|
+
gridColumn: 'span 3'
|
|
142
141
|
},
|
|
142
|
+
css: 'height: 60px; background-color: #fff',
|
|
143
143
|
id: 'box_jeVHiHZV'
|
|
144
144
|
},
|
|
145
145
|
children: ['tree_hh2b87qs'],
|
|
@@ -149,7 +149,10 @@ function _fetchPageData() {
|
|
|
149
149
|
parentId: 'box_diam9dis',
|
|
150
150
|
group: 'advance',
|
|
151
151
|
component: 'Tree',
|
|
152
|
-
|
|
152
|
+
dataset: 'dsWmsStorageLocation',
|
|
153
|
+
name: '树',
|
|
154
|
+
defaultExpandDeep: '0',
|
|
155
|
+
doubleClick: true
|
|
153
156
|
}
|
|
154
157
|
}
|
|
155
158
|
},
|
|
@@ -163,9 +166,9 @@ function _fetchPageData() {
|
|
|
163
166
|
groupName: '布局',
|
|
164
167
|
order: 3,
|
|
165
168
|
style: {
|
|
166
|
-
gridColumn: 'span 9'
|
|
167
|
-
height: '360px'
|
|
169
|
+
gridColumn: 'span 9'
|
|
168
170
|
},
|
|
171
|
+
css: 'height: 360px; background-color: #fff',
|
|
169
172
|
id: 'box_5KLx4rGb'
|
|
170
173
|
},
|
|
171
174
|
children: ['table_diam9dis'],
|
|
@@ -182,7 +185,11 @@ function _fetchPageData() {
|
|
|
182
185
|
bordered: false,
|
|
183
186
|
zebra: '#e8e8e8',
|
|
184
187
|
autoLoad: true,
|
|
188
|
+
impexp: {
|
|
189
|
+
export: true
|
|
190
|
+
},
|
|
185
191
|
readOnly: false,
|
|
192
|
+
renderIndex: true,
|
|
186
193
|
pagination: true,
|
|
187
194
|
pageSize: 5,
|
|
188
195
|
showSizeChanger: true,
|
|
@@ -194,8 +201,9 @@ function _fetchPageData() {
|
|
|
194
201
|
actions: {
|
|
195
202
|
display: 'button',
|
|
196
203
|
max: 2,
|
|
204
|
+
moreText: '操作',
|
|
197
205
|
todoList: [{
|
|
198
|
-
actionCode: '
|
|
206
|
+
actionCode: 'function todo(ctx) {\nconsole.log(111)\n}',
|
|
199
207
|
actionPool: ['lucy'],
|
|
200
208
|
id: 'h9ZZuLi6',
|
|
201
209
|
name: '领用',
|
|
@@ -203,7 +211,7 @@ function _fetchPageData() {
|
|
|
203
211
|
serial: 'read',
|
|
204
212
|
serialEffect: 'hidden'
|
|
205
213
|
}, {
|
|
206
|
-
actionCode: '
|
|
214
|
+
actionCode: 'function todo(ctx) {\nconsole.log(222)\n}',
|
|
207
215
|
actionPool: ['lucy'],
|
|
208
216
|
id: 'h9ZZuLi4',
|
|
209
217
|
name: '作废',
|
|
@@ -211,7 +219,7 @@ function _fetchPageData() {
|
|
|
211
219
|
serial: 'read',
|
|
212
220
|
serialEffect: 'hidden'
|
|
213
221
|
}, {
|
|
214
|
-
actionCode: '
|
|
222
|
+
actionCode: 'function todo(ctx) {\nconsole.log(333)\n}',
|
|
215
223
|
actionPool: ['lucy'],
|
|
216
224
|
id: 'h9ZZuLi2',
|
|
217
225
|
name: '上报',
|
|
@@ -219,7 +227,58 @@ function _fetchPageData() {
|
|
|
219
227
|
serial: 'read',
|
|
220
228
|
serialEffect: 'hidden'
|
|
221
229
|
}]
|
|
222
|
-
}
|
|
230
|
+
},
|
|
231
|
+
topActionGroup: {
|
|
232
|
+
display: 'button',
|
|
233
|
+
max: 2,
|
|
234
|
+
moreText: '更多行为',
|
|
235
|
+
todoList: [{
|
|
236
|
+
actionCode: 'function todo(ctx) {\nconsole.log(1234, ctx)\n}',
|
|
237
|
+
actionPool: ['lucy', 'sin2k98j'],
|
|
238
|
+
id: 'ms8e2ik2',
|
|
239
|
+
name: '新建',
|
|
240
|
+
riskLevel: 'danger',
|
|
241
|
+
serial: 'add',
|
|
242
|
+
serialEffect: 'hidden'
|
|
243
|
+
}, {
|
|
244
|
+
actionCode: 'function todo(ctx) {\nconsole.log(5678, ctx)\n}',
|
|
245
|
+
actionPool: ['lucy'],
|
|
246
|
+
id: 'z0op2ijh',
|
|
247
|
+
name: '作废',
|
|
248
|
+
riskLevel: 'destroy',
|
|
249
|
+
serial: 'delete',
|
|
250
|
+
serialEffect: 'hidden'
|
|
251
|
+
}, {
|
|
252
|
+
actionCode: 'function todo(ctx) {\nconsole.log(9876, ctx.pageData)\n}',
|
|
253
|
+
actionPool: ['lucy'],
|
|
254
|
+
id: 'bndty2hn',
|
|
255
|
+
name: '查阅',
|
|
256
|
+
riskLevel: 'default',
|
|
257
|
+
serial: 'read',
|
|
258
|
+
serialEffect: 'hidden'
|
|
259
|
+
}, {
|
|
260
|
+
actionCode: 'function todo(ctx) {\nconsole.log(9999)\n}',
|
|
261
|
+
actionPool: ['lucy'],
|
|
262
|
+
id: 'zsio2a13',
|
|
263
|
+
name: '导入',
|
|
264
|
+
riskLevel: 'default',
|
|
265
|
+
serial: 'import',
|
|
266
|
+
serialEffect: 'disable'
|
|
267
|
+
}, {
|
|
268
|
+
actionCode: 'function todo(ctx) {\nconsole.log(4444)\n}',
|
|
269
|
+
actionPool: ['lucy'],
|
|
270
|
+
id: 'nnhgww00',
|
|
271
|
+
name: '上报',
|
|
272
|
+
riskLevel: 'default',
|
|
273
|
+
serial: 'update',
|
|
274
|
+
serialEffect: 'hidden'
|
|
275
|
+
}]
|
|
276
|
+
},
|
|
277
|
+
rowSelection: true,
|
|
278
|
+
suppressRowSelectionPagination: false,
|
|
279
|
+
rowSelectionMode: 'multiple',
|
|
280
|
+
defaultRowSelectedCode: "function getRowDefaultSelected(data, node, ctx) { \n return data.classify_name === '学习用品'; \n}",
|
|
281
|
+
rowSelectableCode: "function getRowSelectable(data, node, ctx) { \n return data.classify_name !== '专用物资(运总)'; \n}"
|
|
223
282
|
}
|
|
224
283
|
}
|
|
225
284
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.RUNTIME = exports.CELL_KEY = exports.CELL_CLASS_NAME = void 0;
|
|
6
|
+
exports.RUNTIME = exports.CONTAINER_UNIT = exports.CELL_KEY_LIST = exports.CELL_KEY = exports.CELL_CLASS_NAME = void 0;
|
|
7
7
|
var RUNTIME = exports.RUNTIME = {
|
|
8
8
|
LIVE: 'live',
|
|
9
9
|
DESIGN: 'design',
|
|
@@ -15,4 +15,6 @@ var CELL_KEY = exports.CELL_KEY = {
|
|
|
15
15
|
PAGE_HEADER: 'page_header',
|
|
16
16
|
PAGE_CONTENT: 'page_content',
|
|
17
17
|
PAGE_FOOTER: 'page_footer'
|
|
18
|
-
};
|
|
18
|
+
};
|
|
19
|
+
var CELL_KEY_LIST = exports.CELL_KEY_LIST = Object.values(CELL_KEY);
|
|
20
|
+
var CONTAINER_UNIT = exports.CONTAINER_UNIT = 'Box';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
11
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
12
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
13
|
+
var _antd = require("luck-design/antd");
|
|
14
|
+
var _Strategy2 = _interopRequireDefault(require("./Strategy"));
|
|
15
|
+
var _TYPE_ = 'checkbox';
|
|
16
|
+
var CheckboxStrategy = exports.default = /*#__PURE__*/function (_Strategy) {
|
|
17
|
+
(0, _inherits2.default)(CheckboxStrategy, _Strategy);
|
|
18
|
+
var _super = (0, _createSuper2.default)(CheckboxStrategy);
|
|
19
|
+
function CheckboxStrategy(factory) {
|
|
20
|
+
var _this;
|
|
21
|
+
(0, _classCallCheck2.default)(this, CheckboxStrategy);
|
|
22
|
+
_this = _super.call(this, _TYPE_);
|
|
23
|
+
factory.register(_TYPE_, (0, _assertThisInitialized2.default)(_this));
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
(0, _createClass2.default)(CheckboxStrategy, [{
|
|
27
|
+
key: "match",
|
|
28
|
+
value: function match(type) {
|
|
29
|
+
return type === _TYPE_;
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
key: "builder",
|
|
33
|
+
value: function builder() {
|
|
34
|
+
return _antd.Checkbox.Group;
|
|
35
|
+
}
|
|
36
|
+
}]);
|
|
37
|
+
return CheckboxStrategy;
|
|
38
|
+
}(_Strategy2.default);
|
|
@@ -11,6 +11,7 @@ var _StringStrategy = _interopRequireDefault(require("./StringStrategy"));
|
|
|
11
11
|
var _NumberStrategy = _interopRequireDefault(require("./NumberStrategy"));
|
|
12
12
|
var _SelectStrategy = _interopRequireDefault(require("./SelectStrategy"));
|
|
13
13
|
var _SwitchStrategy = _interopRequireDefault(require("./SwitchStrategy"));
|
|
14
|
+
var _CheckboxStrategy = _interopRequireDefault(require("./CheckboxStrategy"));
|
|
14
15
|
var _SegmentedStrategy = _interopRequireDefault(require("./SegmentedStrategy"));
|
|
15
16
|
var _DynamicStrategy = _interopRequireDefault(require("./DynamicStrategy"));
|
|
16
17
|
var _GroupStrategy = _interopRequireDefault(require("./GroupStrategy"));
|
|
@@ -27,6 +28,7 @@ var Factory = exports.default = /*#__PURE__*/function () {
|
|
|
27
28
|
new _NumberStrategy.default(this);
|
|
28
29
|
new _DynamicStrategy.default(this);
|
|
29
30
|
new _SelectStrategy.default(this);
|
|
31
|
+
new _CheckboxStrategy.default(this);
|
|
30
32
|
new _SegmentedStrategy.default(this);
|
|
31
33
|
new _SwitchStrategy.default(this);
|
|
32
34
|
new _GroupStrategy.default(this);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"disabled": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"key": "
|
|
17
|
+
"key": "dataset",
|
|
18
18
|
"name": "首次数据自动加载",
|
|
19
19
|
"desc": "选择系统中的可用树形数据集",
|
|
20
20
|
"type": "_DataSetSelector"
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
"type": "_ActionSelector"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
|
-
"style": {},
|
|
98
97
|
"advance": {
|
|
99
98
|
"events": [
|
|
100
99
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"disabled": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"key": "
|
|
17
|
+
"key": "dataset",
|
|
18
18
|
"name": "首次数据自动加载",
|
|
19
19
|
"desc": "选择系统中的可用树形数据集",
|
|
20
20
|
"type": "_DataSetSelector"
|
|
@@ -85,7 +85,6 @@
|
|
|
85
85
|
"type": "number"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
|
-
"style": {},
|
|
89
88
|
"advance": {
|
|
90
89
|
"events": [
|
|
91
90
|
{
|