Initial commit
This commit is contained in:
75
application/Espo/Resources/metadata/dashlets/Emails.json
Normal file
75
application/Espo/Resources/metadata/dashlets/Emails.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"view": "views/dashlets/emails",
|
||||
"aclScope": "Email",
|
||||
"entityType": "Email",
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"folder": {
|
||||
"type": "enum",
|
||||
"view": "views/dashlets/fields/emails/folder"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "dateSent",
|
||||
"order": "desc",
|
||||
"displayRecords": 5,
|
||||
"folder": null,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "subject",
|
||||
"link": true
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "dateSent",
|
||||
"view": "views/fields/datetime-short"
|
||||
},
|
||||
{
|
||||
"name": "personStringData",
|
||||
"view": "views/email/fields/person-string-data-for-expanded"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "folder"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
34
application/Espo/Resources/metadata/dashlets/Iframe.json
Normal file
34
application/Espo/Resources/metadata/dashlets/Iframe.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"url": {
|
||||
"type": "url",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"autorefreshInterval": 0
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "url"},
|
||||
{"name": "autorefreshInterval"}
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
27
application/Espo/Resources/metadata/dashlets/Memo.json
Normal file
27
application/Espo/Resources/metadata/dashlets/Memo.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"view": "views/dashlets/memo",
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"text": {
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
"defaults": {},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "text"}
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
79
application/Espo/Resources/metadata/dashlets/Records.json
Normal file
79
application/Espo/Resources/metadata/dashlets/Records.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 40
|
||||
},
|
||||
"entityType": {
|
||||
"type": "enum",
|
||||
"view": "views/dashlets/fields/records/entity-type",
|
||||
"translation": "Global.scopeNames"
|
||||
},
|
||||
"primaryFilter": {
|
||||
"type": "enum",
|
||||
"view": "views/dashlets/fields/records/primary-filter"
|
||||
},
|
||||
"boolFilterList": {
|
||||
"type": "multiEnum",
|
||||
"view": "views/dashlets/fields/records/bool-filter-list"
|
||||
},
|
||||
"sortBy": {
|
||||
"type": "enum",
|
||||
"view": "views/dashlets/fields/records/sort-by"
|
||||
},
|
||||
"sortDirection": {
|
||||
"type": "enum",
|
||||
"view": "views/dashlets/fields/records/sort-direction",
|
||||
"options": ["asc", "desc"],
|
||||
"translation": "DashletOptions.options.sortDirection"
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"displayRecords": 10,
|
||||
"autorefreshInterval": 0.5,
|
||||
"expandedLayout": {
|
||||
"rows": []
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "entityType"},
|
||||
{"name": "displayRecords"}
|
||||
],
|
||||
[
|
||||
{"name": "primaryFilter"},
|
||||
{"name": "sortBy"}
|
||||
],
|
||||
[
|
||||
{"name": "boolFilterList"},
|
||||
{"name": "sortDirection"}
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
45
application/Espo/Resources/metadata/dashlets/Stream.json
Normal file
45
application/Espo/Resources/metadata/dashlets/Stream.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"skipOwn": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"displayRecords": 10,
|
||||
"autorefreshInterval": 0.5,
|
||||
"skipOwn": false
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "skipOwn"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user