aldehyde 0.2.362 → 0.2.364
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/controls/entity-select/popover-entity-select.d.ts.map +1 -1
- package/lib/controls/entity-select/popover-entity-select.js +3 -2
- package/lib/controls/entity-select/popover-entity-select.js.map +1 -1
- package/lib/controls/relation-existion/index.d.ts.map +1 -1
- package/lib/controls/relation-existion/index.js +8 -7
- package/lib/controls/relation-existion/index.js.map +1 -1
- package/lib/layout3/css/main.css +5 -7
- package/lib/layout4/css/main.css +5 -7
- package/lib/lowcode-components/act-table/index.js +1 -1
- package/lib/lowcode-components/act-table/index.js.map +1 -1
- package/lib/lowcode-components/bar-chart/index.js +2 -2
- package/lib/lowcode-components/bar-chart/index.js.map +1 -1
- package/lib/lowcode-components/base-map/index.js +2 -2
- package/lib/lowcode-components/base-map/index.js.map +1 -1
- package/lib/lowcode-components/base-radio/index.d.ts.map +1 -1
- package/lib/lowcode-components/base-radio/index.js +7 -1
- package/lib/lowcode-components/base-radio/index.js.map +1 -1
- package/lib/lowcode-components/base-table/index.js +1 -1
- package/lib/lowcode-components/base-table/index.js.map +1 -1
- package/lib/lowcode-components/capsule-bar-chart/index.js +2 -2
- package/lib/lowcode-components/capsule-bar-chart/index.js.map +1 -1
- package/lib/lowcode-components/carousel/index.js +2 -2
- package/lib/lowcode-components/carousel/index.js.map +1 -1
- package/lib/lowcode-components/circular-progress-chart/index.js +2 -2
- package/lib/lowcode-components/circular-progress-chart/index.js.map +1 -1
- package/lib/lowcode-components/column-3d-chart/index.js +2 -2
- package/lib/lowcode-components/column-3d-chart/index.js.map +1 -1
- package/lib/lowcode-components/column-chart/index.js +1 -1
- package/lib/lowcode-components/column-chart/index.js.map +1 -1
- package/lib/lowcode-components/data-number/index.js +2 -2
- package/lib/lowcode-components/data-number/index.js.map +1 -1
- package/lib/lowcode-components/effectScatter-map/index.js +2 -2
- package/lib/lowcode-components/effectScatter-map/index.js.map +1 -1
- package/lib/lowcode-components/effectScatter-map-3d/index.js +2 -2
- package/lib/lowcode-components/effectScatter-map-3d/index.js.map +1 -1
- package/lib/lowcode-components/gauge-chart/index.js +2 -2
- package/lib/lowcode-components/gauge-chart/index.js.map +1 -1
- package/lib/lowcode-components/line-bar-chart/index.js +2 -2
- package/lib/lowcode-components/line-bar-chart/index.js.map +1 -1
- package/lib/lowcode-components/line-chart/index.js +2 -2
- package/lib/lowcode-components/line-chart/index.js.map +1 -1
- package/lib/lowcode-components/liquid-chart/index.js +2 -2
- package/lib/lowcode-components/liquid-chart/index.js.map +1 -1
- package/lib/lowcode-components/lowcode-view/index.js +1 -1
- package/lib/lowcode-components/lowcode-view/index.js.map +1 -1
- package/lib/lowcode-components/pie-chart/index.js +2 -2
- package/lib/lowcode-components/pie-chart/index.js.map +1 -1
- package/lib/lowcode-components/progress-chart/index.js +2 -2
- package/lib/lowcode-components/progress-chart/index.js.map +1 -1
- package/lib/lowcode-components/stroke-animation/index.js +2 -2
- package/lib/lowcode-components/stroke-animation/index.js.map +1 -1
- package/lib/lowcode-components/text-scroller/index.js +2 -2
- package/lib/lowcode-components/text-scroller/index.js.map +1 -1
- package/package.json +1 -1
- package/src/aldehyde/controls/entity-select/popover-entity-select.tsx +3 -2
- package/src/aldehyde/controls/relation-existion/index.tsx +8 -6
- package/src/aldehyde/layout3/css/main.css +5 -7
- package/src/aldehyde/layout4/css/main.css +5 -7
- package/src/aldehyde/lowcode-components/act-table/index.tsx +1 -1
- package/src/aldehyde/lowcode-components/bar-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/base-map/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/base-radio/index.tsx +7 -1
- package/src/aldehyde/lowcode-components/base-table/index.tsx +1 -1
- package/src/aldehyde/lowcode-components/capsule-bar-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/carousel/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/circular-progress-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/column-3d-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/column-chart/index.tsx +1 -1
- package/src/aldehyde/lowcode-components/data-number/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/data.d.ts +2 -1
- package/src/aldehyde/lowcode-components/effectScatter-map/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/effectScatter-map-3d/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/gauge-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/line-bar-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/line-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/liquid-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/lowcode-view/index.tsx +1 -1
- package/src/aldehyde/lowcode-components/pie-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/progress-chart/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/stroke-animation/index.tsx +2 -2
- package/src/aldehyde/lowcode-components/text-scroller/index.tsx +2 -2
|
@@ -145,7 +145,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
145
145
|
setDataConfig(newDataConfig);
|
|
146
146
|
handleInitData(newDataConfig);
|
|
147
147
|
setSearchParams(newDataConfig.searchParams);
|
|
148
|
-
setInitSearchParams(newISParams
|
|
148
|
+
setInitSearchParams(newISParams);
|
|
149
149
|
},
|
|
150
150
|
destroy: handleDestroy,
|
|
151
151
|
}));
|
|
@@ -193,7 +193,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
193
193
|
* 1、编辑态不请求数据
|
|
194
194
|
*/
|
|
195
195
|
useEffect(() => {
|
|
196
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
196
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
197
197
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
198
198
|
initSearchParams && getInitData(initSearchParams);
|
|
199
199
|
} else {
|
|
@@ -227,7 +227,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
227
227
|
setDataConfig(newDataConfig);
|
|
228
228
|
handleInitData(newDataConfig);
|
|
229
229
|
setSearchParams(newDataConfig.searchParams);
|
|
230
|
-
setInitSearchParams(newISParams
|
|
230
|
+
setInitSearchParams(newISParams);
|
|
231
231
|
},
|
|
232
232
|
destroy: handleDestroy,
|
|
233
233
|
}));
|
|
@@ -289,7 +289,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
289
289
|
* 1、编辑态不请求数据
|
|
290
290
|
*/
|
|
291
291
|
useEffect(() => {
|
|
292
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
292
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
293
293
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
294
294
|
initSearchParams && getInitData(initSearchParams);
|
|
295
295
|
} else {
|
|
@@ -97,7 +97,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
97
97
|
setRenderType(newStyle?.renderer || "svg");
|
|
98
98
|
handleInitData(newDataConfig);
|
|
99
99
|
setSearchParams(newDataConfig.searchParams);
|
|
100
|
-
setInitSearchParams(newISParams
|
|
100
|
+
setInitSearchParams(newISParams);
|
|
101
101
|
},
|
|
102
102
|
destroy: handleDestroy,
|
|
103
103
|
}));
|
|
@@ -150,7 +150,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
150
150
|
* 1、编辑态不请求数据
|
|
151
151
|
*/
|
|
152
152
|
useEffect(() => {
|
|
153
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
153
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
154
154
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
155
155
|
initSearchParams && getInitData(initSearchParams);
|
|
156
156
|
} else {
|
|
@@ -141,7 +141,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
141
141
|
setRenderType(newStyle?.renderer || "svg");
|
|
142
142
|
handleInitData(newDataConfig);
|
|
143
143
|
setSearchParams(newDataConfig.searchParams);
|
|
144
|
-
setInitSearchParams(newISParams
|
|
144
|
+
setInitSearchParams(newISParams);
|
|
145
145
|
},
|
|
146
146
|
destroy: handleDestroy,
|
|
147
147
|
}));
|
|
@@ -193,7 +193,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
193
193
|
* 1、编辑态不请求数据
|
|
194
194
|
*/
|
|
195
195
|
useEffect(() => {
|
|
196
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
196
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
197
197
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
198
198
|
initSearchParams && getInitData(initSearchParams);
|
|
199
199
|
} else {
|
|
@@ -135,7 +135,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
135
135
|
setRenderType(newStyle?.renderer || "svg");
|
|
136
136
|
handleInitData(newDataConfig);
|
|
137
137
|
setSearchParams(newDataConfig.searchParams);
|
|
138
|
-
setInitSearchParams(newISParams
|
|
138
|
+
setInitSearchParams(newISParams);
|
|
139
139
|
},
|
|
140
140
|
destroy: handleDestroy,
|
|
141
141
|
}));
|
|
@@ -187,7 +187,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
187
187
|
* 1、编辑态不请求数据
|
|
188
188
|
*/
|
|
189
189
|
useEffect(() => {
|
|
190
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
190
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
191
191
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
192
192
|
initSearchParams && getInitData(initSearchParams);
|
|
193
193
|
} else {
|
|
@@ -113,7 +113,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
113
113
|
setRenderType(newStyle?.renderer || "svg");
|
|
114
114
|
handleInitData(newDataConfig);
|
|
115
115
|
setSearchParams(newDataConfig.searchParams);
|
|
116
|
-
setInitSearchParams(newISParams
|
|
116
|
+
setInitSearchParams(newISParams);
|
|
117
117
|
},
|
|
118
118
|
destroy: handleDestroy,
|
|
119
119
|
}));
|
|
@@ -166,7 +166,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
166
166
|
* 1、编辑态不请求数据
|
|
167
167
|
*/
|
|
168
168
|
useEffect(() => {
|
|
169
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
169
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
170
170
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
171
171
|
initSearchParams && getInitData(initSearchParams);
|
|
172
172
|
} else {
|
|
@@ -153,7 +153,7 @@ const LowcodeView = (props: Props) => {
|
|
|
153
153
|
controllers[key].changeData({ type: "searchParams", searchParams: searchParams[key] });
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
}, [searchParams])
|
|
156
|
+
}, [controllers, searchParams])
|
|
157
157
|
|
|
158
158
|
const canvasDom = () => <div style={{
|
|
159
159
|
width,
|
|
@@ -171,7 +171,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
171
171
|
setRenderType(newStyle?.renderer || "svg");
|
|
172
172
|
handleInitData(newDataConfig);
|
|
173
173
|
setSearchParams(newDataConfig.searchParams);
|
|
174
|
-
setInitSearchParams(newISParams
|
|
174
|
+
setInitSearchParams(newISParams);
|
|
175
175
|
},
|
|
176
176
|
destroy: handleDestroy,
|
|
177
177
|
}));
|
|
@@ -223,7 +223,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
223
223
|
* 1、编辑态不请求数据
|
|
224
224
|
*/
|
|
225
225
|
useEffect(() => {
|
|
226
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
226
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
227
227
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
228
228
|
initSearchParams && getInitData(initSearchParams);
|
|
229
229
|
} else {
|
|
@@ -144,7 +144,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
144
144
|
setRenderType(newStyle?.renderer || "svg");
|
|
145
145
|
handleInitData(newDataConfig);
|
|
146
146
|
setSearchParams(newDataConfig.searchParams);
|
|
147
|
-
setInitSearchParams(newISParams
|
|
147
|
+
setInitSearchParams(newISParams);
|
|
148
148
|
},
|
|
149
149
|
destroy: handleDestroy,
|
|
150
150
|
}));
|
|
@@ -197,7 +197,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
197
197
|
* 1、编辑态不请求数据
|
|
198
198
|
*/
|
|
199
199
|
useEffect(() => {
|
|
200
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
200
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
201
201
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
202
202
|
initSearchParams && getInitData(initSearchParams);
|
|
203
203
|
} else {
|
|
@@ -70,7 +70,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
70
70
|
setDataConfig(newDataConfig);
|
|
71
71
|
handleInitData(newDataConfig);
|
|
72
72
|
setSearchParams(newDataConfig.searchParams);
|
|
73
|
-
setInitSearchParams(newISParams
|
|
73
|
+
setInitSearchParams(newISParams);
|
|
74
74
|
},
|
|
75
75
|
destroy: handleDestroy,
|
|
76
76
|
}));
|
|
@@ -119,7 +119,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
119
119
|
* 1、编辑态不请求数据
|
|
120
120
|
*/
|
|
121
121
|
useEffect(() => {
|
|
122
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
122
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
123
123
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
124
124
|
initSearchParams && getInitData(initSearchParams);
|
|
125
125
|
} else {
|
|
@@ -69,7 +69,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
69
69
|
setDataConfig({ ...newDataConfig });
|
|
70
70
|
handleInitData(newDataConfig);
|
|
71
71
|
setSearchParams(newDataConfig.searchParams);
|
|
72
|
-
setInitSearchParams(newISParams
|
|
72
|
+
setInitSearchParams(newISParams);
|
|
73
73
|
},
|
|
74
74
|
destroy: handleDestroy,
|
|
75
75
|
}));
|
|
@@ -127,7 +127,7 @@ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>
|
|
|
127
127
|
* 1、编辑态不请求数据
|
|
128
128
|
*/
|
|
129
129
|
useEffect(() => {
|
|
130
|
-
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit) {
|
|
130
|
+
if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId && !dataConfig?.isInit && dataConfig?.isDefRequest == false) {
|
|
131
131
|
if (dataConfig?.isInitParams) { // 组件数据源接收外部参数
|
|
132
132
|
initSearchParams && getInitData(initSearchParams);
|
|
133
133
|
} else {
|