@luck-design-biz/luckda 1.0.1-6 → 1.0.1-7
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 +68 -68
- package/es/components/LdGrid/index.js +4 -4
- package/es/components/LdGridForm/index.less +7 -7
- package/es/components/LdTree/index.less +40 -40
- package/es/helper/action.js +6 -6
- package/es/helper/form.js +14 -14
- package/es/helper/index.less +7 -7
- package/es/lowcode/constants/api-url.js +87 -87
- package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
- package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +28 -28
- package/es/lowcode/engine/meta/table.props.json +1 -1
- package/es/lowcode/engine/provider/ContextProvider/index.js +44 -44
- 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/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 +102 -102
- 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 +166 -166
- package/es/lowcode/painter/style/display.less +17 -17
- package/es/lowcode/painter/style/dragdrop.less +10 -10
- 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/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 +95 -95
- package/es/lowcode/painter/style/number-input.less +17 -17
- package/es/lowcode/painter/style/outline.less +28 -28
- 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 +43 -43
- package/es/lowcode/painter/style/panel-item.less +54 -54
- package/es/lowcode/painter/style/panel.less +98 -98
- 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 +5 -5
- 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/style/treedragdrop.less +19 -19
- 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/meta.json +154 -154
- 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 +204 -204
- 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 +141 -141
- package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
- 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 +129 -129
- package/es/lowcode/view/lc-components/Form/index.js +20 -20
- package/es/lowcode/view/lc-components/Form/meta.json +645 -645
- package/es/lowcode/view/lc-components/Iframe/meta.json +33 -33
- 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/meta.json +115 -115
- package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
- 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/meta.json +113 -113
- 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/index.js +149 -148
- package/es/lowcode/view/lc-components/Table/meta.json +450 -450
- 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 +357 -357
- 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 +21 -21
- package/lib/components/LDActions/index.less +68 -68
- package/lib/components/LdGrid/index.js +4 -4
- package/lib/components/LdGridForm/index.less +7 -7
- package/lib/components/LdTree/index.less +40 -40
- package/lib/helper/action.js +6 -6
- package/lib/helper/form.js +14 -14
- package/lib/helper/index.less +7 -7
- package/lib/lowcode/constants/api-url.js +87 -87
- package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +28 -28
- package/lib/lowcode/engine/meta/table.props.json +1 -1
- package/lib/lowcode/engine/provider/ContextProvider/index.js +44 -44
- 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/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 +102 -102
- 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 +166 -166
- package/lib/lowcode/painter/style/display.less +17 -17
- package/lib/lowcode/painter/style/dragdrop.less +10 -10
- 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/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 +95 -95
- package/lib/lowcode/painter/style/number-input.less +17 -17
- package/lib/lowcode/painter/style/outline.less +28 -28
- 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 +43 -43
- package/lib/lowcode/painter/style/panel-item.less +54 -54
- package/lib/lowcode/painter/style/panel.less +98 -98
- 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 +5 -5
- 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/style/treedragdrop.less +19 -19
- 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/meta.json +154 -154
- 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 +204 -204
- 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 +141 -141
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
- 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 +129 -129
- package/lib/lowcode/view/lc-components/Form/index.js +20 -20
- package/lib/lowcode/view/lc-components/Form/meta.json +645 -645
- package/lib/lowcode/view/lc-components/Iframe/meta.json +33 -33
- 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/meta.json +115 -115
- package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
- 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/meta.json +113 -113
- 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/index.js +149 -148
- package/lib/lowcode/view/lc-components/Table/meta.json +450 -450
- 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 +357 -357
- 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 +21 -21
- package/lowcode.js +1 -1
- package/package.json +175 -175
- package/upload.js +1 -1
- package/utils.js +1 -1
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Button",
|
|
3
|
-
"name": "按钮",
|
|
4
|
-
"desc": "用于触发特定的操作或动作,以便用户可以轻松地创建具有自定义样式和行为的界面。",
|
|
5
|
-
"icon": "icon-button",
|
|
6
|
-
"group": "basic",
|
|
7
|
-
"groupName": "基础",
|
|
8
|
-
"order": 1,
|
|
9
|
-
"props": [
|
|
10
|
-
{
|
|
11
|
-
"key": "id",
|
|
12
|
-
"name": "唯一标识",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"disabled": true
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "title",
|
|
18
|
-
"name": "标题",
|
|
19
|
-
"type": "_I18nInput",
|
|
20
|
-
"repositioning": true,
|
|
21
|
-
"default": "按钮"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"key": "type",
|
|
25
|
-
"name": "按钮类型",
|
|
26
|
-
"type": "_ButtonType",
|
|
27
|
-
"default": "default"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"key": "size",
|
|
31
|
-
"name": "按钮",
|
|
32
|
-
"type": "segmented",
|
|
33
|
-
"repositioning": true,
|
|
34
|
-
"options": [
|
|
35
|
-
{
|
|
36
|
-
"label": "小",
|
|
37
|
-
"value": "small"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"label": "中",
|
|
41
|
-
"value": "middle"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"label": "大",
|
|
45
|
-
"value": "large"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"default": "middle"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"key": "block",
|
|
52
|
-
"name": "块级",
|
|
53
|
-
"desc": "将按钮宽度调整为其父宽度的选项",
|
|
54
|
-
"type": "switch",
|
|
55
|
-
"repositioning": true,
|
|
56
|
-
"default": false
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"key": "ghost",
|
|
60
|
-
"name": "幽灵按钮",
|
|
61
|
-
"desc": "幽灵属性按钮,设置为 true 后,按钮的内容颜色会切换至当前 theme 的 primaryColor,按钮的hover效果会消失",
|
|
62
|
-
"type": "switch",
|
|
63
|
-
"default": false
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"key": "iconFont",
|
|
67
|
-
"name": "图标",
|
|
68
|
-
"type": "_Icon",
|
|
69
|
-
"next": {
|
|
70
|
-
"name": "选择图标",
|
|
71
|
-
"autoClose": true,
|
|
72
|
-
"props": [
|
|
73
|
-
{
|
|
74
|
-
"key": "iconFont",
|
|
75
|
-
"name": "#图标选择器",
|
|
76
|
-
"type": "_IconSelector"
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"repositioning": true
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"key": "serials",
|
|
84
|
-
"name": "资源串",
|
|
85
|
-
"type": "_SerialsSelector"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"key": "serialEffect",
|
|
89
|
-
"name": "越权效果",
|
|
90
|
-
"type": "segmented",
|
|
91
|
-
"options": [
|
|
92
|
-
{
|
|
93
|
-
"label": "禁用",
|
|
94
|
-
"value": "disable"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"label": "隐藏",
|
|
98
|
-
"value": "hidden"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"default": "hidden"
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"css": "",
|
|
105
|
-
"advance": {
|
|
106
|
-
"events": [
|
|
107
|
-
{
|
|
108
|
-
"key": "onMount",
|
|
109
|
-
"name": "组件首次渲染时",
|
|
110
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
111
|
-
"func": "function onMount() {\n\t\n}"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"key": "onUnmount",
|
|
115
|
-
"name": "组件卸载时",
|
|
116
|
-
"desc": "在组件卸载时,执行方法。",
|
|
117
|
-
"func": "function onUnmount() {\n\t\n}"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"key": "onClick",
|
|
121
|
-
"name": "点击事件",
|
|
122
|
-
"desc": "点击按钮时,执行方法",
|
|
123
|
-
"func": "function onClick(e) {\n\t\n}"
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "Button",
|
|
3
|
+
"name": "按钮",
|
|
4
|
+
"desc": "用于触发特定的操作或动作,以便用户可以轻松地创建具有自定义样式和行为的界面。",
|
|
5
|
+
"icon": "icon-button",
|
|
6
|
+
"group": "basic",
|
|
7
|
+
"groupName": "基础",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "title",
|
|
18
|
+
"name": "标题",
|
|
19
|
+
"type": "_I18nInput",
|
|
20
|
+
"repositioning": true,
|
|
21
|
+
"default": "按钮"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "type",
|
|
25
|
+
"name": "按钮类型",
|
|
26
|
+
"type": "_ButtonType",
|
|
27
|
+
"default": "default"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"key": "size",
|
|
31
|
+
"name": "按钮",
|
|
32
|
+
"type": "segmented",
|
|
33
|
+
"repositioning": true,
|
|
34
|
+
"options": [
|
|
35
|
+
{
|
|
36
|
+
"label": "小",
|
|
37
|
+
"value": "small"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "中",
|
|
41
|
+
"value": "middle"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"label": "大",
|
|
45
|
+
"value": "large"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"default": "middle"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"key": "block",
|
|
52
|
+
"name": "块级",
|
|
53
|
+
"desc": "将按钮宽度调整为其父宽度的选项",
|
|
54
|
+
"type": "switch",
|
|
55
|
+
"repositioning": true,
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "ghost",
|
|
60
|
+
"name": "幽灵按钮",
|
|
61
|
+
"desc": "幽灵属性按钮,设置为 true 后,按钮的内容颜色会切换至当前 theme 的 primaryColor,按钮的hover效果会消失",
|
|
62
|
+
"type": "switch",
|
|
63
|
+
"default": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"key": "iconFont",
|
|
67
|
+
"name": "图标",
|
|
68
|
+
"type": "_Icon",
|
|
69
|
+
"next": {
|
|
70
|
+
"name": "选择图标",
|
|
71
|
+
"autoClose": true,
|
|
72
|
+
"props": [
|
|
73
|
+
{
|
|
74
|
+
"key": "iconFont",
|
|
75
|
+
"name": "#图标选择器",
|
|
76
|
+
"type": "_IconSelector"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"repositioning": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"key": "serials",
|
|
84
|
+
"name": "资源串",
|
|
85
|
+
"type": "_SerialsSelector"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "serialEffect",
|
|
89
|
+
"name": "越权效果",
|
|
90
|
+
"type": "segmented",
|
|
91
|
+
"options": [
|
|
92
|
+
{
|
|
93
|
+
"label": "禁用",
|
|
94
|
+
"value": "disable"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"label": "隐藏",
|
|
98
|
+
"value": "hidden"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"default": "hidden"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"css": "",
|
|
105
|
+
"advance": {
|
|
106
|
+
"events": [
|
|
107
|
+
{
|
|
108
|
+
"key": "onMount",
|
|
109
|
+
"name": "组件首次渲染时",
|
|
110
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
111
|
+
"func": "function onMount() {\n\t\n}"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "onUnmount",
|
|
115
|
+
"name": "组件卸载时",
|
|
116
|
+
"desc": "在组件卸载时,执行方法。",
|
|
117
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"key": "onClick",
|
|
121
|
+
"name": "点击事件",
|
|
122
|
+
"desc": "点击按钮时,执行方法",
|
|
123
|
+
"func": "function onClick(e) {\n\t\n}"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.runtime-button{
|
|
2
|
-
transition: none;
|
|
1
|
+
.runtime-button{
|
|
2
|
+
transition: none;
|
|
3
3
|
}
|
|
@@ -1,154 +1,154 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "CardList",
|
|
3
|
-
"name": "卡片列表",
|
|
4
|
-
"desc": "用于以卡片的形式展示相关的信息或内容列表。它提供了一种可视化的方式来呈现多个项目,每个项目通常由一个卡片表示,包含相关的文本、图像和其他元素。",
|
|
5
|
-
"icon": "icon-cardlist",
|
|
6
|
-
"group": "advance",
|
|
7
|
-
"groupName": "高级",
|
|
8
|
-
"hidden": true,
|
|
9
|
-
"order": 1,
|
|
10
|
-
"props": [
|
|
11
|
-
{
|
|
12
|
-
"key": "id",
|
|
13
|
-
"desc": "唯一标识",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"disabled": true
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"key": "dataset",
|
|
19
|
-
"name": "数据集",
|
|
20
|
-
"type": "_DataSetSelector",
|
|
21
|
-
"component": "table",
|
|
22
|
-
"next": {
|
|
23
|
-
"name": "字段配置",
|
|
24
|
-
"props": [
|
|
25
|
-
{
|
|
26
|
-
"key": "fields",
|
|
27
|
-
"name": "#字段配置器",
|
|
28
|
-
"type": "_FieldsSetting"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"key": "autoLoad",
|
|
35
|
-
"name": "首次数据自动加载",
|
|
36
|
-
"desc": "首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭",
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"default": true
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"key": "readOnly",
|
|
42
|
-
"name": "是否只读",
|
|
43
|
-
"desc": "卡片列表是否只读",
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"default": false
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"key": "isFlow",
|
|
49
|
-
"name": "是否流式",
|
|
50
|
-
"desc": "是否流式(不分页)",
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"default": false
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"key": "defaultPageSize",
|
|
56
|
-
"name": "默认分页数",
|
|
57
|
-
"desc": "isFlow为false时设置,默认单页分页数",
|
|
58
|
-
"type": "number",
|
|
59
|
-
"default": 30
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"key": "batchOperations",
|
|
63
|
-
"name": "批量操作",
|
|
64
|
-
"desc": "批量操作配置",
|
|
65
|
-
"type": "_CardListActionSelector"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"key": "actionTitle",
|
|
69
|
-
"name": "操作列标题",
|
|
70
|
-
"desc": "操作列的标题",
|
|
71
|
-
"type": "_I18nInput",
|
|
72
|
-
"default": "操作列"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"key": "actionWidth",
|
|
76
|
-
"name": "操作列宽度",
|
|
77
|
-
"desc": "操作列宽度设置",
|
|
78
|
-
"type": "number",
|
|
79
|
-
"default": 100
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"key": "actionHidden",
|
|
83
|
-
"name": "操作列是否隐藏",
|
|
84
|
-
"desc": "操作列是否隐藏",
|
|
85
|
-
"type": "boolean",
|
|
86
|
-
"default": false
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"key": "maxWebShownActionCount",
|
|
90
|
-
"name": "操作列最大展示数",
|
|
91
|
-
"desc": "操作列最大展示数,超出最大数变为最大展示数-1+更多",
|
|
92
|
-
"type": "number",
|
|
93
|
-
"default": 2
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"key": "actions",
|
|
97
|
-
"name": "操作项",
|
|
98
|
-
"desc": "单行操作项",
|
|
99
|
-
"type": "_ActionSelector"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"key": "batchActions",
|
|
103
|
-
"name": "批量操作项",
|
|
104
|
-
"desc": "批量操作项",
|
|
105
|
-
"type": "_ActionSelector"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"advance": {
|
|
109
|
-
"events": [
|
|
110
|
-
{
|
|
111
|
-
"key": "onMount",
|
|
112
|
-
"name": "组件首次渲染时",
|
|
113
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
114
|
-
"func": "(params)=>{\n\t\n}"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"key": "onUnmount",
|
|
118
|
-
"name": "组件卸载时",
|
|
119
|
-
"desc": "在组件卸载时,执行方法。",
|
|
120
|
-
"func": "(params)=>{\n\t\n}"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"key": "onBatchOperationsClick",
|
|
124
|
-
"name": "批量操作点击",
|
|
125
|
-
"desc": "点击操作的回调函数",
|
|
126
|
-
"func": "(key, selectedRows)=>{\n\t\n}"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"key": "onActionClick",
|
|
130
|
-
"name": "操作列点击",
|
|
131
|
-
"desc": "点击操作的回调函数",
|
|
132
|
-
"func": "(itemData)=>{\n\t\n}"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"key": "actionRender",
|
|
136
|
-
"name": "操作列定制渲染",
|
|
137
|
-
"desc": "返回为false时,该操作不可见",
|
|
138
|
-
"func": "(title, rowData)=>{\n\t\n}"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"key": "onRowClick",
|
|
142
|
-
"name": "行单击",
|
|
143
|
-
"desc": "单击表格行时,执行方法",
|
|
144
|
-
"func": "(data, rowIndex, params)=>{\n\t\n}"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"key": "onCardRender",
|
|
148
|
-
"name": "操作列点击",
|
|
149
|
-
"desc": "点击操作的回调函数",
|
|
150
|
-
"func": "(itemData)=>{\n\t\n}"
|
|
151
|
-
}
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "CardList",
|
|
3
|
+
"name": "卡片列表",
|
|
4
|
+
"desc": "用于以卡片的形式展示相关的信息或内容列表。它提供了一种可视化的方式来呈现多个项目,每个项目通常由一个卡片表示,包含相关的文本、图像和其他元素。",
|
|
5
|
+
"icon": "icon-cardlist",
|
|
6
|
+
"group": "advance",
|
|
7
|
+
"groupName": "高级",
|
|
8
|
+
"hidden": true,
|
|
9
|
+
"order": 1,
|
|
10
|
+
"props": [
|
|
11
|
+
{
|
|
12
|
+
"key": "id",
|
|
13
|
+
"desc": "唯一标识",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"disabled": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"key": "dataset",
|
|
19
|
+
"name": "数据集",
|
|
20
|
+
"type": "_DataSetSelector",
|
|
21
|
+
"component": "table",
|
|
22
|
+
"next": {
|
|
23
|
+
"name": "字段配置",
|
|
24
|
+
"props": [
|
|
25
|
+
{
|
|
26
|
+
"key": "fields",
|
|
27
|
+
"name": "#字段配置器",
|
|
28
|
+
"type": "_FieldsSetting"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "autoLoad",
|
|
35
|
+
"name": "首次数据自动加载",
|
|
36
|
+
"desc": "首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭",
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"default": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"key": "readOnly",
|
|
42
|
+
"name": "是否只读",
|
|
43
|
+
"desc": "卡片列表是否只读",
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "isFlow",
|
|
49
|
+
"name": "是否流式",
|
|
50
|
+
"desc": "是否流式(不分页)",
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"default": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"key": "defaultPageSize",
|
|
56
|
+
"name": "默认分页数",
|
|
57
|
+
"desc": "isFlow为false时设置,默认单页分页数",
|
|
58
|
+
"type": "number",
|
|
59
|
+
"default": 30
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"key": "batchOperations",
|
|
63
|
+
"name": "批量操作",
|
|
64
|
+
"desc": "批量操作配置",
|
|
65
|
+
"type": "_CardListActionSelector"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"key": "actionTitle",
|
|
69
|
+
"name": "操作列标题",
|
|
70
|
+
"desc": "操作列的标题",
|
|
71
|
+
"type": "_I18nInput",
|
|
72
|
+
"default": "操作列"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "actionWidth",
|
|
76
|
+
"name": "操作列宽度",
|
|
77
|
+
"desc": "操作列宽度设置",
|
|
78
|
+
"type": "number",
|
|
79
|
+
"default": 100
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "actionHidden",
|
|
83
|
+
"name": "操作列是否隐藏",
|
|
84
|
+
"desc": "操作列是否隐藏",
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"default": false
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"key": "maxWebShownActionCount",
|
|
90
|
+
"name": "操作列最大展示数",
|
|
91
|
+
"desc": "操作列最大展示数,超出最大数变为最大展示数-1+更多",
|
|
92
|
+
"type": "number",
|
|
93
|
+
"default": 2
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "actions",
|
|
97
|
+
"name": "操作项",
|
|
98
|
+
"desc": "单行操作项",
|
|
99
|
+
"type": "_ActionSelector"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"key": "batchActions",
|
|
103
|
+
"name": "批量操作项",
|
|
104
|
+
"desc": "批量操作项",
|
|
105
|
+
"type": "_ActionSelector"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"advance": {
|
|
109
|
+
"events": [
|
|
110
|
+
{
|
|
111
|
+
"key": "onMount",
|
|
112
|
+
"name": "组件首次渲染时",
|
|
113
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
114
|
+
"func": "(params)=>{\n\t\n}"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"key": "onUnmount",
|
|
118
|
+
"name": "组件卸载时",
|
|
119
|
+
"desc": "在组件卸载时,执行方法。",
|
|
120
|
+
"func": "(params)=>{\n\t\n}"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"key": "onBatchOperationsClick",
|
|
124
|
+
"name": "批量操作点击",
|
|
125
|
+
"desc": "点击操作的回调函数",
|
|
126
|
+
"func": "(key, selectedRows)=>{\n\t\n}"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"key": "onActionClick",
|
|
130
|
+
"name": "操作列点击",
|
|
131
|
+
"desc": "点击操作的回调函数",
|
|
132
|
+
"func": "(itemData)=>{\n\t\n}"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"key": "actionRender",
|
|
136
|
+
"name": "操作列定制渲染",
|
|
137
|
+
"desc": "返回为false时,该操作不可见",
|
|
138
|
+
"func": "(title, rowData)=>{\n\t\n}"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"key": "onRowClick",
|
|
142
|
+
"name": "行单击",
|
|
143
|
+
"desc": "单击表格行时,执行方法",
|
|
144
|
+
"func": "(data, rowIndex, params)=>{\n\t\n}"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"key": "onCardRender",
|
|
148
|
+
"name": "操作列点击",
|
|
149
|
+
"desc": "点击操作的回调函数",
|
|
150
|
+
"func": "(itemData)=>{\n\t\n}"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -129,29 +129,29 @@ var LCDialog = function LCDialog(_ref) {
|
|
|
129
129
|
});
|
|
130
130
|
(0, _react.useImperativeHandle)(apiRef, function () {
|
|
131
131
|
return {
|
|
132
|
-
/**
|
|
133
|
-
* 弹窗打开状态
|
|
134
|
-
* @property
|
|
132
|
+
/**
|
|
133
|
+
* 弹窗打开状态
|
|
134
|
+
* @property
|
|
135
135
|
*/
|
|
136
136
|
open: open,
|
|
137
|
-
/**
|
|
138
|
-
* 打开弹窗
|
|
139
|
-
* @method
|
|
137
|
+
/**
|
|
138
|
+
* 打开弹窗
|
|
139
|
+
* @method
|
|
140
140
|
*/
|
|
141
141
|
doOpen: function doOpen() {
|
|
142
142
|
return setOpen(true);
|
|
143
143
|
},
|
|
144
|
-
/**
|
|
145
|
-
* 关闭弹窗
|
|
146
|
-
* @method
|
|
144
|
+
/**
|
|
145
|
+
* 关闭弹窗
|
|
146
|
+
* @method
|
|
147
147
|
*/
|
|
148
148
|
doClose: function doClose() {
|
|
149
149
|
return setOpen(false);
|
|
150
150
|
},
|
|
151
|
-
/**
|
|
152
|
-
* 设置弹窗标题
|
|
153
|
-
* @method
|
|
154
|
-
* @param {stirng} title -标题
|
|
151
|
+
/**
|
|
152
|
+
* 设置弹窗标题
|
|
153
|
+
* @method
|
|
154
|
+
* @param {stirng} title -标题
|
|
155
155
|
*/
|
|
156
156
|
setTitle: function setTitle(_title) {
|
|
157
157
|
return _setTitle(_title);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.runtime-design {
|
|
3
|
-
position: absolute !important;
|
|
4
|
-
.ant-modal {
|
|
5
|
-
transition: none !important;
|
|
6
|
-
transform: none !important;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
div.ant-modal-root:has(> .runtime-design) {
|
|
10
|
-
display: none;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.runtime-design {
|
|
3
|
+
position: absolute !important;
|
|
4
|
+
.ant-modal {
|
|
5
|
+
transition: none !important;
|
|
6
|
+
transform: none !important;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
div.ant-modal-root:has(> .runtime-design) {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
}
|