@genesislcap/foundation-forms 14.446.0-canary.1 → 14.446.1-FUI-2541.1

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.
@@ -949,6 +949,241 @@
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
+ },
952
1187
  {
953
1188
  "kind": "javascript-module",
954
1189
  "path": "src/filters/filters.styles.ts",
@@ -1438,241 +1673,6 @@
1438
1673
  }
1439
1674
  ]
1440
1675
  },
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",
@@ -66,15 +66,6 @@ export declare const Form: React.ForwardRefExoticComponent<
66
66
  >;
67
67
  export type FormRef = FormWC;
68
68
 
69
- export declare const Filters: React.ForwardRefExoticComponent<
70
- React.PropsWithChildren<
71
- Omit<PublicOf<FiltersWC>, 'children' | 'style'> &
72
- HTMLWCProps & {
73
- }
74
- > & React.RefAttributes<FiltersWC>
75
- >;
76
- export type FiltersRef = FiltersWC;
77
-
78
69
  export declare const JSONForms: React.ForwardRefExoticComponent<
79
70
  React.PropsWithChildren<
80
71
  Omit<PublicOf<JSONFormsWC>, 'children' | 'style'> &
@@ -85,6 +76,15 @@ export declare const JSONForms: React.ForwardRefExoticComponent<
85
76
  >;
86
77
  export type JSONFormsRef = JSONFormsWC;
87
78
 
79
+ export declare const Filters: React.ForwardRefExoticComponent<
80
+ React.PropsWithChildren<
81
+ Omit<PublicOf<FiltersWC>, 'children' | 'style'> &
82
+ HTMLWCProps & {
83
+ }
84
+ > & React.RefAttributes<FiltersWC>
85
+ >;
86
+ export type FiltersRef = FiltersWC;
87
+
88
88
  export declare const ArrayListWrapper: React.ForwardRefExoticComponent<
89
89
  React.PropsWithChildren<
90
90
  Omit<PublicOf<ArrayListWrapperWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,11 +99,6 @@ 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
-
107
102
  const JSONForms = React.forwardRef(function JSONForms(props, ref) {
108
103
  const { onDataChange, children, ...rest } = props;
109
104
  const _innerRef = React.useRef(null);
@@ -121,6 +116,11 @@ const JSONForms = React.forwardRef(function JSONForms(props, ref) {
121
116
  return React.createElement(customElements.getName(JSONFormsWC) ?? 'json-forms', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
122
117
  });
123
118
 
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
- Filters,
167
166
  JSONForms,
167
+ Filters,
168
168
  ArrayListWrapper,
169
169
  CategorizationWrapper,
170
170
  ControlWrapper,
package/dist/react.mjs CHANGED
@@ -97,11 +97,6 @@ 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
-
105
100
  export const JSONForms = React.forwardRef(function JSONForms(props, ref) {
106
101
  const { onDataChange, children, ...rest } = props;
107
102
  const _innerRef = React.useRef(null);
@@ -119,6 +114,11 @@ export const JSONForms = React.forwardRef(function JSONForms(props, ref) {
119
114
  return React.createElement(customElements.getName(JSONFormsWC) ?? 'json-forms', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
120
115
  });
121
116
 
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.0-canary.1",
4
+ "version": "14.446.1-FUI-2541.1",
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.0-canary.1",
63
- "@genesislcap/genx": "14.446.0-canary.1",
64
- "@genesislcap/rollup-builder": "14.446.0-canary.1",
65
- "@genesislcap/ts-builder": "14.446.0-canary.1",
66
- "@genesislcap/uvu-playwright-builder": "14.446.0-canary.1",
67
- "@genesislcap/vite-builder": "14.446.0-canary.1",
68
- "@genesislcap/webpack-builder": "14.446.0-canary.1",
62
+ "@genesislcap/foundation-testing": "14.446.1-FUI-2541.1",
63
+ "@genesislcap/genx": "14.446.1-FUI-2541.1",
64
+ "@genesislcap/rollup-builder": "14.446.1-FUI-2541.1",
65
+ "@genesislcap/ts-builder": "14.446.1-FUI-2541.1",
66
+ "@genesislcap/uvu-playwright-builder": "14.446.1-FUI-2541.1",
67
+ "@genesislcap/vite-builder": "14.446.1-FUI-2541.1",
68
+ "@genesislcap/webpack-builder": "14.446.1-FUI-2541.1",
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.0-canary.1",
86
- "@genesislcap/foundation-criteria": "14.446.0-canary.1",
87
- "@genesislcap/foundation-logger": "14.446.0-canary.1",
88
- "@genesislcap/foundation-notifications": "14.446.0-canary.1",
89
- "@genesislcap/foundation-ui": "14.446.0-canary.1",
90
- "@genesislcap/foundation-utils": "14.446.0-canary.1",
85
+ "@genesislcap/foundation-comms": "14.446.1-FUI-2541.1",
86
+ "@genesislcap/foundation-criteria": "14.446.1-FUI-2541.1",
87
+ "@genesislcap/foundation-logger": "14.446.1-FUI-2541.1",
88
+ "@genesislcap/foundation-notifications": "14.446.1-FUI-2541.1",
89
+ "@genesislcap/foundation-ui": "14.446.1-FUI-2541.1",
90
+ "@genesislcap/foundation-utils": "14.446.1-FUI-2541.1",
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": "a023fcbc9ddf2e08249425219a33b2573ad0f51e"
112
+ "gitHead": "ede3de0912bfd99b4fc0c9f57f2e322c27c8844b"
113
113
  }