@forge/manifest 3.1.0-next.2 → 3.1.0-next.6

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.
@@ -799,6 +799,9 @@ export interface Modules {
799
799
  function: string;
800
800
  [k: string]: unknown;
801
801
  };
802
+ displayConditions?: {
803
+ [k: string]: unknown;
804
+ };
802
805
  key: ModuleKeySchema;
803
806
  [k: string]: unknown;
804
807
  }
@@ -836,6 +839,9 @@ export interface Modules {
836
839
  function: string;
837
840
  [k: string]: unknown;
838
841
  };
842
+ displayConditions?: {
843
+ [k: string]: unknown;
844
+ };
839
845
  key: ModuleKeySchema;
840
846
  [k: string]: unknown;
841
847
  }
@@ -872,6 +878,9 @@ export interface Modules {
872
878
  function: string;
873
879
  [k: string]: unknown;
874
880
  };
881
+ displayConditions?: {
882
+ [k: string]: unknown;
883
+ };
875
884
  key: ModuleKeySchema;
876
885
  [k: string]: unknown;
877
886
  }
@@ -909,6 +918,9 @@ export interface Modules {
909
918
  function: string;
910
919
  [k: string]: unknown;
911
920
  };
921
+ displayConditions?: {
922
+ [k: string]: unknown;
923
+ };
912
924
  key: ModuleKeySchema;
913
925
  [k: string]: unknown;
914
926
  }
@@ -959,6 +971,9 @@ export interface Modules {
959
971
  layout?: 'basic' | 'native';
960
972
  [k: string]: unknown;
961
973
  };
974
+ displayConditions?: {
975
+ [k: string]: unknown;
976
+ };
962
977
  key: ModuleKeySchema;
963
978
  [k: string]: unknown;
964
979
  }
@@ -1008,6 +1023,9 @@ export interface Modules {
1008
1023
  layout?: 'basic' | 'native';
1009
1024
  [k: string]: unknown;
1010
1025
  };
1026
+ displayConditions?: {
1027
+ [k: string]: unknown;
1028
+ };
1011
1029
  key: ModuleKeySchema;
1012
1030
  [k: string]: unknown;
1013
1031
  }
@@ -1056,6 +1074,9 @@ export interface Modules {
1056
1074
  layout?: 'basic' | 'native';
1057
1075
  [k: string]: unknown;
1058
1076
  };
1077
+ displayConditions?: {
1078
+ [k: string]: unknown;
1079
+ };
1059
1080
  key: ModuleKeySchema;
1060
1081
  [k: string]: unknown;
1061
1082
  }
@@ -1105,6 +1126,9 @@ export interface Modules {
1105
1126
  layout?: 'basic' | 'native';
1106
1127
  [k: string]: unknown;
1107
1128
  };
1129
+ displayConditions?: {
1130
+ [k: string]: unknown;
1131
+ };
1108
1132
  key: ModuleKeySchema;
1109
1133
  [k: string]: unknown;
1110
1134
  }
@@ -1115,6 +1139,9 @@ export interface Modules {
1115
1139
  | {
1116
1140
  title: string;
1117
1141
  function: string;
1142
+ displayConditions?: {
1143
+ [k: string]: unknown;
1144
+ };
1118
1145
  key: ModuleKeySchema;
1119
1146
  [k: string]: unknown;
1120
1147
  }
@@ -1126,6 +1153,9 @@ export interface Modules {
1126
1153
  resource: string;
1127
1154
  resourceUploadId?: string;
1128
1155
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1156
+ displayConditions?: {
1157
+ [k: string]: unknown;
1158
+ };
1129
1159
  key: ModuleKeySchema;
1130
1160
  [k: string]: unknown;
1131
1161
  }
@@ -1134,6 +1164,9 @@ export interface Modules {
1134
1164
  | {
1135
1165
  title: string;
1136
1166
  function: string;
1167
+ displayConditions?: {
1168
+ [k: string]: unknown;
1169
+ };
1137
1170
  key: ModuleKeySchema;
1138
1171
  [k: string]: unknown;
1139
1172
  }
@@ -1145,6 +1178,9 @@ export interface Modules {
1145
1178
  resource: string;
1146
1179
  resourceUploadId?: string;
1147
1180
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1181
+ displayConditions?: {
1182
+ [k: string]: unknown;
1183
+ };
1148
1184
  key: ModuleKeySchema;
1149
1185
  [k: string]: unknown;
1150
1186
  }
@@ -1167,6 +1203,9 @@ export interface Modules {
1167
1203
  [k: string]: unknown;
1168
1204
  };
1169
1205
  icon?: string;
1206
+ displayConditions?: {
1207
+ [k: string]: unknown;
1208
+ };
1170
1209
  key: ModuleKeySchema;
1171
1210
  [k: string]: unknown;
1172
1211
  }
@@ -1188,6 +1227,9 @@ export interface Modules {
1188
1227
  [k: string]: unknown;
1189
1228
  };
1190
1229
  icon?: string;
1230
+ displayConditions?: {
1231
+ [k: string]: unknown;
1232
+ };
1191
1233
  key: ModuleKeySchema;
1192
1234
  [k: string]: unknown;
1193
1235
  }
@@ -1208,6 +1250,9 @@ export interface Modules {
1208
1250
  [k: string]: unknown;
1209
1251
  };
1210
1252
  icon?: string;
1253
+ displayConditions?: {
1254
+ [k: string]: unknown;
1255
+ };
1211
1256
  key: ModuleKeySchema;
1212
1257
  [k: string]: unknown;
1213
1258
  }
@@ -1229,6 +1274,9 @@ export interface Modules {
1229
1274
  [k: string]: unknown;
1230
1275
  };
1231
1276
  icon?: string;
1277
+ displayConditions?: {
1278
+ [k: string]: unknown;
1279
+ };
1232
1280
  key: ModuleKeySchema;
1233
1281
  [k: string]: unknown;
1234
1282
  }
@@ -1245,6 +1293,9 @@ export interface Modules {
1245
1293
  [k: string]: unknown;
1246
1294
  };
1247
1295
  function: string;
1296
+ displayConditions?: {
1297
+ [k: string]: unknown;
1298
+ };
1248
1299
  key: ModuleKeySchema;
1249
1300
  [k: string]: unknown;
1250
1301
  }
@@ -1262,6 +1313,9 @@ export interface Modules {
1262
1313
  resource: string;
1263
1314
  resourceUploadId?: string;
1264
1315
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1316
+ displayConditions?: {
1317
+ [k: string]: unknown;
1318
+ };
1265
1319
  key: ModuleKeySchema;
1266
1320
  [k: string]: unknown;
1267
1321
  }
@@ -1276,6 +1330,9 @@ export interface Modules {
1276
1330
  [k: string]: unknown;
1277
1331
  };
1278
1332
  function: string;
1333
+ displayConditions?: {
1334
+ [k: string]: unknown;
1335
+ };
1279
1336
  key: ModuleKeySchema;
1280
1337
  [k: string]: unknown;
1281
1338
  }
@@ -1293,6 +1350,9 @@ export interface Modules {
1293
1350
  resource: string;
1294
1351
  resourceUploadId?: string;
1295
1352
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1353
+ displayConditions?: {
1354
+ [k: string]: unknown;
1355
+ };
1296
1356
  key: ModuleKeySchema;
1297
1357
  [k: string]: unknown;
1298
1358
  }
@@ -1303,6 +1363,9 @@ export interface Modules {
1303
1363
  | {
1304
1364
  title: string;
1305
1365
  function: string;
1366
+ displayConditions?: {
1367
+ [k: string]: unknown;
1368
+ };
1306
1369
  key: ModuleKeySchema;
1307
1370
  [k: string]: unknown;
1308
1371
  }
@@ -1314,6 +1377,9 @@ export interface Modules {
1314
1377
  resource: string;
1315
1378
  resourceUploadId?: string;
1316
1379
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1380
+ displayConditions?: {
1381
+ [k: string]: unknown;
1382
+ };
1317
1383
  key: ModuleKeySchema;
1318
1384
  [k: string]: unknown;
1319
1385
  }
@@ -1322,6 +1388,9 @@ export interface Modules {
1322
1388
  | {
1323
1389
  title: string;
1324
1390
  function: string;
1391
+ displayConditions?: {
1392
+ [k: string]: unknown;
1393
+ };
1325
1394
  key: ModuleKeySchema;
1326
1395
  [k: string]: unknown;
1327
1396
  }
@@ -1333,6 +1402,9 @@ export interface Modules {
1333
1402
  resource: string;
1334
1403
  resourceUploadId?: string;
1335
1404
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1405
+ displayConditions?: {
1406
+ [k: string]: unknown;
1407
+ };
1336
1408
  key: ModuleKeySchema;
1337
1409
  [k: string]: unknown;
1338
1410
  }
@@ -1354,6 +1426,9 @@ export interface Modules {
1354
1426
  function: string;
1355
1427
  [k: string]: unknown;
1356
1428
  };
1429
+ displayConditions?: {
1430
+ [k: string]: unknown;
1431
+ };
1357
1432
  key: ModuleKeySchema;
1358
1433
  [k: string]: unknown;
1359
1434
  },
@@ -1372,6 +1447,9 @@ export interface Modules {
1372
1447
  function: string;
1373
1448
  [k: string]: unknown;
1374
1449
  };
1450
+ displayConditions?: {
1451
+ [k: string]: unknown;
1452
+ };
1375
1453
  key: ModuleKeySchema;
1376
1454
  [k: string]: unknown;
1377
1455
  }[]
@@ -1399,6 +1477,9 @@ export interface Modules {
1399
1477
  }[];
1400
1478
  [k: string]: unknown;
1401
1479
  }[];
1480
+ displayConditions?: {
1481
+ [k: string]: unknown;
1482
+ };
1402
1483
  key: ModuleKeySchema;
1403
1484
  [k: string]: unknown;
1404
1485
  }
@@ -1427,6 +1508,9 @@ export interface Modules {
1427
1508
  }[];
1428
1509
  [k: string]: unknown;
1429
1510
  }[];
1511
+ displayConditions?: {
1512
+ [k: string]: unknown;
1513
+ };
1430
1514
  key: ModuleKeySchema;
1431
1515
  [k: string]: unknown;
1432
1516
  }
@@ -1453,6 +1537,9 @@ export interface Modules {
1453
1537
  }[];
1454
1538
  [k: string]: unknown;
1455
1539
  }[];
1540
+ displayConditions?: {
1541
+ [k: string]: unknown;
1542
+ };
1456
1543
  key: ModuleKeySchema;
1457
1544
  [k: string]: unknown;
1458
1545
  }
@@ -1481,6 +1568,9 @@ export interface Modules {
1481
1568
  }[];
1482
1569
  [k: string]: unknown;
1483
1570
  }[];
1571
+ displayConditions?: {
1572
+ [k: string]: unknown;
1573
+ };
1484
1574
  key: ModuleKeySchema;
1485
1575
  [k: string]: unknown;
1486
1576
  }
@@ -1509,6 +1599,9 @@ export interface Modules {
1509
1599
  }[];
1510
1600
  [k: string]: unknown;
1511
1601
  }[];
1602
+ displayConditions?: {
1603
+ [k: string]: unknown;
1604
+ };
1512
1605
  key: ModuleKeySchema;
1513
1606
  [k: string]: unknown;
1514
1607
  }
@@ -1537,6 +1630,9 @@ export interface Modules {
1537
1630
  }[];
1538
1631
  [k: string]: unknown;
1539
1632
  }[];
1633
+ displayConditions?: {
1634
+ [k: string]: unknown;
1635
+ };
1540
1636
  key: ModuleKeySchema;
1541
1637
  [k: string]: unknown;
1542
1638
  }
@@ -1563,6 +1659,9 @@ export interface Modules {
1563
1659
  }[];
1564
1660
  [k: string]: unknown;
1565
1661
  }[];
1662
+ displayConditions?: {
1663
+ [k: string]: unknown;
1664
+ };
1566
1665
  key: ModuleKeySchema;
1567
1666
  [k: string]: unknown;
1568
1667
  }
@@ -1591,6 +1690,9 @@ export interface Modules {
1591
1690
  }[];
1592
1691
  [k: string]: unknown;
1593
1692
  }[];
1693
+ displayConditions?: {
1694
+ [k: string]: unknown;
1695
+ };
1594
1696
  key: ModuleKeySchema;
1595
1697
  [k: string]: unknown;
1596
1698
  }
@@ -1619,6 +1721,9 @@ export interface Modules {
1619
1721
  }[];
1620
1722
  [k: string]: unknown;
1621
1723
  }[];
1724
+ displayConditions?: {
1725
+ [k: string]: unknown;
1726
+ };
1622
1727
  key: ModuleKeySchema;
1623
1728
  [k: string]: unknown;
1624
1729
  }
@@ -1647,6 +1752,9 @@ export interface Modules {
1647
1752
  }[];
1648
1753
  [k: string]: unknown;
1649
1754
  }[];
1755
+ displayConditions?: {
1756
+ [k: string]: unknown;
1757
+ };
1650
1758
  key: ModuleKeySchema;
1651
1759
  [k: string]: unknown;
1652
1760
  }
@@ -1673,6 +1781,9 @@ export interface Modules {
1673
1781
  }[];
1674
1782
  [k: string]: unknown;
1675
1783
  }[];
1784
+ displayConditions?: {
1785
+ [k: string]: unknown;
1786
+ };
1676
1787
  key: ModuleKeySchema;
1677
1788
  [k: string]: unknown;
1678
1789
  }
@@ -1701,6 +1812,9 @@ export interface Modules {
1701
1812
  }[];
1702
1813
  [k: string]: unknown;
1703
1814
  }[];
1815
+ displayConditions?: {
1816
+ [k: string]: unknown;
1817
+ };
1704
1818
  key: ModuleKeySchema;
1705
1819
  [k: string]: unknown;
1706
1820
  }
@@ -1729,6 +1843,9 @@ export interface Modules {
1729
1843
  }[];
1730
1844
  [k: string]: unknown;
1731
1845
  }[];
1846
+ displayConditions?: {
1847
+ [k: string]: unknown;
1848
+ };
1732
1849
  key: ModuleKeySchema;
1733
1850
  [k: string]: unknown;
1734
1851
  }
@@ -1757,6 +1874,9 @@ export interface Modules {
1757
1874
  }[];
1758
1875
  [k: string]: unknown;
1759
1876
  }[];
1877
+ displayConditions?: {
1878
+ [k: string]: unknown;
1879
+ };
1760
1880
  key: ModuleKeySchema;
1761
1881
  [k: string]: unknown;
1762
1882
  }
@@ -1783,6 +1903,9 @@ export interface Modules {
1783
1903
  }[];
1784
1904
  [k: string]: unknown;
1785
1905
  }[];
1906
+ displayConditions?: {
1907
+ [k: string]: unknown;
1908
+ };
1786
1909
  key: ModuleKeySchema;
1787
1910
  [k: string]: unknown;
1788
1911
  }
@@ -1811,6 +1934,9 @@ export interface Modules {
1811
1934
  }[];
1812
1935
  [k: string]: unknown;
1813
1936
  }[];
1937
+ displayConditions?: {
1938
+ [k: string]: unknown;
1939
+ };
1814
1940
  key: ModuleKeySchema;
1815
1941
  [k: string]: unknown;
1816
1942
  }
@@ -2973,7 +3099,7 @@ export interface Modules {
2973
3099
  filter?: string;
2974
3100
  excludeBody?: boolean;
2975
3101
  event?: string;
2976
- conditions?: (SingleCondition | CompositeCondition)[];
3102
+ conditions?: (CompositeCondition | SingleCondition)[];
2977
3103
  propertyKeys?: string[];
2978
3104
  url?: string;
2979
3105
  key: ModuleKeySchema;
@@ -2983,7 +3109,7 @@ export interface Modules {
2983
3109
  filter?: string;
2984
3110
  excludeBody?: boolean;
2985
3111
  event?: string;
2986
- conditions?: (SingleCondition | CompositeCondition)[];
3112
+ conditions?: (CompositeCondition | SingleCondition)[];
2987
3113
  propertyKeys?: string[];
2988
3114
  url?: string;
2989
3115
  key: ModuleKeySchema;
@@ -2997,7 +3123,7 @@ export interface Modules {
2997
3123
  weight?: number;
2998
3124
  cacheable?: boolean;
2999
3125
  location?: string;
3000
- conditions?: (SingleCondition | CompositeCondition)[];
3126
+ conditions?: (CompositeCondition | SingleCondition)[];
3001
3127
  params?: {
3002
3128
  [k: string]: unknown;
3003
3129
  };
@@ -3011,7 +3137,7 @@ export interface Modules {
3011
3137
  weight?: number;
3012
3138
  cacheable?: boolean;
3013
3139
  location?: string;
3014
- conditions?: (SingleCondition | CompositeCondition)[];
3140
+ conditions?: (CompositeCondition | SingleCondition)[];
3015
3141
  params?: {
3016
3142
  [k: string]: unknown;
3017
3143
  };
@@ -3053,7 +3179,7 @@ export interface Modules {
3053
3179
  weight?: number;
3054
3180
  cacheable?: boolean;
3055
3181
  location?: string;
3056
- conditions?: (SingleCondition | CompositeCondition)[];
3182
+ conditions?: (CompositeCondition | SingleCondition)[];
3057
3183
  params?: {
3058
3184
  [k: string]: unknown;
3059
3185
  };
@@ -3067,7 +3193,7 @@ export interface Modules {
3067
3193
  weight?: number;
3068
3194
  cacheable?: boolean;
3069
3195
  location?: string;
3070
- conditions?: (SingleCondition | CompositeCondition)[];
3196
+ conditions?: (CompositeCondition | SingleCondition)[];
3071
3197
  params?: {
3072
3198
  [k: string]: unknown;
3073
3199
  };
@@ -3630,7 +3756,7 @@ export interface I18NProperty1 {
3630
3756
  *
3631
3757
  */
3632
3758
  export interface CompositeCondition {
3633
- conditions?: (SingleCondition | ManifestSchema)[];
3759
+ conditions?: (ManifestSchema | SingleCondition)[];
3634
3760
  type?: 'and' | 'AND' | 'or' | 'OR';
3635
3761
  [k: string]: unknown;
3636
3762
  }
@@ -6338,37 +6464,10 @@ export interface Icon10 {
6338
6464
  *
6339
6465
  */
6340
6466
  export interface WebItemTarget1 {
6341
- options?: DialogModuleOptions1 | DialogOptions2 | InlineDialogOptions1;
6467
+ options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
6342
6468
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
6343
6469
  [k: string]: unknown;
6344
6470
  }
6345
- /**
6346
- *
6347
- *
6348
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
6349
- *
6350
- * <h3>Example</h3>
6351
- *
6352
- *
6353
- *
6354
- *
6355
- *
6356
- * {
6357
- * "target": {
6358
- * "type": "dialogmodule",
6359
- * "options": {
6360
- * "key": "dialog-module-key"
6361
- * }
6362
- * }
6363
- * }
6364
- *
6365
- *
6366
- *
6367
- */
6368
- export interface DialogModuleOptions1 {
6369
- key: string;
6370
- [k: string]: unknown;
6371
- }
6372
6471
  /**
6373
6472
  *
6374
6473
  *
@@ -6504,6 +6603,33 @@ export interface InlineDialogOptions1 {
6504
6603
  isRelativeToMouse?: boolean;
6505
6604
  [k: string]: unknown;
6506
6605
  }
6606
+ /**
6607
+ *
6608
+ *
6609
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
6610
+ *
6611
+ * <h3>Example</h3>
6612
+ *
6613
+ *
6614
+ *
6615
+ *
6616
+ *
6617
+ * {
6618
+ * "target": {
6619
+ * "type": "dialogmodule",
6620
+ * "options": {
6621
+ * "key": "dialog-module-key"
6622
+ * }
6623
+ * }
6624
+ * }
6625
+ *
6626
+ *
6627
+ *
6628
+ */
6629
+ export interface DialogModuleOptions1 {
6630
+ key: string;
6631
+ [k: string]: unknown;
6632
+ }
6507
6633
  /**
6508
6634
  *
6509
6635
  *
@@ -6596,7 +6722,7 @@ export interface SingleCondition4 {
6596
6722
  *
6597
6723
  */
6598
6724
  export interface CompositeCondition6 {
6599
- conditions?: (SingleCondition | ManifestSchema)[];
6725
+ conditions?: (ManifestSchema | SingleCondition)[];
6600
6726
  type?: 'and' | 'AND' | 'or' | 'OR';
6601
6727
  [k: string]: unknown;
6602
6728
  }
@@ -6991,7 +7117,7 @@ export interface I18NProperty63 {
6991
7117
  *
6992
7118
  */
6993
7119
  export interface CompositeCondition7 {
6994
- conditions?: (SingleCondition | ManifestSchema)[];
7120
+ conditions?: (ManifestSchema | SingleCondition)[];
6995
7121
  type?: 'and' | 'AND' | 'or' | 'OR';
6996
7122
  [k: string]: unknown;
6997
7123
  }
@@ -8445,7 +8571,7 @@ export interface I18NProperty74 {
8445
8571
  *
8446
8572
  */
8447
8573
  export interface MacroPropertyPanel {
8448
- controls?: (ToggleGroup | ButtonControl | ControlGroup | TextControl)[];
8574
+ controls?: (ButtonControl | ControlGroup | ToggleGroup | TextControl)[];
8449
8575
  cacheable?: boolean;
8450
8576
  url: string;
8451
8577
  [k: string]: unknown;
@@ -8453,7 +8579,7 @@ export interface MacroPropertyPanel {
8453
8579
  /**
8454
8580
  *
8455
8581
  *
8456
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
8582
+ * Defines a button which may appear in control extension points such as the property panel
8457
8583
  *
8458
8584
  * <p><b>Example</b></p>
8459
8585
  *
@@ -8461,92 +8587,86 @@ export interface MacroPropertyPanel {
8461
8587
  *
8462
8588
  *
8463
8589
  *
8464
- * [
8465
- * {
8466
- * "type": "togglegroup",
8467
- * "macroParameter": "toggleGroupMacroParameter",
8468
- * "controls": [
8469
- * {
8470
- * "type": "togglebutton",
8471
- * "macroParameterValue": "macroParameterValue 0",
8472
- * "label": {
8473
- * "value": "My Custom Control 0"
8474
- * },
8475
- * "key": "my-custom-toggle-button-0"
8476
- * },
8477
- * {
8478
- * "type": "togglebutton",
8479
- * "macroParameterValue": "macroParameterValue 1",
8480
- * "label": {
8481
- * "value": "My Custom Control 1"
8482
- * },
8483
- * "key": "my-custom-toggle-button-1"
8484
- * }
8485
- * ]
8486
- * }
8487
- * ]
8590
+ * {
8591
+ * "type": "button",
8592
+ * "label": {
8593
+ * "value": "My Custom Control 0"
8594
+ * },
8595
+ * "key": "my-custom-control-0"
8596
+ * }
8488
8597
  *
8489
8598
  *
8490
8599
  *
8491
8600
  */
8492
- export interface ToggleGroup {
8493
- controls: ToggleButtonControl[];
8494
- macroParameter: string;
8495
- type: 'togglegroup' | 'TOGGLEGROUP';
8601
+ export interface ButtonControl {
8602
+ label: I18NProperty75;
8603
+ type: 'button' | 'BUTTON';
8604
+ key: string;
8496
8605
  [k: string]: unknown;
8497
8606
  }
8498
8607
  /**
8499
8608
  *
8500
8609
  *
8501
- * Defines a toggle button which appears inside a ToggleGroup
8610
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8611
+ * and value in multiple places if you like, but identical keys must have identical values.
8502
8612
  *
8503
- * <p><b>Example</b></p>
8613
+ * <h3>Example</h3>
8504
8614
  *
8505
8615
  *
8506
8616
  *
8507
8617
  *
8508
8618
  *
8509
8619
  * {
8510
- * "type": "togglebutton",
8511
- * "macroParameterValue": "macroParameterValue 0",
8512
- * "label": {
8513
- * "value": "My Custom Control 0"
8514
- * },
8515
- * "key": "my-custom-toggle-button-0"
8620
+ * "value": "My text"
8516
8621
  * }
8517
8622
  *
8518
8623
  *
8519
8624
  *
8520
8625
  */
8521
- export interface ToggleButtonControl {
8522
- macroParameterValue: string;
8523
- label: I18NProperty75;
8524
- type: 'togglebutton' | 'TOGGLEBUTTON';
8525
- key: string;
8626
+ export interface I18NProperty75 {
8627
+ value: string;
8628
+ i18n?: string;
8526
8629
  [k: string]: unknown;
8527
8630
  }
8528
8631
  /**
8529
8632
  *
8530
8633
  *
8531
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8532
- * and value in multiple places if you like, but identical keys must have identical values.
8634
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
8533
8635
  *
8534
- * <h3>Example</h3>
8636
+ * <p><b>Example</b></p>
8535
8637
  *
8536
8638
  *
8537
8639
  *
8538
8640
  *
8539
8641
  *
8540
- * {
8541
- * "value": "My text"
8542
- * }
8642
+ * [
8643
+ * {
8644
+ * "type": "group",
8645
+ * "controls": [
8646
+ * {
8647
+ * "type": "button",
8648
+ * "label": {
8649
+ * "value": "My Custom Control 0"
8650
+ * },
8651
+ * "key": "my-custom-control-0"
8652
+ * },
8653
+ * {
8654
+ * "type": "button",
8655
+ * "label": {
8656
+ * "value": "My Custom Control 1"
8657
+ * },
8658
+ * "key": "my-custom-control-1"
8659
+ * }
8660
+ * ]
8661
+ * }
8662
+ * ]
8543
8663
  *
8544
8664
  *
8545
8665
  *
8546
8666
  */
8547
- export interface I18NProperty75 {
8548
- value: string;
8549
- i18n?: string;
8667
+ export interface ControlGroup {
8668
+ controls: ButtonControl1[];
8669
+ type: 'group' | 'GROUP';
8550
8670
  [k: string]: unknown;
8551
8671
  }
8552
8672
  /**
@@ -8571,7 +8691,7 @@ export interface I18NProperty75 {
8571
8691
  *
8572
8692
  *
8573
8693
  */
8574
- export interface ButtonControl {
8694
+ export interface ButtonControl1 {
8575
8695
  label: I18NProperty76;
8576
8696
  type: 'button' | 'BUTTON';
8577
8697
  key: string;
@@ -8604,7 +8724,7 @@ export interface I18NProperty76 {
8604
8724
  /**
8605
8725
  *
8606
8726
  *
8607
- * Defines a ControlGroup which may appear in control extension points such as the property panel
8727
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
8608
8728
  *
8609
8729
  * <p><b>Example</b></p>
8610
8730
  *
@@ -8614,21 +8734,24 @@ export interface I18NProperty76 {
8614
8734
  *
8615
8735
  * [
8616
8736
  * {
8617
- * "type": "group",
8737
+ * "type": "togglegroup",
8738
+ * "macroParameter": "toggleGroupMacroParameter",
8618
8739
  * "controls": [
8619
8740
  * {
8620
- * "type": "button",
8741
+ * "type": "togglebutton",
8742
+ * "macroParameterValue": "macroParameterValue 0",
8621
8743
  * "label": {
8622
8744
  * "value": "My Custom Control 0"
8623
8745
  * },
8624
- * "key": "my-custom-control-0"
8746
+ * "key": "my-custom-toggle-button-0"
8625
8747
  * },
8626
8748
  * {
8627
- * "type": "button",
8749
+ * "type": "togglebutton",
8750
+ * "macroParameterValue": "macroParameterValue 1",
8628
8751
  * "label": {
8629
8752
  * "value": "My Custom Control 1"
8630
8753
  * },
8631
- * "key": "my-custom-control-1"
8754
+ * "key": "my-custom-toggle-button-1"
8632
8755
  * }
8633
8756
  * ]
8634
8757
  * }
@@ -8637,15 +8760,16 @@ export interface I18NProperty76 {
8637
8760
  *
8638
8761
  *
8639
8762
  */
8640
- export interface ControlGroup {
8641
- controls: ButtonControl1[];
8642
- type: 'group' | 'GROUP';
8763
+ export interface ToggleGroup {
8764
+ controls: ToggleButtonControl[];
8765
+ macroParameter: string;
8766
+ type: 'togglegroup' | 'TOGGLEGROUP';
8643
8767
  [k: string]: unknown;
8644
8768
  }
8645
8769
  /**
8646
8770
  *
8647
8771
  *
8648
- * Defines a button which may appear in control extension points such as the property panel
8772
+ * Defines a toggle button which appears inside a ToggleGroup
8649
8773
  *
8650
8774
  * <p><b>Example</b></p>
8651
8775
  *
@@ -8654,19 +8778,21 @@ export interface ControlGroup {
8654
8778
  *
8655
8779
  *
8656
8780
  * {
8657
- * "type": "button",
8781
+ * "type": "togglebutton",
8782
+ * "macroParameterValue": "macroParameterValue 0",
8658
8783
  * "label": {
8659
8784
  * "value": "My Custom Control 0"
8660
8785
  * },
8661
- * "key": "my-custom-control-0"
8786
+ * "key": "my-custom-toggle-button-0"
8662
8787
  * }
8663
8788
  *
8664
8789
  *
8665
8790
  *
8666
8791
  */
8667
- export interface ButtonControl1 {
8792
+ export interface ToggleButtonControl {
8793
+ macroParameterValue: string;
8668
8794
  label: I18NProperty77;
8669
- type: 'button' | 'BUTTON';
8795
+ type: 'togglebutton' | 'TOGGLEBUTTON';
8670
8796
  key: string;
8671
8797
  [k: string]: unknown;
8672
8798
  }
@@ -29690,7 +29816,7 @@ export interface I18NProperty83 {
29690
29816
  *
29691
29817
  */
29692
29818
  export interface MacroPropertyPanel1 {
29693
- controls?: (ToggleGroup1 | ControlGroup1 | TextControl1 | ButtonControl3)[];
29819
+ controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
29694
29820
  cacheable?: boolean;
29695
29821
  url: string;
29696
29822
  [k: string]: unknown;
@@ -29698,7 +29824,7 @@ export interface MacroPropertyPanel1 {
29698
29824
  /**
29699
29825
  *
29700
29826
  *
29701
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
29827
+ * Defines a text field which may appear in control extension points such as the property panel
29702
29828
  *
29703
29829
  * <p><b>Example</b></p>
29704
29830
  *
@@ -29706,44 +29832,27 @@ export interface MacroPropertyPanel1 {
29706
29832
  *
29707
29833
  *
29708
29834
  *
29709
- * [
29710
- * {
29711
- * "type": "togglegroup",
29712
- * "macroParameter": "toggleGroupMacroParameter",
29713
- * "controls": [
29714
- * {
29715
- * "type": "togglebutton",
29716
- * "macroParameterValue": "macroParameterValue 0",
29717
- * "label": {
29718
- * "value": "My Custom Control 0"
29719
- * },
29720
- * "key": "my-custom-toggle-button-0"
29721
- * },
29722
- * {
29723
- * "type": "togglebutton",
29724
- * "macroParameterValue": "macroParameterValue 1",
29725
- * "label": {
29726
- * "value": "My Custom Control 1"
29727
- * },
29728
- * "key": "my-custom-toggle-button-1"
29729
- * }
29730
- * ]
29731
- * }
29732
- * ]
29835
+ * {
29836
+ * "type": "button",
29837
+ * "label": {
29838
+ * "value": "My Custom Control 0"
29839
+ * },
29840
+ * "key": "my-custom-control-0"
29841
+ * }
29733
29842
  *
29734
29843
  *
29735
29844
  *
29736
29845
  */
29737
- export interface ToggleGroup1 {
29738
- controls: ToggleButtonControl1[];
29846
+ export interface TextControl1 {
29739
29847
  macroParameter: string;
29740
- type: 'togglegroup' | 'TOGGLEGROUP';
29848
+ type: 'text' | 'TEXT';
29849
+ key: string;
29741
29850
  [k: string]: unknown;
29742
29851
  }
29743
29852
  /**
29744
29853
  *
29745
29854
  *
29746
- * Defines a toggle button which appears inside a ToggleGroup
29855
+ * Defines a button which may appear in control extension points such as the property panel
29747
29856
  *
29748
29857
  * <p><b>Example</b></p>
29749
29858
  *
@@ -29752,21 +29861,19 @@ export interface ToggleGroup1 {
29752
29861
  *
29753
29862
  *
29754
29863
  * {
29755
- * "type": "togglebutton",
29756
- * "macroParameterValue": "macroParameterValue 0",
29864
+ * "type": "button",
29757
29865
  * "label": {
29758
29866
  * "value": "My Custom Control 0"
29759
29867
  * },
29760
- * "key": "my-custom-toggle-button-0"
29868
+ * "key": "my-custom-control-0"
29761
29869
  * }
29762
29870
  *
29763
29871
  *
29764
29872
  *
29765
29873
  */
29766
- export interface ToggleButtonControl1 {
29767
- macroParameterValue: string;
29874
+ export interface ButtonControl2 {
29768
29875
  label: I18NProperty84;
29769
- type: 'togglebutton' | 'TOGGLEBUTTON';
29876
+ type: 'button' | 'BUTTON';
29770
29877
  key: string;
29771
29878
  [k: string]: unknown;
29772
29879
  }
@@ -29831,7 +29938,7 @@ export interface I18NProperty84 {
29831
29938
  *
29832
29939
  */
29833
29940
  export interface ControlGroup1 {
29834
- controls: ButtonControl2[];
29941
+ controls: ButtonControl3[];
29835
29942
  type: 'group' | 'GROUP';
29836
29943
  [k: string]: unknown;
29837
29944
  }
@@ -29857,7 +29964,7 @@ export interface ControlGroup1 {
29857
29964
  *
29858
29965
  *
29859
29966
  */
29860
- export interface ButtonControl2 {
29967
+ export interface ButtonControl3 {
29861
29968
  label: I18NProperty85;
29862
29969
  type: 'button' | 'BUTTON';
29863
29970
  key: string;
@@ -29890,7 +29997,7 @@ export interface I18NProperty85 {
29890
29997
  /**
29891
29998
  *
29892
29999
  *
29893
- * Defines a text field which may appear in control extension points such as the property panel
30000
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29894
30001
  *
29895
30002
  * <p><b>Example</b></p>
29896
30003
  *
@@ -29898,27 +30005,44 @@ export interface I18NProperty85 {
29898
30005
  *
29899
30006
  *
29900
30007
  *
29901
- * {
29902
- * "type": "button",
29903
- * "label": {
29904
- * "value": "My Custom Control 0"
29905
- * },
29906
- * "key": "my-custom-control-0"
29907
- * }
30008
+ * [
30009
+ * {
30010
+ * "type": "togglegroup",
30011
+ * "macroParameter": "toggleGroupMacroParameter",
30012
+ * "controls": [
30013
+ * {
30014
+ * "type": "togglebutton",
30015
+ * "macroParameterValue": "macroParameterValue 0",
30016
+ * "label": {
30017
+ * "value": "My Custom Control 0"
30018
+ * },
30019
+ * "key": "my-custom-toggle-button-0"
30020
+ * },
30021
+ * {
30022
+ * "type": "togglebutton",
30023
+ * "macroParameterValue": "macroParameterValue 1",
30024
+ * "label": {
30025
+ * "value": "My Custom Control 1"
30026
+ * },
30027
+ * "key": "my-custom-toggle-button-1"
30028
+ * }
30029
+ * ]
30030
+ * }
30031
+ * ]
29908
30032
  *
29909
30033
  *
29910
30034
  *
29911
30035
  */
29912
- export interface TextControl1 {
30036
+ export interface ToggleGroup1 {
30037
+ controls: ToggleButtonControl1[];
29913
30038
  macroParameter: string;
29914
- type: 'text' | 'TEXT';
29915
- key: string;
30039
+ type: 'togglegroup' | 'TOGGLEGROUP';
29916
30040
  [k: string]: unknown;
29917
30041
  }
29918
30042
  /**
29919
30043
  *
29920
30044
  *
29921
- * Defines a button which may appear in control extension points such as the property panel
30045
+ * Defines a toggle button which appears inside a ToggleGroup
29922
30046
  *
29923
30047
  * <p><b>Example</b></p>
29924
30048
  *
@@ -29927,19 +30051,21 @@ export interface TextControl1 {
29927
30051
  *
29928
30052
  *
29929
30053
  * {
29930
- * "type": "button",
30054
+ * "type": "togglebutton",
30055
+ * "macroParameterValue": "macroParameterValue 0",
29931
30056
  * "label": {
29932
30057
  * "value": "My Custom Control 0"
29933
30058
  * },
29934
- * "key": "my-custom-control-0"
30059
+ * "key": "my-custom-toggle-button-0"
29935
30060
  * }
29936
30061
  *
29937
30062
  *
29938
30063
  *
29939
30064
  */
29940
- export interface ButtonControl3 {
30065
+ export interface ToggleButtonControl1 {
30066
+ macroParameterValue: string;
29941
30067
  label: I18NProperty86;
29942
- type: 'button' | 'BUTTON';
30068
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29943
30069
  key: string;
29944
30070
  [k: string]: unknown;
29945
30071
  }