@ui5/webcomponents-fiori 2.22.0-rc.3 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/NavigationMenuItemTemplate.d.ts +2 -2
- package/dist/NavigationMenuItemTemplate.js.map +1 -1
- package/dist/SideNavigationItemBase.d.ts +1 -1
- package/dist/SideNavigationItemBase.js.map +1 -1
- package/dist/Timeline.d.ts +3 -35
- package/dist/Timeline.js +4 -62
- package/dist/Timeline.js.map +1 -1
- package/dist/TimelineItem.d.ts +0 -2
- package/dist/TimelineItem.js +0 -2
- package/dist/TimelineItem.js.map +1 -1
- package/dist/TimelineTemplate.js +1 -1
- package/dist/TimelineTemplate.js.map +1 -1
- package/dist/UserMenu.d.ts +9 -1
- package/dist/UserMenu.js +35 -3
- package/dist/UserMenu.js.map +1 -1
- package/dist/UserMenuItem.d.ts +24 -0
- package/dist/UserMenuItem.js +52 -3
- package/dist/UserMenuItem.js.map +1 -1
- package/dist/UserMenuItemTemplate.js +10 -1
- package/dist/UserMenuItemTemplate.js.map +1 -1
- package/dist/UserMenuTemplate.js +1 -1
- package/dist/UserMenuTemplate.js.map +1 -1
- package/dist/ViewSettingsDialog.d.ts +12 -11
- package/dist/ViewSettingsDialog.js +26 -23
- package/dist/ViewSettingsDialog.js.map +1 -1
- package/dist/ViewSettingsDialogCustomTab.d.ts +5 -5
- package/dist/ViewSettingsDialogCustomTab.js +7 -7
- package/dist/ViewSettingsDialogCustomTab.js.map +1 -1
- package/dist/ViewSettingsDialogTemplate.js +2 -2
- package/dist/ViewSettingsDialogTemplate.js.map +1 -1
- package/dist/bundle.esm.js +0 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/Timeline.css +1 -1
- package/dist/css/themes/UserMenuItem.css +1 -1
- package/dist/custom-elements-internal.json +293 -801
- package/dist/custom-elements.json +109 -459
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +1 -11
- package/dist/generated/i18n/i18n-defaults.js +2 -12
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/Timeline.css.d.ts +1 -1
- package/dist/generated/themes/Timeline.css.js +1 -1
- package/dist/generated/themes/Timeline.css.js.map +1 -1
- package/dist/generated/themes/UserMenuItem.css.d.ts +1 -1
- package/dist/generated/themes/UserMenuItem.css.js +1 -1
- package/dist/generated/themes/UserMenuItem.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +17 -70
- package/dist/web-types.json +41 -205
- package/package.json +7 -7
- package/src/NavigationMenuItemTemplate.tsx +3 -3
- package/src/TimelineTemplate.tsx +0 -7
- package/src/UserMenuItemTemplate.tsx +19 -1
- package/src/UserMenuTemplate.tsx +1 -0
- package/src/ViewSettingsDialogTemplate.tsx +3 -3
- package/src/i18n/messagebundle.properties +1 -31
- package/src/i18n/messagebundle_en.properties +1 -1
- package/src/i18n/messagebundle_en_GB.properties +1 -1
- package/src/themes/Timeline.css +7 -21
- package/src/themes/UserMenuItem.css +37 -3
- package/dist/TimelineFilterOption.d.ts +0 -37
- package/dist/TimelineFilterOption.js +0 -59
- package/dist/TimelineFilterOption.js.map +0 -1
- package/dist/TimelineHeaderBar.d.ts +0 -120
- package/dist/TimelineHeaderBar.js +0 -273
- package/dist/TimelineHeaderBar.js.map +0 -1
- package/dist/TimelineHeaderBarTemplate.d.ts +0 -2
- package/dist/TimelineHeaderBarTemplate.js +0 -18
- package/dist/TimelineHeaderBarTemplate.js.map +0 -1
- package/dist/css/themes/TimelineHeaderBar.css +0 -1
- package/dist/generated/themes/TimelineHeaderBar.css.d.ts +0 -2
- package/dist/generated/themes/TimelineHeaderBar.css.js +0 -8
- package/dist/generated/themes/TimelineHeaderBar.css.js.map +0 -1
- package/dist/types/TimelineSortOrder.d.ts +0 -18
- package/dist/types/TimelineSortOrder.js +0 -20
- package/dist/types/TimelineSortOrder.js.map +0 -1
- package/src/TimelineHeaderBarTemplate.tsx +0 -104
- package/src/themes/TimelineHeaderBar.css +0 -17
|
@@ -3,6 +3,6 @@ import defaultThemeBase from "@ui5/webcomponents-theming/dist/generated/themes/s
|
|
|
3
3
|
import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
|
|
4
4
|
registerThemePropertiesLoader("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
|
|
5
5
|
registerThemePropertiesLoader("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => defaultTheme, "host");
|
|
6
|
-
export default `:host{height:
|
|
6
|
+
export default `:host{height:2.5rem;min-height:2.5rem;border:none}.ui5-li-root{min-height:2.5rem}:host(:last-of-type){margin-bottom:0}:host(:first-of-type){margin-top:0}:host([show-selection]){height:3.25rem;min-height:3.25rem}:host([show-selection]) .ui5-li-root{min-height:3.25rem;padding-block:.5rem}.ui5-user-menu-item-text-wrapper{display:flex;flex-direction:column;gap:.25rem;overflow:hidden;flex:1;min-width:0}.ui5-user-menu-item-selection-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapContent_LabelColor);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
7
7
|
`;
|
|
8
8
|
//# sourceMappingURL=UserMenuItem.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMenuItem.css.js","sourceRoot":"","sources":["../../../src/generated/themes/UserMenuItem.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC9N,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"f\" + \"i\" + \"o\" + \"r\" + \"i\", \"sap_horizon\", async () => defaultTheme, \"host\");\nexport default `:host{height:
|
|
1
|
+
{"version":3,"file":"UserMenuItem.css.js","sourceRoot":"","sources":["../../../src/generated/themes/UserMenuItem.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC9N,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"f\" + \"i\" + \"o\" + \"r\" + \"i\", \"sap_horizon\", async () => defaultTheme, \"host\");\nexport default `:host{height:2.5rem;min-height:2.5rem;border:none}.ui5-li-root{min-height:2.5rem}:host(:last-of-type){margin-bottom:0}:host(:first-of-type){margin-top:0}:host([show-selection]){height:3.25rem;min-height:3.25rem}:host([show-selection]) .ui5-li-root{min-height:3.25rem;padding-block:.5rem}.ui5-user-menu-item-text-wrapper{display:flex;flex-direction:column;gap:.25rem;overflow:hidden;flex:1;min-width:0}.ui5-user-menu-item-selection-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapContent_LabelColor);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n`"]}
|
|
@@ -1137,7 +1137,7 @@
|
|
|
1137
1137
|
},
|
|
1138
1138
|
{
|
|
1139
1139
|
"name": "ui5-timeline",
|
|
1140
|
-
"description": "### Overview\n\nThe `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\nA common use case is to provide information about changes to an object, or events related to an object.\nThese entries can be generated by the system (for example, value XY changed from A to B), or added manually.\nThere are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\nwhile the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n\n
|
|
1140
|
+
"description": "### Overview\n\nThe `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\nA common use case is to provide information about changes to an object, or events related to an object.\nThese entries can be generated by the system (for example, value XY changed from A to B), or added manually.\nThere are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\nwhile the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n\n\n---\n\n\n\n\n### **Events:**\n - **load-more** - Fired when the user presses the `More` button or scrolls to the Timeline's end.\n\n**Note:** The event will be fired if `growing` is set to `Button` or `Scroll`.\n\n### **Slots:**\n - **default** - Determines the content of the `ui5-timeline`.",
|
|
1141
1141
|
"attributes": [
|
|
1142
1142
|
{
|
|
1143
1143
|
"name": "accessible-name",
|
|
@@ -1171,23 +1171,6 @@
|
|
|
1171
1171
|
],
|
|
1172
1172
|
"references": []
|
|
1173
1173
|
},
|
|
1174
|
-
{
|
|
1175
|
-
"name": "ui5-timeline-filter-option",
|
|
1176
|
-
"description": "### Overview\n\nThe `ui5-timeline-filter-option` component defines individual filter values within a `ui5-timeline-header-bar`.\nIt represents a single selectable option that users can choose to filter timeline items.\n\n### Usage\n\nThe `ui5-timeline-filter-option` is used as a child component within `ui5-timeline-header-bar`.\nEach option represents a specific value that can be used for filtering.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/TimelineFilterOption.js\";`\n\n\n---\n\n\n",
|
|
1177
|
-
"attributes": [
|
|
1178
|
-
{
|
|
1179
|
-
"name": "selected",
|
|
1180
|
-
"description": "Defines if the filter option is selected.",
|
|
1181
|
-
"values": []
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"name": "text",
|
|
1185
|
-
"description": "Defines the text of the filter option.",
|
|
1186
|
-
"values": []
|
|
1187
|
-
}
|
|
1188
|
-
],
|
|
1189
|
-
"references": []
|
|
1190
|
-
},
|
|
1191
1174
|
{
|
|
1192
1175
|
"name": "ui5-timeline-group-item",
|
|
1193
1176
|
"description": "### Overview\n\nAn entry posted on the timeline.\nIt is intented to represent a group of `<ui5-timeline-item>`s.\n\n**Note**: Please do not use empty groups in order to preserve the intended design.\n\n\n---\n\n\n\n\n### **Events:**\n - **toggle** - Fired when the group item is expanded or collapsed.\n\n### **Slots:**\n - **default** - Determines the content of the `ui5-timeline-group-item`.",
|
|
@@ -1205,48 +1188,6 @@
|
|
|
1205
1188
|
],
|
|
1206
1189
|
"references": []
|
|
1207
1190
|
},
|
|
1208
|
-
{
|
|
1209
|
-
"name": "ui5-timeline-header-bar",
|
|
1210
|
-
"description": "### Overview\n\nThe `ui5-timeline-header-bar` component provides search, filter, and sort functionality\nfor the `ui5-timeline` component. It is designed to be slotted into the `header-bar` slot\nof the Timeline.\n\n### Usage\n\nThe component fires events (`search`, `filter`, `sort`) that the application should handle\nto filter/sort the timeline items. The Timeline component itself does not perform any\nfiltering or sorting - this is the responsibility of the application.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/TimelineHeaderBar.js\";`\n\n\n---\n\n\n\n\n### **Events:**\n - **filter** - Fired when the user changes filter selection.\n- **search** - Fired when the user performs a search.\n- **sort** - Fired when the user changes sort order.\n\n### **Slots:**\n - **default** - Filter options to display in the filter dialog.",
|
|
1211
|
-
"attributes": [
|
|
1212
|
-
{
|
|
1213
|
-
"name": "filter-by",
|
|
1214
|
-
"description": "The current filter category label.",
|
|
1215
|
-
"values": []
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"name": "search-value",
|
|
1219
|
-
"description": "The current search value.",
|
|
1220
|
-
"values": []
|
|
1221
|
-
},
|
|
1222
|
-
{
|
|
1223
|
-
"name": "show-filter",
|
|
1224
|
-
"description": "Shows the filter button.",
|
|
1225
|
-
"values": []
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
"name": "show-filter-by-date",
|
|
1229
|
-
"description": "Shows the filter by date option.",
|
|
1230
|
-
"values": []
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"name": "show-search",
|
|
1234
|
-
"description": "Shows the search input field.",
|
|
1235
|
-
"values": []
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "show-sort",
|
|
1239
|
-
"description": "Shows the sort button.",
|
|
1240
|
-
"values": []
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"name": "sort-order",
|
|
1244
|
-
"description": "The current sort order.",
|
|
1245
|
-
"values": [{ "name": "Ascending" }, { "name": "Descending" }]
|
|
1246
|
-
}
|
|
1247
|
-
],
|
|
1248
|
-
"references": []
|
|
1249
|
-
},
|
|
1250
1191
|
{
|
|
1251
1192
|
"name": "ui5-timeline-item",
|
|
1252
1193
|
"description": "### Overview\n\nAn entry posted on the timeline.\n\n\n---\n\n\n\n\n### **Events:**\n - **name-click** - Fired when the item name is pressed either with a\nclick/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `name-clickable`\nattribute is not set.\n\n### **Slots:**\n - **default** - Defines the content of the `ui5-timeline-item`.",
|
|
@@ -1509,7 +1450,13 @@
|
|
|
1509
1450
|
{
|
|
1510
1451
|
"name": "ui5-user-menu-item",
|
|
1511
1452
|
"description": "### Overview\n\n`ui5-user-menu-item` is the item to use inside a `ui5-user-menu`.\nAn arbitrary hierarchy structure can be represented by recursively nesting menu items.\n\n### Usage\n\n`ui5-user-menu-item` represents a node in a `ui5-user-menu`. The user menu itself is rendered as a list,\nand each `ui5-menu-item` is represented by a menu item in that menu. Therefore, you should only use\n`ui5-user-menu-item` directly in your apps. The `ui5-menu` menu item is internal for the menu, and not intended for public use.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/UserMenuItem.js\";`\n\n\n---\n\n\n\n\n### **Slots:**\n - **default** - Defines the items of this component.\n\n**Note:** Use `ui5-user-menu-item` for the intended design.",
|
|
1512
|
-
"attributes": [
|
|
1453
|
+
"attributes": [
|
|
1454
|
+
{
|
|
1455
|
+
"name": "show-selection",
|
|
1456
|
+
"description": "When set, a second line appears below the menu item text showing the text\nof the currently selected sub-item. Intended for use with a single-select\nui5-menu-item-group (check-mode=\"Single\").\nWhen enabled, the checked sub-item cannot be unchecked,\nensuring the selection text is always displayed.",
|
|
1457
|
+
"values": []
|
|
1458
|
+
}
|
|
1459
|
+
],
|
|
1513
1460
|
"references": []
|
|
1514
1461
|
},
|
|
1515
1462
|
{
|
|
@@ -1694,13 +1641,8 @@
|
|
|
1694
1641
|
},
|
|
1695
1642
|
{
|
|
1696
1643
|
"name": "ui5-view-settings-dialog",
|
|
1697
|
-
"description": "### Overview\nThe `ui5-view-settings-dialog` component helps the user to sort data within a list or a table.\nIt consists of several lists like `Sort order` which is built-in and `Sort By` and `Filter By` lists,\nfor which you must be provide items(`ui5-sort-item` & `ui5-filter-item` respectively)\nThese options can be used to create sorters for a table.\n\nThe `ui5-view-settings-dialog` interrupts the current application processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe `ui5-view-settings-dialog` is modal, which means that user action is required before returning to the parent window is possible.\n\n### Structure\nA `ui5-view-settings-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-view-settings-dialog` is usually displayed at the center of the screen.\n\n### Responsive Behavior\n`ui5-view-settings-dialog` stretches on full screen on phones.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js\";`\n\n\n---\n\n\n\n\n### **Events:**\n - **before-open** - Fired before the component is opened.\n- **cancel** - Fired when cancel button is activated.\n- **close** - Fired after the dialog is closed.\n- **confirm** - Fired when confirmation button is activated.\n- **open** - Fired after the dialog is opened.\n- **reset
|
|
1644
|
+
"description": "### Overview\nThe `ui5-view-settings-dialog` component helps the user to sort data within a list or a table.\nIt consists of several lists like `Sort order` which is built-in and `Sort By` and `Filter By` lists,\nfor which you must be provide items(`ui5-sort-item` & `ui5-filter-item` respectively)\nThese options can be used to create sorters for a table.\n\nThe `ui5-view-settings-dialog` interrupts the current application processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe `ui5-view-settings-dialog` is modal, which means that user action is required before returning to the parent window is possible.\n\n### Structure\nA `ui5-view-settings-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-view-settings-dialog` is usually displayed at the center of the screen.\n\n### Responsive Behavior\n`ui5-view-settings-dialog` stretches on full screen on phones.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js\";`\n\n\n---\n\n\n\n\n### **Events:**\n - **before-open** - Fired before the component is opened.\n- **cancel** - Fired when cancel button is activated.\n- **close** - Fired after the dialog is closed.\n- **confirm** - Fired when confirmation button is activated.\n- **open** - Fired after the dialog is opened.\n- **reset** - Fired when the Reset button is clicked.\n\n**Note:** This event is particularly relevant when the dialog contains custom tabs.\nBy default, the Reset button resets all built-in settings (sort, filter, group) to their\ninitial values. However, the component has no knowledge of the content or state inside\ncustom tabs — it cannot detect what has changed or what the \"default\" values are.\nTherefore, when this event is fired, it is the application developer's responsibility\nto listen for it and manually reset the custom tab content to its initial state.\n\n### **Methods:**\n - **setConfirmedSettings(settings: _VSDSettings_): _void_** - Sets a JavaScript object, as settings to the `ui5-view-settings-dialog`.\nThis method can be used after the dialog is initially open, as the dialog needs\nto set its initial settings.\nThe `ui5-view-settings-dialog` throws an event called \"before-open\",\nwhich can be used as a trigger point.\nThe object should have the following format:\n\n### **Slots:**\n - **customTabs** - Defines custom tabs for the dialog.\n\nThe custom tabs are rendered after the built-in tabs (`Sort`, `Filter`, `Group`).\n\n**Note:** If you want to use this slot, you need to import the item: `import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialogCustomTab.js\";`\n- **filterItems** - Defines the `filterItems` list.\n\n**Note:** If you want to use this slot, you need to import used item: `import \"@ui5/webcomponents-fiori/dist/FilterItem.js\";`\n- **groupItems** - Defines the list of items against which the user could group data.\n\n**Note:** If you want to use this slot, you need to import used item: `import \"@ui5/webcomponents-fiori/dist/GroupItem.js\";`\n- **sortItems** - Defines the list of items against which the user could sort data.\n\n**Note:** If you want to use this slot, you need to import used item: `import \"@ui5/webcomponents-fiori/dist/SortItem.js\";`\n\n### **CSS Parts:**\n - **header** - Used to style the header.",
|
|
1698
1645
|
"attributes": [
|
|
1699
|
-
{
|
|
1700
|
-
"name": "enable-reset",
|
|
1701
|
-
"description": "Defines whether the Reset button is always enabled.\n\n**Note:** By default, the Reset button is only enabled when the dialog settings\ndiffer from their initial state. Set this property to `true` to keep the Reset\nbutton always enabled, which is useful when working with custom tabs\nwhose internal state changes cannot be detected by the component.",
|
|
1702
|
-
"values": []
|
|
1703
|
-
},
|
|
1704
1646
|
{
|
|
1705
1647
|
"name": "group-descending",
|
|
1706
1648
|
"description": "Defines the initial group order.",
|
|
@@ -1711,6 +1653,11 @@
|
|
|
1711
1653
|
"description": "Indicates if the dialog is open.",
|
|
1712
1654
|
"values": []
|
|
1713
1655
|
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "reset-enabled",
|
|
1658
|
+
"description": "Controls whether the Reset button is always enabled.\n\nBy default, the Reset button is enabled only when the built-in settings (Sort, Filter, Group)\ndiffer from their initial state — the component can detect these changes automatically.\nHowever, when the dialog contains custom tabs, the component has no way to detect\nwhether the custom tab content has been modified by the user.\n\nSet this property to `true` when the user has made changes inside a custom tab, so that\nthe Reset button becomes enabled and the user can trigger a reset.\nSet it back to `false` once the custom tab content is back to its initial state\n(e.g. after the user confirms or after a reset is applied).",
|
|
1659
|
+
"values": []
|
|
1660
|
+
},
|
|
1714
1661
|
{
|
|
1715
1662
|
"name": "sort-descending",
|
|
1716
1663
|
"description": "Defines the initial sort order.",
|
|
@@ -1725,12 +1672,12 @@
|
|
|
1725
1672
|
"attributes": [
|
|
1726
1673
|
{
|
|
1727
1674
|
"name": "icon",
|
|
1728
|
-
"description": "Defines the icon of the custom tab
|
|
1675
|
+
"description": "Defines the icon of the custom tab button in the segmented button.",
|
|
1729
1676
|
"values": []
|
|
1730
1677
|
},
|
|
1731
1678
|
{
|
|
1732
|
-
"name": "title",
|
|
1733
|
-
"description": "Defines the title of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
|
|
1679
|
+
"name": "title-text",
|
|
1680
|
+
"description": "Defines the title text of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
|
|
1734
1681
|
"values": []
|
|
1735
1682
|
},
|
|
1736
1683
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ui5/webcomponents-fiori",
|
|
4
|
-
"version": "2.22.0
|
|
4
|
+
"version": "2.22.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2697,7 +2697,7 @@
|
|
|
2697
2697
|
},
|
|
2698
2698
|
{
|
|
2699
2699
|
"name": "ui5-timeline",
|
|
2700
|
-
"description": "### Overview\n\nThe `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\nA common use case is to provide information about changes to an object, or events related to an object.\nThese entries can be generated by the system (for example, value XY changed from A to B), or added manually.\nThere are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\nwhile the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n
|
|
2700
|
+
"description": "### Overview\n\nThe `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\nA common use case is to provide information about changes to an object, or events related to an object.\nThese entries can be generated by the system (for example, value XY changed from A to B), or added manually.\nThere are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\nwhile the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n---\n\n\n### **Events:**\n - **load-more** - Fired when the user presses the `More` button or scrolls to the Timeline's end.\n\n**Note:** The event will be fired if `growing` is set to `Button` or `Scroll`.\n\n### **Slots:**\n - **default** - Determines the content of the `ui5-timeline`.",
|
|
2701
2701
|
"doc-url": "",
|
|
2702
2702
|
"attributes": [
|
|
2703
2703
|
{
|
|
@@ -2736,28 +2736,12 @@
|
|
|
2736
2736
|
{
|
|
2737
2737
|
"name": "default",
|
|
2738
2738
|
"description": "Determines the content of the `ui5-timeline`."
|
|
2739
|
-
},
|
|
2740
|
-
{
|
|
2741
|
-
"name": "headerBar",
|
|
2742
|
-
"description": "Defines the header bar of the timeline.\nUse `ui5-timeline-header-bar` for filtering, sorting, and search functionality.\n\n**Note:** The Timeline fires `search`, `filter`, and `sort` events when the user interacts\nwith the header bar. The application should handle these events to filter/sort the items."
|
|
2743
2739
|
}
|
|
2744
2740
|
],
|
|
2745
2741
|
"events": [
|
|
2746
|
-
{
|
|
2747
|
-
"name": "filter",
|
|
2748
|
-
"description": "Fired when the user changes filter selection in the header bar.\n\n**Note:** The Timeline does not perform filtering. The application should handle\nthis event and add/remove items from the DOM to reflect the filter selection."
|
|
2749
|
-
},
|
|
2750
2742
|
{
|
|
2751
2743
|
"name": "load-more",
|
|
2752
2744
|
"description": "Fired when the user presses the `More` button or scrolls to the Timeline's end.\n\n**Note:** The event will be fired if `growing` is set to `Button` or `Scroll`."
|
|
2753
|
-
},
|
|
2754
|
-
{
|
|
2755
|
-
"name": "search",
|
|
2756
|
-
"description": "Fired when the user performs a search in the header bar.\n\n**Note:** The Timeline does not perform filtering. The application should handle\nthis event and add/remove items from the DOM to reflect the search results."
|
|
2757
|
-
},
|
|
2758
|
-
{
|
|
2759
|
-
"name": "sort",
|
|
2760
|
-
"description": "Fired when the user changes sort order in the header bar.\n\n**Note:** The Timeline does not perform sorting. The application should handle\nthis event and reorder the items in the DOM accordingly."
|
|
2761
2745
|
}
|
|
2762
2746
|
],
|
|
2763
2747
|
"js": {
|
|
@@ -2789,58 +2773,13 @@
|
|
|
2789
2773
|
}
|
|
2790
2774
|
],
|
|
2791
2775
|
"events": [
|
|
2792
|
-
{
|
|
2793
|
-
"name": "filter",
|
|
2794
|
-
"description": "Fired when the user changes filter selection in the header bar.\n\n**Note:** The Timeline does not perform filtering. The application should handle\nthis event and add/remove items from the DOM to reflect the filter selection."
|
|
2795
|
-
},
|
|
2796
2776
|
{
|
|
2797
2777
|
"name": "load-more",
|
|
2798
2778
|
"description": "Fired when the user presses the `More` button or scrolls to the Timeline's end.\n\n**Note:** The event will be fired if `growing` is set to `Button` or `Scroll`."
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"name": "search",
|
|
2802
|
-
"description": "Fired when the user performs a search in the header bar.\n\n**Note:** The Timeline does not perform filtering. The application should handle\nthis event and add/remove items from the DOM to reflect the search results."
|
|
2803
|
-
},
|
|
2804
|
-
{
|
|
2805
|
-
"name": "sort",
|
|
2806
|
-
"description": "Fired when the user changes sort order in the header bar.\n\n**Note:** The Timeline does not perform sorting. The application should handle\nthis event and reorder the items in the DOM accordingly."
|
|
2807
2779
|
}
|
|
2808
2780
|
]
|
|
2809
2781
|
}
|
|
2810
2782
|
},
|
|
2811
|
-
{
|
|
2812
|
-
"name": "ui5-timeline-filter-option",
|
|
2813
|
-
"description": "### Overview\n\nThe `ui5-timeline-filter-option` component defines individual filter values within a `ui5-timeline-header-bar`.\nIt represents a single selectable option that users can choose to filter timeline items.\n\n### Usage\n\nThe `ui5-timeline-filter-option` is used as a child component within `ui5-timeline-header-bar`.\nEach option represents a specific value that can be used for filtering.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/TimelineFilterOption.js\";`\n---\n",
|
|
2814
|
-
"doc-url": "",
|
|
2815
|
-
"attributes": [
|
|
2816
|
-
{
|
|
2817
|
-
"name": "selected",
|
|
2818
|
-
"description": "Defines if the filter option is selected.",
|
|
2819
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2820
|
-
},
|
|
2821
|
-
{
|
|
2822
|
-
"name": "text",
|
|
2823
|
-
"description": "Defines the text of the filter option.",
|
|
2824
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
2825
|
-
}
|
|
2826
|
-
],
|
|
2827
|
-
"events": [],
|
|
2828
|
-
"js": {
|
|
2829
|
-
"properties": [
|
|
2830
|
-
{
|
|
2831
|
-
"name": "selected",
|
|
2832
|
-
"description": "Defines if the filter option is selected.",
|
|
2833
|
-
"value": { "type": "boolean" }
|
|
2834
|
-
},
|
|
2835
|
-
{
|
|
2836
|
-
"name": "text",
|
|
2837
|
-
"description": "Defines the text of the filter option.",
|
|
2838
|
-
"value": { "type": "string" }
|
|
2839
|
-
}
|
|
2840
|
-
],
|
|
2841
|
-
"events": []
|
|
2842
|
-
}
|
|
2843
|
-
},
|
|
2844
2783
|
{
|
|
2845
2784
|
"name": "ui5-timeline-group-item",
|
|
2846
2785
|
"description": "### Overview\n\nAn entry posted on the timeline.\nIt is intented to represent a group of `<ui5-timeline-item>`s.\n\n**Note**: Please do not use empty groups in order to preserve the intended design.\n---\n\n\n### **Events:**\n - **toggle** - Fired when the group item is expanded or collapsed.\n\n### **Slots:**\n - **default** - Determines the content of the `ui5-timeline-group-item`.",
|
|
@@ -2890,124 +2829,6 @@
|
|
|
2890
2829
|
]
|
|
2891
2830
|
}
|
|
2892
2831
|
},
|
|
2893
|
-
{
|
|
2894
|
-
"name": "ui5-timeline-header-bar",
|
|
2895
|
-
"description": "### Overview\n\nThe `ui5-timeline-header-bar` component provides search, filter, and sort functionality\nfor the `ui5-timeline` component. It is designed to be slotted into the `header-bar` slot\nof the Timeline.\n\n### Usage\n\nThe component fires events (`search`, `filter`, `sort`) that the application should handle\nto filter/sort the timeline items. The Timeline component itself does not perform any\nfiltering or sorting - this is the responsibility of the application.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/TimelineHeaderBar.js\";`\n---\n\n\n### **Events:**\n - **filter** - Fired when the user changes filter selection.\n- **search** - Fired when the user performs a search.\n- **sort** - Fired when the user changes sort order.\n\n### **Slots:**\n - **default** - Filter options to display in the filter dialog.",
|
|
2896
|
-
"doc-url": "",
|
|
2897
|
-
"attributes": [
|
|
2898
|
-
{
|
|
2899
|
-
"name": "filter-by",
|
|
2900
|
-
"description": "The current filter category label.",
|
|
2901
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"name": "search-value",
|
|
2905
|
-
"description": "The current search value.",
|
|
2906
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
"name": "show-filter",
|
|
2910
|
-
"description": "Shows the filter button.",
|
|
2911
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"name": "show-filter-by-date",
|
|
2915
|
-
"description": "Shows the filter by date option.",
|
|
2916
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"name": "show-search",
|
|
2920
|
-
"description": "Shows the search input field.",
|
|
2921
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2922
|
-
},
|
|
2923
|
-
{
|
|
2924
|
-
"name": "show-sort",
|
|
2925
|
-
"description": "Shows the sort button.",
|
|
2926
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2927
|
-
},
|
|
2928
|
-
{
|
|
2929
|
-
"name": "sort-order",
|
|
2930
|
-
"description": "The current sort order.",
|
|
2931
|
-
"value": {
|
|
2932
|
-
"type": "\"Ascending\" | \"Descending\"",
|
|
2933
|
-
"default": "\"Ascending\""
|
|
2934
|
-
}
|
|
2935
|
-
}
|
|
2936
|
-
],
|
|
2937
|
-
"slots": [
|
|
2938
|
-
{
|
|
2939
|
-
"name": "default",
|
|
2940
|
-
"description": "Filter options to display in the filter dialog."
|
|
2941
|
-
}
|
|
2942
|
-
],
|
|
2943
|
-
"events": [
|
|
2944
|
-
{
|
|
2945
|
-
"name": "filter",
|
|
2946
|
-
"description": "Fired when the user changes filter selection."
|
|
2947
|
-
},
|
|
2948
|
-
{
|
|
2949
|
-
"name": "search",
|
|
2950
|
-
"description": "Fired when the user performs a search."
|
|
2951
|
-
},
|
|
2952
|
-
{
|
|
2953
|
-
"name": "sort",
|
|
2954
|
-
"description": "Fired when the user changes sort order."
|
|
2955
|
-
}
|
|
2956
|
-
],
|
|
2957
|
-
"js": {
|
|
2958
|
-
"properties": [
|
|
2959
|
-
{
|
|
2960
|
-
"name": "filter-by",
|
|
2961
|
-
"description": "The current filter category label.",
|
|
2962
|
-
"value": { "type": "string" }
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "search-value",
|
|
2966
|
-
"description": "The current search value.",
|
|
2967
|
-
"value": { "type": "string" }
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"name": "show-filter",
|
|
2971
|
-
"description": "Shows the filter button.",
|
|
2972
|
-
"value": { "type": "boolean" }
|
|
2973
|
-
},
|
|
2974
|
-
{
|
|
2975
|
-
"name": "show-filter-by-date",
|
|
2976
|
-
"description": "Shows the filter by date option.",
|
|
2977
|
-
"value": { "type": "boolean" }
|
|
2978
|
-
},
|
|
2979
|
-
{
|
|
2980
|
-
"name": "show-search",
|
|
2981
|
-
"description": "Shows the search input field.",
|
|
2982
|
-
"value": { "type": "boolean" }
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"name": "show-sort",
|
|
2986
|
-
"description": "Shows the sort button.",
|
|
2987
|
-
"value": { "type": "boolean" }
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
"name": "sort-order",
|
|
2991
|
-
"description": "The current sort order.",
|
|
2992
|
-
"value": { "type": "\"Ascending\" | \"Descending\"" }
|
|
2993
|
-
}
|
|
2994
|
-
],
|
|
2995
|
-
"events": [
|
|
2996
|
-
{
|
|
2997
|
-
"name": "filter",
|
|
2998
|
-
"description": "Fired when the user changes filter selection."
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"name": "search",
|
|
3002
|
-
"description": "Fired when the user performs a search."
|
|
3003
|
-
},
|
|
3004
|
-
{
|
|
3005
|
-
"name": "sort",
|
|
3006
|
-
"description": "Fired when the user changes sort order."
|
|
3007
|
-
}
|
|
3008
|
-
]
|
|
3009
|
-
}
|
|
3010
|
-
},
|
|
3011
2832
|
{
|
|
3012
2833
|
"name": "ui5-timeline-item",
|
|
3013
2834
|
"description": "### Overview\n\nAn entry posted on the timeline.\n---\n\n\n### **Events:**\n - **name-click** - Fired when the item name is pressed either with a\nclick/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `name-clickable`\nattribute is not set.\n\n### **Slots:**\n - **default** - Defines the content of the `ui5-timeline-item`.",
|
|
@@ -3640,7 +3461,13 @@
|
|
|
3640
3461
|
"name": "ui5-user-menu-item",
|
|
3641
3462
|
"description": "### Overview\n\n`ui5-user-menu-item` is the item to use inside a `ui5-user-menu`.\nAn arbitrary hierarchy structure can be represented by recursively nesting menu items.\n\n### Usage\n\n`ui5-user-menu-item` represents a node in a `ui5-user-menu`. The user menu itself is rendered as a list,\nand each `ui5-menu-item` is represented by a menu item in that menu. Therefore, you should only use\n`ui5-user-menu-item` directly in your apps. The `ui5-menu` menu item is internal for the menu, and not intended for public use.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/UserMenuItem.js\";`\n---\n\n\n### **Slots:**\n - **default** - Defines the items of this component.\n\n**Note:** Use `ui5-user-menu-item` for the intended design.",
|
|
3642
3463
|
"doc-url": "",
|
|
3643
|
-
"attributes": [
|
|
3464
|
+
"attributes": [
|
|
3465
|
+
{
|
|
3466
|
+
"name": "show-selection",
|
|
3467
|
+
"description": "When set, a second line appears below the menu item text showing the text\nof the currently selected sub-item. Intended for use with a single-select\nui5-menu-item-group (check-mode=\"Single\").\nWhen enabled, the checked sub-item cannot be unchecked,\nensuring the selection text is always displayed.",
|
|
3468
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3469
|
+
}
|
|
3470
|
+
],
|
|
3644
3471
|
"slots": [
|
|
3645
3472
|
{
|
|
3646
3473
|
"name": "default",
|
|
@@ -3648,7 +3475,16 @@
|
|
|
3648
3475
|
}
|
|
3649
3476
|
],
|
|
3650
3477
|
"events": [],
|
|
3651
|
-
"js": {
|
|
3478
|
+
"js": {
|
|
3479
|
+
"properties": [
|
|
3480
|
+
{
|
|
3481
|
+
"name": "show-selection",
|
|
3482
|
+
"description": "When set, a second line appears below the menu item text showing the text\nof the currently selected sub-item. Intended for use with a single-select\nui5-menu-item-group (check-mode=\"Single\").\nWhen enabled, the checked sub-item cannot be unchecked,\nensuring the selection text is always displayed.",
|
|
3483
|
+
"value": { "type": "boolean" }
|
|
3484
|
+
}
|
|
3485
|
+
],
|
|
3486
|
+
"events": []
|
|
3487
|
+
}
|
|
3652
3488
|
},
|
|
3653
3489
|
{
|
|
3654
3490
|
"name": "ui5-user-menu-item-group",
|
|
@@ -4127,14 +3963,9 @@
|
|
|
4127
3963
|
},
|
|
4128
3964
|
{
|
|
4129
3965
|
"name": "ui5-view-settings-dialog",
|
|
4130
|
-
"description": "### Overview\nThe `ui5-view-settings-dialog` component helps the user to sort data within a list or a table.\nIt consists of several lists like `Sort order` which is built-in and `Sort By` and `Filter By` lists,\nfor which you must be provide items(`ui5-sort-item` & `ui5-filter-item` respectively)\nThese options can be used to create sorters for a table.\n\nThe `ui5-view-settings-dialog` interrupts the current application processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe `ui5-view-settings-dialog` is modal, which means that user action is required before returning to the parent window is possible.\n\n### Structure\nA `ui5-view-settings-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-view-settings-dialog` is usually displayed at the center of the screen.\n\n### Responsive Behavior\n`ui5-view-settings-dialog` stretches on full screen on phones.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js\";`\n---\n\n\n### **Events:**\n - **before-open** - Fired before the component is opened.\n- **cancel** - Fired when cancel button is activated.\n- **close** - Fired after the dialog is closed.\n- **confirm** - Fired when confirmation button is activated.\n- **open** - Fired after the dialog is opened.\n- **reset
|
|
3966
|
+
"description": "### Overview\nThe `ui5-view-settings-dialog` component helps the user to sort data within a list or a table.\nIt consists of several lists like `Sort order` which is built-in and `Sort By` and `Filter By` lists,\nfor which you must be provide items(`ui5-sort-item` & `ui5-filter-item` respectively)\nThese options can be used to create sorters for a table.\n\nThe `ui5-view-settings-dialog` interrupts the current application processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe `ui5-view-settings-dialog` is modal, which means that user action is required before returning to the parent window is possible.\n\n### Structure\nA `ui5-view-settings-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-view-settings-dialog` is usually displayed at the center of the screen.\n\n### Responsive Behavior\n`ui5-view-settings-dialog` stretches on full screen on phones.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js\";`\n---\n\n\n### **Events:**\n - **before-open** - Fired before the component is opened.\n- **cancel** - Fired when cancel button is activated.\n- **close** - Fired after the dialog is closed.\n- **confirm** - Fired when confirmation button is activated.\n- **open** - Fired after the dialog is opened.\n- **reset** - Fired when the Reset button is clicked.\n\n**Note:** This event is particularly relevant when the dialog contains custom tabs.\nBy default, the Reset button resets all built-in settings (sort, filter, group) to their\ninitial values. However, the component has no knowledge of the content or state inside\ncustom tabs — it cannot detect what has changed or what the \"default\" values are.\nTherefore, when this event is fired, it is the application developer's responsibility\nto listen for it and manually reset the custom tab content to its initial state.\n\n### **Methods:**\n - **setConfirmedSettings(settings: _VSDSettings_): _void_** - Sets a JavaScript object, as settings to the `ui5-view-settings-dialog`.\nThis method can be used after the dialog is initially open, as the dialog needs\nto set its initial settings.\nThe `ui5-view-settings-dialog` throws an event called \"before-open\",\nwhich can be used as a trigger point.\nThe object should have the following format:\n\n### **Slots:**\n - **customTabs** - Defines custom tabs for the dialog.\n\nThe custom tabs are rendered after the built-in tabs (`Sort`, `Filter`, `Group`).\n\n**Note:** If you want to use this slot, you need to import the item: `import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialogCustomTab.js\";`\n- **filterItems** - Defines the `filterItems` list.\n\n**Note:** If you want to use this slot, you need to import used item: `import \"@ui5/webcomponents-fiori/dist/FilterItem.js\";`\n- **groupItems** - Defines the list of items against which the user could group data.\n\n**Note:** If you want to use this slot, you need to import used item: `import \"@ui5/webcomponents-fiori/dist/GroupItem.js\";`\n- **sortItems** - Defines the list of items against which the user could sort data.\n\n**Note:** If you want to use this slot, you need to import used item: `import \"@ui5/webcomponents-fiori/dist/SortItem.js\";`\n\n### **CSS Parts:**\n - **header** - Used to style the header.",
|
|
4131
3967
|
"doc-url": "",
|
|
4132
3968
|
"attributes": [
|
|
4133
|
-
{
|
|
4134
|
-
"name": "enable-reset",
|
|
4135
|
-
"description": "Defines whether the Reset button is always enabled.\n\n**Note:** By default, the Reset button is only enabled when the dialog settings\ndiffer from their initial state. Set this property to `true` to keep the Reset\nbutton always enabled, which is useful when working with custom tabs\nwhose internal state changes cannot be detected by the component.",
|
|
4136
|
-
"value": { "type": "boolean", "default": "false" }
|
|
4137
|
-
},
|
|
4138
3969
|
{
|
|
4139
3970
|
"name": "group-descending",
|
|
4140
3971
|
"description": "Defines the initial group order.",
|
|
@@ -4145,6 +3976,11 @@
|
|
|
4145
3976
|
"description": "Indicates if the dialog is open.",
|
|
4146
3977
|
"value": { "type": "boolean", "default": "false" }
|
|
4147
3978
|
},
|
|
3979
|
+
{
|
|
3980
|
+
"name": "reset-enabled",
|
|
3981
|
+
"description": "Controls whether the Reset button is always enabled.\n\nBy default, the Reset button is enabled only when the built-in settings (Sort, Filter, Group)\ndiffer from their initial state — the component can detect these changes automatically.\nHowever, when the dialog contains custom tabs, the component has no way to detect\nwhether the custom tab content has been modified by the user.\n\nSet this property to `true` when the user has made changes inside a custom tab, so that\nthe Reset button becomes enabled and the user can trigger a reset.\nSet it back to `false` once the custom tab content is back to its initial state\n(e.g. after the user confirms or after a reset is applied).",
|
|
3982
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3983
|
+
},
|
|
4148
3984
|
{
|
|
4149
3985
|
"name": "sort-descending",
|
|
4150
3986
|
"description": "Defines the initial sort order.",
|
|
@@ -4191,17 +4027,12 @@
|
|
|
4191
4027
|
"description": "Fired after the dialog is opened."
|
|
4192
4028
|
},
|
|
4193
4029
|
{
|
|
4194
|
-
"name": "reset
|
|
4195
|
-
"description": "Fired when the Reset button is clicked.\n\n**Note:**
|
|
4030
|
+
"name": "reset",
|
|
4031
|
+
"description": "Fired when the Reset button is clicked.\n\n**Note:** This event is particularly relevant when the dialog contains custom tabs.\nBy default, the Reset button resets all built-in settings (sort, filter, group) to their\ninitial values. However, the component has no knowledge of the content or state inside\ncustom tabs — it cannot detect what has changed or what the \"default\" values are.\nTherefore, when this event is fired, it is the application developer's responsibility\nto listen for it and manually reset the custom tab content to its initial state."
|
|
4196
4032
|
}
|
|
4197
4033
|
],
|
|
4198
4034
|
"js": {
|
|
4199
4035
|
"properties": [
|
|
4200
|
-
{
|
|
4201
|
-
"name": "enable-reset",
|
|
4202
|
-
"description": "Defines whether the Reset button is always enabled.\n\n**Note:** By default, the Reset button is only enabled when the dialog settings\ndiffer from their initial state. Set this property to `true` to keep the Reset\nbutton always enabled, which is useful when working with custom tabs\nwhose internal state changes cannot be detected by the component.",
|
|
4203
|
-
"value": { "type": "boolean" }
|
|
4204
|
-
},
|
|
4205
4036
|
{
|
|
4206
4037
|
"name": "group-descending",
|
|
4207
4038
|
"description": "Defines the initial group order.",
|
|
@@ -4212,6 +4043,11 @@
|
|
|
4212
4043
|
"description": "Indicates if the dialog is open.",
|
|
4213
4044
|
"value": { "type": "boolean" }
|
|
4214
4045
|
},
|
|
4046
|
+
{
|
|
4047
|
+
"name": "reset-enabled",
|
|
4048
|
+
"description": "Controls whether the Reset button is always enabled.\n\nBy default, the Reset button is enabled only when the built-in settings (Sort, Filter, Group)\ndiffer from their initial state — the component can detect these changes automatically.\nHowever, when the dialog contains custom tabs, the component has no way to detect\nwhether the custom tab content has been modified by the user.\n\nSet this property to `true` when the user has made changes inside a custom tab, so that\nthe Reset button becomes enabled and the user can trigger a reset.\nSet it back to `false` once the custom tab content is back to its initial state\n(e.g. after the user confirms or after a reset is applied).",
|
|
4049
|
+
"value": { "type": "boolean" }
|
|
4050
|
+
},
|
|
4215
4051
|
{
|
|
4216
4052
|
"name": "sort-descending",
|
|
4217
4053
|
"description": "Defines the initial sort order.",
|
|
@@ -4240,8 +4076,8 @@
|
|
|
4240
4076
|
"description": "Fired after the dialog is opened."
|
|
4241
4077
|
},
|
|
4242
4078
|
{
|
|
4243
|
-
"name": "reset
|
|
4244
|
-
"description": "Fired when the Reset button is clicked.\n\n**Note:**
|
|
4079
|
+
"name": "reset",
|
|
4080
|
+
"description": "Fired when the Reset button is clicked.\n\n**Note:** This event is particularly relevant when the dialog contains custom tabs.\nBy default, the Reset button resets all built-in settings (sort, filter, group) to their\ninitial values. However, the component has no knowledge of the content or state inside\ncustom tabs — it cannot detect what has changed or what the \"default\" values are.\nTherefore, when this event is fired, it is the application developer's responsibility\nto listen for it and manually reset the custom tab content to its initial state."
|
|
4245
4081
|
}
|
|
4246
4082
|
]
|
|
4247
4083
|
}
|
|
@@ -4253,12 +4089,12 @@
|
|
|
4253
4089
|
"attributes": [
|
|
4254
4090
|
{
|
|
4255
4091
|
"name": "icon",
|
|
4256
|
-
"description": "Defines the icon of the custom tab
|
|
4257
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
4092
|
+
"description": "Defines the icon of the custom tab button in the segmented button.",
|
|
4093
|
+
"value": { "type": "string", "default": "\"action-settings\"" }
|
|
4258
4094
|
},
|
|
4259
4095
|
{
|
|
4260
|
-
"name": "title",
|
|
4261
|
-
"description": "Defines the title of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
|
|
4096
|
+
"name": "title-text",
|
|
4097
|
+
"description": "Defines the title text of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
|
|
4262
4098
|
"value": { "type": "string", "default": "\"\"" }
|
|
4263
4099
|
},
|
|
4264
4100
|
{
|
|
@@ -4282,12 +4118,12 @@
|
|
|
4282
4118
|
"properties": [
|
|
4283
4119
|
{
|
|
4284
4120
|
"name": "icon",
|
|
4285
|
-
"description": "Defines the icon of the custom tab
|
|
4121
|
+
"description": "Defines the icon of the custom tab button in the segmented button.",
|
|
4286
4122
|
"value": { "type": "string" }
|
|
4287
4123
|
},
|
|
4288
4124
|
{
|
|
4289
|
-
"name": "title",
|
|
4290
|
-
"description": "Defines the title of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
|
|
4125
|
+
"name": "title-text",
|
|
4126
|
+
"description": "Defines the title text of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
|
|
4291
4127
|
"value": { "type": "string" }
|
|
4292
4128
|
},
|
|
4293
4129
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-fiori",
|
|
3
|
-
"version": "2.22.0
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.fiori",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -54,20 +54,20 @@
|
|
|
54
54
|
"directory": "packages/fiori"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@ui5/webcomponents": "2.22.0
|
|
58
|
-
"@ui5/webcomponents-base": "2.22.0
|
|
59
|
-
"@ui5/webcomponents-icons": "2.22.0
|
|
60
|
-
"@ui5/webcomponents-theming": "2.22.0
|
|
57
|
+
"@ui5/webcomponents": "2.22.0",
|
|
58
|
+
"@ui5/webcomponents-base": "2.22.0",
|
|
59
|
+
"@ui5/webcomponents-icons": "2.22.0",
|
|
60
|
+
"@ui5/webcomponents-theming": "2.22.0",
|
|
61
61
|
"@zxing/library": "^0.21.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@custom-elements-manifest/analyzer": "^0.10.10",
|
|
65
65
|
"@ui5/cypress-internal": "0.1.0",
|
|
66
|
-
"@ui5/webcomponents-tools": "2.22.0
|
|
66
|
+
"@ui5/webcomponents-tools": "2.22.0",
|
|
67
67
|
"cypress": "15.9.0",
|
|
68
68
|
"lit": "^2.0.0",
|
|
69
69
|
"vite": "5.4.21",
|
|
70
70
|
"yarn": "^1.22.22"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "1b2500a573cf0e268d87aa10b22564058a6e4de8"
|
|
73
73
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type NavigationMenuItem from "./NavigationMenuItem.js";
|
|
2
2
|
import MenuItemTemplate from "@ui5/webcomponents/dist/MenuItemTemplate.js";
|
|
3
|
+
import type { MenuItemHooks } from "@ui5/webcomponents/dist/MenuItemTemplate.js";
|
|
3
4
|
import Icon from "@ui5/webcomponents/dist/Icon.js";
|
|
4
5
|
import slimArrowRightIcon from "@ui5/webcomponents-icons/dist/slim-arrow-right.js";
|
|
5
6
|
import arrowRightIcon from "@ui5/webcomponents-icons/dist/arrow-right.js";
|
|
6
|
-
import type { ListItemHooks } from "@ui5/webcomponents/dist/ListItemTemplate.js";
|
|
7
7
|
|
|
8
|
-
const predefinedHooks: Partial<
|
|
8
|
+
const predefinedHooks: Partial<MenuItemHooks> = {
|
|
9
9
|
listItemContent,
|
|
10
10
|
iconBegin,
|
|
11
11
|
iconEnd,
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
export default function NavigationMenuItemTemplate(this: NavigationMenuItem, hooks?: Partial<
|
|
14
|
+
export default function NavigationMenuItemTemplate(this: NavigationMenuItem, hooks?: Partial<MenuItemHooks>) {
|
|
15
15
|
const currentHooks = { ...predefinedHooks, ...hooks, };
|
|
16
16
|
|
|
17
17
|
return <>
|