vaadin / starters

Issue repository for all the starter projects in https://vaadin.com/start
3 stars 0 forks source link

Problem creating new starter #150

Closed leandro-costa closed 9 months ago

leandro-costa commented 10 months ago

I was unable to download my application from start.vaadin.com.

This was the configuration used:

{
"applicationConfiguration": {
"projectName": "Rubrica",
"groupId": "br.edu.ifba.saj",
"vaadinVersion": "v24",
"codeGeneration": "JAVA",
"dockerConfiguration": false,
"kubernetesConfiguration": false,
"alwaysGenerateBackend": true,
"javaVersion": "17",
"access": "PUBLIC",
"experimentalFeatures": [],
"git": true,
"runOnRandomPort": false,
"artifactId": "rubrica",
"sizingFeatureEnabled": true,
"packageManager": "PNPM",
"database": "H2",
"generatedProjectId": "2c57b37b-73b6-424a-8611-8a9761a5f394"
},
"theme": {
"componentStyles": {},
"variant": "light",
"styles": ""
},
"views": [
{
"name": "Main",
"type": "menu-on-left-layout",
"route": "",
"entityId": -1,
"children": [
{
"name": "Sistema para rubricas",
"type": "empty-view",
"route": "about",
"entityId": -1,
"children": [],
"generateTestData": false,
"generateUrlTemplate": false,
"icon": "file",
"id": 2
},
{
"id": 3,
"name": "Aluno Form",
"type": "person-form-view",
"route": "aluno-form",
"icon": "address-book",
"entityId": 1,
"access": "",
"children": [],
"generateTestData": false,
"generateUrlTemplate": false,
"componentModel": {
"children": [
{
"parameters": {
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Dados do Aluno",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"label": "Nome",
"parentLayoutType": "layout-row"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
}
}
]
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"label": "Matrícula",
"parentLayoutType": "layout-row"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {}
}
}
}
]
},
{
"parameters": {
"parentLayoutType": "layout-column",
"gap": "m",
"padding": "xs",
"alignItems": "center-end"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
],
"default": {
"children": [
{
"parameters": {
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Personal Information",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"parentLayoutType": "layout-column"
},
"type": "form-layout-2-col",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
},
"children": [
{
"parameters": {
"label": "First Name",
"parentLayoutType": "layout-column"
},
"type": "text-field"
},
{
"parameters": {
"label": "Last Name",
"parentLayoutType": "layout-column"
},
"type": "text-field"
},
{
"parameters": {
"label": "Birthday",
"parentLayoutType": "layout-column"
},
"type": "date-picker"
},
{
"parameters": {
"label": "Phone Number",
"parentLayoutType": "layout-row"
},
"type": "text-field"
},
{
"parameters": {
"label": "Email",
"parentLayoutType": "layout-column"
},
"type": "email-field"
},
{
"parameters": {
"label": "Occupation",
"parentLayoutType": "layout-column"
},
"type": "text-field"
}
]
},
{
"parameters": {
"parentLayoutType": "layout-column",
"gap": "m"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
],
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"type": "layout-column"
},
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"type": "layout-column"
}
},
{
"id": 4,
"name": "Rubrica Form",
"type": "address-form-view",
"route": "rubrica-form",
"icon": "audible",
"entityId": 2,
"children": [],
"generateTestData": false,
"generateUrlTemplate": false,
"componentModel": {
"children": [
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Rubrica",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Nome",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column",
"alignItems": "center-end"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
],
"default": {
"type": "layout-column",
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Address",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Street address",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"parentLayoutType": "layout-column"
},
"type": "form-layout-2-col",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
},
"children": [
{
"parameters": {
"label": "Postal code"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "City"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "State"
},
"items": [
{
"label": "State 1",
"value": "state1"
},
{
"label": "State 2",
"value": "state2"
},
{
"label": "State 3",
"value": "state3"
}
],
"type": "select",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Country"
},
"items": [
{
"label": "Country 1",
"value": "country1"
},
{
"label": "Country 2",
"value": "country2"
},
{
"label": "Country 3",
"value": "country3"
}
],
"type": "select",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
]
},
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"type": "layout-column"
}
},
{
"id": 5,
"name": "Item Rubrica Form",
"type": "address-form-view",
"route": "item-rubrica-form",
"icon": "pencil-ruler-solid",
"entityId": 2,
"children": [],
"generateTestData": false,
"generateUrlTemplate": false,
"componentModel": {
"children": [
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Item Rubrica",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Descrição",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Valor máximo",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column",
"alignItems": "center-end"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
],
"default": {
"type": "layout-column",
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Address",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Street address",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"parentLayoutType": "layout-column"
},
"type": "form-layout-2-col",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
},
"children": [
{
"parameters": {
"label": "Postal code"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "City"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "State"
},
"items": [
{
"label": "State 1",
"value": "state1"
},
{
"label": "State 2",
"value": "state2"
},
{
"label": "State 3",
"value": "state3"
}
],
"type": "select",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Country"
},
"items": [
{
"label": "Country 1",
"value": "country1"
},
{
"label": "Country 2",
"value": "country2"
},
{
"label": "Country 3",
"value": "country3"
}
],
"type": "select",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
]
},
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"type": "layout-column"
}
},
{
"id": 6,
"name": "Avaliacao Form",
"type": "address-form-view",
"route": "avaliacao-form",
"icon": "school-solid",
"entityId": 2,
"children": [],
"generateTestData": false,
"generateUrlTemplate": false,
"componentModel": {
"children": [
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Registro de Avaliação",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Aluno",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Rubrica",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column",
"alignItems": "center-end"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
],
"default": {
"type": "layout-column",
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"children": [
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"padding": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-column",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%",
"max-width": "800px"
},
"maxValue": "800px"
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Address",
"parentLayoutType": "layout-column"
},
"type": "h3",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Street address",
"parentLayoutType": "layout-column"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"parentLayoutType": "layout-column"
},
"type": "form-layout-2-col",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {}
}
},
"children": [
{
"parameters": {
"label": "Postal code"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "City"
},
"type": "text-field",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "State"
},
"items": [
{
"label": "State 1",
"value": "state1"
},
{
"label": "State 2",
"value": "state2"
},
{
"label": "State 3",
"value": "state3"
}
],
"type": "select",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"label": "Country"
},
"items": [
{
"label": "Country 1",
"value": "country1"
},
{
"label": "Country 2",
"value": "country2"
},
{
"label": "Country 3",
"value": "country3"
}
],
"type": "select",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
},
{
"parameters": {
"crossLength": "100%",
"mainLength": "100%",
"gap": "m",
"parentLayoutType": "layout-column"
},
"type": "layout-row",
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "hug",
"styles": {
"height": "min-content"
}
}
},
"children": [
{
"parameters": {
"text": "Save",
"parentLayoutType": "layout-row"
},
"type": "button-primary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
},
{
"parameters": {
"text": "Cancel",
"parentLayoutType": "layout-row"
},
"type": "button-secondary",
"sizingParams": {
"width": {
"mode": "hug",
"styles": {
"width": "min-content"
}
},
"height": {
"mode": "hug",
"styles": {}
}
}
}
]
}
]
}
]
},
"parameters": {
"gap": "m",
"padding": "m",
"alignItems": "start-center"
},
"sizingParams": {
"width": {
"mode": "fill",
"styles": {
"width": "100%"
}
},
"height": {
"mode": "fill",
"styles": {
"flex-grow": "1"
}
}
},
"type": "layout-column"
}
}
],
"generateTestData": false,
"generateUrlTemplate": false,
"id": 0
}
],
"entities": [
{
"id": 1,
"name": "SamplePerson",
"fields": [
{
"name": "id",
"dataType": "ID",
"editorType": "vaadin-text-field",
"fieldType": "Integer",
"uiType": "Text",
"validators": []
},
{
"name": "firstName",
"dataType": "FIRST_NAME",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "lastName",
"dataType": "LAST_NAME",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "email",
"dataType": "EMAIL",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": [
"jakarta.validation.constraints.Email"
]
},
{
"name": "phone",
"dataType": "PHONE_NUMBER",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "dateOfBirth",
"dataType": "DATE_OF_BIRTH",
"editorType": "vaadin-date-picker",
"fieldType": "LocalDate",
"uiType": "Text",
"validators": [
"jakarta.annotation.Nullable"
]
},
{
"name": "occupation",
"dataType": "OCCUPATION",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "role",
"dataType": "WORK_ROLE",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "important",
"dataType": "BOOLEAN_10_90",
"editorType": "vaadin-checkbox",
"fieldType": "boolean",
"uiType": "Checkbox",
"validators": []
}
]
},
{
"id": 2,
"name": "SampleAddress",
"fields": [
{
"name": "id",
"dataType": "ID",
"editorType": "vaadin-text-field",
"fieldType": "Integer",
"uiType": "Text",
"validators": []
},
{
"name": "street",
"dataType": "ADDRESS",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "postalCode",
"dataType": "ZIP_CODE",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "city",
"dataType": "CITY",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "state",
"dataType": "STATE",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
},
{
"name": "country",
"dataType": "COUNTRY",
"editorType": "vaadin-text-field",
"fieldType": "String",
"uiType": "Text",
"validators": []
}
]
}
]
}
MarcinVaadin commented 9 months ago

Issue assigned for investigation

MarcinVaadin commented 9 months ago

Same issue as in https://github.com/vaadin/starters/issues/157, fix implemented, will be released today.