lu-lowcode-package-form 0.11.66 → 0.11.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lu-lowcode-package-form",
3
- "version": "0.11.66",
3
+ "version": "0.11.67",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^4.8.1",
6
6
  "@dnd-kit/core": "^6.1.0",
package/src/App.jsx CHANGED
@@ -990,7 +990,24 @@ function App() {
990
990
 
991
991
  </Field.Table>
992
992
  </Layout.FormRow>
993
-
993
+ <Field.Input label="测试计算汇总" __id="huizong1"
994
+ withIds={["table_fill.fill_tcinput3"]}
995
+ withFill={{
996
+ "value": [
997
+ {
998
+ "insert": {
999
+ "span": true
1000
+ },
1001
+ "attributes": {
1002
+ "id": "table_fill.fill_tcinput3",
1003
+ "color": "blue",
1004
+ "tagKey": "fieldsValue",
1005
+ "content": "当前表单.测试被填充计算"
1006
+ }
1007
+ },
1008
+ ]
1009
+ }}
1010
+ />
994
1011
  </FormContainerWrapper>
995
1012
  <div className="fgroup">11111
996
1013
  <div className="fbg-red-500 group-hover:fbg-blue-500">
@@ -100,7 +100,7 @@ const DragHead = ({ childrenDesc, initialWidth, changeWidth, showAction, showLab
100
100
  {childrenDesc.map((child, childIndex) => {
101
101
  const width = getColumnWidth(childIndex)
102
102
 
103
- return (
103
+ return child.hidden ? null : (
104
104
  <Resizable
105
105
  key={childIndex}
106
106
  width={width}
@@ -92,7 +92,6 @@ const Table = ({ children, onTableAddRow, disabled, readonly, onTableRemoveRow,
92
92
  const hidden = (child?.props?.calcHidden || !getDependencyMapShow(child?.props?.componentId || child?.props?.__id)) && mode != "desgin";
93
93
  return {id:child.props.componentId || child.props.__id,label:child.props.label, hidden }
94
94
  })
95
- childrenDesc = childrenDesc.filter(item=>!item.hidden)
96
95
  console.log("Emit Table childrenDesc", childrenDesc)
97
96
  eventEmitter.emit("tableChildrenDesc", childrenDesc)
98
97
  setChildrenDesc(childrenDesc)