@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
|
@@ -53,26 +53,26 @@ var API_PREFIX_PAGE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/page");
|
|
|
53
53
|
var API_PREFIX_MODULE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/module");
|
|
54
54
|
var API_RREFIX_DATASET = "".concat(API_PREFIX_MODULE, "/dataset");
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* 获取历史版本列表
|
|
58
|
-
* @async
|
|
59
|
-
* @function fetchHistoryVersionList
|
|
60
|
-
* @param {Object} params - 请求参数
|
|
61
|
-
* @param {string} params.pageCode - 菜单编码
|
|
62
|
-
* @returns {Promise<Object>} 返回历史版本列表的Promise
|
|
56
|
+
/**
|
|
57
|
+
* 获取历史版本列表
|
|
58
|
+
* @async
|
|
59
|
+
* @function fetchHistoryVersionList
|
|
60
|
+
* @param {Object} params - 请求参数
|
|
61
|
+
* @param {string} params.pageCode - 菜单编码
|
|
62
|
+
* @returns {Promise<Object>} 返回历史版本列表的Promise
|
|
63
63
|
*/
|
|
64
64
|
function fetchHistoryVersionList(_x) {
|
|
65
65
|
return _fetchHistoryVersionList.apply(this, arguments);
|
|
66
66
|
}
|
|
67
|
-
/**
|
|
68
|
-
* 添加历史版本
|
|
69
|
-
* @async
|
|
70
|
-
* @function fetchAddHistoryVersion
|
|
71
|
-
* @param {Object} data - 要添加的历史版本数据
|
|
72
|
-
* @param {string} params.pageCode - 菜单编码
|
|
73
|
-
* @param {string} params.backupName - 版本名称
|
|
74
|
-
* @param {string} params.backupNote - 版本描述
|
|
75
|
-
* @returns {Promise<Object>} 返回添加历史版本的Promise
|
|
67
|
+
/**
|
|
68
|
+
* 添加历史版本
|
|
69
|
+
* @async
|
|
70
|
+
* @function fetchAddHistoryVersion
|
|
71
|
+
* @param {Object} data - 要添加的历史版本数据
|
|
72
|
+
* @param {string} params.pageCode - 菜单编码
|
|
73
|
+
* @param {string} params.backupName - 版本名称
|
|
74
|
+
* @param {string} params.backupNote - 版本描述
|
|
75
|
+
* @returns {Promise<Object>} 返回添加历史版本的Promise
|
|
76
76
|
*/
|
|
77
77
|
function _fetchHistoryVersionList() {
|
|
78
78
|
_fetchHistoryVersionList = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(params) {
|
|
@@ -93,13 +93,13 @@ function _fetchHistoryVersionList() {
|
|
|
93
93
|
function fetchAddHistoryVersion(_x2) {
|
|
94
94
|
return _fetchAddHistoryVersion.apply(this, arguments);
|
|
95
95
|
}
|
|
96
|
-
/**
|
|
97
|
-
* 删除历史版本
|
|
98
|
-
* @async
|
|
99
|
-
* @function fetchDelHistoryVersion
|
|
100
|
-
* @param {Object} data - 要删除的历史版本数据
|
|
101
|
-
* @param {string} data.uid - 历史版本的唯一标识
|
|
102
|
-
* @returns {Promise<Object>} 返回删除历史版本的Promise
|
|
96
|
+
/**
|
|
97
|
+
* 删除历史版本
|
|
98
|
+
* @async
|
|
99
|
+
* @function fetchDelHistoryVersion
|
|
100
|
+
* @param {Object} data - 要删除的历史版本数据
|
|
101
|
+
* @param {string} data.uid - 历史版本的唯一标识
|
|
102
|
+
* @returns {Promise<Object>} 返回删除历史版本的Promise
|
|
103
103
|
*/
|
|
104
104
|
function _fetchAddHistoryVersion() {
|
|
105
105
|
_fetchAddHistoryVersion = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(data) {
|
|
@@ -121,13 +121,13 @@ function _fetchAddHistoryVersion() {
|
|
|
121
121
|
function fetchDelHistoryVersion(_x3) {
|
|
122
122
|
return _fetchDelHistoryVersion.apply(this, arguments);
|
|
123
123
|
}
|
|
124
|
-
/**
|
|
125
|
-
* 恢复历史版本
|
|
126
|
-
* @async
|
|
127
|
-
* @function fetchRecoverHistoryVersion
|
|
128
|
-
* @param {Object} data - 要恢复的历史版本数据
|
|
129
|
-
* @param {string} data.uid - 历史版本的唯一标识
|
|
130
|
-
* @returns {Promise<Object>} 返回恢复历史版本的Promise
|
|
124
|
+
/**
|
|
125
|
+
* 恢复历史版本
|
|
126
|
+
* @async
|
|
127
|
+
* @function fetchRecoverHistoryVersion
|
|
128
|
+
* @param {Object} data - 要恢复的历史版本数据
|
|
129
|
+
* @param {string} data.uid - 历史版本的唯一标识
|
|
130
|
+
* @returns {Promise<Object>} 返回恢复历史版本的Promise
|
|
131
131
|
*/
|
|
132
132
|
function _fetchDelHistoryVersion() {
|
|
133
133
|
_fetchDelHistoryVersion = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(data) {
|
|
@@ -149,13 +149,13 @@ function _fetchDelHistoryVersion() {
|
|
|
149
149
|
function fetchRecoverHistoryVersion(_x4) {
|
|
150
150
|
return _fetchRecoverHistoryVersion.apply(this, arguments);
|
|
151
151
|
}
|
|
152
|
-
/**
|
|
153
|
-
* 通过菜单编码获取page相关数据
|
|
154
|
-
* @async
|
|
155
|
-
* @function fetchPageData
|
|
156
|
-
* @param {Object} params - 请求参数
|
|
157
|
-
* @param {string} params.code - 菜单编码
|
|
158
|
-
* @returns {Promise<Object>} 返回page相关数据的Promise
|
|
152
|
+
/**
|
|
153
|
+
* 通过菜单编码获取page相关数据
|
|
154
|
+
* @async
|
|
155
|
+
* @function fetchPageData
|
|
156
|
+
* @param {Object} params - 请求参数
|
|
157
|
+
* @param {string} params.code - 菜单编码
|
|
158
|
+
* @returns {Promise<Object>} 返回page相关数据的Promise
|
|
159
159
|
*/
|
|
160
160
|
function _fetchRecoverHistoryVersion() {
|
|
161
161
|
_fetchRecoverHistoryVersion = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4(data) {
|
|
@@ -177,9 +177,9 @@ function _fetchRecoverHistoryVersion() {
|
|
|
177
177
|
function fetchPageData(_x5) {
|
|
178
178
|
return _fetchPageData.apply(this, arguments);
|
|
179
179
|
}
|
|
180
|
-
/**
|
|
181
|
-
* 获取design时模块数据
|
|
182
|
-
* @param {{moduleCode: string}} params
|
|
180
|
+
/**
|
|
181
|
+
* 获取design时模块数据
|
|
182
|
+
* @param {{moduleCode: string}} params
|
|
183
183
|
*/
|
|
184
184
|
function _fetchPageData() {
|
|
185
185
|
_fetchPageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5(params) {
|
|
@@ -200,11 +200,11 @@ function _fetchPageData() {
|
|
|
200
200
|
function fetchDesignModlueData(_x6, _x7) {
|
|
201
201
|
return _fetchDesignModlueData.apply(this, arguments);
|
|
202
202
|
}
|
|
203
|
-
/**
|
|
204
|
-
* 获取preview时模块数据
|
|
205
|
-
* @param {*} dmCode
|
|
206
|
-
* @param {*} params
|
|
207
|
-
* @returns
|
|
203
|
+
/**
|
|
204
|
+
* 获取preview时模块数据
|
|
205
|
+
* @param {*} dmCode
|
|
206
|
+
* @param {*} params
|
|
207
|
+
* @returns
|
|
208
208
|
*/
|
|
209
209
|
function _fetchDesignModlueData() {
|
|
210
210
|
_fetchDesignModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee6(_, params) {
|
|
@@ -226,9 +226,9 @@ function _fetchDesignModlueData() {
|
|
|
226
226
|
function fetchPreviewModlueData(_x8, _x9) {
|
|
227
227
|
return _fetchPreviewModlueData.apply(this, arguments);
|
|
228
228
|
}
|
|
229
|
-
/**
|
|
230
|
-
* 获取live时模块数据
|
|
231
|
-
* @param {{moduleCode: string}} params
|
|
229
|
+
/**
|
|
230
|
+
* 获取live时模块数据
|
|
231
|
+
* @param {{moduleCode: string}} params
|
|
232
232
|
*/
|
|
233
233
|
function _fetchPreviewModlueData() {
|
|
234
234
|
_fetchPreviewModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee7(dmCode, params) {
|
|
@@ -250,9 +250,9 @@ function _fetchPreviewModlueData() {
|
|
|
250
250
|
function fetchModlueData(_x10, _x11) {
|
|
251
251
|
return _fetchModlueData.apply(this, arguments);
|
|
252
252
|
}
|
|
253
|
-
/**
|
|
254
|
-
* 获取数据模型下的所有数据集
|
|
255
|
-
* @param {{ dataModelKey }} params
|
|
253
|
+
/**
|
|
254
|
+
* 获取数据模型下的所有数据集
|
|
255
|
+
* @param {{ dataModelKey }} params
|
|
256
256
|
*/
|
|
257
257
|
function _fetchModlueData() {
|
|
258
258
|
_fetchModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee8(dmCode, params) {
|
|
@@ -274,9 +274,9 @@ function _fetchModlueData() {
|
|
|
274
274
|
function fetchAllDataset(_x12) {
|
|
275
275
|
return _fetchAllDataset.apply(this, arguments);
|
|
276
276
|
}
|
|
277
|
-
/**
|
|
278
|
-
* 向模块中添加数据集
|
|
279
|
-
* @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
|
|
277
|
+
/**
|
|
278
|
+
* 向模块中添加数据集
|
|
279
|
+
* @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
|
|
280
280
|
*/
|
|
281
281
|
function _fetchAllDataset() {
|
|
282
282
|
_fetchAllDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee9(params) {
|
|
@@ -297,9 +297,9 @@ function _fetchAllDataset() {
|
|
|
297
297
|
function fetchAddDataset(_x13) {
|
|
298
298
|
return _fetchAddDataset.apply(this, arguments);
|
|
299
299
|
}
|
|
300
|
-
/**
|
|
301
|
-
* 获取数据集下的所有字段
|
|
302
|
-
* @param {{datasetUid}} params
|
|
300
|
+
/**
|
|
301
|
+
* 获取数据集下的所有字段
|
|
302
|
+
* @param {{datasetUid}} params
|
|
303
303
|
*/
|
|
304
304
|
function _fetchAddDataset() {
|
|
305
305
|
_fetchAddDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee10(data) {
|
|
@@ -321,10 +321,10 @@ function _fetchAddDataset() {
|
|
|
321
321
|
function fetchFieldsByDataset(_x14) {
|
|
322
322
|
return _fetchFieldsByDataset.apply(this, arguments);
|
|
323
323
|
}
|
|
324
|
-
/**
|
|
325
|
-
* 获取字段配置条件
|
|
326
|
-
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
327
|
-
* @returns
|
|
324
|
+
/**
|
|
325
|
+
* 获取字段配置条件
|
|
326
|
+
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
327
|
+
* @returns
|
|
328
328
|
*/
|
|
329
329
|
function _fetchFieldsByDataset() {
|
|
330
330
|
_fetchFieldsByDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee11(params) {
|
|
@@ -345,9 +345,9 @@ function _fetchFieldsByDataset() {
|
|
|
345
345
|
function fetchFieldCondition(_x15) {
|
|
346
346
|
return _fetchFieldCondition.apply(this, arguments);
|
|
347
347
|
}
|
|
348
|
-
/**
|
|
349
|
-
* 更新是否标题字段
|
|
350
|
-
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
348
|
+
/**
|
|
349
|
+
* 更新是否标题字段
|
|
350
|
+
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
351
351
|
*/
|
|
352
352
|
function _fetchFieldCondition() {
|
|
353
353
|
_fetchFieldCondition = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee12(params) {
|
|
@@ -368,10 +368,10 @@ function _fetchFieldCondition() {
|
|
|
368
368
|
function fetchUpdateTitleField(_x16) {
|
|
369
369
|
return _fetchUpdateTitleField.apply(this, arguments);
|
|
370
370
|
}
|
|
371
|
-
/**
|
|
372
|
-
* 更新是否唯一校验
|
|
373
|
-
* @param {*} data
|
|
374
|
-
* @returns
|
|
371
|
+
/**
|
|
372
|
+
* 更新是否唯一校验
|
|
373
|
+
* @param {*} data
|
|
374
|
+
* @returns
|
|
375
375
|
*/
|
|
376
376
|
function _fetchUpdateTitleField() {
|
|
377
377
|
_fetchUpdateTitleField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee13(data) {
|
|
@@ -393,9 +393,9 @@ function _fetchUpdateTitleField() {
|
|
|
393
393
|
function fetchUpdateUniqueField(_x17) {
|
|
394
394
|
return _fetchUpdateUniqueField.apply(this, arguments);
|
|
395
395
|
}
|
|
396
|
-
/**
|
|
397
|
-
* 新增字段属性
|
|
398
|
-
* @param {*} data
|
|
396
|
+
/**
|
|
397
|
+
* 新增字段属性
|
|
398
|
+
* @param {*} data
|
|
399
399
|
*/
|
|
400
400
|
function _fetchUpdateUniqueField() {
|
|
401
401
|
_fetchUpdateUniqueField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee14(data) {
|
|
@@ -417,9 +417,9 @@ function _fetchUpdateUniqueField() {
|
|
|
417
417
|
function fetchAddFieldAttrs(_x18) {
|
|
418
418
|
return _fetchAddFieldAttrs.apply(this, arguments);
|
|
419
419
|
}
|
|
420
|
-
/**
|
|
421
|
-
* 删除字段属性
|
|
422
|
-
* @param {*} data
|
|
420
|
+
/**
|
|
421
|
+
* 删除字段属性
|
|
422
|
+
* @param {*} data
|
|
423
423
|
*/
|
|
424
424
|
function _fetchAddFieldAttrs() {
|
|
425
425
|
_fetchAddFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee15(data) {
|
|
@@ -441,9 +441,9 @@ function _fetchAddFieldAttrs() {
|
|
|
441
441
|
function fetchDelAttrs(_x19) {
|
|
442
442
|
return _fetchDelAttrs.apply(this, arguments);
|
|
443
443
|
}
|
|
444
|
-
/**
|
|
445
|
-
* 更新字段属性
|
|
446
|
-
* @param {*} params
|
|
444
|
+
/**
|
|
445
|
+
* 更新字段属性
|
|
446
|
+
* @param {*} params
|
|
447
447
|
*/
|
|
448
448
|
function _fetchDelAttrs() {
|
|
449
449
|
_fetchDelAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee16(data) {
|
|
@@ -465,10 +465,10 @@ function _fetchDelAttrs() {
|
|
|
465
465
|
function fetchUpdateFieldAttrs(_x20) {
|
|
466
466
|
return _fetchUpdateFieldAttrs.apply(this, arguments);
|
|
467
467
|
}
|
|
468
|
-
/**
|
|
469
|
-
* 读取字段配置的属性
|
|
470
|
-
* @param {{uid, scope}} params
|
|
471
|
-
* @returns
|
|
468
|
+
/**
|
|
469
|
+
* 读取字段配置的属性
|
|
470
|
+
* @param {{uid, scope}} params
|
|
471
|
+
* @returns
|
|
472
472
|
*/
|
|
473
473
|
function _fetchUpdateFieldAttrs() {
|
|
474
474
|
_fetchUpdateFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee17(data) {
|
|
@@ -490,10 +490,10 @@ function _fetchUpdateFieldAttrs() {
|
|
|
490
490
|
function fetchAttrs(_x21) {
|
|
491
491
|
return _fetchAttrs.apply(this, arguments);
|
|
492
492
|
}
|
|
493
|
-
/**
|
|
494
|
-
* 读取所有行为
|
|
495
|
-
* @param {{uid}} params
|
|
496
|
-
* @returns
|
|
493
|
+
/**
|
|
494
|
+
* 读取所有行为
|
|
495
|
+
* @param {{uid}} params
|
|
496
|
+
* @returns
|
|
497
497
|
*/
|
|
498
498
|
function _fetchAttrs() {
|
|
499
499
|
_fetchAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee18(params) {
|
|
@@ -514,10 +514,10 @@ function _fetchAttrs() {
|
|
|
514
514
|
function fetchAllBehavior(_x22) {
|
|
515
515
|
return _fetchAllBehavior.apply(this, arguments);
|
|
516
516
|
}
|
|
517
|
-
/**
|
|
518
|
-
* 读取所有资源串
|
|
519
|
-
* @param {{uid}} params
|
|
520
|
-
* @returns
|
|
517
|
+
/**
|
|
518
|
+
* 读取所有资源串
|
|
519
|
+
* @param {{uid}} params
|
|
520
|
+
* @returns
|
|
521
521
|
*/
|
|
522
522
|
function _fetchAllBehavior() {
|
|
523
523
|
_fetchAllBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee19(params) {
|
|
@@ -538,10 +538,10 @@ function _fetchAllBehavior() {
|
|
|
538
538
|
function fetchAllSerials(_x23) {
|
|
539
539
|
return _fetchAllSerials.apply(this, arguments);
|
|
540
540
|
}
|
|
541
|
-
/**
|
|
542
|
-
* 读取导入导出数据源
|
|
543
|
-
* @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
|
|
544
|
-
* @returns
|
|
541
|
+
/**
|
|
542
|
+
* 读取导入导出数据源
|
|
543
|
+
* @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
|
|
544
|
+
* @returns
|
|
545
545
|
*/
|
|
546
546
|
function _fetchAllSerials() {
|
|
547
547
|
_fetchAllSerials = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee20(params) {
|
|
@@ -583,19 +583,19 @@ function getBehaviorUrl() {
|
|
|
583
583
|
return "".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/to/behavior/call");
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
/**
|
|
587
|
-
* 执行行为
|
|
588
|
-
* @param {*} params
|
|
589
|
-
* @param {*} data
|
|
590
|
-
* @returns
|
|
586
|
+
/**
|
|
587
|
+
* 执行行为
|
|
588
|
+
* @param {*} params
|
|
589
|
+
* @param {*} data
|
|
590
|
+
* @returns
|
|
591
591
|
*/
|
|
592
592
|
function fetchCallBehavior(_x25, _x26) {
|
|
593
593
|
return _fetchCallBehavior.apply(this, arguments);
|
|
594
594
|
}
|
|
595
|
-
/**
|
|
596
|
-
* 清除当前模块缓存
|
|
597
|
-
* @param {{moduleCode}} params
|
|
598
|
-
* @returns
|
|
595
|
+
/**
|
|
596
|
+
* 清除当前模块缓存
|
|
597
|
+
* @param {{moduleCode}} params
|
|
598
|
+
* @returns
|
|
599
599
|
*/
|
|
600
600
|
function _fetchCallBehavior() {
|
|
601
601
|
_fetchCallBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee22(params, data) {
|
|
@@ -621,10 +621,10 @@ function _fetchCallBehavior() {
|
|
|
621
621
|
function fetchClearCache(_x27) {
|
|
622
622
|
return _fetchClearCache.apply(this, arguments);
|
|
623
623
|
}
|
|
624
|
-
/**
|
|
625
|
-
* 更新页面配置数据
|
|
626
|
-
* @param {*} data
|
|
627
|
-
* @returns
|
|
624
|
+
/**
|
|
625
|
+
* 更新页面配置数据
|
|
626
|
+
* @param {*} data
|
|
627
|
+
* @returns
|
|
628
628
|
*/
|
|
629
629
|
function _fetchClearCache() {
|
|
630
630
|
_fetchClearCache = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee23(params) {
|
|
@@ -645,10 +645,10 @@ function _fetchClearCache() {
|
|
|
645
645
|
function fetchUpdatePageData(_x28) {
|
|
646
646
|
return _fetchUpdatePageData.apply(this, arguments);
|
|
647
647
|
}
|
|
648
|
-
/**
|
|
649
|
-
* 获取数据字典
|
|
650
|
-
* @param {{snamealias}} params
|
|
651
|
-
* @returns
|
|
648
|
+
/**
|
|
649
|
+
* 获取数据字典
|
|
650
|
+
* @param {{snamealias}} params
|
|
651
|
+
* @returns
|
|
652
652
|
*/
|
|
653
653
|
function _fetchUpdatePageData() {
|
|
654
654
|
_fetchUpdatePageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee24(data) {
|
|
@@ -670,10 +670,10 @@ function _fetchUpdatePageData() {
|
|
|
670
670
|
function fetchDataDic(_x29) {
|
|
671
671
|
return _fetchDataDic.apply(this, arguments);
|
|
672
672
|
}
|
|
673
|
-
/**
|
|
674
|
-
* 导出excel
|
|
675
|
-
* @param {*} data
|
|
676
|
-
* @returns
|
|
673
|
+
/**
|
|
674
|
+
* 导出excel
|
|
675
|
+
* @param {*} data
|
|
676
|
+
* @returns
|
|
677
677
|
*/
|
|
678
678
|
function _fetchDataDic() {
|
|
679
679
|
_fetchDataDic = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee25(params) {
|
|
@@ -694,10 +694,10 @@ function _fetchDataDic() {
|
|
|
694
694
|
function exportExcel(_x30, _x31) {
|
|
695
695
|
return _exportExcel.apply(this, arguments);
|
|
696
696
|
}
|
|
697
|
-
/**
|
|
698
|
-
* 导入
|
|
699
|
-
* @param {*} params, data
|
|
700
|
-
* @returns
|
|
697
|
+
/**
|
|
698
|
+
* 导入
|
|
699
|
+
* @param {*} params, data
|
|
700
|
+
* @returns
|
|
701
701
|
*/
|
|
702
702
|
function _exportExcel() {
|
|
703
703
|
_exportExcel = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee26(params, data) {
|
|
@@ -773,9 +773,9 @@ function _getFindexcelstate() {
|
|
|
773
773
|
function noAuthGetTemplateUrl(_x36) {
|
|
774
774
|
return _noAuthGetTemplateUrl.apply(this, arguments);
|
|
775
775
|
}
|
|
776
|
-
/**
|
|
777
|
-
* 页面预览调试获取模拟用户
|
|
778
|
-
* @param {string} sname
|
|
776
|
+
/**
|
|
777
|
+
* 页面预览调试获取模拟用户
|
|
778
|
+
* @param {string} sname
|
|
779
779
|
*/
|
|
780
780
|
function _noAuthGetTemplateUrl() {
|
|
781
781
|
_noAuthGetTemplateUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().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
|
}
|