@coolon/angular-ui-powerups 12.4.0-alpha.9 → 12.4.0-alpha.90

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 (557) hide show
  1. package/assets/activities/activities.scss +80 -0
  2. package/assets/activities/input-activities.scss +36 -0
  3. package/assets/cards.scss +17 -0
  4. package/assets/form.scss +10 -2
  5. package/assets/forms/mixins.scss +6 -0
  6. package/assets/interaction/editor/inline-string-editor.scss +54 -0
  7. package/assets/interaction.scss +10 -7
  8. package/assets/markdown.scss +10 -0
  9. package/assets/mixins.scss +5 -7
  10. package/assets/pills.scss +45 -0
  11. package/assets/styles.scss +10 -15
  12. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +741 -336
  13. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  14. package/bundles/coolon-angular-ui-powerups.umd.js +1513 -473
  15. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  16. package/coolon-angular-ui-powerups.metadata.json +1 -1
  17. package/cypress/component-builder.d.ts +71 -0
  18. package/cypress/components/aup-abstract-activity.d.ts +31 -0
  19. package/cypress/components/aup-abstract-table.d.ts +18 -0
  20. package/cypress/components/aup-activity.d.ts +9 -0
  21. package/cypress/components/aup-alert-dialog.d.ts +27 -0
  22. package/cypress/components/aup-alert.d.ts +9 -0
  23. package/cypress/components/aup-command-face.d.ts +2 -8
  24. package/cypress/components/aup-command.d.ts +2 -1
  25. package/cypress/components/aup-confirm-dialog.d.ts +27 -0
  26. package/cypress/components/aup-confirm.d.ts +11 -0
  27. package/cypress/components/aup-empty-state.d.ts +1 -2
  28. package/cypress/components/aup-input.d.ts +11 -5
  29. package/cypress/components/aup-modal-activity.d.ts +24 -0
  30. package/cypress/components/aup-modal-mixin.d.ts +23 -0
  31. package/cypress/components/aup-table.d.ts +5 -18
  32. package/cypress/components/aup-tree-table.d.ts +16 -0
  33. package/cypress/components/button.d.ts +11 -7
  34. package/cypress/components/form-element-mixin.d.ts +22 -0
  35. package/cypress/components/mat-checkbox.d.ts +31 -0
  36. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +15 -0
  37. package/cypress/components/popup/aup-more-menu.d.ts +5 -0
  38. package/cypress/components/popup/aup-popup-menu-panel.d.ts +3 -0
  39. package/cypress/components/popup/aup-popup-menu.d.ts +7 -0
  40. package/cypress/components/table/aup-table-cell.d.ts +9 -0
  41. package/cypress/components/table/aup-table-column.d.ts +10 -0
  42. package/cypress/components/table/aup-table-row.d.ts +17 -0
  43. package/cypress/components/table/aup-table-selection-cell.d.ts +5 -0
  44. package/cypress/components/table/aup-table-selection-column.d.ts +5 -0
  45. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  46. package/cypress/element-locator.d.ts +8 -0
  47. package/cypress/exports.d.ts +24 -4
  48. package/cypress/package.json +1 -1
  49. package/cypress/page-builder.d.ts +9 -0
  50. package/cypress/page-element.d.ts +12 -12
  51. package/cypress/page.d.ts +8 -34
  52. package/esm2015/cypress/component-builder.js +92 -0
  53. package/esm2015/cypress/component-builder.js.map +1 -0
  54. package/esm2015/cypress/component-builder.metadata.json +1 -0
  55. package/esm2015/cypress/components/aup-abstract-activity.js +12 -0
  56. package/esm2015/cypress/components/aup-abstract-activity.js.map +1 -0
  57. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +1 -0
  58. package/esm2015/cypress/components/aup-abstract-table.js +50 -0
  59. package/esm2015/cypress/components/aup-abstract-table.js.map +1 -0
  60. package/esm2015/cypress/components/aup-abstract-table.metadata.json +1 -0
  61. package/esm2015/cypress/components/aup-activity.js +13 -0
  62. package/esm2015/cypress/components/aup-activity.js.map +1 -0
  63. package/esm2015/cypress/components/aup-activity.metadata.json +1 -0
  64. package/esm2015/cypress/components/aup-alert-dialog.js +8 -0
  65. package/esm2015/cypress/components/aup-alert-dialog.js.map +1 -0
  66. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +1 -0
  67. package/esm2015/cypress/components/aup-alert.js +13 -0
  68. package/esm2015/cypress/components/aup-alert.js.map +1 -0
  69. package/esm2015/cypress/components/aup-alert.metadata.json +1 -0
  70. package/esm2015/cypress/components/aup-command-face.js +11 -22
  71. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  72. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  73. package/esm2015/cypress/components/aup-command.js +12 -6
  74. package/esm2015/cypress/components/aup-command.js.map +1 -1
  75. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  76. package/esm2015/cypress/components/aup-confirm-dialog.js +8 -0
  77. package/esm2015/cypress/components/aup-confirm-dialog.js.map +1 -0
  78. package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +1 -0
  79. package/esm2015/cypress/components/aup-confirm.js +19 -0
  80. package/esm2015/cypress/components/aup-confirm.js.map +1 -0
  81. package/esm2015/cypress/components/aup-confirm.metadata.json +1 -0
  82. package/esm2015/cypress/components/aup-empty-state.js +2 -2
  83. package/esm2015/cypress/components/aup-empty-state.js.map +1 -1
  84. package/esm2015/cypress/components/aup-empty-state.metadata.json +1 -1
  85. package/esm2015/cypress/components/aup-input.js +17 -5
  86. package/esm2015/cypress/components/aup-input.js.map +1 -1
  87. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  88. package/esm2015/cypress/components/aup-modal-activity.js +5 -0
  89. package/esm2015/cypress/components/aup-modal-activity.js.map +1 -0
  90. package/esm2015/cypress/components/aup-modal-activity.metadata.json +1 -0
  91. package/esm2015/cypress/components/aup-modal-mixin.js +18 -0
  92. package/esm2015/cypress/components/aup-modal-mixin.js.map +1 -0
  93. package/esm2015/cypress/components/aup-modal-mixin.metadata.json +1 -0
  94. package/esm2015/cypress/components/aup-navigation.js +1 -1
  95. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  96. package/esm2015/cypress/components/aup-table.js +5 -33
  97. package/esm2015/cypress/components/aup-table.js.map +1 -1
  98. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  99. package/esm2015/cypress/components/aup-tree-table.js +34 -0
  100. package/esm2015/cypress/components/aup-tree-table.js.map +1 -0
  101. package/esm2015/cypress/components/aup-tree-table.metadata.json +1 -0
  102. package/esm2015/cypress/components/button.js +4 -10
  103. package/esm2015/cypress/components/button.js.map +1 -1
  104. package/esm2015/cypress/components/button.metadata.json +1 -1
  105. package/esm2015/cypress/components/form-element-mixin.js +11 -0
  106. package/esm2015/cypress/components/form-element-mixin.js.map +1 -0
  107. package/esm2015/cypress/components/form-element-mixin.metadata.json +1 -0
  108. package/esm2015/cypress/components/mat-checkbox.js +34 -0
  109. package/esm2015/cypress/components/mat-checkbox.js.map +1 -0
  110. package/esm2015/cypress/components/mat-checkbox.metadata.json +1 -0
  111. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +33 -0
  112. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +1 -0
  113. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +1 -0
  114. package/esm2015/cypress/components/popup/aup-more-menu.js +8 -0
  115. package/esm2015/cypress/components/popup/aup-more-menu.js.map +1 -0
  116. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +1 -0
  117. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +4 -0
  118. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +1 -0
  119. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +1 -0
  120. package/esm2015/cypress/components/popup/aup-popup-menu.js +12 -0
  121. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +1 -0
  122. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +1 -0
  123. package/esm2015/cypress/components/table/aup-table-cell.js +14 -0
  124. package/esm2015/cypress/components/table/aup-table-cell.js.map +1 -0
  125. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +1 -0
  126. package/esm2015/cypress/components/table/aup-table-column.js +19 -0
  127. package/esm2015/cypress/components/table/aup-table-column.js.map +1 -0
  128. package/esm2015/cypress/components/table/aup-table-column.metadata.json +1 -0
  129. package/esm2015/cypress/components/table/aup-table-row.js +28 -0
  130. package/esm2015/cypress/components/table/aup-table-row.js.map +1 -0
  131. package/esm2015/cypress/components/table/aup-table-row.metadata.json +1 -0
  132. package/esm2015/cypress/components/table/aup-table-selection-cell.js +6 -0
  133. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +1 -0
  134. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +1 -0
  135. package/esm2015/cypress/components/table/aup-table-selection-column.js +6 -0
  136. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +1 -0
  137. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +1 -0
  138. package/esm2015/cypress/element-locator.js +16 -0
  139. package/esm2015/cypress/element-locator.js.map +1 -0
  140. package/esm2015/cypress/element-locator.metadata.json +1 -0
  141. package/esm2015/cypress/exports.js +24 -4
  142. package/esm2015/cypress/exports.js.map +1 -1
  143. package/esm2015/cypress/exports.metadata.json +1 -1
  144. package/esm2015/cypress/page-builder.js +16 -0
  145. package/esm2015/cypress/page-builder.js.map +1 -0
  146. package/esm2015/cypress/page-builder.metadata.json +1 -0
  147. package/esm2015/cypress/page-element.js +26 -19
  148. package/esm2015/cypress/page-element.js.map +1 -1
  149. package/esm2015/cypress/page-element.metadata.json +1 -1
  150. package/esm2015/cypress/page.js +31 -19
  151. package/esm2015/cypress/page.js.map +1 -1
  152. package/esm2015/cypress/page.metadata.json +1 -1
  153. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  154. package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +1 -1
  155. package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
  156. package/esm2015/lib/components/cards/abstract-card-container.component.js +29 -0
  157. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +1 -0
  158. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +1 -0
  159. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +1 -0
  160. package/esm2015/lib/components/cards/card-container/card-container.component.js +123 -0
  161. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +1 -0
  162. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -0
  163. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +1 -0
  164. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
  165. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +78 -0
  166. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +1 -0
  167. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -0
  168. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +1 -0
  169. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +1 -0
  170. package/esm2015/lib/components/commands/command/command.component.js +1 -1
  171. package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
  172. package/esm2015/lib/components/commands/command-face/command-face.component.js +5 -1
  173. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
  174. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
  175. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +1 -1
  176. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
  177. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +1 -1
  178. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -1
  179. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -1
  180. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
  181. package/esm2015/lib/components/components.module.js +43 -25
  182. package/esm2015/lib/components/components.module.js.map +1 -1
  183. package/esm2015/lib/components/components.module.metadata.json +1 -1
  184. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  185. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  186. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  187. package/esm2015/lib/components/exports.js +8 -4
  188. package/esm2015/lib/components/exports.js.map +1 -1
  189. package/esm2015/lib/components/exports.metadata.json +1 -1
  190. package/esm2015/lib/components/focus-container/focus-container.component.js +1 -1
  191. package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +1 -1
  192. package/esm2015/lib/components/forms/abstract-input.component.js +1 -0
  193. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  194. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +2 -2
  195. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +1 -1
  196. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +1 -1
  197. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
  198. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  199. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +2 -2
  200. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
  201. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
  202. package/esm2015/lib/components/forms/select-input/select-input.component.js +2 -2
  203. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  204. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  205. package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
  206. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  207. package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
  208. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  209. package/esm2015/lib/components/icon/icon.component.js +1 -1
  210. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  211. package/esm2015/lib/components/labelled-value/labelled-value.component.js +22 -0
  212. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +1 -0
  213. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +1 -0
  214. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +1 -0
  215. package/esm2015/lib/components/{card-container/card-container.component.scss.shim.ngstyle.js.map → labelled-value/labelled-value.component.scss.shim.ngstyle.js.map} +1 -1
  216. package/esm2015/lib/components/loading-container/loading-container.component.js +45 -0
  217. package/esm2015/lib/components/loading-container/loading-container.component.js.map +1 -0
  218. package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +1 -0
  219. package/esm2015/lib/components/loading-container/loading-container.component.ngfactory.js.map +1 -0
  220. package/esm2015/lib/components/loading-container/loading-container.component.scss.shim.ngstyle.js.map +1 -0
  221. package/esm2015/lib/components/noop/noop.component.js +1 -1
  222. package/esm2015/lib/components/noop/noop.component.metadata.json +1 -1
  223. package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
  224. package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
  225. package/esm2015/lib/components/section-header/section-header.component.js +12 -5
  226. package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
  227. package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
  228. package/esm2015/lib/components/switch-case/switch-case.component.js +1 -1
  229. package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
  230. package/esm2015/lib/components/tables/abstract-table-model.js +34 -20
  231. package/esm2015/lib/components/tables/abstract-table-model.js.map +1 -1
  232. package/esm2015/lib/components/tables/abstract-table-model.metadata.json +1 -1
  233. package/esm2015/lib/components/tables/column-list-model.js +2 -1
  234. package/esm2015/lib/components/tables/column-list-model.js.map +1 -1
  235. package/esm2015/lib/components/tables/edit-session.js.map +1 -0
  236. package/esm2015/lib/components/tables/{table/edit-session.metadata.json → edit-session.metadata.json} +1 -1
  237. package/esm2015/lib/components/tables/table/cell-portal-ref.js.map +1 -1
  238. package/esm2015/lib/components/tables/table/cell-renderer.js.map +1 -1
  239. package/esm2015/lib/components/tables/table/column-model.js +35 -10
  240. package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
  241. package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
  242. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
  243. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
  244. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +19 -12
  245. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
  246. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +1 -1
  247. package/esm2015/lib/components/tables/table/paginator/paginator.component.js +1 -1
  248. package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +1 -1
  249. package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  250. package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  251. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  252. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
  253. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js +0 -2
  254. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js.map +1 -1
  255. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.metadata.json +1 -1
  256. package/esm2015/lib/components/tables/table/table.component.js +14 -13
  257. package/esm2015/lib/components/tables/table/table.component.js.map +1 -1
  258. package/esm2015/lib/components/tables/table/table.component.metadata.json +1 -1
  259. package/esm2015/lib/components/tables/table/text-search-predicate.js +2 -0
  260. package/esm2015/lib/components/tables/table/text-search-predicate.js.map +1 -0
  261. package/esm2015/lib/components/tables/table/text-search-predicate.metadata.json +1 -0
  262. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  263. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  264. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  265. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +1 -1
  266. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -1
  267. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +21 -13
  268. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js.map +1 -1
  269. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -1
  270. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js +1 -1
  271. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js.map +1 -1
  272. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.metadata.json +1 -1
  273. package/esm2015/lib/components/tables/tree-table/tree-table-component.js +1 -1
  274. package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +1 -1
  275. package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +1 -1
  276. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +3 -2
  277. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  278. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  279. package/esm2015/lib/components/text/markdown/markdown.component.js +77 -0
  280. package/esm2015/lib/components/text/markdown/markdown.component.js.map +1 -0
  281. package/esm2015/lib/components/text/markdown/markdown.component.metadata.json +1 -0
  282. package/esm2015/lib/components/text/markdown/markdown.component.ngfactory.js.map +1 -0
  283. package/esm2015/lib/components/text/markdown/markdown.component.scss.shim.ngstyle.js.map +1 -0
  284. package/esm2015/lib/components/track-by.js +12 -0
  285. package/esm2015/lib/components/track-by.js.map +1 -1
  286. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +1 -1
  287. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
  288. package/esm2015/lib/directives/command.directive.js +1 -1
  289. package/esm2015/lib/directives/command.directive.js.map +1 -1
  290. package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
  291. package/esm2015/lib/interaction/abstract-interaction-context.js +7 -0
  292. package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
  293. package/esm2015/lib/interaction/abstract-interaction-context.metadata.json +1 -1
  294. package/esm2015/lib/interaction/activity.js +2 -1
  295. package/esm2015/lib/interaction/activity.js.map +1 -1
  296. package/esm2015/lib/interaction/alert.js +17 -1
  297. package/esm2015/lib/interaction/alert.js.map +1 -1
  298. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.js +23 -0
  299. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.js.map +1 -0
  300. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.metadata.json +1 -0
  301. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.ngfactory.js.map +1 -0
  302. package/esm2015/lib/interaction/components/abstract-dialog.component.js +52 -0
  303. package/esm2015/lib/interaction/components/abstract-dialog.component.js.map +1 -0
  304. package/esm2015/lib/interaction/components/abstract-dialog.component.metadata.json +1 -0
  305. package/esm2015/lib/interaction/components/abstract-dialog.component.ngfactory.js.map +1 -0
  306. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -11
  307. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  308. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  309. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +3 -3
  310. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  311. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  312. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
  313. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
  314. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +1 -1
  315. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
  316. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +4 -0
  317. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
  318. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
  319. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +5 -2
  320. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
  321. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
  322. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +5 -2
  323. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
  324. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
  325. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +5 -2
  326. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
  327. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
  328. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +77 -0
  329. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +1 -0
  330. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -0
  331. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +1 -0
  332. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +1 -0
  333. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +1 -1
  334. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
  335. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +8 -14
  336. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  337. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  338. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +8 -31
  339. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  340. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  341. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js +30 -0
  342. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js.map +1 -0
  343. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.metadata.json +1 -0
  344. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.ngfactory.js.map +1 -0
  345. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.scss.shim.ngstyle.js.map +1 -0
  346. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +7 -26
  347. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  348. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  349. package/esm2015/lib/interaction/components/editors/edit-context.js +2 -0
  350. package/esm2015/lib/interaction/components/editors/edit-context.js.map +1 -0
  351. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +1 -0
  352. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +50 -0
  353. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +1 -0
  354. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +1 -0
  355. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +161 -0
  356. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +1 -0
  357. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +1 -0
  358. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +1 -0
  359. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +10 -3
  360. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  361. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  362. package/esm2015/lib/interaction/components/input-activities/input-activity.js +95 -0
  363. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +1 -0
  364. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +1 -0
  365. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +1 -0
  366. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +5 -3
  367. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  368. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  369. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +6 -4
  370. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  371. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  372. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +2 -1
  373. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
  374. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.metadata.json +1 -1
  375. package/esm2015/lib/interaction/exports.js +8 -4
  376. package/esm2015/lib/interaction/exports.js.map +1 -1
  377. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  378. package/esm2015/lib/interaction/interaction-context.js.map +1 -1
  379. package/esm2015/lib/interaction/interaction.module.js +29 -9
  380. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  381. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  382. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  383. package/esm2015/lib/interaction/services/interaction.service.js +1 -1
  384. package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
  385. package/esm2015/lib/place/components/abstract-place-navigation.component.js +1 -1
  386. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  387. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  388. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  389. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +1 -1
  390. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +1 -1
  391. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +18 -6
  392. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  393. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  394. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
  395. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  396. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  397. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  398. package/esm2015/lib/place/guards/consolidated-param-map.js +2 -1
  399. package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
  400. package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +1 -1
  401. package/esm2015/lib/place/guards/place.guard.js +2 -1
  402. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  403. package/esm2015/lib/place/place-component.js +31 -4
  404. package/esm2015/lib/place/place-component.js.map +1 -1
  405. package/esm2015/lib/place/place-component.metadata.json +1 -1
  406. package/esm2015/lib/place/place-router.js +11 -14
  407. package/esm2015/lib/place/place-router.js.map +1 -1
  408. package/esm2015/lib/place/place-router.metadata.json +1 -1
  409. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  410. package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
  411. package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
  412. package/esm2015/lib/place/route/parameter-definition.js +36 -13
  413. package/esm2015/lib/place/route/parameter-definition.js.map +1 -1
  414. package/esm2015/lib/place/route/parameter-definition.metadata.json +1 -1
  415. package/esm2015/lib/place/route/parameter-sanitiser.js.map +1 -1
  416. package/esm2015/lib/place/visit.js +8 -4
  417. package/esm2015/lib/place/visit.js.map +1 -1
  418. package/esm2015/lib/place/visit.metadata.json +1 -1
  419. package/esm2015/lib/services/exports.js +2 -0
  420. package/esm2015/lib/services/exports.js.map +1 -1
  421. package/esm2015/lib/services/exports.metadata.json +1 -1
  422. package/esm2015/lib/services/markdown/markdown.service.js +25 -0
  423. package/esm2015/lib/services/markdown/markdown.service.js.map +1 -0
  424. package/esm2015/lib/services/markdown/markdown.service.metadata.json +1 -0
  425. package/esm2015/lib/services/markdown/markdown.service.ngfactory.js.map +1 -0
  426. package/esm2015/lib/services/markdown/pill-plugin.js +38 -0
  427. package/esm2015/lib/services/markdown/pill-plugin.js.map +1 -0
  428. package/esm2015/lib/services/markdown/pill-plugin.metadata.json +1 -0
  429. package/fesm2015/coolon-angular-ui-powerups-cypress.js +546 -244
  430. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  431. package/fesm2015/coolon-angular-ui-powerups.js +1253 -371
  432. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  433. package/lib/components/cards/abstract-card-container.component.d.ts +11 -0
  434. package/lib/components/{card-container → cards/card-container}/card-container.component.d.ts +30 -9
  435. package/lib/components/cards/card-stack/card-stack.component.d.ts +65 -0
  436. package/lib/components/commands/command-face/command-face.component.d.ts +1 -0
  437. package/lib/components/exports.d.ts +8 -4
  438. package/lib/components/labelled-value/labelled-value.component.d.ts +7 -0
  439. package/lib/components/loading-container/loading-container.component.d.ts +11 -0
  440. package/lib/components/section-header/section-header.component.d.ts +5 -2
  441. package/lib/components/tables/abstract-table-model.d.ts +10 -7
  442. package/lib/components/tables/{table/edit-session.d.ts → edit-session.d.ts} +3 -3
  443. package/lib/components/tables/table/cell-portal-ref.d.ts +1 -1
  444. package/lib/components/tables/table/cell-renderer.d.ts +2 -0
  445. package/lib/components/tables/table/column-model.d.ts +14 -5
  446. package/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.d.ts +2 -1
  447. package/lib/components/tables/table/edit-row-controls/edit-row-controls.component.d.ts +4 -2
  448. package/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.d.ts +1 -1
  449. package/lib/components/tables/table/table-row-menu/table-row-menu.component.d.ts +2 -3
  450. package/lib/components/tables/table/table.component.d.ts +13 -12
  451. package/lib/components/tables/table/text-search-predicate.d.ts +1 -0
  452. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +0 -1
  453. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +2 -3
  454. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -3
  455. package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
  456. package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
  457. package/lib/components/text/markdown/markdown.component.d.ts +28 -0
  458. package/lib/components/track-by.d.ts +9 -0
  459. package/lib/interaction/abstract-interaction-context.d.ts +1 -0
  460. package/lib/interaction/alert.d.ts +7 -1
  461. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +7 -0
  462. package/lib/interaction/components/abstract-dialog.component.d.ts +17 -0
  463. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +14 -3
  464. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  465. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +2 -1
  466. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +2 -1
  467. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +2 -1
  468. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +39 -0
  469. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +2 -7
  470. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +2 -10
  471. package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +12 -0
  472. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +2 -9
  473. package/lib/interaction/components/editors/edit-context.d.ts +3 -0
  474. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +24 -0
  475. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +57 -0
  476. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +2 -0
  477. package/lib/interaction/components/input-activities/input-activity.d.ts +41 -0
  478. package/lib/interaction/components/input-activities/select-input-activity.d.ts +11 -3
  479. package/lib/interaction/components/input-activities/string-input-activity.d.ts +6 -2
  480. package/lib/interaction/exports.d.ts +8 -4
  481. package/lib/interaction/interaction-context.d.ts +1 -0
  482. package/lib/place/components/place-outlet/place-outlet.component.d.ts +1 -0
  483. package/lib/place/place-component.d.ts +6 -1
  484. package/lib/place/place-router.d.ts +2 -2
  485. package/lib/place/route/parameter-decorators.d.ts +5 -0
  486. package/lib/place/route/parameter-definition.d.ts +6 -1
  487. package/lib/place/route/parameter-sanitiser.d.ts +2 -3
  488. package/lib/place/visit.d.ts +2 -2
  489. package/lib/services/exports.d.ts +2 -0
  490. package/lib/services/markdown/markdown.service.d.ts +6 -0
  491. package/lib/services/markdown/pill-plugin.d.ts +15 -0
  492. package/package.json +17 -16
  493. package/schematics/activity/index.js +1 -1
  494. package/schematics/activity/index.js.map +1 -1
  495. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  496. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +5 -3
  497. package/schematics/aup-i18n/index.js +1 -1
  498. package/schematics/aup-i18n/index.js.map +1 -1
  499. package/schematics/component/index.js +1 -1
  500. package/schematics/component/index.js.map +1 -1
  501. package/schematics/component/templates/component/__name@dasherize__.component.ts.template +1 -1
  502. package/schematics/place-routes/place-class-scanner.js +3 -1
  503. package/schematics/place-routes/place-class-scanner.js.map +1 -1
  504. package/schematics/utils/build-context.d.ts +6 -3
  505. package/schematics/utils/build-context.js +3 -3
  506. package/schematics/utils/build-context.js.map +1 -1
  507. package/schematics/utils/workspace.d.ts +1 -0
  508. package/schematics/utils/workspace.js +11 -3
  509. package/schematics/utils/workspace.js.map +1 -1
  510. package/assets/activities.scss +0 -70
  511. package/cypress/components/aup-more-menu.d.ts +0 -4
  512. package/cypress/components/aup-popup-menu.d.ts +0 -7
  513. package/cypress/components/button-mixin.d.ts +0 -19
  514. package/cypress/section.d.ts +0 -55
  515. package/esm2015/cypress/components/aup-more-menu.js +0 -7
  516. package/esm2015/cypress/components/aup-more-menu.js.map +0 -1
  517. package/esm2015/cypress/components/aup-more-menu.metadata.json +0 -1
  518. package/esm2015/cypress/components/aup-popup-menu.js +0 -19
  519. package/esm2015/cypress/components/aup-popup-menu.js.map +0 -1
  520. package/esm2015/cypress/components/aup-popup-menu.metadata.json +0 -1
  521. package/esm2015/cypress/components/button-mixin.js +0 -15
  522. package/esm2015/cypress/components/button-mixin.js.map +0 -1
  523. package/esm2015/cypress/components/button-mixin.metadata.json +0 -1
  524. package/esm2015/cypress/section.js +0 -76
  525. package/esm2015/cypress/section.js.map +0 -1
  526. package/esm2015/cypress/section.metadata.json +0 -1
  527. package/esm2015/lib/components/card-container/card-container.component.js +0 -84
  528. package/esm2015/lib/components/card-container/card-container.component.js.map +0 -1
  529. package/esm2015/lib/components/card-container/card-container.component.metadata.json +0 -1
  530. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
  531. package/esm2015/lib/components/tables/table/edit-session.js.map +0 -1
  532. package/esm2015/lib/components/tables/tree-table/tree-node.js +0 -2
  533. package/esm2015/lib/components/tables/tree-table/tree-node.js.map +0 -1
  534. package/esm2015/lib/components/tables/tree-table/tree-node.metadata.json +0 -1
  535. package/esm2015/lib/components/tables/tree-table/visitable.class.js +0 -26
  536. package/esm2015/lib/components/tables/tree-table/visitable.class.js.map +0 -1
  537. package/esm2015/lib/components/tables/tree-table/visitable.class.metadata.json +0 -1
  538. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +0 -43
  539. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
  540. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +0 -1
  541. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
  542. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +0 -2
  543. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
  544. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +0 -1
  545. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +0 -2
  546. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
  547. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +0 -1
  548. package/esm2015/lib/interaction/result.js +0 -4
  549. package/esm2015/lib/interaction/result.js.map +0 -1
  550. package/esm2015/lib/interaction/result.metadata.json +0 -1
  551. package/lib/components/tables/tree-table/tree-node.d.ts +0 -3
  552. package/lib/components/tables/tree-table/visitable.class.d.ts +0 -22
  553. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +0 -12
  554. package/lib/interaction/components/input-activities/input-activity-data.d.ts +0 -11
  555. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +0 -8
  556. package/lib/interaction/result.d.ts +0 -8
  557. /package/esm2015/lib/components/tables/{table/edit-session.js → edit-session.js} +0 -0
@@ -1,5 +1,11 @@
1
1
  export interface Alert {
2
2
  title?(): string;
3
- content(): string[];
3
+ color?(): string;
4
+ content(): string | string[];
4
5
  ok(): string;
5
6
  }
7
+ export declare namespace Alert {
8
+ function getContent(alert: Alert): string[];
9
+ function getTitle(alert: Alert): string;
10
+ function getColor(alert: Alert): string;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { CommandFace } from '../../components/commands/command-face';
2
+ import { Confirm } from '../confirm';
3
+ import { AbstractDialogComponent } from './abstract-dialog.component';
4
+ export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<D, R, E> {
5
+ readonly cancelFace: CommandFace;
6
+ constructor(config: Confirm);
7
+ }
@@ -0,0 +1,17 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { CommandFace } from '../../components/commands/command-face';
3
+ import { Activity } from '../activity';
4
+ import { Alert } from '../alert';
5
+ import { Confirm } from '../confirm';
6
+ export declare const ALERT_CONFIG: InjectionToken<any>;
7
+ export declare class AbstractDialogComponent<D, R, E = any> extends Activity<D, R, E> {
8
+ protected readonly config: Alert | Confirm;
9
+ readonly confirmFace: CommandFace;
10
+ readonly title: string;
11
+ readonly content: string[];
12
+ readonly color?: 'primary' | 'accent' | 'warn';
13
+ constructor(config: Alert | Confirm);
14
+ getConfig(): Alert | Confirm;
15
+ protected checkColor(rawColor: string): 'primary' | 'accent' | 'warn';
16
+ isDestructive(): boolean;
17
+ }
@@ -1,5 +1,6 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { Command } from '@coolon/pectin';
3
+ import { Enum } from 'typescript-string-enums';
3
4
  import { CommandFace } from '../../../components/commands/command-face';
4
5
  import { DisposableComponent } from '../../../components/disposable-component';
5
6
  /**
@@ -40,9 +41,8 @@ export declare class ActivityActionsComponent extends DisposableComponent implem
40
41
  * @deprecated use #faces instead.
41
42
  */
42
43
  set style(style: ActivityActionsComponent.Style);
43
- align: 'start' | 'end' | 'stretch';
44
- get alignEnd(): boolean;
45
- get alignStretch(): boolean;
44
+ layout: ActivityActionsComponent.Layout;
45
+ align: ActivityActionsComponent.Align;
46
46
  constructor(cdr: ChangeDetectorRef);
47
47
  ngOnInit(): void;
48
48
  hasConfirmFace(): boolean;
@@ -53,6 +53,17 @@ export declare class ActivityActionsComponent extends DisposableComponent implem
53
53
  }): void;
54
54
  }
55
55
  export declare namespace ActivityActionsComponent {
56
+ const Layout: {
57
+ INLINE: "inline";
58
+ BLOCK: "block";
59
+ };
60
+ type Layout = Enum<typeof Layout>;
61
+ const Align: {
62
+ START: "start";
63
+ END: "end";
64
+ STRETCH: "stretch";
65
+ };
66
+ type Align = Enum<typeof Align>;
56
67
  interface Style {
57
68
  confirm: CommandFace;
58
69
  cancel: CommandFace;
@@ -14,7 +14,7 @@ export declare class AbstractActivityTriggerComponent<D = any, R = any, E = any>
14
14
  faceModel: ValueModel<CommandFace>;
15
15
  alignFace: HorizontalAlignment;
16
16
  readonly startActivityCommand: Command<unknown>;
17
- interactionContext: InteractionContext;
17
+ get interactionContext(): InteractionContext;
18
18
  confirmEvent: EventEmitter<R>;
19
19
  cancelEvent: EventEmitter<E>;
20
20
  constructor();
@@ -1,6 +1,7 @@
1
1
  import { InteractionContext } from '../../../interaction-context';
2
2
  import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.component';
3
3
  export declare class InlineActivityTriggerComponent<D = any, R = any, E = any> extends AbstractActivityTriggerComponent<D, R, E> {
4
- interactionContext: InteractionContext;
4
+ _interactionContext: InteractionContext;
5
+ get interactionContext(): InteractionContext;
5
6
  constructor();
6
7
  }
@@ -2,6 +2,7 @@ import { InteractionContext } from '../../../interaction-context';
2
2
  import { InteractionService } from '../../../services/interaction.service';
3
3
  import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.component';
4
4
  export declare class ModalActivityTriggerComponent<D = any, R = any, E = any> extends AbstractActivityTriggerComponent<D, R, E> {
5
- interactionContext: InteractionContext;
5
+ _interactionContext: InteractionContext;
6
+ get interactionContext(): InteractionContext;
6
7
  constructor(interactionService: InteractionService);
7
8
  }
@@ -3,6 +3,7 @@ import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.c
3
3
  export declare class PopupActivityTriggerComponent<D = any, R = any, E = any> extends AbstractActivityTriggerComponent<D, R, E> {
4
4
  anchorX: 'start' | 'end';
5
5
  anchorY: 'top' | 'bottom';
6
- interactionContext: InteractionContext;
6
+ _interactionContext: InteractionContext;
7
7
  constructor();
8
+ get interactionContext(): InteractionContext;
8
9
  }
@@ -0,0 +1,39 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ListModelChain } from '@coolon/pectin';
3
+ import { Enum } from 'typescript-string-enums';
4
+ import { CommandFace } from '../../../components/commands/command-face';
5
+ import { InteractionContext } from '../../interaction-context';
6
+ import { InteractionService } from '../../services/interaction.service';
7
+ import { AbstractActivityTriggerComponent } from '../activity-triggers/abstract-activity-trigger.component';
8
+ /**
9
+ *
10
+ */
11
+ export declare class AddCardActivityComponent extends AbstractActivityTriggerComponent implements OnInit {
12
+ private modalInteractionContext;
13
+ inlineInteractionContext: InteractionContext;
14
+ interactionStyle: AddCardActivityComponent.InteractionType;
15
+ renderAs: AddCardActivityComponent.RenderAs;
16
+ notCard: boolean;
17
+ readonly faceList: ListModelChain<CommandFace>;
18
+ get renderAsClass(): string;
19
+ get activityTypeClass(): string;
20
+ isRenderAsCard(): boolean;
21
+ isRenderAsButton(): boolean;
22
+ constructor(interactionService: InteractionService);
23
+ ngOnInit(): void;
24
+ get interactionContext(): InteractionContext;
25
+ isModal(): boolean;
26
+ isInline(): boolean;
27
+ }
28
+ export declare namespace AddCardActivityComponent {
29
+ const InteractionType: {
30
+ MODAL: "modal";
31
+ INLINE: "inline";
32
+ };
33
+ type InteractionType = Enum<typeof InteractionType>;
34
+ const RenderAs: {
35
+ CARD: "card";
36
+ BUTTON: "button";
37
+ };
38
+ type RenderAs = Enum<typeof RenderAs>;
39
+ }
@@ -1,10 +1,5 @@
1
- import { OnInit } from '@angular/core';
2
- import { CommandFace } from '../../../components/commands/command-face';
3
- import { Activity } from '../../activity';
4
1
  import { Alert } from '../../alert';
5
- export declare class AlertDialogComponent extends Activity<Alert, void> implements OnInit {
6
- readonly alert: Alert;
7
- readonly confirmFace: CommandFace;
2
+ import { AbstractDialogComponent } from '../abstract-dialog.component';
3
+ export declare class AlertDialogComponent extends AbstractDialogComponent<Alert, void> {
8
4
  constructor(alert: Alert);
9
- ngOnInit(): void;
10
5
  }
@@ -1,17 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { Constructable } from '@coolon/pectin';
3
- import { CommandFace } from '../../../components/commands/command-face';
4
2
  import { Activity } from '../../activity';
5
3
  import { Confirm } from '../../confirm';
6
- export declare class ConfirmThenDialogComponent<D, R, E> extends Activity<ConfirmThenDialogComponent.Data<D, R, E>, R, E> implements OnInit {
7
- readonly config: ConfirmThenDialogComponent.Data<D, R, E>;
8
- readonly confirmFace: CommandFace;
9
- readonly cancelFace: CommandFace;
4
+ import { AbstractConfirmDialogComponent } from '../abstract-confirm-dialog.component';
5
+ export declare class ConfirmThenDialogComponent<D, R, E> extends AbstractConfirmDialogComponent<ConfirmThenDialogComponent.Data<D, R, E>, R, E> {
10
6
  constructor(config: ConfirmThenDialogComponent.Data<D, R, E>);
11
- ngOnInit(): void;
12
- get confirm(): Confirm;
13
- get titleColor(): string;
14
- isDestructive(): boolean;
15
7
  }
16
8
  export declare namespace ConfirmThenDialogComponent {
17
9
  interface Data<D, R, E> {
@@ -0,0 +1,12 @@
1
+ import { Confirm } from '../../confirm';
2
+ import { InteractionContext } from '../../interaction-context';
3
+ import { AbstractConfirmDialogComponent } from '../abstract-confirm-dialog.component';
4
+ export declare class ConfirmThenExecuteDialogComponent<R, E> extends AbstractConfirmDialogComponent<ConfirmThenExecuteDialogComponent.Data<R, E>, R, E> {
5
+ constructor(data: ConfirmThenExecuteDialogComponent.Data<R, E>);
6
+ }
7
+ export declare namespace ConfirmThenExecuteDialogComponent {
8
+ interface Data<R, E> {
9
+ confirm: Confirm;
10
+ operation: (interactionContext: InteractionContext) => R | Promise<R>;
11
+ }
12
+ }
@@ -1,13 +1,6 @@
1
- import { OnInit } from '@angular/core';
2
- import { CommandFace } from '../../../components/commands/command-face';
3
- import { Activity } from '../../activity';
4
1
  import { Confirm } from '../../confirm';
5
- export declare class ConfirmationDialogComponent extends Activity<Confirm, void> implements OnInit {
2
+ import { AbstractConfirmDialogComponent } from '../abstract-confirm-dialog.component';
3
+ export declare class ConfirmationDialogComponent extends AbstractConfirmDialogComponent<Confirm, void> {
6
4
  readonly confirm: Confirm;
7
- readonly confirmFace: CommandFace;
8
- readonly cancelFace: CommandFace;
9
5
  constructor(confirm: Confirm);
10
- ngOnInit(): void;
11
- get titleColor(): string;
12
- isDestructive(): boolean;
13
6
  }
@@ -0,0 +1,3 @@
1
+ export interface EditContext<T> {
2
+ injectError(error: string): any;
3
+ }
@@ -0,0 +1,24 @@
1
+ import { GarbageCollector, ListModel, MutableValueModel, Validator, ValueModel } from '@coolon/pectin';
2
+ import { EditContext } from '../edit-context';
3
+ export declare class InlineEditorModel<T> extends GarbageCollector {
4
+ readonly valueModel: ValueModel<T>;
5
+ readonly saveCallback: InlineEditorModel.SaveCallback<T>;
6
+ readonly editing: MutableValueModel<boolean>;
7
+ private readonly _validators;
8
+ private _editingEnabled;
9
+ constructor(valueModel: ValueModel<T>, saveCallback: InlineEditorModel.SaveCallback<T>);
10
+ get editingEnabled(): ValueModel<boolean>;
11
+ disableWhile(condition: ValueModel<boolean>): this;
12
+ enableWhile(condition: ValueModel<boolean>): this;
13
+ get validators(): ListModel<Validator<T>>;
14
+ validateUsing(validator: Validator<T>): this;
15
+ isEditing(): boolean;
16
+ cancelEdit(): void;
17
+ startEditing(): void;
18
+ }
19
+ export declare namespace InlineEditorModel {
20
+ type SaveCallback<T> = (value: T, context: EditContext<T>) => void | Promise<void>;
21
+ function create<T>(valueModel: ValueModel<T>, options: {
22
+ save: SaveCallback<T>;
23
+ }): InlineEditorModel<T>;
24
+ }
@@ -0,0 +1,57 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BooleanValueModelChain, Command, DelegatingValueModel, ValueModel, ValueModelChain } from '@coolon/pectin';
3
+ import { CommandFace } from '../../../../components/commands/command-face';
4
+ import { DisposableComponent } from '../../../../components/disposable-component';
5
+ import { InteractionService } from '../../../services/interaction.service';
6
+ import { InPlaceInteractionContextComponent } from '../../inplace-interaction-context/in-place-interaction-context.component';
7
+ import { InlineEditorModel } from './inline-editor-model';
8
+ /**
9
+ * @example
10
+ * const source: ValueModel<string> = ...;
11
+ * const model = InlineEditorModel.create(source, {
12
+ * save(updated:string, context: EditContext) => {
13
+ * try {
14
+ * try and save the thing...
15
+ * } catch(error) {
16
+ * context.injectError(error)
17
+ * }
18
+ * }).validateUsing(Validator.present("We'll need a value");
19
+ *
20
+ * # in the view
21
+ * <aup-inline-string-editor
22
+ * label="My field"
23
+ * placeHolder="I'm ready for a string..."
24
+ * [editorModel]="model"></aup-inline-string-editor>
25
+ */
26
+ export declare class InlineStringEditorComponent extends DisposableComponent implements OnInit {
27
+ editorModel: InlineEditorModel<string>;
28
+ facesModel: ValueModel<InlineStringEditorComponent.Faces>;
29
+ faces: InlineStringEditorComponent.Faces;
30
+ interactionContext: InPlaceInteractionContextComponent<any, any, any>;
31
+ label: string;
32
+ placeHolder: string;
33
+ placeHolderModel: ValueModel<string>;
34
+ readonly description: ValueModelChain<string>;
35
+ empty: BooleanValueModelChain;
36
+ readonly editCommand: Command<void>;
37
+ displayValue: ValueModelChain<string>;
38
+ readonly editFaceModel: ValueModelChain<CommandFace>;
39
+ readonly saveFace: ValueModelChain<CommandFace>;
40
+ readonly cancelFace: ValueModelChain<CommandFace>;
41
+ readonly editingEnabled: DelegatingValueModel<boolean>;
42
+ constructor(interactionService: InteractionService);
43
+ ngOnInit(): void;
44
+ private createInputActivityData;
45
+ cancelEdit(): void;
46
+ startEdit(): void;
47
+ private isEditing;
48
+ isEmpty(): boolean;
49
+ }
50
+ export declare namespace InlineStringEditorComponent {
51
+ interface Faces {
52
+ edit?: CommandFace;
53
+ save?: CommandFace;
54
+ cancel?: CommandFace;
55
+ }
56
+ const DEFAULT_FACES: Faces;
57
+ }
@@ -29,6 +29,7 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
29
29
  */
30
30
  animateFirstActivity: boolean;
31
31
  get animationDuration(): string;
32
+ get active(): boolean;
32
33
  constructor(interactionService: InteractionService, tabConfig: MatTabsConfig);
33
34
  ngAfterViewInit(): void;
34
35
  initialise(id: string, api: InteractionService.Api): void;
@@ -38,6 +39,7 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
38
39
  confirm(confirm: Confirm): Promise<boolean>;
39
40
  confirmOrReject(confirm: Confirm): Promise<void>;
40
41
  confirmThen<D1, R1, E1>(confirm: Confirm, activityType: Constructable<Activity<D1, R1, E1>>, data?: D1): Promise<R1>;
42
+ confirmThenExecute<R1>(confirm: Confirm, operation: (interactionContext: InteractionContext) => (Promise<R1> | R1)): Promise<R1>;
41
43
  isActive(): boolean;
42
44
  startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
43
45
  }
@@ -0,0 +1,41 @@
1
+ import { Command, Form, Validator } from '@coolon/pectin';
2
+ import { Enum } from 'typescript-string-enums';
3
+ import { CommandFace } from '../../../components/commands/command-face';
4
+ import { Activity } from '../../activity';
5
+ export declare class InputActivity<T, D extends InputActivity.Data<T> = InputActivity.Data<T>> extends Activity<D, T> {
6
+ readonly data: D;
7
+ readonly confirmCommand: Command<void>;
8
+ readonly cancelCommand: Command<void>;
9
+ readonly valueModel: Form.ValueModelBase<T>;
10
+ class: string;
11
+ readonly confirmFace: CommandFace;
12
+ readonly cancelFace: CommandFace;
13
+ get layout(): InputActivity.Layout;
14
+ constructor(data: D);
15
+ onActivityReady(): void;
16
+ get additionalCssClassName(): string;
17
+ onEscape(): void;
18
+ shouldCancelOnEscape(): boolean;
19
+ }
20
+ export declare namespace InputActivity {
21
+ const Layout: {
22
+ INLINE: "inline";
23
+ BLOCK: "block";
24
+ };
25
+ type Layout = Enum<typeof Layout>;
26
+ interface Context {
27
+ injectError(error: string): any;
28
+ }
29
+ interface Data<T> {
30
+ initialValue: T;
31
+ label?: string;
32
+ placeholder?: string;
33
+ layout?: InputActivity.Layout;
34
+ confirmFace?: CommandFace;
35
+ cancelFace?: CommandFace;
36
+ validators?: Validator<T>[];
37
+ cancelOnEscape?: boolean;
38
+ cssClassName?: string;
39
+ save?(valueModel: T, interactionContext?: Context): void | Promise<void>;
40
+ }
41
+ }
@@ -1,7 +1,15 @@
1
- import { AbstractInputActivity } from './abstract-input-activity';
2
- import { SelectInputActivityData } from './select-input-activity-data';
3
- export declare class SelectInputActivity<T> extends AbstractInputActivity<T, SelectInputActivityData<T>> {
1
+ import { ListModel } from '@coolon/pectin';
2
+ import { InputActivity } from './input-activity';
3
+ export declare class SelectInputActivity<T> extends InputActivity<T, SelectInputActivity.Data<T>> {
4
4
  readonly defaultOptionLabelFormat: (option: T) => T | T[keyof T];
5
5
  get optionLabelFormat(): (option: T) => any;
6
6
  get options(): T[];
7
7
  }
8
+ export declare namespace SelectInputActivity {
9
+ interface Data<T> extends InputActivity.Data<T> {
10
+ options?: T[];
11
+ optionsModel?: ListModel<T>;
12
+ optionLabel?: keyof T;
13
+ optionLabelFormat?: (option: T) => any;
14
+ }
15
+ }
@@ -1,3 +1,7 @@
1
- import { AbstractInputActivity } from './abstract-input-activity';
2
- export declare class StringInputActivity extends AbstractInputActivity<string> {
1
+ import { InputActivity } from './input-activity';
2
+ export declare class StringInputActivity extends InputActivity<string> {
3
+ }
4
+ export declare namespace StringInputActivity {
5
+ interface Data extends InputActivity.Data<String> {
6
+ }
3
7
  }
@@ -8,8 +8,9 @@ export * from "./alert";
8
8
  export * from "./confirm";
9
9
  export * from "./interaction-context";
10
10
  export * from "./interaction.module";
11
- export * from "./result";
12
11
  export * from "./route-synchronisation-adapter";
12
+ export * from "./components/abstract-confirm-dialog.component";
13
+ export * from "./components/abstract-dialog.component";
13
14
  export * from "./components/activity-actions/activity-actions.component";
14
15
  export * from "./components/activity-body/activity-body.component";
15
16
  export * from "./components/activity-container/activity-container.component";
@@ -19,14 +20,17 @@ export * from "./components/activity-triggers/abstract-activity-trigger.componen
19
20
  export * from "./components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component";
20
21
  export * from "./components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component";
21
22
  export * from "./components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component";
23
+ export * from "./components/add-card-activity/add-card-activity.component";
22
24
  export * from "./components/add-item-interaction-context/add-item-interaction-context.component";
23
25
  export * from "./components/alert-dialog/alert-dialog.component";
24
26
  export * from "./components/confirm-then-dialog/confirm-then-dialog.component";
27
+ export * from "./components/confirm-then-execute-dialog/confirm-then-execute-dialog.component";
25
28
  export * from "./components/confirmation-dialog/confirmation-dialog.component";
29
+ export * from "./components/editors/edit-context";
30
+ export * from "./components/editors/inline-string-editor/inline-editor-model";
31
+ export * from "./components/editors/inline-string-editor/inline-string-editor.component";
26
32
  export * from "./components/inplace-interaction-context/in-place-interaction-context.component";
27
- export * from "./components/input-activities/abstract-input-activity";
28
- export * from "./components/input-activities/input-activity-data";
29
- export * from "./components/input-activities/select-input-activity-data";
33
+ export * from "./components/input-activities/input-activity";
30
34
  export * from "./components/input-activities/select-input-activity";
31
35
  export * from "./components/input-activities/string-input-activity";
32
36
  export * from "./components/popup-interaction-context/popup-interaction-context.component";
@@ -11,6 +11,7 @@ export interface InteractionContext extends Disposable, Disposable.Collector {
11
11
  alert(alert: Alert): Promise<void>;
12
12
  confirmOrReject(confirm: Confirm): Promise<void>;
13
13
  confirmThen<D, R, E>(confirm: Confirm, activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;
14
+ confirmThenExecute<R>(confirm: Confirm, operation: (interactionContext: InteractionContext) => R | Promise<R>): Promise<R>;
14
15
  }
15
16
  export declare namespace InteractionContext {
16
17
  interface Options {
@@ -51,6 +51,7 @@ export declare class PlaceOutletComponent extends DisposableComponent implements
51
51
  onOutletDeactivated(): void;
52
52
  private checkStateAndInitialise;
53
53
  private initialisePlace;
54
+ private pushVisitChangeToComponent;
54
55
  private pushVisitChangeToRoute;
55
56
  animationStarted(): void;
56
57
  animationDone(): void;
@@ -22,7 +22,12 @@ export declare class PlaceComponent extends DisposableComponent {
22
22
  initialiseVisit(visit: Visit, notifyVisitChanged: (current: Visit, previous: Visit) => void): void;
23
23
  updateVisit(visit: Visit): void;
24
24
  isInitialised(): boolean;
25
- private installBinding;
25
+ /**
26
+ * Initialised the component bindings. If any binding has an initial model value (e.g. a selection model
27
+ * initialised during the constructor) and the route has nothing, then the visit will be udpated and this
28
+ * method will return ture to nofiy the the visit has changed.
29
+ */
30
+ private installAndInitialiseBinding;
26
31
  get placeDefinition(): PlaceDefinition;
27
32
  get active(): ValueModel<boolean>;
28
33
  /**
@@ -43,10 +43,10 @@ export declare class PlaceRouter extends GarbageCollector {
43
43
  onRouterCancelled(event: NavigationCancel): void;
44
44
  onRouterError(event: NavigationError): void;
45
45
  onRouterEnd(event: NavigationEnd): void;
46
- navigate(visit: Visit, options?: {
46
+ navigate(visit: Visit | Visit[], options?: {
47
47
  relativeTo: ActivatedRoute;
48
48
  }): Promise<void>;
49
- doNavigation(visit: Visit, runNavigationCommands: (router: Router) => any): Promise<void>;
49
+ doNavigation(visit: Visit | Visit[], runNavigationCommands: (router: Router) => any): Promise<void>;
50
50
  navigateByUrl(urlSnapshot: UrlSnapshot, navigationExtras?: NavigationExtras): Promise<boolean>;
51
51
  get activeVisits(): ListModel<Visit>;
52
52
  pushVisitChangesToRoute(previous: Visit, next: Visit): Promise<void>;
@@ -1,9 +1,12 @@
1
+ import { Constructable } from '@coolon/pectin';
1
2
  import { Formatter } from './formatter';
3
+ import { ParameterSanitiser } from './parameter-sanitiser';
2
4
  export interface RouteIdOptions<T> {
3
5
  as?: string;
4
6
  optional?: boolean;
5
7
  remember?: boolean;
6
8
  defaultValue?: T;
9
+ sanitiser?: Constructable<ParameterSanitiser<T>> | ParameterSanitiser<T>;
7
10
  }
8
11
  export interface RouteParameterOptions<T> {
9
12
  as?: string;
@@ -11,6 +14,7 @@ export interface RouteParameterOptions<T> {
11
14
  remember?: boolean;
12
15
  defaultValue?: T;
13
16
  storeInUrl?: Formatter<T>;
17
+ sanitiser?: Constructable<ParameterSanitiser<T>> | ParameterSanitiser<T>;
14
18
  }
15
19
  export interface RouteListParameterOptions<T> {
16
20
  as?: string;
@@ -18,6 +22,7 @@ export interface RouteListParameterOptions<T> {
18
22
  remember?: boolean;
19
23
  defaultValue?: T[];
20
24
  storeInUrl?: Formatter<T>;
25
+ sanitiser?: Constructable<ParameterSanitiser<T[]>> | ParameterSanitiser<T[]>;
21
26
  }
22
27
  export declare function RouteId<T extends string | number>(type: Formatter<T>, options?: RouteIdOptions<T>): PropertyDecorator;
23
28
  export declare function VisitParameter<T>(options?: RouteParameterOptions<T>): PropertyDecorator;
@@ -1,8 +1,9 @@
1
1
  import { Injector } from '@angular/core';
2
- import { HasValue, ListModel, MutableListModel, MutableValueModel, ValueModel } from '@coolon/pectin';
2
+ import { Constructable, HasValue, ListModel, MutableListModel, MutableValueModel, ValueModel } from '@coolon/pectin';
3
3
  import { PlaceHistory } from '../place-history';
4
4
  import { Visit } from '../visit';
5
5
  import { Formatter } from './formatter';
6
+ import { ParameterSanitiser } from './parameter-sanitiser';
6
7
  export declare abstract class ParameterDefinition<T, E = T> {
7
8
  readonly propertyName: string;
8
9
  readonly urlFormat?: Formatter<E>;
@@ -20,6 +21,9 @@ export declare abstract class ParameterDefinition<T, E = T> {
20
21
  createBackingModel(): HasValue<T>;
21
22
  protected getOptionValue<K extends keyof ParameterDefinition.Options<T>>(key: K): ParameterDefinition.Options<T>[K];
22
23
  sanitise(value: T, visit: Visit, placeHistory: PlaceHistory, injector: Injector, isPopState: boolean): Promise<T>;
24
+ private runCustomSanitiser;
25
+ private sanitiseMissing;
26
+ private prepareCustomSanitiser;
23
27
  private isMissingFrom;
24
28
  }
25
29
  export declare namespace ParameterDefinition {
@@ -28,6 +32,7 @@ export declare namespace ParameterDefinition {
28
32
  optional?: boolean;
29
33
  remember?: boolean;
30
34
  defaultValue?: T;
35
+ sanitiser?: Constructable<ParameterSanitiser<T>> | ParameterSanitiser<T>;
31
36
  }
32
37
  class RouteId<T> extends ParameterDefinition<T> {
33
38
  readonly isRouteId = true;
@@ -1,6 +1,5 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { Visit } from '../visit';
3
- import { ParameterSnapshot } from './parameter-snapshot';
4
- export interface ParameterSanitiser<S> {
5
- sanitise(parameterValue: ParameterSnapshot<S>, visit?: Visit, injector?: Injector): Promise<S> | S;
3
+ export interface ParameterSanitiser<T> {
4
+ sanitise(parameterValue: T, visit?: Visit, injector?: Injector): Promise<T> | T;
6
5
  }
@@ -13,9 +13,9 @@ export declare class Visit {
13
13
  * Returns the value of the place parameter with the specified name. The parameter
14
14
  * name is taken from the `as` option, e.g. {as: 'aCustomName'} otherwise it is the
15
15
  * same as the the ValueModel property name.
16
- * @param parameterDef the visit parameter definition
16
+ * @param parameter the visit parameter definition
17
17
  */
18
- getParameterValue<T, S>(parameterDef: ParameterDefinition<T, S>): T;
18
+ getParameterValue<T, S>(parameter: ParameterDefinition<T, S> | string): T;
19
19
  hasParameter(parameterDef: ParameterDefinition<any>): boolean;
20
20
  replace<T>(parameter: ParameterDefinition<T, any>, value: T): Visit;
21
21
  mergeRouteParameters<S>(routeParams: {
@@ -2,3 +2,5 @@
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
4
  export * from "./visibility-service";
5
+ export * from "./markdown/markdown.service";
6
+ export * from "./markdown/pill-plugin";
@@ -0,0 +1,6 @@
1
+ export declare class MarkdownService {
2
+ constructor();
3
+ render(content: string): string;
4
+ renderInline(content: string): string;
5
+ usePillExtension(renderer?: (content: string) => string): void;
6
+ }
@@ -0,0 +1,15 @@
1
+ import { marked } from 'marked';
2
+ import RendererThis = marked.RendererThis;
3
+ import TokenizerThis = marked.TokenizerThis;
4
+ import Tokens = marked.Tokens;
5
+ export declare const markdownPillExtension: (renderPill: (text: string) => string) => {
6
+ name: string;
7
+ level: string;
8
+ start: (src: string) => number;
9
+ tokenizer: (this: TokenizerThis, src: string) => {
10
+ type: string;
11
+ raw: string;
12
+ text: string;
13
+ };
14
+ renderer: (this: RendererThis, token: Tokens.Generic) => string;
15
+ };