@genesislcap/foundation-forms 14.446.1-FUI-2541.1 → 14.446.1-FUI-2541.2
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/dist/custom-elements.json +235 -235
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +15 -15
|
@@ -949,241 +949,6 @@
|
|
|
949
949
|
}
|
|
950
950
|
]
|
|
951
951
|
},
|
|
952
|
-
{
|
|
953
|
-
"kind": "javascript-module",
|
|
954
|
-
"path": "src/jsonforms/json-forms.ts",
|
|
955
|
-
"declarations": [
|
|
956
|
-
{
|
|
957
|
-
"kind": "class",
|
|
958
|
-
"description": "JSON Forms host element for schema-driven UI.",
|
|
959
|
-
"name": "JSONForms",
|
|
960
|
-
"members": [
|
|
961
|
-
{
|
|
962
|
-
"kind": "field",
|
|
963
|
-
"name": "_submitted",
|
|
964
|
-
"type": {
|
|
965
|
-
"text": "boolean"
|
|
966
|
-
},
|
|
967
|
-
"privacy": "private",
|
|
968
|
-
"default": "false"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"kind": "field",
|
|
972
|
-
"name": "submitted",
|
|
973
|
-
"type": {
|
|
974
|
-
"text": "boolean"
|
|
975
|
-
}
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"kind": "field",
|
|
979
|
-
"name": "prefix"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"kind": "method",
|
|
983
|
-
"name": "prefixChanged"
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
"kind": "field",
|
|
987
|
-
"name": "jsonforms"
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"kind": "field",
|
|
991
|
-
"name": "i18n"
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"kind": "field",
|
|
995
|
-
"name": "uichemaToUse"
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"kind": "field",
|
|
999
|
-
"name": "schema"
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"kind": "method",
|
|
1003
|
-
"name": "schemaChanged"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
"kind": "field",
|
|
1007
|
-
"name": "uischema",
|
|
1008
|
-
"type": {
|
|
1009
|
-
"text": "UISchemaElement"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "method",
|
|
1014
|
-
"name": "uischemaChanged"
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
"kind": "field",
|
|
1018
|
-
"name": "data"
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"kind": "method",
|
|
1022
|
-
"name": "dataChanged"
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"kind": "field",
|
|
1026
|
-
"name": "renderers",
|
|
1027
|
-
"type": {
|
|
1028
|
-
"text": "JsonFormsRendererRegistryEntry[]"
|
|
1029
|
-
}
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"kind": "method",
|
|
1033
|
-
"name": "renderersChanged"
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
"kind": "field",
|
|
1037
|
-
"name": "validationMode",
|
|
1038
|
-
"type": {
|
|
1039
|
-
"text": "ValidationMode"
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
"kind": "method",
|
|
1044
|
-
"name": "validationModeChanged"
|
|
1045
|
-
},
|
|
1046
|
-
{
|
|
1047
|
-
"kind": "field",
|
|
1048
|
-
"name": "ajv",
|
|
1049
|
-
"type": {
|
|
1050
|
-
"text": "Ajv"
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"kind": "method",
|
|
1055
|
-
"name": "ajvChanged"
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
"kind": "field",
|
|
1059
|
-
"name": "readonly",
|
|
1060
|
-
"type": {
|
|
1061
|
-
"text": "boolean"
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"kind": "method",
|
|
1066
|
-
"name": "readonlyChanged"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"kind": "field",
|
|
1070
|
-
"name": "config",
|
|
1071
|
-
"type": {
|
|
1072
|
-
"text": "any"
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"kind": "method",
|
|
1077
|
-
"name": "configChanged"
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"kind": "field",
|
|
1081
|
-
"name": "rowSubmitStatuses",
|
|
1082
|
-
"type": {
|
|
1083
|
-
"text": "Map<number, BulkRowStatus>"
|
|
1084
|
-
},
|
|
1085
|
-
"default": "new Map()",
|
|
1086
|
-
"description": "Row submit statuses for bulk insert mode.\nPassed from the parent foundation-form."
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
"kind": "method",
|
|
1090
|
-
"name": "rowSubmitStatusesChanged"
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
"kind": "field",
|
|
1094
|
-
"name": "bulkInsert",
|
|
1095
|
-
"type": {
|
|
1096
|
-
"text": "boolean"
|
|
1097
|
-
},
|
|
1098
|
-
"default": "false",
|
|
1099
|
-
"description": "Whether the form is in bulk insert mode.\nPassed from the parent foundation-form."
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "method",
|
|
1103
|
-
"name": "bulkInsertChanged"
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
"kind": "field",
|
|
1107
|
-
"name": "props",
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": "RendererProps"
|
|
1110
|
-
},
|
|
1111
|
-
"readonly": true
|
|
1112
|
-
},
|
|
1113
|
-
{
|
|
1114
|
-
"kind": "field",
|
|
1115
|
-
"name": "dispatch"
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
"kind": "field",
|
|
1119
|
-
"name": "validate",
|
|
1120
|
-
"description": "Performs client-side validation by running the validator defined in the UI schema.",
|
|
1121
|
-
"parameters": [
|
|
1122
|
-
{
|
|
1123
|
-
"description": "the UI schema",
|
|
1124
|
-
"name": "uischema"
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"description": "the data to validate against (defaults to the current core data)",
|
|
1128
|
-
"name": "data"
|
|
1129
|
-
}
|
|
1130
|
-
],
|
|
1131
|
-
"return": {
|
|
1132
|
-
"type": {
|
|
1133
|
-
"text": ""
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
"kind": "method",
|
|
1139
|
-
"name": "copyUISchemaToClipboard"
|
|
1140
|
-
}
|
|
1141
|
-
],
|
|
1142
|
-
"events": [
|
|
1143
|
-
{
|
|
1144
|
-
"description": "Bubbles from nested dispatch-renderer when a control emits change (e.g. multiselect)",
|
|
1145
|
-
"name": "change"
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"description": "Fired when bound form data changes",
|
|
1149
|
-
"name": "data-change"
|
|
1150
|
-
}
|
|
1151
|
-
],
|
|
1152
|
-
"attributes": [
|
|
1153
|
-
{
|
|
1154
|
-
"type": {
|
|
1155
|
-
"text": "boolean"
|
|
1156
|
-
},
|
|
1157
|
-
"fieldName": "readonly"
|
|
1158
|
-
}
|
|
1159
|
-
],
|
|
1160
|
-
"superclass": {
|
|
1161
|
-
"name": "FASTElement",
|
|
1162
|
-
"package": "@microsoft/fast-element"
|
|
1163
|
-
},
|
|
1164
|
-
"tagName": "json-forms",
|
|
1165
|
-
"customElement": true
|
|
1166
|
-
}
|
|
1167
|
-
],
|
|
1168
|
-
"exports": [
|
|
1169
|
-
{
|
|
1170
|
-
"kind": "js",
|
|
1171
|
-
"name": "JSONForms",
|
|
1172
|
-
"declaration": {
|
|
1173
|
-
"name": "JSONForms",
|
|
1174
|
-
"module": "src/jsonforms/json-forms.ts"
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"kind": "custom-element-definition",
|
|
1179
|
-
"name": "json-forms",
|
|
1180
|
-
"declaration": {
|
|
1181
|
-
"name": "JSONForms",
|
|
1182
|
-
"module": "src/jsonforms/json-forms.ts"
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
]
|
|
1186
|
-
},
|
|
1187
952
|
{
|
|
1188
953
|
"kind": "javascript-module",
|
|
1189
954
|
"path": "src/filters/filters.styles.ts",
|
|
@@ -1673,6 +1438,241 @@
|
|
|
1673
1438
|
}
|
|
1674
1439
|
]
|
|
1675
1440
|
},
|
|
1441
|
+
{
|
|
1442
|
+
"kind": "javascript-module",
|
|
1443
|
+
"path": "src/jsonforms/json-forms.ts",
|
|
1444
|
+
"declarations": [
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "class",
|
|
1447
|
+
"description": "JSON Forms host element for schema-driven UI.",
|
|
1448
|
+
"name": "JSONForms",
|
|
1449
|
+
"members": [
|
|
1450
|
+
{
|
|
1451
|
+
"kind": "field",
|
|
1452
|
+
"name": "_submitted",
|
|
1453
|
+
"type": {
|
|
1454
|
+
"text": "boolean"
|
|
1455
|
+
},
|
|
1456
|
+
"privacy": "private",
|
|
1457
|
+
"default": "false"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"kind": "field",
|
|
1461
|
+
"name": "submitted",
|
|
1462
|
+
"type": {
|
|
1463
|
+
"text": "boolean"
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "field",
|
|
1468
|
+
"name": "prefix"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "method",
|
|
1472
|
+
"name": "prefixChanged"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "field",
|
|
1476
|
+
"name": "jsonforms"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"kind": "field",
|
|
1480
|
+
"name": "i18n"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"kind": "field",
|
|
1484
|
+
"name": "uichemaToUse"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "field",
|
|
1488
|
+
"name": "schema"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"kind": "method",
|
|
1492
|
+
"name": "schemaChanged"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"kind": "field",
|
|
1496
|
+
"name": "uischema",
|
|
1497
|
+
"type": {
|
|
1498
|
+
"text": "UISchemaElement"
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "method",
|
|
1503
|
+
"name": "uischemaChanged"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"kind": "field",
|
|
1507
|
+
"name": "data"
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "method",
|
|
1511
|
+
"name": "dataChanged"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"kind": "field",
|
|
1515
|
+
"name": "renderers",
|
|
1516
|
+
"type": {
|
|
1517
|
+
"text": "JsonFormsRendererRegistryEntry[]"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"kind": "method",
|
|
1522
|
+
"name": "renderersChanged"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"kind": "field",
|
|
1526
|
+
"name": "validationMode",
|
|
1527
|
+
"type": {
|
|
1528
|
+
"text": "ValidationMode"
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"kind": "method",
|
|
1533
|
+
"name": "validationModeChanged"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"kind": "field",
|
|
1537
|
+
"name": "ajv",
|
|
1538
|
+
"type": {
|
|
1539
|
+
"text": "Ajv"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"kind": "method",
|
|
1544
|
+
"name": "ajvChanged"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"kind": "field",
|
|
1548
|
+
"name": "readonly",
|
|
1549
|
+
"type": {
|
|
1550
|
+
"text": "boolean"
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"kind": "method",
|
|
1555
|
+
"name": "readonlyChanged"
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"kind": "field",
|
|
1559
|
+
"name": "config",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "any"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"kind": "method",
|
|
1566
|
+
"name": "configChanged"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"kind": "field",
|
|
1570
|
+
"name": "rowSubmitStatuses",
|
|
1571
|
+
"type": {
|
|
1572
|
+
"text": "Map<number, BulkRowStatus>"
|
|
1573
|
+
},
|
|
1574
|
+
"default": "new Map()",
|
|
1575
|
+
"description": "Row submit statuses for bulk insert mode.\nPassed from the parent foundation-form."
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"kind": "method",
|
|
1579
|
+
"name": "rowSubmitStatusesChanged"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"kind": "field",
|
|
1583
|
+
"name": "bulkInsert",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"text": "boolean"
|
|
1586
|
+
},
|
|
1587
|
+
"default": "false",
|
|
1588
|
+
"description": "Whether the form is in bulk insert mode.\nPassed from the parent foundation-form."
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"kind": "method",
|
|
1592
|
+
"name": "bulkInsertChanged"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "field",
|
|
1596
|
+
"name": "props",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "RendererProps"
|
|
1599
|
+
},
|
|
1600
|
+
"readonly": true
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"kind": "field",
|
|
1604
|
+
"name": "dispatch"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"kind": "field",
|
|
1608
|
+
"name": "validate",
|
|
1609
|
+
"description": "Performs client-side validation by running the validator defined in the UI schema.",
|
|
1610
|
+
"parameters": [
|
|
1611
|
+
{
|
|
1612
|
+
"description": "the UI schema",
|
|
1613
|
+
"name": "uischema"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"description": "the data to validate against (defaults to the current core data)",
|
|
1617
|
+
"name": "data"
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
"return": {
|
|
1621
|
+
"type": {
|
|
1622
|
+
"text": ""
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"kind": "method",
|
|
1628
|
+
"name": "copyUISchemaToClipboard"
|
|
1629
|
+
}
|
|
1630
|
+
],
|
|
1631
|
+
"events": [
|
|
1632
|
+
{
|
|
1633
|
+
"description": "Bubbles from nested dispatch-renderer when a control emits change (e.g. multiselect)",
|
|
1634
|
+
"name": "change"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"description": "Fired when bound form data changes",
|
|
1638
|
+
"name": "data-change"
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"attributes": [
|
|
1642
|
+
{
|
|
1643
|
+
"type": {
|
|
1644
|
+
"text": "boolean"
|
|
1645
|
+
},
|
|
1646
|
+
"fieldName": "readonly"
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1649
|
+
"superclass": {
|
|
1650
|
+
"name": "FASTElement",
|
|
1651
|
+
"package": "@microsoft/fast-element"
|
|
1652
|
+
},
|
|
1653
|
+
"tagName": "json-forms",
|
|
1654
|
+
"customElement": true
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
"exports": [
|
|
1658
|
+
{
|
|
1659
|
+
"kind": "js",
|
|
1660
|
+
"name": "JSONForms",
|
|
1661
|
+
"declaration": {
|
|
1662
|
+
"name": "JSONForms",
|
|
1663
|
+
"module": "src/jsonforms/json-forms.ts"
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "custom-element-definition",
|
|
1668
|
+
"name": "json-forms",
|
|
1669
|
+
"declaration": {
|
|
1670
|
+
"name": "JSONForms",
|
|
1671
|
+
"module": "src/jsonforms/json-forms.ts"
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
]
|
|
1675
|
+
},
|
|
1676
1676
|
{
|
|
1677
1677
|
"kind": "javascript-module",
|
|
1678
1678
|
"path": "src/utils/confirmation-dialog-utils.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -66,24 +66,24 @@ export declare const Form: React.ForwardRefExoticComponent<
|
|
|
66
66
|
>;
|
|
67
67
|
export type FormRef = FormWC;
|
|
68
68
|
|
|
69
|
-
export declare const
|
|
69
|
+
export declare const Filters: React.ForwardRefExoticComponent<
|
|
70
70
|
React.PropsWithChildren<
|
|
71
|
-
Omit<PublicOf<
|
|
71
|
+
Omit<PublicOf<FiltersWC>, 'children' | 'style'> &
|
|
72
72
|
HTMLWCProps & {
|
|
73
|
-
onDataChange?: (event: CustomEvent<unknown>) => void;
|
|
74
73
|
}
|
|
75
|
-
> & React.RefAttributes<
|
|
74
|
+
> & React.RefAttributes<FiltersWC>
|
|
76
75
|
>;
|
|
77
|
-
export type
|
|
76
|
+
export type FiltersRef = FiltersWC;
|
|
78
77
|
|
|
79
|
-
export declare const
|
|
78
|
+
export declare const JSONForms: React.ForwardRefExoticComponent<
|
|
80
79
|
React.PropsWithChildren<
|
|
81
|
-
Omit<PublicOf<
|
|
80
|
+
Omit<PublicOf<JSONFormsWC>, 'children' | 'style'> &
|
|
82
81
|
HTMLWCProps & {
|
|
82
|
+
onDataChange?: (event: CustomEvent<unknown>) => void;
|
|
83
83
|
}
|
|
84
|
-
> & React.RefAttributes<
|
|
84
|
+
> & React.RefAttributes<JSONFormsWC>
|
|
85
85
|
>;
|
|
86
|
-
export type
|
|
86
|
+
export type JSONFormsRef = JSONFormsWC;
|
|
87
87
|
|
|
88
88
|
export declare const ArrayListWrapper: React.ForwardRefExoticComponent<
|
|
89
89
|
React.PropsWithChildren<
|
package/dist/react.cjs
CHANGED
|
@@ -99,6 +99,11 @@ const Form = React.forwardRef(function Form(props, ref) {
|
|
|
99
99
|
return React.createElement(customElements.getName(FormWC) ?? 'foundation-form', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
+
const Filters = React.forwardRef(function Filters(props, ref) {
|
|
103
|
+
const { children, ...rest } = props;
|
|
104
|
+
return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
|
|
105
|
+
});
|
|
106
|
+
|
|
102
107
|
const JSONForms = React.forwardRef(function JSONForms(props, ref) {
|
|
103
108
|
const { onDataChange, children, ...rest } = props;
|
|
104
109
|
const _innerRef = React.useRef(null);
|
|
@@ -116,11 +121,6 @@ const JSONForms = React.forwardRef(function JSONForms(props, ref) {
|
|
|
116
121
|
return React.createElement(customElements.getName(JSONFormsWC) ?? 'json-forms', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
117
122
|
});
|
|
118
123
|
|
|
119
|
-
const Filters = React.forwardRef(function Filters(props, ref) {
|
|
120
|
-
const { children, ...rest } = props;
|
|
121
|
-
return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
|
|
122
|
-
});
|
|
123
|
-
|
|
124
124
|
const ArrayListWrapper = React.forwardRef(function ArrayListWrapper(props, ref) {
|
|
125
125
|
const { children, ...rest } = props;
|
|
126
126
|
return React.createElement(customElements.getName(ArrayListWrapperWC) ?? 'array-list-wrapper', { ...rest, ref }, children);
|
|
@@ -163,8 +163,8 @@ const FoundationReactSlot = React.forwardRef(function FoundationReactSlot(props,
|
|
|
163
163
|
|
|
164
164
|
module.exports = {
|
|
165
165
|
Form,
|
|
166
|
-
JSONForms,
|
|
167
166
|
Filters,
|
|
167
|
+
JSONForms,
|
|
168
168
|
ArrayListWrapper,
|
|
169
169
|
CategorizationWrapper,
|
|
170
170
|
ControlWrapper,
|
package/dist/react.mjs
CHANGED
|
@@ -97,6 +97,11 @@ export const Form = React.forwardRef(function Form(props, ref) {
|
|
|
97
97
|
return React.createElement(customElements.getName(FormWC) ?? 'foundation-form', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
+
export const Filters = React.forwardRef(function Filters(props, ref) {
|
|
101
|
+
const { children, ...rest } = props;
|
|
102
|
+
return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
|
|
103
|
+
});
|
|
104
|
+
|
|
100
105
|
export const JSONForms = React.forwardRef(function JSONForms(props, ref) {
|
|
101
106
|
const { onDataChange, children, ...rest } = props;
|
|
102
107
|
const _innerRef = React.useRef(null);
|
|
@@ -114,11 +119,6 @@ export const JSONForms = React.forwardRef(function JSONForms(props, ref) {
|
|
|
114
119
|
return React.createElement(customElements.getName(JSONFormsWC) ?? 'json-forms', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
115
120
|
});
|
|
116
121
|
|
|
117
|
-
export const Filters = React.forwardRef(function Filters(props, ref) {
|
|
118
|
-
const { children, ...rest } = props;
|
|
119
|
-
return React.createElement(customElements.getName(FiltersWC) ?? 'foundation-filters', { ...rest, ref }, children);
|
|
120
|
-
});
|
|
121
|
-
|
|
122
122
|
export const ArrayListWrapper = React.forwardRef(function ArrayListWrapper(props, ref) {
|
|
123
123
|
const { children, ...rest } = props;
|
|
124
124
|
return React.createElement(customElements.getName(ArrayListWrapperWC) ?? 'array-list-wrapper', { ...rest, ref }, children);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-forms",
|
|
3
3
|
"description": "Genesis Foundation Forms",
|
|
4
|
-
"version": "14.446.1-FUI-2541.
|
|
4
|
+
"version": "14.446.1-FUI-2541.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@genesislcap/foundation-testing": "14.446.1-FUI-2541.
|
|
63
|
-
"@genesislcap/genx": "14.446.1-FUI-2541.
|
|
64
|
-
"@genesislcap/rollup-builder": "14.446.1-FUI-2541.
|
|
65
|
-
"@genesislcap/ts-builder": "14.446.1-FUI-2541.
|
|
66
|
-
"@genesislcap/uvu-playwright-builder": "14.446.1-FUI-2541.
|
|
67
|
-
"@genesislcap/vite-builder": "14.446.1-FUI-2541.
|
|
68
|
-
"@genesislcap/webpack-builder": "14.446.1-FUI-2541.
|
|
62
|
+
"@genesislcap/foundation-testing": "14.446.1-FUI-2541.2",
|
|
63
|
+
"@genesislcap/genx": "14.446.1-FUI-2541.2",
|
|
64
|
+
"@genesislcap/rollup-builder": "14.446.1-FUI-2541.2",
|
|
65
|
+
"@genesislcap/ts-builder": "14.446.1-FUI-2541.2",
|
|
66
|
+
"@genesislcap/uvu-playwright-builder": "14.446.1-FUI-2541.2",
|
|
67
|
+
"@genesislcap/vite-builder": "14.446.1-FUI-2541.2",
|
|
68
|
+
"@genesislcap/webpack-builder": "14.446.1-FUI-2541.2",
|
|
69
69
|
"@types/json-schema": "^7.0.11",
|
|
70
70
|
"@types/papaparse": "^5.3.14"
|
|
71
71
|
},
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@genesislcap/foundation-comms": "14.446.1-FUI-2541.
|
|
86
|
-
"@genesislcap/foundation-criteria": "14.446.1-FUI-2541.
|
|
87
|
-
"@genesislcap/foundation-logger": "14.446.1-FUI-2541.
|
|
88
|
-
"@genesislcap/foundation-notifications": "14.446.1-FUI-2541.
|
|
89
|
-
"@genesislcap/foundation-ui": "14.446.1-FUI-2541.
|
|
90
|
-
"@genesislcap/foundation-utils": "14.446.1-FUI-2541.
|
|
85
|
+
"@genesislcap/foundation-comms": "14.446.1-FUI-2541.2",
|
|
86
|
+
"@genesislcap/foundation-criteria": "14.446.1-FUI-2541.2",
|
|
87
|
+
"@genesislcap/foundation-logger": "14.446.1-FUI-2541.2",
|
|
88
|
+
"@genesislcap/foundation-notifications": "14.446.1-FUI-2541.2",
|
|
89
|
+
"@genesislcap/foundation-ui": "14.446.1-FUI-2541.2",
|
|
90
|
+
"@genesislcap/foundation-utils": "14.446.1-FUI-2541.2",
|
|
91
91
|
"@json-schema-tools/dereferencer": "^1.6.1",
|
|
92
92
|
"@jsonforms/core": "^3.2.1",
|
|
93
93
|
"@microsoft/fast-components": "2.30.6",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"access": "public"
|
|
110
110
|
},
|
|
111
111
|
"customElements": "dist/custom-elements.json",
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "e29fdf28775074bde37c45c152bada6b3b446386"
|
|
113
113
|
}
|