@forge/manifest 3.3.0-next.4 → 3.3.0-next.7
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 +22 -0
- package/out/schema/manifest-schema.json +311 -147
- package/out/schema/manifest.d.ts +260 -160
- package/out/types/egress-types.d.ts +1 -1
- package/out/types/egress-types.d.ts.map +1 -1
- package/out/types/egress-types.js +3 -1
- package/out/validators/permissions-validator.d.ts +6 -0
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +76 -73
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 3.3.0-next.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e35955: Update manifest definitions
|
|
8
|
+
|
|
9
|
+
## 3.3.0-next.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ad94136: Update manifest definitions
|
|
14
|
+
|
|
15
|
+
## 3.3.0-next.5
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- e95919f: Added blob csp support for script content permissions with manifest validation
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- f894871: Update manifest definitions
|
|
24
|
+
|
|
3
25
|
## 3.3.0-next.4
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -1301,6 +1301,54 @@
|
|
|
1301
1301
|
"maxLength": 255,
|
|
1302
1302
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1303
1303
|
},
|
|
1304
|
+
"expression": {
|
|
1305
|
+
"type": "string"
|
|
1306
|
+
},
|
|
1307
|
+
"errorMessage": {
|
|
1308
|
+
"type": "string"
|
|
1309
|
+
},
|
|
1310
|
+
"view": {
|
|
1311
|
+
"type": "object",
|
|
1312
|
+
"properties": {
|
|
1313
|
+
"resource": {
|
|
1314
|
+
"type": "string",
|
|
1315
|
+
"minLength": 1,
|
|
1316
|
+
"maxLength": 23,
|
|
1317
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"required": [
|
|
1321
|
+
"resource"
|
|
1322
|
+
]
|
|
1323
|
+
},
|
|
1324
|
+
"edit": {
|
|
1325
|
+
"type": "object",
|
|
1326
|
+
"properties": {
|
|
1327
|
+
"resource": {
|
|
1328
|
+
"type": "string",
|
|
1329
|
+
"minLength": 1,
|
|
1330
|
+
"maxLength": 23,
|
|
1331
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"required": [
|
|
1335
|
+
"resource"
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
"create": {
|
|
1339
|
+
"type": "object",
|
|
1340
|
+
"properties": {
|
|
1341
|
+
"resource": {
|
|
1342
|
+
"type": "string",
|
|
1343
|
+
"minLength": 1,
|
|
1344
|
+
"maxLength": 23,
|
|
1345
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
"required": [
|
|
1349
|
+
"resource"
|
|
1350
|
+
]
|
|
1351
|
+
},
|
|
1304
1352
|
"key": {
|
|
1305
1353
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1306
1354
|
}
|
|
@@ -1436,6 +1484,35 @@
|
|
|
1436
1484
|
"function"
|
|
1437
1485
|
]
|
|
1438
1486
|
},
|
|
1487
|
+
"searchSuggestions": {
|
|
1488
|
+
"anyOf": [
|
|
1489
|
+
{
|
|
1490
|
+
"type": "object",
|
|
1491
|
+
"properties": {
|
|
1492
|
+
"function": {
|
|
1493
|
+
"type": "string",
|
|
1494
|
+
"minLength": 1,
|
|
1495
|
+
"maxLength": 255,
|
|
1496
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"required": [
|
|
1500
|
+
"function"
|
|
1501
|
+
]
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"type": "object",
|
|
1505
|
+
"properties": {
|
|
1506
|
+
"expression": {
|
|
1507
|
+
"type": "string"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"required": [
|
|
1511
|
+
"expression"
|
|
1512
|
+
]
|
|
1513
|
+
}
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1439
1516
|
"displayConditions": {
|
|
1440
1517
|
"type": "object",
|
|
1441
1518
|
"properties": {}
|
|
@@ -1570,6 +1647,35 @@
|
|
|
1570
1647
|
"function"
|
|
1571
1648
|
]
|
|
1572
1649
|
},
|
|
1650
|
+
"searchSuggestions": {
|
|
1651
|
+
"anyOf": [
|
|
1652
|
+
{
|
|
1653
|
+
"type": "object",
|
|
1654
|
+
"properties": {
|
|
1655
|
+
"function": {
|
|
1656
|
+
"type": "string",
|
|
1657
|
+
"minLength": 1,
|
|
1658
|
+
"maxLength": 255,
|
|
1659
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"required": [
|
|
1663
|
+
"function"
|
|
1664
|
+
]
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"type": "object",
|
|
1668
|
+
"properties": {
|
|
1669
|
+
"expression": {
|
|
1670
|
+
"type": "string"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"required": [
|
|
1674
|
+
"expression"
|
|
1675
|
+
]
|
|
1676
|
+
}
|
|
1677
|
+
]
|
|
1678
|
+
},
|
|
1573
1679
|
"displayConditions": {
|
|
1574
1680
|
"type": "object",
|
|
1575
1681
|
"properties": {}
|
|
@@ -1698,6 +1804,35 @@
|
|
|
1698
1804
|
"function"
|
|
1699
1805
|
]
|
|
1700
1806
|
},
|
|
1807
|
+
"searchSuggestions": {
|
|
1808
|
+
"anyOf": [
|
|
1809
|
+
{
|
|
1810
|
+
"type": "object",
|
|
1811
|
+
"properties": {
|
|
1812
|
+
"function": {
|
|
1813
|
+
"type": "string",
|
|
1814
|
+
"minLength": 1,
|
|
1815
|
+
"maxLength": 255,
|
|
1816
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
"required": [
|
|
1820
|
+
"function"
|
|
1821
|
+
]
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"type": "object",
|
|
1825
|
+
"properties": {
|
|
1826
|
+
"expression": {
|
|
1827
|
+
"type": "string"
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
"required": [
|
|
1831
|
+
"expression"
|
|
1832
|
+
]
|
|
1833
|
+
}
|
|
1834
|
+
]
|
|
1835
|
+
},
|
|
1701
1836
|
"icon": {
|
|
1702
1837
|
"type": "string",
|
|
1703
1838
|
"minLength": 1,
|
|
@@ -1883,6 +2018,35 @@
|
|
|
1883
2018
|
"function"
|
|
1884
2019
|
]
|
|
1885
2020
|
},
|
|
2021
|
+
"searchSuggestions": {
|
|
2022
|
+
"anyOf": [
|
|
2023
|
+
{
|
|
2024
|
+
"type": "object",
|
|
2025
|
+
"properties": {
|
|
2026
|
+
"function": {
|
|
2027
|
+
"type": "string",
|
|
2028
|
+
"minLength": 1,
|
|
2029
|
+
"maxLength": 255,
|
|
2030
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
"required": [
|
|
2034
|
+
"function"
|
|
2035
|
+
]
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"type": "object",
|
|
2039
|
+
"properties": {
|
|
2040
|
+
"expression": {
|
|
2041
|
+
"type": "string"
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
"required": [
|
|
2045
|
+
"expression"
|
|
2046
|
+
]
|
|
2047
|
+
}
|
|
2048
|
+
]
|
|
2049
|
+
},
|
|
1886
2050
|
"icon": {
|
|
1887
2051
|
"type": "string",
|
|
1888
2052
|
"minLength": 1,
|
|
@@ -7994,10 +8158,10 @@
|
|
|
7994
8158
|
"type": "object",
|
|
7995
8159
|
"anyOf": [
|
|
7996
8160
|
{
|
|
7997
|
-
"$ref": "
|
|
8161
|
+
"$ref": "#"
|
|
7998
8162
|
},
|
|
7999
8163
|
{
|
|
8000
|
-
"$ref": "
|
|
8164
|
+
"$ref": "#/definitions/singleCondition"
|
|
8001
8165
|
}
|
|
8002
8166
|
]
|
|
8003
8167
|
},
|
|
@@ -8292,70 +8456,6 @@
|
|
|
8292
8456
|
"items": {
|
|
8293
8457
|
"type": "object",
|
|
8294
8458
|
"anyOf": [
|
|
8295
|
-
{
|
|
8296
|
-
"properties": {
|
|
8297
|
-
"macroParameter": {
|
|
8298
|
-
"maxLength": 100,
|
|
8299
|
-
"type": "string",
|
|
8300
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
8301
|
-
},
|
|
8302
|
-
"type": {
|
|
8303
|
-
"enum": [
|
|
8304
|
-
"text",
|
|
8305
|
-
"TEXT"
|
|
8306
|
-
],
|
|
8307
|
-
"type": "string",
|
|
8308
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
8309
|
-
},
|
|
8310
|
-
"key": {
|
|
8311
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8312
|
-
"maxLength": 100,
|
|
8313
|
-
"type": "string",
|
|
8314
|
-
"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"
|
|
8315
|
-
}
|
|
8316
|
-
},
|
|
8317
|
-
"required": [
|
|
8318
|
-
"macroParameter",
|
|
8319
|
-
"type",
|
|
8320
|
-
"key"
|
|
8321
|
-
],
|
|
8322
|
-
"shortClassName": "textControlBean",
|
|
8323
|
-
"type": "object",
|
|
8324
|
-
"title": "TextControl",
|
|
8325
|
-
"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"
|
|
8326
|
-
},
|
|
8327
|
-
{
|
|
8328
|
-
"properties": {
|
|
8329
|
-
"label": {
|
|
8330
|
-
"$ref": "#/definitions/i18nProperty",
|
|
8331
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8332
|
-
},
|
|
8333
|
-
"type": {
|
|
8334
|
-
"enum": [
|
|
8335
|
-
"button",
|
|
8336
|
-
"BUTTON"
|
|
8337
|
-
],
|
|
8338
|
-
"type": "string",
|
|
8339
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8340
|
-
},
|
|
8341
|
-
"key": {
|
|
8342
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8343
|
-
"maxLength": 100,
|
|
8344
|
-
"type": "string",
|
|
8345
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8346
|
-
}
|
|
8347
|
-
},
|
|
8348
|
-
"required": [
|
|
8349
|
-
"label",
|
|
8350
|
-
"type",
|
|
8351
|
-
"key"
|
|
8352
|
-
],
|
|
8353
|
-
"additionalProperties": true,
|
|
8354
|
-
"shortClassName": "buttonControlBean",
|
|
8355
|
-
"type": "object",
|
|
8356
|
-
"title": "ButtonControl",
|
|
8357
|
-
"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"
|
|
8358
|
-
},
|
|
8359
8459
|
{
|
|
8360
8460
|
"properties": {
|
|
8361
8461
|
"controls": {
|
|
@@ -8480,6 +8580,70 @@
|
|
|
8480
8580
|
"type": "object",
|
|
8481
8581
|
"title": "ControlGroup",
|
|
8482
8582
|
"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"
|
|
8583
|
+
},
|
|
8584
|
+
{
|
|
8585
|
+
"properties": {
|
|
8586
|
+
"macroParameter": {
|
|
8587
|
+
"maxLength": 100,
|
|
8588
|
+
"type": "string",
|
|
8589
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
8590
|
+
},
|
|
8591
|
+
"type": {
|
|
8592
|
+
"enum": [
|
|
8593
|
+
"text",
|
|
8594
|
+
"TEXT"
|
|
8595
|
+
],
|
|
8596
|
+
"type": "string",
|
|
8597
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
8598
|
+
},
|
|
8599
|
+
"key": {
|
|
8600
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8601
|
+
"maxLength": 100,
|
|
8602
|
+
"type": "string",
|
|
8603
|
+
"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"
|
|
8604
|
+
}
|
|
8605
|
+
},
|
|
8606
|
+
"required": [
|
|
8607
|
+
"macroParameter",
|
|
8608
|
+
"type",
|
|
8609
|
+
"key"
|
|
8610
|
+
],
|
|
8611
|
+
"shortClassName": "textControlBean",
|
|
8612
|
+
"type": "object",
|
|
8613
|
+
"title": "TextControl",
|
|
8614
|
+
"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"
|
|
8615
|
+
},
|
|
8616
|
+
{
|
|
8617
|
+
"properties": {
|
|
8618
|
+
"label": {
|
|
8619
|
+
"$ref": "#/definitions/i18nProperty",
|
|
8620
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8621
|
+
},
|
|
8622
|
+
"type": {
|
|
8623
|
+
"enum": [
|
|
8624
|
+
"button",
|
|
8625
|
+
"BUTTON"
|
|
8626
|
+
],
|
|
8627
|
+
"type": "string",
|
|
8628
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8629
|
+
},
|
|
8630
|
+
"key": {
|
|
8631
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8632
|
+
"maxLength": 100,
|
|
8633
|
+
"type": "string",
|
|
8634
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8635
|
+
}
|
|
8636
|
+
},
|
|
8637
|
+
"required": [
|
|
8638
|
+
"label",
|
|
8639
|
+
"type",
|
|
8640
|
+
"key"
|
|
8641
|
+
],
|
|
8642
|
+
"additionalProperties": true,
|
|
8643
|
+
"shortClassName": "buttonControlBean",
|
|
8644
|
+
"type": "object",
|
|
8645
|
+
"title": "ButtonControl",
|
|
8646
|
+
"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"
|
|
8483
8647
|
}
|
|
8484
8648
|
]
|
|
8485
8649
|
},
|
|
@@ -8774,6 +8938,38 @@
|
|
|
8774
8938
|
"items": {
|
|
8775
8939
|
"type": "object",
|
|
8776
8940
|
"anyOf": [
|
|
8941
|
+
{
|
|
8942
|
+
"properties": {
|
|
8943
|
+
"label": {
|
|
8944
|
+
"$ref": "#/definitions/i18nProperty",
|
|
8945
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8946
|
+
},
|
|
8947
|
+
"type": {
|
|
8948
|
+
"enum": [
|
|
8949
|
+
"button",
|
|
8950
|
+
"BUTTON"
|
|
8951
|
+
],
|
|
8952
|
+
"type": "string",
|
|
8953
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8954
|
+
},
|
|
8955
|
+
"key": {
|
|
8956
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8957
|
+
"maxLength": 100,
|
|
8958
|
+
"type": "string",
|
|
8959
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8960
|
+
}
|
|
8961
|
+
},
|
|
8962
|
+
"required": [
|
|
8963
|
+
"label",
|
|
8964
|
+
"type",
|
|
8965
|
+
"key"
|
|
8966
|
+
],
|
|
8967
|
+
"additionalProperties": true,
|
|
8968
|
+
"shortClassName": "buttonControlBean",
|
|
8969
|
+
"type": "object",
|
|
8970
|
+
"title": "ButtonControl",
|
|
8971
|
+
"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"
|
|
8972
|
+
},
|
|
8777
8973
|
{
|
|
8778
8974
|
"properties": {
|
|
8779
8975
|
"controls": {
|
|
@@ -8899,38 +9095,6 @@
|
|
|
8899
9095
|
"title": "ToggleGroup",
|
|
8900
9096
|
"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"
|
|
8901
9097
|
},
|
|
8902
|
-
{
|
|
8903
|
-
"properties": {
|
|
8904
|
-
"label": {
|
|
8905
|
-
"$ref": "#/definitions/i18nProperty",
|
|
8906
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8907
|
-
},
|
|
8908
|
-
"type": {
|
|
8909
|
-
"enum": [
|
|
8910
|
-
"button",
|
|
8911
|
-
"BUTTON"
|
|
8912
|
-
],
|
|
8913
|
-
"type": "string",
|
|
8914
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8915
|
-
},
|
|
8916
|
-
"key": {
|
|
8917
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8918
|
-
"maxLength": 100,
|
|
8919
|
-
"type": "string",
|
|
8920
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8921
|
-
}
|
|
8922
|
-
},
|
|
8923
|
-
"required": [
|
|
8924
|
-
"label",
|
|
8925
|
-
"type",
|
|
8926
|
-
"key"
|
|
8927
|
-
],
|
|
8928
|
-
"additionalProperties": true,
|
|
8929
|
-
"shortClassName": "buttonControlBean",
|
|
8930
|
-
"type": "object",
|
|
8931
|
-
"title": "ButtonControl",
|
|
8932
|
-
"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"
|
|
8933
|
-
},
|
|
8934
9098
|
{
|
|
8935
9099
|
"properties": {
|
|
8936
9100
|
"macroParameter": {
|
|
@@ -9197,6 +9361,53 @@
|
|
|
9197
9361
|
"type": "object",
|
|
9198
9362
|
"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",
|
|
9199
9363
|
"anyOf": [
|
|
9364
|
+
{
|
|
9365
|
+
"properties": {
|
|
9366
|
+
"offsetX": {
|
|
9367
|
+
"maxLength": 10,
|
|
9368
|
+
"type": "string",
|
|
9369
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
9370
|
+
},
|
|
9371
|
+
"offsetY": {
|
|
9372
|
+
"maxLength": 10,
|
|
9373
|
+
"type": "string",
|
|
9374
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
9375
|
+
},
|
|
9376
|
+
"width": {
|
|
9377
|
+
"maxLength": 10,
|
|
9378
|
+
"type": "string",
|
|
9379
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
9380
|
+
},
|
|
9381
|
+
"onTop": {
|
|
9382
|
+
"type": "boolean",
|
|
9383
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
9384
|
+
},
|
|
9385
|
+
"showDelay": {
|
|
9386
|
+
"type": "integer",
|
|
9387
|
+
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
9388
|
+
},
|
|
9389
|
+
"closeOthers": {
|
|
9390
|
+
"type": "boolean",
|
|
9391
|
+
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
9392
|
+
},
|
|
9393
|
+
"persistent": {
|
|
9394
|
+
"type": "boolean",
|
|
9395
|
+
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
9396
|
+
},
|
|
9397
|
+
"onHover": {
|
|
9398
|
+
"type": "boolean",
|
|
9399
|
+
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
9400
|
+
},
|
|
9401
|
+
"isRelativeToMouse": {
|
|
9402
|
+
"type": "boolean",
|
|
9403
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
9404
|
+
}
|
|
9405
|
+
},
|
|
9406
|
+
"shortClassName": "inlineDialogOptions",
|
|
9407
|
+
"type": "object",
|
|
9408
|
+
"title": "Inline Dialog Options",
|
|
9409
|
+
"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"
|
|
9410
|
+
},
|
|
9200
9411
|
{
|
|
9201
9412
|
"properties": {
|
|
9202
9413
|
"size": {
|
|
@@ -9257,53 +9468,6 @@
|
|
|
9257
9468
|
"type": "object",
|
|
9258
9469
|
"title": "Dialog Module Options",
|
|
9259
9470
|
"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"
|
|
9260
|
-
},
|
|
9261
|
-
{
|
|
9262
|
-
"properties": {
|
|
9263
|
-
"offsetX": {
|
|
9264
|
-
"maxLength": 10,
|
|
9265
|
-
"type": "string",
|
|
9266
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
9267
|
-
},
|
|
9268
|
-
"offsetY": {
|
|
9269
|
-
"maxLength": 10,
|
|
9270
|
-
"type": "string",
|
|
9271
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
9272
|
-
},
|
|
9273
|
-
"width": {
|
|
9274
|
-
"maxLength": 10,
|
|
9275
|
-
"type": "string",
|
|
9276
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
9277
|
-
},
|
|
9278
|
-
"onTop": {
|
|
9279
|
-
"type": "boolean",
|
|
9280
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
9281
|
-
},
|
|
9282
|
-
"showDelay": {
|
|
9283
|
-
"type": "integer",
|
|
9284
|
-
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
9285
|
-
},
|
|
9286
|
-
"closeOthers": {
|
|
9287
|
-
"type": "boolean",
|
|
9288
|
-
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
9289
|
-
},
|
|
9290
|
-
"persistent": {
|
|
9291
|
-
"type": "boolean",
|
|
9292
|
-
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
9293
|
-
},
|
|
9294
|
-
"onHover": {
|
|
9295
|
-
"type": "boolean",
|
|
9296
|
-
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
9297
|
-
},
|
|
9298
|
-
"isRelativeToMouse": {
|
|
9299
|
-
"type": "boolean",
|
|
9300
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
9301
|
-
}
|
|
9302
|
-
},
|
|
9303
|
-
"shortClassName": "inlineDialogOptions",
|
|
9304
|
-
"type": "object",
|
|
9305
|
-
"title": "Inline Dialog Options",
|
|
9306
|
-
"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"
|
|
9307
9471
|
}
|
|
9308
9472
|
]
|
|
9309
9473
|
},
|
|
@@ -10636,10 +10800,10 @@
|
|
|
10636
10800
|
"type": "object",
|
|
10637
10801
|
"anyOf": [
|
|
10638
10802
|
{
|
|
10639
|
-
"$ref": "
|
|
10803
|
+
"$ref": "#"
|
|
10640
10804
|
},
|
|
10641
10805
|
{
|
|
10642
|
-
"$ref": "
|
|
10806
|
+
"$ref": "#/definitions/singleCondition"
|
|
10643
10807
|
}
|
|
10644
10808
|
]
|
|
10645
10809
|
},
|