@progress/kendo-angular-buttons 7.0.1-dev.202201191229 → 8.0.0-next.202202081332

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