@forge/manifest 3.1.0-next.1 → 3.1.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 +6 -0
- package/out/schema/manifest-schema.json +181 -181
- package/out/schema/manifest.d.ts +230 -230
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3867,10 +3867,10 @@
|
|
|
3867
3867
|
"type": "object",
|
|
3868
3868
|
"anyOf": [
|
|
3869
3869
|
{
|
|
3870
|
-
"$ref": "#/definitions/
|
|
3870
|
+
"$ref": "#/definitions/singleCondition"
|
|
3871
3871
|
},
|
|
3872
3872
|
{
|
|
3873
|
-
"$ref": "#/definitions/
|
|
3873
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3874
3874
|
}
|
|
3875
3875
|
]
|
|
3876
3876
|
},
|
|
@@ -3922,10 +3922,10 @@
|
|
|
3922
3922
|
"type": "object",
|
|
3923
3923
|
"anyOf": [
|
|
3924
3924
|
{
|
|
3925
|
-
"$ref": "#/definitions/
|
|
3925
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3926
3926
|
},
|
|
3927
3927
|
{
|
|
3928
|
-
"$ref": "#/definitions/
|
|
3928
|
+
"$ref": "#/definitions/singleCondition"
|
|
3929
3929
|
}
|
|
3930
3930
|
]
|
|
3931
3931
|
},
|
|
@@ -4338,33 +4338,6 @@
|
|
|
4338
4338
|
"items": {
|
|
4339
4339
|
"type": "object",
|
|
4340
4340
|
"anyOf": [
|
|
4341
|
-
{
|
|
4342
|
-
"properties": {
|
|
4343
|
-
"condition": {
|
|
4344
|
-
"maxLength": 100,
|
|
4345
|
-
"type": "string",
|
|
4346
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4347
|
-
},
|
|
4348
|
-
"invert": {
|
|
4349
|
-
"type": "boolean",
|
|
4350
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4351
|
-
"defaultValue": "false"
|
|
4352
|
-
},
|
|
4353
|
-
"params": {
|
|
4354
|
-
"additionalProperties": true,
|
|
4355
|
-
"type": "object",
|
|
4356
|
-
"fieldTitle": "Object",
|
|
4357
|
-
"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"
|
|
4358
|
-
}
|
|
4359
|
-
},
|
|
4360
|
-
"required": [
|
|
4361
|
-
"condition"
|
|
4362
|
-
],
|
|
4363
|
-
"shortClassName": "singleConditionBean",
|
|
4364
|
-
"type": "object",
|
|
4365
|
-
"title": "Single Condition",
|
|
4366
|
-
"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"
|
|
4367
|
-
},
|
|
4368
4341
|
{
|
|
4369
4342
|
"properties": {
|
|
4370
4343
|
"conditions": {
|
|
@@ -4397,6 +4370,33 @@
|
|
|
4397
4370
|
"type": "object",
|
|
4398
4371
|
"title": "Composite Condition",
|
|
4399
4372
|
"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"
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
"properties": {
|
|
4376
|
+
"condition": {
|
|
4377
|
+
"maxLength": 100,
|
|
4378
|
+
"type": "string",
|
|
4379
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4380
|
+
},
|
|
4381
|
+
"invert": {
|
|
4382
|
+
"type": "boolean",
|
|
4383
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4384
|
+
"defaultValue": "false"
|
|
4385
|
+
},
|
|
4386
|
+
"params": {
|
|
4387
|
+
"additionalProperties": true,
|
|
4388
|
+
"type": "object",
|
|
4389
|
+
"fieldTitle": "Object",
|
|
4390
|
+
"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"
|
|
4391
|
+
}
|
|
4392
|
+
},
|
|
4393
|
+
"required": [
|
|
4394
|
+
"condition"
|
|
4395
|
+
],
|
|
4396
|
+
"shortClassName": "singleConditionBean",
|
|
4397
|
+
"type": "object",
|
|
4398
|
+
"title": "Single Condition",
|
|
4399
|
+
"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"
|
|
4400
4400
|
}
|
|
4401
4401
|
]
|
|
4402
4402
|
},
|
|
@@ -6500,6 +6500,22 @@
|
|
|
6500
6500
|
"type": "object",
|
|
6501
6501
|
"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
6502
|
"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
|
+
},
|
|
6503
6519
|
{
|
|
6504
6520
|
"properties": {
|
|
6505
6521
|
"size": {
|
|
@@ -6591,22 +6607,6 @@
|
|
|
6591
6607
|
"type": "object",
|
|
6592
6608
|
"title": "Inline Dialog Options",
|
|
6593
6609
|
"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"
|
|
6594
|
-
},
|
|
6595
|
-
{
|
|
6596
|
-
"properties": {
|
|
6597
|
-
"key": {
|
|
6598
|
-
"maxLength": 100,
|
|
6599
|
-
"type": "string",
|
|
6600
|
-
"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"
|
|
6601
|
-
}
|
|
6602
|
-
},
|
|
6603
|
-
"required": [
|
|
6604
|
-
"key"
|
|
6605
|
-
],
|
|
6606
|
-
"shortClassName": "dialogModuleOptions",
|
|
6607
|
-
"type": "object",
|
|
6608
|
-
"title": "Dialog Module Options",
|
|
6609
|
-
"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
6610
|
}
|
|
6611
6611
|
]
|
|
6612
6612
|
},
|
|
@@ -6663,6 +6663,33 @@
|
|
|
6663
6663
|
"items": {
|
|
6664
6664
|
"type": "object",
|
|
6665
6665
|
"anyOf": [
|
|
6666
|
+
{
|
|
6667
|
+
"properties": {
|
|
6668
|
+
"condition": {
|
|
6669
|
+
"maxLength": 100,
|
|
6670
|
+
"type": "string",
|
|
6671
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6672
|
+
},
|
|
6673
|
+
"invert": {
|
|
6674
|
+
"type": "boolean",
|
|
6675
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6676
|
+
"defaultValue": "false"
|
|
6677
|
+
},
|
|
6678
|
+
"params": {
|
|
6679
|
+
"additionalProperties": true,
|
|
6680
|
+
"type": "object",
|
|
6681
|
+
"fieldTitle": "Object",
|
|
6682
|
+
"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"
|
|
6683
|
+
}
|
|
6684
|
+
},
|
|
6685
|
+
"required": [
|
|
6686
|
+
"condition"
|
|
6687
|
+
],
|
|
6688
|
+
"shortClassName": "singleConditionBean",
|
|
6689
|
+
"type": "object",
|
|
6690
|
+
"title": "Single Condition",
|
|
6691
|
+
"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"
|
|
6692
|
+
},
|
|
6666
6693
|
{
|
|
6667
6694
|
"properties": {
|
|
6668
6695
|
"conditions": {
|
|
@@ -6695,33 +6722,6 @@
|
|
|
6695
6722
|
"type": "object",
|
|
6696
6723
|
"title": "Composite Condition",
|
|
6697
6724
|
"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"
|
|
6698
|
-
},
|
|
6699
|
-
{
|
|
6700
|
-
"properties": {
|
|
6701
|
-
"condition": {
|
|
6702
|
-
"maxLength": 100,
|
|
6703
|
-
"type": "string",
|
|
6704
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6705
|
-
},
|
|
6706
|
-
"invert": {
|
|
6707
|
-
"type": "boolean",
|
|
6708
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6709
|
-
"defaultValue": "false"
|
|
6710
|
-
},
|
|
6711
|
-
"params": {
|
|
6712
|
-
"additionalProperties": true,
|
|
6713
|
-
"type": "object",
|
|
6714
|
-
"fieldTitle": "Object",
|
|
6715
|
-
"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"
|
|
6716
|
-
}
|
|
6717
|
-
},
|
|
6718
|
-
"required": [
|
|
6719
|
-
"condition"
|
|
6720
|
-
],
|
|
6721
|
-
"shortClassName": "singleConditionBean",
|
|
6722
|
-
"type": "object",
|
|
6723
|
-
"title": "Single Condition",
|
|
6724
|
-
"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"
|
|
6725
6725
|
}
|
|
6726
6726
|
]
|
|
6727
6727
|
},
|
|
@@ -6926,33 +6926,6 @@
|
|
|
6926
6926
|
"items": {
|
|
6927
6927
|
"type": "object",
|
|
6928
6928
|
"anyOf": [
|
|
6929
|
-
{
|
|
6930
|
-
"properties": {
|
|
6931
|
-
"condition": {
|
|
6932
|
-
"maxLength": 100,
|
|
6933
|
-
"type": "string",
|
|
6934
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6935
|
-
},
|
|
6936
|
-
"invert": {
|
|
6937
|
-
"type": "boolean",
|
|
6938
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6939
|
-
"defaultValue": "false"
|
|
6940
|
-
},
|
|
6941
|
-
"params": {
|
|
6942
|
-
"additionalProperties": true,
|
|
6943
|
-
"type": "object",
|
|
6944
|
-
"fieldTitle": "Object",
|
|
6945
|
-
"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"
|
|
6946
|
-
}
|
|
6947
|
-
},
|
|
6948
|
-
"required": [
|
|
6949
|
-
"condition"
|
|
6950
|
-
],
|
|
6951
|
-
"shortClassName": "singleConditionBean",
|
|
6952
|
-
"type": "object",
|
|
6953
|
-
"title": "Single Condition",
|
|
6954
|
-
"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"
|
|
6955
|
-
},
|
|
6956
6929
|
{
|
|
6957
6930
|
"properties": {
|
|
6958
6931
|
"conditions": {
|
|
@@ -6985,6 +6958,33 @@
|
|
|
6985
6958
|
"type": "object",
|
|
6986
6959
|
"title": "Composite Condition",
|
|
6987
6960
|
"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"
|
|
6961
|
+
},
|
|
6962
|
+
{
|
|
6963
|
+
"properties": {
|
|
6964
|
+
"condition": {
|
|
6965
|
+
"maxLength": 100,
|
|
6966
|
+
"type": "string",
|
|
6967
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6968
|
+
},
|
|
6969
|
+
"invert": {
|
|
6970
|
+
"type": "boolean",
|
|
6971
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6972
|
+
"defaultValue": "false"
|
|
6973
|
+
},
|
|
6974
|
+
"params": {
|
|
6975
|
+
"additionalProperties": true,
|
|
6976
|
+
"type": "object",
|
|
6977
|
+
"fieldTitle": "Object",
|
|
6978
|
+
"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"
|
|
6979
|
+
}
|
|
6980
|
+
},
|
|
6981
|
+
"required": [
|
|
6982
|
+
"condition"
|
|
6983
|
+
],
|
|
6984
|
+
"shortClassName": "singleConditionBean",
|
|
6985
|
+
"type": "object",
|
|
6986
|
+
"title": "Single Condition",
|
|
6987
|
+
"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"
|
|
6988
6988
|
}
|
|
6989
6989
|
]
|
|
6990
6990
|
},
|
|
@@ -7258,38 +7258,6 @@
|
|
|
7258
7258
|
"items": {
|
|
7259
7259
|
"type": "object",
|
|
7260
7260
|
"anyOf": [
|
|
7261
|
-
{
|
|
7262
|
-
"properties": {
|
|
7263
|
-
"label": {
|
|
7264
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7265
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7266
|
-
},
|
|
7267
|
-
"type": {
|
|
7268
|
-
"enum": [
|
|
7269
|
-
"button",
|
|
7270
|
-
"BUTTON"
|
|
7271
|
-
],
|
|
7272
|
-
"type": "string",
|
|
7273
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7274
|
-
},
|
|
7275
|
-
"key": {
|
|
7276
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7277
|
-
"maxLength": 100,
|
|
7278
|
-
"type": "string",
|
|
7279
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7280
|
-
}
|
|
7281
|
-
},
|
|
7282
|
-
"required": [
|
|
7283
|
-
"label",
|
|
7284
|
-
"type",
|
|
7285
|
-
"key"
|
|
7286
|
-
],
|
|
7287
|
-
"additionalProperties": true,
|
|
7288
|
-
"shortClassName": "buttonControlBean",
|
|
7289
|
-
"type": "object",
|
|
7290
|
-
"title": "ButtonControl",
|
|
7291
|
-
"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"
|
|
7292
|
-
},
|
|
7293
7261
|
{
|
|
7294
7262
|
"properties": {
|
|
7295
7263
|
"controls": {
|
|
@@ -7359,6 +7327,38 @@
|
|
|
7359
7327
|
"title": "ToggleGroup",
|
|
7360
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"
|
|
7361
7329
|
},
|
|
7330
|
+
{
|
|
7331
|
+
"properties": {
|
|
7332
|
+
"label": {
|
|
7333
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7334
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7335
|
+
},
|
|
7336
|
+
"type": {
|
|
7337
|
+
"enum": [
|
|
7338
|
+
"button",
|
|
7339
|
+
"BUTTON"
|
|
7340
|
+
],
|
|
7341
|
+
"type": "string",
|
|
7342
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7343
|
+
},
|
|
7344
|
+
"key": {
|
|
7345
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7346
|
+
"maxLength": 100,
|
|
7347
|
+
"type": "string",
|
|
7348
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7349
|
+
}
|
|
7350
|
+
},
|
|
7351
|
+
"required": [
|
|
7352
|
+
"label",
|
|
7353
|
+
"type",
|
|
7354
|
+
"key"
|
|
7355
|
+
],
|
|
7356
|
+
"additionalProperties": true,
|
|
7357
|
+
"shortClassName": "buttonControlBean",
|
|
7358
|
+
"type": "object",
|
|
7359
|
+
"title": "ButtonControl",
|
|
7360
|
+
"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"
|
|
7361
|
+
},
|
|
7362
7362
|
{
|
|
7363
7363
|
"properties": {
|
|
7364
7364
|
"controls": {
|
|
@@ -7809,38 +7809,6 @@
|
|
|
7809
7809
|
"title": "ToggleGroup",
|
|
7810
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"
|
|
7811
7811
|
},
|
|
7812
|
-
{
|
|
7813
|
-
"properties": {
|
|
7814
|
-
"macroParameter": {
|
|
7815
|
-
"maxLength": 100,
|
|
7816
|
-
"type": "string",
|
|
7817
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7818
|
-
},
|
|
7819
|
-
"type": {
|
|
7820
|
-
"enum": [
|
|
7821
|
-
"text",
|
|
7822
|
-
"TEXT"
|
|
7823
|
-
],
|
|
7824
|
-
"type": "string",
|
|
7825
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7826
|
-
},
|
|
7827
|
-
"key": {
|
|
7828
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7829
|
-
"maxLength": 100,
|
|
7830
|
-
"type": "string",
|
|
7831
|
-
"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"
|
|
7832
|
-
}
|
|
7833
|
-
},
|
|
7834
|
-
"required": [
|
|
7835
|
-
"macroParameter",
|
|
7836
|
-
"type",
|
|
7837
|
-
"key"
|
|
7838
|
-
],
|
|
7839
|
-
"shortClassName": "textControlBean",
|
|
7840
|
-
"type": "object",
|
|
7841
|
-
"title": "TextControl",
|
|
7842
|
-
"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"
|
|
7843
|
-
},
|
|
7844
7812
|
{
|
|
7845
7813
|
"properties": {
|
|
7846
7814
|
"controls": {
|
|
@@ -7897,6 +7865,38 @@
|
|
|
7897
7865
|
"title": "ControlGroup",
|
|
7898
7866
|
"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"
|
|
7899
7867
|
},
|
|
7868
|
+
{
|
|
7869
|
+
"properties": {
|
|
7870
|
+
"macroParameter": {
|
|
7871
|
+
"maxLength": 100,
|
|
7872
|
+
"type": "string",
|
|
7873
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7874
|
+
},
|
|
7875
|
+
"type": {
|
|
7876
|
+
"enum": [
|
|
7877
|
+
"text",
|
|
7878
|
+
"TEXT"
|
|
7879
|
+
],
|
|
7880
|
+
"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"
|
|
7888
|
+
}
|
|
7889
|
+
},
|
|
7890
|
+
"required": [
|
|
7891
|
+
"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
7900
|
{
|
|
7901
7901
|
"properties": {
|
|
7902
7902
|
"label": {
|
|
@@ -8163,22 +8163,6 @@
|
|
|
8163
8163
|
"type": "object",
|
|
8164
8164
|
"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",
|
|
8165
8165
|
"anyOf": [
|
|
8166
|
-
{
|
|
8167
|
-
"properties": {
|
|
8168
|
-
"key": {
|
|
8169
|
-
"maxLength": 100,
|
|
8170
|
-
"type": "string",
|
|
8171
|
-
"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"
|
|
8172
|
-
}
|
|
8173
|
-
},
|
|
8174
|
-
"required": [
|
|
8175
|
-
"key"
|
|
8176
|
-
],
|
|
8177
|
-
"shortClassName": "dialogModuleOptions",
|
|
8178
|
-
"type": "object",
|
|
8179
|
-
"title": "Dialog Module Options",
|
|
8180
|
-
"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"
|
|
8181
|
-
},
|
|
8182
8166
|
{
|
|
8183
8167
|
"properties": {
|
|
8184
8168
|
"size": {
|
|
@@ -8224,6 +8208,22 @@
|
|
|
8224
8208
|
"title": "Dialog Options",
|
|
8225
8209
|
"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"
|
|
8226
8210
|
},
|
|
8211
|
+
{
|
|
8212
|
+
"properties": {
|
|
8213
|
+
"key": {
|
|
8214
|
+
"maxLength": 100,
|
|
8215
|
+
"type": "string",
|
|
8216
|
+
"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"
|
|
8217
|
+
}
|
|
8218
|
+
},
|
|
8219
|
+
"required": [
|
|
8220
|
+
"key"
|
|
8221
|
+
],
|
|
8222
|
+
"shortClassName": "dialogModuleOptions",
|
|
8223
|
+
"type": "object",
|
|
8224
|
+
"title": "Dialog Module Options",
|
|
8225
|
+
"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"
|
|
8226
|
+
},
|
|
8227
8227
|
{
|
|
8228
8228
|
"properties": {
|
|
8229
8229
|
"offsetX": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -2015,7 +2015,7 @@ export interface Modules {
|
|
|
2015
2015
|
location?: string;
|
|
2016
2016
|
cacheable?: boolean;
|
|
2017
2017
|
supportsNative?: boolean;
|
|
2018
|
-
conditions?: (
|
|
2018
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2019
2019
|
params?: {
|
|
2020
2020
|
[k: string]: unknown;
|
|
2021
2021
|
};
|
|
@@ -2031,7 +2031,7 @@ export interface Modules {
|
|
|
2031
2031
|
location?: string;
|
|
2032
2032
|
cacheable?: boolean;
|
|
2033
2033
|
supportsNative?: boolean;
|
|
2034
|
-
conditions?: (
|
|
2034
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2035
2035
|
params?: {
|
|
2036
2036
|
[k: string]: unknown;
|
|
2037
2037
|
};
|
|
@@ -2045,7 +2045,7 @@ export interface Modules {
|
|
|
2045
2045
|
filter?: string;
|
|
2046
2046
|
excludeBody?: boolean;
|
|
2047
2047
|
event?: string;
|
|
2048
|
-
conditions?: (
|
|
2048
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2049
2049
|
propertyKeys?: string[];
|
|
2050
2050
|
url?: string;
|
|
2051
2051
|
key: ModuleKeySchema;
|
|
@@ -2055,7 +2055,7 @@ export interface Modules {
|
|
|
2055
2055
|
filter?: string;
|
|
2056
2056
|
excludeBody?: boolean;
|
|
2057
2057
|
event?: string;
|
|
2058
|
-
conditions?: (
|
|
2058
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2059
2059
|
propertyKeys?: string[];
|
|
2060
2060
|
url?: string;
|
|
2061
2061
|
key: ModuleKeySchema;
|
|
@@ -2163,7 +2163,7 @@ export interface Modules {
|
|
|
2163
2163
|
name?: I18NProperty10;
|
|
2164
2164
|
location?: string;
|
|
2165
2165
|
cacheable?: boolean;
|
|
2166
|
-
conditions?: (
|
|
2166
|
+
conditions?: (CompositeCondition1 | SingleCondition1)[];
|
|
2167
2167
|
key: ModuleKeySchema;
|
|
2168
2168
|
[k: string]: unknown;
|
|
2169
2169
|
},
|
|
@@ -2181,7 +2181,7 @@ export interface Modules {
|
|
|
2181
2181
|
name?: I18NProperty10;
|
|
2182
2182
|
location?: string;
|
|
2183
2183
|
cacheable?: boolean;
|
|
2184
|
-
conditions?: (
|
|
2184
|
+
conditions?: (CompositeCondition1 | SingleCondition1)[];
|
|
2185
2185
|
key: ModuleKeySchema;
|
|
2186
2186
|
[k: string]: unknown;
|
|
2187
2187
|
}[]
|
|
@@ -3091,7 +3091,7 @@ export interface Modules {
|
|
|
3091
3091
|
name?: I18NProperty59;
|
|
3092
3092
|
location?: string;
|
|
3093
3093
|
cacheable?: boolean;
|
|
3094
|
-
conditions?: (
|
|
3094
|
+
conditions?: (SingleCondition4 | CompositeCondition6)[];
|
|
3095
3095
|
key: ModuleKeySchema;
|
|
3096
3096
|
[k: string]: unknown;
|
|
3097
3097
|
},
|
|
@@ -3109,7 +3109,7 @@ export interface Modules {
|
|
|
3109
3109
|
name?: I18NProperty59;
|
|
3110
3110
|
location?: string;
|
|
3111
3111
|
cacheable?: boolean;
|
|
3112
|
-
conditions?: (
|
|
3112
|
+
conditions?: (SingleCondition4 | CompositeCondition6)[];
|
|
3113
3113
|
key: ModuleKeySchema;
|
|
3114
3114
|
[k: string]: unknown;
|
|
3115
3115
|
}[]
|
|
@@ -3187,7 +3187,7 @@ export interface Modules {
|
|
|
3187
3187
|
name?: I18NProperty63;
|
|
3188
3188
|
weight?: number;
|
|
3189
3189
|
location?: string;
|
|
3190
|
-
conditions?: (
|
|
3190
|
+
conditions?: (CompositeCondition7 | SingleCondition5)[];
|
|
3191
3191
|
params?: {
|
|
3192
3192
|
[k: string]: unknown;
|
|
3193
3193
|
};
|
|
@@ -3199,7 +3199,7 @@ export interface Modules {
|
|
|
3199
3199
|
name?: I18NProperty63;
|
|
3200
3200
|
weight?: number;
|
|
3201
3201
|
location?: string;
|
|
3202
|
-
conditions?: (
|
|
3202
|
+
conditions?: (CompositeCondition7 | SingleCondition5)[];
|
|
3203
3203
|
params?: {
|
|
3204
3204
|
[k: string]: unknown;
|
|
3205
3205
|
};
|
|
@@ -4198,37 +4198,6 @@ export interface I18NProperty10 {
|
|
|
4198
4198
|
i18n?: string;
|
|
4199
4199
|
[k: string]: unknown;
|
|
4200
4200
|
}
|
|
4201
|
-
/**
|
|
4202
|
-
*
|
|
4203
|
-
*
|
|
4204
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
4205
|
-
* [Conditions](../../conditions/) for more information.
|
|
4206
|
-
*
|
|
4207
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
4208
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
4209
|
-
*
|
|
4210
|
-
* <h3>Example</h3>
|
|
4211
|
-
*
|
|
4212
|
-
*
|
|
4213
|
-
*
|
|
4214
|
-
*
|
|
4215
|
-
*
|
|
4216
|
-
* {
|
|
4217
|
-
* "condition": "user_is_logged_in",
|
|
4218
|
-
* "invert": false
|
|
4219
|
-
* }
|
|
4220
|
-
*
|
|
4221
|
-
*
|
|
4222
|
-
*
|
|
4223
|
-
*/
|
|
4224
|
-
export interface SingleCondition1 {
|
|
4225
|
-
condition: string;
|
|
4226
|
-
invert?: boolean;
|
|
4227
|
-
params?: {
|
|
4228
|
-
[k: string]: unknown;
|
|
4229
|
-
};
|
|
4230
|
-
[k: string]: unknown;
|
|
4231
|
-
}
|
|
4232
4201
|
/**
|
|
4233
4202
|
*
|
|
4234
4203
|
*
|
|
@@ -4270,6 +4239,37 @@ export interface CompositeCondition1 {
|
|
|
4270
4239
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
4271
4240
|
[k: string]: unknown;
|
|
4272
4241
|
}
|
|
4242
|
+
/**
|
|
4243
|
+
*
|
|
4244
|
+
*
|
|
4245
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
4246
|
+
* [Conditions](../../conditions/) for more information.
|
|
4247
|
+
*
|
|
4248
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
4249
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
4250
|
+
*
|
|
4251
|
+
* <h3>Example</h3>
|
|
4252
|
+
*
|
|
4253
|
+
*
|
|
4254
|
+
*
|
|
4255
|
+
*
|
|
4256
|
+
*
|
|
4257
|
+
* {
|
|
4258
|
+
* "condition": "user_is_logged_in",
|
|
4259
|
+
* "invert": false
|
|
4260
|
+
* }
|
|
4261
|
+
*
|
|
4262
|
+
*
|
|
4263
|
+
*
|
|
4264
|
+
*/
|
|
4265
|
+
export interface SingleCondition1 {
|
|
4266
|
+
condition: string;
|
|
4267
|
+
invert?: boolean;
|
|
4268
|
+
params?: {
|
|
4269
|
+
[k: string]: unknown;
|
|
4270
|
+
};
|
|
4271
|
+
[k: string]: unknown;
|
|
4272
|
+
}
|
|
4273
4273
|
/**
|
|
4274
4274
|
*
|
|
4275
4275
|
*
|
|
@@ -6338,10 +6338,37 @@ export interface Icon10 {
|
|
|
6338
6338
|
*
|
|
6339
6339
|
*/
|
|
6340
6340
|
export interface WebItemTarget1 {
|
|
6341
|
-
options?:
|
|
6341
|
+
options?: DialogModuleOptions1 | DialogOptions2 | InlineDialogOptions1;
|
|
6342
6342
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
6343
6343
|
[k: string]: unknown;
|
|
6344
6344
|
}
|
|
6345
|
+
/**
|
|
6346
|
+
*
|
|
6347
|
+
*
|
|
6348
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
6349
|
+
*
|
|
6350
|
+
* <h3>Example</h3>
|
|
6351
|
+
*
|
|
6352
|
+
*
|
|
6353
|
+
*
|
|
6354
|
+
*
|
|
6355
|
+
*
|
|
6356
|
+
* {
|
|
6357
|
+
* "target": {
|
|
6358
|
+
* "type": "dialogmodule",
|
|
6359
|
+
* "options": {
|
|
6360
|
+
* "key": "dialog-module-key"
|
|
6361
|
+
* }
|
|
6362
|
+
* }
|
|
6363
|
+
* }
|
|
6364
|
+
*
|
|
6365
|
+
*
|
|
6366
|
+
*
|
|
6367
|
+
*/
|
|
6368
|
+
export interface DialogModuleOptions1 {
|
|
6369
|
+
key: string;
|
|
6370
|
+
[k: string]: unknown;
|
|
6371
|
+
}
|
|
6345
6372
|
/**
|
|
6346
6373
|
*
|
|
6347
6374
|
*
|
|
@@ -6480,7 +6507,8 @@ export interface InlineDialogOptions1 {
|
|
|
6480
6507
|
/**
|
|
6481
6508
|
*
|
|
6482
6509
|
*
|
|
6483
|
-
*
|
|
6510
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
6511
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
6484
6512
|
*
|
|
6485
6513
|
* <h3>Example</h3>
|
|
6486
6514
|
*
|
|
@@ -6489,26 +6517,25 @@ export interface InlineDialogOptions1 {
|
|
|
6489
6517
|
*
|
|
6490
6518
|
*
|
|
6491
6519
|
* {
|
|
6492
|
-
* "
|
|
6493
|
-
* "type": "dialogmodule",
|
|
6494
|
-
* "options": {
|
|
6495
|
-
* "key": "dialog-module-key"
|
|
6496
|
-
* }
|
|
6497
|
-
* }
|
|
6520
|
+
* "value": "My text"
|
|
6498
6521
|
* }
|
|
6499
6522
|
*
|
|
6500
6523
|
*
|
|
6501
6524
|
*
|
|
6502
6525
|
*/
|
|
6503
|
-
export interface
|
|
6504
|
-
|
|
6526
|
+
export interface I18NProperty59 {
|
|
6527
|
+
value: string;
|
|
6528
|
+
i18n?: string;
|
|
6505
6529
|
[k: string]: unknown;
|
|
6506
6530
|
}
|
|
6507
6531
|
/**
|
|
6508
6532
|
*
|
|
6509
6533
|
*
|
|
6510
|
-
*
|
|
6511
|
-
*
|
|
6534
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6535
|
+
* [Conditions](../../conditions/) for more information.
|
|
6536
|
+
*
|
|
6537
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6538
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6512
6539
|
*
|
|
6513
6540
|
* <h3>Example</h3>
|
|
6514
6541
|
*
|
|
@@ -6517,15 +6544,19 @@ export interface DialogModuleOptions1 {
|
|
|
6517
6544
|
*
|
|
6518
6545
|
*
|
|
6519
6546
|
* {
|
|
6520
|
-
* "
|
|
6547
|
+
* "condition": "user_is_logged_in",
|
|
6548
|
+
* "invert": false
|
|
6521
6549
|
* }
|
|
6522
6550
|
*
|
|
6523
6551
|
*
|
|
6524
6552
|
*
|
|
6525
6553
|
*/
|
|
6526
|
-
export interface
|
|
6527
|
-
|
|
6528
|
-
|
|
6554
|
+
export interface SingleCondition4 {
|
|
6555
|
+
condition: string;
|
|
6556
|
+
invert?: boolean;
|
|
6557
|
+
params?: {
|
|
6558
|
+
[k: string]: unknown;
|
|
6559
|
+
};
|
|
6529
6560
|
[k: string]: unknown;
|
|
6530
6561
|
}
|
|
6531
6562
|
/**
|
|
@@ -6569,37 +6600,6 @@ export interface CompositeCondition6 {
|
|
|
6569
6600
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6570
6601
|
[k: string]: unknown;
|
|
6571
6602
|
}
|
|
6572
|
-
/**
|
|
6573
|
-
*
|
|
6574
|
-
*
|
|
6575
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6576
|
-
* [Conditions](../../conditions/) for more information.
|
|
6577
|
-
*
|
|
6578
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6579
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6580
|
-
*
|
|
6581
|
-
* <h3>Example</h3>
|
|
6582
|
-
*
|
|
6583
|
-
*
|
|
6584
|
-
*
|
|
6585
|
-
*
|
|
6586
|
-
*
|
|
6587
|
-
* {
|
|
6588
|
-
* "condition": "user_is_logged_in",
|
|
6589
|
-
* "invert": false
|
|
6590
|
-
* }
|
|
6591
|
-
*
|
|
6592
|
-
*
|
|
6593
|
-
*
|
|
6594
|
-
*/
|
|
6595
|
-
export interface SingleCondition4 {
|
|
6596
|
-
condition: string;
|
|
6597
|
-
invert?: boolean;
|
|
6598
|
-
params?: {
|
|
6599
|
-
[k: string]: unknown;
|
|
6600
|
-
};
|
|
6601
|
-
[k: string]: unknown;
|
|
6602
|
-
}
|
|
6603
6603
|
/**
|
|
6604
6604
|
*
|
|
6605
6605
|
*
|
|
@@ -6954,37 +6954,6 @@ export interface I18NProperty63 {
|
|
|
6954
6954
|
i18n?: string;
|
|
6955
6955
|
[k: string]: unknown;
|
|
6956
6956
|
}
|
|
6957
|
-
/**
|
|
6958
|
-
*
|
|
6959
|
-
*
|
|
6960
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6961
|
-
* [Conditions](../../conditions/) for more information.
|
|
6962
|
-
*
|
|
6963
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6964
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6965
|
-
*
|
|
6966
|
-
* <h3>Example</h3>
|
|
6967
|
-
*
|
|
6968
|
-
*
|
|
6969
|
-
*
|
|
6970
|
-
*
|
|
6971
|
-
*
|
|
6972
|
-
* {
|
|
6973
|
-
* "condition": "user_is_logged_in",
|
|
6974
|
-
* "invert": false
|
|
6975
|
-
* }
|
|
6976
|
-
*
|
|
6977
|
-
*
|
|
6978
|
-
*
|
|
6979
|
-
*/
|
|
6980
|
-
export interface SingleCondition5 {
|
|
6981
|
-
condition: string;
|
|
6982
|
-
invert?: boolean;
|
|
6983
|
-
params?: {
|
|
6984
|
-
[k: string]: unknown;
|
|
6985
|
-
};
|
|
6986
|
-
[k: string]: unknown;
|
|
6987
|
-
}
|
|
6988
6957
|
/**
|
|
6989
6958
|
*
|
|
6990
6959
|
*
|
|
@@ -7026,6 +6995,37 @@ export interface CompositeCondition7 {
|
|
|
7026
6995
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7027
6996
|
[k: string]: unknown;
|
|
7028
6997
|
}
|
|
6998
|
+
/**
|
|
6999
|
+
*
|
|
7000
|
+
*
|
|
7001
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7002
|
+
* [Conditions](../../conditions/) for more information.
|
|
7003
|
+
*
|
|
7004
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7005
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7006
|
+
*
|
|
7007
|
+
* <h3>Example</h3>
|
|
7008
|
+
*
|
|
7009
|
+
*
|
|
7010
|
+
*
|
|
7011
|
+
*
|
|
7012
|
+
*
|
|
7013
|
+
* {
|
|
7014
|
+
* "condition": "user_is_logged_in",
|
|
7015
|
+
* "invert": false
|
|
7016
|
+
* }
|
|
7017
|
+
*
|
|
7018
|
+
*
|
|
7019
|
+
*
|
|
7020
|
+
*/
|
|
7021
|
+
export interface SingleCondition5 {
|
|
7022
|
+
condition: string;
|
|
7023
|
+
invert?: boolean;
|
|
7024
|
+
params?: {
|
|
7025
|
+
[k: string]: unknown;
|
|
7026
|
+
};
|
|
7027
|
+
[k: string]: unknown;
|
|
7028
|
+
}
|
|
7029
7029
|
/**
|
|
7030
7030
|
*
|
|
7031
7031
|
*
|
|
@@ -8445,63 +8445,11 @@ export interface I18NProperty74 {
|
|
|
8445
8445
|
*
|
|
8446
8446
|
*/
|
|
8447
8447
|
export interface MacroPropertyPanel {
|
|
8448
|
-
controls?: (
|
|
8448
|
+
controls?: (ToggleGroup | ButtonControl | ControlGroup | TextControl)[];
|
|
8449
8449
|
cacheable?: boolean;
|
|
8450
8450
|
url: string;
|
|
8451
8451
|
[k: string]: unknown;
|
|
8452
8452
|
}
|
|
8453
|
-
/**
|
|
8454
|
-
*
|
|
8455
|
-
*
|
|
8456
|
-
* Defines a button which may appear in control extension points such as the property panel
|
|
8457
|
-
*
|
|
8458
|
-
* <p><b>Example</b></p>
|
|
8459
|
-
*
|
|
8460
|
-
*
|
|
8461
|
-
*
|
|
8462
|
-
*
|
|
8463
|
-
*
|
|
8464
|
-
* {
|
|
8465
|
-
* "type": "button",
|
|
8466
|
-
* "label": {
|
|
8467
|
-
* "value": "My Custom Control 0"
|
|
8468
|
-
* },
|
|
8469
|
-
* "key": "my-custom-control-0"
|
|
8470
|
-
* }
|
|
8471
|
-
*
|
|
8472
|
-
*
|
|
8473
|
-
*
|
|
8474
|
-
*/
|
|
8475
|
-
export interface ButtonControl {
|
|
8476
|
-
label: I18NProperty75;
|
|
8477
|
-
type: 'button' | 'BUTTON';
|
|
8478
|
-
key: string;
|
|
8479
|
-
[k: string]: unknown;
|
|
8480
|
-
}
|
|
8481
|
-
/**
|
|
8482
|
-
*
|
|
8483
|
-
*
|
|
8484
|
-
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8485
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8486
|
-
*
|
|
8487
|
-
* <h3>Example</h3>
|
|
8488
|
-
*
|
|
8489
|
-
*
|
|
8490
|
-
*
|
|
8491
|
-
*
|
|
8492
|
-
*
|
|
8493
|
-
* {
|
|
8494
|
-
* "value": "My text"
|
|
8495
|
-
* }
|
|
8496
|
-
*
|
|
8497
|
-
*
|
|
8498
|
-
*
|
|
8499
|
-
*/
|
|
8500
|
-
export interface I18NProperty75 {
|
|
8501
|
-
value: string;
|
|
8502
|
-
i18n?: string;
|
|
8503
|
-
[k: string]: unknown;
|
|
8504
|
-
}
|
|
8505
8453
|
/**
|
|
8506
8454
|
*
|
|
8507
8455
|
*
|
|
@@ -8572,11 +8520,63 @@ export interface ToggleGroup {
|
|
|
8572
8520
|
*/
|
|
8573
8521
|
export interface ToggleButtonControl {
|
|
8574
8522
|
macroParameterValue: string;
|
|
8575
|
-
label:
|
|
8523
|
+
label: I18NProperty75;
|
|
8576
8524
|
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8577
8525
|
key: string;
|
|
8578
8526
|
[k: string]: unknown;
|
|
8579
8527
|
}
|
|
8528
|
+
/**
|
|
8529
|
+
*
|
|
8530
|
+
*
|
|
8531
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8532
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8533
|
+
*
|
|
8534
|
+
* <h3>Example</h3>
|
|
8535
|
+
*
|
|
8536
|
+
*
|
|
8537
|
+
*
|
|
8538
|
+
*
|
|
8539
|
+
*
|
|
8540
|
+
* {
|
|
8541
|
+
* "value": "My text"
|
|
8542
|
+
* }
|
|
8543
|
+
*
|
|
8544
|
+
*
|
|
8545
|
+
*
|
|
8546
|
+
*/
|
|
8547
|
+
export interface I18NProperty75 {
|
|
8548
|
+
value: string;
|
|
8549
|
+
i18n?: string;
|
|
8550
|
+
[k: string]: unknown;
|
|
8551
|
+
}
|
|
8552
|
+
/**
|
|
8553
|
+
*
|
|
8554
|
+
*
|
|
8555
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
8556
|
+
*
|
|
8557
|
+
* <p><b>Example</b></p>
|
|
8558
|
+
*
|
|
8559
|
+
*
|
|
8560
|
+
*
|
|
8561
|
+
*
|
|
8562
|
+
*
|
|
8563
|
+
* {
|
|
8564
|
+
* "type": "button",
|
|
8565
|
+
* "label": {
|
|
8566
|
+
* "value": "My Custom Control 0"
|
|
8567
|
+
* },
|
|
8568
|
+
* "key": "my-custom-control-0"
|
|
8569
|
+
* }
|
|
8570
|
+
*
|
|
8571
|
+
*
|
|
8572
|
+
*
|
|
8573
|
+
*/
|
|
8574
|
+
export interface ButtonControl {
|
|
8575
|
+
label: I18NProperty76;
|
|
8576
|
+
type: 'button' | 'BUTTON';
|
|
8577
|
+
key: string;
|
|
8578
|
+
[k: string]: unknown;
|
|
8579
|
+
}
|
|
8580
8580
|
/**
|
|
8581
8581
|
*
|
|
8582
8582
|
*
|
|
@@ -29690,7 +29690,7 @@ export interface I18NProperty83 {
|
|
|
29690
29690
|
*
|
|
29691
29691
|
*/
|
|
29692
29692
|
export interface MacroPropertyPanel1 {
|
|
29693
|
-
controls?: (ToggleGroup1 |
|
|
29693
|
+
controls?: (ToggleGroup1 | ControlGroup1 | TextControl1 | ButtonControl3)[];
|
|
29694
29694
|
cacheable?: boolean;
|
|
29695
29695
|
url: string;
|
|
29696
29696
|
[k: string]: unknown;
|
|
@@ -29794,34 +29794,6 @@ export interface I18NProperty84 {
|
|
|
29794
29794
|
i18n?: string;
|
|
29795
29795
|
[k: string]: unknown;
|
|
29796
29796
|
}
|
|
29797
|
-
/**
|
|
29798
|
-
*
|
|
29799
|
-
*
|
|
29800
|
-
* Defines a text field which may appear in control extension points such as the property panel
|
|
29801
|
-
*
|
|
29802
|
-
* <p><b>Example</b></p>
|
|
29803
|
-
*
|
|
29804
|
-
*
|
|
29805
|
-
*
|
|
29806
|
-
*
|
|
29807
|
-
*
|
|
29808
|
-
* {
|
|
29809
|
-
* "type": "button",
|
|
29810
|
-
* "label": {
|
|
29811
|
-
* "value": "My Custom Control 0"
|
|
29812
|
-
* },
|
|
29813
|
-
* "key": "my-custom-control-0"
|
|
29814
|
-
* }
|
|
29815
|
-
*
|
|
29816
|
-
*
|
|
29817
|
-
*
|
|
29818
|
-
*/
|
|
29819
|
-
export interface TextControl1 {
|
|
29820
|
-
macroParameter: string;
|
|
29821
|
-
type: 'text' | 'TEXT';
|
|
29822
|
-
key: string;
|
|
29823
|
-
[k: string]: unknown;
|
|
29824
|
-
}
|
|
29825
29797
|
/**
|
|
29826
29798
|
*
|
|
29827
29799
|
*
|
|
@@ -29915,6 +29887,34 @@ export interface I18NProperty85 {
|
|
|
29915
29887
|
i18n?: string;
|
|
29916
29888
|
[k: string]: unknown;
|
|
29917
29889
|
}
|
|
29890
|
+
/**
|
|
29891
|
+
*
|
|
29892
|
+
*
|
|
29893
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
29894
|
+
*
|
|
29895
|
+
* <p><b>Example</b></p>
|
|
29896
|
+
*
|
|
29897
|
+
*
|
|
29898
|
+
*
|
|
29899
|
+
*
|
|
29900
|
+
*
|
|
29901
|
+
* {
|
|
29902
|
+
* "type": "button",
|
|
29903
|
+
* "label": {
|
|
29904
|
+
* "value": "My Custom Control 0"
|
|
29905
|
+
* },
|
|
29906
|
+
* "key": "my-custom-control-0"
|
|
29907
|
+
* }
|
|
29908
|
+
*
|
|
29909
|
+
*
|
|
29910
|
+
*
|
|
29911
|
+
*/
|
|
29912
|
+
export interface TextControl1 {
|
|
29913
|
+
macroParameter: string;
|
|
29914
|
+
type: 'text' | 'TEXT';
|
|
29915
|
+
key: string;
|
|
29916
|
+
[k: string]: unknown;
|
|
29917
|
+
}
|
|
29918
29918
|
/**
|
|
29919
29919
|
*
|
|
29920
29920
|
*
|
|
@@ -50816,37 +50816,10 @@ export interface I18NProperty91 {
|
|
|
50816
50816
|
*
|
|
50817
50817
|
*/
|
|
50818
50818
|
export interface WebItemTarget2 {
|
|
50819
|
-
options?:
|
|
50819
|
+
options?: DialogOptions4 | DialogModuleOptions2 | InlineDialogOptions2;
|
|
50820
50820
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
50821
50821
|
[k: string]: unknown;
|
|
50822
50822
|
}
|
|
50823
|
-
/**
|
|
50824
|
-
*
|
|
50825
|
-
*
|
|
50826
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50827
|
-
*
|
|
50828
|
-
* <h3>Example</h3>
|
|
50829
|
-
*
|
|
50830
|
-
*
|
|
50831
|
-
*
|
|
50832
|
-
*
|
|
50833
|
-
*
|
|
50834
|
-
* {
|
|
50835
|
-
* "target": {
|
|
50836
|
-
* "type": "dialogmodule",
|
|
50837
|
-
* "options": {
|
|
50838
|
-
* "key": "dialog-module-key"
|
|
50839
|
-
* }
|
|
50840
|
-
* }
|
|
50841
|
-
* }
|
|
50842
|
-
*
|
|
50843
|
-
*
|
|
50844
|
-
*
|
|
50845
|
-
*/
|
|
50846
|
-
export interface DialogModuleOptions2 {
|
|
50847
|
-
key: string;
|
|
50848
|
-
[k: string]: unknown;
|
|
50849
|
-
}
|
|
50850
50823
|
/**
|
|
50851
50824
|
*
|
|
50852
50825
|
*
|
|
@@ -50945,6 +50918,33 @@ export interface I18NProperty92 {
|
|
|
50945
50918
|
i18n?: string;
|
|
50946
50919
|
[k: string]: unknown;
|
|
50947
50920
|
}
|
|
50921
|
+
/**
|
|
50922
|
+
*
|
|
50923
|
+
*
|
|
50924
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50925
|
+
*
|
|
50926
|
+
* <h3>Example</h3>
|
|
50927
|
+
*
|
|
50928
|
+
*
|
|
50929
|
+
*
|
|
50930
|
+
*
|
|
50931
|
+
*
|
|
50932
|
+
* {
|
|
50933
|
+
* "target": {
|
|
50934
|
+
* "type": "dialogmodule",
|
|
50935
|
+
* "options": {
|
|
50936
|
+
* "key": "dialog-module-key"
|
|
50937
|
+
* }
|
|
50938
|
+
* }
|
|
50939
|
+
* }
|
|
50940
|
+
*
|
|
50941
|
+
*
|
|
50942
|
+
*
|
|
50943
|
+
*/
|
|
50944
|
+
export interface DialogModuleOptions2 {
|
|
50945
|
+
key: string;
|
|
50946
|
+
[k: string]: unknown;
|
|
50947
|
+
}
|
|
50948
50948
|
/**
|
|
50949
50949
|
*
|
|
50950
50950
|
*
|