@ascentgl/ads-ui 21.0.1 → 21.1.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.
Files changed (51) hide show
  1. package/README.md +7 -7
  2. package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs +2 -2
  3. package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs.map +1 -1
  4. package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +2 -2
  5. package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs.map +1 -1
  6. package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +2 -2
  7. package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs.map +1 -1
  8. package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs.map +1 -1
  9. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs +2 -2
  10. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs.map +1 -1
  11. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs +2 -2
  12. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs.map +1 -1
  13. package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs +2 -2
  14. package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs.map +1 -1
  15. package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +2 -2
  16. package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs.map +1 -1
  17. package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +2 -2
  18. package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs.map +1 -1
  19. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +2 -2
  20. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs.map +1 -1
  21. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +2 -2
  22. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs.map +1 -1
  23. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +2 -2
  24. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs.map +1 -1
  25. package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +2 -2
  26. package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs.map +1 -1
  27. package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs +2 -2
  28. package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs.map +1 -1
  29. package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +2 -2
  30. package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs.map +1 -1
  31. package/fesm2022/ascentgl-ads-ui.mjs +202 -202
  32. package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
  33. package/package.json +1 -1
  34. package/src/assets/sass/ads-ui/abstracts/_functions.scss +18 -18
  35. package/src/assets/sass/ads-ui/abstracts/_mixins.scss +90 -90
  36. package/src/assets/sass/ads-ui/abstracts/_variables.scss +127 -127
  37. package/src/assets/sass/ads-ui/base/_reset.scss +19 -19
  38. package/src/assets/sass/ads-ui/base/_typography.scss +179 -179
  39. package/src/assets/sass/ads-ui/base/_utilities.scss +104 -104
  40. package/src/assets/sass/ads-ui/main.scss +8 -8
  41. package/src/assets/sass/ads-ui/overrides/_angular-material.scss +8 -8
  42. package/src/assets/sass/ads-ui/overrides/angular-material/_bottom-sheet.scss +12 -12
  43. package/src/assets/sass/ads-ui/overrides/angular-material/_datetimepicker.scss +248 -248
  44. package/src/assets/sass/ads-ui/overrides/angular-material/_dropdown.scss +31 -31
  45. package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +14 -14
  46. package/src/assets/sass/ads-ui/overrides/angular-material/_mat-list.scss +47 -47
  47. package/src/assets/sass/ads-ui/overrides/angular-material/_menu.scss +89 -89
  48. package/src/assets/sass/ads-ui/overrides/angular-material/_search-dropdown-modal.scss +34 -34
  49. package/src/assets/sass/ads-ui/overrides/angular-material/_snackbar.scss +40 -40
  50. package/src/assets/sass/ads-ui/overrides/angular-material/_tooltip.scss +76 -76
  51. package/src/assets/sass/ads-ui/themes/_ads-palette.scss +98 -98
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # ads-ui
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Running unit tests
6
-
7
- Run `nx test ads-ui` to execute the unit tests.
1
+ # ads-ui
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test ads-ui` to execute the unit tests.
@@ -35,11 +35,11 @@ class AdsAvatarComponent {
35
35
  }
36
36
  }
37
37
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsAvatarComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: AdsAvatarComponent, isStandalone: false, selector: "ads-avatar", inputs: { alt: "alt", id: "id", size: "size", src: "src" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"avatar\" [ngClass]=\"size\">\r\n @if(src) {\r\n <img [src]=\"src\" [alt]=\"alt\" />\r\n } @else {\r\n <ads-icon\r\n [id]=\"id\"\r\n name=\"user_circle\"\r\n [size]=\"size\"\r\n theme=\"iconPrimary\"\r\n stroke=\"iconPrimary\"\r\n color=\"--color-medium\"\r\n />\r\n }\r\n</div>\r\n", styles: [".avatar{position:relative;width:32px;height:32px}.avatar.sm{width:24px;height:24px}.avatar.md{width:32px;height:32px}.avatar.lg{width:40px;height:40px}.avatar.lg ::ng-deep ads-icon{width:40px!important;height:40px!important}.avatar.lg ::ng-deep ads-icon svg{width:40px!important;height:40px!important}img{width:100%;height:100%;border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: AdsAvatarComponent, isStandalone: false, selector: "ads-avatar", inputs: { alt: "alt", id: "id", size: "size", src: "src" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"avatar\" [ngClass]=\"size\">\n @if(src) {\n <img [src]=\"src\" [alt]=\"alt\" />\n } @else {\n <ads-icon\n [id]=\"id\"\n name=\"user_circle\"\n [size]=\"size\"\n theme=\"iconPrimary\"\n stroke=\"iconPrimary\"\n color=\"--color-medium\"\n />\n }\n</div>\n", styles: [".avatar{position:relative;width:32px;height:32px}.avatar.sm{width:24px;height:24px}.avatar.md{width:32px;height:32px}.avatar.lg{width:40px;height:40px}.avatar.lg ::ng-deep ads-icon{width:40px!important;height:40px!important}.avatar.lg ::ng-deep ads-icon svg{width:40px!important;height:40px!important}img{width:100%;height:100%;border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
39
39
  }
40
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsAvatarComponent, decorators: [{
41
41
  type: Component,
42
- args: [{ selector: 'ads-avatar', standalone: false, template: "<div class=\"avatar\" [ngClass]=\"size\">\r\n @if(src) {\r\n <img [src]=\"src\" [alt]=\"alt\" />\r\n } @else {\r\n <ads-icon\r\n [id]=\"id\"\r\n name=\"user_circle\"\r\n [size]=\"size\"\r\n theme=\"iconPrimary\"\r\n stroke=\"iconPrimary\"\r\n color=\"--color-medium\"\r\n />\r\n }\r\n</div>\r\n", styles: [".avatar{position:relative;width:32px;height:32px}.avatar.sm{width:24px;height:24px}.avatar.md{width:32px;height:32px}.avatar.lg{width:40px;height:40px}.avatar.lg ::ng-deep ads-icon{width:40px!important;height:40px!important}.avatar.lg ::ng-deep ads-icon svg{width:40px!important;height:40px!important}img{width:100%;height:100%;border-radius:50%}\n"] }]
42
+ args: [{ selector: 'ads-avatar', standalone: false, template: "<div class=\"avatar\" [ngClass]=\"size\">\n @if(src) {\n <img [src]=\"src\" [alt]=\"alt\" />\n } @else {\n <ads-icon\n [id]=\"id\"\n name=\"user_circle\"\n [size]=\"size\"\n theme=\"iconPrimary\"\n stroke=\"iconPrimary\"\n color=\"--color-medium\"\n />\n }\n</div>\n", styles: [".avatar{position:relative;width:32px;height:32px}.avatar.sm{width:24px;height:24px}.avatar.md{width:32px;height:32px}.avatar.lg{width:40px;height:40px}.avatar.lg ::ng-deep ads-icon{width:40px!important;height:40px!important}.avatar.lg ::ng-deep ads-icon svg{width:40px!important;height:40px!important}img{width:100%;height:100%;border-radius:50%}\n"] }]
43
43
  }], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { alt: [{
44
44
  type: Input
45
45
  }], id: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-avatar.mjs","sources":["../../../../libs/ads-ui/src/lib/components/avatar/avatar.component.ts","../../../../libs/ads-ui/src/lib/components/avatar/avatar.component.html","../../../../libs/ads-ui/src/lib/components/avatar/avatar.module.ts","../../../../libs/ads-ui/src/lib/components/avatar/ascentgl-ads-ui-src-lib-components-avatar.ts"],"sourcesContent":["import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { AdsIconRegistry } from '@ascentgl/ads-icons';\r\nimport { adsIconUserCircle } from '@ascentgl/ads-icons/icons';\r\nimport { Size } from './avatar.types';\r\n\r\n@Component({\r\n selector: 'ads-avatar',\r\n templateUrl: './avatar.component.html',\r\n styleUrls: ['./avatar.component.scss'],\r\n standalone: false,\r\n})\r\nexport class AdsAvatarComponent implements OnChanges {\r\n constructor(private registry: AdsIconRegistry) {\r\n this.registry.register(adsIconUserCircle);\r\n }\r\n\r\n /**\r\n * The alt text for the avatar\r\n */\r\n @Input() alt?: string = 'Avatar for user';\r\n\r\n /**\r\n * The id attribute for the avatar icon\r\n */\r\n @Input() id = 'ads-avatar';\r\n\r\n /**\r\n * The size of the avatar\r\n */\r\n @Input() size: Size = 'md';\r\n\r\n /**\r\n * The path to the image to display\r\n */\r\n @Input() src?: string;\r\n\r\n /**\r\n * @ignore\r\n */\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes?.size?.currentValue) {\r\n this.size = changes.size.currentValue;\r\n }\r\n\r\n if (changes?.image?.currentValue) {\r\n this.src = changes.image.currentValue;\r\n }\r\n }\r\n}\r\n","<div class=\"avatar\" [ngClass]=\"size\">\r\n @if(src) {\r\n <img [src]=\"src\" [alt]=\"alt\" />\r\n } @else {\r\n <ads-icon\r\n [id]=\"id\"\r\n name=\"user_circle\"\r\n [size]=\"size\"\r\n theme=\"iconPrimary\"\r\n stroke=\"iconPrimary\"\r\n color=\"--color-medium\"\r\n />\r\n }\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AdsAvatarComponent } from './avatar.component';\r\nimport { AdsIconModule } from '@ascentgl/ads-icons';\r\n\r\n@NgModule({\r\n declarations: [AdsAvatarComponent],\r\n imports: [CommonModule, AdsIconModule],\r\n exports: [AdsAvatarComponent],\r\n})\r\nexport class AdsAvatarModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAWa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAAoB,QAAyB,EAAA;QAAzB,IAAA,CAAA,QAAQ,GAAR,QAAQ;AAI5B;;AAEG;QACM,IAAA,CAAA,GAAG,GA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AA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,cAGV,KAAK,EAAA,QAAA,EAAA,kVAAA,EAAA,MAAA,EAAA,CAAA,8VAAA,CAAA,EAAA;;sBAUhB;;sBAKA;;sBAKA;;sBAKA;;;MExBU,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,iBAJX,kBAAkB,CAAA,EAAA,OAAA,EAAA,CACvB,YAAY,EAAE,aAAa,aAC3B,kBAAkB,CAAA,EAAA,CAAA,CAAA;+GAEjB,eAAe,EAAA,OAAA,EAAA,CAHhB,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;;2FAG1B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,kBAAkB,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC9B,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-avatar.mjs","sources":["../../../../libs/ads-ui/src/lib/components/avatar/avatar.component.ts","../../../../libs/ads-ui/src/lib/components/avatar/avatar.component.html","../../../../libs/ads-ui/src/lib/components/avatar/avatar.module.ts","../../../../libs/ads-ui/src/lib/components/avatar/ascentgl-ads-ui-src-lib-components-avatar.ts"],"sourcesContent":["import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { AdsIconRegistry } from '@ascentgl/ads-icons';\nimport { adsIconUserCircle } from '@ascentgl/ads-icons/icons';\nimport { Size } from './avatar.types';\n\n@Component({\n selector: 'ads-avatar',\n templateUrl: './avatar.component.html',\n styleUrls: ['./avatar.component.scss'],\n standalone: false,\n})\nexport class AdsAvatarComponent implements OnChanges {\n constructor(private registry: AdsIconRegistry) {\n this.registry.register(adsIconUserCircle);\n }\n\n /**\n * The alt text for the avatar\n */\n @Input() alt?: string = 'Avatar for user';\n\n /**\n * The id attribute for the avatar icon\n */\n @Input() id = 'ads-avatar';\n\n /**\n * The size of the avatar\n */\n @Input() size: Size = 'md';\n\n /**\n * The path to the image to display\n */\n @Input() src?: string;\n\n /**\n * @ignore\n */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes?.size?.currentValue) {\n this.size = changes.size.currentValue;\n }\n\n if (changes?.image?.currentValue) {\n this.src = changes.image.currentValue;\n }\n }\n}\n","<div class=\"avatar\" [ngClass]=\"size\">\n @if(src) {\n <img [src]=\"src\" [alt]=\"alt\" />\n } @else {\n <ads-icon\n [id]=\"id\"\n name=\"user_circle\"\n [size]=\"size\"\n theme=\"iconPrimary\"\n stroke=\"iconPrimary\"\n color=\"--color-medium\"\n />\n }\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AdsAvatarComponent } from './avatar.component';\nimport { AdsIconModule } from '@ascentgl/ads-icons';\n\n@NgModule({\n declarations: [AdsAvatarComponent],\n imports: [CommonModule, AdsIconModule],\n exports: [AdsAvatarComponent],\n})\nexport class AdsAvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAWa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAAoB,QAAyB,EAAA;QAAzB,IAAA,CAAA,QAAQ,GAAR,QAAQ;AAI5B;;AAEG;QACM,IAAA,CAAA,GAAG,GAAY,iBAAiB;AAEzC;;AAEG;QACM,IAAA,CAAA,EAAE,GAAG,YAAY;AAE1B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AA,YAAY,cAGV,KAAK,EAAA,QAAA,EAAA,sTAAA,EAAA,MAAA,EAAA,CAAA,8VAAA,CAAA,EAAA;;sBAUhB;;sBAKA;;sBAKA;;sBAKA;;;MExBU,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,iBAJX,kBAAkB,CAAA,EAAA,OAAA,EAAA,CACvB,YAAY,EAAE,aAAa,aAC3B,kBAAkB,CAAA,EAAA,CAAA,CAAA;+GAEjB,eAAe,EAAA,OAAA,EAAA,CAHhB,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;;2FAG1B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,kBAAkB,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC9B,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -10,11 +10,11 @@ class AdsButtonContainerComponent {
10
10
  this.gap = input(16, ...(ngDevMode ? [{ debugName: "gap" }] : []));
11
11
  }
12
12
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsButtonContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0", type: AdsButtonContainerComponent, isStandalone: false, selector: "ads-button-container", inputs: { justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"button-container\" [style.justify-content]=\"justify()\" [style.gap]=\"gap() + 'px'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".button-container{display:flex}::ng-deep .button-container ads-button:first-child button.mat-raised-button.mat-button-base{margin-left:0}::ng-deep .button-container ads-button:last-child button.mat-raised-button.mat-button-base{margin-right:0}\n"] }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0", type: AdsButtonContainerComponent, isStandalone: false, selector: "ads-button-container", inputs: { justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"button-container\" [style.justify-content]=\"justify()\" [style.gap]=\"gap() + 'px'\">\n <ng-content></ng-content>\n</div>\n", styles: [".button-container{display:flex}::ng-deep .button-container ads-button:first-child button.mat-raised-button.mat-button-base{margin-left:0}::ng-deep .button-container ads-button:last-child button.mat-raised-button.mat-button-base{margin-right:0}\n"] }); }
14
14
  }
15
15
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsButtonContainerComponent, decorators: [{
16
16
  type: Component,
17
- args: [{ selector: 'ads-button-container', standalone: false, template: "<div class=\"button-container\" [style.justify-content]=\"justify()\" [style.gap]=\"gap() + 'px'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".button-container{display:flex}::ng-deep .button-container ads-button:first-child button.mat-raised-button.mat-button-base{margin-left:0}::ng-deep .button-container ads-button:last-child button.mat-raised-button.mat-button-base{margin-right:0}\n"] }]
17
+ args: [{ selector: 'ads-button-container', standalone: false, template: "<div class=\"button-container\" [style.justify-content]=\"justify()\" [style.gap]=\"gap() + 'px'\">\n <ng-content></ng-content>\n</div>\n", styles: [".button-container{display:flex}::ng-deep .button-container ads-button:first-child button.mat-raised-button.mat-button-base{margin-left:0}::ng-deep .button-container ads-button:last-child button.mat-raised-button.mat-button-base{margin-right:0}\n"] }]
18
18
  }], propDecorators: { justify: [{ type: i0.Input, args: [{ isSignal: true, alias: "justify", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }] } });
19
19
 
20
20
  class AdsButtonContainerModule {
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/buttons/button-container/button-container.component.ts","../../../../libs/ads-ui/src/lib/components/buttons/button-container/button-container.component.html","../../../../libs/ads-ui/src/lib/components/buttons/button-container/button-container.module.ts","../../../../libs/ads-ui/src/lib/components/buttons/button-container/ascentgl-ads-ui-src-lib-components-buttons-button-container.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ads-button-container',\r\n templateUrl: './button-container.component.html',\r\n styleUrls: ['./button-container.component.scss'],\r\n standalone: false,\r\n})\r\nexport class AdsButtonContainerComponent {\r\n /** How buttons in the container should be placed */\r\n justify = input<'flex-start' | 'flex-end' | 'center'>('flex-start');\r\n\r\n /** The gap between elements */\r\n gap = input<number>(16);\r\n}\r\n","<div class=\"button-container\" [style.justify-content]=\"justify()\" [style.gap]=\"gap() + 'px'\">\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AdsButtonContainerComponent } from './button-container.component';\r\n\r\n@NgModule({\r\n declarations: [AdsButtonContainerComponent],\r\n imports: [CommonModule],\r\n exports: [AdsButtonContainerComponent],\r\n})\r\nexport class AdsButtonContainerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,2BAA2B,CAAA;AANxC,IAAA,WAAA,GAAA;;AAQE,QAAA,IAAA,CAAA,OAAO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FAGX,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACvC,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/buttons/button-container/button-container.component.ts","../../../../libs/ads-ui/src/lib/components/buttons/button-container/button-container.component.html","../../../../libs/ads-ui/src/lib/components/buttons/button-container/button-container.module.ts","../../../../libs/ads-ui/src/lib/components/buttons/button-container/ascentgl-ads-ui-src-lib-components-buttons-button-container.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\n\n@Component({\n selector: 'ads-button-container',\n templateUrl: './button-container.component.html',\n styleUrls: ['./button-container.component.scss'],\n standalone: false,\n})\nexport class AdsButtonContainerComponent {\n /** How buttons in the container should be placed */\n justify = input<'flex-start' | 'flex-end' | 'center'>('flex-start');\n\n /** The gap between elements */\n gap = input<number>(16);\n}\n","<div class=\"button-container\" [style.justify-content]=\"justify()\" [style.gap]=\"gap() + 'px'\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AdsButtonContainerComponent } from './button-container.component';\n\n@NgModule({\n declarations: [AdsButtonContainerComponent],\n imports: [CommonModule],\n exports: [AdsButtonContainerComponent],\n})\nexport class AdsButtonContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,2BAA2B,CAAA;AANxC,IAAA,WAAA,GAAA;;AAQE,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAuC,YAAY,mDAAC;;AAGnE,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAAS,EAAE,+CAAC;AACxB,IAAA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BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACvC,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -449,11 +449,11 @@ class AdsDragAndDropListComponent {
449
449
  return this.draggedElement?.dom === element?.dom;
450
450
  }
451
451
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsDragAndDropListComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
452
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsDragAndDropListComponent, isStandalone: false, selector: "ads-drag-and-drop-list", inputs: { dropCallback: "dropCallback", canDropCallback: "canDropCallback", canDragCallback: "canDragCallback", minCountToDrag: "minCountToDrag", refresh: "refresh" }, viewQueries: [{ propertyName: "draggableList", first: true, predicate: ["draggableList"], descendants: true, read: ElementRef, static: true }, { propertyName: "dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<div class=\"draggable-list\" #draggableList (dragleave)=\"onListDragLeave($event)\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:block}:host ::ng-deep .draggable-list>*{box-sizing:border-box;background-color:var(--color-white);color:var(--color-dark)}:host ::ng-deep .draggable-list>*[draggable=true]{cursor:move}:host ::ng-deep .draggable-list>*.is-dragged{opacity:.25}:host ::ng-deep .draggable-list>*:not(.drag-placeholder){width:100%}:host ::ng-deep .draggable-list>*.dragged-over:not(.drop-blocked){background-color:var(--color-light-30)}\n"] }); }
452
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsDragAndDropListComponent, isStandalone: false, selector: "ads-drag-and-drop-list", inputs: { dropCallback: "dropCallback", canDropCallback: "canDropCallback", canDragCallback: "canDragCallback", minCountToDrag: "minCountToDrag", refresh: "refresh" }, viewQueries: [{ propertyName: "draggableList", first: true, predicate: ["draggableList"], descendants: true, read: ElementRef, static: true }, { propertyName: "dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<div class=\"draggable-list\" #draggableList (dragleave)=\"onListDragLeave($event)\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}:host ::ng-deep .draggable-list>*{box-sizing:border-box;background-color:var(--color-white);color:var(--color-dark)}:host ::ng-deep .draggable-list>*[draggable=true]{cursor:move}:host ::ng-deep .draggable-list>*.is-dragged{opacity:.25}:host ::ng-deep .draggable-list>*:not(.drag-placeholder){width:100%}:host ::ng-deep .draggable-list>*.dragged-over:not(.drop-blocked){background-color:var(--color-light-30)}\n"] }); }
453
453
  }
454
454
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsDragAndDropListComponent, decorators: [{
455
455
  type: Component,
456
- args: [{ selector: 'ads-drag-and-drop-list', standalone: false, template: "<div class=\"draggable-list\" #draggableList (dragleave)=\"onListDragLeave($event)\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:block}:host ::ng-deep .draggable-list>*{box-sizing:border-box;background-color:var(--color-white);color:var(--color-dark)}:host ::ng-deep .draggable-list>*[draggable=true]{cursor:move}:host ::ng-deep .draggable-list>*.is-dragged{opacity:.25}:host ::ng-deep .draggable-list>*:not(.drag-placeholder){width:100%}:host ::ng-deep .draggable-list>*.dragged-over:not(.drop-blocked){background-color:var(--color-light-30)}\n"] }]
456
+ args: [{ selector: 'ads-drag-and-drop-list', standalone: false, template: "<div class=\"draggable-list\" #draggableList (dragleave)=\"onListDragLeave($event)\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}:host ::ng-deep .draggable-list>*{box-sizing:border-box;background-color:var(--color-white);color:var(--color-dark)}:host ::ng-deep .draggable-list>*[draggable=true]{cursor:move}:host ::ng-deep .draggable-list>*.is-dragged{opacity:.25}:host ::ng-deep .draggable-list>*:not(.drag-placeholder){width:100%}:host ::ng-deep .draggable-list>*.dragged-over:not(.drop-blocked){background-color:var(--color-light-30)}\n"] }]
457
457
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { draggableList: [{
458
458
  type: ViewChild,
459
459
  args: ['draggableList', { read: ElementRef, static: true }]
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs","sources":["../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/dom.element.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/dragged.placeholder.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.html","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/drag-and-drop-list.module.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.ts"],"sourcesContent":["import { dragAndDropListClass } from './drag-and-drop-list.enums';\r\n\r\nexport class DomElement {\r\n constructor(private domElement: HTMLElement) {}\r\n\r\n get dom(): HTMLElement {\r\n return this.domElement;\r\n }\r\n\r\n canDrop(): boolean {\r\n return !this.dom.classList.contains(dragAndDropListClass.NO_DROP);\r\n }\r\n\r\n canDrag(): boolean {\r\n return !this.dom.classList.contains(dragAndDropListClass.NO_DRAG);\r\n }\r\n\r\n isDropBlocked(): boolean {\r\n return this.dom.classList.contains(dragAndDropListClass.DROP_BLOCKED);\r\n }\r\n\r\n makeDraggable(): void {\r\n this.dom.setAttribute('draggable', 'true');\r\n }\r\n\r\n makeUnDraggable(): void {\r\n this.dom.removeAttribute('draggable');\r\n }\r\n\r\n unblockDrop(): void {\r\n this.dom.classList.remove(dragAndDropListClass.DROP_BLOCKED);\r\n }\r\n\r\n clone(): HTMLElement {\r\n const clone: HTMLElement = this.dom.cloneNode(true) as HTMLElement;\r\n\r\n clone.classList.add(dragAndDropListClass.DRAGGED_PLACEHOLDER);\r\n\r\n const targetRect: DOMRect = this.dom.getBoundingClientRect();\r\n\r\n /**\r\n * preserve target dimensions\r\n */\r\n clone.style.width = targetRect.width + 'px';\r\n clone.style.height = targetRect.height + 'px';\r\n\r\n /**\r\n * modify clone styles\r\n */\r\n Object.assign(clone.style, {\r\n position: 'fixed', //required to allow free dragging of the clone\r\n pointerEvents: 'none', // required to allow drag events for items under the clone\r\n zIndex: '1000', // required to make sure that draggable element is positioned over other elements\r\n });\r\n\r\n return clone;\r\n }\r\n\r\n blockDrop(): void {\r\n this.dom.classList.add(dragAndDropListClass.DROP_BLOCKED);\r\n }\r\n\r\n draggedOver(): void {\r\n this.dom.classList.add(dragAndDropListClass.DRAGGED_OVER);\r\n }\r\n\r\n draggedOut(): void {\r\n this.dom.classList.remove(dragAndDropListClass.DRAGGED_OVER);\r\n this.unblockDrop();\r\n }\r\n\r\n isDragged(): void {\r\n this.dom.classList.add(dragAndDropListClass.IS_DRAGGED);\r\n }\r\n\r\n isNotDragged(): void {\r\n this.dom.classList.remove(dragAndDropListClass.IS_DRAGGED);\r\n }\r\n}\r\n","import { DomElement } from './dom.element';\r\nimport { Renderer2 } from '@angular/core';\r\n\r\ntype COORDS = { x: number; y: number };\r\n\r\nexport class DraggedPlaceholder {\r\n readonly domElement: HTMLElement;\r\n private readonly positions: { x: number; y: number } = { x: 0, y: 0 };\r\n private readonly scrollUnsubscribeFunction?: () => void;\r\n private cursorPos: COORDS = { x: 0, y: 0 };\r\n\r\n constructor(\r\n element: DomElement,\r\n container: HTMLElement,\r\n event: DragEvent,\r\n private renderer: Renderer2,\r\n ) {\r\n this.domElement = element.clone();\r\n\r\n /**\r\n * get target element DOMRect data\r\n */\r\n const targetRect: DOMRect = element.dom.getBoundingClientRect();\r\n\r\n /**\r\n * save cursor position relative to target element\r\n * this will help calculate dragged item position relative to the cursor\r\n */\r\n this.positions = {\r\n x: event.clientX - targetRect.left,\r\n y: event.clientY - targetRect.top,\r\n };\r\n\r\n this.hideDefaultDragPlaceholder(event);\r\n\r\n /**\r\n * add clone to the list\r\n */\r\n container.append(this.domElement);\r\n\r\n this.scrollUnsubscribeFunction = this.renderer.listen('document', 'scroll', (): void => {\r\n this.setDomPosition();\r\n });\r\n\r\n /**\r\n * make initial placeholder positioning\r\n */\r\n this.reposition(event);\r\n }\r\n\r\n remove(): void {\r\n this.domElement.remove();\r\n\r\n if (this.scrollUnsubscribeFunction) {\r\n this.scrollUnsubscribeFunction();\r\n }\r\n }\r\n\r\n reposition(event: MouseEvent): void {\r\n this.cursorPos = { x: event.clientX, y: event.clientY };\r\n this.setDomPosition();\r\n }\r\n\r\n private setDomPosition(): void {\r\n /**\r\n * position placeholder relative to the cursor\r\n */\r\n this.domElement.style.left = this.cursorPos.x - this.positions.x + 'px';\r\n this.domElement.style.top = this.cursorPos.y - this.positions.y + 'px';\r\n }\r\n\r\n private hideDefaultDragPlaceholder(event: DragEvent): void {\r\n const placeholder: HTMLImageElement = document.createElement('img');\r\n placeholder.src = 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==';\r\n\r\n Object.assign(placeholder.style, {\r\n display: 'block',\r\n width: '0',\r\n height: '0',\r\n });\r\n\r\n /**\r\n * replace default browser drag placeholder with transparent image\r\n */\r\n event.dataTransfer?.setDragImage(placeholder, 0, 0);\r\n }\r\n}\r\n","import { AfterContentInit, Component, ElementRef, Input, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { DomElement } from './dom.element';\r\nimport { DraggedPlaceholder } from './dragged.placeholder';\r\nimport { dragAndDropListClass } from './drag-and-drop-list.enums';\r\nimport { GENERIC_COLLECTION } from '@ascentgl/ads-utils';\r\n\r\nexport type DROP_CALLBACK_INDEXES = { before: number; after: number };\r\nexport type UNSUBSCRIBE_FUNCTIONS_COLLECTION = GENERIC_COLLECTION<() => void>;\r\n\r\n@Component({\r\n selector: 'ads-drag-and-drop-list',\r\n styleUrls: ['drag-and-drop-list.component.scss'],\r\n templateUrl: 'drag-and-drop-list.component.html',\r\n standalone: false,\r\n})\r\nexport class AdsDragAndDropListComponent implements OnInit, AfterContentInit, OnDestroy {\r\n /** @ignore */\r\n @ViewChild('draggableList', { read: ElementRef, static: true }) draggableList?: ElementRef;\r\n /** @ignore */\r\n @ViewChild('dynamicContent', { read: ElementRef, static: true }) dynamicContent?: ElementRef;\r\n\r\n /** This external method will be called after the item is dropped into new position */\r\n @Input() dropCallback?: (sourceIndexes: DROP_CALLBACK_INDEXES, targetIndexes: DROP_CALLBACK_INDEXES) => void;\r\n\r\n /** Callback function that can be used to determine if item can be dropped on the selected target */\r\n @Input() canDropCallback?: (sourceIndex: number, targetIndex: number) => boolean;\r\n\r\n /** Callback function that can be used to determine if item can be dragged */\r\n @Input() canDragCallback?: (sourceIndex: number) => boolean;\r\n\r\n /** If total items count is less than this value, drag&drop will be disabled */\r\n @Input() minCountToDrag = 2;\r\n\r\n /** Provide subject element, which will allow to refresh the list. NOTE: refreshing is required every time the list is updated from the outside */\r\n @Input() refresh: Subject<void> = new Subject<void>();\r\n\r\n /** @ignore */\r\n private draggedElement: DomElement | null = null;\r\n /** @ignore */\r\n private draggedPlaceholder: DraggedPlaceholder | null = null;\r\n /** @ignore */\r\n private unsubscribeFromDocumentDragOver?: () => void;\r\n /** @ignore */\r\n private unsubscribeFunctions: Map<HTMLElement, UNSUBSCRIBE_FUNCTIONS_COLLECTION> = new Map();\r\n /** @ignore */\r\n private ngUnsubscribe: Subject<void> = new Subject();\r\n\r\n private draggedOverElement: DomElement | null = null;\r\n\r\n /** @ignore */\r\n constructor(private renderer: Renderer2) {}\r\n\r\n /** @ignore */\r\n ngOnInit(): void {\r\n /**\r\n * if refresh command was emitted - refresh elements\r\n * NOTE: we do it in timeout to allow DOM to redraw first\r\n */\r\n this.refresh.pipe(takeUntil(this.ngUnsubscribe)).subscribe((): void => {\r\n setTimeout(() => this.refreshElements());\r\n });\r\n }\r\n\r\n /** @ignore */\r\n ngAfterContentInit(): void {\r\n this.refreshElements();\r\n }\r\n\r\n /** @ignore */\r\n ngOnDestroy(): void {\r\n this.unsubscribeFromEventListeners();\r\n this.ngUnsubscribe.next();\r\n this.ngUnsubscribe.complete();\r\n }\r\n\r\n /** @ignore */\r\n onListDragLeave(event: DragEvent): void {\r\n /**\r\n * if we dragged out of the element - unselect it\r\n */\r\n if (\r\n event.relatedTarget instanceof HTMLElement &&\r\n this.draggedOverElement &&\r\n !this.draggedOverElement.dom.contains(event.relatedTarget)\r\n ) {\r\n this.unselectDraggedOverElement();\r\n }\r\n }\r\n\r\n /** @ignore */\r\n onDragStart = (event: DragEvent): void => {\r\n /**\r\n * NOTE: register dragover for document body to overcome Firefox issue where clientX and clientY are 0 in 'drag' event\r\n */\r\n this.unsubscribeFromDocumentDragOver = this.renderer.listen(document.body, 'dragover', this.onDragOverBody);\r\n\r\n /**\r\n * store currently dragged element\r\n */\r\n this.draggedElement = this.getElement(event);\r\n\r\n /**\r\n * replace default browser dragged element with the custom one\r\n */\r\n this.draggedPlaceholder = new DraggedPlaceholder(\r\n this.draggedElement,\r\n this.draggableList?.nativeElement,\r\n event,\r\n this.renderer,\r\n );\r\n\r\n /**\r\n * mark dragged element with special class\r\n */\r\n this.draggedElement.isDragged();\r\n\r\n /**\r\n * block drop into the dragged element\r\n */\r\n this.draggedElement.blockDrop();\r\n };\r\n\r\n /** @ignore */\r\n onDragEnd = (): void => {\r\n /**\r\n * remove special class from dragged element mark dragged element\r\n */\r\n this.draggedElement?.isNotDragged();\r\n\r\n this.draggedElement = null;\r\n\r\n /**\r\n * if we subscribed to document dragover - unsubscribe from it\r\n */\r\n if (this.unsubscribeFromDocumentDragOver) {\r\n this.unsubscribeFromDocumentDragOver();\r\n }\r\n\r\n /**\r\n * remove dragged placeholder from DOM\r\n */\r\n this.draggedPlaceholder?.remove();\r\n this.draggedPlaceholder = null;\r\n };\r\n\r\n /** @ignore\r\n * NOTE: we rely on onDragOver instead of DragEnter and DragLeave because those events also fire when we enter and leave\r\n * child elements - the behavior we don't need\r\n */\r\n onDragOver = (event: DragEvent): void => {\r\n /**\r\n * NOTE: this is required for \"drop\" event to work\r\n */\r\n event.preventDefault();\r\n\r\n /**\r\n * do nothing if we have no dragged element, or we are still over the same element\r\n */\r\n if (!this.draggedElement || this.draggedOverElement?.dom === event.currentTarget) {\r\n return;\r\n }\r\n\r\n /**\r\n * make sure previous dragged over element is marked as \"dragged out\"\r\n */\r\n this.unselectDraggedOverElement();\r\n\r\n this.draggedOverElement = this.getElement(event);\r\n\r\n /**\r\n * do nothing if dragged element and element, we are dragging over is the same\r\n */\r\n if (this.isDraggingOverSelf(this.draggedOverElement)) {\r\n return;\r\n }\r\n\r\n this.draggedOverElement.draggedOver();\r\n\r\n /**\r\n * if drop is blocked - add special class to the dragged element\r\n */\r\n if (this.canDrop()) {\r\n this.draggedOverElement.unblockDrop();\r\n } else {\r\n this.draggedOverElement.blockDrop();\r\n }\r\n };\r\n\r\n /** @ignore */\r\n onDrop = (event: DragEvent): void => {\r\n /**\r\n * if drop is blocked - do nothing\r\n */\r\n if (!this.canDrop()) return;\r\n\r\n this.unselectDraggedOverElement();\r\n\r\n const target: DomElement = this.getElement(event);\r\n\r\n /**\r\n * preserve drop blocked state before cleaning classes - it will be needed later\r\n */\r\n const isTargetBlocked: boolean = target.isDropBlocked();\r\n\r\n this.getElement(event).draggedOut();\r\n\r\n /**\r\n * if we have no dragged element, we are dropping on self or target is blocked - do nothing\r\n */\r\n if (!this.draggedElement || this.isDraggingOverSelf(target) || isTargetBlocked) {\r\n return;\r\n }\r\n\r\n const sourceIndex: number = this.getElementIndex(this.draggedElement);\r\n const targetIndex: number = this.getElementIndex(target);\r\n\r\n /**\r\n * if source index is less than target index - means we are dragging down;\r\n * otherwise we are dragging up\r\n * NOTE: we utilise \"before\" method for element insertion in both cases, because \"after\" can\r\n * break order of \"drag-static\" elements (if they are present)\r\n */\r\n if (sourceIndex < targetIndex) {\r\n const allElements: HTMLElement[] = this.getAllElements();\r\n\r\n /**\r\n * loop through all element beginning with next to the currently dragged element\r\n * and ending with drop target element and move all of them up;\r\n * this will result in target element being moved down to required position\r\n */\r\n for (let i: number = sourceIndex + 1; i <= targetIndex; i++) {\r\n const target: HTMLElement = allElements[i];\r\n\r\n if (target) {\r\n this.draggedElement.dom.before(target);\r\n }\r\n }\r\n } else {\r\n target.dom.before(this.draggedElement.dom);\r\n }\r\n\r\n /**\r\n * if possible emit indexes old and new indexes of the repositioned items\r\n */\r\n if (this.dropCallback) {\r\n this.dropCallback(\r\n {\r\n before: sourceIndex,\r\n after: this.getElementIndex(this.draggedElement),\r\n },\r\n {\r\n before: targetIndex,\r\n after: this.getElementIndex(target),\r\n },\r\n );\r\n }\r\n };\r\n\r\n /** @ignore */\r\n onMouseEnter = (event: MouseEvent): void => {\r\n this.setCanDrag(this.getElement(event));\r\n };\r\n\r\n /** @ignore */\r\n private unselectDraggedOverElement(): void {\r\n /**\r\n * make sure previous dragged over element is marked as \"dragged out\"\r\n */\r\n this.draggedOverElement?.draggedOut();\r\n this.draggedOverElement = null;\r\n }\r\n\r\n /** @ignore */\r\n private setCanDrag(element: DomElement): void {\r\n /**\r\n * if special class is set for the element - forbid dragging\r\n */\r\n if (!element.canDrag()) {\r\n element.makeUnDraggable();\r\n return;\r\n }\r\n\r\n /**\r\n * make sure dragging the item is not forbidden by external function\r\n */\r\n if (this.canDragCallback) {\r\n if (this.canDragCallback(this.getElementIndex(element))) {\r\n element.makeDraggable();\r\n } else {\r\n element.makeUnDraggable();\r\n }\r\n return;\r\n }\r\n element.makeDraggable();\r\n }\r\n\r\n /** @ignore */\r\n private onDragOverBody = (event: DragEvent): void => {\r\n this.draggedPlaceholder?.reposition(event);\r\n };\r\n\r\n /** @ignore */\r\n private canDrop(): boolean {\r\n if (!this.draggedElement || !this.draggedOverElement) return false;\r\n\r\n /**\r\n * if special class is set for the element - forbid dropping;\r\n * otherwise make sure dropping over the item is not forbidden by external function\r\n */\r\n if (!this.draggedOverElement.canDrop()) {\r\n return false;\r\n } else if (this.canDropCallback) {\r\n return this.canDropCallback(\r\n this.getElementIndex(this.draggedElement),\r\n this.getElementIndex(this.draggedOverElement),\r\n );\r\n }\r\n\r\n return true;\r\n }\r\n\r\n /** @ignore */\r\n private refreshElements(): void {\r\n /**\r\n * unsubscribe from all event listeners\r\n */\r\n this.unsubscribeFromEventListeners();\r\n\r\n /**\r\n * make sure no placeholder are still visible\r\n */\r\n document.querySelectorAll('.' + dragAndDropListClass.DRAGGED_PLACEHOLDER).forEach((element) => {\r\n element.remove();\r\n });\r\n\r\n /**\r\n * get all elements that can participate in drag and drop\r\n */\r\n const elements: HTMLElement[] = this.getAllElements();\r\n\r\n /**\r\n * make sure we have enough elements to continue\r\n */\r\n if (elements.length < this.minCountToDrag) {\r\n return;\r\n }\r\n\r\n /**\r\n * add required callbacks to all elements,\r\n * preserving their unsubscribe functions\r\n */\r\n elements.forEach((element: HTMLElement): void => {\r\n const functions: UNSUBSCRIBE_FUNCTIONS_COLLECTION = {};\r\n\r\n functions['dragstart'] = this.renderer.listen(element, 'dragstart', this.onDragStart);\r\n functions['dragend'] = this.renderer.listen(element, 'dragend', this.onDragEnd);\r\n functions['dragover'] = this.renderer.listen(element, 'dragover', this.onDragOver);\r\n functions['drop'] = this.renderer.listen(element, 'drop', this.onDrop);\r\n functions['mouseenter'] = this.renderer.listen(element, 'mouseenter', this.onMouseEnter);\r\n\r\n this.unsubscribeFunctions.set(element, functions);\r\n });\r\n }\r\n\r\n /** @ignore */\r\n private unsubscribeFromEventListeners(): void {\r\n this.unsubscribeFunctions.forEach((collection) => {\r\n Object.values(collection).forEach((func) => func());\r\n });\r\n\r\n this.unsubscribeFunctions = new Map();\r\n }\r\n\r\n /** @ignore */\r\n private getAllElements(): HTMLElement[] {\r\n const result: HTMLElement[] = [];\r\n\r\n if (this.draggableList) {\r\n /**\r\n * loop through immediate children of the list\r\n */\r\n (<HTMLElement[]>Array.from(this.draggableList.nativeElement.children)).forEach((element: HTMLElement): void => {\r\n /**\r\n * element is static if it has both \"no-drop\" and \"no-drag\" classes\r\n */\r\n const isStatic: boolean =\r\n element.classList.contains(dragAndDropListClass.NO_DROP) &&\r\n element.classList.contains(dragAndDropListClass.NO_DRAG);\r\n\r\n /**\r\n * ignore static elements and dragged placeholder element from the list\r\n */\r\n if (!isStatic && !element.classList.contains(dragAndDropListClass.DRAGGED_PLACEHOLDER)) {\r\n result.push(element);\r\n }\r\n });\r\n }\r\n\r\n return result;\r\n }\r\n\r\n /** @ignore */\r\n private getElement(event: DragEvent | MouseEvent): DomElement {\r\n return new DomElement(<HTMLElement>event.currentTarget);\r\n }\r\n\r\n /** @ignore */\r\n private getElementIndex(element: DomElement): number {\r\n return this.getAllElements().indexOf(element.dom);\r\n }\r\n\r\n /** @ignore */\r\n private isDraggingOverSelf(element: DomElement | null): boolean {\r\n return this.draggedElement?.dom === element?.dom;\r\n }\r\n}\r\n","<div class=\"draggable-list\" #draggableList (dragleave)=\"onListDragLeave($event)\">\r\n <ng-content></ng-content>\r\n</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { AdsDragAndDropListComponent } from './drag-and-drop-list.component';\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n exports: [AdsDragAndDropListComponent],\r\n declarations: [AdsDragAndDropListComponent],\r\n})\r\nexport class AdsDragAndDropListModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAEa,UAAU,CAAA;AACrB,IAAA,WAAA,CAAoB,UAAuB,EAAA;QAAvB,IAAA,CAAA,UAAU,GAAV,UAAU;IAAgB;AAE9C,IAAA,IAAI,GAAG,GAAA;QACL,OAAO,IAAI,CAAC,UAAU;IACxB;IAEA,OAAO,GAAA;QACL,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC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AA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC5C,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs","sources":["../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/dom.element.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/dragged.placeholder.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.html","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/drag-and-drop-list.module.ts","../../../../libs/ads-ui/src/lib/components/drag-and-drop-list/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.ts"],"sourcesContent":["import { dragAndDropListClass } from './drag-and-drop-list.enums';\n\nexport class DomElement {\n constructor(private domElement: HTMLElement) {}\n\n get dom(): HTMLElement {\n return this.domElement;\n }\n\n canDrop(): boolean {\n return !this.dom.classList.contains(dragAndDropListClass.NO_DROP);\n }\n\n canDrag(): boolean {\n return !this.dom.classList.contains(dragAndDropListClass.NO_DRAG);\n }\n\n isDropBlocked(): boolean {\n return this.dom.classList.contains(dragAndDropListClass.DROP_BLOCKED);\n }\n\n makeDraggable(): void {\n this.dom.setAttribute('draggable', 'true');\n }\n\n makeUnDraggable(): void {\n this.dom.removeAttribute('draggable');\n }\n\n unblockDrop(): void {\n this.dom.classList.remove(dragAndDropListClass.DROP_BLOCKED);\n }\n\n clone(): HTMLElement {\n const clone: HTMLElement = this.dom.cloneNode(true) as HTMLElement;\n\n clone.classList.add(dragAndDropListClass.DRAGGED_PLACEHOLDER);\n\n const targetRect: DOMRect = this.dom.getBoundingClientRect();\n\n /**\n * preserve target dimensions\n */\n clone.style.width = targetRect.width + 'px';\n clone.style.height = targetRect.height + 'px';\n\n /**\n * modify clone styles\n */\n Object.assign(clone.style, {\n position: 'fixed', //required to allow free dragging of the clone\n pointerEvents: 'none', // required to allow drag events for items under the clone\n zIndex: '1000', // required to make sure that draggable element is positioned over other elements\n });\n\n return clone;\n }\n\n blockDrop(): void {\n this.dom.classList.add(dragAndDropListClass.DROP_BLOCKED);\n }\n\n draggedOver(): void {\n this.dom.classList.add(dragAndDropListClass.DRAGGED_OVER);\n }\n\n draggedOut(): void {\n this.dom.classList.remove(dragAndDropListClass.DRAGGED_OVER);\n this.unblockDrop();\n }\n\n isDragged(): void {\n this.dom.classList.add(dragAndDropListClass.IS_DRAGGED);\n }\n\n isNotDragged(): void {\n this.dom.classList.remove(dragAndDropListClass.IS_DRAGGED);\n }\n}\n","import { DomElement } from './dom.element';\nimport { Renderer2 } from '@angular/core';\n\ntype COORDS = { x: number; y: number };\n\nexport class DraggedPlaceholder {\n readonly domElement: HTMLElement;\n private readonly positions: { x: number; y: number } = { x: 0, y: 0 };\n private readonly scrollUnsubscribeFunction?: () => void;\n private cursorPos: COORDS = { x: 0, y: 0 };\n\n constructor(\n element: DomElement,\n container: HTMLElement,\n event: DragEvent,\n private renderer: Renderer2,\n ) {\n this.domElement = element.clone();\n\n /**\n * get target element DOMRect data\n */\n const targetRect: DOMRect = element.dom.getBoundingClientRect();\n\n /**\n * save cursor position relative to target element\n * this will help calculate dragged item position relative to the cursor\n */\n this.positions = {\n x: event.clientX - targetRect.left,\n y: event.clientY - targetRect.top,\n };\n\n this.hideDefaultDragPlaceholder(event);\n\n /**\n * add clone to the list\n */\n container.append(this.domElement);\n\n this.scrollUnsubscribeFunction = this.renderer.listen('document', 'scroll', (): void => {\n this.setDomPosition();\n });\n\n /**\n * make initial placeholder positioning\n */\n this.reposition(event);\n }\n\n remove(): void {\n this.domElement.remove();\n\n if (this.scrollUnsubscribeFunction) {\n this.scrollUnsubscribeFunction();\n }\n }\n\n reposition(event: MouseEvent): void {\n this.cursorPos = { x: event.clientX, y: event.clientY };\n this.setDomPosition();\n }\n\n private setDomPosition(): void {\n /**\n * position placeholder relative to the cursor\n */\n this.domElement.style.left = this.cursorPos.x - this.positions.x + 'px';\n this.domElement.style.top = this.cursorPos.y - this.positions.y + 'px';\n }\n\n private hideDefaultDragPlaceholder(event: DragEvent): void {\n const placeholder: HTMLImageElement = document.createElement('img');\n placeholder.src = 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==';\n\n Object.assign(placeholder.style, {\n display: 'block',\n width: '0',\n height: '0',\n });\n\n /**\n * replace default browser drag placeholder with transparent image\n */\n event.dataTransfer?.setDragImage(placeholder, 0, 0);\n }\n}\n","import { AfterContentInit, Component, ElementRef, Input, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { DomElement } from './dom.element';\nimport { DraggedPlaceholder } from './dragged.placeholder';\nimport { dragAndDropListClass } from './drag-and-drop-list.enums';\nimport { GENERIC_COLLECTION } from '@ascentgl/ads-utils';\n\nexport type DROP_CALLBACK_INDEXES = { before: number; after: number };\nexport type UNSUBSCRIBE_FUNCTIONS_COLLECTION = GENERIC_COLLECTION<() => void>;\n\n@Component({\n selector: 'ads-drag-and-drop-list',\n styleUrls: ['drag-and-drop-list.component.scss'],\n templateUrl: 'drag-and-drop-list.component.html',\n standalone: false,\n})\nexport class AdsDragAndDropListComponent implements OnInit, AfterContentInit, OnDestroy {\n /** @ignore */\n @ViewChild('draggableList', { read: ElementRef, static: true }) draggableList?: ElementRef;\n /** @ignore */\n @ViewChild('dynamicContent', { read: ElementRef, static: true }) dynamicContent?: ElementRef;\n\n /** This external method will be called after the item is dropped into new position */\n @Input() dropCallback?: (sourceIndexes: DROP_CALLBACK_INDEXES, targetIndexes: DROP_CALLBACK_INDEXES) => void;\n\n /** Callback function that can be used to determine if item can be dropped on the selected target */\n @Input() canDropCallback?: (sourceIndex: number, targetIndex: number) => boolean;\n\n /** Callback function that can be used to determine if item can be dragged */\n @Input() canDragCallback?: (sourceIndex: number) => boolean;\n\n /** If total items count is less than this value, drag&drop will be disabled */\n @Input() minCountToDrag = 2;\n\n /** Provide subject element, which will allow to refresh the list. NOTE: refreshing is required every time the list is updated from the outside */\n @Input() refresh: Subject<void> = new Subject<void>();\n\n /** @ignore */\n private draggedElement: DomElement | null = null;\n /** @ignore */\n private draggedPlaceholder: DraggedPlaceholder | null = null;\n /** @ignore */\n private unsubscribeFromDocumentDragOver?: () => void;\n /** @ignore */\n private unsubscribeFunctions: Map<HTMLElement, UNSUBSCRIBE_FUNCTIONS_COLLECTION> = new Map();\n /** @ignore */\n private ngUnsubscribe: Subject<void> = new Subject();\n\n private draggedOverElement: DomElement | null = null;\n\n /** @ignore */\n constructor(private renderer: Renderer2) {}\n\n /** @ignore */\n ngOnInit(): void {\n /**\n * if refresh command was emitted - refresh elements\n * NOTE: we do it in timeout to allow DOM to redraw first\n */\n this.refresh.pipe(takeUntil(this.ngUnsubscribe)).subscribe((): void => {\n setTimeout(() => this.refreshElements());\n });\n }\n\n /** @ignore */\n ngAfterContentInit(): void {\n this.refreshElements();\n }\n\n /** @ignore */\n ngOnDestroy(): void {\n this.unsubscribeFromEventListeners();\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n /** @ignore */\n onListDragLeave(event: DragEvent): void {\n /**\n * if we dragged out of the element - unselect it\n */\n if (\n event.relatedTarget instanceof HTMLElement &&\n this.draggedOverElement &&\n !this.draggedOverElement.dom.contains(event.relatedTarget)\n ) {\n this.unselectDraggedOverElement();\n }\n }\n\n /** @ignore */\n onDragStart = (event: DragEvent): void => {\n /**\n * NOTE: register dragover for document body to overcome Firefox issue where clientX and clientY are 0 in 'drag' event\n */\n this.unsubscribeFromDocumentDragOver = this.renderer.listen(document.body, 'dragover', this.onDragOverBody);\n\n /**\n * store currently dragged element\n */\n this.draggedElement = this.getElement(event);\n\n /**\n * replace default browser dragged element with the custom one\n */\n this.draggedPlaceholder = new DraggedPlaceholder(\n this.draggedElement,\n this.draggableList?.nativeElement,\n event,\n this.renderer,\n );\n\n /**\n * mark dragged element with special class\n */\n this.draggedElement.isDragged();\n\n /**\n * block drop into the dragged element\n */\n this.draggedElement.blockDrop();\n };\n\n /** @ignore */\n onDragEnd = (): void => {\n /**\n * remove special class from dragged element mark dragged element\n */\n this.draggedElement?.isNotDragged();\n\n this.draggedElement = null;\n\n /**\n * if we subscribed to document dragover - unsubscribe from it\n */\n if (this.unsubscribeFromDocumentDragOver) {\n this.unsubscribeFromDocumentDragOver();\n }\n\n /**\n * remove dragged placeholder from DOM\n */\n this.draggedPlaceholder?.remove();\n this.draggedPlaceholder = null;\n };\n\n /** @ignore\n * NOTE: we rely on onDragOver instead of DragEnter and DragLeave because those events also fire when we enter and leave\n * child elements - the behavior we don't need\n */\n onDragOver = (event: DragEvent): void => {\n /**\n * NOTE: this is required for \"drop\" event to work\n */\n event.preventDefault();\n\n /**\n * do nothing if we have no dragged element, or we are still over the same element\n */\n if (!this.draggedElement || this.draggedOverElement?.dom === event.currentTarget) {\n return;\n }\n\n /**\n * make sure previous dragged over element is marked as \"dragged out\"\n */\n this.unselectDraggedOverElement();\n\n this.draggedOverElement = this.getElement(event);\n\n /**\n * do nothing if dragged element and element, we are dragging over is the same\n */\n if (this.isDraggingOverSelf(this.draggedOverElement)) {\n return;\n }\n\n this.draggedOverElement.draggedOver();\n\n /**\n * if drop is blocked - add special class to the dragged element\n */\n if (this.canDrop()) {\n this.draggedOverElement.unblockDrop();\n } else {\n this.draggedOverElement.blockDrop();\n }\n };\n\n /** @ignore */\n onDrop = (event: DragEvent): void => {\n /**\n * if drop is blocked - do nothing\n */\n if (!this.canDrop()) return;\n\n this.unselectDraggedOverElement();\n\n const target: DomElement = this.getElement(event);\n\n /**\n * preserve drop blocked state before cleaning classes - it will be needed later\n */\n const isTargetBlocked: boolean = target.isDropBlocked();\n\n this.getElement(event).draggedOut();\n\n /**\n * if we have no dragged element, we are dropping on self or target is blocked - do nothing\n */\n if (!this.draggedElement || this.isDraggingOverSelf(target) || isTargetBlocked) {\n return;\n }\n\n const sourceIndex: number = this.getElementIndex(this.draggedElement);\n const targetIndex: number = this.getElementIndex(target);\n\n /**\n * if source index is less than target index - means we are dragging down;\n * otherwise we are dragging up\n * NOTE: we utilise \"before\" method for element insertion in both cases, because \"after\" can\n * break order of \"drag-static\" elements (if they are present)\n */\n if (sourceIndex < targetIndex) {\n const allElements: HTMLElement[] = this.getAllElements();\n\n /**\n * loop through all element beginning with next to the currently dragged element\n * and ending with drop target element and move all of them up;\n * this will result in target element being moved down to required position\n */\n for (let i: number = sourceIndex + 1; i <= targetIndex; i++) {\n const target: HTMLElement = allElements[i];\n\n if (target) {\n this.draggedElement.dom.before(target);\n }\n }\n } else {\n target.dom.before(this.draggedElement.dom);\n }\n\n /**\n * if possible emit indexes old and new indexes of the repositioned items\n */\n if (this.dropCallback) {\n this.dropCallback(\n {\n before: sourceIndex,\n after: this.getElementIndex(this.draggedElement),\n },\n {\n before: targetIndex,\n after: this.getElementIndex(target),\n },\n );\n }\n };\n\n /** @ignore */\n onMouseEnter = (event: MouseEvent): void => {\n this.setCanDrag(this.getElement(event));\n };\n\n /** @ignore */\n private unselectDraggedOverElement(): void {\n /**\n * make sure previous dragged over element is marked as \"dragged out\"\n */\n this.draggedOverElement?.draggedOut();\n this.draggedOverElement = null;\n }\n\n /** @ignore */\n private setCanDrag(element: DomElement): void {\n /**\n * if special class is set for the element - forbid dragging\n */\n if (!element.canDrag()) {\n element.makeUnDraggable();\n return;\n }\n\n /**\n * make sure dragging the item is not forbidden by external function\n */\n if (this.canDragCallback) {\n if (this.canDragCallback(this.getElementIndex(element))) {\n element.makeDraggable();\n } else {\n element.makeUnDraggable();\n }\n return;\n }\n element.makeDraggable();\n }\n\n /** @ignore */\n private onDragOverBody = (event: DragEvent): void => {\n this.draggedPlaceholder?.reposition(event);\n };\n\n /** @ignore */\n private canDrop(): boolean {\n if (!this.draggedElement || !this.draggedOverElement) return false;\n\n /**\n * if special class is set for the element - forbid dropping;\n * otherwise make sure dropping over the item is not forbidden by external function\n */\n if (!this.draggedOverElement.canDrop()) {\n return false;\n } else if (this.canDropCallback) {\n return this.canDropCallback(\n this.getElementIndex(this.draggedElement),\n this.getElementIndex(this.draggedOverElement),\n );\n }\n\n return true;\n }\n\n /** @ignore */\n private refreshElements(): void {\n /**\n * unsubscribe from all event listeners\n */\n this.unsubscribeFromEventListeners();\n\n /**\n * make sure no placeholder are still visible\n */\n document.querySelectorAll('.' + dragAndDropListClass.DRAGGED_PLACEHOLDER).forEach((element) => {\n element.remove();\n });\n\n /**\n * get all elements that can participate in drag and drop\n */\n const elements: HTMLElement[] = this.getAllElements();\n\n /**\n * make sure we have enough elements to continue\n */\n if (elements.length < this.minCountToDrag) {\n return;\n }\n\n /**\n * add required callbacks to all elements,\n * preserving their unsubscribe functions\n */\n elements.forEach((element: HTMLElement): void => {\n const functions: UNSUBSCRIBE_FUNCTIONS_COLLECTION = {};\n\n functions['dragstart'] = this.renderer.listen(element, 'dragstart', this.onDragStart);\n functions['dragend'] = this.renderer.listen(element, 'dragend', this.onDragEnd);\n functions['dragover'] = this.renderer.listen(element, 'dragover', this.onDragOver);\n functions['drop'] = this.renderer.listen(element, 'drop', this.onDrop);\n functions['mouseenter'] = this.renderer.listen(element, 'mouseenter', this.onMouseEnter);\n\n this.unsubscribeFunctions.set(element, functions);\n });\n }\n\n /** @ignore */\n private unsubscribeFromEventListeners(): void {\n this.unsubscribeFunctions.forEach((collection) => {\n Object.values(collection).forEach((func) => func());\n });\n\n this.unsubscribeFunctions = new Map();\n }\n\n /** @ignore */\n private getAllElements(): HTMLElement[] {\n const result: HTMLElement[] = [];\n\n if (this.draggableList) {\n /**\n * loop through immediate children of the list\n */\n (<HTMLElement[]>Array.from(this.draggableList.nativeElement.children)).forEach((element: HTMLElement): void => {\n /**\n * element is static if it has both \"no-drop\" and \"no-drag\" classes\n */\n const isStatic: boolean =\n element.classList.contains(dragAndDropListClass.NO_DROP) &&\n element.classList.contains(dragAndDropListClass.NO_DRAG);\n\n /**\n * ignore static elements and dragged placeholder element from the list\n */\n if (!isStatic && !element.classList.contains(dragAndDropListClass.DRAGGED_PLACEHOLDER)) {\n result.push(element);\n }\n });\n }\n\n return result;\n }\n\n /** @ignore */\n private getElement(event: DragEvent | MouseEvent): DomElement {\n return new DomElement(<HTMLElement>event.currentTarget);\n }\n\n /** @ignore */\n private getElementIndex(element: DomElement): number {\n return this.getAllElements().indexOf(element.dom);\n }\n\n /** @ignore */\n private isDraggingOverSelf(element: DomElement | null): boolean {\n return this.draggedElement?.dom === element?.dom;\n }\n}\n","<div class=\"draggable-list\" #draggableList (dragleave)=\"onListDragLeave($event)\">\n <ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AdsDragAndDropListComponent } from './drag-and-drop-list.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [AdsDragAndDropListComponent],\n declarations: [AdsDragAndDropListComponent],\n})\nexport class AdsDragAndDropListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAEa,UAAU,CAAA;AACrB,IAAA,WAAA,CAAoB,UAAuB,EAAA;QAAvB,IAAA,CAAA,UAAU,GAAV,UAAU;IAAgB;AAE9C,IAAA,IAAI,GAAG,GAAA;QACL,OAAO,IAAI,CAAC,UAAU;IACxB;IAEA,OAAO,GAAA;QACL,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAA,SAAA,oCAA8B;IACnE;IAEA,OAAO,GAAA;QACL,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAA,SAAA,oCAA8B;IACnE;IAEA,aAAa,GAAA;QACX,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,wDAAmC;IACvE;IAEA,aAAa,GAAA;QACX,I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ib/components/error-page/error-page-code/error-page-code.component.ts","../../../../libs/ads-ui/src/lib/components/error-page/error-page-code/error-page-code.module.ts","../../../../libs/ads-ui/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ads-error-page-code',\r\n template: ``,\r\n standalone: false,\r\n})\r\nexport class AdsErrorPageCodeComponent {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AdsErrorPageCodeComponent } from './error-page-code.component';\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [AdsErrorPageCodeComponent],\r\n exports: [AdsErrorPageCodeComponent],\r\n})\r\nexport class AdsErrorPageCodeModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,yBAAyB,CAAA;8GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,gFAH1B,CAAA,CAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;2FAGD,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,QAAQ,EAAE,CAAA,CAAE;AACZ,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA;;;MCGY,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,CAHlB,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAD9B,YAAY,aAEZ,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAExB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAJvB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACrC,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs","sources":["../../../../libs/ads-ui/src/lib/components/error-page/error-page-code/error-page-code.component.ts","../../../../libs/ads-ui/src/lib/components/error-page/error-page-code/error-page-code.module.ts","../../../../libs/ads-ui/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ads-error-page-code',\n template: ``,\n standalone: false,\n})\nexport class AdsErrorPageCodeComponent {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AdsErrorPageCodeComponent } from './error-page-code.component';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [AdsErrorPageCodeComponent],\n exports: [AdsErrorPageCodeComponent],\n})\nexport class AdsErrorPageCodeModule {}\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AA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACrC,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -3,11 +3,11 @@ import { Component, NgModule } from '@angular/core';
3
3
 
4
4
  class AdsFooterContainerComponent {
5
5
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsFooterContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsFooterContainerComponent, isStandalone: false, selector: "ads-footer-container", ngImport: i0, template: "<footer>\r\n <ng-content></ng-content>\r\n</footer>\r\n", styles: ["footer{height:107px;box-sizing:border-box;padding:24px;border-top:1px solid var(--color-light);background-color:var(--color-muted-50);width:100%}@media screen and (max-width:768px){footer{height:auto}}\n"] }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsFooterContainerComponent, isStandalone: false, selector: "ads-footer-container", ngImport: i0, template: "<footer>\n <ng-content></ng-content>\n</footer>\n", styles: ["footer{height:107px;box-sizing:border-box;padding:24px;border-top:1px solid var(--color-light);background-color:var(--color-muted-50);width:100%}@media screen and (max-width:768px){footer{height:auto}}\n"] }); }
7
7
  }
8
8
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsFooterContainerComponent, decorators: [{
9
9
  type: Component,
10
- args: [{ selector: 'ads-footer-container', standalone: false, template: "<footer>\r\n <ng-content></ng-content>\r\n</footer>\r\n", styles: ["footer{height:107px;box-sizing:border-box;padding:24px;border-top:1px solid var(--color-light);background-color:var(--color-muted-50);width:100%}@media screen and (max-width:768px){footer{height:auto}}\n"] }]
10
+ args: [{ selector: 'ads-footer-container', standalone: false, template: "<footer>\n <ng-content></ng-content>\n</footer>\n", styles: ["footer{height:107px;box-sizing:border-box;padding:24px;border-top:1px solid var(--color-light);background-color:var(--color-muted-50);width:100%}@media screen and (max-width:768px){footer{height:auto}}\n"] }]
11
11
  }] });
12
12
 
13
13
  class AdsFooterContainerModule {
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-footer-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/footer/container/footer-container.component.ts","../../../../libs/ads-ui/src/lib/components/footer/container/footer-container.component.html","../../../../libs/ads-ui/src/lib/components/footer/container/footer-container.module.ts","../../../../libs/ads-ui/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ads-footer-container',\r\n styleUrls: ['footer-container.component.scss'],\r\n templateUrl: 'footer-container.component.html',\r\n standalone: false,\r\n})\r\nexport class AdsFooterContainerComponent {}\r\n","<footer>\r\n <ng-content></ng-content>\r\n</footer>\r\n","import { NgModule } from '@angular/core';\r\nimport { AdsFooterContainerComponent } from './footer-container.component';\r\n\r\n@NgModule({\r\n exports: [AdsFooterContainerComponent],\r\n declarations: [AdsFooterContainerComponent],\r\n})\r\nexport class AdsFooterContainerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,iFCRxC,0DAGA,EAAA,MAAA,EAAA,CAAA,6MAAA,CAAA,EAAA,CAAA,CAAA;;2FDKa,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBANvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,cAGpB,KAAK,EAAA,QAAA,EAAA,0DAAA,EAAA,MAAA,EAAA,CAAA,6MAAA,CAAA,EAAA;;;MECN,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAFpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CADhC,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAG1B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC5C,iBAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-footer-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/footer/container/footer-container.component.ts","../../../../libs/ads-ui/src/lib/components/footer/container/footer-container.component.html","../../../../libs/ads-ui/src/lib/components/footer/container/footer-container.module.ts","../../../../libs/ads-ui/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ads-footer-container',\n styleUrls: ['footer-container.component.scss'],\n templateUrl: 'footer-container.component.html',\n standalone: false,\n})\nexport class AdsFooterContainerComponent {}\n","<footer>\n <ng-content></ng-content>\n</footer>\n","import { NgModule } from '@angular/core';\nimport { AdsFooterContainerComponent } from './footer-container.component';\n\n@NgModule({\n exports: [AdsFooterContainerComponent],\n declarations: [AdsFooterContainerComponent],\n})\nexport class AdsFooterContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,iFCRxC,oDAGA,EAAA,MAAA,EAAA,CAAA,6MAAA,CAAA,EAAA,CAAA,CAAA;;2FDKa,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBANvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,cAGpB,KAAK,EAAA,QAAA,EAAA,oDAAA,EAAA,MAAA,EAAA,CAAA,6MAAA,CAAA,EAAA;;;MECN,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAFpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CADhC,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAG1B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC5C,iBAAA;;;ACND;;AAEG;;;;"}
@@ -20,11 +20,11 @@ class AdsFooterComponent {
20
20
  this.links = [];
21
21
  }
22
22
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: AdsFooterComponent, isStandalone: false, selector: "ads-footer", inputs: { alt: "alt", copyright: "copyright", links: "links", logoSrc: "logoSrc" }, ngImport: i0, template: "<div class=\"footer\">\r\n <div class=\"links\">\r\n @for (link of links; track $index) {\r\n <a class=\"tertiary-link text-xs\" [href]=\"link.href\" [target]=\"link.target || '_self'\">{{ link.text }}</a>\r\n }\r\n </div>\r\n <div class=\"footer-right\">\r\n <div class=\"copyright\">\r\n @if (copyright.href) {\r\n <a\r\n class=\"secondary-link text-xs\"\r\n [href]=\"copyright.href\"\r\n [target]=\"copyright.target || '_self'\"\r\n [innerHtml]=\"copyright.text\"\r\n ></a>\r\n } @else {\r\n <span [innerHtml]=\"copyright.text\"></span>\r\n }\r\n </div>\r\n @if (logoSrc) {\r\n <div class=\"logo\">\r\n <img [attr.src]=\"logoSrc\" alt=\"{{ alt }}\" />\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".footer{display:flex;height:100%;align-items:center;justify-content:space-between}.links{display:flex;flex-wrap:wrap}.links a{color:var(--color-link)}a:not(:last-child):after{padding:0 8px;content:\"|\"}.copyright{height:100%;font-size:12px}.copyright span{color:var(--color-primary)}.footer-right{display:flex;align-items:center;row-gap:8px;column-gap:16px}.logo{max-width:90px}@media screen and (max-width:768px){.footer{flex-direction:column;gap:24px}.footer .links{justify-content:center}.footer-right{display:flex;flex-direction:column-reverse}.footer-right .copyright{text-align:center}}\n"] }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: AdsFooterComponent, isStandalone: false, selector: "ads-footer", inputs: { alt: "alt", copyright: "copyright", links: "links", logoSrc: "logoSrc" }, ngImport: i0, template: "<div class=\"footer\">\n <div class=\"links\">\n @for (link of links; track $index) {\n <a class=\"tertiary-link text-xs\" [href]=\"link.href\" [target]=\"link.target || '_self'\">{{ link.text }}</a>\n }\n </div>\n <div class=\"footer-right\">\n <div class=\"copyright\">\n @if (copyright.href) {\n <a\n class=\"secondary-link text-xs\"\n [href]=\"copyright.href\"\n [target]=\"copyright.target || '_self'\"\n [innerHtml]=\"copyright.text\"\n ></a>\n } @else {\n <span [innerHtml]=\"copyright.text\"></span>\n }\n </div>\n @if (logoSrc) {\n <div class=\"logo\">\n <img [attr.src]=\"logoSrc\" alt=\"{{ alt }}\" />\n </div>\n }\n </div>\n</div>\n", styles: [".footer{display:flex;height:100%;align-items:center;justify-content:space-between}.links{display:flex;flex-wrap:wrap}.links a{color:var(--color-link)}a:not(:last-child):after{padding:0 8px;content:\"|\"}.copyright{height:100%;font-size:12px}.copyright span{color:var(--color-primary)}.footer-right{display:flex;align-items:center;row-gap:8px;column-gap:16px}.logo{max-width:90px}@media screen and (max-width:768px){.footer{flex-direction:column;gap:24px}.footer .links{justify-content:center}.footer-right{display:flex;flex-direction:column-reverse}.footer-right .copyright{text-align:center}}\n"] }); }
24
24
  }
25
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsFooterComponent, decorators: [{
26
26
  type: Component,
27
- args: [{ selector: 'ads-footer', standalone: false, template: "<div class=\"footer\">\r\n <div class=\"links\">\r\n @for (link of links; track $index) {\r\n <a class=\"tertiary-link text-xs\" [href]=\"link.href\" [target]=\"link.target || '_self'\">{{ link.text }}</a>\r\n }\r\n </div>\r\n <div class=\"footer-right\">\r\n <div class=\"copyright\">\r\n @if (copyright.href) {\r\n <a\r\n class=\"secondary-link text-xs\"\r\n [href]=\"copyright.href\"\r\n [target]=\"copyright.target || '_self'\"\r\n [innerHtml]=\"copyright.text\"\r\n ></a>\r\n } @else {\r\n <span [innerHtml]=\"copyright.text\"></span>\r\n }\r\n </div>\r\n @if (logoSrc) {\r\n <div class=\"logo\">\r\n <img [attr.src]=\"logoSrc\" alt=\"{{ alt }}\" />\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".footer{display:flex;height:100%;align-items:center;justify-content:space-between}.links{display:flex;flex-wrap:wrap}.links a{color:var(--color-link)}a:not(:last-child):after{padding:0 8px;content:\"|\"}.copyright{height:100%;font-size:12px}.copyright span{color:var(--color-primary)}.footer-right{display:flex;align-items:center;row-gap:8px;column-gap:16px}.logo{max-width:90px}@media screen and (max-width:768px){.footer{flex-direction:column;gap:24px}.footer .links{justify-content:center}.footer-right{display:flex;flex-direction:column-reverse}.footer-right .copyright{text-align:center}}\n"] }]
27
+ args: [{ selector: 'ads-footer', standalone: false, template: "<div class=\"footer\">\n <div class=\"links\">\n @for (link of links; track $index) {\n <a class=\"tertiary-link text-xs\" [href]=\"link.href\" [target]=\"link.target || '_self'\">{{ link.text }}</a>\n }\n </div>\n <div class=\"footer-right\">\n <div class=\"copyright\">\n @if (copyright.href) {\n <a\n class=\"secondary-link text-xs\"\n [href]=\"copyright.href\"\n [target]=\"copyright.target || '_self'\"\n [innerHtml]=\"copyright.text\"\n ></a>\n } @else {\n <span [innerHtml]=\"copyright.text\"></span>\n }\n </div>\n @if (logoSrc) {\n <div class=\"logo\">\n <img [attr.src]=\"logoSrc\" alt=\"{{ alt }}\" />\n </div>\n }\n </div>\n</div>\n", styles: [".footer{display:flex;height:100%;align-items:center;justify-content:space-between}.links{display:flex;flex-wrap:wrap}.links a{color:var(--color-link)}a:not(:last-child):after{padding:0 8px;content:\"|\"}.copyright{height:100%;font-size:12px}.copyright span{color:var(--color-primary)}.footer-right{display:flex;align-items:center;row-gap:8px;column-gap:16px}.logo{max-width:90px}@media screen and (max-width:768px){.footer{flex-direction:column;gap:24px}.footer .links{justify-content:center}.footer-right{display:flex;flex-direction:column-reverse}.footer-right .copyright{text-align:center}}\n"] }]
28
28
  }], propDecorators: { alt: [{
29
29
  type: Input
30
30
  }], copyright: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-footer.mjs","sources":["../../../../libs/ads-ui/src/lib/components/footer/footer.component.ts","../../../../libs/ads-ui/src/lib/components/footer/footer.component.html","../../../../libs/ads-ui/src/lib/components/footer/footer.module.ts","../../../../libs/ads-ui/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\nimport { Copyright, Link } from './footer.component.types';\r\n\r\n@Component({\r\n selector: 'ads-footer',\r\n styleUrls: ['footer.component.scss'],\r\n templateUrl: 'footer.component.html',\r\n standalone: false,\r\n})\r\nexport class AdsFooterComponent {\r\n /**\r\n * Alt text for the footer logo\r\n */\r\n @Input() alt = 'Logo';\r\n\r\n /**\r\n * Copyright text to display\r\n */\r\n @Input() copyright: Copyright = {\r\n text: `&copy; ${new Date().getFullYear()} Ads&trade; is an Ascent Global Logistics Technology`,\r\n };\r\n\r\n /**\r\n * Links to display in the footer\r\n */\r\n @Input() links: Link[] = [];\r\n\r\n /**\r\n * Path to the logo to display\r\n */\r\n @Input() logoSrc?: string;\r\n}\r\n","<div class=\"footer\">\r\n <div class=\"links\">\r\n @for (link of links; track $index) {\r\n <a class=\"tertiary-link text-xs\" [href]=\"link.href\" [target]=\"link.target || '_self'\">{{ link.text }}</a>\r\n }\r\n </div>\r\n <div class=\"footer-right\">\r\n <div class=\"copyright\">\r\n @if (copyright.href) {\r\n <a\r\n class=\"secondary-link text-xs\"\r\n [href]=\"copyright.href\"\r\n [target]=\"copyright.target || '_self'\"\r\n [innerHtml]=\"copyright.text\"\r\n ></a>\r\n } @else {\r\n <span [innerHtml]=\"copyright.text\"></span>\r\n }\r\n </div>\r\n @if (logoSrc) {\r\n <div class=\"logo\">\r\n <img [attr.src]=\"logoSrc\" alt=\"{{ alt }}\" />\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { AdsFooterComponent } from './footer.component';\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n exports: [AdsFooterComponent],\r\n declarations: [AdsFooterComponent],\r\n})\r\nexport class AdsFooterModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MASa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;AAOE;;AAEG;QACM,IAAA,CAAA,GAAG,GAAG,MAAM;AAErB;;AAEG;AACM,QAAA,IAAA,CAAA,SAAS,GAAc;YAC9B,IAAI,EAAE,UAAU,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAA,oDAAA,CAAsD;SAC/F;AAED;;AAEG;QACM,IAAA,CAAA,KAAK,GAAW,EAAE;AAM5B,IAAA;8GAtBY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,2JCT/B,8yBA0BA,EAAA,MAAA,EAAA,CAAA,qlBAAA,CAAA,EAAA,CAAA,CAAA;;2FDjBa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,cAGV,KAAK,EAAA,QAAA,EAAA,8yBAAA,EAAA,MAAA,EAAA,CAAA,qlBAAA,CAAA,EAAA;;sBAMhB;;sBAKA;;sBAOA;;sBAKA;;;MErBU,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAAA,YAAA,EAAA,CAFX,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAFvB,YAAY,aACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJhB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;AACnC,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-footer.mjs","sources":["../../../../libs/ads-ui/src/lib/components/footer/footer.component.ts","../../../../libs/ads-ui/src/lib/components/footer/footer.component.html","../../../../libs/ads-ui/src/lib/components/footer/footer.module.ts","../../../../libs/ads-ui/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Copyright, Link } from './footer.component.types';\n\n@Component({\n selector: 'ads-footer',\n styleUrls: ['footer.component.scss'],\n templateUrl: 'footer.component.html',\n standalone: false,\n})\nexport class AdsFooterComponent {\n /**\n * Alt text for the footer logo\n */\n @Input() alt = 'Logo';\n\n /**\n * Copyright text to display\n */\n @Input() copyright: Copyright = {\n text: `&copy; ${new Date().getFullYear()} Ads&trade; is an Ascent Global Logistics Technology`,\n };\n\n /**\n * Links to display in the footer\n */\n @Input() links: Link[] = [];\n\n /**\n * Path to the logo to display\n */\n @Input() logoSrc?: string;\n}\n","<div class=\"footer\">\n <div class=\"links\">\n @for (link of links; track $index) {\n <a class=\"tertiary-link text-xs\" [href]=\"link.href\" [target]=\"link.target || '_self'\">{{ link.text }}</a>\n }\n </div>\n <div class=\"footer-right\">\n <div class=\"copyright\">\n @if (copyright.href) {\n <a\n class=\"secondary-link text-xs\"\n [href]=\"copyright.href\"\n [target]=\"copyright.target || '_self'\"\n [innerHtml]=\"copyright.text\"\n ></a>\n } @else {\n <span [innerHtml]=\"copyright.text\"></span>\n }\n </div>\n @if (logoSrc) {\n <div class=\"logo\">\n <img [attr.src]=\"logoSrc\" alt=\"{{ alt }}\" />\n </div>\n }\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AdsFooterComponent } from './footer.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [AdsFooterComponent],\n declarations: [AdsFooterComponent],\n})\nexport class AdsFooterModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MASa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;AAOE;;AAEG;QACM,IAAA,CAAA,GAAG,GAAG,MAAM;AAErB;;AAEG;AACM,QAAA,IAAA,CAAA,SAAS,GAAc;YAC9B,IAAI,EAAE,UAAU,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAA,oDAAA,CAAsD;SAC/F;AAED;;AAEG;QACM,IAAA,CAAA,KAAK,GAAW,EAAE;AAM5B,IAAA;8GAtBY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,2JCT/B,0vBA0BA,EAAA,MAAA,EAAA,CAAA,qlBAAA,CAAA,EAAA,CAAA,CAAA;;2FDjBa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,cAGV,KAAK,EAAA,QAAA,EAAA,0vBAAA,EAAA,MAAA,EAAA,CAAA,qlBAAA,CAAA,EAAA;;sBAMhB;;sBAKA;;sBAOA;;sBAKA;;;MErBU,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAAA,YAAA,EAAA,CAFX,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAFvB,YAAY,aACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJhB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;AACnC,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -9,11 +9,11 @@ class AdsHeaderContainerComponent {
9
9
  this.isMobile = false;
10
10
  }
11
11
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsHeaderContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsHeaderContainerComponent, isStandalone: false, selector: "ads-header-container", inputs: { isMobile: "isMobile" }, ngImport: i0, template: "<header [class.mobile]=\"isMobile\">\r\n <ng-content></ng-content>\r\n</header>\r\n", styles: ["header{display:flex;height:87px;box-sizing:border-box;flex-direction:column;justify-content:center;border-bottom:1px solid var(--color-light);padding:0 24px}header.mobile{height:70px}\n"] }); }
12
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsHeaderContainerComponent, isStandalone: false, selector: "ads-header-container", inputs: { isMobile: "isMobile" }, ngImport: i0, template: "<header [class.mobile]=\"isMobile\">\n <ng-content></ng-content>\n</header>\n", styles: ["header{display:flex;height:87px;box-sizing:border-box;flex-direction:column;justify-content:center;border-bottom:1px solid var(--color-light);padding:0 24px}header.mobile{height:70px}\n"] }); }
13
13
  }
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsHeaderContainerComponent, decorators: [{
15
15
  type: Component,
16
- args: [{ selector: 'ads-header-container', standalone: false, template: "<header [class.mobile]=\"isMobile\">\r\n <ng-content></ng-content>\r\n</header>\r\n", styles: ["header{display:flex;height:87px;box-sizing:border-box;flex-direction:column;justify-content:center;border-bottom:1px solid var(--color-light);padding:0 24px}header.mobile{height:70px}\n"] }]
16
+ args: [{ selector: 'ads-header-container', standalone: false, template: "<header [class.mobile]=\"isMobile\">\n <ng-content></ng-content>\n</header>\n", styles: ["header{display:flex;height:87px;box-sizing:border-box;flex-direction:column;justify-content:center;border-bottom:1px solid var(--color-light);padding:0 24px}header.mobile{height:70px}\n"] }]
17
17
  }], propDecorators: { isMobile: [{
18
18
  type: Input
19
19
  }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-header-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/header/container/header-container.component.ts","../../../../libs/ads-ui/src/lib/components/header/container/header-container.component.html","../../../../libs/ads-ui/src/lib/components/header/container/header-container.module.ts","../../../../libs/ads-ui/src/lib/components/header/container/ascentgl-ads-ui-src-lib-components-header-container.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ads-header-container',\r\n styleUrls: ['header-container.component.scss'],\r\n templateUrl: 'header-container.component.html',\r\n standalone: false,\r\n})\r\nexport class AdsHeaderContainerComponent {\r\n /**\r\n * Whether the viewport is mobile\r\n */\r\n @Input() isMobile = false;\r\n}\r\n","<header [class.mobile]=\"isMobile\">\r\n <ng-content></ng-content>\r\n</header>\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { AdsHeaderContainerComponent } from './header-container.component';\r\n\r\n@NgModule({\r\n exports: [AdsHeaderContainerComponent],\r\n declarations: [AdsHeaderContainerComponent],\r\n})\r\nexport class AdsHeaderContainerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,2BAA2B,CAAA;AANxC,IAAA,WAAA,GAAA;AAOE;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK;AAC1B,IAAA;8GALY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,mHCRxC,sFAGA,EAAA,MAAA,EAAA,CAAA,2LAAA,CAAA,EAAA,CAAA,CAAA;;2FDKa,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBANvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,cAGpB,KAAK,EAAA,QAAA,EAAA,sFAAA,EAAA,MAAA,EAAA,CAAA,2LAAA,CAAA,EAAA;;sBAMhB;;;MEJU,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAFpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CADhC,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAG1B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC5C,iBAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-header-container.mjs","sources":["../../../../libs/ads-ui/src/lib/components/header/container/header-container.component.ts","../../../../libs/ads-ui/src/lib/components/header/container/header-container.component.html","../../../../libs/ads-ui/src/lib/components/header/container/header-container.module.ts","../../../../libs/ads-ui/src/lib/components/header/container/ascentgl-ads-ui-src-lib-components-header-container.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'ads-header-container',\n styleUrls: ['header-container.component.scss'],\n templateUrl: 'header-container.component.html',\n standalone: false,\n})\nexport class AdsHeaderContainerComponent {\n /**\n * Whether the viewport is mobile\n */\n @Input() isMobile = false;\n}\n","<header [class.mobile]=\"isMobile\">\n <ng-content></ng-content>\n</header>\n","import { NgModule } from '@angular/core';\n\nimport { AdsHeaderContainerComponent } from './header-container.component';\n\n@NgModule({\n exports: [AdsHeaderContainerComponent],\n declarations: [AdsHeaderContainerComponent],\n})\nexport class AdsHeaderContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,2BAA2B,CAAA;AANxC,IAAA,WAAA,GAAA;AAOE;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK;AAC1B,IAAA;8GALY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,mHCRxC,gFAGA,EAAA,MAAA,EAAA,CAAA,2LAAA,CAAA,EAAA,CAAA,CAAA;;2FDKa,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBANvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,cAGpB,KAAK,EAAA,QAAA,EAAA,gFAAA,EAAA,MAAA,EAAA,CAAA,2LAAA,CAAA,EAAA;;sBAMhB;;;MEJU,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAFpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CADhC,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAG1B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC5C,iBAAA;;;ACPD;;AAEG;;;;"}
@@ -3,11 +3,11 @@ import { Component, NgModule } from '@angular/core';
3
3
 
4
4
  class AdsHeaderComponent {
5
5
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsHeaderComponent, isStandalone: false, selector: "ads-header", ngImport: i0, template: "<div class=\"header\">\r\n <div class=\"addon-left\">\r\n <ng-content select=\"[left]\"></ng-content>\r\n </div>\r\n <ng-content select=\"[logo]\"></ng-content>\r\n <div class=\"addon-right\">\r\n <ng-content select=\"[right]\"></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".header{position:relative;display:flex;height:40px;align-items:center;color:var(--color-dark)}.addon-left{flex:1;max-width:50%}.addon-right{display:flex;flex:1;align-items:center;justify-content:flex-end}.ads-logo{float:left;padding-right:30px}\n"] }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: AdsHeaderComponent, isStandalone: false, selector: "ads-header", ngImport: i0, template: "<div class=\"header\">\n <div class=\"addon-left\">\n <ng-content select=\"[left]\"></ng-content>\n </div>\n <ng-content select=\"[logo]\"></ng-content>\n <div class=\"addon-right\">\n <ng-content select=\"[right]\"></ng-content>\n </div>\n</div>\n", styles: [".header{position:relative;display:flex;height:40px;align-items:center;color:var(--color-dark)}.addon-left{flex:1;max-width:50%}.addon-right{display:flex;flex:1;align-items:center;justify-content:flex-end}.ads-logo{float:left;padding-right:30px}\n"] }); }
7
7
  }
8
8
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsHeaderComponent, decorators: [{
9
9
  type: Component,
10
- args: [{ selector: 'ads-header', standalone: false, template: "<div class=\"header\">\r\n <div class=\"addon-left\">\r\n <ng-content select=\"[left]\"></ng-content>\r\n </div>\r\n <ng-content select=\"[logo]\"></ng-content>\r\n <div class=\"addon-right\">\r\n <ng-content select=\"[right]\"></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".header{position:relative;display:flex;height:40px;align-items:center;color:var(--color-dark)}.addon-left{flex:1;max-width:50%}.addon-right{display:flex;flex:1;align-items:center;justify-content:flex-end}.ads-logo{float:left;padding-right:30px}\n"] }]
10
+ args: [{ selector: 'ads-header', standalone: false, template: "<div class=\"header\">\n <div class=\"addon-left\">\n <ng-content select=\"[left]\"></ng-content>\n </div>\n <ng-content select=\"[logo]\"></ng-content>\n <div class=\"addon-right\">\n <ng-content select=\"[right]\"></ng-content>\n </div>\n</div>\n", styles: [".header{position:relative;display:flex;height:40px;align-items:center;color:var(--color-dark)}.addon-left{flex:1;max-width:50%}.addon-right{display:flex;flex:1;align-items:center;justify-content:flex-end}.ads-logo{float:left;padding-right:30px}\n"] }]
11
11
  }] });
12
12
 
13
13
  class AdsHeaderModule {
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-header.mjs","sources":["../../../../libs/ads-ui/src/lib/components/header/header.component.ts","../../../../libs/ads-ui/src/lib/components/header/header.component.html","../../../../libs/ads-ui/src/lib/components/header/header.module.ts","../../../../libs/ads-ui/src/lib/components/header/ascentgl-ads-ui-src-lib-components-header.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ads-header',\r\n styleUrls: ['header.component.scss'],\r\n templateUrl: 'header.component.html',\r\n standalone: false,\r\n})\r\nexport class AdsHeaderComponent {}\r\n","<div class=\"header\">\r\n <div class=\"addon-left\">\r\n <ng-content select=\"[left]\"></ng-content>\r\n </div>\r\n <ng-content select=\"[logo]\"></ng-content>\r\n <div class=\"addon-right\">\r\n <ng-content select=\"[right]\"></ng-content>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { AdsHeaderComponent } from './header.component';\r\n\r\n@NgModule({\r\n exports: [AdsHeaderComponent],\r\n declarations: [AdsHeaderComponent],\r\n})\r\nexport class AdsHeaderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,uECR/B,uRASA,EAAA,MAAA,EAAA,CAAA,wPAAA,CAAA,EAAA,CAAA,CAAA;;2FDDa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,cAGV,KAAK,EAAA,QAAA,EAAA,uRAAA,EAAA,MAAA,EAAA,CAAA,wPAAA,CAAA,EAAA;;;MECN,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAf,eAAe,EAAA,YAAA,EAAA,CAFX,kBAAkB,CAAA,EAAA,OAAA,EAAA,CADvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;+GAGjB,eAAe,EAAA,CAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;AACnC,iBAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-header.mjs","sources":["../../../../libs/ads-ui/src/lib/components/header/header.component.ts","../../../../libs/ads-ui/src/lib/components/header/header.component.html","../../../../libs/ads-ui/src/lib/components/header/header.module.ts","../../../../libs/ads-ui/src/lib/components/header/ascentgl-ads-ui-src-lib-components-header.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ads-header',\n styleUrls: ['header.component.scss'],\n templateUrl: 'header.component.html',\n standalone: false,\n})\nexport class AdsHeaderComponent {}\n","<div class=\"header\">\n <div class=\"addon-left\">\n <ng-content select=\"[left]\"></ng-content>\n </div>\n <ng-content select=\"[logo]\"></ng-content>\n <div class=\"addon-right\">\n <ng-content select=\"[right]\"></ng-content>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { AdsHeaderComponent } from './header.component';\n\n@NgModule({\n exports: [AdsHeaderComponent],\n declarations: [AdsHeaderComponent],\n})\nexport class AdsHeaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,uECR/B,qQASA,EAAA,MAAA,EAAA,CAAA,wPAAA,CAAA,EAAA,CAAA,CAAA;;2FDDa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,cAGV,KAAK,EAAA,QAAA,EAAA,qQAAA,EAAA,MAAA,EAAA,CAAA,wPAAA,CAAA,EAAA;;;MECN,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAf,eAAe,EAAA,YAAA,EAAA,CAFX,kBAAkB,CAAA,EAAA,OAAA,EAAA,CADvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;+GAGjB,eAAe,EAAA,CAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;AACnC,iBAAA;;;ACND;;AAEG;;;;"}
@@ -43,11 +43,11 @@ class AdsPrimaryLogoComponent extends AbstractLogoComponent {
43
43
  super();
44
44
  }
45
45
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsPrimaryLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: AdsPrimaryLogoComponent, isStandalone: false, selector: "ads-primary-logo", usesInheritance: true, ngImport: i0, template: "<picture [ngClass]=\"{ full: !isCollapsed() }\">\r\n @if (isMobile || isCollapsed()) {\r\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 24 32\">\r\n <path\r\n d=\"M20.5547 3.69959C18.4527 1.6106 15.6421 0.377465 12.6734 0.241829C9.70483 0.106194 6.79227 1.07784 4.50651 2.96635V0.663115H0V31.994L4.50218 27.517V21.1981C6.86303 23.1293 9.87957 24.0849 12.9287 23.8677C15.9778 23.6504 18.8265 22.2769 20.8864 20.0308C22.9463 17.7848 24.06 14.8377 23.9975 11.7985C23.935 8.75926 22.701 5.85999 20.5504 3.69959H20.5547ZM12.1446 19.6627C10.6356 19.6669 9.15923 19.2258 7.90244 18.3953C6.64565 17.5647 5.66496 16.3819 5.08451 14.9968C4.50406 13.6116 4.34996 12.0864 4.64172 10.6141C4.93348 9.14178 5.65798 7.78868 6.7235 6.72608C7.78901 5.66348 9.14763 4.93917 10.6273 4.64484C12.107 4.35051 13.6413 4.49941 15.0359 5.07268C16.4304 5.64595 17.6226 6.61781 18.4614 7.86521C19.3002 9.11262 19.748 10.5795 19.748 12.0801C19.7468 14.087 18.9461 16.0118 17.5211 17.4329C16.096 18.8541 14.1628 19.6558 12.1446 19.6627Z\"\r\n />\r\n </svg>\r\n } @else {\r\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"35\" viewBox=\"0 0 80 35\">\r\n <path\r\n d=\"M15.4308 12.8987C13.8528 11.3239 11.7428 10.3942 9.51421 10.292C7.28561 10.1897 5.09909 10.9222 3.38313 12.346V10.6096H0V34.2293L3.37987 30.8542V26.0905C5.15222 27.5464 7.41679 28.2668 9.70582 28.103C11.9948 27.9393 14.1334 26.9038 15.6799 25.2105C17.2263 23.5173 18.0623 21.2956 18.0154 19.0043C17.9685 16.7131 17.0421 14.5274 15.4276 12.8987H15.4308ZM9.11719 24.933C7.98435 24.9362 6.87602 24.6037 5.93252 23.9775C4.98903 23.3513 4.2528 22.4597 3.81704 21.4155C3.38128 20.3712 3.2656 19.2213 3.48463 18.1114C3.70366 17.0015 4.24756 15.9814 5.04746 15.1803C5.84737 14.3793 6.86731 13.8332 7.97815 13.6113C9.089 13.3894 10.2408 13.5017 11.2877 13.9339C12.3347 14.366 13.2296 15.0987 13.8593 16.0391C14.4891 16.9795 14.8252 18.0853 14.8252 19.2166C14.8244 20.7296 14.2232 22.1806 13.1534 23.252C12.0836 24.3234 10.6323 24.9278 9.11719 24.933Z\"\r\n />\r\n <path\r\n d=\"M38.2118 19.2167C38.2119 17.2546 37.565 15.3472 36.3711 13.7889C35.1772 12.2306 33.5028 11.1082 31.6064 10.5951C29.71 10.082 27.6972 10.2067 25.8788 10.9499C24.0605 11.6932 22.5378 13.0137 21.5459 14.7074C20.5541 16.4011 20.1483 18.3737 20.3912 20.3207C20.6341 22.2677 21.5122 24.0807 22.8899 25.4796C24.2676 26.8785 26.0682 27.7855 28.0136 28.0605C29.9589 28.3355 31.9409 27.9632 33.6532 27.0011C34.9526 26.2641 36.0481 25.216 36.841 23.951L34.1058 22.2439C33.5193 23.1737 32.677 23.9151 31.6797 24.3794C30.6823 24.8437 29.5722 25.0112 28.482 24.862C27.3917 24.7128 26.3677 24.2532 25.5322 23.538C24.6967 22.8229 24.0852 21.8825 23.7708 20.8295H38.2151L38.2118 19.2167ZM23.7708 17.6071C24.1208 16.4233 24.8449 15.3844 25.835 14.6454C26.825 13.9065 28.0279 13.5072 29.2639 13.5072C30.5 13.5072 31.7028 13.9065 32.6929 14.6454C33.6829 15.3844 34.407 16.4233 34.757 17.6071H23.7708Z\"\r\n />\r\n <path d=\"M66.3569 10.3986H63.0128V28.0972H66.3569V10.3986Z\" />\r\n <path d=\"M71.14 19.2495L80 28.0972H75.4837L66.6205 19.2495L75.4837 10.3986H80L71.14 19.2495Z\" />\r\n <path d=\"M56.5265 0H41.304V2.84191H56.5265V0Z\" />\r\n <path d=\"M40.5882 28.0971H37.0032L48.9174 5.35858L60.8316 28.0971H57.2466L48.9174 12.2L40.5882 28.0971Z\" />\r\n </svg>\r\n }\r\n</picture>\r\n", styles: [".logo-svg{fill:var(--color-primary)}picture.full{min-width:80px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
46
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: AdsPrimaryLogoComponent, isStandalone: false, selector: "ads-primary-logo", usesInheritance: true, ngImport: i0, template: "<picture [ngClass]=\"{ full: !isCollapsed() }\">\n @if (isMobile || isCollapsed()) {\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 24 32\">\n <path\n d=\"M20.5547 3.69959C18.4527 1.6106 15.6421 0.377465 12.6734 0.241829C9.70483 0.106194 6.79227 1.07784 4.50651 2.96635V0.663115H0V31.994L4.50218 27.517V21.1981C6.86303 23.1293 9.87957 24.0849 12.9287 23.8677C15.9778 23.6504 18.8265 22.2769 20.8864 20.0308C22.9463 17.7848 24.06 14.8377 23.9975 11.7985C23.935 8.75926 22.701 5.85999 20.5504 3.69959H20.5547ZM12.1446 19.6627C10.6356 19.6669 9.15923 19.2258 7.90244 18.3953C6.64565 17.5647 5.66496 16.3819 5.08451 14.9968C4.50406 13.6116 4.34996 12.0864 4.64172 10.6141C4.93348 9.14178 5.65798 7.78868 6.7235 6.72608C7.78901 5.66348 9.14763 4.93917 10.6273 4.64484C12.107 4.35051 13.6413 4.49941 15.0359 5.07268C16.4304 5.64595 17.6226 6.61781 18.4614 7.86521C19.3002 9.11262 19.748 10.5795 19.748 12.0801C19.7468 14.087 18.9461 16.0118 17.5211 17.4329C16.096 18.8541 14.1628 19.6558 12.1446 19.6627Z\"\n />\n </svg>\n } @else {\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"35\" viewBox=\"0 0 80 35\">\n <path\n d=\"M15.4308 12.8987C13.8528 11.3239 11.7428 10.3942 9.51421 10.292C7.28561 10.1897 5.09909 10.9222 3.38313 12.346V10.6096H0V34.2293L3.37987 30.8542V26.0905C5.15222 27.5464 7.41679 28.2668 9.70582 28.103C11.9948 27.9393 14.1334 26.9038 15.6799 25.2105C17.2263 23.5173 18.0623 21.2956 18.0154 19.0043C17.9685 16.7131 17.0421 14.5274 15.4276 12.8987H15.4308ZM9.11719 24.933C7.98435 24.9362 6.87602 24.6037 5.93252 23.9775C4.98903 23.3513 4.2528 22.4597 3.81704 21.4155C3.38128 20.3712 3.2656 19.2213 3.48463 18.1114C3.70366 17.0015 4.24756 15.9814 5.04746 15.1803C5.84737 14.3793 6.86731 13.8332 7.97815 13.6113C9.089 13.3894 10.2408 13.5017 11.2877 13.9339C12.3347 14.366 13.2296 15.0987 13.8593 16.0391C14.4891 16.9795 14.8252 18.0853 14.8252 19.2166C14.8244 20.7296 14.2232 22.1806 13.1534 23.252C12.0836 24.3234 10.6323 24.9278 9.11719 24.933Z\"\n />\n <path\n d=\"M38.2118 19.2167C38.2119 17.2546 37.565 15.3472 36.3711 13.7889C35.1772 12.2306 33.5028 11.1082 31.6064 10.5951C29.71 10.082 27.6972 10.2067 25.8788 10.9499C24.0605 11.6932 22.5378 13.0137 21.5459 14.7074C20.5541 16.4011 20.1483 18.3737 20.3912 20.3207C20.6341 22.2677 21.5122 24.0807 22.8899 25.4796C24.2676 26.8785 26.0682 27.7855 28.0136 28.0605C29.9589 28.3355 31.9409 27.9632 33.6532 27.0011C34.9526 26.2641 36.0481 25.216 36.841 23.951L34.1058 22.2439C33.5193 23.1737 32.677 23.9151 31.6797 24.3794C30.6823 24.8437 29.5722 25.0112 28.482 24.862C27.3917 24.7128 26.3677 24.2532 25.5322 23.538C24.6967 22.8229 24.0852 21.8825 23.7708 20.8295H38.2151L38.2118 19.2167ZM23.7708 17.6071C24.1208 16.4233 24.8449 15.3844 25.835 14.6454C26.825 13.9065 28.0279 13.5072 29.2639 13.5072C30.5 13.5072 31.7028 13.9065 32.6929 14.6454C33.6829 15.3844 34.407 16.4233 34.757 17.6071H23.7708Z\"\n />\n <path d=\"M66.3569 10.3986H63.0128V28.0972H66.3569V10.3986Z\" />\n <path d=\"M71.14 19.2495L80 28.0972H75.4837L66.6205 19.2495L75.4837 10.3986H80L71.14 19.2495Z\" />\n <path d=\"M56.5265 0H41.304V2.84191H56.5265V0Z\" />\n <path d=\"M40.5882 28.0971H37.0032L48.9174 5.35858L60.8316 28.0971H57.2466L48.9174 12.2L40.5882 28.0971Z\" />\n </svg>\n }\n</picture>\n", styles: [".logo-svg{fill:var(--color-primary)}picture.full{min-width:80px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
47
47
  }
48
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: AdsPrimaryLogoComponent, decorators: [{
49
49
  type: Component,
50
- args: [{ selector: 'ads-primary-logo', standalone: false, template: "<picture [ngClass]=\"{ full: !isCollapsed() }\">\r\n @if (isMobile || isCollapsed()) {\r\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 24 32\">\r\n <path\r\n d=\"M20.5547 3.69959C18.4527 1.6106 15.6421 0.377465 12.6734 0.241829C9.70483 0.106194 6.79227 1.07784 4.50651 2.96635V0.663115H0V31.994L4.50218 27.517V21.1981C6.86303 23.1293 9.87957 24.0849 12.9287 23.8677C15.9778 23.6504 18.8265 22.2769 20.8864 20.0308C22.9463 17.7848 24.06 14.8377 23.9975 11.7985C23.935 8.75926 22.701 5.85999 20.5504 3.69959H20.5547ZM12.1446 19.6627C10.6356 19.6669 9.15923 19.2258 7.90244 18.3953C6.64565 17.5647 5.66496 16.3819 5.08451 14.9968C4.50406 13.6116 4.34996 12.0864 4.64172 10.6141C4.93348 9.14178 5.65798 7.78868 6.7235 6.72608C7.78901 5.66348 9.14763 4.93917 10.6273 4.64484C12.107 4.35051 13.6413 4.49941 15.0359 5.07268C16.4304 5.64595 17.6226 6.61781 18.4614 7.86521C19.3002 9.11262 19.748 10.5795 19.748 12.0801C19.7468 14.087 18.9461 16.0118 17.5211 17.4329C16.096 18.8541 14.1628 19.6558 12.1446 19.6627Z\"\r\n />\r\n </svg>\r\n } @else {\r\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"35\" viewBox=\"0 0 80 35\">\r\n <path\r\n d=\"M15.4308 12.8987C13.8528 11.3239 11.7428 10.3942 9.51421 10.292C7.28561 10.1897 5.09909 10.9222 3.38313 12.346V10.6096H0V34.2293L3.37987 30.8542V26.0905C5.15222 27.5464 7.41679 28.2668 9.70582 28.103C11.9948 27.9393 14.1334 26.9038 15.6799 25.2105C17.2263 23.5173 18.0623 21.2956 18.0154 19.0043C17.9685 16.7131 17.0421 14.5274 15.4276 12.8987H15.4308ZM9.11719 24.933C7.98435 24.9362 6.87602 24.6037 5.93252 23.9775C4.98903 23.3513 4.2528 22.4597 3.81704 21.4155C3.38128 20.3712 3.2656 19.2213 3.48463 18.1114C3.70366 17.0015 4.24756 15.9814 5.04746 15.1803C5.84737 14.3793 6.86731 13.8332 7.97815 13.6113C9.089 13.3894 10.2408 13.5017 11.2877 13.9339C12.3347 14.366 13.2296 15.0987 13.8593 16.0391C14.4891 16.9795 14.8252 18.0853 14.8252 19.2166C14.8244 20.7296 14.2232 22.1806 13.1534 23.252C12.0836 24.3234 10.6323 24.9278 9.11719 24.933Z\"\r\n />\r\n <path\r\n d=\"M38.2118 19.2167C38.2119 17.2546 37.565 15.3472 36.3711 13.7889C35.1772 12.2306 33.5028 11.1082 31.6064 10.5951C29.71 10.082 27.6972 10.2067 25.8788 10.9499C24.0605 11.6932 22.5378 13.0137 21.5459 14.7074C20.5541 16.4011 20.1483 18.3737 20.3912 20.3207C20.6341 22.2677 21.5122 24.0807 22.8899 25.4796C24.2676 26.8785 26.0682 27.7855 28.0136 28.0605C29.9589 28.3355 31.9409 27.9632 33.6532 27.0011C34.9526 26.2641 36.0481 25.216 36.841 23.951L34.1058 22.2439C33.5193 23.1737 32.677 23.9151 31.6797 24.3794C30.6823 24.8437 29.5722 25.0112 28.482 24.862C27.3917 24.7128 26.3677 24.2532 25.5322 23.538C24.6967 22.8229 24.0852 21.8825 23.7708 20.8295H38.2151L38.2118 19.2167ZM23.7708 17.6071C24.1208 16.4233 24.8449 15.3844 25.835 14.6454C26.825 13.9065 28.0279 13.5072 29.2639 13.5072C30.5 13.5072 31.7028 13.9065 32.6929 14.6454C33.6829 15.3844 34.407 16.4233 34.757 17.6071H23.7708Z\"\r\n />\r\n <path d=\"M66.3569 10.3986H63.0128V28.0972H66.3569V10.3986Z\" />\r\n <path d=\"M71.14 19.2495L80 28.0972H75.4837L66.6205 19.2495L75.4837 10.3986H80L71.14 19.2495Z\" />\r\n <path d=\"M56.5265 0H41.304V2.84191H56.5265V0Z\" />\r\n <path d=\"M40.5882 28.0971H37.0032L48.9174 5.35858L60.8316 28.0971H57.2466L48.9174 12.2L40.5882 28.0971Z\" />\r\n </svg>\r\n }\r\n</picture>\r\n", styles: [".logo-svg{fill:var(--color-primary)}picture.full{min-width:80px}\n"] }]
50
+ args: [{ selector: 'ads-primary-logo', standalone: false, template: "<picture [ngClass]=\"{ full: !isCollapsed() }\">\n @if (isMobile || isCollapsed()) {\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 24 32\">\n <path\n d=\"M20.5547 3.69959C18.4527 1.6106 15.6421 0.377465 12.6734 0.241829C9.70483 0.106194 6.79227 1.07784 4.50651 2.96635V0.663115H0V31.994L4.50218 27.517V21.1981C6.86303 23.1293 9.87957 24.0849 12.9287 23.8677C15.9778 23.6504 18.8265 22.2769 20.8864 20.0308C22.9463 17.7848 24.06 14.8377 23.9975 11.7985C23.935 8.75926 22.701 5.85999 20.5504 3.69959H20.5547ZM12.1446 19.6627C10.6356 19.6669 9.15923 19.2258 7.90244 18.3953C6.64565 17.5647 5.66496 16.3819 5.08451 14.9968C4.50406 13.6116 4.34996 12.0864 4.64172 10.6141C4.93348 9.14178 5.65798 7.78868 6.7235 6.72608C7.78901 5.66348 9.14763 4.93917 10.6273 4.64484C12.107 4.35051 13.6413 4.49941 15.0359 5.07268C16.4304 5.64595 17.6226 6.61781 18.4614 7.86521C19.3002 9.11262 19.748 10.5795 19.748 12.0801C19.7468 14.087 18.9461 16.0118 17.5211 17.4329C16.096 18.8541 14.1628 19.6558 12.1446 19.6627Z\"\n />\n </svg>\n } @else {\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"35\" viewBox=\"0 0 80 35\">\n <path\n d=\"M15.4308 12.8987C13.8528 11.3239 11.7428 10.3942 9.51421 10.292C7.28561 10.1897 5.09909 10.9222 3.38313 12.346V10.6096H0V34.2293L3.37987 30.8542V26.0905C5.15222 27.5464 7.41679 28.2668 9.70582 28.103C11.9948 27.9393 14.1334 26.9038 15.6799 25.2105C17.2263 23.5173 18.0623 21.2956 18.0154 19.0043C17.9685 16.7131 17.0421 14.5274 15.4276 12.8987H15.4308ZM9.11719 24.933C7.98435 24.9362 6.87602 24.6037 5.93252 23.9775C4.98903 23.3513 4.2528 22.4597 3.81704 21.4155C3.38128 20.3712 3.2656 19.2213 3.48463 18.1114C3.70366 17.0015 4.24756 15.9814 5.04746 15.1803C5.84737 14.3793 6.86731 13.8332 7.97815 13.6113C9.089 13.3894 10.2408 13.5017 11.2877 13.9339C12.3347 14.366 13.2296 15.0987 13.8593 16.0391C14.4891 16.9795 14.8252 18.0853 14.8252 19.2166C14.8244 20.7296 14.2232 22.1806 13.1534 23.252C12.0836 24.3234 10.6323 24.9278 9.11719 24.933Z\"\n />\n <path\n d=\"M38.2118 19.2167C38.2119 17.2546 37.565 15.3472 36.3711 13.7889C35.1772 12.2306 33.5028 11.1082 31.6064 10.5951C29.71 10.082 27.6972 10.2067 25.8788 10.9499C24.0605 11.6932 22.5378 13.0137 21.5459 14.7074C20.5541 16.4011 20.1483 18.3737 20.3912 20.3207C20.6341 22.2677 21.5122 24.0807 22.8899 25.4796C24.2676 26.8785 26.0682 27.7855 28.0136 28.0605C29.9589 28.3355 31.9409 27.9632 33.6532 27.0011C34.9526 26.2641 36.0481 25.216 36.841 23.951L34.1058 22.2439C33.5193 23.1737 32.677 23.9151 31.6797 24.3794C30.6823 24.8437 29.5722 25.0112 28.482 24.862C27.3917 24.7128 26.3677 24.2532 25.5322 23.538C24.6967 22.8229 24.0852 21.8825 23.7708 20.8295H38.2151L38.2118 19.2167ZM23.7708 17.6071C24.1208 16.4233 24.8449 15.3844 25.835 14.6454C26.825 13.9065 28.0279 13.5072 29.2639 13.5072C30.5 13.5072 31.7028 13.9065 32.6929 14.6454C33.6829 15.3844 34.407 16.4233 34.757 17.6071H23.7708Z\"\n />\n <path d=\"M66.3569 10.3986H63.0128V28.0972H66.3569V10.3986Z\" />\n <path d=\"M71.14 19.2495L80 28.0972H75.4837L66.6205 19.2495L75.4837 10.3986H80L71.14 19.2495Z\" />\n <path d=\"M56.5265 0H41.304V2.84191H56.5265V0Z\" />\n <path d=\"M40.5882 28.0971H37.0032L48.9174 5.35858L60.8316 28.0971H57.2466L48.9174 12.2L40.5882 28.0971Z\" />\n </svg>\n }\n</picture>\n", styles: [".logo-svg{fill:var(--color-primary)}picture.full{min-width:80px}\n"] }]
51
51
  }], ctorParameters: () => [] });
52
52
 
53
53
  class AdsPrimaryLogoModule {
@@ -1 +1 @@
1
- {"version":3,"file":"ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs","sources":["../../../../libs/ads-ui/src/lib/components/logo/primary-logo/abstract-logo-component.ts","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/primary-logo.component.ts","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/primary-logo.component.html","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/primary-logo.module.ts","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/ascentgl-ads-ui-src-lib-components-logo-primary-logo.ts"],"sourcesContent":["import { Directive, HostListener, input, OnInit } from '@angular/core';\r\n\r\n@Directive()\r\nexport abstract class AbstractLogoComponent implements OnInit {\r\n /** @ignore */\r\n isMobile = false;\r\n\r\n /**\r\n * Mobile width\r\n */\r\n mobileWidth = input<number>(768);\r\n\r\n /**\r\n * Whether the navigation is collapsed\r\n */\r\n isCollapsed = input<boolean>(false);\r\n\r\n /** @ignore */\r\n @HostListener('window:resize')\r\n onResize() {\r\n this.checkScreenSize();\r\n }\r\n\r\n /** @ignore */\r\n ngOnInit(): void {\r\n this.checkScreenSize();\r\n }\r\n\r\n /** @ignore */\r\n private checkScreenSize(): void {\r\n this.isMobile = window.innerWidth <= this.mobileWidth();\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { AbstractLogoComponent } from './abstract-logo-component';\r\n\r\n@Component({\r\n selector: 'ads-primary-logo',\r\n styleUrls: ['primary-logo.component.scss'],\r\n templateUrl: 'primary-logo.component.html',\r\n standalone: false,\r\n})\r\nexport class AdsPrimaryLogoComponent extends AbstractLogoComponent {\r\n constructor() {\r\n super();\r\n }\r\n}\r\n","<picture [ngClass]=\"{ full: !isCollapsed() }\">\r\n @if (isMobile || isCollapsed()) {\r\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 24 32\">\r\n <path\r\n d=\"M20.5547 3.69959C18.4527 1.6106 15.6421 0.377465 12.6734 0.241829C9.70483 0.106194 6.79227 1.07784 4.50651 2.96635V0.663115H0V31.994L4.50218 27.517V21.1981C6.86303 23.1293 9.87957 24.0849 12.9287 23.8677C15.9778 23.6504 18.8265 22.2769 20.8864 20.0308C22.9463 17.7848 24.06 14.8377 23.9975 11.7985C23.935 8.75926 22.701 5.85999 20.5504 3.69959H20.5547ZM12.1446 19.6627C10.6356 19.6669 9.15923 19.2258 7.90244 18.3953C6.64565 17.5647 5.66496 16.3819 5.08451 14.9968C4.50406 13.6116 4.34996 12.0864 4.64172 10.6141C4.93348 9.14178 5.65798 7.78868 6.7235 6.72608C7.78901 5.66348 9.14763 4.93917 10.6273 4.64484C12.107 4.35051 13.6413 4.49941 15.0359 5.07268C16.4304 5.64595 17.6226 6.61781 18.4614 7.86521C19.3002 9.11262 19.748 10.5795 19.748 12.0801C19.7468 14.087 18.9461 16.0118 17.5211 17.4329C16.096 18.8541 14.1628 19.6558 12.1446 19.6627Z\"\r\n />\r\n </svg>\r\n } @else {\r\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"35\" viewBox=\"0 0 80 35\">\r\n <path\r\n d=\"M15.4308 12.8987C13.8528 11.3239 11.7428 10.3942 9.51421 10.292C7.28561 10.1897 5.09909 10.9222 3.38313 12.346V10.6096H0V34.2293L3.37987 30.8542V26.0905C5.15222 27.5464 7.41679 28.2668 9.70582 28.103C11.9948 27.9393 14.1334 26.9038 15.6799 25.2105C17.2263 23.5173 18.0623 21.2956 18.0154 19.0043C17.9685 16.7131 17.0421 14.5274 15.4276 12.8987H15.4308ZM9.11719 24.933C7.98435 24.9362 6.87602 24.6037 5.93252 23.9775C4.98903 23.3513 4.2528 22.4597 3.81704 21.4155C3.38128 20.3712 3.2656 19.2213 3.48463 18.1114C3.70366 17.0015 4.24756 15.9814 5.04746 15.1803C5.84737 14.3793 6.86731 13.8332 7.97815 13.6113C9.089 13.3894 10.2408 13.5017 11.2877 13.9339C12.3347 14.366 13.2296 15.0987 13.8593 16.0391C14.4891 16.9795 14.8252 18.0853 14.8252 19.2166C14.8244 20.7296 14.2232 22.1806 13.1534 23.252C12.0836 24.3234 10.6323 24.9278 9.11719 24.933Z\"\r\n />\r\n <path\r\n d=\"M38.2118 19.2167C38.2119 17.2546 37.565 15.3472 36.3711 13.7889C35.1772 12.2306 33.5028 11.1082 31.6064 10.5951C29.71 10.082 27.6972 10.2067 25.8788 10.9499C24.0605 11.6932 22.5378 13.0137 21.5459 14.7074C20.5541 16.4011 20.1483 18.3737 20.3912 20.3207C20.6341 22.2677 21.5122 24.0807 22.8899 25.4796C24.2676 26.8785 26.0682 27.7855 28.0136 28.0605C29.9589 28.3355 31.9409 27.9632 33.6532 27.0011C34.9526 26.2641 36.0481 25.216 36.841 23.951L34.1058 22.2439C33.5193 23.1737 32.677 23.9151 31.6797 24.3794C30.6823 24.8437 29.5722 25.0112 28.482 24.862C27.3917 24.7128 26.3677 24.2532 25.5322 23.538C24.6967 22.8229 24.0852 21.8825 23.7708 20.8295H38.2151L38.2118 19.2167ZM23.7708 17.6071C24.1208 16.4233 24.8449 15.3844 25.835 14.6454C26.825 13.9065 28.0279 13.5072 29.2639 13.5072C30.5 13.5072 31.7028 13.9065 32.6929 14.6454C33.6829 15.3844 34.407 16.4233 34.757 17.6071H23.7708Z\"\r\n />\r\n <path d=\"M66.3569 10.3986H63.0128V28.0972H66.3569V10.3986Z\" />\r\n <path d=\"M71.14 19.2495L80 28.0972H75.4837L66.6205 19.2495L75.4837 10.3986H80L71.14 19.2495Z\" />\r\n <path d=\"M56.5265 0H41.304V2.84191H56.5265V0Z\" />\r\n <path d=\"M40.5882 28.0971H37.0032L48.9174 5.35858L60.8316 28.0971H57.2466L48.9174 12.2L40.5882 28.0971Z\" />\r\n </svg>\r\n }\r\n</picture>\r\n","import { CommonModule, NgOptimizedImage } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { AdsPrimaryLogoComponent } from './primary-logo.component';\r\n\r\n@NgModule({\r\n imports: [CommonModule, NgOptimizedImage],\r\n exports: [AdsPrimaryLogoComponent],\r\n declarations: [AdsPrimaryLogoComponent],\r\n})\r\nexport class AdsPrimaryLogoModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGsB,qBAAqB,CAAA;AAD3C,IAAA,WAAA,GAAA;;QAGE,IAAA,CAAA,QAAQ,GAAG,KAAK;AAEhB;;AAEG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,GAAG,uDAAC;AAEhC;;AAEG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,KAAK,uDAAC;AAiBpC,IAAA;;IAbC,QAAQ,GAAA;QACN,IAAI,CAAC,eAAe,EAAE;IACxB;;IAGA,QAAQ,GAAA;QACN,IAAI,CAAC,eAAe,EAAE;IACxB;;IAGQ,eAAe,GAAA;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE;IACzD;8GA5BoB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EA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AA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAFhB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAF5B,YAAY,EAAE,gBAAgB,aAC9B,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAGtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAJrB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;oBACzC,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,YAAY,EAAE,CAAC,uBAAuB,CAAC;AACxC,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs","sources":["../../../../libs/ads-ui/src/lib/components/logo/primary-logo/abstract-logo-component.ts","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/primary-logo.component.ts","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/primary-logo.component.html","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/primary-logo.module.ts","../../../../libs/ads-ui/src/lib/components/logo/primary-logo/ascentgl-ads-ui-src-lib-components-logo-primary-logo.ts"],"sourcesContent":["import { Directive, HostListener, input, OnInit } from '@angular/core';\n\n@Directive()\nexport abstract class AbstractLogoComponent implements OnInit {\n /** @ignore */\n isMobile = false;\n\n /**\n * Mobile width\n */\n mobileWidth = input<number>(768);\n\n /**\n * Whether the navigation is collapsed\n */\n isCollapsed = input<boolean>(false);\n\n /** @ignore */\n @HostListener('window:resize')\n onResize() {\n this.checkScreenSize();\n }\n\n /** @ignore */\n ngOnInit(): void {\n this.checkScreenSize();\n }\n\n /** @ignore */\n private checkScreenSize(): void {\n this.isMobile = window.innerWidth <= this.mobileWidth();\n }\n}\n","import { Component } from '@angular/core';\nimport { AbstractLogoComponent } from './abstract-logo-component';\n\n@Component({\n selector: 'ads-primary-logo',\n styleUrls: ['primary-logo.component.scss'],\n templateUrl: 'primary-logo.component.html',\n standalone: false,\n})\nexport class AdsPrimaryLogoComponent extends AbstractLogoComponent {\n constructor() {\n super();\n }\n}\n","<picture [ngClass]=\"{ full: !isCollapsed() }\">\n @if (isMobile || isCollapsed()) {\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 24 32\">\n <path\n d=\"M20.5547 3.69959C18.4527 1.6106 15.6421 0.377465 12.6734 0.241829C9.70483 0.106194 6.79227 1.07784 4.50651 2.96635V0.663115H0V31.994L4.50218 27.517V21.1981C6.86303 23.1293 9.87957 24.0849 12.9287 23.8677C15.9778 23.6504 18.8265 22.2769 20.8864 20.0308C22.9463 17.7848 24.06 14.8377 23.9975 11.7985C23.935 8.75926 22.701 5.85999 20.5504 3.69959H20.5547ZM12.1446 19.6627C10.6356 19.6669 9.15923 19.2258 7.90244 18.3953C6.64565 17.5647 5.66496 16.3819 5.08451 14.9968C4.50406 13.6116 4.34996 12.0864 4.64172 10.6141C4.93348 9.14178 5.65798 7.78868 6.7235 6.72608C7.78901 5.66348 9.14763 4.93917 10.6273 4.64484C12.107 4.35051 13.6413 4.49941 15.0359 5.07268C16.4304 5.64595 17.6226 6.61781 18.4614 7.86521C19.3002 9.11262 19.748 10.5795 19.748 12.0801C19.7468 14.087 18.9461 16.0118 17.5211 17.4329C16.096 18.8541 14.1628 19.6558 12.1446 19.6627Z\"\n />\n </svg>\n } @else {\n <svg class=\"logo-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"35\" viewBox=\"0 0 80 35\">\n <path\n d=\"M15.4308 12.8987C13.8528 11.3239 11.7428 10.3942 9.51421 10.292C7.28561 10.1897 5.09909 10.9222 3.38313 12.346V10.6096H0V34.2293L3.37987 30.8542V26.0905C5.15222 27.5464 7.41679 28.2668 9.70582 28.103C11.9948 27.9393 14.1334 26.9038 15.6799 25.2105C17.2263 23.5173 18.0623 21.2956 18.0154 19.0043C17.9685 16.7131 17.0421 14.5274 15.4276 12.8987H15.4308ZM9.11719 24.933C7.98435 24.9362 6.87602 24.6037 5.93252 23.9775C4.98903 23.3513 4.2528 22.4597 3.81704 21.4155C3.38128 20.3712 3.2656 19.2213 3.48463 18.1114C3.70366 17.0015 4.24756 15.9814 5.04746 15.1803C5.84737 14.3793 6.86731 13.8332 7.97815 13.6113C9.089 13.3894 10.2408 13.5017 11.2877 13.9339C12.3347 14.366 13.2296 15.0987 13.8593 16.0391C14.4891 16.9795 14.8252 18.0853 14.8252 19.2166C14.8244 20.7296 14.2232 22.1806 13.1534 23.252C12.0836 24.3234 10.6323 24.9278 9.11719 24.933Z\"\n />\n <path\n d=\"M38.2118 19.2167C38.2119 17.2546 37.565 15.3472 36.3711 13.7889C35.1772 12.2306 33.5028 11.1082 31.6064 10.5951C29.71 10.082 27.6972 10.2067 25.8788 10.9499C24.0605 11.6932 22.5378 13.0137 21.5459 14.7074C20.5541 16.4011 20.1483 18.3737 20.3912 20.3207C20.6341 22.2677 21.5122 24.0807 22.8899 25.4796C24.2676 26.8785 26.0682 27.7855 28.0136 28.0605C29.9589 28.3355 31.9409 27.9632 33.6532 27.0011C34.9526 26.2641 36.0481 25.216 36.841 23.951L34.1058 22.2439C33.5193 23.1737 32.677 23.9151 31.6797 24.3794C30.6823 24.8437 29.5722 25.0112 28.482 24.862C27.3917 24.7128 26.3677 24.2532 25.5322 23.538C24.6967 22.8229 24.0852 21.8825 23.7708 20.8295H38.2151L38.2118 19.2167ZM23.7708 17.6071C24.1208 16.4233 24.8449 15.3844 25.835 14.6454C26.825 13.9065 28.0279 13.5072 29.2639 13.5072C30.5 13.5072 31.7028 13.9065 32.6929 14.6454C33.6829 15.3844 34.407 16.4233 34.757 17.6071H23.7708Z\"\n />\n <path d=\"M66.3569 10.3986H63.0128V28.0972H66.3569V10.3986Z\" />\n <path d=\"M71.14 19.2495L80 28.0972H75.4837L66.6205 19.2495L75.4837 10.3986H80L71.14 19.2495Z\" />\n <path d=\"M56.5265 0H41.304V2.84191H56.5265V0Z\" />\n <path d=\"M40.5882 28.0971H37.0032L48.9174 5.35858L60.8316 28.0971H57.2466L48.9174 12.2L40.5882 28.0971Z\" />\n </svg>\n }\n</picture>\n","import { CommonModule, NgOptimizedImage } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AdsPrimaryLogoComponent } from './primary-logo.component';\n\n@NgModule({\n imports: [CommonModule, NgOptimizedImage],\n exports: [AdsPrimaryLogoComponent],\n declarations: [AdsPrimaryLogoComponent],\n})\nexport class AdsPrimaryLogoModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGsB,qBAAqB,CAAA;AAD3C,IAAA,WAAA,GAAA;;QAGE,IAAA,CAAA,QAAQ,GAAG,KAAK;AAEhB;;AAEG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,GAAG,uDAAC;AAEhC;;AAEG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,KAAK,uDAAC;AAiBpC,IAAA;;IAbC,QAAQ,GAAA;QACN,IAAI,CAAC,eAAe,EAAE;IACxB;;IAGA,QAAQ,GAAA;QACN,IAAI,CAAC,eAAe,EAAE;IACxB;;IAGQ,eAAe,GAAA;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE;IACzD;8GA5BoB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,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