@progress/kendo-angular-buttons 7.0.6 → 8.0.0-dev.202204190655

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 (270) hide show
  1. package/bundles/kendo-angular-buttons.umd.js +5 -0
  2. package/{dist/es2015/button → button}/button.directive.d.ts +64 -62
  3. package/{dist/es2015/button → button}/button.module.d.ts +5 -0
  4. package/{dist/es2015/button → button}/button.service.d.ts +3 -0
  5. package/{dist/es2015/button → button}/selection-settings.d.ts +0 -0
  6. package/{dist/es2015/buttongroup → buttongroup}/buttongroup.component.d.ts +14 -11
  7. package/{dist/es2015/buttongroup → buttongroup}/buttongroup.module.d.ts +7 -0
  8. package/{dist/es2015/buttons.module.d.ts → buttons.module.d.ts} +10 -0
  9. package/{dist/es2015/chip → chip}/chip-content-click-event-args.interface.d.ts +0 -0
  10. package/{dist/es2015/chip → chip}/chip-list-remove-event-args.interface.d.ts +0 -0
  11. package/{dist/es2015/chip → chip}/chip-list.component.d.ts +8 -4
  12. package/{dist/es2015/chip → chip}/chip-remove-event-args.interface.d.ts +0 -0
  13. package/{dist/es2015/chip → chip}/chip.component.d.ts +39 -33
  14. package/{dist/es2015/chip → chip}/chip.module.d.ts +7 -0
  15. package/{dist/es2015/chip → chip}/models/selection.d.ts +0 -0
  16. package/{dist/es2015/common → common}/models/fillmode.d.ts +2 -2
  17. package/{dist/es2015/common → common}/models/rounded.d.ts +2 -2
  18. package/{dist/es2015/common → common}/models/size.d.ts +3 -3
  19. package/{dist/es2015/common → common}/models/styling-classes.d.ts +0 -0
  20. package/{dist/es2015/common → common}/models/theme-color.d.ts +3 -3
  21. package/{dist/es2015/common → common}/models.d.ts +0 -1
  22. package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
  23. package/{dist/es2015/dropdownbutton → dropdownbutton}/dropdownbutton.component.d.ts +37 -38
  24. package/dropdownbutton/dropdownbutton.module.d.ts +23 -0
  25. package/{dist/es2015 → esm2015}/button/button.directive.js +145 -215
  26. package/{dist/es2015 → esm2015}/button/button.module.js +13 -10
  27. package/{dist/es2015 → esm2015}/button/button.service.js +8 -10
  28. package/{dist/es → esm2015}/button/selection-settings.js +1 -0
  29. package/{dist/es2015 → esm2015}/buttongroup/buttongroup.component.js +88 -111
  30. package/esm2015/buttongroup/buttongroup.module.js +30 -0
  31. package/{dist/es → esm2015}/buttons.module.js +12 -12
  32. package/{dist/es2015 → esm2015}/chip/chip-content-click-event-args.interface.js +1 -0
  33. package/{dist/es2015 → esm2015}/chip/chip-list-remove-event-args.interface.js +1 -0
  34. package/{dist/es2015 → esm2015}/chip/chip-list.component.js +62 -73
  35. package/{dist/es2015 → esm2015}/chip/chip-remove-event-args.interface.js +1 -0
  36. package/{dist/es2015 → esm2015}/chip/chip.component.js +171 -167
  37. package/{dist/es2015 → esm2015}/chip/chip.module.js +16 -11
  38. package/{dist/es → esm2015}/chip/models/selection.js +1 -0
  39. package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
  40. package/{dist/es → esm2015}/common/models/rounded.js +1 -0
  41. package/{dist/es → esm2015}/common/models/size.js +1 -0
  42. package/{dist/es → esm2015}/common/models/styling-classes.js +1 -0
  43. package/{dist/es → esm2015}/common/models/theme-color.js +1 -0
  44. package/{dist/es → esm2015}/common/models.js +5 -0
  45. package/{dist/es → esm2015}/direction.js +1 -0
  46. package/{dist/es2015 → esm2015}/dropdownbutton/dropdownbutton.component.js +185 -214
  47. package/esm2015/dropdownbutton/dropdownbutton.module.js +32 -0
  48. package/{dist/es2015 → esm2015}/floatingactionbutton/animations/animations.js +0 -0
  49. package/esm2015/floatingactionbutton/dial-item.component.js +127 -0
  50. package/esm2015/floatingactionbutton/dial-list.component.js +90 -0
  51. package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.component.js +205 -210
  52. package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.module.js +19 -11
  53. package/{dist/es → esm2015}/floatingactionbutton/models/align.js +1 -0
  54. package/{dist/es → esm2015}/floatingactionbutton/models/item-animation.interface.js +1 -0
  55. package/{dist/es → esm2015}/floatingactionbutton/models/item-click.event.js +1 -0
  56. package/{dist/es → esm2015}/floatingactionbutton/models/item.interface.js +1 -0
  57. package/{dist/es → esm2015}/floatingactionbutton/models/offset.js +1 -0
  58. package/{dist/es → esm2015}/floatingactionbutton/models/position-mode.js +1 -0
  59. package/esm2015/floatingactionbutton/templates/dial-item-template.directive.js +27 -0
  60. package/esm2015/floatingactionbutton/templates/fab-template.directive.js +27 -0
  61. package/{dist/es2015 → esm2015}/floatingactionbutton/utils.js +0 -0
  62. package/{dist/es2015 → esm2015}/focusable/focus.service.js +8 -10
  63. package/{dist/es2015 → esm2015}/focusable/focusable.directive.js +20 -27
  64. package/{dist/es2015/listbutton/list.module.d.ts → esm2015/kendo-angular-buttons.js} +2 -3
  65. package/{dist/es2015 → esm2015}/listbutton/button-item-template.directive.js +12 -12
  66. package/{dist/es2015 → esm2015}/listbutton/list-button.js +30 -37
  67. package/{dist/es → esm2015}/listbutton/list-item-model.js +1 -0
  68. package/esm2015/listbutton/list.component.js +140 -0
  69. package/esm2015/listbutton/list.module.js +39 -0
  70. package/{dist/es → esm2015}/listbutton/popup-settings.js +1 -0
  71. package/esm2015/listbutton/template-context.directive.js +34 -0
  72. package/{dist/es2015 → esm2015}/main.js +7 -0
  73. package/{dist/es → esm2015}/navigation/key-events.js +0 -0
  74. package/{dist/es2015 → esm2015}/navigation/navigation-action.js +1 -0
  75. package/{dist/es2015 → esm2015}/navigation/navigation-config.js +0 -0
  76. package/{dist/es2015 → esm2015}/navigation/navigation.service.js +11 -9
  77. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  78. package/{dist/es2015 → esm2015}/preventable-event.js +0 -0
  79. package/esm2015/splitbutton/localization/custom-messages.component.js +37 -0
  80. package/esm2015/splitbutton/localization/localized-messages.directive.js +36 -0
  81. package/esm2015/splitbutton/localization/messages.js +23 -0
  82. package/{dist/es2015 → esm2015}/splitbutton/splitbutton.component.js +221 -209
  83. package/esm2015/splitbutton/splitbutton.module.js +34 -0
  84. package/{dist/es2015 → esm2015}/util.js +7 -7
  85. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-buttons.js} +1885 -1941
  86. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/animations/animations.d.ts +0 -0
  87. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-item.component.d.ts +8 -5
  88. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-list.component.d.ts +5 -2
  89. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.component.d.ts +50 -51
  90. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.module.d.ts +13 -0
  91. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/align.d.ts +0 -0
  92. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-animation.interface.d.ts +0 -0
  93. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-click.event.d.ts +0 -0
  94. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item.interface.d.ts +0 -0
  95. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/offset.d.ts +0 -0
  96. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/position-mode.d.ts +0 -0
  97. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/dial-item-template.directive.d.ts +3 -0
  98. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/fab-template.directive.d.ts +3 -0
  99. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/utils.d.ts +0 -0
  100. package/{dist/es2015/focusable → focusable}/focus.service.d.ts +5 -1
  101. package/{dist/es2015/focusable → focusable}/focusable.directive.d.ts +4 -2
  102. package/{dist/es2015/common/models/shape.d.ts → kendo-angular-buttons.d.ts} +3 -3
  103. package/{dist/es2015/listbutton → listbutton}/button-item-template.directive.d.ts +3 -0
  104. package/{dist/es2015/listbutton → listbutton}/list-button.d.ts +7 -13
  105. package/{dist/es2015/listbutton → listbutton}/list-item-model.d.ts +0 -0
  106. package/{dist/es2015/listbutton → listbutton}/list.component.d.ts +4 -1
  107. package/listbutton/list.module.d.ts +18 -0
  108. package/{dist/es2015/listbutton → listbutton}/popup-settings.d.ts +0 -0
  109. package/{dist/es2015/listbutton → listbutton}/template-context.directive.d.ts +4 -1
  110. package/{dist/es2015/main.d.ts → main.d.ts} +7 -1
  111. package/{dist/es2015/navigation → navigation}/key-events.d.ts +0 -0
  112. package/{dist/es2015/navigation → navigation}/navigation-action.d.ts +0 -0
  113. package/{dist/es2015/navigation → navigation}/navigation-config.d.ts +0 -0
  114. package/{dist/es2015/navigation → navigation}/navigation.service.d.ts +3 -0
  115. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  116. package/package.json +38 -113
  117. package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +0 -0
  118. package/schematics/ngAdd/index.js +5 -2
  119. package/schematics/ngAdd/index.js.map +1 -1
  120. package/{dist/es2015/splitbutton → splitbutton}/localization/custom-messages.component.d.ts +4 -1
  121. package/{dist/es2015/splitbutton → splitbutton}/localization/localized-messages.directive.d.ts +3 -0
  122. package/{dist/es2015/splitbutton → splitbutton}/localization/messages.d.ts +3 -0
  123. package/{dist/es2015/splitbutton → splitbutton}/splitbutton.component.d.ts +39 -27
  124. package/splitbutton/splitbutton.module.d.ts +25 -0
  125. package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
  126. package/dist/cdn/js/kendo-angular-buttons.js +0 -20
  127. package/dist/cdn/main.js +0 -5
  128. package/dist/es/button/button.directive.js +0 -775
  129. package/dist/es/button/button.module.js +0 -50
  130. package/dist/es/button/button.service.js +0 -24
  131. package/dist/es/buttongroup/buttongroup.component.js +0 -353
  132. package/dist/es/buttongroup/buttongroup.module.js +0 -30
  133. package/dist/es/chip/chip-content-click-event-args.interface.js +0 -4
  134. package/dist/es/chip/chip-list-remove-event-args.interface.js +0 -4
  135. package/dist/es/chip/chip-list.component.js +0 -214
  136. package/dist/es/chip/chip-remove-event-args.interface.js +0 -4
  137. package/dist/es/chip/chip.component.js +0 -449
  138. package/dist/es/chip/chip.module.js +0 -55
  139. package/dist/es/common/models/shape.js +0 -4
  140. package/dist/es/dropdownbutton/dropdownbutton.component.js +0 -704
  141. package/dist/es/dropdownbutton/dropdownbutton.module.js +0 -32
  142. package/dist/es/floatingactionbutton/animations/animations.js +0 -33
  143. package/dist/es/floatingactionbutton/dial-item.component.js +0 -143
  144. package/dist/es/floatingactionbutton/dial-list.component.js +0 -76
  145. package/dist/es/floatingactionbutton/floatingactionbutton.component.js +0 -903
  146. package/dist/es/floatingactionbutton/floatingactionbutton.module.js +0 -65
  147. package/dist/es/floatingactionbutton/templates/dial-item-template.directive.js +0 -26
  148. package/dist/es/floatingactionbutton/templates/fab-template.directive.js +0 -26
  149. package/dist/es/floatingactionbutton/utils.js +0 -38
  150. package/dist/es/focusable/focus.service.js +0 -43
  151. package/dist/es/focusable/focusable.directive.js +0 -68
  152. package/dist/es/index.js +0 -22
  153. package/dist/es/listbutton/button-item-template.directive.js +0 -68
  154. package/dist/es/listbutton/list-button.js +0 -243
  155. package/dist/es/listbutton/list.component.js +0 -85
  156. package/dist/es/listbutton/list.module.js +0 -33
  157. package/dist/es/listbutton/template-context.directive.js +0 -40
  158. package/dist/es/main.js +0 -22
  159. package/dist/es/navigation/navigation-action.js +0 -19
  160. package/dist/es/navigation/navigation-config.js +0 -9
  161. package/dist/es/navigation/navigation.service.js +0 -114
  162. package/dist/es/package-metadata.js +0 -15
  163. package/dist/es/preventable-event.js +0 -29
  164. package/dist/es/splitbutton/localization/custom-messages.component.js +0 -44
  165. package/dist/es/splitbutton/localization/localized-messages.directive.js +0 -35
  166. package/dist/es/splitbutton/localization/messages.js +0 -22
  167. package/dist/es/splitbutton/splitbutton.component.js +0 -830
  168. package/dist/es/splitbutton/splitbutton.module.js +0 -34
  169. package/dist/es/util.js +0 -108
  170. package/dist/es2015/button/selection-settings.js +0 -4
  171. package/dist/es2015/buttongroup/buttongroup.module.js +0 -27
  172. package/dist/es2015/buttons.module.js +0 -51
  173. package/dist/es2015/chip/models/selection.js +0 -4
  174. package/dist/es2015/common/models/fillmode.js +0 -4
  175. package/dist/es2015/common/models/rounded.js +0 -4
  176. package/dist/es2015/common/models/shape.js +0 -4
  177. package/dist/es2015/common/models/size.js +0 -4
  178. package/dist/es2015/common/models/styling-classes.js +0 -4
  179. package/dist/es2015/common/models/theme-color.js +0 -4
  180. package/dist/es2015/common/models.js +0 -4
  181. package/dist/es2015/direction.js +0 -4
  182. package/dist/es2015/dropdownbutton/dropdownbutton.module.d.ts +0 -14
  183. package/dist/es2015/dropdownbutton/dropdownbutton.module.js +0 -29
  184. package/dist/es2015/floatingactionbutton/dial-item.component.js +0 -133
  185. package/dist/es2015/floatingactionbutton/dial-list.component.js +0 -81
  186. package/dist/es2015/floatingactionbutton/models/align.js +0 -4
  187. package/dist/es2015/floatingactionbutton/models/item-animation.interface.js +0 -4
  188. package/dist/es2015/floatingactionbutton/models/item-click.event.js +0 -4
  189. package/dist/es2015/floatingactionbutton/models/item.interface.js +0 -4
  190. package/dist/es2015/floatingactionbutton/models/offset.js +0 -4
  191. package/dist/es2015/floatingactionbutton/models/position-mode.js +0 -4
  192. package/dist/es2015/floatingactionbutton/templates/dial-item-template.directive.js +0 -25
  193. package/dist/es2015/floatingactionbutton/templates/fab-template.directive.js +0 -25
  194. package/dist/es2015/index.d.ts +0 -22
  195. package/dist/es2015/index.js +0 -22
  196. package/dist/es2015/index.metadata.json +0 -1
  197. package/dist/es2015/listbutton/list-item-model.js +0 -4
  198. package/dist/es2015/listbutton/list.component.js +0 -115
  199. package/dist/es2015/listbutton/list.module.js +0 -30
  200. package/dist/es2015/listbutton/popup-settings.js +0 -4
  201. package/dist/es2015/listbutton/template-context.directive.js +0 -35
  202. package/dist/es2015/navigation/key-events.js +0 -13
  203. package/dist/es2015/splitbutton/localization/custom-messages.component.js +0 -36
  204. package/dist/es2015/splitbutton/localization/localized-messages.directive.js +0 -31
  205. package/dist/es2015/splitbutton/localization/messages.js +0 -16
  206. package/dist/es2015/splitbutton/splitbutton.module.d.ts +0 -14
  207. package/dist/es2015/splitbutton/splitbutton.module.js +0 -31
  208. package/dist/fesm5/index.js +0 -5577
  209. package/dist/npm/button/button.directive.js +0 -777
  210. package/dist/npm/button/button.module.js +0 -52
  211. package/dist/npm/button/button.service.js +0 -26
  212. package/dist/npm/button/selection-settings.js +0 -6
  213. package/dist/npm/buttongroup/buttongroup.component.js +0 -355
  214. package/dist/npm/buttongroup/buttongroup.module.js +0 -32
  215. package/dist/npm/buttons.module.js +0 -56
  216. package/dist/npm/chip/chip-content-click-event-args.interface.js +0 -6
  217. package/dist/npm/chip/chip-list-remove-event-args.interface.js +0 -6
  218. package/dist/npm/chip/chip-list.component.js +0 -216
  219. package/dist/npm/chip/chip-remove-event-args.interface.js +0 -6
  220. package/dist/npm/chip/chip.component.js +0 -451
  221. package/dist/npm/chip/chip.module.js +0 -57
  222. package/dist/npm/chip/models/selection.js +0 -6
  223. package/dist/npm/common/models/fillmode.js +0 -6
  224. package/dist/npm/common/models/rounded.js +0 -6
  225. package/dist/npm/common/models/shape.js +0 -6
  226. package/dist/npm/common/models/size.js +0 -6
  227. package/dist/npm/common/models/styling-classes.js +0 -6
  228. package/dist/npm/common/models/theme-color.js +0 -6
  229. package/dist/npm/common/models.js +0 -6
  230. package/dist/npm/direction.js +0 -6
  231. package/dist/npm/dropdownbutton/dropdownbutton.component.js +0 -706
  232. package/dist/npm/dropdownbutton/dropdownbutton.module.js +0 -34
  233. package/dist/npm/floatingactionbutton/animations/animations.js +0 -37
  234. package/dist/npm/floatingactionbutton/dial-item.component.js +0 -145
  235. package/dist/npm/floatingactionbutton/dial-list.component.js +0 -78
  236. package/dist/npm/floatingactionbutton/floatingactionbutton.component.js +0 -905
  237. package/dist/npm/floatingactionbutton/floatingactionbutton.module.js +0 -67
  238. package/dist/npm/floatingactionbutton/models/align.js +0 -6
  239. package/dist/npm/floatingactionbutton/models/item-animation.interface.js +0 -6
  240. package/dist/npm/floatingactionbutton/models/item-click.event.js +0 -6
  241. package/dist/npm/floatingactionbutton/models/item.interface.js +0 -6
  242. package/dist/npm/floatingactionbutton/models/offset.js +0 -6
  243. package/dist/npm/floatingactionbutton/models/position-mode.js +0 -6
  244. package/dist/npm/floatingactionbutton/templates/dial-item-template.directive.js +0 -28
  245. package/dist/npm/floatingactionbutton/templates/fab-template.directive.js +0 -28
  246. package/dist/npm/floatingactionbutton/utils.js +0 -42
  247. package/dist/npm/focusable/focus.service.js +0 -45
  248. package/dist/npm/focusable/focusable.directive.js +0 -70
  249. package/dist/npm/index.js +0 -39
  250. package/dist/npm/listbutton/button-item-template.directive.js +0 -70
  251. package/dist/npm/listbutton/list-button.js +0 -245
  252. package/dist/npm/listbutton/list-item-model.js +0 -6
  253. package/dist/npm/listbutton/list.component.js +0 -87
  254. package/dist/npm/listbutton/list.module.js +0 -35
  255. package/dist/npm/listbutton/popup-settings.js +0 -6
  256. package/dist/npm/listbutton/template-context.directive.js +0 -42
  257. package/dist/npm/main.js +0 -45
  258. package/dist/npm/navigation/key-events.js +0 -15
  259. package/dist/npm/navigation/navigation-action.js +0 -21
  260. package/dist/npm/navigation/navigation-config.js +0 -11
  261. package/dist/npm/navigation/navigation.service.js +0 -116
  262. package/dist/npm/package-metadata.js +0 -17
  263. package/dist/npm/preventable-event.js +0 -31
  264. package/dist/npm/splitbutton/localization/custom-messages.component.js +0 -46
  265. package/dist/npm/splitbutton/localization/localized-messages.directive.js +0 -37
  266. package/dist/npm/splitbutton/localization/messages.js +0 -24
  267. package/dist/npm/splitbutton/splitbutton.component.js +0 -832
  268. package/dist/npm/splitbutton/splitbutton.module.js +0 -36
  269. package/dist/npm/util.js +0 -111
  270. package/dist/systemjs/kendo-angular-buttons.js +0 -5
@@ -2,29 +2,33 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- /* tslint:disable:no-access-missing-member */
7
- import { Component, ContentChild, TemplateRef, ViewChild, ViewContainerRef, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, NgZone, ChangeDetectorRef } from '@angular/core';
5
+ import { Component, ContentChild, ViewChild, ViewContainerRef, EventEmitter, HostBinding, HostListener, Input, Output } from '@angular/core';
8
6
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
9
- import { PopupService } from '@progress/kendo-angular-popup';
10
7
  import { isDocumentAvailable, guid, Keys, isChanged } from '@progress/kendo-angular-common';
11
8
  import { ButtonItemTemplateDirective } from '../listbutton/button-item-template.directive';
12
9
  import { isPresent, tick } from '../util';
13
10
  import { ListButton } from '../listbutton/list-button';
14
- import { ListComponent } from '../listbutton/list.component';
15
11
  import { FocusService } from '../focusable/focus.service';
16
12
  import { NavigationService } from '../navigation/navigation.service';
17
13
  import { NAVIGATION_CONFIG } from '../navigation/navigation-config';
18
14
  import { PreventableEvent } from '../preventable-event';
19
- import { merge } from 'rxjs';
15
+ import { merge, Subscription } from 'rxjs';
16
+ import * as i0 from "@angular/core";
17
+ import * as i1 from "../focusable/focus.service";
18
+ import * as i2 from "../navigation/navigation.service";
19
+ import * as i3 from "@progress/kendo-angular-popup";
20
+ import * as i4 from "@progress/kendo-angular-l10n";
21
+ import * as i5 from "../listbutton/list.component";
22
+ import * as i6 from "../button/button.directive";
23
+ import * as i7 from "@angular/common";
20
24
  const NAVIGATION_SETTINGS = {
21
25
  useLeftRightArrows: true
22
26
  };
23
- const ɵ0 = NAVIGATION_SETTINGS;
24
27
  const NAVIGATION_SETTINGS_PROVIDER = {
25
28
  provide: NAVIGATION_CONFIG,
26
- useValue: ɵ0
29
+ useValue: NAVIGATION_SETTINGS
27
30
  };
31
+ const DEFAULT_FILL_MODE = 'solid';
28
32
  /**
29
33
  * Represents the Kendo UI DropDownButton component for Angular.
30
34
  *
@@ -53,7 +57,7 @@ const NAVIGATION_SETTINGS_PROVIDER = {
53
57
  * }
54
58
  * ```
55
59
  */
56
- let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
60
+ export class DropDownButtonComponent extends ListButton {
57
61
  constructor(focusService, navigationService, wrapperRef, zone, popupService, elRef, localization, cdr) {
58
62
  super(focusService, navigationService, wrapperRef, zone, localization, cdr);
59
63
  this.popupService = popupService;
@@ -75,32 +79,22 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
75
79
  * ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
76
80
  *
77
81
  * The possible values are:
78
- * * `'small'`
79
- * * `'medium'` (default)
80
- * * `'large'`
81
- * * `null`
82
+ * * `small`
83
+ * * `medium` (default)
84
+ * * `large`
85
+ * * `none`
82
86
  */
83
87
  this.size = 'medium';
84
- /**
85
- * The shape property specifies if the DropDownButton will be a square or rectangle.
86
- * ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-shape)).
87
- *
88
- * The possible values are:
89
- * * `'rectangle'` (default)
90
- * * `'square'`
91
- * * `null`
92
- */
93
- this.shape = 'rectangle';
94
88
  /**
95
89
  * The rounded property specifies the border radius of the DropDownButton
96
90
  * ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-rounded)).
97
91
  *
98
92
  * The possible values are:
99
- * * `'small'`
100
- * * `'medium'` (default)
101
- * * `'large'`
102
- * * `'full'`
103
- * * `null`
93
+ * * `small`
94
+ * * `medium` (default)
95
+ * * `large`
96
+ * * `full`
97
+ * * `none`
104
98
  */
105
99
  this.rounded = 'medium';
106
100
  /**
@@ -120,7 +114,7 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
120
114
  * * `dark`— Applies coloring based on the `dark` theme color.
121
115
  * * `light`— Applies coloring based on the `light` theme color.
122
116
  * * `inverse`— Applies coloring based on the `inverse` theme color.
123
- * * `null` —Removes the default CSS class (no class would be rendered).
117
+ * * `none` —Removes the default CSS class (no class would be rendered).
124
118
  */
125
119
  this.themeColor = 'base';
126
120
  /**
@@ -144,13 +138,14 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
144
138
  /**
145
139
  * Fires each time the DropDownButton gets focused.
146
140
  */
147
- this.onFocus = new EventEmitter(); //tslint:disable-line:no-output-rename
141
+ this.onFocus = new EventEmitter();
148
142
  /**
149
143
  * Fires each time the DropDownButton gets blurred.
150
144
  */
151
- this.onBlur = new EventEmitter(); //tslint:disable-line:no-output-rename
145
+ this.onBlur = new EventEmitter();
152
146
  this.listId = guid();
153
- this._fillMode = 'solid';
147
+ this._fillMode = DEFAULT_FILL_MODE;
148
+ this.popupSubs = new Subscription();
154
149
  this._itemClick = this.itemClick;
155
150
  this._blur = this.onBlur;
156
151
  }
@@ -201,7 +196,7 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
201
196
  * * `flat`
202
197
  * * `outline`
203
198
  * * `link`
204
- * * `null`
199
+ * * `none`
205
200
  */
206
201
  set fillMode(fillMode) {
207
202
  this._fillMode = fillMode === 'clear' ? 'flat' : fillMode;
@@ -402,11 +397,11 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
402
397
  || (this.popupRef && this.popupRef.popupElement.contains(element));
403
398
  }
404
399
  subscribeNavigationEvents() {
405
- this.navigationSubscription = this.navigationService.navigate
406
- .subscribe(this.onArrowKeyNavigate.bind(this));
407
- this.enterUpSubscription = this.navigationService.enterup.subscribe(this.onNavigationEnterUp.bind(this));
408
- this.openSubscription = this.navigationService.open.subscribe(this.onNavigationOpen.bind(this));
409
- this.closeSubscription = merge(this.navigationService.close, this.navigationService.esc).subscribe(this.onNavigationClose.bind(this));
400
+ this.subs.add(this.navigationService.navigate
401
+ .subscribe(this.onArrowKeyNavigate.bind(this)));
402
+ this.subs.add(this.navigationService.enterup.subscribe(this.onNavigationEnterUp.bind(this)));
403
+ this.subs.add(this.navigationService.open.subscribe(this.onNavigationOpen.bind(this)));
404
+ this.subs.add(merge(this.navigationService.close, this.navigationService.esc).subscribe(this.onNavigationClose.bind(this)));
410
405
  }
411
406
  onNavigationEnterUp() {
412
407
  if (!this._disabled && !this.openState) {
@@ -459,176 +454,86 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
459
454
  popupAlign: this.popupAlign,
460
455
  popupClass: this.popupClasses
461
456
  });
462
- this.popupRef.popupAnchorViewportLeave.subscribe(() => this.openState = false);
463
- this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this));
457
+ this.popupSubs.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.openState = false));
458
+ this.popupSubs.add(this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this)));
464
459
  }
465
460
  destroyPopup() {
466
461
  if (this.popupRef) {
467
462
  this.popupRef.close();
468
463
  this.popupRef = null;
464
+ this.popupSubs.unsubscribe();
469
465
  }
470
466
  }
471
- };
472
- tslib_1.__decorate([
473
- Input(),
474
- tslib_1.__metadata("design:type", String)
475
- ], DropDownButtonComponent.prototype, "icon", void 0);
476
- tslib_1.__decorate([
477
- Input(),
478
- tslib_1.__metadata("design:type", String)
479
- ], DropDownButtonComponent.prototype, "iconClass", void 0);
480
- tslib_1.__decorate([
481
- Input(),
482
- tslib_1.__metadata("design:type", String)
483
- ], DropDownButtonComponent.prototype, "imageUrl", void 0);
484
- tslib_1.__decorate([
485
- Input(),
486
- tslib_1.__metadata("design:type", Object),
487
- tslib_1.__metadata("design:paramtypes", [Object])
488
- ], DropDownButtonComponent.prototype, "popupSettings", null);
489
- tslib_1.__decorate([
490
- Input(),
491
- tslib_1.__metadata("design:type", String)
492
- ], DropDownButtonComponent.prototype, "textField", void 0);
493
- tslib_1.__decorate([
494
- Input(),
495
- tslib_1.__metadata("design:type", Boolean),
496
- tslib_1.__metadata("design:paramtypes", [Boolean])
497
- ], DropDownButtonComponent.prototype, "disabled", null);
498
- tslib_1.__decorate([
499
- Input(),
500
- tslib_1.__metadata("design:type", Object),
501
- tslib_1.__metadata("design:paramtypes", [Object])
502
- ], DropDownButtonComponent.prototype, "data", null);
503
- tslib_1.__decorate([
504
- Input(),
505
- tslib_1.__metadata("design:type", String)
506
- ], DropDownButtonComponent.prototype, "size", void 0);
507
- tslib_1.__decorate([
508
- Input(),
509
- tslib_1.__metadata("design:type", String)
510
- ], DropDownButtonComponent.prototype, "shape", void 0);
511
- tslib_1.__decorate([
512
- Input(),
513
- tslib_1.__metadata("design:type", String)
514
- ], DropDownButtonComponent.prototype, "rounded", void 0);
515
- tslib_1.__decorate([
516
- Input(),
517
- tslib_1.__metadata("design:type", String),
518
- tslib_1.__metadata("design:paramtypes", [String])
519
- ], DropDownButtonComponent.prototype, "fillMode", null);
520
- tslib_1.__decorate([
521
- Input(),
522
- tslib_1.__metadata("design:type", String)
523
- ], DropDownButtonComponent.prototype, "themeColor", void 0);
524
- tslib_1.__decorate([
525
- Input(),
526
- tslib_1.__metadata("design:type", Object)
527
- ], DropDownButtonComponent.prototype, "buttonClass", void 0);
528
- tslib_1.__decorate([
529
- Input(),
530
- tslib_1.__metadata("design:type", Number)
531
- ], DropDownButtonComponent.prototype, "tabIndex", void 0);
532
- tslib_1.__decorate([
533
- Output(),
534
- tslib_1.__metadata("design:type", EventEmitter)
535
- ], DropDownButtonComponent.prototype, "itemClick", void 0);
536
- tslib_1.__decorate([
537
- Output(),
538
- tslib_1.__metadata("design:type", EventEmitter)
539
- ], DropDownButtonComponent.prototype, "open", void 0);
540
- tslib_1.__decorate([
541
- Output(),
542
- tslib_1.__metadata("design:type", EventEmitter)
543
- ], DropDownButtonComponent.prototype, "close", void 0);
544
- tslib_1.__decorate([
545
- Output('focus'),
546
- tslib_1.__metadata("design:type", EventEmitter)
547
- ], DropDownButtonComponent.prototype, "onFocus", void 0);
548
- tslib_1.__decorate([
549
- Output('blur'),
550
- tslib_1.__metadata("design:type", EventEmitter)
551
- ], DropDownButtonComponent.prototype, "onBlur", void 0);
552
- tslib_1.__decorate([
553
- HostBinding('class.k-focus'),
554
- tslib_1.__metadata("design:type", Boolean),
555
- tslib_1.__metadata("design:paramtypes", [])
556
- ], DropDownButtonComponent.prototype, "focused", null);
557
- tslib_1.__decorate([
558
- HostBinding('class.k-dropdown-button'),
559
- tslib_1.__metadata("design:type", Boolean),
560
- tslib_1.__metadata("design:paramtypes", [])
561
- ], DropDownButtonComponent.prototype, "widgetClasses", null);
562
- tslib_1.__decorate([
563
- HostBinding('attr.dir'),
564
- tslib_1.__metadata("design:type", String),
565
- tslib_1.__metadata("design:paramtypes", [])
566
- ], DropDownButtonComponent.prototype, "dir", null);
567
- tslib_1.__decorate([
568
- ContentChild(ButtonItemTemplateDirective, { static: false }),
569
- tslib_1.__metadata("design:type", ButtonItemTemplateDirective)
570
- ], DropDownButtonComponent.prototype, "itemTemplate", void 0);
571
- tslib_1.__decorate([
572
- ViewChild('button', { static: true }),
573
- tslib_1.__metadata("design:type", ElementRef)
574
- ], DropDownButtonComponent.prototype, "button", void 0);
575
- tslib_1.__decorate([
576
- ViewChild('buttonList', { static: false }),
577
- tslib_1.__metadata("design:type", ListComponent)
578
- ], DropDownButtonComponent.prototype, "buttonList", void 0);
579
- tslib_1.__decorate([
580
- ViewChild('popupTemplate', { static: true }),
581
- tslib_1.__metadata("design:type", TemplateRef)
582
- ], DropDownButtonComponent.prototype, "popupTemplate", void 0);
583
- tslib_1.__decorate([
584
- ViewChild('container', { read: ViewContainerRef, static: true }),
585
- tslib_1.__metadata("design:type", ViewContainerRef)
586
- ], DropDownButtonComponent.prototype, "container", void 0);
587
- tslib_1.__decorate([
588
- HostListener('keydown', ['$event']),
589
- tslib_1.__metadata("design:type", Function),
590
- tslib_1.__metadata("design:paramtypes", [Object]),
591
- tslib_1.__metadata("design:returntype", void 0)
592
- ], DropDownButtonComponent.prototype, "keydown", null);
593
- tslib_1.__decorate([
594
- HostListener('keypress', ['$event']),
595
- tslib_1.__metadata("design:type", Function),
596
- tslib_1.__metadata("design:paramtypes", [Object]),
597
- tslib_1.__metadata("design:returntype", void 0)
598
- ], DropDownButtonComponent.prototype, "keypress", null);
599
- tslib_1.__decorate([
600
- HostListener('keyup', ['$event']),
601
- tslib_1.__metadata("design:type", Function),
602
- tslib_1.__metadata("design:paramtypes", [Object]),
603
- tslib_1.__metadata("design:returntype", void 0)
604
- ], DropDownButtonComponent.prototype, "keyup", null);
605
- tslib_1.__decorate([
606
- HostListener('mousedown', ['$event']),
607
- tslib_1.__metadata("design:type", Function),
608
- tslib_1.__metadata("design:paramtypes", [Object]),
609
- tslib_1.__metadata("design:returntype", void 0)
610
- ], DropDownButtonComponent.prototype, "mousedown", null);
611
- tslib_1.__decorate([
612
- HostListener('mouseup', ['$event']),
613
- tslib_1.__metadata("design:type", Function),
614
- tslib_1.__metadata("design:paramtypes", [Object]),
615
- tslib_1.__metadata("design:returntype", void 0)
616
- ], DropDownButtonComponent.prototype, "mouseup", null);
617
- DropDownButtonComponent = tslib_1.__decorate([
618
- Component({
619
- exportAs: 'kendoDropDownButton',
620
- providers: [
621
- FocusService,
622
- NavigationService,
623
- NAVIGATION_SETTINGS_PROVIDER,
624
- LocalizationService,
625
- {
626
- provide: L10N_PREFIX,
627
- useValue: 'kendo.dropdownbutton'
628
- }
629
- ],
630
- selector: 'kendo-dropdownbutton',
631
- template: `
467
+ }
468
+ DropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonComponent, deps: [{ token: i1.FocusService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i4.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
469
+ DropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: { icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", textField: "textField", disabled: "disabled", data: "data", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", tabIndex: "tabIndex" }, outputs: { itemClick: "itemClick", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "keyup": "keyup($event)", "mousedown": "mousedown($event)", "mouseup": "mouseup($event)" }, properties: { "class.k-focus": "this.focused", "class.k-dropdown-button": "this.widgetClasses", "attr.dir": "this.dir" } }, providers: [
470
+ FocusService,
471
+ NavigationService,
472
+ NAVIGATION_SETTINGS_PROVIDER,
473
+ LocalizationService,
474
+ {
475
+ provide: L10N_PREFIX,
476
+ useValue: 'kendo.dropdownbutton'
477
+ }
478
+ ], queries: [{ propertyName: "itemTemplate", first: true, predicate: ButtonItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "buttonList", first: true, predicate: ["buttonList"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], exportAs: ["kendoDropDownButton"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
479
+ <button kendoButton #button
480
+ role="menu"
481
+ type="button"
482
+ [tabindex]="componentTabIndex"
483
+ [class.k-active]="active"
484
+ [disabled]="disabled"
485
+ [icon]="icon"
486
+ [iconClass]="iconClass"
487
+ [imageUrl]="imageUrl"
488
+ [ngClass]="buttonClass"
489
+ [size]="size"
490
+ [rounded]="rounded"
491
+ [fillMode]="fillMode"
492
+ [themeColor]="fillMode ? themeColor : null"
493
+ (click)="openPopup()"
494
+ (focus)="handleFocus()"
495
+ (blur)="onButtonBlur()"
496
+ [attr.aria-disabled]="disabled"
497
+ [attr.aria-expanded]="openState"
498
+ [attr.aria-haspopup]="true"
499
+ [attr.aria-owns]="listId"
500
+ >
501
+ <ng-content></ng-content>
502
+ </button>
503
+ <ng-template #popupTemplate>
504
+ <kendo-button-list
505
+ #buttonList
506
+ [id]="listId"
507
+ [data]="data"
508
+ [textField]="textField"
509
+ [itemTemplate]="itemTemplate"
510
+ (onItemClick)="onItemClick($event)"
511
+ (keydown)="keyDownHandler($event)"
512
+ (keypress)="keyPressHandler($event)"
513
+ (keyup)="keyUpHandler($event)"
514
+ [attr.dir]="dir"
515
+ [size]="size"
516
+ >
517
+ </kendo-button-list>
518
+ </ng-template>
519
+ <ng-container #container></ng-container>
520
+ `, isInline: true, components: [{ type: i5.ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }], directives: [{ type: i6.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonComponent, decorators: [{
522
+ type: Component,
523
+ args: [{
524
+ exportAs: 'kendoDropDownButton',
525
+ providers: [
526
+ FocusService,
527
+ NavigationService,
528
+ NAVIGATION_SETTINGS_PROVIDER,
529
+ LocalizationService,
530
+ {
531
+ provide: L10N_PREFIX,
532
+ useValue: 'kendo.dropdownbutton'
533
+ }
534
+ ],
535
+ selector: 'kendo-dropdownbutton',
536
+ template: `
632
537
  <button kendoButton #button
633
538
  role="menu"
634
539
  type="button"
@@ -640,7 +545,6 @@ DropDownButtonComponent = tslib_1.__decorate([
640
545
  [imageUrl]="imageUrl"
641
546
  [ngClass]="buttonClass"
642
547
  [size]="size"
643
- [shape]="shape"
644
548
  [rounded]="rounded"
645
549
  [fillMode]="fillMode"
646
550
  [themeColor]="fillMode ? themeColor : null"
@@ -672,15 +576,82 @@ DropDownButtonComponent = tslib_1.__decorate([
672
576
  </ng-template>
673
577
  <ng-container #container></ng-container>
674
578
  `
675
- }),
676
- tslib_1.__metadata("design:paramtypes", [FocusService,
677
- NavigationService,
678
- ElementRef,
679
- NgZone,
680
- PopupService,
681
- ElementRef,
682
- LocalizationService,
683
- ChangeDetectorRef])
684
- ], DropDownButtonComponent);
685
- export { DropDownButtonComponent };
686
- export { ɵ0 };
579
+ }]
580
+ }], ctorParameters: function () { return [{ type: i1.FocusService }, { type: i2.NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.PopupService }, { type: i0.ElementRef }, { type: i4.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
581
+ type: Input
582
+ }], iconClass: [{
583
+ type: Input
584
+ }], imageUrl: [{
585
+ type: Input
586
+ }], popupSettings: [{
587
+ type: Input
588
+ }], textField: [{
589
+ type: Input
590
+ }], disabled: [{
591
+ type: Input
592
+ }], data: [{
593
+ type: Input
594
+ }], size: [{
595
+ type: Input
596
+ }], rounded: [{
597
+ type: Input
598
+ }], fillMode: [{
599
+ type: Input
600
+ }], themeColor: [{
601
+ type: Input
602
+ }], buttonClass: [{
603
+ type: Input
604
+ }], tabIndex: [{
605
+ type: Input
606
+ }], itemClick: [{
607
+ type: Output
608
+ }], open: [{
609
+ type: Output
610
+ }], close: [{
611
+ type: Output
612
+ }], onFocus: [{
613
+ type: Output,
614
+ args: ['focus']
615
+ }], onBlur: [{
616
+ type: Output,
617
+ args: ['blur']
618
+ }], focused: [{
619
+ type: HostBinding,
620
+ args: ['class.k-focus']
621
+ }], widgetClasses: [{
622
+ type: HostBinding,
623
+ args: ['class.k-dropdown-button']
624
+ }], dir: [{
625
+ type: HostBinding,
626
+ args: ['attr.dir']
627
+ }], itemTemplate: [{
628
+ type: ContentChild,
629
+ args: [ButtonItemTemplateDirective, { static: false }]
630
+ }], button: [{
631
+ type: ViewChild,
632
+ args: ['button', { static: true }]
633
+ }], buttonList: [{
634
+ type: ViewChild,
635
+ args: ['buttonList', { static: false }]
636
+ }], popupTemplate: [{
637
+ type: ViewChild,
638
+ args: ['popupTemplate', { static: true }]
639
+ }], container: [{
640
+ type: ViewChild,
641
+ args: ['container', { read: ViewContainerRef, static: true }]
642
+ }], keydown: [{
643
+ type: HostListener,
644
+ args: ['keydown', ['$event']]
645
+ }], keypress: [{
646
+ type: HostListener,
647
+ args: ['keypress', ['$event']]
648
+ }], keyup: [{
649
+ type: HostListener,
650
+ args: ['keyup', ['$event']]
651
+ }], mousedown: [{
652
+ type: HostListener,
653
+ args: ['mousedown', ['$event']]
654
+ }], mouseup: [{
655
+ type: HostListener,
656
+ args: ['mouseup', ['$event']]
657
+ }] } });
@@ -0,0 +1,32 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgModule } from '@angular/core';
6
+ import { CommonModule } from '@angular/common';
7
+ import { PopupModule } from '@progress/kendo-angular-popup';
8
+ import { ListModule } from '../listbutton/list.module';
9
+ import { ButtonModule } from '../button/button.module';
10
+ import { DropDownButtonComponent } from './dropdownbutton.component';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * @hidden
14
+ *
15
+ * The exported package module.
16
+ *
17
+ * The package exports:
18
+ * - `DropDownButtonComponent`&mdash;The DropDownButtonComponent component class.
19
+ */
20
+ export class DropDownButtonModule {
21
+ }
22
+ DropDownButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
+ DropDownButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, declarations: [DropDownButtonComponent], imports: [CommonModule, PopupModule, ListModule, ButtonModule], exports: [DropDownButtonComponent, ListModule] });
24
+ DropDownButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, imports: [[CommonModule, PopupModule, ListModule, ButtonModule], ListModule] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownButtonModule, decorators: [{
26
+ type: NgModule,
27
+ args: [{
28
+ declarations: [DropDownButtonComponent],
29
+ exports: [DropDownButtonComponent, ListModule],
30
+ imports: [CommonModule, PopupModule, ListModule, ButtonModule]
31
+ }]
32
+ }] });