@villedemontreal/angular-ui 16.0.4 → 16.0.6

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 (95) hide show
  1. package/esm2022/lib/alert/alert.component.mjs +2 -2
  2. package/esm2022/lib/alert/index.mjs +2 -2
  3. package/esm2022/lib/alert/module.mjs +2 -2
  4. package/esm2022/lib/avatar/avatar.component.mjs +2 -2
  5. package/esm2022/lib/avatar/index.mjs +2 -2
  6. package/esm2022/lib/avatar/module.mjs +2 -2
  7. package/esm2022/lib/badge/badge.component.mjs +2 -2
  8. package/esm2022/lib/badge/index.mjs +2 -2
  9. package/esm2022/lib/badge/module.mjs +2 -2
  10. package/esm2022/lib/bao.module.mjs +2 -2
  11. package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +2 -2
  12. package/esm2022/lib/breadcrumb/index.mjs +2 -2
  13. package/esm2022/lib/breadcrumb/module.mjs +2 -2
  14. package/esm2022/lib/button/button.component.mjs +2 -2
  15. package/esm2022/lib/button/index.mjs +2 -2
  16. package/esm2022/lib/button/module.mjs +2 -2
  17. package/esm2022/lib/card/card.component.mjs +2 -2
  18. package/esm2022/lib/card/index.mjs +2 -2
  19. package/esm2022/lib/card/module.mjs +2 -2
  20. package/esm2022/lib/checkbox/checkbox-group.component.mjs +2 -2
  21. package/esm2022/lib/checkbox/checkbox.component.mjs +1 -1
  22. package/esm2022/lib/checkbox/index.mjs +2 -2
  23. package/esm2022/lib/checkbox/module.mjs +2 -2
  24. package/esm2022/lib/common-components/error-text/errorText.component.mjs +2 -2
  25. package/esm2022/lib/common-components/guiding-text/guidingText.component.mjs +2 -2
  26. package/esm2022/lib/common-components/index.mjs +2 -2
  27. package/esm2022/lib/common-components/label-text/labelText.component.mjs +2 -2
  28. package/esm2022/lib/common-components/module.mjs +2 -2
  29. package/esm2022/lib/common-components/title-text/titleText.component.mjs +2 -2
  30. package/esm2022/lib/core/breakpoints.mjs +2 -2
  31. package/esm2022/lib/core/colors.mjs +1 -1
  32. package/esm2022/lib/core/index.mjs +2 -2
  33. package/esm2022/lib/dropdown-menu/dropdown-menu.component.mjs +73 -51
  34. package/esm2022/lib/dropdown-menu/index.mjs +2 -2
  35. package/esm2022/lib/dropdown-menu/module.mjs +2 -2
  36. package/esm2022/lib/file/file-input.component.mjs +2 -2
  37. package/esm2022/lib/file/file-intl.mjs +2 -2
  38. package/esm2022/lib/file/file-preview.component.mjs +2 -2
  39. package/esm2022/lib/file/index.mjs +2 -2
  40. package/esm2022/lib/file/module.mjs +2 -2
  41. package/esm2022/lib/header-info/header-info.component.mjs +2 -2
  42. package/esm2022/lib/header-info/index.mjs +2 -2
  43. package/esm2022/lib/header-info/module.mjs +2 -2
  44. package/esm2022/lib/hyperlink/hyperlink.component.mjs +2 -2
  45. package/esm2022/lib/hyperlink/index.mjs +2 -2
  46. package/esm2022/lib/hyperlink/module.mjs +2 -2
  47. package/esm2022/lib/icon/bao-icon-registry.mjs +2 -2
  48. package/esm2022/lib/icon/icon.component.mjs +2 -2
  49. package/esm2022/lib/icon/icons-dictionary.mjs +2 -2
  50. package/esm2022/lib/icon/index.mjs +2 -2
  51. package/esm2022/lib/icon/module.mjs +2 -2
  52. package/esm2022/lib/list/index.mjs +2 -2
  53. package/esm2022/lib/list/list.component.mjs +4 -4
  54. package/esm2022/lib/list/module.mjs +2 -2
  55. package/esm2022/lib/modal/index.mjs +2 -2
  56. package/esm2022/lib/modal/modal-config.mjs +2 -2
  57. package/esm2022/lib/modal/modal-container.mjs +1 -1
  58. package/esm2022/lib/modal/modal-directives.mjs +2 -2
  59. package/esm2022/lib/modal/modal-ref.mjs +1 -1
  60. package/esm2022/lib/modal/modal.mjs +2 -2
  61. package/esm2022/lib/modal/module.mjs +2 -2
  62. package/esm2022/lib/radio/index.mjs +2 -2
  63. package/esm2022/lib/radio/module.mjs +2 -2
  64. package/esm2022/lib/radio/radio-group.component.mjs +2 -2
  65. package/esm2022/lib/radio/radio.component.mjs +1 -1
  66. package/esm2022/lib/shared/enum/display-mode.mjs +1 -1
  67. package/esm2022/lib/shared/index.mjs +2 -2
  68. package/esm2022/lib/snack-bar/index.mjs +2 -2
  69. package/esm2022/lib/snack-bar/module.mjs +2 -2
  70. package/esm2022/lib/snack-bar/simple-snack-bar.component.mjs +2 -2
  71. package/esm2022/lib/snack-bar/snack-bar-animations.mjs +2 -2
  72. package/esm2022/lib/snack-bar/snack-bar-config.mjs +1 -1
  73. package/esm2022/lib/snack-bar/snack-bar-container.mjs +1 -1
  74. package/esm2022/lib/snack-bar/snack-bar-ref.mjs +1 -1
  75. package/esm2022/lib/snack-bar/snack-bar.mjs +1 -1
  76. package/esm2022/lib/summary/index.mjs +2 -2
  77. package/esm2022/lib/summary/list-summary.component.mjs +2 -2
  78. package/esm2022/lib/summary/module.mjs +2 -2
  79. package/esm2022/lib/summary/summary.component.mjs +2 -2
  80. package/esm2022/lib/system-header/index.mjs +2 -2
  81. package/esm2022/lib/system-header/module.mjs +2 -2
  82. package/esm2022/lib/system-header/system-header.component.mjs +1 -1
  83. package/esm2022/lib/tabs/index.mjs +2 -2
  84. package/esm2022/lib/tabs/module.mjs +2 -2
  85. package/esm2022/lib/tabs/tabs.component.mjs +2 -2
  86. package/esm2022/lib/tag/index.mjs +2 -2
  87. package/esm2022/lib/tag/module.mjs +2 -2
  88. package/esm2022/lib/tag/tag.component.mjs +2 -2
  89. package/esm2022/public-api.mjs +2 -2
  90. package/fesm2022/villedemontreal-angular-ui.mjs +151 -129
  91. package/fesm2022/villedemontreal-angular-ui.mjs.map +1 -1
  92. package/global.scss +2 -0
  93. package/lib/dropdown-menu/dropdown-menu.component.d.ts +2 -11
  94. package/lib/list/list.component.d.ts +1 -1
  95. package/package.json +1 -1
@@ -47,7 +47,7 @@ function baoColorToHex(baoColor) {
47
47
  }
48
48
 
49
49
  /*
50
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
50
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
51
51
  * Licensed under the MIT license.
52
52
  * See LICENSE file in the project root for full license information.
53
53
  */
@@ -172,7 +172,7 @@ const ICONS_DCT = {
172
172
  };
173
173
 
174
174
  /*
175
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
175
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
176
176
  * Licensed under the MIT license.
177
177
  * See LICENSE file in the project root for full license information.
178
178
  */
@@ -211,7 +211,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
211
211
  }] }, { type: i1.DomSanitizer }]; } });
212
212
 
213
213
  /*
214
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
214
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
215
215
  * Licensed under the MIT license.
216
216
  * See LICENSE file in the project root for full license information.
217
217
  */
@@ -365,7 +365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
365
365
  }] } });
366
366
 
367
367
  /*
368
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
368
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
369
369
  * Licensed under the MIT license.
370
370
  * See LICENSE file in the project root for full license information.
371
371
  */
@@ -385,7 +385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
385
385
  }] });
386
386
 
387
387
  /*
388
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
388
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
389
389
  * Licensed under the MIT license.
390
390
  * See LICENSE file in the project root for full license information.
391
391
  */
@@ -481,7 +481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
481
481
  }] } });
482
482
 
483
483
  /*
484
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
484
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
485
485
  * Licensed under the MIT license.
486
486
  * See LICENSE file in the project root for full license information.
487
487
  */
@@ -501,7 +501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
501
501
  }] });
502
502
 
503
503
  /*
504
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
504
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
505
505
  * Licensed under the MIT license.
506
506
  * See LICENSE file in the project root for full license information.
507
507
  */
@@ -665,7 +665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
665
665
  }] } });
666
666
 
667
667
  /*
668
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
668
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
669
669
  * Licensed under the MIT license.
670
670
  * See LICENSE file in the project root for full license information.
671
671
  */
@@ -700,13 +700,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
700
700
  }] });
701
701
 
702
702
  /*
703
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
703
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
704
704
  * Licensed under the MIT license.
705
705
  * See LICENSE file in the project root for full license information.
706
706
  */
707
707
 
708
708
  /*
709
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
709
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
710
710
  * Licensed under the MIT license.
711
711
  * See LICENSE file in the project root for full license information.
712
712
  */
@@ -739,7 +739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
739
739
  }] } });
740
740
 
741
741
  /*
742
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
742
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
743
743
  * Licensed under the MIT license.
744
744
  * See LICENSE file in the project root for full license information.
745
745
  */
@@ -759,19 +759,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
759
759
  }] });
760
760
 
761
761
  /*
762
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
762
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
763
763
  * Licensed under the MIT license.
764
764
  * See LICENSE file in the project root for full license information.
765
765
  */
766
766
 
767
767
  /*
768
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
768
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
769
769
  * Licensed under the MIT license.
770
770
  * See LICENSE file in the project root for full license information.
771
771
  */
772
772
 
773
773
  /*
774
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
774
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
775
775
  * Licensed under the MIT license.
776
776
  * See LICENSE file in the project root for full license information.
777
777
  */
@@ -863,7 +863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
863
863
  }] });
864
864
 
865
865
  /*
866
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
866
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
867
867
  * Licensed under the MIT license.
868
868
  * See LICENSE file in the project root for full license information.
869
869
  */
@@ -897,13 +897,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
897
897
  }] });
898
898
 
899
899
  /*
900
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
900
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
901
901
  * Licensed under the MIT license.
902
902
  * See LICENSE file in the project root for full license information.
903
903
  */
904
904
 
905
905
  /*
906
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
906
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
907
907
  * Licensed under the MIT license.
908
908
  * See LICENSE file in the project root for full license information.
909
909
  */
@@ -917,7 +917,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
917
917
  }] });
918
918
 
919
919
  /*
920
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
920
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
921
921
  * Licensed under the MIT license.
922
922
  * See LICENSE file in the project root for full license information.
923
923
  */
@@ -931,7 +931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
931
931
  }] });
932
932
 
933
933
  /*
934
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
934
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
935
935
  * Licensed under the MIT license.
936
936
  * See LICENSE file in the project root for full license information.
937
937
  */
@@ -950,7 +950,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
950
950
  }] } });
951
951
 
952
952
  /*
953
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
953
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
954
954
  * Licensed under the MIT license.
955
955
  * See LICENSE file in the project root for full license information.
956
956
  */
@@ -964,7 +964,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
964
964
  }] });
965
965
 
966
966
  /*
967
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
967
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
968
968
  * Licensed under the MIT license.
969
969
  * See LICENSE file in the project root for full license information.
970
970
  */
@@ -995,7 +995,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
995
995
  }] });
996
996
 
997
997
  /*
998
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
998
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
999
999
  * Licensed under the MIT license.
1000
1000
  * See LICENSE file in the project root for full license information.
1001
1001
  */
@@ -1350,7 +1350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
1350
1350
  }] });
1351
1351
 
1352
1352
  /*
1353
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1353
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1354
1354
  * Licensed under the MIT license.
1355
1355
  * See LICENSE file in the project root for full license information.
1356
1356
  */
@@ -1378,19 +1378,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
1378
1378
  }] });
1379
1379
 
1380
1380
  /*
1381
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1381
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1382
1382
  * Licensed under the MIT license.
1383
1383
  * See LICENSE file in the project root for full license information.
1384
1384
  */
1385
1385
 
1386
1386
  /*
1387
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1387
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1388
1388
  * Licensed under the MIT license.
1389
1389
  * See LICENSE file in the project root for full license information.
1390
1390
  */
1391
1391
 
1392
1392
  /*
1393
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1393
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1394
1394
  * Licensed under the MIT license.
1395
1395
  * See LICENSE file in the project root for full license information.
1396
1396
  */
@@ -1491,7 +1491,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
1491
1491
  }] });
1492
1492
 
1493
1493
  /*
1494
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1494
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1495
1495
  * Licensed under the MIT license.
1496
1496
  * See LICENSE file in the project root for full license information.
1497
1497
  */
@@ -1528,32 +1528,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
1528
1528
  }] });
1529
1529
 
1530
1530
  /*
1531
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1531
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1532
1532
  * Licensed under the MIT license.
1533
1533
  * See LICENSE file in the project root for full license information.
1534
1534
  */
1535
1535
 
1536
1536
  /*
1537
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1537
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1538
1538
  * Licensed under the MIT license.
1539
1539
  * See LICENSE file in the project root for full license information.
1540
1540
  */
1541
1541
 
1542
1542
  /*
1543
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1543
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1544
1544
  * Licensed under the MIT license.
1545
1545
  * See LICENSE file in the project root for full license information.
1546
1546
  */
1547
1547
  class BaoListItem {
1548
1548
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoListItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1549
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.6", type: BaoListItem, selector: "bao-list-item, [bao-list-item]", host: { attributes: { "role": "listitem" }, classAttribute: "bao-list-item" }, ngImport: i0, template: "<div class=\"bao-list-item-header\">\n <ng-content select=\"baoIconItemType, [baoIconItemType]\"></ng-content>\n</div>\n<div class=\"bao-list-item-content\">\n <div class=\"bao-list-item-text\">\n <ng-content></ng-content>\n </div>\n <div class=\"bao-list-item-tag\">\n <ng-content\n select=\"bao-tag, [bao-tag], baoIconTag, [baoIconTag]\"\n ></ng-content>\n </div>\n</div>\n", styles: [".bao-container{padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 576px){.bao-container{max-width:576px}}@media (min-width: 768px){.bao-container{max-width:768px}}@media (min-width: 992px){.bao-container{max-width:992px}}@media (min-width: 1200px){.bao-container{max-width:1200px}}.bao-row{display:flex;flex-wrap:wrap;margin-right:-16px;margin-left:-16px}.bao-col-12,.bao-col-lg-7{position:relative;width:100%;padding-right:1rem;padding-left:1rem}@media (min-width: 992px){.bao-col-lg-7{flex:0 0 58.33333%;max-width:58.33333%}}.bao-list{padding:0;margin:0}.bao-list>.bao-list-item:last-child{border-radius:.125rem;box-shadow:inset 0 .0625rem #ced4da,inset 0 -.0625rem #ced4da}.bao-list>a.bao-list-item{border-bottom:none}.bao-list>a.bao-list-item:focus{box-shadow:0 0 0 .1875rem #98bcde;background-color:#f8f9fa}.bao-list>a.bao-list-item:focus .bao-list-item-title{color:#097d6c}.bao-list>a.bao-list-item:hover{background-color:#f8f9fa}.bao-list>a.bao-list-item:hover .bao-list-item-text,.bao-list>a.bao-list-item:hover .bao-list-item-title{color:#097d6c}.bao-list .bao-list-item{display:flex;padding:1rem;background-color:#fff0;border-radius:.125rem .125rem 0rem 0rem;box-shadow:inset 0 .0625rem #ced4da}.bao-list .bao-list-item>.bao-list-item-header{align-self:flex-start;color:#adb2bd;line-height:0}.bao-list .bao-list-item>.bao-list-item-header .bao-icon{margin-right:1em}.bao-list .bao-list-item>.bao-list-item-content{display:flex;flex-grow:2}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:column}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:row;justify-content:space-between}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text{display:flex;flex-direction:column;color:#212529;font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-title{font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{padding:0;margin:0}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{display:inline-flex;flex-wrap:wrap}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{color:#637381;margin-right:0 1rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{font-weight:400;font-size:.875rem;line-height:1.25rem;list-style-type:none}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{display:block}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{margin-bottom:.25rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*:last-child{margin-bottom:0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li{display:inline-flex;align-items:center;margin-bottom:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:before{content:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ADB5BD' fill-rule='evenodd'><circle cx='12' cy='12' r='2'/></svg>\");height:1rem;width:1rem;margin:0 .25rem;flex-shrink:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:first-child:before{content:none}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag{line-height:0}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:.5rem 0 0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:0 0 0 1rem}}\n"], encapsulation: i0.ViewEncapsulation.None }); }
1549
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.6", type: BaoListItem, selector: "bao-list-item, [bao-list-item]", host: { attributes: { "role": "listitem" }, classAttribute: "bao-list-item" }, ngImport: i0, template: "<div class=\"bao-list-item-header\">\n <ng-content select=\"baoIconItemType, [baoIconItemType]\"></ng-content>\n</div>\n<div class=\"bao-list-item-content\">\n <div class=\"bao-list-item-text\">\n <ng-content></ng-content>\n </div>\n <div class=\"bao-list-item-tag\">\n <ng-content\n select=\"bao-tag, [bao-tag], baoIconTag, [baoIconTag]\"\n ></ng-content>\n </div>\n</div>\n<div class=\"bao-list-item-actions\">\n <ng-content\n select=\"bao-button, [bao-button], bao-dropdown-menu, [bao-dropdown-menu]\"\n >\n </ng-content>\n</div>\n", styles: [".bao-container{padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 576px){.bao-container{max-width:576px}}@media (min-width: 768px){.bao-container{max-width:768px}}@media (min-width: 992px){.bao-container{max-width:992px}}@media (min-width: 1200px){.bao-container{max-width:1200px}}.bao-row{display:flex;flex-wrap:wrap;margin-right:-16px;margin-left:-16px}.bao-col-12,.bao-col-lg-7{position:relative;width:100%;padding-right:1rem;padding-left:1rem}@media (min-width: 992px){.bao-col-lg-7{flex:0 0 58.33333%;max-width:58.33333%}}.bao-list{padding:0;margin:0}.bao-list>.bao-list-item:last-child{border-radius:.125rem;box-shadow:inset 0 .0625rem #ced4da,inset 0 -.0625rem #ced4da}.bao-list>a.bao-list-item{border-bottom:none}.bao-list>a.bao-list-item:focus{box-shadow:0 0 0 .1875rem #98bcde;background-color:#f8f9fa}.bao-list>a.bao-list-item:focus .bao-list-item-title{color:#097d6c}.bao-list>a.bao-list-item:hover{background-color:#f8f9fa}.bao-list>a.bao-list-item:hover .bao-list-item-text,.bao-list>a.bao-list-item:hover .bao-list-item-title{color:#097d6c}.bao-list .bao-list-item{display:flex;padding:1rem;background-color:#fff0;border-radius:.125rem .125rem 0rem 0rem;box-shadow:inset 0 .0625rem #ced4da}.bao-list .bao-list-item>.bao-list-item-header{align-self:flex-start;color:#adb2bd;line-height:0}.bao-list .bao-list-item>.bao-list-item-header .bao-icon{margin-right:1em}.bao-list .bao-list-item>.bao-list-item-content{display:flex;flex-grow:2}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:column}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:row;justify-content:space-between}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text{display:flex;flex-direction:column;color:#212529;font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-title{font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{padding:0;margin:0}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{display:inline-flex;flex-wrap:wrap}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{color:#637381;margin-right:0 1rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{font-weight:400;font-size:.875rem;line-height:1.25rem;list-style-type:none}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{display:block}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{margin-bottom:.25rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*:last-child{margin-bottom:0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li{display:inline-flex;align-items:center;margin-bottom:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:before{content:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ADB5BD' fill-rule='evenodd'><circle cx='12' cy='12' r='2'/></svg>\");height:1rem;width:1rem;margin:0 .25rem;flex-shrink:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:first-child:before{content:none}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag{line-height:0}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:.5rem 0 0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:0 0 0 1rem}}.bao-list .bao-list-item>.bao-list-item-actions .bao-button{margin-left:2rem;margin-top:-.5rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
1550
1550
  }
1551
1551
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoListItem, decorators: [{
1552
1552
  type: Component,
1553
1553
  args: [{ selector: 'bao-list-item, [bao-list-item]', encapsulation: ViewEncapsulation.None, host: {
1554
1554
  class: 'bao-list-item',
1555
1555
  role: 'listitem'
1556
- }, template: "<div class=\"bao-list-item-header\">\n <ng-content select=\"baoIconItemType, [baoIconItemType]\"></ng-content>\n</div>\n<div class=\"bao-list-item-content\">\n <div class=\"bao-list-item-text\">\n <ng-content></ng-content>\n </div>\n <div class=\"bao-list-item-tag\">\n <ng-content\n select=\"bao-tag, [bao-tag], baoIconTag, [baoIconTag]\"\n ></ng-content>\n </div>\n</div>\n", styles: [".bao-container{padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 576px){.bao-container{max-width:576px}}@media (min-width: 768px){.bao-container{max-width:768px}}@media (min-width: 992px){.bao-container{max-width:992px}}@media (min-width: 1200px){.bao-container{max-width:1200px}}.bao-row{display:flex;flex-wrap:wrap;margin-right:-16px;margin-left:-16px}.bao-col-12,.bao-col-lg-7{position:relative;width:100%;padding-right:1rem;padding-left:1rem}@media (min-width: 992px){.bao-col-lg-7{flex:0 0 58.33333%;max-width:58.33333%}}.bao-list{padding:0;margin:0}.bao-list>.bao-list-item:last-child{border-radius:.125rem;box-shadow:inset 0 .0625rem #ced4da,inset 0 -.0625rem #ced4da}.bao-list>a.bao-list-item{border-bottom:none}.bao-list>a.bao-list-item:focus{box-shadow:0 0 0 .1875rem #98bcde;background-color:#f8f9fa}.bao-list>a.bao-list-item:focus .bao-list-item-title{color:#097d6c}.bao-list>a.bao-list-item:hover{background-color:#f8f9fa}.bao-list>a.bao-list-item:hover .bao-list-item-text,.bao-list>a.bao-list-item:hover .bao-list-item-title{color:#097d6c}.bao-list .bao-list-item{display:flex;padding:1rem;background-color:#fff0;border-radius:.125rem .125rem 0rem 0rem;box-shadow:inset 0 .0625rem #ced4da}.bao-list .bao-list-item>.bao-list-item-header{align-self:flex-start;color:#adb2bd;line-height:0}.bao-list .bao-list-item>.bao-list-item-header .bao-icon{margin-right:1em}.bao-list .bao-list-item>.bao-list-item-content{display:flex;flex-grow:2}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:column}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:row;justify-content:space-between}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text{display:flex;flex-direction:column;color:#212529;font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-title{font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{padding:0;margin:0}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{display:inline-flex;flex-wrap:wrap}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{color:#637381;margin-right:0 1rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{font-weight:400;font-size:.875rem;line-height:1.25rem;list-style-type:none}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{display:block}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{margin-bottom:.25rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*:last-child{margin-bottom:0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li{display:inline-flex;align-items:center;margin-bottom:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:before{content:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ADB5BD' fill-rule='evenodd'><circle cx='12' cy='12' r='2'/></svg>\");height:1rem;width:1rem;margin:0 .25rem;flex-shrink:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:first-child:before{content:none}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag{line-height:0}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:.5rem 0 0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:0 0 0 1rem}}\n"] }]
1556
+ }, template: "<div class=\"bao-list-item-header\">\n <ng-content select=\"baoIconItemType, [baoIconItemType]\"></ng-content>\n</div>\n<div class=\"bao-list-item-content\">\n <div class=\"bao-list-item-text\">\n <ng-content></ng-content>\n </div>\n <div class=\"bao-list-item-tag\">\n <ng-content\n select=\"bao-tag, [bao-tag], baoIconTag, [baoIconTag]\"\n ></ng-content>\n </div>\n</div>\n<div class=\"bao-list-item-actions\">\n <ng-content\n select=\"bao-button, [bao-button], bao-dropdown-menu, [bao-dropdown-menu]\"\n >\n </ng-content>\n</div>\n", styles: [".bao-container{padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 576px){.bao-container{max-width:576px}}@media (min-width: 768px){.bao-container{max-width:768px}}@media (min-width: 992px){.bao-container{max-width:992px}}@media (min-width: 1200px){.bao-container{max-width:1200px}}.bao-row{display:flex;flex-wrap:wrap;margin-right:-16px;margin-left:-16px}.bao-col-12,.bao-col-lg-7{position:relative;width:100%;padding-right:1rem;padding-left:1rem}@media (min-width: 992px){.bao-col-lg-7{flex:0 0 58.33333%;max-width:58.33333%}}.bao-list{padding:0;margin:0}.bao-list>.bao-list-item:last-child{border-radius:.125rem;box-shadow:inset 0 .0625rem #ced4da,inset 0 -.0625rem #ced4da}.bao-list>a.bao-list-item{border-bottom:none}.bao-list>a.bao-list-item:focus{box-shadow:0 0 0 .1875rem #98bcde;background-color:#f8f9fa}.bao-list>a.bao-list-item:focus .bao-list-item-title{color:#097d6c}.bao-list>a.bao-list-item:hover{background-color:#f8f9fa}.bao-list>a.bao-list-item:hover .bao-list-item-text,.bao-list>a.bao-list-item:hover .bao-list-item-title{color:#097d6c}.bao-list .bao-list-item{display:flex;padding:1rem;background-color:#fff0;border-radius:.125rem .125rem 0rem 0rem;box-shadow:inset 0 .0625rem #ced4da}.bao-list .bao-list-item>.bao-list-item-header{align-self:flex-start;color:#adb2bd;line-height:0}.bao-list .bao-list-item>.bao-list-item-header .bao-icon{margin-right:1em}.bao-list .bao-list-item>.bao-list-item-content{display:flex;flex-grow:2}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:column}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content{flex-direction:row;justify-content:space-between}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text{display:flex;flex-direction:column;color:#212529;font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-title{font-weight:700;font-size:1rem;line-height:1.5rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{padding:0;margin:0}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>ul.bao-list-item-description{display:inline-flex;flex-wrap:wrap}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{color:#637381;margin-right:0 1rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{font-weight:400;font-size:.875rem;line-height:1.25rem;list-style-type:none}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description{display:block}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*{margin-bottom:.25rem}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>*:last-child{margin-bottom:0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li{display:inline-flex;align-items:center;margin-bottom:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:before{content:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ADB5BD' fill-rule='evenodd'><circle cx='12' cy='12' r='2'/></svg>\");height:1rem;width:1rem;margin:0 .25rem;flex-shrink:0}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-text>.bao-list-item-description>li:first-child:before{content:none}}.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag{line-height:0}@media (min-width: 0){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:.5rem 0 0}}@media (min-width: 768px){.bao-list .bao-list-item>.bao-list-item-content>.bao-list-item-tag>*{margin:0 0 0 1rem}}.bao-list .bao-list-item>.bao-list-item-actions .bao-button{margin-left:2rem;margin-top:-.5rem}\n"] }]
1557
1557
  }] });
1558
1558
  class BaoList {
1559
1559
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoList, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
@@ -1611,7 +1611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
1611
1611
  }] });
1612
1612
 
1613
1613
  /*
1614
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1614
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1615
1615
  * Licensed under the MIT license.
1616
1616
  * See LICENSE file in the project root for full license information.
1617
1617
  */
@@ -1645,13 +1645,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
1645
1645
  }] });
1646
1646
 
1647
1647
  /*
1648
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1648
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1649
1649
  * Licensed under the MIT license.
1650
1650
  * See LICENSE file in the project root for full license information.
1651
1651
  */
1652
1652
 
1653
1653
  /*
1654
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
1654
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
1655
1655
  * Licensed under the MIT license.
1656
1656
  * See LICENSE file in the project root for full license information.
1657
1657
  */
@@ -2177,7 +2177,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2177
2177
  }] });
2178
2178
 
2179
2179
  /*
2180
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2180
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2181
2181
  * Licensed under the MIT license.
2182
2182
  * See LICENSE file in the project root for full license information.
2183
2183
  */
@@ -2222,13 +2222,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2222
2222
  }] });
2223
2223
 
2224
2224
  /*
2225
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2225
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2226
2226
  * Licensed under the MIT license.
2227
2227
  * See LICENSE file in the project root for full license information.
2228
2228
  */
2229
2229
 
2230
2230
  /*
2231
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2231
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2232
2232
  * Licensed under the MIT license.
2233
2233
  * See LICENSE file in the project root for full license information.
2234
2234
  */
@@ -2301,7 +2301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2301
2301
  }] } });
2302
2302
 
2303
2303
  /*
2304
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2304
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2305
2305
  * Licensed under the MIT license.
2306
2306
  * See LICENSE file in the project root for full license information.
2307
2307
  */
@@ -2321,13 +2321,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2321
2321
  }] });
2322
2322
 
2323
2323
  /*
2324
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2324
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2325
2325
  * Licensed under the MIT license.
2326
2326
  * See LICENSE file in the project root for full license information.
2327
2327
  */
2328
2328
 
2329
2329
  /*
2330
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2330
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2331
2331
  * Licensed under the MIT license.
2332
2332
  * See LICENSE file in the project root for full license information.
2333
2333
  */
@@ -2418,7 +2418,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2418
2418
  }] });
2419
2419
 
2420
2420
  /*
2421
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2421
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2422
2422
  * Licensed under the MIT license.
2423
2423
  * See LICENSE file in the project root for full license information.
2424
2424
  */
@@ -2446,7 +2446,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2446
2446
  }] });
2447
2447
 
2448
2448
  /*
2449
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2449
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2450
2450
  * Licensed under the MIT license.
2451
2451
  * See LICENSE file in the project root for full license information.
2452
2452
  */
@@ -2477,13 +2477,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2477
2477
  }] });
2478
2478
 
2479
2479
  /*
2480
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2480
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2481
2481
  * Licensed under the MIT license.
2482
2482
  * See LICENSE file in the project root for full license information.
2483
2483
  */
2484
2484
 
2485
2485
  /*
2486
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2486
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2487
2487
  * Licensed under the MIT license.
2488
2488
  * See LICENSE file in the project root for full license information.
2489
2489
  */
@@ -2583,7 +2583,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2583
2583
  }] } });
2584
2584
 
2585
2585
  /*
2586
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2586
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2587
2587
  * Licensed under the MIT license.
2588
2588
  * See LICENSE file in the project root for full license information.
2589
2589
  */
@@ -2603,13 +2603,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2603
2603
  }] });
2604
2604
 
2605
2605
  /*
2606
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2606
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2607
2607
  * Licensed under the MIT license.
2608
2608
  * See LICENSE file in the project root for full license information.
2609
2609
  */
2610
2610
 
2611
2611
  /*
2612
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2612
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2613
2613
  * Licensed under the MIT license.
2614
2614
  * See LICENSE file in the project root for full license information.
2615
2615
  */
@@ -2902,7 +2902,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2902
2902
  }] } });
2903
2903
 
2904
2904
  /*
2905
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2905
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2906
2906
  * Licensed under the MIT license.
2907
2907
  * See LICENSE file in the project root for full license information.
2908
2908
  */
@@ -2933,13 +2933,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
2933
2933
  }] });
2934
2934
 
2935
2935
  /*
2936
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2936
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2937
2937
  * Licensed under the MIT license.
2938
2938
  * See LICENSE file in the project root for full license information.
2939
2939
  */
2940
2940
 
2941
2941
  /*
2942
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
2942
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
2943
2943
  * Licensed under the MIT license.
2944
2944
  * See LICENSE file in the project root for full license information.
2945
2945
  */
@@ -3432,7 +3432,7 @@ function _closeModalVia(ref, interactionType, result) {
3432
3432
  }
3433
3433
 
3434
3434
  /*
3435
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3435
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3436
3436
  * Licensed under the MIT license.
3437
3437
  * See LICENSE file in the project root for full license information.
3438
3438
  */
@@ -3695,7 +3695,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
3695
3695
  }] }, { type: i1$4.OverlayContainer }]; } });
3696
3696
 
3697
3697
  /*
3698
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3698
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3699
3699
  * Licensed under the MIT license.
3700
3700
  * See LICENSE file in the project root for full license information.
3701
3701
  */
@@ -3774,7 +3774,7 @@ function getClosestDialog(element, openDialogs) {
3774
3774
  }
3775
3775
 
3776
3776
  /*
3777
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3777
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3778
3778
  * Licensed under the MIT license.
3779
3779
  * See LICENSE file in the project root for full license information.
3780
3780
  */
@@ -3795,7 +3795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
3795
3795
  }] });
3796
3796
 
3797
3797
  /*
3798
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3798
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3799
3799
  * Licensed under the MIT license.
3800
3800
  * See LICENSE file in the project root for full license information.
3801
3801
  */
@@ -3868,7 +3868,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
3868
3868
  }] } });
3869
3869
 
3870
3870
  /*
3871
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3871
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3872
3872
  * Licensed under the MIT license.
3873
3873
  * See LICENSE file in the project root for full license information.
3874
3874
  */
@@ -3888,13 +3888,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
3888
3888
  }] });
3889
3889
 
3890
3890
  /*
3891
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3891
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3892
3892
  * Licensed under the MIT license.
3893
3893
  * See LICENSE file in the project root for full license information.
3894
3894
  */
3895
3895
 
3896
3896
  /*
3897
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
3897
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
3898
3898
  * Licensed under the MIT license.
3899
3899
  * See LICENSE file in the project root for full license information.
3900
3900
  */
@@ -4081,16 +4081,20 @@ class BaoDropdownMenuComponent {
4081
4081
  }
4082
4082
  upKeyEvent() {
4083
4083
  if (this.isOpen) {
4084
- const index = isNaN(this._activeItemIndex) ? 0 : this._activeItemIndex;
4084
+ const index = isNaN(this._activeItemIndex) ? -1 : this._activeItemIndex;
4085
4085
  const nextIndex = this.getNextActivableItemIndex(index, false);
4086
- this.focusNextItem(nextIndex);
4086
+ if (nextIndex > -1) {
4087
+ this.focusNextItem(nextIndex);
4088
+ }
4087
4089
  }
4088
4090
  }
4089
4091
  downKeyEvent() {
4090
4092
  if (this.isOpen) {
4091
- const index = isNaN(this._activeItemIndex) ? 0 : this._activeItemIndex;
4093
+ const index = isNaN(this._activeItemIndex) ? -1 : this._activeItemIndex;
4092
4094
  const nextIndex = this.getNextActivableItemIndex(index, true);
4093
- this.focusNextItem(nextIndex);
4095
+ if (nextIndex > -1) {
4096
+ this.focusNextItem(nextIndex);
4097
+ }
4094
4098
  }
4095
4099
  }
4096
4100
  /** Prevents focus to be lost when TAB has reached end of menu */
@@ -4101,6 +4105,16 @@ class BaoDropdownMenuComponent {
4101
4105
  }
4102
4106
  }
4103
4107
  }
4108
+ tabUpKeyEvent() {
4109
+ if (this.isOpen) {
4110
+ this._activeItemIndex = this._listItems.reduce((acc, element, index) => {
4111
+ if (element.nativeElement === document.activeElement) {
4112
+ acc = index;
4113
+ }
4114
+ return acc;
4115
+ }, -1);
4116
+ }
4117
+ }
4104
4118
  /** Prevents focus to be lost when SHIFT + TAB has reached beginning of menu */
4105
4119
  shiftTabKeyEvent() {
4106
4120
  if (this.isOpen) {
@@ -4116,16 +4130,16 @@ class BaoDropdownMenuComponent {
4116
4130
  ngAfterContentInit() {
4117
4131
  this._listItems.forEach((item) => item.itemClicked.subscribe(() => this.isClosedByKeyEvent.emit()));
4118
4132
  }
4119
- focusFirstItem() {
4120
- this._activeItemIndex = 0;
4121
- this._listItems.first.nativeElement.focus();
4122
- }
4123
4133
  open() {
4124
4134
  this.isOpen = true;
4125
4135
  }
4126
4136
  close() {
4127
4137
  this.isOpen = false;
4128
4138
  }
4139
+ focus() {
4140
+ this._activeItemIndex = -1;
4141
+ this._menuContent.nativeElement.focus();
4142
+ }
4129
4143
  /** Move the aria-current attribute to new active page */
4130
4144
  setNavigationAttribute(activePageElement) {
4131
4145
  const previousActivePage = this._listItems.find((item) => {
@@ -4149,39 +4163,54 @@ class BaoDropdownMenuComponent {
4149
4163
  * @param isBackward If recursive function is going backward looking for last activable item in list
4150
4164
  * @returns Index of the next item that will receive focus
4151
4165
  */
4152
- getNextActivableItemIndex(currentIndex, isDown, isBackward = false) {
4153
- if (!this._listItems.get(currentIndex).disabled) {
4154
- if (!this.canMove(currentIndex, isDown)) {
4155
- return currentIndex;
4166
+ getNextActivableItemIndex(currentIndex, isDown) {
4167
+ const init = [];
4168
+ // Get all the activable indexes
4169
+ const activableIndexes = this._listItems.reduce((acc, element, index) => {
4170
+ if (!element.disabled) {
4171
+ acc = [...acc, index];
4156
4172
  }
4157
- }
4158
- else {
4159
- if (!this.canMove(currentIndex, isDown)) {
4160
- const previousIndex = isDown ? currentIndex - 1 : currentIndex + 1;
4161
- return this.getNextActivableItemIndex(previousIndex, isDown, true);
4173
+ return acc;
4174
+ }, init);
4175
+ if (activableIndexes.length) {
4176
+ if (isDown) {
4177
+ // Select the first enabled element
4178
+ if (currentIndex === -1) {
4179
+ return activableIndexes[0];
4180
+ }
4181
+ // Select the only enabled element
4182
+ if (activableIndexes.length === 1) {
4183
+ return activableIndexes[0];
4184
+ }
4185
+ // Stay on the last enabled element
4186
+ if (currentIndex === activableIndexes[activableIndexes.length - 1]) {
4187
+ return currentIndex;
4188
+ }
4189
+ // Select the next enabled element
4190
+ return activableIndexes.find(index => index > currentIndex);
4162
4191
  }
4163
- }
4164
- const nextIndex = isDown ? currentIndex + 1 : currentIndex - 1;
4165
- if (this._listItems.get(nextIndex).disabled) {
4166
- if (isBackward) {
4167
- return currentIndex;
4192
+ const isUp = !isDown;
4193
+ if (isUp) {
4194
+ // Do nothing whenever nothing is selected
4195
+ if (currentIndex === -1) {
4196
+ return currentIndex;
4197
+ }
4198
+ // Select the only enabled element
4199
+ if (activableIndexes.length === 1) {
4200
+ return activableIndexes[0];
4201
+ }
4202
+ // Stay on the first enabled element
4203
+ if (currentIndex === activableIndexes[0]) {
4204
+ return currentIndex;
4205
+ }
4206
+ // Select the above enabled element
4207
+ return activableIndexes.reverse().find(index => index < currentIndex);
4168
4208
  }
4169
- return this.getNextActivableItemIndex(nextIndex, isDown);
4209
+ return -1;
4170
4210
  }
4171
- return nextIndex;
4172
- }
4173
- /**
4174
- * Finds if focus has reached end or beginning of list
4175
- * @param currentIndex List item index which currently has focus
4176
- * @param isDown Whether the navigation is going in the down direction or not
4177
- * @returns Can focus move to next item or not
4178
- */
4179
- canMove(currentIndex, isDown) {
4180
- return !((currentIndex == 0 && !isDown) ||
4181
- (currentIndex == this._listItems.length - 1 && isDown));
4182
4211
  }
4183
4212
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoDropdownMenuComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
4184
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.6", type: BaoDropdownMenuComponent, selector: "bao-dropdown-menu", outputs: { isOpenChange: "isOpenChange", isClosedByKeyEvent: "isClosedByKeyEvent" }, host: { listeners: { "window:keyup.arrowup": "upKeyEvent()", "window:keyup.arrowdown": "downKeyEvent()", "window:keydown.tab": "tabKeyEvent()", "window:keydown.shift.tab": "shiftTabKeyEvent()" }, properties: { "class.bao-overlay-transparent-backdrop": "isOpen===false", "class.bao-dropdown-menu-closed": "isOpen===false", "attr.aria-expanded": "isOpen" }, classAttribute: "bao-dropdown-menu-container" }, queries: [{ propertyName: "_listItems", predicate: BaoDropdownMenuItem, descendants: true }], viewQueries: [{ propertyName: "_menuContent", first: true, predicate: ["menuContent"], descendants: true }], ngImport: i0, template: "<div #menuContent class=\"bao-dropdown-menu\" tabindex=\"-1\">\n <ng-content></ng-content>\n</div>\n", styles: [".bao-dropdown-menu-container.bao-dropdown-menu-closed{display:none}.bao-dropdown-menu{min-width:16rem;max-width:32rem;overflow-y:auto;background:#ffffff;box-shadow:0 .5rem 2rem #0000001a;border-radius:.25rem;padding-top:.5rem;padding-bottom:.5rem}.bao-dropdown-menu .bao-overlay-transparent-backdrop{background-color:#fff0;display:none}.bao-dropdown-menu ul{list-style-type:none;padding:0;margin:0}.bao-dropdown-menu h5{padding:.5rem 0 .5rem 1rem;margin:0}.bao-dropdown-menu .bao-dropdown-menu-item{display:flex;align-items:center;text-decoration:none;border-bottom:none;cursor:default}.bao-dropdown-menu .bao-dropdown-menu-item:hover{background-color:#f8f9fa}.bao-dropdown-menu .bao-dropdown-menu-item:active{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item:focus{box-shadow:inset 0 0 0 .25rem #98bcde}.bao-dropdown-menu .bao-dropdown-menu-item.active-link{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-right{padding-right:1.5rem}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-left{padding-left:1rem}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled{cursor:not-allowed;pointer-events:none}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:hover,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:active{background:#ffffff}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-label,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{color:#adb2bd}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content{display:flex;flex-direction:column;margin:.5rem 1rem;background-color:inherit}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-label{font-weight:400;font-size:1rem;line-height:1.5rem;color:#212529}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{font-weight:400;font-size:.875rem;line-height:1.25rem;color:#637381}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-icon{color:#adb2bd;flex-shrink:0}.bao-dropdown-menu .bao-dropdown-menu-divider hr{margin-top:.5rem;margin-bottom:.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4213
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.6", type: BaoDropdownMenuComponent, selector: "bao-dropdown-menu", outputs: { isOpenChange: "isOpenChange", isClosedByKeyEvent: "isClosedByKeyEvent" }, host: { listeners: { "window:keyup.arrowup": "upKeyEvent()", "window:keyup.arrowdown": "downKeyEvent()", "window:keydown.tab": "tabKeyEvent()", "window:keyup.tab": "tabUpKeyEvent()", "window:keydown.shift.tab": "shiftTabKeyEvent()" }, properties: { "class.bao-overlay-transparent-backdrop": "isOpen===false", "class.bao-dropdown-menu-closed": "isOpen===false", "attr.aria-expanded": "isOpen" }, classAttribute: "bao-dropdown-menu-container" }, queries: [{ propertyName: "_listItems", predicate: BaoDropdownMenuItem, descendants: true }], viewQueries: [{ propertyName: "_menuContent", first: true, predicate: ["menuContent"], descendants: true }], ngImport: i0, template: "<div #menuContent class=\"bao-dropdown-menu\" tabindex=\"-1\">\n <ng-content></ng-content>\n</div>\n", styles: [".bao-dropdown-menu-container.bao-dropdown-menu-closed{display:none}.bao-dropdown-menu{min-width:16rem;max-width:32rem;overflow-y:auto;background:#ffffff;box-shadow:0 .5rem 2rem #0000001a;border-radius:.25rem;margin-top:.25rem;margin-bottom:.25rem;padding-top:.5rem;padding-bottom:.5rem}.bao-dropdown-menu:focus-visible{outline:none}.bao-dropdown-menu .bao-overlay-transparent-backdrop{background-color:#fff0;display:none}.bao-dropdown-menu ul{list-style-type:none;padding:0;margin:0}.bao-dropdown-menu h5{padding:.5rem 0 .5rem 1rem;margin:0}.bao-dropdown-menu .bao-dropdown-menu-item{display:flex;align-items:center;text-decoration:none;border-bottom:none;cursor:default}.bao-dropdown-menu .bao-dropdown-menu-item:hover{background-color:#f8f9fa}.bao-dropdown-menu .bao-dropdown-menu-item:active{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item:focus{box-shadow:inset 0 0 0 .25rem #98bcde}.bao-dropdown-menu .bao-dropdown-menu-item.active-link{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-right{padding-right:1.5rem}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-left{padding-left:1rem}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled{cursor:not-allowed;pointer-events:none}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:hover,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:active{background:#ffffff}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-label,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{color:#adb2bd}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content{display:flex;flex-direction:column;margin:.5rem 1rem;background-color:inherit}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-label{font-weight:400;font-size:1rem;line-height:1.5rem;color:#212529}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{font-weight:400;font-size:.875rem;line-height:1.25rem;color:#637381}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-icon{color:#adb2bd;flex-shrink:0}.bao-dropdown-menu .bao-dropdown-menu-divider hr{margin-top:.5rem;margin-bottom:.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4185
4214
  }
4186
4215
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoDropdownMenuComponent, decorators: [{
4187
4216
  type: Component,
@@ -4190,7 +4219,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4190
4219
  '[class.bao-overlay-transparent-backdrop]': 'isOpen===false',
4191
4220
  '[class.bao-dropdown-menu-closed]': 'isOpen===false',
4192
4221
  '[attr.aria-expanded]': 'isOpen'
4193
- }, template: "<div #menuContent class=\"bao-dropdown-menu\" tabindex=\"-1\">\n <ng-content></ng-content>\n</div>\n", styles: [".bao-dropdown-menu-container.bao-dropdown-menu-closed{display:none}.bao-dropdown-menu{min-width:16rem;max-width:32rem;overflow-y:auto;background:#ffffff;box-shadow:0 .5rem 2rem #0000001a;border-radius:.25rem;padding-top:.5rem;padding-bottom:.5rem}.bao-dropdown-menu .bao-overlay-transparent-backdrop{background-color:#fff0;display:none}.bao-dropdown-menu ul{list-style-type:none;padding:0;margin:0}.bao-dropdown-menu h5{padding:.5rem 0 .5rem 1rem;margin:0}.bao-dropdown-menu .bao-dropdown-menu-item{display:flex;align-items:center;text-decoration:none;border-bottom:none;cursor:default}.bao-dropdown-menu .bao-dropdown-menu-item:hover{background-color:#f8f9fa}.bao-dropdown-menu .bao-dropdown-menu-item:active{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item:focus{box-shadow:inset 0 0 0 .25rem #98bcde}.bao-dropdown-menu .bao-dropdown-menu-item.active-link{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-right{padding-right:1.5rem}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-left{padding-left:1rem}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled{cursor:not-allowed;pointer-events:none}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:hover,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:active{background:#ffffff}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-label,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{color:#adb2bd}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content{display:flex;flex-direction:column;margin:.5rem 1rem;background-color:inherit}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-label{font-weight:400;font-size:1rem;line-height:1.5rem;color:#212529}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{font-weight:400;font-size:.875rem;line-height:1.25rem;color:#637381}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-icon{color:#adb2bd;flex-shrink:0}.bao-dropdown-menu .bao-dropdown-menu-divider hr{margin-top:.5rem;margin-bottom:.5rem}\n"] }]
4222
+ }, template: "<div #menuContent class=\"bao-dropdown-menu\" tabindex=\"-1\">\n <ng-content></ng-content>\n</div>\n", styles: [".bao-dropdown-menu-container.bao-dropdown-menu-closed{display:none}.bao-dropdown-menu{min-width:16rem;max-width:32rem;overflow-y:auto;background:#ffffff;box-shadow:0 .5rem 2rem #0000001a;border-radius:.25rem;margin-top:.25rem;margin-bottom:.25rem;padding-top:.5rem;padding-bottom:.5rem}.bao-dropdown-menu:focus-visible{outline:none}.bao-dropdown-menu .bao-overlay-transparent-backdrop{background-color:#fff0;display:none}.bao-dropdown-menu ul{list-style-type:none;padding:0;margin:0}.bao-dropdown-menu h5{padding:.5rem 0 .5rem 1rem;margin:0}.bao-dropdown-menu .bao-dropdown-menu-item{display:flex;align-items:center;text-decoration:none;border-bottom:none;cursor:default}.bao-dropdown-menu .bao-dropdown-menu-item:hover{background-color:#f8f9fa}.bao-dropdown-menu .bao-dropdown-menu-item:active{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item:focus{box-shadow:inset 0 0 0 .25rem #98bcde}.bao-dropdown-menu .bao-dropdown-menu-item.active-link{background-color:#eefaf8}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-right{padding-right:1.5rem}.bao-dropdown-menu .bao-dropdown-menu-item.has-element-left{padding-left:1rem}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled{cursor:not-allowed;pointer-events:none}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:hover,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled:active{background:#ffffff}.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-label,.bao-dropdown-menu .bao-dropdown-menu-item.bao-dropdown-menu-item-disabled .bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{color:#adb2bd}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content{display:flex;flex-direction:column;margin:.5rem 1rem;background-color:inherit}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-label{font-weight:400;font-size:1rem;line-height:1.5rem;color:#212529}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-dropdown-menu-item-content .bao-dropdown-menu-item-description{font-weight:400;font-size:.875rem;line-height:1.25rem;color:#637381}.bao-dropdown-menu .bao-dropdown-menu-item>.bao-icon{color:#adb2bd;flex-shrink:0}.bao-dropdown-menu .bao-dropdown-menu-divider hr{margin-top:.5rem;margin-bottom:.5rem}\n"] }]
4194
4223
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { isOpenChange: [{
4195
4224
  type: Output
4196
4225
  }], isClosedByKeyEvent: [{
@@ -4210,6 +4239,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4210
4239
  }], tabKeyEvent: [{
4211
4240
  type: HostListener,
4212
4241
  args: ['window:keydown.tab']
4242
+ }], tabUpKeyEvent: [{
4243
+ type: HostListener,
4244
+ args: ['window:keyup.tab']
4213
4245
  }], shiftTabKeyEvent: [{
4214
4246
  type: HostListener,
4215
4247
  args: ['window:keydown.shift.tab']
@@ -4234,14 +4266,6 @@ class BaoDropdownMenuTrigger {
4234
4266
  this.nativeElement.focus();
4235
4267
  }
4236
4268
  }
4237
- /** Enter key event triggers click event which opens menu,
4238
- * then focus is put on first item in the menu */
4239
- enterKeyEvent(event) {
4240
- if (this._isMenuOpen && document.activeElement === this.nativeElement) {
4241
- event.stopImmediatePropagation();
4242
- this.menu.focusFirstItem();
4243
- }
4244
- }
4245
4269
  onClick() {
4246
4270
  this.toggleMenu();
4247
4271
  }
@@ -4250,7 +4274,7 @@ class BaoDropdownMenuTrigger {
4250
4274
  this.renderer.setAttribute(this.nativeElement, 'aria-controls', `bao-dropdown-menu-${dropdownMenuUniqueId}`);
4251
4275
  this.menu.isClosedByKeyEvent.subscribe(() => {
4252
4276
  this.closeMenu();
4253
- this.nativeElement.focus();
4277
+ setTimeout(() => this.nativeElement.focus(), 50);
4254
4278
  });
4255
4279
  }
4256
4280
  ngOnDestroy() {
@@ -4276,6 +4300,7 @@ class BaoDropdownMenuTrigger {
4276
4300
  overlayRef.attach(this.menu.menuPortal);
4277
4301
  this._isMenuOpen = true;
4278
4302
  this.menu.open();
4303
+ this.menu.focus();
4279
4304
  }
4280
4305
  createOverlay() {
4281
4306
  if (!this._overlayRef) {
@@ -4330,7 +4355,7 @@ class BaoDropdownMenuTrigger {
4330
4355
  });
4331
4356
  }
4332
4357
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoDropdownMenuTrigger, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1$4.Overlay }], target: i0.ɵɵFactoryTarget.Directive }); }
4333
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.6", type: BaoDropdownMenuTrigger, selector: "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", inputs: { menu: ["baoDropdownMenuTriggerFor", "menu"] }, host: { listeners: { "window:keyup.escape": "escapeKeyEvent()", "window:keyup.enter": "enterKeyEvent($event)", "click": "onClick()" }, classAttribute: "bao-dropdown-menu-trigger" }, ngImport: i0 }); }
4358
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.6", type: BaoDropdownMenuTrigger, selector: "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", inputs: { menu: ["baoDropdownMenuTriggerFor", "menu"] }, host: { listeners: { "window:keyup.escape": "escapeKeyEvent()", "click": "onClick()" }, classAttribute: "bao-dropdown-menu-trigger" }, ngImport: i0 }); }
4334
4359
  }
4335
4360
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: BaoDropdownMenuTrigger, decorators: [{
4336
4361
  type: Directive,
@@ -4344,9 +4369,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4344
4369
  }], escapeKeyEvent: [{
4345
4370
  type: HostListener,
4346
4371
  args: ['window:keyup.escape']
4347
- }], enterKeyEvent: [{
4348
- type: HostListener,
4349
- args: ['window:keyup.enter', ['$event']]
4350
4372
  }], onClick: [{
4351
4373
  type: HostListener,
4352
4374
  args: ['click']
@@ -4441,7 +4463,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4441
4463
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
4442
4464
 
4443
4465
  /*
4444
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
4466
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
4445
4467
  * Licensed under the MIT license.
4446
4468
  * See LICENSE file in the project root for full license information.
4447
4469
  */
@@ -4481,13 +4503,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4481
4503
  }] });
4482
4504
 
4483
4505
  /*
4484
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
4506
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
4485
4507
  * Licensed under the MIT license.
4486
4508
  * See LICENSE file in the project root for full license information.
4487
4509
  */
4488
4510
 
4489
4511
  /*
4490
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
4512
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
4491
4513
  * Licensed under the MIT license.
4492
4514
  * See LICENSE file in the project root for full license information.
4493
4515
  */
@@ -4576,7 +4598,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4576
4598
  }] } });
4577
4599
 
4578
4600
  /*
4579
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
4601
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
4580
4602
  * Licensed under the MIT license.
4581
4603
  * See LICENSE file in the project root for full license information.
4582
4604
  */
@@ -4638,7 +4660,7 @@ const BAO_FILE_INTL_PROVIDER = {
4638
4660
  };
4639
4661
 
4640
4662
  /*
4641
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
4663
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
4642
4664
  * Licensed under the MIT license.
4643
4665
  * See LICENSE file in the project root for full license information.
4644
4666
  */
@@ -4947,7 +4969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
4947
4969
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
4948
4970
 
4949
4971
  /*
4950
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
4972
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
4951
4973
  * Licensed under the MIT license.
4952
4974
  * See LICENSE file in the project root for full license information.
4953
4975
  */
@@ -5103,7 +5125,7 @@ class BaoSnackBarRef {
5103
5125
  }
5104
5126
 
5105
5127
  /*
5106
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5128
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5107
5129
  * Licensed under the MIT license.
5108
5130
  * See LICENSE file in the project root for full license information.
5109
5131
  */
@@ -5187,7 +5209,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
5187
5209
  }] }]; } });
5188
5210
 
5189
5211
  /*
5190
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5212
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5191
5213
  * Licensed under the MIT license.
5192
5214
  * See LICENSE file in the project root for full license information.
5193
5215
  */
@@ -5721,7 +5743,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
5721
5743
  }] }]; } });
5722
5744
 
5723
5745
  /*
5724
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5746
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5725
5747
  * Licensed under the MIT license.
5726
5748
  * See LICENSE file in the project root for full license information.
5727
5749
  */
@@ -5761,7 +5783,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
5761
5783
  }] });
5762
5784
 
5763
5785
  /*
5764
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5786
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5765
5787
  * Licensed under the MIT license.
5766
5788
  * See LICENSE file in the project root for full license information.
5767
5789
  */
@@ -5774,7 +5796,7 @@ const Breakpoints = {
5774
5796
  };
5775
5797
 
5776
5798
  /*
5777
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5799
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5778
5800
  * Licensed under the MIT license.
5779
5801
  * See LICENSE file in the project root for full license information.
5780
5802
  */
@@ -5905,7 +5927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
5905
5927
  }] } });
5906
5928
 
5907
5929
  /*
5908
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5930
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5909
5931
  * Licensed under the MIT license.
5910
5932
  * See LICENSE file in the project root for full license information.
5911
5933
  */
@@ -5933,13 +5955,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
5933
5955
  }] });
5934
5956
 
5935
5957
  /*
5936
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5958
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5937
5959
  * Licensed under the MIT license.
5938
5960
  * See LICENSE file in the project root for full license information.
5939
5961
  */
5940
5962
 
5941
5963
  /*
5942
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
5964
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
5943
5965
  * Licensed under the MIT license.
5944
5966
  * See LICENSE file in the project root for full license information.
5945
5967
  */
@@ -6038,7 +6060,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
6038
6060
  }] });
6039
6061
 
6040
6062
  /*
6041
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6063
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6042
6064
  * Licensed under the MIT license.
6043
6065
  * See LICENSE file in the project root for full license information.
6044
6066
  */
@@ -6063,7 +6085,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
6063
6085
  }] } });
6064
6086
 
6065
6087
  /*
6066
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6088
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6067
6089
  * Licensed under the MIT license.
6068
6090
  * See LICENSE file in the project root for full license information.
6069
6091
  */
@@ -6083,37 +6105,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
6083
6105
  }] });
6084
6106
 
6085
6107
  /*
6086
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6108
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6087
6109
  * Licensed under the MIT license.
6088
6110
  * See LICENSE file in the project root for full license information.
6089
6111
  */
6090
6112
 
6091
6113
  /*
6092
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6114
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6093
6115
  * Licensed under the MIT license.
6094
6116
  * See LICENSE file in the project root for full license information.
6095
6117
  */
6096
6118
 
6097
6119
  /*
6098
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6120
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6099
6121
  * Licensed under the MIT license.
6100
6122
  * See LICENSE file in the project root for full license information.
6101
6123
  */
6102
6124
 
6103
6125
  /*
6104
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6126
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6105
6127
  * Licensed under the MIT license.
6106
6128
  * See LICENSE file in the project root for full license information.
6107
6129
  */
6108
6130
 
6109
6131
  /*
6110
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6132
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6111
6133
  * Licensed under the MIT license.
6112
6134
  * See LICENSE file in the project root for full license information.
6113
6135
  */
6114
6136
 
6115
6137
  /*
6116
- * Copyright (c) 2024 Ville de Montreal. All rights reserved.
6138
+ * Copyright (c) 2025 Ville de Montreal. All rights reserved.
6117
6139
  * Licensed under the MIT license.
6118
6140
  * See LICENSE file in the project root for full license information.
6119
6141
  */