@leanix/components 0.4.853 → 0.4.855

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.
Files changed (184) hide show
  1. package/fesm2022/leanix-components-ui5.mjs +9 -9
  2. package/fesm2022/leanix-components-ui5.mjs.map +1 -1
  3. package/fesm2022/leanix-components.mjs +483 -485
  4. package/fesm2022/leanix-components.mjs.map +1 -1
  5. package/index.d.ts +5283 -134
  6. package/package.json +10 -10
  7. package/ui5/index.d.ts +88 -8
  8. package/lib/core-ui/components/avatar/avatar.component.d.ts +0 -45
  9. package/lib/core-ui/components/avatar/avatar.helpers.d.ts +0 -8
  10. package/lib/core-ui/components/avatar/avatar.model.d.ts +0 -38
  11. package/lib/core-ui/components/avatar-group/avatar-group.component.d.ts +0 -75
  12. package/lib/core-ui/components/badge/badge.component.d.ts +0 -27
  13. package/lib/core-ui/components/banner/banner.component.d.ts +0 -40
  14. package/lib/core-ui/components/banner/banner.models.d.ts +0 -14
  15. package/lib/core-ui/components/button/button.component.d.ts +0 -87
  16. package/lib/core-ui/components/button-group/button-group.component.d.ts +0 -34
  17. package/lib/core-ui/components/card/card.component.d.ts +0 -26
  18. package/lib/core-ui/components/collapsible/collapsible.component.d.ts +0 -56
  19. package/lib/core-ui/components/counter/counter.component.d.ts +0 -32
  20. package/lib/core-ui/components/ellipsis/ellipsis.component.d.ts +0 -64
  21. package/lib/core-ui/components/empty-state/empty-state.component.d.ts +0 -83
  22. package/lib/core-ui/components/page-header/page-header.component.d.ts +0 -85
  23. package/lib/core-ui/components/skeleton/skeleton.component.d.ts +0 -40
  24. package/lib/core-ui/components/spinner/spinner.component.d.ts +0 -30
  25. package/lib/core-ui/components/stepper/stepper.component.d.ts +0 -76
  26. package/lib/core-ui/components/table/table-header/table-header.component.d.ts +0 -55
  27. package/lib/core-ui/components/table/table.component.d.ts +0 -83
  28. package/lib/core-ui/components/tokenizer/token/token.component.d.ts +0 -26
  29. package/lib/core-ui/components/tokenizer/tokenizer-overflow-popover/tokenizer-overflow-popover.component.d.ts +0 -57
  30. package/lib/core-ui/components/tokenizer/tokenizer.component.d.ts +0 -97
  31. package/lib/core-ui/core-ui.constants.d.ts +0 -16
  32. package/lib/core-ui/core-ui.module.d.ts +0 -72
  33. package/lib/core-ui/directives/after-view-init.directive.d.ts +0 -19
  34. package/lib/core-ui/directives/autoclose-group.service.d.ts +0 -12
  35. package/lib/core-ui/directives/autoclose.directive.d.ts +0 -26
  36. package/lib/core-ui/directives/autofocus.directive.d.ts +0 -13
  37. package/lib/core-ui/functions/core-css.helpers.d.ts +0 -10
  38. package/lib/core-ui/functions/highlight-text.function.d.ts +0 -29
  39. package/lib/core-ui/icon/fa-to-sap-icon.pipe.d.ts +0 -23
  40. package/lib/core-ui/icon/icon-map.d.ts +0 -13
  41. package/lib/core-ui/linkify/linkify.pipe.d.ts +0 -59
  42. package/lib/core-ui/linkify/unlinkify.pipe.d.ts +0 -20
  43. package/lib/core-ui/pipes/br.pipe.d.ts +0 -9
  44. package/lib/core-ui/pipes/contrast-color.pipe.d.ts +0 -7
  45. package/lib/core-ui/pipes/custom-date.pipe.d.ts +0 -28
  46. package/lib/core-ui/pipes/display-avatars.pipe.d.ts +0 -12
  47. package/lib/core-ui/pipes/highlight-range.pipe.d.ts +0 -9
  48. package/lib/core-ui/pipes/highlight-term.pipe.d.ts +0 -23
  49. package/lib/core-ui/pipes/lx-is-uuid.pipe.d.ts +0 -7
  50. package/lib/core-ui/pipes/lx-time-ago.pipe.d.ts +0 -8
  51. package/lib/core-ui/pipes/lx-translate.pipe.d.ts +0 -17
  52. package/lib/core-ui/pipes/markdown.pipe.d.ts +0 -14
  53. package/lib/core-ui/pipes/nbsp.pipe.d.ts +0 -7
  54. package/lib/core-ui/pipes/sort.pipe.d.ts +0 -13
  55. package/lib/core-ui/pipes/translation-after.pipe.d.ts +0 -17
  56. package/lib/core-ui/pipes/translation-before.pipe.d.ts +0 -32
  57. package/lib/core-ui/pipes/translation-between.pipe.d.ts +0 -37
  58. package/lib/core-ui/pipes/unescape-curly-braces.pipe.d.ts +0 -7
  59. package/lib/core-ui/services/resize-observer.service.d.ts +0 -33
  60. package/lib/core-ui/tooltip/to-cdk-position.function.d.ts +0 -3
  61. package/lib/core-ui/tooltip/tooltip-position.interface.d.ts +0 -6
  62. package/lib/core-ui/tooltip/tooltip.component.d.ts +0 -39
  63. package/lib/core-ui/tooltip/tooltip.directive.d.ts +0 -38
  64. package/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.d.ts +0 -127
  65. package/lib/forms-ui/components/basic-dropdown-item/basic-dropdown-item.component.d.ts +0 -53
  66. package/lib/forms-ui/components/breadcrumb/breadcrumb.component.d.ts +0 -48
  67. package/lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component.d.ts +0 -73
  68. package/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.d.ts +0 -49
  69. package/lib/forms-ui/components/currency/currency-input.component.d.ts +0 -113
  70. package/lib/forms-ui/components/currency/currency-symbol-map.constant.d.ts +0 -3
  71. package/lib/forms-ui/components/currency/currency-symbol.component.d.ts +0 -27
  72. package/lib/forms-ui/components/date-input/date-input.component.d.ts +0 -259
  73. package/lib/forms-ui/components/date-picker-ui/date-formatter.d.ts +0 -4
  74. package/lib/forms-ui/components/date-picker-ui/datepicker-inner.component.d.ts +0 -113
  75. package/lib/forms-ui/components/date-picker-ui/datepicker-ui.module.d.ts +0 -9
  76. package/lib/forms-ui/components/date-picker-ui/datepicker.component.d.ts +0 -81
  77. package/lib/forms-ui/components/date-picker-ui/datepicker.config.d.ts +0 -22
  78. package/lib/forms-ui/components/date-picker-ui/daypicker.component.d.ts +0 -23
  79. package/lib/forms-ui/components/date-picker-ui/isBs3.d.ts +0 -1
  80. package/lib/forms-ui/components/date-picker-ui/monthpicker.component.d.ts +0 -20
  81. package/lib/forms-ui/components/date-picker-ui/yearpicker.component.d.ts +0 -20
  82. package/lib/forms-ui/components/drag-and-drop-list/constants.d.ts +0 -4
  83. package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.d.ts +0 -68
  84. package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.d.ts +0 -104
  85. package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.module.d.ts +0 -13
  86. package/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-item/keyboard-sortable-item.directive.d.ts +0 -38
  87. package/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-list/keyboard-sortable-list.directive.d.ts +0 -14
  88. package/lib/forms-ui/components/error-message/error-message.component.d.ts +0 -23
  89. package/lib/forms-ui/components/form-error/form-error.component.d.ts +0 -36
  90. package/lib/forms-ui/components/input/input.component.d.ts +0 -42
  91. package/lib/forms-ui/components/keyboard-select.directive.d.ts +0 -47
  92. package/lib/forms-ui/components/multi-select/multi-select-selection/multi-select-selection.component.d.ts +0 -41
  93. package/lib/forms-ui/components/multi-select/multi-select.component.d.ts +0 -172
  94. package/lib/forms-ui/components/option/option.component.d.ts +0 -81
  95. package/lib/forms-ui/components/option-group/option-group.component.d.ts +0 -36
  96. package/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.d.ts +0 -113
  97. package/lib/forms-ui/components/options-dropdown/options-dropdown.component.d.ts +0 -149
  98. package/lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component.d.ts +0 -48
  99. package/lib/forms-ui/components/picker/picker-trigger.directive.d.ts +0 -19
  100. package/lib/forms-ui/components/picker/picker.component.d.ts +0 -99
  101. package/lib/forms-ui/components/picker-option/picker-option.component.d.ts +0 -78
  102. package/lib/forms-ui/components/pill-item/pill-item.component.d.ts +0 -38
  103. package/lib/forms-ui/components/pill-list/pill-list.component.d.ts +0 -88
  104. package/lib/forms-ui/components/responsive-input/responsive-input.component.d.ts +0 -51
  105. package/lib/forms-ui/components/rich-text-editor/components/rich-text-editor/rich-text-editor.component.d.ts +0 -34
  106. package/lib/forms-ui/components/rich-text-editor/components/rich-text-editor-toolbar/rich-text-editor-toolbar.component.d.ts +0 -49
  107. package/lib/forms-ui/components/rich-text-editor/directives/focus-editor.directive.d.ts +0 -8
  108. package/lib/forms-ui/components/rich-text-editor/directives/tiptap-editor.directive.d.ts +0 -23
  109. package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term-state.plugin.d.ts +0 -8
  110. package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term.directive.d.ts +0 -8
  111. package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term.extension.d.ts +0 -9
  112. package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term.plugin.d.ts +0 -5
  113. package/lib/forms-ui/components/rich-text-editor/extensions/link/components/link-modal/link-modal.component.d.ts +0 -33
  114. package/lib/forms-ui/components/rich-text-editor/extensions/link/link.extension.d.ts +0 -8
  115. package/lib/forms-ui/components/rich-text-editor/extensions/link/link.plugin.d.ts +0 -10
  116. package/lib/forms-ui/components/rich-text-editor/extensions/link/url-validator.directive.d.ts +0 -7
  117. package/lib/forms-ui/components/rich-text-editor/extensions/table/index.d.ts +0 -2
  118. package/lib/forms-ui/components/rich-text-editor/extensions/table/table-bubble-menu/table-bubble-menu.component.d.ts +0 -30
  119. package/lib/forms-ui/components/rich-text-editor/extensions/table/table-extensions.d.ts +0 -4
  120. package/lib/forms-ui/components/rich-text-editor/extensions/table/utils.d.ts +0 -28
  121. package/lib/forms-ui/components/rich-text-editor/extensions/tracking/tracking.directive.d.ts +0 -8
  122. package/lib/forms-ui/components/rich-text-editor/extensions/tracking/tracking.extension.d.ts +0 -10
  123. package/lib/forms-ui/components/rich-text-editor/extensions/tracking/tracking.plugin.d.ts +0 -4
  124. package/lib/forms-ui/components/rich-text-editor/extensions/truncate/index.d.ts +0 -2
  125. package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate-button.component.d.ts +0 -22
  126. package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate.directive.d.ts +0 -9
  127. package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate.extension.d.ts +0 -6
  128. package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate.plugin.d.ts +0 -10
  129. package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/AngularRenderer.d.ts +0 -12
  130. package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/NodeViewRenderer.d.ts +0 -18
  131. package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/editor.directive.d.ts +0 -24
  132. package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/node-view.component.d.ts +0 -27
  133. package/lib/forms-ui/components/rich-text-editor/pipes/extension-enabled.pipe.d.ts +0 -8
  134. package/lib/forms-ui/components/rich-text-editor/pipes/remove-markdown.pipe.d.ts +0 -14
  135. package/lib/forms-ui/components/rich-text-editor/utils/extensions-builder.d.ts +0 -13
  136. package/lib/forms-ui/components/rich-text-editor/utils/features.d.ts +0 -3
  137. package/lib/forms-ui/components/single-select/single-select.component.d.ts +0 -120
  138. package/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.d.ts +0 -47
  139. package/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.d.ts +0 -28
  140. package/lib/forms-ui/components/switch/switch.component.d.ts +0 -57
  141. package/lib/forms-ui/directives/contenteditable.directive.d.ts +0 -28
  142. package/lib/forms-ui/directives/form-error.directive.d.ts +0 -41
  143. package/lib/forms-ui/directives/form-submit.directive.d.ts +0 -12
  144. package/lib/forms-ui/directives/keyboard-action-source.directive.d.ts +0 -16
  145. package/lib/forms-ui/directives/mark-invalid.directive.d.ts +0 -15
  146. package/lib/forms-ui/directives/max-length-counter.directive.d.ts +0 -25
  147. package/lib/forms-ui/directives/select-dropdown.directive.d.ts +0 -23
  148. package/lib/forms-ui/directives/selectable-item.directive.d.ts +0 -14
  149. package/lib/forms-ui/directives/selected-option.directive.d.ts +0 -18
  150. package/lib/forms-ui/forms-ui.module.d.ts +0 -74
  151. package/lib/forms-ui/helpers/key-codes.constants.d.ts +0 -11
  152. package/lib/forms-ui/helpers/keyboard-navigation.helpers.d.ts +0 -12
  153. package/lib/forms-ui/models/base-select.directive.d.ts +0 -75
  154. package/lib/forms-ui/models/dropdown-item.interface.d.ts +0 -5
  155. package/lib/forms-ui/models/single-select-padding.interface.d.ts +0 -1
  156. package/lib/forms-ui/models/sorting.interface.d.ts +0 -5
  157. package/lib/forms-ui/pipes/filter-selection.pipe.d.ts +0 -7
  158. package/lib/forms-ui/pipes/filter-term.pipe.d.ts +0 -10
  159. package/lib/forms-ui/pipes/format-number.pipe.d.ts +0 -23
  160. package/lib/forms-ui/validators/date-in-foreseeable-future.validator.d.ts +0 -11
  161. package/lib/forms-ui/validators/string-not-in-array.validator.d.ts +0 -7
  162. package/lib/modal-ui/components/modal/modal.component.d.ts +0 -119
  163. package/lib/modal-ui/components/modal-footer/modal-footer.component.d.ts +0 -25
  164. package/lib/modal-ui/components/modal-header/modal-header.component.d.ts +0 -29
  165. package/lib/modal-ui/directives/modal-content.directive.d.ts +0 -5
  166. package/lib/modal-ui/modal.constants.d.ts +0 -17
  167. package/lib/popover-ui/components/popover/popover.component.d.ts +0 -116
  168. package/lib/popover-ui/directives/popover-click.directive.d.ts +0 -23
  169. package/lib/popover-ui/directives/popover-content.directive.d.ts +0 -8
  170. package/lib/popover-ui/directives/popover-hover.directive.d.ts +0 -38
  171. package/lib/shared/date-helpers.d.ts +0 -16
  172. package/lib/shared/html-helpers.function.d.ts +0 -2
  173. package/lib/shared/json.helpers.d.ts +0 -7
  174. package/lib/shared/misc-helpers.d.ts +0 -8
  175. package/lib/shared/observe.d.ts +0 -8
  176. package/lib/shared/storybook.helpers.d.ts +0 -12
  177. package/lib/tab-ui/components/tab/tab.component.d.ts +0 -120
  178. package/lib/tab-ui/components/tab-group/tab-group-key-codes.enum.d.ts +0 -10
  179. package/lib/tab-ui/components/tab-group/tab-group.component.d.ts +0 -73
  180. package/ui5/components/breadcrumbs-item.component.d.ts +0 -22
  181. package/ui5/components/breadcrumbs.component.d.ts +0 -29
  182. package/ui5/icons/register-icons.d.ts +0 -4
  183. package/ui5/ui5.provider.d.ts +0 -15
  184. package/ui5/utils/get-outer-html-with-shadow-dom.d.ts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.853",
3
+ "version": "0.4.855",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  "directory": "libs/components"
10
10
  },
11
11
  "dependencies": {
12
- "@ncstate/sat-popover": "14.1.0",
12
+ "@ncstate/sat-popover": "15.0.0",
13
13
  "@tiptap/core": "2.7.0",
14
14
  "@tiptap/extension-bold": "2.6.6",
15
15
  "@tiptap/extension-bubble-menu": "2.6.6",
@@ -50,18 +50,18 @@
50
50
  "lodash": "4.18.1",
51
51
  "lodash-es": "4.18.1",
52
52
  "marked": "4.0.10",
53
- "ngx-infinite-scroll": "19.0.0",
53
+ "ngx-infinite-scroll": "20.0.0",
54
54
  "tiptap-markdown": "0.8.10",
55
55
  "tslib": "^2.3.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@angular/animations": "19.2.18",
59
- "@angular/cdk": "19.2.18",
60
- "@angular/common": "19.2.18",
61
- "@angular/core": "19.2.18",
62
- "@angular/forms": "19.2.18",
63
- "@angular/platform-browser": "19.2.18",
64
- "@angular/router": "19.2.18",
58
+ "@angular/animations": "20.3.9",
59
+ "@angular/cdk": "20.2.9",
60
+ "@angular/common": "20.3.9",
61
+ "@angular/core": "20.3.9",
62
+ "@angular/forms": "20.3.9",
63
+ "@angular/platform-browser": "20.3.9",
64
+ "@angular/router": "20.3.9",
65
65
  "@ngx-translate/core": "16.0.4",
66
66
  "rxjs": "7.8.1"
67
67
  },
package/ui5/index.d.ts CHANGED
@@ -1,10 +1,90 @@
1
- /**
2
- * All UI5-related components / directives supported by the SAP LeanIX Design System.
3
- */
4
- export * from './ui5.provider';
1
+ import * as i0 from '@angular/core';
5
2
  export { BusyIndicatorComponent } from '@ui5/webcomponents-ngx/main/busy-indicator';
6
3
  export { IconComponent } from '@ui5/webcomponents-ngx/main/icon';
7
- export type { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs.js';
8
- export { BreadcrumbsItemComponent } from './components/breadcrumbs-item.component';
9
- export { BreadcrumbsComponent } from './components/breadcrumbs.component';
10
- export { getOuterHtmlWithShadowDom } from './utils/get-outer-html-with-shadow-dom';
4
+ import { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs.js';
5
+ export { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs.js';
6
+ import * as _angular_router from '@angular/router';
7
+ import { BreadcrumbsItemComponent as BreadcrumbsItemComponent$1 } from '@ui5/webcomponents-ngx/main/breadcrumbs-item';
8
+ import { BreadcrumbsComponent as BreadcrumbsComponent$1 } from '@ui5/webcomponents-ngx/main/breadcrumbs';
9
+
10
+ /**
11
+ * Sets up providers necessary to use UI5 components in the application.
12
+ *
13
+ * @usageNotes
14
+ *
15
+ * Basic example of how you can add UI5 to your application:
16
+ * ```ts
17
+ * import { provideUi5 } from '@leanix/components/ui5';
18
+ *
19
+ * bootstrapApplication(AppComponent, {
20
+ * providers: [provideUi5()]
21
+ * });
22
+ * ```
23
+ */
24
+ declare const provideUi5: () => i0.EnvironmentProviders;
25
+
26
+ /**
27
+ * This component extends the `ui5-breadcrumbs-item` component from `@ui5/webcomponents-ngx`.
28
+ * This extension is needed for Angular versions before 20 to sync Angular's `RouterLink` directive
29
+ * with the `href` attribute of the `ui5-breadcrumbs-item`.
30
+ *
31
+ * **Why?** Support for custom elements in the `RouterLink` directive was added in Angular 20.
32
+ * For older versions, this component allows using the `RouterLink` on a `ui5-breadcrumb-item`.
33
+ *
34
+ * @see https://github.com/angular/angular/commit/ff98ccb19391ed4e04528b82771c04ad67067d68
35
+ *
36
+ */
37
+ declare class BreadcrumbsItemComponent extends BreadcrumbsItemComponent$1 {
38
+ private readonly router;
39
+ private readonly routerLinkInstance;
40
+ private readonly locationStrategy;
41
+ readonly routerLink: i0.InputSignal<string | readonly any[] | _angular_router.UrlTree | null | undefined>;
42
+ readonly updateBreadcrumbHref: i0.EffectRef;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsItemComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsItemComponent, "ui5-breadcrumbs-item", never, { "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
45
+ }
46
+
47
+ /**
48
+ * Enables users to navigate between items by providing a list of links to previous steps in the user's navigation path.
49
+ *
50
+ * It helps the user to be aware of their location within the application and allows faster navigation.
51
+ *
52
+ * This component extends the `ui5-breadcrumbs` component from `@ui5/webcomponents-ngx`.
53
+ * See the [UI5 Breadcrumb documentation](https://ui5.github.io/webcomponents/components/Breadcrumbs) for more info.
54
+ *
55
+ * This extension allows using the `RouterLink` directive on `ui5-breadcrumbs-item` components.
56
+ *
57
+ * @example ```html
58
+ * <ui5-breadcrumbs>
59
+ * <ui5-breadcrumbs-item routerLink="/inventory">Inventory</ui5-breadcrumbs-item>
60
+ * <ui5-breadcrumbs-item routerLink="/inventory/agile-tracking">Agile Tracking</ui5-breadcrumbs-item>
61
+ * <ui5-breadcrumbs-item routerLink="/inventory/agile-tracking/settings">Settings</ui5-breadcrumbs-item>
62
+ * </ui5-breadcrumbs>
63
+ * ```
64
+ */
65
+ declare class BreadcrumbsComponent extends BreadcrumbsComponent$1 {
66
+ /**
67
+ * @internal
68
+ */
69
+ onClick(event: CustomEvent<BreadcrumbsItemClickEventDetail>): void;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "ui5-breadcrumbs", never, {}, {}, never, ["*"], true, never>;
72
+ }
73
+
74
+ /**
75
+ *
76
+ * A replacement for `HTMLElement.outerHTML`, but works with web components shadow DOM.
77
+ * Returns a string of outer HTML of a DOM node, inlining shadow DOM for web components.
78
+ * (@see TRAVERSED_ELEMENTS_SELECTOR for the list of supported web components.)
79
+ *
80
+ *
81
+ * @description
82
+ * Solves the problem of getting the full HTML structure of web components,
83
+ * as `element.outerHTML` does not include shadow DOM.
84
+ * This function inlines shadow DOM into a <template> tag inside the component root.
85
+ * It helps to keep the shadow DOM structure and preserve style encapsulation.
86
+ * Also includes whitelisted styles from computed styles into the component root as inline styles (@see WEB_COMPONENT_STYLE_PROPERTIES_WHITELIST).
87
+ */
88
+ declare function getOuterHtmlWithShadowDom(rootNode: HTMLElement): string;
89
+
90
+ export { BreadcrumbsComponent, BreadcrumbsItemComponent, getOuterHtmlWithShadowDom, provideUi5 };
@@ -1,45 +0,0 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
- import { ImageReader, User, UserAvatarSize } from './avatar.model';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Avatar component displays a user's profile picture or a placeholder icon for technical users.
6
- * Optionally includes a mailto link when an email is provided.
7
- *
8
- * ### Example
9
- * @example
10
- * ```html
11
- * <lx-avatar [user]="currentUser" size="M" />
12
- * <lx-avatar [user]="{ displayName: 'Bot', technicalUser: true }" [showMailToLink]="false" />
13
- * <lx-avatar [user]="inactiveUser" [disabled]="true" size="S" />
14
- * ```
15
- */
16
- export declare class AvatarComponent implements OnChanges {
17
- private imageReader;
18
- /**
19
- * The user object containing display name, email, and optional technicalUser flag.
20
- */
21
- user: User & {
22
- technicalUser?: boolean;
23
- };
24
- /**
25
- * The size of the avatar.
26
- * @default 'M'
27
- */
28
- size: UserAvatarSize;
29
- /**
30
- * Whether to show a mailto link when clicking on the avatar.
31
- * @default true
32
- */
33
- showMailToLink: boolean;
34
- /**
35
- * Whether the avatar should appear in a disabled state.
36
- * @default false
37
- */
38
- disabled: boolean;
39
- readonly NAME = "AvatarComponent";
40
- imageURL: Promise<string>;
41
- constructor(imageReader: ImageReader);
42
- ngOnChanges(changes: SimpleChanges): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "lx-avatar", never, { "user": { "alias": "user"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showMailToLink": { "alias": "showMailToLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
45
- }
@@ -1,8 +0,0 @@
1
- import { UserAvatarSize } from './avatar.model';
2
- /**
3
- * Generates an SVG for the avatar initials
4
- * @param displayName The name of the user
5
- * @param size The size of the avatar
6
- * @returns A promise with the data URL of the generated SVG
7
- */
8
- export declare function getInitialsUrl(displayName: string, size?: UserAvatarSize): Promise<string>;
@@ -1,38 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- /** This is a temporary storage for our user and image related models, before we find a better place for them
4
- *
5
- * We relocated the models here to facilitate moving the avatar and avatar group components out of the user-ui directory.
6
- *
7
- * This ensures we maintain a single source of truth and adhere to the current strict no-shared-nx policy, since all
8
- * libraries and apps already support importing from `@leanix/components` already.
9
- */
10
- export type UserAvatarSize = 'XS' | 'S' | 'M' | 'L' | 'XL';
11
- export interface ImageReader {
12
- getAvatar(userId?: string, size?: UserAvatarSize, displayName?: string): Promise<string>;
13
- getAvatarUrl(userId?: string, size?: UserAvatarSize): string;
14
- getStorageServiceAvatarUrl(userId?: string, size?: UserAvatarSize): string;
15
- getThumbnailUrl(imageId: string): string;
16
- loadThumbnail(imageId: string): Observable<string>;
17
- }
18
- export declare const IMAGE_READER: InjectionToken<ImageReader>;
19
- export declare const DEFAULT_IMAGE_ID = "00000000-0000-4000-0000-000000000001";
20
- /**
21
- * This User model includes common properties that the ui avatar components care about in order to respresent a user
22
- * in the UI.
23
- */
24
- export interface User {
25
- id?: string;
26
- displayName?: string;
27
- email?: string;
28
- firstName?: string;
29
- lastName?: string;
30
- }
31
- export declare const AVATAR_SIZE_MAPPING: {
32
- XS: number;
33
- S: number;
34
- M: number;
35
- L: number;
36
- XL: number;
37
- };
38
- export declare const AVATAR_COLORS: string[];
@@ -1,75 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
2
- import { ResizeObserverService } from '../../services/resize-observer.service';
3
- import { User, UserAvatarSize } from '../avatar/avatar.model';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Avatar group component displays multiple user avatars in a compact layout.
7
- * Supports automatic overflow handling with a "+N" indicator and overlay expansion.
8
- * Includes tooltip showing all user names on hover and click-to-expand functionality.
9
- *
10
- * ### Example
11
- * @example
12
- * ```html
13
- * <lx-avatar-group [users]="teamMembers" size="M" />
14
- * <lx-avatar-group [users]="assignees" type="individual" [maxLength]="5" />
15
- * <lx-avatar-group
16
- * [users]="participants"
17
- * [title]="'Project Team'"
18
- * [disabledUserIds]="inactiveUserIds"
19
- * [autoScale]="true"
20
- * />
21
- * ```
22
- */
23
- export declare class AvatarGroupComponent implements AfterViewInit, OnDestroy {
24
- private cdr;
25
- private zone;
26
- private resizeObserverService;
27
- readonly NAME = "AvatarGroupComponent";
28
- /**
29
- * Optional title displayed in the expanded overlay.
30
- */
31
- title?: string;
32
- /**
33
- * Array of user objects to display as avatars.
34
- * @default []
35
- */
36
- users: (User & {
37
- technicalUser?: boolean;
38
- })[];
39
- /**
40
- * The size of all avatars in the group.
41
- * @default 'M'
42
- */
43
- size: UserAvatarSize;
44
- /**
45
- * The display type: 'individual' for separate avatars or 'group' for overlapping.
46
- * @default 'group'
47
- */
48
- type: 'individual' | 'group';
49
- /**
50
- * Maximum number of avatars to display before showing "+N" indicator.
51
- * @default 0
52
- */
53
- maxLength: number;
54
- /**
55
- * Whether to automatically scale down avatars to fit container width.
56
- * @default false
57
- */
58
- autoScale: boolean;
59
- /**
60
- * Array of user IDs that should be displayed in a disabled state.
61
- * @default []
62
- */
63
- disabledUserIds: string[];
64
- userGroupElement: ElementRef<HTMLElement>;
65
- get userNames(): string;
66
- overlayVisible: boolean;
67
- constructor(cdr: ChangeDetectorRef, zone: NgZone, resizeObserverService: ResizeObserverService);
68
- ngAfterViewInit(): void;
69
- handleClick(event: Event): void;
70
- ngOnDestroy(): void;
71
- isUserDisabled(user: User): boolean;
72
- userTrackBy(index: number, user: User): string | number;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupComponent, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarGroupComponent, "lx-avatar-group", never, { "title": { "alias": "title"; "required": false; }; "users": { "alias": "users"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autoScale": { "alias": "autoScale"; "required": false; }; "disabledUserIds": { "alias": "disabledUserIds"; "required": false; }; }, {}, never, never, true, never>;
75
- }
@@ -1,27 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Badge component is used to show a small piece of information in a colored badge.
4
- * Commonly used for status indicators, counts, or labels.
5
- *
6
- * ### Example
7
- * @example
8
- * ```html
9
- * <lx-badge [content]="42" color="blue" />
10
- * <lx-badge [content]="'New'" color="green" />
11
- * <lx-badge [content]="errorCount" color="red" />
12
- * ```
13
- */
14
- export declare class BadgeComponent {
15
- /**
16
- * The content to show in the badge
17
- */
18
- content: string | number;
19
- /**
20
- * The color of the badge component
21
- * @default 'blue'
22
- */
23
- color: 'blue' | 'gray' | 'red' | 'yellow' | 'green' | 'purple' | 'white';
24
- get colorClass(): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "lx-badge", never, { "content": { "alias": "content"; "required": true; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
27
- }
@@ -1,40 +0,0 @@
1
- import { BannerSizes, BannerTypes } from './banner.models';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Banner can be used to display important information to the user. It allows for any type of content to be displayed in a banner.
5
- * Banners automatically display an icon based on the type when using the 'big' size.
6
- *
7
- * ### Projection slots
8
- * - Default slot: Main content of the banner (text, links, actions)
9
- *
10
- * ### Example
11
- * @example
12
- * ```html
13
- * <lx-banner [type]="'warning'" [size]="'big'">
14
- * <p>Your session will expire in 5 minutes.</p>
15
- * </lx-banner>
16
- *
17
- * <lx-banner [type]="'success'" [size]="'small'">
18
- * Changes saved successfully!
19
- * </lx-banner>
20
- * ```
21
- */
22
- export declare class BannerComponent {
23
- /**
24
- * The type of the banner
25
- * @default BANNER_TYPE.WARNING
26
- */
27
- readonly type: import("@angular/core").InputSignal<BannerTypes>;
28
- /**
29
- * The size of the banner
30
- * @default BANNER_SIZE.BIG
31
- */
32
- readonly size: import("@angular/core").InputSignal<BannerSizes>;
33
- protected readonly showIcon: import("@angular/core").Signal<boolean>;
34
- protected readonly iconName: import("@angular/core").Signal<string>;
35
- protected readonly iconDesign: import("@angular/core").Signal<"Contrast" | "Critical" | "Default" | "Information" | "Negative" | "Neutral" | "NonInteractive" | "Positive">;
36
- private getIconName;
37
- private getIconDesign;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "lx-banner", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
40
- }
@@ -1,14 +0,0 @@
1
- type ObjectValues<T> = T[keyof T];
2
- export declare const BANNER_TYPE: {
3
- readonly SUCCESS: "success";
4
- readonly INFO: "info";
5
- readonly WARNING: "warning";
6
- readonly DANGER: "danger";
7
- };
8
- export type BannerTypes = ObjectValues<typeof BANNER_TYPE>;
9
- export declare const BANNER_SIZE: {
10
- readonly BIG: "big";
11
- readonly SMALL: "small";
12
- };
13
- export type BannerSizes = ObjectValues<typeof BANNER_SIZE>;
14
- export {};
@@ -1,87 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Button component is used to create a button with different styles and sizes. This uses native button element and
4
- * only provides styling and some additional features like loading spinner.
5
- *
6
- * ### Projection slots
7
- * - Default slot: Button label or content
8
- *
9
- * ### Example
10
- * @example
11
- * ```html
12
- * <button lx-button color="primary" size="medium">Save</button>
13
- * <button lx-button icon="delete" color="danger" mode="outline">Delete</button>
14
- * <button lx-button [showSpinner]="isLoading" [disabled]="isLoading">Submit</button>
15
- * <button lx-button icon="download" endIcon="slim-arrow-down" mode="ghost">Export</button>
16
- * <button lx-button icon="action-settings" [square]="true" [circle]="true" mode="ghost"></button>
17
- * ```
18
- */
19
- export declare class ButtonComponent {
20
- /**
21
- * The size of the button.
22
- * @default 'medium'
23
- */
24
- size: 'small' | 'medium' | 'large' | 'auto';
25
- /**
26
- * The color of the button.
27
- * @default 'default'
28
- */
29
- color: 'default' | 'primary' | 'danger' | 'success' | 'light';
30
- /**
31
- * The mode of the button.
32
- * @default 'solid'
33
- */
34
- mode: 'solid' | 'ghost' | 'outline' | 'link';
35
- /**
36
- * The pressed state of the button. This simulates the `:active` state of the button.
37
- * @default false
38
- */
39
- pressed: boolean;
40
- /**
41
- * The selected state of the button. This simulates the `:hover` state of the button.
42
- * @default false
43
- */
44
- selected: boolean;
45
- /**
46
- * This makes the button square.
47
- * @default false
48
- */
49
- square: boolean;
50
- /**
51
- * This makes corners rounded. Use with `square` for a true circle.
52
- * @default false
53
- */
54
- circle: boolean;
55
- /**
56
- * This disables the button.
57
- * @default false
58
- */
59
- disabled: boolean;
60
- get hasIcon(): boolean;
61
- /**
62
- * The SAP icon to display inside the button.
63
- * It is displayed before any additional content.
64
- *
65
- * @default undefined
66
- * @example
67
- * <button lx-button icon="decline">Close</button>
68
- */
69
- readonly icon: import("@angular/core").InputSignal<string | undefined>;
70
- /**
71
- * The SAP icon to display inside the button.
72
- * It is displayed after any additional content.
73
- *
74
- * @default undefined
75
- * @example
76
- * <button lx-button endIcon="decline">Close</button>
77
- */
78
- readonly endIcon: import("@angular/core").InputSignal<string | undefined>;
79
- /**
80
- * This shows a spinner inside the button.
81
- * @default false
82
- */
83
- showSpinner: boolean;
84
- get isDisabled(): boolean;
85
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[lx-button]", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "pressed": { "alias": "pressed"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "square": { "alias": "square"; "required": false; }; "circle": { "alias": "circle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "endIcon": { "alias": "endIcon"; "required": false; "isSignal": true; }; "showSpinner": { "alias": "showSpinner"; "required": false; }; }, {}, never, ["*"], true, never>;
87
- }
@@ -1,34 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Button group component arranges multiple buttons in a horizontal layout with configurable separators.
4
- * Use 'margin' for spaced buttons or 'border' for connected buttons with dividing lines.
5
- *
6
- * ### Projection slots
7
- * - Default slot: Button elements to display in the group
8
- *
9
- * ### Example
10
- * @example
11
- * ```html
12
- * <lx-button-group separator="margin">
13
- * <button lx-button color="primary">Save</button>
14
- * <button lx-button>Cancel</button>
15
- * </lx-button-group>
16
- *
17
- * <lx-button-group separator="border">
18
- * <button lx-button mode="outline">View</button>
19
- * <button lx-button mode="outline">Edit</button>
20
- * <button lx-button mode="outline">Delete</button>
21
- * </lx-button-group>
22
- * ```
23
- */
24
- export declare class ButtonGroupComponent {
25
- /**
26
- * The type of separator between buttons: 'margin' for spacing or 'border' for dividing lines.
27
- * @default 'margin'
28
- */
29
- separator: 'margin' | 'border';
30
- get hasMarginSeperator(): boolean;
31
- get hasBorderSeparator(): boolean;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "lx-button-group", never, { "separator": { "alias": "separator"; "required": false; }; }, {}, never, ["*"], true, never>;
34
- }
@@ -1,26 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * A simple container component for displaying content in a card-like style.
4
- * Provides consistent styling and layout for grouped content.
5
- *
6
- * ### Projection slots
7
- * - Default slot: All card content including title, body, and any other elements
8
- *
9
- * ### Example
10
- * @example
11
- * ```html
12
- * <lx-card [dataStyle]="'white'">
13
- * <h3>Card Title</h3>
14
- * <p>Card content goes here.</p>
15
- * </lx-card>
16
- * ```
17
- */
18
- export declare class CardComponent {
19
- /**
20
- * The visual style variant of the card.
21
- * @default 'white'
22
- */
23
- dataStyle: 'white';
24
- static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "lx-card", never, { "dataStyle": { "alias": "dataStyle"; "required": false; }; }, {}, never, ["*"], true, never>;
26
- }
@@ -1,56 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ButtonComponent } from '../button/button.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * An expandable and collapsible section container with a toggle button.
6
- * Useful for organizing content that can be shown or hidden on demand.
7
- *
8
- * ### Projection slots
9
- * - Default slot: The title or header content that is always visible. The entire component is clickable to toggle.
10
- *
11
- * ### Example
12
- * @example
13
- * ```html
14
- * <lx-collapsible [toggleTitle]="'Show Details'" [(collapsed)]="isCollapsed">
15
- * <h3>Section Title</h3>
16
- * <span class="subtitle">Additional info</span>
17
- * </lx-collapsible>
18
- * ```
19
- */
20
- export declare class CollapsibleComponent {
21
- readonly NAME = "CollapsibleComponent";
22
- /**
23
- * When true, prevents the section from being toggled. The toggle button remains visible but disabled.
24
- * @default false
25
- */
26
- disableSectionToggle: boolean;
27
- /**
28
- * When true, hides the toggle button entirely. The section cannot be collapsed/expanded.
29
- * @default false
30
- */
31
- hideSectionToggle: boolean;
32
- /**
33
- * Size of the toggle button (arrow icon).
34
- * @default 'small'
35
- */
36
- toggleSize: ButtonComponent['size'];
37
- /**
38
- * Text label displayed as the title attribute of the toggle button for accessibility.
39
- * @default ''
40
- */
41
- toggleTitle: string;
42
- /**
43
- * Whether the section is currently collapsed. Can be used with two-way binding.
44
- * @default false
45
- */
46
- collapsed: boolean;
47
- /**
48
- * Emitted when the collapsed state changes, either through user interaction or programmatic changes.
49
- */
50
- collapsedChange: EventEmitter<boolean>;
51
- get notClickable(): boolean;
52
- onClick(event: MouseEvent): void;
53
- onToggleSection(event: MouseEvent): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleComponent, "lx-collapsible", never, { "disableSectionToggle": { "alias": "disableSectionToggle"; "required": false; }; "hideSectionToggle": { "alias": "hideSectionToggle"; "required": false; }; "toggleSize": { "alias": "toggleSize"; "required": false; }; "toggleTitle": { "alias": "toggleTitle"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "collapsedChange": "collapsedChange"; }, never, ["*"], true, never>;
56
- }
@@ -1,32 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Counter component is used to create a counter with different styles and sizes.
4
- * Useful for displaying notification counts, item quantities, or numeric indicators.
5
- *
6
- * ### Example
7
- * @example
8
- * ```html
9
- * <lx-counter [content]="5" color="primary" size="default" />
10
- * <lx-counter [content]="99" color="red" size="small" />
11
- * <lx-counter [content]="unreadCount" color="green" />
12
- * ```
13
- */
14
- export declare class CounterComponent {
15
- /**
16
- * The content of the counter.
17
- */
18
- content?: string | number;
19
- /**
20
- * The size of the counter.
21
- * @default 'default'
22
- */
23
- size: 'default' | 'small';
24
- /**
25
- * The color of the counter.
26
- * @default 'primary'
27
- */
28
- color: 'primary' | 'gray' | 'darkgray' | 'red' | 'yellow' | 'green';
29
- get classes(): string;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<CounterComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<CounterComponent, "lx-counter", never, { "content": { "alias": "content"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
32
- }