@ui5/webcomponents-fiori 2.27.0-rc.1 → 2.27.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 +33 -0
- package/README.md +3 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/DynamicPage.d.ts +1 -0
- package/dist/DynamicPage.js +5 -0
- package/dist/DynamicPage.js.map +1 -1
- package/dist/DynamicPageTemplate.js +2 -2
- package/dist/DynamicPageTemplate.js.map +1 -1
- package/dist/Search.d.ts +21 -0
- package/dist/Search.js +49 -9
- package/dist/Search.js.map +1 -1
- package/dist/ShellBarItemTemplate.js +1 -1
- package/dist/ShellBarItemTemplate.js.map +1 -1
- package/dist/ShellBarSearch.js +1 -1
- package/dist/ShellBarSearch.js.map +1 -1
- package/dist/Timeline.d.ts +1 -0
- package/dist/Timeline.js +10 -0
- package/dist/Timeline.js.map +1 -1
- package/dist/UserSettingsItem.d.ts +5 -0
- package/dist/UserSettingsItem.js +21 -0
- package/dist/UserSettingsItem.js.map +1 -1
- package/dist/UserSettingsNotificationsView.d.ts +82 -0
- package/dist/UserSettingsNotificationsView.js +167 -0
- package/dist/UserSettingsNotificationsView.js.map +1 -0
- package/dist/UserSettingsNotificationsViewGroup.d.ts +29 -0
- package/dist/UserSettingsNotificationsViewGroup.js +49 -0
- package/dist/UserSettingsNotificationsViewGroup.js.map +1 -0
- package/dist/UserSettingsNotificationsViewItem.d.ts +100 -0
- package/dist/UserSettingsNotificationsViewItem.js +186 -0
- package/dist/UserSettingsNotificationsViewItem.js.map +1 -0
- package/dist/UserSettingsNotificationsViewItemTemplate.d.ts +2 -0
- package/dist/UserSettingsNotificationsViewItemTemplate.js +28 -0
- package/dist/UserSettingsNotificationsViewItemTemplate.js.map +1 -0
- package/dist/UserSettingsNotificationsViewTemplate.d.ts +2 -0
- package/dist/UserSettingsNotificationsViewTemplate.js +6 -0
- package/dist/UserSettingsNotificationsViewTemplate.js.map +1 -0
- package/dist/WizardTab.d.ts +1 -0
- package/dist/WizardTab.js +7 -1
- package/dist/WizardTab.js.map +1 -1
- package/dist/bundle.esm.js +3 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/DynamicPage.css +1 -1
- package/dist/css/themes/ShellBarItem.css +1 -1
- package/dist/css/themes/ShellBarPopover.css +1 -1
- package/dist/css/themes/TimelineGroupItem.css +1 -1
- package/dist/css/themes/TimelineItem.css +1 -1
- package/dist/css/themes/UserSettingsNotificationsView.css +1 -0
- package/dist/css/themes/UserSettingsNotificationsViewGroup.css +1 -0
- package/dist/css/themes/UserSettingsNotificationsViewItem.css +1 -0
- package/dist/css/themes/WizardTab.css +1 -1
- package/dist/custom-elements-internal.json +892 -8
- package/dist/custom-elements.json +700 -8
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_id.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +3 -1
- package/dist/generated/i18n/i18n-defaults.js +3 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/DynamicPage.css.d.ts +1 -1
- package/dist/generated/themes/DynamicPage.css.js +1 -1
- package/dist/generated/themes/DynamicPage.css.js.map +1 -1
- package/dist/generated/themes/ShellBarItem.css.d.ts +1 -1
- package/dist/generated/themes/ShellBarItem.css.js +1 -1
- package/dist/generated/themes/ShellBarItem.css.js.map +1 -1
- package/dist/generated/themes/ShellBarPopover.css.d.ts +1 -1
- package/dist/generated/themes/ShellBarPopover.css.js +1 -1
- package/dist/generated/themes/ShellBarPopover.css.js.map +1 -1
- package/dist/generated/themes/TimelineGroupItem.css.d.ts +1 -1
- package/dist/generated/themes/TimelineGroupItem.css.js +1 -1
- package/dist/generated/themes/TimelineGroupItem.css.js.map +1 -1
- package/dist/generated/themes/TimelineItem.css.d.ts +1 -1
- package/dist/generated/themes/TimelineItem.css.js +1 -1
- package/dist/generated/themes/TimelineItem.css.js.map +1 -1
- package/dist/generated/themes/UserSettingsNotificationsView.css.d.ts +2 -0
- package/dist/generated/themes/UserSettingsNotificationsView.css.js +8 -0
- package/dist/generated/themes/UserSettingsNotificationsView.css.js.map +1 -0
- package/dist/generated/themes/UserSettingsNotificationsViewGroup.css.d.ts +2 -0
- package/dist/generated/themes/UserSettingsNotificationsViewGroup.css.js +8 -0
- package/dist/generated/themes/UserSettingsNotificationsViewGroup.css.js.map +1 -0
- package/dist/generated/themes/UserSettingsNotificationsViewItem.css.d.ts +2 -0
- package/dist/generated/themes/UserSettingsNotificationsViewItem.css.js +8 -0
- package/dist/generated/themes/UserSettingsNotificationsViewItem.css.js.map +1 -0
- package/dist/generated/themes/WizardTab.css.d.ts +1 -1
- package/dist/generated/themes/WizardTab.css.js +1 -1
- package/dist/generated/themes/WizardTab.css.js.map +1 -1
- package/dist/shellbar/ShellBarSearch.d.ts +1 -0
- package/dist/shellbar/ShellBarSearch.js +3 -2
- package/dist/shellbar/ShellBarSearch.js.map +1 -1
- package/dist/shellbar/ShellBarSearchLegacy.js +2 -1
- package/dist/shellbar/ShellBarSearchLegacy.js.map +1 -1
- package/dist/vscode.html-custom-data.json +60 -0
- package/dist/web-types.json +161 -1
- package/package.json +7 -7
- package/src/DynamicPageTemplate.tsx +6 -2
- package/src/ShellBarItemTemplate.tsx +4 -4
- package/src/UserSettingsNotificationsViewItemTemplate.tsx +73 -0
- package/src/UserSettingsNotificationsViewTemplate.tsx +26 -0
- package/src/i18n/messagebundle.properties +7 -1
- package/src/i18n/messagebundle_ar.properties +6 -0
- package/src/i18n/messagebundle_bg.properties +6 -0
- package/src/i18n/messagebundle_ca.properties +6 -0
- package/src/i18n/messagebundle_cnr.properties +6 -0
- package/src/i18n/messagebundle_cs.properties +6 -0
- package/src/i18n/messagebundle_cy.properties +6 -0
- package/src/i18n/messagebundle_da.properties +6 -0
- package/src/i18n/messagebundle_de.properties +6 -0
- package/src/i18n/messagebundle_el.properties +6 -0
- package/src/i18n/messagebundle_en.properties +6 -0
- package/src/i18n/messagebundle_en_GB.properties +6 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +6 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +6 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +6 -0
- package/src/i18n/messagebundle_es.properties +6 -0
- package/src/i18n/messagebundle_es_MX.properties +6 -0
- package/src/i18n/messagebundle_et.properties +6 -0
- package/src/i18n/messagebundle_fi.properties +6 -0
- package/src/i18n/messagebundle_fr.properties +7 -1
- package/src/i18n/messagebundle_fr_CA.properties +6 -0
- package/src/i18n/messagebundle_hi.properties +6 -0
- package/src/i18n/messagebundle_hr.properties +6 -0
- package/src/i18n/messagebundle_hu.properties +6 -0
- package/src/i18n/messagebundle_id.properties +6 -0
- package/src/i18n/messagebundle_it.properties +6 -0
- package/src/i18n/messagebundle_iw.properties +6 -0
- package/src/i18n/messagebundle_ja.properties +6 -0
- package/src/i18n/messagebundle_kk.properties +6 -0
- package/src/i18n/messagebundle_ko.properties +6 -0
- package/src/i18n/messagebundle_lt.properties +6 -0
- package/src/i18n/messagebundle_lv.properties +6 -0
- package/src/i18n/messagebundle_mk.properties +6 -0
- package/src/i18n/messagebundle_ms.properties +6 -0
- package/src/i18n/messagebundle_nl.properties +6 -0
- package/src/i18n/messagebundle_no.properties +6 -0
- package/src/i18n/messagebundle_pl.properties +6 -0
- package/src/i18n/messagebundle_pt.properties +6 -0
- package/src/i18n/messagebundle_pt_PT.properties +6 -0
- package/src/i18n/messagebundle_ro.properties +6 -0
- package/src/i18n/messagebundle_ru.properties +6 -0
- package/src/i18n/messagebundle_sh.properties +6 -0
- package/src/i18n/messagebundle_sk.properties +6 -0
- package/src/i18n/messagebundle_sl.properties +6 -0
- package/src/i18n/messagebundle_sr.properties +6 -0
- package/src/i18n/messagebundle_sv.properties +6 -0
- package/src/i18n/messagebundle_th.properties +6 -0
- package/src/i18n/messagebundle_tr.properties +6 -0
- package/src/i18n/messagebundle_uk.properties +6 -0
- package/src/i18n/messagebundle_vi.properties +6 -0
- package/src/i18n/messagebundle_zh_CN.properties +6 -0
- package/src/i18n/messagebundle_zh_TW.properties +6 -0
- package/src/themes/DynamicPage.css +6 -0
- package/src/themes/ShellBarItem.css +34 -16
- package/src/themes/ShellBarPopover.css +0 -26
- package/src/themes/TimelineGroupItem.css +1 -0
- package/src/themes/TimelineItem.css +9 -0
- package/src/themes/UserSettingsNotificationsView.css +22 -0
- package/src/themes/UserSettingsNotificationsViewGroup.css +8 -0
- package/src/themes/UserSettingsNotificationsViewItem.css +152 -0
- package/src/themes/WizardTab.css +2 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import ListItemGroup from "@ui5/webcomponents/dist/ListItemGroup.js";
|
|
8
|
+
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
|
|
9
|
+
import slot from "@ui5/webcomponents-base/dist/decorators/slot-strict.js";
|
|
10
|
+
import createInstanceChecker from "@ui5/webcomponents-base/dist/util/createInstanceChecker.js";
|
|
11
|
+
import UserSettingsNotificationsViewGroupCss from "./generated/themes/UserSettingsNotificationsViewGroup.css.js";
|
|
12
|
+
/**
|
|
13
|
+
* @class
|
|
14
|
+
* ### Overview
|
|
15
|
+
*
|
|
16
|
+
* The `ui5-user-settings-notifications-view-group` groups `ui5-user-settings-notifications-view-item`
|
|
17
|
+
* elements inside a `ui5-user-settings-notifications-view`. Its header renders as a plain bold
|
|
18
|
+
* section title with a separator line below, per the notifications design spec.
|
|
19
|
+
*
|
|
20
|
+
* ### ES6 Module Import
|
|
21
|
+
* `import "@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewGroup.js";`
|
|
22
|
+
*
|
|
23
|
+
* @constructor
|
|
24
|
+
* @extends ListItemGroup
|
|
25
|
+
* @public
|
|
26
|
+
* @since 2.27.0
|
|
27
|
+
*/
|
|
28
|
+
let UserSettingsNotificationsViewGroup = class UserSettingsNotificationsViewGroup extends ListItemGroup {
|
|
29
|
+
get isUserSettingsNotificationsViewGroup() {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
__decorate([
|
|
34
|
+
slot({
|
|
35
|
+
"default": true,
|
|
36
|
+
invalidateOnChildChange: true,
|
|
37
|
+
type: HTMLElement,
|
|
38
|
+
})
|
|
39
|
+
], UserSettingsNotificationsViewGroup.prototype, "items", void 0);
|
|
40
|
+
UserSettingsNotificationsViewGroup = __decorate([
|
|
41
|
+
customElement({
|
|
42
|
+
tag: "ui5-user-settings-notifications-view-group",
|
|
43
|
+
styles: [ListItemGroup.styles, UserSettingsNotificationsViewGroupCss],
|
|
44
|
+
})
|
|
45
|
+
], UserSettingsNotificationsViewGroup);
|
|
46
|
+
UserSettingsNotificationsViewGroup.define();
|
|
47
|
+
export const isInstanceOfUserSettingsNotificationsViewGroup = createInstanceChecker("isUserSettingsNotificationsViewGroup");
|
|
48
|
+
export default UserSettingsNotificationsViewGroup;
|
|
49
|
+
//# sourceMappingURL=UserSettingsNotificationsViewGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserSettingsNotificationsViewGroup.js","sourceRoot":"","sources":["../src/UserSettingsNotificationsViewGroup.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,IAAI,MAAM,wDAAwD,CAAC;AAC1E,OAAO,qBAAqB,MAAM,4DAA4D,CAAC;AAC/F,OAAO,qCAAqC,MAAM,8DAA8D,CAAC;AAIjH;;;;;;;;;;;;;;;GAeG;AAKH,IAAM,kCAAkC,GAAxC,MAAM,kCAAmC,SAAQ,aAAa;IAY7D,IAAI,oCAAoC;QACvC,OAAO,IAAI,CAAC;IACb,CAAC;CACD,CAAA;AALQ;IALP,IAAI,CAAC;QACL,SAAS,EAAE,IAAI;QACf,uBAAuB,EAAE,IAAI;QAC7B,IAAI,EAAE,WAAW;KACjB,CAAC;iEAC4D;AAVzD,kCAAkC;IAJvC,aAAa,CAAC;QACd,GAAG,EAAE,4CAA4C;QACjD,MAAM,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,qCAAqC,CAAC;KACrE,CAAC;GACI,kCAAkC,CAevC;AAED,kCAAkC,CAAC,MAAM,EAAE,CAAC;AAE5C,MAAM,CAAC,MAAM,8CAA8C,GAAG,qBAAqB,CAAqC,sCAAsC,CAAC,CAAC;AAChK,eAAe,kCAAkC,CAAC","sourcesContent":["import ListItemGroup from \"@ui5/webcomponents/dist/ListItemGroup.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot-strict.js\";\nimport createInstanceChecker from \"@ui5/webcomponents-base/dist/util/createInstanceChecker.js\";\nimport UserSettingsNotificationsViewGroupCss from \"./generated/themes/UserSettingsNotificationsViewGroup.css.js\";\nimport type UserSettingsNotificationsViewItem from \"./UserSettingsNotificationsViewItem.js\";\nimport type { DefaultSlot } from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-user-settings-notifications-view-group` groups `ui5-user-settings-notifications-view-item`\n * elements inside a `ui5-user-settings-notifications-view`. Its header renders as a plain bold\n * section title with a separator line below, per the notifications design spec.\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewGroup.js\";`\n *\n * @constructor\n * @extends ListItemGroup\n * @public\n * @since 2.27.0\n */\n@customElement({\n\ttag: \"ui5-user-settings-notifications-view-group\",\n\tstyles: [ListItemGroup.styles, UserSettingsNotificationsViewGroupCss],\n})\nclass UserSettingsNotificationsViewGroup extends ListItemGroup {\n\t/**\n\t * Defines the items of the `ui5-user-settings-notifications-view-group`.\n\t * @public\n\t */\n\t@slot({\n\t\t\"default\": true,\n\t\tinvalidateOnChildChange: true,\n\t\ttype: HTMLElement,\n\t})\n\tdeclare items: DefaultSlot<UserSettingsNotificationsViewItem>;\n\n\tget isUserSettingsNotificationsViewGroup(): boolean {\n\t\treturn true;\n\t}\n}\n\nUserSettingsNotificationsViewGroup.define();\n\nexport const isInstanceOfUserSettingsNotificationsViewGroup = createInstanceChecker<UserSettingsNotificationsViewGroup>(\"isUserSettingsNotificationsViewGroup\");\nexport default UserSettingsNotificationsViewGroup;\n"]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import ListItemCustom from "@ui5/webcomponents/dist/ListItemCustom.js";
|
|
2
|
+
import type { Slot } from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
3
|
+
import type { AccessibilityInfo } from "@ui5/webcomponents-base/dist/types.js";
|
|
4
|
+
type UserSettingsNotificationsViewItemSwitchChangeEventDetail = {
|
|
5
|
+
item: UserSettingsNotificationsViewItem;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @class
|
|
10
|
+
* ### Overview
|
|
11
|
+
*
|
|
12
|
+
* The `ui5-user-settings-notifications-view-item` represents a single notification setting
|
|
13
|
+
* within the `ui5-user-settings-notifications-view`.
|
|
14
|
+
*
|
|
15
|
+
* It displays a title and an optional byline. By default a trailing switch reflects
|
|
16
|
+
* the `checked` state. Applications can override the trailing control by providing content
|
|
17
|
+
* in the `endContent` slot (e.g. a `ui5-select` for a value picker); the built-in switch and
|
|
18
|
+
* its `switch-change` event are then suppressed. Items can additionally be flagged as
|
|
19
|
+
* `navigable` to display a navigation arrow and behave as clickable list rows.
|
|
20
|
+
*
|
|
21
|
+
* **Note:** The default switch and the `endContent` slot are mutually exclusive.
|
|
22
|
+
* When any content is provided in `endContent`, the trailing switch is not rendered
|
|
23
|
+
* and no `switch-change` event is fired.
|
|
24
|
+
*
|
|
25
|
+
* ### ES6 Module Import
|
|
26
|
+
* `import "@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewItem.js";`
|
|
27
|
+
*
|
|
28
|
+
* @constructor
|
|
29
|
+
* @extends ListItemCustom
|
|
30
|
+
* @public
|
|
31
|
+
* @since 2.27.0
|
|
32
|
+
*/
|
|
33
|
+
declare class UserSettingsNotificationsViewItem extends ListItemCustom {
|
|
34
|
+
eventDetails: ListItemCustom["eventDetails"] & {
|
|
35
|
+
"switch-change": UserSettingsNotificationsViewItemSwitchChangeEventDetail;
|
|
36
|
+
"_form-item-click": {
|
|
37
|
+
item: UserSettingsNotificationsViewItem;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Defines the unique identifier of the item.
|
|
42
|
+
*
|
|
43
|
+
* When the item is navigable, `itemKey` is also used to route to a matching sibling
|
|
44
|
+
* `secondary` view by id.
|
|
45
|
+
*
|
|
46
|
+
* @default ""
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
itemKey: string;
|
|
50
|
+
/**
|
|
51
|
+
* Defines the title text of the item.
|
|
52
|
+
* @default ""
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
text: string;
|
|
56
|
+
/**
|
|
57
|
+
* Defines the byline text of the item, rendered below the title.
|
|
58
|
+
* @default ""
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
bylineText: string;
|
|
62
|
+
/**
|
|
63
|
+
* Defines whether the trailing switch is on.
|
|
64
|
+
*
|
|
65
|
+
* Ignored when the `endContent` slot is used.
|
|
66
|
+
*
|
|
67
|
+
* @default false
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
checked: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Defines whether the item is navigable. When true, a navigation arrow is rendered
|
|
73
|
+
* and the whole row becomes clickable (fires the parent view's `item-click` event).
|
|
74
|
+
* @default false
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
navigable: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Defines custom content rendered at the trailing end of the item, replacing the
|
|
80
|
+
* default switch. Use this to place a `ui5-select`, `ui5-input`, or any other
|
|
81
|
+
* control instead of a boolean toggle.
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
endContent: Slot<HTMLElement>;
|
|
86
|
+
get isUserSettingsNotificationsViewItem(): boolean;
|
|
87
|
+
get typeNavigation(): boolean;
|
|
88
|
+
get _isHeaderItem(): boolean;
|
|
89
|
+
shouldForwardTabAfter(): boolean;
|
|
90
|
+
get _hasEndContent(): boolean;
|
|
91
|
+
get _accessibleSwitchName(): string;
|
|
92
|
+
_onkeyup(e: KeyboardEvent): void;
|
|
93
|
+
_handleSwitchChange: (e: Event) => void;
|
|
94
|
+
_handleFormItemClick: (e: MouseEvent) => void;
|
|
95
|
+
_handleEndClick: (e: MouseEvent) => void;
|
|
96
|
+
get accessibilityInfo(): AccessibilityInfo;
|
|
97
|
+
}
|
|
98
|
+
export declare const isInstanceOfUserSettingsNotificationsViewItem: (object: any) => object is UserSettingsNotificationsViewItem;
|
|
99
|
+
export default UserSettingsNotificationsViewItem;
|
|
100
|
+
export type { UserSettingsNotificationsViewItemSwitchChangeEventDetail, };
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import UserSettingsNotificationsViewItemTemplate from "./UserSettingsNotificationsViewItemTemplate.js";
|
|
8
|
+
import UserSettingsNotificationsViewItemCss from "./generated/themes/UserSettingsNotificationsViewItem.css.js";
|
|
9
|
+
import UserSettingViewCss from "./generated/themes/UserSettingsView.css.js";
|
|
10
|
+
import { customElement, property, slotStrict as slot, eventStrict as event, } from "@ui5/webcomponents-base/dist/decorators.js";
|
|
11
|
+
import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
|
|
12
|
+
import ListItemCustom from "@ui5/webcomponents/dist/ListItemCustom.js";
|
|
13
|
+
import createInstanceChecker from "@ui5/webcomponents-base/dist/util/createInstanceChecker.js";
|
|
14
|
+
import { isSpace } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
15
|
+
import { getTabbableElements } from "@ui5/webcomponents-base/dist/util/TabbableElements.js";
|
|
16
|
+
/**
|
|
17
|
+
* @class
|
|
18
|
+
* ### Overview
|
|
19
|
+
*
|
|
20
|
+
* The `ui5-user-settings-notifications-view-item` represents a single notification setting
|
|
21
|
+
* within the `ui5-user-settings-notifications-view`.
|
|
22
|
+
*
|
|
23
|
+
* It displays a title and an optional byline. By default a trailing switch reflects
|
|
24
|
+
* the `checked` state. Applications can override the trailing control by providing content
|
|
25
|
+
* in the `endContent` slot (e.g. a `ui5-select` for a value picker); the built-in switch and
|
|
26
|
+
* its `switch-change` event are then suppressed. Items can additionally be flagged as
|
|
27
|
+
* `navigable` to display a navigation arrow and behave as clickable list rows.
|
|
28
|
+
*
|
|
29
|
+
* **Note:** The default switch and the `endContent` slot are mutually exclusive.
|
|
30
|
+
* When any content is provided in `endContent`, the trailing switch is not rendered
|
|
31
|
+
* and no `switch-change` event is fired.
|
|
32
|
+
*
|
|
33
|
+
* ### ES6 Module Import
|
|
34
|
+
* `import "@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewItem.js";`
|
|
35
|
+
*
|
|
36
|
+
* @constructor
|
|
37
|
+
* @extends ListItemCustom
|
|
38
|
+
* @public
|
|
39
|
+
* @since 2.27.0
|
|
40
|
+
*/
|
|
41
|
+
let UserSettingsNotificationsViewItem = class UserSettingsNotificationsViewItem extends ListItemCustom {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments);
|
|
44
|
+
/**
|
|
45
|
+
* Defines the unique identifier of the item.
|
|
46
|
+
*
|
|
47
|
+
* When the item is navigable, `itemKey` is also used to route to a matching sibling
|
|
48
|
+
* `secondary` view by id.
|
|
49
|
+
*
|
|
50
|
+
* @default ""
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
this.itemKey = "";
|
|
54
|
+
/**
|
|
55
|
+
* Defines the title text of the item.
|
|
56
|
+
* @default ""
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
this.text = "";
|
|
60
|
+
/**
|
|
61
|
+
* Defines the byline text of the item, rendered below the title.
|
|
62
|
+
* @default ""
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
this.bylineText = "";
|
|
66
|
+
/**
|
|
67
|
+
* Defines whether the trailing switch is on.
|
|
68
|
+
*
|
|
69
|
+
* Ignored when the `endContent` slot is used.
|
|
70
|
+
*
|
|
71
|
+
* @default false
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
this.checked = false;
|
|
75
|
+
/**
|
|
76
|
+
* Defines whether the item is navigable. When true, a navigation arrow is rendered
|
|
77
|
+
* and the whole row becomes clickable (fires the parent view's `item-click` event).
|
|
78
|
+
* @default false
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
this.navigable = false;
|
|
82
|
+
this._handleSwitchChange = (e) => {
|
|
83
|
+
const target = e.target;
|
|
84
|
+
this.checked = target.checked;
|
|
85
|
+
this.fireDecoratorEvent("switch-change", { item: this, checked: this.checked });
|
|
86
|
+
};
|
|
87
|
+
this._handleFormItemClick = (e) => {
|
|
88
|
+
if (!this.navigable) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (e.target?.closest("[ui5-switch]")) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
this.fireDecoratorEvent("_form-item-click", { item: this });
|
|
95
|
+
};
|
|
96
|
+
this._handleEndClick = (e) => {
|
|
97
|
+
e.stopPropagation();
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
get isUserSettingsNotificationsViewItem() {
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
get typeNavigation() {
|
|
104
|
+
return this.navigable;
|
|
105
|
+
}
|
|
106
|
+
get _isHeaderItem() {
|
|
107
|
+
return this._individualSlot?.startsWith("headerItems") ?? false;
|
|
108
|
+
}
|
|
109
|
+
shouldForwardTabAfter() {
|
|
110
|
+
if (this._isHeaderItem) {
|
|
111
|
+
const tabbable = getTabbableElements(this.getFocusDomRef());
|
|
112
|
+
return tabbable.length === 0;
|
|
113
|
+
}
|
|
114
|
+
return super.shouldForwardTabAfter();
|
|
115
|
+
}
|
|
116
|
+
get _hasEndContent() {
|
|
117
|
+
return this.endContent.length > 0;
|
|
118
|
+
}
|
|
119
|
+
get _accessibleSwitchName() {
|
|
120
|
+
return this.bylineText ? `${this.text} ${this.bylineText}` : this.text;
|
|
121
|
+
}
|
|
122
|
+
_onkeyup(e) {
|
|
123
|
+
// The switch only reacts to Space when it has focus itself (F2/arrow-key mode),
|
|
124
|
+
// so toggling at row level must be done here.
|
|
125
|
+
if (isSpace(e) && e.target === this.getFocusDomRef() && !this._hasEndContent) {
|
|
126
|
+
this.checked = !this.checked;
|
|
127
|
+
this.fireDecoratorEvent("switch-change", { item: this, checked: this.checked });
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
super._onkeyup(e);
|
|
131
|
+
}
|
|
132
|
+
get accessibilityInfo() {
|
|
133
|
+
return {
|
|
134
|
+
...super.accessibilityInfo,
|
|
135
|
+
description: this._accessibleSwitchName,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
__decorate([
|
|
140
|
+
property()
|
|
141
|
+
], UserSettingsNotificationsViewItem.prototype, "itemKey", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
property()
|
|
144
|
+
], UserSettingsNotificationsViewItem.prototype, "text", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
property()
|
|
147
|
+
], UserSettingsNotificationsViewItem.prototype, "bylineText", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
property({ type: Boolean })
|
|
150
|
+
], UserSettingsNotificationsViewItem.prototype, "checked", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
property({ type: Boolean })
|
|
153
|
+
], UserSettingsNotificationsViewItem.prototype, "navigable", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
slot({
|
|
156
|
+
type: HTMLElement,
|
|
157
|
+
})
|
|
158
|
+
], UserSettingsNotificationsViewItem.prototype, "endContent", void 0);
|
|
159
|
+
UserSettingsNotificationsViewItem = __decorate([
|
|
160
|
+
customElement({
|
|
161
|
+
tag: "ui5-user-settings-notifications-view-item",
|
|
162
|
+
renderer: jsxRenderer,
|
|
163
|
+
template: UserSettingsNotificationsViewItemTemplate,
|
|
164
|
+
styles: [ListItemCustom.styles, UserSettingViewCss, UserSettingsNotificationsViewItemCss],
|
|
165
|
+
})
|
|
166
|
+
/**
|
|
167
|
+
* Fired when the switch state changes.
|
|
168
|
+
*
|
|
169
|
+
* Not fired when the `endContent` slot is used to override the trailing control.
|
|
170
|
+
*
|
|
171
|
+
* @param {UserSettingsNotificationsViewItem} item The item whose switch was toggled.
|
|
172
|
+
* @param {boolean} checked The new checked state of the switch.
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
,
|
|
176
|
+
event("switch-change", {
|
|
177
|
+
bubbles: true,
|
|
178
|
+
}),
|
|
179
|
+
event("_form-item-click", {
|
|
180
|
+
bubbles: true,
|
|
181
|
+
})
|
|
182
|
+
], UserSettingsNotificationsViewItem);
|
|
183
|
+
UserSettingsNotificationsViewItem.define();
|
|
184
|
+
export const isInstanceOfUserSettingsNotificationsViewItem = createInstanceChecker("isUserSettingsNotificationsViewItem");
|
|
185
|
+
export default UserSettingsNotificationsViewItem;
|
|
186
|
+
//# sourceMappingURL=UserSettingsNotificationsViewItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserSettingsNotificationsViewItem.js","sourceRoot":"","sources":["../src/UserSettingsNotificationsViewItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,yCAAyC,MAAM,gDAAgD,CAAC;AACvG,OAAO,oCAAoC,MAAM,6DAA6D,CAAC;AAC/G,OAAO,kBAAkB,MAAM,4CAA4C,CA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AE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;YAChF,OAAO;QACR,CAAC;QACD,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC;IAsBD,IAAI,iBAAiB;QACpB,OAAO;YACN,GAAG,KAAK,CAAC,iBAAiB;YAC1B,WAAW,EAAE,IAAI,CAAC,qBAAqB;SACvC,CAAC;IACH,CAAC;CACD,CAAA;AAnHA;IADC,QAAQ,EAAE;kEACE;AAQb;IADC,QAAQ,EAAE;+DACD;AAQV;IADC,QAAQ,EAAE;qEACK;AAWhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;kEACZ;AAShB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oEACV;AAYlB;IAHC,IAAI,CAAC;QACL,IAAI,EAAE,WAAW;KACjB,CAAC;qEAC6B;AAhE1B,iCAAiC;IAxBtC,aAAa,CAAC;QACd,GAAG,EAAE,2CAA2C;QAChD,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,yCAAyC;QACnD,MAAM,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE,kBAAkB,EAAE,oCAAoC,CAAC;KACzF,CAAC;IAEF;;;;;;;;OAQG;;IACF,KAAK,CAAC,eAAe,EAAE;QACvB,OAAO,EAAE,IAAI;KACb,CAAC;IAED,KAAK,CAAC,kBAAkB,EAAE;QAC1B,OAAO,EAAE,IAAI;KACb,CAAC;GAEI,iCAAiC,CAmItC;AAED,iCAAiC,CAAC,MAAM,EAAE,CAAC;AAE3C,MAAM,CAAC,MAAM,6CAA6C,GAAG,qBAAqB,CAAoC,qCAAqC,CAAC,CAAC;AAC7J,eAAe,iCAAiC,CAAC","sourcesContent":["import UserSettingsNotificationsViewItemTemplate from \"./UserSettingsNotificationsViewItemTemplate.js\";\nimport UserSettingsNotificationsViewItemCss from \"./generated/themes/UserSettingsNotificationsViewItem.css.js\";\nimport UserSettingViewCss from \"./generated/themes/UserSettingsView.css.js\";\nimport {\n\tcustomElement, property, slotStrict as slot, eventStrict as event,\n} from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport ListItemCustom from \"@ui5/webcomponents/dist/ListItemCustom.js\";\nimport createInstanceChecker from \"@ui5/webcomponents-base/dist/util/createInstanceChecker.js\";\nimport type Switch from \"@ui5/webcomponents/dist/Switch.js\";\nimport type { Slot } from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type { AccessibilityInfo } from \"@ui5/webcomponents-base/dist/types.js\";\nimport { isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { getTabbableElements } from \"@ui5/webcomponents-base/dist/util/TabbableElements.js\";\n\ntype UserSettingsNotificationsViewItemSwitchChangeEventDetail = {\n\titem: UserSettingsNotificationsViewItem;\n\tchecked: boolean;\n}\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-user-settings-notifications-view-item` represents a single notification setting\n * within the `ui5-user-settings-notifications-view`.\n *\n * It displays a title and an optional byline. By default a trailing switch reflects\n * the `checked` state. Applications can override the trailing control by providing content\n * in the `endContent` slot (e.g. a `ui5-select` for a value picker); the built-in switch and\n * its `switch-change` event are then suppressed. Items can additionally be flagged as\n * `navigable` to display a navigation arrow and behave as clickable list rows.\n *\n * **Note:** The default switch and the `endContent` slot are mutually exclusive.\n * When any content is provided in `endContent`, the trailing switch is not rendered\n * and no `switch-change` event is fired.\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewItem.js\";`\n *\n * @constructor\n * @extends ListItemCustom\n * @public\n * @since 2.27.0\n */\n@customElement({\n\ttag: \"ui5-user-settings-notifications-view-item\",\n\trenderer: jsxRenderer,\n\ttemplate: UserSettingsNotificationsViewItemTemplate,\n\tstyles: [ListItemCustom.styles, UserSettingViewCss, UserSettingsNotificationsViewItemCss],\n})\n\n/**\n * Fired when the switch state changes.\n *\n * Not fired when the `endContent` slot is used to override the trailing control.\n *\n * @param {UserSettingsNotificationsViewItem} item The item whose switch was toggled.\n * @param {boolean} checked The new checked state of the switch.\n * @public\n */\n@event(\"switch-change\", {\n\tbubbles: true,\n})\n\n@event(\"_form-item-click\", {\n\tbubbles: true,\n})\n\nclass UserSettingsNotificationsViewItem extends ListItemCustom {\n\teventDetails!: ListItemCustom[\"eventDetails\"] & {\n\t\t\"switch-change\": UserSettingsNotificationsViewItemSwitchChangeEventDetail;\n\t\t\"_form-item-click\": { item: UserSettingsNotificationsViewItem };\n\t}\n\n\t/**\n\t * Defines the unique identifier of the item.\n\t *\n\t * When the item is navigable, `itemKey` is also used to route to a matching sibling\n\t * `secondary` view by id.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\titemKey = \"\";\n\n\t/**\n\t * Defines the title text of the item.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext = \"\";\n\n\t/**\n\t * Defines the byline text of the item, rendered below the title.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tbylineText = \"\";\n\n\t/**\n\t * Defines whether the trailing switch is on.\n\t *\n\t * Ignored when the `endContent` slot is used.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tchecked = false;\n\n\t/**\n\t * Defines whether the item is navigable. When true, a navigation arrow is rendered\n\t * and the whole row becomes clickable (fires the parent view's `item-click` event).\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnavigable = false;\n\n\t/**\n\t * Defines custom content rendered at the trailing end of the item, replacing the\n\t * default switch. Use this to place a `ui5-select`, `ui5-input`, or any other\n\t * control instead of a boolean toggle.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t})\n\tendContent!: Slot<HTMLElement>;\n\n\tget isUserSettingsNotificationsViewItem(): boolean {\n\t\treturn true;\n\t}\n\n\tget typeNavigation(): boolean {\n\t\treturn this.navigable;\n\t}\n\n\tget _isHeaderItem(): boolean {\n\t\treturn this._individualSlot?.startsWith(\"headerItems\") ?? false;\n\t}\n\n\tshouldForwardTabAfter(): boolean {\n\t\tif (this._isHeaderItem) {\n\t\t\tconst tabbable = getTabbableElements(this.getFocusDomRef()!);\n\t\t\treturn tabbable.length === 0;\n\t\t}\n\t\treturn super.shouldForwardTabAfter();\n\t}\n\n\tget _hasEndContent(): boolean {\n\t\treturn this.endContent.length > 0;\n\t}\n\n\tget _accessibleSwitchName(): string {\n\t\treturn this.bylineText ? `${this.text} ${this.bylineText}` : this.text;\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\t// The switch only reacts to Space when it has focus itself (F2/arrow-key mode),\n\t\t// so toggling at row level must be done here.\n\t\tif (isSpace(e) && e.target === this.getFocusDomRef() && !this._hasEndContent) {\n\t\t\tthis.checked = !this.checked;\n\t\t\tthis.fireDecoratorEvent(\"switch-change\", { item: this, checked: this.checked });\n\t\t\treturn;\n\t\t}\n\t\tsuper._onkeyup(e);\n\t}\n\n\t_handleSwitchChange = (e: Event) => {\n\t\tconst target = e.target as Switch;\n\t\tthis.checked = target.checked;\n\t\tthis.fireDecoratorEvent(\"switch-change\", { item: this, checked: this.checked });\n\t};\n\n\t_handleFormItemClick = (e: MouseEvent) => {\n\t\tif (!this.navigable) {\n\t\t\treturn;\n\t\t}\n\t\tif ((e.target as HTMLElement)?.closest(\"[ui5-switch]\")) {\n\t\t\treturn;\n\t\t}\n\t\tthis.fireDecoratorEvent(\"_form-item-click\", { item: this });\n\t};\n\n\t_handleEndClick = (e: MouseEvent) => {\n\t\te.stopPropagation();\n\t};\n\n\tget accessibilityInfo(): AccessibilityInfo {\n\t\treturn {\n\t\t\t...super.accessibilityInfo,\n\t\t\tdescription: this._accessibleSwitchName,\n\t\t};\n\t}\n}\n\nUserSettingsNotificationsViewItem.define();\n\nexport const isInstanceOfUserSettingsNotificationsViewItem = createInstanceChecker<UserSettingsNotificationsViewItem>(\"isUserSettingsNotificationsViewItem\");\nexport default UserSettingsNotificationsViewItem;\nexport type {\n\tUserSettingsNotificationsViewItemSwitchChangeEventDetail,\n};\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@ui5/webcomponents-base/jsx-runtime";
|
|
2
|
+
import ListItemCustomTemplate from "@ui5/webcomponents/dist/ListItemCustomTemplate.js";
|
|
3
|
+
import Switch from "@ui5/webcomponents/dist/Switch.js";
|
|
4
|
+
import Icon from "@ui5/webcomponents/dist/Icon.js";
|
|
5
|
+
import slimArrowRight from "@ui5/webcomponents-icons/dist/slim-arrow-right.js";
|
|
6
|
+
export default function UserSettingsNotificationsViewItemTemplate() {
|
|
7
|
+
if (this._isHeaderItem) {
|
|
8
|
+
return headerItemContent(this);
|
|
9
|
+
}
|
|
10
|
+
return ListItemCustomTemplate.call(this, {
|
|
11
|
+
listItemContent: listItemContent.bind(this),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function headerItemContent(item) {
|
|
15
|
+
return (_jsxs("div", { class: "ui5-user-settings-notifications-form-item", role: "group", "aria-label": item._accessibleSwitchName, "data-sap-focus-ref": true, tabindex: item._effectiveTabIndex, onFocusIn: item._onfocusin, onFocusOut: item._onfocusout, onKeyUp: item._onkeyup, onKeyDown: item._onkeydown, onClick: item._handleFormItemClick, children: [itemBody(item), item.navigable &&
|
|
16
|
+
_jsx(Icon, { class: "ui5-user-settings-notifications-item-arrow", name: slimArrowRight, mode: "Decorative" })] }));
|
|
17
|
+
}
|
|
18
|
+
function listItemContent() {
|
|
19
|
+
return itemBody(this);
|
|
20
|
+
}
|
|
21
|
+
function itemBody(item) {
|
|
22
|
+
return (_jsxs("div", { class: `ui5-user-settings-notifications-item${item.bylineText && item.text ? " has-byline" : ""}`, children: [_jsx("div", { class: "ui5-user-settings-notifications-item-start", children: _jsxs("div", { class: "ui5-user-settings-notifications-item-texts", children: [item.text &&
|
|
23
|
+
_jsx("span", { class: "ui5-user-settings-notifications-item-title", children: item.text }), item.bylineText &&
|
|
24
|
+
_jsx("span", { class: "ui5-user-settings-notifications-item-byline", children: item.bylineText })] }) }), _jsx("div", { class: "ui5-user-settings-notifications-item-end", children: item._hasEndContent
|
|
25
|
+
? _jsx("slot", { name: "endContent", onClick: item._handleEndClick })
|
|
26
|
+
: _jsx(Switch, { class: "ui5-user-settings-notifications-item-switch", checked: item.checked, onChange: item._handleSwitchChange, accessibleName: item._accessibleSwitchName, onClick: item._handleEndClick }) })] }));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=UserSettingsNotificationsViewItemTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserSettingsNotificationsViewItemTemplate.js","sourceRoot":"","sources":["../src/UserSettingsNotificationsViewItemTemplate.tsx"],"names":[],"mappings":";AACA,OAAO,sBAAsB,MAAM,mDAAmD,CAAC;AACvF,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,cAAc,MAAM,mDAAmD,CAAC;AAE/E,MAAM,CAAC,OAAO,UAAU,yCAAyC;IAChE,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;QACxB,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,sBAAsB,CAAC,IAAI,CAAC,IAAI,EAAE;QACxC,eAAe,EAAE,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;KAC3C,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAuC;IACjE,OAAO,CACN,eACC,KAAK,EAAC,2CAA2C,EACjD,IAAI,EAAC,OAAO,gBACA,IAAI,CAAC,qBAAqB,8BAEtC,QAAQ,EAAE,IAAI,CAAC,kBAAkB,EACjC,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,UAAU,EAAE,IAAI,CAAC,WAAW,EAC5B,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,OAAO,EAAE,IAAI,CAAC,oBAAoB,aAEjC,QAAQ,CAAC,IAAI,CAAC,EACd,IAAI,CAAC,SAAS;gBACd,KAAC,IAAI,IACJ,KAAK,EAAC,4CAA4C,EAClD,IAAI,EAAE,cAAc,EACpB,IAAI,EAAC,YAAY,GACV,IAEJ,CACN,CAAC;AACH,CAAC;AAED,SAAS,eAAe;IACvB,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AACvB,CAAC;AAED,SAAS,QAAQ,CAAC,IAAuC;IACxD,OAAO,CACN,eAAK,KAAK,EAAE,uCAAuC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,aACrG,cAAK,KAAK,EAAC,4CAA4C,YACtD,eAAK,KAAK,EAAC,4CAA4C,aACrD,IAAI,CAAC,IAAI;4BACT,eAAM,KAAK,EAAC,4CAA4C,YAAE,IAAI,CAAC,IAAI,GAAQ,EAE3E,IAAI,CAAC,UAAU;4BACf,eAAM,KAAK,EAAC,6CAA6C,YAAE,IAAI,CAAC,UAAU,GAAQ,IAE9E,GACD,EACN,cAAK,KAAK,EAAC,0CAA0C,YACnD,IAAI,CAAC,cAAc;oBACnB,CAAC,CAAC,eAAM,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,eAAe,GAAS;oBAChE,CAAC,CAAC,KAAC,MAAM,IACR,KAAK,EAAC,6CAA6C,EACnD,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,mBAAmB,EAClC,cAAc,EAAE,IAAI,CAAC,qBAAqB,EAC1C,OAAO,EAAE,IAAI,CAAC,eAAe,GACpB,GAEN,IACD,CACN,CAAC;AACH,CAAC","sourcesContent":["import type UserSettingsNotificationsViewItem from \"./UserSettingsNotificationsViewItem.js\";\nimport ListItemCustomTemplate from \"@ui5/webcomponents/dist/ListItemCustomTemplate.js\";\nimport Switch from \"@ui5/webcomponents/dist/Switch.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport slimArrowRight from \"@ui5/webcomponents-icons/dist/slim-arrow-right.js\";\n\nexport default function UserSettingsNotificationsViewItemTemplate(this: UserSettingsNotificationsViewItem) {\n\tif (this._isHeaderItem) {\n\t\treturn headerItemContent(this);\n\t}\n\treturn ListItemCustomTemplate.call(this, {\n\t\tlistItemContent: listItemContent.bind(this),\n\t});\n}\n\nfunction headerItemContent(item: UserSettingsNotificationsViewItem) {\n\treturn (\n\t\t<div\n\t\t\tclass=\"ui5-user-settings-notifications-form-item\"\n\t\t\trole=\"group\"\n\t\t\taria-label={item._accessibleSwitchName}\n\t\t\tdata-sap-focus-ref\n\t\t\ttabindex={item._effectiveTabIndex}\n\t\t\tonFocusIn={item._onfocusin}\n\t\t\tonFocusOut={item._onfocusout}\n\t\t\tonKeyUp={item._onkeyup}\n\t\t\tonKeyDown={item._onkeydown}\n\t\t\tonClick={item._handleFormItemClick}\n\t\t>\n\t\t\t{itemBody(item)}\n\t\t\t{item.navigable &&\n\t\t\t\t<Icon\n\t\t\t\t\tclass=\"ui5-user-settings-notifications-item-arrow\"\n\t\t\t\t\tname={slimArrowRight}\n\t\t\t\t\tmode=\"Decorative\"\n\t\t\t\t></Icon>\n\t\t\t}\n\t\t</div>\n\t);\n}\n\nfunction listItemContent(this: UserSettingsNotificationsViewItem) {\n\treturn itemBody(this);\n}\n\nfunction itemBody(item: UserSettingsNotificationsViewItem) {\n\treturn (\n\t\t<div class={`ui5-user-settings-notifications-item${item.bylineText && item.text ? \" has-byline\" : \"\"}`}>\n\t\t\t<div class=\"ui5-user-settings-notifications-item-start\">\n\t\t\t\t<div class=\"ui5-user-settings-notifications-item-texts\">\n\t\t\t\t\t{item.text &&\n\t\t\t\t\t\t<span class=\"ui5-user-settings-notifications-item-title\">{item.text}</span>\n\t\t\t\t\t}\n\t\t\t\t\t{item.bylineText &&\n\t\t\t\t\t\t<span class=\"ui5-user-settings-notifications-item-byline\">{item.bylineText}</span>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"ui5-user-settings-notifications-item-end\">\n\t\t\t\t{item._hasEndContent\n\t\t\t\t\t? <slot name=\"endContent\" onClick={item._handleEndClick}></slot>\n\t\t\t\t\t: <Switch\n\t\t\t\t\t\tclass=\"ui5-user-settings-notifications-item-switch\"\n\t\t\t\t\t\tchecked={item.checked}\n\t\t\t\t\t\tonChange={item._handleSwitchChange}\n\t\t\t\t\t\taccessibleName={item._accessibleSwitchName}\n\t\t\t\t\t\tonClick={item._handleEndClick}\n\t\t\t\t\t></Switch>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@ui5/webcomponents-base/jsx-runtime";
|
|
2
|
+
import List from "@ui5/webcomponents/dist/List.js";
|
|
3
|
+
export default function UserSettingsNotificationsViewTemplate() {
|
|
4
|
+
return (_jsx("div", { class: "ui5-user-settings-view-container", children: _jsxs("div", { class: "ui5-user-settings-view ui5-user-settings-notifications-view-content", children: [_jsx("slot", { name: "additionalContent" }), this._hasHeaderItems && this.headerItems.map(item => (_jsx("div", { role: "form", class: "ui5-user-settings-notifications-view-form", "onui5-_form-item-click": this._handleFormItemClick, children: _jsx("slot", { name: item._individualSlot }) }))), _jsx(List, { class: "ui5-user-settings-notifications-view-list", separators: "All", onItemClick: this._handleItemClick, "data-sap-ui-fastnavgroup": "false", accessibleName: this._listAccessibleName, children: _jsx("slot", {}) })] }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=UserSettingsNotificationsViewTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserSettingsNotificationsViewTemplate.js","sourceRoot":"","sources":["../src/UserSettingsNotificationsViewTemplate.tsx"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,iCAAiC,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,qCAAqC;IAC5D,OAAO,CACN,cAAK,KAAK,EAAC,kCAAkC,YAC5C,eAAK,KAAK,EAAC,qEAAqE,aAC/E,eAAM,IAAI,EAAC,mBAAmB,GAAQ,EACrC,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACrD,cAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,2CAA2C,4BAAyB,IAAI,CAAC,oBAAoB,YACnH,eAAM,IAAI,EAAE,IAAI,CAAC,eAAe,GAAS,GACpC,CACN,CAAC,EACF,KAAC,IAAI,IACJ,KAAK,EAAC,2CAA2C,EACjD,UAAU,EAAC,KAAK,EAChB,WAAW,EAAE,IAAI,CAAC,gBAAgB,8BACT,OAAO,EAChC,cAAc,EAAE,IAAI,CAAC,mBAAmB,YAExC,gBAAa,GACP,IACF,GACD,CACN,CAAC;AACH,CAAC","sourcesContent":["import type UserSettingsNotificationsView from \"./UserSettingsNotificationsView.js\";\nimport List from \"@ui5/webcomponents/dist/List.js\";\n\nexport default function UserSettingsNotificationsViewTemplate(this: UserSettingsNotificationsView) {\n\treturn (\n\t\t<div class=\"ui5-user-settings-view-container\">\n\t\t\t<div class=\"ui5-user-settings-view ui5-user-settings-notifications-view-content\">\n\t\t\t\t<slot name=\"additionalContent\"></slot>\n\t\t\t\t{this._hasHeaderItems && this.headerItems.map(item => (\n\t\t\t\t\t<div role=\"form\" class=\"ui5-user-settings-notifications-view-form\" onui5-_form-item-click={this._handleFormItemClick}>\n\t\t\t\t\t\t<slot name={item._individualSlot}></slot>\n\t\t\t\t\t</div>\n\t\t\t\t))}\n\t\t\t\t<List\n\t\t\t\t\tclass=\"ui5-user-settings-notifications-view-list\"\n\t\t\t\t\tseparators=\"All\"\n\t\t\t\t\tonItemClick={this._handleItemClick}\n\t\t\t\t\tdata-sap-ui-fastnavgroup=\"false\"\n\t\t\t\t\taccessibleName={this._listAccessibleName}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</List>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n"]}
|
package/dist/WizardTab.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ declare class WizardTab extends UI5Element implements ITabbable {
|
|
|
89
89
|
* @private
|
|
90
90
|
*/
|
|
91
91
|
_wizardTabAccInfo?: WizardTabAccessibilityAttributes;
|
|
92
|
+
onEnterDOM(): void;
|
|
92
93
|
_onclick(): void;
|
|
93
94
|
_onkeyup(e: KeyboardEvent): void;
|
|
94
95
|
get effectiveTabIndex(): 0 | -1 | undefined;
|
package/dist/WizardTab.js
CHANGED
|
@@ -10,6 +10,7 @@ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
|
|
10
10
|
import event from "@ui5/webcomponents-base/dist/decorators/event-strict.js";
|
|
11
11
|
import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
|
|
12
12
|
import { isSpace, isEnter, isSpaceShift } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
13
|
+
import { isDesktop } from "@ui5/webcomponents-base/dist/Device.js";
|
|
13
14
|
import WizardTabTemplate from "./WizardTabTemplate.js";
|
|
14
15
|
import WizardTabCss from "./generated/themes/WizardTab.css.js";
|
|
15
16
|
/**
|
|
@@ -62,6 +63,11 @@ let WizardTab = class WizardTab extends UI5Element {
|
|
|
62
63
|
*/
|
|
63
64
|
this.branchingSeparator = false;
|
|
64
65
|
}
|
|
66
|
+
onEnterDOM() {
|
|
67
|
+
if (isDesktop()) {
|
|
68
|
+
this.setAttribute("desktop", "");
|
|
69
|
+
}
|
|
70
|
+
}
|
|
65
71
|
_onclick() {
|
|
66
72
|
if (!this.disabled) {
|
|
67
73
|
this.fireDecoratorEvent("selection-change-requested");
|
|
@@ -96,7 +102,7 @@ let WizardTab = class WizardTab extends UI5Element {
|
|
|
96
102
|
"ariaSetsize": this._wizardTabAccInfo && this._wizardTabAccInfo.ariaSetsize,
|
|
97
103
|
"ariaPosinset": this._wizardTabAccInfo && this._wizardTabAccInfo.ariaPosinset,
|
|
98
104
|
"ariaLabel": this._wizardTabAccInfo && this._wizardTabAccInfo.ariaLabel,
|
|
99
|
-
"ariaCurrent": this.selected ? "
|
|
105
|
+
"ariaCurrent": this.selected ? "step" : undefined,
|
|
100
106
|
};
|
|
101
107
|
}
|
|
102
108
|
};
|
package/dist/WizardTab.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardTab.js","sourceRoot":"","sources":["../src/WizardTab.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAC5E,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"WizardTab.js","sourceRoot":"","sources":["../src/WizardTab.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAC5E,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAGnE,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAI/D;;;;;;;;;;;;;;;GAeG;AAuBH,IAAM,SAAS,GAAf,M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ACF,KAAK,CAAC,4BAA4B,EAAE;QACpC,OAAO,EAAE,IAAI;KACb,CAAC;GACI,SAAS,CAgJd;AAED,SAAS,CAAC,MAAM,EAAE,CAAC;AAEnB,eAAe,SAAS,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport { isSpace, isEnter, isSpaceShift } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { isDesktop } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { AccessibilityAttributes } from \"@ui5/webcomponents-base/dist/types.js\";\nimport WizardTabTemplate from \"./WizardTabTemplate.js\";\nimport WizardTabCss from \"./generated/themes/WizardTab.css.js\";\n\ntype WizardTabAccessibilityAttributes = Pick<AccessibilityAttributes, \"ariaSetsize\" | \"ariaPosinset\" | \"ariaLabel\" | \"ariaCurrent\">;\n\n/**\n * @class\n *\n * ### Overview\n * Private component, used internally by the `ui5-wizard`\n * to represent a \"step\" in the navigation header of the `ui5-wizard`.\n *\n * ### Usage\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/WizardTab.js\";` (imported with <ui5-wizard>)\n * @constructor\n * @extends UI5Element\n * @private\n */\n\n@customElement({\n\ttag: \"ui5-wizard-tab\",\n\trenderer: jsxRenderer,\n\tstyles: WizardTabCss,\n\ttemplate: WizardTabTemplate,\n})\n\n/**\n * Fired when focus on a step.\n * @private\n */\n@event(\"focused\", {\n\tbubbles: true,\n})\n/**\n * Fired when clicking on none disabled step.\n * @private\n */\n@event(\"selection-change-requested\", {\n\tbubbles: true,\n})\nclass WizardTab extends UI5Element implements ITabbable {\n\teventDetails!: {\n\t\t\"focused\": void\n\t\t\"selection-change-requested\": void\n\t}\n\t/**\n\t * Defines the `icon` of the step.\n\t * @default undefined\n\t * @private\n\t */\n\t@property()\n\ticon?: string\n\n\t/**\n\t * Defines the `titleText` of the step.\n\t * @default undefined\n\t * @private\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\ttitleText?: string\n\n\t/**\n\t * Defines the `subtitleText` of the step.\n\t * @default undefined\n\t * @private\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\tsubtitleText?: string\n\n\t/**\n\t * Defines the number that will be displayed in place of the `icon`, when it's missing.\n\t * @default undefined\n\t * @private\n\t */\n\t@property()\n\tnumber?: string\n\n\t/**\n\t * Defines if the step is `disabled` - the step is not responding to user interaction.\n\t * @default false\n\t * @private\n\t */\n\t @property({ type: Boolean })\n\t disabled = false;\n\n\t/**\n\t * Defines if the step is `selected`.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tselected = false;\n\n\t/**\n\t * Defines if the step's separator is hidden or not.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\thideSeparator = false;\n\n\t/**\n\t * Defines if the step's separator is active or not.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tactiveSeparator = false;\n\n\t/**\n\t * Defines if the step's separator is dashed or not.\n\t * @default false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tbranchingSeparator = false;\n\n\t/**\n\t * Defines the tabindex of the step.\n\t * @default \"-1\"\n\t * @private\n\t */\n\t@property()\n\tforcedTabIndex?: string\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Object })\n\t_wizardTabAccInfo? : WizardTabAccessibilityAttributes\n\n\tonEnterDOM() {\n\t\tif (isDesktop()) {\n\t\t\tthis.setAttribute(\"desktop\", \"\");\n\t\t}\n\t}\n\n\t_onclick() {\n\t\tif (!this.disabled) {\n\t\t\tthis.fireDecoratorEvent(\"selection-change-requested\");\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ((isSpace(e) || isEnter(e)) && !isSpaceShift(e)) {\n\t\t\te.preventDefault();\n\t\t\tthis.fireDecoratorEvent(\"selection-change-requested\");\n\t\t}\n\t}\n\n\tget effectiveTabIndex() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.selected || this.forcedTabIndex === \"0\") {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn -1;\n\t}\n\n\t_onfocusin() {\n\t\tthis.fireDecoratorEvent(\"focused\");\n\t}\n\n\tget hasTexts() {\n\t\treturn this.titleText || this.subtitleText;\n\t}\n\n\tget accInfo(): WizardTabAccessibilityAttributes {\n\t\treturn {\n\t\t\t\"ariaSetsize\": this._wizardTabAccInfo && this._wizardTabAccInfo.ariaSetsize,\n\t\t\t\"ariaPosinset\": this._wizardTabAccInfo && this._wizardTabAccInfo.ariaPosinset,\n\t\t\t\"ariaLabel\": this._wizardTabAccInfo && this._wizardTabAccInfo.ariaLabel,\n\t\t\t\"ariaCurrent\": this.selected ? \"step\" : undefined,\n\t\t};\n\t}\n}\n\nWizardTab.define();\n\nexport default WizardTab;\n"]}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -52,6 +52,9 @@ import UserSettingsAccountView from "./UserSettingsAccountView.js";
|
|
|
52
52
|
import UserSettingsAppearanceView from "./UserSettingsAppearanceView.js";
|
|
53
53
|
import UserSettingsAppearanceViewItem from "./UserSettingsAppearanceViewItem.js";
|
|
54
54
|
import UserSettingsAppearanceViewGroup from "./UserSettingsAppearanceViewGroup.js";
|
|
55
|
+
import UserSettingsNotificationsView from "./UserSettingsNotificationsView.js";
|
|
56
|
+
import UserSettingsNotificationsViewItem from "./UserSettingsNotificationsViewItem.js";
|
|
57
|
+
import UserSettingsNotificationsViewGroup from "./UserSettingsNotificationsViewGroup.js";
|
|
55
58
|
import Timeline from "./Timeline.js";
|
|
56
59
|
import TimelineGroupItem from "./TimelineGroupItem.js";
|
|
57
60
|
import NavigationLayout from "./NavigationLayout.js";
|
package/dist/bundle.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle.esm.js","sourceRoot":"","sources":["../src/bundle.esm.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAC/D,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AAEvE,eAAe;AACf,OAAO,aAAa,CAAC;AAErB,sBAAsB;AACtB,OAAO,qCAAqC,CAAC;AAE7C,mBAAmB;AACnB,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,wBAAwB,MAAM,+BAA+B,CAAC;AACrE,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AACvE,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,aAAa,MAAM,oBAAo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eAAe,CAAC;AACrC,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,2BAA2B,MAAM,kCAAkC,CAAC;AAC3E,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,UAAU,CAAC,YAAY,GAAG,EAAE,GAAG,UAAU,CAAC,YAAY,EAAE,GAAG,iBAAiB,EAAE,CAAC;AAC/E,eAAe,UAAU,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport testAssets from \"@ui5/webcomponents/dist/bundle.esm.js\";\nimport * as defaultFioriTexts from \"./generated/i18n/i18n-defaults.js\";\n\n// FIORI assets\nimport \"./Assets.js\";\n\n// FIORI illustrations\nimport \"./illustrations/AllIllustrations.js\";\n\n// FIORI components\nimport HeroBanner from \"./HeroBanner.js\";\nimport BarcodeScannerDialog from \"./BarcodeScannerDialog.js\";\nimport DynamicPage from \"./DynamicPage.js\";\nimport DynamicPageHeader from \"./DynamicPageHeader.js\";\nimport DynamicPageTitle from \"./DynamicPageTitle.js\";\nimport DynamicPageHeaderActions from \"./DynamicPageHeaderActions.js\";\nimport DynamicSideContent from \"./DynamicSideContent.js\";\nimport FilterItem from \"./FilterItem.js\";\nimport FilterItemOption from \"./FilterItemOption.js\";\nimport FlexibleColumnLayout from \"./FlexibleColumnLayout.js\";\nimport GroupItem from \"./GroupItem.js\";\nimport IllustratedMessage from \"./IllustratedMessage.js\";\nimport MediaGallery from \"./MediaGallery.js\";\nimport MediaGalleryItem from \"./MediaGalleryItem.js\";\nimport NavigationMenu from \"./NavigationMenu.js\";\nimport NavigationMenuItem from \"./NavigationMenuItem.js\";\nimport NotificationListGroupItem from \"./NotificationListGroupItem.js\";\nimport NotificationListItem from \"./NotificationListItem.js\";\nimport NotificationList from \"./NotificationList.js\";\nimport Page from \"./Page.js\";\nimport ProductSwitch from \"./ProductSwitch.js\";\nimport ProductSwitchItem from \"./ProductSwitchItem.js\";\nimport ShellBar from \"./ShellBar.js\";\nimport SearchField from \"./SearchField.js\";\nimport SearchScope from \"./SearchScope.js\";\nimport Search from \"./Search.js\";\nimport ShellBarSearch from \"./ShellBarSearch.js\";\nimport SearchMessageArea from \"./SearchMessageArea.js\";\nimport SearchItem from \"./SearchItem.js\";\nimport SearchItemShowMore from \"./SearchItemShowMore.js\";\nimport SearchItemGroup from \"./SearchItemGroup.js\";\nimport ShellBarBranding from \"./ShellBarBranding.js\";\nimport ShellBarSpacer from \"./ShellBarSpacer.js\";\nimport ShellBarItem from \"./ShellBarItem.js\";\nimport SideNavigationItem from \"./SideNavigationItem.js\";\nimport SideNavigationSubItem from \"./SideNavigationSubItem.js\";\nimport SideNavigationGroup from \"./SideNavigationGroup.js\";\nimport SideNavigation from \"./SideNavigation.js\";\nimport SortItem from \"./SortItem.js\";\nimport UserSettingsItem from \"./UserSettingsItem.js\";\nimport SettingsDialog from \"./UserSettingsDialog.js\";\nimport UserSettingsView from \"./UserSettingsView.js\";\nimport UserSettingsAccountView from \"./UserSettingsAccountView.js\";\nimport UserSettingsAppearanceView from \"./UserSettingsAppearanceView.js\";\nimport UserSettingsAppearanceViewItem from \"./UserSettingsAppearanceViewItem.js\";\nimport UserSettingsAppearanceViewGroup from \"./UserSettingsAppearanceViewGroup.js\";\nimport Timeline from \"./Timeline.js\";\nimport TimelineGroupItem from \"./TimelineGroupItem.js\";\nimport NavigationLayout from \"./NavigationLayout.js\";\nimport UploadCollection from \"./UploadCollection.js\";\nimport UploadCollectionItem from \"./UploadCollectionItem.js\";\nimport UserMenu from \"./UserMenu.js\";\nimport UserMenuAccount from \"./UserMenuAccount.js\";\nimport UserMenuItem from \"./UserMenuItem.js\";\nimport UserMenuItemGroup from \"./UserMenuItemGroup.js\";\nimport ViewSettingsDialog from \"./ViewSettingsDialog.js\";\nimport ViewSettingsDialogCustomTab from \"./ViewSettingsDialogCustomTab.js\";\nimport Wizard from \"./Wizard.js\";\n\ntestAssets.defaultTexts = { ...testAssets.defaultTexts, ...defaultFioriTexts };\nexport default testAssets;\n"]}
|
|
1
|
+
{"version":3,"file":"bundle.esm.js","sourceRoot":"","sources":["../src/bundle.esm.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAC/D,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AAEvE,eAAe;AACf,OAAO,aAAa,CAAC;AAErB,sBAAsB;AACtB,OAAO,qCAAqC,CAAC;AAE7C,mBAAmB;AACnB,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,wBAAwB,MAAM,+BAA+B,CAAC;AACrE,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AACvE,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,aAAa,MAAM,oBAAoB,CA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AuB,CAAC;AACrD,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AACzD,OAAO,2BAA2B,MAAM,kCAAkC,CAAC;AAC3E,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,UAAU,CAAC,YAAY,GAAG,EAAE,GAAG,UAAU,CAAC,YAAY,EAAE,GAAG,iBAAiB,EAAE,CAAC;AAC/E,eAAe,UAAU,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport testAssets from \"@ui5/webcomponents/dist/bundle.esm.js\";\nimport * as defaultFioriTexts from \"./generated/i18n/i18n-defaults.js\";\n\n// FIORI assets\nimport \"./Assets.js\";\n\n// FIORI illustrations\nimport \"./illustrations/AllIllustrations.js\";\n\n// FIORI components\nimport HeroBanner from \"./HeroBanner.js\";\nimport BarcodeScannerDialog from \"./BarcodeScannerDialog.js\";\nimport DynamicPage from \"./DynamicPage.js\";\nimport DynamicPageHeader from \"./DynamicPageHeader.js\";\nimport DynamicPageTitle from \"./DynamicPageTitle.js\";\nimport DynamicPageHeaderActions from \"./DynamicPageHeaderActions.js\";\nimport DynamicSideContent from \"./DynamicSideContent.js\";\nimport FilterItem from \"./FilterItem.js\";\nimport FilterItemOption from \"./FilterItemOption.js\";\nimport FlexibleColumnLayout from \"./FlexibleColumnLayout.js\";\nimport GroupItem from \"./GroupItem.js\";\nimport IllustratedMessage from \"./IllustratedMessage.js\";\nimport MediaGallery from \"./MediaGallery.js\";\nimport MediaGalleryItem from \"./MediaGalleryItem.js\";\nimport NavigationMenu from \"./NavigationMenu.js\";\nimport NavigationMenuItem from \"./NavigationMenuItem.js\";\nimport NotificationListGroupItem from \"./NotificationListGroupItem.js\";\nimport NotificationListItem from \"./NotificationListItem.js\";\nimport NotificationList from \"./NotificationList.js\";\nimport Page from \"./Page.js\";\nimport ProductSwitch from \"./ProductSwitch.js\";\nimport ProductSwitchItem from \"./ProductSwitchItem.js\";\nimport ShellBar from \"./ShellBar.js\";\nimport SearchField from \"./SearchField.js\";\nimport SearchScope from \"./SearchScope.js\";\nimport Search from \"./Search.js\";\nimport ShellBarSearch from \"./ShellBarSearch.js\";\nimport SearchMessageArea from \"./SearchMessageArea.js\";\nimport SearchItem from \"./SearchItem.js\";\nimport SearchItemShowMore from \"./SearchItemShowMore.js\";\nimport SearchItemGroup from \"./SearchItemGroup.js\";\nimport ShellBarBranding from \"./ShellBarBranding.js\";\nimport ShellBarSpacer from \"./ShellBarSpacer.js\";\nimport ShellBarItem from \"./ShellBarItem.js\";\nimport SideNavigationItem from \"./SideNavigationItem.js\";\nimport SideNavigationSubItem from \"./SideNavigationSubItem.js\";\nimport SideNavigationGroup from \"./SideNavigationGroup.js\";\nimport SideNavigation from \"./SideNavigation.js\";\nimport SortItem from \"./SortItem.js\";\nimport UserSettingsItem from \"./UserSettingsItem.js\";\nimport SettingsDialog from \"./UserSettingsDialog.js\";\nimport UserSettingsView from \"./UserSettingsView.js\";\nimport UserSettingsAccountView from \"./UserSettingsAccountView.js\";\nimport UserSettingsAppearanceView from \"./UserSettingsAppearanceView.js\";\nimport UserSettingsAppearanceViewItem from \"./UserSettingsAppearanceViewItem.js\";\nimport UserSettingsAppearanceViewGroup from \"./UserSettingsAppearanceViewGroup.js\";\nimport UserSettingsNotificationsView from \"./UserSettingsNotificationsView.js\";\nimport UserSettingsNotificationsViewItem from \"./UserSettingsNotificationsViewItem.js\";\nimport UserSettingsNotificationsViewGroup from \"./UserSettingsNotificationsViewGroup.js\";\nimport Timeline from \"./Timeline.js\";\nimport TimelineGroupItem from \"./TimelineGroupItem.js\";\nimport NavigationLayout from \"./NavigationLayout.js\";\nimport UploadCollection from \"./UploadCollection.js\";\nimport UploadCollectionItem from \"./UploadCollectionItem.js\";\nimport UserMenu from \"./UserMenu.js\";\nimport UserMenuAccount from \"./UserMenuAccount.js\";\nimport UserMenuItem from \"./UserMenuItem.js\";\nimport UserMenuItemGroup from \"./UserMenuItemGroup.js\";\nimport ViewSettingsDialog from \"./ViewSettingsDialog.js\";\nimport ViewSettingsDialogCustomTab from \"./ViewSettingsDialogCustomTab.js\";\nimport Wizard from \"./Wizard.js\";\n\ntestAssets.defaultTexts = { ...testAssets.defaultTexts, ...defaultFioriTexts };\nexport default testAssets;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ui5-dynamic-page-title-header-wrapper{position:sticky;top:0;z-index:3}:host{display:block;height:100%;background-color:var(--ui5_dynamic_page_background);isolation:isolate}.ui5-dynamic-page-root{container-type:inline-size;height:inherit;overflow-y:hidden}.ui5-dynamic-page-scroll-container{overflow-y:auto;height:100%;overflow-anchor:none}.ui5-dynamic-page-scroll-container{display:flex;flex-direction:column}.ui5-dynamic-page-content{flex-grow:1;position:relative}.ui5-dynamic-page-fit-content{position:absolute;inset:0}.ui5-dynamic-page-footer{position:sticky;bottom:0;padding:0 .5rem .5rem;box-sizing:border-box;z-index:2;opacity:0;transform:translateY(100%);transition:opacity .35s ease-in-out,transform .35s ease-in-out}.ui5-dynamic-page-spacer{height:var(--_ui5_dynamic_page_footer_spacer)}:host([show-footer]) .ui5-dynamic-page-fit-content{bottom:var(--_ui5_dynamic_page_footer_spacer)}:host([show-footer]) .ui5-dynamic-page-footer{transform:translateY(0);opacity:1}::slotted([slot="footerArea"]){border-radius:.25rem;background-color:var(--_ui5_dynamic_page_header_background_color);box-sizing:content-box;width:auto}::slotted([slot="titleArea"]){width:auto}.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_S)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_S)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_S)}@container (min-width: 600px){.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_M)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_M)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_M)}}@container (min-width: 1024px){.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_L)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_L)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_L)}}@container (min-width: 1440px){.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_XL)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_XL)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_XL)}}
|
|
1
|
+
.ui5-dynamic-page-title-header-wrapper{position:sticky;top:0;z-index:3}.ui5-dynamic-page-header-actions-wrapper{position:sticky;top:var(--_ui5_dp_header_actions_top, auto);z-index:4}:host{display:block;height:100%;background-color:var(--ui5_dynamic_page_background);isolation:isolate}.ui5-dynamic-page-root{container-type:inline-size;height:inherit;overflow-y:hidden}.ui5-dynamic-page-scroll-container{overflow-y:auto;height:100%;overflow-anchor:none}.ui5-dynamic-page-scroll-container{display:flex;flex-direction:column}.ui5-dynamic-page-content{flex-grow:1;position:relative}.ui5-dynamic-page-fit-content{position:absolute;inset:0}.ui5-dynamic-page-footer{position:sticky;bottom:0;padding:0 .5rem .5rem;box-sizing:border-box;z-index:2;opacity:0;transform:translateY(100%);transition:opacity .35s ease-in-out,transform .35s ease-in-out}.ui5-dynamic-page-spacer{height:var(--_ui5_dynamic_page_footer_spacer)}:host([show-footer]) .ui5-dynamic-page-fit-content{bottom:var(--_ui5_dynamic_page_footer_spacer)}:host([show-footer]) .ui5-dynamic-page-footer{transform:translateY(0);opacity:1}::slotted([slot="footerArea"]){border-radius:.25rem;background-color:var(--_ui5_dynamic_page_header_background_color);box-sizing:content-box;width:auto}::slotted([slot="titleArea"]){width:auto}.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_S)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_S)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_S)}@container (min-width: 600px){.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_M)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_M)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_M)}}@container (min-width: 1024px){.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_L)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_L)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_L)}}@container (min-width: 1440px){.ui5-dynamic-page-fit-content{padding:var(--_ui5_dynamic_page_content_padding_XL)}::slotted([slot="titleArea"]){padding:var(--_ui5_dynamic_page_title_padding_XL)}::slotted([slot="headerArea"]){padding:var(--_ui5_dynamic_page_header_padding_XL)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ui5-shellbar-action-button{width:2.25rem;height:2.25rem;color:var(--sapShell_TextColor)}.ui5-shellbar-action-button:hover{background:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_InteractiveTextColor)}.ui5-shellbar-action-button[active]{color:var(--_ui5_shellbar_button_active_color)}.ui5-shellbar-action-button>[ui5-button-badge][slot=badge][design=OverlayText]{top:var(--_ui5-shellbar-badge-offset, 0);margin:var(--_ui5-shellbar-badge-margin, -.5rem)}[ui5-li]::part(icon){color:var(--sapList_TextColor)}[ui5-li]:
|
|
1
|
+
.ui5-shellbar-action-button{width:2.25rem;height:2.25rem;color:var(--sapShell_TextColor)}.ui5-shellbar-action-button:hover{background:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_InteractiveTextColor)}.ui5-shellbar-action-button[active]{color:var(--_ui5_shellbar_button_active_color)}.ui5-shellbar-action-button>[ui5-button-badge][slot=badge][design=OverlayText]{top:var(--_ui5-shellbar-badge-offset, 0);margin:var(--_ui5-shellbar-badge-margin, -.5rem)}[ui5-li]::part(icon){color:var(--sapList_TextColor);align-self:center}[ui5-li]{--_ui5_li_text_wrapper_flex: 0 1 auto}[ui5-li]::part(additional-text){display:inline-flex;align-items:center;justify-content:center;height:1rem;min-width:1rem;padding:0 .3125rem;border-radius:.5rem;border:var(--_ui5_shellbar_button_badge_border);background:var(--sapContent_BadgeBackground);color:var(--sapContent_BadgeTextColor);font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:700;white-space:nowrap;flex-shrink:0;box-sizing:border-box;pointer-events:none;text-shadow:none!important;align-self:center;margin-inline-start:.25rem}[ui5-li][active][actionable]::part(additional-text){color:var(--sapContent_BadgeTextColor);background:var(--sapContent_BadgeBackground)}[ui5-li][wrapping-type=Normal][additional-text]::part(additional-text){padding-inline-start:.3125rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ui5-shellbar-menu-popover::part(content),.ui5-shellbar-overflow-popover::part(content){padding:0}.ui5-shellbar-overflow-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover ::slotted([ui5-toggle-button]),.ui5-shellbar-overflow-popover ::slotted([ui5-button]){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover [ui5-li]::part(title){font-size:var(--sapFontSize)}
|
|
1
|
+
.ui5-shellbar-menu-popover::part(content),.ui5-shellbar-overflow-popover::part(content){padding:0}.ui5-shellbar-overflow-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover ::slotted([ui5-toggle-button]),.ui5-shellbar-overflow-popover ::slotted([ui5-button]){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover [ui5-li]::part(title){font-size:var(--sapFontSize)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host .ui5-timeline-group-list-item{list-style:none}:host([collapsed]) .ui5-timeline-group-list-item{display:none}.ui5-tl-group-item{width:100%;display:flex;flex-direction:column;margin:0;padding:0;gap:1.25rem}.ui5-tlgi-root{display:flex;flex-direction:column;gap:var(--_ui5_timeline_tlgi_compact_root_gap, 1.25rem)}.ui5-tlgi-btn-root{display:flex;justify-content:space-between;gap:.125rem}.ui5-tlgi-icon-placeholder{display:flex;justify-content:center;position:relative;width:2rem;align-self:center}:host([collapsed]) .ui5-tlgi-icon-dot{width:.375rem;height:.375rem;box-sizing:border-box;border:.0625rem solid var(--sapContent_NonInteractiveIconColor);background-color:var(--sapBackgroundColor);border-radius:50%;margin-inline-start:.0625rem}.ui5-tlgi-line-placeholder{display:flex;justify-content:center;position:relative;align-self:center;flex-grow:1;margin-inline-end:.5rem;margin-inline-start:-.9375rem}:host([collapsed]) .ui5-tlgi-line{width:100%;height:.0625rem;border-block-start:.0625rem dashed var(--sapContent_NonInteractiveIconColor)}:host([layout="Vertical"]:not(:last-child)[collapsed]) .ui5-tlgi-icon-dot:before{content:"";display:inline-block;background-color:var(--sapContent_ForegroundBorderColor);width:.0625rem;position:absolute;inset-block-start:.375rem;inset-inline-start:50%;height:var(--_ui5_timeline_tlgi_compact_icon_before_height, calc(100% + 4.5rem) )}:host([layout="Vertical"]:not(:last-child)[collapsed]:not([is-next-item-group])) .ui5-tlgi-icon-dot:before{height:var(--_ui5_timeline_tlgi_compact_icon_before_height, calc(100% + 3.75rem) )}:host([layout="Vertical"]:not([first-item-in-timeline])[collapsed]) .ui5-tlgi-icon-dot:after{content:"";display:inline-block;background-color:var(--sapContent_ForegroundBorderColor);width:.0625rem;position:absolute;inset-block-start:-2rem;inset-inline-start:50%;height:2rem}:host([layout="Horizontal"]) .ui5-tl-group-item{height:100%}:host([layout="Horizontal"]) .ui5-tlgi-root{height:var(--_ui5_timeline_tlgi_root_horizontal_height)}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-btn-root,:host([layout="Horizontal"][collapsed]) .ui5-tlgi-root{flex-direction:column;gap:.8275rem;margin-block-start:.4375rem;margin-inline-end:var(--_ui5_timeline_tlgi_horizontal_compact_root_margin_left, 0)}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-root:last-child{margin-block-end:-.4375rem}:host([layout="Horizontal"][collapsed]):first-child .ui5-tlgi-btn-root{padding-inline-end:2rem}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-icon-placeholder{align-self:unset;justify-content:unset}:host([layout="Horizontal"]) .ui5-tlgi-btn{margin-inline-start:-.75rem}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-line{width:100%;height:calc(100% + 1rem);border-block-start:none;border-inline-start:.0625rem dashed var(--sapContent_NonInteractiveIconColor);margin-block-start:-.8125rem}:host([layout="Horizontal"]) .ui5-tlgi-line-placeholder{height:var(--_ui5_timeline_tlgi_line_horizontal_height);align-self:unset;margin-inline-end:0;margin-inline-start:.25rem}:host([layout="Horizontal"]:not([collapsed])) .ui5-tlgi-line-placeholder{display:none}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-root>:last-child{margin-block-end:-.8275rem}:host([layout="Horizontal"]) .ui5-tl-group-item{flex-direction:row}:host([layout="Horizontal"]) .ui5-tl-group-item:last-child{margin-inline-end:.25rem}:host([layout="Horizontal"]) .ui5-tlgi-root{flex-direction:column-reverse}:host([layout="Horizontal"]) .ui5-tlgi-btn-root{flex-direction:row-reverse}:host([layout="Horizontal"]:not(:last-child)[collapsed]) .ui5-tlgi-line-placeholder:before{content:"";display:inline-block;background-color:var(--sapContent_ForegroundBorderColor);height:.0625rem;inset-block-start:-1.0625rem;position:absolute;inset-inline-start:.125rem;width:var(--_ui5_timeline_tlgi_horizontal_line_placeholder_before_width, calc(100% + 1.5625rem) )}:host(:not([is-next-item-group])[layout="Horizontal"]:not(:last-child)[collapsed]) .ui5-tlgi-line-placeholder:before{width:var(--_ui5_timeline_tlgi_horizontal_line_placeholder_before_width, calc(100% + 1.9375rem) )}
|
|
1
|
+
:host .ui5-timeline-group-list-item{list-style:none}:host([collapsed]) .ui5-timeline-group-list-item{display:none}.ui5-tl-group-item{width:100%;display:flex;flex-direction:column;margin:0;padding:0;gap:1.25rem}.ui5-tlgi-root{display:flex;flex-direction:column;gap:var(--_ui5_timeline_tlgi_compact_root_gap, 1.25rem)}.ui5-tlgi-btn-root{display:flex;justify-content:space-between;gap:.125rem;margin-inline-end:calc(-1 * var(--_ui5_TimelineItem_bubble_border_right))}.ui5-tlgi-icon-placeholder{display:flex;justify-content:center;position:relative;width:2rem;align-self:center}:host([collapsed]) .ui5-tlgi-icon-dot{width:.375rem;height:.375rem;box-sizing:border-box;border:.0625rem solid var(--sapContent_NonInteractiveIconColor);background-color:var(--sapBackgroundColor);border-radius:50%;margin-inline-start:.0625rem}.ui5-tlgi-line-placeholder{display:flex;justify-content:center;position:relative;align-self:center;flex-grow:1;margin-inline-end:.5rem;margin-inline-start:-.9375rem}:host([collapsed]) .ui5-tlgi-line{width:100%;height:.0625rem;border-block-start:.0625rem dashed var(--sapContent_NonInteractiveIconColor)}:host([layout="Vertical"]:not(:last-child)[collapsed]) .ui5-tlgi-icon-dot:before{content:"";display:inline-block;background-color:var(--sapContent_ForegroundBorderColor);width:.0625rem;position:absolute;inset-block-start:.375rem;inset-inline-start:50%;height:var(--_ui5_timeline_tlgi_compact_icon_before_height, calc(100% + 4.5rem) )}:host([layout="Vertical"]:not(:last-child)[collapsed]:not([is-next-item-group])) .ui5-tlgi-icon-dot:before{height:var(--_ui5_timeline_tlgi_compact_icon_before_height, calc(100% + 3.75rem) )}:host([layout="Vertical"]:not([first-item-in-timeline])[collapsed]) .ui5-tlgi-icon-dot:after{content:"";display:inline-block;background-color:var(--sapContent_ForegroundBorderColor);width:.0625rem;position:absolute;inset-block-start:-2rem;inset-inline-start:50%;height:2rem}:host([layout="Horizontal"]) .ui5-tl-group-item{height:100%}:host([layout="Horizontal"]) .ui5-tlgi-root{height:var(--_ui5_timeline_tlgi_root_horizontal_height)}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-btn-root,:host([layout="Horizontal"][collapsed]) .ui5-tlgi-root{flex-direction:column;gap:.8275rem;margin-block-start:.4375rem;margin-inline-end:var(--_ui5_timeline_tlgi_horizontal_compact_root_margin_left, 0)}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-root:last-child{margin-block-end:-.4375rem}:host([layout="Horizontal"][collapsed]):first-child .ui5-tlgi-btn-root{padding-inline-end:2rem}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-icon-placeholder{align-self:unset;justify-content:unset}:host([layout="Horizontal"]) .ui5-tlgi-btn{margin-inline-start:-.75rem}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-line{width:100%;height:calc(100% + 1rem);border-block-start:none;border-inline-start:.0625rem dashed var(--sapContent_NonInteractiveIconColor);margin-block-start:-.8125rem}:host([layout="Horizontal"]) .ui5-tlgi-line-placeholder{height:var(--_ui5_timeline_tlgi_line_horizontal_height);align-self:unset;margin-inline-end:0;margin-inline-start:.25rem}:host([layout="Horizontal"]:not([collapsed])) .ui5-tlgi-line-placeholder{display:none}:host([layout="Horizontal"][collapsed]) .ui5-tlgi-root>:last-child{margin-block-end:-.8275rem}:host([layout="Horizontal"]) .ui5-tl-group-item{flex-direction:row}:host([layout="Horizontal"]) .ui5-tl-group-item:last-child{margin-inline-end:.25rem}:host([layout="Horizontal"]) .ui5-tlgi-root{flex-direction:column-reverse}:host([layout="Horizontal"]) .ui5-tlgi-btn-root{flex-direction:row-reverse}:host([layout="Horizontal"]:not(:last-child)[collapsed]) .ui5-tlgi-line-placeholder:before{content:"";display:inline-block;background-color:var(--sapContent_ForegroundBorderColor);height:.0625rem;inset-block-start:-1.0625rem;position:absolute;inset-inline-start:.125rem;width:var(--_ui5_timeline_tlgi_horizontal_line_placeholder_before_width, calc(100% + 1.5625rem) )}:host(:not([is-next-item-group])[layout="Horizontal"]:not(:last-child)[collapsed]) .ui5-tlgi-line-placeholder:before{width:var(--_ui5_timeline_tlgi_horizontal_line_placeholder_before_width, calc(100% + 1.9375rem) )}
|