@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,48 +1,48 @@
1
- import { EntityStore } from '../store';
2
- import { EntityStoreStrategy } from './strategy';
3
- /**
4
- * When active, this strategy filters a store's stateView to return
5
- * selected entities only.
6
- */
7
- export declare class EntityStoreFilterSelectionStrategy extends EntityStoreStrategy {
8
- /**
9
- * Store / filter ids map
10
- */
11
- private filters;
12
- /**
13
- * Bind this strategy to a store and start filtering it
14
- * @param store Entity store
15
- */
16
- bindStore(store: EntityStore): void;
17
- /**
18
- * Unbind this strategy from a store and stop filtering it
19
- * @param store Entity store
20
- */
21
- unbindStore(store: EntityStore): void;
22
- /**
23
- * Start filtering all stores
24
- * @internal
25
- */
26
- protected doActivate(): void;
27
- /**
28
- * Stop filtering all stores
29
- * @internal
30
- */
31
- protected doDeactivate(): void;
32
- /**
33
- * Filter all stores
34
- */
35
- private filterAll;
36
- /**
37
- * Unfilter all stores
38
- */
39
- private unfilterAll;
40
- /**
41
- * Filter a store and add it to the filters map
42
- */
43
- private filterStore;
44
- /**
45
- * Unfilter a store and delete it from the filters map
46
- */
47
- private unfilterStore;
48
- }
1
+ import { EntityStore } from '../store';
2
+ import { EntityStoreStrategy } from './strategy';
3
+ /**
4
+ * When active, this strategy filters a store's stateView to return
5
+ * selected entities only.
6
+ */
7
+ export declare class EntityStoreFilterSelectionStrategy extends EntityStoreStrategy {
8
+ /**
9
+ * Store / filter ids map
10
+ */
11
+ private filters;
12
+ /**
13
+ * Bind this strategy to a store and start filtering it
14
+ * @param store Entity store
15
+ */
16
+ bindStore(store: EntityStore): void;
17
+ /**
18
+ * Unbind this strategy from a store and stop filtering it
19
+ * @param store Entity store
20
+ */
21
+ unbindStore(store: EntityStore): void;
22
+ /**
23
+ * Start filtering all stores
24
+ * @internal
25
+ */
26
+ protected doActivate(): void;
27
+ /**
28
+ * Stop filtering all stores
29
+ * @internal
30
+ */
31
+ protected doDeactivate(): void;
32
+ /**
33
+ * Filter all stores
34
+ */
35
+ private filterAll;
36
+ /**
37
+ * Unfilter all stores
38
+ */
39
+ private unfilterAll;
40
+ /**
41
+ * Filter a store and add it to the filters map
42
+ */
43
+ private filterStore;
44
+ /**
45
+ * Unfilter a store and delete it from the filters map
46
+ */
47
+ private unfilterStore;
48
+ }
@@ -1,3 +1,3 @@
1
- export * from './strategy';
2
- export * from './filter-custom-function';
3
- export * from './filter-selection';
1
+ export * from './strategy';
2
+ export * from './filter-custom-function';
3
+ export * from './filter-selection';
@@ -1,56 +1,56 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { EntityStoreStrategyOptions } from '../entity.interfaces';
3
- import { EntityStore } from '../store';
4
- /**
5
- * Entity store strategies. They can do pretty much anything during a store's
6
- * lifetime. For example, they may act as triggers when something happens.
7
- * Sharing a strategy is a good idea when multiple strategies would have
8
- * on cancelling effect on each other.
9
- *
10
- * At creation, strategy is inactive and needs to be manually activated.
11
- */
12
- export declare class EntityStoreStrategy {
13
- protected options: EntityStoreStrategyOptions;
14
- /**
15
- * Feature store
16
- * @internal
17
- */
18
- protected stores: EntityStore[];
19
- /**
20
- * Whether this strategy is active
21
- * @internal
22
- */
23
- get active(): boolean;
24
- readonly active$: BehaviorSubject<boolean>;
25
- constructor(options?: EntityStoreStrategyOptions);
26
- /**
27
- * Activate the strategy. If it's already active, it'll be deactivated
28
- * and activated again.
29
- */
30
- activate(): void;
31
- /**
32
- * Activate the strategy. If it's already active, it'll be deactivated
33
- * and activated again.
34
- */
35
- deactivate(): void;
36
- /**
37
- * Bind this strategy to a store
38
- * @param store Feature store
39
- */
40
- bindStore(store: EntityStore): void;
41
- /**
42
- * Unbind this strategy from store
43
- * @param store Feature store
44
- */
45
- unbindStore(store: EntityStore): void;
46
- /**
47
- * Do the stataegy activation
48
- * @internal
49
- */
50
- protected doActivate(): void;
51
- /**
52
- * Do the strategy deactivation
53
- * @internal
54
- */
55
- protected doDeactivate(): void;
56
- }
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import { EntityStoreStrategyOptions } from '../entity.interfaces';
3
+ import { EntityStore } from '../store';
4
+ /**
5
+ * Entity store strategies. They can do pretty much anything during a store's
6
+ * lifetime. For example, they may act as triggers when something happens.
7
+ * Sharing a strategy is a good idea when multiple strategies would have
8
+ * on cancelling effect on each other.
9
+ *
10
+ * At creation, strategy is inactive and needs to be manually activated.
11
+ */
12
+ export declare class EntityStoreStrategy {
13
+ protected options: EntityStoreStrategyOptions;
14
+ /**
15
+ * Feature store
16
+ * @internal
17
+ */
18
+ protected stores: EntityStore[];
19
+ /**
20
+ * Whether this strategy is active
21
+ * @internal
22
+ */
23
+ get active(): boolean;
24
+ readonly active$: BehaviorSubject<boolean>;
25
+ constructor(options?: EntityStoreStrategyOptions);
26
+ /**
27
+ * Activate the strategy. If it's already active, it'll be deactivated
28
+ * and activated again.
29
+ */
30
+ activate(): void;
31
+ /**
32
+ * Activate the strategy. If it's already active, it'll be deactivated
33
+ * and activated again.
34
+ */
35
+ deactivate(): void;
36
+ /**
37
+ * Bind this strategy to a store
38
+ * @param store Feature store
39
+ */
40
+ bindStore(store: EntityStore): void;
41
+ /**
42
+ * Unbind this strategy from store
43
+ * @param store Feature store
44
+ */
45
+ unbindStore(store: EntityStore): void;
46
+ /**
47
+ * Do the stataegy activation
48
+ * @internal
49
+ */
50
+ protected doActivate(): void;
51
+ /**
52
+ * Do the strategy deactivation
53
+ * @internal
54
+ */
55
+ protected doDeactivate(): void;
56
+ }
@@ -1,168 +1,168 @@
1
- import { Observable } from 'rxjs';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { EntityKey, EntityTransactionOptions, EntityOperation, EntityOperationState } from './entity.interfaces';
4
- import { EntityStore } from './store';
5
- export declare type EntityTransactionCommitHandler = (transaction: EntityTransaction, operations: EntityOperation[]) => Observable<any>;
6
- /**
7
- * This class holds a reference to the insert, update and delete
8
- * operations performed on a store. This is useful to commit
9
- * these operations in a single pass or to cancel them.
10
- */
11
- export declare class EntityTransaction {
12
- /**
13
- * Store holding the operations on another store
14
- */
15
- readonly operations: EntityStore<EntityOperation, EntityOperationState>;
16
- /**
17
- * Method to get an entity's id
18
- */
19
- readonly getKey: (E: any) => EntityKey;
20
- /**
21
- * Whether there are pending operations
22
- */
23
- get empty$(): BehaviorSubject<boolean>;
24
- /**
25
- * Whether there are pending operations
26
- */
27
- get empty(): boolean;
28
- /**
29
- * Whether thise store is in commit phase
30
- */
31
- get inCommitPhase(): boolean;
32
- readonly inCommitPhase$: BehaviorSubject<boolean>;
33
- constructor(options?: EntityTransactionOptions);
34
- destroy(): void;
35
- /**
36
- * Insert an entity into a store. If no store is specified, an insert
37
- * operation is still created but the transaction won't add the new
38
- * entity to the store.
39
- * @param current The entity to insert
40
- * @param store Optional: The store to insert the entity into
41
- * @param meta Optional: Any metadata on the operation
42
- */
43
- insert(current: object, store?: EntityStore<object>, meta?: {
44
- [key: string]: any;
45
- }): void;
46
- /**
47
- * Update an entity in a store. If no store is specified, an update
48
- * operation is still created but the transaction won't update the
49
- * entity into the store.
50
- * @param previous The entity before update
51
- * @param current The entity after update
52
- * @param store Optional: The store to update the entity into
53
- * @param meta Optional: Any metadata on the operation
54
- */
55
- update(previous: object, current: object, store?: EntityStore<object>, meta?: {
56
- [key: string]: any;
57
- }): void;
58
- /**
59
- * Delete an entity from a store. If no store is specified, a delete
60
- * operation is still created but the transaction won't remove the
61
- * entity from the store.
62
- * @param previous The entity before delete
63
- * @param store Optional: The store to delete the entity from
64
- * @param meta Optional: Any metadata on the operation
65
- */
66
- delete(previous: object, store?: EntityStore<object>, meta?: {
67
- [key: string]: any;
68
- }): void;
69
- /**
70
- * Commit operations the transaction. This method doesn't do much
71
- * in itself. The handler it receives does the hard work and it's
72
- * implementation is left to the caller. This method simply wraps
73
- * the handler into an error catching mechanism to update
74
- * the transaction afterward. The caller needs to subscribe to this
75
- * method's output (observable) for the commit to be performed.
76
- * @param operations Operations to commit
77
- * @param handler Function that handles the commit operation
78
- * @returns The handler output (observable)
79
- */
80
- commit(operations: EntityOperation[], handler: EntityTransactionCommitHandler): Observable<any>;
81
- /**
82
- * Commit all the operations of the transaction.
83
- * @param handler Function that handles the commit operation
84
- * @returns The handler output (observable)
85
- */
86
- commitAll(handler: EntityTransactionCommitHandler): Observable<any>;
87
- /**
88
- * Rollback this transaction
89
- */
90
- rollback(): void;
91
- /**
92
- * Rollback specific operations
93
- */
94
- rollbackOperations(operations: EntityOperation[]): void;
95
- /**
96
- * Clear this transaction
97
- * @todo Raise event and synchronize stores?
98
- */
99
- clear(): void;
100
- /**
101
- * Get any existing operation on an entity
102
- * @param entity Entity
103
- * @returns Either an insert, update or delete operation
104
- */
105
- getOperationByEntity(entity: object): EntityOperation;
106
- /**
107
- * Merge another transaction in this one
108
- * @param transaction Another transaction
109
- */
110
- mergeTransaction(transaction: EntityTransaction): void;
111
- /**
112
- * Create an insert operation and add an entity to the store
113
- * @param current The entity to insert
114
- * @param store Optional: The store to insert the entity into
115
- * @param meta Optional: Any metadata on the operation
116
- */
117
- private doInsert;
118
- /**
119
- * Create an update operation and update an entity into the store
120
- * @param previous The entity before update
121
- * @param current The entity after update
122
- * @param store Optional: The store to update the entity into
123
- * @param meta Optional: Any metadata on the operation
124
- */
125
- private doUpdate;
126
- /**
127
- * Create a delete operation and delete an entity from the store
128
- * @param previous The entity before delete
129
- * @param store Optional: The store to delete the entity from
130
- * @param meta Optional: Any metadata on the operation
131
- */
132
- private doDelete;
133
- /**
134
- * Remove committed operations from store
135
- * @param operations Commited operations
136
- * @todo Raise event and synchronize stores?
137
- */
138
- private resolveOperations;
139
- /**
140
- * On commit success, resolve commited operations and exit commit phase
141
- * @param operations Commited operations
142
- */
143
- private onCommitSuccess;
144
- /**
145
- * On commit error, abort transaction
146
- * @param operations Commited operations
147
- */
148
- private onCommitError;
149
- /**
150
- * Add an operation to the operations store
151
- * @param operation Operation to add
152
- */
153
- private addOperation;
154
- /**
155
- * Remove an operation from the operations store
156
- * @param operation Operation to remove
157
- */
158
- private removeOperation;
159
- /**
160
- * Get all the operations to commit
161
- * @returns Operations to commit
162
- */
163
- private getOperationsInCommit;
164
- /**
165
- * Check if the transaction is in the commit phase and throw an error if it is
166
- */
167
- private checkInCommitPhase;
168
- }
1
+ import { Observable } from 'rxjs';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { EntityKey, EntityTransactionOptions, EntityOperation, EntityOperationState } from './entity.interfaces';
4
+ import { EntityStore } from './store';
5
+ export declare type EntityTransactionCommitHandler = (transaction: EntityTransaction, operations: EntityOperation[]) => Observable<any>;
6
+ /**
7
+ * This class holds a reference to the insert, update and delete
8
+ * operations performed on a store. This is useful to commit
9
+ * these operations in a single pass or to cancel them.
10
+ */
11
+ export declare class EntityTransaction {
12
+ /**
13
+ * Store holding the operations on another store
14
+ */
15
+ readonly operations: EntityStore<EntityOperation, EntityOperationState>;
16
+ /**
17
+ * Method to get an entity's id
18
+ */
19
+ readonly getKey: (E: any) => EntityKey;
20
+ /**
21
+ * Whether there are pending operations
22
+ */
23
+ get empty$(): BehaviorSubject<boolean>;
24
+ /**
25
+ * Whether there are pending operations
26
+ */
27
+ get empty(): boolean;
28
+ /**
29
+ * Whether thise store is in commit phase
30
+ */
31
+ get inCommitPhase(): boolean;
32
+ readonly inCommitPhase$: BehaviorSubject<boolean>;
33
+ constructor(options?: EntityTransactionOptions);
34
+ destroy(): void;
35
+ /**
36
+ * Insert an entity into a store. If no store is specified, an insert
37
+ * operation is still created but the transaction won't add the new
38
+ * entity to the store.
39
+ * @param current The entity to insert
40
+ * @param store Optional: The store to insert the entity into
41
+ * @param meta Optional: Any metadata on the operation
42
+ */
43
+ insert(current: object, store?: EntityStore<object>, meta?: {
44
+ [key: string]: any;
45
+ }): void;
46
+ /**
47
+ * Update an entity in a store. If no store is specified, an update
48
+ * operation is still created but the transaction won't update the
49
+ * entity into the store.
50
+ * @param previous The entity before update
51
+ * @param current The entity after update
52
+ * @param store Optional: The store to update the entity into
53
+ * @param meta Optional: Any metadata on the operation
54
+ */
55
+ update(previous: object, current: object, store?: EntityStore<object>, meta?: {
56
+ [key: string]: any;
57
+ }): void;
58
+ /**
59
+ * Delete an entity from a store. If no store is specified, a delete
60
+ * operation is still created but the transaction won't remove the
61
+ * entity from the store.
62
+ * @param previous The entity before delete
63
+ * @param store Optional: The store to delete the entity from
64
+ * @param meta Optional: Any metadata on the operation
65
+ */
66
+ delete(previous: object, store?: EntityStore<object>, meta?: {
67
+ [key: string]: any;
68
+ }): void;
69
+ /**
70
+ * Commit operations the transaction. This method doesn't do much
71
+ * in itself. The handler it receives does the hard work and it's
72
+ * implementation is left to the caller. This method simply wraps
73
+ * the handler into an error catching mechanism to update
74
+ * the transaction afterward. The caller needs to subscribe to this
75
+ * method's output (observable) for the commit to be performed.
76
+ * @param operations Operations to commit
77
+ * @param handler Function that handles the commit operation
78
+ * @returns The handler output (observable)
79
+ */
80
+ commit(operations: EntityOperation[], handler: EntityTransactionCommitHandler): Observable<any>;
81
+ /**
82
+ * Commit all the operations of the transaction.
83
+ * @param handler Function that handles the commit operation
84
+ * @returns The handler output (observable)
85
+ */
86
+ commitAll(handler: EntityTransactionCommitHandler): Observable<any>;
87
+ /**
88
+ * Rollback this transaction
89
+ */
90
+ rollback(): void;
91
+ /**
92
+ * Rollback specific operations
93
+ */
94
+ rollbackOperations(operations: EntityOperation[]): void;
95
+ /**
96
+ * Clear this transaction
97
+ * @todo Raise event and synchronize stores?
98
+ */
99
+ clear(): void;
100
+ /**
101
+ * Get any existing operation on an entity
102
+ * @param entity Entity
103
+ * @returns Either an insert, update or delete operation
104
+ */
105
+ getOperationByEntity(entity: object): EntityOperation;
106
+ /**
107
+ * Merge another transaction in this one
108
+ * @param transaction Another transaction
109
+ */
110
+ mergeTransaction(transaction: EntityTransaction): void;
111
+ /**
112
+ * Create an insert operation and add an entity to the store
113
+ * @param current The entity to insert
114
+ * @param store Optional: The store to insert the entity into
115
+ * @param meta Optional: Any metadata on the operation
116
+ */
117
+ private doInsert;
118
+ /**
119
+ * Create an update operation and update an entity into the store
120
+ * @param previous The entity before update
121
+ * @param current The entity after update
122
+ * @param store Optional: The store to update the entity into
123
+ * @param meta Optional: Any metadata on the operation
124
+ */
125
+ private doUpdate;
126
+ /**
127
+ * Create a delete operation and delete an entity from the store
128
+ * @param previous The entity before delete
129
+ * @param store Optional: The store to delete the entity from
130
+ * @param meta Optional: Any metadata on the operation
131
+ */
132
+ private doDelete;
133
+ /**
134
+ * Remove committed operations from store
135
+ * @param operations Commited operations
136
+ * @todo Raise event and synchronize stores?
137
+ */
138
+ private resolveOperations;
139
+ /**
140
+ * On commit success, resolve commited operations and exit commit phase
141
+ * @param operations Commited operations
142
+ */
143
+ private onCommitSuccess;
144
+ /**
145
+ * On commit error, abort transaction
146
+ * @param operations Commited operations
147
+ */
148
+ private onCommitError;
149
+ /**
150
+ * Add an operation to the operations store
151
+ * @param operation Operation to add
152
+ */
153
+ private addOperation;
154
+ /**
155
+ * Remove an operation from the operations store
156
+ * @param operation Operation to remove
157
+ */
158
+ private removeOperation;
159
+ /**
160
+ * Get all the operations to commit
161
+ * @returns Operations to commit
162
+ */
163
+ private getOperationsInCommit;
164
+ /**
165
+ * Check if the transaction is in the commit phase and throw an error if it is
166
+ */
167
+ private checkInCommitPhase;
168
+ }