@genesislcap/expression-builder 14.367.1 → 14.367.2-alpha-7b42367.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +215 -215
  2. package/package.json +10 -10
@@ -1028,6 +1028,221 @@
1028
1028
  "declarations": [],
1029
1029
  "exports": []
1030
1030
  },
1031
+ {
1032
+ "kind": "javascript-module",
1033
+ "path": "src/main/expression-group/expression-group.styles.ts",
1034
+ "declarations": [
1035
+ {
1036
+ "kind": "variable",
1037
+ "name": "styles",
1038
+ "default": "css`\n .rules-group-container {\n border: 1px solid #ccc;\n margin-bottom: 10px;\n padding: 10px;\n }\n\n .rules-group-header {\n margin-bottom: 5px;\n }\n\n .btn-group {\n margin-right: 5px;\n }\n\n .btn {\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n cursor: pointer;\n }\n\n .btn-success {\n color: #fff;\n background-color: #28a745;\n border-color: #28a745;\n }\n\n .btn-danger {\n color: #fff;\n background-color: #dc3545;\n border-color: #dc3545;\n }\n\n .radio-group-container {\n display: flex;\n }\n\n .rules-list {\n list-style: none;\n padding-left: 0;\n }\n`"
1039
+ }
1040
+ ],
1041
+ "exports": [
1042
+ {
1043
+ "kind": "js",
1044
+ "name": "styles",
1045
+ "declaration": {
1046
+ "name": "styles",
1047
+ "module": "src/main/expression-group/expression-group.styles.ts"
1048
+ }
1049
+ }
1050
+ ]
1051
+ },
1052
+ {
1053
+ "kind": "javascript-module",
1054
+ "path": "src/main/expression-group/expression-group.template.ts",
1055
+ "declarations": [
1056
+ {
1057
+ "kind": "variable",
1058
+ "name": "template",
1059
+ "default": "html<ExpressionGroup>`\n <div class=\"rules-group-container\">\n <div class=\"rules-group-header\">${controlButtonsTemplate} ${combinatorsTemplate}</div>\n <div class=\"rules-group-body\">\n <div class=\"rules-list\">\n ${repeat(\n (x) => x.model?.children ?? [],\n html<ModelRule | ModelGroup, ExpressionBuilder>`\n ${whenElse(\n (x) => 'children' in x,\n html<ModelGroup>`\n <expression-group\n :config=${(_, c) => c.parent.config}\n :styles=${(_, c) => c.parent.styles}\n :model=${(x) => x}\n :index=${(_, c) => c.index}\n ></expression-group>\n `,\n html<ModelRule>`\n <expression-rule\n :config=${(_, c) => c.parent.config}\n :styles=${(_, c) => c.parent.styles}\n :model=${(x) => x}\n :index=${(_, c) => c.index}\n ></expression-rule>\n `,\n )}\n ${when(\n (_, loopCtx) => !loopCtx.isLast,\n html<ModelRule | ModelGroup, ExpressionBuilder>`\n <p class=\"group-combinator-link\">\n ${(_, innerCtx) => innerCtx.parent.model.combinator.type}\n </p>\n `,\n )}\n `,\n { recycle: false, positioning: true },\n )}\n </div>\n </div>\n </div>\n`"
1060
+ }
1061
+ ],
1062
+ "exports": [
1063
+ {
1064
+ "kind": "js",
1065
+ "name": "template",
1066
+ "declaration": {
1067
+ "name": "template",
1068
+ "module": "src/main/expression-group/expression-group.template.ts"
1069
+ }
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "kind": "javascript-module",
1075
+ "path": "src/main/expression-group/expression-group.ts",
1076
+ "declarations": [
1077
+ {
1078
+ "kind": "class",
1079
+ "description": "",
1080
+ "name": "ExpressionGroup",
1081
+ "members": [
1082
+ {
1083
+ "kind": "field",
1084
+ "name": "config",
1085
+ "type": {
1086
+ "text": "Config"
1087
+ }
1088
+ },
1089
+ {
1090
+ "kind": "field",
1091
+ "name": "styles",
1092
+ "type": {
1093
+ "text": "Styles | undefined"
1094
+ }
1095
+ },
1096
+ {
1097
+ "kind": "field",
1098
+ "name": "model",
1099
+ "type": {
1100
+ "text": "ModelGroup"
1101
+ }
1102
+ },
1103
+ {
1104
+ "kind": "field",
1105
+ "name": "index",
1106
+ "type": {
1107
+ "text": "number"
1108
+ }
1109
+ },
1110
+ {
1111
+ "kind": "field",
1112
+ "name": "allowAddRule",
1113
+ "type": {
1114
+ "text": "boolean"
1115
+ },
1116
+ "readonly": true
1117
+ },
1118
+ {
1119
+ "kind": "field",
1120
+ "name": "allowAddGroup",
1121
+ "type": {
1122
+ "text": "boolean"
1123
+ },
1124
+ "readonly": true
1125
+ },
1126
+ {
1127
+ "kind": "method",
1128
+ "name": "dispatchAddRule",
1129
+ "parameters": [
1130
+ {
1131
+ "name": "event",
1132
+ "type": {
1133
+ "text": "Event"
1134
+ }
1135
+ }
1136
+ ]
1137
+ },
1138
+ {
1139
+ "kind": "method",
1140
+ "name": "dispatchAddGroup",
1141
+ "parameters": [
1142
+ {
1143
+ "name": "event",
1144
+ "type": {
1145
+ "text": "Event"
1146
+ }
1147
+ }
1148
+ ]
1149
+ },
1150
+ {
1151
+ "kind": "method",
1152
+ "name": "dispatchDeleteGroup",
1153
+ "parameters": [
1154
+ {
1155
+ "name": "event",
1156
+ "type": {
1157
+ "text": "Event"
1158
+ }
1159
+ }
1160
+ ]
1161
+ },
1162
+ {
1163
+ "kind": "method",
1164
+ "name": "handleCombinatorChange",
1165
+ "parameters": [
1166
+ {
1167
+ "name": "event",
1168
+ "type": {
1169
+ "text": "Event"
1170
+ }
1171
+ }
1172
+ ]
1173
+ },
1174
+ {
1175
+ "kind": "method",
1176
+ "name": "handleCustomCombinatorChange",
1177
+ "parameters": [
1178
+ {
1179
+ "name": "event",
1180
+ "type": {
1181
+ "text": "Event"
1182
+ }
1183
+ }
1184
+ ]
1185
+ },
1186
+ {
1187
+ "kind": "method",
1188
+ "name": "updateCombinator",
1189
+ "privacy": "private",
1190
+ "parameters": [
1191
+ {
1192
+ "name": "value",
1193
+ "type": {
1194
+ "text": "string"
1195
+ }
1196
+ }
1197
+ ]
1198
+ },
1199
+ {
1200
+ "kind": "method",
1201
+ "name": "dispatchGroupDataUpdated",
1202
+ "parameters": [
1203
+ {
1204
+ "name": "combinator",
1205
+ "type": {
1206
+ "text": "Combinator"
1207
+ }
1208
+ }
1209
+ ]
1210
+ }
1211
+ ],
1212
+ "events": [
1213
+ {
1214
+ "type": {
1215
+ "text": "CustomEvent"
1216
+ }
1217
+ }
1218
+ ],
1219
+ "superclass": {
1220
+ "name": "GenesisElement",
1221
+ "package": "@genesislcap/web-core"
1222
+ },
1223
+ "tagName": "expression-group",
1224
+ "customElement": true
1225
+ }
1226
+ ],
1227
+ "exports": [
1228
+ {
1229
+ "kind": "js",
1230
+ "name": "ExpressionGroup",
1231
+ "declaration": {
1232
+ "name": "ExpressionGroup",
1233
+ "module": "src/main/expression-group/expression-group.ts"
1234
+ }
1235
+ },
1236
+ {
1237
+ "kind": "custom-element-definition",
1238
+ "name": "expression-group",
1239
+ "declaration": {
1240
+ "name": "ExpressionGroup",
1241
+ "module": "src/main/expression-group/expression-group.ts"
1242
+ }
1243
+ }
1244
+ ]
1245
+ },
1031
1246
  {
1032
1247
  "kind": "javascript-module",
1033
1248
  "path": "src/main/expression-rule/expression-rule.helpers.ts",
@@ -1464,221 +1679,6 @@
1464
1679
  }
1465
1680
  ]
1466
1681
  },
1467
- {
1468
- "kind": "javascript-module",
1469
- "path": "src/main/expression-group/expression-group.styles.ts",
1470
- "declarations": [
1471
- {
1472
- "kind": "variable",
1473
- "name": "styles",
1474
- "default": "css`\n .rules-group-container {\n border: 1px solid #ccc;\n margin-bottom: 10px;\n padding: 10px;\n }\n\n .rules-group-header {\n margin-bottom: 5px;\n }\n\n .btn-group {\n margin-right: 5px;\n }\n\n .btn {\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n cursor: pointer;\n }\n\n .btn-success {\n color: #fff;\n background-color: #28a745;\n border-color: #28a745;\n }\n\n .btn-danger {\n color: #fff;\n background-color: #dc3545;\n border-color: #dc3545;\n }\n\n .radio-group-container {\n display: flex;\n }\n\n .rules-list {\n list-style: none;\n padding-left: 0;\n }\n`"
1475
- }
1476
- ],
1477
- "exports": [
1478
- {
1479
- "kind": "js",
1480
- "name": "styles",
1481
- "declaration": {
1482
- "name": "styles",
1483
- "module": "src/main/expression-group/expression-group.styles.ts"
1484
- }
1485
- }
1486
- ]
1487
- },
1488
- {
1489
- "kind": "javascript-module",
1490
- "path": "src/main/expression-group/expression-group.template.ts",
1491
- "declarations": [
1492
- {
1493
- "kind": "variable",
1494
- "name": "template",
1495
- "default": "html<ExpressionGroup>`\n <div class=\"rules-group-container\">\n <div class=\"rules-group-header\">${controlButtonsTemplate} ${combinatorsTemplate}</div>\n <div class=\"rules-group-body\">\n <div class=\"rules-list\">\n ${repeat(\n (x) => x.model?.children ?? [],\n html<ModelRule | ModelGroup, ExpressionBuilder>`\n ${whenElse(\n (x) => 'children' in x,\n html<ModelGroup>`\n <expression-group\n :config=${(_, c) => c.parent.config}\n :styles=${(_, c) => c.parent.styles}\n :model=${(x) => x}\n :index=${(_, c) => c.index}\n ></expression-group>\n `,\n html<ModelRule>`\n <expression-rule\n :config=${(_, c) => c.parent.config}\n :styles=${(_, c) => c.parent.styles}\n :model=${(x) => x}\n :index=${(_, c) => c.index}\n ></expression-rule>\n `,\n )}\n ${when(\n (_, loopCtx) => !loopCtx.isLast,\n html<ModelRule | ModelGroup, ExpressionBuilder>`\n <p class=\"group-combinator-link\">\n ${(_, innerCtx) => innerCtx.parent.model.combinator.type}\n </p>\n `,\n )}\n `,\n { recycle: false, positioning: true },\n )}\n </div>\n </div>\n </div>\n`"
1496
- }
1497
- ],
1498
- "exports": [
1499
- {
1500
- "kind": "js",
1501
- "name": "template",
1502
- "declaration": {
1503
- "name": "template",
1504
- "module": "src/main/expression-group/expression-group.template.ts"
1505
- }
1506
- }
1507
- ]
1508
- },
1509
- {
1510
- "kind": "javascript-module",
1511
- "path": "src/main/expression-group/expression-group.ts",
1512
- "declarations": [
1513
- {
1514
- "kind": "class",
1515
- "description": "",
1516
- "name": "ExpressionGroup",
1517
- "members": [
1518
- {
1519
- "kind": "field",
1520
- "name": "config",
1521
- "type": {
1522
- "text": "Config"
1523
- }
1524
- },
1525
- {
1526
- "kind": "field",
1527
- "name": "styles",
1528
- "type": {
1529
- "text": "Styles | undefined"
1530
- }
1531
- },
1532
- {
1533
- "kind": "field",
1534
- "name": "model",
1535
- "type": {
1536
- "text": "ModelGroup"
1537
- }
1538
- },
1539
- {
1540
- "kind": "field",
1541
- "name": "index",
1542
- "type": {
1543
- "text": "number"
1544
- }
1545
- },
1546
- {
1547
- "kind": "field",
1548
- "name": "allowAddRule",
1549
- "type": {
1550
- "text": "boolean"
1551
- },
1552
- "readonly": true
1553
- },
1554
- {
1555
- "kind": "field",
1556
- "name": "allowAddGroup",
1557
- "type": {
1558
- "text": "boolean"
1559
- },
1560
- "readonly": true
1561
- },
1562
- {
1563
- "kind": "method",
1564
- "name": "dispatchAddRule",
1565
- "parameters": [
1566
- {
1567
- "name": "event",
1568
- "type": {
1569
- "text": "Event"
1570
- }
1571
- }
1572
- ]
1573
- },
1574
- {
1575
- "kind": "method",
1576
- "name": "dispatchAddGroup",
1577
- "parameters": [
1578
- {
1579
- "name": "event",
1580
- "type": {
1581
- "text": "Event"
1582
- }
1583
- }
1584
- ]
1585
- },
1586
- {
1587
- "kind": "method",
1588
- "name": "dispatchDeleteGroup",
1589
- "parameters": [
1590
- {
1591
- "name": "event",
1592
- "type": {
1593
- "text": "Event"
1594
- }
1595
- }
1596
- ]
1597
- },
1598
- {
1599
- "kind": "method",
1600
- "name": "handleCombinatorChange",
1601
- "parameters": [
1602
- {
1603
- "name": "event",
1604
- "type": {
1605
- "text": "Event"
1606
- }
1607
- }
1608
- ]
1609
- },
1610
- {
1611
- "kind": "method",
1612
- "name": "handleCustomCombinatorChange",
1613
- "parameters": [
1614
- {
1615
- "name": "event",
1616
- "type": {
1617
- "text": "Event"
1618
- }
1619
- }
1620
- ]
1621
- },
1622
- {
1623
- "kind": "method",
1624
- "name": "updateCombinator",
1625
- "privacy": "private",
1626
- "parameters": [
1627
- {
1628
- "name": "value",
1629
- "type": {
1630
- "text": "string"
1631
- }
1632
- }
1633
- ]
1634
- },
1635
- {
1636
- "kind": "method",
1637
- "name": "dispatchGroupDataUpdated",
1638
- "parameters": [
1639
- {
1640
- "name": "combinator",
1641
- "type": {
1642
- "text": "Combinator"
1643
- }
1644
- }
1645
- ]
1646
- }
1647
- ],
1648
- "events": [
1649
- {
1650
- "type": {
1651
- "text": "CustomEvent"
1652
- }
1653
- }
1654
- ],
1655
- "superclass": {
1656
- "name": "GenesisElement",
1657
- "package": "@genesislcap/web-core"
1658
- },
1659
- "tagName": "expression-group",
1660
- "customElement": true
1661
- }
1662
- ],
1663
- "exports": [
1664
- {
1665
- "kind": "js",
1666
- "name": "ExpressionGroup",
1667
- "declaration": {
1668
- "name": "ExpressionGroup",
1669
- "module": "src/main/expression-group/expression-group.ts"
1670
- }
1671
- },
1672
- {
1673
- "kind": "custom-element-definition",
1674
- "name": "expression-group",
1675
- "declaration": {
1676
- "name": "ExpressionGroup",
1677
- "module": "src/main/expression-group/expression-group.ts"
1678
- }
1679
- }
1680
- ]
1681
- },
1682
1682
  {
1683
1683
  "kind": "javascript-module",
1684
1684
  "path": "src/main/rule-field/rule-field.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.367.1",
4
+ "version": "14.367.2-alpha-7b42367.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -36,16 +36,16 @@
36
36
  }
37
37
  },
38
38
  "devDependencies": {
39
- "@genesislcap/foundation-testing": "14.367.1",
40
- "@genesislcap/genx": "14.367.1",
41
- "@genesislcap/rollup-builder": "14.367.1",
42
- "@genesislcap/ts-builder": "14.367.1",
43
- "@genesislcap/uvu-playwright-builder": "14.367.1",
44
- "@genesislcap/vite-builder": "14.367.1",
45
- "@genesislcap/webpack-builder": "14.367.1"
39
+ "@genesislcap/foundation-testing": "14.367.2-alpha-7b42367.0",
40
+ "@genesislcap/genx": "14.367.2-alpha-7b42367.0",
41
+ "@genesislcap/rollup-builder": "14.367.2-alpha-7b42367.0",
42
+ "@genesislcap/ts-builder": "14.367.2-alpha-7b42367.0",
43
+ "@genesislcap/uvu-playwright-builder": "14.367.2-alpha-7b42367.0",
44
+ "@genesislcap/vite-builder": "14.367.2-alpha-7b42367.0",
45
+ "@genesislcap/webpack-builder": "14.367.2-alpha-7b42367.0"
46
46
  },
47
47
  "dependencies": {
48
- "@genesislcap/web-core": "14.367.1",
48
+ "@genesislcap/web-core": "14.367.2-alpha-7b42367.0",
49
49
  "rfdc": "1.4.1"
50
50
  },
51
51
  "repository": {
@@ -57,5 +57,5 @@
57
57
  "access": "public"
58
58
  },
59
59
  "customElements": "dist/custom-elements.json",
60
- "gitHead": "82a153c4dee2b19c35c6979efb887b44a78a2ea6"
60
+ "gitHead": "3806fa110744e7673917b395491c1dda07422223"
61
61
  }