@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,49 +1,49 @@
1
- import { OnChanges, EventEmitter, OnDestroy } from '@angular/core';
2
- import { EntityStore } from '../shared';
3
- import { MatPaginator, PageEvent } from '@angular/material/paginator';
4
- import { BehaviorSubject } from 'rxjs';
5
- import { LanguageService, MediaService } from '@igo2/core';
6
- import { EntityTablePaginatorOptions } from './entity-table-paginator.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
9
- private languageService;
10
- private mediaService;
11
- disabled: boolean;
12
- hidePageSize: boolean;
13
- pageIndex: number;
14
- pageSize: number;
15
- pageSizeOptions: number[];
16
- showFirstLastButtons: boolean;
17
- private count$$;
18
- private entitySortChange$$;
19
- private paginationLabelTranslation$$;
20
- entitySortChange$: BehaviorSubject<boolean>;
21
- /**
22
- * Entity store
23
- */
24
- store: EntityStore<object>;
25
- /**
26
- * Paginator options
27
- */
28
- paginatorOptions: EntityTablePaginatorOptions;
29
- /**
30
- * Event emitted when the paginator changes the page size or page index.
31
- */
32
- page: EventEmitter<PageEvent>;
33
- length: number;
34
- /**
35
- * Paginator emitted.
36
- */
37
- paginatorChange: EventEmitter<MatPaginator>;
38
- constructor(languageService: LanguageService, mediaService: MediaService);
39
- paginator: MatPaginator;
40
- ngOnChanges(): void;
41
- initPaginatorOptions(): void;
42
- translateLabels(): void;
43
- rangeLabel: (page: number, pageSize: number, length: number) => string;
44
- private unsubscribeAll;
45
- ngOnDestroy(): void;
46
- emitPaginator(): void;
47
- static ɵfac: i0.ɵɵFactoryDef<EntityTablePaginatorComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDefWithMeta<EntityTablePaginatorComponent, "igo-entity-table-paginator", never, { "entitySortChange$": "entitySortChange$"; "store": "store"; "paginatorOptions": "paginatorOptions"; }, { "page": "page"; "paginatorChange": "paginatorChange"; }, never, never>;
49
- }
1
+ import { OnChanges, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { EntityStore } from '../shared';
3
+ import { MatPaginator, PageEvent } from '@angular/material/paginator';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import { LanguageService, MediaService } from '@igo2/core';
6
+ import { EntityTablePaginatorOptions } from './entity-table-paginator.interface';
7
+ import * as i0 from "@angular/core";
8
+ export declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
9
+ private languageService;
10
+ private mediaService;
11
+ disabled: boolean;
12
+ hidePageSize: boolean;
13
+ pageIndex: number;
14
+ pageSize: number;
15
+ pageSizeOptions: number[];
16
+ showFirstLastButtons: boolean;
17
+ private count$$;
18
+ private entitySortChange$$;
19
+ private paginationLabelTranslation$$;
20
+ entitySortChange$: BehaviorSubject<boolean>;
21
+ /**
22
+ * Entity store
23
+ */
24
+ store: EntityStore<object>;
25
+ /**
26
+ * Paginator options
27
+ */
28
+ paginatorOptions: EntityTablePaginatorOptions;
29
+ /**
30
+ * Event emitted when the paginator changes the page size or page index.
31
+ */
32
+ page: EventEmitter<PageEvent>;
33
+ length: number;
34
+ /**
35
+ * Paginator emitted.
36
+ */
37
+ paginatorChange: EventEmitter<MatPaginator>;
38
+ constructor(languageService: LanguageService, mediaService: MediaService);
39
+ paginator: MatPaginator;
40
+ ngOnChanges(): void;
41
+ initPaginatorOptions(): void;
42
+ translateLabels(): void;
43
+ rangeLabel: (page: number, pageSize: number, length: number) => string;
44
+ private unsubscribeAll;
45
+ ngOnDestroy(): void;
46
+ emitPaginator(): void;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntityTablePaginatorComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntityTablePaginatorComponent, "igo-entity-table-paginator", never, { "entitySortChange$": "entitySortChange$"; "store": "store"; "paginatorOptions": "paginatorOptions"; }, { "page": "page"; "paginatorChange": "paginatorChange"; }, never, never>;
49
+ }
@@ -1,8 +1,8 @@
1
- export interface EntityTablePaginatorOptions {
2
- disabled?: boolean;
3
- hidePageSize?: boolean;
4
- pageIndex?: number;
5
- pageSize?: number;
6
- pageSizeOptions?: number[];
7
- showFirstLastButtons?: boolean;
8
- }
1
+ export interface EntityTablePaginatorOptions {
2
+ disabled?: boolean;
3
+ hidePageSize?: boolean;
4
+ pageIndex?: number;
5
+ pageSize?: number;
6
+ pageSizeOptions?: number[];
7
+ showFirstLastButtons?: boolean;
8
+ }
@@ -1,10 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./entity-table-paginator.component";
3
- import * as i2 from "@angular/material/paginator";
4
- /**
5
- * @ignore
6
- */
7
- export declare class IgoEntityTablePaginatorModule {
8
- static ɵmod: i0.ɵɵNgModuleDefWithMeta<IgoEntityTablePaginatorModule, [typeof i1.EntityTablePaginatorComponent], [typeof i2.MatPaginatorModule], [typeof i1.EntityTablePaginatorComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDef<IgoEntityTablePaginatorModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./entity-table-paginator.component";
3
+ import * as i2 from "@angular/material/paginator";
4
+ /**
5
+ * @ignore
6
+ */
7
+ export declare class IgoEntityTablePaginatorModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoEntityTablePaginatorModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoEntityTablePaginatorModule, [typeof i1.EntityTablePaginatorComponent], [typeof i2.MatPaginatorModule], [typeof i1.EntityTablePaginatorComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoEntityTablePaginatorModule>;
11
+ }
@@ -1,9 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./entity-selector/entity-selector.module";
4
- import * as i3 from "./entity-table/entity-table.module";
5
- import * as i4 from "./entity-table-paginator/entity-table-paginator.module";
6
- export declare class IgoEntityModule {
7
- static ɵmod: i0.ɵɵNgModuleDefWithMeta<IgoEntityModule, never, [typeof i1.CommonModule], [typeof i2.IgoEntitySelectorModule, typeof i3.IgoEntityTableModule, typeof i4.IgoEntityTablePaginatorModule]>;
8
- static ɵinj: i0.ɵɵInjectorDef<IgoEntityModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./entity-selector/entity-selector.module";
4
+ import * as i3 from "./entity-table/entity-table.module";
5
+ import * as i4 from "./entity-table-paginator/entity-table-paginator.module";
6
+ export declare class IgoEntityModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoEntityModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoEntityModule, never, [typeof i1.CommonModule], [typeof i2.IgoEntitySelectorModule, typeof i3.IgoEntityTableModule, typeof i4.IgoEntityTablePaginatorModule]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoEntityModule>;
10
+ }
@@ -1,5 +1,5 @@
1
- export * from './shared';
2
- export * from './entity-selector/entity-selector.component';
3
- export * from './entity-table/entity-table.component';
4
- export * from './entity-table-paginator/entity-table-paginator.component';
5
- export * from './entity-table-paginator/entity-table-paginator.interface';
1
+ export * from './shared';
2
+ export * from './entity-selector/entity-selector.component';
3
+ export * from './entity-table/entity-table.component';
4
+ export * from './entity-table-paginator/entity-table-paginator.component';
5
+ export * from './entity-table-paginator/entity-table-paginator.interface';
@@ -1,22 +1,22 @@
1
- export declare enum EntityOperationType {
2
- Insert = "Insert",
3
- Update = "Update",
4
- Delete = "Delete"
5
- }
6
- export declare enum EntityTableColumnRenderer {
7
- Default = "Default",
8
- HTML = "HTML",
9
- UnsanitizedHTML = "UnsanitizedHTML",
10
- Icon = "Icon",
11
- ButtonGroup = "ButtonGroup"
12
- }
13
- export declare enum EntityTableScrollBehavior {
14
- Auto = "auto",
15
- Instant = "instant",
16
- Smooth = "smooth"
17
- }
18
- export declare enum EntityTableSelectionState {
19
- None = "None",
20
- All = "All",
21
- Some = "Some"
22
- }
1
+ export declare enum EntityOperationType {
2
+ Insert = "Insert",
3
+ Update = "Update",
4
+ Delete = "Delete"
5
+ }
6
+ export declare enum EntityTableColumnRenderer {
7
+ Default = "Default",
8
+ HTML = "HTML",
9
+ UnsanitizedHTML = "UnsanitizedHTML",
10
+ Icon = "Icon",
11
+ ButtonGroup = "ButtonGroup"
12
+ }
13
+ export declare enum EntityTableScrollBehavior {
14
+ Auto = "auto",
15
+ Instant = "instant",
16
+ Smooth = "smooth"
17
+ }
18
+ export declare enum EntityTableSelectionState {
19
+ None = "None",
20
+ All = "All",
21
+ Some = "Some"
22
+ }
@@ -1,88 +1,88 @@
1
- import { Observable } from 'rxjs';
2
- import { EntityOperationType, EntityTableColumnRenderer } from './entity.enums';
3
- import { EntityStore } from './store';
4
- export declare type EntityKey = string | number;
5
- export interface EntityState {
6
- [key: string]: any;
7
- }
8
- export interface EntityRecord<E extends object, S extends EntityState = EntityState> {
9
- entity: E;
10
- state: S;
11
- revision: number;
12
- ref: string;
13
- }
14
- export interface EntityStoreOptions {
15
- getKey?: (entity: object) => EntityKey;
16
- getProperty?: (entity: object, property: string) => any;
17
- }
18
- export interface EntityStateManagerOptions {
19
- getKey?: (entity: object) => EntityKey;
20
- store?: EntityStore<object>;
21
- }
22
- export interface EntityStoreStrategyOptions {
23
- }
24
- export interface EntityStoreStrategyFuncOptions extends EntityStoreStrategyOptions {
25
- filterClauseFunc: EntityFilterClause;
26
- }
27
- export interface EntityTransactionOptions {
28
- getKey?: (entity: object) => EntityKey;
29
- }
30
- export declare type EntityFilterClause<E = object> = (entity: E) => boolean;
31
- export interface EntitySortClause<E = object> {
32
- valueAccessor: (entity: E) => string | number;
33
- direction: string;
34
- nullsFirst?: boolean;
35
- }
36
- export interface EntityJoinClause {
37
- source: Observable<any | void>;
38
- reduce: (param1: object, param2: any) => object;
39
- }
40
- export interface EntityOperation<E extends object = object> {
41
- key: EntityKey;
42
- type: EntityOperationType;
43
- previous: E | undefined;
44
- current: E | undefined;
45
- store?: EntityStore<E>;
46
- meta?: {
47
- [key: string]: any;
48
- };
49
- }
50
- export interface EntityOperationState {
51
- added: boolean;
52
- canceled: boolean;
53
- }
54
- export interface EntityTableTemplate {
55
- columns: EntityTableColumn[];
56
- selection?: boolean;
57
- selectionCheckbox?: boolean;
58
- selectMany?: boolean;
59
- sort?: boolean;
60
- fixedHeader?: boolean;
61
- valueAccessor?: (entity: object, property: string, record: EntityRecord<object>) => any;
62
- headerClassFunc?: () => {
63
- [key: string]: boolean;
64
- };
65
- rowClassFunc?: (entity: object, record: EntityRecord<object>) => {
66
- [key: string]: boolean;
67
- };
68
- cellClassFunc?: (entity: object, column: EntityTableColumn, record: EntityRecord<object>) => {
69
- [key: string]: boolean;
70
- };
71
- }
72
- export interface EntityTableColumn {
73
- name: string;
74
- title: string;
75
- renderer?: EntityTableColumnRenderer;
76
- valueAccessor?: (entity: object, record: EntityRecord<object>) => any;
77
- visible?: boolean;
78
- sort?: boolean;
79
- cellClassFunc?: (entity: object, record: EntityRecord<object>) => {
80
- [key: string]: boolean;
81
- };
82
- }
83
- export interface EntityTableButton {
84
- icon: string;
85
- click: (entity: object, record: EntityRecord<object>) => void;
86
- color?: 'primary' | 'accent' | 'warn';
87
- style?: 'mat-mini-fab' | 'mat-icon-button';
88
- }
1
+ import { Observable } from 'rxjs';
2
+ import { EntityOperationType, EntityTableColumnRenderer } from './entity.enums';
3
+ import { EntityStore } from './store';
4
+ export declare type EntityKey = string | number;
5
+ export interface EntityState {
6
+ [key: string]: any;
7
+ }
8
+ export interface EntityRecord<E extends object, S extends EntityState = EntityState> {
9
+ entity: E;
10
+ state: S;
11
+ revision: number;
12
+ ref: string;
13
+ }
14
+ export interface EntityStoreOptions {
15
+ getKey?: (entity: object) => EntityKey;
16
+ getProperty?: (entity: object, property: string) => any;
17
+ }
18
+ export interface EntityStateManagerOptions {
19
+ getKey?: (entity: object) => EntityKey;
20
+ store?: EntityStore<object>;
21
+ }
22
+ export interface EntityStoreStrategyOptions {
23
+ }
24
+ export interface EntityStoreStrategyFuncOptions extends EntityStoreStrategyOptions {
25
+ filterClauseFunc: EntityFilterClause;
26
+ }
27
+ export interface EntityTransactionOptions {
28
+ getKey?: (entity: object) => EntityKey;
29
+ }
30
+ export declare type EntityFilterClause<E = object> = (entity: E) => boolean;
31
+ export interface EntitySortClause<E = object> {
32
+ valueAccessor: (entity: E) => string | number;
33
+ direction: string;
34
+ nullsFirst?: boolean;
35
+ }
36
+ export interface EntityJoinClause {
37
+ source: Observable<any | void>;
38
+ reduce: (param1: object, param2: any) => object;
39
+ }
40
+ export interface EntityOperation<E extends object = object> {
41
+ key: EntityKey;
42
+ type: EntityOperationType;
43
+ previous: E | undefined;
44
+ current: E | undefined;
45
+ store?: EntityStore<E>;
46
+ meta?: {
47
+ [key: string]: any;
48
+ };
49
+ }
50
+ export interface EntityOperationState {
51
+ added: boolean;
52
+ canceled: boolean;
53
+ }
54
+ export interface EntityTableTemplate {
55
+ columns: EntityTableColumn[];
56
+ selection?: boolean;
57
+ selectionCheckbox?: boolean;
58
+ selectMany?: boolean;
59
+ sort?: boolean;
60
+ fixedHeader?: boolean;
61
+ valueAccessor?: (entity: object, property: string, record: EntityRecord<object>) => any;
62
+ headerClassFunc?: () => {
63
+ [key: string]: boolean;
64
+ };
65
+ rowClassFunc?: (entity: object, record: EntityRecord<object>) => {
66
+ [key: string]: boolean;
67
+ };
68
+ cellClassFunc?: (entity: object, column: EntityTableColumn, record: EntityRecord<object>) => {
69
+ [key: string]: boolean;
70
+ };
71
+ }
72
+ export interface EntityTableColumn {
73
+ name: string;
74
+ title: string;
75
+ renderer?: EntityTableColumnRenderer;
76
+ valueAccessor?: (entity: object, record: EntityRecord<object>) => any;
77
+ visible?: boolean;
78
+ sort?: boolean;
79
+ cellClassFunc?: (entity: object, record: EntityRecord<object>) => {
80
+ [key: string]: boolean;
81
+ };
82
+ }
83
+ export interface EntityTableButton {
84
+ icon: string;
85
+ click: (entity: object, record: EntityRecord<object>) => void;
86
+ color?: 'primary' | 'accent' | 'warn';
87
+ style?: 'mat-mini-fab' | 'mat-icon-button';
88
+ }
@@ -1,49 +1,49 @@
1
- import { EntityKey } from './entity.interfaces';
2
- /**
3
- * Get an entity's named property. Nested properties are supported
4
- * with the dotted notation. (i.e 'author.name')
5
- *
6
- * Note: this method is a 'best attempt' at getting an entity's property.
7
- * It fits the most common cases but you might need to explicitely define
8
- * a property getter when using an EntityStore, for example.
9
- * @param entity Entity
10
- * @param property Property name
11
- * @returns Property value
12
- */
13
- export declare function getEntityProperty(entity: object, property: string): any;
14
- /**
15
- * Get an entity's id. An entity's id can be one of:
16
- * 'entity.meta.id', 'entity.meta.idProperty' or 'entity.id'.
17
- *
18
- * Note: See the note in the 'getEntityProperty' documentation.
19
- * @param entity Entity
20
- * @returns Entity id
21
- */
22
- export declare function getEntityId(entity: object): EntityKey;
23
- /**
24
- * Get an entity's title. An entity's title can be one of:
25
- * 'entity.meta.title', 'entity.meta.titleProperty' or 'entity.title'.
26
- * @param entity Entity
27
- * @returns Entity title
28
- */
29
- export declare function getEntityTitle(entity: object): string;
30
- /**
31
- * Get an entity's HTML title. An entity's HTML title can be one of:
32
- * 'entity.meta.titleHtml', 'entity.meta.titleHtmlProperty' or 'entity.titleHtml'.
33
- * @param entity Entity
34
- * @returns Entity HTML title
35
- */
36
- export declare function getEntityTitleHtml(entity: object): string;
37
- /**
38
- * Get an entity's icon. An entity's icon can be one of:
39
- * 'entity.meta.icon', 'entity.meta.iconProperty' or 'entity.icon'.
40
- * @param entity Entity
41
- * @returns Entity icon
42
- */
43
- export declare function getEntityIcon(entity: object): string;
44
- /**
45
- * Get an entity's revision.
46
- * @param entity Entity
47
- * @returns Entity revision
48
- */
49
- export declare function getEntityRevision(entity: object): number;
1
+ import { EntityKey } from './entity.interfaces';
2
+ /**
3
+ * Get an entity's named property. Nested properties are supported
4
+ * with the dotted notation. (i.e 'author.name')
5
+ *
6
+ * Note: this method is a 'best attempt' at getting an entity's property.
7
+ * It fits the most common cases but you might need to explicitely define
8
+ * a property getter when using an EntityStore, for example.
9
+ * @param entity Entity
10
+ * @param property Property name
11
+ * @returns Property value
12
+ */
13
+ export declare function getEntityProperty(entity: object, property: string): any;
14
+ /**
15
+ * Get an entity's id. An entity's id can be one of:
16
+ * 'entity.meta.id', 'entity.meta.idProperty' or 'entity.id'.
17
+ *
18
+ * Note: See the note in the 'getEntityProperty' documentation.
19
+ * @param entity Entity
20
+ * @returns Entity id
21
+ */
22
+ export declare function getEntityId(entity: object): EntityKey;
23
+ /**
24
+ * Get an entity's title. An entity's title can be one of:
25
+ * 'entity.meta.title', 'entity.meta.titleProperty' or 'entity.title'.
26
+ * @param entity Entity
27
+ * @returns Entity title
28
+ */
29
+ export declare function getEntityTitle(entity: object): string;
30
+ /**
31
+ * Get an entity's HTML title. An entity's HTML title can be one of:
32
+ * 'entity.meta.titleHtml', 'entity.meta.titleHtmlProperty' or 'entity.titleHtml'.
33
+ * @param entity Entity
34
+ * @returns Entity HTML title
35
+ */
36
+ export declare function getEntityTitleHtml(entity: object): string;
37
+ /**
38
+ * Get an entity's icon. An entity's icon can be one of:
39
+ * 'entity.meta.icon', 'entity.meta.iconProperty' or 'entity.icon'.
40
+ * @param entity Entity
41
+ * @returns Entity icon
42
+ */
43
+ export declare function getEntityIcon(entity: object): string;
44
+ /**
45
+ * Get an entity's revision.
46
+ * @param entity Entity
47
+ * @returns Entity revision
48
+ */
49
+ export declare function getEntityRevision(entity: object): number;
@@ -1,9 +1,9 @@
1
- export * from './entity.enums';
2
- export * from './entity.interfaces';
3
- export * from './entity.utils';
4
- export * from './store';
5
- export * from './state';
6
- export * from './watcher';
7
- export * from './transaction';
8
- export * from './view';
9
- export * from './strategies';
1
+ export * from './entity.enums';
2
+ export * from './entity.interfaces';
3
+ export * from './entity.utils';
4
+ export * from './store';
5
+ export * from './state';
6
+ export * from './watcher';
7
+ export * from './transaction';
8
+ export * from './view';
9
+ export * from './strategies';