@spicainternational/ngx-sds-components 8.0.0 → 8.1.1

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 (49) hide show
  1. package/esm2022/public-api.mjs +2 -1
  2. package/esm2022/src/lib/avatar/avatar-group.component.mjs +2 -2
  3. package/esm2022/src/lib/avatar/avatar.component.mjs +20 -6
  4. package/esm2022/src/lib/color-picker/color-picker.component.mjs +3 -3
  5. package/esm2022/src/lib/date-picker/date-picker.component.mjs +3 -3
  6. package/esm2022/src/lib/drawer/drawer.component.mjs +2 -2
  7. package/esm2022/src/lib/expansion-panel/expansion-panel.component.mjs +3 -3
  8. package/esm2022/src/lib/modal/dialog/dialog.component.mjs +3 -3
  9. package/esm2022/src/lib/modal/modal.component.mjs +3 -3
  10. package/esm2022/src/lib/navigation/navigation-group/navigation-group.component.mjs +14 -4
  11. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.mjs +1 -1
  12. package/esm2022/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.mjs +2 -2
  13. package/esm2022/src/lib/ripple/public-api.mjs +2 -0
  14. package/esm2022/src/lib/ripple/ripple.directive.mjs +103 -0
  15. package/esm2022/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.mjs +5 -0
  16. package/esm2022/src/lib/segmented-control/segmented-control.component.mjs +56 -7
  17. package/esm2022/src/lib/side-bar/side-bar.component.mjs +2 -2
  18. package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs +20 -6
  19. package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +1 -1
  20. package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +2 -2
  21. package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +1 -1
  22. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +2 -2
  23. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
  24. package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs +1 -1
  25. package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs.map +1 -1
  26. package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +2 -2
  27. package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +1 -1
  28. package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs +4 -4
  29. package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
  30. package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs +14 -4
  31. package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +1 -1
  32. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs +110 -0
  33. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs.map +1 -0
  34. package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +55 -6
  35. package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs.map +1 -1
  36. package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +2 -2
  37. package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +1 -1
  38. package/fesm2022/spicainternational-ngx-sds-components.mjs +1 -0
  39. package/fesm2022/spicainternational-ngx-sds-components.mjs.map +1 -1
  40. package/package.json +13 -7
  41. package/public-api.d.ts +1 -0
  42. package/src/lib/avatar/avatar.component.d.ts +7 -4
  43. package/src/lib/modal/modal.component.d.ts +1 -1
  44. package/src/lib/navigation/navigation-group/navigation-group.component.d.ts +3 -2
  45. package/src/lib/ripple/index.d.ts +5 -0
  46. package/src/lib/ripple/public-api.d.ts +1 -0
  47. package/src/lib/ripple/ripple.directive.d.ts +21 -0
  48. package/src/lib/ripple/sds-ripple.css +20 -0
  49. package/src/lib/segmented-control/segmented-control.component.d.ts +10 -4
@@ -1 +1 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-navigation.mjs","sources":["../../../projects/ngx-sds-components/src/lib/navigation/navigation-route-link/navigation-route-link.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-route-link/navigation-route-link.component.html","../../../projects/ngx-sds-components/src/lib/navigation/utils/navigation.utils.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-group/navigation-group.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-group/navigation-group.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-separator/navigation-separator.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-separator/navigation-separator.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-header/navigation-header.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-header/navigation-header.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-external-link/navigation-external-link.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-external-link/navigation-external-link.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-container/navigation-container.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-container/navigation-container.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.html","../../../projects/ngx-sds-components/src/lib/navigation/product-home/product-home.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/product-home/product-home.component.html","../../../projects/ngx-sds-components/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.ts"],"sourcesContent":["import { Component, input, Input, OnInit, signal, model } from '@angular/core';\r\nimport { NgIf } from '@angular/common';\r\nimport { RouterLinkActive, RouterLink } from '@angular/router';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-route-link',\r\n templateUrl: './navigation-route-link.component.html',\r\n styleUrls: ['./navigation-route-link.component.scss'],\r\n standalone: true,\r\n imports: [\r\n RouterLinkActive,\r\n RouterLink,\r\n NgIf,\r\n ],\r\n})\r\nexport class SdsNavigationRouteLinkComponent implements OnInit, CollapsibleNavigationEntity {\r\n /**\r\n * This variable is used as 'routerLink' attribute in the anchor tag.\r\n * \r\n * Is named 'link' to avoid conflict with the 'routerLink' directive.\r\n */\r\n @Input() link: string = '';\r\n @Input() text: string = '';\r\n\r\n @Input() additionalInfo: string | undefined = undefined;\r\n\r\n @Input() disabled = false;\r\n\r\n constructor() {\r\n }\r\n isCollapsed = model<boolean>(false);\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<!-- class=\"sds-navigation-router-link sidebar-item-x d-flex justify-content-start align-items-center sidebar-item-x py-1\"> -->\r\n<div \r\n class=\"sds-navigation-router-link sds-navigation-item-container\"\r\n [class.disabled]=\"disabled\"\r\n routerLinkActive=\"active\"\r\n [title]=\"isCollapsed() ? text : ''\"\r\n >\r\n <a class=\"sds-navigation-item-content w-100 pe-2 text-gray-800\" [routerLink]=\"link\">\r\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\r\n <div class=\"sds-navigation-icon\" >\r\n <ng-content select=\"[navigationIcon]\"></ng-content>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!isCollapsed()\">\r\n <div class=\"sds-navigation-text user-select-none\">\r\n {{ text }}\r\n </div>\r\n <span *ngIf=\"additionalInfo\"\r\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body\"\r\n >{{ additionalInfo }}</span\r\n > \r\n </ng-container>\r\n </div>\r\n </a>\r\n</div>","export function removeQueryParams(url: string): string {\r\n return url.split('?')[0];\r\n}\r\n\r\nexport function isUrlPartOfNavigationGroup(\r\n currentUrl: string[], \r\n nestedRoutes: string[], \r\n defaultGroupUrl: string): boolean {\r\n\r\n if (!currentUrl || currentUrl?.length === 0) {\r\n return false;\r\n }\r\n \r\n defaultGroupUrl = defaultGroupUrl.replace('/', '');\r\n \r\n if (nestedRoutes?.length > 0) {\r\n // Nested routes are provided. We should find out if current url is on the list of\r\n // the provided nested routes \r\n const currentUrlParts = currentUrl.slice();//.reverse();\r\n const routeItemIsPartOfNestedRoutes = nestedRoutes.some((routeName) => {\r\n const routeParts = routeName.split('/');//.reverse();\r\n return isSubsetOrSame(currentUrlParts, routeParts);\r\n });\r\n if (routeItemIsPartOfNestedRoutes) {\r\n return true;\r\n }\r\n }\r\n\r\n const currentUrlContainsGroupUrl = currentUrl.some(path => path === defaultGroupUrl);\r\n return currentUrlContainsGroupUrl;\r\n }\r\n\r\nfunction isSubsetOrSame(mainArray: string[], subArray: string[]): boolean {\r\n // if we have super wildcard we need to check reversed array\r\n // if (subArray.includes('**')) {\r\n const reversedMainArray = mainArray.slice(); //.reverse();\r\n const reversedSubArray = subArray.slice(); //.reverse();\r\n\r\n for (let i = 0; i < reversedSubArray.length; i++) {\r\n if (reversedSubArray[i] === '**') {\r\n return true;\r\n }\r\n if ((reversedMainArray[i] !== reversedSubArray[i]) && reversedSubArray[i] !== '*') {\r\n return false;\r\n }\r\n }\r\n return true;\r\n\r\n // } else {\r\n // if (subArray.length > mainArray.length) return false;\r\n\r\n // for (let i = 0; i < subArray.length; i++) {\r\n // if ((mainArray[i] !== subArray[i]) && subArray[i] !== '*') {\r\n // return false;\r\n // }\r\n // }\r\n // return true;\r\n // }\r\n}","import {\r\n AfterContentInit,\r\n Component,\r\n ContentChildren,\r\n input,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n QueryList,\r\n signal,\r\n model\r\n} from '@angular/core';\r\nimport { NavigationEnd, Router, RouterLink } from '@angular/router';\r\nimport { SdsNavigationRouteLinkComponent } from '../navigation-route-link/navigation-route-link.component';\r\n\r\nimport { faAngleUp, faAngleDown } from '@fortawesome/pro-regular-svg-icons';\r\nimport { filter, Subject, takeUntil } from 'rxjs';\r\nimport { isUrlPartOfNavigationGroup, removeQueryParams } from '../utils/navigation.utils';\r\nimport { DxoPositionModule } from 'devextreme-angular/ui/nested';\r\nimport { DxPopoverModule } from 'devextreme-angular/ui/popover';\r\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\r\nimport { NgIf } from '@angular/common';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-group',\r\n templateUrl: './navigation-group.component.html',\r\n styleUrls: ['./navigation-group.component.scss'],\r\n standalone: true,\r\n imports: [\r\n RouterLink,\r\n NgIf,\r\n FaIconComponent,\r\n DxPopoverModule,\r\n DxoPositionModule,\r\n ],\r\n})\r\nexport class SdsNavigationGroupComponent implements OnInit, OnDestroy, CollapsibleNavigationEntity {\r\n /**\r\n * List of paths allowed/expected within this module.\r\n * These are paths that are not accessible through child navigation\r\n * elements, but through links in other parts of the application (e.g. link\r\n * on form)\r\n */\r\n private _navigationGroupNestedRoutes: string[] = [];\r\n @Input()\r\n set navigationGroupNestedRoutes(value: string[]) {\r\n this._navigationGroupNestedRoutes = value;\r\n }\r\n get navigationGroupNestedRoutes() {\r\n return this._navigationGroupNestedRoutes;\r\n }\r\n\r\n @Input() text: string = '';\r\n @Input() icon: string = '';\r\n @Input() defaultRouterLink: string = '';\r\n @Input() reverse = false;\r\n @Input() ignoreQueryParamsInActiveRoute = false;\r\n @Input() disabled = false;\r\n @Input() showPopover = false;\r\n @Input() showPopoverHeader = false;\r\n\r\n lightStyle = input<boolean>(true);\r\n\r\n @ContentChildren(SdsNavigationRouteLinkComponent)\r\n routerLinkComponents: QueryList<SdsNavigationRouteLinkComponent> = new QueryList<SdsNavigationRouteLinkComponent>();\r\n\r\n active: boolean = false;\r\n\r\n faAngleUpRegular = faAngleUp;\r\n faAngleDownRegular = faAngleDown;\r\n\r\n /**\r\n * Current app URL (e.g. ['layout-showcase', 'default'])\r\n */\r\n currentUrl: string[] = [];\r\n\r\n private _unsubscribe: Subject<void> = new Subject<void>();\r\n\r\n public isGroupActive: boolean = false;\r\n protected isActiveGroupClosed = false;\r\n\r\n\r\n constructor(private _router: Router) {}\r\n \r\n isCollapsed = model<boolean>(false);\r\n\r\n ngOnInit(): void {\r\n this._router.events.pipe(\r\n filter((event: any) => event instanceof NavigationEnd),\r\n takeUntil(this._unsubscribe)\r\n ).subscribe((event) => {\r\n if (event instanceof NavigationEnd) {\r\n const activeRoute = this.ignoreQueryParamsInActiveRoute ? removeQueryParams(event.urlAfterRedirects) : event.urlAfterRedirects;\r\n const route: string[] = activeRoute.split('/').filter(item => item.length > 0);\r\n this.currentUrl = route;\r\n this.isGroupActive = isUrlPartOfNavigationGroup(this.currentUrl, this.navigationGroupNestedRoutes, this.defaultRouterLink);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unsubscribe.next();\r\n this._unsubscribe.complete();\r\n }\r\n\r\n onHiding(e: any) {\r\n const popoverContent = e.component.content().parentNode;\r\n const isMouseInsidePopover = popoverContent.matches(':hover');\r\n e.cancel = isMouseInsidePopover;\r\n\r\n popoverContent.addEventListener('mouseleave', () => {\r\n popoverContent.removeEventListener('mouseleave', () => {});\r\n e.component.hide();\r\n\r\n });\r\n\r\n }\r\n}\r\n","<div \r\n #navigationGroup\r\n class=\"sds-navigation-group sds-navigation-item-container d-flex\"\r\n [class.sds-navigation-group-light-style]=\"lightStyle()\"\r\n [class.flex-column-reverse]=\"reverse\"\r\n [class.flex-column]=\"!reverse\"\r\n [class.disabled]=\"disabled\"\r\n [class.active]=\"isGroupActive\"\r\n [class.collapsed]=\"isCollapsed()\"\r\n >\r\n <a \r\n class=\"w-100 sds-navigation-item-content p-2 text-gray-800 sds-fs-93\"\r\n [class.collapsed]=\"isCollapsed()\"\r\n style=\"cursor: pointer\"\r\n [routerLink]=\"[defaultRouterLink]\">\r\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\r\n <div class=\"sds-navigation-icon\" >\r\n <ng-content select=\"[navigationIcon]\"></ng-content>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!isCollapsed()\">\r\n <div class=\"sds-navigation-text user-select-none\">\r\n {{ text }}\r\n </div>\r\n <div class=\"text-right\">\r\n <fa-icon *ngIf=\"!reverse\" [icon]=\"faAngleDownRegular\"></fa-icon>\r\n <fa-icon *ngIf=\"reverse\" [icon]=\"faAngleUpRegular\"></fa-icon>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </a>\r\n\r\n <div \r\n class=\"sub-menu\" \r\n *ngIf=\"!isCollapsed()\">\r\n\r\n <div class=\"sds-navigation-group-items sds-flex-column gap-05\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isCollapsed() || (showPopover && !isGroupActive)\">\r\n <dx-popover\r\n [target]=\"navigationGroup\"\r\n [showEvent]=\"{ name: 'dxhoverstart', delay: 100 }\"\r\n [hideEvent]=\"{ name: 'dxhoverend', delay: 100 }\"\r\n (onHiding)=\"onHiding($event)\"\r\n width=\"15rem\"\r\n [wrapperAttr]=\"{ class: 'sds-navigation-group-popover-wrapper sds-dx-popup-content-padding-2' }\"\r\n [hideOnOutsideClick]=\"true\"\r\n [hideOnParentScroll]=\"true\"\r\n [animation]=\"{}\"\r\n >\r\n\r\n <dxo-position\r\n my=\"top left\"\r\n at=\"top right\"\r\n [of]=\"navigationGroup\"\r\n offset=\"-12 0\"\r\n >\r\n </dxo-position>\r\n\r\n <div *ngIf=\"showPopoverHeader\" class=\"group-header user-select-none\">\r\n {{ text }}\r\n </div>\r\n <div \r\n class=\"sds-navigation-container sds-navigation-popover-container sds-scrollbar sds-scrollbar-thin sds-scrollbar-no-hide\"\r\n >\r\n <div class=\"sds-navigation-group-items\">\r\n <ng-content select=\"[popoverContent]\"></ng-content>\r\n </div>\r\n </div>\r\n </dx-popover>\r\n</ng-container>\r\n","import { Component, input, OnInit, signal, model } from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-separator',\r\n templateUrl: './navigation-separator.component.html',\r\n styleUrls: ['./navigation-separator.component.scss'],\r\n standalone: true\r\n})\r\nexport class SdsNavigationSeparatorComponent\r\n implements OnInit, CollapsibleNavigationEntity\r\n{\r\n isCollapsed = model<boolean>(false);\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div \r\n class=\"sds-navigation-separator nav-separator\">\r\n</div>\r\n","import { Component, input, Input, OnInit, signal, model } from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { NgIf } from '@angular/common';\r\n\r\n\r\n@Component({\r\n selector: 'sds-navigation-header',\r\n templateUrl: './navigation-header.component.html',\r\n styleUrls: ['./navigation-header.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf\r\n ]\r\n})\r\nexport class SdsNavigationHeaderComponent implements OnInit, CollapsibleNavigationEntity {\r\n @Input() text: string;\r\n \r\n isCollapsed = model<boolean>(false);\r\n \r\n constructor() {\r\n this.text = '';\r\n }\r\n\r\n ngOnInit(): void {}\r\n}\r\n","\r\n<div class=\"sds-navigation-header text-gray-800\">\r\n <span *ngIf=\"!isCollapsed()\">{{ text }}</span>\r\n</div>\r\n","import { Component, input, Input, OnInit, signal, model } from '@angular/core';\r\nimport { faExternalLink } from '@fortawesome/pro-regular-svg-icons';\r\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\r\nimport { NgIf } from '@angular/common';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-external-link',\r\n templateUrl: './navigation-external-link.component.html',\r\n styleUrls: ['./navigation-external-link.component.scss'],\r\n standalone: true,\r\n imports: [NgIf, FaIconComponent]\r\n})\r\nexport class SdsNavigationExternalLinkComponent implements OnInit, CollapsibleNavigationEntity {\r\n\r\n @Input() link: string = '';\r\n @Input() text: string = '';\r\n @Input() tabName: string = '_blank'\r\n @Input() externalLinkHint = '';\r\n @Input() showExternalLinkIcon = true;\r\n\r\n\r\n public externalLinkIcon = faExternalLink;\r\n\r\n isCollapsed = model<boolean>(false);\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n openLink(){\r\n window.open(this.link, this.tabName);\r\n }\r\n\r\n}\r\n","<div \r\n class=\"sds-navigation-external-link sds-navigation-item-container\"\r\n [title]=\"isCollapsed() ? text : ''\"\r\n >\r\n <a class=\"w-100 sds-navigation-item-content pe-2 text-gray-800 sds-fs-93\" (click)=\"openLink()\" >\r\n <div class=\"d-flex align-items-center justify-content-center position-relative\">\r\n <div class=\"sds-navigation-icon\" >\r\n <ng-content select=\"[navigationIcon]\"></ng-content>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!isCollapsed()\">\r\n \r\n <div class=\"sds-navigation-text\">\r\n <span>{{ text }}</span>\r\n </div>\r\n\r\n <div \r\n class=\"sds-navigation-external-link-info-container\">\r\n <fa-icon \r\n class=\"sds-navigation-external-link-info-icon\"\r\n *ngIf=\"showExternalLinkIcon\"\r\n\r\n [icon]=\"externalLinkIcon\"\r\n [size]=\"'xs'\"\r\n [title]=\"externalLinkHint\"\r\n >\r\n </fa-icon>\r\n </div> \r\n </ng-container>\r\n \r\n <ng-content></ng-content>\r\n\r\n </div>\r\n </a>\r\n</div>","import { ChangeDetectionStrategy, Component, signal, model } from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { NgIf } from '@angular/common';\r\n@Component({\r\n selector: 'sds-navigation-collapsible-frame',\r\n templateUrl: './navigation-collapsible-frame.component.html',\r\n styleUrls: ['./navigation-collapsible-frame.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf\r\n ],\r\n// changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SdsNavigationCollapsibleFrameComponent implements CollapsibleNavigationEntity {\r\n isCollapsed = model<boolean>(false);\r\n\r\n}\r\n\r\n\r\n","<ng-container *ngIf=\"!isCollapsed()\">\r\n <ng-content></ng-content>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isCollapsed()\">\r\n <ng-content select=\"[collapsed]\"></ng-content>\r\n</ng-container>\r\n\r\n","import { NgIf } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\n\r\n\r\n@Component({\r\n selector: 'sds-user-profile-action-button',\r\n templateUrl: './user-profile-action-button.component.html',\r\n styleUrls: ['./user-profile-action-button.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf,\r\n FontAwesomeModule\r\n]\r\n})\r\nexport class SdsUserProfileActionButtonComponent {\r\n @Input() text: string = '';\r\n @Input() icon?: IconProp;\r\n\r\n @Output() actionClick = new EventEmitter<void>();\r\n\r\n onActionClick(): void {\r\n this.actionClick.emit();\r\n }\r\n\r\n}\r\n","<a \r\n class=\"\r\n d-block \r\n text-black \r\n sds-navigation-user-profile-action-button \r\n sds-hoverable-150 \r\n sds-fs-93 \r\n sds-cursor-pointer\r\n \"\r\n (click)=\"onActionClick()\" \r\n>\r\n <fa-icon\r\n *ngIf=\"icon\"\r\n class=\"me-2\"\r\n [fixedWidth]=\"true\"\r\n [size]=\"'sm'\"\r\n [icon]=\"icon\">\r\n </fa-icon>\r\n\r\n <span>{{text}}</span>\r\n</a>","import { Component, EventEmitter, input, Input, model, OnInit, OnChanges, Output, signal, SimpleChanges } from '@angular/core';\r\nimport { DxPopoverModule } from 'devextreme-angular/ui/popover';\r\nimport { NgIf } from '@angular/common';\r\nimport { SdsAvatarComponent } from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { NavigationProfile } from './navigation-profile.model';\r\nimport { faSignOut, faUser } from '@fortawesome/pro-regular-svg-icons';\r\nimport { SdsUserProfileActionButtonComponent } from './components/user-profile-action-button/user-profile-action-button.component';\r\n\r\n\r\n@Component({\r\n selector: 'sds-navigation-user-profile',\r\n templateUrl: './navigation-user-profile.component.html',\r\n styleUrls: ['./navigation-user-profile.component.scss'],\r\n standalone: true,\r\n imports: [\r\n SdsAvatarComponent,\r\n SdsUserProfileActionButtonComponent,\r\n NgIf,\r\n DxPopoverModule,\r\n ],\r\n})\r\nexport class SdsNavigationUserProfileComponent implements OnInit, OnChanges, CollapsibleNavigationEntity {\r\n @Input() profile: NavigationProfile | null = null;\r\n @Input() profileInfo: string = '';\r\n\r\n @Input() showSignOut: boolean = true;\r\n @Input() showProfile: boolean = true;\r\n\r\n @Input() signOutText: string = 'Sign out';\r\n @Input() profileText: string = 'Profile';\r\n\r\n @Input() showNotificationBadge: boolean = false;\r\n @Input() newNotificationsText: string = 'New Notifications';\r\n\r\n @Output() profileClick: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() signOutClick: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n @Output() notificationBadgeClick: EventEmitter<void> = new EventEmitter<void>();\r\n \r\n @Input() showOptions: boolean = false;\r\n @Output() showOptionsChange: EventEmitter<boolean> = new EventEmitter<boolean>();\r\n\r\n protected userProfileIcon = faUser;\r\n protected signOutIcon = faSignOut\r\n\r\n constructor() {}\r\n \r\n isCollapsed = model<boolean>(false);\r\n sideBarInstanceName = input<string>('');\r\n\r\n ngOnInit(): void {}\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n // if (changes['activeProfileId'] || changes['profile'] || changes['additionalProfiles']) {\r\n // if (this.activeProfileId === null) {\r\n // this.activeProfile = this.profile;\r\n // } else if (this.activeProfileId === this.profile?.id) {\r\n // this.activeProfile = this.profile;\r\n // } else {\r\n // this.activeProfile = this.additionalProfiles.find(profile => profile.id === this.activeProfileId) || null;\r\n // }\r\n // }\r\n }\r\n\r\n public onProfileClick(): void {\r\n this.showOptions = false;\r\n this.showOptionsChange.emit(this.showOptions);\r\n this.profileClick.emit();\r\n }\r\n\r\n public onSignOutClick(): void {\r\n this.showOptions = false;\r\n this.showOptionsChange.emit(this.showOptions);\r\n this.signOutClick.emit();\r\n }\r\n\r\n public closeOptions(): void {\r\n this.showOptions = false;\r\n this.showOptionsChange.emit(this.showOptions);\r\n\r\n }\r\n\r\n public openOptions(): void {\r\n this.showOptions = true;\r\n this.showOptionsChange.emit(this.showOptions);\r\n }\r\n\r\n protected toggleOptions(event: MouseEvent): void {\r\n event.stopPropagation();\r\n this.showOptions = !this.showOptions;\r\n // console.log(this.showOptions);\r\n this.showOptionsChange.emit(this.showOptions);\r\n }\r\n\r\n public onNotificationBadgeClick(event: MouseEvent): void {\r\n event.stopPropagation();\r\n this.notificationBadgeClick.emit();\r\n }\r\n}\r\n","<div\r\n class=\"\r\n d-flex\r\n flex-row\r\n align-items-center\r\n gap-2\r\n sds-navigation-user-profile-container\r\n user-select-none\r\n mb-1 ms-1 me-1 mt-2\r\n pt-1 pb-1 ps-2\r\n sds-hoverable\r\n sds-rounded-2\r\n \"\r\n (click)=\"toggleOptions($event)\"\r\n>\r\n <div \r\n #popoverTarget\r\n class=\"\r\n position-relative\r\n\r\n \">\r\n <sds-avatar\r\n [text]=\"profile?.name\"\r\n [colorKey]=\"profile?.id\"\r\n [pictureUri]=\"profile?.pictureUri\"\r\n >\r\n </sds-avatar>\r\n\r\n <span\r\n *ngIf=\"showNotificationBadge\"\r\n class=\"\r\n position-absolute\r\n notification-badge\r\n translate-middle\r\n bg-danger\r\n border border-light\r\n rounded-circle\r\n \"\r\n (click)=\"onNotificationBadgeClick($event)\"\r\n >\r\n <span class=\"visually-hidden\">{{ newNotificationsText }}</span>\r\n </span>\r\n </div>\r\n\r\n @if(!isCollapsed()) {\r\n <div class=\"sds-flex-column\">\r\n <span class=\"truncate-two-lines text-gray-800 sds-fs-93\">\r\n {{ profile?.name }}\r\n </span>\r\n\r\n <span class=\"sds-fw-400 sds-fs-75 text-truncate text-muted\">\r\n {{ profileInfo }}\r\n </span>\r\n </div>\r\n }\r\n</div>\r\n\r\n<dx-popover\r\n [target]=\"popoverTarget\"\r\n [position]=\"{ my: 'left bottom', at: 'left top' }\"\r\n collision=\"fit none\"\r\n minWidth=\"20rem\"\r\n maxWidth=\"20rem\"\r\n [(visible)]=\"showOptions\"\r\n [wrapperAttr]=\"{\r\n class: 'sds-navigation-user-profile-popover sds-dx-popup-no-arrow sds-dx-popup-content-padding-0'\r\n }\"\r\n>\r\n <div class=\"py-2 pb-3 main-profile-container border-bottom\">\r\n\r\n <div class=\"sds-flex-column align-items-center\">\r\n <sds-avatar\r\n [text]=\"profile?.name\"\r\n [colorKey]=\"profile?.id\"\r\n [pictureUri]=\"profile?.pictureUri\"\r\n [size]=\"7\"\r\n >\r\n </sds-avatar>\r\n\r\n <h5 class=\"text-center mt-2 px-3\">\r\n {{profile?.name}}\r\n </h5>\r\n\r\n <div class=\"sds-fw-400 text-center text-gray-800 sds-fs-87 px-3 text-truncate w-100\">\r\n {{profile?.info}}\r\n </div>\r\n \r\n </div>\r\n\r\n </div>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ul\r\n class=\"\r\n list-unstyled\r\n sds-navigation-user-profile-actions\r\n mb-0\r\n sds-ul-gap-1\r\n mx-2\r\n mb-2\r\n \"\r\n >\r\n <li *ngIf=\"showProfile\">\r\n <sds-user-profile-action-button\r\n [text]=\"profileText\"\r\n [icon]=\"userProfileIcon\"\r\n (actionClick)=\"onProfileClick()\"\r\n >\r\n </sds-user-profile-action-button>\r\n </li>\r\n\r\n <li *ngIf=\"showSignOut\">\r\n <sds-user-profile-action-button\r\n [text]=\"signOutText\"\r\n [icon]=\"signOutIcon\"\r\n (actionClick)=\"onSignOutClick()\"\r\n >\r\n </sds-user-profile-action-button>\r\n </li>\r\n </ul>\r\n</dx-popover>\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ContentChildren,\r\n effect,\r\n ElementRef,\r\n input,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n QueryList,\r\n SimpleChanges,\r\n untracked,\r\n ViewChildren,\r\n model\r\n} from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { SdsNavigationGroupComponent } from '../navigation-group/navigation-group.component';\r\nimport { SdsNavigationRouteLinkComponent } from '../navigation-route-link/navigation-route-link.component';\r\nimport { SdsNavigationSeparatorComponent } from '../navigation-separator/navigation-separator.component';\r\nimport { SdsNavigationHeaderComponent } from '../navigation-header/navigation-header.component';\r\nimport { SdsNavigationExternalLinkComponent } from '../navigation-external-link/navigation-external-link.component';\r\nimport { SdsNavigationCollapsibleFrameComponent } from '../navigation-collapsible-frame/navigation-collapsible-frame.component';\r\nimport { SdsNavigationUserProfileComponent } from '../navigation-user-profile/navigation-user-profile.component';\r\n\r\n@Component({\r\n selector: 'sds-navigation-container',\r\n templateUrl: './navigation-container.component.html',\r\n styleUrls: ['./navigation-container.component.scss'],\r\n standalone: true,\r\n})\r\nexport class SdsNavigationContainerComponent implements OnInit, CollapsibleNavigationEntity\r\n{\r\n @Input() product: string;\r\n \r\n isCollapsed = model<boolean>(false);\r\n\r\n\r\n @ContentChildren(SdsNavigationGroupComponent) groupComponentChildren?: QueryList<SdsNavigationGroupComponent>;\r\n @ContentChildren(SdsNavigationRouteLinkComponent) routeLinkComponentChildren?: QueryList<SdsNavigationRouteLinkComponent>;\r\n @ContentChildren(SdsNavigationSeparatorComponent) separatorComponentChildren?: QueryList<SdsNavigationSeparatorComponent>;\r\n @ContentChildren(SdsNavigationHeaderComponent) headerComponentChildren?: QueryList<SdsNavigationHeaderComponent>;\r\n @ContentChildren(SdsNavigationExternalLinkComponent) externalLinkComponentChildren?: QueryList<SdsNavigationExternalLinkComponent>;\r\n @ContentChildren(SdsNavigationUserProfileComponent) userProfileComponentChildren?: QueryList<SdsNavigationUserProfileComponent>;\r\n @ContentChildren(SdsNavigationCollapsibleFrameComponent) collapsibleFrameComponentChildren?: QueryList<SdsNavigationCollapsibleFrameComponent>;\r\n \r\n\r\n\r\n\r\n constructor() {\r\n this.product = 'all-hours';\r\n\r\n effect(() => {\r\n const isCollapsed = this.isCollapsed();\r\n untracked(() => {\r\n this.setCollapsed(isCollapsed);\r\n });\r\n });\r\n }\r\n\r\n ngOnInit(): void {}\r\n\r\n private setCollapsed(isCollapsed: boolean): void {\r\n this.groupComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.routeLinkComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.separatorComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.headerComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.externalLinkComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.userProfileComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.collapsibleFrameComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n }\r\n}\r\n","<div \r\n class=\"sds-navigation-container\"\r\n [class]=\"'product-' + product\">\r\n <ng-content></ng-content>\r\n</div>","import { Component, Input } from '@angular/core';\r\nimport { NavigationProfile } from '../../navigation-profile.model';\r\nimport { SdsAvatarComponent } from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\n\r\n@Component({\r\n selector: 'sds-user-profile-tile',\r\n templateUrl: './user-profile-tile.component.html',\r\n styleUrls: ['./user-profile-tile.component.scss'],\r\n standalone: true,\r\n imports: [\r\n SdsAvatarComponent\r\n ]\r\n})\r\nexport class SdsUserProfileTileComponent {\r\n @Input() profile: NavigationProfile | null = null;\r\n @Input() emphasizeName: boolean = true;\r\n @Input() size: 'small' | 'medium' = 'medium';\r\n}\r\n","\r\n<div class=\"sds-flex-row-center gap-3\">\r\n <sds-avatar\r\n [text]=\"profile?.name\"\r\n [colorKey]=\"profile?.id\"\r\n [pictureUri]=\"profile?.pictureUri\"\r\n [size]=\"size === 'small' ? 2 : 3\"\r\n borderColor=\"white\"\r\n borderWidth=\"2\"\r\n >\r\n </sds-avatar>\r\n\r\n <div \r\n class=\"flex-grow-1 flex-shrink-1 text-body\"\r\n [style.minWidth.px]=\"1\"\r\n >\r\n <span \r\n class=\"sds-fs-100 text-truncate\"\r\n [class.sds-fs-100]=\"size === 'medium'\"\r\n [class.sds-fs-95]=\"size === 'small'\"\r\n [class.sds-fw-500]=\"emphasizeName\"\r\n >\r\n {{profile?.name}}\r\n </span>\r\n <div \r\n class=\"sds-fw-400 text-truncate text-gray-800\"\r\n [class.sds-fs-75]=\"size === 'medium'\"\r\n [class.sds-fs-75]=\"size === 'small'\"\r\n >\r\n {{profile?.info}}\r\n </div>\r\n </div>\r\n</div>\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { NavigationProfile } from '../../navigation-profile.model';\r\nimport { faEyeSlash } from '@fortawesome/pro-regular-svg-icons';\r\nimport { UserProfileSelectorContent } from './user-profile-selector.types';\r\nimport { SdsUserProfileActionButtonComponent } from '../user-profile-action-button/user-profile-action-button.component';\r\nimport { SdsUserProfileTileComponent } from '../user-profile-tile/user-profile-tile.component';\r\nimport { NgFor, NgIf } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'sds-user-profile-selector',\r\n templateUrl: './user-profile-selector.component.html',\r\n styleUrls: ['./user-profile-selector.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf,\r\n NgFor,\r\n SdsUserProfileTileComponent,\r\n SdsUserProfileActionButtonComponent\r\n ]\r\n})\r\nexport class SdsUserProfileSelectorComponent {\r\n\r\n @Input() content: UserProfileSelectorContent = 'profileList';\r\n @Input() profiles: NavigationProfile[] = [];\r\n @Input() selectDefaultProfileText: string = 'Stop Impersonation';\r\n @Input() switchText: string = 'Switch to';\r\n\r\n @Output() profileIdChange = new EventEmitter<string>();\r\n\r\n protected isSelectedOneOfProfiles: boolean = false;\r\n protected readonly SELECT_DEFAULT_PROFILE_ICON = faEyeSlash;\r\n\r\n public selectProfile(profileId: string): void {\r\n this.profileIdChange.emit(profileId);\r\n }\r\n\r\n public selectDefaultProfile(): void {\r\n this.profileIdChange.emit('');\r\n }\r\n\r\n}\r\n","<div class=\"mx-2\"> \r\n <div \r\n *ngIf=\"content === 'profileList' && profiles && profiles.length > 0\"\r\n class=\"pt-2 pb-3 mt-1 mb-2 ps-2 border-bottom\">\r\n\r\n <div class=\"sds-fs-75 py-1 mb-2 text-uppercase\">{{switchText}}</div>\r\n\r\n <ul class=\"list-unstyled mb-0 sds-ul-gap-1 ps-2 profile-list sds-scrollbar sds-scrollbar-thin\">\r\n <li\r\n class=\"rounded sds-hoverable-150 pe-2 py-1\"\r\n *ngFor=\"let profile of profiles\"\r\n >\r\n <sds-user-profile-tile\r\n class=\"sds-cursor-pointer\"\r\n [profile]=\"profile\"\r\n [size]=\"'small'\"\r\n [emphasizeName]=\"false\"\r\n (click)=\"selectProfile(profile.id)\"\r\n >\r\n </sds-user-profile-tile>\r\n </li>\r\n </ul>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"content === 'selectDefaultProfile'\"\r\n class=\"mt-2 mb-1\">\r\n <sds-user-profile-action-button\r\n [text]=\"selectDefaultProfileText\"\r\n [icon]=\"SELECT_DEFAULT_PROFILE_ICON\"\r\n (click)=\"selectDefaultProfile()\"\r\n >\r\n </sds-user-profile-action-button>\r\n </div>\r\n</div>","import { Component, EventEmitter, input, Input, model, OnInit, Output } from '@angular/core';\r\nimport { ProductModel } from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nimport { SdsAppSwitcherComponent } from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nimport { NgIf } from '@angular/common';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { faArrowLeftFromLine, faArrowRightFromLine, faSidebar } from '@fortawesome/pro-regular-svg-icons';\r\nimport { faSidebar as falSidebar} from '@fortawesome/pro-light-svg-icons';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\n\r\n\r\n@Component({\r\n selector: 'sds-product-home',\r\n templateUrl: './product-home.component.html',\r\n styleUrls: ['./product-home.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf, \r\n FontAwesomeModule,\r\n SdsAppSwitcherComponent\r\n ],\r\n})\r\nexport class SdsProductHomeComponent implements OnInit, CollapsibleNavigationEntity {\r\n\r\n @Input() public logoUrl?: string;\r\n @Input() public logoAltText?: string;\r\n @Input() public moduleTitle?: string;\r\n\r\n @Input() public showAppSwitcher = false;\r\n @Input() public appSwitcherProductCode: Number | undefined;\r\n @Input() public appSwitcherUserProductCodes: Number[] | undefined;\r\n @Input() public appSwitcherTenantProducts: ProductModel[] | undefined;\r\n @Input() public appSwitcherSwitchText: string = '';\r\n @Input() public appSwitcherDiscoverText: string = ''; \r\n\r\n textOpen = input<string>('Expand sidebar');\r\n textClose = input<string>('Collapse sidebar');\r\n\r\n @Input() public allowHeaderClick = false;\r\n\r\n @Output() public productSwitched: EventEmitter<ProductModel> = new EventEmitter<ProductModel>(); \r\n @Output() public headerClick: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n protected ICON_CLOSE = faArrowLeftFromLine;\r\n protected ICON_OPEN = faArrowRightFromLine;\r\n protected ICON_SIDEBAR = faSidebar;\r\n\r\n constructor() {}\r\n\r\n isCollapsed = model<boolean>(false);\r\n\r\n sideBarInstanceName = input<string>('');\r\n\r\n ngOnInit(): void {}\r\n\r\n protected onProductClick(product: ProductModel): void {\r\n this.productSwitched.emit(product);\r\n }\r\n\r\n protected onHeaderClick(): void {\r\n if (this. allowHeaderClick) {\r\n this.headerClick.emit();\r\n }\r\n }\r\n\r\n protected toggleState(): void {\r\n this.isCollapsed.set(!this.isCollapsed());\r\n }\r\n}\r\n","<div \r\n class=\"product-header pb-2 mb-2 align-items-start gap-2\"\r\n >\r\n @if(!isCollapsed()) {\r\n <sds-app-switcher\r\n *ngIf=\"showAppSwitcher\"\r\n class=\"app-switcher text-gray-800 sds-fs-93 sds-hoverable sds-rounded-2 p-1 d-flex align-items-center justify-content-center\"\r\n [productCode]=\"appSwitcherProductCode\"\r\n [userProductCodes]=\"appSwitcherUserProductCodes\"\r\n [tenantProducts]=\"appSwitcherTenantProducts\"\r\n [switchText]=\"appSwitcherSwitchText\"\r\n [discoverText]=\"appSwitcherDiscoverText\"\r\n (productClick)=\"onProductClick($event)\"\r\n >\r\n </sds-app-switcher>\r\n \r\n <div \r\n class=\"sds-flex-grow-shrink product-title\"\r\n (click)=\"onHeaderClick()\"\r\n [class.sds-cursor-pointer]=\"allowHeaderClick\"\r\n [title]=\"moduleTitle && isCollapsed() ? moduleTitle : ''\"\r\n >\r\n <div \r\n class=\"product-logo-container\"\r\n [class.collapsed]=\"isCollapsed()\"\r\n >\r\n <img\r\n class=\"product-logo\"\r\n [src]=\"logoUrl\" \r\n [alt]=\"logoAltText\"\r\n > \r\n </div>\r\n\r\n @if(moduleTitle && !isCollapsed()) {\r\n <h6 class=\"mt-2\">\r\n {{moduleTitle}}\r\n </h6>\r\n }\r\n </div>\r\n }\r\n\r\n <a \r\n class=\"\r\n toggle-collapsed-button \r\n text-gray-800 sds-fs-93 \r\n sds-hoverable sds-rounded-2 \r\n p-1 ml-2\r\n d-flex align-items-center justify-content-center\r\n sds-cursor-pointer\r\n \" \r\n (click)=\"toggleState()\" \r\n [title]=\"isCollapsed() ? textOpen() : textClose()\" \r\n >\r\n <fa-icon \r\n class=\"static-icon\"\r\n [icon]=\"ICON_SIDEBAR\" \r\n [fixedWidth]=\"true\"\r\n >\r\n </fa-icon>\r\n\r\n <fa-icon \r\n class=\"hover-icon\"\r\n [icon]=\"isCollapsed() ? ICON_OPEN : ICON_CLOSE\" \r\n [fixedWidth]=\"true\"\r\n >\r\n </fa-icon>\r\n </a>\r\n \r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;MAgBa,+BAA+B,CAAA;AAaxC,IAAA,WAAA,GAAA;AAZA;;;;AAIG;QACM,IAAI,CAAA,IAAA,GAAW,EAAE;QACjB,IAAI,CAAA,IAAA,GAAW,EAAE;QAEjB,IAAc,CAAA,cAAA,GAAuB,SAAS;QAE9C,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIzB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,KAAK,CAAC;;AAEnC,IAAA,QAAQ;+GAjBC,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,+BAA+B,4xBChB5C,8oCAwBM,EAAA,MAAA,EAAA,CAAA,wnBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDbE,gBAAgB,EAChB,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,uBAAA,EAAA,kBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,UAAU,oOACV,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA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,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,qSACjB,uBAAuB,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,kBAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGlB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAXnC,SAAS;+BACI,kBAAkB,EAAA,UAAA,EAGhB,IAAI,EACP,OAAA,EAAA;wBACL,IAAI;wBACJ,iBAAiB;wBACjB;AACH,qBAAA,EAAA,QAAA,EAAA,w4EAAA,EAAA,MAAA,EAAA,CAAA,uuBAAA,CAAA,EAAA;wDAIe,OAAO,EAAA,CAAA;sBAAtB;gBACe,WAAW,EAAA,CAAA;sBAA1B;gBACe,WAAW,EAAA,CAAA;sBAA1B;gBAEe,eAAe,EAAA,CAAA;sBAA9B;gBACe,sBAAsB,EAAA,CAAA;sBAArC;gBACe,2BAA2B,EAAA,CAAA;sBAA1C;gBACe,yBAAyB,EAAA,CAAA;sBAAxC;gBACe,qBAAqB,EAAA,CAAA;sBAApC;gBACe,uBAAuB,EAAA,CAAA;sBAAtC;gBAKe,gBAAgB,EAAA,CAAA;sBAA/B;gBAEgB,eAAe,EAAA,CAAA;sBAA/B;gBACgB,WAAW,EAAA,CAAA;sBAA3B;;;AExCL;;AAEG;;;;"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-navigation.mjs","sources":["../../../projects/ngx-sds-components/src/lib/navigation/navigation-route-link/navigation-route-link.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-route-link/navigation-route-link.component.html","../../../projects/ngx-sds-components/src/lib/navigation/utils/navigation.utils.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-group/navigation-group.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-group/navigation-group.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-separator/navigation-separator.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-separator/navigation-separator.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-header/navigation-header.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-header/navigation-header.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-external-link/navigation-external-link.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-external-link/navigation-external-link.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-container/navigation-container.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-container/navigation-container.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.html","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.html","../../../projects/ngx-sds-components/src/lib/navigation/product-home/product-home.component.ts","../../../projects/ngx-sds-components/src/lib/navigation/product-home/product-home.component.html","../../../projects/ngx-sds-components/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.ts"],"sourcesContent":["import { Component, input, Input, OnInit, signal, model } from '@angular/core';\r\nimport { NgIf } from '@angular/common';\r\nimport { RouterLinkActive, RouterLink } from '@angular/router';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-route-link',\r\n templateUrl: './navigation-route-link.component.html',\r\n styleUrls: ['./navigation-route-link.component.scss'],\r\n standalone: true,\r\n imports: [\r\n RouterLinkActive,\r\n RouterLink,\r\n NgIf,\r\n ],\r\n})\r\nexport class SdsNavigationRouteLinkComponent implements OnInit, CollapsibleNavigationEntity {\r\n /**\r\n * This variable is used as 'routerLink' attribute in the anchor tag.\r\n * \r\n * Is named 'link' to avoid conflict with the 'routerLink' directive.\r\n */\r\n @Input() link: string = '';\r\n @Input() text: string = '';\r\n\r\n @Input() additionalInfo: string | undefined = undefined;\r\n\r\n @Input() disabled = false;\r\n\r\n constructor() {\r\n }\r\n isCollapsed = model<boolean>(false);\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<!-- class=\"sds-navigation-router-link sidebar-item-x d-flex justify-content-start align-items-center sidebar-item-x py-1\"> -->\r\n<div \r\n class=\"sds-navigation-router-link sds-navigation-item-container\"\r\n [class.disabled]=\"disabled\"\r\n routerLinkActive=\"active\"\r\n [title]=\"isCollapsed() ? text : ''\"\r\n >\r\n <a class=\"sds-navigation-item-content w-100 pe-2 text-gray-800\" [routerLink]=\"link\">\r\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\r\n <div class=\"sds-navigation-icon\" >\r\n <ng-content select=\"[navigationIcon]\"></ng-content>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!isCollapsed()\">\r\n <div class=\"sds-navigation-text user-select-none\">\r\n {{ text }}\r\n </div>\r\n <span *ngIf=\"additionalInfo\"\r\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body\"\r\n >{{ additionalInfo }}</span\r\n > \r\n </ng-container>\r\n </div>\r\n </a>\r\n</div>","export function removeQueryParams(url: string): string {\r\n return url.split('?')[0];\r\n}\r\n\r\nexport function isUrlPartOfNavigationGroup(\r\n currentUrl: string[], \r\n nestedRoutes: string[], \r\n defaultGroupUrl: string): boolean {\r\n\r\n if (!currentUrl || currentUrl?.length === 0) {\r\n return false;\r\n }\r\n \r\n defaultGroupUrl = defaultGroupUrl.replace('/', '');\r\n \r\n if (nestedRoutes?.length > 0) {\r\n // Nested routes are provided. We should find out if current url is on the list of\r\n // the provided nested routes \r\n const currentUrlParts = currentUrl.slice();//.reverse();\r\n const routeItemIsPartOfNestedRoutes = nestedRoutes.some((routeName) => {\r\n const routeParts = routeName.split('/');//.reverse();\r\n return isSubsetOrSame(currentUrlParts, routeParts);\r\n });\r\n if (routeItemIsPartOfNestedRoutes) {\r\n return true;\r\n }\r\n }\r\n\r\n const currentUrlContainsGroupUrl = currentUrl.some(path => path === defaultGroupUrl);\r\n return currentUrlContainsGroupUrl;\r\n }\r\n\r\nfunction isSubsetOrSame(mainArray: string[], subArray: string[]): boolean {\r\n // if we have super wildcard we need to check reversed array\r\n // if (subArray.includes('**')) {\r\n const reversedMainArray = mainArray.slice(); //.reverse();\r\n const reversedSubArray = subArray.slice(); //.reverse();\r\n\r\n for (let i = 0; i < reversedSubArray.length; i++) {\r\n if (reversedSubArray[i] === '**') {\r\n return true;\r\n }\r\n if ((reversedMainArray[i] !== reversedSubArray[i]) && reversedSubArray[i] !== '*') {\r\n return false;\r\n }\r\n }\r\n return true;\r\n\r\n // } else {\r\n // if (subArray.length > mainArray.length) return false;\r\n\r\n // for (let i = 0; i < subArray.length; i++) {\r\n // if ((mainArray[i] !== subArray[i]) && subArray[i] !== '*') {\r\n // return false;\r\n // }\r\n // }\r\n // return true;\r\n // }\r\n}","import {\r\n AfterContentInit,\r\n Component,\r\n ContentChildren,\r\n input,\r\n Input,\r\n OnChanges,\r\n OnDestroy,\r\n OnInit,\r\n QueryList,\r\n signal,\r\n model,\r\n SimpleChanges,\r\n} from '@angular/core';\r\nimport { NavigationEnd, Router, RouterLink } from '@angular/router';\r\nimport { SdsNavigationRouteLinkComponent } from '../navigation-route-link/navigation-route-link.component';\r\n\r\nimport { faAngleUp, faAngleDown } from '@fortawesome/pro-regular-svg-icons';\r\nimport { filter, Subject, takeUntil } from 'rxjs';\r\nimport { isUrlPartOfNavigationGroup, removeQueryParams } from '../utils/navigation.utils';\r\nimport { DxoPositionModule } from 'devextreme-angular/ui/nested';\r\nimport { DxPopoverModule } from 'devextreme-angular/ui/popover';\r\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\r\nimport { NgIf } from '@angular/common';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-group',\r\n templateUrl: './navigation-group.component.html',\r\n styleUrls: ['./navigation-group.component.scss'],\r\n standalone: true,\r\n imports: [\r\n RouterLink,\r\n NgIf,\r\n FaIconComponent,\r\n DxPopoverModule,\r\n DxoPositionModule,\r\n ],\r\n})\r\nexport class SdsNavigationGroupComponent implements OnInit, OnDestroy, CollapsibleNavigationEntity, OnChanges {\r\n /**\r\n * List of paths allowed/expected within this module.\r\n * These are paths that are not accessible through child navigation\r\n * elements, but through links in other parts of the application (e.g. link\r\n * on form)\r\n */\r\n private _navigationGroupNestedRoutes: string[] = [];\r\n @Input()\r\n set navigationGroupNestedRoutes(value: string[]) {\r\n this._navigationGroupNestedRoutes = value;\r\n }\r\n get navigationGroupNestedRoutes() {\r\n return this._navigationGroupNestedRoutes;\r\n }\r\n\r\n @Input() text: string = '';\r\n @Input() icon: string = '';\r\n @Input() defaultRouterLink: string = '';\r\n @Input() reverse = false;\r\n @Input() ignoreQueryParamsInActiveRoute = false;\r\n @Input() disabled = false;\r\n @Input() showPopover = false;\r\n @Input() showPopoverHeader = false;\r\n\r\n lightStyle = input<boolean>(true);\r\n\r\n @ContentChildren(SdsNavigationRouteLinkComponent)\r\n routerLinkComponents: QueryList<SdsNavigationRouteLinkComponent> = new QueryList<SdsNavigationRouteLinkComponent>();\r\n\r\n active: boolean = false;\r\n\r\n faAngleUpRegular = faAngleUp;\r\n faAngleDownRegular = faAngleDown;\r\n\r\n /**\r\n * Current app URL (e.g. ['layout-showcase', 'default'])\r\n */\r\n currentUrl: string[] = [];\r\n\r\n private _unsubscribe: Subject<void> = new Subject<void>();\r\n\r\n public isGroupActive: boolean = false;\r\n protected isActiveGroupClosed = false;\r\n\r\n\r\n constructor(private _router: Router) {}\r\n \r\n isCollapsed = model<boolean>(false);\r\n\r\n ngOnInit(): void {\r\n this._router.events.pipe(\r\n filter((event: any) => event instanceof NavigationEnd),\r\n takeUntil(this._unsubscribe)\r\n ).subscribe((event) => {\r\n if (event instanceof NavigationEnd) {\r\n const activeRoute = this.ignoreQueryParamsInActiveRoute ? removeQueryParams(event.urlAfterRedirects) : event.urlAfterRedirects;\r\n const route: string[] = activeRoute.split('/').filter(item => item.length > 0);\r\n this.currentUrl = route;\r\n this.isGroupActive = isUrlPartOfNavigationGroup(this.currentUrl, this.navigationGroupNestedRoutes, this.defaultRouterLink);\r\n\r\n console.debug(`Nav group [${this.text}] active check (NavigationEnd): isGroupActive = ${this.isGroupActive} for route ${this.currentUrl}, navigationGroupNestedRoutes = ${this.navigationGroupNestedRoutes}, defaultRouterLink = ${this.defaultRouterLink}`);\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['navigationGroupNestedRoutes'] || changes['defaultRouterLink']) {\r\n const activeRoute = this.ignoreQueryParamsInActiveRoute ? removeQueryParams(this._router.url) : this._router.url;\r\n const route: string[] = activeRoute.split('/').filter(item => item.length > 0);\r\n this.currentUrl = route;\r\n\r\n this.isGroupActive = isUrlPartOfNavigationGroup(this.currentUrl, this.navigationGroupNestedRoutes, this.defaultRouterLink);\r\n console.debug(`Nav group [${this.text}] active check (onChanges): isGroupActive = ${this.isGroupActive} for route ${this.currentUrl}, navigationGroupNestedRoutes = ${this.navigationGroupNestedRoutes}, defaultRouterLink = ${this.defaultRouterLink}`);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unsubscribe.next();\r\n this._unsubscribe.complete();\r\n }\r\n\r\n onHiding(e: any) {\r\n const popoverContent = e.component.content().parentNode;\r\n const isMouseInsidePopover = popoverContent.matches(':hover');\r\n e.cancel = isMouseInsidePopover;\r\n\r\n popoverContent.addEventListener('mouseleave', () => {\r\n popoverContent.removeEventListener('mouseleave', () => {});\r\n e.component.hide();\r\n\r\n });\r\n\r\n }\r\n}\r\n","<div \r\n #navigationGroup\r\n class=\"sds-navigation-group sds-navigation-item-container d-flex\"\r\n [class.sds-navigation-group-light-style]=\"lightStyle()\"\r\n [class.flex-column-reverse]=\"reverse\"\r\n [class.flex-column]=\"!reverse\"\r\n [class.disabled]=\"disabled\"\r\n [class.active]=\"isGroupActive\"\r\n [class.collapsed]=\"isCollapsed()\"\r\n >\r\n <a \r\n class=\"w-100 sds-navigation-item-content p-2 text-gray-800 sds-fs-93\"\r\n [class.collapsed]=\"isCollapsed()\"\r\n style=\"cursor: pointer\"\r\n [routerLink]=\"isCollapsed() ? undefined : [defaultRouterLink]\">\r\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\r\n <div class=\"sds-navigation-icon\" >\r\n <ng-content select=\"[navigationIcon]\"></ng-content>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!isCollapsed()\">\r\n <div class=\"sds-navigation-text user-select-none\">\r\n {{ text }}\r\n </div>\r\n <div class=\"text-right\">\r\n <fa-icon *ngIf=\"!reverse\" [icon]=\"faAngleDownRegular\"></fa-icon>\r\n <fa-icon *ngIf=\"reverse\" [icon]=\"faAngleUpRegular\"></fa-icon>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </a>\r\n\r\n <div \r\n class=\"sub-menu\" \r\n *ngIf=\"!isCollapsed()\">\r\n\r\n <div class=\"sds-navigation-group-items sds-flex-column gap-05\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isCollapsed() || (showPopover && !isGroupActive)\">\r\n <dx-popover\r\n [target]=\"navigationGroup\"\r\n [showEvent]=\"{ name: 'dxhoverstart', delay: 100 }\"\r\n [hideEvent]=\"{ name: 'dxhoverend', delay: 100 }\"\r\n (onHiding)=\"onHiding($event)\"\r\n width=\"15rem\"\r\n [wrapperAttr]=\"{ class: 'sds-navigation-group-popover-wrapper sds-dx-popup-content-padding-2' }\"\r\n [hideOnOutsideClick]=\"true\"\r\n [hideOnParentScroll]=\"true\"\r\n [animation]=\"{}\"\r\n >\r\n\r\n <dxo-position\r\n my=\"top left\"\r\n at=\"top right\"\r\n [of]=\"navigationGroup\"\r\n offset=\"-12 0\"\r\n >\r\n </dxo-position>\r\n\r\n <div *ngIf=\"showPopoverHeader\" class=\"group-header user-select-none\">\r\n {{ text }}\r\n </div>\r\n <div \r\n class=\"sds-navigation-container sds-navigation-popover-container sds-scrollbar sds-scrollbar-thin sds-scrollbar-no-hide\"\r\n >\r\n <div class=\"sds-navigation-group-items\">\r\n <ng-content select=\"[popoverContent]\"></ng-content>\r\n </div>\r\n </div>\r\n </dx-popover>\r\n</ng-container>\r\n","import { Component, input, OnInit, signal, model } from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-separator',\r\n templateUrl: './navigation-separator.component.html',\r\n styleUrls: ['./navigation-separator.component.scss'],\r\n standalone: true\r\n})\r\nexport class SdsNavigationSeparatorComponent\r\n implements OnInit, CollapsibleNavigationEntity\r\n{\r\n isCollapsed = model<boolean>(false);\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div \r\n class=\"sds-navigation-separator nav-separator\">\r\n</div>\r\n","import { Component, input, Input, OnInit, signal, model } from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { NgIf } from '@angular/common';\r\n\r\n\r\n@Component({\r\n selector: 'sds-navigation-header',\r\n templateUrl: './navigation-header.component.html',\r\n styleUrls: ['./navigation-header.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf\r\n ]\r\n})\r\nexport class SdsNavigationHeaderComponent implements OnInit, CollapsibleNavigationEntity {\r\n @Input() text: string;\r\n \r\n isCollapsed = model<boolean>(false);\r\n \r\n constructor() {\r\n this.text = '';\r\n }\r\n\r\n ngOnInit(): void {}\r\n}\r\n","\r\n<div class=\"sds-navigation-header text-gray-800\">\r\n <span *ngIf=\"!isCollapsed()\">{{ text }}</span>\r\n</div>\r\n","import { Component, input, Input, OnInit, signal, model } from '@angular/core';\r\nimport { faExternalLink } from '@fortawesome/pro-regular-svg-icons';\r\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\r\nimport { NgIf } from '@angular/common';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\n\r\n@Component({\r\n selector: 'sds-navigation-external-link',\r\n templateUrl: './navigation-external-link.component.html',\r\n styleUrls: ['./navigation-external-link.component.scss'],\r\n standalone: true,\r\n imports: [NgIf, FaIconComponent]\r\n})\r\nexport class SdsNavigationExternalLinkComponent implements OnInit, CollapsibleNavigationEntity {\r\n\r\n @Input() link: string = '';\r\n @Input() text: string = '';\r\n @Input() tabName: string = '_blank'\r\n @Input() externalLinkHint = '';\r\n @Input() showExternalLinkIcon = true;\r\n\r\n\r\n public externalLinkIcon = faExternalLink;\r\n\r\n isCollapsed = model<boolean>(false);\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n openLink(){\r\n window.open(this.link, this.tabName);\r\n }\r\n\r\n}\r\n","<div \r\n class=\"sds-navigation-external-link sds-navigation-item-container\"\r\n [title]=\"isCollapsed() ? text : ''\"\r\n >\r\n <a class=\"w-100 sds-navigation-item-content pe-2 text-gray-800 sds-fs-93\" (click)=\"openLink()\" >\r\n <div class=\"d-flex align-items-center justify-content-center position-relative\">\r\n <div class=\"sds-navigation-icon\" >\r\n <ng-content select=\"[navigationIcon]\"></ng-content>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!isCollapsed()\">\r\n \r\n <div class=\"sds-navigation-text\">\r\n <span>{{ text }}</span>\r\n </div>\r\n\r\n <div \r\n class=\"sds-navigation-external-link-info-container\">\r\n <fa-icon \r\n class=\"sds-navigation-external-link-info-icon\"\r\n *ngIf=\"showExternalLinkIcon\"\r\n\r\n [icon]=\"externalLinkIcon\"\r\n [size]=\"'xs'\"\r\n [title]=\"externalLinkHint\"\r\n >\r\n </fa-icon>\r\n </div> \r\n </ng-container>\r\n \r\n <ng-content></ng-content>\r\n\r\n </div>\r\n </a>\r\n</div>","import { ChangeDetectionStrategy, Component, signal, model } from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { NgIf } from '@angular/common';\r\n@Component({\r\n selector: 'sds-navigation-collapsible-frame',\r\n templateUrl: './navigation-collapsible-frame.component.html',\r\n styleUrls: ['./navigation-collapsible-frame.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf\r\n ],\r\n// changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SdsNavigationCollapsibleFrameComponent implements CollapsibleNavigationEntity {\r\n isCollapsed = model<boolean>(false);\r\n\r\n}\r\n\r\n\r\n","<ng-container *ngIf=\"!isCollapsed()\">\r\n <ng-content></ng-content>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isCollapsed()\">\r\n <ng-content select=\"[collapsed]\"></ng-content>\r\n</ng-container>\r\n\r\n","import { NgIf } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\n\r\n\r\n@Component({\r\n selector: 'sds-user-profile-action-button',\r\n templateUrl: './user-profile-action-button.component.html',\r\n styleUrls: ['./user-profile-action-button.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf,\r\n FontAwesomeModule\r\n]\r\n})\r\nexport class SdsUserProfileActionButtonComponent {\r\n @Input() text: string = '';\r\n @Input() icon?: IconProp;\r\n\r\n @Output() actionClick = new EventEmitter<void>();\r\n\r\n onActionClick(): void {\r\n this.actionClick.emit();\r\n }\r\n\r\n}\r\n","<a \r\n class=\"\r\n d-block \r\n text-black \r\n sds-navigation-user-profile-action-button \r\n sds-hoverable-150 \r\n sds-fs-93 \r\n sds-cursor-pointer\r\n \"\r\n (click)=\"onActionClick()\" \r\n>\r\n <fa-icon\r\n *ngIf=\"icon\"\r\n class=\"me-2\"\r\n [fixedWidth]=\"true\"\r\n [size]=\"'sm'\"\r\n [icon]=\"icon\">\r\n </fa-icon>\r\n\r\n <span>{{text}}</span>\r\n</a>","import { Component, EventEmitter, input, Input, model, OnInit, OnChanges, Output, signal, SimpleChanges } from '@angular/core';\r\nimport { DxPopoverModule } from 'devextreme-angular/ui/popover';\r\nimport { NgIf } from '@angular/common';\r\nimport { SdsAvatarComponent } from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { NavigationProfile } from './navigation-profile.model';\r\nimport { faSignOut, faUser } from '@fortawesome/pro-regular-svg-icons';\r\nimport { SdsUserProfileActionButtonComponent } from './components/user-profile-action-button/user-profile-action-button.component';\r\n\r\n\r\n@Component({\r\n selector: 'sds-navigation-user-profile',\r\n templateUrl: './navigation-user-profile.component.html',\r\n styleUrls: ['./navigation-user-profile.component.scss'],\r\n standalone: true,\r\n imports: [\r\n SdsAvatarComponent,\r\n SdsUserProfileActionButtonComponent,\r\n NgIf,\r\n DxPopoverModule,\r\n ],\r\n})\r\nexport class SdsNavigationUserProfileComponent implements OnInit, OnChanges, CollapsibleNavigationEntity {\r\n @Input() profile: NavigationProfile | null = null;\r\n @Input() profileInfo: string = '';\r\n\r\n @Input() showSignOut: boolean = true;\r\n @Input() showProfile: boolean = true;\r\n\r\n @Input() signOutText: string = 'Sign out';\r\n @Input() profileText: string = 'Profile';\r\n\r\n @Input() showNotificationBadge: boolean = false;\r\n @Input() newNotificationsText: string = 'New Notifications';\r\n\r\n @Output() profileClick: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() signOutClick: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n @Output() notificationBadgeClick: EventEmitter<void> = new EventEmitter<void>();\r\n \r\n @Input() showOptions: boolean = false;\r\n @Output() showOptionsChange: EventEmitter<boolean> = new EventEmitter<boolean>();\r\n\r\n protected userProfileIcon = faUser;\r\n protected signOutIcon = faSignOut\r\n\r\n constructor() {}\r\n \r\n isCollapsed = model<boolean>(false);\r\n sideBarInstanceName = input<string>('');\r\n\r\n ngOnInit(): void {}\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n // if (changes['activeProfileId'] || changes['profile'] || changes['additionalProfiles']) {\r\n // if (this.activeProfileId === null) {\r\n // this.activeProfile = this.profile;\r\n // } else if (this.activeProfileId === this.profile?.id) {\r\n // this.activeProfile = this.profile;\r\n // } else {\r\n // this.activeProfile = this.additionalProfiles.find(profile => profile.id === this.activeProfileId) || null;\r\n // }\r\n // }\r\n }\r\n\r\n public onProfileClick(): void {\r\n this.showOptions = false;\r\n this.showOptionsChange.emit(this.showOptions);\r\n this.profileClick.emit();\r\n }\r\n\r\n public onSignOutClick(): void {\r\n this.showOptions = false;\r\n this.showOptionsChange.emit(this.showOptions);\r\n this.signOutClick.emit();\r\n }\r\n\r\n public closeOptions(): void {\r\n this.showOptions = false;\r\n this.showOptionsChange.emit(this.showOptions);\r\n\r\n }\r\n\r\n public openOptions(): void {\r\n this.showOptions = true;\r\n this.showOptionsChange.emit(this.showOptions);\r\n }\r\n\r\n protected toggleOptions(event: MouseEvent): void {\r\n event.stopPropagation();\r\n this.showOptions = !this.showOptions;\r\n // console.log(this.showOptions);\r\n this.showOptionsChange.emit(this.showOptions);\r\n }\r\n\r\n public onNotificationBadgeClick(event: MouseEvent): void {\r\n event.stopPropagation();\r\n this.notificationBadgeClick.emit();\r\n }\r\n}\r\n","<div\r\n class=\"\r\n d-flex\r\n flex-row\r\n align-items-center\r\n gap-2\r\n sds-navigation-user-profile-container\r\n user-select-none\r\n mb-1 ms-1 me-1 mt-2\r\n pt-1 pb-1 ps-2\r\n sds-hoverable\r\n sds-rounded-2\r\n \"\r\n (click)=\"toggleOptions($event)\"\r\n>\r\n <div \r\n #popoverTarget\r\n class=\"\r\n position-relative\r\n\r\n \">\r\n <sds-avatar\r\n [text]=\"profile?.name\"\r\n [colorKey]=\"profile?.id\"\r\n [pictureUri]=\"profile?.pictureUri\"\r\n >\r\n </sds-avatar>\r\n\r\n <span\r\n *ngIf=\"showNotificationBadge\"\r\n class=\"\r\n position-absolute\r\n notification-badge\r\n translate-middle\r\n bg-danger\r\n border border-light\r\n rounded-circle\r\n \"\r\n (click)=\"onNotificationBadgeClick($event)\"\r\n >\r\n <span class=\"visually-hidden\">{{ newNotificationsText }}</span>\r\n </span>\r\n </div>\r\n\r\n @if(!isCollapsed()) {\r\n <div class=\"sds-flex-column\">\r\n <span class=\"truncate-two-lines text-gray-800 sds-fs-93\">\r\n {{ profile?.name }}\r\n </span>\r\n\r\n <span class=\"sds-fw-400 sds-fs-75 text-truncate text-muted\">\r\n {{ profileInfo }}\r\n </span>\r\n </div>\r\n }\r\n</div>\r\n\r\n<dx-popover\r\n [target]=\"popoverTarget\"\r\n [position]=\"{ my: 'left bottom', at: 'left top' }\"\r\n collision=\"fit none\"\r\n minWidth=\"20rem\"\r\n maxWidth=\"20rem\"\r\n [(visible)]=\"showOptions\"\r\n [wrapperAttr]=\"{\r\n class: 'sds-navigation-user-profile-popover sds-dx-popup-no-arrow sds-dx-popup-content-padding-0'\r\n }\"\r\n>\r\n <div class=\"py-2 pb-3 main-profile-container border-bottom\">\r\n\r\n <div class=\"sds-flex-column align-items-center\">\r\n <sds-avatar\r\n [text]=\"profile?.name\"\r\n [colorKey]=\"profile?.id\"\r\n [pictureUri]=\"profile?.pictureUri\"\r\n [size]=\"7\"\r\n >\r\n </sds-avatar>\r\n\r\n <h5 class=\"text-center mt-2 px-3\">\r\n {{profile?.name}}\r\n </h5>\r\n\r\n <div class=\"sds-fw-400 text-center text-gray-800 sds-fs-87 px-3 text-truncate w-100\">\r\n {{profile?.info}}\r\n </div>\r\n \r\n </div>\r\n\r\n </div>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ul\r\n class=\"\r\n list-unstyled\r\n sds-navigation-user-profile-actions\r\n mb-0\r\n sds-ul-gap-1\r\n mx-2\r\n mb-2\r\n \"\r\n >\r\n <li *ngIf=\"showProfile\">\r\n <sds-user-profile-action-button\r\n [text]=\"profileText\"\r\n [icon]=\"userProfileIcon\"\r\n (actionClick)=\"onProfileClick()\"\r\n >\r\n </sds-user-profile-action-button>\r\n </li>\r\n\r\n <li *ngIf=\"showSignOut\">\r\n <sds-user-profile-action-button\r\n [text]=\"signOutText\"\r\n [icon]=\"signOutIcon\"\r\n (actionClick)=\"onSignOutClick()\"\r\n >\r\n </sds-user-profile-action-button>\r\n </li>\r\n </ul>\r\n</dx-popover>\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ContentChildren,\r\n effect,\r\n ElementRef,\r\n input,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n QueryList,\r\n SimpleChanges,\r\n untracked,\r\n ViewChildren,\r\n model\r\n} from '@angular/core';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { SdsNavigationGroupComponent } from '../navigation-group/navigation-group.component';\r\nimport { SdsNavigationRouteLinkComponent } from '../navigation-route-link/navigation-route-link.component';\r\nimport { SdsNavigationSeparatorComponent } from '../navigation-separator/navigation-separator.component';\r\nimport { SdsNavigationHeaderComponent } from '../navigation-header/navigation-header.component';\r\nimport { SdsNavigationExternalLinkComponent } from '../navigation-external-link/navigation-external-link.component';\r\nimport { SdsNavigationCollapsibleFrameComponent } from '../navigation-collapsible-frame/navigation-collapsible-frame.component';\r\nimport { SdsNavigationUserProfileComponent } from '../navigation-user-profile/navigation-user-profile.component';\r\n\r\n@Component({\r\n selector: 'sds-navigation-container',\r\n templateUrl: './navigation-container.component.html',\r\n styleUrls: ['./navigation-container.component.scss'],\r\n standalone: true,\r\n})\r\nexport class SdsNavigationContainerComponent implements OnInit, CollapsibleNavigationEntity\r\n{\r\n @Input() product: string;\r\n \r\n isCollapsed = model<boolean>(false);\r\n\r\n\r\n @ContentChildren(SdsNavigationGroupComponent) groupComponentChildren?: QueryList<SdsNavigationGroupComponent>;\r\n @ContentChildren(SdsNavigationRouteLinkComponent) routeLinkComponentChildren?: QueryList<SdsNavigationRouteLinkComponent>;\r\n @ContentChildren(SdsNavigationSeparatorComponent) separatorComponentChildren?: QueryList<SdsNavigationSeparatorComponent>;\r\n @ContentChildren(SdsNavigationHeaderComponent) headerComponentChildren?: QueryList<SdsNavigationHeaderComponent>;\r\n @ContentChildren(SdsNavigationExternalLinkComponent) externalLinkComponentChildren?: QueryList<SdsNavigationExternalLinkComponent>;\r\n @ContentChildren(SdsNavigationUserProfileComponent) userProfileComponentChildren?: QueryList<SdsNavigationUserProfileComponent>;\r\n @ContentChildren(SdsNavigationCollapsibleFrameComponent) collapsibleFrameComponentChildren?: QueryList<SdsNavigationCollapsibleFrameComponent>;\r\n \r\n\r\n\r\n\r\n constructor() {\r\n this.product = 'all-hours';\r\n\r\n effect(() => {\r\n const isCollapsed = this.isCollapsed();\r\n untracked(() => {\r\n this.setCollapsed(isCollapsed);\r\n });\r\n });\r\n }\r\n\r\n ngOnInit(): void {}\r\n\r\n private setCollapsed(isCollapsed: boolean): void {\r\n this.groupComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.routeLinkComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.separatorComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.headerComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.externalLinkComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.userProfileComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n this.collapsibleFrameComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed);});\r\n }\r\n}\r\n","<div \r\n class=\"sds-navigation-container\"\r\n [class]=\"'product-' + product\">\r\n <ng-content></ng-content>\r\n</div>","import { Component, Input } from '@angular/core';\r\nimport { NavigationProfile } from '../../navigation-profile.model';\r\nimport { SdsAvatarComponent } from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\n\r\n@Component({\r\n selector: 'sds-user-profile-tile',\r\n templateUrl: './user-profile-tile.component.html',\r\n styleUrls: ['./user-profile-tile.component.scss'],\r\n standalone: true,\r\n imports: [\r\n SdsAvatarComponent\r\n ]\r\n})\r\nexport class SdsUserProfileTileComponent {\r\n @Input() profile: NavigationProfile | null = null;\r\n @Input() emphasizeName: boolean = true;\r\n @Input() size: 'small' | 'medium' = 'medium';\r\n}\r\n","\r\n<div class=\"sds-flex-row-center gap-3\">\r\n <sds-avatar\r\n [text]=\"profile?.name\"\r\n [colorKey]=\"profile?.id\"\r\n [pictureUri]=\"profile?.pictureUri\"\r\n [size]=\"size === 'small' ? 2 : 3\"\r\n borderColor=\"white\"\r\n borderWidth=\"2\"\r\n >\r\n </sds-avatar>\r\n\r\n <div \r\n class=\"flex-grow-1 flex-shrink-1 text-body\"\r\n [style.minWidth.px]=\"1\"\r\n >\r\n <span \r\n class=\"sds-fs-100 text-truncate\"\r\n [class.sds-fs-100]=\"size === 'medium'\"\r\n [class.sds-fs-95]=\"size === 'small'\"\r\n [class.sds-fw-500]=\"emphasizeName\"\r\n >\r\n {{profile?.name}}\r\n </span>\r\n <div \r\n class=\"sds-fw-400 text-truncate text-gray-800\"\r\n [class.sds-fs-75]=\"size === 'medium'\"\r\n [class.sds-fs-75]=\"size === 'small'\"\r\n >\r\n {{profile?.info}}\r\n </div>\r\n </div>\r\n</div>\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { NavigationProfile } from '../../navigation-profile.model';\r\nimport { faEyeSlash } from '@fortawesome/pro-regular-svg-icons';\r\nimport { UserProfileSelectorContent } from './user-profile-selector.types';\r\nimport { SdsUserProfileActionButtonComponent } from '../user-profile-action-button/user-profile-action-button.component';\r\nimport { SdsUserProfileTileComponent } from '../user-profile-tile/user-profile-tile.component';\r\nimport { NgFor, NgIf } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'sds-user-profile-selector',\r\n templateUrl: './user-profile-selector.component.html',\r\n styleUrls: ['./user-profile-selector.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf,\r\n NgFor,\r\n SdsUserProfileTileComponent,\r\n SdsUserProfileActionButtonComponent\r\n ]\r\n})\r\nexport class SdsUserProfileSelectorComponent {\r\n\r\n @Input() content: UserProfileSelectorContent = 'profileList';\r\n @Input() profiles: NavigationProfile[] = [];\r\n @Input() selectDefaultProfileText: string = 'Stop Impersonation';\r\n @Input() switchText: string = 'Switch to';\r\n\r\n @Output() profileIdChange = new EventEmitter<string>();\r\n\r\n protected isSelectedOneOfProfiles: boolean = false;\r\n protected readonly SELECT_DEFAULT_PROFILE_ICON = faEyeSlash;\r\n\r\n public selectProfile(profileId: string): void {\r\n this.profileIdChange.emit(profileId);\r\n }\r\n\r\n public selectDefaultProfile(): void {\r\n this.profileIdChange.emit('');\r\n }\r\n\r\n}\r\n","<div class=\"mx-2\"> \r\n <div \r\n *ngIf=\"content === 'profileList' && profiles && profiles.length > 0\"\r\n class=\"pt-2 pb-3 mt-1 mb-2 ps-2 border-bottom\">\r\n\r\n <div class=\"sds-fs-75 py-1 mb-2 text-uppercase\">{{switchText}}</div>\r\n\r\n <ul class=\"list-unstyled mb-0 sds-ul-gap-1 ps-2 profile-list sds-scrollbar sds-scrollbar-thin\">\r\n <li\r\n class=\"rounded sds-hoverable-150 pe-2 py-1\"\r\n *ngFor=\"let profile of profiles\"\r\n >\r\n <sds-user-profile-tile\r\n class=\"sds-cursor-pointer\"\r\n [profile]=\"profile\"\r\n [size]=\"'small'\"\r\n [emphasizeName]=\"false\"\r\n (click)=\"selectProfile(profile.id)\"\r\n >\r\n </sds-user-profile-tile>\r\n </li>\r\n </ul>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"content === 'selectDefaultProfile'\"\r\n class=\"mt-2 mb-1\">\r\n <sds-user-profile-action-button\r\n [text]=\"selectDefaultProfileText\"\r\n [icon]=\"SELECT_DEFAULT_PROFILE_ICON\"\r\n (click)=\"selectDefaultProfile()\"\r\n >\r\n </sds-user-profile-action-button>\r\n </div>\r\n</div>","import { Component, EventEmitter, input, Input, model, OnInit, Output } from '@angular/core';\r\nimport { ProductModel } from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nimport { SdsAppSwitcherComponent } from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nimport { NgIf } from '@angular/common';\r\nimport { CollapsibleNavigationEntity } from '../models/navigation-models';\r\nimport { faArrowLeftFromLine, faArrowRightFromLine, faSidebar } from '@fortawesome/pro-regular-svg-icons';\r\nimport { faSidebar as falSidebar} from '@fortawesome/pro-light-svg-icons';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\n\r\n\r\n@Component({\r\n selector: 'sds-product-home',\r\n templateUrl: './product-home.component.html',\r\n styleUrls: ['./product-home.component.scss'],\r\n standalone: true,\r\n imports: [\r\n NgIf, \r\n FontAwesomeModule,\r\n SdsAppSwitcherComponent\r\n ],\r\n})\r\nexport class SdsProductHomeComponent implements OnInit, CollapsibleNavigationEntity {\r\n\r\n @Input() public logoUrl?: string;\r\n @Input() public logoAltText?: string;\r\n @Input() public moduleTitle?: string;\r\n\r\n @Input() public showAppSwitcher = false;\r\n @Input() public appSwitcherProductCode: Number | undefined;\r\n @Input() public appSwitcherUserProductCodes: Number[] | undefined;\r\n @Input() public appSwitcherTenantProducts: ProductModel[] | undefined;\r\n @Input() public appSwitcherSwitchText: string = '';\r\n @Input() public appSwitcherDiscoverText: string = ''; \r\n\r\n textOpen = input<string>('Expand sidebar');\r\n textClose = input<string>('Collapse sidebar');\r\n\r\n @Input() public allowHeaderClick = false;\r\n\r\n @Output() public productSwitched: EventEmitter<ProductModel> = new EventEmitter<ProductModel>(); \r\n @Output() public headerClick: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n protected ICON_CLOSE = faArrowLeftFromLine;\r\n protected ICON_OPEN = faArrowRightFromLine;\r\n protected ICON_SIDEBAR = faSidebar;\r\n\r\n constructor() {}\r\n\r\n isCollapsed = model<boolean>(false);\r\n\r\n sideBarInstanceName = input<string>('');\r\n\r\n ngOnInit(): void {}\r\n\r\n protected onProductClick(product: ProductModel): void {\r\n this.productSwitched.emit(product);\r\n }\r\n\r\n protected onHeaderClick(): void {\r\n if (this. allowHeaderClick) {\r\n this.headerClick.emit();\r\n }\r\n }\r\n\r\n protected toggleState(): void {\r\n this.isCollapsed.set(!this.isCollapsed());\r\n }\r\n}\r\n","<div \r\n class=\"product-header pb-2 mb-2 align-items-start gap-2\"\r\n >\r\n @if(!isCollapsed()) {\r\n <sds-app-switcher\r\n *ngIf=\"showAppSwitcher\"\r\n class=\"app-switcher text-gray-800 sds-fs-93 sds-hoverable sds-rounded-2 p-1 d-flex align-items-center justify-content-center\"\r\n [productCode]=\"appSwitcherProductCode\"\r\n [userProductCodes]=\"appSwitcherUserProductCodes\"\r\n [tenantProducts]=\"appSwitcherTenantProducts\"\r\n [switchText]=\"appSwitcherSwitchText\"\r\n [discoverText]=\"appSwitcherDiscoverText\"\r\n (productClick)=\"onProductClick($event)\"\r\n >\r\n </sds-app-switcher>\r\n \r\n <div \r\n class=\"sds-flex-grow-shrink product-title\"\r\n (click)=\"onHeaderClick()\"\r\n [class.sds-cursor-pointer]=\"allowHeaderClick\"\r\n [title]=\"moduleTitle && isCollapsed() ? moduleTitle : ''\"\r\n >\r\n <div \r\n class=\"product-logo-container\"\r\n [class.collapsed]=\"isCollapsed()\"\r\n >\r\n <img\r\n class=\"product-logo\"\r\n [src]=\"logoUrl\" \r\n [alt]=\"logoAltText\"\r\n > \r\n </div>\r\n\r\n @if(moduleTitle && !isCollapsed()) {\r\n <h6 class=\"mt-2\">\r\n {{moduleTitle}}\r\n </h6>\r\n }\r\n </div>\r\n }\r\n\r\n <a \r\n class=\"\r\n toggle-collapsed-button \r\n text-gray-800 sds-fs-93 \r\n sds-hoverable sds-rounded-2 \r\n p-1 ml-2\r\n d-flex align-items-center justify-content-center\r\n sds-cursor-pointer\r\n \" \r\n (click)=\"toggleState()\" \r\n [title]=\"isCollapsed() ? textOpen() : textClose()\" \r\n >\r\n <fa-icon \r\n class=\"static-icon\"\r\n [icon]=\"ICON_SIDEBAR\" \r\n [fixedWidth]=\"true\"\r\n >\r\n </fa-icon>\r\n\r\n <fa-icon \r\n class=\"hover-icon\"\r\n [icon]=\"isCollapsed() ? ICON_OPEN : ICON_CLOSE\" \r\n [fixedWidth]=\"true\"\r\n >\r\n </fa-icon>\r\n </a>\r\n \r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;MAgBa,+BAA+B,CAAA;AAaxC,IAAA,WAAA,GAAA;AAZA;;;;AAIG;QACM,IAAI,CAAA,IAAA,GAAW,EAAE;QACjB,IAAI,CAAA,IAAA,GAAW,EAAE;QAEjB,IAAc,CAAA,cAAA,GAAuB,SAAS;QAE9C,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIzB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,KAAK,CAAC;;AAEnC,IAAA,QAAQ;+GAjBC,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,+BAA+B,4xBChB5C,8oCAw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;sBAA/B;gBACgB,WAAW,EAAA,CAAA;sBAA3B;;;AExCL;;AAEG;;;;"}
@@ -0,0 +1,110 @@
1
+ import * as i0 from '@angular/core';
2
+ import { HostListener, HostBinding, Input, Directive } from '@angular/core';
3
+
4
+ class SdsRippleDirective {
5
+ constructor(el, renderer) {
6
+ this.el = el;
7
+ this.renderer = renderer;
8
+ this.sdsRippleColor = 'rgba(255, 255, 255, 0.5)';
9
+ this.sdsRippleDuration = 600;
10
+ this.sdsRippleMaxConcurrent = 3;
11
+ this.addContainer = true;
12
+ this.position = 'relative';
13
+ this.overflow = 'hidden';
14
+ this.activeRipples = [];
15
+ }
16
+ onTouchStart(event) {
17
+ if (event.touches.length > 0) {
18
+ const touch = event.touches[0];
19
+ this.createRipple(touch.clientX, touch.clientY);
20
+ }
21
+ }
22
+ onMouseDown(event) {
23
+ // Only trigger on left click
24
+ if (event.button !== 0)
25
+ return;
26
+ this.createRipple(event.clientX, event.clientY);
27
+ }
28
+ createRipple(clientX, clientY) {
29
+ // Remove oldest ripple if at max capacity
30
+ if (this.activeRipples.length >= this.sdsRippleMaxConcurrent) {
31
+ const oldestRipple = this.activeRipples.shift();
32
+ if (oldestRipple?.parentNode) {
33
+ this.renderer.removeChild(this.el.nativeElement, oldestRipple);
34
+ }
35
+ }
36
+ const ripple = this.renderer.createElement('span');
37
+ this.renderer.addClass(ripple, 'sds-ripple');
38
+ const rect = this.el.nativeElement.getBoundingClientRect();
39
+ const size = Math.max(rect.width, rect.height) * 2;
40
+ const x = clientX - rect.left - size / 2;
41
+ const y = clientY - rect.top - size / 2;
42
+ const duration = Math.min(this.sdsRippleDuration, 1200);
43
+ this.renderer.setStyle(ripple, 'width', `${size}px`);
44
+ this.renderer.setStyle(ripple, 'height', `${size}px`);
45
+ this.renderer.setStyle(ripple, 'left', `${x}px`);
46
+ this.renderer.setStyle(ripple, 'top', `${y}px`);
47
+ this.renderer.setStyle(ripple, 'background-color', this.sdsRippleColor);
48
+ this.renderer.setStyle(ripple, 'animation-duration', `${duration}ms`);
49
+ this.renderer.appendChild(this.el.nativeElement, ripple);
50
+ this.activeRipples.push(ripple);
51
+ setTimeout(() => {
52
+ if (ripple.parentNode) {
53
+ this.renderer.removeChild(this.el.nativeElement, ripple);
54
+ }
55
+ const index = this.activeRipples.indexOf(ripple);
56
+ if (index > -1) {
57
+ this.activeRipples.splice(index, 1);
58
+ }
59
+ }, duration);
60
+ }
61
+ ngOnDestroy() {
62
+ // Clean up any remaining ripples
63
+ this.activeRipples.forEach(ripple => {
64
+ if (ripple.parentNode) {
65
+ this.renderer.removeChild(this.el.nativeElement, ripple);
66
+ }
67
+ });
68
+ this.activeRipples = [];
69
+ if (this.touchTimeout) {
70
+ clearTimeout(this.touchTimeout);
71
+ }
72
+ }
73
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SdsRippleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
74
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: SdsRippleDirective, isStandalone: true, selector: "[sdsRipple]", inputs: { sdsRippleColor: "sdsRippleColor", sdsRippleDuration: "sdsRippleDuration", sdsRippleMaxConcurrent: "sdsRippleMaxConcurrent" }, host: { listeners: { "touchstart": "onTouchStart($event)", "mousedown": "onMouseDown($event)" }, properties: { "class.sds-ripple-container": "this.addContainer", "style.position": "this.position", "style.overflow": "this.overflow" } }, ngImport: i0 }); }
75
+ }
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SdsRippleDirective, decorators: [{
77
+ type: Directive,
78
+ args: [{
79
+ selector: '[sdsRipple]',
80
+ standalone: true,
81
+ }]
82
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { sdsRippleColor: [{
83
+ type: Input
84
+ }], sdsRippleDuration: [{
85
+ type: Input
86
+ }], sdsRippleMaxConcurrent: [{
87
+ type: Input
88
+ }], addContainer: [{
89
+ type: HostBinding,
90
+ args: ['class.sds-ripple-container']
91
+ }], position: [{
92
+ type: HostBinding,
93
+ args: ['style.position']
94
+ }], overflow: [{
95
+ type: HostBinding,
96
+ args: ['style.overflow']
97
+ }], onTouchStart: [{
98
+ type: HostListener,
99
+ args: ['touchstart', ['$event']]
100
+ }], onMouseDown: [{
101
+ type: HostListener,
102
+ args: ['mousedown', ['$event']]
103
+ }] } });
104
+
105
+ /**
106
+ * Generated bundle index. Do not edit.
107
+ */
108
+
109
+ export { SdsRippleDirective };
110
+ //# sourceMappingURL=spicainternational-ngx-sds-components-src-lib-ripple.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-ripple.mjs","sources":["../../../projects/ngx-sds-components/src/lib/ripple/ripple.directive.ts","../../../projects/ngx-sds-components/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.ts"],"sourcesContent":["import {\r\n Directive,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n OnDestroy,\r\n Renderer2,\r\n} from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[sdsRipple]',\r\n standalone: true,\r\n})\r\nexport class SdsRippleDirective implements OnDestroy {\r\n @Input() sdsRippleColor: string = 'rgba(255, 255, 255, 0.5)';\r\n @Input() sdsRippleDuration: number = 600;\r\n @Input() sdsRippleMaxConcurrent: number = 3;\r\n\r\n @HostBinding('class.sds-ripple-container') addContainer = true;\r\n @HostBinding('style.position') position = 'relative';\r\n @HostBinding('style.overflow') overflow = 'hidden';\r\n\r\n private activeRipples: HTMLElement[] = [];\r\n private touchTimeout: any;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private renderer: Renderer2\r\n ) {}\r\n\r\n @HostListener('touchstart', ['$event'])\r\n onTouchStart(event: TouchEvent) {\r\n if (event.touches.length > 0) {\r\n const touch = event.touches[0];\r\n this.createRipple(touch.clientX, touch.clientY);\r\n }\r\n }\r\n\r\n @HostListener('mousedown', ['$event'])\r\n onMouseDown(event: MouseEvent) {\r\n // Only trigger on left click\r\n if (event.button !== 0) return;\r\n \r\n this.createRipple(event.clientX, event.clientY);\r\n }\r\n\r\n private createRipple(clientX: number, clientY: number) {\r\n // Remove oldest ripple if at max capacity\r\n if (this.activeRipples.length >= this.sdsRippleMaxConcurrent) {\r\n const oldestRipple = this.activeRipples.shift();\r\n if (oldestRipple?.parentNode) {\r\n this.renderer.removeChild(this.el.nativeElement, oldestRipple);\r\n }\r\n }\r\n\r\n const ripple = this.renderer.createElement('span');\r\n this.renderer.addClass(ripple, 'sds-ripple');\r\n\r\n const rect = this.el.nativeElement.getBoundingClientRect();\r\n const size = Math.max(rect.width, rect.height) * 2;\r\n const x = clientX - rect.left - size / 2;\r\n const y = clientY - rect.top - size / 2;\r\n\r\n const duration = Math.min(this.sdsRippleDuration, 1200);\r\n\r\n this.renderer.setStyle(ripple, 'width', `${size}px`);\r\n this.renderer.setStyle(ripple, 'height', `${size}px`);\r\n this.renderer.setStyle(ripple, 'left', `${x}px`);\r\n this.renderer.setStyle(ripple, 'top', `${y}px`);\r\n this.renderer.setStyle(ripple, 'background-color', this.sdsRippleColor);\r\n this.renderer.setStyle(ripple, 'animation-duration', `${duration}ms`);\r\n\r\n this.renderer.appendChild(this.el.nativeElement, ripple);\r\n this.activeRipples.push(ripple);\r\n\r\n setTimeout(() => {\r\n if (ripple.parentNode) {\r\n this.renderer.removeChild(this.el.nativeElement, ripple);\r\n }\r\n const index = this.activeRipples.indexOf(ripple);\r\n if (index > -1) {\r\n this.activeRipples.splice(index, 1);\r\n }\r\n }, duration);\r\n }\r\n\r\n ngOnDestroy() {\r\n // Clean up any remaining ripples\r\n this.activeRipples.forEach(ripple => {\r\n if (ripple.parentNode) {\r\n this.renderer.removeChild(this.el.nativeElement, ripple);\r\n }\r\n });\r\n this.activeRipples = [];\r\n \r\n if (this.touchTimeout) {\r\n clear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