-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui5-tooling-modules): finalize tests for metadata generation
- Loading branch information
Showing
51 changed files
with
3,300 additions
and
2,893 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
packages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents-ai/classes/Button.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
18 changes: 18 additions & 0 deletions
18
...ages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents-ai/classes/ButtonState.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} |
27 changes: 27 additions & 0 deletions
27
...ages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents-ai/classes/PromptInput.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
1 change: 1 addition & 0 deletions
1
packages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents-ai/interfaces.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...-tooling-modules/test/__fixtures__/@ui5/webcomponents-fiori/classes/NavigationLayout.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...ages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents-fiori/classes/UserMenu.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
21 changes: 21 additions & 0 deletions
21
...5-tooling-modules/test/__fixtures__/@ui5/webcomponents-fiori/classes/UserMenuAccount.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents-fiori/classes/UserMenuItem.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents/classes/Option.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents/classes/OptionCustom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...es/ui5-tooling-modules/test/__fixtures__/@ui5/webcomponents/classes/TableVirtualizer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.