@forge/manifest 2.6.0-next.18 → 2.6.0-next.19
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 +7 -0
- package/out/schema/manifest-schema.json +209 -207
- package/out/schema/manifest.d.ts +230 -230
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7117,33 +7117,6 @@
|
|
|
7117
7117
|
"items": {
|
|
7118
7118
|
"type": "object",
|
|
7119
7119
|
"anyOf": [
|
|
7120
|
-
{
|
|
7121
|
-
"properties": {
|
|
7122
|
-
"condition": {
|
|
7123
|
-
"maxLength": 100,
|
|
7124
|
-
"type": "string",
|
|
7125
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7126
|
-
},
|
|
7127
|
-
"invert": {
|
|
7128
|
-
"type": "boolean",
|
|
7129
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7130
|
-
"defaultValue": "false"
|
|
7131
|
-
},
|
|
7132
|
-
"params": {
|
|
7133
|
-
"additionalProperties": true,
|
|
7134
|
-
"type": "object",
|
|
7135
|
-
"fieldTitle": "Object",
|
|
7136
|
-
"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"
|
|
7137
|
-
}
|
|
7138
|
-
},
|
|
7139
|
-
"required": [
|
|
7140
|
-
"condition"
|
|
7141
|
-
],
|
|
7142
|
-
"shortClassName": "singleConditionBean",
|
|
7143
|
-
"type": "object",
|
|
7144
|
-
"title": "Single Condition",
|
|
7145
|
-
"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"
|
|
7146
|
-
},
|
|
7147
7120
|
{
|
|
7148
7121
|
"properties": {
|
|
7149
7122
|
"conditions": {
|
|
@@ -7151,10 +7124,10 @@
|
|
|
7151
7124
|
"type": "object",
|
|
7152
7125
|
"anyOf": [
|
|
7153
7126
|
{
|
|
7154
|
-
"$ref": "
|
|
7127
|
+
"$ref": "#"
|
|
7155
7128
|
},
|
|
7156
7129
|
{
|
|
7157
|
-
"$ref": "
|
|
7130
|
+
"$ref": "#/definitions/singleCondition"
|
|
7158
7131
|
}
|
|
7159
7132
|
]
|
|
7160
7133
|
},
|
|
@@ -7176,6 +7149,33 @@
|
|
|
7176
7149
|
"type": "object",
|
|
7177
7150
|
"title": "Composite Condition",
|
|
7178
7151
|
"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"
|
|
7152
|
+
},
|
|
7153
|
+
{
|
|
7154
|
+
"properties": {
|
|
7155
|
+
"condition": {
|
|
7156
|
+
"maxLength": 100,
|
|
7157
|
+
"type": "string",
|
|
7158
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7159
|
+
},
|
|
7160
|
+
"invert": {
|
|
7161
|
+
"type": "boolean",
|
|
7162
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7163
|
+
"defaultValue": "false"
|
|
7164
|
+
},
|
|
7165
|
+
"params": {
|
|
7166
|
+
"additionalProperties": true,
|
|
7167
|
+
"type": "object",
|
|
7168
|
+
"fieldTitle": "Object",
|
|
7169
|
+
"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"
|
|
7170
|
+
}
|
|
7171
|
+
},
|
|
7172
|
+
"required": [
|
|
7173
|
+
"condition"
|
|
7174
|
+
],
|
|
7175
|
+
"shortClassName": "singleConditionBean",
|
|
7176
|
+
"type": "object",
|
|
7177
|
+
"title": "Single Condition",
|
|
7178
|
+
"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"
|
|
7179
7179
|
}
|
|
7180
7180
|
]
|
|
7181
7181
|
},
|
|
@@ -7449,6 +7449,70 @@
|
|
|
7449
7449
|
"items": {
|
|
7450
7450
|
"type": "object",
|
|
7451
7451
|
"anyOf": [
|
|
7452
|
+
{
|
|
7453
|
+
"properties": {
|
|
7454
|
+
"macroParameter": {
|
|
7455
|
+
"maxLength": 100,
|
|
7456
|
+
"type": "string",
|
|
7457
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7458
|
+
},
|
|
7459
|
+
"type": {
|
|
7460
|
+
"enum": [
|
|
7461
|
+
"text",
|
|
7462
|
+
"TEXT"
|
|
7463
|
+
],
|
|
7464
|
+
"type": "string",
|
|
7465
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7466
|
+
},
|
|
7467
|
+
"key": {
|
|
7468
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7469
|
+
"maxLength": 100,
|
|
7470
|
+
"type": "string",
|
|
7471
|
+
"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"
|
|
7472
|
+
}
|
|
7473
|
+
},
|
|
7474
|
+
"required": [
|
|
7475
|
+
"macroParameter",
|
|
7476
|
+
"type",
|
|
7477
|
+
"key"
|
|
7478
|
+
],
|
|
7479
|
+
"shortClassName": "textControlBean",
|
|
7480
|
+
"type": "object",
|
|
7481
|
+
"title": "TextControl",
|
|
7482
|
+
"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"
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
"properties": {
|
|
7486
|
+
"label": {
|
|
7487
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7488
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7489
|
+
},
|
|
7490
|
+
"type": {
|
|
7491
|
+
"enum": [
|
|
7492
|
+
"button",
|
|
7493
|
+
"BUTTON"
|
|
7494
|
+
],
|
|
7495
|
+
"type": "string",
|
|
7496
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7497
|
+
},
|
|
7498
|
+
"key": {
|
|
7499
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7500
|
+
"maxLength": 100,
|
|
7501
|
+
"type": "string",
|
|
7502
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7503
|
+
}
|
|
7504
|
+
},
|
|
7505
|
+
"required": [
|
|
7506
|
+
"label",
|
|
7507
|
+
"type",
|
|
7508
|
+
"key"
|
|
7509
|
+
],
|
|
7510
|
+
"additionalProperties": true,
|
|
7511
|
+
"shortClassName": "buttonControlBean",
|
|
7512
|
+
"type": "object",
|
|
7513
|
+
"title": "ButtonControl",
|
|
7514
|
+
"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"
|
|
7515
|
+
},
|
|
7452
7516
|
{
|
|
7453
7517
|
"properties": {
|
|
7454
7518
|
"controls": {
|
|
@@ -7518,70 +7582,6 @@
|
|
|
7518
7582
|
"title": "ToggleGroup",
|
|
7519
7583
|
"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"
|
|
7520
7584
|
},
|
|
7521
|
-
{
|
|
7522
|
-
"properties": {
|
|
7523
|
-
"label": {
|
|
7524
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7525
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7526
|
-
},
|
|
7527
|
-
"type": {
|
|
7528
|
-
"enum": [
|
|
7529
|
-
"button",
|
|
7530
|
-
"BUTTON"
|
|
7531
|
-
],
|
|
7532
|
-
"type": "string",
|
|
7533
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7534
|
-
},
|
|
7535
|
-
"key": {
|
|
7536
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7537
|
-
"maxLength": 100,
|
|
7538
|
-
"type": "string",
|
|
7539
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7540
|
-
}
|
|
7541
|
-
},
|
|
7542
|
-
"required": [
|
|
7543
|
-
"label",
|
|
7544
|
-
"type",
|
|
7545
|
-
"key"
|
|
7546
|
-
],
|
|
7547
|
-
"additionalProperties": true,
|
|
7548
|
-
"shortClassName": "buttonControlBean",
|
|
7549
|
-
"type": "object",
|
|
7550
|
-
"title": "ButtonControl",
|
|
7551
|
-
"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"
|
|
7552
|
-
},
|
|
7553
|
-
{
|
|
7554
|
-
"properties": {
|
|
7555
|
-
"macroParameter": {
|
|
7556
|
-
"maxLength": 100,
|
|
7557
|
-
"type": "string",
|
|
7558
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7559
|
-
},
|
|
7560
|
-
"type": {
|
|
7561
|
-
"enum": [
|
|
7562
|
-
"text",
|
|
7563
|
-
"TEXT"
|
|
7564
|
-
],
|
|
7565
|
-
"type": "string",
|
|
7566
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7567
|
-
},
|
|
7568
|
-
"key": {
|
|
7569
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7570
|
-
"maxLength": 100,
|
|
7571
|
-
"type": "string",
|
|
7572
|
-
"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"
|
|
7573
|
-
}
|
|
7574
|
-
},
|
|
7575
|
-
"required": [
|
|
7576
|
-
"macroParameter",
|
|
7577
|
-
"type",
|
|
7578
|
-
"key"
|
|
7579
|
-
],
|
|
7580
|
-
"shortClassName": "textControlBean",
|
|
7581
|
-
"type": "object",
|
|
7582
|
-
"title": "TextControl",
|
|
7583
|
-
"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"
|
|
7584
|
-
},
|
|
7585
7585
|
{
|
|
7586
7586
|
"properties": {
|
|
7587
7587
|
"controls": {
|
|
@@ -7931,6 +7931,70 @@
|
|
|
7931
7931
|
"items": {
|
|
7932
7932
|
"type": "object",
|
|
7933
7933
|
"anyOf": [
|
|
7934
|
+
{
|
|
7935
|
+
"properties": {
|
|
7936
|
+
"macroParameter": {
|
|
7937
|
+
"maxLength": 100,
|
|
7938
|
+
"type": "string",
|
|
7939
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7940
|
+
},
|
|
7941
|
+
"type": {
|
|
7942
|
+
"enum": [
|
|
7943
|
+
"text",
|
|
7944
|
+
"TEXT"
|
|
7945
|
+
],
|
|
7946
|
+
"type": "string",
|
|
7947
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7948
|
+
},
|
|
7949
|
+
"key": {
|
|
7950
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7951
|
+
"maxLength": 100,
|
|
7952
|
+
"type": "string",
|
|
7953
|
+
"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"
|
|
7954
|
+
}
|
|
7955
|
+
},
|
|
7956
|
+
"required": [
|
|
7957
|
+
"macroParameter",
|
|
7958
|
+
"type",
|
|
7959
|
+
"key"
|
|
7960
|
+
],
|
|
7961
|
+
"shortClassName": "textControlBean",
|
|
7962
|
+
"type": "object",
|
|
7963
|
+
"title": "TextControl",
|
|
7964
|
+
"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"
|
|
7965
|
+
},
|
|
7966
|
+
{
|
|
7967
|
+
"properties": {
|
|
7968
|
+
"label": {
|
|
7969
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7970
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7971
|
+
},
|
|
7972
|
+
"type": {
|
|
7973
|
+
"enum": [
|
|
7974
|
+
"button",
|
|
7975
|
+
"BUTTON"
|
|
7976
|
+
],
|
|
7977
|
+
"type": "string",
|
|
7978
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7979
|
+
},
|
|
7980
|
+
"key": {
|
|
7981
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7982
|
+
"maxLength": 100,
|
|
7983
|
+
"type": "string",
|
|
7984
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7985
|
+
}
|
|
7986
|
+
},
|
|
7987
|
+
"required": [
|
|
7988
|
+
"label",
|
|
7989
|
+
"type",
|
|
7990
|
+
"key"
|
|
7991
|
+
],
|
|
7992
|
+
"additionalProperties": true,
|
|
7993
|
+
"shortClassName": "buttonControlBean",
|
|
7994
|
+
"type": "object",
|
|
7995
|
+
"title": "ButtonControl",
|
|
7996
|
+
"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"
|
|
7997
|
+
},
|
|
7934
7998
|
{
|
|
7935
7999
|
"properties": {
|
|
7936
8000
|
"controls": {
|
|
@@ -8055,70 +8119,6 @@
|
|
|
8055
8119
|
"type": "object",
|
|
8056
8120
|
"title": "ToggleGroup",
|
|
8057
8121
|
"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"
|
|
8058
|
-
},
|
|
8059
|
-
{
|
|
8060
|
-
"properties": {
|
|
8061
|
-
"macroParameter": {
|
|
8062
|
-
"maxLength": 100,
|
|
8063
|
-
"type": "string",
|
|
8064
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
8065
|
-
},
|
|
8066
|
-
"type": {
|
|
8067
|
-
"enum": [
|
|
8068
|
-
"text",
|
|
8069
|
-
"TEXT"
|
|
8070
|
-
],
|
|
8071
|
-
"type": "string",
|
|
8072
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
8073
|
-
},
|
|
8074
|
-
"key": {
|
|
8075
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8076
|
-
"maxLength": 100,
|
|
8077
|
-
"type": "string",
|
|
8078
|
-
"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"
|
|
8079
|
-
}
|
|
8080
|
-
},
|
|
8081
|
-
"required": [
|
|
8082
|
-
"macroParameter",
|
|
8083
|
-
"type",
|
|
8084
|
-
"key"
|
|
8085
|
-
],
|
|
8086
|
-
"shortClassName": "textControlBean",
|
|
8087
|
-
"type": "object",
|
|
8088
|
-
"title": "TextControl",
|
|
8089
|
-
"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"
|
|
8090
|
-
},
|
|
8091
|
-
{
|
|
8092
|
-
"properties": {
|
|
8093
|
-
"label": {
|
|
8094
|
-
"$ref": "#/definitions/i18nProperty",
|
|
8095
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8096
|
-
},
|
|
8097
|
-
"type": {
|
|
8098
|
-
"enum": [
|
|
8099
|
-
"button",
|
|
8100
|
-
"BUTTON"
|
|
8101
|
-
],
|
|
8102
|
-
"type": "string",
|
|
8103
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8104
|
-
},
|
|
8105
|
-
"key": {
|
|
8106
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8107
|
-
"maxLength": 100,
|
|
8108
|
-
"type": "string",
|
|
8109
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8110
|
-
}
|
|
8111
|
-
},
|
|
8112
|
-
"required": [
|
|
8113
|
-
"label",
|
|
8114
|
-
"type",
|
|
8115
|
-
"key"
|
|
8116
|
-
],
|
|
8117
|
-
"additionalProperties": true,
|
|
8118
|
-
"shortClassName": "buttonControlBean",
|
|
8119
|
-
"type": "object",
|
|
8120
|
-
"title": "ButtonControl",
|
|
8121
|
-
"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"
|
|
8122
8122
|
}
|
|
8123
8123
|
]
|
|
8124
8124
|
},
|
|
@@ -8321,10 +8321,10 @@
|
|
|
8321
8321
|
"type": "object",
|
|
8322
8322
|
"anyOf": [
|
|
8323
8323
|
{
|
|
8324
|
-
"$ref": "#/definitions/
|
|
8324
|
+
"$ref": "#/definitions/singleCondition"
|
|
8325
8325
|
},
|
|
8326
8326
|
{
|
|
8327
|
-
"$ref": "#/definitions/
|
|
8327
|
+
"$ref": "#/definitions/compositeCondition"
|
|
8328
8328
|
}
|
|
8329
8329
|
]
|
|
8330
8330
|
},
|
|
@@ -8354,51 +8354,6 @@
|
|
|
8354
8354
|
"type": "object",
|
|
8355
8355
|
"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",
|
|
8356
8356
|
"anyOf": [
|
|
8357
|
-
{
|
|
8358
|
-
"properties": {
|
|
8359
|
-
"size": {
|
|
8360
|
-
"enum": [
|
|
8361
|
-
"small",
|
|
8362
|
-
"SMALL",
|
|
8363
|
-
"medium",
|
|
8364
|
-
"MEDIUM",
|
|
8365
|
-
"large",
|
|
8366
|
-
"LARGE",
|
|
8367
|
-
"x-large",
|
|
8368
|
-
"X-LARGE",
|
|
8369
|
-
"fullscreen",
|
|
8370
|
-
"FULLSCREEN",
|
|
8371
|
-
"maximum",
|
|
8372
|
-
"MAXIMUM"
|
|
8373
|
-
],
|
|
8374
|
-
"type": "string",
|
|
8375
|
-
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
8376
|
-
},
|
|
8377
|
-
"chrome": {
|
|
8378
|
-
"type": "boolean",
|
|
8379
|
-
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
8380
|
-
"defaultValue": "true"
|
|
8381
|
-
},
|
|
8382
|
-
"width": {
|
|
8383
|
-
"maxLength": 10,
|
|
8384
|
-
"type": "string",
|
|
8385
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
8386
|
-
},
|
|
8387
|
-
"header": {
|
|
8388
|
-
"$ref": "#/definitions/i18nProperty",
|
|
8389
|
-
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
8390
|
-
},
|
|
8391
|
-
"height": {
|
|
8392
|
-
"maxLength": 10,
|
|
8393
|
-
"type": "string",
|
|
8394
|
-
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
8395
|
-
}
|
|
8396
|
-
},
|
|
8397
|
-
"shortClassName": "dialogOptions",
|
|
8398
|
-
"type": "object",
|
|
8399
|
-
"title": "Dialog Options",
|
|
8400
|
-
"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"
|
|
8401
|
-
},
|
|
8402
8357
|
{
|
|
8403
8358
|
"properties": {
|
|
8404
8359
|
"offsetX": {
|
|
@@ -8461,6 +8416,51 @@
|
|
|
8461
8416
|
"type": "object",
|
|
8462
8417
|
"title": "Dialog Module Options",
|
|
8463
8418
|
"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"
|
|
8419
|
+
},
|
|
8420
|
+
{
|
|
8421
|
+
"properties": {
|
|
8422
|
+
"size": {
|
|
8423
|
+
"enum": [
|
|
8424
|
+
"small",
|
|
8425
|
+
"SMALL",
|
|
8426
|
+
"medium",
|
|
8427
|
+
"MEDIUM",
|
|
8428
|
+
"large",
|
|
8429
|
+
"LARGE",
|
|
8430
|
+
"x-large",
|
|
8431
|
+
"X-LARGE",
|
|
8432
|
+
"fullscreen",
|
|
8433
|
+
"FULLSCREEN",
|
|
8434
|
+
"maximum",
|
|
8435
|
+
"MAXIMUM"
|
|
8436
|
+
],
|
|
8437
|
+
"type": "string",
|
|
8438
|
+
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
8439
|
+
},
|
|
8440
|
+
"chrome": {
|
|
8441
|
+
"type": "boolean",
|
|
8442
|
+
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
8443
|
+
"defaultValue": "true"
|
|
8444
|
+
},
|
|
8445
|
+
"width": {
|
|
8446
|
+
"maxLength": 10,
|
|
8447
|
+
"type": "string",
|
|
8448
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
8449
|
+
},
|
|
8450
|
+
"header": {
|
|
8451
|
+
"$ref": "#/definitions/i18nProperty",
|
|
8452
|
+
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
8453
|
+
},
|
|
8454
|
+
"height": {
|
|
8455
|
+
"maxLength": 10,
|
|
8456
|
+
"type": "string",
|
|
8457
|
+
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
8458
|
+
}
|
|
8459
|
+
},
|
|
8460
|
+
"shortClassName": "dialogOptions",
|
|
8461
|
+
"type": "object",
|
|
8462
|
+
"title": "Dialog Options",
|
|
8463
|
+
"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"
|
|
8464
8464
|
}
|
|
8465
8465
|
]
|
|
8466
8466
|
},
|
|
@@ -8702,7 +8702,9 @@
|
|
|
8702
8702
|
"maxLength": 1000
|
|
8703
8703
|
}
|
|
8704
8704
|
},
|
|
8705
|
-
"required": [
|
|
8705
|
+
"required": [
|
|
8706
|
+
"remote"
|
|
8707
|
+
],
|
|
8706
8708
|
"additionalProperties": false
|
|
8707
8709
|
}
|
|
8708
8710
|
]
|
|
@@ -9740,10 +9742,10 @@
|
|
|
9740
9742
|
"type": "object",
|
|
9741
9743
|
"anyOf": [
|
|
9742
9744
|
{
|
|
9743
|
-
"$ref": "
|
|
9745
|
+
"$ref": "#"
|
|
9744
9746
|
},
|
|
9745
9747
|
{
|
|
9746
|
-
"$ref": "
|
|
9748
|
+
"$ref": "#/definitions/singleCondition"
|
|
9747
9749
|
}
|
|
9748
9750
|
]
|
|
9749
9751
|
},
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -3244,7 +3244,7 @@ export interface Modules {
|
|
|
3244
3244
|
name?: I18NProperty63;
|
|
3245
3245
|
weight?: number;
|
|
3246
3246
|
location?: string;
|
|
3247
|
-
conditions?: (
|
|
3247
|
+
conditions?: (CompositeCondition7 | SingleCondition5)[];
|
|
3248
3248
|
params?: {
|
|
3249
3249
|
[k: string]: unknown;
|
|
3250
3250
|
};
|
|
@@ -3256,7 +3256,7 @@ export interface Modules {
|
|
|
3256
3256
|
name?: I18NProperty63;
|
|
3257
3257
|
weight?: number;
|
|
3258
3258
|
location?: string;
|
|
3259
|
-
conditions?: (
|
|
3259
|
+
conditions?: (CompositeCondition7 | SingleCondition5)[];
|
|
3260
3260
|
params?: {
|
|
3261
3261
|
[k: string]: unknown;
|
|
3262
3262
|
};
|
|
@@ -3452,7 +3452,7 @@ export interface Modules {
|
|
|
3452
3452
|
icon?: Icon18;
|
|
3453
3453
|
name?: I18NProperty91;
|
|
3454
3454
|
cacheable?: boolean;
|
|
3455
|
-
conditions?: (
|
|
3455
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3456
3456
|
params?: {
|
|
3457
3457
|
[k: string]: unknown;
|
|
3458
3458
|
};
|
|
@@ -3468,7 +3468,7 @@ export interface Modules {
|
|
|
3468
3468
|
icon?: Icon18;
|
|
3469
3469
|
name?: I18NProperty91;
|
|
3470
3470
|
cacheable?: boolean;
|
|
3471
|
-
conditions?: (
|
|
3471
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3472
3472
|
params?: {
|
|
3473
3473
|
[k: string]: unknown;
|
|
3474
3474
|
};
|
|
@@ -3687,7 +3687,7 @@ export interface I18NProperty1 {
|
|
|
3687
3687
|
*
|
|
3688
3688
|
*/
|
|
3689
3689
|
export interface CompositeCondition {
|
|
3690
|
-
conditions?: (
|
|
3690
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
3691
3691
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
3692
3692
|
[k: string]: unknown;
|
|
3693
3693
|
}
|
|
@@ -7011,37 +7011,6 @@ export interface I18NProperty63 {
|
|
|
7011
7011
|
i18n?: string;
|
|
7012
7012
|
[k: string]: unknown;
|
|
7013
7013
|
}
|
|
7014
|
-
/**
|
|
7015
|
-
*
|
|
7016
|
-
*
|
|
7017
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7018
|
-
* [Conditions](../../conditions/) for more information.
|
|
7019
|
-
*
|
|
7020
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7021
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7022
|
-
*
|
|
7023
|
-
* <h3>Example</h3>
|
|
7024
|
-
*
|
|
7025
|
-
*
|
|
7026
|
-
*
|
|
7027
|
-
*
|
|
7028
|
-
*
|
|
7029
|
-
* {
|
|
7030
|
-
* "condition": "user_is_logged_in",
|
|
7031
|
-
* "invert": false
|
|
7032
|
-
* }
|
|
7033
|
-
*
|
|
7034
|
-
*
|
|
7035
|
-
*
|
|
7036
|
-
*/
|
|
7037
|
-
export interface SingleCondition5 {
|
|
7038
|
-
condition: string;
|
|
7039
|
-
invert?: boolean;
|
|
7040
|
-
params?: {
|
|
7041
|
-
[k: string]: unknown;
|
|
7042
|
-
};
|
|
7043
|
-
[k: string]: unknown;
|
|
7044
|
-
}
|
|
7045
7014
|
/**
|
|
7046
7015
|
*
|
|
7047
7016
|
*
|
|
@@ -7079,10 +7048,41 @@ export interface SingleCondition5 {
|
|
|
7079
7048
|
*
|
|
7080
7049
|
*/
|
|
7081
7050
|
export interface CompositeCondition7 {
|
|
7082
|
-
conditions?: (
|
|
7051
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
7083
7052
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7084
7053
|
[k: string]: unknown;
|
|
7085
7054
|
}
|
|
7055
|
+
/**
|
|
7056
|
+
*
|
|
7057
|
+
*
|
|
7058
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7059
|
+
* [Conditions](../../conditions/) for more information.
|
|
7060
|
+
*
|
|
7061
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7062
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7063
|
+
*
|
|
7064
|
+
* <h3>Example</h3>
|
|
7065
|
+
*
|
|
7066
|
+
*
|
|
7067
|
+
*
|
|
7068
|
+
*
|
|
7069
|
+
*
|
|
7070
|
+
* {
|
|
7071
|
+
* "condition": "user_is_logged_in",
|
|
7072
|
+
* "invert": false
|
|
7073
|
+
* }
|
|
7074
|
+
*
|
|
7075
|
+
*
|
|
7076
|
+
*
|
|
7077
|
+
*/
|
|
7078
|
+
export interface SingleCondition5 {
|
|
7079
|
+
condition: string;
|
|
7080
|
+
invert?: boolean;
|
|
7081
|
+
params?: {
|
|
7082
|
+
[k: string]: unknown;
|
|
7083
|
+
};
|
|
7084
|
+
[k: string]: unknown;
|
|
7085
|
+
}
|
|
7086
7086
|
/**
|
|
7087
7087
|
*
|
|
7088
7088
|
*
|
|
@@ -8502,7 +8502,7 @@ export interface I18NProperty74 {
|
|
|
8502
8502
|
*
|
|
8503
8503
|
*/
|
|
8504
8504
|
export interface MacroPropertyPanel {
|
|
8505
|
-
controls?: (
|
|
8505
|
+
controls?: (TextControl | ButtonControl | ToggleGroup | ControlGroup)[];
|
|
8506
8506
|
cacheable?: boolean;
|
|
8507
8507
|
url: string;
|
|
8508
8508
|
[k: string]: unknown;
|
|
@@ -8510,7 +8510,7 @@ export interface MacroPropertyPanel {
|
|
|
8510
8510
|
/**
|
|
8511
8511
|
*
|
|
8512
8512
|
*
|
|
8513
|
-
* Defines a
|
|
8513
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
8514
8514
|
*
|
|
8515
8515
|
* <p><b>Example</b></p>
|
|
8516
8516
|
*
|
|
@@ -8518,44 +8518,27 @@ export interface MacroPropertyPanel {
|
|
|
8518
8518
|
*
|
|
8519
8519
|
*
|
|
8520
8520
|
*
|
|
8521
|
-
*
|
|
8522
|
-
*
|
|
8523
|
-
*
|
|
8524
|
-
* "
|
|
8525
|
-
*
|
|
8526
|
-
*
|
|
8527
|
-
*
|
|
8528
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
8529
|
-
* "label": {
|
|
8530
|
-
* "value": "My Custom Control 0"
|
|
8531
|
-
* },
|
|
8532
|
-
* "key": "my-custom-toggle-button-0"
|
|
8533
|
-
* },
|
|
8534
|
-
* {
|
|
8535
|
-
* "type": "togglebutton",
|
|
8536
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
8537
|
-
* "label": {
|
|
8538
|
-
* "value": "My Custom Control 1"
|
|
8539
|
-
* },
|
|
8540
|
-
* "key": "my-custom-toggle-button-1"
|
|
8541
|
-
* }
|
|
8542
|
-
* ]
|
|
8543
|
-
* }
|
|
8544
|
-
* ]
|
|
8521
|
+
* {
|
|
8522
|
+
* "type": "button",
|
|
8523
|
+
* "label": {
|
|
8524
|
+
* "value": "My Custom Control 0"
|
|
8525
|
+
* },
|
|
8526
|
+
* "key": "my-custom-control-0"
|
|
8527
|
+
* }
|
|
8545
8528
|
*
|
|
8546
8529
|
*
|
|
8547
8530
|
*
|
|
8548
8531
|
*/
|
|
8549
|
-
export interface
|
|
8550
|
-
controls: ToggleButtonControl[];
|
|
8532
|
+
export interface TextControl {
|
|
8551
8533
|
macroParameter: string;
|
|
8552
|
-
type: '
|
|
8534
|
+
type: 'text' | 'TEXT';
|
|
8535
|
+
key: string;
|
|
8553
8536
|
[k: string]: unknown;
|
|
8554
8537
|
}
|
|
8555
8538
|
/**
|
|
8556
8539
|
*
|
|
8557
8540
|
*
|
|
8558
|
-
* Defines a
|
|
8541
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
8559
8542
|
*
|
|
8560
8543
|
* <p><b>Example</b></p>
|
|
8561
8544
|
*
|
|
@@ -8564,21 +8547,19 @@ export interface ToggleGroup {
|
|
|
8564
8547
|
*
|
|
8565
8548
|
*
|
|
8566
8549
|
* {
|
|
8567
|
-
* "type": "
|
|
8568
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
8550
|
+
* "type": "button",
|
|
8569
8551
|
* "label": {
|
|
8570
8552
|
* "value": "My Custom Control 0"
|
|
8571
8553
|
* },
|
|
8572
|
-
* "key": "my-custom-
|
|
8554
|
+
* "key": "my-custom-control-0"
|
|
8573
8555
|
* }
|
|
8574
8556
|
*
|
|
8575
8557
|
*
|
|
8576
8558
|
*
|
|
8577
8559
|
*/
|
|
8578
|
-
export interface
|
|
8579
|
-
macroParameterValue: string;
|
|
8560
|
+
export interface ButtonControl {
|
|
8580
8561
|
label: I18NProperty75;
|
|
8581
|
-
type: '
|
|
8562
|
+
type: 'button' | 'BUTTON';
|
|
8582
8563
|
key: string;
|
|
8583
8564
|
[k: string]: unknown;
|
|
8584
8565
|
}
|
|
@@ -8609,7 +8590,7 @@ export interface I18NProperty75 {
|
|
|
8609
8590
|
/**
|
|
8610
8591
|
*
|
|
8611
8592
|
*
|
|
8612
|
-
* Defines a
|
|
8593
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
8613
8594
|
*
|
|
8614
8595
|
* <p><b>Example</b></p>
|
|
8615
8596
|
*
|
|
@@ -8617,73 +8598,92 @@ export interface I18NProperty75 {
|
|
|
8617
8598
|
*
|
|
8618
8599
|
*
|
|
8619
8600
|
*
|
|
8620
|
-
*
|
|
8621
|
-
*
|
|
8622
|
-
*
|
|
8623
|
-
* "
|
|
8624
|
-
*
|
|
8625
|
-
*
|
|
8626
|
-
*
|
|
8601
|
+
* [
|
|
8602
|
+
* {
|
|
8603
|
+
* "type": "togglegroup",
|
|
8604
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
8605
|
+
* "controls": [
|
|
8606
|
+
* {
|
|
8607
|
+
* "type": "togglebutton",
|
|
8608
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
8609
|
+
* "label": {
|
|
8610
|
+
* "value": "My Custom Control 0"
|
|
8611
|
+
* },
|
|
8612
|
+
* "key": "my-custom-toggle-button-0"
|
|
8613
|
+
* },
|
|
8614
|
+
* {
|
|
8615
|
+
* "type": "togglebutton",
|
|
8616
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
8617
|
+
* "label": {
|
|
8618
|
+
* "value": "My Custom Control 1"
|
|
8619
|
+
* },
|
|
8620
|
+
* "key": "my-custom-toggle-button-1"
|
|
8621
|
+
* }
|
|
8622
|
+
* ]
|
|
8623
|
+
* }
|
|
8624
|
+
* ]
|
|
8627
8625
|
*
|
|
8628
8626
|
*
|
|
8629
8627
|
*
|
|
8630
8628
|
*/
|
|
8631
|
-
export interface
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8629
|
+
export interface ToggleGroup {
|
|
8630
|
+
controls: ToggleButtonControl[];
|
|
8631
|
+
macroParameter: string;
|
|
8632
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
8635
8633
|
[k: string]: unknown;
|
|
8636
8634
|
}
|
|
8637
8635
|
/**
|
|
8638
8636
|
*
|
|
8639
8637
|
*
|
|
8640
|
-
*
|
|
8641
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8638
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
8642
8639
|
*
|
|
8643
|
-
* <
|
|
8640
|
+
* <p><b>Example</b></p>
|
|
8644
8641
|
*
|
|
8645
8642
|
*
|
|
8646
8643
|
*
|
|
8647
8644
|
*
|
|
8648
8645
|
*
|
|
8649
8646
|
* {
|
|
8650
|
-
* "
|
|
8647
|
+
* "type": "togglebutton",
|
|
8648
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
8649
|
+
* "label": {
|
|
8650
|
+
* "value": "My Custom Control 0"
|
|
8651
|
+
* },
|
|
8652
|
+
* "key": "my-custom-toggle-button-0"
|
|
8651
8653
|
* }
|
|
8652
8654
|
*
|
|
8653
8655
|
*
|
|
8654
8656
|
*
|
|
8655
8657
|
*/
|
|
8656
|
-
export interface
|
|
8657
|
-
|
|
8658
|
-
|
|
8658
|
+
export interface ToggleButtonControl {
|
|
8659
|
+
macroParameterValue: string;
|
|
8660
|
+
label: I18NProperty76;
|
|
8661
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8662
|
+
key: string;
|
|
8659
8663
|
[k: string]: unknown;
|
|
8660
8664
|
}
|
|
8661
8665
|
/**
|
|
8662
8666
|
*
|
|
8663
8667
|
*
|
|
8664
|
-
*
|
|
8668
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8669
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8665
8670
|
*
|
|
8666
|
-
* <
|
|
8671
|
+
* <h3>Example</h3>
|
|
8667
8672
|
*
|
|
8668
8673
|
*
|
|
8669
8674
|
*
|
|
8670
8675
|
*
|
|
8671
8676
|
*
|
|
8672
8677
|
* {
|
|
8673
|
-
* "
|
|
8674
|
-
* "label": {
|
|
8675
|
-
* "value": "My Custom Control 0"
|
|
8676
|
-
* },
|
|
8677
|
-
* "key": "my-custom-control-0"
|
|
8678
|
+
* "value": "My text"
|
|
8678
8679
|
* }
|
|
8679
8680
|
*
|
|
8680
8681
|
*
|
|
8681
8682
|
*
|
|
8682
8683
|
*/
|
|
8683
|
-
export interface
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
key: string;
|
|
8684
|
+
export interface I18NProperty76 {
|
|
8685
|
+
value: string;
|
|
8686
|
+
i18n?: string;
|
|
8687
8687
|
[k: string]: unknown;
|
|
8688
8688
|
}
|
|
8689
8689
|
/**
|
|
@@ -29747,7 +29747,7 @@ export interface I18NProperty83 {
|
|
|
29747
29747
|
*
|
|
29748
29748
|
*/
|
|
29749
29749
|
export interface MacroPropertyPanel1 {
|
|
29750
|
-
controls?: (
|
|
29750
|
+
controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
|
|
29751
29751
|
cacheable?: boolean;
|
|
29752
29752
|
url: string;
|
|
29753
29753
|
[k: string]: unknown;
|
|
@@ -29755,7 +29755,7 @@ export interface MacroPropertyPanel1 {
|
|
|
29755
29755
|
/**
|
|
29756
29756
|
*
|
|
29757
29757
|
*
|
|
29758
|
-
* Defines a
|
|
29758
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
29759
29759
|
*
|
|
29760
29760
|
* <p><b>Example</b></p>
|
|
29761
29761
|
*
|
|
@@ -29763,34 +29763,21 @@ export interface MacroPropertyPanel1 {
|
|
|
29763
29763
|
*
|
|
29764
29764
|
*
|
|
29765
29765
|
*
|
|
29766
|
-
*
|
|
29767
|
-
*
|
|
29768
|
-
*
|
|
29769
|
-
* "
|
|
29770
|
-
*
|
|
29771
|
-
*
|
|
29772
|
-
*
|
|
29773
|
-
* "value": "My Custom Control 0"
|
|
29774
|
-
* },
|
|
29775
|
-
* "key": "my-custom-control-0"
|
|
29776
|
-
* },
|
|
29777
|
-
* {
|
|
29778
|
-
* "type": "button",
|
|
29779
|
-
* "label": {
|
|
29780
|
-
* "value": "My Custom Control 1"
|
|
29781
|
-
* },
|
|
29782
|
-
* "key": "my-custom-control-1"
|
|
29783
|
-
* }
|
|
29784
|
-
* ]
|
|
29785
|
-
* }
|
|
29786
|
-
* ]
|
|
29766
|
+
* {
|
|
29767
|
+
* "type": "button",
|
|
29768
|
+
* "label": {
|
|
29769
|
+
* "value": "My Custom Control 0"
|
|
29770
|
+
* },
|
|
29771
|
+
* "key": "my-custom-control-0"
|
|
29772
|
+
* }
|
|
29787
29773
|
*
|
|
29788
29774
|
*
|
|
29789
29775
|
*
|
|
29790
29776
|
*/
|
|
29791
|
-
export interface
|
|
29792
|
-
|
|
29793
|
-
type: '
|
|
29777
|
+
export interface TextControl1 {
|
|
29778
|
+
macroParameter: string;
|
|
29779
|
+
type: 'text' | 'TEXT';
|
|
29780
|
+
key: string;
|
|
29794
29781
|
[k: string]: unknown;
|
|
29795
29782
|
}
|
|
29796
29783
|
/**
|
|
@@ -29848,7 +29835,7 @@ export interface I18NProperty84 {
|
|
|
29848
29835
|
/**
|
|
29849
29836
|
*
|
|
29850
29837
|
*
|
|
29851
|
-
* Defines a
|
|
29838
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
29852
29839
|
*
|
|
29853
29840
|
* <p><b>Example</b></p>
|
|
29854
29841
|
*
|
|
@@ -29858,24 +29845,21 @@ export interface I18NProperty84 {
|
|
|
29858
29845
|
*
|
|
29859
29846
|
* [
|
|
29860
29847
|
* {
|
|
29861
|
-
* "type": "
|
|
29862
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
29848
|
+
* "type": "group",
|
|
29863
29849
|
* "controls": [
|
|
29864
29850
|
* {
|
|
29865
|
-
* "type": "
|
|
29866
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
29851
|
+
* "type": "button",
|
|
29867
29852
|
* "label": {
|
|
29868
29853
|
* "value": "My Custom Control 0"
|
|
29869
29854
|
* },
|
|
29870
|
-
* "key": "my-custom-
|
|
29855
|
+
* "key": "my-custom-control-0"
|
|
29871
29856
|
* },
|
|
29872
29857
|
* {
|
|
29873
|
-
* "type": "
|
|
29874
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
29858
|
+
* "type": "button",
|
|
29875
29859
|
* "label": {
|
|
29876
29860
|
* "value": "My Custom Control 1"
|
|
29877
29861
|
* },
|
|
29878
|
-
* "key": "my-custom-
|
|
29862
|
+
* "key": "my-custom-control-1"
|
|
29879
29863
|
* }
|
|
29880
29864
|
* ]
|
|
29881
29865
|
* }
|
|
@@ -29884,16 +29868,15 @@ export interface I18NProperty84 {
|
|
|
29884
29868
|
*
|
|
29885
29869
|
*
|
|
29886
29870
|
*/
|
|
29887
|
-
export interface
|
|
29888
|
-
controls:
|
|
29889
|
-
|
|
29890
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
29871
|
+
export interface ControlGroup1 {
|
|
29872
|
+
controls: ButtonControl3[];
|
|
29873
|
+
type: 'group' | 'GROUP';
|
|
29891
29874
|
[k: string]: unknown;
|
|
29892
29875
|
}
|
|
29893
29876
|
/**
|
|
29894
29877
|
*
|
|
29895
29878
|
*
|
|
29896
|
-
* Defines a
|
|
29879
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
29897
29880
|
*
|
|
29898
29881
|
* <p><b>Example</b></p>
|
|
29899
29882
|
*
|
|
@@ -29902,21 +29885,19 @@ export interface ToggleGroup1 {
|
|
|
29902
29885
|
*
|
|
29903
29886
|
*
|
|
29904
29887
|
* {
|
|
29905
|
-
* "type": "
|
|
29906
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
29888
|
+
* "type": "button",
|
|
29907
29889
|
* "label": {
|
|
29908
29890
|
* "value": "My Custom Control 0"
|
|
29909
29891
|
* },
|
|
29910
|
-
* "key": "my-custom-
|
|
29892
|
+
* "key": "my-custom-control-0"
|
|
29911
29893
|
* }
|
|
29912
29894
|
*
|
|
29913
29895
|
*
|
|
29914
29896
|
*
|
|
29915
29897
|
*/
|
|
29916
|
-
export interface
|
|
29917
|
-
macroParameterValue: string;
|
|
29898
|
+
export interface ButtonControl3 {
|
|
29918
29899
|
label: I18NProperty85;
|
|
29919
|
-
type: '
|
|
29900
|
+
type: 'button' | 'BUTTON';
|
|
29920
29901
|
key: string;
|
|
29921
29902
|
[k: string]: unknown;
|
|
29922
29903
|
}
|
|
@@ -29947,7 +29928,7 @@ export interface I18NProperty85 {
|
|
|
29947
29928
|
/**
|
|
29948
29929
|
*
|
|
29949
29930
|
*
|
|
29950
|
-
* Defines a
|
|
29931
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
29951
29932
|
*
|
|
29952
29933
|
* <p><b>Example</b></p>
|
|
29953
29934
|
*
|
|
@@ -29955,27 +29936,44 @@ export interface I18NProperty85 {
|
|
|
29955
29936
|
*
|
|
29956
29937
|
*
|
|
29957
29938
|
*
|
|
29958
|
-
*
|
|
29959
|
-
*
|
|
29960
|
-
*
|
|
29961
|
-
* "
|
|
29962
|
-
*
|
|
29963
|
-
*
|
|
29964
|
-
*
|
|
29939
|
+
* [
|
|
29940
|
+
* {
|
|
29941
|
+
* "type": "togglegroup",
|
|
29942
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
29943
|
+
* "controls": [
|
|
29944
|
+
* {
|
|
29945
|
+
* "type": "togglebutton",
|
|
29946
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29947
|
+
* "label": {
|
|
29948
|
+
* "value": "My Custom Control 0"
|
|
29949
|
+
* },
|
|
29950
|
+
* "key": "my-custom-toggle-button-0"
|
|
29951
|
+
* },
|
|
29952
|
+
* {
|
|
29953
|
+
* "type": "togglebutton",
|
|
29954
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
29955
|
+
* "label": {
|
|
29956
|
+
* "value": "My Custom Control 1"
|
|
29957
|
+
* },
|
|
29958
|
+
* "key": "my-custom-toggle-button-1"
|
|
29959
|
+
* }
|
|
29960
|
+
* ]
|
|
29961
|
+
* }
|
|
29962
|
+
* ]
|
|
29965
29963
|
*
|
|
29966
29964
|
*
|
|
29967
29965
|
*
|
|
29968
29966
|
*/
|
|
29969
|
-
export interface
|
|
29967
|
+
export interface ToggleGroup1 {
|
|
29968
|
+
controls: ToggleButtonControl1[];
|
|
29970
29969
|
macroParameter: string;
|
|
29971
|
-
type: '
|
|
29972
|
-
key: string;
|
|
29970
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
29973
29971
|
[k: string]: unknown;
|
|
29974
29972
|
}
|
|
29975
29973
|
/**
|
|
29976
29974
|
*
|
|
29977
29975
|
*
|
|
29978
|
-
* Defines a button which
|
|
29976
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
29979
29977
|
*
|
|
29980
29978
|
* <p><b>Example</b></p>
|
|
29981
29979
|
*
|
|
@@ -29984,19 +29982,21 @@ export interface TextControl1 {
|
|
|
29984
29982
|
*
|
|
29985
29983
|
*
|
|
29986
29984
|
* {
|
|
29987
|
-
* "type": "
|
|
29985
|
+
* "type": "togglebutton",
|
|
29986
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29988
29987
|
* "label": {
|
|
29989
29988
|
* "value": "My Custom Control 0"
|
|
29990
29989
|
* },
|
|
29991
|
-
* "key": "my-custom-
|
|
29990
|
+
* "key": "my-custom-toggle-button-0"
|
|
29992
29991
|
* }
|
|
29993
29992
|
*
|
|
29994
29993
|
*
|
|
29995
29994
|
*
|
|
29996
29995
|
*/
|
|
29997
|
-
export interface
|
|
29996
|
+
export interface ToggleButtonControl1 {
|
|
29997
|
+
macroParameterValue: string;
|
|
29998
29998
|
label: I18NProperty86;
|
|
29999
|
-
type: '
|
|
29999
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
30000
30000
|
key: string;
|
|
30001
30001
|
[k: string]: unknown;
|
|
30002
30002
|
}
|
|
@@ -50873,10 +50873,74 @@ export interface I18NProperty91 {
|
|
|
50873
50873
|
*
|
|
50874
50874
|
*/
|
|
50875
50875
|
export interface WebItemTarget2 {
|
|
50876
|
-
options?:
|
|
50876
|
+
options?: InlineDialogOptions2 | DialogModuleOptions2 | DialogOptions4;
|
|
50877
50877
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
50878
50878
|
[k: string]: unknown;
|
|
50879
50879
|
}
|
|
50880
|
+
/**
|
|
50881
|
+
*
|
|
50882
|
+
*
|
|
50883
|
+
* Options for an inline dialog target
|
|
50884
|
+
*
|
|
50885
|
+
* <h3>Example</h3>
|
|
50886
|
+
*
|
|
50887
|
+
*
|
|
50888
|
+
*
|
|
50889
|
+
*
|
|
50890
|
+
*
|
|
50891
|
+
* {
|
|
50892
|
+
* "target": {
|
|
50893
|
+
* "type": "inlinedialog",
|
|
50894
|
+
* "options": {
|
|
50895
|
+
* "onHover": true,
|
|
50896
|
+
* "offsetX": "30px",
|
|
50897
|
+
* "offsetY": "20px"
|
|
50898
|
+
* }
|
|
50899
|
+
* }
|
|
50900
|
+
* }
|
|
50901
|
+
*
|
|
50902
|
+
*
|
|
50903
|
+
*
|
|
50904
|
+
*/
|
|
50905
|
+
export interface InlineDialogOptions2 {
|
|
50906
|
+
offsetX?: string;
|
|
50907
|
+
offsetY?: string;
|
|
50908
|
+
width?: string;
|
|
50909
|
+
onTop?: boolean;
|
|
50910
|
+
showDelay?: number;
|
|
50911
|
+
closeOthers?: boolean;
|
|
50912
|
+
persistent?: boolean;
|
|
50913
|
+
onHover?: boolean;
|
|
50914
|
+
isRelativeToMouse?: boolean;
|
|
50915
|
+
[k: string]: unknown;
|
|
50916
|
+
}
|
|
50917
|
+
/**
|
|
50918
|
+
*
|
|
50919
|
+
*
|
|
50920
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50921
|
+
*
|
|
50922
|
+
* <h3>Example</h3>
|
|
50923
|
+
*
|
|
50924
|
+
*
|
|
50925
|
+
*
|
|
50926
|
+
*
|
|
50927
|
+
*
|
|
50928
|
+
* {
|
|
50929
|
+
* "target": {
|
|
50930
|
+
* "type": "dialogmodule",
|
|
50931
|
+
* "options": {
|
|
50932
|
+
* "key": "dialog-module-key"
|
|
50933
|
+
* }
|
|
50934
|
+
* }
|
|
50935
|
+
* }
|
|
50936
|
+
*
|
|
50937
|
+
*
|
|
50938
|
+
*
|
|
50939
|
+
*/
|
|
50940
|
+
export interface DialogModuleOptions2 {
|
|
50941
|
+
key: string;
|
|
50942
|
+
[k: string]: unknown;
|
|
50943
|
+
}
|
|
50880
50944
|
/**
|
|
50881
50945
|
*
|
|
50882
50946
|
*
|
|
@@ -50975,70 +51039,6 @@ export interface I18NProperty92 {
|
|
|
50975
51039
|
i18n?: string;
|
|
50976
51040
|
[k: string]: unknown;
|
|
50977
51041
|
}
|
|
50978
|
-
/**
|
|
50979
|
-
*
|
|
50980
|
-
*
|
|
50981
|
-
* Options for an inline dialog target
|
|
50982
|
-
*
|
|
50983
|
-
* <h3>Example</h3>
|
|
50984
|
-
*
|
|
50985
|
-
*
|
|
50986
|
-
*
|
|
50987
|
-
*
|
|
50988
|
-
*
|
|
50989
|
-
* {
|
|
50990
|
-
* "target": {
|
|
50991
|
-
* "type": "inlinedialog",
|
|
50992
|
-
* "options": {
|
|
50993
|
-
* "onHover": true,
|
|
50994
|
-
* "offsetX": "30px",
|
|
50995
|
-
* "offsetY": "20px"
|
|
50996
|
-
* }
|
|
50997
|
-
* }
|
|
50998
|
-
* }
|
|
50999
|
-
*
|
|
51000
|
-
*
|
|
51001
|
-
*
|
|
51002
|
-
*/
|
|
51003
|
-
export interface InlineDialogOptions2 {
|
|
51004
|
-
offsetX?: string;
|
|
51005
|
-
offsetY?: string;
|
|
51006
|
-
width?: string;
|
|
51007
|
-
onTop?: boolean;
|
|
51008
|
-
showDelay?: number;
|
|
51009
|
-
closeOthers?: boolean;
|
|
51010
|
-
persistent?: boolean;
|
|
51011
|
-
onHover?: boolean;
|
|
51012
|
-
isRelativeToMouse?: boolean;
|
|
51013
|
-
[k: string]: unknown;
|
|
51014
|
-
}
|
|
51015
|
-
/**
|
|
51016
|
-
*
|
|
51017
|
-
*
|
|
51018
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
51019
|
-
*
|
|
51020
|
-
* <h3>Example</h3>
|
|
51021
|
-
*
|
|
51022
|
-
*
|
|
51023
|
-
*
|
|
51024
|
-
*
|
|
51025
|
-
*
|
|
51026
|
-
* {
|
|
51027
|
-
* "target": {
|
|
51028
|
-
* "type": "dialogmodule",
|
|
51029
|
-
* "options": {
|
|
51030
|
-
* "key": "dialog-module-key"
|
|
51031
|
-
* }
|
|
51032
|
-
* }
|
|
51033
|
-
* }
|
|
51034
|
-
*
|
|
51035
|
-
*
|
|
51036
|
-
*
|
|
51037
|
-
*/
|
|
51038
|
-
export interface DialogModuleOptions2 {
|
|
51039
|
-
key: string;
|
|
51040
|
-
[k: string]: unknown;
|
|
51041
|
-
}
|
|
51042
51042
|
/**
|
|
51043
51043
|
*
|
|
51044
51044
|
*
|