udp-react-enterprise-component-library 26.5.0-beta.2 → 26.5.0-beta.21
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/AlertContainer.mjs +1 -1
- package/dist/UI/Box.mjs +1 -1
- package/dist/UI/Grid.mjs +1 -1
- package/dist/UI/accordion/Accordion.mjs +1 -1
- package/dist/UI/advancedSearchBuilder/UdpAdvancedSearchBuilder.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgAreaChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgBarChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgBubbleChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgComboChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgDonutChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgLineChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgPieChart.mjs +1 -1
- package/dist/UI/charts/ag/UdpAgScatterChart.mjs +1 -1
- package/dist/UI/charts/amcharts/UdpBarChart.mjs +1 -1
- package/dist/UI/charts/amcharts/UdpDistributionChart.mjs +1 -1
- package/dist/UI/charts/amcharts/UdpDonutChart.mjs +1 -1
- package/dist/UI/charts/amcharts/UdpLineChart.mjs +1 -1
- package/dist/UI/charts/amcharts/UdpSankeyChart.mjs +1 -1
- package/dist/UI/charts/amcharts/UdpXYMultiSeriesChart.mjs +1 -1
- package/dist/UI/components/dataDisplay/Ellipse.mjs +1 -1
- package/dist/UI/components/dataDisplay/EmailDisplay.mjs +1 -1
- package/dist/UI/components/dataDisplay/SmsDisplay.mjs +1 -1
- package/dist/UI/components/dataDisplay/Sticky.mjs +1 -1
- package/dist/UI/components/dataDisplay/Token.mjs +1 -1
- package/dist/UI/components/feedback/Adornment.mjs +1 -1
- package/dist/UI/dataDisplay/AmbientList.mjs +1 -1
- package/dist/UI/dataDisplay/AvatarAlphabet.mjs +1 -1
- package/dist/UI/dataDisplay/ChipAlphabet.mjs +1 -1
- package/dist/UI/dataDisplay/CompactDataList.mjs +1 -1
- package/dist/UI/dataDisplay/CompactDataListItem.mjs +1 -1
- package/dist/UI/dataDisplay/EmptyStateDisplay.mjs +1 -1
- package/dist/UI/dataDisplay/FluentActivity/FluentActivity.mjs +1 -1
- package/dist/UI/dataDisplay/FluentActivity/FluentActivityRow.mjs +1 -1
- package/dist/UI/dataDisplay/FluentDataTable/FluentBody/index.mjs +1 -1
- package/dist/UI/dataDisplay/FluentDataTable/FluentCell/index.mjs +1 -1
- package/dist/UI/dataDisplay/FluentDataTable/FluentHead/index.mjs +1 -1
- package/dist/UI/dataDisplay/FluentDataTable/FluentRow/index.mjs +1 -1
- package/dist/UI/dataDisplay/FluentListElement.mjs +1 -1
- package/dist/UI/dataDisplay/FluentListItem.mjs +1 -1
- package/dist/UI/dataDisplay/GraphCard/GraphCard.mjs +1 -1
- package/dist/UI/dataDisplay/HeaderExpander.mjs +1 -1
- package/dist/UI/dataDisplay/SummaryBlock.mjs +1 -1
- package/dist/UI/dataDisplay/UdpDetailList.mjs +1 -1
- package/dist/UI/dataDisplay/UdpDetailListItem.mjs +1 -1
- package/dist/UI/dataDisplay/address/AddressListItem.mjs +1 -1
- package/dist/UI/dataDisplay/calendar/TimelineCalendar.mjs +1 -1
- package/dist/UI/dataDisplay/cardList/CardList.mjs +1 -1
- package/dist/UI/dataDisplay/directory/Directory.mjs +1 -1
- package/dist/UI/dataDisplay/directory/DirectoryListItem.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/EntityHeader.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/functions/useElementWidth.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/AlertPill.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderList.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.mjs +1 -1
- package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.mjs +1 -1
- package/dist/UI/dataDisplay/map/ColorKey.mjs +1 -1
- package/dist/UI/dataDisplay/map/FluentIconKey.mjs +1 -1
- package/dist/UI/dataDisplay/map/IconKey.mjs +1 -1
- package/dist/UI/dataDisplay/notes/Note.mjs +1 -1
- package/dist/UI/dataDisplay/notes/Notes.mjs +1 -1
- package/dist/UI/dataDisplay/status/StatusChip.mjs +1 -1
- package/dist/UI/dataDisplay/status/StatusFlags.mjs +1 -1
- package/dist/UI/dataDisplay/ticketCard/NotificationElement.mjs +1 -1
- package/dist/UI/dataDisplay/ticketCard/StatusLineItem.mjs +1 -1
- package/dist/UI/dataDisplay/ticketCard/TicketCard.mjs +1 -1
- package/dist/UI/dataDisplay/typography/FormHeaders.mjs +1 -1
- package/dist/UI/dataDisplay/typography/SideSheetHeader.mjs +1 -1
- package/dist/UI/dataDisplay/typography/SidebarHeader.mjs +1 -1
- package/dist/UI/dataDisplay/typography/StandardTitle.mjs +1 -1
- package/dist/UI/dataDisplay/typography/StylizedTitle.mjs +1 -1
- package/dist/UI/dataDisplay/typography/Typography.mjs +1 -1
- package/dist/UI/dataDisplay/visualization/AmbientVisualizer.mjs +1 -1
- package/dist/UI/dataDisplay/visualization/GaugeGraph.mjs +1 -1
- package/dist/UI/dataDisplay/visualization/RatioVisulization.mjs +1 -1
- package/dist/UI/dataDisplay/visualization/amCharts/AmChart.mjs +1 -1
- package/dist/UI/feedback/AmbientAlert.mjs +1 -1
- package/dist/UI/feedback/AmbientToast.mjs +1 -1
- package/dist/UI/feedback/FluentDialog.mjs +1 -1
- package/dist/UI/feedback/MenuLoader.mjs +1 -1
- package/dist/UI/feedback/NodeLoader.mjs +1 -1
- package/dist/UI/feedback/PageLoading.mjs +1 -1
- package/dist/UI/fileViewer/imageSlider/Image.mjs +1 -1
- package/dist/UI/fileViewer/imageSlider/ImageFooter.mjs +1 -1
- package/dist/UI/fileViewer/imageSlider/ImageSlider.mjs +1 -1
- package/dist/UI/fileViewer/imageSlider/ImageViewerSideSheet.mjs +1 -1
- package/dist/UI/fileViewer/pdfViewer/ControlPanel.mjs +1 -1
- package/dist/UI/fileViewer/pdfViewer/PDFViewer.d.ts +2 -0
- package/dist/UI/fileViewer/pdfViewer/PDFViewer.d.ts.map +1 -1
- package/dist/UI/fileViewer/pdfViewer/PDFViewer.js +2 -0
- package/dist/UI/fileViewer/pdfViewer/PDFViewer.js.map +1 -1
- package/dist/UI/fileViewer/pdfViewer/PDFViewer.mjs +3 -1
- package/dist/UI/fileViewer/pdfViewer/PDFViewer.mjs.map +1 -1
- package/dist/UI/floorplans/CoreLayoutFloorplan.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpAccordion.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpAutocomplete.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpAvatar.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpBadge.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpButton.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpCard.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpCheckbox.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpChip.d.ts +4 -0
- package/dist/UI/fluent-web-components/UdpChip.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpChip.js +4 -0
- package/dist/UI/fluent-web-components/UdpChip.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpChip.mjs +5 -1
- package/dist/UI/fluent-web-components/UdpChip.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpCompoundButton.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQuery.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpContainerQueryGrid.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpCounterBadge.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDateInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDatePicker.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDateTimeInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDialog.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDivider.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDrawer.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDropdown.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpDurationInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpEmptyState.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpFileInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpFlexbox.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpIcon.mjs +3 -3
- package/dist/UI/fluent-web-components/UdpIcon.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconButton.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpIconGrid.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpImage.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpLink.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpList.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpListItem.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpLocationInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpMenu.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpMessageBar.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpNumberInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpPopover.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpProgressBar.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpRadioGroup.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpSearchInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpSignatureInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpSlider.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpSpinner.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpSwatchPicker.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpSwitch.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTablist.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpText.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTextInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTextarea.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTimeInput.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpToggleButton.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTooltip.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTree.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpTreeItem.mjs +1 -1
- package/dist/UI/fluent-web-components/UdpVerticalSpacer.mjs +1 -1
- package/dist/UI/forms/LoginForm.mjs +1 -1
- package/dist/UI/forms/UdpTransactionEmailForm.mjs +1 -1
- package/dist/UI/forms/VirtualForm.mjs +1 -1
- package/dist/UI/iframe/Iframe.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientCardButton.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientChipButton.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientPopoverMenuItem.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientToggleButton.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientToggleButtonGroup.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientToggleButtonGroupDefault.mjs +1 -1
- package/dist/UI/inputs/buttons/AmbientTokenButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FUISquareIconButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FluentButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FluentCompoundButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FluentIconButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FluentMenuListButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FluentUploadButton.mjs +1 -1
- package/dist/UI/inputs/buttons/FluentUploadIconButton.mjs +1 -1
- package/dist/UI/inputs/buttons/IconButtonWithToolTip.mjs +1 -1
- package/dist/UI/inputs/buttons/PrimaryActionButton.mjs +1 -1
- package/dist/UI/inputs/buttons/ToolBarButton.mjs +1 -1
- package/dist/UI/inputs/buttons/UdpActionCard/UdpActionCard.mjs +1 -1
- package/dist/UI/inputs/calendar/AmbientDateRangeSelector.mjs +1 -1
- package/dist/UI/inputs/checkbox/FluentCheckbox.mjs +1 -1
- package/dist/UI/inputs/dateRangeSelector/UdpDateRangeSelector.mjs +1 -1
- package/dist/UI/inputs/datetimes/DateField.mjs +1 -1
- package/dist/UI/inputs/datetimes/DateTimeField.mjs +1 -1
- package/dist/UI/inputs/datetimes/TimeField.mjs +1 -1
- package/dist/UI/inputs/fieldArrayCard/AutocompleteFinalField.mjs +1 -1
- package/dist/UI/inputs/fieldArrayCard/DateRangeField.mjs +1 -1
- package/dist/UI/inputs/fieldArrayCard/FieldArrayCard.mjs +1 -1
- package/dist/UI/inputs/fieldArrayCard/SearchSideSheet.mjs +1 -1
- package/dist/UI/inputs/link/BreadCrumbMenu.mjs +1 -1
- package/dist/UI/inputs/link/FluentLink.mjs +1 -1
- package/dist/UI/inputs/menus/AmbientStepper/AmbientStepper.mjs +1 -1
- package/dist/UI/inputs/menus/AmbientStepper/StepLabel.mjs +1 -1
- package/dist/UI/inputs/menus/FluentSelectDirectoryMenu.mjs +1 -1
- package/dist/UI/inputs/menus/FluentSelectGroupMenu.mjs +1 -1
- package/dist/UI/inputs/menus/FluentSelectMenu.mjs +1 -1
- package/dist/UI/inputs/menus/FluentSimpleSelect.mjs +1 -1
- package/dist/UI/inputs/pickers/FluentColorPicker.mjs +1 -1
- package/dist/UI/inputs/pickers/FluentDatePicker.mjs +1 -1
- package/dist/UI/inputs/pickers/FluentDateTimePicker.mjs +1 -1
- package/dist/UI/inputs/pickers/FluentTimePicker.mjs +1 -1
- package/dist/UI/inputs/pickers/UdpDateSelector.mjs +1 -1
- package/dist/UI/inputs/pickers/UdpTimeSelector.mjs +1 -1
- package/dist/UI/inputs/radio/FluentRadio.mjs +1 -1
- package/dist/UI/inputs/radio/FluentRadioGroup.mjs +1 -1
- package/dist/UI/inputs/richEditors/CkRichEditor.mjs +1 -1
- package/dist/UI/inputs/sliders/FluentInputSlider.mjs +1 -1
- package/dist/UI/inputs/textField/AmbientAutoComplete.mjs +1 -1
- package/dist/UI/inputs/textField/AmbientTextField.mjs +1 -1
- package/dist/UI/inputs/textField/FluentSearchField.mjs +1 -1
- package/dist/UI/inputs/textField/FluentTagField.mjs +1 -1
- package/dist/UI/inputs/textField/FluentTextField.mjs +1 -1
- package/dist/UI/inputs/textField/FluentTextFieldAutoComplete.mjs +1 -1
- package/dist/UI/inputs/textField/KeyValueTextField.mjs +1 -1
- package/dist/UI/inputs/toggle/FluentToggle.mjs +1 -1
- package/dist/UI/loading/CircularProgress.mjs +1 -1
- package/dist/UI/loading/LinearProgress.mjs +1 -1
- package/dist/UI/loading/LoadingIndicator/LoadingIndicator.mjs +1 -1
- package/dist/UI/loading/LoadingOverlay.mjs +1 -1
- package/dist/UI/mapLayout/ui/ActionsRenderer.mjs +1 -1
- package/dist/UI/mapLayout/ui/CheckboxList.mjs +1 -1
- package/dist/UI/mapLayout/ui/CompactCard.mjs +1 -1
- package/dist/UI/mapLayout/ui/ListCard.mjs +1 -1
- package/dist/UI/mapLayout/ui/PopoverCard.mjs +1 -1
- package/dist/UI/mapLayout/ui/Statistic.mjs +1 -1
- package/dist/UI/maps/UdpMap.mjs +1 -1
- package/dist/UI/maps/UdpMapComponent.mjs +1 -1
- package/dist/UI/maps/UdpMapToolbar.mjs +1 -1
- package/dist/UI/navigation/FluentSideNav.mjs +1 -1
- package/dist/UI/navigation/menus/AppMenu.mjs +1 -1
- package/dist/UI/navigation/menus/AppMenuItem.mjs +1 -1
- package/dist/UI/navigation/menus/AppMenuItemComponent.mjs +1 -1
- package/dist/UI/navigation/menus/Expander.mjs +1 -1
- package/dist/UI/navigation/menus/ExpanderItem.mjs +1 -1
- package/dist/UI/navigation/menus/FluentMenuListItem.mjs +1 -1
- package/dist/UI/navigation/tabs/UdpTabPanel.mjs +1 -1
- package/dist/UI/navigation/tabs/UdpTabUtility.mjs +1 -1
- package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTab.mjs +1 -1
- package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.mjs +1 -1
- package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanel.mjs +1 -1
- package/dist/UI/property/PropertyFields.mjs +1 -1
- package/dist/UI/property/widgets/AutoCompletePropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/BooleanPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/DatePropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/DateTimePropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/FloatPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/IntegerPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/MultilineTextPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/NumericPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/SelectPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/TextPropertyWidget.mjs +1 -1
- package/dist/UI/property/widgets/TimePropertyWidget.mjs +1 -1
- package/dist/UI/stepper/udp-stepper-actions.mjs +1 -1
- package/dist/UI/stepper/udp-stepper-content.mjs +1 -1
- package/dist/UI/stepper/udp-stepper-nav.mjs +1 -1
- package/dist/UI/stepper/udp-stepper.mjs +1 -1
- package/dist/UI/support/SupportCaseSideSheet.mjs +1 -1
- package/dist/UI/surfaces/NestedGrid/NestedGrid.mjs +1 -1
- package/dist/UI/surfaces/NestedGrid/ui/ExpandRenderer.mjs +1 -1
- package/dist/UI/surfaces/SideSheet.mjs +1 -1
- package/dist/UI/surfaces/cards/AmbientCard/AmbientCard.mjs +1 -1
- package/dist/UI/surfaces/cards/BioCard.mjs +1 -1
- package/dist/UI/surfaces/cards/InfoCard.mjs +1 -1
- package/dist/UI/surfaces/cards/QuickViewCard.mjs +1 -1
- package/dist/UI/surfaces/cards/chartDisplayCards/AmbientSplitStatCard.mjs +1 -1
- package/dist/UI/surfaces/cards/chartDisplayCards/AmbientVisualizationCard.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FUICard.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FUICardHeader.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FluentCard.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FluentCardActions.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FluentCardContent.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FluentCardHeader.mjs +1 -1
- package/dist/UI/surfaces/cards/fluentCards/FluentCardText.mjs +1 -1
- package/dist/UI/surfaces/cards/newsCard/NewsCard.mjs +1 -1
- package/dist/UI/surfaces/cards/workOrderCard/WorkOrderCard.mjs +1 -1
- package/dist/UI/surfaces/cards/workOrderCard/WorkOrderHeader.mjs +1 -1
- package/dist/UI/templates/DraggableSidebarTemplate.mjs +1 -1
- package/dist/UI/templates/OpenPage.mjs +1 -1
- package/dist/UI/templates/ToggleSection.mjs +1 -1
- package/dist/UI/templates/calendar/UdpCalendar.mjs +1 -1
- package/dist/UI/templates/calendar/UdpCalendarDayView.mjs +1 -1
- package/dist/UI/templates/calendar/UdpCalendarMonthView.mjs +1 -1
- package/dist/UI/templates/calendar/UdpCalendarWeekView.mjs +1 -1
- package/dist/UI/templates/calendar/UdpCalendarYearView.mjs +1 -1
- package/dist/UI/templates/deprecated/AmbientGridTemplate/AmbientGridTemplate.mjs +1 -1
- package/dist/UI/templates/deprecated/UdpGridTemplate/UdpGridTemplate.mjs +1 -1
- package/dist/UI/templates/newGrid/ApiMethodInstanceUdpGrid.mjs +1 -1
- package/dist/UI/templates/newGrid/BackwardsCompatibleGrid.mjs +1 -1
- package/dist/UI/templates/newGrid/ClientSideUdpGrid.mjs +1 -1
- package/dist/UI/templates/newGrid/SearchMethodUdpGrid.mjs +1 -1
- package/dist/UI/templates/newGrid/ServerSideUdpGrid.mjs +1 -1
- package/dist/UI/templates/ui/ExtenderToggle.mjs +1 -1
- package/dist/UI/templates/ui/GridGroupingHeader.mjs +1 -1
- package/dist/UI/templates/ui/GridGroupingSidebar.mjs +1 -1
- package/dist/UI/templates/ui/GridSidebarContainer.mjs +1 -1
- package/dist/UI/templates/ui/TokenGroupItem.mjs +1 -1
- package/dist/UI/templates/ui/renderers/ActionsRenderer.mjs +1 -1
- package/dist/UI/templates/ui/renderers/IconRenderer.mjs +1 -1
- package/dist/UI/templates/ui/renderers/StatusCellRenderer.mjs +1 -1
- package/dist/UI/timeline/ExtendActions.mjs +1 -1
- package/dist/UI/timeline/TimeEntryStates.mjs +1 -1
- package/dist/UI/timeline/TimeLine.mjs +1 -1
- package/dist/UI/timeline/TimelineElement.mjs +1 -1
- package/dist/UI/timeline/UdpTimeline.mjs +1 -1
- package/dist/UI/timeline/UdpTimelineContent.mjs +1 -1
- package/dist/UI/timeline/UdpTimelineDot.mjs +1 -1
- package/dist/UI/timeline/UdpTimelineItem.mjs +1 -1
- package/dist/UI/timeline/UdpTimelineItemConnector.mjs +1 -1
- package/dist/UI/timeline/UdpTimelineItemSeparator.mjs +1 -1
- package/dist/UI/timeline/fluentTimeline/FluentTimeline.mjs +1 -1
- package/dist/UI/timeline/fluentTimeline/FluentTimelineContent.mjs +1 -1
- package/dist/UI/timeline/fluentTimeline/FluentTimelineHeader.mjs +1 -1
- package/dist/UI/utilityDisplay/BulkActionsGridButton.mjs +1 -1
- package/dist/UI/utilityDisplay/ChipSection.mjs +1 -1
- package/dist/UI/utilityDisplay/Divider.mjs +1 -1
- package/dist/UI/utilityDisplay/FormControl.mjs +1 -1
- package/dist/UI/utilityDisplay/FormControlLabel.mjs +1 -1
- package/dist/UI/utilityDisplay/IndicatorChip.mjs +1 -1
- package/dist/UI/utilityDisplay/InputAdornment.mjs +1 -1
- package/dist/UI/utilityDisplay/SaveViewFormDialog.mjs +1 -1
- package/dist/UI/utilityDisplay/UtilityBar.mjs +1 -1
- package/dist/UI/utilityDisplay/UtilitySideBar.mjs +1 -1
- package/dist/UI/utilityDisplay/alerts/UdpAlert.mjs +1 -1
- package/dist/UI/utilityDisplay/alerts/UdpAlertsContainer.mjs +1 -1
- package/dist/UI/utilityDisplay/deprecated/grid/GridActionBar.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/UtilityTabHeader.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/ui/PAHExport.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.mjs +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/ui/teleporter.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/ChartSummaryToggle.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/FUIMenuItem.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/atoms/FluentTrendArrow.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/molecules/FluentStatNumber.mjs +1 -1
- package/dist/UI/widgets/FluentComponents/molecules/FluentTimeline.mjs +1 -1
- package/dist/UI/widgets/ItemsWidgetCard.mjs +1 -1
- package/dist/UI/widgets/library/BarChartWidget/BarChartWidget.mjs +1 -1
- package/dist/UI/widgets/library/BubbleWidget/BubbleWidget.mjs +1 -1
- package/dist/UI/widgets/library/CircleGaugeWidget/CircleGaugeWidget.mjs +1 -1
- package/dist/UI/widgets/library/DateTrendWidget/DateTrendWidget.mjs +1 -1
- package/dist/UI/widgets/library/DensePlotWidget/DensePlotWidget.mjs +1 -1
- package/dist/UI/widgets/library/DonutChartWidget/DonutChartWidget.mjs +1 -1
- package/dist/UI/widgets/library/GaugeWidget/GaugeWidget.mjs +1 -1
- package/dist/UI/widgets/library/LineAndSparklinesWidget/LineAndSparklinesWidget.mjs +1 -1
- package/dist/UI/widgets/library/LineGraphWidget/LineGraphWidget.mjs +1 -1
- package/dist/UI/widgets/library/ProgressBarWidget/ProgressBarWidget.mjs +1 -1
- package/dist/UI/widgets/library/RecentlyLoadedNodesWidget/RecentlyLoadedNodesWidget.mjs +1 -1
- package/dist/UI/widgets/library/SparklineWidget/SparklineWidget.mjs +1 -1
- package/dist/UI/widgets/library/SparsePlotWidget/SparsePlotWidget.mjs +1 -1
- package/dist/UI/widgets/utils/NumberVisualization.mjs +1 -1
- package/dist/actions/ActionForm.mjs +1 -1
- package/dist/actions/ActionModal.mjs +1 -1
- package/dist/actions/ActionPanelPlacement.mjs +1 -1
- package/dist/actions/ActionSideSheet.mjs +1 -1
- package/dist/actions/ActionSpeedDial.mjs +1 -1
- package/dist/actions/ActionSplitScreen.mjs +1 -1
- package/dist/actions/ActionWrapper.mjs +1 -1
- package/dist/actions/PageActionWrapper.mjs +1 -1
- package/dist/actions/actionSummary/ActionSummaryCard.mjs +1 -1
- package/dist/actions/actionSummary/ActionSummaryHeader.mjs +1 -1
- package/dist/actions/actionSummary/ActionSummaryPopover.mjs +1 -1
- package/dist/actions/sidebar/EntitySideBarContent.mjs +1 -1
- package/dist/actions/utils/actionUtils.mjs +1 -1
- package/dist/chatBot/ChatMessage.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/CircleButton.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/DateWrapper.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/MttYearTag.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/MultiDot.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/SummaryToken.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineDateBar.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineDot.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineNode.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineStatus.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/TimelineWrapper.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/VisualizationDot.mjs +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.mjs +1 -1
- package/dist/componentSystems/pageRenderer/PageRenderer.mjs +1 -1
- package/dist/componentSystems/pageRenderer/hocs/withEngineComponent.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/BarChartWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/BioCardWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/DonutWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/HistogramWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/LineGraphWrapper.mjs +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.mjs +1 -1
- package/dist/containers/IframeContainer.mjs +1 -1
- package/dist/contexts/PageContext.mjs +1 -1
- package/dist/dashboard/DashboardWidget.mjs +1 -1
- package/dist/dataBrowser/forms/ParamsMappingFields.mjs +1 -1
- package/dist/dataBrowser/forms/RequiredFieldsMappingField.mjs +1 -1
- package/dist/dataBrowser/forms/RequiredFieldsMappingForm.mjs +1 -1
- package/dist/diffChecker/DiffChecker.mjs +1 -1
- package/dist/hooks/crudForeignKeyData.mjs +1 -1
- package/dist/hooks/useActions.mjs +1 -1
- package/dist/hooks/useApiCatalog.mjs +1 -1
- package/dist/hooks/useDateLocale.mjs +1 -1
- package/dist/hooks/useDynamicListCalculation.mjs +1 -1
- package/dist/hooks/useFluentIcon.mjs +1 -1
- package/dist/hooks/useItemSubCard.mjs +1 -1
- package/dist/hooks/useProductVersion.mjs +1 -1
- package/dist/hooks/usePromotedLookupMethods.mjs +1 -1
- package/dist/hooks/usePromotedMethodEntities.mjs +1 -1
- package/dist/hooks/usePromotedMethodEntity.mjs +1 -1
- package/dist/hooks/useSetLocationState.mjs +1 -1
- package/dist/hooks/useSplitDecimal.mjs +1 -1
- package/dist/hooks/useTransactionType.mjs +1 -1
- package/dist/hooks/useUdpGridFilterModel.mjs +1 -1
- package/dist/hooks/useUpdateSearchParams.mjs +1 -1
- package/dist/hooks/virtualActions.mjs +1 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -3
- package/dist/inquiry/AlertFlag.mjs +1 -1
- package/dist/inquiry/AmbientListItem.mjs +1 -1
- package/dist/inquiry/AmbientSummaryListHeader.mjs +1 -1
- package/dist/inquiry/ExecuteApiDialog.mjs +1 -1
- package/dist/inquiry/FilterSearch.mjs +1 -1
- package/dist/inquiry/FlagBlock.mjs +1 -1
- package/dist/inquiry/Inquiry.mjs +1 -1
- package/dist/inquiry/InquiryContainer.d.ts.map +1 -1
- package/dist/inquiry/InquiryContainer.js +7 -2
- package/dist/inquiry/InquiryContainer.js.map +1 -1
- package/dist/inquiry/InquiryContainer.mjs +5 -2
- package/dist/inquiry/InquiryContainer.mjs.map +1 -1
- package/dist/inquiry/InquiryTreeMenu.mjs +1 -1
- package/dist/inquiry/InquiryWrapper.mjs +1 -1
- package/dist/inquiry/ItemDescription.mjs +1 -1
- package/dist/inquiry/NodeColumnHeader.mjs +1 -1
- package/dist/inquiry/NodeDetails.mjs +1 -1
- package/dist/inquiry/NodeList.mjs +1 -1
- package/dist/inquiry/dashboard/InquiryDashboard.mjs +1 -1
- package/dist/inquiry/dashboard/RecentlyLoadedNodesTable.mjs +1 -1
- package/dist/inquiry/inquiryBar/InquiryControlList.mjs +1 -1
- package/dist/inquiry/inquiryBar/InquiryNodeControls.mjs +1 -1
- package/dist/inquiry/search/InquiryAdvancedSearch.mjs +1 -1
- package/dist/inquiry/search/InquiryAdvancedSearchForm.mjs +1 -1
- package/dist/inquiry/search/InquirySearchContainer.mjs +1 -1
- package/dist/inquiry/search/InquirySearchTable.mjs +1 -1
- package/dist/integrations/outlook/OutlookIntegrationBanner.mjs +1 -1
- package/dist/integrations/outlook/OutlookIntegrationCallbackPage.mjs +1 -1
- package/dist/kpi/UdpKpiCard.mjs +1 -1
- package/dist/kpi/UdpKpiCards.mjs +1 -1
- package/dist/layout/GridGroup.mjs +1 -1
- package/dist/layout/GridRow.mjs +1 -1
- package/dist/layout/GridUnit.mjs +1 -1
- package/dist/layout/HeaderLayout.mjs +1 -1
- package/dist/layout/LayoutUnit.mjs +1 -1
- package/dist/layout/UdpContainer.mjs +1 -1
- package/dist/layout/templates/SideBarTemplate.mjs +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudBrowserContainer.mjs +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.js +3 -3
- package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.js.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.mjs +2 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.mjs.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.js +2 -2
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.js.map +1 -1
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs +3 -2
- package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs.map +1 -1
- package/dist/maintenanceEngine/entityAttributeActions.d.ts.map +1 -1
- package/dist/maintenanceEngine/entityAttributeActions.js +2 -1
- package/dist/maintenanceEngine/entityAttributeActions.js.map +1 -1
- package/dist/maintenanceEngine/entityAttributeActions.mjs +2 -1
- package/dist/maintenanceEngine/entityAttributeActions.mjs.map +1 -1
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.mjs +1 -1
- package/dist/maintenanceEngine/tableBrowser/TableContainer.mjs +1 -1
- package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.mjs +1 -1
- package/dist/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.mjs +1 -1
- package/dist/map-library/Controls/Controls.mjs +1 -1
- package/dist/map-library/Controls/FullScreenControl.mjs +1 -1
- package/dist/map-library/Controls/ZoomControl.mjs +1 -1
- package/dist/map-library/Layers/ImageLayer.mjs +1 -1
- package/dist/map-library/Layers/Layers.mjs +1 -1
- package/dist/map-library/Layers/TileLayer.mjs +1 -1
- package/dist/map-library/Layers/VectorLayer.mjs +1 -1
- package/dist/map-library/Map/Map.mjs +1 -1
- package/dist/map-library/functions/mapFunctions.mjs +1 -1
- package/dist/map-library/geoLocation/FreeFormField.mjs +1 -1
- package/dist/map-library/ui/ControlZoom.mjs +1 -1
- package/dist/map-library/ui/FilterOptions.mjs +1 -1
- package/dist/map-library/ui/MapFilterBar.mjs +1 -1
- package/dist/map-library/ui/MapSheet.mjs +1 -1
- package/dist/map-library/ui/TileDisplay.mjs +1 -1
- package/dist/maps/GeoMap.mjs +1 -1
- package/dist/maps/leafletMaps/FluentImageMap.mjs +1 -1
- package/dist/maps/leafletMaps/FluentMap.mjs +1 -1
- package/dist/maps/leafletMaps/ui/MapMarker.mjs +1 -1
- package/dist/maps/openLayerMaps/Controls/Controls.mjs +1 -1
- package/dist/maps/openLayerMaps/Controls/FullScreenControl.mjs +1 -1
- package/dist/maps/openLayerMaps/Layers/Layers.mjs +1 -1
- package/dist/maps/openLayerMaps/Layers/TileLayer.mjs +1 -1
- package/dist/maps/openLayerMaps/Map/Map.mjs +1 -1
- package/dist/maps/openLayerMaps/ui/ControlZoom.mjs +1 -1
- package/dist/maps/openLayerMaps/ui/LocationPin.mjs +1 -1
- package/dist/maps/openLayerMaps/ui/MapControlsStandard.mjs +1 -1
- package/dist/maps/openLayerMaps/ui/Position.mjs +1 -1
- package/dist/menuPage/CustomMenuPage.mjs +1 -1
- package/dist/menuPage/MenuPage.mjs +1 -1
- package/dist/notes/NotesScreen.mjs +1 -1
- package/dist/page/Page.mjs +1 -1
- package/dist/page/PageContainer/PageContainer.mjs +1 -1
- package/dist/page/PageContent.mjs +1 -1
- package/dist/page/PageHeader.mjs +1 -1
- package/dist/page/PageSectionHeader.mjs +1 -1
- package/dist/page/PageSectionSpacer.mjs +1 -1
- package/dist/page/StaticPageRenderer.mjs +1 -1
- package/dist/providers/QueryProvider.d.ts +16 -0
- package/dist/providers/QueryProvider.d.ts.map +1 -1
- package/dist/providers/QueryProvider.js +16 -1
- package/dist/providers/QueryProvider.js.map +1 -1
- package/dist/providers/QueryProvider.mjs +20 -3
- package/dist/providers/QueryProvider.mjs.map +1 -1
- package/dist/providers/UdpAppProvider.mjs +2 -2
- package/dist/reactCompilerRuntime.d.ts +2 -0
- package/dist/reactCompilerRuntime.d.ts.map +1 -0
- package/dist/reactCompilerRuntime.js +42 -0
- package/dist/reactCompilerRuntime.js.map +1 -0
- package/dist/reactCompilerRuntime.mjs +37 -0
- package/dist/reactCompilerRuntime.mjs.map +1 -0
- package/dist/reminders/CompleteReminderSwitch.mjs +1 -1
- package/dist/reminders/RemindersCard.mjs +1 -1
- package/dist/reminders/RemindersScreen.mjs +1 -1
- package/dist/reports/PowerBIReport.mjs +1 -1
- package/dist/reports/Reports.mjs +1 -1
- package/dist/routes/PublicRoute.mjs +1 -1
- package/dist/routes/UdpRoutes.d.ts.map +1 -1
- package/dist/routes/UdpRoutes.js +4 -1
- package/dist/routes/UdpRoutes.js.map +1 -1
- package/dist/routes/UdpRoutes.mjs +108 -32
- package/dist/routes/UdpRoutes.mjs.map +1 -1
- package/dist/routes/components/PageForbiddenRoute.mjs +1 -1
- package/dist/routes/components/PageNotFoundRoute.mjs +1 -1
- package/dist/routes/components/PageStatus.mjs +1 -1
- package/dist/routes/index.mjs +2 -2
- package/dist/routes/useRegisterRoute.mjs +1 -1
- package/dist/shell/ui/AmbientProjectSwitcher.mjs +1 -1
- package/dist/shell/ui/MiniCollapsibleSidebar.mjs +1 -1
- package/dist/shell/ui/NavigationSidebar.mjs +1 -1
- package/dist/shell/ui/ShellDropdown.mjs +1 -1
- package/dist/shell/ui/SidebarCollapseButton.mjs +1 -1
- package/dist/shell/ui/SiteHeader.mjs +1 -1
- package/dist/shell/ui/SiteHeaderRightComponent.mjs +1 -1
- package/dist/shell/ui/appSwitcher/FUIAppHeader.mjs +1 -1
- package/dist/shell/ui/appSwitcher/FUIAppList.mjs +1 -1
- package/dist/shell/ui/appSwitcher/FUIAppListItem.mjs +1 -1
- package/dist/shell/ui/appSwitcher/FUIAppSwitcher.mjs +1 -1
- package/dist/shell/ui/appSwitcher/ProductAppList.mjs +1 -1
- package/dist/shell/ui/appSwitcher/ProductAppListItem.mjs +1 -1
- package/dist/shell/ui/appSwitcher/UnityApps.mjs +1 -1
- package/dist/shell/ui/profile/FluentProfileMenuCard.mjs +1 -1
- package/dist/shell/ui/profile/MenuOpener.mjs +1 -1
- package/dist/shell/ui/profile/UserAvatar.mjs +1 -1
- package/dist/shell/ui/profile/UserProfileMenuWrapper.mjs +1 -1
- package/dist/shell/ui/useBuildEnvironment.mjs +1 -1
- package/dist/shell/ui/user/PasswordValidator.mjs +1 -1
- package/dist/shell/ui/user/form/UserForm.mjs +1 -1
- package/dist/shell/ui/user/form/UserFormFields.mjs +1 -1
- package/dist/shell/ui/user/form/UserRoleAutoComplete.mjs +1 -1
- package/dist/shell/useShellVisibility.mjs +1 -1
- package/dist/shell/useWidgetRegistry.mjs +1 -1
- package/dist/stores/inquiryStore.mjs +1 -1
- package/dist/test/TestFullStencilPage.mjs +1 -1
- package/dist/udp/ShortcutContent/ListSearch.mjs +1 -1
- package/dist/udp/ShortcutContent/ShortcutContentFinder.mjs +1 -1
- package/dist/udp/export/ExportSidesheet.mjs +1 -1
- package/dist/udp/export/MyExportsPage.mjs +1 -1
- package/dist/udp/fileImportMapping/FileImportMappingWizard.mjs +1 -1
- package/dist/udp/fileImportMapping/ImportDataFromFileMapping.mjs +1 -1
- package/dist/udp/pages/ChatUDP/ChatUDP.mjs +1 -1
- package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.d.ts +4 -0
- package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.d.ts.map +1 -0
- package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.js +158 -0
- package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.js.map +1 -0
- package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.mjs +251 -0
- package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.mjs.map +1 -0
- package/dist/udp/pages/MyFormSubmissions/index.d.ts +3 -0
- package/dist/udp/pages/MyFormSubmissions/index.d.ts.map +1 -0
- package/dist/udp/pages/MyFormSubmissions/index.js +3 -0
- package/dist/udp/pages/MyFormSubmissions/index.js.map +1 -0
- package/dist/udp/pages/MyFormSubmissions/index.mjs +2 -0
- package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.mjs +1 -1
- package/dist/udp/pages/UdpFormManager/UdpFormManager.d.ts +6 -0
- package/dist/udp/pages/UdpFormManager/UdpFormManager.d.ts.map +1 -0
- package/dist/udp/pages/UdpFormManager/UdpFormManager.js +128 -0
- package/dist/udp/pages/UdpFormManager/UdpFormManager.js.map +1 -0
- package/dist/udp/pages/UdpFormManager/UdpFormManager.mjs +258 -0
- package/dist/udp/pages/UdpFormManager/UdpFormManager.mjs.map +1 -0
- package/dist/udp/pages/UdpFormManager/index.d.ts +3 -0
- package/dist/udp/pages/UdpFormManager/index.d.ts.map +1 -0
- package/dist/udp/pages/UdpFormManager/index.js +3 -0
- package/dist/udp/pages/UdpFormManager/index.js.map +1 -0
- package/dist/udp/pages/UdpFormManager/index.mjs +2 -0
- package/dist/udp/pages/UdpFormsBuilderPage/UdpFormsBuilderPage.mjs +1 -1
- package/dist/udp/pages/UdpFormsListPage/UdpFormsListPage.mjs +1 -1
- package/dist/udp/pages/UdpFormsPrivateForm/UdpFormRenderer.mjs +1 -1
- package/dist/udp/pages/UdpFormsPrivateForm/UdpPrivateForm.mjs +1 -1
- package/dist/udp/pages/UdpFormsPublicForm/UdpPublicForm.mjs +1 -1
- package/dist/udp/pages/UdpFormsSubmissionGridManagerPage/UdpFormsSubmissionGridManagerPage.mjs +1 -1
- package/dist/udp/pages/UdpFormsSubmissionGridResponderPage/UdpFormsSubmissionGridResponderPage.mjs +1 -1
- package/dist/udp/pages/UdpFormsUtils/Utils.d.ts +4 -0
- package/dist/udp/pages/UdpFormsUtils/Utils.d.ts.map +1 -1
- package/dist/udp/pages/UdpFormsUtils/Utils.js +16 -3
- package/dist/udp/pages/UdpFormsUtils/Utils.js.map +1 -1
- package/dist/udp/pages/UdpFormsUtils/Utils.mjs +18 -10
- package/dist/udp/pages/UdpFormsUtils/Utils.mjs.map +1 -1
- package/dist/udp/pages/UdpGridPanelManagementSidesheet/UdpGridPanelManagementSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpImportFromFileMappingPage/UdpImportFromFileMappingPage.mjs +1 -1
- package/dist/udp/pages/UdpInquiryMaintenanceEnginePage/UdpInquiryMaintenanceEnginePage.mjs +1 -1
- package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.mjs +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +1 -1
- package/dist/udp/pages/UdpPagesLazy/index.d.ts +3 -0
- package/dist/udp/pages/UdpPagesLazy/index.d.ts.map +1 -1
- package/dist/udp/pages/UdpPagesLazy/index.js +3 -0
- package/dist/udp/pages/UdpPagesLazy/index.js.map +1 -1
- package/dist/udp/pages/UdpPagesLazy/index.mjs +3 -0
- package/dist/udp/pages/UdpPagesLazy/index.mjs.map +1 -1
- package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.d.ts +6 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.js +32 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.mjs +73 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/index.d.ts +3 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/index.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/index.js +3 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/index.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormBuilderPage/index.mjs +2 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.d.ts +7 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.js +52 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.mjs +109 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.d.ts +10 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.js +373 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.mjs +943 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.d.ts +9 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.js +62 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.mjs +187 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.d.ts +6 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.js +158 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.mjs +319 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.d.ts +9 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.js +255 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.mjs +617 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.d.ts +8 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.js +121 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.mjs +200 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.d.ts +7 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.js +401 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.mjs +452 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/index.d.ts +3 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/index.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/index.js +3 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/index.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.d.ts +120 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.js +461 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.mjs +421 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.d.ts +4 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.js +93 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.mjs +70 -0
- package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.d.ts +19 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.js +45 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.mjs +104 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.d.ts +7 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.js +33 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.mjs +95 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/index.d.ts +5 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/index.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/index.js +5 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/index.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPrivateForm/index.mjs +3 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.d.ts +20 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.js +43 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.mjs +86 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.mjs.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/index.d.ts +3 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/index.d.ts.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/index.js +3 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/index.js.map +1 -0
- package/dist/udp/pages/UdpQuestionFormPublicForm/index.mjs +2 -0
- package/dist/udp/pages/UdpReportsPage/UdpReportsPage.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js +30 -28
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs +25 -24
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionAttachmentTypeForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeConfigurationForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeConfigurationTransactionActionForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.js +9 -9
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.mjs +7 -7
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeTransactionActionForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeTransactionActionFormFields.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionUiActionForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionAttachmentTypeCreateAndEditSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionAttachmentTypeSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.js +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.mjs +7 -7
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationCreateAndEditSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationTransactionActionCreateAndEditSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationTransactionActionSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.js +2 -2
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.mjs +20 -11
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusCreateAndEditSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeTransactionActionCreateAndEditSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeTransactionActionSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionUiActionCreateAndEditSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionUiActionSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.js +20 -14
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs +83 -71
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/AttachmentTransactionAttachmentList.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/EditTransactionDetailsFooterItem.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachment.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachments.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.js +2 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.mjs +3 -2
- package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionTimelineItem.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNote.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNoteForm.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNotes.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/EditTransactionHeaderItem.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/ViewTransaction.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.mjs +1 -1
- package/dist/udp/tags/useTags.mjs +1 -1
- package/dist/udp/utilities/dateLocalizationHooks.mjs +1 -1
- package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
- package/dist/udp/utilities/useDateStringColumnDef.mjs +1 -1
- package/dist/utilities/aggrid/AgTable.mjs +1 -1
- package/dist/utilities/aggrid/aggridHelpers.mjs +1 -1
- package/dist/utilities/auth/AadCallback.mjs +1 -1
- package/dist/utilities/auth/AuthProviderWrapper.mjs +1 -1
- package/dist/utilities/auth/UserErrorModal.mjs +1 -1
- package/dist/utilities/auth/UserProvider.mjs +1 -1
- package/dist/utilities/auth/signInAuthProvider.d.ts.map +1 -1
- package/dist/utilities/auth/signInAuthProvider.js +24 -15
- package/dist/utilities/auth/signInAuthProvider.js.map +1 -1
- package/dist/utilities/auth/signInAuthProvider.mjs +14 -13
- package/dist/utilities/auth/signInAuthProvider.mjs.map +1 -1
- package/dist/utilities/auth/useAuthedUser.mjs +1 -1
- package/dist/utilities/auth/useSingleLogout.mjs +1 -1
- package/dist/utilities/auth/users.mjs +1 -1
- package/dist/utilities/chatBot/ChatBotProvider.mjs +1 -1
- package/dist/utilities/customIcons/ApprovalIcon.mjs +1 -1
- package/dist/utilities/customIcons/RejectIcon.mjs +1 -1
- package/dist/utilities/entities/entityUtilities.d.ts +5 -0
- package/dist/utilities/entities/entityUtilities.d.ts.map +1 -1
- package/dist/utilities/entities/entityUtilities.js +11 -0
- package/dist/utilities/entities/entityUtilities.js.map +1 -1
- package/dist/utilities/entities/entityUtilities.mjs +3 -1
- package/dist/utilities/entities/entityUtilities.mjs.map +1 -1
- package/dist/utilities/floorplanFunctions/gridVisualizationFunctions.mjs +1 -1
- package/dist/utilities/form/Field.mjs +1 -1
- package/dist/utilities/form/Form.mjs +1 -1
- package/dist/utilities/form/FormButtons.mjs +1 -1
- package/dist/utilities/form/FormError.mjs +1 -1
- package/dist/utilities/form/FormSpy.mjs +1 -1
- package/dist/utilities/form/SubmitButton.mjs +1 -1
- package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts +5 -0
- package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/BankAccountForm.d.ts +16 -29
- package/dist/utilities/form/paymentForm/BankAccountForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/BankAccountForm.js +64 -78
- package/dist/utilities/form/paymentForm/BankAccountForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/BankAccountForm.mjs +77 -196
- package/dist/utilities/form/paymentForm/BankAccountForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/CashForm.d.ts +1 -1
- package/dist/utilities/form/paymentForm/CashForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/CashForm.js +19 -51
- package/dist/utilities/form/paymentForm/CashForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/CashForm.mjs +81 -120
- package/dist/utilities/form/paymentForm/CashForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/CreditCardAdornment.mjs +1 -1
- package/dist/utilities/form/paymentForm/CreditCardForm.d.ts +14 -21
- package/dist/utilities/form/paymentForm/CreditCardForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/CreditCardForm.js +81 -87
- package/dist/utilities/form/paymentForm/CreditCardForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/CreditCardForm.mjs +84 -195
- package/dist/utilities/form/paymentForm/CreditCardForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/CreditCardUtils.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/CreditCardUtils.js +5 -0
- package/dist/utilities/form/paymentForm/CreditCardUtils.js.map +1 -1
- package/dist/utilities/form/paymentForm/CreditCardUtils.mjs +1 -0
- package/dist/utilities/form/paymentForm/CreditCardUtils.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/HostedPaymentError.d.ts +5 -16
- package/dist/utilities/form/paymentForm/HostedPaymentError.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/HostedPaymentError.js +6 -18
- package/dist/utilities/form/paymentForm/HostedPaymentError.js.map +1 -1
- package/dist/utilities/form/paymentForm/HostedPaymentError.mjs +19 -56
- package/dist/utilities/form/paymentForm/HostedPaymentError.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts +12 -14
- package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/NewCreditCardForm.js +45 -58
- package/dist/utilities/form/paymentForm/NewCreditCardForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/NewCreditCardForm.mjs +186 -263
- package/dist/utilities/form/paymentForm/NewCreditCardForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/NewECheckForm.d.ts +9 -14
- package/dist/utilities/form/paymentForm/NewECheckForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/NewECheckForm.js +28 -68
- package/dist/utilities/form/paymentForm/NewECheckForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/NewECheckForm.mjs +185 -228
- package/dist/utilities/form/paymentForm/NewECheckForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentBankDetails.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentBankDetails.js +4 -2
- package/dist/utilities/form/paymentForm/PaymentBankDetails.js.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentCardDetail.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentCardDetail.js +4 -2
- package/dist/utilities/form/paymentForm/PaymentCardDetail.js.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentForm.d.ts +67 -3
- package/dist/utilities/form/paymentForm/PaymentForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentForm.js +281 -246
- package/dist/utilities/form/paymentForm/PaymentForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/PaymentForm.mjs +296 -296
- package/dist/utilities/form/paymentForm/PaymentForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/usePaymentContext.d.ts +22 -0
- package/dist/utilities/form/paymentForm/usePaymentContext.d.ts.map +1 -0
- package/dist/utilities/form/paymentForm/usePaymentContext.js +117 -0
- package/dist/utilities/form/paymentForm/usePaymentContext.js.map +1 -0
- package/dist/utilities/form/paymentForm/usePaymentContext.mjs +119 -0
- package/dist/utilities/form/paymentForm/usePaymentContext.mjs.map +1 -0
- package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts +1 -1
- package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/usePaymentProviderForm.js +2 -2
- package/dist/utilities/form/paymentForm/usePaymentProviderForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/usePaymentProviderForm.mjs +16 -12
- package/dist/utilities/form/paymentForm/usePaymentProviderForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.js +22 -28
- package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.mjs +37 -32
- package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.js +25 -27
- package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.mjs +40 -38
- package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.mjs.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +4 -0
- package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.js +69 -48
- package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.js.map +1 -1
- package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.mjs +85 -61
- package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.mjs.map +1 -1
- package/dist/utilities/form/useFieldChangeListener.mjs +1 -1
- package/dist/utilities/iconLibrary/FluentIcon.mjs +1 -1
- package/dist/utilities/iconLibrary/IconLibrary.mjs +1 -1
- package/dist/utilities/iconLibrary/SelectedLibraryItem.mjs +1 -1
- package/dist/utilities/iconLibrary/SvgIcon.mjs +1 -1
- package/dist/utilities/iconLibrary/UnityFluentIcon.mjs +1 -1
- package/dist/utilities/iconLibrary/UnityIcon.mjs +1 -1
- package/dist/utilities/menus/MenuProvider.mjs +1 -1
- package/dist/utilities/page/PageSubHeaderAction.mjs +1 -1
- package/dist/utilities/search/SearchUtilities.d.ts +10 -1
- package/dist/utilities/search/SearchUtilities.d.ts.map +1 -1
- package/dist/utilities/search/SearchUtilities.js +8 -0
- package/dist/utilities/search/SearchUtilities.js.map +1 -1
- package/dist/utilities/search/SearchUtilities.mjs +5 -2
- package/dist/utilities/search/SearchUtilities.mjs.map +1 -1
- package/dist/utilities/style/ContentContainer.mjs +1 -1
- package/dist/utilities/style/verticalStyles.mjs +1 -1
- package/dist/utilities/tenant/TenantAccessDialog.mjs +1 -1
- package/dist/utilities/tenant/TenantProvider.mjs +1 -1
- package/dist/utilities/tenant/TenantSelect.mjs +1 -1
- package/dist/utilities/tenant/UdpTenantSelect.mjs +1 -1
- package/dist/utilities/theme/systemColors.mjs +1 -1
- package/dist/utilities/theme/theme.mjs +1 -1
- package/dist/utilities/transactions/useTransactionEngine.mjs +1 -1
- package/dist/utilities/uploader/FileProfile.mjs +1 -1
- package/dist/utilities/uploader/FileType.mjs +1 -1
- package/dist/utilities/uploader/FileUpload.mjs +1 -1
- package/dist/utilities/uploader/ImagePreview.mjs +1 -1
- package/dist/utilities/useApiMutation.mjs +1 -1
- package/dist/utilities/useApiQuery.mjs +90 -2
- package/dist/utilities/useApiQuery.mjs.map +1 -1
- package/dist/utilities/useDevicePixelRatio.mjs +1 -1
- package/dist/utilities/useGravatar.mjs +1 -1
- package/dist/utilities/utilityBar/InquiryHeaderControl.mjs +1 -1
- package/dist/utilities/utilityBar/InquiryHeaderSecondary.mjs +1 -1
- package/dist/utilities/utilityBar/InquiryHeaderSecondaryAlert.mjs +1 -1
- package/dist/utilities/utilityBar/InquiryHeaderTitle.mjs +1 -1
- package/dist/utilities/utilityBar/SubHeaderAction.mjs +1 -1
- package/dist/utilities/utilityBar/UtilityBarInport.mjs +1 -1
- package/dist/workflow/WorkflowContainer.mjs +1 -1
- package/dist/workflow/components/WorkflowTaskFlow.mjs +1 -1
- package/package.json +90 -46
- package/dist/test/TestStencilWrappedComponentsPage.d.ts +0 -3
- package/dist/test/TestStencilWrappedComponentsPage.d.ts.map +0 -1
- package/dist/test/TestStencilWrappedComponentsPage.js +0 -131
- package/dist/test/TestStencilWrappedComponentsPage.js.map +0 -1
- package/dist/test/TestStencilWrappedComponentsPage.mjs +0 -463
- package/dist/test/TestStencilWrappedComponentsPage.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/BankIcon.mjs +0 -56
- package/dist/utilities/form/paymentForm/BankIcon.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/CashIcon.mjs +0 -55
- package/dist/utilities/form/paymentForm/CashIcon.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/CheckIcon.mjs +0 -62
- package/dist/utilities/form/paymentForm/CheckIcon.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/CreditCardIcon.mjs +0 -85
- package/dist/utilities/form/paymentForm/CreditCardIcon.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/DisableOverlay.mjs +0 -44
- package/dist/utilities/form/paymentForm/DisableOverlay.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/PaymentBankDetails.mjs +0 -161
- package/dist/utilities/form/paymentForm/PaymentBankDetails.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/PaymentCard.d.ts +0 -13
- package/dist/utilities/form/paymentForm/PaymentCard.d.ts.map +0 -1
- package/dist/utilities/form/paymentForm/PaymentCard.js +0 -54
- package/dist/utilities/form/paymentForm/PaymentCard.js.map +0 -1
- package/dist/utilities/form/paymentForm/PaymentCard.mjs +0 -96
- package/dist/utilities/form/paymentForm/PaymentCard.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/PaymentCardDetail.mjs +0 -284
- package/dist/utilities/form/paymentForm/PaymentCardDetail.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/PaymentDropdown.mjs +0 -142
- package/dist/utilities/form/paymentForm/PaymentDropdown.mjs.map +0 -1
- package/dist/utilities/form/paymentForm/TabPanel.mjs +0 -74
- package/dist/utilities/form/paymentForm/TabPanel.mjs.map +0 -1
|
@@ -1,67 +1,22 @@
|
|
|
1
1
|
import { Form } from "../Form.mjs";
|
|
2
|
-
import { FluentButton } from "../../../UI/inputs/buttons/FluentButton.mjs";
|
|
3
2
|
import { ConfigService } from "../../../configService/index.mjs";
|
|
4
3
|
import { useUser } from "../../auth/useUser.mjs";
|
|
5
4
|
import { apiMutate } from "../../useAxiosMutate.mjs";
|
|
6
|
-
import { Typography as Typography$1 } from "../../../UI/dataDisplay/typography/Typography.mjs";
|
|
7
|
-
import { LayoutUnit } from "../../../layout/LayoutUnit.mjs";
|
|
8
|
-
import { useAxiosGet } from "../../useAxiosGet.mjs";
|
|
9
5
|
import { PaymentMethodTypeEnum } from "../../../enums/paymentMethodTypeEnum.mjs";
|
|
10
6
|
import { PaymentVendorFactoryEnum } from "../../../enums/paymentVendorFactoryEnum.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
7
|
+
import { UdpButton } from "../../../UI/fluent-web-components/UdpButton.mjs";
|
|
8
|
+
import { UdpTablist } from "../../../UI/fluent-web-components/UdpTablist.mjs";
|
|
9
|
+
import { UdpFlexbox } from "../../../UI/fluent-web-components/UdpFlexbox.mjs";
|
|
10
|
+
import { UdpMessageBar } from "../../../UI/fluent-web-components/UdpMessageBar.mjs";
|
|
11
|
+
import { UdpProgressBar } from "../../../UI/fluent-web-components/UdpProgressBar.mjs";
|
|
12
|
+
import { UdpRadioGroup } from "../../../UI/fluent-web-components/UdpRadioGroup.mjs";
|
|
14
13
|
import { CreditCardForm } from "./CreditCardForm.mjs";
|
|
15
14
|
import { BankAccountForm } from "./BankAccountForm.mjs";
|
|
16
|
-
import { CreditCardIcon } from "./CreditCardIcon.mjs";
|
|
17
|
-
import { BankIcon } from "./BankIcon.mjs";
|
|
18
15
|
import { CashForm } from "./CashForm.mjs";
|
|
19
|
-
import {
|
|
20
|
-
import { DisabledOverlay } from "./DisableOverlay.mjs";
|
|
21
|
-
import { CheckIcon } from "./CheckIcon.mjs";
|
|
22
|
-
import { TabPanel } from "./TabPanel.mjs";
|
|
16
|
+
import { usePaymentContext } from "./usePaymentContext.mjs";
|
|
23
17
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
24
|
-
import { Badge, Card, CardContent, Grow, LinearProgress, Tab, Tabs, Tooltip, makeStyles, useTheme } from "@material-ui/core";
|
|
25
18
|
import { useTranslation } from "react-i18next";
|
|
26
|
-
import grey from "@material-ui/core/colors/grey";
|
|
27
19
|
//#region src/utilities/form/paymentForm/PaymentForm.tsx
|
|
28
|
-
const useStyles = makeStyles((theme) => ({
|
|
29
|
-
tab: {
|
|
30
|
-
color: grey[800],
|
|
31
|
-
"&.Mui-selected": { color: theme.palette.secondary.main },
|
|
32
|
-
textTransform: "none",
|
|
33
|
-
minWidth: 115,
|
|
34
|
-
width: 115
|
|
35
|
-
},
|
|
36
|
-
cardFullWidth: {
|
|
37
|
-
width: "100%",
|
|
38
|
-
minWidth: "100%",
|
|
39
|
-
padding: 0
|
|
40
|
-
},
|
|
41
|
-
paddingZero: { padding: 0 },
|
|
42
|
-
submitControl: { marginLeft: "50px" },
|
|
43
|
-
buttonProgress: {
|
|
44
|
-
color: theme.palette.secondary.main,
|
|
45
|
-
position: "absolute",
|
|
46
|
-
top: "50%",
|
|
47
|
-
left: "50%",
|
|
48
|
-
marginTop: -12,
|
|
49
|
-
marginLeft: -12
|
|
50
|
-
},
|
|
51
|
-
dropDownPaymentsCard: { padding: "20px 12px 0px 12px" },
|
|
52
|
-
assetTypeLabel: { top: theme.spacing(-.7) },
|
|
53
|
-
formControl: {
|
|
54
|
-
width: "100%",
|
|
55
|
-
marginTop: "-15px"
|
|
56
|
-
}
|
|
57
|
-
}));
|
|
58
|
-
/** paymentMethodIcons @type {*} */
|
|
59
|
-
const paymentMethodIcons = {
|
|
60
|
-
"Credit Card": CreditCardIcon,
|
|
61
|
-
"Cash": CashIcon,
|
|
62
|
-
"eCheck": BankIcon,
|
|
63
|
-
"Debit Card": CheckIcon
|
|
64
|
-
};
|
|
65
20
|
const DEFAULT_ACCOUNT_TYPES = [{
|
|
66
21
|
name: "Checking",
|
|
67
22
|
value: "checking"
|
|
@@ -76,24 +31,6 @@ const PAYMENT_METHODS = {
|
|
|
76
31
|
DEBIT_CARD: "debit card"
|
|
77
32
|
};
|
|
78
33
|
/**
|
|
79
|
-
* getPaymentMethodIcon
|
|
80
|
-
*
|
|
81
|
-
* @param {string} paymentMethodName
|
|
82
|
-
* @param {boolean} isSelected
|
|
83
|
-
* @param {boolean} isEnabled
|
|
84
|
-
* @param {*} theme
|
|
85
|
-
* @return {*}
|
|
86
|
-
*/
|
|
87
|
-
const getPaymentMethodIcon = (paymentMethodName, isSelected, isEnabled, theme) => {
|
|
88
|
-
const color = isEnabled ? isSelected ? theme.palette.secondary.main : grey[800] : grey[400];
|
|
89
|
-
const IconComponent = paymentMethodIcons[paymentMethodName];
|
|
90
|
-
if (!IconComponent) return null;
|
|
91
|
-
return /* @__PURE__ */ React.createElement(Badge, {
|
|
92
|
-
color: "secondary",
|
|
93
|
-
badgeContent: !isEnabled ? "!" : null
|
|
94
|
-
}, /* @__PURE__ */ React.createElement(IconComponent, { color }));
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
34
|
* PaymentForm Component
|
|
98
35
|
*
|
|
99
36
|
* This component provides a user interface for selecting and handling different payment methods.
|
|
@@ -149,37 +86,49 @@ const getPaymentMethodIcon = (paymentMethodName, isSelected, isEnabled, theme) =
|
|
|
149
86
|
* This component should be used within a React environment that supports hooks and functional components.
|
|
150
87
|
* It relies on Material-UI for UI components and theming.
|
|
151
88
|
*/
|
|
152
|
-
const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDetails, bankAccountTypes = DEFAULT_ACCOUNT_TYPES, loading, presetDataRequest, onTabChange, onFormStatusChange, onSubmitCompleted, submit, children, childrenPosition = "before", actionLabel, render }) => {
|
|
153
|
-
const classes = useStyles();
|
|
154
|
-
const theme = useTheme();
|
|
89
|
+
const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDetails, bankAccountTypes = DEFAULT_ACCOUNT_TYPES, loading, presetDataRequest, onTabChange, onFormStatusChange, onSubmitCompleted, submit, children, childrenPosition = "before", actionLabel, render, showSandboxBanner = true, s2sToken, s2sTenantId, refreshS2sToken, allowSavePaymentMethod = true, methodPicker = "radio", actionsStart, onSubmittingChange, onReadyChange }) => {
|
|
155
90
|
const user = useUser();
|
|
156
91
|
const { t } = useTranslation();
|
|
157
92
|
const [value, setValue] = useState(activeTab);
|
|
158
93
|
const formRef = useRef(null);
|
|
94
|
+
const methodBoxRef = useRef(null);
|
|
95
|
+
const methodBoxReleaseTimer = useRef(null);
|
|
96
|
+
/**
|
|
97
|
+
* Freeze the method-form area's current height while switching methods.
|
|
98
|
+
* The outgoing form unmounts synchronously but the incoming form's web
|
|
99
|
+
* components hydrate asynchronously, so the area collapses to ~zero height
|
|
100
|
+
* for a few frames. Inside a scroll container that collapse clamps the
|
|
101
|
+
* scroll position (the page appears to jump to the top). Holding the
|
|
102
|
+
* previous height through the swap keeps the scroll position stable.
|
|
103
|
+
*/
|
|
104
|
+
const freezeMethodBoxHeight = () => {
|
|
105
|
+
const box = methodBoxRef.current;
|
|
106
|
+
if (!box) return;
|
|
107
|
+
box.style.minHeight = `${box.offsetHeight}px`;
|
|
108
|
+
if (methodBoxReleaseTimer.current) window.clearTimeout(methodBoxReleaseTimer.current);
|
|
109
|
+
methodBoxReleaseTimer.current = window.setTimeout(() => {
|
|
110
|
+
box.style.minHeight = "";
|
|
111
|
+
methodBoxReleaseTimer.current = null;
|
|
112
|
+
}, 400);
|
|
113
|
+
};
|
|
114
|
+
useEffect(() => () => {
|
|
115
|
+
if (methodBoxReleaseTimer.current) window.clearTimeout(methodBoxReleaseTimer.current);
|
|
116
|
+
}, []);
|
|
117
|
+
const s2sTokenRef = useRef(s2sToken);
|
|
118
|
+
useEffect(() => {
|
|
119
|
+
s2sTokenRef.current = s2sToken;
|
|
120
|
+
}, [s2sToken]);
|
|
159
121
|
const [paymentFormStatus, setPaymentFormStatus] = useState(null);
|
|
160
|
-
const [
|
|
161
|
-
const [selectedHostedPayment, setSelectedHostedPayment] = useState(null);
|
|
122
|
+
const [, setSelectedHostedPayment] = useState(null);
|
|
162
123
|
const [selectedPaymentType, setSelectedPaymentType] = useState(PaymentMethodTypeEnum.CreditCard);
|
|
163
124
|
const [loadingProcessPayment, setLoadingProcessPayment] = useState(false);
|
|
164
125
|
const [selectedPaymentAccount, setSelectedPaymentAccount] = useState(null);
|
|
165
126
|
/**
|
|
166
|
-
*
|
|
127
|
+
* Discovery: resolved list of payment methods + vendor/hosted-page info.
|
|
128
|
+
* When the backend ships a single payment-context endpoint, replace the
|
|
129
|
+
* usePaymentContext implementation — no other change in this file is needed.
|
|
167
130
|
*/
|
|
168
|
-
const
|
|
169
|
-
/**
|
|
170
|
-
* API call to get the payment method information and determine if the payment method is enabled or not
|
|
171
|
-
*
|
|
172
|
-
* @param {*} paymentMethodID : Credit card: 4001, Bank account: 4002, eCheck: 4004
|
|
173
|
-
* @return {*}
|
|
174
|
-
*/
|
|
175
|
-
const getPaymentMethodInfo = useCallback(async (paymentMethodID) => {
|
|
176
|
-
if (!paymentMethodID || !user?.currentTenantId) return;
|
|
177
|
-
try {
|
|
178
|
-
return await apiMutate(ConfigService.pgV1ApiUrl, `AppPaymentVendor/PaymentMethod/${paymentMethodID}`, { method: "GET" }, {});
|
|
179
|
-
} catch (error) {
|
|
180
|
-
throw new Error(`Error getting payment method info: ${error?.message}`);
|
|
181
|
-
}
|
|
182
|
-
}, [user]);
|
|
131
|
+
const { methods: paymentMethodsArray, isLoading: loadingPaymentMethods } = usePaymentContext(s2sToken, s2sTenantId);
|
|
183
132
|
/**
|
|
184
133
|
* API call to fetchPaymentMethod
|
|
185
134
|
*
|
|
@@ -189,8 +138,17 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
189
138
|
*/
|
|
190
139
|
const fetchPaymentMethod = useCallback(async (currentTenantID, paymentMethodId) => {
|
|
191
140
|
if (!currentTenantID || !paymentMethodId) return null;
|
|
192
|
-
|
|
193
|
-
|
|
141
|
+
const token = s2sTokenRef.current;
|
|
142
|
+
const path = token ? `AppPaymentVendor/PaymentMethod/${paymentMethodId}/S2S` : `AppPaymentVendor/PaymentMethod/${paymentMethodId}`;
|
|
143
|
+
const config = token ? {
|
|
144
|
+
method: "GET",
|
|
145
|
+
headers: {
|
|
146
|
+
Authorization: `Bearer ${token}`,
|
|
147
|
+
currentTenantId: s2sTenantId
|
|
148
|
+
}
|
|
149
|
+
} : { method: "GET" };
|
|
150
|
+
return apiMutate(ConfigService.pgV1ApiUrl, path, config, {});
|
|
151
|
+
}, [s2sTenantId]);
|
|
194
152
|
/**
|
|
195
153
|
* fetchPaymentMethodDetails
|
|
196
154
|
*
|
|
@@ -212,11 +170,22 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
212
170
|
*/
|
|
213
171
|
const executePaymentPG = useCallback(async (paymentType, requestBody) => {
|
|
214
172
|
if (!paymentType || !requestBody) return null;
|
|
215
|
-
|
|
173
|
+
const token = s2sTokenRef.current;
|
|
174
|
+
const path = token ? `ProcessPayment/${paymentType}/S2S` : `ProcessPayment/${paymentType}`;
|
|
175
|
+
const body = requestBody;
|
|
176
|
+
const config = token ? {
|
|
216
177
|
method: "POST",
|
|
217
|
-
data:
|
|
218
|
-
|
|
219
|
-
|
|
178
|
+
data: body,
|
|
179
|
+
headers: {
|
|
180
|
+
Authorization: `Bearer ${token}`,
|
|
181
|
+
currentTenantId: s2sTenantId
|
|
182
|
+
}
|
|
183
|
+
} : {
|
|
184
|
+
method: "POST",
|
|
185
|
+
data: body
|
|
186
|
+
};
|
|
187
|
+
return apiMutate(ConfigService.pgV1ApiUrl, path, config, {});
|
|
188
|
+
}, [s2sTenantId]);
|
|
220
189
|
/**
|
|
221
190
|
* executeHostedPaymentPG
|
|
222
191
|
*
|
|
@@ -224,14 +193,27 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
224
193
|
* @param {any} requestBody
|
|
225
194
|
* @return {*}
|
|
226
195
|
*/
|
|
227
|
-
const executeHostedPaymentPG = useCallback(async (
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
196
|
+
const executeHostedPaymentPG = useCallback(async (paymentType, requestBody) => {
|
|
197
|
+
console.log("executeHostedPaymentPG started");
|
|
198
|
+
if (!paymentType || !requestBody) return null;
|
|
199
|
+
const body = requestBody;
|
|
200
|
+
const token = s2sTokenRef.current;
|
|
201
|
+
const basePath = requestBody?.paymentTokenId ? `ProcessPayment/${paymentType}Profile` : `ProcessHostedPaymentPagePayment/${paymentType}`;
|
|
202
|
+
const path = token ? `${basePath}/S2S` : basePath;
|
|
203
|
+
console.log(`this is the path: ${path}`);
|
|
204
|
+
console.log(body);
|
|
205
|
+
return apiMutate(ConfigService.pgV1ApiUrl, path, token ? {
|
|
206
|
+
method: "POST",
|
|
207
|
+
data: body,
|
|
208
|
+
headers: {
|
|
209
|
+
Authorization: `Bearer ${token}`,
|
|
210
|
+
currentTenantId: s2sTenantId
|
|
211
|
+
}
|
|
212
|
+
} : {
|
|
231
213
|
method: "POST",
|
|
232
|
-
data:
|
|
214
|
+
data: body
|
|
233
215
|
}, {});
|
|
234
|
-
}, []);
|
|
216
|
+
}, [s2sTenantId]);
|
|
235
217
|
const paymentMethodLabels = useMemo(() => ({
|
|
236
218
|
"creditcard": t("Credit Card"),
|
|
237
219
|
"debitcard": t("Debit Card"),
|
|
@@ -245,129 +227,128 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
245
227
|
* @param {React.ChangeEvent<{}>} event
|
|
246
228
|
* @param {number} newValue
|
|
247
229
|
*/
|
|
230
|
+
/**
|
|
231
|
+
* Update the active method by index into the enabled list.
|
|
232
|
+
* `event` is forwarded to `onTabChange` for back-compat with consumers that
|
|
233
|
+
* expected the legacy MUI tab-change signature.
|
|
234
|
+
*/
|
|
248
235
|
const handleChange = (event, newValue) => {
|
|
249
|
-
|
|
236
|
+
freezeMethodBoxHeight();
|
|
250
237
|
setValue(newValue);
|
|
251
|
-
const selectedPaymentMethod =
|
|
238
|
+
const selectedPaymentMethod = enabledMethods?.[newValue];
|
|
252
239
|
setSelectedHostedPayment(selectedPaymentMethod?.paymentVendorConnection?.paymentVendorFactoryID);
|
|
253
240
|
setSelectedPaymentType(selectedPaymentMethod?.paymentMethodID);
|
|
254
241
|
onTabChange(event, selectedPaymentMethod);
|
|
255
242
|
};
|
|
256
|
-
const handleStatusChange = (
|
|
257
|
-
setPaymentFormStatus(
|
|
258
|
-
onFormStatusChange?.(paymentFormStatus_0);
|
|
243
|
+
const handleStatusChange = (paymentFormStatus) => {
|
|
244
|
+
setPaymentFormStatus(paymentFormStatus);
|
|
259
245
|
};
|
|
260
246
|
/**
|
|
261
|
-
*
|
|
262
|
-
*
|
|
247
|
+
* Render the form for the currently-selected method. The picker only ever
|
|
248
|
+
* surfaces enabled methods, so no disabled-overlay branch is needed.
|
|
263
249
|
*
|
|
264
|
-
* @param
|
|
265
|
-
* @
|
|
250
|
+
* @param method the active payment method
|
|
251
|
+
* @param isFormDisabled when true, locks every input in the rendered form.
|
|
252
|
+
* Driven by RFF `submitting` + our own
|
|
253
|
+
* `loadingProcessPayment` so the user can't change
|
|
254
|
+
* values mid-submit.
|
|
266
255
|
*/
|
|
267
|
-
const renderPaymentMethodForm = useCallback((method) => {
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
return /* @__PURE__ */ React.createElement("div", { style: { position: "relative" } }, isDisabled && /* @__PURE__ */ React.createElement(DisabledOverlay, { message: overlayMessage }), /* @__PURE__ */ React.createElement("div", { style: { opacity: isDisabled ? .5 : 1 } }, method?.name?.toLowerCase() === PAYMENT_METHODS.CREDIT_CARD && /* @__PURE__ */ React.createElement(CreditCardForm, {
|
|
256
|
+
const renderPaymentMethodForm = useCallback((method, isFormDisabled) => {
|
|
257
|
+
const name = method?.name?.toLowerCase();
|
|
258
|
+
if (name === PAYMENT_METHODS.CREDIT_CARD) return /* @__PURE__ */ React.createElement(CreditCardForm, {
|
|
271
259
|
onStatusChange: handleStatusChange,
|
|
272
260
|
paymentDetails,
|
|
273
|
-
externalId,
|
|
261
|
+
externalId: externalId !== void 0 ? String(externalId) : void 0,
|
|
274
262
|
setSelectedPaymentAccount,
|
|
275
263
|
actionLabel,
|
|
264
|
+
isFormDisabled,
|
|
265
|
+
allowSaveMethod: allowSavePaymentMethod,
|
|
266
|
+
s2sToken,
|
|
267
|
+
s2sTenantId,
|
|
276
268
|
...method
|
|
277
|
-
})
|
|
269
|
+
});
|
|
270
|
+
if (name === PAYMENT_METHODS.CASH) return /* @__PURE__ */ React.createElement(CashForm, {
|
|
278
271
|
onStatusChange: handleStatusChange,
|
|
279
272
|
paymentDetails,
|
|
273
|
+
isFormDisabled,
|
|
280
274
|
...method
|
|
281
|
-
})
|
|
275
|
+
});
|
|
276
|
+
if (name === PAYMENT_METHODS.E_CHECK) return /* @__PURE__ */ React.createElement(BankAccountForm, {
|
|
282
277
|
bankAccountTypes,
|
|
283
278
|
onStatusChange: handleStatusChange,
|
|
284
279
|
paymentDetails,
|
|
285
|
-
externalId,
|
|
280
|
+
externalId: externalId !== void 0 ? String(externalId) : void 0,
|
|
286
281
|
setSelectedPaymentAccount,
|
|
287
282
|
actionLabel,
|
|
283
|
+
isFormDisabled,
|
|
284
|
+
allowSaveMethod: allowSavePaymentMethod,
|
|
285
|
+
s2sToken,
|
|
286
|
+
s2sTenantId,
|
|
288
287
|
...method
|
|
289
|
-
})
|
|
288
|
+
});
|
|
289
|
+
if (name === PAYMENT_METHODS.DEBIT_CARD) return /* @__PURE__ */ React.createElement(CreditCardForm, {
|
|
290
290
|
onStatusChange: handleStatusChange,
|
|
291
291
|
paymentDetails,
|
|
292
|
+
isFormDisabled,
|
|
293
|
+
allowSaveMethod: allowSavePaymentMethod,
|
|
294
|
+
s2sToken,
|
|
295
|
+
s2sTenantId,
|
|
292
296
|
...method
|
|
293
|
-
})
|
|
294
|
-
|
|
297
|
+
});
|
|
298
|
+
return null;
|
|
299
|
+
}, [
|
|
300
|
+
paymentDetails,
|
|
301
|
+
bankAccountTypes,
|
|
302
|
+
externalId,
|
|
303
|
+
actionLabel,
|
|
304
|
+
allowSavePaymentMethod,
|
|
305
|
+
s2sToken,
|
|
306
|
+
s2sTenantId
|
|
307
|
+
]);
|
|
295
308
|
/**
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
309
|
+
* Enabled (configured) methods only. Unconfigured methods are hidden from the
|
|
310
|
+
* picker entirely — today's behaviour of "show a disabled tab with a !
|
|
311
|
+
* badge" was confusing and inaccessible.
|
|
312
|
+
*/
|
|
313
|
+
const enabledMethods = useMemo(() => paymentMethodsArray?.filter((m) => m.enabled) ?? [], [paymentMethodsArray]);
|
|
314
|
+
const activeMethod = enabledMethods[value] ?? enabledMethods[0];
|
|
315
|
+
/**
|
|
316
|
+
* Sandbox mode for the currently-selected method's vendor connection.
|
|
299
317
|
*/
|
|
300
318
|
const isSandBoxMode = useMemo(() => {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
319
|
+
return activeMethod?.paymentVendorConnection?.isLiveMode === false;
|
|
320
|
+
}, [activeMethod]);
|
|
321
|
+
/**
|
|
322
|
+
* ICheck and Paymentus both render their own submit button inside the
|
|
323
|
+
* hosted iframe and auto-submit this form once the iframe posts back a
|
|
324
|
+
* token (see handleICheckPaymentFormStatus below) — our own submit button
|
|
325
|
+
* would just be a confusing second button. Fiserv's hosted iframe has no
|
|
326
|
+
* button of its own, so it still needs ours.
|
|
327
|
+
*/
|
|
328
|
+
const isAutoSubmitHostedMethod = activeMethod?.isHostedPaymentPage === true && (activeMethod?.providerType === PaymentVendorFactoryEnum.ICheck || activeMethod?.providerType === PaymentVendorFactoryEnum.Paymentus);
|
|
329
|
+
useEffect(() => {
|
|
330
|
+
if (enabledMethods.length === 0) return;
|
|
331
|
+
if (value >= enabledMethods.length) setValue(0);
|
|
332
|
+
}, [enabledMethods.length, value]);
|
|
305
333
|
/**
|
|
306
334
|
* getPaymentMethodLabel
|
|
307
335
|
*
|
|
308
336
|
* @param {*} method
|
|
309
337
|
* @return {*}
|
|
310
338
|
*/
|
|
311
|
-
const getPaymentMethodLabel = (
|
|
312
|
-
const normalizedMethodName =
|
|
313
|
-
return paymentMethodLabels?.[normalizedMethodName] ||
|
|
339
|
+
const getPaymentMethodLabel = (method) => {
|
|
340
|
+
const normalizedMethodName = method?.name?.toLowerCase().replace(/\s+/g, "") || "";
|
|
341
|
+
return paymentMethodLabels?.[normalizedMethodName] || method.name;
|
|
314
342
|
};
|
|
315
343
|
/**
|
|
316
|
-
* setPaymentMethodsEnabled
|
|
317
|
-
* take every paymentMethod (eCheck, credit card, etc) and verify if the payment methods are enabled or not
|
|
318
|
-
* @return {*}
|
|
319
|
-
*/
|
|
320
|
-
const setPaymentMethodsEnabled = useCallback(async () => {
|
|
321
|
-
const validPaymentMethods = paymentMethods?.filter(Boolean);
|
|
322
|
-
const filteredResults = (await Promise.allSettled(validPaymentMethods?.map(async (paymentMethod_0) => {
|
|
323
|
-
try {
|
|
324
|
-
const paymentMethodEnable = await getPaymentMethodInfo(paymentMethod_0.paymentMethodID);
|
|
325
|
-
const paymentVendorConnection = paymentMethodEnable?.data?.paymentVendorConnection || null;
|
|
326
|
-
const providerType = paymentVendorConnection?.paymentVendorFactoryID;
|
|
327
|
-
const hostedPaymentPageSetup = paymentVendorConnection?.hostedPaymentPageSetup.find((x) => x.useHostedPaymentPage) || null;
|
|
328
|
-
const isHostedPaymentPage = hostedPaymentPageSetup?.useHostedPaymentPage || false;
|
|
329
|
-
let providerProps = {};
|
|
330
|
-
let hasReadPropertiesError = false;
|
|
331
|
-
let readPropertiesMessageError = null;
|
|
332
|
-
if (isHostedPaymentPage) {
|
|
333
|
-
const { error: error_1, attributes } = stringToProps(hostedPaymentPageSetup?.hostedPaymentPageConfig);
|
|
334
|
-
providerProps = {
|
|
335
|
-
customCss: hostedPaymentPageSetup?.customCSS,
|
|
336
|
-
attributes,
|
|
337
|
-
...attributes?.baseUrl ? { baseUrl: attributes?.baseUrl } : null
|
|
338
|
-
};
|
|
339
|
-
hasReadPropertiesError = error_1 ? true : false;
|
|
340
|
-
readPropertiesMessageError = error_1;
|
|
341
|
-
}
|
|
342
|
-
return {
|
|
343
|
-
paymentMethodID: paymentMethod_0.paymentMethodID,
|
|
344
|
-
name: paymentMethod_0.name,
|
|
345
|
-
enabled: paymentMethodEnable?.status === 200,
|
|
346
|
-
data: paymentMethodEnable?.status === 200 ? paymentMethodEnable.data : null,
|
|
347
|
-
paymentVendorConnection,
|
|
348
|
-
isHostedPaymentPage,
|
|
349
|
-
providerType,
|
|
350
|
-
providerProps,
|
|
351
|
-
hasReadPropertiesError,
|
|
352
|
-
readPropertiesMessageError
|
|
353
|
-
};
|
|
354
|
-
} catch (error_0) {
|
|
355
|
-
console.error(`Error fetching payment method info for ${paymentMethod_0?.paymentMethodID}:`, error_0);
|
|
356
|
-
return null;
|
|
357
|
-
}
|
|
358
|
-
}))).filter((result_1) => result_1.status === "fulfilled" && result_1.value !== null).map((result_2) => result_2.value) || null;
|
|
359
|
-
setPaymentMethodsArray(filteredResults);
|
|
360
|
-
setSelectedHostedPayment(filteredResults?.find((x_0) => x_0.enabled)?.providerType || null);
|
|
361
|
-
}, [paymentMethods]);
|
|
362
|
-
/**
|
|
363
344
|
* createHostedPaymentRequest
|
|
364
345
|
*
|
|
365
346
|
* @param {*} baseRequest
|
|
366
347
|
* @param {*} paymentMethod
|
|
367
348
|
* @return {*}
|
|
368
349
|
*/
|
|
369
|
-
const createHostedPaymentRequest = useCallback((baseRequest,
|
|
370
|
-
const vendorFactoryID =
|
|
350
|
+
const createHostedPaymentRequest = useCallback((baseRequest, paymentMethod, paymentMethodId, selectedPaymentAccount) => {
|
|
351
|
+
const vendorFactoryID = paymentMethod.paymentVendorConnection?.paymentVendorFactoryID;
|
|
371
352
|
let vendorRequest = {};
|
|
372
353
|
switch (vendorFactoryID) {
|
|
373
354
|
case PaymentVendorFactoryEnum.Fiserv:
|
|
@@ -381,7 +362,7 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
381
362
|
vendorRequest = { ResponseData: JSON.parse(paymentFormStatus?.payload)?.transactionResponse };
|
|
382
363
|
break;
|
|
383
364
|
case PaymentVendorFactoryEnum.Paymentus:
|
|
384
|
-
const paymentTokenId =
|
|
365
|
+
const paymentTokenId = selectedPaymentAccount ? selectedPaymentAccount?.paymentTokenID : null;
|
|
385
366
|
vendorRequest = {
|
|
386
367
|
NameOnAccount: paymentFormStatus?.payload?.CardHolderName,
|
|
387
368
|
HostedPageToken: paymentFormStatus?.payload?.Token,
|
|
@@ -404,8 +385,8 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
404
385
|
* @param {*} formData
|
|
405
386
|
* @return {*}
|
|
406
387
|
*/
|
|
407
|
-
const createNonHostedPaymentRequest = useCallback((
|
|
408
|
-
let dataRequest = { ...
|
|
388
|
+
const createNonHostedPaymentRequest = useCallback((baseRequest, formData) => {
|
|
389
|
+
let dataRequest = { ...baseRequest };
|
|
409
390
|
if (selectedPaymentType === PaymentMethodTypeEnum.CreditCard) Object.assign(dataRequest, setCreditCardAttr(formData));
|
|
410
391
|
else if (selectedPaymentType === PaymentMethodTypeEnum.eCheck) Object.assign(dataRequest, setECheckAttr(formData));
|
|
411
392
|
return dataRequest;
|
|
@@ -418,9 +399,9 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
418
399
|
* @param {*} isHostedPayment
|
|
419
400
|
* @return {*}
|
|
420
401
|
*/
|
|
421
|
-
const createDataRequest = useCallback((
|
|
422
|
-
const
|
|
423
|
-
return isHostedPayment ? createHostedPaymentRequest(
|
|
402
|
+
const createDataRequest = useCallback((formData, paymentMethod, isHostedPayment, paymentMethodId, selectedPaymentAccount) => {
|
|
403
|
+
const baseRequest = presetDataRequest(formData, paymentMethod, isHostedPayment);
|
|
404
|
+
return isHostedPayment ? createHostedPaymentRequest(baseRequest, paymentMethod, paymentMethodId, selectedPaymentAccount) : createNonHostedPaymentRequest(baseRequest, formData);
|
|
424
405
|
}, [
|
|
425
406
|
paymentFormStatus,
|
|
426
407
|
user,
|
|
@@ -437,12 +418,13 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
437
418
|
* @param {boolean} isHostedPayment Indicates if the payment is a hosted payment.
|
|
438
419
|
* @return {*} The result of the payment execution.
|
|
439
420
|
*/
|
|
440
|
-
const executePayment = useCallback(async (
|
|
441
|
-
if (!
|
|
442
|
-
if (typeof
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
421
|
+
const executePayment = useCallback(async (paymentMethodId, dataRequest, isHostedPayment) => {
|
|
422
|
+
if (!paymentMethodId || !dataRequest) throw new Error(t("Invalid payment data"));
|
|
423
|
+
if (typeof isHostedPayment !== "boolean") throw new Error(t("Invalid hosted payment flag"));
|
|
424
|
+
console.log(`execute payment start`);
|
|
425
|
+
const paymentMethodName = PaymentMethodTypeEnum?.[paymentMethodId];
|
|
426
|
+
if (!paymentMethodName) throw new Error(t("Unknown payment method") + `: ${paymentMethodId}`);
|
|
427
|
+
return (isHostedPayment ? await executeHostedPaymentPG(paymentMethodName, dataRequest) : await executePaymentPG(paymentMethodName, dataRequest))?.data || null;
|
|
446
428
|
}, [executePaymentPG, executeHostedPaymentPG]);
|
|
447
429
|
/**
|
|
448
430
|
* setCreditCardAttr
|
|
@@ -452,50 +434,92 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
452
434
|
* @param {IPaymentMethod} paymentMethod
|
|
453
435
|
* @return {*}
|
|
454
436
|
*/
|
|
455
|
-
const setCreditCardAttr = (
|
|
456
|
-
const expireMonth =
|
|
457
|
-
const expirationDate = `20${
|
|
437
|
+
const setCreditCardAttr = (formData) => {
|
|
438
|
+
const expireMonth = formData.expiryDate.split("/")?.[0];
|
|
439
|
+
const expirationDate = `20${formData.expiryDate.split("/")?.[1]}-${expireMonth}-01`;
|
|
458
440
|
return {
|
|
459
|
-
CardNumber:
|
|
441
|
+
CardNumber: formData.cardNumber.replace(/\s/g, ""),
|
|
460
442
|
ExpirationDate: expirationDate,
|
|
461
|
-
SecurityCode:
|
|
443
|
+
SecurityCode: formData.cvv
|
|
462
444
|
};
|
|
463
445
|
};
|
|
464
446
|
/**
|
|
465
447
|
* setECheckAttr
|
|
466
448
|
* @param {*} formData
|
|
467
449
|
*/
|
|
468
|
-
const setECheckAttr = (
|
|
469
|
-
routingNumber:
|
|
470
|
-
accountNumber:
|
|
450
|
+
const setECheckAttr = (formData) => ({
|
|
451
|
+
routingNumber: formData.routingNumber.replace(/\s/g, ""),
|
|
452
|
+
accountNumber: formData.accountNumber.replace(/\s/g, "")
|
|
471
453
|
});
|
|
472
454
|
/**
|
|
473
455
|
* submitPaymentForm
|
|
474
456
|
* Processes the payment form submission.
|
|
475
457
|
* @param {*} formData The form data.
|
|
476
458
|
*/
|
|
477
|
-
const submitPaymentForm = useCallback(async (
|
|
478
|
-
if (!
|
|
459
|
+
const submitPaymentForm = useCallback(async (formData) => {
|
|
460
|
+
if (!formData) return;
|
|
461
|
+
if (loadingPaymentMethods || enabledMethods.length === 0) return;
|
|
479
462
|
setLoadingProcessPayment(true);
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
463
|
+
if (refreshS2sToken) try {
|
|
464
|
+
const freshToken = await refreshS2sToken();
|
|
465
|
+
if (freshToken) s2sTokenRef.current = freshToken;
|
|
466
|
+
} catch (error) {
|
|
467
|
+
console.warn("refreshS2sToken failed; submitting with the existing token", error);
|
|
468
|
+
}
|
|
469
|
+
const retryOnAuthError = async (call) => {
|
|
470
|
+
try {
|
|
471
|
+
return await call();
|
|
472
|
+
} catch (error) {
|
|
473
|
+
if (!refreshS2sToken || error?.response?.status !== 403) throw error;
|
|
474
|
+
let freshToken;
|
|
475
|
+
try {
|
|
476
|
+
freshToken = await refreshS2sToken();
|
|
477
|
+
} catch {
|
|
478
|
+
throw error;
|
|
479
|
+
}
|
|
480
|
+
if (!freshToken) throw error;
|
|
481
|
+
s2sTokenRef.current = freshToken;
|
|
482
|
+
return call();
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
const currentTenantID = s2sTokenRef.current ? s2sTenantId : user?.currentTenantId;
|
|
486
|
+
const paymentMethodId = selectedPaymentType;
|
|
487
|
+
if (!currentTenantID || !paymentMethodId) {
|
|
488
|
+
onSubmitCompleted?.(null, {
|
|
489
|
+
error: true,
|
|
490
|
+
message: "Missing tenant ID or payment method ID"
|
|
491
|
+
});
|
|
492
|
+
setLoadingProcessPayment(false);
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
console.log("started exectute payment");
|
|
483
496
|
try {
|
|
484
|
-
const
|
|
485
|
-
const
|
|
486
|
-
const
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
497
|
+
const paymentMethod = await retryOnAuthError(() => fetchPaymentMethodDetails(currentTenantID, paymentMethodId));
|
|
498
|
+
const isHostedPayment = paymentMethod.paymentVendorConnection?.hostedPaymentPageSetup?.[0]?.useHostedPaymentPage || false;
|
|
499
|
+
const dataRequest = createDataRequest(formData, paymentMethod, isHostedPayment, paymentMethodId, selectedPaymentAccount);
|
|
500
|
+
const paymentResult = await retryOnAuthError(() => executePayment(paymentMethodId, dataRequest, isHostedPayment));
|
|
501
|
+
onSubmitCompleted?.(formData, paymentResult);
|
|
502
|
+
} catch (error) {
|
|
503
|
+
console.error("Error processing payment:", error);
|
|
504
|
+
onSubmitCompleted?.(formData, {
|
|
505
|
+
error: true,
|
|
506
|
+
message: error?.message ?? "Error processing payment"
|
|
507
|
+
});
|
|
490
508
|
} finally {
|
|
491
509
|
setLoadingProcessPayment(false);
|
|
492
510
|
}
|
|
493
511
|
}, [
|
|
494
|
-
paymentFormStatus,
|
|
495
512
|
createDataRequest,
|
|
496
513
|
selectedPaymentType,
|
|
497
514
|
user,
|
|
498
|
-
selectedPaymentAccount
|
|
515
|
+
selectedPaymentAccount,
|
|
516
|
+
s2sTenantId,
|
|
517
|
+
refreshS2sToken,
|
|
518
|
+
executePayment,
|
|
519
|
+
fetchPaymentMethodDetails,
|
|
520
|
+
onSubmitCompleted,
|
|
521
|
+
loadingPaymentMethods,
|
|
522
|
+
enabledMethods
|
|
499
523
|
]);
|
|
500
524
|
/**
|
|
501
525
|
* Handles the form submission for iCheck payments.
|
|
@@ -506,100 +530,76 @@ const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDe
|
|
|
506
530
|
*
|
|
507
531
|
*/
|
|
508
532
|
const handleICheckPaymentFormStatus = useCallback(() => {
|
|
509
|
-
|
|
533
|
+
const vendor = paymentFormStatus?.selectedHostedPayment;
|
|
534
|
+
if ((vendor === PaymentVendorFactoryEnum.ICheck || vendor === PaymentVendorFactoryEnum.Paymentus) && formRef?.current) formRef.current.submit();
|
|
510
535
|
}, [paymentFormStatus]);
|
|
511
536
|
useEffect(() => {
|
|
512
|
-
|
|
513
|
-
|
|
537
|
+
if (!paymentMethodsArray) return;
|
|
538
|
+
setSelectedHostedPayment(paymentMethodsArray.find((m) => m.enabled)?.providerType ?? null);
|
|
539
|
+
}, [paymentMethodsArray]);
|
|
514
540
|
useEffect(() => {
|
|
515
541
|
onFormStatusChange?.(paymentFormStatus);
|
|
516
542
|
handleICheckPaymentFormStatus();
|
|
517
543
|
}, [paymentFormStatus]);
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
display: "flex",
|
|
527
|
-
alignItems: "center",
|
|
528
|
-
justifyContent: "center"
|
|
529
|
-
} }, /* @__PURE__ */ React.createElement(CircularProgress$1, {
|
|
530
|
-
size: "3rem",
|
|
531
|
-
color: "primary"
|
|
532
|
-
})), /* @__PURE__ */ React.createElement(Form, {
|
|
544
|
+
useEffect(() => {
|
|
545
|
+
onSubmittingChange?.(loadingProcessPayment);
|
|
546
|
+
}, [loadingProcessPayment]);
|
|
547
|
+
const isReadyToSubmit = !loadingPaymentMethods && enabledMethods.length > 0 && paymentFormStatus?.isValid !== false;
|
|
548
|
+
useEffect(() => {
|
|
549
|
+
onReadyChange?.(isReadyToSubmit);
|
|
550
|
+
}, [isReadyToSubmit]);
|
|
551
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Form, {
|
|
533
552
|
id,
|
|
534
553
|
onSubmit: submitPaymentForm,
|
|
535
|
-
autocomplete: "off",
|
|
536
554
|
render: (params) => {
|
|
537
555
|
formRef.current = params?.form;
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}, childrenPosition === "before" && children, /* @__PURE__ */ React.createElement(
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
key: method_1.paymentMethodID,
|
|
558
|
-
icon: getPaymentMethodIcon(method_1.name, value === index, method_1.enabled, theme),
|
|
559
|
-
label: getPaymentMethodLabel(method_1),
|
|
560
|
-
"aria-label": getPaymentMethodLabel(method_1),
|
|
561
|
-
className: classes.tab
|
|
562
|
-
})))), /* @__PURE__ */ React.createElement(Card, { className: classes.cardFullWidth }, /* @__PURE__ */ React.createElement(CardContent, { className: classes.paddingZero }, (loading || loadingPaymentMethods) && /* @__PURE__ */ React.createElement(LinearProgress, null), /* @__PURE__ */ React.createElement(Grow, {
|
|
563
|
-
in: isSandBoxMode,
|
|
564
|
-
style: {
|
|
565
|
-
transformOrigin: "0 0 0",
|
|
566
|
-
display: isSandBoxMode ? "flex" : "none"
|
|
567
|
-
},
|
|
568
|
-
timeout: 800
|
|
569
|
-
}, /* @__PURE__ */ React.createElement(Box$1, {
|
|
570
|
-
display: "flex",
|
|
571
|
-
flexDirection: "row",
|
|
572
|
-
justifyContent: "space-between",
|
|
573
|
-
alignItems: "center",
|
|
574
|
-
style: {
|
|
575
|
-
gap: "8px",
|
|
576
|
-
boxSizing: "border-box",
|
|
577
|
-
background: "#FFF2CD",
|
|
578
|
-
borderWidth: "1px 0px",
|
|
579
|
-
borderStyle: "solid",
|
|
580
|
-
borderColor: "rgba(0, 0, 0, 0.12)",
|
|
581
|
-
padding: "10px"
|
|
556
|
+
const hasMultipleMethods = enabledMethods.length > 1;
|
|
557
|
+
const hasNoMethods = paymentMethodsArray !== void 0 && enabledMethods.length === 0 && !loadingPaymentMethods;
|
|
558
|
+
const isSubmitting = Boolean(params?.submitting) || loadingProcessPayment;
|
|
559
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(UdpFlexbox, {
|
|
560
|
+
direction: "column",
|
|
561
|
+
gap: "md",
|
|
562
|
+
wrap: "nowrap"
|
|
563
|
+
}, childrenPosition === "before" && children, (loading || loadingPaymentMethods) && /* @__PURE__ */ React.createElement(UdpProgressBar, null), hasNoMethods && /* @__PURE__ */ React.createElement(UdpMessageBar, { intent: "error" }, t("No payment methods are available for this account")), showSandboxBanner && isSandBoxMode && /* @__PURE__ */ React.createElement(UdpMessageBar, { intent: "warning" }, t("You are currently in test mode using a Sandbox account")), hasMultipleMethods && methodPicker === "tabs" && /* @__PURE__ */ React.createElement(UdpTablist, {
|
|
564
|
+
size: "small",
|
|
565
|
+
disabled: isSubmitting,
|
|
566
|
+
activeId: String(activeMethod?.paymentMethodID ?? ""),
|
|
567
|
+
tabList: enabledMethods.map((m) => ({
|
|
568
|
+
id: String(m.paymentMethodID),
|
|
569
|
+
label: getPaymentMethodLabel(m)
|
|
570
|
+
})),
|
|
571
|
+
onTabChange: (e) => {
|
|
572
|
+
const id = String(e.detail);
|
|
573
|
+
const nextIdx = enabledMethods.findIndex((m) => String(m.paymentMethodID) === id);
|
|
574
|
+
if (nextIdx >= 0) handleChange(e, nextIdx);
|
|
582
575
|
}
|
|
583
|
-
}, /* @__PURE__ */ React.createElement(
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
576
|
+
}), hasMultipleMethods && methodPicker === "radio" && /* @__PURE__ */ React.createElement(UdpRadioGroup, {
|
|
577
|
+
label: t("Payment method"),
|
|
578
|
+
name: "paymentMethod",
|
|
579
|
+
disabled: isSubmitting,
|
|
580
|
+
includeErrorPadding: false,
|
|
581
|
+
value: String(activeMethod?.paymentMethodID ?? ""),
|
|
582
|
+
items: enabledMethods.map((m) => ({
|
|
583
|
+
label: getPaymentMethodLabel(m),
|
|
584
|
+
value: String(m.paymentMethodID)
|
|
585
|
+
})),
|
|
586
|
+
onChange: (e) => {
|
|
587
|
+
const id = e.target.value;
|
|
588
|
+
const nextIdx = enabledMethods.findIndex((m) => String(m.paymentMethodID) === id);
|
|
589
|
+
if (nextIdx >= 0) handleChange(e, nextIdx);
|
|
588
590
|
}
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
color: "secondary",
|
|
596
|
-
disabled: false,
|
|
591
|
+
}), /* @__PURE__ */ React.createElement("div", { ref: methodBoxRef }, activeMethod && renderPaymentMethodForm(activeMethod, isSubmitting)), submit && /* @__PURE__ */ React.createElement(UdpFlexbox, {
|
|
592
|
+
direction: "row",
|
|
593
|
+
gap: "sm",
|
|
594
|
+
align: "center",
|
|
595
|
+
wrap: "nowrap"
|
|
596
|
+
}, actionsStart, !isAutoSubmitHostedMethod && /* @__PURE__ */ React.createElement(UdpButton, {
|
|
597
597
|
type: "submit",
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
}
|
|
598
|
+
form: id,
|
|
599
|
+
appearance: "primary",
|
|
600
|
+
loading: loading || loadingProcessPayment,
|
|
601
|
+
disabled: loadingPaymentMethods || hasNoMethods || paymentFormStatus?.isValid === false
|
|
602
|
+
}, actionLabel || t("Save"))), childrenPosition === "after" && children, typeof render === "function" ? render(params) : render), childrenPosition === "outside" && children);
|
|
603
603
|
}
|
|
604
604
|
}));
|
|
605
605
|
};
|