SAT9/.resources/e3431e02044c57f72c19d6c35605e54a6dcfd86715ad2aee42aaa98d3f82eb49
2025-05-01 00:04:09 -07:00

198 lines
4.7 KiB
Plaintext

{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 301,
"width": 493
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50px",
"grow": 1
},
"props": {
"text": "alarms.csv"
},
"type": "ia.display.label"
},
{
"events": {
"component": {
"onFileReceived": {
"config": {
"script": "\tpayload\u003d{\"fileContent\":event.file.getString(),\"fileName\":event.file.name}\n\tsystem.perspective.sendMessage(\"alarmsTab_importFile\",payload)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "FileUpload"
},
"position": {
"basis": "200px"
},
"props": {
"style": {
"classes": "",
"margin": "10px"
},
"supportedFileTypes": [
"csv"
]
},
"type": "ia.input.fileupload"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "200px",
"grow": 1
},
"props": {
"style": {
"margin": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50px",
"grow": 1
},
"props": {
"text": "sources.csv"
},
"type": "ia.display.label"
},
{
"events": {
"component": {
"onFileReceived": {
"config": {
"script": "\tpayload\u003d{\"fileContent\":event.file.getString(),\"fileName\":event.file.name}\n\tsystem.perspective.sendMessage(\"sourcesTab_importFile\",payload)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "FileUpload"
},
"position": {
"basis": "200px"
},
"props": {
"style": {
"classes": "",
"margin": "10px"
},
"supportedFileTypes": [
"csv"
]
},
"type": "ia.input.fileupload"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "200px",
"grow": 1
},
"props": {
"style": {
"margin": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50px",
"grow": 1
},
"props": {
"text": "Pick up where you left off ?"
},
"type": "ia.display.label"
},
{
"events": {
"component": {
"onFileReceived": {
"config": {
"script": "\tpayload\u003d{\"fileContent\":event.file.getString(),\"fileName\":event.file.name}\n\tsystem.perspective.sendMessage(\"uploadBackup\",payload)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "FileUpload"
},
"position": {
"basis": "200px"
},
"props": {
"style": {
"classes": "",
"margin": "10px"
},
"supportedFileTypes": [
"csv"
]
},
"type": "ia.input.fileupload"
}
],
"meta": {
"name": "FlexContainer_1"
},
"position": {
"basis": "200px",
"grow": 1
},
"props": {
"style": {
"margin": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
}