@mediusinc/mng-commons 0.0.1-rc.2 → 0.2.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 (436) hide show
  1. package/README.md +97 -2
  2. package/assets/i18n/en.json +156 -0
  3. package/assets/i18n/sl.json +156 -0
  4. package/assets/images/effect-ondark.png +0 -0
  5. package/assets/images/effect-ondark.svg +38 -0
  6. package/assets/images/effect-ondark@2x.png +0 -0
  7. package/assets/images/effect-onlight.png +0 -0
  8. package/assets/images/effect-onlight.svg +38 -0
  9. package/assets/images/effect-onlight@2x.png +0 -0
  10. package/assets/images/pages/exception-ondark.png +0 -0
  11. package/assets/images/pages/exception-onlight.png +0 -0
  12. package/assets/images/pages/login-ondark.png +0 -0
  13. package/assets/images/pages/login-onlight.png +0 -0
  14. package/assets/templates/tableview-route.component.html +5 -0
  15. package/esm2020/lib/api/models/builders/query-param.builder.mjs +9 -10
  16. package/esm2020/lib/api/models/filter-match-type.model.mjs +14 -12
  17. package/esm2020/lib/api/models/filter-param.model.mjs +6 -6
  18. package/esm2020/lib/api/models/mappers.mjs +12 -12
  19. package/esm2020/lib/api/models/query-mode.model.mjs +7 -7
  20. package/esm2020/lib/api/models/query-param.model.mjs +5 -5
  21. package/esm2020/lib/api/models/query-result.model.mjs +15 -15
  22. package/esm2020/lib/api/services/{abstract-crud-api.service.mjs → crud-api.abstract.service.mjs} +2 -2
  23. package/esm2020/lib/api/services/index.mjs +2 -2
  24. package/esm2020/lib/api/utils/medius-rest.util.mjs +99 -47
  25. package/esm2020/lib/api/utils/object-serializer.util.mjs +1 -1
  26. package/esm2020/lib/components/action/action.component.mjs +10 -8
  27. package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +24 -24
  28. package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -0
  29. package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -0
  30. package/esm2020/lib/components/action/models/index.mjs +3 -0
  31. package/esm2020/lib/components/action/route/action-route.component.mjs +9 -9
  32. package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -0
  33. package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -0
  34. package/esm2020/lib/components/form/editor/form-editor.component.mjs +24 -23
  35. package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +9 -48
  36. package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +9 -41
  37. package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +5 -5
  38. package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +5 -5
  39. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +33 -18
  40. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +11 -13
  41. package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +5 -5
  42. package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +5 -5
  43. package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +5 -5
  44. package/esm2020/lib/components/form/index.mjs +3 -1
  45. package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -0
  46. package/esm2020/lib/components/form/models/index.mjs +2 -0
  47. package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -0
  48. package/esm2020/lib/components/layout/footer.component.mjs +17 -0
  49. package/esm2020/lib/components/layout/index.mjs +7 -7
  50. package/esm2020/lib/components/layout/main-layout.component.mjs +54 -0
  51. package/esm2020/lib/components/layout/menu-item.component.mjs +173 -0
  52. package/esm2020/lib/components/layout/menu.component.mjs +20 -0
  53. package/esm2020/lib/components/layout/services/index.mjs +2 -0
  54. package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -0
  55. package/esm2020/lib/components/layout/topbar.component.mjs +59 -0
  56. package/esm2020/lib/components/tableview/index.mjs +3 -1
  57. package/esm2020/lib/components/tableview/models/index.mjs +2 -0
  58. package/esm2020/lib/components/tableview/models/table.event.mjs +16 -0
  59. package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +2 -9
  60. package/esm2020/lib/components/tableview/services/index.mjs +2 -0
  61. package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +17 -0
  62. package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +74 -0
  63. package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -0
  64. package/esm2020/lib/components/tableview/table/table.component.mjs +180 -46
  65. package/esm2020/lib/components/tableview/tableview.component.mjs +13 -13
  66. package/esm2020/lib/config/formly.config.mjs +35 -64
  67. package/esm2020/lib/{models/config → config/models}/index.mjs +1 -1
  68. package/esm2020/lib/config/models/mng-config.model.mjs +2 -0
  69. package/esm2020/lib/data-providers/base.data-provider.mjs +24 -0
  70. package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -0
  71. package/esm2020/lib/data-providers/index.mjs +6 -0
  72. package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -0
  73. package/esm2020/lib/data-providers/table.data-provider.mjs +2 -0
  74. package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -0
  75. package/esm2020/lib/descriptors/action.descriptor.mjs +332 -0
  76. package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -0
  77. package/esm2020/lib/descriptors/field.validator.mjs +21 -0
  78. package/esm2020/lib/descriptors/index.mjs +8 -0
  79. package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -0
  80. package/esm2020/lib/descriptors/model.descriptor.mjs +34 -0
  81. package/esm2020/lib/descriptors/table.descriptor.mjs +401 -0
  82. package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -0
  83. package/esm2020/lib/directives/component.directive.mjs +23 -0
  84. package/esm2020/lib/directives/index.mjs +2 -1
  85. package/esm2020/lib/directives/template.directive.mjs +11 -7
  86. package/esm2020/lib/mng-commons.module.mjs +201 -129
  87. package/esm2020/lib/models/index.mjs +3 -0
  88. package/esm2020/lib/models/router.model.mjs +2 -0
  89. package/esm2020/lib/models/user.model.mjs +2 -0
  90. package/esm2020/lib/pipes/boolean.pipe.mjs +22 -0
  91. package/esm2020/lib/pipes/index.mjs +2 -1
  92. package/esm2020/lib/pipes/property-path.pipe.mjs +5 -5
  93. package/esm2020/lib/services/action.service.mjs +55 -25
  94. package/esm2020/lib/services/commons.service.mjs +353 -0
  95. package/esm2020/lib/services/configuration.service.mjs +8 -7
  96. package/esm2020/lib/services/index.mjs +2 -4
  97. package/esm2020/lib/services/navigation.service.mjs +5 -6
  98. package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -0
  99. package/esm2020/lib/services/providers/config-service.provider.mjs +14 -6
  100. package/esm2020/lib/services/providers/formly-config.provider.mjs +2 -2
  101. package/esm2020/lib/services/providers/index.mjs +2 -1
  102. package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -0
  103. package/esm2020/lib/services/tokens/index.mjs +3 -0
  104. package/esm2020/lib/services/tokens/module-config.token.mjs +3 -0
  105. package/esm2020/lib/types/index.mjs +3 -0
  106. package/esm2020/lib/types/type.decorator.mjs +7 -0
  107. package/esm2020/lib/types/type.model.mjs +2 -0
  108. package/esm2020/lib/utils/editor-formly.util.mjs +23 -12
  109. package/esm2020/lib/utils/i18n.util.mjs +63 -13
  110. package/esm2020/lib/utils/index.mjs +2 -1
  111. package/esm2020/lib/utils/model.util.mjs +20 -1
  112. package/esm2020/lib/utils/toast.util.mjs +39 -0
  113. package/esm2020/lib/utils/type.util.mjs +2 -6
  114. package/esm2020/public-api.mjs +12 -9
  115. package/fesm2015/mediusinc-mng-commons.mjs +4552 -3358
  116. package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
  117. package/fesm2020/mediusinc-mng-commons.mjs +4520 -3356
  118. package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
  119. package/lib/api/models/builders/query-param.builder.d.ts +9 -9
  120. package/lib/api/models/filter-match-type.model.d.ts +7 -5
  121. package/lib/api/models/filter-param.model.d.ts +3 -3
  122. package/lib/api/models/query-mode.model.d.ts +1 -1
  123. package/lib/api/models/query-param.model.d.ts +5 -5
  124. package/lib/api/models/query-result.model.d.ts +5 -5
  125. package/lib/api/services/{abstract-crud-api.service.d.ts → crud-api.abstract.service.d.ts} +4 -4
  126. package/lib/api/services/index.d.ts +1 -1
  127. package/lib/api/utils/medius-rest.util.d.ts +9 -3
  128. package/lib/api/utils/object-serializer.util.d.ts +1 -1
  129. package/lib/components/action/action.component.d.ts +10 -10
  130. package/lib/components/action/dialog/action-dialog.component.d.ts +13 -15
  131. package/lib/{models/interfaces/confirmation-service.model.d.ts → components/action/models/action-confirmation-service.model.d.ts} +2 -2
  132. package/lib/{models/action/action.model.d.ts → components/action/models/action-execution.model.d.ts} +3 -3
  133. package/lib/components/action/models/index.d.ts +2 -0
  134. package/lib/components/action/route/action-route.component.d.ts +8 -8
  135. package/lib/components/form/autocomplete/autocomplete.component.d.ts +36 -0
  136. package/lib/components/form/dropdown/dropdown.component.d.ts +34 -0
  137. package/lib/components/form/editor/form-editor.component.d.ts +9 -7
  138. package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +4 -14
  139. package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +4 -12
  140. package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +3 -3
  141. package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +4 -4
  142. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +4 -4
  143. package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +7 -7
  144. package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +3 -3
  145. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +3 -3
  146. package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +3 -3
  147. package/lib/components/form/index.d.ts +2 -0
  148. package/lib/components/form/models/form-editor.event.d.ts +5 -0
  149. package/lib/components/form/models/index.d.ts +1 -0
  150. package/lib/components/layout/breadcrumb.component.d.ts +8 -0
  151. package/lib/components/layout/footer.component.d.ts +9 -0
  152. package/lib/components/layout/index.d.ts +6 -6
  153. package/lib/components/layout/main-layout.component.d.ts +21 -0
  154. package/lib/components/layout/menu-item.component.d.ts +29 -0
  155. package/lib/components/layout/menu.component.d.ts +10 -0
  156. package/lib/components/layout/services/index.d.ts +1 -0
  157. package/lib/components/layout/services/main-layout.component.service.d.ts +65 -0
  158. package/lib/components/layout/topbar.component.d.ts +25 -0
  159. package/lib/components/tableview/index.d.ts +2 -0
  160. package/lib/components/tableview/models/index.d.ts +1 -0
  161. package/lib/{models/events/table-event.model.d.ts → components/tableview/models/table.event.d.ts} +5 -5
  162. package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +2 -3
  163. package/lib/components/tableview/services/index.d.ts +1 -0
  164. package/lib/components/tableview/{tableview.component.service.d.ts → services/tableview.component.service.d.ts} +4 -2
  165. package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +22 -0
  166. package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -0
  167. package/lib/components/tableview/table/table.component.d.ts +45 -13
  168. package/lib/components/tableview/tableview.component.d.ts +11 -12
  169. package/lib/config/formly.config.d.ts +8 -2
  170. package/lib/{models/config → config/models}/index.d.ts +0 -0
  171. package/lib/config/models/mng-config.model.d.ts +34 -0
  172. package/lib/data-providers/base.data-provider.d.ts +17 -0
  173. package/lib/data-providers/editor.data-provider.d.ts +25 -0
  174. package/lib/data-providers/index.d.ts +5 -0
  175. package/lib/data-providers/lookup.data-provider.d.ts +14 -0
  176. package/lib/data-providers/table.data-provider.d.ts +6 -0
  177. package/lib/data-providers/tableview.data-provider.d.ts +15 -0
  178. package/lib/{models/descriptors/action-descriptor.model.d.ts → descriptors/action.descriptor.d.ts} +27 -3
  179. package/lib/{models/descriptors/editor-descriptor.model.d.ts → descriptors/editor.descriptor.d.ts} +18 -11
  180. package/lib/{models/validators → descriptors}/field.validator.d.ts +0 -0
  181. package/lib/descriptors/index.d.ts +7 -0
  182. package/lib/descriptors/lookup.descriptor.d.ts +17 -0
  183. package/lib/{models/descriptors/model-descriptor.model.d.ts → descriptors/model.descriptor.d.ts} +0 -0
  184. package/lib/descriptors/table.descriptor.d.ts +164 -0
  185. package/lib/{models/descriptors/tableview-descriptor.model.d.ts → descriptors/tableview.descriptor.d.ts} +7 -6
  186. package/lib/directives/component.directive.d.ts +11 -0
  187. package/lib/directives/index.d.ts +1 -0
  188. package/lib/directives/template.directive.d.ts +7 -5
  189. package/lib/mng-commons.module.d.ts +70 -65
  190. package/lib/models/index.d.ts +2 -0
  191. package/lib/models/router.model.d.ts +14 -0
  192. package/lib/models/user.model.d.ts +8 -0
  193. package/lib/pipes/boolean.pipe.d.ts +7 -0
  194. package/lib/pipes/index.d.ts +1 -0
  195. package/lib/pipes/property-path.pipe.d.ts +3 -3
  196. package/lib/services/action.service.d.ts +10 -10
  197. package/lib/services/commons.service.d.ts +72 -0
  198. package/lib/services/configuration.service.d.ts +3 -3
  199. package/lib/services/index.d.ts +1 -3
  200. package/lib/services/navigation.service.d.ts +3 -3
  201. package/lib/services/providers/commons-init.provider.d.ts +2 -0
  202. package/lib/services/providers/config-service.provider.d.ts +4 -4
  203. package/lib/services/providers/formly-config.provider.d.ts +2 -2
  204. package/lib/services/providers/index.d.ts +1 -0
  205. package/lib/services/tokens/browser-storage.token.d.ts +2 -0
  206. package/lib/services/tokens/index.d.ts +2 -0
  207. package/lib/services/tokens/module-config.token.d.ts +3 -0
  208. package/lib/{models/types → types}/index.d.ts +0 -0
  209. package/lib/{models/types → types}/type.decorator.d.ts +0 -0
  210. package/lib/{models/types → types}/type.model.d.ts +0 -0
  211. package/lib/utils/editor-formly.util.d.ts +1 -1
  212. package/lib/utils/i18n.util.d.ts +8 -4
  213. package/lib/utils/index.d.ts +1 -0
  214. package/lib/utils/model.util.d.ts +3 -1
  215. package/lib/utils/toast.util.d.ts +13 -0
  216. package/lib/utils/type.util.d.ts +1 -1
  217. package/mediusinc-mng-commons-0.2.0.tgz +0 -0
  218. package/package.json +4 -4
  219. package/public-api.d.ts +10 -7
  220. package/scss/common/layout/_breadcrumb.scss +96 -0
  221. package/scss/common/layout/_config.scss +101 -0
  222. package/scss/common/layout/_dashboard.scss +16 -0
  223. package/scss/common/layout/_exception.scss +131 -0
  224. package/scss/common/layout/_footer.scss +29 -0
  225. package/scss/common/layout/_help.scss +157 -0
  226. package/scss/common/layout/_inlinemenu.scss +55 -0
  227. package/scss/common/layout/_invoice.scss +176 -0
  228. package/scss/common/layout/_landing.scss +639 -0
  229. package/scss/common/layout/_layout_dark.scss +23 -0
  230. package/scss/common/layout/_layout_light.scss +23 -0
  231. package/scss/common/layout/_loader.scss +18 -0
  232. package/scss/common/layout/_login.scss +106 -0
  233. package/scss/common/layout/_main.scss +45 -0
  234. package/scss/common/layout/_mixins.scss +214 -0
  235. package/scss/common/layout/_rightmenu.scss +125 -0
  236. package/scss/common/layout/_topbar.scss +189 -0
  237. package/scss/common/layout/_typography.scss +63 -0
  238. package/scss/common/layout/_utils.scss +96 -0
  239. package/scss/common/layout/_widgets.scss +391 -0
  240. package/scss/common/layout/menu/_menu.scss +7 -0
  241. package/scss/common/layout/menu/_menu_common.scss +183 -0
  242. package/scss/common/layout/menu/_menu_overlay.scss +52 -0
  243. package/scss/common/layout/menu/_menu_sidebar.scss +232 -0
  244. package/scss/common/layout/menu/_menu_slim.scss +138 -0
  245. package/scss/common/layout/menu/_menu_static.scss +70 -0
  246. package/scss/common/layout/menu/_menu_theme.scss +365 -0
  247. package/scss/common/theme/_theme_dark.scss +5 -0
  248. package/scss/common/theme/_theme_light.scss +5 -0
  249. package/scss/common/theme/designer/_colors.scss +18 -0
  250. package/scss/common/theme/designer/_common.scss +40 -0
  251. package/scss/common/theme/designer/_components.scss +101 -0
  252. package/scss/common/theme/designer/_mixins.scss +174 -0
  253. package/scss/common/theme/designer/components/button/_button.scss +560 -0
  254. package/scss/common/theme/designer/components/button/_speeddial.scss +79 -0
  255. package/scss/common/theme/designer/components/button/_splitbutton.scss +1 -0
  256. package/scss/common/theme/designer/components/data/_carousel.scss +37 -0
  257. package/scss/common/theme/designer/components/data/_datatable.scss +266 -0
  258. package/scss/common/theme/designer/components/data/_dataview.scss +55 -0
  259. package/scss/common/theme/designer/components/data/_filter.scss +138 -0
  260. package/scss/common/theme/designer/components/data/_fullcalendar.scss +324 -0
  261. package/scss/common/theme/designer/components/data/_orderlist.scss +91 -0
  262. package/scss/common/theme/designer/components/data/_organizationchart.scss +50 -0
  263. package/scss/common/theme/designer/components/data/_paginator.scss +83 -0
  264. package/scss/common/theme/designer/components/data/_picklist.scss +91 -0
  265. package/scss/common/theme/designer/components/data/_timeline.scss +38 -0
  266. package/scss/common/theme/designer/components/data/_tree.scss +144 -0
  267. package/scss/common/theme/designer/components/data/_treetable.scss +242 -0
  268. package/scss/common/theme/designer/components/data/_virtualscroller.scss +28 -0
  269. package/scss/common/theme/designer/components/file/_fileupload.scss +58 -0
  270. package/scss/common/theme/designer/components/input/_autocomplete.scss +103 -0
  271. package/scss/common/theme/designer/components/input/_calendar.scss +212 -0
  272. package/scss/common/theme/designer/components/input/_cascadeselect.scss +98 -0
  273. package/scss/common/theme/designer/components/input/_checkbox.scss +85 -0
  274. package/scss/common/theme/designer/components/input/_chips.scss +41 -0
  275. package/scss/common/theme/designer/components/input/_colorpicker.scss +19 -0
  276. package/scss/common/theme/designer/components/input/_dropdown.scss +136 -0
  277. package/scss/common/theme/designer/components/input/_editor.scss +122 -0
  278. package/scss/common/theme/designer/components/input/_inputgroup.scss +69 -0
  279. package/scss/common/theme/designer/components/input/_inputmask.scss +3 -0
  280. package/scss/common/theme/designer/components/input/_inputnumber.scss +3 -0
  281. package/scss/common/theme/designer/components/input/_inputswitch.scss +58 -0
  282. package/scss/common/theme/designer/components/input/_inputtext.scss +97 -0
  283. package/scss/common/theme/designer/components/input/_listbox.scss +82 -0
  284. package/scss/common/theme/designer/components/input/_multiselect.scss +164 -0
  285. package/scss/common/theme/designer/components/input/_password.scss +33 -0
  286. package/scss/common/theme/designer/components/input/_radiobutton.scss +78 -0
  287. package/scss/common/theme/designer/components/input/_rating.scss +48 -0
  288. package/scss/common/theme/designer/components/input/_selectbutton.scss +50 -0
  289. package/scss/common/theme/designer/components/input/_slider.scss +69 -0
  290. package/scss/common/theme/designer/components/input/_togglebutton.scss +48 -0
  291. package/scss/common/theme/designer/components/input/_treeselect.scss +89 -0
  292. package/scss/common/theme/designer/components/menu/_breadcrumb.scss +42 -0
  293. package/scss/common/theme/designer/components/menu/_contextmenu.scss +50 -0
  294. package/scss/common/theme/designer/components/menu/_dock.scss +51 -0
  295. package/scss/common/theme/designer/components/menu/_megamenu.scss +102 -0
  296. package/scss/common/theme/designer/components/menu/_menu.scss +41 -0
  297. package/scss/common/theme/designer/components/menu/_menubar.scss +179 -0
  298. package/scss/common/theme/designer/components/menu/_panelmenu.scss +137 -0
  299. package/scss/common/theme/designer/components/menu/_slidemenu.scss +55 -0
  300. package/scss/common/theme/designer/components/menu/_steps.scss +55 -0
  301. package/scss/common/theme/designer/components/menu/_tabmenu.scss +49 -0
  302. package/scss/common/theme/designer/components/menu/_tieredmenu.scss +56 -0
  303. package/scss/common/theme/designer/components/messages/_inlinemessage.scss +64 -0
  304. package/scss/common/theme/designer/components/messages/_message.scss +102 -0
  305. package/scss/common/theme/designer/components/messages/_toast.scss +95 -0
  306. package/scss/common/theme/designer/components/misc/_avatar.scss +30 -0
  307. package/scss/common/theme/designer/components/misc/_badge.scss +48 -0
  308. package/scss/common/theme/designer/components/misc/_blockui.scss +3 -0
  309. package/scss/common/theme/designer/components/misc/_chip.scss +36 -0
  310. package/scss/common/theme/designer/components/misc/_inplace.scss +17 -0
  311. package/scss/common/theme/designer/components/misc/_progressbar.scss +17 -0
  312. package/scss/common/theme/designer/components/misc/_scrolltop.scss +20 -0
  313. package/scss/common/theme/designer/components/misc/_skeleton.scss +8 -0
  314. package/scss/common/theme/designer/components/misc/_tag.scss +33 -0
  315. package/scss/common/theme/designer/components/misc/_terminal.scss +11 -0
  316. package/scss/common/theme/designer/components/multimedia/_galleria.scss +141 -0
  317. package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +67 -0
  318. package/scss/common/theme/designer/components/overlay/_dialog.scss +63 -0
  319. package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +62 -0
  320. package/scss/common/theme/designer/components/overlay/_sidebar.scss +27 -0
  321. package/scss/common/theme/designer/components/overlay/_tooltip.scss +33 -0
  322. package/scss/common/theme/designer/components/panel/_accordion.scss +119 -0
  323. package/scss/common/theme/designer/components/panel/_card.scss +30 -0
  324. package/scss/common/theme/designer/components/panel/_divider.scss +31 -0
  325. package/scss/common/theme/designer/components/panel/_fieldset.scss +47 -0
  326. package/scss/common/theme/designer/components/panel/_panel.scss +42 -0
  327. package/scss/common/theme/designer/components/panel/_scrollpanel.scss +6 -0
  328. package/scss/common/theme/designer/components/panel/_splitter.scss +19 -0
  329. package/scss/common/theme/designer/components/panel/_tabview.scss +66 -0
  330. package/scss/common/theme/designer/components/panel/_toolbar.scss +10 -0
  331. package/scss/common/theme/extensions/_button.scss +99 -0
  332. package/scss/common/theme/extensions/_calendar.scss +18 -0
  333. package/scss/common/theme/extensions/_card.scss +6 -0
  334. package/scss/common/theme/extensions/_carousel.scss +13 -0
  335. package/scss/common/theme/extensions/_checkbox.scss +10 -0
  336. package/scss/common/theme/extensions/_contextmenu.scss +16 -0
  337. package/scss/common/theme/extensions/_datatable.scss +83 -0
  338. package/scss/common/theme/extensions/_dialog.scss +14 -0
  339. package/scss/common/theme/extensions/_fieldset.scss +6 -0
  340. package/scss/common/theme/extensions/_galleria.scss +25 -0
  341. package/scss/common/theme/extensions/_megamenu.scss +18 -0
  342. package/scss/common/theme/extensions/_menu.scss +14 -0
  343. package/scss/common/theme/extensions/_menubar.scss +14 -0
  344. package/scss/common/theme/extensions/_orderlist.scss +38 -0
  345. package/scss/common/theme/extensions/_paginator.scss +19 -0
  346. package/scss/common/theme/extensions/_panelmenu.scss +20 -0
  347. package/scss/common/theme/extensions/_password.scss +5 -0
  348. package/scss/common/theme/extensions/_picklist.scss +38 -0
  349. package/scss/common/theme/extensions/_radiobutton.scss +8 -0
  350. package/scss/common/theme/extensions/_sidebar.scss +19 -0
  351. package/scss/common/theme/extensions/_slidemenu.scss +10 -0
  352. package/scss/common/theme/extensions/_slider.scss +6 -0
  353. package/scss/common/theme/extensions/_steps.scss +50 -0
  354. package/scss/common/theme/extensions/_tieredmenu.scss +14 -0
  355. package/scss/common/theme/extensions/_toast.scss +6 -0
  356. package/scss/common/theme/extensions/_tree.scss +36 -0
  357. package/scss/common/theme/extensions/_treetable.scss +35 -0
  358. package/scss/common/theme/extensions/_vendor_extensions.scss +27 -0
  359. package/scss/common/variables/layout/_common.scss +12 -0
  360. package/scss/common/variables/layout/_layout_dark.scss +71 -0
  361. package/scss/common/variables/layout/_layout_light.scss +71 -0
  362. package/scss/common/variables/theme/_theme_dark.scss +897 -0
  363. package/scss/common/variables/theme/_theme_light.scss +885 -0
  364. package/scss/layout/default/_mng-variables-layout-dark.scss +2 -0
  365. package/scss/layout/default/_mng-variables-layout-light.scss +2 -0
  366. package/scss/layout/default/layout-dark.scss +2 -0
  367. package/scss/layout/default/layout-light.scss +2 -0
  368. package/scss/mng-commons-dark.scss +5 -0
  369. package/scss/mng-commons-light.scss +5 -0
  370. package/scss/mng-overrides/_layout_action.scss +3 -0
  371. package/scss/mng-overrides/_layout_dialog.scss +34 -0
  372. package/scss/mng-overrides/_layout_forms.scss +31 -0
  373. package/scss/mng-overrides/_layout_radio.scss +3 -0
  374. package/scss/mng-overrides/_layout_styles.scss +4 -0
  375. package/scss/mng-overrides/_theme_datatable.scss +9 -0
  376. package/scss/mng-overrides/_theme_dialog.scss +9 -0
  377. package/scss/mng-overrides/_theme_dropdown.scss +6 -0
  378. package/scss/mng-overrides/_theme_styles.scss +9 -0
  379. package/scss/mng-overrides/_theme_tableview.scss +94 -0
  380. package/scss/theme/default/_mng-variables-theme-dark.scss +8 -0
  381. package/scss/theme/default/_mng-variables-theme-light.scss +8 -0
  382. package/scss/theme/default/theme-dark.scss +2 -0
  383. package/scss/theme/default/theme-light.scss +2 -0
  384. package/esm2020/lib/components/layout/app.breadcrumb.component.mjs +0 -27
  385. package/esm2020/lib/components/layout/app.footer.component.mjs +0 -35
  386. package/esm2020/lib/components/layout/app.main.component.mjs +0 -25
  387. package/esm2020/lib/components/layout/app.main.component.service.mjs +0 -133
  388. package/esm2020/lib/components/layout/app.menu.component.mjs +0 -38
  389. package/esm2020/lib/components/layout/app.menuitem.component.mjs +0 -243
  390. package/esm2020/lib/components/layout/app.topbar.component.mjs +0 -135
  391. package/esm2020/lib/components/tableview/tableview.component.service.mjs +0 -18
  392. package/esm2020/lib/models/action/action.model.mjs +0 -58
  393. package/esm2020/lib/models/action/index.mjs +0 -2
  394. package/esm2020/lib/models/config/mng-config.model.mjs +0 -3
  395. package/esm2020/lib/models/descriptors/action-descriptor.model.mjs +0 -283
  396. package/esm2020/lib/models/descriptors/editor-descriptor.model.mjs +0 -647
  397. package/esm2020/lib/models/descriptors/index.mjs +0 -6
  398. package/esm2020/lib/models/descriptors/model-descriptor.model.mjs +0 -34
  399. package/esm2020/lib/models/descriptors/table-descriptor.model.mjs +0 -123
  400. package/esm2020/lib/models/descriptors/tableview-descriptor.model.mjs +0 -124
  401. package/esm2020/lib/models/events/editor-event.model.mjs +0 -14
  402. package/esm2020/lib/models/events/index.mjs +0 -3
  403. package/esm2020/lib/models/events/table-event.model.mjs +0 -16
  404. package/esm2020/lib/models/interfaces/confirmation-service.model.mjs +0 -2
  405. package/esm2020/lib/models/interfaces/index.mjs +0 -2
  406. package/esm2020/lib/models/providers/data-provider.model.mjs +0 -86
  407. package/esm2020/lib/models/providers/index.mjs +0 -2
  408. package/esm2020/lib/models/types/index.mjs +0 -3
  409. package/esm2020/lib/models/types/type.decorator.mjs +0 -8
  410. package/esm2020/lib/models/types/type.model.mjs +0 -2
  411. package/esm2020/lib/models/validators/field.validator.mjs +0 -21
  412. package/esm2020/lib/models/validators/index.mjs +0 -2
  413. package/esm2020/lib/services/breadcrumb.service.mjs +0 -21
  414. package/esm2020/lib/services/menu.service.mjs +0 -26
  415. package/esm2020/lib/services/settings.service.mjs +0 -40
  416. package/lib/components/layout/app.breadcrumb.component.d.ts +0 -16
  417. package/lib/components/layout/app.footer.component.d.ts +0 -8
  418. package/lib/components/layout/app.main.component.d.ts +0 -12
  419. package/lib/components/layout/app.main.component.service.d.ts +0 -40
  420. package/lib/components/layout/app.menu.component.d.ts +0 -14
  421. package/lib/components/layout/app.menuitem.component.d.ts +0 -31
  422. package/lib/components/layout/app.topbar.component.d.ts +0 -16
  423. package/lib/models/action/index.d.ts +0 -1
  424. package/lib/models/config/mng-config.model.d.ts +0 -19
  425. package/lib/models/descriptors/index.d.ts +0 -5
  426. package/lib/models/descriptors/table-descriptor.model.d.ts +0 -45
  427. package/lib/models/events/editor-event.model.d.ts +0 -11
  428. package/lib/models/events/index.d.ts +0 -2
  429. package/lib/models/interfaces/index.d.ts +0 -1
  430. package/lib/models/providers/data-provider.model.d.ts +0 -62
  431. package/lib/models/providers/index.d.ts +0 -1
  432. package/lib/models/validators/index.d.ts +0 -1
  433. package/lib/services/breadcrumb.service.d.ts +0 -9
  434. package/lib/services/menu.service.d.ts +0 -11
  435. package/lib/services/settings.service.d.ts +0 -18
  436. package/mediusinc-mng-commons-0.0.1-rc.2.tgz +0 -0
@@ -1,8 +1,8 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { ClassType } from '../types';
3
- import { EditorDescriptor, ModelDescriptor } from '../descriptors';
4
- import { IDataProvider, IEditorDataProvider } from '../providers';
5
- import { ActionExecContext } from '../action';
3
+ import { EditorDescriptor, ModelDescriptor } from './';
4
+ import { IDataProvider, IEditorDataProvider } from '../data-providers';
5
+ import { ActionExecContext } from '../components/action/models';
6
6
  export declare class ActionDescriptor<T> {
7
7
  protected readonly _model: ModelDescriptor<T>;
8
8
  protected readonly _actionName: string;
@@ -18,6 +18,7 @@ export declare class ActionDescriptor<T> {
18
18
  protected _title?: string | null;
19
19
  protected _icon?: string;
20
20
  protected _className: string;
21
+ protected _tooltip?: string | null;
21
22
  protected _runFunction?: (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<T>;
22
23
  protected _isVisibleFunction?: (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>;
23
24
  protected _isEnabledFunction?: (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>;
@@ -27,6 +28,12 @@ export declare class ActionDescriptor<T> {
27
28
  private _runConfirmationMessage?;
28
29
  private _runConfirmationAcceptTitle?;
29
30
  private _runConfirmationRejectTitle?;
31
+ protected _hasRunNotificationSuccess: boolean;
32
+ private _runNotificationSuccessTitle?;
33
+ private _runNotificationSuccessMessage?;
34
+ private _hasRunNotificationError;
35
+ private _runNotificationErrorTitle?;
36
+ private _runNotificationErrorMessage?;
30
37
  constructor(model: ModelDescriptor<T>, actionName: string, parentType?: ClassType<any>, parentProperty?: string);
31
38
  get model(): ModelDescriptor<T>;
32
39
  get parentTypeName(): string | undefined;
@@ -39,6 +46,7 @@ export declare class ActionDescriptor<T> {
39
46
  get routeUrl(): string | null;
40
47
  get title(): string | null | undefined;
41
48
  get icon(): string | undefined;
49
+ get tooltip(): string | null | undefined;
42
50
  get runFunction(): (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<T>;
43
51
  get isVisibleFunction(): ((ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>) | undefined;
44
52
  get isEnabledFunction(): ((ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>) | undefined;
@@ -50,6 +58,12 @@ export declare class ActionDescriptor<T> {
50
58
  get runConfirmationMessage(): string | undefined;
51
59
  get runConfirmationAcceptTitle(): string | undefined;
52
60
  get runConfirmationRejectTitle(): string | undefined;
61
+ get hasRunNotificationSuccess(): boolean;
62
+ get runNotificationSuccessTitle(): string | undefined;
63
+ get runNotificationSuccessMessage(): string | undefined;
64
+ get hasRunNotificationError(): boolean;
65
+ get runNotificationErrorTitle(): string | undefined;
66
+ get runNotificationErrorMessage(): string | undefined;
53
67
  withRunFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<T>): this;
54
68
  withIsVisibleFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<boolean>): this;
55
69
  withIsEnabledFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<boolean>): this;
@@ -65,18 +79,27 @@ export declare class ActionDescriptor<T> {
65
79
  */
66
80
  withTitle(title: string | null): this;
67
81
  withIcon(icon: string): this;
82
+ withTooltip(tooltip: string | null): this;
68
83
  withClassName(className: string): this;
69
84
  withPosition(position: ActionPositionEnum): this;
70
85
  withRunConfirmation(icon?: string, title?: string, message?: string, acceptTitle?: string, rejectTitle?: string): this;
86
+ withRunNotificationSuccess(title?: string, message?: string, hasNotification?: boolean): void;
87
+ withRunNotificationError(title?: string, message?: string, hasNotification?: boolean): void;
71
88
  }
72
89
  export declare class ActionEditorDescriptor<T> extends ActionDescriptor<T> {
73
90
  private readonly _editorDescriptor;
74
91
  protected _editorTitle?: string;
92
+ private _hasFetchNotificationSuccess;
93
+ private _fetchNotificationSuccessTitle?;
94
+ private _fetchNotificationSuccessMessage?;
75
95
  protected _fetchFunction?: (ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>;
76
96
  protected _submitFunction?: (ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>;
77
97
  constructor(editorDescriptor: EditorDescriptor<T>, actionName: string, parentType?: ClassType<any>, parentProperty?: string);
78
98
  get editorTitle(): string | undefined;
79
99
  get editorDescriptor(): EditorDescriptor<T>;
100
+ get hasFetchNotificationSuccess(): boolean;
101
+ get fetchNotificationSuccessTitle(): string | undefined;
102
+ get fetchNotificationSuccessMessage(): string | undefined;
80
103
  get runFunction(): (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<T>;
81
104
  get fetchFunction(): (ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>;
82
105
  get submitFunction(): ((ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>) | undefined;
@@ -84,6 +107,7 @@ export declare class ActionEditorDescriptor<T> extends ActionDescriptor<T> {
84
107
  withRunFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<T>): this;
85
108
  withFetchFunction<S>(fn: (ctx: ActionExecContext<T, S, IEditorDataProvider<T, S>>) => Observable<T>): this;
86
109
  withSubmitFunction<S>(fn: (ctx: ActionExecContext<T, S, IEditorDataProvider<T, S>>) => Observable<T>): this;
110
+ withFetchNotificationError(title?: string, message?: string, hasNotification?: boolean): void;
87
111
  }
88
112
  export declare class ActionEditorDetailsDescriptor<T> extends ActionEditorDescriptor<T> {
89
113
  constructor(editorDescriptor: EditorDescriptor<T>);
@@ -2,11 +2,10 @@ import { Type } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
3
  import { FormlyFieldConfig } from '@ngx-formly/core';
4
4
  import { Observable } from 'rxjs';
5
- import { ClassType, EnumMemberType } from '../../models/types';
6
- import { ILookupDataProvider, ITableDataProvider } from '../../models/providers';
7
- import { ModelDescriptor, TableDescriptor, TableviewDescriptor } from '../../models/descriptors';
8
- import { FieldValidator } from '../../models/validators';
9
- import { QueryParam, QueryResult } from '../../api/models';
5
+ import { ClassType, EnumMemberType } from '../types';
6
+ import { ILookupDataProvider, ITableDataProvider } from '../data-providers';
7
+ import { ModelDescriptor, TableDescriptor, TableviewDescriptor, FieldValidator, ILookupDescriptor } from './';
8
+ import { MediusQueryParam, MediusQueryResult } from '../api/models';
10
9
  export declare class EditorDescriptor<T> {
11
10
  static readonly defaultGroupName = "_default";
12
11
  private readonly _model;
@@ -90,6 +89,9 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
90
89
  private _datePickerMin?;
91
90
  private _datePickerMax?;
92
91
  private _datePickerShowTime;
92
+ private _maxLength?;
93
+ private _minLength?;
94
+ private _pattern?;
93
95
  constructor(editor: EditorDescriptor<ET>, property: string);
94
96
  get fieldType(): FieldInputDescriptor.TypeEnum;
95
97
  get numberStep(): number | undefined;
@@ -103,6 +105,10 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
103
105
  get datePickerMin(): Date | undefined;
104
106
  get datePickerMax(): Date | undefined;
105
107
  get datePickerShowTime(): boolean;
108
+ get maxLength(): number | undefined;
109
+ get minLength(): number | undefined;
110
+ get pattern(): string | RegExp | undefined;
111
+ asText(minLength?: number, maxLength?: number, pattern?: string | RegExp): this;
106
112
  asTextarea(rows?: number): this;
107
113
  asNumber(step?: number, min?: number, max?: number, minFractionDigits?: number, maxFractionDigits?: number): this;
108
114
  asSwitch(): this;
@@ -120,15 +126,16 @@ export declare namespace FieldInputDescriptor {
120
126
  Datepicker = 5
121
127
  }
122
128
  }
123
- export declare class FieldLookupDescriptor<T, ET> extends AFieldDescriptor<T, ET> {
129
+ export declare class FieldLookupDescriptor<T, ET> extends AFieldDescriptor<T, ET> implements ILookupDescriptor<T> {
124
130
  protected readonly _modelType: ClassType<T> | null;
125
- protected _fieldType: FieldLookupDescriptor.TypeEnum;
131
+ protected _lookupType: FieldLookupDescriptor.LookupTypeEnum;
126
132
  protected _itemsLabelProperty?: string;
127
133
  protected _itemsValueProperty?: string;
128
134
  protected _dataKeyProperty?: string;
129
135
  protected _dataProvider?: ILookupDataProvider<T, any>;
130
136
  constructor(editor: EditorDescriptor<ET>, property: string, modelType: ClassType<T> | null);
131
- get fieldType(): FieldLookupDescriptor.TypeEnum;
137
+ get modelType(): ClassType<T> | null;
138
+ get lookupType(): FieldLookupDescriptor.LookupTypeEnum;
132
139
  get itemsLabelProperty(): string | undefined;
133
140
  get itemsValueProperty(): string | undefined;
134
141
  get dataKeyProperty(): string | undefined;
@@ -136,13 +143,13 @@ export declare class FieldLookupDescriptor<T, ET> extends AFieldDescriptor<T, ET
136
143
  withItemsLabelProperty(itemsLabelProperty: string): this;
137
144
  withItemsValueProperty(itemsValueProperty: string): this;
138
145
  withDataKeyProperty(property: string): this;
139
- withLookup<S>(lookup: (queryParam?: QueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
146
+ withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
140
147
  withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
141
148
  asAutocomplete(): this;
142
149
  copy(): FieldLookupDescriptor<T, ET>;
143
150
  }
144
151
  export declare namespace FieldLookupDescriptor {
145
- enum TypeEnum {
152
+ enum LookupTypeEnum {
146
153
  Dropdown = 0,
147
154
  Autocomplete = 1
148
155
  }
@@ -172,7 +179,7 @@ export declare class FieldManyToManyEditorDescriptor<T, ET> extends AFieldDescri
172
179
  get hasLookupExcludeValues(): boolean;
173
180
  get excludeFilterProperty(): string;
174
181
  get excludeValueProperty(): string;
175
- withLookup<S>(getAll: (queryParam: QueryParam, service?: S) => Observable<QueryResult<T>>, serviceType?: Type<S>): this;
182
+ withLookup<S>(getAll: (queryParam: MediusQueryParam, service?: S) => Observable<MediusQueryResult<T>>, serviceType?: Type<S>): this;
176
183
  withLookupDataProvider(dataProvider: ITableDataProvider<T, any>): this;
177
184
  withActions(actions?: Array<FieldManyToManyEditorDescriptor.ActionEnum>): this;
178
185
  withLookupExclude(filterProperty: string, valueProperty: string, hasLookupExclude?: boolean): this;
@@ -0,0 +1,7 @@
1
+ export * from './action.descriptor';
2
+ export * from './editor.descriptor';
3
+ export * from './field.validator';
4
+ export * from './lookup.descriptor';
5
+ export * from './model.descriptor';
6
+ export * from './table.descriptor';
7
+ export * from './tableview.descriptor';
@@ -0,0 +1,17 @@
1
+ import { Type } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ILookupDataProvider } from '../data-providers';
4
+ import { ClassType } from '../types';
5
+ import { MediusQueryParam } from '../api/models';
6
+ export interface ILookupDescriptor<T> {
7
+ modelType: ClassType<T> | null;
8
+ itemsLabelProperty?: string;
9
+ itemsValueProperty?: string;
10
+ dataKeyProperty?: string;
11
+ dataProvider?: ILookupDataProvider<T, any>;
12
+ withItemsLabelProperty(itemsLabelProperty: string): this;
13
+ withItemsValueProperty(itemsLabelProperty: string): this;
14
+ withDataKeyProperty(dataKeyProperty: string): this;
15
+ withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
16
+ withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
17
+ }
@@ -0,0 +1,164 @@
1
+ import { Type } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ModelDescriptor } from './model.descriptor';
4
+ import { ILookupDescriptor } from './lookup.descriptor';
5
+ import { ClassType } from '../types';
6
+ import { ILookupDataProvider } from '../data-providers';
7
+ import { MediusQueryParam } from '../api/models';
8
+ export declare class TableDescriptor<T> {
9
+ private readonly _model;
10
+ private _filterDisplay;
11
+ private _paginationMode;
12
+ private _columns;
13
+ private _title?;
14
+ private _dataKeyProperty?;
15
+ private _hasDefaultSort;
16
+ private _defaultSortProperty;
17
+ private _defaultSortAsc;
18
+ private _rowHeight;
19
+ private _tableFullHeightOffset;
20
+ constructor(modelType: ClassType<T>, idProperty?: string, titleProperty?: string);
21
+ get model(): ModelDescriptor<T>;
22
+ get filterDisplay(): TableDescriptor.FilterDisplayEnum;
23
+ get paginationMode(): TableDescriptor.PaginationModeEnum;
24
+ get columns(): ColumnDescriptor<any, T>[];
25
+ get title(): string | undefined;
26
+ get dataKeyProperty(): string | undefined;
27
+ get hasDefaultSort(): boolean;
28
+ get defaultSortProperty(): string[];
29
+ get defaultSortAsc(): boolean[];
30
+ get rowHeight(): number;
31
+ get tableFullHeightOffset(): number;
32
+ addColumnDescriptor<CT>(column: ColumnDescriptor<CT, T>): TableDescriptor<T>;
33
+ addColumn(property: string): ColumnDescriptor<string, T>;
34
+ addColumnNumber(property: string, displayFormat?: string): ColumnDescriptor<number, T>;
35
+ addColumnDate(property: string, displayFormat?: string): ColumnDescriptor<Date, T>;
36
+ addColumnBoolean(property: string): ColumnDescriptor<boolean, T>;
37
+ addColumnObject<CT>(property: string, modelType: ClassType<CT>, displayProperty: string): ColumnDescriptor<CT, T>;
38
+ withFilterDisplay(filterDisplayType: TableDescriptor.FilterDisplayEnum): this;
39
+ withPaginationMode(paginationMode: TableDescriptor.PaginationModeEnum): this;
40
+ withTitle(title: string): TableDescriptor<T>;
41
+ withDataKeyProperty(property: string): TableDescriptor<T>;
42
+ withDefaultSort(property: string, asc?: boolean): TableDescriptor<T>;
43
+ withRowHeight(rowHeight: number): TableDescriptor<T>;
44
+ withTableFullHeightOffset(tableFullHeightOffset: number): TableDescriptor<T>;
45
+ private setDataKeyFromColumn;
46
+ copy(): TableDescriptor<T>;
47
+ }
48
+ export declare namespace TableDescriptor {
49
+ enum PaginationModeEnum {
50
+ Pagination = 0,
51
+ InfiniteScroll = 1
52
+ }
53
+ enum FilterDisplayEnum {
54
+ Row = 0,
55
+ Menu = 1
56
+ }
57
+ }
58
+ export declare class ColumnDescriptor<T, TT> {
59
+ private readonly _table;
60
+ private readonly _property;
61
+ private _modelType;
62
+ private _columnType;
63
+ private _title?;
64
+ private _displayPropertyPath?;
65
+ private _isSortEnabled;
66
+ private _filterDescriptor?;
67
+ private _displayFormat?;
68
+ constructor(table: TableDescriptor<TT>, property: string);
69
+ get table(): TableDescriptor<TT>;
70
+ get property(): string;
71
+ get modelType(): ClassType<T> | null;
72
+ get displayPropertyPath(): string | undefined;
73
+ get title(): string | undefined;
74
+ get isSortEnabled(): boolean;
75
+ get columnType(): ColumnDescriptor.TypeEnum;
76
+ get filterDescriptor(): FilterDescriptor<T> | undefined;
77
+ get displayFormat(): string | undefined;
78
+ asType(type?: ColumnDescriptor.TypeEnum): this;
79
+ asNumber(displayFormat?: string): this;
80
+ asDate(displayFormat?: string): this;
81
+ asBoolean(): this;
82
+ withModelType(modelType: ClassType<T>): this;
83
+ withTitle(title: string): this;
84
+ withDisplayPropertyPath(displayPropertyPath: string): this;
85
+ withFilter(): FilterDescriptor<T>;
86
+ withFilterLookup(): FilterLookupDescriptor<T>;
87
+ withSort(isEnabled?: boolean): this;
88
+ copy(): ColumnDescriptor<T, TT>;
89
+ }
90
+ export declare namespace ColumnDescriptor {
91
+ enum TypeEnum {
92
+ String = 0,
93
+ Number = 1,
94
+ Boolean = 2,
95
+ Date = 3
96
+ }
97
+ }
98
+ export declare class FilterDescriptor<T> {
99
+ protected readonly _property: string;
100
+ protected _filterType: FilterDescriptor.TypeEnum;
101
+ protected _filterProperty?: string;
102
+ protected _placeholder?: string;
103
+ protected _className: string;
104
+ constructor(property: string);
105
+ get property(): string;
106
+ get filterType(): FilterDescriptor.TypeEnum;
107
+ get filterProperty(): string | undefined;
108
+ get placeholder(): string | undefined;
109
+ get className(): string;
110
+ asFilterType(filterType: ColumnDescriptor.TypeEnum): this;
111
+ /**
112
+ * Sets different filter property name instead of default property. Use this if API requires different property provided to perform correct filter.
113
+ * @param filterProperty
114
+ */
115
+ withFilterProperty(filterProperty: string): this;
116
+ withPlaceholder(placeholder: string): this;
117
+ withClassName(className: string): this;
118
+ protected copyFieldsTo(descriptor: FilterDescriptor<T>): void;
119
+ copy(): FilterDescriptor<T>;
120
+ }
121
+ export declare namespace FilterDescriptor {
122
+ enum TypeEnum {
123
+ String = 0,
124
+ Number = 1,
125
+ Boolean = 2,
126
+ Date = 3,
127
+ Lookup = 4
128
+ }
129
+ }
130
+ export declare class FilterLookupDescriptor<T> extends FilterDescriptor<T> implements ILookupDescriptor<T> {
131
+ private readonly _modelType;
132
+ private _lookupType?;
133
+ private _dataProvider?;
134
+ private _itemsLabelProperty?;
135
+ private _itemsValueProperty?;
136
+ private _dataKeyProperty?;
137
+ private _multiselect;
138
+ protected _dropdownClassName: string;
139
+ constructor(property: string, modelType: ClassType<T> | null);
140
+ get modelType(): ClassType<T> | null;
141
+ get lookupType(): FilterLookupDescriptor.LookupTypeEnum | undefined;
142
+ get itemsLabelProperty(): string | undefined;
143
+ get itemsValueProperty(): string | undefined;
144
+ get dataKeyProperty(): string | undefined;
145
+ get dataProvider(): ILookupDataProvider<T, any> | undefined;
146
+ get multiselect(): boolean;
147
+ withItemsLabelProperty(itemsLabelProperty: string): this;
148
+ withItemsValueProperty(itemsValueProperty: string): this;
149
+ withDataKeyProperty(dataKeyProperty: string): this;
150
+ get dropdownClassName(): string;
151
+ withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
152
+ withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
153
+ withMultiselect(multiselect?: boolean): this;
154
+ withDropdownClassName(dropdownClassName: string): this;
155
+ asAutocomplete(): this;
156
+ protected copyFieldsTo(descriptor: FilterLookupDescriptor<T>): void;
157
+ copy(): FilterLookupDescriptor<T>;
158
+ }
159
+ export declare namespace FilterLookupDescriptor {
160
+ enum LookupTypeEnum {
161
+ Dropdown = 0,
162
+ Autocomplete = 1
163
+ }
164
+ }
@@ -1,7 +1,5 @@
1
1
  import { AbstractControl } from '@angular/forms';
2
- import { ModelDescriptor } from './model-descriptor.model';
3
- import { AFieldDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor } from './editor-descriptor.model';
4
- import { ColumnDescriptor, TableDescriptor } from './table-descriptor.model';
2
+ import { ModelDescriptor, AFieldDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, ColumnDescriptor, TableDescriptor } from './';
5
3
  import { ClassType, EnumMemberType } from '../types';
6
4
  export declare class TableviewDescriptor<T> {
7
5
  private readonly _model;
@@ -23,9 +21,12 @@ export declare class TableviewDescriptor<T> {
23
21
  withEditDescriptor(descriptor: EditorDescriptor<T>): this;
24
22
  withTableTitle(title: string): this;
25
23
  withValidator(name: string, expression: (control: AbstractControl) => boolean): this;
26
- addColumnDescriptor<CT>(column: ColumnDescriptor<CT>): TableDescriptor<T>;
27
- addColumn(property: string): ColumnDescriptor<string>;
28
- addColumnNumber(property: string): ColumnDescriptor<number>;
24
+ addColumnDescriptor<CT>(column: ColumnDescriptor<CT, T>): TableDescriptor<T>;
25
+ addColumn(property: string): ColumnDescriptor<string, T>;
26
+ addColumnNumber(property: string, displayFormat?: string): ColumnDescriptor<number, T>;
27
+ addColumnDate(property: string, displayFormat?: string): ColumnDescriptor<Date, T>;
28
+ addColumnBoolean(property: string): ColumnDescriptor<boolean, T>;
29
+ addColumnObject<CT>(property: string, modelType: ClassType<CT>, displayProperty: string): ColumnDescriptor<CT, T>;
29
30
  createTabGroup(name: string, title?: string): this;
30
31
  createFieldGroup(name: string, title?: string): this;
31
32
  addFieldDescriptor<FT>(field: AFieldDescriptor<FT, T>): this;
@@ -0,0 +1,11 @@
1
+ import { ComponentRef, OnInit, Type, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MngComponentDirective<T> implements OnInit {
4
+ viewContainerRef: ViewContainerRef;
5
+ component: Type<T>;
6
+ componentRef: ComponentRef<T>;
7
+ constructor(viewContainerRef: ViewContainerRef);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<MngComponentDirective<any>, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MngComponentDirective<any>, "[mngComponent]", never, { "component": "mngComponent"; }, {}, never>;
11
+ }
@@ -1 +1,2 @@
1
+ export * from './component.directive';
1
2
  export * from './template.directive';
@@ -1,11 +1,13 @@
1
- import { TemplateRef } from '@angular/core';
1
+ import { TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class TemplateDirective {
3
+ export declare class MngTemplateDirective {
4
4
  template: TemplateRef<any>;
5
+ private viewContainerRef;
5
6
  type: string;
6
7
  name: string;
7
- constructor(template: TemplateRef<any>);
8
+ constructor(template: TemplateRef<any>, viewContainerRef: ViewContainerRef);
8
9
  getType(): string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateDirective, "[mngTemplate]", never, { "type": "type"; "name": "mngTemplate"; }, {}, never>;
10
+ getViewContainerRef(): ViewContainerRef;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MngTemplateDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MngTemplateDirective, "[mngTemplate]", never, { "type": "type"; "name": "mngTemplate"; }, {}, never>;
11
13
  }
@@ -1,74 +1,79 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
- import { HttpClient } from '@angular/common/http';
3
2
  import { InputTextModule } from 'primeng/inputtext';
4
- import { MngModuleConfig } from './models/config';
5
- import { TranslateHttpLoader } from '@ngx-translate/http-loader';
3
+ import { MngModuleConfig } from './config/models';
6
4
  import * as i0 from "@angular/core";
7
- import * as i1 from "./directives/template.directive";
8
- import * as i2 from "./pipes/property-path.pipe";
9
- import * as i3 from "./components/layout/app.breadcrumb.component";
10
- import * as i4 from "./components/layout/app.footer.component";
11
- import * as i5 from "./components/layout/app.main.component";
12
- import * as i6 from "./components/layout/app.menu.component";
13
- import * as i7 from "./components/layout/app.menuitem.component";
14
- import * as i8 from "./components/layout/app.topbar.component";
15
- import * as i9 from "./components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component";
16
- import * as i10 from "./components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component";
17
- import * as i11 from "./components/form/formly/fields/formly-field-input/formly-field-input.component";
18
- import * as i12 from "./components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component";
19
- import * as i13 from "./components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component";
20
- import * as i14 from "./components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component";
21
- import * as i15 from "./components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component";
22
- import * as i16 from "./components/form/formly/fields/formly-field-tabs/formly-field-tabs.component";
23
- import * as i17 from "./components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component";
24
- import * as i18 from "./components/tableview/table/table.component";
25
- import * as i19 from "./components/tableview/tableview.component";
26
- import * as i20 from "./components/form/editor/form-editor.component";
27
- import * as i21 from "./components/action/action.component";
28
- import * as i22 from "./components/action/dialog/action-dialog.component";
29
- import * as i23 from "./components/action/route/action-route.component";
30
- import * as i24 from "@angular/common";
31
- import * as i25 from "@angular/router";
32
- import * as i26 from "@angular/common/http";
33
- import * as i27 from "@angular/forms";
34
- import * as i28 from "@ngx-translate/core";
35
- import * as i29 from "@ngx-formly/core";
36
- import * as i30 from "primeng/autocomplete";
37
- import * as i31 from "primeng/breadcrumb";
38
- import * as i32 from "primeng/button";
39
- import * as i33 from "primeng/calendar";
40
- import * as i34 from "primeng/card";
41
- import * as i35 from "primeng/checkbox";
42
- import * as i36 from "primeng/chip";
43
- import * as i37 from "primeng/confirmdialog";
44
- import * as i38 from "primeng/confirmpopup";
45
- import * as i39 from "primeng/dialog";
46
- import * as i40 from "primeng/dynamicdialog";
47
- import * as i41 from "primeng/dropdown";
48
- import * as i42 from "primeng/inputnumber";
49
- import * as i43 from "primeng/inputmask";
50
- import * as i44 from "primeng/inputswitch";
51
- import * as i45 from "primeng/inputtext";
52
- import * as i46 from "primeng/inputtextarea";
53
- import * as i47 from "primeng/paginator";
54
- import * as i48 from "primeng/radiobutton";
55
- import * as i49 from "primeng/ripple";
56
- import * as i50 from "primeng/selectbutton";
57
- import * as i51 from "primeng/table";
58
- import * as i52 from "primeng/tag";
59
- import * as i53 from "primeng/toast";
60
- import * as i54 from "primeng/togglebutton";
61
- import * as i55 from "primeng/toolbar";
62
- import * as i56 from "primeng/tooltip";
63
- import * as i57 from "primeng/messages";
64
- import * as i58 from "primeng/progressspinner";
65
- import * as i59 from "primeng/tabview";
66
- import * as i60 from "primeng/fieldset";
5
+ import * as i1 from "./directives/component.directive";
6
+ import * as i2 from "./directives/template.directive";
7
+ import * as i3 from "./pipes/property-path.pipe";
8
+ import * as i4 from "./pipes/boolean.pipe";
9
+ import * as i5 from "./components/layout/breadcrumb.component";
10
+ import * as i6 from "./components/layout/footer.component";
11
+ import * as i7 from "./components/layout/main-layout.component";
12
+ import * as i8 from "./components/layout/menu.component";
13
+ import * as i9 from "./components/layout/menu-item.component";
14
+ import * as i10 from "./components/layout/topbar.component";
15
+ import * as i11 from "./components/form/autocomplete/autocomplete.component";
16
+ import * as i12 from "./components/form/dropdown/dropdown.component";
17
+ import * as i13 from "./components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component";
18
+ import * as i14 from "./components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component";
19
+ import * as i15 from "./components/form/formly/fields/formly-field-input/formly-field-input.component";
20
+ import * as i16 from "./components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component";
21
+ import * as i17 from "./components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component";
22
+ import * as i18 from "./components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component";
23
+ import * as i19 from "./components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component";
24
+ import * as i20 from "./components/form/formly/fields/formly-field-tabs/formly-field-tabs.component";
25
+ import * as i21 from "./components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component";
26
+ import * as i22 from "./components/tableview/table/table.component";
27
+ import * as i23 from "./components/tableview/tableview.component";
28
+ import * as i24 from "./components/tableview/table/column-value/column-value.component";
29
+ import * as i25 from "./components/tableview/table/column-filter/column-filter.component";
30
+ import * as i26 from "./components/form/editor/form-editor.component";
31
+ import * as i27 from "./components/action/action.component";
32
+ import * as i28 from "./components/action/dialog/action-dialog.component";
33
+ import * as i29 from "./components/action/route/action-route.component";
34
+ import * as i30 from "@angular/common";
35
+ import * as i31 from "@angular/router";
36
+ import * as i32 from "@angular/common/http";
37
+ import * as i33 from "@angular/forms";
38
+ import * as i34 from "@ngx-translate/core";
39
+ import * as i35 from "@ngx-formly/core";
40
+ import * as i36 from "primeng/autocomplete";
41
+ import * as i37 from "primeng/breadcrumb";
42
+ import * as i38 from "primeng/button";
43
+ import * as i39 from "primeng/calendar";
44
+ import * as i40 from "primeng/card";
45
+ import * as i41 from "primeng/checkbox";
46
+ import * as i42 from "primeng/chip";
47
+ import * as i43 from "primeng/confirmdialog";
48
+ import * as i44 from "primeng/confirmpopup";
49
+ import * as i45 from "primeng/dialog";
50
+ import * as i46 from "primeng/dynamicdialog";
51
+ import * as i47 from "primeng/dropdown";
52
+ import * as i48 from "primeng/inputnumber";
53
+ import * as i49 from "primeng/inputmask";
54
+ import * as i50 from "primeng/inputswitch";
55
+ import * as i51 from "primeng/inputtext";
56
+ import * as i52 from "primeng/inputtextarea";
57
+ import * as i53 from "primeng/paginator";
58
+ import * as i54 from "primeng/radiobutton";
59
+ import * as i55 from "primeng/ripple";
60
+ import * as i56 from "primeng/selectbutton";
61
+ import * as i57 from "primeng/table";
62
+ import * as i58 from "primeng/tag";
63
+ import * as i59 from "primeng/toast";
64
+ import * as i60 from "primeng/togglebutton";
65
+ import * as i61 from "primeng/toolbar";
66
+ import * as i62 from "primeng/tooltip";
67
+ import * as i63 from "primeng/messages";
68
+ import * as i64 from "primeng/progressspinner";
69
+ import * as i65 from "primeng/tabview";
70
+ import * as i66 from "primeng/fieldset";
71
+ import * as i67 from "primeng/multiselect";
72
+ import * as i68 from "primeng/skeleton";
67
73
  export declare const primeNgModules: (typeof InputTextModule)[];
68
- export declare function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader;
69
74
  export declare class MngCommonsModule {
70
75
  static forRoot(config: MngModuleConfig): ModuleWithProviders<MngCommonsModule>;
71
76
  static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsModule, never>;
72
- static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.TemplateDirective, typeof i2.PropertyPathPipe, typeof i3.AppBreadcrumbComponent, typeof i4.AppFooterComponent, typeof i5.AppMainComponent, typeof i6.AppMenuComponent, typeof i7.AppMenuitemComponent, typeof i8.AppTopbarComponent, typeof i9.FormlyFieldWrapperComponent, typeof i10.FormlyTableWrapperComponent, typeof i11.FormlyFieldInputComponent, typeof i12.FormlyFieldDropdownComponent, typeof i13.FormlyFieldAutocompleteComponent, typeof i14.FormlyFieldTableDialogMultiselectComponent, typeof i15.FormlyFieldTableDialogFormComponent, typeof i16.FormlyFieldTabsComponent, typeof i17.FormlyFieldFieldsetComponent, typeof i18.TableComponent, typeof i19.TableviewComponent, typeof i20.FormEditorComponent, typeof i21.ActionComponent, typeof i22.ActionDialogComponent, typeof i23.ActionRouteComponent], [typeof i24.CommonModule, typeof i25.RouterModule, typeof i26.HttpClientModule, typeof i27.ReactiveFormsModule, typeof i28.TranslateModule, typeof i29.FormlyModule, typeof i30.AutoCompleteModule, typeof i31.BreadcrumbModule, typeof i32.ButtonModule, typeof i33.CalendarModule, typeof i34.CardModule, typeof i35.CheckboxModule, typeof i36.ChipModule, typeof i37.ConfirmDialogModule, typeof i38.ConfirmPopupModule, typeof i39.DialogModule, typeof i40.DynamicDialogModule, typeof i41.DropdownModule, typeof i42.InputNumberModule, typeof i43.InputMaskModule, typeof i44.InputSwitchModule, typeof i45.InputTextModule, typeof i46.InputTextareaModule, typeof i47.PaginatorModule, typeof i48.RadioButtonModule, typeof i49.RippleModule, typeof i50.SelectButtonModule, typeof i51.TableModule, typeof i52.TagModule, typeof i53.ToastModule, typeof i54.ToggleButtonModule, typeof i55.ToolbarModule, typeof i56.TooltipModule, typeof i57.MessagesModule, typeof i58.ProgressSpinnerModule, typeof i59.TabViewModule, typeof i60.FieldsetModule], [typeof i1.TemplateDirective, typeof i2.PropertyPathPipe, typeof i3.AppBreadcrumbComponent, typeof i4.AppFooterComponent, typeof i5.AppMainComponent, typeof i6.AppMenuComponent, typeof i7.AppMenuitemComponent, typeof i8.AppTopbarComponent, typeof i9.FormlyFieldWrapperComponent, typeof i10.FormlyTableWrapperComponent, typeof i11.FormlyFieldInputComponent, typeof i12.FormlyFieldDropdownComponent, typeof i13.FormlyFieldAutocompleteComponent, typeof i14.FormlyFieldTableDialogMultiselectComponent, typeof i15.FormlyFieldTableDialogFormComponent, typeof i16.FormlyFieldTabsComponent, typeof i17.FormlyFieldFieldsetComponent, typeof i18.TableComponent, typeof i19.TableviewComponent, typeof i20.FormEditorComponent, typeof i21.ActionComponent, typeof i22.ActionDialogComponent, typeof i23.ActionRouteComponent]>;
77
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngFormEditorComponent, typeof i27.MngActionComponent, typeof i28.MngActionDialogComponent, typeof i29.MngActionRouteComponent], [typeof i30.CommonModule, typeof i31.RouterModule, typeof i32.HttpClientModule, typeof i33.ReactiveFormsModule, typeof i34.TranslateModule, typeof i35.FormlyModule, typeof i36.AutoCompleteModule, typeof i37.BreadcrumbModule, typeof i38.ButtonModule, typeof i39.CalendarModule, typeof i40.CardModule, typeof i41.CheckboxModule, typeof i42.ChipModule, typeof i43.ConfirmDialogModule, typeof i44.ConfirmPopupModule, typeof i45.DialogModule, typeof i46.DynamicDialogModule, typeof i47.DropdownModule, typeof i48.InputNumberModule, typeof i49.InputMaskModule, typeof i50.InputSwitchModule, typeof i51.InputTextModule, typeof i52.InputTextareaModule, typeof i53.PaginatorModule, typeof i54.RadioButtonModule, typeof i55.RippleModule, typeof i56.SelectButtonModule, typeof i57.TableModule, typeof i58.TagModule, typeof i59.ToastModule, typeof i60.ToggleButtonModule, typeof i61.ToolbarModule, typeof i62.TooltipModule, typeof i63.MessagesModule, typeof i64.ProgressSpinnerModule, typeof i65.TabViewModule, typeof i66.FieldsetModule, typeof i67.MultiSelectModule, typeof i68.SkeletonModule], [typeof i36.AutoCompleteModule, typeof i37.BreadcrumbModule, typeof i38.ButtonModule, typeof i39.CalendarModule, typeof i40.CardModule, typeof i41.CheckboxModule, typeof i42.ChipModule, typeof i43.ConfirmDialogModule, typeof i44.ConfirmPopupModule, typeof i45.DialogModule, typeof i46.DynamicDialogModule, typeof i47.DropdownModule, typeof i48.InputNumberModule, typeof i49.InputMaskModule, typeof i50.InputSwitchModule, typeof i51.InputTextModule, typeof i52.InputTextareaModule, typeof i53.PaginatorModule, typeof i54.RadioButtonModule, typeof i55.RippleModule, typeof i56.SelectButtonModule, typeof i57.TableModule, typeof i58.TagModule, typeof i59.ToastModule, typeof i60.ToggleButtonModule, typeof i61.ToolbarModule, typeof i62.TooltipModule, typeof i63.MessagesModule, typeof i64.ProgressSpinnerModule, typeof i65.TabViewModule, typeof i66.FieldsetModule, typeof i67.MultiSelectModule, typeof i68.SkeletonModule, typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngFormEditorComponent, typeof i27.MngActionComponent, typeof i28.MngActionDialogComponent, typeof i29.MngActionRouteComponent]>;
73
78
  static ɵinj: i0.ɵɵInjectorDeclaration<MngCommonsModule>;
74
79
  }
@@ -0,0 +1,2 @@
1
+ export * from './router.model';
2
+ export * from './user.model';
@@ -0,0 +1,14 @@
1
+ import { ActivatedRouteSnapshot, Data } from '@angular/router';
2
+ import { MenuItem } from 'primeng/api';
3
+ import { Type } from '@angular/core';
4
+ export interface MngBreadcrumbMenuItem extends MenuItem {
5
+ isHome?: boolean;
6
+ }
7
+ export interface MngRouterData extends Data {
8
+ breadcrumb?: string | string[] | MngBreadcrumbMenuItem | MngBreadcrumbMenuItem[] | ((routeUrl: string, route: ActivatedRouteSnapshot) => MngBreadcrumbMenuItem[]);
9
+ pageTitle?: string;
10
+ topbarComponent?: Type<any>;
11
+ breadcrumbComponent?: Type<any>;
12
+ menuComponent?: Type<any>;
13
+ footerComponent?: Type<any>;
14
+ }
@@ -0,0 +1,8 @@
1
+ import { IdType } from '../types';
2
+ export interface IUser {
3
+ id: IdType;
4
+ username: string;
5
+ displayName?: string;
6
+ logout?: () => void;
7
+ logoutUrl?: string;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MngBooleanPipe implements PipeTransform {
4
+ transform(value: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MngBooleanPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<MngBooleanPipe, "boolean">;
7
+ }