@forge/manifest 3.1.0-next.3 → 3.1.0-next.4
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 +196 -196
- package/out/schema/manifest.d.ts +158 -158
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6247,10 +6247,10 @@
|
|
|
6247
6247
|
"type": "object",
|
|
6248
6248
|
"anyOf": [
|
|
6249
6249
|
{
|
|
6250
|
-
"$ref": "#/definitions/
|
|
6250
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6251
6251
|
},
|
|
6252
6252
|
{
|
|
6253
|
-
"$ref": "#/definitions/
|
|
6253
|
+
"$ref": "#/definitions/singleCondition"
|
|
6254
6254
|
}
|
|
6255
6255
|
]
|
|
6256
6256
|
},
|
|
@@ -6311,10 +6311,10 @@
|
|
|
6311
6311
|
"type": "object",
|
|
6312
6312
|
"anyOf": [
|
|
6313
6313
|
{
|
|
6314
|
-
"$ref": "#/definitions/
|
|
6314
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6315
6315
|
},
|
|
6316
6316
|
{
|
|
6317
|
-
"$ref": "#/definitions/
|
|
6317
|
+
"$ref": "#/definitions/singleCondition"
|
|
6318
6318
|
}
|
|
6319
6319
|
]
|
|
6320
6320
|
},
|
|
@@ -6427,10 +6427,10 @@
|
|
|
6427
6427
|
"type": "object",
|
|
6428
6428
|
"anyOf": [
|
|
6429
6429
|
{
|
|
6430
|
-
"$ref": "#/definitions/
|
|
6430
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6431
6431
|
},
|
|
6432
6432
|
{
|
|
6433
|
-
"$ref": "#/definitions/
|
|
6433
|
+
"$ref": "#/definitions/singleCondition"
|
|
6434
6434
|
}
|
|
6435
6435
|
]
|
|
6436
6436
|
},
|
|
@@ -6500,22 +6500,6 @@
|
|
|
6500
6500
|
"type": "object",
|
|
6501
6501
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
6502
6502
|
"anyOf": [
|
|
6503
|
-
{
|
|
6504
|
-
"properties": {
|
|
6505
|
-
"key": {
|
|
6506
|
-
"maxLength": 100,
|
|
6507
|
-
"type": "string",
|
|
6508
|
-
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
6509
|
-
}
|
|
6510
|
-
},
|
|
6511
|
-
"required": [
|
|
6512
|
-
"key"
|
|
6513
|
-
],
|
|
6514
|
-
"shortClassName": "dialogModuleOptions",
|
|
6515
|
-
"type": "object",
|
|
6516
|
-
"title": "Dialog Module Options",
|
|
6517
|
-
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
6518
|
-
},
|
|
6519
6503
|
{
|
|
6520
6504
|
"properties": {
|
|
6521
6505
|
"size": {
|
|
@@ -6607,6 +6591,22 @@
|
|
|
6607
6591
|
"type": "object",
|
|
6608
6592
|
"title": "Inline Dialog Options",
|
|
6609
6593
|
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
6594
|
+
},
|
|
6595
|
+
{
|
|
6596
|
+
"properties": {
|
|
6597
|
+
"key": {
|
|
6598
|
+
"maxLength": 100,
|
|
6599
|
+
"type": "string",
|
|
6600
|
+
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
6601
|
+
}
|
|
6602
|
+
},
|
|
6603
|
+
"required": [
|
|
6604
|
+
"key"
|
|
6605
|
+
],
|
|
6606
|
+
"shortClassName": "dialogModuleOptions",
|
|
6607
|
+
"type": "object",
|
|
6608
|
+
"title": "Dialog Module Options",
|
|
6609
|
+
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
6610
6610
|
}
|
|
6611
6611
|
]
|
|
6612
6612
|
},
|
|
@@ -6697,10 +6697,10 @@
|
|
|
6697
6697
|
"type": "object",
|
|
6698
6698
|
"anyOf": [
|
|
6699
6699
|
{
|
|
6700
|
-
"$ref": "
|
|
6700
|
+
"$ref": "#"
|
|
6701
6701
|
},
|
|
6702
6702
|
{
|
|
6703
|
-
"$ref": "
|
|
6703
|
+
"$ref": "#/definitions/singleCondition"
|
|
6704
6704
|
}
|
|
6705
6705
|
]
|
|
6706
6706
|
},
|
|
@@ -6933,10 +6933,10 @@
|
|
|
6933
6933
|
"type": "object",
|
|
6934
6934
|
"anyOf": [
|
|
6935
6935
|
{
|
|
6936
|
-
"$ref": "
|
|
6936
|
+
"$ref": "#"
|
|
6937
6937
|
},
|
|
6938
6938
|
{
|
|
6939
|
-
"$ref": "
|
|
6939
|
+
"$ref": "#/definitions/singleCondition"
|
|
6940
6940
|
}
|
|
6941
6941
|
]
|
|
6942
6942
|
},
|
|
@@ -7258,75 +7258,6 @@
|
|
|
7258
7258
|
"items": {
|
|
7259
7259
|
"type": "object",
|
|
7260
7260
|
"anyOf": [
|
|
7261
|
-
{
|
|
7262
|
-
"properties": {
|
|
7263
|
-
"controls": {
|
|
7264
|
-
"items": {
|
|
7265
|
-
"properties": {
|
|
7266
|
-
"macroParameterValue": {
|
|
7267
|
-
"maxLength": 10000,
|
|
7268
|
-
"type": "string",
|
|
7269
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7270
|
-
},
|
|
7271
|
-
"label": {
|
|
7272
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7273
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7274
|
-
},
|
|
7275
|
-
"type": {
|
|
7276
|
-
"enum": [
|
|
7277
|
-
"togglebutton",
|
|
7278
|
-
"TOGGLEBUTTON"
|
|
7279
|
-
],
|
|
7280
|
-
"type": "string",
|
|
7281
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7282
|
-
},
|
|
7283
|
-
"key": {
|
|
7284
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7285
|
-
"maxLength": 100,
|
|
7286
|
-
"type": "string",
|
|
7287
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7288
|
-
}
|
|
7289
|
-
},
|
|
7290
|
-
"required": [
|
|
7291
|
-
"macroParameterValue",
|
|
7292
|
-
"label",
|
|
7293
|
-
"type",
|
|
7294
|
-
"key"
|
|
7295
|
-
],
|
|
7296
|
-
"additionalProperties": true,
|
|
7297
|
-
"shortClassName": "macroToggleButtonControlBean",
|
|
7298
|
-
"type": "object",
|
|
7299
|
-
"title": "ToggleButtonControl",
|
|
7300
|
-
"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"
|
|
7301
|
-
},
|
|
7302
|
-
"type": "array",
|
|
7303
|
-
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7304
|
-
},
|
|
7305
|
-
"macroParameter": {
|
|
7306
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
7307
|
-
"maxLength": 100,
|
|
7308
|
-
"type": "string",
|
|
7309
|
-
"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"
|
|
7310
|
-
},
|
|
7311
|
-
"type": {
|
|
7312
|
-
"enum": [
|
|
7313
|
-
"togglegroup",
|
|
7314
|
-
"TOGGLEGROUP"
|
|
7315
|
-
],
|
|
7316
|
-
"type": "string",
|
|
7317
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7318
|
-
}
|
|
7319
|
-
},
|
|
7320
|
-
"required": [
|
|
7321
|
-
"controls",
|
|
7322
|
-
"macroParameter",
|
|
7323
|
-
"type"
|
|
7324
|
-
],
|
|
7325
|
-
"shortClassName": "macroToggleGroupBean",
|
|
7326
|
-
"type": "object",
|
|
7327
|
-
"title": "ToggleGroup",
|
|
7328
|
-
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
7329
|
-
},
|
|
7330
7261
|
{
|
|
7331
7262
|
"properties": {
|
|
7332
7263
|
"label": {
|
|
@@ -7415,6 +7346,75 @@
|
|
|
7415
7346
|
"title": "ControlGroup",
|
|
7416
7347
|
"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"
|
|
7417
7348
|
},
|
|
7349
|
+
{
|
|
7350
|
+
"properties": {
|
|
7351
|
+
"controls": {
|
|
7352
|
+
"items": {
|
|
7353
|
+
"properties": {
|
|
7354
|
+
"macroParameterValue": {
|
|
7355
|
+
"maxLength": 10000,
|
|
7356
|
+
"type": "string",
|
|
7357
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7358
|
+
},
|
|
7359
|
+
"label": {
|
|
7360
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7361
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7362
|
+
},
|
|
7363
|
+
"type": {
|
|
7364
|
+
"enum": [
|
|
7365
|
+
"togglebutton",
|
|
7366
|
+
"TOGGLEBUTTON"
|
|
7367
|
+
],
|
|
7368
|
+
"type": "string",
|
|
7369
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7370
|
+
},
|
|
7371
|
+
"key": {
|
|
7372
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7373
|
+
"maxLength": 100,
|
|
7374
|
+
"type": "string",
|
|
7375
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7376
|
+
}
|
|
7377
|
+
},
|
|
7378
|
+
"required": [
|
|
7379
|
+
"macroParameterValue",
|
|
7380
|
+
"label",
|
|
7381
|
+
"type",
|
|
7382
|
+
"key"
|
|
7383
|
+
],
|
|
7384
|
+
"additionalProperties": true,
|
|
7385
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
7386
|
+
"type": "object",
|
|
7387
|
+
"title": "ToggleButtonControl",
|
|
7388
|
+
"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"
|
|
7389
|
+
},
|
|
7390
|
+
"type": "array",
|
|
7391
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7392
|
+
},
|
|
7393
|
+
"macroParameter": {
|
|
7394
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7395
|
+
"maxLength": 100,
|
|
7396
|
+
"type": "string",
|
|
7397
|
+
"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"
|
|
7398
|
+
},
|
|
7399
|
+
"type": {
|
|
7400
|
+
"enum": [
|
|
7401
|
+
"togglegroup",
|
|
7402
|
+
"TOGGLEGROUP"
|
|
7403
|
+
],
|
|
7404
|
+
"type": "string",
|
|
7405
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7406
|
+
}
|
|
7407
|
+
},
|
|
7408
|
+
"required": [
|
|
7409
|
+
"controls",
|
|
7410
|
+
"macroParameter",
|
|
7411
|
+
"type"
|
|
7412
|
+
],
|
|
7413
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7414
|
+
"type": "object",
|
|
7415
|
+
"title": "ToggleGroup",
|
|
7416
|
+
"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"
|
|
7417
|
+
},
|
|
7418
7418
|
{
|
|
7419
7419
|
"properties": {
|
|
7420
7420
|
"macroParameter": {
|
|
@@ -7742,72 +7742,67 @@
|
|
|
7742
7742
|
"anyOf": [
|
|
7743
7743
|
{
|
|
7744
7744
|
"properties": {
|
|
7745
|
-
"controls": {
|
|
7746
|
-
"items": {
|
|
7747
|
-
"properties": {
|
|
7748
|
-
"macroParameterValue": {
|
|
7749
|
-
"maxLength": 10000,
|
|
7750
|
-
"type": "string",
|
|
7751
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7752
|
-
},
|
|
7753
|
-
"label": {
|
|
7754
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7755
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7756
|
-
},
|
|
7757
|
-
"type": {
|
|
7758
|
-
"enum": [
|
|
7759
|
-
"togglebutton",
|
|
7760
|
-
"TOGGLEBUTTON"
|
|
7761
|
-
],
|
|
7762
|
-
"type": "string",
|
|
7763
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7764
|
-
},
|
|
7765
|
-
"key": {
|
|
7766
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7767
|
-
"maxLength": 100,
|
|
7768
|
-
"type": "string",
|
|
7769
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7770
|
-
}
|
|
7771
|
-
},
|
|
7772
|
-
"required": [
|
|
7773
|
-
"macroParameterValue",
|
|
7774
|
-
"label",
|
|
7775
|
-
"type",
|
|
7776
|
-
"key"
|
|
7777
|
-
],
|
|
7778
|
-
"additionalProperties": true,
|
|
7779
|
-
"shortClassName": "macroToggleButtonControlBean",
|
|
7780
|
-
"type": "object",
|
|
7781
|
-
"title": "ToggleButtonControl",
|
|
7782
|
-
"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"
|
|
7783
|
-
},
|
|
7784
|
-
"type": "array",
|
|
7785
|
-
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7786
|
-
},
|
|
7787
7745
|
"macroParameter": {
|
|
7788
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
7789
7746
|
"maxLength": 100,
|
|
7790
7747
|
"type": "string",
|
|
7791
|
-
"fieldDescription": "\n\nThe
|
|
7748
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7792
7749
|
},
|
|
7793
7750
|
"type": {
|
|
7794
7751
|
"enum": [
|
|
7795
|
-
"
|
|
7796
|
-
"
|
|
7752
|
+
"text",
|
|
7753
|
+
"TEXT"
|
|
7797
7754
|
],
|
|
7798
7755
|
"type": "string",
|
|
7799
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7756
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7757
|
+
},
|
|
7758
|
+
"key": {
|
|
7759
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7760
|
+
"maxLength": 100,
|
|
7761
|
+
"type": "string",
|
|
7762
|
+
"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"
|
|
7800
7763
|
}
|
|
7801
7764
|
},
|
|
7802
7765
|
"required": [
|
|
7803
|
-
"controls",
|
|
7804
7766
|
"macroParameter",
|
|
7805
|
-
"type"
|
|
7767
|
+
"type",
|
|
7768
|
+
"key"
|
|
7806
7769
|
],
|
|
7807
|
-
"shortClassName": "
|
|
7770
|
+
"shortClassName": "textControlBean",
|
|
7808
7771
|
"type": "object",
|
|
7809
|
-
"title": "
|
|
7810
|
-
"description": "\n\nDefines a
|
|
7772
|
+
"title": "TextControl",
|
|
7773
|
+
"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"
|
|
7774
|
+
},
|
|
7775
|
+
{
|
|
7776
|
+
"properties": {
|
|
7777
|
+
"label": {
|
|
7778
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7779
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7780
|
+
},
|
|
7781
|
+
"type": {
|
|
7782
|
+
"enum": [
|
|
7783
|
+
"button",
|
|
7784
|
+
"BUTTON"
|
|
7785
|
+
],
|
|
7786
|
+
"type": "string",
|
|
7787
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7788
|
+
},
|
|
7789
|
+
"key": {
|
|
7790
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7791
|
+
"maxLength": 100,
|
|
7792
|
+
"type": "string",
|
|
7793
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7794
|
+
}
|
|
7795
|
+
},
|
|
7796
|
+
"required": [
|
|
7797
|
+
"label",
|
|
7798
|
+
"type",
|
|
7799
|
+
"key"
|
|
7800
|
+
],
|
|
7801
|
+
"additionalProperties": true,
|
|
7802
|
+
"shortClassName": "buttonControlBean",
|
|
7803
|
+
"type": "object",
|
|
7804
|
+
"title": "ButtonControl",
|
|
7805
|
+
"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"
|
|
7811
7806
|
},
|
|
7812
7807
|
{
|
|
7813
7808
|
"properties": {
|
|
@@ -7867,67 +7862,72 @@
|
|
|
7867
7862
|
},
|
|
7868
7863
|
{
|
|
7869
7864
|
"properties": {
|
|
7865
|
+
"controls": {
|
|
7866
|
+
"items": {
|
|
7867
|
+
"properties": {
|
|
7868
|
+
"macroParameterValue": {
|
|
7869
|
+
"maxLength": 10000,
|
|
7870
|
+
"type": "string",
|
|
7871
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7872
|
+
},
|
|
7873
|
+
"label": {
|
|
7874
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7875
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7876
|
+
},
|
|
7877
|
+
"type": {
|
|
7878
|
+
"enum": [
|
|
7879
|
+
"togglebutton",
|
|
7880
|
+
"TOGGLEBUTTON"
|
|
7881
|
+
],
|
|
7882
|
+
"type": "string",
|
|
7883
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7884
|
+
},
|
|
7885
|
+
"key": {
|
|
7886
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7887
|
+
"maxLength": 100,
|
|
7888
|
+
"type": "string",
|
|
7889
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7890
|
+
}
|
|
7891
|
+
},
|
|
7892
|
+
"required": [
|
|
7893
|
+
"macroParameterValue",
|
|
7894
|
+
"label",
|
|
7895
|
+
"type",
|
|
7896
|
+
"key"
|
|
7897
|
+
],
|
|
7898
|
+
"additionalProperties": true,
|
|
7899
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
7900
|
+
"type": "object",
|
|
7901
|
+
"title": "ToggleButtonControl",
|
|
7902
|
+
"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"
|
|
7903
|
+
},
|
|
7904
|
+
"type": "array",
|
|
7905
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7906
|
+
},
|
|
7870
7907
|
"macroParameter": {
|
|
7908
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7871
7909
|
"maxLength": 100,
|
|
7872
7910
|
"type": "string",
|
|
7873
|
-
"fieldDescription": "\n\nThe
|
|
7911
|
+
"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"
|
|
7874
7912
|
},
|
|
7875
7913
|
"type": {
|
|
7876
7914
|
"enum": [
|
|
7877
|
-
"
|
|
7878
|
-
"
|
|
7915
|
+
"togglegroup",
|
|
7916
|
+
"TOGGLEGROUP"
|
|
7879
7917
|
],
|
|
7880
7918
|
"type": "string",
|
|
7881
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7882
|
-
},
|
|
7883
|
-
"key": {
|
|
7884
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7885
|
-
"maxLength": 100,
|
|
7886
|
-
"type": "string",
|
|
7887
|
-
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
7919
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7888
7920
|
}
|
|
7889
7921
|
},
|
|
7890
7922
|
"required": [
|
|
7923
|
+
"controls",
|
|
7891
7924
|
"macroParameter",
|
|
7892
|
-
"type"
|
|
7893
|
-
"key"
|
|
7894
|
-
],
|
|
7895
|
-
"shortClassName": "textControlBean",
|
|
7896
|
-
"type": "object",
|
|
7897
|
-
"title": "TextControl",
|
|
7898
|
-
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
7899
|
-
},
|
|
7900
|
-
{
|
|
7901
|
-
"properties": {
|
|
7902
|
-
"label": {
|
|
7903
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7904
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7905
|
-
},
|
|
7906
|
-
"type": {
|
|
7907
|
-
"enum": [
|
|
7908
|
-
"button",
|
|
7909
|
-
"BUTTON"
|
|
7910
|
-
],
|
|
7911
|
-
"type": "string",
|
|
7912
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7913
|
-
},
|
|
7914
|
-
"key": {
|
|
7915
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7916
|
-
"maxLength": 100,
|
|
7917
|
-
"type": "string",
|
|
7918
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7919
|
-
}
|
|
7920
|
-
},
|
|
7921
|
-
"required": [
|
|
7922
|
-
"label",
|
|
7923
|
-
"type",
|
|
7924
|
-
"key"
|
|
7925
|
+
"type"
|
|
7925
7926
|
],
|
|
7926
|
-
"
|
|
7927
|
-
"shortClassName": "buttonControlBean",
|
|
7927
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7928
7928
|
"type": "object",
|
|
7929
|
-
"title": "
|
|
7930
|
-
"description": "\n\nDefines a
|
|
7929
|
+
"title": "ToggleGroup",
|
|
7930
|
+
"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"
|
|
7931
7931
|
}
|
|
7932
7932
|
]
|
|
7933
7933
|
},
|
|
@@ -9567,10 +9567,10 @@
|
|
|
9567
9567
|
"type": "object",
|
|
9568
9568
|
"anyOf": [
|
|
9569
9569
|
{
|
|
9570
|
-
"$ref": "
|
|
9570
|
+
"$ref": "#"
|
|
9571
9571
|
},
|
|
9572
9572
|
{
|
|
9573
|
-
"$ref": "
|
|
9573
|
+
"$ref": "#/definitions/singleCondition"
|
|
9574
9574
|
}
|
|
9575
9575
|
]
|
|
9576
9576
|
},
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -2973,7 +2973,7 @@ export interface Modules {
|
|
|
2973
2973
|
filter?: string;
|
|
2974
2974
|
excludeBody?: boolean;
|
|
2975
2975
|
event?: string;
|
|
2976
|
-
conditions?: (
|
|
2976
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2977
2977
|
propertyKeys?: string[];
|
|
2978
2978
|
url?: string;
|
|
2979
2979
|
key: ModuleKeySchema;
|
|
@@ -2983,7 +2983,7 @@ export interface Modules {
|
|
|
2983
2983
|
filter?: string;
|
|
2984
2984
|
excludeBody?: boolean;
|
|
2985
2985
|
event?: string;
|
|
2986
|
-
conditions?: (
|
|
2986
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2987
2987
|
propertyKeys?: string[];
|
|
2988
2988
|
url?: string;
|
|
2989
2989
|
key: ModuleKeySchema;
|
|
@@ -2997,7 +2997,7 @@ export interface Modules {
|
|
|
2997
2997
|
weight?: number;
|
|
2998
2998
|
cacheable?: boolean;
|
|
2999
2999
|
location?: string;
|
|
3000
|
-
conditions?: (
|
|
3000
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3001
3001
|
params?: {
|
|
3002
3002
|
[k: string]: unknown;
|
|
3003
3003
|
};
|
|
@@ -3011,7 +3011,7 @@ export interface Modules {
|
|
|
3011
3011
|
weight?: number;
|
|
3012
3012
|
cacheable?: boolean;
|
|
3013
3013
|
location?: string;
|
|
3014
|
-
conditions?: (
|
|
3014
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3015
3015
|
params?: {
|
|
3016
3016
|
[k: string]: unknown;
|
|
3017
3017
|
};
|
|
@@ -3053,7 +3053,7 @@ export interface Modules {
|
|
|
3053
3053
|
weight?: number;
|
|
3054
3054
|
cacheable?: boolean;
|
|
3055
3055
|
location?: string;
|
|
3056
|
-
conditions?: (
|
|
3056
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3057
3057
|
params?: {
|
|
3058
3058
|
[k: string]: unknown;
|
|
3059
3059
|
};
|
|
@@ -3067,7 +3067,7 @@ export interface Modules {
|
|
|
3067
3067
|
weight?: number;
|
|
3068
3068
|
cacheable?: boolean;
|
|
3069
3069
|
location?: string;
|
|
3070
|
-
conditions?: (
|
|
3070
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3071
3071
|
params?: {
|
|
3072
3072
|
[k: string]: unknown;
|
|
3073
3073
|
};
|
|
@@ -3630,7 +3630,7 @@ export interface I18NProperty1 {
|
|
|
3630
3630
|
*
|
|
3631
3631
|
*/
|
|
3632
3632
|
export interface CompositeCondition {
|
|
3633
|
-
conditions?: (
|
|
3633
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
3634
3634
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
3635
3635
|
[k: string]: unknown;
|
|
3636
3636
|
}
|
|
@@ -6338,37 +6338,10 @@ export interface Icon10 {
|
|
|
6338
6338
|
*
|
|
6339
6339
|
*/
|
|
6340
6340
|
export interface WebItemTarget1 {
|
|
6341
|
-
options?:
|
|
6341
|
+
options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
|
|
6342
6342
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
6343
6343
|
[k: string]: unknown;
|
|
6344
6344
|
}
|
|
6345
|
-
/**
|
|
6346
|
-
*
|
|
6347
|
-
*
|
|
6348
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
6349
|
-
*
|
|
6350
|
-
* <h3>Example</h3>
|
|
6351
|
-
*
|
|
6352
|
-
*
|
|
6353
|
-
*
|
|
6354
|
-
*
|
|
6355
|
-
*
|
|
6356
|
-
* {
|
|
6357
|
-
* "target": {
|
|
6358
|
-
* "type": "dialogmodule",
|
|
6359
|
-
* "options": {
|
|
6360
|
-
* "key": "dialog-module-key"
|
|
6361
|
-
* }
|
|
6362
|
-
* }
|
|
6363
|
-
* }
|
|
6364
|
-
*
|
|
6365
|
-
*
|
|
6366
|
-
*
|
|
6367
|
-
*/
|
|
6368
|
-
export interface DialogModuleOptions1 {
|
|
6369
|
-
key: string;
|
|
6370
|
-
[k: string]: unknown;
|
|
6371
|
-
}
|
|
6372
6345
|
/**
|
|
6373
6346
|
*
|
|
6374
6347
|
*
|
|
@@ -6504,6 +6477,33 @@ export interface InlineDialogOptions1 {
|
|
|
6504
6477
|
isRelativeToMouse?: boolean;
|
|
6505
6478
|
[k: string]: unknown;
|
|
6506
6479
|
}
|
|
6480
|
+
/**
|
|
6481
|
+
*
|
|
6482
|
+
*
|
|
6483
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
6484
|
+
*
|
|
6485
|
+
* <h3>Example</h3>
|
|
6486
|
+
*
|
|
6487
|
+
*
|
|
6488
|
+
*
|
|
6489
|
+
*
|
|
6490
|
+
*
|
|
6491
|
+
* {
|
|
6492
|
+
* "target": {
|
|
6493
|
+
* "type": "dialogmodule",
|
|
6494
|
+
* "options": {
|
|
6495
|
+
* "key": "dialog-module-key"
|
|
6496
|
+
* }
|
|
6497
|
+
* }
|
|
6498
|
+
* }
|
|
6499
|
+
*
|
|
6500
|
+
*
|
|
6501
|
+
*
|
|
6502
|
+
*/
|
|
6503
|
+
export interface DialogModuleOptions1 {
|
|
6504
|
+
key: string;
|
|
6505
|
+
[k: string]: unknown;
|
|
6506
|
+
}
|
|
6507
6507
|
/**
|
|
6508
6508
|
*
|
|
6509
6509
|
*
|
|
@@ -6596,7 +6596,7 @@ export interface SingleCondition4 {
|
|
|
6596
6596
|
*
|
|
6597
6597
|
*/
|
|
6598
6598
|
export interface CompositeCondition6 {
|
|
6599
|
-
conditions?: (
|
|
6599
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
6600
6600
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6601
6601
|
[k: string]: unknown;
|
|
6602
6602
|
}
|
|
@@ -6991,7 +6991,7 @@ export interface I18NProperty63 {
|
|
|
6991
6991
|
*
|
|
6992
6992
|
*/
|
|
6993
6993
|
export interface CompositeCondition7 {
|
|
6994
|
-
conditions?: (
|
|
6994
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
6995
6995
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6996
6996
|
[k: string]: unknown;
|
|
6997
6997
|
}
|
|
@@ -8445,7 +8445,7 @@ export interface I18NProperty74 {
|
|
|
8445
8445
|
*
|
|
8446
8446
|
*/
|
|
8447
8447
|
export interface MacroPropertyPanel {
|
|
8448
|
-
controls?: (
|
|
8448
|
+
controls?: (ButtonControl | ControlGroup | ToggleGroup | TextControl)[];
|
|
8449
8449
|
cacheable?: boolean;
|
|
8450
8450
|
url: string;
|
|
8451
8451
|
[k: string]: unknown;
|
|
@@ -8453,7 +8453,7 @@ export interface MacroPropertyPanel {
|
|
|
8453
8453
|
/**
|
|
8454
8454
|
*
|
|
8455
8455
|
*
|
|
8456
|
-
* Defines a
|
|
8456
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
8457
8457
|
*
|
|
8458
8458
|
* <p><b>Example</b></p>
|
|
8459
8459
|
*
|
|
@@ -8461,92 +8461,86 @@ export interface MacroPropertyPanel {
|
|
|
8461
8461
|
*
|
|
8462
8462
|
*
|
|
8463
8463
|
*
|
|
8464
|
-
*
|
|
8465
|
-
*
|
|
8466
|
-
*
|
|
8467
|
-
* "
|
|
8468
|
-
*
|
|
8469
|
-
*
|
|
8470
|
-
*
|
|
8471
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
8472
|
-
* "label": {
|
|
8473
|
-
* "value": "My Custom Control 0"
|
|
8474
|
-
* },
|
|
8475
|
-
* "key": "my-custom-toggle-button-0"
|
|
8476
|
-
* },
|
|
8477
|
-
* {
|
|
8478
|
-
* "type": "togglebutton",
|
|
8479
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
8480
|
-
* "label": {
|
|
8481
|
-
* "value": "My Custom Control 1"
|
|
8482
|
-
* },
|
|
8483
|
-
* "key": "my-custom-toggle-button-1"
|
|
8484
|
-
* }
|
|
8485
|
-
* ]
|
|
8486
|
-
* }
|
|
8487
|
-
* ]
|
|
8464
|
+
* {
|
|
8465
|
+
* "type": "button",
|
|
8466
|
+
* "label": {
|
|
8467
|
+
* "value": "My Custom Control 0"
|
|
8468
|
+
* },
|
|
8469
|
+
* "key": "my-custom-control-0"
|
|
8470
|
+
* }
|
|
8488
8471
|
*
|
|
8489
8472
|
*
|
|
8490
8473
|
*
|
|
8491
8474
|
*/
|
|
8492
|
-
export interface
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8475
|
+
export interface ButtonControl {
|
|
8476
|
+
label: I18NProperty75;
|
|
8477
|
+
type: 'button' | 'BUTTON';
|
|
8478
|
+
key: string;
|
|
8496
8479
|
[k: string]: unknown;
|
|
8497
8480
|
}
|
|
8498
8481
|
/**
|
|
8499
8482
|
*
|
|
8500
8483
|
*
|
|
8501
|
-
*
|
|
8484
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8485
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8502
8486
|
*
|
|
8503
|
-
* <
|
|
8487
|
+
* <h3>Example</h3>
|
|
8504
8488
|
*
|
|
8505
8489
|
*
|
|
8506
8490
|
*
|
|
8507
8491
|
*
|
|
8508
8492
|
*
|
|
8509
8493
|
* {
|
|
8510
|
-
* "
|
|
8511
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
8512
|
-
* "label": {
|
|
8513
|
-
* "value": "My Custom Control 0"
|
|
8514
|
-
* },
|
|
8515
|
-
* "key": "my-custom-toggle-button-0"
|
|
8494
|
+
* "value": "My text"
|
|
8516
8495
|
* }
|
|
8517
8496
|
*
|
|
8518
8497
|
*
|
|
8519
8498
|
*
|
|
8520
8499
|
*/
|
|
8521
|
-
export interface
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8525
|
-
key: string;
|
|
8500
|
+
export interface I18NProperty75 {
|
|
8501
|
+
value: string;
|
|
8502
|
+
i18n?: string;
|
|
8526
8503
|
[k: string]: unknown;
|
|
8527
8504
|
}
|
|
8528
8505
|
/**
|
|
8529
8506
|
*
|
|
8530
8507
|
*
|
|
8531
|
-
*
|
|
8532
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8508
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
8533
8509
|
*
|
|
8534
|
-
* <
|
|
8510
|
+
* <p><b>Example</b></p>
|
|
8535
8511
|
*
|
|
8536
8512
|
*
|
|
8537
8513
|
*
|
|
8538
8514
|
*
|
|
8539
8515
|
*
|
|
8540
|
-
*
|
|
8541
|
-
*
|
|
8542
|
-
*
|
|
8516
|
+
* [
|
|
8517
|
+
* {
|
|
8518
|
+
* "type": "group",
|
|
8519
|
+
* "controls": [
|
|
8520
|
+
* {
|
|
8521
|
+
* "type": "button",
|
|
8522
|
+
* "label": {
|
|
8523
|
+
* "value": "My Custom Control 0"
|
|
8524
|
+
* },
|
|
8525
|
+
* "key": "my-custom-control-0"
|
|
8526
|
+
* },
|
|
8527
|
+
* {
|
|
8528
|
+
* "type": "button",
|
|
8529
|
+
* "label": {
|
|
8530
|
+
* "value": "My Custom Control 1"
|
|
8531
|
+
* },
|
|
8532
|
+
* "key": "my-custom-control-1"
|
|
8533
|
+
* }
|
|
8534
|
+
* ]
|
|
8535
|
+
* }
|
|
8536
|
+
* ]
|
|
8543
8537
|
*
|
|
8544
8538
|
*
|
|
8545
8539
|
*
|
|
8546
8540
|
*/
|
|
8547
|
-
export interface
|
|
8548
|
-
|
|
8549
|
-
|
|
8541
|
+
export interface ControlGroup {
|
|
8542
|
+
controls: ButtonControl1[];
|
|
8543
|
+
type: 'group' | 'GROUP';
|
|
8550
8544
|
[k: string]: unknown;
|
|
8551
8545
|
}
|
|
8552
8546
|
/**
|
|
@@ -8571,7 +8565,7 @@ export interface I18NProperty75 {
|
|
|
8571
8565
|
*
|
|
8572
8566
|
*
|
|
8573
8567
|
*/
|
|
8574
|
-
export interface
|
|
8568
|
+
export interface ButtonControl1 {
|
|
8575
8569
|
label: I18NProperty76;
|
|
8576
8570
|
type: 'button' | 'BUTTON';
|
|
8577
8571
|
key: string;
|
|
@@ -8604,7 +8598,7 @@ export interface I18NProperty76 {
|
|
|
8604
8598
|
/**
|
|
8605
8599
|
*
|
|
8606
8600
|
*
|
|
8607
|
-
* Defines a
|
|
8601
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
8608
8602
|
*
|
|
8609
8603
|
* <p><b>Example</b></p>
|
|
8610
8604
|
*
|
|
@@ -8614,21 +8608,24 @@ export interface I18NProperty76 {
|
|
|
8614
8608
|
*
|
|
8615
8609
|
* [
|
|
8616
8610
|
* {
|
|
8617
|
-
* "type": "
|
|
8611
|
+
* "type": "togglegroup",
|
|
8612
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
8618
8613
|
* "controls": [
|
|
8619
8614
|
* {
|
|
8620
|
-
* "type": "
|
|
8615
|
+
* "type": "togglebutton",
|
|
8616
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
8621
8617
|
* "label": {
|
|
8622
8618
|
* "value": "My Custom Control 0"
|
|
8623
8619
|
* },
|
|
8624
|
-
* "key": "my-custom-
|
|
8620
|
+
* "key": "my-custom-toggle-button-0"
|
|
8625
8621
|
* },
|
|
8626
8622
|
* {
|
|
8627
|
-
* "type": "
|
|
8623
|
+
* "type": "togglebutton",
|
|
8624
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
8628
8625
|
* "label": {
|
|
8629
8626
|
* "value": "My Custom Control 1"
|
|
8630
8627
|
* },
|
|
8631
|
-
* "key": "my-custom-
|
|
8628
|
+
* "key": "my-custom-toggle-button-1"
|
|
8632
8629
|
* }
|
|
8633
8630
|
* ]
|
|
8634
8631
|
* }
|
|
@@ -8637,15 +8634,16 @@ export interface I18NProperty76 {
|
|
|
8637
8634
|
*
|
|
8638
8635
|
*
|
|
8639
8636
|
*/
|
|
8640
|
-
export interface
|
|
8641
|
-
controls:
|
|
8642
|
-
|
|
8637
|
+
export interface ToggleGroup {
|
|
8638
|
+
controls: ToggleButtonControl[];
|
|
8639
|
+
macroParameter: string;
|
|
8640
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
8643
8641
|
[k: string]: unknown;
|
|
8644
8642
|
}
|
|
8645
8643
|
/**
|
|
8646
8644
|
*
|
|
8647
8645
|
*
|
|
8648
|
-
* Defines a button which
|
|
8646
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
8649
8647
|
*
|
|
8650
8648
|
* <p><b>Example</b></p>
|
|
8651
8649
|
*
|
|
@@ -8654,19 +8652,21 @@ export interface ControlGroup {
|
|
|
8654
8652
|
*
|
|
8655
8653
|
*
|
|
8656
8654
|
* {
|
|
8657
|
-
* "type": "
|
|
8655
|
+
* "type": "togglebutton",
|
|
8656
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
8658
8657
|
* "label": {
|
|
8659
8658
|
* "value": "My Custom Control 0"
|
|
8660
8659
|
* },
|
|
8661
|
-
* "key": "my-custom-
|
|
8660
|
+
* "key": "my-custom-toggle-button-0"
|
|
8662
8661
|
* }
|
|
8663
8662
|
*
|
|
8664
8663
|
*
|
|
8665
8664
|
*
|
|
8666
8665
|
*/
|
|
8667
|
-
export interface
|
|
8666
|
+
export interface ToggleButtonControl {
|
|
8667
|
+
macroParameterValue: string;
|
|
8668
8668
|
label: I18NProperty77;
|
|
8669
|
-
type: '
|
|
8669
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8670
8670
|
key: string;
|
|
8671
8671
|
[k: string]: unknown;
|
|
8672
8672
|
}
|
|
@@ -29690,7 +29690,7 @@ export interface I18NProperty83 {
|
|
|
29690
29690
|
*
|
|
29691
29691
|
*/
|
|
29692
29692
|
export interface MacroPropertyPanel1 {
|
|
29693
|
-
controls?: (
|
|
29693
|
+
controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
|
|
29694
29694
|
cacheable?: boolean;
|
|
29695
29695
|
url: string;
|
|
29696
29696
|
[k: string]: unknown;
|
|
@@ -29698,7 +29698,7 @@ export interface MacroPropertyPanel1 {
|
|
|
29698
29698
|
/**
|
|
29699
29699
|
*
|
|
29700
29700
|
*
|
|
29701
|
-
* Defines a
|
|
29701
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
29702
29702
|
*
|
|
29703
29703
|
* <p><b>Example</b></p>
|
|
29704
29704
|
*
|
|
@@ -29706,44 +29706,27 @@ export interface MacroPropertyPanel1 {
|
|
|
29706
29706
|
*
|
|
29707
29707
|
*
|
|
29708
29708
|
*
|
|
29709
|
-
*
|
|
29710
|
-
*
|
|
29711
|
-
*
|
|
29712
|
-
* "
|
|
29713
|
-
*
|
|
29714
|
-
*
|
|
29715
|
-
*
|
|
29716
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
29717
|
-
* "label": {
|
|
29718
|
-
* "value": "My Custom Control 0"
|
|
29719
|
-
* },
|
|
29720
|
-
* "key": "my-custom-toggle-button-0"
|
|
29721
|
-
* },
|
|
29722
|
-
* {
|
|
29723
|
-
* "type": "togglebutton",
|
|
29724
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
29725
|
-
* "label": {
|
|
29726
|
-
* "value": "My Custom Control 1"
|
|
29727
|
-
* },
|
|
29728
|
-
* "key": "my-custom-toggle-button-1"
|
|
29729
|
-
* }
|
|
29730
|
-
* ]
|
|
29731
|
-
* }
|
|
29732
|
-
* ]
|
|
29709
|
+
* {
|
|
29710
|
+
* "type": "button",
|
|
29711
|
+
* "label": {
|
|
29712
|
+
* "value": "My Custom Control 0"
|
|
29713
|
+
* },
|
|
29714
|
+
* "key": "my-custom-control-0"
|
|
29715
|
+
* }
|
|
29733
29716
|
*
|
|
29734
29717
|
*
|
|
29735
29718
|
*
|
|
29736
29719
|
*/
|
|
29737
|
-
export interface
|
|
29738
|
-
controls: ToggleButtonControl1[];
|
|
29720
|
+
export interface TextControl1 {
|
|
29739
29721
|
macroParameter: string;
|
|
29740
|
-
type: '
|
|
29722
|
+
type: 'text' | 'TEXT';
|
|
29723
|
+
key: string;
|
|
29741
29724
|
[k: string]: unknown;
|
|
29742
29725
|
}
|
|
29743
29726
|
/**
|
|
29744
29727
|
*
|
|
29745
29728
|
*
|
|
29746
|
-
* Defines a
|
|
29729
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
29747
29730
|
*
|
|
29748
29731
|
* <p><b>Example</b></p>
|
|
29749
29732
|
*
|
|
@@ -29752,21 +29735,19 @@ export interface ToggleGroup1 {
|
|
|
29752
29735
|
*
|
|
29753
29736
|
*
|
|
29754
29737
|
* {
|
|
29755
|
-
* "type": "
|
|
29756
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
29738
|
+
* "type": "button",
|
|
29757
29739
|
* "label": {
|
|
29758
29740
|
* "value": "My Custom Control 0"
|
|
29759
29741
|
* },
|
|
29760
|
-
* "key": "my-custom-
|
|
29742
|
+
* "key": "my-custom-control-0"
|
|
29761
29743
|
* }
|
|
29762
29744
|
*
|
|
29763
29745
|
*
|
|
29764
29746
|
*
|
|
29765
29747
|
*/
|
|
29766
|
-
export interface
|
|
29767
|
-
macroParameterValue: string;
|
|
29748
|
+
export interface ButtonControl2 {
|
|
29768
29749
|
label: I18NProperty84;
|
|
29769
|
-
type: '
|
|
29750
|
+
type: 'button' | 'BUTTON';
|
|
29770
29751
|
key: string;
|
|
29771
29752
|
[k: string]: unknown;
|
|
29772
29753
|
}
|
|
@@ -29831,7 +29812,7 @@ export interface I18NProperty84 {
|
|
|
29831
29812
|
*
|
|
29832
29813
|
*/
|
|
29833
29814
|
export interface ControlGroup1 {
|
|
29834
|
-
controls:
|
|
29815
|
+
controls: ButtonControl3[];
|
|
29835
29816
|
type: 'group' | 'GROUP';
|
|
29836
29817
|
[k: string]: unknown;
|
|
29837
29818
|
}
|
|
@@ -29857,7 +29838,7 @@ export interface ControlGroup1 {
|
|
|
29857
29838
|
*
|
|
29858
29839
|
*
|
|
29859
29840
|
*/
|
|
29860
|
-
export interface
|
|
29841
|
+
export interface ButtonControl3 {
|
|
29861
29842
|
label: I18NProperty85;
|
|
29862
29843
|
type: 'button' | 'BUTTON';
|
|
29863
29844
|
key: string;
|
|
@@ -29890,7 +29871,7 @@ export interface I18NProperty85 {
|
|
|
29890
29871
|
/**
|
|
29891
29872
|
*
|
|
29892
29873
|
*
|
|
29893
|
-
* Defines a
|
|
29874
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
29894
29875
|
*
|
|
29895
29876
|
* <p><b>Example</b></p>
|
|
29896
29877
|
*
|
|
@@ -29898,27 +29879,44 @@ export interface I18NProperty85 {
|
|
|
29898
29879
|
*
|
|
29899
29880
|
*
|
|
29900
29881
|
*
|
|
29901
|
-
*
|
|
29902
|
-
*
|
|
29903
|
-
*
|
|
29904
|
-
* "
|
|
29905
|
-
*
|
|
29906
|
-
*
|
|
29907
|
-
*
|
|
29882
|
+
* [
|
|
29883
|
+
* {
|
|
29884
|
+
* "type": "togglegroup",
|
|
29885
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
29886
|
+
* "controls": [
|
|
29887
|
+
* {
|
|
29888
|
+
* "type": "togglebutton",
|
|
29889
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29890
|
+
* "label": {
|
|
29891
|
+
* "value": "My Custom Control 0"
|
|
29892
|
+
* },
|
|
29893
|
+
* "key": "my-custom-toggle-button-0"
|
|
29894
|
+
* },
|
|
29895
|
+
* {
|
|
29896
|
+
* "type": "togglebutton",
|
|
29897
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
29898
|
+
* "label": {
|
|
29899
|
+
* "value": "My Custom Control 1"
|
|
29900
|
+
* },
|
|
29901
|
+
* "key": "my-custom-toggle-button-1"
|
|
29902
|
+
* }
|
|
29903
|
+
* ]
|
|
29904
|
+
* }
|
|
29905
|
+
* ]
|
|
29908
29906
|
*
|
|
29909
29907
|
*
|
|
29910
29908
|
*
|
|
29911
29909
|
*/
|
|
29912
|
-
export interface
|
|
29910
|
+
export interface ToggleGroup1 {
|
|
29911
|
+
controls: ToggleButtonControl1[];
|
|
29913
29912
|
macroParameter: string;
|
|
29914
|
-
type: '
|
|
29915
|
-
key: string;
|
|
29913
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
29916
29914
|
[k: string]: unknown;
|
|
29917
29915
|
}
|
|
29918
29916
|
/**
|
|
29919
29917
|
*
|
|
29920
29918
|
*
|
|
29921
|
-
* Defines a button which
|
|
29919
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
29922
29920
|
*
|
|
29923
29921
|
* <p><b>Example</b></p>
|
|
29924
29922
|
*
|
|
@@ -29927,19 +29925,21 @@ export interface TextControl1 {
|
|
|
29927
29925
|
*
|
|
29928
29926
|
*
|
|
29929
29927
|
* {
|
|
29930
|
-
* "type": "
|
|
29928
|
+
* "type": "togglebutton",
|
|
29929
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
29931
29930
|
* "label": {
|
|
29932
29931
|
* "value": "My Custom Control 0"
|
|
29933
29932
|
* },
|
|
29934
|
-
* "key": "my-custom-
|
|
29933
|
+
* "key": "my-custom-toggle-button-0"
|
|
29935
29934
|
* }
|
|
29936
29935
|
*
|
|
29937
29936
|
*
|
|
29938
29937
|
*
|
|
29939
29938
|
*/
|
|
29940
|
-
export interface
|
|
29939
|
+
export interface ToggleButtonControl1 {
|
|
29940
|
+
macroParameterValue: string;
|
|
29941
29941
|
label: I18NProperty86;
|
|
29942
|
-
type: '
|
|
29942
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
29943
29943
|
key: string;
|
|
29944
29944
|
[k: string]: unknown;
|
|
29945
29945
|
}
|