@forge/manifest 3.1.1-next.0 → 3.2.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 +24 -0
- package/out/schema/manifest-schema.json +173 -173
- package/out/schema/manifest.d.ts +184 -184
- package/out/text/errors.d.ts +4 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +4 -0
- package/out/validators/modules-validator.d.ts.map +1 -1
- package/out/validators/modules-validator.js +12 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 3.2.0-next.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 254b2397: Update manifest definitions
|
|
8
|
+
|
|
9
|
+
## 3.2.0-next.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- b2cef71d: Update manifest definitions
|
|
14
|
+
|
|
15
|
+
## 3.2.0-next.2
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 7f869f7: Added manifest validation for modules using Subpages
|
|
20
|
+
|
|
21
|
+
## 3.1.1-next.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 47744fc: Update manifest definitions
|
|
26
|
+
|
|
3
27
|
## 3.1.1-next.0
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -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
|
},
|
|
@@ -6395,10 +6395,10 @@
|
|
|
6395
6395
|
"type": "object",
|
|
6396
6396
|
"anyOf": [
|
|
6397
6397
|
{
|
|
6398
|
-
"$ref": "#/definitions/
|
|
6398
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6399
6399
|
},
|
|
6400
6400
|
{
|
|
6401
|
-
"$ref": "#/definitions/
|
|
6401
|
+
"$ref": "#/definitions/singleCondition"
|
|
6402
6402
|
}
|
|
6403
6403
|
]
|
|
6404
6404
|
},
|
|
@@ -6511,10 +6511,10 @@
|
|
|
6511
6511
|
"type": "object",
|
|
6512
6512
|
"anyOf": [
|
|
6513
6513
|
{
|
|
6514
|
-
"$ref": "#/definitions/
|
|
6514
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6515
6515
|
},
|
|
6516
6516
|
{
|
|
6517
|
-
"$ref": "#/definitions/
|
|
6517
|
+
"$ref": "#/definitions/singleCondition"
|
|
6518
6518
|
}
|
|
6519
6519
|
]
|
|
6520
6520
|
},
|
|
@@ -6584,22 +6584,6 @@
|
|
|
6584
6584
|
"type": "object",
|
|
6585
6585
|
"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",
|
|
6586
6586
|
"anyOf": [
|
|
6587
|
-
{
|
|
6588
|
-
"properties": {
|
|
6589
|
-
"key": {
|
|
6590
|
-
"maxLength": 100,
|
|
6591
|
-
"type": "string",
|
|
6592
|
-
"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"
|
|
6593
|
-
}
|
|
6594
|
-
},
|
|
6595
|
-
"required": [
|
|
6596
|
-
"key"
|
|
6597
|
-
],
|
|
6598
|
-
"shortClassName": "dialogModuleOptions",
|
|
6599
|
-
"type": "object",
|
|
6600
|
-
"title": "Dialog Module Options",
|
|
6601
|
-
"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"
|
|
6602
|
-
},
|
|
6603
6587
|
{
|
|
6604
6588
|
"properties": {
|
|
6605
6589
|
"offsetX": {
|
|
@@ -6691,6 +6675,22 @@
|
|
|
6691
6675
|
"type": "object",
|
|
6692
6676
|
"title": "Dialog Options",
|
|
6693
6677
|
"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"
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
"properties": {
|
|
6681
|
+
"key": {
|
|
6682
|
+
"maxLength": 100,
|
|
6683
|
+
"type": "string",
|
|
6684
|
+
"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"
|
|
6685
|
+
}
|
|
6686
|
+
},
|
|
6687
|
+
"required": [
|
|
6688
|
+
"key"
|
|
6689
|
+
],
|
|
6690
|
+
"shortClassName": "dialogModuleOptions",
|
|
6691
|
+
"type": "object",
|
|
6692
|
+
"title": "Dialog Module Options",
|
|
6693
|
+
"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"
|
|
6694
6694
|
}
|
|
6695
6695
|
]
|
|
6696
6696
|
},
|
|
@@ -6781,10 +6781,10 @@
|
|
|
6781
6781
|
"type": "object",
|
|
6782
6782
|
"anyOf": [
|
|
6783
6783
|
{
|
|
6784
|
-
"$ref": "
|
|
6784
|
+
"$ref": "#/definitions/singleCondition"
|
|
6785
6785
|
},
|
|
6786
6786
|
{
|
|
6787
|
-
"$ref": "
|
|
6787
|
+
"$ref": "#"
|
|
6788
6788
|
}
|
|
6789
6789
|
]
|
|
6790
6790
|
},
|
|
@@ -7044,10 +7044,10 @@
|
|
|
7044
7044
|
"type": "object",
|
|
7045
7045
|
"anyOf": [
|
|
7046
7046
|
{
|
|
7047
|
-
"$ref": "
|
|
7047
|
+
"$ref": "#"
|
|
7048
7048
|
},
|
|
7049
7049
|
{
|
|
7050
|
-
"$ref": "
|
|
7050
|
+
"$ref": "#/definitions/singleCondition"
|
|
7051
7051
|
}
|
|
7052
7052
|
]
|
|
7053
7053
|
},
|
|
@@ -7342,6 +7342,94 @@
|
|
|
7342
7342
|
"items": {
|
|
7343
7343
|
"type": "object",
|
|
7344
7344
|
"anyOf": [
|
|
7345
|
+
{
|
|
7346
|
+
"properties": {
|
|
7347
|
+
"macroParameter": {
|
|
7348
|
+
"maxLength": 100,
|
|
7349
|
+
"type": "string",
|
|
7350
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7351
|
+
},
|
|
7352
|
+
"type": {
|
|
7353
|
+
"enum": [
|
|
7354
|
+
"text",
|
|
7355
|
+
"TEXT"
|
|
7356
|
+
],
|
|
7357
|
+
"type": "string",
|
|
7358
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7359
|
+
},
|
|
7360
|
+
"key": {
|
|
7361
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7362
|
+
"maxLength": 100,
|
|
7363
|
+
"type": "string",
|
|
7364
|
+
"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"
|
|
7365
|
+
}
|
|
7366
|
+
},
|
|
7367
|
+
"required": [
|
|
7368
|
+
"macroParameter",
|
|
7369
|
+
"type",
|
|
7370
|
+
"key"
|
|
7371
|
+
],
|
|
7372
|
+
"shortClassName": "textControlBean",
|
|
7373
|
+
"type": "object",
|
|
7374
|
+
"title": "TextControl",
|
|
7375
|
+
"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"
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"properties": {
|
|
7379
|
+
"controls": {
|
|
7380
|
+
"items": {
|
|
7381
|
+
"properties": {
|
|
7382
|
+
"label": {
|
|
7383
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7384
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7385
|
+
},
|
|
7386
|
+
"type": {
|
|
7387
|
+
"enum": [
|
|
7388
|
+
"button",
|
|
7389
|
+
"BUTTON"
|
|
7390
|
+
],
|
|
7391
|
+
"type": "string",
|
|
7392
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7393
|
+
},
|
|
7394
|
+
"key": {
|
|
7395
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7396
|
+
"maxLength": 100,
|
|
7397
|
+
"type": "string",
|
|
7398
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7399
|
+
}
|
|
7400
|
+
},
|
|
7401
|
+
"required": [
|
|
7402
|
+
"label",
|
|
7403
|
+
"type",
|
|
7404
|
+
"key"
|
|
7405
|
+
],
|
|
7406
|
+
"additionalProperties": true,
|
|
7407
|
+
"shortClassName": "buttonControlBean",
|
|
7408
|
+
"type": "object",
|
|
7409
|
+
"title": "ButtonControl",
|
|
7410
|
+
"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"
|
|
7411
|
+
},
|
|
7412
|
+
"type": "array",
|
|
7413
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7414
|
+
},
|
|
7415
|
+
"type": {
|
|
7416
|
+
"enum": [
|
|
7417
|
+
"group",
|
|
7418
|
+
"GROUP"
|
|
7419
|
+
],
|
|
7420
|
+
"type": "string",
|
|
7421
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7422
|
+
}
|
|
7423
|
+
},
|
|
7424
|
+
"required": [
|
|
7425
|
+
"controls",
|
|
7426
|
+
"type"
|
|
7427
|
+
],
|
|
7428
|
+
"shortClassName": "controlGroupBean",
|
|
7429
|
+
"type": "object",
|
|
7430
|
+
"title": "ControlGroup",
|
|
7431
|
+
"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
|
+
},
|
|
7345
7433
|
{
|
|
7346
7434
|
"properties": {
|
|
7347
7435
|
"controls": {
|
|
@@ -7442,94 +7530,6 @@
|
|
|
7442
7530
|
"type": "object",
|
|
7443
7531
|
"title": "ButtonControl",
|
|
7444
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"
|
|
7445
|
-
},
|
|
7446
|
-
{
|
|
7447
|
-
"properties": {
|
|
7448
|
-
"macroParameter": {
|
|
7449
|
-
"maxLength": 100,
|
|
7450
|
-
"type": "string",
|
|
7451
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7452
|
-
},
|
|
7453
|
-
"type": {
|
|
7454
|
-
"enum": [
|
|
7455
|
-
"text",
|
|
7456
|
-
"TEXT"
|
|
7457
|
-
],
|
|
7458
|
-
"type": "string",
|
|
7459
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7460
|
-
},
|
|
7461
|
-
"key": {
|
|
7462
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7463
|
-
"maxLength": 100,
|
|
7464
|
-
"type": "string",
|
|
7465
|
-
"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"
|
|
7466
|
-
}
|
|
7467
|
-
},
|
|
7468
|
-
"required": [
|
|
7469
|
-
"macroParameter",
|
|
7470
|
-
"type",
|
|
7471
|
-
"key"
|
|
7472
|
-
],
|
|
7473
|
-
"shortClassName": "textControlBean",
|
|
7474
|
-
"type": "object",
|
|
7475
|
-
"title": "TextControl",
|
|
7476
|
-
"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"
|
|
7477
|
-
},
|
|
7478
|
-
{
|
|
7479
|
-
"properties": {
|
|
7480
|
-
"controls": {
|
|
7481
|
-
"items": {
|
|
7482
|
-
"properties": {
|
|
7483
|
-
"label": {
|
|
7484
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7485
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7486
|
-
},
|
|
7487
|
-
"type": {
|
|
7488
|
-
"enum": [
|
|
7489
|
-
"button",
|
|
7490
|
-
"BUTTON"
|
|
7491
|
-
],
|
|
7492
|
-
"type": "string",
|
|
7493
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7494
|
-
},
|
|
7495
|
-
"key": {
|
|
7496
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7497
|
-
"maxLength": 100,
|
|
7498
|
-
"type": "string",
|
|
7499
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7500
|
-
}
|
|
7501
|
-
},
|
|
7502
|
-
"required": [
|
|
7503
|
-
"label",
|
|
7504
|
-
"type",
|
|
7505
|
-
"key"
|
|
7506
|
-
],
|
|
7507
|
-
"additionalProperties": true,
|
|
7508
|
-
"shortClassName": "buttonControlBean",
|
|
7509
|
-
"type": "object",
|
|
7510
|
-
"title": "ButtonControl",
|
|
7511
|
-
"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"
|
|
7512
|
-
},
|
|
7513
|
-
"type": "array",
|
|
7514
|
-
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7515
|
-
},
|
|
7516
|
-
"type": {
|
|
7517
|
-
"enum": [
|
|
7518
|
-
"group",
|
|
7519
|
-
"GROUP"
|
|
7520
|
-
],
|
|
7521
|
-
"type": "string",
|
|
7522
|
-
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7523
|
-
}
|
|
7524
|
-
},
|
|
7525
|
-
"required": [
|
|
7526
|
-
"controls",
|
|
7527
|
-
"type"
|
|
7528
|
-
],
|
|
7529
|
-
"shortClassName": "controlGroupBean",
|
|
7530
|
-
"type": "object",
|
|
7531
|
-
"title": "ControlGroup",
|
|
7532
|
-
"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"
|
|
7533
7533
|
}
|
|
7534
7534
|
]
|
|
7535
7535
|
},
|
|
@@ -7861,17 +7861,22 @@
|
|
|
7861
7861
|
"controls": {
|
|
7862
7862
|
"items": {
|
|
7863
7863
|
"properties": {
|
|
7864
|
+
"macroParameterValue": {
|
|
7865
|
+
"maxLength": 10000,
|
|
7866
|
+
"type": "string",
|
|
7867
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7868
|
+
},
|
|
7864
7869
|
"label": {
|
|
7865
7870
|
"$ref": "#/definitions/i18nProperty",
|
|
7866
7871
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7867
7872
|
},
|
|
7868
7873
|
"type": {
|
|
7869
7874
|
"enum": [
|
|
7870
|
-
"
|
|
7871
|
-
"
|
|
7875
|
+
"togglebutton",
|
|
7876
|
+
"TOGGLEBUTTON"
|
|
7872
7877
|
],
|
|
7873
7878
|
"type": "string",
|
|
7874
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7879
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7875
7880
|
},
|
|
7876
7881
|
"key": {
|
|
7877
7882
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -7881,58 +7886,61 @@
|
|
|
7881
7886
|
}
|
|
7882
7887
|
},
|
|
7883
7888
|
"required": [
|
|
7889
|
+
"macroParameterValue",
|
|
7884
7890
|
"label",
|
|
7885
7891
|
"type",
|
|
7886
7892
|
"key"
|
|
7887
7893
|
],
|
|
7888
7894
|
"additionalProperties": true,
|
|
7889
|
-
"shortClassName": "
|
|
7895
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
7890
7896
|
"type": "object",
|
|
7891
|
-
"title": "
|
|
7892
|
-
"description": "\n\nDefines a button which
|
|
7897
|
+
"title": "ToggleButtonControl",
|
|
7898
|
+
"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"
|
|
7893
7899
|
},
|
|
7894
7900
|
"type": "array",
|
|
7895
|
-
"fieldDescription": "\n\
|
|
7901
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7902
|
+
},
|
|
7903
|
+
"macroParameter": {
|
|
7904
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7905
|
+
"maxLength": 100,
|
|
7906
|
+
"type": "string",
|
|
7907
|
+
"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"
|
|
7896
7908
|
},
|
|
7897
7909
|
"type": {
|
|
7898
7910
|
"enum": [
|
|
7899
|
-
"
|
|
7900
|
-
"
|
|
7911
|
+
"togglegroup",
|
|
7912
|
+
"TOGGLEGROUP"
|
|
7901
7913
|
],
|
|
7902
7914
|
"type": "string",
|
|
7903
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7915
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7904
7916
|
}
|
|
7905
7917
|
},
|
|
7906
7918
|
"required": [
|
|
7907
7919
|
"controls",
|
|
7920
|
+
"macroParameter",
|
|
7908
7921
|
"type"
|
|
7909
7922
|
],
|
|
7910
|
-
"shortClassName": "
|
|
7923
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7911
7924
|
"type": "object",
|
|
7912
|
-
"title": "
|
|
7913
|
-
"description": "\n\nDefines a
|
|
7925
|
+
"title": "ToggleGroup",
|
|
7926
|
+
"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"
|
|
7914
7927
|
},
|
|
7915
7928
|
{
|
|
7916
7929
|
"properties": {
|
|
7917
7930
|
"controls": {
|
|
7918
7931
|
"items": {
|
|
7919
7932
|
"properties": {
|
|
7920
|
-
"macroParameterValue": {
|
|
7921
|
-
"maxLength": 10000,
|
|
7922
|
-
"type": "string",
|
|
7923
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7924
|
-
},
|
|
7925
7933
|
"label": {
|
|
7926
7934
|
"$ref": "#/definitions/i18nProperty",
|
|
7927
7935
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7928
7936
|
},
|
|
7929
7937
|
"type": {
|
|
7930
7938
|
"enum": [
|
|
7931
|
-
"
|
|
7932
|
-
"
|
|
7939
|
+
"button",
|
|
7940
|
+
"BUTTON"
|
|
7933
7941
|
],
|
|
7934
7942
|
"type": "string",
|
|
7935
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7943
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7936
7944
|
},
|
|
7937
7945
|
"key": {
|
|
7938
7946
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -7942,44 +7950,36 @@
|
|
|
7942
7950
|
}
|
|
7943
7951
|
},
|
|
7944
7952
|
"required": [
|
|
7945
|
-
"macroParameterValue",
|
|
7946
7953
|
"label",
|
|
7947
7954
|
"type",
|
|
7948
7955
|
"key"
|
|
7949
7956
|
],
|
|
7950
7957
|
"additionalProperties": true,
|
|
7951
|
-
"shortClassName": "
|
|
7958
|
+
"shortClassName": "buttonControlBean",
|
|
7952
7959
|
"type": "object",
|
|
7953
|
-
"title": "
|
|
7954
|
-
"description": "\n\nDefines a
|
|
7960
|
+
"title": "ButtonControl",
|
|
7961
|
+
"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"
|
|
7955
7962
|
},
|
|
7956
7963
|
"type": "array",
|
|
7957
|
-
"fieldDescription": "\n\
|
|
7958
|
-
},
|
|
7959
|
-
"macroParameter": {
|
|
7960
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
7961
|
-
"maxLength": 100,
|
|
7962
|
-
"type": "string",
|
|
7963
|
-
"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"
|
|
7964
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7964
7965
|
},
|
|
7965
7966
|
"type": {
|
|
7966
7967
|
"enum": [
|
|
7967
|
-
"
|
|
7968
|
-
"
|
|
7968
|
+
"group",
|
|
7969
|
+
"GROUP"
|
|
7969
7970
|
],
|
|
7970
7971
|
"type": "string",
|
|
7971
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7972
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7972
7973
|
}
|
|
7973
7974
|
},
|
|
7974
7975
|
"required": [
|
|
7975
7976
|
"controls",
|
|
7976
|
-
"macroParameter",
|
|
7977
7977
|
"type"
|
|
7978
7978
|
],
|
|
7979
|
-
"shortClassName": "
|
|
7979
|
+
"shortClassName": "controlGroupBean",
|
|
7980
7980
|
"type": "object",
|
|
7981
|
-
"title": "
|
|
7982
|
-
"description": "\n\nDefines a
|
|
7981
|
+
"title": "ControlGroup",
|
|
7982
|
+
"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"
|
|
7983
7983
|
},
|
|
7984
7984
|
{
|
|
7985
7985
|
"properties": {
|
|
@@ -8214,10 +8214,10 @@
|
|
|
8214
8214
|
"type": "object",
|
|
8215
8215
|
"anyOf": [
|
|
8216
8216
|
{
|
|
8217
|
-
"$ref": "#/definitions/
|
|
8217
|
+
"$ref": "#/definitions/compositeCondition"
|
|
8218
8218
|
},
|
|
8219
8219
|
{
|
|
8220
|
-
"$ref": "#/definitions/
|
|
8220
|
+
"$ref": "#/definitions/singleCondition"
|
|
8221
8221
|
}
|
|
8222
8222
|
]
|
|
8223
8223
|
},
|
|
@@ -8292,22 +8292,6 @@
|
|
|
8292
8292
|
"title": "Dialog Options",
|
|
8293
8293
|
"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"
|
|
8294
8294
|
},
|
|
8295
|
-
{
|
|
8296
|
-
"properties": {
|
|
8297
|
-
"key": {
|
|
8298
|
-
"maxLength": 100,
|
|
8299
|
-
"type": "string",
|
|
8300
|
-
"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"
|
|
8301
|
-
}
|
|
8302
|
-
},
|
|
8303
|
-
"required": [
|
|
8304
|
-
"key"
|
|
8305
|
-
],
|
|
8306
|
-
"shortClassName": "dialogModuleOptions",
|
|
8307
|
-
"type": "object",
|
|
8308
|
-
"title": "Dialog Module Options",
|
|
8309
|
-
"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"
|
|
8310
|
-
},
|
|
8311
8295
|
{
|
|
8312
8296
|
"properties": {
|
|
8313
8297
|
"offsetX": {
|
|
@@ -8354,6 +8338,22 @@
|
|
|
8354
8338
|
"type": "object",
|
|
8355
8339
|
"title": "Inline Dialog Options",
|
|
8356
8340
|
"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"
|
|
8341
|
+
},
|
|
8342
|
+
{
|
|
8343
|
+
"properties": {
|
|
8344
|
+
"key": {
|
|
8345
|
+
"maxLength": 100,
|
|
8346
|
+
"type": "string",
|
|
8347
|
+
"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"
|
|
8348
|
+
}
|
|
8349
|
+
},
|
|
8350
|
+
"required": [
|
|
8351
|
+
"key"
|
|
8352
|
+
],
|
|
8353
|
+
"shortClassName": "dialogModuleOptions",
|
|
8354
|
+
"type": "object",
|
|
8355
|
+
"title": "Dialog Module Options",
|
|
8356
|
+
"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"
|
|
8357
8357
|
}
|
|
8358
8358
|
]
|
|
8359
8359
|
},
|
|
@@ -9651,10 +9651,10 @@
|
|
|
9651
9651
|
"type": "object",
|
|
9652
9652
|
"anyOf": [
|
|
9653
9653
|
{
|
|
9654
|
-
"$ref": "
|
|
9654
|
+
"$ref": "#"
|
|
9655
9655
|
},
|
|
9656
9656
|
{
|
|
9657
|
-
"$ref": "
|
|
9657
|
+
"$ref": "#/definitions/singleCondition"
|
|
9658
9658
|
}
|
|
9659
9659
|
]
|
|
9660
9660
|
},
|