@igo2/common 1.8.1 → 1.9.3

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 (344) hide show
  1. package/bundles/igo2-common.umd.js +10700 -10473
  2. package/bundles/igo2-common.umd.js.map +1 -1
  3. package/esm2015/igo2-common.js +5 -5
  4. package/esm2015/lib/action/action.module.js +29 -28
  5. package/esm2015/lib/action/actionbar/actionbar-item.component.js +257 -257
  6. package/esm2015/lib/action/actionbar/actionbar.component.js +385 -387
  7. package/esm2015/lib/action/actionbar/actionbar.module.js +59 -58
  8. package/esm2015/lib/action/index.js +3 -3
  9. package/esm2015/lib/action/shared/action.enums.js +7 -7
  10. package/esm2015/lib/action/shared/action.interfaces.js +2 -1
  11. package/esm2015/lib/action/shared/index.js +4 -4
  12. package/esm2015/lib/action/shared/store.js +8 -8
  13. package/esm2015/lib/backdrop/backdrop.component.js +30 -30
  14. package/esm2015/lib/backdrop/backdrop.module.js +25 -24
  15. package/esm2015/lib/backdrop/index.js +2 -2
  16. package/esm2015/lib/badge-icon/badge-icon.directive.js +125 -121
  17. package/esm2015/lib/badge-icon/badge-icon.module.js +26 -25
  18. package/esm2015/lib/badge-icon/index.js +2 -2
  19. package/esm2015/lib/clickout/clickout.directive.js +32 -32
  20. package/esm2015/lib/clickout/clickout.module.js +24 -23
  21. package/esm2015/lib/clickout/index.js +2 -2
  22. package/esm2015/lib/clone/clone.module.js +24 -23
  23. package/esm2015/lib/clone/clone.pipe.js +24 -24
  24. package/esm2015/lib/clone/index.js +2 -2
  25. package/esm2015/lib/collapsible/collapse.directive.js +55 -55
  26. package/esm2015/lib/collapsible/collapsible.component.js +63 -63
  27. package/esm2015/lib/collapsible/collapsible.module.js +27 -26
  28. package/esm2015/lib/collapsible/index.js +3 -3
  29. package/esm2015/lib/confirm-dialog/confirm-dialog.component.js +50 -51
  30. package/esm2015/lib/confirm-dialog/confirm-dialog.module.js +29 -28
  31. package/esm2015/lib/confirm-dialog/confirm-dialog.service.js +22 -23
  32. package/esm2015/lib/confirm-dialog/index.js +3 -3
  33. package/esm2015/lib/context-menu/context-menu.directive.js +135 -89
  34. package/esm2015/lib/context-menu/context-menu.module.js +24 -23
  35. package/esm2015/lib/context-menu/index.js +2 -2
  36. package/esm2015/lib/custom-html/custom-html.component.js +32 -32
  37. package/esm2015/lib/custom-html/custom-html.module.js +49 -48
  38. package/esm2015/lib/custom-html/custom-html.pipe.js +18 -19
  39. package/esm2015/lib/custom-html/index.js +3 -3
  40. package/esm2015/lib/drag-drop/drag-drop.directive.js +88 -88
  41. package/esm2015/lib/drag-drop/drag-drop.module.js +24 -23
  42. package/esm2015/lib/drag-drop/index.js +2 -2
  43. package/esm2015/lib/dynamic-component/dynamic-component.module.js +33 -32
  44. package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js +124 -125
  45. package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js +30 -29
  46. package/esm2015/lib/dynamic-component/index.js +3 -3
  47. package/esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js +2 -1
  48. package/esm2015/lib/dynamic-component/shared/dynamic-component.js +174 -174
  49. package/esm2015/lib/dynamic-component/shared/dynamic-component.service.js +29 -29
  50. package/esm2015/lib/dynamic-component/shared/index.js +4 -4
  51. package/esm2015/lib/entity/entity-selector/entity-selector.component.js +201 -202
  52. package/esm2015/lib/entity/entity-selector/entity-selector.module.js +34 -33
  53. package/esm2015/lib/entity/entity-table/entity-table-row.directive.js +137 -137
  54. package/esm2015/lib/entity/entity-table/entity-table.component.js +912 -916
  55. package/esm2015/lib/entity/entity-table/entity-table.module.js +77 -76
  56. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +138 -140
  57. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +2 -1
  58. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js +30 -29
  59. package/esm2015/lib/entity/entity.module.js +33 -32
  60. package/esm2015/lib/entity/index.js +6 -6
  61. package/esm2015/lib/entity/shared/entity.enums.js +27 -27
  62. package/esm2015/lib/entity/shared/entity.interfaces.js +2 -1
  63. package/esm2015/lib/entity/shared/entity.utils.js +67 -67
  64. package/esm2015/lib/entity/shared/index.js +10 -10
  65. package/esm2015/lib/entity/shared/state.js +191 -191
  66. package/esm2015/lib/entity/shared/store.js +288 -288
  67. package/esm2015/lib/entity/shared/strategies/filter-custom-function.js +79 -79
  68. package/esm2015/lib/entity/shared/strategies/filter-selection.js +84 -84
  69. package/esm2015/lib/entity/shared/strategies/index.js +4 -4
  70. package/esm2015/lib/entity/shared/strategies/strategy.js +75 -75
  71. package/esm2015/lib/entity/shared/transaction.js +316 -316
  72. package/esm2015/lib/entity/shared/view.js +315 -315
  73. package/esm2015/lib/entity/shared/watcher.js +120 -120
  74. package/esm2015/lib/flexible/flexible.component.js +158 -159
  75. package/esm2015/lib/flexible/flexible.module.js +24 -23
  76. package/esm2015/lib/flexible/flexible.type.js +2 -1
  77. package/esm2015/lib/flexible/index.js +3 -3
  78. package/esm2015/lib/form/form/form.component.js +125 -125
  79. package/esm2015/lib/form/form/form.module.js +42 -41
  80. package/esm2015/lib/form/form-field/form-field-select.component.js +132 -132
  81. package/esm2015/lib/form/form-field/form-field-text.component.js +108 -108
  82. package/esm2015/lib/form/form-field/form-field-textarea.component.js +110 -110
  83. package/esm2015/lib/form/form-field/form-field.component.js +77 -78
  84. package/esm2015/lib/form/form-field/form-field.module.js +76 -75
  85. package/esm2015/lib/form/form-field/index.js +5 -5
  86. package/esm2015/lib/form/form-group/form-group.component.js +110 -110
  87. package/esm2015/lib/form/form-group/form-group.module.js +42 -41
  88. package/esm2015/lib/form/form.module.js +51 -50
  89. package/esm2015/lib/form/index.js +5 -5
  90. package/esm2015/lib/form/shared/form-field-component.js +7 -7
  91. package/esm2015/lib/form/shared/form-field.service.js +29 -29
  92. package/esm2015/lib/form/shared/form.interfaces.js +2 -1
  93. package/esm2015/lib/form/shared/form.service.js +77 -77
  94. package/esm2015/lib/form/shared/form.utils.js +40 -40
  95. package/esm2015/lib/form/shared/index.js +6 -6
  96. package/esm2015/lib/home-button/home-button.component.js +35 -0
  97. package/esm2015/lib/home-button/home-button.module.js +43 -0
  98. package/esm2015/lib/home-button/index.js +2 -0
  99. package/esm2015/lib/image/image.module.js +24 -23
  100. package/esm2015/lib/image/index.js +2 -2
  101. package/esm2015/lib/image/secure-image.pipe.js +48 -51
  102. package/esm2015/lib/interactive-tour/index.js +5 -5
  103. package/esm2015/lib/interactive-tour/interactive-tour.component.js +140 -142
  104. package/esm2015/lib/interactive-tour/interactive-tour.interface.js +2 -1
  105. package/esm2015/lib/interactive-tour/interactive-tour.loader.js +44 -46
  106. package/esm2015/lib/interactive-tour/interactive-tour.module.js +42 -41
  107. package/esm2015/lib/interactive-tour/interactive-tour.service.js +285 -288
  108. package/esm2015/lib/json-dialog/index.js +3 -3
  109. package/esm2015/lib/json-dialog/json-dialog.component.js +116 -117
  110. package/esm2015/lib/json-dialog/json-dialog.module.js +29 -28
  111. package/esm2015/lib/json-dialog/json-dialog.service.js +24 -25
  112. package/esm2015/lib/keyvalue/index.js +2 -2
  113. package/esm2015/lib/keyvalue/keyvalue.module.js +24 -23
  114. package/esm2015/lib/keyvalue/keyvalue.pipe.js +18 -18
  115. package/esm2015/lib/list/index.js +3 -3
  116. package/esm2015/lib/list/list-item.directive.js +165 -165
  117. package/esm2015/lib/list/list.component.js +266 -266
  118. package/esm2015/lib/list/list.module.js +29 -28
  119. package/esm2015/lib/panel/index.js +2 -2
  120. package/esm2015/lib/panel/panel.component.js +67 -67
  121. package/esm2015/lib/panel/panel.module.js +19 -18
  122. package/esm2015/lib/sidenav/index.js +2 -2
  123. package/esm2015/lib/sidenav/sidenav-shim.directive.js +55 -56
  124. package/esm2015/lib/sidenav/sidenav.module.js +24 -23
  125. package/esm2015/lib/spinner/index.js +3 -3
  126. package/esm2015/lib/spinner/spinner-activity.directive.js +47 -49
  127. package/esm2015/lib/spinner/spinner.component.js +40 -40
  128. package/esm2015/lib/spinner/spinner.module.js +21 -20
  129. package/esm2015/lib/stop-propagation/index.js +3 -3
  130. package/esm2015/lib/stop-propagation/stop-drop-propagation.directive.js +22 -22
  131. package/esm2015/lib/stop-propagation/stop-propagation.directive.js +21 -21
  132. package/esm2015/lib/stop-propagation/stop-propagation.module.js +25 -24
  133. package/esm2015/lib/table/index.js +6 -6
  134. package/esm2015/lib/table/table-action-color.enum.js +7 -7
  135. package/esm2015/lib/table/table-database.js +28 -28
  136. package/esm2015/lib/table/table-datasource.js +61 -61
  137. package/esm2015/lib/table/table-model.interface.js +2 -1
  138. package/esm2015/lib/table/table.component.js +310 -311
  139. package/esm2015/lib/table/table.module.js +69 -68
  140. package/esm2015/lib/tool/index.js +3 -3
  141. package/esm2015/lib/tool/shared/index.js +6 -6
  142. package/esm2015/lib/tool/shared/tool-component.js +9 -9
  143. package/esm2015/lib/tool/shared/tool.interface.js +2 -1
  144. package/esm2015/lib/tool/shared/tool.service.js +43 -43
  145. package/esm2015/lib/tool/shared/toolbox.enums.js +7 -7
  146. package/esm2015/lib/tool/shared/toolbox.js +179 -179
  147. package/esm2015/lib/tool/tool.module.js +34 -33
  148. package/esm2015/lib/tool/toolbox/toolbox.animation.js +10 -10
  149. package/esm2015/lib/tool/toolbox/toolbox.component.js +261 -262
  150. package/esm2015/lib/tool/toolbox/toolbox.module.js +38 -37
  151. package/esm2015/lib/widget/index.js +3 -3
  152. package/esm2015/lib/widget/shared/index.js +4 -4
  153. package/esm2015/lib/widget/shared/widget.interfaces.js +2 -1
  154. package/esm2015/lib/widget/shared/widget.js +4 -4
  155. package/esm2015/lib/widget/shared/widget.service.js +20 -21
  156. package/esm2015/lib/widget/widget-outlet/widget-outlet.component.js +121 -122
  157. package/esm2015/lib/widget/widget-outlet/widget-outlet.module.js +34 -33
  158. package/esm2015/lib/widget/widget.module.js +34 -33
  159. package/esm2015/lib/workspace/index.js +4 -4
  160. package/esm2015/lib/workspace/shared/index.js +4 -4
  161. package/esm2015/lib/workspace/shared/store.js +40 -40
  162. package/esm2015/lib/workspace/shared/workspace.interfaces.js +2 -1
  163. package/esm2015/lib/workspace/shared/workspace.js +117 -117
  164. package/esm2015/lib/workspace/workspace-selector/workspace-selector.component.js +54 -55
  165. package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +34 -33
  166. package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +93 -94
  167. package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js +34 -33
  168. package/esm2015/lib/workspace/workspace.module.js +29 -28
  169. package/esm2015/public_api.js +72 -70
  170. package/fesm2015/igo2-common.js +9015 -8846
  171. package/fesm2015/igo2-common.js.map +1 -1
  172. package/igo2-common.d.ts +5 -5
  173. package/lib/action/action.module.d.ts +8 -7
  174. package/lib/action/actionbar/actionbar-item.component.d.ts +78 -78
  175. package/lib/action/actionbar/actionbar.component.d.ts +146 -146
  176. package/lib/action/actionbar/actionbar.module.d.ts +20 -19
  177. package/lib/action/index.d.ts +2 -2
  178. package/lib/action/shared/action.enums.d.ts +5 -5
  179. package/lib/action/shared/action.interfaces.d.ts +17 -17
  180. package/lib/action/shared/index.d.ts +3 -3
  181. package/lib/action/shared/store.d.ts +8 -8
  182. package/lib/backdrop/backdrop.component.d.ts +9 -9
  183. package/lib/backdrop/backdrop.module.d.ts +10 -9
  184. package/lib/backdrop/index.d.ts +1 -1
  185. package/lib/badge-icon/badge-icon.directive.d.ts +32 -27
  186. package/lib/badge-icon/badge-icon.module.d.ts +11 -10
  187. package/lib/badge-icon/index.d.ts +1 -1
  188. package/lib/clickout/clickout.directive.d.ts +10 -10
  189. package/lib/clickout/clickout.module.d.ts +9 -8
  190. package/lib/clickout/index.d.ts +1 -1
  191. package/lib/clone/clone.module.d.ts +9 -8
  192. package/lib/clone/clone.pipe.d.ts +7 -7
  193. package/lib/clone/index.d.ts +1 -1
  194. package/lib/collapsible/collapse.directive.d.ts +19 -19
  195. package/lib/collapsible/collapsible.component.d.ts +13 -13
  196. package/lib/collapsible/collapsible.module.d.ts +12 -11
  197. package/lib/collapsible/index.d.ts +2 -2
  198. package/lib/confirm-dialog/confirm-dialog.component.d.ts +9 -9
  199. package/lib/confirm-dialog/confirm-dialog.module.d.ts +12 -11
  200. package/lib/confirm-dialog/confirm-dialog.service.d.ts +10 -10
  201. package/lib/confirm-dialog/index.d.ts +2 -2
  202. package/lib/context-menu/context-menu.directive.d.ts +27 -21
  203. package/lib/context-menu/context-menu.module.d.ts +9 -8
  204. package/lib/context-menu/index.d.ts +1 -1
  205. package/lib/custom-html/custom-html.component.d.ts +9 -9
  206. package/lib/custom-html/custom-html.module.d.ts +16 -15
  207. package/lib/custom-html/custom-html.pipe.d.ts +10 -10
  208. package/lib/custom-html/index.d.ts +2 -2
  209. package/lib/drag-drop/drag-drop.directive.d.ts +14 -14
  210. package/lib/drag-drop/drag-drop.module.d.ts +9 -8
  211. package/lib/drag-drop/index.d.ts +1 -1
  212. package/lib/dynamic-component/dynamic-component.module.d.ts +8 -7
  213. package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +70 -70
  214. package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +11 -10
  215. package/lib/dynamic-component/index.d.ts +2 -2
  216. package/lib/dynamic-component/shared/dynamic-component.d.ts +88 -88
  217. package/lib/dynamic-component/shared/dynamic-component.interfaces.d.ts +3 -3
  218. package/lib/dynamic-component/shared/dynamic-component.service.d.ts +18 -18
  219. package/lib/dynamic-component/shared/index.d.ts +3 -3
  220. package/lib/entity/entity-selector/entity-selector.component.d.ts +92 -92
  221. package/lib/entity/entity-selector/entity-selector.module.d.ts +13 -12
  222. package/lib/entity/entity-table/entity-table-row.directive.d.ts +69 -69
  223. package/lib/entity/entity-table/entity-table.component.d.ts +275 -275
  224. package/lib/entity/entity-table/entity-table.module.d.ts +23 -22
  225. package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +49 -49
  226. package/lib/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +8 -8
  227. package/lib/entity/entity-table-paginator/entity-table-paginator.module.d.ts +11 -10
  228. package/lib/entity/entity.module.d.ts +10 -9
  229. package/lib/entity/index.d.ts +5 -5
  230. package/lib/entity/shared/entity.enums.d.ts +22 -22
  231. package/lib/entity/shared/entity.interfaces.d.ts +88 -88
  232. package/lib/entity/shared/entity.utils.d.ts +49 -49
  233. package/lib/entity/shared/index.d.ts +9 -9
  234. package/lib/entity/shared/state.d.ts +103 -103
  235. package/lib/entity/shared/store.d.ts +176 -176
  236. package/lib/entity/shared/strategies/filter-custom-function.d.ts +51 -51
  237. package/lib/entity/shared/strategies/filter-selection.d.ts +48 -48
  238. package/lib/entity/shared/strategies/index.d.ts +3 -3
  239. package/lib/entity/shared/strategies/strategy.d.ts +56 -56
  240. package/lib/entity/shared/transaction.d.ts +168 -168
  241. package/lib/entity/shared/view.d.ts +193 -193
  242. package/lib/entity/shared/watcher.d.ts +72 -72
  243. package/lib/flexible/flexible.component.d.ts +41 -41
  244. package/lib/flexible/flexible.module.d.ts +9 -8
  245. package/lib/flexible/flexible.type.d.ts +2 -2
  246. package/lib/flexible/index.d.ts +2 -2
  247. package/lib/form/form/form.component.d.ts +53 -53
  248. package/lib/form/form/form.module.d.ts +12 -11
  249. package/lib/form/form-field/form-field-select.component.d.ts +48 -48
  250. package/lib/form/form-field/form-field-text.component.d.ts +41 -41
  251. package/lib/form/form-field/form-field-textarea.component.d.ts +41 -41
  252. package/lib/form/form-field/form-field.component.d.ts +34 -34
  253. package/lib/form/form-field/form-field.module.d.ts +21 -20
  254. package/lib/form/form-field/index.d.ts +4 -4
  255. package/lib/form/form-group/form-group.component.d.ts +49 -49
  256. package/lib/form/form-group/form-group.module.d.ts +14 -13
  257. package/lib/form/form.module.d.ts +13 -12
  258. package/lib/form/index.d.ts +4 -4
  259. package/lib/form/shared/form-field-component.d.ts +1 -1
  260. package/lib/form/shared/form-field.service.d.ts +19 -19
  261. package/lib/form/shared/form.interfaces.d.ts +57 -57
  262. package/lib/form/shared/form.service.d.ts +15 -15
  263. package/lib/form/shared/form.utils.d.ts +11 -11
  264. package/lib/form/shared/index.d.ts +5 -5
  265. package/lib/home-button/home-button.component.d.ts +9 -0
  266. package/lib/home-button/home-button.module.d.ts +15 -0
  267. package/lib/home-button/index.d.ts +1 -0
  268. package/lib/image/image.module.d.ts +9 -8
  269. package/lib/image/index.d.ts +1 -1
  270. package/lib/image/secure-image.pipe.d.ts +11 -11
  271. package/lib/interactive-tour/index.d.ts +4 -4
  272. package/lib/interactive-tour/interactive-tour.component.d.ts +30 -30
  273. package/lib/interactive-tour/interactive-tour.interface.d.ts +32 -32
  274. package/lib/interactive-tour/interactive-tour.loader.d.ts +18 -18
  275. package/lib/interactive-tour/interactive-tour.module.d.ts +12 -11
  276. package/lib/interactive-tour/interactive-tour.service.d.ts +29 -29
  277. package/lib/json-dialog/index.d.ts +2 -2
  278. package/lib/json-dialog/json-dialog.component.d.ts +13 -13
  279. package/lib/json-dialog/json-dialog.module.d.ts +13 -12
  280. package/lib/json-dialog/json-dialog.service.d.ts +10 -10
  281. package/lib/keyvalue/index.d.ts +1 -1
  282. package/lib/keyvalue/keyvalue.module.d.ts +9 -8
  283. package/lib/keyvalue/keyvalue.pipe.d.ts +7 -7
  284. package/lib/list/index.d.ts +2 -2
  285. package/lib/list/list-item.directive.d.ts +43 -43
  286. package/lib/list/list.component.d.ts +51 -51
  287. package/lib/list/list.module.d.ts +14 -13
  288. package/lib/panel/index.d.ts +1 -1
  289. package/lib/panel/panel.component.d.ts +11 -11
  290. package/lib/panel/panel.module.d.ts +8 -7
  291. package/lib/sidenav/index.d.ts +1 -1
  292. package/lib/sidenav/sidenav-shim.directive.d.ts +20 -20
  293. package/lib/sidenav/sidenav.module.d.ts +9 -8
  294. package/lib/spinner/index.d.ts +2 -2
  295. package/lib/spinner/spinner-activity.directive.d.ts +32 -32
  296. package/lib/spinner/spinner.component.d.ts +12 -12
  297. package/lib/spinner/spinner.module.d.ts +10 -9
  298. package/lib/stop-propagation/index.d.ts +2 -2
  299. package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +6 -6
  300. package/lib/stop-propagation/stop-propagation.directive.d.ts +6 -6
  301. package/lib/stop-propagation/stop-propagation.module.d.ts +10 -9
  302. package/lib/table/index.d.ts +5 -5
  303. package/lib/table/table-action-color.enum.d.ts +5 -5
  304. package/lib/table/table-database.d.ts +10 -10
  305. package/lib/table/table-datasource.d.ts +17 -17
  306. package/lib/table/table-model.interface.d.ts +28 -28
  307. package/lib/table/table.component.d.ts +40 -40
  308. package/lib/table/table.module.d.ts +20 -19
  309. package/lib/tool/index.d.ts +2 -2
  310. package/lib/tool/shared/index.d.ts +5 -5
  311. package/lib/tool/shared/tool-component.d.ts +2 -2
  312. package/lib/tool/shared/tool.interface.d.ts +18 -18
  313. package/lib/tool/shared/tool.service.d.ts +30 -30
  314. package/lib/tool/shared/toolbox.d.ts +95 -95
  315. package/lib/tool/shared/toolbox.enums.d.ts +5 -5
  316. package/lib/tool/tool.module.d.ts +10 -9
  317. package/lib/tool/toolbox/toolbox.animation.d.ts +2 -2
  318. package/lib/tool/toolbox/toolbox.component.d.ts +127 -127
  319. package/lib/tool/toolbox/toolbox.module.d.ts +13 -12
  320. package/lib/widget/index.d.ts +2 -2
  321. package/lib/widget/shared/index.d.ts +3 -3
  322. package/lib/widget/shared/widget.d.ts +4 -4
  323. package/lib/widget/shared/widget.interfaces.d.ts +12 -12
  324. package/lib/widget/shared/widget.service.d.ts +10 -10
  325. package/lib/widget/widget-outlet/widget-outlet.component.d.ts +71 -71
  326. package/lib/widget/widget-outlet/widget-outlet.module.d.ts +12 -11
  327. package/lib/widget/widget.module.d.ts +8 -7
  328. package/lib/workspace/index.d.ts +3 -3
  329. package/lib/workspace/shared/index.d.ts +3 -3
  330. package/lib/workspace/shared/store.d.ts +20 -20
  331. package/lib/workspace/shared/workspace.d.ts +108 -108
  332. package/lib/workspace/shared/workspace.interfaces.d.ts +11 -11
  333. package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +35 -35
  334. package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +12 -11
  335. package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +57 -57
  336. package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +12 -11
  337. package/lib/workspace/workspace.module.d.ts +9 -8
  338. package/package.json +8 -7
  339. package/public_api.d.ts +68 -66
  340. package/style/common.theming.scss +12 -236
  341. package/style/partial/action.scss +18 -18
  342. package/style/partial/common.variables.scss +8 -8
  343. package/bundles/igo2-common.umd.min.js +0 -17
  344. package/bundles/igo2-common.umd.min.js.map +0 -1
@@ -1,275 +1,275 @@
1
- import { EventEmitter, ChangeDetectorRef, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { EntityRecord, EntityState, EntityStore, EntityTableTemplate, EntityTableColumn, EntityTableColumnRenderer, EntityTableSelectionState, EntityTableScrollBehavior } from '../shared';
4
- import { MatPaginator } from '@angular/material/paginator';
5
- import { MatTableDataSource } from '@angular/material/table';
6
- import { EntityTablePaginatorOptions } from '../entity-table-paginator/entity-table-paginator.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
9
- private cdRef;
10
- entitySortChange$: BehaviorSubject<boolean>;
11
- /**
12
- * Reference to the column renderer types
13
- * @internal
14
- */
15
- entityTableColumnRenderer: typeof EntityTableColumnRenderer;
16
- /**
17
- * Reference to the selection's state
18
- * @internal
19
- */
20
- entityTableSelectionState: typeof EntityTableSelectionState;
21
- /**
22
- * Observable of the selection,s state
23
- * @internal
24
- */
25
- readonly selectionState$: BehaviorSubject<EntityTableSelectionState>;
26
- /**
27
- * Subscription to the store's selection
28
- */
29
- private selection$$;
30
- /**
31
- * Subscription to the dataSource
32
- */
33
- private dataSource$$;
34
- /**
35
- * The last record checked. Useful for selecting
36
- * multiple records by holding the shift key and checking
37
- * checkboxes.
38
- */
39
- private lastRecordCheckedKey;
40
- /**
41
- * Entity store
42
- */
43
- store: EntityStore<object>;
44
- /**
45
- * Table paginator
46
- */
47
- set paginator(value: MatPaginator);
48
- get paginator(): MatPaginator;
49
- private _paginator;
50
- /**
51
- * Table template
52
- */
53
- template: EntityTableTemplate;
54
- /**
55
- * Scroll behavior on selection
56
- */
57
- scrollBehavior: EntityTableScrollBehavior;
58
- /**
59
- * Whether nulls should be first when sorting
60
- */
61
- sortNullsFirst: boolean;
62
- /**
63
- * Show the table paginator or not. False by default.
64
- */
65
- withPaginator: boolean;
66
- /**
67
- * Paginator options
68
- */
69
- paginatorOptions: EntityTablePaginatorOptions;
70
- /**
71
- * Event emitted when an entity (row) is clicked
72
- */
73
- entityClick: EventEmitter<object>;
74
- /**
75
- * Event emitted when an entity (row) is selected
76
- */
77
- entitySelectChange: EventEmitter<{
78
- added: object[];
79
- }>;
80
- /**
81
- * Event emitted when the table sort is changed.
82
- */
83
- entitySortChange: EventEmitter<{
84
- column: EntityTableColumn;
85
- direction: string;
86
- }>;
87
- /**
88
- * Table headers
89
- * @internal
90
- */
91
- get headers(): string[];
92
- /**
93
- * Data source consumable by the underlying material table
94
- * @internal
95
- */
96
- dataSource: MatTableDataSource<object>;
97
- /**
98
- * Whether selection is supported
99
- * @internal
100
- */
101
- get selection(): boolean;
102
- /**
103
- * Whether a selection checkbox should be displayed
104
- * @internal
105
- */
106
- get selectionCheckbox(): boolean;
107
- /**
108
- * Whether selection many entities should eb supported
109
- * @internal
110
- */
111
- get selectMany(): boolean;
112
- /**
113
- * Whether selection many entities should eb supported
114
- * @internal
115
- */
116
- get fixedHeader(): boolean;
117
- constructor(cdRef: ChangeDetectorRef);
118
- /**
119
- * Track the selection state to properly display the selection checkboxes
120
- * @internal
121
- */
122
- ngOnInit(): void;
123
- /**
124
- * @internal
125
- */
126
- ngOnChanges(changes: SimpleChanges): void;
127
- private handleDatasource;
128
- /**
129
- * Unbind the store watcher
130
- * @internal
131
- */
132
- ngOnDestroy(): void;
133
- private unsubscribeStore;
134
- /**
135
- * Trackby function
136
- * @param record Record
137
- * @param index Record index
138
- * @internal
139
- */
140
- getTrackByFunction(): (index: number, record: EntityRecord<object, EntityState>) => string;
141
- /**
142
- * Trigger a refresh of thre table. This can be useful when
143
- * the data source doesn't emit a new value but for some reason
144
- * the records need an update.
145
- * @internal
146
- */
147
- refresh(): void;
148
- paginatorChange(event: MatPaginator): void;
149
- /**
150
- * On sort, sort the store
151
- * @param event Sort event
152
- * @internal
153
- */
154
- onSort(event: {
155
- active: string;
156
- direction: string;
157
- }): void;
158
- /**
159
- * When an entity is clicked, emit an event
160
- * @param record Record
161
- * @internal
162
- */
163
- onRowClick(record: EntityRecord<object>): void;
164
- /**
165
- * When an entity is selected, select it in the store and emit an event. Even if
166
- * "many" is set to true, this method always select a single, exclusive row. Selecting
167
- * multiple rows should be achieved by using the checkboxes.
168
- * @param record Record
169
- * @internal
170
- */
171
- onRowSelect(record: EntityRecord<object>): void;
172
- /**
173
- * Select or unselect all rows at once. On select, emit an event.
174
- * @param toggle Select or unselect
175
- * @internal
176
- */
177
- onToggleRows(toggle: boolean): void;
178
- /**
179
- * When an entity is toggled, select or unselect it in the store. On select,
180
- * emit an event.
181
- * @param toggle Select or unselect
182
- * @param record Record
183
- * @internal
184
- */
185
- onToggleRow(toggle: boolean, record: EntityRecord<object>): void;
186
- /**
187
- * When an entity is toggled, select or unselect it in the store. On select,
188
- * emit an event.
189
- * @param toggle Select or unselect
190
- * @param record Record
191
- * @internal
192
- */
193
- onShiftToggleRow(toggle: boolean, record: EntityRecord<object>, event: MouseEvent): void;
194
- /**
195
- * Compute the selection state
196
- * @returns Whether all, some or no rows are selected
197
- * @internal
198
- */
199
- private computeSelectionState;
200
- /**
201
- * Whether a column is sortable
202
- * @param column Column
203
- * @returns True if a column is sortable
204
- * @internal
205
- */
206
- columnIsSortable(column: EntityTableColumn): boolean;
207
- /**
208
- * Whether a row is should be selected based on the underlying entity state
209
- * @param record Record
210
- * @returns True if a row should be selected
211
- * @internal
212
- */
213
- rowIsSelected(record: EntityRecord<object>): boolean;
214
- isImg(value: any): boolean;
215
- isUrl(value: any): boolean;
216
- /**
217
- * Method to access an entity's values
218
- * @param record Record
219
- * @param column Column
220
- * @returns Any value
221
- * @internal
222
- */
223
- getValue(record: EntityRecord<object>, column: EntityTableColumn): any;
224
- /**
225
- * Return the type of renderer of a column
226
- * @param column Column
227
- * @returns Renderer type
228
- * @internal
229
- */
230
- getColumnRenderer(column: EntityTableColumn): EntityTableColumnRenderer;
231
- /**
232
- * Return the table ngClass
233
- * @returns ngClass
234
- * @internal
235
- */
236
- getTableClass(): {
237
- [key: string]: boolean;
238
- };
239
- /**
240
- * Return a header ngClass
241
- * @returns ngClass
242
- * @internal
243
- */
244
- getHeaderClass(): {
245
- [key: string]: boolean;
246
- };
247
- /**
248
- * Return a row ngClass
249
- * @param record Record
250
- * @returns ngClass
251
- * @internal
252
- */
253
- getRowClass(record: EntityRecord<object>): {
254
- [key: string]: boolean;
255
- };
256
- /**
257
- * Return a row ngClass
258
- * @param record Record
259
- * @param column Column
260
- * @returns ngClass
261
- * @internal
262
- */
263
- getCellClass(record: EntityRecord<object>, column: EntityTableColumn): {
264
- [key: string]: boolean;
265
- };
266
- /**
267
- * When a button is clicked
268
- * @param func Function
269
- * @param record Record
270
- * @internal
271
- */
272
- onButtonClick(clickFunc: (entity: object, record?: EntityRecord<object>) => void, record: EntityRecord<object>): void;
273
- static ɵfac: i0.ɵɵFactoryDef<EntityTableComponent, never>;
274
- static ɵcmp: i0.ɵɵComponentDefWithMeta<EntityTableComponent, "igo-entity-table", never, { "store": "store"; "paginator": "paginator"; "template": "template"; "scrollBehavior": "scrollBehavior"; "sortNullsFirst": "sortNullsFirst"; "withPaginator": "withPaginator"; "paginatorOptions": "paginatorOptions"; }, { "entityClick": "entityClick"; "entitySelectChange": "entitySelectChange"; "entitySortChange": "entitySortChange"; }, never, never>;
275
- }
1
+ import { EventEmitter, ChangeDetectorRef, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { EntityRecord, EntityState, EntityStore, EntityTableTemplate, EntityTableColumn, EntityTableColumnRenderer, EntityTableSelectionState, EntityTableScrollBehavior } from '../shared';
4
+ import { MatPaginator } from '@angular/material/paginator';
5
+ import { MatTableDataSource } from '@angular/material/table';
6
+ import { EntityTablePaginatorOptions } from '../entity-table-paginator/entity-table-paginator.interface';
7
+ import * as i0 from "@angular/core";
8
+ export declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
9
+ private cdRef;
10
+ entitySortChange$: BehaviorSubject<boolean>;
11
+ /**
12
+ * Reference to the column renderer types
13
+ * @internal
14
+ */
15
+ entityTableColumnRenderer: typeof EntityTableColumnRenderer;
16
+ /**
17
+ * Reference to the selection's state
18
+ * @internal
19
+ */
20
+ entityTableSelectionState: typeof EntityTableSelectionState;
21
+ /**
22
+ * Observable of the selection,s state
23
+ * @internal
24
+ */
25
+ readonly selectionState$: BehaviorSubject<EntityTableSelectionState>;
26
+ /**
27
+ * Subscription to the store's selection
28
+ */
29
+ private selection$$;
30
+ /**
31
+ * Subscription to the dataSource
32
+ */
33
+ private dataSource$$;
34
+ /**
35
+ * The last record checked. Useful for selecting
36
+ * multiple records by holding the shift key and checking
37
+ * checkboxes.
38
+ */
39
+ private lastRecordCheckedKey;
40
+ /**
41
+ * Entity store
42
+ */
43
+ store: EntityStore<object>;
44
+ /**
45
+ * Table paginator
46
+ */
47
+ set paginator(value: MatPaginator);
48
+ get paginator(): MatPaginator;
49
+ private _paginator;
50
+ /**
51
+ * Table template
52
+ */
53
+ template: EntityTableTemplate;
54
+ /**
55
+ * Scroll behavior on selection
56
+ */
57
+ scrollBehavior: EntityTableScrollBehavior;
58
+ /**
59
+ * Whether nulls should be first when sorting
60
+ */
61
+ sortNullsFirst: boolean;
62
+ /**
63
+ * Show the table paginator or not. False by default.
64
+ */
65
+ withPaginator: boolean;
66
+ /**
67
+ * Paginator options
68
+ */
69
+ paginatorOptions: EntityTablePaginatorOptions;
70
+ /**
71
+ * Event emitted when an entity (row) is clicked
72
+ */
73
+ entityClick: EventEmitter<object>;
74
+ /**
75
+ * Event emitted when an entity (row) is selected
76
+ */
77
+ entitySelectChange: EventEmitter<{
78
+ added: object[];
79
+ }>;
80
+ /**
81
+ * Event emitted when the table sort is changed.
82
+ */
83
+ entitySortChange: EventEmitter<{
84
+ column: EntityTableColumn;
85
+ direction: string;
86
+ }>;
87
+ /**
88
+ * Table headers
89
+ * @internal
90
+ */
91
+ get headers(): string[];
92
+ /**
93
+ * Data source consumable by the underlying material table
94
+ * @internal
95
+ */
96
+ dataSource: MatTableDataSource<object>;
97
+ /**
98
+ * Whether selection is supported
99
+ * @internal
100
+ */
101
+ get selection(): boolean;
102
+ /**
103
+ * Whether a selection checkbox should be displayed
104
+ * @internal
105
+ */
106
+ get selectionCheckbox(): boolean;
107
+ /**
108
+ * Whether selection many entities should eb supported
109
+ * @internal
110
+ */
111
+ get selectMany(): boolean;
112
+ /**
113
+ * Whether selection many entities should eb supported
114
+ * @internal
115
+ */
116
+ get fixedHeader(): boolean;
117
+ constructor(cdRef: ChangeDetectorRef);
118
+ /**
119
+ * Track the selection state to properly display the selection checkboxes
120
+ * @internal
121
+ */
122
+ ngOnInit(): void;
123
+ /**
124
+ * @internal
125
+ */
126
+ ngOnChanges(changes: SimpleChanges): void;
127
+ private handleDatasource;
128
+ /**
129
+ * Unbind the store watcher
130
+ * @internal
131
+ */
132
+ ngOnDestroy(): void;
133
+ private unsubscribeStore;
134
+ /**
135
+ * Trackby function
136
+ * @param record Record
137
+ * @param index Record index
138
+ * @internal
139
+ */
140
+ getTrackByFunction(): (index: number, record: EntityRecord<object, EntityState>) => string;
141
+ /**
142
+ * Trigger a refresh of thre table. This can be useful when
143
+ * the data source doesn't emit a new value but for some reason
144
+ * the records need an update.
145
+ * @internal
146
+ */
147
+ refresh(): void;
148
+ paginatorChange(event: MatPaginator): void;
149
+ /**
150
+ * On sort, sort the store
151
+ * @param event Sort event
152
+ * @internal
153
+ */
154
+ onSort(event: {
155
+ active: string;
156
+ direction: string;
157
+ }): void;
158
+ /**
159
+ * When an entity is clicked, emit an event
160
+ * @param record Record
161
+ * @internal
162
+ */
163
+ onRowClick(record: EntityRecord<object>): void;
164
+ /**
165
+ * When an entity is selected, select it in the store and emit an event. Even if
166
+ * "many" is set to true, this method always select a single, exclusive row. Selecting
167
+ * multiple rows should be achieved by using the checkboxes.
168
+ * @param record Record
169
+ * @internal
170
+ */
171
+ onRowSelect(record: EntityRecord<object>): void;
172
+ /**
173
+ * Select or unselect all rows at once. On select, emit an event.
174
+ * @param toggle Select or unselect
175
+ * @internal
176
+ */
177
+ onToggleRows(toggle: boolean): void;
178
+ /**
179
+ * When an entity is toggled, select or unselect it in the store. On select,
180
+ * emit an event.
181
+ * @param toggle Select or unselect
182
+ * @param record Record
183
+ * @internal
184
+ */
185
+ onToggleRow(toggle: boolean, record: EntityRecord<object>): void;
186
+ /**
187
+ * When an entity is toggled, select or unselect it in the store. On select,
188
+ * emit an event.
189
+ * @param toggle Select or unselect
190
+ * @param record Record
191
+ * @internal
192
+ */
193
+ onShiftToggleRow(toggle: boolean, record: EntityRecord<object>, event: MouseEvent): void;
194
+ /**
195
+ * Compute the selection state
196
+ * @returns Whether all, some or no rows are selected
197
+ * @internal
198
+ */
199
+ private computeSelectionState;
200
+ /**
201
+ * Whether a column is sortable
202
+ * @param column Column
203
+ * @returns True if a column is sortable
204
+ * @internal
205
+ */
206
+ columnIsSortable(column: EntityTableColumn): boolean;
207
+ /**
208
+ * Whether a row is should be selected based on the underlying entity state
209
+ * @param record Record
210
+ * @returns True if a row should be selected
211
+ * @internal
212
+ */
213
+ rowIsSelected(record: EntityRecord<object>): boolean;
214
+ isImg(value: any): boolean;
215
+ isUrl(value: any): boolean;
216
+ /**
217
+ * Method to access an entity's values
218
+ * @param record Record
219
+ * @param column Column
220
+ * @returns Any value
221
+ * @internal
222
+ */
223
+ getValue(record: EntityRecord<object>, column: EntityTableColumn): any;
224
+ /**
225
+ * Return the type of renderer of a column
226
+ * @param column Column
227
+ * @returns Renderer type
228
+ * @internal
229
+ */
230
+ getColumnRenderer(column: EntityTableColumn): EntityTableColumnRenderer;
231
+ /**
232
+ * Return the table ngClass
233
+ * @returns ngClass
234
+ * @internal
235
+ */
236
+ getTableClass(): {
237
+ [key: string]: boolean;
238
+ };
239
+ /**
240
+ * Return a header ngClass
241
+ * @returns ngClass
242
+ * @internal
243
+ */
244
+ getHeaderClass(): {
245
+ [key: string]: boolean;
246
+ };
247
+ /**
248
+ * Return a row ngClass
249
+ * @param record Record
250
+ * @returns ngClass
251
+ * @internal
252
+ */
253
+ getRowClass(record: EntityRecord<object>): {
254
+ [key: string]: boolean;
255
+ };
256
+ /**
257
+ * Return a row ngClass
258
+ * @param record Record
259
+ * @param column Column
260
+ * @returns ngClass
261
+ * @internal
262
+ */
263
+ getCellClass(record: EntityRecord<object>, column: EntityTableColumn): {
264
+ [key: string]: boolean;
265
+ };
266
+ /**
267
+ * When a button is clicked
268
+ * @param func Function
269
+ * @param record Record
270
+ * @internal
271
+ */
272
+ onButtonClick(clickFunc: (entity: object, record?: EntityRecord<object>) => void, record: EntityRecord<object>): void;
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntityTableComponent, never>;
274
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntityTableComponent, "igo-entity-table", never, { "store": "store"; "paginator": "paginator"; "template": "template"; "scrollBehavior": "scrollBehavior"; "sortNullsFirst": "sortNullsFirst"; "withPaginator": "withPaginator"; "paginatorOptions": "paginatorOptions"; }, { "entityClick": "entityClick"; "entitySelectChange": "entitySelectChange"; "entitySortChange": "entitySortChange"; }, never, never>;
275
+ }
@@ -1,22 +1,23 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./entity-table.component";
3
- import * as i2 from "./entity-table-row.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/material/table";
6
- import * as i5 from "@angular/material/sort";
7
- import * as i6 from "@angular/material/icon";
8
- import * as i7 from "@angular/material/button";
9
- import * as i8 from "@angular/material/checkbox";
10
- import * as i9 from "@angular/material/paginator";
11
- import * as i10 from "../../stop-propagation/stop-propagation.module";
12
- import * as i11 from "../../custom-html/custom-html.module";
13
- import * as i12 from "../entity-table-paginator/entity-table-paginator.module";
14
- import * as i13 from "../../image/image.module";
15
- import * as i14 from "@igo2/core";
16
- /**
17
- * @ignore
18
- */
19
- export declare class IgoEntityTableModule {
20
- static ɵmod: i0.ɵɵNgModuleDefWithMeta<IgoEntityTableModule, [typeof i1.EntityTableComponent, typeof i2.EntityTableRowDirective], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatSortModule, typeof i6.MatIconModule, typeof i7.MatButtonModule, typeof i8.MatCheckboxModule, typeof i9.MatPaginatorModule, typeof i10.IgoStopPropagationModule, typeof i11.IgoCustomHtmlModule, typeof i12.IgoEntityTablePaginatorModule, typeof i13.IgoImageModule, typeof i14.IgoLanguageModule], [typeof i1.EntityTableComponent]>;
21
- static ɵinj: i0.ɵɵInjectorDef<IgoEntityTableModule>;
22
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./entity-table.component";
3
+ import * as i2 from "./entity-table-row.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/table";
6
+ import * as i5 from "@angular/material/sort";
7
+ import * as i6 from "@angular/material/icon";
8
+ import * as i7 from "@angular/material/button";
9
+ import * as i8 from "@angular/material/checkbox";
10
+ import * as i9 from "@angular/material/paginator";
11
+ import * as i10 from "../../stop-propagation/stop-propagation.module";
12
+ import * as i11 from "../../custom-html/custom-html.module";
13
+ import * as i12 from "../entity-table-paginator/entity-table-paginator.module";
14
+ import * as i13 from "../../image/image.module";
15
+ import * as i14 from "@igo2/core";
16
+ /**
17
+ * @ignore
18
+ */
19
+ export declare class IgoEntityTableModule {
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoEntityTableModule, never>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoEntityTableModule, [typeof i1.EntityTableComponent, typeof i2.EntityTableRowDirective], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatSortModule, typeof i6.MatIconModule, typeof i7.MatButtonModule, typeof i8.MatCheckboxModule, typeof i9.MatPaginatorModule, typeof i10.IgoStopPropagationModule, typeof i11.IgoCustomHtmlModule, typeof i12.IgoEntityTablePaginatorModule, typeof i13.IgoImageModule, typeof i14.IgoLanguageModule], [typeof i1.EntityTableComponent]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoEntityTableModule>;
23
+ }