@genesislcap/expression-builder 14.277.0 → 14.278.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,41 +704,6 @@
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
- },
742
707
  {
743
708
  "kind": "javascript-module",
744
709
  "path": "src/utils/data-model.ts",
@@ -988,6 +953,41 @@
988
953
  }
989
954
  ]
990
955
  },
956
+ {
957
+ "kind": "javascript-module",
958
+ "path": "src/types/index.ts",
959
+ "declarations": [],
960
+ "exports": [
961
+ {
962
+ "kind": "js",
963
+ "name": "*",
964
+ "declaration": {
965
+ "name": "*",
966
+ "package": "./public.types"
967
+ }
968
+ },
969
+ {
970
+ "kind": "js",
971
+ "name": "*",
972
+ "declaration": {
973
+ "name": "*",
974
+ "package": "./private.types"
975
+ }
976
+ }
977
+ ]
978
+ },
979
+ {
980
+ "kind": "javascript-module",
981
+ "path": "src/types/private.types.ts",
982
+ "declarations": [],
983
+ "exports": []
984
+ },
985
+ {
986
+ "kind": "javascript-module",
987
+ "path": "src/types/public.types.ts",
988
+ "declarations": [],
989
+ "exports": []
990
+ },
991
991
  {
992
992
  "kind": "javascript-module",
993
993
  "path": "src/main/expression-group/expression-group.styles.ts",
@@ -1619,6 +1619,120 @@
1619
1619
  }
1620
1620
  ]
1621
1621
  },
1622
+ {
1623
+ "kind": "javascript-module",
1624
+ "path": "src/main/rule-field/rule-field.template.ts",
1625
+ "declarations": [
1626
+ {
1627
+ "kind": "variable",
1628
+ "name": "template",
1629
+ "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`"
1630
+ }
1631
+ ],
1632
+ "exports": [
1633
+ {
1634
+ "kind": "js",
1635
+ "name": "template",
1636
+ "declaration": {
1637
+ "name": "template",
1638
+ "module": "src/main/rule-field/rule-field.template.ts"
1639
+ }
1640
+ }
1641
+ ]
1642
+ },
1643
+ {
1644
+ "kind": "javascript-module",
1645
+ "path": "src/main/rule-field/rule-field.ts",
1646
+ "declarations": [
1647
+ {
1648
+ "kind": "class",
1649
+ "description": "",
1650
+ "name": "RuleField",
1651
+ "members": [
1652
+ {
1653
+ "kind": "field",
1654
+ "name": "fields",
1655
+ "type": {
1656
+ "text": "Field[]"
1657
+ },
1658
+ "default": "[]"
1659
+ },
1660
+ {
1661
+ "kind": "field",
1662
+ "name": "field",
1663
+ "type": {
1664
+ "text": "Field"
1665
+ }
1666
+ },
1667
+ {
1668
+ "kind": "field",
1669
+ "name": "config",
1670
+ "type": {
1671
+ "text": "Config"
1672
+ }
1673
+ },
1674
+ {
1675
+ "kind": "field",
1676
+ "name": "styles",
1677
+ "type": {
1678
+ "text": "Styles | undefined"
1679
+ }
1680
+ },
1681
+ {
1682
+ "kind": "field",
1683
+ "name": "groupedFieldss",
1684
+ "type": {
1685
+ "text": "(Field | { optgroup: string | null; xs: Field[] })[]"
1686
+ },
1687
+ "readonly": true
1688
+ },
1689
+ {
1690
+ "kind": "method",
1691
+ "name": "dispatchFieldsChanged",
1692
+ "parameters": [
1693
+ {
1694
+ "name": "event",
1695
+ "type": {
1696
+ "text": "Event"
1697
+ }
1698
+ }
1699
+ ]
1700
+ }
1701
+ ],
1702
+ "events": [
1703
+ {
1704
+ "type": {
1705
+ "text": "CustomEvent"
1706
+ }
1707
+ }
1708
+ ],
1709
+ "superclass": {
1710
+ "name": "GenesisElement",
1711
+ "package": "@genesislcap/web-core"
1712
+ },
1713
+ "tagName": "expression-rule-field",
1714
+ "customElement": true
1715
+ }
1716
+ ],
1717
+ "exports": [
1718
+ {
1719
+ "kind": "js",
1720
+ "name": "RuleField",
1721
+ "declaration": {
1722
+ "name": "RuleField",
1723
+ "module": "src/main/rule-field/rule-field.ts"
1724
+ }
1725
+ },
1726
+ {
1727
+ "kind": "custom-element-definition",
1728
+ "name": "expression-rule-field",
1729
+ "declaration": {
1730
+ "name": "RuleField",
1731
+ "module": "src/main/rule-field/rule-field.ts"
1732
+ }
1733
+ }
1734
+ ]
1735
+ },
1622
1736
  {
1623
1737
  "kind": "javascript-module",
1624
1738
  "path": "src/main/rule-operator/rule-operator.template.ts",
@@ -2056,120 +2170,6 @@
2056
2170
  }
2057
2171
  }
2058
2172
  ]
2059
- },
2060
- {
2061
- "kind": "javascript-module",
2062
- "path": "src/main/rule-field/rule-field.template.ts",
2063
- "declarations": [
2064
- {
2065
- "kind": "variable",
2066
- "name": "template",
2067
- "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`"
2068
- }
2069
- ],
2070
- "exports": [
2071
- {
2072
- "kind": "js",
2073
- "name": "template",
2074
- "declaration": {
2075
- "name": "template",
2076
- "module": "src/main/rule-field/rule-field.template.ts"
2077
- }
2078
- }
2079
- ]
2080
- },
2081
- {
2082
- "kind": "javascript-module",
2083
- "path": "src/main/rule-field/rule-field.ts",
2084
- "declarations": [
2085
- {
2086
- "kind": "class",
2087
- "description": "",
2088
- "name": "RuleField",
2089
- "members": [
2090
- {
2091
- "kind": "field",
2092
- "name": "fields",
2093
- "type": {
2094
- "text": "Field[]"
2095
- },
2096
- "default": "[]"
2097
- },
2098
- {
2099
- "kind": "field",
2100
- "name": "field",
2101
- "type": {
2102
- "text": "Field"
2103
- }
2104
- },
2105
- {
2106
- "kind": "field",
2107
- "name": "config",
2108
- "type": {
2109
- "text": "Config"
2110
- }
2111
- },
2112
- {
2113
- "kind": "field",
2114
- "name": "styles",
2115
- "type": {
2116
- "text": "Styles | undefined"
2117
- }
2118
- },
2119
- {
2120
- "kind": "field",
2121
- "name": "groupedFieldss",
2122
- "type": {
2123
- "text": "(Field | { optgroup: string | null; xs: Field[] })[]"
2124
- },
2125
- "readonly": true
2126
- },
2127
- {
2128
- "kind": "method",
2129
- "name": "dispatchFieldsChanged",
2130
- "parameters": [
2131
- {
2132
- "name": "event",
2133
- "type": {
2134
- "text": "Event"
2135
- }
2136
- }
2137
- ]
2138
- }
2139
- ],
2140
- "events": [
2141
- {
2142
- "type": {
2143
- "text": "CustomEvent"
2144
- }
2145
- }
2146
- ],
2147
- "superclass": {
2148
- "name": "GenesisElement",
2149
- "package": "@genesislcap/web-core"
2150
- },
2151
- "tagName": "expression-rule-field",
2152
- "customElement": true
2153
- }
2154
- ],
2155
- "exports": [
2156
- {
2157
- "kind": "js",
2158
- "name": "RuleField",
2159
- "declaration": {
2160
- "name": "RuleField",
2161
- "module": "src/main/rule-field/rule-field.ts"
2162
- }
2163
- },
2164
- {
2165
- "kind": "custom-element-definition",
2166
- "name": "expression-rule-field",
2167
- "declaration": {
2168
- "name": "RuleField",
2169
- "module": "src/main/rule-field/rule-field.ts"
2170
- }
2171
- }
2172
- ]
2173
2173
  }
2174
2174
  ]
2175
2175
  }
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.277.0",
4
+ "version": "14.278.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": "7e4a37f213232c64a6925eb4fe513317ff2d76c6"
62
+ "gitHead": "0721370b4e3d178f9619e6c032c0f94af778b09f"
63
63
  }