aldehyde 0.2.294 → 0.2.296
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/lib/lowcode-components/bar-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/bar-chart/index.js +2 -1
- package/lib/lowcode-components/bar-chart/index.js.map +1 -1
- package/lib/lowcode-components/base-map/index.d.ts.map +1 -1
- package/lib/lowcode-components/base-map/index.js +8 -10
- package/lib/lowcode-components/base-map/index.js.map +1 -1
- package/lib/lowcode-components/base-text/index.d.ts +0 -4
- package/lib/lowcode-components/base-text/index.d.ts.map +1 -1
- package/lib/lowcode-components/base-text/index.js +4 -31
- package/lib/lowcode-components/base-text/index.js.map +1 -1
- package/lib/lowcode-components/capsule-bar-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/capsule-bar-chart/index.js +2 -1
- package/lib/lowcode-components/capsule-bar-chart/index.js.map +1 -1
- package/lib/lowcode-components/circular-progress-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/circular-progress-chart/index.js +2 -1
- package/lib/lowcode-components/circular-progress-chart/index.js.map +1 -1
- package/lib/lowcode-components/column-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/column-chart/index.js +2 -1
- package/lib/lowcode-components/column-chart/index.js.map +1 -1
- package/lib/lowcode-components/data-number/index.d.ts.map +1 -1
- package/lib/lowcode-components/data-number/index.js +2 -1
- package/lib/lowcode-components/data-number/index.js.map +1 -1
- package/lib/lowcode-components/effectScatter-map/index.d.ts.map +1 -1
- package/lib/lowcode-components/effectScatter-map/index.js +11 -9
- package/lib/lowcode-components/effectScatter-map/index.js.map +1 -1
- package/lib/lowcode-components/gauge-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/gauge-chart/index.js +2 -1
- package/lib/lowcode-components/gauge-chart/index.js.map +1 -1
- package/lib/lowcode-components/index.d.ts +2 -0
- package/lib/lowcode-components/index.d.ts.map +1 -1
- package/lib/lowcode-components/index.js +2 -1
- package/lib/lowcode-components/index.js.map +1 -1
- package/lib/lowcode-components/line-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/line-chart/index.js +2 -1
- package/lib/lowcode-components/line-chart/index.js.map +1 -1
- package/lib/lowcode-components/liquid-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/liquid-chart/index.js +2 -1
- package/lib/lowcode-components/liquid-chart/index.js.map +1 -1
- package/lib/lowcode-components/lowcode-view/index.d.ts.map +1 -1
- package/lib/lowcode-components/lowcode-view/index.js +5 -8
- package/lib/lowcode-components/lowcode-view/index.js.map +1 -1
- package/lib/lowcode-components/pie-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/pie-chart/index.js +6 -12
- package/lib/lowcode-components/pie-chart/index.js.map +1 -1
- package/lib/lowcode-components/progress-chart/index.d.ts.map +1 -1
- package/lib/lowcode-components/progress-chart/index.js +2 -1
- package/lib/lowcode-components/progress-chart/index.js.map +1 -1
- package/lib/lowcode-components/text-scroller/index.d.ts.map +1 -1
- package/lib/lowcode-components/text-scroller/index.js +2 -1
- package/lib/lowcode-components/text-scroller/index.js.map +1 -1
- package/lib/module/dtmpl-edit-card.d.ts.map +1 -1
- package/lib/module/dtmpl-edit-card.js +8 -2
- package/lib/module/dtmpl-edit-card.js.map +1 -1
- package/lib/module/dtmpl-edit-page.js +1 -1
- package/lib/module/dtmpl-edit-page.js.map +1 -1
- package/lib/table/relation-table.d.ts.map +1 -1
- package/lib/table/relation-table.js +4 -0
- package/lib/table/relation-table.js.map +1 -1
- package/lib/tmpl/hcservice-v3.d.ts +1 -0
- package/lib/tmpl/hcservice-v3.d.ts.map +1 -1
- package/lib/tmpl/hcservice-v3.js +12 -0
- package/lib/tmpl/hcservice-v3.js.map +1 -1
- package/lib/tmpl/tmpl-config-analysis.d.ts.map +1 -1
- package/lib/tmpl/tmpl-config-analysis.js +0 -13
- package/lib/tmpl/tmpl-config-analysis.js.map +1 -1
- package/package.json +1 -1
- package/src/aldehyde/lowcode-components/bar-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/base-map/index.tsx +8 -7
- package/src/aldehyde/lowcode-components/base-text/index.tsx +4 -35
- package/src/aldehyde/lowcode-components/capsule-bar-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/circular-progress-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/column-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/data-number/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/effectScatter-map/index.tsx +12 -7
- package/src/aldehyde/lowcode-components/gauge-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/index.ts +4 -2
- package/src/aldehyde/lowcode-components/line-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/liquid-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/lowcode-view/index.tsx +5 -9
- package/src/aldehyde/lowcode-components/pie-chart/index.tsx +6 -9
- package/src/aldehyde/lowcode-components/progress-chart/index.tsx +2 -1
- package/src/aldehyde/lowcode-components/text-scroller/index.tsx +2 -1
- package/src/aldehyde/module/dtmpl-edit-card.tsx +13 -3
- package/src/aldehyde/module/dtmpl-edit-page.tsx +1 -1
- package/src/aldehyde/table/relation-table.tsx +6 -0
- package/src/aldehyde/tmpl/hcservice-v3.tsx +11 -0
- package/src/aldehyde/tmpl/tmpl-config-analysis.tsx +0 -14
- package/lib/lowcode-components/lowcode-view/lowcode-constant.d.ts +0 -11
- package/lib/lowcode-components/lowcode-view/lowcode-constant.d.ts.map +0 -1
- package/lib/lowcode-components/lowcode-view/lowcode-constant.js +0 -10
- package/lib/lowcode-components/lowcode-view/lowcode-constant.js.map +0 -1
- package/src/aldehyde/lowcode-components/lowcode-view/lowcode-constant.tsx +0 -12
|
@@ -99,7 +99,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
99
99
|
|
|
100
100
|
// 请求数据
|
|
101
101
|
const getData = async () => {
|
|
102
|
-
const {
|
|
102
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
103
|
+
const { config, value } = data || {};
|
|
103
104
|
const temData = value?.[0]?.value?.[0]?.v1;
|
|
104
105
|
setData(temData);
|
|
105
106
|
return config;
|
|
@@ -17,6 +17,10 @@ const defOption = {
|
|
|
17
17
|
map: 'china',
|
|
18
18
|
roam: true,
|
|
19
19
|
zoom: 1,
|
|
20
|
+
scaleLimit: { // 地图缩放限制
|
|
21
|
+
min: 0.1,
|
|
22
|
+
max: 10,
|
|
23
|
+
},
|
|
20
24
|
label: {
|
|
21
25
|
normal: { show: false },
|
|
22
26
|
emphasis: { show: false }
|
|
@@ -69,13 +73,13 @@ const handleData = (data: { config: { [key: string]: string }, value: { [key: st
|
|
|
69
73
|
}
|
|
70
74
|
const temData = data.map((r) => {
|
|
71
75
|
const { config, value } = r;
|
|
72
|
-
const
|
|
76
|
+
const temVal = value.filter(v => v["v2"]);
|
|
73
77
|
return {
|
|
74
|
-
name: config.
|
|
75
|
-
data:
|
|
76
|
-
|
|
77
|
-
value:
|
|
78
|
-
})
|
|
78
|
+
name: config.v1,
|
|
79
|
+
data: temVal.map(v => {
|
|
80
|
+
const lonLat = v["v2"].split(",") || []; // 坐标经纬度;value:[经度,纬度,数值]
|
|
81
|
+
return { name: v["d1"], value: [lonLat[0], lonLat[1], v["v1"]] };
|
|
82
|
+
})
|
|
79
83
|
};
|
|
80
84
|
});
|
|
81
85
|
return temData[0]?.data || [];
|
|
@@ -141,7 +145,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
141
145
|
|
|
142
146
|
// 请求数据
|
|
143
147
|
const getData = async () => {
|
|
144
|
-
const {
|
|
148
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
149
|
+
const { config, value } = data || {};
|
|
145
150
|
setData(handleData(value));
|
|
146
151
|
return config;
|
|
147
152
|
};
|
|
@@ -97,7 +97,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
97
97
|
|
|
98
98
|
// 请求数据
|
|
99
99
|
const getData = async () => {
|
|
100
|
-
const {
|
|
100
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
101
|
+
const { config, value } = data || {};
|
|
101
102
|
const temData = value?.[0]?.value?.[0]?.v1;
|
|
102
103
|
setData(temData);
|
|
103
104
|
return config;
|
|
@@ -11,6 +11,7 @@ import PieChart from "./pie-chart";
|
|
|
11
11
|
import GaugeChart from "./gauge-chart";
|
|
12
12
|
import LiquidChart from "./liquid-chart";
|
|
13
13
|
import DataNumber from "./data-number";
|
|
14
|
+
import BaseMap from "./base-map";
|
|
14
15
|
import EffectScatterMap from "./effectScatter-map";
|
|
15
16
|
import Border1 from "./border/border1";
|
|
16
17
|
import Border2 from "./border/border2";
|
|
@@ -88,13 +89,14 @@ type CompoundedComponent = {
|
|
|
88
89
|
CapsuleBarChart?: typeof CapsuleBarChart;
|
|
89
90
|
CircularProgressChart?: typeof CircularProgressChart;
|
|
90
91
|
ActTable?: typeof ActTable,
|
|
91
|
-
ProgressChart?: typeof ProgressChart
|
|
92
|
+
ProgressChart?: typeof ProgressChart,
|
|
93
|
+
BaseMap?: typeof BaseMap
|
|
92
94
|
};
|
|
93
95
|
|
|
94
96
|
const LowcodeComponents: CompoundedComponent = {
|
|
95
97
|
LowcodeView, BaseText, BaseImage, DateTime, BaseColorBlock,
|
|
96
98
|
FourAngleGlowBorder, LineChart, BarChart, ColumnChart, PieChart,
|
|
97
|
-
GaugeChart, LiquidChart, DataNumber, EffectScatterMap,
|
|
99
|
+
GaugeChart, LiquidChart, DataNumber, BaseMap, EffectScatterMap,
|
|
98
100
|
Border1, Border2, Border3, Border4, Border5, Border6,
|
|
99
101
|
Border7, Border8, Border9, Border10, Border11, Border12, Border13,
|
|
100
102
|
Decoration1, Decoration2, Decoration3, Decoration4, Decoration5,
|
|
@@ -137,7 +137,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
137
137
|
|
|
138
138
|
// 请求数据
|
|
139
139
|
const getData = async () => {
|
|
140
|
-
const {
|
|
140
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
141
|
+
const { config, value } = data || {};
|
|
141
142
|
const temData = handleData(value);
|
|
142
143
|
setData(temData);
|
|
143
144
|
return config;
|
|
@@ -113,7 +113,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
113
113
|
|
|
114
114
|
// 请求数据
|
|
115
115
|
const getData = async () => {
|
|
116
|
-
const {
|
|
116
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
117
|
+
const { config, value } = data || {};
|
|
117
118
|
const temData = value?.[0]?.value?.[0]?.v1;
|
|
118
119
|
setData(temData);
|
|
119
120
|
return config;
|
|
@@ -6,7 +6,6 @@ import './component/font/FontGlobal.css';
|
|
|
6
6
|
import ScreenFit from "./component/screen-fit";
|
|
7
7
|
import { LayerManagerDataType, CanvasConfig } from "./interface";
|
|
8
8
|
import HcserviceV3 from "../../tmpl/hcservice-v3";
|
|
9
|
-
import LowcodeConstant from "./lowcode-constant";
|
|
10
9
|
import abstractDesignerLoader from "./component/abstract-designer-loader";
|
|
11
10
|
import "./index.less";
|
|
12
11
|
|
|
@@ -28,16 +27,13 @@ const screenFitStyleMap: Record<string, CSSProperties> = {
|
|
|
28
27
|
'full-y': { overflow: 'scroll hidden' }
|
|
29
28
|
}
|
|
30
29
|
|
|
31
|
-
const serverKey = LowcodeConstant.lowcodeDtmpl.serverKey;
|
|
32
|
-
const sourceId = LowcodeConstant.lowcodeDtmpl.sourceId;
|
|
33
|
-
|
|
34
30
|
interface Props {
|
|
35
31
|
isFullScreen: boolean
|
|
36
32
|
}
|
|
37
33
|
|
|
38
34
|
const LowcodeView = (props: Props) => {
|
|
39
35
|
const { isFullScreen } = props;
|
|
40
|
-
const {
|
|
36
|
+
const { ddpageId } = useParams();
|
|
41
37
|
const canvasRef = useRef(null);
|
|
42
38
|
const [loading, setLoading] = useState<boolean>(false);
|
|
43
39
|
const [layerManager, setLayerManager] = useState<LayerManagerDataType>();
|
|
@@ -52,8 +48,8 @@ const LowcodeView = (props: Props) => {
|
|
|
52
48
|
// 获取画面数据
|
|
53
49
|
const getViewData = async () => {
|
|
54
50
|
setLoading(true);
|
|
55
|
-
const
|
|
56
|
-
const data =
|
|
51
|
+
const { entity } = await HcserviceV3.requestDDpageData(ddpageId);
|
|
52
|
+
const data = entity?.fieldMap || {};
|
|
57
53
|
const { layerManager, canvasManager } = data["内容"] ? JSON.parse(fromBase64(data["内容"]) || '{}') : {};
|
|
58
54
|
setLayerManager(layerManager);
|
|
59
55
|
setCanvasConfig(canvasManager);
|
|
@@ -61,13 +57,13 @@ const LowcodeView = (props: Props) => {
|
|
|
61
57
|
}
|
|
62
58
|
|
|
63
59
|
useEffect(() => {
|
|
64
|
-
if (
|
|
60
|
+
if (ddpageId) {
|
|
65
61
|
getViewData();
|
|
66
62
|
} else {
|
|
67
63
|
setLayerManager({});
|
|
68
64
|
setCanvasConfig({});
|
|
69
65
|
}
|
|
70
|
-
}, [
|
|
66
|
+
}, [ddpageId])
|
|
71
67
|
|
|
72
68
|
const canvasDom = () => <div style={{
|
|
73
69
|
width,
|
|
@@ -58,13 +58,9 @@ const handleData = (data: { config: { [key: string]: string }, value: { [key: st
|
|
|
58
58
|
}
|
|
59
59
|
const temData = data.map((r) => {
|
|
60
60
|
const { config, value } = r;
|
|
61
|
-
const vNames = Object.keys(config).filter((r) => r.startsWith("v")).sort((a, b) => parseInt(a.substring(1)) - parseInt(b.substring(1)));
|
|
62
61
|
return {
|
|
63
|
-
name: config.
|
|
64
|
-
data:
|
|
65
|
-
name: config[r],
|
|
66
|
-
value: value[0]?.[r],
|
|
67
|
-
}))
|
|
62
|
+
name: config.v1,
|
|
63
|
+
data: value.map(v => ({ name: v["d1"], value: v["v1"] }))
|
|
68
64
|
};
|
|
69
65
|
});
|
|
70
66
|
return temData || [];
|
|
@@ -144,7 +140,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
144
140
|
|
|
145
141
|
// 请求数据
|
|
146
142
|
const getData = async () => {
|
|
147
|
-
const {
|
|
143
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
144
|
+
const { config, value } = data || {};
|
|
148
145
|
const temData = handleData(value);
|
|
149
146
|
setData(temData);
|
|
150
147
|
return config;
|
|
@@ -188,14 +185,14 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
188
185
|
option.color = color;
|
|
189
186
|
option.title.show = !temData?.length;
|
|
190
187
|
option.series = temData.map(r => ({
|
|
188
|
+
...r,
|
|
191
189
|
type: "pie",
|
|
192
190
|
radius: [`${innerRadius}%`, `${radius}%`],
|
|
193
191
|
center: [`${center?.x}%`, `${center?.y}%`],
|
|
194
192
|
padAngle,
|
|
195
193
|
label,
|
|
196
194
|
labelLine,
|
|
197
|
-
roseType
|
|
198
|
-
...r
|
|
195
|
+
roseType
|
|
199
196
|
}));
|
|
200
197
|
chart.current.setOption(option, true);
|
|
201
198
|
}
|
|
@@ -144,7 +144,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
144
144
|
|
|
145
145
|
// 请求数据
|
|
146
146
|
const getData = async () => {
|
|
147
|
-
const {
|
|
147
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
148
|
+
const { config, value } = data || {};
|
|
148
149
|
const temData = value?.[0]?.value?.[0]?.v1 || 0;
|
|
149
150
|
setData(temData);
|
|
150
151
|
return config;
|
|
@@ -74,7 +74,8 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
74
74
|
|
|
75
75
|
// 请求数据
|
|
76
76
|
const getData = async () => {
|
|
77
|
-
const {
|
|
77
|
+
const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
|
|
78
|
+
const { config, value } = data || {};
|
|
78
79
|
const temData = value?.[0]?.value?.[0]?.v1;
|
|
79
80
|
setData(temData);
|
|
80
81
|
return config;
|
|
@@ -81,14 +81,24 @@ export default class DtmplEditCard extends React.PureComponent<
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
loadConfigData = async () => {
|
|
84
|
-
const {sourceId, code, serverKey} = this.props;
|
|
84
|
+
const {sourceId, code, serverKey, addTmplId} = this.props;
|
|
85
85
|
this.setState({
|
|
86
86
|
loading: true,
|
|
87
87
|
});
|
|
88
|
-
let dtmplConfig: DtmplConfig =
|
|
88
|
+
let dtmplConfig: DtmplConfig = undefined;
|
|
89
|
+
if (code) {
|
|
90
|
+
dtmplConfig = await HCDataSource.requestDtmplConfig(
|
|
91
|
+
serverKey,
|
|
92
|
+
sourceId,
|
|
93
|
+
code
|
|
94
|
+
);
|
|
95
|
+
} else {
|
|
96
|
+
dtmplConfig = await HCDataSource.requestAddDtmplConfig(
|
|
89
97
|
serverKey,
|
|
90
|
-
sourceId,
|
|
98
|
+
sourceId,
|
|
99
|
+
addTmplId
|
|
91
100
|
);
|
|
101
|
+
}
|
|
92
102
|
if (dtmplConfig.entity) {
|
|
93
103
|
let dtmplData = dtmplConfig.entity;
|
|
94
104
|
dtmplConfig.entity = undefined;
|
|
@@ -94,7 +94,7 @@ export default class DtmplEditPage extends React.PureComponent<
|
|
|
94
94
|
|
|
95
95
|
async componentDidUpdate(prevProps) {
|
|
96
96
|
const { dtmplConfig } = this.state;
|
|
97
|
-
debugger
|
|
97
|
+
//debugger
|
|
98
98
|
if (prevProps && prevProps != this.props) {
|
|
99
99
|
if (
|
|
100
100
|
prevProps.sourceId != this.props.sourceId ||
|
|
@@ -427,6 +427,7 @@ class RelationTable extends React.PureComponent<
|
|
|
427
427
|
};
|
|
428
428
|
delete = async (record) => {
|
|
429
429
|
const {value, fieldGroupConfig, onChange, serverKey} = this.props;
|
|
430
|
+
const {editings} = this.state;
|
|
430
431
|
//追加
|
|
431
432
|
const selectdDatas: DtmplData[] = [];
|
|
432
433
|
const selectdCodes: string[] = [];
|
|
@@ -442,6 +443,11 @@ class RelationTable extends React.PureComponent<
|
|
|
442
443
|
if (fieldGroupConfig.deleteData) {
|
|
443
444
|
let result: boolean = await HcserviceV3.deleteByCode(serverKey, fieldGroupConfig.id, [record.code]);
|
|
444
445
|
}
|
|
446
|
+
|
|
447
|
+
if(editings && editings.includes(record.code)) {
|
|
448
|
+
this.cancelRowEdit(record.code);
|
|
449
|
+
}
|
|
450
|
+
|
|
445
451
|
onChange(fieldGroupConfig, selectdDatas);
|
|
446
452
|
};
|
|
447
453
|
|
|
@@ -1230,4 +1230,15 @@ export default class HcserviceV3 {
|
|
|
1230
1230
|
ProgramConfig.setProgramName_Logo(result.programName_Logo);
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
|
+
|
|
1234
|
+
static async requestDDpageData(ddpageId: string) {
|
|
1235
|
+
let res = await Super.super({
|
|
1236
|
+
url: "/v3/ddpage/data",
|
|
1237
|
+
method: "GET",
|
|
1238
|
+
query: {
|
|
1239
|
+
ddpageId,
|
|
1240
|
+
},
|
|
1241
|
+
});
|
|
1242
|
+
return res;
|
|
1243
|
+
}
|
|
1233
1244
|
}
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
DtmplData,
|
|
7
7
|
DtmplFormProps,
|
|
8
8
|
FieldConfig,
|
|
9
|
-
FieldGroupConfig,
|
|
10
9
|
LtmplConfig, SelectConfig,
|
|
11
10
|
} from "./interface";
|
|
12
11
|
import {FormInstance} from "antd";
|
|
@@ -357,19 +356,6 @@ TmplConfigAnalysis.buildInDtmplConfig = (
|
|
|
357
356
|
if (!dtmplConfig.buildInFuncFields) {
|
|
358
357
|
//先找到有业务的
|
|
359
358
|
let buildInFuncFields = TmplConfigAnalysis.buildInFuncFields(dtmplConfig);
|
|
360
|
-
// for (let group of dtmplConfig.groups) {
|
|
361
|
-
// for (let field of group.fields) {
|
|
362
|
-
// if (
|
|
363
|
-
// (field.requiredRuleCriterias &&
|
|
364
|
-
// field.requiredRuleCriterias.length > 0) ||
|
|
365
|
-
// (field.usableRuleCriterias && field.usableRuleCriterias.length > 0)
|
|
366
|
-
// || field.relValueField
|
|
367
|
-
// ) {
|
|
368
|
-
// field.shouldUpdate = true;
|
|
369
|
-
// buildInFuncFields.push(field);
|
|
370
|
-
// }
|
|
371
|
-
// }
|
|
372
|
-
// }
|
|
373
359
|
dtmplConfig.buildInFuncFields = buildInFuncFields;
|
|
374
360
|
}
|
|
375
361
|
if (dtmplConfig.buildInFuncFields.length > 0) {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare function LowcodeConstant(): void;
|
|
2
|
-
declare namespace LowcodeConstant {
|
|
3
|
-
var lowcodeDtmpl: {
|
|
4
|
-
name: string;
|
|
5
|
-
serverKey: string;
|
|
6
|
-
sourceId: string;
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export default LowcodeConstant;
|
|
11
|
-
//# sourceMappingURL=lowcode-constant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lowcode-constant.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/lowcode-components/lowcode-view/lowcode-constant.tsx"],"names":[],"mappings":"AAAA,iBAAS,eAAe,SAEvB;kBAFQ,eAAe;;;;;;;;AAGxB,eAAe,eAAe,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
function LowcodeConstant() {
|
|
2
|
-
}
|
|
3
|
-
export default LowcodeConstant;
|
|
4
|
-
LowcodeConstant.lowcodeDtmpl = {
|
|
5
|
-
name: '低代码页面数据请求',
|
|
6
|
-
serverKey: "DragDropPageServer",
|
|
7
|
-
sourceId: '446165759669608455',
|
|
8
|
-
type: 'dtmpl',
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=lowcode-constant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lowcode-constant.js","sourceRoot":"","sources":["../../../../../src/aldehyde/lowcode-components/lowcode-view/lowcode-constant.tsx"],"names":[],"mappings":"AAAA,SAAS,eAAe;AAExB,CAAC;AACD,eAAe,eAAe,CAAC;AAG/B,eAAe,CAAC,YAAY,GAAG;IAC3B,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,oBAAoB;IAC/B,QAAQ,EAAE,oBAAoB;IAC9B,IAAI,EAAE,OAAO;CAChB,CAAA"}
|