@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
@@ -2,13 +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 { Component, EventEmitter, HostBinding, Input, Output, ViewChild, ContentChild } from '@angular/core';
5
+ import * as tslib_1 from "tslib";
6
+ import { AnimationBuilder } from '@angular/animations';
7
+ import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, Renderer2, ViewChild, ContentChild, TemplateRef } from '@angular/core';
6
8
  import { merge, Subscription } from 'rxjs';
7
9
  import { take } from 'rxjs/operators';
8
10
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
9
11
  import { validatePackage } from '@progress/kendo-licensing';
10
12
  import { packageMetadata } from '../package-metadata';
11
13
  import { guid, isDocumentAvailable } from '@progress/kendo-angular-common';
14
+ import { PopupService } from '@progress/kendo-angular-popup';
12
15
  import { FocusService } from '../focusable/focus.service';
13
16
  import { NavigationAction } from '../navigation/navigation-action';
14
17
  import { NAVIGATION_CONFIG } from '../navigation/navigation-config';
@@ -19,21 +22,13 @@ import { closeAnimation, openAnimation } from './animations/animations';
19
22
  import { PreventableEvent } from '../preventable-event';
20
23
  import { DialItemTemplateDirective } from './templates/dial-item-template.directive';
21
24
  import { FloatingActionButtonTemplateDirective } from './templates/fab-template.directive';
22
- import * as i0 from "@angular/core";
23
- import * as i1 from "../focusable/focus.service";
24
- import * as i2 from "../navigation/navigation.service";
25
- import * as i3 from "@progress/kendo-angular-popup";
26
- import * as i4 from "@angular/animations";
27
- import * as i5 from "@progress/kendo-angular-l10n";
28
- import * as i6 from "./dial-list.component";
29
- import * as i7 from "@angular/common";
30
- import * as i8 from "@progress/kendo-angular-common";
31
25
  const NAVIGATION_SETTINGS = {
32
26
  useLeftRightArrows: false
33
27
  };
28
+ const ɵ0 = NAVIGATION_SETTINGS;
34
29
  const NAVIGATION_SETTINGS_PROVIDER = {
35
30
  provide: NAVIGATION_CONFIG,
36
- useValue: NAVIGATION_SETTINGS
31
+ useValue: ɵ0
37
32
  };
38
33
  const SIZE_CLASSES = {
39
34
  small: 'k-fab-sm',
@@ -41,12 +36,16 @@ const SIZE_CLASSES = {
41
36
  large: 'k-fab-lg'
42
37
  };
43
38
  const SHAPE_CLASSES = {
44
- pill: 'k-fab-pill',
45
- circle: 'k-fab-circle',
46
39
  rectangle: 'k-fab-rectangle',
47
- square: 'k-fab-square',
48
- rounded: 'k-fab-rounded'
40
+ square: 'k-fab-square'
49
41
  };
42
+ const ROUNDED_CLASSES = {
43
+ small: 'k-rounded-sm',
44
+ medium: 'k-rounded-md',
45
+ large: 'k-rounded-lg',
46
+ full: 'k-rounded-full'
47
+ };
48
+ const FILLMODE_CLASS = 'k-fab-solid';
50
49
  const DEFAULT_DURATION = 180;
51
50
  const DEFAULT_ITEM_GAP = 90;
52
51
  const DEFAULT_OFFSET = '16px';
@@ -56,7 +55,7 @@ const DEFAULT_OFFSET = '16px';
56
55
  * Used to specify the primary or the most common action in an application.
57
56
  *
58
57
  */
59
- export class FloatingActionButtonComponent {
58
+ let FloatingActionButtonComponent = class FloatingActionButtonComponent {
60
59
  constructor(renderer, element, focusService, navigationService, ngZone, popupService, builder, localizationService) {
61
60
  this.renderer = renderer;
62
61
  this.element = element;
@@ -126,13 +125,15 @@ export class FloatingActionButtonComponent {
126
125
  this.id = `k-${guid()}`;
127
126
  this._themeColor = 'primary';
128
127
  this._size = 'medium';
129
- this._shape = 'pill';
128
+ this._shape = 'rectangle';
130
129
  this._disabled = false;
131
130
  this._align = { horizontal: 'end', vertical: 'bottom' };
132
131
  this._offset = { x: DEFAULT_OFFSET, y: DEFAULT_OFFSET };
132
+ this._rounded = 'full';
133
133
  this.subscriptions = new Subscription();
134
134
  this.rtl = false;
135
135
  this.animationEnd = new EventEmitter();
136
+ this.initialSetup = true;
136
137
  validatePackage(packageMetadata);
137
138
  this.subscribeNavigationEvents();
138
139
  this.subscriptions.add(this.localizationService.changes.subscribe(({ rtl }) => {
@@ -152,18 +153,16 @@ export class FloatingActionButtonComponent {
152
153
  * The theme color will be applied as background color of the component.
153
154
  *
154
155
  * The possible values are:
155
- * * `primary` (Default)—Applies coloring based on the `primary` theme color.
156
- * * `secondary`—Applies coloring based on the `secondary` theme color.
157
- * * `tertiary`— Applies coloring based on the `tertiary` theme color.
158
- * * `inherit`— Applies inherited coloring value.
159
- * * `info`—Applies coloring based on the `info` theme color.
160
- * * `success`— Applies coloring based on the `success` theme color.
161
- * * `warning`— Applies coloring based on the `warning` theme color.
162
- * * `error`— Applies coloring based on the `error` theme color.
163
- * * `dark`— Applies coloring based on the `dark` theme color.
164
- * * `light`— Applies coloring based on the `light` theme color.
165
- * * `inverse`— Applies coloring based on the `inverse` theme color.
166
- *
156
+ * * `'primary'` (Default)—Applies coloring based on the `primary` theme color.
157
+ * * `'secondary'`—Applies coloring based on the `secondary` theme color.
158
+ * * `'tertiary'`— Applies coloring based on the `tertiary` theme color.
159
+ * * `'info'`—Applies coloring based on the `info` theme color.
160
+ * * `'success'`— Applies coloring based on the `success` theme color.
161
+ * * `'warning'`— Applies coloring based on the `warning` theme color.
162
+ * * `'error'`— Applies coloring based on the `error` theme color.
163
+ * * `'dark'`— Applies coloring based on the `dark` theme color.
164
+ * * `'light'`— Applies coloring based on the `light` theme color.
165
+ * * `'inverse'`— Applies coloring based on the `inverse` theme color.
167
166
  */
168
167
  set themeColor(themeColor) {
169
168
  this.handleClasses(themeColor, 'themeColor');
@@ -177,10 +176,9 @@ export class FloatingActionButtonComponent {
177
176
  * ([see example]({% slug appearance_floatingactionbutton %}#toc-size)).
178
177
  *
179
178
  * The possible values are:
180
- * * `small`
181
- * * `medium` (Default)
182
- * * `large`
183
- *
179
+ * * `'small'`
180
+ * * `'medium'` (Default)
181
+ * * `'large'`
184
182
  */
185
183
  set size(size) {
186
184
  this.handleClasses(size, 'size');
@@ -189,15 +187,29 @@ export class FloatingActionButtonComponent {
189
187
  get size() {
190
188
  return this._size;
191
189
  }
190
+ /**
191
+ * The rounded property specifies the border radius of the FloatingActionButton.
192
+ *
193
+ * The possible values are:
194
+ * * `'small'`
195
+ * * `'medium'`
196
+ * * `'large'`
197
+ * * `'full'` (default)
198
+ * * `null`
199
+ */
200
+ set rounded(rounded) {
201
+ this.handleClasses(rounded, 'rounded');
202
+ this._rounded = rounded;
203
+ }
204
+ get rounded() {
205
+ return this._rounded;
206
+ }
192
207
  /**
193
208
  * Specifies the shape of the FloatingActionButton
194
209
  * ([see example]({% slug appearance_floatingactionbutton %}#toc-shape)).
195
210
  *
196
211
  * The possible values are:
197
- * * `pill` (Default)—Applies border radius equal to half of the height of the FloatingActionButton.
198
- * * `circle`—Applies circle shape on the FloatingActionButton.
199
- * * `rectangle`—Applies rectangular shape on the FloatingActionButton.
200
- * * `rounded`—Applies rounded shape on the FloatingActionButton.
212
+ * * `rectangle` (Default)—Applies rectangular shape on the FloatingActionButton.
201
213
  * * `square`—Applies square shape on the FloatingActionButton.
202
214
  *
203
215
  */
@@ -255,8 +267,10 @@ export class FloatingActionButtonComponent {
255
267
  return this.disabled ? (-1) : this.tabIndex;
256
268
  }
257
269
  ngAfterViewInit() {
258
- this.applyClasses();
270
+ ['shape', 'size', 'rounded', 'themeColor'].forEach(option => this.handleClasses(this[option], option));
271
+ this.renderer.addClass(this.element.nativeElement, this.alignClass());
259
272
  this.offsetStyles();
273
+ this.initialSetup = false;
260
274
  }
261
275
  ngOnDestroy() {
262
276
  this.subscriptions.unsubscribe();
@@ -398,20 +412,24 @@ export class FloatingActionButtonComponent {
398
412
  this.toggleDialWithEvents(false);
399
413
  }
400
414
  handleClasses(inputValue, input) {
401
- if (isPresent(this.button) && (this[input] !== inputValue)) {
415
+ if (isPresent(this.button) && (this[input] !== inputValue || this.initialSetup)) {
402
416
  const button = this.button.nativeElement;
403
417
  const classesToRemove = {
404
- themeColor: `k-fab-${this.themeColor}`,
418
+ themeColor: `${FILLMODE_CLASS}-${this.themeColor}`,
405
419
  size: SIZE_CLASSES[this.size],
406
- shape: SHAPE_CLASSES[this.shape]
420
+ shape: SHAPE_CLASSES[this.shape],
421
+ rounded: ROUNDED_CLASSES[this.rounded]
407
422
  };
408
423
  const classesToAdd = {
409
- themeColor: `k-fab-${inputValue}`,
424
+ themeColor: inputValue ? `${FILLMODE_CLASS}-${inputValue}` : null,
410
425
  size: SIZE_CLASSES[inputValue],
411
- shape: SHAPE_CLASSES[inputValue]
426
+ shape: SHAPE_CLASSES[inputValue],
427
+ rounded: ROUNDED_CLASSES[inputValue]
412
428
  };
413
429
  this.renderer.removeClass(button, classesToRemove[input]);
414
- this.renderer.addClass(button, classesToAdd[input]);
430
+ if (classesToAdd[input]) {
431
+ this.renderer.addClass(button, classesToAdd[input]);
432
+ }
415
433
  }
416
434
  }
417
435
  onEnterPressed() {
@@ -466,14 +484,6 @@ export class FloatingActionButtonComponent {
466
484
  alignClass() {
467
485
  return `k-pos-${this.align.vertical}-${this.align.horizontal}`;
468
486
  }
469
- applyClasses() {
470
- const hostElement = this.element.nativeElement;
471
- const button = this.button.nativeElement;
472
- this.renderer.addClass(button, SHAPE_CLASSES[this.shape]);
473
- this.renderer.addClass(button, `k-fab-${this.themeColor}`);
474
- this.renderer.addClass(button, SIZE_CLASSES[this.size]);
475
- this.renderer.addClass(hostElement, this.alignClass());
476
- }
477
487
  toggleDialWithEvents(open) {
478
488
  if (open === this.isOpen) {
479
489
  return;
@@ -652,86 +662,150 @@ export class FloatingActionButtonComponent {
652
662
  }
653
663
  return DEFAULT_DURATION;
654
664
  }
655
- }
656
- FloatingActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.FocusService }, { token: i2.NavigationService }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i4.AnimationBuilder }, { token: i5.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
657
- FloatingActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: FloatingActionButtonComponent, selector: "kendo-floatingactionbutton", inputs: { themeColor: "themeColor", size: "size", shape: "shape", disabled: "disabled", align: "align", offset: "offset", positionMode: "positionMode", icon: "icon", iconClass: "iconClass", buttonClass: "buttonClass", dialClass: "dialClass", text: "text", dialItemAnimation: "dialItemAnimation", tabIndex: "tabIndex", dialItems: "dialItems" }, outputs: { onBlur: "blur", onFocus: "focus", dialItemClick: "dialItemClick", open: "open", close: "close" }, host: { properties: { "class.k-pos-fixed": "this.fixedClass", "class.k-pos-absolute": "this.absoluteClass", "attr.dir": "this.direction" } }, providers: [
658
- FocusService,
659
- NavigationService,
660
- NAVIGATION_SETTINGS_PROVIDER,
661
- LocalizationService,
662
- {
663
- provide: L10N_PREFIX,
664
- useValue: 'kendo.floatingactionbutton'
665
- }
666
- ], queries: [{ propertyName: "dialItemTemplate", first: true, predicate: DialItemTemplateDirective, descendants: true, static: true }, { propertyName: "fabTemplate", first: true, predicate: FloatingActionButtonTemplateDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
667
- <button
668
- #button
669
- [attr.id]="id"
670
- [attr.role]="role"
671
- [tabIndex]="componentTabIndex"
672
- type="button"
673
- [class.k-fab]="true"
674
- [class.k-state-disabled]="disabled"
675
- [ngClass]="buttonClass"
676
- [disabled]="disabled"
677
- [attr.aria-disabled]="disabled"
678
- [attr.aria-expanded]="ariaExpanded"
679
- [attr.aria-haspopup]="ariaHasPopup"
680
- (focus)="focusHandler()"
681
- (blur)="blurHandler()"
682
- [kendoEventsOutsideAngular]="{
683
- keydown: keyDownHandler,
684
- click: clickHandler
685
- }"
686
- [scope]="this"
687
- >
688
- <ng-template *ngIf="fabTemplate"
689
- [ngTemplateOutlet]="fabTemplate?.templateRef"
690
- >
691
- </ng-template>
692
-
693
- <ng-container *ngIf="!fabTemplate">
694
- <span *ngIf="icon || iconClass" [ngClass]="iconClasses"></span>
695
- <span *ngIf="text" class="k-fab-text">{{ text }}</span>
696
- </ng-container>
697
- </button>
698
-
699
- <ng-template #popupTemplate>
700
- <ul
701
- kendoDialList
702
- [ngClass]="dialClass"
703
- [dialItems]="dialItems"
704
- [dialItemTemplate]='dialItemTemplate?.templateRef'
705
- [align]="align"
706
- [attr.aria-labelledby]="id"
707
- (click)="onItemClick($event)"
708
- >
709
- </ul>
710
- </ng-template>
711
- `, isInline: true, components: [{ type: i6.DialListComponent, selector: "[kendoDialList]", inputs: ["dialItems", "dialItemTemplate", "align"] }], directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
712
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonComponent, decorators: [{
713
- type: Component,
714
- args: [{
715
- selector: 'kendo-floatingactionbutton',
716
- providers: [
717
- FocusService,
718
- NavigationService,
719
- NAVIGATION_SETTINGS_PROVIDER,
720
- LocalizationService,
721
- {
722
- provide: L10N_PREFIX,
723
- useValue: 'kendo.floatingactionbutton'
724
- }
725
- ],
726
- template: `
665
+ };
666
+ tslib_1.__decorate([
667
+ HostBinding('class.k-pos-fixed'),
668
+ tslib_1.__metadata("design:type", Boolean),
669
+ tslib_1.__metadata("design:paramtypes", [])
670
+ ], FloatingActionButtonComponent.prototype, "fixedClass", null);
671
+ tslib_1.__decorate([
672
+ HostBinding('class.k-pos-absolute'),
673
+ tslib_1.__metadata("design:type", Boolean),
674
+ tslib_1.__metadata("design:paramtypes", [])
675
+ ], FloatingActionButtonComponent.prototype, "absoluteClass", null);
676
+ tslib_1.__decorate([
677
+ HostBinding('attr.dir'),
678
+ tslib_1.__metadata("design:type", String)
679
+ ], FloatingActionButtonComponent.prototype, "direction", void 0);
680
+ tslib_1.__decorate([
681
+ ViewChild('button', { static: true }),
682
+ tslib_1.__metadata("design:type", ElementRef)
683
+ ], FloatingActionButtonComponent.prototype, "button", void 0);
684
+ tslib_1.__decorate([
685
+ ViewChild('popupTemplate', { static: true }),
686
+ tslib_1.__metadata("design:type", TemplateRef)
687
+ ], FloatingActionButtonComponent.prototype, "popupTemplate", void 0);
688
+ tslib_1.__decorate([
689
+ ContentChild(DialItemTemplateDirective, { static: true }),
690
+ tslib_1.__metadata("design:type", DialItemTemplateDirective)
691
+ ], FloatingActionButtonComponent.prototype, "dialItemTemplate", void 0);
692
+ tslib_1.__decorate([
693
+ ContentChild(FloatingActionButtonTemplateDirective, { static: true }),
694
+ tslib_1.__metadata("design:type", FloatingActionButtonTemplateDirective)
695
+ ], FloatingActionButtonComponent.prototype, "fabTemplate", void 0);
696
+ tslib_1.__decorate([
697
+ Input(),
698
+ tslib_1.__metadata("design:type", String),
699
+ tslib_1.__metadata("design:paramtypes", [String])
700
+ ], FloatingActionButtonComponent.prototype, "themeColor", null);
701
+ tslib_1.__decorate([
702
+ Input(),
703
+ tslib_1.__metadata("design:type", String),
704
+ tslib_1.__metadata("design:paramtypes", [String])
705
+ ], FloatingActionButtonComponent.prototype, "size", null);
706
+ tslib_1.__decorate([
707
+ Input(),
708
+ tslib_1.__metadata("design:type", String),
709
+ tslib_1.__metadata("design:paramtypes", [String])
710
+ ], FloatingActionButtonComponent.prototype, "rounded", null);
711
+ tslib_1.__decorate([
712
+ Input(),
713
+ tslib_1.__metadata("design:type", String),
714
+ tslib_1.__metadata("design:paramtypes", [String])
715
+ ], FloatingActionButtonComponent.prototype, "shape", null);
716
+ tslib_1.__decorate([
717
+ Input(),
718
+ tslib_1.__metadata("design:type", Boolean),
719
+ tslib_1.__metadata("design:paramtypes", [Boolean])
720
+ ], FloatingActionButtonComponent.prototype, "disabled", null);
721
+ tslib_1.__decorate([
722
+ Input(),
723
+ tslib_1.__metadata("design:type", Object),
724
+ tslib_1.__metadata("design:paramtypes", [Object])
725
+ ], FloatingActionButtonComponent.prototype, "align", null);
726
+ tslib_1.__decorate([
727
+ Input(),
728
+ tslib_1.__metadata("design:type", Object),
729
+ tslib_1.__metadata("design:paramtypes", [Object])
730
+ ], FloatingActionButtonComponent.prototype, "offset", null);
731
+ tslib_1.__decorate([
732
+ Input(),
733
+ tslib_1.__metadata("design:type", String)
734
+ ], FloatingActionButtonComponent.prototype, "positionMode", void 0);
735
+ tslib_1.__decorate([
736
+ Input(),
737
+ tslib_1.__metadata("design:type", String)
738
+ ], FloatingActionButtonComponent.prototype, "icon", void 0);
739
+ tslib_1.__decorate([
740
+ Input(),
741
+ tslib_1.__metadata("design:type", String)
742
+ ], FloatingActionButtonComponent.prototype, "iconClass", void 0);
743
+ tslib_1.__decorate([
744
+ Input(),
745
+ tslib_1.__metadata("design:type", Object)
746
+ ], FloatingActionButtonComponent.prototype, "buttonClass", void 0);
747
+ tslib_1.__decorate([
748
+ Input(),
749
+ tslib_1.__metadata("design:type", Object)
750
+ ], FloatingActionButtonComponent.prototype, "dialClass", void 0);
751
+ tslib_1.__decorate([
752
+ Input(),
753
+ tslib_1.__metadata("design:type", String)
754
+ ], FloatingActionButtonComponent.prototype, "text", void 0);
755
+ tslib_1.__decorate([
756
+ Input(),
757
+ tslib_1.__metadata("design:type", Object)
758
+ ], FloatingActionButtonComponent.prototype, "dialItemAnimation", void 0);
759
+ tslib_1.__decorate([
760
+ Input(),
761
+ tslib_1.__metadata("design:type", Number)
762
+ ], FloatingActionButtonComponent.prototype, "tabIndex", void 0);
763
+ tslib_1.__decorate([
764
+ Input(),
765
+ tslib_1.__metadata("design:type", Array)
766
+ ], FloatingActionButtonComponent.prototype, "dialItems", void 0);
767
+ tslib_1.__decorate([
768
+ Output('blur'),
769
+ tslib_1.__metadata("design:type", EventEmitter)
770
+ ], FloatingActionButtonComponent.prototype, "onBlur", void 0);
771
+ tslib_1.__decorate([
772
+ Output('focus'),
773
+ tslib_1.__metadata("design:type", EventEmitter)
774
+ ], FloatingActionButtonComponent.prototype, "onFocus", void 0);
775
+ tslib_1.__decorate([
776
+ Output('dialItemClick'),
777
+ tslib_1.__metadata("design:type", EventEmitter)
778
+ ], FloatingActionButtonComponent.prototype, "dialItemClick", void 0);
779
+ tslib_1.__decorate([
780
+ Output(),
781
+ tslib_1.__metadata("design:type", EventEmitter)
782
+ ], FloatingActionButtonComponent.prototype, "open", void 0);
783
+ tslib_1.__decorate([
784
+ Output(),
785
+ tslib_1.__metadata("design:type", EventEmitter)
786
+ ], FloatingActionButtonComponent.prototype, "close", void 0);
787
+ FloatingActionButtonComponent = tslib_1.__decorate([
788
+ Component({
789
+ selector: 'kendo-floatingactionbutton',
790
+ providers: [
791
+ FocusService,
792
+ NavigationService,
793
+ NAVIGATION_SETTINGS_PROVIDER,
794
+ LocalizationService,
795
+ {
796
+ provide: L10N_PREFIX,
797
+ useValue: 'kendo.floatingactionbutton'
798
+ }
799
+ ],
800
+ template: `
727
801
  <button
728
802
  #button
729
803
  [attr.id]="id"
730
804
  [attr.role]="role"
731
805
  [tabIndex]="componentTabIndex"
732
806
  type="button"
733
- [class.k-fab]="true"
734
- [class.k-state-disabled]="disabled"
807
+ class="k-fab k-fab-solid"
808
+ [class.k-disabled]="disabled"
735
809
  [ngClass]="buttonClass"
736
810
  [disabled]="disabled"
737
811
  [attr.aria-disabled]="disabled"
@@ -769,69 +843,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
769
843
  </ul>
770
844
  </ng-template>
771
845
  `
772
- }]
773
- }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.FocusService }, { type: i2.NavigationService }, { type: i0.NgZone }, { type: i3.PopupService }, { type: i4.AnimationBuilder }, { type: i5.LocalizationService }]; }, propDecorators: { fixedClass: [{
774
- type: HostBinding,
775
- args: ['class.k-pos-fixed']
776
- }], absoluteClass: [{
777
- type: HostBinding,
778
- args: ['class.k-pos-absolute']
779
- }], direction: [{
780
- type: HostBinding,
781
- args: ['attr.dir']
782
- }], button: [{
783
- type: ViewChild,
784
- args: ['button', { static: true }]
785
- }], popupTemplate: [{
786
- type: ViewChild,
787
- args: ['popupTemplate', { static: true }]
788
- }], dialItemTemplate: [{
789
- type: ContentChild,
790
- args: [DialItemTemplateDirective, { static: true }]
791
- }], fabTemplate: [{
792
- type: ContentChild,
793
- args: [FloatingActionButtonTemplateDirective, { static: true }]
794
- }], themeColor: [{
795
- type: Input
796
- }], size: [{
797
- type: Input
798
- }], shape: [{
799
- type: Input
800
- }], disabled: [{
801
- type: Input
802
- }], align: [{
803
- type: Input
804
- }], offset: [{
805
- type: Input
806
- }], positionMode: [{
807
- type: Input
808
- }], icon: [{
809
- type: Input
810
- }], iconClass: [{
811
- type: Input
812
- }], buttonClass: [{
813
- type: Input
814
- }], dialClass: [{
815
- type: Input
816
- }], text: [{
817
- type: Input
818
- }], dialItemAnimation: [{
819
- type: Input
820
- }], tabIndex: [{
821
- type: Input
822
- }], dialItems: [{
823
- type: Input
824
- }], onBlur: [{
825
- type: Output,
826
- args: ['blur']
827
- }], onFocus: [{
828
- type: Output,
829
- args: ['focus']
830
- }], dialItemClick: [{
831
- type: Output,
832
- args: ['dialItemClick']
833
- }], open: [{
834
- type: Output
835
- }], close: [{
836
- type: Output
837
- }] } });
846
+ }),
847
+ tslib_1.__metadata("design:paramtypes", [Renderer2,
848
+ ElementRef,
849
+ FocusService,
850
+ NavigationService,
851
+ NgZone,
852
+ PopupService,
853
+ AnimationBuilder,
854
+ LocalizationService])
855
+ ], FloatingActionButtonComponent);
856
+ export { FloatingActionButtonComponent };
857
+ export { ɵ0 };
@@ -2,16 +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 "./floatingactionbutton.component";
7
- import * as i2 from "./templates/dial-item-template.directive";
8
- import * as i3 from "./templates/fab-template.directive";
9
- import * as i4 from "./dial-list.component";
10
- import * as i5 from "./dial-item.component";
11
- import * as i6 from "@angular/common";
12
- import * as i7 from "@progress/kendo-angular-popup";
13
- import * as i8 from "../listbutton/list.module";
14
- import * as i9 from "@progress/kendo-angular-common";
15
5
  /**
16
6
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
17
7
  * definition for the FloatingActionButton component.
@@ -41,7 +31,4 @@ import * as i9 from "@progress/kendo-angular-common";
41
31
  * ```
42
32
  */
43
33
  export declare class FloatingActionButtonModule {
44
- static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingActionButtonModule, [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective, typeof i4.DialListComponent, typeof i5.DialItemComponent], [typeof i6.CommonModule, typeof i7.PopupModule, typeof i8.ListModule, typeof i9.EventsModule], [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective]>;
46
- static ɵinj: i0.ɵɵInjectorDeclaration<FloatingActionButtonModule>;
47
34
  }
@@ -2,6 +2,7 @@
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 { NgModule } from '@angular/core';
6
7
  import { CommonModule } from '@angular/common';
7
8
  import { FloatingActionButtonComponent } from './floatingactionbutton.component';
@@ -12,7 +13,6 @@ import { DialItemComponent } from './dial-item.component';
12
13
  import { ListModule } from '../listbutton/list.module';
13
14
  import { EventsModule } from '@progress/kendo-angular-common';
14
15
  import { PopupModule } from '@progress/kendo-angular-popup';
15
- import * as i0 from "@angular/core";
16
16
  const exportedModules = [
17
17
  FloatingActionButtonComponent,
18
18
  DialItemTemplateDirective,
@@ -51,21 +51,13 @@ const declarations = [
51
51
  *
52
52
  * ```
53
53
  */
54
- export class FloatingActionButtonModule {
55
- }
56
- FloatingActionButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
57
- FloatingActionButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonModule, declarations: [FloatingActionButtonComponent,
58
- DialItemTemplateDirective,
59
- FloatingActionButtonTemplateDirective, DialListComponent,
60
- DialItemComponent], imports: [CommonModule, PopupModule, ListModule, EventsModule], exports: [FloatingActionButtonComponent,
61
- DialItemTemplateDirective,
62
- FloatingActionButtonTemplateDirective] });
63
- FloatingActionButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonModule, imports: [[CommonModule, PopupModule, ListModule, EventsModule]] });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FloatingActionButtonModule, decorators: [{
65
- type: NgModule,
66
- args: [{
67
- declarations: [declarations],
68
- exports: [exportedModules],
69
- imports: [CommonModule, PopupModule, ListModule, EventsModule]
70
- }]
71
- }] });
54
+ let FloatingActionButtonModule = class FloatingActionButtonModule {
55
+ };
56
+ FloatingActionButtonModule = tslib_1.__decorate([
57
+ NgModule({
58
+ declarations: [declarations],
59
+ exports: [exportedModules],
60
+ imports: [CommonModule, PopupModule, ListModule, EventsModule]
61
+ })
62
+ ], FloatingActionButtonModule);
63
+ export { FloatingActionButtonModule };
@@ -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
+ *-------------------------------------------------------------------------------------------*/
@@ -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
+ *-------------------------------------------------------------------------------------------*/
@@ -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
+ *-------------------------------------------------------------------------------------------*/