@forge/manifest 2.4.0-next.9 → 2.5.0-next.10
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 +93 -0
- package/out/mapping/product-event-to-scope-mapping.json +78 -0
- package/out/schema/display-conditions-schema.json +42 -0
- package/out/schema/manifest-schema.json +441 -251
- package/out/schema/manifest.d.ts +313 -225
- package/out/scopes/shipyard-scopes.json +160 -44
- package/out/types/display-condition-types.d.ts +8 -0
- package/out/types/display-condition-types.d.ts.map +1 -1
- package/out/types/module-types.d.ts +2 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +2 -0
- package/out/validators/modules-validator.d.ts.map +1 -1
- package/out/validators/modules-validator.js +6 -1
- package/package.json +2 -2
package/out/schema/manifest.d.ts
CHANGED
|
@@ -1287,6 +1287,94 @@ export interface Modules {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
)[]
|
|
1289
1289
|
];
|
|
1290
|
+
'jira:globalPage'?: [
|
|
1291
|
+
(
|
|
1292
|
+
| {
|
|
1293
|
+
function: string;
|
|
1294
|
+
title: string;
|
|
1295
|
+
icon?: string;
|
|
1296
|
+
layout?: 'basic' | 'native';
|
|
1297
|
+
key: ModuleKeySchema;
|
|
1298
|
+
[k: string]: unknown;
|
|
1299
|
+
}
|
|
1300
|
+
| {
|
|
1301
|
+
resource: string;
|
|
1302
|
+
resolver?: {
|
|
1303
|
+
function: string;
|
|
1304
|
+
};
|
|
1305
|
+
title: string;
|
|
1306
|
+
icon?: string;
|
|
1307
|
+
layout?: 'basic' | 'native';
|
|
1308
|
+
key: ModuleKeySchema;
|
|
1309
|
+
[k: string]: unknown;
|
|
1310
|
+
}
|
|
1311
|
+
),
|
|
1312
|
+
...(
|
|
1313
|
+
| {
|
|
1314
|
+
function: string;
|
|
1315
|
+
title: string;
|
|
1316
|
+
icon?: string;
|
|
1317
|
+
layout?: 'basic' | 'native';
|
|
1318
|
+
key: ModuleKeySchema;
|
|
1319
|
+
[k: string]: unknown;
|
|
1320
|
+
}
|
|
1321
|
+
| {
|
|
1322
|
+
resource: string;
|
|
1323
|
+
resolver?: {
|
|
1324
|
+
function: string;
|
|
1325
|
+
};
|
|
1326
|
+
title: string;
|
|
1327
|
+
icon?: string;
|
|
1328
|
+
layout?: 'basic' | 'native';
|
|
1329
|
+
key: ModuleKeySchema;
|
|
1330
|
+
[k: string]: unknown;
|
|
1331
|
+
}
|
|
1332
|
+
)[]
|
|
1333
|
+
];
|
|
1334
|
+
'jira:projectSettingsPage'?: [
|
|
1335
|
+
(
|
|
1336
|
+
| {
|
|
1337
|
+
function: string;
|
|
1338
|
+
title: string;
|
|
1339
|
+
icon?: string;
|
|
1340
|
+
layout?: 'basic' | 'native';
|
|
1341
|
+
key: ModuleKeySchema;
|
|
1342
|
+
[k: string]: unknown;
|
|
1343
|
+
}
|
|
1344
|
+
| {
|
|
1345
|
+
resource: string;
|
|
1346
|
+
resolver?: {
|
|
1347
|
+
function: string;
|
|
1348
|
+
};
|
|
1349
|
+
title: string;
|
|
1350
|
+
icon?: string;
|
|
1351
|
+
layout?: 'basic' | 'native';
|
|
1352
|
+
key: ModuleKeySchema;
|
|
1353
|
+
[k: string]: unknown;
|
|
1354
|
+
}
|
|
1355
|
+
),
|
|
1356
|
+
...(
|
|
1357
|
+
| {
|
|
1358
|
+
function: string;
|
|
1359
|
+
title: string;
|
|
1360
|
+
icon?: string;
|
|
1361
|
+
layout?: 'basic' | 'native';
|
|
1362
|
+
key: ModuleKeySchema;
|
|
1363
|
+
[k: string]: unknown;
|
|
1364
|
+
}
|
|
1365
|
+
| {
|
|
1366
|
+
resource: string;
|
|
1367
|
+
resolver?: {
|
|
1368
|
+
function: string;
|
|
1369
|
+
};
|
|
1370
|
+
title: string;
|
|
1371
|
+
icon?: string;
|
|
1372
|
+
layout?: 'basic' | 'native';
|
|
1373
|
+
key: ModuleKeySchema;
|
|
1374
|
+
[k: string]: unknown;
|
|
1375
|
+
}
|
|
1376
|
+
)[]
|
|
1377
|
+
];
|
|
1290
1378
|
'compass:adminPage'?: [
|
|
1291
1379
|
(
|
|
1292
1380
|
| {
|
|
@@ -2385,7 +2473,7 @@ export interface Modules {
|
|
|
2385
2473
|
fullPage?: boolean;
|
|
2386
2474
|
cacheable?: boolean;
|
|
2387
2475
|
location?: string;
|
|
2388
|
-
conditions?: (
|
|
2476
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2389
2477
|
params?: {
|
|
2390
2478
|
[k: string]: unknown;
|
|
2391
2479
|
};
|
|
@@ -2400,7 +2488,7 @@ export interface Modules {
|
|
|
2400
2488
|
fullPage?: boolean;
|
|
2401
2489
|
cacheable?: boolean;
|
|
2402
2490
|
location?: string;
|
|
2403
|
-
conditions?: (
|
|
2491
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2404
2492
|
params?: {
|
|
2405
2493
|
[k: string]: unknown;
|
|
2406
2494
|
};
|
|
@@ -2418,7 +2506,7 @@ export interface Modules {
|
|
|
2418
2506
|
location?: string;
|
|
2419
2507
|
cacheable?: boolean;
|
|
2420
2508
|
supportsNative?: boolean;
|
|
2421
|
-
conditions?: (
|
|
2509
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2422
2510
|
params?: {
|
|
2423
2511
|
[k: string]: unknown;
|
|
2424
2512
|
};
|
|
@@ -2434,7 +2522,7 @@ export interface Modules {
|
|
|
2434
2522
|
location?: string;
|
|
2435
2523
|
cacheable?: boolean;
|
|
2436
2524
|
supportsNative?: boolean;
|
|
2437
|
-
conditions?: (
|
|
2525
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2438
2526
|
params?: {
|
|
2439
2527
|
[k: string]: unknown;
|
|
2440
2528
|
};
|
|
@@ -2472,7 +2560,7 @@ export interface Modules {
|
|
|
2472
2560
|
weight?: number;
|
|
2473
2561
|
cacheable?: boolean;
|
|
2474
2562
|
location?: string;
|
|
2475
|
-
conditions?: (
|
|
2563
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2476
2564
|
params?: {
|
|
2477
2565
|
[k: string]: unknown;
|
|
2478
2566
|
};
|
|
@@ -2486,7 +2574,7 @@ export interface Modules {
|
|
|
2486
2574
|
weight?: number;
|
|
2487
2575
|
cacheable?: boolean;
|
|
2488
2576
|
location?: string;
|
|
2489
|
-
conditions?: (
|
|
2577
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2490
2578
|
params?: {
|
|
2491
2579
|
[k: string]: unknown;
|
|
2492
2580
|
};
|
|
@@ -2501,7 +2589,7 @@ export interface Modules {
|
|
|
2501
2589
|
name?: I18NProperty55;
|
|
2502
2590
|
weight?: number;
|
|
2503
2591
|
location?: string;
|
|
2504
|
-
conditions?: (
|
|
2592
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2505
2593
|
params?: {
|
|
2506
2594
|
[k: string]: unknown;
|
|
2507
2595
|
};
|
|
@@ -2513,7 +2601,7 @@ export interface Modules {
|
|
|
2513
2601
|
name?: I18NProperty55;
|
|
2514
2602
|
weight?: number;
|
|
2515
2603
|
location?: string;
|
|
2516
|
-
conditions?: (
|
|
2604
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2517
2605
|
params?: {
|
|
2518
2606
|
[k: string]: unknown;
|
|
2519
2607
|
};
|
|
@@ -2528,7 +2616,7 @@ export interface Modules {
|
|
|
2528
2616
|
weight?: number;
|
|
2529
2617
|
cacheable?: boolean;
|
|
2530
2618
|
location?: string;
|
|
2531
|
-
conditions?: (
|
|
2619
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2532
2620
|
params?: {
|
|
2533
2621
|
[k: string]: unknown;
|
|
2534
2622
|
};
|
|
@@ -2542,7 +2630,7 @@ export interface Modules {
|
|
|
2542
2630
|
weight?: number;
|
|
2543
2631
|
cacheable?: boolean;
|
|
2544
2632
|
location?: string;
|
|
2545
|
-
conditions?: (
|
|
2633
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2546
2634
|
params?: {
|
|
2547
2635
|
[k: string]: unknown;
|
|
2548
2636
|
};
|
|
@@ -2597,7 +2685,7 @@ export interface Modules {
|
|
|
2597
2685
|
fullPage?: boolean;
|
|
2598
2686
|
cacheable?: boolean;
|
|
2599
2687
|
location?: string;
|
|
2600
|
-
conditions?: (
|
|
2688
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2601
2689
|
params?: {
|
|
2602
2690
|
[k: string]: unknown;
|
|
2603
2691
|
};
|
|
@@ -2612,7 +2700,7 @@ export interface Modules {
|
|
|
2612
2700
|
fullPage?: boolean;
|
|
2613
2701
|
cacheable?: boolean;
|
|
2614
2702
|
location?: string;
|
|
2615
|
-
conditions?: (
|
|
2703
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2616
2704
|
params?: {
|
|
2617
2705
|
[k: string]: unknown;
|
|
2618
2706
|
};
|
|
@@ -2662,7 +2750,7 @@ export interface Modules {
|
|
|
2662
2750
|
name?: I18NProperty63;
|
|
2663
2751
|
weight?: number;
|
|
2664
2752
|
location?: string;
|
|
2665
|
-
conditions?: (
|
|
2753
|
+
conditions?: (SingleCondition5 | CompositeCondition7)[];
|
|
2666
2754
|
params?: {
|
|
2667
2755
|
[k: string]: unknown;
|
|
2668
2756
|
};
|
|
@@ -2674,7 +2762,7 @@ export interface Modules {
|
|
|
2674
2762
|
name?: I18NProperty63;
|
|
2675
2763
|
weight?: number;
|
|
2676
2764
|
location?: string;
|
|
2677
|
-
conditions?: (
|
|
2765
|
+
conditions?: (SingleCondition5 | CompositeCondition7)[];
|
|
2678
2766
|
params?: {
|
|
2679
2767
|
[k: string]: unknown;
|
|
2680
2768
|
};
|
|
@@ -3134,7 +3222,7 @@ export interface SingleCondition {
|
|
|
3134
3222
|
*
|
|
3135
3223
|
*/
|
|
3136
3224
|
export interface CompositeCondition {
|
|
3137
|
-
conditions?: (
|
|
3225
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
3138
3226
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
3139
3227
|
[k: string]: unknown;
|
|
3140
3228
|
}
|
|
@@ -5811,10 +5899,47 @@ export interface Icon10 {
|
|
|
5811
5899
|
*
|
|
5812
5900
|
*/
|
|
5813
5901
|
export interface WebItemTarget1 {
|
|
5814
|
-
options?:
|
|
5902
|
+
options?: InlineDialogOptions1 | DialogOptions2 | DialogModuleOptions1;
|
|
5815
5903
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
5816
5904
|
[k: string]: unknown;
|
|
5817
5905
|
}
|
|
5906
|
+
/**
|
|
5907
|
+
*
|
|
5908
|
+
*
|
|
5909
|
+
* Options for an inline dialog target
|
|
5910
|
+
*
|
|
5911
|
+
* <h3>Example</h3>
|
|
5912
|
+
*
|
|
5913
|
+
*
|
|
5914
|
+
*
|
|
5915
|
+
*
|
|
5916
|
+
*
|
|
5917
|
+
* {
|
|
5918
|
+
* "target": {
|
|
5919
|
+
* "type": "inlinedialog",
|
|
5920
|
+
* "options": {
|
|
5921
|
+
* "onHover": true,
|
|
5922
|
+
* "offsetX": "30px",
|
|
5923
|
+
* "offsetY": "20px"
|
|
5924
|
+
* }
|
|
5925
|
+
* }
|
|
5926
|
+
* }
|
|
5927
|
+
*
|
|
5928
|
+
*
|
|
5929
|
+
*
|
|
5930
|
+
*/
|
|
5931
|
+
export interface InlineDialogOptions1 {
|
|
5932
|
+
offsetX?: string;
|
|
5933
|
+
offsetY?: string;
|
|
5934
|
+
width?: string;
|
|
5935
|
+
onTop?: boolean;
|
|
5936
|
+
showDelay?: number;
|
|
5937
|
+
closeOthers?: boolean;
|
|
5938
|
+
persistent?: boolean;
|
|
5939
|
+
onHover?: boolean;
|
|
5940
|
+
isRelativeToMouse?: boolean;
|
|
5941
|
+
[k: string]: unknown;
|
|
5942
|
+
}
|
|
5818
5943
|
/**
|
|
5819
5944
|
*
|
|
5820
5945
|
*
|
|
@@ -5913,43 +6038,6 @@ export interface I18NProperty58 {
|
|
|
5913
6038
|
i18n?: string;
|
|
5914
6039
|
[k: string]: unknown;
|
|
5915
6040
|
}
|
|
5916
|
-
/**
|
|
5917
|
-
*
|
|
5918
|
-
*
|
|
5919
|
-
* Options for an inline dialog target
|
|
5920
|
-
*
|
|
5921
|
-
* <h3>Example</h3>
|
|
5922
|
-
*
|
|
5923
|
-
*
|
|
5924
|
-
*
|
|
5925
|
-
*
|
|
5926
|
-
*
|
|
5927
|
-
* {
|
|
5928
|
-
* "target": {
|
|
5929
|
-
* "type": "inlinedialog",
|
|
5930
|
-
* "options": {
|
|
5931
|
-
* "onHover": true,
|
|
5932
|
-
* "offsetX": "30px",
|
|
5933
|
-
* "offsetY": "20px"
|
|
5934
|
-
* }
|
|
5935
|
-
* }
|
|
5936
|
-
* }
|
|
5937
|
-
*
|
|
5938
|
-
*
|
|
5939
|
-
*
|
|
5940
|
-
*/
|
|
5941
|
-
export interface InlineDialogOptions1 {
|
|
5942
|
-
offsetX?: string;
|
|
5943
|
-
offsetY?: string;
|
|
5944
|
-
width?: string;
|
|
5945
|
-
onTop?: boolean;
|
|
5946
|
-
showDelay?: number;
|
|
5947
|
-
closeOthers?: boolean;
|
|
5948
|
-
persistent?: boolean;
|
|
5949
|
-
onHover?: boolean;
|
|
5950
|
-
isRelativeToMouse?: boolean;
|
|
5951
|
-
[k: string]: unknown;
|
|
5952
|
-
}
|
|
5953
6041
|
/**
|
|
5954
6042
|
*
|
|
5955
6043
|
*
|
|
@@ -6427,6 +6515,37 @@ export interface I18NProperty63 {
|
|
|
6427
6515
|
i18n?: string;
|
|
6428
6516
|
[k: string]: unknown;
|
|
6429
6517
|
}
|
|
6518
|
+
/**
|
|
6519
|
+
*
|
|
6520
|
+
*
|
|
6521
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6522
|
+
* [Conditions](../../conditions/) for more information.
|
|
6523
|
+
*
|
|
6524
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6525
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6526
|
+
*
|
|
6527
|
+
* <h3>Example</h3>
|
|
6528
|
+
*
|
|
6529
|
+
*
|
|
6530
|
+
*
|
|
6531
|
+
*
|
|
6532
|
+
*
|
|
6533
|
+
* {
|
|
6534
|
+
* "condition": "user_is_logged_in",
|
|
6535
|
+
* "invert": false
|
|
6536
|
+
* }
|
|
6537
|
+
*
|
|
6538
|
+
*
|
|
6539
|
+
*
|
|
6540
|
+
*/
|
|
6541
|
+
export interface SingleCondition5 {
|
|
6542
|
+
condition: string;
|
|
6543
|
+
invert?: boolean;
|
|
6544
|
+
params?: {
|
|
6545
|
+
[k: string]: unknown;
|
|
6546
|
+
};
|
|
6547
|
+
[k: string]: unknown;
|
|
6548
|
+
}
|
|
6430
6549
|
/**
|
|
6431
6550
|
*
|
|
6432
6551
|
*
|
|
@@ -6464,41 +6583,10 @@ export interface I18NProperty63 {
|
|
|
6464
6583
|
*
|
|
6465
6584
|
*/
|
|
6466
6585
|
export interface CompositeCondition7 {
|
|
6467
|
-
conditions?: (
|
|
6586
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
6468
6587
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6469
6588
|
[k: string]: unknown;
|
|
6470
6589
|
}
|
|
6471
|
-
/**
|
|
6472
|
-
*
|
|
6473
|
-
*
|
|
6474
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6475
|
-
* [Conditions](../../conditions/) for more information.
|
|
6476
|
-
*
|
|
6477
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6478
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6479
|
-
*
|
|
6480
|
-
* <h3>Example</h3>
|
|
6481
|
-
*
|
|
6482
|
-
*
|
|
6483
|
-
*
|
|
6484
|
-
*
|
|
6485
|
-
*
|
|
6486
|
-
* {
|
|
6487
|
-
* "condition": "user_is_logged_in",
|
|
6488
|
-
* "invert": false
|
|
6489
|
-
* }
|
|
6490
|
-
*
|
|
6491
|
-
*
|
|
6492
|
-
*
|
|
6493
|
-
*/
|
|
6494
|
-
export interface SingleCondition5 {
|
|
6495
|
-
condition: string;
|
|
6496
|
-
invert?: boolean;
|
|
6497
|
-
params?: {
|
|
6498
|
-
[k: string]: unknown;
|
|
6499
|
-
};
|
|
6500
|
-
[k: string]: unknown;
|
|
6501
|
-
}
|
|
6502
6590
|
/**
|
|
6503
6591
|
*
|
|
6504
6592
|
*
|
|
@@ -7918,7 +8006,7 @@ export interface I18NProperty74 {
|
|
|
7918
8006
|
*
|
|
7919
8007
|
*/
|
|
7920
8008
|
export interface MacroPropertyPanel {
|
|
7921
|
-
controls?: (TextControl |
|
|
8009
|
+
controls?: (TextControl | ButtonControl | ControlGroup | ToggleGroup)[];
|
|
7922
8010
|
cacheable?: boolean;
|
|
7923
8011
|
url: string;
|
|
7924
8012
|
[k: string]: unknown;
|
|
@@ -7951,47 +8039,6 @@ export interface TextControl {
|
|
|
7951
8039
|
key: string;
|
|
7952
8040
|
[k: string]: unknown;
|
|
7953
8041
|
}
|
|
7954
|
-
/**
|
|
7955
|
-
*
|
|
7956
|
-
*
|
|
7957
|
-
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
7958
|
-
*
|
|
7959
|
-
* <p><b>Example</b></p>
|
|
7960
|
-
*
|
|
7961
|
-
*
|
|
7962
|
-
*
|
|
7963
|
-
*
|
|
7964
|
-
*
|
|
7965
|
-
* [
|
|
7966
|
-
* {
|
|
7967
|
-
* "type": "group",
|
|
7968
|
-
* "controls": [
|
|
7969
|
-
* {
|
|
7970
|
-
* "type": "button",
|
|
7971
|
-
* "label": {
|
|
7972
|
-
* "value": "My Custom Control 0"
|
|
7973
|
-
* },
|
|
7974
|
-
* "key": "my-custom-control-0"
|
|
7975
|
-
* },
|
|
7976
|
-
* {
|
|
7977
|
-
* "type": "button",
|
|
7978
|
-
* "label": {
|
|
7979
|
-
* "value": "My Custom Control 1"
|
|
7980
|
-
* },
|
|
7981
|
-
* "key": "my-custom-control-1"
|
|
7982
|
-
* }
|
|
7983
|
-
* ]
|
|
7984
|
-
* }
|
|
7985
|
-
* ]
|
|
7986
|
-
*
|
|
7987
|
-
*
|
|
7988
|
-
*
|
|
7989
|
-
*/
|
|
7990
|
-
export interface ControlGroup {
|
|
7991
|
-
controls: ButtonControl[];
|
|
7992
|
-
type: 'group' | 'GROUP';
|
|
7993
|
-
[k: string]: unknown;
|
|
7994
|
-
}
|
|
7995
8042
|
/**
|
|
7996
8043
|
*
|
|
7997
8044
|
*
|
|
@@ -8044,6 +8091,47 @@ export interface I18NProperty75 {
|
|
|
8044
8091
|
i18n?: string;
|
|
8045
8092
|
[k: string]: unknown;
|
|
8046
8093
|
}
|
|
8094
|
+
/**
|
|
8095
|
+
*
|
|
8096
|
+
*
|
|
8097
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
8098
|
+
*
|
|
8099
|
+
* <p><b>Example</b></p>
|
|
8100
|
+
*
|
|
8101
|
+
*
|
|
8102
|
+
*
|
|
8103
|
+
*
|
|
8104
|
+
*
|
|
8105
|
+
* [
|
|
8106
|
+
* {
|
|
8107
|
+
* "type": "group",
|
|
8108
|
+
* "controls": [
|
|
8109
|
+
* {
|
|
8110
|
+
* "type": "button",
|
|
8111
|
+
* "label": {
|
|
8112
|
+
* "value": "My Custom Control 0"
|
|
8113
|
+
* },
|
|
8114
|
+
* "key": "my-custom-control-0"
|
|
8115
|
+
* },
|
|
8116
|
+
* {
|
|
8117
|
+
* "type": "button",
|
|
8118
|
+
* "label": {
|
|
8119
|
+
* "value": "My Custom Control 1"
|
|
8120
|
+
* },
|
|
8121
|
+
* "key": "my-custom-control-1"
|
|
8122
|
+
* }
|
|
8123
|
+
* ]
|
|
8124
|
+
* }
|
|
8125
|
+
* ]
|
|
8126
|
+
*
|
|
8127
|
+
*
|
|
8128
|
+
*
|
|
8129
|
+
*/
|
|
8130
|
+
export interface ControlGroup {
|
|
8131
|
+
controls: ButtonControl1[];
|
|
8132
|
+
type: 'group' | 'GROUP';
|
|
8133
|
+
[k: string]: unknown;
|
|
8134
|
+
}
|
|
8047
8135
|
/**
|
|
8048
8136
|
*
|
|
8049
8137
|
*
|
|
@@ -29163,7 +29251,7 @@ export interface I18NProperty83 {
|
|
|
29163
29251
|
*
|
|
29164
29252
|
*/
|
|
29165
29253
|
export interface MacroPropertyPanel1 {
|
|
29166
|
-
controls?: (
|
|
29254
|
+
controls?: (ToggleGroup1 | TextControl1 | ControlGroup1 | ButtonControl3)[];
|
|
29167
29255
|
cacheable?: boolean;
|
|
29168
29256
|
url: string;
|
|
29169
29257
|
[k: string]: unknown;
|
|
@@ -29171,7 +29259,52 @@ export interface MacroPropertyPanel1 {
|
|
|
29171
29259
|
/**
|
|
29172
29260
|
*
|
|
29173
29261
|
*
|
|
29174
|
-
* Defines a
|
|
29262
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
29263
|
+
*
|
|
29264
|
+
* <p><b>Example</b></p>
|
|
29265
|
+
*
|
|
29266
|
+
*
|
|
29267
|
+
*
|
|
29268
|
+
*
|
|
29269
|
+
*
|
|
29270
|
+
* [
|
|
29271
|
+
* {
|
|
29272
|
+
* "type": "togglegroup",
|
|
29273
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
29274
|
+
* "controls": [
|
|
29275
|
+
* {
|
|
29276
|
+
* "type": "togglebutton",
|
|
29277
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29278
|
+
* "label": {
|
|
29279
|
+
* "value": "My Custom Control 0"
|
|
29280
|
+
* },
|
|
29281
|
+
* "key": "my-custom-toggle-button-0"
|
|
29282
|
+
* },
|
|
29283
|
+
* {
|
|
29284
|
+
* "type": "togglebutton",
|
|
29285
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
29286
|
+
* "label": {
|
|
29287
|
+
* "value": "My Custom Control 1"
|
|
29288
|
+
* },
|
|
29289
|
+
* "key": "my-custom-toggle-button-1"
|
|
29290
|
+
* }
|
|
29291
|
+
* ]
|
|
29292
|
+
* }
|
|
29293
|
+
* ]
|
|
29294
|
+
*
|
|
29295
|
+
*
|
|
29296
|
+
*
|
|
29297
|
+
*/
|
|
29298
|
+
export interface ToggleGroup1 {
|
|
29299
|
+
controls: ToggleButtonControl1[];
|
|
29300
|
+
macroParameter: string;
|
|
29301
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
29302
|
+
[k: string]: unknown;
|
|
29303
|
+
}
|
|
29304
|
+
/**
|
|
29305
|
+
*
|
|
29306
|
+
*
|
|
29307
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
29175
29308
|
*
|
|
29176
29309
|
* <p><b>Example</b></p>
|
|
29177
29310
|
*
|
|
@@ -29180,19 +29313,21 @@ export interface MacroPropertyPanel1 {
|
|
|
29180
29313
|
*
|
|
29181
29314
|
*
|
|
29182
29315
|
* {
|
|
29183
|
-
* "type": "
|
|
29316
|
+
* "type": "togglebutton",
|
|
29317
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29184
29318
|
* "label": {
|
|
29185
29319
|
* "value": "My Custom Control 0"
|
|
29186
29320
|
* },
|
|
29187
|
-
* "key": "my-custom-
|
|
29321
|
+
* "key": "my-custom-toggle-button-0"
|
|
29188
29322
|
* }
|
|
29189
29323
|
*
|
|
29190
29324
|
*
|
|
29191
29325
|
*
|
|
29192
29326
|
*/
|
|
29193
|
-
export interface
|
|
29327
|
+
export interface ToggleButtonControl1 {
|
|
29328
|
+
macroParameterValue: string;
|
|
29194
29329
|
label: I18NProperty84;
|
|
29195
|
-
type: '
|
|
29330
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
29196
29331
|
key: string;
|
|
29197
29332
|
[k: string]: unknown;
|
|
29198
29333
|
}
|
|
@@ -29285,7 +29420,7 @@ export interface TextControl1 {
|
|
|
29285
29420
|
*
|
|
29286
29421
|
*/
|
|
29287
29422
|
export interface ControlGroup1 {
|
|
29288
|
-
controls:
|
|
29423
|
+
controls: ButtonControl2[];
|
|
29289
29424
|
type: 'group' | 'GROUP';
|
|
29290
29425
|
[k: string]: unknown;
|
|
29291
29426
|
}
|
|
@@ -29311,7 +29446,7 @@ export interface ControlGroup1 {
|
|
|
29311
29446
|
*
|
|
29312
29447
|
*
|
|
29313
29448
|
*/
|
|
29314
|
-
export interface
|
|
29449
|
+
export interface ButtonControl2 {
|
|
29315
29450
|
label: I18NProperty85;
|
|
29316
29451
|
type: 'button' | 'BUTTON';
|
|
29317
29452
|
key: string;
|
|
@@ -29344,52 +29479,7 @@ export interface I18NProperty85 {
|
|
|
29344
29479
|
/**
|
|
29345
29480
|
*
|
|
29346
29481
|
*
|
|
29347
|
-
* Defines a
|
|
29348
|
-
*
|
|
29349
|
-
* <p><b>Example</b></p>
|
|
29350
|
-
*
|
|
29351
|
-
*
|
|
29352
|
-
*
|
|
29353
|
-
*
|
|
29354
|
-
*
|
|
29355
|
-
* [
|
|
29356
|
-
* {
|
|
29357
|
-
* "type": "togglegroup",
|
|
29358
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
29359
|
-
* "controls": [
|
|
29360
|
-
* {
|
|
29361
|
-
* "type": "togglebutton",
|
|
29362
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
29363
|
-
* "label": {
|
|
29364
|
-
* "value": "My Custom Control 0"
|
|
29365
|
-
* },
|
|
29366
|
-
* "key": "my-custom-toggle-button-0"
|
|
29367
|
-
* },
|
|
29368
|
-
* {
|
|
29369
|
-
* "type": "togglebutton",
|
|
29370
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
29371
|
-
* "label": {
|
|
29372
|
-
* "value": "My Custom Control 1"
|
|
29373
|
-
* },
|
|
29374
|
-
* "key": "my-custom-toggle-button-1"
|
|
29375
|
-
* }
|
|
29376
|
-
* ]
|
|
29377
|
-
* }
|
|
29378
|
-
* ]
|
|
29379
|
-
*
|
|
29380
|
-
*
|
|
29381
|
-
*
|
|
29382
|
-
*/
|
|
29383
|
-
export interface ToggleGroup1 {
|
|
29384
|
-
controls: ToggleButtonControl1[];
|
|
29385
|
-
macroParameter: string;
|
|
29386
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
29387
|
-
[k: string]: unknown;
|
|
29388
|
-
}
|
|
29389
|
-
/**
|
|
29390
|
-
*
|
|
29391
|
-
*
|
|
29392
|
-
* Defines a toggle button which appears inside a ToggleGroup
|
|
29482
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
29393
29483
|
*
|
|
29394
29484
|
* <p><b>Example</b></p>
|
|
29395
29485
|
*
|
|
@@ -29398,21 +29488,19 @@ export interface ToggleGroup1 {
|
|
|
29398
29488
|
*
|
|
29399
29489
|
*
|
|
29400
29490
|
* {
|
|
29401
|
-
* "type": "
|
|
29402
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
29491
|
+
* "type": "button",
|
|
29403
29492
|
* "label": {
|
|
29404
29493
|
* "value": "My Custom Control 0"
|
|
29405
29494
|
* },
|
|
29406
|
-
* "key": "my-custom-
|
|
29495
|
+
* "key": "my-custom-control-0"
|
|
29407
29496
|
* }
|
|
29408
29497
|
*
|
|
29409
29498
|
*
|
|
29410
29499
|
*
|
|
29411
29500
|
*/
|
|
29412
|
-
export interface
|
|
29413
|
-
macroParameterValue: string;
|
|
29501
|
+
export interface ButtonControl3 {
|
|
29414
29502
|
label: I18NProperty86;
|
|
29415
|
-
type: '
|
|
29503
|
+
type: 'button' | 'BUTTON';
|
|
29416
29504
|
key: string;
|
|
29417
29505
|
[k: string]: unknown;
|
|
29418
29506
|
}
|
|
@@ -50289,7 +50377,7 @@ export interface I18NProperty91 {
|
|
|
50289
50377
|
*
|
|
50290
50378
|
*/
|
|
50291
50379
|
export interface WebItemTarget2 {
|
|
50292
|
-
options?: DialogModuleOptions2 |
|
|
50380
|
+
options?: DialogModuleOptions2 | InlineDialogOptions2 | DialogOptions4;
|
|
50293
50381
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
50294
50382
|
[k: string]: unknown;
|
|
50295
50383
|
}
|
|
@@ -50320,6 +50408,43 @@ export interface DialogModuleOptions2 {
|
|
|
50320
50408
|
key: string;
|
|
50321
50409
|
[k: string]: unknown;
|
|
50322
50410
|
}
|
|
50411
|
+
/**
|
|
50412
|
+
*
|
|
50413
|
+
*
|
|
50414
|
+
* Options for an inline dialog target
|
|
50415
|
+
*
|
|
50416
|
+
* <h3>Example</h3>
|
|
50417
|
+
*
|
|
50418
|
+
*
|
|
50419
|
+
*
|
|
50420
|
+
*
|
|
50421
|
+
*
|
|
50422
|
+
* {
|
|
50423
|
+
* "target": {
|
|
50424
|
+
* "type": "inlinedialog",
|
|
50425
|
+
* "options": {
|
|
50426
|
+
* "onHover": true,
|
|
50427
|
+
* "offsetX": "30px",
|
|
50428
|
+
* "offsetY": "20px"
|
|
50429
|
+
* }
|
|
50430
|
+
* }
|
|
50431
|
+
* }
|
|
50432
|
+
*
|
|
50433
|
+
*
|
|
50434
|
+
*
|
|
50435
|
+
*/
|
|
50436
|
+
export interface InlineDialogOptions2 {
|
|
50437
|
+
offsetX?: string;
|
|
50438
|
+
offsetY?: string;
|
|
50439
|
+
width?: string;
|
|
50440
|
+
onTop?: boolean;
|
|
50441
|
+
showDelay?: number;
|
|
50442
|
+
closeOthers?: boolean;
|
|
50443
|
+
persistent?: boolean;
|
|
50444
|
+
onHover?: boolean;
|
|
50445
|
+
isRelativeToMouse?: boolean;
|
|
50446
|
+
[k: string]: unknown;
|
|
50447
|
+
}
|
|
50323
50448
|
/**
|
|
50324
50449
|
*
|
|
50325
50450
|
*
|
|
@@ -50418,43 +50543,6 @@ export interface I18NProperty92 {
|
|
|
50418
50543
|
i18n?: string;
|
|
50419
50544
|
[k: string]: unknown;
|
|
50420
50545
|
}
|
|
50421
|
-
/**
|
|
50422
|
-
*
|
|
50423
|
-
*
|
|
50424
|
-
* Options for an inline dialog target
|
|
50425
|
-
*
|
|
50426
|
-
* <h3>Example</h3>
|
|
50427
|
-
*
|
|
50428
|
-
*
|
|
50429
|
-
*
|
|
50430
|
-
*
|
|
50431
|
-
*
|
|
50432
|
-
* {
|
|
50433
|
-
* "target": {
|
|
50434
|
-
* "type": "inlinedialog",
|
|
50435
|
-
* "options": {
|
|
50436
|
-
* "onHover": true,
|
|
50437
|
-
* "offsetX": "30px",
|
|
50438
|
-
* "offsetY": "20px"
|
|
50439
|
-
* }
|
|
50440
|
-
* }
|
|
50441
|
-
* }
|
|
50442
|
-
*
|
|
50443
|
-
*
|
|
50444
|
-
*
|
|
50445
|
-
*/
|
|
50446
|
-
export interface InlineDialogOptions2 {
|
|
50447
|
-
offsetX?: string;
|
|
50448
|
-
offsetY?: string;
|
|
50449
|
-
width?: string;
|
|
50450
|
-
onTop?: boolean;
|
|
50451
|
-
showDelay?: number;
|
|
50452
|
-
closeOthers?: boolean;
|
|
50453
|
-
persistent?: boolean;
|
|
50454
|
-
onHover?: boolean;
|
|
50455
|
-
isRelativeToMouse?: boolean;
|
|
50456
|
-
[k: string]: unknown;
|
|
50457
|
-
}
|
|
50458
50546
|
/**
|
|
50459
50547
|
*
|
|
50460
50548
|
*
|