@forge/manifest 2.5.1-next.2 → 2.6.0-next.11

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.
@@ -607,6 +607,48 @@ export interface Modules {
607
607
  }
608
608
  )[]
609
609
  ];
610
+ 'confluence:globalPage'?: [
611
+ (
612
+ | {
613
+ title: string;
614
+ icon?: string;
615
+ route: string;
616
+ function: string;
617
+ key: ModuleKeySchema;
618
+ }
619
+ | {
620
+ title: string;
621
+ icon?: string;
622
+ route: string;
623
+ resolver?: {
624
+ function: string;
625
+ };
626
+ resource: string;
627
+ resourceUploadId?: string;
628
+ key: ModuleKeySchema;
629
+ }
630
+ ),
631
+ ...(
632
+ | {
633
+ title: string;
634
+ icon?: string;
635
+ route: string;
636
+ function: string;
637
+ key: ModuleKeySchema;
638
+ }
639
+ | {
640
+ title: string;
641
+ icon?: string;
642
+ route: string;
643
+ resolver?: {
644
+ function: string;
645
+ };
646
+ resource: string;
647
+ resourceUploadId?: string;
648
+ key: ModuleKeySchema;
649
+ }
650
+ )[]
651
+ ];
610
652
  'jira:workflowValidator'?: [
611
653
  {
612
654
  name: string;
@@ -652,6 +694,10 @@ export interface Modules {
652
694
  resource: string;
653
695
  [k: string]: unknown;
654
696
  };
697
+ value?: {
698
+ function: string;
699
+ [k: string]: unknown;
700
+ };
655
701
  key: ModuleKeySchema;
656
702
  [k: string]: unknown;
657
703
  }
@@ -685,6 +731,10 @@ export interface Modules {
685
731
  resource: string;
686
732
  [k: string]: unknown;
687
733
  };
734
+ value?: {
735
+ function: string;
736
+ [k: string]: unknown;
737
+ };
688
738
  key: ModuleKeySchema;
689
739
  [k: string]: unknown;
690
740
  }
@@ -717,6 +767,10 @@ export interface Modules {
717
767
  resource: string;
718
768
  [k: string]: unknown;
719
769
  };
770
+ value?: {
771
+ function: string;
772
+ [k: string]: unknown;
773
+ };
720
774
  key: ModuleKeySchema;
721
775
  [k: string]: unknown;
722
776
  }
@@ -750,6 +804,10 @@ export interface Modules {
750
804
  resource: string;
751
805
  [k: string]: unknown;
752
806
  };
807
+ value?: {
808
+ function: string;
809
+ [k: string]: unknown;
810
+ };
753
811
  key: ModuleKeySchema;
754
812
  [k: string]: unknown;
755
813
  }
@@ -781,6 +839,10 @@ export interface Modules {
781
839
  resource: string;
782
840
  [k: string]: unknown;
783
841
  };
842
+ value?: {
843
+ function: string;
844
+ [k: string]: unknown;
845
+ };
784
846
  icon?: string;
785
847
  resolver?: {
786
848
  function: string;
@@ -826,6 +888,10 @@ export interface Modules {
826
888
  resource: string;
827
889
  [k: string]: unknown;
828
890
  };
891
+ value?: {
892
+ function: string;
893
+ [k: string]: unknown;
894
+ };
829
895
  icon?: string;
830
896
  resolver?: {
831
897
  function: string;
@@ -870,6 +936,10 @@ export interface Modules {
870
936
  resource: string;
871
937
  [k: string]: unknown;
872
938
  };
939
+ value?: {
940
+ function: string;
941
+ [k: string]: unknown;
942
+ };
873
943
  icon?: string;
874
944
  resolver?: {
875
945
  function: string;
@@ -915,6 +985,10 @@ export interface Modules {
915
985
  resource: string;
916
986
  [k: string]: unknown;
917
987
  };
988
+ value?: {
989
+ function: string;
990
+ [k: string]: unknown;
991
+ };
918
992
  icon?: string;
919
993
  resolver?: {
920
994
  function: string;
@@ -978,76 +1052,82 @@ export interface Modules {
978
1052
  'jira:issueGlance'?: [
979
1053
  (
980
1054
  | {
1055
+ function: string;
981
1056
  title: string;
982
1057
  label: string;
983
1058
  status?: {
1059
+ type: 'badge' | 'icon' | 'lozenge';
984
1060
  value: {
985
1061
  label: string;
1062
+ url?: string;
986
1063
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
987
1064
  [k: string]: unknown;
988
1065
  };
989
- type: 'badge' | 'lozenge';
990
1066
  [k: string]: unknown;
991
1067
  };
992
- function: string;
1068
+ icon?: string;
993
1069
  key: ModuleKeySchema;
994
1070
  [k: string]: unknown;
995
1071
  }
996
1072
  | {
1073
+ resource: string;
1074
+ resolver?: {
1075
+ function: string;
1076
+ };
997
1077
  title: string;
998
1078
  label: string;
999
1079
  status?: {
1080
+ type: 'badge' | 'icon' | 'lozenge';
1000
1081
  value: {
1001
1082
  label: string;
1083
+ url?: string;
1002
1084
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1003
1085
  [k: string]: unknown;
1004
1086
  };
1005
- type: 'badge' | 'lozenge';
1006
1087
  [k: string]: unknown;
1007
1088
  };
1008
- resolver?: {
1009
- function: string;
1010
- };
1011
- resource: string;
1012
- resourceUploadId?: string;
1089
+ icon?: string;
1013
1090
  key: ModuleKeySchema;
1014
1091
  [k: string]: unknown;
1015
1092
  }
1016
1093
  ),
1017
1094
  ...(
1018
1095
  | {
1096
+ function: string;
1019
1097
  title: string;
1020
1098
  label: string;
1021
1099
  status?: {
1100
+ type: 'badge' | 'icon' | 'lozenge';
1022
1101
  value: {
1023
1102
  label: string;
1103
+ url?: string;
1024
1104
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1025
1105
  [k: string]: unknown;
1026
1106
  };
1027
- type: 'badge' | 'lozenge';
1028
1107
  [k: string]: unknown;
1029
1108
  };
1030
- function: string;
1109
+ icon?: string;
1031
1110
  key: ModuleKeySchema;
1032
1111
  [k: string]: unknown;
1033
1112
  }
1034
1113
  | {
1114
+ resource: string;
1115
+ resolver?: {
1116
+ function: string;
1117
+ };
1035
1118
  title: string;
1036
1119
  label: string;
1037
1120
  status?: {
1121
+ type: 'badge' | 'icon' | 'lozenge';
1038
1122
  value: {
1039
1123
  label: string;
1124
+ url?: string;
1040
1125
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1041
1126
  [k: string]: unknown;
1042
1127
  };
1043
- type: 'badge' | 'lozenge';
1044
1128
  [k: string]: unknown;
1045
1129
  };
1046
- resolver?: {
1047
- function: string;
1048
- };
1049
- resource: string;
1050
- resourceUploadId?: string;
1130
+ icon?: string;
1051
1131
  key: ModuleKeySchema;
1052
1132
  [k: string]: unknown;
1053
1133
  }
@@ -1547,7 +1627,7 @@ export interface Modules {
1547
1627
  fullPage?: boolean;
1548
1628
  cacheable?: boolean;
1549
1629
  location?: string;
1550
- conditions?: (SingleCondition | CompositeCondition)[];
1630
+ conditions?: (CompositeCondition | SingleCondition)[];
1551
1631
  params?: {
1552
1632
  [k: string]: unknown;
1553
1633
  };
@@ -1562,7 +1642,7 @@ export interface Modules {
1562
1642
  fullPage?: boolean;
1563
1643
  cacheable?: boolean;
1564
1644
  location?: string;
1565
- conditions?: (SingleCondition | CompositeCondition)[];
1645
+ conditions?: (CompositeCondition | SingleCondition)[];
1566
1646
  params?: {
1567
1647
  [k: string]: unknown;
1568
1648
  };
@@ -1580,7 +1660,7 @@ export interface Modules {
1580
1660
  location?: string;
1581
1661
  cacheable?: boolean;
1582
1662
  supportsNative?: boolean;
1583
- conditions?: (SingleCondition | CompositeCondition)[];
1663
+ conditions?: (CompositeCondition | SingleCondition)[];
1584
1664
  params?: {
1585
1665
  [k: string]: unknown;
1586
1666
  };
@@ -1596,7 +1676,7 @@ export interface Modules {
1596
1676
  location?: string;
1597
1677
  cacheable?: boolean;
1598
1678
  supportsNative?: boolean;
1599
- conditions?: (SingleCondition | CompositeCondition)[];
1679
+ conditions?: (CompositeCondition | SingleCondition)[];
1600
1680
  params?: {
1601
1681
  [k: string]: unknown;
1602
1682
  };
@@ -1610,7 +1690,7 @@ export interface Modules {
1610
1690
  filter?: string;
1611
1691
  excludeBody?: boolean;
1612
1692
  event?: string;
1613
- conditions?: (CompositeCondition | SingleCondition)[];
1693
+ conditions?: (SingleCondition | CompositeCondition)[];
1614
1694
  propertyKeys?: string[];
1615
1695
  url?: string;
1616
1696
  key: ModuleKeySchema;
@@ -1620,7 +1700,7 @@ export interface Modules {
1620
1700
  filter?: string;
1621
1701
  excludeBody?: boolean;
1622
1702
  event?: string;
1623
- conditions?: (CompositeCondition | SingleCondition)[];
1703
+ conditions?: (SingleCondition | CompositeCondition)[];
1624
1704
  propertyKeys?: string[];
1625
1705
  url?: string;
1626
1706
  key: ModuleKeySchema;
@@ -1634,7 +1714,7 @@ export interface Modules {
1634
1714
  weight?: number;
1635
1715
  cacheable?: boolean;
1636
1716
  location?: string;
1637
- conditions?: (CompositeCondition | SingleCondition)[];
1717
+ conditions?: (SingleCondition | CompositeCondition)[];
1638
1718
  params?: {
1639
1719
  [k: string]: unknown;
1640
1720
  };
@@ -1648,7 +1728,7 @@ export interface Modules {
1648
1728
  weight?: number;
1649
1729
  cacheable?: boolean;
1650
1730
  location?: string;
1651
- conditions?: (CompositeCondition | SingleCondition)[];
1731
+ conditions?: (SingleCondition | CompositeCondition)[];
1652
1732
  params?: {
1653
1733
  [k: string]: unknown;
1654
1734
  };
@@ -1690,7 +1770,7 @@ export interface Modules {
1690
1770
  weight?: number;
1691
1771
  cacheable?: boolean;
1692
1772
  location?: string;
1693
- conditions?: (CompositeCondition | SingleCondition)[];
1773
+ conditions?: (SingleCondition | CompositeCondition)[];
1694
1774
  params?: {
1695
1775
  [k: string]: unknown;
1696
1776
  };
@@ -1704,7 +1784,7 @@ export interface Modules {
1704
1784
  weight?: number;
1705
1785
  cacheable?: boolean;
1706
1786
  location?: string;
1707
- conditions?: (CompositeCondition | SingleCondition)[];
1787
+ conditions?: (SingleCondition | CompositeCondition)[];
1708
1788
  params?: {
1709
1789
  [k: string]: unknown;
1710
1790
  };
@@ -1728,7 +1808,7 @@ export interface Modules {
1728
1808
  name?: I18NProperty10;
1729
1809
  location?: string;
1730
1810
  cacheable?: boolean;
1731
- conditions?: (CompositeCondition1 | SingleCondition1)[];
1811
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1732
1812
  key: ModuleKeySchema;
1733
1813
  [k: string]: unknown;
1734
1814
  },
@@ -1746,7 +1826,7 @@ export interface Modules {
1746
1826
  name?: I18NProperty10;
1747
1827
  location?: string;
1748
1828
  cacheable?: boolean;
1749
- conditions?: (CompositeCondition1 | SingleCondition1)[];
1829
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1750
1830
  key: ModuleKeySchema;
1751
1831
  [k: string]: unknown;
1752
1832
  }[]
@@ -1759,7 +1839,7 @@ export interface Modules {
1759
1839
  fullPage?: boolean;
1760
1840
  cacheable?: boolean;
1761
1841
  location?: string;
1762
- conditions?: (SingleCondition | CompositeCondition)[];
1842
+ conditions?: (CompositeCondition | SingleCondition)[];
1763
1843
  params?: {
1764
1844
  [k: string]: unknown;
1765
1845
  };
@@ -1774,7 +1854,7 @@ export interface Modules {
1774
1854
  fullPage?: boolean;
1775
1855
  cacheable?: boolean;
1776
1856
  location?: string;
1777
- conditions?: (SingleCondition | CompositeCondition)[];
1857
+ conditions?: (CompositeCondition | SingleCondition)[];
1778
1858
  params?: {
1779
1859
  [k: string]: unknown;
1780
1860
  };
@@ -1854,7 +1934,7 @@ export interface Modules {
1854
1934
  | 'TIME_TRACKING'
1855
1935
  | 'other'
1856
1936
  | 'OTHER';
1857
- conditions?: (CompositeCondition | SingleCondition)[];
1937
+ conditions?: (SingleCondition | CompositeCondition)[];
1858
1938
  key: ModuleKeySchema;
1859
1939
  [k: string]: unknown;
1860
1940
  },
@@ -1876,7 +1956,7 @@ export interface Modules {
1876
1956
  | 'TIME_TRACKING'
1877
1957
  | 'other'
1878
1958
  | 'OTHER';
1879
- conditions?: (CompositeCondition | SingleCondition)[];
1959
+ conditions?: (SingleCondition | CompositeCondition)[];
1880
1960
  key: ModuleKeySchema;
1881
1961
  [k: string]: unknown;
1882
1962
  }[]
@@ -2073,7 +2153,7 @@ export interface Modules {
2073
2153
  {
2074
2154
  icon?: Icon5;
2075
2155
  name?: I18NProperty27;
2076
- conditions?: (CompositeCondition | SingleCondition)[];
2156
+ conditions?: (SingleCondition | CompositeCondition)[];
2077
2157
  content?: IssueGlanceContentLabel;
2078
2158
  target?: IssueGlanceTargetWebPanel;
2079
2159
  jiraNativeAppsEnabled?: boolean;
@@ -2083,7 +2163,7 @@ export interface Modules {
2083
2163
  ...{
2084
2164
  icon?: Icon5;
2085
2165
  name?: I18NProperty27;
2086
- conditions?: (CompositeCondition | SingleCondition)[];
2166
+ conditions?: (SingleCondition | CompositeCondition)[];
2087
2167
  content?: IssueGlanceContentLabel;
2088
2168
  target?: IssueGlanceTargetWebPanel;
2089
2169
  jiraNativeAppsEnabled?: boolean;
@@ -2098,7 +2178,7 @@ export interface Modules {
2098
2178
  name?: I18NProperty30;
2099
2179
  conditions?: (SingleCondition | CompositeCondition)[];
2100
2180
  target?: IssuePageTargetWebPanel;
2101
- contentPresentConditions?: (SingleCondition | CompositeCondition)[];
2181
+ contentPresentConditions?: (CompositeCondition | SingleCondition)[];
2102
2182
  jiraNativeAppsEnabled?: boolean;
2103
2183
  key: ModuleKeySchema;
2104
2184
  [k: string]: unknown;
@@ -2109,7 +2189,7 @@ export interface Modules {
2109
2189
  name?: I18NProperty30;
2110
2190
  conditions?: (SingleCondition | CompositeCondition)[];
2111
2191
  target?: IssuePageTargetWebPanel;
2112
- contentPresentConditions?: (SingleCondition | CompositeCondition)[];
2192
+ contentPresentConditions?: (CompositeCondition | SingleCondition)[];
2113
2193
  jiraNativeAppsEnabled?: boolean;
2114
2194
  key: ModuleKeySchema;
2115
2195
  [k: string]: unknown;
@@ -2141,7 +2221,7 @@ export interface Modules {
2141
2221
  {
2142
2222
  name?: I18NProperty33;
2143
2223
  weight?: number;
2144
- conditions?: (CompositeCondition2 | SingleCondition2)[];
2224
+ conditions?: (SingleCondition2 | CompositeCondition2)[];
2145
2225
  params?: {
2146
2226
  [k: string]: unknown;
2147
2227
  };
@@ -2152,7 +2232,7 @@ export interface Modules {
2152
2232
  ...{
2153
2233
  name?: I18NProperty33;
2154
2234
  weight?: number;
2155
- conditions?: (CompositeCondition2 | SingleCondition2)[];
2235
+ conditions?: (SingleCondition2 | CompositeCondition2)[];
2156
2236
  params?: {
2157
2237
  [k: string]: unknown;
2158
2238
  };
@@ -2233,7 +2313,7 @@ export interface Modules {
2233
2313
  {
2234
2314
  name?: I18NProperty38;
2235
2315
  weight?: number;
2236
- conditions?: (CompositeCondition4 | SingleCondition3)[];
2316
+ conditions?: (SingleCondition3 | CompositeCondition4)[];
2237
2317
  params?: {
2238
2318
  [k: string]: unknown;
2239
2319
  };
@@ -2244,7 +2324,7 @@ export interface Modules {
2244
2324
  ...{
2245
2325
  name?: I18NProperty38;
2246
2326
  weight?: number;
2247
- conditions?: (CompositeCondition4 | SingleCondition3)[];
2327
+ conditions?: (SingleCondition3 | CompositeCondition4)[];
2248
2328
  params?: {
2249
2329
  [k: string]: unknown;
2250
2330
  };
@@ -2417,6 +2497,7 @@ export interface Modules {
2417
2497
  {
2418
2498
  installed?: string;
2419
2499
  disabled?: string;
2500
+ 'dare-migration'?: string;
2420
2501
  uninstalled?: string;
2421
2502
  enabled?: string;
2422
2503
  key: ModuleKeySchema;
@@ -2425,6 +2506,7 @@ export interface Modules {
2425
2506
  ...{
2426
2507
  installed?: string;
2427
2508
  disabled?: string;
2509
+ 'dare-migration'?: string;
2428
2510
  uninstalled?: string;
2429
2511
  enabled?: string;
2430
2512
  key: ModuleKeySchema;
@@ -2536,7 +2618,7 @@ export interface Modules {
2536
2618
  filter?: string;
2537
2619
  excludeBody?: boolean;
2538
2620
  event?: string;
2539
- conditions?: (SingleCondition | CompositeCondition)[];
2621
+ conditions?: (CompositeCondition | SingleCondition)[];
2540
2622
  propertyKeys?: string[];
2541
2623
  url?: string;
2542
2624
  key: ModuleKeySchema;
@@ -2546,7 +2628,7 @@ export interface Modules {
2546
2628
  filter?: string;
2547
2629
  excludeBody?: boolean;
2548
2630
  event?: string;
2549
- conditions?: (SingleCondition | CompositeCondition)[];
2631
+ conditions?: (CompositeCondition | SingleCondition)[];
2550
2632
  propertyKeys?: string[];
2551
2633
  url?: string;
2552
2634
  key: ModuleKeySchema;
@@ -2589,7 +2671,7 @@ export interface Modules {
2589
2671
  name?: I18NProperty55;
2590
2672
  weight?: number;
2591
2673
  location?: string;
2592
- conditions?: (CompositeCondition | SingleCondition)[];
2674
+ conditions?: (SingleCondition | CompositeCondition)[];
2593
2675
  params?: {
2594
2676
  [k: string]: unknown;
2595
2677
  };
@@ -2601,7 +2683,7 @@ export interface Modules {
2601
2683
  name?: I18NProperty55;
2602
2684
  weight?: number;
2603
2685
  location?: string;
2604
- conditions?: (CompositeCondition | SingleCondition)[];
2686
+ conditions?: (SingleCondition | CompositeCondition)[];
2605
2687
  params?: {
2606
2688
  [k: string]: unknown;
2607
2689
  };
@@ -2654,7 +2736,7 @@ export interface Modules {
2654
2736
  name?: I18NProperty59;
2655
2737
  location?: string;
2656
2738
  cacheable?: boolean;
2657
- conditions?: (SingleCondition4 | CompositeCondition6)[];
2739
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
2658
2740
  key: ModuleKeySchema;
2659
2741
  [k: string]: unknown;
2660
2742
  },
@@ -2672,7 +2754,7 @@ export interface Modules {
2672
2754
  name?: I18NProperty59;
2673
2755
  location?: string;
2674
2756
  cacheable?: boolean;
2675
- conditions?: (SingleCondition4 | CompositeCondition6)[];
2757
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
2676
2758
  key: ModuleKeySchema;
2677
2759
  [k: string]: unknown;
2678
2760
  }[]
@@ -2750,7 +2832,7 @@ export interface Modules {
2750
2832
  name?: I18NProperty63;
2751
2833
  weight?: number;
2752
2834
  location?: string;
2753
- conditions?: (CompositeCondition7 | SingleCondition5)[];
2835
+ conditions?: (SingleCondition5 | CompositeCondition7)[];
2754
2836
  params?: {
2755
2837
  [k: string]: unknown;
2756
2838
  };
@@ -2762,7 +2844,7 @@ export interface Modules {
2762
2844
  name?: I18NProperty63;
2763
2845
  weight?: number;
2764
2846
  location?: string;
2765
- conditions?: (CompositeCondition7 | SingleCondition5)[];
2847
+ conditions?: (SingleCondition5 | CompositeCondition7)[];
2766
2848
  params?: {
2767
2849
  [k: string]: unknown;
2768
2850
  };
@@ -2958,7 +3040,7 @@ export interface Modules {
2958
3040
  icon?: Icon18;
2959
3041
  name?: I18NProperty91;
2960
3042
  cacheable?: boolean;
2961
- conditions?: (CompositeCondition | SingleCondition)[];
3043
+ conditions?: (SingleCondition | CompositeCondition)[];
2962
3044
  params?: {
2963
3045
  [k: string]: unknown;
2964
3046
  };
@@ -2974,7 +3056,7 @@ export interface Modules {
2974
3056
  icon?: Icon18;
2975
3057
  name?: I18NProperty91;
2976
3058
  cacheable?: boolean;
2977
- conditions?: (CompositeCondition | SingleCondition)[];
3059
+ conditions?: (SingleCondition | CompositeCondition)[];
2978
3060
  params?: {
2979
3061
  [k: string]: unknown;
2980
3062
  };
@@ -3156,37 +3238,6 @@ export interface I18NProperty1 {
3156
3238
  i18n?: string;
3157
3239
  [k: string]: unknown;
3158
3240
  }
3159
- /**
3160
- *
3161
- *
3162
- * Single Conditions are either provided by the host application. See the complete documentation of
3163
- * [Conditions](../../conditions/) for more information.
3164
- *
3165
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3166
- * This is useful where you want to show the section if a certain condition is not satisfied.
3167
- *
3168
- * <h3>Example</h3>
3169
- *
3170
- *
3171
- *
3172
- *
3173
- *
3174
- * {
3175
- * "condition": "user_is_logged_in",
3176
- * "invert": false
3177
- * }
3178
- *
3179
- *
3180
- *
3181
- */
3182
- export interface SingleCondition {
3183
- condition: string;
3184
- invert?: boolean;
3185
- params?: {
3186
- [k: string]: unknown;
3187
- };
3188
- [k: string]: unknown;
3189
- }
3190
3241
  /**
3191
3242
  *
3192
3243
  *
@@ -3224,10 +3275,41 @@ export interface SingleCondition {
3224
3275
  *
3225
3276
  */
3226
3277
  export interface CompositeCondition {
3227
- conditions?: (SingleCondition | ManifestSchema)[];
3278
+ conditions?: (ManifestSchema | SingleCondition)[];
3228
3279
  type?: 'and' | 'AND' | 'or' | 'OR';
3229
3280
  [k: string]: unknown;
3230
3281
  }
3282
+ /**
3283
+ *
3284
+ *
3285
+ * Single Conditions are either provided by the host application. See the complete documentation of
3286
+ * [Conditions](../../conditions/) for more information.
3287
+ *
3288
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3289
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3290
+ *
3291
+ * <h3>Example</h3>
3292
+ *
3293
+ *
3294
+ *
3295
+ *
3296
+ *
3297
+ * {
3298
+ * "condition": "user_is_logged_in",
3299
+ * "invert": false
3300
+ * }
3301
+ *
3302
+ *
3303
+ *
3304
+ */
3305
+ export interface SingleCondition {
3306
+ condition: string;
3307
+ invert?: boolean;
3308
+ params?: {
3309
+ [k: string]: unknown;
3310
+ };
3311
+ [k: string]: unknown;
3312
+ }
3231
3313
  /**
3232
3314
  *
3233
3315
  *
@@ -3571,7 +3653,7 @@ export interface Icon3 {
3571
3653
  *
3572
3654
  */
3573
3655
  export interface WebItemTarget {
3574
- options?: DialogOptions | InlineDialogOptions | DialogModuleOptions;
3656
+ options?: DialogOptions | DialogModuleOptions | InlineDialogOptions;
3575
3657
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
3576
3658
  [k: string]: unknown;
3577
3659
  }
@@ -3673,6 +3755,33 @@ export interface I18NProperty9 {
3673
3755
  i18n?: string;
3674
3756
  [k: string]: unknown;
3675
3757
  }
3758
+ /**
3759
+ *
3760
+ *
3761
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
3762
+ *
3763
+ * <h3>Example</h3>
3764
+ *
3765
+ *
3766
+ *
3767
+ *
3768
+ *
3769
+ * {
3770
+ * "target": {
3771
+ * "type": "dialogmodule",
3772
+ * "options": {
3773
+ * "key": "dialog-module-key"
3774
+ * }
3775
+ * }
3776
+ * }
3777
+ *
3778
+ *
3779
+ *
3780
+ */
3781
+ export interface DialogModuleOptions {
3782
+ key: string;
3783
+ [k: string]: unknown;
3784
+ }
3676
3785
  /**
3677
3786
  *
3678
3787
  *
@@ -3713,7 +3822,8 @@ export interface InlineDialogOptions {
3713
3822
  /**
3714
3823
  *
3715
3824
  *
3716
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
3825
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
3826
+ * and value in multiple places if you like, but identical keys must have identical values.
3717
3827
  *
3718
3828
  * <h3>Example</h3>
3719
3829
  *
@@ -3722,26 +3832,25 @@ export interface InlineDialogOptions {
3722
3832
  *
3723
3833
  *
3724
3834
  * {
3725
- * "target": {
3726
- * "type": "dialogmodule",
3727
- * "options": {
3728
- * "key": "dialog-module-key"
3729
- * }
3730
- * }
3835
+ * "value": "My text"
3731
3836
  * }
3732
3837
  *
3733
3838
  *
3734
3839
  *
3735
3840
  */
3736
- export interface DialogModuleOptions {
3737
- key: string;
3841
+ export interface I18NProperty10 {
3842
+ value: string;
3843
+ i18n?: string;
3738
3844
  [k: string]: unknown;
3739
3845
  }
3740
3846
  /**
3741
3847
  *
3742
3848
  *
3743
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
3744
- * and value in multiple places if you like, but identical keys must have identical values.
3849
+ * Single Conditions are either provided by the host application. See the complete documentation of
3850
+ * [Conditions](../../conditions/) for more information.
3851
+ *
3852
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3853
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3745
3854
  *
3746
3855
  * <h3>Example</h3>
3747
3856
  *
@@ -3750,15 +3859,19 @@ export interface DialogModuleOptions {
3750
3859
  *
3751
3860
  *
3752
3861
  * {
3753
- * "value": "My text"
3862
+ * "condition": "user_is_logged_in",
3863
+ * "invert": false
3754
3864
  * }
3755
3865
  *
3756
3866
  *
3757
3867
  *
3758
3868
  */
3759
- export interface I18NProperty10 {
3760
- value: string;
3761
- i18n?: string;
3869
+ export interface SingleCondition1 {
3870
+ condition: string;
3871
+ invert?: boolean;
3872
+ params?: {
3873
+ [k: string]: unknown;
3874
+ };
3762
3875
  [k: string]: unknown;
3763
3876
  }
3764
3877
  /**
@@ -3802,37 +3915,6 @@ export interface CompositeCondition1 {
3802
3915
  type?: 'and' | 'AND' | 'or' | 'OR';
3803
3916
  [k: string]: unknown;
3804
3917
  }
3805
- /**
3806
- *
3807
- *
3808
- * Single Conditions are either provided by the host application. See the complete documentation of
3809
- * [Conditions](../../conditions/) for more information.
3810
- *
3811
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3812
- * This is useful where you want to show the section if a certain condition is not satisfied.
3813
- *
3814
- * <h3>Example</h3>
3815
- *
3816
- *
3817
- *
3818
- *
3819
- *
3820
- * {
3821
- * "condition": "user_is_logged_in",
3822
- * "invert": false
3823
- * }
3824
- *
3825
- *
3826
- *
3827
- */
3828
- export interface SingleCondition1 {
3829
- condition: string;
3830
- invert?: boolean;
3831
- params?: {
3832
- [k: string]: unknown;
3833
- };
3834
- [k: string]: unknown;
3835
- }
3836
3918
  /**
3837
3919
  *
3838
3920
  *
@@ -4735,6 +4817,37 @@ export interface I18NProperty33 {
4735
4817
  i18n?: string;
4736
4818
  [k: string]: unknown;
4737
4819
  }
4820
+ /**
4821
+ *
4822
+ *
4823
+ * Single Conditions are either provided by the host application. See the complete documentation of
4824
+ * [Conditions](../../conditions/) for more information.
4825
+ *
4826
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4827
+ * This is useful where you want to show the section if a certain condition is not satisfied.
4828
+ *
4829
+ * <h3>Example</h3>
4830
+ *
4831
+ *
4832
+ *
4833
+ *
4834
+ *
4835
+ * {
4836
+ * "condition": "user_is_logged_in",
4837
+ * "invert": false
4838
+ * }
4839
+ *
4840
+ *
4841
+ *
4842
+ */
4843
+ export interface SingleCondition2 {
4844
+ condition: string;
4845
+ invert?: boolean;
4846
+ params?: {
4847
+ [k: string]: unknown;
4848
+ };
4849
+ [k: string]: unknown;
4850
+ }
4738
4851
  /**
4739
4852
  *
4740
4853
  *
@@ -4772,7 +4885,7 @@ export interface I18NProperty33 {
4772
4885
  *
4773
4886
  */
4774
4887
  export interface CompositeCondition2 {
4775
- conditions?: (SingleCondition | CompositeCondition3)[];
4888
+ conditions?: (CompositeCondition3 | SingleCondition)[];
4776
4889
  type?: 'and' | 'AND' | 'or' | 'OR';
4777
4890
  [k: string]: unknown;
4778
4891
  }
@@ -4817,37 +4930,6 @@ export interface CompositeCondition3 {
4817
4930
  type?: 'and' | 'AND' | 'or' | 'OR';
4818
4931
  [k: string]: unknown;
4819
4932
  }
4820
- /**
4821
- *
4822
- *
4823
- * Single Conditions are either provided by the host application. See the complete documentation of
4824
- * [Conditions](../../conditions/) for more information.
4825
- *
4826
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4827
- * This is useful where you want to show the section if a certain condition is not satisfied.
4828
- *
4829
- * <h3>Example</h3>
4830
- *
4831
- *
4832
- *
4833
- *
4834
- *
4835
- * {
4836
- * "condition": "user_is_logged_in",
4837
- * "invert": false
4838
- * }
4839
- *
4840
- *
4841
- *
4842
- */
4843
- export interface SingleCondition2 {
4844
- condition: string;
4845
- invert?: boolean;
4846
- params?: {
4847
- [k: string]: unknown;
4848
- };
4849
- [k: string]: unknown;
4850
- }
4851
4933
  /**
4852
4934
  *
4853
4935
  *
@@ -5040,6 +5122,37 @@ export interface I18NProperty38 {
5040
5122
  i18n?: string;
5041
5123
  [k: string]: unknown;
5042
5124
  }
5125
+ /**
5126
+ *
5127
+ *
5128
+ * Single Conditions are either provided by the host application. See the complete documentation of
5129
+ * [Conditions](../../conditions/) for more information.
5130
+ *
5131
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5132
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5133
+ *
5134
+ * <h3>Example</h3>
5135
+ *
5136
+ *
5137
+ *
5138
+ *
5139
+ *
5140
+ * {
5141
+ * "condition": "user_is_logged_in",
5142
+ * "invert": false
5143
+ * }
5144
+ *
5145
+ *
5146
+ *
5147
+ */
5148
+ export interface SingleCondition3 {
5149
+ condition: string;
5150
+ invert?: boolean;
5151
+ params?: {
5152
+ [k: string]: unknown;
5153
+ };
5154
+ [k: string]: unknown;
5155
+ }
5043
5156
  /**
5044
5157
  *
5045
5158
  *
@@ -5077,7 +5190,7 @@ export interface I18NProperty38 {
5077
5190
  *
5078
5191
  */
5079
5192
  export interface CompositeCondition4 {
5080
- conditions?: (SingleCondition | CompositeCondition5)[];
5193
+ conditions?: (CompositeCondition5 | SingleCondition)[];
5081
5194
  type?: 'and' | 'AND' | 'or' | 'OR';
5082
5195
  [k: string]: unknown;
5083
5196
  }
@@ -5122,37 +5235,6 @@ export interface CompositeCondition5 {
5122
5235
  type?: 'and' | 'AND' | 'or' | 'OR';
5123
5236
  [k: string]: unknown;
5124
5237
  }
5125
- /**
5126
- *
5127
- *
5128
- * Single Conditions are either provided by the host application. See the complete documentation of
5129
- * [Conditions](../../conditions/) for more information.
5130
- *
5131
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5132
- * This is useful where you want to show the section if a certain condition is not satisfied.
5133
- *
5134
- * <h3>Example</h3>
5135
- *
5136
- *
5137
- *
5138
- *
5139
- *
5140
- * {
5141
- * "condition": "user_is_logged_in",
5142
- * "invert": false
5143
- * }
5144
- *
5145
- *
5146
- *
5147
- */
5148
- export interface SingleCondition3 {
5149
- condition: string;
5150
- invert?: boolean;
5151
- params?: {
5152
- [k: string]: unknown;
5153
- };
5154
- [k: string]: unknown;
5155
- }
5156
5238
  /**
5157
5239
  *
5158
5240
  *
@@ -6091,37 +6173,6 @@ export interface I18NProperty59 {
6091
6173
  i18n?: string;
6092
6174
  [k: string]: unknown;
6093
6175
  }
6094
- /**
6095
- *
6096
- *
6097
- * Single Conditions are either provided by the host application. See the complete documentation of
6098
- * [Conditions](../../conditions/) for more information.
6099
- *
6100
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6101
- * This is useful where you want to show the section if a certain condition is not satisfied.
6102
- *
6103
- * <h3>Example</h3>
6104
- *
6105
- *
6106
- *
6107
- *
6108
- *
6109
- * {
6110
- * "condition": "user_is_logged_in",
6111
- * "invert": false
6112
- * }
6113
- *
6114
- *
6115
- *
6116
- */
6117
- export interface SingleCondition4 {
6118
- condition: string;
6119
- invert?: boolean;
6120
- params?: {
6121
- [k: string]: unknown;
6122
- };
6123
- [k: string]: unknown;
6124
- }
6125
6176
  /**
6126
6177
  *
6127
6178
  *
@@ -6159,10 +6210,41 @@ export interface SingleCondition4 {
6159
6210
  *
6160
6211
  */
6161
6212
  export interface CompositeCondition6 {
6162
- conditions?: (SingleCondition | ManifestSchema)[];
6213
+ conditions?: (ManifestSchema | SingleCondition)[];
6163
6214
  type?: 'and' | 'AND' | 'or' | 'OR';
6164
6215
  [k: string]: unknown;
6165
6216
  }
6217
+ /**
6218
+ *
6219
+ *
6220
+ * Single Conditions are either provided by the host application. See the complete documentation of
6221
+ * [Conditions](../../conditions/) for more information.
6222
+ *
6223
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6224
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6225
+ *
6226
+ * <h3>Example</h3>
6227
+ *
6228
+ *
6229
+ *
6230
+ *
6231
+ *
6232
+ * {
6233
+ * "condition": "user_is_logged_in",
6234
+ * "invert": false
6235
+ * }
6236
+ *
6237
+ *
6238
+ *
6239
+ */
6240
+ export interface SingleCondition4 {
6241
+ condition: string;
6242
+ invert?: boolean;
6243
+ params?: {
6244
+ [k: string]: unknown;
6245
+ };
6246
+ [k: string]: unknown;
6247
+ }
6166
6248
  /**
6167
6249
  *
6168
6250
  *
@@ -6517,47 +6599,6 @@ export interface I18NProperty63 {
6517
6599
  i18n?: string;
6518
6600
  [k: string]: unknown;
6519
6601
  }
6520
- /**
6521
- *
6522
- *
6523
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6524
- * and a type attribute.
6525
- *
6526
- * <h3>Example</h3>
6527
- *
6528
- *
6529
- *
6530
- *
6531
- *
6532
- * {
6533
- * "conditions": [
6534
- * {
6535
- * "or": [
6536
- * {
6537
- * "condition": "can_attach_file_to_issue",
6538
- * "invert": false
6539
- * },
6540
- * {
6541
- * "condition": "is_issue_assigned_to_current_user",
6542
- * "invert": false
6543
- * }
6544
- * ]
6545
- * },
6546
- * {
6547
- * "condition": "user_is_logged_in",
6548
- * "invert": false
6549
- * }
6550
- * ]
6551
- * }
6552
- *
6553
- *
6554
- *
6555
- */
6556
- export interface CompositeCondition7 {
6557
- conditions?: (SingleCondition | ManifestSchema)[];
6558
- type?: 'and' | 'AND' | 'or' | 'OR';
6559
- [k: string]: unknown;
6560
- }
6561
6602
  /**
6562
6603
  *
6563
6604
  *
@@ -6589,6 +6630,47 @@ export interface SingleCondition5 {
6589
6630
  };
6590
6631
  [k: string]: unknown;
6591
6632
  }
6633
+ /**
6634
+ *
6635
+ *
6636
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6637
+ * and a type attribute.
6638
+ *
6639
+ * <h3>Example</h3>
6640
+ *
6641
+ *
6642
+ *
6643
+ *
6644
+ *
6645
+ * {
6646
+ * "conditions": [
6647
+ * {
6648
+ * "or": [
6649
+ * {
6650
+ * "condition": "can_attach_file_to_issue",
6651
+ * "invert": false
6652
+ * },
6653
+ * {
6654
+ * "condition": "is_issue_assigned_to_current_user",
6655
+ * "invert": false
6656
+ * }
6657
+ * ]
6658
+ * },
6659
+ * {
6660
+ * "condition": "user_is_logged_in",
6661
+ * "invert": false
6662
+ * }
6663
+ * ]
6664
+ * }
6665
+ *
6666
+ *
6667
+ *
6668
+ */
6669
+ export interface CompositeCondition7 {
6670
+ conditions?: (ManifestSchema | SingleCondition)[];
6671
+ type?: 'and' | 'AND' | 'or' | 'OR';
6672
+ [k: string]: unknown;
6673
+ }
6592
6674
  /**
6593
6675
  *
6594
6676
  *
@@ -8008,7 +8090,7 @@ export interface I18NProperty74 {
8008
8090
  *
8009
8091
  */
8010
8092
  export interface MacroPropertyPanel {
8011
- controls?: (ToggleGroup | TextControl | ButtonControl | ControlGroup)[];
8093
+ controls?: (ButtonControl | ControlGroup | TextControl | ToggleGroup)[];
8012
8094
  cacheable?: boolean;
8013
8095
  url: string;
8014
8096
  [k: string]: unknown;
@@ -8016,52 +8098,7 @@ export interface MacroPropertyPanel {
8016
8098
  /**
8017
8099
  *
8018
8100
  *
8019
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
8020
- *
8021
- * <p><b>Example</b></p>
8022
- *
8023
- *
8024
- *
8025
- *
8026
- *
8027
- * [
8028
- * {
8029
- * "type": "togglegroup",
8030
- * "macroParameter": "toggleGroupMacroParameter",
8031
- * "controls": [
8032
- * {
8033
- * "type": "togglebutton",
8034
- * "macroParameterValue": "macroParameterValue 0",
8035
- * "label": {
8036
- * "value": "My Custom Control 0"
8037
- * },
8038
- * "key": "my-custom-toggle-button-0"
8039
- * },
8040
- * {
8041
- * "type": "togglebutton",
8042
- * "macroParameterValue": "macroParameterValue 1",
8043
- * "label": {
8044
- * "value": "My Custom Control 1"
8045
- * },
8046
- * "key": "my-custom-toggle-button-1"
8047
- * }
8048
- * ]
8049
- * }
8050
- * ]
8051
- *
8052
- *
8053
- *
8054
- */
8055
- export interface ToggleGroup {
8056
- controls: ToggleButtonControl[];
8057
- macroParameter: string;
8058
- type: 'togglegroup' | 'TOGGLEGROUP';
8059
- [k: string]: unknown;
8060
- }
8061
- /**
8062
- *
8063
- *
8064
- * Defines a toggle button which appears inside a ToggleGroup
8101
+ * Defines a button which may appear in control extension points such as the property panel
8065
8102
  *
8066
8103
  * <p><b>Example</b></p>
8067
8104
  *
@@ -8070,21 +8107,19 @@ export interface ToggleGroup {
8070
8107
  *
8071
8108
  *
8072
8109
  * {
8073
- * "type": "togglebutton",
8074
- * "macroParameterValue": "macroParameterValue 0",
8110
+ * "type": "button",
8075
8111
  * "label": {
8076
8112
  * "value": "My Custom Control 0"
8077
8113
  * },
8078
- * "key": "my-custom-toggle-button-0"
8114
+ * "key": "my-custom-control-0"
8079
8115
  * }
8080
8116
  *
8081
8117
  *
8082
8118
  *
8083
8119
  */
8084
- export interface ToggleButtonControl {
8085
- macroParameterValue: string;
8120
+ export interface ButtonControl {
8086
8121
  label: I18NProperty75;
8087
- type: 'togglebutton' | 'TOGGLEBUTTON';
8122
+ type: 'button' | 'BUTTON';
8088
8123
  key: string;
8089
8124
  [k: string]: unknown;
8090
8125
  }
@@ -8115,7 +8150,7 @@ export interface I18NProperty75 {
8115
8150
  /**
8116
8151
  *
8117
8152
  *
8118
- * Defines a text field which may appear in control extension points such as the property panel
8153
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
8119
8154
  *
8120
8155
  * <p><b>Example</b></p>
8121
8156
  *
@@ -8123,21 +8158,34 @@ export interface I18NProperty75 {
8123
8158
  *
8124
8159
  *
8125
8160
  *
8126
- * {
8127
- * "type": "button",
8128
- * "label": {
8129
- * "value": "My Custom Control 0"
8130
- * },
8131
- * "key": "my-custom-control-0"
8132
- * }
8161
+ * [
8162
+ * {
8163
+ * "type": "group",
8164
+ * "controls": [
8165
+ * {
8166
+ * "type": "button",
8167
+ * "label": {
8168
+ * "value": "My Custom Control 0"
8169
+ * },
8170
+ * "key": "my-custom-control-0"
8171
+ * },
8172
+ * {
8173
+ * "type": "button",
8174
+ * "label": {
8175
+ * "value": "My Custom Control 1"
8176
+ * },
8177
+ * "key": "my-custom-control-1"
8178
+ * }
8179
+ * ]
8180
+ * }
8181
+ * ]
8133
8182
  *
8134
8183
  *
8135
8184
  *
8136
8185
  */
8137
- export interface TextControl {
8138
- macroParameter: string;
8139
- type: 'text' | 'TEXT';
8140
- key: string;
8186
+ export interface ControlGroup {
8187
+ controls: ButtonControl1[];
8188
+ type: 'group' | 'GROUP';
8141
8189
  [k: string]: unknown;
8142
8190
  }
8143
8191
  /**
@@ -8162,7 +8210,7 @@ export interface TextControl {
8162
8210
  *
8163
8211
  *
8164
8212
  */
8165
- export interface ButtonControl {
8213
+ export interface ButtonControl1 {
8166
8214
  label: I18NProperty76;
8167
8215
  type: 'button' | 'BUTTON';
8168
8216
  key: string;
@@ -8195,7 +8243,35 @@ export interface I18NProperty76 {
8195
8243
  /**
8196
8244
  *
8197
8245
  *
8198
- * Defines a ControlGroup which may appear in control extension points such as the property panel
8246
+ * Defines a text field which may appear in control extension points such as the property panel
8247
+ *
8248
+ * <p><b>Example</b></p>
8249
+ *
8250
+ *
8251
+ *
8252
+ *
8253
+ *
8254
+ * {
8255
+ * "type": "button",
8256
+ * "label": {
8257
+ * "value": "My Custom Control 0"
8258
+ * },
8259
+ * "key": "my-custom-control-0"
8260
+ * }
8261
+ *
8262
+ *
8263
+ *
8264
+ */
8265
+ export interface TextControl {
8266
+ macroParameter: string;
8267
+ type: 'text' | 'TEXT';
8268
+ key: string;
8269
+ [k: string]: unknown;
8270
+ }
8271
+ /**
8272
+ *
8273
+ *
8274
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
8199
8275
  *
8200
8276
  * <p><b>Example</b></p>
8201
8277
  *
@@ -8205,21 +8281,24 @@ export interface I18NProperty76 {
8205
8281
  *
8206
8282
  * [
8207
8283
  * {
8208
- * "type": "group",
8284
+ * "type": "togglegroup",
8285
+ * "macroParameter": "toggleGroupMacroParameter",
8209
8286
  * "controls": [
8210
8287
  * {
8211
- * "type": "button",
8288
+ * "type": "togglebutton",
8289
+ * "macroParameterValue": "macroParameterValue 0",
8212
8290
  * "label": {
8213
8291
  * "value": "My Custom Control 0"
8214
8292
  * },
8215
- * "key": "my-custom-control-0"
8293
+ * "key": "my-custom-toggle-button-0"
8216
8294
  * },
8217
8295
  * {
8218
- * "type": "button",
8296
+ * "type": "togglebutton",
8297
+ * "macroParameterValue": "macroParameterValue 1",
8219
8298
  * "label": {
8220
8299
  * "value": "My Custom Control 1"
8221
8300
  * },
8222
- * "key": "my-custom-control-1"
8301
+ * "key": "my-custom-toggle-button-1"
8223
8302
  * }
8224
8303
  * ]
8225
8304
  * }
@@ -8228,15 +8307,16 @@ export interface I18NProperty76 {
8228
8307
  *
8229
8308
  *
8230
8309
  */
8231
- export interface ControlGroup {
8232
- controls: ButtonControl1[];
8233
- type: 'group' | 'GROUP';
8310
+ export interface ToggleGroup {
8311
+ controls: ToggleButtonControl[];
8312
+ macroParameter: string;
8313
+ type: 'togglegroup' | 'TOGGLEGROUP';
8234
8314
  [k: string]: unknown;
8235
8315
  }
8236
8316
  /**
8237
8317
  *
8238
8318
  *
8239
- * Defines a button which may appear in control extension points such as the property panel
8319
+ * Defines a toggle button which appears inside a ToggleGroup
8240
8320
  *
8241
8321
  * <p><b>Example</b></p>
8242
8322
  *
@@ -8245,19 +8325,21 @@ export interface ControlGroup {
8245
8325
  *
8246
8326
  *
8247
8327
  * {
8248
- * "type": "button",
8328
+ * "type": "togglebutton",
8329
+ * "macroParameterValue": "macroParameterValue 0",
8249
8330
  * "label": {
8250
8331
  * "value": "My Custom Control 0"
8251
8332
  * },
8252
- * "key": "my-custom-control-0"
8333
+ * "key": "my-custom-toggle-button-0"
8253
8334
  * }
8254
8335
  *
8255
8336
  *
8256
8337
  *
8257
8338
  */
8258
- export interface ButtonControl1 {
8339
+ export interface ToggleButtonControl {
8340
+ macroParameterValue: string;
8259
8341
  label: I18NProperty77;
8260
- type: 'button' | 'BUTTON';
8342
+ type: 'togglebutton' | 'TOGGLEBUTTON';
8261
8343
  key: string;
8262
8344
  [k: string]: unknown;
8263
8345
  }
@@ -29253,11 +29335,39 @@ export interface I18NProperty83 {
29253
29335
  *
29254
29336
  */
29255
29337
  export interface MacroPropertyPanel1 {
29256
- controls?: (ButtonControl2 | ControlGroup1 | ToggleGroup1 | TextControl1)[];
29338
+ controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
29257
29339
  cacheable?: boolean;
29258
29340
  url: string;
29259
29341
  [k: string]: unknown;
29260
29342
  }
29343
+ /**
29344
+ *
29345
+ *
29346
+ * Defines a text field which may appear in control extension points such as the property panel
29347
+ *
29348
+ * <p><b>Example</b></p>
29349
+ *
29350
+ *
29351
+ *
29352
+ *
29353
+ *
29354
+ * {
29355
+ * "type": "button",
29356
+ * "label": {
29357
+ * "value": "My Custom Control 0"
29358
+ * },
29359
+ * "key": "my-custom-control-0"
29360
+ * }
29361
+ *
29362
+ *
29363
+ *
29364
+ */
29365
+ export interface TextControl1 {
29366
+ macroParameter: string;
29367
+ type: 'text' | 'TEXT';
29368
+ key: string;
29369
+ [k: string]: unknown;
29370
+ }
29261
29371
  /**
29262
29372
  *
29263
29373
  *
@@ -29502,34 +29612,6 @@ export interface I18NProperty86 {
29502
29612
  i18n?: string;
29503
29613
  [k: string]: unknown;
29504
29614
  }
29505
- /**
29506
- *
29507
- *
29508
- * Defines a text field which may appear in control extension points such as the property panel
29509
- *
29510
- * <p><b>Example</b></p>
29511
- *
29512
- *
29513
- *
29514
- *
29515
- *
29516
- * {
29517
- * "type": "button",
29518
- * "label": {
29519
- * "value": "My Custom Control 0"
29520
- * },
29521
- * "key": "my-custom-control-0"
29522
- * }
29523
- *
29524
- *
29525
- *
29526
- */
29527
- export interface TextControl1 {
29528
- macroParameter: string;
29529
- type: 'text' | 'TEXT';
29530
- key: string;
29531
- [k: string]: unknown;
29532
- }
29533
29615
  /**
29534
29616
  *
29535
29617
  *
@@ -50379,10 +50461,74 @@ export interface I18NProperty91 {
50379
50461
  *
50380
50462
  */
50381
50463
  export interface WebItemTarget2 {
50382
- options?: DialogOptions4 | DialogModuleOptions2 | InlineDialogOptions2;
50464
+ options?: DialogModuleOptions2 | InlineDialogOptions2 | DialogOptions4;
50383
50465
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
50384
50466
  [k: string]: unknown;
50385
50467
  }
50468
+ /**
50469
+ *
50470
+ *
50471
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
50472
+ *
50473
+ * <h3>Example</h3>
50474
+ *
50475
+ *
50476
+ *
50477
+ *
50478
+ *
50479
+ * {
50480
+ * "target": {
50481
+ * "type": "dialogmodule",
50482
+ * "options": {
50483
+ * "key": "dialog-module-key"
50484
+ * }
50485
+ * }
50486
+ * }
50487
+ *
50488
+ *
50489
+ *
50490
+ */
50491
+ export interface DialogModuleOptions2 {
50492
+ key: string;
50493
+ [k: string]: unknown;
50494
+ }
50495
+ /**
50496
+ *
50497
+ *
50498
+ * Options for an inline dialog target
50499
+ *
50500
+ * <h3>Example</h3>
50501
+ *
50502
+ *
50503
+ *
50504
+ *
50505
+ *
50506
+ * {
50507
+ * "target": {
50508
+ * "type": "inlinedialog",
50509
+ * "options": {
50510
+ * "onHover": true,
50511
+ * "offsetX": "30px",
50512
+ * "offsetY": "20px"
50513
+ * }
50514
+ * }
50515
+ * }
50516
+ *
50517
+ *
50518
+ *
50519
+ */
50520
+ export interface InlineDialogOptions2 {
50521
+ offsetX?: string;
50522
+ offsetY?: string;
50523
+ width?: string;
50524
+ onTop?: boolean;
50525
+ showDelay?: number;
50526
+ closeOthers?: boolean;
50527
+ persistent?: boolean;
50528
+ onHover?: boolean;
50529
+ isRelativeToMouse?: boolean;
50530
+ [k: string]: unknown;
50531
+ }
50386
50532
  /**
50387
50533
  *
50388
50534
  *
@@ -50481,70 +50627,6 @@ export interface I18NProperty92 {
50481
50627
  i18n?: string;
50482
50628
  [k: string]: unknown;
50483
50629
  }
50484
- /**
50485
- *
50486
- *
50487
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
50488
- *
50489
- * <h3>Example</h3>
50490
- *
50491
- *
50492
- *
50493
- *
50494
- *
50495
- * {
50496
- * "target": {
50497
- * "type": "dialogmodule",
50498
- * "options": {
50499
- * "key": "dialog-module-key"
50500
- * }
50501
- * }
50502
- * }
50503
- *
50504
- *
50505
- *
50506
- */
50507
- export interface DialogModuleOptions2 {
50508
- key: string;
50509
- [k: string]: unknown;
50510
- }
50511
- /**
50512
- *
50513
- *
50514
- * Options for an inline dialog target
50515
- *
50516
- * <h3>Example</h3>
50517
- *
50518
- *
50519
- *
50520
- *
50521
- *
50522
- * {
50523
- * "target": {
50524
- * "type": "inlinedialog",
50525
- * "options": {
50526
- * "onHover": true,
50527
- * "offsetX": "30px",
50528
- * "offsetY": "20px"
50529
- * }
50530
- * }
50531
- * }
50532
- *
50533
- *
50534
- *
50535
- */
50536
- export interface InlineDialogOptions2 {
50537
- offsetX?: string;
50538
- offsetY?: string;
50539
- width?: string;
50540
- onTop?: boolean;
50541
- showDelay?: number;
50542
- closeOthers?: boolean;
50543
- persistent?: boolean;
50544
- onHover?: boolean;
50545
- isRelativeToMouse?: boolean;
50546
- [k: string]: unknown;
50547
- }
50548
50630
  /**
50549
50631
  *
50550
50632
  *