igniteui-webcomponents 6.4.0-alpha.0 → 6.4.0-alpha.2

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 (98) hide show
  1. package/animations/player.d.ts +37 -11
  2. package/animations/player.js +32 -41
  3. package/animations/player.js.map +1 -1
  4. package/components/accordion/accordion.d.ts +18 -12
  5. package/components/accordion/accordion.js +82 -65
  6. package/components/accordion/accordion.js.map +1 -1
  7. package/components/badge/badge.d.ts +8 -0
  8. package/components/badge/badge.js +16 -1
  9. package/components/badge/badge.js.map +1 -1
  10. package/components/badge/themes/badge.base.css.js +1 -1
  11. package/components/badge/themes/badge.base.css.js.map +1 -1
  12. package/components/badge/themes/dark/badge.indigo.css.js +1 -1
  13. package/components/badge/themes/dark/badge.indigo.css.js.map +1 -1
  14. package/components/badge/themes/shared/badge.bootstrap.css.js +1 -1
  15. package/components/badge/themes/shared/badge.bootstrap.css.js.map +1 -1
  16. package/components/badge/themes/shared/badge.common.css.js +1 -1
  17. package/components/badge/themes/shared/badge.common.css.js.map +1 -1
  18. package/components/badge/themes/shared/badge.fluent.css.d.ts +1 -0
  19. package/components/badge/themes/shared/badge.fluent.css.js +3 -0
  20. package/components/badge/themes/shared/badge.fluent.css.js.map +1 -0
  21. package/components/badge/themes/shared/badge.indigo.css.js +1 -1
  22. package/components/badge/themes/shared/badge.indigo.css.js.map +1 -1
  23. package/components/badge/themes/shared/badge.material.css.d.ts +1 -0
  24. package/components/badge/themes/shared/badge.material.css.js +3 -0
  25. package/components/badge/themes/shared/badge.material.css.js.map +1 -0
  26. package/components/badge/themes/themes.js +6 -4
  27. package/components/badge/themes/themes.js.map +1 -1
  28. package/components/banner/banner.d.ts +2 -3
  29. package/components/banner/banner.js +13 -19
  30. package/components/banner/banner.js.map +1 -1
  31. package/components/chat/chat-input.d.ts +7 -3
  32. package/components/chat/chat-input.js +21 -8
  33. package/components/chat/chat-input.js.map +1 -1
  34. package/components/chat/chat-message.d.ts +5 -2
  35. package/components/chat/chat-message.js +18 -10
  36. package/components/chat/chat-message.js.map +1 -1
  37. package/components/chat/chat.d.ts +1 -0
  38. package/components/chat/chat.js +4 -2
  39. package/components/chat/chat.js.map +1 -1
  40. package/components/chat/types.d.ts +2 -0
  41. package/components/chat/types.js.map +1 -1
  42. package/components/chat/utils.d.ts +13 -2
  43. package/components/chat/utils.js +36 -14
  44. package/components/chat/utils.js.map +1 -1
  45. package/components/checkbox/themes/checkbox.base.css.js +1 -1
  46. package/components/checkbox/themes/checkbox.base.css.js.map +1 -1
  47. package/components/checkbox/themes/shared/checkbox/checkbox.fluent.css.js +1 -1
  48. package/components/checkbox/themes/shared/checkbox/checkbox.fluent.css.js.map +1 -1
  49. package/components/combo/combo.d.ts +11 -9
  50. package/components/combo/combo.js +34 -49
  51. package/components/combo/combo.js.map +1 -1
  52. package/components/combo/controllers/navigation.d.ts +39 -43
  53. package/components/combo/controllers/navigation.js +153 -175
  54. package/components/combo/controllers/navigation.js.map +1 -1
  55. package/components/combo/themes/shared/combo.bootstrap.css.js +1 -1
  56. package/components/combo/themes/shared/combo.bootstrap.css.js.map +1 -1
  57. package/components/combo/themes/shared/combo.common.css.js +1 -1
  58. package/components/combo/themes/shared/combo.common.css.js.map +1 -1
  59. package/components/combo/themes/shared/combo.fluent.css.js +1 -1
  60. package/components/combo/themes/shared/combo.fluent.css.js.map +1 -1
  61. package/components/combo/themes/shared/combo.indigo.css.js +1 -1
  62. package/components/combo/themes/shared/combo.indigo.css.js.map +1 -1
  63. package/components/combo/themes/shared/combo.material.css.js +1 -1
  64. package/components/combo/themes/shared/combo.material.css.js.map +1 -1
  65. package/components/date-range-picker/date-range-picker.d.ts +4 -0
  66. package/components/date-range-picker/date-range-picker.js.map +1 -1
  67. package/components/dialog/themes/dialog.base.css.js +1 -1
  68. package/components/dialog/themes/dialog.base.css.js.map +1 -1
  69. package/components/dialog/themes/shared/dialog.common.css.js +1 -1
  70. package/components/dialog/themes/shared/dialog.common.css.js.map +1 -1
  71. package/components/expansion-panel/expansion-panel.d.ts +6 -5
  72. package/components/expansion-panel/expansion-panel.js +33 -42
  73. package/components/expansion-panel/expansion-panel.js.map +1 -1
  74. package/components/input/themes/input.base.css.js +1 -1
  75. package/components/input/themes/input.base.css.js.map +1 -1
  76. package/components/mask-input/mask-input-base.js +5 -0
  77. package/components/mask-input/mask-input-base.js.map +1 -1
  78. package/components/select/themes/shared/select.common.css.js +1 -1
  79. package/components/select/themes/shared/select.common.css.js.map +1 -1
  80. package/components/select/themes/shared/select.fluent.css.js +1 -1
  81. package/components/select/themes/shared/select.fluent.css.js.map +1 -1
  82. package/components/select/themes/shared/select.material.css.js +1 -1
  83. package/components/select/themes/shared/select.material.css.js.map +1 -1
  84. package/components/stepper/step.d.ts +1 -1
  85. package/components/stepper/step.js +4 -6
  86. package/components/stepper/step.js.map +1 -1
  87. package/components/tooltip/themes/tooltip.base.css.js +1 -1
  88. package/components/tooltip/themes/tooltip.base.css.js.map +1 -1
  89. package/components/tooltip/tooltip.d.ts +2 -0
  90. package/components/tooltip/tooltip.js +9 -2
  91. package/components/tooltip/tooltip.js.map +1 -1
  92. package/components/tree/tree-item.js +1 -5
  93. package/components/tree/tree-item.js.map +1 -1
  94. package/custom-elements.json +1253 -1063
  95. package/igniteui-webcomponents.css-data.json +1 -1
  96. package/igniteui-webcomponents.html-data.json +1 -1
  97. package/package.json +1 -1
  98. package/web-types.json +2 -2
@@ -16676,19 +16676,48 @@
16676
16676
  "declarations": [
16677
16677
  {
16678
16678
  "kind": "class",
16679
- "description": "",
16679
+ "description": "A ReactiveController for managing Web Animation API (WAAPI) playback\non a host element or a specified target element.\n\nIt provides methods to play, stop, and coordinate animations, including\nsupport for 'height: auto' transitions and reduced motion preference.",
16680
16680
  "name": "AnimationController",
16681
16681
  "members": [
16682
16682
  {
16683
16683
  "kind": "field",
16684
- "name": "target",
16684
+ "name": "_host",
16685
+ "type": {
16686
+ "text": "ReactiveControllerHost & HTMLElement"
16687
+ },
16688
+ "privacy": "private",
16689
+ "readonly": true,
16690
+ "default": "host"
16691
+ },
16692
+ {
16693
+ "kind": "field",
16694
+ "name": "_ref",
16695
+ "type": {
16696
+ "text": "Ref<HTMLElement> | HTMLElement | undefined"
16697
+ },
16698
+ "privacy": "private",
16699
+ "readonly": true,
16700
+ "default": "ref"
16701
+ },
16702
+ {
16703
+ "kind": "field",
16704
+ "name": "_target",
16705
+ "type": {
16706
+ "text": "HTMLElement"
16707
+ },
16685
16708
  "privacy": "protected",
16709
+ "description": "The actual HTMLElement target for the animations.\nPrioritizes a passed-in Ref value, then a direct HTMLElement, falling back to the host.",
16686
16710
  "readonly": true
16687
16711
  },
16688
16712
  {
16689
16713
  "kind": "method",
16690
- "name": "parseKeyframes",
16714
+ "name": "_parseKeyframes",
16691
16715
  "privacy": "private",
16716
+ "return": {
16717
+ "type": {
16718
+ "text": "Keyframe[]"
16719
+ }
16720
+ },
16692
16721
  "parameters": [
16693
16722
  {
16694
16723
  "name": "keyframes",
@@ -16696,12 +16725,18 @@
16696
16725
  "text": "Keyframe[]"
16697
16726
  }
16698
16727
  }
16699
- ]
16728
+ ],
16729
+ "description": "Pre-processes keyframes, specifically resolving 'auto' height to the element's scrollHeight."
16700
16730
  },
16701
16731
  {
16702
16732
  "kind": "method",
16703
- "name": "play",
16733
+ "name": "playExclusive",
16704
16734
  "privacy": "public",
16735
+ "return": {
16736
+ "type": {
16737
+ "text": "Promise<boolean>"
16738
+ }
16739
+ },
16705
16740
  "parameters": [
16706
16741
  {
16707
16742
  "name": "animation",
@@ -16709,17 +16744,18 @@
16709
16744
  "text": "AnimationReferenceMetadata"
16710
16745
  }
16711
16746
  }
16712
- ]
16713
- },
16714
- {
16715
- "kind": "method",
16716
- "name": "stopAll",
16717
- "privacy": "public"
16747
+ ],
16748
+ "description": "Plays a sequence of keyframes, first cancelling all existing animations on the target."
16718
16749
  },
16719
16750
  {
16720
16751
  "kind": "method",
16721
- "name": "playExclusive",
16752
+ "name": "play",
16722
16753
  "privacy": "public",
16754
+ "return": {
16755
+ "type": {
16756
+ "text": "Promise<AnimationPlaybackEvent>"
16757
+ }
16758
+ },
16723
16759
  "parameters": [
16724
16760
  {
16725
16761
  "name": "animation",
@@ -16727,18 +16763,30 @@
16727
16763
  "text": "AnimationReferenceMetadata"
16728
16764
  }
16729
16765
  }
16730
- ]
16766
+ ],
16767
+ "description": "Plays a sequence of keyframes using WAAPI.\nAutomatically sets duration to 0 if 'prefers-reduced-motion' is set."
16731
16768
  },
16732
16769
  {
16733
16770
  "kind": "method",
16734
- "name": "hostConnected",
16735
- "privacy": "public"
16771
+ "name": "cancelAll",
16772
+ "privacy": "public",
16773
+ "return": {
16774
+ "type": {
16775
+ "text": "Promise<void>"
16776
+ }
16777
+ },
16778
+ "description": "Cancels all active animations on the target element."
16736
16779
  }
16737
16780
  ]
16738
16781
  },
16739
16782
  {
16740
16783
  "kind": "function",
16741
16784
  "name": "addAnimationController",
16785
+ "return": {
16786
+ "type": {
16787
+ "text": "AnimationController"
16788
+ }
16789
+ },
16742
16790
  "parameters": [
16743
16791
  {
16744
16792
  "name": "host",
@@ -16772,7 +16820,8 @@
16772
16820
  "text": "ViewTransitionUpdateCallback"
16773
16821
  }
16774
16822
  }
16775
- ]
16823
+ ],
16824
+ "description": "Initiates a View Transition if supported by the browser and not suppressed by\nthe 'prefers-reduced-motion' setting."
16776
16825
  }
16777
16826
  ],
16778
16827
  "exports": [
@@ -21265,10 +21314,11 @@
21265
21314
  "kind": "field",
21266
21315
  "name": "value",
21267
21316
  "privacy": "public",
21317
+ "description": "The value of the picker",
21318
+ "attribute": "value",
21268
21319
  "type": {
21269
21320
  "text": "DateRangeValue | null"
21270
- },
21271
- "attribute": "value"
21321
+ }
21272
21322
  },
21273
21323
  {
21274
21324
  "kind": "field",
@@ -22906,6 +22956,15 @@
22906
22956
  }
22907
22957
  ],
22908
22958
  "attributes": [
22959
+ {
22960
+ "name": "value",
22961
+ "description": "The value of the picker",
22962
+ "fieldName": "value",
22963
+ "attribute": "value",
22964
+ "type": {
22965
+ "text": "DateRangeValue | null"
22966
+ }
22967
+ },
22909
22968
  {
22910
22969
  "name": "mode",
22911
22970
  "type": {
@@ -23143,13 +23202,6 @@
23143
23202
  "fieldName": "hideOutsideDays",
23144
23203
  "attribute": "hide-outside-days"
23145
23204
  },
23146
- {
23147
- "name": "value",
23148
- "type": {
23149
- "text": "DateRangeValue | null"
23150
- },
23151
- "fieldName": "value"
23152
- },
23153
23205
  {
23154
23206
  "name": "use-predefined-ranges",
23155
23207
  "type": {
@@ -28594,7 +28646,7 @@
28594
28646
  },
28595
28647
  {
28596
28648
  "kind": "field",
28597
- "name": "_contentRef",
28649
+ "name": "_panelRef",
28598
28650
  "privacy": "private",
28599
28651
  "readonly": true
28600
28652
  },
@@ -28661,35 +28713,35 @@
28661
28713
  },
28662
28714
  {
28663
28715
  "kind": "method",
28664
- "name": "_toggleWithEvent",
28665
- "privacy": "private",
28666
- "return": {
28667
- "type": {
28668
- "text": "void"
28669
- }
28670
- }
28671
- },
28672
- {
28673
- "kind": "method",
28674
- "name": "_toggleAnimation",
28716
+ "name": "_setOpenState",
28675
28717
  "privacy": "private",
28676
28718
  "return": {
28677
28719
  "type": {
28678
- "text": "Promise<boolean>"
28720
+ "text": "Promise<void>"
28679
28721
  }
28680
28722
  },
28681
28723
  "parameters": [
28682
28724
  {
28683
- "name": "dir",
28725
+ "name": "{\n state,\n withEvent,\n }",
28684
28726
  "type": {
28685
- "text": "'open' | 'close'"
28727
+ "text": "{\n state: boolean;\n withEvent?: boolean;\n }"
28686
28728
  }
28687
28729
  }
28688
28730
  ]
28689
28731
  },
28690
28732
  {
28691
28733
  "kind": "method",
28692
- "name": "_openWithEvent",
28734
+ "name": "_toggle",
28735
+ "privacy": "private",
28736
+ "return": {
28737
+ "type": {
28738
+ "text": "Promise<void>"
28739
+ }
28740
+ }
28741
+ },
28742
+ {
28743
+ "kind": "method",
28744
+ "name": "_show",
28693
28745
  "privacy": "private",
28694
28746
  "return": {
28695
28747
  "type": {
@@ -28699,7 +28751,7 @@
28699
28751
  },
28700
28752
  {
28701
28753
  "kind": "method",
28702
- "name": "_closeWithEvent",
28754
+ "name": "_hide",
28703
28755
  "privacy": "private",
28704
28756
  "return": {
28705
28757
  "type": {
@@ -28972,15 +29024,36 @@
28972
29024
  "kind": "method",
28973
29025
  "name": "register",
28974
29026
  "privacy": "public",
28975
- "static": true
29027
+ "static": true,
29028
+ "return": {
29029
+ "type": {
29030
+ "text": "void"
29031
+ }
29032
+ }
28976
29033
  },
28977
29034
  {
28978
29035
  "kind": "field",
28979
- "name": "enabledPanels",
29036
+ "name": "_panels",
28980
29037
  "type": {
28981
- "text": "Array<IgcExpansionPanelComponent>"
29038
+ "text": "IgcExpansionPanelComponent[]"
28982
29039
  },
28983
- "privacy": "private"
29040
+ "privacy": "private",
29041
+ "default": "[]"
29042
+ },
29043
+ {
29044
+ "kind": "field",
29045
+ "name": "_slots",
29046
+ "privacy": "private",
29047
+ "readonly": true
29048
+ },
29049
+ {
29050
+ "kind": "field",
29051
+ "name": "_interactivePanels",
29052
+ "type": {
29053
+ "text": "IgcExpansionPanelComponent[]"
29054
+ },
29055
+ "privacy": "private",
29056
+ "readonly": true
28984
29057
  },
28985
29058
  {
28986
29059
  "kind": "field",
@@ -28998,15 +29071,49 @@
28998
29071
  "kind": "field",
28999
29072
  "name": "panels",
29000
29073
  "type": {
29001
- "text": "Array<IgcExpansionPanelComponent>"
29074
+ "text": "IgcExpansionPanelComponent[]"
29002
29075
  },
29003
29076
  "privacy": "public",
29004
- "description": "Returns all of the accordions's direct igc-expansion-panel children."
29077
+ "description": "Returns all of the accordions's direct igc-expansion-panel children.",
29078
+ "readonly": true
29079
+ },
29080
+ {
29081
+ "kind": "method",
29082
+ "name": "_handleSlotChange",
29083
+ "privacy": "private",
29084
+ "return": {
29085
+ "type": {
29086
+ "text": "void"
29087
+ }
29088
+ }
29089
+ },
29090
+ {
29091
+ "kind": "method",
29092
+ "name": "_handlePanelOpening",
29093
+ "privacy": "private",
29094
+ "return": {
29095
+ "type": {
29096
+ "text": "Promise<void>"
29097
+ }
29098
+ },
29099
+ "parameters": [
29100
+ {
29101
+ "name": "event",
29102
+ "type": {
29103
+ "text": "Event"
29104
+ }
29105
+ }
29106
+ ]
29005
29107
  },
29006
29108
  {
29007
29109
  "kind": "method",
29008
- "name": "skipKeybinding",
29110
+ "name": "_skipKeybinding",
29009
29111
  "privacy": "private",
29112
+ "return": {
29113
+ "type": {
29114
+ "text": "boolean"
29115
+ }
29116
+ },
29010
29117
  "parameters": [
29011
29118
  {
29012
29119
  "name": "target",
@@ -29018,8 +29125,33 @@
29018
29125
  },
29019
29126
  {
29020
29127
  "kind": "method",
29021
- "name": "navigatePrev",
29128
+ "name": "_navigateToFirst",
29129
+ "privacy": "private",
29130
+ "return": {
29131
+ "type": {
29132
+ "text": "void"
29133
+ }
29134
+ }
29135
+ },
29136
+ {
29137
+ "kind": "method",
29138
+ "name": "_navigateToLast",
29139
+ "privacy": "private",
29140
+ "return": {
29141
+ "type": {
29142
+ "text": "void"
29143
+ }
29144
+ }
29145
+ },
29146
+ {
29147
+ "kind": "method",
29148
+ "name": "_navigateToPrevious",
29022
29149
  "privacy": "private",
29150
+ "return": {
29151
+ "type": {
29152
+ "text": "void"
29153
+ }
29154
+ },
29023
29155
  "parameters": [
29024
29156
  {
29025
29157
  "name": "event",
@@ -29031,8 +29163,13 @@
29031
29163
  },
29032
29164
  {
29033
29165
  "kind": "method",
29034
- "name": "navigateNext",
29166
+ "name": "_navigateToNext",
29035
29167
  "privacy": "private",
29168
+ "return": {
29169
+ "type": {
29170
+ "text": "void"
29171
+ }
29172
+ },
29036
29173
  "parameters": [
29037
29174
  {
29038
29175
  "name": "event",
@@ -29044,13 +29181,23 @@
29044
29181
  },
29045
29182
  {
29046
29183
  "kind": "method",
29047
- "name": "collapseAll",
29048
- "privacy": "private"
29184
+ "name": "_collapseAll",
29185
+ "privacy": "private",
29186
+ "return": {
29187
+ "type": {
29188
+ "text": "Promise<void>"
29189
+ }
29190
+ }
29049
29191
  },
29050
29192
  {
29051
29193
  "kind": "method",
29052
- "name": "expandAll",
29194
+ "name": "_expandAll",
29053
29195
  "privacy": "private",
29196
+ "return": {
29197
+ "type": {
29198
+ "text": "Promise<void>"
29199
+ }
29200
+ },
29054
29201
  "parameters": [
29055
29202
  {
29056
29203
  "name": "event",
@@ -29062,21 +29209,31 @@
29062
29209
  },
29063
29210
  {
29064
29211
  "kind": "method",
29065
- "name": "handlePanelOpening",
29212
+ "name": "_getPanelHeader",
29066
29213
  "privacy": "private",
29214
+ "return": {
29215
+ "type": {
29216
+ "text": "HTMLElement | undefined"
29217
+ }
29218
+ },
29067
29219
  "parameters": [
29068
29220
  {
29069
- "name": "event",
29221
+ "name": "panel",
29070
29222
  "type": {
29071
- "text": "Event"
29223
+ "text": "IgcExpansionPanelComponent"
29072
29224
  }
29073
29225
  }
29074
29226
  ]
29075
29227
  },
29076
29228
  {
29077
29229
  "kind": "method",
29078
- "name": "getNextPanel",
29230
+ "name": "_getNextPanel",
29079
29231
  "privacy": "private",
29232
+ "return": {
29233
+ "type": {
29234
+ "text": "IgcExpansionPanelComponent"
29235
+ }
29236
+ },
29080
29237
  "parameters": [
29081
29238
  {
29082
29239
  "name": "panel",
@@ -29095,24 +29252,16 @@
29095
29252
  },
29096
29253
  {
29097
29254
  "kind": "method",
29098
- "name": "getPanelHeader",
29255
+ "name": "_closePanel",
29099
29256
  "privacy": "private",
29100
- "parameters": [
29101
- {
29102
- "name": "panel",
29103
- "type": {
29104
- "text": "IgcExpansionPanelComponent"
29105
- }
29257
+ "return": {
29258
+ "type": {
29259
+ "text": "Promise<void>"
29106
29260
  }
29107
- ]
29108
- },
29109
- {
29110
- "kind": "method",
29111
- "name": "closePanel",
29112
- "privacy": "private",
29261
+ },
29113
29262
  "parameters": [
29114
29263
  {
29115
- "name": "panel",
29264
+ "name": "p",
29116
29265
  "type": {
29117
29266
  "text": "IgcExpansionPanelComponent"
29118
29267
  }
@@ -29121,11 +29270,16 @@
29121
29270
  },
29122
29271
  {
29123
29272
  "kind": "method",
29124
- "name": "openPanel",
29273
+ "name": "_openPanel",
29125
29274
  "privacy": "private",
29275
+ "return": {
29276
+ "type": {
29277
+ "text": "Promise<void>"
29278
+ }
29279
+ },
29126
29280
  "parameters": [
29127
29281
  {
29128
- "name": "panel",
29282
+ "name": "p",
29129
29283
  "type": {
29130
29284
  "text": "IgcExpansionPanelComponent"
29131
29285
  }
@@ -29231,19 +29385,44 @@
29231
29385
  },
29232
29386
  {
29233
29387
  "kind": "field",
29234
- "name": "_internals",
29388
+ "name": "_iconPart",
29389
+ "type": {
29390
+ "text": "boolean"
29391
+ },
29235
29392
  "privacy": "private",
29236
- "readonly": true
29393
+ "default": "false"
29237
29394
  },
29238
29395
  {
29239
29396
  "kind": "field",
29240
- "name": "variant",
29241
- "type": {
29242
- "text": "StyleVariant"
29243
- },
29244
- "privacy": "public",
29245
- "default": "'primary'",
29246
- "description": "The type of badge.",
29397
+ "name": "_slots",
29398
+ "privacy": "private",
29399
+ "readonly": true
29400
+ },
29401
+ {
29402
+ "kind": "method",
29403
+ "name": "_handleSlotChange",
29404
+ "privacy": "protected",
29405
+ "return": {
29406
+ "type": {
29407
+ "text": "void"
29408
+ }
29409
+ }
29410
+ },
29411
+ {
29412
+ "kind": "field",
29413
+ "name": "_internals",
29414
+ "privacy": "private",
29415
+ "readonly": true
29416
+ },
29417
+ {
29418
+ "kind": "field",
29419
+ "name": "variant",
29420
+ "type": {
29421
+ "text": "StyleVariant"
29422
+ },
29423
+ "privacy": "public",
29424
+ "default": "'primary'",
29425
+ "description": "The type of badge.",
29247
29426
  "attribute": "variant",
29248
29427
  "reflects": true,
29249
29428
  "expandedType": {
@@ -29276,6 +29455,18 @@
29276
29455
  "expandedType": {
29277
29456
  "text": "'rounded' | 'square'"
29278
29457
  }
29458
+ },
29459
+ {
29460
+ "kind": "field",
29461
+ "name": "dot",
29462
+ "type": {
29463
+ "text": "boolean"
29464
+ },
29465
+ "privacy": "public",
29466
+ "default": "false",
29467
+ "description": "Sets whether to render a dot type badge.",
29468
+ "attribute": "dot",
29469
+ "reflects": true
29279
29470
  }
29280
29471
  ],
29281
29472
  "attributes": [
@@ -29314,6 +29505,16 @@
29314
29505
  "expandedType": {
29315
29506
  "text": "'rounded' | 'square'"
29316
29507
  }
29508
+ },
29509
+ {
29510
+ "name": "dot",
29511
+ "type": {
29512
+ "text": "boolean"
29513
+ },
29514
+ "default": "false",
29515
+ "description": "Sets whether to render a dot type badge.",
29516
+ "fieldName": "dot",
29517
+ "attribute": "dot"
29317
29518
  }
29318
29519
  ],
29319
29520
  "superclass": {
@@ -29409,15 +29610,12 @@
29409
29610
  {
29410
29611
  "kind": "field",
29411
29612
  "name": "_bannerRef",
29412
- "type": {
29413
- "text": "Ref<HTMLElement>"
29414
- },
29415
29613
  "privacy": "private",
29416
29614
  "readonly": true
29417
29615
  },
29418
29616
  {
29419
29617
  "kind": "field",
29420
- "name": "_animationPlayer",
29618
+ "name": "_player",
29421
29619
  "privacy": "private",
29422
29620
  "readonly": true
29423
29621
  },
@@ -29433,6 +29631,16 @@
29433
29631
  "attribute": "open",
29434
29632
  "reflects": true
29435
29633
  },
29634
+ {
29635
+ "kind": "method",
29636
+ "name": "_handleClick",
29637
+ "privacy": "private",
29638
+ "return": {
29639
+ "type": {
29640
+ "text": "Promise<void>"
29641
+ }
29642
+ }
29643
+ },
29436
29644
  {
29437
29645
  "kind": "method",
29438
29646
  "name": "show",
@@ -29466,24 +29674,6 @@
29466
29674
  },
29467
29675
  "description": "Toggles between shown/hidden state. Returns `true` when the animation has completed."
29468
29676
  },
29469
- {
29470
- "kind": "method",
29471
- "name": "toggleAnimation",
29472
- "privacy": "private",
29473
- "parameters": [
29474
- {
29475
- "name": "dir",
29476
- "type": {
29477
- "text": "'open' | 'close'"
29478
- }
29479
- }
29480
- ]
29481
- },
29482
- {
29483
- "kind": "method",
29484
- "name": "handleClick",
29485
- "privacy": "private"
29486
- },
29487
29677
  {
29488
29678
  "kind": "method",
29489
29679
  "name": "addEventListener",
@@ -31271,6 +31461,10 @@
31271
31461
  {
31272
31462
  "description": "The wrapping container of the tooltip content.",
31273
31463
  "name": "base"
31464
+ },
31465
+ {
31466
+ "description": "The container where the message property of the tooltip is rendered.",
31467
+ "name": "simple-text"
31274
31468
  }
31275
31469
  ],
31276
31470
  "slots": [
@@ -31330,6 +31524,12 @@
31330
31524
  "privacy": "private",
31331
31525
  "readonly": true
31332
31526
  },
31527
+ {
31528
+ "kind": "field",
31529
+ "name": "_slots",
31530
+ "privacy": "private",
31531
+ "readonly": true
31532
+ },
31333
31533
  {
31334
31534
  "kind": "field",
31335
31535
  "name": "_showAnimation",
@@ -34459,201 +34659,352 @@
34459
34659
  },
34460
34660
  {
34461
34661
  "kind": "javascript-module",
34462
- "path": "src/components/chat/message-attachments.ts",
34662
+ "path": "src/components/chat/utils.ts",
34463
34663
  "declarations": [
34464
34664
  {
34465
- "kind": "class",
34466
- "description": "A component that renders message attachments within a chat.\n\nDisplays attachments such as images or files, supporting custom templates\nand default rendering using expansion panels.",
34467
- "name": "IgcMessageAttachmentsComponent",
34468
- "cssParts": [
34665
+ "kind": "variable",
34666
+ "name": "ChatFileTypeIcons",
34667
+ "default": "new Map( Object.entries({ css: 'file_css', csv: 'file_csv', doc: 'file_doc', docx: 'file_doc', htm: 'file_htm', html: 'file_html', js: 'file_js', json: 'file_json', pdf: 'file_pdf', rtf: 'file_rtf', svg: 'file_svg', txt: 'file_txt', url: 'file_link', xls: 'file_xls', xlsx: 'file_xls', xml: 'file_xml', zip: 'file_zip', default: 'file_generic', }) )"
34668
+ },
34669
+ {
34670
+ "kind": "function",
34671
+ "name": "parseAcceptedFileTypes",
34672
+ "return": {
34673
+ "type": {
34674
+ "text": "ChatAcceptedFileTypes"
34675
+ }
34676
+ },
34677
+ "parameters": [
34469
34678
  {
34470
- "description": "Container wrapping all attachments.",
34471
- "name": "attachments-container"
34472
- },
34679
+ "name": "fileTypes",
34680
+ "type": {
34681
+ "text": "string"
34682
+ }
34683
+ }
34684
+ ]
34685
+ },
34686
+ {
34687
+ "kind": "function",
34688
+ "name": "isAcceptedFileType",
34689
+ "return": {
34690
+ "type": {
34691
+ "text": "boolean"
34692
+ }
34693
+ },
34694
+ "parameters": [
34473
34695
  {
34474
- "description": "Wrapper for a single attachment.",
34475
- "name": "attachment"
34696
+ "name": "file",
34697
+ "type": {
34698
+ "text": "File"
34699
+ }
34476
34700
  },
34477
34701
  {
34478
- "description": "Wrapper for a single attachment header.",
34479
- "name": "attachment-header"
34480
- },
34702
+ "name": "accepted",
34703
+ "type": {
34704
+ "text": "ChatAcceptedFileTypes | null"
34705
+ }
34706
+ }
34707
+ ]
34708
+ },
34709
+ {
34710
+ "kind": "function",
34711
+ "name": "getChatAcceptedFiles",
34712
+ "return": {
34713
+ "type": {
34714
+ "text": "File[]"
34715
+ }
34716
+ },
34717
+ "parameters": [
34481
34718
  {
34482
- "description": "Part representing the attachment preview.",
34483
- "name": "attachments-content"
34719
+ "name": "event",
34720
+ "type": {
34721
+ "text": "DragEvent"
34722
+ }
34484
34723
  },
34485
34724
  {
34486
- "description": "Icon part representing the attachment type.",
34487
- "name": "attachment-icon"
34488
- },
34725
+ "name": "accepted",
34726
+ "type": {
34727
+ "text": "ChatAcceptedFileTypes | null"
34728
+ }
34729
+ }
34730
+ ]
34731
+ },
34732
+ {
34733
+ "kind": "function",
34734
+ "name": "getIconName",
34735
+ "parameters": [
34489
34736
  {
34490
- "description": "Part representing the attachment's file name.",
34491
- "name": "file-name"
34492
- },
34737
+ "name": "fileType",
34738
+ "optional": true,
34739
+ "type": {
34740
+ "text": "string"
34741
+ }
34742
+ }
34743
+ ]
34744
+ },
34745
+ {
34746
+ "kind": "function",
34747
+ "name": "createAttachmentURL",
34748
+ "return": {
34749
+ "type": {
34750
+ "text": "string"
34751
+ }
34752
+ },
34753
+ "parameters": [
34493
34754
  {
34494
- "description": "Container for header action buttons.",
34495
- "name": "actions"
34496
- },
34755
+ "name": "attachment",
34756
+ "type": {
34757
+ "text": "IgcChatMessageAttachment"
34758
+ }
34759
+ }
34760
+ ]
34761
+ },
34762
+ {
34763
+ "kind": "function",
34764
+ "name": "getFileExtension",
34765
+ "return": {
34766
+ "type": {
34767
+ "text": "string"
34768
+ }
34769
+ },
34770
+ "parameters": [
34497
34771
  {
34498
- "description": "Part for the image element inside an image attachment.",
34499
- "name": "image-attachment"
34772
+ "name": "name",
34773
+ "type": {
34774
+ "text": "string"
34775
+ }
34500
34776
  }
34501
- ],
34777
+ ]
34778
+ },
34779
+ {
34780
+ "kind": "function",
34781
+ "name": "isImageAttachment",
34782
+ "return": {
34783
+ "type": {
34784
+ "text": "boolean"
34785
+ }
34786
+ },
34787
+ "parameters": [
34788
+ {
34789
+ "name": "attachment",
34790
+ "type": {
34791
+ "text": "IgcChatMessageAttachment | File"
34792
+ }
34793
+ }
34794
+ ]
34795
+ },
34796
+ {
34797
+ "kind": "class",
34798
+ "description": "",
34799
+ "name": "AdoptedStylesController",
34502
34800
  "members": [
34503
34801
  {
34504
34802
  "kind": "field",
34505
- "name": "tagName",
34803
+ "name": "_host",
34506
34804
  "type": {
34507
- "text": "string"
34805
+ "text": "ReactiveControllerHost & LitElement"
34508
34806
  },
34509
- "privacy": "public",
34510
- "static": true,
34807
+ "privacy": "private",
34511
34808
  "readonly": true,
34512
- "default": "'igc-message-attachments'"
34513
- },
34514
- {
34515
- "kind": "method",
34516
- "name": "register",
34517
- "privacy": "public",
34518
- "static": true,
34519
- "return": {
34520
- "type": {
34521
- "text": "void"
34522
- }
34523
- }
34809
+ "default": "host"
34524
34810
  },
34525
34811
  {
34526
34812
  "kind": "field",
34527
- "name": "_defaults",
34813
+ "name": "_hasAdoptedStyles",
34528
34814
  "type": {
34529
- "text": "Readonly<DefaultAttachmentRenderers>"
34530
- },
34531
- "privacy": "private",
34532
- "readonly": true
34533
- },
34534
- {
34535
- "kind": "field",
34536
- "name": "_state",
34537
- "type": {
34538
- "text": "ChatState"
34815
+ "text": "boolean"
34539
34816
  },
34540
34817
  "privacy": "private",
34541
- "readonly": true
34818
+ "default": "false"
34542
34819
  },
34543
34820
  {
34544
34821
  "kind": "field",
34545
- "name": "message",
34822
+ "name": "hasAdoptedStyles",
34546
34823
  "type": {
34547
- "text": "IgcChatMessage | undefined"
34824
+ "text": "boolean"
34548
34825
  },
34549
34826
  "privacy": "public",
34550
- "description": "The array of attachments to render."
34551
- },
34552
- {
34553
- "kind": "method",
34554
- "name": "_getRenderer",
34555
- "privacy": "private",
34556
- "parameters": [
34557
- {
34558
- "name": "name",
34559
- "type": {
34560
- "text": "keyof DefaultAttachmentRenderers"
34561
- }
34562
- }
34563
- ]
34564
- },
34565
- {
34566
- "kind": "field",
34567
- "name": "_handleHeaderClick",
34568
- "privacy": "private"
34827
+ "readonly": true
34569
34828
  },
34570
34829
  {
34571
34830
  "kind": "method",
34572
- "name": "renderHeader",
34831
+ "name": "_adoptRootStyles",
34573
34832
  "privacy": "private",
34574
- "parameters": [
34575
- {
34576
- "name": "attachment",
34577
- "type": {
34578
- "text": "IgcChatMessageAttachment"
34579
- },
34580
- "description": "The message attachment to render"
34581
- }
34582
- ],
34583
- "description": "Default attachment header template used when no custom template is provided.\nRenders the attachment icon and name.",
34584
34833
  "return": {
34585
34834
  "type": {
34586
- "text": ""
34835
+ "text": "void"
34587
34836
  }
34588
34837
  }
34589
34838
  },
34590
34839
  {
34591
34840
  "kind": "method",
34592
- "name": "_renderContent",
34593
- "privacy": "private",
34594
- "parameters": [
34595
- {
34596
- "name": "attachment",
34597
- "type": {
34598
- "text": "IgcChatMessageAttachment"
34599
- },
34600
- "description": "The message attachment to render"
34601
- }
34602
- ],
34603
- "description": "Default attachment content template used when no custom template is provided.\nRenders the attachment content based on its type.",
34841
+ "name": "shouldAdoptStyles",
34842
+ "privacy": "public",
34604
34843
  "return": {
34605
34844
  "type": {
34606
- "text": ""
34845
+ "text": "void"
34607
34846
  }
34608
- }
34609
- },
34610
- {
34611
- "kind": "method",
34612
- "name": "_renderAttachment",
34613
- "privacy": "private",
34847
+ },
34614
34848
  "parameters": [
34615
34849
  {
34616
- "name": "attachment",
34850
+ "name": "condition",
34617
34851
  "type": {
34618
- "text": "IgcChatMessageAttachment"
34852
+ "text": "boolean"
34619
34853
  }
34620
34854
  }
34621
34855
  ]
34622
34856
  }
34623
- ],
34624
- "events": [
34625
- {
34626
- "description": "Fired when an attachment header is toggled (clicked).",
34627
- "name": "igcAttachmentClick"
34857
+ ]
34858
+ },
34859
+ {
34860
+ "kind": "function",
34861
+ "name": "addAdoptedStylesController",
34862
+ "return": {
34863
+ "type": {
34864
+ "text": "AdoptedStylesController"
34628
34865
  }
34629
- ],
34630
- "superclass": {
34631
- "name": "LitElement",
34632
- "package": "lit"
34633
34866
  },
34634
- "tagName": "igc-message-attachments",
34635
- "customElement": true
34867
+ "parameters": [
34868
+ {
34869
+ "name": "host",
34870
+ "type": {
34871
+ "text": "ReactiveControllerHost & LitElement"
34872
+ }
34873
+ }
34874
+ ]
34636
34875
  }
34637
34876
  ],
34638
34877
  "exports": [
34639
34878
  {
34640
34879
  "kind": "js",
34641
- "name": "default",
34880
+ "name": "ChatFileTypeIcons",
34642
34881
  "declaration": {
34643
- "name": "IgcMessageAttachmentsComponent",
34644
- "module": "src/components/chat/message-attachments.ts"
34882
+ "name": "ChatFileTypeIcons",
34883
+ "module": "src/components/chat/utils.ts"
34884
+ }
34885
+ },
34886
+ {
34887
+ "kind": "js",
34888
+ "name": "parseAcceptedFileTypes",
34889
+ "declaration": {
34890
+ "name": "parseAcceptedFileTypes",
34891
+ "module": "src/components/chat/utils.ts"
34892
+ }
34893
+ },
34894
+ {
34895
+ "kind": "js",
34896
+ "name": "isAcceptedFileType",
34897
+ "declaration": {
34898
+ "name": "isAcceptedFileType",
34899
+ "module": "src/components/chat/utils.ts"
34900
+ }
34901
+ },
34902
+ {
34903
+ "kind": "js",
34904
+ "name": "getChatAcceptedFiles",
34905
+ "declaration": {
34906
+ "name": "getChatAcceptedFiles",
34907
+ "module": "src/components/chat/utils.ts"
34908
+ }
34909
+ },
34910
+ {
34911
+ "kind": "js",
34912
+ "name": "getIconName",
34913
+ "declaration": {
34914
+ "name": "getIconName",
34915
+ "module": "src/components/chat/utils.ts"
34916
+ }
34917
+ },
34918
+ {
34919
+ "kind": "js",
34920
+ "name": "createAttachmentURL",
34921
+ "declaration": {
34922
+ "name": "createAttachmentURL",
34923
+ "module": "src/components/chat/utils.ts"
34924
+ }
34925
+ },
34926
+ {
34927
+ "kind": "js",
34928
+ "name": "getFileExtension",
34929
+ "declaration": {
34930
+ "name": "getFileExtension",
34931
+ "module": "src/components/chat/utils.ts"
34932
+ }
34933
+ },
34934
+ {
34935
+ "kind": "js",
34936
+ "name": "isImageAttachment",
34937
+ "declaration": {
34938
+ "name": "isImageAttachment",
34939
+ "module": "src/components/chat/utils.ts"
34940
+ }
34941
+ },
34942
+ {
34943
+ "kind": "js",
34944
+ "name": "addAdoptedStylesController",
34945
+ "declaration": {
34946
+ "name": "addAdoptedStylesController",
34947
+ "module": "src/components/chat/utils.ts"
34948
+ }
34949
+ },
34950
+ {
34951
+ "kind": "js",
34952
+ "name": "AdoptedStylesController",
34953
+ "declaration": {
34954
+ "name": "AdoptedStylesController",
34955
+ "module": "src/components/chat/utils.ts"
34645
34956
  }
34646
34957
  }
34647
34958
  ]
34648
34959
  },
34649
34960
  {
34650
34961
  "kind": "javascript-module",
34651
- "path": "src/components/chat/chat-message.ts",
34962
+ "path": "src/components/chat/chat-input.ts",
34652
34963
  "declarations": [
34653
34964
  {
34654
34965
  "kind": "class",
34655
- "description": "A chat message component for displaying individual messages in `<igc-chat>`.",
34656
- "name": "IgcChatMessageComponent",
34966
+ "description": "A web component that provides the input area for the `igc-chat` interface.\n\nIt supports:\n- Text input with automatic resizing\n- Sending messages on Enter key (with Shift+Enter for newlines)\n- File attachments via file picker or drag-and-drop\n- Customizable templates for send button, attachments, and text input\n- Emits various chat-related events (typing, input focus/blur, attachment drop, etc.)",
34967
+ "name": "IgcChatInputComponent",
34968
+ "cssParts": [
34969
+ {
34970
+ "description": "Container for the input section",
34971
+ "name": "input-container"
34972
+ },
34973
+ {
34974
+ "description": "Wrapper around the text input",
34975
+ "name": "input-wrapper"
34976
+ },
34977
+ {
34978
+ "description": "The `<igc-textarea>` component",
34979
+ "name": "text-input"
34980
+ },
34981
+ {
34982
+ "description": "Container for file upload/send buttons",
34983
+ "name": "actions-container"
34984
+ },
34985
+ {
34986
+ "description": "The send icon button",
34987
+ "name": "send-button"
34988
+ },
34989
+ {
34990
+ "description": "Container for rendering attachments",
34991
+ "name": "attachments"
34992
+ },
34993
+ {
34994
+ "description": "Wrapper for individual attachment",
34995
+ "name": "attachment-wrapper"
34996
+ },
34997
+ {
34998
+ "description": "Display name of an attachment",
34999
+ "name": "attachment-name"
35000
+ }
35001
+ ],
35002
+ "slots": [
35003
+ {
35004
+ "description": "Default unnamed slot for rendering inside the component",
35005
+ "name": ""
35006
+ }
35007
+ ],
34657
35008
  "members": [
34658
35009
  {
34659
35010
  "kind": "field",
@@ -34664,7 +35015,7 @@
34664
35015
  "privacy": "public",
34665
35016
  "static": true,
34666
35017
  "readonly": true,
34667
- "default": "'igc-chat-message'"
35018
+ "default": "'igc-chat-input'"
34668
35019
  },
34669
35020
  {
34670
35021
  "kind": "method",
@@ -34680,43 +35031,139 @@
34680
35031
  {
34681
35032
  "kind": "field",
34682
35033
  "name": "_defaults",
35034
+ "type": {
35035
+ "text": "Readonly<DefaultInputRenderers>"
35036
+ },
34683
35037
  "privacy": "private",
34684
35038
  "readonly": true
34685
35039
  },
34686
35040
  {
34687
35041
  "kind": "field",
34688
- "name": "_state",
35042
+ "name": "_userIsTyping",
34689
35043
  "type": {
34690
- "text": "ChatState"
35044
+ "text": "boolean"
34691
35045
  },
34692
35046
  "privacy": "private",
34693
- "readonly": true
35047
+ "default": "false"
34694
35048
  },
34695
35049
  {
34696
35050
  "kind": "field",
34697
- "name": "message",
35051
+ "name": "_userLastTypeTime",
35052
+ "privacy": "private"
35053
+ },
35054
+ {
35055
+ "kind": "field",
35056
+ "name": "_typingTimeout",
34698
35057
  "type": {
34699
- "text": "IgcChatMessage"
35058
+ "text": "number"
34700
35059
  },
34701
- "privacy": "public",
34702
- "description": "The chat message to render."
35060
+ "privacy": "private",
35061
+ "default": "0"
34703
35062
  },
34704
35063
  {
34705
- "kind": "method",
34706
- "name": "_getRenderer",
35064
+ "kind": "field",
35065
+ "name": "_adoptedStyles",
34707
35066
  "privacy": "private",
34708
- "parameters": [
34709
- {
34710
- "name": "name",
34711
- "type": {
34712
- "text": "keyof DefaultMessageRenderers"
34713
- }
34714
- }
34715
- ]
35067
+ "readonly": true
34716
35068
  },
34717
35069
  {
34718
- "kind": "method",
34719
- "name": "_handleCopy",
35070
+ "kind": "field",
35071
+ "name": "_stateChanged",
35072
+ "privacy": "private",
35073
+ "readonly": true
35074
+ },
35075
+ {
35076
+ "kind": "field",
35077
+ "name": "_stateConsumer",
35078
+ "privacy": "private",
35079
+ "readonly": true,
35080
+ "default": "new ContextConsumer(this, { context: chatContext, callback: this._stateChanged, subscribe: true, })"
35081
+ },
35082
+ {
35083
+ "kind": "field",
35084
+ "name": "_userInputState",
35085
+ "type": {
35086
+ "text": "ChatState"
35087
+ },
35088
+ "privacy": "private",
35089
+ "readonly": true
35090
+ },
35091
+ {
35092
+ "kind": "field",
35093
+ "name": "_textInputElement",
35094
+ "type": {
35095
+ "text": "IgcTextareaComponent | undefined"
35096
+ },
35097
+ "privacy": "private",
35098
+ "readonly": true
35099
+ },
35100
+ {
35101
+ "kind": "field",
35102
+ "name": "_fileInput",
35103
+ "type": {
35104
+ "text": "HTMLInputElement | undefined"
35105
+ },
35106
+ "privacy": "protected",
35107
+ "readonly": true
35108
+ },
35109
+ {
35110
+ "kind": "field",
35111
+ "name": "_parts",
35112
+ "type": {
35113
+ "text": "object"
35114
+ },
35115
+ "privacy": "private",
35116
+ "default": "{ 'input-container': true, dragging: false }"
35117
+ },
35118
+ {
35119
+ "kind": "field",
35120
+ "name": "_state",
35121
+ "type": {
35122
+ "text": "ChatState"
35123
+ },
35124
+ "privacy": "private",
35125
+ "readonly": true
35126
+ },
35127
+ {
35128
+ "kind": "field",
35129
+ "name": "_acceptedTypes",
35130
+ "type": {
35131
+ "text": "ChatAcceptedFileTypes | null"
35132
+ },
35133
+ "privacy": "private",
35134
+ "readonly": true
35135
+ },
35136
+ {
35137
+ "kind": "method",
35138
+ "name": "_adoptPageStyles",
35139
+ "privacy": "private",
35140
+ "return": {
35141
+ "type": {
35142
+ "text": "void"
35143
+ }
35144
+ }
35145
+ },
35146
+ {
35147
+ "kind": "method",
35148
+ "name": "_getRenderer",
35149
+ "privacy": "private",
35150
+ "return": {
35151
+ "type": {
35152
+ "text": "DefaultInputRenderers[U]"
35153
+ }
35154
+ },
35155
+ "parameters": [
35156
+ {
35157
+ "name": "name",
35158
+ "type": {
35159
+ "text": "U"
35160
+ }
35161
+ }
35162
+ ]
35163
+ },
35164
+ {
35165
+ "kind": "method",
35166
+ "name": "_sendMessage",
34720
35167
  "privacy": "private",
34721
35168
  "return": {
34722
35169
  "type": {
@@ -34726,7 +35173,7 @@
34726
35173
  },
34727
35174
  {
34728
35175
  "kind": "method",
34729
- "name": "_handleMessageActionClick",
35176
+ "name": "_setTypingStateAndEmit",
34730
35177
  "privacy": "private",
34731
35178
  "return": {
34732
35179
  "type": {
@@ -34735,352 +35182,316 @@
34735
35182
  },
34736
35183
  "parameters": [
34737
35184
  {
34738
- "name": "event",
35185
+ "name": "state",
34739
35186
  "type": {
34740
- "text": "PointerEvent"
35187
+ "text": "boolean"
34741
35188
  }
34742
35189
  }
34743
35190
  ]
34744
35191
  },
34745
35192
  {
34746
35193
  "kind": "method",
34747
- "name": "_renderHeader",
34748
- "privacy": "private"
35194
+ "name": "_handleAttachmentRemoved",
35195
+ "privacy": "private",
35196
+ "return": {
35197
+ "type": {
35198
+ "text": "void"
35199
+ }
35200
+ },
35201
+ "parameters": [
35202
+ {
35203
+ "name": "attachment",
35204
+ "type": {
35205
+ "text": "IgcChatMessageAttachment"
35206
+ }
35207
+ }
35208
+ ]
34749
35209
  },
34750
35210
  {
34751
35211
  "kind": "method",
34752
- "name": "_renderContent",
34753
- "privacy": "private"
35212
+ "name": "_handleKeydown",
35213
+ "privacy": "private",
35214
+ "return": {
35215
+ "type": {
35216
+ "text": "void"
35217
+ }
35218
+ },
35219
+ "parameters": [
35220
+ {
35221
+ "name": "event",
35222
+ "type": {
35223
+ "text": "KeyboardEvent"
35224
+ }
35225
+ }
35226
+ ]
34754
35227
  },
34755
35228
  {
34756
35229
  "kind": "method",
34757
- "name": "_renderActions",
34758
- "privacy": "private"
35230
+ "name": "_handleFileInputClick",
35231
+ "privacy": "private",
35232
+ "return": {
35233
+ "type": {
35234
+ "text": "void"
35235
+ }
35236
+ }
34759
35237
  },
34760
35238
  {
34761
35239
  "kind": "method",
34762
- "name": "_renderActionButton",
35240
+ "name": "_handleFocusState",
34763
35241
  "privacy": "private",
35242
+ "return": {
35243
+ "type": {
35244
+ "text": "void"
35245
+ }
35246
+ },
34764
35247
  "parameters": [
34765
35248
  {
34766
- "name": "name",
35249
+ "name": "event",
34767
35250
  "type": {
34768
- "text": "string"
35251
+ "text": "FocusEvent"
34769
35252
  }
34770
- },
35253
+ }
35254
+ ]
35255
+ },
35256
+ {
35257
+ "kind": "method",
35258
+ "name": "_handleDragEnter",
35259
+ "privacy": "private",
35260
+ "return": {
35261
+ "type": {
35262
+ "text": "void"
35263
+ }
35264
+ },
35265
+ "parameters": [
34771
35266
  {
34772
- "name": "tooltipMessage",
35267
+ "name": "event",
34773
35268
  "type": {
34774
- "text": "string"
35269
+ "text": "DragEvent"
34775
35270
  }
34776
35271
  }
34777
35272
  ]
34778
35273
  },
34779
35274
  {
34780
35275
  "kind": "method",
34781
- "name": "_renderAttachments",
34782
- "privacy": "private"
35276
+ "name": "_handleDragOver",
35277
+ "privacy": "private",
35278
+ "return": {
35279
+ "type": {
35280
+ "text": "void"
35281
+ }
35282
+ },
35283
+ "parameters": [
35284
+ {
35285
+ "name": "event",
35286
+ "type": {
35287
+ "text": "DragEvent"
35288
+ }
35289
+ }
35290
+ ]
34783
35291
  },
34784
35292
  {
34785
35293
  "kind": "method",
34786
- "name": "_renderMessage",
34787
- "privacy": "private"
34788
- }
34789
- ],
34790
- "superclass": {
34791
- "name": "LitElement",
34792
- "package": "lit"
34793
- },
34794
- "tagName": "igc-chat-message",
34795
- "customElement": true
34796
- }
34797
- ],
34798
- "exports": [
34799
- {
34800
- "kind": "js",
34801
- "name": "default",
34802
- "declaration": {
34803
- "name": "IgcChatMessageComponent",
34804
- "module": "src/components/chat/chat-message.ts"
34805
- }
34806
- }
34807
- ]
34808
- },
34809
- {
34810
- "kind": "javascript-module",
34811
- "path": "src/components/chat/utils.ts",
34812
- "declarations": [
34813
- {
34814
- "kind": "variable",
34815
- "name": "ChatFileTypeIcons",
34816
- "default": "new Map( Object.entries({ css: 'file_css', csv: 'file_csv', doc: 'file_doc', docx: 'file_doc', htm: 'file_htm', html: 'file_html', js: 'file_js', json: 'file_json', pdf: 'file_pdf', rtf: 'file_rtf', svg: 'file_svg', txt: 'file_txt', url: 'file_link', xls: 'file_xls', xlsx: 'file_xls', xml: 'file_xml', zip: 'file_zip', default: 'file_generic', }) )"
34817
- },
34818
- {
34819
- "kind": "function",
34820
- "name": "parseAcceptedFileTypes",
34821
- "return": {
34822
- "type": {
34823
- "text": "ChatAcceptedFileTypes"
34824
- }
34825
- },
34826
- "parameters": [
35294
+ "name": "_handleDragLeave",
35295
+ "privacy": "private",
35296
+ "return": {
35297
+ "type": {
35298
+ "text": "void"
35299
+ }
35300
+ },
35301
+ "parameters": [
35302
+ {
35303
+ "name": "event",
35304
+ "type": {
35305
+ "text": "DragEvent"
35306
+ }
35307
+ }
35308
+ ]
35309
+ },
34827
35310
  {
34828
- "name": "fileTypes",
34829
- "type": {
34830
- "text": "string"
34831
- }
34832
- }
34833
- ]
34834
- },
34835
- {
34836
- "kind": "function",
34837
- "name": "isAcceptedFileType",
34838
- "return": {
34839
- "type": {
34840
- "text": "boolean"
34841
- }
34842
- },
34843
- "parameters": [
35311
+ "kind": "method",
35312
+ "name": "_handleDrop",
35313
+ "privacy": "private",
35314
+ "return": {
35315
+ "type": {
35316
+ "text": "void"
35317
+ }
35318
+ },
35319
+ "parameters": [
35320
+ {
35321
+ "name": "event",
35322
+ "type": {
35323
+ "text": "DragEvent"
35324
+ }
35325
+ }
35326
+ ]
35327
+ },
34844
35328
  {
34845
- "name": "file",
34846
- "type": {
34847
- "text": "File"
34848
- }
35329
+ "kind": "method",
35330
+ "name": "_handleInput",
35331
+ "privacy": "private",
35332
+ "return": {
35333
+ "type": {
35334
+ "text": "void"
35335
+ }
35336
+ },
35337
+ "parameters": [
35338
+ {
35339
+ "name": "{ detail }",
35340
+ "type": {
35341
+ "text": "CustomEvent<string>"
35342
+ }
35343
+ }
35344
+ ]
34849
35345
  },
34850
35346
  {
34851
- "name": "accepted",
34852
- "type": {
34853
- "text": "ChatAcceptedFileTypes | null"
34854
- }
34855
- }
34856
- ]
34857
- },
34858
- {
34859
- "kind": "function",
34860
- "name": "getChatAcceptedFiles",
34861
- "return": {
34862
- "type": {
34863
- "text": "File[]"
34864
- }
34865
- },
34866
- "parameters": [
35347
+ "kind": "method",
35348
+ "name": "_handleFileUpload",
35349
+ "privacy": "private",
35350
+ "return": {
35351
+ "type": {
35352
+ "text": "void"
35353
+ }
35354
+ },
35355
+ "parameters": [
35356
+ {
35357
+ "name": "event",
35358
+ "type": {
35359
+ "text": "Event"
35360
+ }
35361
+ }
35362
+ ]
35363
+ },
34867
35364
  {
34868
- "name": "event",
34869
- "type": {
34870
- "text": "DragEvent"
35365
+ "kind": "method",
35366
+ "name": "_renderAttachmentsArea",
35367
+ "privacy": "private",
35368
+ "parameters": [
35369
+ {
35370
+ "name": "attachments",
35371
+ "type": {
35372
+ "text": "IgcChatMessageAttachment[]"
35373
+ }
35374
+ }
35375
+ ],
35376
+ "description": "Default attachments area template used when no custom template is provided.\nRenders the list of input attachments as chips.",
35377
+ "return": {
35378
+ "type": {
35379
+ "text": ""
35380
+ }
34871
35381
  }
34872
35382
  },
34873
35383
  {
34874
- "name": "accepted",
34875
- "type": {
34876
- "text": "ChatAcceptedFileTypes | null"
35384
+ "kind": "method",
35385
+ "name": "_renderTextArea",
35386
+ "privacy": "private",
35387
+ "description": "Default text area template used when no custom template is provided.\nRenders a text area for user input.",
35388
+ "return": {
35389
+ "type": {
35390
+ "text": ""
35391
+ }
34877
35392
  }
34878
- }
34879
- ]
34880
- },
34881
- {
34882
- "kind": "function",
34883
- "name": "getIconName",
34884
- "parameters": [
35393
+ },
34885
35394
  {
34886
- "name": "fileType",
34887
- "optional": true,
34888
- "type": {
34889
- "text": "string"
34890
- }
34891
- }
34892
- ]
34893
- },
34894
- {
34895
- "kind": "function",
34896
- "name": "createAttachmentURL",
34897
- "return": {
34898
- "type": {
34899
- "text": "string"
34900
- }
34901
- },
34902
- "parameters": [
35395
+ "kind": "method",
35396
+ "name": "_renderFileUploadButton",
35397
+ "privacy": "private"
35398
+ },
34903
35399
  {
34904
- "name": "attachment",
34905
- "type": {
34906
- "text": "IgcChatMessageAttachment"
34907
- }
34908
- }
34909
- ]
34910
- },
34911
- {
34912
- "kind": "function",
34913
- "name": "getFileExtension",
34914
- "return": {
34915
- "type": {
34916
- "text": "string"
34917
- }
34918
- },
34919
- "parameters": [
35400
+ "kind": "method",
35401
+ "name": "_renderSendButton",
35402
+ "privacy": "private"
35403
+ },
34920
35404
  {
34921
- "name": "name",
34922
- "type": {
34923
- "text": "string"
34924
- }
34925
- }
34926
- ]
34927
- },
34928
- {
34929
- "kind": "function",
34930
- "name": "isImageAttachment",
34931
- "return": {
34932
- "type": {
34933
- "text": "boolean"
35405
+ "kind": "method",
35406
+ "name": "_renderActionsArea",
35407
+ "privacy": "private"
34934
35408
  }
34935
- },
34936
- "parameters": [
35409
+ ],
35410
+ "events": [
34937
35411
  {
34938
- "name": "attachment",
34939
- "type": {
34940
- "text": "IgcChatMessageAttachment | File"
34941
- }
34942
- }
34943
- ]
34944
- },
34945
- {
34946
- "kind": "function",
34947
- "name": "chatMessageAdoptPageStyles",
34948
- "return": {
34949
- "type": {
34950
- "text": "void"
34951
- }
34952
- },
34953
- "parameters": [
35412
+ "description": "Fired when the user starts/stops typing",
35413
+ "name": "igcTypingChange"
35414
+ },
34954
35415
  {
34955
- "name": "message",
34956
- "type": {
34957
- "text": "IgcChatMessageComponent"
34958
- }
35416
+ "description": "Fired when the input area receives focus",
35417
+ "name": "igcInputFocus"
35418
+ },
35419
+ {
35420
+ "description": "Fired when the input area loses focus",
35421
+ "name": "igcInputBlur"
35422
+ },
35423
+ {
35424
+ "description": "Fired when dragging a file over the input",
35425
+ "name": "igcAttachmentDrag"
35426
+ },
35427
+ {
35428
+ "description": "Fired when a file is dropped into the input",
35429
+ "name": "igcAttachmentDrop"
35430
+ },
35431
+ {
35432
+ "description": "Fired when file input changes (delegated from `<igc-file-input>`)",
35433
+ "name": "igcChange"
34959
35434
  }
34960
- ]
35435
+ ],
35436
+ "superclass": {
35437
+ "name": "LitElement",
35438
+ "package": "lit"
35439
+ },
35440
+ "tagName": "igc-chat-input",
35441
+ "customElement": true
34961
35442
  }
34962
35443
  ],
34963
35444
  "exports": [
34964
35445
  {
34965
35446
  "kind": "js",
34966
- "name": "ChatFileTypeIcons",
34967
- "declaration": {
34968
- "name": "ChatFileTypeIcons",
34969
- "module": "src/components/chat/utils.ts"
34970
- }
34971
- },
34972
- {
34973
- "kind": "js",
34974
- "name": "parseAcceptedFileTypes",
34975
- "declaration": {
34976
- "name": "parseAcceptedFileTypes",
34977
- "module": "src/components/chat/utils.ts"
34978
- }
34979
- },
34980
- {
34981
- "kind": "js",
34982
- "name": "isAcceptedFileType",
34983
- "declaration": {
34984
- "name": "isAcceptedFileType",
34985
- "module": "src/components/chat/utils.ts"
34986
- }
34987
- },
34988
- {
34989
- "kind": "js",
34990
- "name": "getChatAcceptedFiles",
34991
- "declaration": {
34992
- "name": "getChatAcceptedFiles",
34993
- "module": "src/components/chat/utils.ts"
34994
- }
34995
- },
34996
- {
34997
- "kind": "js",
34998
- "name": "getIconName",
34999
- "declaration": {
35000
- "name": "getIconName",
35001
- "module": "src/components/chat/utils.ts"
35002
- }
35003
- },
35004
- {
35005
- "kind": "js",
35006
- "name": "createAttachmentURL",
35007
- "declaration": {
35008
- "name": "createAttachmentURL",
35009
- "module": "src/components/chat/utils.ts"
35010
- }
35011
- },
35012
- {
35013
- "kind": "js",
35014
- "name": "getFileExtension",
35015
- "declaration": {
35016
- "name": "getFileExtension",
35017
- "module": "src/components/chat/utils.ts"
35018
- }
35019
- },
35020
- {
35021
- "kind": "js",
35022
- "name": "isImageAttachment",
35023
- "declaration": {
35024
- "name": "isImageAttachment",
35025
- "module": "src/components/chat/utils.ts"
35026
- }
35027
- },
35028
- {
35029
- "kind": "js",
35030
- "name": "chatMessageAdoptPageStyles",
35447
+ "name": "default",
35031
35448
  "declaration": {
35032
- "name": "chatMessageAdoptPageStyles",
35033
- "module": "src/components/chat/utils.ts"
35449
+ "name": "IgcChatInputComponent",
35450
+ "module": "src/components/chat/chat-input.ts"
35034
35451
  }
35035
35452
  }
35036
35453
  ]
35037
35454
  },
35038
35455
  {
35039
35456
  "kind": "javascript-module",
35040
- "path": "src/components/chat/chat-input.ts",
35457
+ "path": "src/components/chat/message-attachments.ts",
35041
35458
  "declarations": [
35042
35459
  {
35043
35460
  "kind": "class",
35044
- "description": "A web component that provides the input area for the `igc-chat` interface.\n\nIt supports:\n- Text input with automatic resizing\n- Sending messages on Enter key (with Shift+Enter for newlines)\n- File attachments via file picker or drag-and-drop\n- Customizable templates for send button, attachments, and text input\n- Emits various chat-related events (typing, input focus/blur, attachment drop, etc.)",
35045
- "name": "IgcChatInputComponent",
35461
+ "description": "A component that renders message attachments within a chat.\n\nDisplays attachments such as images or files, supporting custom templates\nand default rendering using expansion panels.",
35462
+ "name": "IgcMessageAttachmentsComponent",
35046
35463
  "cssParts": [
35047
35464
  {
35048
- "description": "Container for the input section",
35049
- "name": "input-container"
35465
+ "description": "Container wrapping all attachments.",
35466
+ "name": "attachments-container"
35050
35467
  },
35051
35468
  {
35052
- "description": "Wrapper around the text input",
35053
- "name": "input-wrapper"
35469
+ "description": "Wrapper for a single attachment.",
35470
+ "name": "attachment"
35054
35471
  },
35055
35472
  {
35056
- "description": "The `<igc-textarea>` component",
35057
- "name": "text-input"
35473
+ "description": "Wrapper for a single attachment header.",
35474
+ "name": "attachment-header"
35058
35475
  },
35059
35476
  {
35060
- "description": "Container for file upload/send buttons",
35061
- "name": "actions-container"
35477
+ "description": "Part representing the attachment preview.",
35478
+ "name": "attachments-content"
35062
35479
  },
35063
35480
  {
35064
- "description": "The send icon button",
35065
- "name": "send-button"
35481
+ "description": "Icon part representing the attachment type.",
35482
+ "name": "attachment-icon"
35066
35483
  },
35067
35484
  {
35068
- "description": "Container for rendering attachments",
35069
- "name": "attachments"
35485
+ "description": "Part representing the attachment's file name.",
35486
+ "name": "file-name"
35070
35487
  },
35071
35488
  {
35072
- "description": "Wrapper for individual attachment",
35073
- "name": "attachment-wrapper"
35489
+ "description": "Container for header action buttons.",
35490
+ "name": "actions"
35074
35491
  },
35075
35492
  {
35076
- "description": "Display name of an attachment",
35077
- "name": "attachment-name"
35078
- }
35079
- ],
35080
- "slots": [
35081
- {
35082
- "description": "Default unnamed slot for rendering inside the component",
35083
- "name": ""
35493
+ "description": "Part for the image element inside an image attachment.",
35494
+ "name": "image-attachment"
35084
35495
  }
35085
35496
  ],
35086
35497
  "members": [
@@ -35093,7 +35504,7 @@
35093
35504
  "privacy": "public",
35094
35505
  "static": true,
35095
35506
  "readonly": true,
35096
- "default": "'igc-chat-input'"
35507
+ "default": "'igc-message-attachments'"
35097
35508
  },
35098
35509
  {
35099
35510
  "kind": "method",
@@ -35110,34 +35521,11 @@
35110
35521
  "kind": "field",
35111
35522
  "name": "_defaults",
35112
35523
  "type": {
35113
- "text": "Readonly<DefaultInputRenderers>"
35524
+ "text": "Readonly<DefaultAttachmentRenderers>"
35114
35525
  },
35115
35526
  "privacy": "private",
35116
35527
  "readonly": true
35117
35528
  },
35118
- {
35119
- "kind": "field",
35120
- "name": "_userIsTyping",
35121
- "type": {
35122
- "text": "boolean"
35123
- },
35124
- "privacy": "private",
35125
- "default": "false"
35126
- },
35127
- {
35128
- "kind": "field",
35129
- "name": "_userLastTypeTime",
35130
- "privacy": "private"
35131
- },
35132
- {
35133
- "kind": "field",
35134
- "name": "_typingTimeout",
35135
- "type": {
35136
- "text": "number"
35137
- },
35138
- "privacy": "private",
35139
- "default": "0"
35140
- },
35141
35529
  {
35142
35530
  "kind": "field",
35143
35531
  "name": "_state",
@@ -35149,132 +35537,135 @@
35149
35537
  },
35150
35538
  {
35151
35539
  "kind": "field",
35152
- "name": "_userInputState",
35153
- "type": {
35154
- "text": "ChatState"
35155
- },
35156
- "privacy": "private",
35157
- "readonly": true
35158
- },
35159
- {
35160
- "kind": "field",
35161
- "name": "_textInputElement",
35162
- "type": {
35163
- "text": "IgcTextareaComponent"
35164
- },
35165
- "privacy": "private",
35166
- "readonly": true
35167
- },
35168
- {
35169
- "kind": "field",
35170
- "name": "_fileInput",
35171
- "type": {
35172
- "text": "HTMLInputElement"
35173
- },
35174
- "privacy": "protected",
35175
- "readonly": true
35176
- },
35177
- {
35178
- "kind": "field",
35179
- "name": "_parts",
35540
+ "name": "message",
35180
35541
  "type": {
35181
- "text": "object"
35542
+ "text": "IgcChatMessage | undefined"
35182
35543
  },
35183
- "privacy": "private",
35184
- "default": "{ 'input-container': true, dragging: false }"
35185
- },
35186
- {
35187
- "kind": "field",
35188
- "name": "_acceptedTypes",
35189
- "privacy": "private",
35190
- "readonly": true
35544
+ "privacy": "public",
35545
+ "description": "The array of attachments to render."
35191
35546
  },
35192
35547
  {
35193
35548
  "kind": "method",
35194
35549
  "name": "_getRenderer",
35195
35550
  "privacy": "private",
35196
- "return": {
35197
- "type": {
35198
- "text": "DefaultInputRenderers[U]"
35199
- }
35200
- },
35201
35551
  "parameters": [
35202
35552
  {
35203
35553
  "name": "name",
35204
35554
  "type": {
35205
- "text": "U"
35555
+ "text": "keyof DefaultAttachmentRenderers"
35206
35556
  }
35207
35557
  }
35208
35558
  ]
35209
35559
  },
35210
35560
  {
35211
- "kind": "method",
35212
- "name": "_sendMessage",
35213
- "privacy": "private",
35214
- "return": {
35215
- "type": {
35216
- "text": "Promise<void>"
35217
- }
35218
- }
35561
+ "kind": "field",
35562
+ "name": "_handleHeaderClick",
35563
+ "privacy": "private"
35219
35564
  },
35220
35565
  {
35221
35566
  "kind": "method",
35222
- "name": "_setTypingStateAndEmit",
35567
+ "name": "renderHeader",
35223
35568
  "privacy": "private",
35224
- "return": {
35225
- "type": {
35226
- "text": "void"
35227
- }
35228
- },
35229
35569
  "parameters": [
35230
35570
  {
35231
- "name": "state",
35571
+ "name": "attachment",
35232
35572
  "type": {
35233
- "text": "boolean"
35234
- }
35573
+ "text": "IgcChatMessageAttachment"
35574
+ },
35575
+ "description": "The message attachment to render"
35235
35576
  }
35236
- ]
35577
+ ],
35578
+ "description": "Default attachment header template used when no custom template is provided.\nRenders the attachment icon and name.",
35579
+ "return": {
35580
+ "type": {
35581
+ "text": ""
35582
+ }
35583
+ }
35237
35584
  },
35238
35585
  {
35239
35586
  "kind": "method",
35240
- "name": "_handleAttachmentRemoved",
35587
+ "name": "_renderContent",
35241
35588
  "privacy": "private",
35242
- "return": {
35243
- "type": {
35244
- "text": "void"
35245
- }
35246
- },
35247
35589
  "parameters": [
35248
35590
  {
35249
35591
  "name": "attachment",
35250
35592
  "type": {
35251
35593
  "text": "IgcChatMessageAttachment"
35252
- }
35594
+ },
35595
+ "description": "The message attachment to render"
35253
35596
  }
35254
- ]
35597
+ ],
35598
+ "description": "Default attachment content template used when no custom template is provided.\nRenders the attachment content based on its type.",
35599
+ "return": {
35600
+ "type": {
35601
+ "text": ""
35602
+ }
35603
+ }
35255
35604
  },
35256
35605
  {
35257
35606
  "kind": "method",
35258
- "name": "_handleKeydown",
35607
+ "name": "_renderAttachment",
35259
35608
  "privacy": "private",
35260
- "return": {
35261
- "type": {
35262
- "text": "void"
35263
- }
35264
- },
35265
35609
  "parameters": [
35266
35610
  {
35267
- "name": "event",
35611
+ "name": "attachment",
35268
35612
  "type": {
35269
- "text": "KeyboardEvent"
35613
+ "text": "IgcChatMessageAttachment"
35270
35614
  }
35271
35615
  }
35272
35616
  ]
35617
+ }
35618
+ ],
35619
+ "events": [
35620
+ {
35621
+ "description": "Fired when an attachment header is toggled (clicked).",
35622
+ "name": "igcAttachmentClick"
35623
+ }
35624
+ ],
35625
+ "superclass": {
35626
+ "name": "LitElement",
35627
+ "package": "lit"
35628
+ },
35629
+ "tagName": "igc-message-attachments",
35630
+ "customElement": true
35631
+ }
35632
+ ],
35633
+ "exports": [
35634
+ {
35635
+ "kind": "js",
35636
+ "name": "default",
35637
+ "declaration": {
35638
+ "name": "IgcMessageAttachmentsComponent",
35639
+ "module": "src/components/chat/message-attachments.ts"
35640
+ }
35641
+ }
35642
+ ]
35643
+ },
35644
+ {
35645
+ "kind": "javascript-module",
35646
+ "path": "src/components/chat/chat-message.ts",
35647
+ "declarations": [
35648
+ {
35649
+ "kind": "class",
35650
+ "description": "A chat message component for displaying individual messages in `<igc-chat>`.",
35651
+ "name": "IgcChatMessageComponent",
35652
+ "members": [
35653
+ {
35654
+ "kind": "field",
35655
+ "name": "tagName",
35656
+ "type": {
35657
+ "text": "string"
35658
+ },
35659
+ "privacy": "public",
35660
+ "static": true,
35661
+ "readonly": true,
35662
+ "default": "'igc-chat-message'"
35273
35663
  },
35274
35664
  {
35275
35665
  "kind": "method",
35276
- "name": "_handleFileInputClick",
35277
- "privacy": "private",
35666
+ "name": "register",
35667
+ "privacy": "public",
35668
+ "static": true,
35278
35669
  "return": {
35279
35670
  "type": {
35280
35671
  "text": "void"
@@ -35282,116 +35673,84 @@
35282
35673
  }
35283
35674
  },
35284
35675
  {
35285
- "kind": "method",
35286
- "name": "_handleFocusState",
35676
+ "kind": "field",
35677
+ "name": "_adoptedStyles",
35287
35678
  "privacy": "private",
35288
- "return": {
35289
- "type": {
35290
- "text": "void"
35291
- }
35292
- },
35293
- "parameters": [
35294
- {
35295
- "name": "event",
35296
- "type": {
35297
- "text": "FocusEvent"
35298
- }
35299
- }
35300
- ]
35679
+ "readonly": true
35301
35680
  },
35302
35681
  {
35303
- "kind": "method",
35304
- "name": "_handleDragEnter",
35682
+ "kind": "field",
35683
+ "name": "_defaults",
35305
35684
  "privacy": "private",
35306
- "return": {
35307
- "type": {
35308
- "text": "void"
35309
- }
35310
- },
35311
- "parameters": [
35312
- {
35313
- "name": "event",
35314
- "type": {
35315
- "text": "DragEvent"
35316
- }
35317
- }
35318
- ]
35685
+ "readonly": true
35319
35686
  },
35320
35687
  {
35321
- "kind": "method",
35322
- "name": "_handleDragOver",
35688
+ "kind": "field",
35689
+ "name": "_stateChanged",
35323
35690
  "privacy": "private",
35324
- "return": {
35325
- "type": {
35326
- "text": "void"
35327
- }
35691
+ "readonly": true
35692
+ },
35693
+ {
35694
+ "kind": "field",
35695
+ "name": "_stateConsumer",
35696
+ "privacy": "private",
35697
+ "readonly": true,
35698
+ "default": "new ContextConsumer(this, { context: chatContext, callback: this._stateChanged, subscribe: true, })"
35699
+ },
35700
+ {
35701
+ "kind": "field",
35702
+ "name": "_state",
35703
+ "type": {
35704
+ "text": "ChatState"
35328
35705
  },
35329
- "parameters": [
35330
- {
35331
- "name": "event",
35332
- "type": {
35333
- "text": "DragEvent"
35334
- }
35335
- }
35336
- ]
35706
+ "privacy": "private",
35707
+ "readonly": true
35708
+ },
35709
+ {
35710
+ "kind": "field",
35711
+ "name": "message",
35712
+ "type": {
35713
+ "text": "IgcChatMessage"
35714
+ },
35715
+ "privacy": "public",
35716
+ "description": "The chat message to render."
35337
35717
  },
35338
35718
  {
35339
35719
  "kind": "method",
35340
- "name": "_handleDragLeave",
35720
+ "name": "_adoptPageStyles",
35341
35721
  "privacy": "private",
35342
35722
  "return": {
35343
35723
  "type": {
35344
35724
  "text": "void"
35345
35725
  }
35346
- },
35347
- "parameters": [
35348
- {
35349
- "name": "event",
35350
- "type": {
35351
- "text": "DragEvent"
35352
- }
35353
- }
35354
- ]
35726
+ }
35355
35727
  },
35356
35728
  {
35357
35729
  "kind": "method",
35358
- "name": "_handleDrop",
35730
+ "name": "_getRenderer",
35359
35731
  "privacy": "private",
35360
- "return": {
35361
- "type": {
35362
- "text": "void"
35363
- }
35364
- },
35365
35732
  "parameters": [
35366
35733
  {
35367
- "name": "event",
35734
+ "name": "name",
35368
35735
  "type": {
35369
- "text": "DragEvent"
35736
+ "text": "keyof DefaultMessageRenderers"
35370
35737
  }
35371
35738
  }
35372
35739
  ]
35373
35740
  },
35374
35741
  {
35375
35742
  "kind": "method",
35376
- "name": "_handleInput",
35743
+ "name": "_handleCopy",
35377
35744
  "privacy": "private",
35378
35745
  "return": {
35379
35746
  "type": {
35380
- "text": "void"
35381
- }
35382
- },
35383
- "parameters": [
35384
- {
35385
- "name": "{ detail }",
35386
- "type": {
35387
- "text": "CustomEvent<string>"
35388
- }
35747
+ "text": "Promise<void>"
35389
35748
  }
35390
- ]
35749
+ }
35391
35750
  },
35392
35751
  {
35393
35752
  "kind": "method",
35394
- "name": "_handleFileUpload",
35753
+ "name": "_handleMessageActionClick",
35395
35754
  "privacy": "private",
35396
35755
  "return": {
35397
35756
  "type": {
@@ -35402,88 +35761,61 @@
35402
35761
  {
35403
35762
  "name": "event",
35404
35763
  "type": {
35405
- "text": "Event"
35764
+ "text": "PointerEvent"
35406
35765
  }
35407
35766
  }
35408
35767
  ]
35409
35768
  },
35410
35769
  {
35411
35770
  "kind": "method",
35412
- "name": "_renderAttachmentsArea",
35413
- "privacy": "private",
35414
- "parameters": [
35415
- {
35416
- "name": "attachments",
35417
- "type": {
35418
- "text": "IgcChatMessageAttachment[]"
35419
- }
35420
- }
35421
- ],
35422
- "description": "Default attachments area template used when no custom template is provided.\nRenders the list of input attachments as chips.",
35423
- "return": {
35424
- "type": {
35425
- "text": ""
35426
- }
35427
- }
35771
+ "name": "_renderHeader",
35772
+ "privacy": "private"
35428
35773
  },
35429
35774
  {
35430
35775
  "kind": "method",
35431
- "name": "_renderTextArea",
35432
- "privacy": "private",
35433
- "description": "Default text area template used when no custom template is provided.\nRenders a text area for user input.",
35434
- "return": {
35435
- "type": {
35436
- "text": ""
35437
- }
35438
- }
35776
+ "name": "_renderContent",
35777
+ "privacy": "private"
35439
35778
  },
35440
35779
  {
35441
35780
  "kind": "method",
35442
- "name": "_renderFileUploadButton",
35781
+ "name": "_renderActions",
35443
35782
  "privacy": "private"
35444
35783
  },
35445
35784
  {
35446
35785
  "kind": "method",
35447
- "name": "_renderSendButton",
35448
- "privacy": "private"
35786
+ "name": "_renderActionButton",
35787
+ "privacy": "private",
35788
+ "parameters": [
35789
+ {
35790
+ "name": "name",
35791
+ "type": {
35792
+ "text": "string"
35793
+ }
35794
+ },
35795
+ {
35796
+ "name": "tooltipMessage",
35797
+ "type": {
35798
+ "text": "string"
35799
+ }
35800
+ }
35801
+ ]
35449
35802
  },
35450
35803
  {
35451
35804
  "kind": "method",
35452
- "name": "_renderActionsArea",
35805
+ "name": "_renderAttachments",
35453
35806
  "privacy": "private"
35454
- }
35455
- ],
35456
- "events": [
35457
- {
35458
- "description": "Fired when the user starts/stops typing",
35459
- "name": "igcTypingChange"
35460
- },
35461
- {
35462
- "description": "Fired when the input area receives focus",
35463
- "name": "igcInputFocus"
35464
- },
35465
- {
35466
- "description": "Fired when the input area loses focus",
35467
- "name": "igcInputBlur"
35468
- },
35469
- {
35470
- "description": "Fired when dragging a file over the input",
35471
- "name": "igcAttachmentDrag"
35472
- },
35473
- {
35474
- "description": "Fired when a file is dropped into the input",
35475
- "name": "igcAttachmentDrop"
35476
35807
  },
35477
35808
  {
35478
- "description": "Fired when file input changes (delegated from `<igc-file-input>`)",
35479
- "name": "igcChange"
35809
+ "kind": "method",
35810
+ "name": "_renderMessage",
35811
+ "privacy": "private"
35480
35812
  }
35481
35813
  ],
35482
35814
  "superclass": {
35483
35815
  "name": "LitElement",
35484
35816
  "package": "lit"
35485
35817
  },
35486
- "tagName": "igc-chat-input",
35818
+ "tagName": "igc-chat-message",
35487
35819
  "customElement": true
35488
35820
  }
35489
35821
  ],
@@ -35492,8 +35824,8 @@
35492
35824
  "kind": "js",
35493
35825
  "name": "default",
35494
35826
  "declaration": {
35495
- "name": "IgcChatInputComponent",
35496
- "module": "src/components/chat/chat-input.ts"
35827
+ "name": "IgcChatMessageComponent",
35828
+ "module": "src/components/chat/chat-message.ts"
35497
35829
  }
35498
35830
  }
35499
35831
  ]
@@ -35704,6 +36036,10 @@
35704
36036
  {
35705
36037
  "description": "Slot shown when there are no messages.",
35706
36038
  "name": "empty-state"
36039
+ },
36040
+ {
36041
+ "description": "Slot for the \"is typing\" indicator.",
36042
+ "name": "typing-indicator"
35707
36043
  }
35708
36044
  ],
35709
36045
  "members": [
@@ -44226,360 +44562,255 @@
44226
44562
  {
44227
44563
  "kind": "class",
44228
44564
  "description": "",
44229
- "name": "NavigationController",
44565
+ "name": "ComboNavigationController",
44230
44566
  "members": [
44231
44567
  {
44232
44568
  "kind": "field",
44233
- "name": "hostHandlers",
44234
- "privacy": "protected",
44235
- "default": "new Map( Object.entries({ Escape: this.escape, }) )"
44236
- },
44237
- {
44238
- "kind": "field",
44239
- "name": "mainInputHandlers",
44240
- "privacy": "protected",
44241
- "default": "new Map( Object.entries({ Escape: this.escape, ArrowUp: this.hide, ArrowDown: this.mainInputArrowDown, Tab: this.tab, Enter: this.enter, }) )"
44242
- },
44243
- {
44244
- "kind": "field",
44245
- "name": "searchInputHandlers",
44246
- "privacy": "protected",
44247
- "default": "new Map( Object.entries({ Escape: this.escape, ArrowUp: this.escape, ArrowDown: this.inputArrowDown, Tab: this.inputArrowDown, }) )"
44569
+ "name": "_active",
44570
+ "type": {
44571
+ "text": "number"
44572
+ },
44573
+ "privacy": "private",
44574
+ "default": "-1"
44248
44575
  },
44249
44576
  {
44250
44577
  "kind": "field",
44251
- "name": "listHandlers",
44252
- "privacy": "protected",
44253
- "default": "new Map( Object.entries({ ArrowDown: this.arrowDown, ArrowUp: this.arrowUp, ' ': this.space, Enter: this.enter, Escape: this.escape, Tab: this.tab, Home: this.home, End: this.end, }) )"
44578
+ "name": "_config",
44579
+ "type": {
44580
+ "text": "ComboNavigationConfig"
44581
+ },
44582
+ "privacy": "private",
44583
+ "default": "config"
44254
44584
  },
44255
44585
  {
44256
44586
  "kind": "field",
44257
- "name": "_active",
44258
- "privacy": "protected",
44259
- "default": "-1",
44587
+ "name": "active",
44260
44588
  "type": {
44261
- "text": "Readonly<number>"
44262
- }
44589
+ "text": "number"
44590
+ },
44591
+ "privacy": "public"
44263
44592
  },
44264
44593
  {
44265
44594
  "kind": "field",
44266
44595
  "name": "input",
44596
+ "type": {
44597
+ "text": "IgcInputComponent"
44598
+ },
44267
44599
  "privacy": "public",
44268
44600
  "readonly": true
44269
44601
  },
44270
44602
  {
44271
44603
  "kind": "field",
44272
- "name": "dataState",
44273
- "privacy": "public",
44274
- "readonly": true
44275
- },
44276
- {
44277
- "kind": "method",
44278
- "name": "show",
44279
- "privacy": "public"
44280
- },
44281
- {
44282
- "kind": "method",
44283
- "name": "hide",
44284
- "privacy": "public"
44285
- },
44286
- {
44287
- "kind": "method",
44288
- "name": "toggleSelect",
44289
- "privacy": "public",
44290
- "parameters": [
44291
- {
44292
- "name": "index",
44293
- "type": {
44294
- "text": "number"
44295
- }
44296
- }
44297
- ]
44298
- },
44299
- {
44300
- "kind": "method",
44301
- "name": "select",
44604
+ "name": "searchInput",
44605
+ "type": {
44606
+ "text": "IgcInputComponent"
44607
+ },
44302
44608
  "privacy": "public",
44303
- "parameters": [
44304
- {
44305
- "name": "index",
44306
- "type": {
44307
- "text": "number"
44308
- }
44309
- }
44310
- ]
44311
- },
44312
- {
44313
- "kind": "field",
44314
- "name": "currentItem",
44315
- "privacy": "protected",
44316
44609
  "readonly": true
44317
44610
  },
44318
44611
  {
44319
44612
  "kind": "field",
44320
- "name": "firstItem",
44321
- "privacy": "protected",
44613
+ "name": "list",
44614
+ "type": {
44615
+ "text": "IgcComboListComponent"
44616
+ },
44617
+ "privacy": "public",
44322
44618
  "readonly": true
44323
44619
  },
44324
44620
  {
44325
44621
  "kind": "field",
44326
- "name": "lastItem",
44622
+ "name": "_firstItem",
44623
+ "type": {
44624
+ "text": "number"
44625
+ },
44327
44626
  "privacy": "protected",
44328
44627
  "readonly": true
44329
44628
  },
44330
44629
  {
44331
- "kind": "method",
44332
- "name": "scrollToActive",
44333
- "privacy": "protected",
44334
- "parameters": [
44335
- {
44336
- "name": "container",
44337
- "type": {
44338
- "text": "IgcComboListComponent"
44339
- }
44340
- },
44341
- {
44342
- "name": "behavior",
44343
- "default": "'auto'",
44344
- "type": {
44345
- "text": "ScrollBehavior"
44346
- }
44347
- }
44348
- ]
44349
- },
44350
- {
44351
- "kind": "field",
44352
- "name": "active",
44353
- "privacy": "public"
44354
- },
44355
- {
44356
- "kind": "method",
44357
- "name": "home",
44358
- "privacy": "protected",
44359
- "parameters": [
44360
- {
44361
- "name": "container",
44362
- "type": {
44363
- "text": "IgcComboListComponent"
44364
- }
44365
- }
44366
- ]
44367
- },
44368
- {
44369
- "kind": "method",
44370
- "name": "end",
44371
- "privacy": "protected",
44372
- "parameters": [
44373
- {
44374
- "name": "container",
44375
- "type": {
44376
- "text": "IgcComboListComponent"
44377
- }
44378
- }
44379
- ]
44380
- },
44381
- {
44382
- "kind": "method",
44383
- "name": "space",
44384
- "privacy": "protected"
44630
+ "kind": "field",
44631
+ "name": "_lastItem",
44632
+ "type": {
44633
+ "text": "number"
44634
+ },
44635
+ "privacy": "protected",
44636
+ "readonly": true
44385
44637
  },
44386
44638
  {
44387
44639
  "kind": "method",
44388
- "name": "escape",
44389
- "privacy": "protected"
44640
+ "name": "_hide",
44641
+ "privacy": "protected",
44642
+ "return": {
44643
+ "type": {
44644
+ "text": "Promise<boolean>"
44645
+ }
44646
+ }
44390
44647
  },
44391
44648
  {
44392
44649
  "kind": "method",
44393
- "name": "enter",
44394
- "privacy": "protected"
44650
+ "name": "_show",
44651
+ "privacy": "protected",
44652
+ "return": {
44653
+ "type": {
44654
+ "text": "Promise<boolean>"
44655
+ }
44656
+ }
44395
44657
  },
44396
44658
  {
44397
44659
  "kind": "method",
44398
- "name": "inputArrowDown",
44660
+ "name": "_toggleSelection",
44399
44661
  "privacy": "protected",
44662
+ "return": {
44663
+ "type": {
44664
+ "text": "void"
44665
+ }
44666
+ },
44400
44667
  "parameters": [
44401
44668
  {
44402
- "name": "container",
44669
+ "name": "index",
44403
44670
  "type": {
44404
- "text": "IgcComboListComponent"
44671
+ "text": "number"
44405
44672
  }
44406
44673
  }
44407
44674
  ]
44408
44675
  },
44409
44676
  {
44410
44677
  "kind": "method",
44411
- "name": "mainInputArrowDown",
44678
+ "name": "_select",
44412
44679
  "privacy": "protected",
44680
+ "return": {
44681
+ "type": {
44682
+ "text": "void"
44683
+ }
44684
+ },
44413
44685
  "parameters": [
44414
44686
  {
44415
- "name": "container",
44687
+ "name": "index",
44416
44688
  "type": {
44417
- "text": "IgcComboListComponent"
44689
+ "text": "number"
44418
44690
  }
44419
44691
  }
44420
44692
  ]
44421
44693
  },
44422
44694
  {
44423
- "kind": "method",
44424
- "name": "tab",
44425
- "privacy": "protected"
44695
+ "kind": "field",
44696
+ "name": "_onSpace",
44697
+ "privacy": "private"
44426
44698
  },
44427
44699
  {
44428
- "kind": "method",
44429
- "name": "arrowDown",
44430
- "privacy": "protected",
44431
- "parameters": [
44432
- {
44433
- "name": "container",
44434
- "type": {
44435
- "text": "IgcComboListComponent"
44436
- }
44437
- }
44438
- ]
44700
+ "kind": "field",
44701
+ "name": "_onEnter",
44702
+ "privacy": "private"
44439
44703
  },
44440
44704
  {
44441
- "kind": "method",
44442
- "name": "arrowUp",
44443
- "privacy": "protected",
44444
- "parameters": [
44445
- {
44446
- "name": "container",
44447
- "type": {
44448
- "text": "IgcComboListComponent"
44449
- }
44450
- }
44451
- ]
44705
+ "kind": "field",
44706
+ "name": "_onTab",
44707
+ "privacy": "private"
44452
44708
  },
44453
44709
  {
44454
- "kind": "method",
44455
- "name": "getNextItem",
44456
- "privacy": "protected",
44457
- "parameters": [
44458
- {
44459
- "name": "direction",
44460
- "type": {
44461
- "text": "DIRECTION"
44462
- }
44463
- }
44464
- ]
44710
+ "kind": "field",
44711
+ "name": "_onEscape",
44712
+ "privacy": "private"
44465
44713
  },
44466
44714
  {
44467
- "kind": "method",
44468
- "name": "getNearestItem",
44469
- "privacy": "protected",
44470
- "parameters": [
44471
- {
44472
- "name": "startIndex",
44473
- "type": {
44474
- "text": "number"
44475
- }
44476
- },
44477
- {
44478
- "name": "direction",
44479
- "type": {
44480
- "text": "number"
44481
- }
44482
- }
44483
- ]
44715
+ "kind": "field",
44716
+ "name": "_onMainInputArrowDown",
44717
+ "privacy": "private"
44484
44718
  },
44485
44719
  {
44486
- "kind": "method",
44487
- "name": "hostConnected",
44488
- "privacy": "public"
44720
+ "kind": "field",
44721
+ "name": "_onSearchArrowDown",
44722
+ "privacy": "private"
44489
44723
  },
44490
44724
  {
44491
- "kind": "method",
44492
- "name": "hostDisconnected",
44493
- "privacy": "public"
44725
+ "kind": "field",
44726
+ "name": "_onHome",
44727
+ "privacy": "private"
44494
44728
  },
44495
44729
  {
44496
- "kind": "method",
44497
- "name": "navigateTo",
44498
- "privacy": "public",
44499
- "parameters": [
44500
- {
44501
- "name": "item",
44502
- "type": {
44503
- "text": "T"
44504
- }
44505
- },
44506
- {
44507
- "name": "container",
44508
- "type": {
44509
- "text": "IgcComboListComponent"
44510
- }
44511
- }
44512
- ]
44730
+ "kind": "field",
44731
+ "name": "_onEnd",
44732
+ "privacy": "private"
44733
+ },
44734
+ {
44735
+ "kind": "field",
44736
+ "name": "_onArrowUp",
44737
+ "privacy": "private"
44738
+ },
44739
+ {
44740
+ "kind": "field",
44741
+ "name": "_onArrowDown",
44742
+ "privacy": "private"
44513
44743
  },
44514
44744
  {
44515
44745
  "kind": "method",
44516
- "name": "navigateHost",
44517
- "privacy": "public",
44746
+ "name": "_scrollToActive",
44747
+ "privacy": "private",
44748
+ "return": {
44749
+ "type": {
44750
+ "text": "void"
44751
+ }
44752
+ },
44518
44753
  "parameters": [
44519
44754
  {
44520
- "name": "event",
44755
+ "name": "behavior",
44756
+ "optional": true,
44521
44757
  "type": {
44522
- "text": "KeyboardEvent"
44758
+ "text": "ScrollBehavior"
44523
44759
  }
44524
44760
  }
44525
44761
  ]
44526
44762
  },
44527
44763
  {
44528
44764
  "kind": "method",
44529
- "name": "navigateMainInput",
44530
- "privacy": "public",
44765
+ "name": "_getNearestItem",
44766
+ "privacy": "private",
44767
+ "return": {
44768
+ "type": {
44769
+ "text": "number"
44770
+ }
44771
+ },
44531
44772
  "parameters": [
44532
44773
  {
44533
- "name": "event",
44774
+ "name": "start",
44534
44775
  "type": {
44535
- "text": "KeyboardEvent"
44776
+ "text": "number"
44536
44777
  }
44537
44778
  },
44538
44779
  {
44539
- "name": "container",
44780
+ "name": "delta",
44540
44781
  "type": {
44541
- "text": "IgcComboListComponent"
44782
+ "text": "-1 | 1"
44542
44783
  }
44543
44784
  }
44544
44785
  ]
44545
44786
  },
44546
44787
  {
44547
44788
  "kind": "method",
44548
- "name": "navigateSearchInput",
44549
- "privacy": "public",
44789
+ "name": "_getNextItem",
44790
+ "privacy": "private",
44791
+ "return": {
44792
+ "type": {
44793
+ "text": "void"
44794
+ }
44795
+ },
44550
44796
  "parameters": [
44551
44797
  {
44552
- "name": "event",
44553
- "type": {
44554
- "text": "KeyboardEvent"
44555
- }
44556
- },
44557
- {
44558
- "name": "container",
44798
+ "name": "delta",
44559
44799
  "type": {
44560
- "text": "IgcComboListComponent"
44800
+ "text": "-1 | 1"
44561
44801
  }
44562
44802
  }
44563
44803
  ]
44564
44804
  },
44565
44805
  {
44566
44806
  "kind": "method",
44567
- "name": "navigateList",
44807
+ "name": "hostDisconnected",
44568
44808
  "privacy": "public",
44569
- "parameters": [
44570
- {
44571
- "name": "event",
44572
- "type": {
44573
- "text": "KeyboardEvent"
44574
- }
44575
- },
44576
- {
44577
- "name": "container",
44578
- "type": {
44579
- "text": "IgcComboListComponent"
44580
- }
44809
+ "return": {
44810
+ "type": {
44811
+ "text": "void"
44581
44812
  }
44582
- ]
44813
+ }
44583
44814
  }
44584
44815
  ]
44585
44816
  }
@@ -44587,9 +44818,9 @@
44587
44818
  "exports": [
44588
44819
  {
44589
44820
  "kind": "js",
44590
- "name": "NavigationController",
44821
+ "name": "ComboNavigationController",
44591
44822
  "declaration": {
44592
- "name": "NavigationController",
44823
+ "name": "ComboNavigationController",
44593
44824
  "module": "src/components/combo/controllers/navigation.ts"
44594
44825
  }
44595
44826
  }
@@ -44999,6 +45230,10 @@
44999
45230
  "description": "Renders a container after the list of options of the combo.",
45000
45231
  "name": "footer"
45001
45232
  },
45233
+ {
45234
+ "description": "Renders content when the combo dropdown list has no items/data.",
45235
+ "name": "empty"
45236
+ },
45002
45237
  {
45003
45238
  "description": "Renders content below the input of the combo.",
45004
45239
  "name": "helper-text"
@@ -45055,6 +45290,24 @@
45055
45290
  "module": "src/components/common/mixins/forms/associated.ts"
45056
45291
  }
45057
45292
  },
45293
+ {
45294
+ "kind": "field",
45295
+ "name": "_inputRef",
45296
+ "privacy": "private",
45297
+ "description": "The primary input of the combo component."
45298
+ },
45299
+ {
45300
+ "kind": "field",
45301
+ "name": "_searchRef",
45302
+ "privacy": "private",
45303
+ "description": "The search input of the combo component."
45304
+ },
45305
+ {
45306
+ "kind": "field",
45307
+ "name": "_listRef",
45308
+ "privacy": "private",
45309
+ "description": "The combo virtualized dropdown list."
45310
+ },
45058
45311
  {
45059
45312
  "kind": "field",
45060
45313
  "name": "_rootClickController",
@@ -45185,7 +45438,7 @@
45185
45438
  "kind": "field",
45186
45439
  "name": "_navigation",
45187
45440
  "privacy": "protected",
45188
- "default": "new NavigationController<T>(this, this._state)"
45441
+ "default": "new ComboNavigationController(this, this._state, { input: this._inputRef, search: this._searchRef, list: this._listRef, })"
45189
45442
  },
45190
45443
  {
45191
45444
  "kind": "field",
@@ -45203,30 +45456,6 @@
45203
45456
  },
45204
45457
  "privacy": "protected"
45205
45458
  },
45206
- {
45207
- "kind": "field",
45208
- "name": "_searchInput",
45209
- "type": {
45210
- "text": "IgcInputComponent"
45211
- },
45212
- "privacy": "protected"
45213
- },
45214
- {
45215
- "kind": "field",
45216
- "name": "_input",
45217
- "type": {
45218
- "text": "IgcInputComponent"
45219
- },
45220
- "privacy": "private"
45221
- },
45222
- {
45223
- "kind": "field",
45224
- "name": "_list",
45225
- "type": {
45226
- "text": "IgcComboListComponent"
45227
- },
45228
- "privacy": "private"
45229
- },
45230
45459
  {
45231
45460
  "kind": "field",
45232
45461
  "name": "data",
@@ -45763,19 +45992,6 @@
45763
45992
  },
45764
45993
  "privacy": "protected"
45765
45994
  },
45766
- {
45767
- "kind": "method",
45768
- "name": "listKeydownHandler",
45769
- "privacy": "protected",
45770
- "parameters": [
45771
- {
45772
- "name": "event",
45773
- "type": {
45774
- "text": "KeyboardEvent"
45775
- }
45776
- }
45777
- ]
45778
- },
45779
45995
  {
45780
45996
  "kind": "method",
45781
45997
  "name": "itemClickHandler",
@@ -45833,32 +46049,6 @@
45833
46049
  }
45834
46050
  ]
45835
46051
  },
45836
- {
45837
- "kind": "method",
45838
- "name": "handleMainInputKeydown",
45839
- "privacy": "protected",
45840
- "parameters": [
45841
- {
45842
- "name": "e",
45843
- "type": {
45844
- "text": "KeyboardEvent"
45845
- }
45846
- }
45847
- ]
45848
- },
45849
- {
45850
- "kind": "method",
45851
- "name": "handleSearchInputKeydown",
45852
- "privacy": "protected",
45853
- "parameters": [
45854
- {
45855
- "name": "e",
45856
- "type": {
45857
- "text": "KeyboardEvent"
45858
- }
45859
- }
45860
- ]
45861
- },
45862
46052
  {
45863
46053
  "kind": "method",
45864
46054
  "name": "toggleCaseSensitivity",