@talxis/base-controls 1.2605.1 → 1.2606.2

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 (283) hide show
  1. package/dist/components/DatasetControl/EditColumns/OptionText/OptionText.js +1 -2
  2. package/dist/components/DatasetControl/EditColumns/OptionText/OptionText.js.map +1 -1
  3. package/dist/components/Grid/cells/cell/Cell.js +2 -6
  4. package/dist/components/Grid/cells/cell/Cell.js.map +1 -1
  5. package/dist/components/Grid/column-headers/column-header/ColumnHeader.js +1 -1
  6. package/dist/components/Grid/column-headers/column-header/ColumnHeader.js.map +1 -1
  7. package/dist/components/Grid/grid/ag-grid/AgGridModel.js +1 -1
  8. package/dist/components/Grid/grid/ag-grid/AgGridModel.js.map +1 -1
  9. package/dist/components/Lookup/Lookup.js +4 -1
  10. package/dist/components/Lookup/Lookup.js.map +1 -1
  11. package/dist/components/Lookup/components/TargetSelector.js +1 -1
  12. package/dist/components/Lookup/components/TargetSelector.js.map +1 -1
  13. package/dist/components/Lookup/hooks/useLookup.d.ts +8 -0
  14. package/dist/components/Lookup/translations.d.ts +8 -0
  15. package/dist/components/Lookup/translations.js +8 -0
  16. package/dist/components/Lookup/translations.js.map +1 -1
  17. package/dist/components/TaskGrid/TaskGrid.js +5 -6
  18. package/dist/components/TaskGrid/TaskGrid.js.map +1 -1
  19. package/dist/components/TaskGrid/TaskGridDatasetControl.d.ts +18 -5
  20. package/dist/components/TaskGrid/TaskGridDatasetControl.js +63 -30
  21. package/dist/components/TaskGrid/TaskGridDatasetControl.js.map +1 -1
  22. package/dist/components/TaskGrid/TaskGridDatasetControlFactory.d.ts +3 -2
  23. package/dist/components/TaskGrid/TaskGridDatasetControlFactory.js +10 -5
  24. package/dist/components/TaskGrid/TaskGridDatasetControlFactory.js.map +1 -1
  25. package/dist/components/TaskGrid/components/grid/cell-renderers/add-task-button/AddTaskButton.js +3 -8
  26. package/dist/components/TaskGrid/components/grid/cell-renderers/add-task-button/AddTaskButton.js.map +1 -1
  27. package/dist/components/TaskGrid/components/grid/cell-renderers/lookup-many/LookupManyCellRenderer.d.ts +7 -0
  28. package/dist/components/TaskGrid/components/grid/cell-renderers/lookup-many/LookupManyCellRenderer.js +102 -0
  29. package/dist/components/TaskGrid/components/grid/cell-renderers/lookup-many/LookupManyCellRenderer.js.map +1 -0
  30. package/dist/components/TaskGrid/components/grid/cell-renderers/lookup-many/index.d.ts +1 -0
  31. package/dist/components/TaskGrid/components/grid/cell-renderers/lookup-many/index.js +2 -0
  32. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/PercentComplete.d.ts +1 -0
  33. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/PercentComplete.js +4 -5
  34. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/PercentComplete.js.map +1 -1
  35. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/index.js +1 -1
  36. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/styles.d.ts +0 -6
  37. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/styles.js +0 -6
  38. package/dist/components/TaskGrid/components/grid/cell-renderers/percent-complete/styles.js.map +1 -1
  39. package/dist/components/TaskGrid/components/grid/grid-customizer/GridCustomizer.d.ts +2 -7
  40. package/dist/components/TaskGrid/components/grid/grid-customizer/GridCustomizer.js +47 -16
  41. package/dist/components/TaskGrid/components/grid/grid-customizer/GridCustomizer.js.map +1 -1
  42. package/dist/components/TaskGrid/components/grid/grid-drag-handler/GridDragHandler.js.map +1 -1
  43. package/dist/components/TaskGrid/components/grid/group-cell/styles.d.ts +3 -0
  44. package/dist/components/TaskGrid/components/grid/group-cell/styles.js +3 -0
  45. package/dist/components/TaskGrid/components/grid/group-cell/styles.js.map +1 -1
  46. package/dist/components/TaskGrid/components/grid/lookup-many/LookupMany.d.ts +13 -0
  47. package/dist/components/TaskGrid/components/grid/lookup-many/LookupMany.js +84 -0
  48. package/dist/components/TaskGrid/components/grid/lookup-many/LookupMany.js.map +1 -0
  49. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/ColorfulLookupMany.d.ts +5 -0
  50. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/ColorfulLookupMany.js +12 -0
  51. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/ColorfulLookupMany.js.map +1 -0
  52. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/index.d.ts +2 -0
  53. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/index.js +13 -0
  54. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/index.js.map +1 -0
  55. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/multi-value-container/MultiValueContainer.d.ts +3 -0
  56. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/multi-value-container/MultiValueContainer.js +17 -0
  57. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/multi-value-container/MultiValueContainer.js.map +1 -0
  58. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/multi-value-container/index.d.ts +1 -0
  59. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/multi-value-container/index.js +2 -0
  60. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/Option.d.ts +3 -0
  61. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/Option.js +17 -0
  62. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/Option.js.map +1 -0
  63. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/index.d.ts +1 -0
  64. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/index.js +2 -0
  65. package/dist/components/TaskGrid/{data-providers/custom-columns-data-provider → components/grid/lookup-many/colorful-lookup-many/components/option}/index.js.map +1 -1
  66. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/styles.d.ts +14 -0
  67. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/styles.js +21 -0
  68. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/components/option/styles.js.map +1 -0
  69. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/context.d.ts +4 -0
  70. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/context.js +9 -0
  71. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/context.js.map +1 -0
  72. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/index.d.ts +1 -0
  73. package/dist/components/TaskGrid/components/grid/lookup-many/colorful-lookup-many/index.js +2 -0
  74. package/dist/components/TaskGrid/{data-providers/saved-query-data-provider → components/grid/lookup-many/colorful-lookup-many}/index.js.map +1 -1
  75. package/dist/components/TaskGrid/components/grid/lookup-many/components/components.d.ts +11 -0
  76. package/dist/components/TaskGrid/components/grid/lookup-many/components/components.js +17 -0
  77. package/dist/components/TaskGrid/components/grid/lookup-many/components/components.js.map +1 -0
  78. package/dist/components/TaskGrid/components/grid/lookup-many/components/index.d.ts +1 -0
  79. package/dist/components/TaskGrid/components/grid/lookup-many/components/index.js +2 -0
  80. package/dist/components/TaskGrid/components/grid/lookup-many/components/index.js.map +1 -0
  81. package/dist/components/TaskGrid/components/grid/lookup-many/components/menu/Menu.d.ts +3 -0
  82. package/dist/components/TaskGrid/components/grid/lookup-many/components/menu/Menu.js +10 -0
  83. package/dist/components/TaskGrid/components/grid/lookup-many/components/menu/Menu.js.map +1 -0
  84. package/dist/components/TaskGrid/components/grid/lookup-many/components/menu/index.d.ts +1 -0
  85. package/dist/components/TaskGrid/components/grid/lookup-many/components/menu/index.js +2 -0
  86. package/dist/components/TaskGrid/components/grid/lookup-many/components/menu/index.js.map +1 -0
  87. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/MultiValueContainer.d.ts +7 -0
  88. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/MultiValueContainer.js +16 -0
  89. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/MultiValueContainer.js.map +1 -0
  90. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/index.d.ts +1 -0
  91. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/index.js +2 -0
  92. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/index.js.map +1 -0
  93. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/styles.d.ts +18 -0
  94. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/styles.js +24 -0
  95. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/styles.js.map +1 -0
  96. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/MultiValueLabel.d.ts +3 -0
  97. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/MultiValueLabel.js +21 -0
  98. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/MultiValueLabel.js.map +1 -0
  99. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/index.d.ts +1 -0
  100. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/index.js +2 -0
  101. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/index.js.map +1 -0
  102. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/styles.d.ts +15 -0
  103. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/styles.js +22 -0
  104. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/styles.js.map +1 -0
  105. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/MultiValueRemove.d.ts +3 -0
  106. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/MultiValueRemove.js +18 -0
  107. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/MultiValueRemove.js.map +1 -0
  108. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/styles.d.ts +22 -0
  109. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/styles.js +28 -0
  110. package/dist/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/styles.js.map +1 -0
  111. package/dist/components/TaskGrid/components/grid/lookup-many/context.d.ts +4 -0
  112. package/dist/components/TaskGrid/components/grid/lookup-many/context.js +9 -0
  113. package/dist/components/TaskGrid/components/grid/lookup-many/context.js.map +1 -0
  114. package/dist/components/TaskGrid/components/grid/lookup-many/index.d.ts +4 -0
  115. package/dist/components/TaskGrid/components/grid/lookup-many/index.js +5 -0
  116. package/dist/components/TaskGrid/components/grid/lookup-many/index.js.map +1 -0
  117. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/PeopleLookupMany.d.ts +5 -0
  118. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/PeopleLookupMany.js +12 -0
  119. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/PeopleLookupMany.js.map +1 -0
  120. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/components.d.ts +2 -0
  121. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/components.js +15 -0
  122. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/components.js.map +1 -0
  123. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/index.d.ts +1 -0
  124. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/index.js +2 -0
  125. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/index.js.map +1 -0
  126. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/MultiValueContainer.d.ts +3 -0
  127. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/MultiValueContainer.js +12 -0
  128. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/MultiValueContainer.js.map +1 -0
  129. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/index.d.ts +1 -0
  130. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/index.js +2 -0
  131. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/index.js.map +1 -0
  132. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/styles.d.ts +9 -0
  133. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/styles.js +18 -0
  134. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/styles.js.map +1 -0
  135. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/MultiValueLabel.d.ts +3 -0
  136. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/MultiValueLabel.js +17 -0
  137. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/MultiValueLabel.js.map +1 -0
  138. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/index.d.ts +1 -0
  139. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/index.js +2 -0
  140. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/index.js.map +1 -0
  141. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/styles.d.ts +5 -0
  142. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/styles.js +6 -0
  143. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/styles.js.map +1 -0
  144. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/Option.d.ts +3 -0
  145. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/Option.js +16 -0
  146. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/Option.js.map +1 -0
  147. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/index.d.ts +1 -0
  148. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/index.js +2 -0
  149. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/index.js.map +1 -0
  150. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/styles.d.ts +10 -0
  151. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/styles.js +11 -0
  152. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/styles.js.map +1 -0
  153. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/context.d.ts +4 -0
  154. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/context.js +9 -0
  155. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/context.js.map +1 -0
  156. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/index.d.ts +1 -0
  157. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/index.js +2 -0
  158. package/dist/components/TaskGrid/components/grid/lookup-many/people-lookup-many/index.js.map +1 -0
  159. package/dist/components/TaskGrid/components/grid/multi-record-selector/MultiRecordSelector.d.ts +1 -0
  160. package/dist/components/TaskGrid/components/grid/multi-record-selector/MultiRecordSelector.js +27 -14
  161. package/dist/components/TaskGrid/components/grid/multi-record-selector/MultiRecordSelector.js.map +1 -1
  162. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-container/MultiValueContainer.d.ts +3 -0
  163. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-container/MultiValueContainer.js +13 -0
  164. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-container/MultiValueContainer.js.map +1 -0
  165. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-container/styles.d.ts +18 -0
  166. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-container/styles.js +24 -0
  167. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-container/styles.js.map +1 -0
  168. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-label/MultiValueLabel.d.ts +3 -0
  169. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-label/MultiValueLabel.js +20 -0
  170. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-label/MultiValueLabel.js.map +1 -0
  171. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-label/styles.d.ts +12 -0
  172. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-label/styles.js +19 -0
  173. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-label/styles.js.map +1 -0
  174. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-remove/MultiValueRemove.d.ts +3 -0
  175. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-remove/MultiValueRemove.js +16 -0
  176. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-remove/MultiValueRemove.js.map +1 -0
  177. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-remove/styles.d.ts +22 -0
  178. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-remove/styles.js +28 -0
  179. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/multi-value-remove/styles.js.map +1 -0
  180. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/option/Option.d.ts +3 -0
  181. package/dist/components/TaskGrid/components/grid/multi-record-selector/components/option/styles.d.ts +16 -0
  182. package/dist/components/TaskGrid/components/grid/multi-record-selector/styles.d.ts +3 -0
  183. package/dist/components/TaskGrid/components/grid/multi-record-selector/styles.js +15 -0
  184. package/dist/components/TaskGrid/components/grid/multi-record-selector/styles.js.map +1 -0
  185. package/dist/components/TaskGrid/components/header/Header.d.ts +1 -1
  186. package/dist/components/TaskGrid/components/header/Header.js +62 -47
  187. package/dist/components/TaskGrid/components/header/Header.js.map +1 -1
  188. package/dist/components/TaskGrid/components/header/edit-columns/EditColumns.js.map +1 -1
  189. package/dist/components/TaskGrid/components/header/view-switcher/create-view-dialog/CreateViewDialog.js.map +1 -1
  190. package/dist/components/TaskGrid/components/header/view-switcher/view-manager/ViewManager.js.map +1 -1
  191. package/dist/components/TaskGrid/context.d.ts +5 -4
  192. package/dist/components/TaskGrid/context.js.map +1 -1
  193. package/dist/components/TaskGrid/extensions/dataverse/DataverseCustomColumnsStrategy.d.ts +75 -0
  194. package/dist/components/TaskGrid/{data-providers/custom-columns-data-provider/TalxisCustomColumnsDataProviderStrategy.js → extensions/dataverse/DataverseCustomColumnsStrategy.js} +56 -21
  195. package/dist/components/TaskGrid/extensions/dataverse/DataverseCustomColumnsStrategy.js.map +1 -0
  196. package/dist/components/TaskGrid/extensions/dataverse/DataverseGridCustomizerStrategy.d.ts +20 -0
  197. package/dist/components/TaskGrid/extensions/dataverse/DataverseGridCustomizerStrategy.js +41 -0
  198. package/dist/components/TaskGrid/extensions/dataverse/DataverseGridCustomizerStrategy.js.map +1 -0
  199. package/dist/components/TaskGrid/extensions/dataverse/DataverseSavedQueryStrategy.d.ts +49 -0
  200. package/dist/components/TaskGrid/{data-providers/saved-query-data-provider/TalxisSavedQueryDataProvider.js → extensions/dataverse/DataverseSavedQueryStrategy.js} +41 -19
  201. package/dist/components/TaskGrid/extensions/dataverse/DataverseSavedQueryStrategy.js.map +1 -0
  202. package/dist/components/TaskGrid/extensions/dataverse/DataverseTaskGridDescriptor.d.ts +102 -0
  203. package/dist/components/TaskGrid/extensions/dataverse/DataverseTaskGridDescriptor.js +184 -0
  204. package/dist/components/TaskGrid/extensions/dataverse/DataverseTaskGridDescriptor.js.map +1 -0
  205. package/dist/components/TaskGrid/extensions/dataverse/DataverseTaskStrategy.d.ts +124 -0
  206. package/dist/components/TaskGrid/extensions/dataverse/DataverseTaskStrategy.js +498 -0
  207. package/dist/components/TaskGrid/extensions/dataverse/DataverseTaskStrategy.js.map +1 -0
  208. package/dist/components/TaskGrid/extensions/dataverse/index.d.ts +5 -0
  209. package/dist/components/TaskGrid/extensions/dataverse/index.js +6 -0
  210. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/LookupManyHandler.d.ts +65 -0
  211. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/LookupManyHandler.js +208 -0
  212. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/LookupManyHandler.js.map +1 -0
  213. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/cell-renderer/FetchXmlDataProviderFactory.d.ts +11 -0
  214. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/cell-renderer/FetchXmlDataProviderFactory.js +16 -0
  215. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/cell-renderer/FetchXmlDataProviderFactory.js.map +1 -0
  216. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/cell-renderer/FetchXmlLookupManyCellRenderer.d.ts +2 -0
  217. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/cell-renderer/FetchXmlLookupManyCellRenderer.js +35 -0
  218. package/dist/components/TaskGrid/extensions/dataverse/lookup-many/cell-renderer/FetchXmlLookupManyCellRenderer.js.map +1 -0
  219. package/dist/components/TaskGrid/interfaces.d.ts +58 -26
  220. package/dist/components/TaskGrid/labels.d.ts +1 -15
  221. package/dist/components/TaskGrid/labels.js +2 -16
  222. package/dist/components/TaskGrid/labels.js.map +1 -1
  223. package/dist/components/TaskGrid/{data-providers/custom-columns-data-provider → providers/custom-columns}/CustomColumnsDataProvider.d.ts +11 -1
  224. package/dist/components/TaskGrid/{data-providers/custom-columns-data-provider → providers/custom-columns}/CustomColumnsDataProvider.js +3 -0
  225. package/dist/components/TaskGrid/providers/custom-columns/CustomColumnsDataProvider.js.map +1 -0
  226. package/dist/components/TaskGrid/providers/custom-columns/index.d.ts +1 -0
  227. package/dist/components/TaskGrid/providers/custom-columns/index.js +2 -0
  228. package/dist/components/TaskGrid/providers/custom-columns/index.js.map +1 -0
  229. package/dist/components/TaskGrid/providers/index.d.ts +3 -0
  230. package/dist/components/TaskGrid/providers/index.js +4 -0
  231. package/dist/components/TaskGrid/providers/index.js.map +1 -0
  232. package/dist/components/TaskGrid/{data-providers/saved-query-data-provider → providers/saved-query}/SavedQueryDataProvider.d.ts +14 -9
  233. package/dist/components/TaskGrid/{data-providers/saved-query-data-provider → providers/saved-query}/SavedQueryDataProvider.js +89 -69
  234. package/dist/components/TaskGrid/providers/saved-query/SavedQueryDataProvider.js.map +1 -0
  235. package/dist/components/TaskGrid/providers/saved-query/index.d.ts +1 -0
  236. package/dist/components/TaskGrid/providers/saved-query/index.js +2 -0
  237. package/dist/components/TaskGrid/providers/saved-query/index.js.map +1 -0
  238. package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/TaskDataProvider.d.ts +25 -39
  239. package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/TaskDataProvider.js +51 -34
  240. package/dist/components/TaskGrid/providers/task/TaskDataProvider.js.map +1 -0
  241. package/dist/components/TaskGrid/providers/task/index.js.map +1 -0
  242. package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/record-tree/RecordTree.d.ts +8 -0
  243. package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/record-tree/RecordTree.js +2 -0
  244. package/dist/components/TaskGrid/providers/task/record-tree/RecordTree.js.map +1 -0
  245. package/dist/components/TaskGrid/providers/task/record-tree/index.js.map +1 -0
  246. package/dist/components/TaskGrid/providers/task/record-tree/patchDataBuilderPrepare.js.map +1 -0
  247. package/dist/index.d.ts +234 -196
  248. package/dist/index.js +1 -0
  249. package/dist/index.js.map +1 -1
  250. package/dist/utils/index.d.ts +1 -0
  251. package/dist/utils/index.js +1 -0
  252. package/dist/utils/index.js.map +1 -1
  253. package/dist/utils/localization/LocalizationService.d.ts +15 -0
  254. package/dist/utils/localization/LocalizationService.js +17 -0
  255. package/dist/utils/localization/LocalizationService.js.map +1 -0
  256. package/dist/utils/localization/index.d.ts +1 -0
  257. package/dist/utils/localization/index.js +2 -0
  258. package/dist/utils/localization/index.js.map +1 -0
  259. package/package.json +5 -4
  260. package/dist/components/TaskGrid/data-providers/custom-columns-data-provider/CustomColumnsDataProvider.js.map +0 -1
  261. package/dist/components/TaskGrid/data-providers/custom-columns-data-provider/TalxisCustomColumnsDataProviderStrategy.d.ts +0 -33
  262. package/dist/components/TaskGrid/data-providers/custom-columns-data-provider/TalxisCustomColumnsDataProviderStrategy.js.map +0 -1
  263. package/dist/components/TaskGrid/data-providers/custom-columns-data-provider/index.d.ts +0 -2
  264. package/dist/components/TaskGrid/data-providers/custom-columns-data-provider/index.js +0 -3
  265. package/dist/components/TaskGrid/data-providers/index.d.ts +0 -3
  266. package/dist/components/TaskGrid/data-providers/index.js +0 -6
  267. package/dist/components/TaskGrid/data-providers/saved-query-data-provider/SavedQueryDataProvider.js.map +0 -1
  268. package/dist/components/TaskGrid/data-providers/saved-query-data-provider/TalxisSavedQueryDataProvider.d.ts +0 -21
  269. package/dist/components/TaskGrid/data-providers/saved-query-data-provider/TalxisSavedQueryDataProvider.js.map +0 -1
  270. package/dist/components/TaskGrid/data-providers/saved-query-data-provider/index.d.ts +0 -2
  271. package/dist/components/TaskGrid/data-providers/saved-query-data-provider/index.js +0 -3
  272. package/dist/components/TaskGrid/data-providers/task-data-provider/TaskDataProvider.js.map +0 -1
  273. package/dist/components/TaskGrid/data-providers/task-data-provider/record-tree/RecordTree.js.map +0 -1
  274. package/dist/components/TaskGrid/data-providers/task-data-provider/record-tree/patchDataBuilderPrepare.js.map +0 -1
  275. /package/dist/components/TaskGrid/{data-providers/task-data-provider → components/grid/cell-renderers/lookup-many}/index.js.map +0 -0
  276. /package/dist/components/TaskGrid/{data-providers/task-data-provider/record-tree → components/grid/lookup-many/colorful-lookup-many/components/multi-value-container}/index.js.map +0 -0
  277. /package/dist/components/TaskGrid/{data-providers → extensions/dataverse}/index.js.map +0 -0
  278. /package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/index.d.ts +0 -0
  279. /package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/index.js +0 -0
  280. /package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/record-tree/index.d.ts +0 -0
  281. /package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/record-tree/index.js +0 -0
  282. /package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/record-tree/patchDataBuilderPrepare.d.ts +0 -0
  283. /package/dist/components/TaskGrid/{data-providers/task-data-provider → providers/task}/record-tree/patchDataBuilderPrepare.js +0 -0
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference types="@types/powerapps-component-framework" />
2
2
  /// <reference types="react" />
3
3
  import { ITheme, ICommandBarProps, ITextFieldProps, ICalloutProps as ICalloutProps$1, IDatePickerProps, ITagPickerProps, IComboBoxProps } from '@talxis/react-components';
4
- import { DeepPartial, DataType, IDataset, IEventEmitter, IColumn, IAvailableRelatedColumn, IInterceptor, ICommand, AggregationFunction, IRecord, IRawRecord, IAvailableColumnOptions, IRecordSaveOperationResult, IDataProvider, Dataset } from '@talxis/client-libraries';
4
+ import { DeepPartial, DataType, IDataset, IEventEmitter, IColumn, IAvailableRelatedColumn, IInterceptor, ICommand, AggregationFunction, IRecord, IRawRecord, IRecordSaveOperationResult, IAvailableColumnOptions, IDataProvider, Dataset } from '@talxis/client-libraries';
5
5
  import { ITheme as ITheme$1, ThemeProviderProps, IShimmerProps, IButtonProps, IMessageBarProps, ITextProps, ILabelProps, IIconProps, ILinkProps, IImageProps, ISpinnerProps, IMessageBar, IToggleProps } from '@fluentui/react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import * as React$1 from 'react';
@@ -891,6 +891,14 @@ declare const lookupTranslations: {
891
891
  1033: string;
892
892
  1029: string;
893
893
  };
894
+ record: {
895
+ 1033: string;
896
+ 1029: string;
897
+ };
898
+ all: {
899
+ 1033: string;
900
+ 1029: string;
901
+ };
894
902
  };
895
903
 
896
904
  interface ILookup extends IControl<ILookupParameters, ILookupOutputs, Partial<ITranslations<typeof lookupTranslations>>, ITagPickerProps> {
@@ -993,6 +1001,14 @@ declare const useLookup: (props: ILookup) => [ComponentFramework.LookupValue[],
993
1001
  1033: string;
994
1002
  1029: string;
995
1003
  };
1004
+ record: {
1005
+ 1033: string;
1006
+ 1029: string;
1007
+ };
1008
+ all: {
1009
+ 1033: string;
1010
+ 1029: string;
1011
+ };
996
1012
  }>>>, {
997
1013
  create: (entityName: string) => void;
998
1014
  select: (record: ComponentFramework.LookupValue[] | undefined) => void;
@@ -1372,6 +1388,7 @@ interface ITaskGridLabels {
1372
1388
  templateCreatedSuccessfully: string;
1373
1389
  description: string;
1374
1390
  noTaskTemplates: string;
1391
+ path: string;
1375
1392
  addChild: string;
1376
1393
  addCustomColumn: string;
1377
1394
  confirmColumnDelete: string;
@@ -1414,21 +1431,6 @@ interface ITaskGridLabels {
1414
1431
  unexpectedErrorOccurred: string;
1415
1432
  deletingUserQueriesError: string;
1416
1433
  }
1417
- interface ILocalizationService<T> {
1418
- getLocalizedString: (key: keyof T, variables?: {
1419
- [key: string]: string;
1420
- }) => string;
1421
- }
1422
- declare class LocalizationService<T extends {
1423
- [K in keyof T]: string;
1424
- }> implements ILocalizationService<T> {
1425
- private _getLabels;
1426
- private _liquidEngine;
1427
- constructor(getLabels: () => T);
1428
- getLocalizedString(key: keyof T, variables?: {
1429
- [key: string]: string;
1430
- }): string;
1431
- }
1432
1434
 
1433
1435
  interface ISkeletonProps {
1434
1436
  height: string;
@@ -1448,18 +1450,152 @@ interface ITreeNode {
1448
1450
  parent?: IRecord;
1449
1451
  }
1450
1452
  interface IRecordTree {
1453
+ /** Builds (or rebuilds) the node map from the current provider records. Returns the resulting map keyed by record id. */
1451
1454
  build(): Map<string, ITreeNode>;
1455
+ /** Returns the current node map keyed by record id without triggering a rebuild. */
1452
1456
  getNodeMap(): Map<string, ITreeNode>;
1457
+ /** Returns the tree node for the given record id. Pass `null` to get the virtual root node. */
1453
1458
  getNode(recordId: string | null): ITreeNode;
1459
+ /** Returns the total number of unique records in the tree. */
1454
1460
  getTotalCount(): number;
1461
+ /** Returns `true` when the tree is in flat-list mode (no parent-child hierarchy). */
1455
1462
  isFlat(): boolean;
1463
+ /** Returns `true` when the record with the given id has at least one direct child. */
1456
1464
  hasChildren(recordId: string): boolean;
1465
+ /** Returns a map of records that match the current search/filter, keyed by record id. */
1457
1466
  getMatchingRecords(): {
1458
1467
  [recordId: string]: IRecord;
1459
1468
  };
1469
+ /** Returns record ids in their computed display order (depth-first, stack-rank sorted). */
1460
1470
  getSortedIds(): string[];
1461
1471
  }
1462
1472
 
1473
+ /** Strategy interface for managing user-defined (dynamic) column definitions. */
1474
+ interface ICustomColumnsStrategy {
1475
+ /** @returns The created column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1476
+ onCreateColumn: () => Promise<string | null>;
1477
+ /** @returns The deleted column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1478
+ onDeleteColumn: (columnName: string) => Promise<string | null>;
1479
+ /** @returns The updated column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1480
+ onUpdateColumn: (columnName: string) => Promise<string | null>;
1481
+ /** Fetches/reloads all custom column definitions and returns the resolved `IColumn[]`. */
1482
+ onRefresh: () => Promise<IColumn[]>;
1483
+ /** Returns the currently loaded custom columns synchronously without a network fetch. */
1484
+ onGetColumns: () => IColumn[];
1485
+ /** Fetches the raw records for custom columns. */
1486
+ onGetRawRecords: () => Promise<IRawRecord[]>;
1487
+ /** Fetches a single raw record by its ID. */
1488
+ onGetRawRecord: (recordId: string) => Promise<IRawRecord>;
1489
+ /** Persists a cell value for a custom column on the given record. */
1490
+ onSaveValue: (regardingRecordId: string, column: IColumn, value: any) => Promise<IRecordSaveOperationResult>;
1491
+ }
1492
+ /** Manages the lifecycle of dynamic (user-defined) columns and wraps the strategy with error handling. */
1493
+ interface ICustomColumnsDataProvider {
1494
+ /** EventEmitter for error events raised by column operations. */
1495
+ events: IEventEmitter<ICustomColumnsDataProviderEvents>;
1496
+ /** @returns The created column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1497
+ createColumn: () => Promise<string | null>;
1498
+ /** @returns The deleted column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1499
+ deleteColumn: (columnName: string) => Promise<string | null>;
1500
+ /** @returns The updated column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1501
+ updateColumn: (columnName: string) => Promise<string | null>;
1502
+ /** Refreshes the list of custom columns from the underlying strategy. */
1503
+ refresh: () => Promise<IColumn[]>;
1504
+ /** Returns the currently cached list of custom columns. */
1505
+ getColumns: () => IColumn[];
1506
+ /** Persists a cell value for a custom column on the given record. */
1507
+ saveValue: (regardingRecordId: string, column: IColumn, value: any) => Promise<IRecordSaveOperationResult>;
1508
+ /** Returns the underlying strategy cast to the given type for strategy-specific operations. */
1509
+ getStrategy<T extends ICustomColumnsStrategy>(): T;
1510
+ /** Returns `true` when the given column name is a custom (dynamic) column. */
1511
+ isCustomColumn: (columnName: string) => boolean;
1512
+ /** Disposes event listeners and releases all resources held by the provider. */
1513
+ destroy: () => void;
1514
+ }
1515
+ interface ICustomColumnsDataProviderEvents {
1516
+ onError: (error: any, message: string) => void;
1517
+ }
1518
+
1519
+ interface ICreateUserQueryParams {
1520
+ name: string;
1521
+ provider: ITaskDataProvider;
1522
+ description?: string;
1523
+ }
1524
+ interface ISavedQueryDataProviderEvents {
1525
+ onBeforeUserQueriesDeleted: (queryIds: string[]) => void;
1526
+ onAfterUserQueriesDeleted: (result: IDeletedUserQueriesResult) => void;
1527
+ onBeforeUserQueryUpdated: (queryId: string) => void;
1528
+ onAfterUserQueryUpdated: (result: string | null) => void;
1529
+ onBeforeUserQueryCreated: (queryName: string) => void;
1530
+ onAfterUserQueryCreated: (result: string | null) => void;
1531
+ onError: (error: any, message: string) => void;
1532
+ }
1533
+ type IDeletedUserQueriesResult = {
1534
+ success: true;
1535
+ deletedQueryIds: string[];
1536
+ } | {
1537
+ success: false;
1538
+ deletedQueryIds: string[];
1539
+ errors: {
1540
+ queryId: string;
1541
+ error: any;
1542
+ }[];
1543
+ };
1544
+ interface ISavedQuery extends ISavedQueryMetadata {
1545
+ id: string;
1546
+ name: string;
1547
+ }
1548
+ interface ISavedQueryMetadata {
1549
+ columns: IColumn[];
1550
+ sorting?: ComponentFramework.PropertyHelper.DataSetApi.SortStatus[];
1551
+ filtering?: ComponentFramework.PropertyHelper.DataSetApi.FilterExpression;
1552
+ linking?: ComponentFramework.PropertyHelper.DataSetApi.LinkEntityExposedExpression[];
1553
+ isFlatListEnabled?: boolean;
1554
+ searchQuery?: string | undefined;
1555
+ quickFindColumns?: string[];
1556
+ }
1557
+ /** Strategy interface for loading and persisting system and user-defined saved views (queries). */
1558
+ interface ISavedQueryStrategy {
1559
+ /** Returns the built-in (non-deletable) views. At least one system query must be returned. */
1560
+ onGetSystemQueries: () => Promise<ISavedQuery[]>;
1561
+ /** Returns views saved by the current user. */
1562
+ onGetUserQueries: () => Promise<ISavedQuery[]>;
1563
+ /** Deletes the specified user views. Returns a per-query success/failure result. */
1564
+ onDeleteUserQueries: (queryIds: string[]) => Promise<IDeletedUserQueriesResult>;
1565
+ /** @returns The updated query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1566
+ onUpdateUserQuery: (currentQuery: ISavedQuery) => Promise<string | null>;
1567
+ /** @returns The created query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1568
+ onCreateUserQuery: (newQuery: {
1569
+ name: string;
1570
+ description?: string;
1571
+ }, currentQuery: ISavedQuery) => Promise<string | null>;
1572
+ }
1573
+ /** Manages system and user-defined saved views and exposes view lifecycle operations. */
1574
+ interface ISavedQueryDataProvider {
1575
+ /** EventEmitter for saved-query lifecycle events (create, update, delete, errors). */
1576
+ queryEvents: IEventEmitter<ISavedQueryDataProviderEvents>;
1577
+ /** Returns the full list of non-deletable system views. */
1578
+ getSystemQueries: () => ISavedQuery[];
1579
+ /** Returns the full list of user-created views. */
1580
+ getUserQueries: () => ISavedQuery[];
1581
+ /** Returns the currently active saved query. Throws if `refresh` has not been called yet. */
1582
+ getCurrentQuery: () => ISavedQuery;
1583
+ /** Looks up a query by id across system and user queries. Throws if not found. */
1584
+ getSavedQuery(id: string): ISavedQuery;
1585
+ /** @returns The created query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1586
+ createUserQuery: (params: ICreateUserQueryParams) => Promise<string | null>;
1587
+ /** Returns `true` when the given query id belongs to a user view (as opposed to a system view). */
1588
+ isUserQuery: (queryId: string) => boolean;
1589
+ /** @returns The updated query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1590
+ updateUserQuery: (provider: ITaskDataProvider) => Promise<string | null>;
1591
+ /** Deletes the specified user views. Returns a per-query success/failure result. */
1592
+ deleteUserQueries: (queryIds: string[]) => Promise<IDeletedUserQueriesResult>;
1593
+ /** Fetches system and user queries from the strategy and sets the initial active query. */
1594
+ refresh: () => Promise<void>;
1595
+ /** Disposes event listeners and releases all resources held by the provider. */
1596
+ destroy: () => void;
1597
+ }
1598
+
1463
1599
  interface IFailedRecord {
1464
1600
  id: string;
1465
1601
  error: any;
@@ -1472,7 +1608,7 @@ type IDeleteTasksResult = {
1472
1608
  deletedTaskIds: string[];
1473
1609
  errors: IFailedRecord[];
1474
1610
  };
1475
- type IEditTasksResult = {
1611
+ type IOpenDatasetItemsResult = {
1476
1612
  success: true;
1477
1613
  updatedRecords: IRawRecord[];
1478
1614
  } | {
@@ -1483,8 +1619,7 @@ type IEditTasksResult = {
1483
1619
  /** Strategy interface that handles all data access and mutation operations for tasks. */
1484
1620
  interface ITaskDataProviderStrategy {
1485
1621
  /**
1486
- * Called once on first load. Must return the initial columns, raw task records, and provider metadata.
1487
- * An empty `ids` array instructs the strategy to fetch all records.
1622
+ * Called when the provider needs to retrieve latest data for specific tasks to synchronize the grid with the server.
1488
1623
  */
1489
1624
  onGetRawRecords: (ids: string[]) => Promise<IRawRecord[]>;
1490
1625
  /** Called once on first load. Must return the initial columns, raw task records, and entity metadata. */
@@ -1497,8 +1632,6 @@ interface ITaskDataProviderStrategy {
1497
1632
  onGetAvailableColumns: (options?: IAvailableColumnOptions) => Promise<IColumn[]>;
1498
1633
  /** Returns linked-entity columns that can be used for filtering and sorting. */
1499
1634
  onGetAvailableRelatedColumns: () => Promise<IAvailableRelatedColumn[]>;
1500
- /** Returns the attribute names that are searched when the user types in the quick-find input. */
1501
- onGetQuickFindColumns: () => string[];
1502
1635
  /** @returns The created task raw record, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1503
1636
  onCreateTask(parentTaskId?: string): Promise<IRawRecord | null>;
1504
1637
  /**
@@ -1512,27 +1645,16 @@ interface ITaskDataProviderStrategy {
1512
1645
  /** @returns The created task raw records, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1513
1646
  onCreateTasksFromTemplate(templateId: string, parentTaskId?: string): Promise<IRawRecord[] | null>;
1514
1647
  /**
1515
- * @returns Result indicating which tasks were updated and which failed, or `null` if the operation was cancelled by the user.
1516
- * `success: true` means all tasks were updated. `success: false` means some or all failed.
1517
- * Throws on unexpected failure.
1648
+ * Opens one or more dataset items. When `isTaskEntity` is `true` the references point to task records;
1649
+ * when `false` they point to a related entity (e.g. a lookup target).
1518
1650
  */
1519
- onEditTasks(taskIds: string[]): Promise<IEditTasksResult | null>;
1651
+ onOpenDatasetItems(entityReferences: ComponentFramework.EntityReference[], isTaskEntity: boolean): Promise<IOpenDatasetItemsResult | null>;
1520
1652
  /** Moves a task to a new position relative to another task. Returns the updated raw records, or `null` on cancellation. */
1521
1653
  onMoveTask(movingTaskId: string, movingToTaskId: string, position: 'above' | 'below' | 'child'): Promise<IRawRecord[] | null>;
1522
1654
  /** Persists inline cell edits for the given record. */
1523
1655
  onRecordSave(record: IRecord): Promise<IRecordSaveOperationResult>;
1524
1656
  /** Returns whether the given task record is currently active (non-completed). */
1525
1657
  onIsRecordActive(recordId: string): boolean;
1526
- /** Opens the record detail view. Called when a user clicks a non-subject cell. */
1527
- onOpenDatasetItem(entityReference: ComponentFramework.EntityReference, context?: {
1528
- columnName?: string;
1529
- }): void;
1530
- /** Return `false` to disable task creation (hide the *New* button). Defaults to `true`. */
1531
- onIsTaskAddingEnabled?(): boolean;
1532
- /** Return `false` to disable inline cell editing. Defaults to `true`. */
1533
- onIsTaskEditingEnabled?(): boolean;
1534
- /** Return `false` to disable task deletion (hide the *Delete* button). Defaults to `true`. */
1535
- onIsTaskDeletingEnabled?(): boolean;
1536
1658
  /** When provided, the task tree is scoped to the subtree of the returned task id. */
1537
1659
  onGetRootTaskId?: () => string | undefined;
1538
1660
  }
@@ -1545,10 +1667,10 @@ interface ITaskDataProviderEventListener {
1545
1667
  onAfterTasksCreated: (records: IRawRecord[] | null, parentId?: string) => void;
1546
1668
  onBeforeTaskMoved: () => void;
1547
1669
  onAfterTaskMoved: (movingFromTaskId: string, movingToTaskId: string, position: 'above' | 'below' | 'child') => void;
1548
- onBeforeTasksEdited: (taskIds: string[]) => void;
1549
1670
  onTaskDataUpdated: (data: IRawRecord[]) => void;
1550
- onAfterTasksEdited: (result: IEditTasksResult | null) => void;
1551
1671
  onRecordTreeUpdated: (updatedParentIds: (string | undefined)[]) => void;
1672
+ onBeforeDatasetItemsOpened: (entityReferences: ComponentFramework.EntityReference[], isTaskEntity: boolean) => void;
1673
+ onAfterDatasetItemsOpened: (entityReferences: ComponentFramework.EntityReference[], isTaskEntity: boolean, result: IOpenDatasetItemsResult | null) => void;
1552
1674
  onError: (error: any, message: string) => void;
1553
1675
  }
1554
1676
  /** Extended data provider interface for task records. Adds task-specific operations on top of `IDataProvider`. */
@@ -1568,11 +1690,10 @@ interface ITaskDataProvider extends IDataProvider {
1568
1690
  /** Applies updated raw record data in-place and rebuilds the tree if hierarchy changed. */
1569
1691
  updateTaskData(newData: IRawRecord[]): void;
1570
1692
  /**
1571
- * @returns Result indicating which tasks were updated and which failed, or `null` if the operation was cancelled by the user.
1572
- * `success: true` means all tasks were updated. `success: false` means some or all failed — `updatedRecords` still contains the records that succeeded.
1573
- * Throws on unexpected failure.
1693
+ * Opens one or more task records by id. Builds entity references from the current records map
1694
+ * and delegates to `strategy.onOpenDatasetItems` with `isTaskEntity: true`.
1574
1695
  */
1575
- editTasks(taskIds: string[]): Promise<IEditTasksResult | null>;
1696
+ openTaskItems(taskIds: string[]): Promise<IOpenDatasetItemsResult | null>;
1576
1697
  /** @returns The created task raw record, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1577
1698
  createTask(parentTaskId?: string): Promise<IRawRecord | null>;
1578
1699
  /**
@@ -1588,11 +1709,6 @@ interface ITaskDataProvider extends IDataProvider {
1588
1709
  /** Returns `true` when the grid is displaying a flat list instead of a tree hierarchy. */
1589
1710
  isFlatListEnabled(): boolean;
1590
1711
  /** Returns `true` when task creation is allowed (from `ITaskDataProviderStrategy.onIsTaskAddingEnabled`). */
1591
- isTaskAddingEnabled(): boolean;
1592
- /** Returns `true` when inline cell editing is allowed (from `ITaskDataProviderStrategy.onIsTaskEditingEnabled`). */
1593
- isTaskEditingEnabled(): boolean;
1594
- /** Returns `true` when task deletion is allowed (from `ITaskDataProviderStrategy.onIsTaskDeletingEnabled`). */
1595
- isTaskDeletingEnabled(): boolean;
1596
1712
  /** Returns the root task id when the tree is scoped to a subtree, or `null` for a full tree. */
1597
1713
  getRootTaskId: () => string | null;
1598
1714
  /** Moves a task to a position relative to another task. Returns the updated raw records, or `null` on cancellation. */
@@ -1610,12 +1726,6 @@ interface IGridCustomizerStrategy {
1610
1726
  onGetColumnDefinitions?: (columnDefs: ColDef[]) => ColDef[];
1611
1727
  /** Receives the default row class rules map and may return an extended or overridden version. */
1612
1728
  onGetRowClassRules?: (rules: RowClassRules) => RowClassRules;
1613
- /** Return a custom cell renderer component for the given column definition, or `undefined` to use the default. */
1614
- onGetCellRenderer?: (colDef: ColDef) => any;
1615
- /** Return a custom cell editor component for the given column definition, or `undefined` to use the default. */
1616
- onGetCellEditor?: (colDef: ColDef) => any;
1617
- /** Receives the raw AG Grid `GridApi` instance, useful if the strategy needs to retain a reference. */
1618
- onRetrieveGridApi?: (gridApi: GridApi) => void;
1619
1729
  }
1620
1730
  /** Provides access to the AG Grid instance and the TaskGrid control to code running inside `IGridCustomizerStrategy`. */
1621
1731
  interface IGridCustomizer {
@@ -1632,125 +1742,6 @@ interface IGridCustomizer {
1632
1742
  registerExpressionDecorator(columnName: string, registrator: () => void): void;
1633
1743
  }
1634
1744
 
1635
- /** Strategy interface for managing user-defined (dynamic) column definitions. */
1636
- interface ICustomColumnsStrategy {
1637
- /** @returns The created column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1638
- onCreateColumn: () => Promise<string | null>;
1639
- /** @returns The deleted column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1640
- onDeleteColumn: (columnName: string) => Promise<string | null>;
1641
- /** @returns The updated column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1642
- onUpdateColumn: (columnName: string) => Promise<string | null>;
1643
- /** Fetches/reloads all custom column definitions and returns the resolved `IColumn[]`. */
1644
- onRefresh: () => Promise<IColumn[]>;
1645
- /** Returns the currently loaded custom columns synchronously without a network fetch. */
1646
- onGetColumns: () => IColumn[];
1647
- }
1648
- /** Manages the lifecycle of dynamic (user-defined) columns and wraps the strategy with error handling. */
1649
- interface ICustomColumnsDataProvider {
1650
- /** EventEmitter for error events raised by column operations. */
1651
- events: IEventEmitter<ICustomColumnsDataProviderEvents>;
1652
- /** @returns The created column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1653
- createColumn: () => Promise<string | null>;
1654
- /** @returns The deleted column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1655
- deleteColumn: (columnName: string) => Promise<string | null>;
1656
- /** @returns The updated column name, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1657
- updateColumn: (columnName: string) => Promise<string | null>;
1658
- /** Refreshes the list of custom columns from the underlying strategy. */
1659
- refresh: () => Promise<IColumn[]>;
1660
- /** Returns the currently cached list of custom columns. */
1661
- getColumns: () => IColumn[];
1662
- /** Returns the underlying strategy cast to the given type for strategy-specific operations. */
1663
- getStrategy<T extends ICustomColumnsStrategy>(): T;
1664
- /** Returns `true` when the given column name is a custom (dynamic) column. */
1665
- isCustomColumn: (columnName: string) => boolean;
1666
- destroy: () => void;
1667
- }
1668
- interface ICustomColumnsDataProviderEvents {
1669
- onError: (error: any, message: string) => void;
1670
- }
1671
-
1672
- interface ICreateUserQueryParams {
1673
- name: string;
1674
- provider: ITaskDataProvider;
1675
- description?: string;
1676
- }
1677
- interface ISavedQueryDataProviderEvents {
1678
- onBeforeUserQueriesDeleted: (queryIds: string[]) => void;
1679
- onAfterUserQueriesDeleted: (result: IDeletedUserQueriesResult) => void;
1680
- onBeforeUserQueryUpdated: (queryId: string) => void;
1681
- onAfterUserQueryUpdated: (result: string | null) => void;
1682
- onBeforeUserQueryCreated: (queryName: string) => void;
1683
- onAfterUserQueryCreated: (result: string | null) => void;
1684
- onError: (error: any, message: string) => void;
1685
- }
1686
- type IDeletedUserQueriesResult = {
1687
- success: true;
1688
- deletedQueryIds: string[];
1689
- } | {
1690
- success: false;
1691
- deletedQueryIds: string[];
1692
- errors: {
1693
- queryId: string;
1694
- error: any;
1695
- }[];
1696
- };
1697
- interface ISavedQuery extends ISavedQueryMetadata {
1698
- id: string;
1699
- name: string;
1700
- }
1701
- interface ISavedQueryMetadata {
1702
- columns: IColumn[];
1703
- sorting?: ComponentFramework.PropertyHelper.DataSetApi.SortStatus[];
1704
- filtering?: ComponentFramework.PropertyHelper.DataSetApi.FilterExpression;
1705
- linking?: ComponentFramework.PropertyHelper.DataSetApi.LinkEntityExposedExpression[];
1706
- isFlatListEnabled?: boolean;
1707
- searchQuery?: string | undefined;
1708
- }
1709
- /** Strategy interface for loading and persisting system and user-defined saved views (queries). */
1710
- interface ISavedQueryStrategy {
1711
- /** Returns the built-in (non-deletable) views. At least one system query must be returned. */
1712
- onGetSystemQueries: () => Promise<ISavedQuery[]>;
1713
- /** Returns views saved by the current user. */
1714
- onGetUserQueries: () => Promise<ISavedQuery[]>;
1715
- /** Deletes the specified user views. Returns a per-query success/failure result. */
1716
- onDeleteUserQueries: (queryIds: string[]) => Promise<IDeletedUserQueriesResult>;
1717
- /** @returns The updated query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1718
- onUpdateUserQuery: (currentQuery: ISavedQuery) => Promise<string | null>;
1719
- /** @returns The created query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1720
- onCreateUserQuery: (newQuery: {
1721
- name: string;
1722
- description?: string;
1723
- }, currentQuery: ISavedQuery) => Promise<string | null>;
1724
- }
1725
- /** Manages system and user-defined saved views and exposes view lifecycle operations. */
1726
- interface ISavedQueryDataProvider {
1727
- /** EventEmitter for saved-query lifecycle events (create, update, delete, errors). */
1728
- queryEvents: IEventEmitter<ISavedQueryDataProviderEvents>;
1729
- /** Returns the full list of non-deletable system views. */
1730
- getSystemQueries: () => ISavedQuery[];
1731
- /** Returns the full list of user-created views. */
1732
- getUserQueries: () => ISavedQuery[];
1733
- /** Returns the currently active saved query. Throws if `refresh` has not been called yet. */
1734
- getCurrentQuery: () => ISavedQuery;
1735
- /** Looks up a query by id across system and user queries. Throws if not found. */
1736
- getSavedQuery(id: string): ISavedQuery;
1737
- /** @returns The created query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1738
- createUserQuery: (params: ICreateUserQueryParams) => Promise<string | null>;
1739
- /** Returns `true` when the given query id belongs to a user view (as opposed to a system view). */
1740
- isUserQuery: (queryId: string) => boolean;
1741
- /** @returns The updated query id, or `null` if the operation was cancelled by the user. Throws on unexpected failure. */
1742
- updateUserQuery: (provider: ITaskDataProvider) => Promise<string | null>;
1743
- /** Deletes the specified user views. Returns a per-query success/failure result. */
1744
- deleteUserQueries: (queryIds: string[]) => Promise<IDeletedUserQueriesResult>;
1745
- /** Fetches system and user queries from the strategy and sets the initial active query. */
1746
- refresh: () => Promise<void>;
1747
- /** Ensures all required native columns (subject, parentId, stackRank, path, stateCode) are present in the provided columns array. */
1748
- includeRequiredColumns: (columns: IColumn[]) => void;
1749
- /** Enforces column constraints: subject is never hidden; path column is always read-only. */
1750
- harmonizeColumns: (columns: IColumn[]) => void;
1751
- destroy: () => void;
1752
- }
1753
-
1754
1745
  interface ITaskGridState {
1755
1746
  savedQuery?: Partial<ISavedQuery> & {
1756
1747
  id: string;
@@ -1769,7 +1760,7 @@ interface ITaskGridDatasetControlParameters {
1769
1760
  onGetPcfContext: () => ComponentFramework.Context<any>;
1770
1761
  }
1771
1762
  /** Maps functional column roles to the physical attribute (field) names in the consuming entity's schema. */
1772
- interface INativeColumns {
1763
+ interface IFieldMapping {
1773
1764
  /** Lookup attribute pointing to the parent task — drives the tree hierarchy. */
1774
1765
  parentId: string;
1775
1766
  /** Display name / title attribute. Always pinned left; never hidden by the control. */
@@ -1778,43 +1769,62 @@ interface INativeColumns {
1778
1769
  stackRank: string;
1779
1770
  /** Active/inactive status attribute. Used by the "Hide inactive tasks" filter. */
1780
1771
  stateCode: string;
1781
- /** Virtual breadcrumb column. Its value is computed automatically from ancestor names and is never editable. */
1772
+ }
1773
+ interface INativeColumns extends IFieldMapping {
1782
1774
  path: string;
1783
- /** (Optional) Numeric completion percentage. When present, rendered with a progress-bar cell renderer. */
1784
- percentComplete?: string;
1785
1775
  }
1786
1776
  /** Feature flags that control which UI elements are rendered in the grid header and ribbon. */
1787
1777
  interface ITaskGridParameters {
1788
- /** Explicit CSS height for the grid container. When omitted the grid sizes to fit its parent. */
1789
- height?: string;
1790
- /** Show drag handles and allow rows to be dragged for reordering. Defaults to `true`. Automatically suppressed when flat-list mode is active or sorting by a non-stack-rank column. */
1778
+ agGridLicenseKey?: string;
1779
+ /** Show drag handles and allow rows to be dragged for reordering. Defaults to `false`. Automatically suppressed when flat-list mode is active or sorting by a non-stack-rank column. */
1791
1780
  enableRowDragging?: boolean;
1792
- /** Show the *Edit Columns* button in the ribbon. Defaults to `true`. */
1781
+ /** Show the *Edit Columns* button in the ribbon. Defaults to `false`. */
1793
1782
  enableEditColumns?: boolean;
1794
- /** Show the search / quick-find input. Defaults to `true`. */
1783
+ /** Enable editing of tasks directly in the grid. Defaults to `false`. */
1784
+ enableTaskEditing?: boolean;
1785
+ /** Enable creation of new tasks. Defaults to `false`. */
1786
+ enableTaskCreation?: boolean;
1787
+ /** Enable deletion of tasks. Defaults to `false`. */
1788
+ enableTaskDeletion?: boolean;
1789
+ /** Show the search / quick-find input. Defaults to `false`. */
1795
1790
  enableQuickFind?: boolean;
1796
- /** Show the view-switcher dropdown. Defaults to `true`. */
1791
+ /** Show the view-switcher dropdown. Defaults to `false`. */
1797
1792
  enableViewSwitcher?: boolean;
1798
- /** Show the *Show hierarchy* toggle. Defaults to `true`. */
1793
+ /** Show the *Show hierarchy* toggle. Defaults to `false`. */
1799
1794
  enableShowHierarchyToggle?: boolean;
1800
- /** Show the *Hide inactive tasks* toggle. Defaults to `true`. */
1795
+ /** Show the *Hide inactive tasks* toggle. Defaults to `false`. */
1801
1796
  enableHideInactiveTasksToggle?: boolean;
1802
- /** Show the personal/system scope selector inside the Edit Columns panel. Defaults to `true`. */
1797
+ /** Show the personal/system scope selector inside the Edit Columns panel. Defaults to `false`. */
1803
1798
  enableEditColumnsScopeSelector?: boolean;
1804
- /** Enable user queries. Defaults to `true`. */
1799
+ /** Enable user queries. Defaults to `false`. */
1805
1800
  enableUserQueries?: boolean;
1806
- /** Show the query manager. Defaults to `true`. */
1801
+ /** Show the query manager. Defaults to `false`. */
1807
1802
  enableQueryManager?: boolean;
1808
- /** Show the "Save as new" button in the query manager. Defaults to `true`. */
1803
+ /** Show the "Save as new" button in the query manager. Defaults to `false`. */
1809
1804
  enableSaveAsNewQuery?: boolean;
1810
- /** Show the "Save changes" button in the query manager. Defaults to `true`. */
1811
- enableSaveChangesToQuery?: boolean;
1805
+ /** Show the "Save changes" button in the query manager. Defaults to `false`. */
1806
+ enableSaveQueryChanges?: boolean;
1807
+ /** Enable creation of custom columns. Defaults to `false`. */
1812
1808
  enableCustomColumnCreation?: boolean;
1809
+ /** Enable editing of custom columns. Defaults to `false`. */
1813
1810
  enableCustomColumnEditing?: boolean;
1811
+ /** Enable deletion of custom columns. Defaults to `false`. */
1814
1812
  enableCustomColumnDeletion?: boolean;
1813
+ /** Enable inline creation of tasks. Defaults to `false`. */
1814
+ enableInlineCreation?: boolean;
1815
+ /** Enable navigation within the grid. Defaults to `false`. */
1816
+ enableNavigation?: boolean;
1817
+ /** Enable column sorting in the grid. Defaults to `false`. */
1818
+ enableSorting?: boolean;
1819
+ /** Enable column filtering in the grid. Defaults to `false`. */
1820
+ enableFiltering?: boolean;
1821
+ /** Override the default row height in pixels. Uses the AG Grid default when omitted. */
1822
+ rowHeight?: number;
1815
1823
  }
1816
1824
  /** Available data providers injected into `ITaskDataProviderStrategy` at construction time. */
1817
1825
  interface ITaskStrategyDeps {
1826
+ enableInlineCreation: boolean;
1827
+ enableTaskEditing: boolean;
1818
1828
  /** Present when the consumer provided `onCreateCustomColumnsStrategy`. */
1819
1829
  customColumnsDataProvider?: ICustomColumnsDataProvider;
1820
1830
  /** Present when the consumer provided `onCreateTemplateDataProvider`. */
@@ -1826,21 +1836,21 @@ interface ITaskStrategyDeps {
1826
1836
  */
1827
1837
  interface ITaskGridDescriptor {
1828
1838
  /** Returns the mapping of logical column roles to physical schema attribute names. */
1829
- onGetNativeColumns: () => INativeColumns;
1839
+ onGetFieldMapping: () => IFieldMapping;
1830
1840
  /** Returns the strategy responsible for loading system/user views and persisting view changes. */
1831
1841
  onCreateSavedQueryStrategy: () => ISavedQueryStrategy;
1832
1842
  /** Returns the strategy that handles all task CRUD, move, template and record-save operations. */
1833
1843
  onCreateTaskStrategy: (deps: ITaskStrategyDeps) => ITaskDataProviderStrategy;
1834
1844
  /** Returns an `IDataProvider` that drives the user-query creation/update dialog. */
1835
1845
  onCreateUserQueryDataProvider: () => IDataProvider;
1846
+ /** (Optional) Returns the container height as a CSS string. Falls back to a default stretch when omitted. */
1847
+ onGetHeight?: () => string | undefined;
1836
1848
  /** (Optional) Returns the strategy for managing dynamic (user-defined) columns. When provided, the custom-columns feature is enabled. */
1837
1849
  onCreateCustomColumnsStrategy?: () => ICustomColumnsStrategy | undefined;
1838
1850
  /** (Optional) Returns an `IDataProvider` for task templates. When provided, the template-based task creation feature is enabled. */
1839
1851
  onCreateTemplateDataProvider?: () => IDataProvider | undefined;
1840
1852
  /** (Optional) Returns a strategy for deep customization of AG Grid column definitions, renderers, editors, and row class rules. */
1841
1853
  onCreateGridCustomizerStrategy?: () => IGridCustomizerStrategy | undefined;
1842
- /** (Optional) Returns the AG Grid Enterprise license key. */
1843
- onGetAgGridLicenseKey?: () => string;
1844
1854
  /** (Optional) Returns a stable DOM/control identifier. Auto-generated as a UUID when omitted. */
1845
1855
  onGetControlId?: () => string;
1846
1856
  /** (Optional) Async hook called before any data provider is created. Use for lazy loading or authentication. */
@@ -1893,13 +1903,23 @@ interface ITaskGridDatasetControl extends IDatasetControl {
1893
1903
  isEditColumnsScopeSelectorEnabled: () => boolean;
1894
1904
  /** Returns `true` when a template data provider was supplied through the descriptor. */
1895
1905
  isTemplatingEnabled: () => boolean;
1906
+ /** Returns `true` when inline creation of tasks is enabled. */
1907
+ isTaskCreatingEnabled: () => boolean;
1908
+ /** Returns `true` when inline editing of tasks is enabled. */
1909
+ isTaskEditingEnabled: () => boolean;
1910
+ /** Returns `true` when task deletion is enabled. */
1911
+ isTaskDeletingEnabled: () => boolean;
1912
+ /** Whether the view-switcher dropdown is visible (from `ITaskGridParameters.enableViewSwitcher`). */
1913
+ isViewSwitcherEnabled: () => boolean;
1914
+ /** Whether grid navigation is enabled (from `ITaskGridParameters.enableNavigation`). */
1915
+ isNavigationEnabled: () => boolean;
1896
1916
  /** Returns `true` when a custom columns strategy was supplied through the descriptor. */
1897
1917
  isCustomColumnsEnabled: () => boolean;
1898
1918
  /** Whether the view manager is enabled (from `ITaskGridParameters.enableQueryManager`). */
1899
1919
  isViewManagerEnabled: () => boolean;
1900
1920
  /** Whether the "Save as new" button is enabled (from `ITaskGridParameters.enableSaveAsNewQuery`). */
1901
1921
  isSaveQueryAsNewEnabled: () => boolean;
1902
- /** Whether the "Save changes" button is enabled (from `ITaskGridParameters.enableSaveChangesToQuery`). */
1922
+ /** Whether the "Save changes" button is enabled (from `ITaskGridParameters.enableSaveQueryChanges`). */
1903
1923
  isSaveQueryChangesEnabled: () => boolean;
1904
1924
  /** Whether custom column creation is enabled (from `ITaskGridParameters.enableCustomColumnCreation`). */
1905
1925
  isCustomColumnCreationEnabled: () => boolean;
@@ -1909,6 +1929,8 @@ interface ITaskGridDatasetControl extends IDatasetControl {
1909
1929
  isCustomColumnDeletionEnabled: () => boolean;
1910
1930
  /** Whether user queries are enabled (from `ITaskGridParameters.enableUserQueries`). */
1911
1931
  isUserQueriesFeatureEnabled: () => boolean;
1932
+ /** Whether inline task creation is enabled (from `ITaskGridParameters.enableInlineCreation`). */
1933
+ isInlineCreateEnabled: () => boolean;
1912
1934
  }
1913
1935
 
1914
1936
  interface ITaskGridProps {
@@ -1925,10 +1947,10 @@ declare const TaskDataProviderContext: React$1.Context<ITaskDataProvider | null>
1925
1947
  declare const TaskGridComponentsContext: React$1.Context<ITaskGridComponents>;
1926
1948
  declare const TaskGridDescriptorContext: React$1.Context<ITaskGridDescriptor | null>;
1927
1949
  declare const RootElementIdContext: React$1.Context<string>;
1928
- declare const LocalizationServiceContext: React$1.Context<LocalizationService<ITaskGridLabels> | null>;
1950
+ declare const LocalizationServiceContext: React$1.Context<ILocalizationService<ITaskGridLabels> | null>;
1929
1951
  declare const AgGridLicenseKeyContext: React$1.Context<string | null>;
1930
1952
  declare const useTaskGridDescriptor: () => ITaskGridDescriptor;
1931
- declare const useLocalizationService: () => LocalizationService<ITaskGridLabels>;
1953
+ declare const useLocalizationService: () => ILocalizationService<ITaskGridLabels>;
1932
1954
  declare const useRootElementId: () => string;
1933
1955
  declare const useDatasetControl: () => ITaskGridDatasetControl;
1934
1956
  declare const useTaskGridComponents: () => ITaskGridComponents;
@@ -2090,6 +2112,22 @@ declare class ErrorHelper {
2090
2112
  static getMessageFromError(error: any): string;
2091
2113
  }
2092
2114
 
2115
+ interface ILocalizationService<T> {
2116
+ getLocalizedString: (key: keyof T, variables?: {
2117
+ [key: string]: string;
2118
+ }) => string;
2119
+ }
2120
+ declare class LocalizationService<T extends {
2121
+ [K in keyof T]: string;
2122
+ }> implements ILocalizationService<T> {
2123
+ private _labels;
2124
+ private _liquidEngine;
2125
+ constructor(labels: T);
2126
+ getLocalizedString(key: keyof T, variables?: {
2127
+ [key: string]: string;
2128
+ }): string;
2129
+ }
2130
+
2093
2131
  interface IOutputs$1 {
2094
2132
  [key: string]: any;
2095
2133
  }
@@ -2200,4 +2238,4 @@ declare const useIsMounted: () => () => boolean;
2200
2238
 
2201
2239
  declare const useIsLoading: <TArgs extends unknown[], TResult>(fn: (...args: TArgs) => Promise<TResult>) => [boolean, (...args: TArgs) => Promise<TResult>];
2202
2240
 
2203
- export { AgGridLicenseKeyContext, BaseControl, BaseControls, ControlTheme, DatasetAdapter, DatasetControl, DatasetControlContext, DateTime, Decimal, Duration, ErrorHelper, Grid, GridCellRenderer, GridInlineRibbon, IBinding, IColorfulOptionSetValueRendererProps, IColorfulOptionValueRendererProps, IComponentProps$1 as IComponentProps, IContext, IControl, IControlController, IControlStates, IDatasetControlComponentProps, IDatasetControlParameters, IDatasetControlProps, IDateTime, IDateTimeOutputs, IDateTimeParameters, IDateTimeProperty, IDecimal, IDecimalNumberProperty, IDecimalOutputs, IDecimalParameters, IDefaultTranslations, IDuration, IDurationOutputs, IDurationParameters, IEntity, IFileProperty, IFileRendererProps, IFluentDesignState, IFooterProps, IGrid, IGridCellRenderer, IGridCellRendererComponentProps, IGridCellRendererParameters, IGridInlineRibbon, IGridOutputs, IGridParameters, IHeaderProps, ILayout, ILookup, ILookupOutputs, ILookupParameters, ILookupProperty, IMetadata, IMultiSelectOptionSet, IMultiSelectOptionSetOutputs, IMultiSelectOptionSetParameters, IMultiSelectOptionSetProperty, INativeColumns, INestedControlRenderer, INestedControlRendererComponentProps, INestedControlRendererParameters, IOptionSet, IOptionSetOutputs, IOptionSetParameters, IOptionSetProperty, IOutputs, IPaginationProps, IParameters, IProperty, IQuickFindProps, IRibbonParameters, IRibbonQuickFindWrapperProps, IStringProperty, ITaskGridDatasetControl, ITaskGridDatasetControlParameters, ITaskGridDescriptor, ITaskGridParameters, ITaskStrategyDeps, ITextField, ITextFieldOutputs, ITextFieldParameters, ITranslation, ITranslations, ITwoOptions, ITwoOptionsOutputs, ITwoOptionsParameters, ITwoOptionsProperty, IValueRendererProps, IWholeNumberProperty, LocalizationServiceContext, Lookup, MultiSelectOptionSet, NestedControlRenderer, OptionSet, PcfContext, RootElementIdContext, TaskDataProviderContext, TaskGrid, TaskGridComponentsContext, TaskGridDescriptorContext, TextField, ThemeWrapper, TwoOptions, VirtualDatasetAdapter, useAgGridLicenseKey, useControl, useControlLabels, useControlSizing, useControlTheme, useControlThemeGenerator, useDatasetControl, useDateTime, useEventEmitter, useFocusIn, useInputBasedControl, useIsLoading, useIsMounted, useLocalizationService, useLookup, useMouseOver, usePcfContext, useRootElementId, useTaskDataProvider, useTaskGridComponents, useTaskGridDescriptor };
2241
+ export { AgGridLicenseKeyContext, BaseControl, BaseControls, ControlTheme, DatasetAdapter, DatasetControl, DatasetControlContext, DateTime, Decimal, Duration, ErrorHelper, Grid, GridCellRenderer, GridInlineRibbon, IBinding, IColorfulOptionSetValueRendererProps, IColorfulOptionValueRendererProps, IComponentProps$1 as IComponentProps, IContext, IControl, IControlController, IControlStates, IDatasetControlComponentProps, IDatasetControlParameters, IDatasetControlProps, IDateTime, IDateTimeOutputs, IDateTimeParameters, IDateTimeProperty, IDecimal, IDecimalNumberProperty, IDecimalOutputs, IDecimalParameters, IDefaultTranslations, IDuration, IDurationOutputs, IDurationParameters, IEntity, IFieldMapping, IFileProperty, IFileRendererProps, IFluentDesignState, IFooterProps, IGrid, IGridCellRenderer, IGridCellRendererComponentProps, IGridCellRendererParameters, IGridInlineRibbon, IGridOutputs, IGridParameters, IHeaderProps, ILayout, ILocalizationService, ILookup, ILookupOutputs, ILookupParameters, ILookupProperty, IMetadata, IMultiSelectOptionSet, IMultiSelectOptionSetOutputs, IMultiSelectOptionSetParameters, IMultiSelectOptionSetProperty, INativeColumns, INestedControlRenderer, INestedControlRendererComponentProps, INestedControlRendererParameters, IOptionSet, IOptionSetOutputs, IOptionSetParameters, IOptionSetProperty, IOutputs, IPaginationProps, IParameters, IProperty, IQuickFindProps, IRibbonParameters, IRibbonQuickFindWrapperProps, IStringProperty, ITaskGridDatasetControl, ITaskGridDatasetControlParameters, ITaskGridDescriptor, ITaskGridParameters, ITaskStrategyDeps, ITextField, ITextFieldOutputs, ITextFieldParameters, ITranslation, ITranslations, ITwoOptions, ITwoOptionsOutputs, ITwoOptionsParameters, ITwoOptionsProperty, IValueRendererProps, IWholeNumberProperty, LocalizationService, LocalizationServiceContext, Lookup, MultiSelectOptionSet, NestedControlRenderer, OptionSet, PcfContext, RootElementIdContext, TaskDataProviderContext, TaskGrid, TaskGridComponentsContext, TaskGridDescriptorContext, TextField, ThemeWrapper, TwoOptions, VirtualDatasetAdapter, useAgGridLicenseKey, useControl, useControlLabels, useControlSizing, useControlTheme, useControlThemeGenerator, useDatasetControl, useDateTime, useEventEmitter, useFocusIn, useInputBasedControl, useIsLoading, useIsMounted, useLocalizationService, useLookup, useMouseOver, usePcfContext, useRootElementId, useTaskDataProvider, useTaskGridComponents, useTaskGridDescriptor };