Files
bflows-bandi-fe/src/tempData.js
2024-08-27 17:11:56 +02:00

331 lines
8.5 KiB
JavaScript

export const bandoTest = {
"name": "Innovazione digitale 2024",
"confidi": false,
"descriptionShort": "Supporto alle PMI per progetti di digitalizzazione e innovazione tecnologica.",
"descriptionLong": "Il bando \"Innovazione Digitale 2024\" mira a sostenere le PMI nell'adozione di tecnologie digitali innovative. I progetti finanziabili includono l'implementazione di soluzioni di intelligenza artificiale, blockchain, IoT, e altre tecnologie avanzate che possono migliorare la competitività delle imprese.",
"documentationRequested": "Documentazione richiesta*",
"dates": [
"2024-08-27T22:00:00.000Z",
"2024-10-29T23:00:00.000Z"
],
"amount": 10000,
"amountMax": 2500,
"aimedTo": [
{
"id": 3,
"value": "PMI con sede in Umbria",
"status": "existing"
}
],
"faq": [
{
"id": 2,
"question": "Question 1?",
"answer": "Lorem ipsum dolor",
"visible": true,
"status": "existing"
}
],
status: 'draft',
id: 11,
createdDate: "2024-08-07T08:14:07.849Z",
updatedDate: "2024-08-07T08:14:07.849Z",
"documentation":[
{
"id":18,
"name":"SCR-20240820-kiwn.pdf",
"filePath":"https://mementoresources.s3.eu-west-1.amazonaws.com/gepafin/SCR-20240820-kiwn.pdf",
"description":null,
"createdDate":"2024-08-26T06:51:11.800799252",
"updatedDate":"2024-08-26T06:51:11.800826092"
}
],
"criteria":[
{
"id":null,
"value":"Innovatività del progetto",
"status":"new",
"score":9
},
{
"id":null,
"value":"Impatto sulla competitività dell'azienda",
"status":"new",
"score":3
},
{
"id":null,
"value":"Sostenibilità economico-finanziaria",
"status":"new",
"score":5
}
],
"threshold":11,
"images":[
{
"id":19,
"name":"photo-1618245318763-a15156d6b23c.avif",
"filePath":"https://mementoresources.s3.eu-west-1.amazonaws.com/gepafin/photo-1618245318763-a15156d6b23c.avif",
"description":null,
"createdDate":"2024-08-26T07:28:16.954763338",
"updatedDate":"2024-08-26T07:28:16.954843237"
}
],
"checklist":[
{
"id":null,
"value":"Innovatività del progetto",
"status":"new"
},
{
"id":null,
"value":"Some new check",
"status":"new"
},
{
"id":null,
"value":"Check #2",
"status":"new"
}
]
}
export const formData = {
id: 15,
label: 'La forma per Innovazione digitale 2024',
content: [
{
"id": "aec5ee1885",
"name": "textinput",
"label": "Text Input",
"settings": [
{
"name": "label",
"value": "Text input"
},
{
"name": "placeholder",
"value": "Placeholder text"
}
],
"validators": {
"isRequired": false,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": null
},
"dbId": 1
},
{
"id": "a730f1f4d0",
"name": "textarea",
"label": "Text Area",
"settings": [
{
"name": "label",
"value": "Text area"
},
{
"name": "placeholder",
"value": "Placeholder text"
}
],
"validators": {
"isRequired": false,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": null
},
"dbId": 2
},
{
"id": "aa8746a7c3",
"name": "textinput",
"label": "P.IVA",
"settings": [
{
"name": "label",
"value": "P.IVA"
},
{
"name": "placeholder",
"value": "Insert p.iva number"
}
],
"validators": {
"isRequired": true,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": "isValidVAT"
},
"dbId": 4
},
{
"id": "ae3dde17cd",
"name": "radio",
"label": "Radio Input",
"settings": [
{
"name": "label",
"value": "Radio input"
},
{
"name": "options",
"value": [
{
"name": "opt1",
"label": "Opt1"
}
]
}
],
"validators": {
"isRequired": false,
"min": null,
"max": null,
"custom": null
},
"dbId": 5
},
{
"id": "abf838016f",
"name": "textinput",
"label": "Number Input",
"settings": [
{
"name": "label",
"value": "Number"
},
{
"name": "placeholder",
"value": ""
}
],
"validators": {
"isRequired": false,
"min": null,
"max": null,
"pattern": null,
"custom": null
},
"dbId": 3
}
]
};
export const elementItems = [
{
id: 1,
name: 'textinput',
label: 'Text Input',
settings: [
{
name: "label",
value: "Text input"
},
{
name: "placeholder",
value: "Placeholder text"
}
],
validators: {
isRequired: false,
minLength: null,
maxLength: null,
pattern: null,
custom: null
}
},
{
id: 2,
name: 'textarea',
label: 'Text Area',
settings: [
{
name: "label",
value: "Text area"
},
{
name: "placeholder",
value: "Placeholder text"
}
],
validators: {
isRequired: false,
minLength: null,
maxLength: null,
pattern: null,
custom: null
}
},
{
id: 3,
name: 'textinput',
label: 'Number Input',
settings: [
{
name: "label",
value: "Number"
},
{
name: "placeholder",
value: ""
}
],
validators: {
isRequired: false,
min: null,
max: null,
pattern: null,
custom: null
}
},
{
id: 4,
name: 'textinput',
label: 'P.IVA',
settings: [
{
name: "label",
value: "P.IVA"
},
{
name: "placeholder",
value: "Insert p.iva number"
}
],
validators: {
isRequired: true,
minLength: null,
maxLength: null,
pattern: null,
custom: 'isValidVAT'
}
},
{
id: 5,
name: 'radio',
label: 'Radio Input',
settings: [
{
name: "label",
value: "Radio input"
},
{
name: "options",
value: [
{ name: "opt1", label: "Opt1" }
]
}
],
validators: {
isRequired: false,
min: null,
max: null,
custom: null
}
}
]