@villedemontreal/angular-ui 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,42 +10,25 @@ import * as i1$3 from '@angular/cdk/a11y';
10
10
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
11
11
  import * as i2 from '@angular/cdk/collections';
12
12
 
13
- /*
14
- * Copyright (c) 2022 Ville de Montreal. All rights reserved.
15
- * Licensed under the MIT license.
16
- * See LICENSE file in the project root for full license information.
17
- */
18
- var BaoColors;
19
- (function (BaoColors) {
20
- BaoColors["ACTION"] = "action";
21
- BaoColors["PRIMARY"] = "primary";
22
- BaoColors["PRIMARY_REVERSED"] = "primary-reversed";
23
- BaoColors["SECONDARY"] = "secondary";
24
- BaoColors["TERTIARY"] = "tertiary";
25
- BaoColors["INFORMATIVE"] = "informative";
26
- BaoColors["NEGATIVE"] = "negative";
27
- BaoColors["POSITIVE"] = "positive";
28
- BaoColors["WARNING"] = "warning";
29
- })(BaoColors || (BaoColors = {}));
30
13
  function baoColorToHex(baoColor) {
31
14
  switch (baoColor) {
32
- case BaoColors.ACTION:
15
+ case "action" /* ACTION */:
33
16
  return '#097D6C';
34
- case BaoColors.PRIMARY:
17
+ case "primary" /* PRIMARY */:
35
18
  return '#000000';
36
- case BaoColors.PRIMARY_REVERSED:
19
+ case "primary-reversed" /* PRIMARY_REVERSED */:
37
20
  return '#FFFFFF';
38
- case BaoColors.SECONDARY:
21
+ case "secondary" /* SECONDARY */:
39
22
  return '#637381';
40
- case BaoColors.TERTIARY:
23
+ case "tertiary" /* TERTIARY */:
41
24
  return '#ADB5BD';
42
- case BaoColors.INFORMATIVE:
25
+ case "informative" /* INFORMATIVE */:
43
26
  return '#0079C4';
44
- case BaoColors.NEGATIVE:
27
+ case "negative" /* NEGATIVE */:
45
28
  return '#D3310A';
46
- case BaoColors.POSITIVE:
29
+ case "positive" /* POSITIVE */:
47
30
  return '#0DA566';
48
- case BaoColors.WARNING:
31
+ case "warning" /* WARNING */:
49
32
  return '#FFB833';
50
33
  default:
51
34
  return '#097D6C';
@@ -2327,23 +2310,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2327
2310
  }]
2328
2311
  }] });
2329
2312
 
2330
- /*
2331
- * Copyright (c) 2022 Ville de Montreal. All rights reserved.
2332
- * Licensed under the MIT license.
2333
- * See LICENSE file in the project root for full license information.
2334
- */
2335
-
2336
- /*
2337
- * Copyright (c) 2022 Ville de Montreal. All rights reserved.
2338
- * Licensed under the MIT license.
2339
- * See LICENSE file in the project root for full license information.
2340
- */
2341
- var EDisplayMode;
2342
- (function (EDisplayMode) {
2343
- EDisplayMode["COMPACT"] = "compact";
2344
- EDisplayMode["RESPONSIVE"] = "responsive";
2345
- })(EDisplayMode || (EDisplayMode = {}));
2346
-
2347
2313
  /*
2348
2314
  * Copyright (c) 2022 Ville de Montreal. All rights reserved.
2349
2315
  * Licensed under the MIT license.
@@ -2364,7 +2330,7 @@ class BaoSummaryComponent {
2364
2330
  * RESPONSIVE (viewport width <=> is 576px)
2365
2331
  * COMPACT (viewport width < 576px)
2366
2332
  */
2367
- this.displayMode = EDisplayMode.RESPONSIVE;
2333
+ this.displayMode = "responsive" /* RESPONSIVE */;
2368
2334
  /**
2369
2335
  * Initialize the ID for summary
2370
2336
  */
@@ -2648,6 +2614,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2648
2614
  * See LICENSE file in the project root for full license information.
2649
2615
  */
2650
2616
 
2617
+ /*
2618
+ * Copyright (c) 2022 Ville de Montreal. All rights reserved.
2619
+ * Licensed under the MIT license.
2620
+ * See LICENSE file in the project root for full license information.
2621
+ */
2622
+
2651
2623
  /**
2652
2624
  * Generated bundle index. Do not edit.
2653
2625
  */