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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/UI/fluent-web-components/UdpAccordion.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpAccordion.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpAccordion.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpAccordion.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpAutocomplete.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpAutocomplete.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpAutocomplete.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpAutocomplete.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpAvatar.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpAvatar.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpAvatar.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpAvatar.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpBadge.d.ts +4 -1
- package/dist/UI/fluent-web-components/UdpBadge.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpBadge.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpBadge.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpButton.d.ts +4 -1
- package/dist/UI/fluent-web-components/UdpButton.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpButton.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpButton.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpCard.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpCard.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpCard.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpCard.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpCheckbox.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpCheckbox.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpCheckbox.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpCheckbox.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpChip.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpChip.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpChip.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpChip.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpCompoundButton.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpCompoundButton.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpCompoundButton.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpCompoundButton.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQuery.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpContainerQuery.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQuery.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQuery.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQueryGrid.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpContainerQueryGrid.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQueryGrid.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQueryGrid.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpCounterBadge.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpCounterBadge.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpCounterBadge.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpCounterBadge.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDateInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDateInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDateInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDateInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDatePicker.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDatePicker.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDatePicker.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDatePicker.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDateTimeInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDateTimeInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDateTimeInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDateTimeInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDialog.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDialog.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDialog.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDialog.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDivider.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDivider.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDivider.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDivider.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDrawer.d.ts +9 -1
- package/dist/UI/fluent-web-components/UdpDrawer.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDrawer.js +14 -2
- package/dist/UI/fluent-web-components/UdpDrawer.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDrawer.mjs +33 -22
- package/dist/UI/fluent-web-components/UdpDrawer.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDropdown.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDropdown.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDropdown.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDropdown.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpDurationInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpDurationInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpDurationInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpDurationInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpEmptyState.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpEmptyState.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpEmptyState.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpEmptyState.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpFileInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpFileInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpFileInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpFileInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpFlexbox.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpFlexbox.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpFlexbox.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpFlexbox.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpIcon.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpIcon.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpIcon.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpIcon.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconButton.d.ts +4 -1
- package/dist/UI/fluent-web-components/UdpIconButton.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconButton.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconButton.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconGrid.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpIconGrid.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconGrid.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconGrid.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpImage.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpImage.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpImage.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpImage.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpInlineEdit.d.ts +17 -0
- package/dist/UI/fluent-web-components/UdpInlineEdit.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpInlineEdit.js +17 -0
- package/dist/UI/fluent-web-components/UdpInlineEdit.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpInlineEdit.mjs +30 -0
- package/dist/UI/fluent-web-components/UdpInlineEdit.mjs.map +1 -0
- package/dist/UI/fluent-web-components/UdpLink.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpLink.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpList.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpList.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpList.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpList.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpListItem.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpListItem.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpListItem.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpListItem.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpLocationInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpLocationInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpLocationInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpLocationInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpMenu.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpMenu.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpMenu.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpMenu.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpMessageBar.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpMessageBar.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpMessageBar.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpMessageBar.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpNumberInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpNumberInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpNumberInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpNumberInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpPopover.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpPopover.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpPopover.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpPopover.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpProgressBar.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpProgressBar.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpProgressBar.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpProgressBar.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpRadioGroup.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpRadioGroup.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpRadioGroup.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpRadioGroup.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpSearchInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpSearchInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpSearchInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpSearchInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpSidebarLayout.d.ts +9 -0
- package/dist/UI/fluent-web-components/UdpSidebarLayout.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/UdpSidebarLayout.js +6 -0
- package/dist/UI/fluent-web-components/UdpSidebarLayout.js.map +1 -0
- package/dist/UI/fluent-web-components/UdpSidebarLayout.mjs +18 -0
- package/dist/UI/fluent-web-components/UdpSidebarLayout.mjs.map +1 -0
- package/dist/UI/fluent-web-components/UdpSignatureInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpSignatureInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpSignatureInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpSignatureInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpSkeletonLoading.d.ts +8 -0
- package/dist/UI/fluent-web-components/UdpSkeletonLoading.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/UdpSkeletonLoading.js +6 -0
- package/dist/UI/fluent-web-components/UdpSkeletonLoading.js.map +1 -0
- package/dist/UI/fluent-web-components/UdpSkeletonLoading.mjs +18 -0
- package/dist/UI/fluent-web-components/UdpSkeletonLoading.mjs.map +1 -0
- package/dist/UI/fluent-web-components/UdpSlider.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpSlider.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpSlider.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpSlider.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpSpinner.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpSpinner.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpSpinner.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpSpinner.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpSwatchPicker.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpSwatchPicker.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpSwatchPicker.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpSwatchPicker.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpSwitch.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpSwitch.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpSwitch.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpSwitch.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpTablist.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpTablist.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpTablist.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpTablist.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpText.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpText.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpText.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpText.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpTextInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpTextInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpTextInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpTextInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpTextarea.d.ts +4 -1
- package/dist/UI/fluent-web-components/UdpTextarea.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpTextarea.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpTextarea.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpTimeInput.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpTimeInput.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpTimeInput.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpTimeInput.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpToggleButton.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpToggleButton.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpToggleButton.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpToggleButton.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpTooltip.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpTooltip.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpTooltip.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpTooltip.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpVerticalSpacer.d.ts +2 -1
- package/dist/UI/fluent-web-components/UdpVerticalSpacer.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpVerticalSpacer.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpVerticalSpacer.mjs.map +1 -1
- package/dist/UI/fluent-web-components/index.d.ts +4 -0
- package/dist/UI/fluent-web-components/index.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/index.js +4 -0
- package/dist/UI/fluent-web-components/index.js.map +1 -1
- package/dist/UI/fluent-web-components/types.d.ts +26 -0
- package/dist/UI/fluent-web-components/types.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/types.js +2 -0
- package/dist/UI/fluent-web-components/types.js.map +1 -0
- package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts +8 -0
- package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts.map +1 -1
- package/dist/UI/utilityDisplay/utilities/aggregateUtils.js +22 -0
- package/dist/UI/utilityDisplay/utilities/aggregateUtils.js.map +1 -1
- package/dist/UI/utilityDisplay/utilities/aggregateUtils.mjs.map +1 -1
- package/dist/actions/ActionSplitScreen.d.ts.map +1 -1
- package/dist/actions/ActionSplitScreen.js +2 -2
- package/dist/actions/ActionSplitScreen.js.map +1 -1
- package/dist/actions/ActionSplitScreen.mjs +155 -149
- package/dist/actions/ActionSplitScreen.mjs.map +1 -1
- package/dist/aiAssistant/AiMessageText.d.ts +5 -0
- package/dist/aiAssistant/AiMessageText.d.ts.map +1 -0
- package/dist/aiAssistant/AiMessageText.js +33 -0
- package/dist/aiAssistant/AiMessageText.js.map +1 -0
- package/dist/aiAssistant/AiMessageText.mjs +59 -0
- package/dist/aiAssistant/AiMessageText.mjs.map +1 -0
- package/dist/aiAssistant/AiMessageText.module.css +35 -0
- package/dist/aiAssistant/AiProposalCard.d.ts +18 -0
- package/dist/aiAssistant/AiProposalCard.d.ts.map +1 -0
- package/dist/aiAssistant/AiProposalCard.js +14 -0
- package/dist/aiAssistant/AiProposalCard.js.map +1 -0
- package/dist/aiAssistant/AiProposalCard.mjs +116 -0
- package/dist/aiAssistant/AiProposalCard.mjs.map +1 -0
- package/dist/aiAssistant/AiProposalCard.module.css +49 -0
- package/dist/aiAssistant/AssistantChat.d.ts +72 -0
- package/dist/aiAssistant/AssistantChat.d.ts.map +1 -0
- package/dist/aiAssistant/AssistantChat.js +195 -0
- package/dist/aiAssistant/AssistantChat.js.map +1 -0
- package/dist/aiAssistant/AssistantChat.mjs +514 -0
- package/dist/aiAssistant/AssistantChat.mjs.map +1 -0
- package/dist/aiAssistant/AssistantChat.module.css +120 -0
- package/dist/aiAssistant/UdpAiAssistant.d.ts +21 -0
- package/dist/aiAssistant/UdpAiAssistant.d.ts.map +1 -0
- package/dist/aiAssistant/UdpAiAssistant.js +49 -0
- package/dist/aiAssistant/UdpAiAssistant.js.map +1 -0
- package/dist/aiAssistant/UdpAiAssistant.mjs +108 -0
- package/dist/aiAssistant/UdpAiAssistant.mjs.map +1 -0
- package/dist/aiAssistant/UdpAiAssistant.module.css +8 -0
- package/dist/aiAssistant/askClarification.d.ts +5 -0
- package/dist/aiAssistant/askClarification.d.ts.map +1 -0
- package/dist/aiAssistant/askClarification.js +21 -0
- package/dist/aiAssistant/askClarification.js.map +1 -0
- package/dist/aiAssistant/askClarification.mjs +23 -0
- package/dist/aiAssistant/askClarification.mjs.map +1 -0
- package/dist/aiAssistant/conversation.d.ts +74 -0
- package/dist/aiAssistant/conversation.d.ts.map +1 -0
- package/dist/aiAssistant/conversation.js +75 -0
- package/dist/aiAssistant/conversation.js.map +1 -0
- package/dist/aiAssistant/conversation.mjs +72 -0
- package/dist/aiAssistant/conversation.mjs.map +1 -0
- package/dist/aiAssistant/conversationState.d.ts +74 -0
- package/dist/aiAssistant/conversationState.d.ts.map +1 -0
- package/dist/aiAssistant/conversationState.js +136 -0
- package/dist/aiAssistant/conversationState.js.map +1 -0
- package/dist/aiAssistant/conversationState.mjs +147 -0
- package/dist/aiAssistant/conversationState.mjs.map +1 -0
- package/dist/aiAssistant/engine.d.ts +62 -0
- package/dist/aiAssistant/engine.d.ts.map +1 -0
- package/dist/aiAssistant/engine.js +269 -0
- package/dist/aiAssistant/engine.js.map +1 -0
- package/dist/aiAssistant/engine.mjs +290 -0
- package/dist/aiAssistant/engine.mjs.map +1 -0
- package/dist/aiAssistant/index.d.ts +13 -0
- package/dist/aiAssistant/index.d.ts.map +1 -0
- package/dist/aiAssistant/index.js +13 -0
- package/dist/aiAssistant/index.js.map +1 -0
- package/dist/aiAssistant/openai.d.ts +90 -0
- package/dist/aiAssistant/openai.d.ts.map +1 -0
- package/dist/aiAssistant/openai.js +181 -0
- package/dist/aiAssistant/openai.js.map +1 -0
- package/dist/aiAssistant/openai.mjs +167 -0
- package/dist/aiAssistant/openai.mjs.map +1 -0
- package/dist/aiAssistant/provider/UdpAiProvider.d.ts +43 -0
- package/dist/aiAssistant/provider/UdpAiProvider.d.ts.map +1 -0
- package/dist/aiAssistant/provider/UdpAiProvider.js +65 -0
- package/dist/aiAssistant/provider/UdpAiProvider.js.map +1 -0
- package/dist/aiAssistant/provider/UdpAiProvider.mjs +66 -0
- package/dist/aiAssistant/provider/UdpAiProvider.mjs.map +1 -0
- package/dist/aiAssistant/provider/index.d.ts +3 -0
- package/dist/aiAssistant/provider/index.d.ts.map +1 -0
- package/dist/aiAssistant/provider/index.js +3 -0
- package/dist/aiAssistant/provider/index.js.map +1 -0
- package/dist/aiAssistant/types.d.ts +157 -0
- package/dist/aiAssistant/types.d.ts.map +1 -0
- package/dist/aiAssistant/types.js +2 -0
- package/dist/aiAssistant/types.js.map +1 -0
- package/dist/aiAssistant/useAiAssistant.d.ts +20 -0
- package/dist/aiAssistant/useAiAssistant.d.ts.map +1 -0
- package/dist/aiAssistant/useAiAssistant.js +26 -0
- package/dist/aiAssistant/useAiAssistant.js.map +1 -0
- package/dist/aiAssistant/useAiAssistant.mjs +98 -0
- package/dist/aiAssistant/useAiAssistant.mjs.map +1 -0
- package/dist/aiAssistant/useConversation.d.ts +17 -0
- package/dist/aiAssistant/useConversation.d.ts.map +1 -0
- package/dist/aiAssistant/useConversation.js +29 -0
- package/dist/aiAssistant/useConversation.js.map +1 -0
- package/dist/aiAssistant/useConversation.mjs +52 -0
- package/dist/aiAssistant/useConversation.mjs.map +1 -0
- package/dist/chatBot/ChatContainer.d.ts +4 -0
- package/dist/chatBot/ChatContainer.d.ts.map +1 -1
- package/dist/chatBot/ChatContainer.js +8 -0
- package/dist/chatBot/ChatContainer.js.map +1 -1
- package/dist/chatBot/ChatContainer.mjs +7 -0
- package/dist/chatBot/ChatContainer.mjs.map +1 -1
- package/dist/chatBot/ChatMessage.d.ts +4 -0
- package/dist/chatBot/ChatMessage.d.ts.map +1 -1
- package/dist/chatBot/ChatMessage.js +8 -0
- package/dist/chatBot/ChatMessage.js.map +1 -1
- package/dist/chatBot/ChatMessage.mjs +60 -47
- package/dist/chatBot/ChatMessage.mjs.map +1 -1
- package/dist/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +1 -1
- package/dist/domain/entityForm/entityFormModel.d.ts +41 -0
- package/dist/domain/entityForm/entityFormModel.d.ts.map +1 -0
- package/dist/domain/entityForm/entityFormModel.js +31 -0
- package/dist/domain/entityForm/entityFormModel.js.map +1 -0
- package/dist/domain/entityForm/entityFormModel.mjs +34 -0
- package/dist/domain/entityForm/entityFormModel.mjs.map +1 -0
- package/dist/hooks/crudActions.d.ts.map +1 -1
- package/dist/hooks/crudActions.js +2 -6
- package/dist/hooks/crudActions.js.map +1 -1
- package/dist/hooks/crudActions.mjs +2 -8
- package/dist/hooks/crudActions.mjs.map +1 -1
- package/dist/hooks/crudForeignKeyData.d.ts.map +1 -1
- package/dist/hooks/crudForeignKeyData.js +2 -7
- package/dist/hooks/crudForeignKeyData.js.map +1 -1
- package/dist/hooks/crudForeignKeyData.mjs +4 -9
- package/dist/hooks/crudForeignKeyData.mjs.map +1 -1
- package/dist/hooks/usePromotedLookupMethods.d.ts.map +1 -1
- package/dist/hooks/usePromotedLookupMethods.js +4 -1
- package/dist/hooks/usePromotedLookupMethods.js.map +1 -1
- package/dist/hooks/usePromotedLookupMethods.mjs +3 -1
- package/dist/hooks/usePromotedLookupMethods.mjs.map +1 -1
- package/dist/hooks/usePromotedMethodEntities.d.ts.map +1 -1
- package/dist/hooks/usePromotedMethodEntities.js +5 -1
- package/dist/hooks/usePromotedMethodEntities.js.map +1 -1
- package/dist/hooks/usePromotedMethodEntities.mjs +3 -1
- package/dist/hooks/usePromotedMethodEntities.mjs.map +1 -1
- package/dist/hooks/usePromotedMethodEntity.js +1 -1
- package/dist/hooks/usePromotedMethodEntity.js.map +1 -1
- package/dist/hooks/usePromotedMethodEntity.mjs +1 -1
- package/dist/hooks/usePromotedMethodEntity.mjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -3
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.js +2 -9
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.js.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs +69 -90
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs.map +1 -1
- package/dist/maintenanceEngine/entityFormInputs.d.ts +39 -0
- package/dist/maintenanceEngine/entityFormInputs.d.ts.map +1 -0
- package/dist/maintenanceEngine/entityFormInputs.js +174 -0
- package/dist/maintenanceEngine/entityFormInputs.js.map +1 -0
- package/dist/maintenanceEngine/entityFormInputs.mjs +133 -0
- package/dist/maintenanceEngine/entityFormInputs.mjs.map +1 -0
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +1 -1
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
- package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.js +2 -2
- package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.js.map +1 -1
- package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.mjs +2 -2
- package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.mjs.map +1 -1
- package/dist/notes/NotesScreen.d.ts.map +1 -1
- package/dist/notes/NotesScreen.js +8 -2
- package/dist/notes/NotesScreen.js.map +1 -1
- package/dist/notes/NotesScreen.mjs +5 -1
- package/dist/notes/NotesScreen.mjs.map +1 -1
- package/dist/providers/UdpAiAppSurface.d.ts +19 -0
- package/dist/providers/UdpAiAppSurface.d.ts.map +1 -0
- package/dist/providers/UdpAiAppSurface.js +39 -0
- package/dist/providers/UdpAiAppSurface.js.map +1 -0
- package/dist/providers/UdpAiAppSurface.mjs +56 -0
- package/dist/providers/UdpAiAppSurface.mjs.map +1 -0
- package/dist/providers/UdpAppProvider.d.ts +20 -0
- package/dist/providers/UdpAppProvider.d.ts.map +1 -1
- package/dist/providers/UdpAppProvider.js +6 -2
- package/dist/providers/UdpAppProvider.js.map +1 -1
- package/dist/providers/UdpAppProvider.mjs +30 -21
- package/dist/providers/UdpAppProvider.mjs.map +1 -1
- package/dist/reminders/RemindersScreen.d.ts.map +1 -1
- package/dist/reminders/RemindersScreen.js +8 -2
- package/dist/reminders/RemindersScreen.js.map +1 -1
- package/dist/reminders/RemindersScreen.mjs +5 -1
- package/dist/reminders/RemindersScreen.mjs.map +1 -1
- package/dist/routes/UdpRoutes.d.ts.map +1 -1
- package/dist/routes/UdpRoutes.js.map +1 -1
- package/dist/routes/UdpRoutes.mjs.map +1 -1
- package/dist/searchIntent/compile.d.ts +9 -0
- package/dist/searchIntent/compile.d.ts.map +1 -0
- package/dist/searchIntent/compile.js +127 -0
- package/dist/searchIntent/compile.js.map +1 -0
- package/dist/searchIntent/compile.mjs +120 -0
- package/dist/searchIntent/compile.mjs.map +1 -0
- package/dist/searchIntent/diff.d.ts +10 -0
- package/dist/searchIntent/diff.d.ts.map +1 -0
- package/dist/searchIntent/diff.js +90 -0
- package/dist/searchIntent/diff.js.map +1 -0
- package/dist/searchIntent/diff.mjs +88 -0
- package/dist/searchIntent/diff.mjs.map +1 -0
- package/dist/searchIntent/index.d.ts +13 -0
- package/dist/searchIntent/index.d.ts.map +1 -0
- package/dist/searchIntent/index.js +13 -0
- package/dist/searchIntent/index.js.map +1 -0
- package/dist/searchIntent/operators.d.ts +28 -0
- package/dist/searchIntent/operators.d.ts.map +1 -0
- package/dist/searchIntent/operators.js +184 -0
- package/dist/searchIntent/operators.js.map +1 -0
- package/dist/searchIntent/operators.mjs +164 -0
- package/dist/searchIntent/operators.mjs.map +1 -0
- package/dist/searchIntent/prompt.d.ts +36 -0
- package/dist/searchIntent/prompt.d.ts.map +1 -0
- package/dist/searchIntent/prompt.js +152 -0
- package/dist/searchIntent/prompt.js.map +1 -0
- package/dist/searchIntent/prompt.mjs +116 -0
- package/dist/searchIntent/prompt.mjs.map +1 -0
- package/dist/searchIntent/tools.d.ts +19 -0
- package/dist/searchIntent/tools.d.ts.map +1 -0
- package/dist/searchIntent/tools.js +189 -0
- package/dist/searchIntent/tools.js.map +1 -0
- package/dist/searchIntent/tools.mjs +209 -0
- package/dist/searchIntent/tools.mjs.map +1 -0
- package/dist/searchIntent/types.d.ts +95 -0
- package/dist/searchIntent/types.d.ts.map +1 -0
- package/dist/searchIntent/types.js +2 -0
- package/dist/searchIntent/types.js.map +1 -0
- package/dist/searchIntent/validate.d.ts +19 -0
- package/dist/searchIntent/validate.d.ts.map +1 -0
- package/dist/searchIntent/validate.js +136 -0
- package/dist/searchIntent/validate.js.map +1 -0
- package/dist/searchIntent/validate.mjs +103 -0
- package/dist/searchIntent/validate.mjs.map +1 -0
- package/dist/stores/inquiryStore.d.ts +2 -2
- package/dist/stores/inquiryStore.d.ts.map +1 -1
- package/dist/stores/inquiryStore.mjs.map +1 -1
- package/dist/udp/export/MyExportsPage.js +1 -1
- package/dist/udp/export/MyExportsPage.js.map +1 -1
- package/dist/udp/export/MyExportsPage.mjs +1 -1
- package/dist/udp/export/MyExportsPage.mjs.map +1 -1
- package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.js +4 -4
- package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.js.map +1 -1
- package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.mjs +4 -4
- package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.mjs.map +1 -1
- package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.js +1 -1
- package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.js.map +1 -1
- package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.mjs +1 -1
- package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.mjs.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.d.ts.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js +38 -206
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +63 -172
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs.map +1 -1
- package/dist/udp/tags/useTags.d.ts +13 -1
- package/dist/udp/tags/useTags.d.ts.map +1 -1
- package/dist/udp/tags/useTags.js +16 -6
- package/dist/udp/tags/useTags.js.map +1 -1
- package/dist/udp/tags/useTags.mjs +41 -35
- package/dist/udp/tags/useTags.mjs.map +1 -1
- package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
- package/dist/utilities/configRequestDedupe.d.ts +31 -0
- package/dist/utilities/configRequestDedupe.d.ts.map +1 -0
- package/dist/utilities/configRequestDedupe.js +106 -0
- package/dist/utilities/configRequestDedupe.js.map +1 -0
- package/dist/utilities/configRequestDedupe.mjs +90 -0
- package/dist/utilities/configRequestDedupe.mjs.map +1 -0
- package/dist/utilities/crud/useDefaultFormValues.d.ts.map +1 -1
- package/dist/utilities/crud/useDefaultFormValues.js +14 -9
- package/dist/utilities/crud/useDefaultFormValues.js.map +1 -1
- package/dist/utilities/crud/useDefaultFormValues.mjs +23 -5
- package/dist/utilities/crud/useDefaultFormValues.mjs.map +1 -1
- package/dist/utilities/entities/entityUtilities.d.ts +9 -0
- package/dist/utilities/entities/entityUtilities.d.ts.map +1 -1
- package/dist/utilities/entities/entityUtilities.js +12 -1
- package/dist/utilities/entities/entityUtilities.js.map +1 -1
- package/dist/utilities/entities/entityUtilities.mjs +15 -2
- package/dist/utilities/entities/entityUtilities.mjs.map +1 -1
- package/dist/utilities/i18n/locales/es-US.json +104 -1
- package/dist/utilities/i18n/locales/es-US.mjs +98 -1
- package/dist/utilities/i18n/locales/fr-CA.json +104 -1
- package/dist/utilities/i18n/locales/fr-CA.mjs +98 -1
- package/dist/utilities/iconLibrary/SelectedLibraryItem.d.ts.map +1 -1
- package/dist/utilities/iconLibrary/SelectedLibraryItem.js +0 -1
- package/dist/utilities/iconLibrary/SelectedLibraryItem.js.map +1 -1
- package/dist/utilities/iconLibrary/SelectedLibraryItem.mjs.map +1 -1
- package/dist/utilities/provider/ActionProvider.d.ts.map +1 -1
- package/dist/utilities/provider/ActionProvider.js +23 -9
- package/dist/utilities/provider/ActionProvider.js.map +1 -1
- package/dist/utilities/provider/ActionProvider.mjs +382 -201
- package/dist/utilities/provider/ActionProvider.mjs.map +1 -1
- package/dist/utilities/useAxiosGet.d.ts.map +1 -1
- package/dist/utilities/useAxiosGet.js +3 -1
- package/dist/utilities/useAxiosGet.js.map +1 -1
- package/dist/utilities/useAxiosGet.mjs +4 -1
- package/dist/utilities/useAxiosGet.mjs.map +1 -1
- 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;
|
|
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;
|
|
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;AA+BxE,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAQjE,EAAE,EAAE,CAAC;QAR4D,EAChE,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,KAAK,EACL,UAAU,EACV,IAAI,OAEL,EADI,KAAK,cAPwD,4DAQjE,CADS;IAER,MAAM,kBAAkB,GAAG,CAAC,CAAsB,EAAE,EAAE,CAAC;QACrD,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,iBAAiB,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAAA,CACjE,CAAC;IAEF,MAAM,OAAO,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAE5D,IAAI,eAAmC,CAAC;IACxC,IAAI,cAAkC,CAAC;IAEvC,IAAI,OAAO,KAAK,KAAK,QAAQ,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,4BAA4B,oBACvB,KAAK,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'
|
|
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,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,cAAWN,kBAAkBqB,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,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type JSX } from 'udp-react-stencil-component-library';
|
|
3
|
-
|
|
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;
|
|
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;
|
|
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
|
|
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
|
-
|
|
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;
|
|
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;
|
|
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
|
|
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
|
-
|
|
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;
|
|
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 = (
|
|
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,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"UdpDrawer.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDrawer.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;AAiB/G,MAAM,CAAC,MAAM,SAAS,GAA6B,CAAC,EAAyB,EAAE,EAAE,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 = (
|
|
6
|
-
const $ = c(
|
|
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
|
-
|
|
12
|
-
|
|
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
|
-
|
|
21
|
-
$[
|
|
22
|
-
$[
|
|
23
|
-
$[
|
|
24
|
-
$[
|
|
31
|
+
t2 = [props.open, shouldRender];
|
|
32
|
+
$[3] = props.open;
|
|
33
|
+
$[4] = shouldRender;
|
|
34
|
+
$[5] = t1;
|
|
35
|
+
$[6] = t2;
|
|
25
36
|
} else {
|
|
26
|
-
|
|
27
|
-
|
|
37
|
+
t1 = $[5];
|
|
38
|
+
t2 = $[6];
|
|
28
39
|
}
|
|
29
|
-
useEffect(
|
|
30
|
-
const
|
|
31
|
-
let
|
|
32
|
-
if ($[
|
|
33
|
-
|
|
34
|
-
$[
|
|
35
|
-
$[
|
|
36
|
-
$[
|
|
37
|
-
} else
|
|
38
|
-
return
|
|
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","
|
|
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;
|
|
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;AAC5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD;;;;;;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,EACC,mBAAmB;IACrB,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,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzC,uCAAuC;IACvC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,kDAAkD;IAClD,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,WAAW,GAAI,CAAC,oIAmD5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UdpDropdown.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDropdown.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,IAAI,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAEnH,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"UdpDropdown.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDropdown.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,IAAI,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAEnH,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;AA0C5B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C;IAC5D,CAAC;SAAM,CAAC;QACN,cAAc,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,UAAU,CAAC;IACzC,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
|
|
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,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B,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,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;
|
|
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;AAC5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,WAAW,qBACf,SAAQ,OAAO,CACb,IAAI,CACF,GAAG,CAAC,gBAAgB,EACpB,gBAAgB,GAAG,aAAa,GAAG,cAAc,GAAG,OAAO,CAC5D,CACF,EACC,mBAAmB;IACrB,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,oCAAoC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,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,CAqD5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UdpDurationInput.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDurationInput.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"UdpDurationInput.js","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpDurationInput.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAGjB,MAAM,oBAAoB,CAAC;AAwC5B,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAUjE,EAAE,EAAE,CAAC;QAV4D,EAChE,QAAQ,EACR,MAAM,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,EACL,UAAU,EACV,IAAI,OAEL,EADI,KAAK,cATwD,iFAUjE,CADS;IAER,MAAM,kBAAkB,GAAG,CAAC,CAA6B,EAAE,EAAE,CAAC;QAC5D,0DAA0D;QAC1D,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7D,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,iBAAiB,CAAC,WAAW,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IAAA,CAC9D,CAAC;IAEF,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAG,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;IAAA,CAC1C,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC;QACxB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAAA,CAC5C,CAAC;IAEF,qEAAqE;IACrE,MAAM,OAAO,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAE5D,IAAI,eAAmC,CAAC;IACxC,IAAI,cAAkC,CAAC;IAEvC,IAAI,OAAO,KAAK,KAAK,QAAQ,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,UAAU,IAAI,EAAE,CAAC,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
|
|
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={hand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import { type JSX } from 'udp-react-stencil-component-library';
|
|
3
|
-
|
|
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;
|
|
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;
|
|
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
|
|
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;
|
|
1
|
+
{"version":3,"file":"UdpFileInput.d.ts","sourceRoot":"","sources":["../../../src/UI/fluent-web-components/UdpFileInput.tsx"],"names":[],"mappings":"AAAA,O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AAe,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 +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
|
|
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,IA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A,MAAAY;OAAAA,MAAAZ,EAAA;CAFD,MAAAa,cAAoBD;CAKpB,MAAAE,UAAgB,OAAOZ,SAAS,WAAhBA,OAAAa,KAAAA;CAEZC,IAAAA;CACAC,IAAAA;AAEJ,KAAI,OAAOtB,UAAU,UAAQ;AAC3BqB,oBAAkBrB;AAClBsB,mBAAiBH;YACR,OAAOnB,UAAU,WAAS;AACnCqB,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,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type JSX } from 'udp-react-stencil-component-library';
|
|
3
|
-
|
|
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;
|
|
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;
|
|
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
|
|
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
|
-
|
|
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;
|
|
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"}
|