@forge/manifest 3.1.0-next.7 → 3.1.0-next.8
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 +175 -175
- package/out/schema/manifest.d.ts +200 -200
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6205,10 +6205,10 @@
|
|
|
6205
6205
|
"type": "object",
|
|
6206
6206
|
"anyOf": [
|
|
6207
6207
|
{
|
|
6208
|
-
"$ref": "#/definitions/
|
|
6208
|
+
"$ref": "#/definitions/singleCondition"
|
|
6209
6209
|
},
|
|
6210
6210
|
{
|
|
6211
|
-
"$ref": "#/definitions/
|
|
6211
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6212
6212
|
}
|
|
6213
6213
|
]
|
|
6214
6214
|
},
|
|
@@ -6276,10 +6276,10 @@
|
|
|
6276
6276
|
"type": "object",
|
|
6277
6277
|
"anyOf": [
|
|
6278
6278
|
{
|
|
6279
|
-
"$ref": "#/definitions/
|
|
6279
|
+
"$ref": "#/definitions/singleCondition"
|
|
6280
6280
|
},
|
|
6281
6281
|
{
|
|
6282
|
-
"$ref": "#/definitions/
|
|
6282
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6283
6283
|
}
|
|
6284
6284
|
]
|
|
6285
6285
|
},
|
|
@@ -6331,10 +6331,10 @@
|
|
|
6331
6331
|
"type": "object",
|
|
6332
6332
|
"anyOf": [
|
|
6333
6333
|
{
|
|
6334
|
-
"$ref": "#/definitions/
|
|
6334
|
+
"$ref": "#/definitions/singleCondition"
|
|
6335
6335
|
},
|
|
6336
6336
|
{
|
|
6337
|
-
"$ref": "#/definitions/
|
|
6337
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6338
6338
|
}
|
|
6339
6339
|
]
|
|
6340
6340
|
},
|
|
@@ -6747,33 +6747,6 @@
|
|
|
6747
6747
|
"items": {
|
|
6748
6748
|
"type": "object",
|
|
6749
6749
|
"anyOf": [
|
|
6750
|
-
{
|
|
6751
|
-
"properties": {
|
|
6752
|
-
"condition": {
|
|
6753
|
-
"maxLength": 100,
|
|
6754
|
-
"type": "string",
|
|
6755
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6756
|
-
},
|
|
6757
|
-
"invert": {
|
|
6758
|
-
"type": "boolean",
|
|
6759
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6760
|
-
"defaultValue": "false"
|
|
6761
|
-
},
|
|
6762
|
-
"params": {
|
|
6763
|
-
"additionalProperties": true,
|
|
6764
|
-
"type": "object",
|
|
6765
|
-
"fieldTitle": "Object",
|
|
6766
|
-
"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"
|
|
6767
|
-
}
|
|
6768
|
-
},
|
|
6769
|
-
"required": [
|
|
6770
|
-
"condition"
|
|
6771
|
-
],
|
|
6772
|
-
"shortClassName": "singleConditionBean",
|
|
6773
|
-
"type": "object",
|
|
6774
|
-
"title": "Single Condition",
|
|
6775
|
-
"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"
|
|
6776
|
-
},
|
|
6777
6750
|
{
|
|
6778
6751
|
"properties": {
|
|
6779
6752
|
"conditions": {
|
|
@@ -6806,6 +6779,33 @@
|
|
|
6806
6779
|
"type": "object",
|
|
6807
6780
|
"title": "Composite Condition",
|
|
6808
6781
|
"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"
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
"properties": {
|
|
6785
|
+
"condition": {
|
|
6786
|
+
"maxLength": 100,
|
|
6787
|
+
"type": "string",
|
|
6788
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6789
|
+
},
|
|
6790
|
+
"invert": {
|
|
6791
|
+
"type": "boolean",
|
|
6792
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6793
|
+
"defaultValue": "false"
|
|
6794
|
+
},
|
|
6795
|
+
"params": {
|
|
6796
|
+
"additionalProperties": true,
|
|
6797
|
+
"type": "object",
|
|
6798
|
+
"fieldTitle": "Object",
|
|
6799
|
+
"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"
|
|
6800
|
+
}
|
|
6801
|
+
},
|
|
6802
|
+
"required": [
|
|
6803
|
+
"condition"
|
|
6804
|
+
],
|
|
6805
|
+
"shortClassName": "singleConditionBean",
|
|
6806
|
+
"type": "object",
|
|
6807
|
+
"title": "Single Condition",
|
|
6808
|
+
"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"
|
|
6809
6809
|
}
|
|
6810
6810
|
]
|
|
6811
6811
|
},
|
|
@@ -6859,10 +6859,10 @@
|
|
|
6859
6859
|
"type": "object",
|
|
6860
6860
|
"anyOf": [
|
|
6861
6861
|
{
|
|
6862
|
-
"$ref": "#/definitions/
|
|
6862
|
+
"$ref": "#/definitions/singleCondition"
|
|
6863
6863
|
},
|
|
6864
6864
|
{
|
|
6865
|
-
"$ref": "#/definitions/
|
|
6865
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6866
6866
|
}
|
|
6867
6867
|
]
|
|
6868
6868
|
},
|
|
@@ -7010,6 +7010,33 @@
|
|
|
7010
7010
|
"items": {
|
|
7011
7011
|
"type": "object",
|
|
7012
7012
|
"anyOf": [
|
|
7013
|
+
{
|
|
7014
|
+
"properties": {
|
|
7015
|
+
"condition": {
|
|
7016
|
+
"maxLength": 100,
|
|
7017
|
+
"type": "string",
|
|
7018
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7019
|
+
},
|
|
7020
|
+
"invert": {
|
|
7021
|
+
"type": "boolean",
|
|
7022
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7023
|
+
"defaultValue": "false"
|
|
7024
|
+
},
|
|
7025
|
+
"params": {
|
|
7026
|
+
"additionalProperties": true,
|
|
7027
|
+
"type": "object",
|
|
7028
|
+
"fieldTitle": "Object",
|
|
7029
|
+
"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"
|
|
7030
|
+
}
|
|
7031
|
+
},
|
|
7032
|
+
"required": [
|
|
7033
|
+
"condition"
|
|
7034
|
+
],
|
|
7035
|
+
"shortClassName": "singleConditionBean",
|
|
7036
|
+
"type": "object",
|
|
7037
|
+
"title": "Single Condition",
|
|
7038
|
+
"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"
|
|
7039
|
+
},
|
|
7013
7040
|
{
|
|
7014
7041
|
"properties": {
|
|
7015
7042
|
"conditions": {
|
|
@@ -7042,33 +7069,6 @@
|
|
|
7042
7069
|
"type": "object",
|
|
7043
7070
|
"title": "Composite Condition",
|
|
7044
7071
|
"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"
|
|
7045
|
-
},
|
|
7046
|
-
{
|
|
7047
|
-
"properties": {
|
|
7048
|
-
"condition": {
|
|
7049
|
-
"maxLength": 100,
|
|
7050
|
-
"type": "string",
|
|
7051
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7052
|
-
},
|
|
7053
|
-
"invert": {
|
|
7054
|
-
"type": "boolean",
|
|
7055
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7056
|
-
"defaultValue": "false"
|
|
7057
|
-
},
|
|
7058
|
-
"params": {
|
|
7059
|
-
"additionalProperties": true,
|
|
7060
|
-
"type": "object",
|
|
7061
|
-
"fieldTitle": "Object",
|
|
7062
|
-
"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"
|
|
7063
|
-
}
|
|
7064
|
-
},
|
|
7065
|
-
"required": [
|
|
7066
|
-
"condition"
|
|
7067
|
-
],
|
|
7068
|
-
"shortClassName": "singleConditionBean",
|
|
7069
|
-
"type": "object",
|
|
7070
|
-
"title": "Single Condition",
|
|
7071
|
-
"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"
|
|
7072
7072
|
}
|
|
7073
7073
|
]
|
|
7074
7074
|
},
|
|
@@ -7342,38 +7342,6 @@
|
|
|
7342
7342
|
"items": {
|
|
7343
7343
|
"type": "object",
|
|
7344
7344
|
"anyOf": [
|
|
7345
|
-
{
|
|
7346
|
-
"properties": {
|
|
7347
|
-
"label": {
|
|
7348
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7349
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7350
|
-
},
|
|
7351
|
-
"type": {
|
|
7352
|
-
"enum": [
|
|
7353
|
-
"button",
|
|
7354
|
-
"BUTTON"
|
|
7355
|
-
],
|
|
7356
|
-
"type": "string",
|
|
7357
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7358
|
-
},
|
|
7359
|
-
"key": {
|
|
7360
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7361
|
-
"maxLength": 100,
|
|
7362
|
-
"type": "string",
|
|
7363
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7364
|
-
}
|
|
7365
|
-
},
|
|
7366
|
-
"required": [
|
|
7367
|
-
"label",
|
|
7368
|
-
"type",
|
|
7369
|
-
"key"
|
|
7370
|
-
],
|
|
7371
|
-
"additionalProperties": true,
|
|
7372
|
-
"shortClassName": "buttonControlBean",
|
|
7373
|
-
"type": "object",
|
|
7374
|
-
"title": "ButtonControl",
|
|
7375
|
-
"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"
|
|
7376
|
-
},
|
|
7377
7345
|
{
|
|
7378
7346
|
"properties": {
|
|
7379
7347
|
"controls": {
|
|
@@ -7430,6 +7398,38 @@
|
|
|
7430
7398
|
"title": "ControlGroup",
|
|
7431
7399
|
"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"
|
|
7432
7400
|
},
|
|
7401
|
+
{
|
|
7402
|
+
"properties": {
|
|
7403
|
+
"macroParameter": {
|
|
7404
|
+
"maxLength": 100,
|
|
7405
|
+
"type": "string",
|
|
7406
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7407
|
+
},
|
|
7408
|
+
"type": {
|
|
7409
|
+
"enum": [
|
|
7410
|
+
"text",
|
|
7411
|
+
"TEXT"
|
|
7412
|
+
],
|
|
7413
|
+
"type": "string",
|
|
7414
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7415
|
+
},
|
|
7416
|
+
"key": {
|
|
7417
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7418
|
+
"maxLength": 100,
|
|
7419
|
+
"type": "string",
|
|
7420
|
+
"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"
|
|
7421
|
+
}
|
|
7422
|
+
},
|
|
7423
|
+
"required": [
|
|
7424
|
+
"macroParameter",
|
|
7425
|
+
"type",
|
|
7426
|
+
"key"
|
|
7427
|
+
],
|
|
7428
|
+
"shortClassName": "textControlBean",
|
|
7429
|
+
"type": "object",
|
|
7430
|
+
"title": "TextControl",
|
|
7431
|
+
"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"
|
|
7432
|
+
},
|
|
7433
7433
|
{
|
|
7434
7434
|
"properties": {
|
|
7435
7435
|
"controls": {
|
|
@@ -7501,35 +7501,35 @@
|
|
|
7501
7501
|
},
|
|
7502
7502
|
{
|
|
7503
7503
|
"properties": {
|
|
7504
|
-
"
|
|
7505
|
-
"
|
|
7506
|
-
"
|
|
7507
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7504
|
+
"label": {
|
|
7505
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7506
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7508
7507
|
},
|
|
7509
7508
|
"type": {
|
|
7510
7509
|
"enum": [
|
|
7511
|
-
"
|
|
7512
|
-
"
|
|
7510
|
+
"button",
|
|
7511
|
+
"BUTTON"
|
|
7513
7512
|
],
|
|
7514
7513
|
"type": "string",
|
|
7515
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7514
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7516
7515
|
},
|
|
7517
7516
|
"key": {
|
|
7518
7517
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7519
7518
|
"maxLength": 100,
|
|
7520
7519
|
"type": "string",
|
|
7521
|
-
"fieldDescription": "\n\nA key to identify
|
|
7520
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7522
7521
|
}
|
|
7523
7522
|
},
|
|
7524
7523
|
"required": [
|
|
7525
|
-
"
|
|
7524
|
+
"label",
|
|
7526
7525
|
"type",
|
|
7527
7526
|
"key"
|
|
7528
7527
|
],
|
|
7529
|
-
"
|
|
7528
|
+
"additionalProperties": true,
|
|
7529
|
+
"shortClassName": "buttonControlBean",
|
|
7530
7530
|
"type": "object",
|
|
7531
|
-
"title": "
|
|
7532
|
-
"description": "\n\nDefines a
|
|
7531
|
+
"title": "ButtonControl",
|
|
7532
|
+
"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"
|
|
7533
7533
|
}
|
|
7534
7534
|
]
|
|
7535
7535
|
},
|
|
@@ -7824,6 +7824,75 @@
|
|
|
7824
7824
|
"items": {
|
|
7825
7825
|
"type": "object",
|
|
7826
7826
|
"anyOf": [
|
|
7827
|
+
{
|
|
7828
|
+
"properties": {
|
|
7829
|
+
"controls": {
|
|
7830
|
+
"items": {
|
|
7831
|
+
"properties": {
|
|
7832
|
+
"macroParameterValue": {
|
|
7833
|
+
"maxLength": 10000,
|
|
7834
|
+
"type": "string",
|
|
7835
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7836
|
+
},
|
|
7837
|
+
"label": {
|
|
7838
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7839
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7840
|
+
},
|
|
7841
|
+
"type": {
|
|
7842
|
+
"enum": [
|
|
7843
|
+
"togglebutton",
|
|
7844
|
+
"TOGGLEBUTTON"
|
|
7845
|
+
],
|
|
7846
|
+
"type": "string",
|
|
7847
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7848
|
+
},
|
|
7849
|
+
"key": {
|
|
7850
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7851
|
+
"maxLength": 100,
|
|
7852
|
+
"type": "string",
|
|
7853
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7854
|
+
}
|
|
7855
|
+
},
|
|
7856
|
+
"required": [
|
|
7857
|
+
"macroParameterValue",
|
|
7858
|
+
"label",
|
|
7859
|
+
"type",
|
|
7860
|
+
"key"
|
|
7861
|
+
],
|
|
7862
|
+
"additionalProperties": true,
|
|
7863
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
7864
|
+
"type": "object",
|
|
7865
|
+
"title": "ToggleButtonControl",
|
|
7866
|
+
"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"
|
|
7867
|
+
},
|
|
7868
|
+
"type": "array",
|
|
7869
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7870
|
+
},
|
|
7871
|
+
"macroParameter": {
|
|
7872
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7873
|
+
"maxLength": 100,
|
|
7874
|
+
"type": "string",
|
|
7875
|
+
"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"
|
|
7876
|
+
},
|
|
7877
|
+
"type": {
|
|
7878
|
+
"enum": [
|
|
7879
|
+
"togglegroup",
|
|
7880
|
+
"TOGGLEGROUP"
|
|
7881
|
+
],
|
|
7882
|
+
"type": "string",
|
|
7883
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7884
|
+
}
|
|
7885
|
+
},
|
|
7886
|
+
"required": [
|
|
7887
|
+
"controls",
|
|
7888
|
+
"macroParameter",
|
|
7889
|
+
"type"
|
|
7890
|
+
],
|
|
7891
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7892
|
+
"type": "object",
|
|
7893
|
+
"title": "ToggleGroup",
|
|
7894
|
+
"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"
|
|
7895
|
+
},
|
|
7827
7896
|
{
|
|
7828
7897
|
"properties": {
|
|
7829
7898
|
"macroParameter": {
|
|
@@ -7943,75 +8012,6 @@
|
|
|
7943
8012
|
"type": "object",
|
|
7944
8013
|
"title": "ControlGroup",
|
|
7945
8014
|
"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"
|
|
7946
|
-
},
|
|
7947
|
-
{
|
|
7948
|
-
"properties": {
|
|
7949
|
-
"controls": {
|
|
7950
|
-
"items": {
|
|
7951
|
-
"properties": {
|
|
7952
|
-
"macroParameterValue": {
|
|
7953
|
-
"maxLength": 10000,
|
|
7954
|
-
"type": "string",
|
|
7955
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7956
|
-
},
|
|
7957
|
-
"label": {
|
|
7958
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7959
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7960
|
-
},
|
|
7961
|
-
"type": {
|
|
7962
|
-
"enum": [
|
|
7963
|
-
"togglebutton",
|
|
7964
|
-
"TOGGLEBUTTON"
|
|
7965
|
-
],
|
|
7966
|
-
"type": "string",
|
|
7967
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7968
|
-
},
|
|
7969
|
-
"key": {
|
|
7970
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7971
|
-
"maxLength": 100,
|
|
7972
|
-
"type": "string",
|
|
7973
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7974
|
-
}
|
|
7975
|
-
},
|
|
7976
|
-
"required": [
|
|
7977
|
-
"macroParameterValue",
|
|
7978
|
-
"label",
|
|
7979
|
-
"type",
|
|
7980
|
-
"key"
|
|
7981
|
-
],
|
|
7982
|
-
"additionalProperties": true,
|
|
7983
|
-
"shortClassName": "macroToggleButtonControlBean",
|
|
7984
|
-
"type": "object",
|
|
7985
|
-
"title": "ToggleButtonControl",
|
|
7986
|
-
"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"
|
|
7987
|
-
},
|
|
7988
|
-
"type": "array",
|
|
7989
|
-
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7990
|
-
},
|
|
7991
|
-
"macroParameter": {
|
|
7992
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
7993
|
-
"maxLength": 100,
|
|
7994
|
-
"type": "string",
|
|
7995
|
-
"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"
|
|
7996
|
-
},
|
|
7997
|
-
"type": {
|
|
7998
|
-
"enum": [
|
|
7999
|
-
"togglegroup",
|
|
8000
|
-
"TOGGLEGROUP"
|
|
8001
|
-
],
|
|
8002
|
-
"type": "string",
|
|
8003
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
8004
|
-
}
|
|
8005
|
-
},
|
|
8006
|
-
"required": [
|
|
8007
|
-
"controls",
|
|
8008
|
-
"macroParameter",
|
|
8009
|
-
"type"
|
|
8010
|
-
],
|
|
8011
|
-
"shortClassName": "macroToggleGroupBean",
|
|
8012
|
-
"type": "object",
|
|
8013
|
-
"title": "ToggleGroup",
|
|
8014
|
-
"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"
|
|
8015
8015
|
}
|
|
8016
8016
|
]
|
|
8017
8017
|
},
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -3036,7 +3036,7 @@ export interface Modules {
|
|
|
3036
3036
|
fullPage?: boolean;
|
|
3037
3037
|
cacheable?: boolean;
|
|
3038
3038
|
location?: string;
|
|
3039
|
-
conditions?: (
|
|
3039
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3040
3040
|
params?: {
|
|
3041
3041
|
[k: string]: unknown;
|
|
3042
3042
|
};
|
|
@@ -3051,7 +3051,7 @@ export interface Modules {
|
|
|
3051
3051
|
fullPage?: boolean;
|
|
3052
3052
|
cacheable?: boolean;
|
|
3053
3053
|
location?: string;
|
|
3054
|
-
conditions?: (
|
|
3054
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3055
3055
|
params?: {
|
|
3056
3056
|
[k: string]: unknown;
|
|
3057
3057
|
};
|
|
@@ -3069,7 +3069,7 @@ export interface Modules {
|
|
|
3069
3069
|
location?: string;
|
|
3070
3070
|
cacheable?: boolean;
|
|
3071
3071
|
supportsNative?: boolean;
|
|
3072
|
-
conditions?: (
|
|
3072
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3073
3073
|
params?: {
|
|
3074
3074
|
[k: string]: unknown;
|
|
3075
3075
|
};
|
|
@@ -3085,7 +3085,7 @@ export interface Modules {
|
|
|
3085
3085
|
location?: string;
|
|
3086
3086
|
cacheable?: boolean;
|
|
3087
3087
|
supportsNative?: boolean;
|
|
3088
|
-
conditions?: (
|
|
3088
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3089
3089
|
params?: {
|
|
3090
3090
|
[k: string]: unknown;
|
|
3091
3091
|
};
|
|
@@ -3099,7 +3099,7 @@ export interface Modules {
|
|
|
3099
3099
|
filter?: string;
|
|
3100
3100
|
excludeBody?: boolean;
|
|
3101
3101
|
event?: string;
|
|
3102
|
-
conditions?: (
|
|
3102
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3103
3103
|
propertyKeys?: string[];
|
|
3104
3104
|
url?: string;
|
|
3105
3105
|
key: ModuleKeySchema;
|
|
@@ -3109,7 +3109,7 @@ export interface Modules {
|
|
|
3109
3109
|
filter?: string;
|
|
3110
3110
|
excludeBody?: boolean;
|
|
3111
3111
|
event?: string;
|
|
3112
|
-
conditions?: (
|
|
3112
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3113
3113
|
propertyKeys?: string[];
|
|
3114
3114
|
url?: string;
|
|
3115
3115
|
key: ModuleKeySchema;
|
|
@@ -3217,7 +3217,7 @@ export interface Modules {
|
|
|
3217
3217
|
name?: I18NProperty59;
|
|
3218
3218
|
location?: string;
|
|
3219
3219
|
cacheable?: boolean;
|
|
3220
|
-
conditions?: (
|
|
3220
|
+
conditions?: (CompositeCondition6 | SingleCondition4)[];
|
|
3221
3221
|
key: ModuleKeySchema;
|
|
3222
3222
|
[k: string]: unknown;
|
|
3223
3223
|
},
|
|
@@ -3235,7 +3235,7 @@ export interface Modules {
|
|
|
3235
3235
|
name?: I18NProperty59;
|
|
3236
3236
|
location?: string;
|
|
3237
3237
|
cacheable?: boolean;
|
|
3238
|
-
conditions?: (
|
|
3238
|
+
conditions?: (CompositeCondition6 | SingleCondition4)[];
|
|
3239
3239
|
key: ModuleKeySchema;
|
|
3240
3240
|
[k: string]: unknown;
|
|
3241
3241
|
}[]
|
|
@@ -3248,7 +3248,7 @@ export interface Modules {
|
|
|
3248
3248
|
fullPage?: boolean;
|
|
3249
3249
|
cacheable?: boolean;
|
|
3250
3250
|
location?: string;
|
|
3251
|
-
conditions?: (
|
|
3251
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3252
3252
|
params?: {
|
|
3253
3253
|
[k: string]: unknown;
|
|
3254
3254
|
};
|
|
@@ -3263,7 +3263,7 @@ export interface Modules {
|
|
|
3263
3263
|
fullPage?: boolean;
|
|
3264
3264
|
cacheable?: boolean;
|
|
3265
3265
|
location?: string;
|
|
3266
|
-
conditions?: (
|
|
3266
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3267
3267
|
params?: {
|
|
3268
3268
|
[k: string]: unknown;
|
|
3269
3269
|
};
|
|
@@ -3313,7 +3313,7 @@ export interface Modules {
|
|
|
3313
3313
|
name?: I18NProperty63;
|
|
3314
3314
|
weight?: number;
|
|
3315
3315
|
location?: string;
|
|
3316
|
-
conditions?: (
|
|
3316
|
+
conditions?: (SingleCondition5 | CompositeCondition7)[];
|
|
3317
3317
|
params?: {
|
|
3318
3318
|
[k: string]: unknown;
|
|
3319
3319
|
};
|
|
@@ -3325,7 +3325,7 @@ export interface Modules {
|
|
|
3325
3325
|
name?: I18NProperty63;
|
|
3326
3326
|
weight?: number;
|
|
3327
3327
|
location?: string;
|
|
3328
|
-
conditions?: (
|
|
3328
|
+
conditions?: (SingleCondition5 | CompositeCondition7)[];
|
|
3329
3329
|
params?: {
|
|
3330
3330
|
[k: string]: unknown;
|
|
3331
3331
|
};
|
|
@@ -6654,37 +6654,6 @@ export interface I18NProperty59 {
|
|
|
6654
6654
|
i18n?: string;
|
|
6655
6655
|
[k: string]: unknown;
|
|
6656
6656
|
}
|
|
6657
|
-
/**
|
|
6658
|
-
*
|
|
6659
|
-
*
|
|
6660
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6661
|
-
* [Conditions](../../conditions/) for more information.
|
|
6662
|
-
*
|
|
6663
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6664
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6665
|
-
*
|
|
6666
|
-
* <h3>Example</h3>
|
|
6667
|
-
*
|
|
6668
|
-
*
|
|
6669
|
-
*
|
|
6670
|
-
*
|
|
6671
|
-
*
|
|
6672
|
-
* {
|
|
6673
|
-
* "condition": "user_is_logged_in",
|
|
6674
|
-
* "invert": false
|
|
6675
|
-
* }
|
|
6676
|
-
*
|
|
6677
|
-
*
|
|
6678
|
-
*
|
|
6679
|
-
*/
|
|
6680
|
-
export interface SingleCondition4 {
|
|
6681
|
-
condition: string;
|
|
6682
|
-
invert?: boolean;
|
|
6683
|
-
params?: {
|
|
6684
|
-
[k: string]: unknown;
|
|
6685
|
-
};
|
|
6686
|
-
[k: string]: unknown;
|
|
6687
|
-
}
|
|
6688
6657
|
/**
|
|
6689
6658
|
*
|
|
6690
6659
|
*
|
|
@@ -6726,6 +6695,37 @@ export interface CompositeCondition6 {
|
|
|
6726
6695
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6727
6696
|
[k: string]: unknown;
|
|
6728
6697
|
}
|
|
6698
|
+
/**
|
|
6699
|
+
*
|
|
6700
|
+
*
|
|
6701
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6702
|
+
* [Conditions](../../conditions/) for more information.
|
|
6703
|
+
*
|
|
6704
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6705
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6706
|
+
*
|
|
6707
|
+
* <h3>Example</h3>
|
|
6708
|
+
*
|
|
6709
|
+
*
|
|
6710
|
+
*
|
|
6711
|
+
*
|
|
6712
|
+
*
|
|
6713
|
+
* {
|
|
6714
|
+
* "condition": "user_is_logged_in",
|
|
6715
|
+
* "invert": false
|
|
6716
|
+
* }
|
|
6717
|
+
*
|
|
6718
|
+
*
|
|
6719
|
+
*
|
|
6720
|
+
*/
|
|
6721
|
+
export interface SingleCondition4 {
|
|
6722
|
+
condition: string;
|
|
6723
|
+
invert?: boolean;
|
|
6724
|
+
params?: {
|
|
6725
|
+
[k: string]: unknown;
|
|
6726
|
+
};
|
|
6727
|
+
[k: string]: unknown;
|
|
6728
|
+
}
|
|
6729
6729
|
/**
|
|
6730
6730
|
*
|
|
6731
6731
|
*
|
|
@@ -7080,6 +7080,37 @@ export interface I18NProperty63 {
|
|
|
7080
7080
|
i18n?: string;
|
|
7081
7081
|
[k: string]: unknown;
|
|
7082
7082
|
}
|
|
7083
|
+
/**
|
|
7084
|
+
*
|
|
7085
|
+
*
|
|
7086
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7087
|
+
* [Conditions](../../conditions/) for more information.
|
|
7088
|
+
*
|
|
7089
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7090
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7091
|
+
*
|
|
7092
|
+
* <h3>Example</h3>
|
|
7093
|
+
*
|
|
7094
|
+
*
|
|
7095
|
+
*
|
|
7096
|
+
*
|
|
7097
|
+
*
|
|
7098
|
+
* {
|
|
7099
|
+
* "condition": "user_is_logged_in",
|
|
7100
|
+
* "invert": false
|
|
7101
|
+
* }
|
|
7102
|
+
*
|
|
7103
|
+
*
|
|
7104
|
+
*
|
|
7105
|
+
*/
|
|
7106
|
+
export interface SingleCondition5 {
|
|
7107
|
+
condition: string;
|
|
7108
|
+
invert?: boolean;
|
|
7109
|
+
params?: {
|
|
7110
|
+
[k: string]: unknown;
|
|
7111
|
+
};
|
|
7112
|
+
[k: string]: unknown;
|
|
7113
|
+
}
|
|
7083
7114
|
/**
|
|
7084
7115
|
*
|
|
7085
7116
|
*
|
|
@@ -7121,37 +7152,6 @@ export interface CompositeCondition7 {
|
|
|
7121
7152
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7122
7153
|
[k: string]: unknown;
|
|
7123
7154
|
}
|
|
7124
|
-
/**
|
|
7125
|
-
*
|
|
7126
|
-
*
|
|
7127
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7128
|
-
* [Conditions](../../conditions/) for more information.
|
|
7129
|
-
*
|
|
7130
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7131
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7132
|
-
*
|
|
7133
|
-
* <h3>Example</h3>
|
|
7134
|
-
*
|
|
7135
|
-
*
|
|
7136
|
-
*
|
|
7137
|
-
*
|
|
7138
|
-
*
|
|
7139
|
-
* {
|
|
7140
|
-
* "condition": "user_is_logged_in",
|
|
7141
|
-
* "invert": false
|
|
7142
|
-
* }
|
|
7143
|
-
*
|
|
7144
|
-
*
|
|
7145
|
-
*
|
|
7146
|
-
*/
|
|
7147
|
-
export interface SingleCondition5 {
|
|
7148
|
-
condition: string;
|
|
7149
|
-
invert?: boolean;
|
|
7150
|
-
params?: {
|
|
7151
|
-
[k: string]: unknown;
|
|
7152
|
-
};
|
|
7153
|
-
[k: string]: unknown;
|
|
7154
|
-
}
|
|
7155
7155
|
/**
|
|
7156
7156
|
*
|
|
7157
7157
|
*
|
|
@@ -8571,63 +8571,11 @@ export interface I18NProperty74 {
|
|
|
8571
8571
|
*
|
|
8572
8572
|
*/
|
|
8573
8573
|
export interface MacroPropertyPanel {
|
|
8574
|
-
controls?: (
|
|
8574
|
+
controls?: (ControlGroup | TextControl | ToggleGroup | ButtonControl1)[];
|
|
8575
8575
|
cacheable?: boolean;
|
|
8576
8576
|
url: string;
|
|
8577
8577
|
[k: string]: unknown;
|
|
8578
8578
|
}
|
|
8579
|
-
/**
|
|
8580
|
-
*
|
|
8581
|
-
*
|
|
8582
|
-
* Defines a button which may appear in control extension points such as the property panel
|
|
8583
|
-
*
|
|
8584
|
-
* <p><b>Example</b></p>
|
|
8585
|
-
*
|
|
8586
|
-
*
|
|
8587
|
-
*
|
|
8588
|
-
*
|
|
8589
|
-
*
|
|
8590
|
-
* {
|
|
8591
|
-
* "type": "button",
|
|
8592
|
-
* "label": {
|
|
8593
|
-
* "value": "My Custom Control 0"
|
|
8594
|
-
* },
|
|
8595
|
-
* "key": "my-custom-control-0"
|
|
8596
|
-
* }
|
|
8597
|
-
*
|
|
8598
|
-
*
|
|
8599
|
-
*
|
|
8600
|
-
*/
|
|
8601
|
-
export interface ButtonControl {
|
|
8602
|
-
label: I18NProperty75;
|
|
8603
|
-
type: 'button' | 'BUTTON';
|
|
8604
|
-
key: string;
|
|
8605
|
-
[k: string]: unknown;
|
|
8606
|
-
}
|
|
8607
|
-
/**
|
|
8608
|
-
*
|
|
8609
|
-
*
|
|
8610
|
-
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8611
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8612
|
-
*
|
|
8613
|
-
* <h3>Example</h3>
|
|
8614
|
-
*
|
|
8615
|
-
*
|
|
8616
|
-
*
|
|
8617
|
-
*
|
|
8618
|
-
*
|
|
8619
|
-
* {
|
|
8620
|
-
* "value": "My text"
|
|
8621
|
-
* }
|
|
8622
|
-
*
|
|
8623
|
-
*
|
|
8624
|
-
*
|
|
8625
|
-
*/
|
|
8626
|
-
export interface I18NProperty75 {
|
|
8627
|
-
value: string;
|
|
8628
|
-
i18n?: string;
|
|
8629
|
-
[k: string]: unknown;
|
|
8630
|
-
}
|
|
8631
8579
|
/**
|
|
8632
8580
|
*
|
|
8633
8581
|
*
|
|
@@ -8665,7 +8613,7 @@ export interface I18NProperty75 {
|
|
|
8665
8613
|
*
|
|
8666
8614
|
*/
|
|
8667
8615
|
export interface ControlGroup {
|
|
8668
|
-
controls:
|
|
8616
|
+
controls: ButtonControl[];
|
|
8669
8617
|
type: 'group' | 'GROUP';
|
|
8670
8618
|
[k: string]: unknown;
|
|
8671
8619
|
}
|
|
@@ -8691,8 +8639,8 @@ export interface ControlGroup {
|
|
|
8691
8639
|
*
|
|
8692
8640
|
*
|
|
8693
8641
|
*/
|
|
8694
|
-
export interface
|
|
8695
|
-
label:
|
|
8642
|
+
export interface ButtonControl {
|
|
8643
|
+
label: I18NProperty75;
|
|
8696
8644
|
type: 'button' | 'BUTTON';
|
|
8697
8645
|
key: string;
|
|
8698
8646
|
[k: string]: unknown;
|
|
@@ -8716,11 +8664,39 @@ export interface ButtonControl1 {
|
|
|
8716
8664
|
*
|
|
8717
8665
|
*
|
|
8718
8666
|
*/
|
|
8719
|
-
export interface
|
|
8667
|
+
export interface I18NProperty75 {
|
|
8720
8668
|
value: string;
|
|
8721
8669
|
i18n?: string;
|
|
8722
8670
|
[k: string]: unknown;
|
|
8723
8671
|
}
|
|
8672
|
+
/**
|
|
8673
|
+
*
|
|
8674
|
+
*
|
|
8675
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
8676
|
+
*
|
|
8677
|
+
* <p><b>Example</b></p>
|
|
8678
|
+
*
|
|
8679
|
+
*
|
|
8680
|
+
*
|
|
8681
|
+
*
|
|
8682
|
+
*
|
|
8683
|
+
* {
|
|
8684
|
+
* "type": "button",
|
|
8685
|
+
* "label": {
|
|
8686
|
+
* "value": "My Custom Control 0"
|
|
8687
|
+
* },
|
|
8688
|
+
* "key": "my-custom-control-0"
|
|
8689
|
+
* }
|
|
8690
|
+
*
|
|
8691
|
+
*
|
|
8692
|
+
*
|
|
8693
|
+
*/
|
|
8694
|
+
export interface TextControl {
|
|
8695
|
+
macroParameter: string;
|
|
8696
|
+
type: 'text' | 'TEXT';
|
|
8697
|
+
key: string;
|
|
8698
|
+
[k: string]: unknown;
|
|
8699
|
+
}
|
|
8724
8700
|
/**
|
|
8725
8701
|
*
|
|
8726
8702
|
*
|
|
@@ -8791,7 +8767,7 @@ export interface ToggleGroup {
|
|
|
8791
8767
|
*/
|
|
8792
8768
|
export interface ToggleButtonControl {
|
|
8793
8769
|
macroParameterValue: string;
|
|
8794
|
-
label:
|
|
8770
|
+
label: I18NProperty76;
|
|
8795
8771
|
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8796
8772
|
key: string;
|
|
8797
8773
|
[k: string]: unknown;
|
|
@@ -8815,7 +8791,7 @@ export interface ToggleButtonControl {
|
|
|
8815
8791
|
*
|
|
8816
8792
|
*
|
|
8817
8793
|
*/
|
|
8818
|
-
export interface
|
|
8794
|
+
export interface I18NProperty76 {
|
|
8819
8795
|
value: string;
|
|
8820
8796
|
i18n?: string;
|
|
8821
8797
|
[k: string]: unknown;
|
|
@@ -8823,7 +8799,7 @@ export interface I18NProperty77 {
|
|
|
8823
8799
|
/**
|
|
8824
8800
|
*
|
|
8825
8801
|
*
|
|
8826
|
-
* Defines a
|
|
8802
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
8827
8803
|
*
|
|
8828
8804
|
* <p><b>Example</b></p>
|
|
8829
8805
|
*
|
|
@@ -8842,12 +8818,36 @@ export interface I18NProperty77 {
|
|
|
8842
8818
|
*
|
|
8843
8819
|
*
|
|
8844
8820
|
*/
|
|
8845
|
-
export interface
|
|
8846
|
-
|
|
8847
|
-
type: '
|
|
8821
|
+
export interface ButtonControl1 {
|
|
8822
|
+
label: I18NProperty77;
|
|
8823
|
+
type: 'button' | 'BUTTON';
|
|
8848
8824
|
key: string;
|
|
8849
8825
|
[k: string]: unknown;
|
|
8850
8826
|
}
|
|
8827
|
+
/**
|
|
8828
|
+
*
|
|
8829
|
+
*
|
|
8830
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8831
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8832
|
+
*
|
|
8833
|
+
* <h3>Example</h3>
|
|
8834
|
+
*
|
|
8835
|
+
*
|
|
8836
|
+
*
|
|
8837
|
+
*
|
|
8838
|
+
*
|
|
8839
|
+
* {
|
|
8840
|
+
* "value": "My text"
|
|
8841
|
+
* }
|
|
8842
|
+
*
|
|
8843
|
+
*
|
|
8844
|
+
*
|
|
8845
|
+
*/
|
|
8846
|
+
export interface I18NProperty77 {
|
|
8847
|
+
value: string;
|
|
8848
|
+
i18n?: string;
|
|
8849
|
+
[k: string]: unknown;
|
|
8850
|
+
}
|
|
8851
8851
|
/**
|
|
8852
8852
|
*
|
|
8853
8853
|
*
|
|
@@ -29816,7 +29816,7 @@ export interface I18NProperty83 {
|
|
|
29816
29816
|
*
|
|
29817
29817
|
*/
|
|
29818
29818
|
export interface MacroPropertyPanel1 {
|
|
29819
|
-
controls?: (TextControl1 | ButtonControl2 | ControlGroup1
|
|
29819
|
+
controls?: (ToggleGroup1 | TextControl1 | ButtonControl2 | ControlGroup1)[];
|
|
29820
29820
|
cacheable?: boolean;
|
|
29821
29821
|
url: string;
|
|
29822
29822
|
[k: string]: unknown;
|
|
@@ -29824,7 +29824,7 @@ export interface MacroPropertyPanel1 {
|
|
|
29824
29824
|
/**
|
|
29825
29825
|
*
|
|
29826
29826
|
*
|
|
29827
|
-
* Defines a
|
|
29827
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
29828
29828
|
*
|
|
29829
29829
|
* <p><b>Example</b></p>
|
|
29830
29830
|
*
|
|
@@ -29832,27 +29832,44 @@ export interface MacroPropertyPanel1 {
|
|
|
29832
29832
|
*
|
|
29833
29833
|
*
|
|
29834
29834
|
*
|
|
29835
|
-
*
|
|
29836
|
-
*
|
|
29837
|
-
*
|
|
29838
|
-
* "
|
|
29839
|
-
*
|
|
29840
|
-
*
|
|
29841
|
-
*
|
|
29835
|
+
* [
|
|
29836
|
+
* {
|
|
29837
|
+
* "type": "togglegroup",
|
|
29838
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
29839
|
+
* "controls": [
|
|
29840
|
+
* {
|
|
29841
|
+
* "type": "togglebutton",
|
|
29842
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29843
|
+
* "label": {
|
|
29844
|
+
* "value": "My Custom Control 0"
|
|
29845
|
+
* },
|
|
29846
|
+
* "key": "my-custom-toggle-button-0"
|
|
29847
|
+
* },
|
|
29848
|
+
* {
|
|
29849
|
+
* "type": "togglebutton",
|
|
29850
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
29851
|
+
* "label": {
|
|
29852
|
+
* "value": "My Custom Control 1"
|
|
29853
|
+
* },
|
|
29854
|
+
* "key": "my-custom-toggle-button-1"
|
|
29855
|
+
* }
|
|
29856
|
+
* ]
|
|
29857
|
+
* }
|
|
29858
|
+
* ]
|
|
29842
29859
|
*
|
|
29843
29860
|
*
|
|
29844
29861
|
*
|
|
29845
29862
|
*/
|
|
29846
|
-
export interface
|
|
29863
|
+
export interface ToggleGroup1 {
|
|
29864
|
+
controls: ToggleButtonControl1[];
|
|
29847
29865
|
macroParameter: string;
|
|
29848
|
-
type: '
|
|
29849
|
-
key: string;
|
|
29866
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
29850
29867
|
[k: string]: unknown;
|
|
29851
29868
|
}
|
|
29852
29869
|
/**
|
|
29853
29870
|
*
|
|
29854
29871
|
*
|
|
29855
|
-
* Defines a button which
|
|
29872
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
29856
29873
|
*
|
|
29857
29874
|
* <p><b>Example</b></p>
|
|
29858
29875
|
*
|
|
@@ -29861,19 +29878,21 @@ export interface TextControl1 {
|
|
|
29861
29878
|
*
|
|
29862
29879
|
*
|
|
29863
29880
|
* {
|
|
29864
|
-
* "type": "
|
|
29881
|
+
* "type": "togglebutton",
|
|
29882
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29865
29883
|
* "label": {
|
|
29866
29884
|
* "value": "My Custom Control 0"
|
|
29867
29885
|
* },
|
|
29868
|
-
* "key": "my-custom-
|
|
29886
|
+
* "key": "my-custom-toggle-button-0"
|
|
29869
29887
|
* }
|
|
29870
29888
|
*
|
|
29871
29889
|
*
|
|
29872
29890
|
*
|
|
29873
29891
|
*/
|
|
29874
|
-
export interface
|
|
29892
|
+
export interface ToggleButtonControl1 {
|
|
29893
|
+
macroParameterValue: string;
|
|
29875
29894
|
label: I18NProperty84;
|
|
29876
|
-
type: '
|
|
29895
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
29877
29896
|
key: string;
|
|
29878
29897
|
[k: string]: unknown;
|
|
29879
29898
|
}
|
|
@@ -29904,7 +29923,7 @@ export interface I18NProperty84 {
|
|
|
29904
29923
|
/**
|
|
29905
29924
|
*
|
|
29906
29925
|
*
|
|
29907
|
-
* Defines a
|
|
29926
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
29908
29927
|
*
|
|
29909
29928
|
* <p><b>Example</b></p>
|
|
29910
29929
|
*
|
|
@@ -29912,34 +29931,21 @@ export interface I18NProperty84 {
|
|
|
29912
29931
|
*
|
|
29913
29932
|
*
|
|
29914
29933
|
*
|
|
29915
|
-
*
|
|
29916
|
-
*
|
|
29917
|
-
*
|
|
29918
|
-
* "
|
|
29919
|
-
*
|
|
29920
|
-
*
|
|
29921
|
-
*
|
|
29922
|
-
* "value": "My Custom Control 0"
|
|
29923
|
-
* },
|
|
29924
|
-
* "key": "my-custom-control-0"
|
|
29925
|
-
* },
|
|
29926
|
-
* {
|
|
29927
|
-
* "type": "button",
|
|
29928
|
-
* "label": {
|
|
29929
|
-
* "value": "My Custom Control 1"
|
|
29930
|
-
* },
|
|
29931
|
-
* "key": "my-custom-control-1"
|
|
29932
|
-
* }
|
|
29933
|
-
* ]
|
|
29934
|
-
* }
|
|
29935
|
-
* ]
|
|
29934
|
+
* {
|
|
29935
|
+
* "type": "button",
|
|
29936
|
+
* "label": {
|
|
29937
|
+
* "value": "My Custom Control 0"
|
|
29938
|
+
* },
|
|
29939
|
+
* "key": "my-custom-control-0"
|
|
29940
|
+
* }
|
|
29936
29941
|
*
|
|
29937
29942
|
*
|
|
29938
29943
|
*
|
|
29939
29944
|
*/
|
|
29940
|
-
export interface
|
|
29941
|
-
|
|
29942
|
-
type: '
|
|
29945
|
+
export interface TextControl1 {
|
|
29946
|
+
macroParameter: string;
|
|
29947
|
+
type: 'text' | 'TEXT';
|
|
29948
|
+
key: string;
|
|
29943
29949
|
[k: string]: unknown;
|
|
29944
29950
|
}
|
|
29945
29951
|
/**
|
|
@@ -29964,7 +29970,7 @@ export interface ControlGroup1 {
|
|
|
29964
29970
|
*
|
|
29965
29971
|
*
|
|
29966
29972
|
*/
|
|
29967
|
-
export interface
|
|
29973
|
+
export interface ButtonControl2 {
|
|
29968
29974
|
label: I18NProperty85;
|
|
29969
29975
|
type: 'button' | 'BUTTON';
|
|
29970
29976
|
key: string;
|
|
@@ -29997,7 +30003,7 @@ export interface I18NProperty85 {
|
|
|
29997
30003
|
/**
|
|
29998
30004
|
*
|
|
29999
30005
|
*
|
|
30000
|
-
* Defines a
|
|
30006
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
30001
30007
|
*
|
|
30002
30008
|
* <p><b>Example</b></p>
|
|
30003
30009
|
*
|
|
@@ -30007,24 +30013,21 @@ export interface I18NProperty85 {
|
|
|
30007
30013
|
*
|
|
30008
30014
|
* [
|
|
30009
30015
|
* {
|
|
30010
|
-
* "type": "
|
|
30011
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
30016
|
+
* "type": "group",
|
|
30012
30017
|
* "controls": [
|
|
30013
30018
|
* {
|
|
30014
|
-
* "type": "
|
|
30015
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
30019
|
+
* "type": "button",
|
|
30016
30020
|
* "label": {
|
|
30017
30021
|
* "value": "My Custom Control 0"
|
|
30018
30022
|
* },
|
|
30019
|
-
* "key": "my-custom-
|
|
30023
|
+
* "key": "my-custom-control-0"
|
|
30020
30024
|
* },
|
|
30021
30025
|
* {
|
|
30022
|
-
* "type": "
|
|
30023
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
30026
|
+
* "type": "button",
|
|
30024
30027
|
* "label": {
|
|
30025
30028
|
* "value": "My Custom Control 1"
|
|
30026
30029
|
* },
|
|
30027
|
-
* "key": "my-custom-
|
|
30030
|
+
* "key": "my-custom-control-1"
|
|
30028
30031
|
* }
|
|
30029
30032
|
* ]
|
|
30030
30033
|
* }
|
|
@@ -30033,16 +30036,15 @@ export interface I18NProperty85 {
|
|
|
30033
30036
|
*
|
|
30034
30037
|
*
|
|
30035
30038
|
*/
|
|
30036
|
-
export interface
|
|
30037
|
-
controls:
|
|
30038
|
-
|
|
30039
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
30039
|
+
export interface ControlGroup1 {
|
|
30040
|
+
controls: ButtonControl3[];
|
|
30041
|
+
type: 'group' | 'GROUP';
|
|
30040
30042
|
[k: string]: unknown;
|
|
30041
30043
|
}
|
|
30042
30044
|
/**
|
|
30043
30045
|
*
|
|
30044
30046
|
*
|
|
30045
|
-
* Defines a
|
|
30047
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
30046
30048
|
*
|
|
30047
30049
|
* <p><b>Example</b></p>
|
|
30048
30050
|
*
|
|
@@ -30051,21 +30053,19 @@ export interface ToggleGroup1 {
|
|
|
30051
30053
|
*
|
|
30052
30054
|
*
|
|
30053
30055
|
* {
|
|
30054
|
-
* "type": "
|
|
30055
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
30056
|
+
* "type": "button",
|
|
30056
30057
|
* "label": {
|
|
30057
30058
|
* "value": "My Custom Control 0"
|
|
30058
30059
|
* },
|
|
30059
|
-
* "key": "my-custom-
|
|
30060
|
+
* "key": "my-custom-control-0"
|
|
30060
30061
|
* }
|
|
30061
30062
|
*
|
|
30062
30063
|
*
|
|
30063
30064
|
*
|
|
30064
30065
|
*/
|
|
30065
|
-
export interface
|
|
30066
|
-
macroParameterValue: string;
|
|
30066
|
+
export interface ButtonControl3 {
|
|
30067
30067
|
label: I18NProperty86;
|
|
30068
|
-
type: '
|
|
30068
|
+
type: 'button' | 'BUTTON';
|
|
30069
30069
|
key: string;
|
|
30070
30070
|
[k: string]: unknown;
|
|
30071
30071
|
}
|