@progress/kendo-angular-buttons 6.4.0 → 7.0.0-next.202111120840

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 (265) hide show
  1. package/bundles/kendo-angular-buttons.umd.js +5 -0
  2. package/{dist/es2015/button → button}/button.directive.d.ts +29 -21
  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/button-look.d.ts → button-look.d.ts} +0 -0
  7. package/{dist/es2015/buttongroup → buttongroup}/buttongroup.component.d.ts +16 -12
  8. package/buttongroup/buttongroup.module.d.ts +21 -0
  9. package/{dist/es2015/buttons.module.d.ts → buttons.module.d.ts} +10 -0
  10. package/{dist/es2015/chip → chip}/chip-content-click-event-args.interface.d.ts +0 -0
  11. package/{dist/es2015/chip → chip}/chip-list-remove-event-args.interface.d.ts +0 -0
  12. package/{dist/es2015/chip → chip}/chip-list.component.d.ts +5 -2
  13. package/{dist/es2015/chip → chip}/chip-remove-event-args.interface.d.ts +0 -0
  14. package/{dist/es2015/chip → chip}/chip.component.d.ts +15 -14
  15. package/{dist/es2015/chip → chip}/chip.module.d.ts +7 -0
  16. package/{dist/es2015/buttongroup/buttongroup.module.d.ts → chip/models/chip-look.d.ts} +10 -6
  17. package/{dist/es2015/chip → chip}/models/selection.d.ts +0 -0
  18. package/{dist/es2015/chip → chip}/models/type.d.ts +0 -0
  19. package/{dist/es2015/common → common}/models/shape.d.ts +0 -0
  20. package/{dist/es2015/common → common}/models/size.d.ts +0 -0
  21. package/{dist/es2015/common → common}/models/theme-color.d.ts +0 -0
  22. package/{dist/es2015/direction.d.ts → direction.d.ts} +0 -0
  23. package/{dist/es2015/dropdownbutton → dropdownbutton}/dropdownbutton.component.d.ts +24 -17
  24. package/dropdownbutton/dropdownbutton.module.d.ts +23 -0
  25. package/{dist/es2015 → esm2015}/button/button.directive.js +97 -151
  26. package/{dist/es → esm2015}/button/button.module.js +13 -13
  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}/button-look.js +1 -0
  30. package/{dist/es2015 → esm2015}/buttongroup/buttongroup.component.js +93 -125
  31. package/esm2015/buttongroup/buttongroup.module.js +30 -0
  32. package/{dist/es → esm2015}/buttons.module.js +12 -12
  33. package/{dist/es2015 → esm2015}/chip/chip-content-click-event-args.interface.js +1 -0
  34. package/{dist/es2015 → esm2015}/chip/chip-list-remove-event-args.interface.js +1 -0
  35. package/{dist/es2015 → esm2015}/chip/chip-list.component.js +56 -63
  36. package/{dist/es → esm2015}/chip/chip-remove-event-args.interface.js +1 -0
  37. package/{dist/es2015 → esm2015}/chip/chip.component.js +121 -128
  38. package/{dist/es2015 → esm2015}/chip/chip.module.js +16 -11
  39. package/{dist/es → esm2015}/chip/models/chip-look.js +1 -0
  40. package/{dist/es → esm2015}/chip/models/selection.js +1 -0
  41. package/{dist/es → esm2015}/chip/models/type.js +1 -0
  42. package/{dist/es → esm2015}/common/models/shape.js +1 -0
  43. package/{dist/es → esm2015}/common/models/size.js +1 -0
  44. package/{dist/es → esm2015}/common/models/theme-color.js +1 -0
  45. package/{dist/es → esm2015}/direction.js +1 -0
  46. package/{dist/es2015 → esm2015}/dropdownbutton/dropdownbutton.component.js +162 -180
  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 +126 -0
  50. package/esm2015/floatingactionbutton/dial-list.component.js +89 -0
  51. package/{dist/es2015 → esm2015}/floatingactionbutton/floatingactionbutton.component.js +150 -150
  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 +15 -16
  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 +13 -12
  66. package/{dist/es2015 → esm2015}/listbutton/list-button.js +15 -2
  67. package/{dist/es → esm2015}/listbutton/list-item-model.js +1 -0
  68. package/esm2015/listbutton/list.component.js +120 -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 +33 -0
  72. package/{dist/es2015 → esm2015}/main.js +5 -1
  73. package/{dist/es → esm2015}/navigation/key-events.js +0 -0
  74. package/{dist/es → esm2015}/navigation/navigation-action.js +0 -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/{dist/es2015 → esm2015}/splitbutton/splitbutton.component.js +186 -192
  80. package/esm2015/splitbutton/splitbutton.module.js +32 -0
  81. package/{dist/es2015 → esm2015}/util.js +2 -6
  82. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-buttons.js} +1613 -1723
  83. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/animations/animations.d.ts +0 -0
  84. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-item.component.d.ts +8 -5
  85. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/dial-list.component.d.ts +5 -2
  86. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.component.d.ts +28 -19
  87. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/floatingactionbutton.module.d.ts +13 -0
  88. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/align.d.ts +0 -0
  89. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-animation.interface.d.ts +0 -0
  90. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item-click.event.d.ts +0 -0
  91. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/item.interface.d.ts +0 -0
  92. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/offset.d.ts +0 -0
  93. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/models/position-mode.d.ts +0 -0
  94. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/dial-item-template.directive.d.ts +3 -0
  95. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/templates/fab-template.directive.d.ts +3 -0
  96. package/{dist/es2015/floatingactionbutton → floatingactionbutton}/utils.d.ts +0 -0
  97. package/{dist/es2015/focusable → focusable}/focus.service.d.ts +5 -1
  98. package/{dist/es2015/focusable → focusable}/focusable.directive.d.ts +3 -0
  99. package/kendo-angular-buttons.d.ts +9 -0
  100. package/{dist/es2015/listbutton → listbutton}/button-item-template.directive.d.ts +3 -0
  101. package/{dist/es2015/listbutton → listbutton}/list-button.d.ts +6 -2
  102. package/{dist/es2015/listbutton → listbutton}/list-item-model.d.ts +0 -0
  103. package/{dist/es2015/listbutton → listbutton}/list.component.d.ts +3 -0
  104. package/listbutton/list.module.d.ts +18 -0
  105. package/{dist/es2015/listbutton → listbutton}/popup-settings.d.ts +0 -0
  106. package/{dist/es2015/listbutton → listbutton}/template-context.directive.d.ts +4 -1
  107. package/{dist/es2015/main.d.ts → main.d.ts} +5 -1
  108. package/{dist/es2015/navigation → navigation}/key-events.d.ts +0 -0
  109. package/{dist/es2015/navigation → navigation}/navigation-action.d.ts +0 -0
  110. package/{dist/es2015/navigation → navigation}/navigation-config.d.ts +0 -0
  111. package/{dist/es2015/navigation → navigation}/navigation.service.d.ts +3 -0
  112. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  113. package/package.json +34 -105
  114. package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +0 -0
  115. package/schematics/ngAdd/index.js +5 -2
  116. package/schematics/ngAdd/index.js.map +1 -1
  117. package/{dist/es2015/splitbutton → splitbutton}/splitbutton.component.d.ts +26 -19
  118. package/splitbutton/splitbutton.module.d.ts +23 -0
  119. package/{dist/es2015/util.d.ts → util.d.ts} +0 -4
  120. package/dist/cdn/js/kendo-angular-buttons.js +0 -20
  121. package/dist/cdn/main.js +0 -5
  122. package/dist/es/button/button.directive.js +0 -630
  123. package/dist/es/button/button.service.js +0 -28
  124. package/dist/es/button-look.js +0 -4
  125. package/dist/es/buttongroup/buttongroup.component.js +0 -402
  126. package/dist/es/buttongroup/buttongroup.module.js +0 -30
  127. package/dist/es/chip/chip-content-click-event-args.interface.js +0 -4
  128. package/dist/es/chip/chip-list-remove-event-args.interface.js +0 -4
  129. package/dist/es/chip/chip-list.component.js +0 -164
  130. package/dist/es/chip/chip.component.js +0 -360
  131. package/dist/es/chip/chip.module.js +0 -55
  132. package/dist/es/dropdownbutton/dropdownbutton.component.js +0 -652
  133. package/dist/es/dropdownbutton/dropdownbutton.module.js +0 -32
  134. package/dist/es/floatingactionbutton/animations/animations.js +0 -33
  135. package/dist/es/floatingactionbutton/dial-item.component.js +0 -143
  136. package/dist/es/floatingactionbutton/dial-list.component.js +0 -76
  137. package/dist/es/floatingactionbutton/floatingactionbutton.component.js +0 -878
  138. package/dist/es/floatingactionbutton/floatingactionbutton.module.js +0 -65
  139. package/dist/es/floatingactionbutton/templates/dial-item-template.directive.js +0 -26
  140. package/dist/es/floatingactionbutton/templates/fab-template.directive.js +0 -26
  141. package/dist/es/floatingactionbutton/utils.js +0 -38
  142. package/dist/es/focusable/focus.service.js +0 -43
  143. package/dist/es/focusable/focusable.directive.js +0 -68
  144. package/dist/es/index.js +0 -22
  145. package/dist/es/listbutton/button-item-template.directive.js +0 -68
  146. package/dist/es/listbutton/list-button.js +0 -240
  147. package/dist/es/listbutton/list.component.js +0 -66
  148. package/dist/es/listbutton/list.module.js +0 -33
  149. package/dist/es/listbutton/template-context.directive.js +0 -40
  150. package/dist/es/main.js +0 -22
  151. package/dist/es/navigation/navigation-config.js +0 -9
  152. package/dist/es/navigation/navigation.service.js +0 -114
  153. package/dist/es/package-metadata.js +0 -15
  154. package/dist/es/preventable-event.js +0 -29
  155. package/dist/es/splitbutton/localization/custom-messages.component.js +0 -44
  156. package/dist/es/splitbutton/localization/localized-messages.directive.js +0 -35
  157. package/dist/es/splitbutton/localization/messages.js +0 -22
  158. package/dist/es/splitbutton/splitbutton.component.js +0 -761
  159. package/dist/es/splitbutton/splitbutton.module.js +0 -34
  160. package/dist/es/util.js +0 -45
  161. package/dist/es2015/button/button.module.js +0 -47
  162. package/dist/es2015/button/selection-settings.js +0 -4
  163. package/dist/es2015/buttongroup/buttongroup.module.js +0 -27
  164. package/dist/es2015/buttons.module.js +0 -51
  165. package/dist/es2015/chip/chip-remove-event-args.interface.js +0 -4
  166. package/dist/es2015/chip/models/chip-look.d.ts +0 -20
  167. package/dist/es2015/chip/models/chip-look.js +0 -4
  168. package/dist/es2015/chip/models/selection.js +0 -4
  169. package/dist/es2015/chip/models/type.js +0 -4
  170. package/dist/es2015/common/models/shape.js +0 -4
  171. package/dist/es2015/common/models/size.js +0 -4
  172. package/dist/es2015/common/models/theme-color.js +0 -4
  173. package/dist/es2015/direction.js +0 -4
  174. package/dist/es2015/dropdownbutton/dropdownbutton.module.d.ts +0 -14
  175. package/dist/es2015/dropdownbutton/dropdownbutton.module.js +0 -29
  176. package/dist/es2015/floatingactionbutton/dial-item.component.js +0 -133
  177. package/dist/es2015/floatingactionbutton/dial-list.component.js +0 -81
  178. package/dist/es2015/floatingactionbutton/models/align.js +0 -4
  179. package/dist/es2015/floatingactionbutton/models/item-animation.interface.js +0 -4
  180. package/dist/es2015/floatingactionbutton/models/item-click.event.js +0 -4
  181. package/dist/es2015/floatingactionbutton/models/item.interface.js +0 -4
  182. package/dist/es2015/floatingactionbutton/models/offset.js +0 -4
  183. package/dist/es2015/floatingactionbutton/models/position-mode.js +0 -4
  184. package/dist/es2015/floatingactionbutton/templates/dial-item-template.directive.js +0 -25
  185. package/dist/es2015/floatingactionbutton/templates/fab-template.directive.js +0 -25
  186. package/dist/es2015/index.d.ts +0 -22
  187. package/dist/es2015/index.js +0 -22
  188. package/dist/es2015/index.metadata.json +0 -1
  189. package/dist/es2015/listbutton/list-item-model.js +0 -4
  190. package/dist/es2015/listbutton/list.component.js +0 -96
  191. package/dist/es2015/listbutton/list.module.js +0 -30
  192. package/dist/es2015/listbutton/popup-settings.js +0 -4
  193. package/dist/es2015/listbutton/template-context.directive.js +0 -35
  194. package/dist/es2015/navigation/key-events.js +0 -13
  195. package/dist/es2015/navigation/navigation-action.js +0 -19
  196. package/dist/es2015/splitbutton/localization/custom-messages.component.d.ts +0 -15
  197. package/dist/es2015/splitbutton/localization/custom-messages.component.js +0 -36
  198. package/dist/es2015/splitbutton/localization/localized-messages.directive.d.ts +0 -13
  199. package/dist/es2015/splitbutton/localization/localized-messages.directive.js +0 -31
  200. package/dist/es2015/splitbutton/localization/messages.d.ts +0 -32
  201. package/dist/es2015/splitbutton/localization/messages.js +0 -16
  202. package/dist/es2015/splitbutton/splitbutton.module.d.ts +0 -14
  203. package/dist/es2015/splitbutton/splitbutton.module.js +0 -31
  204. package/dist/fesm5/index.js +0 -5123
  205. package/dist/npm/button/button.directive.js +0 -632
  206. package/dist/npm/button/button.module.js +0 -52
  207. package/dist/npm/button/button.service.js +0 -30
  208. package/dist/npm/button/selection-settings.js +0 -6
  209. package/dist/npm/button-look.js +0 -6
  210. package/dist/npm/buttongroup/buttongroup.component.js +0 -404
  211. package/dist/npm/buttongroup/buttongroup.module.js +0 -32
  212. package/dist/npm/buttons.module.js +0 -56
  213. package/dist/npm/chip/chip-content-click-event-args.interface.js +0 -6
  214. package/dist/npm/chip/chip-list-remove-event-args.interface.js +0 -6
  215. package/dist/npm/chip/chip-list.component.js +0 -166
  216. package/dist/npm/chip/chip-remove-event-args.interface.js +0 -6
  217. package/dist/npm/chip/chip.component.js +0 -362
  218. package/dist/npm/chip/chip.module.js +0 -57
  219. package/dist/npm/chip/models/chip-look.js +0 -6
  220. package/dist/npm/chip/models/selection.js +0 -6
  221. package/dist/npm/chip/models/type.js +0 -6
  222. package/dist/npm/common/models/shape.js +0 -6
  223. package/dist/npm/common/models/size.js +0 -6
  224. package/dist/npm/common/models/theme-color.js +0 -6
  225. package/dist/npm/direction.js +0 -6
  226. package/dist/npm/dropdownbutton/dropdownbutton.component.js +0 -654
  227. package/dist/npm/dropdownbutton/dropdownbutton.module.js +0 -34
  228. package/dist/npm/floatingactionbutton/animations/animations.js +0 -37
  229. package/dist/npm/floatingactionbutton/dial-item.component.js +0 -145
  230. package/dist/npm/floatingactionbutton/dial-list.component.js +0 -78
  231. package/dist/npm/floatingactionbutton/floatingactionbutton.component.js +0 -880
  232. package/dist/npm/floatingactionbutton/floatingactionbutton.module.js +0 -67
  233. package/dist/npm/floatingactionbutton/models/align.js +0 -6
  234. package/dist/npm/floatingactionbutton/models/item-animation.interface.js +0 -6
  235. package/dist/npm/floatingactionbutton/models/item-click.event.js +0 -6
  236. package/dist/npm/floatingactionbutton/models/item.interface.js +0 -6
  237. package/dist/npm/floatingactionbutton/models/offset.js +0 -6
  238. package/dist/npm/floatingactionbutton/models/position-mode.js +0 -6
  239. package/dist/npm/floatingactionbutton/templates/dial-item-template.directive.js +0 -28
  240. package/dist/npm/floatingactionbutton/templates/fab-template.directive.js +0 -28
  241. package/dist/npm/floatingactionbutton/utils.js +0 -42
  242. package/dist/npm/focusable/focus.service.js +0 -45
  243. package/dist/npm/focusable/focusable.directive.js +0 -70
  244. package/dist/npm/index.js +0 -39
  245. package/dist/npm/listbutton/button-item-template.directive.js +0 -70
  246. package/dist/npm/listbutton/list-button.js +0 -242
  247. package/dist/npm/listbutton/list-item-model.js +0 -6
  248. package/dist/npm/listbutton/list.component.js +0 -68
  249. package/dist/npm/listbutton/list.module.js +0 -35
  250. package/dist/npm/listbutton/popup-settings.js +0 -6
  251. package/dist/npm/listbutton/template-context.directive.js +0 -42
  252. package/dist/npm/main.js +0 -45
  253. package/dist/npm/navigation/key-events.js +0 -15
  254. package/dist/npm/navigation/navigation-action.js +0 -21
  255. package/dist/npm/navigation/navigation-config.js +0 -11
  256. package/dist/npm/navigation/navigation.service.js +0 -116
  257. package/dist/npm/package-metadata.js +0 -17
  258. package/dist/npm/preventable-event.js +0 -31
  259. package/dist/npm/splitbutton/localization/custom-messages.component.js +0 -46
  260. package/dist/npm/splitbutton/localization/localized-messages.directive.js +0 -37
  261. package/dist/npm/splitbutton/localization/messages.js +0 -24
  262. package/dist/npm/splitbutton/splitbutton.component.js +0 -763
  263. package/dist/npm/splitbutton/splitbutton.module.js +0 -36
  264. package/dist/npm/util.js +0 -48
  265. package/dist/systemjs/kendo-angular-buttons.js +0 -5
@@ -1,654 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- /* tslint:disable:no-access-missing-member */
9
- var core_1 = require("@angular/core");
10
- var kendo_angular_l10n_1 = require("@progress/kendo-angular-l10n");
11
- var kendo_angular_popup_1 = require("@progress/kendo-angular-popup");
12
- var kendo_angular_common_1 = require("@progress/kendo-angular-common");
13
- var button_item_template_directive_1 = require("../listbutton/button-item-template.directive");
14
- var util_1 = require("../util");
15
- var list_button_1 = require("../listbutton/list-button");
16
- var list_component_1 = require("../listbutton/list.component");
17
- var focus_service_1 = require("../focusable/focus.service");
18
- var navigation_service_1 = require("../navigation/navigation.service");
19
- var navigation_config_1 = require("../navigation/navigation-config");
20
- var preventable_event_1 = require("../preventable-event");
21
- var rxjs_1 = require("rxjs");
22
- var NAVIGATION_SETTINGS = {
23
- useLeftRightArrows: true
24
- };
25
- var ɵ0 = NAVIGATION_SETTINGS;
26
- exports.ɵ0 = ɵ0;
27
- var NAVIGATION_SETTINGS_PROVIDER = {
28
- provide: navigation_config_1.NAVIGATION_CONFIG,
29
- useValue: ɵ0
30
- };
31
- /**
32
- * Represents the Kendo UI DropDownButton component for Angular.
33
- *
34
- * @example
35
- * ```ts
36
- * _@Component({
37
- * selector: 'my-app',
38
- * template: `
39
- * <kendo-dropdownbutton [data]="data">
40
- * User Settings
41
- * </kendo-dropdownbutton>
42
- * `
43
- * })
44
- * class AppComponent {
45
- * public data: Array<any> = [{
46
- * text: 'My Profile'
47
- * }, {
48
- * text: 'Friend Requests'
49
- * }, {
50
- * text: 'Account Settings'
51
- * }, {
52
- * text: 'Support'
53
- * }, {
54
- * text: 'Log Out'
55
- * }];
56
- * }
57
- * ```
58
- */
59
- var DropDownButtonComponent = /** @class */ (function (_super) {
60
- tslib_1.__extends(DropDownButtonComponent, _super);
61
- function DropDownButtonComponent(focusService, navigationService, wrapperRef, zone, popupService, elRef, localization, cdr) {
62
- var _this = _super.call(this, focusService, navigationService, wrapperRef, zone, localization, cdr) || this;
63
- _this.popupService = popupService;
64
- _this.elRef = elRef;
65
- /**
66
- * Defines the name of an existing icon in a Kendo UI theme.
67
- */
68
- _this.icon = '';
69
- /**
70
- * Defines the list of CSS classes which are used for styling the Button with custom icons.
71
- */
72
- _this.iconClass = '';
73
- /**
74
- * Defines a URL for styling the button with a custom image.
75
- */
76
- _this.imageUrl = '';
77
- /**
78
- * Adds visual weight to the default button and makes it primary.
79
- */
80
- _this.primary = false;
81
- /**
82
- * Changes the visual appearance by using alternative styling options.
83
- *
84
- * The available values are:
85
- * * `flat`
86
- * * `outline`
87
- */
88
- _this.look = 'default';
89
- /**
90
- * Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
91
- */
92
- _this.tabIndex = 0;
93
- /**
94
- * Fires each time the user clicks on a drop-down list item. The event data contains the data item bound to the clicked list item.
95
- */
96
- _this.itemClick = new core_1.EventEmitter();
97
- /**
98
- * Fires each time the popup is about to open.
99
- * This event is preventable. If you cancel the event, the popup will remain closed.
100
- */
101
- _this.open = new core_1.EventEmitter();
102
- /**
103
- * Fires each time the popup is about to close.
104
- * This event is preventable. If you cancel the event, the popup will remain open.
105
- */
106
- _this.close = new core_1.EventEmitter();
107
- /**
108
- * Fires each time the DropDownButton gets focused.
109
- */
110
- _this.onFocus = new core_1.EventEmitter(); //tslint:disable-line:no-output-rename
111
- /**
112
- * Fires each time the DropDownButton gets blurred.
113
- */
114
- _this.onBlur = new core_1.EventEmitter(); //tslint:disable-line:no-output-rename
115
- _this.listId = kendo_angular_common_1.guid();
116
- _this._itemClick = _this.itemClick;
117
- _this._blur = _this.onBlur;
118
- return _this;
119
- }
120
- Object.defineProperty(DropDownButtonComponent.prototype, "popupSettings", {
121
- get: function () {
122
- return this._popupSettings;
123
- },
124
- /**
125
- * Configures the popup of the DropDownButton.
126
- *
127
- * The available options are:
128
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
129
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
130
- * - `appendTo: "root" | "component" | ViewContainerRef`&mdash;Specifies the component to which the popup will be appended.
131
- * - `align: "left" | "center" | "right"`&mdash;Specifies the alignment of the popup.
132
- */
133
- set: function (settings) {
134
- this._popupSettings = Object.assign({ animate: true, popupClass: '' }, settings);
135
- },
136
- enumerable: true,
137
- configurable: true
138
- });
139
- Object.defineProperty(DropDownButtonComponent.prototype, "disabled", {
140
- get: function () {
141
- return this._disabled;
142
- },
143
- /**
144
- * Sets the disabled state of the DropDownButton.
145
- */
146
- set: function (value) {
147
- if (value && this.openState) {
148
- this.openState = false;
149
- }
150
- this._disabled = value;
151
- },
152
- enumerable: true,
153
- configurable: true
154
- });
155
- Object.defineProperty(DropDownButtonComponent.prototype, "data", {
156
- get: function () {
157
- return this._data;
158
- },
159
- /**
160
- * Sets or gets the data of the DropDownButton.
161
- *
162
- * > The data has to be provided in an array-like list.
163
- */
164
- set: function (data) {
165
- this._data = data || [];
166
- },
167
- enumerable: true,
168
- configurable: true
169
- });
170
- Object.defineProperty(DropDownButtonComponent.prototype, "openState", {
171
- /**
172
- * @hidden
173
- */
174
- get: function () {
175
- return this._open;
176
- },
177
- /**
178
- * @hidden
179
- */
180
- set: function (open) {
181
- if (this.disabled) {
182
- return;
183
- }
184
- var eventArgs = new preventable_event_1.PreventableEvent();
185
- if (open) {
186
- this.open.emit(eventArgs);
187
- }
188
- else {
189
- this.close.emit(eventArgs);
190
- }
191
- if (eventArgs.isDefaultPrevented()) {
192
- return;
193
- }
194
- this._toggle(open);
195
- },
196
- enumerable: true,
197
- configurable: true
198
- });
199
- Object.defineProperty(DropDownButtonComponent.prototype, "componentTabIndex", {
200
- /**
201
- * @hidden
202
- */
203
- get: function () {
204
- return this.disabled ? (-1) : this.tabIndex;
205
- },
206
- enumerable: true,
207
- configurable: true
208
- });
209
- Object.defineProperty(DropDownButtonComponent.prototype, "appendTo", {
210
- get: function () {
211
- var appendTo = this.popupSettings.appendTo;
212
- if (!appendTo || appendTo === 'root') {
213
- return undefined;
214
- }
215
- return appendTo === 'component' ? this.container : appendTo;
216
- },
217
- enumerable: true,
218
- configurable: true
219
- });
220
- Object.defineProperty(DropDownButtonComponent.prototype, "focused", {
221
- get: function () {
222
- return this._isFocused && !this._disabled;
223
- },
224
- enumerable: true,
225
- configurable: true
226
- });
227
- Object.defineProperty(DropDownButtonComponent.prototype, "isFlat", {
228
- get: function () {
229
- return this.look === 'flat';
230
- },
231
- enumerable: true,
232
- configurable: true
233
- });
234
- Object.defineProperty(DropDownButtonComponent.prototype, "isOutline", {
235
- get: function () {
236
- return this.look === 'outline';
237
- },
238
- enumerable: true,
239
- configurable: true
240
- });
241
- Object.defineProperty(DropDownButtonComponent.prototype, "widgetClasses", {
242
- get: function () {
243
- return true;
244
- },
245
- enumerable: true,
246
- configurable: true
247
- });
248
- Object.defineProperty(DropDownButtonComponent.prototype, "dir", {
249
- get: function () {
250
- return this.direction;
251
- },
252
- enumerable: true,
253
- configurable: true
254
- });
255
- Object.defineProperty(DropDownButtonComponent.prototype, "active", {
256
- /**
257
- * @hidden
258
- */
259
- get: function () {
260
- return this._active;
261
- },
262
- enumerable: true,
263
- configurable: true
264
- });
265
- /**
266
- * @hidden
267
- */
268
- DropDownButtonComponent.prototype.keydown = function (event) {
269
- this.keyDownHandler(event);
270
- if (event.keyCode === kendo_angular_common_1.Keys.Space) {
271
- this._active = true;
272
- }
273
- };
274
- /**
275
- * @hidden
276
- */
277
- DropDownButtonComponent.prototype.keypress = function (event) {
278
- this.keyPressHandler(event);
279
- };
280
- /**
281
- * @hidden
282
- */
283
- DropDownButtonComponent.prototype.keyup = function (event) {
284
- this.keyUpHandler(event);
285
- this._active = false;
286
- };
287
- /**
288
- * @hidden
289
- */
290
- DropDownButtonComponent.prototype.mousedown = function (event) {
291
- if (this._disabled) {
292
- event.preventDefault();
293
- }
294
- this._active = true;
295
- };
296
- /**
297
- * @hidden
298
- */
299
- DropDownButtonComponent.prototype.mouseup = function (event) {
300
- if (this._disabled) {
301
- event.preventDefault();
302
- }
303
- this._active = false;
304
- };
305
- /**
306
- * @hidden
307
- */
308
- DropDownButtonComponent.prototype.openPopup = function () {
309
- this.togglePopupVisibility();
310
- };
311
- /**
312
- * @hidden
313
- */
314
- DropDownButtonComponent.prototype.onButtonBlur = function () {
315
- if (!this.isOpen) {
316
- this.blurWrapper();
317
- }
318
- };
319
- Object.defineProperty(DropDownButtonComponent.prototype, "anchorAlign", {
320
- /**
321
- * @hidden
322
- */
323
- get: function () {
324
- var align = { horizontal: this.popupSettings.align || 'left', vertical: 'bottom' };
325
- if (this.direction === 'rtl' && !util_1.isPresent(this.popupSettings.align)) {
326
- align.horizontal = 'right';
327
- }
328
- return align;
329
- },
330
- enumerable: true,
331
- configurable: true
332
- });
333
- Object.defineProperty(DropDownButtonComponent.prototype, "popupAlign", {
334
- /**
335
- * @hidden
336
- */
337
- get: function () {
338
- var align = { horizontal: this.popupSettings.align || 'left', vertical: 'top' };
339
- if (this.direction === 'rtl' && !util_1.isPresent(this.popupSettings.align)) {
340
- align.horizontal = 'right';
341
- }
342
- return align;
343
- },
344
- enumerable: true,
345
- configurable: true
346
- });
347
- /**
348
- * Focuses the DropDownButton component.
349
- */
350
- DropDownButtonComponent.prototype.focus = function () {
351
- if (kendo_angular_common_1.isDocumentAvailable()) {
352
- this.button.nativeElement.focus();
353
- }
354
- };
355
- /**
356
- * Blurs the DropDownButton component.
357
- */
358
- DropDownButtonComponent.prototype.blur = function () {
359
- if (kendo_angular_common_1.isDocumentAvailable()) {
360
- this.button.nativeElement.blur();
361
- this.blurWrapper();
362
- }
363
- };
364
- DropDownButtonComponent.prototype.ngOnChanges = function (changes) {
365
- if (kendo_angular_common_1.isChanged("popupSettings", changes) && util_1.isPresent(this.popupRef)) {
366
- var popup = this.popupRef.popup.instance;
367
- var newSettings = changes.popupSettings.currentValue;
368
- popup.popupClass = newSettings.popupClass;
369
- popup.animate = newSettings.animate;
370
- popup.popupAlign = this.popupAlign;
371
- }
372
- };
373
- DropDownButtonComponent.prototype.ngOnDestroy = function () {
374
- _super.prototype.ngOnDestroy.call(this);
375
- this.destroyPopup();
376
- };
377
- /**
378
- * Toggles the visibility of the popup.
379
- * If the `toggle` method is used to open or close the popup, the `open` and `close` events will not be fired.
380
- *
381
- * @param open - The state of the popup.
382
- */
383
- DropDownButtonComponent.prototype.toggle = function (open) {
384
- var _this = this;
385
- if (this.disabled) {
386
- return;
387
- }
388
- util_1.tick(function () { return (_this._toggle((open === undefined) ? !_this._open : open)); });
389
- };
390
- Object.defineProperty(DropDownButtonComponent.prototype, "isOpen", {
391
- /**
392
- * Returns the current open state of the popup.
393
- */
394
- get: function () {
395
- return this.openState;
396
- },
397
- enumerable: true,
398
- configurable: true
399
- });
400
- /**
401
- * @hidden
402
- */
403
- DropDownButtonComponent.prototype.handleFocus = function () {
404
- if (!this._disabled && !this._isFocused) {
405
- this._isFocused = true;
406
- this.onFocus.emit();
407
- }
408
- };
409
- /**
410
- * @hidden
411
- */
412
- DropDownButtonComponent.prototype.wrapperContains = function (element) {
413
- return this.wrapper === element
414
- || this.wrapper.contains(element)
415
- || (this.popupRef && this.popupRef.popupElement.contains(element));
416
- };
417
- DropDownButtonComponent.prototype.subscribeNavigationEvents = function () {
418
- this.navigationSubscription = this.navigationService.navigate
419
- .subscribe(this.onArrowKeyNavigate.bind(this));
420
- this.enterUpSubscription = this.navigationService.enterup.subscribe(this.onNavigationEnterUp.bind(this));
421
- this.openSubscription = this.navigationService.open.subscribe(this.onNavigationOpen.bind(this));
422
- this.closeSubscription = rxjs_1.merge(this.navigationService.close, this.navigationService.esc).subscribe(this.onNavigationClose.bind(this));
423
- };
424
- DropDownButtonComponent.prototype.onNavigationEnterUp = function () {
425
- if (!this._disabled && !this.openState) {
426
- this._active = false;
427
- }
428
- if (this.openState) {
429
- var focused = this.focusService.focused;
430
- if (util_1.isPresent(focused) && focused !== -1) {
431
- this.emitItemClickHandler(focused);
432
- }
433
- }
434
- this.togglePopupVisibility();
435
- if (!this.openState && kendo_angular_common_1.isDocumentAvailable()) {
436
- this.button.nativeElement.focus();
437
- }
438
- };
439
- DropDownButtonComponent.prototype.onNavigationOpen = function () {
440
- if (!this._disabled && !this.openState) {
441
- this.togglePopupVisibility();
442
- }
443
- };
444
- DropDownButtonComponent.prototype.onNavigationClose = function () {
445
- if (this.openState) {
446
- this.togglePopupVisibility();
447
- if (kendo_angular_common_1.isDocumentAvailable()) {
448
- this.button.nativeElement.focus();
449
- }
450
- }
451
- };
452
- DropDownButtonComponent.prototype.onArrowKeyNavigate = function (index) {
453
- this.focusService.focus(index);
454
- };
455
- DropDownButtonComponent.prototype._toggle = function (open) {
456
- if (this._open === open) {
457
- return;
458
- }
459
- this._open = open;
460
- this.destroyPopup();
461
- if (this._open) {
462
- this.createPopup();
463
- }
464
- };
465
- DropDownButtonComponent.prototype.createPopup = function () {
466
- var _this = this;
467
- this.popupRef = this.popupService.open({
468
- anchor: this.elRef,
469
- anchorAlign: this.anchorAlign,
470
- animate: this.popupSettings.animate,
471
- appendTo: this.appendTo,
472
- content: this.popupTemplate,
473
- popupAlign: this.popupAlign,
474
- popupClass: this.popupClasses
475
- });
476
- this.popupRef.popupAnchorViewportLeave.subscribe(function () { return _this.openState = false; });
477
- this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this));
478
- };
479
- DropDownButtonComponent.prototype.destroyPopup = function () {
480
- if (this.popupRef) {
481
- this.popupRef.close();
482
- this.popupRef = null;
483
- }
484
- };
485
- tslib_1.__decorate([
486
- core_1.Input(),
487
- tslib_1.__metadata("design:type", String)
488
- ], DropDownButtonComponent.prototype, "icon", void 0);
489
- tslib_1.__decorate([
490
- core_1.Input(),
491
- tslib_1.__metadata("design:type", String)
492
- ], DropDownButtonComponent.prototype, "iconClass", void 0);
493
- tslib_1.__decorate([
494
- core_1.Input(),
495
- tslib_1.__metadata("design:type", String)
496
- ], DropDownButtonComponent.prototype, "imageUrl", void 0);
497
- tslib_1.__decorate([
498
- core_1.Input(),
499
- tslib_1.__metadata("design:type", Object),
500
- tslib_1.__metadata("design:paramtypes", [Object])
501
- ], DropDownButtonComponent.prototype, "popupSettings", null);
502
- tslib_1.__decorate([
503
- core_1.Input(),
504
- tslib_1.__metadata("design:type", String)
505
- ], DropDownButtonComponent.prototype, "textField", void 0);
506
- tslib_1.__decorate([
507
- core_1.Input(),
508
- tslib_1.__metadata("design:type", Boolean),
509
- tslib_1.__metadata("design:paramtypes", [Boolean])
510
- ], DropDownButtonComponent.prototype, "disabled", null);
511
- tslib_1.__decorate([
512
- core_1.Input(),
513
- tslib_1.__metadata("design:type", Object),
514
- tslib_1.__metadata("design:paramtypes", [Object])
515
- ], DropDownButtonComponent.prototype, "data", null);
516
- tslib_1.__decorate([
517
- core_1.Input(),
518
- tslib_1.__metadata("design:type", Boolean)
519
- ], DropDownButtonComponent.prototype, "primary", void 0);
520
- tslib_1.__decorate([
521
- core_1.Input(),
522
- tslib_1.__metadata("design:type", String)
523
- ], DropDownButtonComponent.prototype, "look", void 0);
524
- tslib_1.__decorate([
525
- core_1.Input(),
526
- tslib_1.__metadata("design:type", Object)
527
- ], DropDownButtonComponent.prototype, "buttonClass", void 0);
528
- tslib_1.__decorate([
529
- core_1.Input(),
530
- tslib_1.__metadata("design:type", Number)
531
- ], DropDownButtonComponent.prototype, "tabIndex", void 0);
532
- tslib_1.__decorate([
533
- core_1.Output(),
534
- tslib_1.__metadata("design:type", core_1.EventEmitter)
535
- ], DropDownButtonComponent.prototype, "itemClick", void 0);
536
- tslib_1.__decorate([
537
- core_1.Output(),
538
- tslib_1.__metadata("design:type", core_1.EventEmitter)
539
- ], DropDownButtonComponent.prototype, "open", void 0);
540
- tslib_1.__decorate([
541
- core_1.Output(),
542
- tslib_1.__metadata("design:type", core_1.EventEmitter)
543
- ], DropDownButtonComponent.prototype, "close", void 0);
544
- tslib_1.__decorate([
545
- core_1.Output('focus'),
546
- tslib_1.__metadata("design:type", core_1.EventEmitter)
547
- ], DropDownButtonComponent.prototype, "onFocus", void 0);
548
- tslib_1.__decorate([
549
- core_1.Output('blur'),
550
- tslib_1.__metadata("design:type", core_1.EventEmitter)
551
- ], DropDownButtonComponent.prototype, "onBlur", void 0);
552
- tslib_1.__decorate([
553
- core_1.HostBinding('class.k-state-focused'),
554
- tslib_1.__metadata("design:type", Boolean),
555
- tslib_1.__metadata("design:paramtypes", [])
556
- ], DropDownButtonComponent.prototype, "focused", null);
557
- tslib_1.__decorate([
558
- core_1.HostBinding('class.k-flat'),
559
- tslib_1.__metadata("design:type", Boolean),
560
- tslib_1.__metadata("design:paramtypes", [])
561
- ], DropDownButtonComponent.prototype, "isFlat", null);
562
- tslib_1.__decorate([
563
- core_1.HostBinding('class.k-outline'),
564
- tslib_1.__metadata("design:type", Boolean),
565
- tslib_1.__metadata("design:paramtypes", [])
566
- ], DropDownButtonComponent.prototype, "isOutline", null);
567
- tslib_1.__decorate([
568
- core_1.HostBinding('class.k-dropdown-button'),
569
- tslib_1.__metadata("design:type", Boolean),
570
- tslib_1.__metadata("design:paramtypes", [])
571
- ], DropDownButtonComponent.prototype, "widgetClasses", null);
572
- tslib_1.__decorate([
573
- core_1.HostBinding('attr.dir'),
574
- tslib_1.__metadata("design:type", String),
575
- tslib_1.__metadata("design:paramtypes", [])
576
- ], DropDownButtonComponent.prototype, "dir", null);
577
- tslib_1.__decorate([
578
- core_1.ContentChild(button_item_template_directive_1.ButtonItemTemplateDirective, { static: false }),
579
- tslib_1.__metadata("design:type", button_item_template_directive_1.ButtonItemTemplateDirective)
580
- ], DropDownButtonComponent.prototype, "itemTemplate", void 0);
581
- tslib_1.__decorate([
582
- core_1.ViewChild('button', { static: true }),
583
- tslib_1.__metadata("design:type", core_1.ElementRef)
584
- ], DropDownButtonComponent.prototype, "button", void 0);
585
- tslib_1.__decorate([
586
- core_1.ViewChild('buttonList', { static: false }),
587
- tslib_1.__metadata("design:type", list_component_1.ListComponent)
588
- ], DropDownButtonComponent.prototype, "buttonList", void 0);
589
- tslib_1.__decorate([
590
- core_1.ViewChild('popupTemplate', { static: true }),
591
- tslib_1.__metadata("design:type", core_1.TemplateRef)
592
- ], DropDownButtonComponent.prototype, "popupTemplate", void 0);
593
- tslib_1.__decorate([
594
- core_1.ViewChild('container', { read: core_1.ViewContainerRef, static: true }),
595
- tslib_1.__metadata("design:type", core_1.ViewContainerRef)
596
- ], DropDownButtonComponent.prototype, "container", void 0);
597
- tslib_1.__decorate([
598
- core_1.HostListener('keydown', ['$event']),
599
- tslib_1.__metadata("design:type", Function),
600
- tslib_1.__metadata("design:paramtypes", [Object]),
601
- tslib_1.__metadata("design:returntype", void 0)
602
- ], DropDownButtonComponent.prototype, "keydown", null);
603
- tslib_1.__decorate([
604
- core_1.HostListener('keypress', ['$event']),
605
- tslib_1.__metadata("design:type", Function),
606
- tslib_1.__metadata("design:paramtypes", [Object]),
607
- tslib_1.__metadata("design:returntype", void 0)
608
- ], DropDownButtonComponent.prototype, "keypress", null);
609
- tslib_1.__decorate([
610
- core_1.HostListener('keyup', ['$event']),
611
- tslib_1.__metadata("design:type", Function),
612
- tslib_1.__metadata("design:paramtypes", [Object]),
613
- tslib_1.__metadata("design:returntype", void 0)
614
- ], DropDownButtonComponent.prototype, "keyup", null);
615
- tslib_1.__decorate([
616
- core_1.HostListener('mousedown', ['$event']),
617
- tslib_1.__metadata("design:type", Function),
618
- tslib_1.__metadata("design:paramtypes", [Object]),
619
- tslib_1.__metadata("design:returntype", void 0)
620
- ], DropDownButtonComponent.prototype, "mousedown", null);
621
- tslib_1.__decorate([
622
- core_1.HostListener('mouseup', ['$event']),
623
- tslib_1.__metadata("design:type", Function),
624
- tslib_1.__metadata("design:paramtypes", [Object]),
625
- tslib_1.__metadata("design:returntype", void 0)
626
- ], DropDownButtonComponent.prototype, "mouseup", null);
627
- DropDownButtonComponent = tslib_1.__decorate([
628
- core_1.Component({
629
- exportAs: 'kendoDropDownButton',
630
- providers: [
631
- focus_service_1.FocusService,
632
- navigation_service_1.NavigationService,
633
- NAVIGATION_SETTINGS_PROVIDER,
634
- kendo_angular_l10n_1.LocalizationService,
635
- {
636
- provide: kendo_angular_l10n_1.L10N_PREFIX,
637
- useValue: 'kendo.dropdownbutton'
638
- }
639
- ],
640
- selector: 'kendo-dropdownbutton',
641
- template: "\n <button kendoButton #button\n role=\"menu\"\n type=\"button\"\n [tabindex]=\"componentTabIndex\"\n [class.k-state-active]=\"active\"\n [disabled]=\"disabled\"\n [icon]=\"icon\"\n [iconClass]=\"iconClass\"\n [imageUrl]=\"imageUrl\"\n [ngClass]=\"buttonClass\"\n (click)=\"openPopup()\"\n (focus)=\"handleFocus()\"\n (blur)=\"onButtonBlur()\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-expanded]=\"openState\"\n [attr.aria-haspopup]=\"true\"\n [attr.aria-owns]=\"listId\"\n [look]=\"look\"\n [primary]=\"primary\"\n >\n <ng-content></ng-content>\n </button>\n <ng-template #popupTemplate>\n <kendo-button-list\n #buttonList\n [id]=\"listId\"\n [data]=\"data\"\n [textField]=\"textField\"\n [itemTemplate]=\"itemTemplate\"\n (onItemClick)=\"onItemClick($event)\"\n (keydown)=\"keyDownHandler($event)\"\n (keypress)=\"keyPressHandler($event)\"\n (keyup)=\"keyUpHandler($event)\"\n [attr.dir]=\"dir\"\n >\n </kendo-button-list>\n </ng-template>\n <ng-container #container></ng-container>\n "
642
- }),
643
- tslib_1.__metadata("design:paramtypes", [focus_service_1.FocusService,
644
- navigation_service_1.NavigationService,
645
- core_1.ElementRef,
646
- core_1.NgZone,
647
- kendo_angular_popup_1.PopupService,
648
- core_1.ElementRef,
649
- kendo_angular_l10n_1.LocalizationService,
650
- core_1.ChangeDetectorRef])
651
- ], DropDownButtonComponent);
652
- return DropDownButtonComponent;
653
- }(list_button_1.ListButton));
654
- exports.DropDownButtonComponent = DropDownButtonComponent;
@@ -1,34 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var common_1 = require("@angular/common");
10
- var kendo_angular_popup_1 = require("@progress/kendo-angular-popup");
11
- var list_module_1 = require("../listbutton/list.module");
12
- var button_module_1 = require("../button/button.module");
13
- var dropdownbutton_component_1 = require("./dropdownbutton.component");
14
- /**
15
- * @hidden
16
- *
17
- * The exported package module.
18
- *
19
- * The package exports:
20
- * - `DropDownButtonComponent`&mdash;The DropDownButtonComponent component class.
21
- */
22
- var DropDownButtonModule = /** @class */ (function () {
23
- function DropDownButtonModule() {
24
- }
25
- DropDownButtonModule = tslib_1.__decorate([
26
- core_1.NgModule({
27
- declarations: [dropdownbutton_component_1.DropDownButtonComponent],
28
- exports: [dropdownbutton_component_1.DropDownButtonComponent, list_module_1.ListModule],
29
- imports: [common_1.CommonModule, kendo_angular_popup_1.PopupModule, list_module_1.ListModule, button_module_1.ButtonModule]
30
- })
31
- ], DropDownButtonModule);
32
- return DropDownButtonModule;
33
- }());
34
- exports.DropDownButtonModule = DropDownButtonModule;