@forge/manifest 2.5.1-next.1 → 2.5.1-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 +177 -173
- package/out/schema/manifest.d.ts +183 -181
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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
|
},
|
|
@@ -5482,10 +5482,10 @@
|
|
|
5482
5482
|
"type": "object",
|
|
5483
5483
|
"anyOf": [
|
|
5484
5484
|
{
|
|
5485
|
-
"$ref": "#/definitions/
|
|
5485
|
+
"$ref": "#/definitions/singleCondition"
|
|
5486
5486
|
},
|
|
5487
5487
|
{
|
|
5488
|
-
"$ref": "#/definitions/
|
|
5488
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5489
5489
|
}
|
|
5490
5490
|
]
|
|
5491
5491
|
},
|
|
@@ -5604,10 +5604,10 @@
|
|
|
5604
5604
|
"type": "object",
|
|
5605
5605
|
"anyOf": [
|
|
5606
5606
|
{
|
|
5607
|
-
"$ref": "#/definitions/
|
|
5607
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5608
5608
|
},
|
|
5609
5609
|
{
|
|
5610
|
-
"$ref": "#/definitions/
|
|
5610
|
+
"$ref": "#/definitions/singleCondition"
|
|
5611
5611
|
}
|
|
5612
5612
|
]
|
|
5613
5613
|
},
|
|
@@ -5735,6 +5735,22 @@
|
|
|
5735
5735
|
"type": "object",
|
|
5736
5736
|
"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",
|
|
5737
5737
|
"anyOf": [
|
|
5738
|
+
{
|
|
5739
|
+
"properties": {
|
|
5740
|
+
"key": {
|
|
5741
|
+
"maxLength": 100,
|
|
5742
|
+
"type": "string",
|
|
5743
|
+
"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"
|
|
5744
|
+
}
|
|
5745
|
+
},
|
|
5746
|
+
"required": [
|
|
5747
|
+
"key"
|
|
5748
|
+
],
|
|
5749
|
+
"shortClassName": "dialogModuleOptions",
|
|
5750
|
+
"type": "object",
|
|
5751
|
+
"title": "Dialog Module Options",
|
|
5752
|
+
"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"
|
|
5753
|
+
},
|
|
5738
5754
|
{
|
|
5739
5755
|
"properties": {
|
|
5740
5756
|
"size": {
|
|
@@ -5780,22 +5796,6 @@
|
|
|
5780
5796
|
"title": "Dialog Options",
|
|
5781
5797
|
"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"
|
|
5782
5798
|
},
|
|
5783
|
-
{
|
|
5784
|
-
"properties": {
|
|
5785
|
-
"key": {
|
|
5786
|
-
"maxLength": 100,
|
|
5787
|
-
"type": "string",
|
|
5788
|
-
"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"
|
|
5789
|
-
}
|
|
5790
|
-
},
|
|
5791
|
-
"required": [
|
|
5792
|
-
"key"
|
|
5793
|
-
],
|
|
5794
|
-
"shortClassName": "dialogModuleOptions",
|
|
5795
|
-
"type": "object",
|
|
5796
|
-
"title": "Dialog Module Options",
|
|
5797
|
-
"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"
|
|
5798
|
-
},
|
|
5799
5799
|
{
|
|
5800
5800
|
"properties": {
|
|
5801
5801
|
"offsetX": {
|
|
@@ -6493,6 +6493,75 @@
|
|
|
6493
6493
|
"items": {
|
|
6494
6494
|
"type": "object",
|
|
6495
6495
|
"anyOf": [
|
|
6496
|
+
{
|
|
6497
|
+
"properties": {
|
|
6498
|
+
"controls": {
|
|
6499
|
+
"items": {
|
|
6500
|
+
"properties": {
|
|
6501
|
+
"macroParameterValue": {
|
|
6502
|
+
"maxLength": 10000,
|
|
6503
|
+
"type": "string",
|
|
6504
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6505
|
+
},
|
|
6506
|
+
"label": {
|
|
6507
|
+
"$ref": "#/definitions/i18nProperty",
|
|
6508
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6509
|
+
},
|
|
6510
|
+
"type": {
|
|
6511
|
+
"enum": [
|
|
6512
|
+
"togglebutton",
|
|
6513
|
+
"TOGGLEBUTTON"
|
|
6514
|
+
],
|
|
6515
|
+
"type": "string",
|
|
6516
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
6517
|
+
},
|
|
6518
|
+
"key": {
|
|
6519
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6520
|
+
"maxLength": 100,
|
|
6521
|
+
"type": "string",
|
|
6522
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6523
|
+
}
|
|
6524
|
+
},
|
|
6525
|
+
"required": [
|
|
6526
|
+
"macroParameterValue",
|
|
6527
|
+
"label",
|
|
6528
|
+
"type",
|
|
6529
|
+
"key"
|
|
6530
|
+
],
|
|
6531
|
+
"additionalProperties": true,
|
|
6532
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
6533
|
+
"type": "object",
|
|
6534
|
+
"title": "ToggleButtonControl",
|
|
6535
|
+
"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"
|
|
6536
|
+
},
|
|
6537
|
+
"type": "array",
|
|
6538
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
6539
|
+
},
|
|
6540
|
+
"macroParameter": {
|
|
6541
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
6542
|
+
"maxLength": 100,
|
|
6543
|
+
"type": "string",
|
|
6544
|
+
"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"
|
|
6545
|
+
},
|
|
6546
|
+
"type": {
|
|
6547
|
+
"enum": [
|
|
6548
|
+
"togglegroup",
|
|
6549
|
+
"TOGGLEGROUP"
|
|
6550
|
+
],
|
|
6551
|
+
"type": "string",
|
|
6552
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
6553
|
+
}
|
|
6554
|
+
},
|
|
6555
|
+
"required": [
|
|
6556
|
+
"controls",
|
|
6557
|
+
"macroParameter",
|
|
6558
|
+
"type"
|
|
6559
|
+
],
|
|
6560
|
+
"shortClassName": "macroToggleGroupBean",
|
|
6561
|
+
"type": "object",
|
|
6562
|
+
"title": "ToggleGroup",
|
|
6563
|
+
"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"
|
|
6564
|
+
},
|
|
6496
6565
|
{
|
|
6497
6566
|
"properties": {
|
|
6498
6567
|
"macroParameter": {
|
|
@@ -6612,75 +6681,6 @@
|
|
|
6612
6681
|
"type": "object",
|
|
6613
6682
|
"title": "ControlGroup",
|
|
6614
6683
|
"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"
|
|
6615
|
-
},
|
|
6616
|
-
{
|
|
6617
|
-
"properties": {
|
|
6618
|
-
"controls": {
|
|
6619
|
-
"items": {
|
|
6620
|
-
"properties": {
|
|
6621
|
-
"macroParameterValue": {
|
|
6622
|
-
"maxLength": 10000,
|
|
6623
|
-
"type": "string",
|
|
6624
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6625
|
-
},
|
|
6626
|
-
"label": {
|
|
6627
|
-
"$ref": "#/definitions/i18nProperty",
|
|
6628
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6629
|
-
},
|
|
6630
|
-
"type": {
|
|
6631
|
-
"enum": [
|
|
6632
|
-
"togglebutton",
|
|
6633
|
-
"TOGGLEBUTTON"
|
|
6634
|
-
],
|
|
6635
|
-
"type": "string",
|
|
6636
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
6637
|
-
},
|
|
6638
|
-
"key": {
|
|
6639
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6640
|
-
"maxLength": 100,
|
|
6641
|
-
"type": "string",
|
|
6642
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6643
|
-
}
|
|
6644
|
-
},
|
|
6645
|
-
"required": [
|
|
6646
|
-
"macroParameterValue",
|
|
6647
|
-
"label",
|
|
6648
|
-
"type",
|
|
6649
|
-
"key"
|
|
6650
|
-
],
|
|
6651
|
-
"additionalProperties": true,
|
|
6652
|
-
"shortClassName": "macroToggleButtonControlBean",
|
|
6653
|
-
"type": "object",
|
|
6654
|
-
"title": "ToggleButtonControl",
|
|
6655
|
-
"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"
|
|
6656
|
-
},
|
|
6657
|
-
"type": "array",
|
|
6658
|
-
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
6659
|
-
},
|
|
6660
|
-
"macroParameter": {
|
|
6661
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
6662
|
-
"maxLength": 100,
|
|
6663
|
-
"type": "string",
|
|
6664
|
-
"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"
|
|
6665
|
-
},
|
|
6666
|
-
"type": {
|
|
6667
|
-
"enum": [
|
|
6668
|
-
"togglegroup",
|
|
6669
|
-
"TOGGLEGROUP"
|
|
6670
|
-
],
|
|
6671
|
-
"type": "string",
|
|
6672
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
6673
|
-
}
|
|
6674
|
-
},
|
|
6675
|
-
"required": [
|
|
6676
|
-
"controls",
|
|
6677
|
-
"macroParameter",
|
|
6678
|
-
"type"
|
|
6679
|
-
],
|
|
6680
|
-
"shortClassName": "macroToggleGroupBean",
|
|
6681
|
-
"type": "object",
|
|
6682
|
-
"title": "ToggleGroup",
|
|
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"
|
|
6684
6684
|
}
|
|
6685
6685
|
]
|
|
6686
6686
|
},
|
|
@@ -6975,6 +6975,38 @@
|
|
|
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
|
+
},
|
|
6978
7010
|
{
|
|
6979
7011
|
"properties": {
|
|
6980
7012
|
"controls": {
|
|
@@ -7031,70 +7063,6 @@
|
|
|
7031
7063
|
"title": "ControlGroup",
|
|
7032
7064
|
"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"
|
|
7033
7065
|
},
|
|
7034
|
-
{
|
|
7035
|
-
"properties": {
|
|
7036
|
-
"macroParameter": {
|
|
7037
|
-
"maxLength": 100,
|
|
7038
|
-
"type": "string",
|
|
7039
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7040
|
-
},
|
|
7041
|
-
"type": {
|
|
7042
|
-
"enum": [
|
|
7043
|
-
"text",
|
|
7044
|
-
"TEXT"
|
|
7045
|
-
],
|
|
7046
|
-
"type": "string",
|
|
7047
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7048
|
-
},
|
|
7049
|
-
"key": {
|
|
7050
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7051
|
-
"maxLength": 100,
|
|
7052
|
-
"type": "string",
|
|
7053
|
-
"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"
|
|
7054
|
-
}
|
|
7055
|
-
},
|
|
7056
|
-
"required": [
|
|
7057
|
-
"macroParameter",
|
|
7058
|
-
"type",
|
|
7059
|
-
"key"
|
|
7060
|
-
],
|
|
7061
|
-
"shortClassName": "textControlBean",
|
|
7062
|
-
"type": "object",
|
|
7063
|
-
"title": "TextControl",
|
|
7064
|
-
"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"
|
|
7065
|
-
},
|
|
7066
|
-
{
|
|
7067
|
-
"properties": {
|
|
7068
|
-
"label": {
|
|
7069
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7070
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7071
|
-
},
|
|
7072
|
-
"type": {
|
|
7073
|
-
"enum": [
|
|
7074
|
-
"button",
|
|
7075
|
-
"BUTTON"
|
|
7076
|
-
],
|
|
7077
|
-
"type": "string",
|
|
7078
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7079
|
-
},
|
|
7080
|
-
"key": {
|
|
7081
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7082
|
-
"maxLength": 100,
|
|
7083
|
-
"type": "string",
|
|
7084
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7085
|
-
}
|
|
7086
|
-
},
|
|
7087
|
-
"required": [
|
|
7088
|
-
"label",
|
|
7089
|
-
"type",
|
|
7090
|
-
"key"
|
|
7091
|
-
],
|
|
7092
|
-
"additionalProperties": true,
|
|
7093
|
-
"shortClassName": "buttonControlBean",
|
|
7094
|
-
"type": "object",
|
|
7095
|
-
"title": "ButtonControl",
|
|
7096
|
-
"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"
|
|
7097
|
-
},
|
|
7098
7066
|
{
|
|
7099
7067
|
"properties": {
|
|
7100
7068
|
"controls": {
|
|
@@ -7163,6 +7131,38 @@
|
|
|
7163
7131
|
"type": "object",
|
|
7164
7132
|
"title": "ToggleGroup",
|
|
7165
7133
|
"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"
|
|
7134
|
+
},
|
|
7135
|
+
{
|
|
7136
|
+
"properties": {
|
|
7137
|
+
"macroParameter": {
|
|
7138
|
+
"maxLength": 100,
|
|
7139
|
+
"type": "string",
|
|
7140
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7141
|
+
},
|
|
7142
|
+
"type": {
|
|
7143
|
+
"enum": [
|
|
7144
|
+
"text",
|
|
7145
|
+
"TEXT"
|
|
7146
|
+
],
|
|
7147
|
+
"type": "string",
|
|
7148
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7149
|
+
},
|
|
7150
|
+
"key": {
|
|
7151
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7152
|
+
"maxLength": 100,
|
|
7153
|
+
"type": "string",
|
|
7154
|
+
"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"
|
|
7155
|
+
}
|
|
7156
|
+
},
|
|
7157
|
+
"required": [
|
|
7158
|
+
"macroParameter",
|
|
7159
|
+
"type",
|
|
7160
|
+
"key"
|
|
7161
|
+
],
|
|
7162
|
+
"shortClassName": "textControlBean",
|
|
7163
|
+
"type": "object",
|
|
7164
|
+
"title": "TextControl",
|
|
7165
|
+
"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"
|
|
7166
7166
|
}
|
|
7167
7167
|
]
|
|
7168
7168
|
},
|
|
@@ -7365,10 +7365,10 @@
|
|
|
7365
7365
|
"type": "object",
|
|
7366
7366
|
"anyOf": [
|
|
7367
7367
|
{
|
|
7368
|
-
"$ref": "#/definitions/
|
|
7368
|
+
"$ref": "#/definitions/compositeCondition"
|
|
7369
7369
|
},
|
|
7370
7370
|
{
|
|
7371
|
-
"$ref": "#/definitions/
|
|
7371
|
+
"$ref": "#/definitions/singleCondition"
|
|
7372
7372
|
}
|
|
7373
7373
|
]
|
|
7374
7374
|
},
|
|
@@ -7398,22 +7398,6 @@
|
|
|
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
|
-
},
|
|
7417
7401
|
{
|
|
7418
7402
|
"properties": {
|
|
7419
7403
|
"size": {
|
|
@@ -7459,6 +7443,22 @@
|
|
|
7459
7443
|
"title": "Dialog Options",
|
|
7460
7444
|
"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"
|
|
7461
7445
|
},
|
|
7446
|
+
{
|
|
7447
|
+
"properties": {
|
|
7448
|
+
"key": {
|
|
7449
|
+
"maxLength": 100,
|
|
7450
|
+
"type": "string",
|
|
7451
|
+
"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"
|
|
7452
|
+
}
|
|
7453
|
+
},
|
|
7454
|
+
"required": [
|
|
7455
|
+
"key"
|
|
7456
|
+
],
|
|
7457
|
+
"shortClassName": "dialogModuleOptions",
|
|
7458
|
+
"type": "object",
|
|
7459
|
+
"title": "Dialog Module Options",
|
|
7460
|
+
"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"
|
|
7461
|
+
},
|
|
7462
7462
|
{
|
|
7463
7463
|
"properties": {
|
|
7464
7464
|
"offsetX": {
|
|
@@ -7618,6 +7618,10 @@
|
|
|
7618
7618
|
"type": "string",
|
|
7619
7619
|
"fieldDescription": "\n\nFires when an add on has been successfully disabled. This is an asynchronous notification event.\n\n"
|
|
7620
7620
|
},
|
|
7621
|
+
"dare-migration": {
|
|
7622
|
+
"type": "string",
|
|
7623
|
+
"fieldDescription": "\n\nUsed DaRe app migration service to trigger migrations events\n\n"
|
|
7624
|
+
},
|
|
7621
7625
|
"uninstalled": {
|
|
7622
7626
|
"format": "uri",
|
|
7623
7627
|
"type": "string",
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -2506,7 +2506,7 @@ export interface Modules {
|
|
|
2506
2506
|
location?: string;
|
|
2507
2507
|
cacheable?: boolean;
|
|
2508
2508
|
supportsNative?: boolean;
|
|
2509
|
-
conditions?: (
|
|
2509
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2510
2510
|
params?: {
|
|
2511
2511
|
[k: string]: unknown;
|
|
2512
2512
|
};
|
|
@@ -2522,7 +2522,7 @@ export interface Modules {
|
|
|
2522
2522
|
location?: string;
|
|
2523
2523
|
cacheable?: boolean;
|
|
2524
2524
|
supportsNative?: boolean;
|
|
2525
|
-
conditions?: (
|
|
2525
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2526
2526
|
params?: {
|
|
2527
2527
|
[k: string]: unknown;
|
|
2528
2528
|
};
|
|
@@ -2536,7 +2536,7 @@ export interface Modules {
|
|
|
2536
2536
|
filter?: string;
|
|
2537
2537
|
excludeBody?: boolean;
|
|
2538
2538
|
event?: string;
|
|
2539
|
-
conditions?: (
|
|
2539
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2540
2540
|
propertyKeys?: string[];
|
|
2541
2541
|
url?: string;
|
|
2542
2542
|
key: ModuleKeySchema;
|
|
@@ -2546,7 +2546,7 @@ export interface Modules {
|
|
|
2546
2546
|
filter?: string;
|
|
2547
2547
|
excludeBody?: boolean;
|
|
2548
2548
|
event?: string;
|
|
2549
|
-
conditions?: (
|
|
2549
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2550
2550
|
propertyKeys?: string[];
|
|
2551
2551
|
url?: string;
|
|
2552
2552
|
key: ModuleKeySchema;
|
|
@@ -2589,7 +2589,7 @@ export interface Modules {
|
|
|
2589
2589
|
name?: I18NProperty55;
|
|
2590
2590
|
weight?: number;
|
|
2591
2591
|
location?: string;
|
|
2592
|
-
conditions?: (
|
|
2592
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2593
2593
|
params?: {
|
|
2594
2594
|
[k: string]: unknown;
|
|
2595
2595
|
};
|
|
@@ -2601,7 +2601,7 @@ export interface Modules {
|
|
|
2601
2601
|
name?: I18NProperty55;
|
|
2602
2602
|
weight?: number;
|
|
2603
2603
|
location?: string;
|
|
2604
|
-
conditions?: (
|
|
2604
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2605
2605
|
params?: {
|
|
2606
2606
|
[k: string]: unknown;
|
|
2607
2607
|
};
|
|
@@ -2958,7 +2958,7 @@ export interface Modules {
|
|
|
2958
2958
|
icon?: Icon18;
|
|
2959
2959
|
name?: I18NProperty91;
|
|
2960
2960
|
cacheable?: boolean;
|
|
2961
|
-
conditions?: (
|
|
2961
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2962
2962
|
params?: {
|
|
2963
2963
|
[k: string]: unknown;
|
|
2964
2964
|
};
|
|
@@ -2974,7 +2974,7 @@ export interface Modules {
|
|
|
2974
2974
|
icon?: Icon18;
|
|
2975
2975
|
name?: I18NProperty91;
|
|
2976
2976
|
cacheable?: boolean;
|
|
2977
|
-
conditions?: (
|
|
2977
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2978
2978
|
params?: {
|
|
2979
2979
|
[k: string]: unknown;
|
|
2980
2980
|
};
|
|
@@ -3013,6 +3013,7 @@ export interface Modules {
|
|
|
3013
3013
|
{
|
|
3014
3014
|
installed?: string;
|
|
3015
3015
|
disabled?: string;
|
|
3016
|
+
'dare-migration'?: string;
|
|
3016
3017
|
uninstalled?: string;
|
|
3017
3018
|
enabled?: string;
|
|
3018
3019
|
key: ModuleKeySchema;
|
|
@@ -3021,6 +3022,7 @@ export interface Modules {
|
|
|
3021
3022
|
...{
|
|
3022
3023
|
installed?: string;
|
|
3023
3024
|
disabled?: string;
|
|
3025
|
+
'dare-migration'?: string;
|
|
3024
3026
|
uninstalled?: string;
|
|
3025
3027
|
enabled?: string;
|
|
3026
3028
|
key: ModuleKeySchema;
|
|
@@ -5899,10 +5901,37 @@ export interface Icon10 {
|
|
|
5899
5901
|
*
|
|
5900
5902
|
*/
|
|
5901
5903
|
export interface WebItemTarget1 {
|
|
5902
|
-
options?:
|
|
5904
|
+
options?: DialogModuleOptions1 | DialogOptions2 | InlineDialogOptions1;
|
|
5903
5905
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
5904
5906
|
[k: string]: unknown;
|
|
5905
5907
|
}
|
|
5908
|
+
/**
|
|
5909
|
+
*
|
|
5910
|
+
*
|
|
5911
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
5912
|
+
*
|
|
5913
|
+
* <h3>Example</h3>
|
|
5914
|
+
*
|
|
5915
|
+
*
|
|
5916
|
+
*
|
|
5917
|
+
*
|
|
5918
|
+
*
|
|
5919
|
+
* {
|
|
5920
|
+
* "target": {
|
|
5921
|
+
* "type": "dialogmodule",
|
|
5922
|
+
* "options": {
|
|
5923
|
+
* "key": "dialog-module-key"
|
|
5924
|
+
* }
|
|
5925
|
+
* }
|
|
5926
|
+
* }
|
|
5927
|
+
*
|
|
5928
|
+
*
|
|
5929
|
+
*
|
|
5930
|
+
*/
|
|
5931
|
+
export interface DialogModuleOptions1 {
|
|
5932
|
+
key: string;
|
|
5933
|
+
[k: string]: unknown;
|
|
5934
|
+
}
|
|
5906
5935
|
/**
|
|
5907
5936
|
*
|
|
5908
5937
|
*
|
|
@@ -6001,33 +6030,6 @@ export interface I18NProperty58 {
|
|
|
6001
6030
|
i18n?: string;
|
|
6002
6031
|
[k: string]: unknown;
|
|
6003
6032
|
}
|
|
6004
|
-
/**
|
|
6005
|
-
*
|
|
6006
|
-
*
|
|
6007
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
6008
|
-
*
|
|
6009
|
-
* <h3>Example</h3>
|
|
6010
|
-
*
|
|
6011
|
-
*
|
|
6012
|
-
*
|
|
6013
|
-
*
|
|
6014
|
-
*
|
|
6015
|
-
* {
|
|
6016
|
-
* "target": {
|
|
6017
|
-
* "type": "dialogmodule",
|
|
6018
|
-
* "options": {
|
|
6019
|
-
* "key": "dialog-module-key"
|
|
6020
|
-
* }
|
|
6021
|
-
* }
|
|
6022
|
-
* }
|
|
6023
|
-
*
|
|
6024
|
-
*
|
|
6025
|
-
*
|
|
6026
|
-
*/
|
|
6027
|
-
export interface DialogModuleOptions1 {
|
|
6028
|
-
key: string;
|
|
6029
|
-
[k: string]: unknown;
|
|
6030
|
-
}
|
|
6031
6033
|
/**
|
|
6032
6034
|
*
|
|
6033
6035
|
*
|
|
@@ -8006,7 +8008,7 @@ export interface I18NProperty74 {
|
|
|
8006
8008
|
*
|
|
8007
8009
|
*/
|
|
8008
8010
|
export interface MacroPropertyPanel {
|
|
8009
|
-
controls?: (TextControl | ButtonControl | ControlGroup
|
|
8011
|
+
controls?: (ToggleGroup | TextControl | ButtonControl | ControlGroup)[];
|
|
8010
8012
|
cacheable?: boolean;
|
|
8011
8013
|
url: string;
|
|
8012
8014
|
[k: string]: unknown;
|
|
@@ -8014,7 +8016,7 @@ export interface MacroPropertyPanel {
|
|
|
8014
8016
|
/**
|
|
8015
8017
|
*
|
|
8016
8018
|
*
|
|
8017
|
-
* Defines a
|
|
8019
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
8018
8020
|
*
|
|
8019
8021
|
* <p><b>Example</b></p>
|
|
8020
8022
|
*
|
|
@@ -8022,27 +8024,44 @@ export interface MacroPropertyPanel {
|
|
|
8022
8024
|
*
|
|
8023
8025
|
*
|
|
8024
8026
|
*
|
|
8025
|
-
*
|
|
8026
|
-
*
|
|
8027
|
-
*
|
|
8028
|
-
* "
|
|
8029
|
-
*
|
|
8030
|
-
*
|
|
8031
|
-
*
|
|
8027
|
+
* [
|
|
8028
|
+
* {
|
|
8029
|
+
* "type": "togglegroup",
|
|
8030
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
8031
|
+
* "controls": [
|
|
8032
|
+
* {
|
|
8033
|
+
* "type": "togglebutton",
|
|
8034
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
8035
|
+
* "label": {
|
|
8036
|
+
* "value": "My Custom Control 0"
|
|
8037
|
+
* },
|
|
8038
|
+
* "key": "my-custom-toggle-button-0"
|
|
8039
|
+
* },
|
|
8040
|
+
* {
|
|
8041
|
+
* "type": "togglebutton",
|
|
8042
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
8043
|
+
* "label": {
|
|
8044
|
+
* "value": "My Custom Control 1"
|
|
8045
|
+
* },
|
|
8046
|
+
* "key": "my-custom-toggle-button-1"
|
|
8047
|
+
* }
|
|
8048
|
+
* ]
|
|
8049
|
+
* }
|
|
8050
|
+
* ]
|
|
8032
8051
|
*
|
|
8033
8052
|
*
|
|
8034
8053
|
*
|
|
8035
8054
|
*/
|
|
8036
|
-
export interface
|
|
8055
|
+
export interface ToggleGroup {
|
|
8056
|
+
controls: ToggleButtonControl[];
|
|
8037
8057
|
macroParameter: string;
|
|
8038
|
-
type: '
|
|
8039
|
-
key: string;
|
|
8058
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
8040
8059
|
[k: string]: unknown;
|
|
8041
8060
|
}
|
|
8042
8061
|
/**
|
|
8043
8062
|
*
|
|
8044
8063
|
*
|
|
8045
|
-
* Defines a button which
|
|
8064
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
8046
8065
|
*
|
|
8047
8066
|
* <p><b>Example</b></p>
|
|
8048
8067
|
*
|
|
@@ -8051,19 +8070,21 @@ export interface TextControl {
|
|
|
8051
8070
|
*
|
|
8052
8071
|
*
|
|
8053
8072
|
* {
|
|
8054
|
-
* "type": "
|
|
8073
|
+
* "type": "togglebutton",
|
|
8074
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
8055
8075
|
* "label": {
|
|
8056
8076
|
* "value": "My Custom Control 0"
|
|
8057
8077
|
* },
|
|
8058
|
-
* "key": "my-custom-
|
|
8078
|
+
* "key": "my-custom-toggle-button-0"
|
|
8059
8079
|
* }
|
|
8060
8080
|
*
|
|
8061
8081
|
*
|
|
8062
8082
|
*
|
|
8063
8083
|
*/
|
|
8064
|
-
export interface
|
|
8084
|
+
export interface ToggleButtonControl {
|
|
8085
|
+
macroParameterValue: string;
|
|
8065
8086
|
label: I18NProperty75;
|
|
8066
|
-
type: '
|
|
8087
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8067
8088
|
key: string;
|
|
8068
8089
|
[k: string]: unknown;
|
|
8069
8090
|
}
|
|
@@ -8094,7 +8115,7 @@ export interface I18NProperty75 {
|
|
|
8094
8115
|
/**
|
|
8095
8116
|
*
|
|
8096
8117
|
*
|
|
8097
|
-
* Defines a
|
|
8118
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
8098
8119
|
*
|
|
8099
8120
|
* <p><b>Example</b></p>
|
|
8100
8121
|
*
|
|
@@ -8102,34 +8123,21 @@ export interface I18NProperty75 {
|
|
|
8102
8123
|
*
|
|
8103
8124
|
*
|
|
8104
8125
|
*
|
|
8105
|
-
*
|
|
8106
|
-
*
|
|
8107
|
-
*
|
|
8108
|
-
* "
|
|
8109
|
-
*
|
|
8110
|
-
*
|
|
8111
|
-
*
|
|
8112
|
-
* "value": "My Custom Control 0"
|
|
8113
|
-
* },
|
|
8114
|
-
* "key": "my-custom-control-0"
|
|
8115
|
-
* },
|
|
8116
|
-
* {
|
|
8117
|
-
* "type": "button",
|
|
8118
|
-
* "label": {
|
|
8119
|
-
* "value": "My Custom Control 1"
|
|
8120
|
-
* },
|
|
8121
|
-
* "key": "my-custom-control-1"
|
|
8122
|
-
* }
|
|
8123
|
-
* ]
|
|
8124
|
-
* }
|
|
8125
|
-
* ]
|
|
8126
|
+
* {
|
|
8127
|
+
* "type": "button",
|
|
8128
|
+
* "label": {
|
|
8129
|
+
* "value": "My Custom Control 0"
|
|
8130
|
+
* },
|
|
8131
|
+
* "key": "my-custom-control-0"
|
|
8132
|
+
* }
|
|
8126
8133
|
*
|
|
8127
8134
|
*
|
|
8128
8135
|
*
|
|
8129
8136
|
*/
|
|
8130
|
-
export interface
|
|
8131
|
-
|
|
8132
|
-
type: '
|
|
8137
|
+
export interface TextControl {
|
|
8138
|
+
macroParameter: string;
|
|
8139
|
+
type: 'text' | 'TEXT';
|
|
8140
|
+
key: string;
|
|
8133
8141
|
[k: string]: unknown;
|
|
8134
8142
|
}
|
|
8135
8143
|
/**
|
|
@@ -8154,7 +8162,7 @@ export interface ControlGroup {
|
|
|
8154
8162
|
*
|
|
8155
8163
|
*
|
|
8156
8164
|
*/
|
|
8157
|
-
export interface
|
|
8165
|
+
export interface ButtonControl {
|
|
8158
8166
|
label: I18NProperty76;
|
|
8159
8167
|
type: 'button' | 'BUTTON';
|
|
8160
8168
|
key: string;
|
|
@@ -8187,7 +8195,7 @@ export interface I18NProperty76 {
|
|
|
8187
8195
|
/**
|
|
8188
8196
|
*
|
|
8189
8197
|
*
|
|
8190
|
-
* Defines a
|
|
8198
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
8191
8199
|
*
|
|
8192
8200
|
* <p><b>Example</b></p>
|
|
8193
8201
|
*
|
|
@@ -8197,24 +8205,21 @@ export interface I18NProperty76 {
|
|
|
8197
8205
|
*
|
|
8198
8206
|
* [
|
|
8199
8207
|
* {
|
|
8200
|
-
* "type": "
|
|
8201
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
8208
|
+
* "type": "group",
|
|
8202
8209
|
* "controls": [
|
|
8203
8210
|
* {
|
|
8204
|
-
* "type": "
|
|
8205
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
8211
|
+
* "type": "button",
|
|
8206
8212
|
* "label": {
|
|
8207
8213
|
* "value": "My Custom Control 0"
|
|
8208
8214
|
* },
|
|
8209
|
-
* "key": "my-custom-
|
|
8215
|
+
* "key": "my-custom-control-0"
|
|
8210
8216
|
* },
|
|
8211
8217
|
* {
|
|
8212
|
-
* "type": "
|
|
8213
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
8218
|
+
* "type": "button",
|
|
8214
8219
|
* "label": {
|
|
8215
8220
|
* "value": "My Custom Control 1"
|
|
8216
8221
|
* },
|
|
8217
|
-
* "key": "my-custom-
|
|
8222
|
+
* "key": "my-custom-control-1"
|
|
8218
8223
|
* }
|
|
8219
8224
|
* ]
|
|
8220
8225
|
* }
|
|
@@ -8223,16 +8228,15 @@ export interface I18NProperty76 {
|
|
|
8223
8228
|
*
|
|
8224
8229
|
*
|
|
8225
8230
|
*/
|
|
8226
|
-
export interface
|
|
8227
|
-
controls:
|
|
8228
|
-
|
|
8229
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
8231
|
+
export interface ControlGroup {
|
|
8232
|
+
controls: ButtonControl1[];
|
|
8233
|
+
type: 'group' | 'GROUP';
|
|
8230
8234
|
[k: string]: unknown;
|
|
8231
8235
|
}
|
|
8232
8236
|
/**
|
|
8233
8237
|
*
|
|
8234
8238
|
*
|
|
8235
|
-
* Defines a
|
|
8239
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
8236
8240
|
*
|
|
8237
8241
|
* <p><b>Example</b></p>
|
|
8238
8242
|
*
|
|
@@ -8241,21 +8245,19 @@ export interface ToggleGroup {
|
|
|
8241
8245
|
*
|
|
8242
8246
|
*
|
|
8243
8247
|
* {
|
|
8244
|
-
* "type": "
|
|
8245
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
8248
|
+
* "type": "button",
|
|
8246
8249
|
* "label": {
|
|
8247
8250
|
* "value": "My Custom Control 0"
|
|
8248
8251
|
* },
|
|
8249
|
-
* "key": "my-custom-
|
|
8252
|
+
* "key": "my-custom-control-0"
|
|
8250
8253
|
* }
|
|
8251
8254
|
*
|
|
8252
8255
|
*
|
|
8253
8256
|
*
|
|
8254
8257
|
*/
|
|
8255
|
-
export interface
|
|
8256
|
-
macroParameterValue: string;
|
|
8258
|
+
export interface ButtonControl1 {
|
|
8257
8259
|
label: I18NProperty77;
|
|
8258
|
-
type: '
|
|
8260
|
+
type: 'button' | 'BUTTON';
|
|
8259
8261
|
key: string;
|
|
8260
8262
|
[k: string]: unknown;
|
|
8261
8263
|
}
|
|
@@ -29251,52 +29253,11 @@ export interface I18NProperty83 {
|
|
|
29251
29253
|
*
|
|
29252
29254
|
*/
|
|
29253
29255
|
export interface MacroPropertyPanel1 {
|
|
29254
|
-
controls?: (
|
|
29256
|
+
controls?: (ButtonControl2 | ControlGroup1 | ToggleGroup1 | TextControl1)[];
|
|
29255
29257
|
cacheable?: boolean;
|
|
29256
29258
|
url: string;
|
|
29257
29259
|
[k: string]: unknown;
|
|
29258
29260
|
}
|
|
29259
|
-
/**
|
|
29260
|
-
*
|
|
29261
|
-
*
|
|
29262
|
-
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
29263
|
-
*
|
|
29264
|
-
* <p><b>Example</b></p>
|
|
29265
|
-
*
|
|
29266
|
-
*
|
|
29267
|
-
*
|
|
29268
|
-
*
|
|
29269
|
-
*
|
|
29270
|
-
* [
|
|
29271
|
-
* {
|
|
29272
|
-
* "type": "group",
|
|
29273
|
-
* "controls": [
|
|
29274
|
-
* {
|
|
29275
|
-
* "type": "button",
|
|
29276
|
-
* "label": {
|
|
29277
|
-
* "value": "My Custom Control 0"
|
|
29278
|
-
* },
|
|
29279
|
-
* "key": "my-custom-control-0"
|
|
29280
|
-
* },
|
|
29281
|
-
* {
|
|
29282
|
-
* "type": "button",
|
|
29283
|
-
* "label": {
|
|
29284
|
-
* "value": "My Custom Control 1"
|
|
29285
|
-
* },
|
|
29286
|
-
* "key": "my-custom-control-1"
|
|
29287
|
-
* }
|
|
29288
|
-
* ]
|
|
29289
|
-
* }
|
|
29290
|
-
* ]
|
|
29291
|
-
*
|
|
29292
|
-
*
|
|
29293
|
-
*
|
|
29294
|
-
*/
|
|
29295
|
-
export interface ControlGroup1 {
|
|
29296
|
-
controls: ButtonControl2[];
|
|
29297
|
-
type: 'group' | 'GROUP';
|
|
29298
|
-
[k: string]: unknown;
|
|
29299
|
-
}
|
|
29300
29261
|
/**
|
|
29301
29262
|
*
|
|
29302
29263
|
*
|
|
@@ -29352,7 +29313,7 @@ export interface I18NProperty84 {
|
|
|
29352
29313
|
/**
|
|
29353
29314
|
*
|
|
29354
29315
|
*
|
|
29355
|
-
* Defines a
|
|
29316
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
29356
29317
|
*
|
|
29357
29318
|
* <p><b>Example</b></p>
|
|
29358
29319
|
*
|
|
@@ -29360,21 +29321,34 @@ export interface I18NProperty84 {
|
|
|
29360
29321
|
*
|
|
29361
29322
|
*
|
|
29362
29323
|
*
|
|
29363
|
-
*
|
|
29364
|
-
*
|
|
29365
|
-
*
|
|
29366
|
-
* "
|
|
29367
|
-
*
|
|
29368
|
-
*
|
|
29369
|
-
*
|
|
29324
|
+
* [
|
|
29325
|
+
* {
|
|
29326
|
+
* "type": "group",
|
|
29327
|
+
* "controls": [
|
|
29328
|
+
* {
|
|
29329
|
+
* "type": "button",
|
|
29330
|
+
* "label": {
|
|
29331
|
+
* "value": "My Custom Control 0"
|
|
29332
|
+
* },
|
|
29333
|
+
* "key": "my-custom-control-0"
|
|
29334
|
+
* },
|
|
29335
|
+
* {
|
|
29336
|
+
* "type": "button",
|
|
29337
|
+
* "label": {
|
|
29338
|
+
* "value": "My Custom Control 1"
|
|
29339
|
+
* },
|
|
29340
|
+
* "key": "my-custom-control-1"
|
|
29341
|
+
* }
|
|
29342
|
+
* ]
|
|
29343
|
+
* }
|
|
29344
|
+
* ]
|
|
29370
29345
|
*
|
|
29371
29346
|
*
|
|
29372
29347
|
*
|
|
29373
29348
|
*/
|
|
29374
|
-
export interface
|
|
29375
|
-
|
|
29376
|
-
type: '
|
|
29377
|
-
key: string;
|
|
29349
|
+
export interface ControlGroup1 {
|
|
29350
|
+
controls: ButtonControl3[];
|
|
29351
|
+
type: 'group' | 'GROUP';
|
|
29378
29352
|
[k: string]: unknown;
|
|
29379
29353
|
}
|
|
29380
29354
|
/**
|
|
@@ -29528,6 +29502,34 @@ export interface I18NProperty86 {
|
|
|
29528
29502
|
i18n?: string;
|
|
29529
29503
|
[k: string]: unknown;
|
|
29530
29504
|
}
|
|
29505
|
+
/**
|
|
29506
|
+
*
|
|
29507
|
+
*
|
|
29508
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
29509
|
+
*
|
|
29510
|
+
* <p><b>Example</b></p>
|
|
29511
|
+
*
|
|
29512
|
+
*
|
|
29513
|
+
*
|
|
29514
|
+
*
|
|
29515
|
+
*
|
|
29516
|
+
* {
|
|
29517
|
+
* "type": "button",
|
|
29518
|
+
* "label": {
|
|
29519
|
+
* "value": "My Custom Control 0"
|
|
29520
|
+
* },
|
|
29521
|
+
* "key": "my-custom-control-0"
|
|
29522
|
+
* }
|
|
29523
|
+
*
|
|
29524
|
+
*
|
|
29525
|
+
*
|
|
29526
|
+
*/
|
|
29527
|
+
export interface TextControl1 {
|
|
29528
|
+
macroParameter: string;
|
|
29529
|
+
type: 'text' | 'TEXT';
|
|
29530
|
+
key: string;
|
|
29531
|
+
[k: string]: unknown;
|
|
29532
|
+
}
|
|
29531
29533
|
/**
|
|
29532
29534
|
*
|
|
29533
29535
|
*
|
|
@@ -50377,37 +50379,10 @@ export interface I18NProperty91 {
|
|
|
50377
50379
|
*
|
|
50378
50380
|
*/
|
|
50379
50381
|
export interface WebItemTarget2 {
|
|
50380
|
-
options?:
|
|
50382
|
+
options?: DialogOptions4 | DialogModuleOptions2 | InlineDialogOptions2;
|
|
50381
50383
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
50382
50384
|
[k: string]: unknown;
|
|
50383
50385
|
}
|
|
50384
|
-
/**
|
|
50385
|
-
*
|
|
50386
|
-
*
|
|
50387
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50388
|
-
*
|
|
50389
|
-
* <h3>Example</h3>
|
|
50390
|
-
*
|
|
50391
|
-
*
|
|
50392
|
-
*
|
|
50393
|
-
*
|
|
50394
|
-
*
|
|
50395
|
-
* {
|
|
50396
|
-
* "target": {
|
|
50397
|
-
* "type": "dialogmodule",
|
|
50398
|
-
* "options": {
|
|
50399
|
-
* "key": "dialog-module-key"
|
|
50400
|
-
* }
|
|
50401
|
-
* }
|
|
50402
|
-
* }
|
|
50403
|
-
*
|
|
50404
|
-
*
|
|
50405
|
-
*
|
|
50406
|
-
*/
|
|
50407
|
-
export interface DialogModuleOptions2 {
|
|
50408
|
-
key: string;
|
|
50409
|
-
[k: string]: unknown;
|
|
50410
|
-
}
|
|
50411
50386
|
/**
|
|
50412
50387
|
*
|
|
50413
50388
|
*
|
|
@@ -50506,6 +50481,33 @@ export interface I18NProperty92 {
|
|
|
50506
50481
|
i18n?: string;
|
|
50507
50482
|
[k: string]: unknown;
|
|
50508
50483
|
}
|
|
50484
|
+
/**
|
|
50485
|
+
*
|
|
50486
|
+
*
|
|
50487
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50488
|
+
*
|
|
50489
|
+
* <h3>Example</h3>
|
|
50490
|
+
*
|
|
50491
|
+
*
|
|
50492
|
+
*
|
|
50493
|
+
*
|
|
50494
|
+
*
|
|
50495
|
+
* {
|
|
50496
|
+
* "target": {
|
|
50497
|
+
* "type": "dialogmodule",
|
|
50498
|
+
* "options": {
|
|
50499
|
+
* "key": "dialog-module-key"
|
|
50500
|
+
* }
|
|
50501
|
+
* }
|
|
50502
|
+
* }
|
|
50503
|
+
*
|
|
50504
|
+
*
|
|
50505
|
+
*
|
|
50506
|
+
*/
|
|
50507
|
+
export interface DialogModuleOptions2 {
|
|
50508
|
+
key: string;
|
|
50509
|
+
[k: string]: unknown;
|
|
50510
|
+
}
|
|
50509
50511
|
/**
|
|
50510
50512
|
*
|
|
50511
50513
|
*
|