@mediusinc/mng-commons 6.2.0-rc.0 → 7.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/core/index.d.ts +1743 -84
  2. package/fesm2022/mediusinc-mng-commons-core.mjs +104 -87
  3. package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
  4. package/fesm2022/mediusinc-mng-commons-filter.mjs.map +1 -1
  5. package/fesm2022/mediusinc-mng-commons-form-api.mjs.map +1 -1
  6. package/fesm2022/mediusinc-mng-commons-form.mjs +97 -97
  7. package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
  8. package/fesm2022/mediusinc-mng-commons-model-class.mjs.map +1 -1
  9. package/fesm2022/mediusinc-mng-commons-model.mjs.map +1 -1
  10. package/fesm2022/mediusinc-mng-commons-table-api-class.mjs.map +1 -1
  11. package/fesm2022/mediusinc-mng-commons-table-api.mjs.map +1 -1
  12. package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-Dvenjj9n.mjs +30 -0
  13. package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-Dvenjj9n.mjs.map +1 -0
  14. package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-8TdW6NCC.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-DFcdSUCN.mjs} +183 -186
  15. package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-DFcdSUCN.mjs.map +1 -0
  16. package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
  17. package/fesm2022/mediusinc-mng-commons-tableview-api-class.mjs.map +1 -1
  18. package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +3 -3
  19. package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
  20. package/fesm2022/mediusinc-mng-commons-tableview.mjs +305 -289
  21. package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
  22. package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
  23. package/filter/index.d.ts +398 -5
  24. package/form/api/index.d.ts +134 -7
  25. package/form/index.d.ts +301 -6
  26. package/index.d.ts +11 -1
  27. package/model/class/index.d.ts +25 -4
  28. package/model/index.d.ts +71 -5
  29. package/package.json +10 -10
  30. package/table/api/class/index.d.ts +77 -5
  31. package/table/api/index.d.ts +1161 -14
  32. package/table/index.d.ts +545 -17
  33. package/tableview/api/class/index.d.ts +141 -10
  34. package/tableview/api/index.d.ts +2542 -63
  35. package/tableview/index.d.ts +1274 -54
  36. package/version-info.json +5 -5
  37. package/core/action/action-data.model.d.ts +0 -3
  38. package/core/action/action-parameters.model.d.ts +0 -44
  39. package/core/components/notification/notification-wrapper.component.d.ts +0 -14
  40. package/core/data-list/data-list-params-helpers.d.ts +0 -93
  41. package/core/data-list/data-list.model.d.ts +0 -28
  42. package/core/data-list/filter-match.model.d.ts +0 -36
  43. package/core/data-list/filter-metadata.model.d.ts +0 -20
  44. package/core/data-providers/base.data-provider.d.ts +0 -17
  45. package/core/data-providers/lookup.data-provider.d.ts +0 -10
  46. package/core/descriptors/action.descriptor.d.ts +0 -12
  47. package/core/descriptors/column.descriptor.d.ts +0 -3
  48. package/core/descriptors/editor.descriptor.d.ts +0 -11
  49. package/core/descriptors/enum.descriptor.d.ts +0 -6
  50. package/core/descriptors/filter.descriptor.d.ts +0 -3
  51. package/core/descriptors/lookup.descriptor.d.ts +0 -12
  52. package/core/descriptors/model.descriptor.d.ts +0 -5
  53. package/core/descriptors/table.descriptor.d.ts +0 -11
  54. package/core/descriptors/tableview.descriptor.d.ts +0 -11
  55. package/core/directives/component.directive.d.ts +0 -18
  56. package/core/directives/rerender.directive.d.ts +0 -9
  57. package/core/directives/template.directive.d.ts +0 -8
  58. package/core/enum/enum-helpers.d.ts +0 -54
  59. package/core/enum/enum.model.d.ts +0 -8
  60. package/core/error/error-handler.d.ts +0 -6
  61. package/core/error/error-helpers.d.ts +0 -136
  62. package/core/error/error.model.d.ts +0 -53
  63. package/core/helpers/coercion.d.ts +0 -10
  64. package/core/helpers/date.d.ts +0 -14
  65. package/core/helpers/notification.d.ts +0 -18
  66. package/core/helpers/number.d.ts +0 -5
  67. package/core/helpers/object.d.ts +0 -27
  68. package/core/helpers/route.d.ts +0 -34
  69. package/core/helpers/string.d.ts +0 -7
  70. package/core/helpers/templates.d.ts +0 -3
  71. package/core/helpers/type-helpers.d.ts +0 -37
  72. package/core/i18n/i18n-common.d.ts +0 -6
  73. package/core/i18n/i18n-error.d.ts +0 -3
  74. package/core/i18n/i18n-type.d.ts +0 -11
  75. package/core/log/log-publisher-console.service.d.ts +0 -4
  76. package/core/log/log.model.d.ts +0 -40
  77. package/core/log/logger.service.d.ts +0 -33
  78. package/core/models/class-attribute.model.d.ts +0 -6
  79. package/core/models/class-service.model.d.ts +0 -7
  80. package/core/models/getter.model.d.ts +0 -2
  81. package/core/models/i18n.model.d.ts +0 -1
  82. package/core/models/menu.model.d.ts +0 -42
  83. package/core/models/user.model.d.ts +0 -8
  84. package/core/models/version.model.d.ts +0 -31
  85. package/core/pipes/boolean.pipe.d.ts +0 -7
  86. package/core/pipes/class-map.pipe.d.ts +0 -7
  87. package/core/pipes/enum.pipe.d.ts +0 -8
  88. package/core/pipes/enumerate-async.pipe.d.ts +0 -9
  89. package/core/pipes/enumerate.pipe.d.ts +0 -16
  90. package/core/pipes/getter.pipe.d.ts +0 -8
  91. package/core/pipes/i18n-property.pipe.d.ts +0 -8
  92. package/core/pipes/json-path.pipe.d.ts +0 -13
  93. package/core/pipes/parametrize.pipe.d.ts +0 -16
  94. package/core/pipes/template.pipe.d.ts +0 -8
  95. package/core/provide.d.ts +0 -13
  96. package/core/reactivity/effect.d.ts +0 -16
  97. package/core/reflect/type-enum-decorator.d.ts +0 -2
  98. package/core/reflect/type-enum-metadata.d.ts +0 -32
  99. package/core/registry/registry.model.d.ts +0 -8
  100. package/core/registry/type-registry.d.ts +0 -27
  101. package/core/router/route-builder.d.ts +0 -187
  102. package/core/router/router.model.d.ts +0 -13
  103. package/core/router/routes-builder.d.ts +0 -33
  104. package/core/rxjs/map-data-list-result-operator.d.ts +0 -9
  105. package/core/security/permission-helpers.d.ts +0 -3
  106. package/core/security/permission.guard.d.ts +0 -2
  107. package/core/security/permission.service.d.ts +0 -25
  108. package/core/security/permissions.model.d.ts +0 -82
  109. package/core/services/commons-configuration.service.d.ts +0 -81
  110. package/core/services/commons-init.service.d.ts +0 -30
  111. package/core/services/commons-router.service.d.ts +0 -37
  112. package/core/services/commons-storage.service.d.ts +0 -12
  113. package/core/services/commons.service.d.ts +0 -47
  114. package/core/services/providers/commons-init.provider.d.ts +0 -4
  115. package/core/services/tokens/browser-storage.token.d.ts +0 -2
  116. package/core/services/tokens/commons-init.token.d.ts +0 -3
  117. package/core/services/tokens/log-publisher.token.d.ts +0 -3
  118. package/core/services/tokens/module-config.token.d.ts +0 -28
  119. package/core/styles/style-constants.d.ts +0 -11
  120. package/core/styles/style.model.d.ts +0 -18
  121. package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-CCyGSxaD.mjs +0 -30
  122. package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-CCyGSxaD.mjs.map +0 -1
  123. package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-8TdW6NCC.mjs.map +0 -1
  124. package/filter/descriptors/filter-generic.descriptor.d.ts +0 -14
  125. package/filter/descriptors/filter-lookup.descriptor.d.ts +0 -97
  126. package/filter/descriptors/filter.descriptor.d.ts +0 -264
  127. package/filter/models/filter-generic-property.model.d.ts +0 -7
  128. package/filter/models/filter.model.d.ts +0 -16
  129. package/form/api/data-providers/lookup-data-provider.factory.d.ts +0 -19
  130. package/form/api/data-providers/lookup.data-provider.d.ts +0 -7
  131. package/form/api/descriptors/action-button.descriptor.d.ts +0 -23
  132. package/form/api/descriptors/button-style.builder.d.ts +0 -54
  133. package/form/api/models/button.model.d.ts +0 -19
  134. package/form/api/models/empty-value.model.d.ts +0 -7
  135. package/form/api/models/trim.model.d.ts +0 -1
  136. package/form/components/autocomplete/autocomplete.component.d.ts +0 -99
  137. package/form/components/date-range/date-range.component.d.ts +0 -37
  138. package/form/components/dropdown/dropdown.component.d.ts +0 -89
  139. package/form/components/number-range/number-range.component.d.ts +0 -35
  140. package/form/directives/input-empty-value.directive.d.ts +0 -40
  141. package/form/directives/input-trim.directive.d.ts +0 -9
  142. package/model/class/data-providers/base-from-class-data-provider.factory.d.ts +0 -3
  143. package/model/class/descriptors/model-class.descriptor.d.ts +0 -12
  144. package/model/class/descriptors/type-class.descriptor.d.ts +0 -3
  145. package/model/class/helpers/model.d.ts +0 -4
  146. package/model/data-providers/base-from-type-data-provider.factory.d.ts +0 -15
  147. package/model/descriptors/enum.descriptor.d.ts +0 -13
  148. package/model/descriptors/model.descriptor.d.ts +0 -25
  149. package/model/descriptors/type.descriptor.d.ts +0 -3
  150. package/model/helpers/i18n.d.ts +0 -13
  151. package/provide.d.ts +0 -7
  152. package/table/api/class/class-table-attribute-converter.d.ts +0 -15
  153. package/table/api/class/class-table-attribute.model.d.ts +0 -8
  154. package/table/api/class/class-table-data-provider.factory.d.ts +0 -4
  155. package/table/api/class/class-table-descriptor-helpers.d.ts +0 -42
  156. package/table/api/class/class-table-descriptor.factory.d.ts +0 -11
  157. package/table/api/data-providers/table-data-provider.factory.d.ts +0 -19
  158. package/table/api/data-providers/table.data-provider.d.ts +0 -27
  159. package/table/api/descriptors/column.descriptor.d.ts +0 -269
  160. package/table/api/descriptors/sort.descriptor.d.ts +0 -39
  161. package/table/api/descriptors/table-descriptor.factory.d.ts +0 -12
  162. package/table/api/descriptors/table.descriptor.d.ts +0 -672
  163. package/table/api/helpers/column-converter.d.ts +0 -7
  164. package/table/api/helpers/table-data-provider-descriptor-convert.d.ts +0 -20
  165. package/table/api/models/column-value.model.d.ts +0 -7
  166. package/table/api/models/column.model.d.ts +0 -18
  167. package/table/api/models/row-expandable-component.model.d.ts +0 -4
  168. package/table/api/models/table-columns.model.d.ts +0 -42
  169. package/table/api/models/table-event.model.d.ts +0 -18
  170. package/table/api/models/table.model.d.ts +0 -22
  171. package/table/components/column-filter/column-filter.component.d.ts +0 -81
  172. package/table/components/column-toggle/column-toggle.component.d.ts +0 -12
  173. package/table/components/column-value/column-value.component.d.ts +0 -33
  174. package/table/components/filter/filter-active-tag/filter-active-tag.component.d.ts +0 -20
  175. package/table/components/filter/filter-form/filter-form.component.d.ts +0 -56
  176. package/table/components/filter/filter-overlay-with-tag/filter-overlay-with-tag.component.d.ts +0 -54
  177. package/table/components/table/table.component.d.ts +0 -83
  178. package/table/helpers/filters.d.ts +0 -37
  179. package/table/helpers/notification.d.ts +0 -13
  180. package/table/helpers/table-layout-prefs.d.ts +0 -7
  181. package/table/helpers/table.d.ts +0 -6
  182. package/table/models/column-preferences.model.d.ts +0 -12
  183. package/table/models/filter.model.d.ts +0 -36
  184. package/table/pipes/filter-value.pipe.d.ts +0 -19
  185. package/table/pipes/locale-default-row-class.pipe.d.ts +0 -10
  186. package/table/pipes/table-column-filter-class.pipe.d.ts +0 -8
  187. package/table/provide.d.ts +0 -15
  188. package/table/services/table-data.service.d.ts +0 -37
  189. package/table/services/table-feature-config.token.d.ts +0 -7
  190. package/table/services/table-metadata.service.d.ts +0 -31
  191. package/table/services/table-preferences.service.d.ts +0 -25
  192. package/tableview/action/components/action/action.component.d.ts +0 -63
  193. package/tableview/action/components/editor/action-editor.component.d.ts +0 -32
  194. package/tableview/action/components/editor/injector-context/action-editor-injector-context.component.d.ts +0 -79
  195. package/tableview/action/components/localization/data-language-dropdown.component.d.ts +0 -19
  196. package/tableview/action/components/route/action-route.component.d.ts +0 -26
  197. package/tableview/action/components/table/action-table.component.d.ts +0 -50
  198. package/tableview/action/guards/unsaved-changes.guard.d.ts +0 -3
  199. package/tableview/action/helpers/action-execution.d.ts +0 -7
  200. package/tableview/action/helpers/i18n.d.ts +0 -47
  201. package/tableview/action/helpers/inject.d.ts +0 -39
  202. package/tableview/action/helpers/notification.d.ts +0 -40
  203. package/tableview/action/helpers/styles.d.ts +0 -5
  204. package/tableview/action/models/action-editor-dialog-data.model.d.ts +0 -11
  205. package/tableview/action/models/can-component-deactivate.model.d.ts +0 -4
  206. package/tableview/action/models/execution/action-context.model.d.ts +0 -43
  207. package/tableview/action/models/execution/action-instance.model.d.ts +0 -56
  208. package/tableview/action/services/action-error-mapper.service.d.ts +0 -18
  209. package/tableview/action/services/action-executor.service.d.ts +0 -174
  210. package/tableview/action/services/component-action-executor.service.d.ts +0 -9
  211. package/tableview/action/services/data-provider-executor.service.d.ts +0 -23
  212. package/tableview/action/services/navigation.service.d.ts +0 -15
  213. package/tableview/action/services/providers/provide-action-executor.d.ts +0 -2
  214. package/tableview/action/services/providers/provide-view-container.d.ts +0 -2
  215. package/tableview/action/services/root-action-executor.service.d.ts +0 -9
  216. package/tableview/action/services/tokens/action-editor.token.d.ts +0 -2
  217. package/tableview/action/services/view-container.service.d.ts +0 -25
  218. package/tableview/api/action/descriptors/action-descriptor.factory.d.ts +0 -25
  219. package/tableview/api/action/descriptors/action-editor-descriptor.factory.d.ts +0 -24
  220. package/tableview/api/action/descriptors/action-editor.descriptor.d.ts +0 -105
  221. package/tableview/api/action/descriptors/action-link-descriptor.factory.d.ts +0 -23
  222. package/tableview/api/action/descriptors/action-link.descriptor.d.ts +0 -27
  223. package/tableview/api/action/descriptors/action.descriptor.d.ts +0 -118
  224. package/tableview/api/action/descriptors/editor-action-descriptor.factory.d.ts +0 -21
  225. package/tableview/api/action/descriptors/editor-action-editor-descriptor.factory.d.ts +0 -21
  226. package/tableview/api/action/descriptors/table-action-descriptor.factory.d.ts +0 -36
  227. package/tableview/api/action/descriptors/table-action-editor-descriptor.factory.d.ts +0 -40
  228. package/tableview/api/action/helpers/data-provider-executors.d.ts +0 -23
  229. package/tableview/api/action/models/action-component.model.d.ts +0 -12
  230. package/tableview/api/action/models/action-confirmation.model.d.ts +0 -16
  231. package/tableview/api/action/models/action-descriptor.types.d.ts +0 -10
  232. package/tableview/api/action/models/action-editor.model.d.ts +0 -4
  233. package/tableview/api/action/models/action-error.model.d.ts +0 -14
  234. package/tableview/api/action/models/action.type.d.ts +0 -21
  235. package/tableview/api/action/models/execution/action-context-validation.model.d.ts +0 -11
  236. package/tableview/api/action/models/execution/action-context.model.d.ts +0 -25
  237. package/tableview/api/action/models/execution/action-execution-error.model.d.ts +0 -4
  238. package/tableview/api/action/models/execution/action-instance-state.model.d.ts +0 -30
  239. package/tableview/api/action/models/execution/action-instance.model.d.ts +0 -32
  240. package/tableview/api/action/models/execution/view-container.model.d.ts +0 -22
  241. package/tableview/api/action/models/tableview-action-default-categories.model.d.ts +0 -10
  242. package/tableview/api/action/services/data-provider-executor.service.d.ts +0 -39
  243. package/tableview/api/action/services/tokens/data-language-dropdown.token.d.ts +0 -2
  244. package/tableview/api/class/editor/class-editor-attribute-converter.d.ts +0 -21
  245. package/tableview/api/class/editor/class-editor-attribute.model.d.ts +0 -7
  246. package/tableview/api/class/editor/class-editor-data-provider.factory.d.ts +0 -4
  247. package/tableview/api/class/editor/class-editor-descriptor-helpers.d.ts +0 -40
  248. package/tableview/api/class/editor/class-editor-descriptor.factory.d.ts +0 -11
  249. package/tableview/api/class/tableview/class-tableview-attribute-converter.d.ts +0 -8
  250. package/tableview/api/class/tableview/class-tableview-attribute.model.d.ts +0 -3
  251. package/tableview/api/class/tableview/class-tableview-data-provider.factory.d.ts +0 -4
  252. package/tableview/api/class/tableview/class-tableview-descriptor-helpers.d.ts +0 -41
  253. package/tableview/api/class/tableview/class-tableview-descriptor.factory.d.ts +0 -12
  254. package/tableview/api/editor/data-providers/editor-data-provider.factory.d.ts +0 -19
  255. package/tableview/api/editor/data-providers/editor.data-provider.d.ts +0 -119
  256. package/tableview/api/editor/descriptors/editor-descriptor.factory.d.ts +0 -11
  257. package/tableview/api/editor/descriptors/editor.descriptor.d.ts +0 -254
  258. package/tableview/api/editor/descriptors/field-action.descriptor.d.ts +0 -21
  259. package/tableview/api/editor/descriptors/field-base.descriptor.d.ts +0 -147
  260. package/tableview/api/editor/descriptors/field-group.descriptor.d.ts +0 -58
  261. package/tableview/api/editor/descriptors/field-lookup.descriptor.d.ts +0 -80
  262. package/tableview/api/editor/descriptors/field-many.descriptor.d.ts +0 -56
  263. package/tableview/api/editor/descriptors/field-validation.descriptor.d.ts +0 -16
  264. package/tableview/api/editor/descriptors/field.descriptor.d.ts +0 -239
  265. package/tableview/api/editor/descriptors/wrappers/editor-descriptor-nested-object-wrapper.d.ts +0 -25
  266. package/tableview/api/editor/models/editor-fields.model.d.ts +0 -42
  267. package/tableview/api/editor/models/editor.model.d.ts +0 -7
  268. package/tableview/api/editor/models/field-action-context.model.d.ts +0 -26
  269. package/tableview/api/editor/models/field-image-preview.model.d.ts +0 -4
  270. package/tableview/api/editor/models/field-validation.model.d.ts +0 -26
  271. package/tableview/api/editor/models/field.model.d.ts +0 -56
  272. package/tableview/api/editor/models/form-editor.event.d.ts +0 -74
  273. package/tableview/api/editor/models/form-editor.interface.d.ts +0 -53
  274. package/tableview/api/editor/models/formly-custom-field.model.d.ts +0 -30
  275. package/tableview/api/editor/models/formly-field.model.d.ts +0 -42
  276. package/tableview/api/editor/models/formly-options.model.d.ts +0 -15
  277. package/tableview/api/editor/models/radio.model.d.ts +0 -6
  278. package/tableview/api/tableview/data-providers/tableview-data-provider.factory.d.ts +0 -24
  279. package/tableview/api/tableview/data-providers/tableview.data-provider.d.ts +0 -33
  280. package/tableview/api/tableview/descriptors/tableview-descriptor.factory.d.ts +0 -23
  281. package/tableview/api/tableview/descriptors/tableview.descriptor.d.ts +0 -153
  282. package/tableview/api/tableview/helpers/files-export.d.ts +0 -4
  283. package/tableview/api/tableview/helpers/tableview-create.d.ts +0 -29
  284. package/tableview/api/tableview/helpers/tableview-data-provider-descriptor-convert.d.ts +0 -20
  285. package/tableview/api/tableview/helpers/tableview-default-actions.d.ts +0 -93
  286. package/tableview/api/tableview/helpers/tableview-input-builder.d.ts +0 -192
  287. package/tableview/api/tableview/models/tableview-descriptor-fields-manage-helper.type.d.ts +0 -9
  288. package/tableview/api/tableview/models/tableview-descriptor-helper.type.d.ts +0 -2
  289. package/tableview/api/tableview/models/tableview-input.model.d.ts +0 -8
  290. package/tableview/api/tableview/models/tableview-route.model.d.ts +0 -20
  291. package/tableview/editor/components/editor/auto-save-status/auto-save-status.component.d.ts +0 -10
  292. package/tableview/editor/components/editor/form-editor.component.d.ts +0 -117
  293. package/tableview/editor/components/formly/constants.d.ts +0 -1
  294. package/tableview/editor/components/formly/fields/formly-field-action/formly-field-action.component.d.ts +0 -15
  295. package/tableview/editor/components/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +0 -11
  296. package/tableview/editor/components/formly/fields/formly-field-custom/formly-field-custom.component.d.ts +0 -10
  297. package/tableview/editor/components/formly/fields/formly-field-datepicker/formly-field-datepicker.component.d.ts +0 -24
  298. package/tableview/editor/components/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +0 -10
  299. package/tableview/editor/components/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +0 -12
  300. package/tableview/editor/components/formly/fields/formly-field-input/formly-field-input.component.d.ts +0 -33
  301. package/tableview/editor/components/formly/fields/formly-field-label/formly-field-label.component.d.ts +0 -10
  302. package/tableview/editor/components/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +0 -36
  303. package/tableview/editor/components/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +0 -22
  304. package/tableview/editor/components/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +0 -37
  305. package/tableview/editor/components/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +0 -10
  306. package/tableview/editor/components/formly/fields/formly-field-type.abstract.component.d.ts +0 -11
  307. package/tableview/editor/components/formly/fields/formly-group-type.abstract.component.d.ts +0 -7
  308. package/tableview/editor/components/formly/fields/formly-type.abstract.component.d.ts +0 -20
  309. package/tableview/editor/components/formly/pipes/formly-field-label.pipe.d.ts +0 -8
  310. package/tableview/editor/components/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.d.ts +0 -18
  311. package/tableview/editor/components/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +0 -16
  312. package/tableview/editor/helpers/editor-autosave.d.ts +0 -17
  313. package/tableview/editor/helpers/editor-field.d.ts +0 -2
  314. package/tableview/editor/helpers/editor-formly.d.ts +0 -11
  315. package/tableview/editor/helpers/editor-validators.d.ts +0 -7
  316. package/tableview/editor/helpers/field-create.d.ts +0 -9
  317. package/tableview/editor/helpers/formly-config.d.ts +0 -18
  318. package/tableview/editor/helpers/notification.d.ts +0 -4
  319. package/tableview/editor/models/editor-auto-save-preview.model.d.ts +0 -10
  320. package/tableview/editor/models/formly-config.model.d.ts +0 -14
  321. package/tableview/editor/models/formly.model.d.ts +0 -23
  322. package/tableview/editor/services/form-editor.service.d.ts +0 -39
  323. package/tableview/editor/services/formly-config.provider.d.ts +0 -5
  324. package/tableview/provide.d.ts +0 -15
  325. package/tableview/tableview/components/route/tableview-route.component.d.ts +0 -7
  326. package/tableview/tableview/components/tableview/tableview.component.d.ts +0 -29
  327. package/tableview/tableview/router/tableview-route-builder.d.ts +0 -43
  328. package/tableview/tableview/services/tableview-feature-config.token.d.ts +0 -18
@@ -1,19 +0,0 @@
1
- import { OnDestroy, PipeTransform } from '@angular/core';
2
- import { Observable, ReplaySubject } from 'rxjs';
3
- import { FilterDescriptor } from '@mediusinc/mng-commons/filter';
4
- import * as i0 from "@angular/core";
5
- export declare class FilterValuePipe implements PipeTransform, OnDestroy {
6
- private readonly locale;
7
- private readonly translate;
8
- private readonly enumPipe;
9
- private subscription?;
10
- subject: ReplaySubject<any>;
11
- transform(value: unknown, descriptor?: FilterDescriptor<any, any>): Observable<any>;
12
- /**
13
- * If returns a string, this represents i18n key that must go through translation. If translation is not needed, undefined is returned.
14
- */
15
- private prepareValueTransform;
16
- ngOnDestroy(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterValuePipe, never>;
18
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterValuePipe, "mngFilterValue", true>;
19
- }
@@ -1,10 +0,0 @@
1
- import { Injector, PipeTransform } from '@angular/core';
2
- import { TableDescriptorInst } from '@mediusinc/mng-commons/table/api';
3
- import * as i0 from "@angular/core";
4
- export declare class LocaleDefaultRowClassPipe<T> implements PipeTransform {
5
- private injector;
6
- constructor(injector: Injector);
7
- transform(value?: any, descriptor?: TableDescriptorInst<T>, item?: T): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<LocaleDefaultRowClassPipe<any>, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<LocaleDefaultRowClassPipe<any>, "mngLocaleDefaultRowClass", true>;
10
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { FilterDescriptor } from '@mediusinc/mng-commons/filter';
3
- import * as i0 from "@angular/core";
4
- export declare class TableColumnFilterClassPipe implements PipeTransform {
5
- transform(value: unknown, filter: FilterDescriptor<any, any> | undefined, isEnabled: boolean): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterClassPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<TableColumnFilterClassPipe, "mngTableColumnFilterClass", true>;
8
- }
@@ -1,15 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { CommonsFeature } from '@mediusinc/mng-commons/core';
3
- import { TableFeatureConfig } from './services/table-feature-config.token';
4
- /**
5
- * Prepares providers for usage of the tableview functionalities.
6
- *
7
- * @returns {CommonsFeature} The `CommonsFeature` object with the layout configuration.
8
- */
9
- export declare function withTable(config?: TableFeatureConfig): CommonsFeature;
10
- /**
11
- * Provides a list of providers for configuring a table feature. Useful for lazy-loading table chunk in child (lazy loaded routes).
12
- *
13
- * @param {TableFeatureConfig} [config] - An optional configuration object for the table feature.
14
- */
15
- export declare function provideTableChild(config?: TableFeatureConfig): Provider[];
@@ -1,37 +0,0 @@
1
- import { OnDestroy, Signal } from '@angular/core';
2
- import { SortMeta } from 'primeng/api';
3
- import { CommonsFilterMetadata, DataListParams, DataListResult } from '@mediusinc/mng-commons/core';
4
- import { ITableDataProvider, TablePaginationModeEnum } from '@mediusinc/mng-commons/table/api';
5
- import * as i0 from "@angular/core";
6
- export declare class TableDataService<Item> implements OnDestroy {
7
- #private;
8
- readonly params: Signal<DataListParams<string, string> | undefined>;
9
- readonly sortMeta: Signal<SortMeta[] | undefined>;
10
- readonly filterMeta: Signal<Record<string, CommonsFilterMetadata>>;
11
- readonly searchMeta: Signal<{
12
- value: string;
13
- caseSensitive: boolean;
14
- } | undefined>;
15
- readonly isAllPaginationMetaInitialized: Signal<boolean>;
16
- readonly paginationMode: Signal<TablePaginationModeEnum>;
17
- readonly offset: Signal<number>;
18
- readonly rows: Signal<number | undefined>;
19
- readonly data: Signal<Item[]>;
20
- readonly count: Signal<number>;
21
- readonly loading: Signal<boolean>;
22
- readonly selectedItems: import("@angular/core").WritableSignal<Item[]>;
23
- setDataSources(arrayItems: Signal<Item[] | undefined>, dataListResult: Signal<DataListResult<Item> | undefined>, dataProvider: Signal<ITableDataProvider<Item, any, any, any> | undefined>, manualLoading: Signal<boolean | undefined>): void;
24
- fetchWithDataProvider(params: DataListParams, onErrorFn: (error: Error) => void): boolean;
25
- setParams(params: DataListParams, fromQueryParams?: boolean): void;
26
- /**
27
- * Compare the given params with the stored params in the DataListService.
28
- *
29
- * @param {DataListParams} params - The params to compare with the stored params.
30
- *
31
- * @return {boolean} - True if the given params match the stored params, otherwise false.
32
- */
33
- private compareWithCurrentParams;
34
- ngOnDestroy(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<TableDataService<any>, never>;
36
- static ɵprov: i0.ɵɵInjectableDeclaration<TableDataService<any>>;
37
- }
@@ -1,7 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { FilterDisplayTypeEnum } from '@mediusinc/mng-commons/filter';
3
- export interface TableFeatureConfig {
4
- filterDisplayType?: FilterDisplayTypeEnum;
5
- searchLimitMaxWords?: number | null;
6
- }
7
- export declare const COMMONS_TABLE_FEATURE_CONFIG_IT: InjectionToken<TableFeatureConfig>;
@@ -1,31 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { PrimeNG } from 'primeng/config';
3
- import { CommonsSerializationConfig, DataListParams } from '@mediusinc/mng-commons/core';
4
- import { FilterDescriptor, FilterDisplayTypeEnum } from '@mediusinc/mng-commons/filter';
5
- import { TableDescriptorInst } from '@mediusinc/mng-commons/table/api';
6
- import { FilterMetadata } from '../models/filter.model';
7
- import * as i0 from "@angular/core";
8
- export declare class TableMetadataService {
9
- #private;
10
- static readonly cmpTypeName = "TableComponent";
11
- readonly primeConfig: PrimeNG;
12
- readonly moduleConfig: import("@mediusinc/mng-commons/core").CommonsModuleConfig | null;
13
- readonly tableModuleConfig: import("@mediusinc/mng-commons/table").TableFeatureConfig | null;
14
- readonly serializationCfg: CommonsSerializationConfig;
15
- readonly defaultFilterDisplayType: FilterDisplayTypeEnum;
16
- readonly descriptorFromSource: Signal<TableDescriptorInst<any, any, any> | undefined>;
17
- readonly descriptor: Signal<TableDescriptorInst<any, any, any>>;
18
- rowsPerPageOptions: Signal<number[]>;
19
- readonly filterDescriptors: Signal<FilterDescriptor<any, any>[]>;
20
- readonly filters: Signal<FilterMetadata[]>;
21
- readonly genericFilterDescriptor: Signal<import("@mediusinc/mng-commons/filter").FilterGenericDescriptor | undefined>;
22
- readonly genericFilters: Signal<FilterMetadata[]>;
23
- readonly searchFields: Signal<string[]>;
24
- readonly defaultParams: Signal<DataListParams<string, string>>;
25
- constructor();
26
- setSignalSources(descriptor: Signal<TableDescriptorInst<any, any>>, searchFields: Signal<string[] | undefined>): void;
27
- setDescriptor(descriptor: TableDescriptorInst<any, any, any>): void;
28
- private mapDescriptorToMetadata;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<TableMetadataService, never>;
30
- static ɵprov: i0.ɵɵInjectableDeclaration<TableMetadataService>;
31
- }
@@ -1,25 +0,0 @@
1
- import { MultiSelectChangeEvent } from 'primeng/multiselect';
2
- import { TableColumnReorderEvent } from 'primeng/table';
3
- import { TableLayoutPreferences } from '@mediusinc/mng-commons/table/api';
4
- import { ColumnWithPreferences } from '../models/column-preferences.model';
5
- import * as i0 from "@angular/core";
6
- export declare class TablePreferencesService {
7
- #private;
8
- readonly localstorageKey: import("@angular/core").Signal<string | null>;
9
- readonly layoutPreferences: import("@angular/core").Signal<TableLayoutPreferences>;
10
- columnsWithPrefs: import("@angular/core").Signal<ColumnWithPreferences[]>;
11
- /**
12
- * Method is called on column resize
13
- * @param element event's element
14
- */
15
- onColumnResize({ element }: any): void;
16
- onColumnToggle(event: MultiSelectChangeEvent): void;
17
- onColumnToggleAll(): void;
18
- onColumnReorder(event: TableColumnReorderEvent): void;
19
- /**
20
- * Reset column order and column visibility to default settings
21
- */
22
- clearLayoutPreferences(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TablePreferencesService, never>;
24
- static ɵprov: i0.ɵɵInjectableDeclaration<TablePreferencesService>;
25
- }
@@ -1,63 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { MenuItem } from 'primeng/api';
4
- import { Menu } from 'primeng/menu';
5
- import { ActionData, ActionParameters, DataListParams, IDataProvider, IdType } from '@mediusinc/mng-commons/core';
6
- import { ActionDescriptorInst, ActionLinkDescriptorInst, IActionComponent } from '@mediusinc/mng-commons/tableview/api';
7
- import { ActionInstance } from '../../models/execution/action-instance.model';
8
- import * as i0 from "@angular/core";
9
- export declare class ActionComponent<Item = any, Service = undefined> implements OnDestroy {
10
- #private;
11
- private readonly routeService;
12
- private readonly translate;
13
- private readonly authorization;
14
- private readonly actionExecutor;
15
- private readonly viewContainer;
16
- action: import("@angular/core").InputSignal<ActionDescriptorInst<Item, Service, any, any, any>>;
17
- item: import("@angular/core").InputSignal<Item | undefined>;
18
- itemId: import("@angular/core").InputSignal<IdType | undefined>;
19
- actionData: import("@angular/core").InputSignal<ActionData | undefined>;
20
- dataListParams: import("@angular/core").InputSignal<DataListParams<string, string> | undefined>;
21
- dataProvider: import("@angular/core").InputSignal<IDataProvider<Item, Service> | undefined>;
22
- hostComponent: import("@angular/core").InputSignal<any>;
23
- routeInit: import("@angular/core").InputSignal<ActivatedRoute | undefined>;
24
- inputDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
- inputLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
26
- selectedItems: import("@angular/core").InputSignal<Item[]>;
27
- finish: import("@angular/core").OutputEmitterRef<ActionInstance<Item, Service>>;
28
- subactionsMenu: import("@angular/core").Signal<Menu | undefined>;
29
- hostClass: import("@angular/core").Signal<string>;
30
- isHostHidden: import("@angular/core").Signal<boolean>;
31
- loading: import("@angular/core").WritableSignal<boolean>;
32
- private isVisibleSubscription?;
33
- isVisible: import("@angular/core").WritableSignal<boolean>;
34
- private isPermittedSubscription?;
35
- isPermitted: import("@angular/core").WritableSignal<boolean>;
36
- private isEnabledSubscription?;
37
- isEnabled: import("@angular/core").WritableSignal<boolean>;
38
- private labelSubscription?;
39
- label: import("@angular/core").WritableSignal<string>;
40
- private tooltipSubscription?;
41
- tooltip: import("@angular/core").WritableSignal<string>;
42
- actionLink: import("@angular/core").Signal<ActionLinkDescriptorInst<Item, Item> | undefined>;
43
- hasNoTitle: import("@angular/core").Signal<boolean>;
44
- private resultSubscription?;
45
- private errorSubscription?;
46
- private stateSubscription?;
47
- private cmpInstSubscription?;
48
- route: import("@angular/core").Signal<ActivatedRoute>;
49
- routeData: import("@angular/core").Signal<import("@angular/router").Data | undefined>;
50
- private routePermissions;
51
- buttonClass: import("@angular/core").Signal<string>;
52
- subactions: import("@angular/core").WritableSignal<MenuItem[]>;
53
- private subactionSubscriptions;
54
- private instance?;
55
- constructor();
56
- ngOnDestroy(): void;
57
- triggerAction(action: ActionDescriptorInst<Item, Service>, parameters?: ActionParameters<Item>, event?: Event): void;
58
- onCustomActionCmpInst(instance: IActionComponent<Item>): void;
59
- private processSubscriptions;
60
- private processSubactions;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionComponent<any, any>, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent<any, any>, "mng-action", never, { "action": { "alias": "action"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": false; "isSignal": true; }; "itemId": { "alias": "itemId"; "required": false; "isSignal": true; }; "actionData": { "alias": "actionData"; "required": false; "isSignal": true; }; "dataListParams": { "alias": "dataListParams"; "required": false; "isSignal": true; }; "dataProvider": { "alias": "dataProvider"; "required": false; "isSignal": true; }; "hostComponent": { "alias": "hostComponent"; "required": false; "isSignal": true; }; "routeInit": { "alias": "route"; "required": false; "isSignal": true; }; "inputDisabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputLoading": { "alias": "loading"; "required": false; "isSignal": true; }; "selectedItems": { "alias": "selectedItems"; "required": false; "isSignal": true; }; }, { "finish": "finish"; }, never, never, true, never>;
63
- }
@@ -1,32 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { DynamicDialogConfig } from 'primeng/dynamicdialog';
3
- import { ActionData, IDataProvider, IdType } from '@mediusinc/mng-commons/core';
4
- import { ActionEditorDescriptorInst } from '@mediusinc/mng-commons/tableview/api';
5
- import { ActionEditorInjectorContextComponent, ActionEditorInjectorContextInputData } from './injector-context/action-editor-injector-context.component';
6
- import * as i0 from "@angular/core";
7
- export declare class ActionEditorComponent<T = any, S = any> {
8
- readonly injContextCmpType: Type<any>;
9
- readonly dialogConfig: DynamicDialogConfig<any, any> | null;
10
- action: import("@angular/core").InputSignal<ActionEditorDescriptorInst<T, S, T, T, T, T, undefined>>;
11
- private readonly dialogData;
12
- private readonly isDialog;
13
- readonly parentInjector: import("@angular/core").Injector | undefined;
14
- itemId: import("@angular/core").InputSignal<IdType | undefined>;
15
- item: import("@angular/core").InputSignal<T | undefined>;
16
- actionData: import("@angular/core").InputSignal<ActionData | undefined>;
17
- dataProvider: import("@angular/core").InputSignal<IDataProvider<T, S> | undefined>;
18
- actionRun: import("@angular/core").OutputEmitterRef<T | null | undefined>;
19
- actionCancel: import("@angular/core").OutputEmitterRef<T | null | undefined>;
20
- private actionEditorWInjContextCmp?;
21
- actionEditorWInjContextInputData: import("@angular/core").Signal<ActionEditorInjectorContextInputData<T, S>>;
22
- private itemIdFirstUpdate;
23
- private itemFirstUpdate;
24
- get actionEditor(): ActionEditorInjectorContextComponent<T, S> | undefined;
25
- get formEditorCmp(): import("@angular/core").Signal<import("@mediusinc/mng-commons/tableview").FormEditorComponent<T, any> | undefined> | undefined;
26
- constructor();
27
- onActionEditorWInjContextCmp(cmp: ActionEditorInjectorContextComponent<T, S>): void;
28
- cancel(): void;
29
- triggerSubmit(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionEditorComponent<any, any>, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionEditorComponent<any, any>, "mng-action-editor", never, { "action": { "alias": "action"; "required": true; "isSignal": true; }; "itemId": { "alias": "itemId"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": false; "isSignal": true; }; "actionData": { "alias": "actionData"; "required": false; "isSignal": true; }; "dataProvider": { "alias": "dataProvider"; "required": false; "isSignal": true; }; }, { "actionRun": "actionRun"; "actionCancel": "actionCancel"; }, never, never, true, never>;
32
- }
@@ -1,79 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { DynamicDialogConfig } from 'primeng/dynamicdialog';
3
- import { Observable } from 'rxjs';
4
- import { ActionData, IDataProvider, IdType } from '@mediusinc/mng-commons/core';
5
- import { ActionActivationTriggerEnum, ActionDescriptorInst, ActionEditorDescriptorInst, ActionEditorSubmitTypeEnum, FormEditorSubmitEvent, IActionEditorComponent, IActionInstance } from '@mediusinc/mng-commons/tableview/api';
6
- import { FormEditorComponent } from '../../../../editor/components/editor/form-editor.component';
7
- import { EditorAutoSaveStatus } from '../../../../editor/models/editor-auto-save-preview.model';
8
- import { ActionInstance } from '../../../models/execution/action-instance.model';
9
- import * as i0 from "@angular/core";
10
- export declare class ActionEditorInjectorContextComponent<Item = any, Service = any> implements OnDestroy, IActionEditorComponent {
11
- #private;
12
- protected readonly ActionActivationTriggerEnum: typeof ActionActivationTriggerEnum;
13
- readonly actionEditorSubmitTypeSubmit = ActionEditorSubmitTypeEnum.Submit;
14
- private readonly translate;
15
- private readonly confirmationService;
16
- private readonly dialogService;
17
- private readonly logger;
18
- private readonly commonsService;
19
- private readonly actionExecutor;
20
- private readonly viewContainer;
21
- data: import("@angular/core").InputSignal<ActionEditorInjectorContextInputData<Item, Service>>;
22
- actionRun: import("@angular/core").OutputEmitterRef<Item | null | undefined>;
23
- actionCancel: import("@angular/core").OutputEmitterRef<Item | null | undefined>;
24
- formEditorCmp: import("@angular/core").Signal<FormEditorComponent<Item, any> | undefined>;
25
- private hasTitle;
26
- title: import("@angular/core").WritableSignal<string | undefined>;
27
- isFormDisabled: import("@angular/core").WritableSignal<boolean>;
28
- item: import("@angular/core").WritableSignal<Item | undefined>;
29
- itemId: import("@angular/core").WritableSignal<IdType | undefined>;
30
- actionData: import("@angular/core").WritableSignal<ActionData | undefined>;
31
- editorAction: import("@angular/core").Signal<ActionEditorDescriptorInst<Item, Service, Item, Item, Item, Item, undefined>>;
32
- private actions;
33
- toolbarLeftActions: import("@angular/core").Signal<ActionDescriptorInst<Item, any, Item, Item, Item>[]>;
34
- toolbarRightActions: import("@angular/core").Signal<ActionDescriptorInst<Item, any, Item, Item, Item>[]>;
35
- footerLeftActions: import("@angular/core").Signal<ActionDescriptorInst<Item, any, Item, Item, Item>[]>;
36
- footerRightActions: import("@angular/core").Signal<ActionDescriptorInst<Item, any, Item, Item, Item>[]>;
37
- private instance?;
38
- private instanceStateSubscription?;
39
- private instanceReactivationSubscription?;
40
- loading: import("@angular/core").WritableSignal<boolean>;
41
- private fetchExecutionSubscription?;
42
- formValue: import("@angular/core").WritableSignal<Item | undefined>;
43
- submitLoading: import("@angular/core").WritableSignal<boolean>;
44
- autoSaveStatus: import("@angular/core").WritableSignal<EditorAutoSaveStatus | undefined>;
45
- private submitExecutionSubscription?;
46
- private lastSubmitItem?;
47
- ngOnDestroy(): void;
48
- onSubmit(event: FormEditorSubmitEvent<Item>): void;
49
- cancel(): void;
50
- updateItemId(itemId: IdType | undefined): void;
51
- updateItem(item: Item | undefined): void;
52
- triggerSubmit(): void;
53
- onValueChange(value: Item): void;
54
- onAutoSave(value: EditorAutoSaveStatus): void;
55
- private fetchItem;
56
- private setEditorEnabled;
57
- private processActionInstance;
58
- private unsetInstance;
59
- private isActionMainTwEditor;
60
- private beforeWindowUnload;
61
- private onEscapePressed;
62
- closeWithUnsavedChangesConfirmation(callFromGuard?: boolean): Observable<boolean>;
63
- private showUnsavedChangesConfirmationDialog;
64
- private onEditorReset;
65
- private getActionParams;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionEditorInjectorContextComponent<any, any>, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionEditorInjectorContextComponent<any, any>, "mng-action-editor-injector-context", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, { "actionRun": "actionRun"; "actionCancel": "actionCancel"; }, never, never, true, never>;
68
- }
69
- export interface ActionEditorInjectorContextInputData<Item, Service> {
70
- descriptor: ActionEditorDescriptorInst<Item, Service>;
71
- isDialog: boolean;
72
- dialogConfig?: DynamicDialogConfig;
73
- itemId?: IdType;
74
- item?: Item;
75
- actionData?: ActionData;
76
- dataProvider?: IDataProvider<Item, Service>;
77
- actionInstance?: ActionInstance<Item, Service>;
78
- previousActionInstance?: IActionInstance<any, any>;
79
- }
@@ -1,19 +0,0 @@
1
- import { ActionData, ActionParameters, CommonsService, IdType } from '@mediusinc/mng-commons/core';
2
- import { LookupDataProviderInst } from '@mediusinc/mng-commons/form/api';
3
- import { ActionDescriptorInst, IActionComponent } from '@mediusinc/mng-commons/tableview/api';
4
- import * as i0 from "@angular/core";
5
- export declare class DataLanguageDropdownComponent<T = any> implements IActionComponent<T> {
6
- private readonly viewContainer;
7
- readonly commons: CommonsService;
8
- action: import("@angular/core").InputSignal<ActionDescriptorInst<T, any, T, T, T>>;
9
- actionData: import("@angular/core").InputSignal<ActionData>;
10
- item: import("@angular/core").InputSignal<T>;
11
- itemId: import("@angular/core").InputSignal<IdType>;
12
- enabled: import("@angular/core").InputSignal<boolean>;
13
- loading: import("@angular/core").InputSignal<boolean>;
14
- trigger: import("@angular/core").OutputEmitterRef<ActionParameters<T, T, T, T>>;
15
- selectionItemsDataProvider: import("@angular/core").Signal<LookupDataProviderInst<string, any, number | typeof Symbol.iterator | "length" | "toString" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "valueOf" | "replace" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "anchor" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "link" | "small" | "strike" | "sub" | "sup" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll", number | typeof Symbol.iterator | "length" | "toString" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "valueOf" | "replace" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "anchor" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "link" | "small" | "strike" | "sub" | "sup" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll", import("@mediusinc/mng-commons/core").ServiceClassOptType<any>>>;
16
- updateDataLocale(dataLang: string): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<DataLanguageDropdownComponent<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<DataLanguageDropdownComponent<any>, "mng-data-language-dropdown", never, { "action": { "alias": "action"; "required": true; "isSignal": true; }; "actionData": { "alias": "actionData"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; "itemId": { "alias": "itemId"; "required": true; "isSignal": true; }; "enabled": { "alias": "enabled"; "required": true; "isSignal": true; }; "loading": { "alias": "loading"; "required": true; "isSignal": true; }; }, { "trigger": "trigger"; }, never, never, true, never>;
19
- }
@@ -1,26 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { CanComponentDeactivate } from '../../models/can-component-deactivate.model';
4
- import * as i0 from "@angular/core";
5
- export default class ActionRouteComponent<Item, Service> implements OnInit, OnDestroy, CanComponentDeactivate {
6
- private readonly router;
7
- private readonly route;
8
- private readonly actionExecutor;
9
- private readonly viewContainer?;
10
- private readonly destroyRef;
11
- private actions;
12
- private instance?;
13
- private instanceStateSubscription?;
14
- private instanceReactivationSubscription?;
15
- private isRouterNavigationInProgress;
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- private activateAction;
19
- private untriggerAction;
20
- private findActionForRoute;
21
- private processActionInstance;
22
- canDeactivate(): Observable<boolean>;
23
- private unsetInstance;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionRouteComponent<any, any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionRouteComponent<any, any>, "mng-action-route", never, {}, {}, never, never, true, never>;
26
- }
@@ -1,50 +0,0 @@
1
- import { QueryList, Signal, TemplateRef, Type } from '@angular/core';
2
- import { TableRowReorderEvent } from 'primeng/table';
3
- import { DataListResult, TemplateDirective } from '@mediusinc/mng-commons/core';
4
- import { TableComponent } from '@mediusinc/mng-commons/table';
5
- import { ITableDataProvider, TableCellClickEvent, TableDescriptorInst, TableLoadEvent, TableReloadEvent } from '@mediusinc/mng-commons/table/api';
6
- import { ActionDescriptorInst } from '@mediusinc/mng-commons/tableview/api';
7
- import { ActionInstance } from '../../models/execution/action-instance.model';
8
- import * as i0 from "@angular/core";
9
- export declare class ActionTableComponent<Item = any, Service = undefined, Sorts = keyof Item, Filters extends keyof any = keyof Item> {
10
- private readonly route;
11
- private readonly actionExecutor;
12
- private readonly viewContainer;
13
- descriptor: import("@angular/core").InputSignal<TableDescriptorInst<Item, Sorts, Filters>>;
14
- items: import("@angular/core").InputSignal<Item[] | undefined>;
15
- result: import("@angular/core").InputSignal<DataListResult<Item> | undefined>;
16
- loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
17
- dataProvider: import("@angular/core").InputSignal<ITableDataProvider<Item, Service, Sorts, Filters> | undefined>;
18
- useQueryParams: import("@angular/core").InputSignal<boolean>;
19
- tableClassName: import("@angular/core").InputSignal<string | undefined>;
20
- selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
21
- selectionEnabled: import("@angular/core").InputSignal<boolean>;
22
- globalFilterFields: import("@angular/core").InputSignal<string[] | undefined>;
23
- rowReorderEnabled: import("@angular/core").InputSignal<boolean>;
24
- actions: import("@angular/core").InputSignal<ActionDescriptorInst<any, any, any, any, any>[]>;
25
- captionComponent: import("@angular/core").InputSignal<Type<any> | undefined>;
26
- columnActionComponent: import("@angular/core").InputSignal<Type<any> | undefined>;
27
- columnActionMinWidthInput: import("@angular/core").InputSignal<number | undefined>;
28
- columnActionMinWidth: Signal<number | undefined>;
29
- tableLoad: import("@angular/core").OutputEmitterRef<TableLoadEvent>;
30
- selectionChange: import("@angular/core").OutputEmitterRef<Item[]>;
31
- captionComponentInstance: import("@angular/core").OutputEmitterRef<any>;
32
- columnActionComponentInstance: import("@angular/core").OutputEmitterRef<any>;
33
- rowReorder: import("@angular/core").OutputEmitterRef<TableRowReorderEvent>;
34
- templates: Signal<readonly TemplateDirective[]>;
35
- components: Signal<readonly QueryList<any>[]>;
36
- table: Signal<TableComponent<any, any, any, any>>;
37
- captionTemplate: Signal<TemplateRef<any> | null>;
38
- footerTemplate: Signal<TemplateRef<any> | null>;
39
- rowExpandTemplate: Signal<TemplateRef<any> | null>;
40
- rowClickActions: Signal<ActionDescriptorInst<any, any, any, any, any>[]>;
41
- rowInlineActions: Signal<ActionDescriptorInst<any, any, any, any, any>[]>;
42
- constructor();
43
- reload(e?: TableReloadEvent<Sorts, Filters>): void;
44
- onCellClick(event: TableCellClickEvent<Item>): void;
45
- onSelectionChange(items: Array<Item>): void;
46
- onRowReorder(event: TableRowReorderEvent): void;
47
- onActionFinish(runResult: ActionInstance<Item, Service>): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionTableComponent<any, any, any, any>, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionTableComponent<any, any, any, any>, "mng-action-table", never, { "descriptor": { "alias": "descriptor"; "required": true; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "result": { "alias": "result"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "dataProvider": { "alias": "dataProvider"; "required": false; "isSignal": true; }; "useQueryParams": { "alias": "useQueryParams"; "required": false; "isSignal": true; }; "tableClassName": { "alias": "tableClassName"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionEnabled": { "alias": "selectionEnabled"; "required": false; "isSignal": true; }; "globalFilterFields": { "alias": "globalFilterFields"; "required": false; "isSignal": true; }; "rowReorderEnabled": { "alias": "rowReorderEnabled"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "captionComponent": { "alias": "captionComponent"; "required": false; "isSignal": true; }; "columnActionComponent": { "alias": "columnActionComponent"; "required": false; "isSignal": true; }; "columnActionMinWidthInput": { "alias": "columnActionMinWidth"; "required": false; "isSignal": true; }; }, { "tableLoad": "tableLoad"; "selectionChange": "selectionChange"; "captionComponentInstance": "captionComponentInstance"; "columnActionComponentInstance": "columnActionComponentInstance"; "rowReorder": "rowReorder"; }, ["templates"], never, true, never>;
50
- }
@@ -1,3 +0,0 @@
1
- import { CanDeactivateFn } from '@angular/router';
2
- import { CanComponentDeactivate } from '../models/can-component-deactivate.model';
3
- export declare const unsavedChangesGuard: CanDeactivateFn<CanComponentDeactivate>;
@@ -1,7 +0,0 @@
1
- import { IDataProvider } from '@mediusinc/mng-commons/core';
2
- import { ActionDescriptorInst, IViewContainer } from '@mediusinc/mng-commons/tableview/api';
3
- import { ActionDataProviderSource } from '../models/execution/action-context.model';
4
- export declare function actionExecutionSelectDataProvider<Item, Service>(action: ActionDescriptorInst<any>, dataProvider?: IDataProvider<Item, Service>, viewContainer?: IViewContainer<any, any> | null): {
5
- dataProvider?: IDataProvider<Item, Service>;
6
- source: ActionDataProviderSource;
7
- };
@@ -1,47 +0,0 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { Observable } from 'rxjs';
3
- import { I18nMissingTranslationStrategy } from '@mediusinc/mng-commons/core';
4
- import { ActionDescriptorInst, ActionEditorDescriptorInst } from '@mediusinc/mng-commons/tableview/api';
5
- type ActionI18nOptsType = {
6
- customKey?: string;
7
- fallbackKey?: string;
8
- item?: any;
9
- params?: any;
10
- missingTranslationStrategy?: I18nMissingTranslationStrategy;
11
- };
12
- /**
13
- * Asynchronously retrieves internationalized text for a specified action.
14
- *
15
- * If no translation is found for actionPathKeys, the fallback is used (if provided).
16
- * If custom key is provided, no other key will be used.
17
- * Item can be interpolated under itemTitle, itemId (if specified in action model) or under item.* (JSON-like path to property).
18
- * Params are interpolated in translation.
19
- *
20
- * @param {TranslateService} translate - The translation service used for retrieving localized strings.
21
- * @param {ActionDescriptorInst<any>} action - The action descriptor that provides context for localization keys and parameters.
22
- * @param {string | Array<string>} pathKeys - A string or array of strings representing the priority order of localization keys to look up for the action.
23
- * @param {ActionI18nOptsType} [opts] - Optional settings to customize the localization behavior, including custom keys, fallback keys, parameters, and missing translation strategies.
24
- * @return {Observable<string | null>} An observable that emits the localized string for the action or null if no appropriate translation is found.
25
- */
26
- export declare function getI18nForAction(translate: TranslateService, action: ActionDescriptorInst<any>, pathKeys: string | Array<string>, opts?: ActionI18nOptsType): string | null;
27
- /**
28
- * Asynchronously retrieves internationalized text for a specified action.
29
- *
30
- * If no translation is found for actionPathKeys, the fallback is used (if provided).
31
- * If custom key is provided, no other key will be used.
32
- * Item can be interpolated under itemTitle, itemId (if specified in action model) or under item.* (JSON-like path to property).
33
- * Params are interpolated in translation.
34
- *
35
- * @param {TranslateService} translate - The translation service used for retrieving localized strings.
36
- * @param {ActionDescriptorInst<any>} action - The action descriptor that provides context for localization keys and parameters.
37
- * @param {string | Array<string>} pathKeys - A string or array of strings representing the priority order of localization keys to look up for the action.
38
- * @param {ActionI18nOptsType} [opts] - Optional settings to customize the localization behavior, including custom keys, fallback keys, parameters, and missing translation strategies.
39
- * @return {Observable<string | null>} An observable that emits the localized string for the action or null if no appropriate translation is found.
40
- */
41
- export declare function getI18nForActionAsync(translate: TranslateService, action: ActionDescriptorInst<any>, pathKeys: string | Array<string>, opts?: ActionI18nOptsType): Observable<string | null>;
42
- export declare function getI18nActionTitleAsync(translate: TranslateService, action: ActionDescriptorInst<any>, item?: any): Observable<string | null>;
43
- export declare function getI18nActionEditorTitleAsync(translate: TranslateService, action: ActionEditorDescriptorInst<any>, item?: any): Observable<string | null>;
44
- export declare function getI18nActionParams(translate: TranslateService, action: ActionDescriptorInst<any>, item?: any, params?: any): any;
45
- export declare function getI18nActionParamsAsync(translate: TranslateService, action: ActionDescriptorInst<any>, item?: any, params?: any): Observable<any>;
46
- export declare function populateI18nActionParams(params?: any): any;
47
- export {};
@@ -1,39 +0,0 @@
1
- import { ModelDescriptor, TypeDescriptor } from '@mediusinc/mng-commons/model';
2
- import { TableComponent } from '@mediusinc/mng-commons/table';
3
- import { TableDescriptorInst } from '@mediusinc/mng-commons/table/api';
4
- import { EditorDescriptorInst, IActionContext, IActionEditorContext } from '@mediusinc/mng-commons/tableview/api';
5
- import { FormEditorService } from '../../editor/services/form-editor.service';
6
- /**
7
- * Retrieves the parent form editor service for a given action editor context. Only applicable for action editor with ParentEditorItem type defined.
8
- *
9
- * @param {IActionEditorContext<any, ParentItem, any, any>} ctx - The action editor context containing information about the current editor and its parent.
10
- *
11
- * @return {FormEditorService<ParentItem> | null} The parent form editor service if available, or null if not found.
12
- */
13
- export declare function getActionParentFormEditor<ParentItem>(ctx: IActionEditorContext<any, ParentItem, any, any>): FormEditorService<ParentItem> | null;
14
- /**
15
- * Retrieves the parent form editor service for a given action context and editor/model/type descriptor.
16
- *
17
- * @param {IActionContext<any, any, any, any>} ctx - The action context from which the parent editor is resolved.
18
- * @param {EditorDescriptorInst<ParentItem> | ModelDescriptor<ParentItem> | TypeDescriptor<ParentItem>} editorType - The editor descriptor or type used to locate the parent form editor.
19
- *
20
- * @return {FormEditorService<ParentItem> | null} The parent form editor service instance if found, otherwise null.
21
- */
22
- export declare function getActionParentFormEditor<ParentItem>(ctx: IActionContext<any, any, any, any> | IActionEditorContext<any, any, any, any>, editorType: EditorDescriptorInst<ParentItem> | ModelDescriptor<ParentItem> | TypeDescriptor<ParentItem>): FormEditorService<ParentItem> | null;
23
- /**
24
- * Retrieves the form editor service associated with a given action editor context. Only applicable for action editor.
25
- *
26
- * @param {IActionEditorContext<Item, ParentItem, any, any>} ctx - The action editor context containing parameters and state.
27
- *
28
- * @return {FormEditorService<Item, ParentItem> | null} The form editor service if available, or null if not found.
29
- */
30
- export declare function getActionFormEditor<Item, ParentItem>(ctx: IActionEditorContext<Item, ParentItem, any, any>): FormEditorService<Item, ParentItem> | null;
31
- /**
32
- * Retrieves the parent table associated with the given action context and table descriptor. Applies when actions are placed on table or table within tableview.
33
- *
34
- * @param {IActionContext<any, any, any, any>} ctx - The action context from which the table is resolved.
35
- * @param {TableDescriptorInst<Item, Sorts, Filters> | ModelDescriptor<Item> | TypeDescriptor<Item>} tableType - The descriptor of the table that needs to be retrieved.
36
- *
37
- * @return {TableComponent<Item, Sorts, Filters> | null} The parent table associated with the action context and descriptor, or null if not found.
38
- */
39
- export declare function getActionParentTable<Item, Sorts = keyof Item, Filters = keyof Item>(ctx: IActionContext<any, any, any, any>, tableType: TableDescriptorInst<Item, Sorts, Filters> | ModelDescriptor<Item> | TypeDescriptor<Item>): TableComponent<Item, Sorts, Filters> | null;
@@ -1,40 +0,0 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { MessageService, ToastMessageOptions } from 'primeng/api';
3
- import { ICommonsError } from '@mediusinc/mng-commons/core';
4
- import { ActionDescriptorInst, ActionNotificationType } from '@mediusinc/mng-commons/tableview/api';
5
- type ActionNotificationOptsType = ActionNotificationType & {
6
- item?: any;
7
- functionName?: string;
8
- };
9
- /**
10
- * Executes a notification success action for a given operation, translating
11
- * and displaying a success message using the specified translation and message services.
12
- *
13
- * Provide title or message for custom titles (unrelated to model/action base paths for i18n).
14
- * Item is interpolated as itemId, itemTitle or item.* for accessing desired properties.
15
- * Set functionName in order to get specific translations for executing function (run, fetch, submit).
16
- *
17
- * @param {TranslateService} translate - The translation service used to retrieve localized messages.
18
- * @param {MessageService} messageService - The message service responsible for displaying notifications.
19
- * @param {ActionDescriptorInst<any>} action - The action descriptor instance that defines the operation.
20
- * @param {ActionNotificationOptsType} [opts] - Optional configuration for customizing the success notification.
21
- * @return {Message | undefined} The generated message object if a success message is found, otherwise undefined.
22
- */
23
- export declare function actionNotificationSuccess(translate: TranslateService, messageService: MessageService, action: ActionDescriptorInst<any>, opts?: ActionNotificationOptsType): ToastMessageOptions | undefined;
24
- /**
25
- * Displays a notification for an error that occurred during an action execution.
26
- *
27
- * Provide title or message for custom titles (unrelated to model/action base paths for i18n).
28
- * Item is interpolated as itemId, itemTitle or item.* for accessing desired properties.
29
- * Set functionName in order to get specific translations for executing function (run, fetch, submit).
30
- *
31
- * @param {TranslateService} translate - The service used for translations.
32
- * @param {MessageService} messageService - The service used for displaying messages.
33
- * @param {ActionDescriptorInst<any>} action - The action descriptor instance related to the error.
34
- * @param {ICommonsError} error - The error object containing details about the error.
35
- * @param {'warn' | 'error'} [severity='error'] - The severity level of the notification (either 'warn' or 'error').
36
- * @param {ActionNotificationOptsType} [opts] - Optional parameters for customizing the notification, such as title, message, or function name.
37
- * @return {Message} - The message object created and displayed as a notification.
38
- */
39
- export declare function actionNotificationError(translate: TranslateService, messageService: MessageService, action: ActionDescriptorInst<any>, error: ICommonsError, severity?: 'warn' | 'error', opts?: ActionNotificationOptsType): ToastMessageOptions;
40
- export {};
@@ -1,5 +0,0 @@
1
- import { TableDescriptorInst } from '@mediusinc/mng-commons/table/api';
2
- import { ActionDescriptorInst } from '@mediusinc/mng-commons/tableview/api';
3
- export declare function calculateTableColumnActionWidth(table: TableDescriptorInst<unknown>, actions: Array<ActionDescriptorInst<any>>): number;
4
- export declare function getTableCellPaddingX(table: TableDescriptorInst<unknown>): number;
5
- export declare function getActionButtonRoundedWidth(action: ActionDescriptorInst<any>): number;
@@ -1,11 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { ActionEditorDescriptorInst, IActionInstance } from '@mediusinc/mng-commons/tableview/api';
3
- import { ActionInstance } from './execution/action-instance.model';
4
- export interface ActionEditorDialogData<Item, Service> {
5
- action: {
6
- descriptor: ActionEditorDescriptorInst<Item>;
7
- instance: ActionInstance<Item, Service>;
8
- previousInstance?: IActionInstance<any, any>;
9
- };
10
- injector: Injector;
11
- }