@forge/manifest 3.4.0-next.6 → 3.4.0-next.9
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.
- package/CHANGELOG.md +18 -0
- package/out/schema/manifest-schema.json +379 -348
- package/out/schema/manifest.d.ts +424 -408
- package/out/text/errors.d.ts +4 -1
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +4 -1
- package/out/types/module-types.d.ts +1 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +1 -0
- package/out/validators/modules-validator.d.ts.map +1 -1
- package/out/validators/modules-validator.js +8 -3
- package/package.json +1 -1
package/out/schema/manifest.d.ts
CHANGED
|
@@ -2131,6 +2131,22 @@ export interface Modules {
|
|
|
2131
2131
|
}
|
|
2132
2132
|
)[]
|
|
2133
2133
|
];
|
|
2134
|
+
'jira:workflowCondition'?: [
|
|
2135
|
+
{
|
|
2136
|
+
name: string;
|
|
2137
|
+
description: string;
|
|
2138
|
+
expression: string;
|
|
2139
|
+
key: ModuleKeySchema;
|
|
2140
|
+
[k: string]: unknown;
|
|
2141
|
+
},
|
|
2142
|
+
...{
|
|
2143
|
+
name: string;
|
|
2144
|
+
description: string;
|
|
2145
|
+
expression: string;
|
|
2146
|
+
key: ModuleKeySchema;
|
|
2147
|
+
[k: string]: unknown;
|
|
2148
|
+
}[]
|
|
2149
|
+
];
|
|
2134
2150
|
'compass:adminPage'?: [
|
|
2135
2151
|
(
|
|
2136
2152
|
| {
|
|
@@ -2799,7 +2815,7 @@ export interface Modules {
|
|
|
2799
2815
|
fullPage?: boolean;
|
|
2800
2816
|
cacheable?: boolean;
|
|
2801
2817
|
location?: string;
|
|
2802
|
-
conditions?: (
|
|
2818
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2803
2819
|
params?: {
|
|
2804
2820
|
[k: string]: unknown;
|
|
2805
2821
|
};
|
|
@@ -2814,7 +2830,7 @@ export interface Modules {
|
|
|
2814
2830
|
fullPage?: boolean;
|
|
2815
2831
|
cacheable?: boolean;
|
|
2816
2832
|
location?: string;
|
|
2817
|
-
conditions?: (
|
|
2833
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2818
2834
|
params?: {
|
|
2819
2835
|
[k: string]: unknown;
|
|
2820
2836
|
};
|
|
@@ -2832,7 +2848,7 @@ export interface Modules {
|
|
|
2832
2848
|
location?: string;
|
|
2833
2849
|
cacheable?: boolean;
|
|
2834
2850
|
supportsNative?: boolean;
|
|
2835
|
-
conditions?: (
|
|
2851
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2836
2852
|
params?: {
|
|
2837
2853
|
[k: string]: unknown;
|
|
2838
2854
|
};
|
|
@@ -2848,7 +2864,7 @@ export interface Modules {
|
|
|
2848
2864
|
location?: string;
|
|
2849
2865
|
cacheable?: boolean;
|
|
2850
2866
|
supportsNative?: boolean;
|
|
2851
|
-
conditions?: (
|
|
2867
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2852
2868
|
params?: {
|
|
2853
2869
|
[k: string]: unknown;
|
|
2854
2870
|
};
|
|
@@ -2886,7 +2902,7 @@ export interface Modules {
|
|
|
2886
2902
|
weight?: number;
|
|
2887
2903
|
cacheable?: boolean;
|
|
2888
2904
|
location?: string;
|
|
2889
|
-
conditions?: (
|
|
2905
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2890
2906
|
params?: {
|
|
2891
2907
|
[k: string]: unknown;
|
|
2892
2908
|
};
|
|
@@ -2900,7 +2916,7 @@ export interface Modules {
|
|
|
2900
2916
|
weight?: number;
|
|
2901
2917
|
cacheable?: boolean;
|
|
2902
2918
|
location?: string;
|
|
2903
|
-
conditions?: (
|
|
2919
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2904
2920
|
params?: {
|
|
2905
2921
|
[k: string]: unknown;
|
|
2906
2922
|
};
|
|
@@ -2915,7 +2931,7 @@ export interface Modules {
|
|
|
2915
2931
|
name?: I18NProperty6;
|
|
2916
2932
|
weight?: number;
|
|
2917
2933
|
location?: string;
|
|
2918
|
-
conditions?: (
|
|
2934
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2919
2935
|
params?: {
|
|
2920
2936
|
[k: string]: unknown;
|
|
2921
2937
|
};
|
|
@@ -2927,7 +2943,7 @@ export interface Modules {
|
|
|
2927
2943
|
name?: I18NProperty6;
|
|
2928
2944
|
weight?: number;
|
|
2929
2945
|
location?: string;
|
|
2930
|
-
conditions?: (
|
|
2946
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2931
2947
|
params?: {
|
|
2932
2948
|
[k: string]: unknown;
|
|
2933
2949
|
};
|
|
@@ -2942,7 +2958,7 @@ export interface Modules {
|
|
|
2942
2958
|
weight?: number;
|
|
2943
2959
|
cacheable?: boolean;
|
|
2944
2960
|
location?: string;
|
|
2945
|
-
conditions?: (
|
|
2961
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2946
2962
|
params?: {
|
|
2947
2963
|
[k: string]: unknown;
|
|
2948
2964
|
};
|
|
@@ -2956,7 +2972,7 @@ export interface Modules {
|
|
|
2956
2972
|
weight?: number;
|
|
2957
2973
|
cacheable?: boolean;
|
|
2958
2974
|
location?: string;
|
|
2959
|
-
conditions?: (
|
|
2975
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2960
2976
|
params?: {
|
|
2961
2977
|
[k: string]: unknown;
|
|
2962
2978
|
};
|
|
@@ -3011,7 +3027,7 @@ export interface Modules {
|
|
|
3011
3027
|
fullPage?: boolean;
|
|
3012
3028
|
cacheable?: boolean;
|
|
3013
3029
|
location?: string;
|
|
3014
|
-
conditions?: (
|
|
3030
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3015
3031
|
params?: {
|
|
3016
3032
|
[k: string]: unknown;
|
|
3017
3033
|
};
|
|
@@ -3026,7 +3042,7 @@ export interface Modules {
|
|
|
3026
3042
|
fullPage?: boolean;
|
|
3027
3043
|
cacheable?: boolean;
|
|
3028
3044
|
location?: string;
|
|
3029
|
-
conditions?: (
|
|
3045
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3030
3046
|
params?: {
|
|
3031
3047
|
[k: string]: unknown;
|
|
3032
3048
|
};
|
|
@@ -3106,7 +3122,7 @@ export interface Modules {
|
|
|
3106
3122
|
| 'TIME_TRACKING'
|
|
3107
3123
|
| 'other'
|
|
3108
3124
|
| 'OTHER';
|
|
3109
|
-
conditions?: (
|
|
3125
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3110
3126
|
key: ModuleKeySchema;
|
|
3111
3127
|
[k: string]: unknown;
|
|
3112
3128
|
},
|
|
@@ -3128,7 +3144,7 @@ export interface Modules {
|
|
|
3128
3144
|
| 'TIME_TRACKING'
|
|
3129
3145
|
| 'other'
|
|
3130
3146
|
| 'OTHER';
|
|
3131
|
-
conditions?: (
|
|
3147
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3132
3148
|
key: ModuleKeySchema;
|
|
3133
3149
|
[k: string]: unknown;
|
|
3134
3150
|
}[]
|
|
@@ -3236,7 +3252,7 @@ export interface Modules {
|
|
|
3236
3252
|
name?: I18NProperty20;
|
|
3237
3253
|
weight?: number;
|
|
3238
3254
|
iconUrl?: string;
|
|
3239
|
-
conditions?: (
|
|
3255
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3240
3256
|
url?: string;
|
|
3241
3257
|
key: ModuleKeySchema;
|
|
3242
3258
|
[k: string]: unknown;
|
|
@@ -3245,7 +3261,7 @@ export interface Modules {
|
|
|
3245
3261
|
name?: I18NProperty20;
|
|
3246
3262
|
weight?: number;
|
|
3247
3263
|
iconUrl?: string;
|
|
3248
|
-
conditions?: (
|
|
3264
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3249
3265
|
url?: string;
|
|
3250
3266
|
key: ModuleKeySchema;
|
|
3251
3267
|
[k: string]: unknown;
|
|
@@ -3348,9 +3364,9 @@ export interface Modules {
|
|
|
3348
3364
|
icon?: Icon6;
|
|
3349
3365
|
tooltip?: I18NProperty29;
|
|
3350
3366
|
name?: I18NProperty30;
|
|
3351
|
-
conditions?: (
|
|
3367
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3352
3368
|
target?: IssuePageTargetWebPanel;
|
|
3353
|
-
contentPresentConditions?: (
|
|
3369
|
+
contentPresentConditions?: (CompositeCondition | SingleCondition)[];
|
|
3354
3370
|
jiraNativeAppsEnabled?: boolean;
|
|
3355
3371
|
key: ModuleKeySchema;
|
|
3356
3372
|
[k: string]: unknown;
|
|
@@ -3359,9 +3375,9 @@ export interface Modules {
|
|
|
3359
3375
|
icon?: Icon6;
|
|
3360
3376
|
tooltip?: I18NProperty29;
|
|
3361
3377
|
name?: I18NProperty30;
|
|
3362
|
-
conditions?: (
|
|
3378
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3363
3379
|
target?: IssuePageTargetWebPanel;
|
|
3364
|
-
contentPresentConditions?: (
|
|
3380
|
+
contentPresentConditions?: (CompositeCondition | SingleCondition)[];
|
|
3365
3381
|
jiraNativeAppsEnabled?: boolean;
|
|
3366
3382
|
key: ModuleKeySchema;
|
|
3367
3383
|
[k: string]: unknown;
|
|
@@ -3393,7 +3409,7 @@ export interface Modules {
|
|
|
3393
3409
|
{
|
|
3394
3410
|
name?: I18NProperty33;
|
|
3395
3411
|
weight?: number;
|
|
3396
|
-
conditions?: (
|
|
3412
|
+
conditions?: (SingleCondition2 | CompositeCondition2)[];
|
|
3397
3413
|
params?: {
|
|
3398
3414
|
[k: string]: unknown;
|
|
3399
3415
|
};
|
|
@@ -3404,7 +3420,7 @@ export interface Modules {
|
|
|
3404
3420
|
...{
|
|
3405
3421
|
name?: I18NProperty33;
|
|
3406
3422
|
weight?: number;
|
|
3407
|
-
conditions?: (
|
|
3423
|
+
conditions?: (SingleCondition2 | CompositeCondition2)[];
|
|
3408
3424
|
params?: {
|
|
3409
3425
|
[k: string]: unknown;
|
|
3410
3426
|
};
|
|
@@ -3485,7 +3501,7 @@ export interface Modules {
|
|
|
3485
3501
|
{
|
|
3486
3502
|
name?: I18NProperty38;
|
|
3487
3503
|
weight?: number;
|
|
3488
|
-
conditions?: (
|
|
3504
|
+
conditions?: (SingleCondition3 | CompositeCondition4)[];
|
|
3489
3505
|
params?: {
|
|
3490
3506
|
[k: string]: unknown;
|
|
3491
3507
|
};
|
|
@@ -3496,7 +3512,7 @@ export interface Modules {
|
|
|
3496
3512
|
...{
|
|
3497
3513
|
name?: I18NProperty38;
|
|
3498
3514
|
weight?: number;
|
|
3499
|
-
conditions?: (
|
|
3515
|
+
conditions?: (SingleCondition3 | CompositeCondition4)[];
|
|
3500
3516
|
params?: {
|
|
3501
3517
|
[k: string]: unknown;
|
|
3502
3518
|
};
|
|
@@ -3617,7 +3633,7 @@ export interface Modules {
|
|
|
3617
3633
|
expression?: string;
|
|
3618
3634
|
edit?: URL8;
|
|
3619
3635
|
evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
|
|
3620
|
-
errorMessage?:
|
|
3636
|
+
errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
|
|
3621
3637
|
name?: I18NProperty46;
|
|
3622
3638
|
description?: I18NProperty47;
|
|
3623
3639
|
create?: URL9;
|
|
@@ -3629,7 +3645,7 @@ export interface Modules {
|
|
|
3629
3645
|
expression?: string;
|
|
3630
3646
|
edit?: URL8;
|
|
3631
3647
|
evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
|
|
3632
|
-
errorMessage?:
|
|
3648
|
+
errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
|
|
3633
3649
|
name?: I18NProperty46;
|
|
3634
3650
|
description?: I18NProperty47;
|
|
3635
3651
|
create?: URL9;
|
|
@@ -3760,7 +3776,7 @@ export interface Modules {
|
|
|
3760
3776
|
location?: string;
|
|
3761
3777
|
cacheable?: boolean;
|
|
3762
3778
|
supportsNative?: boolean;
|
|
3763
|
-
conditions?: (
|
|
3779
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3764
3780
|
params?: {
|
|
3765
3781
|
[k: string]: unknown;
|
|
3766
3782
|
};
|
|
@@ -3776,7 +3792,7 @@ export interface Modules {
|
|
|
3776
3792
|
location?: string;
|
|
3777
3793
|
cacheable?: boolean;
|
|
3778
3794
|
supportsNative?: boolean;
|
|
3779
|
-
conditions?: (
|
|
3795
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3780
3796
|
params?: {
|
|
3781
3797
|
[k: string]: unknown;
|
|
3782
3798
|
};
|
|
@@ -3790,7 +3806,7 @@ export interface Modules {
|
|
|
3790
3806
|
filter?: string;
|
|
3791
3807
|
excludeBody?: boolean;
|
|
3792
3808
|
event?: string;
|
|
3793
|
-
conditions?: (
|
|
3809
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3794
3810
|
propertyKeys?: string[];
|
|
3795
3811
|
url?: string;
|
|
3796
3812
|
key: ModuleKeySchema;
|
|
@@ -3800,7 +3816,7 @@ export interface Modules {
|
|
|
3800
3816
|
filter?: string;
|
|
3801
3817
|
excludeBody?: boolean;
|
|
3802
3818
|
event?: string;
|
|
3803
|
-
conditions?: (
|
|
3819
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3804
3820
|
propertyKeys?: string[];
|
|
3805
3821
|
url?: string;
|
|
3806
3822
|
key: ModuleKeySchema;
|
|
@@ -4212,7 +4228,7 @@ export interface Modules {
|
|
|
4212
4228
|
icon?: Icon18;
|
|
4213
4229
|
name?: I18NProperty91;
|
|
4214
4230
|
cacheable?: boolean;
|
|
4215
|
-
conditions?: (
|
|
4231
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4216
4232
|
params?: {
|
|
4217
4233
|
[k: string]: unknown;
|
|
4218
4234
|
};
|
|
@@ -4228,7 +4244,7 @@ export interface Modules {
|
|
|
4228
4244
|
icon?: Icon18;
|
|
4229
4245
|
name?: I18NProperty91;
|
|
4230
4246
|
cacheable?: boolean;
|
|
4231
|
-
conditions?: (
|
|
4247
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4232
4248
|
params?: {
|
|
4233
4249
|
[k: string]: unknown;
|
|
4234
4250
|
};
|
|
@@ -4410,37 +4426,6 @@ export interface I18NProperty1 {
|
|
|
4410
4426
|
i18n?: string;
|
|
4411
4427
|
[k: string]: unknown;
|
|
4412
4428
|
}
|
|
4413
|
-
/**
|
|
4414
|
-
*
|
|
4415
|
-
*
|
|
4416
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
4417
|
-
* [Conditions](../../conditions/) for more information.
|
|
4418
|
-
*
|
|
4419
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
4420
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
4421
|
-
*
|
|
4422
|
-
* <h3>Example</h3>
|
|
4423
|
-
*
|
|
4424
|
-
*
|
|
4425
|
-
*
|
|
4426
|
-
*
|
|
4427
|
-
*
|
|
4428
|
-
* {
|
|
4429
|
-
* "condition": "user_is_logged_in",
|
|
4430
|
-
* "invert": false
|
|
4431
|
-
* }
|
|
4432
|
-
*
|
|
4433
|
-
*
|
|
4434
|
-
*
|
|
4435
|
-
*/
|
|
4436
|
-
export interface SingleCondition {
|
|
4437
|
-
condition: string;
|
|
4438
|
-
invert?: boolean;
|
|
4439
|
-
params?: {
|
|
4440
|
-
[k: string]: unknown;
|
|
4441
|
-
};
|
|
4442
|
-
[k: string]: unknown;
|
|
4443
|
-
}
|
|
4444
4429
|
/**
|
|
4445
4430
|
*
|
|
4446
4431
|
*
|
|
@@ -4478,10 +4463,41 @@ export interface SingleCondition {
|
|
|
4478
4463
|
*
|
|
4479
4464
|
*/
|
|
4480
4465
|
export interface CompositeCondition {
|
|
4481
|
-
conditions?: (
|
|
4466
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
4482
4467
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
4483
4468
|
[k: string]: unknown;
|
|
4484
4469
|
}
|
|
4470
|
+
/**
|
|
4471
|
+
*
|
|
4472
|
+
*
|
|
4473
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
4474
|
+
* [Conditions](../../conditions/) for more information.
|
|
4475
|
+
*
|
|
4476
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
4477
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
4478
|
+
*
|
|
4479
|
+
* <h3>Example</h3>
|
|
4480
|
+
*
|
|
4481
|
+
*
|
|
4482
|
+
*
|
|
4483
|
+
*
|
|
4484
|
+
*
|
|
4485
|
+
* {
|
|
4486
|
+
* "condition": "user_is_logged_in",
|
|
4487
|
+
* "invert": false
|
|
4488
|
+
* }
|
|
4489
|
+
*
|
|
4490
|
+
*
|
|
4491
|
+
*
|
|
4492
|
+
*/
|
|
4493
|
+
export interface SingleCondition {
|
|
4494
|
+
condition: string;
|
|
4495
|
+
invert?: boolean;
|
|
4496
|
+
params?: {
|
|
4497
|
+
[k: string]: unknown;
|
|
4498
|
+
};
|
|
4499
|
+
[k: string]: unknown;
|
|
4500
|
+
}
|
|
4485
4501
|
/**
|
|
4486
4502
|
*
|
|
4487
4503
|
*
|
|
@@ -4825,10 +4841,74 @@ export interface Icon3 {
|
|
|
4825
4841
|
*
|
|
4826
4842
|
*/
|
|
4827
4843
|
export interface WebItemTarget {
|
|
4828
|
-
options?:
|
|
4844
|
+
options?: InlineDialogOptions | DialogModuleOptions | DialogOptions;
|
|
4829
4845
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
4830
4846
|
[k: string]: unknown;
|
|
4831
4847
|
}
|
|
4848
|
+
/**
|
|
4849
|
+
*
|
|
4850
|
+
*
|
|
4851
|
+
* Options for an inline dialog target
|
|
4852
|
+
*
|
|
4853
|
+
* <h3>Example</h3>
|
|
4854
|
+
*
|
|
4855
|
+
*
|
|
4856
|
+
*
|
|
4857
|
+
*
|
|
4858
|
+
*
|
|
4859
|
+
* {
|
|
4860
|
+
* "target": {
|
|
4861
|
+
* "type": "inlinedialog",
|
|
4862
|
+
* "options": {
|
|
4863
|
+
* "onHover": true,
|
|
4864
|
+
* "offsetX": "30px",
|
|
4865
|
+
* "offsetY": "20px"
|
|
4866
|
+
* }
|
|
4867
|
+
* }
|
|
4868
|
+
* }
|
|
4869
|
+
*
|
|
4870
|
+
*
|
|
4871
|
+
*
|
|
4872
|
+
*/
|
|
4873
|
+
export interface InlineDialogOptions {
|
|
4874
|
+
offsetX?: string;
|
|
4875
|
+
offsetY?: string;
|
|
4876
|
+
width?: string;
|
|
4877
|
+
onTop?: boolean;
|
|
4878
|
+
showDelay?: number;
|
|
4879
|
+
closeOthers?: boolean;
|
|
4880
|
+
persistent?: boolean;
|
|
4881
|
+
onHover?: boolean;
|
|
4882
|
+
isRelativeToMouse?: boolean;
|
|
4883
|
+
[k: string]: unknown;
|
|
4884
|
+
}
|
|
4885
|
+
/**
|
|
4886
|
+
*
|
|
4887
|
+
*
|
|
4888
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
4889
|
+
*
|
|
4890
|
+
* <h3>Example</h3>
|
|
4891
|
+
*
|
|
4892
|
+
*
|
|
4893
|
+
*
|
|
4894
|
+
*
|
|
4895
|
+
*
|
|
4896
|
+
* {
|
|
4897
|
+
* "target": {
|
|
4898
|
+
* "type": "dialogmodule",
|
|
4899
|
+
* "options": {
|
|
4900
|
+
* "key": "dialog-module-key"
|
|
4901
|
+
* }
|
|
4902
|
+
* }
|
|
4903
|
+
* }
|
|
4904
|
+
*
|
|
4905
|
+
*
|
|
4906
|
+
*
|
|
4907
|
+
*/
|
|
4908
|
+
export interface DialogModuleOptions {
|
|
4909
|
+
key: string;
|
|
4910
|
+
[k: string]: unknown;
|
|
4911
|
+
}
|
|
4832
4912
|
/**
|
|
4833
4913
|
*
|
|
4834
4914
|
*
|
|
@@ -4927,70 +5007,6 @@ export interface I18NProperty9 {
|
|
|
4927
5007
|
i18n?: string;
|
|
4928
5008
|
[k: string]: unknown;
|
|
4929
5009
|
}
|
|
4930
|
-
/**
|
|
4931
|
-
*
|
|
4932
|
-
*
|
|
4933
|
-
* Options for an inline dialog target
|
|
4934
|
-
*
|
|
4935
|
-
* <h3>Example</h3>
|
|
4936
|
-
*
|
|
4937
|
-
*
|
|
4938
|
-
*
|
|
4939
|
-
*
|
|
4940
|
-
*
|
|
4941
|
-
* {
|
|
4942
|
-
* "target": {
|
|
4943
|
-
* "type": "inlinedialog",
|
|
4944
|
-
* "options": {
|
|
4945
|
-
* "onHover": true,
|
|
4946
|
-
* "offsetX": "30px",
|
|
4947
|
-
* "offsetY": "20px"
|
|
4948
|
-
* }
|
|
4949
|
-
* }
|
|
4950
|
-
* }
|
|
4951
|
-
*
|
|
4952
|
-
*
|
|
4953
|
-
*
|
|
4954
|
-
*/
|
|
4955
|
-
export interface InlineDialogOptions {
|
|
4956
|
-
offsetX?: string;
|
|
4957
|
-
offsetY?: string;
|
|
4958
|
-
width?: string;
|
|
4959
|
-
onTop?: boolean;
|
|
4960
|
-
showDelay?: number;
|
|
4961
|
-
closeOthers?: boolean;
|
|
4962
|
-
persistent?: boolean;
|
|
4963
|
-
onHover?: boolean;
|
|
4964
|
-
isRelativeToMouse?: boolean;
|
|
4965
|
-
[k: string]: unknown;
|
|
4966
|
-
}
|
|
4967
|
-
/**
|
|
4968
|
-
*
|
|
4969
|
-
*
|
|
4970
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
4971
|
-
*
|
|
4972
|
-
* <h3>Example</h3>
|
|
4973
|
-
*
|
|
4974
|
-
*
|
|
4975
|
-
*
|
|
4976
|
-
*
|
|
4977
|
-
*
|
|
4978
|
-
* {
|
|
4979
|
-
* "target": {
|
|
4980
|
-
* "type": "dialogmodule",
|
|
4981
|
-
* "options": {
|
|
4982
|
-
* "key": "dialog-module-key"
|
|
4983
|
-
* }
|
|
4984
|
-
* }
|
|
4985
|
-
* }
|
|
4986
|
-
*
|
|
4987
|
-
*
|
|
4988
|
-
*
|
|
4989
|
-
*/
|
|
4990
|
-
export interface DialogModuleOptions {
|
|
4991
|
-
key: string;
|
|
4992
|
-
[k: string]: unknown;
|
|
4993
|
-
}
|
|
4994
5010
|
/**
|
|
4995
5011
|
*
|
|
4996
5012
|
*
|
|
@@ -5989,6 +6005,37 @@ export interface I18NProperty33 {
|
|
|
5989
6005
|
i18n?: string;
|
|
5990
6006
|
[k: string]: unknown;
|
|
5991
6007
|
}
|
|
6008
|
+
/**
|
|
6009
|
+
*
|
|
6010
|
+
*
|
|
6011
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6012
|
+
* [Conditions](../../conditions/) for more information.
|
|
6013
|
+
*
|
|
6014
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6015
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6016
|
+
*
|
|
6017
|
+
* <h3>Example</h3>
|
|
6018
|
+
*
|
|
6019
|
+
*
|
|
6020
|
+
*
|
|
6021
|
+
*
|
|
6022
|
+
*
|
|
6023
|
+
* {
|
|
6024
|
+
* "condition": "user_is_logged_in",
|
|
6025
|
+
* "invert": false
|
|
6026
|
+
* }
|
|
6027
|
+
*
|
|
6028
|
+
*
|
|
6029
|
+
*
|
|
6030
|
+
*/
|
|
6031
|
+
export interface SingleCondition2 {
|
|
6032
|
+
condition: string;
|
|
6033
|
+
invert?: boolean;
|
|
6034
|
+
params?: {
|
|
6035
|
+
[k: string]: unknown;
|
|
6036
|
+
};
|
|
6037
|
+
[k: string]: unknown;
|
|
6038
|
+
}
|
|
5992
6039
|
/**
|
|
5993
6040
|
*
|
|
5994
6041
|
*
|
|
@@ -6026,7 +6073,7 @@ export interface I18NProperty33 {
|
|
|
6026
6073
|
*
|
|
6027
6074
|
*/
|
|
6028
6075
|
export interface CompositeCondition2 {
|
|
6029
|
-
conditions?: (
|
|
6076
|
+
conditions?: (SingleCondition | CompositeCondition3)[];
|
|
6030
6077
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6031
6078
|
[k: string]: unknown;
|
|
6032
6079
|
}
|
|
@@ -6067,41 +6114,10 @@ export interface CompositeCondition2 {
|
|
|
6067
6114
|
*
|
|
6068
6115
|
*/
|
|
6069
6116
|
export interface CompositeCondition3 {
|
|
6070
|
-
conditions?: (
|
|
6117
|
+
conditions?: (SingleCondition | ManifestSchema)[];
|
|
6071
6118
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6072
6119
|
[k: string]: unknown;
|
|
6073
6120
|
}
|
|
6074
|
-
/**
|
|
6075
|
-
*
|
|
6076
|
-
*
|
|
6077
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6078
|
-
* [Conditions](../../conditions/) for more information.
|
|
6079
|
-
*
|
|
6080
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6081
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6082
|
-
*
|
|
6083
|
-
* <h3>Example</h3>
|
|
6084
|
-
*
|
|
6085
|
-
*
|
|
6086
|
-
*
|
|
6087
|
-
*
|
|
6088
|
-
*
|
|
6089
|
-
* {
|
|
6090
|
-
* "condition": "user_is_logged_in",
|
|
6091
|
-
* "invert": false
|
|
6092
|
-
* }
|
|
6093
|
-
*
|
|
6094
|
-
*
|
|
6095
|
-
*
|
|
6096
|
-
*/
|
|
6097
|
-
export interface SingleCondition2 {
|
|
6098
|
-
condition: string;
|
|
6099
|
-
invert?: boolean;
|
|
6100
|
-
params?: {
|
|
6101
|
-
[k: string]: unknown;
|
|
6102
|
-
};
|
|
6103
|
-
[k: string]: unknown;
|
|
6104
|
-
}
|
|
6105
6121
|
/**
|
|
6106
6122
|
*
|
|
6107
6123
|
*
|
|
@@ -6294,6 +6310,37 @@ export interface I18NProperty38 {
|
|
|
6294
6310
|
i18n?: string;
|
|
6295
6311
|
[k: string]: unknown;
|
|
6296
6312
|
}
|
|
6313
|
+
/**
|
|
6314
|
+
*
|
|
6315
|
+
*
|
|
6316
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6317
|
+
* [Conditions](../../conditions/) for more information.
|
|
6318
|
+
*
|
|
6319
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6320
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6321
|
+
*
|
|
6322
|
+
* <h3>Example</h3>
|
|
6323
|
+
*
|
|
6324
|
+
*
|
|
6325
|
+
*
|
|
6326
|
+
*
|
|
6327
|
+
*
|
|
6328
|
+
* {
|
|
6329
|
+
* "condition": "user_is_logged_in",
|
|
6330
|
+
* "invert": false
|
|
6331
|
+
* }
|
|
6332
|
+
*
|
|
6333
|
+
*
|
|
6334
|
+
*
|
|
6335
|
+
*/
|
|
6336
|
+
export interface SingleCondition3 {
|
|
6337
|
+
condition: string;
|
|
6338
|
+
invert?: boolean;
|
|
6339
|
+
params?: {
|
|
6340
|
+
[k: string]: unknown;
|
|
6341
|
+
};
|
|
6342
|
+
[k: string]: unknown;
|
|
6343
|
+
}
|
|
6297
6344
|
/**
|
|
6298
6345
|
*
|
|
6299
6346
|
*
|
|
@@ -6331,7 +6378,7 @@ export interface I18NProperty38 {
|
|
|
6331
6378
|
*
|
|
6332
6379
|
*/
|
|
6333
6380
|
export interface CompositeCondition4 {
|
|
6334
|
-
conditions?: (
|
|
6381
|
+
conditions?: (SingleCondition | CompositeCondition5)[];
|
|
6335
6382
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6336
6383
|
[k: string]: unknown;
|
|
6337
6384
|
}
|
|
@@ -6372,41 +6419,10 @@ export interface CompositeCondition4 {
|
|
|
6372
6419
|
*
|
|
6373
6420
|
*/
|
|
6374
6421
|
export interface CompositeCondition5 {
|
|
6375
|
-
conditions?: (
|
|
6422
|
+
conditions?: (SingleCondition | ManifestSchema)[];
|
|
6376
6423
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6377
6424
|
[k: string]: unknown;
|
|
6378
6425
|
}
|
|
6379
|
-
/**
|
|
6380
|
-
*
|
|
6381
|
-
*
|
|
6382
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6383
|
-
* [Conditions](../../conditions/) for more information.
|
|
6384
|
-
*
|
|
6385
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6386
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6387
|
-
*
|
|
6388
|
-
* <h3>Example</h3>
|
|
6389
|
-
*
|
|
6390
|
-
*
|
|
6391
|
-
*
|
|
6392
|
-
*
|
|
6393
|
-
*
|
|
6394
|
-
* {
|
|
6395
|
-
* "condition": "user_is_logged_in",
|
|
6396
|
-
* "invert": false
|
|
6397
|
-
* }
|
|
6398
|
-
*
|
|
6399
|
-
*
|
|
6400
|
-
*
|
|
6401
|
-
*/
|
|
6402
|
-
export interface SingleCondition3 {
|
|
6403
|
-
condition: string;
|
|
6404
|
-
invert?: boolean;
|
|
6405
|
-
params?: {
|
|
6406
|
-
[k: string]: unknown;
|
|
6407
|
-
};
|
|
6408
|
-
[k: string]: unknown;
|
|
6409
|
-
}
|
|
6410
6426
|
/**
|
|
6411
6427
|
*
|
|
6412
6428
|
*
|
|
@@ -6596,18 +6612,6 @@ export interface URL8 {
|
|
|
6596
6612
|
url: string;
|
|
6597
6613
|
[k: string]: unknown;
|
|
6598
6614
|
}
|
|
6599
|
-
/**
|
|
6600
|
-
*
|
|
6601
|
-
*
|
|
6602
|
-
* A Jira expression that will be evaluated if the workflow validator fails.
|
|
6603
|
-
* The string returned by the Jira expression will be displayed as the error message for the failed transition.
|
|
6604
|
-
*
|
|
6605
|
-
*
|
|
6606
|
-
*/
|
|
6607
|
-
export interface JiraExpressionErrorMessage {
|
|
6608
|
-
expression: string;
|
|
6609
|
-
[k: string]: unknown;
|
|
6610
|
-
}
|
|
6611
6615
|
/**
|
|
6612
6616
|
*
|
|
6613
6617
|
*
|
|
@@ -6632,6 +6636,18 @@ export interface I18NProperty45 {
|
|
|
6632
6636
|
i18n?: string;
|
|
6633
6637
|
[k: string]: unknown;
|
|
6634
6638
|
}
|
|
6639
|
+
/**
|
|
6640
|
+
*
|
|
6641
|
+
*
|
|
6642
|
+
* A Jira expression that will be evaluated if the workflow validator fails.
|
|
6643
|
+
* The string returned by the Jira expression will be displayed as the error message for the failed transition.
|
|
6644
|
+
*
|
|
6645
|
+
*
|
|
6646
|
+
*/
|
|
6647
|
+
export interface JiraExpressionErrorMessage {
|
|
6648
|
+
expression: string;
|
|
6649
|
+
[k: string]: unknown;
|
|
6650
|
+
}
|
|
6635
6651
|
/**
|
|
6636
6652
|
*
|
|
6637
6653
|
*
|
|
@@ -7155,7 +7171,7 @@ export interface Icon10 {
|
|
|
7155
7171
|
*
|
|
7156
7172
|
*/
|
|
7157
7173
|
export interface WebItemTarget1 {
|
|
7158
|
-
options?: DialogOptions2 |
|
|
7174
|
+
options?: DialogOptions2 | DialogModuleOptions1 | InlineDialogOptions1;
|
|
7159
7175
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
7160
7176
|
[k: string]: unknown;
|
|
7161
7177
|
}
|
|
@@ -7260,7 +7276,7 @@ export interface I18NProperty58 {
|
|
|
7260
7276
|
/**
|
|
7261
7277
|
*
|
|
7262
7278
|
*
|
|
7263
|
-
* Options for
|
|
7279
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
7264
7280
|
*
|
|
7265
7281
|
* <h3>Example</h3>
|
|
7266
7282
|
*
|
|
@@ -7270,11 +7286,9 @@ export interface I18NProperty58 {
|
|
|
7270
7286
|
*
|
|
7271
7287
|
* {
|
|
7272
7288
|
* "target": {
|
|
7273
|
-
* "type": "
|
|
7289
|
+
* "type": "dialogmodule",
|
|
7274
7290
|
* "options": {
|
|
7275
|
-
* "
|
|
7276
|
-
* "offsetX": "30px",
|
|
7277
|
-
* "offsetY": "20px"
|
|
7291
|
+
* "key": "dialog-module-key"
|
|
7278
7292
|
* }
|
|
7279
7293
|
* }
|
|
7280
7294
|
* }
|
|
@@ -7282,22 +7296,14 @@ export interface I18NProperty58 {
|
|
|
7282
7296
|
*
|
|
7283
7297
|
*
|
|
7284
7298
|
*/
|
|
7285
|
-
export interface
|
|
7286
|
-
|
|
7287
|
-
offsetY?: string;
|
|
7288
|
-
width?: string;
|
|
7289
|
-
onTop?: boolean;
|
|
7290
|
-
showDelay?: number;
|
|
7291
|
-
closeOthers?: boolean;
|
|
7292
|
-
persistent?: boolean;
|
|
7293
|
-
onHover?: boolean;
|
|
7294
|
-
isRelativeToMouse?: boolean;
|
|
7299
|
+
export interface DialogModuleOptions1 {
|
|
7300
|
+
key: string;
|
|
7295
7301
|
[k: string]: unknown;
|
|
7296
7302
|
}
|
|
7297
7303
|
/**
|
|
7298
7304
|
*
|
|
7299
7305
|
*
|
|
7300
|
-
* Options for
|
|
7306
|
+
* Options for an inline dialog target
|
|
7301
7307
|
*
|
|
7302
7308
|
* <h3>Example</h3>
|
|
7303
7309
|
*
|
|
@@ -7307,9 +7313,11 @@ export interface InlineDialogOptions1 {
|
|
|
7307
7313
|
*
|
|
7308
7314
|
* {
|
|
7309
7315
|
* "target": {
|
|
7310
|
-
* "type": "
|
|
7316
|
+
* "type": "inlinedialog",
|
|
7311
7317
|
* "options": {
|
|
7312
|
-
* "
|
|
7318
|
+
* "onHover": true,
|
|
7319
|
+
* "offsetX": "30px",
|
|
7320
|
+
* "offsetY": "20px"
|
|
7313
7321
|
* }
|
|
7314
7322
|
* }
|
|
7315
7323
|
* }
|
|
@@ -7317,8 +7325,16 @@ export interface InlineDialogOptions1 {
|
|
|
7317
7325
|
*
|
|
7318
7326
|
*
|
|
7319
7327
|
*/
|
|
7320
|
-
export interface
|
|
7321
|
-
|
|
7328
|
+
export interface InlineDialogOptions1 {
|
|
7329
|
+
offsetX?: string;
|
|
7330
|
+
offsetY?: string;
|
|
7331
|
+
width?: string;
|
|
7332
|
+
onTop?: boolean;
|
|
7333
|
+
showDelay?: number;
|
|
7334
|
+
closeOthers?: boolean;
|
|
7335
|
+
persistent?: boolean;
|
|
7336
|
+
onHover?: boolean;
|
|
7337
|
+
isRelativeToMouse?: boolean;
|
|
7322
7338
|
[k: string]: unknown;
|
|
7323
7339
|
}
|
|
7324
7340
|
/**
|
|
@@ -7839,7 +7855,7 @@ export interface SingleCondition5 {
|
|
|
7839
7855
|
*
|
|
7840
7856
|
*/
|
|
7841
7857
|
export interface CompositeCondition7 {
|
|
7842
|
-
conditions?: (
|
|
7858
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
7843
7859
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7844
7860
|
[k: string]: unknown;
|
|
7845
7861
|
}
|
|
@@ -9262,7 +9278,7 @@ export interface I18NProperty74 {
|
|
|
9262
9278
|
*
|
|
9263
9279
|
*/
|
|
9264
9280
|
export interface MacroPropertyPanel {
|
|
9265
|
-
controls?: (
|
|
9281
|
+
controls?: (ToggleGroup | ControlGroup | TextControl | ButtonControl1)[];
|
|
9266
9282
|
cacheable?: boolean;
|
|
9267
9283
|
url: string;
|
|
9268
9284
|
[k: string]: unknown;
|
|
@@ -9270,7 +9286,7 @@ export interface MacroPropertyPanel {
|
|
|
9270
9286
|
/**
|
|
9271
9287
|
*
|
|
9272
9288
|
*
|
|
9273
|
-
* Defines a
|
|
9289
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
9274
9290
|
*
|
|
9275
9291
|
* <p><b>Example</b></p>
|
|
9276
9292
|
*
|
|
@@ -9280,21 +9296,24 @@ export interface MacroPropertyPanel {
|
|
|
9280
9296
|
*
|
|
9281
9297
|
* [
|
|
9282
9298
|
* {
|
|
9283
|
-
* "type": "
|
|
9299
|
+
* "type": "togglegroup",
|
|
9300
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
9284
9301
|
* "controls": [
|
|
9285
9302
|
* {
|
|
9286
|
-
* "type": "
|
|
9303
|
+
* "type": "togglebutton",
|
|
9304
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
9287
9305
|
* "label": {
|
|
9288
9306
|
* "value": "My Custom Control 0"
|
|
9289
9307
|
* },
|
|
9290
|
-
* "key": "my-custom-
|
|
9308
|
+
* "key": "my-custom-toggle-button-0"
|
|
9291
9309
|
* },
|
|
9292
9310
|
* {
|
|
9293
|
-
* "type": "
|
|
9311
|
+
* "type": "togglebutton",
|
|
9312
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
9294
9313
|
* "label": {
|
|
9295
9314
|
* "value": "My Custom Control 1"
|
|
9296
9315
|
* },
|
|
9297
|
-
* "key": "my-custom-
|
|
9316
|
+
* "key": "my-custom-toggle-button-1"
|
|
9298
9317
|
* }
|
|
9299
9318
|
* ]
|
|
9300
9319
|
* }
|
|
@@ -9303,15 +9322,16 @@ export interface MacroPropertyPanel {
|
|
|
9303
9322
|
*
|
|
9304
9323
|
*
|
|
9305
9324
|
*/
|
|
9306
|
-
export interface
|
|
9307
|
-
controls:
|
|
9308
|
-
|
|
9325
|
+
export interface ToggleGroup {
|
|
9326
|
+
controls: ToggleButtonControl[];
|
|
9327
|
+
macroParameter: string;
|
|
9328
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
9309
9329
|
[k: string]: unknown;
|
|
9310
9330
|
}
|
|
9311
9331
|
/**
|
|
9312
9332
|
*
|
|
9313
9333
|
*
|
|
9314
|
-
* Defines a button which
|
|
9334
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
9315
9335
|
*
|
|
9316
9336
|
* <p><b>Example</b></p>
|
|
9317
9337
|
*
|
|
@@ -9320,19 +9340,21 @@ export interface ControlGroup {
|
|
|
9320
9340
|
*
|
|
9321
9341
|
*
|
|
9322
9342
|
* {
|
|
9323
|
-
* "type": "
|
|
9343
|
+
* "type": "togglebutton",
|
|
9344
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
9324
9345
|
* "label": {
|
|
9325
9346
|
* "value": "My Custom Control 0"
|
|
9326
9347
|
* },
|
|
9327
|
-
* "key": "my-custom-
|
|
9348
|
+
* "key": "my-custom-toggle-button-0"
|
|
9328
9349
|
* }
|
|
9329
9350
|
*
|
|
9330
9351
|
*
|
|
9331
9352
|
*
|
|
9332
9353
|
*/
|
|
9333
|
-
export interface
|
|
9354
|
+
export interface ToggleButtonControl {
|
|
9355
|
+
macroParameterValue: string;
|
|
9334
9356
|
label: I18NProperty75;
|
|
9335
|
-
type: '
|
|
9357
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
9336
9358
|
key: string;
|
|
9337
9359
|
[k: string]: unknown;
|
|
9338
9360
|
}
|
|
@@ -9363,7 +9385,7 @@ export interface I18NProperty75 {
|
|
|
9363
9385
|
/**
|
|
9364
9386
|
*
|
|
9365
9387
|
*
|
|
9366
|
-
* Defines a
|
|
9388
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
9367
9389
|
*
|
|
9368
9390
|
* <p><b>Example</b></p>
|
|
9369
9391
|
*
|
|
@@ -9373,24 +9395,21 @@ export interface I18NProperty75 {
|
|
|
9373
9395
|
*
|
|
9374
9396
|
* [
|
|
9375
9397
|
* {
|
|
9376
|
-
* "type": "
|
|
9377
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
9398
|
+
* "type": "group",
|
|
9378
9399
|
* "controls": [
|
|
9379
9400
|
* {
|
|
9380
|
-
* "type": "
|
|
9381
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
9401
|
+
* "type": "button",
|
|
9382
9402
|
* "label": {
|
|
9383
9403
|
* "value": "My Custom Control 0"
|
|
9384
9404
|
* },
|
|
9385
|
-
* "key": "my-custom-
|
|
9405
|
+
* "key": "my-custom-control-0"
|
|
9386
9406
|
* },
|
|
9387
9407
|
* {
|
|
9388
|
-
* "type": "
|
|
9389
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
9408
|
+
* "type": "button",
|
|
9390
9409
|
* "label": {
|
|
9391
9410
|
* "value": "My Custom Control 1"
|
|
9392
9411
|
* },
|
|
9393
|
-
* "key": "my-custom-
|
|
9412
|
+
* "key": "my-custom-control-1"
|
|
9394
9413
|
* }
|
|
9395
9414
|
* ]
|
|
9396
9415
|
* }
|
|
@@ -9399,16 +9418,15 @@ export interface I18NProperty75 {
|
|
|
9399
9418
|
*
|
|
9400
9419
|
*
|
|
9401
9420
|
*/
|
|
9402
|
-
export interface
|
|
9403
|
-
controls:
|
|
9404
|
-
|
|
9405
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
9421
|
+
export interface ControlGroup {
|
|
9422
|
+
controls: ButtonControl[];
|
|
9423
|
+
type: 'group' | 'GROUP';
|
|
9406
9424
|
[k: string]: unknown;
|
|
9407
9425
|
}
|
|
9408
9426
|
/**
|
|
9409
9427
|
*
|
|
9410
9428
|
*
|
|
9411
|
-
* Defines a
|
|
9429
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
9412
9430
|
*
|
|
9413
9431
|
* <p><b>Example</b></p>
|
|
9414
9432
|
*
|
|
@@ -9417,21 +9435,19 @@ export interface ToggleGroup {
|
|
|
9417
9435
|
*
|
|
9418
9436
|
*
|
|
9419
9437
|
* {
|
|
9420
|
-
* "type": "
|
|
9421
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
9438
|
+
* "type": "button",
|
|
9422
9439
|
* "label": {
|
|
9423
9440
|
* "value": "My Custom Control 0"
|
|
9424
9441
|
* },
|
|
9425
|
-
* "key": "my-custom-
|
|
9442
|
+
* "key": "my-custom-control-0"
|
|
9426
9443
|
* }
|
|
9427
9444
|
*
|
|
9428
9445
|
*
|
|
9429
9446
|
*
|
|
9430
9447
|
*/
|
|
9431
|
-
export interface
|
|
9432
|
-
macroParameterValue: string;
|
|
9448
|
+
export interface ButtonControl {
|
|
9433
9449
|
label: I18NProperty76;
|
|
9434
|
-
type: '
|
|
9450
|
+
type: 'button' | 'BUTTON';
|
|
9435
9451
|
key: string;
|
|
9436
9452
|
[k: string]: unknown;
|
|
9437
9453
|
}
|
|
@@ -30507,7 +30523,7 @@ export interface I18NProperty83 {
|
|
|
30507
30523
|
*
|
|
30508
30524
|
*/
|
|
30509
30525
|
export interface MacroPropertyPanel1 {
|
|
30510
|
-
controls?: (
|
|
30526
|
+
controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
|
|
30511
30527
|
cacheable?: boolean;
|
|
30512
30528
|
url: string;
|
|
30513
30529
|
[k: string]: unknown;
|
|
@@ -30515,7 +30531,7 @@ export interface MacroPropertyPanel1 {
|
|
|
30515
30531
|
/**
|
|
30516
30532
|
*
|
|
30517
30533
|
*
|
|
30518
|
-
* Defines a
|
|
30534
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
30519
30535
|
*
|
|
30520
30536
|
* <p><b>Example</b></p>
|
|
30521
30537
|
*
|
|
@@ -30523,44 +30539,27 @@ export interface MacroPropertyPanel1 {
|
|
|
30523
30539
|
*
|
|
30524
30540
|
*
|
|
30525
30541
|
*
|
|
30526
|
-
*
|
|
30527
|
-
*
|
|
30528
|
-
*
|
|
30529
|
-
* "
|
|
30530
|
-
*
|
|
30531
|
-
*
|
|
30532
|
-
*
|
|
30533
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
30534
|
-
* "label": {
|
|
30535
|
-
* "value": "My Custom Control 0"
|
|
30536
|
-
* },
|
|
30537
|
-
* "key": "my-custom-toggle-button-0"
|
|
30538
|
-
* },
|
|
30539
|
-
* {
|
|
30540
|
-
* "type": "togglebutton",
|
|
30541
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
30542
|
-
* "label": {
|
|
30543
|
-
* "value": "My Custom Control 1"
|
|
30544
|
-
* },
|
|
30545
|
-
* "key": "my-custom-toggle-button-1"
|
|
30546
|
-
* }
|
|
30547
|
-
* ]
|
|
30548
|
-
* }
|
|
30549
|
-
* ]
|
|
30542
|
+
* {
|
|
30543
|
+
* "type": "button",
|
|
30544
|
+
* "label": {
|
|
30545
|
+
* "value": "My Custom Control 0"
|
|
30546
|
+
* },
|
|
30547
|
+
* "key": "my-custom-control-0"
|
|
30548
|
+
* }
|
|
30550
30549
|
*
|
|
30551
30550
|
*
|
|
30552
30551
|
*
|
|
30553
30552
|
*/
|
|
30554
|
-
export interface
|
|
30555
|
-
controls: ToggleButtonControl1[];
|
|
30553
|
+
export interface TextControl1 {
|
|
30556
30554
|
macroParameter: string;
|
|
30557
|
-
type: '
|
|
30555
|
+
type: 'text' | 'TEXT';
|
|
30556
|
+
key: string;
|
|
30558
30557
|
[k: string]: unknown;
|
|
30559
30558
|
}
|
|
30560
30559
|
/**
|
|
30561
30560
|
*
|
|
30562
30561
|
*
|
|
30563
|
-
* Defines a
|
|
30562
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
30564
30563
|
*
|
|
30565
30564
|
* <p><b>Example</b></p>
|
|
30566
30565
|
*
|
|
@@ -30569,21 +30568,19 @@ export interface ToggleGroup1 {
|
|
|
30569
30568
|
*
|
|
30570
30569
|
*
|
|
30571
30570
|
* {
|
|
30572
|
-
* "type": "
|
|
30573
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
30571
|
+
* "type": "button",
|
|
30574
30572
|
* "label": {
|
|
30575
30573
|
* "value": "My Custom Control 0"
|
|
30576
30574
|
* },
|
|
30577
|
-
* "key": "my-custom-
|
|
30575
|
+
* "key": "my-custom-control-0"
|
|
30578
30576
|
* }
|
|
30579
30577
|
*
|
|
30580
30578
|
*
|
|
30581
30579
|
*
|
|
30582
30580
|
*/
|
|
30583
|
-
export interface
|
|
30584
|
-
macroParameterValue: string;
|
|
30581
|
+
export interface ButtonControl2 {
|
|
30585
30582
|
label: I18NProperty84;
|
|
30586
|
-
type: '
|
|
30583
|
+
type: 'button' | 'BUTTON';
|
|
30587
30584
|
key: string;
|
|
30588
30585
|
[k: string]: unknown;
|
|
30589
30586
|
}
|
|
@@ -30611,6 +30608,47 @@ export interface I18NProperty84 {
|
|
|
30611
30608
|
i18n?: string;
|
|
30612
30609
|
[k: string]: unknown;
|
|
30613
30610
|
}
|
|
30611
|
+
/**
|
|
30612
|
+
*
|
|
30613
|
+
*
|
|
30614
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
30615
|
+
*
|
|
30616
|
+
* <p><b>Example</b></p>
|
|
30617
|
+
*
|
|
30618
|
+
*
|
|
30619
|
+
*
|
|
30620
|
+
*
|
|
30621
|
+
*
|
|
30622
|
+
* [
|
|
30623
|
+
* {
|
|
30624
|
+
* "type": "group",
|
|
30625
|
+
* "controls": [
|
|
30626
|
+
* {
|
|
30627
|
+
* "type": "button",
|
|
30628
|
+
* "label": {
|
|
30629
|
+
* "value": "My Custom Control 0"
|
|
30630
|
+
* },
|
|
30631
|
+
* "key": "my-custom-control-0"
|
|
30632
|
+
* },
|
|
30633
|
+
* {
|
|
30634
|
+
* "type": "button",
|
|
30635
|
+
* "label": {
|
|
30636
|
+
* "value": "My Custom Control 1"
|
|
30637
|
+
* },
|
|
30638
|
+
* "key": "my-custom-control-1"
|
|
30639
|
+
* }
|
|
30640
|
+
* ]
|
|
30641
|
+
* }
|
|
30642
|
+
* ]
|
|
30643
|
+
*
|
|
30644
|
+
*
|
|
30645
|
+
*
|
|
30646
|
+
*/
|
|
30647
|
+
export interface ControlGroup1 {
|
|
30648
|
+
controls: ButtonControl3[];
|
|
30649
|
+
type: 'group' | 'GROUP';
|
|
30650
|
+
[k: string]: unknown;
|
|
30651
|
+
}
|
|
30614
30652
|
/**
|
|
30615
30653
|
*
|
|
30616
30654
|
*
|
|
@@ -30633,7 +30671,7 @@ export interface I18NProperty84 {
|
|
|
30633
30671
|
*
|
|
30634
30672
|
*
|
|
30635
30673
|
*/
|
|
30636
|
-
export interface
|
|
30674
|
+
export interface ButtonControl3 {
|
|
30637
30675
|
label: I18NProperty85;
|
|
30638
30676
|
type: 'button' | 'BUTTON';
|
|
30639
30677
|
key: string;
|
|
@@ -30666,7 +30704,7 @@ export interface I18NProperty85 {
|
|
|
30666
30704
|
/**
|
|
30667
30705
|
*
|
|
30668
30706
|
*
|
|
30669
|
-
* Defines a
|
|
30707
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
30670
30708
|
*
|
|
30671
30709
|
* <p><b>Example</b></p>
|
|
30672
30710
|
*
|
|
@@ -30676,21 +30714,24 @@ export interface I18NProperty85 {
|
|
|
30676
30714
|
*
|
|
30677
30715
|
* [
|
|
30678
30716
|
* {
|
|
30679
|
-
* "type": "
|
|
30717
|
+
* "type": "togglegroup",
|
|
30718
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
30680
30719
|
* "controls": [
|
|
30681
30720
|
* {
|
|
30682
|
-
* "type": "
|
|
30721
|
+
* "type": "togglebutton",
|
|
30722
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
30683
30723
|
* "label": {
|
|
30684
30724
|
* "value": "My Custom Control 0"
|
|
30685
30725
|
* },
|
|
30686
|
-
* "key": "my-custom-
|
|
30726
|
+
* "key": "my-custom-toggle-button-0"
|
|
30687
30727
|
* },
|
|
30688
30728
|
* {
|
|
30689
|
-
* "type": "
|
|
30729
|
+
* "type": "togglebutton",
|
|
30730
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
30690
30731
|
* "label": {
|
|
30691
30732
|
* "value": "My Custom Control 1"
|
|
30692
30733
|
* },
|
|
30693
|
-
* "key": "my-custom-
|
|
30734
|
+
* "key": "my-custom-toggle-button-1"
|
|
30694
30735
|
* }
|
|
30695
30736
|
* ]
|
|
30696
30737
|
* }
|
|
@@ -30699,15 +30740,16 @@ export interface I18NProperty85 {
|
|
|
30699
30740
|
*
|
|
30700
30741
|
*
|
|
30701
30742
|
*/
|
|
30702
|
-
export interface
|
|
30703
|
-
controls:
|
|
30704
|
-
|
|
30743
|
+
export interface ToggleGroup1 {
|
|
30744
|
+
controls: ToggleButtonControl1[];
|
|
30745
|
+
macroParameter: string;
|
|
30746
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
30705
30747
|
[k: string]: unknown;
|
|
30706
30748
|
}
|
|
30707
30749
|
/**
|
|
30708
30750
|
*
|
|
30709
30751
|
*
|
|
30710
|
-
* Defines a button which
|
|
30752
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
30711
30753
|
*
|
|
30712
30754
|
* <p><b>Example</b></p>
|
|
30713
30755
|
*
|
|
@@ -30716,19 +30758,21 @@ export interface ControlGroup1 {
|
|
|
30716
30758
|
*
|
|
30717
30759
|
*
|
|
30718
30760
|
* {
|
|
30719
|
-
* "type": "
|
|
30761
|
+
* "type": "togglebutton",
|
|
30762
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
30720
30763
|
* "label": {
|
|
30721
30764
|
* "value": "My Custom Control 0"
|
|
30722
30765
|
* },
|
|
30723
|
-
* "key": "my-custom-
|
|
30766
|
+
* "key": "my-custom-toggle-button-0"
|
|
30724
30767
|
* }
|
|
30725
30768
|
*
|
|
30726
30769
|
*
|
|
30727
30770
|
*
|
|
30728
30771
|
*/
|
|
30729
|
-
export interface
|
|
30772
|
+
export interface ToggleButtonControl1 {
|
|
30773
|
+
macroParameterValue: string;
|
|
30730
30774
|
label: I18NProperty86;
|
|
30731
|
-
type: '
|
|
30775
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
30732
30776
|
key: string;
|
|
30733
30777
|
[k: string]: unknown;
|
|
30734
30778
|
}
|
|
@@ -30756,34 +30800,6 @@ export interface I18NProperty86 {
|
|
|
30756
30800
|
i18n?: string;
|
|
30757
30801
|
[k: string]: unknown;
|
|
30758
30802
|
}
|
|
30759
|
-
/**
|
|
30760
|
-
*
|
|
30761
|
-
*
|
|
30762
|
-
* Defines a text field which may appear in control extension points such as the property panel
|
|
30763
|
-
*
|
|
30764
|
-
* <p><b>Example</b></p>
|
|
30765
|
-
*
|
|
30766
|
-
*
|
|
30767
|
-
*
|
|
30768
|
-
*
|
|
30769
|
-
*
|
|
30770
|
-
* {
|
|
30771
|
-
* "type": "button",
|
|
30772
|
-
* "label": {
|
|
30773
|
-
* "value": "My Custom Control 0"
|
|
30774
|
-
* },
|
|
30775
|
-
* "key": "my-custom-control-0"
|
|
30776
|
-
* }
|
|
30777
|
-
*
|
|
30778
|
-
*
|
|
30779
|
-
*
|
|
30780
|
-
*/
|
|
30781
|
-
export interface TextControl1 {
|
|
30782
|
-
macroParameter: string;
|
|
30783
|
-
type: 'text' | 'TEXT';
|
|
30784
|
-
key: string;
|
|
30785
|
-
[k: string]: unknown;
|
|
30786
|
-
}
|
|
30787
30803
|
/**
|
|
30788
30804
|
*
|
|
30789
30805
|
*
|
|
@@ -51633,74 +51649,10 @@ export interface I18NProperty91 {
|
|
|
51633
51649
|
*
|
|
51634
51650
|
*/
|
|
51635
51651
|
export interface WebItemTarget2 {
|
|
51636
|
-
options?:
|
|
51652
|
+
options?: DialogOptions4 | InlineDialogOptions2 | DialogModuleOptions2;
|
|
51637
51653
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
51638
51654
|
[k: string]: unknown;
|
|
51639
51655
|
}
|
|
51640
|
-
/**
|
|
51641
|
-
*
|
|
51642
|
-
*
|
|
51643
|
-
* Options for an inline dialog target
|
|
51644
|
-
*
|
|
51645
|
-
* <h3>Example</h3>
|
|
51646
|
-
*
|
|
51647
|
-
*
|
|
51648
|
-
*
|
|
51649
|
-
*
|
|
51650
|
-
*
|
|
51651
|
-
* {
|
|
51652
|
-
* "target": {
|
|
51653
|
-
* "type": "inlinedialog",
|
|
51654
|
-
* "options": {
|
|
51655
|
-
* "onHover": true,
|
|
51656
|
-
* "offsetX": "30px",
|
|
51657
|
-
* "offsetY": "20px"
|
|
51658
|
-
* }
|
|
51659
|
-
* }
|
|
51660
|
-
* }
|
|
51661
|
-
*
|
|
51662
|
-
*
|
|
51663
|
-
*
|
|
51664
|
-
*/
|
|
51665
|
-
export interface InlineDialogOptions2 {
|
|
51666
|
-
offsetX?: string;
|
|
51667
|
-
offsetY?: string;
|
|
51668
|
-
width?: string;
|
|
51669
|
-
onTop?: boolean;
|
|
51670
|
-
showDelay?: number;
|
|
51671
|
-
closeOthers?: boolean;
|
|
51672
|
-
persistent?: boolean;
|
|
51673
|
-
onHover?: boolean;
|
|
51674
|
-
isRelativeToMouse?: boolean;
|
|
51675
|
-
[k: string]: unknown;
|
|
51676
|
-
}
|
|
51677
|
-
/**
|
|
51678
|
-
*
|
|
51679
|
-
*
|
|
51680
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
51681
|
-
*
|
|
51682
|
-
* <h3>Example</h3>
|
|
51683
|
-
*
|
|
51684
|
-
*
|
|
51685
|
-
*
|
|
51686
|
-
*
|
|
51687
|
-
*
|
|
51688
|
-
* {
|
|
51689
|
-
* "target": {
|
|
51690
|
-
* "type": "dialogmodule",
|
|
51691
|
-
* "options": {
|
|
51692
|
-
* "key": "dialog-module-key"
|
|
51693
|
-
* }
|
|
51694
|
-
* }
|
|
51695
|
-
* }
|
|
51696
|
-
*
|
|
51697
|
-
*
|
|
51698
|
-
*
|
|
51699
|
-
*/
|
|
51700
|
-
export interface DialogModuleOptions2 {
|
|
51701
|
-
key: string;
|
|
51702
|
-
[k: string]: unknown;
|
|
51703
|
-
}
|
|
51704
51656
|
/**
|
|
51705
51657
|
*
|
|
51706
51658
|
*
|
|
@@ -51799,6 +51751,70 @@ export interface I18NProperty92 {
|
|
|
51799
51751
|
i18n?: string;
|
|
51800
51752
|
[k: string]: unknown;
|
|
51801
51753
|
}
|
|
51754
|
+
/**
|
|
51755
|
+
*
|
|
51756
|
+
*
|
|
51757
|
+
* Options for an inline dialog target
|
|
51758
|
+
*
|
|
51759
|
+
* <h3>Example</h3>
|
|
51760
|
+
*
|
|
51761
|
+
*
|
|
51762
|
+
*
|
|
51763
|
+
*
|
|
51764
|
+
*
|
|
51765
|
+
* {
|
|
51766
|
+
* "target": {
|
|
51767
|
+
* "type": "inlinedialog",
|
|
51768
|
+
* "options": {
|
|
51769
|
+
* "onHover": true,
|
|
51770
|
+
* "offsetX": "30px",
|
|
51771
|
+
* "offsetY": "20px"
|
|
51772
|
+
* }
|
|
51773
|
+
* }
|
|
51774
|
+
* }
|
|
51775
|
+
*
|
|
51776
|
+
*
|
|
51777
|
+
*
|
|
51778
|
+
*/
|
|
51779
|
+
export interface InlineDialogOptions2 {
|
|
51780
|
+
offsetX?: string;
|
|
51781
|
+
offsetY?: string;
|
|
51782
|
+
width?: string;
|
|
51783
|
+
onTop?: boolean;
|
|
51784
|
+
showDelay?: number;
|
|
51785
|
+
closeOthers?: boolean;
|
|
51786
|
+
persistent?: boolean;
|
|
51787
|
+
onHover?: boolean;
|
|
51788
|
+
isRelativeToMouse?: boolean;
|
|
51789
|
+
[k: string]: unknown;
|
|
51790
|
+
}
|
|
51791
|
+
/**
|
|
51792
|
+
*
|
|
51793
|
+
*
|
|
51794
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
51795
|
+
*
|
|
51796
|
+
* <h3>Example</h3>
|
|
51797
|
+
*
|
|
51798
|
+
*
|
|
51799
|
+
*
|
|
51800
|
+
*
|
|
51801
|
+
*
|
|
51802
|
+
* {
|
|
51803
|
+
* "target": {
|
|
51804
|
+
* "type": "dialogmodule",
|
|
51805
|
+
* "options": {
|
|
51806
|
+
* "key": "dialog-module-key"
|
|
51807
|
+
* }
|
|
51808
|
+
* }
|
|
51809
|
+
* }
|
|
51810
|
+
*
|
|
51811
|
+
*
|
|
51812
|
+
*
|
|
51813
|
+
*/
|
|
51814
|
+
export interface DialogModuleOptions2 {
|
|
51815
|
+
key: string;
|
|
51816
|
+
[k: string]: unknown;
|
|
51817
|
+
}
|
|
51802
51818
|
/**
|
|
51803
51819
|
*
|
|
51804
51820
|
*
|