@ifsworld/granite-components 4.5.0 → 5.0.0

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 (290) hide show
  1. package/esm2020/ifsworld-granite-components.mjs +5 -0
  2. package/esm2020/index.mjs +48 -0
  3. package/esm2020/lib/arrange-grid/arrange-grid-item.component.mjs +44 -0
  4. package/esm2020/lib/arrange-grid/arrange-grid.component.mjs +125 -0
  5. package/esm2020/lib/arrange-grid/arrange-grid.module.mjs +19 -0
  6. package/esm2020/lib/badge/badge.component.mjs +39 -0
  7. package/esm2020/lib/badge/badge.module.mjs +18 -0
  8. package/esm2020/lib/badge/testing/badge.harness.mjs +25 -0
  9. package/esm2020/lib/button/button.component.mjs +89 -0
  10. package/esm2020/lib/button/button.module.mjs +16 -0
  11. package/esm2020/lib/checkbox/checkbox-group.component.mjs +17 -0
  12. package/esm2020/lib/checkbox/checkbox.component.mjs +96 -0
  13. package/esm2020/lib/checkbox/checkbox.module.mjs +17 -0
  14. package/esm2020/lib/core/animation.mjs +34 -0
  15. package/esm2020/lib/core/client-environment.mjs +20 -0
  16. package/esm2020/lib/core/common-behaviors/disabled.mjs +27 -0
  17. package/esm2020/lib/core/core.module.mjs +36 -0
  18. package/esm2020/lib/core/devices/client-input-desktop.directive.mjs +29 -0
  19. package/esm2020/lib/core/devices/client-input-touch.directive.mjs +29 -0
  20. package/esm2020/lib/core/devices/client-output-desktop.directive.mjs +29 -0
  21. package/esm2020/lib/core/devices/client-output-touch.directive.mjs +29 -0
  22. package/esm2020/lib/core/pipes/pure-pipes.module.mjs +16 -0
  23. package/esm2020/lib/core/pipes/title.pipe.mjs +21 -0
  24. package/esm2020/lib/core/radio-checkbox-base.mjs +19 -0
  25. package/esm2020/lib/core/theme.library.mjs +59 -0
  26. package/esm2020/lib/core/types.mjs +2 -0
  27. package/esm2020/lib/grid/grid.component.mjs +128 -0
  28. package/esm2020/lib/grid/grid.module.mjs +18 -0
  29. package/esm2020/lib/icon/icon.component.mjs +43 -0
  30. package/esm2020/lib/icon/icon.module.mjs +16 -0
  31. package/esm2020/lib/input-field/input-field.component.mjs +160 -0
  32. package/esm2020/lib/input-field/input-field.module.mjs +20 -0
  33. package/esm2020/lib/menu/divider.directive.mjs +23 -0
  34. package/esm2020/lib/menu/menu-base.mjs +347 -0
  35. package/esm2020/lib/menu/menu-desktop-animations.mjs +23 -0
  36. package/esm2020/lib/menu/menu-errors.mjs +37 -0
  37. package/esm2020/lib/menu/menu-item.component.mjs +91 -0
  38. package/esm2020/lib/menu/menu-panel.mjs +7 -0
  39. package/esm2020/lib/menu/menu-positions.mjs +9 -0
  40. package/esm2020/lib/menu/menu-touch-animations.mjs +137 -0
  41. package/esm2020/lib/menu/menu-touch-close.component.mjs +13 -0
  42. package/esm2020/lib/menu/menu-touch-title.component.mjs +59 -0
  43. package/esm2020/lib/menu/menu-trigger-for.directive.mjs +702 -0
  44. package/esm2020/lib/menu/menu.component.mjs +30 -0
  45. package/esm2020/lib/menu/menu.module.mjs +55 -0
  46. package/esm2020/lib/menu/testing/menu.harness.mjs +109 -0
  47. package/esm2020/lib/menu/title.directive.mjs +17 -0
  48. package/esm2020/lib/radio-button/radio-button.component.mjs +118 -0
  49. package/esm2020/lib/radio-button/radio-button.module.mjs +17 -0
  50. package/esm2020/lib/radio-button/radio-group.component.mjs +17 -0
  51. package/esm2020/lib/table/cell/cell.mjs +15 -0
  52. package/esm2020/lib/table/cell/table-data-cell.component.mjs +26 -0
  53. package/esm2020/lib/table/cell/table-header-cell.component.mjs +12 -0
  54. package/esm2020/lib/table/column/table-column.directive.mjs +23 -0
  55. package/esm2020/lib/table/table-constants.library.mjs +4 -0
  56. package/esm2020/lib/table/table.component.mjs +36 -0
  57. package/esm2020/lib/table/table.module.mjs +32 -0
  58. package/esm2020/lib/toggle-switch/toggle-switch.component.mjs +96 -0
  59. package/esm2020/lib/toggle-switch/toggle-switch.module.mjs +16 -0
  60. package/fesm2015/ifsworld-granite-components.mjs +3145 -0
  61. package/fesm2015/ifsworld-granite-components.mjs.map +1 -0
  62. package/fesm2020/ifsworld-granite-components.mjs +3103 -0
  63. package/fesm2020/ifsworld-granite-components.mjs.map +1 -0
  64. package/ifsworld-granite-components.d.ts +1 -8
  65. package/lib/arrange-grid/arrange-grid-item.component.d.ts +3 -0
  66. package/lib/arrange-grid/arrange-grid.component.d.ts +3 -0
  67. package/lib/arrange-grid/arrange-grid.module.d.ts +7 -0
  68. package/lib/badge/badge.component.d.ts +3 -0
  69. package/lib/badge/badge.module.d.ts +6 -0
  70. package/lib/button/button.component.d.ts +5 -0
  71. package/lib/button/button.module.d.ts +5 -0
  72. package/lib/checkbox/checkbox-group.component.d.ts +3 -0
  73. package/lib/checkbox/checkbox.component.d.ts +3 -0
  74. package/lib/checkbox/checkbox.module.d.ts +6 -0
  75. package/lib/core/core.module.d.ts +8 -0
  76. package/lib/core/devices/client-input-desktop.directive.d.ts +3 -0
  77. package/lib/core/devices/client-input-touch.directive.d.ts +3 -0
  78. package/lib/core/devices/client-output-desktop.directive.d.ts +3 -0
  79. package/lib/core/devices/client-output-touch.directive.d.ts +3 -0
  80. package/lib/core/pipes/pure-pipes.module.d.ts +5 -0
  81. package/lib/core/pipes/title.pipe.d.ts +3 -0
  82. package/lib/core/radio-checkbox-base.d.ts +3 -0
  83. package/lib/grid/grid.component.d.ts +5 -0
  84. package/lib/grid/grid.module.d.ts +6 -0
  85. package/lib/icon/icon.component.d.ts +3 -0
  86. package/lib/icon/icon.module.d.ts +5 -0
  87. package/lib/input-field/input-field.component.d.ts +3 -0
  88. package/lib/input-field/input-field.module.d.ts +8 -0
  89. package/lib/menu/divider.directive.d.ts +3 -0
  90. package/lib/menu/menu-base.d.ts +190 -0
  91. package/lib/menu/menu-item.component.d.ts +3 -0
  92. package/lib/menu/menu-touch-close.component.d.ts +3 -0
  93. package/lib/menu/menu-touch-title.component.d.ts +4 -1
  94. package/lib/menu/menu-trigger-for.directive.d.ts +4 -1
  95. package/lib/menu/menu.component.d.ts +4 -187
  96. package/lib/menu/menu.module.d.ts +15 -0
  97. package/lib/menu/title.directive.d.ts +3 -0
  98. package/lib/radio-button/radio-button.component.d.ts +3 -0
  99. package/lib/radio-button/radio-button.module.d.ts +6 -0
  100. package/lib/radio-button/radio-group.component.d.ts +3 -0
  101. package/lib/table/cell/cell.d.ts +3 -0
  102. package/lib/table/cell/table-data-cell.component.d.ts +3 -0
  103. package/lib/table/cell/table-header-cell.component.d.ts +3 -0
  104. package/lib/table/column/table-column.directive.d.ts +3 -0
  105. package/lib/table/table.component.d.ts +3 -0
  106. package/lib/table/table.module.d.ts +12 -0
  107. package/lib/toggle-switch/toggle-switch.component.d.ts +3 -0
  108. package/lib/toggle-switch/toggle-switch.module.d.ts +5 -0
  109. package/package.json +25 -12
  110. package/bundles/ifsworld-granite-components.umd.js +0 -3648
  111. package/bundles/ifsworld-granite-components.umd.js.map +0 -1
  112. package/bundles/ifsworld-granite-components.umd.min.js +0 -10
  113. package/bundles/ifsworld-granite-components.umd.min.js.map +0 -1
  114. package/esm2015/ifsworld-granite-components.js +0 -13
  115. package/esm2015/ifsworld-granite-components.js.map +0 -1
  116. package/esm2015/ifsworld-granite-components.metadata.json +0 -1
  117. package/esm2015/index.js +0 -48
  118. package/esm2015/index.js.map +0 -1
  119. package/esm2015/index.metadata.json +0 -1
  120. package/esm2015/lib/arrange-grid/arrange-grid-item.component.js +0 -48
  121. package/esm2015/lib/arrange-grid/arrange-grid-item.component.js.map +0 -1
  122. package/esm2015/lib/arrange-grid/arrange-grid-item.component.metadata.json +0 -1
  123. package/esm2015/lib/arrange-grid/arrange-grid.component.js +0 -123
  124. package/esm2015/lib/arrange-grid/arrange-grid.component.js.map +0 -1
  125. package/esm2015/lib/arrange-grid/arrange-grid.component.metadata.json +0 -1
  126. package/esm2015/lib/arrange-grid/arrange-grid.module.js +0 -14
  127. package/esm2015/lib/arrange-grid/arrange-grid.module.js.map +0 -1
  128. package/esm2015/lib/arrange-grid/arrange-grid.module.metadata.json +0 -1
  129. package/esm2015/lib/badge/badge.component.js +0 -44
  130. package/esm2015/lib/badge/badge.component.js.map +0 -1
  131. package/esm2015/lib/badge/badge.component.metadata.json +0 -1
  132. package/esm2015/lib/badge/badge.module.js +0 -13
  133. package/esm2015/lib/badge/badge.module.js.map +0 -1
  134. package/esm2015/lib/badge/badge.module.metadata.json +0 -1
  135. package/esm2015/lib/badge/testing/badge.harness.js +0 -30
  136. package/esm2015/lib/badge/testing/badge.harness.js.map +0 -1
  137. package/esm2015/lib/badge/testing/badge.harness.metadata.json +0 -1
  138. package/esm2015/lib/button/button.component.js +0 -108
  139. package/esm2015/lib/button/button.component.js.map +0 -1
  140. package/esm2015/lib/button/button.component.metadata.json +0 -1
  141. package/esm2015/lib/button/button.module.js +0 -11
  142. package/esm2015/lib/button/button.module.js.map +0 -1
  143. package/esm2015/lib/button/button.module.metadata.json +0 -1
  144. package/esm2015/lib/checkbox/checkbox-group.component.js +0 -19
  145. package/esm2015/lib/checkbox/checkbox-group.component.js.map +0 -1
  146. package/esm2015/lib/checkbox/checkbox-group.component.metadata.json +0 -1
  147. package/esm2015/lib/checkbox/checkbox.component.js +0 -89
  148. package/esm2015/lib/checkbox/checkbox.component.js.map +0 -1
  149. package/esm2015/lib/checkbox/checkbox.component.metadata.json +0 -1
  150. package/esm2015/lib/checkbox/checkbox.module.js +0 -12
  151. package/esm2015/lib/checkbox/checkbox.module.js.map +0 -1
  152. package/esm2015/lib/checkbox/checkbox.module.metadata.json +0 -1
  153. package/esm2015/lib/core/animation.js +0 -34
  154. package/esm2015/lib/core/animation.js.map +0 -1
  155. package/esm2015/lib/core/animation.metadata.json +0 -1
  156. package/esm2015/lib/core/client-environment.js +0 -20
  157. package/esm2015/lib/core/client-environment.js.map +0 -1
  158. package/esm2015/lib/core/client-environment.metadata.json +0 -1
  159. package/esm2015/lib/core/common-behaviors/disabled.js +0 -25
  160. package/esm2015/lib/core/common-behaviors/disabled.js.map +0 -1
  161. package/esm2015/lib/core/common-behaviors/disabled.metadata.json +0 -1
  162. package/esm2015/lib/core/core.module.js +0 -25
  163. package/esm2015/lib/core/core.module.js.map +0 -1
  164. package/esm2015/lib/core/core.module.metadata.json +0 -1
  165. package/esm2015/lib/core/devices/client-input-desktop.directive.js +0 -22
  166. package/esm2015/lib/core/devices/client-input-desktop.directive.js.map +0 -1
  167. package/esm2015/lib/core/devices/client-input-desktop.directive.metadata.json +0 -1
  168. package/esm2015/lib/core/devices/client-input-touch.directive.js +0 -22
  169. package/esm2015/lib/core/devices/client-input-touch.directive.js.map +0 -1
  170. package/esm2015/lib/core/devices/client-input-touch.directive.metadata.json +0 -1
  171. package/esm2015/lib/core/devices/client-output-desktop.directive.js +0 -22
  172. package/esm2015/lib/core/devices/client-output-desktop.directive.js.map +0 -1
  173. package/esm2015/lib/core/devices/client-output-desktop.directive.metadata.json +0 -1
  174. package/esm2015/lib/core/devices/client-output-touch.directive.js +0 -22
  175. package/esm2015/lib/core/devices/client-output-touch.directive.js.map +0 -1
  176. package/esm2015/lib/core/devices/client-output-touch.directive.metadata.json +0 -1
  177. package/esm2015/lib/core/pipes/pure-pipes.module.js +0 -11
  178. package/esm2015/lib/core/pipes/pure-pipes.module.js.map +0 -1
  179. package/esm2015/lib/core/pipes/pure-pipes.module.metadata.json +0 -1
  180. package/esm2015/lib/core/pipes/title.pipe.js +0 -17
  181. package/esm2015/lib/core/pipes/title.pipe.js.map +0 -1
  182. package/esm2015/lib/core/pipes/title.pipe.metadata.json +0 -1
  183. package/esm2015/lib/core/radio-checkbox-base.js +0 -15
  184. package/esm2015/lib/core/radio-checkbox-base.js.map +0 -1
  185. package/esm2015/lib/core/radio-checkbox-base.metadata.json +0 -1
  186. package/esm2015/lib/core/theme.library.js +0 -59
  187. package/esm2015/lib/core/theme.library.js.map +0 -1
  188. package/esm2015/lib/core/theme.library.metadata.json +0 -1
  189. package/esm2015/lib/core/types.js +0 -2
  190. package/esm2015/lib/core/types.js.map +0 -1
  191. package/esm2015/lib/core/types.metadata.json +0 -1
  192. package/esm2015/lib/grid/grid.component.js +0 -131
  193. package/esm2015/lib/grid/grid.component.js.map +0 -1
  194. package/esm2015/lib/grid/grid.component.metadata.json +0 -1
  195. package/esm2015/lib/grid/grid.module.js +0 -13
  196. package/esm2015/lib/grid/grid.module.js.map +0 -1
  197. package/esm2015/lib/grid/grid.module.metadata.json +0 -1
  198. package/esm2015/lib/icon/icon.component.js +0 -48
  199. package/esm2015/lib/icon/icon.component.js.map +0 -1
  200. package/esm2015/lib/icon/icon.component.metadata.json +0 -1
  201. package/esm2015/lib/icon/icon.module.js +0 -11
  202. package/esm2015/lib/icon/icon.module.js.map +0 -1
  203. package/esm2015/lib/icon/icon.module.metadata.json +0 -1
  204. package/esm2015/lib/input-field/input-field.component.js +0 -144
  205. package/esm2015/lib/input-field/input-field.component.js.map +0 -1
  206. package/esm2015/lib/input-field/input-field.component.metadata.json +0 -1
  207. package/esm2015/lib/input-field/input-field.module.js +0 -15
  208. package/esm2015/lib/input-field/input-field.module.js.map +0 -1
  209. package/esm2015/lib/input-field/input-field.module.metadata.json +0 -1
  210. package/esm2015/lib/menu/divider.directive.js +0 -20
  211. package/esm2015/lib/menu/divider.directive.js.map +0 -1
  212. package/esm2015/lib/menu/divider.directive.metadata.json +0 -1
  213. package/esm2015/lib/menu/menu-desktop-animations.js +0 -23
  214. package/esm2015/lib/menu/menu-desktop-animations.js.map +0 -1
  215. package/esm2015/lib/menu/menu-desktop-animations.metadata.json +0 -1
  216. package/esm2015/lib/menu/menu-errors.js +0 -37
  217. package/esm2015/lib/menu/menu-errors.js.map +0 -1
  218. package/esm2015/lib/menu/menu-errors.metadata.json +0 -1
  219. package/esm2015/lib/menu/menu-item.component.js +0 -82
  220. package/esm2015/lib/menu/menu-item.component.js.map +0 -1
  221. package/esm2015/lib/menu/menu-item.component.metadata.json +0 -1
  222. package/esm2015/lib/menu/menu-panel.js +0 -7
  223. package/esm2015/lib/menu/menu-panel.js.map +0 -1
  224. package/esm2015/lib/menu/menu-panel.metadata.json +0 -1
  225. package/esm2015/lib/menu/menu-positions.js +0 -9
  226. package/esm2015/lib/menu/menu-positions.js.map +0 -1
  227. package/esm2015/lib/menu/menu-positions.metadata.json +0 -1
  228. package/esm2015/lib/menu/menu-touch-animations.js +0 -137
  229. package/esm2015/lib/menu/menu-touch-animations.js.map +0 -1
  230. package/esm2015/lib/menu/menu-touch-animations.metadata.json +0 -1
  231. package/esm2015/lib/menu/menu-touch-close.component.js +0 -16
  232. package/esm2015/lib/menu/menu-touch-close.component.js.map +0 -1
  233. package/esm2015/lib/menu/menu-touch-close.component.metadata.json +0 -1
  234. package/esm2015/lib/menu/menu-touch-title.component.js +0 -45
  235. package/esm2015/lib/menu/menu-touch-title.component.js.map +0 -1
  236. package/esm2015/lib/menu/menu-touch-title.component.metadata.json +0 -1
  237. package/esm2015/lib/menu/menu-trigger-for.directive.js +0 -684
  238. package/esm2015/lib/menu/menu-trigger-for.directive.js.map +0 -1
  239. package/esm2015/lib/menu/menu-trigger-for.directive.metadata.json +0 -1
  240. package/esm2015/lib/menu/menu.component.js +0 -362
  241. package/esm2015/lib/menu/menu.component.js.map +0 -1
  242. package/esm2015/lib/menu/menu.component.metadata.json +0 -1
  243. package/esm2015/lib/menu/menu.module.js +0 -38
  244. package/esm2015/lib/menu/menu.module.js.map +0 -1
  245. package/esm2015/lib/menu/menu.module.metadata.json +0 -1
  246. package/esm2015/lib/menu/testing/menu.harness.js +0 -133
  247. package/esm2015/lib/menu/testing/menu.harness.js.map +0 -1
  248. package/esm2015/lib/menu/testing/menu.harness.metadata.json +0 -1
  249. package/esm2015/lib/menu/title.directive.js +0 -13
  250. package/esm2015/lib/menu/title.directive.js.map +0 -1
  251. package/esm2015/lib/menu/title.directive.metadata.json +0 -1
  252. package/esm2015/lib/radio-button/radio-button.component.js +0 -109
  253. package/esm2015/lib/radio-button/radio-button.component.js.map +0 -1
  254. package/esm2015/lib/radio-button/radio-button.component.metadata.json +0 -1
  255. package/esm2015/lib/radio-button/radio-button.module.js +0 -12
  256. package/esm2015/lib/radio-button/radio-button.module.js.map +0 -1
  257. package/esm2015/lib/radio-button/radio-button.module.metadata.json +0 -1
  258. package/esm2015/lib/radio-button/radio-group.component.js +0 -19
  259. package/esm2015/lib/radio-button/radio-group.component.js.map +0 -1
  260. package/esm2015/lib/radio-button/radio-group.component.metadata.json +0 -1
  261. package/esm2015/lib/table/cell/cell.js +0 -12
  262. package/esm2015/lib/table/cell/cell.js.map +0 -1
  263. package/esm2015/lib/table/cell/cell.metadata.json +0 -1
  264. package/esm2015/lib/table/cell/table-data-cell.component.js +0 -21
  265. package/esm2015/lib/table/cell/table-data-cell.component.js.map +0 -1
  266. package/esm2015/lib/table/cell/table-data-cell.component.metadata.json +0 -1
  267. package/esm2015/lib/table/cell/table-header-cell.component.js +0 -13
  268. package/esm2015/lib/table/cell/table-header-cell.component.js.map +0 -1
  269. package/esm2015/lib/table/cell/table-header-cell.component.metadata.json +0 -1
  270. package/esm2015/lib/table/column/table-column.directive.js +0 -16
  271. package/esm2015/lib/table/column/table-column.directive.js.map +0 -1
  272. package/esm2015/lib/table/column/table-column.directive.metadata.json +0 -1
  273. package/esm2015/lib/table/table-constants.library.js +0 -4
  274. package/esm2015/lib/table/table-constants.library.js.map +0 -1
  275. package/esm2015/lib/table/table-constants.library.metadata.json +0 -1
  276. package/esm2015/lib/table/table.component.js +0 -28
  277. package/esm2015/lib/table/table.component.js.map +0 -1
  278. package/esm2015/lib/table/table.component.metadata.json +0 -1
  279. package/esm2015/lib/table/table.module.js +0 -24
  280. package/esm2015/lib/table/table.module.js.map +0 -1
  281. package/esm2015/lib/table/table.module.metadata.json +0 -1
  282. package/esm2015/lib/toggle-switch/toggle-switch.component.js +0 -89
  283. package/esm2015/lib/toggle-switch/toggle-switch.component.js.map +0 -1
  284. package/esm2015/lib/toggle-switch/toggle-switch.component.metadata.json +0 -1
  285. package/esm2015/lib/toggle-switch/toggle-switch.module.js +0 -11
  286. package/esm2015/lib/toggle-switch/toggle-switch.module.js.map +0 -1
  287. package/esm2015/lib/toggle-switch/toggle-switch.module.metadata.json +0 -1
  288. package/fesm2015/ifsworld-granite-components.js +0 -2991
  289. package/fesm2015/ifsworld-granite-components.js.map +0 -1
  290. package/ifsworld-granite-components.metadata.json +0 -1
@@ -1,4 +1,5 @@
1
1
  import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GraniteArrangeGridItemComponent {
3
4
  private element;
4
5
  /**
@@ -24,4 +25,6 @@ export declare class GraniteArrangeGridItemComponent {
24
25
  * See: https://github.com/angular/angular/issues/9343
25
26
  */
26
27
  protected setCssProperty(variable: string, value: string | null): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridItemComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridItemComponent, "granite-arrange-grid-item", never, {}, {}, never, ["*"]>;
27
30
  }
@@ -1,5 +1,6 @@
1
1
  import { AfterContentInit, ElementRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { GraniteArrangeGridItemComponent } from './arrange-grid-item.component';
3
+ import * as i0 from "@angular/core";
3
4
  export declare enum GraniteArrangeGridOrientation {
4
5
  columns = "columns",
5
6
  rows = "rows"
@@ -52,4 +53,6 @@ export declare class GraniteArrangeGridComponent implements OnChanges, AfterCont
52
53
  * TODO: Replace with property binding with Angular 9 upgrade
53
54
  */
54
55
  protected setCssProperty(variable: string, value: string | null): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridComponent, "granite-arrange-grid", never, { "orientation": "orientation"; "cols": "cols"; }, {}, ["arrangeGridItemComponents"], ["granite-arrange-grid-item"]>;
55
58
  }
@@ -1,2 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./arrange-grid.component";
3
+ import * as i2 from "./arrange-grid-item.component";
4
+ import * as i3 from "@angular/common";
1
5
  export declare class GraniteArrangeGridModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteArrangeGridModule, [typeof i1.GraniteArrangeGridComponent, typeof i2.GraniteArrangeGridItemComponent], [typeof i3.CommonModule], [typeof i1.GraniteArrangeGridComponent, typeof i2.GraniteArrangeGridItemComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteArrangeGridModule>;
2
9
  }
@@ -1,4 +1,5 @@
1
1
  import { OnChanges, SimpleChanges, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GraniteBadgeComponent implements OnChanges {
3
4
  private elementRef;
4
5
  /**
@@ -13,4 +14,6 @@ export declare class GraniteBadgeComponent implements OnChanges {
13
14
  pill: boolean;
14
15
  constructor(elementRef: ElementRef);
15
16
  ngOnChanges(changes: SimpleChanges): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteBadgeComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteBadgeComponent, "granite-badge", ["graniteBadge"], { "backgroundColor": "backgroundColor"; "color": "color"; "pill": "pill"; }, {}, never, ["*"]>;
16
19
  }
@@ -1,2 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./badge.component";
3
+ import * as i2 from "@angular/common";
1
4
  export declare class GraniteBadgeModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteBadgeModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteBadgeModule, [typeof i1.GraniteBadgeComponent], [typeof i2.CommonModule], [typeof i1.GraniteBadgeComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteBadgeModule>;
2
8
  }
@@ -1,5 +1,6 @@
1
1
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
2
2
  import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
3
+ import * as i0 from "@angular/core";
3
4
  export declare enum ButtonSelectors {
4
5
  graniteButton = "granite-button",
5
6
  granitePrimaryButton = "granite-primary-button",
@@ -22,6 +23,8 @@ export declare class GraniteButtonComponent extends ButtonComponentMixin impleme
22
23
  ngOnChanges(changes: SimpleChanges): void;
23
24
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
24
25
  private _getHostElement;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteButtonComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteButtonComponent, "button[graniteButton], button[granitePrimaryButton], button[graniteFlatButton], button[graniteToolbarButton] ", ["graniteButton"], { "disabled": "disabled"; "toggled": "toggled"; }, {}, never, ["*"]>;
25
28
  }
26
29
  export declare class GraniteAnchorComponent extends GraniteButtonComponent implements OnChanges {
27
30
  protected _focusMonitor: FocusMonitor;
@@ -29,5 +32,7 @@ export declare class GraniteAnchorComponent extends GraniteButtonComponent imple
29
32
  constructor(_focusMonitor: FocusMonitor, _elementRef: ElementRef);
30
33
  _anchorClick(event: Event): void;
31
34
  ngOnChanges(changes: SimpleChanges): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteAnchorComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteAnchorComponent, "a[graniteButton], a[graniteFlatButton]", ["graniteAnchor"], { "disabled": "disabled"; }, {}, never, ["*"]>;
32
37
  }
33
38
  export {};
@@ -1,2 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button.component";
1
3
  export declare class GraniteButtonModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteButtonModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteButtonModule, [typeof i1.GraniteButtonComponent, typeof i1.GraniteAnchorComponent], never, [typeof i1.GraniteButtonComponent, typeof i1.GraniteAnchorComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteButtonModule>;
2
7
  }
@@ -1,3 +1,6 @@
1
1
  import { GraniteRadioCheckboxBase } from '../core/radio-checkbox-base';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GraniteCheckboxGroupComponent extends GraniteRadioCheckboxBase {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCheckboxGroupComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxGroupComponent, "granite-checkbox-group", never, {}, {}, never, ["*"]>;
3
6
  }
@@ -1,6 +1,7 @@
1
1
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
2
2
  import { OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
3
3
  import { Position } from '../core/types';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class GraniteCheckboxComponent implements OnChanges {
5
6
  private _focusMonitor;
6
7
  id: string | null;
@@ -23,4 +24,6 @@ export declare class GraniteCheckboxComponent implements OnChanges {
23
24
  _checkboxChange(): void;
24
25
  _checkboxClick(): void;
25
26
  private _getInputElement;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCheckboxComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxComponent, "granite-checkbox", ["graniteCheckbox"], { "id": "id"; "checked": "checked"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; "checkboxChange": "checkboxChange"; "checkboxBlur": "checkboxBlur"; }, never, ["*"]>;
26
29
  }
@@ -1,2 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./checkbox.component";
3
+ import * as i2 from "./checkbox-group.component";
1
4
  export declare class GraniteCheckboxModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCheckboxModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCheckboxModule, [typeof i1.GraniteCheckboxComponent, typeof i2.GraniteCheckboxGroupComponent], never, [typeof i1.GraniteCheckboxComponent, typeof i2.GraniteCheckboxGroupComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteCheckboxModule>;
2
8
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./devices/client-output-desktop.directive";
3
+ import * as i2 from "./devices/client-output-touch.directive";
4
+ import * as i3 from "./devices/client-input-desktop.directive";
5
+ import * as i4 from "./devices/client-input-touch.directive";
1
6
  export declare class GraniteCoreModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCoreModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCoreModule, [typeof i1.ClientOutputDesktopDirective, typeof i2.ClientOutputTouchDirective, typeof i3.ClientInputDesktopDirective, typeof i4.ClientInputTouchDirective], never, [typeof i1.ClientOutputDesktopDirective, typeof i2.ClientOutputTouchDirective, typeof i3.ClientInputDesktopDirective, typeof i4.ClientInputTouchDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteCoreModule>;
2
10
  }
@@ -1,6 +1,9 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Directive used to tell components and their sub components that client input
3
4
  * should be adapted for desktop devices, like personal computers.
4
5
  */
5
6
  export declare class ClientInputDesktopDirective {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClientInputDesktopDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientInputDesktopDirective, "[graniteClientInputDesktop]", never, {}, {}, never>;
6
9
  }
@@ -1,6 +1,9 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Directive used to tell components and their sub components that client input
3
4
  * should be adapted for touch devices, like mobiles and tablets.
4
5
  */
5
6
  export declare class ClientInputTouchDirective {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClientInputTouchDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientInputTouchDirective, "[graniteClientInputTouch]", never, {}, {}, never>;
6
9
  }
@@ -1,6 +1,9 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Directive used to tell components and their sub components that client output
3
4
  * should be adapted for desktop devices like personal computers.
4
5
  */
5
6
  export declare class ClientOutputDesktopDirective {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClientOutputDesktopDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientOutputDesktopDirective, "[graniteClientOutputDesktop]", never, {}, {}, never>;
6
9
  }
@@ -1,6 +1,9 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * Directive used to tell components and their sub components that client output
3
4
  * should be adapted for touch devices like mobiles and tablets.
4
5
  */
5
6
  export declare class ClientOutputTouchDirective {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClientOutputTouchDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientOutputTouchDirective, "[graniteClientOutputTouch]", never, {}, {}, never>;
6
9
  }
@@ -1,2 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./title.pipe";
1
3
  export declare class PurePipesModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<PurePipesModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PurePipesModule, [typeof i1.GraniteTitlePipe], never, [typeof i1.GraniteTitlePipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<PurePipesModule>;
2
7
  }
@@ -1,4 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GraniteTitlePipe implements PipeTransform {
3
4
  transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTitlePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<GraniteTitlePipe, "graniteTitle">;
4
7
  }
@@ -1,5 +1,8 @@
1
1
  import { Layout } from './types';
2
+ import * as i0 from "@angular/core";
2
3
  export declare abstract class GraniteRadioCheckboxBase {
3
4
  layout: Layout;
4
5
  ariaLabelledby: string | null;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteRadioCheckboxBase, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteRadioCheckboxBase, never, never, { "layout": "layout"; "ariaLabelledby": "aria-labelledby"; }, {}, never>;
5
8
  }
@@ -1,4 +1,5 @@
1
1
  import { AfterContentInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  /**
3
4
  * Grid item component
4
5
  *
@@ -22,6 +23,8 @@ export declare class GraniteGridItemComponent implements OnChanges {
22
23
  * checked" errors that would occur with HostBinding.
23
24
  */
24
25
  private setStyle;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteGridItemComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridItemComponent, "granite-grid-item", never, { "columnStart": "columnStart"; "columnEnd": "columnEnd"; "rowStart": "rowStart"; "rowEnd": "rowEnd"; }, {}, never, ["*"]>;
25
28
  }
26
29
  /**
27
30
  * Grid
@@ -67,4 +70,6 @@ export declare class GraniteGridComponent implements AfterContentInit, OnChanges
67
70
  protected updateColumnStyles(): void;
68
71
  /** Update grid row template style */
69
72
  protected updateRowStyles(): void;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteGridComponent, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridComponent, "granite-grid", never, { "cols": "cols"; "rows": "rows"; }, {}, never, ["*"]>;
70
75
  }
@@ -1,2 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./grid.component";
3
+ import * as i2 from "@angular/common";
1
4
  export declare class GraniteGridModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteGridModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteGridModule, [typeof i1.GraniteGridComponent, typeof i1.GraniteGridItemComponent], [typeof i2.CommonModule], [typeof i1.GraniteGridComponent, typeof i1.GraniteGridItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteGridModule>;
2
8
  }
@@ -1,4 +1,5 @@
1
1
  import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GraniteIconComponent implements OnChanges {
3
4
  _elementRef: ElementRef;
4
5
  private renderer;
@@ -7,4 +8,6 @@ export declare class GraniteIconComponent implements OnChanges {
7
8
  constructor(_elementRef: ElementRef, renderer: Renderer2, ariaHidden: string);
8
9
  ngOnChanges(changes: SimpleChanges): void;
9
10
  private _updateFontIcon;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteIconComponent, [null, null, { attribute: "aria-hidden"; }]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteIconComponent, "granite-icon", never, { "fontIcon": "fontIcon"; }, {}, never, ["*"]>;
10
13
  }
@@ -1,2 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
1
3
  export declare class GraniteIconModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteIconModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteIconModule, [typeof i1.GraniteIconComponent], never, [typeof i1.GraniteIconComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteIconModule>;
2
7
  }
@@ -1,5 +1,6 @@
1
1
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
2
2
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class GraniteInputFieldComponent implements OnInit, OnChanges {
4
5
  private _focusMonitor;
5
6
  id: string | null;
@@ -36,4 +37,6 @@ export declare class GraniteInputFieldComponent implements OnInit, OnChanges {
36
37
  private _applyCharacterCount;
37
38
  private _getInputElement;
38
39
  private _getTextareaElement;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteInputFieldComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteInputFieldComponent, "granite-input-field", ["graniteInputField"], { "id": "id"; "name": "name"; "type": "type"; "value": "value"; "required": "required"; "readonly": "readonly"; "invalid": "invalid"; "disabled": "disabled"; "placeholder": "placeholder"; "prefixicon": "prefixicon"; "maxlength": "maxlength"; "countcharacters": "countcharacters"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; }, never, never>;
39
42
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-field.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
5
+ import * as i4 from "../button/button.module";
1
6
  export declare class GraniteInputFieldModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteInputFieldModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteInputFieldModule, [typeof i1.GraniteInputFieldComponent], [typeof i2.CommonModule, typeof i3.GraniteIconModule, typeof i4.GraniteButtonModule], [typeof i1.GraniteInputFieldComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<GraniteInputFieldModule>;
2
10
  }
@@ -1,3 +1,6 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class GraniteDividerDirective {
2
3
  dividerDirection: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteDividerDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteDividerDirective, "[graniteDivider]", ["graniteDivider"], { "dividerDirection": "dividerDirection"; }, {}, never>;
3
6
  }
@@ -0,0 +1,190 @@
1
+ import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, QueryList, TemplateRef } from '@angular/core';
2
+ import { FocusOrigin } from '@angular/cdk/a11y';
3
+ import { Direction } from '@angular/cdk/bidi';
4
+ import { AnimationEvent } from '@angular/animations';
5
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
6
+ import { ClientInputInterface, ClientOutputInterface } from '../core/client-environment';
7
+ import { GraniteMenuItemComponent } from './menu-item.component';
8
+ import { ClosedEventType, GraniteMenuPanelInterface } from './menu-panel';
9
+ import { MenuPositionX, MenuPositionY } from './menu-positions';
10
+ import * as i0 from "@angular/core";
11
+ /** Menu panel animation states */
12
+ declare type TransformMenuStates = 'void' | 'enter' | 'enter-from-below' | 'below-with-delay' | 'below' | 'pan' | 'hide' | 'pan-hidden';
13
+ /**
14
+ * Menu panel animation transform/state object. Has to be an object as we supply
15
+ * the `xOffset` parameter and not just the state name.
16
+ */
17
+ declare type TransformMenu = {
18
+ /** Current animation state name */
19
+ value: TransformMenuStates;
20
+ params: {
21
+ /** How far the menu has been panned/swiped by the user */
22
+ xOffset: number;
23
+ };
24
+ };
25
+ /** Base class with all of the menu functionality. */
26
+ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy, AfterContentChecked, GraniteMenuPanelInterface {
27
+ private _changeDetectorRef;
28
+ /** Position of the menu in the X axis. */
29
+ get xPosition(): MenuPositionX;
30
+ set xPosition(value: MenuPositionX);
31
+ /** Position of the menu in the Y axis. */
32
+ get yPosition(): MenuPositionY;
33
+ set yPosition(value: MenuPositionY);
34
+ /** Optional touch menu panel title */
35
+ title: string;
36
+ /**
37
+ * Touch menu close button label. If not set, any label set by parent will
38
+ * be used.
39
+ */
40
+ closeLabel: string;
41
+ openOnHover: boolean;
42
+ templateRef: TemplateRef<any>;
43
+ /** All items inside the menu. Includes items nested inside another menu. */
44
+ _allItems: QueryList<GraniteMenuItemComponent>;
45
+ /**
46
+ * Event emitted when the menu is closed
47
+ */
48
+ readonly closed: EventEmitter<ClosedEventType>;
49
+ /**
50
+ * Used for locating the panel in tests and setting the aria-control attribute
51
+ * for the menu trigger.
52
+ */
53
+ readonly panelId: string;
54
+ /** Parent menu of the current menu panel. */
55
+ parentMenu: GraniteMenuPanelInterface | undefined;
56
+ /** Layout direction of the menu. */
57
+ direction: Direction;
58
+ /** Whether to show back button in touch menu title bar */
59
+ showBackButton: boolean;
60
+ /** Whether to show touch menu title bar */
61
+ showTitle: boolean;
62
+ /** Whether to add a close button below the menu */
63
+ showCloseButton: boolean;
64
+ /** Observable current state of the panel animation. */
65
+ _transformMenu: BehaviorSubject<TransformMenu>;
66
+ /** Emits whenever an animation on the menu completes. */
67
+ _animationDone: Subject<AnimationEvent>;
68
+ /** Whether the menu is animating. */
69
+ _isAnimating: boolean;
70
+ /** Whether the menu is about to be destroyed. */
71
+ _isClosing: boolean;
72
+ /** Client input device information */
73
+ _clientInput: ClientInputInterface;
74
+ /** Client output device information */
75
+ _clientOutput: ClientOutputInterface;
76
+ private _menuEmpty$;
77
+ _isMenuEmpty$: Observable<boolean>;
78
+ /** Only the direct descendant menu items. */
79
+ private _directDescendantItems;
80
+ private _keyManager;
81
+ /** Subscription to tab events on the menu panel */
82
+ private _tabSubscription;
83
+ private _xPosition;
84
+ private _yPosition;
85
+ /** Current state of the panel animation. */
86
+ set _panelAnimationState(state: TransformMenuStates);
87
+ /**
88
+ * Current horizontal offset. Used with `pan` and `pan-hidden`
89
+ * animation states.
90
+ */
91
+ private xOffset;
92
+ constructor(_changeDetectorRef: ChangeDetectorRef);
93
+ ngAfterContentChecked(): void;
94
+ ngAfterContentInit(): void;
95
+ ngOnDestroy(): void;
96
+ /**
97
+ * Stream that combines the `_hovered` observables of all the menu's items
98
+ * into a single observable. Emits whenever the hovered menu item changes.
99
+ */
100
+ _hovered(): Observable<GraniteMenuItemComponent>;
101
+ /** Handle a keyboard event from the menu, delegating to the appropriate action. */
102
+ _handleKeydown(event: KeyboardEvent): void;
103
+ /**
104
+ * Focus the first item in the menu.
105
+ * @param origin Action from which the focus originated. Used to set the correct styling.
106
+ */
107
+ focusFirstItem(origin?: FocusOrigin): void;
108
+ /** Updates the `showTitle` property for touch device UI */
109
+ _updateShowTitle(): void;
110
+ /** Starts the enter animation */
111
+ _startAnimation(): void;
112
+ /** Resets the panel animation to its initial state. */
113
+ _resetAnimation(): void;
114
+ /**
115
+ * Starts the 'below' animation, moving a menu down, out of view below the
116
+ * viewport. Used to close the whole menu, for example when clicking
117
+ * the backdrop.
118
+ */
119
+ _startTouchCloseDownAnimation(): void;
120
+ /**
121
+ * Starts the 'below-with-delay' animation, moving a menu down, out of view below the
122
+ * viewport. Used to close the whole menu as a response to the user tapping
123
+ * a menu item. There is a short delay before the animation starts, to that
124
+ * the user gets a visual feedback on what item was selected.
125
+ */
126
+ _startTouchCloseDownAnimationWithDelay(): void;
127
+ /**
128
+ * Starts the 'void' animation, moving a (sub) menu out of view to the side
129
+ * of the viewport. Used when going "back" from a sub menu.
130
+ */
131
+ _startTouchCloseSideAnimation(): void;
132
+ /**
133
+ * Starts the enter-from-below animation, moving a (root) menu into view,
134
+ * Animates upwards from a starting position below the viewport.
135
+ */
136
+ _startTouchRootEnterAnimation(): void;
137
+ /** Starts the enter animation, moving a (sub) menu into view. */
138
+ _startTouchSubmenuEnterAnimation(): void;
139
+ /**
140
+ * Starts the pan animation, to position a submenu in a response
141
+ * to user dragging sideways (panning).
142
+ */
143
+ _startTouchPanAnimation(xOffset: number): void;
144
+ /**
145
+ * Starts the pan-hidden animation, to position a parent menu next to an
146
+ * active submenu that the user is dragging sideways (panning).
147
+ */
148
+ _startTouchHidePanAnimation(xOffset: number): void;
149
+ /**
150
+ * Starts the hide animation, to make a parent menu slide out to leave
151
+ * space for a submenu.
152
+ */
153
+ _startTouchHideAnimation(): void;
154
+ /** Callback that is invoked when the panel animation completes. */
155
+ _onAnimationDone(event: AnimationEvent): void;
156
+ _onAnimationStart(event: AnimationEvent): void;
157
+ /**
158
+ * Handle click on the menu by emitting on the `closed` emitter
159
+ * with a `click` reason
160
+ */
161
+ _handleClick(): void;
162
+ /**
163
+ * Handle click on the close button by emitting on the `closed` emitter
164
+ * without any particular reason
165
+ */
166
+ _handleCloseClick(): void;
167
+ /**
168
+ * Handle click on the back icon by emitting on the `clicked` emitter
169
+ */
170
+ _handleBackClick(e: MouseEvent): void;
171
+ /**
172
+ * Update client device information for the menu and its menu items.
173
+ */
174
+ _setDevice(clientInput: ClientInputInterface, clientOutput: ClientOutputInterface): void;
175
+ /**
176
+ * Resets the active item in the menu. This is used when the menu is opened, allowing
177
+ * the user to start from the first option when pressing the down arrow.
178
+ */
179
+ resetActiveItem(): void;
180
+ /**
181
+ * Sets up a stream that will keep track of any newly-added menu items and will update the list
182
+ * of direct descendants. We collect the descendants this way, because `_allItems` can include
183
+ * items that are part of child menus, and using a custom way of registering items is unreliable
184
+ * when it comes to maintaining the item order.
185
+ */
186
+ private _updateDirectDescendants;
187
+ static ɵfac: i0.ɵɵFactoryDeclaration<_MenuBaseComponent, never>;
188
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MenuBaseComponent, never, never, { "xPosition": "xPosition"; "yPosition": "yPosition"; "title": "title"; "closeLabel": "closeLabel"; "openOnHover": "openOnHover"; }, { "closed": "closed"; }, ["_allItems"]>;
189
+ }
190
+ export {};
@@ -3,6 +3,7 @@ import { ElementRef, OnDestroy } from '@angular/core';
3
3
  import { Subject } from 'rxjs';
4
4
  import { ClientInputInterface, ClientOutputInterface } from '../core/client-environment';
5
5
  import { GraniteMenuPanelInterface } from './menu-panel';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class GraniteMenuItemComponent implements OnDestroy, FocusableOption {
7
8
  private _elementRef;
8
9
  private _focusMonitor;
@@ -30,4 +31,6 @@ export declare class GraniteMenuItemComponent implements OnDestroy, FocusableOpt
30
31
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
31
32
  /** Returns the host DOM element. */
32
33
  _getHostElement(): HTMLElement;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuItemComponent, [null, null, { optional: true; }]>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuItemComponent, "[graniteMenuItem]", ["graniteMenuItem"], { "role": "role"; }, {}, never, ["*"]>;
33
36
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class GraniteMenuTouchCloseComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTouchCloseComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuTouchCloseComponent, "[graniteMenuTouchCloseItem]", ["graniteMenuTouchCloseItem"], {}, {}, never, ["*"]>;
2
5
  }
@@ -1,4 +1,5 @@
1
- import { _MenuBaseComponent } from './menu.component';
1
+ import { _MenuBaseComponent } from './menu-base';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GraniteMenuTouchTitleItemComponent {
3
4
  /**
4
5
  * Whether the menu item acts as a trigger to return to a parent menu
@@ -8,4 +9,6 @@ export declare class GraniteMenuTouchTitleItemComponent {
8
9
  constructor(
9
10
  /** If this is an item on a _submenu_, its parent menu will have a parent */
10
11
  _parentMenu: _MenuBaseComponent);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTouchTitleItemComponent, [{ optional: true; }]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuTouchTitleItemComponent, "[graniteMenuTouchTitleItem]", ["graniteMenuTouchTitleItem"], {}, {}, never, ["*"]>;
11
14
  }
@@ -2,9 +2,10 @@ import { AfterContentInit, ElementRef, OnChanges, OnDestroy, SimpleChanges, View
2
2
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
3
3
  import { Directionality } from '@angular/cdk/bidi';
4
4
  import { Overlay } from '@angular/cdk/overlay';
5
- import { _MenuBaseComponent } from './menu.component';
5
+ import { _MenuBaseComponent } from './menu-base';
6
6
  import { GraniteMenuItemComponent } from './menu-item.component';
7
7
  import { ClientInputInterface, ClientOutputInterface } from '../core/client-environment';
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Directive used to turn a button element into a (popup) menu trigger
10
11
  *
@@ -182,4 +183,6 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
182
183
  * @param end Value to which current value is compared
183
184
  */
184
185
  private easeOutExpo;
186
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTriggerForDirective, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
187
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", never, { "menu": "graniteMenuTriggerFor"; }, {}, never>;
185
188
  }