@genesislcap/expression-builder 14.418.2-alpha-222b313.0 → 14.419.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.
@@ -643,7 +643,32 @@
643
643
  "name": "change",
644
644
  "type": {
645
645
  "text": "CustomEvent"
646
- }
646
+ },
647
+ "description": "Fired when the expression model changes"
648
+ },
649
+ {
650
+ "description": "Bubbled when a nested group add is requested",
651
+ "name": "add-group"
652
+ },
653
+ {
654
+ "description": "Bubbled when a group delete is requested",
655
+ "name": "del-group"
656
+ },
657
+ {
658
+ "description": "Bubbled when a rule add is requested",
659
+ "name": "add-rule"
660
+ },
661
+ {
662
+ "description": "Bubbled when a rule delete is requested",
663
+ "name": "del-rule"
664
+ },
665
+ {
666
+ "description": "Bubbled when group data changes",
667
+ "name": "update-group"
668
+ },
669
+ {
670
+ "description": "Bubbled when rule data changes",
671
+ "name": "update-rule"
647
672
  }
648
673
  ],
649
674
  "superclass": {
@@ -1076,7 +1101,7 @@
1076
1101
  "declarations": [
1077
1102
  {
1078
1103
  "kind": "class",
1079
- "description": "",
1104
+ "description": "Group node used inside expression-builder.",
1080
1105
  "name": "ExpressionGroup",
1081
1106
  "members": [
1082
1107
  {
@@ -1214,6 +1239,22 @@
1214
1239
  "type": {
1215
1240
  "text": "CustomEvent"
1216
1241
  }
1242
+ },
1243
+ {
1244
+ "description": "Bubbled when adding a child rule",
1245
+ "name": "add-rule"
1246
+ },
1247
+ {
1248
+ "description": "Bubbled when adding a child group",
1249
+ "name": "add-group"
1250
+ },
1251
+ {
1252
+ "description": "Bubbled when deleting this group",
1253
+ "name": "del-group"
1254
+ },
1255
+ {
1256
+ "description": "Bubbled when combinator changes",
1257
+ "name": "update-group"
1217
1258
  }
1218
1259
  ],
1219
1260
  "superclass": {
@@ -1493,7 +1534,7 @@
1493
1534
  "declarations": [
1494
1535
  {
1495
1536
  "kind": "class",
1496
- "description": "",
1537
+ "description": "Rule node used inside expression-builder.",
1497
1538
  "name": "ExpressionRule",
1498
1539
  "members": [
1499
1540
  {
@@ -1641,6 +1682,14 @@
1641
1682
  "type": {
1642
1683
  "text": "CustomEvent"
1643
1684
  }
1685
+ },
1686
+ {
1687
+ "description": "Bubbled when deleting this rule",
1688
+ "name": "del-rule"
1689
+ },
1690
+ {
1691
+ "description": "Bubbled when field/operator/value changes",
1692
+ "name": "update-rule"
1644
1693
  }
1645
1694
  ],
1646
1695
  "attributes": [
@@ -1706,7 +1755,7 @@
1706
1755
  "declarations": [
1707
1756
  {
1708
1757
  "kind": "class",
1709
- "description": "",
1758
+ "description": "Field selector for expression rules.",
1710
1759
  "name": "RuleField",
1711
1760
  "members": [
1712
1761
  {
@@ -1764,6 +1813,10 @@
1764
1813
  "type": {
1765
1814
  "text": "CustomEvent"
1766
1815
  }
1816
+ },
1817
+ {
1818
+ "description": "Bubbled when the selected field changes",
1819
+ "name": "field-selected"
1767
1820
  }
1768
1821
  ],
1769
1822
  "superclass": {
@@ -1820,7 +1873,7 @@
1820
1873
  "declarations": [
1821
1874
  {
1822
1875
  "kind": "class",
1823
- "description": "",
1876
+ "description": "Operator selector for expression rules.",
1824
1877
  "name": "RuleOperator",
1825
1878
  "members": [
1826
1879
  {
@@ -1894,6 +1947,10 @@
1894
1947
  "type": {
1895
1948
  "text": "CustomEvent"
1896
1949
  }
1950
+ },
1951
+ {
1952
+ "description": "Bubbled when the selected operator changes",
1953
+ "name": "operator-selected"
1897
1954
  }
1898
1955
  ],
1899
1956
  "superclass": {
@@ -2070,7 +2127,7 @@
2070
2127
  "declarations": [
2071
2128
  {
2072
2129
  "kind": "class",
2073
- "description": "",
2130
+ "description": "Value editor for expression rules.",
2074
2131
  "name": "RuleValue",
2075
2132
  "members": [
2076
2133
  {
@@ -2179,6 +2236,14 @@
2179
2236
  "type": {
2180
2237
  "text": "CustomEvent"
2181
2238
  }
2239
+ },
2240
+ {
2241
+ "description": "Bubbled when operand value changes",
2242
+ "name": "value-updated"
2243
+ },
2244
+ {
2245
+ "description": "Bubbled when a variadic operand is removed",
2246
+ "name": "remove-variadic-operand"
2182
2247
  }
2183
2248
  ],
2184
2249
  "attributes": [
@@ -13,6 +13,14 @@ import { MetadataProvider } from '../utils/data-model';
13
13
  * where you want to use a different (e.g. domain specific) model then it will likely override then emit event and instead emit
14
14
  * it's own model. To check the underlying `Types.Group` model check the {@link ExpressionBuilder.model} property.
15
15
  *
16
+ * @fires change - Fired when the expression model changes
17
+ * @fires add-group - Bubbled when a nested group add is requested
18
+ * @fires del-group - Bubbled when a group delete is requested
19
+ * @fires add-rule - Bubbled when a rule add is requested
20
+ * @fires del-rule - Bubbled when a rule delete is requested
21
+ * @fires update-group - Bubbled when group data changes
22
+ * @fires update-rule - Bubbled when rule data changes
23
+ *
16
24
  * @beta
17
25
  */
18
26
  export declare class ExpressionBuilder extends GenesisElement implements MetadataProvider {
@@ -1 +1 @@
1
- {"version":3,"file":"expression-builder.d.ts","sourceRoot":"","sources":["../../../src/main/expression-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAa,MAAM,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAqB,gBAAgB,EAAqB,MAAM,qBAAqB,CAAC;AAkB7F;;;;;;;;;;;;;GAaG;AACH,qBAKa,iBAAkB,SAAQ,cAAe,YAAW,gBAAgB;IAC/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACS,MAAM,EAAE,MAAM,CAAC;IAE3B;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACS,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACS,KAAK,EAAE,UAAU,GAAG,IAAI,CAAQ;IAE5C,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,UAAU,CAAK;IAEvB;;;;;OAKG;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 /**
4
+ * Group node used inside expression-builder.
5
+ * @beta
6
+ *
7
+ * @fires add-rule - Bubbled when adding a child rule
8
+ * @fires add-group - Bubbled when adding a child group
9
+ * @fires del-group - Bubbled when deleting this group
10
+ * @fires update-group - Bubbled when combinator changes
11
+ */
3
12
  export declare class ExpressionGroup extends GenesisElement {
4
13
  config: Config;
5
14
  styles?: Styles;
@@ -1 +1 @@
1
- {"version":3,"file":"expression-group.d.ts","sourceRoot":"","sources":["../../../../src/main/expression-group/expression-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAMrE,qBAQa,eAAgB,SAAQ,cAAc;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IAE1B,iBAAiB,IAAI,IAAI;IAKzB,IACI,YAAY,IAAI,OAAO,CAI1B;IAED,IACI,aAAa,IAAI,OAAO,CAM3B;IAED,eAAe,CAAC,KAAK,EAAE,KAAK;IAS5B,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAY7B,mBAAmB,CAAC,KAAK,EAAE,KAAK;IAQhC,sBAAsB,CAAC,KAAK,EAAE,KAAK;IAQnC,4BAA4B,CAAC,KAAK,EAAE,KAAK;IAazC,OAAO,CAAC,gBAAgB;IAcxB,wBAAwB,CAAC,UAAU,EAAE,UAAU;CAWhD"}
1
+ {"version":3,"file":"expression-group.d.ts","sourceRoot":"","sources":["../../../../src/main/expression-group/expression-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAMrE;;;;;;;;GAQG;AACH,qBAQa,eAAgB,SAAQ,cAAc;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IAE1B,iBAAiB,IAAI,IAAI;IAKzB,IACI,YAAY,IAAI,OAAO,CAI1B;IAED,IACI,aAAa,IAAI,OAAO,CAM3B;IAED,eAAe,CAAC,KAAK,EAAE,KAAK;IAS5B,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAY7B,mBAAmB,CAAC,KAAK,EAAE,KAAK;IAQhC,sBAAsB,CAAC,KAAK,EAAE,KAAK;IAQnC,4BAA4B,CAAC,KAAK,EAAE,KAAK;IAazC,OAAO,CAAC,gBAAgB;IAcxB,wBAAwB,CAAC,UAAU,EAAE,UAAU;CAWhD"}
@@ -1,6 +1,13 @@
1
1
  import { GenesisElement } from '@genesislcap/web-core';
2
2
  import { Config, ModelRule, Styles, VariadicOperator } from '../../types';
3
3
  import { Events, EventsDetailMap } from '../events';
4
+ /**
5
+ * Rule node used inside expression-builder.
6
+ * @beta
7
+ *
8
+ * @fires del-rule - Bubbled when deleting this rule
9
+ * @fires update-rule - Bubbled when field/operator/value changes
10
+ */
4
11
  export declare class ExpressionRule extends GenesisElement {
5
12
  config: Config;
6
13
  styles?: Styles;
@@ -1 +1 @@
1
- {"version":3,"file":"expression-rule.d.ts","sourceRoot":"","sources":["../../../../src/main/expression-rule/expression-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAClG,OAAO,EAAE,MAAM,EAAE,SAAS,EAAQ,MAAM,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAiBpD,qBAQa,cAAe,SAAQ,cAAc;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EA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,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IAEC,KAAK,UAAS;IAEzC,iBAAiB,IAAI,IAAI;IAQzB,YAAY,CACV,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,SAAS,GAAG;QAAE,QAAQ,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,GAAG,EAAE,CAAA;KAAE;IAIpE;;;OAGG;IACH,IACI,eAAe,IAAI,IAAI,EAAE,CAM5B;IAED,YAAY,CAAC,KAAK,EAAE,MAAM;IAc1B,iBAAiB,IAAI,IAAI;IAgBzB,kBAAkB,CAAC,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,GAAG,IAAI;IAiBlF,kBAAkB,CAAC,KAAK,EAAE,KAAK;IAQ/B,mBAAmB,CAAC,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAkB7E,kBAAkB,CAAC,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAY3E,sBAAsB,CAAC,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;CAsBpF"}
@@ -1,5 +1,11 @@
1
1
  import { GenesisElement } from '@genesislcap/web-core';
2
2
  import { Config, Field, Styles } from '../../types';
3
+ /**
4
+ * Field selector for expression rules.
5
+ * @beta
6
+ *
7
+ * @fires field-selected - Bubbled when the selected field changes
8
+ */
3
9
  export declare class RuleField extends GenesisElement {
4
10
  fields: Field[];
5
11
  field: Field;
@@ -1 +1 @@
1
- {"version":3,"file":"rule-field.d.ts","sourceRoot":"","sources":["../../../../src/main/rule-field/rule-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAKpD,qBAIa,SAAU,SAAQ,cAAc;IAC/B,MAAM,EAAE,KAAK,EAAE,CAAM;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,IAAI,IAAI;IAKzB,IACI,cAAc,IAAI,CAAC,KAAK,GAAG;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,EAAE,EAAE,KAAK,EAAE,CAAA;KAAE,CAAC,EAAE,CAEzE;IAED,qBAAqB,CAAC,KAAK,EAAE,KAAK;CAUnC"}
1
+ {"version":3,"file":"rule-field.d.ts","sourceRoot":"","sources":["../../../../src/main/rule-field/rule-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAKpD;;;;;GAKG;AACH,qBAIa,SAAU,SAAQ,cAAc;IAC/B,MAAM,EAAE,KAAK,EAAE,CAAM;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,IAAI,IAAI;IAKzB,IACI,cAAc,IAAI,CAAC,KAAK,GAAG;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,EAAE,EAAE,KAAK,EAAE,CAAA;KAAE,CAAC,EAAE,CAEzE;IAED,qBAAqB,CAAC,KAAK,EAAE,KAAK;CAUnC"}
@@ -1,5 +1,11 @@
1
1
  import { GenesisElement } from '@genesislcap/web-core';
2
2
  import { Config, Field, Operator, Styles } from '../../types';
3
+ /**
4
+ * Operator selector for expression rules.
5
+ * @beta
6
+ *
7
+ * @fires operator-selected - Bubbled when the selected operator changes
8
+ */
3
9
  export declare class RuleOperator extends GenesisElement {
4
10
  operators: Operator[];
5
11
  operator: Operator;
@@ -1 +1 @@
1
- {"version":3,"file":"rule-operator.d.ts","sourceRoot":"","sources":["../../../../src/main/rule-operator/rule-operator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAK9D,qBAIa,YAAa,SAAQ,cAAc;IAClC,SAAS,EAAE,QAAQ,EAAE,CAAM;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAQ;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,IAAI,IAAI;IAKzB,IACI,gBAAgB,IAAI,QAAQ,EAAE,CAMjC;IAED,IACI,gBAAgB,IAAI,CAAC,QAAQ,GAAG;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,EAAE,EAAE,QAAQ,EAAE,CAAA;KAAE,CAAC,EAAE,CAEjF;IAED,oBAAoB,CAAC,KAAK,EAAE,KAAK;CAUlC"}
1
+ {"version":3,"file":"rule-operator.d.ts","sourceRoot":"","sources":["../../../../src/main/rule-operator/rule-operator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAK9D;;;;;GAKG;AACH,qBAIa,YAAa,SAAQ,cAAc;IAClC,SAAS,EAAE,QAAQ,EAAE,CAAM;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAQ;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,IAAI,IAAI;IAKzB,IACI,gBAAgB,IAAI,QAAQ,EAAE,CAMjC;IAED,IACI,gBAAgB,IAAI,CAAC,QAAQ,GAAG;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,EAAE,EAAE,QAAQ,EAAE,CAAA;KAAE,CAAC,EAAE,CAEjF;IAED,oBAAoB,CAAC,KAAK,EAAE,KAAK;CAUlC"}
@@ -1,5 +1,12 @@
1
1
  import { GenesisElement } from '@genesislcap/web-core';
2
2
  import { Config, Field, Operator, Styles } from '../../types';
3
+ /**
4
+ * Value editor for expression rules.
5
+ * @beta
6
+ *
7
+ * @fires value-updated - Bubbled when operand value changes
8
+ * @fires remove-variadic-operand - Bubbled when a variadic operand is removed
9
+ */
3
10
  export declare class RuleValue extends GenesisElement {
4
11
  valueIndex: string;
5
12
  variadic: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"rule-value.d.ts","sourceRoot":"","sources":["../../../../src/main/rule-value/rule-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAO9D,qBAQa,SAAU,SAAQ,cAAc;IACP,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAS;IACK,eAAe,EAAE,OAAO,CAAS;IACpD,aAAa,EAAE,MAAM,CAAC;IACjD,KAAK,EAAE,KAAK,GAAG,IAAI,CAAQ;IAC3B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAQ;IACjC,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,IAAI,IAAI;IAMzB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAc3C,iBAAiB,CAAC,KAAK,EAAE,KAAK;IA6C9B,2BAA2B;CAS5B"}
1
+ {"version":3,"file":"rule-value.d.ts","sourceRoot":"","sources":["../../../../src/main/rule-value/rule-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAO9D;;;;;;GAMG;AACH,qBAQa,SAAU,SAAQ,cAAc;IACP,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAS;IACK,eAAe,EAAE,OAAO,CAAS;IACpD,aAAa,EAAE,MAAM,CAAC;IACjD,KAAK,EAAE,KAAK,GAAG,IAAI,CAAQ;IAC3B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAQ;IACjC,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAE5B,iBAAiB,IAAI,IAAI;IAMzB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAc3C,iBAAiB,CAAC,KAAK,EAAE,KAAK;IA6C9B,2BAA2B;CAS5B"}
@@ -0,0 +1,107 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import type React from 'react';
7
+ import type { ExpressionBuilder as ExpressionBuilderWC } from './main/expression-builder';
8
+ import type { ExpressionGroup as ExpressionGroupWC } from './main/expression-group/expression-group';
9
+ import type { ExpressionRule as ExpressionRuleWC } from './main/expression-rule/expression-rule';
10
+ import type { RuleField as RuleFieldWC } from './main/rule-field/rule-field';
11
+ import type { RuleOperator as RuleOperatorWC } from './main/rule-operator/rule-operator';
12
+ import type { RuleValue as RuleValueWC } from './main/rule-value/rule-value';
13
+
14
+ /** @internal Maps a web component class to its public props only.
15
+ * keyof T skips private/protected members, so this avoids the TS error
16
+ * "property may not be private or protected" on exported anonymous types. */
17
+ type PublicOf<T> = { [K in keyof T]?: T[K] };
18
+
19
+ /** @internal Safe React HTML attributes for web component wrappers.
20
+ * onChange/onInput use method signatures for bivariant parameter checking so both
21
+ * native Event and CustomEvent callbacks are accepted. */
22
+ interface HTMLWCProps extends React.AriaAttributes {
23
+ className?: string; style?: React.CSSProperties; id?: string; slot?: string;
24
+ tabIndex?: number; dir?: string; lang?: string; title?: string;
25
+ onClick?: React.MouseEventHandler<HTMLElement>;
26
+ onDoubleClick?: React.MouseEventHandler<HTMLElement>;
27
+ onContextMenu?: React.MouseEventHandler<HTMLElement>;
28
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
29
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
30
+ onMouseDown?: React.MouseEventHandler<HTMLElement>;
31
+ onMouseUp?: React.MouseEventHandler<HTMLElement>;
32
+ onMouseMove?: React.MouseEventHandler<HTMLElement>;
33
+ onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
34
+ onKeyUp?: React.KeyboardEventHandler<HTMLElement>;
35
+ onFocus?: React.FocusEventHandler<HTMLElement>;
36
+ onBlur?: React.FocusEventHandler<HTMLElement>;
37
+ onScroll?: React.UIEventHandler<HTMLElement>;
38
+ onWheel?: React.WheelEventHandler<HTMLElement>;
39
+ onChange?(e: Event): void;
40
+ onInput?(e: Event): void;
41
+ }
42
+
43
+ export declare const ExpressionBuilder: React.ForwardRefExoticComponent<
44
+ React.PropsWithChildren<
45
+ Omit<PublicOf<ExpressionBuilderWC>, 'children' | 'style'> &
46
+ HTMLWCProps & {
47
+ onAddGroup?: (event: CustomEvent<unknown>) => void;
48
+ onDelGroup?: (event: CustomEvent<unknown>) => void;
49
+ onAddRule?: (event: CustomEvent<unknown>) => void;
50
+ onDelRule?: (event: CustomEvent<unknown>) => void;
51
+ onUpdateGroup?: (event: CustomEvent<unknown>) => void;
52
+ onUpdateRule?: (event: CustomEvent<unknown>) => void;
53
+ }
54
+ > & React.RefAttributes<ExpressionBuilderWC>
55
+ >;
56
+
57
+ export declare const ExpressionGroup: React.ForwardRefExoticComponent<
58
+ React.PropsWithChildren<
59
+ Omit<PublicOf<ExpressionGroupWC>, 'children' | 'style'> &
60
+ HTMLWCProps & {
61
+ onAddRule?: (event: CustomEvent<unknown>) => void;
62
+ onAddGroup?: (event: CustomEvent<unknown>) => void;
63
+ onDelGroup?: (event: CustomEvent<unknown>) => void;
64
+ onUpdateGroup?: (event: CustomEvent<unknown>) => void;
65
+ }
66
+ > & React.RefAttributes<ExpressionGroupWC>
67
+ >;
68
+
69
+ export declare const ExpressionRule: React.ForwardRefExoticComponent<
70
+ React.PropsWithChildren<
71
+ Omit<PublicOf<ExpressionRuleWC>, 'children' | 'style'> &
72
+ HTMLWCProps & {
73
+ onDelRule?: (event: CustomEvent<unknown>) => void;
74
+ onUpdateRule?: (event: CustomEvent<unknown>) => void;
75
+ }
76
+ > & React.RefAttributes<ExpressionRuleWC>
77
+ >;
78
+
79
+ export declare const RuleField: React.ForwardRefExoticComponent<
80
+ React.PropsWithChildren<
81
+ Omit<PublicOf<RuleFieldWC>, 'children' | 'style'> &
82
+ HTMLWCProps & {
83
+ onFieldSelected?: (event: CustomEvent<unknown>) => void;
84
+ }
85
+ > & React.RefAttributes<RuleFieldWC>
86
+ >;
87
+
88
+ export declare const RuleOperator: React.ForwardRefExoticComponent<
89
+ React.PropsWithChildren<
90
+ Omit<PublicOf<RuleOperatorWC>, 'children' | 'style'> &
91
+ HTMLWCProps & {
92
+ onOperatorSelected?: (event: CustomEvent<unknown>) => void;
93
+ }
94
+ > & React.RefAttributes<RuleOperatorWC>
95
+ >;
96
+
97
+ export declare const RuleValue: React.ForwardRefExoticComponent<
98
+ React.PropsWithChildren<
99
+ Omit<PublicOf<RuleValueWC>, 'children' | 'style'> &
100
+ HTMLWCProps & {
101
+ onValueUpdated?: (event: CustomEvent<unknown>) => void;
102
+ onRemoveVariadicOperand?: (event: CustomEvent<unknown>) => void;
103
+ }
104
+ > & React.RefAttributes<RuleValueWC>
105
+ >;
106
+
107
+ export {};
@@ -21,6 +21,14 @@ ExpressionRule;
21
21
  * where you want to use a different (e.g. domain specific) model then it will likely override then emit event and instead emit
22
22
  * it's own model. To check the underlying `Types.Group` model check the {@link ExpressionBuilder.model} property.
23
23
  *
24
+ * @fires change - Fired when the expression model changes
25
+ * @fires add-group - Bubbled when a nested group add is requested
26
+ * @fires del-group - Bubbled when a group delete is requested
27
+ * @fires add-rule - Bubbled when a rule add is requested
28
+ * @fires del-rule - Bubbled when a rule delete is requested
29
+ * @fires update-group - Bubbled when group data changes
30
+ * @fires update-rule - Bubbled when rule data changes
31
+ *
24
32
  * @beta
25
33
  */
26
34
  let ExpressionBuilder = class ExpressionBuilder extends GenesisElement {
@@ -4,6 +4,15 @@ import { applyCustomStyles } from '../../utils/misc';
4
4
  import { Events } from '../events';
5
5
  import { styles } from './expression-group.styles';
6
6
  import { template } from './expression-group.template';
7
+ /**
8
+ * Group node used inside expression-builder.
9
+ * @beta
10
+ *
11
+ * @fires add-rule - Bubbled when adding a child rule
12
+ * @fires add-group - Bubbled when adding a child group
13
+ * @fires del-group - Bubbled when deleting this group
14
+ * @fires update-group - Bubbled when combinator changes
15
+ */
7
16
  let ExpressionGroup = class ExpressionGroup extends GenesisElement {
8
17
  connectedCallback() {
9
18
  super.connectedCallback();
@@ -11,6 +11,13 @@ import { template } from './expression-rule.template';
11
11
  RuleOperator;
12
12
  RuleField;
13
13
  RuleValue;
14
+ /**
15
+ * Rule node used inside expression-builder.
16
+ * @beta
17
+ *
18
+ * @fires del-rule - Bubbled when deleting this rule
19
+ * @fires update-rule - Bubbled when field/operator/value changes
20
+ */
14
21
  let ExpressionRule = class ExpressionRule extends GenesisElement {
15
22
  constructor() {
16
23
  super(...arguments);
@@ -3,6 +3,12 @@ import { customElement, GenesisElement, observable, volatile } from '@genesislca
3
3
  import { applyCustomStyles, processOptGroups } from '../../utils';
4
4
  import { Events } from '../events';
5
5
  import { template } from './rule-field.template';
6
+ /**
7
+ * Field selector for expression rules.
8
+ * @beta
9
+ *
10
+ * @fires field-selected - Bubbled when the selected field changes
11
+ */
6
12
  let RuleField = class RuleField extends GenesisElement {
7
13
  constructor() {
8
14
  super(...arguments);
@@ -3,6 +3,12 @@ import { customElement, GenesisElement, observable, volatile } from '@genesislca
3
3
  import { applyCustomStyles, processOptGroups } from '../../utils';
4
4
  import { Events } from '../events';
5
5
  import { template } from './rule-operator.template';
6
+ /**
7
+ * Operator selector for expression rules.
8
+ * @beta
9
+ *
10
+ * @fires operator-selected - Bubbled when the selected operator changes
11
+ */
6
12
  let RuleOperator = class RuleOperator extends GenesisElement {
7
13
  constructor() {
8
14
  super(...arguments);
@@ -5,6 +5,13 @@ import { Events } from '../events';
5
5
  import { isFloatType, isIntType, numberPatternValidator } from './rule-value.helpers';
6
6
  import { styles } from './rule-value.styles';
7
7
  import { ruleValueTemplate } from './rule-value.template';
8
+ /**
9
+ * Value editor for expression rules.
10
+ * @beta
11
+ *
12
+ * @fires value-updated - Bubbled when operand value changes
13
+ * @fires remove-variadic-operand - Bubbled when a variadic operand is removed
14
+ */
8
15
  let RuleValue = class RuleValue extends GenesisElement {
9
16
  constructor() {
10
17
  super(...arguments);
@@ -307,7 +307,7 @@
307
307
  {
308
308
  "kind": "Class",
309
309
  "canonicalReference": "@genesislcap/expression-builder!ExpressionBuilder:class",
310
- "docComment": "/**\n * Top level component to allow the user to build expressions. It produces a generic payload which doesn't have any system by itself to evaluate or execute the built expression.\n *\n * The basics required to work with this component:\n *\n * {@link ExpressionBuilder.config} property to configure and input data and models into the component.\n *\n * _Event_ change - `Types.Group` emits the model configuration on change. If you create a child component of the expression builder where you want to use a different (e.g. domain specific) model then it will likely override then emit event and instead emit it's own model. To check the underlying `Types.Group` model check the {@link ExpressionBuilder.model} property.\n *\n * @beta\n */\n",
310
+ "docComment": "/**\n * Top level component to allow the user to build expressions. It produces a generic payload which doesn't have any system by itself to evaluate or execute the built expression.\n *\n * The basics required to work with this component:\n *\n * {@link ExpressionBuilder.config} property to configure and input data and models into the component.\n *\n * _Event_ change - `Types.Group` emits the model configuration on change. If you create a child component of the expression builder where you want to use a different (e.g. domain specific) model then it will likely override then emit event and instead emit it's own model. To check the underlying `Types.Group` model check the {@link ExpressionBuilder.model} property.\n *\n * @fires\n *\n * change - Fired when the expression model changes\n *\n * @fires\n *\n * add-group - Bubbled when a nested group add is requested\n *\n * @fires\n *\n * del-group - Bubbled when a group delete is requested\n *\n * @fires\n *\n * add-rule - Bubbled when a rule add is requested\n *\n * @fires\n *\n * del-rule - Bubbled when a rule delete is requested\n *\n * @fires\n *\n * update-group - Bubbled when group data changes\n *\n * @fires\n *\n * update-rule - Bubbled when rule data changes\n *\n * @beta\n */\n",
311
311
  "excerptTokens": [
312
312
  {
313
313
  "kind": "Content",
@@ -203,6 +203,14 @@ declare type DateTimeInput = {
203
203
  * where you want to use a different (e.g. domain specific) model then it will likely override then emit event and instead emit
204
204
  * it's own model. To check the underlying `Types.Group` model check the {@link ExpressionBuilder.model} property.
205
205
  *
206
+ * @fires change - Fired when the expression model changes
207
+ * @fires add-group - Bubbled when a nested group add is requested
208
+ * @fires del-group - Bubbled when a group delete is requested
209
+ * @fires add-rule - Bubbled when a rule add is requested
210
+ * @fires del-rule - Bubbled when a rule delete is requested
211
+ * @fires update-group - Bubbled when group data changes
212
+ * @fires update-rule - Bubbled when rule data changes
213
+ *
206
214
  * @beta
207
215
  */
208
216
  export declare class ExpressionBuilder extends GenesisElement implements MetadataProvider {
package/dist/react.cjs ADDED
@@ -0,0 +1,72 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ 'use strict';
7
+
8
+ const { provideReactWrapper } = require('@microsoft/fast-react-wrapper');
9
+ const React = require('react');
10
+ const { ExpressionBuilder: ExpressionBuilderWC } = require('./esm/main/expression-builder.js');
11
+ const { ExpressionGroup: ExpressionGroupWC } = require('./esm/main/expression-group/expression-group.js');
12
+ const { ExpressionRule: ExpressionRuleWC } = require('./esm/main/expression-rule/expression-rule.js');
13
+ const { RuleField: RuleFieldWC } = require('./esm/main/rule-field/rule-field.js');
14
+ const { RuleOperator: RuleOperatorWC } = require('./esm/main/rule-operator/rule-operator.js');
15
+ const { RuleValue: RuleValueWC } = require('./esm/main/rule-value/rule-value.js');
16
+
17
+ const { wrap } = provideReactWrapper(React);
18
+
19
+ const ExpressionBuilder = wrap(ExpressionBuilderWC, {
20
+ events: {
21
+ onAddGroup: 'add-group',
22
+ onDelGroup: 'del-group',
23
+ onAddRule: 'add-rule',
24
+ onDelRule: 'del-rule',
25
+ onUpdateGroup: 'update-group',
26
+ onUpdateRule: 'update-rule',
27
+ },
28
+ });
29
+
30
+ const ExpressionGroup = wrap(ExpressionGroupWC, {
31
+ events: {
32
+ onAddRule: 'add-rule',
33
+ onAddGroup: 'add-group',
34
+ onDelGroup: 'del-group',
35
+ onUpdateGroup: 'update-group',
36
+ },
37
+ });
38
+
39
+ const ExpressionRule = wrap(ExpressionRuleWC, {
40
+ events: {
41
+ onDelRule: 'del-rule',
42
+ onUpdateRule: 'update-rule',
43
+ },
44
+ });
45
+
46
+ const RuleField = wrap(RuleFieldWC, {
47
+ events: {
48
+ onFieldSelected: 'field-selected',
49
+ },
50
+ });
51
+
52
+ const RuleOperator = wrap(RuleOperatorWC, {
53
+ events: {
54
+ onOperatorSelected: 'operator-selected',
55
+ },
56
+ });
57
+
58
+ const RuleValue = wrap(RuleValueWC, {
59
+ events: {
60
+ onValueUpdated: 'value-updated',
61
+ onRemoveVariadicOperand: 'remove-variadic-operand',
62
+ },
63
+ });
64
+
65
+ module.exports = {
66
+ ExpressionBuilder,
67
+ ExpressionGroup,
68
+ ExpressionRule,
69
+ RuleField,
70
+ RuleOperator,
71
+ RuleValue,
72
+ };
package/dist/react.mjs ADDED
@@ -0,0 +1,61 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import { provideReactWrapper } from '@microsoft/fast-react-wrapper';
7
+ import React from 'react';
8
+ import { ExpressionBuilder as ExpressionBuilderWC } from './esm/main/expression-builder.js';
9
+ import { ExpressionGroup as ExpressionGroupWC } from './esm/main/expression-group/expression-group.js';
10
+ import { ExpressionRule as ExpressionRuleWC } from './esm/main/expression-rule/expression-rule.js';
11
+ import { RuleField as RuleFieldWC } from './esm/main/rule-field/rule-field.js';
12
+ import { RuleOperator as RuleOperatorWC } from './esm/main/rule-operator/rule-operator.js';
13
+ import { RuleValue as RuleValueWC } from './esm/main/rule-value/rule-value.js';
14
+
15
+ const { wrap } = provideReactWrapper(React);
16
+
17
+ export const ExpressionBuilder = wrap(ExpressionBuilderWC, {
18
+ events: {
19
+ onAddGroup: 'add-group',
20
+ onDelGroup: 'del-group',
21
+ onAddRule: 'add-rule',
22
+ onDelRule: 'del-rule',
23
+ onUpdateGroup: 'update-group',
24
+ onUpdateRule: 'update-rule',
25
+ },
26
+ });
27
+
28
+ export const ExpressionGroup = wrap(ExpressionGroupWC, {
29
+ events: {
30
+ onAddRule: 'add-rule',
31
+ onAddGroup: 'add-group',
32
+ onDelGroup: 'del-group',
33
+ onUpdateGroup: 'update-group',
34
+ },
35
+ });
36
+
37
+ export const ExpressionRule = wrap(ExpressionRuleWC, {
38
+ events: {
39
+ onDelRule: 'del-rule',
40
+ onUpdateRule: 'update-rule',
41
+ },
42
+ });
43
+
44
+ export const RuleField = wrap(RuleFieldWC, {
45
+ events: {
46
+ onFieldSelected: 'field-selected',
47
+ },
48
+ });
49
+
50
+ export const RuleOperator = wrap(RuleOperatorWC, {
51
+ events: {
52
+ onOperatorSelected: 'operator-selected',
53
+ },
54
+ });
55
+
56
+ export const RuleValue = wrap(RuleValueWC, {
57
+ events: {
58
+ onValueUpdated: 'value-updated',
59
+ onRemoveVariadicOperand: 'remove-variadic-operand',
60
+ },
61
+ });
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.418.2-alpha-222b313.0",
4
+ "version": "14.419.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -38,16 +38,16 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@genesislcap/foundation-testing": "14.418.2-alpha-222b313.0",
42
- "@genesislcap/genx": "14.418.2-alpha-222b313.0",
43
- "@genesislcap/rollup-builder": "14.418.2-alpha-222b313.0",
44
- "@genesislcap/ts-builder": "14.418.2-alpha-222b313.0",
45
- "@genesislcap/uvu-playwright-builder": "14.418.2-alpha-222b313.0",
46
- "@genesislcap/vite-builder": "14.418.2-alpha-222b313.0",
47
- "@genesislcap/webpack-builder": "14.418.2-alpha-222b313.0"
41
+ "@genesislcap/foundation-testing": "14.419.0",
42
+ "@genesislcap/genx": "14.419.0",
43
+ "@genesislcap/rollup-builder": "14.419.0",
44
+ "@genesislcap/ts-builder": "14.419.0",
45
+ "@genesislcap/uvu-playwright-builder": "14.419.0",
46
+ "@genesislcap/vite-builder": "14.419.0",
47
+ "@genesislcap/webpack-builder": "14.419.0"
48
48
  },
49
49
  "dependencies": {
50
- "@genesislcap/web-core": "14.418.2-alpha-222b313.0",
50
+ "@genesislcap/web-core": "14.419.0",
51
51
  "rfdc": "1.4.1"
52
52
  },
53
53
  "repository": {
@@ -59,5 +59,19 @@
59
59
  "access": "public"
60
60
  },
61
61
  "customElements": "dist/custom-elements.json",
62
- "gitHead": "0d2672c05ec4efeab709698bde5a604c0866bda6"
62
+ "exports": {
63
+ ".": {
64
+ "types": "./dist/expression-builder.d.ts",
65
+ "default": "./dist/esm/index.js"
66
+ },
67
+ "./react": {
68
+ "types": "./dist/dts/react.d.ts",
69
+ "import": "./dist/react.mjs",
70
+ "require": "./dist/react.cjs"
71
+ }
72
+ },
73
+ "peerDependencies": {
74
+ "@microsoft/fast-react-wrapper": ">=0.3.0"
75
+ },
76
+ "gitHead": "e7590ac8bedb4e7d8cbbcee4100d1b0476591870"
63
77
  }