@mediusinc/mng-commons 0.8.0-rc.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/assets/i18n/en.json +3 -1
  2. package/assets/i18n/sl.json +3 -1
  3. package/esm2020/lib/api/models/builders/query-param.builder.mjs +58 -58
  4. package/esm2020/lib/api/models/filter-match-type.model.mjs +24 -24
  5. package/esm2020/lib/api/models/filter-param.model.mjs +32 -32
  6. package/esm2020/lib/api/models/index.mjs +8 -8
  7. package/esm2020/lib/api/models/mappers.mjs +12 -12
  8. package/esm2020/lib/api/models/query-mode.model.mjs +17 -17
  9. package/esm2020/lib/api/models/query-param.model.mjs +67 -67
  10. package/esm2020/lib/api/models/query-result.model.mjs +17 -17
  11. package/esm2020/lib/api/models/serialization.model.mjs +1 -1
  12. package/esm2020/lib/api/services/api.abstract.service.mjs +55 -55
  13. package/esm2020/lib/api/services/crud-api.abstract.service.mjs +66 -66
  14. package/esm2020/lib/api/services/get-all-api.abstract.service.mjs +22 -22
  15. package/esm2020/lib/api/services/index.mjs +3 -3
  16. package/esm2020/lib/api/utils/index.mjs +2 -2
  17. package/esm2020/lib/api/utils/medius-rest.util.mjs +152 -152
  18. package/esm2020/lib/api/utils/object-serializer.util.mjs +243 -243
  19. package/esm2020/lib/components/action/action.component.mjs +178 -177
  20. package/esm2020/lib/components/action/editor/action-editor.component.mjs +248 -230
  21. package/esm2020/lib/components/action/index.mjs +3 -3
  22. package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +1 -1
  23. package/esm2020/lib/components/action/models/action-execution.model.mjs +234 -234
  24. package/esm2020/lib/components/action/models/index.mjs +2 -2
  25. package/esm2020/lib/components/action/route/action-route.component.mjs +125 -125
  26. package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +268 -268
  27. package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +160 -160
  28. package/esm2020/lib/components/form/editor/form-editor.component.mjs +189 -189
  29. package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +18 -18
  30. package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +42 -42
  31. package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +25 -25
  32. package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +96 -96
  33. package/esm2020/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.mjs +16 -16
  34. package/esm2020/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +179 -179
  35. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +155 -156
  36. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +127 -127
  37. package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +16 -16
  38. package/esm2020/lib/components/form/formly/fields/index.mjs +9 -9
  39. package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +14 -14
  40. package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +14 -14
  41. package/esm2020/lib/components/form/formly/wrappers/index.mjs +2 -2
  42. package/esm2020/lib/components/form/index.mjs +3 -3
  43. package/esm2020/lib/components/form/models/form-editor.event.mjs +33 -33
  44. package/esm2020/lib/components/form/models/index.mjs +1 -1
  45. package/esm2020/lib/components/layout/breadcrumb.component.mjs +16 -16
  46. package/esm2020/lib/components/layout/footer.component.mjs +16 -16
  47. package/esm2020/lib/components/layout/index.mjs +6 -6
  48. package/esm2020/lib/components/layout/main-layout.component.mjs +51 -51
  49. package/esm2020/lib/components/layout/menu-item.component.mjs +216 -216
  50. package/esm2020/lib/components/layout/menu.component.mjs +19 -19
  51. package/esm2020/lib/components/layout/services/index.mjs +1 -1
  52. package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +192 -192
  53. package/esm2020/lib/components/layout/topbar.component.mjs +57 -57
  54. package/esm2020/lib/components/tableview/index.mjs +6 -6
  55. package/esm2020/lib/components/tableview/models/index.mjs +1 -1
  56. package/esm2020/lib/components/tableview/models/table.event.mjs +15 -15
  57. package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +58 -56
  58. package/esm2020/lib/components/tableview/route/tableview-route.component.mjs +53 -53
  59. package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +102 -102
  60. package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +71 -46
  61. package/esm2020/lib/components/tableview/table/table.component.mjs +428 -430
  62. package/esm2020/lib/components/tableview/tableview.component.mjs +92 -92
  63. package/esm2020/lib/config/formly.config.mjs +180 -180
  64. package/esm2020/lib/config/index.mjs +1 -1
  65. package/esm2020/lib/config/models/index.mjs +1 -1
  66. package/esm2020/lib/config/models/mng-config.model.mjs +1 -1
  67. package/esm2020/lib/data-providers/base.data-provider.mjs +16 -16
  68. package/esm2020/lib/data-providers/editor.data-provider.mjs +36 -36
  69. package/esm2020/lib/data-providers/index.mjs +5 -5
  70. package/esm2020/lib/data-providers/lookup.data-provider.mjs +15 -15
  71. package/esm2020/lib/data-providers/table.data-provider.mjs +16 -16
  72. package/esm2020/lib/data-providers/tableview.data-provider.mjs +16 -16
  73. package/esm2020/lib/descriptors/action.descriptor.mjs +566 -623
  74. package/esm2020/lib/descriptors/column.descriptor.mjs +261 -256
  75. package/esm2020/lib/descriptors/editor.descriptor.mjs +147 -155
  76. package/esm2020/lib/descriptors/field-validation.descriptor.mjs +20 -20
  77. package/esm2020/lib/descriptors/field.descriptor.mjs +800 -864
  78. package/esm2020/lib/descriptors/filter.descriptor.mjs +262 -295
  79. package/esm2020/lib/descriptors/index.mjs +10 -12
  80. package/esm2020/lib/descriptors/interfaces/field-config.interface.mjs +2 -0
  81. package/esm2020/lib/descriptors/interfaces/index.mjs +3 -0
  82. package/esm2020/lib/descriptors/interfaces/lookup-descriptor.interface.mjs +2 -0
  83. package/esm2020/lib/descriptors/model.descriptor.mjs +33 -33
  84. package/esm2020/lib/descriptors/table.descriptor.mjs +197 -214
  85. package/esm2020/lib/descriptors/tableview.descriptor.mjs +135 -135
  86. package/esm2020/lib/descriptors/types/action.type.mjs +53 -0
  87. package/esm2020/lib/descriptors/types/column.type.mjs +11 -0
  88. package/esm2020/lib/descriptors/types/editor.type.mjs +8 -0
  89. package/esm2020/lib/descriptors/types/field.type.mjs +53 -0
  90. package/esm2020/lib/descriptors/types/filter.type.mjs +31 -0
  91. package/esm2020/lib/descriptors/types/index.mjs +7 -0
  92. package/esm2020/lib/descriptors/types/table.type.mjs +17 -0
  93. package/esm2020/lib/directives/component.directive.mjs +43 -43
  94. package/esm2020/lib/directives/index.mjs +2 -2
  95. package/esm2020/lib/directives/template.directive.mjs +27 -27
  96. package/esm2020/lib/mng-commons.module.mjs +426 -426
  97. package/esm2020/lib/models/column-value.model.mjs +1 -1
  98. package/esm2020/lib/models/enum.model.mjs +1 -1
  99. package/esm2020/lib/models/error.model.mjs +1 -1
  100. package/esm2020/lib/models/index.mjs +6 -6
  101. package/esm2020/lib/models/menu.model.mjs +1 -1
  102. package/esm2020/lib/models/user.model.mjs +1 -1
  103. package/esm2020/lib/models/view-container.model.mjs +1 -1
  104. package/esm2020/lib/pipes/boolean.pipe.mjs +26 -26
  105. package/esm2020/lib/pipes/enum.pipe.mjs +25 -25
  106. package/esm2020/lib/pipes/i18n-property.pipe.mjs +17 -17
  107. package/esm2020/lib/pipes/index.mjs +5 -5
  108. package/esm2020/lib/pipes/json-path.pipe.mjs +79 -79
  109. package/esm2020/lib/pipes/link-formatter.pipe.mjs +38 -38
  110. package/esm2020/lib/router/index.mjs +1 -1
  111. package/esm2020/lib/router/models/index.mjs +1 -1
  112. package/esm2020/lib/router/models/router.model.mjs +1 -1
  113. package/esm2020/lib/router/route-builder.mjs +431 -431
  114. package/esm2020/lib/services/action-executor.service.mjs +536 -535
  115. package/esm2020/lib/services/commons.service.mjs +328 -344
  116. package/esm2020/lib/services/configuration.service.mjs +110 -110
  117. package/esm2020/lib/services/error-mapper.service.mjs +13 -13
  118. package/esm2020/lib/services/index.mjs +6 -6
  119. package/esm2020/lib/services/internal/commons-init.provider.mjs +3 -3
  120. package/esm2020/lib/services/internal/commons-init.service.mjs +43 -43
  121. package/esm2020/lib/services/internal/index.mjs +2 -2
  122. package/esm2020/lib/services/navigation.service.mjs +47 -47
  123. package/esm2020/lib/services/providers/config-service.provider.mjs +29 -29
  124. package/esm2020/lib/services/providers/formly-config.provider.mjs +30 -30
  125. package/esm2020/lib/services/providers/index.mjs +2 -2
  126. package/esm2020/lib/services/tokens/browser-storage.token.mjs +5 -5
  127. package/esm2020/lib/services/tokens/commons-init.token.mjs +2 -2
  128. package/esm2020/lib/services/tokens/default-setting.token.mjs +2 -2
  129. package/esm2020/lib/services/tokens/index.mjs +4 -4
  130. package/esm2020/lib/services/tokens/module-config.token.mjs +2 -2
  131. package/esm2020/lib/services/view-container.component.service.mjs +34 -34
  132. package/esm2020/lib/types/index.mjs +2 -2
  133. package/esm2020/lib/types/type.decorator.mjs +12 -12
  134. package/esm2020/lib/types/type.model.mjs +2 -2
  135. package/esm2020/lib/utils/action-data-provider.util.mjs +144 -144
  136. package/esm2020/lib/utils/editor-formly.util.mjs +211 -210
  137. package/esm2020/lib/utils/enum.util.mjs +81 -81
  138. package/esm2020/lib/utils/i18n.util.mjs +232 -232
  139. package/esm2020/lib/utils/index.mjs +7 -7
  140. package/esm2020/lib/utils/model.util.mjs +60 -60
  141. package/esm2020/lib/utils/notification.util.mjs +45 -45
  142. package/esm2020/lib/utils/route.util.mjs +23 -23
  143. package/esm2020/lib/utils/styles.util.mjs +41 -41
  144. package/esm2020/lib/utils/type.util.mjs +76 -76
  145. package/esm2020/mediusinc-mng-commons.mjs +4 -4
  146. package/esm2020/public-api.mjs +42 -40
  147. package/fesm2015/mediusinc-mng-commons.mjs +9874 -9861
  148. package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
  149. package/fesm2020/mediusinc-mng-commons.mjs +9739 -9727
  150. package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
  151. package/lib/api/models/builders/query-param.builder.d.ts +13 -13
  152. package/lib/api/models/filter-match-type.model.d.ts +23 -23
  153. package/lib/api/models/filter-param.model.d.ts +23 -23
  154. package/lib/api/models/index.d.ts +8 -8
  155. package/lib/api/models/mappers.d.ts +6 -6
  156. package/lib/api/models/query-mode.model.d.ts +16 -16
  157. package/lib/api/models/query-param.model.d.ts +31 -31
  158. package/lib/api/models/query-result.model.d.ts +23 -23
  159. package/lib/api/models/serialization.model.d.ts +8 -8
  160. package/lib/api/services/api.abstract.service.d.ts +24 -24
  161. package/lib/api/services/crud-api.abstract.service.d.ts +22 -22
  162. package/lib/api/services/get-all-api.abstract.service.d.ts +14 -14
  163. package/lib/api/services/index.d.ts +3 -3
  164. package/lib/api/utils/index.d.ts +2 -2
  165. package/lib/api/utils/medius-rest.util.d.ts +15 -14
  166. package/lib/api/utils/object-serializer.util.d.ts +33 -33
  167. package/lib/components/action/action.component.d.ts +69 -68
  168. package/lib/components/action/editor/action-editor.component.d.ts +64 -62
  169. package/lib/components/action/index.d.ts +3 -3
  170. package/lib/components/action/models/action-confirmation-service.model.d.ts +6 -6
  171. package/lib/components/action/models/action-execution.model.d.ts +129 -129
  172. package/lib/components/action/models/index.d.ts +2 -2
  173. package/lib/components/action/route/action-route.component.d.ts +31 -31
  174. package/lib/components/form/autocomplete/autocomplete.component.d.ts +53 -53
  175. package/lib/components/form/dropdown/dropdown.component.d.ts +44 -44
  176. package/lib/components/form/editor/form-editor.component.d.ts +45 -45
  177. package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +12 -12
  178. package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +14 -14
  179. package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +13 -12
  180. package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +21 -21
  181. package/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.d.ts +6 -6
  182. package/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +45 -44
  183. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +22 -22
  184. package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +37 -37
  185. package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +6 -6
  186. package/lib/components/form/formly/fields/index.d.ts +9 -9
  187. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +6 -6
  188. package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +6 -6
  189. package/lib/components/form/formly/wrappers/index.d.ts +2 -2
  190. package/lib/components/form/index.d.ts +3 -3
  191. package/lib/components/form/models/form-editor.event.d.ts +37 -37
  192. package/lib/components/form/models/index.d.ts +1 -1
  193. package/lib/components/layout/breadcrumb.component.d.ts +8 -8
  194. package/lib/components/layout/footer.component.d.ts +9 -9
  195. package/lib/components/layout/index.d.ts +6 -6
  196. package/lib/components/layout/main-layout.component.d.ts +20 -20
  197. package/lib/components/layout/menu-item.component.d.ts +37 -37
  198. package/lib/components/layout/menu.component.d.ts +10 -10
  199. package/lib/components/layout/services/index.d.ts +1 -1
  200. package/lib/components/layout/services/main-layout.component.service.d.ts +65 -65
  201. package/lib/components/layout/topbar.component.d.ts +24 -24
  202. package/lib/components/tableview/index.d.ts +6 -6
  203. package/lib/components/tableview/models/index.d.ts +1 -1
  204. package/lib/components/tableview/models/table.event.d.ts +17 -17
  205. package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +20 -20
  206. package/lib/components/tableview/route/tableview-route.component.d.ts +18 -18
  207. package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +32 -31
  208. package/lib/components/tableview/table/column-value/column-value.component.d.ts +29 -19
  209. package/lib/components/tableview/table/table.component.d.ts +105 -104
  210. package/lib/components/tableview/tableview.component.d.ts +41 -41
  211. package/lib/config/formly.config.d.ts +15 -15
  212. package/lib/config/index.d.ts +1 -1
  213. package/lib/config/models/index.d.ts +1 -1
  214. package/lib/config/models/mng-config.model.d.ts +34 -34
  215. package/lib/data-providers/base.data-provider.d.ts +14 -14
  216. package/lib/data-providers/editor.data-provider.d.ts +25 -25
  217. package/lib/data-providers/index.d.ts +5 -5
  218. package/lib/data-providers/lookup.data-provider.d.ts +14 -14
  219. package/lib/data-providers/table.data-provider.d.ts +14 -14
  220. package/lib/data-providers/tableview.data-provider.d.ts +15 -15
  221. package/lib/descriptors/action.descriptor.d.ts +227 -277
  222. package/lib/descriptors/column.descriptor.d.ts +81 -86
  223. package/lib/descriptors/editor.descriptor.d.ts +37 -44
  224. package/lib/descriptors/field-validation.descriptor.d.ts +18 -18
  225. package/lib/descriptors/field.descriptor.d.ts +287 -342
  226. package/lib/descriptors/filter.descriptor.d.ts +97 -127
  227. package/lib/descriptors/index.d.ts +9 -11
  228. package/lib/descriptors/{field.descriptor.interface.d.ts → interfaces/field-config.interface.d.ts} +9 -9
  229. package/lib/descriptors/interfaces/index.d.ts +2 -0
  230. package/lib/descriptors/{lookup.descriptor.d.ts → interfaces/lookup-descriptor.interface.d.ts} +17 -17
  231. package/lib/descriptors/model.descriptor.d.ts +15 -15
  232. package/lib/descriptors/table.descriptor.d.ts +66 -80
  233. package/lib/descriptors/tableview.descriptor.d.ts +42 -42
  234. package/lib/descriptors/types/action.type.d.ts +45 -0
  235. package/lib/descriptors/types/column.type.d.ts +9 -0
  236. package/lib/descriptors/types/editor.type.d.ts +6 -0
  237. package/lib/descriptors/types/field.type.d.ts +44 -0
  238. package/lib/descriptors/types/filter.type.d.ts +27 -0
  239. package/lib/descriptors/types/index.d.ts +6 -0
  240. package/lib/descriptors/types/table.type.d.ts +13 -0
  241. package/lib/directives/component.directive.d.ts +16 -16
  242. package/lib/directives/index.d.ts +2 -2
  243. package/lib/directives/template.directive.d.ts +13 -13
  244. package/lib/mng-commons.module.d.ts +86 -86
  245. package/lib/models/column-value.model.d.ts +4 -4
  246. package/lib/models/enum.model.d.ts +6 -6
  247. package/lib/models/error.model.d.ts +14 -14
  248. package/lib/models/index.d.ts +6 -6
  249. package/lib/models/menu.model.d.ts +25 -25
  250. package/lib/models/user.model.d.ts +8 -8
  251. package/lib/models/view-container.model.d.ts +6 -6
  252. package/lib/pipes/boolean.pipe.d.ts +7 -7
  253. package/lib/pipes/enum.pipe.d.ts +8 -8
  254. package/lib/pipes/i18n-property.pipe.d.ts +8 -8
  255. package/lib/pipes/index.d.ts +5 -5
  256. package/lib/pipes/json-path.pipe.d.ts +13 -13
  257. package/lib/pipes/link-formatter.pipe.d.ts +11 -11
  258. package/lib/router/index.d.ts +1 -1
  259. package/lib/router/models/index.d.ts +1 -1
  260. package/lib/router/models/router.model.d.ts +22 -22
  261. package/lib/router/route-builder.d.ts +86 -86
  262. package/lib/services/action-executor.service.d.ts +149 -149
  263. package/lib/services/commons.service.d.ts +72 -72
  264. package/lib/services/configuration.service.d.ts +36 -36
  265. package/lib/services/error-mapper.service.d.ts +7 -7
  266. package/lib/services/index.d.ts +6 -6
  267. package/lib/services/internal/commons-init.provider.d.ts +3 -3
  268. package/lib/services/internal/commons-init.service.d.ts +16 -16
  269. package/lib/services/internal/index.d.ts +2 -2
  270. package/lib/services/navigation.service.d.ts +14 -14
  271. package/lib/services/providers/config-service.provider.d.ts +6 -6
  272. package/lib/services/providers/formly-config.provider.d.ts +4 -4
  273. package/lib/services/providers/index.d.ts +2 -2
  274. package/lib/services/tokens/browser-storage.token.d.ts +2 -2
  275. package/lib/services/tokens/commons-init.token.d.ts +3 -3
  276. package/lib/services/tokens/default-setting.token.d.ts +2 -2
  277. package/lib/services/tokens/index.d.ts +4 -4
  278. package/lib/services/tokens/module-config.token.d.ts +3 -3
  279. package/lib/services/view-container.component.service.d.ts +22 -22
  280. package/lib/types/index.d.ts +2 -2
  281. package/lib/types/type.decorator.d.ts +4 -4
  282. package/lib/types/type.model.d.ts +20 -20
  283. package/lib/utils/action-data-provider.util.d.ts +20 -20
  284. package/lib/utils/editor-formly.util.d.ts +10 -10
  285. package/lib/utils/enum.util.d.ts +50 -50
  286. package/lib/utils/i18n.util.d.ts +56 -56
  287. package/lib/utils/index.d.ts +7 -7
  288. package/lib/utils/model.util.d.ts +8 -8
  289. package/lib/utils/notification.util.d.ts +11 -11
  290. package/lib/utils/route.util.d.ts +4 -4
  291. package/lib/utils/styles.util.d.ts +14 -14
  292. package/lib/utils/type.util.d.ts +36 -36
  293. package/mediusinc-mng-commons.d.ts +5 -5
  294. package/package.json +3 -3
  295. package/public-api.d.ts +30 -28
  296. package/scss/mng-overrides/_theme_datatable.scss +2 -0
  297. package/esm2020/lib/descriptors/field.descriptor.interface.mjs +0 -2
  298. package/esm2020/lib/descriptors/lookup.descriptor.mjs +0 -2
  299. package/mediusinc-mng-commons-0.8.0-rc.2.tgz +0 -0
@@ -1,34 +1,34 @@
1
- export class MngFormEditorSubmitEvent {
2
- constructor(formItem) {
3
- this.formItem = formItem;
4
- this.success = true;
5
- }
6
- }
7
- export var MngFormFieldEventTypeEnum;
8
- (function (MngFormFieldEventTypeEnum) {
9
- MngFormFieldEventTypeEnum["ComponentLifecycle"] = "ComponentLifecycle";
10
- MngFormFieldEventTypeEnum["ValueChange"] = "ValueChange";
11
- MngFormFieldEventTypeEnum["DataProvider"] = "DataProvider";
12
- MngFormFieldEventTypeEnum["DialogLifecycle"] = "DialogLifecycle";
13
- MngFormFieldEventTypeEnum["Other"] = "Other";
14
- })(MngFormFieldEventTypeEnum || (MngFormFieldEventTypeEnum = {}));
15
- export class MngFormFieldEventComponentSubtype {
16
- }
17
- MngFormFieldEventComponentSubtype.ON_INIT = 'Component.OnInit';
18
- MngFormFieldEventComponentSubtype.ON_VIEW_INIT = 'Component.OnViewInit';
19
- MngFormFieldEventComponentSubtype.ON_CONTENT_INIT = 'Component.OnContentInit';
20
- MngFormFieldEventComponentSubtype.ON_DESTROY = 'Component.OnDestroy';
21
- export class MngFormFieldEventDialogSubtype {
22
- }
23
- MngFormFieldEventDialogSubtype.VISIBILITY = 'Dialog.Visibility';
24
- MngFormFieldEventDialogSubtype.TABLE_CAPTION_COMPONENT_INSTANCE = 'Dialog.MngTable.CaptionComponentInstance';
25
- MngFormFieldEventDialogSubtype.TABLE_COLUMN_ACTIONS_COMPONENT_INSTANCE = 'Dialog.MngTable.ColumnActionsComponentInstance';
26
- export class MngFormFieldEvent {
27
- constructor(type, componentType, componentInstance, data = {}) {
28
- this.type = type;
29
- this.componentType = componentType;
30
- this.componentInstance = componentInstance;
31
- this.data = data;
32
- }
33
- }
1
+ export class MngFormEditorSubmitEvent {
2
+ constructor(formItem) {
3
+ this.formItem = formItem;
4
+ this.success = true;
5
+ }
6
+ }
7
+ export var MngFormFieldEventTypeEnum;
8
+ (function (MngFormFieldEventTypeEnum) {
9
+ MngFormFieldEventTypeEnum["ComponentLifecycle"] = "ComponentLifecycle";
10
+ MngFormFieldEventTypeEnum["ValueChange"] = "ValueChange";
11
+ MngFormFieldEventTypeEnum["DataProvider"] = "DataProvider";
12
+ MngFormFieldEventTypeEnum["DialogLifecycle"] = "DialogLifecycle";
13
+ MngFormFieldEventTypeEnum["Other"] = "Other";
14
+ })(MngFormFieldEventTypeEnum || (MngFormFieldEventTypeEnum = {}));
15
+ export class MngFormFieldEventComponentSubtype {
16
+ }
17
+ MngFormFieldEventComponentSubtype.ON_INIT = 'Component.OnInit';
18
+ MngFormFieldEventComponentSubtype.ON_VIEW_INIT = 'Component.OnViewInit';
19
+ MngFormFieldEventComponentSubtype.ON_CONTENT_INIT = 'Component.OnContentInit';
20
+ MngFormFieldEventComponentSubtype.ON_DESTROY = 'Component.OnDestroy';
21
+ export class MngFormFieldEventDialogSubtype {
22
+ }
23
+ MngFormFieldEventDialogSubtype.VISIBILITY = 'Dialog.Visibility';
24
+ MngFormFieldEventDialogSubtype.TABLE_CAPTION_COMPONENT_INSTANCE = 'Dialog.MngTable.CaptionComponentInstance';
25
+ MngFormFieldEventDialogSubtype.TABLE_COLUMN_ACTIONS_COMPONENT_INSTANCE = 'Dialog.MngTable.ColumnActionsComponentInstance';
26
+ export class MngFormFieldEvent {
27
+ constructor(type, componentType, componentInstance, data = {}) {
28
+ this.type = type;
29
+ this.componentType = componentType;
30
+ this.componentInstance = componentInstance;
31
+ this.data = data;
32
+ }
33
+ }
34
34
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1lZGl0b3IuZXZlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9tb2RlbHMvZm9ybS1lZGl0b3IuZXZlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHdCQUF3QjtJQUdqQyxZQUE0QixRQUFXO1FBQVgsYUFBUSxHQUFSLFFBQVEsQ0FBRztRQUZoQyxZQUFPLEdBQUcsSUFBSSxDQUFDO0lBRW9CLENBQUM7Q0FDOUM7QUFFRCxNQUFNLENBQU4sSUFBWSx5QkFNWDtBQU5ELFdBQVkseUJBQXlCO0lBQ2pDLHNFQUF5QyxDQUFBO0lBQ3pDLHdEQUEyQixDQUFBO0lBQzNCLDBEQUE2QixDQUFBO0lBQzdCLGdFQUFtQyxDQUFBO0lBQ25DLDRDQUFlLENBQUE7QUFDbkIsQ0FBQyxFQU5XLHlCQUF5QixLQUF6Qix5QkFBeUIsUUFNcEM7QUFFRCxNQUFNLE9BQU8saUNBQWlDOztBQUNuQix5Q0FBTyxHQUFHLGtCQUFrQixDQUFDO0FBQzdCLDhDQUFZLEdBQUcsc0JBQXNCLENBQUM7QUFDdEMsaURBQWUsR0FBRyx5QkFBeUIsQ0FBQztBQUM1Qyw0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RvcihcbiAgICAgICAgcHVibGljIHJlYWRvbmx5IHR5cGU6IE1uZ0Zvcm1GaWVsZEV2ZW50VHlwZUVudW0sXG4gICAgICAgIHB1YmxpYyByZWFkb25seSBjb21wb25lbnRUeXBlOiBUeXBlPGFueT4sXG4gICAgICAgIHB1YmxpYyByZWFkb25seSBjb21wb25lbnRJbnN0YW5jZTogYW55LFxuICAgICAgICBwdWJsaWMgcmVhZG9ubHkgZGF0YTogTW5nRm9ybUZpZWxkRXZlbnREYXRhPFQsIEVUPiA9IHt9XG4gICAgKSB7fVxufVxuIl19
@@ -1,2 +1,2 @@
1
- export * from './form-editor.event';
1
+ export * from './form-editor.event';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZm9ybS1lZGl0b3IuZXZlbnQnO1xuIl19
@@ -1,17 +1,17 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../services";
4
- import * as i2 from "primeng/breadcrumb";
5
- import * as i3 from "@angular/common";
6
- export class MngBreadcrumbComponent {
7
- constructor(mngCommons) {
8
- this.mngCommons = mngCommons;
9
- }
10
- }
11
- MngBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngBreadcrumbComponent, deps: [{ token: i1.MngCommonsService }], target: i0.ɵɵFactoryTarget.Component });
12
- MngBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: MngBreadcrumbComponent, selector: "mng-breadcrumb", ngImport: i0, template: "<div class=\"layout-breadcrumb-container\">\n <div class=\"layout-breadcrumb\">\n <p-breadcrumb [home]=\"$any(mngCommons.breadcrumbHome$ | async)\" [model]=\"$any(mngCommons.breadcrumbs$ | async)\" styleClass=\"layout-breadcrumb py-2\"></p-breadcrumb>\n </div>\n</div>\n", components: [{ type: i2.Breadcrumb, selector: "p-breadcrumb", inputs: ["model", "style", "styleClass", "home", "homeAriaLabel"], outputs: ["onItemClick"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngBreadcrumbComponent, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'mng-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"layout-breadcrumb-container\">\n <div class=\"layout-breadcrumb\">\n <p-breadcrumb [home]=\"$any(mngCommons.breadcrumbHome$ | async)\" [model]=\"$any(mngCommons.breadcrumbs$ | async)\" styleClass=\"layout-breadcrumb py-2\"></p-breadcrumb>\n </div>\n</div>\n" }]
16
- }], ctorParameters: function () { return [{ type: i1.MngCommonsService }]; } });
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../services";
4
+ import * as i2 from "primeng/breadcrumb";
5
+ import * as i3 from "@angular/common";
6
+ export class MngBreadcrumbComponent {
7
+ constructor(mngCommons) {
8
+ this.mngCommons = mngCommons;
9
+ }
10
+ }
11
+ MngBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngBreadcrumbComponent, deps: [{ token: i1.MngCommonsService }], target: i0.ɵɵFactoryTarget.Component });
12
+ MngBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: MngBreadcrumbComponent, selector: "mng-breadcrumb", ngImport: i0, template: "<div class=\"layout-breadcrumb-container\">\n <div class=\"layout-breadcrumb\">\n <p-breadcrumb [home]=\"$any(mngCommons.breadcrumbHome$ | async)\" [model]=\"$any(mngCommons.breadcrumbs$ | async)\" styleClass=\"layout-breadcrumb py-2\"></p-breadcrumb>\n </div>\n</div>\n", components: [{ type: i2.Breadcrumb, selector: "p-breadcrumb", inputs: ["model", "style", "styleClass", "home", "homeAriaLabel"], outputs: ["onItemClick"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngBreadcrumbComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'mng-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"layout-breadcrumb-container\">\n <div class=\"layout-breadcrumb\">\n <p-breadcrumb [home]=\"$any(mngCommons.breadcrumbHome$ | async)\" [model]=\"$any(mngCommons.breadcrumbs$ | async)\" styleClass=\"layout-breadcrumb py-2\"></p-breadcrumb>\n </div>\n</div>\n" }]
16
+ }], ctorParameters: function () { return [{ type: i1.MngCommonsService }]; } });
17
17
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L2JyZWFkY3J1bWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dC9icmVhZGNydW1iLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7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F5b3V0LWJyZWFkY3J1bWIgcHktMlwiPjwvcC1icmVhZGNydW1iPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,17 +1,17 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../services";
4
- import * as i2 from "@ngx-translate/core";
5
- export class MngFooterComponent {
6
- constructor(mngCommons) {
7
- this.mngCommons = mngCommons;
8
- this.currentYear = new Date().getFullYear();
9
- }
10
- }
11
- MngFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngFooterComponent, deps: [{ token: i1.MngCommonsService }], target: i0.ɵɵFactoryTarget.Component });
12
- MngFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: MngFooterComponent, selector: "mng-footer", ngImport: i0, template: "<div class=\"layout-footer\">\n <div class=\"footer-logo-container\">\n <img id=\"footer-logo\" [src]=\"mngCommons.colorSchemeIsLight ? mngCommons.appLogoDark : mngCommons.appLogoLight\" alt=\"atlantis-layout\" />\n <span class=\"app-name\">{{ mngCommons.appName | translate }}</span>\n </div>\n <span class=\"copyright\">&#169; {{ mngCommons.appOwner | translate }} - {{ currentYear }}</span>\n</div>\n", pipes: { "translate": i2.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngFooterComponent, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'mng-footer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"layout-footer\">\n <div class=\"footer-logo-container\">\n <img id=\"footer-logo\" [src]=\"mngCommons.colorSchemeIsLight ? mngCommons.appLogoDark : mngCommons.appLogoLight\" alt=\"atlantis-layout\" />\n <span class=\"app-name\">{{ mngCommons.appName | translate }}</span>\n </div>\n <span class=\"copyright\">&#169; {{ mngCommons.appOwner | translate }} - {{ currentYear }}</span>\n</div>\n" }]
16
- }], ctorParameters: function () { return [{ type: i1.MngCommonsService }]; } });
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../services";
4
+ import * as i2 from "@ngx-translate/core";
5
+ export class MngFooterComponent {
6
+ constructor(mngCommons) {
7
+ this.mngCommons = mngCommons;
8
+ this.currentYear = new Date().getFullYear();
9
+ }
10
+ }
11
+ MngFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngFooterComponent, deps: [{ token: i1.MngCommonsService }], target: i0.ɵɵFactoryTarget.Component });
12
+ MngFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: MngFooterComponent, selector: "mng-footer", ngImport: i0, template: "<div class=\"layout-footer\">\n <div class=\"footer-logo-container\">\n <img id=\"footer-logo\" [src]=\"mngCommons.colorSchemeIsLight ? mngCommons.appLogoDark : mngCommons.appLogoLight\" alt=\"atlantis-layout\" />\n <span class=\"app-name\">{{ mngCommons.appName | translate }}</span>\n </div>\n <span class=\"copyright\">&#169; {{ mngCommons.appOwner | translate }} - {{ currentYear }}</span>\n</div>\n", pipes: { "translate": i2.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngFooterComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'mng-footer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"layout-footer\">\n <div class=\"footer-logo-container\">\n <img id=\"footer-logo\" [src]=\"mngCommons.colorSchemeIsLight ? mngCommons.appLogoDark : mngCommons.appLogoLight\" alt=\"atlantis-layout\" />\n <span class=\"app-name\">{{ mngCommons.appName | translate }}</span>\n </div>\n <span class=\"copyright\">&#169; {{ mngCommons.appOwner | translate }} - {{ currentYear }}</span>\n</div>\n" }]
16
+ }], ctorParameters: function () { return [{ type: i1.MngCommonsService }]; } });
17
17
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9sYXlvdXQvZm9vdGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9sYXlvdXQvZm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7QUFTakUsTUFBTSxPQUFPLGtCQUFrQjtJQUczQixZQUFtQixVQUE2QjtRQUE3QixlQUFVLEdBQVYsVUFBVSxDQUFtQjtRQUZ6QyxnQkFBVyxHQUFHLElBQUksSUFBSSxFQUFFLENBQUMsV0FBVyxFQUFFLENBQUM7SUFFSyxDQUFDOzsrR0FIM0Msa0JBQWtCO21HQUFsQixrQkFBa0Isa0RDVC9CLDRhQU9BOzJGREVhLGtCQUFrQjtrQkFMOUIsU0FBUzsrQkFDSSxZQUFZLG1CQUVMLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge01uZ0NvbW1vbnNTZXJ2aWNlfSBmcm9tICcuLi8uLi9zZXJ2aWNlcyc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbW5nLWZvb3RlcicsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2Zvb3Rlci5jb21wb25lbnQuaHRtbCcsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgTW5nRm9vdGVyQ29tcG9uZW50IHtcbiAgICBwdWJsaWMgY3VycmVudFllYXIgPSBuZXcgRGF0ZSgpLmdldEZ1bGxZZWFyKCk7XG5cbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgbW5nQ29tbW9uczogTW5nQ29tbW9uc1NlcnZpY2UpIHt9XG59XG4iLCI8ZGl2IGNsYXNzPVwibGF5b3V0LWZvb3RlclwiPlxuICAgIDxkaXYgY2xhc3M9XCJmb290ZXItbG9nby1jb250YWluZXJcIj5cbiAgICAgICAgPGltZyBpZD1cImZvb3Rlci1sb2dvXCIgW3NyY109XCJtbmdDb21tb25zLmNvbG9yU2NoZW1lSXNMaWdodCA/IG1uZ0NvbW1vbnMuYXBwTG9nb0RhcmsgOiBtbmdDb21tb25zLmFwcExvZ29MaWdodFwiIGFsdD1cImF0bGFudGlzLWxheW91dFwiIC8+XG4gICAgICAgIDxzcGFuIGNsYXNzPVwiYXBwLW5hbWVcIj57eyBtbmdDb21tb25zLmFwcE5hbWUgfCB0cmFuc2xhdGUgfX08L3NwYW4+XG4gICAgPC9kaXY+XG4gICAgPHNwYW4gY2xhc3M9XCJjb3B5cmlnaHRcIj4mIzE2OTsge3sgbW5nQ29tbW9ucy5hcHBPd25lciB8IHRyYW5zbGF0ZSB9fSAtIHt7IGN1cnJlbnRZZWFyIH19PC9zcGFuPlxuPC9kaXY+XG4iXX0=
@@ -1,7 +1,7 @@
1
- export * from './breadcrumb.component';
2
- export * from './footer.component';
3
- export * from './main-layout.component';
4
- export * from './menu.component';
5
- export * from './menu-item.component';
6
- export * from './topbar.component';
1
+ export * from './breadcrumb.component';
2
+ export * from './footer.component';
3
+ export * from './main-layout.component';
4
+ export * from './menu.component';
5
+ export * from './menu-item.component';
6
+ export * from './topbar.component';
7
7
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9icmVhZGNydW1iLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Zvb3Rlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tYWluLWxheW91dC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tZW51LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL21lbnUtaXRlbS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90b3BiYXIuY29tcG9uZW50JztcbiJdfQ==
@@ -1,52 +1,52 @@
1
- import { ChangeDetectionStrategy, Component, HostListener, ViewChildren } from '@angular/core';
2
- import { MngTemplateDirective } from '../../directives';
3
- import { MngFooterComponent } from './footer.component';
4
- import { MngMenuComponent } from './menu.component';
5
- import { MngMainLayoutComponentService } from './services';
6
- import { MngTopbarComponent } from './topbar.component';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/router";
9
- import * as i2 from "../../services";
10
- import * as i3 from "./services";
11
- import * as i4 from "@angular/common";
12
- import * as i5 from "../../directives/component.directive";
13
- export class MngMainLayoutComponent {
14
- constructor(route, mngCommons, mainLayoutService) {
15
- this.route = route;
16
- this.mngCommons = mngCommons;
17
- this.mainLayoutService = mainLayoutService;
18
- this.topbarComponent = MngTopbarComponent;
19
- this.menuComponent = MngMenuComponent;
20
- this.footerComponent = MngFooterComponent;
21
- }
22
- ngOnInit() {
23
- const routeData = this.route.snapshot.data;
24
- if (routeData?.topbarComponent) {
25
- this.topbarComponent = routeData.topbarComponent;
26
- }
27
- if (routeData?.menuComponent) {
28
- this.menuComponent = routeData.menuComponent;
29
- }
30
- if (routeData?.footerComponent) {
31
- this.footerComponent = routeData.footerComponent;
32
- }
33
- this.mainLayoutService.innerWidth = window.innerWidth;
34
- }
35
- onWindowResize(event) {
36
- const target = event.target;
37
- this.mainLayoutService.innerWidth = target?.innerWidth ?? window.innerWidth;
38
- }
39
- }
40
- MngMainLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngMainLayoutComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.MngCommonsService }, { token: i3.MngMainLayoutComponentService }], target: i0.ɵɵFactoryTarget.Component });
41
- MngMainLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: MngMainLayoutComponent, selector: "mng-main-layout", host: { listeners: { "window:resize": "onWindowResize($event)" } }, providers: [MngMainLayoutComponentService], viewQueries: [{ propertyName: "templates", predicate: MngTemplateDirective, descendants: true }], ngImport: i0, template: "<div\n class=\"layout-wrapper\"\n (click)=\"mainLayoutService.onLayoutClick()\"\n [ngClass]=\"{\n 'layout-static': mngCommons.menuModeIsStatic$ | async,\n 'layout-overlay': mngCommons.menuModeIsOverlay$ | async,\n 'layout-slim': mngCommons.menuModeIsSlim$ | async,\n 'layout-sidebar': mngCommons.menuModeIsSidebar$ | async,\n 'layout-sidebar-static': (mngCommons.menuModeIsSidebar$ | async) && (mainLayoutService.sidebarStatic$ | async),\n 'layout-overlay-active': mainLayoutService.overlayMenuActive$ | async,\n 'layout-mobile-active': mainLayoutService.staticMenuMobileActive$ | async,\n 'layout-static-inactive': (mainLayoutService.staticMenuDesktopInactive$ | async) && (mngCommons.menuModeIsStatic$ | async)\n }\">\n <div class=\"layout-main\">\n <ng-container [mngComponent]=\"topbarComponent\"></ng-container>\n\n <ng-container\n *ngIf=\"\n (mainLayoutService.isMobile$ | async) === false &&\n ((mngCommons.menuModeIsStatic$ | async) || (mngCommons.menuModeIsSlim$ | async) || (mngCommons.menuModeIsSidebar$ | async))\n \"\n [mngComponent]=\"menuComponent\">\n </ng-container>\n\n <div class=\"layout-main-content\">\n <router-outlet></router-outlet>\n </div>\n\n <ng-container [mngComponent]=\"footerComponent\"></ng-container>\n </div>\n</div>\n", directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.MngComponentDirective, selector: "[mngComponent]", inputs: ["mngComponent", "inputs"], outputs: ["instanceCreated"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngMainLayoutComponent, decorators: [{
43
- type: Component,
44
- args: [{ selector: 'mng-main-layout', providers: [MngMainLayoutComponentService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"layout-wrapper\"\n (click)=\"mainLayoutService.onLayoutClick()\"\n [ngClass]=\"{\n 'layout-static': mngCommons.menuModeIsStatic$ | async,\n 'layout-overlay': mngCommons.menuModeIsOverlay$ | async,\n 'layout-slim': mngCommons.menuModeIsSlim$ | async,\n 'layout-sidebar': mngCommons.menuModeIsSidebar$ | async,\n 'layout-sidebar-static': (mngCommons.menuModeIsSidebar$ | async) && (mainLayoutService.sidebarStatic$ | async),\n 'layout-overlay-active': mainLayoutService.overlayMenuActive$ | async,\n 'layout-mobile-active': mainLayoutService.staticMenuMobileActive$ | async,\n 'layout-static-inactive': (mainLayoutService.staticMenuDesktopInactive$ | async) && (mngCommons.menuModeIsStatic$ | async)\n }\">\n <div class=\"layout-main\">\n <ng-container [mngComponent]=\"topbarComponent\"></ng-container>\n\n <ng-container\n *ngIf=\"\n (mainLayoutService.isMobile$ | async) === false &&\n ((mngCommons.menuModeIsStatic$ | async) || (mngCommons.menuModeIsSlim$ | async) || (mngCommons.menuModeIsSidebar$ | async))\n \"\n [mngComponent]=\"menuComponent\">\n </ng-container>\n\n <div class=\"layout-main-content\">\n <router-outlet></router-outlet>\n </div>\n\n <ng-container [mngComponent]=\"footerComponent\"></ng-container>\n </div>\n</div>\n" }]
45
- }], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i2.MngCommonsService }, { type: i3.MngMainLayoutComponentService }]; }, propDecorators: { templates: [{
46
- type: ViewChildren,
47
- args: [MngTemplateDirective]
48
- }], onWindowResize: [{
49
- type: HostListener,
50
- args: ['window:resize', ['$event']]
51
- }] } });
1
+ import { ChangeDetectionStrategy, Component, HostListener, ViewChildren } from '@angular/core';
2
+ import { MngTemplateDirective } from '../../directives';
3
+ import { MngFooterComponent } from './footer.component';
4
+ import { MngMenuComponent } from './menu.component';
5
+ import { MngMainLayoutComponentService } from './services';
6
+ import { MngTopbarComponent } from './topbar.component';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/router";
9
+ import * as i2 from "../../services";
10
+ import * as i3 from "./services";
11
+ import * as i4 from "@angular/common";
12
+ import * as i5 from "../../directives/component.directive";
13
+ export class MngMainLayoutComponent {
14
+ constructor(route, mngCommons, mainLayoutService) {
15
+ this.route = route;
16
+ this.mngCommons = mngCommons;
17
+ this.mainLayoutService = mainLayoutService;
18
+ this.topbarComponent = MngTopbarComponent;
19
+ this.menuComponent = MngMenuComponent;
20
+ this.footerComponent = MngFooterComponent;
21
+ }
22
+ ngOnInit() {
23
+ const routeData = this.route.snapshot.data;
24
+ if (routeData?.topbarComponent) {
25
+ this.topbarComponent = routeData.topbarComponent;
26
+ }
27
+ if (routeData?.menuComponent) {
28
+ this.menuComponent = routeData.menuComponent;
29
+ }
30
+ if (routeData?.footerComponent) {
31
+ this.footerComponent = routeData.footerComponent;
32
+ }
33
+ this.mainLayoutService.innerWidth = window.innerWidth;
34
+ }
35
+ onWindowResize(event) {
36
+ const target = event.target;
37
+ this.mainLayoutService.innerWidth = target?.innerWidth ?? window.innerWidth;
38
+ }
39
+ }
40
+ MngMainLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngMainLayoutComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.MngCommonsService }, { token: i3.MngMainLayoutComponentService }], target: i0.ɵɵFactoryTarget.Component });
41
+ MngMainLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: MngMainLayoutComponent, selector: "mng-main-layout", host: { listeners: { "window:resize": "onWindowResize($event)" } }, providers: [MngMainLayoutComponentService], viewQueries: [{ propertyName: "templates", predicate: MngTemplateDirective, descendants: true }], ngImport: i0, template: "<div\n class=\"layout-wrapper\"\n (click)=\"mainLayoutService.onLayoutClick()\"\n [ngClass]=\"{\n 'layout-static': mngCommons.menuModeIsStatic$ | async,\n 'layout-overlay': mngCommons.menuModeIsOverlay$ | async,\n 'layout-slim': mngCommons.menuModeIsSlim$ | async,\n 'layout-sidebar': mngCommons.menuModeIsSidebar$ | async,\n 'layout-sidebar-static': (mngCommons.menuModeIsSidebar$ | async) && (mainLayoutService.sidebarStatic$ | async),\n 'layout-overlay-active': mainLayoutService.overlayMenuActive$ | async,\n 'layout-mobile-active': mainLayoutService.staticMenuMobileActive$ | async,\n 'layout-static-inactive': (mainLayoutService.staticMenuDesktopInactive$ | async) && (mngCommons.menuModeIsStatic$ | async)\n }\">\n <div class=\"layout-main\">\n <ng-container [mngComponent]=\"topbarComponent\"></ng-container>\n\n <ng-container\n *ngIf=\"\n (mainLayoutService.isMobile$ | async) === false &&\n ((mngCommons.menuModeIsStatic$ | async) || (mngCommons.menuModeIsSlim$ | async) || (mngCommons.menuModeIsSidebar$ | async))\n \"\n [mngComponent]=\"menuComponent\">\n </ng-container>\n\n <div class=\"layout-main-content\">\n <router-outlet></router-outlet>\n </div>\n\n <ng-container [mngComponent]=\"footerComponent\"></ng-container>\n </div>\n</div>\n", directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.MngComponentDirective, selector: "[mngComponent]", inputs: ["mngComponent", "inputs"], outputs: ["instanceCreated"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MngMainLayoutComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'mng-main-layout', providers: [MngMainLayoutComponentService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"layout-wrapper\"\n (click)=\"mainLayoutService.onLayoutClick()\"\n [ngClass]=\"{\n 'layout-static': mngCommons.menuModeIsStatic$ | async,\n 'layout-overlay': mngCommons.menuModeIsOverlay$ | async,\n 'layout-slim': mngCommons.menuModeIsSlim$ | async,\n 'layout-sidebar': mngCommons.menuModeIsSidebar$ | async,\n 'layout-sidebar-static': (mngCommons.menuModeIsSidebar$ | async) && (mainLayoutService.sidebarStatic$ | async),\n 'layout-overlay-active': mainLayoutService.overlayMenuActive$ | async,\n 'layout-mobile-active': mainLayoutService.staticMenuMobileActive$ | async,\n 'layout-static-inactive': (mainLayoutService.staticMenuDesktopInactive$ | async) && (mngCommons.menuModeIsStatic$ | async)\n }\">\n <div class=\"layout-main\">\n <ng-container [mngComponent]=\"topbarComponent\"></ng-container>\n\n <ng-container\n *ngIf=\"\n (mainLayoutService.isMobile$ | async) === false &&\n ((mngCommons.menuModeIsStatic$ | async) || (mngCommons.menuModeIsSlim$ | async) || (mngCommons.menuModeIsSidebar$ | async))\n \"\n [mngComponent]=\"menuComponent\">\n </ng-container>\n\n <div class=\"layout-main-content\">\n <router-outlet></router-outlet>\n </div>\n\n <ng-container [mngComponent]=\"footerComponent\"></ng-container>\n </div>\n</div>\n" }]
45
+ }], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i2.MngCommonsService }, { type: i3.MngMainLayoutComponentService }]; }, propDecorators: { templates: [{
46
+ type: ViewChildren,
47
+ args: [MngTemplateDirective]
48
+ }], onWindowResize: [{
49
+ type: HostListener,
50
+ args: ['window:resize', ['$event']]
51
+ }] } });
52
52
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dC9tYWluLWxheW91dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L21haW4tbGF5b3V0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUEyQixZQUFZLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHdEgsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFHdEQsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFDdEQsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7QU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xuICAgICAgICAgICAgICAgIChtYWluTGF5b3V0U2VydmljZS5pc01vYmlsZSQgfCBhc3luYykgPT09IGZhbHNlICYmXG4gICAgICAgICAgICAgICAgKChtbmdDb21tb25zLm1lbnVNb2RlSXNTdGF0aWMkIHwgYXN5bmMpIHx8IChtbmdDb21tb25zLm1lbnVNb2RlSXNTbGltJCB8IGFzeW5jKSB8fCAobW5nQ29tbW9ucy5tZW51TW9kZUlzU2lkZWJhciQgfCBhc3luYykpXG4gICAgICAgICAgICBcIlxuICAgICAgICAgICAgW21uZ0NvbXBvbmVudF09XCJtZW51Q29tcG9uZW50XCI+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgICAgIDxkaXYgY2xhc3M9XCJsYXlvdXQtbWFpbi1jb250ZW50XCI+XG4gICAgICAgICAgICA8cm91dGVyLW91dGxldD48L3JvdXRlci1vdXRsZXQ+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxuZy1jb250YWluZXIgW21uZ0NvbXBvbmVudF09XCJmb290ZXJDb21wb25lbnRcIj48L25nLWNvbnRhaW5lcj5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19