@igo2/common 1.15.3 → 1.15.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/esm2020/igo2-common.mjs +4 -4
  2. package/esm2020/lib/action/action.module.mjs +27 -27
  3. package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +252 -252
  4. package/esm2020/lib/action/actionbar/actionbar.component.mjs +370 -370
  5. package/esm2020/lib/action/actionbar/actionbar.module.mjs +57 -57
  6. package/esm2020/lib/action/index.mjs +3 -3
  7. package/esm2020/lib/action/shared/action.enums.mjs +7 -7
  8. package/esm2020/lib/action/shared/action.interfaces.mjs +2 -2
  9. package/esm2020/lib/action/shared/index.mjs +4 -4
  10. package/esm2020/lib/action/shared/store.mjs +8 -8
  11. package/esm2020/lib/backdrop/backdrop.component.mjs +26 -26
  12. package/esm2020/lib/backdrop/backdrop.module.mjs +25 -25
  13. package/esm2020/lib/backdrop/index.mjs +2 -2
  14. package/esm2020/lib/badge-icon/badge-icon.directive.mjs +141 -141
  15. package/esm2020/lib/badge-icon/badge-icon.module.mjs +26 -26
  16. package/esm2020/lib/badge-icon/index.mjs +2 -2
  17. package/esm2020/lib/clickout/clickout.directive.mjs +32 -32
  18. package/esm2020/lib/clickout/clickout.module.mjs +24 -24
  19. package/esm2020/lib/clickout/index.mjs +2 -2
  20. package/esm2020/lib/clone/clone.module.mjs +24 -24
  21. package/esm2020/lib/clone/clone.pipe.mjs +24 -24
  22. package/esm2020/lib/clone/index.mjs +2 -2
  23. package/esm2020/lib/collapsible/collapse.directive.mjs +55 -55
  24. package/esm2020/lib/collapsible/collapsible.component.mjs +57 -57
  25. package/esm2020/lib/collapsible/collapsible.module.mjs +27 -27
  26. package/esm2020/lib/collapsible/index.mjs +3 -3
  27. package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +44 -44
  28. package/esm2020/lib/confirm-dialog/confirm-dialog.module.mjs +29 -29
  29. package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +24 -24
  30. package/esm2020/lib/confirm-dialog/index.mjs +3 -3
  31. package/esm2020/lib/context-menu/context-menu.directive.mjs +103 -103
  32. package/esm2020/lib/context-menu/context-menu.module.mjs +25 -25
  33. package/esm2020/lib/context-menu/index.mjs +3 -3
  34. package/esm2020/lib/context-menu/long-press.directive.mjs +67 -67
  35. package/esm2020/lib/custom-html/custom-html.component.mjs +28 -28
  36. package/esm2020/lib/custom-html/custom-html.module.mjs +47 -47
  37. package/esm2020/lib/custom-html/custom-html.pipe.mjs +18 -18
  38. package/esm2020/lib/custom-html/index.mjs +3 -3
  39. package/esm2020/lib/dom/dom.interfaces.mjs +2 -2
  40. package/esm2020/lib/dom/dom.module.mjs +23 -23
  41. package/esm2020/lib/dom/dom.service.mjs +30 -30
  42. package/esm2020/lib/dom/index.mjs +3 -3
  43. package/esm2020/lib/drag-drop/drag-drop.directive.mjs +87 -87
  44. package/esm2020/lib/drag-drop/drag-drop.module.mjs +24 -24
  45. package/esm2020/lib/drag-drop/index.mjs +2 -2
  46. package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +31 -31
  47. package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +122 -122
  48. package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +28 -28
  49. package/esm2020/lib/dynamic-component/index.mjs +3 -3
  50. package/esm2020/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +2 -2
  51. package/esm2020/lib/dynamic-component/shared/dynamic-component.mjs +174 -174
  52. package/esm2020/lib/dynamic-component/shared/dynamic-component.service.mjs +29 -29
  53. package/esm2020/lib/dynamic-component/shared/index.mjs +4 -4
  54. package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +194 -194
  55. package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +32 -32
  56. package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +137 -137
  57. package/esm2020/lib/entity/entity-table/entity-table.component.mjs +1376 -1376
  58. package/esm2020/lib/entity/entity-table/entity-table.module.mjs +102 -102
  59. package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +132 -132
  60. package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -2
  61. package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +28 -28
  62. package/esm2020/lib/entity/entity.module.mjs +31 -31
  63. package/esm2020/lib/entity/index.mjs +6 -6
  64. package/esm2020/lib/entity/shared/entity.enums.mjs +28 -28
  65. package/esm2020/lib/entity/shared/entity.interfaces.mjs +2 -2
  66. package/esm2020/lib/entity/shared/entity.utils.mjs +67 -67
  67. package/esm2020/lib/entity/shared/index.mjs +10 -10
  68. package/esm2020/lib/entity/shared/state.mjs +191 -191
  69. package/esm2020/lib/entity/shared/store.mjs +288 -288
  70. package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +79 -79
  71. package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +84 -84
  72. package/esm2020/lib/entity/shared/strategies/index.mjs +4 -4
  73. package/esm2020/lib/entity/shared/strategies/strategy.mjs +75 -75
  74. package/esm2020/lib/entity/shared/transaction.mjs +316 -316
  75. package/esm2020/lib/entity/shared/view.mjs +315 -315
  76. package/esm2020/lib/entity/shared/watcher.mjs +120 -120
  77. package/esm2020/lib/flexible/flexible.component.mjs +148 -148
  78. package/esm2020/lib/flexible/flexible.module.mjs +24 -24
  79. package/esm2020/lib/flexible/flexible.type.mjs +2 -2
  80. package/esm2020/lib/flexible/index.mjs +3 -3
  81. package/esm2020/lib/form/form/form.component.mjs +117 -117
  82. package/esm2020/lib/form/form/form.module.mjs +40 -40
  83. package/esm2020/lib/form/form-field/form-field-select.component.mjs +127 -127
  84. package/esm2020/lib/form/form-field/form-field-text.component.mjs +104 -104
  85. package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +105 -105
  86. package/esm2020/lib/form/form-field/form-field.component.mjs +72 -72
  87. package/esm2020/lib/form/form-field/form-field.module.mjs +74 -74
  88. package/esm2020/lib/form/form-field/index.mjs +5 -5
  89. package/esm2020/lib/form/form-group/form-group.component.mjs +105 -105
  90. package/esm2020/lib/form/form-group/form-group.module.mjs +40 -40
  91. package/esm2020/lib/form/form.module.mjs +49 -49
  92. package/esm2020/lib/form/index.mjs +5 -5
  93. package/esm2020/lib/form/shared/form-field-component.mjs +7 -7
  94. package/esm2020/lib/form/shared/form-field.service.mjs +29 -29
  95. package/esm2020/lib/form/shared/form.interfaces.mjs +2 -2
  96. package/esm2020/lib/form/shared/form.service.mjs +81 -81
  97. package/esm2020/lib/form/shared/form.utils.mjs +40 -40
  98. package/esm2020/lib/form/shared/index.mjs +6 -6
  99. package/esm2020/lib/home-button/home-button.component.mjs +31 -31
  100. package/esm2020/lib/home-button/home-button.module.mjs +41 -41
  101. package/esm2020/lib/home-button/index.mjs +2 -2
  102. package/esm2020/lib/image/image-error.directive.mjs +35 -35
  103. package/esm2020/lib/image/image.module.mjs +25 -25
  104. package/esm2020/lib/image/index.mjs +3 -3
  105. package/esm2020/lib/image/secure-image.pipe.mjs +59 -59
  106. package/esm2020/lib/interactive-tour/index.mjs +5 -5
  107. package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +135 -135
  108. package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +2 -2
  109. package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +44 -44
  110. package/esm2020/lib/interactive-tour/interactive-tour.module.mjs +40 -40
  111. package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +285 -285
  112. package/esm2020/lib/json-dialog/index.mjs +3 -3
  113. package/esm2020/lib/json-dialog/json-dialog.component.mjs +109 -109
  114. package/esm2020/lib/json-dialog/json-dialog.module.mjs +29 -29
  115. package/esm2020/lib/json-dialog/json-dialog.service.mjs +24 -24
  116. package/esm2020/lib/keyvalue/index.mjs +2 -2
  117. package/esm2020/lib/keyvalue/keyvalue.module.mjs +24 -24
  118. package/esm2020/lib/keyvalue/keyvalue.pipe.mjs +18 -18
  119. package/esm2020/lib/list/index.mjs +3 -3
  120. package/esm2020/lib/list/list-item.directive.mjs +165 -165
  121. package/esm2020/lib/list/list.component.mjs +262 -262
  122. package/esm2020/lib/list/list.module.mjs +29 -29
  123. package/esm2020/lib/panel/index.mjs +2 -2
  124. package/esm2020/lib/panel/panel.component.mjs +59 -59
  125. package/esm2020/lib/panel/panel.module.mjs +19 -19
  126. package/esm2020/lib/sidenav/index.mjs +2 -2
  127. package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +55 -55
  128. package/esm2020/lib/sidenav/sidenav.module.mjs +24 -24
  129. package/esm2020/lib/spinner/index.mjs +3 -3
  130. package/esm2020/lib/spinner/spinner-activity.directive.mjs +47 -47
  131. package/esm2020/lib/spinner/spinner.component.mjs +35 -35
  132. package/esm2020/lib/spinner/spinner.module.mjs +21 -21
  133. package/esm2020/lib/stop-propagation/index.mjs +3 -3
  134. package/esm2020/lib/stop-propagation/stop-drop-propagation.directive.mjs +22 -22
  135. package/esm2020/lib/stop-propagation/stop-propagation.directive.mjs +21 -21
  136. package/esm2020/lib/stop-propagation/stop-propagation.module.mjs +25 -25
  137. package/esm2020/lib/table/index.mjs +6 -6
  138. package/esm2020/lib/table/table-action-color.enum.mjs +7 -7
  139. package/esm2020/lib/table/table-database.mjs +28 -28
  140. package/esm2020/lib/table/table-datasource.mjs +61 -61
  141. package/esm2020/lib/table/table-model.interface.mjs +2 -2
  142. package/esm2020/lib/table/table.component.mjs +297 -297
  143. package/esm2020/lib/table/table.module.mjs +67 -67
  144. package/esm2020/lib/tool/index.mjs +3 -3
  145. package/esm2020/lib/tool/shared/index.mjs +6 -6
  146. package/esm2020/lib/tool/shared/tool-component.mjs +9 -9
  147. package/esm2020/lib/tool/shared/tool.interface.mjs +2 -2
  148. package/esm2020/lib/tool/shared/tool.service.mjs +43 -43
  149. package/esm2020/lib/tool/shared/toolbox.enums.mjs +7 -7
  150. package/esm2020/lib/tool/shared/toolbox.mjs +179 -179
  151. package/esm2020/lib/tool/tool.module.mjs +32 -32
  152. package/esm2020/lib/tool/toolbox/toolbox.animation.mjs +10 -10
  153. package/esm2020/lib/tool/toolbox/toolbox.component.mjs +255 -255
  154. package/esm2020/lib/tool/toolbox/toolbox.module.mjs +36 -36
  155. package/esm2020/lib/widget/index.mjs +3 -3
  156. package/esm2020/lib/widget/shared/index.mjs +4 -4
  157. package/esm2020/lib/widget/shared/widget.interfaces.mjs +2 -2
  158. package/esm2020/lib/widget/shared/widget.mjs +4 -4
  159. package/esm2020/lib/widget/shared/widget.service.mjs +20 -20
  160. package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +116 -116
  161. package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +32 -32
  162. package/esm2020/lib/widget/widget.module.mjs +32 -32
  163. package/esm2020/lib/workspace/index.mjs +4 -4
  164. package/esm2020/lib/workspace/shared/index.mjs +4 -4
  165. package/esm2020/lib/workspace/shared/store.mjs +40 -40
  166. package/esm2020/lib/workspace/shared/workspace.interfaces.mjs +2 -2
  167. package/esm2020/lib/workspace/shared/workspace.mjs +117 -117
  168. package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +51 -51
  169. package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +32 -32
  170. package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +88 -88
  171. package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +32 -32
  172. package/esm2020/lib/workspace/workspace.module.mjs +27 -27
  173. package/esm2020/public_api.mjs +74 -74
  174. package/fesm2015/igo2-common.mjs +10016 -10016
  175. package/fesm2015/igo2-common.mjs.map +1 -1
  176. package/fesm2020/igo2-common.mjs +9319 -9319
  177. package/fesm2020/igo2-common.mjs.map +1 -1
  178. package/index.d.ts +5 -5
  179. package/lib/action/action.module.d.ts +8 -8
  180. package/lib/action/actionbar/actionbar-item.component.d.ts +78 -78
  181. package/lib/action/actionbar/actionbar.component.d.ts +146 -146
  182. package/lib/action/actionbar/actionbar.module.d.ts +20 -20
  183. package/lib/action/index.d.ts +2 -2
  184. package/lib/action/shared/action.enums.d.ts +5 -5
  185. package/lib/action/shared/action.interfaces.d.ts +17 -17
  186. package/lib/action/shared/index.d.ts +3 -3
  187. package/lib/action/shared/store.d.ts +8 -8
  188. package/lib/backdrop/backdrop.component.d.ts +9 -9
  189. package/lib/backdrop/backdrop.module.d.ts +10 -10
  190. package/lib/backdrop/index.d.ts +1 -1
  191. package/lib/badge-icon/badge-icon.directive.d.ts +36 -36
  192. package/lib/badge-icon/badge-icon.module.d.ts +11 -11
  193. package/lib/badge-icon/index.d.ts +1 -1
  194. package/lib/clickout/clickout.directive.d.ts +10 -10
  195. package/lib/clickout/clickout.module.d.ts +9 -9
  196. package/lib/clickout/index.d.ts +1 -1
  197. package/lib/clone/clone.module.d.ts +9 -9
  198. package/lib/clone/clone.pipe.d.ts +7 -7
  199. package/lib/clone/index.d.ts +1 -1
  200. package/lib/collapsible/collapse.directive.d.ts +19 -19
  201. package/lib/collapsible/collapsible.component.d.ts +13 -13
  202. package/lib/collapsible/collapsible.module.d.ts +12 -12
  203. package/lib/collapsible/index.d.ts +2 -2
  204. package/lib/confirm-dialog/confirm-dialog.component.d.ts +9 -9
  205. package/lib/confirm-dialog/confirm-dialog.module.d.ts +12 -12
  206. package/lib/confirm-dialog/confirm-dialog.service.d.ts +12 -12
  207. package/lib/confirm-dialog/index.d.ts +2 -2
  208. package/lib/context-menu/context-menu.directive.d.ts +21 -21
  209. package/lib/context-menu/context-menu.module.d.ts +10 -10
  210. package/lib/context-menu/index.d.ts +2 -2
  211. package/lib/context-menu/long-press.directive.d.ts +20 -20
  212. package/lib/custom-html/custom-html.component.d.ts +9 -9
  213. package/lib/custom-html/custom-html.module.d.ts +16 -16
  214. package/lib/custom-html/custom-html.pipe.d.ts +10 -10
  215. package/lib/custom-html/index.d.ts +2 -2
  216. package/lib/dom/dom.interfaces.d.ts +10 -10
  217. package/lib/dom/dom.module.d.ts +8 -8
  218. package/lib/dom/dom.service.d.ts +10 -10
  219. package/lib/dom/index.d.ts +2 -2
  220. package/lib/drag-drop/drag-drop.directive.d.ts +14 -14
  221. package/lib/drag-drop/drag-drop.module.d.ts +9 -9
  222. package/lib/drag-drop/index.d.ts +1 -1
  223. package/lib/dynamic-component/dynamic-component.module.d.ts +8 -8
  224. package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +70 -70
  225. package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +11 -11
  226. package/lib/dynamic-component/index.d.ts +2 -2
  227. package/lib/dynamic-component/shared/dynamic-component.d.ts +88 -88
  228. package/lib/dynamic-component/shared/dynamic-component.interfaces.d.ts +3 -3
  229. package/lib/dynamic-component/shared/dynamic-component.service.d.ts +18 -18
  230. package/lib/dynamic-component/shared/index.d.ts +3 -3
  231. package/lib/entity/entity-selector/entity-selector.component.d.ts +92 -92
  232. package/lib/entity/entity-selector/entity-selector.module.d.ts +13 -13
  233. package/lib/entity/entity-table/entity-table-row.directive.d.ts +69 -69
  234. package/lib/entity/entity-table/entity-table.component.d.ts +333 -333
  235. package/lib/entity/entity-table/entity-table.module.d.ts +29 -29
  236. package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +49 -49
  237. package/lib/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +8 -8
  238. package/lib/entity/entity-table-paginator/entity-table-paginator.module.d.ts +11 -11
  239. package/lib/entity/entity.module.d.ts +10 -10
  240. package/lib/entity/index.d.ts +5 -5
  241. package/lib/entity/shared/entity.enums.d.ts +23 -23
  242. package/lib/entity/shared/entity.interfaces.d.ts +114 -114
  243. package/lib/entity/shared/entity.utils.d.ts +49 -49
  244. package/lib/entity/shared/index.d.ts +9 -9
  245. package/lib/entity/shared/state.d.ts +103 -103
  246. package/lib/entity/shared/store.d.ts +176 -176
  247. package/lib/entity/shared/strategies/filter-custom-function.d.ts +51 -51
  248. package/lib/entity/shared/strategies/filter-selection.d.ts +48 -48
  249. package/lib/entity/shared/strategies/index.d.ts +3 -3
  250. package/lib/entity/shared/strategies/strategy.d.ts +56 -56
  251. package/lib/entity/shared/transaction.d.ts +168 -168
  252. package/lib/entity/shared/view.d.ts +193 -193
  253. package/lib/entity/shared/watcher.d.ts +72 -72
  254. package/lib/flexible/flexible.component.d.ts +41 -41
  255. package/lib/flexible/flexible.module.d.ts +9 -9
  256. package/lib/flexible/flexible.type.d.ts +2 -2
  257. package/lib/flexible/index.d.ts +2 -2
  258. package/lib/form/form/form.component.d.ts +53 -53
  259. package/lib/form/form/form.module.d.ts +12 -12
  260. package/lib/form/form-field/form-field-select.component.d.ts +48 -48
  261. package/lib/form/form-field/form-field-text.component.d.ts +41 -41
  262. package/lib/form/form-field/form-field-textarea.component.d.ts +41 -41
  263. package/lib/form/form-field/form-field.component.d.ts +34 -34
  264. package/lib/form/form-field/form-field.module.d.ts +21 -21
  265. package/lib/form/form-field/index.d.ts +4 -4
  266. package/lib/form/form-group/form-group.component.d.ts +49 -49
  267. package/lib/form/form-group/form-group.module.d.ts +14 -14
  268. package/lib/form/form.module.d.ts +13 -13
  269. package/lib/form/index.d.ts +4 -4
  270. package/lib/form/shared/form-field-component.d.ts +1 -1
  271. package/lib/form/shared/form-field.service.d.ts +19 -19
  272. package/lib/form/shared/form.interfaces.d.ts +57 -57
  273. package/lib/form/shared/form.service.d.ts +15 -15
  274. package/lib/form/shared/form.utils.d.ts +11 -11
  275. package/lib/form/shared/index.d.ts +5 -5
  276. package/lib/home-button/home-button.component.d.ts +9 -9
  277. package/lib/home-button/home-button.module.d.ts +15 -15
  278. package/lib/home-button/index.d.ts +1 -1
  279. package/lib/image/image-error.directive.d.ts +11 -11
  280. package/lib/image/image.module.d.ts +10 -10
  281. package/lib/image/index.d.ts +2 -2
  282. package/lib/image/secure-image.pipe.d.ts +13 -13
  283. package/lib/interactive-tour/index.d.ts +4 -4
  284. package/lib/interactive-tour/interactive-tour.component.d.ts +30 -30
  285. package/lib/interactive-tour/interactive-tour.interface.d.ts +32 -32
  286. package/lib/interactive-tour/interactive-tour.loader.d.ts +18 -18
  287. package/lib/interactive-tour/interactive-tour.module.d.ts +12 -12
  288. package/lib/interactive-tour/interactive-tour.service.d.ts +29 -29
  289. package/lib/json-dialog/index.d.ts +2 -2
  290. package/lib/json-dialog/json-dialog.component.d.ts +13 -13
  291. package/lib/json-dialog/json-dialog.module.d.ts +13 -13
  292. package/lib/json-dialog/json-dialog.service.d.ts +10 -10
  293. package/lib/keyvalue/index.d.ts +1 -1
  294. package/lib/keyvalue/keyvalue.module.d.ts +9 -9
  295. package/lib/keyvalue/keyvalue.pipe.d.ts +7 -7
  296. package/lib/list/index.d.ts +2 -2
  297. package/lib/list/list-item.directive.d.ts +43 -43
  298. package/lib/list/list.component.d.ts +51 -51
  299. package/lib/list/list.module.d.ts +14 -14
  300. package/lib/panel/index.d.ts +1 -1
  301. package/lib/panel/panel.component.d.ts +10 -10
  302. package/lib/panel/panel.module.d.ts +8 -8
  303. package/lib/sidenav/index.d.ts +1 -1
  304. package/lib/sidenav/sidenav-shim.directive.d.ts +20 -20
  305. package/lib/sidenav/sidenav.module.d.ts +9 -9
  306. package/lib/spinner/index.d.ts +2 -2
  307. package/lib/spinner/spinner-activity.directive.d.ts +32 -32
  308. package/lib/spinner/spinner.component.d.ts +12 -12
  309. package/lib/spinner/spinner.module.d.ts +10 -10
  310. package/lib/stop-propagation/index.d.ts +2 -2
  311. package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +6 -6
  312. package/lib/stop-propagation/stop-propagation.directive.d.ts +6 -6
  313. package/lib/stop-propagation/stop-propagation.module.d.ts +10 -10
  314. package/lib/table/index.d.ts +5 -5
  315. package/lib/table/table-action-color.enum.d.ts +5 -5
  316. package/lib/table/table-database.d.ts +10 -10
  317. package/lib/table/table-datasource.d.ts +17 -17
  318. package/lib/table/table-model.interface.d.ts +28 -28
  319. package/lib/table/table.component.d.ts +40 -40
  320. package/lib/table/table.module.d.ts +20 -20
  321. package/lib/tool/index.d.ts +2 -2
  322. package/lib/tool/shared/index.d.ts +5 -5
  323. package/lib/tool/shared/tool-component.d.ts +2 -2
  324. package/lib/tool/shared/tool.interface.d.ts +18 -18
  325. package/lib/tool/shared/tool.service.d.ts +30 -30
  326. package/lib/tool/shared/toolbox.d.ts +95 -95
  327. package/lib/tool/shared/toolbox.enums.d.ts +5 -5
  328. package/lib/tool/tool.module.d.ts +10 -10
  329. package/lib/tool/toolbox/toolbox.animation.d.ts +2 -2
  330. package/lib/tool/toolbox/toolbox.component.d.ts +127 -127
  331. package/lib/tool/toolbox/toolbox.module.d.ts +13 -13
  332. package/lib/widget/index.d.ts +2 -2
  333. package/lib/widget/shared/index.d.ts +3 -3
  334. package/lib/widget/shared/widget.d.ts +4 -4
  335. package/lib/widget/shared/widget.interfaces.d.ts +12 -12
  336. package/lib/widget/shared/widget.service.d.ts +10 -10
  337. package/lib/widget/widget-outlet/widget-outlet.component.d.ts +71 -71
  338. package/lib/widget/widget-outlet/widget-outlet.module.d.ts +12 -12
  339. package/lib/widget/widget.module.d.ts +8 -8
  340. package/lib/workspace/index.d.ts +3 -3
  341. package/lib/workspace/shared/index.d.ts +3 -3
  342. package/lib/workspace/shared/store.d.ts +20 -20
  343. package/lib/workspace/shared/workspace.d.ts +108 -108
  344. package/lib/workspace/shared/workspace.interfaces.d.ts +11 -11
  345. package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +39 -39
  346. package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +12 -12
  347. package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +57 -57
  348. package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +12 -12
  349. package/lib/workspace/workspace.module.d.ts +9 -9
  350. package/package.json +3 -3
  351. package/public_api.d.ts +70 -70
  352. package/style/common.theming.scss +12 -12
  353. package/style/partial/action.scss +18 -18
  354. package/style/partial/common.variables.scss +8 -8
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./spinner-activity.directive";
3
- import * as i2 from "./spinner.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/material/progress-spinner";
6
- export declare class IgoSpinnerModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoSpinnerModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoSpinnerModule, [typeof i1.SpinnerActivityDirective, typeof i2.SpinnerComponent], [typeof i3.CommonModule, typeof i4.MatProgressSpinnerModule], [typeof i1.SpinnerActivityDirective, typeof i2.SpinnerComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoSpinnerModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./spinner-activity.directive";
3
+ import * as i2 from "./spinner.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/progress-spinner";
6
+ export declare class IgoSpinnerModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoSpinnerModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoSpinnerModule, [typeof i1.SpinnerActivityDirective, typeof i2.SpinnerComponent], [typeof i3.CommonModule, typeof i4.MatProgressSpinnerModule], [typeof i1.SpinnerActivityDirective, typeof i2.SpinnerComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoSpinnerModule>;
10
+ }
@@ -1,2 +1,2 @@
1
- export * from './stop-propagation.directive';
2
- export * from './stop-drop-propagation.directive';
1
+ export * from './stop-propagation.directive';
2
+ export * from './stop-drop-propagation.directive';
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class StopDropPropagationDirective {
3
- onDrop(event: any): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<StopDropPropagationDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<StopDropPropagationDirective, "[igoStopDropPropagation]", never, {}, {}, never, never, false>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class StopDropPropagationDirective {
3
+ onDrop(event: any): void;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<StopDropPropagationDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StopDropPropagationDirective, "[igoStopDropPropagation]", never, {}, {}, never, never, false>;
6
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class StopPropagationDirective {
3
- onClick(event: any): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[igoStopPropagation]", never, {}, {}, never, never, false>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class StopPropagationDirective {
3
+ onClick(event: any): void;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[igoStopPropagation]", never, {}, {}, never, never, false>;
6
+ }
@@ -1,10 +1,10 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./stop-drop-propagation.directive";
4
- import * as i2 from "./stop-propagation.directive";
5
- export declare class IgoStopPropagationModule {
6
- static forRoot(): ModuleWithProviders<IgoStopPropagationModule>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoStopPropagationModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoStopPropagationModule, [typeof i1.StopDropPropagationDirective, typeof i2.StopPropagationDirective], never, [typeof i1.StopDropPropagationDirective, typeof i2.StopPropagationDirective]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoStopPropagationModule>;
10
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./stop-drop-propagation.directive";
4
+ import * as i2 from "./stop-propagation.directive";
5
+ export declare class IgoStopPropagationModule {
6
+ static forRoot(): ModuleWithProviders<IgoStopPropagationModule>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoStopPropagationModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoStopPropagationModule, [typeof i1.StopDropPropagationDirective, typeof i2.StopPropagationDirective], never, [typeof i1.StopDropPropagationDirective, typeof i2.StopPropagationDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoStopPropagationModule>;
10
+ }
@@ -1,5 +1,5 @@
1
- export * from './table.component';
2
- export * from './table-database';
3
- export * from './table-datasource';
4
- export * from './table-model.interface';
5
- export * from './table-action-color.enum';
1
+ export * from './table.component';
2
+ export * from './table-database';
3
+ export * from './table-datasource';
4
+ export * from './table-model.interface';
5
+ export * from './table-action-color.enum';
@@ -1,5 +1,5 @@
1
- export declare enum TableActionColor {
2
- primary = 0,
3
- accent = 1,
4
- warn = 2
5
- }
1
+ export declare enum TableActionColor {
2
+ primary = 0,
3
+ accent = 1,
4
+ warn = 2
5
+ }
@@ -1,10 +1,10 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- export declare class TableDatabase {
3
- /** Stream that emits whenever the data has been modified. */
4
- dataChange: BehaviorSubject<any[]>;
5
- get data(): any[];
6
- constructor(data?: any);
7
- set(data: any): void;
8
- add(item: any): void;
9
- remove(item: any): void;
10
- }
1
+ import { BehaviorSubject } from 'rxjs';
2
+ export declare class TableDatabase {
3
+ /** Stream that emits whenever the data has been modified. */
4
+ dataChange: BehaviorSubject<any[]>;
5
+ get data(): any[];
6
+ constructor(data?: any);
7
+ set(data: any): void;
8
+ add(item: any): void;
9
+ remove(item: any): void;
10
+ }
@@ -1,17 +1,17 @@
1
- import { DataSource } from '@angular/cdk/table';
2
- import { MatSort } from '@angular/material/sort';
3
- import { Observable } from 'rxjs';
4
- import { TableDatabase, TableModel } from './index';
5
- export declare class TableDataSource extends DataSource<any> {
6
- private _database;
7
- private _model;
8
- private _sort;
9
- get filter(): string;
10
- set filter(filter: string);
11
- private _filterChange;
12
- constructor(_database: TableDatabase, _model: TableModel, _sort: MatSort);
13
- connect(): Observable<any[]>;
14
- disconnect(): void;
15
- getFilteredData(data: any): any[];
16
- getSortedData(data: any): any[];
17
- }
1
+ import { DataSource } from '@angular/cdk/table';
2
+ import { MatSort } from '@angular/material/sort';
3
+ import { Observable } from 'rxjs';
4
+ import { TableDatabase, TableModel } from './index';
5
+ export declare class TableDataSource extends DataSource<any> {
6
+ private _database;
7
+ private _model;
8
+ private _sort;
9
+ get filter(): string;
10
+ set filter(filter: string);
11
+ private _filterChange;
12
+ constructor(_database: TableDatabase, _model: TableModel, _sort: MatSort);
13
+ connect(): Observable<any[]>;
14
+ disconnect(): void;
15
+ getFilteredData(data: any): any[];
16
+ getSortedData(data: any): any[];
17
+ }
@@ -1,28 +1,28 @@
1
- import { TableActionColor } from './table-action-color.enum';
2
- export interface TableColumn {
3
- name: string;
4
- title: string;
5
- sortable?: boolean;
6
- filterable?: boolean;
7
- displayed?: boolean;
8
- html?: boolean;
9
- }
10
- export declare type RowClassFunc = (row: any) => {
11
- [key: string]: string;
12
- };
13
- export declare type CellClassFunc = (row: any, column: TableColumn) => {
14
- [key: string]: string;
15
- };
16
- export declare type ClickAction = (item: any) => void;
17
- export interface TableAction {
18
- icon: string;
19
- color?: TableActionColor;
20
- click: ClickAction;
21
- }
22
- export interface TableModel {
23
- columns: TableColumn[];
24
- actions?: TableAction[];
25
- selectionCheckbox?: boolean;
26
- rowClassFunc?: RowClassFunc;
27
- cellClassFunc?: CellClassFunc;
28
- }
1
+ import { TableActionColor } from './table-action-color.enum';
2
+ export interface TableColumn {
3
+ name: string;
4
+ title: string;
5
+ sortable?: boolean;
6
+ filterable?: boolean;
7
+ displayed?: boolean;
8
+ html?: boolean;
9
+ }
10
+ export declare type RowClassFunc = (row: any) => {
11
+ [key: string]: string;
12
+ };
13
+ export declare type CellClassFunc = (row: any, column: TableColumn) => {
14
+ [key: string]: string;
15
+ };
16
+ export declare type ClickAction = (item: any) => void;
17
+ export interface TableAction {
18
+ icon: string;
19
+ color?: TableActionColor;
20
+ click: ClickAction;
21
+ }
22
+ export interface TableModel {
23
+ columns: TableColumn[];
24
+ actions?: TableAction[];
25
+ selectionCheckbox?: boolean;
26
+ rowClassFunc?: RowClassFunc;
27
+ cellClassFunc?: CellClassFunc;
28
+ }
@@ -1,40 +1,40 @@
1
- import { ElementRef, OnChanges, OnInit, AfterViewInit, EventEmitter } from '@angular/core';
2
- import { MatSort } from '@angular/material/sort';
3
- import { SelectionModel } from '@angular/cdk/collections';
4
- import { TableModel } from './table-model.interface';
5
- import { TableDatabase } from './table-database';
6
- import { TableDataSource } from './table-datasource';
7
- import * as i0 from "@angular/core";
8
- export declare class TableComponent implements OnChanges, OnInit, AfterViewInit {
9
- get database(): TableDatabase;
10
- set database(value: TableDatabase);
11
- private _database;
12
- get model(): TableModel;
13
- set model(value: TableModel);
14
- private _model;
15
- get hasFilterInput(): boolean;
16
- set hasFilterInput(value: boolean);
17
- private _hasFIlterInput;
18
- displayedColumns: any;
19
- dataSource: TableDataSource | null;
20
- selection: SelectionModel<any>;
21
- select: EventEmitter<{
22
- added: any[];
23
- removed: any[];
24
- source: SelectionModel<any>;
25
- }>;
26
- filter: ElementRef;
27
- sort: MatSort;
28
- ngOnInit(): void;
29
- ngAfterViewInit(): void;
30
- ngOnChanges(change: any): void;
31
- getActionColor(colorId: number): string;
32
- getValue(row: any, key: any): any;
33
- /** Whether the number of selected elements matches the total number of rows. */
34
- isAllSelected(): boolean;
35
- /** Selects all rows if they are not all selected; otherwise clear selection. */
36
- masterToggle(): void;
37
- handleClickAction(event: any, action: any, row: any): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "igo-table", never, { "database": "database"; "model": "model"; "hasFilterInput": "hasFilterInput"; }, { "select": "select"; }, never, never, false>;
40
- }
1
+ import { ElementRef, OnChanges, OnInit, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { MatSort } from '@angular/material/sort';
3
+ import { SelectionModel } from '@angular/cdk/collections';
4
+ import { TableModel } from './table-model.interface';
5
+ import { TableDatabase } from './table-database';
6
+ import { TableDataSource } from './table-datasource';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TableComponent implements OnChanges, OnInit, AfterViewInit {
9
+ get database(): TableDatabase;
10
+ set database(value: TableDatabase);
11
+ private _database;
12
+ get model(): TableModel;
13
+ set model(value: TableModel);
14
+ private _model;
15
+ get hasFilterInput(): boolean;
16
+ set hasFilterInput(value: boolean);
17
+ private _hasFIlterInput;
18
+ displayedColumns: any;
19
+ dataSource: TableDataSource | null;
20
+ selection: SelectionModel<any>;
21
+ select: EventEmitter<{
22
+ added: any[];
23
+ removed: any[];
24
+ source: SelectionModel<any>;
25
+ }>;
26
+ filter: ElementRef;
27
+ sort: MatSort;
28
+ ngOnInit(): void;
29
+ ngAfterViewInit(): void;
30
+ ngOnChanges(change: any): void;
31
+ getActionColor(colorId: number): string;
32
+ getValue(row: any, key: any): any;
33
+ /** Whether the number of selected elements matches the total number of rows. */
34
+ isAllSelected(): boolean;
35
+ /** Selects all rows if they are not all selected; otherwise clear selection. */
36
+ masterToggle(): void;
37
+ handleClickAction(event: any, action: any, row: any): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "igo-table", never, { "database": "database"; "model": "model"; "hasFilterInput": "hasFilterInput"; }, { "select": "select"; }, never, never, false>;
40
+ }
@@ -1,20 +1,20 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./table.component";
4
- import * as i2 from "@angular/common";
5
- import * as i3 from "@angular/forms";
6
- import * as i4 from "@angular/cdk/table";
7
- import * as i5 from "@angular/material/icon";
8
- import * as i6 from "@angular/material/button";
9
- import * as i7 from "@angular/material/table";
10
- import * as i8 from "@angular/material/form-field";
11
- import * as i9 from "@angular/material/input";
12
- import * as i10 from "@angular/material/sort";
13
- import * as i11 from "@angular/material/checkbox";
14
- import * as i12 from "@igo2/core";
15
- export declare class IgoTableModule {
16
- static forRoot(): ModuleWithProviders<IgoTableModule>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoTableModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoTableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CdkTableModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.MatTableModule, typeof i8.MatFormFieldModule, typeof i9.MatInputModule, typeof i10.MatSortModule, typeof i11.MatCheckboxModule, typeof i12.IgoLanguageModule], [typeof i1.TableComponent]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoTableModule>;
20
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./table.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "@angular/forms";
6
+ import * as i4 from "@angular/cdk/table";
7
+ import * as i5 from "@angular/material/icon";
8
+ import * as i6 from "@angular/material/button";
9
+ import * as i7 from "@angular/material/table";
10
+ import * as i8 from "@angular/material/form-field";
11
+ import * as i9 from "@angular/material/input";
12
+ import * as i10 from "@angular/material/sort";
13
+ import * as i11 from "@angular/material/checkbox";
14
+ import * as i12 from "@igo2/core";
15
+ export declare class IgoTableModule {
16
+ static forRoot(): ModuleWithProviders<IgoTableModule>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoTableModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoTableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CdkTableModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.MatTableModule, typeof i8.MatFormFieldModule, typeof i9.MatInputModule, typeof i10.MatSortModule, typeof i11.MatCheckboxModule, typeof i12.IgoLanguageModule], [typeof i1.TableComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoTableModule>;
20
+ }
@@ -1,2 +1,2 @@
1
- export * from './shared';
2
- export * from './toolbox/toolbox.component';
1
+ export * from './shared';
2
+ export * from './toolbox/toolbox.component';
@@ -1,5 +1,5 @@
1
- export * from './tool.interface';
2
- export * from './tool.service';
3
- export * from './tool-component';
4
- export * from './toolbox.enums';
5
- export * from './toolbox';
1
+ export * from './tool.interface';
2
+ export * from './tool.service';
3
+ export * from './tool-component';
4
+ export * from './toolbox.enums';
5
+ export * from './toolbox';
@@ -1,2 +1,2 @@
1
- import { Tool } from './tool.interface';
2
- export declare function ToolComponent(tool: Partial<Tool>): (cls: any) => any;
1
+ import { Tool } from './tool.interface';
2
+ export declare function ToolComponent(tool: Partial<Tool>): (cls: any) => any;
@@ -1,18 +1,18 @@
1
- export interface Tool {
2
- name: string;
3
- component: any;
4
- title?: string;
5
- icon?: string;
6
- iconImage?: string;
7
- tooltip?: string;
8
- global?: boolean;
9
- options?: {
10
- [key: string]: any;
11
- };
12
- parent?: string;
13
- children?: string[];
14
- id?: string;
15
- }
16
- export interface ToolboxOptions {
17
- toolbar?: string[];
18
- }
1
+ export interface Tool {
2
+ name: string;
3
+ component: any;
4
+ title?: string;
5
+ icon?: string;
6
+ iconImage?: string;
7
+ tooltip?: string;
8
+ global?: boolean;
9
+ options?: {
10
+ [key: string]: any;
11
+ };
12
+ parent?: string;
13
+ children?: string[];
14
+ id?: string;
15
+ }
16
+ export interface ToolboxOptions {
17
+ toolbar?: string[];
18
+ }
@@ -1,30 +1,30 @@
1
- import { Tool } from './tool.interface';
2
- import { Toolbox } from './toolbox';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Service where runtime tool configurations are registered
6
- */
7
- export declare class ToolService {
8
- static tools: {
9
- [key: string]: Tool;
10
- };
11
- /**
12
- * Toolbox that holds main tools
13
- */
14
- toolbox: Toolbox;
15
- static register(tool: Tool): void;
16
- constructor();
17
- /**
18
- * Return a tool
19
- * @param name Tool name
20
- * @returns tool Tool
21
- */
22
- getTool(name: string): Tool;
23
- /**
24
- * Return all tools
25
- * @returns tTols
26
- */
27
- getTools(): Tool[];
28
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolService, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<ToolService>;
30
- }
1
+ import { Tool } from './tool.interface';
2
+ import { Toolbox } from './toolbox';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Service where runtime tool configurations are registered
6
+ */
7
+ export declare class ToolService {
8
+ static tools: {
9
+ [key: string]: Tool;
10
+ };
11
+ /**
12
+ * Toolbox that holds main tools
13
+ */
14
+ toolbox: Toolbox;
15
+ static register(tool: Tool): void;
16
+ constructor();
17
+ /**
18
+ * Return a tool
19
+ * @param name Tool name
20
+ * @returns tool Tool
21
+ */
22
+ getTool(name: string): Tool;
23
+ /**
24
+ * Return all tools
25
+ * @returns tTols
26
+ */
27
+ getTools(): Tool[];
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToolService>;
30
+ }
@@ -1,95 +1,95 @@
1
- import { Tool, ToolboxOptions } from './tool.interface';
2
- import { BehaviorSubject } from 'rxjs';
3
- /**
4
- * Service where all available tools and their component are registered.
5
- */
6
- export declare class Toolbox {
7
- private options;
8
- /**
9
- * Observable of the active tool
10
- */
11
- activeTool$: BehaviorSubject<Tool>;
12
- /**
13
- * Ordered list of tool names to display in a toolbar
14
- */
15
- toolbar$: BehaviorSubject<string[]>;
16
- /**
17
- * Observable of the active tool
18
- */
19
- private activeTool$$;
20
- /**
21
- * Active tool history. Useful for activating the previous tool.
22
- */
23
- private activeToolHistory;
24
- /**
25
- * Tool store
26
- */
27
- private store;
28
- get tools$(): BehaviorSubject<Tool[]>;
29
- constructor(options?: ToolboxOptions);
30
- /**
31
- * Destroy the toolbox
32
- */
33
- destroy(): void;
34
- /**
35
- * Return a tool
36
- * @param name Tool name
37
- * @returns tool Tool
38
- */
39
- getTool(name: string): Tool;
40
- /**
41
- * Return all tools
42
- * @returns Array of tools
43
- */
44
- getTools(): Tool[];
45
- /**
46
- * Set tool configurations
47
- * @param tools Tools
48
- */
49
- setTools(tools: Tool[]): void;
50
- /**
51
- * Get toolbar
52
- * @returns Toolbar value
53
- */
54
- getToolbar(): string[];
55
- /**
56
- * Set toolbar
57
- * @param toolbar A list of tool names
58
- */
59
- setToolbar(toolbar: string[]): void;
60
- /**
61
- * Activate a tool (and deactivate other tools)
62
- * @param name Tool name
63
- * @param options Tool options
64
- */
65
- activateTool(name: string, options?: {
66
- [key: string]: any;
67
- }): void;
68
- /**
69
- * Activate the previous tool, if any
70
- */
71
- activatePreviousTool(): void;
72
- /**
73
- * Activate the tool below, if any
74
- */
75
- /**
76
- * Activate the tool above, if any
77
- */
78
- /**
79
- * Deactivate the active tool
80
- */
81
- deactivateTool(): void;
82
- /**
83
- * Initialize the tool store and start observing the active tool
84
- */
85
- private initStore;
86
- /**
87
- * Set the active tool and update the tool history
88
- * @param tool Tool
89
- */
90
- private setActiveTool;
91
- /**
92
- * Clear the tool history
93
- */
94
- private clearActiveToolHistory;
95
- }
1
+ import { Tool, ToolboxOptions } from './tool.interface';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ /**
4
+ * Service where all available tools and their component are registered.
5
+ */
6
+ export declare class Toolbox {
7
+ private options;
8
+ /**
9
+ * Observable of the active tool
10
+ */
11
+ activeTool$: BehaviorSubject<Tool>;
12
+ /**
13
+ * Ordered list of tool names to display in a toolbar
14
+ */
15
+ toolbar$: BehaviorSubject<string[]>;
16
+ /**
17
+ * Observable of the active tool
18
+ */
19
+ private activeTool$$;
20
+ /**
21
+ * Active tool history. Useful for activating the previous tool.
22
+ */
23
+ private activeToolHistory;
24
+ /**
25
+ * Tool store
26
+ */
27
+ private store;
28
+ get tools$(): BehaviorSubject<Tool[]>;
29
+ constructor(options?: ToolboxOptions);
30
+ /**
31
+ * Destroy the toolbox
32
+ */
33
+ destroy(): void;
34
+ /**
35
+ * Return a tool
36
+ * @param name Tool name
37
+ * @returns tool Tool
38
+ */
39
+ getTool(name: string): Tool;
40
+ /**
41
+ * Return all tools
42
+ * @returns Array of tools
43
+ */
44
+ getTools(): Tool[];
45
+ /**
46
+ * Set tool configurations
47
+ * @param tools Tools
48
+ */
49
+ setTools(tools: Tool[]): void;
50
+ /**
51
+ * Get toolbar
52
+ * @returns Toolbar value
53
+ */
54
+ getToolbar(): string[];
55
+ /**
56
+ * Set toolbar
57
+ * @param toolbar A list of tool names
58
+ */
59
+ setToolbar(toolbar: string[]): void;
60
+ /**
61
+ * Activate a tool (and deactivate other tools)
62
+ * @param name Tool name
63
+ * @param options Tool options
64
+ */
65
+ activateTool(name: string, options?: {
66
+ [key: string]: any;
67
+ }): void;
68
+ /**
69
+ * Activate the previous tool, if any
70
+ */
71
+ activatePreviousTool(): void;
72
+ /**
73
+ * Activate the tool below, if any
74
+ */
75
+ /**
76
+ * Activate the tool above, if any
77
+ */
78
+ /**
79
+ * Deactivate the active tool
80
+ */
81
+ deactivateTool(): void;
82
+ /**
83
+ * Initialize the tool store and start observing the active tool
84
+ */
85
+ private initStore;
86
+ /**
87
+ * Set the active tool and update the tool history
88
+ * @param tool Tool
89
+ */
90
+ private setActiveTool;
91
+ /**
92
+ * Clear the tool history
93
+ */
94
+ private clearActiveToolHistory;
95
+ }