@igo2/common 1.15.4 → 16.0.0-rc.0

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 (473) hide show
  1. package/common-theme.scss +19 -0
  2. package/{esm2020 → esm2022}/igo2-common.mjs +4 -4
  3. package/esm2022/lib/action/action.module.mjs +20 -0
  4. package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +270 -0
  5. package/esm2022/lib/action/actionbar/actionbar.component.mjs +389 -0
  6. package/{esm2020 → esm2022}/lib/action/actionbar/actionbar.module.mjs +57 -57
  7. package/{esm2020 → esm2022}/lib/action/index.mjs +3 -3
  8. package/{esm2020 → esm2022}/lib/action/shared/action.enums.mjs +7 -7
  9. package/{esm2020 → esm2022}/lib/action/shared/action.interfaces.mjs +2 -2
  10. package/{esm2020 → esm2022}/lib/action/shared/index.mjs +4 -4
  11. package/{esm2020 → esm2022}/lib/action/shared/store.mjs +8 -8
  12. package/esm2022/lib/backdrop/backdrop.component.mjs +27 -0
  13. package/{esm2020 → esm2022}/lib/backdrop/backdrop.module.mjs +25 -25
  14. package/{esm2020 → esm2022}/lib/backdrop/index.mjs +2 -2
  15. package/esm2022/lib/badge-icon/badge-icon.directive.mjs +150 -0
  16. package/{esm2020 → esm2022}/lib/badge-icon/badge-icon.module.mjs +26 -26
  17. package/{esm2020 → esm2022}/lib/badge-icon/index.mjs +2 -2
  18. package/esm2022/lib/clickout/clickout.directive.mjs +33 -0
  19. package/{esm2020 → esm2022}/lib/clickout/clickout.module.mjs +24 -24
  20. package/{esm2020 → esm2022}/lib/clickout/index.mjs +2 -2
  21. package/{esm2020 → esm2022}/lib/clone/clone.module.mjs +24 -24
  22. package/esm2022/lib/clone/clone.pipe.mjs +24 -0
  23. package/{esm2020 → esm2022}/lib/clone/index.mjs +2 -2
  24. package/esm2022/lib/collapsible/collapse.directive.mjs +58 -0
  25. package/esm2022/lib/collapsible/collapsible.component.mjs +54 -0
  26. package/{esm2020 → esm2022}/lib/collapsible/collapsible.module.mjs +27 -27
  27. package/{esm2020 → esm2022}/lib/collapsible/index.mjs +3 -3
  28. package/esm2022/lib/color-picker-form-field/color-picker-form-field.component.mjs +121 -0
  29. package/esm2022/lib/color-picker-form-field/color-picker-form-field.module.mjs +32 -0
  30. package/esm2022/lib/color-picker-form-field/index.mjs +2 -0
  31. package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +47 -0
  32. package/{esm2020 → esm2022}/lib/confirm-dialog/confirm-dialog.module.mjs +29 -29
  33. package/esm2022/lib/confirm-dialog/confirm-dialog.service.mjs +29 -0
  34. package/{esm2020 → esm2022}/lib/confirm-dialog/index.mjs +3 -3
  35. package/esm2022/lib/context-menu/context-menu.directive.mjs +110 -0
  36. package/{esm2020 → esm2022}/lib/context-menu/context-menu.module.mjs +25 -25
  37. package/{esm2020 → esm2022}/lib/context-menu/index.mjs +3 -3
  38. package/esm2022/lib/context-menu/long-press.directive.mjs +67 -0
  39. package/esm2022/lib/custom-html/custom-html.component.mjs +27 -0
  40. package/{esm2020 → esm2022}/lib/custom-html/custom-html.module.mjs +47 -47
  41. package/{esm2020 → esm2022}/lib/custom-html/custom-html.pipe.mjs +20 -18
  42. package/{esm2020 → esm2022}/lib/custom-html/index.mjs +3 -3
  43. package/{esm2020 → esm2022}/lib/dom/dom.interfaces.mjs +2 -2
  44. package/{esm2020 → esm2022}/lib/dom/dom.module.mjs +21 -23
  45. package/esm2022/lib/dom/dom.service.mjs +35 -0
  46. package/{esm2020 → esm2022}/lib/dom/index.mjs +3 -3
  47. package/esm2022/lib/drag-drop/drag-drop.directive.mjs +85 -0
  48. package/{esm2020 → esm2022}/lib/drag-drop/drag-drop.module.mjs +24 -24
  49. package/{esm2020 → esm2022}/lib/drag-drop/index.mjs +2 -2
  50. package/esm2022/lib/dynamic-component/dynamic-component.module.mjs +20 -0
  51. package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +138 -0
  52. package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +22 -0
  53. package/{esm2020 → esm2022}/lib/dynamic-component/index.mjs +3 -3
  54. package/{esm2020 → esm2022}/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +2 -2
  55. package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +183 -0
  56. package/{esm2020 → esm2022}/lib/dynamic-component/shared/dynamic-component.service.mjs +30 -29
  57. package/{esm2020 → esm2022}/lib/dynamic-component/shared/index.mjs +4 -4
  58. package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +214 -0
  59. package/esm2022/lib/entity/entity-selector/entity-selector.module.mjs +24 -0
  60. package/esm2022/lib/entity/entity-table/entity-table-row.directive.mjs +139 -0
  61. package/esm2022/lib/entity/entity-table/entity-table.component.mjs +1455 -0
  62. package/esm2022/lib/entity/entity-table/entity-table.module.mjs +96 -0
  63. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +167 -0
  64. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -0
  65. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +22 -0
  66. package/{esm2020 → esm2022}/lib/entity/entity.module.mjs +29 -31
  67. package/{esm2020 → esm2022}/lib/entity/index.mjs +6 -6
  68. package/{esm2020 → esm2022}/lib/entity/shared/entity.enums.mjs +28 -28
  69. package/esm2022/lib/entity/shared/entity.interfaces.mjs +2 -0
  70. package/esm2022/lib/entity/shared/entity.utils.mjs +73 -0
  71. package/esm2022/lib/entity/shared/index.mjs +11 -0
  72. package/esm2022/lib/entity/shared/state.mjs +194 -0
  73. package/esm2022/lib/entity/shared/store-strategy.mjs +73 -0
  74. package/esm2022/lib/entity/shared/store.mjs +256 -0
  75. package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +80 -0
  76. package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +81 -0
  77. package/{esm2020 → esm2022}/lib/entity/shared/strategies/index.mjs +4 -4
  78. package/esm2022/lib/entity/shared/strategies/strategy.mjs +78 -0
  79. package/esm2022/lib/entity/shared/transaction.mjs +329 -0
  80. package/esm2022/lib/entity/shared/view.mjs +330 -0
  81. package/esm2022/lib/entity/shared/watcher.mjs +135 -0
  82. package/esm2022/lib/flexible/flexible.component.mjs +153 -0
  83. package/{esm2020 → esm2022}/lib/flexible/flexible.module.mjs +24 -24
  84. package/{esm2020 → esm2022}/lib/flexible/flexible.type.mjs +2 -2
  85. package/{esm2020 → esm2022}/lib/flexible/index.mjs +3 -3
  86. package/esm2022/lib/form/form/form.component.mjs +125 -0
  87. package/esm2022/lib/form/form/form.module.mjs +23 -0
  88. package/esm2022/lib/form/form-field/form-field-select.component.mjs +140 -0
  89. package/esm2022/lib/form/form-field/form-field-text.component.mjs +113 -0
  90. package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +114 -0
  91. package/esm2022/lib/form/form-field/form-field.component.mjs +78 -0
  92. package/{esm2020 → esm2022}/lib/form/form-field/form-field.module.mjs +74 -74
  93. package/{esm2020 → esm2022}/lib/form/form-field/index.mjs +5 -5
  94. package/esm2022/lib/form/form-group/form-group.component.mjs +115 -0
  95. package/esm2022/lib/form/form-group/form-group.module.mjs +36 -0
  96. package/esm2022/lib/form/form.module.mjs +27 -0
  97. package/{esm2020 → esm2022}/lib/form/index.mjs +5 -5
  98. package/{esm2020 → esm2022}/lib/form/shared/form-field-component.mjs +7 -7
  99. package/esm2022/lib/form/shared/form-field.service.mjs +29 -0
  100. package/esm2022/lib/form/shared/form.interfaces.mjs +2 -0
  101. package/esm2022/lib/form/shared/form.service.mjs +82 -0
  102. package/esm2022/lib/form/shared/form.utils.mjs +40 -0
  103. package/{esm2020 → esm2022}/lib/form/shared/index.mjs +6 -6
  104. package/esm2022/lib/home-button/home-button.component.mjs +30 -0
  105. package/{esm2020 → esm2022}/lib/home-button/home-button.module.mjs +41 -41
  106. package/{esm2020 → esm2022}/lib/home-button/index.mjs +2 -2
  107. package/esm2022/lib/image/image-error.directive.mjs +36 -0
  108. package/{esm2020 → esm2022}/lib/image/image.module.mjs +25 -25
  109. package/{esm2020 → esm2022}/lib/image/index.mjs +3 -3
  110. package/esm2022/lib/image/secure-image.pipe.mjs +65 -0
  111. package/{esm2020 → esm2022}/lib/interactive-tour/index.mjs +5 -5
  112. package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +161 -0
  113. package/esm2022/lib/interactive-tour/interactive-tour.interface.mjs +2 -0
  114. package/esm2022/lib/interactive-tour/interactive-tour.loader.mjs +49 -0
  115. package/{esm2020 → esm2022}/lib/interactive-tour/interactive-tour.module.mjs +40 -40
  116. package/esm2022/lib/interactive-tour/interactive-tour.service.mjs +297 -0
  117. package/{esm2020 → esm2022}/lib/json-dialog/index.mjs +3 -3
  118. package/esm2022/lib/json-dialog/json-dialog.component.mjs +114 -0
  119. package/{esm2020 → esm2022}/lib/json-dialog/json-dialog.module.mjs +29 -29
  120. package/{esm2020 → esm2022}/lib/json-dialog/json-dialog.service.mjs +26 -24
  121. package/{esm2020 → esm2022}/lib/keyvalue/index.mjs +2 -2
  122. package/{esm2020 → esm2022}/lib/keyvalue/keyvalue.module.mjs +24 -24
  123. package/{esm2020 → esm2022}/lib/keyvalue/keyvalue.pipe.mjs +18 -18
  124. package/{esm2020 → esm2022}/lib/list/index.mjs +3 -3
  125. package/esm2022/lib/list/list-item.directive.mjs +167 -0
  126. package/esm2022/lib/list/list.component.mjs +268 -0
  127. package/{esm2020 → esm2022}/lib/list/list.module.mjs +29 -29
  128. package/{esm2020 → esm2022}/lib/panel/index.mjs +2 -2
  129. package/esm2022/lib/panel/panel.component.mjs +60 -0
  130. package/{esm2020 → esm2022}/lib/panel/panel.module.mjs +19 -19
  131. package/{esm2020 → esm2022}/lib/sidenav/index.mjs +2 -2
  132. package/esm2022/lib/sidenav/sidenav-shim.directive.mjs +59 -0
  133. package/{esm2020 → esm2022}/lib/sidenav/sidenav.module.mjs +24 -24
  134. package/{esm2020 → esm2022}/lib/spinner/index.mjs +3 -3
  135. package/esm2022/lib/spinner/spinner-activity.directive.mjs +55 -0
  136. package/esm2022/lib/spinner/spinner.component.mjs +38 -0
  137. package/{esm2020 → esm2022}/lib/spinner/spinner.module.mjs +21 -21
  138. package/{esm2020 → esm2022}/lib/stop-propagation/index.mjs +3 -3
  139. package/{esm2020 → esm2022}/lib/stop-propagation/stop-drop-propagation.directive.mjs +22 -22
  140. package/{esm2020 → esm2022}/lib/stop-propagation/stop-propagation.directive.mjs +21 -21
  141. package/{esm2020 → esm2022}/lib/stop-propagation/stop-propagation.module.mjs +25 -25
  142. package/{esm2020 → esm2022}/lib/table/index.mjs +6 -6
  143. package/{esm2020 → esm2022}/lib/table/table-action-color.enum.mjs +7 -7
  144. package/esm2022/lib/table/table-database.mjs +28 -0
  145. package/esm2022/lib/table/table-datasource.mjs +64 -0
  146. package/esm2022/lib/table/table-model.interface.mjs +2 -0
  147. package/esm2022/lib/table/table.component.mjs +302 -0
  148. package/{esm2020 → esm2022}/lib/table/table.module.mjs +67 -67
  149. package/{esm2020 → esm2022}/lib/tool/index.mjs +3 -3
  150. package/{esm2020 → esm2022}/lib/tool/shared/index.mjs +6 -6
  151. package/esm2022/lib/tool/shared/tool-component.mjs +9 -0
  152. package/esm2022/lib/tool/shared/tool.interface.mjs +2 -0
  153. package/esm2022/lib/tool/shared/tool.service.mjs +43 -0
  154. package/{esm2020 → esm2022}/lib/tool/shared/toolbox.enums.mjs +7 -7
  155. package/esm2022/lib/tool/shared/toolbox.mjs +184 -0
  156. package/esm2022/lib/tool/tool.module.mjs +26 -0
  157. package/{esm2020 → esm2022}/lib/tool/toolbox/toolbox.animation.mjs +10 -10
  158. package/esm2022/lib/tool/toolbox/toolbox.component.mjs +273 -0
  159. package/esm2022/lib/tool/toolbox/toolbox.module.mjs +24 -0
  160. package/{esm2020 → esm2022}/lib/widget/index.mjs +3 -3
  161. package/{esm2020 → esm2022}/lib/widget/shared/index.mjs +4 -4
  162. package/esm2022/lib/widget/shared/widget.interfaces.mjs +2 -0
  163. package/{esm2020 → esm2022}/lib/widget/shared/widget.mjs +4 -4
  164. package/esm2022/lib/widget/shared/widget.service.mjs +22 -0
  165. package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +124 -0
  166. package/esm2022/lib/widget/widget-outlet/widget-outlet.module.mjs +23 -0
  167. package/esm2022/lib/widget/widget.module.mjs +21 -0
  168. package/{esm2020 → esm2022}/lib/workspace/index.mjs +4 -4
  169. package/{esm2020 → esm2022}/lib/workspace/shared/index.mjs +4 -4
  170. package/esm2022/lib/workspace/shared/store.mjs +37 -0
  171. package/{esm2020 → esm2022}/lib/workspace/shared/workspace.interfaces.mjs +2 -2
  172. package/esm2022/lib/workspace/shared/workspace.mjs +143 -0
  173. package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +58 -0
  174. package/esm2022/lib/workspace/workspace-selector/workspace-selector.module.mjs +23 -0
  175. package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +94 -0
  176. package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +23 -0
  177. package/esm2022/lib/workspace/workspace.module.mjs +20 -0
  178. package/esm2022/public_api.mjs +76 -0
  179. package/{fesm2020 → fesm2022}/igo2-common.mjs +9837 -9345
  180. package/fesm2022/igo2-common.mjs.map +1 -0
  181. package/index.d.ts +5 -5
  182. package/lib/action/action.module.d.ts +8 -8
  183. package/lib/action/action.theming.scss +5 -0
  184. package/lib/action/actionbar/actionbar-item.component.d.ts +78 -78
  185. package/lib/action/actionbar/actionbar-item.theming.scss +32 -0
  186. package/lib/action/actionbar/actionbar.component.d.ts +147 -146
  187. package/lib/action/actionbar/actionbar.module.d.ts +20 -20
  188. package/lib/action/actionbar/actionbar.theming.scss +22 -0
  189. package/lib/action/index.d.ts +2 -2
  190. package/lib/action/shared/action.enums.d.ts +5 -5
  191. package/lib/action/shared/action.interfaces.d.ts +17 -17
  192. package/lib/action/shared/index.d.ts +3 -3
  193. package/lib/action/shared/store.d.ts +8 -8
  194. package/lib/backdrop/backdrop.component.d.ts +9 -9
  195. package/lib/backdrop/backdrop.module.d.ts +10 -10
  196. package/lib/backdrop/index.d.ts +1 -1
  197. package/lib/badge-icon/badge-icon.directive.d.ts +36 -36
  198. package/lib/badge-icon/badge-icon.module.d.ts +11 -11
  199. package/lib/badge-icon/index.d.ts +1 -1
  200. package/lib/clickout/clickout.directive.d.ts +10 -10
  201. package/lib/clickout/clickout.module.d.ts +9 -9
  202. package/lib/clickout/index.d.ts +1 -1
  203. package/lib/clone/clone.module.d.ts +9 -9
  204. package/lib/clone/clone.pipe.d.ts +7 -7
  205. package/lib/clone/index.d.ts +1 -1
  206. package/lib/collapsible/collapse.directive.d.ts +19 -19
  207. package/lib/collapsible/collapsible.component.d.ts +13 -13
  208. package/lib/collapsible/collapsible.module.d.ts +12 -12
  209. package/lib/collapsible/collapsible.theming.scss +22 -0
  210. package/lib/collapsible/index.d.ts +2 -2
  211. package/lib/color-picker-form-field/color-picker-form-field.component.d.ts +26 -0
  212. package/lib/color-picker-form-field/color-picker-form-field.module.d.ts +10 -0
  213. package/lib/color-picker-form-field/index.d.ts +1 -0
  214. package/lib/confirm-dialog/confirm-dialog.component.d.ts +9 -9
  215. package/lib/confirm-dialog/confirm-dialog.module.d.ts +12 -12
  216. package/lib/confirm-dialog/confirm-dialog.service.d.ts +12 -12
  217. package/lib/confirm-dialog/index.d.ts +2 -2
  218. package/lib/context-menu/context-menu.directive.d.ts +21 -21
  219. package/lib/context-menu/context-menu.module.d.ts +10 -10
  220. package/lib/context-menu/index.d.ts +2 -2
  221. package/lib/context-menu/long-press.directive.d.ts +20 -20
  222. package/lib/custom-html/custom-html.component.d.ts +9 -9
  223. package/lib/custom-html/custom-html.module.d.ts +16 -16
  224. package/lib/custom-html/custom-html.pipe.d.ts +10 -10
  225. package/lib/custom-html/index.d.ts +2 -2
  226. package/lib/dom/dom.interfaces.d.ts +10 -10
  227. package/lib/dom/dom.module.d.ts +8 -8
  228. package/lib/dom/dom.service.d.ts +10 -10
  229. package/lib/dom/index.d.ts +2 -2
  230. package/lib/drag-drop/drag-drop.directive.d.ts +14 -14
  231. package/lib/drag-drop/drag-drop.module.d.ts +9 -9
  232. package/lib/drag-drop/index.d.ts +1 -1
  233. package/lib/dynamic-component/dynamic-component.module.d.ts +8 -8
  234. package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +70 -70
  235. package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +11 -11
  236. package/lib/dynamic-component/index.d.ts +2 -2
  237. package/lib/dynamic-component/shared/dynamic-component.d.ts +88 -88
  238. package/lib/dynamic-component/shared/dynamic-component.interfaces.d.ts +3 -3
  239. package/lib/dynamic-component/shared/dynamic-component.service.d.ts +18 -18
  240. package/lib/dynamic-component/shared/index.d.ts +3 -3
  241. package/lib/entity/entity-selector/entity-selector.component.d.ts +92 -92
  242. package/lib/entity/entity-selector/entity-selector.module.d.ts +13 -13
  243. package/lib/entity/entity-selector/entity-selector.theming.scss +21 -0
  244. package/lib/entity/entity-table/entity-table-row.directive.d.ts +69 -69
  245. package/lib/entity/entity-table/entity-table.component.d.ts +327 -333
  246. package/lib/entity/entity-table/entity-table.module.d.ts +29 -29
  247. package/lib/entity/entity-table/entity-table.theming.scss +34 -0
  248. package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +49 -49
  249. package/lib/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +8 -8
  250. package/lib/entity/entity-table-paginator/entity-table-paginator.module.d.ts +11 -11
  251. package/lib/entity/entity-table-paginator/entity-table-paginator.theming.scss +21 -0
  252. package/lib/entity/entity.module.d.ts +10 -10
  253. package/lib/entity/entity.theming.scss +10 -0
  254. package/lib/entity/index.d.ts +5 -5
  255. package/lib/entity/shared/entity.enums.d.ts +23 -23
  256. package/lib/entity/shared/entity.interfaces.d.ts +95 -114
  257. package/lib/entity/shared/entity.utils.d.ts +49 -49
  258. package/lib/entity/shared/index.d.ts +10 -9
  259. package/lib/entity/shared/state.d.ts +108 -103
  260. package/lib/entity/shared/store-strategy.d.ts +38 -0
  261. package/lib/entity/shared/store.d.ts +147 -176
  262. package/lib/entity/shared/strategies/filter-custom-function.d.ts +51 -51
  263. package/lib/entity/shared/strategies/filter-selection.d.ts +48 -48
  264. package/lib/entity/shared/strategies/index.d.ts +3 -3
  265. package/lib/entity/shared/strategies/strategy.d.ts +56 -56
  266. package/lib/entity/shared/transaction.d.ts +180 -168
  267. package/lib/entity/shared/view.d.ts +193 -193
  268. package/lib/entity/shared/watcher.d.ts +72 -72
  269. package/lib/flexible/flexible.component.d.ts +41 -41
  270. package/lib/flexible/flexible.module.d.ts +9 -9
  271. package/lib/flexible/flexible.type.d.ts +2 -2
  272. package/lib/flexible/index.d.ts +2 -2
  273. package/lib/form/form/form.component.d.ts +53 -53
  274. package/lib/form/form/form.module.d.ts +12 -12
  275. package/lib/form/form-field/form-field-select.component.d.ts +48 -48
  276. package/lib/form/form-field/form-field-text.component.d.ts +41 -41
  277. package/lib/form/form-field/form-field-textarea.component.d.ts +41 -41
  278. package/lib/form/form-field/form-field.component.d.ts +29 -34
  279. package/lib/form/form-field/form-field.module.d.ts +21 -21
  280. package/lib/form/form-field/index.d.ts +4 -4
  281. package/lib/form/form-group/form-group.component.d.ts +49 -49
  282. package/lib/form/form-group/form-group.module.d.ts +14 -14
  283. package/lib/form/form.module.d.ts +13 -13
  284. package/lib/form/index.d.ts +4 -4
  285. package/lib/form/shared/form-field-component.d.ts +1 -1
  286. package/lib/form/shared/form-field.service.d.ts +19 -19
  287. package/lib/form/shared/form.interfaces.d.ts +61 -57
  288. package/lib/form/shared/form.service.d.ts +15 -15
  289. package/lib/form/shared/form.utils.d.ts +11 -11
  290. package/lib/form/shared/index.d.ts +5 -5
  291. package/lib/home-button/home-button.component.d.ts +9 -9
  292. package/lib/home-button/home-button.module.d.ts +15 -15
  293. package/lib/home-button/home-button.theming.scss +18 -0
  294. package/lib/home-button/index.d.ts +1 -1
  295. package/lib/image/image-error.directive.d.ts +11 -11
  296. package/lib/image/image.module.d.ts +10 -10
  297. package/lib/image/index.d.ts +2 -2
  298. package/lib/image/secure-image.pipe.d.ts +13 -13
  299. package/lib/interactive-tour/index.d.ts +4 -4
  300. package/lib/interactive-tour/interactive-tour.component.d.ts +30 -30
  301. package/lib/interactive-tour/interactive-tour.interface.d.ts +32 -32
  302. package/lib/interactive-tour/interactive-tour.loader.d.ts +18 -18
  303. package/lib/interactive-tour/interactive-tour.module.d.ts +12 -12
  304. package/lib/interactive-tour/interactive-tour.service.d.ts +29 -29
  305. package/lib/interactive-tour/interactive-tour.theming.scss +32 -0
  306. package/lib/json-dialog/index.d.ts +2 -2
  307. package/lib/json-dialog/json-dialog.component.d.ts +13 -13
  308. package/lib/json-dialog/json-dialog.module.d.ts +13 -13
  309. package/lib/json-dialog/json-dialog.service.d.ts +10 -10
  310. package/lib/keyvalue/index.d.ts +1 -1
  311. package/lib/keyvalue/keyvalue.module.d.ts +9 -9
  312. package/lib/keyvalue/keyvalue.pipe.d.ts +7 -7
  313. package/lib/list/index.d.ts +2 -2
  314. package/lib/list/list-item.directive.d.ts +43 -43
  315. package/lib/list/list.component.d.ts +51 -51
  316. package/lib/list/list.module.d.ts +14 -14
  317. package/lib/list/list.theming.scss +40 -0
  318. package/lib/panel/index.d.ts +1 -1
  319. package/lib/panel/panel.component.d.ts +10 -10
  320. package/lib/panel/panel.module.d.ts +8 -8
  321. package/lib/panel/panel.theming.scss +30 -0
  322. package/lib/sidenav/index.d.ts +1 -1
  323. package/lib/sidenav/sidenav-shim.directive.d.ts +20 -20
  324. package/lib/sidenav/sidenav.module.d.ts +9 -9
  325. package/lib/spinner/index.d.ts +2 -2
  326. package/lib/spinner/spinner-activity.directive.d.ts +32 -32
  327. package/lib/spinner/spinner.component.d.ts +12 -12
  328. package/lib/spinner/spinner.module.d.ts +10 -10
  329. package/lib/stop-propagation/index.d.ts +2 -2
  330. package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +6 -6
  331. package/lib/stop-propagation/stop-propagation.directive.d.ts +6 -6
  332. package/lib/stop-propagation/stop-propagation.module.d.ts +10 -10
  333. package/lib/table/index.d.ts +5 -5
  334. package/lib/table/table-action-color.enum.d.ts +5 -5
  335. package/lib/table/table-database.d.ts +10 -10
  336. package/lib/table/table-datasource.d.ts +18 -17
  337. package/lib/table/table-model.interface.d.ts +28 -28
  338. package/lib/table/table.component.d.ts +40 -40
  339. package/lib/table/table.module.d.ts +20 -20
  340. package/lib/tool/index.d.ts +2 -2
  341. package/lib/tool/shared/index.d.ts +5 -5
  342. package/lib/tool/shared/tool-component.d.ts +2 -2
  343. package/lib/tool/shared/tool.interface.d.ts +18 -18
  344. package/lib/tool/shared/tool.service.d.ts +30 -30
  345. package/lib/tool/shared/toolbox.d.ts +95 -95
  346. package/lib/tool/shared/toolbox.enums.d.ts +5 -5
  347. package/lib/tool/tool.module.d.ts +10 -10
  348. package/lib/tool/tool.theming.scss +5 -0
  349. package/lib/tool/toolbox/toolbox.animation.d.ts +2 -2
  350. package/lib/tool/toolbox/toolbox.component.d.ts +128 -127
  351. package/lib/tool/toolbox/toolbox.module.d.ts +13 -13
  352. package/lib/tool/toolbox/toolbox.theming.scss +105 -0
  353. package/lib/widget/index.d.ts +2 -2
  354. package/lib/widget/shared/index.d.ts +3 -3
  355. package/lib/widget/shared/widget.d.ts +4 -4
  356. package/lib/widget/shared/widget.interfaces.d.ts +12 -12
  357. package/lib/widget/shared/widget.service.d.ts +10 -10
  358. package/lib/widget/widget-outlet/widget-outlet.component.d.ts +71 -71
  359. package/lib/widget/widget-outlet/widget-outlet.module.d.ts +12 -12
  360. package/lib/widget/widget.module.d.ts +8 -8
  361. package/lib/workspace/index.d.ts +3 -3
  362. package/lib/workspace/shared/index.d.ts +3 -3
  363. package/lib/workspace/shared/store.d.ts +20 -20
  364. package/lib/workspace/shared/workspace.d.ts +108 -108
  365. package/lib/workspace/shared/workspace.interfaces.d.ts +11 -11
  366. package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +39 -39
  367. package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +12 -12
  368. package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +57 -57
  369. package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +12 -12
  370. package/lib/workspace/workspace.module.d.ts +9 -9
  371. package/locale/en.common.json +43 -0
  372. package/locale/fr.common.json +43 -0
  373. package/package.json +30 -28
  374. package/public_api.d.ts +72 -70
  375. package/style/partial/common-utils.scss +9 -0
  376. package/style/partial/common.variables.scss +8 -8
  377. package/style/style.css +204 -0
  378. package/esm2020/lib/action/action.module.mjs +0 -27
  379. package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +0 -252
  380. package/esm2020/lib/action/actionbar/actionbar.component.mjs +0 -370
  381. package/esm2020/lib/backdrop/backdrop.component.mjs +0 -26
  382. package/esm2020/lib/badge-icon/badge-icon.directive.mjs +0 -141
  383. package/esm2020/lib/clickout/clickout.directive.mjs +0 -32
  384. package/esm2020/lib/clone/clone.pipe.mjs +0 -24
  385. package/esm2020/lib/collapsible/collapse.directive.mjs +0 -55
  386. package/esm2020/lib/collapsible/collapsible.component.mjs +0 -57
  387. package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +0 -44
  388. package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +0 -24
  389. package/esm2020/lib/context-menu/context-menu.directive.mjs +0 -103
  390. package/esm2020/lib/context-menu/long-press.directive.mjs +0 -67
  391. package/esm2020/lib/custom-html/custom-html.component.mjs +0 -28
  392. package/esm2020/lib/dom/dom.service.mjs +0 -30
  393. package/esm2020/lib/drag-drop/drag-drop.directive.mjs +0 -88
  394. package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +0 -31
  395. package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +0 -122
  396. package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +0 -28
  397. package/esm2020/lib/dynamic-component/shared/dynamic-component.mjs +0 -174
  398. package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +0 -194
  399. package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +0 -32
  400. package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +0 -137
  401. package/esm2020/lib/entity/entity-table/entity-table.component.mjs +0 -1376
  402. package/esm2020/lib/entity/entity-table/entity-table.module.mjs +0 -102
  403. package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +0 -132
  404. package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +0 -2
  405. package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +0 -28
  406. package/esm2020/lib/entity/shared/entity.interfaces.mjs +0 -2
  407. package/esm2020/lib/entity/shared/entity.utils.mjs +0 -67
  408. package/esm2020/lib/entity/shared/index.mjs +0 -10
  409. package/esm2020/lib/entity/shared/state.mjs +0 -191
  410. package/esm2020/lib/entity/shared/store.mjs +0 -288
  411. package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +0 -79
  412. package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +0 -84
  413. package/esm2020/lib/entity/shared/strategies/strategy.mjs +0 -75
  414. package/esm2020/lib/entity/shared/transaction.mjs +0 -316
  415. package/esm2020/lib/entity/shared/view.mjs +0 -315
  416. package/esm2020/lib/entity/shared/watcher.mjs +0 -120
  417. package/esm2020/lib/flexible/flexible.component.mjs +0 -148
  418. package/esm2020/lib/form/form/form.component.mjs +0 -117
  419. package/esm2020/lib/form/form/form.module.mjs +0 -40
  420. package/esm2020/lib/form/form-field/form-field-select.component.mjs +0 -127
  421. package/esm2020/lib/form/form-field/form-field-text.component.mjs +0 -104
  422. package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +0 -105
  423. package/esm2020/lib/form/form-field/form-field.component.mjs +0 -72
  424. package/esm2020/lib/form/form-group/form-group.component.mjs +0 -105
  425. package/esm2020/lib/form/form-group/form-group.module.mjs +0 -40
  426. package/esm2020/lib/form/form.module.mjs +0 -49
  427. package/esm2020/lib/form/shared/form-field.service.mjs +0 -29
  428. package/esm2020/lib/form/shared/form.interfaces.mjs +0 -2
  429. package/esm2020/lib/form/shared/form.service.mjs +0 -81
  430. package/esm2020/lib/form/shared/form.utils.mjs +0 -40
  431. package/esm2020/lib/home-button/home-button.component.mjs +0 -31
  432. package/esm2020/lib/image/image-error.directive.mjs +0 -35
  433. package/esm2020/lib/image/secure-image.pipe.mjs +0 -59
  434. package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +0 -135
  435. package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +0 -2
  436. package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +0 -44
  437. package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +0 -285
  438. package/esm2020/lib/json-dialog/json-dialog.component.mjs +0 -109
  439. package/esm2020/lib/list/list-item.directive.mjs +0 -165
  440. package/esm2020/lib/list/list.component.mjs +0 -262
  441. package/esm2020/lib/panel/panel.component.mjs +0 -59
  442. package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +0 -55
  443. package/esm2020/lib/spinner/spinner-activity.directive.mjs +0 -47
  444. package/esm2020/lib/spinner/spinner.component.mjs +0 -35
  445. package/esm2020/lib/table/table-database.mjs +0 -28
  446. package/esm2020/lib/table/table-datasource.mjs +0 -61
  447. package/esm2020/lib/table/table-model.interface.mjs +0 -2
  448. package/esm2020/lib/table/table.component.mjs +0 -297
  449. package/esm2020/lib/tool/shared/tool-component.mjs +0 -9
  450. package/esm2020/lib/tool/shared/tool.interface.mjs +0 -2
  451. package/esm2020/lib/tool/shared/tool.service.mjs +0 -43
  452. package/esm2020/lib/tool/shared/toolbox.mjs +0 -179
  453. package/esm2020/lib/tool/tool.module.mjs +0 -32
  454. package/esm2020/lib/tool/toolbox/toolbox.component.mjs +0 -255
  455. package/esm2020/lib/tool/toolbox/toolbox.module.mjs +0 -36
  456. package/esm2020/lib/widget/shared/widget.interfaces.mjs +0 -2
  457. package/esm2020/lib/widget/shared/widget.service.mjs +0 -20
  458. package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +0 -116
  459. package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +0 -32
  460. package/esm2020/lib/widget/widget.module.mjs +0 -32
  461. package/esm2020/lib/workspace/shared/store.mjs +0 -40
  462. package/esm2020/lib/workspace/shared/workspace.mjs +0 -117
  463. package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +0 -51
  464. package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +0 -32
  465. package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +0 -88
  466. package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +0 -32
  467. package/esm2020/lib/workspace/workspace.module.mjs +0 -27
  468. package/esm2020/public_api.mjs +0 -74
  469. package/fesm2015/igo2-common.mjs +0 -10329
  470. package/fesm2015/igo2-common.mjs.map +0 -1
  471. package/fesm2020/igo2-common.mjs.map +0 -1
  472. package/style/common.theming.scss +0 -12
  473. package/style/partial/action.scss +0 -18
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/common" />
5
- export * from './public_api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@igo2/common" />
5
+ export * from './public_api';
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./actionbar/actionbar.module";
4
- export declare class IgoActionModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionModule, never, [typeof i1.CommonModule, typeof i2.IgoActionbarModule], [typeof i2.IgoActionbarModule]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./actionbar/actionbar.module";
4
+ export declare class IgoActionModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionModule, never, [typeof i1.CommonModule, typeof i2.IgoActionbarModule], [typeof i2.IgoActionbarModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionModule>;
8
+ }
@@ -0,0 +1,5 @@
1
+ @use './actionbar/actionbar-item.theming.scss' as actionbar-item;
2
+
3
+ @mixin igo-action-theming($theme) {
4
+ @include actionbar-item.density($theme);
5
+ }
@@ -1,78 +1,78 @@
1
- import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { Action } from '../shared/action.interfaces';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * An action button
7
- */
8
- export declare class ActionbarItemComponent implements OnInit, OnDestroy {
9
- readonly disabled$: BehaviorSubject<boolean>;
10
- readonly checkCondition$: BehaviorSubject<boolean>;
11
- readonly icon$: BehaviorSubject<string>;
12
- readonly tooltip$: BehaviorSubject<string>;
13
- readonly noDisplay$: BehaviorSubject<boolean>;
14
- readonly ngClass$: BehaviorSubject<{
15
- [key: string]: boolean;
16
- }>;
17
- private ngClass$$;
18
- private disabled$$;
19
- private availability$$;
20
- private icon$$;
21
- private checkCondition$$;
22
- private tooltip$$;
23
- private noDisplay$$;
24
- private display$$;
25
- /**
26
- * Action
27
- */
28
- action: Action;
29
- /**
30
- * Color
31
- */
32
- color: string;
33
- /**
34
- * Whether the action title is displayed
35
- */
36
- withTitle: boolean;
37
- /**
38
- * Whether the action icon is displayed
39
- */
40
- withIcon: boolean;
41
- /**
42
- * Whether a tooltip should be shown
43
- */
44
- withTooltip: boolean;
45
- /**
46
- * Whether the action is disabled
47
- */
48
- set disabled(value: boolean);
49
- get disabled(): boolean;
50
- /**
51
- * Whether the action is display or not
52
- */
53
- set noDisplay(value: boolean);
54
- get noDisplay(): boolean;
55
- /**
56
- * Event emitted when the action button is clicked
57
- */
58
- trigger: EventEmitter<Action>;
59
- /**
60
- * @internal
61
- */
62
- get title(): string;
63
- constructor();
64
- ngOnInit(): void;
65
- ngOnDestroy(): void;
66
- /**
67
- * When the action button is clicked, emit the 'trigger' event but don't
68
- * invoke the action handler. This is handled by the parent component.
69
- * @internal
70
- */
71
- onClick(): void;
72
- private updateNgClass;
73
- private updateTooltip;
74
- private updateCheckCondition;
75
- private updateIcon;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarItemComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarItemComponent, "igo-actionbar-item", never, { "action": "action"; "color": "color"; "withTitle": "withTitle"; "withIcon": "withIcon"; "withTooltip": "withTooltip"; "disabled": "disabled"; "noDisplay": "noDisplay"; }, { "trigger": "trigger"; }, never, never, false>;
78
- }
1
+ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { Action } from '../shared/action.interfaces';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * An action button
7
+ */
8
+ export declare class ActionbarItemComponent implements OnInit, OnDestroy {
9
+ readonly disabled$: BehaviorSubject<boolean>;
10
+ readonly checkCondition$: BehaviorSubject<boolean>;
11
+ readonly icon$: BehaviorSubject<string>;
12
+ readonly tooltip$: BehaviorSubject<string>;
13
+ readonly noDisplay$: BehaviorSubject<boolean>;
14
+ readonly ngClass$: BehaviorSubject<{
15
+ [key: string]: boolean;
16
+ }>;
17
+ private ngClass$$;
18
+ private disabled$$;
19
+ private availability$$;
20
+ private icon$$;
21
+ private checkCondition$$;
22
+ private tooltip$$;
23
+ private noDisplay$$;
24
+ private display$$;
25
+ /**
26
+ * Action
27
+ */
28
+ action: Action;
29
+ /**
30
+ * Color
31
+ */
32
+ color: string;
33
+ /**
34
+ * Whether the action title is displayed
35
+ */
36
+ withTitle: boolean;
37
+ /**
38
+ * Whether the action icon is displayed
39
+ */
40
+ withIcon: boolean;
41
+ /**
42
+ * Whether a tooltip should be shown
43
+ */
44
+ withTooltip: boolean;
45
+ /**
46
+ * Whether the action is disabled
47
+ */
48
+ set disabled(value: boolean);
49
+ get disabled(): boolean;
50
+ /**
51
+ * Whether the action is display or not
52
+ */
53
+ set noDisplay(value: boolean);
54
+ get noDisplay(): boolean;
55
+ /**
56
+ * Event emitted when the action button is clicked
57
+ */
58
+ trigger: EventEmitter<Action>;
59
+ /**
60
+ * @internal
61
+ */
62
+ get title(): string;
63
+ constructor();
64
+ ngOnInit(): void;
65
+ ngOnDestroy(): void;
66
+ /**
67
+ * When the action button is clicked, emit the 'trigger' event but don't
68
+ * invoke the action handler. This is handled by the parent component.
69
+ * @internal
70
+ */
71
+ onClick(): void;
72
+ private updateNgClass;
73
+ private updateTooltip;
74
+ private updateCheckCondition;
75
+ private updateIcon;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarItemComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarItemComponent, "igo-actionbar-item", never, { "action": { "alias": "action"; "required": false; }; "color": { "alias": "color"; "required": false; }; "withTitle": { "alias": "withTitle"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noDisplay": { "alias": "noDisplay"; "required": false; }; }, { "trigger": "trigger"; }, never, never, false, never>;
78
+ }
@@ -0,0 +1,32 @@
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include density($theme);
6
+ @include typography($theme);
7
+ }
8
+
9
+ @mixin density($theme) {
10
+ $density: mat.get-density-config($theme);
11
+ $theme: map.merge(
12
+ $theme,
13
+ (
14
+ density: $density - 2
15
+ )
16
+ );
17
+
18
+ igo-actionbar-item {
19
+ @include mat.icon-button-density($theme);
20
+ @include mat.list-density($theme);
21
+ }
22
+ }
23
+
24
+ @mixin typography($theme) {
25
+ $typography: mat.get-typography-config($theme);
26
+
27
+ igo-actionbar-item {
28
+ mat-checkbox label {
29
+ font-size: mat.font-size($typography, body-1);
30
+ }
31
+ }
32
+ }
@@ -1,146 +1,147 @@
1
- import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges, ElementRef } from '@angular/core';
2
- import { MediaService } from '@igo2/core';
3
- import { Action } from '../shared/action.interfaces';
4
- import { ActionbarMode } from '../shared/action.enums';
5
- import { ActionStore } from '../shared/store';
6
- import { Overlay } from '@angular/cdk/overlay';
7
- import { BehaviorSubject } from 'rxjs';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * A list of action buttons.
11
- * This component can be displayed in one of two way: 'dock' or 'overlay'
12
- */
13
- export declare class ActionbarComponent implements OnDestroy, OnChanges {
14
- overlay: Overlay;
15
- private elRef;
16
- private cdRef;
17
- mediaService: MediaService;
18
- /**
19
- * Reference to the ActionbarMode enum for use in the template
20
- * @internal
21
- */
22
- actionbarMode: typeof ActionbarMode;
23
- /**
24
- * Whether the actionbar is collapsed (Dock mode)
25
- * @internal
26
- */
27
- collapsed: boolean;
28
- /**
29
- * Toggle collapse action (Dock)
30
- * @internal
31
- */
32
- toggleCollapseAction: {
33
- id: string;
34
- icon: string;
35
- handler: () => void;
36
- };
37
- /**
38
- * Action store watcher
39
- * @internal
40
- */
41
- private watcher;
42
- /**
43
- * Height Condition for scroll button
44
- */
45
- heightCondition$: BehaviorSubject<boolean>;
46
- /**
47
- * Position Condition for top scroll button
48
- */
49
- positionConditionTop$: BehaviorSubject<boolean>;
50
- /**
51
- * Position Condition for low scroll button
52
- */
53
- positionConditionLow$: BehaviorSubject<boolean>;
54
- /**
55
- * Action store
56
- */
57
- store: ActionStore;
58
- /**
59
- * Actionbar mode
60
- */
61
- mode: ActionbarMode;
62
- /**
63
- * Whether a toggle button should be displayed (Dock mode)
64
- */
65
- withToggleButton: boolean;
66
- /**
67
- * Whether a the actionbar should display buttons horizontally
68
- */
69
- horizontal: boolean;
70
- /**
71
- * Color
72
- */
73
- color: string;
74
- /**
75
- * Color of the button if action mode === overlay
76
- */
77
- iconColor: string;
78
- /**
79
- * Whether action titles are displayed
80
- */
81
- withTitle: boolean;
82
- /**
83
- * Whether action tooltips are displayed
84
- */
85
- withTooltip: boolean;
86
- /**
87
- * Whether action titles are displayed (condition for scroll button)
88
- */
89
- scrollActive: boolean;
90
- /**
91
- * Whether action icons are displayed
92
- */
93
- withIcon: boolean;
94
- /**
95
- * Which icon want to be shown
96
- */
97
- icon: string;
98
- /**
99
- * Overlay X position
100
- */
101
- xPosition: string;
102
- /**
103
- * Overlay Y position
104
- */
105
- yPosition: string;
106
- /**
107
- * Class to add to the actionbar overlay
108
- */
109
- set overlayClass(value: string);
110
- get overlayClass(): string;
111
- private _overlayClass;
112
- /**
113
- * @ignore
114
- */
115
- get withTitleClass(): boolean;
116
- /**
117
- * @ignore
118
- */
119
- get withIconClass(): boolean;
120
- /**
121
- * @ignore
122
- */
123
- get horizontalClass(): boolean;
124
- get heightCondition(): boolean;
125
- get positionConditionTop(): boolean;
126
- get positionConditionLow(): boolean;
127
- get isDesktop(): boolean;
128
- constructor(overlay: Overlay, elRef: ElementRef, cdRef: ChangeDetectorRef, mediaService: MediaService);
129
- /**
130
- * @internal
131
- */
132
- ngOnChanges(changes: SimpleChanges): void;
133
- /**
134
- * @internal
135
- */
136
- ngOnDestroy(): void;
137
- /**
138
- * Invoke the action handler
139
- * @internal
140
- */
141
- onTriggerAction(action: Action): void;
142
- scrollDown(): void;
143
- scrollUp(): void;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarComponent, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarComponent, "igo-actionbar", never, { "store": "store"; "mode": "mode"; "withToggleButton": "withToggleButton"; "horizontal": "horizontal"; "color": "color"; "iconColor": "iconColor"; "withTitle": "withTitle"; "withTooltip": "withTooltip"; "scrollActive": "scrollActive"; "withIcon": "withIcon"; "icon": "icon"; "xPosition": "xPosition"; "yPosition": "yPosition"; "overlayClass": "overlayClass"; }, {}, never, never, false>;
146
- }
1
+ import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges, ElementRef } from '@angular/core';
2
+ import { MediaService } from '@igo2/core';
3
+ import { Action } from '../shared/action.interfaces';
4
+ import { ActionbarMode } from '../shared/action.enums';
5
+ import { ActionStore } from '../shared/store';
6
+ import { Overlay } from '@angular/cdk/overlay';
7
+ import { BehaviorSubject } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * A list of action buttons.
11
+ * This component can be displayed in one of two way: 'dock' or 'overlay'
12
+ */
13
+ export declare class ActionbarComponent implements OnDestroy, OnChanges {
14
+ overlay: Overlay;
15
+ private elRef;
16
+ private cdRef;
17
+ mediaService: MediaService;
18
+ /**
19
+ * Reference to the ActionbarMode enum for use in the template
20
+ * @internal
21
+ */
22
+ actionbarMode: typeof ActionbarMode;
23
+ /**
24
+ * Whether the actionbar is collapsed (Dock mode)
25
+ * @internal
26
+ */
27
+ collapsed: boolean;
28
+ /**
29
+ * Toggle collapse action (Dock)
30
+ * @internal
31
+ */
32
+ toggleCollapseAction: {
33
+ id: string;
34
+ icon: string;
35
+ handler: () => void;
36
+ };
37
+ /**
38
+ * Action store watcher
39
+ * @internal
40
+ */
41
+ private watcher;
42
+ /**
43
+ * Height Condition for scroll button
44
+ */
45
+ heightCondition$: BehaviorSubject<boolean>;
46
+ /**
47
+ * Position Condition for top scroll button
48
+ */
49
+ positionConditionTop$: BehaviorSubject<boolean>;
50
+ /**
51
+ * Position Condition for low scroll button
52
+ */
53
+ positionConditionLow$: BehaviorSubject<boolean>;
54
+ /**
55
+ * Action store
56
+ */
57
+ store: ActionStore;
58
+ /**
59
+ * Actionbar mode
60
+ */
61
+ mode: ActionbarMode;
62
+ /**
63
+ * Whether a toggle button should be displayed (Dock mode)
64
+ */
65
+ withToggleButton: boolean;
66
+ /**
67
+ * Whether a the actionbar should display buttons horizontally
68
+ */
69
+ horizontal: boolean;
70
+ /**
71
+ * Color
72
+ */
73
+ color: string;
74
+ /**
75
+ * Color of the button if action mode === overlay
76
+ */
77
+ iconColor: string;
78
+ /**
79
+ * Whether action titles are displayed
80
+ */
81
+ withTitle: boolean;
82
+ /**
83
+ * Whether action tooltips are displayed
84
+ */
85
+ withTooltip: boolean;
86
+ /**
87
+ * Whether action titles are displayed (condition for scroll button)
88
+ */
89
+ scrollActive: boolean;
90
+ /**
91
+ * Whether action icons are displayed
92
+ */
93
+ withIcon: boolean;
94
+ /**
95
+ * Which icon want to be shown
96
+ */
97
+ icon: string;
98
+ /**
99
+ * Overlay X position
100
+ */
101
+ xPosition: string;
102
+ /**
103
+ * Overlay Y position
104
+ */
105
+ yPosition: string;
106
+ /**
107
+ * Class to add to the actionbar overlay
108
+ */
109
+ set overlayClass(value: string);
110
+ get overlayClass(): string;
111
+ private _overlayClass;
112
+ isCollapsed: boolean;
113
+ /**
114
+ * @ignore
115
+ */
116
+ get withTitleClass(): boolean;
117
+ /**
118
+ * @ignore
119
+ */
120
+ get withIconClass(): boolean;
121
+ /**
122
+ * @ignore
123
+ */
124
+ get horizontalClass(): boolean;
125
+ get heightCondition(): boolean;
126
+ get positionConditionTop(): boolean;
127
+ get positionConditionLow(): boolean;
128
+ get isDesktop(): boolean;
129
+ constructor(overlay: Overlay, elRef: ElementRef, cdRef: ChangeDetectorRef, mediaService: MediaService);
130
+ /**
131
+ * @internal
132
+ */
133
+ ngOnChanges(changes: SimpleChanges): void;
134
+ /**
135
+ * @internal
136
+ */
137
+ ngOnDestroy(): void;
138
+ /**
139
+ * Invoke the action handler
140
+ * @internal
141
+ */
142
+ onTriggerAction(action: Action): void;
143
+ scrollDown(): void;
144
+ scrollUp(): void;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarComponent, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarComponent, "igo-actionbar", never, { "store": { "alias": "store"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "withToggleButton": { "alias": "withToggleButton"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "color": { "alias": "color"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "withTitle": { "alias": "withTitle"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; "scrollActive": { "alias": "scrollActive"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "overlayClass": { "alias": "overlayClass"; "required": false; }; }, {}, never, never, false, never>;
147
+ }
@@ -1,20 +1,20 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./actionbar.component";
3
- import * as i2 from "./actionbar-item.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@igo2/core";
6
- import * as i5 from "@angular/material/button";
7
- import * as i6 from "@angular/material/icon";
8
- import * as i7 from "@angular/material/tooltip";
9
- import * as i8 from "@angular/material/menu";
10
- import * as i9 from "@angular/material/list";
11
- import * as i10 from "@angular/material/card";
12
- import * as i11 from "@angular/material/checkbox";
13
- /**
14
- * @ignore
15
- */
16
- export declare class IgoActionbarModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionbarModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionbarModule, [typeof i1.ActionbarComponent, typeof i2.ActionbarItemComponent], [typeof i3.CommonModule, typeof i4.IgoLanguageModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatTooltipModule, typeof i8.MatMenuModule, typeof i9.MatListModule, typeof i10.MatCardModule, typeof i11.MatCheckboxModule], [typeof i1.ActionbarComponent]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionbarModule>;
20
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./actionbar.component";
3
+ import * as i2 from "./actionbar-item.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@igo2/core";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "@angular/material/icon";
8
+ import * as i7 from "@angular/material/tooltip";
9
+ import * as i8 from "@angular/material/menu";
10
+ import * as i9 from "@angular/material/list";
11
+ import * as i10 from "@angular/material/card";
12
+ import * as i11 from "@angular/material/checkbox";
13
+ /**
14
+ * @ignore
15
+ */
16
+ export declare class IgoActionbarModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionbarModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionbarModule, [typeof i1.ActionbarComponent, typeof i2.ActionbarItemComponent], [typeof i3.CommonModule, typeof i4.IgoLanguageModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatTooltipModule, typeof i8.MatMenuModule, typeof i9.MatListModule, typeof i10.MatCardModule, typeof i11.MatCheckboxModule], [typeof i1.ActionbarComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionbarModule>;
20
+ }
@@ -0,0 +1,22 @@
1
+ @mixin igo-actionbar-theming($theme) {
2
+ .igo-actionbar-overlay {
3
+ min-width: inherit !important;
4
+ padding-top: 0;
5
+ padding-bottom: 0;
6
+
7
+ .mat-mdc-list {
8
+ padding-top: 0;
9
+ }
10
+ .mat-mdc-list
11
+ .mat-mdc-list-item.mdc-list-item--with-leading-icon
12
+ .mdc-list-item__content
13
+ .mdc-list-item__primary-text {
14
+ padding-right: 16px;
15
+ }
16
+
17
+ .mat-mdc-menu-content:not(:empty) {
18
+ padding-top: 0;
19
+ padding-bottom: 0;
20
+ }
21
+ }
22
+ }
@@ -1,2 +1,2 @@
1
- export * from './shared';
2
- export * from './actionbar/actionbar.component';
1
+ export * from './shared';
2
+ export * from './actionbar/actionbar.component';
@@ -1,5 +1,5 @@
1
- export declare enum ActionbarMode {
2
- Dock = "dock",
3
- Overlay = "overlay",
4
- Context = "context"
5
- }
1
+ export declare enum ActionbarMode {
2
+ Dock = "dock",
3
+ Overlay = "overlay",
4
+ Context = "context"
5
+ }
@@ -1,17 +1,17 @@
1
- import { Observable } from 'rxjs';
2
- export interface Action {
3
- id: string;
4
- handler: ActionHandler;
5
- title?: string;
6
- icon?: string | Observable<string>;
7
- tooltip?: string | Observable<string>;
8
- args?: any[];
9
- checkbox?: boolean;
10
- checkCondition?: boolean | Observable<boolean>;
11
- display?: (...args: any[]) => Observable<boolean>;
12
- availability?: (...args: any[]) => Observable<boolean>;
13
- ngClass?: (...args: any[]) => Observable<{
14
- [key: string]: boolean;
15
- }>;
16
- }
17
- export declare type ActionHandler = (...args: any[]) => void;
1
+ import { Observable } from 'rxjs';
2
+ export interface Action {
3
+ id: string;
4
+ handler: ActionHandler;
5
+ title?: string;
6
+ icon?: string | Observable<string>;
7
+ tooltip?: string | Observable<string>;
8
+ args?: any[];
9
+ checkbox?: boolean;
10
+ checkCondition?: boolean | Observable<boolean>;
11
+ display?: (...args: any[]) => Observable<boolean>;
12
+ availability?: (...args: any[]) => Observable<boolean>;
13
+ ngClass?: (...args: any[]) => Observable<{
14
+ [key: string]: boolean;
15
+ }>;
16
+ }
17
+ export type ActionHandler = (...args: any[]) => void;
@@ -1,3 +1,3 @@
1
- export * from './action.enums';
2
- export * from './action.interfaces';
3
- export * from './store';
1
+ export * from './action.enums';
2
+ export * from './action.interfaces';
3
+ export * from './store';