udp-react-enterprise-component-library 26.7.0 → 26.8.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (532) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/UI/fluent-web-components/UdpAccordion.d.ts +2 -1
  3. package/dist/UI/fluent-web-components/UdpAccordion.d.ts.map +1 -1
  4. package/dist/UI/fluent-web-components/UdpAccordion.js.map +1 -1
  5. package/dist/UI/fluent-web-components/UdpAccordion.mjs.map +1 -1
  6. package/dist/UI/fluent-web-components/UdpAutocomplete.d.ts +2 -1
  7. package/dist/UI/fluent-web-components/UdpAutocomplete.d.ts.map +1 -1
  8. package/dist/UI/fluent-web-components/UdpAutocomplete.js.map +1 -1
  9. package/dist/UI/fluent-web-components/UdpAutocomplete.mjs.map +1 -1
  10. package/dist/UI/fluent-web-components/UdpAvatar.d.ts +2 -1
  11. package/dist/UI/fluent-web-components/UdpAvatar.d.ts.map +1 -1
  12. package/dist/UI/fluent-web-components/UdpAvatar.js.map +1 -1
  13. package/dist/UI/fluent-web-components/UdpAvatar.mjs.map +1 -1
  14. package/dist/UI/fluent-web-components/UdpBadge.d.ts +4 -1
  15. package/dist/UI/fluent-web-components/UdpBadge.d.ts.map +1 -1
  16. package/dist/UI/fluent-web-components/UdpBadge.js.map +1 -1
  17. package/dist/UI/fluent-web-components/UdpBadge.mjs.map +1 -1
  18. package/dist/UI/fluent-web-components/UdpButton.d.ts +4 -1
  19. package/dist/UI/fluent-web-components/UdpButton.d.ts.map +1 -1
  20. package/dist/UI/fluent-web-components/UdpButton.js.map +1 -1
  21. package/dist/UI/fluent-web-components/UdpButton.mjs.map +1 -1
  22. package/dist/UI/fluent-web-components/UdpCard.d.ts +2 -1
  23. package/dist/UI/fluent-web-components/UdpCard.d.ts.map +1 -1
  24. package/dist/UI/fluent-web-components/UdpCard.js.map +1 -1
  25. package/dist/UI/fluent-web-components/UdpCard.mjs.map +1 -1
  26. package/dist/UI/fluent-web-components/UdpCheckbox.d.ts +2 -1
  27. package/dist/UI/fluent-web-components/UdpCheckbox.d.ts.map +1 -1
  28. package/dist/UI/fluent-web-components/UdpCheckbox.js.map +1 -1
  29. package/dist/UI/fluent-web-components/UdpCheckbox.mjs.map +1 -1
  30. package/dist/UI/fluent-web-components/UdpChip.d.ts +2 -1
  31. package/dist/UI/fluent-web-components/UdpChip.d.ts.map +1 -1
  32. package/dist/UI/fluent-web-components/UdpChip.js.map +1 -1
  33. package/dist/UI/fluent-web-components/UdpChip.mjs.map +1 -1
  34. package/dist/UI/fluent-web-components/UdpCompoundButton.d.ts +2 -1
  35. package/dist/UI/fluent-web-components/UdpCompoundButton.d.ts.map +1 -1
  36. package/dist/UI/fluent-web-components/UdpCompoundButton.js.map +1 -1
  37. package/dist/UI/fluent-web-components/UdpCompoundButton.mjs.map +1 -1
  38. package/dist/UI/fluent-web-components/UdpContainerQuery.d.ts +2 -1
  39. package/dist/UI/fluent-web-components/UdpContainerQuery.d.ts.map +1 -1
  40. package/dist/UI/fluent-web-components/UdpContainerQuery.js.map +1 -1
  41. package/dist/UI/fluent-web-components/UdpContainerQuery.mjs.map +1 -1
  42. package/dist/UI/fluent-web-components/UdpContainerQueryGrid.d.ts +2 -1
  43. package/dist/UI/fluent-web-components/UdpContainerQueryGrid.d.ts.map +1 -1
  44. package/dist/UI/fluent-web-components/UdpContainerQueryGrid.js.map +1 -1
  45. package/dist/UI/fluent-web-components/UdpContainerQueryGrid.mjs.map +1 -1
  46. package/dist/UI/fluent-web-components/UdpCounterBadge.d.ts +2 -1
  47. package/dist/UI/fluent-web-components/UdpCounterBadge.d.ts.map +1 -1
  48. package/dist/UI/fluent-web-components/UdpCounterBadge.js.map +1 -1
  49. package/dist/UI/fluent-web-components/UdpCounterBadge.mjs.map +1 -1
  50. package/dist/UI/fluent-web-components/UdpDateInput.d.ts +2 -1
  51. package/dist/UI/fluent-web-components/UdpDateInput.d.ts.map +1 -1
  52. package/dist/UI/fluent-web-components/UdpDateInput.js.map +1 -1
  53. package/dist/UI/fluent-web-components/UdpDateInput.mjs.map +1 -1
  54. package/dist/UI/fluent-web-components/UdpDatePicker.d.ts +2 -1
  55. package/dist/UI/fluent-web-components/UdpDatePicker.d.ts.map +1 -1
  56. package/dist/UI/fluent-web-components/UdpDatePicker.js.map +1 -1
  57. package/dist/UI/fluent-web-components/UdpDatePicker.mjs.map +1 -1
  58. package/dist/UI/fluent-web-components/UdpDateTimeInput.d.ts +2 -1
  59. package/dist/UI/fluent-web-components/UdpDateTimeInput.d.ts.map +1 -1
  60. package/dist/UI/fluent-web-components/UdpDateTimeInput.js.map +1 -1
  61. package/dist/UI/fluent-web-components/UdpDateTimeInput.mjs.map +1 -1
  62. package/dist/UI/fluent-web-components/UdpDialog.d.ts +2 -1
  63. package/dist/UI/fluent-web-components/UdpDialog.d.ts.map +1 -1
  64. package/dist/UI/fluent-web-components/UdpDialog.js.map +1 -1
  65. package/dist/UI/fluent-web-components/UdpDialog.mjs.map +1 -1
  66. package/dist/UI/fluent-web-components/UdpDivider.d.ts +2 -1
  67. package/dist/UI/fluent-web-components/UdpDivider.d.ts.map +1 -1
  68. package/dist/UI/fluent-web-components/UdpDivider.js.map +1 -1
  69. package/dist/UI/fluent-web-components/UdpDivider.mjs.map +1 -1
  70. package/dist/UI/fluent-web-components/UdpDrawer.d.ts +9 -1
  71. package/dist/UI/fluent-web-components/UdpDrawer.d.ts.map +1 -1
  72. package/dist/UI/fluent-web-components/UdpDrawer.js +14 -2
  73. package/dist/UI/fluent-web-components/UdpDrawer.js.map +1 -1
  74. package/dist/UI/fluent-web-components/UdpDrawer.mjs +33 -22
  75. package/dist/UI/fluent-web-components/UdpDrawer.mjs.map +1 -1
  76. package/dist/UI/fluent-web-components/UdpDropdown.d.ts +2 -1
  77. package/dist/UI/fluent-web-components/UdpDropdown.d.ts.map +1 -1
  78. package/dist/UI/fluent-web-components/UdpDropdown.js.map +1 -1
  79. package/dist/UI/fluent-web-components/UdpDropdown.mjs.map +1 -1
  80. package/dist/UI/fluent-web-components/UdpDurationInput.d.ts +2 -1
  81. package/dist/UI/fluent-web-components/UdpDurationInput.d.ts.map +1 -1
  82. package/dist/UI/fluent-web-components/UdpDurationInput.js.map +1 -1
  83. package/dist/UI/fluent-web-components/UdpDurationInput.mjs.map +1 -1
  84. package/dist/UI/fluent-web-components/UdpEmptyState.d.ts +2 -1
  85. package/dist/UI/fluent-web-components/UdpEmptyState.d.ts.map +1 -1
  86. package/dist/UI/fluent-web-components/UdpEmptyState.js.map +1 -1
  87. package/dist/UI/fluent-web-components/UdpEmptyState.mjs.map +1 -1
  88. package/dist/UI/fluent-web-components/UdpFileInput.d.ts +2 -1
  89. package/dist/UI/fluent-web-components/UdpFileInput.d.ts.map +1 -1
  90. package/dist/UI/fluent-web-components/UdpFileInput.js.map +1 -1
  91. package/dist/UI/fluent-web-components/UdpFileInput.mjs.map +1 -1
  92. package/dist/UI/fluent-web-components/UdpFlexbox.d.ts +2 -1
  93. package/dist/UI/fluent-web-components/UdpFlexbox.d.ts.map +1 -1
  94. package/dist/UI/fluent-web-components/UdpFlexbox.js.map +1 -1
  95. package/dist/UI/fluent-web-components/UdpFlexbox.mjs.map +1 -1
  96. package/dist/UI/fluent-web-components/UdpIcon.d.ts +2 -1
  97. package/dist/UI/fluent-web-components/UdpIcon.d.ts.map +1 -1
  98. package/dist/UI/fluent-web-components/UdpIcon.js.map +1 -1
  99. package/dist/UI/fluent-web-components/UdpIcon.mjs.map +1 -1
  100. package/dist/UI/fluent-web-components/UdpIconButton.d.ts +4 -1
  101. package/dist/UI/fluent-web-components/UdpIconButton.d.ts.map +1 -1
  102. package/dist/UI/fluent-web-components/UdpIconButton.js.map +1 -1
  103. package/dist/UI/fluent-web-components/UdpIconButton.mjs.map +1 -1
  104. package/dist/UI/fluent-web-components/UdpIconGrid.d.ts +2 -1
  105. package/dist/UI/fluent-web-components/UdpIconGrid.d.ts.map +1 -1
  106. package/dist/UI/fluent-web-components/UdpIconGrid.js.map +1 -1
  107. package/dist/UI/fluent-web-components/UdpIconGrid.mjs.map +1 -1
  108. package/dist/UI/fluent-web-components/UdpImage.d.ts +2 -1
  109. package/dist/UI/fluent-web-components/UdpImage.d.ts.map +1 -1
  110. package/dist/UI/fluent-web-components/UdpImage.js.map +1 -1
  111. package/dist/UI/fluent-web-components/UdpImage.mjs.map +1 -1
  112. package/dist/UI/fluent-web-components/UdpInlineEdit.d.ts +17 -0
  113. package/dist/UI/fluent-web-components/UdpInlineEdit.d.ts.map +1 -1
  114. package/dist/UI/fluent-web-components/UdpInlineEdit.js +17 -0
  115. package/dist/UI/fluent-web-components/UdpInlineEdit.js.map +1 -1
  116. package/dist/UI/fluent-web-components/UdpInlineEdit.mjs +30 -0
  117. package/dist/UI/fluent-web-components/UdpInlineEdit.mjs.map +1 -0
  118. package/dist/UI/fluent-web-components/UdpLink.d.ts +2 -1
  119. package/dist/UI/fluent-web-components/UdpLink.d.ts.map +1 -1
  120. package/dist/UI/fluent-web-components/UdpLink.js.map +1 -1
  121. package/dist/UI/fluent-web-components/UdpLink.mjs.map +1 -1
  122. package/dist/UI/fluent-web-components/UdpList.d.ts +2 -1
  123. package/dist/UI/fluent-web-components/UdpList.d.ts.map +1 -1
  124. package/dist/UI/fluent-web-components/UdpList.js.map +1 -1
  125. package/dist/UI/fluent-web-components/UdpList.mjs.map +1 -1
  126. package/dist/UI/fluent-web-components/UdpListItem.d.ts +2 -1
  127. package/dist/UI/fluent-web-components/UdpListItem.d.ts.map +1 -1
  128. package/dist/UI/fluent-web-components/UdpListItem.js.map +1 -1
  129. package/dist/UI/fluent-web-components/UdpListItem.mjs.map +1 -1
  130. package/dist/UI/fluent-web-components/UdpLocationInput.d.ts +2 -1
  131. package/dist/UI/fluent-web-components/UdpLocationInput.d.ts.map +1 -1
  132. package/dist/UI/fluent-web-components/UdpLocationInput.js.map +1 -1
  133. package/dist/UI/fluent-web-components/UdpLocationInput.mjs.map +1 -1
  134. package/dist/UI/fluent-web-components/UdpMenu.d.ts +2 -1
  135. package/dist/UI/fluent-web-components/UdpMenu.d.ts.map +1 -1
  136. package/dist/UI/fluent-web-components/UdpMenu.js.map +1 -1
  137. package/dist/UI/fluent-web-components/UdpMenu.mjs.map +1 -1
  138. package/dist/UI/fluent-web-components/UdpMessageBar.d.ts +2 -1
  139. package/dist/UI/fluent-web-components/UdpMessageBar.d.ts.map +1 -1
  140. package/dist/UI/fluent-web-components/UdpMessageBar.js.map +1 -1
  141. package/dist/UI/fluent-web-components/UdpMessageBar.mjs.map +1 -1
  142. package/dist/UI/fluent-web-components/UdpNumberInput.d.ts +2 -1
  143. package/dist/UI/fluent-web-components/UdpNumberInput.d.ts.map +1 -1
  144. package/dist/UI/fluent-web-components/UdpNumberInput.js.map +1 -1
  145. package/dist/UI/fluent-web-components/UdpNumberInput.mjs.map +1 -1
  146. package/dist/UI/fluent-web-components/UdpPopover.d.ts +2 -1
  147. package/dist/UI/fluent-web-components/UdpPopover.d.ts.map +1 -1
  148. package/dist/UI/fluent-web-components/UdpPopover.js.map +1 -1
  149. package/dist/UI/fluent-web-components/UdpPopover.mjs.map +1 -1
  150. package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.d.ts +2 -1
  151. package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.d.ts.map +1 -1
  152. package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.js.map +1 -1
  153. package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.mjs.map +1 -1
  154. package/dist/UI/fluent-web-components/UdpProgressBar.d.ts +2 -1
  155. package/dist/UI/fluent-web-components/UdpProgressBar.d.ts.map +1 -1
  156. package/dist/UI/fluent-web-components/UdpProgressBar.js.map +1 -1
  157. package/dist/UI/fluent-web-components/UdpProgressBar.mjs.map +1 -1
  158. package/dist/UI/fluent-web-components/UdpRadioGroup.d.ts +2 -1
  159. package/dist/UI/fluent-web-components/UdpRadioGroup.d.ts.map +1 -1
  160. package/dist/UI/fluent-web-components/UdpRadioGroup.js.map +1 -1
  161. package/dist/UI/fluent-web-components/UdpRadioGroup.mjs.map +1 -1
  162. package/dist/UI/fluent-web-components/UdpSearchInput.d.ts +2 -1
  163. package/dist/UI/fluent-web-components/UdpSearchInput.d.ts.map +1 -1
  164. package/dist/UI/fluent-web-components/UdpSearchInput.js.map +1 -1
  165. package/dist/UI/fluent-web-components/UdpSearchInput.mjs.map +1 -1
  166. package/dist/UI/fluent-web-components/UdpSidebarLayout.d.ts +9 -0
  167. package/dist/UI/fluent-web-components/UdpSidebarLayout.d.ts.map +1 -0
  168. package/dist/UI/fluent-web-components/UdpSidebarLayout.js +6 -0
  169. package/dist/UI/fluent-web-components/UdpSidebarLayout.js.map +1 -0
  170. package/dist/UI/fluent-web-components/UdpSidebarLayout.mjs +18 -0
  171. package/dist/UI/fluent-web-components/UdpSidebarLayout.mjs.map +1 -0
  172. package/dist/UI/fluent-web-components/UdpSignatureInput.d.ts +2 -1
  173. package/dist/UI/fluent-web-components/UdpSignatureInput.d.ts.map +1 -1
  174. package/dist/UI/fluent-web-components/UdpSignatureInput.js.map +1 -1
  175. package/dist/UI/fluent-web-components/UdpSignatureInput.mjs.map +1 -1
  176. package/dist/UI/fluent-web-components/UdpSkeletonLoading.d.ts +8 -0
  177. package/dist/UI/fluent-web-components/UdpSkeletonLoading.d.ts.map +1 -0
  178. package/dist/UI/fluent-web-components/UdpSkeletonLoading.js +6 -0
  179. package/dist/UI/fluent-web-components/UdpSkeletonLoading.js.map +1 -0
  180. package/dist/UI/fluent-web-components/UdpSkeletonLoading.mjs +18 -0
  181. package/dist/UI/fluent-web-components/UdpSkeletonLoading.mjs.map +1 -0
  182. package/dist/UI/fluent-web-components/UdpSlider.d.ts +2 -1
  183. package/dist/UI/fluent-web-components/UdpSlider.d.ts.map +1 -1
  184. package/dist/UI/fluent-web-components/UdpSlider.js.map +1 -1
  185. package/dist/UI/fluent-web-components/UdpSlider.mjs.map +1 -1
  186. package/dist/UI/fluent-web-components/UdpSpinner.d.ts +2 -1
  187. package/dist/UI/fluent-web-components/UdpSpinner.d.ts.map +1 -1
  188. package/dist/UI/fluent-web-components/UdpSpinner.js.map +1 -1
  189. package/dist/UI/fluent-web-components/UdpSpinner.mjs.map +1 -1
  190. package/dist/UI/fluent-web-components/UdpSwatchPicker.d.ts +2 -1
  191. package/dist/UI/fluent-web-components/UdpSwatchPicker.d.ts.map +1 -1
  192. package/dist/UI/fluent-web-components/UdpSwatchPicker.js.map +1 -1
  193. package/dist/UI/fluent-web-components/UdpSwatchPicker.mjs.map +1 -1
  194. package/dist/UI/fluent-web-components/UdpSwitch.d.ts +2 -1
  195. package/dist/UI/fluent-web-components/UdpSwitch.d.ts.map +1 -1
  196. package/dist/UI/fluent-web-components/UdpSwitch.js.map +1 -1
  197. package/dist/UI/fluent-web-components/UdpSwitch.mjs.map +1 -1
  198. package/dist/UI/fluent-web-components/UdpTablist.d.ts +2 -1
  199. package/dist/UI/fluent-web-components/UdpTablist.d.ts.map +1 -1
  200. package/dist/UI/fluent-web-components/UdpTablist.js.map +1 -1
  201. package/dist/UI/fluent-web-components/UdpTablist.mjs.map +1 -1
  202. package/dist/UI/fluent-web-components/UdpText.d.ts +2 -1
  203. package/dist/UI/fluent-web-components/UdpText.d.ts.map +1 -1
  204. package/dist/UI/fluent-web-components/UdpText.js.map +1 -1
  205. package/dist/UI/fluent-web-components/UdpText.mjs.map +1 -1
  206. package/dist/UI/fluent-web-components/UdpTextInput.d.ts +2 -1
  207. package/dist/UI/fluent-web-components/UdpTextInput.d.ts.map +1 -1
  208. package/dist/UI/fluent-web-components/UdpTextInput.js.map +1 -1
  209. package/dist/UI/fluent-web-components/UdpTextInput.mjs.map +1 -1
  210. package/dist/UI/fluent-web-components/UdpTextarea.d.ts +4 -1
  211. package/dist/UI/fluent-web-components/UdpTextarea.d.ts.map +1 -1
  212. package/dist/UI/fluent-web-components/UdpTextarea.js.map +1 -1
  213. package/dist/UI/fluent-web-components/UdpTextarea.mjs.map +1 -1
  214. package/dist/UI/fluent-web-components/UdpTimeInput.d.ts +2 -1
  215. package/dist/UI/fluent-web-components/UdpTimeInput.d.ts.map +1 -1
  216. package/dist/UI/fluent-web-components/UdpTimeInput.js.map +1 -1
  217. package/dist/UI/fluent-web-components/UdpTimeInput.mjs.map +1 -1
  218. package/dist/UI/fluent-web-components/UdpToggleButton.d.ts +2 -1
  219. package/dist/UI/fluent-web-components/UdpToggleButton.d.ts.map +1 -1
  220. package/dist/UI/fluent-web-components/UdpToggleButton.js.map +1 -1
  221. package/dist/UI/fluent-web-components/UdpToggleButton.mjs.map +1 -1
  222. package/dist/UI/fluent-web-components/UdpTooltip.d.ts +2 -1
  223. package/dist/UI/fluent-web-components/UdpTooltip.d.ts.map +1 -1
  224. package/dist/UI/fluent-web-components/UdpTooltip.js.map +1 -1
  225. package/dist/UI/fluent-web-components/UdpTooltip.mjs.map +1 -1
  226. package/dist/UI/fluent-web-components/UdpVerticalSpacer.d.ts +2 -1
  227. package/dist/UI/fluent-web-components/UdpVerticalSpacer.d.ts.map +1 -1
  228. package/dist/UI/fluent-web-components/UdpVerticalSpacer.js.map +1 -1
  229. package/dist/UI/fluent-web-components/UdpVerticalSpacer.mjs.map +1 -1
  230. package/dist/UI/fluent-web-components/index.d.ts +4 -0
  231. package/dist/UI/fluent-web-components/index.d.ts.map +1 -1
  232. package/dist/UI/fluent-web-components/index.js +4 -0
  233. package/dist/UI/fluent-web-components/index.js.map +1 -1
  234. package/dist/UI/fluent-web-components/types.d.ts +26 -0
  235. package/dist/UI/fluent-web-components/types.d.ts.map +1 -0
  236. package/dist/UI/fluent-web-components/types.js +2 -0
  237. package/dist/UI/fluent-web-components/types.js.map +1 -0
  238. package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts +8 -0
  239. package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts.map +1 -1
  240. package/dist/UI/utilityDisplay/utilities/aggregateUtils.js +22 -0
  241. package/dist/UI/utilityDisplay/utilities/aggregateUtils.js.map +1 -1
  242. package/dist/UI/utilityDisplay/utilities/aggregateUtils.mjs.map +1 -1
  243. package/dist/actions/ActionSplitScreen.d.ts.map +1 -1
  244. package/dist/actions/ActionSplitScreen.js +2 -2
  245. package/dist/actions/ActionSplitScreen.js.map +1 -1
  246. package/dist/actions/ActionSplitScreen.mjs +155 -149
  247. package/dist/actions/ActionSplitScreen.mjs.map +1 -1
  248. package/dist/aiAssistant/AiMessageText.d.ts +5 -0
  249. package/dist/aiAssistant/AiMessageText.d.ts.map +1 -0
  250. package/dist/aiAssistant/AiMessageText.js +33 -0
  251. package/dist/aiAssistant/AiMessageText.js.map +1 -0
  252. package/dist/aiAssistant/AiMessageText.mjs +59 -0
  253. package/dist/aiAssistant/AiMessageText.mjs.map +1 -0
  254. package/dist/aiAssistant/AiMessageText.module.css +35 -0
  255. package/dist/aiAssistant/AiProposalCard.d.ts +18 -0
  256. package/dist/aiAssistant/AiProposalCard.d.ts.map +1 -0
  257. package/dist/aiAssistant/AiProposalCard.js +14 -0
  258. package/dist/aiAssistant/AiProposalCard.js.map +1 -0
  259. package/dist/aiAssistant/AiProposalCard.mjs +116 -0
  260. package/dist/aiAssistant/AiProposalCard.mjs.map +1 -0
  261. package/dist/aiAssistant/AiProposalCard.module.css +49 -0
  262. package/dist/aiAssistant/AssistantChat.d.ts +72 -0
  263. package/dist/aiAssistant/AssistantChat.d.ts.map +1 -0
  264. package/dist/aiAssistant/AssistantChat.js +195 -0
  265. package/dist/aiAssistant/AssistantChat.js.map +1 -0
  266. package/dist/aiAssistant/AssistantChat.mjs +514 -0
  267. package/dist/aiAssistant/AssistantChat.mjs.map +1 -0
  268. package/dist/aiAssistant/AssistantChat.module.css +120 -0
  269. package/dist/aiAssistant/UdpAiAssistant.d.ts +21 -0
  270. package/dist/aiAssistant/UdpAiAssistant.d.ts.map +1 -0
  271. package/dist/aiAssistant/UdpAiAssistant.js +49 -0
  272. package/dist/aiAssistant/UdpAiAssistant.js.map +1 -0
  273. package/dist/aiAssistant/UdpAiAssistant.mjs +108 -0
  274. package/dist/aiAssistant/UdpAiAssistant.mjs.map +1 -0
  275. package/dist/aiAssistant/UdpAiAssistant.module.css +8 -0
  276. package/dist/aiAssistant/askClarification.d.ts +5 -0
  277. package/dist/aiAssistant/askClarification.d.ts.map +1 -0
  278. package/dist/aiAssistant/askClarification.js +21 -0
  279. package/dist/aiAssistant/askClarification.js.map +1 -0
  280. package/dist/aiAssistant/askClarification.mjs +23 -0
  281. package/dist/aiAssistant/askClarification.mjs.map +1 -0
  282. package/dist/aiAssistant/conversation.d.ts +74 -0
  283. package/dist/aiAssistant/conversation.d.ts.map +1 -0
  284. package/dist/aiAssistant/conversation.js +75 -0
  285. package/dist/aiAssistant/conversation.js.map +1 -0
  286. package/dist/aiAssistant/conversation.mjs +72 -0
  287. package/dist/aiAssistant/conversation.mjs.map +1 -0
  288. package/dist/aiAssistant/conversationState.d.ts +74 -0
  289. package/dist/aiAssistant/conversationState.d.ts.map +1 -0
  290. package/dist/aiAssistant/conversationState.js +136 -0
  291. package/dist/aiAssistant/conversationState.js.map +1 -0
  292. package/dist/aiAssistant/conversationState.mjs +147 -0
  293. package/dist/aiAssistant/conversationState.mjs.map +1 -0
  294. package/dist/aiAssistant/engine.d.ts +62 -0
  295. package/dist/aiAssistant/engine.d.ts.map +1 -0
  296. package/dist/aiAssistant/engine.js +269 -0
  297. package/dist/aiAssistant/engine.js.map +1 -0
  298. package/dist/aiAssistant/engine.mjs +290 -0
  299. package/dist/aiAssistant/engine.mjs.map +1 -0
  300. package/dist/aiAssistant/index.d.ts +13 -0
  301. package/dist/aiAssistant/index.d.ts.map +1 -0
  302. package/dist/aiAssistant/index.js +13 -0
  303. package/dist/aiAssistant/index.js.map +1 -0
  304. package/dist/aiAssistant/openai.d.ts +90 -0
  305. package/dist/aiAssistant/openai.d.ts.map +1 -0
  306. package/dist/aiAssistant/openai.js +181 -0
  307. package/dist/aiAssistant/openai.js.map +1 -0
  308. package/dist/aiAssistant/openai.mjs +167 -0
  309. package/dist/aiAssistant/openai.mjs.map +1 -0
  310. package/dist/aiAssistant/provider/UdpAiProvider.d.ts +43 -0
  311. package/dist/aiAssistant/provider/UdpAiProvider.d.ts.map +1 -0
  312. package/dist/aiAssistant/provider/UdpAiProvider.js +65 -0
  313. package/dist/aiAssistant/provider/UdpAiProvider.js.map +1 -0
  314. package/dist/aiAssistant/provider/UdpAiProvider.mjs +66 -0
  315. package/dist/aiAssistant/provider/UdpAiProvider.mjs.map +1 -0
  316. package/dist/aiAssistant/provider/index.d.ts +3 -0
  317. package/dist/aiAssistant/provider/index.d.ts.map +1 -0
  318. package/dist/aiAssistant/provider/index.js +3 -0
  319. package/dist/aiAssistant/provider/index.js.map +1 -0
  320. package/dist/aiAssistant/types.d.ts +157 -0
  321. package/dist/aiAssistant/types.d.ts.map +1 -0
  322. package/dist/aiAssistant/types.js +2 -0
  323. package/dist/aiAssistant/types.js.map +1 -0
  324. package/dist/aiAssistant/useAiAssistant.d.ts +20 -0
  325. package/dist/aiAssistant/useAiAssistant.d.ts.map +1 -0
  326. package/dist/aiAssistant/useAiAssistant.js +26 -0
  327. package/dist/aiAssistant/useAiAssistant.js.map +1 -0
  328. package/dist/aiAssistant/useAiAssistant.mjs +98 -0
  329. package/dist/aiAssistant/useAiAssistant.mjs.map +1 -0
  330. package/dist/aiAssistant/useConversation.d.ts +17 -0
  331. package/dist/aiAssistant/useConversation.d.ts.map +1 -0
  332. package/dist/aiAssistant/useConversation.js +29 -0
  333. package/dist/aiAssistant/useConversation.js.map +1 -0
  334. package/dist/aiAssistant/useConversation.mjs +52 -0
  335. package/dist/aiAssistant/useConversation.mjs.map +1 -0
  336. package/dist/chatBot/ChatContainer.d.ts +4 -0
  337. package/dist/chatBot/ChatContainer.d.ts.map +1 -1
  338. package/dist/chatBot/ChatContainer.js +8 -0
  339. package/dist/chatBot/ChatContainer.js.map +1 -1
  340. package/dist/chatBot/ChatContainer.mjs +7 -0
  341. package/dist/chatBot/ChatContainer.mjs.map +1 -1
  342. package/dist/chatBot/ChatMessage.d.ts +4 -0
  343. package/dist/chatBot/ChatMessage.d.ts.map +1 -1
  344. package/dist/chatBot/ChatMessage.js +8 -0
  345. package/dist/chatBot/ChatMessage.js.map +1 -1
  346. package/dist/chatBot/ChatMessage.mjs +60 -47
  347. package/dist/chatBot/ChatMessage.mjs.map +1 -1
  348. package/dist/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +1 -1
  349. package/dist/domain/entityForm/entityFormModel.d.ts +41 -0
  350. package/dist/domain/entityForm/entityFormModel.d.ts.map +1 -0
  351. package/dist/domain/entityForm/entityFormModel.js +31 -0
  352. package/dist/domain/entityForm/entityFormModel.js.map +1 -0
  353. package/dist/domain/entityForm/entityFormModel.mjs +34 -0
  354. package/dist/domain/entityForm/entityFormModel.mjs.map +1 -0
  355. package/dist/hooks/crudActions.d.ts.map +1 -1
  356. package/dist/hooks/crudActions.js +2 -6
  357. package/dist/hooks/crudActions.js.map +1 -1
  358. package/dist/hooks/crudActions.mjs +2 -8
  359. package/dist/hooks/crudActions.mjs.map +1 -1
  360. package/dist/hooks/crudForeignKeyData.d.ts.map +1 -1
  361. package/dist/hooks/crudForeignKeyData.js +2 -7
  362. package/dist/hooks/crudForeignKeyData.js.map +1 -1
  363. package/dist/hooks/crudForeignKeyData.mjs +4 -9
  364. package/dist/hooks/crudForeignKeyData.mjs.map +1 -1
  365. package/dist/hooks/usePromotedLookupMethods.d.ts.map +1 -1
  366. package/dist/hooks/usePromotedLookupMethods.js +4 -1
  367. package/dist/hooks/usePromotedLookupMethods.js.map +1 -1
  368. package/dist/hooks/usePromotedLookupMethods.mjs +3 -1
  369. package/dist/hooks/usePromotedLookupMethods.mjs.map +1 -1
  370. package/dist/hooks/usePromotedMethodEntities.d.ts.map +1 -1
  371. package/dist/hooks/usePromotedMethodEntities.js +5 -1
  372. package/dist/hooks/usePromotedMethodEntities.js.map +1 -1
  373. package/dist/hooks/usePromotedMethodEntities.mjs +3 -1
  374. package/dist/hooks/usePromotedMethodEntities.mjs.map +1 -1
  375. package/dist/hooks/usePromotedMethodEntity.js +1 -1
  376. package/dist/hooks/usePromotedMethodEntity.js.map +1 -1
  377. package/dist/hooks/usePromotedMethodEntity.mjs +1 -1
  378. package/dist/hooks/usePromotedMethodEntity.mjs.map +1 -1
  379. package/dist/index.d.ts +2 -0
  380. package/dist/index.d.ts.map +1 -1
  381. package/dist/index.js +2 -0
  382. package/dist/index.js.map +1 -1
  383. package/dist/index.mjs +23 -3
  384. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts.map +1 -1
  385. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.js +2 -9
  386. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.js.map +1 -1
  387. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs +69 -90
  388. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs.map +1 -1
  389. package/dist/maintenanceEngine/entityFormInputs.d.ts +39 -0
  390. package/dist/maintenanceEngine/entityFormInputs.d.ts.map +1 -0
  391. package/dist/maintenanceEngine/entityFormInputs.js +174 -0
  392. package/dist/maintenanceEngine/entityFormInputs.js.map +1 -0
  393. package/dist/maintenanceEngine/entityFormInputs.mjs +133 -0
  394. package/dist/maintenanceEngine/entityFormInputs.mjs.map +1 -0
  395. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +1 -1
  396. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
  397. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.js +2 -2
  398. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.js.map +1 -1
  399. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.mjs +2 -2
  400. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.mjs.map +1 -1
  401. package/dist/notes/NotesScreen.d.ts.map +1 -1
  402. package/dist/notes/NotesScreen.js +8 -2
  403. package/dist/notes/NotesScreen.js.map +1 -1
  404. package/dist/notes/NotesScreen.mjs +5 -1
  405. package/dist/notes/NotesScreen.mjs.map +1 -1
  406. package/dist/providers/UdpAiAppSurface.d.ts +19 -0
  407. package/dist/providers/UdpAiAppSurface.d.ts.map +1 -0
  408. package/dist/providers/UdpAiAppSurface.js +39 -0
  409. package/dist/providers/UdpAiAppSurface.js.map +1 -0
  410. package/dist/providers/UdpAiAppSurface.mjs +56 -0
  411. package/dist/providers/UdpAiAppSurface.mjs.map +1 -0
  412. package/dist/providers/UdpAppProvider.d.ts +20 -0
  413. package/dist/providers/UdpAppProvider.d.ts.map +1 -1
  414. package/dist/providers/UdpAppProvider.js +6 -2
  415. package/dist/providers/UdpAppProvider.js.map +1 -1
  416. package/dist/providers/UdpAppProvider.mjs +30 -21
  417. package/dist/providers/UdpAppProvider.mjs.map +1 -1
  418. package/dist/reminders/RemindersScreen.d.ts.map +1 -1
  419. package/dist/reminders/RemindersScreen.js +8 -2
  420. package/dist/reminders/RemindersScreen.js.map +1 -1
  421. package/dist/reminders/RemindersScreen.mjs +5 -1
  422. package/dist/reminders/RemindersScreen.mjs.map +1 -1
  423. package/dist/routes/UdpRoutes.d.ts.map +1 -1
  424. package/dist/routes/UdpRoutes.js.map +1 -1
  425. package/dist/routes/UdpRoutes.mjs.map +1 -1
  426. package/dist/searchIntent/compile.d.ts +9 -0
  427. package/dist/searchIntent/compile.d.ts.map +1 -0
  428. package/dist/searchIntent/compile.js +127 -0
  429. package/dist/searchIntent/compile.js.map +1 -0
  430. package/dist/searchIntent/compile.mjs +120 -0
  431. package/dist/searchIntent/compile.mjs.map +1 -0
  432. package/dist/searchIntent/diff.d.ts +10 -0
  433. package/dist/searchIntent/diff.d.ts.map +1 -0
  434. package/dist/searchIntent/diff.js +90 -0
  435. package/dist/searchIntent/diff.js.map +1 -0
  436. package/dist/searchIntent/diff.mjs +88 -0
  437. package/dist/searchIntent/diff.mjs.map +1 -0
  438. package/dist/searchIntent/index.d.ts +13 -0
  439. package/dist/searchIntent/index.d.ts.map +1 -0
  440. package/dist/searchIntent/index.js +13 -0
  441. package/dist/searchIntent/index.js.map +1 -0
  442. package/dist/searchIntent/operators.d.ts +28 -0
  443. package/dist/searchIntent/operators.d.ts.map +1 -0
  444. package/dist/searchIntent/operators.js +184 -0
  445. package/dist/searchIntent/operators.js.map +1 -0
  446. package/dist/searchIntent/operators.mjs +164 -0
  447. package/dist/searchIntent/operators.mjs.map +1 -0
  448. package/dist/searchIntent/prompt.d.ts +36 -0
  449. package/dist/searchIntent/prompt.d.ts.map +1 -0
  450. package/dist/searchIntent/prompt.js +152 -0
  451. package/dist/searchIntent/prompt.js.map +1 -0
  452. package/dist/searchIntent/prompt.mjs +116 -0
  453. package/dist/searchIntent/prompt.mjs.map +1 -0
  454. package/dist/searchIntent/tools.d.ts +19 -0
  455. package/dist/searchIntent/tools.d.ts.map +1 -0
  456. package/dist/searchIntent/tools.js +189 -0
  457. package/dist/searchIntent/tools.js.map +1 -0
  458. package/dist/searchIntent/tools.mjs +209 -0
  459. package/dist/searchIntent/tools.mjs.map +1 -0
  460. package/dist/searchIntent/types.d.ts +95 -0
  461. package/dist/searchIntent/types.d.ts.map +1 -0
  462. package/dist/searchIntent/types.js +2 -0
  463. package/dist/searchIntent/types.js.map +1 -0
  464. package/dist/searchIntent/validate.d.ts +19 -0
  465. package/dist/searchIntent/validate.d.ts.map +1 -0
  466. package/dist/searchIntent/validate.js +136 -0
  467. package/dist/searchIntent/validate.js.map +1 -0
  468. package/dist/searchIntent/validate.mjs +103 -0
  469. package/dist/searchIntent/validate.mjs.map +1 -0
  470. package/dist/stores/inquiryStore.d.ts +2 -2
  471. package/dist/stores/inquiryStore.d.ts.map +1 -1
  472. package/dist/stores/inquiryStore.mjs.map +1 -1
  473. package/dist/udp/export/MyExportsPage.js +1 -1
  474. package/dist/udp/export/MyExportsPage.js.map +1 -1
  475. package/dist/udp/export/MyExportsPage.mjs +1 -1
  476. package/dist/udp/export/MyExportsPage.mjs.map +1 -1
  477. package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.js +4 -4
  478. package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.js.map +1 -1
  479. package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.mjs +4 -4
  480. package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.mjs.map +1 -1
  481. package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.js +1 -1
  482. package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.js.map +1 -1
  483. package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.mjs +1 -1
  484. package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.mjs.map +1 -1
  485. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.d.ts.map +1 -1
  486. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js +38 -206
  487. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js.map +1 -1
  488. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +63 -172
  489. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs.map +1 -1
  490. package/dist/udp/tags/useTags.d.ts +13 -1
  491. package/dist/udp/tags/useTags.d.ts.map +1 -1
  492. package/dist/udp/tags/useTags.js +16 -6
  493. package/dist/udp/tags/useTags.js.map +1 -1
  494. package/dist/udp/tags/useTags.mjs +41 -35
  495. package/dist/udp/tags/useTags.mjs.map +1 -1
  496. package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
  497. package/dist/utilities/configRequestDedupe.d.ts +31 -0
  498. package/dist/utilities/configRequestDedupe.d.ts.map +1 -0
  499. package/dist/utilities/configRequestDedupe.js +106 -0
  500. package/dist/utilities/configRequestDedupe.js.map +1 -0
  501. package/dist/utilities/configRequestDedupe.mjs +90 -0
  502. package/dist/utilities/configRequestDedupe.mjs.map +1 -0
  503. package/dist/utilities/crud/useDefaultFormValues.d.ts.map +1 -1
  504. package/dist/utilities/crud/useDefaultFormValues.js +14 -9
  505. package/dist/utilities/crud/useDefaultFormValues.js.map +1 -1
  506. package/dist/utilities/crud/useDefaultFormValues.mjs +23 -5
  507. package/dist/utilities/crud/useDefaultFormValues.mjs.map +1 -1
  508. package/dist/utilities/entities/entityUtilities.d.ts +9 -0
  509. package/dist/utilities/entities/entityUtilities.d.ts.map +1 -1
  510. package/dist/utilities/entities/entityUtilities.js +12 -1
  511. package/dist/utilities/entities/entityUtilities.js.map +1 -1
  512. package/dist/utilities/entities/entityUtilities.mjs +15 -2
  513. package/dist/utilities/entities/entityUtilities.mjs.map +1 -1
  514. package/dist/utilities/i18n/locales/es-US.json +104 -1
  515. package/dist/utilities/i18n/locales/es-US.mjs +98 -1
  516. package/dist/utilities/i18n/locales/fr-CA.json +104 -1
  517. package/dist/utilities/i18n/locales/fr-CA.mjs +98 -1
  518. package/dist/utilities/iconLibrary/SelectedLibraryItem.d.ts.map +1 -1
  519. package/dist/utilities/iconLibrary/SelectedLibraryItem.js +0 -1
  520. package/dist/utilities/iconLibrary/SelectedLibraryItem.js.map +1 -1
  521. package/dist/utilities/iconLibrary/SelectedLibraryItem.mjs.map +1 -1
  522. package/dist/utilities/provider/ActionProvider.d.ts.map +1 -1
  523. package/dist/utilities/provider/ActionProvider.js +23 -9
  524. package/dist/utilities/provider/ActionProvider.js.map +1 -1
  525. package/dist/utilities/provider/ActionProvider.mjs +382 -201
  526. package/dist/utilities/provider/ActionProvider.mjs.map +1 -1
  527. package/dist/utilities/useAxiosGet.d.ts.map +1 -1
  528. package/dist/utilities/useAxiosGet.js +3 -1
  529. package/dist/utilities/useAxiosGet.js.map +1 -1
  530. package/dist/utilities/useAxiosGet.mjs +4 -1
  531. package/dist/utilities/useAxiosGet.mjs.map +1 -1
  532. package/package.json +105 -4
@@ -1,3 +1,4 @@
1
+ import { c } from "../../reactCompilerRuntime.mjs";
1
2
  import { ConfigService } from "../../configService/index.mjs";
2
3
  import { NodeActionEnums } from "../../enums/unitySystemEnums.mjs";
3
4
  import { apiMutate } from "../useAxiosMutate.mjs";
@@ -15,7 +16,7 @@ import useDefaultFormValues from "../crud/useDefaultFormValues.mjs";
15
16
  import { useAuthedUser } from "../auth/useAuthedUser.mjs";
16
17
  import { ActionLoadingContext } from "../../contexts/ActionLoadingContext.mjs";
17
18
  import { usePromotedMethodEntities } from "../../hooks/usePromotedMethodEntities.mjs";
18
- import React, { useCallback, useEffect, useMemo, useReducer, useState } from "react";
19
+ import React, { useEffect, useReducer, useState } from "react";
19
20
  import { useHistory } from "react-router-dom";
20
21
  import { createPortal } from "react-dom";
21
22
  //#region src/utilities/provider/ActionProvider.jsx
@@ -120,222 +121,402 @@ const emptyActionLoading = {
120
121
  waitingToExecute: ""
121
122
  };
122
123
  const ActionProvider = (props) => {
124
+ const $ = c(55);
123
125
  const { domRoot, children } = props;
124
126
  const user = useAuthedUser();
125
127
  const history = useHistory();
126
128
  const [apiCatalogId, setApiCatalogId] = useState(null);
127
- const [foreignKeyData, setForeignKeyData] = useState([]);
129
+ let t0;
130
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
131
+ t0 = [];
132
+ $[0] = t0;
133
+ } else t0 = $[0];
134
+ const [foreignKeyData, setForeignKeyData] = useState(t0);
128
135
  const [actionPanel, setActionPanel] = useState(null);
129
136
  const [currentEntityName, setCurrentEntityName] = useState(null);
130
137
  const [currentLocationPathname, setCurrentLocationPathname] = useState(history?.location?.pathname);
131
- usePromotedMethodEntities(apiCatalogId);
132
- const selectedNode = useActionStore((state) => state.selectedNode);
133
- const currentContainerId = useShellStore((state_0) => state_0.currentContainerId);
138
+ const { data: promotedMethodEntities } = usePromotedMethodEntities(apiCatalogId);
139
+ const selectedNode = useActionStore(_temp);
140
+ const currentContainerId = useShellStore(_temp2);
134
141
  usePromotedLookupMethods(apiCatalogId);
135
- const setCurrentApiCatalogId = useCatalogStore((state_1) => state_1.setCurrentApiCatalogId);
136
- const [{ data: tpacb, loading: tpacbLoading }] = useAxiosGet(ConfigService.integrationV1ApiUrl, `tenantProductApiCatalogBase/tenant/${user?.currentTenantId}/product/${ConfigService.config.UNITY_PRODUCT_ID}`, {}, !user?.currentTenantId, false);
137
- const [actionState, dispatch] = useReducer((state_2, reducerAction) => {
138
- switch (reducerAction.type) {
139
- case "SET_ACTION_PANELS":
140
- let containerIdToUse = 0;
141
- if (reducerAction.containerId) containerIdToUse = reducerAction.containerId;
142
- const updatedActionPanels = { ...state_2.actionPanels };
143
- updatedActionPanels[containerIdToUse] = reducerAction.actionPanels;
144
- state_2 = {
145
- ...state_2,
146
- actionPanels: updatedActionPanels
147
- };
148
- break;
149
- case "OPEN_SIDESHEET":
150
- state_2 = {
151
- ...state_2,
152
- sideSheet: reducerAction.sideSheet
153
- };
154
- break;
155
- case "OPEN_MODAL":
156
- state_2 = {
157
- ...state_2,
158
- modal: reducerAction.modal
159
- };
160
- break;
161
- case "CLOSE_ALL_SPLIT_SCREENS":
162
- state_2 = {
163
- ...state_2,
164
- splitScreen: {
165
- open: false,
166
- action: null,
167
- type: null,
168
- params: null
169
- },
170
- pageSplitScreen: {
171
- open: false,
172
- action: null,
173
- type: null,
174
- params: null
175
- },
176
- pageContainerSplitScreen: {
177
- open: false,
178
- action: null,
179
- type: null,
180
- params: null
181
- }
182
- };
183
- break;
184
- case "OPEN_SPLIT_SCREEN":
185
- state_2 = {
186
- ...state_2,
187
- splitScreen: reducerAction.splitScreen
188
- };
189
- break;
190
- case "OPEN_PAGE_SPLIT_SCREEN":
191
- state_2 = {
192
- ...state_2,
193
- pageSplitScreen: reducerAction.pageSplitScreen
194
- };
195
- break;
196
- case "OPEN_PAGE_CONTAINER_SPLIT_SCREEN":
197
- state_2 = {
198
- ...state_2,
199
- pageContainerSplitScreen: reducerAction.pageContainerSplitScreen
200
- };
201
- break;
202
- case "SET_CATALOG_ENTITIES":
203
- state_2 = {
204
- ...state_2,
205
- catalogEntities: reducerAction.catalogEntities
206
- };
207
- break;
208
- case "SET_CATALOG_PROMOTED_ENTITIES":
209
- state_2 = {
210
- ...state_2,
211
- catalogPromotedEntities: reducerAction.catalogPromotedEntities
212
- };
213
- break;
214
- case "SET_INQUIRY_PARAMS":
215
- let initialContainerId = 0;
216
- if (reducerAction.containerId) initialContainerId = reducerAction.containerId;
217
- const updatedInquiryParams = { ...state_2.inquiryParams };
218
- updatedInquiryParams[initialContainerId] = reducerAction.inquiryParams;
219
- state_2 = {
220
- ...state_2,
221
- inquiryParams: updatedInquiryParams
222
- };
223
- break;
224
- case "SET_SHOW_INQUIRY_HEADER_ACTIONS":
225
- state_2 = {
226
- ...state_2,
227
- showInquiryHeaderActions: reducerAction.showInquiryHeaderActions
228
- };
229
- break;
230
- case "SET_MENU_LIST_STATE":
231
- state_2 = {
232
- ...state_2,
233
- menuListState: reducerAction.menuListState
234
- };
235
- break;
236
- case "SET_ACTION_STATE_FOR_NEW_ROUTE":
237
- state_2 = {
238
- ...state_2,
239
- ...newRouteEmptyAction
240
- };
241
- break;
242
- default: throw new Error(`Unknown action type ${reducerAction.type}`);
243
- }
244
- state_2 = {
245
- ...state_2,
246
- setCurrentEntityName
142
+ const setCurrentApiCatalogId = useCatalogStore(_temp3);
143
+ let t1;
144
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
145
+ t1 = {};
146
+ $[1] = t1;
147
+ } else t1 = $[1];
148
+ const [t2] = useAxiosGet(ConfigService.integrationV1ApiUrl, `tenantProductApiCatalogBase/tenant/${user?.currentTenantId}/product/${ConfigService.config.UNITY_PRODUCT_ID}`, t1, !user?.currentTenantId, true);
149
+ const { data: tpacb, loading: tpacbLoading } = t2;
150
+ let t3;
151
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
152
+ t3 = (state_2, reducerAction) => {
153
+ bb23: switch (reducerAction.type) {
154
+ case "SET_ACTION_PANELS": {
155
+ let containerIdToUse = 0;
156
+ if (reducerAction.containerId) containerIdToUse = reducerAction.containerId;
157
+ const updatedActionPanels = { ...state_2.actionPanels };
158
+ updatedActionPanels[containerIdToUse] = reducerAction.actionPanels;
159
+ state_2 = {
160
+ ...state_2,
161
+ actionPanels: updatedActionPanels
162
+ };
163
+ break bb23;
164
+ }
165
+ case "OPEN_SIDESHEET":
166
+ state_2 = {
167
+ ...state_2,
168
+ sideSheet: reducerAction.sideSheet
169
+ };
170
+ break bb23;
171
+ case "OPEN_MODAL":
172
+ state_2 = {
173
+ ...state_2,
174
+ modal: reducerAction.modal
175
+ };
176
+ break bb23;
177
+ case "CLOSE_ALL_SPLIT_SCREENS":
178
+ state_2 = {
179
+ ...state_2,
180
+ splitScreen: {
181
+ open: false,
182
+ action: null,
183
+ type: null,
184
+ params: null
185
+ },
186
+ pageSplitScreen: {
187
+ open: false,
188
+ action: null,
189
+ type: null,
190
+ params: null
191
+ },
192
+ pageContainerSplitScreen: {
193
+ open: false,
194
+ action: null,
195
+ type: null,
196
+ params: null
197
+ }
198
+ };
199
+ break bb23;
200
+ case "OPEN_SPLIT_SCREEN":
201
+ state_2 = {
202
+ ...state_2,
203
+ splitScreen: reducerAction.splitScreen
204
+ };
205
+ break bb23;
206
+ case "OPEN_PAGE_SPLIT_SCREEN":
207
+ state_2 = {
208
+ ...state_2,
209
+ pageSplitScreen: reducerAction.pageSplitScreen
210
+ };
211
+ break bb23;
212
+ case "OPEN_PAGE_CONTAINER_SPLIT_SCREEN":
213
+ state_2 = {
214
+ ...state_2,
215
+ pageContainerSplitScreen: reducerAction.pageContainerSplitScreen
216
+ };
217
+ break bb23;
218
+ case "SET_CATALOG_ENTITIES":
219
+ state_2 = {
220
+ ...state_2,
221
+ catalogEntities: reducerAction.catalogEntities
222
+ };
223
+ break bb23;
224
+ case "SET_CATALOG_PROMOTED_ENTITIES":
225
+ state_2 = {
226
+ ...state_2,
227
+ catalogPromotedEntities: reducerAction.catalogPromotedEntities
228
+ };
229
+ break bb23;
230
+ case "SET_INQUIRY_PARAMS": {
231
+ let initialContainerId = 0;
232
+ if (reducerAction.containerId) initialContainerId = reducerAction.containerId;
233
+ const updatedInquiryParams = { ...state_2.inquiryParams };
234
+ updatedInquiryParams[initialContainerId] = reducerAction.inquiryParams;
235
+ state_2 = {
236
+ ...state_2,
237
+ inquiryParams: updatedInquiryParams
238
+ };
239
+ break bb23;
240
+ }
241
+ case "SET_SHOW_INQUIRY_HEADER_ACTIONS":
242
+ state_2 = {
243
+ ...state_2,
244
+ showInquiryHeaderActions: reducerAction.showInquiryHeaderActions
245
+ };
246
+ break bb23;
247
+ case "SET_MENU_LIST_STATE":
248
+ state_2 = {
249
+ ...state_2,
250
+ menuListState: reducerAction.menuListState
251
+ };
252
+ break bb23;
253
+ case "SET_ACTION_STATE_FOR_NEW_ROUTE":
254
+ state_2 = {
255
+ ...state_2,
256
+ ...newRouteEmptyAction
257
+ };
258
+ break bb23;
259
+ default: throw new Error(`Unknown action type ${reducerAction.type}`);
260
+ }
261
+ state_2 = {
262
+ ...state_2,
263
+ setCurrentEntityName
264
+ };
265
+ return state_2;
247
266
  };
248
- return state_2;
249
- }, emptyAction);
250
- const [actionLoadingState, dispatchActionLoading] = useReducer((state_3, reducerAction_0) => {
251
- switch (reducerAction_0.type) {
252
- case "SET_ACTION_LOADING":
253
- state_3 = {
254
- ...state_3,
255
- loading: reducerAction_0.loading
256
- };
257
- break;
258
- case "SET_ACTION_WAITING_TO_EXECUTE":
259
- state_3 = {
260
- ...state_3,
261
- waitingToExecute: reducerAction_0.actionId
262
- };
263
- break;
264
- default: throw new Error(`Unknown action loading type ${reducerAction_0.type}`);
265
- }
266
- return state_3;
267
- }, emptyActionLoading);
268
- const action = useMemo(() => {
269
- let selectedAction = null;
270
- if (actionState) {
271
- if (actionState.modal?.action) selectedAction = actionState.modal.action;
272
- if (actionState.sideSheet?.action) selectedAction = actionState.sideSheet.action;
273
- if (actionState.splitScreen?.action) selectedAction = actionState.splitScreen.action;
274
- if (actionState.pageSplitScreen?.action) selectedAction = actionState.pageSplitScreen.action;
275
- if (actionState.pageContainerSplitScreen?.action) selectedAction = actionState.pageContainerSplitScreen.action;
276
- }
277
- return selectedAction;
278
- }, [actionState]);
279
- const entityName = useMemo(() => {
280
- return actionPanel ? actionPanel.entityName : currentEntityName;
281
- }, [actionPanel, currentEntityName]);
282
- const [{ data: catalogObject }] = useAxiosGet(ConfigService.integrationV2ApiUrl, `apiCatalog/${apiCatalogId}/catalogObject/${entityName}`, {}, !!!apiCatalogId || !!!entityName, false);
283
- const entityAttributes = useMemo(() => {
284
- return catalogObject?.properties ?? [];
285
- }, [catalogObject]);
267
+ $[2] = t3;
268
+ } else t3 = $[2];
269
+ const [actionState, dispatch] = useReducer(t3, emptyAction);
270
+ const [actionLoadingState, dispatchActionLoading] = useReducer(_temp4, emptyActionLoading);
271
+ let t4;
272
+ let t5;
273
+ if ($[3] !== promotedMethodEntities) {
274
+ t4 = () => {
275
+ if (promotedMethodEntities?.length) dispatch({
276
+ type: "SET_CATALOG_PROMOTED_ENTITIES",
277
+ catalogPromotedEntities: promotedMethodEntities
278
+ });
279
+ };
280
+ t5 = [promotedMethodEntities];
281
+ $[3] = promotedMethodEntities;
282
+ $[4] = t4;
283
+ $[5] = t5;
284
+ } else {
285
+ t4 = $[4];
286
+ t5 = $[5];
287
+ }
288
+ useEffect(t4, t5);
289
+ let selectedAction = null;
290
+ if (actionState) {
291
+ if (actionState.modal?.action) selectedAction = actionState.modal.action;
292
+ if (actionState.sideSheet?.action) selectedAction = actionState.sideSheet.action;
293
+ if (actionState.splitScreen?.action) selectedAction = actionState.splitScreen.action;
294
+ if (actionState.pageSplitScreen?.action) selectedAction = actionState.pageSplitScreen.action;
295
+ if (actionState.pageContainerSplitScreen?.action) selectedAction = actionState.pageContainerSplitScreen.action;
296
+ }
297
+ const action = selectedAction;
298
+ const entityName = actionPanel ? actionPanel.entityName : currentEntityName;
299
+ let t6;
300
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
301
+ t6 = {};
302
+ $[6] = t6;
303
+ } else t6 = $[6];
304
+ const [t7] = useAxiosGet(ConfigService.integrationV2ApiUrl, `apiCatalog/${apiCatalogId}/catalogObject/${entityName}`, t6, !!!apiCatalogId || !!!entityName, false);
305
+ const { data: catalogObject } = t7;
306
+ let t8;
307
+ if ($[7] !== catalogObject?.properties) {
308
+ t8 = catalogObject?.properties ?? [];
309
+ $[7] = catalogObject?.properties;
310
+ $[8] = t8;
311
+ } else t8 = $[8];
312
+ const entityAttributes = t8;
286
313
  const { defaultFormValues } = useDefaultFormValues(entityAttributes);
287
314
  const [crudTableFormData, setCrudTableFormData] = useState(defaultFormValues);
288
- const crudTableEditionData = useMemo(() => {
289
- let crudData = null;
315
+ let t9;
316
+ bb0: {
290
317
  if (selectedNode?.nodeObj && action && action.actionTypeId === NodeActionEnums.Update) {
291
- crudData = selectedNode.nodeObj;
292
- setCrudTableFormData(selectedNode.nodeObj);
293
- } else setCrudTableFormData(defaultFormValues);
294
- return crudData;
295
- }, [action, selectedNode]);
296
- const executeAction = useCallback(async (data, id) => apiMutate(ConfigService.integrationV1ApiUrl, `apimethod/executeQueryWithParameters/${id}`, { method: "post" }, data), []);
297
- const inquiryActions = /* @__PURE__ */ React.createElement(ActionWrapper, {
298
- action,
299
- actionState,
300
- actionPanel,
301
- dispatch,
302
- apiCatalogId,
303
- executeAction,
304
- splitScreenBody: children,
305
- entityAttributes,
306
- foreignKeyData,
307
- setForeignKeyData,
308
- crudTableEditionData,
309
- crudTableFormData
310
- });
311
- useEffect(() => {
312
- if (tpacb) {
313
- setApiCatalogId(tpacb.apiCatalogId);
314
- setCurrentApiCatalogId(tpacb.apiCatalogId);
318
+ t9 = selectedNode.nodeObj;
319
+ break bb0;
315
320
  }
316
- }, [tpacb, setCurrentApiCatalogId]);
317
- useEffect(() => {
318
- if (action && actionState) setActionPanel(actionState?.actionPanels[currentContainerId || 0]?.find((ap) => ap.panelActions.find((pa) => pa.actionId === action.actionId)));
319
- }, [
320
- action,
321
- actionState,
322
- currentContainerId
323
- ]);
324
- useEffect(() => dispatchActionLoading({
325
- type: "SET_ACTION_LOADING",
326
- loading: tpacbLoading
327
- }), [tpacbLoading]);
328
- useEffect(() => {
329
- if (history) return history.listen((location) => {
330
- if (currentLocationPathname !== location.pathname) {
331
- setCurrentLocationPathname(location.pathname);
332
- dispatch({ type: "SET_ACTION_STATE_FOR_NEW_ROUTE" });
321
+ t9 = null;
322
+ }
323
+ const crudTableEditionData = t9;
324
+ let t10;
325
+ let t11;
326
+ if ($[9] !== crudTableEditionData || $[10] !== defaultFormValues) {
327
+ t10 = () => {
328
+ setCrudTableFormData(crudTableEditionData ?? defaultFormValues);
329
+ };
330
+ t11 = [crudTableEditionData, defaultFormValues];
331
+ $[9] = crudTableEditionData;
332
+ $[10] = defaultFormValues;
333
+ $[11] = t10;
334
+ $[12] = t11;
335
+ } else {
336
+ t10 = $[11];
337
+ t11 = $[12];
338
+ }
339
+ useEffect(t10, t11);
340
+ const executeAction = _temp5;
341
+ let t12;
342
+ if ($[13] !== action || $[14] !== actionPanel || $[15] !== actionState || $[16] !== apiCatalogId || $[17] !== children || $[18] !== crudTableEditionData || $[19] !== crudTableFormData || $[20] !== entityAttributes || $[21] !== foreignKeyData) {
343
+ t12 = /* @__PURE__ */ React.createElement(ActionWrapper, {
344
+ action,
345
+ actionState,
346
+ actionPanel,
347
+ dispatch,
348
+ apiCatalogId,
349
+ executeAction,
350
+ splitScreenBody: children,
351
+ entityAttributes,
352
+ foreignKeyData,
353
+ setForeignKeyData,
354
+ crudTableEditionData,
355
+ crudTableFormData
356
+ });
357
+ $[13] = action;
358
+ $[14] = actionPanel;
359
+ $[15] = actionState;
360
+ $[16] = apiCatalogId;
361
+ $[17] = children;
362
+ $[18] = crudTableEditionData;
363
+ $[19] = crudTableFormData;
364
+ $[20] = entityAttributes;
365
+ $[21] = foreignKeyData;
366
+ $[22] = t12;
367
+ } else t12 = $[22];
368
+ const inquiryActions = t12;
369
+ let t13;
370
+ let t14;
371
+ if ($[23] !== setCurrentApiCatalogId || $[24] !== tpacb) {
372
+ t13 = () => {
373
+ if (tpacb) {
374
+ setApiCatalogId(tpacb.apiCatalogId);
375
+ setCurrentApiCatalogId(tpacb.apiCatalogId);
333
376
  }
377
+ };
378
+ t14 = [tpacb, setCurrentApiCatalogId];
379
+ $[23] = setCurrentApiCatalogId;
380
+ $[24] = tpacb;
381
+ $[25] = t13;
382
+ $[26] = t14;
383
+ } else {
384
+ t13 = $[25];
385
+ t14 = $[26];
386
+ }
387
+ useEffect(t13, t14);
388
+ let t15;
389
+ let t16;
390
+ if ($[27] !== action || $[28] !== actionState || $[29] !== currentContainerId) {
391
+ t15 = () => {
392
+ if (action && actionState) setActionPanel(actionState?.actionPanels[currentContainerId || 0]?.find((ap) => ap.panelActions.find((pa) => pa.actionId === action.actionId)));
393
+ };
394
+ t16 = [
395
+ action,
396
+ actionState,
397
+ currentContainerId
398
+ ];
399
+ $[27] = action;
400
+ $[28] = actionState;
401
+ $[29] = currentContainerId;
402
+ $[30] = t15;
403
+ $[31] = t16;
404
+ } else {
405
+ t15 = $[30];
406
+ t16 = $[31];
407
+ }
408
+ useEffect(t15, t16);
409
+ let t17;
410
+ let t18;
411
+ if ($[32] !== tpacbLoading) {
412
+ t17 = () => dispatchActionLoading({
413
+ type: "SET_ACTION_LOADING",
414
+ loading: tpacbLoading
334
415
  });
335
- }, [history, currentLocationPathname]);
336
- const actionLoading = useMemo(() => /* @__PURE__ */ React.createElement(LoadingOverlay, { open: !!actionLoadingState.waitingToExecute }), [actionLoadingState]);
337
- return /* @__PURE__ */ React.createElement(React.Fragment, null, actionLoading, /* @__PURE__ */ React.createElement(ActionContext.Provider, { value: actionState }, /* @__PURE__ */ React.createElement(ActionDispatchContext.Provider, { value: dispatch }, /* @__PURE__ */ React.createElement(ActionLoadingContext.Provider, { value: actionLoadingState }, /* @__PURE__ */ React.createElement(ActionLoadingDispatchContext.Provider, { value: dispatchActionLoading }, domRoot ? createPortal(inquiryActions, domRoot) : inquiryActions)))));
416
+ t18 = [tpacbLoading];
417
+ $[32] = tpacbLoading;
418
+ $[33] = t17;
419
+ $[34] = t18;
420
+ } else {
421
+ t17 = $[33];
422
+ t18 = $[34];
423
+ }
424
+ useEffect(t17, t18);
425
+ let t19;
426
+ let t20;
427
+ if ($[35] !== currentLocationPathname || $[36] !== history) {
428
+ t19 = () => {
429
+ if (history) return history.listen((location) => {
430
+ if (currentLocationPathname !== location.pathname) {
431
+ setCurrentLocationPathname(location.pathname);
432
+ dispatch({ type: "SET_ACTION_STATE_FOR_NEW_ROUTE" });
433
+ }
434
+ });
435
+ };
436
+ t20 = [history, currentLocationPathname];
437
+ $[35] = currentLocationPathname;
438
+ $[36] = history;
439
+ $[37] = t19;
440
+ $[38] = t20;
441
+ } else {
442
+ t19 = $[37];
443
+ t20 = $[38];
444
+ }
445
+ useEffect(t19, t20);
446
+ const t21 = !!actionLoadingState.waitingToExecute;
447
+ let t22;
448
+ if ($[39] !== t21) {
449
+ t22 = /* @__PURE__ */ React.createElement(LoadingOverlay, { open: t21 });
450
+ $[39] = t21;
451
+ $[40] = t22;
452
+ } else t22 = $[40];
453
+ const actionLoading = t22;
454
+ let t23;
455
+ if ($[41] !== domRoot || $[42] !== inquiryActions) {
456
+ t23 = domRoot ? createPortal(inquiryActions, domRoot) : inquiryActions;
457
+ $[41] = domRoot;
458
+ $[42] = inquiryActions;
459
+ $[43] = t23;
460
+ } else t23 = $[43];
461
+ let t24;
462
+ if ($[44] !== t23) {
463
+ t24 = /* @__PURE__ */ React.createElement(ActionLoadingDispatchContext.Provider, { value: dispatchActionLoading }, t23);
464
+ $[44] = t23;
465
+ $[45] = t24;
466
+ } else t24 = $[45];
467
+ let t25;
468
+ if ($[46] !== actionLoadingState || $[47] !== t24) {
469
+ t25 = /* @__PURE__ */ React.createElement(ActionDispatchContext.Provider, { value: dispatch }, /* @__PURE__ */ React.createElement(ActionLoadingContext.Provider, { value: actionLoadingState }, t24));
470
+ $[46] = actionLoadingState;
471
+ $[47] = t24;
472
+ $[48] = t25;
473
+ } else t25 = $[48];
474
+ let t26;
475
+ if ($[49] !== actionState || $[50] !== t25) {
476
+ t26 = /* @__PURE__ */ React.createElement(ActionContext.Provider, { value: actionState }, t25);
477
+ $[49] = actionState;
478
+ $[50] = t25;
479
+ $[51] = t26;
480
+ } else t26 = $[51];
481
+ let t27;
482
+ if ($[52] !== actionLoading || $[53] !== t26) {
483
+ t27 = /* @__PURE__ */ React.createElement(React.Fragment, null, actionLoading, t26);
484
+ $[52] = actionLoading;
485
+ $[53] = t26;
486
+ $[54] = t27;
487
+ } else t27 = $[54];
488
+ return t27;
338
489
  };
490
+ function _temp(state) {
491
+ return state.selectedNode;
492
+ }
493
+ function _temp2(state_0) {
494
+ return state_0.currentContainerId;
495
+ }
496
+ function _temp3(state_1) {
497
+ return state_1.setCurrentApiCatalogId;
498
+ }
499
+ function _temp4(state_3, reducerAction_0) {
500
+ bb58: switch (reducerAction_0.type) {
501
+ case "SET_ACTION_LOADING":
502
+ state_3 = {
503
+ ...state_3,
504
+ loading: reducerAction_0.loading
505
+ };
506
+ break bb58;
507
+ case "SET_ACTION_WAITING_TO_EXECUTE":
508
+ state_3 = {
509
+ ...state_3,
510
+ waitingToExecute: reducerAction_0.actionId
511
+ };
512
+ break bb58;
513
+ default: throw new Error(`Unknown action loading type ${reducerAction_0.type}`);
514
+ }
515
+ return state_3;
516
+ }
517
+ async function _temp5(data, id) {
518
+ return apiMutate(ConfigService.integrationV1ApiUrl, `apimethod/executeQueryWithParameters/${id}`, { method: "post" }, data);
519
+ }
339
520
  //#endregion
340
521
  export { ActionProvider };
341
522