@igo2/common 19.0.3 → 20.0.0-next.2

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 (325) hide show
  1. package/action/index.d.ts +194 -3
  2. package/backdrop/index.d.ts +20 -3
  3. package/badge/index.d.ts +44 -3
  4. package/clickout/index.d.ts +20 -3
  5. package/clone/index.d.ts +18 -3
  6. package/collapsible/index.d.ts +43 -3
  7. package/color/index.d.ts +38 -3
  8. package/confirm-dialog/index.d.ts +39 -5
  9. package/context-menu/index.d.ts +50 -3
  10. package/custom-html/index.d.ts +30 -3
  11. package/dom/index.d.ts +34 -3
  12. package/drag-drop/index.d.ts +124 -3
  13. package/dynamic-component/index.d.ts +186 -3
  14. package/entity/index.d.ts +1532 -3
  15. package/environment/index.d.ts +15 -5
  16. package/fesm2022/igo2-common-action.mjs +28 -38
  17. package/fesm2022/igo2-common-action.mjs.map +1 -1
  18. package/fesm2022/igo2-common-backdrop.mjs +7 -7
  19. package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
  20. package/fesm2022/igo2-common-badge.mjs +10 -13
  21. package/fesm2022/igo2-common-badge.mjs.map +1 -1
  22. package/fesm2022/igo2-common-clickout.mjs +10 -13
  23. package/fesm2022/igo2-common-clickout.mjs.map +1 -1
  24. package/fesm2022/igo2-common-clone.mjs +7 -7
  25. package/fesm2022/igo2-common-clone.mjs.map +1 -1
  26. package/fesm2022/igo2-common-collapsible.mjs +14 -18
  27. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  28. package/fesm2022/igo2-common-color.mjs +9 -9
  29. package/fesm2022/igo2-common-color.mjs.map +1 -1
  30. package/fesm2022/igo2-common-confirm-dialog.mjs +19 -26
  31. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  32. package/fesm2022/igo2-common-context-menu.mjs +16 -21
  33. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  34. package/fesm2022/igo2-common-custom-html.mjs +14 -17
  35. package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
  36. package/fesm2022/igo2-common-dom.mjs +11 -14
  37. package/fesm2022/igo2-common-dom.mjs.map +1 -1
  38. package/fesm2022/igo2-common-drag-drop.mjs +15 -17
  39. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  40. package/fesm2022/igo2-common-dynamic-component.mjs +20 -27
  41. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  42. package/fesm2022/igo2-common-entity.mjs +69 -108
  43. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  44. package/fesm2022/igo2-common-flexible.mjs +13 -18
  45. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  46. package/fesm2022/igo2-common-form.mjs +77 -112
  47. package/fesm2022/igo2-common-form.mjs.map +1 -1
  48. package/fesm2022/igo2-common-home-button.mjs +7 -7
  49. package/fesm2022/igo2-common-home-button.mjs.map +1 -1
  50. package/fesm2022/igo2-common-icon.mjs +14 -21
  51. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  52. package/fesm2022/igo2-common-image.mjs +53 -57
  53. package/fesm2022/igo2-common-image.mjs.map +1 -1
  54. package/fesm2022/igo2-common-interactive-tour.mjs +43 -56
  55. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  56. package/fesm2022/igo2-common-json-dialog.mjs +19 -28
  57. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  58. package/fesm2022/igo2-common-keyvalue.mjs +7 -7
  59. package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
  60. package/fesm2022/igo2-common-list.mjs +16 -23
  61. package/fesm2022/igo2-common-list.mjs.map +1 -1
  62. package/fesm2022/igo2-common-panel.mjs +9 -9
  63. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  64. package/fesm2022/igo2-common-resizable-bar.mjs +6 -6
  65. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
  66. package/fesm2022/igo2-common-select-value-dialog.mjs +28 -44
  67. package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
  68. package/fesm2022/igo2-common-sidenav.mjs +10 -16
  69. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  70. package/fesm2022/igo2-common-spinner.mjs +15 -21
  71. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  72. package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
  73. package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -1
  74. package/fesm2022/igo2-common-table.mjs +9 -11
  75. package/fesm2022/igo2-common-table.mjs.map +1 -1
  76. package/fesm2022/igo2-common-tool.mjs +16 -22
  77. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  78. package/fesm2022/igo2-common-widget.mjs +19 -24
  79. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  80. package/fesm2022/igo2-common-workspace.mjs +20 -20
  81. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  82. package/flexible/index.d.ts +54 -3
  83. package/form/index.d.ts +429 -3
  84. package/home-button/index.d.ts +18 -3
  85. package/icon/index.d.ts +42 -3
  86. package/image/index.d.ts +35 -3
  87. package/index.d.ts +16 -5
  88. package/interactive-tour/index.d.ts +116 -5
  89. package/json-dialog/index.d.ts +34 -5
  90. package/keyvalue/index.d.ts +18 -3
  91. package/list/index.d.ts +102 -3
  92. package/package.json +10 -13
  93. package/panel/index.d.ts +20 -3
  94. package/resizable-bar/index.d.ts +37 -5
  95. package/select-value-dialog/index.d.ts +65 -5
  96. package/sidenav/index.d.ts +29 -3
  97. package/spinner/index.d.ts +51 -3
  98. package/src/style/partial/common-utils.scss +1 -1
  99. package/stop-propagation/index.d.ts +26 -3
  100. package/table/index.d.ts +105 -3
  101. package/tool/index.d.ts +289 -3
  102. package/widget/index.d.ts +105 -3
  103. package/workspace/index.d.ts +237 -3
  104. package/action/action.module.d.ts +0 -10
  105. package/action/actionbar/actionbar-item.component.d.ts +0 -73
  106. package/action/actionbar/actionbar.component.d.ts +0 -148
  107. package/action/actionbar/actionbar.module.d.ts +0 -10
  108. package/action/public_api.d.ts +0 -4
  109. package/action/shared/action.enums.d.ts +0 -5
  110. package/action/shared/action.interfaces.d.ts +0 -16
  111. package/action/shared/index.d.ts +0 -3
  112. package/action/shared/store.d.ts +0 -8
  113. package/action/src/action.theming.scss +0 -9
  114. package/action/src/actionbar/actionbar-item.theming.scss +0 -20
  115. package/backdrop/backdrop.component.d.ts +0 -8
  116. package/backdrop/backdrop.module.d.ts +0 -12
  117. package/backdrop/public_api.d.ts +0 -2
  118. package/badge/badge-icon.directive.d.ts +0 -34
  119. package/badge/badge-icon.module.d.ts +0 -12
  120. package/badge/public_api.d.ts +0 -2
  121. package/clickout/clickout.directive.d.ts +0 -10
  122. package/clickout/clickout.module.d.ts +0 -12
  123. package/clickout/public_api.d.ts +0 -2
  124. package/clone/clone.module.d.ts +0 -12
  125. package/clone/clone.pipe.d.ts +0 -7
  126. package/clone/public_api.d.ts +0 -2
  127. package/collapsible/collapse.directive.d.ts +0 -19
  128. package/collapsible/collapsible.component.d.ts +0 -13
  129. package/collapsible/collapsible.module.d.ts +0 -13
  130. package/collapsible/public_api.d.ts +0 -6
  131. package/color/color-picker-form-field/color-picker-form-field.component.d.ts +0 -29
  132. package/color/color-picker-form-field/color-picker-form-field.module.d.ts +0 -10
  133. package/color/color-picker-form-field/index.d.ts +0 -2
  134. package/color/public_api.d.ts +0 -1
  135. package/confirm-dialog/confirm-dialog.component.d.ts +0 -12
  136. package/confirm-dialog/confirm-dialog.interface.d.ts +0 -4
  137. package/confirm-dialog/confirm-dialog.module.d.ts +0 -12
  138. package/confirm-dialog/confirm-dialog.service.d.ts +0 -11
  139. package/confirm-dialog/public_api.d.ts +0 -4
  140. package/context-menu/context-menu.directive.d.ts +0 -21
  141. package/context-menu/context-menu.module.d.ts +0 -13
  142. package/context-menu/long-press.directive.d.ts +0 -19
  143. package/context-menu/public_api.d.ts +0 -6
  144. package/custom-html/custom-html.component.d.ts +0 -8
  145. package/custom-html/custom-html.module.d.ts +0 -13
  146. package/custom-html/custom-html.pipe.d.ts +0 -10
  147. package/custom-html/public_api.d.ts +0 -6
  148. package/dom/dom.interfaces.d.ts +0 -10
  149. package/dom/dom.module.d.ts +0 -14
  150. package/dom/dom.service.d.ts +0 -10
  151. package/dom/public_api.d.ts +0 -3
  152. package/drag-drop/drag-drop.directive.d.ts +0 -14
  153. package/drag-drop/drag-drop.module.d.ts +0 -13
  154. package/drag-drop/public_api.d.ts +0 -3
  155. package/drag-drop/tree-drag-drop/index.d.ts +0 -2
  156. package/drag-drop/tree-drag-drop/tree-drag-drop.directive.d.ts +0 -85
  157. package/drag-drop/tree-drag-drop/tree-drag-drop.interface.d.ts +0 -15
  158. package/dynamic-component/dynamic-component.module.d.ts +0 -10
  159. package/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +0 -66
  160. package/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +0 -10
  161. package/dynamic-component/public_api.d.ts +0 -4
  162. package/dynamic-component/shared/dynamic-component.d.ts +0 -84
  163. package/dynamic-component/shared/dynamic-component.interfaces.d.ts +0 -3
  164. package/dynamic-component/shared/dynamic-component.service.d.ts +0 -18
  165. package/dynamic-component/shared/index.d.ts +0 -3
  166. package/entity/entity-selector/entity-selector.component.d.ts +0 -93
  167. package/entity/entity-selector/entity-selector.module.d.ts +0 -10
  168. package/entity/entity-selector/index.d.ts +0 -2
  169. package/entity/entity-table/entity-table-row.directive.d.ts +0 -69
  170. package/entity/entity-table/entity-table.component.d.ts +0 -330
  171. package/entity/entity-table/entity-table.module.d.ts +0 -10
  172. package/entity/entity-table/index.d.ts +0 -2
  173. package/entity/entity-table-paginator/entity-table-paginator.component.d.ts +0 -50
  174. package/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +0 -8
  175. package/entity/entity-table-paginator/entity-table-paginator.module.d.ts +0 -10
  176. package/entity/entity-table-paginator/index.d.ts +0 -3
  177. package/entity/entity.module.d.ts +0 -16
  178. package/entity/public_api.d.ts +0 -5
  179. package/entity/shared/entity.enums.d.ts +0 -23
  180. package/entity/shared/entity.interfaces.d.ts +0 -92
  181. package/entity/shared/entity.utils.d.ts +0 -49
  182. package/entity/shared/index.d.ts +0 -9
  183. package/entity/shared/state.d.ts +0 -108
  184. package/entity/shared/store.d.ts +0 -180
  185. package/entity/shared/strategies/filter-custom-function.d.ts +0 -51
  186. package/entity/shared/strategies/filter-selection.d.ts +0 -48
  187. package/entity/shared/strategies/index.d.ts +0 -3
  188. package/entity/shared/strategies/strategy.d.ts +0 -56
  189. package/entity/shared/transaction.d.ts +0 -171
  190. package/entity/shared/view.d.ts +0 -193
  191. package/entity/shared/watcher.d.ts +0 -72
  192. package/entity/src/entity-selector/entity-selector.theming.scss +0 -21
  193. package/entity/src/entity-table/entity-table.theming.scss +0 -21
  194. package/entity/src/entity.theming.scss +0 -12
  195. package/environment/environment.interface.d.ts +0 -13
  196. package/environment/public_api.d.ts +0 -1
  197. package/flexible/flexible.component.d.ts +0 -42
  198. package/flexible/flexible.module.d.ts +0 -12
  199. package/flexible/flexible.type.d.ts +0 -2
  200. package/flexible/public_api.d.ts +0 -3
  201. package/form/form/form.component.d.ts +0 -46
  202. package/form/form/form.module.d.ts +0 -10
  203. package/form/form/index.d.ts +0 -2
  204. package/form/form-dialog/form-dialog.component.d.ts +0 -19
  205. package/form/form-dialog/form-dialog.interface.d.ts +0 -16
  206. package/form/form-dialog/form-dialog.module.d.ts +0 -16
  207. package/form/form-dialog/form-dialog.service.d.ts +0 -11
  208. package/form/form-dialog/index.d.ts +0 -4
  209. package/form/form-field/form-field-select.component.d.ts +0 -50
  210. package/form/form-field/form-field-text.component.d.ts +0 -49
  211. package/form/form-field/form-field-textarea.component.d.ts +0 -39
  212. package/form/form-field/form-field.component.d.ts +0 -29
  213. package/form/form-field/form-field.directive.d.ts +0 -5
  214. package/form/form-field/form-field.module.d.ts +0 -13
  215. package/form/form-field/index.d.ts +0 -6
  216. package/form/form-group/form-group.component.d.ts +0 -44
  217. package/form/form-group/form-group.module.d.ts +0 -10
  218. package/form/form-group/index.d.ts +0 -2
  219. package/form/form.module.d.ts +0 -18
  220. package/form/public_api.d.ts +0 -6
  221. package/form/shared/form-field-component.d.ts +0 -1
  222. package/form/shared/form-field.service.d.ts +0 -16
  223. package/form/shared/form.interfaces.d.ts +0 -60
  224. package/form/shared/form.service.d.ts +0 -15
  225. package/form/shared/form.utils.d.ts +0 -7
  226. package/form/shared/index.d.ts +0 -5
  227. package/home-button/home-button.component.d.ts +0 -8
  228. package/home-button/home-button.module.d.ts +0 -10
  229. package/home-button/public_api.d.ts +0 -2
  230. package/icon/icon/icon.component.d.ts +0 -15
  231. package/icon/icon.provider.d.ts +0 -4
  232. package/icon/public_api.d.ts +0 -3
  233. package/icon/shared/icon.interface.d.ts +0 -4
  234. package/icon/shared/icon.service.d.ts +0 -12
  235. package/icon/shared/icons.d.ts +0 -11
  236. package/icon/shared/index.d.ts +0 -3
  237. package/image/image-error.directive.d.ts +0 -11
  238. package/image/image.module.d.ts +0 -13
  239. package/image/public_api.d.ts +0 -6
  240. package/image/secure-image.pipe.d.ts +0 -13
  241. package/interactive-tour/interactive-tour.component.d.ts +0 -33
  242. package/interactive-tour/interactive-tour.interface.d.ts +0 -35
  243. package/interactive-tour/interactive-tour.loader.d.ts +0 -18
  244. package/interactive-tour/interactive-tour.module.d.ts +0 -7
  245. package/interactive-tour/interactive-tour.service.d.ts +0 -30
  246. package/interactive-tour/public_api.d.ts +0 -5
  247. package/json-dialog/json-dialog.component.d.ts +0 -13
  248. package/json-dialog/json-dialog.module.d.ts +0 -12
  249. package/json-dialog/json-dialog.service.d.ts +0 -10
  250. package/json-dialog/public_api.d.ts +0 -3
  251. package/keyvalue/keyvalue.module.d.ts +0 -12
  252. package/keyvalue/keyvalue.pipe.d.ts +0 -7
  253. package/keyvalue/public_api.d.ts +0 -2
  254. package/list/list-item.directive.d.ts +0 -43
  255. package/list/list.component.d.ts +0 -51
  256. package/list/list.module.d.ts +0 -13
  257. package/list/public_api.d.ts +0 -6
  258. package/panel/panel.component.d.ts +0 -10
  259. package/panel/panel.module.d.ts +0 -10
  260. package/panel/public_api.d.ts +0 -2
  261. package/panel/src/panel.theming.scss +0 -20
  262. package/public_api.d.ts +0 -16
  263. package/resizable-bar/public_api.d.ts +0 -2
  264. package/resizable-bar/resizable-bar.component.d.ts +0 -23
  265. package/resizable-bar/shared/resize.directive.d.ts +0 -12
  266. package/select-value-dialog/public_api.d.ts +0 -5
  267. package/select-value-dialog/select-value-check-radio-dialog.component.d.ts +0 -25
  268. package/select-value-dialog/select-value-dialog.enums.d.ts +0 -4
  269. package/select-value-dialog/select-value-dialog.interface.d.ts +0 -16
  270. package/select-value-dialog/select-value-dialog.module.d.ts +0 -12
  271. package/select-value-dialog/select-value-dialog.service.d.ts +0 -11
  272. package/sidenav/public_api.d.ts +0 -2
  273. package/sidenav/sidenav-shim.directive.d.ts +0 -20
  274. package/sidenav/sidenav.module.d.ts +0 -12
  275. package/spinner/public_api.d.ts +0 -3
  276. package/spinner/spinner-activity.directive.d.ts +0 -32
  277. package/spinner/spinner.component.d.ts +0 -11
  278. package/spinner/spinner.module.d.ts +0 -14
  279. package/src/common.theme.scss +0 -18
  280. package/stop-propagation/public_api.d.ts +0 -6
  281. package/stop-propagation/stop-drop-propagation.directive.d.ts +0 -6
  282. package/stop-propagation/stop-propagation.directive.d.ts +0 -6
  283. package/stop-propagation/stop-propagation.module.d.ts +0 -13
  284. package/table/public_api.d.ts +0 -6
  285. package/table/table-action-color.enum.d.ts +0 -5
  286. package/table/table-database.d.ts +0 -10
  287. package/table/table-datasource.d.ts +0 -18
  288. package/table/table-model.interface.d.ts +0 -24
  289. package/table/table.component.d.ts +0 -40
  290. package/table/table.module.d.ts +0 -12
  291. package/tool/public_api.d.ts +0 -3
  292. package/tool/shared/index.d.ts +0 -5
  293. package/tool/shared/tool-component.d.ts +0 -2
  294. package/tool/shared/tool.interface.d.ts +0 -16
  295. package/tool/shared/tool.service.d.ts +0 -28
  296. package/tool/shared/toolbox.d.ts +0 -96
  297. package/tool/shared/toolbox.enums.d.ts +0 -1
  298. package/tool/src/tool.theming.scss +0 -5
  299. package/tool/src/toolbox/toolbox.theming.scss +0 -22
  300. package/tool/tool.module.d.ts +0 -15
  301. package/tool/toolbox/index.d.ts +0 -2
  302. package/tool/toolbox/toolbox.animation.d.ts +0 -2
  303. package/tool/toolbox/toolbox.component.d.ts +0 -126
  304. package/tool/toolbox/toolbox.module.d.ts +0 -10
  305. package/widget/public_api.d.ts +0 -3
  306. package/widget/shared/index.d.ts +0 -3
  307. package/widget/shared/widget.d.ts +0 -4
  308. package/widget/shared/widget.interfaces.d.ts +0 -12
  309. package/widget/shared/widget.service.d.ts +0 -10
  310. package/widget/widget-outlet/index.d.ts +0 -2
  311. package/widget/widget-outlet/widget-outlet.component.d.ts +0 -64
  312. package/widget/widget-outlet/widget-outlet.module.d.ts +0 -10
  313. package/widget/widget.module.d.ts +0 -10
  314. package/workspace/public_api.d.ts +0 -4
  315. package/workspace/shared/index.d.ts +0 -3
  316. package/workspace/shared/store.d.ts +0 -20
  317. package/workspace/shared/workspace.d.ts +0 -98
  318. package/workspace/shared/workspace.interfaces.d.ts +0 -9
  319. package/workspace/workspace-selector/index.d.ts +0 -2
  320. package/workspace/workspace-selector/workspace-selector.component.d.ts +0 -38
  321. package/workspace/workspace-selector/workspace-selector.module.d.ts +0 -10
  322. package/workspace/workspace-widget-outlet/index.d.ts +0 -2
  323. package/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +0 -52
  324. package/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +0 -10
  325. package/workspace/workspace.module.d.ts +0 -14
@@ -1,13 +0,0 @@
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
- /**
6
- * @deprecated import the components/directives directly or STOP_PROPAGATION_DIRECTIVES for the set
7
- */
8
- export declare class IgoStopPropagationModule {
9
- static forRoot(): ModuleWithProviders<IgoStopPropagationModule>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoStopPropagationModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoStopPropagationModule, never, [typeof i1.StopDropPropagationDirective, typeof i2.StopPropagationDirective], [typeof i1.StopDropPropagationDirective, typeof i2.StopPropagationDirective]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoStopPropagationModule>;
13
- }
@@ -1,6 +0,0 @@
1
- export * from './table.module';
2
- export * from './table.component';
3
- export * from './table-database';
4
- export * from './table-datasource';
5
- export * from './table-model.interface';
6
- export * from './table-action-color.enum';
@@ -1,5 +0,0 @@
1
- export declare enum TableActionColor {
2
- primary = 0,
3
- accent = 1,
4
- warn = 2
5
- }
@@ -1,10 +0,0 @@
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,18 +0,0 @@
1
- import { DataSource } from '@angular/cdk/table';
2
- import { MatSort } from '@angular/material/sort';
3
- import { Observable } from 'rxjs';
4
- import { TableDatabase } from './table-database';
5
- import { TableModel } from './table-model.interface';
6
- export declare class TableDataSource extends DataSource<any> {
7
- private _database;
8
- private _model;
9
- private _sort;
10
- get filter(): string;
11
- set filter(filter: string);
12
- private _filterChange;
13
- constructor(_database: TableDatabase, _model: TableModel, _sort: MatSort);
14
- connect(): Observable<any[]>;
15
- disconnect(): void;
16
- getFilteredData(data: any): any[];
17
- getSortedData(data: any): any[];
18
- }
@@ -1,24 +0,0 @@
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 type RowClassFunc = (row: any) => Record<string, string>;
11
- export type CellClassFunc = (row: any, column: TableColumn) => Record<string, string>;
12
- export type ClickAction = (item: any) => void;
13
- export interface TableAction {
14
- icon: string;
15
- color?: TableActionColor;
16
- click: ClickAction;
17
- }
18
- export interface TableModel {
19
- columns: TableColumn[];
20
- actions?: TableAction[];
21
- selectionCheckbox?: boolean;
22
- rowClassFunc?: RowClassFunc;
23
- cellClassFunc?: CellClassFunc;
24
- }
@@ -1,40 +0,0 @@
1
- import { SelectionModel } from '@angular/cdk/collections';
2
- import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
3
- import { MatSort } from '@angular/material/sort';
4
- import { TableDatabase } from './table-database';
5
- import { TableDataSource } from './table-datasource';
6
- import { TableModel } from './table-model.interface';
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": { "alias": "database"; "required": false; }; "model": { "alias": "model"; "required": false; }; "hasFilterInput": { "alias": "hasFilterInput"; "required": false; }; }, { "select": "select"; }, never, never, true, never>;
40
- }
@@ -1,12 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./table.component";
4
- /**
5
- * @deprecated import the TableComponent directly
6
- */
7
- export declare class IgoTableModule {
8
- static forRoot(): ModuleWithProviders<IgoTableModule>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoTableModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoTableModule, never, [typeof i1.TableComponent], [typeof i1.TableComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoTableModule>;
12
- }
@@ -1,3 +0,0 @@
1
- export * from './shared';
2
- export * from './tool.module';
3
- export * from './toolbox';
@@ -1,5 +0,0 @@
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 +0,0 @@
1
- import { Tool } from './tool.interface';
2
- export declare function ToolComponent(tool: Partial<Tool>): (cls: any) => any;
@@ -1,16 +0,0 @@
1
- import { IconSvg } from '@igo2/common/icon';
2
- export interface Tool {
3
- name: string;
4
- component: any;
5
- title?: string;
6
- icon?: string | IconSvg;
7
- tooltip?: string;
8
- global?: boolean;
9
- options?: Record<string, any>;
10
- parent?: string;
11
- children?: string[];
12
- id?: string;
13
- }
14
- export interface ToolboxOptions {
15
- toolbar?: string[];
16
- }
@@ -1,28 +0,0 @@
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: Record<string, Tool>;
9
- /**
10
- * Toolbox that holds main tools
11
- */
12
- toolbox: Toolbox;
13
- static register(tool: Tool): void;
14
- constructor();
15
- /**
16
- * Return a tool
17
- * @param name Tool name
18
- * @returns tool Tool
19
- */
20
- getTool(name: string): Tool;
21
- /**
22
- * Return all tools
23
- * @returns tTols
24
- */
25
- getTools(): Tool[];
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolService, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<ToolService>;
28
- }
@@ -1,96 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { Tool, ToolboxOptions } from './tool.interface';
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
- private previousToolName;
25
- private currentToolName;
26
- /**
27
- * Tool store
28
- */
29
- private store;
30
- get tools$(): BehaviorSubject<Tool[]>;
31
- constructor(options?: ToolboxOptions);
32
- /**
33
- * Destroy the toolbox
34
- */
35
- destroy(): void;
36
- /**
37
- * Return a tool
38
- * @param name Tool name
39
- * @returns tool Tool
40
- */
41
- getTool(name: string): Tool;
42
- /**
43
- * Return all tools
44
- * @returns Array of tools
45
- */
46
- getTools(): Tool[];
47
- /**
48
- * Set tool configurations
49
- * @param tools Tools
50
- */
51
- setTools(tools: Tool[]): void;
52
- /**
53
- * Get toolbar
54
- * @returns Toolbar value
55
- */
56
- getToolbar(): string[];
57
- /**
58
- * Set toolbar
59
- * @param toolbar A list of tool names
60
- */
61
- setToolbar(toolbar: string[]): void;
62
- /**
63
- * Activate a tool (and deactivate other tools)
64
- * @param name Tool name
65
- * @param options Tool options
66
- */
67
- activateTool(name: string, options?: Record<string, any>): void;
68
- /**
69
- * Activate the previous tool, if any
70
- */
71
- activatePreviousTool(): void;
72
- getCurrentPreviousToolName(): [string, string];
73
- /**
74
- * Activate the tool below, if any
75
- */
76
- /**
77
- * Activate the tool above, if any
78
- */
79
- /**
80
- * Deactivate the active tool
81
- */
82
- deactivateTool(): void;
83
- /**
84
- * Initialize the tool store and start observing the active tool
85
- */
86
- private initStore;
87
- /**
88
- * Set the active tool and update the tool history
89
- * @param tool Tool
90
- */
91
- private setActiveTool;
92
- /**
93
- * Clear the tool history
94
- */
95
- private clearActiveToolHistory;
96
- }
@@ -1 +0,0 @@
1
- export type ToolboxColor = 'white' | 'grey' | 'primary';
@@ -1,5 +0,0 @@
1
- @use './toolbox/toolbox.theming.scss' as toolbox-theme;
2
-
3
- @mixin igo-tool-theming($theme) {
4
- @include toolbox-theme.igo-toolbox-theming($theme);
5
- }
@@ -1,22 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-toolbox-theming($theme) {
5
- @include density($theme);
6
- }
7
-
8
- @mixin density($theme) {
9
- $density: mat.get-theme-density($theme);
10
- $theme: map.merge(
11
- $theme,
12
- (
13
- density: $density - 2
14
- )
15
- );
16
-
17
- igo-toolbox {
18
- igo-actionbar-item {
19
- @include mat.list-density($theme);
20
- }
21
- }
22
- }
@@ -1,15 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./toolbox/toolbox.module";
4
- /**
5
- * @deprecated import the ToolboxComponent directly
6
- */
7
- export declare class IgoToolModule {
8
- /**
9
- * @deprecated it has no effect
10
- */
11
- static forRoot(): ModuleWithProviders<IgoToolModule>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoToolModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoToolModule, never, never, [typeof i1.IgoToolboxModule]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoToolModule>;
15
- }
@@ -1,2 +0,0 @@
1
- export * from './toolbox.module';
2
- export * from './toolbox.component';
@@ -1,2 +0,0 @@
1
- import { AnimationTriggerMetadata } from '@angular/animations';
2
- export declare function toolSlideInOut(speed?: string, type?: string): AnimationTriggerMetadata;
@@ -1,126 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ActionStore } from '@igo2/common/action';
3
- import { BehaviorSubject, Observable } from 'rxjs';
4
- import { Tool } from '../shared/tool.interface';
5
- import { Toolbox } from '../shared/toolbox';
6
- import { ToolboxColor } from '../shared/toolbox.enums';
7
- import * as i0 from "@angular/core";
8
- export declare class ToolboxComponent implements OnInit, OnDestroy {
9
- /**
10
- * Observable of the active tool
11
- */
12
- activeTool$: BehaviorSubject<Tool>;
13
- get isActive(): boolean;
14
- /**
15
- * Store of actions that toggle tools
16
- */
17
- actionStore: ActionStore;
18
- /**
19
- * Observable of he anmation state
20
- */
21
- animation$: BehaviorSubject<string>;
22
- /**
23
- * Observable of the toolbar
24
- */
25
- toolbar$: BehaviorSubject<string[]>;
26
- /**
27
- * Whether the Toolbar should display actions' titles
28
- */
29
- toolbarWithTitle$: Observable<boolean>;
30
- /**
31
- * Subscription to the active tool
32
- */
33
- private activeTool$$;
34
- /**
35
- * Subscription to the toolbar
36
- */
37
- private toolbar$$;
38
- /**
39
- * Observable of the ongoing animation. This is useful when
40
- * multiple animations are triggered at once i.e. when the user clicks
41
- * too fast on different actions
42
- */
43
- private animating$;
44
- /**
45
- * Subscription to the ongoing animation
46
- */
47
- private animating$$;
48
- /**
49
- * Toolbox
50
- */
51
- toolbox: Toolbox;
52
- /**
53
- * Whether the toolbox should animate the first tool entering
54
- */
55
- animate: boolean;
56
- /**
57
- * Color of Toolbox
58
- */
59
- color: ToolboxColor;
60
- /**
61
- * @ignore
62
- */
63
- get classColorGrey(): boolean;
64
- /**
65
- * @ignore
66
- */
67
- get classColorPrimary(): boolean;
68
- /**
69
- * Initialize the toolbar and subscribe to the active tool
70
- * @internal
71
- */
72
- ngOnInit(): void;
73
- /**
74
- * Unsubscribe to the active tool and destroy the action store
75
- * @internal
76
- */
77
- ngOnDestroy(): void;
78
- /**
79
- * Track the starting animation
80
- * @internal
81
- */
82
- onAnimationStart(): void;
83
- /**
84
- * Untrack the completed animation
85
- * @internal
86
- */
87
- onAnimationComplete(): void;
88
- /**
89
- * Return a tool's inputs
90
- * @param tool Tool
91
- * @returns Tool inputs
92
- * @internal
93
- */
94
- getToolInputs(tool: Tool): Record<string, any>;
95
- /**
96
- * Initialize an action store
97
- * @param toolbar Toolbar
98
- */
99
- private onToolbarChange;
100
- /**
101
- * Activate a tool and trigger an animation or not
102
- * @param tool Tool to activate
103
- */
104
- private onActiveToolChange;
105
- /**
106
- * Set the active tool
107
- * @param tool Tool to activate
108
- */
109
- private setActiveTool;
110
- /**
111
- * Initialize the toolbar
112
- */
113
- private setToolbar;
114
- /**
115
- * Observe the ongoing animation and ignore any incoming animation
116
- * while one is still ongoing.
117
- * @param callback Callback to execute when the animation completes
118
- */
119
- private onAnimate;
120
- /**
121
- * Stop observing an animation when it's complete
122
- */
123
- private unAnimate;
124
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxComponent, never>;
125
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "igo-toolbox", never, { "toolbox": { "alias": "toolbox"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
126
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./toolbox.component";
3
- /**
4
- * @deprecated import the ToolboxComponent directly
5
- */
6
- export declare class IgoToolboxModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoToolboxModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoToolboxModule, never, [typeof i1.ToolboxComponent], [typeof i1.ToolboxComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoToolboxModule>;
10
- }
@@ -1,3 +0,0 @@
1
- export * from './shared';
2
- export * from './widget-outlet';
3
- export * from './widget.module';
@@ -1,3 +0,0 @@
1
- export * from './widget';
2
- export * from './widget.interfaces';
3
- export * from './widget.service';
@@ -1,4 +0,0 @@
1
- import { DynamicComponent } from '@igo2/common/dynamic-component';
2
- import { WidgetComponent } from './widget.interfaces';
3
- export declare class Widget extends DynamicComponent<WidgetComponent> {
4
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- /**
3
- * This is the interface a widget component needs to implement. A widget
4
- * component is component that can be created dynamically. It needs
5
- * to emit the 'complete' and 'cancel' event at some time in it's lifecycle.
6
- * Since a widget's inputs are set manually, you may want to implement the 'onUpdateInputs'
7
- * method. This method could, for example, trigger the change detection.
8
- */
9
- export interface WidgetComponent {
10
- complete: EventEmitter<any>;
11
- cancel: EventEmitter<any>;
12
- }
@@ -1,10 +0,0 @@
1
- import { DynamicComponentService } from '@igo2/common/dynamic-component';
2
- import { Widget } from './widget';
3
- import * as i0 from "@angular/core";
4
- export declare class WidgetService {
5
- private dynamicComponentService;
6
- constructor(dynamicComponentService: DynamicComponentService);
7
- create(widgetCls: any): Widget;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetService>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './widget-outlet.module';
2
- export * from './widget-outlet.component';
@@ -1,64 +0,0 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { DynamicComponent } from '@igo2/common/dynamic-component';
3
- import { WidgetComponent } from '../shared/widget.interfaces';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * This component dynamically renders a widget. It also subscribes
7
- * to the widget's 'cancel' and 'complete' events and destroys it
8
- * when any of those event is emitted.
9
- */
10
- export declare class WidgetOutletComponent implements OnDestroy {
11
- /**
12
- * Widget subscribers to 'cancel' and 'complete'
13
- * @internal
14
- */
15
- private baseSubscribers;
16
- /**
17
- * Widget
18
- */
19
- widget: DynamicComponent<WidgetComponent>;
20
- /**
21
- * Widget inputs
22
- */
23
- inputs: Record<string, any>;
24
- /**
25
- * Widget subscribers
26
- */
27
- subscribers: Record<string, (event: any) => void>;
28
- /**
29
- * Event emitted when the widget emits 'complete'
30
- */
31
- complete: EventEmitter<any>;
32
- /**
33
- * Event emitted when the widget emits 'cancel'
34
- */
35
- cancel: EventEmitter<any>;
36
- /**
37
- * Destroy the current widget and all it's inner subscriptions
38
- * @internal
39
- */
40
- ngOnDestroy(): void;
41
- /**
42
- * Get the effective subscribers. That means a combination of the base
43
- * subscribers and any subscriber given as input.
44
- * @returns Combined subscribers
45
- * @internal
46
- */
47
- getEffectiveSubscribers(): Record<string, (event: any) => void>;
48
- /**
49
- * When the widget emits 'cancel', propagate that event and destroy
50
- * the widget
51
- */
52
- private onCancel;
53
- /**
54
- * When the widget emits 'complete', propagate that event and destroy
55
- * the widget
56
- */
57
- private onComplete;
58
- /**
59
- * Destroy the current widget
60
- */
61
- private destroyWidget;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetOutletComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetOutletComponent, "igo-widget-outlet", never, { "widget": { "alias": "widget"; "required": false; }; "inputs": { "alias": "inputs"; "required": false; }; "subscribers": { "alias": "subscribers"; "required": false; }; }, { "complete": "complete"; "cancel": "cancel"; }, never, never, true, never>;
64
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./widget-outlet.component";
3
- /**
4
- * @deprecated import the WidgetOutletComponent directly
5
- */
6
- export declare class IgoWidgetOutletModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoWidgetOutletModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWidgetOutletModule, never, [typeof i1.WidgetOutletComponent], [typeof i1.WidgetOutletComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoWidgetOutletModule>;
10
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./widget-outlet/widget-outlet.module";
3
- /**
4
- * @deprecated import the WidgetOutletComponent directly
5
- */
6
- export declare class IgoWidgetModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoWidgetModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWidgetModule, never, [typeof i1.IgoWidgetOutletModule], [typeof i1.IgoWidgetOutletModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoWidgetModule>;
10
- }
@@ -1,4 +0,0 @@
1
- export * from './shared';
2
- export * from './workspace.module';
3
- export * from './workspace-selector';
4
- export * from './workspace-widget-outlet';
@@ -1,3 +0,0 @@
1
- export * from './store';
2
- export * from './workspace';
3
- export * from './workspace.interfaces';
@@ -1,20 +0,0 @@
1
- import { EntityStore } from '@igo2/common/entity';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { Workspace } from './workspace';
4
- /**
5
- * The class is a specialized version of an EntityStore that stores
6
- * workspaces.
7
- */
8
- export declare class WorkspaceStore extends EntityStore<Workspace> {
9
- activeWorkspace$: BehaviorSubject<Workspace<object>>;
10
- /**
11
- * Activate the an workspace workspace and deactivate the one currently active
12
- * @param workspace Workspace
13
- */
14
- activateWorkspace(workspace: Workspace): void;
15
- /**
16
- * Deactivate the current workspace
17
- * @param workspace Workspace
18
- */
19
- deactivateWorkspace(): void;
20
- }