Skip to content

Commit

Permalink
chore(ui5-tooling-modules): finalize tests for metadata generation
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ze committed Dec 11, 2024
1 parent dc7b6c9 commit 3fd1260
Show file tree
Hide file tree
Showing 51 changed files with 3,300 additions and 2,893 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"namespace": "@ui5/webcomponents-ai",
"tag": "ui5-ai-button",
"interfaces": [],
"properties": {
"design": { "type": "@ui5/webcomponents.ButtonDesign", "mapping": "property", "defaultValue": "Default" },
"enabled": { "type": "boolean", "defaultValue": "true", "mapping": { "type": "property", "to": "disabled", "formatter": "_mapEnabled" } },
"state": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": { "states": { "type": "@ui5/webcomponents-ai.ButtonState", "multiple": true } },
"associations": {},
"events": { "click": {} },
"getters": [],
"methods": [],
"defaultAggregation": "states"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"namespace": "@ui5/webcomponents-ai",
"tag": "ui5-ai-button-state",
"interfaces": [],
"properties": {
"name": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "property" },
"icon": { "type": "string", "mapping": "property" },
"endIcon": { "type": "string", "mapping": "property" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": {},
"associations": {},
"events": {},
"getters": [],
"methods": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"namespace": "@ui5/webcomponents-ai",
"tag": "ui5-ai-prompt-input",
"interfaces": [],
"properties": {
"value": { "type": "string", "mapping": "property", "defaultValue": "" },
"placeholder": { "type": "string", "mapping": "property" },
"label": { "type": "string", "mapping": "property" },
"showClearIcon": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showExceededText": { "type": "boolean", "mapping": "property", "defaultValue": false },
"enabled": { "type": "boolean", "defaultValue": "true", "mapping": { "type": "property", "to": "disabled", "formatter": "_mapEnabled" } },
"readonly": { "type": "boolean", "mapping": "property", "defaultValue": false },
"maxlength": { "type": "float", "mapping": "property" },
"valueState": { "type": "sap.ui.core.ValueState", "mapping": { "formatter": "_mapValueState", "parser": "_parseValueState" }, "defaultValue": "None" },
"showSuggestions": { "type": "boolean", "mapping": "property", "defaultValue": false },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"valueStateText": { "name": "valueStateText", "type": "string", "defaultValue": "", "mapping": { "type": "slot", "slotName": "valueStateMessage", "to": "div" } }
},
"aggregations": { "suggestionItems": { "type": "sap.ui.core.Control", "multiple": true } },
"associations": {},
"events": { "submit": {}, "input": {}, "change": {} },
"getters": [],
"methods": [],
"defaultAggregation": "suggestionItems"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"getFocusDomRefAsync",
"focus",
"fireEvent",
"fireDecoratorEvent",
"getSlottedNodes",
"attachComponentStateFinalized",
"detachComponentStateFinalized",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": {},
"aggregations": { "header": { "type": "sap.ui.core.Control", "multiple": true, "slot": "header" }, "footer": { "type": "sap.ui.core.Control", "multiple": true, "slot": "footer" } },
"associations": {},
"events": { "close": {}, "scanSuccess": {}, "scanError": {} },
"getters": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"namespace": "@ui5/webcomponents-fiori",
"tag": "ui5-navigation-layout",
"interfaces": [],
"properties": {
"sideCollapsed": { "type": "boolean", "mapping": "property", "defaultValue": false },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": {
"header": { "type": "sap.ui.core.Control", "multiple": true, "slot": "header" },
"sideContent": { "type": "@ui5/webcomponents-fiori.SideNavigation", "multiple": true, "slot": "sideContent" },
"content": { "type": "sap.ui.core.Control", "multiple": true }
},
"associations": {},
"events": {},
"getters": [],
"methods": [],
"defaultAggregation": "content"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"aggregations": { "items": { "type": "@ui5/webcomponents-fiori.UploadCollectionItem", "multiple": true }, "header": { "type": "sap.ui.core.Control", "multiple": true, "slot": "header" } },
"associations": {},
"events": { "drop": {}, "itemDelete": {}, "selectionChange": {} },
"events": { "itemDelete": {}, "selectionChange": {} },
"getters": [],
"methods": [],
"defaultAggregation": "items"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"namespace": "@ui5/webcomponents-fiori",
"tag": "ui5-user-menu",
"interfaces": [],
"properties": {
"open": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showManageAccount": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showOtherAccounts": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showAddAccount": { "type": "boolean", "mapping": "property", "defaultValue": false },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": {
"menuItems": { "type": "@ui5/webcomponents-fiori.UserMenuItem", "multiple": true },
"accounts": { "type": "@ui5/webcomponents-fiori.UserMenuAccount", "multiple": true, "slot": "accounts" }
},
"associations": { "opener": { "type": "sap.ui.core.Control", "mapping": { "type": "property", "to": "opener" } } },
"events": { "avatarClick": {}, "manageAccountClick": {}, "addAccountClick": {}, "changeAccount": {}, "itemClick": {}, "signOutClick": {} },
"getters": [],
"methods": [],
"defaultAggregation": "menuItems"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"namespace": "@ui5/webcomponents-fiori",
"tag": "ui5-user-menu-account",
"interfaces": [],
"properties": {
"avatarSrc": { "type": "string", "mapping": "property", "defaultValue": "" },
"avatarInitials": { "type": "string", "mapping": "property" },
"titleText": { "type": "string", "mapping": "property", "defaultValue": "" },
"subtitleText": { "type": "string", "mapping": "property", "defaultValue": "" },
"description": { "type": "string", "mapping": "property", "defaultValue": "" },
"selected": { "type": "boolean", "mapping": "property", "defaultValue": false },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": {},
"associations": {},
"events": {},
"getters": [],
"methods": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"namespace": "@ui5/webcomponents-fiori",
"tag": "ui5-user-menu-item",
"interfaces": [],
"properties": {
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": { "items": { "type": "@ui5/webcomponents-fiori.UserMenuItem", "multiple": true } },
"associations": {},
"events": {},
"getters": [],
"methods": [],
"defaultAggregation": "items"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"tooltip": { "type": "string", "mapping": "property" },
"accessibleName": { "type": "string", "mapping": "property" },
"accessibilityAttributes": { "type": "object", "mapping": "property", "defaultValue": {} },
"accessibleDescription": { "type": "string", "mapping": "property" },
"type": { "type": "@ui5/webcomponents.ButtonType", "mapping": "property", "defaultValue": "Button" },
"accessibleRole": { "type": "@ui5/webcomponents.ButtonAccessibleRole", "mapping": "property", "defaultValue": "Button" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"properties": {
"value": { "type": "string", "mapping": "property", "defaultValue": "rgba(255,255,255,1)" },
"name": { "type": "string", "mapping": "property" },
"simplified": { "type": "boolean", "mapping": "property", "defaultValue": false },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"interfaces": ["@ui5/webcomponents.IComboBoxItem"],
"properties": {
"headerText": { "type": "string", "mapping": "property" },
"headerAccessibleName": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": { "items": { "type": "@ui5/webcomponents.IComboBoxItem", "multiple": true } },
"aggregations": { "items": { "type": "@ui5/webcomponents.ComboBoxItem", "multiple": true } },
"associations": {},
"events": {},
"events": { "moveOver": {}, "move": {} },
"getters": [],
"methods": [],
"defaultAggregation": "items"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"associations": {
"ariaLabelledBy": { "type": "sap.ui.core.Control", "multiple": true, "mapping": { "type": "property", "to": "accessibleNameRef", "formatter": "_getAriaLabelledByForRendering" } }
},
"events": { "change": {}, "input": {}, "valueStateChange": {} },
"events": { "change": {}, "input": {}, "valueStateChange": {}, "open": {}, "close": {} },
"getters": ["dateValue"],
"methods": ["isValid", "isInValidRange", "formatValue"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"associations": {
"ariaLabelledBy": { "type": "sap.ui.core.Control", "multiple": true, "mapping": { "type": "property", "to": "accessibleNameRef", "formatter": "_getAriaLabelledByForRendering" } }
},
"events": { "change": {}, "input": {}, "valueStateChange": {} },
"events": { "change": {}, "input": {}, "valueStateChange": {}, "open": {}, "close": {} },
"getters": ["dateValue", "dateValueUTC", "startDateValue", "endDateValue"],
"methods": ["isValid", "isInValidRange", "formatValue"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"associations": {
"ariaLabelledBy": { "type": "sap.ui.core.Control", "multiple": true, "mapping": { "type": "property", "to": "accessibleNameRef", "formatter": "_getAriaLabelledByForRendering" } }
},
"events": { "change": {}, "input": {}, "valueStateChange": {} },
"events": { "change": {}, "input": {}, "valueStateChange": {}, "open": {}, "close": {} },
"getters": ["dateValue"],
"methods": ["isValid", "isInValidRange", "formatValue"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"tag": "ui5-form",
"interfaces": [],
"properties": {
"layout": { "type": "string", "mapping": "property", "defaultValue": "S1 M1 L2 XL2" },
"layout": { "type": "string", "mapping": "property", "defaultValue": "S1 M1 L2 XL3" },
"labelSpan": { "type": "string", "mapping": "property", "defaultValue": "S12 M4 L4 XL4" },
"emptySpan": { "type": "string", "mapping": "property", "defaultValue": "S0 M0 L0 XL0" },
"headerText": { "type": "string", "mapping": "property" },
"itemSpacing": { "type": "@ui5/webcomponents.FormItemSpacing", "mapping": "property", "defaultValue": "Normal" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"accessibleName": { "type": "string", "mapping": "property" },
"accessibleRole": { "type": "@ui5/webcomponents.LinkAccessibleRole", "mapping": "property", "defaultValue": "Link" },
"accessibilityAttributes": { "type": "object", "mapping": "property", "defaultValue": {} },
"accessibleDescription": { "type": "string", "mapping": "property" },
"icon": { "type": "string", "mapping": "property" },
"endIcon": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"loading": { "type": "boolean", "mapping": "property", "defaultValue": false },
"loadingDelay": { "type": "float", "mapping": "property", "defaultValue": 1000 },
"accessibleName": { "type": "string", "mapping": "property" },
"accessibleDescription": { "type": "string", "mapping": "property" },
"accessibleDescriptionRef": { "type": "string", "mapping": "property" },
"accessibleRole": { "type": "@ui5/webcomponents.ListAccessibleRole", "mapping": "property", "defaultValue": "List" },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"interfaces": ["@ui5/webcomponents.IMultiComboBoxItem"],
"properties": {
"headerText": { "type": "string", "mapping": "property" },
"headerAccessibleName": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": { "items": { "type": "@ui5/webcomponents.MultiComboBoxItem", "multiple": true } },
"associations": {},
"events": {},
"events": { "moveOver": {}, "move": {} },
"getters": [],
"methods": [],
"defaultAggregation": "items"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"namespace": "@ui5/webcomponents",
"tag": "ui5-option",
"interfaces": [],
"interfaces": ["@ui5/webcomponents.IOption"],
"properties": {
"value": { "type": "string", "mapping": "property" },
"icon": { "type": "string", "mapping": "property" },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"namespace": "@ui5/webcomponents",
"tag": "ui5-option-custom",
"interfaces": [],
"interfaces": ["@ui5/webcomponents.IOption"],
"properties": {
"displayText": { "type": "string", "mapping": "property" },
"value": { "type": "string", "mapping": "property" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"labelInterval": { "type": "float", "mapping": "property", "defaultValue": 0 },
"showTickmarks": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showTooltip": { "type": "boolean", "mapping": "property", "defaultValue": false },
"editableTooltip": { "type": "boolean", "mapping": "property", "defaultValue": false },
"enabled": { "type": "boolean", "defaultValue": "true", "mapping": { "type": "property", "to": "disabled", "formatter": "_mapEnabled" } },
"accessibleName": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"valueStateText": { "name": "valueStateText", "type": "string", "defaultValue": "", "mapping": { "type": "slot", "slotName": "valueStateMessage", "to": "div" } }
},
"aggregations": { "options": { "type": "sap.ui.core.Control", "multiple": true }, "label": { "type": "sap.ui.core.Control", "multiple": true, "slot": "label" } },
"aggregations": { "options": { "type": "@ui5/webcomponents.IOption", "multiple": true }, "label": { "type": "sap.ui.core.Control", "multiple": true, "slot": "label" } },
"associations": {
"ariaLabelledBy": { "type": "sap.ui.core.Control", "multiple": true, "mapping": { "type": "property", "to": "accessibleNameRef", "formatter": "_getAriaLabelledByForRendering" } }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"labelInterval": { "type": "float", "mapping": "property", "defaultValue": 0 },
"showTickmarks": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showTooltip": { "type": "boolean", "mapping": "property", "defaultValue": false },
"editableTooltip": { "type": "boolean", "mapping": "property", "defaultValue": false },
"enabled": { "type": "boolean", "defaultValue": "true", "mapping": { "type": "property", "to": "disabled", "formatter": "_mapEnabled" } },
"accessibleName": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"labelInterval": { "type": "float", "mapping": "property", "defaultValue": 0 },
"showTickmarks": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showTooltip": { "type": "boolean", "mapping": "property", "defaultValue": false },
"editableTooltip": { "type": "boolean", "mapping": "property", "defaultValue": false },
"enabled": { "type": "boolean", "defaultValue": "true", "mapping": { "type": "property", "to": "disabled", "formatter": "_mapEnabled" } },
"accessibleName": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"interfaces": [],
"properties": {
"rowKey": { "type": "string", "mapping": "property", "defaultValue": "" },
"position": { "type": "float", "mapping": "property", "defaultValue": -1 },
"interactive": { "type": "boolean", "mapping": "property", "defaultValue": false },
"navigated": { "type": "boolean", "mapping": "property", "defaultValue": false },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"namespace": "@ui5/webcomponents",
"tag": "ui5-table-virtualizer",
"interfaces": [],
"properties": {
"rowHeight": { "type": "float", "mapping": "property", "defaultValue": 45 },
"rowCount": { "type": "float", "mapping": "property", "defaultValue": 100 },
"extraRows": { "type": "float", "mapping": "property", "defaultValue": 0 },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
},
"aggregations": {},
"associations": {},
"events": { "rangeChange": {} },
"getters": [],
"methods": ["reset"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"interfaces": [],
"properties": {
"maxLines": { "type": "float", "mapping": "property", "defaultValue": null },
"emptyIndicatorMode": { "type": "@ui5/webcomponents.EmptyIndicatorMode", "mapping": "property", "defaultValue": "Off" },
"emptyIndicatorMode": { "type": "@ui5/webcomponents.TextEmptyIndicatorMode", "mapping": "property", "defaultValue": "Off" },
"text": { "type": "string", "mapping": "textContent" },
"width": { "type": "sap.ui.core.CSSSize", "mapping": "style" },
"height": { "type": "sap.ui.core.CSSSize", "mapping": "style" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"tooltip": { "type": "string", "mapping": "property" },
"accessibleName": { "type": "string", "mapping": "property" },
"accessibilityAttributes": { "type": "object", "mapping": "property", "defaultValue": {} },
"accessibleDescription": { "type": "string", "mapping": "property" },
"type": { "type": "@ui5/webcomponents.ButtonType", "mapping": "property", "defaultValue": "Button" },
"accessibleRole": { "type": "@ui5/webcomponents.ButtonAccessibleRole", "mapping": "property", "defaultValue": "Button" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"interfaces": [],
"properties": {
"readonly": { "type": "boolean", "mapping": "property", "defaultValue": false },
"multiLine": { "type": "boolean", "mapping": "property", "defaultValue": false },
"showClearAll": { "type": "boolean", "mapping": "property", "defaultValue": false },
"enabled": { "type": "boolean", "defaultValue": "true", "mapping": { "type": "property", "to": "disabled", "formatter": "_mapEnabled" } },
"accessibleName": { "type": "string", "mapping": "property" },
"text": { "type": "string", "mapping": "textContent" },
Expand Down
Loading

0 comments on commit 3fd1260

Please sign in to comment.