@igo2/common 18.0.0-next.9 → 18.0.1-next.1

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 (318) hide show
  1. package/drag-drop/drag-drop.module.d.ts +2 -1
  2. package/drag-drop/public_api.d.ts +1 -0
  3. package/drag-drop/tree-drag-drop/index.d.ts +2 -0
  4. package/drag-drop/tree-drag-drop/tree-drag-drop.directive.d.ts +85 -0
  5. package/drag-drop/tree-drag-drop/tree-drag-drop.interface.d.ts +15 -0
  6. package/entity/src/entity-table/entity-table.theming.scss +1 -1
  7. package/fesm2022/igo2-common-action.mjs +16 -16
  8. package/fesm2022/igo2-common-action.mjs.map +1 -1
  9. package/fesm2022/igo2-common-backdrop.mjs +8 -8
  10. package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
  11. package/fesm2022/igo2-common-badge.mjs +7 -7
  12. package/fesm2022/igo2-common-badge.mjs.map +1 -1
  13. package/fesm2022/igo2-common-clickout.mjs +7 -7
  14. package/fesm2022/igo2-common-clickout.mjs.map +1 -1
  15. package/fesm2022/igo2-common-clone.mjs +7 -7
  16. package/fesm2022/igo2-common-clone.mjs.map +1 -1
  17. package/fesm2022/igo2-common-collapsible.mjs +11 -11
  18. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  19. package/fesm2022/igo2-common-color.mjs +9 -9
  20. package/fesm2022/igo2-common-color.mjs.map +1 -1
  21. package/fesm2022/igo2-common-confirm-dialog.mjs +11 -11
  22. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  23. package/fesm2022/igo2-common-context-menu.mjs +10 -10
  24. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  25. package/fesm2022/igo2-common-custom-html.mjs +11 -11
  26. package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
  27. package/fesm2022/igo2-common-dom.mjs +7 -7
  28. package/fesm2022/igo2-common-dom.mjs.map +1 -1
  29. package/fesm2022/igo2-common-drag-drop.mjs +400 -11
  30. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  31. package/fesm2022/igo2-common-dynamic-component.mjs +14 -14
  32. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  33. package/fesm2022/igo2-common-entity.mjs +33 -33
  34. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  35. package/fesm2022/igo2-common-flexible.mjs +7 -7
  36. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  37. package/fesm2022/igo2-common-form.mjs +64 -61
  38. package/fesm2022/igo2-common-form.mjs.map +1 -1
  39. package/fesm2022/igo2-common-home-button.mjs +8 -8
  40. package/fesm2022/igo2-common-home-button.mjs.map +1 -1
  41. package/fesm2022/igo2-common-icon.mjs +22 -15
  42. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  43. package/fesm2022/igo2-common-image.mjs +10 -10
  44. package/fesm2022/igo2-common-image.mjs.map +1 -1
  45. package/fesm2022/igo2-common-interactive-tour.mjs +14 -14
  46. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  47. package/fesm2022/igo2-common-json-dialog.mjs +11 -11
  48. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  49. package/fesm2022/igo2-common-keyvalue.mjs +7 -7
  50. package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
  51. package/fesm2022/igo2-common-list.mjs +11 -11
  52. package/fesm2022/igo2-common-list.mjs.map +1 -1
  53. package/fesm2022/igo2-common-panel.mjs +8 -8
  54. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  55. package/fesm2022/igo2-common-select-value-dialog.mjs +11 -11
  56. package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
  57. package/fesm2022/igo2-common-sidenav.mjs +7 -7
  58. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  59. package/fesm2022/igo2-common-spinner.mjs +11 -11
  60. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  61. package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
  62. package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -1
  63. package/fesm2022/igo2-common-table.mjs +8 -8
  64. package/fesm2022/igo2-common-table.mjs.map +1 -1
  65. package/fesm2022/igo2-common-tool.mjs +15 -15
  66. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  67. package/fesm2022/igo2-common-widget.mjs +15 -15
  68. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  69. package/fesm2022/igo2-common-workspace.mjs +20 -20
  70. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  71. package/form/shared/form.interfaces.d.ts +1 -0
  72. package/icon/shared/icons.d.ts +2 -0
  73. package/locale/en.common.json +6 -0
  74. package/locale/fr.common.json +6 -0
  75. package/package.json +8 -76
  76. package/src/style/style.scss +1 -1
  77. package/style/style.css +4 -1
  78. package/esm2022/action/action.module.mjs +0 -19
  79. package/esm2022/action/actionbar/actionbar-item.component.mjs +0 -192
  80. package/esm2022/action/actionbar/actionbar.component.mjs +0 -277
  81. package/esm2022/action/actionbar/actionbar.module.mjs +0 -19
  82. package/esm2022/action/igo2-common-action.mjs +0 -5
  83. package/esm2022/action/public_api.mjs +0 -5
  84. package/esm2022/action/shared/action.enums.mjs +0 -7
  85. package/esm2022/action/shared/action.interfaces.mjs +0 -2
  86. package/esm2022/action/shared/index.mjs +0 -4
  87. package/esm2022/action/shared/store.mjs +0 -8
  88. package/esm2022/backdrop/backdrop.component.mjs +0 -21
  89. package/esm2022/backdrop/backdrop.module.mjs +0 -25
  90. package/esm2022/backdrop/igo2-common-backdrop.mjs +0 -5
  91. package/esm2022/backdrop/public_api.mjs +0 -3
  92. package/esm2022/badge/badge-icon.directive.mjs +0 -149
  93. package/esm2022/badge/badge-icon.module.mjs +0 -25
  94. package/esm2022/badge/igo2-common-badge.mjs +0 -5
  95. package/esm2022/badge/public_api.mjs +0 -3
  96. package/esm2022/clickout/clickout.directive.mjs +0 -32
  97. package/esm2022/clickout/clickout.module.mjs +0 -25
  98. package/esm2022/clickout/igo2-common-clickout.mjs +0 -5
  99. package/esm2022/clickout/public_api.mjs +0 -3
  100. package/esm2022/clone/clone.module.mjs +0 -25
  101. package/esm2022/clone/clone.pipe.mjs +0 -25
  102. package/esm2022/clone/igo2-common-clone.mjs +0 -5
  103. package/esm2022/clone/public_api.mjs +0 -3
  104. package/esm2022/collapsible/collapse.directive.mjs +0 -57
  105. package/esm2022/collapsible/collapsible.component.mjs +0 -38
  106. package/esm2022/collapsible/collapsible.module.mjs +0 -26
  107. package/esm2022/collapsible/igo2-common-collapsible.mjs +0 -5
  108. package/esm2022/collapsible/public_api.mjs +0 -10
  109. package/esm2022/color/color-picker-form-field/color-picker-form-field.component.mjs +0 -104
  110. package/esm2022/color/color-picker-form-field/color-picker-form-field.module.mjs +0 -19
  111. package/esm2022/color/color-picker-form-field/index.mjs +0 -3
  112. package/esm2022/color/igo2-common-color.mjs +0 -5
  113. package/esm2022/color/public_api.mjs +0 -2
  114. package/esm2022/confirm-dialog/confirm-dialog.component.mjs +0 -31
  115. package/esm2022/confirm-dialog/confirm-dialog.interface.mjs +0 -2
  116. package/esm2022/confirm-dialog/confirm-dialog.module.mjs +0 -27
  117. package/esm2022/confirm-dialog/confirm-dialog.service.mjs +0 -35
  118. package/esm2022/confirm-dialog/igo2-common-confirm-dialog.mjs +0 -5
  119. package/esm2022/confirm-dialog/public_api.mjs +0 -5
  120. package/esm2022/context-menu/context-menu.directive.mjs +0 -109
  121. package/esm2022/context-menu/context-menu.module.mjs +0 -26
  122. package/esm2022/context-menu/igo2-common-context-menu.mjs +0 -5
  123. package/esm2022/context-menu/long-press.directive.mjs +0 -65
  124. package/esm2022/context-menu/public_api.mjs +0 -10
  125. package/esm2022/custom-html/custom-html.component.mjs +0 -21
  126. package/esm2022/custom-html/custom-html.module.mjs +0 -25
  127. package/esm2022/custom-html/custom-html.pipe.mjs +0 -23
  128. package/esm2022/custom-html/igo2-common-custom-html.mjs +0 -5
  129. package/esm2022/custom-html/public_api.mjs +0 -10
  130. package/esm2022/dom/dom.interfaces.mjs +0 -2
  131. package/esm2022/dom/dom.module.mjs +0 -27
  132. package/esm2022/dom/dom.service.mjs +0 -35
  133. package/esm2022/dom/igo2-common-dom.mjs +0 -5
  134. package/esm2022/dom/public_api.mjs +0 -4
  135. package/esm2022/drag-drop/drag-drop.directive.mjs +0 -82
  136. package/esm2022/drag-drop/drag-drop.module.mjs +0 -25
  137. package/esm2022/drag-drop/igo2-common-drag-drop.mjs +0 -5
  138. package/esm2022/drag-drop/public_api.mjs +0 -3
  139. package/esm2022/dynamic-component/dynamic-component.module.mjs +0 -19
  140. package/esm2022/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +0 -129
  141. package/esm2022/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +0 -19
  142. package/esm2022/dynamic-component/igo2-common-dynamic-component.mjs +0 -5
  143. package/esm2022/dynamic-component/public_api.mjs +0 -5
  144. package/esm2022/dynamic-component/shared/dynamic-component.interfaces.mjs +0 -2
  145. package/esm2022/dynamic-component/shared/dynamic-component.mjs +0 -183
  146. package/esm2022/dynamic-component/shared/dynamic-component.service.mjs +0 -30
  147. package/esm2022/dynamic-component/shared/index.mjs +0 -4
  148. package/esm2022/entity/entity-selector/entity-selector.component.mjs +0 -174
  149. package/esm2022/entity/entity-selector/entity-selector.module.mjs +0 -19
  150. package/esm2022/entity/entity-selector/index.mjs +0 -3
  151. package/esm2022/entity/entity-table/entity-table-row.directive.mjs +0 -138
  152. package/esm2022/entity/entity-table/entity-table.component.mjs +0 -883
  153. package/esm2022/entity/entity-table/entity-table.module.mjs +0 -19
  154. package/esm2022/entity/entity-table/index.mjs +0 -3
  155. package/esm2022/entity/entity-table-paginator/entity-table-paginator.component.mjs +0 -158
  156. package/esm2022/entity/entity-table-paginator/entity-table-paginator.interface.mjs +0 -2
  157. package/esm2022/entity/entity-table-paginator/entity-table-paginator.module.mjs +0 -19
  158. package/esm2022/entity/entity-table-paginator/index.mjs +0 -4
  159. package/esm2022/entity/entity.module.mjs +0 -30
  160. package/esm2022/entity/igo2-common-entity.mjs +0 -5
  161. package/esm2022/entity/public_api.mjs +0 -6
  162. package/esm2022/entity/shared/entity.enums.mjs +0 -28
  163. package/esm2022/entity/shared/entity.interfaces.mjs +0 -2
  164. package/esm2022/entity/shared/entity.utils.mjs +0 -73
  165. package/esm2022/entity/shared/index.mjs +0 -10
  166. package/esm2022/entity/shared/state.mjs +0 -194
  167. package/esm2022/entity/shared/store.mjs +0 -322
  168. package/esm2022/entity/shared/strategies/filter-custom-function.mjs +0 -80
  169. package/esm2022/entity/shared/strategies/filter-selection.mjs +0 -81
  170. package/esm2022/entity/shared/strategies/index.mjs +0 -4
  171. package/esm2022/entity/shared/strategies/strategy.mjs +0 -82
  172. package/esm2022/entity/shared/transaction.mjs +0 -329
  173. package/esm2022/entity/shared/view.mjs +0 -330
  174. package/esm2022/entity/shared/watcher.mjs +0 -135
  175. package/esm2022/environment/environment.interface.mjs +0 -2
  176. package/esm2022/environment/igo2-common-environment.mjs +0 -5
  177. package/esm2022/environment/public_api.mjs +0 -2
  178. package/esm2022/flexible/flexible.component.mjs +0 -137
  179. package/esm2022/flexible/flexible.module.mjs +0 -25
  180. package/esm2022/flexible/flexible.type.mjs +0 -2
  181. package/esm2022/flexible/igo2-common-flexible.mjs +0 -5
  182. package/esm2022/flexible/public_api.mjs +0 -4
  183. package/esm2022/form/form/form.component.mjs +0 -102
  184. package/esm2022/form/form/form.module.mjs +0 -19
  185. package/esm2022/form/form/index.mjs +0 -3
  186. package/esm2022/form/form-dialog/form-dialog.component.mjs +0 -94
  187. package/esm2022/form/form-dialog/form-dialog.interface.mjs +0 -2
  188. package/esm2022/form/form-dialog/form-dialog.module.mjs +0 -31
  189. package/esm2022/form/form-dialog/form-dialog.service.mjs +0 -30
  190. package/esm2022/form/form-dialog/index.mjs +0 -5
  191. package/esm2022/form/form-field/form-field-select.component.mjs +0 -117
  192. package/esm2022/form/form-field/form-field-text.component.mjs +0 -126
  193. package/esm2022/form/form-field/form-field-textarea.component.mjs +0 -95
  194. package/esm2022/form/form-field/form-field.component.mjs +0 -65
  195. package/esm2022/form/form-field/form-field.directive.mjs +0 -11
  196. package/esm2022/form/form-field/form-field.module.mjs +0 -23
  197. package/esm2022/form/form-field/index.mjs +0 -7
  198. package/esm2022/form/form-group/form-group.component.mjs +0 -81
  199. package/esm2022/form/form-group/form-group.module.mjs +0 -19
  200. package/esm2022/form/form-group/index.mjs +0 -3
  201. package/esm2022/form/form.module.mjs +0 -32
  202. package/esm2022/form/igo2-common-form.mjs +0 -5
  203. package/esm2022/form/public_api.mjs +0 -7
  204. package/esm2022/form/shared/form-field-component.mjs +0 -7
  205. package/esm2022/form/shared/form-field.service.mjs +0 -28
  206. package/esm2022/form/shared/form.interfaces.mjs +0 -2
  207. package/esm2022/form/shared/form.service.mjs +0 -82
  208. package/esm2022/form/shared/form.utils.mjs +0 -41
  209. package/esm2022/form/shared/index.mjs +0 -6
  210. package/esm2022/home-button/home-button.component.mjs +0 -25
  211. package/esm2022/home-button/home-button.module.mjs +0 -19
  212. package/esm2022/home-button/igo2-common-home-button.mjs +0 -5
  213. package/esm2022/home-button/public_api.mjs +0 -3
  214. package/esm2022/icon/icon/icon.component.mjs +0 -38
  215. package/esm2022/icon/icon.provider.mjs +0 -14
  216. package/esm2022/icon/igo2-common-icon.mjs +0 -5
  217. package/esm2022/icon/public_api.mjs +0 -4
  218. package/esm2022/icon/shared/icon.interface.mjs +0 -2
  219. package/esm2022/icon/shared/icon.service.mjs +0 -26
  220. package/esm2022/icon/shared/icons.mjs +0 -32
  221. package/esm2022/icon/shared/index.mjs +0 -4
  222. package/esm2022/igo2-common.mjs +0 -5
  223. package/esm2022/image/igo2-common-image.mjs +0 -5
  224. package/esm2022/image/image-error.directive.mjs +0 -35
  225. package/esm2022/image/image.module.mjs +0 -26
  226. package/esm2022/image/public_api.mjs +0 -7
  227. package/esm2022/image/secure-image.pipe.mjs +0 -66
  228. package/esm2022/interactive-tour/igo2-common-interactive-tour.mjs +0 -5
  229. package/esm2022/interactive-tour/interactive-tour.component.mjs +0 -131
  230. package/esm2022/interactive-tour/interactive-tour.interface.mjs +0 -2
  231. package/esm2022/interactive-tour/interactive-tour.loader.mjs +0 -49
  232. package/esm2022/interactive-tour/interactive-tour.module.mjs +0 -19
  233. package/esm2022/interactive-tour/interactive-tour.service.mjs +0 -303
  234. package/esm2022/interactive-tour/public_api.mjs +0 -6
  235. package/esm2022/json-dialog/igo2-common-json-dialog.mjs +0 -5
  236. package/esm2022/json-dialog/json-dialog.component.mjs +0 -38
  237. package/esm2022/json-dialog/json-dialog.module.mjs +0 -26
  238. package/esm2022/json-dialog/json-dialog.service.mjs +0 -26
  239. package/esm2022/json-dialog/public_api.mjs +0 -4
  240. package/esm2022/keyvalue/igo2-common-keyvalue.mjs +0 -5
  241. package/esm2022/keyvalue/keyvalue.module.mjs +0 -25
  242. package/esm2022/keyvalue/keyvalue.pipe.mjs +0 -19
  243. package/esm2022/keyvalue/public_api.mjs +0 -3
  244. package/esm2022/list/igo2-common-list.mjs +0 -5
  245. package/esm2022/list/list-item.directive.mjs +0 -166
  246. package/esm2022/list/list.component.mjs +0 -252
  247. package/esm2022/list/list.module.mjs +0 -26
  248. package/esm2022/list/public_api.mjs +0 -7
  249. package/esm2022/panel/igo2-common-panel.mjs +0 -5
  250. package/esm2022/panel/panel.component.mjs +0 -30
  251. package/esm2022/panel/panel.module.mjs +0 -19
  252. package/esm2022/panel/public_api.mjs +0 -3
  253. package/esm2022/public_api.mjs +0 -20
  254. package/esm2022/select-value-dialog/igo2-common-select-value-dialog.mjs +0 -5
  255. package/esm2022/select-value-dialog/public_api.mjs +0 -6
  256. package/esm2022/select-value-dialog/select-value-check-radio-dialog.component.mjs +0 -103
  257. package/esm2022/select-value-dialog/select-value-dialog.enums.mjs +0 -6
  258. package/esm2022/select-value-dialog/select-value-dialog.interface.mjs +0 -2
  259. package/esm2022/select-value-dialog/select-value-dialog.module.mjs +0 -27
  260. package/esm2022/select-value-dialog/select-value-dialog.service.mjs +0 -29
  261. package/esm2022/sidenav/igo2-common-sidenav.mjs +0 -5
  262. package/esm2022/sidenav/public_api.mjs +0 -3
  263. package/esm2022/sidenav/sidenav-shim.directive.mjs +0 -58
  264. package/esm2022/sidenav/sidenav.module.mjs +0 -25
  265. package/esm2022/spinner/igo2-common-spinner.mjs +0 -5
  266. package/esm2022/spinner/public_api.mjs +0 -4
  267. package/esm2022/spinner/spinner-activity.directive.mjs +0 -56
  268. package/esm2022/spinner/spinner.component.mjs +0 -29
  269. package/esm2022/spinner/spinner.module.mjs +0 -26
  270. package/esm2022/stop-propagation/igo2-common-stop-propagation.mjs +0 -5
  271. package/esm2022/stop-propagation/public_api.mjs +0 -10
  272. package/esm2022/stop-propagation/stop-drop-propagation.directive.mjs +0 -21
  273. package/esm2022/stop-propagation/stop-propagation.directive.mjs +0 -20
  274. package/esm2022/stop-propagation/stop-propagation.module.mjs +0 -26
  275. package/esm2022/table/igo2-common-table.mjs +0 -5
  276. package/esm2022/table/public_api.mjs +0 -7
  277. package/esm2022/table/table-action-color.enum.mjs +0 -7
  278. package/esm2022/table/table-database.mjs +0 -28
  279. package/esm2022/table/table-datasource.mjs +0 -66
  280. package/esm2022/table/table-model.interface.mjs +0 -2
  281. package/esm2022/table/table.component.mjs +0 -143
  282. package/esm2022/table/table.module.mjs +0 -25
  283. package/esm2022/tool/igo2-common-tool.mjs +0 -5
  284. package/esm2022/tool/public_api.mjs +0 -4
  285. package/esm2022/tool/shared/index.mjs +0 -6
  286. package/esm2022/tool/shared/tool-component.mjs +0 -9
  287. package/esm2022/tool/shared/tool.interface.mjs +0 -2
  288. package/esm2022/tool/shared/tool.service.mjs +0 -43
  289. package/esm2022/tool/shared/toolbox.enums.mjs +0 -2
  290. package/esm2022/tool/shared/toolbox.mjs +0 -192
  291. package/esm2022/tool/tool.module.mjs +0 -28
  292. package/esm2022/tool/toolbox/index.mjs +0 -3
  293. package/esm2022/tool/toolbox/toolbox.animation.mjs +0 -10
  294. package/esm2022/tool/toolbox/toolbox.component.mjs +0 -241
  295. package/esm2022/tool/toolbox/toolbox.module.mjs +0 -19
  296. package/esm2022/widget/igo2-common-widget.mjs +0 -5
  297. package/esm2022/widget/public_api.mjs +0 -4
  298. package/esm2022/widget/shared/index.mjs +0 -4
  299. package/esm2022/widget/shared/widget.interfaces.mjs +0 -2
  300. package/esm2022/widget/shared/widget.mjs +0 -4
  301. package/esm2022/widget/shared/widget.service.mjs +0 -22
  302. package/esm2022/widget/widget-outlet/index.mjs +0 -3
  303. package/esm2022/widget/widget-outlet/widget-outlet.component.mjs +0 -112
  304. package/esm2022/widget/widget-outlet/widget-outlet.module.mjs +0 -19
  305. package/esm2022/widget/widget.module.mjs +0 -22
  306. package/esm2022/workspace/igo2-common-workspace.mjs +0 -5
  307. package/esm2022/workspace/public_api.mjs +0 -5
  308. package/esm2022/workspace/shared/index.mjs +0 -4
  309. package/esm2022/workspace/shared/store.mjs +0 -37
  310. package/esm2022/workspace/shared/workspace.interfaces.mjs +0 -2
  311. package/esm2022/workspace/shared/workspace.mjs +0 -143
  312. package/esm2022/workspace/workspace-selector/index.mjs +0 -3
  313. package/esm2022/workspace/workspace-selector/workspace-selector.component.mjs +0 -51
  314. package/esm2022/workspace/workspace-selector/workspace-selector.module.mjs +0 -19
  315. package/esm2022/workspace/workspace-widget-outlet/index.mjs +0 -3
  316. package/esm2022/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +0 -73
  317. package/esm2022/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +0 -19
  318. package/esm2022/workspace/workspace.module.mjs +0 -27
@@ -15,10 +15,10 @@ class ClickoutDirective {
15
15
  constructor(el) {
16
16
  this.el = el;
17
17
  }
18
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClickoutDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
19
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ClickoutDirective, isStandalone: true, selector: "[igoClickout]", outputs: { clickout: "clickout" }, host: { listeners: { "document:click": "handleMouseClick($event,$event.target)" } }, ngImport: i0 });
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ClickoutDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
19
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: ClickoutDirective, isStandalone: true, selector: "[igoClickout]", outputs: { clickout: "clickout" }, host: { listeners: { "document:click": "handleMouseClick($event,$event.target)" } }, ngImport: i0 });
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClickoutDirective, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ClickoutDirective, decorators: [{
22
22
  type: Directive,
23
23
  args: [{
24
24
  selector: '[igoClickout]',
@@ -41,11 +41,11 @@ class IgoClickoutModule {
41
41
  providers: []
42
42
  };
43
43
  }
44
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoClickoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: IgoClickoutModule, imports: [ClickoutDirective], exports: [ClickoutDirective] });
46
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoClickoutModule });
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoClickoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: IgoClickoutModule, imports: [ClickoutDirective], exports: [ClickoutDirective] });
46
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoClickoutModule });
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoClickoutModule, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoClickoutModule, decorators: [{
49
49
  type: NgModule,
50
50
  args: [{
51
51
  imports: [ClickoutDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"igo2-common-clickout.mjs","sources":["../../../packages/common/clickout/src/clickout.directive.ts","../../../packages/common/clickout/src/clickout.module.ts","../../../packages/common/clickout/src/igo2-common-clickout.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Output\n} from '@angular/core';\n\n@Directive({\n selector: '[igoClickout]',\n standalone: true\n})\nexport class ClickoutDirective {\n @Output() clickout = new EventEmitter<MouseEvent>();\n\n @HostListener('document:click', ['$event', '$event.target'])\n handleMouseClick(event: MouseEvent, target: HTMLElement) {\n if (!target) {\n return;\n }\n\n if (!this.el.nativeElement.contains(target)) {\n this.clickout.emit(event);\n }\n }\n\n constructor(private el: ElementRef) {}\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ClickoutDirective } from './clickout.directive';\n\n/**\n * @deprecated import the ClickoutDirective directly\n */\n@NgModule({\n imports: [ClickoutDirective],\n exports: [ClickoutDirective]\n})\nexport class IgoClickoutModule {\n static forRoot(): ModuleWithProviders<IgoClickoutModule> {\n return {\n ngModule: IgoClickoutModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAYa,iBAAiB,CAAA;AAcR,IAAA,EAAA,CAAA;AAbV,IAAA,QAAQ,GAAG,IAAI,YAAY,EAAc,CAAC;IAGpD,gBAAgB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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAAjB,iBAAiB,EAAA,OAAA,EAAA,CAHlB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;yGAEhB,iBAAiB,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC7B,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"igo2-common-clickout.mjs","sources":["../../../packages/common/clickout/src/clickout.directive.ts","../../../packages/common/clickout/src/clickout.module.ts","../../../packages/common/clickout/src/igo2-common-clickout.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Output\n} from '@angular/core';\n\n@Directive({\n selector: '[igoClickout]',\n standalone: true\n})\nexport class ClickoutDirective {\n @Output() clickout = new EventEmitter<MouseEvent>();\n\n @HostListener('document:click', ['$event', '$event.target'])\n handleMouseClick(event: MouseEvent, target: HTMLElement) {\n if (!target) {\n return;\n }\n\n if (!this.el.nativeElement.contains(target)) {\n this.clickout.emit(event);\n }\n }\n\n constructor(private el: ElementRef) {}\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ClickoutDirective } from './clickout.directive';\n\n/**\n * @deprecated import the ClickoutDirective directly\n */\n@NgModule({\n imports: [ClickoutDirective],\n exports: [ClickoutDirective]\n})\nexport class IgoClickoutModule {\n static forRoot(): ModuleWithProviders<IgoClickoutModule> {\n return {\n ngModule: IgoClickoutModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAYa,iBAAiB,CAAA;AAcR,IA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A,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAjB,iBAAiB,EAAA,OAAA,EAAA,CAHlB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACjB,iBAAiB,CAAA,EAAA,CAAA;wGAEhB,iBAAiB,EAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB;AAC5B,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -13,10 +13,10 @@ class ClonePipe {
13
13
  return Object.assign(Object.create(value), value);
14
14
  }
15
15
  }
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
17
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ClonePipe, isStandalone: true, name: "clone" });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ClonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
17
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: ClonePipe, isStandalone: true, name: "clone" });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClonePipe, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ClonePipe, decorators: [{
20
20
  type: Pipe,
21
21
  args: [{
22
22
  name: 'clone',
@@ -34,11 +34,11 @@ class IgoCloneModule {
34
34
  providers: []
35
35
  };
36
36
  }
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoCloneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: IgoCloneModule, imports: [ClonePipe], exports: [ClonePipe] });
39
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoCloneModule });
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoCloneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: IgoCloneModule, imports: [ClonePipe], exports: [ClonePipe] });
39
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoCloneModule });
40
40
  }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoCloneModule, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoCloneModule, decorators: [{
42
42
  type: NgModule,
43
43
  args: [{
44
44
  imports: [ClonePipe],
@@ -1 +1 @@
1
- {"version":3,"file":"igo2-common-clone.mjs","sources":["../../../packages/common/clone/src/clone.pipe.ts","../../../packages/common/clone/src/clone.module.ts","../../../packages/common/clone/src/igo2-common-clone.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'clone',\n standalone: true\n})\nexport class ClonePipe implements PipeTransform {\n transform(value: any): any {\n if (value === undefined) {\n return value;\n }\n\n if (value instanceof Array) {\n return value.map((obj) => Object.assign(Object.create(obj), obj));\n } else {\n return Object.assign(Object.create(value), value);\n }\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ClonePipe } from './clone.pipe';\n\n/**\n * @deprecated import the ClonePipe directly\n */\n@NgModule({\n imports: [ClonePipe],\n exports: [ClonePipe]\n})\nexport class IgoCloneModule {\n static forRoot(): ModuleWithProviders<IgoCloneModule> {\n return {\n ngModule: IgoCloneModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,SAAS,CAAA;AACpB,IAAA,SAAS,CAAC,KAAU,EAAA;AAClB,QAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,YAAA,OAAO,KAAK,CAAC;SACd;AAED,QAAA,IAAI,KAAK,YAAY,KAAK,EAAE;YAC1B,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;SACnE;aAAM;AACL,YAAA,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;SACnD;KACF;wGAXU,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;sGAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,CAAA;;4FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBAJrB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,OAAO;AACb,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;;;ACDD;;AAEG;MAKU,cAAc,CAAA;AACzB,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,cAAc;AACxB,YAAA,SAAS,EAAE,EAAE;SACd,CAAC;KACH;wGANU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,OAAA,EAAA,CAHf,SAAS,CAAA,EAAA,OAAA,EAAA,CACT,SAAS,CAAA,EAAA,CAAA,CAAA;yGAER,cAAc,EAAA,CAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,SAAS,CAAC;oBACpB,OAAO,EAAE,CAAC,SAAS,CAAC;AACrB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"igo2-common-clone.mjs","sources":["../../../packages/common/clone/src/clone.pipe.ts","../../../packages/common/clone/src/clone.module.ts","../../../packages/common/clone/src/igo2-common-clone.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'clone',\n standalone: true\n})\nexport class ClonePipe implements PipeTransform {\n transform(value: any): any {\n if (value === undefined) {\n return value;\n }\n\n if (value instanceof Array) {\n return value.map((obj) => Object.assign(Object.create(obj), obj));\n } else {\n return Object.assign(Object.create(value), value);\n }\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ClonePipe } from './clone.pipe';\n\n/**\n * @deprecated import the ClonePipe directly\n */\n@NgModule({\n imports: [ClonePipe],\n exports: [ClonePipe]\n})\nexport class IgoCloneModule {\n static forRoot(): ModuleWithProviders<IgoCloneModule> {\n return {\n ngModule: IgoCloneModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAMa,SAAS,CAAA;AACpB,IAAA,SAAS,CAAC,KAAU,EAAA;AAClB,QAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,YAAA,OAAO,KAAK;;AAGd,QAAA,IAAI,KAAK,YAAY,KAAK,EAAE;YAC1B,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;;aAC5D;AACL,YAAA,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;;;uGAT1C,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;qGAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA;;2FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBAJrB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,OAAO;AACb,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACDD;;AAEG;MAKU,cAAc,CAAA;AACzB,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,cAAc;AACxB,YAAA,SAAS,EAAE;SACZ;;uGALQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAd,cAAc,EAAA,OAAA,EAAA,CAHf,SAAS,CAAA,EAAA,OAAA,EAAA,CACT,SAAS,CAAA,EAAA,CAAA;wGAER,cAAc,EAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,SAAS,CAAC;oBACpB,OAAO,EAAE,CAAC,SAAS;AACpB,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -40,10 +40,10 @@ class CollapseDirective {
40
40
  this.renderer.removeClass(this.target, 'igo-collapsed');
41
41
  this.renderer.removeClass(this.el.nativeElement, 'collapsed');
42
42
  }
43
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CollapseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
44
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CollapseDirective, isStandalone: true, selector: "[igoCollapse]", inputs: { target: "target", collapsed: "collapsed" }, outputs: { toggle: "toggle" }, host: { listeners: { "click": "click()" } }, ngImport: i0 });
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: CollapseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: CollapseDirective, isStandalone: true, selector: "[igoCollapse]", inputs: { target: "target", collapsed: "collapsed" }, outputs: { toggle: "toggle" }, host: { listeners: { "click": "click()" } }, ngImport: i0 });
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CollapseDirective, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: CollapseDirective, decorators: [{
47
47
  type: Directive,
48
48
  args: [{
49
49
  selector: '[igoCollapse]',
@@ -77,12 +77,12 @@ class CollapsibleComponent {
77
77
  }
78
78
  _collapsed = false;
79
79
  toggle = new EventEmitter();
80
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CollapsibleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CollapsibleComponent, isStandalone: true, selector: "igo-collapsible", inputs: { title: "title", collapsed: "collapsed" }, outputs: { toggle: "toggle" }, ngImport: i0, template: "<mat-list-item>\n <mat-icon\n class=\"igo-chevron\"\n matListItemIcon\n igoCollapse\n [target]=\"content\"\n [collapsed]=\"collapsed\"\n (toggle)=\"collapsed = $event\"\n >\n expand_less\n </mat-icon>\n <span matListItemTitle>{{ title }}</span>\n</mat-list-item>\n\n<div #content>\n <ng-content></ng-content>\n</div>\n", styles: [":host ::ng-deep .mat-mdc-list .mat-mdc-list-item.mat-mdc-list-item-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: CollapseDirective, selector: "[igoCollapse]", inputs: ["target", "collapsed"], outputs: ["toggle"] }] });
80
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: CollapsibleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: CollapsibleComponent, isStandalone: true, selector: "igo-collapsible", inputs: { title: "title", collapsed: "collapsed" }, outputs: { toggle: "toggle" }, ngImport: i0, template: "<mat-list-item>\n <mat-icon\n class=\"igo-chevron\"\n matListItemIcon\n igoCollapse\n [target]=\"content\"\n [collapsed]=\"collapsed\"\n (toggle)=\"collapsed = $event\"\n >\n expand_less\n </mat-icon>\n <span matListItemTitle>{{ title }}</span>\n</mat-list-item>\n\n<div #content>\n <ng-content></ng-content>\n</div>\n", styles: [":host ::ng-deep .mat-mdc-list .mat-mdc-list-item.mat-mdc-list-item-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: CollapseDirective, selector: "[igoCollapse]", inputs: ["target", "collapsed"], outputs: ["toggle"] }] });
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CollapsibleComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: CollapsibleComponent, decorators: [{
84
84
  type: Component,
85
- args: [{ selector: 'igo-collapsible', standalone: true, imports: [MatListModule, MatIconModule, CollapseDirective], template: "<mat-list-item>\n <mat-icon\n class=\"igo-chevron\"\n matListItemIcon\n igoCollapse\n [target]=\"content\"\n [collapsed]=\"collapsed\"\n (toggle)=\"collapsed = $event\"\n >\n expand_less\n </mat-icon>\n <span matListItemTitle>{{ title }}</span>\n</mat-list-item>\n\n<div #content>\n <ng-content></ng-content>\n</div>\n", styles: [":host ::ng-deep .mat-mdc-list .mat-mdc-list-item.mat-mdc-list-item-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}\n"] }]
85
+ args: [{ selector: 'igo-collapsible', imports: [MatListModule, MatIconModule, CollapseDirective], template: "<mat-list-item>\n <mat-icon\n class=\"igo-chevron\"\n matListItemIcon\n igoCollapse\n [target]=\"content\"\n [collapsed]=\"collapsed\"\n (toggle)=\"collapsed = $event\"\n >\n expand_less\n </mat-icon>\n <span matListItemTitle>{{ title }}</span>\n</mat-list-item>\n\n<div #content>\n <ng-content></ng-content>\n</div>\n", styles: [":host ::ng-deep .mat-mdc-list .mat-mdc-list-item.mat-mdc-list-item-avatar{height:auto;width:auto;padding:0}mat-list-item{overflow:hidden}\n"] }]
86
86
  }], propDecorators: { title: [{
87
87
  type: Input
88
88
  }], collapsed: [{
@@ -101,11 +101,11 @@ class IgoCollapsibleModule {
101
101
  providers: []
102
102
  };
103
103
  }
104
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoCollapsibleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: IgoCollapsibleModule, imports: [CollapsibleComponent, CollapseDirective], exports: [CollapsibleComponent, CollapseDirective] });
106
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoCollapsibleModule, imports: [CollapsibleComponent] });
104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoCollapsibleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: IgoCollapsibleModule, imports: [CollapsibleComponent, CollapseDirective], exports: [CollapsibleComponent, CollapseDirective] });
106
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoCollapsibleModule, imports: [CollapsibleComponent] });
107
107
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoCollapsibleModule, decorators: [{
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoCollapsibleModule, decorators: [{
109
109
  type: NgModule,
110
110
  args: [{
111
111
  imports: [CollapsibleComponent, CollapseDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"igo2-common-collapsible.mjs","sources":["../../../packages/common/collapsible/src/collapse.directive.ts","../../../packages/common/collapsible/src/collapsible.component.ts","../../../packages/common/collapsible/src/collapsible.component.html","../../../packages/common/collapsible/src/collapsible.module.ts","../../../packages/common/collapsible/src/public_api.ts","../../../packages/common/collapsible/src/igo2-common-collapsible.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Input,\n Output,\n Renderer2\n} from '@angular/core';\n\n@Directive({\n selector: '[igoCollapse]',\n standalone: true\n})\nexport class CollapseDirective {\n @Input()\n get target() {\n return this._target;\n }\n set target(value: Element) {\n this._target = value;\n }\n private _target: Element;\n\n @Input()\n get collapsed(): boolean {\n return this._collapsed;\n }\n set collapsed(collapsed: boolean) {\n collapsed ? this.collapseTarget() : this.expandTarget();\n this._collapsed = collapsed;\n this.toggle.emit(collapsed);\n }\n private _collapsed = false;\n\n @Output() toggle = new EventEmitter<boolean>();\n\n @HostListener('click')\n click() {\n this.collapsed = !this.collapsed;\n }\n\n constructor(\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n private collapseTarget() {\n this.renderer.addClass(this.target, 'igo-collapsed');\n this.renderer.addClass(this.el.nativeElement, 'collapsed');\n }\n\n private expandTarget() {\n this.renderer.removeClass(this.target, 'igo-collapsed');\n this.renderer.removeClass(this.el.nativeElement, 'collapsed');\n }\n}\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\n\nimport { CollapseDirective } from './collapse.directive';\n\n@Component({\n selector: 'igo-collapsible',\n templateUrl: './collapsible.component.html',\n styleUrls: ['./collapsible.component.scss'],\n standalone: true,\n imports: [MatListModule, MatIconModule, CollapseDirective]\n})\nexport class CollapsibleComponent {\n @Input()\n get title() {\n return this._title;\n }\n set title(value: string) {\n this._title = value;\n }\n private _title = '';\n\n @Input()\n get collapsed() {\n return this._collapsed;\n }\n set collapsed(value: boolean) {\n this._collapsed = value;\n this.toggle.emit(value);\n }\n private _collapsed = false;\n\n @Output() toggle = new EventEmitter<boolean>();\n}\n","<mat-list-item>\n <mat-icon\n class=\"igo-chevron\"\n matListItemIcon\n igoCollapse\n [target]=\"content\"\n [collapsed]=\"collapsed\"\n (toggle)=\"collapsed = $event\"\n >\n expand_less\n </mat-icon>\n <span matListItemTitle>{{ title }}</span>\n</mat-list-item>\n\n<div #content>\n <ng-content></ng-content>\n</div>\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { CollapseDirective } from './collapse.directive';\nimport { CollapsibleComponent } from './collapsible.component';\n\n/**\n * @deprecated import the components/directives directly or COLLAPSIBLE_DIRECTIVES for the set\n */\n@NgModule({\n imports: [CollapsibleComponent, CollapseDirective],\n exports: [CollapsibleComponent, CollapseDirective]\n})\nexport class IgoCollapsibleModule {\n static forRoot(): ModuleWithProviders<IgoCollapsibleModule> {\n return {\n ngModule: IgoCollapsibleModule,\n providers: []\n };\n }\n}\n","import { CollapseDirective } from './collapse.directive';\nimport { CollapsibleComponent } from './collapsible.component';\n\nexport * from './collapsible.component';\nexport * from './collapsible.module';\nexport * from './collapse.directive';\n\nexport const COLLAPSIBLE_DIRECTIVES = [\n CollapsibleComponent,\n CollapseDirective\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAca,iBAAiB,CAAA;AA6BlB,IAAA,QAAA,CAAA;AACA,IAAA,EAAA,CAAA;AA7BV,IAAA,IACI,MAAM,GAAA;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;KACrB;IACD,IAAI,MAAM,CAAC,KAAc,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;KACtB;AACO,IAAA,OAAO,CAAU;AAEzB,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;KACxB;IACD,IAAI,SAAS,CAAC,SAAkB,EAAA;A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BAAoB;AAC9B,YAAA,SAAS,EAAE,EAAE;SACd,CAAC;KACH;wGANU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHrB,oBAAoB,EAAE,iBAAiB,CACvC,EAAA,OAAA,EAAA,CAAA,oBAAoB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAEtC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHrB,oBAAoB,CAAA,EAAA,CAAA,CAAA;;4FAGnB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,iBAAiB,CAAC;AAClD,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,iBAAiB,CAAC;AACnD,iBAAA,CAAA;;;ACJY,MAAA,sBAAsB,GAAG;IACpC,oBAAoB;IACpB,iBAAiB;;;ACTnB;;AAEG;;;;"}
1
+ {"version":3,"file":"igo2-common-collapsible.mjs","sources":["../../../packages/common/collapsible/src/collapse.directive.ts","../../../packages/common/collapsible/src/collapsible.component.ts","../../../packages/common/collapsible/src/collapsible.component.html","../../../packages/common/collapsible/src/collapsible.module.ts","../../../packages/common/collapsible/src/public_api.ts","../../../packages/common/collapsible/src/igo2-common-collapsible.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Input,\n Output,\n Renderer2\n} from '@angular/core';\n\n@Directive({\n selector: '[igoCollapse]',\n standalone: true\n})\nexport class CollapseDirective {\n @Input()\n get target() {\n return this._target;\n }\n set target(value: Element) {\n this._target = value;\n }\n private _target: Element;\n\n @Input()\n get collapsed(): boolean {\n return this._collapsed;\n }\n set collapsed(collapsed: boolean) {\n collapsed ? this.collapseTarget() : this.expandTarget();\n this._collapsed = collapsed;\n this.toggle.emit(collapsed);\n }\n private _collapsed = false;\n\n @Output() toggle = new EventEmitter<boolean>();\n\n @HostListener('click')\n click() {\n this.collapsed = !this.collapsed;\n }\n\n constructor(\n private renderer: Renderer2,\n private el: ElementRef\n ) {}\n\n private collapseTarget() {\n this.renderer.addClass(this.target, 'igo-collapsed');\n this.renderer.addClass(this.el.nativeElement, 'collapsed');\n }\n\n private expandTarget() {\n this.renderer.removeClass(this.target, 'igo-collapsed');\n this.renderer.removeClass(this.el.nativeElement, 'collapsed');\n }\n}\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\n\nimport { CollapseDirective } from './collapse.directive';\n\n@Component({\n selector: 'igo-collapsible',\n templateUrl: './collapsible.component.html',\n styleUrls: ['./collapsible.component.scss'],\n imports: [MatListModule, MatIconModule, CollapseDirective]\n})\nexport class CollapsibleComponent {\n @Input()\n get title() {\n return this._title;\n }\n set title(value: string) {\n this._title = value;\n }\n private _title = '';\n\n @Input()\n get collapsed() {\n return this._collapsed;\n }\n set collapsed(value: boolean) {\n this._collapsed = value;\n this.toggle.emit(value);\n }\n private _collapsed = false;\n\n @Output() toggle = new EventEmitter<boolean>();\n}\n","<mat-list-item>\n <mat-icon\n class=\"igo-chevron\"\n matListItemIcon\n igoCollapse\n [target]=\"content\"\n [collapsed]=\"collapsed\"\n (toggle)=\"collapsed = $event\"\n >\n expand_less\n </mat-icon>\n <span matListItemTitle>{{ title }}</span>\n</mat-list-item>\n\n<div #content>\n <ng-content></ng-content>\n</div>\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { CollapseDirective } from './collapse.directive';\nimport { CollapsibleComponent } from './collapsible.component';\n\n/**\n * @deprecated import the components/directives directly or COLLAPSIBLE_DIRECTIVES for the set\n */\n@NgModule({\n imports: [CollapsibleComponent, CollapseDirective],\n exports: [CollapsibleComponent, CollapseDirective]\n})\nexport class IgoCollapsibleModule {\n static forRoot(): ModuleWithProviders<IgoCollapsibleModule> {\n return {\n ngModule: IgoCollapsibleModule,\n providers: []\n };\n }\n}\n","import { CollapseDirective } from './collapse.directive';\nimport { CollapsibleComponent } from './collapsible.component';\n\nexport * from './collapsible.component';\nexport * from './collapsible.module';\nexport * from './collapse.directive';\n\nexport const COLLAPSIBLE_DIRECTIVES = [\n CollapsibleComponent,\n CollapseDirective\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAca,iBAAiB,CAAA;AA6BlB,IAAA,QAAA;AACA,IAAA,EAAA;AA7BV,IAAA,IACI,MAAM,GAAA;QACR,OAAO,IAAI,CAAC,OAAO;;IAErB,IAAI,MAAM,CAAC,KAAc,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK;;AAEd,IAAA,OAAO;AAEf,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,UAAU;;IAExB,IAAI,SAAS,CAAC,SAAkB,EAAA;AAC9B,QAAA,SAAS,GAAG,IAAI,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE;AACvD,QAAA,IAAI,CAAC,UAAU,GAAG,SAAS;AAC3B,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;;IAErB,UAAU,GAAG,KAAK;AAEhB,IAAA,MAAM,GAAG,IAAI,YAAY,EAAW;IAG9C,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS;;IAGlC,WACU,CAAA,QAAmB,EACnB,EAAc,EAAA;QAD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AAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,iBAAiB,CAAC;AAClD,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,iBAAiB;AAClD,iBAAA;;;ACJY,MAAA,sBAAsB,GAAG;IACpC,oBAAoB;IACpB;;;ACTF;;AAEG;;;;"}
@@ -71,16 +71,16 @@ class ColorPickerFormFieldComponent {
71
71
  }
72
72
  return color;
73
73
  }
74
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColorPickerFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
75
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ColorPickerFormFieldComponent, isStandalone: true, selector: "igo-color-picker-form-field", inputs: { outputFormat: "outputFormat" }, outputs: { colorChange: "colorChange" }, providers: [
74
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColorPickerFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
75
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: ColorPickerFormFieldComponent, isStandalone: true, selector: "igo-color-picker-form-field", inputs: { outputFormat: "outputFormat" }, outputs: { colorChange: "colorChange" }, providers: [
76
76
  {
77
77
  provide: NG_VALUE_ACCESSOR,
78
78
  useExisting: forwardRef(() => ColorPickerFormFieldComponent),
79
79
  multi: true
80
80
  }
81
- ], ngImport: i0, template: "<mat-form-field\n class=\"fill-field\"\n floatLabel=\"always\"\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n subscriptSizing=\"dynamic\"\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n (click)=\"isOpen = !isOpen\"\n>\n <mat-label>{{ colorPicker }}</mat-label>\n <input\n type=\"text\"\n matInput\n [readonly]=\"true\"\n [style.background]=\"colorPicker\"\n />\n</mat-form-field>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n (backdropClick)=\"isOpen = false\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n>\n <div class=\"picker\">\n <color-chrome (onChange)=\"handleChange($event)\" [color]=\"colorPicker\">\n </color-chrome>\n <div class=\"buttons\">\n <button mat-flat-button color=\"primary\" (click)=\"handleClick($event)\">\n {{ 'igo.common.confirmDialog.applyBtn' | translate }}\n </button>\n </div>\n </div>\n</ng-template>\n", styles: [".picker{left:100%;position:absolute;top:100%;background-color:#fff;border-radius:8px;overflow:hidden;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.picker ::ng-deep .chrome-picker{box-shadow:none}.picker .buttons{padding:4px 12px 8px;display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1.MatLabel, selector: "mat-label" }, { kind: "directive", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: ColorChromeModule }, { kind: "component", type: i3.ChromeComponent, selector: "color-chrome", inputs: ["disableAlpha"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
81
+ ], ngImport: i0, template: "<mat-form-field\n class=\"fill-field\"\n floatLabel=\"always\"\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n subscriptSizing=\"dynamic\"\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n (click)=\"isOpen = !isOpen\"\n>\n <mat-label>{{ colorPicker }}</mat-label>\n <input\n type=\"text\"\n matInput\n [readonly]=\"true\"\n [style.background]=\"colorPicker\"\n />\n</mat-form-field>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n (backdropClick)=\"isOpen = false\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n>\n <div class=\"picker\">\n <color-chrome (onChange)=\"handleChange($event)\" [color]=\"colorPicker\">\n </color-chrome>\n <div class=\"buttons\">\n <button mat-flat-button color=\"primary\" (click)=\"handleClick($event)\">\n {{ 'igo.common.confirmDialog.applyBtn' | translate }}\n </button>\n </div>\n </div>\n</ng-template>\n", styles: [".picker{left:100%;position:absolute;top:100%;background-color:#fff;border-radius:8px;overflow:hidden;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.picker ::ng-deep .chrome-picker{box-shadow:none}.picker .buttons{padding:4px 12px 8px;display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1.MatLabel, selector: "mat-label" }, { kind: "directive", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: ColorChromeModule }, { kind: "component", type: i3.ChromeComponent, selector: "color-chrome", inputs: ["disableAlpha"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColorPickerFormFieldComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColorPickerFormFieldComponent, decorators: [{
84
84
  type: Component,
85
85
  args: [{ selector: 'igo-color-picker-form-field', providers: [
86
86
  {
@@ -88,7 +88,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
88
88
  useExisting: forwardRef(() => ColorPickerFormFieldComponent),
89
89
  multi: true
90
90
  }
91
- ], standalone: true, imports: [
91
+ ], imports: [
92
92
  MatFormFieldModule,
93
93
  CdkOverlayOrigin,
94
94
  MatInputModule,
@@ -107,11 +107,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
107
107
  * @deprecated import the ColorPickerFormFieldComponent directly
108
108
  */
109
109
  class ColorPickerFormFieldModule {
110
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColorPickerFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
111
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ColorPickerFormFieldModule, imports: [ColorPickerFormFieldComponent], exports: [ColorPickerFormFieldComponent] });
112
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColorPickerFormFieldModule, imports: [ColorPickerFormFieldComponent] });
110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColorPickerFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
111
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: ColorPickerFormFieldModule, imports: [ColorPickerFormFieldComponent], exports: [ColorPickerFormFieldComponent] });
112
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColorPickerFormFieldModule, imports: [ColorPickerFormFieldComponent] });
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColorPickerFormFieldModule, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColorPickerFormFieldModule, decorators: [{
115
115
  type: NgModule,
116
116
  args: [{
117
117
  imports: [ColorPickerFormFieldComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"igo2-common-color.mjs","sources":["../../../packages/common/color/src/color-picker-form-field/color-picker-form-field.component.ts","../../../packages/common/color/src/color-picker-form-field/color-picker-form-field.component.html","../../../packages/common/color/src/color-picker-form-field/color-picker-form-field.module.ts","../../../packages/common/color/src/igo2-common-color.ts"],"sourcesContent":["import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay';\nimport {\n Component,\n EventEmitter,\n Input,\n Output,\n forwardRef\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\n\nimport { IgoLanguageModule } from '@igo2/core/language';\n\nimport { ColorEvent } from 'ngx-color';\nimport { ColorChromeModule } from 'ngx-color/chrome';\nimport tinycolor, { ColorInput } from 'tinycolor2';\n\ntype ColorFormat = 'hex' | 'rgba' | 'hsla';\n\n@Component({\n selector: 'igo-color-picker-form-field',\n templateUrl: './color-picker-form-field.component.html',\n styleUrls: ['./color-picker-form-field.component.scss'],\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ColorPickerFormFieldComponent),\n multi: true\n }\n ],\n standalone: true,\n imports: [\n MatFormFieldModule,\n CdkOverlayOrigin,\n MatInputModule,\n CdkConnectedOverlay,\n ColorChromeModule,\n MatButtonModule,\n IgoLanguageModule\n ]\n})\nexport class ColorPickerFormFieldComponent implements ControlValueAccessor {\n isOpen = false;\n\n set value(value: string) {\n this._value = this.formatColor(value ?? '#000');\n this.colorPicker = this._value;\n\n this.onChange(this.value);\n this.onTouch(this.value);\n }\n get value(): string {\n return this._value;\n }\n private _value: string;\n\n @Input() outputFormat: ColorFormat = 'rgba';\n\n /**\n * The emitted value represent the current chosen color in the picker\n * The value is emitted by default in RGBA, or based on the input 'outputFormat' value.\n */\n @Output() colorChange: EventEmitter<string> = new EventEmitter<string>();\n\n colorPicker: string;\n\n onChange: any = () => void 1;\n onTouch: any = () => void 1;\n\n writeValue(value: string) {\n this.value = value;\n }\n\n registerOnChange(fn: any) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any) {\n this.onTouch = fn;\n }\n\n handleClick(event: MouseEvent) {\n event.preventDefault();\n event.stopPropagation();\n this.isOpen = false;\n this.value = this.colorPicker;\n }\n\n handleChange($event: ColorEvent) {\n this.colorPicker = this.formatColor($event.color.rgb, 'rgba');\n this.colorChange.emit(this.formatColor(this.colorPicker));\n }\n\n private formatColor(\n color: ColorInput,\n format: ColorFormat = this.outputFormat\n ): string {\n switch (format) {\n case 'hex':\n color = tinycolor(color).toHexString();\n break;\n case 'rgba':\n color = tinycolor(color).toRgbString();\n break;\n case 'hsla':\n color = tinycolor(color).toHsvString();\n break;\n default:\n color = tinycolor(color).toRgbString();\n break;\n }\n return color;\n }\n}\n","<mat-form-field\n class=\"fill-field\"\n floatLabel=\"always\"\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n subscriptSizing=\"dynamic\"\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n (click)=\"isOpen = !isOpen\"\n>\n <mat-label>{{ colorPicker }}</mat-label>\n <input\n type=\"text\"\n matInput\n [readonly]=\"true\"\n [style.background]=\"colorPicker\"\n />\n</mat-form-field>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n (backdropClick)=\"isOpen = false\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n>\n <div class=\"picker\">\n <color-chrome (onChange)=\"handleChange($event)\" [color]=\"colorPicker\">\n </color-chrome>\n <div class=\"buttons\">\n <button mat-flat-button color=\"primary\" (click)=\"handleClick($event)\">\n {{ 'igo.common.confirmDialog.applyBtn' | translate }}\n </button>\n </div>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\n\nimport { ColorPickerFormFieldComponent } from './color-picker-form-field.component';\n\n/**\n * @deprecated import the ColorPickerFormFieldComponent directly\n */\n@NgModule({\n imports: [ColorPickerFormFieldComponent],\n exports: [ColorPickerFormFieldComponent]\n})\nexport class ColorPickerFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n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,qBAAA,EAAA,QAAA,EAAA,siCAAA,EAAA,MAAA,EAAA,CAAA,8SAAA,CAAA,EAAA,CAAA;8BAiBQ,YAAY,EAAA,CAAA;sBAApB,KAAK;gBAMI,WAAW,EAAA,CAAA;sBAApB,MAAM;;;AE5DT;;AAEG;MAKU,0BAA0B,CAAA;wGAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAA1B,0BAA0B,EAAA,OAAA,EAAA,CAH3B,6BAA6B,CAAA,EAAA,OAAA,EAAA,CAC7B,6BAA6B,CAAA,EAAA,CAAA,CAAA;AAE5B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAH3B,6BAA6B,CAAA,EAAA,CAAA,CAAA;;4FAG5B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,6BAA6B,CAAC;oBACxC,OAAO,EAAE,CAAC,6BAA6B,CAAC;AACzC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"igo2-common-color.mjs","sources":["../../../packages/common/color/src/color-picker-form-field/color-picker-form-field.component.ts","../../../packages/common/color/src/color-picker-form-field/color-picker-form-field.component.html","../../../packages/common/color/src/color-picker-form-field/color-picker-form-field.module.ts","../../../packages/common/color/src/igo2-common-color.ts"],"sourcesContent":["import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay';\nimport {\n Component,\n EventEmitter,\n Input,\n Output,\n forwardRef\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\n\nimport { IgoLanguageModule } from '@igo2/core/language';\n\nimport { ColorEvent } from 'ngx-color';\nimport { ColorChromeModule } from 'ngx-color/chrome';\nimport tinycolor, { ColorInput } from 'tinycolor2';\n\ntype ColorFormat = 'hex' | 'rgba' | 'hsla';\n\n@Component({\n selector: 'igo-color-picker-form-field',\n templateUrl: './color-picker-form-field.component.html',\n styleUrls: ['./color-picker-form-field.component.scss'],\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ColorPickerFormFieldComponent),\n multi: true\n }\n ],\n imports: [\n MatFormFieldModule,\n CdkOverlayOrigin,\n MatInputModule,\n CdkConnectedOverlay,\n ColorChromeModule,\n MatButtonModule,\n IgoLanguageModule\n ]\n})\nexport class ColorPickerFormFieldComponent implements ControlValueAccessor {\n isOpen = false;\n\n set value(value: string) {\n this._value = this.formatColor(value ?? '#000');\n this.colorPicker = this._value;\n\n this.onChange(this.value);\n this.onTouch(this.value);\n }\n get value(): string {\n return this._value;\n }\n private _value: string;\n\n @Input() outputFormat: ColorFormat = 'rgba';\n\n /**\n * The emitted value represent the current chosen color in the picker\n * The value is emitted by default in RGBA, or based on the input 'outputFormat' value.\n */\n @Output() colorChange: EventEmitter<string> = new EventEmitter<string>();\n\n colorPicker: string;\n\n onChange: any = () => void 1;\n onTouch: any = () => void 1;\n\n writeValue(value: string) {\n this.value = value;\n }\n\n registerOnChange(fn: any) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any) {\n this.onTouch = fn;\n }\n\n handleClick(event: MouseEvent) {\n event.preventDefault();\n event.stopPropagation();\n this.isOpen = false;\n this.value = this.colorPicker;\n }\n\n handleChange($event: ColorEvent) {\n this.colorPicker = this.formatColor($event.color.rgb, 'rgba');\n this.colorChange.emit(this.formatColor(this.colorPicker));\n }\n\n private formatColor(\n color: ColorInput,\n format: ColorFormat = this.outputFormat\n ): string {\n switch (format) {\n case 'hex':\n color = tinycolor(color).toHexString();\n break;\n case 'rgba':\n color = tinycolor(color).toRgbString();\n break;\n case 'hsla':\n color = tinycolor(color).toHsvString();\n break;\n default:\n color = tinycolor(color).toRgbString();\n break;\n }\n return color;\n }\n}\n","<mat-form-field\n class=\"fill-field\"\n floatLabel=\"always\"\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n subscriptSizing=\"dynamic\"\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n (click)=\"isOpen = !isOpen\"\n>\n <mat-label>{{ colorPicker }}</mat-label>\n <input\n type=\"text\"\n matInput\n [readonly]=\"true\"\n [style.background]=\"colorPicker\"\n />\n</mat-form-field>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n (backdropClick)=\"isOpen = false\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n>\n <div class=\"picker\">\n <color-chrome (onChange)=\"handleChange($event)\" [color]=\"colorPicker\">\n </color-chrome>\n <div class=\"buttons\">\n <button mat-flat-button color=\"primary\" (click)=\"handleClick($event)\">\n {{ 'igo.common.confirmDialog.applyBtn' | translate }}\n </button>\n </div>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\n\nimport { ColorPickerFormFieldComponent } from './color-picker-form-field.component';\n\n/**\n * @deprecated import the ColorPickerFormFieldComponent directly\n */\n@NgModule({\n imports: [ColorPickerFormFieldComponent],\n exports: [ColorPickerFormFieldComponent]\n})\nexport class ColorPickerFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MA0Ca,6BAA6B,CAAA;IACxC,MAAM,GAAG,KAAK;IAEd,IAAI,KAAK,CAAC,KAAa,EAAA;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,IAAI,MAAM,CAAC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EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAH3B,6BAA6B,CAAA,EAAA,CAAA;;2FAG5B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,6BAA6B,CAAC;oBACxC,OAAO,EAAE,CAAC,6BAA6B;AACxC,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -16,12 +16,12 @@ class ConfirmDialogComponent {
16
16
  constructor(dialogRef) {
17
17
  this.dialogRef = dialogRef;
18
18
  }
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
20
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ConfirmDialogComponent, isStandalone: true, selector: "igo-confirm-dialog", ngImport: i0, template: "<h2 mat-dialog-title class=\"mat-typography\">\n {{ titleKey | translate }}\n</h2>\n<div mat-dialog-content class=\"mat-typography\">\n {{ confirmMessage | translate }}\n</div>\n<div mat-dialog-actions>\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(true)\">\n {{ proccessKey | translate }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\">\n {{ cancelKey | translate }}\n </button>\n</div>\n", styles: ["h2{margin:5px 0 10px}div[mat-dialog-content]{max-width:200px}div[mat-dialog-actions]{margin:10px 0 0}\n"], dependencies: [{ kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
20
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: ConfirmDialogComponent, isStandalone: true, selector: "igo-confirm-dialog", ngImport: i0, template: "<h2 mat-dialog-title class=\"mat-typography\">\n {{ titleKey | translate }}\n</h2>\n<div mat-dialog-content class=\"mat-typography\">\n {{ confirmMessage | translate }}\n</div>\n<div mat-dialog-actions>\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(true)\">\n {{ proccessKey | translate }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\">\n {{ cancelKey | translate }}\n </button>\n</div>\n", styles: ["h2{margin:5px 0 10px}div[mat-dialog-content]{max-width:200px}div[mat-dialog-actions]{margin:10px 0 0}\n"], dependencies: [{ kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
23
23
  type: Component,
24
- args: [{ selector: 'igo-confirm-dialog', standalone: true, imports: [
24
+ args: [{ selector: 'igo-confirm-dialog', imports: [
25
25
  MatDialogTitle,
26
26
  MatDialogContent,
27
27
  MatDialogActions,
@@ -52,10 +52,10 @@ class ConfirmDialogService {
52
52
  }
53
53
  return dialogRef.afterClosed();
54
54
  }
55
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConfirmDialogService, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
56
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConfirmDialogService, providedIn: 'root' });
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ConfirmDialogService, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
56
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ConfirmDialogService, providedIn: 'root' });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConfirmDialogService, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ConfirmDialogService, decorators: [{
59
59
  type: Injectable,
60
60
  args: [{ providedIn: 'root' }]
61
61
  }], ctorParameters: () => [{ type: i1.MatDialog }] });
@@ -70,11 +70,11 @@ class IgoConfirmDialogModule {
70
70
  providers: []
71
71
  };
72
72
  }
73
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: IgoConfirmDialogModule, imports: [ConfirmDialogComponent], exports: [ConfirmDialogComponent] });
75
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoConfirmDialogModule, providers: [ConfirmDialogService], imports: [ConfirmDialogComponent] });
73
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: IgoConfirmDialogModule, imports: [ConfirmDialogComponent], exports: [ConfirmDialogComponent] });
75
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoConfirmDialogModule, providers: [ConfirmDialogService], imports: [ConfirmDialogComponent] });
76
76
  }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoConfirmDialogModule, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoConfirmDialogModule, decorators: [{
78
78
  type: NgModule,
79
79
  args: [{
80
80
  imports: [ConfirmDialogComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"igo2-common-confirm-dialog.mjs","sources":["../../../packages/common/confirm-dialog/src/confirm-dialog.component.ts","../../../packages/common/confirm-dialog/src/confirm-dialog.component.html","../../../packages/common/confirm-dialog/src/confirm-dialog.service.ts","../../../packages/common/confirm-dialog/src/confirm-dialog.module.ts","../../../packages/common/confirm-dialog/src/igo2-common-confirm-dialog.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n MatDialogActions,\n MatDialogContent,\n MatDialogRef,\n MatDialogTitle\n} from '@angular/material/dialog';\n\nimport { IgoLanguageModule } from '@igo2/core/language';\n\n@Component({\n selector: 'igo-confirm-dialog',\n templateUrl: './confirm-dialog.component.html',\n styleUrls: ['./confirm-dialog.component.scss'],\n standalone: true,\n imports: [\n MatDialogTitle,\n MatDialogContent,\n MatDialogActions,\n MatButtonModule,\n IgoLanguageModule\n ]\n})\nexport class ConfirmDialogComponent {\n public confirmMessage: string;\n public titleKey = 'igo.common.confirmDialog.title';\n public proccessKey = 'igo.common.confirmDialog.confirmBtn';\n public cancelKey = 'igo.common.confirmDialog.cancelBtn';\n\n constructor(public dialogRef: MatDialogRef<ConfirmDialogComponent>) {}\n}\n","<h2 mat-dialog-title class=\"mat-typography\">\n {{ titleKey | translate }}\n</h2>\n<div mat-dialog-content class=\"mat-typography\">\n {{ confirmMessage | translate }}\n</div>\n<div mat-dialog-actions>\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(true)\">\n {{ proccessKey | translate }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\">\n {{ cancelKey | translate }}\n </button>\n</div>\n","import { Injectable } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\n\nimport { Observable } from 'rxjs';\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component';\nimport { ConfirmDialogOptions } from './confirm-dialog.interface';\n\n@Injectable({ providedIn: 'root' })\nexport class ConfirmDialogService {\n constructor(private dialog: MatDialog) {}\n\n public open(\n message: string,\n options?: ConfirmDialogOptions\n ): Observable<boolean> {\n const _options: ConfirmDialogOptions = {\n title: 'igo.common.confirmDialog.title',\n modeYesNo: false,\n ...options\n };\n const dialogRef = this.dialog.open(ConfirmDialogComponent, {\n disableClose: false\n });\n dialogRef.componentInstance.confirmMessage = message;\n dialogRef.componentInstance.titleKey = _options.title;\n if (_options.modeYesNo) {\n dialogRef.componentInstance.proccessKey = 'igo.common.confirmDialog.yes';\n dialogRef.componentInstance.cancelKey = 'igo.common.confirmDialog.no';\n }\n return dialogRef.afterClosed();\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component';\nimport { ConfirmDialogService } from './confirm-dialog.service';\n\n@NgModule({\n imports: [ConfirmDialogComponent],\n exports: [ConfirmDialogComponent],\n providers: [ConfirmDialogService]\n})\nexport class IgoConfirmDialogModule {\n /**\n * @deprecated this has no effect\n */\n static forRoot(): ModuleWithProviders<IgoConfirmDialogModule> {\n return {\n ngModule: IgoConfirmDialogModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAwBa,sBAAsB,CAAA;AAMd,IAAA,SAAA,CAAA;AALZ,IAAA,cAAc,CAAS;IACvB,QAAQ,GAAG,gCAAgC,CAAC;IAC5C,WAAW,GAAG,qCAAqC,CAAC;IACpD,SAAS,GAAG,oCAAoC,CAAC;AAExD,IAAA,WAAA,CAAmB,SAA+C,EAAA;QAA/C,IAAS,CAAA,SAAA,GAAT,SAAS,CAAsC;KAAI;wGAN3D,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECxBnC,ucAcA,EAAA,MAAA,EAAA,CAAA,yGAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGI,cAAc,EAAA,QAAA,EAAA,sCAAA,EAAA,MAAA,EAAA,CAAA,IAAA,CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACd,gBAAgB,EAAA,QAAA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AAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAFtB,SAAA,EAAA,CAAC,oBAAoB,CAAC,YAFvB,sBAAsB,CAAA,EAAA,CAAA,CAAA;;4FAIrB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,SAAS,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"igo2-common-confirm-dialog.mjs","sources":["../../../packages/common/confirm-dialog/src/confirm-dialog.component.ts","../../../packages/common/confirm-dialog/src/confirm-dialog.component.html","../../../packages/common/confirm-dialog/src/confirm-dialog.service.ts","../../../packages/common/confirm-dialog/src/confirm-dialog.module.ts","../../../packages/common/confirm-dialog/src/igo2-common-confirm-dialog.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n MatDialogActions,\n MatDialogContent,\n MatDialogRef,\n MatDialogTitle\n} from '@angular/material/dialog';\n\nimport { IgoLanguageModule } from '@igo2/core/language';\n\n@Component({\n selector: 'igo-confirm-dialog',\n templateUrl: './confirm-dialog.component.html',\n styleUrls: ['./confirm-dialog.component.scss'],\n imports: [\n MatDialogTitle,\n MatDialogContent,\n MatDialogActions,\n MatButtonModule,\n IgoLanguageModule\n ]\n})\nexport class ConfirmDialogComponent {\n public confirmMessage: string;\n public titleKey = 'igo.common.confirmDialog.title';\n public proccessKey = 'igo.common.confirmDialog.confirmBtn';\n public cancelKey = 'igo.common.confirmDialog.cancelBtn';\n\n constructor(public dialogRef: MatDialogRef<ConfirmDialogComponent>) {}\n}\n","<h2 mat-dialog-title class=\"mat-typography\">\n {{ titleKey | translate }}\n</h2>\n<div mat-dialog-content class=\"mat-typography\">\n {{ confirmMessage | translate }}\n</div>\n<div mat-dialog-actions>\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(true)\">\n {{ proccessKey | translate }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\">\n {{ cancelKey | translate }}\n </button>\n</div>\n","import { Injectable } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\n\nimport { Observable } from 'rxjs';\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component';\nimport { ConfirmDialogOptions } from './confirm-dialog.interface';\n\n@Injectable({ providedIn: 'root' })\nexport class ConfirmDialogService {\n constructor(private dialog: MatDialog) {}\n\n public open(\n message: string,\n options?: ConfirmDialogOptions\n ): Observable<boolean> {\n const _options: ConfirmDialogOptions = {\n title: 'igo.common.confirmDialog.title',\n modeYesNo: false,\n ...options\n };\n const dialogRef = this.dialog.open(ConfirmDialogComponent, {\n disableClose: false\n });\n dialogRef.componentInstance.confirmMessage = message;\n dialogRef.componentInstance.titleKey = _options.title;\n if (_options.modeYesNo) {\n dialogRef.componentInstance.proccessKey = 'igo.common.confirmDialog.yes';\n dialogRef.componentInstance.cancelKey = 'igo.common.confirmDialog.no';\n }\n return dialogRef.afterClosed();\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component';\nimport { ConfirmDialogService } from './confirm-dialog.service';\n\n@NgModule({\n imports: [ConfirmDialogComponent],\n exports: [ConfirmDialogComponent],\n providers: [ConfirmDialogService]\n})\nexport class IgoConfirmDialogModule {\n /**\n * @deprecated this has no effect\n */\n static forRoot(): ModuleWithProviders<IgoConfirmDialogModule> {\n return {\n ngModule: IgoConfirmDialogModule,\n providers: []\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAuBa,sBAAsB,CAAA;AAMd,IAAA,SAAA;AALZ,IAAA,cAAc;IACd,QAAQ,GAAG,gCAAgC;IAC3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AAA,EAAA,oBAAoB,cADP,MAAM,EAAA,CAAA;;2FACnB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;MCErB,sBAAsB,CAAA;AACjC;;AAEG;AACH,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,sBAAsB;AAChC,YAAA,SAAS,EAAE;SACZ;;uGARQ,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAtB,sBAAsB,EAAA,OAAA,EAAA,CAJvB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA;AAGrB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAFtB,SAAA,EAAA,CAAC,oBAAoB,CAAC,YAFvB,sBAAsB,CAAA,EAAA,CAAA;;2FAIrB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,SAAS,EAAE,CAAC,oBAAoB;AACjC,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -86,10 +86,10 @@ class ContextMenuDirective {
86
86
  this.sub.unsubscribe();
87
87
  }
88
88
  }
89
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ContextMenuDirective, deps: [{ token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
90
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ContextMenuDirective, isStandalone: true, selector: "[igoContextMenu]", inputs: { menuContext: ["igoContextMenu", "menuContext"] }, outputs: { menuPosition: "menuPosition" }, host: { listeners: { "longpress": "onContextMenu($event)", "contextmenu": "onContextMenu($event)" } }, ngImport: i0 });
89
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ContextMenuDirective, deps: [{ token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
90
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: ContextMenuDirective, isStandalone: true, selector: "[igoContextMenu]", inputs: { menuContext: ["igoContextMenu", "menuContext"] }, outputs: { menuPosition: "menuPosition" }, host: { listeners: { "longpress": "onContextMenu($event)", "contextmenu": "onContextMenu($event)" } }, ngImport: i0 });
91
91
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ContextMenuDirective, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ContextMenuDirective, decorators: [{
93
93
  type: Directive,
94
94
  args: [{
95
95
  selector: '[igoContextMenu]',
@@ -141,10 +141,10 @@ class LongPressDirective {
141
141
  touchEnd() {
142
142
  clearTimeout(this.touchTimeout);
143
143
  }
144
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LongPressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
145
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: LongPressDirective, isStandalone: true, selector: "[igoLongPress]", inputs: { touchDuration: "touchDuration", onlyIOS: "onlyIOS" }, outputs: { longpress: "longpress" }, host: { listeners: { "touchstart": "touchstart($event)", "touchmove": "touchend()", "touchcancel": "touchend()", "touchend": "touchend()" } }, ngImport: i0 });
144
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LongPressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
145
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: LongPressDirective, isStandalone: true, selector: "[igoLongPress]", inputs: { touchDuration: "touchDuration", onlyIOS: "onlyIOS" }, outputs: { longpress: "longpress" }, host: { listeners: { "touchstart": "touchstart($event)", "touchmove": "touchend()", "touchcancel": "touchend()", "touchend": "touchend()" } }, ngImport: i0 });
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LongPressDirective, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LongPressDirective, decorators: [{
148
148
  type: Directive,
149
149
  args: [{
150
150
  selector: '[igoLongPress]',
@@ -180,11 +180,11 @@ class IgoContextMenuModule {
180
180
  providers: []
181
181
  };
182
182
  }
183
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
184
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: IgoContextMenuModule, imports: [ContextMenuDirective, LongPressDirective], exports: [ContextMenuDirective, LongPressDirective] });
185
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoContextMenuModule });
183
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
184
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: IgoContextMenuModule, imports: [ContextMenuDirective, LongPressDirective], exports: [ContextMenuDirective, LongPressDirective] });
185
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoContextMenuModule });
186
186
  }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IgoContextMenuModule, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: IgoContextMenuModule, decorators: [{
188
188
  type: NgModule,
189
189
  args: [{
190
190
  imports: [ContextMenuDirective, LongPressDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"igo2-common-context-menu.mjs","sources":["../../../packages/common/context-menu/src/context-menu.directive.ts","../../../packages/common/context-menu/src/long-press.directive.ts","../../../packages/common/context-menu/src/context-menu.module.ts","../../../packages/common/context-menu/src/public_api.ts","../../../packages/common/context-menu/src/igo2-common-context-menu.ts"],"sourcesContent":["import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Input,\n Output,\n ViewContainerRef\n} from '@angular/core';\nimport type { TemplateRef } from '@angular/core';\n\nimport { Subscription, fromEvent } from 'rxjs';\nimport { filter, take } from 'rxjs/operators';\n\n@Directive({\n selector: '[igoContextMenu]',\n standalone: true\n})\nexport class ContextMenuDirective {\n private overlayRef: OverlayRef | null;\n private sub: Subscription;\n\n @Input('igoContextMenu') menuContext: TemplateRef<any>;\n @Output() menuPosition = new EventEmitter<{ x: number; y: number }>();\n\n constructor(\n public overlay: Overlay,\n public viewContainerRef: ViewContainerRef,\n private elementRef: ElementRef\n ) {}\n\n @HostListener('longpress', ['$event'])\n @HostListener('contextmenu', ['$event'])\n public onContextMenu(e: MouseEvent | TouchEvent): void {\n let x;\n let y;\n if (e instanceof MouseEvent) {\n x = e.x;\n y = e.y;\n } else if (e instanceof TouchEvent) {\n x = e.touches[0].pageX;\n y = e.touches[0].pageY;\n }\n if (!x || !y) {\n return;\n }\n\n this.close();\n e.preventDefault();\n this.menuPosition.emit({ x, y });\n this.overlayRef = null;\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo({ x, y })\n .withPositions([\n {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top'\n }\n ]);\n this.overlayRef = this.overlay.create({\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.close()\n });\n this.overlayRef.attach(\n new TemplatePortal(this.menuContext, this.viewContainerRef, {\n $implicit: undefined\n })\n );\n\n this.sub = fromEvent<MouseEvent>(document, 'click')\n .pipe(\n filter((event) => {\n const clickTarget = event.target as HTMLElement;\n this.close();\n return (\n !!this.overlayRef &&\n !this.overlayRef.overlayElement.contains(clickTarget)\n );\n }),\n take(1)\n )\n .subscribe(() => this.close());\n\n this.sub = fromEvent<MouseEvent>(document, 'contextmenu')\n .pipe(\n filter((event) => {\n const clickTarget = event.target as HTMLElement;\n if (\n clickTarget &&\n !this.elementRef.nativeElement.contains(clickTarget) &&\n !this.overlayRef.overlayElement.contains(clickTarget)\n ) {\n return true;\n } else {\n event.preventDefault();\n }\n }),\n take(1)\n )\n .subscribe(() => this.close());\n }\n\n close() {\n if (this.overlayRef) {\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n if (this.sub) {\n this.sub.unsubscribe();\n }\n }\n}\n","import {\n Directive,\n EventEmitter,\n HostListener,\n Input,\n Output\n} from '@angular/core';\n\nimport { userAgent } from '@igo2/utils';\n\n/**\n * IgoLongPress trigger longpress event after a define duration.\n * This directive exist to patch the unavailable contextmenu event on iOS.\n * @param touchDuration touch duration in ms, default value is 400ms\n * @param iOSOnly define if longpress is triggered only for iOS, default value = true\n */\n@Directive({\n selector: '[igoLongPress]',\n standalone: true\n})\nexport class LongPressDirective {\n private touchTimeout: any;\n @Input() touchDuration = 400;\n @Input() onlyIOS = true;\n @Output() longpress = new EventEmitter();\n\n @HostListener('touchstart', ['$event'])\n public touchstart(e: TouchEvent) {\n if (e.touches.length > 1) {\n this.touchEnd();\n return;\n }\n this.touchTimeout = setTimeout(() => {\n if (this.onlyIOS) {\n if (userAgent.getOSName() === 'iOS') {\n this.longpress.emit(e);\n }\n } else {\n this.longpress.emit(e);\n }\n }, this.touchDuration);\n }\n @HostListener('touchmove')\n @HostListener('touchcancel')\n @HostListener('touchend')\n public touchend() {\n this.touchEnd();\n }\n\n private touchEnd() {\n clearTimeout(this.touchTimeout);\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ContextMenuDirective } from './context-menu.directive';\nimport { LongPressDirective } from './long-press.directive';\n\n/**\n * @deprecated import the components/directives directly or CONTEXT_MENU_DIRECTIVES for the set\n */\n@NgModule({\n imports: [ContextMenuDirective, LongPressDirective],\n exports: [ContextMenuDirective, LongPressDirective]\n})\nexport class IgoContextMenuModule {\n static forRoot(): ModuleWithProviders<IgoContextMenuModule> {\n return {\n ngModule: IgoContextMenuModule,\n providers: []\n };\n }\n}\n","import { ContextMenuDirective } from './context-menu.directive';\nimport { LongPressDirective } from './long-press.directive';\n\nexport * from './context-menu.module';\nexport * from './context-menu.directive';\nexport * from './long-press.directive';\n\nexport const CONTEXT_MENU_DIRECTIVES = [\n ContextMenuDirective,\n LongPressDirective\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAoBa,oBAAoB,CAAA;AAQtB,IAAA,OAAA,CAAA;AACA,IAAA,gBAAA,CAAA;AACC,IAAA,UAAA,CAAA;AATF,IAAA,UAAU,CAAoB;AAC9B,IAAA,GAAG,CAAe;AAED,IAAA,WAAW,CAAmB;AAC7C,IAAA,YAAY,GAAG,IAAI,YAAY,EAA4B,CAAC;AAEtE,IAAA,WAAA,CACS,OAAgB,EAChB,gBAAkC,EACjC,UAAsB,EAAA;QAFvB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;QAChB,IAAgB,CAAA,gBAAA,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AAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;AACnD,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;AACpD,iBAAA,CAAA;;;ACJY,MAAA,uBAAuB,GAAG;IACrC,oBAAoB;IACpB,kBAAkB;;;ACTpB;;AAEG;;;;"}
1
+ {"version":3,"file":"igo2-common-context-menu.mjs","sources":["../../../packages/common/context-menu/src/context-menu.directive.ts","../../../packages/common/context-menu/src/long-press.directive.ts","../../../packages/common/context-menu/src/context-menu.module.ts","../../../packages/common/context-menu/src/public_api.ts","../../../packages/common/context-menu/src/igo2-common-context-menu.ts"],"sourcesContent":["import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Input,\n Output,\n ViewContainerRef\n} from '@angular/core';\nimport type { TemplateRef } from '@angular/core';\n\nimport { Subscription, fromEvent } from 'rxjs';\nimport { filter, take } from 'rxjs/operators';\n\n@Directive({\n selector: '[igoContextMenu]',\n standalone: true\n})\nexport class ContextMenuDirective {\n private overlayRef: OverlayRef | null;\n private sub: Subscription;\n\n @Input('igoContextMenu') menuContext: TemplateRef<any>;\n @Output() menuPosition = new EventEmitter<{ x: number; y: number }>();\n\n constructor(\n public overlay: Overlay,\n public viewContainerRef: ViewContainerRef,\n private elementRef: ElementRef\n ) {}\n\n @HostListener('longpress', ['$event'])\n @HostListener('contextmenu', ['$event'])\n public onContextMenu(e: MouseEvent | TouchEvent): void {\n let x;\n let y;\n if (e instanceof MouseEvent) {\n x = e.x;\n y = e.y;\n } else if (e instanceof TouchEvent) {\n x = e.touches[0].pageX;\n y = e.touches[0].pageY;\n }\n if (!x || !y) {\n return;\n }\n\n this.close();\n e.preventDefault();\n this.menuPosition.emit({ x, y });\n this.overlayRef = null;\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo({ x, y })\n .withPositions([\n {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top'\n }\n ]);\n this.overlayRef = this.overlay.create({\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.close()\n });\n this.overlayRef.attach(\n new TemplatePortal(this.menuContext, this.viewContainerRef, {\n $implicit: undefined\n })\n );\n\n this.sub = fromEvent<MouseEvent>(document, 'click')\n .pipe(\n filter((event) => {\n const clickTarget = event.target as HTMLElement;\n this.close();\n return (\n !!this.overlayRef &&\n !this.overlayRef.overlayElement.contains(clickTarget)\n );\n }),\n take(1)\n )\n .subscribe(() => this.close());\n\n this.sub = fromEvent<MouseEvent>(document, 'contextmenu')\n .pipe(\n filter((event) => {\n const clickTarget = event.target as HTMLElement;\n if (\n clickTarget &&\n !this.elementRef.nativeElement.contains(clickTarget) &&\n !this.overlayRef.overlayElement.contains(clickTarget)\n ) {\n return true;\n } else {\n event.preventDefault();\n }\n }),\n take(1)\n )\n .subscribe(() => this.close());\n }\n\n close() {\n if (this.overlayRef) {\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n if (this.sub) {\n this.sub.unsubscribe();\n }\n }\n}\n","import {\n Directive,\n EventEmitter,\n HostListener,\n Input,\n Output\n} from '@angular/core';\n\nimport { userAgent } from '@igo2/utils';\n\n/**\n * IgoLongPress trigger longpress event after a define duration.\n * This directive exist to patch the unavailable contextmenu event on iOS.\n * @param touchDuration touch duration in ms, default value is 400ms\n * @param iOSOnly define if longpress is triggered only for iOS, default value = true\n */\n@Directive({\n selector: '[igoLongPress]',\n standalone: true\n})\nexport class LongPressDirective {\n private touchTimeout: any;\n @Input() touchDuration = 400;\n @Input() onlyIOS = true;\n @Output() longpress = new EventEmitter();\n\n @HostListener('touchstart', ['$event'])\n public touchstart(e: TouchEvent) {\n if (e.touches.length > 1) {\n this.touchEnd();\n return;\n }\n this.touchTimeout = setTimeout(() => {\n if (this.onlyIOS) {\n if (userAgent.getOSName() === 'iOS') {\n this.longpress.emit(e);\n }\n } else {\n this.longpress.emit(e);\n }\n }, this.touchDuration);\n }\n @HostListener('touchmove')\n @HostListener('touchcancel')\n @HostListener('touchend')\n public touchend() {\n this.touchEnd();\n }\n\n private touchEnd() {\n clearTimeout(this.touchTimeout);\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { ContextMenuDirective } from './context-menu.directive';\nimport { LongPressDirective } from './long-press.directive';\n\n/**\n * @deprecated import the components/directives directly or CONTEXT_MENU_DIRECTIVES for the set\n */\n@NgModule({\n imports: [ContextMenuDirective, LongPressDirective],\n exports: [ContextMenuDirective, LongPressDirective]\n})\nexport class IgoContextMenuModule {\n static forRoot(): ModuleWithProviders<IgoContextMenuModule> {\n return {\n ngModule: IgoContextMenuModule,\n providers: []\n };\n }\n}\n","import { ContextMenuDirective } from './context-menu.directive';\nimport { LongPressDirective } from './long-press.directive';\n\nexport * from './context-menu.module';\nexport * from './context-menu.directive';\nexport * from './long-press.directive';\n\nexport const CONTEXT_MENU_DIRECTIVES = [\n ContextMenuDirective,\n LongPressDirective\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAoBa,oBAAoB,CAAA;AAQtB,IAAA,OAAA;AACA,IAAA,gBAAA;AACC,IAAA,UAAA;AATF,IAAA,UAAU;AACV,IAAA,GAAG;AAEc,IAAA,WAAW;AAC1B,IAAA,YAAY,GAAG,IAAI,YAAY,EAA4B;AAErE,IAAA,WAAA,CACS,OAAgB,EAChB,gBAAkC,EACjC,UAAsB,EAAA;QAFvB,IAAO,CAAA,OAAA,GAAP,OAAO;QACP,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB;QACf,IAAU,CAAA,UAAA,GAAV,UAAU;;AAKb,IAAA,aAAa,CAAC,CAA0B,EAAA;AAC7C,QAAA,IAAI,CAAC;AACL,QAAA,IAAI,CAAC;AACL,QAAA,IAAI,CAAC,YAAY,UAAU,EAAE;AAC3B,YAAA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