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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1413,6 +1413,10 @@
1413
1413
  "function"
1414
1414
  ]
1415
1415
  },
1416
+ "displayConditions": {
1417
+ "type": "object",
1418
+ "properties": {}
1419
+ },
1416
1420
  "key": {
1417
1421
  "$ref": "#/definitions/ModuleKeySchema"
1418
1422
  }
@@ -1543,6 +1547,10 @@
1543
1547
  "function"
1544
1548
  ]
1545
1549
  },
1550
+ "displayConditions": {
1551
+ "type": "object",
1552
+ "properties": {}
1553
+ },
1546
1554
  "key": {
1547
1555
  "$ref": "#/definitions/ModuleKeySchema"
1548
1556
  }
@@ -1733,6 +1741,10 @@
1733
1741
  }
1734
1742
  ]
1735
1743
  },
1744
+ "displayConditions": {
1745
+ "type": "object",
1746
+ "properties": {}
1747
+ },
1736
1748
  "key": {
1737
1749
  "$ref": "#/definitions/ModuleKeySchema"
1738
1750
  }
@@ -1914,6 +1926,10 @@
1914
1926
  }
1915
1927
  ]
1916
1928
  },
1929
+ "displayConditions": {
1930
+ "type": "object",
1931
+ "properties": {}
1932
+ },
1917
1933
  "key": {
1918
1934
  "$ref": "#/definitions/ModuleKeySchema"
1919
1935
  }
@@ -1948,6 +1964,10 @@
1948
1964
  "maxLength": 255,
1949
1965
  "pattern": "^[a-zA-Z0-9-_]+$"
1950
1966
  },
1967
+ "displayConditions": {
1968
+ "type": "object",
1969
+ "properties": {}
1970
+ },
1951
1971
  "key": {
1952
1972
  "$ref": "#/definitions/ModuleKeySchema"
1953
1973
  }
@@ -2003,6 +2023,10 @@
2003
2023
  "xlarge"
2004
2024
  ]
2005
2025
  },
2026
+ "displayConditions": {
2027
+ "type": "object",
2028
+ "properties": {}
2029
+ },
2006
2030
  "key": {
2007
2031
  "$ref": "#/definitions/ModuleKeySchema"
2008
2032
  }
@@ -2089,6 +2113,10 @@
2089
2113
  "minLength": 1,
2090
2114
  "maxLength": 255
2091
2115
  },
2116
+ "displayConditions": {
2117
+ "type": "object",
2118
+ "properties": {}
2119
+ },
2092
2120
  "key": {
2093
2121
  "$ref": "#/definitions/ModuleKeySchema"
2094
2122
  }
@@ -2183,6 +2211,10 @@
2183
2211
  "minLength": 1,
2184
2212
  "maxLength": 255
2185
2213
  },
2214
+ "displayConditions": {
2215
+ "type": "object",
2216
+ "properties": {}
2217
+ },
2186
2218
  "key": {
2187
2219
  "$ref": "#/definitions/ModuleKeySchema"
2188
2220
  }
@@ -2238,6 +2270,10 @@
2238
2270
  "maxLength": 255,
2239
2271
  "pattern": "^[a-zA-Z0-9-_]+$"
2240
2272
  },
2273
+ "displayConditions": {
2274
+ "type": "object",
2275
+ "properties": {}
2276
+ },
2241
2277
  "key": {
2242
2278
  "$ref": "#/definitions/ModuleKeySchema"
2243
2279
  }
@@ -2316,6 +2352,10 @@
2316
2352
  "xlarge"
2317
2353
  ]
2318
2354
  },
2355
+ "displayConditions": {
2356
+ "type": "object",
2357
+ "properties": {}
2358
+ },
2319
2359
  "key": {
2320
2360
  "$ref": "#/definitions/ModuleKeySchema"
2321
2361
  }
@@ -2349,6 +2389,10 @@
2349
2389
  "maxLength": 255,
2350
2390
  "pattern": "^[a-zA-Z0-9-_]+$"
2351
2391
  },
2392
+ "displayConditions": {
2393
+ "type": "object",
2394
+ "properties": {}
2395
+ },
2352
2396
  "key": {
2353
2397
  "$ref": "#/definitions/ModuleKeySchema"
2354
2398
  }
@@ -2404,6 +2448,10 @@
2404
2448
  "xlarge"
2405
2449
  ]
2406
2450
  },
2451
+ "displayConditions": {
2452
+ "type": "object",
2453
+ "properties": {}
2454
+ },
2407
2455
  "key": {
2408
2456
  "$ref": "#/definitions/ModuleKeySchema"
2409
2457
  }
@@ -2480,6 +2528,10 @@
2480
2528
  "function"
2481
2529
  ]
2482
2530
  },
2531
+ "displayConditions": {
2532
+ "type": "object",
2533
+ "properties": {}
2534
+ },
2483
2535
  "key": {
2484
2536
  "$ref": "#/definitions/ModuleKeySchema"
2485
2537
  }
@@ -2594,6 +2646,10 @@
2594
2646
  ]
2595
2647
  }
2596
2648
  },
2649
+ "displayConditions": {
2650
+ "type": "object",
2651
+ "properties": {}
2652
+ },
2597
2653
  "key": {
2598
2654
  "$ref": "#/definitions/ModuleKeySchema"
2599
2655
  }
@@ -2720,6 +2776,10 @@
2720
2776
  ]
2721
2777
  }
2722
2778
  },
2779
+ "displayConditions": {
2780
+ "type": "object",
2781
+ "properties": {}
2782
+ },
2723
2783
  "key": {
2724
2784
  "$ref": "#/definitions/ModuleKeySchema"
2725
2785
  }
@@ -2834,6 +2894,10 @@
2834
2894
  ]
2835
2895
  }
2836
2896
  },
2897
+ "displayConditions": {
2898
+ "type": "object",
2899
+ "properties": {}
2900
+ },
2837
2901
  "key": {
2838
2902
  "$ref": "#/definitions/ModuleKeySchema"
2839
2903
  }
@@ -2960,6 +3024,10 @@
2960
3024
  ]
2961
3025
  }
2962
3026
  },
3027
+ "displayConditions": {
3028
+ "type": "object",
3029
+ "properties": {}
3030
+ },
2963
3031
  "key": {
2964
3032
  "$ref": "#/definitions/ModuleKeySchema"
2965
3033
  }
@@ -3074,6 +3142,10 @@
3074
3142
  ]
3075
3143
  }
3076
3144
  },
3145
+ "displayConditions": {
3146
+ "type": "object",
3147
+ "properties": {}
3148
+ },
3077
3149
  "key": {
3078
3150
  "$ref": "#/definitions/ModuleKeySchema"
3079
3151
  }
@@ -3200,6 +3272,10 @@
3200
3272
  ]
3201
3273
  }
3202
3274
  },
3275
+ "displayConditions": {
3276
+ "type": "object",
3277
+ "properties": {}
3278
+ },
3203
3279
  "key": {
3204
3280
  "$ref": "#/definitions/ModuleKeySchema"
3205
3281
  }
@@ -3314,6 +3390,10 @@
3314
3390
  ]
3315
3391
  }
3316
3392
  },
3393
+ "displayConditions": {
3394
+ "type": "object",
3395
+ "properties": {}
3396
+ },
3317
3397
  "key": {
3318
3398
  "$ref": "#/definitions/ModuleKeySchema"
3319
3399
  }
@@ -3440,6 +3520,10 @@
3440
3520
  ]
3441
3521
  }
3442
3522
  },
3523
+ "displayConditions": {
3524
+ "type": "object",
3525
+ "properties": {}
3526
+ },
3443
3527
  "key": {
3444
3528
  "$ref": "#/definitions/ModuleKeySchema"
3445
3529
  }
@@ -6247,10 +6331,10 @@
6247
6331
  "type": "object",
6248
6332
  "anyOf": [
6249
6333
  {
6250
- "$ref": "#/definitions/singleCondition"
6334
+ "$ref": "#/definitions/compositeCondition"
6251
6335
  },
6252
6336
  {
6253
- "$ref": "#/definitions/compositeCondition"
6337
+ "$ref": "#/definitions/singleCondition"
6254
6338
  }
6255
6339
  ]
6256
6340
  },
@@ -6311,10 +6395,10 @@
6311
6395
  "type": "object",
6312
6396
  "anyOf": [
6313
6397
  {
6314
- "$ref": "#/definitions/singleCondition"
6398
+ "$ref": "#/definitions/compositeCondition"
6315
6399
  },
6316
6400
  {
6317
- "$ref": "#/definitions/compositeCondition"
6401
+ "$ref": "#/definitions/singleCondition"
6318
6402
  }
6319
6403
  ]
6320
6404
  },
@@ -6427,10 +6511,10 @@
6427
6511
  "type": "object",
6428
6512
  "anyOf": [
6429
6513
  {
6430
- "$ref": "#/definitions/singleCondition"
6514
+ "$ref": "#/definitions/compositeCondition"
6431
6515
  },
6432
6516
  {
6433
- "$ref": "#/definitions/compositeCondition"
6517
+ "$ref": "#/definitions/singleCondition"
6434
6518
  }
6435
6519
  ]
6436
6520
  },
@@ -6500,22 +6584,6 @@
6500
6584
  "type": "object",
6501
6585
  "fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
6502
6586
  "anyOf": [
6503
- {
6504
- "properties": {
6505
- "key": {
6506
- "maxLength": 100,
6507
- "type": "string",
6508
- "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
6509
- }
6510
- },
6511
- "required": [
6512
- "key"
6513
- ],
6514
- "shortClassName": "dialogModuleOptions",
6515
- "type": "object",
6516
- "title": "Dialog Module Options",
6517
- "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
6518
- },
6519
6587
  {
6520
6588
  "properties": {
6521
6589
  "size": {
@@ -6607,6 +6675,22 @@
6607
6675
  "type": "object",
6608
6676
  "title": "Inline Dialog Options",
6609
6677
  "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
6678
+ },
6679
+ {
6680
+ "properties": {
6681
+ "key": {
6682
+ "maxLength": 100,
6683
+ "type": "string",
6684
+ "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
6685
+ }
6686
+ },
6687
+ "required": [
6688
+ "key"
6689
+ ],
6690
+ "shortClassName": "dialogModuleOptions",
6691
+ "type": "object",
6692
+ "title": "Dialog Module Options",
6693
+ "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
6610
6694
  }
6611
6695
  ]
6612
6696
  },
@@ -6697,10 +6781,10 @@
6697
6781
  "type": "object",
6698
6782
  "anyOf": [
6699
6783
  {
6700
- "$ref": "#/definitions/singleCondition"
6784
+ "$ref": "#"
6701
6785
  },
6702
6786
  {
6703
- "$ref": "#"
6787
+ "$ref": "#/definitions/singleCondition"
6704
6788
  }
6705
6789
  ]
6706
6790
  },
@@ -6933,10 +7017,10 @@
6933
7017
  "type": "object",
6934
7018
  "anyOf": [
6935
7019
  {
6936
- "$ref": "#/definitions/singleCondition"
7020
+ "$ref": "#"
6937
7021
  },
6938
7022
  {
6939
- "$ref": "#"
7023
+ "$ref": "#/definitions/singleCondition"
6940
7024
  }
6941
7025
  ]
6942
7026
  },
@@ -7258,75 +7342,6 @@
7258
7342
  "items": {
7259
7343
  "type": "object",
7260
7344
  "anyOf": [
7261
- {
7262
- "properties": {
7263
- "controls": {
7264
- "items": {
7265
- "properties": {
7266
- "macroParameterValue": {
7267
- "maxLength": 10000,
7268
- "type": "string",
7269
- "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7270
- },
7271
- "label": {
7272
- "$ref": "#/definitions/i18nProperty",
7273
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7274
- },
7275
- "type": {
7276
- "enum": [
7277
- "togglebutton",
7278
- "TOGGLEBUTTON"
7279
- ],
7280
- "type": "string",
7281
- "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7282
- },
7283
- "key": {
7284
- "pattern": "^[a-zA-Z0-9-]+$",
7285
- "maxLength": 100,
7286
- "type": "string",
7287
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7288
- }
7289
- },
7290
- "required": [
7291
- "macroParameterValue",
7292
- "label",
7293
- "type",
7294
- "key"
7295
- ],
7296
- "additionalProperties": true,
7297
- "shortClassName": "macroToggleButtonControlBean",
7298
- "type": "object",
7299
- "title": "ToggleButtonControl",
7300
- "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
7301
- },
7302
- "type": "array",
7303
- "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7304
- },
7305
- "macroParameter": {
7306
- "pattern": "[-_a-z0-9\\.]+",
7307
- "maxLength": 100,
7308
- "type": "string",
7309
- "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
7310
- },
7311
- "type": {
7312
- "enum": [
7313
- "togglegroup",
7314
- "TOGGLEGROUP"
7315
- ],
7316
- "type": "string",
7317
- "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7318
- }
7319
- },
7320
- "required": [
7321
- "controls",
7322
- "macroParameter",
7323
- "type"
7324
- ],
7325
- "shortClassName": "macroToggleGroupBean",
7326
- "type": "object",
7327
- "title": "ToggleGroup",
7328
- "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
7329
- },
7330
7345
  {
7331
7346
  "properties": {
7332
7347
  "label": {
@@ -7415,6 +7430,75 @@
7415
7430
  "title": "ControlGroup",
7416
7431
  "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
7417
7432
  },
7433
+ {
7434
+ "properties": {
7435
+ "controls": {
7436
+ "items": {
7437
+ "properties": {
7438
+ "macroParameterValue": {
7439
+ "maxLength": 10000,
7440
+ "type": "string",
7441
+ "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7442
+ },
7443
+ "label": {
7444
+ "$ref": "#/definitions/i18nProperty",
7445
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7446
+ },
7447
+ "type": {
7448
+ "enum": [
7449
+ "togglebutton",
7450
+ "TOGGLEBUTTON"
7451
+ ],
7452
+ "type": "string",
7453
+ "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7454
+ },
7455
+ "key": {
7456
+ "pattern": "^[a-zA-Z0-9-]+$",
7457
+ "maxLength": 100,
7458
+ "type": "string",
7459
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7460
+ }
7461
+ },
7462
+ "required": [
7463
+ "macroParameterValue",
7464
+ "label",
7465
+ "type",
7466
+ "key"
7467
+ ],
7468
+ "additionalProperties": true,
7469
+ "shortClassName": "macroToggleButtonControlBean",
7470
+ "type": "object",
7471
+ "title": "ToggleButtonControl",
7472
+ "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
7473
+ },
7474
+ "type": "array",
7475
+ "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7476
+ },
7477
+ "macroParameter": {
7478
+ "pattern": "[-_a-z0-9\\.]+",
7479
+ "maxLength": 100,
7480
+ "type": "string",
7481
+ "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
7482
+ },
7483
+ "type": {
7484
+ "enum": [
7485
+ "togglegroup",
7486
+ "TOGGLEGROUP"
7487
+ ],
7488
+ "type": "string",
7489
+ "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7490
+ }
7491
+ },
7492
+ "required": [
7493
+ "controls",
7494
+ "macroParameter",
7495
+ "type"
7496
+ ],
7497
+ "shortClassName": "macroToggleGroupBean",
7498
+ "type": "object",
7499
+ "title": "ToggleGroup",
7500
+ "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
7501
+ },
7418
7502
  {
7419
7503
  "properties": {
7420
7504
  "macroParameter": {
@@ -7742,72 +7826,67 @@
7742
7826
  "anyOf": [
7743
7827
  {
7744
7828
  "properties": {
7745
- "controls": {
7746
- "items": {
7747
- "properties": {
7748
- "macroParameterValue": {
7749
- "maxLength": 10000,
7750
- "type": "string",
7751
- "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7752
- },
7753
- "label": {
7754
- "$ref": "#/definitions/i18nProperty",
7755
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7756
- },
7757
- "type": {
7758
- "enum": [
7759
- "togglebutton",
7760
- "TOGGLEBUTTON"
7761
- ],
7762
- "type": "string",
7763
- "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7764
- },
7765
- "key": {
7766
- "pattern": "^[a-zA-Z0-9-]+$",
7767
- "maxLength": 100,
7768
- "type": "string",
7769
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7770
- }
7771
- },
7772
- "required": [
7773
- "macroParameterValue",
7774
- "label",
7775
- "type",
7776
- "key"
7777
- ],
7778
- "additionalProperties": true,
7779
- "shortClassName": "macroToggleButtonControlBean",
7780
- "type": "object",
7781
- "title": "ToggleButtonControl",
7782
- "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
7783
- },
7784
- "type": "array",
7785
- "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7786
- },
7787
7829
  "macroParameter": {
7788
- "pattern": "[-_a-z0-9\\.]+",
7789
7830
  "maxLength": 100,
7790
7831
  "type": "string",
7791
- "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
7832
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7792
7833
  },
7793
7834
  "type": {
7794
7835
  "enum": [
7795
- "togglegroup",
7796
- "TOGGLEGROUP"
7836
+ "text",
7837
+ "TEXT"
7797
7838
  ],
7798
7839
  "type": "string",
7799
- "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7840
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7841
+ },
7842
+ "key": {
7843
+ "pattern": "^[a-zA-Z0-9-]+$",
7844
+ "maxLength": 100,
7845
+ "type": "string",
7846
+ "fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
7800
7847
  }
7801
7848
  },
7802
7849
  "required": [
7803
- "controls",
7804
7850
  "macroParameter",
7805
- "type"
7851
+ "type",
7852
+ "key"
7806
7853
  ],
7807
- "shortClassName": "macroToggleGroupBean",
7854
+ "shortClassName": "textControlBean",
7808
7855
  "type": "object",
7809
- "title": "ToggleGroup",
7810
- "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
7856
+ "title": "TextControl",
7857
+ "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7858
+ },
7859
+ {
7860
+ "properties": {
7861
+ "label": {
7862
+ "$ref": "#/definitions/i18nProperty",
7863
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7864
+ },
7865
+ "type": {
7866
+ "enum": [
7867
+ "button",
7868
+ "BUTTON"
7869
+ ],
7870
+ "type": "string",
7871
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7872
+ },
7873
+ "key": {
7874
+ "pattern": "^[a-zA-Z0-9-]+$",
7875
+ "maxLength": 100,
7876
+ "type": "string",
7877
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7878
+ }
7879
+ },
7880
+ "required": [
7881
+ "label",
7882
+ "type",
7883
+ "key"
7884
+ ],
7885
+ "additionalProperties": true,
7886
+ "shortClassName": "buttonControlBean",
7887
+ "type": "object",
7888
+ "title": "ButtonControl",
7889
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7811
7890
  },
7812
7891
  {
7813
7892
  "properties": {
@@ -7867,67 +7946,72 @@
7867
7946
  },
7868
7947
  {
7869
7948
  "properties": {
7949
+ "controls": {
7950
+ "items": {
7951
+ "properties": {
7952
+ "macroParameterValue": {
7953
+ "maxLength": 10000,
7954
+ "type": "string",
7955
+ "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7956
+ },
7957
+ "label": {
7958
+ "$ref": "#/definitions/i18nProperty",
7959
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7960
+ },
7961
+ "type": {
7962
+ "enum": [
7963
+ "togglebutton",
7964
+ "TOGGLEBUTTON"
7965
+ ],
7966
+ "type": "string",
7967
+ "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7968
+ },
7969
+ "key": {
7970
+ "pattern": "^[a-zA-Z0-9-]+$",
7971
+ "maxLength": 100,
7972
+ "type": "string",
7973
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7974
+ }
7975
+ },
7976
+ "required": [
7977
+ "macroParameterValue",
7978
+ "label",
7979
+ "type",
7980
+ "key"
7981
+ ],
7982
+ "additionalProperties": true,
7983
+ "shortClassName": "macroToggleButtonControlBean",
7984
+ "type": "object",
7985
+ "title": "ToggleButtonControl",
7986
+ "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
7987
+ },
7988
+ "type": "array",
7989
+ "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7990
+ },
7870
7991
  "macroParameter": {
7992
+ "pattern": "[-_a-z0-9\\.]+",
7871
7993
  "maxLength": 100,
7872
7994
  "type": "string",
7873
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7995
+ "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
7874
7996
  },
7875
7997
  "type": {
7876
7998
  "enum": [
7877
- "text",
7878
- "TEXT"
7999
+ "togglegroup",
8000
+ "TOGGLEGROUP"
7879
8001
  ],
7880
8002
  "type": "string",
7881
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7882
- },
7883
- "key": {
7884
- "pattern": "^[a-zA-Z0-9-]+$",
7885
- "maxLength": 100,
7886
- "type": "string",
7887
- "fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
8003
+ "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7888
8004
  }
7889
8005
  },
7890
8006
  "required": [
8007
+ "controls",
7891
8008
  "macroParameter",
7892
- "type",
7893
- "key"
7894
- ],
7895
- "shortClassName": "textControlBean",
7896
- "type": "object",
7897
- "title": "TextControl",
7898
- "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7899
- },
7900
- {
7901
- "properties": {
7902
- "label": {
7903
- "$ref": "#/definitions/i18nProperty",
7904
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7905
- },
7906
- "type": {
7907
- "enum": [
7908
- "button",
7909
- "BUTTON"
7910
- ],
7911
- "type": "string",
7912
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7913
- },
7914
- "key": {
7915
- "pattern": "^[a-zA-Z0-9-]+$",
7916
- "maxLength": 100,
7917
- "type": "string",
7918
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7919
- }
7920
- },
7921
- "required": [
7922
- "label",
7923
- "type",
7924
- "key"
8009
+ "type"
7925
8010
  ],
7926
- "additionalProperties": true,
7927
- "shortClassName": "buttonControlBean",
8011
+ "shortClassName": "macroToggleGroupBean",
7928
8012
  "type": "object",
7929
- "title": "ButtonControl",
7930
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8013
+ "title": "ToggleGroup",
8014
+ "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
7931
8015
  }
7932
8016
  ]
7933
8017
  },
@@ -9567,10 +9651,10 @@
9567
9651
  "type": "object",
9568
9652
  "anyOf": [
9569
9653
  {
9570
- "$ref": "#/definitions/singleCondition"
9654
+ "$ref": "#"
9571
9655
  },
9572
9656
  {
9573
- "$ref": "#"
9657
+ "$ref": "#/definitions/singleCondition"
9574
9658
  }
9575
9659
  ]
9576
9660
  },