@luck-design-biz/luckda 1.0.6-13tl → 1.0.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/es/components/Builder/index.js +37 -27
- package/es/components/ComplexItem/index.js +5 -3
- package/es/components/ComplexItem/service.js +6 -3
- package/es/components/LdAutoForm/index.js +25 -12
- package/es/components/LdCard/index.js +10 -8
- package/es/components/LdCom/index.js +3 -2
- package/es/components/LdFormList/index.js +5 -4
- package/es/components/LdGrid/index.js +29 -20
- package/es/components/LdGridForm/index.js +16 -7
- package/es/components/LdInfoPanel/index.js +16 -10
- package/es/helper/FromItems.js +64 -5
- package/es/helper/form.js +8 -2
- package/es/helper/ldBuilder.js +9 -5
- package/es/helper/ldComBuild.js +16 -11
- package/es/locales/zh-CN.js +40 -4
- package/es/lowcode/constants/api-url.js +202 -175
- package/es/lowcode/constants/event-topics.js +2 -0
- package/es/lowcode/constants/index.js +5 -4
- package/es/lowcode/engine/meta/components-list.json +6 -0
- package/es/lowcode/engine/meta/fielddate.props.default.json +1 -0
- package/es/lowcode/engine/meta/fielddate.props.json +48 -0
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +5 -0
- package/es/lowcode/engine/meta/pagecomponent.props.default.json +8 -0
- package/es/lowcode/engine/meta/pagecomponent.props.json +41 -0
- 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 +45 -9
- package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js +36 -30
- package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +11 -5
- package/es/lowcode/engine/provider/ContextProvider/useTodo.js +2 -4
- package/es/lowcode/engine/provider/EventBusProvider.js +14 -4
- package/es/lowcode/engine/provider/PageProxyProvider.js +95 -0
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +10 -12
- package/es/lowcode/engine/tools/helper.js +44 -5
- package/es/lowcode/engine/tools/initDS.js +4 -4
- package/es/lowcode/painter/Design.js +1 -0
- package/es/lowcode/painter/DesignOperator.js +129 -27
- package/es/lowcode/painter/DesignToolbar.js +88 -173
- package/es/lowcode/painter/components/AdvancePanel.js +28 -10
- package/es/lowcode/painter/components/TipIcon.js +12 -4
- package/es/lowcode/painter/components/field-setting/SettingUI.js +56 -4
- package/es/lowcode/painter/components/field-setting/index.js +24 -1
- package/es/lowcode/painter/components/shortcut-modal/KeyIcon.js +11 -0
- package/es/lowcode/painter/components/shortcut-modal/index.js +208 -0
- package/es/lowcode/painter/panel-section/BlockEditor/index.js +10 -19
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js +4 -1
- package/es/lowcode/painter/panel-section/ConditionCheck.js +0 -1
- package/es/lowcode/painter/panel-section/DataSetSelector.js +6 -3
- package/es/lowcode/painter/panel-section/FieldsSetting.js +1 -1
- package/es/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
- package/es/lowcode/painter/panel-section/JSEditor/ToolBar.js +7 -4
- package/es/lowcode/painter/panel-section/JSEditor/index.js +15 -5
- package/es/lowcode/painter/panel-section/JSEditor/index.less +4 -0
- package/es/lowcode/painter/panel-section/ProxyLinker.js +137 -0
- package/es/lowcode/painter/panel-section/ProxyParams.js +28 -0
- package/es/lowcode/painter/panel-section/ProxyParamsSetter.js +240 -0
- package/es/lowcode/painter/style/panel-item.less +1 -0
- package/es/lowcode/preview/DebugTool.js +78 -0
- package/es/lowcode/preview/DebugToolDetail.js +103 -0
- package/es/lowcode/preview/index.js +10 -17
- package/es/lowcode/preview/useDebugSettings.js +62 -0
- package/es/lowcode/view/Canvas.js +5 -1
- package/es/lowcode/view/Page.js +8 -3
- package/es/lowcode/view/lc-components/CardList/index.js +3 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +9 -7
- package/es/lowcode/view/lc-components/Drawer/index.js +2 -0
- package/es/lowcode/view/lc-components/FieldDate/meta.json +48 -0
- package/es/lowcode/view/lc-components/Form/index.js +3 -0
- package/es/lowcode/view/lc-components/Proxy/FunctionDesign.js +17 -0
- package/es/lowcode/view/lc-components/Proxy/FunctionLive.js +23 -0
- package/es/lowcode/view/lc-components/Proxy/FunctionPreview.js +23 -0
- package/es/lowcode/view/lc-components/Proxy/index.js +42 -0
- package/es/lowcode/view/lc-components/Proxy/index.less +5 -0
- package/es/lowcode/view/lc-components/Proxy/meta.json +66 -0
- package/es/lowcode/view/lc-components/Table/components/TopImex.js +5 -23
- package/es/lowcode/view/lc-components/Table/index.js +12 -6
- package/es/lowcode/view/lc-components/Tabs/index.js +6 -2
- package/es/lowcode/view/lc-components/Tree/index.js +3 -0
- package/es/lowcode/view/lc-components/Wrapper.js +7 -1
- package/es/services.js +25 -7
- package/es/utils/action.js +3 -2
- package/es/utils/form.js +37 -4
- package/es/utils/grid.js +2 -1
- package/lib/components/Builder/index.js +36 -26
- package/lib/components/ComplexItem/index.js +5 -3
- package/lib/components/ComplexItem/service.js +6 -3
- package/lib/components/LdAutoForm/index.js +22 -9
- package/lib/components/LdCard/index.js +10 -8
- package/lib/components/LdCom/index.js +3 -2
- package/lib/components/LdFormList/index.js +4 -3
- package/lib/components/LdGrid/index.js +29 -20
- package/lib/components/LdGridForm/index.js +13 -4
- package/lib/components/LdInfoPanel/index.js +15 -9
- package/lib/helper/FromItems.js +64 -5
- package/lib/helper/form.js +8 -2
- package/lib/helper/ldBuilder.js +8 -5
- package/lib/helper/ldComBuild.js +14 -9
- package/lib/locales/zh-CN.js +40 -4
- package/lib/lowcode/constants/api-url.js +204 -175
- package/lib/lowcode/constants/event-topics.js +3 -1
- package/lib/lowcode/constants/index.js +6 -5
- package/lib/lowcode/engine/meta/components-list.json +6 -0
- package/lib/lowcode/engine/meta/fielddate.props.default.json +1 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +48 -0
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +5 -0
- package/lib/lowcode/engine/meta/pagecomponent.props.default.json +8 -0
- package/lib/lowcode/engine/meta/pagecomponent.props.json +41 -0
- 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 +50 -13
- package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js +37 -31
- package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js +10 -4
- package/lib/lowcode/engine/provider/ContextProvider/useTodo.js +1 -3
- package/lib/lowcode/engine/provider/EventBusProvider.js +14 -4
- package/lib/lowcode/engine/provider/PageProxyProvider.js +103 -0
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +10 -12
- package/lib/lowcode/engine/tools/helper.js +44 -4
- package/lib/lowcode/engine/tools/initDS.js +4 -4
- package/lib/lowcode/painter/Design.js +1 -0
- package/lib/lowcode/painter/DesignOperator.js +126 -24
- package/lib/lowcode/painter/DesignToolbar.js +84 -169
- package/lib/lowcode/painter/components/AdvancePanel.js +27 -9
- package/lib/lowcode/painter/components/TipIcon.js +12 -4
- package/lib/lowcode/painter/components/field-setting/SettingUI.js +55 -3
- package/lib/lowcode/painter/components/field-setting/index.js +24 -1
- package/lib/lowcode/painter/components/shortcut-modal/KeyIcon.js +18 -0
- package/lib/lowcode/painter/components/shortcut-modal/index.js +215 -0
- package/lib/lowcode/painter/panel-section/BlockEditor/index.js +9 -18
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +4 -1
- package/lib/lowcode/painter/panel-section/ConditionCheck.js +0 -1
- package/lib/lowcode/painter/panel-section/DataSetSelector.js +6 -3
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +1 -1
- package/lib/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/JSEditor/ToolBar.js +7 -4
- package/lib/lowcode/painter/panel-section/JSEditor/index.js +14 -4
- package/lib/lowcode/painter/panel-section/JSEditor/index.less +4 -0
- package/lib/lowcode/painter/panel-section/ProxyLinker.js +145 -0
- package/lib/lowcode/painter/panel-section/ProxyParams.js +35 -0
- package/lib/lowcode/painter/panel-section/ProxyParamsSetter.js +248 -0
- package/lib/lowcode/painter/style/panel-item.less +1 -0
- package/lib/lowcode/preview/DebugTool.js +86 -0
- package/lib/lowcode/preview/DebugToolDetail.js +111 -0
- package/lib/lowcode/preview/index.js +10 -18
- package/lib/lowcode/preview/useDebugSettings.js +69 -0
- package/lib/lowcode/view/Canvas.js +5 -1
- package/lib/lowcode/view/Page.js +8 -3
- package/lib/lowcode/view/lc-components/CardList/index.js +3 -0
- package/lib/lowcode/view/lc-components/Dialog/index.js +9 -7
- package/lib/lowcode/view/lc-components/Drawer/index.js +2 -0
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +48 -0
- package/lib/lowcode/view/lc-components/Form/index.js +3 -0
- package/lib/lowcode/view/lc-components/Proxy/FunctionDesign.js +24 -0
- package/lib/lowcode/view/lc-components/Proxy/FunctionLive.js +30 -0
- package/lib/lowcode/view/lc-components/Proxy/FunctionPreview.js +30 -0
- package/lib/lowcode/view/lc-components/Proxy/index.js +50 -0
- package/lib/lowcode/view/lc-components/Proxy/index.less +5 -0
- package/lib/lowcode/view/lc-components/Proxy/meta.json +66 -0
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js +4 -22
- package/lib/lowcode/view/lc-components/Table/index.js +12 -6
- package/lib/lowcode/view/lc-components/Tabs/index.js +5 -1
- package/lib/lowcode/view/lc-components/Tree/index.js +3 -0
- package/lib/lowcode/view/lc-components/Wrapper.js +6 -0
- package/lib/services.js +26 -7
- package/lib/utils/action.js +6 -0
- package/lib/utils/form.js +38 -4
- package/lib/utils/grid.js +2 -1
- package/package.json +1 -1
- package/es/lowcode/engine/meta/button.api.json +0 -0
- package/lib/lowcode/engine/meta/button.api.json +0 -0
|
@@ -29,6 +29,54 @@
|
|
|
29
29
|
"name": "日期格式",
|
|
30
30
|
"type": "string"
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
"key": "format",
|
|
34
|
+
"name": "日期格式",
|
|
35
|
+
"type": "select",
|
|
36
|
+
"options": [
|
|
37
|
+
{
|
|
38
|
+
"label": "年-月-日 时:分:秒",
|
|
39
|
+
"value": "YYYY-MM-DD HH:mm:ss"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"label": "年-月-日 时:分",
|
|
43
|
+
"value": "YYYY-MM-DD HH:mm"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"label": "年-月-日 时",
|
|
47
|
+
"value": "YYYY-MM-DD HH"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"label": "年-月-日",
|
|
51
|
+
"value": "YYYY-MM-DD"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "年-月",
|
|
55
|
+
"value": "YYYY-MM"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "年",
|
|
59
|
+
"value": "YYYY"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"label": "时:分:秒",
|
|
63
|
+
"value": "HH:mm:ss"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"label": "时:分",
|
|
67
|
+
"value": "HH:mm"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"label": "分:秒",
|
|
71
|
+
"value": "mm:ss"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"label": "年-周",
|
|
75
|
+
"value": "YYYY-wo"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"default": 16
|
|
79
|
+
},
|
|
32
80
|
{
|
|
33
81
|
"key": "disabledDate",
|
|
34
82
|
"name": "不可选日期",
|
|
@@ -15,6 +15,7 @@ import Wrapper from "../Wrapper";
|
|
|
15
15
|
import { LdFormList } from "../../../../index";
|
|
16
16
|
import { omitBadProps, executeCode, getLDMetaAttr } from "../../../engine/tools/helper";
|
|
17
17
|
import { useContext, useRemoteSource, modifyNode } from "../../../engine/provider/ContextProvider";
|
|
18
|
+
import { usePageProxyContext } from "../../../engine/provider/PageProxyProvider";
|
|
18
19
|
import buildUploadForm from "../../../../upload/Form";
|
|
19
20
|
import RuntimeComp from "../JSX/RuntimeComp";
|
|
20
21
|
import useCombinedRefs from "../../../engine/tools/useCombinedRefs";
|
|
@@ -75,6 +76,7 @@ var LCForm = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
|
75
76
|
var formRef = useCombinedRefs(ref);
|
|
76
77
|
var promiseRef = useRef(null);
|
|
77
78
|
var ctx = useContext();
|
|
79
|
+
var ppCtx = usePageProxyContext();
|
|
78
80
|
var remoteSource = useRemoteSource();
|
|
79
81
|
var _initData = useCreation(function () {
|
|
80
82
|
return getPageQuery();
|
|
@@ -561,6 +563,7 @@ var LCForm = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
|
561
563
|
wrapperRef: wrapperRef,
|
|
562
564
|
id: id,
|
|
563
565
|
ldId: id,
|
|
566
|
+
pageProxy: ppCtx,
|
|
564
567
|
className: classNames('lc-component-form', _defineProperty({}, className, !!className)),
|
|
565
568
|
renderFormList: renderFormList,
|
|
566
569
|
renderFormExtra: renderFormExtra,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Empty } from 'luck-design/antd';
|
|
4
|
+
import { formatMessage } from '@luck-design-biz/base/utils';
|
|
5
|
+
import Index from "./index";
|
|
6
|
+
import styled from "./index.less";
|
|
7
|
+
var FunctionDesign = function FunctionDesign(props) {
|
|
8
|
+
return /*#__PURE__*/React.createElement(Index, _extends({}, props, {
|
|
9
|
+
className: styled['runtime-design']
|
|
10
|
+
}), /*#__PURE__*/React.createElement(Empty, {
|
|
11
|
+
description: formatMessage({
|
|
12
|
+
id: 'luckda.lowcode.view.lc-component.design.show',
|
|
13
|
+
label: '请在预览、运行界面查看嵌入的代理页面'
|
|
14
|
+
})
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
export default FunctionDesign;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["id", "proxyCode", "destroyOnUnmount", "proxyParams"];
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import Index from "./index";
|
|
6
|
+
import PageProxyProvider from "../../../engine/provider/PageProxyProvider";
|
|
7
|
+
import Page from "../../Page";
|
|
8
|
+
var FunctionLive = function FunctionLive(_ref) {
|
|
9
|
+
var id = _ref.id,
|
|
10
|
+
proxyCode = _ref.proxyCode,
|
|
11
|
+
destroyOnUnmount = _ref.destroyOnUnmount,
|
|
12
|
+
proxyParams = _ref.proxyParams,
|
|
13
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/React.createElement(Index, _extends({
|
|
15
|
+
id: id
|
|
16
|
+
}, props), /*#__PURE__*/React.createElement(PageProxyProvider, {
|
|
17
|
+
id: id,
|
|
18
|
+
proxyCode: proxyCode,
|
|
19
|
+
destroyOnUnmount: destroyOnUnmount,
|
|
20
|
+
proxyParams: proxyParams
|
|
21
|
+
}, /*#__PURE__*/React.createElement(Page, null)));
|
|
22
|
+
};
|
|
23
|
+
export default FunctionLive;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["id", "proxyCode", "destroyOnUnmount", "proxyParams"];
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import Index from "./index";
|
|
6
|
+
import PageProxyProvider from "../../../engine/provider/PageProxyProvider";
|
|
7
|
+
import Page from "../../Page";
|
|
8
|
+
var FunctionPreview = function FunctionPreview(_ref) {
|
|
9
|
+
var id = _ref.id,
|
|
10
|
+
proxyCode = _ref.proxyCode,
|
|
11
|
+
destroyOnUnmount = _ref.destroyOnUnmount,
|
|
12
|
+
proxyParams = _ref.proxyParams,
|
|
13
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/React.createElement(Index, _extends({
|
|
15
|
+
id: id
|
|
16
|
+
}, props), /*#__PURE__*/React.createElement(PageProxyProvider, {
|
|
17
|
+
id: id,
|
|
18
|
+
proxyCode: proxyCode,
|
|
19
|
+
destroyOnUnmount: destroyOnUnmount,
|
|
20
|
+
proxyParams: proxyParams
|
|
21
|
+
}, /*#__PURE__*/React.createElement(Page, null)));
|
|
22
|
+
};
|
|
23
|
+
export default FunctionPreview;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import React, { useRef, useEffect } from 'react';
|
|
3
|
+
import { useMemoizedFn } from 'ahooks';
|
|
4
|
+
import styled from 'styled-components';
|
|
5
|
+
import classNames from 'classnames';
|
|
6
|
+
import { useContext } from "../../../engine/provider/ContextProvider";
|
|
7
|
+
import Wrapper from "../Wrapper";
|
|
8
|
+
import styles from "./index.less";
|
|
9
|
+
var Div = styled.div.withConfig({
|
|
10
|
+
displayName: "Div",
|
|
11
|
+
componentId: "luckda-6530__sc-13y875a-0"
|
|
12
|
+
})(["", ""], function (props) {
|
|
13
|
+
return props.$css;
|
|
14
|
+
});
|
|
15
|
+
var LCPageProxy = function LCPageProxy(_ref) {
|
|
16
|
+
var id = _ref.id,
|
|
17
|
+
children = _ref.children,
|
|
18
|
+
className = _ref.className,
|
|
19
|
+
css = _ref.css,
|
|
20
|
+
advance = _ref.advance;
|
|
21
|
+
var domRef = useRef();
|
|
22
|
+
var ctx = useContext();
|
|
23
|
+
useEffect(function () {
|
|
24
|
+
ctx.doAction(advance.events.onMount);
|
|
25
|
+
return function () {
|
|
26
|
+
return ctx.doAction(advance.events.onUnmount);
|
|
27
|
+
};
|
|
28
|
+
}, []);
|
|
29
|
+
var getTargetDom = useMemoizedFn(function () {
|
|
30
|
+
return domRef.current;
|
|
31
|
+
});
|
|
32
|
+
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
33
|
+
id: id,
|
|
34
|
+
displayName: "Proxy",
|
|
35
|
+
getTargetDom: getTargetDom
|
|
36
|
+
}, /*#__PURE__*/React.createElement(Div, {
|
|
37
|
+
ref: domRef,
|
|
38
|
+
$css: css,
|
|
39
|
+
className: classNames(styles['lc-component-proxy'], _defineProperty({}, className, !!className))
|
|
40
|
+
}, children));
|
|
41
|
+
};
|
|
42
|
+
export default LCPageProxy;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "Proxy",
|
|
3
|
+
"name": "页面代理",
|
|
4
|
+
"desc": "用于代理其他页面的内容,用于实现已有页面的服用。",
|
|
5
|
+
"icon": "icon-proxy",
|
|
6
|
+
"group": "advance",
|
|
7
|
+
"groupName": "高级",
|
|
8
|
+
"order": 6,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "destroyOnUnmount",
|
|
18
|
+
"name": "卸载时销毁",
|
|
19
|
+
"type": "switch",
|
|
20
|
+
"default": false
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"key": "proxyCode",
|
|
24
|
+
"name": "页面编码",
|
|
25
|
+
"type": "_ProxyLinker"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"key": "proxyParams",
|
|
29
|
+
"name": "页面参数",
|
|
30
|
+
"type": "_ProxyParams",
|
|
31
|
+
"wrapper": "collapse",
|
|
32
|
+
"wrapperProps": {
|
|
33
|
+
"suppressIcon": true
|
|
34
|
+
},
|
|
35
|
+
"next": {
|
|
36
|
+
"name": "页面参数对象",
|
|
37
|
+
"autoClose": true,
|
|
38
|
+
"props": [
|
|
39
|
+
{
|
|
40
|
+
"key": "proxyParams",
|
|
41
|
+
"name": "#页面参数对象",
|
|
42
|
+
"type": "_ProxyParamsSetter",
|
|
43
|
+
"default": []
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"css": "width: 100%; height: 100%; background-color: transparent;",
|
|
50
|
+
"advance": {
|
|
51
|
+
"events": [
|
|
52
|
+
{
|
|
53
|
+
"key": "onMount",
|
|
54
|
+
"name": "组件首次渲染完成",
|
|
55
|
+
"desc": "在组件首次渲染完成时,执行方法",
|
|
56
|
+
"func": "function onPageMount(){\n\t\n}"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "onUnmount",
|
|
60
|
+
"name": "组件卸载时",
|
|
61
|
+
"desc": "在组件卸载时,执行方法。",
|
|
62
|
+
"func": "function onPageUnmount(){\n\t\n}"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -6,8 +6,7 @@ import React, { useState, useEffect } from 'react';
|
|
|
6
6
|
import { Button, notification, Icon, Progress, message } from 'luck-design/antd';
|
|
7
7
|
import api from "@/services/ApiConfig";
|
|
8
8
|
import { BasicForm, BasicFormItem, PopWindow } from 'luck-design';
|
|
9
|
-
import { exportExcel, uploadTemplate, getFindexcelstate, noAuthGetTemplateUrl
|
|
10
|
-
import { getLDMetaAttr } from "../../../../engine/tools/helper";
|
|
9
|
+
import { exportExcel, uploadTemplate, getFindexcelstate, noAuthGetTemplateUrl } from "../../../../constants/api-url";
|
|
11
10
|
import styled from 'styled-components';
|
|
12
11
|
import { isString, split, last, lowerCase, includes } from 'lodash';
|
|
13
12
|
import { useRequest } from 'ahooks';
|
|
@@ -20,7 +19,6 @@ var UploadDoneWrap = styled.div.withConfig({
|
|
|
20
19
|
displayName: "UploadDoneWrap",
|
|
21
20
|
componentId: "luckda-6530__sc-1eag873-1"
|
|
22
21
|
})(["display:flex;align-items:center;justify-content:center;flex-direction:column;padding:16px;"]);
|
|
23
|
-
var mdCode = getLDMetaAttr('dataModelKey');
|
|
24
22
|
|
|
25
23
|
// options: {import: 'templateId' | 'behaviorKey', importType: false | true, moduleCode}
|
|
26
24
|
export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
@@ -45,13 +43,6 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
45
43
|
manual: true
|
|
46
44
|
}),
|
|
47
45
|
runAsyncImport = _useRequest.runAsync;
|
|
48
|
-
|
|
49
|
-
// 清除进度
|
|
50
|
-
var clearProgress = function clearProgress(batchNo) {
|
|
51
|
-
clearProcess(batchNo).then(function () {
|
|
52
|
-
options.tableRef && options.tableRef.current && options.tableRef.current.onLdQuery();
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
46
|
var fecthFindExcelState = function fecthFindExcelState(_ref2, callback) {
|
|
56
47
|
var strategy = _ref2.strategy,
|
|
57
48
|
batchNo = _ref2.batchNo,
|
|
@@ -81,16 +72,13 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
81
72
|
}, 500);
|
|
82
73
|
} else {
|
|
83
74
|
setActionStep('finish');
|
|
84
|
-
clearProgress(batchNo);
|
|
85
75
|
}
|
|
86
76
|
} else {
|
|
87
77
|
callback();
|
|
88
78
|
setActionStep('finish');
|
|
89
|
-
clearProgress(batchNo);
|
|
90
79
|
}
|
|
91
80
|
}).catch(function () {
|
|
92
81
|
setActionStep('finish');
|
|
93
|
-
clearProgress(batchNo);
|
|
94
82
|
callback();
|
|
95
83
|
});
|
|
96
84
|
};
|
|
@@ -213,12 +201,8 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
213
201
|
type: "link"
|
|
214
202
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
215
203
|
type: "download"
|
|
216
|
-
}), " \u4E0B\u8F7D\u6A21\u7248")))) : /*#__PURE__*/React.createElement(UploadDoneWrap, null, /*#__PURE__*/React.createElement("p", null, "\u5DF2\u5BFC\u5165\uFF1A", uploadResult.totalCount || 0, "\u6761\uFF0C\u6210\u529F\uFF1A", uploadResult.successCount || 0, "\u6761\uFF0C\u5931\u8D25\uFF1A", uploadResult.failureCount, "\u6761"), uploadResult.failureCount > 0 ?
|
|
217
|
-
|
|
218
|
-
//1. http://ip/api/fes
|
|
219
|
-
//2. 循环结束调用clearProgress (batchNo)
|
|
220
|
-
React.createElement("a", {
|
|
221
|
-
href: "".concat(window.location.origin).concat(api.API_HOST, "/").concat(mdCode).concat(uploadResult.errorFileUrl),
|
|
204
|
+
}), " \u4E0B\u8F7D\u6A21\u7248")))) : /*#__PURE__*/React.createElement(UploadDoneWrap, null, /*#__PURE__*/React.createElement("p", null, "\u5DF2\u5BFC\u5165\uFF1A", uploadResult.totalCount || 0, "\u6761\uFF0C\u6210\u529F\uFF1A", uploadResult.successCount || 0, "\u6761\uFF0C\u5931\u8D25\uFF1A", uploadResult.failureCount, "\u6761"), uploadResult.failureCount > 0 ? /*#__PURE__*/React.createElement("a", {
|
|
205
|
+
href: uploadResult.errorFileUrl,
|
|
222
206
|
download: true
|
|
223
207
|
}, "\u4E0B\u8F7D\u51FA\u9519\u8868\u683C\u4FE1\u606F") : ''));
|
|
224
208
|
};
|
|
@@ -226,8 +210,7 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
226
210
|
// options: {import: 'templateId' | 'behaviorKey', importType: false | true}
|
|
227
211
|
export var TopUpload = function TopUpload(_ref4) {
|
|
228
212
|
var options = _ref4.options,
|
|
229
|
-
moduleCode = _ref4.moduleCode
|
|
230
|
-
tableRef = _ref4.tableRef;
|
|
213
|
+
moduleCode = _ref4.moduleCode;
|
|
231
214
|
var _useState7 = useState(false),
|
|
232
215
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
233
216
|
visible = _useState8[0],
|
|
@@ -244,8 +227,7 @@ export var TopUpload = function TopUpload(_ref4) {
|
|
|
244
227
|
visible: visible,
|
|
245
228
|
setVisible: setVisible,
|
|
246
229
|
options: _objectSpread(_objectSpread({}, options), {}, {
|
|
247
|
-
moduleCode: moduleCode
|
|
248
|
-
tableRef: tableRef
|
|
230
|
+
moduleCode: moduleCode
|
|
249
231
|
})
|
|
250
232
|
}));
|
|
251
233
|
};
|
|
@@ -4,14 +4,16 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
5
5
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
6
6
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
7
|
-
var _excluded = ["render"];
|
|
7
|
+
var _excluded = ["render", "dateFormat"];
|
|
8
8
|
import React, { useRef, useImperativeHandle, forwardRef, useCallback } from 'react';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import { useMemoizedFn, useCreation, useRequest, useUnmount } from 'ahooks';
|
|
11
11
|
import { isNil, isString, keyBy } from 'lodash';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
|
+
import moment from 'moment';
|
|
13
14
|
import { Modal, recheck } from '@luck-design-biz/base';
|
|
14
15
|
import { useContext } from "../../../engine/provider/ContextProvider";
|
|
16
|
+
import { usePageProxyContext } from "../../../engine/provider/PageProxyProvider";
|
|
15
17
|
import Wrapper from "../Wrapper";
|
|
16
18
|
import { LdGrid, LDActions } from "../../../../index";
|
|
17
19
|
import TopFilter from "./components/TopFilter";
|
|
@@ -63,6 +65,7 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
63
65
|
onGridReady = _ref.onGridReady,
|
|
64
66
|
advance = _ref.advance;
|
|
65
67
|
var ctx = useContext();
|
|
68
|
+
var ppCtx = usePageProxyContext();
|
|
66
69
|
var apiRef = useRef();
|
|
67
70
|
var wrapperRef = useRef();
|
|
68
71
|
var instanceRef = useCombinedRefs(ref);
|
|
@@ -386,6 +389,7 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
386
389
|
var colsMap = keyBy(cols, 'field');
|
|
387
390
|
var _cols = isNil(fields) ? cols : fields.map(function (_ref4) {
|
|
388
391
|
var render = _ref4.render,
|
|
392
|
+
dateFormat = _ref4.dateFormat,
|
|
389
393
|
_field = _objectWithoutProperties(_ref4, _excluded);
|
|
390
394
|
return _objectSpread(_objectSpread({}, colsMap[_field.field]), {}, {
|
|
391
395
|
render: render ? function (v, d, i, p) {
|
|
@@ -395,6 +399,8 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
395
399
|
rowIndex: i,
|
|
396
400
|
params: p
|
|
397
401
|
}, render.replace(/(function\s*\w*\s*)\([^)]*\)(\s*{)/, '$1()$2'));
|
|
402
|
+
} : dateFormat ? function (v) {
|
|
403
|
+
return moment(v).format(dateFormat);
|
|
398
404
|
} : null
|
|
399
405
|
}, _field);
|
|
400
406
|
});
|
|
@@ -413,7 +419,6 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
413
419
|
}, [fields, formatDataSource, getDataPath, columnsRewrite, columnsReset, modelParams, draggable]);
|
|
414
420
|
var renderFunctionArea = useCallback(function () {
|
|
415
421
|
var _topActionGroup$todoL;
|
|
416
|
-
var _moduleCode = getLDMetaAttr('moduleCode');
|
|
417
422
|
var resultComp = [];
|
|
418
423
|
if (!!(topActionGroup !== null && topActionGroup !== void 0 && (_topActionGroup$todoL = topActionGroup.todoList) !== null && _topActionGroup$todoL !== void 0 && _topActionGroup$todoL.length)) {
|
|
419
424
|
resultComp.push( /*#__PURE__*/React.createElement(LDActions, _extends({}, topActionGroup, {
|
|
@@ -431,7 +436,7 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
431
436
|
apiUrl = _instanceRef$current$2.apiUrl;
|
|
432
437
|
resultComp.push( /*#__PURE__*/React.createElement(TopUpload, {
|
|
433
438
|
apiUrl: apiUrl,
|
|
434
|
-
moduleCode:
|
|
439
|
+
moduleCode: moduleCode,
|
|
435
440
|
options: impexp,
|
|
436
441
|
tableRef: instanceRef
|
|
437
442
|
}));
|
|
@@ -442,13 +447,13 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
442
447
|
_apiUrl = _instanceRef$current$3.apiUrl;
|
|
443
448
|
resultComp.push( /*#__PURE__*/React.createElement(TopExport, {
|
|
444
449
|
apiUrl: _apiUrl,
|
|
445
|
-
moduleCode:
|
|
450
|
+
moduleCode: moduleCode,
|
|
446
451
|
options: impexp,
|
|
447
452
|
tableRef: instanceRef
|
|
448
453
|
}));
|
|
449
454
|
}
|
|
450
455
|
return resultComp;
|
|
451
|
-
}, [topActionGroup, impexp
|
|
456
|
+
}, [topActionGroup, impexp]);
|
|
452
457
|
var renderFilterArea = useCallback(function () {
|
|
453
458
|
return topFilter ? /*#__PURE__*/React.createElement(TopFilter, {
|
|
454
459
|
filter: topFilter,
|
|
@@ -567,7 +572,8 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
567
572
|
wrapper: wrapperRef,
|
|
568
573
|
wrapperProps: _wrapperProps,
|
|
569
574
|
width: width,
|
|
570
|
-
height: height
|
|
575
|
+
height: height,
|
|
576
|
+
pageProxy: ppCtx
|
|
571
577
|
// _loading={ctx.loading}
|
|
572
578
|
,
|
|
573
579
|
bordered: bordered,
|
|
@@ -6,9 +6,10 @@ import { useMemoizedFn, useCreation } from 'ahooks';
|
|
|
6
6
|
import { isNil } from 'lodash';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
8
|
import { Tabs } from 'luck-design/antd';
|
|
9
|
-
import { useContext } from "../../../engine/provider/ContextProvider";
|
|
9
|
+
import { useContext, useRemoteSource } from "../../../engine/provider/ContextProvider";
|
|
10
10
|
import Wrapper from "../Wrapper";
|
|
11
11
|
import RuntimeComp from "../JSX/RuntimeComp";
|
|
12
|
+
import { usePageProxyContext } from "../../../engine/provider/PageProxyProvider";
|
|
12
13
|
import { omitBadProps } from "../../../engine/tools/helper";
|
|
13
14
|
import defaultMeta from "../../../engine/meta/tabs.props.default.json";
|
|
14
15
|
var StyledTabs = styled(Tabs).withConfig({
|
|
@@ -32,10 +33,13 @@ var LCTabs = function LCTabs(_ref) {
|
|
|
32
33
|
var ref = useRef();
|
|
33
34
|
var apiRef = useRef();
|
|
34
35
|
var ctx = useContext();
|
|
36
|
+
var _useRemoteSource = useRemoteSource(),
|
|
37
|
+
module = _useRemoteSource.module;
|
|
38
|
+
var ppCtx = usePageProxyContext();
|
|
35
39
|
var _items = useCreation(function () {
|
|
36
40
|
return items.filter(function (_ref2) {
|
|
37
41
|
var serial = _ref2.serial;
|
|
38
|
-
return isNil(serial) || ctx.want(serial);
|
|
42
|
+
return isNil(serial) || ctx.want(serial, module[(ppCtx === null || ppCtx === void 0 ? void 0 : ppCtx.proxyCode) || 'master'].resources);
|
|
39
43
|
});
|
|
40
44
|
}, [items]);
|
|
41
45
|
var _useState = useState(function () {
|
|
@@ -11,6 +11,7 @@ import { isNil, keyBy } from 'lodash';
|
|
|
11
11
|
import { Modal, recheck, IconFont } from '@luck-design-biz/base';
|
|
12
12
|
import { suid } from '@luck-design-biz/base/utils';
|
|
13
13
|
import { useContext } from "../../../engine/provider/ContextProvider";
|
|
14
|
+
import { usePageProxyContext } from "../../../engine/provider/PageProxyProvider";
|
|
14
15
|
import Wrapper from "../Wrapper";
|
|
15
16
|
import { LdTree } from "../../../../index";
|
|
16
17
|
import useCombinedRefs from "../../../engine/tools/useCombinedRefs";
|
|
@@ -44,6 +45,7 @@ var LCTree = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
44
45
|
defaultSelect = _ref.defaultSelect,
|
|
45
46
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
46
47
|
var ctx = useContext();
|
|
48
|
+
var ppCtx = usePageProxyContext();
|
|
47
49
|
var apiRef = useRef();
|
|
48
50
|
var wrapperRef = useRef();
|
|
49
51
|
var instanceRef = useCombinedRefs(ref);
|
|
@@ -160,6 +162,7 @@ var LCTree = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
160
162
|
ref: instanceRef,
|
|
161
163
|
wrapper: wrapperRef,
|
|
162
164
|
wrapperProps: _wrapperProps,
|
|
165
|
+
pageProxy: ppCtx,
|
|
163
166
|
className: classNames(styles['lc-component-tree'], _defineProperty({}, className, !!className)),
|
|
164
167
|
dataSetKey: dataset === null || dataset === void 0 ? void 0 : dataset.code,
|
|
165
168
|
showLine: showLine,
|
|
@@ -4,7 +4,8 @@ import React, { useEffect } from 'react';
|
|
|
4
4
|
import { useLatest, useCreation } from 'ahooks';
|
|
5
5
|
import { omit } from 'lodash';
|
|
6
6
|
import { useContext, useGet, modifyNode, getLevelNodes as _getLevelNodes, getSelfAndParent } from "../../engine/provider/ContextProvider";
|
|
7
|
-
import {
|
|
7
|
+
import { usePageProxyContext } from "../../engine/provider/PageProxyProvider";
|
|
8
|
+
import { LC_COMPONENT_UNIT_KEY, LC_COMPONENT_UNIT, RUNTIME, LC_PAGEPROXY_KEY } from "../../constants";
|
|
8
9
|
import DragDropWrapper from "../../painter/components/DragDrop/DragDropWrapper";
|
|
9
10
|
var LCWrapper = function LCWrapper(_ref) {
|
|
10
11
|
var id = _ref.id,
|
|
@@ -13,6 +14,7 @@ var LCWrapper = function LCWrapper(_ref) {
|
|
|
13
14
|
getTargetDom = _ref.getTargetDom,
|
|
14
15
|
api = _ref.api;
|
|
15
16
|
var ctx = useContext();
|
|
17
|
+
var ppCtx = usePageProxyContext();
|
|
16
18
|
var selfData = useGet({
|
|
17
19
|
id: id
|
|
18
20
|
});
|
|
@@ -35,6 +37,7 @@ var LCWrapper = function LCWrapper(_ref) {
|
|
|
35
37
|
ctx._register(id, new Proxy({
|
|
36
38
|
id: id,
|
|
37
39
|
meta: omit(meta, ['props', 'css', 'advance']),
|
|
40
|
+
$pp: ppCtx,
|
|
38
41
|
set: function set(prop, value, toDom) {
|
|
39
42
|
if (toDom === true) {
|
|
40
43
|
if (['id', LC_COMPONENT_UNIT_KEY].includes(prop)) {
|
|
@@ -65,6 +68,9 @@ var LCWrapper = function LCWrapper(_ref) {
|
|
|
65
68
|
if (dom) {
|
|
66
69
|
dom.setAttribute('id', id);
|
|
67
70
|
dom.setAttribute(LC_COMPONENT_UNIT_KEY, LC_COMPONENT_UNIT);
|
|
71
|
+
if (ppCtx) {
|
|
72
|
+
dom.setAttribute(LC_PAGEPROXY_KEY, ppCtx.id);
|
|
73
|
+
}
|
|
68
74
|
}
|
|
69
75
|
ctx.$publisher(ctx.topics.COMPONENT_MOUNT, {
|
|
70
76
|
id: id
|
package/es/services.js
CHANGED
|
@@ -2,6 +2,7 @@ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
3
|
import { request } from '@luck-design-biz/base/utils';
|
|
4
4
|
import api from "@/services/ApiConfig";
|
|
5
|
+
import { stringify } from 'querystring';
|
|
5
6
|
export function readModlue(_x) {
|
|
6
7
|
return _readModlue.apply(this, arguments);
|
|
7
8
|
}
|
|
@@ -21,22 +22,39 @@ function _readModlue() {
|
|
|
21
22
|
}));
|
|
22
23
|
return _readModlue.apply(this, arguments);
|
|
23
24
|
}
|
|
24
|
-
export function
|
|
25
|
-
return
|
|
25
|
+
export function readUI(_x2) {
|
|
26
|
+
return _readUI.apply(this, arguments);
|
|
26
27
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
28
|
+
function _readUI() {
|
|
29
|
+
_readUI = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(get) {
|
|
29
30
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
30
31
|
while (1) switch (_context2.prev = _context2.next) {
|
|
31
32
|
case 0:
|
|
32
|
-
return _context2.abrupt("return", request("".concat(api.
|
|
33
|
-
params: params
|
|
34
|
-
}));
|
|
33
|
+
return _context2.abrupt("return", request("".concat(api.LUCKDA_HOST, "/ui/builder/noAuthFetchModuleDataSetUI?").concat(stringify(get))));
|
|
35
34
|
case 1:
|
|
36
35
|
case "end":
|
|
37
36
|
return _context2.stop();
|
|
38
37
|
}
|
|
39
38
|
}, _callee2);
|
|
40
39
|
}));
|
|
40
|
+
return _readUI.apply(this, arguments);
|
|
41
|
+
}
|
|
42
|
+
export function noAuthTransformCode(_x3) {
|
|
43
|
+
return _noAuthTransformCode.apply(this, arguments);
|
|
44
|
+
}
|
|
45
|
+
function _noAuthTransformCode() {
|
|
46
|
+
_noAuthTransformCode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) {
|
|
47
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
48
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
49
|
+
case 0:
|
|
50
|
+
return _context3.abrupt("return", request("".concat(api.BASE_HOST, "/page/option/noAuthTransformCode"), {
|
|
51
|
+
params: params
|
|
52
|
+
}));
|
|
53
|
+
case 1:
|
|
54
|
+
case "end":
|
|
55
|
+
return _context3.stop();
|
|
56
|
+
}
|
|
57
|
+
}, _callee3);
|
|
58
|
+
}));
|
|
41
59
|
return _noAuthTransformCode.apply(this, arguments);
|
|
42
60
|
}
|
package/es/utils/action.js
CHANGED
|
@@ -2,7 +2,7 @@ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
4
|
// 行为请求同一接口
|
|
5
|
-
import { fetchCallBehavior } from "../lowcode/constants/api-url";
|
|
5
|
+
import { fetchCallBehavior, readCallBehavior } from "../lowcode/constants/api-url";
|
|
6
6
|
export function behaviorCall() {
|
|
7
7
|
return _behaviorCall.apply(this, arguments);
|
|
8
8
|
}
|
|
@@ -28,4 +28,5 @@ function _behaviorCall() {
|
|
|
28
28
|
}, _callee);
|
|
29
29
|
}));
|
|
30
30
|
return _behaviorCall.apply(this, arguments);
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
|
+
export { readCallBehavior };
|