@genesislcap/expression-builder 14.248.0 → 14.249.0

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.
@@ -1150,120 +1150,6 @@
1150
1150
  }
1151
1151
  ]
1152
1152
  },
1153
- {
1154
- "kind": "javascript-module",
1155
- "path": "src/main/rule-field/rule-field.template.ts",
1156
- "declarations": [
1157
- {
1158
- "kind": "variable",
1159
- "name": "template",
1160
- "default": "html<RuleField>`\n ${(context) => {\n const selectTag = context.styles?.customElements?.select || 'select';\n const optionTag = context.styles?.customElements?.option || 'option';\n const optgroupTag = 'optgroup'; // Not supporting custom optgroup for now\n\n return html<RuleField>`\n <${selectTag}\n class=\"form-select\"\n @change=${(x, c) => x.dispatchFieldsChanged(c.event)}\n value=${(x) => x.field?.fieldId}\n >\n <${optionTag} value=\"\">Select a field</${optionTag}>\n ${repeat(\n (x) => x.groupedFieldss,\n html<{ optgroup: string | null; xs: Field[] } | Field, RuleField>`\n ${(groupOrFields) => {\n if ('xs' in groupOrFields) {\n return html<{\n optgroup: string | null;\n xs: Field[];\n }>`\n <${optgroupTag} label=\"${(x) => x.optgroup}\">\n ${repeat(\n (x) => x.xs,\n html<Field>`\n <${optionTag}\n value=\"${(x) => x.fieldId}\"\n ?selected=${(x, c) => x.fieldId === c.parentContext.parent?.field?.fieldId}\n >\n ${(x) => x.label}\n </${optionTag}>\n `,\n )}\n </${optgroupTag}>\n `;\n } else {\n return html<Field>`\n <${optionTag}\n value=\"${(x) => x.fieldId}\"\n ?selected=${(x, c) => x.fieldId === c.parent?.field?.fieldId}\n >\n ${(x) => x.label}\n </${optionTag}>\n `;\n }\n }}\n `,\n )}\n </${selectTag}>\n `;\n }}\n`"
1161
- }
1162
- ],
1163
- "exports": [
1164
- {
1165
- "kind": "js",
1166
- "name": "template",
1167
- "declaration": {
1168
- "name": "template",
1169
- "module": "src/main/rule-field/rule-field.template.ts"
1170
- }
1171
- }
1172
- ]
1173
- },
1174
- {
1175
- "kind": "javascript-module",
1176
- "path": "src/main/rule-field/rule-field.ts",
1177
- "declarations": [
1178
- {
1179
- "kind": "class",
1180
- "description": "",
1181
- "name": "RuleField",
1182
- "members": [
1183
- {
1184
- "kind": "field",
1185
- "name": "fields",
1186
- "type": {
1187
- "text": "Field[]"
1188
- },
1189
- "default": "[]"
1190
- },
1191
- {
1192
- "kind": "field",
1193
- "name": "field",
1194
- "type": {
1195
- "text": "Field"
1196
- }
1197
- },
1198
- {
1199
- "kind": "field",
1200
- "name": "config",
1201
- "type": {
1202
- "text": "Config"
1203
- }
1204
- },
1205
- {
1206
- "kind": "field",
1207
- "name": "styles",
1208
- "type": {
1209
- "text": "Styles | undefined"
1210
- }
1211
- },
1212
- {
1213
- "kind": "field",
1214
- "name": "groupedFieldss",
1215
- "type": {
1216
- "text": "(Field | { optgroup: string | null; xs: Field[] })[]"
1217
- },
1218
- "readonly": true
1219
- },
1220
- {
1221
- "kind": "method",
1222
- "name": "dispatchFieldsChanged",
1223
- "parameters": [
1224
- {
1225
- "name": "event",
1226
- "type": {
1227
- "text": "Event"
1228
- }
1229
- }
1230
- ]
1231
- }
1232
- ],
1233
- "events": [
1234
- {
1235
- "type": {
1236
- "text": "CustomEvent"
1237
- }
1238
- }
1239
- ],
1240
- "superclass": {
1241
- "name": "GenesisElement",
1242
- "package": "@genesislcap/web-core"
1243
- },
1244
- "tagName": "expression-rule-field",
1245
- "customElement": true
1246
- }
1247
- ],
1248
- "exports": [
1249
- {
1250
- "kind": "js",
1251
- "name": "RuleField",
1252
- "declaration": {
1253
- "name": "RuleField",
1254
- "module": "src/main/rule-field/rule-field.ts"
1255
- }
1256
- },
1257
- {
1258
- "kind": "custom-element-definition",
1259
- "name": "expression-rule-field",
1260
- "declaration": {
1261
- "name": "RuleField",
1262
- "module": "src/main/rule-field/rule-field.ts"
1263
- }
1264
- }
1265
- ]
1266
- },
1267
1153
  {
1268
1154
  "kind": "javascript-module",
1269
1155
  "path": "src/main/expression-rule/expression-rule.helpers.ts",
@@ -1659,6 +1545,120 @@
1659
1545
  }
1660
1546
  ]
1661
1547
  },
1548
+ {
1549
+ "kind": "javascript-module",
1550
+ "path": "src/main/rule-field/rule-field.template.ts",
1551
+ "declarations": [
1552
+ {
1553
+ "kind": "variable",
1554
+ "name": "template",
1555
+ "default": "html<RuleField>`\n ${(context) => {\n const selectTag = context.styles?.customElements?.select || 'select';\n const optionTag = context.styles?.customElements?.option || 'option';\n const optgroupTag = 'optgroup'; // Not supporting custom optgroup for now\n\n return html<RuleField>`\n <${selectTag}\n class=\"form-select\"\n @change=${(x, c) => x.dispatchFieldsChanged(c.event)}\n value=${(x) => x.field?.fieldId}\n >\n <${optionTag} value=\"\">Select a field</${optionTag}>\n ${repeat(\n (x) => x.groupedFieldss,\n html<{ optgroup: string | null; xs: Field[] } | Field, RuleField>`\n ${(groupOrFields) => {\n if ('xs' in groupOrFields) {\n return html<{\n optgroup: string | null;\n xs: Field[];\n }>`\n <${optgroupTag} label=\"${(x) => x.optgroup}\">\n ${repeat(\n (x) => x.xs,\n html<Field>`\n <${optionTag}\n value=\"${(x) => x.fieldId}\"\n ?selected=${(x, c) => x.fieldId === c.parentContext.parent?.field?.fieldId}\n >\n ${(x) => x.label}\n </${optionTag}>\n `,\n )}\n </${optgroupTag}>\n `;\n } else {\n return html<Field>`\n <${optionTag}\n value=\"${(x) => x.fieldId}\"\n ?selected=${(x, c) => x.fieldId === c.parent?.field?.fieldId}\n >\n ${(x) => x.label}\n </${optionTag}>\n `;\n }\n }}\n `,\n )}\n </${selectTag}>\n `;\n }}\n`"
1556
+ }
1557
+ ],
1558
+ "exports": [
1559
+ {
1560
+ "kind": "js",
1561
+ "name": "template",
1562
+ "declaration": {
1563
+ "name": "template",
1564
+ "module": "src/main/rule-field/rule-field.template.ts"
1565
+ }
1566
+ }
1567
+ ]
1568
+ },
1569
+ {
1570
+ "kind": "javascript-module",
1571
+ "path": "src/main/rule-field/rule-field.ts",
1572
+ "declarations": [
1573
+ {
1574
+ "kind": "class",
1575
+ "description": "",
1576
+ "name": "RuleField",
1577
+ "members": [
1578
+ {
1579
+ "kind": "field",
1580
+ "name": "fields",
1581
+ "type": {
1582
+ "text": "Field[]"
1583
+ },
1584
+ "default": "[]"
1585
+ },
1586
+ {
1587
+ "kind": "field",
1588
+ "name": "field",
1589
+ "type": {
1590
+ "text": "Field"
1591
+ }
1592
+ },
1593
+ {
1594
+ "kind": "field",
1595
+ "name": "config",
1596
+ "type": {
1597
+ "text": "Config"
1598
+ }
1599
+ },
1600
+ {
1601
+ "kind": "field",
1602
+ "name": "styles",
1603
+ "type": {
1604
+ "text": "Styles | undefined"
1605
+ }
1606
+ },
1607
+ {
1608
+ "kind": "field",
1609
+ "name": "groupedFieldss",
1610
+ "type": {
1611
+ "text": "(Field | { optgroup: string | null; xs: Field[] })[]"
1612
+ },
1613
+ "readonly": true
1614
+ },
1615
+ {
1616
+ "kind": "method",
1617
+ "name": "dispatchFieldsChanged",
1618
+ "parameters": [
1619
+ {
1620
+ "name": "event",
1621
+ "type": {
1622
+ "text": "Event"
1623
+ }
1624
+ }
1625
+ ]
1626
+ }
1627
+ ],
1628
+ "events": [
1629
+ {
1630
+ "type": {
1631
+ "text": "CustomEvent"
1632
+ }
1633
+ }
1634
+ ],
1635
+ "superclass": {
1636
+ "name": "GenesisElement",
1637
+ "package": "@genesislcap/web-core"
1638
+ },
1639
+ "tagName": "expression-rule-field",
1640
+ "customElement": true
1641
+ }
1642
+ ],
1643
+ "exports": [
1644
+ {
1645
+ "kind": "js",
1646
+ "name": "RuleField",
1647
+ "declaration": {
1648
+ "name": "RuleField",
1649
+ "module": "src/main/rule-field/rule-field.ts"
1650
+ }
1651
+ },
1652
+ {
1653
+ "kind": "custom-element-definition",
1654
+ "name": "expression-rule-field",
1655
+ "declaration": {
1656
+ "name": "RuleField",
1657
+ "module": "src/main/rule-field/rule-field.ts"
1658
+ }
1659
+ }
1660
+ ]
1661
+ },
1662
1662
  {
1663
1663
  "kind": "javascript-module",
1664
1664
  "path": "src/main/rule-value/rule-value.helpers.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/expression-builder",
3
3
  "description": "Genesis Foundation Expression Builder",
4
- "version": "14.248.0",
4
+ "version": "14.249.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -62,5 +62,5 @@
62
62
  "access": "public"
63
63
  },
64
64
  "customElements": "dist/custom-elements.json",
65
- "gitHead": "1c9e7b7afeb1940661effcde53286e049ecda101"
65
+ "gitHead": "0827469e373358a4dbc50de154868998adf62bd9"
66
66
  }