nuxeo-development-framework 5.2.3 → 5.2.4-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +7109 -711
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +48 -34
  4. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +5 -5
  5. package/esm2015/lib/components/ndf-datepicker/adapters/hijri-adapter.js +203 -0
  6. package/esm2015/lib/components/ndf-datepicker/adapters/index.js +3 -0
  7. package/esm2015/lib/components/ndf-datepicker/adapters/moment-adapter.js +186 -0
  8. package/esm2015/lib/components/ndf-datepicker/base/base-value-accessor.js +92 -0
  9. package/esm2015/lib/components/ndf-datepicker/base/index.js +2 -0
  10. package/esm2015/lib/components/ndf-datepicker/components/base-datepicker.js +37 -0
  11. package/esm2015/lib/components/ndf-datepicker/components/index.js +4 -0
  12. package/esm2015/lib/components/ndf-datepicker/components/input-date.component.js +110 -0
  13. package/esm2015/lib/components/ndf-datepicker/components/input-range-date.component.js +124 -0
  14. package/esm2015/lib/components/ndf-datepicker/constants/date-locale-keys.js +7 -0
  15. package/esm2015/lib/components/ndf-datepicker/constants/date-picker.js +2 -0
  16. package/esm2015/lib/components/ndf-datepicker/constants/date-type.js +5 -0
  17. package/esm2015/lib/components/ndf-datepicker/constants/formats.js +24 -0
  18. package/esm2015/lib/components/ndf-datepicker/constants/hijri-dates-names.js +117 -0
  19. package/esm2015/lib/components/ndf-datepicker/constants/index.js +6 -0
  20. package/esm2015/lib/components/ndf-datepicker/containers/datepicker-container.js +37 -0
  21. package/esm2015/lib/components/ndf-datepicker/containers/index.js +3 -0
  22. package/esm2015/lib/components/ndf-datepicker/containers/ndf-gregorian-datepicker.component.js +105 -0
  23. package/esm2015/lib/components/ndf-datepicker/containers/ndf-hijri-datepicker.component.js +112 -0
  24. package/esm2015/lib/components/ndf-datepicker/index.js +10 -0
  25. package/esm2015/lib/components/ndf-datepicker/models/data-types.js +2 -0
  26. package/esm2015/lib/components/ndf-datepicker/models/index.js +3 -0
  27. package/esm2015/lib/components/ndf-datepicker/models/value-object.js +2 -0
  28. package/esm2015/lib/components/ndf-datepicker/ndf-datepicker.component.js +198 -0
  29. package/esm2015/lib/components/ndf-datepicker/ndf-datepicker.module.js +66 -0
  30. package/esm2015/lib/components/ndf-datepicker/services/calendar.service.js +130 -0
  31. package/esm2015/lib/components/ndf-datepicker/services/index.js +3 -0
  32. package/esm2015/lib/components/ndf-datepicker/services/localize-state.service.js +41 -0
  33. package/esm2015/lib/components/no-data-found/index.js +3 -0
  34. package/esm2015/lib/components/no-data-found/no-data-found.component.js +33 -0
  35. package/esm2015/lib/components/no-data-found/no-data.module.js +19 -0
  36. package/esm2015/lib/components/notifications/models/common.js +1 -1
  37. package/esm2015/lib/components/{dynamic-table → tables/dynamic-table}/directives/empty-state.directive.js +1 -1
  38. package/esm2015/lib/components/tables/dynamic-table/dynamic-table/dynamic-table.component.js +353 -0
  39. package/esm2015/lib/components/tables/dynamic-table/dynamic-table.module.js +51 -0
  40. package/esm2015/lib/components/tables/dynamic-table/index.js +2 -0
  41. package/esm2015/lib/components/tables/dynamic-table/public-api.js +5 -0
  42. package/esm2015/lib/components/tables/dynamic-table/services/dynamic-table.service.js +16 -0
  43. package/esm2015/lib/components/{dynamic-table → tables}/index.js +1 -1
  44. package/esm2015/lib/components/tables/ndf-table/components/index.js +6 -0
  45. package/esm2015/lib/components/tables/ndf-table/components/mode-toggler/mode-toggler.component.js +45 -0
  46. package/esm2015/lib/components/tables/ndf-table/components/sorting-list/sorting-list.component.js +42 -0
  47. package/esm2015/lib/components/tables/ndf-table/components/table-columns-toggler/table-columns-toggler.component.js +123 -0
  48. package/esm2015/lib/components/tables/ndf-table/components/table-export/table-export.component.js +41 -0
  49. package/esm2015/lib/components/tables/ndf-table/components/text-search/text-search.component.js +74 -0
  50. package/esm2015/lib/components/tables/ndf-table/constants/index.js +2 -0
  51. package/esm2015/lib/components/tables/ndf-table/constants/sizes.js +19 -0
  52. package/esm2015/lib/components/tables/ndf-table/containers/index.js +2 -0
  53. package/esm2015/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.js +404 -0
  54. package/esm2015/lib/components/tables/ndf-table/directives/actions.directive.js +28 -0
  55. package/esm2015/lib/components/tables/ndf-table/directives/filter-custom.directive.js +28 -0
  56. package/esm2015/lib/components/tables/ndf-table/directives/fluid-height.directive.js +112 -0
  57. package/esm2015/lib/components/tables/ndf-table/directives/index.js +5 -0
  58. package/esm2015/lib/components/tables/ndf-table/directives/search.directive.js +28 -0
  59. package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-aggregation-field.component.js +91 -0
  60. package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-checkbox-radio.component.js +66 -0
  61. package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-custom-field.component.js +46 -0
  62. package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-predicate-field.component.js +43 -0
  63. package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-value-accessor.component.js +34 -0
  64. package/esm2015/lib/components/tables/ndf-table/filters-panel/base/index.js +6 -0
  65. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/field-header.component.js +36 -0
  66. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.js +97 -0
  67. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete.service.js +43 -0
  68. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-collapse-control/filter-collapse-control.component.js +44 -0
  69. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-date-range/filter-date-range.component.js +89 -0
  70. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-empty-message.component.js +30 -0
  71. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-option-text/filter-option-text.component.js +33 -0
  72. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-options-sort/filter-options-sort.component.js +34 -0
  73. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-search-input/filter-search-input.component.js +36 -0
  74. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/html-dialog/html-dialog.component.js +34 -0
  75. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/index.js +10 -0
  76. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-autocomplete/aggregation-autocomplete.component.js +109 -0
  77. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-checkbox/aggregation-checkbox.component.js +65 -0
  78. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-custom/aggregation-custom.component.js +66 -0
  79. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-date-list/aggregation-date-list.component.js +219 -0
  80. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-radio/aggregation-radio.component.js +68 -0
  81. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-select/aggregation-select.component.js +83 -0
  82. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-switch/aggregation-switch.component.js +71 -0
  83. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/index.js +11 -0
  84. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/predicate-date-input/predicate-date-input.component.js +146 -0
  85. package/esm2015/lib/components/tables/ndf-table/filters-panel/components/predicate-text-input/predicate-text-input.component.js +144 -0
  86. package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/common.js +4 -0
  87. package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/field.js +6 -0
  88. package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/index.js +5 -0
  89. package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/operators.js +18 -0
  90. package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/sort.js +23 -0
  91. package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/type.js +26 -0
  92. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/aggregation-field/aggregation-field.component.js +78 -0
  93. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/base-field.js +62 -0
  94. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/custom-field/custom-field.component.js +73 -0
  95. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/base-filters-panel.js +55 -0
  96. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/filters-panel.component.js +122 -0
  97. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/index.js +5 -0
  98. package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/predicate-field/predicate-field.component.js +71 -0
  99. package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user-switch.component.js +55 -0
  100. package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user.service.js +17 -0
  101. package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/user-types.js +2 -0
  102. package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/index.js +2 -0
  103. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/autocomplete-template.directive.js +28 -0
  104. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/checkbox-template.directive.js +28 -0
  105. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/custom-template.directive.js +28 -0
  106. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/date-template.directive.js +28 -0
  107. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/dropdown-label-template.directive.js +53 -0
  108. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/dropdown-template.directive.js +28 -0
  109. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/index.js +9 -0
  110. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/radio-template.directive.js +28 -0
  111. package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/switch-template.directive.js +28 -0
  112. package/esm2015/lib/components/tables/ndf-table/filters-panel/filters-panel.module.js +205 -0
  113. package/esm2015/lib/components/tables/ndf-table/filters-panel/index.js +12 -0
  114. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/aggregation-field-config.js +2 -0
  115. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/aggregation-response.model.js +2 -0
  116. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/base-field-config.js +2 -0
  117. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/common.js +2 -0
  118. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/custom-field-config.js +2 -0
  119. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-config.model.js +2 -0
  120. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/autocomplete-options.js +2 -0
  121. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/checkbox-options.js +2 -0
  122. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/common-utils.js +2 -0
  123. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-fields-options.js +2 -0
  124. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-options.js +2 -0
  125. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/date-list-options.js +2 -0
  126. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/date-options.js +2 -0
  127. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/dropdown-options.js +2 -0
  128. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/index.js +12 -0
  129. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/input-options.js +2 -0
  130. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/radio-options.js +2 -0
  131. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/switch-options.js +2 -0
  132. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/filter-option.model.js +2 -0
  133. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/form-query-request.js +2 -0
  134. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/index.js +13 -0
  135. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/predicate-field-config.js +2 -0
  136. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/types-helper.js +2 -0
  137. package/esm2015/lib/components/tables/ndf-table/filters-panel/models/value-object.model.js +12 -0
  138. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/autocomplete-filter.pipe.js +27 -0
  139. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/filter.pipe.js +27 -0
  140. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/hash-translate.pipe.js +52 -0
  141. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/index.js +9 -0
  142. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/localized-label.pipe.js +28 -0
  143. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/roles-filters.pipe.js +31 -0
  144. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/sanitizer.pipe.js +34 -0
  145. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/sort.pipe.js +40 -0
  146. package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/tooltip.pipe.js +69 -0
  147. package/esm2015/lib/components/tables/ndf-table/filters-panel/services/aggregation-field.service.js +105 -0
  148. package/esm2015/lib/components/tables/ndf-table/filters-panel/services/dynamic-component-loader.service.js +59 -0
  149. package/esm2015/lib/components/tables/ndf-table/filters-panel/services/filters-query.service.js +117 -0
  150. package/esm2015/lib/components/tables/ndf-table/filters-panel/services/index.js +5 -0
  151. package/esm2015/lib/components/tables/ndf-table/filters-panel/services/ndf-transform.service.js +80 -0
  152. package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/index.js +3 -0
  153. package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/nxql.js +47 -0
  154. package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/object.js +42 -0
  155. package/esm2015/lib/components/tables/ndf-table/index.js +2 -0
  156. package/esm2015/lib/components/tables/ndf-table/models/index.js +8 -0
  157. package/esm2015/lib/components/tables/ndf-table/models/payload-types.js +2 -0
  158. package/esm2015/lib/components/tables/ndf-table/models/search.config.js +2 -0
  159. package/esm2015/lib/components/tables/ndf-table/models/table-column.js +2 -0
  160. package/esm2015/lib/components/tables/ndf-table/models/table-config.js +2 -0
  161. package/esm2015/lib/components/tables/ndf-table/models/table-mode.js +2 -0
  162. package/esm2015/lib/components/tables/ndf-table/models/table-options.js +2 -0
  163. package/esm2015/lib/components/tables/ndf-table/models/types.js +2 -0
  164. package/esm2015/lib/components/tables/ndf-table/ndf-table.module.js +104 -0
  165. package/esm2015/lib/components/tables/ndf-table/public-api.js +8 -0
  166. package/esm2015/lib/components/tables/ndf-table/services/filters-mapper.service.js +60 -0
  167. package/esm2015/lib/components/tables/ndf-table/services/index.js +3 -0
  168. package/esm2015/lib/components/tables/ndf-table/services/ndf-table.service.js +27 -0
  169. package/esm2015/lib/components/tables/ndf-table/utils/index.js +2 -0
  170. package/esm2015/lib/components/tables/ndf-table/utils/nxql-query.js +52 -0
  171. package/esm2015/lib/components/tables/public-api.js +4 -0
  172. package/esm2015/lib/components/tables/table/dynamic-column/dynamic-column.component.js +68 -0
  173. package/esm2015/lib/components/tables/table/dynamic-component.js +59 -0
  174. package/esm2015/lib/components/tables/table/index.js +2 -0
  175. package/esm2015/lib/components/{table → tables/table}/page-sizes-list/page-sizes-list.component.js +1 -1
  176. package/esm2015/lib/components/tables/table/public-api.js +6 -0
  177. package/esm2015/lib/components/{table → tables/table}/table/table.component.js +10 -10
  178. package/esm2015/lib/components/tables/table/table.module.js +69 -0
  179. package/esm2015/lib/core/services/index.js +3 -0
  180. package/esm2015/lib/shared/models/index.js +2 -1
  181. package/esm2015/lib/shared/models/types-helper.js +2 -0
  182. package/esm2015/public-api.js +4 -7
  183. package/fesm2015/nuxeo-development-framework.js +6330 -551
  184. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  185. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +1 -1
  186. package/lib/components/dynamic-search/dynamic-search.module.d.ts +1 -1
  187. package/lib/components/ndf-datepicker/adapters/hijri-adapter.d.ts +35 -0
  188. package/lib/components/ndf-datepicker/adapters/index.d.ts +2 -0
  189. package/lib/components/ndf-datepicker/adapters/moment-adapter.d.ts +50 -0
  190. package/lib/components/ndf-datepicker/base/base-value-accessor.d.ts +38 -0
  191. package/lib/components/ndf-datepicker/base/index.d.ts +1 -0
  192. package/lib/components/ndf-datepicker/components/base-datepicker.d.ts +13 -0
  193. package/lib/components/ndf-datepicker/components/index.d.ts +3 -0
  194. package/lib/components/ndf-datepicker/components/input-date.component.d.ts +19 -0
  195. package/lib/components/ndf-datepicker/components/input-range-date.component.d.ts +19 -0
  196. package/lib/components/ndf-datepicker/constants/date-locale-keys.d.ts +6 -0
  197. package/lib/components/ndf-datepicker/constants/date-picker.d.ts +1 -0
  198. package/lib/components/ndf-datepicker/constants/date-type.d.ts +4 -0
  199. package/lib/components/ndf-datepicker/constants/formats.d.ts +5 -0
  200. package/lib/components/ndf-datepicker/constants/hijri-dates-names.d.ts +12 -0
  201. package/lib/components/ndf-datepicker/constants/index.d.ts +5 -0
  202. package/lib/components/ndf-datepicker/containers/datepicker-container.d.ts +15 -0
  203. package/lib/components/ndf-datepicker/containers/index.d.ts +2 -0
  204. package/lib/components/ndf-datepicker/containers/ndf-gregorian-datepicker.component.d.ts +10 -0
  205. package/lib/components/ndf-datepicker/containers/ndf-hijri-datepicker.component.d.ts +10 -0
  206. package/lib/components/ndf-datepicker/index.d.ts +9 -0
  207. package/lib/components/ndf-datepicker/models/data-types.d.ts +11 -0
  208. package/lib/components/ndf-datepicker/models/index.d.ts +2 -0
  209. package/lib/components/ndf-datepicker/models/value-object.d.ts +8 -0
  210. package/lib/components/ndf-datepicker/ndf-datepicker.component.d.ts +42 -0
  211. package/lib/components/ndf-datepicker/ndf-datepicker.module.d.ts +20 -0
  212. package/lib/components/ndf-datepicker/services/calendar.service.d.ts +33 -0
  213. package/lib/components/ndf-datepicker/services/index.d.ts +2 -0
  214. package/lib/components/ndf-datepicker/services/localize-state.service.d.ts +34 -0
  215. package/lib/components/no-data-found/index.d.ts +2 -0
  216. package/lib/components/no-data-found/no-data-found.component.d.ts +8 -0
  217. package/lib/components/no-data-found/no-data.module.d.ts +9 -0
  218. package/lib/components/notifications/models/common.d.ts +0 -1
  219. package/lib/components/{dynamic-table → tables/dynamic-table}/dynamic-table/dynamic-table.component.d.ts +7 -3
  220. package/lib/components/{dynamic-table → tables/dynamic-table}/dynamic-table.module.d.ts +3 -3
  221. package/lib/components/tables/index.d.ts +1 -0
  222. package/lib/components/tables/ndf-table/components/index.d.ts +5 -0
  223. package/lib/components/tables/ndf-table/components/mode-toggler/mode-toggler.component.d.ts +13 -0
  224. package/lib/components/tables/ndf-table/components/sorting-list/sorting-list.component.d.ts +12 -0
  225. package/lib/components/tables/ndf-table/components/table-columns-toggler/table-columns-toggler.component.d.ts +35 -0
  226. package/lib/components/tables/ndf-table/components/table-export/table-export.component.d.ts +13 -0
  227. package/lib/components/tables/ndf-table/components/text-search/text-search.component.d.ts +21 -0
  228. package/lib/components/tables/ndf-table/constants/index.d.ts +1 -0
  229. package/lib/components/tables/ndf-table/constants/sizes.d.ts +4 -0
  230. package/lib/components/tables/ndf-table/containers/index.d.ts +1 -0
  231. package/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.d.ts +119 -0
  232. package/lib/components/tables/ndf-table/directives/actions.directive.d.ts +9 -0
  233. package/lib/components/tables/ndf-table/directives/filter-custom.directive.d.ts +9 -0
  234. package/lib/components/tables/ndf-table/directives/fluid-height.directive.d.ts +36 -0
  235. package/lib/components/tables/ndf-table/directives/index.d.ts +4 -0
  236. package/lib/components/tables/ndf-table/directives/search.directive.d.ts +9 -0
  237. package/lib/components/tables/ndf-table/filters-panel/base/base-aggregation-field.component.d.ts +35 -0
  238. package/lib/components/tables/ndf-table/filters-panel/base/base-checkbox-radio.component.d.ts +22 -0
  239. package/lib/components/tables/ndf-table/filters-panel/base/base-custom-field.component.d.ts +19 -0
  240. package/lib/components/tables/ndf-table/filters-panel/base/base-predicate-field.component.d.ts +15 -0
  241. package/lib/components/tables/ndf-table/filters-panel/base/base-value-accessor.component.d.ts +20 -0
  242. package/lib/components/tables/ndf-table/filters-panel/base/index.d.ts +5 -0
  243. package/lib/components/tables/ndf-table/filters-panel/components/__parts/field-header.component.d.ts +5 -0
  244. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.d.ts +35 -0
  245. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete.service.d.ts +13 -0
  246. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-collapse-control/filter-collapse-control.component.d.ts +12 -0
  247. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-date-range/filter-date-range.component.d.ts +16 -0
  248. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-empty-message.component.d.ts +6 -0
  249. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-option-text/filter-option-text.component.d.ts +9 -0
  250. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-options-sort/filter-options-sort.component.d.ts +11 -0
  251. package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-search-input/filter-search-input.component.d.ts +10 -0
  252. package/lib/components/tables/ndf-table/filters-panel/components/__parts/html-dialog/html-dialog.component.d.ts +10 -0
  253. package/lib/components/tables/ndf-table/filters-panel/components/__parts/index.d.ts +9 -0
  254. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-autocomplete/aggregation-autocomplete.component.d.ts +20 -0
  255. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-checkbox/aggregation-checkbox.component.d.ts +10 -0
  256. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-custom/aggregation-custom.component.d.ts +9 -0
  257. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-date-list/aggregation-date-list.component.d.ts +41 -0
  258. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-radio/aggregation-radio.component.d.ts +11 -0
  259. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-select/aggregation-select.component.d.ts +14 -0
  260. package/lib/components/tables/ndf-table/filters-panel/components/aggregation-switch/aggregation-switch.component.d.ts +11 -0
  261. package/lib/components/tables/ndf-table/filters-panel/components/index.d.ts +10 -0
  262. package/lib/components/tables/ndf-table/filters-panel/components/predicate-date-input/predicate-date-input.component.d.ts +25 -0
  263. package/lib/components/tables/ndf-table/filters-panel/components/predicate-text-input/predicate-text-input.component.d.ts +40 -0
  264. package/lib/components/tables/ndf-table/filters-panel/constants/common.d.ts +3 -0
  265. package/lib/components/tables/ndf-table/filters-panel/constants/field.d.ts +5 -0
  266. package/lib/components/tables/ndf-table/filters-panel/constants/index.d.ts +4 -0
  267. package/lib/components/tables/ndf-table/filters-panel/constants/operators.d.ts +17 -0
  268. package/lib/components/tables/ndf-table/filters-panel/constants/sort.d.ts +2 -0
  269. package/lib/components/tables/ndf-table/filters-panel/constants/type.d.ts +25 -0
  270. package/lib/components/tables/ndf-table/filters-panel/containers/aggregation-field/aggregation-field.component.d.ts +13 -0
  271. package/lib/components/tables/ndf-table/filters-panel/containers/base-field.d.ts +21 -0
  272. package/lib/components/tables/ndf-table/filters-panel/containers/custom-field/custom-field.component.d.ts +13 -0
  273. package/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/base-filters-panel.d.ts +19 -0
  274. package/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/filters-panel.component.d.ts +48 -0
  275. package/lib/components/tables/ndf-table/filters-panel/containers/index.d.ts +4 -0
  276. package/lib/components/tables/ndf-table/filters-panel/containers/predicate-field/predicate-field.component.d.ts +12 -0
  277. package/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user-switch.component.d.ts +14 -0
  278. package/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user.service.d.ts +8 -0
  279. package/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/user-types.d.ts +29 -0
  280. package/lib/components/tables/ndf-table/filters-panel/custom-components/index.d.ts +1 -0
  281. package/lib/components/tables/ndf-table/filters-panel/directives/autocomplete-template.directive.d.ts +9 -0
  282. package/lib/components/tables/ndf-table/filters-panel/directives/checkbox-template.directive.d.ts +9 -0
  283. package/lib/components/tables/ndf-table/filters-panel/directives/custom-template.directive.d.ts +9 -0
  284. package/lib/components/tables/ndf-table/filters-panel/directives/date-template.directive.d.ts +9 -0
  285. package/lib/components/tables/ndf-table/filters-panel/directives/dropdown-label-template.directive.d.ts +16 -0
  286. package/lib/components/tables/ndf-table/filters-panel/directives/dropdown-template.directive.d.ts +9 -0
  287. package/lib/components/tables/ndf-table/filters-panel/directives/index.d.ts +8 -0
  288. package/lib/components/tables/ndf-table/filters-panel/directives/radio-template.directive.d.ts +9 -0
  289. package/lib/components/tables/ndf-table/filters-panel/directives/switch-template.directive.d.ts +9 -0
  290. package/lib/components/tables/ndf-table/filters-panel/filters-panel.module.d.ts +65 -0
  291. package/lib/components/tables/ndf-table/filters-panel/index.d.ts +11 -0
  292. package/lib/components/tables/ndf-table/filters-panel/models/aggregation-field-config.d.ts +42 -0
  293. package/lib/components/tables/ndf-table/filters-panel/models/aggregation-response.model.d.ts +20 -0
  294. package/lib/components/tables/ndf-table/filters-panel/models/base-field-config.d.ts +13 -0
  295. package/lib/components/tables/ndf-table/filters-panel/models/common.d.ts +5 -0
  296. package/lib/components/tables/ndf-table/filters-panel/models/custom-field-config.d.ts +7 -0
  297. package/lib/components/tables/ndf-table/filters-panel/models/field-config.model.d.ts +14 -0
  298. package/lib/components/tables/ndf-table/filters-panel/models/field-options/autocomplete-options.d.ts +6 -0
  299. package/lib/components/tables/ndf-table/filters-panel/models/field-options/checkbox-options.d.ts +6 -0
  300. package/lib/components/tables/ndf-table/filters-panel/models/field-options/common-utils.d.ts +35 -0
  301. package/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-fields-options.d.ts +9 -0
  302. package/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-options.d.ts +5 -0
  303. package/lib/components/tables/ndf-table/filters-panel/models/field-options/date-list-options.d.ts +10 -0
  304. package/lib/components/tables/ndf-table/filters-panel/models/field-options/date-options.d.ts +22 -0
  305. package/lib/components/tables/ndf-table/filters-panel/models/field-options/dropdown-options.d.ts +6 -0
  306. package/lib/components/tables/ndf-table/filters-panel/models/field-options/index.d.ts +11 -0
  307. package/lib/components/tables/ndf-table/filters-panel/models/field-options/input-options.d.ts +40 -0
  308. package/lib/components/tables/ndf-table/filters-panel/models/field-options/radio-options.d.ts +6 -0
  309. package/lib/components/tables/ndf-table/filters-panel/models/field-options/switch-options.d.ts +6 -0
  310. package/lib/components/tables/ndf-table/filters-panel/models/filter-option.model.d.ts +13 -0
  311. package/lib/components/tables/ndf-table/filters-panel/models/form-query-request.d.ts +5 -0
  312. package/lib/components/tables/ndf-table/filters-panel/models/index.d.ts +12 -0
  313. package/lib/components/tables/ndf-table/filters-panel/models/predicate-field-config.d.ts +7 -0
  314. package/lib/components/tables/ndf-table/filters-panel/models/types-helper.d.ts +47 -0
  315. package/lib/components/tables/ndf-table/filters-panel/models/value-object.model.d.ts +18 -0
  316. package/lib/components/tables/ndf-table/filters-panel/pipes/autocomplete-filter.pipe.d.ts +11 -0
  317. package/lib/components/tables/ndf-table/filters-panel/pipes/filter.pipe.d.ts +11 -0
  318. package/lib/components/tables/ndf-table/filters-panel/pipes/hash-translate.pipe.d.ts +18 -0
  319. package/lib/components/tables/ndf-table/filters-panel/pipes/index.d.ts +8 -0
  320. package/lib/components/tables/ndf-table/filters-panel/pipes/localized-label.pipe.d.ts +14 -0
  321. package/lib/components/tables/ndf-table/filters-panel/pipes/roles-filters.pipe.d.ts +12 -0
  322. package/lib/components/tables/ndf-table/filters-panel/pipes/sanitizer.pipe.d.ts +10 -0
  323. package/lib/components/tables/ndf-table/filters-panel/pipes/sort.pipe.d.ts +11 -0
  324. package/lib/components/tables/ndf-table/filters-panel/pipes/tooltip.pipe.d.ts +21 -0
  325. package/lib/components/tables/ndf-table/filters-panel/services/aggregation-field.service.d.ts +16 -0
  326. package/lib/components/tables/ndf-table/filters-panel/services/dynamic-component-loader.service.d.ts +18 -0
  327. package/lib/components/tables/ndf-table/filters-panel/services/filters-query.service.d.ts +58 -0
  328. package/lib/components/tables/ndf-table/filters-panel/services/index.d.ts +4 -0
  329. package/lib/components/tables/ndf-table/filters-panel/services/ndf-transform.service.d.ts +55 -0
  330. package/lib/components/tables/ndf-table/filters-panel/utility/index.d.ts +2 -0
  331. package/lib/components/tables/ndf-table/filters-panel/utility/nxql.d.ts +19 -0
  332. package/lib/components/tables/ndf-table/filters-panel/utility/object.d.ts +7 -0
  333. package/lib/components/tables/ndf-table/index.d.ts +1 -0
  334. package/lib/components/tables/ndf-table/models/index.d.ts +7 -0
  335. package/lib/components/tables/ndf-table/models/payload-types.d.ts +28 -0
  336. package/lib/components/tables/ndf-table/models/search.config.d.ts +13 -0
  337. package/lib/components/tables/ndf-table/models/table-column.d.ts +34 -0
  338. package/lib/components/tables/ndf-table/models/table-config.d.ts +45 -0
  339. package/lib/components/tables/ndf-table/models/table-mode.d.ts +25 -0
  340. package/lib/components/tables/ndf-table/models/table-options.d.ts +54 -0
  341. package/lib/components/tables/ndf-table/models/types.d.ts +38 -0
  342. package/lib/components/tables/ndf-table/ndf-table.module.d.ts +32 -0
  343. package/lib/components/tables/ndf-table/public-api.d.ts +7 -0
  344. package/lib/components/tables/ndf-table/services/filters-mapper.service.d.ts +17 -0
  345. package/lib/components/tables/ndf-table/services/index.d.ts +2 -0
  346. package/lib/components/tables/ndf-table/services/ndf-table.service.d.ts +10 -0
  347. package/lib/components/tables/ndf-table/utils/index.d.ts +1 -0
  348. package/lib/components/tables/ndf-table/utils/nxql-query.d.ts +10 -0
  349. package/lib/components/tables/public-api.d.ts +3 -0
  350. package/lib/components/{table → tables/table}/dynamic-column/dynamic-column.component.d.ts +1 -1
  351. package/lib/components/{table → tables/table}/dynamic-component.d.ts +1 -1
  352. package/lib/components/tables/table/index.d.ts +1 -0
  353. package/lib/components/tables/table/public-api.d.ts +5 -0
  354. package/lib/components/{table → tables/table}/table/table.component.d.ts +3 -3
  355. package/lib/components/{table → tables/table}/table.module.d.ts +3 -3
  356. package/lib/core/services/index.d.ts +2 -0
  357. package/lib/shared/models/index.d.ts +1 -0
  358. package/lib/shared/models/types-helper.d.ts +1 -0
  359. package/package.json +3 -2
  360. package/public-api.d.ts +3 -6
  361. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +0 -349
  362. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +0 -51
  363. package/esm2015/lib/components/dynamic-table/public-api.js +0 -5
  364. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +0 -16
  365. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +0 -68
  366. package/esm2015/lib/components/table/dynamic-component.js +0 -59
  367. package/esm2015/lib/components/table/table.module.js +0 -69
  368. /package/lib/components/{dynamic-table → tables/dynamic-table}/directives/empty-state.directive.d.ts +0 -0
  369. /package/lib/components/{dynamic-table → tables/dynamic-table}/index.d.ts +0 -0
  370. /package/lib/components/{dynamic-table → tables/dynamic-table}/public-api.d.ts +0 -0
  371. /package/lib/components/{dynamic-table → tables/dynamic-table}/services/dynamic-table.service.d.ts +0 -0
  372. /package/lib/components/{table → tables/table}/page-sizes-list/page-sizes-list.component.d.ts +0 -0
@@ -0,0 +1,55 @@
1
+ import { Observable } from 'rxjs';
2
+ import { NdfTransformerDataModel, NdfTransformerFunction } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NdfTransformService {
5
+ private readonly _transformations;
6
+ /**
7
+ * Registers one or multiple transformer functions.
8
+ *
9
+ * @param {Record<string, NdfTransformerFunction> | string} keys - A record of key-function pairs or a single key.
10
+ * @param {NdfTransformerFunction} [arg2] - A transformer function if registering a single key.
11
+ */
12
+ register(keys: Record<string, NdfTransformerFunction>): void;
13
+ register(key: string, fn: NdfTransformerFunction): void;
14
+ /**
15
+ * Retrieves a transformer function by its key.
16
+ *
17
+ * @param {string} key - The key of the transformer function.
18
+ * @returns {NdfTransformerFunction | undefined} - The transformer function or undefined if not found.
19
+ */
20
+ get(key: string): NdfTransformerFunction | undefined;
21
+ /**
22
+ * Retrieves all registered transformer functions.
23
+ *
24
+ * @returns {Map<string, NdfTransformerFunction>} - A map of all transformer functions.
25
+ */
26
+ getAll(): Map<string, NdfTransformerFunction>;
27
+ /**
28
+ * Clears all registered transformer functions.
29
+ */
30
+ clear(): void;
31
+ /**
32
+ * Checks if a transformer function is registered for a specific key.
33
+ *
34
+ * @param {string} key - The key to check.
35
+ * @returns {boolean} - True if the key exists, false otherwise.
36
+ */
37
+ has(key: string): boolean;
38
+ /**
39
+ * Removes a transformer function by its key.
40
+ *
41
+ * @param {string} key - The key of the transformer function to remove.
42
+ */
43
+ remove(key: string): void;
44
+ /**
45
+ * Executes a transformer function for a specific key with the provided input keys.
46
+ *
47
+ * @param {string} key - The key of the transformer function to execute.
48
+ * @param {string[]} keys - The input keys to pass to the transformer function.
49
+ * @throws {Error} - If no transformer function is registered for the key.
50
+ * @returns {Observable<NdfTransformerDataModel[]>} - The result of the transformer function.
51
+ */
52
+ transform(key: string, keys: string[]): Observable<NdfTransformerDataModel[]>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<NdfTransformService, never>;
54
+ static ɵprov: i0.ɵɵInjectableDeclaration<NdfTransformService>;
55
+ }
@@ -0,0 +1,2 @@
1
+ export * from './nxql';
2
+ export * from './object';
@@ -0,0 +1,19 @@
1
+ import { ComparisonOperator, FieldValueObject } from '../models';
2
+ export declare class NxQL {
3
+ static _getDateRange(value: {
4
+ min?: string;
5
+ max?: string;
6
+ }): string;
7
+ static _getMinMaxRange(value: {
8
+ min?: string;
9
+ max?: string;
10
+ }, prefix?: string): string;
11
+ static _getRangeOperator(value: {
12
+ min?: string;
13
+ max?: string;
14
+ }): ComparisonOperator | null;
15
+ static _getValueRange(value: {
16
+ min?: string;
17
+ max?: string;
18
+ }, prefix?: string, operator?: ComparisonOperator): FieldValueObject;
19
+ }
@@ -0,0 +1,7 @@
1
+ import { FieldValueObject } from '../models';
2
+ export declare function isFieldValueObject(value: any): value is FieldValueObject;
3
+ export declare function isDateObject(obj: any): obj is {
4
+ min: string;
5
+ max: string;
6
+ };
7
+ export declare function removeEmptyKeys<T = any>(data: any): T;
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,7 @@
1
+ export * from './payload-types';
2
+ export * from './table-column';
3
+ export * from './table-config';
4
+ export * from './table-mode';
5
+ export * from './table-options';
6
+ export * from './types';
7
+ export * from './search.config';
@@ -0,0 +1,28 @@
1
+ import { ComparisonOperator } from '../filters-panel';
2
+ export declare type OperatorReturn = {
3
+ name: string;
4
+ value: string;
5
+ operator: ComparisonOperator;
6
+ };
7
+ export declare type NdfRequestConfig = {
8
+ method: 'post' | 'get';
9
+ url: string;
10
+ payload?: Record<string, any>;
11
+ params?: Record<string, any>;
12
+ headers?: Record<string, any>;
13
+ };
14
+ export declare type NdfExportPayload = {
15
+ predicateList: {
16
+ name: string;
17
+ value: string;
18
+ operator: string;
19
+ }[];
20
+ reportMetaData: {
21
+ docTypeName: string;
22
+ fileType: string;
23
+ reportTitle?: string;
24
+ locale: string;
25
+ fields: string[];
26
+ headers?: string[];
27
+ };
28
+ };
@@ -0,0 +1,13 @@
1
+ import { ComparisonOperator, HtmlDialogConfig } from '../filters-panel';
2
+ export declare type GlobalSearchConfig = {
3
+ fieldKey: string;
4
+ label?: string;
5
+ placeholder?: string;
6
+ operator?: ComparisonOperator;
7
+ searchMode: 'realTime' | 'triggered';
8
+ debounceTime?: number;
9
+ searchButtonLabel?: string;
10
+ suffix?: {
11
+ dialog?: HtmlDialogConfig;
12
+ };
13
+ };
@@ -0,0 +1,34 @@
1
+ export declare type TableColumnAction = {
2
+ type?: 'button' | 'icon';
3
+ class?: string;
4
+ title?: string;
5
+ iconClass?: string;
6
+ permission?: string;
7
+ icon?: string;
8
+ tooltip?: string;
9
+ actionName: string;
10
+ };
11
+ export interface TableColumnConfig {
12
+ name: string;
13
+ id?: string;
14
+ prop: string;
15
+ display: boolean;
16
+ type: string;
17
+ size?: number;
18
+ minWidth?: number;
19
+ maxWidth?: number;
20
+ sortable?: boolean;
21
+ headerClass?: string;
22
+ vocabularyId?: string;
23
+ actions?: TableColumnAction[];
24
+ useBadge?: boolean;
25
+ template?: string;
26
+ custom1stCellTemplate?: string;
27
+ translatePrefix?: string;
28
+ isOrginalKey?: string | boolean;
29
+ isBooleanValue?: boolean;
30
+ cardActions?: any[];
31
+ order?: number;
32
+ defaultVisible?: boolean;
33
+ options?: Record<string, any>;
34
+ }
@@ -0,0 +1,45 @@
1
+ import { TableColumnAction, TableColumnConfig } from './table-column';
2
+ import { NdfTableOptions } from './table-options';
3
+ import { TableDefaultSortModel, TablePaginationOptions, TableSortingArray, TableSortOptions, TableTab } from './types';
4
+ export declare type NdfTableConfig = TablePaginationOptions & {
5
+ isDataProvided?: boolean;
6
+ options?: NdfTableOptions;
7
+ scrollbarH?: boolean;
8
+ columnMode?: 'flex' | 'fixed' | 'force';
9
+ pageProvider: string;
10
+ fields: Record<string, string>;
11
+ customUrl?: {
12
+ url: string;
13
+ method: 'POST' | 'GET';
14
+ payload?: Record<string, any>;
15
+ predicateKey?: string;
16
+ };
17
+ quickFilters?: string;
18
+ columns: TableColumnConfig[];
19
+ columnsWithDynamicVisibiltiy?: string[];
20
+ columnsWithDynamicDisplay?: string[];
21
+ filtersWithDynamicDisplay?: string[];
22
+ responsiveColumns?: TableColumnConfig[];
23
+ fullWidth?: string;
24
+ prefix?: string;
25
+ sortingBy?: TableSortOptions;
26
+ defaultSort?: TableDefaultSortModel;
27
+ headers?: Record<string, any>;
28
+ queryParam?: Record<string, any>;
29
+ tableActions?: TableColumnAction[];
30
+ highlightSelectedCard?: boolean;
31
+ tabs?: TableTab[];
32
+ sortingArray?: TableSortingArray[];
33
+ skipAggregation?: 'never' | 'onPageChange';
34
+ range?: any;
35
+ isSearchPage?: any;
36
+ multiSelectRows?: boolean;
37
+ customFirstRow?: boolean;
38
+ showActionsAsMenu?: boolean;
39
+ filterParams?: Record<string, any>;
40
+ format?: string;
41
+ pageSizes?: {
42
+ label: string;
43
+ size: number;
44
+ }[];
45
+ };
@@ -0,0 +1,25 @@
1
+ import { Prettify } from '../filters-panel';
2
+ declare type BaseTableModel = {
3
+ toggleMode?: boolean;
4
+ availableMode?: TableModeList;
5
+ };
6
+ declare type StandardTableMode = Prettify<BaseTableModel & {
7
+ mode?: Exclude<TableViewMode, 'custom'>;
8
+ }>;
9
+ declare type CustomTableMode = Prettify<BaseTableModel & {
10
+ mode: 'custom';
11
+ componentName: string;
12
+ }>;
13
+ export declare type TableViewMode = 'dynamicCard' | 'list' | 'card' | 'custom';
14
+ export declare type TableToggleItem = {
15
+ key?: string;
16
+ value: TableViewMode;
17
+ icon: string;
18
+ };
19
+ export declare type TableModeList = TableToggleItem[];
20
+ export declare type TableModeConfig = StandardTableMode | CustomTableMode;
21
+ export declare type TableSortConfig = {
22
+ enabled: boolean;
23
+ frozenColumns?: string[];
24
+ };
25
+ export {};
@@ -0,0 +1,54 @@
1
+ import { FieldConfigModel } from '../filters-panel';
2
+ import { GlobalSearchConfig } from './search.config';
3
+ import { TableModeConfig, TableSortConfig } from './table-mode';
4
+ import { LabelValue, SortTableItem } from './types';
5
+ import { NdfRequestConfig } from './payload-types';
6
+ export declare type NdfTableOptions = {
7
+ search?: GlobalSearchConfig;
8
+ filters: FiltersConfig;
9
+ sortList?: SortTableItem[];
10
+ tableMode?: TableModeConfig;
11
+ export?: TableExportConfig;
12
+ columns?: {
13
+ toggle?: boolean;
14
+ sortable?: TableSortConfig;
15
+ };
16
+ };
17
+ export declare type FilterMode = {
18
+ mode: 'payload';
19
+ } | {
20
+ mode: 'params';
21
+ stringifyParams: boolean;
22
+ };
23
+ export declare type FilterReloadConfig = {
24
+ strategy: 'always';
25
+ } | {
26
+ strategy: 'never';
27
+ } | {
28
+ strategy: 'onChange';
29
+ triggerFields: string[];
30
+ };
31
+ export declare type FiltersConfig = FilterMode & {
32
+ reload?: FilterReloadConfig;
33
+ fields: FieldConfigModel[];
34
+ panel?: {
35
+ visible?: boolean;
36
+ toggleButton?: boolean;
37
+ };
38
+ };
39
+ export declare type CustomCriteriaModel = {
40
+ params?: Record<string, any>;
41
+ payload?: {
42
+ predicateList: any[];
43
+ } & Record<string, any>;
44
+ } | null;
45
+ export declare type TableExportConfig = {
46
+ enabled: boolean;
47
+ request: NdfRequestConfig;
48
+ docTypeName: 'task' | 'request' | 'record';
49
+ defaultType: 'excel' | 'docx' | 'pdf';
50
+ allowedTypes?: LabelValue<string, 'excel' | 'docx' | 'pdf'>[];
51
+ fields?: string[];
52
+ locale?: string;
53
+ };
54
+ export declare type ExportType = TableExportConfig['defaultType'];
@@ -0,0 +1,38 @@
1
+ export declare type TablePaginationOptions = {
2
+ pageNumber: number;
3
+ pageSize: number;
4
+ };
5
+ export declare type TableSortOptions = {
6
+ sortBy: string;
7
+ sortOrder: string;
8
+ };
9
+ export declare type TableDefaultSortModel = {
10
+ name: string;
11
+ dir: string;
12
+ };
13
+ export declare type TableSortingArray = {
14
+ id: string;
15
+ componentType: string;
16
+ pageProvider?: string;
17
+ config?: {
18
+ propertyAr: string;
19
+ propertyEn: string;
20
+ filterParam: string;
21
+ };
22
+ languages?: string[];
23
+ };
24
+ export declare type TableTab = {
25
+ tabTitle: string;
26
+ fields: Record<string, string>;
27
+ pageProvider: string;
28
+ };
29
+ export declare type SortTableItem = {
30
+ key: string;
31
+ value: string;
32
+ direction: 'asc' | 'desc';
33
+ selected?: boolean;
34
+ };
35
+ export declare type LabelValue<L, V> = {
36
+ label: L;
37
+ value: V;
38
+ };
@@ -0,0 +1,32 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./containers/ndf-table/ndf-table.component";
3
+ import * as i2 from "./components/sorting-list/sorting-list.component";
4
+ import * as i3 from "./components/table-columns-toggler/table-columns-toggler.component";
5
+ import * as i4 from "./components/mode-toggler/mode-toggler.component";
6
+ import * as i5 from "./components/text-search/text-search.component";
7
+ import * as i6 from "./directives/actions.directive";
8
+ import * as i7 from "./directives/search.directive";
9
+ import * as i8 from "./directives/filter-custom.directive";
10
+ import * as i9 from "./components/table-export/table-export.component";
11
+ import * as i10 from "@angular/common";
12
+ import * as i11 from "./filters-panel/filters-panel.module";
13
+ import * as i12 from "../dynamic-table/dynamic-table.module";
14
+ import * as i13 from "@angular/material/menu";
15
+ import * as i14 from "@angular/material/checkbox";
16
+ import * as i15 from "@ngx-translate/core";
17
+ import * as i16 from "@angular/material/button";
18
+ import * as i17 from "@angular/material/slide-toggle";
19
+ import * as i18 from "@angular/material/button-toggle";
20
+ import * as i19 from "@angular/material/icon";
21
+ import * as i20 from "@angular/forms";
22
+ import * as i21 from "./directives/fluid-height.directive";
23
+ import * as i22 from "@angular/material/progress-spinner";
24
+ import * as i23 from "@angular/material/tooltip";
25
+ import * as i24 from "../table/table.module";
26
+ import * as i25 from "@angular/cdk/drag-drop";
27
+ import * as i26 from "../../no-data-found/no-data.module";
28
+ export declare class NdfTableModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<NdfTableModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NdfTableModule, [typeof i1.NdfTableComponent, typeof i2.SortingListComponent, typeof i3.TableColumnsTogglerComponent, typeof i4.ModeTogglerComponent, typeof i5.TextSearchComponent, typeof i6.ActionsTableTemplateDirective, typeof i7.SearchTableTemplateDirective, typeof i8.FilterCustomTemplateDirective, typeof i9.TableExportComponent], [typeof i10.CommonModule, typeof i11.FiltersPanelModule, typeof i12.DynamicTableModule, typeof i13.MatMenuModule, typeof i14.MatCheckboxModule, typeof i15.TranslateModule, typeof i16.MatButtonModule, typeof i17.MatSlideToggleModule, typeof i18.MatButtonToggleModule, typeof i19.MatIconModule, typeof i20.ReactiveFormsModule, typeof i21.FluidHeightModule, typeof i22.MatProgressSpinnerModule, typeof i23.MatTooltipModule, typeof i24.TableModule, typeof i25.DragDropModule, typeof i26.NoDataModule], [typeof i1.NdfTableComponent, typeof i2.SortingListComponent, typeof i3.TableColumnsTogglerComponent, typeof i4.ModeTogglerComponent, typeof i5.TextSearchComponent, typeof i6.ActionsTableTemplateDirective, typeof i7.SearchTableTemplateDirective, typeof i8.FilterCustomTemplateDirective]>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<NdfTableModule>;
32
+ }
@@ -0,0 +1,7 @@
1
+ export * from './components';
2
+ export * from './containers';
3
+ export * from './directives';
4
+ export * from './filters-panel';
5
+ export * from './ndf-table.module';
6
+ export * from './services';
7
+ export * from './models';
@@ -0,0 +1,17 @@
1
+ import { FieldConfigModel } from '../filters-panel';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FiltersMapperService {
4
+ preparePayload(fields: FieldConfigModel[], criteria: Record<string, any>): {
5
+ params: {};
6
+ payload: {
7
+ predicateList: any[];
8
+ };
9
+ };
10
+ private _preparePayload;
11
+ private _stringifyValue;
12
+ private _sendInQueryParams;
13
+ private _sendInPayload;
14
+ private _sendCustom;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersMapperService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<FiltersMapperService>;
17
+ }
@@ -0,0 +1,2 @@
1
+ export * from './filters-mapper.service';
2
+ export * from './ndf-table.service';
@@ -0,0 +1,10 @@
1
+ import { Injector } from '@angular/core';
2
+ import { NdfExportPayload, NdfRequestConfig } from '../models';
3
+ import { BaseService } from '../../../../shared/services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NdfTableService extends BaseService {
6
+ constructor(injector: Injector);
7
+ exportTable(request: NdfRequestConfig, payload: NdfExportPayload): import("rxjs").Observable<boolean>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NdfTableService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<NdfTableService>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './nxql-query';
@@ -0,0 +1,10 @@
1
+ import { ComparisonOperator, FieldValueObject, FieldConfigModel, NxQL } from '../filters-panel';
2
+ import { OperatorReturn } from '../models';
3
+ export declare class NxQlQuery extends NxQL {
4
+ static preparePayloadItem(value: FieldValueObject, field: FieldConfigModel): OperatorReturn;
5
+ static prepareValueByOperator(operator: ComparisonOperator, fieldValue: FieldValueObject): string;
6
+ static equals(value: string, prefix?: string): string;
7
+ static like(value: string, prefix?: string): string;
8
+ static in(value: string, prefix?: string): string;
9
+ static between(value1: string, value2: string): string;
10
+ }
@@ -0,0 +1,3 @@
1
+ export * from './table';
2
+ export * from './ndf-table';
3
+ export * from './dynamic-table';
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, ComponentFactoryResolver, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { ExtensionService } from '../../../core/services/extension/extension.service';
2
+ import { ExtensionService } from '../../../../core/services/extension/extension.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DynamicColumnComponent implements OnInit, OnChanges, OnDestroy {
5
5
  private extensions;
@@ -1,5 +1,5 @@
1
1
  import { ComponentFactoryResolver, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
- import { ExtensionService } from '../../core/services/extension/extension.service';
2
+ import { ExtensionService } from '../../../core/services/extension/extension.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DynamicCustomComponent implements OnInit, OnChanges, OnDestroy {
5
5
  private _extensions;
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,5 @@
1
+ export * from './dynamic-column/dynamic-column.component';
2
+ export * from './dynamic-component';
3
+ export * from './page-sizes-list/page-sizes-list.component';
4
+ export * from './table.module';
5
+ export * from './table/table.component';
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { BehaviorSubject, Observable, Subscription } from 'rxjs';
3
- import { AppConfigService } from '../../../configuration/app-config.service';
4
- import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
5
- import { TranslationService } from '../../../core/services/translation/translation.service';
3
+ import { AppConfigService } from '../../../../configuration/app-config.service';
4
+ import { NuxeoService } from '../../../../core/services';
5
+ import { TranslationService } from '../../../../core/services/translation/translation.service';
6
6
  import { DatatableComponent } from '@swimlane/ngx-datatable';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
@@ -5,11 +5,11 @@ import * as i3 from "./page-sizes-list/page-sizes-list.component";
5
5
  import * as i4 from "./dynamic-component";
6
6
  import * as i5 from "@angular/common";
7
7
  import * as i6 from "@swimlane/ngx-datatable";
8
- import * as i7 from "../../pipes/pipes.module";
8
+ import * as i7 from "../../../pipes/pipes.module";
9
9
  import * as i8 from "@ngx-translate/core";
10
10
  import * as i9 from "@angular/material/tooltip";
11
- import * as i10 from "../../directive/directive.module";
12
- import * as i11 from "../dynamic-view/dynamic-view.module";
11
+ import * as i10 from "../../../directive/directive.module";
12
+ import * as i11 from "../../dynamic-view/dynamic-view.module";
13
13
  import * as i12 from "@angular/material/checkbox";
14
14
  import * as i13 from "@angular/material/menu";
15
15
  import * as i14 from "@ng-select/ng-select";
@@ -0,0 +1,2 @@
1
+ export * from './nuxeo/nuxeo.service';
2
+ export * from './roles/roles.service';
@@ -1,3 +1,4 @@
1
1
  export * from './mapper/index';
2
2
  export * from './nuxeo-response.model';
3
3
  export * from './task.model';
4
+ export * from './types-helper';
@@ -0,0 +1 @@
1
+ export declare type TranslatedKey = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "5.2.3",
3
+ "version": "5.2.4-1",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",
@@ -67,7 +67,8 @@
67
67
  "rete-readonly-plugin": "^2.0.2",
68
68
  "rete-render-utils": "^2.0.3",
69
69
  "elkjs": "^0.9.3",
70
- "d3-shape": "^3.2.0"
70
+ "d3-shape": "^3.2.0",
71
+ "ngx-mask": "^13.2.2"
71
72
  },
72
73
  "dependencies": {
73
74
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -71,7 +71,6 @@ export * from './lib/components/dynamic-form/components/dynamic-form/form-builde
71
71
  export * from './lib/components/dynamic-form/dynamic-form.module';
72
72
  export * from './lib/components/dynamic-search/dynamic-search.module';
73
73
  export * from './lib/components/dynamic-search/dynamic-search/dynamic-search.component';
74
- export * from './lib/components/dynamic-table';
75
74
  export * from './lib/components/dynamic-view/boolean-viewer/boolean-viewer.component';
76
75
  export * from './lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component';
77
76
  export * from './lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component';
@@ -124,11 +123,6 @@ export * from './lib/components/pdf-tron/pdftron/pdftron.service';
124
123
  export * from './lib/components/pdf-tron/pdftron/silent-pdftron.service';
125
124
  export * from './lib/components/select/select.module';
126
125
  export * from './lib/components/select/select/select.component';
127
- export * from './lib/components/table/dynamic-column/dynamic-column.component';
128
- export * from './lib/components/table/dynamic-component';
129
- export * from './lib/components/table/page-sizes-list/page-sizes-list.component';
130
- export * from './lib/components/table/table.module';
131
- export * from './lib/components/table/table/table.component';
132
126
  export * from './lib/components/users-card/users-card.component';
133
127
  export * from './lib/components/users-card/users-card.module';
134
128
  export * from './lib/components/viewer-log/components/viewer-log/viewer-log.component';
@@ -234,3 +228,6 @@ export * from './lib/directive/permissions/evaluators.service';
234
228
  export * from './lib/components/comments/services/comment-api.service';
235
229
  export * from './lib/components/charts';
236
230
  export * from './lib/components/skeleton';
231
+ export * from './lib/components/tables';
232
+ export * from './lib/components/ndf-datepicker';
233
+ export * from './lib/components/no-data-found';