@siemens/element-ng 47.1.0-next.3 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.d.ts +9 -0
- package/accordion/package.json +3 -0
- package/accordion/si-accordion-hcollapse.service.d.ts +17 -0
- package/accordion/si-accordion.component.d.ts +37 -0
- package/accordion/si-accordion.module.d.ts +8 -0
- package/accordion/si-accordion.service.d.ts +17 -0
- package/accordion/si-collapsible-panel.component.d.ts +89 -0
- package/action-modal/index.d.ts +6 -0
- package/action-modal/package.json +3 -0
- package/action-modal/si-action-dialog.service.d.ts +49 -0
- package/action-modal/si-action-dialog.types.d.ts +92 -0
- package/action-modal/si-alert-dialog/si-alert-dialog.component.d.ts +32 -0
- package/action-modal/si-confirmation-dialog/si-confirmation-dialog.component.d.ts +40 -0
- package/action-modal/si-delete-confirmation-dialog/si-delete-confirmation-dialog.component.d.ts +45 -0
- package/action-modal/si-edit-discard-dialog/si-edit-discard-dialog.component.d.ts +68 -0
- package/auto-collapsable-list/index.d.ts +10 -0
- package/auto-collapsable-list/package.json +3 -0
- package/auto-collapsable-list/si-auto-collapsable-list-additional-content.directive.d.ts +6 -0
- package/auto-collapsable-list/si-auto-collapsable-list-item.directive.d.ts +29 -0
- package/auto-collapsable-list/si-auto-collapsable-list-measurable.class.d.ts +16 -0
- package/auto-collapsable-list/si-auto-collapsable-list-overflow-item.directive.d.ts +12 -0
- package/auto-collapsable-list/si-auto-collapsable-list.directive.d.ts +47 -0
- package/auto-collapsable-list/si-auto-collapsable-list.module.d.ts +10 -0
- package/color-picker/index.d.ts +5 -0
- package/color-picker/package.json +3 -0
- package/color-picker/si-color-picker.component.d.ts +61 -0
- package/common/models/menu.model.d.ts +2 -2
- package/connection-strength/index.d.ts +6 -0
- package/connection-strength/package.json +3 -0
- package/connection-strength/si-connection-strength.component.d.ts +19 -0
- package/connection-strength/si-connection-strength.module.d.ts +7 -0
- package/copyright-notice/index.d.ts +7 -0
- package/copyright-notice/package.json +3 -0
- package/copyright-notice/si-copyright-notice.component.d.ts +18 -0
- package/copyright-notice/si-copyright-notice.d.ts +23 -0
- package/copyright-notice/si-copyright-notice.module.d.ts +7 -0
- package/empty-state/index.d.ts +6 -0
- package/empty-state/package.json +3 -0
- package/empty-state/si-empty-state.component.d.ts +18 -0
- package/empty-state/si-empty-state.module.d.ts +7 -0
- package/fesm2022/siemens-element-ng-accordion.mjs +314 -0
- package/fesm2022/siemens-element-ng-accordion.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-action-modal.mjs +363 -0
- package/fesm2022/siemens-element-ng-action-modal.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs +312 -0
- package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-color-picker.mjs +176 -0
- package/fesm2022/siemens-element-ng-color-picker.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-connection-strength.mjs +58 -0
- package/fesm2022/siemens-element-ng-connection-strength.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-copyright-notice.mjs +71 -0
- package/fesm2022/siemens-element-ng-copyright-notice.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-empty-state.mjs +59 -0
- package/fesm2022/siemens-element-ng-empty-state.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-footer.mjs +55 -0
- package/fesm2022/siemens-element-ng-footer.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-icon.mjs +8 -1
- package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-inline-notification.mjs +82 -0
- package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-loading-spinner.mjs +248 -0
- package/fesm2022/siemens-element-ng-loading-spinner.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-menu.mjs +350 -0
- package/fesm2022/siemens-element-ng-menu.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-modal.mjs +345 -0
- package/fesm2022/siemens-element-ng-modal.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-navbar.mjs +386 -0
- package/fesm2022/siemens-element-ng-navbar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-pagination.mjs +145 -0
- package/fesm2022/siemens-element-ng-pagination.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-password-toggle.mjs +88 -0
- package/fesm2022/siemens-element-ng-password-toggle.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-summary-chip.mjs +77 -0
- package/fesm2022/siemens-element-ng-summary-chip.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-tooltip.mjs +233 -0
- package/fesm2022/siemens-element-ng-tooltip.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
- package/footer/index.d.ts +6 -0
- package/footer/package.json +3 -0
- package/footer/si-footer.component.d.ts +14 -0
- package/footer/si-footer.module.d.ts +7 -0
- package/icon/element-icons.d.ts +7 -0
- package/inline-notification/index.d.ts +6 -0
- package/inline-notification/package.json +3 -0
- package/inline-notification/si-inline-notification.component.d.ts +42 -0
- package/inline-notification/si-inline-notification.module.d.ts +7 -0
- package/loading-spinner/index.d.ts +9 -0
- package/loading-spinner/package.json +3 -0
- package/loading-spinner/si-loading-button.component.d.ts +31 -0
- package/loading-spinner/si-loading-spinner.component.d.ts +32 -0
- package/loading-spinner/si-loading-spinner.directive.d.ts +36 -0
- package/loading-spinner/si-loading-spinner.module.d.ts +8 -0
- package/loading-spinner/si-loading-spinner.service.d.ts +18 -0
- package/menu/index.d.ts +15 -0
- package/menu/package.json +3 -0
- package/menu/si-menu-action.service.d.ts +13 -0
- package/menu/si-menu-bar.directive.d.ts +12 -0
- package/menu/si-menu-divider.directive.d.ts +5 -0
- package/menu/si-menu-factory-item-guard.directive.d.ts +11 -0
- package/menu/si-menu-factory.component.d.ts +15 -0
- package/menu/si-menu-header.directive.d.ts +5 -0
- package/menu/si-menu-item-base.directive.d.ts +16 -0
- package/menu/si-menu-item-checkbox.component.d.ts +10 -0
- package/menu/si-menu-item-radio.component.d.ts +10 -0
- package/menu/si-menu-item.component.d.ts +10 -0
- package/menu/si-menu-model.d.ts +91 -0
- package/menu/si-menu.directive.d.ts +6 -0
- package/menu/si-menu.module.d.ts +14 -0
- package/modal/index.d.ts +7 -0
- package/modal/modal.helpers.d.ts +8 -0
- package/modal/modalref.d.ts +64 -0
- package/modal/package.json +3 -0
- package/modal/si-modal.component.d.ts +32 -0
- package/modal/si-modal.service.d.ts +57 -0
- package/navbar/account.model.d.ts +39 -0
- package/navbar/index.d.ts +8 -0
- package/navbar/package.json +3 -0
- package/navbar/si-navbar-item/index.d.ts +5 -0
- package/navbar/si-navbar-item/si-navbar-item.component.d.ts +29 -0
- package/navbar/si-navbar-primary/index.d.ts +6 -0
- package/navbar/si-navbar-primary/si-navbar-primary.component.d.ts +198 -0
- package/navbar/si-navbar-primary/si-navbar-primary.model.d.ts +34 -0
- package/navbar/si-navbar.module.d.ts +9 -0
- package/package.json +71 -3
- package/pagination/index.d.ts +6 -0
- package/pagination/package.json +3 -0
- package/pagination/si-pagination.component.d.ts +65 -0
- package/pagination/si-pagination.module.d.ts +7 -0
- package/password-toggle/index.d.ts +6 -0
- package/password-toggle/package.json +3 -0
- package/password-toggle/si-password-toggle.component.d.ts +39 -0
- package/password-toggle/si-password-toggle.module.d.ts +7 -0
- package/summary-chip/index.d.ts +5 -0
- package/summary-chip/package.json +3 -0
- package/summary-chip/si-summary-chip.component.d.ts +44 -0
- package/template-i18n.json +33 -0
- package/tooltip/index.d.ts +7 -0
- package/tooltip/package.json +3 -0
- package/tooltip/si-tooltip.component.d.ts +25 -0
- package/tooltip/si-tooltip.directive.d.ts +45 -0
- package/tooltip/si-tooltip.module.d.ts +7 -0
- package/tooltip/si-tooltip.service.d.ts +44 -0
- package/translate/si-translatable-keys.interface.d.ts +22 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"siemens-element-ng-tooltip.mjs","sources":["../../../../projects/element-ng/tooltip/si-tooltip.component.ts","../../../../projects/element-ng/tooltip/si-tooltip.component.html","../../../../projects/element-ng/tooltip/si-tooltip.service.ts","../../../../projects/element-ng/tooltip/si-tooltip.directive.ts","../../../../projects/element-ng/tooltip/si-tooltip.module.ts","../../../../projects/element-ng/tooltip/index.ts","../../../../projects/element-ng/tooltip/siemens-element-ng-tooltip.ts"],"sourcesContent":["/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nimport { ConnectedOverlayPositionChange } from '@angular/cdk/overlay';\nimport { NgClass, NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n computed,\n ElementRef,\n inject,\n input,\n signal,\n TemplateRef,\n Type\n} from '@angular/core';\nimport { calculateOverlayArrowPosition, OverlayArrowPosition } from '@siemens/element-ng/common';\nimport { SiTranslateModule, TranslatableString } from '@siemens/element-translate-ng/translate';\n\n@Component({\n selector: 'si-tooltip',\n templateUrl: './si-tooltip.component.html',\n imports: [NgClass, NgTemplateOutlet, SiTranslateModule, NgComponentOutlet]\n})\nexport class TooltipComponent {\n /** @defaultValue '' */\n readonly tooltip = input<TranslatableString | TemplateRef<any> | Type<any>>('');\n\n protected readonly tooltipPositionClass = signal('');\n protected readonly arrowPos = signal<OverlayArrowPosition | undefined>(undefined);\n /** @internal */\n readonly id = input('');\n\n private elementRef = inject(ElementRef);\n\n protected readonly tooltipText = computed<string | null>(() => {\n const tooltip = this.tooltip();\n return typeof tooltip === 'string' ? tooltip : null;\n });\n\n protected readonly tooltipTemplate = computed<TemplateRef<any> | null>(() => {\n const tooltip = this.tooltip();\n return tooltip instanceof TemplateRef ? tooltip : null;\n });\n\n protected readonly tooltipComponent = computed(() => {\n const tooltip = this.tooltip();\n return !(tooltip instanceof TemplateRef) && typeof tooltip !== 'string' ? tooltip : null;\n });\n\n /** @internal */\n updateTooltipPosition(change: ConnectedOverlayPositionChange, anchor?: ElementRef): void {\n const arrowClassTooltip = `tooltip-${change.connectionPair.overlayX}-${change.connectionPair.overlayY}`;\n // need two updates as class changes affect the position\n if (arrowClassTooltip !== this.tooltipPositionClass()) {\n this.tooltipPositionClass.set(arrowClassTooltip);\n }\n const arrowPos = calculateOverlayArrowPosition(change, this.elementRef, anchor);\n this.arrowPos.set(arrowPos);\n }\n}\n","<div\n class=\"tooltip show position-relative\"\n role=\"tooltip\"\n [id]=\"id()\"\n [ngClass]=\"tooltipPositionClass()\"\n>\n <div\n class=\"tooltip-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n <div class=\"tooltip-inner\">\n @if (tooltipText()) {\n <div class=\"si-body-2\">{{ tooltipText() | translate }}</div>\n } @else if (tooltipTemplate()) {\n <ng-template [ngTemplateOutlet]=\"tooltipTemplate()\" />\n } @else if (tooltipComponent()) {\n <ng-container [ngComponentOutlet]=\"tooltipComponent()\" />\n }\n </div>\n</div>\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n ComponentRef,\n ElementRef,\n inject,\n Injectable,\n Injector,\n TemplateRef,\n Type\n} from '@angular/core';\nimport { getOverlay, getPositionStrategy, positions } from '@siemens/element-ng/common';\nimport { TranslatableString } from '@siemens/element-translate-ng/translate';\n\nimport { TooltipComponent } from './si-tooltip.component';\n\n/**\n * TooltipRef is attached to a specific element.\n * Use it to show or hide a tooltip for that element.\n *\n * @internal\n */\nclass TooltipRef {\n constructor(\n private overlayRef: OverlayRef,\n private element: ElementRef,\n private describedBy: string,\n private injector?: Injector\n ) {}\n\n show(content: TranslatableString | TemplateRef<any> | Type<any>): void {\n if (this.overlayRef.hasAttached()) {\n return;\n }\n\n const toolTipPortal = new ComponentPortal(TooltipComponent, undefined, this.injector);\n const tooltipRef: ComponentRef<TooltipComponent> = this.overlayRef.attach(toolTipPortal);\n\n tooltipRef.setInput('tooltip', content);\n tooltipRef.setInput('id', this.describedBy);\n\n const positionStrategy = getPositionStrategy(this.overlayRef);\n positionStrategy?.positionChanges.subscribe(change =>\n tooltipRef.instance.updateTooltipPosition(change, this.element)\n );\n }\n\n hide(): void {\n this.overlayRef.detach();\n }\n\n destroy(): void {\n this.overlayRef.dispose();\n }\n}\n\n/**\n * A service to create tooltips for specific elements.\n * Use this if the tooltip directive is not suitable.\n * Must not be used outside element-ng.\n *\n * @internal\n */\n// We cannot provide this in root, as people may override the cdk overlay creation.\n@Injectable()\nexport class SiTooltipService {\n private overlay = inject(Overlay);\n\n createTooltip(config: {\n describedBy: string;\n element: ElementRef;\n placement: keyof typeof positions;\n injector?: Injector;\n }): TooltipRef {\n return new TooltipRef(\n getOverlay(config.element, this.overlay, false, config.placement),\n config.element,\n config.describedBy,\n config.injector\n );\n }\n}\n\nexport type { TooltipRef };\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n Directive,\n ElementRef,\n HostListener,\n inject,\n input,\n OnDestroy,\n TemplateRef\n} from '@angular/core';\nimport { positions } from '@siemens/element-ng/common';\nimport { TranslatableString } from '@siemens/element-translate-ng/translate';\nimport { Subject } from 'rxjs';\n\nimport { SiTooltipService, TooltipRef } from './si-tooltip.service';\n\n@Directive({\n selector: '[siTooltip]',\n host: {\n '[attr.aria-describedby]': 'describedBy'\n },\n providers: [SiTooltipService]\n})\nexport class SiTooltipDirective implements OnDestroy {\n private static idCounter = 0;\n\n /**\n * The tooltip text to be displayed\n *\n * @defaultValue ''\n */\n readonly siTooltip = input<TranslatableString | TemplateRef<any>>('');\n\n /**\n * The placement of the tooltip. One of 'top', 'start', end', 'bottom'\n *\n * @defaultValue 'auto'\n */\n readonly placement = input<keyof typeof positions>('auto');\n\n /**\n * The trigger event on which the tooltip shall be displayed\n */\n readonly triggers = input<'' | 'focus'>();\n\n /**\n * Allows the tooltip to be disabled\n *\n * @defaultValue false\n */\n readonly isDisabled = input(false, { transform: booleanAttribute });\n\n protected describedBy = `__tooltip_${SiTooltipDirective.idCounter++}`;\n\n private tooltipRef?: TooltipRef;\n private tooltipService = inject(SiTooltipService);\n private elementRef = inject(ElementRef);\n private destroyer = new Subject<void>();\n\n ngOnDestroy(): void {\n this.tooltipRef?.destroy();\n this.destroyer.next();\n this.destroyer.complete();\n }\n\n private showTooltip(): void {\n const siTooltip = this.siTooltip();\n if (this.isDisabled() || !siTooltip) {\n return;\n }\n this.tooltipRef ??= this.tooltipService.createTooltip({\n describedBy: this.describedBy,\n element: this.elementRef,\n placement: this.placement()\n });\n this.tooltipRef.show(this.siTooltip());\n }\n\n @HostListener('focus')\n protected focusIn(): void {\n this.showTooltip();\n }\n\n @HostListener('mouseenter')\n protected show(): void {\n if (this.triggers() === 'focus') {\n return;\n }\n this.showTooltip();\n }\n\n @HostListener('touchstart')\n @HostListener('focusout')\n protected hide(): void {\n this.tooltipRef?.hide();\n this.destroyer.next();\n }\n\n @HostListener('mouseleave')\n protected mouseOut(): void {\n if (this.triggers() === 'focus') {\n return;\n }\n this.hide();\n }\n}\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiTooltipDirective } from './si-tooltip.directive';\n\n@NgModule({\n imports: [SiTooltipDirective],\n exports: [SiTooltipDirective]\n})\nexport class SiTooltipModule {}\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-tooltip.module';\nexport * from './si-tooltip.directive';\nexport * from './si-tooltip.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAwBa,gBAAgB,CAAA;;AAElB,IAAA,OAAO,GAAG,KAAK,CAAoD,EAAE,CAAC;AAE5D,IAAA,oBAAoB,GAAG,MAAM,CAAC,EAAE,CAAC;AACjC,IAAA,QAAQ,GAAG,MAAM,CAAmC,SAAS,CA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,EAAA,CAAA;wGAEjB,eAAe,EAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,kBAAkB;AAC7B,iBAAA;;;ACXD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"siemens-element-ng-translate.mjs","sources":["../../../../projects/element-ng/translate/si-translatable-keys.interface.ts","../../../../projects/element-ng/translate/si-translatable-overrides.provider.ts","../../../../projects/element-ng/translate/index.ts","../../../../projects/element-ng/translate/siemens-element-ng-translate.ts"],"sourcesContent":["/* eslint-disable */\n\n// Auto-generated file. Run 'yarn update-translatable-keys' to update.\n\nexport interface SiTranslatableKeys {\n 'SI_APPLICATION_HEADER.LAUNCHPAD'?: string;\n 'SI_APPLICATION_HEADER.TOGGLE_ACTIONS'?: string;\n 'SI_APPLICATION_HEADER.TOGGLE_NAVIGATION'?: string;\n 'SI_LAUNCHPAD.CLOSE'?: string;\n 'SI_LAUNCHPAD.FAVORITE_APPS'?: string;\n 'SI_LAUNCHPAD.SHOW_LESS'?: string;\n 'SI_LAUNCHPAD.SHOW_MORE'?: string;\n 'SI_LAUNCHPAD.SUBTITLE'?: string;\n 'SI_LAUNCHPAD.TITLE'?: string;\n}\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nimport { Provider } from '@angular/core';\nimport { SI_TRANSLATABLE_VALUES } from '@siemens/element-translate-ng/translate';\n\nimport { SiTranslatableKeys } from './si-translatable-keys.interface';\n\nexport const provideSiTranslatableOverrides: (values: SiTranslatableKeys) => Provider = values => ({\n useValue: values,\n multi: true,\n provide: SI_TRANSLATABLE_VALUES\n});\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-translatable-keys.interface';\nexport * from './si-translatable-overrides.provider';\n// @deprecated use @simpl-labs/element-translate-ng/translate directly\nexport * from '@siemens/element-translate-ng/translate';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;MCSa,8BAA8B,GAA6C,MAAM,KAAK;AACjG,IAAA,QAAQ,EAAE,MAAM;AAChB,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,OAAO,EAAE;AACV,CAAA;;ACbD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"siemens-element-ng-translate.mjs","sources":["../../../../projects/element-ng/translate/si-translatable-keys.interface.ts","../../../../projects/element-ng/translate/si-translatable-overrides.provider.ts","../../../../projects/element-ng/translate/index.ts","../../../../projects/element-ng/translate/siemens-element-ng-translate.ts"],"sourcesContent":["/* eslint-disable */\n\n// Auto-generated file. Run 'yarn update-translatable-keys' to update.\n\nexport interface SiTranslatableKeys {\n 'SI_ALERT_DIALOG.OK'?: string;\n 'SI_APPLICATION_HEADER.LAUNCHPAD'?: string;\n 'SI_APPLICATION_HEADER.TOGGLE_ACTIONS'?: string;\n 'SI_APPLICATION_HEADER.TOGGLE_NAVIGATION'?: string;\n 'SI_CONFIRMATION_DIALOG.NO'?: string;\n 'SI_CONFIRMATION_DIALOG.YES'?: string;\n 'SI_DELETE_CONFIRMATION_DIALOG.CANCEL_BTN'?: string;\n 'SI_DELETE_CONFIRMATION_DIALOG.DELETE_BTN'?: string;\n 'SI_DELETE_CONFIRMATION_DIALOG.MESSAGE'?: string;\n 'SI_EDIT_DISCARD_DIALOG.CANCEL_BTN'?: string;\n 'SI_EDIT_DISCARD_DIALOG.DISABLE_SAVE_DISCARD_BTN'?: string;\n 'SI_EDIT_DISCARD_DIALOG.DISABLE_SAVE_MESSAGE'?: string;\n 'SI_EDIT_DISCARD_DIALOG.DISCARD_BTN'?: string;\n 'SI_EDIT_DISCARD_DIALOG.MESSAGE'?: string;\n 'SI_EDIT_DISCARD_DIALOG.SAVE_BTN'?: string;\n 'SI_LAUNCHPAD.CLOSE'?: string;\n 'SI_LAUNCHPAD.DEFAULT_CATEGORY_TITLE'?: string;\n 'SI_LAUNCHPAD.FAVORITE_APPS'?: string;\n 'SI_LAUNCHPAD.SHOW_LESS'?: string;\n 'SI_LAUNCHPAD.SHOW_MORE'?: string;\n 'SI_LAUNCHPAD.SUBTITLE'?: string;\n 'SI_LAUNCHPAD.SUB_TITLE'?: string;\n 'SI_LAUNCHPAD.TITLE'?: string;\n 'SI_LOADING_SPINNER.LABEL'?: string;\n 'SI_NAVBAR.OPEN_LAUNCHPAD'?: string;\n 'SI_NAVBAR.TOGGLE_NAVIGATION'?: string;\n 'SI_PAGINATION.BACK'?: string;\n 'SI_PAGINATION.FORWARD'?: string;\n 'SI_PAGINATION.NAV_LABEL'?: string;\n 'SI_PASSWORD_TOGGLE.HIDE'?: string;\n 'SI_PASSWORD_TOGGLE.SHOW'?: string;\n}\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nimport { Provider } from '@angular/core';\nimport { SI_TRANSLATABLE_VALUES } from '@siemens/element-translate-ng/translate';\n\nimport { SiTranslatableKeys } from './si-translatable-keys.interface';\n\nexport const provideSiTranslatableOverrides: (values: SiTranslatableKeys) => Provider = values => ({\n useValue: values,\n multi: true,\n provide: SI_TRANSLATABLE_VALUES\n});\n","/**\n * Copyright Siemens 2016 - 2025.\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-translatable-keys.interface';\nexport * from './si-translatable-overrides.provider';\n// @deprecated use @simpl-labs/element-translate-ng/translate directly\nexport * from '@siemens/element-translate-ng/translate';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;MCSa,8BAA8B,GAA6C,MAAM,KAAK;AACjG,IAAA,QAAQ,EAAE,MAAM;AAChB,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,OAAO,EAAE;AACV,CAAA;;ACbD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Link } from '@siemens/element-ng/link';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SiFooterComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Copyright of your application.
|
|
6
|
+
*/
|
|
7
|
+
readonly copyright: import("@angular/core").InputSignal<string>;
|
|
8
|
+
/**
|
|
9
|
+
* List of additional links.
|
|
10
|
+
*/
|
|
11
|
+
readonly links: import("@angular/core").InputSignal<Link[] | undefined>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFooterComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiFooterComponent, "si-footer", never, { "copyright": { "alias": "copyright"; "required": true; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-footer.component";
|
|
3
|
+
export declare class SiFooterModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiFooterModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiFooterModule, never, [typeof i1.SiFooterComponent], [typeof i1.SiFooterComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiFooterModule>;
|
|
7
|
+
}
|
package/icon/element-icons.d.ts
CHANGED
|
@@ -21,3 +21,10 @@ export declare const elementStateProgress = "data:image/svg+xml;utf8,<svg xmlns=
|
|
|
21
21
|
export declare const elementStateQuestionMark = "data:image/svg+xml;utf8,<svg id='Icon' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><defs><style>.cls-1{stroke-width:0}</style></defs><path class='cls-1' d='M256 311c-11.05 0-20-8.95-20-20v-29.22a19.994 19.994 0 0 1 13.63-18.96c10.43-3.62 33.09-15.84 33.09-28.82.02-11.91-7.5-22.54-18.71-26.49-14.56-5.12-30.58 2.56-35.7 17.12-3.67 10.42-15.08 15.9-25.5 12.23s-15.9-15.08-12.23-25.5c12.44-35.37 51.34-54.02 86.71-41.58 27.22 9.58 45.48 35.4 45.44 64.25 0 13.92-5.57 34.34-32.11 52.4-5.12 3.49-10.2 6.31-14.61 8.5V291c0 11.05-8.95 20-20 20ZM256.16 375h-.32c-13.17 0-23.84-10.75-23.84-24s10.67-24 23.84-24h.32c13.17 0 23.84 10.75 23.84 24s-10.67 24-23.84 24Z'/></svg>";
|
|
22
22
|
export declare const elementStateTick = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M222.25 345.88c-5.12 0-10.24-1.95-14.14-5.86l-56.25-56.25c-7.81-7.81-7.81-20.47 0-28.29s20.47-7.81 28.28 0l42.11 42.11 109.61-109.61c7.81-7.81 20.47-7.81 28.28 0s7.81 20.47 0 28.29L236.39 340.02a19.92 19.92 0 0 1-14.14 5.86Z' style='stroke-width:0'/></svg>";
|
|
23
23
|
export declare const elementTriangleFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='m441.77 338.25-.1-.17L295.72 94.42a46.45 46.45 0 0 0-79.44 0 .21.21 0 0 0 0 .06L70.32 338.08l-.1.17a46.45 46.45 0 0 0 39.72 69.68h292.11a46.46 46.46 0 0 0 39.72-69.68Z'/></svg>";
|
|
24
|
+
export declare const elementRight2 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M203.21 159.21a12.45 12.45 0 0 1 15.86-1.44l1.72 1.44 88 88a12.45 12.45 0 0 1 1.44 15.86l-1.44 1.72-88 88a12.43 12.43 0 0 1-19-15.86l1.44-1.72L282.42 256l-79.21-79.21a12.45 12.45 0 0 1-1.44-15.86Z' data-name='Arrow/Right-3'/></svg>";
|
|
25
|
+
export declare const elementRecordFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 408c-41.88 0-78.06-14.95-107.55-44.44S104 297.87 104 256s15-78 44.45-107.55S214.13 104 256 104s78 15 107.54 44.45S408 214.15 408 256s-15 78.05-44.45 107.55S297.87 408 256 408Z'/></svg>";
|
|
26
|
+
export declare const elementOk = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='m379.51 156.76-173 173-74-74a12 12 0 1 0-17 17l82.5 82.5a12 12 0 0 0 17 0l181.5-181.5a12 12 0 0 0-17-17Z'/></svg>";
|
|
27
|
+
export declare const elementLeft3 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M319.39 106.22a11.1 11.1 0 0 1-2.09 6.51L219.49 256l97.82 143.29a11.05 11.05 0 0 1 2.08 6.49 11.24 11.24 0 0 1-4.7 9.13 11.12 11.12 0 0 1-6.51 2.09 11.24 11.24 0 0 1-9.13-4.69L192.61 256 299 99.71a11.24 11.24 0 0 1 9.18-4.71 11.12 11.12 0 0 1 6.51 2.09 11.24 11.24 0 0 1 4.7 9.13Z'/></svg>";
|
|
28
|
+
export declare const elementRight3 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M192.61 106.22a11.1 11.1 0 0 0 2.09 6.51L292.51 256l-97.82 143.29a11.05 11.05 0 0 0-2.08 6.49 11.24 11.24 0 0 0 4.7 9.13 11.12 11.12 0 0 0 6.51 2.09 11.24 11.24 0 0 0 9.13-4.69L319.39 256 213 99.71a11.24 11.24 0 0 0-9.18-4.71 11.12 11.12 0 0 0-6.51 2.09 11.24 11.24 0 0 0-4.7 9.13Z'/></svg>";
|
|
29
|
+
export declare const elementHide = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M254.85 173.58c42.57 0 84.25 14.94 123.9 44.4a278.05 278.05 0 0 1 41.59 38 278.05 278.05 0 0 1-41.59 38 260.79 260.79 0 0 1-25.17 16.59l17.48 17.48q11.49-7 22.63-15.27c32.57-24.34 51.1-48.55 51.87-49.57a12 12 0 0 0 0-14.5c-.77-1-19.3-25.23-51.87-49.57-43.43-32.45-91.44-49.6-138.84-49.6a204.56 204.56 0 0 0-54.72 7.58L220 177a180.12 180.12 0 0 1 34.85-3.42ZM436.49 427.51 349 340l-18-18-28.36-28.36-17.12-17.12-50.09-50.09-17.12-17.12-25-25-18.47-18.47-90.35-90.33a12 12 0 0 0-17 17l84.29 84.28a267.53 267.53 0 0 0-34.72 22.47c-32 24.38-50 48.64-50.75 49.66a12 12 0 0 0 0 14.2c.75 1 18.72 25.28 50.75 49.66 42.69 32.49 90.33 49.66 137.77 49.66a210.29 210.29 0 0 0 70.2-12.4l94.46 94.47a12 12 0 0 0 17-17Zm-215.15-181.2 44.35 44.35a36 36 0 0 1-44.35-44.35Zm33.51 92.11c-42.52 0-83.79-14.91-122.65-44.32A268.8 268.8 0 0 1 91.46 256a268.29 268.29 0 0 1 40.74-38.1 242.38 242.38 0 0 1 37.32-23.41L203 228a59.95 59.95 0 0 0 81 81l22 22.05a183.47 183.47 0 0 1-51.15 7.37Z'/><path d='m291.13 248.16 22.94 22.94a60 60 0 0 0-73.17-73.17l22.94 22.94a36.1 36.1 0 0 1 27.29 27.29Z'/></svg>";
|
|
30
|
+
export declare const elementShow = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M254.85 362.42c-47.44 0-95.08-17.17-137.77-49.66-32-24.38-50-48.64-50.75-49.66a12 12 0 0 1 0-14.2c.75-1 18.72-25.28 50.75-49.66 42.69-32.49 90.33-49.66 137.77-49.66s95.41 17.15 138.84 49.6c32.57 24.34 51.1 48.55 51.87 49.57a12 12 0 0 1 0 14.5c-.77 1-19.3 25.23-51.87 49.57-43.43 32.45-91.44 49.6-138.84 49.6ZM91.46 256a268.8 268.8 0 0 0 40.74 38.1c38.86 29.41 80.13 44.32 122.65 44.32s84.25-14.94 123.9-44.4a278.05 278.05 0 0 0 41.59-38 278.05 278.05 0 0 0-41.59-38c-39.65-29.46-81.33-44.4-123.9-44.4s-83.79 14.87-122.65 44.28A268.29 268.29 0 0 0 91.46 256Z'/><path d='M256 316a60 60 0 1 1 60-60 60.07 60.07 0 0 1-60 60Zm0-96a36 36 0 1 0 36 36 36 36 0 0 0-36-36Z'/></svg>";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { StatusType } from '@siemens/element-ng/common';
|
|
2
|
+
import { Link } from '@siemens/element-ng/link';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SiInlineNotificationComponent {
|
|
5
|
+
private readonly statusIcons;
|
|
6
|
+
/**
|
|
7
|
+
* Status of inline notification.
|
|
8
|
+
*/
|
|
9
|
+
readonly severity: import("@angular/core").InputSignal<StatusType>;
|
|
10
|
+
/**
|
|
11
|
+
* Heading of the message.
|
|
12
|
+
*/
|
|
13
|
+
readonly heading: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Main message of this inline notification.
|
|
16
|
+
*/
|
|
17
|
+
readonly message: import("@angular/core").InputSignal<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Optional link action for inline notification events.
|
|
20
|
+
*/
|
|
21
|
+
readonly action: import("@angular/core").InputSignal<Link | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Params passed to the translation pipe
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue
|
|
26
|
+
* ```
|
|
27
|
+
* {}
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
readonly translationParams: import("@angular/core").InputSignal<{
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
} | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Displays in embedded style, w/o radius and indicator bar
|
|
35
|
+
*
|
|
36
|
+
* @defaultValue false
|
|
37
|
+
*/
|
|
38
|
+
readonly embedded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
protected readonly icon: import("@angular/core").Signal<import("@siemens/element-ng/common").StatusIcon>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiInlineNotificationComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiInlineNotificationComponent, "si-inline-notification", never, { "severity": { "alias": "severity"; "required": true; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "translationParams": { "alias": "translationParams"; "required": false; "isSignal": true; }; "embedded": { "alias": "embedded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-inline-notification.component";
|
|
3
|
+
export declare class SiInlineNotificationModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiInlineNotificationModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiInlineNotificationModule, never, [typeof i1.SiInlineNotificationComponent], [typeof i1.SiInlineNotificationComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiInlineNotificationModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
export * from './si-loading-button.component';
|
|
6
|
+
export * from './si-loading-spinner.component';
|
|
7
|
+
export * from './si-loading-spinner.directive';
|
|
8
|
+
export * from './si-loading-spinner.service';
|
|
9
|
+
export * from './si-loading-spinner.module';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TranslatableString } from '@siemens/element-translate-ng/translate';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SiLoadingButtonComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the button is disabled.
|
|
6
|
+
* @defaultValue false
|
|
7
|
+
*/
|
|
8
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the loading state should be displayed.
|
|
11
|
+
* @defaultValue false
|
|
12
|
+
*/
|
|
13
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* Type of the button.
|
|
16
|
+
* @defaultValue 'button'
|
|
17
|
+
**/
|
|
18
|
+
readonly type: import("@angular/core").InputSignal<"button" | "submit" | "reset">;
|
|
19
|
+
/** aria-label for the button */
|
|
20
|
+
readonly ariaLabel: import("@angular/core").InputSignal<TranslatableString | undefined>;
|
|
21
|
+
/** aria-labelledby for the button */
|
|
22
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* CSS class for the button.
|
|
25
|
+
* @defaultValue ''
|
|
26
|
+
*/
|
|
27
|
+
readonly buttonClass: import("@angular/core").InputSignal<string>;
|
|
28
|
+
protected handleClick(event: Event): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLoadingButtonComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiLoadingButtonComponent, "si-loading-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "buttonClass": { "alias": "buttonClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const LOADING_SPINNER_BLOCKING: InjectionToken<boolean>;
|
|
4
|
+
export declare const LOADING_SPINNER_OVERLAY: InjectionToken<boolean>;
|
|
5
|
+
export declare class SiLoadingSpinnerComponent {
|
|
6
|
+
protected fadeAnimation: string;
|
|
7
|
+
/**
|
|
8
|
+
* @defaultValue
|
|
9
|
+
* ```
|
|
10
|
+
* inject(LOADING_SPINNER_BLOCKING, { optional: true })
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
readonly isBlockingSpinner: import("@angular/core").InputSignal<boolean | null>;
|
|
14
|
+
/**
|
|
15
|
+
* @defaultValue
|
|
16
|
+
* ```
|
|
17
|
+
* inject(LOADING_SPINNER_OVERLAY, { optional: true })
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
readonly isSpinnerOverlay: import("@angular/core").InputSignal<boolean | null>;
|
|
21
|
+
/**
|
|
22
|
+
* Needed for a11y
|
|
23
|
+
*
|
|
24
|
+
* @defaultValue
|
|
25
|
+
* ```
|
|
26
|
+
* $localize`:@@SI_LOADING_SPINNER.LABEL:Loading`
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
readonly ariaLabel: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLoadingSpinnerComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiLoadingSpinnerComponent, "si-loading-spinner", never, { "isBlockingSpinner": { "alias": "isBlockingSpinner"; "required": false; "isSignal": true; }; "isSpinnerOverlay": { "alias": "isSpinnerOverlay"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SiLoadingSpinnerDirective implements OnInit, OnChanges, OnDestroy {
|
|
4
|
+
/**
|
|
5
|
+
* Displays the loading spinner when the value is either true or non-zero.
|
|
6
|
+
*/
|
|
7
|
+
readonly siLoading: import("@angular/core").InputSignal<number | boolean>;
|
|
8
|
+
/**
|
|
9
|
+
* Displays semi-transparent backdrop for the spinner, default is false.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue false
|
|
12
|
+
*/
|
|
13
|
+
readonly blocking: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies if the spinner should be displayed after a delay, default is true.
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue true
|
|
18
|
+
*/
|
|
19
|
+
readonly initialDelay: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
private el;
|
|
21
|
+
private appRef;
|
|
22
|
+
private sub?;
|
|
23
|
+
private progressSubject;
|
|
24
|
+
private off$;
|
|
25
|
+
private on$;
|
|
26
|
+
private readonly initialWaitTime;
|
|
27
|
+
private minSpinTime;
|
|
28
|
+
private compPortal;
|
|
29
|
+
protected readonly spinner$: import("rxjs").Observable<boolean>;
|
|
30
|
+
private createPortal;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnChanges(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLoadingSpinnerDirective, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiLoadingSpinnerDirective, "[siLoading]", never, { "siLoading": { "alias": "siLoading"; "required": true; "isSignal": true; }; "blocking": { "alias": "blocking"; "required": false; "isSignal": true; }; "initialDelay": { "alias": "initialDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-loading-spinner.component";
|
|
3
|
+
import * as i2 from "./si-loading-spinner.directive";
|
|
4
|
+
export declare class SiLoadingSpinnerModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLoadingSpinnerModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiLoadingSpinnerModule, never, [typeof i1.SiLoadingSpinnerComponent, typeof i2.SiLoadingSpinnerDirective], [typeof i1.SiLoadingSpinnerComponent, typeof i2.SiLoadingSpinnerDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiLoadingSpinnerModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SiLoadingService {
|
|
4
|
+
/**
|
|
5
|
+
* Counts the number of loads active, is `0` when all loading is finished (or hasn't started).
|
|
6
|
+
*/
|
|
7
|
+
readonly counter: BehaviorSubject<number>;
|
|
8
|
+
/**
|
|
9
|
+
* Start the loading.
|
|
10
|
+
*/
|
|
11
|
+
startLoad(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Stop the loading.
|
|
14
|
+
*/
|
|
15
|
+
stopLoad(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLoadingService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SiLoadingService>;
|
|
18
|
+
}
|
package/menu/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
export * from './si-menu.module';
|
|
6
|
+
export * from './si-menu-item.component';
|
|
7
|
+
export * from './si-menu-item-checkbox.component';
|
|
8
|
+
export * from './si-menu-item-radio.component';
|
|
9
|
+
export * from './si-menu.directive';
|
|
10
|
+
export * from './si-menu-bar.directive';
|
|
11
|
+
export * from './si-menu-header.directive';
|
|
12
|
+
export * from './si-menu-divider.directive';
|
|
13
|
+
export * from './si-menu-factory.component';
|
|
14
|
+
export * from './si-menu-model';
|
|
15
|
+
export * from './si-menu-action.service';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import { MenuItemAction, MenuItemCheckbox, MenuItemRadio } from './si-menu-model';
|
|
6
|
+
/**
|
|
7
|
+
* Implement and provide this to an {@link SiMenuFactoryComponent}
|
|
8
|
+
* to receive trigger events.
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class SiMenuActionService {
|
|
11
|
+
/** Will be called by {@link SiMenuFactoryComponent} if an action is defined with a string instead of a function. */
|
|
12
|
+
abstract actionTriggered(item: MenuItemAction | MenuItemRadio | MenuItemCheckbox, actionParam?: any): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class SiMenuBarDirective {
|
|
4
|
+
private menuBar;
|
|
5
|
+
protected get tabIndex(): 0 | -1 | null;
|
|
6
|
+
/**
|
|
7
|
+
* Sets the menu-bar disabled, i.e. sets tabindex="-1"
|
|
8
|
+
*/
|
|
9
|
+
readonly disabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuBarDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiMenuBarDirective, "si-menu-bar", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuBar; inputs: {}; outputs: {}; }, { directive: typeof i1.CdkTargetMenuAim; inputs: {}; outputs: {}; }]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SiMenuDividerDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuDividerDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiMenuDividerDirective, "si-menu-divider", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MenuItem as MenuItemLegacy } from '@siemens/element-ng/common';
|
|
2
|
+
import { MenuItem } from './si-menu-model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Required to have compiler checks on the factory template */
|
|
5
|
+
export declare class SiMenuFactoryItemGuardDirective {
|
|
6
|
+
static ngTemplateContextGuard(dir: SiMenuFactoryItemGuardDirective, ctx: any): ctx is {
|
|
7
|
+
$implicit: MenuItemLegacy | MenuItem;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuFactoryItemGuardDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiMenuFactoryItemGuardDirective, "[siMenuFactoryItemGuard]", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MenuItem as MenuItemLegacy } from '@siemens/element-ng/common';
|
|
2
|
+
import { MenuItemAction, MenuItemCheckbox, MenuItem, MenuItemRadio } from './si-menu-model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SiMenuFactoryComponent {
|
|
5
|
+
readonly items: import("@angular/core").InputSignal<readonly (MenuItemLegacy | MenuItem)[] | undefined>;
|
|
6
|
+
readonly actionParam: import("@angular/core").InputSignal<unknown>;
|
|
7
|
+
private linkActionService;
|
|
8
|
+
private menuActionService;
|
|
9
|
+
protected isNewItemStyle(item: MenuItemLegacy | MenuItem): item is MenuItem;
|
|
10
|
+
protected isLegacyItemStyle(item: MenuItemLegacy | MenuItem): item is MenuItemLegacy;
|
|
11
|
+
protected radioOrCheckboxTriggered(item: MenuItemLegacy): void;
|
|
12
|
+
protected runAction(item: MenuItemAction | MenuItemRadio | MenuItemCheckbox): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuFactoryComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiMenuFactoryComponent, "si-menu-factory", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "actionParam": { "alias": "actionParam"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SiMenuHeaderDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuHeaderDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiMenuHeaderDirective, "si-menu-header", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare abstract class SiMenuItemBase {
|
|
3
|
+
readonly badge: import("@angular/core").InputSignal<string | number | undefined>;
|
|
4
|
+
/**
|
|
5
|
+
* @defaultValue 'secondary'
|
|
6
|
+
*/
|
|
7
|
+
readonly badgeColor: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly icon: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
/** @defaultValue false */
|
|
10
|
+
readonly iconBadgeDot: import("@angular/core").InputSignal<string | number | boolean | undefined>;
|
|
11
|
+
/** @defaultValue false */
|
|
12
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
protected readonly badgeDotHasContent: import("@angular/core").Signal<boolean>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuItemBase, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiMenuItemBase, never, never, { "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "badgeColor": { "alias": "badgeColor"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconBadgeDot": { "alias": "iconBadgeDot"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SiMenuItemBase } from './si-menu-item-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/menu";
|
|
4
|
+
export declare class SiMenuItemCheckboxComponent extends SiMenuItemBase {
|
|
5
|
+
private cdkMenuItemCheckbox;
|
|
6
|
+
protected readonly icons: Record<"elementOk", string>;
|
|
7
|
+
protected get checked(): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuItemCheckboxComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiMenuItemCheckboxComponent, "si-menu-item-checkbox", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: { "cdkMenuItemChecked": "checked"; "cdkMenuItemDisabled": "disabled"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }, { directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SiMenuItemBase } from './si-menu-item-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/menu";
|
|
4
|
+
export declare class SiMenuItemRadioComponent extends SiMenuItemBase {
|
|
5
|
+
private cdkMenuItemRadio;
|
|
6
|
+
protected readonly icons: Record<"elementRecordFilled", string>;
|
|
7
|
+
protected get checked(): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuItemRadioComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiMenuItemRadioComponent, "si-menu-item-radio", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemRadio; inputs: { "cdkMenuItemChecked": "checked"; "cdkMenuItemDisabled": "disabled"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }, { directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SiMenuItemBase } from './si-menu-item-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/menu";
|
|
4
|
+
export declare class SiMenuItemComponent extends SiMenuItemBase {
|
|
5
|
+
private menuTrigger;
|
|
6
|
+
protected readonly icons: Record<"elementRight2", string>;
|
|
7
|
+
protected get hasSubmenu(): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuItemComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiMenuItemComponent, "si-menu-item, a[si-menu-item], button[si-menu-item]", never, {}, {}, never, ["*", ".end"], true, [{ directive: typeof i1.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "disabled"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import type { NavigationExtras } from '@angular/router';
|
|
6
|
+
import { TranslatableString } from '@siemens/element-translate-ng/translate-types';
|
|
7
|
+
export interface MenuItemBase {
|
|
8
|
+
/** ID that will be attached to the DOM node. */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** Label that is shown to the user. */
|
|
11
|
+
label: TranslatableString;
|
|
12
|
+
/** Optional icon that will be rendered before the label. */
|
|
13
|
+
icon?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Badge (always red) that is attached to the icon.
|
|
16
|
+
* If value===true, an empty red dot will be rendered.
|
|
17
|
+
*/
|
|
18
|
+
iconBadge?: boolean | number | string;
|
|
19
|
+
/** Badge that is rendered after the label. */
|
|
20
|
+
badge?: string | number;
|
|
21
|
+
/** Color of the badge (not iconBadge). */
|
|
22
|
+
badgeColor?: string;
|
|
23
|
+
/** Whether the menu item id disabled. */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface MenuItemGroup extends MenuItemBase {
|
|
27
|
+
type: 'group';
|
|
28
|
+
/** Submenu items for this menu item. */
|
|
29
|
+
children: MenuItem[];
|
|
30
|
+
}
|
|
31
|
+
export interface MenuItemAction extends MenuItemBase {
|
|
32
|
+
type: 'action';
|
|
33
|
+
/**
|
|
34
|
+
* Action that called when the item is triggered.
|
|
35
|
+
* A function will be called, a string will be dispatched to the {@link SiMenuActionService}.
|
|
36
|
+
*/
|
|
37
|
+
action: ((actionParam: any, source: this) => void) | string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Represents a menu item that navigates using the Angular Router.
|
|
41
|
+
*
|
|
42
|
+
* Requires a configured Angular Router.
|
|
43
|
+
*/
|
|
44
|
+
export interface MenuItemRouterLink extends MenuItemBase {
|
|
45
|
+
type: 'router-link';
|
|
46
|
+
/** Link for the angular router. Accepts the same values as {@link RouterLink}. */
|
|
47
|
+
routerLink: string | any[];
|
|
48
|
+
/** Navigation extras that are passed to the {@link RouterLink}. */
|
|
49
|
+
extras?: NavigationExtras;
|
|
50
|
+
}
|
|
51
|
+
export interface MenuItemLink extends MenuItemBase {
|
|
52
|
+
type: 'link';
|
|
53
|
+
/** The href property of the anchor. */
|
|
54
|
+
href: string;
|
|
55
|
+
/** The target property of the anchor. */
|
|
56
|
+
target?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface MenuItemRadioGroup {
|
|
59
|
+
type: 'radio-group';
|
|
60
|
+
/** Items that are part of the radio group. */
|
|
61
|
+
children: [MenuItemHeader, ...(MenuItemRadio | MenuDivider | MenuItemHeader)[]];
|
|
62
|
+
}
|
|
63
|
+
export interface MenuItemRadio extends MenuItemBase {
|
|
64
|
+
type: 'radio';
|
|
65
|
+
/** Whether the radio is checked. */
|
|
66
|
+
checked: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Action that called when the item is triggered.
|
|
69
|
+
* A function will be called, a string will be dispatched to the {@link SiMenuActionService}.
|
|
70
|
+
*/
|
|
71
|
+
action: ((actionParam: any, source: this) => void) | string;
|
|
72
|
+
}
|
|
73
|
+
export interface MenuItemCheckbox extends MenuItemBase {
|
|
74
|
+
type: 'checkbox';
|
|
75
|
+
/** Whether the checkbox is checked. */
|
|
76
|
+
checked: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Action that called when the item is triggered.
|
|
79
|
+
* A function will be called, a string will be dispatched to the {@link SiMenuActionService}.
|
|
80
|
+
*/
|
|
81
|
+
action: ((actionParam: any, source: this) => void) | string;
|
|
82
|
+
}
|
|
83
|
+
export interface MenuItemHeader {
|
|
84
|
+
type: 'header';
|
|
85
|
+
/** The label of the header. */
|
|
86
|
+
label: string;
|
|
87
|
+
}
|
|
88
|
+
export interface MenuDivider {
|
|
89
|
+
type: 'divider';
|
|
90
|
+
}
|
|
91
|
+
export type MenuItem = MenuItemGroup | MenuItemAction | MenuItemRouterLink | MenuItemLink | MenuItemRadioGroup | MenuItemCheckbox | MenuItemRadio | MenuItemHeader | MenuDivider;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class SiMenuDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiMenuDirective, "si-menu", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }, { directive: typeof i1.CdkTargetMenuAim; inputs: {}; outputs: {}; }]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-menu-bar.directive";
|
|
3
|
+
import * as i2 from "./si-menu.directive";
|
|
4
|
+
import * as i3 from "./si-menu-divider.directive";
|
|
5
|
+
import * as i4 from "./si-menu-factory.component";
|
|
6
|
+
import * as i5 from "./si-menu-header.directive";
|
|
7
|
+
import * as i6 from "./si-menu-item-checkbox.component";
|
|
8
|
+
import * as i7 from "./si-menu-item.component";
|
|
9
|
+
import * as i8 from "./si-menu-item-radio.component";
|
|
10
|
+
export declare class SiMenuModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiMenuModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiMenuModule, never, [typeof i1.SiMenuBarDirective, typeof i2.SiMenuDirective, typeof i3.SiMenuDividerDirective, typeof i4.SiMenuFactoryComponent, typeof i5.SiMenuHeaderDirective, typeof i6.SiMenuItemCheckboxComponent, typeof i7.SiMenuItemComponent, typeof i8.SiMenuItemRadioComponent], [typeof i1.SiMenuBarDirective, typeof i2.SiMenuDirective, typeof i3.SiMenuDividerDirective, typeof i4.SiMenuFactoryComponent, typeof i5.SiMenuHeaderDirective, typeof i6.SiMenuItemCheckboxComponent, typeof i7.SiMenuItemComponent, typeof i8.SiMenuItemRadioComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiMenuModule>;
|
|
14
|
+
}
|
package/modal/index.d.ts
ADDED