@coolon/angular-ui-powerups 2.0.0-alpha.38 → 2.0.0-alpha.5

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 (354) hide show
  1. package/CHANGELOG.md +0 -226
  2. package/assets/interaction.scss +0 -5
  3. package/assets/styles.scss +0 -2
  4. package/assets/tabs.scss +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.js +394 -1763
  6. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  7. package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
  8. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  9. package/coolon-angular-ui-powerups.d.ts +54 -67
  10. package/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/esm2015/coolon-angular-ui-powerups.js +52 -65
  12. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  13. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  14. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  15. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  16. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  17. package/esm2015/lib/components/components.module.js +14 -54
  18. package/esm2015/lib/components/components.module.js.map +1 -1
  19. package/esm2015/lib/components/components.module.metadata.json +1 -1
  20. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  21. package/esm2015/lib/components/forms/abstract-input.component.js +4 -12
  22. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  23. package/esm2015/lib/components/forms/abstract-input.component.metadata.json +1 -1
  24. package/esm2015/lib/components/forms/abstract-list-input.component.js +14 -27
  25. package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
  26. package/esm2015/lib/components/forms/abstract-list-input.component.metadata.json +1 -1
  27. package/esm2015/lib/components/forms/abstract-value-input.component.js +15 -31
  28. package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
  29. package/esm2015/lib/components/forms/abstract-value-input.component.metadata.json +1 -1
  30. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
  31. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
  32. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  33. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +9 -8
  34. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
  35. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
  36. package/esm2015/lib/components/forms/number-input/number-input.component.js +1 -1
  37. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  38. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  39. package/esm2015/lib/components/forms/password-input/password-input.component.js +1 -1
  40. package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
  41. package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
  42. package/esm2015/lib/components/forms/select-input/select-input.component.js +1 -2
  43. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  44. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  45. package/esm2015/lib/components/forms/string-input/string-input.component.js +3 -3
  46. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  47. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  48. package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
  49. package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -1
  50. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  51. package/esm2015/lib/components/icon/icon.component.js +4 -17
  52. package/esm2015/lib/components/icon/icon.component.js.map +1 -1
  53. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  54. package/esm2015/lib/components/index.js +1 -18
  55. package/esm2015/lib/components/index.js.map +1 -1
  56. package/esm2015/lib/components/index.metadata.json +1 -1
  57. package/esm2015/lib/components/table/{cell-portal-ref.js → cell-protal-ref.js} +3 -7
  58. package/esm2015/lib/components/table/cell-protal-ref.js.map +1 -0
  59. package/esm2015/lib/components/table/{cell-portal-ref.metadata.json → cell-protal-ref.metadata.json} +1 -1
  60. package/esm2015/lib/components/table/column-model.js +11 -66
  61. package/esm2015/lib/components/table/column-model.js.map +1 -1
  62. package/esm2015/lib/components/table/column-model.metadata.json +1 -1
  63. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  64. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  65. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  66. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  67. package/esm2015/lib/components/table/table-model.js +12 -15
  68. package/esm2015/lib/components/table/table-model.js.map +1 -1
  69. package/esm2015/lib/components/table/table-model.metadata.json +1 -1
  70. package/esm2015/lib/components/table/table.component.js +1 -1
  71. package/esm2015/lib/components/table/table.component.js.map +1 -1
  72. package/esm2015/lib/components/table/table.component.metadata.json +1 -1
  73. package/esm2015/lib/interaction/activity-ref.js +2 -10
  74. package/esm2015/lib/interaction/activity-ref.js.map +1 -1
  75. package/esm2015/lib/interaction/activity-ref.metadata.json +1 -1
  76. package/esm2015/lib/interaction/activity.js +1 -18
  77. package/esm2015/lib/interaction/activity.js.map +1 -1
  78. package/esm2015/lib/interaction/activity.metadata.json +1 -1
  79. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +1 -1
  80. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  81. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +17 -24
  82. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  83. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  84. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
  85. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
  86. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
  87. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  88. package/esm2015/lib/place/components/abstract-place-navigation.component.js +3 -4
  89. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  90. package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +1 -1
  91. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  92. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  93. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  94. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +16 -56
  95. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  96. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  97. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +2 -2
  98. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
  99. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  100. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  101. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
  102. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  103. package/esm2015/lib/place/place-component.js +1 -13
  104. package/esm2015/lib/place/place-component.js.map +1 -1
  105. package/esm2015/lib/place/place-component.metadata.json +1 -1
  106. package/esm2015/lib/place/place-router.js +8 -2
  107. package/esm2015/lib/place/place-router.js.map +1 -1
  108. package/esm2015/lib/place/place-router.metadata.json +1 -1
  109. package/esm2015/lib/place/place.module.js +3 -3
  110. package/esm2015/lib/place/place.module.js.map +1 -1
  111. package/esm2015/lib/place/place.module.metadata.json +1 -1
  112. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  113. package/esm2015/lib/place/route/parameter-decorators.js +3 -2
  114. package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
  115. package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
  116. package/esm5/coolon-angular-ui-powerups.js +52 -65
  117. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  118. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  119. package/esm5/lib/components/card-container/card-container.component.js +1 -1
  120. package/esm5/lib/components/components.module.js +14 -54
  121. package/esm5/lib/components/components.module.js.map +1 -1
  122. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  123. package/esm5/lib/components/forms/abstract-input.component.js +4 -12
  124. package/esm5/lib/components/forms/abstract-input.component.js.map +1 -1
  125. package/esm5/lib/components/forms/abstract-list-input.component.js +14 -27
  126. package/esm5/lib/components/forms/abstract-list-input.component.js.map +1 -1
  127. package/esm5/lib/components/forms/abstract-value-input.component.js +15 -31
  128. package/esm5/lib/components/forms/abstract-value-input.component.js.map +1 -1
  129. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
  130. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
  131. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js +9 -8
  132. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
  133. package/esm5/lib/components/forms/number-input/number-input.component.js +1 -1
  134. package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
  135. package/esm5/lib/components/forms/password-input/password-input.component.js +1 -1
  136. package/esm5/lib/components/forms/password-input/password-input.component.js.map +1 -1
  137. package/esm5/lib/components/forms/select-input/select-input.component.js +1 -2
  138. package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
  139. package/esm5/lib/components/forms/string-input/string-input.component.js +3 -3
  140. package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
  141. package/esm5/lib/components/forms/text-input/text-input.component.js +1 -1
  142. package/esm5/lib/components/forms/text-input/text-input.component.js.map +1 -1
  143. package/esm5/lib/components/icon/icon.component.js +3 -15
  144. package/esm5/lib/components/icon/icon.component.js.map +1 -1
  145. package/esm5/lib/components/index.js +1 -18
  146. package/esm5/lib/components/index.js.map +1 -1
  147. package/esm5/lib/components/table/{cell-portal-ref.js → cell-protal-ref.js} +3 -7
  148. package/esm5/lib/components/table/cell-protal-ref.js.map +1 -0
  149. package/esm5/lib/components/table/column-model.js +11 -67
  150. package/esm5/lib/components/table/column-model.js.map +1 -1
  151. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  152. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  153. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  154. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  155. package/esm5/lib/components/table/table-model.js +13 -15
  156. package/esm5/lib/components/table/table-model.js.map +1 -1
  157. package/esm5/lib/components/table/table.component.js +1 -1
  158. package/esm5/lib/components/table/table.component.js.map +1 -1
  159. package/esm5/lib/interaction/activity-ref.js +2 -14
  160. package/esm5/lib/interaction/activity-ref.js.map +1 -1
  161. package/esm5/lib/interaction/activity.js +1 -27
  162. package/esm5/lib/interaction/activity.js.map +1 -1
  163. package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js +1 -1
  164. package/esm5/lib/interaction/components/activity-container/activity-container.component.js +17 -24
  165. package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  166. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
  167. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
  168. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  169. package/esm5/lib/place/components/abstract-place-navigation.component.js +3 -4
  170. package/esm5/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  171. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  172. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  173. package/esm5/lib/place/components/place-outlet/place-outlet.component.js +16 -56
  174. package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  175. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +2 -2
  176. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
  177. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  178. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
  179. package/esm5/lib/place/place-component.js +1 -17
  180. package/esm5/lib/place/place-component.js.map +1 -1
  181. package/esm5/lib/place/place-router.js +8 -2
  182. package/esm5/lib/place/place-router.js.map +1 -1
  183. package/esm5/lib/place/place.module.js +3 -3
  184. package/esm5/lib/place/place.module.js.map +1 -1
  185. package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
  186. package/esm5/lib/place/route/parameter-decorators.js +3 -2
  187. package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
  188. package/fesm2015/coolon-angular-ui-powerups.js +307 -1488
  189. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  190. package/fesm5/coolon-angular-ui-powerups.js +324 -1673
  191. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  192. package/lib/components/forms/abstract-input.component.d.ts +2 -8
  193. package/lib/components/forms/abstract-list-input.component.d.ts +3 -4
  194. package/lib/components/forms/abstract-value-input.component.d.ts +4 -5
  195. package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +2 -7
  196. package/lib/components/forms/select-input/select-input.component.d.ts +0 -1
  197. package/lib/components/icon/icon.component.d.ts +0 -15
  198. package/lib/components/index.d.ts +1 -19
  199. package/lib/components/table/{cell-portal-ref.d.ts → cell-protal-ref.d.ts} +4 -4
  200. package/lib/components/table/column-model.d.ts +12 -18
  201. package/lib/components/table/table-cell-renderer/table-cell-renderer.component.d.ts +1 -1
  202. package/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.d.ts +1 -1
  203. package/lib/components/table/table-model.d.ts +5 -13
  204. package/lib/interaction/activity-ref.d.ts +0 -3
  205. package/lib/interaction/activity.d.ts +2 -6
  206. package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -4
  207. package/lib/place/components/abstract-place-navigation.component.d.ts +2 -2
  208. package/lib/place/components/place-outlet/place-outlet.component.d.ts +2 -8
  209. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -1
  210. package/lib/place/place-component.d.ts +0 -6
  211. package/package.json +4 -4
  212. package/assets/commands.scss +0 -3
  213. package/assets/icons.scss +0 -30
  214. package/esm2015/lib/components/commands/command/command.component.js +0 -61
  215. package/esm2015/lib/components/commands/command/command.component.js.map +0 -1
  216. package/esm2015/lib/components/commands/command/command.component.metadata.json +0 -1
  217. package/esm2015/lib/components/commands/command/command.component.ngfactory.js.map +0 -1
  218. package/esm2015/lib/components/commands/command-face/command-face.component.js +0 -92
  219. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +0 -1
  220. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +0 -1
  221. package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +0 -1
  222. package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +0 -1
  223. package/esm2015/lib/components/commands/command-face.js +0 -112
  224. package/esm2015/lib/components/commands/command-face.js.map +0 -1
  225. package/esm2015/lib/components/commands/command-face.metadata.json +0 -1
  226. package/esm2015/lib/components/commands/flex.component.js +0 -30
  227. package/esm2015/lib/components/commands/flex.component.js.map +0 -1
  228. package/esm2015/lib/components/commands/flex.component.metadata.json +0 -1
  229. package/esm2015/lib/components/commands/flex.component.ngfactory.js.map +0 -1
  230. package/esm2015/lib/components/commands/group/command-group/command-group.component.js +0 -47
  231. package/esm2015/lib/components/commands/group/command-group/command-group.component.js.map +0 -1
  232. package/esm2015/lib/components/commands/group/command-group/command-group.component.metadata.json +0 -1
  233. package/esm2015/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +0 -1
  234. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +0 -55
  235. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +0 -1
  236. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.metadata.json +0 -1
  237. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +0 -1
  238. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +0 -39
  239. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +0 -1
  240. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.metadata.json +0 -1
  241. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +0 -1
  242. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +0 -1
  243. package/esm2015/lib/components/commands/group/command-group.js +0 -100
  244. package/esm2015/lib/components/commands/group/command-group.js.map +0 -1
  245. package/esm2015/lib/components/commands/group/command-group.metadata.json +0 -1
  246. package/esm2015/lib/components/commands/group/more-menu.component.js +0 -55
  247. package/esm2015/lib/components/commands/group/more-menu.component.js.map +0 -1
  248. package/esm2015/lib/components/commands/group/more-menu.component.metadata.json +0 -1
  249. package/esm2015/lib/components/commands/group/more-menu.component.ngfactory.js.map +0 -1
  250. package/esm2015/lib/components/commands/group/popup-menu.component.js +0 -65
  251. package/esm2015/lib/components/commands/group/popup-menu.component.js.map +0 -1
  252. package/esm2015/lib/components/commands/group/popup-menu.component.metadata.json +0 -1
  253. package/esm2015/lib/components/commands/group/popup-menu.component.ngfactory.js.map +0 -1
  254. package/esm2015/lib/components/commands/group/registration.js +0 -58
  255. package/esm2015/lib/components/commands/group/registration.js.map +0 -1
  256. package/esm2015/lib/components/commands/group/registration.metadata.json +0 -1
  257. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +0 -55
  258. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +0 -1
  259. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +0 -1
  260. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +0 -1
  261. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +0 -1
  262. package/esm2015/lib/components/commands/group/view-data.js +0 -104
  263. package/esm2015/lib/components/commands/group/view-data.js.map +0 -1
  264. package/esm2015/lib/components/commands/group/view-data.metadata.json +0 -1
  265. package/esm2015/lib/components/commands/separator.component.js +0 -35
  266. package/esm2015/lib/components/commands/separator.component.js.map +0 -1
  267. package/esm2015/lib/components/commands/separator.component.metadata.json +0 -1
  268. package/esm2015/lib/components/commands/separator.component.ngfactory.js.map +0 -1
  269. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -70
  270. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
  271. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +0 -1
  272. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
  273. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
  274. package/esm2015/lib/components/table/cell-portal-ref.js.map +0 -1
  275. package/esm2015/lib/components/table/mutable-cell-renderer.js +0 -1
  276. package/esm2015/lib/components/table/mutable-cell-renderer.js.map +0 -1
  277. package/esm2015/lib/components/table/mutable-cell-renderer.metadata.json +0 -1
  278. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js +0 -73
  279. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js.map +0 -1
  280. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.metadata.json +0 -1
  281. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +0 -1
  282. package/esm2015/lib/components/track-by.js +0 -5
  283. package/esm2015/lib/components/track-by.js.map +0 -1
  284. package/esm5/lib/components/commands/command/command.component.js +0 -64
  285. package/esm5/lib/components/commands/command/command.component.js.map +0 -1
  286. package/esm5/lib/components/commands/command/command.component.ngfactory.js.map +0 -1
  287. package/esm5/lib/components/commands/command-face/command-face.component.js +0 -123
  288. package/esm5/lib/components/commands/command-face/command-face.component.js.map +0 -1
  289. package/esm5/lib/components/commands/command-face/command-face.component.ngfactory.js.map +0 -1
  290. package/esm5/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +0 -1
  291. package/esm5/lib/components/commands/command-face.js +0 -145
  292. package/esm5/lib/components/commands/command-face.js.map +0 -1
  293. package/esm5/lib/components/commands/flex.component.js +0 -33
  294. package/esm5/lib/components/commands/flex.component.js.map +0 -1
  295. package/esm5/lib/components/commands/flex.component.ngfactory.js.map +0 -1
  296. package/esm5/lib/components/commands/group/command-group/command-group.component.js +0 -51
  297. package/esm5/lib/components/commands/group/command-group/command-group.component.js.map +0 -1
  298. package/esm5/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +0 -1
  299. package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +0 -59
  300. package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +0 -1
  301. package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +0 -1
  302. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +0 -42
  303. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +0 -1
  304. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +0 -1
  305. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +0 -1
  306. package/esm5/lib/components/commands/group/command-group.js +0 -122
  307. package/esm5/lib/components/commands/group/command-group.js.map +0 -1
  308. package/esm5/lib/components/commands/group/more-menu.component.js +0 -58
  309. package/esm5/lib/components/commands/group/more-menu.component.js.map +0 -1
  310. package/esm5/lib/components/commands/group/more-menu.component.ngfactory.js.map +0 -1
  311. package/esm5/lib/components/commands/group/popup-menu.component.js +0 -68
  312. package/esm5/lib/components/commands/group/popup-menu.component.js.map +0 -1
  313. package/esm5/lib/components/commands/group/popup-menu.component.ngfactory.js.map +0 -1
  314. package/esm5/lib/components/commands/group/registration.js +0 -80
  315. package/esm5/lib/components/commands/group/registration.js.map +0 -1
  316. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js +0 -58
  317. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js.map +0 -1
  318. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +0 -1
  319. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +0 -1
  320. package/esm5/lib/components/commands/group/view-data.js +0 -131
  321. package/esm5/lib/components/commands/group/view-data.js.map +0 -1
  322. package/esm5/lib/components/commands/separator.component.js +0 -37
  323. package/esm5/lib/components/commands/separator.component.js.map +0 -1
  324. package/esm5/lib/components/commands/separator.component.ngfactory.js.map +0 -1
  325. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -73
  326. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
  327. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
  328. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
  329. package/esm5/lib/components/table/cell-portal-ref.js.map +0 -1
  330. package/esm5/lib/components/table/mutable-cell-renderer.js +0 -1
  331. package/esm5/lib/components/table/mutable-cell-renderer.js.map +0 -1
  332. package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js +0 -63
  333. package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js.map +0 -1
  334. package/esm5/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +0 -1
  335. package/esm5/lib/components/track-by.js +0 -5
  336. package/esm5/lib/components/track-by.js.map +0 -1
  337. package/lib/components/commands/command/command.component.d.ts +0 -22
  338. package/lib/components/commands/command-face/command-face.component.d.ts +0 -34
  339. package/lib/components/commands/command-face.d.ts +0 -40
  340. package/lib/components/commands/flex.component.d.ts +0 -11
  341. package/lib/components/commands/group/command-group/command-group.component.d.ts +0 -11
  342. package/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.d.ts +0 -21
  343. package/lib/components/commands/group/command-group-renderer/command-group-renderer.component.d.ts +0 -13
  344. package/lib/components/commands/group/command-group.d.ts +0 -41
  345. package/lib/components/commands/group/more-menu.component.d.ts +0 -14
  346. package/lib/components/commands/group/popup-menu.component.d.ts +0 -17
  347. package/lib/components/commands/group/registration.d.ts +0 -32
  348. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +0 -13
  349. package/lib/components/commands/group/view-data.d.ts +0 -40
  350. package/lib/components/commands/separator.component.d.ts +0 -12
  351. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +0 -25
  352. package/lib/components/table/mutable-cell-renderer.d.ts +0 -6
  353. package/lib/components/table/table-row-menu/table-row-menu.component.d.ts +0 -26
  354. package/lib/components/track-by.d.ts +0 -3
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ErrorStateMatcher } from '@angular/material/core';
3
- import { Command, Disposable, EventListenerList, FocusManager, ListModel, ValueModel } from '@coolon/pectin';
3
+ import { Command, FocusManager, ListModel, ValueModel } from '@coolon/pectin';
4
4
  import { DisposableComponent } from '../disposable-component';
5
5
  interface InputModel<T> {
6
6
  value: T;
@@ -9,8 +9,7 @@ interface InputModel<T> {
9
9
  focusContext: FocusManager.Context;
10
10
  }
11
11
  export declare class AbstractInputComponent<T> extends DisposableComponent implements OnInit {
12
- protected onValueEditedListeners: EventListenerList<(is: T, was: T) => void>;
13
- protected formValueModel: InputModel<T>;
12
+ protected inputModel: InputModel<T>;
14
13
  label: string;
15
14
  userFloatLabel: 'auto' | 'always' | 'never';
16
15
  hint: string;
@@ -43,10 +42,5 @@ export declare class AbstractInputComponent<T> extends DisposableComponent imple
43
42
  get focusContext(): FocusManager.Context;
44
43
  get floatLabel(): 'auto' | 'always' | 'never';
45
44
  get showHint(): boolean;
46
- /**
47
- * Invokes the callback when this components value is changed by a user edit.
48
- * @param callback
49
- */
50
- onValueEdited(callback: (is: T, was: T) => void): Disposable;
51
45
  }
52
46
  export {};
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { Form, IMutableListModel, MutableListModel } from '@coolon/pectin';
2
+ import { Form, IMutableListModel } from '@coolon/pectin';
3
3
  import { AbstractInputComponent } from './abstract-input.component';
4
4
  export declare class AbstractListInputComponent<T> extends AbstractInputComponent<T[]> implements OnInit {
5
5
  listModel: Form.ListModelBase<T> | IMutableListModel<T>;
@@ -13,9 +13,8 @@ export declare class AbstractListInputComponent<T> extends AbstractInputComponen
13
13
  * friendly delegate. We have to use an existing delegate for union types as pectin just
14
14
  * gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
15
15
  */
16
- protected readonly formValueModel: Form.DelegatingListModel<T>;
17
- readonly componentListModel: MutableListModel<T>;
18
- private setValueIsInProgress;
16
+ readonly inputModel: Form.DelegatingListModel<T>;
17
+ private setValueIsInitialising;
19
18
  private listHolder;
20
19
  set value(value: T[]);
21
20
  readonly valueChange: EventEmitter<T[]>;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { Form, Guard, IMutableValueModel, MutableValueModel } from '@coolon/pectin';
2
+ import { Form, IMutableValueModel } from '@coolon/pectin';
3
3
  import { AbstractInputComponent } from './abstract-input.component';
4
4
  export declare class AbstractValueInputComponent<T> extends AbstractInputComponent<T> implements OnInit {
5
5
  valueModel: Form.ValueModelBase<T> | IMutableValueModel<T>;
@@ -13,10 +13,9 @@ export declare class AbstractValueInputComponent<T> extends AbstractInputCompone
13
13
  * friendly delegate. We have to use an existing delegate for union types as pectin just
14
14
  * gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
15
15
  */
16
- protected readonly formValueModel: Form.DelegatingValueModel<T>;
17
- protected setValueInProgress: Guard;
18
- readonly componentValueModel: MutableValueModel<T>;
19
- private plainValueHolder;
16
+ readonly inputModel: Form.DelegatingValueModel<T>;
17
+ private setValueIsInitialising;
18
+ private valueHolder;
20
19
  set value(value: T);
21
20
  readonly valueChange: EventEmitter<T>;
22
21
  constructor();
@@ -1,18 +1,13 @@
1
1
  import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { ListModel } from '@coolon/pectin';
3
3
  import { AbstractListInputComponent } from '../abstract-list-input.component';
4
- /**
5
- * Using templates:
6
- * <aup-multiple-select-input [valueModel]="myModel" [options]="myOptions">
7
- * <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
8
- * <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
9
- * </aup-multiple-select_input>
10
- */
11
4
  export declare class MultipleSelectInputComponent<T = any> extends AbstractListInputComponent<T> implements OnInit {
12
5
  optionsModel: ListModel<T>;
13
6
  options: T[];
14
7
  optionLabel: keyof T;
8
+ allowNil: boolean;
15
9
  optionTemplateRef: TemplateRef<any>;
10
+ nilOptionTemplateRef: TemplateRef<any>;
16
11
  optionLabelFormat: (option: T) => any;
17
12
  constructor();
18
13
  ngOnInit(): void;
@@ -5,7 +5,6 @@ import { AbstractValueInputComponent } from '../abstract-value-input.component';
5
5
  * Using templates:
6
6
  * <aup-select-input [valueModel]="myModel" [options]="myOptions">
7
7
  * <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
8
- * <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
9
8
  * </aup-select_input>
10
9
  */
11
10
  export declare class SelectInputComponent<T = any> extends AbstractValueInputComponent<T> implements OnInit {
@@ -1,23 +1,8 @@
1
- import { Enum } from 'typescript-string-enums';
2
1
  export declare class IconComponent {
3
2
  _icon: string;
4
3
  prefix: string;
5
4
  suffix: string;
6
5
  errorMessage: string;
7
- allowedPrefixes: string[];
8
- iconPrefix: {
9
- SVG: "svg";
10
- FONT_AWESOME: "fa";
11
- MATERIAL: "mat";
12
- };
13
6
  set icon(iconName: string);
14
7
  get icon(): string;
15
8
  }
16
- export declare namespace IconComponent {
17
- const IconPrefix: {
18
- SVG: "svg";
19
- FONT_AWESOME: "fa";
20
- MATERIAL: "mat";
21
- };
22
- type IconPrefix = Enum<typeof IconPrefix>;
23
- }
@@ -5,27 +5,11 @@ export * from "./components.module";
5
5
  export * from "./disposable-component";
6
6
  export * from "./focusable.component";
7
7
  export * from "./resize-aware.component";
8
- export * from "./track-by";
9
8
  export * from "./card-container/card-container.component";
10
- export * from "./commands/command-face";
11
- export * from "./commands/flex.component";
12
- export * from "./commands/separator.component";
13
- export * from "./commands/command/command.component";
14
- export * from "./commands/command-face/command-face.component";
15
- export * from "./commands/group/command-group";
16
- export * from "./commands/group/more-menu.component";
17
- export * from "./commands/group/popup-menu.component";
18
- export * from "./commands/group/registration";
19
- export * from "./commands/group/view-data";
20
- export * from "./commands/group/command-group/command-group.component";
21
- export * from "./commands/group/command-group-menu-renderer/command-group-menu-renderer.component";
22
- export * from "./commands/group/command-group-renderer/command-group-renderer.component";
23
- export * from "./commands/group/tool-bar/tool-bar.component";
24
9
  export * from "./focus-container/focus-container.component";
25
10
  export * from "./forms/abstract-input.component";
26
11
  export * from "./forms/abstract-list-input.component";
27
12
  export * from "./forms/abstract-value-input.component";
28
- export * from "./forms/autocomplete-input/autocomplete-input.component";
29
13
  export * from "./forms/checkbox-input/checkbox-input.component";
30
14
  export * from "./forms/multiple-select-input/multiple-select-input.component";
31
15
  export * from "./forms/number-input/number-input.component";
@@ -39,12 +23,11 @@ export * from "./scroll-container/scroll-container.component";
39
23
  export * from "./section-header/section-header.component";
40
24
  export * from "./switch-case/switch-case.component";
41
25
  export * from "./table/cell-editors";
42
- export * from "./table/cell-portal-ref";
26
+ export * from "./table/cell-protal-ref";
43
27
  export * from "./table/cell-renderer";
44
28
  export * from "./table/column-model";
45
29
  export * from "./table/column-text-properties";
46
30
  export * from "./table/edit-session";
47
- export * from "./table/mutable-cell-renderer";
48
31
  export * from "./table/table-def";
49
32
  export * from "./table/table-model";
50
33
  export * from "./table/table.component";
@@ -56,7 +39,6 @@ export * from "./table/select-cell-renderer/select-cell-renderer.component";
56
39
  export * from "./table/select-header-cell-renderer/select-header-cell-renderer.component";
57
40
  export * from "./table/table-cell-renderer/table-cell-renderer.component";
58
41
  export * from "./table/table-header-cell-renderer/table-header-cell-renderer.component";
59
- export * from "./table/table-row-menu/table-row-menu.component";
60
42
  export * from "./types/bounds.class";
61
43
  export * from "./types/dimension.class";
62
44
  export * from "./types/point.class";
@@ -1,9 +1,9 @@
1
1
  import { ComponentType } from '@angular/cdk/overlay';
2
2
  import { TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { ColumnModel, RowData } from './column-model';
4
- import { EditSession } from './edit-session';
5
- import { TableCellRendererComponent } from './table-cell-renderer/table-cell-renderer.component';
6
4
  import { TableHeaderCellRendererComponent } from './table-header-cell-renderer/table-header-cell-renderer.component';
5
+ import { TableCellRendererComponent } from './table-cell-renderer/table-cell-renderer.component';
6
+ import { EditSession } from './edit-session';
7
7
  export declare const HEADER_CELL_RENDERER_PORTAL: unique symbol;
8
8
  export declare const CELL_RENDERER_PORTAL: unique symbol;
9
9
  export declare const CELL_EDITOR_PORTAL: unique symbol;
@@ -26,8 +26,8 @@ export declare abstract class CellRendererPortalRef<Row, Portal> extends CellPor
26
26
  }
27
27
  export declare class ComponentCellRendererPortalRef<Row, Portal> extends CellRendererPortalRef<Row, Portal> {
28
28
  readonly componentType: ComponentType<Portal>;
29
- readonly updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void;
30
- constructor(componentType: ComponentType<Portal>, updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void);
29
+ readonly updateComponent: (component: Portal, rowData: RowData<Row>) => void;
30
+ constructor(componentType: ComponentType<Portal>, updateComponent: (component: Portal, rowData: RowData<Row>) => void);
31
31
  initialiseHost(host: TableCellRendererComponent<Row>, columnModel: ColumnModel<Row>): void;
32
32
  onPortalAttached(host: TableCellRendererComponent<Row>, portalComponent: Portal): void;
33
33
  pushState(host: TableCellRendererComponent<Row>): void;
@@ -2,11 +2,9 @@ import { ComponentType } from '@angular/cdk/overlay';
2
2
  import { TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Command, DirtyTrackingForm, SelectionModel, Types, UnaryCommand, Validator } from '@coolon/pectin';
4
4
  import { CellEditorComponent, CellListEditorComponent } from './cell-editors';
5
- import { CellEditorPortalRef, CellHeaderPortalRef, CellRendererPortalRef } from './cell-portal-ref';
6
- import { CellRenderer } from './cell-renderer';
5
+ import { CellEditorPortalRef, CellHeaderPortalRef, CellRendererPortalRef } from './cell-protal-ref';
7
6
  import { ColumnTextProperties } from './column-text-properties';
8
7
  import { EditSession } from './edit-session';
9
- import { MutableCellRenderer } from './mutable-cell-renderer';
10
8
  import { TableCellRendererComponent } from './table-cell-renderer/table-cell-renderer.component';
11
9
  import { TableHeaderCellRendererComponent } from './table-header-cell-renderer/table-header-cell-renderer.component';
12
10
  export interface RowData<Row> {
@@ -14,14 +12,6 @@ export interface RowData<Row> {
14
12
  editSession?: EditSession<Row>;
15
13
  editRowCommand: Command<void>;
16
14
  }
17
- export declare type OnComponentInit<C> = (component: C) => void;
18
- export interface CellRendererOptions<Row, E> {
19
- onComponentInit?: (component: E) => void;
20
- onRowUpdate?: (component: E, row: Row) => void;
21
- }
22
- export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends CellRendererOptions<Row, E> {
23
- onValueEdit: (row: Row, is: Row[P], was: Row[P]) => void;
24
- }
25
15
  export declare class ColumnModel<Row> {
26
16
  readonly columnId: string;
27
17
  private defaults;
@@ -56,13 +46,17 @@ export declare namespace ColumnModel {
56
46
  getColumnTextProperties(columnModel: ColumnModel<any>): ColumnTextProperties;
57
47
  }
58
48
  }
49
+ export interface CellEditorOptions<V, C> {
50
+ validators?: Validator<V>[];
51
+ initialiseComponent?(component: C): any;
52
+ }
59
53
  export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
60
54
  readonly property: P;
61
55
  private _format;
62
- constructor(id: string, property: P, defaults: ColumnModel.Defaults);
63
- cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, options?: CellRendererOptions<Row, E>): this;
64
- cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, onComponentInit?: OnComponentInit<E>): this;
65
- mutableCellRenderer<E extends MutableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
56
+ constructor(property: P, defaults: ColumnModel.Defaults);
57
+ cellRenderer(componentType: ComponentType<{
58
+ value: Row[P];
59
+ }>): this;
66
60
  cellEditor<E extends CellEditorComponent<Row[P]>>(editor: ComponentType<E>, validators?: Validator<Row[P]>[], initialiseComponent?: (component: E) => void): this;
67
61
  cellEditor<E extends CellEditorComponent<Row[P]>>(editor: ComponentType<E>, initialiseComponent?: (component: E) => void): this;
68
62
  format(formatter: (value: Row[P]) => any): this;
@@ -71,7 +65,7 @@ export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<
71
65
  export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
72
66
  readonly property: P;
73
67
  private _format;
74
- constructor(id: string, property: P, defaults: ColumnModel.Defaults);
68
+ constructor(property: P, defaults: ColumnModel.Defaults);
75
69
  cellRenderer(componentType: ComponentType<{
76
70
  value: Types.ArrayElementType<Row, P>[];
77
71
  }>): this;
@@ -83,9 +77,9 @@ export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertie
83
77
  export declare class CustomValueColumnModel<Row, V> extends ColumnModel<Row> {
84
78
  private getValue;
85
79
  constructor(columnId: string, defaults: ColumnModel.Defaults, getValue: (row: Row) => V);
86
- cellRenderer<C extends {
80
+ cellRenderer(componentType: ComponentType<{
87
81
  value: V;
88
- }>(componentType: ComponentType<C>, onComponentInitOrOptions?: CellRendererOptions<Row, C> | OnComponentInit<C>): this;
82
+ }>): this;
89
83
  selectRowOnClick(selectOnRowClick: boolean): this;
90
84
  }
91
85
  export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
@@ -5,7 +5,7 @@ import { CellEditorComponent, CellListEditorComponent } from '../cell-editors';
5
5
  import { ColumnModel, RowData } from '../column-model';
6
6
  import { EditSession } from '../edit-session';
7
7
  import { TableModel } from '../table-model';
8
- import { CELL_RENDERER_PORTAL, CELL_EDITOR_PORTAL } from '../cell-portal-ref';
8
+ import { CELL_RENDERER_PORTAL, CELL_EDITOR_PORTAL } from '../cell-protal-ref';
9
9
  export declare class TableCellRendererComponent<Row> extends DisposableComponent implements OnInit, OnChanges {
10
10
  row: Row;
11
11
  column: ColumnModel<Row>;
@@ -1,7 +1,7 @@
1
1
  import { Portal } from '@angular/cdk/portal';
2
2
  import { OnInit } from '@angular/core';
3
3
  import { ColumnModel } from '../column-model';
4
- import { HEADER_CELL_RENDERER_PORTAL } from '../cell-portal-ref';
4
+ import { HEADER_CELL_RENDERER_PORTAL } from '../cell-protal-ref';
5
5
  export declare class TableHeaderCellRendererComponent implements OnInit {
6
6
  column: ColumnModel<any>;
7
7
  defaultClassNames: string;
@@ -1,7 +1,5 @@
1
- import { ComponentType } from '@angular/cdk/overlay';
2
1
  import { BooleanValueModelChain, CanIdentify, DirtyTrackingForm, ListModel, ListModelChain, SelectionModel, Types, UnaryCommand, ValueModelChain } from '@coolon/pectin';
3
- import { CellRenderer } from './cell-renderer';
4
- import { CellRendererOptions, ColumnModel, CustomTemplateColumnModel, CustomValueColumnModel, EditorControlColumnModel, ListPropertyColumnModel, OnComponentInit, PropertyColumnModel, SelectionColumnModel } from './column-model';
2
+ import { ColumnModel, CustomTemplateColumnModel, CustomValueColumnModel, EditorControlColumnModel, ListPropertyColumnModel, PropertyColumnModel, SelectionColumnModel } from './column-model';
5
3
  import { ColumnTextProperties } from './column-text-properties';
6
4
  import { EditSession } from './edit-session';
7
5
  /**
@@ -95,26 +93,20 @@ export declare class TableModel<Row> {
95
93
  private _createForm;
96
94
  protected constructor(sourceOfTruth: ListModel<Row>);
97
95
  get rowsBeingEdited(): ListModel<Row>;
98
- readonly trackBy: (index: number, item: Row) => any;
96
+ getTrackByFunction(): (index: number, item: Row) => any;
99
97
  get columns(): ListModel<ColumnModel<Row>>;
100
- pluck<P extends Types.ValuePropertiesOf<Row>>(property: P, options?: {
101
- columnId: string;
102
- }): PropertyColumnModel<Row, P>;
103
- pluckList<P extends Types.ArrayPropertiesOf<Row>>(property: P, options?: {
104
- columnId: string;
105
- }): ListPropertyColumnModel<Row, P>;
98
+ pluck<P extends Types.ValuePropertiesOf<Row>>(property: P): PropertyColumnModel<Row, P>;
99
+ pluckList<P extends Types.ArrayPropertiesOf<Row>>(property: P): ListPropertyColumnModel<Row, P>;
106
100
  addSelectionColumn(selectionModel: SelectionModel<Row>): SelectionColumnModel<Row>;
107
101
  addEditControls(saveCommand: UnaryCommand<DirtyTrackingForm<Row>, boolean>): EditorControlColumnModel<Row>;
108
102
  addCustomColumn<V>(columnId: string, dataAccessor: (row: Row) => V): CustomValueColumnModel<Row, V>;
109
- addComponentColumn<C extends CellRenderer<Row>>(columnId: string, component: ComponentType<C>, onInit?: OnComponentInit<C>): CustomValueColumnModel<Row, Row>;
110
- addComponentColumn<C extends CellRenderer<Row>>(columnId: string, component: ComponentType<C>, options?: CellRendererOptions<Row, C>): CustomValueColumnModel<Row, Row>;
111
103
  addTemplateColumn<V>(columnId: string): CustomTemplateColumnModel<Row>;
112
104
  addRowClass(className: string, predicate: (row: Row) => boolean): void;
113
105
  getRowClasses(row: Row): string[];
114
106
  useFormFactory(factory: (row: Row) => DirtyTrackingForm<Row>): this;
115
107
  protected addColumn<C extends ColumnModel<Row>>(column: C): C;
116
108
  columnTextProperties(columnTextProperties: {
117
- [columnName: string]: ColumnTextProperties;
109
+ [columnName: string]: () => ColumnTextProperties;
118
110
  }): void;
119
111
  getColumnTextProperties(column: ColumnModel<Row>): ColumnTextProperties;
120
112
  startEditSession(row: Row): EditSession<Row>;
@@ -8,13 +8,10 @@ export declare class ActivityRef<D, R, E> {
8
8
  private _complete;
9
9
  private _activity;
10
10
  private deferredResult;
11
- private readonly focusedModel;
12
11
  constructor(activityClass: Constructable<Activity<D, R, E>>, activityData: D, onComplete: (activityRef: ActivityRef<D, R, E>) => void);
13
12
  isActivityRealised(): boolean;
14
13
  isComplete(): boolean;
15
14
  get activity(): Activity<D, R, E>;
16
- setFocused(focused: boolean): void;
17
- get focused(): boolean;
18
15
  notifyActivityCreated(activity: Activity<D, R, E>, nestedInteractionContext: InteractionContext): void;
19
16
  protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void): void;
20
17
  cancel(): void;
@@ -5,26 +5,22 @@ import { InteractionContext } from './interaction-context';
5
5
  export declare const ACTIVITY_DATA: InjectionToken<any>;
6
6
  export declare abstract class Activity<D, R, E = any> extends DisposableComponent {
7
7
  private readonly _busyModel;
8
- private _focusedModel;
9
8
  private _activityContext;
10
9
  private _interactionContext;
11
10
  class: string;
12
- get isFocused(): boolean;
13
- initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Context<R, E>): void;
11
+ initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Callbacks<R, E>): void;
14
12
  get interactionContext(): InteractionContext;
15
13
  done(result?: R): void;
16
14
  cancel(error?: E): void;
17
15
  onActivityReady(): void;
18
16
  get busy(): ValueModel<boolean>;
19
- get focused(): ValueModel<boolean>;
20
17
  busyWhile(busyModel: ValueModel<boolean>): void;
21
18
  isBusy(): boolean;
22
19
  isInitialised(): boolean;
23
20
  }
24
21
  export declare namespace Activity {
25
- interface Context<R, E> {
22
+ interface Callbacks<R, E> {
26
23
  onDone: (result: R) => void;
27
24
  onCancel: (error: E) => void;
28
- focused: ValueModel<boolean>;
29
25
  }
30
26
  }
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, OnInit, QueryList } from '@angular/core';
2
2
  import { MatTabGroup } from '@angular/material/tabs';
3
- import { Constructable, Disposable, MutableValueModel } from '@coolon/pectin';
3
+ import { Constructable, Disposable } from '@coolon/pectin';
4
4
  import { AbstractInteractionContext } from '../../abstract-interaction-context';
5
5
  import { Activity } from '../../activity';
6
6
  import { ActivityRef } from '../../activity-ref';
@@ -10,14 +10,13 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
10
10
  dynamicHeight: boolean;
11
11
  tabs: MatTabGroup;
12
12
  activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;
13
- activityRefs: ActivityRef<any, any, any>[];
13
+ activityTabs: ActivityRef<any, any, any>[];
14
14
  private _identifier;
15
15
  private _deferredCleanUp;
16
16
  private interactionServiceApi;
17
17
  private garbage;
18
18
  private syncSelectedTabTimeout;
19
19
  private onAnimationFinishedJob;
20
- readonly inAnimation: MutableValueModel<boolean>;
21
20
  constructor();
22
21
  ngOnInit(): void;
23
22
  ngAfterViewInit(): void;
@@ -53,6 +52,5 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
53
52
  */
54
53
  private synchroniseSelectedTabIndex;
55
54
  private getSelectedOutlet;
56
- getSelectedTabIndex(): number;
57
55
  private triggerTabSynchronisation;
58
56
  }
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { Command, Constructable, DelegatingValueModel, ListModel, ListModelChain, ValueModel } from '@coolon/pectin';
3
- import { CommandFace } from '../../components/commands/command-face';
4
3
  import { DisposableComponent } from '../../components/disposable-component';
4
+ import { NavItem } from '../nav-item';
5
5
  import { PlaceComponent } from '../place-component';
6
6
  import { PlaceDefinition } from '../place-definition';
7
7
  import { PlaceRouter } from '../place-router';
@@ -16,7 +16,7 @@ export declare class AbstractPlaceNavigationComponent extends DisposableComponen
16
16
  readonly _activePlaceComponent: DelegatingValueModel<PlaceComponent>;
17
17
  private activePlaceDefinition;
18
18
  constructor(placeRouter: PlaceRouter);
19
- getNavigationFace(placeDef: PlaceDefinition): CommandFace;
19
+ getNav(placeDef: PlaceDefinition): NavItem;
20
20
  isActive(place: PlaceDefinition): boolean;
21
21
  ngOnInit(): void;
22
22
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Router, RouterOutlet } from '@angular/router';
3
- import { BooleanValueModelChain, Constructable, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
3
+ import { Constructable, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
4
4
  import { DisposableComponent } from '../../../components/disposable-component';
5
5
  import { PlaceComponent } from '../../place-component';
6
6
  import { PlaceConfig } from '../../place-config';
@@ -16,21 +16,16 @@ export declare class PlaceOutletComponent extends DisposableComponent implements
16
16
  customPlaceAnimationOrder: Constructable<PlaceComponent>[];
17
17
  readonly placeChanged: EventEmitter<PlaceComponent>;
18
18
  routerOut: RouterOutlet;
19
- private onAnimationFinishedJob;
20
19
  private outletActivated;
21
20
  private readonly _activatedRouteModel;
22
21
  private readonly _activePlaceModel;
23
22
  private readonly _activePlaceDefinition;
24
23
  private parentOutletModel;
25
- readonly activePlaceAnimationPosition: ValueModelChain<number>;
24
+ readonly placeAnimationOrder: ValueModelChain<number>;
26
25
  private initialPlaceIndex;
27
26
  private routerVisitModel;
28
27
  private _isPushingVisitToRoute;
29
28
  private navigationInProgress;
30
- private isVeryFirstLoad;
31
- private placesInAnimationOrder;
32
- private animationSupported;
33
- readonly animationEnabled: BooleanValueModelChain;
34
29
  constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, parentOutlet: PlaceOutletComponent);
35
30
  ngOnInit(): void;
36
31
  getAnimationOrder(): number;
@@ -40,7 +35,6 @@ export declare class PlaceOutletComponent extends DisposableComponent implements
40
35
  get activePlaceModel(): ValueModel<PlaceComponent>;
41
36
  get activatedRouteModel(): ValueModel<ActivatedRoute>;
42
37
  onOutletActivated(routerOutlet: RouterOutlet, place: PlaceComponent): void;
43
- private validateAnimationState;
44
38
  onOutletDeactivated(): void;
45
39
  private checkStateAndInitialise;
46
40
  private initialisePlace;
@@ -40,7 +40,7 @@ import { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.c
40
40
  * (at)Place({
41
41
  * path: 'myPlace',
42
42
  * data: {
43
- * nav: I18n.places.myPlace.nav
43
+ * nav: I18n.places.myPlace.nav()
44
44
  * }
45
45
  * })
46
46
  */
@@ -10,7 +10,6 @@ export declare const ROUTE_PARAMETER_LIST_KEY: unique symbol;
10
10
  export declare class PlaceComponent extends DisposableComponent {
11
11
  private visitModel;
12
12
  private _inVisitUpdate;
13
- private _active;
14
13
  interactionContext?: InteractionContext;
15
14
  canDeactivate?(interactionContext: InteractionContext): boolean | Promise<boolean>;
16
15
  constructor();
@@ -20,11 +19,6 @@ export declare class PlaceComponent extends DisposableComponent {
20
19
  private installBinding;
21
20
  get placeDefinition(): PlaceDefinition;
22
21
  get childPlaces(): Constructable<PlaceComponent>[];
23
- get active(): import("@coolon/pectin").ValueModel<boolean>;
24
- /**
25
- * Called by the router when the place is ready to interact after any animations have run.
26
- */
27
- _notifyActive(active: boolean): void;
28
22
  onPlaceReady(): void;
29
23
  }
30
24
  export declare namespace PlaceComponent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "2.0.0-alpha.38",
3
+ "version": "2.0.0-alpha.5",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.0.0",
@@ -11,12 +11,12 @@
11
11
  "@angular/platform-browser": "^9.1.9",
12
12
  "factory.ts": "^0.5.1",
13
13
  "faker": "^4.1.0",
14
+ "immer": "^6.0.5",
14
15
  "@angular/platform-browser-dynamic": "^9.1.9",
15
16
  "@angular/flex-layout": "^9.0.0-beta.31",
16
17
  "@angular/router": "^9.1.9",
17
18
  "rxjs": "~6.5.5",
18
- "reflect-metadata": "^0.1.13",
19
- "zone.js": "~0.10.2"
19
+ "reflect-metadata": "^0.1.13"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@angular/common": "^9.1.9",
@@ -24,7 +24,7 @@
24
24
  "@angular/material": "^9.2.4",
25
25
  "@angular/animations": "^9.1.9",
26
26
  "@angular/cdk": "^9.2.4",
27
- "@coolon/pectin": ">=3.0.0-alpha.27",
27
+ "@coolon/pectin": ">=2.9.0",
28
28
  "resize-observer-polyfill": "^1.5.1",
29
29
  "@fortawesome/angular-fontawesome": "^0.6.1",
30
30
  "@fortawesome/fontawesome-svg-core": "^1.2.28",
@@ -1,3 +0,0 @@
1
- :root {
2
- --aup-command-face-icon-gap: 8px;
3
- }
package/assets/icons.scss DELETED
@@ -1,30 +0,0 @@
1
- :root {
2
- --aup-icon-width: 24px;
3
- --aup-fa-icon-width: 18px;
4
- }
5
-
6
-
7
- aup-icon {
8
- // egregious hackery to get the font awesome icons positioning correctly
9
- --fa-icon-offset: calc((var(--aup-icon-width) - var(--aup-fa-icon-width)) / 2);
10
-
11
- position: relative;
12
- fa-icon {
13
- .svg-inline--fa {
14
- position: absolute;
15
- top: var(--fa-icon-offset);
16
- left: var(--fa-icon-offset);
17
- width: var(--aup-fa-icon-width) !important;
18
- height: var(--aup-fa-icon-width) !important;
19
- }
20
- }
21
- }
22
-
23
- // egregious hackery to get the icon to display the same as a mat-icon inside a mat-menu
24
- .mat-menu-panel {
25
- aup-icon {
26
- .svg-inline--fa {
27
- opacity: 0.54;
28
- }
29
- }
30
- }
@@ -1,61 +0,0 @@
1
- import { __decorate, __metadata, __param } from "tslib";
2
- import { Component, Input, Optional } from '@angular/core';
3
- import { Command, Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
4
- import { DisposableComponent } from '../../disposable-component';
5
- import { CommandFace } from '../command-face';
6
- import { CommandGroup } from '../group/command-group';
7
- /**
8
- *
9
- */
10
- let CommandComponent = class CommandComponent extends DisposableComponent {
11
- constructor(parent) {
12
- super();
13
- this.parent = parent;
14
- this.CommandFace = CommandFace;
15
- const { chain, switchOn } = Dsl.disposeWith(this);
16
- this.activeFaceModel = switchOn(this.command.busy).toValue(when => {
17
- when.equalTo(true, this.busyFaceModel);
18
- when.otherwise(this.faceModel);
19
- }).otherwise(this.faceModel);
20
- this.buttonStyle = chain(this.activeFaceModel).map(f => CommandFace.getStyleOf(f));
21
- this.colorModel = chain(this.activeFaceModel).map(f => CommandFace.getColorOf(f));
22
- if (parent) {
23
- this.registerDisposable(this.parent.registerCommand(this.command, this.activeFaceModel));
24
- }
25
- }
26
- ngOnInit() {
27
- }
28
- };
29
- CommandComponent.ctorParameters = () => [
30
- { type: CommandGroup, decorators: [{ type: Optional }] }
31
- ];
32
- __decorate([
33
- Input(), TrackExternal(),
34
- __metadata("design:type", Command)
35
- ], CommandComponent.prototype, "command", void 0);
36
- __decorate([
37
- Input(), TrackExternal(),
38
- __metadata("design:type", ValueModel)
39
- ], CommandComponent.prototype, "faceModel", void 0);
40
- __decorate([
41
- Input(), StoreInValueModel('faceModel'),
42
- __metadata("design:type", Object)
43
- ], CommandComponent.prototype, "face", void 0);
44
- __decorate([
45
- Input(), TrackExternal(),
46
- __metadata("design:type", ValueModel)
47
- ], CommandComponent.prototype, "busyFaceModel", void 0);
48
- __decorate([
49
- Input(), StoreInValueModel('busyFaceModel'),
50
- __metadata("design:type", Object)
51
- ], CommandComponent.prototype, "busyFace", void 0);
52
- CommandComponent = __decorate([
53
- Component({
54
- selector: 'aup-command',
55
- template: "<ng-container *ngIf=\"!parent\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <button *ngSwitchCase=\"CommandFace.Style.STROKED\" mat-stroked-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"CommandFace.Style.RAISED\" mat-raised-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchDefault mat-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n </ng-container>\n</ng-container>\n"
56
- }),
57
- __param(0, Optional()),
58
- __metadata("design:paramtypes", [CommandGroup])
59
- ], CommandComponent);
60
- export { CommandComponent };
61
- //# sourceMappingURL=command.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/components/commands/command/command.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,EACL,OAAO,EACP,GAAG,EACH,iBAAiB,EACjB,aAAa,EAEb,UAAU,EAEX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;GAEG;AAMH,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,mBAAmB;IAuBvD,YAAiC,MAAqB;QACpD,KAAK,EAAE,CAAC;QADuB,WAAM,GAAN,MAAM,CAAe;QANtD,gBAAW,GAAG,WAAW,CAAC;QAQxB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAChE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAChC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAC5B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QACnF,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QAClF,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;SAC1F;IACH,CAAC;IAGD,QAAQ;IACR,CAAC;CACF,CAAA;;YAjB2C,YAAY,uBAAzC,QAAQ;;AApBrB;IADC,KAAK,EAAE,EAAE,aAAa,EAAE;8BAChB,OAAO;iDAAU;AAG1B;IADC,KAAK,EAAE,EAAE,aAAa,EAAE;8BACd,UAAU;mDAAc;AAGnC;IADC,KAAK,EAAE,EAAE,iBAAiB,CAAC,WAAW,CAAC;;8CACtB;AAGlB;IADC,KAAK,EAAE,EAAE,aAAa,EAAE;8BACV,UAAU;uDAAc;AAGvC;IADC,KAAK,EAAE,EAAE,iBAAiB,CAAC,eAAe,CAAC;;kDACtB;AAfX,gBAAgB;IAL5B,SAAS,CAAC;QACT,QAAQ,EAAE,aAAa;QACvB,ywBAAuC;KAExC,CAAC;IAwBa,WAAA,QAAQ,EAAE,CAAA;qCAAmB,YAAY;GAvB3C,gBAAgB,CAwC5B;SAxCY,gBAAgB","sourcesContent":["import { Component, Input, OnInit, Optional } from '@angular/core';\n\nimport {\n Command,\n Dsl,\n StoreInValueModel,\n TrackExternal,\n TransactionObserver,\n ValueModel,\n ValueModelChain\n} from '@coolon/pectin';\nimport { DisposableComponent } from '../../disposable-component';\nimport { CommandFace } from '../command-face';\nimport { CommandGroup } from '../group/command-group';\n\n/**\n *\n */\n@Component({\n selector: 'aup-command',\n templateUrl: './command.component.html',\n styles: []\n})\nexport class CommandComponent extends DisposableComponent implements OnInit {\n\n @Input() @TrackExternal()\n command: Command<unknown>;\n\n @Input() @TrackExternal()\n faceModel: ValueModel<CommandFace>;\n\n @Input() @StoreInValueModel('faceModel')\n face: CommandFace;\n\n @Input() @TrackExternal()\n busyFaceModel: ValueModel<CommandFace>;\n\n @Input() @StoreInValueModel('busyFaceModel')\n busyFace: CommandFace;\n\n CommandFace = CommandFace;\n\n readonly activeFaceModel: ValueModelChain<CommandFace>;\n readonly buttonStyle: ValueModelChain<string>;\n readonly colorModel: ValueModelChain<'primary' | 'accent' | 'warn' | undefined>;\n\n constructor(@Optional() readonly parent?: CommandGroup) {\n super();\n const { chain, switchOn } = Dsl.disposeWith(this);\n this.activeFaceModel = switchOn(this.command.busy).toValue(when => {\n when.equalTo(true, this.busyFaceModel);\n when.otherwise(this.faceModel)\n }).otherwise(this.faceModel)\n this.buttonStyle = chain(this.activeFaceModel).map(f => CommandFace.getStyleOf(f));\n this.colorModel = chain(this.activeFaceModel).map(f => CommandFace.getColorOf(f));\n if (parent) {\n this.registerDisposable(this.parent.registerCommand(this.command, this.activeFaceModel));\n }\n }\n\n\n ngOnInit() {\n }\n}\n\n"]}