-
Notifications
You must be signed in to change notification settings - Fork 278
feat(ui5-view-settings-dialog): add group option #11950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7cba7e1
feat(view-settings-dialog): add group option
didip1000 f3ab115
Merge branch 'main' into vsd-group-option
didip1000 54266e0
docs: add example
didip1000 ac077d2
Merge branch 'main' into vsd-group-option
didip1000 d187b97
fix: lint error
didip1000 687b345
Merge branch 'main' into vsd-group-option
hinzzx 4ce8ba1
fix: address comments
hinzzx 07c4c5e
docs: add docs page for group item
didip1000 90f2206
fix: rename sortMode to isSortTemplate
didip1000 248f1ad
Merge branch 'main' into vsd-group-option
didip1000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,48 @@ | ||
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js"; | ||
import property from "@ui5/webcomponents-base/dist/decorators/property.js"; | ||
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js"; | ||
|
||
/** | ||
* @class | ||
* | ||
* ### Overview | ||
* | ||
* The `ui5-group-item` component defines the grouping criteria for data in `ui5-view-settings-dialog`. | ||
* It represents a single group option that users can select to organize data into logical groups. | ||
* | ||
* ### Usage | ||
* | ||
* The `ui5-group-item` is used within the `ui5-view-settings-dialog` to provide grouping options. | ||
* Each group item represents a column or field by which data can be grouped. | ||
* | ||
* ### ES6 Module Import | ||
* | ||
* `import "@ui5/webcomponents-fiori/dist/GroupItem.js";` | ||
* @constructor | ||
* @extends UI5Element | ||
* @abstract | ||
* @since 2.13.0 | ||
* @public | ||
*/ | ||
@customElement("ui5-group-item") | ||
class GroupItem extends UI5Element { | ||
/** | ||
* Defines the text of the group item. | ||
* @default undefined | ||
* @public | ||
*/ | ||
@property() | ||
text?: string; | ||
|
||
/** | ||
* Defines if the group item is selected. | ||
* @default false | ||
* @public | ||
*/ | ||
@property({ type: Boolean }) | ||
selected = false; | ||
} | ||
|
||
GroupItem.define(); | ||
|
||
export default GroupItem; |
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.