@ui5/webcomponents-fiori 2.22.0-rc.4 → 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 +16 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/NavigationMenuItemTemplate.d.ts +2 -2
- package/dist/NavigationMenuItemTemplate.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/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/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 +205 -694
- package/dist/custom-elements.json +109 -440
- 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 -65
- package/dist/web-types.json +41 -195
- 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/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 -114
- package/dist/TimelineHeaderBar.js +0 -264
- 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,43 +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-search",
|
|
1229
|
-
"description": "Shows the search input field.",
|
|
1230
|
-
"values": []
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"name": "show-sort",
|
|
1234
|
-
"description": "Shows the sort button.",
|
|
1235
|
-
"values": []
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "sort-order",
|
|
1239
|
-
"description": "The current sort order.",
|
|
1240
|
-
"values": [{ "name": "Ascending" }, { "name": "Descending" }]
|
|
1241
|
-
}
|
|
1242
|
-
],
|
|
1243
|
-
"references": []
|
|
1244
|
-
},
|
|
1245
1191
|
{
|
|
1246
1192
|
"name": "ui5-timeline-item",
|
|
1247
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`.",
|
|
@@ -1504,7 +1450,13 @@
|
|
|
1504
1450
|
{
|
|
1505
1451
|
"name": "ui5-user-menu-item",
|
|
1506
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.",
|
|
1507
|
-
"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
|
+
],
|
|
1508
1460
|
"references": []
|
|
1509
1461
|
},
|
|
1510
1462
|
{
|
|
@@ -1689,13 +1641,8 @@
|
|
|
1689
1641
|
},
|
|
1690
1642
|
{
|
|
1691
1643
|
"name": "ui5-view-settings-dialog",
|
|
1692
|
-
"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.",
|
|
1693
1645
|
"attributes": [
|
|
1694
|
-
{
|
|
1695
|
-
"name": "enable-reset",
|
|
1696
|
-
"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.",
|
|
1697
|
-
"values": []
|
|
1698
|
-
},
|
|
1699
1646
|
{
|
|
1700
1647
|
"name": "group-descending",
|
|
1701
1648
|
"description": "Defines the initial group order.",
|
|
@@ -1706,6 +1653,11 @@
|
|
|
1706
1653
|
"description": "Indicates if the dialog is open.",
|
|
1707
1654
|
"values": []
|
|
1708
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
|
+
},
|
|
1709
1661
|
{
|
|
1710
1662
|
"name": "sort-descending",
|
|
1711
1663
|
"description": "Defines the initial sort order.",
|
|
@@ -1720,12 +1672,12 @@
|
|
|
1720
1672
|
"attributes": [
|
|
1721
1673
|
{
|
|
1722
1674
|
"name": "icon",
|
|
1723
|
-
"description": "Defines the icon of the custom tab
|
|
1675
|
+
"description": "Defines the icon of the custom tab button in the segmented button.",
|
|
1724
1676
|
"values": []
|
|
1725
1677
|
},
|
|
1726
1678
|
{
|
|
1727
|
-
"name": "title",
|
|
1728
|
-
"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.",
|
|
1729
1681
|
"values": []
|
|
1730
1682
|
},
|
|
1731
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,114 +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-search",
|
|
2915
|
-
"description": "Shows the search input field.",
|
|
2916
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"name": "show-sort",
|
|
2920
|
-
"description": "Shows the sort button.",
|
|
2921
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2922
|
-
},
|
|
2923
|
-
{
|
|
2924
|
-
"name": "sort-order",
|
|
2925
|
-
"description": "The current sort order.",
|
|
2926
|
-
"value": {
|
|
2927
|
-
"type": "\"Ascending\" | \"Descending\"",
|
|
2928
|
-
"default": "\"Ascending\""
|
|
2929
|
-
}
|
|
2930
|
-
}
|
|
2931
|
-
],
|
|
2932
|
-
"slots": [
|
|
2933
|
-
{
|
|
2934
|
-
"name": "default",
|
|
2935
|
-
"description": "Filter options to display in the filter dialog."
|
|
2936
|
-
}
|
|
2937
|
-
],
|
|
2938
|
-
"events": [
|
|
2939
|
-
{
|
|
2940
|
-
"name": "filter",
|
|
2941
|
-
"description": "Fired when the user changes filter selection."
|
|
2942
|
-
},
|
|
2943
|
-
{
|
|
2944
|
-
"name": "search",
|
|
2945
|
-
"description": "Fired when the user performs a search."
|
|
2946
|
-
},
|
|
2947
|
-
{
|
|
2948
|
-
"name": "sort",
|
|
2949
|
-
"description": "Fired when the user changes sort order."
|
|
2950
|
-
}
|
|
2951
|
-
],
|
|
2952
|
-
"js": {
|
|
2953
|
-
"properties": [
|
|
2954
|
-
{
|
|
2955
|
-
"name": "filter-by",
|
|
2956
|
-
"description": "The current filter category label.",
|
|
2957
|
-
"value": { "type": "string" }
|
|
2958
|
-
},
|
|
2959
|
-
{
|
|
2960
|
-
"name": "search-value",
|
|
2961
|
-
"description": "The current search value.",
|
|
2962
|
-
"value": { "type": "string" }
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "show-filter",
|
|
2966
|
-
"description": "Shows the filter button.",
|
|
2967
|
-
"value": { "type": "boolean" }
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"name": "show-search",
|
|
2971
|
-
"description": "Shows the search input field.",
|
|
2972
|
-
"value": { "type": "boolean" }
|
|
2973
|
-
},
|
|
2974
|
-
{
|
|
2975
|
-
"name": "show-sort",
|
|
2976
|
-
"description": "Shows the sort button.",
|
|
2977
|
-
"value": { "type": "boolean" }
|
|
2978
|
-
},
|
|
2979
|
-
{
|
|
2980
|
-
"name": "sort-order",
|
|
2981
|
-
"description": "The current sort order.",
|
|
2982
|
-
"value": { "type": "\"Ascending\" | \"Descending\"" }
|
|
2983
|
-
}
|
|
2984
|
-
],
|
|
2985
|
-
"events": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "filter",
|
|
2988
|
-
"description": "Fired when the user changes filter selection."
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"name": "search",
|
|
2992
|
-
"description": "Fired when the user performs a search."
|
|
2993
|
-
},
|
|
2994
|
-
{
|
|
2995
|
-
"name": "sort",
|
|
2996
|
-
"description": "Fired when the user changes sort order."
|
|
2997
|
-
}
|
|
2998
|
-
]
|
|
2999
|
-
}
|
|
3000
|
-
},
|
|
3001
2832
|
{
|
|
3002
2833
|
"name": "ui5-timeline-item",
|
|
3003
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`.",
|
|
@@ -3630,7 +3461,13 @@
|
|
|
3630
3461
|
"name": "ui5-user-menu-item",
|
|
3631
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.",
|
|
3632
3463
|
"doc-url": "",
|
|
3633
|
-
"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
|
+
],
|
|
3634
3471
|
"slots": [
|
|
3635
3472
|
{
|
|
3636
3473
|
"name": "default",
|
|
@@ -3638,7 +3475,16 @@
|
|
|
3638
3475
|
}
|
|
3639
3476
|
],
|
|
3640
3477
|
"events": [],
|
|
3641
|
-
"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
|
+
}
|
|
3642
3488
|
},
|
|
3643
3489
|
{
|
|
3644
3490
|
"name": "ui5-user-menu-item-group",
|
|
@@ -4117,14 +3963,9 @@
|
|
|
4117
3963
|
},
|
|
4118
3964
|
{
|
|
4119
3965
|
"name": "ui5-view-settings-dialog",
|
|
4120
|
-
"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.",
|
|
4121
3967
|
"doc-url": "",
|
|
4122
3968
|
"attributes": [
|
|
4123
|
-
{
|
|
4124
|
-
"name": "enable-reset",
|
|
4125
|
-
"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.",
|
|
4126
|
-
"value": { "type": "boolean", "default": "false" }
|
|
4127
|
-
},
|
|
4128
3969
|
{
|
|
4129
3970
|
"name": "group-descending",
|
|
4130
3971
|
"description": "Defines the initial group order.",
|
|
@@ -4135,6 +3976,11 @@
|
|
|
4135
3976
|
"description": "Indicates if the dialog is open.",
|
|
4136
3977
|
"value": { "type": "boolean", "default": "false" }
|
|
4137
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
|
+
},
|
|
4138
3984
|
{
|
|
4139
3985
|
"name": "sort-descending",
|
|
4140
3986
|
"description": "Defines the initial sort order.",
|
|
@@ -4181,17 +4027,12 @@
|
|
|
4181
4027
|
"description": "Fired after the dialog is opened."
|
|
4182
4028
|
},
|
|
4183
4029
|
{
|
|
4184
|
-
"name": "reset
|
|
4185
|
-
"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."
|
|
4186
4032
|
}
|
|
4187
4033
|
],
|
|
4188
4034
|
"js": {
|
|
4189
4035
|
"properties": [
|
|
4190
|
-
{
|
|
4191
|
-
"name": "enable-reset",
|
|
4192
|
-
"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.",
|
|
4193
|
-
"value": { "type": "boolean" }
|
|
4194
|
-
},
|
|
4195
4036
|
{
|
|
4196
4037
|
"name": "group-descending",
|
|
4197
4038
|
"description": "Defines the initial group order.",
|
|
@@ -4202,6 +4043,11 @@
|
|
|
4202
4043
|
"description": "Indicates if the dialog is open.",
|
|
4203
4044
|
"value": { "type": "boolean" }
|
|
4204
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
|
+
},
|
|
4205
4051
|
{
|
|
4206
4052
|
"name": "sort-descending",
|
|
4207
4053
|
"description": "Defines the initial sort order.",
|
|
@@ -4230,8 +4076,8 @@
|
|
|
4230
4076
|
"description": "Fired after the dialog is opened."
|
|
4231
4077
|
},
|
|
4232
4078
|
{
|
|
4233
|
-
"name": "reset
|
|
4234
|
-
"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."
|
|
4235
4081
|
}
|
|
4236
4082
|
]
|
|
4237
4083
|
}
|
|
@@ -4243,12 +4089,12 @@
|
|
|
4243
4089
|
"attributes": [
|
|
4244
4090
|
{
|
|
4245
4091
|
"name": "icon",
|
|
4246
|
-
"description": "Defines the icon of the custom tab
|
|
4247
|
-
"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\"" }
|
|
4248
4094
|
},
|
|
4249
4095
|
{
|
|
4250
|
-
"name": "title",
|
|
4251
|
-
"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.",
|
|
4252
4098
|
"value": { "type": "string", "default": "\"\"" }
|
|
4253
4099
|
},
|
|
4254
4100
|
{
|
|
@@ -4272,12 +4118,12 @@
|
|
|
4272
4118
|
"properties": [
|
|
4273
4119
|
{
|
|
4274
4120
|
"name": "icon",
|
|
4275
|
-
"description": "Defines the icon of the custom tab
|
|
4121
|
+
"description": "Defines the icon of the custom tab button in the segmented button.",
|
|
4276
4122
|
"value": { "type": "string" }
|
|
4277
4123
|
},
|
|
4278
4124
|
{
|
|
4279
|
-
"name": "title",
|
|
4280
|
-
"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.",
|
|
4281
4127
|
"value": { "type": "string" }
|
|
4282
4128
|
},
|
|
4283
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 <>
|
package/src/TimelineTemplate.tsx
CHANGED
|
@@ -14,13 +14,6 @@ export default function TimelineTemplate(this: Timeline) {
|
|
|
14
14
|
onFocusIn={this._onfocusin}
|
|
15
15
|
onKeyDown={this._onkeydown}
|
|
16
16
|
>
|
|
17
|
-
{/* Header Bar Slot */}
|
|
18
|
-
{this._hasHeaderBar && (
|
|
19
|
-
<div class="ui5-timeline-header-bar-wrapper">
|
|
20
|
-
<slot name="headerBar"></slot>
|
|
21
|
-
</div>
|
|
22
|
-
)}
|
|
23
|
-
|
|
24
17
|
<BusyIndicator
|
|
25
18
|
id={`${this._id}-busyIndicator`}
|
|
26
19
|
delay={this.loadingDelay}
|