@luck-design-biz/luckda 0.0.26-2 → 0.0.26-3
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 +0 -0
- package/README.md +0 -0
- package/es/components/Builder/index.js +0 -0
- package/es/components/LdAutoForm/index.js +0 -0
- package/es/components/LdCard/index.js +0 -0
- package/es/components/LdCard/model.js +0 -0
- package/es/components/LdCom/index.js +0 -0
- package/es/components/LdFormList/index.js +0 -0
- package/es/components/LdFormList/model.js +0 -0
- package/es/components/LdGrid/index.js +0 -0
- package/es/components/LdGrid/model.js +0 -0
- package/es/components/LdGridForm/index.js +0 -0
- package/es/components/LdGridForm/index.less +0 -0
- package/es/components/LdInfoPanel/index.js +0 -0
- package/es/components/LdPop/index.js +0 -0
- package/es/components/LdRuntimeCom/index.js +0 -0
- package/es/components/LdTree/index.js +0 -0
- package/es/components/LdTree/index.less +0 -0
- package/es/helper/FromItems.js +0 -0
- package/es/helper/action.js +0 -0
- package/es/helper/form.js +0 -0
- package/es/helper/index.less +0 -0
- package/es/helper/ldBuilder.js +0 -0
- package/es/helper/ldComBuild.js +0 -0
- package/es/index.js +0 -0
- package/es/lowcode/constants/api-url.js +0 -0
- package/es/lowcode/constants/event-topics.js +0 -0
- package/es/lowcode/constants/index.js +0 -0
- package/es/lowcode/engine/factory/DataFactory.js +0 -0
- package/es/lowcode/engine/meta/button.props.default.json +0 -0
- package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/es/lowcode/engine/meta/components/button.json +0 -0
- package/es/lowcode/engine/meta/components/card-list.json +0 -0
- package/es/lowcode/engine/meta/components/drawer.json +0 -0
- package/es/lowcode/engine/meta/components/form.json +0 -0
- package/es/lowcode/engine/meta/components/iframe.json +0 -0
- package/es/lowcode/engine/meta/components/image.json +0 -0
- package/es/lowcode/engine/meta/components/imex.json +0 -0
- package/es/lowcode/engine/meta/components/jsx.json +0 -0
- package/es/lowcode/engine/meta/components/layout.json +0 -0
- package/es/lowcode/engine/meta/components/link.json +0 -0
- package/es/lowcode/engine/meta/components/modal.json +0 -0
- package/es/lowcode/engine/meta/components/section.json +0 -0
- package/es/lowcode/engine/meta/components/split.json +0 -0
- package/es/lowcode/engine/meta/components/table.json +0 -0
- package/es/lowcode/engine/meta/components/tabs.json +0 -0
- package/es/lowcode/engine/meta/components/text.json +0 -0
- package/es/lowcode/engine/meta/components/tree.json +0 -0
- package/es/lowcode/engine/meta/components-list.json +0 -0
- package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/es/lowcode/engine/meta/form.props.default.json +0 -0
- package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/es/lowcode/engine/meta/image.props.default.json +0 -0
- package/es/lowcode/engine/meta/imex.props.default.json +0 -0
- package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/es/lowcode/engine/meta/layout.props.default.json +0 -0
- package/es/lowcode/engine/meta/link.props.default.json +0 -0
- package/es/lowcode/engine/meta/modal.props.default.json +0 -0
- package/es/lowcode/engine/meta/section.props.default.json +0 -0
- package/es/lowcode/engine/meta/split.props.default.json +0 -0
- package/es/lowcode/engine/meta/table.props.default.json +0 -0
- package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/es/lowcode/engine/meta/text.props.default.json +0 -0
- package/es/lowcode/engine/meta/tree.props.default.json +0 -0
- package/es/lowcode/engine/provider/ContextProvider.js +0 -0
- package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/es/lowcode/engine/tools/dataProcess.js +0 -0
- package/es/lowcode/engine/tools/helper.js +0 -0
- package/es/lowcode/engine/tools/lcid.js +0 -0
- package/es/lowcode/index.js +0 -0
- package/es/lowcode/painter/Components.js +0 -0
- package/es/lowcode/painter/Design.js +0 -0
- package/es/lowcode/painter/I18n.js +0 -0
- package/es/lowcode/painter/Outline.js +0 -0
- package/es/lowcode/painter/Panel.js +0 -0
- package/es/lowcode/painter/Ribbon.js +0 -0
- package/es/lowcode/painter/components/PanelItem.js +0 -0
- package/es/lowcode/painter/components/RuleInput.js +0 -0
- package/es/lowcode/painter/index.js +0 -0
- package/es/lowcode/painter/panel-section/LayoutRatio.js +0 -0
- package/es/lowcode/painter/panel-section/Radio.js +0 -0
- package/es/lowcode/painter/style/components.less +0 -0
- package/es/lowcode/painter/style/design.less +0 -0
- package/es/lowcode/painter/style/index.less +0 -0
- package/es/lowcode/painter/style/layout-ratio.less +0 -0
- package/es/lowcode/painter/style/outline.less +0 -0
- package/es/lowcode/painter/style/panel-item.less +0 -0
- package/es/lowcode/painter/style/panel.less +0 -0
- package/es/lowcode/painter/style/radio.less +0 -0
- package/es/lowcode/painter/style/ribbon.less +0 -0
- package/es/lowcode/painter/style/rule-input.less +0 -0
- package/es/lowcode/view/Canvas.js +0 -0
- package/es/lowcode/view/Loading.js +0 -0
- package/es/lowcode/view/Page.js +0 -0
- package/es/lowcode/view/index.js +0 -0
- package/es/lowcode/view/lc-components/Box/index.js +0 -0
- package/es/lowcode/view/lc-components/Button/index.js +0 -0
- package/es/lowcode/view/lc-components/CardList/index.js +0 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +0 -0
- package/es/lowcode/view/lc-components/Dialog/index.less +0 -0
- package/es/lowcode/view/lc-components/Drawer/index.js +0 -0
- package/es/lowcode/view/lc-components/Form/index.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +0 -0
- package/es/lowcode/view/lc-components/Image/index.js +0 -0
- package/es/lowcode/view/lc-components/JSX/index.js +0 -0
- package/es/lowcode/view/lc-components/Layout/index.js +0 -0
- package/es/lowcode/view/lc-components/Link/index.js +0 -0
- package/es/lowcode/view/lc-components/Section/index.js +0 -0
- package/es/lowcode/view/lc-components/Split/index.js +0 -0
- package/es/lowcode/view/lc-components/Table/index.js +0 -0
- package/es/lowcode/view/lc-components/Tabs/index.js +0 -0
- package/es/lowcode/view/lc-components/Text/index.js +0 -0
- package/es/lowcode/view/lc-components/Tree/index.js +0 -0
- package/es/lowcode/view/lc-components/Wrapper.js +0 -0
- package/es/lowcode/view/style/canvas.less +0 -0
- package/es/lowcode/view/style/loading.less +0 -0
- package/es/lowcode/view/style/page.less +0 -0
- package/es/services.js +0 -0
- package/es/upload/Form/gridForm.js +3 -1
- package/es/upload/Form/index.js +0 -0
- package/es/upload/Form/index.less +0 -0
- package/es/upload/FormItem/index.js +5 -6
- package/es/upload/GridCell/index.js +0 -0
- package/es/upload/index.js +0 -0
- package/es/utils/action.js +0 -0
- package/es/utils/form.js +0 -0
- package/es/utils/grid.js +0 -0
- package/es/utils/index.js +0 -0
- package/lib/components/Builder/index.js +0 -0
- package/lib/components/LdAutoForm/index.js +0 -0
- package/lib/components/LdCard/index.js +0 -0
- package/lib/components/LdCard/model.js +0 -0
- package/lib/components/LdCom/index.js +0 -0
- package/lib/components/LdFormList/index.js +0 -0
- package/lib/components/LdFormList/model.js +0 -0
- package/lib/components/LdGrid/index.js +0 -0
- package/lib/components/LdGrid/model.js +0 -0
- package/lib/components/LdGridForm/index.js +0 -0
- package/lib/components/LdGridForm/index.less +0 -0
- package/lib/components/LdInfoPanel/index.js +0 -0
- package/lib/components/LdPop/index.js +0 -0
- package/lib/components/LdRuntimeCom/index.js +0 -0
- package/lib/components/LdTree/index.js +0 -0
- package/lib/components/LdTree/index.less +0 -0
- package/lib/helper/FromItems.js +0 -0
- package/lib/helper/action.js +0 -0
- package/lib/helper/form.js +0 -0
- package/lib/helper/index.less +0 -0
- package/lib/helper/ldBuilder.js +0 -0
- package/lib/helper/ldComBuild.js +0 -0
- package/lib/index.js +0 -0
- package/lib/lowcode/constants/api-url.js +0 -0
- package/lib/lowcode/constants/event-topics.js +0 -0
- package/lib/lowcode/constants/index.js +0 -0
- package/lib/lowcode/engine/factory/DataFactory.js +0 -0
- package/lib/lowcode/engine/meta/button.props.default.json +0 -0
- package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/lib/lowcode/engine/meta/components/button.json +0 -0
- package/lib/lowcode/engine/meta/components/card-list.json +0 -0
- package/lib/lowcode/engine/meta/components/drawer.json +0 -0
- package/lib/lowcode/engine/meta/components/form.json +0 -0
- package/lib/lowcode/engine/meta/components/iframe.json +0 -0
- package/lib/lowcode/engine/meta/components/image.json +0 -0
- package/lib/lowcode/engine/meta/components/imex.json +0 -0
- package/lib/lowcode/engine/meta/components/jsx.json +0 -0
- package/lib/lowcode/engine/meta/components/layout.json +0 -0
- package/lib/lowcode/engine/meta/components/link.json +0 -0
- package/lib/lowcode/engine/meta/components/modal.json +0 -0
- package/lib/lowcode/engine/meta/components/section.json +0 -0
- package/lib/lowcode/engine/meta/components/split.json +0 -0
- package/lib/lowcode/engine/meta/components/table.json +0 -0
- package/lib/lowcode/engine/meta/components/tabs.json +0 -0
- package/lib/lowcode/engine/meta/components/text.json +0 -0
- package/lib/lowcode/engine/meta/components/tree.json +0 -0
- package/lib/lowcode/engine/meta/components-list.json +0 -0
- package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/lib/lowcode/engine/meta/form.props.default.json +0 -0
- package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/lib/lowcode/engine/meta/image.props.default.json +0 -0
- package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
- package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
- package/lib/lowcode/engine/meta/link.props.default.json +0 -0
- package/lib/lowcode/engine/meta/modal.props.default.json +0 -0
- package/lib/lowcode/engine/meta/section.props.default.json +0 -0
- package/lib/lowcode/engine/meta/split.props.default.json +0 -0
- package/lib/lowcode/engine/meta/table.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/lib/lowcode/engine/meta/text.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
- package/lib/lowcode/engine/provider/ContextProvider.js +0 -0
- package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/lib/lowcode/engine/tools/dataProcess.js +0 -0
- package/lib/lowcode/engine/tools/helper.js +0 -0
- package/lib/lowcode/engine/tools/lcid.js +0 -0
- package/lib/lowcode/index.js +0 -0
- package/lib/lowcode/painter/Components.js +0 -0
- package/lib/lowcode/painter/Design.js +0 -0
- package/lib/lowcode/painter/I18n.js +0 -0
- package/lib/lowcode/painter/Outline.js +0 -0
- package/lib/lowcode/painter/Panel.js +0 -0
- package/lib/lowcode/painter/Ribbon.js +0 -0
- package/lib/lowcode/painter/components/PanelItem.js +0 -0
- package/lib/lowcode/painter/components/RuleInput.js +0 -0
- package/lib/lowcode/painter/index.js +0 -0
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +0 -0
- package/lib/lowcode/painter/panel-section/Radio.js +0 -0
- package/lib/lowcode/painter/style/components.less +0 -0
- package/lib/lowcode/painter/style/design.less +0 -0
- package/lib/lowcode/painter/style/index.less +0 -0
- package/lib/lowcode/painter/style/layout-ratio.less +0 -0
- package/lib/lowcode/painter/style/outline.less +0 -0
- package/lib/lowcode/painter/style/panel-item.less +0 -0
- package/lib/lowcode/painter/style/panel.less +0 -0
- package/lib/lowcode/painter/style/radio.less +0 -0
- package/lib/lowcode/painter/style/ribbon.less +0 -0
- package/lib/lowcode/painter/style/rule-input.less +0 -0
- package/lib/lowcode/view/Canvas.js +0 -0
- package/lib/lowcode/view/Loading.js +0 -0
- package/lib/lowcode/view/Page.js +0 -0
- package/lib/lowcode/view/index.js +0 -0
- package/lib/lowcode/view/lc-components/Box/index.js +0 -0
- package/lib/lowcode/view/lc-components/Button/index.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
- package/lib/lowcode/view/lc-components/Dialog/index.js +0 -0
- package/lib/lowcode/view/lc-components/Dialog/index.less +0 -0
- package/lib/lowcode/view/lc-components/Drawer/index.js +0 -0
- package/lib/lowcode/view/lc-components/Form/index.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/lib/lowcode/view/lc-components/ImEx/index.js +0 -0
- package/lib/lowcode/view/lc-components/Image/index.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
- package/lib/lowcode/view/lc-components/Layout/index.js +0 -0
- package/lib/lowcode/view/lc-components/Link/index.js +0 -0
- package/lib/lowcode/view/lc-components/Section/index.js +0 -0
- package/lib/lowcode/view/lc-components/Split/index.js +0 -0
- package/lib/lowcode/view/lc-components/Table/index.js +0 -0
- package/lib/lowcode/view/lc-components/Tabs/index.js +0 -0
- package/lib/lowcode/view/lc-components/Text/index.js +0 -0
- package/lib/lowcode/view/lc-components/Tree/index.js +0 -0
- package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
- package/lib/lowcode/view/style/canvas.less +0 -0
- package/lib/lowcode/view/style/loading.less +0 -0
- package/lib/lowcode/view/style/page.less +0 -0
- package/lib/services.js +0 -0
- package/lib/upload/Form/gridForm.js +3 -1
- package/lib/upload/Form/index.js +0 -0
- package/lib/upload/Form/index.less +0 -0
- package/lib/upload/FormItem/index.js +5 -6
- package/lib/upload/GridCell/index.js +0 -0
- package/lib/upload/index.js +0 -0
- package/lib/utils/action.js +0 -0
- package/lib/utils/form.js +0 -0
- package/lib/utils/grid.js +0 -0
- package/lib/utils/index.js +0 -0
- package/lowcode.js +0 -0
- package/package.json +1 -1
- package/upload.js +0 -0
- package/utils.js +0 -0
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/helper/FromItems.js
CHANGED
|
File without changes
|
package/es/helper/action.js
CHANGED
|
File without changes
|
package/es/helper/form.js
CHANGED
|
File without changes
|
package/es/helper/index.less
CHANGED
|
File without changes
|
package/es/helper/ldBuilder.js
CHANGED
|
File without changes
|
package/es/helper/ldComBuild.js
CHANGED
|
File without changes
|
package/es/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/lowcode/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/lowcode/view/Page.js
CHANGED
|
File without changes
|
package/es/lowcode/view/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/services.js
CHANGED
|
File without changes
|
|
@@ -55,7 +55,8 @@ var UploadGridForm = function UploadGridForm(_ref) {
|
|
|
55
55
|
operates = _ref$operates === void 0 ? ['read', 'add', 'delete', 'download'] : _ref$operates,
|
|
56
56
|
loading = _ref.loading,
|
|
57
57
|
uploadUrl = _ref.uploadUrl,
|
|
58
|
-
supportTypes = _ref.supportTypes,
|
|
58
|
+
_ref$supportTypes = _ref.supportTypes,
|
|
59
|
+
supportTypes = _ref$supportTypes === void 0 ? [] : _ref$supportTypes,
|
|
59
60
|
_ref$forbiddenTypes = _ref.forbiddenTypes,
|
|
60
61
|
forbiddenTypes = _ref$forbiddenTypes === void 0 ? [] : _ref$forbiddenTypes,
|
|
61
62
|
_beforeUpload = _ref.beforeUpload,
|
|
@@ -373,6 +374,7 @@ var UploadGridForm = function UploadGridForm(_ref) {
|
|
|
373
374
|
directory: false,
|
|
374
375
|
num: 99,
|
|
375
376
|
multiple: true,
|
|
377
|
+
autoUpload: false,
|
|
376
378
|
beforeUpload: function beforeUpload(file, fileList) {
|
|
377
379
|
return _beforeUpload2({
|
|
378
380
|
file: file,
|
package/es/upload/Form/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,6 @@ var _excluded = ["uploadUrl", "moduleCode", "bucket", "tag", "note", "config", "
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { BasicFormItem } from 'luck-design';
|
|
7
7
|
import { formatMessage, beforeUpload as _beforeUpload, getSupportUploadTypes } from '@luck-design-biz/base/utils';
|
|
8
|
-
import { useCreation } from 'ahooks';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* 表单类型富文本上传
|
|
@@ -35,8 +34,10 @@ function buildComponent(props) {
|
|
|
35
34
|
note = _props$note === void 0 ? '' : _props$note,
|
|
36
35
|
_props$config = props.config,
|
|
37
36
|
config = _props$config === void 0 ? {} : _props$config,
|
|
38
|
-
supportTypes = props.supportTypes,
|
|
39
|
-
|
|
37
|
+
_props$supportTypes = props.supportTypes,
|
|
38
|
+
supportTypes = _props$supportTypes === void 0 ? [] : _props$supportTypes,
|
|
39
|
+
_props$forbiddenTypes = props.forbiddenTypes,
|
|
40
|
+
forbiddenTypes = _props$forbiddenTypes === void 0 ? [] : _props$forbiddenTypes,
|
|
40
41
|
children = props.children,
|
|
41
42
|
dataFormat = props.dataFormat,
|
|
42
43
|
listType = props.listType,
|
|
@@ -44,9 +45,7 @@ function buildComponent(props) {
|
|
|
44
45
|
var getUrl = function getUrl(behaviorKey) {
|
|
45
46
|
return "".concat(window.appConfig.OSS_HOST_V3, "?moduleCode=").concat(moduleCode, "&behaviorKey=").concat(behaviorKey, "&bucket=").concat(bucket, "&tag=").concat(tag, "¬e=").concat(note);
|
|
46
47
|
};
|
|
47
|
-
var supportUploadTypes =
|
|
48
|
-
return getSupportUploadTypes(forbiddenTypes, supportTypes);
|
|
49
|
-
}, [forbiddenTypes, supportTypes]);
|
|
48
|
+
var supportUploadTypes = getSupportUploadTypes(forbiddenTypes, supportTypes);
|
|
50
49
|
return /*#__PURE__*/React.createElement(BasicFormItem, _extends({
|
|
51
50
|
extra: "".concat(formatMessage({
|
|
52
51
|
id: 'app.upload.supportUpload',
|
|
File without changes
|
package/es/upload/index.js
CHANGED
|
File without changes
|
package/es/utils/action.js
CHANGED
|
File without changes
|
package/es/utils/form.js
CHANGED
|
File without changes
|
package/es/utils/grid.js
CHANGED
|
File without changes
|
package/es/utils/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/helper/FromItems.js
CHANGED
|
File without changes
|
package/lib/helper/action.js
CHANGED
|
File without changes
|
package/lib/helper/form.js
CHANGED
|
File without changes
|
package/lib/helper/index.less
CHANGED
|
File without changes
|
package/lib/helper/ldBuilder.js
CHANGED
|
File without changes
|
package/lib/helper/ldComBuild.js
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/lowcode/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/lowcode/view/Page.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/services.js
CHANGED
|
File without changes
|
|
@@ -63,7 +63,8 @@ var UploadGridForm = function UploadGridForm(_ref) {
|
|
|
63
63
|
operates = _ref$operates === void 0 ? ['read', 'add', 'delete', 'download'] : _ref$operates,
|
|
64
64
|
loading = _ref.loading,
|
|
65
65
|
uploadUrl = _ref.uploadUrl,
|
|
66
|
-
supportTypes = _ref.supportTypes,
|
|
66
|
+
_ref$supportTypes = _ref.supportTypes,
|
|
67
|
+
supportTypes = _ref$supportTypes === void 0 ? [] : _ref$supportTypes,
|
|
67
68
|
_ref$forbiddenTypes = _ref.forbiddenTypes,
|
|
68
69
|
forbiddenTypes = _ref$forbiddenTypes === void 0 ? [] : _ref$forbiddenTypes,
|
|
69
70
|
_beforeUpload = _ref.beforeUpload,
|
|
@@ -381,6 +382,7 @@ var UploadGridForm = function UploadGridForm(_ref) {
|
|
|
381
382
|
directory: false,
|
|
382
383
|
num: 99,
|
|
383
384
|
multiple: true,
|
|
385
|
+
autoUpload: false,
|
|
384
386
|
beforeUpload: function beforeUpload(file, fileList) {
|
|
385
387
|
return (0, _utils.beforeUpload)({
|
|
386
388
|
file: file,
|
package/lib/upload/Form/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _luckDesign = require("luck-design");
|
|
13
13
|
var _utils = require("@luck-design-biz/base/utils");
|
|
14
|
-
var _ahooks = require("ahooks");
|
|
15
14
|
var _excluded = ["uploadUrl", "moduleCode", "bucket", "tag", "note", "config", "supportTypes", "forbiddenTypes", "children", "dataFormat", "listType"];
|
|
16
15
|
/**
|
|
17
16
|
* 表单类型富文本上传
|
|
@@ -41,8 +40,10 @@ function buildComponent(props) {
|
|
|
41
40
|
note = _props$note === void 0 ? '' : _props$note,
|
|
42
41
|
_props$config = props.config,
|
|
43
42
|
config = _props$config === void 0 ? {} : _props$config,
|
|
44
|
-
supportTypes = props.supportTypes,
|
|
45
|
-
|
|
43
|
+
_props$supportTypes = props.supportTypes,
|
|
44
|
+
supportTypes = _props$supportTypes === void 0 ? [] : _props$supportTypes,
|
|
45
|
+
_props$forbiddenTypes = props.forbiddenTypes,
|
|
46
|
+
forbiddenTypes = _props$forbiddenTypes === void 0 ? [] : _props$forbiddenTypes,
|
|
46
47
|
children = props.children,
|
|
47
48
|
dataFormat = props.dataFormat,
|
|
48
49
|
listType = props.listType,
|
|
@@ -50,9 +51,7 @@ function buildComponent(props) {
|
|
|
50
51
|
var getUrl = function getUrl(behaviorKey) {
|
|
51
52
|
return "".concat(window.appConfig.OSS_HOST_V3, "?moduleCode=").concat(moduleCode, "&behaviorKey=").concat(behaviorKey, "&bucket=").concat(bucket, "&tag=").concat(tag, "¬e=").concat(note);
|
|
52
53
|
};
|
|
53
|
-
var supportUploadTypes = (0,
|
|
54
|
-
return (0, _utils.getSupportUploadTypes)(forbiddenTypes, supportTypes);
|
|
55
|
-
}, [forbiddenTypes, supportTypes]);
|
|
54
|
+
var supportUploadTypes = (0, _utils.getSupportUploadTypes)(forbiddenTypes, supportTypes);
|
|
56
55
|
return /*#__PURE__*/_react.default.createElement(_luckDesign.BasicFormItem, (0, _extends2.default)({
|
|
57
56
|
extra: "".concat((0, _utils.formatMessage)({
|
|
58
57
|
id: 'app.upload.supportUpload',
|
|
File without changes
|
package/lib/upload/index.js
CHANGED
|
File without changes
|
package/lib/utils/action.js
CHANGED
|
File without changes
|
package/lib/utils/form.js
CHANGED
|
File without changes
|
package/lib/utils/grid.js
CHANGED
|
File without changes
|
package/lib/utils/index.js
CHANGED
|
File without changes
|
package/lowcode.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/upload.js
CHANGED
|
File without changes
|
package/utils.js
CHANGED
|
File without changes
|