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
@@ -0,0 +1,106 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import Axios from 'axios';
13
+ import { configure } from 'axios-hooks';
14
+ /**
15
+ * Request de-duplication for configuration reads (api catalog metadata,
16
+ * promoted methods, ...). Config data changes rarely, so the same URL should be
17
+ * fetched at most once per session and shared by every consumer.
18
+ *
19
+ * axios-hooks already keeps a module level LRU of *completed* responses, but it
20
+ * has no in-flight de-duplication: N components mounting at the same time with
21
+ * the same request config all miss the cache and all issue a request. The
22
+ * wrapper installed here closes that gap without changing behaviour for
23
+ * anything that does not opt in.
24
+ */
25
+ /**
26
+ * Marker added to an axios config by `useAxiosGet` when the call site opted in
27
+ * to caching. Only flagged requests are de-duplicated.
28
+ */
29
+ export const DEDUPE_CONFIG_FLAG = 'udpDedupeConfigRequest';
30
+ /** @type {Map<string, Promise<import('axios').AxiosResponse>>} */
31
+ const inFlightRequests = new Map();
32
+ const requestKey = (requestConfig) => JSON.stringify(requestConfig);
33
+ /**
34
+ * Issues the request once per key, handing the same promise to every caller
35
+ * that asks for it while it is still in flight.
36
+ *
37
+ * The shared request is issued without a cancel token so that one consumer
38
+ * unmounting cannot cancel the response every other consumer is waiting for.
39
+ * Each caller still honours its own cancel token by racing against it, which
40
+ * preserves axios-hooks' "cancelled requests do not dispatch" semantics.
41
+ */
42
+ const dedupedRequest = (config) => {
43
+ const { cancelToken } = config, requestConfig = __rest(config, ["cancelToken"]);
44
+ const key = requestKey(requestConfig);
45
+ let shared = inFlightRequests.get(key);
46
+ if (!shared) {
47
+ shared = Axios(requestConfig).finally(() => {
48
+ inFlightRequests.delete(key);
49
+ });
50
+ inFlightRequests.set(key, shared);
51
+ }
52
+ if (!cancelToken) {
53
+ return shared;
54
+ }
55
+ const cancellation = cancelToken.promise.then((reason) => {
56
+ throw reason;
57
+ });
58
+ // The losing side of the race must not surface as an unhandled rejection.
59
+ cancellation.catch(() => { });
60
+ return Promise.race([shared, cancellation]);
61
+ };
62
+ let configured = false;
63
+ /**
64
+ * Installs the de-duplicating request function on axios-hooks. Idempotent, and
65
+ * a pass-through for every request that is not flagged for de-duplication.
66
+ */
67
+ export const enableConfigRequestDedupe = () => {
68
+ if (configured)
69
+ return;
70
+ configured = true;
71
+ configure({
72
+ axios: (config) => (config === null || config === void 0 ? void 0 : config[DEDUPE_CONFIG_FLAG]) ? dedupedRequest(config) : Axios(config)
73
+ });
74
+ };
75
+ /** @type {Map<string, unknown>} */
76
+ const configResults = new Map();
77
+ /** @type {Map<string, Promise<unknown>>} */
78
+ const configPromises = new Map();
79
+ /**
80
+ * Session cache + in-flight guard for config reads that do not go through
81
+ * axios-hooks (POST based catalog lookups, for instance).
82
+ * @template T
83
+ * @param {string} key - Stable identity of the read (url or id tuple).
84
+ * @param {() => Promise<T>} request - Issues the request on a cache miss.
85
+ * @returns {Promise<T>}
86
+ */
87
+ export const fetchConfigOnce = (key, request) => {
88
+ if (configResults.has(key)) {
89
+ return Promise.resolve(/** @type {T} */ configResults.get(key));
90
+ }
91
+ const pending = configPromises.get(key);
92
+ if (pending) {
93
+ return /** @type {Promise<T>} */ pending;
94
+ }
95
+ const promise = request()
96
+ .then((result) => {
97
+ configResults.set(key, result);
98
+ return result;
99
+ })
100
+ .finally(() => {
101
+ configPromises.delete(key);
102
+ });
103
+ configPromises.set(key, promise);
104
+ return promise;
105
+ };
106
+ //# sourceMappingURL=configRequestDedupe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configRequestDedupe.js","sourceRoot":"","sources":["../../src/utilities/configRequestDedupe.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAA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G,CAAC,CAAC;IAAA,CAC5B,CAAC,CAAC;IAEL,cAAc,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IACjC,OAAO,OAAO,CAAC;AAAA,CAChB,CAAC"}
@@ -0,0 +1,90 @@
1
+ import { configure } from "axios-hooks";
2
+ import Axios from "axios";
3
+ //#region src/utilities/configRequestDedupe.js
4
+ /**
5
+ * Request de-duplication for configuration reads (api catalog metadata,
6
+ * promoted methods, ...). Config data changes rarely, so the same URL should be
7
+ * fetched at most once per session and shared by every consumer.
8
+ *
9
+ * axios-hooks already keeps a module level LRU of *completed* responses, but it
10
+ * has no in-flight de-duplication: N components mounting at the same time with
11
+ * the same request config all miss the cache and all issue a request. The
12
+ * wrapper installed here closes that gap without changing behaviour for
13
+ * anything that does not opt in.
14
+ */
15
+ /**
16
+ * Marker added to an axios config by `useAxiosGet` when the call site opted in
17
+ * to caching. Only flagged requests are de-duplicated.
18
+ */
19
+ const DEDUPE_CONFIG_FLAG = "udpDedupeConfigRequest";
20
+ /** @type {Map<string, Promise<import('axios').AxiosResponse>>} */
21
+ const inFlightRequests = /* @__PURE__ */ new Map();
22
+ const requestKey = (requestConfig) => JSON.stringify(requestConfig);
23
+ /**
24
+ * Issues the request once per key, handing the same promise to every caller
25
+ * that asks for it while it is still in flight.
26
+ *
27
+ * The shared request is issued without a cancel token so that one consumer
28
+ * unmounting cannot cancel the response every other consumer is waiting for.
29
+ * Each caller still honours its own cancel token by racing against it, which
30
+ * preserves axios-hooks' "cancelled requests do not dispatch" semantics.
31
+ */
32
+ const dedupedRequest = (config) => {
33
+ const { cancelToken, ...requestConfig } = config;
34
+ const key = requestKey(requestConfig);
35
+ let shared = inFlightRequests.get(key);
36
+ if (!shared) {
37
+ shared = Axios(requestConfig).finally(() => {
38
+ inFlightRequests.delete(key);
39
+ });
40
+ inFlightRequests.set(key, shared);
41
+ }
42
+ if (!cancelToken) return shared;
43
+ const cancellation = cancelToken.promise.then((reason) => {
44
+ throw reason;
45
+ });
46
+ cancellation.catch(() => {});
47
+ return Promise.race([shared, cancellation]);
48
+ };
49
+ let configured = false;
50
+ /**
51
+ * Installs the de-duplicating request function on axios-hooks. Idempotent, and
52
+ * a pass-through for every request that is not flagged for de-duplication.
53
+ */
54
+ const enableConfigRequestDedupe = () => {
55
+ if (configured) return;
56
+ configured = true;
57
+ configure({ axios: (config) => config?.["udpDedupeConfigRequest"] ? dedupedRequest(config) : Axios(config) });
58
+ };
59
+ /** @type {Map<string, unknown>} */
60
+ const configResults = /* @__PURE__ */ new Map();
61
+ /** @type {Map<string, Promise<unknown>>} */
62
+ const configPromises = /* @__PURE__ */ new Map();
63
+ /**
64
+ * Session cache + in-flight guard for config reads that do not go through
65
+ * axios-hooks (POST based catalog lookups, for instance).
66
+ * @template T
67
+ * @param {string} key - Stable identity of the read (url or id tuple).
68
+ * @param {() => Promise<T>} request - Issues the request on a cache miss.
69
+ * @returns {Promise<T>}
70
+ */
71
+ const fetchConfigOnce = (key, request) => {
72
+ if (configResults.has(key)) return Promise.resolve(
73
+ /** @type {T} */
74
+ configResults.get(key)
75
+ );
76
+ const pending = configPromises.get(key);
77
+ if (pending) return pending;
78
+ const promise = request().then((result) => {
79
+ configResults.set(key, result);
80
+ return result;
81
+ }).finally(() => {
82
+ configPromises.delete(key);
83
+ });
84
+ configPromises.set(key, promise);
85
+ return promise;
86
+ };
87
+ //#endregion
88
+ export { DEDUPE_CONFIG_FLAG, enableConfigRequestDedupe, fetchConfigOnce };
89
+
90
+ //# sourceMappingURL=configRequestDedupe.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configRequestDedupe.mjs","names":["Axios","configure","DEDUPE_CONFIG_FLAG","inFlightRequests","Map","requestKey","requestConfig","JSON","stringify","dedupedRequest","config","cancelToken","key","shared","get","finally","delete","set","cancellation","promise","then","reason","catch","Promise","race","configured","enableConfigRequestDedupe","axios","configResults","configPromises","fetchConfigOnce","request","has","resolve","pending","result"],"sources":["../../src/utilities/configRequestDedupe.js"],"sourcesContent":["import Axios from 'axios';\nimport { configure } from 'axios-hooks';\n\n/**\n * Request de-duplication for configuration reads (api catalog metadata,\n * promoted methods, ...). Config data changes rarely, so the same URL should be\n * fetched at most once per session and shared by every consumer.\n *\n * axios-hooks already keeps a module level LRU of *completed* responses, but it\n * has no in-flight de-duplication: N components mounting at the same time with\n * the same request config all miss the cache and all issue a request. The\n * wrapper installed here closes that gap without changing behaviour for\n * anything that does not opt in.\n */\n\n/**\n * Marker added to an axios config by `useAxiosGet` when the call site opted in\n * to caching. Only flagged requests are de-duplicated.\n */\nexport const DEDUPE_CONFIG_FLAG = 'udpDedupeConfigRequest';\n\n/** @type {Map<string, Promise<import('axios').AxiosResponse>>} */\nconst inFlightRequests = new Map();\n\nconst requestKey = (requestConfig) => JSON.stringify(requestConfig);\n\n/**\n * Issues the request once per key, handing the same promise to every caller\n * that asks for it while it is still in flight.\n *\n * The shared request is issued without a cancel token so that one consumer\n * unmounting cannot cancel the response every other consumer is waiting for.\n * Each caller still honours its own cancel token by racing against it, which\n * preserves axios-hooks' \"cancelled requests do not dispatch\" semantics.\n */\nconst dedupedRequest = (config) => {\n const { cancelToken, ...requestConfig } = config;\n const key = requestKey(requestConfig);\n\n let shared = inFlightRequests.get(key);\n if (!shared) {\n shared = Axios(requestConfig).finally(() => {\n inFlightRequests.delete(key);\n });\n inFlightRequests.set(key, shared);\n }\n\n if (!cancelToken) {\n return shared;\n }\n\n const cancellation = cancelToken.promise.then((reason) => {\n throw reason;\n });\n // The losing side of the race must not surface as an unhandled rejection.\n cancellation.catch(() => {});\n\n return Promise.race([shared, cancellation]);\n};\n\nlet configured = false;\n\n/**\n * Installs the de-duplicating request function on axios-hooks. Idempotent, and\n * a pass-through for every request that is not flagged for de-duplication.\n */\nexport const enableConfigRequestDedupe = () => {\n if (configured) return;\n configured = true;\n\n configure({\n axios: (config) =>\n config?.[DEDUPE_CONFIG_FLAG] ? dedupedRequest(config) : Axios(config)\n });\n};\n\n/** @type {Map<string, unknown>} */\nconst configResults = new Map();\n/** @type {Map<string, Promise<unknown>>} */\nconst configPromises = new Map();\n\n/**\n * Session cache + in-flight guard for config reads that do not go through\n * axios-hooks (POST based catalog lookups, for instance).\n * @template T\n * @param {string} key - Stable identity of the read (url or id tuple).\n * @param {() => Promise<T>} request - Issues the request on a cache miss.\n * @returns {Promise<T>}\n */\nexport const fetchConfigOnce = (key, request) => {\n if (configResults.has(key)) {\n return Promise.resolve(/** @type {T} */ (configResults.get(key)));\n }\n\n const pending = configPromises.get(key);\n if (pending) {\n return /** @type {Promise<T>} */ (pending);\n }\n\n const promise = request()\n .then((result) => {\n configResults.set(key, result);\n return result;\n })\n .finally(() => {\n configPromises.delete(key);\n });\n\n configPromises.set(key, promise);\n return promise;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,MAAaE,qBAAqB;;AAGlC,MAAMC,mCAAmB,IAAIC,KAAK;AAElC,MAAMC,cAAcC,kBAAkBC,KAAKC,UAAUF,cAAc;;;;;;;;;;AAWnE,MAAMG,kBAAkBC,WAAW;CACjC,MAAM,EAAEC,aAAa,GAAGL,kBAAkBI;CAC1C,MAAME,MAAMP,WAAWC,cAAc;CAErC,IAAIO,SAASV,iBAAiBW,IAAIF,IAAI;AACtC,KAAI,CAACC,QAAQ;AACXA,WAASb,MAAMM,cAAc,CAACS,cAAc;AAC1CZ,oBAAiBa,OAAOJ,IAAI;IAC5B;AACFT,mBAAiBc,IAAIL,KAAKC,OAAO;;AAGnC,KAAI,CAACF,YACH,QAAOE;CAGT,MAAMK,eAAeP,YAAYQ,QAAQC,MAAMC,WAAW;AACxD,QAAMA;GACN;AAEFH,cAAaI,YAAY,GAAG;AAE5B,QAAOC,QAAQC,KAAK,CAACX,QAAQK,aAAa,CAAC;;AAG7C,IAAIO,aAAa;;;;;AAMjB,MAAaC,kCAAkC;AAC7C,KAAID,WAAY;AAChBA,cAAa;AAEbxB,WAAU,EACR0B,QAAQjB,WACNA,SAAAA,4BAA+BD,eAAeC,OAAO,GAAGV,MAAMU,OAAM,EACvE,CAAC;;;AAIJ,MAAMkB,gCAAgB,IAAIxB,KAAK;;AAE/B,MAAMyB,iCAAiB,IAAIzB,KAAK;;;;;;;;;AAUhC,MAAa0B,mBAAmBlB,KAAKmB,YAAY;AAC/C,KAAIH,cAAcI,IAAIpB,IAAI,CACxB,QAAOW,QAAQU;;EAA0BL,cAAcd,IAAIF,IAAK;EAAC;CAGnE,MAAMsB,UAAUL,eAAef,IAAIF,IAAI;AACvC,KAAIsB,QACF,QAAkCA;CAGpC,MAAMf,UAAUY,SAAS,CACtBX,MAAMe,WAAW;AAChBP,gBAAcX,IAAIL,KAAKuB,OAAO;AAC9B,SAAOA;GACP,CACDpB,cAAc;AACbc,iBAAeb,OAAOJ,IAAI;GAC1B;AAEJiB,gBAAeZ,IAAIL,KAAKO,QAAQ;AAChC,QAAOA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultFormValues.d.ts","sourceRoot":"","sources":["../../../src/utilities/crud/useDefaultFormValues.js"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;CAwBhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"useDefaultFormValues.d.ts","sourceRoot":"","sources":["../../../src/utilities/crud/useDefaultFormValues.js"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;CA2BhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,14 +1,19 @@
1
+ import { useMemo } from 'react';
1
2
  import { toLowerFirstChar } from '../input/StringUtilities';
2
3
  export const useDefaultFormValues = (initialObjectSchema, filterPropertyName = 'name', excludePropertyName = 'identifier') => {
3
- const result = initialObjectSchema === null || initialObjectSchema === void 0 ? void 0 : initialObjectSchema.filter((x) => {
4
- var _a, _b, _c;
5
- return !((x === null || x === void 0 ? void 0 : x.extendedProperties[excludePropertyName]) ||
6
- x.name === 'clusterId' ||
7
- ((_c = (_b = (_a = x === null || x === void 0 ? void 0 : x.extendedProperties) === null || _a === void 0 ? void 0 : _a.udpFieldProperties) === null || _b === void 0 ? void 0 : _b.maintainenceConfig) === null || _c === void 0 ? void 0 : _c.hiddenForm));
8
- }).map((x) => {
9
- return [toLowerFirstChar(x[filterPropertyName]), ''];
10
- });
11
- const defaultFormValues = !!result ? Object.fromEntries(result) : {};
4
+ // Memoized so the returned object is referentially stable per schema —
5
+ // consumers key effects on it without re-firing every render.
6
+ const defaultFormValues = useMemo(() => {
7
+ const result = initialObjectSchema === null || initialObjectSchema === void 0 ? void 0 : initialObjectSchema.filter((x) => {
8
+ var _a, _b, _c;
9
+ return !((x === null || x === void 0 ? void 0 : x.extendedProperties[excludePropertyName]) ||
10
+ x.name === 'clusterId' ||
11
+ ((_c = (_b = (_a = x === null || x === void 0 ? void 0 : x.extendedProperties) === null || _a === void 0 ? void 0 : _a.udpFieldProperties) === null || _b === void 0 ? void 0 : _b.maintainenceConfig) === null || _c === void 0 ? void 0 : _c.hiddenForm));
12
+ }).map((x) => {
13
+ return [toLowerFirstChar(x[filterPropertyName]), ''];
14
+ });
15
+ return !!result ? Object.fromEntries(result) : {};
16
+ }, [initialObjectSchema, filterPropertyName, excludePropertyName]);
12
17
  return {
13
18
  defaultFormValues
14
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultFormValues.js","sourceRoot":"","sources":["../../../src/utilities/crud/useDefaultFormValues.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,mBAAmB,EACnB,kBAAkB,GAAG,MAAM,EAC3B,mBAAmB,GAAG,YAAY,EAClC,EAAE,CAAC;IACH,MAAM,MAAM,GAAG,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAC9B,MAAM,CACN,CAAC,CAAC,EAAE,EAAE;;eACJ,CAAC,CACC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,kBAAkB,CAA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AD,CAAC,uBAAD,CAAC,CAAE,kBAAkB,0CAAE,kBAAkB,0CAAE,kBAAkB,0CACzD,UAAU,CAAA,CACf;SAAA,EAEJ,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;YACV,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAAA,CACtD,CAAC,CAAC;QACL,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAAA,CACnD,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAEnE,OAAO;QACL,iBAAiB;KAClB,CAAC;AAAA,CACH,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,10 +1,28 @@
1
+ import { c } from "../../reactCompilerRuntime.mjs";
1
2
  import { toLowerFirstChar } from "../input/StringUtilities.mjs";
3
+ import "react";
2
4
  //#region src/utilities/crud/useDefaultFormValues.js
3
- const useDefaultFormValues = (initialObjectSchema, filterPropertyName = "name", excludePropertyName = "identifier") => {
4
- const result = initialObjectSchema?.filter((x) => !(x?.extendedProperties[excludePropertyName] || x.name === "clusterId" || x?.extendedProperties?.udpFieldProperties?.maintainenceConfig?.hiddenForm)).map((x) => {
5
- return [toLowerFirstChar(x[filterPropertyName]), ""];
6
- });
7
- return { defaultFormValues: !!result ? Object.fromEntries(result) : {} };
5
+ const useDefaultFormValues = (initialObjectSchema, t0, t1) => {
6
+ const $ = c(6);
7
+ const filterPropertyName = t0 === void 0 ? "name" : t0;
8
+ const excludePropertyName = t1 === void 0 ? "identifier" : t1;
9
+ let t2;
10
+ if ($[0] !== excludePropertyName || $[1] !== filterPropertyName || $[2] !== initialObjectSchema) {
11
+ const result = initialObjectSchema?.filter((x) => !(x?.extendedProperties[excludePropertyName] || x.name === "clusterId" || x?.extendedProperties?.udpFieldProperties?.maintainenceConfig?.hiddenForm)).map((x_0) => [toLowerFirstChar(x_0[filterPropertyName]), ""]);
12
+ t2 = !!result ? Object.fromEntries(result) : {};
13
+ $[0] = excludePropertyName;
14
+ $[1] = filterPropertyName;
15
+ $[2] = initialObjectSchema;
16
+ $[3] = t2;
17
+ } else t2 = $[3];
18
+ const defaultFormValues = t2;
19
+ let t3;
20
+ if ($[4] !== defaultFormValues) {
21
+ t3 = { defaultFormValues };
22
+ $[4] = defaultFormValues;
23
+ $[5] = t3;
24
+ } else t3 = $[5];
25
+ return t3;
8
26
  };
9
27
  //#endregion
10
28
  export { useDefaultFormValues as default };
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultFormValues.mjs","names":["toLowerFirstChar","useDefaultFormValues","initialObjectSchema","filterPropertyName","excludePropertyName","result","filter","x","extendedProperties","name","udpFieldProperties","maintainenceConfig","hiddenForm","map","defaultFormValues","Object","fromEntries"],"sources":["../../../src/utilities/crud/useDefaultFormValues.js"],"sourcesContent":["import { toLowerFirstChar } from '../input/StringUtilities';\n\nexport const useDefaultFormValues = (\n initialObjectSchema,\n filterPropertyName = 'name',\n excludePropertyName = 'identifier'\n) => {\n const result = initialObjectSchema\n ?.filter(\n (x) =>\n !(\n x?.extendedProperties[excludePropertyName] ||\n x.name === 'clusterId' ||\n x?.extendedProperties?.udpFieldProperties?.maintainenceConfig\n ?.hiddenForm\n )\n )\n .map((x) => {\n return [toLowerFirstChar(x[filterPropertyName]), ''];\n });\n\n const defaultFormValues = !!result ? Object.fromEntries(result) : {};\n\n return {\n defaultFormValues\n };\n};\n\nexport default useDefaultFormValues;\n"],"mappings":";;AAEA,MAAaC,wBACXC,qBACAC,qBAAqB,QACrBC,sBAAsB,iBACnB;CACH,MAAMC,SAASH,qBACXI,QACCC,MACC,EACEA,GAAGC,mBAAmBJ,wBACtBG,EAAEE,SAAS,eACXF,GAAGC,oBAAoBE,oBAAoBC,oBACvCC,YAET,CACAC,KAAKN,MAAM;AACV,SAAO,CAACP,iBAAiBO,EAAEJ,oBAAoB,EAAE,GAAG;GACpD;AAIJ,QAAO,EACLW,mBAHwB,CAAC,CAACT,SAASU,OAAOC,YAAYX,OAAO,GAAG,EAAE,EAInE"}
1
+ {"version":3,"file":"useDefaultFormValues.mjs","names":["useMemo","toLowerFirstChar","useDefaultFormValues","initialObjectSchema","t0","t1","$","_c","filterPropertyName","undefined","excludePropertyName","t2","result","filter","x","extendedProperties","name","udpFieldProperties","maintainenceConfig","hiddenForm","map","x_0","Object","fromEntries","defaultFormValues","t3"],"sources":["../../../src/utilities/crud/useDefaultFormValues.js"],"sourcesContent":["import { useMemo } from 'react';\nimport { toLowerFirstChar } from '../input/StringUtilities';\n\nexport const useDefaultFormValues = (\n initialObjectSchema,\n filterPropertyName = 'name',\n excludePropertyName = 'identifier'\n) => {\n // Memoized so the returned object is referentially stable per schema —\n // consumers key effects on it without re-firing every render.\n const defaultFormValues = useMemo(() => {\n const result = initialObjectSchema\n ?.filter(\n (x) =>\n !(\n x?.extendedProperties[excludePropertyName] ||\n x.name === 'clusterId' ||\n x?.extendedProperties?.udpFieldProperties?.maintainenceConfig\n ?.hiddenForm\n )\n )\n .map((x) => {\n return [toLowerFirstChar(x[filterPropertyName]), ''];\n });\n return !!result ? Object.fromEntries(result) : {};\n }, [initialObjectSchema, filterPropertyName, excludePropertyName]);\n\n return {\n defaultFormValues\n };\n};\n\nexport default useDefaultFormValues;\n"],"mappings":";;;;AAGA,MAAaE,wBAAuBC,qBAAAC,IAAAC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAElC,MAAAC,qBAAAJ,OAAAK,KAAAA,IAAA,SAAAL;CACA,MAAAM,sBAAAL,OAAAI,KAAAA,IAAA,eAAAJ;CAAkC,IAAAM;AAAA,KAAAL,EAAA,OAAAI,uBAAAJ,EAAA,OAAAE,sBAAAF,EAAA,OAAAH,qBAAA;EAKhC,MAAAS,SAAeT,qBAAmBU,QAE9BC,MACE,EACEA,GAACC,mBAAqBL,wBACtBI,EAACE,SAAU,eACXF,GAACC,oBAAwCE,oBAAoBC,oBAC/CC,YAGhB,CAAAC,KAACC,QACI,CAACpB,iBAAiBa,IAAEN,oBAAoB,EAAE,GAClD,CAAC;AACGG,OAAA,CAAC,CAACC,SAASU,OAAMC,YAAaX,OAAY,GAA1C,EAA0C;AAAAN,IAAA,KAAAI;AAAAJ,IAAA,KAAAE;AAAAF,IAAA,KAAAH;AAAAG,IAAA,KAAAK;OAAAA,MAAAL,EAAA;CAdnD,MAAAkB,oBAcEb;CACiE,IAAAc;AAAA,KAAAnB,EAAA,OAAAkB,mBAAA;AAE5DC,OAAA,EAAAD,mBAEN;AAAAlB,IAAA,KAAAkB;AAAAlB,IAAA,KAAAmB;OAAAA,MAAAnB,EAAA;AAAA,QAFMmB"}
@@ -5,5 +5,14 @@ export declare const BUSINESS_OBJECT_KEY_PROPERTIES: string[];
5
5
  export declare const SYSTEM_ENTITY_PROPERTIES: string[];
6
6
  export declare const getCommonEntityName: (entityName: any) => any;
7
7
  export declare const getSanitizedName: (entityName: any) => any;
8
+ /**
9
+ * A foreign-key dropdown option from a Get-All row. Rows carry their key under
10
+ * the entity's own key field (`positionId` on a Position row), not `id`, so a
11
+ * bare `row.id` is undefined and the stored value never matches an option.
12
+ */
13
+ export declare const foreignKeyOption: (row: any, entityName: any) => {
14
+ id: any;
15
+ name: any;
16
+ };
8
17
  export declare const getFullyQualifiedName: (udpObjectInfo: any) => string;
9
18
  //# sourceMappingURL=entityUtilities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entityUtilities.d.ts","sourceRoot":"","sources":["../../../src/utilities/entities/entityUtilities.js"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,6EAA6E;AAC7E,8DAA8D;AAC9D,eAAO,MAAM,8BAA8B,UAG1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAGpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,0BAG/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0BAI5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gCAQjC,CAAC"}
1
+ {"version":3,"file":"entityUtilities.d.ts","sourceRoot":"","sources":["../../../src/utilities/entities/entityUtilities.js"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,6EAA6E;AAC7E,8DAA8D;AAC9D,eAAO,MAAM,8BAA8B,UAG1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAGpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,0BAG/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0BAI5B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;CAI5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gCAQjC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { toTitleCase } from '../input/StringUtilities';
1
+ import { toLowerFirstChar, toTitleCase } from '../input/StringUtilities';
2
2
  // Properties serialized on every generated model that describe the record's
3
3
  // identity rather than its data. UIs that build columns, form fields, diffs,
4
4
  // or property pickers from entity metadata should skip these.
@@ -21,6 +21,17 @@ export const getSanitizedName = (entityName) => {
21
21
  const entityNameParts = entityName.split('.');
22
22
  return entityNameParts[entityNameParts.length - 1];
23
23
  };
24
+ /**
25
+ * A foreign-key dropdown option from a Get-All row. Rows carry their key under
26
+ * the entity's own key field (`positionId` on a Position row), not `id`, so a
27
+ * bare `row.id` is undefined and the stored value never matches an option.
28
+ */
29
+ export const foreignKeyOption = (row, entityName) => {
30
+ var _a, _b;
31
+ const keyField = `${toLowerFirstChar(getSanitizedName(entityName))}Id`;
32
+ const id = (_a = row.id) !== null && _a !== void 0 ? _a : row[keyField];
33
+ return { id, name: (_b = row.name) !== null && _b !== void 0 ? _b : id };
34
+ };
24
35
  export const getFullyQualifiedName = (udpObjectInfo) => {
25
36
  var _a;
26
37
  if (!udpObjectInfo)
@@ -1 +1 @@
1
- {"version":3,"file":"entityUtilities.js","sourceRoot":"","sources":["../../../src/utilities/entities/entityUtilities.js"],"names":[],"mappings":"AAAA,OA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,KAAK,CAAC;IAC/D,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,GAAG,cAAc,WAAW,aAAa,CAAC,aAAa,EAAE,CAAC;IACnE,CAAC;SAAM,CAAC;QACN,OAAO,EAAE,CAAC;IACZ,CAAC;AAAA,CACF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { toTitleCase } from "../input/StringUtilities.mjs";
1
+ import { toLowerFirstChar, toTitleCase } from "../input/StringUtilities.mjs";
2
2
  //#region src/utilities/entities/entityUtilities.js
3
3
  const BUSINESS_OBJECT_KEY_PROPERTIES = ["businessObjectKey", "businessObjectKeyFields"];
4
4
  const SYSTEM_ENTITY_PROPERTIES = [...BUSINESS_OBJECT_KEY_PROPERTIES, "ignoreLoggingTransactions"];
@@ -11,6 +11,19 @@ const getSanitizedName = (entityName) => {
11
11
  const entityNameParts = entityName.split(".");
12
12
  return entityNameParts[entityNameParts.length - 1];
13
13
  };
14
+ /**
15
+ * A foreign-key dropdown option from a Get-All row. Rows carry their key under
16
+ * the entity's own key field (`positionId` on a Position row), not `id`, so a
17
+ * bare `row.id` is undefined and the stored value never matches an option.
18
+ */
19
+ const foreignKeyOption = (row, entityName) => {
20
+ const keyField = `${toLowerFirstChar(getSanitizedName(entityName))}Id`;
21
+ const id = row.id ?? row[keyField];
22
+ return {
23
+ id,
24
+ name: row.name ?? id
25
+ };
26
+ };
14
27
  const getFullyQualifiedName = (udpObjectInfo) => {
15
28
  if (!udpObjectInfo) return "";
16
29
  const modelNameSpace = udpObjectInfo.namespaceStructure?.model;
@@ -18,6 +31,6 @@ const getFullyQualifiedName = (udpObjectInfo) => {
18
31
  else return "";
19
32
  };
20
33
  //#endregion
21
- export { BUSINESS_OBJECT_KEY_PROPERTIES, SYSTEM_ENTITY_PROPERTIES, getCommonEntityName, getFullyQualifiedName, getSanitizedName };
34
+ export { BUSINESS_OBJECT_KEY_PROPERTIES, SYSTEM_ENTITY_PROPERTIES, foreignKeyOption, getCommonEntityName, getFullyQualifiedName, getSanitizedName };
22
35
 
23
36
  //# sourceMappingURL=entityUtilities.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"entityUtilities.mjs","names":["toTitleCase","BUSINESS_OBJECT_KEY_PROPERTIES","SYSTEM_ENTITY_PROPERTIES","getCommonEntityName","entityName","getSanitizedName","entityNameParts","split","length","getFullyQualifiedName","udpObjectInfo","modelNameSpace","namespaceStructure","model","sanitizedName"],"sources":["../../../src/utilities/entities/entityUtilities.js"],"sourcesContent":["import { toTitleCase } from '../input/StringUtilities';\n\n// Properties serialized on every generated model that describe the record's\n// identity rather than its data. UIs that build columns, form fields, diffs,\n// or property pickers from entity metadata should skip these.\nexport const BUSINESS_OBJECT_KEY_PROPERTIES = [\n 'businessObjectKey',\n 'businessObjectKeyFields'\n];\n\nexport const SYSTEM_ENTITY_PROPERTIES = [\n ...BUSINESS_OBJECT_KEY_PROPERTIES,\n 'ignoreLoggingTransactions'\n];\n\nexport const getCommonEntityName = (entityName) => {\n if (!entityName) return entityName;\n return toTitleCase(getSanitizedName(entityName));\n};\n\nexport const getSanitizedName = (entityName) => {\n if (!entityName) return '';\n const entityNameParts = entityName.split('.');\n return entityNameParts[entityNameParts.length - 1];\n};\n\nexport const getFullyQualifiedName = (udpObjectInfo) => {\n if (!udpObjectInfo) return '';\n const modelNameSpace = udpObjectInfo.namespaceStructure?.model;\n if (modelNameSpace) {\n return `${modelNameSpace}.Models.${udpObjectInfo.sanitizedName}`;\n } else {\n return '';\n }\n};\n"],"mappings":";;AAKA,MAAaC,iCAAiC,CAC5C,qBACA,0BACD;AAED,MAAaC,2BAA2B,CACtC,GAAGD,gCACH,4BACD;AAED,MAAaE,uBAAuBC,eAAe;AACjD,KAAI,CAACA,WAAY,QAAOA;AACxB,QAAOJ,YAAYK,iBAAiBD,WAAW,CAAC;;AAGlD,MAAaC,oBAAoBD,eAAe;AAC9C,KAAI,CAACA,WAAY,QAAO;CACxB,MAAME,kBAAkBF,WAAWG,MAAM,IAAI;AAC7C,QAAOD,gBAAgBA,gBAAgBE,SAAS;;AAGlD,MAAaC,yBAAyBC,kBAAkB;AACtD,KAAI,CAACA,cAAe,QAAO;CAC3B,MAAMC,iBAAiBD,cAAcE,oBAAoBC;AACzD,KAAIF,eACF,QAAO,GAAGA,eAAc,UAAWD,cAAcI;KAEjD,QAAO"}
1
+ {"version":3,"file":"entityUtilities.mjs","names":["toLowerFirstChar","toTitleCase","BUSINESS_OBJECT_KEY_PROPERTIES","SYSTEM_ENTITY_PROPERTIES","getCommonEntityName","entityName","getSanitizedName","entityNameParts","split","length","foreignKeyOption","row","keyField","id","name","getFullyQualifiedName","udpObjectInfo","modelNameSpace","namespaceStructure","model","sanitizedName"],"sources":["../../../src/utilities/entities/entityUtilities.js"],"sourcesContent":["import { toLowerFirstChar, toTitleCase } from '../input/StringUtilities';\n\n// Properties serialized on every generated model that describe the record's\n// identity rather than its data. UIs that build columns, form fields, diffs,\n// or property pickers from entity metadata should skip these.\nexport const BUSINESS_OBJECT_KEY_PROPERTIES = [\n 'businessObjectKey',\n 'businessObjectKeyFields'\n];\n\nexport const SYSTEM_ENTITY_PROPERTIES = [\n ...BUSINESS_OBJECT_KEY_PROPERTIES,\n 'ignoreLoggingTransactions'\n];\n\nexport const getCommonEntityName = (entityName) => {\n if (!entityName) return entityName;\n return toTitleCase(getSanitizedName(entityName));\n};\n\nexport const getSanitizedName = (entityName) => {\n if (!entityName) return '';\n const entityNameParts = entityName.split('.');\n return entityNameParts[entityNameParts.length - 1];\n};\n\n/**\n * A foreign-key dropdown option from a Get-All row. Rows carry their key under\n * the entity's own key field (`positionId` on a Position row), not `id`, so a\n * bare `row.id` is undefined and the stored value never matches an option.\n */\nexport const foreignKeyOption = (row, entityName) => {\n const keyField = `${toLowerFirstChar(getSanitizedName(entityName))}Id`;\n const id = row.id ?? row[keyField];\n return { id, name: row.name ?? id };\n};\n\nexport const getFullyQualifiedName = (udpObjectInfo) => {\n if (!udpObjectInfo) return '';\n const modelNameSpace = udpObjectInfo.namespaceStructure?.model;\n if (modelNameSpace) {\n return `${modelNameSpace}.Models.${udpObjectInfo.sanitizedName}`;\n } else {\n return '';\n }\n};\n"],"mappings":";;AAKA,MAAaE,iCAAiC,CAC5C,qBACA,0BACD;AAED,MAAaC,2BAA2B,CACtC,GAAGD,gCACH,4BACD;AAED,MAAaE,uBAAuBC,eAAe;AACjD,KAAI,CAACA,WAAY,QAAOA;AACxB,QAAOJ,YAAYK,iBAAiBD,WAAW,CAAC;;AAGlD,MAAaC,oBAAoBD,eAAe;AAC9C,KAAI,CAACA,WAAY,QAAO;CACxB,MAAME,kBAAkBF,WAAWG,MAAM,IAAI;AAC7C,QAAOD,gBAAgBA,gBAAgBE,SAAS;;;;;;;AAQlD,MAAaC,oBAAoBC,KAAKN,eAAe;CACnD,MAAMO,WAAW,GAAGZ,iBAAiBM,iBAAiBD,WAAW,CAAC,CAAA;CAClE,MAAMQ,KAAKF,IAAIE,MAAMF,IAAIC;AACzB,QAAO;EAAEC;EAAIC,MAAMH,IAAIG,QAAQD;EAAI;;AAGrC,MAAaE,yBAAyBC,kBAAkB;AACtD,KAAI,CAACA,cAAe,QAAO;CAC3B,MAAMC,iBAAiBD,cAAcE,oBAAoBC;AACzD,KAAIF,eACF,QAAO,GAAGA,eAAc,UAAWD,cAAcI;KAEjD,QAAO"}
@@ -83,6 +83,7 @@
83
83
  "error": "Error",
84
84
  "execute": "Ejecutar",
85
85
  "loading": "Cargando...",
86
+ "more": "Más",
86
87
  "name": "Nombre",
87
88
  "new": "Nuevo",
88
89
  "next": "Siguiente",
@@ -97,6 +98,7 @@
97
98
  "search": "Buscar",
98
99
  "send": "Enviar",
99
100
  "submit": "Enviar",
101
+ "tryAgain": "Intentar de nuevo",
100
102
  "update": "Actualizar",
101
103
  "view": "Ver"
102
104
  },
@@ -543,6 +545,22 @@
543
545
  "title": "Biblioteca de íconos"
544
546
  },
545
547
  "inquiry": {
548
+ "actions": {
549
+ "createSucceeded": "{{entityName}} se creó correctamente.",
550
+ "deleteConfirmation": "¿Confirma que desea eliminar este registro de {{entityName}}? Esta acción no se puede deshacer.",
551
+ "deleteTitle": "Eliminar {{entityName}}",
552
+ "executeFailed": "No se pudo ejecutar {{label}}.",
553
+ "executeSucceeded": "{{label}} se ejecutó correctamente.",
554
+ "noFormConfigured": "No hay ningún formulario configurado para esta acción.",
555
+ "noFormConfiguredFor": "Todavía no hay ningún formulario configurado para este {{entityName}}.",
556
+ "noPageConfigured": "No hay ninguna página configurada para esta acción.",
557
+ "retrieveFailed": "No se pudo recuperar este registro.",
558
+ "retrieveNotConfigured": "Esta acción no está configurada con el método de obtención de la entidad.",
559
+ "retrieveTitle": "Detalles de {{entityName}}",
560
+ "submitFailed": "No se pudo guardar este registro de {{entityName}}.",
561
+ "unsupported": "{{label}} aún no está disponible en la nueva consulta.",
562
+ "updateSucceeded": "{{entityName}} se actualizó correctamente."
563
+ },
546
564
  "advancedSearch": {
547
565
  "clearFilter": "Borrar filtro",
548
566
  "entity": "Entidad",
@@ -570,12 +588,63 @@
570
588
  "collapseAll": "Contraer todo",
571
589
  "compactView": "Vista compacta",
572
590
  "expandAll": "Expandir todo",
573
- "moveToTop": "Mover al inicio"
591
+ "moveToTop": "Mover al inicio",
592
+ "resetTree": "Restablecer el árbol"
593
+ },
594
+ "copilot": {
595
+ "collapse": "Contraer el copiloto",
596
+ "emptyState": "Pida un registro por su nombre: lo busco, lo cargo en el árbol y lo abro.",
597
+ "placeholder": "Buscar un registro o preguntar sobre este árbol…",
598
+ "proposal": {
599
+ "advancedSearch": "Búsqueda avanzada en {{entity}}",
600
+ "advancedSearchFailed": "No se pudo aplicar la búsqueda avanzada: el árbol cambió."
601
+ },
602
+ "title": "Copiloto"
603
+ },
604
+ "deepLink": {
605
+ "notFound": "No se encontró el registro vinculado.",
606
+ "unresolved": "No se pudo abrir el registro vinculado: este árbol no reconoce “{{key}}”."
607
+ },
608
+ "drop": {
609
+ "unsupportedAction": "Esta acción de arrastre aún no es compatible con este visor."
574
610
  },
611
+ "emptyNodeView": "No hay nada configurado para mostrar en este registro.",
612
+ "emptyRecordPane": "Seleccione un registro del árbol o use Cargar para agregar uno.",
613
+ "emptyRecordPaneNoTree": "No hay ningún registro para mostrar.",
575
614
  "executeApiDialog": {
576
615
  "apis": "API(s)",
616
+ "dropTitle": "Ejecutar API",
617
+ "method": "Método de API",
577
618
  "title": "Ejecutar la API a continuación"
578
619
  },
620
+ "filter": {
621
+ "emptyTree": "Nada cargado todavía",
622
+ "loadFromSearch": "Cargar «{{text}}» desde la búsqueda de {{entity}}",
623
+ "notInTree": "No está en el árbol.",
624
+ "placeholder": "Filtrar árbol"
625
+ },
626
+ "load": {
627
+ "alreadyLoaded": "ya cargado",
628
+ "alreadyLoadedNotice": "{{label}} ya está cargado.",
629
+ "button": "Cargar",
630
+ "dialogTitle": "Cargar registros de {{entity}}",
631
+ "loadedNotice": "{{label}} cargado.",
632
+ "more": "{{remaining}} más",
633
+ "noResults": "Ningún registro coincide con «{{text}}».",
634
+ "notFoundNotice": "No se pudo cargar ese registro.",
635
+ "searchPlaceholder": "Buscar registros de {{entity}}",
636
+ "showingFirst": "Mostrando los primeros {{shown}} de {{total}} — escriba para acotar.",
637
+ "timedOut": "La búsqueda no responde",
638
+ "unknownEntityNotice": "No se pudo cargar ese registro: este árbol no muestra «{{key}}»."
639
+ },
640
+ "page": {
641
+ "loadFailed": "No se pudo cargar la página.",
642
+ "missingFieldValue": "El campo {{field}} no tiene valor",
643
+ "unknownWidget": "Widget desconocido «{{widgetType}}»"
644
+ },
645
+ "query": {
646
+ "droppedParamFilters": "Se muestran más registros de los que define la consulta de este árbol: sus filtros guardados en {{fields}} se omitieron porque los valores de sus parámetros no están disponibles."
647
+ },
579
648
  "recentlyLoaded": {
580
649
  "columns": {
581
650
  "dateLoaded": "Fecha de carga",
@@ -584,6 +653,34 @@
584
653
  },
585
654
  "noData": "No hay datos cargados recientemente.",
586
655
  "title": "Cargados recientemente"
656
+ },
657
+ "search": {
658
+ "failed": "No se pudo ejecutar esta búsqueda. Pruebe con otros campos de búsqueda."
659
+ },
660
+ "tree": {
661
+ "nothingLoaded": "Ningún registro cargado. Use Cargar para agregar uno al árbol.",
662
+ "recordsFailed": "No se pudieron cargar los registros. Actualice para volver a intentarlo.",
663
+ "showMoreRecords": "Mostrar {{amount}} más"
664
+ },
665
+ "widgets": {
666
+ "findRecords": {
667
+ "advanced": "Búsqueda avanzada",
668
+ "clear": "Borrar búsqueda",
669
+ "noMatches": "Ningún registro coincide.",
670
+ "notSearchable": "Esta página no muestra un árbol de consulta en el que se pueda buscar.",
671
+ "searchLabel": "Buscar registros",
672
+ "title": "Buscar registros"
673
+ },
674
+ "recentRecords": {
675
+ "columns": {
676
+ "entity": "Entidad",
677
+ "loaded": "Cargado",
678
+ "record": "Registro"
679
+ },
680
+ "empty": "Todavía no se ha cargado ningún registro.",
681
+ "title": "Cargados recientemente"
682
+ },
683
+ "unnamedRecord": "Registro sin nombre"
587
684
  }
588
685
  },
589
686
  "login": {
@@ -1670,8 +1767,14 @@
1670
1767
  "noResultsFound": "No se encontraron resultados",
1671
1768
  "reminders": {
1672
1769
  "complete": "Completar",
1770
+ "completed": "Completado",
1771
+ "overdueDays": "{{days}} d de retraso",
1673
1772
  "retrieveError": "No se pudieron recuperar los recordatorios",
1674
1773
  "searchMethodNotPromoted": "Método de búsqueda ReminderFiledFor no promovido",
1774
+ "sortNewestFirst": "Ordenar de más reciente a más antiguo",
1775
+ "sortOldestFirst": "Ordenar de más antiguo a más reciente",
1776
+ "title": "Recordatorios",
1777
+ "untitled": "Recordatorio sin título",
1675
1778
  "updateMethodNotPromoted": "Método de actualización de recordatorios no promovido"
1676
1779
  },
1677
1780
  "unexpectedError": "Error inesperado"