@genesislcap/expression-builder 14.291.2-alpha-ecac0bf.0 → 14.291.2-alpha-04c16dc.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.
@@ -704,6 +704,41 @@
704
704
  }
705
705
  ]
706
706
  },
707
+ {
708
+ "kind": "javascript-module",
709
+ "path": "src/types/index.ts",
710
+ "declarations": [],
711
+ "exports": [
712
+ {
713
+ "kind": "js",
714
+ "name": "*",
715
+ "declaration": {
716
+ "name": "*",
717
+ "package": "./public.types"
718
+ }
719
+ },
720
+ {
721
+ "kind": "js",
722
+ "name": "*",
723
+ "declaration": {
724
+ "name": "*",
725
+ "package": "./private.types"
726
+ }
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ "kind": "javascript-module",
732
+ "path": "src/types/private.types.ts",
733
+ "declarations": [],
734
+ "exports": []
735
+ },
736
+ {
737
+ "kind": "javascript-module",
738
+ "path": "src/types/public.types.ts",
739
+ "declarations": [],
740
+ "exports": []
741
+ },
707
742
  {
708
743
  "kind": "javascript-module",
709
744
  "path": "src/utils/data-model.ts",
@@ -993,41 +1028,6 @@
993
1028
  }
994
1029
  ]
995
1030
  },
996
- {
997
- "kind": "javascript-module",
998
- "path": "src/types/index.ts",
999
- "declarations": [],
1000
- "exports": [
1001
- {
1002
- "kind": "js",
1003
- "name": "*",
1004
- "declaration": {
1005
- "name": "*",
1006
- "package": "./public.types"
1007
- }
1008
- },
1009
- {
1010
- "kind": "js",
1011
- "name": "*",
1012
- "declaration": {
1013
- "name": "*",
1014
- "package": "./private.types"
1015
- }
1016
- }
1017
- ]
1018
- },
1019
- {
1020
- "kind": "javascript-module",
1021
- "path": "src/types/private.types.ts",
1022
- "declarations": [],
1023
- "exports": []
1024
- },
1025
- {
1026
- "kind": "javascript-module",
1027
- "path": "src/types/public.types.ts",
1028
- "declarations": [],
1029
- "exports": []
1030
- },
1031
1031
  {
1032
1032
  "kind": "javascript-module",
1033
1033
  "path": "src/main/expression-group/expression-group.styles.ts",
@@ -1243,6 +1243,120 @@
1243
1243
  }
1244
1244
  ]
1245
1245
  },
1246
+ {
1247
+ "kind": "javascript-module",
1248
+ "path": "src/main/rule-field/rule-field.template.ts",
1249
+ "declarations": [
1250
+ {
1251
+ "kind": "variable",
1252
+ "name": "template",
1253
+ "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`"
1254
+ }
1255
+ ],
1256
+ "exports": [
1257
+ {
1258
+ "kind": "js",
1259
+ "name": "template",
1260
+ "declaration": {
1261
+ "name": "template",
1262
+ "module": "src/main/rule-field/rule-field.template.ts"
1263
+ }
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "kind": "javascript-module",
1269
+ "path": "src/main/rule-field/rule-field.ts",
1270
+ "declarations": [
1271
+ {
1272
+ "kind": "class",
1273
+ "description": "",
1274
+ "name": "RuleField",
1275
+ "members": [
1276
+ {
1277
+ "kind": "field",
1278
+ "name": "fields",
1279
+ "type": {
1280
+ "text": "Field[]"
1281
+ },
1282
+ "default": "[]"
1283
+ },
1284
+ {
1285
+ "kind": "field",
1286
+ "name": "field",
1287
+ "type": {
1288
+ "text": "Field"
1289
+ }
1290
+ },
1291
+ {
1292
+ "kind": "field",
1293
+ "name": "config",
1294
+ "type": {
1295
+ "text": "Config"
1296
+ }
1297
+ },
1298
+ {
1299
+ "kind": "field",
1300
+ "name": "styles",
1301
+ "type": {
1302
+ "text": "Styles | undefined"
1303
+ }
1304
+ },
1305
+ {
1306
+ "kind": "field",
1307
+ "name": "groupedFieldss",
1308
+ "type": {
1309
+ "text": "(Field | { optgroup: string | null; xs: Field[] })[]"
1310
+ },
1311
+ "readonly": true
1312
+ },
1313
+ {
1314
+ "kind": "method",
1315
+ "name": "dispatchFieldsChanged",
1316
+ "parameters": [
1317
+ {
1318
+ "name": "event",
1319
+ "type": {
1320
+ "text": "Event"
1321
+ }
1322
+ }
1323
+ ]
1324
+ }
1325
+ ],
1326
+ "events": [
1327
+ {
1328
+ "type": {
1329
+ "text": "CustomEvent"
1330
+ }
1331
+ }
1332
+ ],
1333
+ "superclass": {
1334
+ "name": "GenesisElement",
1335
+ "package": "@genesislcap/web-core"
1336
+ },
1337
+ "tagName": "expression-rule-field",
1338
+ "customElement": true
1339
+ }
1340
+ ],
1341
+ "exports": [
1342
+ {
1343
+ "kind": "js",
1344
+ "name": "RuleField",
1345
+ "declaration": {
1346
+ "name": "RuleField",
1347
+ "module": "src/main/rule-field/rule-field.ts"
1348
+ }
1349
+ },
1350
+ {
1351
+ "kind": "custom-element-definition",
1352
+ "name": "expression-rule-field",
1353
+ "declaration": {
1354
+ "name": "RuleField",
1355
+ "module": "src/main/rule-field/rule-field.ts"
1356
+ }
1357
+ }
1358
+ ]
1359
+ },
1246
1360
  {
1247
1361
  "kind": "javascript-module",
1248
1362
  "path": "src/main/expression-rule/expression-rule.helpers.ts",
@@ -1679,120 +1793,6 @@
1679
1793
  }
1680
1794
  ]
1681
1795
  },
1682
- {
1683
- "kind": "javascript-module",
1684
- "path": "src/main/rule-field/rule-field.template.ts",
1685
- "declarations": [
1686
- {
1687
- "kind": "variable",
1688
- "name": "template",
1689
- "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`"
1690
- }
1691
- ],
1692
- "exports": [
1693
- {
1694
- "kind": "js",
1695
- "name": "template",
1696
- "declaration": {
1697
- "name": "template",
1698
- "module": "src/main/rule-field/rule-field.template.ts"
1699
- }
1700
- }
1701
- ]
1702
- },
1703
- {
1704
- "kind": "javascript-module",
1705
- "path": "src/main/rule-field/rule-field.ts",
1706
- "declarations": [
1707
- {
1708
- "kind": "class",
1709
- "description": "",
1710
- "name": "RuleField",
1711
- "members": [
1712
- {
1713
- "kind": "field",
1714
- "name": "fields",
1715
- "type": {
1716
- "text": "Field[]"
1717
- },
1718
- "default": "[]"
1719
- },
1720
- {
1721
- "kind": "field",
1722
- "name": "field",
1723
- "type": {
1724
- "text": "Field"
1725
- }
1726
- },
1727
- {
1728
- "kind": "field",
1729
- "name": "config",
1730
- "type": {
1731
- "text": "Config"
1732
- }
1733
- },
1734
- {
1735
- "kind": "field",
1736
- "name": "styles",
1737
- "type": {
1738
- "text": "Styles | undefined"
1739
- }
1740
- },
1741
- {
1742
- "kind": "field",
1743
- "name": "groupedFieldss",
1744
- "type": {
1745
- "text": "(Field | { optgroup: string | null; xs: Field[] })[]"
1746
- },
1747
- "readonly": true
1748
- },
1749
- {
1750
- "kind": "method",
1751
- "name": "dispatchFieldsChanged",
1752
- "parameters": [
1753
- {
1754
- "name": "event",
1755
- "type": {
1756
- "text": "Event"
1757
- }
1758
- }
1759
- ]
1760
- }
1761
- ],
1762
- "events": [
1763
- {
1764
- "type": {
1765
- "text": "CustomEvent"
1766
- }
1767
- }
1768
- ],
1769
- "superclass": {
1770
- "name": "GenesisElement",
1771
- "package": "@genesislcap/web-core"
1772
- },
1773
- "tagName": "expression-rule-field",
1774
- "customElement": true
1775
- }
1776
- ],
1777
- "exports": [
1778
- {
1779
- "kind": "js",
1780
- "name": "RuleField",
1781
- "declaration": {
1782
- "name": "RuleField",
1783
- "module": "src/main/rule-field/rule-field.ts"
1784
- }
1785
- },
1786
- {
1787
- "kind": "custom-element-definition",
1788
- "name": "expression-rule-field",
1789
- "declaration": {
1790
- "name": "RuleField",
1791
- "module": "src/main/rule-field/rule-field.ts"
1792
- }
1793
- }
1794
- ]
1795
- },
1796
1796
  {
1797
1797
  "kind": "javascript-module",
1798
1798
  "path": "src/main/rule-operator/rule-operator.template.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.291.2-alpha-ecac0bf.0",
4
+ "version": "14.291.2-alpha-04c16dc.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "customElements": "dist/custom-elements.json",
62
- "gitHead": "c84347935164c5cedfe41cc7d85340c0766348b9"
62
+ "gitHead": "1784b13c231c2ea15a403ae45a5969f295525b3d"
63
63
  }