@mediusinc/mng-commons 5.0.0-rc.0-c31d5206 → 5.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 (1425) hide show
  1. package/README.md +1 -0
  2. package/core/README.md +8 -0
  3. package/core/action/action-data.model.d.ts +3 -0
  4. package/core/action/action-parameters.model.d.ts +17 -0
  5. package/core/components/pages/error/error.page.component.d.ts +8 -0
  6. package/core/components/pages/not-found/not-found.page.component.d.ts +8 -0
  7. package/core/data-list/data-list-params.util.d.ts +84 -0
  8. package/core/data-providers/base.data-provider.d.ts +32 -0
  9. package/core/data-providers/lookup.data-provider.d.ts +10 -0
  10. package/core/descriptors/action.descriptor.d.ts +12 -0
  11. package/core/descriptors/column.descriptor.d.ts +3 -0
  12. package/core/descriptors/editor.descriptor.d.ts +11 -0
  13. package/core/descriptors/filter.descriptor.d.ts +3 -0
  14. package/core/descriptors/lookup.descriptor.d.ts +12 -0
  15. package/core/descriptors/model.descriptor.d.ts +8 -0
  16. package/core/descriptors/table.descriptor.d.ts +9 -0
  17. package/core/descriptors/tableview.descriptor.d.ts +11 -0
  18. package/core/directives/component.directive.d.ts +20 -0
  19. package/core/directives/dialog-keydown-handler.directive.d.ts +12 -0
  20. package/core/directives/template.directive.d.ts +12 -0
  21. package/core/enum/enum.model.d.ts +8 -0
  22. package/core/enum/enum.util.d.ts +51 -0
  23. package/core/error/error-handler.d.ts +6 -0
  24. package/core/error/error.model.d.ts +47 -0
  25. package/core/error/error.util.d.ts +116 -0
  26. package/core/helpers/coercion.d.ts +9 -0
  27. package/core/helpers/notification.d.ts +2 -0
  28. package/core/helpers/type-helpers.d.ts +16 -0
  29. package/core/index.d.ts +77 -0
  30. package/core/log/log-publisher-console.service.d.ts +4 -0
  31. package/core/log/log.model.d.ts +40 -0
  32. package/core/log/logger.service.d.ts +33 -0
  33. package/core/models/class-service.model.d.ts +7 -0
  34. package/core/models/getter.model.d.ts +2 -0
  35. package/core/models/i18n.model.d.ts +1 -0
  36. package/core/models/menu.model.d.ts +32 -0
  37. package/core/models/user.model.d.ts +8 -0
  38. package/core/pipes/boolean.pipe.d.ts +7 -0
  39. package/core/pipes/class-map.pipe.d.ts +7 -0
  40. package/core/pipes/enumerate-async.pipe.d.ts +9 -0
  41. package/core/pipes/enumerate.pipe.d.ts +16 -0
  42. package/core/pipes/getter.pipe.d.ts +8 -0
  43. package/core/pipes/json-path.pipe.d.ts +13 -0
  44. package/core/pipes/parametrize.pipe.d.ts +12 -0
  45. package/core/pipes/template.pipe.d.ts +10 -0
  46. package/core/provide.d.ts +12 -0
  47. package/core/reflect/type-enum-metadata.d.ts +32 -0
  48. package/core/registry/registry.model.d.ts +8 -0
  49. package/core/registry/type-registry.d.ts +27 -0
  50. package/core/router/route-builder.d.ts +67 -0
  51. package/core/router/router.model.d.ts +13 -0
  52. package/core/router/routes-builder.d.ts +19 -0
  53. package/core/rxjs/map-data-list-result-operator.d.ts +9 -0
  54. package/core/security/permission.guard.d.ts +2 -0
  55. package/core/security/permission.service.d.ts +16 -0
  56. package/core/security/permission.util.d.ts +5 -0
  57. package/core/security/permissions.model.d.ts +55 -0
  58. package/core/services/commons-configuration.service.d.ts +69 -0
  59. package/core/services/commons-init.service.d.ts +30 -0
  60. package/core/services/commons-router.service.d.ts +37 -0
  61. package/core/services/commons.service.d.ts +66 -0
  62. package/core/services/local-storage-config.service.d.ts +11 -0
  63. package/core/services/providers/commons-init.provider.d.ts +4 -0
  64. package/core/services/tokens/browser-storage.token.d.ts +2 -0
  65. package/core/services/tokens/commons-init.token.d.ts +3 -0
  66. package/core/services/tokens/log-publisher.token.d.ts +3 -0
  67. package/core/services/tokens/module-config.token.d.ts +34 -0
  68. package/core/styles/style-constants.d.ts +10 -0
  69. package/core/styles/style.model.d.ts +17 -0
  70. package/core/utils/i18n.util.d.ts +36 -0
  71. package/core/utils/object.util.d.ts +31 -0
  72. package/core/utils/route.util.d.ts +37 -0
  73. package/dev-scripts/version-info.js +1 -1
  74. package/esm2022/core/action/action-data.model.mjs +2 -0
  75. package/esm2022/core/action/action-parameters.model.mjs +2 -0
  76. package/esm2022/core/components/notification/notification-wrapper.component.mjs +50 -0
  77. package/esm2022/core/components/pages/error/error.page.component.mjs +21 -0
  78. package/esm2022/core/components/pages/not-found/not-found.page.component.mjs +21 -0
  79. package/esm2022/core/data-list/data-list-params.util.mjs +417 -0
  80. package/esm2022/core/data-list/data-list.model.mjs +2 -0
  81. package/esm2022/core/data-list/filter-match.model.mjs +105 -0
  82. package/esm2022/core/data-providers/base.data-provider.mjs +48 -0
  83. package/esm2022/core/data-providers/lookup.data-provider.mjs +2 -0
  84. package/esm2022/core/descriptors/action.descriptor.mjs +2 -0
  85. package/esm2022/core/descriptors/column.descriptor.mjs +2 -0
  86. package/esm2022/core/descriptors/editor.descriptor.mjs +2 -0
  87. package/esm2022/core/descriptors/filter.descriptor.mjs +2 -0
  88. package/esm2022/core/descriptors/lookup.descriptor.mjs +2 -0
  89. package/esm2022/core/descriptors/model.descriptor.mjs +2 -0
  90. package/esm2022/core/descriptors/table.descriptor.mjs +2 -0
  91. package/esm2022/core/descriptors/tableview.descriptor.mjs +2 -0
  92. package/esm2022/core/directives/component.directive.mjs +72 -0
  93. package/esm2022/core/directives/dialog-keydown-handler.directive.mjs +49 -0
  94. package/esm2022/core/directives/template.directive.mjs +29 -0
  95. package/esm2022/core/enum/enum.model.mjs +2 -0
  96. package/esm2022/core/enum/enum.util.mjs +83 -0
  97. package/esm2022/core/error/error-handler.mjs +20 -0
  98. package/esm2022/core/error/error.model.mjs +32 -0
  99. package/esm2022/core/error/error.util.mjs +249 -0
  100. package/esm2022/core/helpers/coercion.mjs +52 -0
  101. package/esm2022/core/helpers/notification.mjs +6 -0
  102. package/esm2022/core/helpers/type-helpers.mjs +2 -0
  103. package/esm2022/core/index.mjs +99 -0
  104. package/esm2022/core/log/log-publisher-console.service.mjs +40 -0
  105. package/esm2022/core/log/log.model.mjs +10 -0
  106. package/esm2022/core/log/logger.service.mjs +131 -0
  107. package/esm2022/core/mediusinc-mng-commons-core.mjs +5 -0
  108. package/esm2022/core/models/class-attribute.model.mjs +2 -0
  109. package/esm2022/core/models/class-service.model.mjs +2 -0
  110. package/esm2022/core/models/getter.model.mjs +2 -0
  111. package/esm2022/core/models/i18n.model.mjs +2 -0
  112. package/esm2022/core/models/menu.model.mjs +2 -0
  113. package/esm2022/core/models/user.model.mjs +2 -0
  114. package/esm2022/core/models/version.model.mjs +2 -0
  115. package/esm2022/core/pipes/boolean.pipe.mjs +28 -0
  116. package/esm2022/core/pipes/class-map.pipe.mjs +23 -0
  117. package/esm2022/core/pipes/enumerate-async.pipe.mjs +36 -0
  118. package/esm2022/core/pipes/enumerate.pipe.mjs +49 -0
  119. package/esm2022/core/pipes/getter.pipe.mjs +21 -0
  120. package/esm2022/core/pipes/json-path.pipe.mjs +25 -0
  121. package/esm2022/core/pipes/parametrize.pipe.mjs +86 -0
  122. package/esm2022/core/pipes/template.pipe.mjs +26 -0
  123. package/esm2022/core/provide.mjs +98 -0
  124. package/esm2022/core/reflect/type-enum-decorator.mjs +12 -0
  125. package/esm2022/core/reflect/type-enum-metadata.mjs +62 -0
  126. package/esm2022/core/registry/registry.model.mjs +2 -0
  127. package/esm2022/core/registry/type-registry.mjs +106 -0
  128. package/esm2022/core/router/route-builder.mjs +336 -0
  129. package/esm2022/core/router/router.model.mjs +2 -0
  130. package/esm2022/core/router/routes-builder.mjs +53 -0
  131. package/esm2022/core/rxjs/map-data-list-result-operator.mjs +19 -0
  132. package/esm2022/core/security/permission.guard.mjs +15 -0
  133. package/esm2022/core/security/permission.service.mjs +49 -0
  134. package/esm2022/core/security/permission.util.mjs +16 -0
  135. package/esm2022/core/security/permissions.model.mjs +93 -0
  136. package/esm2022/core/services/commons-configuration.service.mjs +174 -0
  137. package/esm2022/core/services/commons-init.service.mjs +111 -0
  138. package/esm2022/core/services/commons-router.service.mjs +180 -0
  139. package/esm2022/core/services/commons.service.mjs +390 -0
  140. package/esm2022/core/services/local-storage-config.service.mjs +29 -0
  141. package/esm2022/core/services/providers/commons-init.provider.mjs +4 -0
  142. package/esm2022/core/services/tokens/browser-storage.token.mjs +3 -0
  143. package/esm2022/core/services/tokens/commons-init.token.mjs +3 -0
  144. package/esm2022/core/services/tokens/log-publisher.token.mjs +3 -0
  145. package/esm2022/core/services/tokens/module-config.token.mjs +3 -0
  146. package/esm2022/core/styles/style-constants.mjs +11 -0
  147. package/esm2022/core/styles/style.model.mjs +20 -0
  148. package/esm2022/core/utils/date.util.mjs +136 -0
  149. package/esm2022/core/utils/i18n.util.mjs +137 -0
  150. package/esm2022/core/utils/object.util.mjs +147 -0
  151. package/esm2022/core/utils/route.util.mjs +60 -0
  152. package/esm2022/core/utils/string.util.mjs +59 -0
  153. package/esm2022/filter/descriptors/filter-lookup.descriptor.mjs +186 -0
  154. package/esm2022/filter/descriptors/filter.descriptor.mjs +197 -0
  155. package/esm2022/filter/index.mjs +6 -0
  156. package/esm2022/filter/mediusinc-mng-commons-filter.mjs +5 -0
  157. package/esm2022/filter/models/filter.model.mjs +15 -0
  158. package/esm2022/form/api/data-providers/lookup.data-provider.mjs +45 -0
  159. package/esm2022/form/api/descriptors/action-button.descriptor.mjs +68 -0
  160. package/esm2022/form/api/descriptors/button-style.builder.mjs +174 -0
  161. package/esm2022/form/api/index.mjs +8 -0
  162. package/esm2022/form/api/mediusinc-mng-commons-form-api.mjs +5 -0
  163. package/esm2022/form/api/models/trim.model.mjs +2 -0
  164. package/esm2022/form/components/autocomplete/autocomplete.component.mjs +404 -0
  165. package/esm2022/form/components/date-range/date-range.component.mjs +110 -0
  166. package/esm2022/form/components/dropdown/dropdown.component.mjs +213 -0
  167. package/esm2022/form/directives/input-trim.directive.mjs +55 -0
  168. package/esm2022/form/index.mjs +7 -0
  169. package/esm2022/form/mediusinc-mng-commons-form.mjs +5 -0
  170. package/esm2022/index.mjs +2 -74
  171. package/esm2022/model/descriptors/enum.descriptor.mjs +31 -0
  172. package/esm2022/model/descriptors/model.descriptor.mjs +78 -0
  173. package/esm2022/model/descriptors/type.descriptor.mjs +21 -0
  174. package/esm2022/model/index.mjs +11 -0
  175. package/esm2022/model/mediusinc-mng-commons-model.mjs +5 -0
  176. package/esm2022/model/pipes/enum.pipe.mjs +26 -0
  177. package/esm2022/model/pipes/i18n-property.pipe.mjs +19 -0
  178. package/esm2022/model/utils/i18n.util.mjs +51 -0
  179. package/esm2022/model/utils/model.util.mjs +73 -0
  180. package/esm2022/provide.mjs +6 -0
  181. package/esm2022/table/api/data-providers/table.data-provider.mjs +63 -0
  182. package/esm2022/table/api/descriptors/column.descriptor.mjs +359 -0
  183. package/esm2022/table/api/descriptors/sort.descriptor.mjs +45 -0
  184. package/esm2022/table/api/descriptors/table.descriptor.mjs +750 -0
  185. package/esm2022/table/api/helpers/class-attribute-converter.mjs +104 -0
  186. package/esm2022/table/api/index.mjs +16 -0
  187. package/esm2022/table/api/mediusinc-mng-commons-table-api.mjs +5 -0
  188. package/esm2022/table/api/models/class-table-attribute.model.mjs +2 -0
  189. package/esm2022/table/api/models/column-value.model.mjs +2 -0
  190. package/esm2022/table/api/models/column.model.mjs +21 -0
  191. package/esm2022/table/api/models/table-columns.model.mjs +2 -0
  192. package/esm2022/table/api/models/table-event.model.mjs +2 -0
  193. package/esm2022/table/api/models/table.model.mjs +22 -0
  194. package/esm2022/table/components/column-filter-full/column-filter-full.component.mjs +594 -0
  195. package/esm2022/table/components/column-value/column-value.component.mjs +88 -0
  196. package/esm2022/table/components/table/table.component.mjs +647 -0
  197. package/esm2022/table/helpers/notification.mjs +15 -0
  198. package/esm2022/table/helpers/table-layout-prefs.mjs +10 -0
  199. package/esm2022/table/index.mjs +13 -0
  200. package/esm2022/table/mediusinc-mng-commons-table.mjs +5 -0
  201. package/esm2022/table/models/column-preferences.model.mjs +2 -0
  202. package/esm2022/table/pipes/locale-default-row-class.pipe.mjs +27 -0
  203. package/esm2022/table/pipes/table-column-filter-class.pipe.mjs +25 -0
  204. package/esm2022/table/services/data-list.service.mjs +23 -0
  205. package/esm2022/tableview/action/components/action/action.component.mjs +323 -0
  206. package/esm2022/tableview/action/components/editor/action-editor.component.mjs +97 -0
  207. package/esm2022/tableview/action/components/editor/injector-context/action-editor-injector-context.component.mjs +398 -0
  208. package/esm2022/tableview/action/components/localization/data-language-dropdown.component.mjs +53 -0
  209. package/esm2022/tableview/action/components/route/action-route.component.mjs +152 -0
  210. package/esm2022/tableview/action/components/table/action-table.component.mjs +158 -0
  211. package/esm2022/tableview/action/guards/unsaved-changes.guard.mjs +4 -0
  212. package/esm2022/tableview/action/helpers/notification.mjs +17 -0
  213. package/esm2022/tableview/action/helpers/styles.mjs +32 -0
  214. package/esm2022/tableview/action/models/action-editor-dialog-data.model.mjs +2 -0
  215. package/esm2022/tableview/action/models/can-component-deactivate.model.mjs +2 -0
  216. package/esm2022/tableview/action/models/execution/action-context.model.mjs +56 -0
  217. package/esm2022/tableview/action/models/execution/action-instance-state.model.mjs +32 -0
  218. package/esm2022/tableview/action/models/execution/action-instance.model.mjs +170 -0
  219. package/esm2022/tableview/action/services/action-error-mapper.service.mjs +20 -0
  220. package/esm2022/tableview/action/services/action-executor.service.mjs +766 -0
  221. package/esm2022/tableview/action/services/component-action-executor.service.mjs +19 -0
  222. package/esm2022/tableview/action/services/data-provider-executor.service.mjs +26 -0
  223. package/esm2022/tableview/action/services/navigation.service.mjs +52 -0
  224. package/esm2022/tableview/action/services/providers/provide-action-executor.mjs +9 -0
  225. package/esm2022/tableview/action/services/providers/provide-view-container.mjs +17 -0
  226. package/esm2022/tableview/action/services/root-action-executor.service.mjs +18 -0
  227. package/esm2022/tableview/action/services/tokens/action-editor.token.mjs +3 -0
  228. package/esm2022/tableview/action/services/view-container.service.mjs +56 -0
  229. package/esm2022/tableview/action/utils/i18n.util.mjs +126 -0
  230. package/esm2022/tableview/api/action/descriptors/action-confirmation.descriptor.mjs +76 -0
  231. package/esm2022/tableview/api/action/descriptors/action-editor.descriptor.mjs +264 -0
  232. package/esm2022/tableview/api/action/descriptors/action-link.descriptor.mjs +89 -0
  233. package/esm2022/tableview/api/action/descriptors/action.descriptor.mjs +385 -0
  234. package/esm2022/tableview/api/action/helpers/data-provider-executors.mjs +80 -0
  235. package/esm2022/tableview/api/action/models/action-component.model.mjs +2 -0
  236. package/esm2022/tableview/api/action/models/action-descriptor.types.mjs +2 -0
  237. package/esm2022/tableview/api/action/models/action-editor.model.mjs +2 -0
  238. package/esm2022/tableview/api/action/models/action-error.model.mjs +14 -0
  239. package/esm2022/tableview/api/action/models/action.type.mjs +26 -0
  240. package/esm2022/tableview/api/action/models/execution/action-context-validation.model.mjs +2 -0
  241. package/esm2022/tableview/api/action/models/execution/action-context.model.mjs +2 -0
  242. package/esm2022/tableview/api/action/models/execution/action-execution-error.model.mjs +2 -0
  243. package/esm2022/tableview/api/action/models/execution/action-instance-state.model.mjs +32 -0
  244. package/esm2022/tableview/api/action/models/execution/action-instance.model.mjs +2 -0
  245. package/esm2022/tableview/api/action/models/execution/view-container.model.mjs +2 -0
  246. package/esm2022/tableview/api/action/models/tableview-action-default-categories.model.mjs +11 -0
  247. package/esm2022/tableview/api/action/services/data-provider-executor.service.mjs +28 -0
  248. package/esm2022/tableview/api/action/services/tokens/data-language-dropdown.token.mjs +3 -0
  249. package/esm2022/tableview/api/editor/data-providers/editor.data-provider.mjs +104 -0
  250. package/esm2022/tableview/api/editor/descriptors/editor.descriptor.mjs +626 -0
  251. package/esm2022/tableview/api/editor/descriptors/field-action.descriptor.mjs +49 -0
  252. package/esm2022/tableview/api/editor/descriptors/field-base.descriptor.mjs +288 -0
  253. package/esm2022/tableview/api/editor/descriptors/field-group.descriptor.mjs +97 -0
  254. package/esm2022/tableview/api/editor/descriptors/field-lookup.descriptor.mjs +213 -0
  255. package/esm2022/tableview/api/editor/descriptors/field-many.descriptor.mjs +153 -0
  256. package/esm2022/tableview/api/editor/descriptors/field-validation.descriptor.mjs +25 -0
  257. package/esm2022/tableview/api/editor/descriptors/field.descriptor.mjs +343 -0
  258. package/esm2022/tableview/api/editor/helpers/class-attribute-converter.mjs +85 -0
  259. package/esm2022/tableview/api/editor/helpers/field-validators.mjs +33 -0
  260. package/esm2022/tableview/api/editor/models/class-tableview-attribute.model.mjs +2 -0
  261. package/esm2022/tableview/api/editor/models/editor-fields.model.mjs +2 -0
  262. package/esm2022/tableview/api/editor/models/editor.model.mjs +9 -0
  263. package/esm2022/tableview/api/editor/models/field-action-context.model.mjs +2 -0
  264. package/esm2022/tableview/api/editor/models/field.model.mjs +56 -0
  265. package/esm2022/tableview/api/editor/models/form-editor.event.mjs +27 -0
  266. package/esm2022/tableview/api/editor/models/form-editor.interface.mjs +2 -0
  267. package/esm2022/tableview/api/editor/models/formly-custom-field.model.mjs +69 -0
  268. package/esm2022/tableview/api/editor/models/formly-field.model.mjs +2 -0
  269. package/esm2022/tableview/api/editor/models/radio.model.mjs +2 -0
  270. package/esm2022/tableview/api/index.mjs +64 -0
  271. package/esm2022/tableview/api/mediusinc-mng-commons-tableview-api.mjs +5 -0
  272. package/esm2022/tableview/api/tableview/data-providers/tableview.data-provider.mjs +105 -0
  273. package/esm2022/tableview/api/tableview/descriptors/tableview.descriptor.mjs +672 -0
  274. package/esm2022/tableview/api/tableview/helpers/class-attribute-converter.mjs +34 -0
  275. package/esm2022/tableview/api/tableview/helpers/files-export.mjs +34 -0
  276. package/esm2022/tableview/api/tableview/helpers/tableview-create.mjs +24 -0
  277. package/esm2022/tableview/api/tableview/helpers/tableview-default-actions.mjs +240 -0
  278. package/esm2022/tableview/api/tableview/helpers/tableview-input-builder.mjs +162 -0
  279. package/esm2022/tableview/api/tableview/models/class-tableview-attribute.model.mjs +2 -0
  280. package/esm2022/tableview/api/tableview/models/tableview-input.model.mjs +2 -0
  281. package/esm2022/tableview/api/tableview/models/tableview-route.model.mjs +2 -0
  282. package/esm2022/tableview/editor/components/editor/form-editor.component.mjs +285 -0
  283. package/esm2022/tableview/editor/components/formly/fields/formly-field-action/formly-field-action.component.mjs +61 -0
  284. package/esm2022/tableview/editor/components/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +54 -0
  285. package/esm2022/tableview/editor/components/formly/fields/formly-field-custom/formly-field-custom.component.mjs +39 -0
  286. package/esm2022/tableview/editor/components/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +49 -0
  287. package/esm2022/tableview/editor/components/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +27 -0
  288. package/esm2022/tableview/editor/components/formly/fields/formly-field-input/formly-field-input.component.mjs +220 -0
  289. package/esm2022/tableview/editor/components/formly/fields/formly-field-label/formly-field-label.component.mjs +24 -0
  290. package/esm2022/tableview/editor/components/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +215 -0
  291. package/esm2022/tableview/editor/components/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +217 -0
  292. package/esm2022/tableview/editor/components/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +196 -0
  293. package/esm2022/tableview/editor/components/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +18 -0
  294. package/esm2022/tableview/editor/components/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.mjs +33 -0
  295. package/esm2022/tableview/editor/components/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +30 -0
  296. package/esm2022/tableview/editor/helpers/formly-config.mjs +260 -0
  297. package/esm2022/tableview/editor/helpers/notification.mjs +11 -0
  298. package/esm2022/tableview/editor/models/formly-config.model.mjs +2 -0
  299. package/esm2022/tableview/editor/services/formly-config.provider.mjs +31 -0
  300. package/esm2022/tableview/editor/utils/editor-formly.util.mjs +337 -0
  301. package/esm2022/tableview/index.mjs +64 -0
  302. package/esm2022/tableview/mediusinc-mng-commons-tableview.mjs +5 -0
  303. package/esm2022/tableview/provide.mjs +61 -0
  304. package/esm2022/tableview/tableview/components/route/tableview-route.component.mjs +15 -0
  305. package/esm2022/tableview/tableview/components/tableview/tableview.component.mjs +84 -0
  306. package/esm2022/tableview/tableview/router/tableview-route-builder.mjs +201 -0
  307. package/esm2022/tableview/tableview/services/tableview-feature-config.token.mjs +3 -0
  308. package/fesm2022/mediusinc-mng-commons-core.mjs +3904 -0
  309. package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -0
  310. package/fesm2022/mediusinc-mng-commons-filter.mjs +403 -0
  311. package/fesm2022/mediusinc-mng-commons-filter.mjs.map +1 -0
  312. package/fesm2022/mediusinc-mng-commons-form-api.mjs +294 -0
  313. package/fesm2022/mediusinc-mng-commons-form-api.mjs.map +1 -0
  314. package/fesm2022/mediusinc-mng-commons-form.mjs +770 -0
  315. package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -0
  316. package/fesm2022/mediusinc-mng-commons-model.mjs +300 -0
  317. package/fesm2022/mediusinc-mng-commons-model.mjs.map +1 -0
  318. package/fesm2022/mediusinc-mng-commons-table-api.mjs +1363 -0
  319. package/fesm2022/mediusinc-mng-commons-table-api.mjs.map +1 -0
  320. package/fesm2022/mediusinc-mng-commons-table.mjs +1393 -0
  321. package/fesm2022/mediusinc-mng-commons-table.mjs.map +1 -0
  322. package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +4372 -0
  323. package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -0
  324. package/fesm2022/mediusinc-mng-commons-tableview.mjs +4756 -0
  325. package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -0
  326. package/fesm2022/mediusinc-mng-commons.mjs +5 -18605
  327. package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
  328. package/filter/README.md +9 -0
  329. package/filter/descriptors/filter-lookup.descriptor.d.ts +67 -0
  330. package/filter/descriptors/filter.descriptor.d.ts +67 -0
  331. package/filter/index.d.ts +3 -0
  332. package/form/README.md +8 -0
  333. package/form/api/README.md +7 -0
  334. package/form/api/data-providers/lookup.data-provider.d.ts +19 -0
  335. package/form/api/descriptors/action-button.descriptor.d.ts +25 -0
  336. package/form/api/descriptors/button-style.builder.d.ts +68 -0
  337. package/form/api/index.d.ts +4 -0
  338. package/form/components/autocomplete/autocomplete.component.d.ts +82 -0
  339. package/form/components/date-range/date-range.component.d.ts +28 -0
  340. package/form/components/dropdown/dropdown.component.d.ts +55 -0
  341. package/form/directives/input-trim.directive.d.ts +14 -0
  342. package/form/index.d.ts +4 -0
  343. package/index.d.ts +1 -50
  344. package/model/README.md +7 -0
  345. package/model/descriptors/enum.descriptor.d.ts +14 -0
  346. package/model/descriptors/model.descriptor.d.ts +31 -0
  347. package/model/descriptors/type.descriptor.d.ts +10 -0
  348. package/model/index.d.ts +7 -0
  349. package/model/pipes/enum.pipe.d.ts +8 -0
  350. package/model/pipes/i18n-property.pipe.d.ts +8 -0
  351. package/model/utils/i18n.util.d.ts +15 -0
  352. package/model/utils/model.util.d.ts +8 -0
  353. package/package.json +55 -19
  354. package/provide.d.ts +7 -0
  355. package/table/README.md +11 -0
  356. package/table/api/README.md +9 -0
  357. package/table/api/data-providers/table.data-provider.d.ts +38 -0
  358. package/table/api/descriptors/column.descriptor.d.ts +148 -0
  359. package/table/api/descriptors/table.descriptor.d.ts +271 -0
  360. package/table/api/helpers/class-attribute-converter.d.ts +22 -0
  361. package/table/api/index.d.ts +11 -0
  362. package/table/api/models/class-table-attribute.model.d.ts +8 -0
  363. package/table/api/models/column-value.model.d.ts +7 -0
  364. package/table/api/models/table-columns.model.d.ts +42 -0
  365. package/table/api/models/table-event.model.d.ts +17 -0
  366. package/table/api/models/table.model.d.ts +35 -0
  367. package/table/components/column-filter-full/column-filter-full.component.d.ts +100 -0
  368. package/table/components/column-value/column-value.component.d.ts +33 -0
  369. package/table/components/table/table.component.d.ts +114 -0
  370. package/table/helpers/notification.d.ts +4 -0
  371. package/table/helpers/table-layout-prefs.d.ts +7 -0
  372. package/table/index.d.ts +8 -0
  373. package/table/models/column-preferences.model.d.ts +12 -0
  374. package/table/pipes/locale-default-row-class.pipe.d.ts +10 -0
  375. package/table/pipes/table-column-filter-class.pipe.d.ts +8 -0
  376. package/table/services/data-list.service.d.ts +16 -0
  377. package/tableview/README.md +13 -0
  378. package/tableview/action/components/action/action.component.d.ts +73 -0
  379. package/tableview/action/components/editor/action-editor.component.d.ts +31 -0
  380. package/tableview/action/components/editor/injector-context/action-editor-injector-context.component.d.ts +76 -0
  381. package/tableview/action/components/localization/data-language-dropdown.component.d.ts +22 -0
  382. package/tableview/action/components/route/action-route.component.d.ts +31 -0
  383. package/tableview/action/components/table/action-table.component.d.ts +48 -0
  384. package/tableview/action/guards/unsaved-changes.guard.d.ts +3 -0
  385. package/tableview/action/helpers/notification.d.ts +6 -0
  386. package/tableview/action/helpers/styles.d.ts +5 -0
  387. package/tableview/action/models/action-editor-dialog-data.model.d.ts +11 -0
  388. package/tableview/action/models/execution/action-context.model.d.ts +36 -0
  389. package/tableview/action/models/execution/action-instance-state.model.d.ts +30 -0
  390. package/tableview/action/models/execution/action-instance.model.d.ts +56 -0
  391. package/tableview/action/services/action-error-mapper.service.d.ts +18 -0
  392. package/tableview/action/services/action-executor.service.d.ts +175 -0
  393. package/tableview/action/services/component-action-executor.service.d.ts +9 -0
  394. package/tableview/action/services/data-provider-executor.service.d.ts +23 -0
  395. package/tableview/action/services/navigation.service.d.ts +15 -0
  396. package/tableview/action/services/root-action-executor.service.d.ts +9 -0
  397. package/tableview/action/services/tokens/action-editor.token.d.ts +2 -0
  398. package/tableview/action/services/view-container.service.d.ts +30 -0
  399. package/tableview/action/utils/i18n.util.d.ts +48 -0
  400. package/tableview/api/README.md +11 -0
  401. package/tableview/api/action/descriptors/action-confirmation.descriptor.d.ts +36 -0
  402. package/tableview/api/action/descriptors/action-editor.descriptor.d.ts +117 -0
  403. package/tableview/api/action/descriptors/action-link.descriptor.d.ts +34 -0
  404. package/tableview/api/action/descriptors/action.descriptor.d.ts +151 -0
  405. package/tableview/api/action/helpers/data-provider-executors.d.ts +18 -0
  406. package/tableview/api/action/models/action-component.model.d.ts +12 -0
  407. package/tableview/api/action/models/action-descriptor.types.d.ts +5 -0
  408. package/tableview/api/action/models/action-editor.model.d.ts +4 -0
  409. package/tableview/api/action/models/action-error.model.d.ts +14 -0
  410. package/tableview/api/action/models/execution/action-context-validation.model.d.ts +11 -0
  411. package/tableview/api/action/models/execution/action-context.model.d.ts +24 -0
  412. package/tableview/api/action/models/execution/action-execution-error.model.d.ts +4 -0
  413. package/tableview/api/action/models/execution/action-instance-state.model.d.ts +30 -0
  414. package/tableview/api/action/models/execution/action-instance.model.d.ts +31 -0
  415. package/tableview/api/action/models/execution/view-container.model.d.ts +38 -0
  416. package/tableview/api/action/services/data-provider-executor.service.d.ts +38 -0
  417. package/tableview/api/action/services/tokens/data-language-dropdown.token.d.ts +2 -0
  418. package/tableview/api/editor/data-providers/editor.data-provider.d.ts +87 -0
  419. package/tableview/api/editor/descriptors/editor.descriptor.d.ts +366 -0
  420. package/tableview/api/editor/descriptors/field-action.descriptor.d.ts +22 -0
  421. package/tableview/api/editor/descriptors/field-base.descriptor.d.ts +120 -0
  422. package/tableview/api/editor/descriptors/field-group.descriptor.d.ts +41 -0
  423. package/tableview/api/editor/descriptors/field-lookup.descriptor.d.ts +80 -0
  424. package/tableview/api/editor/descriptors/field-many.descriptor.d.ts +61 -0
  425. package/tableview/api/editor/descriptors/field-validation.descriptor.d.ts +19 -0
  426. package/tableview/api/editor/descriptors/field.descriptor.d.ts +168 -0
  427. package/tableview/api/editor/helpers/class-attribute-converter.d.ts +21 -0
  428. package/tableview/api/editor/helpers/field-validators.d.ts +3 -0
  429. package/tableview/api/editor/models/class-tableview-attribute.model.d.ts +7 -0
  430. package/tableview/api/editor/models/editor-fields.model.d.ts +34 -0
  431. package/tableview/api/editor/models/editor.model.d.ts +7 -0
  432. package/tableview/api/editor/models/field-action-context.model.d.ts +24 -0
  433. package/tableview/api/editor/models/field.model.d.ts +66 -0
  434. package/tableview/api/editor/models/form-editor.event.d.ts +55 -0
  435. package/tableview/api/editor/models/formly-custom-field.model.d.ts +27 -0
  436. package/tableview/api/editor/models/formly-field.model.d.ts +18 -0
  437. package/tableview/api/index.d.ts +50 -0
  438. package/tableview/api/tableview/data-providers/tableview.data-provider.d.ts +43 -0
  439. package/tableview/api/tableview/descriptors/tableview.descriptor.d.ts +296 -0
  440. package/tableview/api/tableview/helpers/class-attribute-converter.d.ts +8 -0
  441. package/tableview/api/tableview/helpers/files-export.d.ts +4 -0
  442. package/tableview/api/tableview/helpers/tableview-create.d.ts +16 -0
  443. package/tableview/api/tableview/helpers/tableview-default-actions.d.ts +38 -0
  444. package/tableview/api/tableview/helpers/tableview-input-builder.d.ts +114 -0
  445. package/tableview/api/tableview/models/class-tableview-attribute.model.d.ts +3 -0
  446. package/tableview/api/tableview/models/tableview-input.model.d.ts +8 -0
  447. package/tableview/api/tableview/models/tableview-route.model.d.ts +20 -0
  448. package/tableview/editor/components/editor/form-editor.component.d.ts +50 -0
  449. package/tableview/editor/components/formly/fields/formly-field-action/formly-field-action.component.d.ts +14 -0
  450. package/tableview/editor/components/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +15 -0
  451. package/tableview/editor/components/formly/fields/formly-field-custom/formly-field-custom.component.d.ts +11 -0
  452. package/tableview/editor/components/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +14 -0
  453. package/tableview/editor/components/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +12 -0
  454. package/tableview/editor/components/formly/fields/formly-field-input/formly-field-input.component.d.ts +37 -0
  455. package/tableview/editor/components/formly/fields/formly-field-label/formly-field-label.component.d.ts +11 -0
  456. package/tableview/editor/components/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +43 -0
  457. package/tableview/editor/components/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +23 -0
  458. package/tableview/editor/components/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +41 -0
  459. package/tableview/editor/components/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +7 -0
  460. package/tableview/editor/components/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.d.ts +11 -0
  461. package/tableview/editor/components/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +9 -0
  462. package/tableview/editor/helpers/formly-config.d.ts +18 -0
  463. package/tableview/editor/helpers/notification.d.ts +4 -0
  464. package/tableview/editor/models/formly-config.model.d.ts +5 -0
  465. package/tableview/editor/services/formly-config.provider.d.ts +5 -0
  466. package/tableview/editor/utils/editor-formly.util.d.ts +12 -0
  467. package/tableview/index.d.ts +48 -0
  468. package/tableview/provide.d.ts +8 -0
  469. package/tableview/tableview/components/route/tableview-route.component.d.ts +7 -0
  470. package/tableview/tableview/components/tableview/tableview.component.d.ts +26 -0
  471. package/tableview/tableview/router/tableview-route-builder.d.ts +42 -0
  472. package/tableview/tableview/services/tableview-feature-config.token.d.ts +18 -0
  473. package/assets/fonts/poppins-v20-latin-500.woff +0 -0
  474. package/assets/fonts/poppins-v20-latin-500.woff2 +0 -0
  475. package/assets/fonts/poppins-v20-latin-600.woff +0 -0
  476. package/assets/fonts/poppins-v20-latin-600.woff2 +0 -0
  477. package/assets/fonts/poppins-v20-latin-700.woff +0 -0
  478. package/assets/fonts/poppins-v20-latin-700.woff2 +0 -0
  479. package/assets/fonts/poppins-v20-latin-regular.woff +0 -0
  480. package/assets/fonts/poppins-v20-latin-regular.woff2 +0 -0
  481. package/assets/images/effect-ondark.png +0 -0
  482. package/assets/images/effect-ondark.svg +0 -38
  483. package/assets/images/effect-ondark@2x.png +0 -0
  484. package/assets/images/effect-onlight.png +0 -0
  485. package/assets/images/effect-onlight.svg +0 -38
  486. package/assets/images/effect-onlight@2x.png +0 -0
  487. package/assets/images/pages/exception-ondark.png +0 -0
  488. package/assets/images/pages/exception-onlight.png +0 -0
  489. package/assets/images/pages/login-ondark.png +0 -0
  490. package/assets/images/pages/login-onlight.png +0 -0
  491. package/data-api/README.md +0 -3
  492. package/data-api/class-dto/README.md +0 -3
  493. package/data-api/class-dto/helpers/tableview-crud-create.d.ts +0 -40
  494. package/data-api/class-dto/index.d.ts +0 -7
  495. package/data-api/class-dto/models/query-result.model.d.ts +0 -13
  496. package/data-api/class-dto/obsolete/README.md +0 -3
  497. package/data-api/class-dto/obsolete/helpers/query-param-convert.d.ts +0 -23
  498. package/data-api/class-dto/obsolete/helpers/tableview-crud-create.d.ts +0 -22
  499. package/data-api/class-dto/obsolete/index.d.ts +0 -14
  500. package/data-api/class-dto/obsolete/models/builders/query-param.builder.d.ts +0 -36
  501. package/data-api/class-dto/obsolete/models/filter-match-type.model.d.ts +0 -25
  502. package/data-api/class-dto/obsolete/models/filter-param.model.d.ts +0 -23
  503. package/data-api/class-dto/obsolete/models/query-mode.model.d.ts +0 -16
  504. package/data-api/class-dto/obsolete/models/query-param.model.d.ts +0 -31
  505. package/data-api/class-dto/obsolete/models/query-result.model.d.ts +0 -24
  506. package/data-api/class-dto/obsolete/provide.d.ts +0 -9
  507. package/data-api/class-dto/obsolete/services/api.abstract.service.d.ts +0 -36
  508. package/data-api/class-dto/obsolete/services/crud-api.abstract.service.d.ts +0 -37
  509. package/data-api/class-dto/obsolete/services/get-all-api.abstract.service.d.ts +0 -30
  510. package/data-api/class-dto/obsolete/tableview/tableview-crud.data-provider.d.ts +0 -28
  511. package/data-api/class-dto/obsolete/utils/query-param-map.util.d.ts +0 -22
  512. package/data-api/class-dto/serder/object-serializer.d.ts +0 -26
  513. package/data-api/class-dto/services/api.abstract.service.d.ts +0 -22
  514. package/data-api/class-dto/services/crud-api.abstract.service.d.ts +0 -25
  515. package/data-api/class-dto/services/get-all-api.abstract.service.d.ts +0 -14
  516. package/data-api/class-dto/tableview/tableview-crud.data-provider.d.ts +0 -17
  517. package/data-api/helpers/get-all-params.d.ts +0 -69
  518. package/data-api/helpers/tableview-get-all-params-create.d.ts +0 -14
  519. package/data-api/index.d.ts +0 -5
  520. package/data-api/models/request-params.model.d.ts +0 -61
  521. package/data-api/rxjs/map-to-data-list.operator.d.ts +0 -9
  522. package/data-api/types/extract-get-all-params.type.d.ts +0 -14
  523. package/esm2022/data-api/class-dto/helpers/tableview-crud-create.mjs +0 -40
  524. package/esm2022/data-api/class-dto/index.mjs +0 -13
  525. package/esm2022/data-api/class-dto/mediusinc-mng-commons-data-api-class-dto.mjs +0 -5
  526. package/esm2022/data-api/class-dto/models/query-result.model.mjs +0 -24
  527. package/esm2022/data-api/class-dto/obsolete/helpers/query-param-convert.mjs +0 -103
  528. package/esm2022/data-api/class-dto/obsolete/helpers/tableview-crud-create.mjs +0 -21
  529. package/esm2022/data-api/class-dto/obsolete/index.mjs +0 -21
  530. package/esm2022/data-api/class-dto/obsolete/mediusinc-mng-commons-data-api-class-dto-obsolete.mjs +0 -5
  531. package/esm2022/data-api/class-dto/obsolete/models/builders/query-param.builder.mjs +0 -83
  532. package/esm2022/data-api/class-dto/obsolete/models/filter-match-type.model.mjs +0 -27
  533. package/esm2022/data-api/class-dto/obsolete/models/filter-param.model.mjs +0 -33
  534. package/esm2022/data-api/class-dto/obsolete/models/query-mode.model.mjs +0 -18
  535. package/esm2022/data-api/class-dto/obsolete/models/query-param.model.mjs +0 -68
  536. package/esm2022/data-api/class-dto/obsolete/models/query-result.model.mjs +0 -24
  537. package/esm2022/data-api/class-dto/obsolete/provide.mjs +0 -40
  538. package/esm2022/data-api/class-dto/obsolete/services/api.abstract.service.mjs +0 -70
  539. package/esm2022/data-api/class-dto/obsolete/services/crud-api.abstract.service.mjs +0 -83
  540. package/esm2022/data-api/class-dto/obsolete/services/get-all-api.abstract.service.mjs +0 -38
  541. package/esm2022/data-api/class-dto/obsolete/tableview/tableview-crud.data-provider.mjs +0 -51
  542. package/esm2022/data-api/class-dto/obsolete/utils/query-param-map.util.mjs +0 -57
  543. package/esm2022/data-api/class-dto/serder/object-serializer.mjs +0 -184
  544. package/esm2022/data-api/class-dto/services/api.abstract.service.mjs +0 -55
  545. package/esm2022/data-api/class-dto/services/crud-api.abstract.service.mjs +0 -82
  546. package/esm2022/data-api/class-dto/services/get-all-api.abstract.service.mjs +0 -49
  547. package/esm2022/data-api/class-dto/tableview/tableview-crud.data-provider.mjs +0 -49
  548. package/esm2022/data-api/helpers/get-all-params.mjs +0 -180
  549. package/esm2022/data-api/helpers/tableview-get-all-params-create.mjs +0 -18
  550. package/esm2022/data-api/index.mjs +0 -10
  551. package/esm2022/data-api/mediusinc-mng-commons-data-api.mjs +0 -5
  552. package/esm2022/data-api/models/request-params.model.mjs +0 -2
  553. package/esm2022/data-api/rxjs/map-to-data-list.operator.mjs +0 -19
  554. package/esm2022/data-api/types/extract-get-all-params.type.mjs +0 -2
  555. package/esm2022/lib/components/action/action.component.mjs +0 -314
  556. package/esm2022/lib/components/action/editor/action-editor.component.mjs +0 -98
  557. package/esm2022/lib/components/action/editor/injector-context/action-editor-injector-context.component.mjs +0 -394
  558. package/esm2022/lib/components/action/index.mjs +0 -6
  559. package/esm2022/lib/components/action/localization/data-language-dropdown.component.mjs +0 -53
  560. package/esm2022/lib/components/action/models/action-component.model.mjs +0 -2
  561. package/esm2022/lib/components/action/models/action-execution.model.mjs +0 -323
  562. package/esm2022/lib/components/action/models/index.mjs +0 -4
  563. package/esm2022/lib/components/action/models/tableview-action-default-categories.model.mjs +0 -11
  564. package/esm2022/lib/components/action/route/action-route.component.mjs +0 -141
  565. package/esm2022/lib/components/action/table/action-table.component.mjs +0 -152
  566. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +0 -408
  567. package/esm2022/lib/components/form/date-range/date-range.component.mjs +0 -110
  568. package/esm2022/lib/components/form/dropdown/dropdown.component.mjs +0 -210
  569. package/esm2022/lib/components/form/editor/form-editor.component.mjs +0 -281
  570. package/esm2022/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.mjs +0 -61
  571. package/esm2022/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +0 -54
  572. package/esm2022/lib/components/form/formly/fields/formly-field-custom/formly-custom-field-base.model.mjs +0 -69
  573. package/esm2022/lib/components/form/formly/fields/formly-field-custom/formly-field-custom.component.mjs +0 -39
  574. package/esm2022/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +0 -49
  575. package/esm2022/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +0 -27
  576. package/esm2022/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +0 -220
  577. package/esm2022/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.mjs +0 -24
  578. package/esm2022/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +0 -219
  579. package/esm2022/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +0 -221
  580. package/esm2022/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +0 -212
  581. package/esm2022/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +0 -18
  582. package/esm2022/lib/components/form/formly/fields/index.mjs +0 -13
  583. package/esm2022/lib/components/form/formly/formly.config.mjs +0 -250
  584. package/esm2022/lib/components/form/formly/index.mjs +0 -2
  585. package/esm2022/lib/components/form/formly/models/formly-config.model.mjs +0 -2
  586. package/esm2022/lib/components/form/formly/models/formly-field.model.mjs +0 -2
  587. package/esm2022/lib/components/form/formly/models/index.mjs +0 -3
  588. package/esm2022/lib/components/form/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.mjs +0 -33
  589. package/esm2022/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +0 -31
  590. package/esm2022/lib/components/form/formly/wrappers/index.mjs +0 -3
  591. package/esm2022/lib/components/form/index.mjs +0 -5
  592. package/esm2022/lib/components/form/models/field-action-context.model.mjs +0 -2
  593. package/esm2022/lib/components/form/models/form-editor.event.mjs +0 -49
  594. package/esm2022/lib/components/form/models/form-editor.interface.mjs +0 -2
  595. package/esm2022/lib/components/form/models/index.mjs +0 -4
  596. package/esm2022/lib/components/layout/breadcrumb.component.mjs +0 -34
  597. package/esm2022/lib/components/layout/footer.component.mjs +0 -19
  598. package/esm2022/lib/components/layout/index.mjs +0 -9
  599. package/esm2022/lib/components/layout/main-layout.component.mjs +0 -53
  600. package/esm2022/lib/components/layout/menu-item.component.mjs +0 -296
  601. package/esm2022/lib/components/layout/menu.component.mjs +0 -34
  602. package/esm2022/lib/components/layout/services/index.mjs +0 -2
  603. package/esm2022/lib/components/layout/services/main-layout.component.service.mjs +0 -196
  604. package/esm2022/lib/components/layout/topbar-user.component.mjs +0 -46
  605. package/esm2022/lib/components/layout/topbar.component.mjs +0 -66
  606. package/esm2022/lib/components/layout/version.component.mjs +0 -60
  607. package/esm2022/lib/components/layoutV2/breadcrumb.component.mjs +0 -30
  608. package/esm2022/lib/components/layoutV2/footer.component.mjs +0 -29
  609. package/esm2022/lib/components/layoutV2/index.mjs +0 -8
  610. package/esm2022/lib/components/layoutV2/main-layout.component.mjs +0 -95
  611. package/esm2022/lib/components/layoutV2/menu-item.component.mjs +0 -275
  612. package/esm2022/lib/components/layoutV2/menu.component.mjs +0 -39
  613. package/esm2022/lib/components/layoutV2/model/index.mjs +0 -3
  614. package/esm2022/lib/components/layoutV2/model/layout-state.model.mjs +0 -2
  615. package/esm2022/lib/components/layoutV2/model/menu.model.mjs +0 -2
  616. package/esm2022/lib/components/layoutV2/services/index.mjs +0 -3
  617. package/esm2022/lib/components/layoutV2/services/main-layout.component.service.mjs +0 -71
  618. package/esm2022/lib/components/layoutV2/services/menu.service.mjs +0 -122
  619. package/esm2022/lib/components/layoutV2/sidebar.component.mjs +0 -62
  620. package/esm2022/lib/components/layoutV2/topbar-user.component.mjs +0 -40
  621. package/esm2022/lib/components/layoutV2/topbar.component.mjs +0 -69
  622. package/esm2022/lib/components/layoutV2/version.component.mjs +0 -63
  623. package/esm2022/lib/components/notification/notification-wrapper.component.mjs +0 -50
  624. package/esm2022/lib/components/pages/error/error.page.component.mjs +0 -21
  625. package/esm2022/lib/components/pages/index.mjs +0 -3
  626. package/esm2022/lib/components/pages/not-found/not-found.page.component.mjs +0 -21
  627. package/esm2022/lib/components/table/column-filter-full/column-filter-full.component.mjs +0 -597
  628. package/esm2022/lib/components/table/column-value/column-value.component.mjs +0 -90
  629. package/esm2022/lib/components/table/models/table.event.mjs +0 -16
  630. package/esm2022/lib/components/table/models/table.interface.mjs +0 -2
  631. package/esm2022/lib/components/table/table-column-filter-class/table-column-filter-class.pipe.mjs +0 -25
  632. package/esm2022/lib/components/table/table.component.mjs +0 -643
  633. package/esm2022/lib/components/tableview/actions/tableview-default-actions.mjs +0 -215
  634. package/esm2022/lib/components/tableview/builders/tableview-builder.mjs +0 -162
  635. package/esm2022/lib/components/tableview/helpers/tableview-create.mjs +0 -24
  636. package/esm2022/lib/components/tableview/index.mjs +0 -7
  637. package/esm2022/lib/components/tableview/models/tableview.model.mjs +0 -2
  638. package/esm2022/lib/components/tableview/route/tableview-route.component.mjs +0 -15
  639. package/esm2022/lib/components/tableview/tableview.component.mjs +0 -82
  640. package/esm2022/lib/data-providers/base.data-provider.mjs +0 -48
  641. package/esm2022/lib/data-providers/editor.data-provider.mjs +0 -105
  642. package/esm2022/lib/data-providers/index.mjs +0 -6
  643. package/esm2022/lib/data-providers/lookup.data-provider.mjs +0 -45
  644. package/esm2022/lib/data-providers/table.data-provider.mjs +0 -64
  645. package/esm2022/lib/data-providers/tableview.data-provider.mjs +0 -105
  646. package/esm2022/lib/descriptors/action/action-button.descriptor.mjs +0 -68
  647. package/esm2022/lib/descriptors/action/action-confirmation.descriptor.mjs +0 -77
  648. package/esm2022/lib/descriptors/action/action-editor.descriptor.mjs +0 -266
  649. package/esm2022/lib/descriptors/action/action-link.descriptor.mjs +0 -89
  650. package/esm2022/lib/descriptors/action/action.descriptor.mjs +0 -383
  651. package/esm2022/lib/descriptors/action/index.mjs +0 -6
  652. package/esm2022/lib/descriptors/editor/editor.descriptor.mjs +0 -510
  653. package/esm2022/lib/descriptors/editor/field-action.descriptor.mjs +0 -50
  654. package/esm2022/lib/descriptors/editor/field-base.descriptor.mjs +0 -285
  655. package/esm2022/lib/descriptors/editor/field-group.descriptor.mjs +0 -97
  656. package/esm2022/lib/descriptors/editor/field-lookup.descriptor.mjs +0 -212
  657. package/esm2022/lib/descriptors/editor/field-many.descriptor.mjs +0 -153
  658. package/esm2022/lib/descriptors/editor/field-validation.descriptor.mjs +0 -25
  659. package/esm2022/lib/descriptors/editor/field.descriptor.mjs +0 -343
  660. package/esm2022/lib/descriptors/editor/index.mjs +0 -9
  661. package/esm2022/lib/descriptors/editor/internal/editor-fields.model.mjs +0 -2
  662. package/esm2022/lib/descriptors/editor/internal/editor.model.mjs +0 -2
  663. package/esm2022/lib/descriptors/filter/filter-lookup.descriptor.mjs +0 -186
  664. package/esm2022/lib/descriptors/filter/filter.descriptor.mjs +0 -198
  665. package/esm2022/lib/descriptors/filter/index.mjs +0 -3
  666. package/esm2022/lib/descriptors/interfaces/field-config.interface.mjs +0 -2
  667. package/esm2022/lib/descriptors/interfaces/index.mjs +0 -3
  668. package/esm2022/lib/descriptors/interfaces/lookup-descriptor.interface.mjs +0 -2
  669. package/esm2022/lib/descriptors/model/enum.descriptor.mjs +0 -31
  670. package/esm2022/lib/descriptors/model/index.mjs +0 -4
  671. package/esm2022/lib/descriptors/model/model.descriptor.mjs +0 -79
  672. package/esm2022/lib/descriptors/model/type.descriptor.mjs +0 -11
  673. package/esm2022/lib/descriptors/table/column.descriptor.mjs +0 -359
  674. package/esm2022/lib/descriptors/table/index.mjs +0 -4
  675. package/esm2022/lib/descriptors/table/internal/table-columns.model.mjs +0 -2
  676. package/esm2022/lib/descriptors/table/internal/table.model.mjs +0 -2
  677. package/esm2022/lib/descriptors/table/sort.descriptor.mjs +0 -45
  678. package/esm2022/lib/descriptors/table/table.descriptor.mjs +0 -751
  679. package/esm2022/lib/descriptors/tableview/index.mjs +0 -2
  680. package/esm2022/lib/descriptors/tableview/internal/tableview.model.mjs +0 -2
  681. package/esm2022/lib/descriptors/tableview/tableview.descriptor.mjs +0 -558
  682. package/esm2022/lib/descriptors/types/action.type.mjs +0 -26
  683. package/esm2022/lib/descriptors/types/column.type.mjs +0 -21
  684. package/esm2022/lib/descriptors/types/editor.type.mjs +0 -8
  685. package/esm2022/lib/descriptors/types/field.type.mjs +0 -56
  686. package/esm2022/lib/descriptors/types/filter.type.mjs +0 -15
  687. package/esm2022/lib/descriptors/types/index.mjs +0 -8
  688. package/esm2022/lib/descriptors/types/table.type.mjs +0 -22
  689. package/esm2022/lib/descriptors/types/trim.type.mjs +0 -2
  690. package/esm2022/lib/directives/component.directive.mjs +0 -66
  691. package/esm2022/lib/directives/dialog-keydown-handler.directive.mjs +0 -49
  692. package/esm2022/lib/directives/index.mjs +0 -5
  693. package/esm2022/lib/directives/input-trim.directive.mjs +0 -55
  694. package/esm2022/lib/directives/template.directive.mjs +0 -29
  695. package/esm2022/lib/error/error.handler.mjs +0 -20
  696. package/esm2022/lib/error/index.mjs +0 -2
  697. package/esm2022/lib/guards/index.mjs +0 -2
  698. package/esm2022/lib/guards/unsaved-changes.guard.mjs +0 -4
  699. package/esm2022/lib/helpers/coercion.mjs +0 -52
  700. package/esm2022/lib/helpers/data-provider-executors.mjs +0 -80
  701. package/esm2022/lib/models/action-editor.model.mjs +0 -2
  702. package/esm2022/lib/models/can-component-deactivate.model.mjs +0 -2
  703. package/esm2022/lib/models/class.model.mjs +0 -2
  704. package/esm2022/lib/models/column-value.model.mjs +0 -2
  705. package/esm2022/lib/models/common-init-event-enum.model.mjs +0 -11
  706. package/esm2022/lib/models/config.model.mjs +0 -2
  707. package/esm2022/lib/models/data-list.model.mjs +0 -2
  708. package/esm2022/lib/models/enum.model.mjs +0 -2
  709. package/esm2022/lib/models/error.model.mjs +0 -44
  710. package/esm2022/lib/models/filter-match.model.mjs +0 -105
  711. package/esm2022/lib/models/index.mjs +0 -20
  712. package/esm2022/lib/models/layout-config.model.mjs +0 -2
  713. package/esm2022/lib/models/log.model.mjs +0 -10
  714. package/esm2022/lib/models/menu.model.mjs +0 -2
  715. package/esm2022/lib/models/radio.model.mjs +0 -2
  716. package/esm2022/lib/models/tableview-attr.model.mjs +0 -2
  717. package/esm2022/lib/models/type-registry.model.mjs +0 -2
  718. package/esm2022/lib/models/user.model.mjs +0 -2
  719. package/esm2022/lib/models/version.model.mjs +0 -2
  720. package/esm2022/lib/models/view-container.model.mjs +0 -2
  721. package/esm2022/lib/pipes/boolean.pipe.mjs +0 -28
  722. package/esm2022/lib/pipes/class-map.pipe.mjs +0 -23
  723. package/esm2022/lib/pipes/enum.pipe.mjs +0 -26
  724. package/esm2022/lib/pipes/enumerate-async.pipe.mjs +0 -41
  725. package/esm2022/lib/pipes/enumerate.pipe.mjs +0 -58
  726. package/esm2022/lib/pipes/getter.pipe.mjs +0 -21
  727. package/esm2022/lib/pipes/i18n-property.pipe.mjs +0 -19
  728. package/esm2022/lib/pipes/index.mjs +0 -12
  729. package/esm2022/lib/pipes/json-path.pipe.mjs +0 -25
  730. package/esm2022/lib/pipes/locale-default-row-class.pipe.mjs +0 -27
  731. package/esm2022/lib/pipes/models/internal/enumrate-pipe-i18n.model.mjs +0 -2
  732. package/esm2022/lib/pipes/models/internal/index.mjs +0 -2
  733. package/esm2022/lib/pipes/parametrize.pipe.mjs +0 -86
  734. package/esm2022/lib/pipes/template.pipe.mjs +0 -26
  735. package/esm2022/lib/provide.mjs +0 -101
  736. package/esm2022/lib/registry/type.registry.mjs +0 -106
  737. package/esm2022/lib/router/index.mjs +0 -4
  738. package/esm2022/lib/router/models/index.mjs +0 -2
  739. package/esm2022/lib/router/models/router.model.mjs +0 -2
  740. package/esm2022/lib/router/route-builder.mjs +0 -347
  741. package/esm2022/lib/router/routes-builder.mjs +0 -69
  742. package/esm2022/lib/router/tableview-route-builder.mjs +0 -201
  743. package/esm2022/lib/security/authorization.guard.mjs +0 -15
  744. package/esm2022/lib/security/authorization.service.mjs +0 -51
  745. package/esm2022/lib/security/authorization.util.mjs +0 -16
  746. package/esm2022/lib/security/index.mjs +0 -4
  747. package/esm2022/lib/security/model/authorization.type.mjs +0 -8
  748. package/esm2022/lib/security/model/index.mjs +0 -4
  749. package/esm2022/lib/security/model/permission-service.interface.mjs +0 -2
  750. package/esm2022/lib/security/model/permissions.model.mjs +0 -87
  751. package/esm2022/lib/services/action/action-executor.service.mjs +0 -747
  752. package/esm2022/lib/services/action/component-action-executor.service.mjs +0 -19
  753. package/esm2022/lib/services/action/index.mjs +0 -5
  754. package/esm2022/lib/services/action/provide-action-executor.mjs +0 -9
  755. package/esm2022/lib/services/action/root-action-executor.service.mjs +0 -18
  756. package/esm2022/lib/services/action-error-mapper.service.mjs +0 -20
  757. package/esm2022/lib/services/commons-init.service.mjs +0 -100
  758. package/esm2022/lib/services/commons.service.mjs +0 -459
  759. package/esm2022/lib/services/configuration.service.mjs +0 -174
  760. package/esm2022/lib/services/data-provider-executor.service.mjs +0 -52
  761. package/esm2022/lib/services/index.mjs +0 -12
  762. package/esm2022/lib/services/internal/commons-init.provider.mjs +0 -4
  763. package/esm2022/lib/services/internal/index.mjs +0 -2
  764. package/esm2022/lib/services/log-publisher-console.service.mjs +0 -40
  765. package/esm2022/lib/services/logger.service.mjs +0 -130
  766. package/esm2022/lib/services/mng-localstorage-config.service.mjs +0 -30
  767. package/esm2022/lib/services/navigation.service.mjs +0 -55
  768. package/esm2022/lib/services/providers/formly-config.provider.mjs +0 -31
  769. package/esm2022/lib/services/providers/index.mjs +0 -2
  770. package/esm2022/lib/services/router.service.mjs +0 -183
  771. package/esm2022/lib/services/tokens/browser-storage.token.mjs +0 -6
  772. package/esm2022/lib/services/tokens/commons-init.token.mjs +0 -3
  773. package/esm2022/lib/services/tokens/default-setting.token.mjs +0 -3
  774. package/esm2022/lib/services/tokens/index.mjs +0 -6
  775. package/esm2022/lib/services/tokens/log-publisher.token.mjs +0 -3
  776. package/esm2022/lib/services/tokens/module-config.token.mjs +0 -3
  777. package/esm2022/lib/services/version.service.mjs +0 -49
  778. package/esm2022/lib/services/view/index.mjs +0 -3
  779. package/esm2022/lib/services/view/provide-view-container.mjs +0 -17
  780. package/esm2022/lib/services/view/view-container.service.mjs +0 -59
  781. package/esm2022/lib/styles/button-style.builder.mjs +0 -174
  782. package/esm2022/lib/styles/index.mjs +0 -3
  783. package/esm2022/lib/styles/models/index.mjs +0 -3
  784. package/esm2022/lib/styles/models/style-level.enum.mjs +0 -12
  785. package/esm2022/lib/styles/models/style-size.enum.mjs +0 -9
  786. package/esm2022/lib/styles/styles.util.mjs +0 -42
  787. package/esm2022/lib/types/action-descriptor.types.mjs +0 -2
  788. package/esm2022/lib/types/data-provider.types.mjs +0 -2
  789. package/esm2022/lib/types/getter.type.mjs +0 -2
  790. package/esm2022/lib/types/i18n.type.mjs +0 -2
  791. package/esm2022/lib/types/index.mjs +0 -8
  792. package/esm2022/lib/types/localstorage-config-value.type.mjs +0 -2
  793. package/esm2022/lib/types/type.decorator.mjs +0 -12
  794. package/esm2022/lib/types/type.model.mjs +0 -2
  795. package/esm2022/lib/utils/data-list-params.util.mjs +0 -416
  796. package/esm2022/lib/utils/date.util.mjs +0 -136
  797. package/esm2022/lib/utils/decorator-metadata.util.mjs +0 -61
  798. package/esm2022/lib/utils/editor-formly.util.mjs +0 -339
  799. package/esm2022/lib/utils/enum.util.mjs +0 -83
  800. package/esm2022/lib/utils/error.util.mjs +0 -247
  801. package/esm2022/lib/utils/export.util.mjs +0 -21
  802. package/esm2022/lib/utils/file.util.mjs +0 -18
  803. package/esm2022/lib/utils/i18n.util.mjs +0 -274
  804. package/esm2022/lib/utils/index.mjs +0 -14
  805. package/esm2022/lib/utils/model.util.mjs +0 -73
  806. package/esm2022/lib/utils/notification.util.mjs +0 -45
  807. package/esm2022/lib/utils/object.util.mjs +0 -135
  808. package/esm2022/lib/utils/route.util.mjs +0 -60
  809. package/esm2022/lib/utils/string.util.mjs +0 -59
  810. package/esm2022/lib/utils/tableview.util.mjs +0 -193
  811. package/esm2022/lib/validators/field.validator.mjs +0 -33
  812. package/esm2022/lib/validators/index.mjs +0 -2
  813. package/fesm2022/mediusinc-mng-commons-data-api-class-dto-obsolete.mjs +0 -698
  814. package/fesm2022/mediusinc-mng-commons-data-api-class-dto-obsolete.mjs.map +0 -1
  815. package/fesm2022/mediusinc-mng-commons-data-api-class-dto.mjs +0 -480
  816. package/fesm2022/mediusinc-mng-commons-data-api-class-dto.mjs.map +0 -1
  817. package/fesm2022/mediusinc-mng-commons-data-api.mjs +0 -224
  818. package/fesm2022/mediusinc-mng-commons-data-api.mjs.map +0 -1
  819. package/lib/components/action/action.component.d.ts +0 -76
  820. package/lib/components/action/editor/action-editor.component.d.ts +0 -33
  821. package/lib/components/action/editor/injector-context/action-editor-injector-context.component.d.ts +0 -80
  822. package/lib/components/action/index.d.ts +0 -5
  823. package/lib/components/action/localization/data-language-dropdown.component.d.ts +0 -24
  824. package/lib/components/action/models/action-component.model.d.ts +0 -13
  825. package/lib/components/action/models/action-execution.model.d.ts +0 -169
  826. package/lib/components/action/models/index.d.ts +0 -3
  827. package/lib/components/action/route/action-route.component.d.ts +0 -31
  828. package/lib/components/action/table/action-table.component.d.ts +0 -49
  829. package/lib/components/form/autocomplete/autocomplete.component.d.ts +0 -83
  830. package/lib/components/form/date-range/date-range.component.d.ts +0 -28
  831. package/lib/components/form/dropdown/dropdown.component.d.ts +0 -54
  832. package/lib/components/form/editor/form-editor.component.d.ts +0 -51
  833. package/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.d.ts +0 -16
  834. package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +0 -16
  835. package/lib/components/form/formly/fields/formly-field-custom/formly-custom-field-base.model.d.ts +0 -27
  836. package/lib/components/form/formly/fields/formly-field-custom/formly-field-custom.component.d.ts +0 -12
  837. package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +0 -15
  838. package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +0 -14
  839. package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +0 -39
  840. package/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.d.ts +0 -11
  841. package/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +0 -45
  842. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +0 -25
  843. package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +0 -42
  844. package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +0 -7
  845. package/lib/components/form/formly/fields/index.d.ts +0 -12
  846. package/lib/components/form/formly/formly.config.d.ts +0 -17
  847. package/lib/components/form/formly/index.d.ts +0 -1
  848. package/lib/components/form/formly/models/formly-config.model.d.ts +0 -11
  849. package/lib/components/form/formly/models/formly-field.model.d.ts +0 -17
  850. package/lib/components/form/formly/models/index.d.ts +0 -2
  851. package/lib/components/form/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.d.ts +0 -11
  852. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +0 -11
  853. package/lib/components/form/formly/wrappers/index.d.ts +0 -2
  854. package/lib/components/form/index.d.ts +0 -4
  855. package/lib/components/form/models/field-action-context.model.d.ts +0 -24
  856. package/lib/components/form/models/form-editor.event.d.ts +0 -58
  857. package/lib/components/form/models/index.d.ts +0 -3
  858. package/lib/components/layout/breadcrumb.component.d.ts +0 -13
  859. package/lib/components/layout/footer.component.d.ts +0 -9
  860. package/lib/components/layout/index.d.ts +0 -8
  861. package/lib/components/layout/main-layout.component.d.ts +0 -19
  862. package/lib/components/layout/menu-item.component.d.ts +0 -55
  863. package/lib/components/layout/menu.component.d.ts +0 -16
  864. package/lib/components/layout/services/index.d.ts +0 -1
  865. package/lib/components/layout/services/main-layout.component.service.d.ts +0 -65
  866. package/lib/components/layout/topbar-user.component.d.ts +0 -22
  867. package/lib/components/layout/topbar.component.d.ts +0 -26
  868. package/lib/components/layout/version.component.d.ts +0 -19
  869. package/lib/components/layoutV2/breadcrumb.component.d.ts +0 -10
  870. package/lib/components/layoutV2/footer.component.d.ts +0 -12
  871. package/lib/components/layoutV2/index.d.ts +0 -7
  872. package/lib/components/layoutV2/main-layout.component.d.ts +0 -24
  873. package/lib/components/layoutV2/menu-item.component.d.ts +0 -42
  874. package/lib/components/layoutV2/menu.component.d.ts +0 -14
  875. package/lib/components/layoutV2/model/index.d.ts +0 -2
  876. package/lib/components/layoutV2/model/layout-state.model.d.ts +0 -10
  877. package/lib/components/layoutV2/model/menu.model.d.ts +0 -4
  878. package/lib/components/layoutV2/services/index.d.ts +0 -2
  879. package/lib/components/layoutV2/services/main-layout.component.service.d.ts +0 -17
  880. package/lib/components/layoutV2/services/menu.service.d.ts +0 -22
  881. package/lib/components/layoutV2/sidebar.component.d.ts +0 -19
  882. package/lib/components/layoutV2/topbar-user.component.d.ts +0 -16
  883. package/lib/components/layoutV2/topbar.component.d.ts +0 -22
  884. package/lib/components/layoutV2/version.component.d.ts +0 -19
  885. package/lib/components/pages/error/error.page.component.d.ts +0 -8
  886. package/lib/components/pages/index.d.ts +0 -2
  887. package/lib/components/pages/not-found/not-found.page.component.d.ts +0 -8
  888. package/lib/components/table/column-filter-full/column-filter-full.component.d.ts +0 -101
  889. package/lib/components/table/column-value/column-value.component.d.ts +0 -35
  890. package/lib/components/table/models/table.event.d.ts +0 -17
  891. package/lib/components/table/models/table.interface.d.ts +0 -17
  892. package/lib/components/table/table-column-filter-class/table-column-filter-class.pipe.d.ts +0 -8
  893. package/lib/components/table/table.component.d.ts +0 -123
  894. package/lib/components/tableview/actions/tableview-default-actions.d.ts +0 -36
  895. package/lib/components/tableview/builders/tableview-builder.d.ts +0 -115
  896. package/lib/components/tableview/helpers/tableview-create.d.ts +0 -16
  897. package/lib/components/tableview/index.d.ts +0 -6
  898. package/lib/components/tableview/models/tableview.model.d.ts +0 -8
  899. package/lib/components/tableview/route/tableview-route.component.d.ts +0 -7
  900. package/lib/components/tableview/tableview.component.d.ts +0 -29
  901. package/lib/data-providers/base.data-provider.d.ts +0 -32
  902. package/lib/data-providers/editor.data-provider.d.ts +0 -88
  903. package/lib/data-providers/index.d.ts +0 -5
  904. package/lib/data-providers/lookup.data-provider.d.ts +0 -27
  905. package/lib/data-providers/table.data-provider.d.ts +0 -40
  906. package/lib/data-providers/tableview.data-provider.d.ts +0 -45
  907. package/lib/descriptors/action/action-button.descriptor.d.ts +0 -25
  908. package/lib/descriptors/action/action-confirmation.descriptor.d.ts +0 -36
  909. package/lib/descriptors/action/action-editor.descriptor.d.ts +0 -118
  910. package/lib/descriptors/action/action-link.descriptor.d.ts +0 -34
  911. package/lib/descriptors/action/action.descriptor.d.ts +0 -149
  912. package/lib/descriptors/action/index.d.ts +0 -5
  913. package/lib/descriptors/editor/editor.descriptor.d.ts +0 -270
  914. package/lib/descriptors/editor/field-action.descriptor.d.ts +0 -23
  915. package/lib/descriptors/editor/field-base.descriptor.d.ts +0 -122
  916. package/lib/descriptors/editor/field-group.descriptor.d.ts +0 -42
  917. package/lib/descriptors/editor/field-lookup.descriptor.d.ts +0 -83
  918. package/lib/descriptors/editor/field-many.descriptor.d.ts +0 -63
  919. package/lib/descriptors/editor/field-validation.descriptor.d.ts +0 -19
  920. package/lib/descriptors/editor/field.descriptor.d.ts +0 -167
  921. package/lib/descriptors/editor/index.d.ts +0 -8
  922. package/lib/descriptors/editor/internal/editor-fields.model.d.ts +0 -33
  923. package/lib/descriptors/editor/internal/editor.model.d.ts +0 -15
  924. package/lib/descriptors/filter/filter-lookup.descriptor.d.ts +0 -70
  925. package/lib/descriptors/filter/filter.descriptor.d.ts +0 -66
  926. package/lib/descriptors/filter/index.d.ts +0 -2
  927. package/lib/descriptors/interfaces/field-config.interface.d.ts +0 -9
  928. package/lib/descriptors/interfaces/index.d.ts +0 -2
  929. package/lib/descriptors/interfaces/lookup-descriptor.interface.d.ts +0 -12
  930. package/lib/descriptors/model/enum.descriptor.d.ts +0 -14
  931. package/lib/descriptors/model/index.d.ts +0 -3
  932. package/lib/descriptors/model/model.descriptor.d.ts +0 -31
  933. package/lib/descriptors/model/type.descriptor.d.ts +0 -5
  934. package/lib/descriptors/table/column.descriptor.d.ts +0 -148
  935. package/lib/descriptors/table/index.d.ts +0 -3
  936. package/lib/descriptors/table/internal/table-columns.model.d.ts +0 -42
  937. package/lib/descriptors/table/internal/table.model.d.ts +0 -12
  938. package/lib/descriptors/table/table.descriptor.d.ts +0 -272
  939. package/lib/descriptors/tableview/index.d.ts +0 -1
  940. package/lib/descriptors/tableview/internal/tableview.model.d.ts +0 -11
  941. package/lib/descriptors/tableview/tableview.descriptor.d.ts +0 -193
  942. package/lib/descriptors/types/editor.type.d.ts +0 -6
  943. package/lib/descriptors/types/field.type.d.ts +0 -47
  944. package/lib/descriptors/types/index.d.ts +0 -7
  945. package/lib/descriptors/types/table.type.d.ts +0 -18
  946. package/lib/directives/component.directive.d.ts +0 -20
  947. package/lib/directives/dialog-keydown-handler.directive.d.ts +0 -12
  948. package/lib/directives/index.d.ts +0 -4
  949. package/lib/directives/input-trim.directive.d.ts +0 -14
  950. package/lib/directives/template.directive.d.ts +0 -12
  951. package/lib/error/error.handler.d.ts +0 -6
  952. package/lib/error/index.d.ts +0 -1
  953. package/lib/guards/index.d.ts +0 -1
  954. package/lib/guards/unsaved-changes.guard.d.ts +0 -3
  955. package/lib/helpers/coercion.d.ts +0 -9
  956. package/lib/helpers/data-provider-executors.d.ts +0 -19
  957. package/lib/models/action-editor.model.d.ts +0 -15
  958. package/lib/models/column-value.model.d.ts +0 -4
  959. package/lib/models/common-init-event-enum.model.d.ts +0 -9
  960. package/lib/models/config.model.d.ts +0 -53
  961. package/lib/models/enum.model.d.ts +0 -7
  962. package/lib/models/error.model.d.ts +0 -50
  963. package/lib/models/index.d.ts +0 -19
  964. package/lib/models/layout-config.model.d.ts +0 -34
  965. package/lib/models/log.model.d.ts +0 -40
  966. package/lib/models/menu.model.d.ts +0 -32
  967. package/lib/models/tableview-attr.model.d.ts +0 -10
  968. package/lib/models/type-registry.model.d.ts +0 -7
  969. package/lib/models/user.model.d.ts +0 -8
  970. package/lib/models/view-container.model.d.ts +0 -24
  971. package/lib/pipes/boolean.pipe.d.ts +0 -7
  972. package/lib/pipes/class-map.pipe.d.ts +0 -7
  973. package/lib/pipes/enum.pipe.d.ts +0 -8
  974. package/lib/pipes/enumerate-async.pipe.d.ts +0 -14
  975. package/lib/pipes/enumerate.pipe.d.ts +0 -21
  976. package/lib/pipes/getter.pipe.d.ts +0 -8
  977. package/lib/pipes/i18n-property.pipe.d.ts +0 -8
  978. package/lib/pipes/index.d.ts +0 -11
  979. package/lib/pipes/json-path.pipe.d.ts +0 -13
  980. package/lib/pipes/locale-default-row-class.pipe.d.ts +0 -10
  981. package/lib/pipes/models/internal/enumrate-pipe-i18n.model.d.ts +0 -5
  982. package/lib/pipes/models/internal/index.d.ts +0 -1
  983. package/lib/pipes/parametrize.pipe.d.ts +0 -13
  984. package/lib/pipes/template.pipe.d.ts +0 -10
  985. package/lib/provide.d.ts +0 -10
  986. package/lib/registry/type.registry.d.ts +0 -25
  987. package/lib/router/index.d.ts +0 -3
  988. package/lib/router/models/index.d.ts +0 -1
  989. package/lib/router/models/router.model.d.ts +0 -31
  990. package/lib/router/route-builder.d.ts +0 -75
  991. package/lib/router/routes-builder.d.ts +0 -28
  992. package/lib/router/tableview-route-builder.d.ts +0 -44
  993. package/lib/security/authorization.guard.d.ts +0 -2
  994. package/lib/security/authorization.service.d.ts +0 -17
  995. package/lib/security/authorization.util.d.ts +0 -5
  996. package/lib/security/index.d.ts +0 -3
  997. package/lib/security/model/authorization.type.d.ts +0 -6
  998. package/lib/security/model/index.d.ts +0 -3
  999. package/lib/security/model/permission-service.interface.d.ts +0 -6
  1000. package/lib/security/model/permissions.model.d.ts +0 -37
  1001. package/lib/services/action/action-executor.service.d.ts +0 -177
  1002. package/lib/services/action/component-action-executor.service.d.ts +0 -9
  1003. package/lib/services/action/index.d.ts +0 -4
  1004. package/lib/services/action/root-action-executor.service.d.ts +0 -9
  1005. package/lib/services/action-error-mapper.service.d.ts +0 -18
  1006. package/lib/services/commons-init.service.d.ts +0 -22
  1007. package/lib/services/commons.service.d.ts +0 -90
  1008. package/lib/services/configuration.service.d.ts +0 -68
  1009. package/lib/services/data-provider-executor.service.d.ts +0 -60
  1010. package/lib/services/index.d.ts +0 -11
  1011. package/lib/services/internal/commons-init.provider.d.ts +0 -4
  1012. package/lib/services/internal/index.d.ts +0 -1
  1013. package/lib/services/log-publisher-console.service.d.ts +0 -4
  1014. package/lib/services/logger.service.d.ts +0 -33
  1015. package/lib/services/mng-localstorage-config.service.d.ts +0 -11
  1016. package/lib/services/navigation.service.d.ts +0 -15
  1017. package/lib/services/providers/formly-config.provider.d.ts +0 -5
  1018. package/lib/services/providers/index.d.ts +0 -1
  1019. package/lib/services/router.service.d.ts +0 -37
  1020. package/lib/services/tokens/browser-storage.token.d.ts +0 -2
  1021. package/lib/services/tokens/commons-init.token.d.ts +0 -3
  1022. package/lib/services/tokens/default-setting.token.d.ts +0 -2
  1023. package/lib/services/tokens/index.d.ts +0 -5
  1024. package/lib/services/tokens/log-publisher.token.d.ts +0 -3
  1025. package/lib/services/tokens/module-config.token.d.ts +0 -3
  1026. package/lib/services/version.service.d.ts +0 -14
  1027. package/lib/services/view/index.d.ts +0 -2
  1028. package/lib/services/view/view-container.service.d.ts +0 -32
  1029. package/lib/styles/button-style.builder.d.ts +0 -68
  1030. package/lib/styles/index.d.ts +0 -2
  1031. package/lib/styles/models/index.d.ts +0 -2
  1032. package/lib/styles/models/style-level.enum.d.ts +0 -10
  1033. package/lib/styles/models/style-size.enum.d.ts +0 -7
  1034. package/lib/styles/styles.util.d.ts +0 -15
  1035. package/lib/types/action-descriptor.types.d.ts +0 -4
  1036. package/lib/types/data-provider.types.d.ts +0 -3
  1037. package/lib/types/getter.type.d.ts +0 -2
  1038. package/lib/types/i18n.type.d.ts +0 -1
  1039. package/lib/types/index.d.ts +0 -7
  1040. package/lib/types/localstorage-config-value.type.d.ts +0 -1
  1041. package/lib/types/type.model.d.ts +0 -31
  1042. package/lib/utils/data-list-params.util.d.ts +0 -84
  1043. package/lib/utils/decorator-metadata.util.d.ts +0 -33
  1044. package/lib/utils/editor-formly.util.d.ts +0 -13
  1045. package/lib/utils/enum.util.d.ts +0 -51
  1046. package/lib/utils/error.util.d.ts +0 -116
  1047. package/lib/utils/export.util.d.ts +0 -5
  1048. package/lib/utils/file.util.d.ts +0 -3
  1049. package/lib/utils/i18n.util.d.ts +0 -85
  1050. package/lib/utils/index.d.ts +0 -13
  1051. package/lib/utils/model.util.d.ts +0 -10
  1052. package/lib/utils/notification.util.d.ts +0 -13
  1053. package/lib/utils/object.util.d.ts +0 -30
  1054. package/lib/utils/route.util.d.ts +0 -37
  1055. package/lib/utils/tableview.util.d.ts +0 -53
  1056. package/lib/validators/field.validator.d.ts +0 -3
  1057. package/lib/validators/index.d.ts +0 -1
  1058. package/openapi/angular/README.mustache +0 -226
  1059. package/openapi/angular/api.module.mustache +0 -39
  1060. package/openapi/angular/api.service.mustache +0 -253
  1061. package/openapi/angular/apiInterface.mustache +0 -47
  1062. package/openapi/angular/apis.mustache +0 -12
  1063. package/openapi/angular/config.yaml +0 -23
  1064. package/openapi/angular/configuration.mustache +0 -128
  1065. package/openapi/angular/custom/base-api.service.mustache +0 -14
  1066. package/openapi/angular/custom/helpers.mustache +0 -71
  1067. package/openapi/angular/custom/modelSchema.mustache +0 -46
  1068. package/openapi/angular/custom/schema.mustache +0 -18
  1069. package/openapi/angular/encoder.mustache +0 -20
  1070. package/openapi/angular/git_push.sh.mustache +0 -57
  1071. package/openapi/angular/index.mustache +0 -0
  1072. package/openapi/angular/licenseInfo.mustache +0 -11
  1073. package/openapi/angular/model.mustache +0 -16
  1074. package/openapi/angular/modelAlias.mustache +0 -1
  1075. package/openapi/angular/modelEnum.mustache +0 -21
  1076. package/openapi/angular/modelGeneric.mustache +0 -14
  1077. package/openapi/angular/modelGenericAdditionalProperties.mustache +0 -5
  1078. package/openapi/angular/modelGenericEnums.mustache +0 -30
  1079. package/openapi/angular/modelOneOf.mustache +0 -14
  1080. package/openapi/angular/modelTaggedUnion.mustache +0 -21
  1081. package/openapi/angular/models.mustache +0 -5
  1082. package/openapi/angular/ng-package.mustache +0 -6
  1083. package/openapi/angular/package.mustache +0 -39
  1084. package/openapi/angular/param.mustache +0 -69
  1085. package/openapi/angular/tsconfig.mustache +0 -28
  1086. package/openapi/angular/variables.mustache +0 -9
  1087. package/openapi/node/model.mustache +0 -83
  1088. package/openapi/node/models.mustache +0 -6
  1089. package/scss/common/layout/_breadcrumb.scss +0 -99
  1090. package/scss/common/layout/_config.scss +0 -100
  1091. package/scss/common/layout/_dashboard.scss +0 -16
  1092. package/scss/common/layout/_exception.scss +0 -133
  1093. package/scss/common/layout/_footer.scss +0 -29
  1094. package/scss/common/layout/_help.scss +0 -156
  1095. package/scss/common/layout/_inlinemenu.scss +0 -68
  1096. package/scss/common/layout/_invoice.scss +0 -176
  1097. package/scss/common/layout/_landing.scss +0 -636
  1098. package/scss/common/layout/_layout_dark.scss +0 -23
  1099. package/scss/common/layout/_layout_light.scss +0 -23
  1100. package/scss/common/layout/_loader.scss +0 -17
  1101. package/scss/common/layout/_login.scss +0 -106
  1102. package/scss/common/layout/_main.scss +0 -45
  1103. package/scss/common/layout/_mixins.scss +0 -222
  1104. package/scss/common/layout/_rightmenu.scss +0 -130
  1105. package/scss/common/layout/_topbar.scss +0 -191
  1106. package/scss/common/layout/_typography.scss +0 -68
  1107. package/scss/common/layout/_utils.scss +0 -96
  1108. package/scss/common/layout/_widgets.scss +0 -392
  1109. package/scss/common/layout/menu/_menu.scss +0 -7
  1110. package/scss/common/layout/menu/_menu_common.scss +0 -183
  1111. package/scss/common/layout/menu/_menu_overlay.scss +0 -52
  1112. package/scss/common/layout/menu/_menu_sidebar.scss +0 -233
  1113. package/scss/common/layout/menu/_menu_slim.scss +0 -137
  1114. package/scss/common/layout/menu/_menu_static.scss +0 -70
  1115. package/scss/common/layout/menu/_menu_theme.scss +0 -364
  1116. package/scss/common/theme/_theme_dark.scss +0 -5
  1117. package/scss/common/theme/_theme_light.scss +0 -5
  1118. package/scss/common/theme/designer/_colors.scss +0 -17
  1119. package/scss/common/theme/designer/_common.scss +0 -41
  1120. package/scss/common/theme/designer/_components.scss +0 -102
  1121. package/scss/common/theme/designer/_mixins.scss +0 -203
  1122. package/scss/common/theme/designer/components/button/_button.scss +0 -572
  1123. package/scss/common/theme/designer/components/button/_speeddial.scss +0 -81
  1124. package/scss/common/theme/designer/components/button/_splitbutton.scss +0 -2
  1125. package/scss/common/theme/designer/components/data/_carousel.scss +0 -37
  1126. package/scss/common/theme/designer/components/data/_datatable.scss +0 -266
  1127. package/scss/common/theme/designer/components/data/_dataview.scss +0 -55
  1128. package/scss/common/theme/designer/components/data/_filter.scss +0 -137
  1129. package/scss/common/theme/designer/components/data/_fullcalendar.scss +0 -324
  1130. package/scss/common/theme/designer/components/data/_orderlist.scss +0 -91
  1131. package/scss/common/theme/designer/components/data/_organizationchart.scss +0 -50
  1132. package/scss/common/theme/designer/components/data/_paginator.scss +0 -83
  1133. package/scss/common/theme/designer/components/data/_picklist.scss +0 -91
  1134. package/scss/common/theme/designer/components/data/_timeline.scss +0 -35
  1135. package/scss/common/theme/designer/components/data/_tree.scss +0 -144
  1136. package/scss/common/theme/designer/components/data/_treetable.scss +0 -241
  1137. package/scss/common/theme/designer/components/data/_virtualscroller.scss +0 -28
  1138. package/scss/common/theme/designer/components/file/_fileupload.scss +0 -58
  1139. package/scss/common/theme/designer/components/input/_autocomplete.scss +0 -105
  1140. package/scss/common/theme/designer/components/input/_calendar.scss +0 -212
  1141. package/scss/common/theme/designer/components/input/_cascadeselect.scss +0 -98
  1142. package/scss/common/theme/designer/components/input/_checkbox.scss +0 -85
  1143. package/scss/common/theme/designer/components/input/_chips.scss +0 -43
  1144. package/scss/common/theme/designer/components/input/_colorpicker.scss +0 -19
  1145. package/scss/common/theme/designer/components/input/_dropdown.scss +0 -136
  1146. package/scss/common/theme/designer/components/input/_editor.scss +0 -122
  1147. package/scss/common/theme/designer/components/input/_inputgroup.scss +0 -69
  1148. package/scss/common/theme/designer/components/input/_inputmask.scss +0 -3
  1149. package/scss/common/theme/designer/components/input/_inputnumber.scss +0 -3
  1150. package/scss/common/theme/designer/components/input/_inputswitch.scss +0 -60
  1151. package/scss/common/theme/designer/components/input/_inputtext.scss +0 -97
  1152. package/scss/common/theme/designer/components/input/_listbox.scss +0 -82
  1153. package/scss/common/theme/designer/components/input/_multiselect.scss +0 -165
  1154. package/scss/common/theme/designer/components/input/_password.scss +0 -33
  1155. package/scss/common/theme/designer/components/input/_radiobutton.scss +0 -78
  1156. package/scss/common/theme/designer/components/input/_rating.scss +0 -48
  1157. package/scss/common/theme/designer/components/input/_selectbutton.scss +0 -50
  1158. package/scss/common/theme/designer/components/input/_slider.scss +0 -71
  1159. package/scss/common/theme/designer/components/input/_togglebutton.scss +0 -48
  1160. package/scss/common/theme/designer/components/input/_treeselect.scss +0 -91
  1161. package/scss/common/theme/designer/components/menu/_breadcrumb.scss +0 -42
  1162. package/scss/common/theme/designer/components/menu/_contextmenu.scss +0 -51
  1163. package/scss/common/theme/designer/components/menu/_dock.scss +0 -51
  1164. package/scss/common/theme/designer/components/menu/_megamenu.scss +0 -103
  1165. package/scss/common/theme/designer/components/menu/_menu.scss +0 -41
  1166. package/scss/common/theme/designer/components/menu/_menubar.scss +0 -180
  1167. package/scss/common/theme/designer/components/menu/_panelmenu.scss +0 -136
  1168. package/scss/common/theme/designer/components/menu/_slidemenu.scss +0 -56
  1169. package/scss/common/theme/designer/components/menu/_steps.scss +0 -56
  1170. package/scss/common/theme/designer/components/menu/_tabmenu.scss +0 -49
  1171. package/scss/common/theme/designer/components/menu/_tieredmenu.scss +0 -57
  1172. package/scss/common/theme/designer/components/messages/_inlinemessage.scss +0 -64
  1173. package/scss/common/theme/designer/components/messages/_message.scss +0 -102
  1174. package/scss/common/theme/designer/components/messages/_toast.scss +0 -94
  1175. package/scss/common/theme/designer/components/misc/_avatar.scss +0 -30
  1176. package/scss/common/theme/designer/components/misc/_badge.scss +0 -48
  1177. package/scss/common/theme/designer/components/misc/_blockui.scss +0 -3
  1178. package/scss/common/theme/designer/components/misc/_chip.scss +0 -38
  1179. package/scss/common/theme/designer/components/misc/_inplace.scss +0 -16
  1180. package/scss/common/theme/designer/components/misc/_progressbar.scss +0 -17
  1181. package/scss/common/theme/designer/components/misc/_scrolltop.scss +0 -20
  1182. package/scss/common/theme/designer/components/misc/_skeleton.scss +0 -8
  1183. package/scss/common/theme/designer/components/misc/_tag.scss +0 -35
  1184. package/scss/common/theme/designer/components/misc/_terminal.scss +0 -11
  1185. package/scss/common/theme/designer/components/multimedia/_galleria.scss +0 -141
  1186. package/scss/common/theme/designer/components/multimedia/_image.scss +0 -44
  1187. package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +0 -65
  1188. package/scss/common/theme/designer/components/overlay/_dialog.scss +0 -63
  1189. package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +0 -62
  1190. package/scss/common/theme/designer/components/overlay/_sidebar.scss +0 -27
  1191. package/scss/common/theme/designer/components/overlay/_tooltip.scss +0 -33
  1192. package/scss/common/theme/designer/components/panel/_accordion.scss +0 -119
  1193. package/scss/common/theme/designer/components/panel/_card.scss +0 -30
  1194. package/scss/common/theme/designer/components/panel/_divider.scss +0 -31
  1195. package/scss/common/theme/designer/components/panel/_fieldset.scss +0 -47
  1196. package/scss/common/theme/designer/components/panel/_panel.scss +0 -42
  1197. package/scss/common/theme/designer/components/panel/_scrollpanel.scss +0 -6
  1198. package/scss/common/theme/designer/components/panel/_splitter.scss +0 -19
  1199. package/scss/common/theme/designer/components/panel/_tabview.scss +0 -66
  1200. package/scss/common/theme/designer/components/panel/_toolbar.scss +0 -10
  1201. package/scss/common/theme/extensions/_button.scss +0 -111
  1202. package/scss/common/theme/extensions/_calendar.scss +0 -18
  1203. package/scss/common/theme/extensions/_card.scss +0 -6
  1204. package/scss/common/theme/extensions/_carousel.scss +0 -13
  1205. package/scss/common/theme/extensions/_checkbox.scss +0 -10
  1206. package/scss/common/theme/extensions/_contextmenu.scss +0 -16
  1207. package/scss/common/theme/extensions/_datatable.scss +0 -83
  1208. package/scss/common/theme/extensions/_dialog.scss +0 -14
  1209. package/scss/common/theme/extensions/_fieldset.scss +0 -6
  1210. package/scss/common/theme/extensions/_galleria.scss +0 -25
  1211. package/scss/common/theme/extensions/_megamenu.scss +0 -18
  1212. package/scss/common/theme/extensions/_menu.scss +0 -14
  1213. package/scss/common/theme/extensions/_menubar.scss +0 -14
  1214. package/scss/common/theme/extensions/_orderlist.scss +0 -37
  1215. package/scss/common/theme/extensions/_paginator.scss +0 -19
  1216. package/scss/common/theme/extensions/_panelmenu.scss +0 -20
  1217. package/scss/common/theme/extensions/_password.scss +0 -5
  1218. package/scss/common/theme/extensions/_picklist.scss +0 -37
  1219. package/scss/common/theme/extensions/_radiobutton.scss +0 -8
  1220. package/scss/common/theme/extensions/_sidebar.scss +0 -19
  1221. package/scss/common/theme/extensions/_slidemenu.scss +0 -10
  1222. package/scss/common/theme/extensions/_slider.scss +0 -6
  1223. package/scss/common/theme/extensions/_steps.scss +0 -50
  1224. package/scss/common/theme/extensions/_tieredmenu.scss +0 -14
  1225. package/scss/common/theme/extensions/_toast.scss +0 -6
  1226. package/scss/common/theme/extensions/_tree.scss +0 -35
  1227. package/scss/common/theme/extensions/_treetable.scss +0 -35
  1228. package/scss/common/theme/extensions/_vendor_extensions.scss +0 -27
  1229. package/scss/common/variables/layout/_common.scss +0 -12
  1230. package/scss/common/variables/layout/_layout_dark.scss +0 -70
  1231. package/scss/common/variables/layout/_layout_light.scss +0 -70
  1232. package/scss/common/variables/theme/_theme_dark.scss +0 -937
  1233. package/scss/common/variables/theme/_theme_light.scss +0 -936
  1234. package/scss/layout/default/_mng-variables-layout-dark.scss +0 -2
  1235. package/scss/layout/default/_mng-variables-layout-light.scss +0 -2
  1236. package/scss/layout/default/layout-dark.scss +0 -2
  1237. package/scss/layout/default/layout-light.scss +0 -2
  1238. package/scss/mng-commons-dark-v2.scss +0 -9
  1239. package/scss/mng-commons-dark.scss +0 -5
  1240. package/scss/mng-commons-light-v2.scss +0 -9
  1241. package/scss/mng-commons-light.scss +0 -8
  1242. package/scss/mng-overrides/_layout_action.scss +0 -10
  1243. package/scss/mng-overrides/_layout_dialog.scss +0 -91
  1244. package/scss/mng-overrides/_layout_forms.scss +0 -38
  1245. package/scss/mng-overrides/_layout_menu.scss +0 -10
  1246. package/scss/mng-overrides/_layout_radio.scss +0 -3
  1247. package/scss/mng-overrides/_layout_styles.scss +0 -35
  1248. package/scss/mng-overrides/_layout_topbar.scss +0 -21
  1249. package/scss/mng-overrides/_mixins.scss +0 -69
  1250. package/scss/mng-overrides/_theme_autocomplete.scss +0 -29
  1251. package/scss/mng-overrides/_theme_button.scss +0 -61
  1252. package/scss/mng-overrides/_theme_datatable.scss +0 -160
  1253. package/scss/mng-overrides/_theme_datepicker.scss +0 -21
  1254. package/scss/mng-overrides/_theme_dialog.scss +0 -108
  1255. package/scss/mng-overrides/_theme_dropdown.scss +0 -22
  1256. package/scss/mng-overrides/_theme_fileupload.scss +0 -24
  1257. package/scss/mng-overrides/_theme_forms.scss +0 -29
  1258. package/scss/mng-overrides/_theme_image.scss +0 -27
  1259. package/scss/mng-overrides/_theme_input.scss +0 -27
  1260. package/scss/mng-overrides/_theme_menu.scss +0 -5
  1261. package/scss/mng-overrides/_theme_multiselect.scss +0 -20
  1262. package/scss/mng-overrides/_theme_styles.scss +0 -17
  1263. package/scss/mng-overrides/_theme_tableview.scss +0 -79
  1264. package/scss/mng-overrides/_theme_tabview.scss +0 -11
  1265. package/scss/mng-overrides/_theme_toast.scss +0 -3
  1266. package/scss/mng-overrides/_theme_toolbar.scss +0 -5
  1267. package/scss/mng-overrides/_variables.scss +0 -15
  1268. package/scss/theme/default/_mng-variables-theme-dark.scss +0 -11
  1269. package/scss/theme/default/_mng-variables-theme-light.scss +0 -13
  1270. package/scss/theme/default/theme-dark.scss +0 -2
  1271. package/scss/theme/default/theme-light.scss +0 -2
  1272. package/scss/v2/layout/_animation.scss +0 -53
  1273. package/scss/v2/layout/_breadcrumb.scss +0 -97
  1274. package/scss/v2/layout/_config.scss +0 -42
  1275. package/scss/v2/layout/_content.scss +0 -3
  1276. package/scss/v2/layout/_fonts.scss +0 -32
  1277. package/scss/v2/layout/_layout_dark.scss +0 -12
  1278. package/scss/v2/layout/_layout_light.scss +0 -12
  1279. package/scss/v2/layout/_main.scss +0 -54
  1280. package/scss/v2/layout/_profile.scss +0 -10
  1281. package/scss/v2/layout/_responsive.scss +0 -131
  1282. package/scss/v2/layout/_sidebar_drawer.scss +0 -283
  1283. package/scss/v2/layout/_sidebar_horizontal.scss +0 -168
  1284. package/scss/v2/layout/_sidebar_reveal.scss +0 -201
  1285. package/scss/v2/layout/_sidebar_slim.scss +0 -157
  1286. package/scss/v2/layout/_sidebar_slim_plus.scss +0 -167
  1287. package/scss/v2/layout/_sidebar_vertical.scss +0 -176
  1288. package/scss/v2/layout/_topbar.scss +0 -174
  1289. package/scss/v2/layout/_typography.scss +0 -62
  1290. package/scss/v2/layout/_utils.scss +0 -33
  1291. package/scss/v2/layout/layout.scss +0 -24
  1292. package/scss/v2/layout/mng/_mng_layout_footer.scss +0 -39
  1293. package/scss/v2/layout/mng/_mng_layout_menu.scss +0 -10
  1294. package/scss/v2/layout/mng/_mng_layout_styles.scss +0 -3
  1295. package/scss/v2/layout/mng/_mng_layout_topbar.scss +0 -18
  1296. package/scss/v2/layout/preloading.scss +0 -84
  1297. package/scss/v2/theme/extensions/_fullcalendar.scss +0 -328
  1298. package/scss/v2/theme/theme-base/_colors.scss +0 -17
  1299. package/scss/v2/theme/theme-base/_common.scss +0 -76
  1300. package/scss/v2/theme/theme-base/_components.scss +0 -110
  1301. package/scss/v2/theme/theme-base/_mixins.scss +0 -337
  1302. package/scss/v2/theme/theme-base/components/button/_button.scss +0 -576
  1303. package/scss/v2/theme/theme-base/components/button/_speeddial.scss +0 -96
  1304. package/scss/v2/theme/theme-base/components/button/_splitbutton.scss +0 -348
  1305. package/scss/v2/theme/theme-base/components/data/_carousel.scss +0 -37
  1306. package/scss/v2/theme/theme-base/components/data/_datatable.scss +0 -338
  1307. package/scss/v2/theme/theme-base/components/data/_dataview.scss +0 -46
  1308. package/scss/v2/theme/theme-base/components/data/_filter.scss +0 -137
  1309. package/scss/v2/theme/theme-base/components/data/_orderlist.scss +0 -114
  1310. package/scss/v2/theme/theme-base/components/data/_organizationchart.scss +0 -50
  1311. package/scss/v2/theme/theme-base/components/data/_paginator.scss +0 -92
  1312. package/scss/v2/theme/theme-base/components/data/_picklist.scss +0 -114
  1313. package/scss/v2/theme/theme-base/components/data/_timeline.scss +0 -35
  1314. package/scss/v2/theme/theme-base/components/data/_tree.scss +0 -150
  1315. package/scss/v2/theme/theme-base/components/data/_treetable.scss +0 -255
  1316. package/scss/v2/theme/theme-base/components/data/_virtualscroller.scss +0 -28
  1317. package/scss/v2/theme/theme-base/components/file/_fileupload.scss +0 -64
  1318. package/scss/v2/theme/theme-base/components/input/_autocomplete.scss +0 -136
  1319. package/scss/v2/theme/theme-base/components/input/_calendar.scss +0 -267
  1320. package/scss/v2/theme/theme-base/components/input/_cascadeselect.scss +0 -135
  1321. package/scss/v2/theme/theme-base/components/input/_checkbox.scss +0 -94
  1322. package/scss/v2/theme/theme-base/components/input/_chips.scss +0 -65
  1323. package/scss/v2/theme/theme-base/components/input/_colorpicker.scss +0 -19
  1324. package/scss/v2/theme/theme-base/components/input/_dropdown.scss +0 -151
  1325. package/scss/v2/theme/theme-base/components/input/_editor.scss +0 -122
  1326. package/scss/v2/theme/theme-base/components/input/_inputgroup.scss +0 -74
  1327. package/scss/v2/theme/theme-base/components/input/_inputmask.scss +0 -16
  1328. package/scss/v2/theme/theme-base/components/input/_inputnumber.scss +0 -28
  1329. package/scss/v2/theme/theme-base/components/input/_inputswitch.scss +0 -60
  1330. package/scss/v2/theme/theme-base/components/input/_inputtext.scss +0 -100
  1331. package/scss/v2/theme/theme-base/components/input/_listbox.scss +0 -97
  1332. package/scss/v2/theme/theme-base/components/input/_multiselect.scss +0 -177
  1333. package/scss/v2/theme/theme-base/components/input/_password.scss +0 -52
  1334. package/scss/v2/theme/theme-base/components/input/_radiobutton.scss +0 -78
  1335. package/scss/v2/theme/theme-base/components/input/_rating.scss +0 -60
  1336. package/scss/v2/theme/theme-base/components/input/_selectbutton.scss +0 -50
  1337. package/scss/v2/theme/theme-base/components/input/_slider.scss +0 -71
  1338. package/scss/v2/theme/theme-base/components/input/_togglebutton.scss +0 -48
  1339. package/scss/v2/theme/theme-base/components/input/_treeselect.scss +0 -139
  1340. package/scss/v2/theme/theme-base/components/menu/_breadcrumb.scss +0 -42
  1341. package/scss/v2/theme/theme-base/components/menu/_contextmenu.scss +0 -39
  1342. package/scss/v2/theme/theme-base/components/menu/_dock.scss +0 -95
  1343. package/scss/v2/theme/theme-base/components/menu/_megamenu.scss +0 -55
  1344. package/scss/v2/theme/theme-base/components/menu/_menu.scss +0 -37
  1345. package/scss/v2/theme/theme-base/components/menu/_menubar.scss +0 -140
  1346. package/scss/v2/theme/theme-base/components/menu/_panelmenu.scss +0 -153
  1347. package/scss/v2/theme/theme-base/components/menu/_slidemenu.scss +0 -59
  1348. package/scss/v2/theme/theme-base/components/menu/_steps.scss +0 -56
  1349. package/scss/v2/theme/theme-base/components/menu/_tabmenu.scss +0 -73
  1350. package/scss/v2/theme/theme-base/components/menu/_tieredmenu.scss +0 -43
  1351. package/scss/v2/theme/theme-base/components/messages/_inlinemessage.scss +0 -69
  1352. package/scss/v2/theme/theme-base/components/messages/_message.scss +0 -107
  1353. package/scss/v2/theme/theme-base/components/messages/_toast.scss +0 -99
  1354. package/scss/v2/theme/theme-base/components/misc/_avatar.scss +0 -30
  1355. package/scss/v2/theme/theme-base/components/misc/_badge.scss +0 -48
  1356. package/scss/v2/theme/theme-base/components/misc/_blockui.scss +0 -0
  1357. package/scss/v2/theme/theme-base/components/misc/_chip.scss +0 -42
  1358. package/scss/v2/theme/theme-base/components/misc/_inplace.scss +0 -16
  1359. package/scss/v2/theme/theme-base/components/misc/_progressbar.scss +0 -17
  1360. package/scss/v2/theme/theme-base/components/misc/_scrolltop.scss +0 -25
  1361. package/scss/v2/theme/theme-base/components/misc/_skeleton.scss +0 -8
  1362. package/scss/v2/theme/theme-base/components/misc/_tag.scss +0 -40
  1363. package/scss/v2/theme/theme-base/components/misc/_terminal.scss +0 -12
  1364. package/scss/v2/theme/theme-base/components/multimedia/_galleria.scss +0 -155
  1365. package/scss/v2/theme/theme-base/components/multimedia/_image.scss +0 -49
  1366. package/scss/v2/theme/theme-base/components/overlay/_confirmpopup.scss +0 -70
  1367. package/scss/v2/theme/theme-base/components/overlay/_dialog.scss +0 -69
  1368. package/scss/v2/theme/theme-base/components/overlay/_overlaypanel.scss +0 -64
  1369. package/scss/v2/theme/theme-base/components/overlay/_sidebar.scss +0 -27
  1370. package/scss/v2/theme/theme-base/components/overlay/_tooltip.scss +0 -33
  1371. package/scss/v2/theme/theme-base/components/panel/_accordion.scss +0 -119
  1372. package/scss/v2/theme/theme-base/components/panel/_card.scss +0 -30
  1373. package/scss/v2/theme/theme-base/components/panel/_divider.scss +0 -31
  1374. package/scss/v2/theme/theme-base/components/panel/_fieldset.scss +0 -47
  1375. package/scss/v2/theme/theme-base/components/panel/_panel.scss +0 -63
  1376. package/scss/v2/theme/theme-base/components/panel/_scrollpanel.scss +0 -6
  1377. package/scss/v2/theme/theme-base/components/panel/_splitter.scss +0 -19
  1378. package/scss/v2/theme/theme-base/components/panel/_tabview.scss +0 -82
  1379. package/scss/v2/theme/theme-base/components/panel/_toolbar.scss +0 -11
  1380. package/scss/v2/theme/theme-base/mng/_mng_mixins.scss +0 -69
  1381. package/scss/v2/theme/theme-base/mng/_mng_theme_autocomplete.scss +0 -34
  1382. package/scss/v2/theme/theme-base/mng/_mng_theme_button.scss +0 -68
  1383. package/scss/v2/theme/theme-base/mng/_mng_theme_datatable.scss +0 -153
  1384. package/scss/v2/theme/theme-base/mng/_mng_theme_datepicker.scss +0 -21
  1385. package/scss/v2/theme/theme-base/mng/_mng_theme_dialog.scss +0 -206
  1386. package/scss/v2/theme/theme-base/mng/_mng_theme_dropdown.scss +0 -32
  1387. package/scss/v2/theme/theme-base/mng/_mng_theme_fileupload.scss +0 -24
  1388. package/scss/v2/theme/theme-base/mng/_mng_theme_forms.scss +0 -66
  1389. package/scss/v2/theme/theme-base/mng/_mng_theme_image.scss +0 -27
  1390. package/scss/v2/theme/theme-base/mng/_mng_theme_input.scss +0 -31
  1391. package/scss/v2/theme/theme-base/mng/_mng_theme_menu.scss +0 -5
  1392. package/scss/v2/theme/theme-base/mng/_mng_theme_multiselect.scss +0 -20
  1393. package/scss/v2/theme/theme-base/mng/_mng_theme_styles.scss +0 -17
  1394. package/scss/v2/theme/theme-base/mng/_mng_theme_tableview.scss +0 -97
  1395. package/scss/v2/theme/theme-base/mng/_mng_theme_tabview.scss +0 -11
  1396. package/scss/v2/theme/theme-base/mng/_mng_theme_toast.scss +0 -3
  1397. package/scss/v2/theme/theme-base/mng/_mng_theme_toolbar.scss +0 -5
  1398. package/scss/v2/theme/theme-base/mng/_mng_variables.scss +0 -15
  1399. package/scss/v2/theme/theme-dark/_extensions.scss +0 -100
  1400. package/scss/v2/theme/theme-dark/_variables.scss +0 -940
  1401. package/scss/v2/theme/theme-dark/blue/theme.scss +0 -14
  1402. package/scss/v2/theme/theme-light/_extensions.scss +0 -100
  1403. package/scss/v2/theme/theme-light/_variables.scss +0 -936
  1404. package/scss/v2/theme/theme-light/blue/theme.scss +0 -14
  1405. /package/{lib → core}/components/notification/notification-wrapper.component.d.ts +0 -0
  1406. /package/{lib/models → core/data-list}/data-list.model.d.ts +0 -0
  1407. /package/{lib/models → core/data-list}/filter-match.model.d.ts +0 -0
  1408. /package/{lib/models/class.model.d.ts → core/models/class-attribute.model.d.ts} +0 -0
  1409. /package/{lib → core}/models/version.model.d.ts +0 -0
  1410. /package/{lib/types/type.decorator.d.ts → core/reflect/type-enum-decorator.d.ts} +0 -0
  1411. /package/{lib → core}/utils/date.util.d.ts +0 -0
  1412. /package/{lib → core}/utils/string.util.d.ts +0 -0
  1413. /package/{lib/descriptors/types/filter.type.d.ts → filter/models/filter.model.d.ts} +0 -0
  1414. /package/{lib/descriptors/types/trim.type.d.ts → form/api/models/trim.model.d.ts} +0 -0
  1415. /package/{assets/i18n → i18n}/en.json +0 -0
  1416. /package/{assets/i18n → i18n}/sl.json +0 -0
  1417. /package/{lib/descriptors/table → table/api/descriptors}/sort.descriptor.d.ts +0 -0
  1418. /package/{lib/descriptors/types/column.type.d.ts → table/api/models/column.model.d.ts} +0 -0
  1419. /package/{lib → tableview/action}/models/can-component-deactivate.model.d.ts +0 -0
  1420. /package/{lib/services/action → tableview/action/services/providers}/provide-action-executor.d.ts +0 -0
  1421. /package/{lib/services/view → tableview/action/services/providers}/provide-view-container.d.ts +0 -0
  1422. /package/{lib/descriptors/types → tableview/api/action/models}/action.type.d.ts +0 -0
  1423. /package/{lib/components → tableview/api}/action/models/tableview-action-default-categories.model.d.ts +0 -0
  1424. /package/{lib/components/form → tableview/api/editor}/models/form-editor.interface.d.ts +0 -0
  1425. /package/{lib → tableview/api/editor}/models/radio.model.d.ts +0 -0
@@ -1,28 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { ClassType, ServiceClassType, TableviewDataProviderInst } from '@mediusinc/mng-commons';
3
- import { MediusQueryResult } from '../models/query-result.model';
4
- import { IMngCrudObsoleteV1ApiService } from '../services/crud-api.abstract.service';
5
- import { IMngGetAllObsoleteV1ApiService } from '../services/get-all-api.abstract.service';
6
- /**
7
- * A data provider for a CRUD table view that uses an obsolete version 1 API service.
8
- *
9
- * @typeparam Model - The type of the data model.
10
- * @typeparam Service - The type of the API service.
11
- * @typeparam Sorts - The type for available sort keys on get all operation.
12
- * @typeparam Filters - The type for available sort keys on get all operation.
13
- *
14
- * @deprecated
15
- */
16
- export declare class TableviewCrudObsoleteV1DataProviderInst<Model, Service extends IMngCrudObsoleteV1ApiService<Model> & IMngGetAllObsoleteV1ApiService<MediusQueryResult<Model>>, Sorts = keyof Model, Filters extends keyof any = keyof Model> extends TableviewDataProviderInst<Model, Service, Sorts, Filters, ClassType<Model>, ServiceClassType<Service>> {
17
- protected constructor(type: ClassType<Model>, serviceType: Type<Service>, idPropertyName?: string, useGetAllForFetch?: boolean);
18
- }
19
- export declare class TableviewCrudObsoleteV1DataProvider extends TableviewCrudObsoleteV1DataProviderInst<any, any> {
20
- /**
21
- * @deprecated
22
- */
23
- static create<Model, Service extends IMngCrudObsoleteV1ApiService<Model> & IMngGetAllObsoleteV1ApiService<MediusQueryResult<Model>>, Sorts = keyof Model, Filters extends keyof any = keyof Model>(type: ClassType<Model>, serviceType: Type<Service>, idProperty?: keyof Model, useGetAllForFetch?: boolean): TableviewCrudObsoleteV1DataProviderInst<Model, Service, Sorts, Filters>;
24
- /**
25
- * @deprecated
26
- */
27
- static createUnsafe<Model, Service extends IMngCrudObsoleteV1ApiService<Model> & IMngGetAllObsoleteV1ApiService<MediusQueryResult<Model>>, Sorts = keyof Model, Filters extends keyof any = keyof Model>(type: ClassType<Model>, serviceType: Type<Service>, idProperty?: string, useGetAllForFetch?: boolean): TableviewCrudObsoleteV1DataProviderInst<Model, Service, Sorts, Filters>;
28
- }
@@ -1,22 +0,0 @@
1
- import { DataListParams } from '@mediusinc/mng-commons';
2
- /**
3
- * A class representing a mapping of query parameters.
4
- *
5
- * @typeparam Sorts - The type for available sort keys on get all operation.
6
- * @typeparam Filters - The type for available sort keys on get all operation.
7
- *
8
- * @deprecated
9
- */
10
- export declare class QueryParamMap<Sorts, Filters extends keyof any> {
11
- private readonly _params?;
12
- private readonly _sorts;
13
- private readonly _filters;
14
- protected constructor(_params?: DataListParams<Sorts, Filters> | undefined);
15
- static create(): QueryParamMap<string, string>;
16
- static forParams<Sorts, Filters extends keyof any>(params?: DataListParams<Sorts, Filters>): QueryParamMap<Sorts, Filters>;
17
- withSortMap(sort: Sorts, mapTo: string): this;
18
- withFilterMap(filter: Filters, mapTo: string): this;
19
- mapSort(sort: string): string;
20
- mapFilter(filter: string): string;
21
- mapParams(): DataListParams<any, any> | undefined;
22
- }
@@ -1,26 +0,0 @@
1
- import { ClassType } from '@mediusinc/mng-commons';
2
- export declare class ObjectSerializer {
3
- private static _instance;
4
- private readonly _logCategory;
5
- private readonly _primitives;
6
- private dateTimeInUtc;
7
- private dateTimeWithTimezone;
8
- private dateTimeWithMillis;
9
- get primitives(): string[];
10
- /**
11
- * Only use one instance of object (out of Angular context)
12
- */
13
- static get(): ObjectSerializer;
14
- configure(config: {
15
- dateTimeInUtc?: boolean;
16
- dateTimeWithTimezone?: boolean;
17
- dateTimeWithMillis?: boolean;
18
- }): void;
19
- findCorrectType(data: any, expectedTypeName: string): string;
20
- serializeClass<T>(data: T, type: ClassType<T>): any;
21
- serializeClassArray<T>(data: Array<T>, type: ClassType<T>): any;
22
- serialize(data: any, typeName?: string, subtype?: string): any;
23
- deserializeClass<T>(data: any, type: ClassType<T>): T;
24
- deserializeClassArray<T>(data: any, type: ClassType<T>): Array<T>;
25
- deserialize(data: any, type?: string): any;
26
- }
@@ -1,22 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { ClassType } from '@mediusinc/mng-commons';
3
- import { ObjectSerializer } from '../serder/object-serializer';
4
- export declare abstract class AMngBaseApiService {
5
- protected readonly objectSerializer: ObjectSerializer;
6
- protected readonly http: HttpClient;
7
- protected constructor();
8
- protected abstract getBasePath(): string;
9
- protected abstract getServiceBasePath(): string | null;
10
- protected getUrl(...pathSegments: Array<string>): string;
11
- protected deserializeQueryResult<QR>(item: any, qrType: ClassType<QR>): QR;
12
- protected deserializeClass<C>(item: any, type: ClassType<C>): C;
13
- protected deserializeClassArray<C>(item: any, type: ClassType<C>): Array<C>;
14
- protected serializeClass<C>(item: C, type: ClassType<C>): any;
15
- protected serializeClassArray<C>(item: Array<C>, type: ClassType<C>): any;
16
- }
17
- export declare abstract class AMngApiService<T> extends AMngBaseApiService {
18
- protected type: ClassType<T>;
19
- protected constructor(type: ClassType<T>);
20
- protected deserialize(item: any): T;
21
- protected serialize(item: T): any;
22
- }
@@ -1,25 +0,0 @@
1
- import { HttpParams } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { ClassType, IdType } from '@mediusinc/mng-commons';
4
- import { QueryResult } from '../models/query-result.model';
5
- import { AMngGetAllApiService } from './get-all-api.abstract.service';
6
- export interface IMngCrudApiService<FetchType, RequestType> {
7
- createPost?(item: RequestType, params?: HttpParams): Observable<FetchType>;
8
- getByIdGet?(id: IdType, params?: HttpParams, locale?: string): Observable<FetchType>;
9
- updatePut?(id: IdType, item: RequestType, params?: HttpParams): Observable<FetchType>;
10
- removeDelete?(id: IdType, item?: FetchType, params?: HttpParams): Observable<FetchType | null>;
11
- }
12
- export declare abstract class AMngCrudApiService<FetchType, RequestType, QueryResultType extends QueryResult<any>> extends AMngGetAllApiService<FetchType, QueryResultType> implements IMngCrudApiService<FetchType, RequestType> {
13
- protected requestType: ClassType<RequestType>;
14
- protected constructor(fetchType: ClassType<FetchType>, requestType: ClassType<RequestType>, queryResultType: ClassType<QueryResultType>);
15
- createPost(item: RequestType, params?: HttpParams): Observable<FetchType>;
16
- getByIdGet(id: IdType, params?: HttpParams, locale?: string): Observable<FetchType>;
17
- updatePut(id: IdType, item: RequestType, params?: HttpParams): Observable<FetchType>;
18
- removeDelete(id: IdType, item?: FetchType, params?: HttpParams): Observable<FetchType | null>;
19
- protected getCreatePostPath(item: RequestType): string;
20
- protected getUpdatePutPath(id: IdType, item: RequestType): string;
21
- protected getGetByIdGetPath(id: IdType): string;
22
- protected getRemoveDeletePath(id: IdType, item?: FetchType): string;
23
- protected deserializeRequest(item: any): RequestType;
24
- protected serializeRequest(item: RequestType): any;
25
- }
@@ -1,14 +0,0 @@
1
- import { HttpParams } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { ClassType, DataListParams } from '@mediusinc/mng-commons';
4
- import { QueryResult } from '../models/query-result.model';
5
- import { AMngApiService } from './api.abstract.service';
6
- export interface IMngGetAllApiService<QRT extends QueryResult<any>> {
7
- getAllGet(requestParams?: DataListParams<any, any>, params?: HttpParams, locale?: string): Observable<QRT>;
8
- }
9
- export declare abstract class AMngGetAllApiService<FetchType, QueryResultType extends QueryResult<any>> extends AMngApiService<FetchType> implements IMngGetAllApiService<QueryResultType> {
10
- protected queryResultType: ClassType<QueryResultType>;
11
- protected constructor(fetchType: ClassType<FetchType>, queryResultType: ClassType<QueryResultType>);
12
- getAllGet(requestParams?: DataListParams, params?: HttpParams, locale?: string): Observable<QueryResultType>;
13
- protected getGetAllGetPath(): string;
14
- }
@@ -1,17 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { ClassType, ServiceClassType, TableviewDataProviderInst } from '@mediusinc/mng-commons';
3
- import { QueryResult } from '../models/query-result.model';
4
- import { IMngCrudApiService } from '../services/crud-api.abstract.service';
5
- import { IMngGetAllApiService } from '../services/get-all-api.abstract.service';
6
- export type ToRequestMapFnType<Model, RequestModel> = (item?: Model) => RequestModel;
7
- export declare class TableviewCrudDataProviderInst<Model, RequestModel, Service extends IMngCrudApiService<Model, RequestModel> & IMngGetAllApiService<QueryResult<Model>>, Sorts = keyof Model, Filters extends keyof any = keyof Model> extends TableviewDataProviderInst<Model, Service, Sorts, Filters, ClassType<Model>, ServiceClassType<Service>> {
8
- protected requestType: ClassType<RequestModel>;
9
- private _toRequestMap;
10
- protected constructor(type: ClassType<Model>, requestType: ClassType<RequestModel>, serviceType: Type<Service>, idPropertyName?: string, useGetAllForFetch?: boolean);
11
- get toRequestMap(): ToRequestMapFnType<Model, RequestModel>;
12
- withToRequestMap(fn: ToRequestMapFnType<Model, RequestModel>): this;
13
- }
14
- export declare class TableviewCrudDataProvider extends TableviewCrudDataProviderInst<any, any, any> {
15
- static create<Model, RequestModel, Service extends IMngCrudApiService<Model, RequestModel> & IMngGetAllApiService<QueryResult<Model>>, Sorts = keyof Model, Filters extends keyof any = keyof Model>(type: ClassType<Model>, requestType: ClassType<RequestModel>, serviceType: Type<Service>, idProperty?: keyof Model, useGetAllForFetch?: boolean): TableviewCrudDataProviderInst<Model, RequestModel, Service, Sorts, Filters>;
16
- static createUnsafe<Model, RequestModel, Service extends IMngCrudApiService<Model, RequestModel> & IMngGetAllApiService<QueryResult<Model>>, Sorts = keyof Model, Filters extends keyof any = keyof Model>(type: ClassType<Model>, requestType: ClassType<RequestModel>, serviceType: Type<Service>, idProperty?: string, useGetAllForFetch?: boolean): TableviewCrudDataProviderInst<Model, RequestModel, Service, Sorts, Filters>;
17
- }
@@ -1,69 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { DataListFilter, DataListParams, DataListResult } from '@mediusinc/mng-commons';
3
- import { GetAllParamsFilterMatchType, GetAllParamsType, GetAllParamsUrlQueryType } from '../models/request-params.model';
4
- /**
5
- * Converts a filter match mode to its corresponding enum value.
6
- *
7
- * @param {string} matchMode - The filter match mode from data list filter to convert.
8
- * @returns {GetAllParamsFilterMatchType} - The converted enum value.
9
- * @throws {MngInternalError} - If the filter match mode is not supported.
10
- */
11
- export declare function toGetAllParamsFilterMatchMode(matchMode: string): GetAllParamsFilterMatchType;
12
- /**
13
- * Converts given parameters of a DataListParams object into a get all request param object with values as URL query string representation.
14
- *
15
- * @param {DataListParams} params - The parameters to convert.
16
- * @typeparam Sorts - The type of the sorting options for the data list.
17
- * @typeparam Filters - The type of the filters for the data list.
18
- * @returns {GetAllParamsUrlQueryType<Filters>} - Get all request param object with values as URL query string representation.
19
- */
20
- export declare function toGetAllParamsAsUrlQuery<Sorts, Filters extends keyof any>(params: DataListParams<Sorts, Filters>): GetAllParamsUrlQueryType<Filters>;
21
- /**
22
- * Converts given parameters of a DataListParams object into a get all request param object with values as objects for POST requests.
23
- *
24
- * @param {DataListParams} params - The parameters to convert.
25
- * @typeparam Sorts - The type of the sorting options for the data list.
26
- * @typeparam Filters - The type of the filters for the data list.
27
- * @returns {GetAllParamsType<Sorts, Filters>} - Get all request param object with values as objects for POST requests.
28
- */
29
- export declare function toGetAllParams<Sorts, Filters extends keyof any>(params: DataListParams<Sorts, Filters>): GetAllParamsType<Sorts, Filters>;
30
- /**
31
- * Converts DataListParams to sort query URL representation.
32
- *
33
- * @param {DataListParams} params - The params object with sort property to convert.
34
- * @returns {string | undefined} - The formatted sort query URL param or undefined.
35
- */
36
- export declare function toGetAllSortAsQueryUrl(params?: DataListParams<any, any>): string | undefined;
37
- /**
38
- * Converts a DataListFilter object to a query URL string.
39
- *
40
- * @param {DataListFilter} filter - The filter object from params to convert.
41
- * @returns {string|undefined} - The formatted filter query URL param or undefined.
42
- */
43
- export declare function toGetAllFilterAsQueryUrl(filter?: DataListFilter): string | undefined;
44
- /**
45
- * Executes the "getAll" on API service with request parameters.
46
- * Get all is expected to be executed via GET method using params as URL queries.
47
- *
48
- * @param {Service} service - The API service instance.
49
- * @param {Function} getAllFn - The "getAll" function on provided service instance.
50
- * @param {Object} params - The data list params.
51
- * @returns {Observable<<DataListResult<Item>>>} An observable with data list result.
52
- */
53
- export declare function executeGetAll<Service, Item, Sorts, Filters extends keyof any>(service: Service, getAllFn: (requestParameters: GetAllParamsUrlQueryType<Filters>) => Observable<{
54
- data?: Item[];
55
- totalCount?: number;
56
- }>, params: DataListParams<Sorts, Filters>): Observable<DataListResult<Item>>;
57
- /**
58
- * Executes the "getAll" on API service with request parameters.
59
- * Get all is expected to be executed via POST method using params as object in body of request.
60
- *
61
- * @param {Service} service - The API service instance.
62
- * @param {Function} getAllFn - The "getAll" function on provided service instance.
63
- * @param {Object} params - The data list params.
64
- * @returns {Observable<<DataListResult<Item>>>} An observable with data list result.
65
- */
66
- export declare function executeGetAllAsPost<Service, Item, Sorts, Filters extends keyof any>(service: Service, getAllFn: (requestParameters: GetAllParamsType<Sorts, Filters>) => Observable<{
67
- data?: Item[];
68
- totalCount?: number;
69
- }>, params: DataListParams<Sorts, Filters>): Observable<DataListResult<Item>>;
@@ -1,14 +0,0 @@
1
- import { ModelDescriptor, ServiceClassType, TableviewBuilder, TableviewDataProviderInst, TableviewDescriptorInst, TypeDescriptor } from '@mediusinc/mng-commons';
2
- import { GetAllParamsDefaultWoFiltersType } from '../models/request-params.model';
3
- import { ExtractGetAllParamsFilterType, ExtractGetAllParamsSortType } from '../types/extract-get-all-params.type';
4
- /**
5
- * Creates a tableview with a given model, service and sorts and filters extracted from Data API Get All request params, service, and optional build function.
6
- *
7
- * @param {ModelDescriptor<Model>} model - The model descriptor.
8
- * @param {ServiceClassType<Service>} service - The class type of the service.
9
- * @param {TypeDescriptor<RequestParam>} params - The request param of get all request. Filters and sorts will be taken from here.
10
- * @param {(builder: TableviewBuilder) => void} [buildFn] - The optional callback function to customize the tableview using the prepared builder.
11
- *
12
- * @returns A tableview instance with descriptor, data provider and actions.
13
- */
14
- export declare function tableviewWithGetAllParams<Model, Service, RequestParam extends GetAllParamsDefaultWoFiltersType, Sorts = ExtractGetAllParamsSortType<RequestParam>, Filters extends keyof any = ExtractGetAllParamsFilterType<RequestParam>>(model: ModelDescriptor<Model>, service: ServiceClassType<Service>, params: TypeDescriptor<RequestParam>, buildFn?: (builder: TableviewBuilder<Model, Service, TableviewDescriptorInst<Model, Sorts, Filters>, TableviewDataProviderInst<Model, Service, Sorts, Filters>, Sorts, Filters>) => void): import("@mediusinc/mng-commons").ITableview<Model, Service, Sorts, Filters, TableviewDescriptorInst<Model, Sorts, Filters>, TableviewDataProviderInst<Model, Service, Sorts, Filters, import("@mediusinc/mng-commons").ClassOptType<Model>, import("@mediusinc/mng-commons").ServiceClassOptType<Service>>>;
@@ -1,5 +0,0 @@
1
- export * from './helpers/get-all-params';
2
- export * from './helpers/tableview-get-all-params-create';
3
- export * from './models/request-params.model';
4
- export * from './rxjs/map-to-data-list.operator';
5
- export * from './types/extract-get-all-params.type';
@@ -1,61 +0,0 @@
1
- /**
2
- * Default (expected) type without filters, which are "dynamic" keys.
3
- */
4
- export type GetAllParamsDefaultWoFiltersType<Sort = GetAllParamsSortType[] | string, GlobalFilter = GetAllParamsGlobalFilterType | string> = {
5
- offset?: number;
6
- limit?: number;
7
- globalFilter?: GlobalFilter;
8
- sort?: Sort;
9
- };
10
- /**
11
- * Represents the sort direction type for a get all request params (ascending or descending).
12
- */
13
- export type GetAllParamsSortDirectionType = 'ASCENDING' | 'DESCENDING';
14
- /**
15
- * Represents the sort type for a get all request params.
16
- *
17
- * @typeparam Property The type of the property to sort by.
18
- * @typeparam Direction The type of the sort direction.
19
- */
20
- export type GetAllParamsSortType<Property = string, Direction = GetAllParamsSortDirectionType> = {
21
- property: Property;
22
- direction: Direction;
23
- };
24
- /**
25
- * Represents the possible match types for filters in get all request params.
26
- */
27
- export type GetAllParamsFilterMatchType = 'EQUALS' | 'NOT_EQUALS' | 'BETWEEN' | 'CONTAINS' | 'NOT_CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN' | 'NOT_IN' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL_TO' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL_TO' | 'EXISTS' | 'DOES_NOT_EXIST';
28
- /**
29
- * Describes the possible case sensitivity for filter in get all request params.
30
- */
31
- export type GetAllParamsFilterCaseSensitivityType = 'CASE_SENSITIVE' | 'CASE_INSENSITIVE';
32
- /**
33
- * Describes the global filter (search) in get all request params.
34
- */
35
- export type GetAllParamsGlobalFilterType<CaseSensitivity = GetAllParamsFilterCaseSensitivityType> = {
36
- value: string;
37
- caseSensitivity?: CaseSensitivity;
38
- };
39
- /**
40
- * Describes the filters in get all request params.
41
- */
42
- export type GetAllParamsFiltersType<FilterType, FilterProperties extends keyof any> = {
43
- [P in FilterProperties]: FilterType;
44
- };
45
- /**
46
- * Represents a filter type for get all request params.
47
- */
48
- export type GetAllParamsFilterType<Value, CaseSensitivity = GetAllParamsFilterCaseSensitivityType, MatchType = GetAllParamsFilterMatchType> = {
49
- value?: Value;
50
- values?: Array<Value>;
51
- caseSensitivity?: CaseSensitivity;
52
- filterMatchType: MatchType;
53
- };
54
- /**
55
- * Describes get all params with values as objects (for POST requests).
56
- */
57
- export type GetAllParamsType<Sorts = string, Filters extends keyof any = string> = GetAllParamsDefaultWoFiltersType<GetAllParamsSortType<Sorts>[], GetAllParamsGlobalFilterType> & GetAllParamsFiltersType<GetAllParamsFilterType<any>, Filters>;
58
- /**
59
- * Describes get all params with values as URL queries (for GET requests).
60
- */
61
- export type GetAllParamsUrlQueryType<Filters extends keyof any> = GetAllParamsDefaultWoFiltersType<string, string> & GetAllParamsFiltersType<string, Filters>;
@@ -1,9 +0,0 @@
1
- import { OperatorFunction } from 'rxjs';
2
- import { DataListResult } from '@mediusinc/mng-commons';
3
- /**
4
- * Maps an Observable of data with optional totalCount and data to a data list result object with provided defaults of empty array and count 0.
5
- */
6
- export declare function mapToDataList<Item>(): OperatorFunction<{
7
- data?: Item[];
8
- totalCount?: number;
9
- }, DataListResult<Item>>;
@@ -1,14 +0,0 @@
1
- import { GetAllParamsDefaultWoFiltersType, GetAllParamsSortType } from '../models/request-params.model';
2
- /**
3
- * Represents the type definition for the `GetAllParamsDefaultWoFiltersType` class - excludes offset, limit, search and sort properties.
4
- * All other properties are expected to be filters.
5
- *
6
- * @typeparam Request - The type parameter representing the extended GetAllParamsDefaultWoFiltersType object.
7
- */
8
- export type ExtractGetAllParamsFilterType<Request extends GetAllParamsDefaultWoFiltersType> = keyof Omit<Request, 'offset' | 'limit' | 'globalFilter' | 'sort'>;
9
- /**
10
- * Represents the type definition for the `GetAllParamsDefaultWoFiltersType` class - extracts allowed sort properties (usually an enum) on property key within array type.
11
- *
12
- * @typeparam Request - The type parameter representing the extended GetAllParamsDefaultWoFiltersType object.
13
- */
14
- export type ExtractGetAllParamsSortType<Request extends GetAllParamsDefaultWoFiltersType<GetAllParamsSortType<any, any>[] | string, any>> = NonNullable<Request['sort']> extends Array<infer U> | string ? ('property' extends keyof U ? NonNullable<U['property']> : never) : never;
@@ -1,40 +0,0 @@
1
- import { Injector, inject } from '@angular/core';
2
- import { TableviewBuilder, TableviewDescriptor } from '@mediusinc/mng-commons';
3
- import { TableviewCrudDataProvider } from '../tableview/tableview-crud.data-provider';
4
- function prepareBuilder(type, requestType, service, modelConfig, buildFn) {
5
- const builder = new TableviewBuilder(TableviewDescriptor.fromClass(type, modelConfig?.idProperty, modelConfig?.titleProperty, modelConfig?.i18nBaseKey), TableviewCrudDataProvider.create(type, requestType, service, modelConfig?.idProperty), inject(Injector));
6
- buildFn?.(builder);
7
- return builder.build();
8
- }
9
- /**
10
- * Creates a tableview with the given class, request class, service based on data API v2, sort, filters and optional class/model configuration.
11
- * Sorts and filters are expected to be keys of class.
12
- *
13
- * @param {ClassType<Model>} type - The class representing the model.
14
- * @param {ClassType<RequestModel>} requestType - The class representing the model for create and update operations.
15
- * @param {ServiceClassType<Service>} service - The class type of the service implementing `IMngCrudApiService` and `IMngGetAllApiService`.
16
- * @param {{ idProperty?: keyof Model; titleProperty?: keyof Model; i18nBaseKey?: ClassType<any> | string; }} [modelConfig] - Additional optional model configuration.
17
- * @param {(builder: TableviewBuilder) => void} [buildFn] - The optional callback function to customize the tableview using the prepared builder.
18
- *
19
- * @returns A tableview instance with descriptor, data provider and actions.
20
- */
21
- export function tableviewCrud(type, requestType, service, modelConfig, buildFn) {
22
- return prepareBuilder(type, requestType, service, modelConfig, buildFn);
23
- }
24
- /**
25
- * Creates a tableview with the given class, request class, service based on data API v2, sort, filters and optional class/model configuration.
26
- *
27
- * @param {ClassType<Model>} type - The class representing the model.
28
- * @param {ClassType<RequestModel>} requestType - The class representing the model for create and update operations.
29
- * @param {ServiceClassType<Service>} service - The class type of the service implementing `IMngCrudApiService` and `IMngGetAllApiService`.
30
- * @param {TypeDescriptor<Sorts>} sorts - The available sort keys of get all request.
31
- * @param {TypeDescriptor<Filters>} filters - The available filter keys of get all request.
32
- * @param {{ idProperty?: keyof Model; titleProperty?: keyof Model; i18nBaseKey?: ClassType<any> | string; }} [modelConfig] - Additional optional model configuration.
33
- * @param {(builder: TableviewBuilder) => void} [buildFn] - The optional callback function to customize the tableview using the prepared builder.
34
- *
35
- * @returns A tableview instance with descriptor, data provider and actions.
36
- */
37
- export function tableviewCrudWithSortAndFilter(type, requestType, service, sorts, filters, modelConfig, buildFn) {
38
- return prepareBuilder(type, requestType, service, modelConfig, buildFn);
39
- }
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGV2aWV3LWNydWQtY3JlYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vZGF0YS1hcGkvY2xhc3MtZHRvL3NyYy9oZWxwZXJzL3RhYmxldmlldy1jcnVkLWNyZWF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFFLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUUvQyxPQUFPLEVBQThCLGdCQUFnQixFQUFFLG1CQUFtQixFQUEwQyxNQUFNLHdCQUF3QixDQUFDO0FBS25KLE9BQU8sRUFBQyx5QkFBeUIsRUFBZ0MsTUFBTSwyQ0FBMkMsQ0FBQztBQUVuSCxTQUFTLGNBQWMsQ0FDbkIsSUFBc0IsRUFDdEIsV0FBb0MsRUFDcEMsT0FBa0MsRUFDbEMsV0FJQyxFQUNELE9BU1M7SUFFVCxNQUFNLE9BQU8sR0FBRyxJQUFJLGdCQUFnQixDQVFoQyxtQkFBbUIsQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsV0FBVyxFQUFFLGFBQWEsRUFBRSxXQUFXLEVBQUUsV0FBVyxDQUFDLEVBQ2xILHlCQUF5QixDQUFDLE1BQU0sQ0FBQyxJQUFJLEVB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mIGFueVxuPihcbiAgICB0eXBlOiBDbGFzc1R5cGU8TW9kZWw+LFxuICAgIHJlcXVlc3RUeXBlOiBDbGFzc1R5cGU8UmVxdWVzdE1vZGVsPixcbiAgICBzZXJ2aWNlOiBTZXJ2aWNlQ2xhc3NUeXBlPFNlcnZpY2U+LFxuICAgIHNvcnRzOiBUeXBlRGVzY3JpcHRvcjxTb3J0cz4sXG4gICAgZmlsdGVyczogVHlwZURlc2NyaXB0b3I8RmlsdGVycz4sXG4gICAgbW9kZWxDb25maWc/OiB7XG4gICAgICAgIGlkUHJvcGVydHk/OiBrZXlvZiBNb2RlbDtcbiAgICAgICAgdGl0bGVQcm9wZXJ0eT86IGtleW9mIE1vZGVsO1xuICAgICAgICBpMThuQmFzZUtleT86IHN0cmluZztcbiAgICB9LFxuICAgIGJ1aWxkRm4/OiAoXG4gICAgICAgIGJ1aWxkZXI6IFRhYmxldmlld0J1aWxkZXI8XG4gICAgICAgICAgICBNb2RlbCxcbiAgICAgICAgICAgIFNlcnZpY2UsXG4gICAgICAgICAgICBUYWJsZXZpZXdEZXNjcmlwdG9ySW5zdDxNb2RlbCwgU29ydHMsIEZpbHRlcnM+LFxuICAgICAgICAgICAgVGFibGV2aWV3Q3J1ZERhdGFQcm92aWRlckluc3Q8TW9kZWwsIFJlcXVlc3RNb2RlbCwgU2VydmljZSwgU29ydHMsIEZpbHRlcnM+LFxuICAgICAgICAgICAgU29ydHMsXG4gICAgICAgICAgICBGaWx0ZXJzXG4gICAgICAgID5cbiAgICApID0+IHZvaWRcbikge1xuICAgIHJldHVybiBwcmVwYXJlQnVpbGRlcjxNb2RlbCwgUmVxdWVzdE1vZGVsLCBTZXJ2aWNlLCBTb3J0cywgRmlsdGVycz4odHlwZSwgcmVxdWVzdFR5cGUsIHNlcnZpY2UsIG1vZGVsQ29uZmlnLCBidWlsZEZuKTtcbn1cbiJdfQ==
@@ -1,13 +0,0 @@
1
- // helpers
2
- export * from './helpers/tableview-crud-create';
3
- // models
4
- export * from './models/query-result.model';
5
- // serder
6
- export * from './serder/object-serializer';
7
- // services
8
- export * from './services/api.abstract.service';
9
- export * from './services/crud-api.abstract.service';
10
- export * from './services/get-all-api.abstract.service';
11
- // tableview
12
- export * from './tableview/tableview-crud.data-provider';
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9kYXRhLWFwaS9jbGFzcy1kdG8vc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFVBQVU7QUFDVixjQUFjLGlDQUFpQyxDQUFDO0FBRWhELFNBQVM7QUFDVCxjQUFjLDZCQUE2QixDQUFDO0FBRTVDLFNBQVM7QUFDVCxjQUFjLDRCQUE0QixDQUFDO0FBRTNDLFdBQVc7QUFDWCxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyx5Q0FBeUMsQ0FBQztBQUV4RCxZQUFZO0FBQ1osY0FBYywwQ0FBMEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGhlbHBlcnNcbmV4cG9ydCAqIGZyb20gJy4vaGVscGVycy90YWJsZXZpZXctY3J1ZC1jcmVhdGUnO1xuXG4vLyBtb2RlbHNcbmV4cG9ydCAqIGZyb20gJy4vbW9kZWxzL3F1ZXJ5LXJlc3VsdC5tb2RlbCc7XG5cbi8vIHNlcmRlclxuZXhwb3J0ICogZnJvbSAnLi9zZXJkZXIvb2JqZWN0LXNlcmlhbGl6ZXInO1xuXG4vLyBzZXJ2aWNlc1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9hcGkuYWJzdHJhY3Quc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL2NydWQtYXBpLmFic3RyYWN0LnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9nZXQtYWxsLWFwaS5hYnN0cmFjdC5zZXJ2aWNlJztcblxuLy8gdGFibGV2aWV3XG5leHBvcnQgKiBmcm9tICcuL3RhYmxldmlldy90YWJsZXZpZXctY3J1ZC5kYXRhLXByb3ZpZGVyJztcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaXVzaW5jLW1uZy1jb21tb25zLWRhdGEtYXBpLWNsYXNzLWR0by5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2RhdGEtYXBpL2NsYXNzLWR0by9zcmMvbWVkaXVzaW5jLW1uZy1jb21tb25zLWRhdGEtYXBpLWNsYXNzLWR0by50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,24 +0,0 @@
1
- export class QueryResult {
2
- static fromArray(pageData, allDataCount) {
3
- const mqr = new QueryResult();
4
- mqr.totalCount = allDataCount ?? pageData.length;
5
- mqr.data = pageData;
6
- return mqr;
7
- }
8
- static { this.attributeTypeMap = [
9
- {
10
- name: 'totalCount',
11
- baseName: 'totalCount',
12
- type: 'number'
13
- },
14
- {
15
- name: 'data',
16
- baseName: 'data',
17
- type: 'Array<T>'
18
- }
19
- ]; }
20
- static getAttributeTypeMap() {
21
- return QueryResult.attributeTypeMap;
22
- }
23
- }
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktcmVzdWx0Lm1v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BBcnJheTxJdGVtPjtcblxuICAgIHN0YXRpYyBkaXNjcmltaW5hdG9yPzogc3RyaW5nO1xuXG4gICAgc3RhdGljIGZyb21BcnJheTxJdGVtPihwYWdlRGF0YTogSXRlbVtdLCBhbGxEYXRhQ291bnQ/OiBudW1iZXIpIHtcbiAgICAgICAgY29uc3QgbXFyID0gbmV3IFF1ZXJ5UmVzdWx0PEl0ZW0+KCk7XG4gICAgICAgIG1xci50b3RhbENvdW50ID0gYWxsRGF0YUNvdW50ID8/IHBhZ2VEYXRhLmxlbmd0aDtcbiAgICAgICAgbXFyLmRhdGEgPSBwYWdlRGF0YTtcbiAgICAgICAgcmV0dXJuIG1xcjtcbiAgICB9XG5cbiAgICBzdGF0aWMgYXR0cmlidXRlVHlwZU1hcDogQXJyYXk8Q2xhc3NBdHRyaWJ1dGVEZWY+ID0gW1xuICAgICAgICB7XG4gICAgICAgICAgICBuYW1lOiAndG90YWxDb3VudCcsXG4gICAgICAgICAgICBiYXNlTmFtZTogJ3RvdGFsQ291bnQnLFxuICAgICAgICAgICAgdHlwZTogJ251bWJlcidcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgbmFtZTogJ2RhdGEnLFxuICAgICAgICAgICAgYmFzZU5hbWU6ICdkYXRhJyxcbiAgICAgICAgICAgIHR5cGU6ICdBcnJheTxUPidcbiAgICAgICAgfVxuICAgIF07XG5cbiAgICBzdGF0aWMgZ2V0QXR0cmlidXRlVHlwZU1hcCgpIHtcbiAgICAgICAgcmV0dXJuIFF1ZXJ5UmVzdWx0LmF0dHJpYnV0ZVR5cGVNYXA7XG4gICAgfVxufVxuXG5leHBvcnQgaW50ZXJmYWNlIElNZWRpdXNRdWVyeVJlc3VsdFYyPEl0ZW0+IHtcbiAgICB0b3RhbENvdW50PzogbnVtYmVyO1xuICAgIGRhdGE/OiBBcnJheTxJdGVtPjtcbn1cbiJdfQ==
@@ -1,103 +0,0 @@
1
- import { map } from 'rxjs/operators';
2
- import { FilterMatchMode, MngInternalError } from '@mediusinc/mng-commons';
3
- import { MediusQueryParamBuilder } from '../models/builders/query-param.builder';
4
- import { MediusFilterMatchType } from '../models/filter-match-type.model';
5
- /**
6
- * Converts the given DataListParams object to an ObsoleteV1QueryParam object.
7
- *
8
- * @param {DataListParams} params - The object to convert.
9
- * @param {QueryParamMap} map - The configuration object used to map sort and filter properties.
10
- *
11
- * @returns The converted ObsoleteV1QueryParam object if params is not null or undefined, otherwise returns undefined.
12
- *
13
- * @deprecated
14
- */
15
- export function toObsoleteV1QueryParam(params, map) {
16
- if (!params)
17
- return undefined;
18
- const builder = MediusQueryParamBuilder.create();
19
- if (params.offset !== undefined) {
20
- builder.withItemsOffset(params.offset);
21
- }
22
- if (params.limit !== undefined) {
23
- builder.withItemsPerPage(params.limit);
24
- }
25
- if (Array.isArray(params.sort)) {
26
- params.sort.forEach(s => builder.withSort(map?.mapSort(s.property) ?? s.property, s.ascending));
27
- }
28
- if (typeof params.filters === 'object') {
29
- Object.entries(params.filters).forEach(([key, value]) => {
30
- const filter = value;
31
- if (filter.value != null) {
32
- const matchMode = filter.matchMode ? toObsoleteV1FilterMatchType(filter.matchMode) : MediusFilterMatchType.Equals;
33
- let value = undefined;
34
- let valueTo = undefined;
35
- if (matchMode === MediusFilterMatchType.FromTo) {
36
- if (Array.isArray(filter.value)) {
37
- if (filter.value.length > 0)
38
- value = filter.value[0];
39
- if (filter.value.length > 1)
40
- valueTo = filter.value[1];
41
- }
42
- }
43
- else {
44
- value = filter.value;
45
- }
46
- builder.withFilter(map?.mapFilter(key) ?? key, value, valueTo, matchMode, filter.caseSensitive);
47
- }
48
- });
49
- }
50
- return builder.build();
51
- }
52
- export function toObsoleteV1FilterMatchType(match) {
53
- switch (match) {
54
- case FilterMatchMode.Equals:
55
- return MediusFilterMatchType.Equals;
56
- case FilterMatchMode.NotEquals:
57
- return MediusFilterMatchType.NotEquals;
58
- case FilterMatchMode.Contains:
59
- return MediusFilterMatchType.Contains;
60
- case FilterMatchMode.In:
61
- return MediusFilterMatchType.In;
62
- case FilterMatchMode.NotIn:
63
- return MediusFilterMatchType.NotIn;
64
- case FilterMatchMode.StartsWith:
65
- return MediusFilterMatchType.StartsWith;
66
- case FilterMatchMode.EndsWith:
67
- return MediusFilterMatchType.EndsWith;
68
- case FilterMatchMode.LessThan:
69
- return MediusFilterMatchType.SmallerThan;
70
- case FilterMatchMode.GreaterThan:
71
- return MediusFilterMatchType.GreaterThan;
72
- case FilterMatchMode.Between:
73
- return MediusFilterMatchType.FromTo;
74
- case FilterMatchMode.Exists:
75
- return MediusFilterMatchType.Exists;
76
- case FilterMatchMode.DoesNotExist:
77
- return MediusFilterMatchType.DoesNotExist;
78
- case FilterMatchMode.NotContains:
79
- case FilterMatchMode.LessThanOrEqualTo:
80
- case FilterMatchMode.GreaterThanOrEqualTo:
81
- default:
82
- throw new MngInternalError(`Filter match type '${match}' not supported.`);
83
- }
84
- }
85
- /**
86
- * Convert a query result from an obsolete API version 1 to a `DataListResult`
87
- *
88
- * @param {DataListParams} params - The data list parameters for the query
89
- * @param {Service} service - The service object used to make the API call
90
- * @param {function} apiOperation - The API operation function that returns an `Observable<MediusQueryResult<Item>>`
91
- * @param {any} additionalParams - Additional parameters to pass to the API operation function (optional)
92
- *
93
- * @returns {Observable<DataListResult<Item>>} - An observable that emits a `DataListResult` object
94
- *
95
- * @deprecated
96
- */
97
- export function toObsoleteV1QueryResult(params, service, apiOperation, additionalParams) {
98
- const queryParam = toObsoleteV1QueryParam(params);
99
- return apiOperation
100
- .bind(service)(queryParam, ...(additionalParams ?? []))
101
- .pipe(map(res => ({ data: res.pageData ?? [], totalCount: res.allDataCount })));
102
- }
103
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktcGFyYW0tY29udmVydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2RhdGEtYXBpL2NsYXNzLWR0by9vYnNv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BlcmF0aW9uXG4gICAgICAgIC5iaW5kKHNlcnZpY2UpKHF1ZXJ5UGFyYW0sIC4uLihhZGRpdGlvbmFsUGFyYW1zID8/IFtdKSlcbiAgICAgICAgLnBpcGUobWFwKHJlcyA9PiAoe2RhdGE6IHJlcy5wYWdlRGF0YSA/PyBbXSwgdG90YWxDb3VudDogcmVzLmFsbERhdGFDb3VudH0pKSk7XG59XG4iXX0=
@@ -1,21 +0,0 @@
1
- import { Injector, inject } from '@angular/core';
2
- import { TableviewBuilder, TableviewDescriptor } from '@mediusinc/mng-commons';
3
- import { TableviewCrudObsoleteV1DataProvider } from '../tableview/tableview-crud.data-provider';
4
- /**
5
- * Creates a tableview with the given class, service based on data API v1 (obsolete) and optional class/model configuration.
6
- *
7
- * @param {ClassType<Model>} type - The class representing the model.
8
- * @param {ServiceClassType<Service>} service - The class type of the service implementing `IMngCrudObsoleteV1ApiService` and `IMngGetAllObsoleteV1ApiService`.
9
- * @param {{ idProperty?: keyof Model; titleProperty?: keyof Model; i18nBaseKey?: ClassType<any> | string; }} [modelConfig] - Additional optional model configuration.
10
- * @param {(builder: TableviewBuilder) => void} [buildFn] - The optional callback function to customize the tableview using the prepared builder.
11
- *
12
- * @returns {Tableview} - The built table view.
13
- *
14
- * @deprecated
15
- */
16
- export function tableviewCrudObsoleteV1(type, service, modelConfig, buildFn) {
17
- const builder = new TableviewBuilder(TableviewDescriptor.fromClass(type, modelConfig?.idProperty, modelConfig?.titleProperty, modelConfig?.i18nBaseKey), TableviewCrudObsoleteV1DataProvider.create(type, service, modelConfig?.idProperty), inject(Injector));
18
- buildFn?.(builder);
19
- return builder.build();
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGV2aWV3LWNydWQtY3JlYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vZGF0YS1hcGkvY2xhc3MtZHRvL29ic29sZXRlL3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