@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
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "PageLayout",
|
|
3
|
-
"name": "页面布局容器",
|
|
4
|
-
"icon": "icon-pagelayout",
|
|
5
|
-
"group": "container",
|
|
6
|
-
"groupName": "布局",
|
|
7
|
-
"desc": "页面布局容器一般用于构建页面时根节点的基础布局,分为左右布局、左上下布局以及左中右布局。",
|
|
8
|
-
"order": 1,
|
|
9
|
-
"props": [
|
|
10
|
-
{
|
|
11
|
-
"key": "id",
|
|
12
|
-
"name": "唯一标识",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"disabled": true
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "width",
|
|
18
|
-
"name": "宽度",
|
|
19
|
-
"type": "_WidthHeight",
|
|
20
|
-
"default": "100%"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"key": "height",
|
|
24
|
-
"name": "高度",
|
|
25
|
-
"type": "_WidthHeight",
|
|
26
|
-
"default": "100%"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"key": "displaySetting",
|
|
30
|
-
"name": "展现形式",
|
|
31
|
-
"type": "group",
|
|
32
|
-
"props": [
|
|
33
|
-
{
|
|
34
|
-
"key": "display",
|
|
35
|
-
"name": "#展现形式",
|
|
36
|
-
"type": "_PageLayoutDisplay",
|
|
37
|
-
"default": "lr"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"css": "width: 100%; height: 100%; background-color: transparent;",
|
|
43
|
-
"advance": {
|
|
44
|
-
"events": [
|
|
45
|
-
{
|
|
46
|
-
"key": "onMount",
|
|
47
|
-
"name": "组件首次渲染时",
|
|
48
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
49
|
-
"func": "function onMount() {\n\t\n}"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"key": "onUnmount",
|
|
53
|
-
"name": "组件卸载时",
|
|
54
|
-
"desc": "在组件卸载时,执行方法。",
|
|
55
|
-
"func": "function onUnmount() {\n\t\n}"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "PageLayout",
|
|
3
|
+
"name": "页面布局容器",
|
|
4
|
+
"icon": "icon-pagelayout",
|
|
5
|
+
"group": "container",
|
|
6
|
+
"groupName": "布局",
|
|
7
|
+
"desc": "页面布局容器一般用于构建页面时根节点的基础布局,分为左右布局、左上下布局以及左中右布局。",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "width",
|
|
18
|
+
"name": "宽度",
|
|
19
|
+
"type": "_WidthHeight",
|
|
20
|
+
"default": "100%"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"key": "height",
|
|
24
|
+
"name": "高度",
|
|
25
|
+
"type": "_WidthHeight",
|
|
26
|
+
"default": "100%"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"key": "displaySetting",
|
|
30
|
+
"name": "展现形式",
|
|
31
|
+
"type": "group",
|
|
32
|
+
"props": [
|
|
33
|
+
{
|
|
34
|
+
"key": "display",
|
|
35
|
+
"name": "#展现形式",
|
|
36
|
+
"type": "_PageLayoutDisplay",
|
|
37
|
+
"default": "lr"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"css": "width: 100%; height: 100%; background-color: transparent;",
|
|
43
|
+
"advance": {
|
|
44
|
+
"events": [
|
|
45
|
+
{
|
|
46
|
+
"key": "onMount",
|
|
47
|
+
"name": "组件首次渲染时",
|
|
48
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
49
|
+
"func": "function onMount() {\n\t\n}"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"key": "onUnmount",
|
|
53
|
+
"name": "组件卸载时",
|
|
54
|
+
"desc": "在组件卸载时,执行方法。",
|
|
55
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.lc-component-Section.simple-theme {
|
|
2
|
-
:global {
|
|
3
|
-
.ant-collapse-item {
|
|
4
|
-
border-bottom: none !important;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
.lc-component-Section.simple-theme {
|
|
2
|
+
:global {
|
|
3
|
+
.ant-collapse-item {
|
|
4
|
+
border-bottom: none !important;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Section",
|
|
3
|
-
"name": "分组",
|
|
4
|
-
"icon": "icon-section",
|
|
5
|
-
"group": "container",
|
|
6
|
-
"groupName": "布局",
|
|
7
|
-
"desc": "分组组件用于将相关组件或内容进行分组和组织。使用户能够轻松创建具有分组效果的界面,并根据需要进行定制。s",
|
|
8
|
-
"order": 1,
|
|
9
|
-
"props": [
|
|
10
|
-
{
|
|
11
|
-
"key": "id",
|
|
12
|
-
"name": "唯一标识",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"disabled": true
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "collapse",
|
|
18
|
-
"name": "折叠",
|
|
19
|
-
"type": "switch",
|
|
20
|
-
"default": true
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"key": "simple",
|
|
24
|
-
"name": "简洁风格",
|
|
25
|
-
"type": "switch",
|
|
26
|
-
"default": false
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"key": "padding",
|
|
30
|
-
"name": "内边距",
|
|
31
|
-
"type": "switch",
|
|
32
|
-
"default": true,
|
|
33
|
-
"repositioning": true
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"key": "destroyInactivePanel",
|
|
37
|
-
"name": "隐藏销毁",
|
|
38
|
-
"desc": "面板被折叠隐藏时销毁面板中的组件",
|
|
39
|
-
"type": "switch",
|
|
40
|
-
"default": false
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"key": "title",
|
|
44
|
-
"name": "分组标题",
|
|
45
|
-
"type": "_I18nInput",
|
|
46
|
-
"default": "分组"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"key": "iconFont",
|
|
50
|
-
"name": "图标",
|
|
51
|
-
"type": "_Icon",
|
|
52
|
-
"next": {
|
|
53
|
-
"name": "选择图标",
|
|
54
|
-
"autoClose": true,
|
|
55
|
-
"props": [
|
|
56
|
-
{
|
|
57
|
-
"key": "iconFont",
|
|
58
|
-
"name": "#图标选择器",
|
|
59
|
-
"type": "_IconSelector"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"key": "tooltip",
|
|
66
|
-
"name": "用户提示",
|
|
67
|
-
"type": "_I18nInput",
|
|
68
|
-
"wrapped": "textarea"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"key": "subtitle",
|
|
72
|
-
"name": "副标题插槽",
|
|
73
|
-
"desc": "分组副标题的插槽内容",
|
|
74
|
-
"type": "_JSEditor",
|
|
75
|
-
"defaultCode": "function Component() { \n return <span>subtitle</span>; \n}",
|
|
76
|
-
"isjsx": true,
|
|
77
|
-
"wrapper": "collapse",
|
|
78
|
-
"wrapperProps": { "suppressIcon": true }
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"key": "extra",
|
|
82
|
-
"name": "扩展区域插槽",
|
|
83
|
-
"desc": "分组扩展区域的插槽内容",
|
|
84
|
-
"type": "_JSEditor",
|
|
85
|
-
"defaultCode": "function Component() { \n return <div>extra</div>; \n}",
|
|
86
|
-
"isjsx": true,
|
|
87
|
-
"wrapper": "collapse",
|
|
88
|
-
"wrapperProps": { "suppressIcon": true }
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"css": "width: 100%;",
|
|
92
|
-
"advance": {
|
|
93
|
-
"events": [
|
|
94
|
-
{
|
|
95
|
-
"key": "onMount",
|
|
96
|
-
"name": "组件首次渲染时",
|
|
97
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
98
|
-
"func": "function onMount(){\n\t\n}"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"key": "onUnmount",
|
|
102
|
-
"name": "组件卸载时",
|
|
103
|
-
"desc": "在组件卸载时,执行方法。",
|
|
104
|
-
"func": "function onUnmount()=>{\n\t\n}"
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "Section",
|
|
3
|
+
"name": "分组",
|
|
4
|
+
"icon": "icon-section",
|
|
5
|
+
"group": "container",
|
|
6
|
+
"groupName": "布局",
|
|
7
|
+
"desc": "分组组件用于将相关组件或内容进行分组和组织。使用户能够轻松创建具有分组效果的界面,并根据需要进行定制。s",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "collapse",
|
|
18
|
+
"name": "折叠",
|
|
19
|
+
"type": "switch",
|
|
20
|
+
"default": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"key": "simple",
|
|
24
|
+
"name": "简洁风格",
|
|
25
|
+
"type": "switch",
|
|
26
|
+
"default": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"key": "padding",
|
|
30
|
+
"name": "内边距",
|
|
31
|
+
"type": "switch",
|
|
32
|
+
"default": true,
|
|
33
|
+
"repositioning": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"key": "destroyInactivePanel",
|
|
37
|
+
"name": "隐藏销毁",
|
|
38
|
+
"desc": "面板被折叠隐藏时销毁面板中的组件",
|
|
39
|
+
"type": "switch",
|
|
40
|
+
"default": false
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"key": "title",
|
|
44
|
+
"name": "分组标题",
|
|
45
|
+
"type": "_I18nInput",
|
|
46
|
+
"default": "分组"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "iconFont",
|
|
50
|
+
"name": "图标",
|
|
51
|
+
"type": "_Icon",
|
|
52
|
+
"next": {
|
|
53
|
+
"name": "选择图标",
|
|
54
|
+
"autoClose": true,
|
|
55
|
+
"props": [
|
|
56
|
+
{
|
|
57
|
+
"key": "iconFont",
|
|
58
|
+
"name": "#图标选择器",
|
|
59
|
+
"type": "_IconSelector"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"key": "tooltip",
|
|
66
|
+
"name": "用户提示",
|
|
67
|
+
"type": "_I18nInput",
|
|
68
|
+
"wrapped": "textarea"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"key": "subtitle",
|
|
72
|
+
"name": "副标题插槽",
|
|
73
|
+
"desc": "分组副标题的插槽内容",
|
|
74
|
+
"type": "_JSEditor",
|
|
75
|
+
"defaultCode": "function Component() { \n return <span>subtitle</span>; \n}",
|
|
76
|
+
"isjsx": true,
|
|
77
|
+
"wrapper": "collapse",
|
|
78
|
+
"wrapperProps": { "suppressIcon": true }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "extra",
|
|
82
|
+
"name": "扩展区域插槽",
|
|
83
|
+
"desc": "分组扩展区域的插槽内容",
|
|
84
|
+
"type": "_JSEditor",
|
|
85
|
+
"defaultCode": "function Component() { \n return <div>extra</div>; \n}",
|
|
86
|
+
"isjsx": true,
|
|
87
|
+
"wrapper": "collapse",
|
|
88
|
+
"wrapperProps": { "suppressIcon": true }
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"css": "width: 100%;",
|
|
92
|
+
"advance": {
|
|
93
|
+
"events": [
|
|
94
|
+
{
|
|
95
|
+
"key": "onMount",
|
|
96
|
+
"name": "组件首次渲染时",
|
|
97
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
98
|
+
"func": "function onMount(){\n\t\n}"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"key": "onUnmount",
|
|
102
|
+
"name": "组件卸载时",
|
|
103
|
+
"desc": "在组件卸载时,执行方法。",
|
|
104
|
+
"func": "function onUnmount()=>{\n\t\n}"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Split",
|
|
3
|
-
"name": "分割面板容器",
|
|
4
|
-
"icon": "icon-split",
|
|
5
|
-
"group": "container",
|
|
6
|
-
"groupName": "布局",
|
|
7
|
-
"desc": "分割面板容器是一种可以通过拖拽分割线调整面板大小的容器组件,用于创建页面布局或需要调整可视区域的布局场景",
|
|
8
|
-
"order": 1,
|
|
9
|
-
"props": [
|
|
10
|
-
{
|
|
11
|
-
"key": "id",
|
|
12
|
-
"name": "唯一标识",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"disabled": true
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "displaySetting",
|
|
18
|
-
"name": "展现形式",
|
|
19
|
-
"type": "group",
|
|
20
|
-
"props": [
|
|
21
|
-
{
|
|
22
|
-
"key": "display",
|
|
23
|
-
"name": "#展现形式",
|
|
24
|
-
"type": "_SplitDisplay",
|
|
25
|
-
"default": { "type": "normal", "split": "horizontal", "ratio": "1:1" }
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"css": "width: 100%; height: 100%; background-color: transparent;",
|
|
31
|
-
"advance": {
|
|
32
|
-
"events": [
|
|
33
|
-
{
|
|
34
|
-
"key": "onMount",
|
|
35
|
-
"name": "组件首次渲染时",
|
|
36
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
37
|
-
"func": "function onMount() {\n\t\n}"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"key": "onUnmount",
|
|
41
|
-
"name": "组件卸载时",
|
|
42
|
-
"desc": "在组件卸载时,执行方法。",
|
|
43
|
-
"func": "function onUnmount() {\n\t\n}"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"key": "onChange",
|
|
47
|
-
"name": "尺寸变化事件",
|
|
48
|
-
"desc": "在面板尺寸发生变化时,执行方法",
|
|
49
|
-
"func": "function onChange(value) {\n\t\n}"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "Split",
|
|
3
|
+
"name": "分割面板容器",
|
|
4
|
+
"icon": "icon-split",
|
|
5
|
+
"group": "container",
|
|
6
|
+
"groupName": "布局",
|
|
7
|
+
"desc": "分割面板容器是一种可以通过拖拽分割线调整面板大小的容器组件,用于创建页面布局或需要调整可视区域的布局场景",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "displaySetting",
|
|
18
|
+
"name": "展现形式",
|
|
19
|
+
"type": "group",
|
|
20
|
+
"props": [
|
|
21
|
+
{
|
|
22
|
+
"key": "display",
|
|
23
|
+
"name": "#展现形式",
|
|
24
|
+
"type": "_SplitDisplay",
|
|
25
|
+
"default": { "type": "normal", "split": "horizontal", "ratio": "1:1" }
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"css": "width: 100%; height: 100%; background-color: transparent;",
|
|
31
|
+
"advance": {
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"key": "onMount",
|
|
35
|
+
"name": "组件首次渲染时",
|
|
36
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
37
|
+
"func": "function onMount() {\n\t\n}"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "onUnmount",
|
|
41
|
+
"name": "组件卸载时",
|
|
42
|
+
"desc": "在组件卸载时,执行方法。",
|
|
43
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"key": "onChange",
|
|
47
|
+
"name": "尺寸变化事件",
|
|
48
|
+
"desc": "在面板尺寸发生变化时,执行方法",
|
|
49
|
+
"func": "function onChange(value) {\n\t\n}"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -54,7 +54,7 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
54
54
|
moduleCode: moduleCode,
|
|
55
55
|
behaviorKey: behaviorKey,
|
|
56
56
|
templateId: templateId,
|
|
57
|
-
reportType:
|
|
57
|
+
reportType: 'import'
|
|
58
58
|
};
|
|
59
59
|
getFindexcelstate(_fetchExcelStatePrefix, _fetchExcelStateParams).then(function (response) {
|
|
60
60
|
if (response.code === 1) {
|
|
@@ -147,7 +147,7 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
147
147
|
};
|
|
148
148
|
}();
|
|
149
149
|
return /*#__PURE__*/React.createElement(PopWindow, {
|
|
150
|
-
title:
|
|
150
|
+
title: '上传excel文件',
|
|
151
151
|
mode: "modal",
|
|
152
152
|
size: "mini",
|
|
153
153
|
visible: visible,
|
|
@@ -184,11 +184,14 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
184
184
|
accept: '.xls,.xlsx,.xlt,.xlsm',
|
|
185
185
|
name: 'fileObj',
|
|
186
186
|
beforeUpload: function beforeUpload(file) {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
return new Promise(function (resolve, reject) {
|
|
188
|
+
var suffix = lowerCase(last(split(file.name, '.')));
|
|
189
|
+
if (!includes(['xls', 'xlsx', 'xlt', 'xlsm'], suffix)) {
|
|
190
|
+
reject(new Error('禁止上传的文件类型'));
|
|
191
|
+
} else {
|
|
192
|
+
resolve(true);
|
|
193
|
+
}
|
|
194
|
+
});
|
|
192
195
|
}
|
|
193
196
|
}
|
|
194
197
|
})), templateUrl && /*#__PURE__*/React.createElement(DownloadLink, null, /*#__PURE__*/React.createElement("a", {
|
|
@@ -248,7 +251,7 @@ export var TopExport = function TopExport(_ref5) {
|
|
|
248
251
|
var _fetchExcelStateParams = {
|
|
249
252
|
moduleCode: moduleCode,
|
|
250
253
|
behaviorKey: behaviorKey,
|
|
251
|
-
reportType:
|
|
254
|
+
reportType: 'export'
|
|
252
255
|
};
|
|
253
256
|
getFindexcelstate(_fetchExcelStatePrefix, _fetchExcelStateParams).then(function (response) {
|
|
254
257
|
if (response.code === 1) {
|
|
@@ -299,7 +302,7 @@ export var TopExport = function TopExport(_ref5) {
|
|
|
299
302
|
_exportExcelParams = {
|
|
300
303
|
moduleCode: moduleCode,
|
|
301
304
|
behaviorKey: behaviorKey,
|
|
302
|
-
reportType:
|
|
305
|
+
reportType: 'export'
|
|
303
306
|
};
|
|
304
307
|
_exportExcelPrefix = "/".concat(strategy);
|
|
305
308
|
_context2.next = 10;
|
|
@@ -330,14 +333,14 @@ export var TopExport = function TopExport(_ref5) {
|
|
|
330
333
|
labels.push(column.colDef.headerName);
|
|
331
334
|
fieldInfo.push({
|
|
332
335
|
width: column.actualWidth,
|
|
333
|
-
fieldNm: column.colId
|
|
336
|
+
fieldNm: column.colDef.exportField || column.colId
|
|
334
337
|
});
|
|
335
338
|
}
|
|
336
339
|
});
|
|
337
340
|
defaultExcelParams = {
|
|
338
|
-
bgColor:
|
|
341
|
+
bgColor: '#69b1ff',
|
|
339
342
|
dataUrl: "".concat(window.location.origin, "/api").concat(apiUrl).concat(joiner, "token=").concat(window.cookie.get(window.appConfig.authSaveKey)),
|
|
340
|
-
excelName:
|
|
343
|
+
excelName: 'download.xls',
|
|
341
344
|
fieldInfo: fieldInfo,
|
|
342
345
|
islock: false,
|
|
343
346
|
labels: labels === null || labels === void 0 ? void 0 : labels.join(),
|
|
@@ -345,7 +348,7 @@ export var TopExport = function TopExport(_ref5) {
|
|
|
345
348
|
};
|
|
346
349
|
_exportExcelParams2 = _objectSpread({
|
|
347
350
|
moduleCode: moduleCode,
|
|
348
|
-
reportType:
|
|
351
|
+
reportType: 'export'
|
|
349
352
|
}, defaultExcelParams);
|
|
350
353
|
_exportExcelPrefix2 = "/".concat(strategy);
|
|
351
354
|
_context2.next = 23;
|