@progress/kendo-angular-buttons 7.0.0-next.202111120840 → 7.0.2-dev.202201201235

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 (283) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-buttons.js +20 -0
  5. package/dist/cdn/main.js +5 -0
  6. package/dist/es/button/button.directive.js +769 -0
  7. package/{esm2015 → dist/es}/button/button.module.js +13 -13
  8. package/dist/es/button/button.service.js +24 -0
  9. package/{esm2015 → dist/es}/button/selection-settings.js +0 -1
  10. package/dist/es/buttongroup/buttongroup.component.js +353 -0
  11. package/dist/es/buttongroup/buttongroup.module.js +30 -0
  12. package/{esm2015 → dist/es}/buttons.module.js +12 -12
  13. package/{esm2015 → dist/es}/chip/chip-content-click-event-args.interface.js +0 -1
  14. package/{esm2015 → dist/es}/chip/chip-list-remove-event-args.interface.js +0 -1
  15. package/dist/es/chip/chip-list.component.js +214 -0
  16. package/{esm2015 → dist/es}/chip/chip-remove-event-args.interface.js +0 -1
  17. package/dist/es/chip/chip.component.js +449 -0
  18. package/dist/es/chip/chip.module.js +55 -0
  19. package/{esm2015 → dist/es}/chip/models/selection.js +0 -1
  20. package/dist/es/common/models/fillmode.js +4 -0
  21. package/dist/es/common/models/rounded.js +4 -0
  22. package/{esm2015 → dist/es}/common/models/shape.js +0 -1
  23. package/{esm2015 → dist/es}/common/models/size.js +0 -1
  24. package/dist/es/common/models/styling-classes.js +4 -0
  25. package/{esm2015 → dist/es}/common/models/theme-color.js +0 -1
  26. package/{esm2015/button-look.js → dist/es/common/models.js} +0 -1
  27. package/{esm2015 → dist/es}/direction.js +0 -1
  28. package/dist/es/dropdownbutton/dropdownbutton.component.js +704 -0
  29. package/dist/es/dropdownbutton/dropdownbutton.module.js +32 -0
  30. package/dist/es/floatingactionbutton/animations/animations.js +33 -0
  31. package/dist/es/floatingactionbutton/dial-item.component.js +143 -0
  32. package/dist/es/floatingactionbutton/dial-list.component.js +76 -0
  33. package/dist/es/floatingactionbutton/floatingactionbutton.component.js +903 -0
  34. package/dist/es/floatingactionbutton/floatingactionbutton.module.js +65 -0
  35. package/{esm2015 → dist/es}/floatingactionbutton/models/align.js +0 -1
  36. package/{esm2015 → dist/es}/floatingactionbutton/models/item-animation.interface.js +0 -1
  37. package/{esm2015 → dist/es}/floatingactionbutton/models/item-click.event.js +0 -1
  38. package/{esm2015 → dist/es}/floatingactionbutton/models/item.interface.js +0 -1
  39. package/{esm2015 → dist/es}/floatingactionbutton/models/offset.js +0 -1
  40. package/{esm2015 → dist/es}/floatingactionbutton/models/position-mode.js +0 -1
  41. package/dist/es/floatingactionbutton/templates/dial-item-template.directive.js +26 -0
  42. package/dist/es/floatingactionbutton/templates/fab-template.directive.js +26 -0
  43. package/dist/es/floatingactionbutton/utils.js +38 -0
  44. package/dist/es/focusable/focus.service.js +43 -0
  45. package/dist/es/focusable/focusable.directive.js +68 -0
  46. package/dist/es/index.js +22 -0
  47. package/dist/es/listbutton/button-item-template.directive.js +68 -0
  48. package/dist/es/listbutton/list-button.js +243 -0
  49. package/{esm2015 → dist/es}/listbutton/list-item-model.js +0 -1
  50. package/dist/es/listbutton/list.component.js +85 -0
  51. package/dist/es/listbutton/list.module.js +33 -0
  52. package/{esm2015 → dist/es}/listbutton/popup-settings.js +0 -1
  53. package/dist/es/listbutton/template-context.directive.js +40 -0
  54. package/{esm2015 → dist/es}/main.js +1 -5
  55. package/{esm2015 → dist/es}/navigation/key-events.js +0 -0
  56. package/{esm2015 → dist/es}/navigation/navigation-action.js +0 -0
  57. package/dist/es/navigation/navigation-config.js +9 -0
  58. package/dist/es/navigation/navigation.service.js +114 -0
  59. package/dist/es/package-metadata.js +15 -0
  60. package/dist/es/preventable-event.js +29 -0
  61. package/dist/es/splitbutton/localization/custom-messages.component.js +44 -0
  62. package/dist/es/splitbutton/localization/localized-messages.directive.js +35 -0
  63. package/dist/es/splitbutton/localization/messages.js +22 -0
  64. package/dist/es/splitbutton/splitbutton.component.js +830 -0
  65. package/dist/es/splitbutton/splitbutton.module.js +34 -0
  66. package/dist/es/util.js +97 -0
  67. package/{button → dist/es2015/button}/button.directive.d.ts +101 -46
  68. package/dist/es2015/button/button.directive.js +671 -0
  69. package/{button → dist/es2015/button}/button.module.d.ts +0 -5
  70. package/dist/es2015/button/button.module.js +47 -0
  71. package/{button → dist/es2015/button}/button.service.d.ts +1 -7
  72. package/dist/es2015/button/button.service.js +26 -0
  73. package/{button → dist/es2015/button}/selection-settings.d.ts +0 -0
  74. package/dist/es2015/button/selection-settings.js +4 -0
  75. package/{buttongroup → dist/es2015/buttongroup}/buttongroup.component.d.ts +9 -28
  76. package/{esm2015 → dist/es2015}/buttongroup/buttongroup.component.js +116 -121
  77. package/dist/es2015/buttongroup/buttongroup.module.d.ts +14 -0
  78. package/dist/es2015/buttongroup/buttongroup.module.js +27 -0
  79. package/{buttons.module.d.ts → dist/es2015/buttons.module.d.ts} +0 -10
  80. package/dist/es2015/buttons.module.js +51 -0
  81. package/{chip → dist/es2015/chip}/chip-content-click-event-args.interface.d.ts +0 -0
  82. package/dist/es2015/chip/chip-content-click-event-args.interface.js +4 -0
  83. package/{chip → dist/es2015/chip}/chip-list-remove-event-args.interface.d.ts +0 -0
  84. package/dist/es2015/chip/chip-list-remove-event-args.interface.js +4 -0
  85. package/{chip → dist/es2015/chip}/chip-list.component.d.ts +21 -8
  86. package/dist/es2015/chip/chip-list.component.js +197 -0
  87. package/{chip → dist/es2015/chip}/chip-remove-event-args.interface.d.ts +0 -0
  88. package/dist/es2015/chip/chip-remove-event-args.interface.js +4 -0
  89. package/{chip → dist/es2015/chip}/chip.component.d.ts +72 -38
  90. package/dist/es2015/chip/chip.component.js +431 -0
  91. package/{chip → dist/es2015/chip}/chip.module.d.ts +0 -7
  92. package/{esm2015 → dist/es2015}/chip/chip.module.js +11 -16
  93. package/{chip → dist/es2015/chip}/models/selection.d.ts +0 -0
  94. package/dist/es2015/chip/models/selection.js +4 -0
  95. package/{util.d.ts → dist/es2015/common/models/fillmode.d.ts} +4 -8
  96. package/dist/es2015/common/models/fillmode.js +4 -0
  97. package/dist/es2015/common/models/rounded.d.ts +12 -0
  98. package/dist/es2015/common/models/rounded.js +4 -0
  99. package/dist/es2015/common/models/shape.d.ts +9 -0
  100. package/dist/es2015/common/models/shape.js +4 -0
  101. package/dist/es2015/common/models/size.d.ts +17 -0
  102. package/dist/es2015/common/models/size.js +4 -0
  103. package/{esm2015/kendo-angular-buttons.js → dist/es2015/common/models/styling-classes.d.ts} +5 -2
  104. package/dist/es2015/common/models/styling-classes.js +4 -0
  105. package/{common → dist/es2015/common}/models/theme-color.d.ts +15 -4
  106. package/dist/es2015/common/models/theme-color.js +4 -0
  107. package/{common/models/size.d.ts → dist/es2015/common/models.d.ts} +6 -10
  108. package/dist/es2015/common/models.js +4 -0
  109. package/{direction.d.ts → dist/es2015/direction.d.ts} +0 -0
  110. package/dist/es2015/direction.js +4 -0
  111. package/{dropdownbutton → dist/es2015/dropdownbutton}/dropdownbutton.component.d.ts +74 -29
  112. package/{esm2015 → dist/es2015}/dropdownbutton/dropdownbutton.component.js +257 -179
  113. package/dist/es2015/dropdownbutton/dropdownbutton.module.d.ts +14 -0
  114. package/dist/es2015/dropdownbutton/dropdownbutton.module.js +29 -0
  115. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/animations/animations.d.ts +0 -0
  116. package/{esm2015 → dist/es2015}/floatingactionbutton/animations/animations.js +0 -0
  117. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/dial-item.component.d.ts +5 -8
  118. package/dist/es2015/floatingactionbutton/dial-item.component.js +133 -0
  119. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/dial-list.component.d.ts +2 -5
  120. package/dist/es2015/floatingactionbutton/dial-list.component.js +81 -0
  121. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/floatingactionbutton.component.d.ts +47 -49
  122. package/{esm2015 → dist/es2015}/floatingactionbutton/floatingactionbutton.component.js +212 -192
  123. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/floatingactionbutton.module.d.ts +0 -13
  124. package/{esm2015 → dist/es2015}/floatingactionbutton/floatingactionbutton.module.js +11 -19
  125. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/align.d.ts +0 -0
  126. package/dist/es2015/floatingactionbutton/models/align.js +4 -0
  127. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item-animation.interface.d.ts +0 -0
  128. package/dist/es2015/floatingactionbutton/models/item-animation.interface.js +4 -0
  129. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item-click.event.d.ts +0 -0
  130. package/dist/es2015/floatingactionbutton/models/item-click.event.js +4 -0
  131. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/item.interface.d.ts +0 -0
  132. package/dist/es2015/floatingactionbutton/models/item.interface.js +4 -0
  133. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/offset.d.ts +0 -0
  134. package/dist/es2015/floatingactionbutton/models/offset.js +4 -0
  135. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/models/position-mode.d.ts +0 -0
  136. package/dist/es2015/floatingactionbutton/models/position-mode.js +4 -0
  137. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/templates/dial-item-template.directive.d.ts +0 -3
  138. package/dist/es2015/floatingactionbutton/templates/dial-item-template.directive.js +25 -0
  139. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/templates/fab-template.directive.d.ts +0 -3
  140. package/dist/es2015/floatingactionbutton/templates/fab-template.directive.js +25 -0
  141. package/{floatingactionbutton → dist/es2015/floatingactionbutton}/utils.d.ts +0 -0
  142. package/{esm2015 → dist/es2015}/floatingactionbutton/utils.js +0 -0
  143. package/{focusable → dist/es2015/focusable}/focus.service.d.ts +1 -5
  144. package/{esm2015 → dist/es2015}/focusable/focus.service.js +10 -8
  145. package/{focusable → dist/es2015/focusable}/focusable.directive.d.ts +0 -3
  146. package/{esm2015 → dist/es2015}/focusable/focusable.directive.js +20 -19
  147. package/dist/es2015/index.d.ts +22 -0
  148. package/dist/es2015/index.js +22 -0
  149. package/dist/es2015/index.metadata.json +1 -0
  150. package/{listbutton → dist/es2015/listbutton}/button-item-template.directive.d.ts +0 -3
  151. package/{esm2015 → dist/es2015}/listbutton/button-item-template.directive.js +12 -13
  152. package/{listbutton → dist/es2015/listbutton}/list-button.d.ts +2 -6
  153. package/{esm2015 → dist/es2015}/listbutton/list-button.js +6 -16
  154. package/{listbutton → dist/es2015/listbutton}/list-item-model.d.ts +0 -0
  155. package/dist/es2015/listbutton/list-item-model.js +4 -0
  156. package/{listbutton → dist/es2015/listbutton}/list.component.d.ts +3 -3
  157. package/dist/es2015/listbutton/list.component.js +113 -0
  158. package/dist/es2015/listbutton/list.module.d.ts +9 -0
  159. package/dist/es2015/listbutton/list.module.js +30 -0
  160. package/{listbutton → dist/es2015/listbutton}/popup-settings.d.ts +0 -0
  161. package/dist/es2015/listbutton/popup-settings.js +4 -0
  162. package/{listbutton → dist/es2015/listbutton}/template-context.directive.d.ts +1 -4
  163. package/dist/es2015/listbutton/template-context.directive.js +35 -0
  164. package/{main.d.ts → dist/es2015/main.d.ts} +5 -9
  165. package/dist/es2015/main.js +22 -0
  166. package/{navigation → dist/es2015/navigation}/key-events.d.ts +0 -0
  167. package/dist/es2015/navigation/key-events.js +13 -0
  168. package/{navigation → dist/es2015/navigation}/navigation-action.d.ts +0 -0
  169. package/dist/es2015/navigation/navigation-action.js +19 -0
  170. package/{navigation → dist/es2015/navigation}/navigation-config.d.ts +0 -0
  171. package/{esm2015 → dist/es2015}/navigation/navigation-config.js +0 -0
  172. package/{navigation → dist/es2015/navigation}/navigation.service.d.ts +0 -3
  173. package/{esm2015 → dist/es2015}/navigation/navigation.service.js +9 -11
  174. package/{package-metadata.d.ts → dist/es2015/package-metadata.d.ts} +0 -0
  175. package/{esm2015 → dist/es2015}/package-metadata.js +1 -1
  176. package/{preventable-event.d.ts → dist/es2015/preventable-event.d.ts} +0 -0
  177. package/{esm2015 → dist/es2015}/preventable-event.js +0 -0
  178. package/dist/es2015/splitbutton/localization/custom-messages.component.d.ts +15 -0
  179. package/dist/es2015/splitbutton/localization/custom-messages.component.js +36 -0
  180. package/dist/es2015/splitbutton/localization/localized-messages.directive.d.ts +13 -0
  181. package/dist/es2015/splitbutton/localization/localized-messages.directive.js +31 -0
  182. package/dist/es2015/splitbutton/localization/messages.d.ts +32 -0
  183. package/dist/es2015/splitbutton/localization/messages.js +16 -0
  184. package/{splitbutton → dist/es2015/splitbutton}/splitbutton.component.d.ts +74 -34
  185. package/{esm2015 → dist/es2015}/splitbutton/splitbutton.component.js +288 -203
  186. package/dist/es2015/splitbutton/splitbutton.module.d.ts +14 -0
  187. package/dist/es2015/splitbutton/splitbutton.module.js +31 -0
  188. package/dist/es2015/util.d.ts +41 -0
  189. package/dist/es2015/util.js +95 -0
  190. package/{fesm2015/kendo-angular-buttons.js → dist/fesm2015/index.js} +2394 -1838
  191. package/dist/fesm5/index.js +5561 -0
  192. package/dist/npm/button/button.directive.js +771 -0
  193. package/dist/npm/button/button.module.js +52 -0
  194. package/dist/npm/button/button.service.js +26 -0
  195. package/dist/npm/button/selection-settings.js +6 -0
  196. package/dist/npm/buttongroup/buttongroup.component.js +355 -0
  197. package/dist/npm/buttongroup/buttongroup.module.js +32 -0
  198. package/dist/npm/buttons.module.js +56 -0
  199. package/dist/npm/chip/chip-content-click-event-args.interface.js +6 -0
  200. package/dist/npm/chip/chip-list-remove-event-args.interface.js +6 -0
  201. package/dist/npm/chip/chip-list.component.js +216 -0
  202. package/dist/npm/chip/chip-remove-event-args.interface.js +6 -0
  203. package/dist/npm/chip/chip.component.js +451 -0
  204. package/dist/npm/chip/chip.module.js +57 -0
  205. package/dist/npm/chip/models/selection.js +6 -0
  206. package/dist/npm/common/models/fillmode.js +6 -0
  207. package/dist/npm/common/models/rounded.js +6 -0
  208. package/dist/npm/common/models/shape.js +6 -0
  209. package/dist/npm/common/models/size.js +6 -0
  210. package/dist/npm/common/models/styling-classes.js +6 -0
  211. package/dist/npm/common/models/theme-color.js +6 -0
  212. package/dist/npm/common/models.js +6 -0
  213. package/dist/npm/direction.js +6 -0
  214. package/dist/npm/dropdownbutton/dropdownbutton.component.js +706 -0
  215. package/dist/npm/dropdownbutton/dropdownbutton.module.js +34 -0
  216. package/dist/npm/floatingactionbutton/animations/animations.js +37 -0
  217. package/dist/npm/floatingactionbutton/dial-item.component.js +145 -0
  218. package/dist/npm/floatingactionbutton/dial-list.component.js +78 -0
  219. package/dist/npm/floatingactionbutton/floatingactionbutton.component.js +905 -0
  220. package/dist/npm/floatingactionbutton/floatingactionbutton.module.js +67 -0
  221. package/dist/npm/floatingactionbutton/models/align.js +6 -0
  222. package/dist/npm/floatingactionbutton/models/item-animation.interface.js +6 -0
  223. package/dist/npm/floatingactionbutton/models/item-click.event.js +6 -0
  224. package/dist/npm/floatingactionbutton/models/item.interface.js +6 -0
  225. package/dist/npm/floatingactionbutton/models/offset.js +6 -0
  226. package/dist/npm/floatingactionbutton/models/position-mode.js +6 -0
  227. package/dist/npm/floatingactionbutton/templates/dial-item-template.directive.js +28 -0
  228. package/dist/npm/floatingactionbutton/templates/fab-template.directive.js +28 -0
  229. package/dist/npm/floatingactionbutton/utils.js +42 -0
  230. package/dist/npm/focusable/focus.service.js +45 -0
  231. package/dist/npm/focusable/focusable.directive.js +70 -0
  232. package/dist/npm/index.js +39 -0
  233. package/dist/npm/listbutton/button-item-template.directive.js +70 -0
  234. package/dist/npm/listbutton/list-button.js +245 -0
  235. package/dist/npm/listbutton/list-item-model.js +6 -0
  236. package/dist/npm/listbutton/list.component.js +87 -0
  237. package/dist/npm/listbutton/list.module.js +35 -0
  238. package/dist/npm/listbutton/popup-settings.js +6 -0
  239. package/dist/npm/listbutton/template-context.directive.js +42 -0
  240. package/dist/npm/main.js +45 -0
  241. package/dist/npm/navigation/key-events.js +15 -0
  242. package/dist/npm/navigation/navigation-action.js +21 -0
  243. package/dist/npm/navigation/navigation-config.js +11 -0
  244. package/dist/npm/navigation/navigation.service.js +116 -0
  245. package/dist/npm/package-metadata.js +17 -0
  246. package/dist/npm/preventable-event.js +31 -0
  247. package/dist/npm/splitbutton/localization/custom-messages.component.js +46 -0
  248. package/dist/npm/splitbutton/localization/localized-messages.directive.js +37 -0
  249. package/dist/npm/splitbutton/localization/messages.js +24 -0
  250. package/dist/npm/splitbutton/splitbutton.component.js +832 -0
  251. package/dist/npm/splitbutton/splitbutton.module.js +36 -0
  252. package/dist/npm/util.js +100 -0
  253. package/dist/systemjs/kendo-angular-buttons.js +5 -0
  254. package/package.json +110 -35
  255. package/schematics/ngAdd/index.js +2 -5
  256. package/schematics/ngAdd/index.js.map +1 -1
  257. package/bundles/kendo-angular-buttons.umd.js +0 -5
  258. package/button-look.d.ts +0 -21
  259. package/buttongroup/buttongroup.module.d.ts +0 -21
  260. package/chip/models/chip-look.d.ts +0 -18
  261. package/chip/models/type.d.ts +0 -21
  262. package/common/models/shape.d.ts +0 -16
  263. package/dropdownbutton/dropdownbutton.module.d.ts +0 -23
  264. package/esm2015/button/button.directive.js +0 -488
  265. package/esm2015/button/button.service.js +0 -28
  266. package/esm2015/buttongroup/buttongroup.module.js +0 -30
  267. package/esm2015/chip/chip-list.component.js +0 -145
  268. package/esm2015/chip/chip.component.js +0 -335
  269. package/esm2015/chip/models/chip-look.js +0 -5
  270. package/esm2015/chip/models/type.js +0 -5
  271. package/esm2015/dropdownbutton/dropdownbutton.module.js +0 -32
  272. package/esm2015/floatingactionbutton/dial-item.component.js +0 -126
  273. package/esm2015/floatingactionbutton/dial-list.component.js +0 -89
  274. package/esm2015/floatingactionbutton/templates/dial-item-template.directive.js +0 -27
  275. package/esm2015/floatingactionbutton/templates/fab-template.directive.js +0 -27
  276. package/esm2015/listbutton/list.component.js +0 -120
  277. package/esm2015/listbutton/list.module.js +0 -39
  278. package/esm2015/listbutton/template-context.directive.js +0 -33
  279. package/esm2015/splitbutton/splitbutton.module.js +0 -32
  280. package/esm2015/util.js +0 -39
  281. package/kendo-angular-buttons.d.ts +0 -9
  282. package/listbutton/list.module.d.ts +0 -18
  283. package/splitbutton/splitbutton.module.d.ts +0 -23
@@ -0,0 +1,47 @@
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 * as tslib_1 from "tslib";
6
+ import { NgModule } from '@angular/core';
7
+ import { ButtonDirective } from './button.directive';
8
+ /**
9
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
10
+ * definition for the Button directive.
11
+ *
12
+ * @example
13
+ *
14
+ * ```ts-no-run
15
+ * // Import the Button module
16
+ * import { ButtonModule } from '@progress/kendo-angular-buttons';
17
+ *
18
+ * // The browser platform with a compiler
19
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20
+ *
21
+ * import { NgModule } from '@angular/core';
22
+ *
23
+ * // Import the app component
24
+ * import { AppComponent } from './app.component';
25
+ *
26
+ * // Define the app module
27
+ * _@NgModule({
28
+ * declarations: [AppComponent], // declare app component
29
+ * imports: [BrowserModule, ButtonModule], // import Button module
30
+ * bootstrap: [AppComponent]
31
+ * })
32
+ * export class AppModule {}
33
+ *
34
+ * // Compile and launch the module
35
+ * platformBrowserDynamic().bootstrapModule(AppModule);
36
+ *
37
+ * ```
38
+ */
39
+ let ButtonModule = class ButtonModule {
40
+ };
41
+ ButtonModule = tslib_1.__decorate([
42
+ NgModule({
43
+ declarations: [ButtonDirective],
44
+ exports: [ButtonDirective]
45
+ })
46
+ ], ButtonModule);
47
+ export { ButtonModule };
@@ -2,19 +2,13 @@
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 { Observable, BehaviorSubject, Subject } from 'rxjs';
5
+ import { Observable, Subject } from 'rxjs';
6
6
  import { ButtonDirective } from "./button.directive";
7
- import { ButtonLook } from '../button-look';
8
- import * as i0 from "@angular/core";
9
7
  /**
10
8
  * @hidden
11
9
  */
12
10
  export declare class KendoButtonService {
13
- buttonLookChange: BehaviorSubject<ButtonLook>;
14
11
  buttonClicked: Subject<ButtonDirective>;
15
12
  buttonClicked$: Observable<ButtonDirective>;
16
13
  click(button: ButtonDirective): void;
17
- setButtonLook(look: ButtonLook): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<KendoButtonService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<KendoButtonService>;
20
14
  }
@@ -0,0 +1,26 @@
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 * as tslib_1 from "tslib";
6
+ import { Injectable } from '@angular/core';
7
+ import { Subject } from 'rxjs';
8
+ /**
9
+ * @hidden
10
+ */
11
+ let KendoButtonService = class KendoButtonService {
12
+ /**
13
+ * @hidden
14
+ */
15
+ constructor() {
16
+ this.buttonClicked = new Subject();
17
+ this.buttonClicked$ = this.buttonClicked.asObservable();
18
+ }
19
+ click(button) {
20
+ this.buttonClicked.next(button);
21
+ }
22
+ };
23
+ KendoButtonService = tslib_1.__decorate([
24
+ Injectable()
25
+ ], KendoButtonService);
26
+ export { KendoButtonService };
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/
@@ -7,9 +7,7 @@ import { EventEmitter, QueryList, OnInit, OnDestroy, AfterContentChecked, AfterV
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { ButtonGroupSelection } from '../button/selection-settings';
9
9
  import { KendoButtonService } from '../button/button.service';
10
- import { ButtonLook } from '../button-look';
11
10
  import { PreventableEvent } from '../preventable-event';
12
- import * as i0 from "@angular/core";
13
11
  /**
14
12
  * Represents the Kendo UI ButtonGroup component for Angular.
15
13
  */
@@ -40,22 +38,10 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
40
38
  * - The buttons acquire the same width.
41
39
  */
42
40
  width: string;
43
- /**
44
- * Changes the visual appearance by using alternative styling options
45
- * ([more information and examples]({% slug styling_buttongroup %})).
46
- * The `look` property of the ButtonGroup takes precedence over the `look` property
47
- * of the individual buttons that are part of the group.
48
- *
49
- * The available values are:
50
- * * `flat`
51
- * * `outline`
52
- */
53
- look: ButtonLook;
54
41
  /**
55
42
  * Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
56
43
  */
57
- set tabIndex(value: number);
58
- get tabIndex(): number;
44
+ tabIndex: number;
59
45
  /**
60
46
  * Fires every time keyboard navigation occurs.
61
47
  */
@@ -66,17 +52,14 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
66
52
  private direction;
67
53
  private subscription;
68
54
  private localizationChangeSubscription;
69
- get wrapperClass(): boolean;
70
- get disabledClass(): boolean;
71
- get stretchedClass(): boolean;
72
- get isFlat(): boolean;
73
- get isBare(): boolean;
74
- get isOutline(): boolean;
75
- get getRole(): string;
76
- get dir(): string;
77
- get ariaDisabled(): boolean;
78
- get wrapperWidth(): string;
79
- get wrapperTabIndex(): number;
55
+ readonly wrapperClass: boolean;
56
+ readonly disabledClass: boolean;
57
+ readonly stretchedClass: boolean;
58
+ readonly getRole: string;
59
+ readonly dir: string;
60
+ readonly ariaDisabled: boolean;
61
+ readonly wrapperWidth: string;
62
+ readonly wrapperTabIndex: number;
80
63
  /**
81
64
  * @hidden
82
65
  */
@@ -103,6 +86,4 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
103
86
  protected focus(buttons: Array<ButtonDirective>): void;
104
87
  private verifySettings;
105
88
  private isSelectionSingle;
106
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
107
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "look": "look"; "tabIndex": "tabIndex"; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton]"]>;
108
89
  }
@@ -2,16 +2,16 @@
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";
5
6
  import { ButtonDirective } from '../button/button.directive';
6
- import { Component, EventEmitter, Output, Input, ContentChildren, HostBinding, HostListener, isDevMode } from '@angular/core';
7
+ import { Component, EventEmitter, Output, Input, ContentChildren, QueryList, HostBinding, HostListener, isDevMode, ElementRef } from '@angular/core';
7
8
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
8
9
  import { isChanged, Keys } from '@progress/kendo-angular-common';
9
10
  import { KendoButtonService } from '../button/button.service';
10
11
  import { isPresent } from '../util';
11
12
  import { PreventableEvent } from '../preventable-event';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "../button/button.service";
14
- import * as i2 from "@progress/kendo-angular-l10n";
13
+ import { packageMetadata } from '../package-metadata';
14
+ import { validatePackage } from '@progress/kendo-licensing';
15
15
  /**
16
16
  * @hidden
17
17
  */
@@ -19,7 +19,7 @@ const tabindex = 'tabindex';
19
19
  /**
20
20
  * Represents the Kendo UI ButtonGroup component for Angular.
21
21
  */
22
- export class ButtonGroupComponent {
22
+ let ButtonGroupComponent = class ButtonGroupComponent {
23
23
  constructor(service, localization, element) {
24
24
  this.service = service;
25
25
  this.element = element;
@@ -27,23 +27,13 @@ export class ButtonGroupComponent {
27
27
  * By default, the selection mode of the ButtonGroup is set to `multiple`.
28
28
  */
29
29
  this.selection = 'multiple';
30
- /**
31
- * Changes the visual appearance by using alternative styling options
32
- * ([more information and examples]({% slug styling_buttongroup %})).
33
- * The `look` property of the ButtonGroup takes precedence over the `look` property
34
- * of the individual buttons that are part of the group.
35
- *
36
- * The available values are:
37
- * * `flat`
38
- * * `outline`
39
- */
40
- this.look = 'default';
41
30
  /**
42
31
  * Fires every time keyboard navigation occurs.
43
32
  */
44
33
  this.navigate = new EventEmitter();
45
34
  this._tabIndex = 0;
46
35
  this.currentTabIndex = 0;
36
+ validatePackage(packageMetadata);
47
37
  this.localizationChangeSubscription = localization.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr');
48
38
  }
49
39
  /**
@@ -65,15 +55,6 @@ export class ButtonGroupComponent {
65
55
  get stretchedClass() {
66
56
  return !!this.width;
67
57
  }
68
- get isFlat() {
69
- return this.look === 'flat';
70
- }
71
- get isBare() {
72
- return this.look === 'bare';
73
- }
74
- get isOutline() {
75
- return this.look === 'outline';
76
- }
77
58
  get getRole() {
78
59
  return this.isSelectionSingle() ? 'radiogroup' : 'group';
79
60
  }
@@ -118,7 +99,6 @@ export class ButtonGroupComponent {
118
99
  }
119
100
  }
120
101
  ngOnInit() {
121
- this.service.setButtonLook(this.look);
122
102
  this.subscription = this.service.buttonClicked$.subscribe((button) => {
123
103
  let newSelectionValue;
124
104
  if (this.isSelectionSingle()) {
@@ -132,7 +112,7 @@ export class ButtonGroupComponent {
132
112
  if (button.togglable) {
133
113
  button.setSelected(newSelectionValue);
134
114
  }
135
- button.setAttribute(tabindex, "0");
115
+ button.setAttribute(tabindex, '0');
136
116
  });
137
117
  }
138
118
  ngOnChanges(change) {
@@ -147,10 +127,10 @@ export class ButtonGroupComponent {
147
127
  ngAfterContentInit() {
148
128
  this.buttons.forEach((button) => {
149
129
  if (button.selected) {
150
- button.setAttribute(tabindex, "0");
130
+ button.setAttribute(tabindex, '0');
151
131
  }
152
132
  else {
153
- button.setAttribute(tabindex, "-1");
133
+ button.setAttribute(tabindex, '-1');
154
134
  }
155
135
  });
156
136
  }
@@ -194,24 +174,24 @@ export class ButtonGroupComponent {
194
174
  deactivate(buttons) {
195
175
  buttons.forEach((button) => {
196
176
  button.setSelected(false);
197
- button.setAttribute(tabindex, "-1");
177
+ button.setAttribute(tabindex, '-1');
198
178
  });
199
179
  }
200
180
  activate(buttons) {
201
181
  buttons.forEach((button) => {
202
182
  button.setSelected(true);
203
- button.setAttribute(tabindex, "0");
183
+ button.setAttribute(tabindex, '0');
204
184
  button.focus();
205
185
  });
206
186
  }
207
187
  defocus(buttons) {
208
188
  buttons.forEach((button) => {
209
- button.setAttribute(tabindex, "-1");
189
+ button.setAttribute(tabindex, '-1');
210
190
  });
211
191
  }
212
192
  focus(buttons) {
213
193
  buttons.forEach((button) => {
214
- button.setAttribute(tabindex, "0");
194
+ button.setAttribute(tabindex, '0');
215
195
  button.focus();
216
196
  });
217
197
  }
@@ -225,93 +205,108 @@ export class ButtonGroupComponent {
225
205
  isSelectionSingle() {
226
206
  return this.selection === 'single';
227
207
  }
228
- }
229
- ButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonGroupComponent, deps: [{ token: i1.KendoButtonService }, { token: i2.LocalizationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
230
- ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", look: "look", tabIndex: "tabIndex" }, outputs: { navigate: "navigate" }, host: { listeners: { "keydown": "keydown($event)", "focus": "onFocus()", "focusout": "focusout($event)" }, properties: { "class.k-button-group": "this.wrapperClass", "class.k-state-disabled": "this.disabledClass", "class.k-button-group-stretched": "this.stretchedClass", "class.k-button-group-flat": "this.isFlat", "class.k-button-group-bare": "this.isBare", "class.k-button-group-outline": "this.isOutline", "attr.role": "this.getRole", "attr.dir": "this.dir", "attr.aria-disabled": "this.ariaDisabled", "style.width": "this.wrapperWidth", "attr.tabindex": "this.wrapperTabIndex" } }, providers: [
231
- KendoButtonService,
232
- LocalizationService,
233
- {
234
- provide: L10N_PREFIX,
235
- useValue: 'kendo.buttongroup'
236
- }
237
- ], queries: [{ propertyName: "buttons", predicate: ButtonDirective }], exportAs: ["kendoButtonGroup"], usesOnChanges: true, ngImport: i0, template: `
238
- <ng-content select="[kendoButton]"></ng-content>
239
- `, isInline: true });
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonGroupComponent, decorators: [{
241
- type: Component,
242
- args: [{
243
- exportAs: 'kendoButtonGroup',
244
- providers: [
245
- KendoButtonService,
246
- LocalizationService,
247
- {
248
- provide: L10N_PREFIX,
249
- useValue: 'kendo.buttongroup'
250
- }
251
- ],
252
- selector: 'kendo-buttongroup',
253
- template: `
208
+ };
209
+ tslib_1.__decorate([
210
+ Input('disabled'),
211
+ tslib_1.__metadata("design:type", Boolean)
212
+ ], ButtonGroupComponent.prototype, "disabled", void 0);
213
+ tslib_1.__decorate([
214
+ Input('selection'),
215
+ tslib_1.__metadata("design:type", String)
216
+ ], ButtonGroupComponent.prototype, "selection", void 0);
217
+ tslib_1.__decorate([
218
+ Input('width'),
219
+ tslib_1.__metadata("design:type", String)
220
+ ], ButtonGroupComponent.prototype, "width", void 0);
221
+ tslib_1.__decorate([
222
+ Input(),
223
+ tslib_1.__metadata("design:type", Number),
224
+ tslib_1.__metadata("design:paramtypes", [Number])
225
+ ], ButtonGroupComponent.prototype, "tabIndex", null);
226
+ tslib_1.__decorate([
227
+ Output(),
228
+ tslib_1.__metadata("design:type", EventEmitter)
229
+ ], ButtonGroupComponent.prototype, "navigate", void 0);
230
+ tslib_1.__decorate([
231
+ ContentChildren(ButtonDirective),
232
+ tslib_1.__metadata("design:type", QueryList)
233
+ ], ButtonGroupComponent.prototype, "buttons", void 0);
234
+ tslib_1.__decorate([
235
+ HostBinding('class.k-button-group'),
236
+ tslib_1.__metadata("design:type", Boolean),
237
+ tslib_1.__metadata("design:paramtypes", [])
238
+ ], ButtonGroupComponent.prototype, "wrapperClass", null);
239
+ tslib_1.__decorate([
240
+ HostBinding('class.k-disabled'),
241
+ tslib_1.__metadata("design:type", Boolean),
242
+ tslib_1.__metadata("design:paramtypes", [])
243
+ ], ButtonGroupComponent.prototype, "disabledClass", null);
244
+ tslib_1.__decorate([
245
+ HostBinding('class.k-button-group-stretched'),
246
+ tslib_1.__metadata("design:type", Boolean),
247
+ tslib_1.__metadata("design:paramtypes", [])
248
+ ], ButtonGroupComponent.prototype, "stretchedClass", null);
249
+ tslib_1.__decorate([
250
+ HostBinding('attr.role'),
251
+ tslib_1.__metadata("design:type", String),
252
+ tslib_1.__metadata("design:paramtypes", [])
253
+ ], ButtonGroupComponent.prototype, "getRole", null);
254
+ tslib_1.__decorate([
255
+ HostBinding('attr.dir'),
256
+ tslib_1.__metadata("design:type", String),
257
+ tslib_1.__metadata("design:paramtypes", [])
258
+ ], ButtonGroupComponent.prototype, "dir", null);
259
+ tslib_1.__decorate([
260
+ HostBinding('attr.aria-disabled'),
261
+ tslib_1.__metadata("design:type", Boolean),
262
+ tslib_1.__metadata("design:paramtypes", [])
263
+ ], ButtonGroupComponent.prototype, "ariaDisabled", null);
264
+ tslib_1.__decorate([
265
+ HostBinding('style.width'),
266
+ tslib_1.__metadata("design:type", String),
267
+ tslib_1.__metadata("design:paramtypes", [])
268
+ ], ButtonGroupComponent.prototype, "wrapperWidth", null);
269
+ tslib_1.__decorate([
270
+ HostBinding('attr.tabindex'),
271
+ tslib_1.__metadata("design:type", Number),
272
+ tslib_1.__metadata("design:paramtypes", [])
273
+ ], ButtonGroupComponent.prototype, "wrapperTabIndex", null);
274
+ tslib_1.__decorate([
275
+ HostListener('keydown', ['$event']),
276
+ tslib_1.__metadata("design:type", Function),
277
+ tslib_1.__metadata("design:paramtypes", [Object]),
278
+ tslib_1.__metadata("design:returntype", void 0)
279
+ ], ButtonGroupComponent.prototype, "keydown", null);
280
+ tslib_1.__decorate([
281
+ HostListener('focus'),
282
+ tslib_1.__metadata("design:type", Function),
283
+ tslib_1.__metadata("design:paramtypes", []),
284
+ tslib_1.__metadata("design:returntype", void 0)
285
+ ], ButtonGroupComponent.prototype, "onFocus", null);
286
+ tslib_1.__decorate([
287
+ HostListener('focusout', ['$event']),
288
+ tslib_1.__metadata("design:type", Function),
289
+ tslib_1.__metadata("design:paramtypes", [Object]),
290
+ tslib_1.__metadata("design:returntype", void 0)
291
+ ], ButtonGroupComponent.prototype, "focusout", null);
292
+ ButtonGroupComponent = tslib_1.__decorate([
293
+ Component({
294
+ exportAs: 'kendoButtonGroup',
295
+ providers: [
296
+ KendoButtonService,
297
+ LocalizationService,
298
+ {
299
+ provide: L10N_PREFIX,
300
+ useValue: 'kendo.buttongroup'
301
+ }
302
+ ],
303
+ selector: 'kendo-buttongroup',
304
+ template: `
254
305
  <ng-content select="[kendoButton]"></ng-content>
255
306
  `
256
- }]
257
- }], ctorParameters: function () { return [{ type: i1.KendoButtonService }, { type: i2.LocalizationService }, { type: i0.ElementRef }]; }, propDecorators: { disabled: [{
258
- type: Input,
259
- args: ['disabled']
260
- }], selection: [{
261
- type: Input,
262
- args: ['selection']
263
- }], width: [{
264
- type: Input,
265
- args: ['width']
266
- }], look: [{
267
- type: Input
268
- }], tabIndex: [{
269
- type: Input
270
- }], navigate: [{
271
- type: Output
272
- }], buttons: [{
273
- type: ContentChildren,
274
- args: [ButtonDirective]
275
- }], wrapperClass: [{
276
- type: HostBinding,
277
- args: ['class.k-button-group']
278
- }], disabledClass: [{
279
- type: HostBinding,
280
- args: ['class.k-state-disabled']
281
- }], stretchedClass: [{
282
- type: HostBinding,
283
- args: ['class.k-button-group-stretched']
284
- }], isFlat: [{
285
- type: HostBinding,
286
- args: ['class.k-button-group-flat']
287
- }], isBare: [{
288
- type: HostBinding,
289
- args: ['class.k-button-group-bare']
290
- }], isOutline: [{
291
- type: HostBinding,
292
- args: ['class.k-button-group-outline']
293
- }], getRole: [{
294
- type: HostBinding,
295
- args: ['attr.role']
296
- }], dir: [{
297
- type: HostBinding,
298
- args: ['attr.dir']
299
- }], ariaDisabled: [{
300
- type: HostBinding,
301
- args: ['attr.aria-disabled']
302
- }], wrapperWidth: [{
303
- type: HostBinding,
304
- args: ['style.width']
305
- }], wrapperTabIndex: [{
306
- type: HostBinding,
307
- args: ['attr.tabindex']
308
- }], keydown: [{
309
- type: HostListener,
310
- args: ['keydown', ['$event']]
311
- }], onFocus: [{
312
- type: HostListener,
313
- args: ['focus']
314
- }], focusout: [{
315
- type: HostListener,
316
- args: ['focusout', ['$event']]
317
- }] } });
307
+ }),
308
+ tslib_1.__metadata("design:paramtypes", [KendoButtonService,
309
+ LocalizationService,
310
+ ElementRef])
311
+ ], ButtonGroupComponent);
312
+ export { ButtonGroupComponent };
@@ -0,0 +1,14 @@
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
+ /**
6
+ * @hidden
7
+ *
8
+ * The exported package module.
9
+ *
10
+ * The package exports:
11
+ * - `ButtonGroupComponent`&mdash;The ButtonGroupComponent component class.
12
+ */
13
+ export declare class ButtonGroupModule {
14
+ }
@@ -0,0 +1,27 @@
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 * as tslib_1 from "tslib";
6
+ import { NgModule } from '@angular/core';
7
+ import { CommonModule } from '@angular/common';
8
+ import { ButtonModule } from '../button/button.module';
9
+ import { ButtonGroupComponent } from './buttongroup.component';
10
+ /**
11
+ * @hidden
12
+ *
13
+ * The exported package module.
14
+ *
15
+ * The package exports:
16
+ * - `ButtonGroupComponent`&mdash;The ButtonGroupComponent component class.
17
+ */
18
+ let ButtonGroupModule = class ButtonGroupModule {
19
+ };
20
+ ButtonGroupModule = tslib_1.__decorate([
21
+ NgModule({
22
+ declarations: [ButtonGroupComponent],
23
+ exports: [ButtonGroupComponent],
24
+ imports: [CommonModule, ButtonModule]
25
+ })
26
+ ], ButtonGroupModule);
27
+ export { ButtonGroupModule };
@@ -2,13 +2,6 @@
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 i0 from "@angular/core";
6
- import * as i1 from "./buttongroup/buttongroup.module";
7
- import * as i2 from "./button/button.module";
8
- import * as i3 from "./splitbutton/splitbutton.module";
9
- import * as i4 from "./dropdownbutton/dropdownbutton.module";
10
- import * as i5 from "./chip/chip.module";
11
- import * as i6 from "./floatingactionbutton/floatingactionbutton.module";
12
5
  /**
13
6
  * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
14
7
  * definition for the Buttons components.
@@ -41,7 +34,4 @@ import * as i6 from "./floatingactionbutton/floatingactionbutton.module";
41
34
  * ```
42
35
  */
43
36
  export declare class ButtonsModule {
44
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonsModule, never, never, [typeof i1.ButtonGroupModule, typeof i2.ButtonModule, typeof i3.SplitButtonModule, typeof i4.DropDownButtonModule, typeof i5.ChipModule, typeof i6.FloatingActionButtonModule]>;
46
- static ɵinj: i0.ɵɵInjectorDeclaration<ButtonsModule>;
47
37
  }
@@ -0,0 +1,51 @@
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 * as tslib_1 from "tslib";
6
+ import { NgModule } from '@angular/core';
7
+ import { ButtonModule } from './button/button.module';
8
+ import { ButtonGroupModule } from './buttongroup/buttongroup.module';
9
+ import { SplitButtonModule } from './splitbutton/splitbutton.module';
10
+ import { DropDownButtonModule } from './dropdownbutton/dropdownbutton.module';
11
+ import { ChipModule } from './chip/chip.module';
12
+ import { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
13
+ /**
14
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
15
+ * definition for the Buttons components.
16
+ *
17
+ * @example
18
+ *
19
+ * ```ts-no-run
20
+ * // Import the Buttons module
21
+ * import { ButtonsModule } from '@progress/kendo-angular-buttons';
22
+ *
23
+ * // The browser platform with a compiler
24
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
25
+ *
26
+ * import { NgModule } from '@angular/core';
27
+ *
28
+ * // Import the app component
29
+ * import { AppComponent } from './app.component';
30
+ *
31
+ * // Define the app module
32
+ * _@NgModule({
33
+ * declarations: [AppComponent], // declare app component
34
+ * imports: [BrowserModule, ButtonsModule], // import Buttons module
35
+ * bootstrap: [AppComponent]
36
+ * })
37
+ * export class AppModule {}
38
+ *
39
+ * // Compile and launch the module
40
+ * platformBrowserDynamic().bootstrapModule(AppModule);
41
+ *
42
+ * ```
43
+ */
44
+ let ButtonsModule = class ButtonsModule {
45
+ };
46
+ ButtonsModule = tslib_1.__decorate([
47
+ NgModule({
48
+ exports: [ButtonGroupModule, ButtonModule, SplitButtonModule, DropDownButtonModule, ChipModule, FloatingActionButtonModule]
49
+ })
50
+ ], ButtonsModule);
51
+ export { ButtonsModule };
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/
@@ -0,0 +1,4 @@
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
+ *-------------------------------------------------------------------------------------------*/