@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
@@ -0,0 +1,3 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { MenuProps } from 'react-select';
3
+ export declare const Menu: (props: MenuProps<ComponentFramework.EntityReference, boolean, any>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { ThemeProvider } from '@fluentui/react';
3
+ import { components } from 'react-select';
4
+
5
+ const Menu = (props) => {
6
+ return jsx(ThemeProvider, { children: jsx(components.Menu, { ...props }) });
7
+ };
8
+
9
+ export { Menu };
10
+ //# sourceMappingURL=Menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Menu.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/menu/Menu.tsx"],"sourcesContent":["import { ThemeProvider } from '@fluentui/react';\nimport { components, MenuProps } from 'react-select';\n\nexport const Menu = (props: MenuProps<ComponentFramework.EntityReference, boolean, any>) => {\n return <ThemeProvider><components.Menu {...props} /></ThemeProvider>\n}"],"names":["_jsx"],"mappings":";;;;AAGa,MAAA,IAAI,GAAG,CAAC,KAAkE,KAAI;IACvF,OAAOA,GAAA,CAAC,aAAa,EAAA,EAAA,QAAA,EAACA,GAAC,CAAA,UAAU,CAAC,IAAI,EAAK,EAAA,GAAA,KAAK,EAAI,CAAA,EAAA,CAAgB,CAAA;AACxE;;;;"}
@@ -0,0 +1,2 @@
1
+ export { Menu } from './Menu.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { MultiValueGenericProps } from 'react-select';
3
+ interface IMultiValueProps extends MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any> {
4
+ className?: string;
5
+ }
6
+ export declare const MultiValueContainer: ({ children, innerProps, selectProps, className }: IMultiValueProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,16 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { useTheme } from '@fluentui/react';
4
+ import { getMultiValueContainerStyles } from './styles.js';
5
+ import { useLookupManyProps } from '../../context.js';
6
+ import { getClassNames } from '@talxis/react-components';
7
+
8
+ const MultiValueContainer = ({ children, innerProps, selectProps, className }) => {
9
+ const theme = useTheme();
10
+ const props = useLookupManyProps();
11
+ const styles = React.useMemo(() => getMultiValueContainerStyles(theme, selectProps.isDisabled, props.selectedRecordHeight), [theme, selectProps.isDisabled, props.selectedRecordHeight]);
12
+ return (jsx("div", { ...innerProps, className: getClassNames([styles.root, className]), children: children }));
13
+ };
14
+
15
+ export { MultiValueContainer };
16
+ //# sourceMappingURL=MultiValueContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiValueContainer.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/MultiValueContainer.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useTheme } from '@fluentui/react';\nimport { MultiValueGenericProps } from 'react-select';\nimport { getMultiValueContainerStyles } from './styles';\nimport { useLookupManyProps } from '../../context';\nimport { getClassNames } from '@talxis/react-components';\n\ninterface IMultiValueProps extends MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any> {\n className?: string;\n}\n\nexport const MultiValueContainer = ({ children, innerProps, selectProps, className }: IMultiValueProps) => {\n const theme = useTheme();\n const props = useLookupManyProps();\n const styles = React.useMemo(() => getMultiValueContainerStyles(theme, selectProps.isDisabled, props.selectedRecordHeight), [theme, selectProps.isDisabled, props.selectedRecordHeight]);\n return (\n <div {...innerProps} className={getClassNames([styles.root, className])}>\n {children}\n </div>\n );\n};\n"],"names":["_jsx"],"mappings":";;;;;;;AAWO,MAAM,mBAAmB,GAAG,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAoB,KAAI;AACtG,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;AACzB,IAAA,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;AACnC,IAAA,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,4BAA4B,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC;IACzL,QACIA,gBAAS,UAAU,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,YAClE,QAAQ,EAAA,CACP,EACR;AACN;;;;"}
@@ -0,0 +1,2 @@
1
+ export { MultiValueContainer } from './MultiValueContainer.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ import { ITheme } from '@fluentui/react';
2
+ export declare const getMultiValueContainerStyles: (theme: ITheme, isDisabled?: boolean, height?: number) => import("@fluentui/react").IProcessedStyleSet<{
3
+ root: {
4
+ display: string;
5
+ alignItems: string;
6
+ backgroundColor: string;
7
+ border: string;
8
+ borderRadius: number;
9
+ margin: string;
10
+ padding: string;
11
+ paddingRight: number;
12
+ fontSize: number;
13
+ color: string;
14
+ maxWidth: number;
15
+ overflow: string;
16
+ height: number;
17
+ };
18
+ }>;
@@ -0,0 +1,24 @@
1
+ import { mergeStyleSets } from '@fluentui/react';
2
+
3
+ const getMultiValueContainerStyles = (theme, isDisabled, height) => {
4
+ return mergeStyleSets({
5
+ root: {
6
+ display: 'inline-flex',
7
+ alignItems: 'center',
8
+ backgroundColor: theme.palette.neutralLighter,
9
+ border: `1px solid ${theme.palette.neutralLight}`,
10
+ borderRadius: 2,
11
+ margin: '2px 4px 2px 0',
12
+ padding: '1px 4px',
13
+ paddingRight: isDisabled ? 4 : 0,
14
+ fontSize: 12,
15
+ color: theme.palette.neutralPrimary,
16
+ maxWidth: 200,
17
+ overflow: 'hidden',
18
+ height: height ?? 20
19
+ },
20
+ });
21
+ };
22
+
23
+ export { getMultiValueContainerStyles };
24
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/multi-value-container/styles.ts"],"sourcesContent":["import { ITheme, mergeStyleSets } from '@fluentui/react';\n\nexport const getMultiValueContainerStyles = (theme: ITheme, isDisabled?: boolean, height?: number) => {\n return mergeStyleSets({\n root: {\n display: 'inline-flex',\n alignItems: 'center',\n backgroundColor: theme.palette.neutralLighter,\n border: `1px solid ${theme.palette.neutralLight}`,\n borderRadius: 2,\n margin: '2px 4px 2px 0',\n padding: '1px 4px',\n paddingRight: isDisabled ? 4 : 0,\n fontSize: 12,\n color: theme.palette.neutralPrimary,\n maxWidth: 200,\n overflow: 'hidden',\n height: height ?? 20\n },\n });\n};\n"],"names":[],"mappings":";;AAEa,MAAA,4BAA4B,GAAG,CAAC,KAAa,EAAE,UAAoB,EAAE,MAAe,KAAI;AACjG,IAAA,OAAO,cAAc,CAAC;AAClB,QAAA,IAAI,EAAE;AACF,YAAA,OAAO,EAAE,aAAa;AACtB,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;AAC7C,YAAA,MAAM,EAAE,CAAa,UAAA,EAAA,KAAK,CAAC,OAAO,CAAC,YAAY,CAAE,CAAA;AACjD,YAAA,YAAY,EAAE,CAAC;AACf,YAAA,MAAM,EAAE,eAAe;AACvB,YAAA,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,UAAU,GAAG,CAAC,GAAG,CAAC;AAChC,YAAA,QAAQ,EAAE,EAAE;AACZ,YAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;AACnC,YAAA,QAAQ,EAAE,GAAG;AACb,YAAA,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,MAAM,IAAI,EAAE;AACvB,SAAA;AACJ,KAAA,CAAC,CAAC;AACP;;;;"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { MultiValueGenericProps } from 'react-select';
3
+ export declare const MultiValueLabel: (props: MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { Link } from '@fluentui/react';
4
+ import { getMultiValueLabelStyles } from './styles.js';
5
+
6
+ const MultiValueLabel = (props) => {
7
+ const styles = React.useMemo(() => getMultiValueLabelStyles(), []);
8
+ const { selectProps, data, children } = props;
9
+ const { onNavigate } = selectProps;
10
+ const label = jsx("span", { title: data.name, className: styles.root, children: children });
11
+ if (onNavigate) {
12
+ return (jsx(Link, { styles: { root: styles.link }, onClick: (e) => {
13
+ e.preventDefault();
14
+ onNavigate(data);
15
+ }, children: label }));
16
+ }
17
+ return label;
18
+ };
19
+
20
+ export { MultiValueLabel };
21
+ //# sourceMappingURL=MultiValueLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiValueLabel.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/MultiValueLabel.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Link } from '@fluentui/react';\nimport { MultiValueGenericProps } from 'react-select';\nimport { getMultiValueLabelStyles } from './styles';\n\nexport const MultiValueLabel = (props: MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any>) => {\n const styles = React.useMemo(() => getMultiValueLabelStyles(), []);\n const {selectProps, data, children} = props;\n const { onNavigate } = selectProps as any;\n\n const label = <span title={data.name} className={styles.root}>{children}</span>;\n\n if (onNavigate) {\n return (\n <Link\n styles={{ root: styles.link }}\n onClick={(e) => {\n e.preventDefault();\n onNavigate(data);\n }}\n >\n {label}\n </Link>\n );\n }\n return label;\n};\n"],"names":["_jsx"],"mappings":";;;;;AAKa,MAAA,eAAe,GAAG,CAAC,KAA+E,KAAI;AAC/G,IAAA,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,MAAM,EAAC,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAC,GAAG,KAAK,CAAC;AAC5C,IAAA,MAAM,EAAE,UAAU,EAAE,GAAG,WAAkB,CAAC;AAE1C,IAAA,MAAM,KAAK,GAAGA,GAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,EAAG,QAAA,EAAA,QAAQ,GAAQ,CAAC;AAEhF,IAAA,IAAI,UAAU,EAAE;AACZ,QAAA,QACIA,GAAC,CAAA,IAAI,IACD,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,EAC7B,OAAO,EAAE,CAAC,CAAC,KAAI;gBACX,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,UAAU,CAAC,IAAI,CAAC,CAAC;AACrB,aAAC,EAEA,QAAA,EAAA,KAAK,EACH,CAAA,EACT;AACL,KAAA;AACD,IAAA,OAAO,KAAK,CAAC;AACjB;;;;"}
@@ -0,0 +1,2 @@
1
+ export { MultiValueLabel } from './MultiValueLabel.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ export declare const getMultiValueLabelStyles: () => import("@fluentui/react").IProcessedStyleSet<{
2
+ root: {
3
+ overflow: string;
4
+ textOverflow: string;
5
+ whiteSpace: string;
6
+ fontWeight: number;
7
+ display: string;
8
+ };
9
+ link: {
10
+ fontWeight: number;
11
+ pointerEvents: string;
12
+ overflow: string;
13
+ display: string;
14
+ };
15
+ }>;
@@ -0,0 +1,22 @@
1
+ import { mergeStyleSets } from '@fluentui/react';
2
+
3
+ const getMultiValueLabelStyles = () => {
4
+ return mergeStyleSets({
5
+ root: {
6
+ overflow: 'hidden',
7
+ textOverflow: 'ellipsis',
8
+ whiteSpace: 'nowrap',
9
+ fontWeight: 600,
10
+ display: 'block',
11
+ },
12
+ link: {
13
+ fontWeight: 600,
14
+ pointerEvents: 'all',
15
+ overflow: 'hidden',
16
+ display: 'block',
17
+ }
18
+ });
19
+ };
20
+
21
+ export { getMultiValueLabelStyles };
22
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/multi-value-label/styles.ts"],"sourcesContent":["import { mergeStyleSets } from '@fluentui/react';\n\nexport const getMultiValueLabelStyles = () => {\n return mergeStyleSets({\n root: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n fontWeight: 600,\n display: 'block',\n },\n link: {\n fontWeight: 600,\n pointerEvents: 'all',\n overflow: 'hidden',\n display: 'block',\n }\n });\n};\n"],"names":[],"mappings":";;AAEO,MAAM,wBAAwB,GAAG,MAAK;AACzC,IAAA,OAAO,cAAc,CAAC;AAClB,QAAA,IAAI,EAAE;AACF,YAAA,QAAQ,EAAE,QAAQ;AAClB,YAAA,YAAY,EAAE,UAAU;AACxB,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,UAAU,EAAE,GAAG;AACf,YAAA,OAAO,EAAE,OAAO;AACnB,SAAA;AACD,QAAA,IAAI,EAAE;AACF,YAAA,UAAU,EAAE,GAAG;AACf,YAAA,aAAa,EAAE,KAAK;AACpB,YAAA,QAAQ,EAAE,QAAQ;AAClB,YAAA,OAAO,EAAE,OAAO;AACnB,SAAA;AACJ,KAAA,CAAC,CAAC;AACP;;;;"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { MultiValueRemoveProps } from 'react-select';
3
+ export declare const MultiValueRemove: ({ innerProps, selectProps }: MultiValueRemoveProps<ComponentFramework.EntityReference, boolean, any>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { useTheme, Icon } from '@fluentui/react';
4
+ import { getMultiValueRemoveStyles } from './styles.js';
5
+ import { useLookupManyProps } from '../../context.js';
6
+
7
+ const MultiValueRemove = ({ innerProps, selectProps }) => {
8
+ const theme = useTheme();
9
+ const props = useLookupManyProps();
10
+ const styles = React.useMemo(() => getMultiValueRemoveStyles(theme, props.selectedRecordHeight), [theme, props.selectedRecordHeight]);
11
+ if (selectProps.isDisabled) {
12
+ return jsx(Fragment, {});
13
+ }
14
+ return (jsx("div", { ...innerProps, className: styles.root, children: jsx(Icon, { iconName: "Cancel", className: styles.icon }) }));
15
+ };
16
+
17
+ export { MultiValueRemove };
18
+ //# sourceMappingURL=MultiValueRemove.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiValueRemove.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/MultiValueRemove.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Icon, useTheme } from '@fluentui/react';\nimport { MultiValueRemoveProps } from 'react-select';\nimport { getMultiValueRemoveStyles } from './styles';\nimport { useLookupManyProps } from '../../context';\n\nexport const MultiValueRemove = ({ innerProps, selectProps }: MultiValueRemoveProps<ComponentFramework.EntityReference, boolean, any>) => {\n const theme = useTheme();\n const props = useLookupManyProps();\n const styles = React.useMemo(() => getMultiValueRemoveStyles(theme, props.selectedRecordHeight), [theme, props.selectedRecordHeight]);\n if(selectProps.isDisabled) {\n return <></>\n }\n return (\n <div {...innerProps} className={styles.root}>\n <Icon iconName=\"Cancel\" className={styles.icon} />\n </div>\n );\n};\n"],"names":["_jsx"],"mappings":";;;;;;AAMa,MAAA,gBAAgB,GAAG,CAAC,EAAE,UAAU,EAAE,WAAW,EAA2E,KAAI;AACrI,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;AACzB,IAAA,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC;IACtI,IAAG,WAAW,CAAC,UAAU,EAAE;AACvB,QAAA,OAAOA,iBAAK,CAAA;AACf,KAAA;IACD,QACIA,GAAS,CAAA,KAAA,EAAA,EAAA,GAAA,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,QAAA,EACvCA,GAAC,CAAA,IAAI,IAAC,QAAQ,EAAC,QAAQ,EAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,CAAI,EAChD,CAAA,EACR;AACN;;;;"}
@@ -0,0 +1,22 @@
1
+ import { ITheme } from '@fluentui/react';
2
+ export declare const getMultiValueRemoveStyles: (theme: ITheme, height?: number) => import("@fluentui/react").IProcessedStyleSet<{
3
+ root: {
4
+ display: string;
5
+ alignItems: string;
6
+ justifyContent: string;
7
+ marginLeft: number;
8
+ padding: number;
9
+ cursor: string;
10
+ borderRadius: number;
11
+ color: string;
12
+ height: number;
13
+ width: number;
14
+ ':hover': {
15
+ color: string;
16
+ backgroundColor: string;
17
+ };
18
+ };
19
+ icon: {
20
+ fontSize: number;
21
+ };
22
+ }>;
@@ -0,0 +1,28 @@
1
+ import { mergeStyleSets } from '@fluentui/react';
2
+
3
+ const getMultiValueRemoveStyles = (theme, height) => {
4
+ return mergeStyleSets({
5
+ root: {
6
+ display: 'inline-flex',
7
+ alignItems: 'center',
8
+ justifyContent: 'center',
9
+ marginLeft: 2,
10
+ padding: 1,
11
+ cursor: 'pointer',
12
+ borderRadius: 2,
13
+ color: theme.palette.neutralSecondary,
14
+ height: height ?? 20,
15
+ width: 20,
16
+ ':hover': {
17
+ color: theme.palette.neutralPrimary,
18
+ backgroundColor: theme.palette.neutralLight,
19
+ },
20
+ },
21
+ icon: {
22
+ fontSize: 10,
23
+ },
24
+ });
25
+ };
26
+
27
+ export { getMultiValueRemoveStyles };
28
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/components/multi-value-remove/styles.ts"],"sourcesContent":["import { ITheme, mergeStyleSets } from '@fluentui/react';\n\nexport const getMultiValueRemoveStyles = (theme: ITheme, height?: number) => {\n return mergeStyleSets({\n root: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n marginLeft: 2,\n padding: 1,\n cursor: 'pointer',\n borderRadius: 2,\n color: theme.palette.neutralSecondary,\n height: height ?? 20,\n width: 20,\n ':hover': {\n color: theme.palette.neutralPrimary,\n backgroundColor: theme.palette.neutralLight,\n },\n },\n icon: {\n fontSize: 10,\n },\n });\n};\n"],"names":[],"mappings":";;MAEa,yBAAyB,GAAG,CAAC,KAAa,EAAE,MAAe,KAAI;AACxE,IAAA,OAAO,cAAc,CAAC;AAClB,QAAA,IAAI,EAAE;AACF,YAAA,OAAO,EAAE,aAAa;AACtB,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,cAAc,EAAE,QAAQ;AACxB,YAAA,UAAU,EAAE,CAAC;AACb,YAAA,OAAO,EAAE,CAAC;AACV,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,YAAY,EAAE,CAAC;AACf,YAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB;YACrC,MAAM,EAAE,MAAM,IAAI,EAAE;AACpB,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,QAAQ,EAAE;AACN,gBAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;AACnC,gBAAA,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY;AAC9C,aAAA;AACJ,SAAA;AACD,QAAA,IAAI,EAAE;AACF,YAAA,QAAQ,EAAE,EAAE;AACf,SAAA;AACJ,KAAA,CAAC,CAAC;AACP;;;;"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ILookupManyProps } from "./LookupMany";
3
+ export declare const LookupManyPropsContext: React.Context<ILookupManyProps>;
4
+ export declare const useLookupManyProps: () => ILookupManyProps;
@@ -0,0 +1,9 @@
1
+ import React__default from 'react';
2
+
3
+ const LookupManyPropsContext = React__default.createContext(null);
4
+ const useLookupManyProps = () => {
5
+ return React__default.useContext(LookupManyPropsContext);
6
+ };
7
+
8
+ export { LookupManyPropsContext, useLookupManyProps };
9
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","sources":["../../../../../../src/components/TaskGrid/components/grid/lookup-many/context.ts"],"sourcesContent":["import React from \"react\";\nimport { ILookupManyProps } from \"./LookupMany\";\n\nexport const LookupManyPropsContext = React.createContext<ILookupManyProps>(null as any);\n\nexport const useLookupManyProps = () => {\n return React.useContext(LookupManyPropsContext);\n} "],"names":["React"],"mappings":";;AAGa,MAAA,sBAAsB,GAAGA,cAAK,CAAC,aAAa,CAAmB,IAAW,EAAE;AAElF,MAAM,kBAAkB,GAAG,MAAK;AACnC,IAAA,OAAOA,cAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;AACpD;;;;"}
@@ -0,0 +1,4 @@
1
+ export * from './LookupMany';
2
+ export * from './people-lookup-many';
3
+ export * from './colorful-lookup-many';
4
+ export * from 'react-select';
@@ -0,0 +1,5 @@
1
+ export { LookupMany } from './LookupMany.js';
2
+ export * from 'react-select';
3
+ export { PeopleLookupMany } from './people-lookup-many/PeopleLookupMany.js';
4
+ export { ColorfulLookupMany } from './colorful-lookup-many/ColorfulLookupMany.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -0,0 +1,5 @@
1
+ import { ILookupManyProps } from "../LookupMany";
2
+ export interface IPeopleLookupManyProps extends ILookupManyProps {
3
+ imageUrlPropertyName?: string;
4
+ }
5
+ export declare const PeopleLookupMany: (props: IPeopleLookupManyProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { LookupMany } from '../LookupMany.js';
3
+ import { DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS } from './components/components.js';
4
+ import { PeopleLookupManyPropsContext } from './context.js';
5
+
6
+ const PeopleLookupMany = (props) => {
7
+ const components = { ...DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS, ...props.components };
8
+ return jsx(PeopleLookupManyPropsContext.Provider, { value: props, children: jsx(LookupMany, { ...props, selectedRecordHeight: props.selectedRecordHeight ?? 28, components: components }) });
9
+ };
10
+
11
+ export { PeopleLookupMany };
12
+ //# sourceMappingURL=PeopleLookupMany.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeopleLookupMany.js","sources":["../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/PeopleLookupMany.tsx"],"sourcesContent":["import { ILookupManyProps, LookupMany } from \"../LookupMany\";\nimport { DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS } from \"./components/components\";\nimport { PeopleLookupManyPropsContext } from \"./context\";\n\nexport interface IPeopleLookupManyProps extends ILookupManyProps {\n imageUrlPropertyName?: string\n}\n\nexport const PeopleLookupMany = (props: IPeopleLookupManyProps) => {\n const components = { ...DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS, ...props.components };\n return <PeopleLookupManyPropsContext.Provider value={props}>\n <LookupMany\n {...props}\n selectedRecordHeight={props.selectedRecordHeight ?? 28}\n components={components}\n />\n </PeopleLookupManyPropsContext.Provider>\n}"],"names":["_jsx"],"mappings":";;;;;AAQa,MAAA,gBAAgB,GAAG,CAAC,KAA6B,KAAI;IAC9D,MAAM,UAAU,GAAG,EAAE,GAAG,qCAAqC,EAAE,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC;IACrF,OAAOA,GAAA,CAAC,4BAA4B,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,KAAK,EAAA,QAAA,EACtDA,GAAC,CAAA,UAAU,EACH,EAAA,GAAA,KAAK,EACT,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,IAAI,EAAE,EACtD,UAAU,EAAE,UAAU,EACxB,CAAA,EAAA,CACkC,CAAA;AAC5C;;;;"}
@@ -0,0 +1,2 @@
1
+ import { ILookupManyComponents } from "../../components/components";
2
+ export declare const DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS: ILookupManyComponents;
@@ -0,0 +1,15 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { LookupManyComponents } from '../../components/components.js';
3
+ import { MultiValueLabel } from './multi-value-label/MultiValueLabel.js';
4
+ import { Option } from './option/Option.js';
5
+ import { MultiValueContainer } from './multi-value-container/MultiValueContainer.js';
6
+
7
+ const DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS = {
8
+ ...LookupManyComponents,
9
+ onRenderMultiValueLabel: (props) => jsx(MultiValueLabel, { ...props }),
10
+ onRenderOption: (props) => jsx(Option, { ...props }),
11
+ onRenderMultiValueContainer: (props) => jsx(MultiValueContainer, { ...props })
12
+ };
13
+
14
+ export { DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS };
15
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sources":["../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/components.tsx"],"sourcesContent":["import { ILookupManyComponents, LookupManyComponents } from \"../../components/components\";\nimport { MultiValueContainer } from \"./multi-value-container\";\nimport { MultiValueLabel } from \"./multi-value-label\";\nimport { Option } from \"./option\";\n\nexport const DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS: ILookupManyComponents = {\n ...LookupManyComponents ,\n onRenderMultiValueLabel: (props) => <MultiValueLabel {...props} />,\n onRenderOption: (props) => <Option {...props} />,\n onRenderMultiValueContainer: (props) => <MultiValueContainer {...props} />\n}"],"names":["_jsx"],"mappings":";;;;;;AAKa,MAAA,qCAAqC,GAA0B;AACxE,IAAA,GAAG,oBAAoB;IACvB,uBAAuB,EAAE,CAAC,KAAK,KAAKA,GAAC,CAAA,eAAe,EAAK,EAAA,GAAA,KAAK,EAAI,CAAA;IAClE,cAAc,EAAE,CAAC,KAAK,KAAKA,GAAC,CAAA,MAAM,EAAK,EAAA,GAAA,KAAK,EAAI,CAAA;IAChD,2BAA2B,EAAE,CAAC,KAAK,KAAKA,GAAC,CAAA,mBAAmB,EAAK,EAAA,GAAA,KAAK,EAAI,CAAA;;;;;"}
@@ -0,0 +1,2 @@
1
+ export { DEFAULT_PEOPLE_LOOKUP_MANY_COMPONENTS } from './components.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { MultiValueGenericProps } from 'react-select';
3
+ export declare const MultiValueContainer: (props: MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { MultiValueContainer as MultiValueContainer$1 } from '../../../components/multi-value-container/MultiValueContainer.js';
3
+ import { getMultiValueContainerStyles } from './styles.js';
4
+ import { useMemo } from 'react';
5
+
6
+ const MultiValueContainer = (props) => {
7
+ const styles = useMemo(() => getMultiValueContainerStyles(props.selectProps.isDisabled), [props.selectProps.isDisabled]);
8
+ return (jsx(MultiValueContainer$1, { ...props, className: styles.root }));
9
+ };
10
+
11
+ export { MultiValueContainer };
12
+ //# sourceMappingURL=MultiValueContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiValueContainer.js","sources":["../../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/MultiValueContainer.tsx"],"sourcesContent":["import { MultiValueGenericProps } from 'react-select';\nimport { MultiValueContainer as NativeMultiValueContainer } from '../../../components/multi-value-container/MultiValueContainer';\nimport { getMultiValueContainerStyles } from './styles';\nimport { useMemo } from 'react';\n\nexport const MultiValueContainer = (props: MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any>) => {\n const styles = useMemo(() => getMultiValueContainerStyles(props.selectProps.isDisabled), [props.selectProps.isDisabled]);\n return (\n <NativeMultiValueContainer {...props} className={styles.root} />\n );\n};\n"],"names":["_jsx","NativeMultiValueContainer"],"mappings":";;;;;AAKa,MAAA,mBAAmB,GAAG,CAAC,KAA+E,KAAI;IACnH,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,4BAA4B,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC;AACzH,IAAA,QACIA,GAAA,CAACC,qBAAyB,EAAA,EAAA,GAAK,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,CAAK,EACnE;AACN;;;;"}
@@ -0,0 +1,2 @@
1
+ export { MultiValueContainer } from './MultiValueContainer.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export declare const getMultiValueContainerStyles: (isDisabled: boolean) => import("@fluentui/react").IProcessedStyleSet<{
2
+ root: {
3
+ '&&': {
4
+ border?: string | undefined;
5
+ padding?: string | undefined;
6
+ backgroundColor?: string | undefined;
7
+ };
8
+ };
9
+ }>;
@@ -0,0 +1,18 @@
1
+ import { mergeStyleSets } from '@fluentui/react';
2
+
3
+ const getMultiValueContainerStyles = (isDisabled) => {
4
+ return mergeStyleSets({
5
+ root: {
6
+ '&&': {
7
+ ...(isDisabled ? {
8
+ border: 'none',
9
+ padding: '0px',
10
+ backgroundColor: 'transparent',
11
+ } : {})
12
+ }
13
+ }
14
+ });
15
+ };
16
+
17
+ export { getMultiValueContainerStyles };
18
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":["../../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-container/styles.ts"],"sourcesContent":["import { mergeStyleSets } from \"@fluentui/react\"\n\nexport const getMultiValueContainerStyles = (isDisabled: boolean) => {\n return mergeStyleSets({\n root: {\n '&&': {\n ...(isDisabled ? {\n border: 'none',\n padding: '0px',\n backgroundColor: 'transparent',\n } : {})\n }\n }\n })\n}\n"],"names":[],"mappings":";;AAEa,MAAA,4BAA4B,GAAG,CAAC,UAAmB,KAAI;AAChE,IAAA,OAAO,cAAc,CAAC;AAClB,QAAA,IAAI,EAAE;AACF,YAAA,IAAI,EAAE;AACF,gBAAA,IAAI,UAAU,GAAG;AACb,oBAAA,MAAM,EAAE,MAAM;AACd,oBAAA,OAAO,EAAE,KAAK;AACd,oBAAA,eAAe,EAAE,aAAa;iBACjC,GAAG,EAAE,CAAC;AACV,aAAA;AACJ,SAAA;AACJ,KAAA,CAAC,CAAA;AACN;;;;"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { MultiValueGenericProps } from 'react-select';
3
+ export declare const MultiValueLabel: (props: MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { TooltipHost, Persona, PersonaSize } from '@fluentui/react';
4
+ import { getMultiValueLabelStyles } from './styles.js';
5
+ import { usePeopleLookupManyProps } from '../../context.js';
6
+ import { MultiValueLabel as MultiValueLabel$1 } from '../../../components/multi-value-label/MultiValueLabel.js';
7
+
8
+ const MultiValueLabel = (props) => {
9
+ const styles = React.useMemo(() => getMultiValueLabelStyles(), []);
10
+ const { imageUrlPropertyName = 'imageurl' } = usePeopleLookupManyProps();
11
+ const imageUrl = props.data.rawData?.[imageUrlPropertyName] ?? undefined;
12
+ const persona = (jsx(TooltipHost, { content: props.data.name, children: jsx(Persona, { imageShouldFadeIn: false, text: props.data.name, size: PersonaSize.size24, imageUrl: imageUrl, hidePersonaDetails: true, styles: { root: styles.persona } }) }));
13
+ return jsx(MultiValueLabel$1, { ...props, children: persona });
14
+ };
15
+
16
+ export { MultiValueLabel };
17
+ //# sourceMappingURL=MultiValueLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiValueLabel.js","sources":["../../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/MultiValueLabel.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Persona, PersonaSize, TooltipHost } from '@fluentui/react';\nimport { MultiValueGenericProps } from 'react-select';\nimport { getMultiValueLabelStyles } from './styles';\nimport { usePeopleLookupManyProps } from '../../context';\nimport { MultiValueLabel as MultiValueLabelBase } from '../../../components/multi-value-label';\n\nexport const MultiValueLabel = (props: MultiValueGenericProps<ComponentFramework.EntityReference, boolean, any>) => {\n const styles = React.useMemo(() => getMultiValueLabelStyles(), []);\n const {imageUrlPropertyName = 'imageurl'} = usePeopleLookupManyProps();\n const imageUrl = (props.data as any).rawData?.[imageUrlPropertyName] ?? undefined;\n\n const persona = (\n <TooltipHost content={props.data.name}>\n <Persona\n imageShouldFadeIn={false}\n text={props.data.name}\n size={PersonaSize.size24}\n imageUrl={imageUrl}\n hidePersonaDetails\n styles={{ root: styles.persona }}\n />\n </TooltipHost>\n );\n\n return <MultiValueLabelBase {...props}>\n {persona}\n </MultiValueLabelBase>\n};\n"],"names":["_jsx","MultiValueLabelBase"],"mappings":";;;;;;;AAOa,MAAA,eAAe,GAAG,CAAC,KAA+E,KAAI;AAC/G,IAAA,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,MAAM,EAAC,oBAAoB,GAAG,UAAU,EAAC,GAAG,wBAAwB,EAAE,CAAC;AACvE,IAAA,MAAM,QAAQ,GAAI,KAAK,CAAC,IAAY,CAAC,OAAO,GAAG,oBAAoB,CAAC,IAAI,SAAS,CAAC;IAElF,MAAM,OAAO,IACTA,GAAC,CAAA,WAAW,IAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACjC,QAAA,EAAAA,GAAA,CAAC,OAAO,EAAA,EACJ,iBAAiB,EAAE,KAAK,EACxB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,IAAI,EAAE,WAAW,CAAC,MAAM,EACxB,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,QAClB,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,EAAE,EAAA,CAClC,EACQ,CAAA,CACjB,CAAC;AAEF,IAAA,OAAOA,IAACC,iBAAmB,EAAA,EAAA,GAAK,KAAK,EAChC,QAAA,EAAA,OAAO,GACU,CAAA;AAC1B;;;;"}
@@ -0,0 +1,2 @@
1
+ export { MultiValueLabel } from './MultiValueLabel.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export declare const getMultiValueLabelStyles: () => {
2
+ persona: {
3
+ margin: number;
4
+ };
5
+ };
@@ -0,0 +1,6 @@
1
+ const getMultiValueLabelStyles = () => ({
2
+ persona: { margin: 0 }
3
+ });
4
+
5
+ export { getMultiValueLabelStyles };
6
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":["../../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/multi-value-label/styles.ts"],"sourcesContent":["export const getMultiValueLabelStyles = () => ({\n persona: { margin: 0 }\n});\n"],"names":[],"mappings":"AAAa,MAAA,wBAAwB,GAAG,OAAO;AAC3C,IAAA,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;AACzB,CAAA;;;;"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="@types/powerapps-component-framework" />
2
+ import { OptionProps } from 'react-select';
3
+ export declare const Option: (props: OptionProps<ComponentFramework.EntityReference, boolean, any>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { components } from 'react-select';
4
+ import { Persona, PersonaSize } from '@fluentui/react';
5
+ import { usePeopleLookupManyProps } from '../../context.js';
6
+ import { getOptionStyles } from './styles.js';
7
+
8
+ const Option = (props) => {
9
+ const { imageUrlPropertyName = 'imageurl' } = usePeopleLookupManyProps();
10
+ const styles = React.useMemo(() => getOptionStyles(), []);
11
+ const imageUrl = props.data.rawData?.[imageUrlPropertyName] ?? undefined;
12
+ return (jsx(components.Option, { ...props, children: jsxs("div", { style: styles.container, children: [jsx(Persona, { text: props.data.name, size: PersonaSize.size32, imageUrl: imageUrl, hidePersonaDetails: true, styles: { root: styles.persona } }), props.children] }) }));
13
+ };
14
+
15
+ export { Option };
16
+ //# sourceMappingURL=Option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Option.js","sources":["../../../../../../../../../src/components/TaskGrid/components/grid/lookup-many/people-lookup-many/components/option/Option.tsx"],"sourcesContent":["import * as React from 'react';\nimport { components, OptionProps } from 'react-select';\nimport { Persona, PersonaSize } from '@fluentui/react';\nimport { usePeopleLookupManyProps } from '../../context';\nimport { getOptionStyles } from './styles';\n\nexport const Option = (props: OptionProps<ComponentFramework.EntityReference, boolean, any>) => {\n const { imageUrlPropertyName = 'imageurl' } = usePeopleLookupManyProps();\n const styles = React.useMemo(() => getOptionStyles(), []);\n const imageUrl = (props.data as any).rawData?.[imageUrlPropertyName] ?? undefined;\n\n return (\n <components.Option {...props}>\n <div style={styles.container}>\n <Persona\n text={props.data.name}\n size={PersonaSize.size32}\n imageUrl={imageUrl}\n hidePersonaDetails\n styles={{ root: styles.persona }}\n />\n {props.children}\n </div>\n </components.Option>\n );\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;AAMa,MAAA,MAAM,GAAG,CAAC,KAAoE,KAAI;IAC3F,MAAM,EAAE,oBAAoB,GAAG,UAAU,EAAE,GAAG,wBAAwB,EAAE,CAAC;AACzE,IAAA,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,eAAe,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1D,IAAA,MAAM,QAAQ,GAAI,KAAK,CAAC,IAAY,CAAC,OAAO,GAAG,oBAAoB,CAAC,IAAI,SAAS,CAAC;IAElF,QACIA,GAAC,CAAA,UAAU,CAAC,MAAM,OAAK,KAAK,EAAA,QAAA,EACxBC,IAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,MAAM,CAAC,SAAS,EAAA,QAAA,EAAA,CACxBD,GAAC,CAAA,OAAO,EACJ,EAAA,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,IAAI,EAAE,WAAW,CAAC,MAAM,EACxB,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAA,IAAA,EAClB,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,EAAE,EAClC,CAAA,EACD,KAAK,CAAC,QAAQ,CAAA,EAAA,CACb,EACU,CAAA,EACtB;AACN;;;;"}
@@ -0,0 +1,2 @@
1
+ export { Option } from './Option.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}