@oicl/openbridge-webcomponents 2.0.0-next.168 → 2.0.0-next.169

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 (67) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +3352 -2948
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +465 -3
  4. package/dist/components/alert-list-details-experimental/alert-list-details-experimental.d.ts.map +1 -1
  5. package/dist/components/alert-list-details-experimental/alert-list-details-experimental.js +18 -1
  6. package/dist/components/alert-list-details-experimental/alert-list-details-experimental.js.map +1 -1
  7. package/dist/components/alert-menu/alert-menu.css.js +21 -1
  8. package/dist/components/alert-menu/alert-menu.css.js.map +1 -1
  9. package/dist/components/alert-menu/alert-menu.d.ts +14 -0
  10. package/dist/components/alert-menu/alert-menu.d.ts.map +1 -1
  11. package/dist/components/alert-menu/alert-menu.js +10 -0
  12. package/dist/components/alert-menu/alert-menu.js.map +1 -1
  13. package/dist/components/app-menu/app-menu.css.js +23 -1
  14. package/dist/components/app-menu/app-menu.css.js.map +1 -1
  15. package/dist/components/app-menu/app-menu.d.ts +14 -0
  16. package/dist/components/app-menu/app-menu.d.ts.map +1 -1
  17. package/dist/components/app-menu/app-menu.js +17 -1
  18. package/dist/components/app-menu/app-menu.js.map +1 -1
  19. package/dist/components/brilliance-menu/brilliance-menu.css.js +21 -1
  20. package/dist/components/brilliance-menu/brilliance-menu.css.js.map +1 -1
  21. package/dist/components/brilliance-menu/brilliance-menu.d.ts +14 -0
  22. package/dist/components/brilliance-menu/brilliance-menu.d.ts.map +1 -1
  23. package/dist/components/brilliance-menu/brilliance-menu.js +10 -0
  24. package/dist/components/brilliance-menu/brilliance-menu.js.map +1 -1
  25. package/dist/components/command-menu/command-menu.css.js +21 -1
  26. package/dist/components/command-menu/command-menu.css.js.map +1 -1
  27. package/dist/components/command-menu/command-menu.d.ts +14 -0
  28. package/dist/components/command-menu/command-menu.d.ts.map +1 -1
  29. package/dist/components/command-menu/command-menu.js +10 -0
  30. package/dist/components/command-menu/command-menu.js.map +1 -1
  31. package/dist/components/context-menu-input/context-menu-input.css.js +58 -3
  32. package/dist/components/context-menu-input/context-menu-input.css.js.map +1 -1
  33. package/dist/components/context-menu-input/context-menu-input.d.ts +14 -1
  34. package/dist/components/context-menu-input/context-menu-input.d.ts.map +1 -1
  35. package/dist/components/context-menu-input/context-menu-input.js +11 -0
  36. package/dist/components/context-menu-input/context-menu-input.js.map +1 -1
  37. package/dist/components/navigation-menu/navigation-menu.css.js +21 -1
  38. package/dist/components/navigation-menu/navigation-menu.css.js.map +1 -1
  39. package/dist/components/navigation-menu/navigation-menu.d.ts +14 -0
  40. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  41. package/dist/components/navigation-menu/navigation-menu.js +10 -0
  42. package/dist/components/navigation-menu/navigation-menu.js.map +1 -1
  43. package/dist/components/system-menu/system-menu.css.js +81 -61
  44. package/dist/components/system-menu/system-menu.css.js.map +1 -1
  45. package/dist/components/system-menu/system-menu.d.ts +14 -0
  46. package/dist/components/system-menu/system-menu.d.ts.map +1 -1
  47. package/dist/components/system-menu/system-menu.js +10 -0
  48. package/dist/components/system-menu/system-menu.js.map +1 -1
  49. package/dist/components/top-bar/top-bar.d.ts +11 -4
  50. package/dist/components/top-bar/top-bar.d.ts.map +1 -1
  51. package/dist/components/top-bar/top-bar.js +18 -10
  52. package/dist/components/top-bar/top-bar.js.map +1 -1
  53. package/dist/components/user-button/user-button.d.ts +1 -0
  54. package/dist/components/user-button/user-button.d.ts.map +1 -1
  55. package/dist/components/user-button/user-button.js +11 -1
  56. package/dist/components/user-button/user-button.js.map +1 -1
  57. package/dist/components/user-menu/user-menu.css.js +21 -1
  58. package/dist/components/user-menu/user-menu.css.js.map +1 -1
  59. package/dist/components/user-menu/user-menu.d.ts +14 -0
  60. package/dist/components/user-menu/user-menu.d.ts.map +1 -1
  61. package/dist/components/user-menu/user-menu.js +10 -0
  62. package/dist/components/user-menu/user-menu.js.map +1 -1
  63. package/dist/internal/popover-controller.d.ts +128 -0
  64. package/dist/internal/popover-controller.d.ts.map +1 -0
  65. package/dist/internal/popover-controller.js +121 -0
  66. package/dist/internal/popover-controller.js.map +1 -0
  67. package/package.json +1 -1
@@ -58573,6 +58573,38 @@
58573
58573
  }
58574
58574
  ],
58575
58575
  "members": [
58576
+ {
58577
+ "kind": "field",
58578
+ "name": "softDismiss",
58579
+ "type": {
58580
+ "text": "boolean"
58581
+ },
58582
+ "default": "false",
58583
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
58584
+ "attribute": "softDismiss"
58585
+ },
58586
+ {
58587
+ "kind": "field",
58588
+ "name": "open",
58589
+ "type": {
58590
+ "text": "boolean"
58591
+ },
58592
+ "default": "false",
58593
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
58594
+ "attribute": "open",
58595
+ "availableWhen": "softDismiss==true",
58596
+ "availableWhenIf": {
58597
+ "arg": "softDismiss",
58598
+ "truthy": true
58599
+ }
58600
+ },
58601
+ {
58602
+ "kind": "field",
58603
+ "name": "softDismissController",
58604
+ "privacy": "protected",
58605
+ "readonly": true,
58606
+ "default": "new PopoverController(this)"
58607
+ },
58576
58608
  {
58577
58609
  "kind": "field",
58578
58610
  "name": "hasShelved",
@@ -58673,9 +58705,34 @@
58673
58705
  "text": "CustomEvent"
58674
58706
  },
58675
58707
  "description": "Fired when the go to alert list button is clicked"
58708
+ },
58709
+ {
58710
+ "type": {
58711
+ "text": "CustomEvent<void>"
58712
+ },
58713
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
58714
+ "name": "close"
58676
58715
  }
58677
58716
  ],
58678
58717
  "attributes": [
58718
+ {
58719
+ "name": "softDismiss",
58720
+ "type": {
58721
+ "text": "boolean"
58722
+ },
58723
+ "default": "false",
58724
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
58725
+ "fieldName": "softDismiss"
58726
+ },
58727
+ {
58728
+ "name": "open",
58729
+ "type": {
58730
+ "text": "boolean"
58731
+ },
58732
+ "default": "false",
58733
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
58734
+ "fieldName": "open"
58735
+ },
58679
58736
  {
58680
58737
  "name": "hasShelved",
58681
58738
  "type": {
@@ -59039,6 +59096,38 @@
59039
59096
  }
59040
59097
  ],
59041
59098
  "members": [
59099
+ {
59100
+ "kind": "field",
59101
+ "name": "softDismiss",
59102
+ "type": {
59103
+ "text": "boolean"
59104
+ },
59105
+ "default": "false",
59106
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
59107
+ "attribute": "softDismiss"
59108
+ },
59109
+ {
59110
+ "kind": "field",
59111
+ "name": "open",
59112
+ "type": {
59113
+ "text": "boolean"
59114
+ },
59115
+ "default": "false",
59116
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
59117
+ "attribute": "open",
59118
+ "availableWhen": "softDismiss==true",
59119
+ "availableWhenIf": {
59120
+ "arg": "softDismiss",
59121
+ "truthy": true
59122
+ }
59123
+ },
59124
+ {
59125
+ "kind": "field",
59126
+ "name": "softDismissController",
59127
+ "privacy": "protected",
59128
+ "readonly": true,
59129
+ "default": "new PopoverController(this)"
59130
+ },
59042
59131
  {
59043
59132
  "kind": "method",
59044
59133
  "name": "onSearchInput",
@@ -59061,6 +59150,33 @@
59061
59150
  "text": "CustomEvent<string>"
59062
59151
  },
59063
59152
  "description": "Fired when the search input value changes, with the current value in `detail`."
59153
+ },
59154
+ {
59155
+ "type": {
59156
+ "text": "CustomEvent<void>"
59157
+ },
59158
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
59159
+ "name": "close"
59160
+ }
59161
+ ],
59162
+ "attributes": [
59163
+ {
59164
+ "name": "softDismiss",
59165
+ "type": {
59166
+ "text": "boolean"
59167
+ },
59168
+ "default": "false",
59169
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
59170
+ "fieldName": "softDismiss"
59171
+ },
59172
+ {
59173
+ "name": "open",
59174
+ "type": {
59175
+ "text": "boolean"
59176
+ },
59177
+ "default": "false",
59178
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
59179
+ "fieldName": "open"
59064
59180
  }
59065
59181
  ],
59066
59182
  "superclass": {
@@ -60429,6 +60545,38 @@
60429
60545
  }
60430
60546
  ],
60431
60547
  "members": [
60548
+ {
60549
+ "kind": "field",
60550
+ "name": "softDismiss",
60551
+ "type": {
60552
+ "text": "boolean"
60553
+ },
60554
+ "default": "false",
60555
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
60556
+ "attribute": "softDismiss"
60557
+ },
60558
+ {
60559
+ "kind": "field",
60560
+ "name": "open",
60561
+ "type": {
60562
+ "text": "boolean"
60563
+ },
60564
+ "default": "false",
60565
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
60566
+ "attribute": "open",
60567
+ "availableWhen": "softDismiss==true",
60568
+ "availableWhenIf": {
60569
+ "arg": "softDismiss",
60570
+ "truthy": true
60571
+ }
60572
+ },
60573
+ {
60574
+ "kind": "field",
60575
+ "name": "softDismissController",
60576
+ "privacy": "protected",
60577
+ "readonly": true,
60578
+ "default": "new PopoverController(this)"
60579
+ },
60432
60580
  {
60433
60581
  "kind": "field",
60434
60582
  "name": "palette",
@@ -60793,9 +60941,34 @@
60793
60941
  "text": "CustomEvent"
60794
60942
  },
60795
60943
  "description": "When the screen control link is clicked"
60944
+ },
60945
+ {
60946
+ "type": {
60947
+ "text": "CustomEvent<void>"
60948
+ },
60949
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
60950
+ "name": "close"
60796
60951
  }
60797
60952
  ],
60798
60953
  "attributes": [
60954
+ {
60955
+ "name": "softDismiss",
60956
+ "type": {
60957
+ "text": "boolean"
60958
+ },
60959
+ "default": "false",
60960
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
60961
+ "fieldName": "softDismiss"
60962
+ },
60963
+ {
60964
+ "name": "open",
60965
+ "type": {
60966
+ "text": "boolean"
60967
+ },
60968
+ "default": "false",
60969
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
60970
+ "fieldName": "open"
60971
+ },
60799
60972
  {
60800
60973
  "name": "palette",
60801
60974
  "type": {
@@ -63435,6 +63608,38 @@
63435
63608
  }
63436
63609
  ],
63437
63610
  "members": [
63611
+ {
63612
+ "kind": "field",
63613
+ "name": "softDismiss",
63614
+ "type": {
63615
+ "text": "boolean"
63616
+ },
63617
+ "default": "false",
63618
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
63619
+ "attribute": "softDismiss"
63620
+ },
63621
+ {
63622
+ "kind": "field",
63623
+ "name": "open",
63624
+ "type": {
63625
+ "text": "boolean"
63626
+ },
63627
+ "default": "false",
63628
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
63629
+ "attribute": "open",
63630
+ "availableWhen": "softDismiss==true",
63631
+ "availableWhenIf": {
63632
+ "arg": "softDismiss",
63633
+ "truthy": true
63634
+ }
63635
+ },
63636
+ {
63637
+ "kind": "field",
63638
+ "name": "softDismissController",
63639
+ "privacy": "protected",
63640
+ "readonly": true,
63641
+ "default": "new PopoverController(this)"
63642
+ },
63438
63643
  {
63439
63644
  "kind": "field",
63440
63645
  "name": "inCommand",
@@ -63476,9 +63681,34 @@
63476
63681
  "text": "CustomEvent<{inCommand: boolean}>"
63477
63682
  },
63478
63683
  "description": "Fired when the command state is toggled."
63684
+ },
63685
+ {
63686
+ "type": {
63687
+ "text": "CustomEvent<void>"
63688
+ },
63689
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
63690
+ "name": "close"
63479
63691
  }
63480
63692
  ],
63481
63693
  "attributes": [
63694
+ {
63695
+ "name": "softDismiss",
63696
+ "type": {
63697
+ "text": "boolean"
63698
+ },
63699
+ "default": "false",
63700
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
63701
+ "fieldName": "softDismiss"
63702
+ },
63703
+ {
63704
+ "name": "open",
63705
+ "type": {
63706
+ "text": "boolean"
63707
+ },
63708
+ "default": "false",
63709
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
63710
+ "fieldName": "open"
63711
+ },
63482
63712
  {
63483
63713
  "name": "inCommand",
63484
63714
  "type": {
@@ -63650,6 +63880,38 @@
63650
63880
  }
63651
63881
  ],
63652
63882
  "members": [
63883
+ {
63884
+ "kind": "field",
63885
+ "name": "softDismiss",
63886
+ "type": {
63887
+ "text": "boolean"
63888
+ },
63889
+ "default": "false",
63890
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
63891
+ "attribute": "softDismiss"
63892
+ },
63893
+ {
63894
+ "kind": "field",
63895
+ "name": "open",
63896
+ "type": {
63897
+ "text": "boolean"
63898
+ },
63899
+ "default": "false",
63900
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
63901
+ "attribute": "open",
63902
+ "availableWhen": "softDismiss==true",
63903
+ "availableWhenIf": {
63904
+ "arg": "softDismiss",
63905
+ "truthy": true
63906
+ }
63907
+ },
63908
+ {
63909
+ "kind": "field",
63910
+ "name": "softDismissController",
63911
+ "privacy": "protected",
63912
+ "readonly": true,
63913
+ "default": "new PopoverController(this)"
63914
+ },
63653
63915
  {
63654
63916
  "kind": "field",
63655
63917
  "name": "type",
@@ -64058,7 +64320,7 @@
64058
64320
  "type": {
64059
64321
  "text": "CustomEvent<void>"
64060
64322
  },
64061
- "description": "Fired when the close button is clicked."
64323
+ "description": "Fired when the close button is clicked, on `Escape`, and, with `softDismiss` on, when the menu closed on its own from a click outside or another menu opening."
64062
64324
  },
64063
64325
  {
64064
64326
  "name": "item-click",
@@ -64076,6 +64338,24 @@
64076
64338
  }
64077
64339
  ],
64078
64340
  "attributes": [
64341
+ {
64342
+ "name": "softDismiss",
64343
+ "type": {
64344
+ "text": "boolean"
64345
+ },
64346
+ "default": "false",
64347
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
64348
+ "fieldName": "softDismiss"
64349
+ },
64350
+ {
64351
+ "name": "open",
64352
+ "type": {
64353
+ "text": "boolean"
64354
+ },
64355
+ "default": "false",
64356
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
64357
+ "fieldName": "open"
64358
+ },
64079
64359
  {
64080
64360
  "name": "type",
64081
64361
  "type": {
@@ -70513,6 +70793,38 @@
70513
70793
  }
70514
70794
  ],
70515
70795
  "members": [
70796
+ {
70797
+ "kind": "field",
70798
+ "name": "softDismiss",
70799
+ "type": {
70800
+ "text": "boolean"
70801
+ },
70802
+ "default": "false",
70803
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
70804
+ "attribute": "softDismiss"
70805
+ },
70806
+ {
70807
+ "kind": "field",
70808
+ "name": "open",
70809
+ "type": {
70810
+ "text": "boolean"
70811
+ },
70812
+ "default": "false",
70813
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
70814
+ "attribute": "open",
70815
+ "availableWhen": "softDismiss==true",
70816
+ "availableWhenIf": {
70817
+ "arg": "softDismiss",
70818
+ "truthy": true
70819
+ }
70820
+ },
70821
+ {
70822
+ "kind": "field",
70823
+ "name": "softDismissController",
70824
+ "privacy": "protected",
70825
+ "readonly": true,
70826
+ "default": "new PopoverController(this)"
70827
+ },
70516
70828
  {
70517
70829
  "kind": "field",
70518
70830
  "name": "variant",
@@ -70825,7 +71137,34 @@
70825
71137
  ]
70826
71138
  }
70827
71139
  ],
71140
+ "events": [
71141
+ {
71142
+ "type": {
71143
+ "text": "CustomEvent<void>"
71144
+ },
71145
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
71146
+ "name": "close"
71147
+ }
71148
+ ],
70828
71149
  "attributes": [
71150
+ {
71151
+ "name": "softDismiss",
71152
+ "type": {
71153
+ "text": "boolean"
71154
+ },
71155
+ "default": "false",
71156
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
71157
+ "fieldName": "softDismiss"
71158
+ },
71159
+ {
71160
+ "name": "open",
71161
+ "type": {
71162
+ "text": "boolean"
71163
+ },
71164
+ "default": "false",
71165
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
71166
+ "fieldName": "open"
71167
+ },
70829
71168
  {
70830
71169
  "name": "variant",
70831
71170
  "type": {
@@ -79986,6 +80325,38 @@
79986
80325
  }
79987
80326
  ],
79988
80327
  "members": [
80328
+ {
80329
+ "kind": "field",
80330
+ "name": "softDismiss",
80331
+ "type": {
80332
+ "text": "boolean"
80333
+ },
80334
+ "default": "false",
80335
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
80336
+ "attribute": "softDismiss"
80337
+ },
80338
+ {
80339
+ "kind": "field",
80340
+ "name": "open",
80341
+ "type": {
80342
+ "text": "boolean"
80343
+ },
80344
+ "default": "false",
80345
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
80346
+ "attribute": "open",
80347
+ "availableWhen": "softDismiss==true",
80348
+ "availableWhenIf": {
80349
+ "arg": "softDismiss",
80350
+ "truthy": true
80351
+ }
80352
+ },
80353
+ {
80354
+ "kind": "field",
80355
+ "name": "softDismissController",
80356
+ "privacy": "protected",
80357
+ "readonly": true,
80358
+ "default": "new PopoverController(this)"
80359
+ },
79989
80360
  {
79990
80361
  "kind": "field",
79991
80362
  "name": "wifiState",
@@ -80556,9 +80927,34 @@
80556
80927
  {
80557
80928
  "description": "When the Wi-Fi disconnect is clicked",
80558
80929
  "name": "wifi-disconnect-click"
80930
+ },
80931
+ {
80932
+ "type": {
80933
+ "text": "CustomEvent<void>"
80934
+ },
80935
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
80936
+ "name": "close"
80559
80937
  }
80560
80938
  ],
80561
80939
  "attributes": [
80940
+ {
80941
+ "name": "softDismiss",
80942
+ "type": {
80943
+ "text": "boolean"
80944
+ },
80945
+ "default": "false",
80946
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
80947
+ "fieldName": "softDismiss"
80948
+ },
80949
+ {
80950
+ "name": "open",
80951
+ "type": {
80952
+ "text": "boolean"
80953
+ },
80954
+ "default": "false",
80955
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
80956
+ "fieldName": "open"
80957
+ },
80562
80958
  {
80563
80959
  "name": "condensed",
80564
80960
  "type": {
@@ -87016,7 +87412,8 @@
87016
87412
  {
87017
87413
  "kind": "method",
87018
87414
  "name": "leftButtonUp",
87019
- "privacy": "private"
87415
+ "privacy": "private",
87416
+ "description": "Ends a hold. The event a short press stands for is dispatched from the\n`click` that follows, not here: a menu opened while the pointer is still\ngoing up gets closed again by that same click in current browsers, which\nsee it as a click outside a popover that has just opened."
87020
87417
  },
87021
87418
  {
87022
87419
  "kind": "method",
@@ -87036,7 +87433,7 @@
87036
87433
  }
87037
87434
  }
87038
87435
  ],
87039
- "description": "Keyboard and assistive-technology activation of the hold button.\n\nEnter, Space and a screen reader's activate command arrive as a `click`\nwith `detail` 0 and never as a pointer sequence, so they cannot pass\nthrough the hold timer; a pointer click arrives with `detail` 1 after\n`leftButtonUp()` has already dispatched."
87436
+ "description": "Sends the event a press of the hold button stands for.\n\nEnter, Space and a screen reader's activate command arrive as a `click`\nwith `detail` 0 and no pointer press before it, so they get the event\ndirectly. A pointer click arrives with `detail` 1 after the press: the\nevent stored on the way down is sent now, unless the press ran long\nenough to start emergency brightness, which used it up."
87040
87437
  },
87041
87438
  {
87042
87439
  "kind": "method",
@@ -88579,6 +88976,14 @@
88579
88976
  }
88580
88977
  ],
88581
88978
  "exports": [
88979
+ {
88980
+ "kind": "js",
88981
+ "name": "initialsFromName",
88982
+ "declaration": {
88983
+ "name": "initialsFromName",
88984
+ "module": "src/components/user-button/user-button.ts"
88985
+ }
88986
+ },
88582
88987
  {
88583
88988
  "kind": "js",
88584
88989
  "name": "ObcUserButton",
@@ -88612,6 +89017,38 @@
88612
89017
  }
88613
89018
  ],
88614
89019
  "members": [
89020
+ {
89021
+ "kind": "field",
89022
+ "name": "softDismiss",
89023
+ "type": {
89024
+ "text": "boolean"
89025
+ },
89026
+ "default": "false",
89027
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
89028
+ "attribute": "softDismiss"
89029
+ },
89030
+ {
89031
+ "kind": "field",
89032
+ "name": "open",
89033
+ "type": {
89034
+ "text": "boolean"
89035
+ },
89036
+ "default": "false",
89037
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
89038
+ "attribute": "open",
89039
+ "availableWhen": "softDismiss==true",
89040
+ "availableWhenIf": {
89041
+ "arg": "softDismiss",
89042
+ "truthy": true
89043
+ }
89044
+ },
89045
+ {
89046
+ "kind": "field",
89047
+ "name": "softDismissController",
89048
+ "privacy": "protected",
89049
+ "readonly": true,
89050
+ "default": "new PopoverController(this)"
89051
+ },
88615
89052
  {
88616
89053
  "kind": "field",
88617
89054
  "name": "type",
@@ -89051,9 +89488,34 @@
89051
89488
  "text": "CustomEvent<void>"
89052
89489
  },
89053
89490
  "description": "Fired when the \"Use another account\" button is clicked."
89491
+ },
89492
+ {
89493
+ "type": {
89494
+ "text": "CustomEvent<void>"
89495
+ },
89496
+ "description": "Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives.",
89497
+ "name": "close"
89054
89498
  }
89055
89499
  ],
89056
89500
  "attributes": [
89501
+ {
89502
+ "name": "softDismiss",
89503
+ "type": {
89504
+ "text": "boolean"
89505
+ },
89506
+ "default": "false",
89507
+ "description": "Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself.",
89508
+ "fieldName": "softDismiss"
89509
+ },
89510
+ {
89511
+ "name": "open",
89512
+ "type": {
89513
+ "text": "boolean"
89514
+ },
89515
+ "default": "false",
89516
+ "description": "Whether the menu is showing.\n\nAvailable when `softDismiss==true`.",
89517
+ "fieldName": "open"
89518
+ },
89057
89519
  {
89058
89520
  "name": "type",
89059
89521
  "type": {
@@ -1 +1 @@
1
- {"version":3,"file":"alert-list-details-experimental.d.ts","sourceRoot":"","sources":["../../../src/components/alert-list-details-experimental/alert-list-details-experimental.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,cAAc,EAAkB,MAAM,KAAK,CAAC;AAOhE,OAAO,+BAA+B,CAAC;AACvC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iCAAiC,CAAC;AACzC,OAAO,4BAA4B,CAAC;AACpC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,yCAAyC,CAAC;AACjD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,EAMN,MAAM,gBAAgB,CAAC;AAMxB,OAAO,EAGL,gBAAgB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a,+BAAgC,SAAQ,UAAU;IAGpD,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEf,UAAU,EAAE,WAAW,CAAmB;IAC3C,MAAM,EAAE,KAAK,EAAE,CAAM;IACH,OAAO,EAAE,eAAe,EAAE,CAInE;IAC2C,UAAU,EAAE,OAAO,CAAQ;IAC3B,eAAe,EAAE,OAAO,CAAQ;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IAGjD,OAAO,CAAC,SAAS,CAAY;IAEpB,OAAO,CAAC,kBAAkB,CAA8B;IAEjE,OAAO,CAAC,YAAY,CAA4B;IAChD,OAAO,CAAC,SAAS,CAAqB;IAEtC,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,gBAAgB,CAAS;IAEjC,8EAA8E;IAC9E,IAAI,SAAS,IAAI,iBAAiB,EAAE,CAEnC;IAEQ,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC;IAgCxC,OAAO;IAWT,gBAAgB,IAAI,KAAK,EAAE;IAelC,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,WAAW;IAUnB,OAAO,KAAK,YAAY,GA4BvB;IAED,OAAO,KAAK,WAAW,GAOtB;IAED,OAAO,KAAK,QAAQ,GAEnB;IAED,OAAO,CAAC,gBAAgB;IAkBxB,0FAA0F;IAC1F,OAAO,CAAC,gBAAgB;IAcxB,OAAO,CAAC,aAAa;IAarB,OAAO,CAAC,SAAS;IAOR,MAAM;IAqCf,OAAgB,MAAM,0BAA2B;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qCAAqC,EAAE,+BAA+B,CAAC;KACxE;CACF"}
1
+ {"version":3,"file":"alert-list-details-experimental.d.ts","sourceRoot":"","sources":["../../../src/components/alert-list-details-experimental/alert-list-details-experimental.ts"],"names":[],"mappings":"AAAA,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,OAAO,KAAK,WAAW,GAOtB;IAED,OAAO,KAAK,QAAQ,GAEnB;IAED,OAAO,CAAC,gBAAgB;IAkBxB,0FAA0F;IAC1F,OAAO,CAAC,gBAAgB;IAcxB,OAAO,CAAC,aAAa;IAarB,OAAO,CAAC,SAAS;IAOR,MAAM;IAqCf,OAAgB,MAAM,0BAA2B;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qCAAqC,EAAE,+BAA+B,CAAC;KACxE;CACF"}
@@ -16,6 +16,7 @@ import "../../icons/icon-unacknowledged.js";
16
16
  import "../../icons/icon-alarm-noack-iec.js";
17
17
  import "../../icons/icon-warning-noack-iec.js";
18
18
  import "../alert-icon/alert-icon.js";
19
+ import { Variant, StyleType, initialsFromName } from "../user-button/user-button.js";
19
20
  import { comparePriorityAlerts, isAcknowledged, isActive, isShelved, isBlocked } from "../../types.js";
20
21
  import { requiresAcknowledgement, usesAlarmNoAckIcon, excludedFromUnackedFilter } from "../../alert-severity.js";
21
22
  import { ObcTableCellType } from "../table/table.js";
@@ -113,7 +114,23 @@ function ackColumn(options = {}) {
113
114
  key: "ack",
114
115
  label: "ACK-status",
115
116
  cell: (alert) => {
116
- if (isAcknowledged(alert) || !isActive(alert) || !requiresAcknowledgement(alert.type)) {
117
+ if (isAcknowledged(alert) && alert.acknowledged) {
118
+ const ackedBy = alert.acknowledged.acknowledgedBy;
119
+ if (!ackedBy || ackedBy.trim() === "")
120
+ return { type: ObcTableCellType.Regular };
121
+ return {
122
+ type: ObcTableCellType.Regular,
123
+ largeIcon: true,
124
+ icon: html`<obc-user-button
125
+ .variant=${Variant.initials}
126
+ .initials=${initialsFromName(ackedBy)}
127
+ .static=${true}
128
+ .styleType=${StyleType.normal}
129
+ ></obc-user-button>`,
130
+ align: "center"
131
+ };
132
+ }
133
+ if (!isActive(alert) || !requiresAcknowledgement(alert.type)) {
117
134
  return { type: ObcTableCellType.Regular };
118
135
  }
119
136
  if (alert.noAck) {