@forge/manifest 2.5.0-next.6 → 2.5.0
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 +46 -0
- package/out/mapping/product-event-to-scope-mapping.json +36 -0
- package/out/schema/manifest-schema.json +149 -149
- package/out/schema/manifest.d.ts +183 -183
- package/out/scopes/shipyard-scopes.json +130 -34
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 70e9c8c: Add Jira global full page and Jira projects settings full page extensions
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 4de9850: Added new product events to scope mapping for custom field: deleted/updated/trashed/restored
|
|
12
|
+
- fde4ba7: Adds Compass component link product event -> OAuth scope mapping
|
|
13
|
+
- 601527b: Add scope mappings for Confluence space events
|
|
14
|
+
- 755e35e: Added new product events to scope mapping for custom field context: added/updated/deleted
|
|
15
|
+
- a5656f6: Update manifest definitions
|
|
16
|
+
- cc8799c: Update manifest definitions
|
|
17
|
+
- f5eb8e0: Update manifest definitions
|
|
18
|
+
- f013199: Update manifest definitions
|
|
19
|
+
- 78d682f: Update manifest definitions
|
|
20
|
+
- 70e9c8c: Update manifest definitions
|
|
21
|
+
- dec8066: Update manifest definitions
|
|
22
|
+
- 0e82242: Update manifest definitions
|
|
23
|
+
|
|
24
|
+
## 2.5.0-next.10
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- fde4ba7: Adds Compass component link product event -> OAuth scope mapping
|
|
29
|
+
|
|
30
|
+
## 2.5.0-next.9
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- 601527b: Add scope mappings for Confluence space events
|
|
35
|
+
|
|
36
|
+
## 2.5.0-next.8
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- a5656f6: Update manifest definitions
|
|
41
|
+
- 78d682f: Update manifest definitions
|
|
42
|
+
|
|
43
|
+
## 2.5.0-next.7
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- cc8799c: Update manifest definitions
|
|
48
|
+
|
|
3
49
|
## 2.5.0-next.6
|
|
4
50
|
|
|
5
51
|
### Patch Changes
|
|
@@ -167,6 +167,42 @@
|
|
|
167
167
|
"oAuthScopes": [
|
|
168
168
|
"read:confluence-content.all"
|
|
169
169
|
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"productEvent": "avi:confluence:created:space:V2",
|
|
173
|
+
"oAuthScopes": [
|
|
174
|
+
"read:confluence-space.summary"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"productEvent": "avi:confluence:updated:space:V2",
|
|
179
|
+
"oAuthScopes": [
|
|
180
|
+
"read:confluence-space.summary"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"productEvent": "avi:confluence:deleted:space:V2",
|
|
185
|
+
"oAuthScopes": [
|
|
186
|
+
"read:confluence-space.summary"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"productEvent": "avi:compass:created:component_link",
|
|
191
|
+
"oAuthScopes": [
|
|
192
|
+
"read:component:compass"
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"productEvent": "avi:compass:updated:component_link",
|
|
197
|
+
"oAuthScopes": [
|
|
198
|
+
"read:component:compass"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"productEvent": "avi:compass:deleted:component_link",
|
|
203
|
+
"oAuthScopes": [
|
|
204
|
+
"read:component:compass"
|
|
205
|
+
]
|
|
170
206
|
}
|
|
171
207
|
]
|
|
172
208
|
}
|
|
@@ -5356,10 +5356,10 @@
|
|
|
5356
5356
|
"type": "object",
|
|
5357
5357
|
"anyOf": [
|
|
5358
5358
|
{
|
|
5359
|
-
"$ref": "#/definitions/
|
|
5359
|
+
"$ref": "#/definitions/singleCondition"
|
|
5360
5360
|
},
|
|
5361
5361
|
{
|
|
5362
|
-
"$ref": "#/definitions/
|
|
5362
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5363
5363
|
}
|
|
5364
5364
|
]
|
|
5365
5365
|
},
|
|
@@ -5427,10 +5427,10 @@
|
|
|
5427
5427
|
"type": "object",
|
|
5428
5428
|
"anyOf": [
|
|
5429
5429
|
{
|
|
5430
|
-
"$ref": "#/definitions/
|
|
5430
|
+
"$ref": "#/definitions/singleCondition"
|
|
5431
5431
|
},
|
|
5432
5432
|
{
|
|
5433
|
-
"$ref": "#/definitions/
|
|
5433
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5434
5434
|
}
|
|
5435
5435
|
]
|
|
5436
5436
|
},
|
|
@@ -5546,10 +5546,10 @@
|
|
|
5546
5546
|
"type": "object",
|
|
5547
5547
|
"anyOf": [
|
|
5548
5548
|
{
|
|
5549
|
-
"$ref": "#/definitions/
|
|
5549
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5550
5550
|
},
|
|
5551
5551
|
{
|
|
5552
|
-
"$ref": "#/definitions/
|
|
5552
|
+
"$ref": "#/definitions/singleCondition"
|
|
5553
5553
|
}
|
|
5554
5554
|
]
|
|
5555
5555
|
},
|
|
@@ -5662,10 +5662,10 @@
|
|
|
5662
5662
|
"type": "object",
|
|
5663
5663
|
"anyOf": [
|
|
5664
5664
|
{
|
|
5665
|
-
"$ref": "#/definitions/
|
|
5665
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5666
5666
|
},
|
|
5667
5667
|
{
|
|
5668
|
-
"$ref": "#/definitions/
|
|
5668
|
+
"$ref": "#/definitions/singleCondition"
|
|
5669
5669
|
}
|
|
5670
5670
|
]
|
|
5671
5671
|
},
|
|
@@ -5782,22 +5782,6 @@
|
|
|
5782
5782
|
"title": "Inline Dialog Options",
|
|
5783
5783
|
"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"
|
|
5784
5784
|
},
|
|
5785
|
-
{
|
|
5786
|
-
"properties": {
|
|
5787
|
-
"key": {
|
|
5788
|
-
"maxLength": 100,
|
|
5789
|
-
"type": "string",
|
|
5790
|
-
"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"
|
|
5791
|
-
}
|
|
5792
|
-
},
|
|
5793
|
-
"required": [
|
|
5794
|
-
"key"
|
|
5795
|
-
],
|
|
5796
|
-
"shortClassName": "dialogModuleOptions",
|
|
5797
|
-
"type": "object",
|
|
5798
|
-
"title": "Dialog Module Options",
|
|
5799
|
-
"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"
|
|
5800
|
-
},
|
|
5801
5785
|
{
|
|
5802
5786
|
"properties": {
|
|
5803
5787
|
"size": {
|
|
@@ -5842,6 +5826,22 @@
|
|
|
5842
5826
|
"type": "object",
|
|
5843
5827
|
"title": "Dialog Options",
|
|
5844
5828
|
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
5829
|
+
},
|
|
5830
|
+
{
|
|
5831
|
+
"properties": {
|
|
5832
|
+
"key": {
|
|
5833
|
+
"maxLength": 100,
|
|
5834
|
+
"type": "string",
|
|
5835
|
+
"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"
|
|
5836
|
+
}
|
|
5837
|
+
},
|
|
5838
|
+
"required": [
|
|
5839
|
+
"key"
|
|
5840
|
+
],
|
|
5841
|
+
"shortClassName": "dialogModuleOptions",
|
|
5842
|
+
"type": "object",
|
|
5843
|
+
"title": "Dialog Module Options",
|
|
5844
|
+
"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"
|
|
5845
5845
|
}
|
|
5846
5846
|
]
|
|
5847
5847
|
},
|
|
@@ -6010,10 +6010,10 @@
|
|
|
6010
6010
|
"type": "object",
|
|
6011
6011
|
"anyOf": [
|
|
6012
6012
|
{
|
|
6013
|
-
"$ref": "#/definitions/
|
|
6013
|
+
"$ref": "#/definitions/singleCondition"
|
|
6014
6014
|
},
|
|
6015
6015
|
{
|
|
6016
|
-
"$ref": "#/definitions/
|
|
6016
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6017
6017
|
}
|
|
6018
6018
|
]
|
|
6019
6019
|
},
|
|
@@ -6195,10 +6195,10 @@
|
|
|
6195
6195
|
"type": "object",
|
|
6196
6196
|
"anyOf": [
|
|
6197
6197
|
{
|
|
6198
|
-
"$ref": "
|
|
6198
|
+
"$ref": "#"
|
|
6199
6199
|
},
|
|
6200
6200
|
{
|
|
6201
|
-
"$ref": "
|
|
6201
|
+
"$ref": "#/definitions/singleCondition"
|
|
6202
6202
|
}
|
|
6203
6203
|
]
|
|
6204
6204
|
},
|
|
@@ -6493,6 +6493,38 @@
|
|
|
6493
6493
|
"items": {
|
|
6494
6494
|
"type": "object",
|
|
6495
6495
|
"anyOf": [
|
|
6496
|
+
{
|
|
6497
|
+
"properties": {
|
|
6498
|
+
"macroParameter": {
|
|
6499
|
+
"maxLength": 100,
|
|
6500
|
+
"type": "string",
|
|
6501
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6502
|
+
},
|
|
6503
|
+
"type": {
|
|
6504
|
+
"enum": [
|
|
6505
|
+
"text",
|
|
6506
|
+
"TEXT"
|
|
6507
|
+
],
|
|
6508
|
+
"type": "string",
|
|
6509
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6510
|
+
},
|
|
6511
|
+
"key": {
|
|
6512
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6513
|
+
"maxLength": 100,
|
|
6514
|
+
"type": "string",
|
|
6515
|
+
"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"
|
|
6516
|
+
}
|
|
6517
|
+
},
|
|
6518
|
+
"required": [
|
|
6519
|
+
"macroParameter",
|
|
6520
|
+
"type",
|
|
6521
|
+
"key"
|
|
6522
|
+
],
|
|
6523
|
+
"shortClassName": "textControlBean",
|
|
6524
|
+
"type": "object",
|
|
6525
|
+
"title": "TextControl",
|
|
6526
|
+
"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"
|
|
6527
|
+
},
|
|
6496
6528
|
{
|
|
6497
6529
|
"properties": {
|
|
6498
6530
|
"label": {
|
|
@@ -6649,38 +6681,6 @@
|
|
|
6649
6681
|
"type": "object",
|
|
6650
6682
|
"title": "ToggleGroup",
|
|
6651
6683
|
"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"
|
|
6652
|
-
},
|
|
6653
|
-
{
|
|
6654
|
-
"properties": {
|
|
6655
|
-
"macroParameter": {
|
|
6656
|
-
"maxLength": 100,
|
|
6657
|
-
"type": "string",
|
|
6658
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6659
|
-
},
|
|
6660
|
-
"type": {
|
|
6661
|
-
"enum": [
|
|
6662
|
-
"text",
|
|
6663
|
-
"TEXT"
|
|
6664
|
-
],
|
|
6665
|
-
"type": "string",
|
|
6666
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6667
|
-
},
|
|
6668
|
-
"key": {
|
|
6669
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6670
|
-
"maxLength": 100,
|
|
6671
|
-
"type": "string",
|
|
6672
|
-
"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"
|
|
6673
|
-
}
|
|
6674
|
-
},
|
|
6675
|
-
"required": [
|
|
6676
|
-
"macroParameter",
|
|
6677
|
-
"type",
|
|
6678
|
-
"key"
|
|
6679
|
-
],
|
|
6680
|
-
"shortClassName": "textControlBean",
|
|
6681
|
-
"type": "object",
|
|
6682
|
-
"title": "TextControl",
|
|
6683
|
-
"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"
|
|
6684
6684
|
}
|
|
6685
6685
|
]
|
|
6686
6686
|
},
|
|
@@ -6975,54 +6975,27 @@
|
|
|
6975
6975
|
"items": {
|
|
6976
6976
|
"type": "object",
|
|
6977
6977
|
"anyOf": [
|
|
6978
|
-
{
|
|
6979
|
-
"properties": {
|
|
6980
|
-
"label": {
|
|
6981
|
-
"$ref": "#/definitions/i18nProperty",
|
|
6982
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6983
|
-
},
|
|
6984
|
-
"type": {
|
|
6985
|
-
"enum": [
|
|
6986
|
-
"button",
|
|
6987
|
-
"BUTTON"
|
|
6988
|
-
],
|
|
6989
|
-
"type": "string",
|
|
6990
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6991
|
-
},
|
|
6992
|
-
"key": {
|
|
6993
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6994
|
-
"maxLength": 100,
|
|
6995
|
-
"type": "string",
|
|
6996
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6997
|
-
}
|
|
6998
|
-
},
|
|
6999
|
-
"required": [
|
|
7000
|
-
"label",
|
|
7001
|
-
"type",
|
|
7002
|
-
"key"
|
|
7003
|
-
],
|
|
7004
|
-
"additionalProperties": true,
|
|
7005
|
-
"shortClassName": "buttonControlBean",
|
|
7006
|
-
"type": "object",
|
|
7007
|
-
"title": "ButtonControl",
|
|
7008
|
-
"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"
|
|
7009
|
-
},
|
|
7010
6978
|
{
|
|
7011
6979
|
"properties": {
|
|
7012
6980
|
"controls": {
|
|
7013
6981
|
"items": {
|
|
7014
6982
|
"properties": {
|
|
6983
|
+
"macroParameterValue": {
|
|
6984
|
+
"maxLength": 10000,
|
|
6985
|
+
"type": "string",
|
|
6986
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6987
|
+
},
|
|
7015
6988
|
"label": {
|
|
7016
6989
|
"$ref": "#/definitions/i18nProperty",
|
|
7017
6990
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7018
6991
|
},
|
|
7019
6992
|
"type": {
|
|
7020
6993
|
"enum": [
|
|
7021
|
-
"
|
|
7022
|
-
"
|
|
6994
|
+
"togglebutton",
|
|
6995
|
+
"TOGGLEBUTTON"
|
|
7023
6996
|
],
|
|
7024
6997
|
"type": "string",
|
|
7025
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6998
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7026
6999
|
},
|
|
7027
7000
|
"key": {
|
|
7028
7001
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -7032,36 +7005,44 @@
|
|
|
7032
7005
|
}
|
|
7033
7006
|
},
|
|
7034
7007
|
"required": [
|
|
7008
|
+
"macroParameterValue",
|
|
7035
7009
|
"label",
|
|
7036
7010
|
"type",
|
|
7037
7011
|
"key"
|
|
7038
7012
|
],
|
|
7039
7013
|
"additionalProperties": true,
|
|
7040
|
-
"shortClassName": "
|
|
7014
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
7041
7015
|
"type": "object",
|
|
7042
|
-
"title": "
|
|
7043
|
-
"description": "\n\nDefines a button which
|
|
7016
|
+
"title": "ToggleButtonControl",
|
|
7017
|
+
"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"
|
|
7044
7018
|
},
|
|
7045
7019
|
"type": "array",
|
|
7046
|
-
"fieldDescription": "\n\
|
|
7020
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7021
|
+
},
|
|
7022
|
+
"macroParameter": {
|
|
7023
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7024
|
+
"maxLength": 100,
|
|
7025
|
+
"type": "string",
|
|
7026
|
+
"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"
|
|
7047
7027
|
},
|
|
7048
7028
|
"type": {
|
|
7049
7029
|
"enum": [
|
|
7050
|
-
"
|
|
7051
|
-
"
|
|
7030
|
+
"togglegroup",
|
|
7031
|
+
"TOGGLEGROUP"
|
|
7052
7032
|
],
|
|
7053
7033
|
"type": "string",
|
|
7054
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7034
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7055
7035
|
}
|
|
7056
7036
|
},
|
|
7057
7037
|
"required": [
|
|
7058
7038
|
"controls",
|
|
7039
|
+
"macroParameter",
|
|
7059
7040
|
"type"
|
|
7060
7041
|
],
|
|
7061
|
-
"shortClassName": "
|
|
7042
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7062
7043
|
"type": "object",
|
|
7063
|
-
"title": "
|
|
7064
|
-
"description": "\n\nDefines a
|
|
7044
|
+
"title": "ToggleGroup",
|
|
7045
|
+
"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"
|
|
7065
7046
|
},
|
|
7066
7047
|
{
|
|
7067
7048
|
"properties": {
|
|
@@ -7100,22 +7081,17 @@
|
|
|
7100
7081
|
"controls": {
|
|
7101
7082
|
"items": {
|
|
7102
7083
|
"properties": {
|
|
7103
|
-
"macroParameterValue": {
|
|
7104
|
-
"maxLength": 10000,
|
|
7105
|
-
"type": "string",
|
|
7106
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7107
|
-
},
|
|
7108
7084
|
"label": {
|
|
7109
7085
|
"$ref": "#/definitions/i18nProperty",
|
|
7110
7086
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7111
7087
|
},
|
|
7112
7088
|
"type": {
|
|
7113
7089
|
"enum": [
|
|
7114
|
-
"
|
|
7115
|
-
"
|
|
7090
|
+
"button",
|
|
7091
|
+
"BUTTON"
|
|
7116
7092
|
],
|
|
7117
7093
|
"type": "string",
|
|
7118
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7094
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7119
7095
|
},
|
|
7120
7096
|
"key": {
|
|
7121
7097
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -7125,44 +7101,68 @@
|
|
|
7125
7101
|
}
|
|
7126
7102
|
},
|
|
7127
7103
|
"required": [
|
|
7128
|
-
"macroParameterValue",
|
|
7129
7104
|
"label",
|
|
7130
7105
|
"type",
|
|
7131
7106
|
"key"
|
|
7132
7107
|
],
|
|
7133
7108
|
"additionalProperties": true,
|
|
7134
|
-
"shortClassName": "
|
|
7109
|
+
"shortClassName": "buttonControlBean",
|
|
7135
7110
|
"type": "object",
|
|
7136
|
-
"title": "
|
|
7137
|
-
"description": "\n\nDefines a
|
|
7111
|
+
"title": "ButtonControl",
|
|
7112
|
+
"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"
|
|
7138
7113
|
},
|
|
7139
7114
|
"type": "array",
|
|
7140
|
-
"fieldDescription": "\n\
|
|
7141
|
-
},
|
|
7142
|
-
"macroParameter": {
|
|
7143
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
7144
|
-
"maxLength": 100,
|
|
7145
|
-
"type": "string",
|
|
7146
|
-
"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"
|
|
7115
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7147
7116
|
},
|
|
7148
7117
|
"type": {
|
|
7149
7118
|
"enum": [
|
|
7150
|
-
"
|
|
7151
|
-
"
|
|
7119
|
+
"group",
|
|
7120
|
+
"GROUP"
|
|
7152
7121
|
],
|
|
7153
7122
|
"type": "string",
|
|
7154
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7123
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7155
7124
|
}
|
|
7156
7125
|
},
|
|
7157
7126
|
"required": [
|
|
7158
7127
|
"controls",
|
|
7159
|
-
"macroParameter",
|
|
7160
7128
|
"type"
|
|
7161
7129
|
],
|
|
7162
|
-
"shortClassName": "
|
|
7130
|
+
"shortClassName": "controlGroupBean",
|
|
7163
7131
|
"type": "object",
|
|
7164
|
-
"title": "
|
|
7165
|
-
"description": "\n\nDefines a
|
|
7132
|
+
"title": "ControlGroup",
|
|
7133
|
+
"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"
|
|
7134
|
+
},
|
|
7135
|
+
{
|
|
7136
|
+
"properties": {
|
|
7137
|
+
"label": {
|
|
7138
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7139
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7140
|
+
},
|
|
7141
|
+
"type": {
|
|
7142
|
+
"enum": [
|
|
7143
|
+
"button",
|
|
7144
|
+
"BUTTON"
|
|
7145
|
+
],
|
|
7146
|
+
"type": "string",
|
|
7147
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7148
|
+
},
|
|
7149
|
+
"key": {
|
|
7150
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7151
|
+
"maxLength": 100,
|
|
7152
|
+
"type": "string",
|
|
7153
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7154
|
+
}
|
|
7155
|
+
},
|
|
7156
|
+
"required": [
|
|
7157
|
+
"label",
|
|
7158
|
+
"type",
|
|
7159
|
+
"key"
|
|
7160
|
+
],
|
|
7161
|
+
"additionalProperties": true,
|
|
7162
|
+
"shortClassName": "buttonControlBean",
|
|
7163
|
+
"type": "object",
|
|
7164
|
+
"title": "ButtonControl",
|
|
7165
|
+
"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"
|
|
7166
7166
|
}
|
|
7167
7167
|
]
|
|
7168
7168
|
},
|
|
@@ -7398,6 +7398,22 @@
|
|
|
7398
7398
|
"type": "object",
|
|
7399
7399
|
"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",
|
|
7400
7400
|
"anyOf": [
|
|
7401
|
+
{
|
|
7402
|
+
"properties": {
|
|
7403
|
+
"key": {
|
|
7404
|
+
"maxLength": 100,
|
|
7405
|
+
"type": "string",
|
|
7406
|
+
"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"
|
|
7407
|
+
}
|
|
7408
|
+
},
|
|
7409
|
+
"required": [
|
|
7410
|
+
"key"
|
|
7411
|
+
],
|
|
7412
|
+
"shortClassName": "dialogModuleOptions",
|
|
7413
|
+
"type": "object",
|
|
7414
|
+
"title": "Dialog Module Options",
|
|
7415
|
+
"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"
|
|
7416
|
+
},
|
|
7401
7417
|
{
|
|
7402
7418
|
"properties": {
|
|
7403
7419
|
"offsetX": {
|
|
@@ -7489,22 +7505,6 @@
|
|
|
7489
7505
|
"type": "object",
|
|
7490
7506
|
"title": "Dialog Options",
|
|
7491
7507
|
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
7492
|
-
},
|
|
7493
|
-
{
|
|
7494
|
-
"properties": {
|
|
7495
|
-
"key": {
|
|
7496
|
-
"maxLength": 100,
|
|
7497
|
-
"type": "string",
|
|
7498
|
-
"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"
|
|
7499
|
-
}
|
|
7500
|
-
},
|
|
7501
|
-
"required": [
|
|
7502
|
-
"key"
|
|
7503
|
-
],
|
|
7504
|
-
"shortClassName": "dialogModuleOptions",
|
|
7505
|
-
"type": "object",
|
|
7506
|
-
"title": "Dialog Module Options",
|
|
7507
|
-
"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"
|
|
7508
7508
|
}
|
|
7509
7509
|
]
|
|
7510
7510
|
},
|
|
@@ -8790,10 +8790,10 @@
|
|
|
8790
8790
|
"type": "object",
|
|
8791
8791
|
"anyOf": [
|
|
8792
8792
|
{
|
|
8793
|
-
"$ref": "
|
|
8793
|
+
"$ref": "#"
|
|
8794
8794
|
},
|
|
8795
8795
|
{
|
|
8796
|
-
"$ref": "
|
|
8796
|
+
"$ref": "#/definitions/singleCondition"
|
|
8797
8797
|
}
|
|
8798
8798
|
]
|
|
8799
8799
|
},
|