ballerina-core 1.0.248 → 1.0.250

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
@@ -2,7 +2,7 @@
2
2
  "name": "ballerina-core",
3
3
  "author": "Dr. Giuseppe Maggiore",
4
4
  "private": false,
5
- "version": "1.0.248",
5
+ "version": "1.0.250",
6
6
  "main": "main.ts",
7
7
  "scripts": {
8
8
  "prettier": "prettier --write ."
@@ -278,15 +278,16 @@ export const RecordAbstractRenderer = <
278
278
  return <></>;
279
279
  }
280
280
 
281
- visibleFieldKeys.value.map((field) => {
282
- if (field != null && !FieldTemplates.has(field)) {
283
- console.warn(
284
- `Field ${field} is defined in the visible fields, but not in the FieldTemplates. A renderer in the record fields is missing for this field.
285
- \n...When rendering \n...${domNodeId}
286
- `,
287
- );
288
- }
289
- });
281
+ // TODO: find a better way to warn about missing fields without cluttering the console
282
+ // visibleFieldKeys.value.forEach((field) => {
283
+ // if (field != null && !FieldTemplates.has(field)) {
284
+ // console.warn(
285
+ // `Field ${field} is defined in the visible fields, but not in the FieldTemplates. A renderer in the record fields is missing for this field.
286
+ // \n...When rendering \n...${domNodeId}
287
+ // `,
288
+ // );
289
+ // }
290
+ // });
290
291
 
291
292
  const visibleFieldKeysSet = Set(
292
293
  visibleFieldKeys.value.filter((fieldName) => fieldName != null),
@@ -575,15 +575,16 @@ export const TableAbstractRenderer = <
575
575
  );
576
576
  }
577
577
 
578
- visibleColumns.value.columns.map((column) => {
579
- if (!CellTemplates.has(column)) {
580
- console.warn(
581
- `Column ${column} is defined in the visible columns, but not in the CellTemplates. A renderer in the table columns is missing for this column.
582
- \n...When rendering \n...${domNodeId}
583
- `,
584
- );
585
- }
586
- });
578
+ // TODO: find a better way to warn about missing fields without cluttering the console
579
+ // visibleColumns.value.columns.forEach((column) => {
580
+ // if (!CellTemplates.has(column)) {
581
+ // console.warn(
582
+ // `Column ${column} is defined in the visible columns, but not in the CellTemplates. A renderer in the table columns is missing for this column.
583
+ // \n...When rendering \n...${domNodeId}
584
+ // `,
585
+ // );
586
+ // }
587
+ // });
587
588
 
588
589
  const calculatedDisabledColumns = TableLayout.Operations.ComputeLayout(
589
590
  updatedBindings,
@@ -1512,7 +1512,10 @@ export const DispatchDeltaTransfer = {
1512
1512
  >([
1513
1513
  {
1514
1514
  Discriminator: "TableMoveFromTo",
1515
- MoveFromTo: [delta.id, delta.to],
1515
+ MoveFromTo: {
1516
+ Item1: delta.id,
1517
+ Item2: delta.to,
1518
+ },
1516
1519
  },
1517
1520
  `[TableMoveFromTo][${delta.id}][${delta.to}]`,
1518
1521
  delta.flags