@luck-design-biz/luckda 1.0.2-13 → 1.0.2-13tl
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/LICENSE +21 -21
- package/README.md +40 -40
- package/es/components/LDActions/index.less +70 -70
- package/es/components/LdGrid/index.js +4 -4
- package/es/components/LdGridForm/index.less +7 -7
- package/es/components/LdTree/index.less +42 -42
- package/es/helper/action.js +6 -6
- package/es/helper/form.js +14 -14
- package/es/helper/index.less +7 -7
- package/es/locales/zh-CN.js +1 -1
- package/es/lowcode/constants/api-url.js +121 -121
- package/es/lowcode/engine/meta/components-list.json +6 -6
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +30 -30
- package/es/lowcode/engine/meta/proxy.props.default.json +15 -0
- package/es/lowcode/engine/meta/proxy.props.json +66 -0
- package/es/lowcode/engine/provider/ContextProvider/index.js +44 -44
- package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js +16 -16
- package/es/lowcode/engine/tools/dataProcess.js +76 -76
- package/es/lowcode/painter/Components.js +2 -2
- package/es/lowcode/painter/components/Collapse.js +26 -26
- package/es/lowcode/painter/components/ColorInput.js +24 -24
- package/es/lowcode/painter/components/ListEditor.js +24 -24
- package/es/lowcode/painter/components/NumberInput.js +28 -28
- package/es/lowcode/painter/components/PanelItem.js +24 -24
- package/es/lowcode/painter/components/PopConfirm.js +8 -8
- package/es/lowcode/painter/components/PopForm.js +27 -27
- package/es/lowcode/painter/components/RuleInput.js +30 -30
- package/es/lowcode/painter/components/SortBox.js +22 -22
- package/es/lowcode/painter/components/TreeEditor.js +10 -10
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
- package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
- package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
- package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/es/lowcode/painter/panel-section/Icon.js +23 -23
- package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
- package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
- package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
- package/es/lowcode/painter/style/action-bind-modal.less +104 -104
- package/es/lowcode/painter/style/actions-editor.less +15 -15
- package/es/lowcode/painter/style/border-editor.less +36 -36
- package/es/lowcode/painter/style/border-radius-selector.less +42 -42
- package/es/lowcode/painter/style/border-selector.less +39 -39
- package/es/lowcode/painter/style/button-type.less +5 -5
- package/es/lowcode/painter/style/collapse.less +28 -28
- package/es/lowcode/painter/style/color-input.less +19 -19
- package/es/lowcode/painter/style/components.less +91 -91
- package/es/lowcode/painter/style/design.less +178 -178
- package/es/lowcode/painter/style/display.less +17 -17
- package/es/lowcode/painter/style/dragdrop.less +56 -56
- package/es/lowcode/painter/style/fields-setting.less +25 -25
- package/es/lowcode/painter/style/font-editor.less +9 -9
- package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
- package/es/lowcode/painter/style/history.less +46 -46
- package/es/lowcode/painter/style/icon-selector.less +22 -22
- package/es/lowcode/painter/style/icon.less +10 -10
- package/es/lowcode/painter/style/impexp.less +7 -7
- package/es/lowcode/painter/style/index.less +6 -6
- package/es/lowcode/painter/style/layout-ratio.less +51 -51
- package/es/lowcode/painter/style/list-editor.less +97 -97
- package/es/lowcode/painter/style/number-input.less +19 -19
- package/es/lowcode/painter/style/outline.less +30 -30
- package/es/lowcode/painter/style/page-layout-display.less +27 -27
- package/es/lowcode/painter/style/page-vars.less +25 -25
- package/es/lowcode/painter/style/panel-attrs.less +47 -47
- package/es/lowcode/painter/style/panel-item.less +54 -54
- package/es/lowcode/painter/style/panel.less +100 -100
- package/es/lowcode/painter/style/pop-confirm.less +17 -17
- package/es/lowcode/painter/style/pop-form.less +19 -19
- package/es/lowcode/painter/style/radio.less +24 -24
- package/es/lowcode/painter/style/ribbon.less +7 -7
- package/es/lowcode/painter/style/rule-input.less +12 -12
- package/es/lowcode/painter/style/split-display.less +18 -18
- package/es/lowcode/painter/style/style-panel.less +37 -37
- package/es/lowcode/painter/style/tabitems.less +90 -90
- package/es/lowcode/painter/svg/code.svg +3 -3
- package/es/lowcode/painter/svg/expect.svg +9 -9
- package/es/lowcode/view/lc-components/Box/index.js +4 -4
- package/es/lowcode/view/lc-components/Box/index.less +14 -14
- package/es/lowcode/view/lc-components/Box/meta.json +40 -40
- package/es/lowcode/view/lc-components/Button/index.js +33 -33
- package/es/lowcode/view/lc-components/Button/meta.json +127 -127
- package/es/lowcode/view/lc-components/Button/style.less +2 -2
- package/es/lowcode/view/lc-components/CardList/index.js +123 -123
- package/es/lowcode/view/lc-components/CardList/meta.json +332 -332
- package/es/lowcode/view/lc-components/Dialog/index.js +13 -13
- package/es/lowcode/view/lc-components/Dialog/index.less +12 -12
- package/es/lowcode/view/lc-components/Dialog/meta.json +224 -224
- package/es/lowcode/view/lc-components/Drawer/index.js +13 -13
- package/es/lowcode/view/lc-components/Drawer/index.less +13 -13
- package/es/lowcode/view/lc-components/Drawer/meta.json +242 -242
- package/es/lowcode/view/lc-components/FieldColor/meta.json +157 -157
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
- package/es/lowcode/view/lc-components/FieldDate/meta.json +140 -140
- package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +137 -137
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +166 -166
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
- package/es/lowcode/view/lc-components/FieldString/meta.json +152 -152
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
- package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -176
- package/es/lowcode/view/lc-components/FieldYear/meta.json +128 -128
- package/es/lowcode/view/lc-components/Form/index.js +20 -20
- package/es/lowcode/view/lc-components/Form/meta.json +629 -629
- package/es/lowcode/view/lc-components/GroupTree/index.js +23 -23
- package/es/lowcode/view/lc-components/GroupTree/index.less +11 -11
- package/es/lowcode/view/lc-components/GroupTree/meta.json +82 -82
- package/es/lowcode/view/lc-components/Iframe/meta.json +31 -31
- package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
- package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/es/lowcode/view/lc-components/ImEx/meta.json +134 -134
- package/es/lowcode/view/lc-components/Image/index.less +27 -27
- package/es/lowcode/view/lc-components/Image/meta.json +149 -149
- package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/es/lowcode/view/lc-components/JSX/meta.json +29 -29
- package/es/lowcode/view/lc-components/Layout/index.js +16 -16
- package/es/lowcode/view/lc-components/Layout/index.less +5 -5
- package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
- package/es/lowcode/view/lc-components/Link/index.less +15 -15
- package/es/lowcode/view/lc-components/Link/meta.json +112 -112
- package/es/lowcode/view/lc-components/Page/meta.json +61 -61
- package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageLayout/meta.json +59 -59
- package/es/lowcode/view/lc-components/Section/index.less +7 -7
- package/es/lowcode/view/lc-components/Section/meta.json +108 -108
- package/es/lowcode/view/lc-components/Split/meta.json +53 -53
- package/es/lowcode/view/lc-components/Table/components/TopImex.js +16 -13
- package/es/lowcode/view/lc-components/Table/index.js +148 -148
- package/es/lowcode/view/lc-components/Table/meta.json +443 -443
- package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
- package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/es/lowcode/view/lc-components/Text/meta.json +56 -56
- package/es/lowcode/view/lc-components/Tree/index.js +96 -96
- package/es/lowcode/view/lc-components/Tree/index.less +4 -4
- package/es/lowcode/view/lc-components/Tree/meta.json +353 -353
- package/es/lowcode/view/style/canvas.less +5 -5
- package/es/lowcode/view/style/loading.less +98 -98
- package/es/lowcode/view/style/page.less +7 -7
- package/es/upload/FilesWall/index.js +13 -13
- package/es/upload/FilesWall/index.less +74 -74
- package/es/upload/Form/index.less +7 -7
- package/es/upload/FormItem/index.js +15 -15
- package/es/utils/form.js +25 -24
- package/es/utils/grid.js +8 -2
- package/lib/components/LDActions/index.less +70 -70
- package/lib/components/LdGrid/index.js +4 -4
- package/lib/components/LdGridForm/index.less +7 -7
- package/lib/components/LdTree/index.less +42 -42
- package/lib/helper/action.js +6 -6
- package/lib/helper/form.js +14 -14
- package/lib/helper/index.less +7 -7
- package/lib/locales/zh-CN.js +1 -1
- package/lib/lowcode/constants/api-url.js +121 -121
- package/lib/lowcode/engine/meta/components-list.json +6 -6
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +30 -30
- package/lib/lowcode/engine/meta/proxy.props.default.json +15 -0
- package/lib/lowcode/engine/meta/proxy.props.json +66 -0
- package/lib/lowcode/engine/provider/ContextProvider/index.js +44 -44
- package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js +16 -16
- package/lib/lowcode/engine/tools/dataProcess.js +76 -76
- package/lib/lowcode/painter/Components.js +2 -2
- package/lib/lowcode/painter/components/Collapse.js +26 -26
- package/lib/lowcode/painter/components/ColorInput.js +24 -24
- package/lib/lowcode/painter/components/ListEditor.js +24 -24
- package/lib/lowcode/painter/components/NumberInput.js +28 -28
- package/lib/lowcode/painter/components/PanelItem.js +24 -24
- package/lib/lowcode/painter/components/PopConfirm.js +8 -8
- package/lib/lowcode/painter/components/PopForm.js +27 -27
- package/lib/lowcode/painter/components/RuleInput.js +30 -30
- package/lib/lowcode/painter/components/SortBox.js +22 -22
- package/lib/lowcode/painter/components/TreeEditor.js +10 -10
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
- package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
- package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/lib/lowcode/painter/panel-section/Icon.js +23 -23
- package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
- package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
- package/lib/lowcode/painter/style/action-bind-modal.less +104 -104
- package/lib/lowcode/painter/style/actions-editor.less +15 -15
- package/lib/lowcode/painter/style/border-editor.less +36 -36
- package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
- package/lib/lowcode/painter/style/border-selector.less +39 -39
- package/lib/lowcode/painter/style/button-type.less +5 -5
- package/lib/lowcode/painter/style/collapse.less +28 -28
- package/lib/lowcode/painter/style/color-input.less +19 -19
- package/lib/lowcode/painter/style/components.less +91 -91
- package/lib/lowcode/painter/style/design.less +178 -178
- package/lib/lowcode/painter/style/display.less +17 -17
- package/lib/lowcode/painter/style/dragdrop.less +56 -56
- package/lib/lowcode/painter/style/fields-setting.less +25 -25
- package/lib/lowcode/painter/style/font-editor.less +9 -9
- package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
- package/lib/lowcode/painter/style/history.less +46 -46
- package/lib/lowcode/painter/style/icon-selector.less +22 -22
- package/lib/lowcode/painter/style/icon.less +10 -10
- package/lib/lowcode/painter/style/impexp.less +7 -7
- package/lib/lowcode/painter/style/index.less +6 -6
- package/lib/lowcode/painter/style/layout-ratio.less +51 -51
- package/lib/lowcode/painter/style/list-editor.less +97 -97
- package/lib/lowcode/painter/style/number-input.less +19 -19
- package/lib/lowcode/painter/style/outline.less +30 -30
- package/lib/lowcode/painter/style/page-layout-display.less +27 -27
- package/lib/lowcode/painter/style/page-vars.less +25 -25
- package/lib/lowcode/painter/style/panel-attrs.less +47 -47
- package/lib/lowcode/painter/style/panel-item.less +54 -54
- package/lib/lowcode/painter/style/panel.less +100 -100
- package/lib/lowcode/painter/style/pop-confirm.less +17 -17
- package/lib/lowcode/painter/style/pop-form.less +19 -19
- package/lib/lowcode/painter/style/radio.less +24 -24
- package/lib/lowcode/painter/style/ribbon.less +7 -7
- package/lib/lowcode/painter/style/rule-input.less +12 -12
- package/lib/lowcode/painter/style/split-display.less +18 -18
- package/lib/lowcode/painter/style/style-panel.less +37 -37
- package/lib/lowcode/painter/style/tabitems.less +90 -90
- package/lib/lowcode/painter/svg/code.svg +3 -3
- package/lib/lowcode/painter/svg/expect.svg +9 -9
- package/lib/lowcode/view/lc-components/Box/index.js +4 -4
- package/lib/lowcode/view/lc-components/Box/index.less +14 -14
- package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
- package/lib/lowcode/view/lc-components/Button/index.js +33 -33
- package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
- package/lib/lowcode/view/lc-components/Button/style.less +2 -2
- package/lib/lowcode/view/lc-components/CardList/index.js +123 -123
- package/lib/lowcode/view/lc-components/CardList/meta.json +332 -332
- package/lib/lowcode/view/lc-components/Dialog/index.js +13 -13
- package/lib/lowcode/view/lc-components/Dialog/index.less +12 -12
- package/lib/lowcode/view/lc-components/Dialog/meta.json +224 -224
- package/lib/lowcode/view/lc-components/Drawer/index.js +13 -13
- package/lib/lowcode/view/lc-components/Drawer/index.less +13 -13
- package/lib/lowcode/view/lc-components/Drawer/meta.json +242 -242
- package/lib/lowcode/view/lc-components/FieldColor/meta.json +157 -157
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +140 -140
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +137 -137
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +166 -166
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
- package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -152
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -176
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +128 -128
- package/lib/lowcode/view/lc-components/Form/index.js +20 -20
- package/lib/lowcode/view/lc-components/Form/meta.json +629 -629
- package/lib/lowcode/view/lc-components/GroupTree/index.js +23 -23
- package/lib/lowcode/view/lc-components/GroupTree/index.less +11 -11
- package/lib/lowcode/view/lc-components/GroupTree/meta.json +82 -82
- package/lib/lowcode/view/lc-components/Iframe/meta.json +31 -31
- package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
- package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/lib/lowcode/view/lc-components/ImEx/meta.json +134 -134
- package/lib/lowcode/view/lc-components/Image/index.less +27 -27
- package/lib/lowcode/view/lc-components/Image/meta.json +149 -149
- package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/lib/lowcode/view/lc-components/JSX/meta.json +29 -29
- package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
- package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
- package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
- package/lib/lowcode/view/lc-components/Link/index.less +15 -15
- package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
- package/lib/lowcode/view/lc-components/Page/meta.json +61 -61
- package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageLayout/meta.json +59 -59
- package/lib/lowcode/view/lc-components/Section/index.less +7 -7
- package/lib/lowcode/view/lc-components/Section/meta.json +108 -108
- package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js +16 -13
- package/lib/lowcode/view/lc-components/Table/index.js +148 -148
- package/lib/lowcode/view/lc-components/Table/meta.json +443 -443
- package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
- package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/lib/lowcode/view/lc-components/Text/meta.json +56 -56
- package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
- package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
- package/lib/lowcode/view/lc-components/Tree/meta.json +353 -353
- package/lib/lowcode/view/style/canvas.less +5 -5
- package/lib/lowcode/view/style/loading.less +98 -98
- package/lib/lowcode/view/style/page.less +7 -7
- package/lib/upload/FilesWall/index.js +13 -13
- package/lib/upload/FilesWall/index.less +74 -74
- package/lib/upload/Form/index.less +7 -7
- package/lib/upload/FormItem/index.js +15 -15
- package/lib/utils/form.js +24 -23
- package/lib/utils/grid.js +9 -3
- package/lowcode.js +1 -1
- package/package.json +175 -175
- package/upload.js +1 -1
- package/utils.js +1 -1
|
@@ -16,27 +16,27 @@ var API_PREFIX_PAGE = "".concat(api.LUCKDA_HOST, "/page");
|
|
|
16
16
|
var API_PREFIX_MODULE = "".concat(api.LUCKDA_HOST, "/module");
|
|
17
17
|
var API_RREFIX_DATASET = "".concat(API_PREFIX_MODULE, "/dataset");
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* 获取历史版本列表
|
|
21
|
-
* @async
|
|
22
|
-
* @function fetchHistoryVersionList
|
|
23
|
-
* @param {Object} params - 请求参数
|
|
24
|
-
* @param {string} params.pageCode - 菜单编码
|
|
25
|
-
* @returns {Promise<Object>} 返回历史版本列表的Promise
|
|
19
|
+
/**
|
|
20
|
+
* 获取历史版本列表
|
|
21
|
+
* @async
|
|
22
|
+
* @function fetchHistoryVersionList
|
|
23
|
+
* @param {Object} params - 请求参数
|
|
24
|
+
* @param {string} params.pageCode - 菜单编码
|
|
25
|
+
* @returns {Promise<Object>} 返回历史版本列表的Promise
|
|
26
26
|
*/
|
|
27
27
|
export function fetchHistoryVersionList(_x) {
|
|
28
28
|
return _fetchHistoryVersionList.apply(this, arguments);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
/**
|
|
32
|
-
* 添加历史版本
|
|
33
|
-
* @async
|
|
34
|
-
* @function fetchAddHistoryVersion
|
|
35
|
-
* @param {Object} data - 要添加的历史版本数据
|
|
36
|
-
* @param {string} params.pageCode - 菜单编码
|
|
37
|
-
* @param {string} params.backupName - 版本名称
|
|
38
|
-
* @param {string} params.backupNote - 版本描述
|
|
39
|
-
* @returns {Promise<Object>} 返回添加历史版本的Promise
|
|
31
|
+
/**
|
|
32
|
+
* 添加历史版本
|
|
33
|
+
* @async
|
|
34
|
+
* @function fetchAddHistoryVersion
|
|
35
|
+
* @param {Object} data - 要添加的历史版本数据
|
|
36
|
+
* @param {string} params.pageCode - 菜单编码
|
|
37
|
+
* @param {string} params.backupName - 版本名称
|
|
38
|
+
* @param {string} params.backupNote - 版本描述
|
|
39
|
+
* @returns {Promise<Object>} 返回添加历史版本的Promise
|
|
40
40
|
*/
|
|
41
41
|
function _fetchHistoryVersionList() {
|
|
42
42
|
_fetchHistoryVersionList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
@@ -58,13 +58,13 @@ export function fetchAddHistoryVersion(_x2) {
|
|
|
58
58
|
return _fetchAddHistoryVersion.apply(this, arguments);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
/**
|
|
62
|
-
* 删除历史版本
|
|
63
|
-
* @async
|
|
64
|
-
* @function fetchDelHistoryVersion
|
|
65
|
-
* @param {Object} data - 要删除的历史版本数据
|
|
66
|
-
* @param {string} data.uid - 历史版本的唯一标识
|
|
67
|
-
* @returns {Promise<Object>} 返回删除历史版本的Promise
|
|
61
|
+
/**
|
|
62
|
+
* 删除历史版本
|
|
63
|
+
* @async
|
|
64
|
+
* @function fetchDelHistoryVersion
|
|
65
|
+
* @param {Object} data - 要删除的历史版本数据
|
|
66
|
+
* @param {string} data.uid - 历史版本的唯一标识
|
|
67
|
+
* @returns {Promise<Object>} 返回删除历史版本的Promise
|
|
68
68
|
*/
|
|
69
69
|
function _fetchAddHistoryVersion() {
|
|
70
70
|
_fetchAddHistoryVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(data) {
|
|
@@ -87,13 +87,13 @@ export function fetchDelHistoryVersion(_x3) {
|
|
|
87
87
|
return _fetchDelHistoryVersion.apply(this, arguments);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
/**
|
|
91
|
-
* 恢复历史版本
|
|
92
|
-
* @async
|
|
93
|
-
* @function fetchRecoverHistoryVersion
|
|
94
|
-
* @param {Object} data - 要恢复的历史版本数据
|
|
95
|
-
* @param {string} data.uid - 历史版本的唯一标识
|
|
96
|
-
* @returns {Promise<Object>} 返回恢复历史版本的Promise
|
|
90
|
+
/**
|
|
91
|
+
* 恢复历史版本
|
|
92
|
+
* @async
|
|
93
|
+
* @function fetchRecoverHistoryVersion
|
|
94
|
+
* @param {Object} data - 要恢复的历史版本数据
|
|
95
|
+
* @param {string} data.uid - 历史版本的唯一标识
|
|
96
|
+
* @returns {Promise<Object>} 返回恢复历史版本的Promise
|
|
97
97
|
*/
|
|
98
98
|
function _fetchDelHistoryVersion() {
|
|
99
99
|
_fetchDelHistoryVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(data) {
|
|
@@ -116,13 +116,13 @@ export function fetchRecoverHistoryVersion(_x4) {
|
|
|
116
116
|
return _fetchRecoverHistoryVersion.apply(this, arguments);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
/**
|
|
120
|
-
* 通过菜单编码获取page相关数据
|
|
121
|
-
* @async
|
|
122
|
-
* @function fetchPageData
|
|
123
|
-
* @param {Object} params - 请求参数
|
|
124
|
-
* @param {string} params.code - 菜单编码
|
|
125
|
-
* @returns {Promise<Object>} 返回page相关数据的Promise
|
|
119
|
+
/**
|
|
120
|
+
* 通过菜单编码获取page相关数据
|
|
121
|
+
* @async
|
|
122
|
+
* @function fetchPageData
|
|
123
|
+
* @param {Object} params - 请求参数
|
|
124
|
+
* @param {string} params.code - 菜单编码
|
|
125
|
+
* @returns {Promise<Object>} 返回page相关数据的Promise
|
|
126
126
|
*/
|
|
127
127
|
function _fetchRecoverHistoryVersion() {
|
|
128
128
|
_fetchRecoverHistoryVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(data) {
|
|
@@ -145,9 +145,9 @@ export function fetchPageData(_x5) {
|
|
|
145
145
|
return _fetchPageData.apply(this, arguments);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
/**
|
|
149
|
-
* 获取design时模块数据
|
|
150
|
-
* @param {{moduleCode: string}} params
|
|
148
|
+
/**
|
|
149
|
+
* 获取design时模块数据
|
|
150
|
+
* @param {{moduleCode: string}} params
|
|
151
151
|
*/
|
|
152
152
|
function _fetchPageData() {
|
|
153
153
|
_fetchPageData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) {
|
|
@@ -169,11 +169,11 @@ export function fetchDesignModlueData(_x6, _x7) {
|
|
|
169
169
|
return _fetchDesignModlueData.apply(this, arguments);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
/**
|
|
173
|
-
* 获取preview时模块数据
|
|
174
|
-
* @param {*} dmCode
|
|
175
|
-
* @param {*} params
|
|
176
|
-
* @returns
|
|
172
|
+
/**
|
|
173
|
+
* 获取preview时模块数据
|
|
174
|
+
* @param {*} dmCode
|
|
175
|
+
* @param {*} params
|
|
176
|
+
* @returns
|
|
177
177
|
*/
|
|
178
178
|
function _fetchDesignModlueData() {
|
|
179
179
|
_fetchDesignModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(_, params) {
|
|
@@ -196,9 +196,9 @@ export function fetchPreviewModlueData(_x8, _x9) {
|
|
|
196
196
|
return _fetchPreviewModlueData.apply(this, arguments);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
/**
|
|
200
|
-
* 获取live时模块数据
|
|
201
|
-
* @param {{moduleCode: string}} params
|
|
199
|
+
/**
|
|
200
|
+
* 获取live时模块数据
|
|
201
|
+
* @param {{moduleCode: string}} params
|
|
202
202
|
*/
|
|
203
203
|
function _fetchPreviewModlueData() {
|
|
204
204
|
_fetchPreviewModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(dmCode, params) {
|
|
@@ -221,9 +221,9 @@ export function fetchModlueData(_x10, _x11) {
|
|
|
221
221
|
return _fetchModlueData.apply(this, arguments);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
/**
|
|
225
|
-
* 获取数据模型下的所有数据集
|
|
226
|
-
* @param {{ dataModelKey }} params
|
|
224
|
+
/**
|
|
225
|
+
* 获取数据模型下的所有数据集
|
|
226
|
+
* @param {{ dataModelKey }} params
|
|
227
227
|
*/
|
|
228
228
|
function _fetchModlueData() {
|
|
229
229
|
_fetchModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(dmCode, params) {
|
|
@@ -246,9 +246,9 @@ export function fetchAllDataset(_x12) {
|
|
|
246
246
|
return _fetchAllDataset.apply(this, arguments);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
/**
|
|
250
|
-
* 向模块中添加数据集
|
|
251
|
-
* @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
|
|
249
|
+
/**
|
|
250
|
+
* 向模块中添加数据集
|
|
251
|
+
* @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
|
|
252
252
|
*/
|
|
253
253
|
function _fetchAllDataset() {
|
|
254
254
|
_fetchAllDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) {
|
|
@@ -270,9 +270,9 @@ export function fetchAddDataset(_x13) {
|
|
|
270
270
|
return _fetchAddDataset.apply(this, arguments);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
/**
|
|
274
|
-
* 获取数据集下的所有字段
|
|
275
|
-
* @param {{datasetUid}} params
|
|
273
|
+
/**
|
|
274
|
+
* 获取数据集下的所有字段
|
|
275
|
+
* @param {{datasetUid}} params
|
|
276
276
|
*/
|
|
277
277
|
function _fetchAddDataset() {
|
|
278
278
|
_fetchAddDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(data) {
|
|
@@ -295,10 +295,10 @@ export function fetchFieldsByDataset(_x14) {
|
|
|
295
295
|
return _fetchFieldsByDataset.apply(this, arguments);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
/**
|
|
299
|
-
* 获取字段配置条件
|
|
300
|
-
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
301
|
-
* @returns
|
|
298
|
+
/**
|
|
299
|
+
* 获取字段配置条件
|
|
300
|
+
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
301
|
+
* @returns
|
|
302
302
|
*/
|
|
303
303
|
function _fetchFieldsByDataset() {
|
|
304
304
|
_fetchFieldsByDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(params) {
|
|
@@ -320,9 +320,9 @@ export function fetchFieldCondition(_x15) {
|
|
|
320
320
|
return _fetchFieldCondition.apply(this, arguments);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
/**
|
|
324
|
-
* 更新是否标题字段
|
|
325
|
-
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
323
|
+
/**
|
|
324
|
+
* 更新是否标题字段
|
|
325
|
+
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
326
326
|
*/
|
|
327
327
|
function _fetchFieldCondition() {
|
|
328
328
|
_fetchFieldCondition = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) {
|
|
@@ -344,10 +344,10 @@ export function fetchUpdateTitleField(_x16) {
|
|
|
344
344
|
return _fetchUpdateTitleField.apply(this, arguments);
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
/**
|
|
348
|
-
* 更新是否唯一校验
|
|
349
|
-
* @param {*} data
|
|
350
|
-
* @returns
|
|
347
|
+
/**
|
|
348
|
+
* 更新是否唯一校验
|
|
349
|
+
* @param {*} data
|
|
350
|
+
* @returns
|
|
351
351
|
*/
|
|
352
352
|
function _fetchUpdateTitleField() {
|
|
353
353
|
_fetchUpdateTitleField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(data) {
|
|
@@ -370,9 +370,9 @@ export function fetchUpdateUniqueField(_x17) {
|
|
|
370
370
|
return _fetchUpdateUniqueField.apply(this, arguments);
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
/**
|
|
374
|
-
* 新增字段属性
|
|
375
|
-
* @param {*} data
|
|
373
|
+
/**
|
|
374
|
+
* 新增字段属性
|
|
375
|
+
* @param {*} data
|
|
376
376
|
*/
|
|
377
377
|
function _fetchUpdateUniqueField() {
|
|
378
378
|
_fetchUpdateUniqueField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(data) {
|
|
@@ -395,9 +395,9 @@ export function fetchAddFieldAttrs(_x18) {
|
|
|
395
395
|
return _fetchAddFieldAttrs.apply(this, arguments);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
/**
|
|
399
|
-
* 删除字段属性
|
|
400
|
-
* @param {*} data
|
|
398
|
+
/**
|
|
399
|
+
* 删除字段属性
|
|
400
|
+
* @param {*} data
|
|
401
401
|
*/
|
|
402
402
|
function _fetchAddFieldAttrs() {
|
|
403
403
|
_fetchAddFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(data) {
|
|
@@ -420,9 +420,9 @@ export function fetchDelAttrs(_x19) {
|
|
|
420
420
|
return _fetchDelAttrs.apply(this, arguments);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
/**
|
|
424
|
-
* 更新字段属性
|
|
425
|
-
* @param {*} params
|
|
423
|
+
/**
|
|
424
|
+
* 更新字段属性
|
|
425
|
+
* @param {*} params
|
|
426
426
|
*/
|
|
427
427
|
function _fetchDelAttrs() {
|
|
428
428
|
_fetchDelAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(data) {
|
|
@@ -445,10 +445,10 @@ export function fetchUpdateFieldAttrs(_x20) {
|
|
|
445
445
|
return _fetchUpdateFieldAttrs.apply(this, arguments);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
/**
|
|
449
|
-
* 读取字段配置的属性
|
|
450
|
-
* @param {{uid, scope}} params
|
|
451
|
-
* @returns
|
|
448
|
+
/**
|
|
449
|
+
* 读取字段配置的属性
|
|
450
|
+
* @param {{uid, scope}} params
|
|
451
|
+
* @returns
|
|
452
452
|
*/
|
|
453
453
|
function _fetchUpdateFieldAttrs() {
|
|
454
454
|
_fetchUpdateFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(data) {
|
|
@@ -471,10 +471,10 @@ export function fetchAttrs(_x21) {
|
|
|
471
471
|
return _fetchAttrs.apply(this, arguments);
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
-
/**
|
|
475
|
-
* 读取所有行为
|
|
476
|
-
* @param {{uid}} params
|
|
477
|
-
* @returns
|
|
474
|
+
/**
|
|
475
|
+
* 读取所有行为
|
|
476
|
+
* @param {{uid}} params
|
|
477
|
+
* @returns
|
|
478
478
|
*/
|
|
479
479
|
function _fetchAttrs() {
|
|
480
480
|
_fetchAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(params) {
|
|
@@ -496,10 +496,10 @@ export function fetchAllBehavior(_x22) {
|
|
|
496
496
|
return _fetchAllBehavior.apply(this, arguments);
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
/**
|
|
500
|
-
* 读取所有资源串
|
|
501
|
-
* @param {{uid}} params
|
|
502
|
-
* @returns
|
|
499
|
+
/**
|
|
500
|
+
* 读取所有资源串
|
|
501
|
+
* @param {{uid}} params
|
|
502
|
+
* @returns
|
|
503
503
|
*/
|
|
504
504
|
function _fetchAllBehavior() {
|
|
505
505
|
_fetchAllBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
|
|
@@ -521,10 +521,10 @@ export function fetchAllSerials(_x23) {
|
|
|
521
521
|
return _fetchAllSerials.apply(this, arguments);
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
/**
|
|
525
|
-
* 读取导入导出数据源
|
|
526
|
-
* @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
|
|
527
|
-
* @returns
|
|
524
|
+
/**
|
|
525
|
+
* 读取导入导出数据源
|
|
526
|
+
* @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
|
|
527
|
+
* @returns
|
|
528
528
|
*/
|
|
529
529
|
function _fetchAllSerials() {
|
|
530
530
|
_fetchAllSerials = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(params) {
|
|
@@ -566,20 +566,20 @@ export function getBehaviorUrl() {
|
|
|
566
566
|
return "".concat(api.API_HOST, "/").concat(mdCode, "/to/behavior/call");
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
/**
|
|
570
|
-
* 执行行为
|
|
571
|
-
* @param {*} params
|
|
572
|
-
* @param {*} data
|
|
573
|
-
* @returns
|
|
569
|
+
/**
|
|
570
|
+
* 执行行为
|
|
571
|
+
* @param {*} params
|
|
572
|
+
* @param {*} data
|
|
573
|
+
* @returns
|
|
574
574
|
*/
|
|
575
575
|
export function fetchCallBehavior(_x25, _x26) {
|
|
576
576
|
return _fetchCallBehavior.apply(this, arguments);
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
/**
|
|
580
|
-
* 清除当前模块缓存
|
|
581
|
-
* @param {{moduleCode}} params
|
|
582
|
-
* @returns
|
|
579
|
+
/**
|
|
580
|
+
* 清除当前模块缓存
|
|
581
|
+
* @param {{moduleCode}} params
|
|
582
|
+
* @returns
|
|
583
583
|
*/
|
|
584
584
|
function _fetchCallBehavior() {
|
|
585
585
|
_fetchCallBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(params, data) {
|
|
@@ -606,10 +606,10 @@ export function fetchClearCache(_x27) {
|
|
|
606
606
|
return _fetchClearCache.apply(this, arguments);
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
-
/**
|
|
610
|
-
* 更新页面配置数据
|
|
611
|
-
* @param {*} data
|
|
612
|
-
* @returns
|
|
609
|
+
/**
|
|
610
|
+
* 更新页面配置数据
|
|
611
|
+
* @param {*} data
|
|
612
|
+
* @returns
|
|
613
613
|
*/
|
|
614
614
|
function _fetchClearCache() {
|
|
615
615
|
_fetchClearCache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params) {
|
|
@@ -631,10 +631,10 @@ export function fetchUpdatePageData(_x28) {
|
|
|
631
631
|
return _fetchUpdatePageData.apply(this, arguments);
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
/**
|
|
635
|
-
* 获取数据字典
|
|
636
|
-
* @param {{snamealias}} params
|
|
637
|
-
* @returns
|
|
634
|
+
/**
|
|
635
|
+
* 获取数据字典
|
|
636
|
+
* @param {{snamealias}} params
|
|
637
|
+
* @returns
|
|
638
638
|
*/
|
|
639
639
|
function _fetchUpdatePageData() {
|
|
640
640
|
_fetchUpdatePageData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(data) {
|
|
@@ -657,10 +657,10 @@ export function fetchDataDic(_x29) {
|
|
|
657
657
|
return _fetchDataDic.apply(this, arguments);
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
/**
|
|
661
|
-
* 导出excel
|
|
662
|
-
* @param {*} data
|
|
663
|
-
* @returns
|
|
660
|
+
/**
|
|
661
|
+
* 导出excel
|
|
662
|
+
* @param {*} data
|
|
663
|
+
* @returns
|
|
664
664
|
*/
|
|
665
665
|
function _fetchDataDic() {
|
|
666
666
|
_fetchDataDic = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(params) {
|
|
@@ -682,10 +682,10 @@ export function exportExcel(_x30, _x31) {
|
|
|
682
682
|
return _exportExcel.apply(this, arguments);
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
/**
|
|
686
|
-
* 导入
|
|
687
|
-
* @param {*} params, data
|
|
688
|
-
* @returns
|
|
685
|
+
/**
|
|
686
|
+
* 导入
|
|
687
|
+
* @param {*} params, data
|
|
688
|
+
* @returns
|
|
689
689
|
*/
|
|
690
690
|
function _exportExcel() {
|
|
691
691
|
_exportExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(params, data) {
|
|
@@ -764,9 +764,9 @@ export function noAuthGetTemplateUrl(_x36) {
|
|
|
764
764
|
return _noAuthGetTemplateUrl.apply(this, arguments);
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
/**
|
|
768
|
-
* 页面预览调试获取模拟用户
|
|
769
|
-
* @param {string} sname
|
|
767
|
+
/**
|
|
768
|
+
* 页面预览调试获取模拟用户
|
|
769
|
+
* @param {string} sname
|
|
770
770
|
*/
|
|
771
771
|
function _noAuthGetTemplateUrl() {
|
|
772
772
|
_noAuthGetTemplateUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(params) {
|
|
@@ -69,18 +69,18 @@
|
|
|
69
69
|
"desc": "用于在当前文档中嵌入另一个独立的 HTML 文档、网页或其他类型的媒体内容。它提供了一种将外部内容嵌入到网页中的方法。",
|
|
70
70
|
"icon": "icon-iframe"
|
|
71
71
|
},
|
|
72
|
-
{
|
|
73
|
-
"component": "Image",
|
|
74
|
-
"name": "图片",
|
|
75
|
-
"desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
|
|
76
|
-
"icon": "icon-image"
|
|
77
|
-
},
|
|
78
72
|
{
|
|
79
73
|
"component": "ImEx",
|
|
80
74
|
"name": "导入导出",
|
|
81
75
|
"desc": "支持导入导出数据的按钮组件。",
|
|
82
76
|
"icon": "icon-imex"
|
|
83
77
|
},
|
|
78
|
+
{
|
|
79
|
+
"component": "Image",
|
|
80
|
+
"name": "图片",
|
|
81
|
+
"desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
|
|
82
|
+
"icon": "icon-image"
|
|
83
|
+
},
|
|
84
84
|
{
|
|
85
85
|
"component": "JSX",
|
|
86
86
|
"name": "jsx代码段",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"label": "getInstance",
|
|
18
18
|
"kind": "method",
|
|
19
19
|
"insertText": "getInstance",
|
|
20
|
-
"documentation": " /**\
|
|
20
|
+
"documentation": " /**\n * 获取表格实例\n * @method\n */"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"label": "refresh",
|
|
24
24
|
"kind": "method",
|
|
25
25
|
"insertText": "refresh",
|
|
26
|
-
"documentation": " /**\
|
|
26
|
+
"documentation": " /**\n * 刷新表格\n * @method\n */"
|
|
27
27
|
}
|
|
28
28
|
]
|
|
29
29
|
},
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
"label": "open",
|
|
36
36
|
"kind": "property",
|
|
37
37
|
"insertText": "open",
|
|
38
|
-
"documentation": " /**\
|
|
38
|
+
"documentation": " /**\n * 弹窗打开状态\n * @property\n */"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"label": "doOpen",
|
|
42
42
|
"kind": "method",
|
|
43
43
|
"insertText": "doOpen",
|
|
44
|
-
"documentation": " /**\
|
|
44
|
+
"documentation": " /**\n * 打开弹窗\n * @method\n */"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"label": "doClose",
|
|
48
48
|
"kind": "method",
|
|
49
49
|
"insertText": "doClose",
|
|
50
|
-
"documentation": " /**\
|
|
50
|
+
"documentation": " /**\n * 关闭弹窗\n * @method\n */"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"label": "setTitle",
|
|
54
54
|
"kind": "method",
|
|
55
55
|
"insertText": "setTitle(title)",
|
|
56
|
-
"documentation": " /**\
|
|
56
|
+
"documentation": " /**\n * 设置弹窗标题\n * @method\n * @param {stirng} title -标题\n */"
|
|
57
57
|
}
|
|
58
58
|
]
|
|
59
59
|
},
|
|
@@ -65,25 +65,25 @@
|
|
|
65
65
|
"label": "open",
|
|
66
66
|
"kind": "property",
|
|
67
67
|
"insertText": "open",
|
|
68
|
-
"documentation": " /**\
|
|
68
|
+
"documentation": " /**\n * 弹窗打开状态\n * @property\n */"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"label": "doOpen",
|
|
72
72
|
"kind": "method",
|
|
73
73
|
"insertText": "doOpen",
|
|
74
|
-
"documentation": " /**\
|
|
74
|
+
"documentation": " /**\n * 打开弹窗\n * @method\n */"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"label": "doClose",
|
|
78
78
|
"kind": "method",
|
|
79
79
|
"insertText": "doClose",
|
|
80
|
-
"documentation": " /**\
|
|
80
|
+
"documentation": " /**\n * 关闭弹窗\n * @method\n */"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"label": "setTitle",
|
|
84
84
|
"kind": "method",
|
|
85
85
|
"insertText": "setTitle(title)",
|
|
86
|
-
"documentation": " /**\
|
|
86
|
+
"documentation": " /**\n * 设置弹窗标题\n * @method\n * @param {stirng} title -标题\n */"
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
89
|
},
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"label": "getInstance",
|
|
96
96
|
"kind": "method",
|
|
97
97
|
"insertText": "getInstance",
|
|
98
|
-
"documentation": " /**\
|
|
98
|
+
"documentation": " /**\n * 获取表格实例\n * @method\n */"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"label": "submit",
|
|
102
102
|
"kind": "method",
|
|
103
103
|
"insertText": "submit",
|
|
104
|
-
"documentation": " /**\
|
|
104
|
+
"documentation": " /**\n * 提交表格数据\n * @method\n */"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
107
|
},
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"completions": []
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
-
"name": "
|
|
120
|
-
"triggerWord": "
|
|
119
|
+
"name": "ImEx",
|
|
120
|
+
"triggerWord": "imex",
|
|
121
121
|
"completions": []
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
"name": "
|
|
125
|
-
"triggerWord": "
|
|
124
|
+
"name": "Image",
|
|
125
|
+
"triggerWord": "image",
|
|
126
126
|
"completions": []
|
|
127
127
|
},
|
|
128
128
|
{
|
|
@@ -183,13 +183,13 @@
|
|
|
183
183
|
"label": "getInstance",
|
|
184
184
|
"kind": "method",
|
|
185
185
|
"insertText": "getInstance",
|
|
186
|
-
"documentation": " /**\
|
|
186
|
+
"documentation": " /**\n * 获取表格实例\n * @method\n */"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"label": "refresh",
|
|
190
190
|
"kind": "method",
|
|
191
191
|
"insertText": "refresh",
|
|
192
|
-
"documentation": " /**\
|
|
192
|
+
"documentation": " /**\n * 刷新表格\n * @method\n */"
|
|
193
193
|
}
|
|
194
194
|
]
|
|
195
195
|
},
|
|
@@ -216,73 +216,73 @@
|
|
|
216
216
|
"label": "loading",
|
|
217
217
|
"kind": "property",
|
|
218
218
|
"insertText": "loading",
|
|
219
|
-
"documentation": " /**\
|
|
219
|
+
"documentation": " /**\n * @property {boolean} loading - loading状态\n */"
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"label": "topics",
|
|
223
223
|
"kind": "property",
|
|
224
224
|
"insertText": "topics",
|
|
225
|
-
"documentation": " /**\
|
|
225
|
+
"documentation": " /**\n * @property {object} topics - 内置的事件话题\n */"
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"label": "API_PREFIX",
|
|
229
229
|
"kind": "property",
|
|
230
230
|
"insertText": "API_PREFIX",
|
|
231
|
-
"documentation": " /**\
|
|
231
|
+
"documentation": " /**\n * @property {object} topics - service api前缀\n */"
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
"label": "PRIMARY_KEY",
|
|
235
235
|
"kind": "property",
|
|
236
236
|
"insertText": "PRIMARY_KEY",
|
|
237
|
-
"documentation": " /**\
|
|
237
|
+
"documentation": " /**\n * @property {string} PRIMARY_KEY - 主键key\n */"
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
"label": "PARENT_KEY",
|
|
241
241
|
"kind": "property",
|
|
242
242
|
"insertText": "PARENT_KEY",
|
|
243
|
-
"documentation": " /**\
|
|
243
|
+
"documentation": " /**\n * @property {string} PARENT_KEY - 树组件主键key\n */"
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
"label": "getElementById",
|
|
247
247
|
"kind": "method",
|
|
248
248
|
"insertText": "getElementById(compId)",
|
|
249
|
-
"documentation": " /**\
|
|
249
|
+
"documentation": " /**\n * @method - 根据组件ID获取实例\n * @param {string} compId - 组件ID\n * @return {object} target - 组件实例\n */"
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"label": "getParentElementById",
|
|
253
253
|
"kind": "method",
|
|
254
254
|
"insertText": "getParentElementById(compId)",
|
|
255
|
-
"documentation": " /**\
|
|
255
|
+
"documentation": " /**\n * @method - 根据组件ID获取父组件实例\n * @param {string} compId - 组件ID\n * @return {object} target - 父组件实例\n */"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"label": "doAction",
|
|
259
259
|
"kind": "method",
|
|
260
260
|
"insertText": "doAction(actionPool, args)",
|
|
261
|
-
"documentation": " /**\
|
|
261
|
+
"documentation": " /**\n * @method - 执行行为池\n * @param {object} actionPool - 行为池\n * @param {object} args - 参数\n */"
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
264
|
"label": "want",
|
|
265
265
|
"kind": "method",
|
|
266
266
|
"insertText": "want",
|
|
267
|
-
"documentation": " /**\
|
|
267
|
+
"documentation": " /**\n * @method - 是否有权限\n * @return {string} wanted - 期望的资源串\n */"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
"label": "getBehaviorUrl",
|
|
271
271
|
"kind": "method",
|
|
272
272
|
"insertText": "getBehaviorUrl",
|
|
273
|
-
"documentation": " /**\
|
|
273
|
+
"documentation": " /**\n * @method - 获取执行行为请求的接口URL\n * @return {string} BEHAVIOR_URL - 执行行为请求的接口URL\n */"
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
"label": "utils",
|
|
277
277
|
"kind": "property",
|
|
278
278
|
"insertText": "utils",
|
|
279
|
-
"documentation": " /**\
|
|
279
|
+
"documentation": " /**\n * @property {Utils} 工具类\n */"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
"label": "router",
|
|
283
283
|
"kind": "property",
|
|
284
284
|
"insertText": "router",
|
|
285
|
-
"documentation": " /**\
|
|
285
|
+
"documentation": " /**\n * @property {Router} router - 路由\n */"
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "Proxy",
|
|
3
|
+
"name": "页面代理",
|
|
4
|
+
"desc": "用于代理其他页面的内容,用于实现已有页面的服用。",
|
|
5
|
+
"icon": "icon-proxy",
|
|
6
|
+
"group": "advance",
|
|
7
|
+
"groupName": "高级",
|
|
8
|
+
"order": 6,
|
|
9
|
+
"css": "width: 100%; height: 100%; background-color: transparent;",
|
|
10
|
+
"destroyOnUnmount": false,
|
|
11
|
+
"proxyParams": [],
|
|
12
|
+
"advance": {
|
|
13
|
+
"events": {}
|
|
14
|
+
}
|
|
15
|
+
}
|