@forge/manifest 3.2.0 → 3.3.0-next.2
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 +29 -0
- package/out/schema/manifest-schema.json +253 -253
- package/out/schema/manifest.d.ts +407 -407
- package/out/scopes/shipyard-scopes.json +2 -0
- package/package.json +2 -2
|
@@ -6228,10 +6228,10 @@
|
|
|
6228
6228
|
"type": "object",
|
|
6229
6229
|
"anyOf": [
|
|
6230
6230
|
{
|
|
6231
|
-
"$ref": "#/definitions/
|
|
6231
|
+
"$ref": "#/definitions/singleCondition"
|
|
6232
6232
|
},
|
|
6233
6233
|
{
|
|
6234
|
-
"$ref": "#/definitions/
|
|
6234
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6235
6235
|
}
|
|
6236
6236
|
]
|
|
6237
6237
|
},
|
|
@@ -6418,10 +6418,10 @@
|
|
|
6418
6418
|
"type": "object",
|
|
6419
6419
|
"anyOf": [
|
|
6420
6420
|
{
|
|
6421
|
-
"$ref": "#/definitions/
|
|
6421
|
+
"$ref": "#/definitions/singleCondition"
|
|
6422
6422
|
},
|
|
6423
6423
|
{
|
|
6424
|
-
"$ref": "#/definitions/
|
|
6424
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6425
6425
|
}
|
|
6426
6426
|
]
|
|
6427
6427
|
},
|
|
@@ -6534,10 +6534,10 @@
|
|
|
6534
6534
|
"type": "object",
|
|
6535
6535
|
"anyOf": [
|
|
6536
6536
|
{
|
|
6537
|
-
"$ref": "#/definitions/
|
|
6537
|
+
"$ref": "#/definitions/singleCondition"
|
|
6538
6538
|
},
|
|
6539
6539
|
{
|
|
6540
|
-
"$ref": "#/definitions/
|
|
6540
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6541
6541
|
}
|
|
6542
6542
|
]
|
|
6543
6543
|
},
|
|
@@ -6607,6 +6607,22 @@
|
|
|
6607
6607
|
"type": "object",
|
|
6608
6608
|
"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",
|
|
6609
6609
|
"anyOf": [
|
|
6610
|
+
{
|
|
6611
|
+
"properties": {
|
|
6612
|
+
"key": {
|
|
6613
|
+
"maxLength": 100,
|
|
6614
|
+
"type": "string",
|
|
6615
|
+
"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"
|
|
6616
|
+
}
|
|
6617
|
+
},
|
|
6618
|
+
"required": [
|
|
6619
|
+
"key"
|
|
6620
|
+
],
|
|
6621
|
+
"shortClassName": "dialogModuleOptions",
|
|
6622
|
+
"type": "object",
|
|
6623
|
+
"title": "Dialog Module Options",
|
|
6624
|
+
"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"
|
|
6625
|
+
},
|
|
6610
6626
|
{
|
|
6611
6627
|
"properties": {
|
|
6612
6628
|
"offsetX": {
|
|
@@ -6654,22 +6670,6 @@
|
|
|
6654
6670
|
"title": "Inline Dialog Options",
|
|
6655
6671
|
"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"
|
|
6656
6672
|
},
|
|
6657
|
-
{
|
|
6658
|
-
"properties": {
|
|
6659
|
-
"key": {
|
|
6660
|
-
"maxLength": 100,
|
|
6661
|
-
"type": "string",
|
|
6662
|
-
"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"
|
|
6663
|
-
}
|
|
6664
|
-
},
|
|
6665
|
-
"required": [
|
|
6666
|
-
"key"
|
|
6667
|
-
],
|
|
6668
|
-
"shortClassName": "dialogModuleOptions",
|
|
6669
|
-
"type": "object",
|
|
6670
|
-
"title": "Dialog Module Options",
|
|
6671
|
-
"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"
|
|
6672
|
-
},
|
|
6673
6673
|
{
|
|
6674
6674
|
"properties": {
|
|
6675
6675
|
"size": {
|
|
@@ -6770,33 +6770,6 @@
|
|
|
6770
6770
|
"items": {
|
|
6771
6771
|
"type": "object",
|
|
6772
6772
|
"anyOf": [
|
|
6773
|
-
{
|
|
6774
|
-
"properties": {
|
|
6775
|
-
"condition": {
|
|
6776
|
-
"maxLength": 100,
|
|
6777
|
-
"type": "string",
|
|
6778
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6779
|
-
},
|
|
6780
|
-
"invert": {
|
|
6781
|
-
"type": "boolean",
|
|
6782
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6783
|
-
"defaultValue": "false"
|
|
6784
|
-
},
|
|
6785
|
-
"params": {
|
|
6786
|
-
"additionalProperties": true,
|
|
6787
|
-
"type": "object",
|
|
6788
|
-
"fieldTitle": "Object",
|
|
6789
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
6790
|
-
}
|
|
6791
|
-
},
|
|
6792
|
-
"required": [
|
|
6793
|
-
"condition"
|
|
6794
|
-
],
|
|
6795
|
-
"shortClassName": "singleConditionBean",
|
|
6796
|
-
"type": "object",
|
|
6797
|
-
"title": "Single Condition",
|
|
6798
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
6799
|
-
},
|
|
6800
6773
|
{
|
|
6801
6774
|
"properties": {
|
|
6802
6775
|
"conditions": {
|
|
@@ -6804,10 +6777,10 @@
|
|
|
6804
6777
|
"type": "object",
|
|
6805
6778
|
"anyOf": [
|
|
6806
6779
|
{
|
|
6807
|
-
"$ref": "
|
|
6780
|
+
"$ref": "#/definitions/singleCondition"
|
|
6808
6781
|
},
|
|
6809
6782
|
{
|
|
6810
|
-
"$ref": "
|
|
6783
|
+
"$ref": "#"
|
|
6811
6784
|
}
|
|
6812
6785
|
]
|
|
6813
6786
|
},
|
|
@@ -6829,6 +6802,33 @@
|
|
|
6829
6802
|
"type": "object",
|
|
6830
6803
|
"title": "Composite Condition",
|
|
6831
6804
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
6805
|
+
},
|
|
6806
|
+
{
|
|
6807
|
+
"properties": {
|
|
6808
|
+
"condition": {
|
|
6809
|
+
"maxLength": 100,
|
|
6810
|
+
"type": "string",
|
|
6811
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6812
|
+
},
|
|
6813
|
+
"invert": {
|
|
6814
|
+
"type": "boolean",
|
|
6815
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6816
|
+
"defaultValue": "false"
|
|
6817
|
+
},
|
|
6818
|
+
"params": {
|
|
6819
|
+
"additionalProperties": true,
|
|
6820
|
+
"type": "object",
|
|
6821
|
+
"fieldTitle": "Object",
|
|
6822
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
6823
|
+
}
|
|
6824
|
+
},
|
|
6825
|
+
"required": [
|
|
6826
|
+
"condition"
|
|
6827
|
+
],
|
|
6828
|
+
"shortClassName": "singleConditionBean",
|
|
6829
|
+
"type": "object",
|
|
6830
|
+
"title": "Single Condition",
|
|
6831
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
6832
6832
|
}
|
|
6833
6833
|
]
|
|
6834
6834
|
},
|
|
@@ -6882,10 +6882,10 @@
|
|
|
6882
6882
|
"type": "object",
|
|
6883
6883
|
"anyOf": [
|
|
6884
6884
|
{
|
|
6885
|
-
"$ref": "#/definitions/
|
|
6885
|
+
"$ref": "#/definitions/singleCondition"
|
|
6886
6886
|
},
|
|
6887
6887
|
{
|
|
6888
|
-
"$ref": "#/definitions/
|
|
6888
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6889
6889
|
}
|
|
6890
6890
|
]
|
|
6891
6891
|
},
|
|
@@ -7033,6 +7033,33 @@
|
|
|
7033
7033
|
"items": {
|
|
7034
7034
|
"type": "object",
|
|
7035
7035
|
"anyOf": [
|
|
7036
|
+
{
|
|
7037
|
+
"properties": {
|
|
7038
|
+
"condition": {
|
|
7039
|
+
"maxLength": 100,
|
|
7040
|
+
"type": "string",
|
|
7041
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7042
|
+
},
|
|
7043
|
+
"invert": {
|
|
7044
|
+
"type": "boolean",
|
|
7045
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7046
|
+
"defaultValue": "false"
|
|
7047
|
+
},
|
|
7048
|
+
"params": {
|
|
7049
|
+
"additionalProperties": true,
|
|
7050
|
+
"type": "object",
|
|
7051
|
+
"fieldTitle": "Object",
|
|
7052
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
7053
|
+
}
|
|
7054
|
+
},
|
|
7055
|
+
"required": [
|
|
7056
|
+
"condition"
|
|
7057
|
+
],
|
|
7058
|
+
"shortClassName": "singleConditionBean",
|
|
7059
|
+
"type": "object",
|
|
7060
|
+
"title": "Single Condition",
|
|
7061
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
7062
|
+
},
|
|
7036
7063
|
{
|
|
7037
7064
|
"properties": {
|
|
7038
7065
|
"conditions": {
|
|
@@ -7040,10 +7067,10 @@
|
|
|
7040
7067
|
"type": "object",
|
|
7041
7068
|
"anyOf": [
|
|
7042
7069
|
{
|
|
7043
|
-
"$ref": "
|
|
7070
|
+
"$ref": "#"
|
|
7044
7071
|
},
|
|
7045
7072
|
{
|
|
7046
|
-
"$ref": "
|
|
7073
|
+
"$ref": "#/definitions/singleCondition"
|
|
7047
7074
|
}
|
|
7048
7075
|
]
|
|
7049
7076
|
},
|
|
@@ -7065,33 +7092,6 @@
|
|
|
7065
7092
|
"type": "object",
|
|
7066
7093
|
"title": "Composite Condition",
|
|
7067
7094
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
7068
|
-
},
|
|
7069
|
-
{
|
|
7070
|
-
"properties": {
|
|
7071
|
-
"condition": {
|
|
7072
|
-
"maxLength": 100,
|
|
7073
|
-
"type": "string",
|
|
7074
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7075
|
-
},
|
|
7076
|
-
"invert": {
|
|
7077
|
-
"type": "boolean",
|
|
7078
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7079
|
-
"defaultValue": "false"
|
|
7080
|
-
},
|
|
7081
|
-
"params": {
|
|
7082
|
-
"additionalProperties": true,
|
|
7083
|
-
"type": "object",
|
|
7084
|
-
"fieldTitle": "Object",
|
|
7085
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
7086
|
-
}
|
|
7087
|
-
},
|
|
7088
|
-
"required": [
|
|
7089
|
-
"condition"
|
|
7090
|
-
],
|
|
7091
|
-
"shortClassName": "singleConditionBean",
|
|
7092
|
-
"type": "object",
|
|
7093
|
-
"title": "Single Condition",
|
|
7094
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
7095
7095
|
}
|
|
7096
7096
|
]
|
|
7097
7097
|
},
|
|
@@ -7365,6 +7365,62 @@
|
|
|
7365
7365
|
"items": {
|
|
7366
7366
|
"type": "object",
|
|
7367
7367
|
"anyOf": [
|
|
7368
|
+
{
|
|
7369
|
+
"properties": {
|
|
7370
|
+
"controls": {
|
|
7371
|
+
"items": {
|
|
7372
|
+
"properties": {
|
|
7373
|
+
"label": {
|
|
7374
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7375
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7376
|
+
},
|
|
7377
|
+
"type": {
|
|
7378
|
+
"enum": [
|
|
7379
|
+
"button",
|
|
7380
|
+
"BUTTON"
|
|
7381
|
+
],
|
|
7382
|
+
"type": "string",
|
|
7383
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7384
|
+
},
|
|
7385
|
+
"key": {
|
|
7386
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7387
|
+
"maxLength": 100,
|
|
7388
|
+
"type": "string",
|
|
7389
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7390
|
+
}
|
|
7391
|
+
},
|
|
7392
|
+
"required": [
|
|
7393
|
+
"label",
|
|
7394
|
+
"type",
|
|
7395
|
+
"key"
|
|
7396
|
+
],
|
|
7397
|
+
"additionalProperties": true,
|
|
7398
|
+
"shortClassName": "buttonControlBean",
|
|
7399
|
+
"type": "object",
|
|
7400
|
+
"title": "ButtonControl",
|
|
7401
|
+
"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"
|
|
7402
|
+
},
|
|
7403
|
+
"type": "array",
|
|
7404
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7405
|
+
},
|
|
7406
|
+
"type": {
|
|
7407
|
+
"enum": [
|
|
7408
|
+
"group",
|
|
7409
|
+
"GROUP"
|
|
7410
|
+
],
|
|
7411
|
+
"type": "string",
|
|
7412
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
"required": [
|
|
7416
|
+
"controls",
|
|
7417
|
+
"type"
|
|
7418
|
+
],
|
|
7419
|
+
"shortClassName": "controlGroupBean",
|
|
7420
|
+
"type": "object",
|
|
7421
|
+
"title": "ControlGroup",
|
|
7422
|
+
"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"
|
|
7423
|
+
},
|
|
7368
7424
|
{
|
|
7369
7425
|
"properties": {
|
|
7370
7426
|
"macroParameter": {
|
|
@@ -7497,62 +7553,6 @@
|
|
|
7497
7553
|
"type": "object",
|
|
7498
7554
|
"title": "ButtonControl",
|
|
7499
7555
|
"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"
|
|
7500
|
-
},
|
|
7501
|
-
{
|
|
7502
|
-
"properties": {
|
|
7503
|
-
"controls": {
|
|
7504
|
-
"items": {
|
|
7505
|
-
"properties": {
|
|
7506
|
-
"label": {
|
|
7507
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7508
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7509
|
-
},
|
|
7510
|
-
"type": {
|
|
7511
|
-
"enum": [
|
|
7512
|
-
"button",
|
|
7513
|
-
"BUTTON"
|
|
7514
|
-
],
|
|
7515
|
-
"type": "string",
|
|
7516
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7517
|
-
},
|
|
7518
|
-
"key": {
|
|
7519
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7520
|
-
"maxLength": 100,
|
|
7521
|
-
"type": "string",
|
|
7522
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7523
|
-
}
|
|
7524
|
-
},
|
|
7525
|
-
"required": [
|
|
7526
|
-
"label",
|
|
7527
|
-
"type",
|
|
7528
|
-
"key"
|
|
7529
|
-
],
|
|
7530
|
-
"additionalProperties": true,
|
|
7531
|
-
"shortClassName": "buttonControlBean",
|
|
7532
|
-
"type": "object",
|
|
7533
|
-
"title": "ButtonControl",
|
|
7534
|
-
"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"
|
|
7535
|
-
},
|
|
7536
|
-
"type": "array",
|
|
7537
|
-
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7538
|
-
},
|
|
7539
|
-
"type": {
|
|
7540
|
-
"enum": [
|
|
7541
|
-
"group",
|
|
7542
|
-
"GROUP"
|
|
7543
|
-
],
|
|
7544
|
-
"type": "string",
|
|
7545
|
-
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7546
|
-
}
|
|
7547
|
-
},
|
|
7548
|
-
"required": [
|
|
7549
|
-
"controls",
|
|
7550
|
-
"type"
|
|
7551
|
-
],
|
|
7552
|
-
"shortClassName": "controlGroupBean",
|
|
7553
|
-
"type": "object",
|
|
7554
|
-
"title": "ControlGroup",
|
|
7555
|
-
"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"
|
|
7556
7556
|
}
|
|
7557
7557
|
]
|
|
7558
7558
|
},
|
|
@@ -7847,6 +7847,38 @@
|
|
|
7847
7847
|
"items": {
|
|
7848
7848
|
"type": "object",
|
|
7849
7849
|
"anyOf": [
|
|
7850
|
+
{
|
|
7851
|
+
"properties": {
|
|
7852
|
+
"macroParameter": {
|
|
7853
|
+
"maxLength": 100,
|
|
7854
|
+
"type": "string",
|
|
7855
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7856
|
+
},
|
|
7857
|
+
"type": {
|
|
7858
|
+
"enum": [
|
|
7859
|
+
"text",
|
|
7860
|
+
"TEXT"
|
|
7861
|
+
],
|
|
7862
|
+
"type": "string",
|
|
7863
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7864
|
+
},
|
|
7865
|
+
"key": {
|
|
7866
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7867
|
+
"maxLength": 100,
|
|
7868
|
+
"type": "string",
|
|
7869
|
+
"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"
|
|
7870
|
+
}
|
|
7871
|
+
},
|
|
7872
|
+
"required": [
|
|
7873
|
+
"macroParameter",
|
|
7874
|
+
"type",
|
|
7875
|
+
"key"
|
|
7876
|
+
],
|
|
7877
|
+
"shortClassName": "textControlBean",
|
|
7878
|
+
"type": "object",
|
|
7879
|
+
"title": "TextControl",
|
|
7880
|
+
"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"
|
|
7881
|
+
},
|
|
7850
7882
|
{
|
|
7851
7883
|
"properties": {
|
|
7852
7884
|
"controls": {
|
|
@@ -7916,70 +7948,6 @@
|
|
|
7916
7948
|
"title": "ToggleGroup",
|
|
7917
7949
|
"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"
|
|
7918
7950
|
},
|
|
7919
|
-
{
|
|
7920
|
-
"properties": {
|
|
7921
|
-
"macroParameter": {
|
|
7922
|
-
"maxLength": 100,
|
|
7923
|
-
"type": "string",
|
|
7924
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7925
|
-
},
|
|
7926
|
-
"type": {
|
|
7927
|
-
"enum": [
|
|
7928
|
-
"text",
|
|
7929
|
-
"TEXT"
|
|
7930
|
-
],
|
|
7931
|
-
"type": "string",
|
|
7932
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7933
|
-
},
|
|
7934
|
-
"key": {
|
|
7935
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7936
|
-
"maxLength": 100,
|
|
7937
|
-
"type": "string",
|
|
7938
|
-
"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"
|
|
7939
|
-
}
|
|
7940
|
-
},
|
|
7941
|
-
"required": [
|
|
7942
|
-
"macroParameter",
|
|
7943
|
-
"type",
|
|
7944
|
-
"key"
|
|
7945
|
-
],
|
|
7946
|
-
"shortClassName": "textControlBean",
|
|
7947
|
-
"type": "object",
|
|
7948
|
-
"title": "TextControl",
|
|
7949
|
-
"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"
|
|
7950
|
-
},
|
|
7951
|
-
{
|
|
7952
|
-
"properties": {
|
|
7953
|
-
"label": {
|
|
7954
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7955
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7956
|
-
},
|
|
7957
|
-
"type": {
|
|
7958
|
-
"enum": [
|
|
7959
|
-
"button",
|
|
7960
|
-
"BUTTON"
|
|
7961
|
-
],
|
|
7962
|
-
"type": "string",
|
|
7963
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7964
|
-
},
|
|
7965
|
-
"key": {
|
|
7966
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7967
|
-
"maxLength": 100,
|
|
7968
|
-
"type": "string",
|
|
7969
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7970
|
-
}
|
|
7971
|
-
},
|
|
7972
|
-
"required": [
|
|
7973
|
-
"label",
|
|
7974
|
-
"type",
|
|
7975
|
-
"key"
|
|
7976
|
-
],
|
|
7977
|
-
"additionalProperties": true,
|
|
7978
|
-
"shortClassName": "buttonControlBean",
|
|
7979
|
-
"type": "object",
|
|
7980
|
-
"title": "ButtonControl",
|
|
7981
|
-
"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"
|
|
7982
|
-
},
|
|
7983
7951
|
{
|
|
7984
7952
|
"properties": {
|
|
7985
7953
|
"controls": {
|
|
@@ -8035,6 +8003,38 @@
|
|
|
8035
8003
|
"type": "object",
|
|
8036
8004
|
"title": "ControlGroup",
|
|
8037
8005
|
"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"
|
|
8006
|
+
},
|
|
8007
|
+
{
|
|
8008
|
+
"properties": {
|
|
8009
|
+
"label": {
|
|
8010
|
+
"$ref": "#/definitions/i18nProperty",
|
|
8011
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8012
|
+
},
|
|
8013
|
+
"type": {
|
|
8014
|
+
"enum": [
|
|
8015
|
+
"button",
|
|
8016
|
+
"BUTTON"
|
|
8017
|
+
],
|
|
8018
|
+
"type": "string",
|
|
8019
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8020
|
+
},
|
|
8021
|
+
"key": {
|
|
8022
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8023
|
+
"maxLength": 100,
|
|
8024
|
+
"type": "string",
|
|
8025
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8026
|
+
}
|
|
8027
|
+
},
|
|
8028
|
+
"required": [
|
|
8029
|
+
"label",
|
|
8030
|
+
"type",
|
|
8031
|
+
"key"
|
|
8032
|
+
],
|
|
8033
|
+
"additionalProperties": true,
|
|
8034
|
+
"shortClassName": "buttonControlBean",
|
|
8035
|
+
"type": "object",
|
|
8036
|
+
"title": "ButtonControl",
|
|
8037
|
+
"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"
|
|
8038
8038
|
}
|
|
8039
8039
|
]
|
|
8040
8040
|
},
|
|
@@ -8237,10 +8237,10 @@
|
|
|
8237
8237
|
"type": "object",
|
|
8238
8238
|
"anyOf": [
|
|
8239
8239
|
{
|
|
8240
|
-
"$ref": "#/definitions/
|
|
8240
|
+
"$ref": "#/definitions/singleCondition"
|
|
8241
8241
|
},
|
|
8242
8242
|
{
|
|
8243
|
-
"$ref": "#/definitions/
|
|
8243
|
+
"$ref": "#/definitions/compositeCondition"
|
|
8244
8244
|
}
|
|
8245
8245
|
]
|
|
8246
8246
|
},
|
|
@@ -8270,6 +8270,53 @@
|
|
|
8270
8270
|
"type": "object",
|
|
8271
8271
|
"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",
|
|
8272
8272
|
"anyOf": [
|
|
8273
|
+
{
|
|
8274
|
+
"properties": {
|
|
8275
|
+
"offsetX": {
|
|
8276
|
+
"maxLength": 10,
|
|
8277
|
+
"type": "string",
|
|
8278
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
8279
|
+
},
|
|
8280
|
+
"offsetY": {
|
|
8281
|
+
"maxLength": 10,
|
|
8282
|
+
"type": "string",
|
|
8283
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
8284
|
+
},
|
|
8285
|
+
"width": {
|
|
8286
|
+
"maxLength": 10,
|
|
8287
|
+
"type": "string",
|
|
8288
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
8289
|
+
},
|
|
8290
|
+
"onTop": {
|
|
8291
|
+
"type": "boolean",
|
|
8292
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
8293
|
+
},
|
|
8294
|
+
"showDelay": {
|
|
8295
|
+
"type": "integer",
|
|
8296
|
+
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
8297
|
+
},
|
|
8298
|
+
"closeOthers": {
|
|
8299
|
+
"type": "boolean",
|
|
8300
|
+
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
8301
|
+
},
|
|
8302
|
+
"persistent": {
|
|
8303
|
+
"type": "boolean",
|
|
8304
|
+
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
8305
|
+
},
|
|
8306
|
+
"onHover": {
|
|
8307
|
+
"type": "boolean",
|
|
8308
|
+
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
8309
|
+
},
|
|
8310
|
+
"isRelativeToMouse": {
|
|
8311
|
+
"type": "boolean",
|
|
8312
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
8313
|
+
}
|
|
8314
|
+
},
|
|
8315
|
+
"shortClassName": "inlineDialogOptions",
|
|
8316
|
+
"type": "object",
|
|
8317
|
+
"title": "Inline Dialog Options",
|
|
8318
|
+
"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"
|
|
8319
|
+
},
|
|
8273
8320
|
{
|
|
8274
8321
|
"properties": {
|
|
8275
8322
|
"size": {
|
|
@@ -8330,53 +8377,6 @@
|
|
|
8330
8377
|
"type": "object",
|
|
8331
8378
|
"title": "Dialog Module Options",
|
|
8332
8379
|
"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"
|
|
8333
|
-
},
|
|
8334
|
-
{
|
|
8335
|
-
"properties": {
|
|
8336
|
-
"offsetX": {
|
|
8337
|
-
"maxLength": 10,
|
|
8338
|
-
"type": "string",
|
|
8339
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
8340
|
-
},
|
|
8341
|
-
"offsetY": {
|
|
8342
|
-
"maxLength": 10,
|
|
8343
|
-
"type": "string",
|
|
8344
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
8345
|
-
},
|
|
8346
|
-
"width": {
|
|
8347
|
-
"maxLength": 10,
|
|
8348
|
-
"type": "string",
|
|
8349
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
8350
|
-
},
|
|
8351
|
-
"onTop": {
|
|
8352
|
-
"type": "boolean",
|
|
8353
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
8354
|
-
},
|
|
8355
|
-
"showDelay": {
|
|
8356
|
-
"type": "integer",
|
|
8357
|
-
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
8358
|
-
},
|
|
8359
|
-
"closeOthers": {
|
|
8360
|
-
"type": "boolean",
|
|
8361
|
-
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
8362
|
-
},
|
|
8363
|
-
"persistent": {
|
|
8364
|
-
"type": "boolean",
|
|
8365
|
-
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
8366
|
-
},
|
|
8367
|
-
"onHover": {
|
|
8368
|
-
"type": "boolean",
|
|
8369
|
-
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
8370
|
-
},
|
|
8371
|
-
"isRelativeToMouse": {
|
|
8372
|
-
"type": "boolean",
|
|
8373
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
8374
|
-
}
|
|
8375
|
-
},
|
|
8376
|
-
"shortClassName": "inlineDialogOptions",
|
|
8377
|
-
"type": "object",
|
|
8378
|
-
"title": "Inline Dialog Options",
|
|
8379
|
-
"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"
|
|
8380
8380
|
}
|
|
8381
8381
|
]
|
|
8382
8382
|
},
|
|
@@ -9709,10 +9709,10 @@
|
|
|
9709
9709
|
"type": "object",
|
|
9710
9710
|
"anyOf": [
|
|
9711
9711
|
{
|
|
9712
|
-
"$ref": "
|
|
9712
|
+
"$ref": "#"
|
|
9713
9713
|
},
|
|
9714
9714
|
{
|
|
9715
|
-
"$ref": "
|
|
9715
|
+
"$ref": "#/definitions/singleCondition"
|
|
9716
9716
|
}
|
|
9717
9717
|
]
|
|
9718
9718
|
},
|