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,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
3
  import { FormChangeEvent } from './utils/formEvents';
4
+ import type { UdpWrapperBaseProps } from './types';
4
5
  /**
5
6
  * Props for the UdpDateTimeInput component.
6
7
  *
@@ -8,7 +9,7 @@ import { FormChangeEvent } from './utils/formEvents';
8
9
  * - MUI style: error={boolean} + helperText={string}
9
10
  * - Fluent style: error={string} + hint={string}
10
11
  */
11
- export interface UdpDateTimeInputProps extends Partial<Omit<JSX.UdpDateTimeInput, 'onValueChanged' | 'error'>> {
12
+ export interface UdpDateTimeInputProps extends Partial<Omit<JSX.UdpDateTimeInput, 'onValueChanged' | 'error'>>, UdpWrapperBaseProps {
12
13
  /** Called when date/time changes - compatible with form libraries (event.target.value) */
13
14
  onChange?: (event: FormChangeEvent<string>) => void;
14
15
  /** React children (for slot content) */
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDateTimeInput.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDateTimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAqB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAExE;;;;;;GAMG;AACH,MAAM,WAAW,qBACf,SAAQ,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC;IACvE,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsC5D,CAAC"}
1
+ {"version":3,"file":"UdpDateTimeInput.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDateTimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAqB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,WAAW,qBACf,SAAQ,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,EACrE,mBAAmB;IACrB,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsC5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDateTimeInput.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDateTimeInput.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,EAAE,iBAAiB,EAAmB,MAAM,oBAAoB,CAAC;AA6BxE,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAQjE,EAAE,EAAE,CAAC;QAR4D,EAChE,QAAQ,EACR,IAAI,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,IACT,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,cAAc,EACpB,cAAc,EAAE,kBAAkB,IAClC,CACH,CAAC;AAAA,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDateTimeInput.mjs","names":["React","UdpDateTimeInput","UdpDateTimeInputWebComponent","JSX","createChangeEvent","FormChangeEvent","UdpDateTimeInputProps","Partial","Omit","onChange","event","children","ReactNode","error","helperText","FC","t0","$","_c","hint","name","props","value","t1","e","detail","handleValueChanged","hintStr","undefined","normalizedError","normalizedHint","t2"],"sources":["../../../src/UI/fluent-web-components/UdpDateTimeInput.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpDateTimeInput as UdpDateTimeInputWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport { createChangeEvent, FormChangeEvent } from './utils/formEvents';\n\n/**\n * Props for the UdpDateTimeInput component.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpDateTimeInputProps\n extends Partial<Omit<JSX.UdpDateTimeInput, 'onValueChanged' | 'error'>> {\n /** Called when date/time changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<string>) => void;\n /** React children (for slot content) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpDateTimeInput: React.FC<UdpDateTimeInputProps> = ({\n onChange,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}) => {\n const handleValueChanged = (e: CustomEvent<string>) => {\n onChange?.(createChangeEvent(e.detail, name, 'datetime-local'));\n };\n\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? (helperText || '') : undefined;\n normalizedHint = !error ? (helperText || hintStr) : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpDateTimeInputWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n />\n );\n};\n"],"mappings":";;;;;AAgCA,MAAaC,sBAAoDe,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAC;CAAA,IAAAK;CAAA,IAAAC;CAAA,IAAAX;CAAA,IAAAY;CAAA,IAAAC;AAAA,KAAAL,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAP,UAAAW,MAAAE,OAAAT,OAAAC,YAAAK,SAAAE,SAAAL;AAQjEC,IAAA,KAAAD;AAAAC,IAAA,KAAAJ;AAAAI,IAAA,KAAAH;AAAAG,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,KAAAR;AAAAQ,IAAA,KAAAI;AAAAJ,IAAA,KAAAK;QAAA;AAAAT,UAAAI,EAAA;AAAAH,eAAAG,EAAA;AAAAE,SAAAF,EAAA;AAAAG,SAAAH,EAAA;AAAAR,aAAAQ,EAAA;AAAAI,UAAAJ,EAAA;AAAAK,UAAAL,EAAA;;CAAA,IAAAM;AAAA,KAAAN,EAAA,OAAAG,QAAAH,EAAA,OAAAR,UAAA;AAC4Bc,QAAAC,MAAA;AACzBf,cAAWL,kBAAkBoB,EAACC,QAASL,MAAM,iBAAiB,CAAC;;AAChEH,IAAA,KAAAG;AAAAH,IAAA,KAAAR;AAAAQ,IAAA,MAAAM;OAAAA,MAAAN,EAAA;CAFD,MAAAS,qBAA2BH;CAI3B,MAAAI,UAAgB,OAAOR,SAAS,WAAhBA,OAAAS,KAAAA;CAEZC,IAAAA;CACAC,IAAAA;AAEJ,KAAI,OAAOjB,UAAU,UAAQ;AAC3BgB,oBAAkBhB;AAClBiB,mBAAiBH;YACR,OAAOd,UAAU,WAAS;AACnCgB,oBAAkBhB,QAASC,cAAA,KAATc,KAAAA;AAClBE,mBAAiBA,CAACjB,QAASC,cAAAa,UAAVA;OAEjBG,kBAAiBA,WAAAA;CAClB,IAAAC;AAAA,KAAAd,EAAA,QAAAS,sBAAAT,EAAA,QAAAG,QAAAH,EAAA,QAAAY,mBAAAZ,EAAA,QAAAa,kBAAAb,EAAA,QAAAI,SAAAJ,EAAA,QAAAK,OAAA;AAGCS,OAAA,sBAAA,cAAC,kBAAD;GAA6B,GACvBV;GACED;GACCE;GACAO,OAAAA;GACDC,MAAAA;GACUJ,gBAAAA;GAChB,CAAA;AAAAT,IAAA,MAAAS;AAAAT,IAAA,MAAAG;AAAAH,IAAA,MAAAY;AAAAZ,IAAA,MAAAa;AAAAb,IAAA,MAAAI;AAAAJ,IAAA,MAAAK;AAAAL,IAAA,MAAAc;OAAAA,MAAAd,EAAA;AAAA,QAPFc"}
1
+ {"version":3,"file":"UdpDateTimeInput.mjs","names":["React","UdpDateTimeInput","UdpDateTimeInputWebComponent","JSX","createChangeEvent","FormChangeEvent","UdpWrapperBaseProps","UdpDateTimeInputProps","Partial","Omit","onChange","event","children","ReactNode","error","helperText","FC","t0","$","_c","hint","name","props","value","t1","e","detail","handleValueChanged","hintStr","undefined","normalizedError","normalizedHint","t2"],"sources":["../../../src/UI/fluent-web-components/UdpDateTimeInput.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpDateTimeInput as UdpDateTimeInputWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport { createChangeEvent, FormChangeEvent } from './utils/formEvents';\nimport type { UdpWrapperBaseProps } from './types';\n\n/**\n * Props for the UdpDateTimeInput component.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpDateTimeInputProps\n extends Partial<Omit<JSX.UdpDateTimeInput, 'onValueChanged' | 'error'>>,\n UdpWrapperBaseProps {\n /** Called when date/time changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<string>) => void;\n /** React children (for slot content) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpDateTimeInput: React.FC<UdpDateTimeInputProps> = ({\n onChange,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}) => {\n const handleValueChanged = (e: CustomEvent<string>) => {\n onChange?.(createChangeEvent(e.detail, name, 'datetime-local'));\n };\n\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? (helperText || '') : undefined;\n normalizedHint = !error ? (helperText || hintStr) : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpDateTimeInputWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n />\n );\n};\n"],"mappings":";;;;;AAkCA,MAAaC,sBAAoDgB,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAC;CAAA,IAAAK;CAAA,IAAAC;CAAA,IAAAX;CAAA,IAAAY;CAAA,IAAAC;AAAA,KAAAL,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAP,UAAAW,MAAAE,OAAAT,OAAAC,YAAAK,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AAa;AAAAb,IAAA,MAAAI;AAAAJ,IAAA,MAAAK;AAAAL,IAAA,MAAAc;OAAAA,MAAAd,EAAA;AAAA,QAPFc"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
- interface UdpDialogProps extends Partial<JSX.UdpFluentDialog> {
3
+ import type { UdpWrapperBaseProps } from './types';
4
+ interface UdpDialogProps extends Partial<JSX.UdpFluentDialog>, UdpWrapperBaseProps {
4
5
  children?: React.ReactNode;
5
6
  }
6
7
  export declare const UdpDialog: React.FC<UdpDialogProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDialog.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AAEzE,UAAU,cAAe,SAAQ,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuB9C,CAAC"}
1
+ {"version":3,"file":"UdpDialog.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,UAAU,cACR,SAAQ,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,EAClC,mBAAmB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuB9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDialog.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AAO/G,MAAM,CAAC,MAAM,SAAS,GAA6B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC5D,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAE7D,6DAA6D;IAC7D,IAAI,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;QAChC,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,oDAAoD;IACpD,SAAS,CAAC,GAAG,EAAE,CAAC;QACd,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,YAAY,EAAE,CAAC;YAChC,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC;gBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;YAAA,CACxB,EAAE,GAAG,CAAC,CAAC;YACR,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;QACvC,CAAC;IAAA,CACF,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAE/B,OAAO,CACL,oBAAC,2BAA2B,oBAAK,KAAK,GACnC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CACT,CAC/B,CAAC;AAAA,CACH,CAAC"}
1
+ {"version":3,"file":"UdpDialog.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AAU/G,MAAM,CAAC,MAAM,SAAS,GAA6B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC5D,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAE7D,6DAA6D;IAC7D,IAAI,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;QAChC,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,oDAAoD;IACpD,SAAS,CAAC,GAAG,EAAE,CAAC;QACd,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,YAAY,EAAE,CAAC;YAChC,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC;gBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;YAAA,CACxB,EAAE,GAAG,CAAC,CAAC;YACR,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;QACvC,CAAC;IAAA,CACF,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAE/B,OAAO,CACL,oBAAC,2BAA2B,oBAAK,KAAK,GACnC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CACT,CAC/B,CAAC;AAAA,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDialog.mjs","names":["React","useEffect","useState","UdpFluentDialog","UdpFluentDialogWebComponent","JSX","UdpDialogProps","Partial","children","ReactNode","UdpDialog","FC","props","$","_c","shouldRender","setShouldRender","open","t0","t1","timeoutId","setTimeout","clearTimeout","t2","t3"],"sources":["../../../src/UI/fluent-web-components/UdpDialog.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { UdpFluentDialog as UdpFluentDialogWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\n\ninterface UdpDialogProps extends Partial<JSX.UdpFluentDialog> {\n children?: React.ReactNode;\n}\n\nexport const UdpDialog: React.FC<UdpDialogProps> = (props) => {\n const [shouldRender, setShouldRender] = useState(props.open);\n\n // Immediately allow rendering when opened (no effect needed)\n if (props.open && !shouldRender) {\n setShouldRender(true);\n }\n\n // Delay unmounting on close to allow exit animation\n useEffect(() => {\n if (!props.open && shouldRender) {\n const timeoutId = setTimeout(() => {\n setShouldRender(false);\n }, 500);\n return () => clearTimeout(timeoutId);\n }\n }, [props.open, shouldRender]);\n\n return (\n <UdpFluentDialogWebComponent {...props}>\n {shouldRender ? props.children : null}\n </UdpFluentDialogWebComponent>\n );\n};\n"],"mappings":";;;;AAQA,MAAaU,aAAsCE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CACjD,MAAA,CAAAC,cAAAC,mBAAwCd,SAASU,MAAKK,KAAM;AAG5D,KAAIL,MAAKK,QAAL,CAAeF,aACjBC,iBAAgB,KAAK;CACtB,IAAAE;CAAA,IAAAC;AAAA,KAAAN,EAAA,OAAAD,MAAAK,QAAAJ,EAAA,OAAAE,cAAA;AAGSG,aAAA;AACR,OAAI,CAACN,MAAKK,QAANF,cAA2B;IAC7B,MAAAK,YAAkBC,iBAAW;AAC3BL,qBAAgB,MAAM;OACrB,IAAI;AAAC,iBACKM,aAAaF,UAAU;;;AAErCD,OAAA,CAACP,MAAKK,MAAOF,aAAa;AAAAF,IAAA,KAAAD,MAAAK;AAAAJ,IAAA,KAAAE;AAAAF,IAAA,KAAAK;AAAAL,IAAA,KAAAM;QAAA;AAAAD,OAAAL,EAAA;AAAAM,OAAAN,EAAA;;AAP7BZ,WAAUiB,IAOPC,GAA2B;CAIzB,MAAAI,KAAAR,eAAeH,MAAKJ,WAApB;CAAoC,IAAAgB;AAAA,KAAAX,EAAA,OAAAD,SAAAC,EAAA,OAAAU,IAAA;AADvCC,OAAA,sBAAA,cAAC,iBAAgCZ,OAC9BW,GAC2B;AAAAV,IAAA,KAAAD;AAAAC,IAAA,KAAAU;AAAAV,IAAA,KAAAW;OAAAA,MAAAX,EAAA;AAAA,QAF9BW"}
1
+ {"version":3,"file":"UdpDialog.mjs","names":["React","useEffect","useState","UdpFluentDialog","UdpFluentDialogWebComponent","JSX","UdpWrapperBaseProps","UdpDialogProps","Partial","children","ReactNode","UdpDialog","FC","props","$","_c","shouldRender","setShouldRender","open","t0","t1","timeoutId","setTimeout","clearTimeout","t2","t3"],"sources":["../../../src/UI/fluent-web-components/UdpDialog.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { UdpFluentDialog as UdpFluentDialogWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\ninterface UdpDialogProps\n extends Partial<JSX.UdpFluentDialog>,\n UdpWrapperBaseProps {\n children?: React.ReactNode;\n}\n\nexport const UdpDialog: React.FC<UdpDialogProps> = (props) => {\n const [shouldRender, setShouldRender] = useState(props.open);\n\n // Immediately allow rendering when opened (no effect needed)\n if (props.open && !shouldRender) {\n setShouldRender(true);\n }\n\n // Delay unmounting on close to allow exit animation\n useEffect(() => {\n if (!props.open && shouldRender) {\n const timeoutId = setTimeout(() => {\n setShouldRender(false);\n }, 500);\n return () => clearTimeout(timeoutId);\n }\n }, [props.open, shouldRender]);\n\n return (\n <UdpFluentDialogWebComponent {...props}>\n {shouldRender ? props.children : null}\n </UdpFluentDialogWebComponent>\n );\n};\n"],"mappings":";;;;AAWA,MAAaW,aAAsCE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CACjD,MAAA,CAAAC,cAAAC,mBAAwCf,SAASW,MAAKK,KAAM;AAG5D,KAAIL,MAAKK,QAAL,CAAeF,aACjBC,iBAAgB,KAAK;CACtB,IAAAE;CAAA,IAAAC;AAAA,KAAAN,EAAA,OAAAD,MAAAK,QAAAJ,EAAA,OAAAE,cAAA;AAGSG,aAAA;AACR,OAAI,CAACN,MAAKK,QAANF,cAA2B;IAC7B,MAAAK,YAAkBC,iBAAW;AAC3BL,qBAAgB,MAAM;OACrB,IAAI;AAAC,iBACKM,aAAaF,UAAU;;;AAErCD,OAAA,CAACP,MAAKK,MAAOF,aAAa;AAAAF,IAAA,KAAAD,MAAAK;AAAAJ,IAAA,KAAAE;AAAAF,IAAA,KAAAK;AAAAL,IAAA,KAAAM;QAAA;AAAAD,OAAAL,EAAA;AAAAM,OAAAN,EAAA;;AAP7Bb,WAAUkB,IAOPC,GAA2B;CAIzB,MAAAI,KAAAR,eAAeH,MAAKJ,WAApB;CAAoC,IAAAgB;AAAA,KAAAX,EAAA,OAAAD,SAAAC,EAAA,OAAAU,IAAA;AADvCC,OAAA,sBAAA,cAAC,iBAAgCZ,OAC9BW,GAC2B;AAAAV,IAAA,KAAAD;AAAAC,IAAA,KAAAU;AAAAV,IAAA,KAAAW;OAAAA,MAAAX,EAAA;AAAA,QAF9BW"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
- interface UdpDividerProps extends Partial<JSX.UdpFluentDivider> {
3
+ import type { UdpWrapperBaseProps } from './types';
4
+ interface UdpDividerProps extends Partial<JSX.UdpFluentDivider>, UdpWrapperBaseProps {
4
5
  children?: React.ReactNode;
5
6
  }
6
7
  export declare const UdpDivider: React.FC<UdpDividerProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDivider.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AAEzE,UAAU,eAAgB,SAAQ,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;IAC7D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAEhD,CAAC"}
1
+ {"version":3,"file":"UdpDivider.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,UAAU,eACR,SAAQ,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,EACnC,mBAAmB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAEhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDivider.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAOjH,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC9D,OAAO,oBAAC,4BAA4B,oBAAK,KAAK,EAAI,CAAC;AAAA,CACpD,CAAC"}
1
+ {"version":3,"file":"UdpDivider.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAUjH,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC9D,OAAO,oBAAC,4BAA4B,oBAAK,KAAK,EAAI,CAAC;AAAA,CACpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDivider.mjs","names":["React","UdpFluentDivider","UdpFluentDividerWebComponent","JSX","UdpDividerProps","Partial","children","ReactNode","UdpDivider","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpDivider.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentDivider as UdpFluentDividerWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\n\ninterface UdpDividerProps extends Partial<JSX.UdpFluentDivider> {\n children?: React.ReactNode;\n}\n\nexport const UdpDivider: React.FC<UdpDividerProps> = (props) => {\n return <UdpFluentDividerWebComponent {...props} />;\n};\n"],"mappings":";;;;AAQA,MAAaQ,cAAwCE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAC5CG,OAAA,sBAAA,cAAC,kBAAiCH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAA3CE"}
1
+ {"version":3,"file":"UdpDivider.mjs","names":["React","UdpFluentDivider","UdpFluentDividerWebComponent","JSX","UdpWrapperBaseProps","UdpDividerProps","Partial","children","ReactNode","UdpDivider","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpDivider.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentDivider as UdpFluentDividerWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\ninterface UdpDividerProps\n extends Partial<JSX.UdpFluentDivider>,\n UdpWrapperBaseProps {\n children?: React.ReactNode;\n}\n\nexport const UdpDivider: React.FC<UdpDividerProps> = (props) => {\n return <UdpFluentDividerWebComponent {...props} />;\n};\n"],"mappings":";;;;AAWA,MAAaS,cAAwCE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAC5CG,OAAA,sBAAA,cAAC,kBAAiCH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAA3CE"}
@@ -1,7 +1,15 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
- interface UdpDrawerProps extends Partial<JSX.UdpFluentDrawer> {
3
+ import type { UdpWrapperBaseProps } from './types';
4
+ interface UdpDrawerProps extends Partial<JSX.UdpFluentDrawer>, UdpWrapperBaseProps {
4
5
  children?: React.ReactNode;
6
+ /**
7
+ * Keep children mounted while the drawer is closed (the drawer itself stays
8
+ * hidden). Use when the content is stateful — e.g. a chat panel whose
9
+ * conversation must survive close/reopen. Default: children unmount after
10
+ * the exit animation.
11
+ */
12
+ keepMounted?: boolean;
5
13
  }
6
14
  export declare const UdpDrawer: React.FC<UdpDrawerProps>;
7
15
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDrawer.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AAEzE,UAAU,cAAe,SAAQ,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuB9C,CAAC"}
1
+ {"version":3,"file":"UdpDrawer.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,UAAU,cACR,SAAQ,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,EAClC,mBAAmB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuB9C,CAAC"}
@@ -1,6 +1,18 @@
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
+ };
1
12
  import React, { useEffect, useState } from 'react';
2
13
  import { UdpFluentDrawer as UdpFluentDrawerWebComponent } from 'udp-react-stencil-component-library';
3
- export const UdpDrawer = (props) => {
14
+ export const UdpDrawer = (_a) => {
15
+ var { keepMounted } = _a, props = __rest(_a, ["keepMounted"]);
4
16
  const [shouldRender, setShouldRender] = useState(props.open);
5
17
  // Immediately allow rendering when opened (no effect needed)
6
18
  if (props.open && !shouldRender) {
@@ -15,6 +27,6 @@ export const UdpDrawer = (props) => {
15
27
  return () => clearTimeout(timeoutId);
16
28
  }
17
29
  }, [props.open, shouldRender]);
18
- return (React.createElement(UdpFluentDrawerWebComponent, Object.assign({}, props), shouldRender ? props.children : null));
30
+ return (React.createElement(UdpFluentDrawerWebComponent, Object.assign({}, props), keepMounted || shouldRender ? props.children : null));
19
31
  };
20
32
  //# sourceMappingURL=UdpDrawer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDrawer.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SA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AE,CAAC;QAA9B,EAAE,WAAW,OAAY,EAAP,KAAK,cAAvB,eAAyB,CAAF;IACzE,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAE7D,6DAA6D;IAC7D,IAAI,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;QAChC,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,oDAAoD;IACpD,SAAS,CAAC,GAAG,EAAE,CAAC;QACd,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,YAAY,EAAE,CAAC;YAChC,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC;gBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;YAAA,CACxB,EAAE,GAAG,CAAC,CAAC;YACR,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;QACvC,CAAC;IAAA,CACF,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAE/B,OAAO,CACL,oBAAC,2BAA2B,oBAAK,KAAK,GACnC,WAAW,IAAI,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CACxB,CAC/B,CAAC;AAAA,CACH,CAAC"}
@@ -2,14 +2,25 @@ import { c } from "../../reactCompilerRuntime.mjs";
2
2
  import React, { useEffect, useState } from "react";
3
3
  import { UdpFluentDrawer } from "udp-react-stencil-component-library";
4
4
  //#region src/UI/fluent-web-components/UdpDrawer.tsx
5
- const UdpDrawer = (props) => {
6
- const $ = c(7);
5
+ const UdpDrawer = (t0) => {
6
+ const $ = c(10);
7
+ let keepMounted;
8
+ let props;
9
+ if ($[0] !== t0) {
10
+ ({keepMounted, ...props} = t0);
11
+ $[0] = t0;
12
+ $[1] = keepMounted;
13
+ $[2] = props;
14
+ } else {
15
+ keepMounted = $[1];
16
+ props = $[2];
17
+ }
7
18
  const [shouldRender, setShouldRender] = useState(props.open);
8
19
  if (props.open && !shouldRender) setShouldRender(true);
9
- let t0;
10
20
  let t1;
11
- if ($[0] !== props.open || $[1] !== shouldRender) {
12
- t0 = () => {
21
+ let t2;
22
+ if ($[3] !== props.open || $[4] !== shouldRender) {
23
+ t1 = () => {
13
24
  if (!props.open && shouldRender) {
14
25
  const timeoutId = setTimeout(() => {
15
26
  setShouldRender(false);
@@ -17,25 +28,25 @@ const UdpDrawer = (props) => {
17
28
  return () => clearTimeout(timeoutId);
18
29
  }
19
30
  };
20
- t1 = [props.open, shouldRender];
21
- $[0] = props.open;
22
- $[1] = shouldRender;
23
- $[2] = t0;
24
- $[3] = t1;
31
+ t2 = [props.open, shouldRender];
32
+ $[3] = props.open;
33
+ $[4] = shouldRender;
34
+ $[5] = t1;
35
+ $[6] = t2;
25
36
  } else {
26
- t0 = $[2];
27
- t1 = $[3];
37
+ t1 = $[5];
38
+ t2 = $[6];
28
39
  }
29
- useEffect(t0, t1);
30
- const t2 = shouldRender ? props.children : null;
31
- let t3;
32
- if ($[4] !== props || $[5] !== t2) {
33
- t3 = /* @__PURE__ */ React.createElement(UdpFluentDrawer, props, t2);
34
- $[4] = props;
35
- $[5] = t2;
36
- $[6] = t3;
37
- } else t3 = $[6];
38
- return t3;
40
+ useEffect(t1, t2);
41
+ const t3 = keepMounted || shouldRender ? props.children : null;
42
+ let t4;
43
+ if ($[7] !== props || $[8] !== t3) {
44
+ t4 = /* @__PURE__ */ React.createElement(UdpFluentDrawer, props, t3);
45
+ $[7] = props;
46
+ $[8] = t3;
47
+ $[9] = t4;
48
+ } else t4 = $[9];
49
+ return t4;
39
50
  };
40
51
  //#endregion
41
52
  export { UdpDrawer };
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDrawer.mjs","names":["React","useEffect","useState","UdpFluentDrawer","UdpFluentDrawerWebComponent","JSX","UdpDrawerProps","Partial","children","ReactNode","UdpDrawer","FC","props","$","_c","shouldRender","setShouldRender","open","t0","t1","timeoutId","setTimeout","clearTimeout","t2","t3"],"sources":["../../../src/UI/fluent-web-components/UdpDrawer.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { UdpFluentDrawer as UdpFluentDrawerWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\n\ninterface UdpDrawerProps extends Partial<JSX.UdpFluentDrawer> {\n children?: React.ReactNode;\n}\n\nexport const UdpDrawer: React.FC<UdpDrawerProps> = (props) => {\n const [shouldRender, setShouldRender] = useState(props.open);\n\n // Immediately allow rendering when opened (no effect needed)\n if (props.open && !shouldRender) {\n setShouldRender(true);\n }\n\n // Delay unmounting on close to allow exit animation\n useEffect(() => {\n if (!props.open && shouldRender) {\n const timeoutId = setTimeout(() => {\n setShouldRender(false);\n }, 500);\n return () => clearTimeout(timeoutId);\n }\n }, [props.open, shouldRender]);\n\n return (\n <UdpFluentDrawerWebComponent {...props}>\n {shouldRender ? props.children : null}\n </UdpFluentDrawerWebComponent>\n );\n};\n"],"mappings":";;;;AAQA,MAAaU,aAAsCE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CACjD,MAAA,CAAAC,cAAAC,mBAAwCd,SAASU,MAAKK,KAAM;AAG5D,KAAIL,MAAKK,QAAL,CAAeF,aACjBC,iBAAgB,KAAK;CACtB,IAAAE;CAAA,IAAAC;AAAA,KAAAN,EAAA,OAAAD,MAAAK,QAAAJ,EAAA,OAAAE,cAAA;AAGSG,aAAA;AACR,OAAI,CAACN,MAAKK,QAANF,cAA2B;IAC7B,MAAAK,YAAkBC,iBAAW;AAC3BL,qBAAgB,MAAM;OACrB,IAAI;AAAC,iBACKM,aAAaF,UAAU;;;AAErCD,OAAA,CAACP,MAAKK,MAAOF,aAAa;AAAAF,IAAA,KAAAD,MAAAK;AAAAJ,IAAA,KAAAE;AAAAF,IAAA,KAAAK;AAAAL,IAAA,KAAAM;QAAA;AAAAD,OAAAL,EAAA;AAAAM,OAAAN,EAAA;;AAP7BZ,WAAUiB,IAOPC,GAA2B;CAIzB,MAAAI,KAAAR,eAAeH,MAAKJ,WAApB;CAAoC,IAAAgB;AAAA,KAAAX,EAAA,OAAAD,SAAAC,EAAA,OAAAU,IAAA;AADvCC,OAAA,sBAAA,cAAC,iBAAgCZ,OAC9BW,GAC2B;AAAAV,IAAA,KAAAD;AAAAC,IAAA,KAAAU;AAAAV,IAAA,KAAAW;OAAAA,MAAAX,EAAA;AAAA,QAF9BW"}
1
+ {"version":3,"file":"UdpDrawer.mjs","names":["React","useEffect","useState","UdpFluentDrawer","UdpFluentDrawerWebComponent","JSX","UdpWrapperBaseProps","UdpDrawerProps","Partial","children","ReactNode","keepMounted","UdpDrawer","FC","t0","$","_c","props","shouldRender","setShouldRender","open","t1","t2","timeoutId","setTimeout","clearTimeout","t3","t4"],"sources":["../../../src/UI/fluent-web-components/UdpDrawer.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { UdpFluentDrawer as UdpFluentDrawerWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\ninterface UdpDrawerProps\n extends Partial<JSX.UdpFluentDrawer>,\n UdpWrapperBaseProps {\n children?: React.ReactNode;\n /**\n * Keep children mounted while the drawer is closed (the drawer itself stays\n * hidden). Use when the content is stateful — e.g. a chat panel whose\n * conversation must survive close/reopen. Default: children unmount after\n * the exit animation.\n */\n keepMounted?: boolean;\n}\n\nexport const UdpDrawer: React.FC<UdpDrawerProps> = ({ keepMounted, ...props }) => {\n const [shouldRender, setShouldRender] = useState(props.open);\n\n // Immediately allow rendering when opened (no effect needed)\n if (props.open && !shouldRender) {\n setShouldRender(true);\n }\n\n // Delay unmounting on close to allow exit animation\n useEffect(() => {\n if (!props.open && shouldRender) {\n const timeoutId = setTimeout(() => {\n setShouldRender(false);\n }, 500);\n return () => clearTimeout(timeoutId);\n }\n }, [props.open, shouldRender]);\n\n return (\n <UdpFluentDrawerWebComponent {...props}>\n {keepMounted || shouldRender ? props.children : null}\n </UdpFluentDrawerWebComponent>\n );\n};\n"],"mappings":";;;;AAkBA,MAAaY,aAAsCE,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAM;AAAA,KAAAF,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAH,gBAAAM,SAAAH;AAAyBC,IAAA,KAAAD;AAAAC,IAAA,KAAAJ;AAAAI,IAAA,KAAAE;QAAA;AAAAN,gBAAAI,EAAA;AAAAE,UAAAF,EAAA;;CAC3E,MAAA,CAAAG,cAAAC,mBAAwCjB,SAASe,MAAKG,KAAM;AAG5D,KAAIH,MAAKG,QAAL,CAAeF,aACjBC,iBAAgB,KAAK;CACtB,IAAAE;CAAA,IAAAC;AAAA,KAAAP,EAAA,OAAAE,MAAAG,QAAAL,EAAA,OAAAG,cAAA;AAGSG,aAAA;AACR,OAAI,CAACJ,MAAKG,QAANF,cAA2B;IAC7B,MAAAK,YAAkBC,iBAAW;AAC3BL,qBAAgB,MAAM;OACrB,IAAI;AAAC,iBACKM,aAAaF,UAAU;;;AAErCD,OAAA,CAACL,MAAKG,MAAOF,aAAa;AAAAH,IAAA,KAAAE,MAAAG;AAAAL,IAAA,KAAAG;AAAAH,IAAA,KAAAM;AAAAN,IAAA,KAAAO;QAAA;AAAAD,OAAAN,EAAA;AAAAO,OAAAP,EAAA;;AAP7Bd,WAAUoB,IAOPC,GAA2B;CAIzB,MAAAI,KAAAf,eAAAO,eAA8BD,MAAKR,WAAnC;CAAmD,IAAAkB;AAAA,KAAAZ,EAAA,OAAAE,SAAAF,EAAA,OAAAW,IAAA;AADtDC,OAAA,sBAAA,cAAC,iBAAgCV,OAC9BS,GAC2B;AAAAX,IAAA,KAAAE;AAAAF,IAAA,KAAAW;AAAAX,IAAA,KAAAY;OAAAA,MAAAZ,EAAA;AAAA,QAF9BY"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
3
  import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
4
+ import type { UdpWrapperBaseProps } from './types';
4
5
  /**
5
6
  * Props for the UdpDropdown component.
6
7
  *
@@ -8,7 +9,7 @@ import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
8
9
  * - MUI style: error={boolean} + helperText={string}
9
10
  * - Fluent style: error={string} + hint={string}
10
11
  */
11
- export interface UdpDropdownProps<T = unknown> extends Partial<Omit<JSX.UdpFluentDropdown, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'value' | 'error'>> {
12
+ export interface UdpDropdownProps<T = unknown> extends Partial<Omit<JSX.UdpFluentDropdown, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'value' | 'error'>>, UdpWrapperBaseProps {
12
13
  /** Current selected value */
13
14
  value?: T;
14
15
  /** Called when selection changes - compatible with form libraries (event.target.value) */
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDropdown.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAGL,eAAe,EACf,cAAc,EACf,MAAM,oBAAoB,CAAC;AAE5B;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,OAAO,CAC3C,SAAQ,OAAO,CACb,IAAI,CACF,GAAG,CAAC,iBAAiB,EACrB,gBAAgB,GAAG,aAAa,GAAG,cAAc,GAAG,OAAO,GAAG,OAAO,CACtE,CACF;IACD,6BAA6B;IAC7B,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC/C,wEAAwE;IACxE,MAAM,CAAC,EAAE,CA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C,CAAC;IAED,OAAO,CACL,oBAAC,6BAA6B,oBACxB,KAAK,IACT,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,cAAc,EACpB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,UAAU,EACvB,YAAY,EAAE,WAAW,IACzB,CACH,CAAC;AAAA,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDropdown.mjs","names":["React","UdpFluentDropdown","UdpFluentDropdownWebComponent","JSX","createChangeEvent","createFocusEvent","FormChangeEvent","FormFocusEvent","UdpDropdownProps","Partial","Omit","value","T","onChange","event","onBlur","onFocus","children","ReactNode","error","helperText","UdpDropdown","t0","$","_c","hint","name","props","t1","e","detail","handleValueChanged","t2","handleBlur","t3","handleFocus","hintStr","undefined","normalizedError","normalizedHint","t4"],"sources":["../../../src/UI/fluent-web-components/UdpDropdown.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentDropdown as UdpFluentDropdownWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport {\n createChangeEvent,\n createFocusEvent,\n FormChangeEvent,\n FormFocusEvent\n} from './utils/formEvents';\n\n/**\n * Props for the UdpDropdown component.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpDropdownProps<T = unknown>\n extends Partial<\n Omit<\n JSX.UdpFluentDropdown,\n 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'value' | 'error'\n >\n > {\n /** Current selected value */\n value?: T;\n /** Called when selection changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<T>) => void;\n /** Called when dropdown loses focus - compatible with form libraries */\n onBlur?: (event: FormFocusEvent) => void;\n /** Called when dropdown gains focus */\n onFocus?: (event: FormFocusEvent) => void;\n /** React children (for slot content / options) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpDropdown = <T = unknown,>({\n onChange,\n onBlur,\n onFocus,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}: UdpDropdownProps<T>) => {\n const handleValueChanged = (e: CustomEvent<T>) => {\n onChange?.(createChangeEvent(e.detail, name, 'select'));\n };\n\n const handleBlur = () => {\n onBlur?.(createFocusEvent('blur', name));\n };\n\n const handleFocus = () => {\n onFocus?.(createFocusEvent('focus', name));\n };\n\n // Normalize error/hint props to support both MUI and Fluent patterns\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? helperText || '' : undefined;\n normalizedHint = !error ? helperText || hintStr : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpFluentDropdownWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n onInputBlur={handleBlur}\n onInputFocus={handleFocus}\n />\n );\n};\n"],"mappings":";;;;;AAgDA,MAAaqB,eAAcC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAC;CAAA,IAAAK;CAAA,IAAAC;CAAA,IAAAX;CAAA,IAAAF;CAAA,IAAAG;CAAA,IAAAW;CAAA,IAAAhB;AAAA,KAAAY,EAAA,OAAAD,IAAA;AAAe,GAAA,CAAAT,UAAAE,QAAAC,SAAAU,MAAAf,OAAAQ,OAAAC,YAAAK,SAAAE,SAAAL;AAUpBC,IAAA,KAAAD;AAAAC,IAAA,K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,mBAAiBH;YACR,OAAOjB,UAAU,WAAS;AACnCmB,oBAAkBnB,QAAQC,cAAA,KAARiB,KAAAA;AAClBE,mBAAiBA,CAACpB,QAAQC,cAAAgB,UAATA;OAEjBG,kBAAiBA,WAAAA;CAClB,IAAAC;AAAA,KAAAjB,EAAA,QAAAU,cAAAV,EAAA,QAAAY,eAAAZ,EAAA,QAAAQ,sBAAAR,EAAA,QAAAG,QAAAH,EAAA,QAAAe,mBAAAf,EAAA,QAAAgB,kBAAAhB,EAAA,QAAAI,SAAAJ,EAAA,QAAAZ,OAAA;AAGC6B,OAAA,sBAAA,cAAC,mBAAD;GAA8B,GACxBb;GACED;GACCf;GACA2B,OAAAA;GACDC,MAAAA;GACUR,gBAAAA;GACHE,aAAAA;GACCE,cAAAA;GACd,CAAA;AAAAZ,IAAA,MAAAU;AAAAV,IAAA,MAAAY;AAAAZ,IAAA,MAAAQ;AAAAR,IAAA,MAAAG;AAAAH,IAAA,MAAAe;AAAAf,IAAA,MAAAgB;AAAAhB,IAAA,MAAAI;AAAAJ,IAAA,MAAAZ;AAAAY,IAAA,MAAAiB;OAAAA,MAAAjB,EAAA;AAAA,QATFiB"}
1
+ {"version":3,"file":"UdpDropdown.mjs","names":["React","UdpFluentDropdown","UdpFluentDropdownWebComponent","JSX","createChangeEvent","createFocusEvent","FormChangeEvent","FormFocusEvent","UdpWrapperBaseProps","UdpDropdownProps","Partial","Omit","value","T","onChange","event","onBlur","onFocus","children","ReactNode","error","helperText","UdpDropdown","t0","$","_c","hint","name","props","t1","e","detail","handleValueChanged","t2","handleBlur","t3","handleFocus","hintStr","undefined","normalizedError","normalizedHint","t4"],"sources":["../../../src/UI/fluent-web-components/UdpDropdown.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentDropdown as UdpFluentDropdownWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport {\n createChangeEvent,\n createFocusEvent,\n FormChangeEvent,\n FormFocusEvent\n} from './utils/formEvents';\nimport type { UdpWrapperBaseProps } from './types';\n\n/**\n * Props for the UdpDropdown component.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpDropdownProps<T = unknown>\n extends Partial<\n Omit<\n JSX.UdpFluentDropdown,\n 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'value' | 'error'\n >\n >,\n UdpWrapperBaseProps {\n /** Current selected value */\n value?: T;\n /** Called when selection changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<T>) => void;\n /** Called when dropdown loses focus - compatible with form libraries */\n onBlur?: (event: FormFocusEvent) => void;\n /** Called when dropdown gains focus */\n onFocus?: (event: FormFocusEvent) => void;\n /** React children (for slot content / options) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpDropdown = <T = unknown,>({\n onChange,\n onBlur,\n onFocus,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}: UdpDropdownProps<T>) => {\n const handleValueChanged = (e: CustomEvent<T>) => {\n onChange?.(createChangeEvent(e.detail, name, 'select'));\n };\n\n const handleBlur = () => {\n onBlur?.(createFocusEvent('blur', name));\n };\n\n const handleFocus = () => {\n onFocus?.(createFocusEvent('focus', name));\n };\n\n // Normalize error/hint props to support both MUI and Fluent patterns\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? helperText || '' : undefined;\n normalizedHint = !error ? helperText || hintStr : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpFluentDropdownWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n onInputBlur={handleBlur}\n onInputFocus={handleFocus}\n />\n );\n};\n"],"mappings":";;;;;AAkDA,MAAasB,eAAcC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAC;CAAA,IAAAK;CAAA,IAAAC;CAAA,IAAAX;CAAA,IAAAF;CAAA,IAAAG;CAAA,IAAAW;CAAA,IAAAhB;AAAA,KAAAY,EAAA,OAAAD,IAAA;AAAe,GAAA,CAAAT,UAAAE,QAAAC,SAAAU,MAAAf,OAAAQ,OAAAC,YAAAK,SAAAE,SAAAL;AAUpBC,IAAA,KAAAD;AAAAC,IAAA,KAAAJ;AAAAI,IAAA,KAAAH;AAAAG,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,KAAAR;AAAAQ,IAAA,KAAAV;AAAAU,IAAA,KAAAP;AAAAO,IAAA,KAAAI;AAAAJ,IAAA,KAAAZ;QAAA;AAAAQ,UAAAI,EAAA;AAAAH,eAAAG,EAAA;AAAAE,SAAAF,EAAA;AAAAG,SAAAH,EAAA;AAAAR,WAAAQ,EAAA;AAAAV,aAAAU,EAAA;AAAAP,YAAAO,EAAA;AAAAI,UAAAJ,EAAA;AAAAZ,UAAAY,EAAA;;CAAA,IAAAK;AAAA,KAAAL,EAAA,QAAAG,QAAAH,EAAA,QAAAV,UAAA;AACOe,QAAAC,MAAA;AACzBhB,cAAWV,kBAAkB0B,EAACC,QAASJ,MAAM,SAAS,CAAC;;AACxDH,IAAA,MAAAG;AAAAH,IAAA,MAAAV;AAAAU,IAAA,MAAAK;OAAAA,MAAAL,EAAA;CAFD,MAAAQ,qBAA2BH;CAEzB,IAAAI;AAAA,KAAAT,EAAA,QAAAG,QAAAH,EAAA,QAAAR,QAAA;AAEiBiB,aAAA;AACjBjB,YAASX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,QATFiB"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
3
  import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
4
+ import type { UdpWrapperBaseProps } from './types';
4
5
  /**
5
6
  * Props for the UdpDurationInput component.
6
7
  *
@@ -8,7 +9,7 @@ import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
8
9
  * - MUI style: error={boolean} + helperText={string}
9
10
  * - Fluent style: error={string} + hint={string}
10
11
  */
11
- export interface UdpDurationInputProps extends Partial<Omit<JSX.UdpDurationInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>> {
12
+ export interface UdpDurationInputProps extends Partial<Omit<JSX.UdpDurationInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>>, UdpWrapperBaseProps {
12
13
  /** Called when time changes - compatible with form libraries (event.target.value) */
13
14
  onChange?: (event: FormChangeEvent<string>) => void;
14
15
  /** Called when input loses focus - compatible with form libraries */
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDurationInput.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDurationInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAGL,eAAe,EACf,cAAc,EACf,MAAM,oBAAoB,CAAC;AAE5B;;;;;;GAMG;AACH,MAAM,WAAW,qBACf,SAAQ,OAAO,CACb,IAAI,CACF,GAAG,CAAC,gBAAgB,EACpB,gBAAgB,GAAG,aAAa,GAAG,cAAc,GAAG,OAAO,CAC5D,CACF;IACD,qFAAqF;IACrF,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,qEAAqE;IACrE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzC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CAAC,CAAC,SAAS,CAAC;QACvD,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC5D,CAAC;SAAM,CAAC;QACN,cAAc,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,UAAU,CAAC;IACzC,CAAC;IAED,OAAO,CACL,oBAAC,4BAA4B,oBACvB,KAAK,IACT,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,cAAc,EACpB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,UAAU,EACvB,YAAY,EAAE,WAAW,IACzB,CACH,CAAC;AAAA,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpDurationInput.mjs","names":["React","UdpDurationInput","UdpDurationInputWebComponent","JSX","createChangeEvent","createFocusEvent","FormChangeEvent","FormFocusEvent","UdpDurationInputProps","Partial","Omit","onChange","event","onBlur","onFocus","children","ReactNode","error","helperText","FC","t0","$","_c","hint","name","props","value","t1","e","stringValue","detail","String","handleValueChanged","t2","handleBlur","t3","handleFocus","hintStr","undefined","normalizedError","normalizedHint","t4"],"sources":["../../../src/UI/fluent-web-components/UdpDurationInput.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpDurationInput as UdpDurationInputWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport {\n createChangeEvent,\n createFocusEvent,\n FormChangeEvent,\n FormFocusEvent\n} from './utils/formEvents';\n\n/**\n * Props for the UdpDurationInput component.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpDurationInputProps\n extends Partial<\n Omit<\n JSX.UdpDurationInput,\n 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'\n >\n > {\n /** Called when time changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<string>) => void;\n /** Called when input loses focus - compatible with form libraries */\n onBlur?: (event: FormFocusEvent) => void;\n /** Called when input gains focus */\n onFocus?: (event: FormFocusEvent) => void;\n /** React children (for slot content) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpDurationInput: React.FC<UdpDurationInputProps> = ({\n onChange,\n onBlur,\n onFocus,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}) => {\n const handleValueChanged = (e: CustomEvent<number | null>) => {\n // Convert number to string for form library compatibility\n const stringValue = e.detail != null ? String(e.detail) : '';\n onChange?.(createChangeEvent(stringValue, name, 'duration'));\n };\n\n const handleBlur = () => {\n onBlur?.(createFocusEvent('blur', name));\n };\n\n const handleFocus = () => {\n onFocus?.(createFocusEvent('focus', name));\n };\n\n // Normalize error/hint props to support both MUI and Fluent patterns\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? helperText || '' : undefined;\n normalizedHint = !error ? helperText || hintStr : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpDurationInputWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n onInputBlur={handleBlur}\n onInputFocus={handleFocus}\n />\n );\n};\n"],"mappings":";;;;;AA8CA,MAAaC,sBAAoDmB,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAC;CAAA,IAAAK;CAAA,IAAAC;CAAA,I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iB,SAASmB,KAAK,CAAC;;AAC3CH,IAAA,MAAAG;AAAAH,IAAA,MAAAP;AAAAO,IAAA,MAAAc;OAAAA,MAAAd,EAAA;CAFD,MAAAe,cAAoBD;CAKpB,MAAAE,UAAgB,OAAOd,SAAS,WAAhBA,OAAAe,KAAAA;CAEZC,IAAAA;CACAC,IAAAA;AAEJ,KAAI,OAAOvB,UAAU,UAAQ;AAC3BsB,oBAAkBtB;AAClBuB,mBAAiBH;YACR,OAAOpB,UAAU,WAAS;AACnCsB,oBAAkBtB,QAAQC,cAAA,KAARoB,KAAAA;AAClBE,mBAAiBA,CAACvB,QAAQC,cAAAmB,UAATA;OAEjBG,kBAAiBA,WAAAA;CAClB,IAAAC;AAAA,KAAApB,EAAA,QAAAa,cAAAb,EAAA,QAAAe,eAAAf,EAAA,QAAAW,sBAAAX,EAAA,QAAAG,QAAAH,EAAA,QAAAkB,mBAAAlB,EAAA,QAAAmB,kBAAAnB,EAAA,QAAAI,SAAAJ,EAAA,QAAAK,OAAA;AAGCe,OAAA,sBAAA,cAAC,kBAAD;GAA6B,GACvBhB;GACED;GACCE;GACAa,OAAAA;GACDC,MAAAA;GACUR,gBAAAA;GACHE,aAAAA;GACCE,cAAAA;GACd,CAAA;AAAAf,IAAA,MAAAa;AAAAb,IAAA,MAAAe;AAAAf,IAAA,MAAAW;AAAAX,IAAA,MAAAG;AAAAH,IAAA,MAAAkB;AAAAlB,IAAA,MAAAmB;AAAAnB,IAAA,MAAAI;AAAAJ,IAAA,MAAAK;AAAAL,IAAA,MAAAoB;OAAAA,MAAApB,EAAA;AAAA,QATFoB"}
1
+ {"version":3,"file":"UdpDurationInput.mjs","names":["React","UdpDurationInput","UdpDurationInputWebComponent","JSX","createChangeEvent","createFocusEvent","FormChangeEvent","FormFocusEvent","UdpWrapperBaseProps","UdpDurationInputProps","Partial","Omit","onChange","event","onBlur","onFocus","children","ReactNode","error","helperText","FC","t0","$","_c","hint","name","props","value","t1","e","stringValue","detail","String","handleValueChanged","t2","handleBlur","t3","handleFocus","hintStr","undefined","normalizedError","normalizedHint","t4"],"sources":["../../../src/UI/fluent-web-components/UdpDurationInput.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpDurationInput as UdpDurationInputWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport {\n createChangeEvent,\n createFocusEvent,\n FormChangeEvent,\n FormFocusEvent\n} from './utils/formEvents';\nimport type { UdpWrapperBaseProps } from './types';\n\n/**\n * Props for the UdpDurationInput component.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpDurationInputProps\n extends Partial<\n Omit<\n JSX.UdpDurationInput,\n 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'\n >\n >,\n UdpWrapperBaseProps {\n /** Called when time changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<string>) => void;\n /** Called when input loses focus - compatible with form libraries */\n onBlur?: (event: FormFocusEvent) => void;\n /** Called when input gains focus */\n onFocus?: (event: FormFocusEvent) => void;\n /** React children (for slot content) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpDurationInput: React.FC<UdpDurationInputProps> = ({\n onChange,\n onBlur,\n onFocus,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}) => {\n const handleValueChanged = (e: CustomEvent<number | null>) => {\n // Convert number to string for form library compatibility\n const stringValue = e.detail != null ? String(e.detail) : '';\n onChange?.(createChangeEvent(stringValue, name, 'duration'));\n };\n\n const handleBlur = () => {\n onBlur?.(createFocusEvent('blur', name));\n };\n\n const handleFocus = () => {\n onFocus?.(createFocusEvent('focus', name));\n };\n\n // Normalize error/hint props to support both MUI and Fluent patterns\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? helperText || '' : undefined;\n normalizedHint = !error ? helperText || hintStr : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpDurationInputWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n onInputBlur={handleBlur}\n onInputFocus={handleFocus}\n />\n );\n};\n"],"mappings":";;;;;AAgDA,MAAaC,sBAAoDoB,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAL;CAAA,IAAAC;CAAA,IAAAK;CAAA,IAAAC;CAAA,IAAAX;CAAA,IAAAF;CAAA,IAAAG;CAAA,IAAAW;CAAA,IAAAC;AAAA,KAAAL,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAT,UAAAE,QAAAC,SAAAU,MAAAE,OAAAT,OAAAC,YAAAK,SAAAE,SAAAL;AAUjEC,IAAA,KAAAD;AAAAC,IAAA,KAAAJ;AAAAI,IAAA,KAAAH;AAAAG,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,KAAAR;AAAAQ,IAAA,KAAAV;AAAAU,IAAA,KAAAP;AAAAO,IAAA,KAAAI;AAAAJ,IAAA,KAAAK;QAAA;AAAAT,UAAAI,EAAA;AAAAH,eAAAG,EAAA;AAAAE,SAAAF,EAAA;AAAAG,SAAAH,EAAA;AAAAR,WAAAQ,EAAA;AAAAV,aAAAU,EAAA;AAAAP,YAAAO,EAAA;AAAAI,UAAAJ,EAAA;AAAAK,UAAAL,EAAA;;CAAA,IAAAM;AAAA,KAAAN,EAAA,QAAAG,QAAAH,EAAA,QAAAV,UAAA;AAC4BgB,QAAAC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AD;GAA6B,GACvBhB;GACED;GACCE;GACAa,OAAAA;GACDC,MAAAA;GACUR,gBAAAA;GACHE,aAAAA;GACCE,cAAAA;GACd,CAAA;AAAAf,IAAA,MAAAa;AAAAb,IAAA,MAAAe;AAAAf,IAAA,MAAAW;AAAAX,IAAA,MAAAG;AAAAH,IAAA,MAAAkB;AAAAlB,IAAA,MAAAmB;AAAAnB,IAAA,MAAAI;AAAAJ,IAAA,MAAAK;AAAAL,IAAA,MAAAoB;OAAAA,MAAApB,EAAA;AAAA,QATFoB"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
- interface UdpEmptyStateProps extends Partial<JSX.UdpEmptyState> {
3
+ import type { UdpWrapperBaseProps } from './types';
4
+ interface UdpEmptyStateProps extends Partial<JSX.UdpEmptyState>, UdpWrapperBaseProps {
4
5
  children?: React.ReactNode;
5
6
  }
6
7
  export declare const UdpEmptyState: React.FC<UdpEmptyStateProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"UdpEmptyState.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpEmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AAEzE,UAAU,kBAAmB,SAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;IAC7D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAC"}
1
+ {"version":3,"file":"UdpEmptyState.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpEmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,UAAU,kBACR,SAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,EAChC,mBAAmB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpEmptyState.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpEmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,IAAI,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAO3G,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,KAAK,EAAE,EAAE,CAAC,CACpE,oBAAC,yBAAyB,oBAAK,KAAK,EAAI,CACzC,CAAC"}
1
+ {"version":3,"file":"UdpEmptyState.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpEmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,IAAI,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAU3G,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,KAAK,EAAE,EAAE,CAAC,CACpE,oBAAC,yBAAyB,oBAAK,KAAK,EAAI,CACzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpEmptyState.mjs","names":["React","UdpEmptyState","UdpEmptyStateWebComponent","JSX","UdpEmptyStateProps","Partial","children","ReactNode","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpEmptyState.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpEmptyState as UdpEmptyStateWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\n\ninterface UdpEmptyStateProps extends Partial<JSX.UdpEmptyState> {\n children?: React.ReactNode;\n}\n\nexport const UdpEmptyState: React.FC<UdpEmptyStateProps> = (props) => (\n <UdpEmptyStateWebComponent {...props} />\n);\n"],"mappings":";;;;AAQA,MAAaC,mBAA8CQ,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AACzDG,OAAA,sBAAA,cAAC,eAA8BH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAAxCE"}
1
+ {"version":3,"file":"UdpEmptyState.mjs","names":["React","UdpEmptyState","UdpEmptyStateWebComponent","JSX","UdpWrapperBaseProps","UdpEmptyStateProps","Partial","children","ReactNode","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpEmptyState.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpEmptyState as UdpEmptyStateWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\ninterface UdpEmptyStateProps\n extends Partial<JSX.UdpEmptyState>,\n UdpWrapperBaseProps {\n children?: React.ReactNode;\n}\n\nexport const UdpEmptyState: React.FC<UdpEmptyStateProps> = (props) => (\n <UdpEmptyStateWebComponent {...props} />\n);\n"],"mappings":";;;;AAWA,MAAaC,mBAA8CS,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AACzDG,OAAA,sBAAA,cAAC,eAA8BH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAAxCE"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX, type UdpFileItem } from 'udp-react-stencil-component-library';
3
3
  import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
4
+ import type { UdpWrapperBaseProps } from './types';
4
5
  /**
5
6
  * Props for the UdpFileInput component.
6
7
  *
@@ -12,7 +13,7 @@ import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
12
13
  * - MUI style: error={boolean} + helperText={string}
13
14
  * - Fluent style: error={string} + hint={string}
14
15
  */
15
- export interface UdpFileInputProps extends Partial<Omit<JSX.UdpFluentFileInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>> {
16
+ export interface UdpFileInputProps extends Partial<Omit<JSX.UdpFluentFileInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>>, UdpWrapperBaseProps {
16
17
  /** Called when item list changes - compatible with form libraries (event.target.value) */
17
18
  onChange?: (event: FormChangeEvent<UdpFileItem[]>) => void;
18
19
  /** Called when input loses focus - compatible with form libraries */
@@ -1 +1 @@
1
- {"version":3,"file":"UdpFileInput.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFileInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,EAGL,eAAe,EACf,cAAc,EACf,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;GAUG;AACH,MAAM,WAAW,iBACf,SAAQ,OAAO,CACb,IAAI,CAAC,GAAG,CAAC,kBAAkB,EAAE,gBAAgB,GAAG,aAAa,GAAG,cAAc,GAAG,OAAO,CAAC,CAC1F;IACD,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,WAAW,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3D,qEAAqE;IACrE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzC,oCAAoC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK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EAAE,CAAC;QAC9B,eAAe,GAAG,KAAK,CAAC;QACxB,cAAc,GAAG,OAAO,CAAC;IAC3B,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QACtC,eAAe,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACzD,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,CAAC;SAAM,CAAC;QACN,cAAc,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,UAAU,CAAC;IACzC,CAAC;IAED,OAAO,CACL,oBAAC,8BAA8B,oBACzB,KAAK,IACT,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,cAAc,EACpB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,UAAU,EACvB,YAAY,EAAE,WAAW,IACzB,CACH,CAAC;AAAA,CACH,CAAC"}
1
+ {"version":3,"file":"UdpFileInput.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFileInput.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,IAAI,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAErH,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;AAyC5B,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EAUzD,EAAE,EAAE,CAAC;QAVoD,EACxD,QAAQ,EACR,MAAM,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,EACL,UAAU,EACV,IAAI,OAEL,EADI,KAAK,cATgD,iFAUzD,CADS;IAER,MAAM,kBAAkB,GAAG,CAAC,CAA6B,EAAE,EAAE,CAA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AAI,EAAE,cAAc,EACpB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,UAAU,EACvB,YAAY,EAAE,WAAW,IACzB,CACH,CAAC;AAAA,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpFileInput.mjs","names":["React","UdpFluentFileInput","UdpFluentFileInputWebComponent","JSX","UdpFileItem","createChangeEvent","createFocusEvent","FormChangeEvent","FormFocusEvent","UdpFileInputProps","Partial","Omit","onChange","event","onBlur","onFocus","children","ReactNode","error","helperText","UdpFileInput","FC","t0","$","_c","hint","name","props","value","t1","e","detail","handleValueChanged","t2","handleBlur","t3","handleFocus","hintStr","undefined","normalizedError","normalizedHint","t4"],"sources":["../../../src/UI/fluent-web-components/UdpFileInput.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentFileInput as UdpFluentFileInputWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX, type UdpFileItem } from '@univerus/udp-react-stencil-component-library';\nimport {\n createChangeEvent,\n createFocusEvent,\n FormChangeEvent,\n FormFocusEvent\n} from './utils/formEvents';\n\n/**\n * Props for the UdpFileInput component.\n *\n * One control with two presentation modes:\n * - `view=\"list\"` (default): file rows — for any file type.\n * - `view=\"gallery\"`: thumbnail tiles + click-to-zoom lightbox — for images.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpFileInputProps\n extends Partial<\n Omit<JSX.UdpFluentFileInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>\n > {\n /** Called when item list changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<UdpFileItem[]>) => void;\n /** Called when input loses focus - compatible with form libraries */\n onBlur?: (event: FormFocusEvent) => void;\n /** Called when input gains focus */\n onFocus?: (event: FormFocusEvent) => void;\n /** React children (for slot content) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpFileInput: React.FC<UdpFileInputProps> = ({\n onChange,\n onBlur,\n onFocus,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}) => {\n const handleValueChanged = (e: CustomEvent<UdpFileItem[]>) => {\n onChange?.(createChangeEvent(e.detail, name, 'file-input'));\n };\n\n const handleBlur = () => {\n onBlur?.(createFocusEvent('blur', name));\n };\n\n const handleFocus = () => {\n onFocus?.(createFocusEvent('focus', name));\n };\n\n // Normalize error/hint props to support both MUI and Fluent patterns\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? (helperText || '') : undefined;\n normalizedHint = !error ? (helperText || hintStr) : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpFluentFileInputWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n onInputBlur={handleBlur}\n onInputFocus={handleFocus}\n />\n );\n};\n"],"mappings":";;;;;AA+CA,MAAaoB,gBAA4CE,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAN;CAAA,IAAAC;CAAA,IAAAM;CAAA,IAAAC;CAAA,IAAAZ;CAAA,IAAAF;CAAA,IAAAG;CAAA,IAAAY;CAAA,IAAAC;AAAA,KAAAL,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAV,UAAAE,QAAAC,SAAAW,MAAAE,OAAAV,OAAAC,YAAAM,SAAAE,SAAAL;AAUzDC,IAAA,KAAAD;AAAAC,IAAA,KAAAL;AAAAK,IAAA,KAAAJ;AAAAI,IAAA,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ACnCqB,oBAAkBrB,QAASC,cAAA,KAATmB,KAAAA;AAClBE,mBAAiBA,CAACtB,QAASC,cAAAkB,UAAVA;OAEjBG,kBAAiBA,WAAAA;CAClB,IAAAC;AAAA,KAAAlB,EAAA,QAAAW,cAAAX,EAAA,QAAAa,eAAAb,EAAA,QAAAS,sBAAAT,EAAA,QAAAG,QAAAH,EAAA,QAAAgB,mBAAAhB,EAAA,QAAAiB,kBAAAjB,EAAA,QAAAI,SAAAJ,EAAA,QAAAK,OAAA;AAGCa,OAAA,sBAAA,cAAC,oBAAD;GAA+B,GACzBd;GACED;GACCE;GACAW,OAAAA;GACDC,MAAAA;GACUR,gBAAAA;GACHE,aAAAA;GACCE,cAAAA;GACd,CAAA;AAAAb,IAAA,MAAAW;AAAAX,IAAA,MAAAa;AAAAb,IAAA,MAAAS;AAAAT,IAAA,MAAAG;AAAAH,IAAA,MAAAgB;AAAAhB,IAAA,MAAAiB;AAAAjB,IAAA,MAAAI;AAAAJ,IAAA,MAAAK;AAAAL,IAAA,MAAAkB;OAAAA,MAAAlB,EAAA;AAAA,QATFkB"}
1
+ {"version":3,"file":"UdpFileInput.mjs","names":["React","UdpFluentFileInput","UdpFluentFileInputWebComponent","JSX","UdpFileItem","createChangeEvent","createFocusEvent","FormChangeEvent","FormFocusEvent","UdpWrapperBaseProps","UdpFileInputProps","Partial","Omit","onChange","event","onBlur","onFocus","children","ReactNode","error","helperText","UdpFileInput","FC","t0","$","_c","hint","name","props","value","t1","e","detail","handleValueChanged","t2","handleBlur","t3","handleFocus","hintStr","undefined","normalizedError","normalizedHint","t4"],"sources":["../../../src/UI/fluent-web-components/UdpFileInput.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentFileInput as UdpFluentFileInputWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX, type UdpFileItem } from '@univerus/udp-react-stencil-component-library';\nimport {\n createChangeEvent,\n createFocusEvent,\n FormChangeEvent,\n FormFocusEvent\n} from './utils/formEvents';\nimport type { UdpWrapperBaseProps } from './types';\n\n/**\n * Props for the UdpFileInput component.\n *\n * One control with two presentation modes:\n * - `view=\"list\"` (default): file rows — for any file type.\n * - `view=\"gallery\"`: thumbnail tiles + click-to-zoom lightbox — for images.\n *\n * Supports both MUI-style and Fluent-style error handling:\n * - MUI style: error={boolean} + helperText={string}\n * - Fluent style: error={string} + hint={string}\n */\nexport interface UdpFileInputProps\n extends Partial<\n Omit<JSX.UdpFluentFileInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>\n >,\n UdpWrapperBaseProps {\n /** Called when item list changes - compatible with form libraries (event.target.value) */\n onChange?: (event: FormChangeEvent<UdpFileItem[]>) => void;\n /** Called when input loses focus - compatible with form libraries */\n onBlur?: (event: FormFocusEvent) => void;\n /** Called when input gains focus */\n onFocus?: (event: FormFocusEvent) => void;\n /** React children (for slot content) */\n children?: React.ReactNode;\n /**\n * Error state - supports both MUI and Fluent patterns:\n * - string: Fluent style - the error message to display\n * - boolean: MUI style - when true, displays helperText as error\n */\n error?: string | boolean;\n /**\n * MUI compatibility: Helper/error text shown below the input.\n * When error={true}, this is displayed as the error message.\n * When error={false}, this is displayed as hint text.\n */\n helperText?: string;\n}\n\nexport const UdpFileInput: React.FC<UdpFileInputProps> = ({\n onChange,\n onBlur,\n onFocus,\n name,\n value,\n error,\n helperText,\n hint,\n ...props\n}) => {\n const handleValueChanged = (e: CustomEvent<UdpFileItem[]>) => {\n onChange?.(createChangeEvent(e.detail, name, 'file-input'));\n };\n\n const handleBlur = () => {\n onBlur?.(createFocusEvent('blur', name));\n };\n\n const handleFocus = () => {\n onFocus?.(createFocusEvent('focus', name));\n };\n\n // Normalize error/hint props to support both MUI and Fluent patterns\n const hintStr = typeof hint === 'string' ? hint : undefined;\n\n let normalizedError: string | undefined;\n let normalizedHint: string | undefined;\n\n if (typeof error === 'string') {\n normalizedError = error;\n normalizedHint = hintStr;\n } else if (typeof error === 'boolean') {\n normalizedError = error ? (helperText || '') : undefined;\n normalizedHint = !error ? (helperText || hintStr) : hintStr;\n } else {\n normalizedHint = hintStr ?? helperText;\n }\n\n return (\n <UdpFluentFileInputWebComponent\n {...props}\n name={name}\n value={value}\n error={normalizedError}\n hint={normalizedHint}\n onValueChanged={handleValueChanged}\n onInputBlur={handleBlur}\n onInputFocus={handleFocus}\n />\n );\n};\n"],"mappings":";;;;;AAiDA,MAAaqB,gBAA4CE,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAN;CAAA,IAAAC;CAAA,IAAAM;CAAA,IAAAC;CAAA,IAAAZ;CAAA,IAAAF;CAAA,IAAAG;CAAA,IAAAY;CAAA,IAAAC;AAAA,KAAAL,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAV,UAAAE,QAAAC,SAAAW,MAAAE,OAAAV,OAAAC,YAAAM,SAAAE,SAAAL;AAUzDC,IAAA,KAAAD;AAAAC,IAAA,KAAAL;AAAAK,IAAA,KAAAJ;AAAAI,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,KAAAT;AAAAS,IAAA,KAAAX;AAAAW,IAAA,KAAAR;AAAAQ,IAAA,KAAAI;AAAAJ,IAAA,KAAAK;QAAA;AAAAV,UAAAK,EAAA;AAAAJ,eAAAI,EAAA;AAAAE,SAAAF,EAAA;AAAAG,SAAAH,EAAA;AAAAT,WAAAS,EAAA;AAAAX,aAAAW,EAAA;AAAAR,YAAAQ,EAAA;AAAAI,UAAAJ,EAAA;AAAAK,UAAAL,EAAA;;CAAA,IAAAM;AAAA,KAAAN,EAAA,QAAAG,QAAAH,EAAA,QAAAX,UAAA;AAC4BiB,QAAAC,MAAA;AACzBlB,cAAWR,kBAAkB0B,EAACC,QAASL,MAAM,aAAa,CAAC;;AAC5DH,IAAA,MAAAG;AAAAH,IAAA,MAAAX;AAAAW,IAAA,MAAAM;OAAAA,MAAAN,EAAA;CAFD,MAAAS,qBAA2BH;CAEzB,IAAAI;AAAA,KAAAV,EAAA,QAAAG,QAAAH,EA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IAAA,MAAAkB;OAAAA,MAAAlB,EAAA;AAAA,QATFkB"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
- interface UdpFlexboxProps extends Partial<JSX.UdpFlexbox> {
3
+ import type { UdpWrapperBaseProps } from './types';
4
+ interface UdpFlexboxProps extends Partial<JSX.UdpFlexbox>, UdpWrapperBaseProps {
4
5
  children?: React.ReactNode;
5
6
  }
6
7
  export declare const UdpFlexbox: React.FC<UdpFlexboxProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"UdpFlexbox.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFlexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AAEzE,UAAU,eAAgB,SAAQ,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAEhD,CAAC"}
1
+ {"version":3,"file":"UdpFlexbox.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFlexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,UAAU,eAAgB,SAAQ,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,mBAAmB;IAC5E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAEhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpFlexbox.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFlexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAO3G,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC9D,OAAO,oBAAC,4BAA4B,oBAAK,KAAK,EAAI,CAAC;AAAA,CACpD,CAAC"}
1
+ {"version":3,"file":"UdpFlexbox.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFlexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAQ3G,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC9D,OAAO,oBAAC,4BAA4B,oBAAK,KAAK,EAAI,CAAC;AAAA,CACpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UdpFlexbox.mjs","names":["React","UdpFlexbox","UdpFluentFlexboxWebComponent","JSX","UdpFlexboxProps","Partial","children","ReactNode","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpFlexbox.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFlexbox as UdpFluentFlexboxWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\n\ninterface UdpFlexboxProps extends Partial<JSX.UdpFlexbox> {\n children?: React.ReactNode;\n}\n\nexport const UdpFlexbox: React.FC<UdpFlexboxProps> = (props) => {\n return <UdpFluentFlexboxWebComponent {...props} />;\n};\n"],"mappings":";;;;AAQA,MAAaC,gBAAwCQ,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAC5CG,OAAA,sBAAA,cAAC,YAAiCH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAA3CE"}
1
+ {"version":3,"file":"UdpFlexbox.mjs","names":["React","UdpFlexbox","UdpFluentFlexboxWebComponent","JSX","UdpWrapperBaseProps","UdpFlexboxProps","Partial","children","ReactNode","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpFlexbox.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFlexbox as UdpFluentFlexboxWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport { type JSX } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\ninterface UdpFlexboxProps extends Partial<JSX.UdpFlexbox>, UdpWrapperBaseProps {\n children?: React.ReactNode;\n}\n\nexport const UdpFlexbox: React.FC<UdpFlexboxProps> = (props) => {\n return <UdpFluentFlexboxWebComponent {...props} />;\n};\n"],"mappings":";;;;AASA,MAAaC,gBAAwCS,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAC5CG,OAAA,sBAAA,cAAC,YAAiCH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAA3CE"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type JSX } from 'udp-react-stencil-component-library';
3
- interface UdpIconProps extends Partial<JSX.UdpFluentIcon> {
3
+ import type { UdpWrapperBaseProps } from './types';
4
+ interface UdpIconProps extends Partial<JSX.UdpFluentIcon>, UdpWrapperBaseProps {
4
5
  children?: React.ReactNode;
5
6
  }
6
7
  export declare const UdpIcon: React.FC<UdpIconProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"UdpIcon.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AAEzE,UAAU,YAAa,SAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAE1C,CAAC"}
1
+ {"version":3,"file":"UdpIcon.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,UAAU,YAAa,SAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,mBAAmB;IAC5E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAE1C,CAAC"}