@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.8 → 0.58.0-rc.80
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/README.md +75 -1
- package/barcode-scanner-dialog/index.d.ts +35 -0
- package/dynamic-page/index.d.ts +26 -0
- package/dynamic-page-header/index.d.ts +23 -0
- package/dynamic-page-title/index.d.ts +49 -0
- package/dynamic-side-content/index.d.ts +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs +42 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs +79 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs +40 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs +30 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs +35 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs +43 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs +30 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs +29 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs +35 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs +26 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs +53 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs +35 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs +29 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs +2 -2
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs +38 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs +54 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs +33 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs +54 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs +92 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs +40 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs +32 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs +36 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs +27 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs +33 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs +130 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs +32 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs +35 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs +41 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs +25 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs +27 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori.mjs +1479 -3
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori.mjs.map +1 -1
- package/filter-item/index.d.ts +23 -0
- package/flexible-column-layout/index.d.ts +26 -0
- package/illustrated-message/index.d.ts +36 -0
- package/index.d.ts +1141 -3
- package/media-gallery/index.d.ts +27 -0
- package/media-gallery-item/index.d.ts +24 -0
- package/navigation-layout/index.d.ts +25 -0
- package/notification-list/index.d.ts +23 -0
- package/notification-list-group-item/index.d.ts +24 -0
- package/notification-list-item/index.d.ts +39 -0
- package/package.json +7 -3
- package/page/index.d.ts +25 -0
- package/product-switch/index.d.ts +23 -0
- package/product-switch-item/index.d.ts +27 -0
- package/search/index.d.ts +36 -0
- package/search-item/index.d.ts +31 -0
- package/search-item-show-more/index.d.ts +2 -2
- package/shell-bar/index.d.ts +58 -0
- package/shell-bar-branding/index.d.ts +27 -0
- package/shell-bar-item/index.d.ts +1 -0
- package/shell-bar-search/index.d.ts +36 -0
- package/side-navigation/index.d.ts +34 -0
- package/side-navigation-group/index.d.ts +23 -0
- package/side-navigation-item/index.d.ts +23 -0
- package/timeline/index.d.ts +23 -0
- package/timeline-group-item/index.d.ts +23 -0
- package/timeline-item/index.d.ts +23 -0
- package/upload-collection/index.d.ts +30 -0
- package/upload-collection-item/index.d.ts +26 -0
- package/user-menu/index.d.ts +27 -0
- package/user-menu-item/index.d.ts +25 -0
- package/user-settings-account-view/index.d.ts +64 -0
- package/user-settings-dialog/index.d.ts +26 -0
- package/user-settings-item/index.d.ts +29 -0
- package/user-settings-view/index.d.ts +23 -0
- package/view-settings-dialog/index.d.ts +31 -0
- package/wizard/index.d.ts +25 -0
- package/wizard-step/index.d.ts +23 -0
|
@@ -66,6 +66,7 @@ import '@ui5/webcomponents-fiori/dist/UserMenu.js';
|
|
|
66
66
|
import '@ui5/webcomponents-fiori/dist/UserMenuAccount.js';
|
|
67
67
|
import '@ui5/webcomponents-fiori/dist/UserMenuItem.js';
|
|
68
68
|
import '@ui5/webcomponents-fiori/dist/UserMenuItemGroup.js';
|
|
69
|
+
import '@ui5/webcomponents-fiori/dist/UserSettingsAccountView.js';
|
|
69
70
|
import '@ui5/webcomponents-fiori/dist/UserSettingsDialog.js';
|
|
70
71
|
import '@ui5/webcomponents-fiori/dist/UserSettingsItem.js';
|
|
71
72
|
import '@ui5/webcomponents-fiori/dist/UserSettingsView.js';
|
|
@@ -190,6 +191,48 @@ class BarcodeScannerDialog {
|
|
|
190
191
|
* Fires when the scan fails with error.
|
|
191
192
|
*/
|
|
192
193
|
this.ui5ScanError = output();
|
|
194
|
+
/**
|
|
195
|
+
* Available slots for content projection in this component.
|
|
196
|
+
*
|
|
197
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
198
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
199
|
+
*
|
|
200
|
+
* - **header**: Defines the header HTML Element.
|
|
201
|
+
|
|
202
|
+
**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.
|
|
203
|
+
`accessibleName` should be used.
|
|
204
|
+
* - **footer**: Defines the footer HTML Element.
|
|
205
|
+
|
|
206
|
+
**Note:** When you provide custom content for the `footer` slot, the default close button is not rendered.
|
|
207
|
+
This means you need to include your own mechanism within the custom `footer` to close the dialog,
|
|
208
|
+
such as a button with an event listener that closes the dialog.
|
|
209
|
+
|
|
210
|
+
**Note:** If the `footer` slot is not provided, a default footer with a close button is rendered automatically,
|
|
211
|
+
allowing users to close the dialog without any additional implementation.
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
* ```html
|
|
215
|
+
* <ui5-barcode-scanner-dialog>
|
|
216
|
+
* <div slot="header">Custom header content</div>
|
|
217
|
+
* <p>Default slot content</p>
|
|
218
|
+
* </ui5-barcode-scanner-dialog>
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
221
|
+
* @readonly
|
|
222
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
223
|
+
*/
|
|
224
|
+
this.slots = [
|
|
225
|
+
{
|
|
226
|
+
"name": "header",
|
|
227
|
+
"description": "Defines the header HTML Element.\n\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\n`accessibleName` should be used.",
|
|
228
|
+
"since": "2.4.0"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "footer",
|
|
232
|
+
"description": "Defines the footer HTML Element.\n\n**Note:** When you provide custom content for the `footer` slot, the default close button is not rendered.\nThis means you need to include your own mechanism within the custom `footer` to close the dialog,\nsuch as a button with an event listener that closes the dialog.\n\n**Note:** If the `footer` slot is not provided, a default footer with a close button is rendered automatically,\nallowing users to close the dialog without any additional implementation.",
|
|
233
|
+
"since": "2.4.0"
|
|
234
|
+
}
|
|
235
|
+
];
|
|
193
236
|
this.elementRef = inject(ElementRef);
|
|
194
237
|
this.injector = inject(Injector);
|
|
195
238
|
}
|
|
@@ -277,6 +320,46 @@ class DynamicPage {
|
|
|
277
320
|
* Fired when the expand/collapse area of the title is toggled.
|
|
278
321
|
*/
|
|
279
322
|
this.ui5TitleToggle = output();
|
|
323
|
+
/**
|
|
324
|
+
* Available slots for content projection in this component.
|
|
325
|
+
*
|
|
326
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
327
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
328
|
+
*
|
|
329
|
+
* - **(default)**: Defines the content of the Dynamic Page.
|
|
330
|
+
* - **titleArea**: Defines the title HTML Element.
|
|
331
|
+
* - **headerArea**: Defines the header HTML Element.
|
|
332
|
+
* - **footerArea**: Defines the footer HTML Element.
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
* ```html
|
|
336
|
+
* <ui5-dynamic-page>
|
|
337
|
+
* <div slot="header">Custom header content</div>
|
|
338
|
+
* <p>Default slot content</p>
|
|
339
|
+
* </ui5-dynamic-page>
|
|
340
|
+
* ```
|
|
341
|
+
*
|
|
342
|
+
* @readonly
|
|
343
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
344
|
+
*/
|
|
345
|
+
this.slots = [
|
|
346
|
+
{
|
|
347
|
+
"name": "default",
|
|
348
|
+
"description": "Defines the content of the Dynamic Page."
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "titleArea",
|
|
352
|
+
"description": "Defines the title HTML Element."
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "headerArea",
|
|
356
|
+
"description": "Defines the header HTML Element."
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "footerArea",
|
|
360
|
+
"description": "Defines the footer HTML Element."
|
|
361
|
+
}
|
|
362
|
+
];
|
|
280
363
|
this.elementRef = inject(ElementRef);
|
|
281
364
|
this.injector = inject(Injector);
|
|
282
365
|
}
|
|
@@ -343,6 +426,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
343
426
|
class DynamicPageHeader {
|
|
344
427
|
constructor() {
|
|
345
428
|
// className is now passed
|
|
429
|
+
/**
|
|
430
|
+
* Available slots for content projection in this component.
|
|
431
|
+
*
|
|
432
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
433
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
434
|
+
*
|
|
435
|
+
* - **(default)**: Defines the content of the Dynamic Page Header.
|
|
436
|
+
*
|
|
437
|
+
* @example
|
|
438
|
+
* ```html
|
|
439
|
+
* <ui5-dynamic-page-header>
|
|
440
|
+
* <div slot="header">Custom header content</div>
|
|
441
|
+
* <p>Default slot content</p>
|
|
442
|
+
* </ui5-dynamic-page-header>
|
|
443
|
+
* ```
|
|
444
|
+
*
|
|
445
|
+
* @readonly
|
|
446
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
447
|
+
*/
|
|
448
|
+
this.slots = [
|
|
449
|
+
{
|
|
450
|
+
"name": "default",
|
|
451
|
+
"description": "Defines the content of the Dynamic Page Header."
|
|
452
|
+
}
|
|
453
|
+
];
|
|
346
454
|
this.elementRef = inject(ElementRef);
|
|
347
455
|
this.injector = inject(Injector);
|
|
348
456
|
}
|
|
@@ -369,6 +477,85 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
369
477
|
class DynamicPageTitle {
|
|
370
478
|
constructor() {
|
|
371
479
|
// className is now passed
|
|
480
|
+
/**
|
|
481
|
+
* Available slots for content projection in this component.
|
|
482
|
+
*
|
|
483
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
484
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
485
|
+
*
|
|
486
|
+
* - **heading**: Defines the content of the Heading of the Dynamic Page.
|
|
487
|
+
|
|
488
|
+
The font size of the title within the `heading` slot can be adjusted to the recommended values using the following CSS variables:
|
|
489
|
+
|
|
490
|
+
**Expanded:** `var(--sapObjectHeader_Title_FontSize)`
|
|
491
|
+
|
|
492
|
+
**Collapsed:** `var(--sapObjectHeader_Title_SnappedFontSize)`
|
|
493
|
+
* - **snappedHeading**: Defines the heading that is shown only when the header is snapped.
|
|
494
|
+
* - **snappedTitleOnMobile**: Defines the content of the snapped title on mobile devices.
|
|
495
|
+
|
|
496
|
+
This slot is displayed only when the `DynamicPageTitle` is in the snapped state on mobile devices.
|
|
497
|
+
It should be used to provide a simplified, single-line title that takes up less space on smaller screens.
|
|
498
|
+
|
|
499
|
+
**Note:**
|
|
500
|
+
- The content set in this slot **overrides** all other content set in the `DynamicPageTitle` slots when displayed.
|
|
501
|
+
- The slot is intended for a single `ui5-title` component.
|
|
502
|
+
* - **actionsBar**: Defines the bar with actions in the Dynamic page title.
|
|
503
|
+
* - **navigationBar**: Defines the bar with navigation actions in the Dynamic page title.
|
|
504
|
+
* - **(default)**: Defines the content of the Dynamic page title.
|
|
505
|
+
* - **subheading**: Defines the content of the title that is shown only when the header is not snapped.
|
|
506
|
+
* - **snappedSubheading**: Defines the content of the title that is shown only when the header is snapped.
|
|
507
|
+
* - **breadcrumbs**: Defines the content of the breadcrumbs inside Dynamic Page Title.
|
|
508
|
+
*
|
|
509
|
+
* @example
|
|
510
|
+
* ```html
|
|
511
|
+
* <ui5-dynamic-page-title>
|
|
512
|
+
* <div slot="header">Custom header content</div>
|
|
513
|
+
* <p>Default slot content</p>
|
|
514
|
+
* </ui5-dynamic-page-title>
|
|
515
|
+
* ```
|
|
516
|
+
*
|
|
517
|
+
* @readonly
|
|
518
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
519
|
+
*/
|
|
520
|
+
this.slots = [
|
|
521
|
+
{
|
|
522
|
+
"name": "heading",
|
|
523
|
+
"description": "Defines the content of the Heading of the Dynamic Page.\n\nThe font size of the title within the `heading` slot can be adjusted to the recommended values using the following CSS variables:\n\n**Expanded:** `var(--sapObjectHeader_Title_FontSize)`\n\n**Collapsed:** `var(--sapObjectHeader_Title_SnappedFontSize)`"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "snappedHeading",
|
|
527
|
+
"description": "Defines the heading that is shown only when the header is snapped."
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "snappedTitleOnMobile",
|
|
531
|
+
"description": "Defines the content of the snapped title on mobile devices.\n\nThis slot is displayed only when the `DynamicPageTitle` is in the snapped state on mobile devices.\nIt should be used to provide a simplified, single-line title that takes up less space on smaller screens.\n\n**Note:**\n- The content set in this slot **overrides** all other content set in the `DynamicPageTitle` slots when displayed.\n- The slot is intended for a single `ui5-title` component.",
|
|
532
|
+
"since": "2.3.0"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "actionsBar",
|
|
536
|
+
"description": "Defines the bar with actions in the Dynamic page title."
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "navigationBar",
|
|
540
|
+
"description": "Defines the bar with navigation actions in the Dynamic page title."
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "default",
|
|
544
|
+
"description": "Defines the content of the Dynamic page title."
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "subheading",
|
|
548
|
+
"description": "Defines the content of the title that is shown only when the header is not snapped."
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "snappedSubheading",
|
|
552
|
+
"description": "Defines the content of the title that is shown only when the header is snapped."
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "breadcrumbs",
|
|
556
|
+
"description": "Defines the content of the breadcrumbs inside Dynamic Page Title."
|
|
557
|
+
}
|
|
558
|
+
];
|
|
372
559
|
this.elementRef = inject(ElementRef);
|
|
373
560
|
this.injector = inject(Injector);
|
|
374
561
|
}
|
|
@@ -435,6 +622,36 @@ class DynamicSideContent {
|
|
|
435
622
|
* Fires when the current breakpoint has been changed.
|
|
436
623
|
*/
|
|
437
624
|
this.ui5LayoutChange = output();
|
|
625
|
+
/**
|
|
626
|
+
* Available slots for content projection in this component.
|
|
627
|
+
*
|
|
628
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
629
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
630
|
+
*
|
|
631
|
+
* - **(default)**: Defines the main content.
|
|
632
|
+
* - **sideContent**: Defines the side content.
|
|
633
|
+
*
|
|
634
|
+
* @example
|
|
635
|
+
* ```html
|
|
636
|
+
* <ui5-dynamic-side-content>
|
|
637
|
+
* <div slot="header">Custom header content</div>
|
|
638
|
+
* <p>Default slot content</p>
|
|
639
|
+
* </ui5-dynamic-side-content>
|
|
640
|
+
* ```
|
|
641
|
+
*
|
|
642
|
+
* @readonly
|
|
643
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
644
|
+
*/
|
|
645
|
+
this.slots = [
|
|
646
|
+
{
|
|
647
|
+
"name": "default",
|
|
648
|
+
"description": "Defines the main content."
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "sideContent",
|
|
652
|
+
"description": "Defines the side content."
|
|
653
|
+
}
|
|
654
|
+
];
|
|
438
655
|
this.elementRef = inject(ElementRef);
|
|
439
656
|
this.injector = inject(Injector);
|
|
440
657
|
}
|
|
@@ -511,6 +728,31 @@ class FilterItem {
|
|
|
511
728
|
This text is typically used to show the number of selected filter options within this category.
|
|
512
729
|
*/
|
|
513
730
|
this.additionalText = input(...(ngDevMode ? [undefined, { debugName: "additionalText" }] : [])); // className is now passed
|
|
731
|
+
/**
|
|
732
|
+
* Available slots for content projection in this component.
|
|
733
|
+
*
|
|
734
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
735
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
736
|
+
*
|
|
737
|
+
* - **values**: Defines the filter options available for this filter category.
|
|
738
|
+
*
|
|
739
|
+
* @example
|
|
740
|
+
* ```html
|
|
741
|
+
* <ui5-filter-item>
|
|
742
|
+
* <div slot="header">Custom header content</div>
|
|
743
|
+
* <p>Default slot content</p>
|
|
744
|
+
* </ui5-filter-item>
|
|
745
|
+
* ```
|
|
746
|
+
*
|
|
747
|
+
* @readonly
|
|
748
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
749
|
+
*/
|
|
750
|
+
this.slots = [
|
|
751
|
+
{
|
|
752
|
+
"name": "values",
|
|
753
|
+
"description": "Defines the filter options available for this filter category."
|
|
754
|
+
}
|
|
755
|
+
];
|
|
514
756
|
this.elementRef = inject(ElementRef);
|
|
515
757
|
this.injector = inject(Injector);
|
|
516
758
|
}
|
|
@@ -698,6 +940,41 @@ class FlexibleColumnLayout {
|
|
|
698
940
|
* Fired when the `layoutsConfiguration` changes via user interaction by dragging the separators.
|
|
699
941
|
*/
|
|
700
942
|
this.ui5LayoutConfigurationChange = output();
|
|
943
|
+
/**
|
|
944
|
+
* Available slots for content projection in this component.
|
|
945
|
+
*
|
|
946
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
947
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
948
|
+
*
|
|
949
|
+
* - **startColumn**: Defines the content in the start column.
|
|
950
|
+
* - **midColumn**: Defines the content in the middle column.
|
|
951
|
+
* - **endColumn**: Defines the content in the end column.
|
|
952
|
+
*
|
|
953
|
+
* @example
|
|
954
|
+
* ```html
|
|
955
|
+
* <ui5-flexible-column-layout>
|
|
956
|
+
* <div slot="header">Custom header content</div>
|
|
957
|
+
* <p>Default slot content</p>
|
|
958
|
+
* </ui5-flexible-column-layout>
|
|
959
|
+
* ```
|
|
960
|
+
*
|
|
961
|
+
* @readonly
|
|
962
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
963
|
+
*/
|
|
964
|
+
this.slots = [
|
|
965
|
+
{
|
|
966
|
+
"name": "startColumn",
|
|
967
|
+
"description": "Defines the content in the start column."
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "midColumn",
|
|
971
|
+
"description": "Defines the content in the middle column."
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "endColumn",
|
|
975
|
+
"description": "Defines the content in the end column."
|
|
976
|
+
}
|
|
977
|
+
];
|
|
701
978
|
this.elementRef = inject(ElementRef);
|
|
702
979
|
this.injector = inject(Injector);
|
|
703
980
|
// Internal signal to track columnLayout from layout-change events
|
|
@@ -975,6 +1252,49 @@ class IllustratedMessage {
|
|
|
975
1252
|
When set to `true`, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG element.
|
|
976
1253
|
*/
|
|
977
1254
|
this.decorative = input(false, ...(ngDevMode ? [{ debugName: "decorative", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
1255
|
+
/**
|
|
1256
|
+
* Available slots for content projection in this component.
|
|
1257
|
+
*
|
|
1258
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1259
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1260
|
+
*
|
|
1261
|
+
* - **title**: Defines the title of the component.
|
|
1262
|
+
|
|
1263
|
+
**Note:** Using this slot, the default title text of illustration and the value of `title` property will be overwritten.
|
|
1264
|
+
* - **subtitle**: Defines the subtitle of the component.
|
|
1265
|
+
|
|
1266
|
+
**Note:** Using this slot, the default subtitle text of illustration and the value of `subtitleText` property will be overwritten.
|
|
1267
|
+
* - **(default)**: Defines the component actions.
|
|
1268
|
+
|
|
1269
|
+
**Note:** Not displayed when the `design` property is set to `Base`.
|
|
1270
|
+
*
|
|
1271
|
+
* @example
|
|
1272
|
+
* ```html
|
|
1273
|
+
* <ui5-illustrated-message>
|
|
1274
|
+
* <div slot="header">Custom header content</div>
|
|
1275
|
+
* <p>Default slot content</p>
|
|
1276
|
+
* </ui5-illustrated-message>
|
|
1277
|
+
* ```
|
|
1278
|
+
*
|
|
1279
|
+
* @readonly
|
|
1280
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1281
|
+
*/
|
|
1282
|
+
this.slots = [
|
|
1283
|
+
{
|
|
1284
|
+
"name": "title",
|
|
1285
|
+
"description": "Defines the title of the component.\n\n**Note:** Using this slot, the default title text of illustration and the value of `title` property will be overwritten.",
|
|
1286
|
+
"since": "1.7.0"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "subtitle",
|
|
1290
|
+
"description": "Defines the subtitle of the component.\n\n**Note:** Using this slot, the default subtitle text of illustration and the value of `subtitleText` property will be overwritten.",
|
|
1291
|
+
"since": "1.0.0-rc.16"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"name": "default",
|
|
1295
|
+
"description": "Defines the component actions.\n\n**Note:** Not displayed when the `design` property is set to `Base`."
|
|
1296
|
+
}
|
|
1297
|
+
];
|
|
978
1298
|
this.elementRef = inject(ElementRef);
|
|
979
1299
|
this.injector = inject(Injector);
|
|
980
1300
|
}
|
|
@@ -1068,6 +1388,35 @@ class MediaGallery {
|
|
|
1068
1388
|
the enlarged content of the currently selected item.
|
|
1069
1389
|
*/
|
|
1070
1390
|
this.ui5DisplayAreaClick = output();
|
|
1391
|
+
/**
|
|
1392
|
+
* Available slots for content projection in this component.
|
|
1393
|
+
*
|
|
1394
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1395
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1396
|
+
*
|
|
1397
|
+
* - **(default)**: Defines the component items.
|
|
1398
|
+
|
|
1399
|
+
**Note:** Only one selected item is allowed.
|
|
1400
|
+
|
|
1401
|
+
**Note:** Use the `ui5-media-gallery-item` component to define the desired items.
|
|
1402
|
+
*
|
|
1403
|
+
* @example
|
|
1404
|
+
* ```html
|
|
1405
|
+
* <ui5-media-gallery>
|
|
1406
|
+
* <div slot="header">Custom header content</div>
|
|
1407
|
+
* <p>Default slot content</p>
|
|
1408
|
+
* </ui5-media-gallery>
|
|
1409
|
+
* ```
|
|
1410
|
+
*
|
|
1411
|
+
* @readonly
|
|
1412
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1413
|
+
*/
|
|
1414
|
+
this.slots = [
|
|
1415
|
+
{
|
|
1416
|
+
"name": "default",
|
|
1417
|
+
"description": "Defines the component items.\n\n**Note:** Only one selected item is allowed.\n\n**Note:** Use the `ui5-media-gallery-item` component to define the desired items."
|
|
1418
|
+
}
|
|
1419
|
+
];
|
|
1071
1420
|
this.elementRef = inject(ElementRef);
|
|
1072
1421
|
this.injector = inject(Injector);
|
|
1073
1422
|
}
|
|
@@ -1147,6 +1496,36 @@ class MediaGalleryItem {
|
|
|
1147
1496
|
* Determines the layout of the item container.
|
|
1148
1497
|
*/
|
|
1149
1498
|
this.layout = input("Square", ...(ngDevMode ? [{ debugName: "layout" }] : [])); // className is now passed
|
|
1499
|
+
/**
|
|
1500
|
+
* Available slots for content projection in this component.
|
|
1501
|
+
*
|
|
1502
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1503
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1504
|
+
*
|
|
1505
|
+
* - **(default)**: Defines the content of the component.
|
|
1506
|
+
* - **thumbnail**: Defines the content of the thumbnail.
|
|
1507
|
+
*
|
|
1508
|
+
* @example
|
|
1509
|
+
* ```html
|
|
1510
|
+
* <ui5-media-gallery-item>
|
|
1511
|
+
* <div slot="header">Custom header content</div>
|
|
1512
|
+
* <p>Default slot content</p>
|
|
1513
|
+
* </ui5-media-gallery-item>
|
|
1514
|
+
* ```
|
|
1515
|
+
*
|
|
1516
|
+
* @readonly
|
|
1517
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1518
|
+
*/
|
|
1519
|
+
this.slots = [
|
|
1520
|
+
{
|
|
1521
|
+
"name": "default",
|
|
1522
|
+
"description": "Defines the content of the component."
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "thumbnail",
|
|
1526
|
+
"description": "Defines the content of the thumbnail."
|
|
1527
|
+
}
|
|
1528
|
+
];
|
|
1150
1529
|
this.elementRef = inject(ElementRef);
|
|
1151
1530
|
this.injector = inject(Injector);
|
|
1152
1531
|
}
|
|
@@ -1199,6 +1578,41 @@ class NavigationLayout {
|
|
|
1199
1578
|
* Specifies the navigation layout mode.
|
|
1200
1579
|
*/
|
|
1201
1580
|
this.mode = input("Auto", ...(ngDevMode ? [{ debugName: "mode" }] : [])); // className is now passed
|
|
1581
|
+
/**
|
|
1582
|
+
* Available slots for content projection in this component.
|
|
1583
|
+
*
|
|
1584
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1585
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1586
|
+
*
|
|
1587
|
+
* - **header**: Defines the header.
|
|
1588
|
+
* - **sideContent**: Defines the side content.
|
|
1589
|
+
* - **(default)**: Defines the content.
|
|
1590
|
+
*
|
|
1591
|
+
* @example
|
|
1592
|
+
* ```html
|
|
1593
|
+
* <ui5-navigation-layout>
|
|
1594
|
+
* <div slot="header">Custom header content</div>
|
|
1595
|
+
* <p>Default slot content</p>
|
|
1596
|
+
* </ui5-navigation-layout>
|
|
1597
|
+
* ```
|
|
1598
|
+
*
|
|
1599
|
+
* @readonly
|
|
1600
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1601
|
+
*/
|
|
1602
|
+
this.slots = [
|
|
1603
|
+
{
|
|
1604
|
+
"name": "header",
|
|
1605
|
+
"description": "Defines the header."
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "sideContent",
|
|
1609
|
+
"description": "Defines the side content."
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "default",
|
|
1613
|
+
"description": "Defines the content."
|
|
1614
|
+
}
|
|
1615
|
+
];
|
|
1202
1616
|
this.elementRef = inject(ElementRef);
|
|
1203
1617
|
this.injector = inject(Injector);
|
|
1204
1618
|
}
|
|
@@ -1261,6 +1675,31 @@ class NotificationList {
|
|
|
1261
1675
|
* Fired when an item is toggled.
|
|
1262
1676
|
*/
|
|
1263
1677
|
this.ui5ItemToggle = output();
|
|
1678
|
+
/**
|
|
1679
|
+
* Available slots for content projection in this component.
|
|
1680
|
+
*
|
|
1681
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1682
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1683
|
+
*
|
|
1684
|
+
* - **(default)**: Defines the items of the component.
|
|
1685
|
+
*
|
|
1686
|
+
* @example
|
|
1687
|
+
* ```html
|
|
1688
|
+
* <ui5-notification-list>
|
|
1689
|
+
* <div slot="header">Custom header content</div>
|
|
1690
|
+
* <p>Default slot content</p>
|
|
1691
|
+
* </ui5-notification-list>
|
|
1692
|
+
* ```
|
|
1693
|
+
*
|
|
1694
|
+
* @readonly
|
|
1695
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1696
|
+
*/
|
|
1697
|
+
this.slots = [
|
|
1698
|
+
{
|
|
1699
|
+
"name": "default",
|
|
1700
|
+
"description": "Defines the items of the component."
|
|
1701
|
+
}
|
|
1702
|
+
];
|
|
1264
1703
|
this.elementRef = inject(ElementRef);
|
|
1265
1704
|
this.injector = inject(Injector);
|
|
1266
1705
|
}
|
|
@@ -1360,6 +1799,32 @@ class NotificationListGroupItem {
|
|
|
1360
1799
|
* Fired when additional items are requested.
|
|
1361
1800
|
*/
|
|
1362
1801
|
this.ui5LoadMore = output();
|
|
1802
|
+
/**
|
|
1803
|
+
* Available slots for content projection in this component.
|
|
1804
|
+
*
|
|
1805
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1806
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1807
|
+
*
|
|
1808
|
+
* - **(default)**: Defines the items of the `ui5-li-notification-group`,
|
|
1809
|
+
usually `ui5-li-notification` items.
|
|
1810
|
+
*
|
|
1811
|
+
* @example
|
|
1812
|
+
* ```html
|
|
1813
|
+
* <ui5-li-notification-group>
|
|
1814
|
+
* <div slot="header">Custom header content</div>
|
|
1815
|
+
* <p>Default slot content</p>
|
|
1816
|
+
* </ui5-li-notification-group>
|
|
1817
|
+
* ```
|
|
1818
|
+
*
|
|
1819
|
+
* @readonly
|
|
1820
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1821
|
+
*/
|
|
1822
|
+
this.slots = [
|
|
1823
|
+
{
|
|
1824
|
+
"name": "default",
|
|
1825
|
+
"description": "Defines the items of the `ui5-li-notification-group`,\nusually `ui5-li-notification` items."
|
|
1826
|
+
}
|
|
1827
|
+
];
|
|
1363
1828
|
this.elementRef = inject(ElementRef);
|
|
1364
1829
|
this.injector = inject(Injector);
|
|
1365
1830
|
}
|
|
@@ -1470,6 +1935,59 @@ class NotificationListItem {
|
|
|
1470
1935
|
* Fired when the `Close` button is pressed.
|
|
1471
1936
|
*/
|
|
1472
1937
|
this.ui5Close = output();
|
|
1938
|
+
/**
|
|
1939
|
+
* Available slots for content projection in this component.
|
|
1940
|
+
*
|
|
1941
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
1942
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
1943
|
+
*
|
|
1944
|
+
* - **avatar**: Defines the avatar, displayed in the `ui5-li-notification`.
|
|
1945
|
+
|
|
1946
|
+
**Note:** Consider using the `ui5-avatar` to display icons, initials or images.
|
|
1947
|
+
|
|
1948
|
+
**Note:** In order to be complaint with the UX guidlines and for best experience,
|
|
1949
|
+
we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the `ui5-avatar`
|
|
1950
|
+
you can set its `size` property to `XS` to get the required size - `<ui5-avatar size="XS"></ui5-avatar>`.
|
|
1951
|
+
* - **menu**: Defines the menu, displayed in the `ui5-li-notification`.
|
|
1952
|
+
|
|
1953
|
+
**Note:** Use this for implementing actions.
|
|
1954
|
+
|
|
1955
|
+
**Note:** Should be used instead `u5-notification-action`, which is deprecated as of version 2.0.
|
|
1956
|
+
* - **footnotes**: Defines the elements, displayed in the footer of the of the component.
|
|
1957
|
+
* - **(default)**: Defines the content of the `ui5-li-notification`,
|
|
1958
|
+
usually a description of the notification.
|
|
1959
|
+
|
|
1960
|
+
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
1961
|
+
*
|
|
1962
|
+
* @example
|
|
1963
|
+
* ```html
|
|
1964
|
+
* <ui5-li-notification>
|
|
1965
|
+
* <div slot="header">Custom header content</div>
|
|
1966
|
+
* <p>Default slot content</p>
|
|
1967
|
+
* </ui5-li-notification>
|
|
1968
|
+
* ```
|
|
1969
|
+
*
|
|
1970
|
+
* @readonly
|
|
1971
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
1972
|
+
*/
|
|
1973
|
+
this.slots = [
|
|
1974
|
+
{
|
|
1975
|
+
"name": "avatar",
|
|
1976
|
+
"description": "Defines the avatar, displayed in the `ui5-li-notification`.\n\n**Note:** Consider using the `ui5-avatar` to display icons, initials or images.\n\n**Note:** In order to be complaint with the UX guidlines and for best experience,\nwe recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the `ui5-avatar`\nyou can set its `size` property to `XS` to get the required size - `<ui5-avatar size=\"XS\"></ui5-avatar>`."
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"name": "menu",
|
|
1980
|
+
"description": "Defines the menu, displayed in the `ui5-li-notification`.\n\n**Note:** Use this for implementing actions.\n\n**Note:** Should be used instead `u5-notification-action`, which is deprecated as of version 2.0."
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"name": "footnotes",
|
|
1984
|
+
"description": "Defines the elements, displayed in the footer of the of the component."
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"name": "default",
|
|
1988
|
+
"description": "Defines the content of the `ui5-li-notification`,\nusually a description of the notification.\n\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design."
|
|
1989
|
+
}
|
|
1990
|
+
];
|
|
1473
1991
|
this.elementRef = inject(ElementRef);
|
|
1474
1992
|
this.injector = inject(Injector);
|
|
1475
1993
|
}
|
|
@@ -1559,6 +2077,41 @@ class Page {
|
|
|
1559
2077
|
* Defines the footer visibility.
|
|
1560
2078
|
*/
|
|
1561
2079
|
this.hideFooter = input(false, ...(ngDevMode ? [{ debugName: "hideFooter", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
2080
|
+
/**
|
|
2081
|
+
* Available slots for content projection in this component.
|
|
2082
|
+
*
|
|
2083
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
2084
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
2085
|
+
*
|
|
2086
|
+
* - **header**: Defines the header HTML Element.
|
|
2087
|
+
* - **(default)**: Defines the content HTML Element.
|
|
2088
|
+
* - **footer**: Defines the footer HTML Element.
|
|
2089
|
+
*
|
|
2090
|
+
* @example
|
|
2091
|
+
* ```html
|
|
2092
|
+
* <ui5-page>
|
|
2093
|
+
* <div slot="header">Custom header content</div>
|
|
2094
|
+
* <p>Default slot content</p>
|
|
2095
|
+
* </ui5-page>
|
|
2096
|
+
* ```
|
|
2097
|
+
*
|
|
2098
|
+
* @readonly
|
|
2099
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
2100
|
+
*/
|
|
2101
|
+
this.slots = [
|
|
2102
|
+
{
|
|
2103
|
+
"name": "header",
|
|
2104
|
+
"description": "Defines the header HTML Element."
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "default",
|
|
2108
|
+
"description": "Defines the content HTML Element."
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"name": "footer",
|
|
2112
|
+
"description": "Defines the footer HTML Element."
|
|
2113
|
+
}
|
|
2114
|
+
];
|
|
1562
2115
|
this.elementRef = inject(ElementRef);
|
|
1563
2116
|
this.injector = inject(Injector);
|
|
1564
2117
|
}
|
|
@@ -1609,6 +2162,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1609
2162
|
class ProductSwitch {
|
|
1610
2163
|
constructor() {
|
|
1611
2164
|
// className is now passed
|
|
2165
|
+
/**
|
|
2166
|
+
* Available slots for content projection in this component.
|
|
2167
|
+
*
|
|
2168
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
2169
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
2170
|
+
*
|
|
2171
|
+
* - **(default)**: Defines the items of the `ui5-product-switch`.
|
|
2172
|
+
*
|
|
2173
|
+
* @example
|
|
2174
|
+
* ```html
|
|
2175
|
+
* <ui5-product-switch>
|
|
2176
|
+
* <div slot="header">Custom header content</div>
|
|
2177
|
+
* <p>Default slot content</p>
|
|
2178
|
+
* </ui5-product-switch>
|
|
2179
|
+
* ```
|
|
2180
|
+
*
|
|
2181
|
+
* @readonly
|
|
2182
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
2183
|
+
*/
|
|
2184
|
+
this.slots = [
|
|
2185
|
+
{
|
|
2186
|
+
"name": "default",
|
|
2187
|
+
"description": "Defines the items of the `ui5-product-switch`."
|
|
2188
|
+
}
|
|
2189
|
+
];
|
|
1612
2190
|
this.elementRef = inject(ElementRef);
|
|
1613
2191
|
this.injector = inject(Injector);
|
|
1614
2192
|
}
|
|
@@ -1675,6 +2253,35 @@ class ProductSwitchItem {
|
|
|
1675
2253
|
click/tap or by using the Enter or Space key.
|
|
1676
2254
|
*/
|
|
1677
2255
|
this.ui5Click = output();
|
|
2256
|
+
/**
|
|
2257
|
+
* Available slots for content projection in this component.
|
|
2258
|
+
*
|
|
2259
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
2260
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
2261
|
+
*
|
|
2262
|
+
* - **image**: Defines an image to be displayed instead of the standard icon.
|
|
2263
|
+
|
|
2264
|
+
**Note:** The image slot takes precedence over the icon property.
|
|
2265
|
+
**Note:** We recommend using non-interactive ui5-avatar with size S, Square shape and Transparent colorScheme for best alignment.
|
|
2266
|
+
*
|
|
2267
|
+
* @example
|
|
2268
|
+
* ```html
|
|
2269
|
+
* <ui5-product-switch-item>
|
|
2270
|
+
* <div slot="header">Custom header content</div>
|
|
2271
|
+
* <p>Default slot content</p>
|
|
2272
|
+
* </ui5-product-switch-item>
|
|
2273
|
+
* ```
|
|
2274
|
+
*
|
|
2275
|
+
* @readonly
|
|
2276
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
2277
|
+
*/
|
|
2278
|
+
this.slots = [
|
|
2279
|
+
{
|
|
2280
|
+
"name": "image",
|
|
2281
|
+
"description": "Defines an image to be displayed instead of the standard icon.\n\n**Note:** The image slot takes precedence over the icon property.\n**Note:** We recommend using non-interactive ui5-avatar with size S, Square shape and Transparent colorScheme for best alignment.",
|
|
2282
|
+
"since": "2.14.0"
|
|
2283
|
+
}
|
|
2284
|
+
];
|
|
1678
2285
|
this.elementRef = inject(ElementRef);
|
|
1679
2286
|
this.injector = inject(Injector);
|
|
1680
2287
|
}
|
|
@@ -1795,6 +2402,60 @@ class Search {
|
|
|
1795
2402
|
* Fired when the user has triggered search with Enter key or Search Button press.
|
|
1796
2403
|
*/
|
|
1797
2404
|
this.ui5Search = output();
|
|
2405
|
+
/**
|
|
2406
|
+
* Available slots for content projection in this component.
|
|
2407
|
+
*
|
|
2408
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
2409
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
2410
|
+
*
|
|
2411
|
+
* - **(default)**: Defines the Search suggestion items.
|
|
2412
|
+
* - **action**: Defines the popup footer action button.
|
|
2413
|
+
* - **illustration**: Defines the illustrated message to be shown in the popup.
|
|
2414
|
+
* - **messageArea**: Defines the illustrated message to be shown in the popup.
|
|
2415
|
+
* - **scopes**: Defines the component scope options.
|
|
2416
|
+
* - **filterButton**: Defines the filter button slot, used to display an additional filtering button.
|
|
2417
|
+
This slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.
|
|
2418
|
+
|
|
2419
|
+
**Note:** Scope button and Filter button are mutually exclusive.
|
|
2420
|
+
*
|
|
2421
|
+
* @example
|
|
2422
|
+
* ```html
|
|
2423
|
+
* <ui5-search>
|
|
2424
|
+
* <div slot="header">Custom header content</div>
|
|
2425
|
+
* <p>Default slot content</p>
|
|
2426
|
+
* </ui5-search>
|
|
2427
|
+
* ```
|
|
2428
|
+
*
|
|
2429
|
+
* @readonly
|
|
2430
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
2431
|
+
*/
|
|
2432
|
+
this.slots = [
|
|
2433
|
+
{
|
|
2434
|
+
"name": "default",
|
|
2435
|
+
"description": "Defines the Search suggestion items."
|
|
2436
|
+
},
|
|
2437
|
+
{
|
|
2438
|
+
"name": "action",
|
|
2439
|
+
"description": "Defines the popup footer action button."
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "illustration",
|
|
2443
|
+
"description": "Defines the illustrated message to be shown in the popup."
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"name": "messageArea",
|
|
2447
|
+
"description": "Defines the illustrated message to be shown in the popup."
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"name": "scopes",
|
|
2451
|
+
"description": "Defines the component scope options."
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"name": "filterButton",
|
|
2455
|
+
"description": "Defines the filter button slot, used to display an additional filtering button.\nThis slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.\n\n**Note:** Scope button and Filter button are mutually exclusive.",
|
|
2456
|
+
"since": "2.11.0"
|
|
2457
|
+
}
|
|
2458
|
+
];
|
|
1798
2459
|
this.elementRef = inject(ElementRef);
|
|
1799
2460
|
this.injector = inject(Injector);
|
|
1800
2461
|
}
|
|
@@ -1896,6 +2557,44 @@ class SearchItem {
|
|
|
1896
2557
|
* Fired when delete button is pressed.
|
|
1897
2558
|
*/
|
|
1898
2559
|
this.ui5Delete = output();
|
|
2560
|
+
/**
|
|
2561
|
+
* Available slots for content projection in this component.
|
|
2562
|
+
*
|
|
2563
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
2564
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
2565
|
+
*
|
|
2566
|
+
* - **image**: **Note:** While the slot allows the option of setting a custom avatar, to comply with the
|
|
2567
|
+
design guidelines, use the `ui5-avatar` with size - XS.
|
|
2568
|
+
* - **actions**: Defines the actionable elements.
|
|
2569
|
+
This slot allows placing additional interactive elements (such as buttons, icons, or tags)
|
|
2570
|
+
next to the delete button, providing flexible customization for various user actions.
|
|
2571
|
+
|
|
2572
|
+
**Note:** While the slot is flexible, for consistency with design guidelines,
|
|
2573
|
+
it's recommended to use `ui5-button` with `Transparent` design or `ui5-icon` elements.
|
|
2574
|
+
*
|
|
2575
|
+
* @example
|
|
2576
|
+
* ```html
|
|
2577
|
+
* <ui5-search-item>
|
|
2578
|
+
* <div slot="header">Custom header content</div>
|
|
2579
|
+
* <p>Default slot content</p>
|
|
2580
|
+
* </ui5-search-item>
|
|
2581
|
+
* ```
|
|
2582
|
+
*
|
|
2583
|
+
* @readonly
|
|
2584
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
2585
|
+
*/
|
|
2586
|
+
this.slots = [
|
|
2587
|
+
{
|
|
2588
|
+
"name": "image",
|
|
2589
|
+
"description": "**Note:** While the slot allows the option of setting a custom avatar, to comply with the\ndesign guidelines, use the `ui5-avatar` with size - XS.",
|
|
2590
|
+
"since": "2.12.0"
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
"name": "actions",
|
|
2594
|
+
"description": "Defines the actionable elements.\nThis slot allows placing additional interactive elements (such as buttons, icons, or tags)\nnext to the delete button, providing flexible customization for various user actions.\n\n**Note:** While the slot is flexible, for consistency with design guidelines,\nit's recommended to use `ui5-button` with `Transparent` design or `ui5-icon` elements.",
|
|
2595
|
+
"since": "2.16.0"
|
|
2596
|
+
}
|
|
2597
|
+
];
|
|
1899
2598
|
this.elementRef = inject(ElementRef);
|
|
1900
2599
|
this.injector = inject(Injector);
|
|
1901
2600
|
}
|
|
@@ -1990,8 +2689,8 @@ class SearchItemShowMore {
|
|
|
1990
2689
|
constructor() {
|
|
1991
2690
|
/**
|
|
1992
2691
|
* Specifies the number of additional items available to show.
|
|
1993
|
-
|
|
1994
|
-
If
|
|
2692
|
+
If no value is defined, the control shows "Show more" (without any counter).
|
|
2693
|
+
If a number is provided, it displays "Show more (N)", where N is that number.
|
|
1995
2694
|
*/
|
|
1996
2695
|
this.itemsToShowCount = input(...(ngDevMode ? [undefined, { debugName: "itemsToShowCount" }] : []));
|
|
1997
2696
|
/**
|
|
@@ -2295,6 +2994,98 @@ class ShellBar {
|
|
|
2295
2994
|
**Note:** The `content-item-visibility-change` event is in an experimental state and is a subject to change.
|
|
2296
2995
|
*/
|
|
2297
2996
|
this.ui5ContentItemVisibilityChange = output();
|
|
2997
|
+
/**
|
|
2998
|
+
* Available slots for content projection in this component.
|
|
2999
|
+
*
|
|
3000
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
3001
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
3002
|
+
*
|
|
3003
|
+
* - **assistant**: Defines the assistant slot.
|
|
3004
|
+
* - **branding**: Defines the branding slot.
|
|
3005
|
+
The `ui5-shellbar-branding` component is intended to be placed inside this slot.
|
|
3006
|
+
Content placed here takes precedence over the `primaryTitle` property and the `logo` content slot.
|
|
3007
|
+
|
|
3008
|
+
**Note:** The `branding` slot is in an experimental state and is a subject to change.
|
|
3009
|
+
* - **(default)**: Defines the `ui5-shellbar` additional items.
|
|
3010
|
+
|
|
3011
|
+
**Note:**
|
|
3012
|
+
You can use the `<ui5-shellbar-item></ui5-shellbar-item>`.
|
|
3013
|
+
* - **profile**: You can pass `ui5-avatar` to set the profile image/icon.
|
|
3014
|
+
If no profile slot is set - profile will be excluded from actions.
|
|
3015
|
+
|
|
3016
|
+
**Note:** We recommend not using the `size` attribute of `ui5-avatar` because
|
|
3017
|
+
it should have specific size by design in the context of `ui5-shellbar` profile.
|
|
3018
|
+
* - **logo**: Defines the logo of the `ui5-shellbar`.
|
|
3019
|
+
For example, you can use `ui5-avatar` or `img` elements as logo.
|
|
3020
|
+
* - **menuItems**: Defines the items displayed in menu after a click on a start button.
|
|
3021
|
+
|
|
3022
|
+
**Note:** You can use the `<ui5-li></ui5-li>` and its ancestors.
|
|
3023
|
+
* - **searchField**: Defines the `ui5-input`, that will be used as a search field.
|
|
3024
|
+
* - **startButton**: Defines a `ui5-button` in the bar that will be placed in the beginning.
|
|
3025
|
+
We encourage this slot to be used for a menu button.
|
|
3026
|
+
It gets overstyled to match ShellBar's styling.
|
|
3027
|
+
* - **content**: Define the items displayed in the content area.
|
|
3028
|
+
|
|
3029
|
+
Use the `data-hide-order` attribute with numeric value to specify the order of the items to be hidden when the space is not enough.
|
|
3030
|
+
Lower values will be hidden first.
|
|
3031
|
+
|
|
3032
|
+
**Note:** The `content` slot is in an experimental state and is a subject to change.
|
|
3033
|
+
*
|
|
3034
|
+
* @example
|
|
3035
|
+
* ```html
|
|
3036
|
+
* <ui5-shellbar>
|
|
3037
|
+
* <div slot="header">Custom header content</div>
|
|
3038
|
+
* <p>Default slot content</p>
|
|
3039
|
+
* </ui5-shellbar>
|
|
3040
|
+
* ```
|
|
3041
|
+
*
|
|
3042
|
+
* @readonly
|
|
3043
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
3044
|
+
*/
|
|
3045
|
+
this.slots = [
|
|
3046
|
+
{
|
|
3047
|
+
"name": "assistant",
|
|
3048
|
+
"description": "Defines the assistant slot.",
|
|
3049
|
+
"since": "2.0.0"
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"name": "branding",
|
|
3053
|
+
"description": "Defines the branding slot.\nThe `ui5-shellbar-branding` component is intended to be placed inside this slot.\nContent placed here takes precedence over the `primaryTitle` property and the `logo` content slot.\n\n**Note:** The `branding` slot is in an experimental state and is a subject to change.",
|
|
3054
|
+
"since": "2.12.0"
|
|
3055
|
+
},
|
|
3056
|
+
{
|
|
3057
|
+
"name": "default",
|
|
3058
|
+
"description": "Defines the `ui5-shellbar` additional items.\n\n**Note:**\nYou can use the `<ui5-shellbar-item></ui5-shellbar-item>`."
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"name": "profile",
|
|
3062
|
+
"description": "You can pass `ui5-avatar` to set the profile image/icon.\nIf no profile slot is set - profile will be excluded from actions.\n\n**Note:** We recommend not using the `size` attribute of `ui5-avatar` because\nit should have specific size by design in the context of `ui5-shellbar` profile.",
|
|
3063
|
+
"since": "1.0.0-rc.6"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"name": "logo",
|
|
3067
|
+
"description": "Defines the logo of the `ui5-shellbar`.\nFor example, you can use `ui5-avatar` or `img` elements as logo.",
|
|
3068
|
+
"since": "1.0.0-rc.8"
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"name": "menuItems",
|
|
3072
|
+
"description": "Defines the items displayed in menu after a click on a start button.\n\n**Note:** You can use the `<ui5-li></ui5-li>` and its ancestors.",
|
|
3073
|
+
"since": "0.10"
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
"name": "searchField",
|
|
3077
|
+
"description": "Defines the `ui5-input`, that will be used as a search field."
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"name": "startButton",
|
|
3081
|
+
"description": "Defines a `ui5-button` in the bar that will be placed in the beginning.\nWe encourage this slot to be used for a menu button.\nIt gets overstyled to match ShellBar's styling."
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"name": "content",
|
|
3085
|
+
"description": "Define the items displayed in the content area.\n\nUse the `data-hide-order` attribute with numeric value to specify the order of the items to be hidden when the space is not enough.\nLower values will be hidden first.\n\n**Note:** The `content` slot is in an experimental state and is a subject to change.",
|
|
3086
|
+
"since": "2.7.0"
|
|
3087
|
+
}
|
|
3088
|
+
];
|
|
2298
3089
|
this.elementRef = inject(ElementRef);
|
|
2299
3090
|
this.injector = inject(Injector);
|
|
2300
3091
|
}
|
|
@@ -2436,6 +3227,39 @@ class ShellBarBranding {
|
|
|
2436
3227
|
* Fired, when the logo is activated.
|
|
2437
3228
|
*/
|
|
2438
3229
|
this.ui5Click = output();
|
|
3230
|
+
/**
|
|
3231
|
+
* Available slots for content projection in this component.
|
|
3232
|
+
*
|
|
3233
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
3234
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
3235
|
+
*
|
|
3236
|
+
* - **(default)**: Defines the title for the ui5-shellbar-branding component.
|
|
3237
|
+
|
|
3238
|
+
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
3239
|
+
* - **logo**: Defines the logo of the `ui5-shellbar`.
|
|
3240
|
+
For example, you can use `ui5-avatar` or `img` elements as logo.
|
|
3241
|
+
*
|
|
3242
|
+
* @example
|
|
3243
|
+
* ```html
|
|
3244
|
+
* <ui5-shellbar-branding>
|
|
3245
|
+
* <div slot="header">Custom header content</div>
|
|
3246
|
+
* <p>Default slot content</p>
|
|
3247
|
+
* </ui5-shellbar-branding>
|
|
3248
|
+
* ```
|
|
3249
|
+
*
|
|
3250
|
+
* @readonly
|
|
3251
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
3252
|
+
*/
|
|
3253
|
+
this.slots = [
|
|
3254
|
+
{
|
|
3255
|
+
"name": "default",
|
|
3256
|
+
"description": "Defines the title for the ui5-shellbar-branding component.\n\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design."
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
"name": "logo",
|
|
3260
|
+
"description": "Defines the logo of the `ui5-shellbar`.\nFor example, you can use `ui5-avatar` or `img` elements as logo."
|
|
3261
|
+
}
|
|
3262
|
+
];
|
|
2439
3263
|
this.elementRef = inject(ElementRef);
|
|
2440
3264
|
this.injector = inject(Injector);
|
|
2441
3265
|
}
|
|
@@ -2657,6 +3481,60 @@ class ShellBarSearch {
|
|
|
2657
3481
|
* Fired when the user has triggered search with Enter key or Search Button press.
|
|
2658
3482
|
*/
|
|
2659
3483
|
this.ui5Search = output();
|
|
3484
|
+
/**
|
|
3485
|
+
* Available slots for content projection in this component.
|
|
3486
|
+
*
|
|
3487
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
3488
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
3489
|
+
*
|
|
3490
|
+
* - **(default)**: Defines the Search suggestion items.
|
|
3491
|
+
* - **action**: Defines the popup footer action button.
|
|
3492
|
+
* - **illustration**: Defines the illustrated message to be shown in the popup.
|
|
3493
|
+
* - **messageArea**: Defines the illustrated message to be shown in the popup.
|
|
3494
|
+
* - **scopes**: Defines the component scope options.
|
|
3495
|
+
* - **filterButton**: Defines the filter button slot, used to display an additional filtering button.
|
|
3496
|
+
This slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.
|
|
3497
|
+
|
|
3498
|
+
**Note:** Scope button and Filter button are mutually exclusive.
|
|
3499
|
+
*
|
|
3500
|
+
* @example
|
|
3501
|
+
* ```html
|
|
3502
|
+
* <ui5-shellbar-search>
|
|
3503
|
+
* <div slot="header">Custom header content</div>
|
|
3504
|
+
* <p>Default slot content</p>
|
|
3505
|
+
* </ui5-shellbar-search>
|
|
3506
|
+
* ```
|
|
3507
|
+
*
|
|
3508
|
+
* @readonly
|
|
3509
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
3510
|
+
*/
|
|
3511
|
+
this.slots = [
|
|
3512
|
+
{
|
|
3513
|
+
"name": "default",
|
|
3514
|
+
"description": "Defines the Search suggestion items."
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "action",
|
|
3518
|
+
"description": "Defines the popup footer action button."
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
"name": "illustration",
|
|
3522
|
+
"description": "Defines the illustrated message to be shown in the popup."
|
|
3523
|
+
},
|
|
3524
|
+
{
|
|
3525
|
+
"name": "messageArea",
|
|
3526
|
+
"description": "Defines the illustrated message to be shown in the popup."
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
"name": "scopes",
|
|
3530
|
+
"description": "Defines the component scope options."
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"name": "filterButton",
|
|
3534
|
+
"description": "Defines the filter button slot, used to display an additional filtering button.\nThis slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.\n\n**Note:** Scope button and Filter button are mutually exclusive.",
|
|
3535
|
+
"since": "2.11.0"
|
|
3536
|
+
}
|
|
3537
|
+
];
|
|
2660
3538
|
this.elementRef = inject(ElementRef);
|
|
2661
3539
|
this.injector = inject(Injector);
|
|
2662
3540
|
}
|
|
@@ -2774,6 +3652,46 @@ class SideNavigation {
|
|
|
2774
3652
|
* Fired when the selection has changed via user interaction
|
|
2775
3653
|
*/
|
|
2776
3654
|
this.ui5SelectionChange = output();
|
|
3655
|
+
/**
|
|
3656
|
+
* Available slots for content projection in this component.
|
|
3657
|
+
*
|
|
3658
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
3659
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
3660
|
+
*
|
|
3661
|
+
* - **(default)**: Defines the main items of the component.
|
|
3662
|
+
* - **fixedItems**: Defines the fixed items at the bottom of the component.
|
|
3663
|
+
|
|
3664
|
+
**Note:** In order to achieve the best user experience, it is recommended that you keep the fixed items "flat" (do not pass sub-items)
|
|
3665
|
+
* - **header**: Defines the header of the `ui5-side-navigation`.
|
|
3666
|
+
|
|
3667
|
+
**Note:** The header is displayed when the component is expanded - the property `collapsed` is false;
|
|
3668
|
+
*
|
|
3669
|
+
* @example
|
|
3670
|
+
* ```html
|
|
3671
|
+
* <ui5-side-navigation>
|
|
3672
|
+
* <div slot="header">Custom header content</div>
|
|
3673
|
+
* <p>Default slot content</p>
|
|
3674
|
+
* </ui5-side-navigation>
|
|
3675
|
+
* ```
|
|
3676
|
+
*
|
|
3677
|
+
* @readonly
|
|
3678
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
3679
|
+
*/
|
|
3680
|
+
this.slots = [
|
|
3681
|
+
{
|
|
3682
|
+
"name": "default",
|
|
3683
|
+
"description": "Defines the main items of the component."
|
|
3684
|
+
},
|
|
3685
|
+
{
|
|
3686
|
+
"name": "fixedItems",
|
|
3687
|
+
"description": "Defines the fixed items at the bottom of the component.\n\n**Note:** In order to achieve the best user experience, it is recommended that you keep the fixed items \"flat\" (do not pass sub-items)"
|
|
3688
|
+
},
|
|
3689
|
+
{
|
|
3690
|
+
"name": "header",
|
|
3691
|
+
"description": "Defines the header of the `ui5-side-navigation`.\n\n**Note:** The header is displayed when the component is expanded - the property `collapsed` is false;",
|
|
3692
|
+
"since": "1.0.0-rc.11"
|
|
3693
|
+
}
|
|
3694
|
+
];
|
|
2777
3695
|
this.elementRef = inject(ElementRef);
|
|
2778
3696
|
this.injector = inject(Injector);
|
|
2779
3697
|
}
|
|
@@ -2857,6 +3775,31 @@ class SideNavigationGroup {
|
|
|
2857
3775
|
when the component is collapsed ("icon only" design is visualized) or the item text is truncated.
|
|
2858
3776
|
*/
|
|
2859
3777
|
this.tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : [])); // className is now passed
|
|
3778
|
+
/**
|
|
3779
|
+
* Available slots for content projection in this component.
|
|
3780
|
+
*
|
|
3781
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
3782
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
3783
|
+
*
|
|
3784
|
+
* - **(default)**: Defines nested items by passing `ui5-side-navigation-item` to the default slot.
|
|
3785
|
+
*
|
|
3786
|
+
* @example
|
|
3787
|
+
* ```html
|
|
3788
|
+
* <ui5-side-navigation-group>
|
|
3789
|
+
* <div slot="header">Custom header content</div>
|
|
3790
|
+
* <p>Default slot content</p>
|
|
3791
|
+
* </ui5-side-navigation-group>
|
|
3792
|
+
* ```
|
|
3793
|
+
*
|
|
3794
|
+
* @readonly
|
|
3795
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
3796
|
+
*/
|
|
3797
|
+
this.slots = [
|
|
3798
|
+
{
|
|
3799
|
+
"name": "default",
|
|
3800
|
+
"description": "Defines nested items by passing `ui5-side-navigation-item` to the default slot."
|
|
3801
|
+
}
|
|
3802
|
+
];
|
|
2860
3803
|
this.elementRef = inject(ElementRef);
|
|
2861
3804
|
this.injector = inject(Injector);
|
|
2862
3805
|
}
|
|
@@ -2995,6 +3938,31 @@ class SideNavigationItem {
|
|
|
2995
3938
|
* Fired when the component is activated either with a click/tap or by using the [Enter] or [Space] keys.
|
|
2996
3939
|
*/
|
|
2997
3940
|
this.ui5Click = output();
|
|
3941
|
+
/**
|
|
3942
|
+
* Available slots for content projection in this component.
|
|
3943
|
+
*
|
|
3944
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
3945
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
3946
|
+
*
|
|
3947
|
+
* - **(default)**: Defines nested items by passing `ui5-side-navigation-sub-item` to the default slot.
|
|
3948
|
+
*
|
|
3949
|
+
* @example
|
|
3950
|
+
* ```html
|
|
3951
|
+
* <ui5-side-navigation-item>
|
|
3952
|
+
* <div slot="header">Custom header content</div>
|
|
3953
|
+
* <p>Default slot content</p>
|
|
3954
|
+
* </ui5-side-navigation-item>
|
|
3955
|
+
* ```
|
|
3956
|
+
*
|
|
3957
|
+
* @readonly
|
|
3958
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
3959
|
+
*/
|
|
3960
|
+
this.slots = [
|
|
3961
|
+
{
|
|
3962
|
+
"name": "default",
|
|
3963
|
+
"description": "Defines nested items by passing `ui5-side-navigation-sub-item` to the default slot."
|
|
3964
|
+
}
|
|
3965
|
+
];
|
|
2998
3966
|
this.elementRef = inject(ElementRef);
|
|
2999
3967
|
this.injector = inject(Injector);
|
|
3000
3968
|
}
|
|
@@ -3311,6 +4279,31 @@ class Timeline {
|
|
|
3311
4279
|
**Note:** The event will be fired if `growing` is set to `Button` or `Scroll`.
|
|
3312
4280
|
*/
|
|
3313
4281
|
this.ui5LoadMore = output();
|
|
4282
|
+
/**
|
|
4283
|
+
* Available slots for content projection in this component.
|
|
4284
|
+
*
|
|
4285
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
4286
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
4287
|
+
*
|
|
4288
|
+
* - **(default)**: Determines the content of the `ui5-timeline`.
|
|
4289
|
+
*
|
|
4290
|
+
* @example
|
|
4291
|
+
* ```html
|
|
4292
|
+
* <ui5-timeline>
|
|
4293
|
+
* <div slot="header">Custom header content</div>
|
|
4294
|
+
* <p>Default slot content</p>
|
|
4295
|
+
* </ui5-timeline>
|
|
4296
|
+
* ```
|
|
4297
|
+
*
|
|
4298
|
+
* @readonly
|
|
4299
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
4300
|
+
*/
|
|
4301
|
+
this.slots = [
|
|
4302
|
+
{
|
|
4303
|
+
"name": "default",
|
|
4304
|
+
"description": "Determines the content of the `ui5-timeline`."
|
|
4305
|
+
}
|
|
4306
|
+
];
|
|
3314
4307
|
this.elementRef = inject(ElementRef);
|
|
3315
4308
|
this.injector = inject(Injector);
|
|
3316
4309
|
}
|
|
@@ -3388,6 +4381,31 @@ class TimelineGroupItem {
|
|
|
3388
4381
|
* Fired when the group item is expanded or collapsed.
|
|
3389
4382
|
*/
|
|
3390
4383
|
this.ui5Toggle = output();
|
|
4384
|
+
/**
|
|
4385
|
+
* Available slots for content projection in this component.
|
|
4386
|
+
*
|
|
4387
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
4388
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
4389
|
+
*
|
|
4390
|
+
* - **(default)**: Determines the content of the `ui5-timeline-group-item`.
|
|
4391
|
+
*
|
|
4392
|
+
* @example
|
|
4393
|
+
* ```html
|
|
4394
|
+
* <ui5-timeline-group-item>
|
|
4395
|
+
* <div slot="header">Custom header content</div>
|
|
4396
|
+
* <p>Default slot content</p>
|
|
4397
|
+
* </ui5-timeline-group-item>
|
|
4398
|
+
* ```
|
|
4399
|
+
*
|
|
4400
|
+
* @readonly
|
|
4401
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
4402
|
+
*/
|
|
4403
|
+
this.slots = [
|
|
4404
|
+
{
|
|
4405
|
+
"name": "default",
|
|
4406
|
+
"description": "Determines the content of the `ui5-timeline-group-item`."
|
|
4407
|
+
}
|
|
4408
|
+
];
|
|
3391
4409
|
this.elementRef = inject(ElementRef);
|
|
3392
4410
|
this.injector = inject(Injector);
|
|
3393
4411
|
}
|
|
@@ -3485,6 +4503,31 @@ class TimelineItem {
|
|
|
3485
4503
|
attribute is not set.
|
|
3486
4504
|
*/
|
|
3487
4505
|
this.ui5NameClick = output();
|
|
4506
|
+
/**
|
|
4507
|
+
* Available slots for content projection in this component.
|
|
4508
|
+
*
|
|
4509
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
4510
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
4511
|
+
*
|
|
4512
|
+
* - **(default)**: Defines the content of the `ui5-timeline-item`.
|
|
4513
|
+
*
|
|
4514
|
+
* @example
|
|
4515
|
+
* ```html
|
|
4516
|
+
* <ui5-timeline-item>
|
|
4517
|
+
* <div slot="header">Custom header content</div>
|
|
4518
|
+
* <p>Default slot content</p>
|
|
4519
|
+
* </ui5-timeline-item>
|
|
4520
|
+
* ```
|
|
4521
|
+
*
|
|
4522
|
+
* @readonly
|
|
4523
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
4524
|
+
*/
|
|
4525
|
+
this.slots = [
|
|
4526
|
+
{
|
|
4527
|
+
"name": "default",
|
|
4528
|
+
"description": "Defines the content of the `ui5-timeline-item`."
|
|
4529
|
+
}
|
|
4530
|
+
];
|
|
3488
4531
|
this.elementRef = inject(ElementRef);
|
|
3489
4532
|
this.injector = inject(Injector);
|
|
3490
4533
|
}
|
|
@@ -3590,6 +4633,42 @@ class UploadCollection {
|
|
|
3590
4633
|
in `Single` and `Multiple` modes.
|
|
3591
4634
|
*/
|
|
3592
4635
|
this.ui5SelectionChange = output();
|
|
4636
|
+
/**
|
|
4637
|
+
* Available slots for content projection in this component.
|
|
4638
|
+
*
|
|
4639
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
4640
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
4641
|
+
*
|
|
4642
|
+
* - **(default)**: Defines the items of the `ui5-upload-collection`.
|
|
4643
|
+
|
|
4644
|
+
**Note:** Use `ui5-upload-collection-item` for the intended design.
|
|
4645
|
+
* - **header**: Defines the `ui5-upload-collection` header.
|
|
4646
|
+
|
|
4647
|
+
**Note:** If `header` slot is provided,
|
|
4648
|
+
the labelling of the `UploadCollection` is a responsibility of the application developer.
|
|
4649
|
+
`accessibleName` should be used.
|
|
4650
|
+
*
|
|
4651
|
+
* @example
|
|
4652
|
+
* ```html
|
|
4653
|
+
* <ui5-upload-collection>
|
|
4654
|
+
* <div slot="header">Custom header content</div>
|
|
4655
|
+
* <p>Default slot content</p>
|
|
4656
|
+
* </ui5-upload-collection>
|
|
4657
|
+
* ```
|
|
4658
|
+
*
|
|
4659
|
+
* @readonly
|
|
4660
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
4661
|
+
*/
|
|
4662
|
+
this.slots = [
|
|
4663
|
+
{
|
|
4664
|
+
"name": "default",
|
|
4665
|
+
"description": "Defines the items of the `ui5-upload-collection`.\n\n**Note:** Use `ui5-upload-collection-item` for the intended design."
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
"name": "header",
|
|
4669
|
+
"description": "Defines the `ui5-upload-collection` header.\n\n**Note:** If `header` slot is provided,\nthe labelling of the `UploadCollection` is a responsibility of the application developer.\n`accessibleName` should be used."
|
|
4670
|
+
}
|
|
4671
|
+
];
|
|
3593
4672
|
this.elementRef = inject(ElementRef);
|
|
3594
4673
|
this.injector = inject(Injector);
|
|
3595
4674
|
}
|
|
@@ -3727,6 +4806,38 @@ class UploadCollectionItem {
|
|
|
3727
4806
|
**Note:** Retry button is displayed when `uploadState` property is set to `Error`.
|
|
3728
4807
|
*/
|
|
3729
4808
|
this.ui5Retry = output();
|
|
4809
|
+
/**
|
|
4810
|
+
* Available slots for content projection in this component.
|
|
4811
|
+
*
|
|
4812
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
4813
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
4814
|
+
*
|
|
4815
|
+
* - **(default)**: Hold the description of the `ui5-upload-collection-item`. Will be shown below the file name.
|
|
4816
|
+
* - **thumbnail**: A thumbnail, which will be shown in the beginning of the `ui5-upload-collection-item`.
|
|
4817
|
+
|
|
4818
|
+
**Note:** Use `ui5-icon` or `img` for the intended design.
|
|
4819
|
+
*
|
|
4820
|
+
* @example
|
|
4821
|
+
* ```html
|
|
4822
|
+
* <ui5-upload-collection-item>
|
|
4823
|
+
* <div slot="header">Custom header content</div>
|
|
4824
|
+
* <p>Default slot content</p>
|
|
4825
|
+
* </ui5-upload-collection-item>
|
|
4826
|
+
* ```
|
|
4827
|
+
*
|
|
4828
|
+
* @readonly
|
|
4829
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
4830
|
+
*/
|
|
4831
|
+
this.slots = [
|
|
4832
|
+
{
|
|
4833
|
+
"name": "default",
|
|
4834
|
+
"description": "Hold the description of the `ui5-upload-collection-item`. Will be shown below the file name."
|
|
4835
|
+
},
|
|
4836
|
+
{
|
|
4837
|
+
"name": "thumbnail",
|
|
4838
|
+
"description": "A thumbnail, which will be shown in the beginning of the `ui5-upload-collection-item`.\n\n**Note:** Use `ui5-icon` or `img` for the intended design."
|
|
4839
|
+
}
|
|
4840
|
+
];
|
|
3730
4841
|
this.elementRef = inject(ElementRef);
|
|
3731
4842
|
this.injector = inject(Injector);
|
|
3732
4843
|
}
|
|
@@ -3857,6 +4968,39 @@ class UserMenu {
|
|
|
3857
4968
|
* Fired when the "Sign Out" button is selected.
|
|
3858
4969
|
*/
|
|
3859
4970
|
this.ui5SignOutClick = output();
|
|
4971
|
+
/**
|
|
4972
|
+
* Available slots for content projection in this component.
|
|
4973
|
+
*
|
|
4974
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
4975
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
4976
|
+
*
|
|
4977
|
+
* - **(default)**: Defines the menu items.
|
|
4978
|
+
* - **accounts**: Defines the user accounts.
|
|
4979
|
+
|
|
4980
|
+
**Note:** If one item is used, it will be shown as the selected one. If more than one item is used, the first one will be shown as selected unless
|
|
4981
|
+
there is an item with `selected` property set to `true`.
|
|
4982
|
+
*
|
|
4983
|
+
* @example
|
|
4984
|
+
* ```html
|
|
4985
|
+
* <ui5-user-menu>
|
|
4986
|
+
* <div slot="header">Custom header content</div>
|
|
4987
|
+
* <p>Default slot content</p>
|
|
4988
|
+
* </ui5-user-menu>
|
|
4989
|
+
* ```
|
|
4990
|
+
*
|
|
4991
|
+
* @readonly
|
|
4992
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
4993
|
+
*/
|
|
4994
|
+
this.slots = [
|
|
4995
|
+
{
|
|
4996
|
+
"name": "default",
|
|
4997
|
+
"description": "Defines the menu items."
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"name": "accounts",
|
|
5001
|
+
"description": "Defines the user accounts.\n\n**Note:** If one item is used, it will be shown as the selected one. If more than one item is used, the first one will be shown as selected unless\nthere is an item with `selected` property set to `true`."
|
|
5002
|
+
}
|
|
5003
|
+
];
|
|
3860
5004
|
this.elementRef = inject(ElementRef);
|
|
3861
5005
|
this.injector = inject(Injector);
|
|
3862
5006
|
}
|
|
@@ -4016,6 +5160,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4016
5160
|
class UserMenuItem {
|
|
4017
5161
|
constructor() {
|
|
4018
5162
|
// className is now passed
|
|
5163
|
+
/**
|
|
5164
|
+
* Available slots for content projection in this component.
|
|
5165
|
+
*
|
|
5166
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5167
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5168
|
+
*
|
|
5169
|
+
* - **(default)**: Defines the items of this component.
|
|
5170
|
+
|
|
5171
|
+
**Note:** Use `ui5-user-menu-item` for the intended design.
|
|
5172
|
+
*
|
|
5173
|
+
* @example
|
|
5174
|
+
* ```html
|
|
5175
|
+
* <ui5-user-menu-item>
|
|
5176
|
+
* <div slot="header">Custom header content</div>
|
|
5177
|
+
* <p>Default slot content</p>
|
|
5178
|
+
* </ui5-user-menu-item>
|
|
5179
|
+
* ```
|
|
5180
|
+
*
|
|
5181
|
+
* @readonly
|
|
5182
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5183
|
+
*/
|
|
5184
|
+
this.slots = [
|
|
5185
|
+
{
|
|
5186
|
+
"name": "default",
|
|
5187
|
+
"description": "Defines the items of this component.\n\n**Note:** Use `ui5-user-menu-item` for the intended design."
|
|
5188
|
+
}
|
|
5189
|
+
];
|
|
4019
5190
|
this.elementRef = inject(ElementRef);
|
|
4020
5191
|
this.injector = inject(Injector);
|
|
4021
5192
|
}
|
|
@@ -4065,6 +5236,126 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4065
5236
|
}]
|
|
4066
5237
|
}] });
|
|
4067
5238
|
|
|
5239
|
+
class UserSettingsAccountView {
|
|
5240
|
+
constructor() {
|
|
5241
|
+
/**
|
|
5242
|
+
* Defines if the User Menu shows the `Manage Account` option.
|
|
5243
|
+
*/
|
|
5244
|
+
this.showManageAccount = input(false, ...(ngDevMode ? [{ debugName: "showManageAccount", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
5245
|
+
/**
|
|
5246
|
+
* Defines the title text of the user settings view.
|
|
5247
|
+
*/
|
|
5248
|
+
this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
|
|
5249
|
+
/**
|
|
5250
|
+
* Defines whether the view is selected. There can be just one selected view at a time.
|
|
5251
|
+
*/
|
|
5252
|
+
this.selected = input(false, ...(ngDevMode ? [{ debugName: "selected", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
5253
|
+
/**
|
|
5254
|
+
* Indicates whether the view is secondary. It is relevant only if the view is used in `pages` slot of `ui5-user-settings-item`
|
|
5255
|
+
and controls the visibility of the back button.
|
|
5256
|
+
*/
|
|
5257
|
+
this.secondary = input(false, ...(ngDevMode ? [{ debugName: "secondary", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
5258
|
+
/**
|
|
5259
|
+
* Fired when the `Edit Accounts` button is selected.
|
|
5260
|
+
*/
|
|
5261
|
+
this.ui5EditAccountsClick = output();
|
|
5262
|
+
/**
|
|
5263
|
+
* Fired when the `Manage Account` button is selected.
|
|
5264
|
+
*/
|
|
5265
|
+
this.ui5ManageAccountClick = output();
|
|
5266
|
+
/**
|
|
5267
|
+
* Available slots for content projection in this component.
|
|
5268
|
+
*
|
|
5269
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5270
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5271
|
+
*
|
|
5272
|
+
* - **account**: Defines the user account.
|
|
5273
|
+
* - **(default)**: Defines the content of the view.
|
|
5274
|
+
*
|
|
5275
|
+
* @example
|
|
5276
|
+
* ```html
|
|
5277
|
+
* <ui5-user-settings-account-view>
|
|
5278
|
+
* <div slot="header">Custom header content</div>
|
|
5279
|
+
* <p>Default slot content</p>
|
|
5280
|
+
* </ui5-user-settings-account-view>
|
|
5281
|
+
* ```
|
|
5282
|
+
*
|
|
5283
|
+
* @readonly
|
|
5284
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5285
|
+
*/
|
|
5286
|
+
this.slots = [
|
|
5287
|
+
{
|
|
5288
|
+
"name": "account",
|
|
5289
|
+
"description": "Defines the user account."
|
|
5290
|
+
},
|
|
5291
|
+
{
|
|
5292
|
+
"name": "default",
|
|
5293
|
+
"description": "Defines the content of the view."
|
|
5294
|
+
}
|
|
5295
|
+
];
|
|
5296
|
+
this.elementRef = inject(ElementRef);
|
|
5297
|
+
this.injector = inject(Injector);
|
|
5298
|
+
}
|
|
5299
|
+
get element() {
|
|
5300
|
+
return this.elementRef.nativeElement;
|
|
5301
|
+
}
|
|
5302
|
+
ngAfterViewInit() {
|
|
5303
|
+
const wcElement = this.element;
|
|
5304
|
+
const inputsToSync = [
|
|
5305
|
+
'showManageAccount',
|
|
5306
|
+
'text',
|
|
5307
|
+
'selected',
|
|
5308
|
+
'secondary',
|
|
5309
|
+
];
|
|
5310
|
+
// Synchronize inputs (properties)
|
|
5311
|
+
for (const inputName of inputsToSync) {
|
|
5312
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
5313
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
5314
|
+
// Use the Injector to run the effect in the correct context
|
|
5315
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
5316
|
+
runInInjectionContext(this.injector, () => {
|
|
5317
|
+
effect(() => {
|
|
5318
|
+
// Read the signal value
|
|
5319
|
+
const value = this[signalName]();
|
|
5320
|
+
if (wcElement) {
|
|
5321
|
+
// Write the value to the Web Component's property
|
|
5322
|
+
wcElement[inputName] = value;
|
|
5323
|
+
}
|
|
5324
|
+
});
|
|
5325
|
+
});
|
|
5326
|
+
}
|
|
5327
|
+
}
|
|
5328
|
+
const outputsToSync = [
|
|
5329
|
+
'ui5EditAccountsClick',
|
|
5330
|
+
'ui5ManageAccountClick',
|
|
5331
|
+
];
|
|
5332
|
+
// Synchronize outputs (events)
|
|
5333
|
+
for (const outputName of outputsToSync) {
|
|
5334
|
+
// Map Angular output name to UI5 web component event name
|
|
5335
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
5336
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
5337
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
5338
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
5339
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
5340
|
+
this[outputName].emit(e);
|
|
5341
|
+
});
|
|
5342
|
+
}
|
|
5343
|
+
}
|
|
5344
|
+
}
|
|
5345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UserSettingsAccountView, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5346
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: UserSettingsAccountView, isStandalone: true, selector: "ui5-user-settings-account-view, [ui5-user-settings-account-view]", inputs: { showManageAccount: { classPropertyName: "showManageAccount", publicName: "showManageAccount", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, secondary: { classPropertyName: "secondary", publicName: "secondary", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5EditAccountsClick: "ui5EditAccountsClick", ui5ManageAccountClick: "ui5ManageAccountClick" }, exportAs: ["ui5UserSettingsAccountView"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5347
|
+
}
|
|
5348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UserSettingsAccountView, decorators: [{
|
|
5349
|
+
type: Component,
|
|
5350
|
+
args: [{
|
|
5351
|
+
standalone: true,
|
|
5352
|
+
selector: 'ui5-user-settings-account-view, [ui5-user-settings-account-view]',
|
|
5353
|
+
template: '<ng-content></ng-content>',
|
|
5354
|
+
exportAs: 'ui5UserSettingsAccountView',
|
|
5355
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5356
|
+
}]
|
|
5357
|
+
}] });
|
|
5358
|
+
|
|
4068
5359
|
class UserSettingsDialog {
|
|
4069
5360
|
constructor() {
|
|
4070
5361
|
/**
|
|
@@ -4097,6 +5388,38 @@ class UserSettingsDialog {
|
|
|
4097
5388
|
* Fired when a settings dialog is closed.
|
|
4098
5389
|
*/
|
|
4099
5390
|
this.ui5Close = output();
|
|
5391
|
+
/**
|
|
5392
|
+
* Available slots for content projection in this component.
|
|
5393
|
+
*
|
|
5394
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5395
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5396
|
+
*
|
|
5397
|
+
* - **(default)**: Defines the user settings items.
|
|
5398
|
+
|
|
5399
|
+
**Note:** If no setting item is set as `selected`, the first one will be selected.
|
|
5400
|
+
* - **fixedItems**: Defines the fixed user settings items.
|
|
5401
|
+
*
|
|
5402
|
+
* @example
|
|
5403
|
+
* ```html
|
|
5404
|
+
* <ui5-user-settings-dialog>
|
|
5405
|
+
* <div slot="header">Custom header content</div>
|
|
5406
|
+
* <p>Default slot content</p>
|
|
5407
|
+
* </ui5-user-settings-dialog>
|
|
5408
|
+
* ```
|
|
5409
|
+
*
|
|
5410
|
+
* @readonly
|
|
5411
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5412
|
+
*/
|
|
5413
|
+
this.slots = [
|
|
5414
|
+
{
|
|
5415
|
+
"name": "default",
|
|
5416
|
+
"description": "Defines the user settings items.\n\n**Note:** If no setting item is set as `selected`, the first one will be selected."
|
|
5417
|
+
},
|
|
5418
|
+
{
|
|
5419
|
+
"name": "fixedItems",
|
|
5420
|
+
"description": "Defines the fixed user settings items."
|
|
5421
|
+
}
|
|
5422
|
+
];
|
|
4100
5423
|
this.elementRef = inject(ElementRef);
|
|
4101
5424
|
this.injector = inject(Injector);
|
|
4102
5425
|
}
|
|
@@ -4207,6 +5530,41 @@ class UserSettingsItem {
|
|
|
4207
5530
|
* Fired when a selected view changed.
|
|
4208
5531
|
*/
|
|
4209
5532
|
this.ui5SelectionChange = output();
|
|
5533
|
+
/**
|
|
5534
|
+
* Available slots for content projection in this component.
|
|
5535
|
+
*
|
|
5536
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5537
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5538
|
+
*
|
|
5539
|
+
* - **(default)**: Defines the page views of the user settings item.
|
|
5540
|
+
|
|
5541
|
+
If there are no tab views, the first page view will be shown unless there is selected one. If there is selected page
|
|
5542
|
+
view it will be shown no matter if there are tab views.
|
|
5543
|
+
|
|
5544
|
+
The page views are displayed by default if there is no selected tab view.
|
|
5545
|
+
* - **tabs**: Defines the tab views of the user settings item.
|
|
5546
|
+
*
|
|
5547
|
+
* @example
|
|
5548
|
+
* ```html
|
|
5549
|
+
* <ui5-user-settings-item>
|
|
5550
|
+
* <div slot="header">Custom header content</div>
|
|
5551
|
+
* <p>Default slot content</p>
|
|
5552
|
+
* </ui5-user-settings-item>
|
|
5553
|
+
* ```
|
|
5554
|
+
*
|
|
5555
|
+
* @readonly
|
|
5556
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5557
|
+
*/
|
|
5558
|
+
this.slots = [
|
|
5559
|
+
{
|
|
5560
|
+
"name": "default",
|
|
5561
|
+
"description": "Defines the page views of the user settings item.\n\nIf there are no tab views, the first page view will be shown unless there is selected one. If there is selected page\nview it will be shown no matter if there are tab views.\n\nThe page views are displayed by default if there is no selected tab view."
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"name": "tabs",
|
|
5565
|
+
"description": "Defines the tab views of the user settings item."
|
|
5566
|
+
}
|
|
5567
|
+
];
|
|
4210
5568
|
this.elementRef = inject(ElementRef);
|
|
4211
5569
|
this.injector = inject(Injector);
|
|
4212
5570
|
}
|
|
@@ -4289,6 +5647,31 @@ class UserSettingsView {
|
|
|
4289
5647
|
and controls the visibility of the back button.
|
|
4290
5648
|
*/
|
|
4291
5649
|
this.secondary = input(false, ...(ngDevMode ? [{ debugName: "secondary", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
5650
|
+
/**
|
|
5651
|
+
* Available slots for content projection in this component.
|
|
5652
|
+
*
|
|
5653
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5654
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5655
|
+
*
|
|
5656
|
+
* - **(default)**: Defines the content of the view.
|
|
5657
|
+
*
|
|
5658
|
+
* @example
|
|
5659
|
+
* ```html
|
|
5660
|
+
* <ui5-user-settings-view>
|
|
5661
|
+
* <div slot="header">Custom header content</div>
|
|
5662
|
+
* <p>Default slot content</p>
|
|
5663
|
+
* </ui5-user-settings-view>
|
|
5664
|
+
* ```
|
|
5665
|
+
*
|
|
5666
|
+
* @readonly
|
|
5667
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5668
|
+
*/
|
|
5669
|
+
this.slots = [
|
|
5670
|
+
{
|
|
5671
|
+
"name": "default",
|
|
5672
|
+
"description": "Defines the content of the view."
|
|
5673
|
+
}
|
|
5674
|
+
];
|
|
4292
5675
|
this.elementRef = inject(ElementRef);
|
|
4293
5676
|
this.injector = inject(Injector);
|
|
4294
5677
|
}
|
|
@@ -4369,6 +5752,47 @@ class ViewSettingsDialog {
|
|
|
4369
5752
|
* Fired after the dialog is closed.
|
|
4370
5753
|
*/
|
|
4371
5754
|
this.ui5Close = output();
|
|
5755
|
+
/**
|
|
5756
|
+
* Available slots for content projection in this component.
|
|
5757
|
+
*
|
|
5758
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5759
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5760
|
+
*
|
|
5761
|
+
* - **sortItems**: Defines the list of items against which the user could sort data.
|
|
5762
|
+
|
|
5763
|
+
**Note:** If you want to use this slot, you need to import used item: `import "@ui5/webcomponents-fiori/dist/SortItem.js";`
|
|
5764
|
+
* - **filterItems**: Defines the `filterItems` list.
|
|
5765
|
+
|
|
5766
|
+
**Note:** If you want to use this slot, you need to import used item: `import "@ui5/webcomponents-fiori/dist/FilterItem.js";`
|
|
5767
|
+
* - **groupItems**: Defines the list of items against which the user could group data.
|
|
5768
|
+
|
|
5769
|
+
**Note:** If you want to use this slot, you need to import used item: `import "@ui5/webcomponents-fiori/dist/GroupItem.js";`
|
|
5770
|
+
*
|
|
5771
|
+
* @example
|
|
5772
|
+
* ```html
|
|
5773
|
+
* <ui5-view-settings-dialog>
|
|
5774
|
+
* <div slot="header">Custom header content</div>
|
|
5775
|
+
* <p>Default slot content</p>
|
|
5776
|
+
* </ui5-view-settings-dialog>
|
|
5777
|
+
* ```
|
|
5778
|
+
*
|
|
5779
|
+
* @readonly
|
|
5780
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5781
|
+
*/
|
|
5782
|
+
this.slots = [
|
|
5783
|
+
{
|
|
5784
|
+
"name": "sortItems",
|
|
5785
|
+
"description": "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\";`"
|
|
5786
|
+
},
|
|
5787
|
+
{
|
|
5788
|
+
"name": "filterItems",
|
|
5789
|
+
"description": "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\";`"
|
|
5790
|
+
},
|
|
5791
|
+
{
|
|
5792
|
+
"name": "groupItems",
|
|
5793
|
+
"description": "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\";`"
|
|
5794
|
+
}
|
|
5795
|
+
];
|
|
4372
5796
|
this.elementRef = inject(ElementRef);
|
|
4373
5797
|
this.injector = inject(Injector);
|
|
4374
5798
|
}
|
|
@@ -4445,6 +5869,33 @@ class Wizard {
|
|
|
4445
5869
|
or by clicking on the steps within the component header.
|
|
4446
5870
|
*/
|
|
4447
5871
|
this.ui5StepChange = output();
|
|
5872
|
+
/**
|
|
5873
|
+
* Available slots for content projection in this component.
|
|
5874
|
+
*
|
|
5875
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
5876
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
5877
|
+
*
|
|
5878
|
+
* - **(default)**: Defines the steps.
|
|
5879
|
+
|
|
5880
|
+
**Note:** Use the available `ui5-wizard-step` component.
|
|
5881
|
+
*
|
|
5882
|
+
* @example
|
|
5883
|
+
* ```html
|
|
5884
|
+
* <ui5-wizard>
|
|
5885
|
+
* <div slot="header">Custom header content</div>
|
|
5886
|
+
* <p>Default slot content</p>
|
|
5887
|
+
* </ui5-wizard>
|
|
5888
|
+
* ```
|
|
5889
|
+
*
|
|
5890
|
+
* @readonly
|
|
5891
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
5892
|
+
*/
|
|
5893
|
+
this.slots = [
|
|
5894
|
+
{
|
|
5895
|
+
"name": "default",
|
|
5896
|
+
"description": "Defines the steps.\n\n**Note:** Use the available `ui5-wizard-step` component."
|
|
5897
|
+
}
|
|
5898
|
+
];
|
|
4448
5899
|
this.elementRef = inject(ElementRef);
|
|
4449
5900
|
this.injector = inject(Injector);
|
|
4450
5901
|
}
|
|
@@ -4550,6 +6001,31 @@ class WizardStep {
|
|
|
4550
6001
|
and later add new steps when it becomes clear how the wizard flow should continue.
|
|
4551
6002
|
*/
|
|
4552
6003
|
this.branching = input(false, ...(ngDevMode ? [{ debugName: "branching", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
6004
|
+
/**
|
|
6005
|
+
* Available slots for content projection in this component.
|
|
6006
|
+
*
|
|
6007
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
6008
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
6009
|
+
*
|
|
6010
|
+
* - **(default)**: Defines the step content.
|
|
6011
|
+
*
|
|
6012
|
+
* @example
|
|
6013
|
+
* ```html
|
|
6014
|
+
* <ui5-wizard-step>
|
|
6015
|
+
* <div slot="header">Custom header content</div>
|
|
6016
|
+
* <p>Default slot content</p>
|
|
6017
|
+
* </ui5-wizard-step>
|
|
6018
|
+
* ```
|
|
6019
|
+
*
|
|
6020
|
+
* @readonly
|
|
6021
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
6022
|
+
*/
|
|
6023
|
+
this.slots = [
|
|
6024
|
+
{
|
|
6025
|
+
"name": "default",
|
|
6026
|
+
"description": "Defines the step content."
|
|
6027
|
+
}
|
|
6028
|
+
];
|
|
4553
6029
|
this.elementRef = inject(ElementRef);
|
|
4554
6030
|
this.injector = inject(Injector);
|
|
4555
6031
|
}
|
|
@@ -4616,5 +6092,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4616
6092
|
* Generated bundle index. Do not edit.
|
|
4617
6093
|
*/
|
|
4618
6094
|
|
|
4619
|
-
export { BarcodeScannerDialog, DynamicPage, DynamicPageHeader, DynamicPageTitle, DynamicSideContent, FilterItem, FilterItemOption, FlexibleColumnLayout, GenericControlValueAccessor, GroupItem, IllustratedMessage, MediaGallery, MediaGalleryItem, NavigationLayout, NotificationList, NotificationListGroupItem, NotificationListItem, Page, ProductSwitch, ProductSwitchItem, Search, SearchItem, SearchItemGroup, SearchItemShowMore, SearchMessageArea, SearchScope, ShellBar, ShellBarBranding, ShellBarItem, ShellBarSearch, ShellBarSpacer, SideNavigation, SideNavigationGroup, SideNavigationItem, SideNavigationSubItem, SortItem, Timeline, TimelineGroupItem, TimelineItem, Ui5WebcomponentsFioriThemingService, UploadCollection, UploadCollectionItem, UserMenu, UserMenuAccount, UserMenuItem, UserMenuItemGroup, UserSettingsDialog, UserSettingsItem, UserSettingsView, ViewSettingsDialog, Wizard, WizardStep };
|
|
6095
|
+
export { BarcodeScannerDialog, DynamicPage, DynamicPageHeader, DynamicPageTitle, DynamicSideContent, FilterItem, FilterItemOption, FlexibleColumnLayout, GenericControlValueAccessor, GroupItem, IllustratedMessage, MediaGallery, MediaGalleryItem, NavigationLayout, NotificationList, NotificationListGroupItem, NotificationListItem, Page, ProductSwitch, ProductSwitchItem, Search, SearchItem, SearchItemGroup, SearchItemShowMore, SearchMessageArea, SearchScope, ShellBar, ShellBarBranding, ShellBarItem, ShellBarSearch, ShellBarSpacer, SideNavigation, SideNavigationGroup, SideNavigationItem, SideNavigationSubItem, SortItem, Timeline, TimelineGroupItem, TimelineItem, Ui5WebcomponentsFioriThemingService, UploadCollection, UploadCollectionItem, UserMenu, UserMenuAccount, UserMenuItem, UserMenuItemGroup, UserSettingsAccountView, UserSettingsDialog, UserSettingsItem, UserSettingsView, ViewSettingsDialog, Wizard, WizardStep };
|
|
4620
6096
|
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori.mjs.map
|