udp-react-enterprise-component-library 26.5.0-beta.9 → 26.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (932) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/UI/AlertContainer.mjs +1 -1
  3. package/dist/UI/Box.mjs +1 -1
  4. package/dist/UI/Grid.mjs +1 -1
  5. package/dist/UI/accordion/Accordion.mjs +1 -1
  6. package/dist/UI/advancedSearchBuilder/UdpAdvancedSearchBuilder.mjs +1 -1
  7. package/dist/UI/charts/ag/UdpAgAreaChart.mjs +1 -1
  8. package/dist/UI/charts/ag/UdpAgBarChart.mjs +1 -1
  9. package/dist/UI/charts/ag/UdpAgBubbleChart.mjs +1 -1
  10. package/dist/UI/charts/ag/UdpAgComboChart.mjs +1 -1
  11. package/dist/UI/charts/ag/UdpAgDonutChart.mjs +1 -1
  12. package/dist/UI/charts/ag/UdpAgLineChart.mjs +1 -1
  13. package/dist/UI/charts/ag/UdpAgPieChart.mjs +1 -1
  14. package/dist/UI/charts/ag/UdpAgScatterChart.mjs +1 -1
  15. package/dist/UI/charts/amcharts/UdpBarChart.mjs +1 -1
  16. package/dist/UI/charts/amcharts/UdpDistributionChart.mjs +1 -1
  17. package/dist/UI/charts/amcharts/UdpDonutChart.mjs +1 -1
  18. package/dist/UI/charts/amcharts/UdpLineChart.mjs +1 -1
  19. package/dist/UI/charts/amcharts/UdpSankeyChart.mjs +1 -1
  20. package/dist/UI/charts/amcharts/UdpXYMultiSeriesChart.mjs +1 -1
  21. package/dist/UI/components/dataDisplay/Ellipse.mjs +1 -1
  22. package/dist/UI/components/dataDisplay/EmailDisplay.mjs +1 -1
  23. package/dist/UI/components/dataDisplay/SmsDisplay.mjs +1 -1
  24. package/dist/UI/components/dataDisplay/Sticky.mjs +1 -1
  25. package/dist/UI/components/dataDisplay/Token.mjs +1 -1
  26. package/dist/UI/components/feedback/Adornment.mjs +1 -1
  27. package/dist/UI/dataDisplay/AmbientList.mjs +1 -1
  28. package/dist/UI/dataDisplay/AvatarAlphabet.mjs +1 -1
  29. package/dist/UI/dataDisplay/ChipAlphabet.mjs +1 -1
  30. package/dist/UI/dataDisplay/CompactDataList.mjs +1 -1
  31. package/dist/UI/dataDisplay/CompactDataListItem.mjs +1 -1
  32. package/dist/UI/dataDisplay/EmptyStateDisplay.mjs +1 -1
  33. package/dist/UI/dataDisplay/FluentActivity/FluentActivity.mjs +1 -1
  34. package/dist/UI/dataDisplay/FluentActivity/FluentActivityRow.mjs +1 -1
  35. package/dist/UI/dataDisplay/FluentDataTable/FluentBody/index.mjs +1 -1
  36. package/dist/UI/dataDisplay/FluentDataTable/FluentCell/index.mjs +1 -1
  37. package/dist/UI/dataDisplay/FluentDataTable/FluentHead/index.mjs +1 -1
  38. package/dist/UI/dataDisplay/FluentDataTable/FluentRow/index.mjs +1 -1
  39. package/dist/UI/dataDisplay/FluentListElement.mjs +1 -1
  40. package/dist/UI/dataDisplay/FluentListItem.mjs +1 -1
  41. package/dist/UI/dataDisplay/GraphCard/GraphCard.mjs +1 -1
  42. package/dist/UI/dataDisplay/HeaderExpander.mjs +1 -1
  43. package/dist/UI/dataDisplay/SummaryBlock.mjs +1 -1
  44. package/dist/UI/dataDisplay/UdpDetailList.mjs +1 -1
  45. package/dist/UI/dataDisplay/UdpDetailListItem.mjs +1 -1
  46. package/dist/UI/dataDisplay/address/AddressListItem.mjs +1 -1
  47. package/dist/UI/dataDisplay/calendar/TimelineCalendar.mjs +1 -1
  48. package/dist/UI/dataDisplay/cardList/CardList.mjs +1 -1
  49. package/dist/UI/dataDisplay/directory/Directory.mjs +1 -1
  50. package/dist/UI/dataDisplay/directory/DirectoryListItem.mjs +1 -1
  51. package/dist/UI/dataDisplay/entityHeader/EntityHeader.mjs +1 -1
  52. package/dist/UI/dataDisplay/entityHeader/functions/useElementWidth.mjs +1 -1
  53. package/dist/UI/dataDisplay/entityHeader/ui/AlertPill.mjs +1 -1
  54. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.mjs +1 -1
  55. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.mjs +1 -1
  56. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderList.mjs +1 -1
  57. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.mjs +1 -1
  58. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.mjs +1 -1
  59. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.mjs +1 -1
  60. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.mjs +1 -1
  61. package/dist/UI/dataDisplay/map/ColorKey.mjs +1 -1
  62. package/dist/UI/dataDisplay/map/FluentIconKey.mjs +1 -1
  63. package/dist/UI/dataDisplay/map/IconKey.mjs +1 -1
  64. package/dist/UI/dataDisplay/notes/Note.mjs +1 -1
  65. package/dist/UI/dataDisplay/notes/Notes.mjs +1 -1
  66. package/dist/UI/dataDisplay/status/StatusChip.mjs +1 -1
  67. package/dist/UI/dataDisplay/status/StatusFlags.mjs +1 -1
  68. package/dist/UI/dataDisplay/ticketCard/NotificationElement.mjs +1 -1
  69. package/dist/UI/dataDisplay/ticketCard/StatusLineItem.mjs +1 -1
  70. package/dist/UI/dataDisplay/ticketCard/TicketCard.mjs +1 -1
  71. package/dist/UI/dataDisplay/typography/FormHeaders.mjs +1 -1
  72. package/dist/UI/dataDisplay/typography/SideSheetHeader.mjs +1 -1
  73. package/dist/UI/dataDisplay/typography/SidebarHeader.mjs +1 -1
  74. package/dist/UI/dataDisplay/typography/StandardTitle.mjs +1 -1
  75. package/dist/UI/dataDisplay/typography/StylizedTitle.mjs +1 -1
  76. package/dist/UI/dataDisplay/typography/Typography.mjs +1 -1
  77. package/dist/UI/dataDisplay/visualization/AmbientVisualizer.mjs +1 -1
  78. package/dist/UI/dataDisplay/visualization/GaugeGraph.mjs +1 -1
  79. package/dist/UI/dataDisplay/visualization/RatioVisulization.mjs +1 -1
  80. package/dist/UI/dataDisplay/visualization/amCharts/AmChart.mjs +1 -1
  81. package/dist/UI/feedback/AmbientAlert.mjs +1 -1
  82. package/dist/UI/feedback/AmbientToast.mjs +1 -1
  83. package/dist/UI/feedback/FluentDialog.mjs +1 -1
  84. package/dist/UI/feedback/MenuLoader.mjs +1 -1
  85. package/dist/UI/feedback/NodeLoader.mjs +1 -1
  86. package/dist/UI/feedback/PageLoading.mjs +1 -1
  87. package/dist/UI/fileViewer/imageSlider/Image.mjs +1 -1
  88. package/dist/UI/fileViewer/imageSlider/ImageFooter.mjs +1 -1
  89. package/dist/UI/fileViewer/imageSlider/ImageSlider.mjs +1 -1
  90. package/dist/UI/fileViewer/imageSlider/ImageViewerSideSheet.mjs +1 -1
  91. package/dist/UI/fileViewer/pdfViewer/ControlPanel.mjs +1 -1
  92. package/dist/UI/fileViewer/pdfViewer/PDFViewer.mjs +1 -1
  93. package/dist/UI/floorplans/CoreLayoutFloorplan.mjs +1 -1
  94. package/dist/UI/fluent-web-components/UdpAccordion.mjs +1 -1
  95. package/dist/UI/fluent-web-components/UdpAutocomplete.mjs +1 -1
  96. package/dist/UI/fluent-web-components/UdpAvatar.mjs +1 -1
  97. package/dist/UI/fluent-web-components/UdpBadge.mjs +1 -1
  98. package/dist/UI/fluent-web-components/UdpButton.mjs +1 -1
  99. package/dist/UI/fluent-web-components/UdpCard.mjs +1 -1
  100. package/dist/UI/fluent-web-components/UdpCheckbox.mjs +1 -1
  101. package/dist/UI/fluent-web-components/UdpChip.mjs +1 -1
  102. package/dist/UI/fluent-web-components/UdpCompoundButton.mjs +1 -1
  103. package/dist/UI/fluent-web-components/UdpContainerQuery.mjs +1 -1
  104. package/dist/UI/fluent-web-components/UdpContainerQueryGrid.mjs +1 -1
  105. package/dist/UI/fluent-web-components/UdpCounterBadge.mjs +1 -1
  106. package/dist/UI/fluent-web-components/UdpDateInput.mjs +1 -1
  107. package/dist/UI/fluent-web-components/UdpDatePicker.mjs +1 -1
  108. package/dist/UI/fluent-web-components/UdpDateTimeInput.mjs +1 -1
  109. package/dist/UI/fluent-web-components/UdpDialog.mjs +1 -1
  110. package/dist/UI/fluent-web-components/UdpDivider.mjs +1 -1
  111. package/dist/UI/fluent-web-components/UdpDrawer.mjs +1 -1
  112. package/dist/UI/fluent-web-components/UdpDropdown.mjs +1 -1
  113. package/dist/UI/fluent-web-components/UdpDurationInput.mjs +1 -1
  114. package/dist/UI/fluent-web-components/UdpEmptyState.mjs +1 -1
  115. package/dist/UI/fluent-web-components/UdpFileInput.mjs +1 -1
  116. package/dist/UI/fluent-web-components/UdpFlexbox.mjs +1 -1
  117. package/dist/UI/fluent-web-components/UdpIcon.mjs +3 -3
  118. package/dist/UI/fluent-web-components/UdpIcon.mjs.map +1 -1
  119. package/dist/UI/fluent-web-components/UdpIconButton.mjs +1 -1
  120. package/dist/UI/fluent-web-components/UdpIconGrid.mjs +1 -1
  121. package/dist/UI/fluent-web-components/UdpImage.mjs +1 -1
  122. package/dist/UI/fluent-web-components/UdpLink.mjs +1 -1
  123. package/dist/UI/fluent-web-components/UdpList.mjs +1 -1
  124. package/dist/UI/fluent-web-components/UdpListItem.mjs +1 -1
  125. package/dist/UI/fluent-web-components/UdpLocationInput.mjs +1 -1
  126. package/dist/UI/fluent-web-components/UdpMenu.mjs +1 -1
  127. package/dist/UI/fluent-web-components/UdpMessageBar.mjs +1 -1
  128. package/dist/UI/fluent-web-components/UdpNumberInput.mjs +1 -1
  129. package/dist/UI/fluent-web-components/UdpPopover.mjs +1 -1
  130. package/dist/UI/fluent-web-components/UdpPrimaryActionHeader.mjs +1 -1
  131. package/dist/UI/fluent-web-components/UdpProgressBar.mjs +1 -1
  132. package/dist/UI/fluent-web-components/UdpRadioGroup.mjs +1 -1
  133. package/dist/UI/fluent-web-components/UdpSearchInput.mjs +1 -1
  134. package/dist/UI/fluent-web-components/UdpSignatureInput.mjs +1 -1
  135. package/dist/UI/fluent-web-components/UdpSlider.mjs +1 -1
  136. package/dist/UI/fluent-web-components/UdpSpinner.mjs +1 -1
  137. package/dist/UI/fluent-web-components/UdpSwatchPicker.mjs +1 -1
  138. package/dist/UI/fluent-web-components/UdpSwitch.mjs +1 -1
  139. package/dist/UI/fluent-web-components/UdpTablist.mjs +1 -1
  140. package/dist/UI/fluent-web-components/UdpText.mjs +1 -1
  141. package/dist/UI/fluent-web-components/UdpTextInput.mjs +1 -1
  142. package/dist/UI/fluent-web-components/UdpTextarea.mjs +1 -1
  143. package/dist/UI/fluent-web-components/UdpTimeInput.mjs +1 -1
  144. package/dist/UI/fluent-web-components/UdpToggleButton.mjs +1 -1
  145. package/dist/UI/fluent-web-components/UdpTooltip.mjs +1 -1
  146. package/dist/UI/fluent-web-components/UdpTree.mjs +1 -1
  147. package/dist/UI/fluent-web-components/UdpTreeItem.mjs +1 -1
  148. package/dist/UI/fluent-web-components/UdpVerticalSpacer.mjs +1 -1
  149. package/dist/UI/forms/LoginForm.mjs +1 -1
  150. package/dist/UI/forms/UdpTransactionEmailForm.mjs +1 -1
  151. package/dist/UI/forms/VirtualForm.mjs +1 -1
  152. package/dist/UI/iframe/Iframe.mjs +1 -1
  153. package/dist/UI/inputs/buttons/AmbientCardButton.mjs +1 -1
  154. package/dist/UI/inputs/buttons/AmbientChipButton.mjs +1 -1
  155. package/dist/UI/inputs/buttons/AmbientPopoverMenuItem.mjs +1 -1
  156. package/dist/UI/inputs/buttons/AmbientToggleButton.mjs +1 -1
  157. package/dist/UI/inputs/buttons/AmbientToggleButtonGroup.mjs +1 -1
  158. package/dist/UI/inputs/buttons/AmbientToggleButtonGroupDefault.mjs +1 -1
  159. package/dist/UI/inputs/buttons/AmbientTokenButton.mjs +1 -1
  160. package/dist/UI/inputs/buttons/FUISquareIconButton.mjs +1 -1
  161. package/dist/UI/inputs/buttons/FluentButton.mjs +1 -1
  162. package/dist/UI/inputs/buttons/FluentCompoundButton.mjs +1 -1
  163. package/dist/UI/inputs/buttons/FluentIconButton.mjs +1 -1
  164. package/dist/UI/inputs/buttons/FluentMenuListButton.mjs +1 -1
  165. package/dist/UI/inputs/buttons/FluentUploadButton.mjs +1 -1
  166. package/dist/UI/inputs/buttons/FluentUploadIconButton.mjs +1 -1
  167. package/dist/UI/inputs/buttons/IconButtonWithToolTip.mjs +1 -1
  168. package/dist/UI/inputs/buttons/PrimaryActionButton.mjs +1 -1
  169. package/dist/UI/inputs/buttons/ToolBarButton.mjs +1 -1
  170. package/dist/UI/inputs/buttons/UdpActionCard/UdpActionCard.mjs +1 -1
  171. package/dist/UI/inputs/calendar/AmbientDateRangeSelector.mjs +1 -1
  172. package/dist/UI/inputs/checkbox/FluentCheckbox.mjs +1 -1
  173. package/dist/UI/inputs/dateRangeSelector/UdpDateRangeSelector.mjs +1 -1
  174. package/dist/UI/inputs/datetimes/DateField.mjs +1 -1
  175. package/dist/UI/inputs/datetimes/DateTimeField.mjs +1 -1
  176. package/dist/UI/inputs/datetimes/TimeField.mjs +1 -1
  177. package/dist/UI/inputs/fieldArrayCard/AutocompleteFinalField.mjs +1 -1
  178. package/dist/UI/inputs/fieldArrayCard/DateRangeField.mjs +1 -1
  179. package/dist/UI/inputs/fieldArrayCard/FieldArrayCard.mjs +1 -1
  180. package/dist/UI/inputs/fieldArrayCard/SearchSideSheet.mjs +1 -1
  181. package/dist/UI/inputs/link/BreadCrumbMenu.mjs +1 -1
  182. package/dist/UI/inputs/link/FluentLink.mjs +1 -1
  183. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepper.mjs +1 -1
  184. package/dist/UI/inputs/menus/AmbientStepper/StepLabel.mjs +1 -1
  185. package/dist/UI/inputs/menus/FluentSelectDirectoryMenu.mjs +1 -1
  186. package/dist/UI/inputs/menus/FluentSelectGroupMenu.mjs +1 -1
  187. package/dist/UI/inputs/menus/FluentSelectMenu.mjs +1 -1
  188. package/dist/UI/inputs/menus/FluentSimpleSelect.mjs +1 -1
  189. package/dist/UI/inputs/pickers/FluentColorPicker.mjs +1 -1
  190. package/dist/UI/inputs/pickers/FluentDatePicker.mjs +1 -1
  191. package/dist/UI/inputs/pickers/FluentDateTimePicker.mjs +1 -1
  192. package/dist/UI/inputs/pickers/FluentTimePicker.mjs +1 -1
  193. package/dist/UI/inputs/pickers/UdpDateSelector.mjs +1 -1
  194. package/dist/UI/inputs/pickers/UdpTimeSelector.mjs +1 -1
  195. package/dist/UI/inputs/radio/FluentRadio.mjs +1 -1
  196. package/dist/UI/inputs/radio/FluentRadioGroup.mjs +1 -1
  197. package/dist/UI/inputs/richEditors/CkRichEditor.mjs +1 -1
  198. package/dist/UI/inputs/sliders/FluentInputSlider.mjs +1 -1
  199. package/dist/UI/inputs/textField/AmbientAutoComplete.mjs +1 -1
  200. package/dist/UI/inputs/textField/AmbientTextField.mjs +1 -1
  201. package/dist/UI/inputs/textField/FluentSearchField.mjs +1 -1
  202. package/dist/UI/inputs/textField/FluentTagField.mjs +1 -1
  203. package/dist/UI/inputs/textField/FluentTextField.mjs +1 -1
  204. package/dist/UI/inputs/textField/FluentTextFieldAutoComplete.mjs +1 -1
  205. package/dist/UI/inputs/textField/KeyValueTextField.mjs +1 -1
  206. package/dist/UI/inputs/toggle/FluentToggle.mjs +1 -1
  207. package/dist/UI/loading/CircularProgress.mjs +1 -1
  208. package/dist/UI/loading/LinearProgress.mjs +1 -1
  209. package/dist/UI/loading/LoadingIndicator/LoadingIndicator.mjs +1 -1
  210. package/dist/UI/loading/LoadingOverlay.mjs +1 -1
  211. package/dist/UI/mapLayout/ui/ActionsRenderer.mjs +1 -1
  212. package/dist/UI/mapLayout/ui/CheckboxList.mjs +1 -1
  213. package/dist/UI/mapLayout/ui/CompactCard.mjs +1 -1
  214. package/dist/UI/mapLayout/ui/ListCard.mjs +1 -1
  215. package/dist/UI/mapLayout/ui/PopoverCard.mjs +1 -1
  216. package/dist/UI/mapLayout/ui/Statistic.mjs +1 -1
  217. package/dist/UI/maps/UdpMap.mjs +1 -1
  218. package/dist/UI/maps/UdpMapComponent.mjs +1 -1
  219. package/dist/UI/maps/UdpMapToolbar.mjs +1 -1
  220. package/dist/UI/navigation/FluentSideNav.mjs +1 -1
  221. package/dist/UI/navigation/menus/AppMenu.mjs +1 -1
  222. package/dist/UI/navigation/menus/AppMenuItem.mjs +1 -1
  223. package/dist/UI/navigation/menus/AppMenuItemComponent.mjs +1 -1
  224. package/dist/UI/navigation/menus/Expander.mjs +1 -1
  225. package/dist/UI/navigation/menus/ExpanderItem.mjs +1 -1
  226. package/dist/UI/navigation/menus/FluentMenuListItem.mjs +1 -1
  227. package/dist/UI/navigation/tabs/UdpTabPanel.mjs +1 -1
  228. package/dist/UI/navigation/tabs/UdpTabUtility.mjs +1 -1
  229. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTab.mjs +1 -1
  230. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.mjs +1 -1
  231. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanel.mjs +1 -1
  232. package/dist/UI/property/PropertyFields.mjs +1 -1
  233. package/dist/UI/property/widgets/AutoCompletePropertyWidget.mjs +1 -1
  234. package/dist/UI/property/widgets/BooleanPropertyWidget.mjs +1 -1
  235. package/dist/UI/property/widgets/DatePropertyWidget.mjs +1 -1
  236. package/dist/UI/property/widgets/DateTimePropertyWidget.mjs +1 -1
  237. package/dist/UI/property/widgets/FloatPropertyWidget.mjs +1 -1
  238. package/dist/UI/property/widgets/IntegerPropertyWidget.mjs +1 -1
  239. package/dist/UI/property/widgets/MultilineTextPropertyWidget.mjs +1 -1
  240. package/dist/UI/property/widgets/NumericPropertyWidget.mjs +1 -1
  241. package/dist/UI/property/widgets/SelectPropertyWidget.mjs +1 -1
  242. package/dist/UI/property/widgets/TextPropertyWidget.mjs +1 -1
  243. package/dist/UI/property/widgets/TimePropertyWidget.mjs +1 -1
  244. package/dist/UI/stepper/udp-stepper-actions.mjs +1 -1
  245. package/dist/UI/stepper/udp-stepper-content.mjs +1 -1
  246. package/dist/UI/stepper/udp-stepper-nav.mjs +1 -1
  247. package/dist/UI/stepper/udp-stepper.mjs +1 -1
  248. package/dist/UI/support/SupportCaseSideSheet.mjs +1 -1
  249. package/dist/UI/surfaces/NestedGrid/NestedGrid.mjs +1 -1
  250. package/dist/UI/surfaces/NestedGrid/ui/ExpandRenderer.mjs +1 -1
  251. package/dist/UI/surfaces/SideSheet.mjs +1 -1
  252. package/dist/UI/surfaces/cards/AmbientCard/AmbientCard.mjs +1 -1
  253. package/dist/UI/surfaces/cards/BioCard.mjs +1 -1
  254. package/dist/UI/surfaces/cards/InfoCard.mjs +1 -1
  255. package/dist/UI/surfaces/cards/QuickViewCard.mjs +1 -1
  256. package/dist/UI/surfaces/cards/chartDisplayCards/AmbientSplitStatCard.mjs +1 -1
  257. package/dist/UI/surfaces/cards/chartDisplayCards/AmbientVisualizationCard.mjs +1 -1
  258. package/dist/UI/surfaces/cards/fluentCards/FUICard.mjs +1 -1
  259. package/dist/UI/surfaces/cards/fluentCards/FUICardHeader.mjs +1 -1
  260. package/dist/UI/surfaces/cards/fluentCards/FluentCard.mjs +1 -1
  261. package/dist/UI/surfaces/cards/fluentCards/FluentCardActions.mjs +1 -1
  262. package/dist/UI/surfaces/cards/fluentCards/FluentCardContent.mjs +1 -1
  263. package/dist/UI/surfaces/cards/fluentCards/FluentCardHeader.mjs +1 -1
  264. package/dist/UI/surfaces/cards/fluentCards/FluentCardText.mjs +1 -1
  265. package/dist/UI/surfaces/cards/newsCard/NewsCard.mjs +1 -1
  266. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderCard.mjs +1 -1
  267. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderHeader.mjs +1 -1
  268. package/dist/UI/templates/DraggableSidebarTemplate.mjs +1 -1
  269. package/dist/UI/templates/OpenPage.mjs +1 -1
  270. package/dist/UI/templates/ToggleSection.mjs +1 -1
  271. package/dist/UI/templates/calendar/UdpCalendar.mjs +1 -1
  272. package/dist/UI/templates/calendar/UdpCalendarDayView.mjs +1 -1
  273. package/dist/UI/templates/calendar/UdpCalendarMonthView.mjs +1 -1
  274. package/dist/UI/templates/calendar/UdpCalendarWeekView.mjs +1 -1
  275. package/dist/UI/templates/calendar/UdpCalendarYearView.mjs +1 -1
  276. package/dist/UI/templates/deprecated/AmbientGridTemplate/AmbientGridTemplate.mjs +1 -1
  277. package/dist/UI/templates/deprecated/UdpGridTemplate/UdpGridTemplate.mjs +1 -1
  278. package/dist/UI/templates/newGrid/ApiMethodInstanceUdpGrid.mjs +1 -1
  279. package/dist/UI/templates/newGrid/BackwardsCompatibleGrid.mjs +1 -1
  280. package/dist/UI/templates/newGrid/ClientSideUdpGrid.mjs +1 -1
  281. package/dist/UI/templates/newGrid/SearchMethodUdpGrid.mjs +1 -1
  282. package/dist/UI/templates/newGrid/ServerSideUdpGrid.mjs +1 -1
  283. package/dist/UI/templates/ui/ExtenderToggle.mjs +1 -1
  284. package/dist/UI/templates/ui/GridGroupingHeader.mjs +1 -1
  285. package/dist/UI/templates/ui/GridGroupingSidebar.mjs +1 -1
  286. package/dist/UI/templates/ui/GridSidebarContainer.mjs +1 -1
  287. package/dist/UI/templates/ui/TokenGroupItem.mjs +1 -1
  288. package/dist/UI/templates/ui/renderers/ActionsRenderer.mjs +1 -1
  289. package/dist/UI/templates/ui/renderers/IconRenderer.mjs +1 -1
  290. package/dist/UI/templates/ui/renderers/StatusCellRenderer.mjs +1 -1
  291. package/dist/UI/timeline/ExtendActions.mjs +1 -1
  292. package/dist/UI/timeline/TimeEntryStates.mjs +1 -1
  293. package/dist/UI/timeline/TimeLine.mjs +1 -1
  294. package/dist/UI/timeline/TimelineElement.mjs +1 -1
  295. package/dist/UI/timeline/UdpTimeline.mjs +1 -1
  296. package/dist/UI/timeline/UdpTimelineContent.mjs +1 -1
  297. package/dist/UI/timeline/UdpTimelineDot.mjs +1 -1
  298. package/dist/UI/timeline/UdpTimelineItem.mjs +1 -1
  299. package/dist/UI/timeline/UdpTimelineItemConnector.mjs +1 -1
  300. package/dist/UI/timeline/UdpTimelineItemSeparator.mjs +1 -1
  301. package/dist/UI/timeline/fluentTimeline/FluentTimeline.mjs +1 -1
  302. package/dist/UI/timeline/fluentTimeline/FluentTimelineContent.mjs +1 -1
  303. package/dist/UI/timeline/fluentTimeline/FluentTimelineHeader.mjs +1 -1
  304. package/dist/UI/utilityDisplay/BulkActionsGridButton.mjs +1 -1
  305. package/dist/UI/utilityDisplay/ChipSection.mjs +1 -1
  306. package/dist/UI/utilityDisplay/Divider.mjs +1 -1
  307. package/dist/UI/utilityDisplay/FormControl.mjs +1 -1
  308. package/dist/UI/utilityDisplay/FormControlLabel.mjs +1 -1
  309. package/dist/UI/utilityDisplay/IndicatorChip.mjs +1 -1
  310. package/dist/UI/utilityDisplay/InputAdornment.mjs +1 -1
  311. package/dist/UI/utilityDisplay/SaveViewFormDialog.mjs +1 -1
  312. package/dist/UI/utilityDisplay/UtilityBar.mjs +1 -1
  313. package/dist/UI/utilityDisplay/UtilitySideBar.mjs +1 -1
  314. package/dist/UI/utilityDisplay/alerts/UdpAlert.mjs +1 -1
  315. package/dist/UI/utilityDisplay/alerts/UdpAlertsContainer.mjs +1 -1
  316. package/dist/UI/utilityDisplay/deprecated/grid/GridActionBar.mjs +1 -1
  317. package/dist/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.mjs +1 -1
  318. package/dist/UI/utilityDisplay/utilityHeader/UtilityTabHeader.mjs +1 -1
  319. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.mjs +1 -1
  320. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.mjs +1 -1
  321. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHExport.mjs +1 -1
  322. package/dist/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.mjs +1 -1
  323. package/dist/UI/utilityDisplay/utilityHeader/ui/teleporter.mjs +1 -1
  324. package/dist/UI/widgets/FluentComponents/ChartSummaryToggle.mjs +1 -1
  325. package/dist/UI/widgets/FluentComponents/FUIMenuItem.mjs +1 -1
  326. package/dist/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.mjs +1 -1
  327. package/dist/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.mjs +1 -1
  328. package/dist/UI/widgets/FluentComponents/atoms/FluentTrendArrow.mjs +1 -1
  329. package/dist/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.mjs +1 -1
  330. package/dist/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.mjs +1 -1
  331. package/dist/UI/widgets/FluentComponents/molecules/FluentStatNumber.mjs +1 -1
  332. package/dist/UI/widgets/FluentComponents/molecules/FluentTimeline.mjs +1 -1
  333. package/dist/UI/widgets/ItemsWidgetCard.mjs +1 -1
  334. package/dist/UI/widgets/library/BarChartWidget/BarChartWidget.mjs +1 -1
  335. package/dist/UI/widgets/library/BubbleWidget/BubbleWidget.mjs +1 -1
  336. package/dist/UI/widgets/library/CircleGaugeWidget/CircleGaugeWidget.mjs +1 -1
  337. package/dist/UI/widgets/library/DateTrendWidget/DateTrendWidget.mjs +1 -1
  338. package/dist/UI/widgets/library/DensePlotWidget/DensePlotWidget.mjs +1 -1
  339. package/dist/UI/widgets/library/DonutChartWidget/DonutChartWidget.mjs +1 -1
  340. package/dist/UI/widgets/library/GaugeWidget/GaugeWidget.mjs +1 -1
  341. package/dist/UI/widgets/library/LineAndSparklinesWidget/LineAndSparklinesWidget.mjs +1 -1
  342. package/dist/UI/widgets/library/LineGraphWidget/LineGraphWidget.mjs +1 -1
  343. package/dist/UI/widgets/library/ProgressBarWidget/ProgressBarWidget.mjs +1 -1
  344. package/dist/UI/widgets/library/RecentlyLoadedNodesWidget/RecentlyLoadedNodesWidget.mjs +1 -1
  345. package/dist/UI/widgets/library/SparklineWidget/SparklineWidget.mjs +1 -1
  346. package/dist/UI/widgets/library/SparsePlotWidget/SparsePlotWidget.mjs +1 -1
  347. package/dist/UI/widgets/utils/NumberVisualization.mjs +1 -1
  348. package/dist/actions/ActionForm.mjs +1 -1
  349. package/dist/actions/ActionModal.mjs +1 -1
  350. package/dist/actions/ActionPanelPlacement.mjs +1 -1
  351. package/dist/actions/ActionSideSheet.mjs +1 -1
  352. package/dist/actions/ActionSpeedDial.mjs +1 -1
  353. package/dist/actions/ActionSplitScreen.mjs +1 -1
  354. package/dist/actions/ActionWrapper.mjs +1 -1
  355. package/dist/actions/PageActionWrapper.mjs +1 -1
  356. package/dist/actions/actionSummary/ActionSummaryCard.mjs +1 -1
  357. package/dist/actions/actionSummary/ActionSummaryHeader.mjs +1 -1
  358. package/dist/actions/actionSummary/ActionSummaryPopover.mjs +1 -1
  359. package/dist/actions/sidebar/EntitySideBarContent.mjs +1 -1
  360. package/dist/actions/utils/actionUtils.mjs +1 -1
  361. package/dist/chatBot/ChatMessage.mjs +1 -1
  362. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.mjs +1 -1
  363. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.mjs +1 -1
  364. package/dist/componentSystems/multiThreadTimeline/ui/CircleButton.mjs +1 -1
  365. package/dist/componentSystems/multiThreadTimeline/ui/DateWrapper.mjs +1 -1
  366. package/dist/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.mjs +1 -1
  367. package/dist/componentSystems/multiThreadTimeline/ui/MttYearTag.mjs +1 -1
  368. package/dist/componentSystems/multiThreadTimeline/ui/MultiDot.mjs +1 -1
  369. package/dist/componentSystems/multiThreadTimeline/ui/SummaryToken.mjs +1 -1
  370. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDateBar.mjs +1 -1
  371. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDot.mjs +1 -1
  372. package/dist/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.mjs +1 -1
  373. package/dist/componentSystems/multiThreadTimeline/ui/TimelineNode.mjs +1 -1
  374. package/dist/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.mjs +1 -1
  375. package/dist/componentSystems/multiThreadTimeline/ui/TimelineStatus.mjs +1 -1
  376. package/dist/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.mjs +1 -1
  377. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.mjs +1 -1
  378. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.mjs +1 -1
  379. package/dist/componentSystems/multiThreadTimeline/ui/TimelineWrapper.mjs +1 -1
  380. package/dist/componentSystems/multiThreadTimeline/ui/VisualizationDot.mjs +1 -1
  381. package/dist/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.mjs +1 -1
  382. package/dist/componentSystems/pageRenderer/PageRenderer.mjs +1 -1
  383. package/dist/componentSystems/pageRenderer/hocs/withEngineComponent.mjs +1 -1
  384. package/dist/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.mjs +1 -1
  385. package/dist/componentSystems/pageRenderer/wrappers/BarChartWrapper.mjs +1 -1
  386. package/dist/componentSystems/pageRenderer/wrappers/BioCardWrapper.mjs +1 -1
  387. package/dist/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.mjs +1 -1
  388. package/dist/componentSystems/pageRenderer/wrappers/DonutWrapper.mjs +1 -1
  389. package/dist/componentSystems/pageRenderer/wrappers/HistogramWrapper.mjs +1 -1
  390. package/dist/componentSystems/pageRenderer/wrappers/LineGraphWrapper.mjs +1 -1
  391. package/dist/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.mjs +1 -1
  392. package/dist/containers/IframeContainer.mjs +1 -1
  393. package/dist/contexts/PageContext.mjs +1 -1
  394. package/dist/dashboard/DashboardWidget.mjs +1 -1
  395. package/dist/dataBrowser/forms/ParamsMappingFields.mjs +1 -1
  396. package/dist/dataBrowser/forms/RequiredFieldsMappingField.mjs +1 -1
  397. package/dist/dataBrowser/forms/RequiredFieldsMappingForm.mjs +1 -1
  398. package/dist/diffChecker/DiffChecker.mjs +1 -1
  399. package/dist/hooks/crudForeignKeyData.mjs +1 -1
  400. package/dist/hooks/useActions.mjs +1 -1
  401. package/dist/hooks/useApiCatalog.mjs +1 -1
  402. package/dist/hooks/useDateLocale.mjs +1 -1
  403. package/dist/hooks/useDynamicListCalculation.mjs +1 -1
  404. package/dist/hooks/useFluentIcon.mjs +1 -1
  405. package/dist/hooks/useItemSubCard.mjs +1 -1
  406. package/dist/hooks/useProductVersion.mjs +1 -1
  407. package/dist/hooks/usePromotedLookupMethods.mjs +1 -1
  408. package/dist/hooks/usePromotedMethodEntities.mjs +1 -1
  409. package/dist/hooks/usePromotedMethodEntity.mjs +1 -1
  410. package/dist/hooks/useSetLocationState.mjs +1 -1
  411. package/dist/hooks/useSplitDecimal.mjs +1 -1
  412. package/dist/hooks/useTransactionType.mjs +1 -1
  413. package/dist/hooks/useUdpGridFilterModel.mjs +1 -1
  414. package/dist/hooks/useUpdateSearchParams.mjs +1 -1
  415. package/dist/hooks/virtualActions.mjs +1 -1
  416. package/dist/index.d.ts +15 -1
  417. package/dist/index.d.ts.map +1 -1
  418. package/dist/index.js +15 -1
  419. package/dist/index.js.map +1 -1
  420. package/dist/index.mjs +8 -2
  421. package/dist/inquiry/AlertFlag.mjs +1 -1
  422. package/dist/inquiry/AmbientListItem.mjs +1 -1
  423. package/dist/inquiry/AmbientSummaryListHeader.mjs +1 -1
  424. package/dist/inquiry/ExecuteApiDialog.mjs +1 -1
  425. package/dist/inquiry/FilterSearch.mjs +1 -1
  426. package/dist/inquiry/FlagBlock.mjs +1 -1
  427. package/dist/inquiry/Inquiry.mjs +1 -1
  428. package/dist/inquiry/InquiryContainer.d.ts.map +1 -1
  429. package/dist/inquiry/InquiryContainer.js +7 -2
  430. package/dist/inquiry/InquiryContainer.js.map +1 -1
  431. package/dist/inquiry/InquiryContainer.mjs +5 -2
  432. package/dist/inquiry/InquiryContainer.mjs.map +1 -1
  433. package/dist/inquiry/InquiryTreeMenu.mjs +1 -1
  434. package/dist/inquiry/InquiryWrapper.mjs +1 -1
  435. package/dist/inquiry/ItemDescription.mjs +1 -1
  436. package/dist/inquiry/NodeColumnHeader.mjs +1 -1
  437. package/dist/inquiry/NodeDetails.mjs +1 -1
  438. package/dist/inquiry/NodeList.mjs +1 -1
  439. package/dist/inquiry/dashboard/InquiryDashboard.mjs +1 -1
  440. package/dist/inquiry/dashboard/RecentlyLoadedNodesTable.mjs +1 -1
  441. package/dist/inquiry/inquiryBar/InquiryControlList.mjs +1 -1
  442. package/dist/inquiry/inquiryBar/InquiryNodeControls.mjs +1 -1
  443. package/dist/inquiry/search/InquiryAdvancedSearch.mjs +1 -1
  444. package/dist/inquiry/search/InquiryAdvancedSearchForm.mjs +1 -1
  445. package/dist/inquiry/search/InquirySearchContainer.mjs +1 -1
  446. package/dist/inquiry/search/InquirySearchTable.mjs +1 -1
  447. package/dist/integrations/outlook/OutlookIntegrationBanner.mjs +1 -1
  448. package/dist/integrations/outlook/OutlookIntegrationCallbackPage.mjs +1 -1
  449. package/dist/kpi/UdpKpiCard.mjs +1 -1
  450. package/dist/kpi/UdpKpiCards.mjs +1 -1
  451. package/dist/layout/GridGroup.mjs +1 -1
  452. package/dist/layout/GridRow.mjs +1 -1
  453. package/dist/layout/GridUnit.mjs +1 -1
  454. package/dist/layout/HeaderLayout.mjs +1 -1
  455. package/dist/layout/LayoutUnit.mjs +1 -1
  456. package/dist/layout/UdpContainer.mjs +1 -1
  457. package/dist/layout/templates/SideBarTemplate.mjs +1 -1
  458. package/dist/maintenanceEngine/crudBrowser/CrudBrowserContainer.mjs +1 -1
  459. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.mjs +1 -1
  460. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +1 -1
  461. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
  462. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.mjs +1 -1
  463. package/dist/maintenanceEngine/tableBrowser/TableContainer.mjs +1 -1
  464. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.mjs +1 -1
  465. package/dist/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.mjs +1 -1
  466. package/dist/map-library/Controls/Controls.mjs +1 -1
  467. package/dist/map-library/Controls/FullScreenControl.mjs +1 -1
  468. package/dist/map-library/Controls/ZoomControl.mjs +1 -1
  469. package/dist/map-library/Layers/ImageLayer.mjs +1 -1
  470. package/dist/map-library/Layers/Layers.mjs +1 -1
  471. package/dist/map-library/Layers/TileLayer.mjs +1 -1
  472. package/dist/map-library/Layers/VectorLayer.mjs +1 -1
  473. package/dist/map-library/Map/Map.mjs +1 -1
  474. package/dist/map-library/functions/mapFunctions.mjs +1 -1
  475. package/dist/map-library/geoLocation/FreeFormField.mjs +1 -1
  476. package/dist/map-library/ui/ControlZoom.mjs +1 -1
  477. package/dist/map-library/ui/FilterOptions.mjs +1 -1
  478. package/dist/map-library/ui/MapFilterBar.mjs +1 -1
  479. package/dist/map-library/ui/MapSheet.mjs +1 -1
  480. package/dist/map-library/ui/TileDisplay.mjs +1 -1
  481. package/dist/maps/GeoMap.mjs +1 -1
  482. package/dist/maps/leafletMaps/FluentImageMap.mjs +1 -1
  483. package/dist/maps/leafletMaps/FluentMap.mjs +1 -1
  484. package/dist/maps/leafletMaps/ui/MapMarker.mjs +1 -1
  485. package/dist/maps/openLayerMaps/Controls/Controls.mjs +1 -1
  486. package/dist/maps/openLayerMaps/Controls/FullScreenControl.mjs +1 -1
  487. package/dist/maps/openLayerMaps/Layers/Layers.mjs +1 -1
  488. package/dist/maps/openLayerMaps/Layers/TileLayer.mjs +1 -1
  489. package/dist/maps/openLayerMaps/Map/Map.mjs +1 -1
  490. package/dist/maps/openLayerMaps/ui/ControlZoom.mjs +1 -1
  491. package/dist/maps/openLayerMaps/ui/LocationPin.mjs +1 -1
  492. package/dist/maps/openLayerMaps/ui/MapControlsStandard.mjs +1 -1
  493. package/dist/maps/openLayerMaps/ui/Position.mjs +1 -1
  494. package/dist/menuPage/CustomMenuPage.mjs +1 -1
  495. package/dist/menuPage/MenuPage.mjs +1 -1
  496. package/dist/notes/NotesScreen.mjs +1 -1
  497. package/dist/page/Page.mjs +1 -1
  498. package/dist/page/PageContainer/PageContainer.mjs +1 -1
  499. package/dist/page/PageContent.mjs +1 -1
  500. package/dist/page/PageHeader.mjs +1 -1
  501. package/dist/page/PageSectionHeader.mjs +1 -1
  502. package/dist/page/PageSectionSpacer.mjs +1 -1
  503. package/dist/page/StaticPageRenderer.mjs +1 -1
  504. package/dist/providers/QueryProvider.mjs +1 -1
  505. package/dist/providers/UdpAppProvider.mjs +1 -1
  506. package/dist/reactCompilerRuntime.d.ts +2 -0
  507. package/dist/reactCompilerRuntime.d.ts.map +1 -0
  508. package/dist/reactCompilerRuntime.js +42 -0
  509. package/dist/reactCompilerRuntime.js.map +1 -0
  510. package/dist/reactCompilerRuntime.mjs +37 -0
  511. package/dist/reactCompilerRuntime.mjs.map +1 -0
  512. package/dist/reminders/CompleteReminderSwitch.mjs +1 -1
  513. package/dist/reminders/RemindersCard.mjs +1 -1
  514. package/dist/reminders/RemindersScreen.mjs +1 -1
  515. package/dist/reports/PowerBIReport.mjs +1 -1
  516. package/dist/reports/Reports.mjs +1 -1
  517. package/dist/routes/PublicRoute.mjs +1 -1
  518. package/dist/routes/UdpRoutes.d.ts.map +1 -1
  519. package/dist/routes/UdpRoutes.js +4 -1
  520. package/dist/routes/UdpRoutes.js.map +1 -1
  521. package/dist/routes/UdpRoutes.mjs +108 -32
  522. package/dist/routes/UdpRoutes.mjs.map +1 -1
  523. package/dist/routes/components/PageForbiddenRoute.mjs +1 -1
  524. package/dist/routes/components/PageNotFoundRoute.mjs +1 -1
  525. package/dist/routes/components/PageStatus.mjs +1 -1
  526. package/dist/routes/index.mjs +2 -2
  527. package/dist/routes/useRegisterRoute.mjs +1 -1
  528. package/dist/shell/ui/AmbientProjectSwitcher.mjs +1 -1
  529. package/dist/shell/ui/MiniCollapsibleSidebar.mjs +1 -1
  530. package/dist/shell/ui/NavigationSidebar.mjs +1 -1
  531. package/dist/shell/ui/ShellDropdown.mjs +1 -1
  532. package/dist/shell/ui/SidebarCollapseButton.mjs +1 -1
  533. package/dist/shell/ui/SiteHeader.mjs +1 -1
  534. package/dist/shell/ui/SiteHeaderRightComponent.mjs +1 -1
  535. package/dist/shell/ui/appSwitcher/FUIAppHeader.mjs +1 -1
  536. package/dist/shell/ui/appSwitcher/FUIAppList.mjs +1 -1
  537. package/dist/shell/ui/appSwitcher/FUIAppListItem.mjs +1 -1
  538. package/dist/shell/ui/appSwitcher/FUIAppSwitcher.mjs +1 -1
  539. package/dist/shell/ui/appSwitcher/ProductAppList.mjs +1 -1
  540. package/dist/shell/ui/appSwitcher/ProductAppListItem.mjs +1 -1
  541. package/dist/shell/ui/appSwitcher/UnityApps.mjs +1 -1
  542. package/dist/shell/ui/profile/FluentProfileMenuCard.mjs +1 -1
  543. package/dist/shell/ui/profile/MenuOpener.mjs +1 -1
  544. package/dist/shell/ui/profile/UserAvatar.mjs +1 -1
  545. package/dist/shell/ui/profile/UserProfileMenuWrapper.mjs +1 -1
  546. package/dist/shell/ui/useBuildEnvironment.mjs +1 -1
  547. package/dist/shell/ui/user/PasswordValidator.mjs +1 -1
  548. package/dist/shell/ui/user/form/UserForm.mjs +1 -1
  549. package/dist/shell/ui/user/form/UserFormFields.mjs +1 -1
  550. package/dist/shell/ui/user/form/UserRoleAutoComplete.mjs +1 -1
  551. package/dist/shell/useShellVisibility.mjs +1 -1
  552. package/dist/shell/useWidgetRegistry.mjs +1 -1
  553. package/dist/stores/inquiryStore.mjs +1 -1
  554. package/dist/test/TestFullStencilPage.mjs +1 -1
  555. package/dist/udp/ShortcutContent/ListSearch.mjs +1 -1
  556. package/dist/udp/ShortcutContent/ShortcutContentFinder.mjs +1 -1
  557. package/dist/udp/export/ExportSidesheet.mjs +1 -1
  558. package/dist/udp/export/MyExportsPage.mjs +1 -1
  559. package/dist/udp/fileImportMapping/FileImportMappingWizard.mjs +1 -1
  560. package/dist/udp/fileImportMapping/ImportDataFromFileMapping.mjs +1 -1
  561. package/dist/udp/pages/ChatUDP/ChatUDP.mjs +1 -1
  562. package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.d.ts +4 -0
  563. package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.d.ts.map +1 -0
  564. package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.js +158 -0
  565. package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.js.map +1 -0
  566. package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.mjs +251 -0
  567. package/dist/udp/pages/MyFormSubmissions/MyFormSubmissions.mjs.map +1 -0
  568. package/dist/udp/pages/MyFormSubmissions/index.d.ts +3 -0
  569. package/dist/udp/pages/MyFormSubmissions/index.d.ts.map +1 -0
  570. package/dist/udp/pages/MyFormSubmissions/index.js +3 -0
  571. package/dist/udp/pages/MyFormSubmissions/index.js.map +1 -0
  572. package/dist/udp/pages/MyFormSubmissions/index.mjs +2 -0
  573. package/dist/udp/pages/UdpDataBrowserPage/UdpDataBrowserPage.mjs +1 -1
  574. package/dist/udp/pages/UdpFormManager/UdpFormManager.d.ts +6 -0
  575. package/dist/udp/pages/UdpFormManager/UdpFormManager.d.ts.map +1 -0
  576. package/dist/udp/pages/UdpFormManager/UdpFormManager.js +128 -0
  577. package/dist/udp/pages/UdpFormManager/UdpFormManager.js.map +1 -0
  578. package/dist/udp/pages/UdpFormManager/UdpFormManager.mjs +258 -0
  579. package/dist/udp/pages/UdpFormManager/UdpFormManager.mjs.map +1 -0
  580. package/dist/udp/pages/UdpFormManager/index.d.ts +3 -0
  581. package/dist/udp/pages/UdpFormManager/index.d.ts.map +1 -0
  582. package/dist/udp/pages/UdpFormManager/index.js +3 -0
  583. package/dist/udp/pages/UdpFormManager/index.js.map +1 -0
  584. package/dist/udp/pages/UdpFormManager/index.mjs +2 -0
  585. package/dist/udp/pages/UdpFormsBuilderPage/UdpFormsBuilderPage.mjs +1 -1
  586. package/dist/udp/pages/UdpFormsListPage/UdpFormsListPage.mjs +1 -1
  587. package/dist/udp/pages/UdpFormsPrivateForm/UdpFormRenderer.mjs +1 -1
  588. package/dist/udp/pages/UdpFormsPrivateForm/UdpPrivateForm.mjs +1 -1
  589. package/dist/udp/pages/UdpFormsPublicForm/UdpPublicForm.mjs +1 -1
  590. package/dist/udp/pages/UdpFormsSubmissionGridManagerPage/UdpFormsSubmissionGridManagerPage.mjs +1 -1
  591. package/dist/udp/pages/UdpFormsSubmissionGridResponderPage/UdpFormsSubmissionGridResponderPage.mjs +1 -1
  592. package/dist/udp/pages/UdpFormsUtils/Utils.d.ts +4 -0
  593. package/dist/udp/pages/UdpFormsUtils/Utils.d.ts.map +1 -1
  594. package/dist/udp/pages/UdpFormsUtils/Utils.js +16 -3
  595. package/dist/udp/pages/UdpFormsUtils/Utils.js.map +1 -1
  596. package/dist/udp/pages/UdpFormsUtils/Utils.mjs +18 -10
  597. package/dist/udp/pages/UdpFormsUtils/Utils.mjs.map +1 -1
  598. package/dist/udp/pages/UdpGridPanelManagementSidesheet/UdpGridPanelManagementSidesheet.mjs +1 -1
  599. package/dist/udp/pages/UdpImportFromFileMappingPage/UdpImportFromFileMappingPage.mjs +1 -1
  600. package/dist/udp/pages/UdpInquiryMaintenanceEnginePage/UdpInquiryMaintenanceEnginePage.mjs +1 -1
  601. package/dist/udp/pages/UdpMaintenanceConfigPage/UdpMaintenanceConfigPage.mjs +1 -1
  602. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +1 -1
  603. package/dist/udp/pages/UdpPagesLazy/index.d.ts +3 -0
  604. package/dist/udp/pages/UdpPagesLazy/index.d.ts.map +1 -1
  605. package/dist/udp/pages/UdpPagesLazy/index.js +3 -0
  606. package/dist/udp/pages/UdpPagesLazy/index.js.map +1 -1
  607. package/dist/udp/pages/UdpPagesLazy/index.mjs +3 -0
  608. package/dist/udp/pages/UdpPagesLazy/index.mjs.map +1 -1
  609. package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.d.ts +6 -0
  610. package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.d.ts.map +1 -0
  611. package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.js +32 -0
  612. package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.js.map +1 -0
  613. package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.mjs +73 -0
  614. package/dist/udp/pages/UdpQuestionFormBuilderPage/UdpQuestionFormBuilderPage.mjs.map +1 -0
  615. package/dist/udp/pages/UdpQuestionFormBuilderPage/index.d.ts +3 -0
  616. package/dist/udp/pages/UdpQuestionFormBuilderPage/index.d.ts.map +1 -0
  617. package/dist/udp/pages/UdpQuestionFormBuilderPage/index.js +3 -0
  618. package/dist/udp/pages/UdpQuestionFormBuilderPage/index.js.map +1 -0
  619. package/dist/udp/pages/UdpQuestionFormBuilderPage/index.mjs +2 -0
  620. package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.d.ts +7 -0
  621. package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.d.ts.map +1 -0
  622. package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.js +52 -0
  623. package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.js.map +1 -0
  624. package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.mjs +109 -0
  625. package/dist/udp/pages/UdpQuestionFormOverviewPage/FormStructureTree.mjs.map +1 -0
  626. package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.d.ts +10 -0
  627. package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.d.ts.map +1 -0
  628. package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.js +373 -0
  629. package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.js.map +1 -0
  630. package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.mjs +943 -0
  631. package/dist/udp/pages/UdpQuestionFormOverviewPage/OverviewTab.mjs.map +1 -0
  632. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.d.ts +9 -0
  633. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.d.ts.map +1 -0
  634. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.js +62 -0
  635. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.js.map +1 -0
  636. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.mjs +187 -0
  637. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionCard.mjs.map +1 -0
  638. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.d.ts +6 -0
  639. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.d.ts.map +1 -0
  640. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.js +158 -0
  641. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.js.map +1 -0
  642. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.mjs +319 -0
  643. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionViz.mjs.map +1 -0
  644. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.d.ts +9 -0
  645. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.d.ts.map +1 -0
  646. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.js +255 -0
  647. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.js.map +1 -0
  648. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.mjs +617 -0
  649. package/dist/udp/pages/UdpQuestionFormOverviewPage/QuestionsTab.mjs.map +1 -0
  650. package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.d.ts +8 -0
  651. package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.d.ts.map +1 -0
  652. package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.js +121 -0
  653. package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.js.map +1 -0
  654. package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.mjs +200 -0
  655. package/dist/udp/pages/UdpQuestionFormOverviewPage/SubmissionAttachmentsDrawer.mjs.map +1 -0
  656. package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.d.ts +7 -0
  657. package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.d.ts.map +1 -0
  658. package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.js +401 -0
  659. package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.js.map +1 -0
  660. package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.mjs +452 -0
  661. package/dist/udp/pages/UdpQuestionFormOverviewPage/UdpQuestionFormOverviewPage.mjs.map +1 -0
  662. package/dist/udp/pages/UdpQuestionFormOverviewPage/index.d.ts +3 -0
  663. package/dist/udp/pages/UdpQuestionFormOverviewPage/index.d.ts.map +1 -0
  664. package/dist/udp/pages/UdpQuestionFormOverviewPage/index.js +3 -0
  665. package/dist/udp/pages/UdpQuestionFormOverviewPage/index.js.map +1 -0
  666. package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.d.ts +120 -0
  667. package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.d.ts.map +1 -0
  668. package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.js +461 -0
  669. package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.js.map +1 -0
  670. package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.mjs +421 -0
  671. package/dist/udp/pages/UdpQuestionFormOverviewPage/questionInsights.mjs.map +1 -0
  672. package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.d.ts +4 -0
  673. package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.d.ts.map +1 -0
  674. package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.js +93 -0
  675. package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.js.map +1 -0
  676. package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.mjs +70 -0
  677. package/dist/udp/pages/UdpQuestionFormOverviewPage/submissionReportDownload.mjs.map +1 -0
  678. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.d.ts +19 -0
  679. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.d.ts.map +1 -0
  680. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.js +45 -0
  681. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.js.map +1 -0
  682. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.mjs +104 -0
  683. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionFormRenderer.mjs.map +1 -0
  684. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.d.ts +7 -0
  685. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.d.ts.map +1 -0
  686. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.js +33 -0
  687. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.js.map +1 -0
  688. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.mjs +95 -0
  689. package/dist/udp/pages/UdpQuestionFormPrivateForm/UdpQuestionPrivateForm.mjs.map +1 -0
  690. package/dist/udp/pages/UdpQuestionFormPrivateForm/index.d.ts +5 -0
  691. package/dist/udp/pages/UdpQuestionFormPrivateForm/index.d.ts.map +1 -0
  692. package/dist/udp/pages/UdpQuestionFormPrivateForm/index.js +5 -0
  693. package/dist/udp/pages/UdpQuestionFormPrivateForm/index.js.map +1 -0
  694. package/dist/udp/pages/UdpQuestionFormPrivateForm/index.mjs +3 -0
  695. package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.d.ts +20 -0
  696. package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.d.ts.map +1 -0
  697. package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.js +43 -0
  698. package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.js.map +1 -0
  699. package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.mjs +86 -0
  700. package/dist/udp/pages/UdpQuestionFormPublicForm/UdpQuestionPublicForm.mjs.map +1 -0
  701. package/dist/udp/pages/UdpQuestionFormPublicForm/index.d.ts +3 -0
  702. package/dist/udp/pages/UdpQuestionFormPublicForm/index.d.ts.map +1 -0
  703. package/dist/udp/pages/UdpQuestionFormPublicForm/index.js +3 -0
  704. package/dist/udp/pages/UdpQuestionFormPublicForm/index.js.map +1 -0
  705. package/dist/udp/pages/UdpQuestionFormPublicForm/index.mjs +2 -0
  706. package/dist/udp/pages/UdpReportsPage/UdpReportsPage.mjs +1 -1
  707. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js +26 -26
  708. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js.map +1 -1
  709. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs +22 -22
  710. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs.map +1 -1
  711. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionAttachmentTypeForm.mjs +1 -1
  712. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeConfigurationForm.mjs +1 -1
  713. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeConfigurationTransactionActionForm.mjs +1 -1
  714. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.js +9 -9
  715. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.js.map +1 -1
  716. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.mjs +7 -7
  717. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeForm.mjs.map +1 -1
  718. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.mjs +1 -1
  719. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeTransactionActionForm.mjs +1 -1
  720. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeTransactionActionFormFields.mjs +1 -1
  721. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionUiActionForm.mjs +1 -1
  722. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionAttachmentTypeCreateAndEditSidesheet.mjs +1 -1
  723. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionAttachmentTypeSidesheet.mjs +1 -1
  724. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.js +1 -1
  725. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.js.map +1 -1
  726. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.mjs +7 -7
  727. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeCalendarViewConfigurationSidesheet.mjs.map +1 -1
  728. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationCreateAndEditSidesheet.mjs +1 -1
  729. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationSidesheet.mjs +1 -1
  730. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationTransactionActionCreateAndEditSidesheet.mjs +1 -1
  731. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeConfigurationTransactionActionSidesheet.mjs +1 -1
  732. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.d.ts.map +1 -1
  733. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.js +2 -2
  734. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.js.map +1 -1
  735. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.mjs +20 -11
  736. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypePageConfigurationSidesheet.mjs.map +1 -1
  737. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusCreateAndEditSidesheet.mjs +1 -1
  738. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.mjs +1 -1
  739. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeTransactionActionCreateAndEditSidesheet.mjs +1 -1
  740. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeTransactionActionSidesheet.mjs +1 -1
  741. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionUiActionCreateAndEditSidesheet.mjs +1 -1
  742. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionUiActionSidesheet.mjs +1 -1
  743. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs +1 -1
  744. package/dist/udp/pages/UdpTransactionsPage/components/AttachmentTransactionAttachmentList.mjs +1 -1
  745. package/dist/udp/pages/UdpTransactionsPage/components/EditTransactionDetailsFooterItem.mjs +1 -1
  746. package/dist/udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachment.mjs +1 -1
  747. package/dist/udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachments.mjs +1 -1
  748. package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.mjs +1 -1
  749. package/dist/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionTimelineItem.mjs +1 -1
  750. package/dist/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNote.mjs +1 -1
  751. package/dist/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNoteForm.mjs +1 -1
  752. package/dist/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNotes.mjs +1 -1
  753. package/dist/udp/pages/UdpTransactionsPage/sidesheets/EditTransactionHeaderItem.mjs +1 -1
  754. package/dist/udp/pages/UdpTransactionsPage/sidesheets/ViewTransaction.mjs +1 -1
  755. package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.mjs +1 -1
  756. package/dist/udp/tags/useTags.mjs +1 -1
  757. package/dist/udp/utilities/dateLocalizationHooks.mjs +1 -1
  758. package/dist/udp/utilities/useDateStringColumnDef.mjs +1 -1
  759. package/dist/utilities/aggrid/AgTable.mjs +1 -1
  760. package/dist/utilities/aggrid/aggridHelpers.mjs +1 -1
  761. package/dist/utilities/auth/AadCallback.mjs +1 -1
  762. package/dist/utilities/auth/AuthProviderWrapper.mjs +1 -1
  763. package/dist/utilities/auth/UserErrorModal.mjs +1 -1
  764. package/dist/utilities/auth/UserProvider.mjs +1 -1
  765. package/dist/utilities/auth/signInAuthProvider.d.ts.map +1 -1
  766. package/dist/utilities/auth/signInAuthProvider.js +24 -15
  767. package/dist/utilities/auth/signInAuthProvider.js.map +1 -1
  768. package/dist/utilities/auth/signInAuthProvider.mjs +14 -13
  769. package/dist/utilities/auth/signInAuthProvider.mjs.map +1 -1
  770. package/dist/utilities/auth/useAuthedUser.mjs +1 -1
  771. package/dist/utilities/auth/useSingleLogout.mjs +1 -1
  772. package/dist/utilities/auth/users.mjs +1 -1
  773. package/dist/utilities/chatBot/ChatBotProvider.mjs +1 -1
  774. package/dist/utilities/customIcons/ApprovalIcon.mjs +1 -1
  775. package/dist/utilities/customIcons/RejectIcon.mjs +1 -1
  776. package/dist/utilities/floorplanFunctions/gridVisualizationFunctions.mjs +1 -1
  777. package/dist/utilities/form/Field.mjs +1 -1
  778. package/dist/utilities/form/Form.mjs +1 -1
  779. package/dist/utilities/form/FormButtons.mjs +1 -1
  780. package/dist/utilities/form/FormError.mjs +1 -1
  781. package/dist/utilities/form/FormSpy.mjs +1 -1
  782. package/dist/utilities/form/SubmitButton.mjs +1 -1
  783. package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts +5 -0
  784. package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts.map +1 -1
  785. package/dist/utilities/form/paymentForm/BankAccountForm.d.ts +16 -29
  786. package/dist/utilities/form/paymentForm/BankAccountForm.d.ts.map +1 -1
  787. package/dist/utilities/form/paymentForm/BankAccountForm.js +64 -78
  788. package/dist/utilities/form/paymentForm/BankAccountForm.js.map +1 -1
  789. package/dist/utilities/form/paymentForm/BankAccountForm.mjs +77 -196
  790. package/dist/utilities/form/paymentForm/BankAccountForm.mjs.map +1 -1
  791. package/dist/utilities/form/paymentForm/CashForm.d.ts +1 -1
  792. package/dist/utilities/form/paymentForm/CashForm.d.ts.map +1 -1
  793. package/dist/utilities/form/paymentForm/CashForm.js +19 -51
  794. package/dist/utilities/form/paymentForm/CashForm.js.map +1 -1
  795. package/dist/utilities/form/paymentForm/CashForm.mjs +81 -120
  796. package/dist/utilities/form/paymentForm/CashForm.mjs.map +1 -1
  797. package/dist/utilities/form/paymentForm/CreditCardAdornment.mjs +1 -1
  798. package/dist/utilities/form/paymentForm/CreditCardForm.d.ts +14 -21
  799. package/dist/utilities/form/paymentForm/CreditCardForm.d.ts.map +1 -1
  800. package/dist/utilities/form/paymentForm/CreditCardForm.js +81 -87
  801. package/dist/utilities/form/paymentForm/CreditCardForm.js.map +1 -1
  802. package/dist/utilities/form/paymentForm/CreditCardForm.mjs +84 -195
  803. package/dist/utilities/form/paymentForm/CreditCardForm.mjs.map +1 -1
  804. package/dist/utilities/form/paymentForm/CreditCardUtils.d.ts.map +1 -1
  805. package/dist/utilities/form/paymentForm/CreditCardUtils.js +5 -0
  806. package/dist/utilities/form/paymentForm/CreditCardUtils.js.map +1 -1
  807. package/dist/utilities/form/paymentForm/CreditCardUtils.mjs +1 -0
  808. package/dist/utilities/form/paymentForm/CreditCardUtils.mjs.map +1 -1
  809. package/dist/utilities/form/paymentForm/HostedPaymentError.d.ts +5 -16
  810. package/dist/utilities/form/paymentForm/HostedPaymentError.d.ts.map +1 -1
  811. package/dist/utilities/form/paymentForm/HostedPaymentError.js +6 -18
  812. package/dist/utilities/form/paymentForm/HostedPaymentError.js.map +1 -1
  813. package/dist/utilities/form/paymentForm/HostedPaymentError.mjs +19 -56
  814. package/dist/utilities/form/paymentForm/HostedPaymentError.mjs.map +1 -1
  815. package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts +12 -14
  816. package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts.map +1 -1
  817. package/dist/utilities/form/paymentForm/NewCreditCardForm.js +45 -58
  818. package/dist/utilities/form/paymentForm/NewCreditCardForm.js.map +1 -1
  819. package/dist/utilities/form/paymentForm/NewCreditCardForm.mjs +186 -263
  820. package/dist/utilities/form/paymentForm/NewCreditCardForm.mjs.map +1 -1
  821. package/dist/utilities/form/paymentForm/NewECheckForm.d.ts +9 -14
  822. package/dist/utilities/form/paymentForm/NewECheckForm.d.ts.map +1 -1
  823. package/dist/utilities/form/paymentForm/NewECheckForm.js +28 -68
  824. package/dist/utilities/form/paymentForm/NewECheckForm.js.map +1 -1
  825. package/dist/utilities/form/paymentForm/NewECheckForm.mjs +185 -228
  826. package/dist/utilities/form/paymentForm/NewECheckForm.mjs.map +1 -1
  827. package/dist/utilities/form/paymentForm/PaymentBankDetails.d.ts.map +1 -1
  828. package/dist/utilities/form/paymentForm/PaymentBankDetails.js +4 -2
  829. package/dist/utilities/form/paymentForm/PaymentBankDetails.js.map +1 -1
  830. package/dist/utilities/form/paymentForm/PaymentCardDetail.d.ts.map +1 -1
  831. package/dist/utilities/form/paymentForm/PaymentCardDetail.js +4 -2
  832. package/dist/utilities/form/paymentForm/PaymentCardDetail.js.map +1 -1
  833. package/dist/utilities/form/paymentForm/PaymentForm.d.ts +67 -3
  834. package/dist/utilities/form/paymentForm/PaymentForm.d.ts.map +1 -1
  835. package/dist/utilities/form/paymentForm/PaymentForm.js +281 -246
  836. package/dist/utilities/form/paymentForm/PaymentForm.js.map +1 -1
  837. package/dist/utilities/form/paymentForm/PaymentForm.mjs +296 -296
  838. package/dist/utilities/form/paymentForm/PaymentForm.mjs.map +1 -1
  839. package/dist/utilities/form/paymentForm/usePaymentContext.d.ts +22 -0
  840. package/dist/utilities/form/paymentForm/usePaymentContext.d.ts.map +1 -0
  841. package/dist/utilities/form/paymentForm/usePaymentContext.js +117 -0
  842. package/dist/utilities/form/paymentForm/usePaymentContext.js.map +1 -0
  843. package/dist/utilities/form/paymentForm/usePaymentContext.mjs +119 -0
  844. package/dist/utilities/form/paymentForm/usePaymentContext.mjs.map +1 -0
  845. package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts +1 -1
  846. package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts.map +1 -1
  847. package/dist/utilities/form/paymentForm/usePaymentProviderForm.js +2 -2
  848. package/dist/utilities/form/paymentForm/usePaymentProviderForm.js.map +1 -1
  849. package/dist/utilities/form/paymentForm/usePaymentProviderForm.mjs +16 -12
  850. package/dist/utilities/form/paymentForm/usePaymentProviderForm.mjs.map +1 -1
  851. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts.map +1 -1
  852. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.js +22 -28
  853. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.js.map +1 -1
  854. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.mjs +37 -32
  855. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.mjs.map +1 -1
  856. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts.map +1 -1
  857. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.js +25 -27
  858. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.js.map +1 -1
  859. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.mjs +40 -38
  860. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.mjs.map +1 -1
  861. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +4 -0
  862. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts.map +1 -1
  863. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.js +69 -48
  864. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.js.map +1 -1
  865. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.mjs +85 -61
  866. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.mjs.map +1 -1
  867. package/dist/utilities/form/useFieldChangeListener.mjs +1 -1
  868. package/dist/utilities/iconLibrary/FluentIcon.mjs +1 -1
  869. package/dist/utilities/iconLibrary/IconLibrary.mjs +1 -1
  870. package/dist/utilities/iconLibrary/SelectedLibraryItem.mjs +1 -1
  871. package/dist/utilities/iconLibrary/SvgIcon.mjs +1 -1
  872. package/dist/utilities/iconLibrary/UnityFluentIcon.mjs +1 -1
  873. package/dist/utilities/iconLibrary/UnityIcon.mjs +1 -1
  874. package/dist/utilities/menus/MenuProvider.mjs +1 -1
  875. package/dist/utilities/page/PageSubHeaderAction.mjs +1 -1
  876. package/dist/utilities/search/SearchUtilities.mjs +1 -1
  877. package/dist/utilities/style/ContentContainer.mjs +1 -1
  878. package/dist/utilities/style/verticalStyles.mjs +1 -1
  879. package/dist/utilities/tenant/TenantAccessDialog.mjs +1 -1
  880. package/dist/utilities/tenant/TenantProvider.mjs +1 -1
  881. package/dist/utilities/tenant/TenantSelect.mjs +1 -1
  882. package/dist/utilities/tenant/UdpTenantSelect.mjs +1 -1
  883. package/dist/utilities/theme/systemColors.mjs +1 -1
  884. package/dist/utilities/theme/theme.mjs +1 -1
  885. package/dist/utilities/transactions/useTransactionEngine.mjs +1 -1
  886. package/dist/utilities/uploader/FileProfile.mjs +1 -1
  887. package/dist/utilities/uploader/FileType.mjs +1 -1
  888. package/dist/utilities/uploader/FileUpload.mjs +1 -1
  889. package/dist/utilities/uploader/ImagePreview.mjs +1 -1
  890. package/dist/utilities/useApiMutation.mjs +1 -1
  891. package/dist/utilities/useApiQuery.mjs +1 -1
  892. package/dist/utilities/useDevicePixelRatio.mjs +1 -1
  893. package/dist/utilities/useGravatar.mjs +1 -1
  894. package/dist/utilities/utilityBar/InquiryHeaderControl.mjs +1 -1
  895. package/dist/utilities/utilityBar/InquiryHeaderSecondary.mjs +1 -1
  896. package/dist/utilities/utilityBar/InquiryHeaderSecondaryAlert.mjs +1 -1
  897. package/dist/utilities/utilityBar/InquiryHeaderTitle.mjs +1 -1
  898. package/dist/utilities/utilityBar/SubHeaderAction.mjs +1 -1
  899. package/dist/utilities/utilityBar/UtilityBarInport.mjs +1 -1
  900. package/dist/workflow/WorkflowContainer.mjs +1 -1
  901. package/dist/workflow/components/WorkflowTaskFlow.mjs +1 -1
  902. package/package.json +90 -46
  903. package/dist/test/TestStencilWrappedComponentsPage.d.ts +0 -3
  904. package/dist/test/TestStencilWrappedComponentsPage.d.ts.map +0 -1
  905. package/dist/test/TestStencilWrappedComponentsPage.js +0 -131
  906. package/dist/test/TestStencilWrappedComponentsPage.js.map +0 -1
  907. package/dist/test/TestStencilWrappedComponentsPage.mjs +0 -463
  908. package/dist/test/TestStencilWrappedComponentsPage.mjs.map +0 -1
  909. package/dist/utilities/form/paymentForm/BankIcon.mjs +0 -56
  910. package/dist/utilities/form/paymentForm/BankIcon.mjs.map +0 -1
  911. package/dist/utilities/form/paymentForm/CashIcon.mjs +0 -55
  912. package/dist/utilities/form/paymentForm/CashIcon.mjs.map +0 -1
  913. package/dist/utilities/form/paymentForm/CheckIcon.mjs +0 -62
  914. package/dist/utilities/form/paymentForm/CheckIcon.mjs.map +0 -1
  915. package/dist/utilities/form/paymentForm/CreditCardIcon.mjs +0 -85
  916. package/dist/utilities/form/paymentForm/CreditCardIcon.mjs.map +0 -1
  917. package/dist/utilities/form/paymentForm/DisableOverlay.mjs +0 -44
  918. package/dist/utilities/form/paymentForm/DisableOverlay.mjs.map +0 -1
  919. package/dist/utilities/form/paymentForm/PaymentBankDetails.mjs +0 -161
  920. package/dist/utilities/form/paymentForm/PaymentBankDetails.mjs.map +0 -1
  921. package/dist/utilities/form/paymentForm/PaymentCard.d.ts +0 -13
  922. package/dist/utilities/form/paymentForm/PaymentCard.d.ts.map +0 -1
  923. package/dist/utilities/form/paymentForm/PaymentCard.js +0 -54
  924. package/dist/utilities/form/paymentForm/PaymentCard.js.map +0 -1
  925. package/dist/utilities/form/paymentForm/PaymentCard.mjs +0 -96
  926. package/dist/utilities/form/paymentForm/PaymentCard.mjs.map +0 -1
  927. package/dist/utilities/form/paymentForm/PaymentCardDetail.mjs +0 -284
  928. package/dist/utilities/form/paymentForm/PaymentCardDetail.mjs.map +0 -1
  929. package/dist/utilities/form/paymentForm/PaymentDropdown.mjs +0 -142
  930. package/dist/utilities/form/paymentForm/PaymentDropdown.mjs.map +0 -1
  931. package/dist/utilities/form/paymentForm/TabPanel.mjs +0 -74
  932. package/dist/utilities/form/paymentForm/TabPanel.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
+ import { c } from "../../../reactCompilerRuntime.mjs";
1
2
  import { PaymentVendorFactoryEnum } from "../../../enums/paymentVendorFactoryEnum.mjs";
2
3
  import { ICheckForm } from "./vendorsForms/ICheckForm.mjs";
3
4
  import { FiservForm } from "./vendorsForms/FiservForm.mjs";
4
5
  import { PaymentusForm } from "./vendorsForms/PaymentusForm.mjs";
5
- import { c } from "react-compiler-runtime";
6
6
  import React from "react";
7
7
  //#region src/utilities/form/paymentForm/usePaymentProviderForm.tsx
8
8
  /**
@@ -14,8 +14,8 @@ import React from "react";
14
14
  * @param {(paymentFormResult: any) => void} onStatusChange
15
15
  * @return {*} {*}
16
16
  */
17
- const usePaymentProviderForm = (paymentMethod, providerType, providerProps, onStatusChange, paymentDetails, data) => {
18
- const $ = c(19);
17
+ const usePaymentProviderForm = (paymentMethod, providerType, providerProps, onStatusChange, paymentDetails, data, s2sToken, s2sTenantId) => {
18
+ const $ = c(21);
19
19
  switch (providerType) {
20
20
  case PaymentVendorFactoryEnum.ICheck: {
21
21
  let t0;
@@ -55,12 +55,14 @@ const usePaymentProviderForm = (paymentMethod, providerType, providerProps, onSt
55
55
  }
56
56
  case PaymentVendorFactoryEnum.Paymentus: {
57
57
  let t0;
58
- if ($[11] !== data || $[12] !== onStatusChange || $[13] !== paymentDetails || $[14] !== paymentMethod || $[15] !== providerProps) {
58
+ if ($[11] !== data || $[12] !== onStatusChange || $[13] !== paymentDetails || $[14] !== paymentMethod || $[15] !== providerProps || $[16] !== s2sTenantId || $[17] !== s2sToken) {
59
59
  t0 = /* @__PURE__ */ React.createElement(PaymentusForm, {
60
60
  paymentMethod,
61
61
  onStatusChange,
62
62
  paymentDetails,
63
63
  paymentData: data,
64
+ s2sToken,
65
+ s2sTenantId,
64
66
  ...providerProps
65
67
  });
66
68
  $[11] = data;
@@ -68,24 +70,26 @@ const usePaymentProviderForm = (paymentMethod, providerType, providerProps, onSt
68
70
  $[13] = paymentDetails;
69
71
  $[14] = paymentMethod;
70
72
  $[15] = providerProps;
71
- $[16] = t0;
72
- } else t0 = $[16];
73
+ $[16] = s2sTenantId;
74
+ $[17] = s2sToken;
75
+ $[18] = t0;
76
+ } else t0 = $[18];
73
77
  return t0;
74
78
  }
75
79
  case PaymentVendorFactoryEnum.Stripe: {
76
80
  let t0;
77
- if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
81
+ if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
78
82
  t0 = /* @__PURE__ */ React.createElement(React.Fragment, null);
79
- $[17] = t0;
80
- } else t0 = $[17];
83
+ $[19] = t0;
84
+ } else t0 = $[19];
81
85
  return t0;
82
86
  }
83
87
  case PaymentVendorFactoryEnum.AuthorizeNet: {
84
88
  let t0;
85
- if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
89
+ if ($[20] === Symbol.for("react.memo_cache_sentinel")) {
86
90
  t0 = /* @__PURE__ */ React.createElement(React.Fragment, null);
87
- $[18] = t0;
88
- } else t0 = $[18];
91
+ $[20] = t0;
92
+ } else t0 = $[20];
89
93
  return t0;
90
94
  }
91
95
  default: return null;
@@ -1 +1 @@
1
- {"version":3,"file":"usePaymentProviderForm.mjs","names":["React","PaymentMethodData","PaymentTenderTypeEnum","PaymentVendorFactoryEnum","ICheckForm","FiservForm","PaymentusForm","usePaymentProviderForm","paymentMethod","providerType","providerProps","onStatusChange","paymentDetails","data","$","_c","ICheck","t0","Fiserv","Paymentus","Stripe","Symbol","for","AuthorizeNet"],"sources":["../../../../src/utilities/form/paymentForm/usePaymentProviderForm.tsx"],"sourcesContent":["import React from 'react';\nimport { PaymentMethodData } from './AccountPayment.model';\nimport { PaymentTenderTypeEnum } from '../../../enums/paymentTenderTypeEnum';\nimport { PaymentVendorFactoryEnum } from '../../../enums/paymentVendorFactoryEnum';\nimport { ICheckForm } from './vendorsForms/ICheckForm';\nimport { FiservForm } from './vendorsForms/FiservForm';\nimport { PaymentusForm } from './vendorsForms/PaymentusForm';\n\n/**\n * useProviderForm\n *\n * @param {(PaymentTenderTypeEnum | undefined)} paymentMethod\n * @param {*} providerType\n * @param {*} providerProps\n * @param {(paymentFormResult: any) => void} onStatusChange\n * @return {*} {*}\n */\nexport const usePaymentProviderForm = (\n paymentMethod: PaymentTenderTypeEnum | undefined,\n providerType: any,\n providerProps: any,\n onStatusChange?: (paymentFormResult: any) => void,\n paymentDetails?: any,\n data?: PaymentMethodData\n): any => {\n switch (providerType) {\n case PaymentVendorFactoryEnum.ICheck:\n return (\n <ICheckForm\n paymentMethod={paymentMethod}\n onStatusChange={onStatusChange}\n paymentDetails={paymentDetails}\n paymentData={data}\n {...providerProps}\n />\n );\n case PaymentVendorFactoryEnum.Fiserv:\n return (\n <FiservForm\n paymentMethod={paymentMethod}\n onStatusChange={onStatusChange}\n paymentData={data}\n {...providerProps}\n />\n );\n case PaymentVendorFactoryEnum.Paymentus:\n return (\n <PaymentusForm\n paymentMethod={paymentMethod}\n onStatusChange={onStatusChange}\n paymentDetails={paymentDetails}\n paymentData={data}\n {...providerProps}\n />\n );\n case PaymentVendorFactoryEnum.Stripe:\n // TODO: StripeForm component\n return <></>;\n case PaymentVendorFactoryEnum.AuthorizeNet:\n // TODO: AuthorizeNet component\n return <></>;\n default:\n return null;\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAaO,0BAAyBC,eAAAC,cAAAC,eAAAC,gBAAAC,gBAAAC,SAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;AAQpC,SAAQN,cAAR;EAAoB,KACbN,yBAAwBa,QAAO;GAAA,IAAAC;AAAA,OAAAH,EAAA,OAAAD,QAAAC,EAAA,OAAAH,kBAAAG,EAAA,OAAAF,kBAAAE,EAAA,OAAAN,iBAAAM,EAAA,OAAAJ,eAAA;AAEhCO,SAAA,sBAAA,cAAC,YAAD;KACiBT;KACCG;KACAC;KACHC,aAAAA;KAAI,GACbH;KACJ,CAAA;AAAAI,MAAA,KAAAD;AAAAC,MAAA,KAAAH;AAAAG,MAAA,KAAAF;AAAAE,MAAA,KAAAN;AAAAM,MAAA,KAAAJ;AAAAI,MAAA,KAAAG;SAAAA,MAAAH,EAAA;AAAA,UANFG;;EAME,KAEDd,yBAAwBe,QAAO;GAAA,IAAAD;AAAA,OAAAH,EAAA,OAAAD,QAAAC,EAAA,OAAAH,kBAAAG,EAAA,OAAAN,iBAAAM,EAAA,OAAAJ,eAAA;AAEhCO,SAAA,sBAAA,cAAC,YAAD;KACiBT;KACCG;KACHE,aAAAA;KAAI,GACbH;KACJ,CAAA;AAAAI,MAAA,KAAAD;AAAAC,MAAA,KAAAH;AAAAG,MAAA,KAAAN;AAAAM,MAAA,KAAAJ;AAAAI,MAAA,MAAAG;SAAAA,MAAAH,EAAA;AAAA,UALFG;;EAKE,KAEDd,yBAAwBgB,WAAU;GAAA,IAAAF;AAAA,OAAAH,EAAA,QAAAD,QAAAC,EAAA,QAAAH,kBAAAG,EAAA,QAAAF,kBAAAE,EAAA,QAAAN,iBAAAM,EAAA,QAAAJ,eAAA;AAEnCO,SAAA,sBAAA,cAAC,eAAD;KACiBT;KACCG;KACAC;KACHC,aAAAA;KAAI,GACbH;KACJ,CAAA;AAAAI,MAAA,MAAAD;AAAAC,MAAA,MAAAH;AAAAG,MAAA,MAAAF;AAAAE,MAAA,MAAAN;AAAAM,MAAA,MAAAJ;AAAAI,MAAA,MAAAG;SAAAA,MAAAH,EAAA;AAAA,UANFG;;EAME,KAEDd,yBAAwBiB,QAAO;GAAA,IAAAH;AAAA,OAAAH,EAAA,QAAAO,OAAAC,IAAA,4BAAA,EAAA;AAE3BL,SAAA,sBAAA,cAAA,MAAA,UAAA,KAAK;AAAAH,MAAA,MAAAG;SAAAA,MAAAH,EAAA;AAAA,UAALG;;EAAK,KACTd,yBAAwBoB,cAAa;GAAA,IAAAN;AAAA,OAAAH,EAAA,QAAAO,OAAAC,IAAA,4BAAA,EAAA;AAEjCL,SAAA,sBAAA,cAAA,MAAA,UAAA,KAAK;AAAAH,MAAA,MAAAG;SAAAA,MAAAH,EAAA;AAAA,UAALG;;EAAK,QAAA,QAEL"}
1
+ {"version":3,"file":"usePaymentProviderForm.mjs","names":["React","PaymentMethodData","PaymentTenderTypeEnum","PaymentVendorFactoryEnum","ICheckForm","FiservForm","PaymentusForm","usePaymentProviderForm","paymentMethod","providerType","providerProps","onStatusChange","paymentDetails","data","s2sToken","s2sTenantId","$","_c","ICheck","t0","Fiserv","Paymentus","Stripe","Symbol","for","AuthorizeNet"],"sources":["../../../../src/utilities/form/paymentForm/usePaymentProviderForm.tsx"],"sourcesContent":["import React from 'react';\nimport { PaymentMethodData } from './AccountPayment.model';\nimport { PaymentTenderTypeEnum } from '../../../enums/paymentTenderTypeEnum';\nimport { PaymentVendorFactoryEnum } from '../../../enums/paymentVendorFactoryEnum';\nimport { ICheckForm } from './vendorsForms/ICheckForm';\nimport { FiservForm } from './vendorsForms/FiservForm';\nimport { PaymentusForm } from './vendorsForms/PaymentusForm';\n\n/**\n * useProviderForm\n *\n * @param {(PaymentTenderTypeEnum | undefined)} paymentMethod\n * @param {*} providerType\n * @param {*} providerProps\n * @param {(paymentFormResult: any) => void} onStatusChange\n * @return {*} {*}\n */\nexport const usePaymentProviderForm = (\n paymentMethod: PaymentTenderTypeEnum | undefined,\n providerType: any,\n providerProps: any,\n onStatusChange?: (paymentFormResult: any) => void,\n paymentDetails?: any,\n data?: PaymentMethodData,\n s2sToken?: string,\n s2sTenantId?: string\n): any => {\n switch (providerType) {\n case PaymentVendorFactoryEnum.ICheck:\n return (\n <ICheckForm\n paymentMethod={paymentMethod}\n onStatusChange={onStatusChange}\n paymentDetails={paymentDetails}\n paymentData={data}\n {...providerProps}\n />\n );\n case PaymentVendorFactoryEnum.Fiserv:\n return (\n <FiservForm\n paymentMethod={paymentMethod}\n onStatusChange={onStatusChange}\n paymentData={data}\n {...providerProps}\n />\n );\n case PaymentVendorFactoryEnum.Paymentus:\n return (\n <PaymentusForm\n paymentMethod={paymentMethod}\n onStatusChange={onStatusChange}\n paymentDetails={paymentDetails}\n paymentData={data}\n s2sToken={s2sToken}\n s2sTenantId={s2sTenantId}\n {...providerProps}\n />\n );\n case PaymentVendorFactoryEnum.Stripe:\n // TODO: StripeForm component\n return <></>;\n case PaymentVendorFactoryEnum.AuthorizeNet:\n // TODO: AuthorizeNet component\n return <></>;\n default:\n return null;\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAaO,0BAAyBC,eAAAC,cAAAC,eAAAC,gBAAAC,gBAAAC,MAAAC,UAAAC,gBAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;AAUpC,SAAQR,cAAR;EAAoB,KACbN,yBAAwBe,QAAO;GAAA,IAAAC;AAAA,OAAAH,EAAA,OAAAH,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AAwBmB,QAAO;GAAA,IAAAH;AAAA,OAAAH,EAAA,QAAAO,OAAAC,IAAA,4BAAA,EAAA;AAE3BL,SAAA,sBAAA,cAAA,MAAA,UAAA,KAAK;AAAAH,MAAA,MAAAG;SAAAA,MAAAH,EAAA;AAAA,UAALG;;EAAK,KACThB,yBAAwBsB,cAAa;GAAA,IAAAN;AAAA,OAAAH,EAAA,QAAAO,OAAAC,IAAA,4BAAA,EAAA;AAEjCL,SAAA,sBAAA,cAAA,MAAA,UAAA,KAAK;AAAAH,MAAA,MAAAG;SAAAA,MAAAH,EAAA;AAAA,UAALG;;EAAK,QAAA,QAEL"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiservForm.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAsEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,UAAU;;;;;;;uBAsKtB,CAAC"}
1
+ {"version":3,"file":"FiservForm.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAwEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,UAAU;;;;;;;uBA0JtB,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import React, { useEffect, useMemo, useState, useCallback } from 'react';
2
2
  import { PaymentTenderTypeEnum } from '../../../../enums/paymentTenderTypeEnum';
3
3
  import { useTranslation } from 'react-i18next';
4
- import { InputLabel, Typography, useTheme, Box } from '@material-ui/core';
5
- import { LayoutUnit } from '../../../../layout/LayoutUnit';
6
- import { CircularProgress } from '../../../../UI/loading/CircularProgress';
4
+ import { useTheme } from '@material-ui/core';
5
+ import { UdpFlexbox } from '../../../../UI/fluent-web-components/UdpFlexbox';
6
+ import { UdpText } from '../../../../UI/fluent-web-components/UdpText';
7
+ import { UdpSpinner } from '../../../../UI/fluent-web-components/UdpSpinner';
8
+ import { UdpMessageBar } from '../../../../UI/fluent-web-components/UdpMessageBar';
7
9
  const defaultCssStyles = (theme) => {
8
10
  return `
9
11
  input, button, select {
@@ -99,7 +101,7 @@ const DEFAULT_ECHECK_FEATURES = `&fullmobilekeyboard=true`;
99
101
  export const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatusChange = (paymentFormResult) => { }, baseUrl = "https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html", customCss = '', attributes = null, paymentData = null }) => {
100
102
  // State to hold the token value
101
103
  const [loading, setLoading] = useState(true);
102
- const [token, setToken] = useState('');
104
+ const [, setToken] = useState('');
103
105
  const [error, setError] = useState(null);
104
106
  const { t } = useTranslation();
105
107
  const theme = useTheme();
@@ -133,11 +135,20 @@ export const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, o
133
135
  setLoading(false);
134
136
  };
135
137
  useEffect(() => {
136
- // Function to handle message event
138
+ // Restrict postMessage handling to the vendor iframe origin. Without this,
139
+ // any embedding context can spoof a tokenization payload.
140
+ let expectedOrigin = '';
141
+ try {
142
+ expectedOrigin = new URL(baseUrl).origin;
143
+ }
144
+ catch (_a) {
145
+ expectedOrigin = '';
146
+ }
137
147
  const handleMessage = (event) => {
148
+ if (expectedOrigin && event.origin !== expectedOrigin)
149
+ return;
138
150
  try {
139
151
  const data = JSON.parse(event.data);
140
- // Set the token state with the incoming message
141
152
  setToken(data.message);
142
153
  handleFiservResponse(data);
143
154
  }
@@ -145,13 +156,11 @@ export const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, o
145
156
  console.error('Error parsing the event data', error);
146
157
  }
147
158
  };
148
- // Add event listener for 'message' events
149
159
  window.addEventListener('message', handleMessage, false);
150
- // Cleanup function to remove event listener
151
160
  return () => {
152
161
  window.removeEventListener('message', handleMessage, false);
153
162
  };
154
- }, [paymentMethod]);
163
+ }, [paymentMethod, baseUrl, handleFiservResponse]);
155
164
  /**
156
165
  * iFrameURL
157
166
  *
@@ -184,24 +193,9 @@ export const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, o
184
193
  ${url}
185
194
  `.trim();
186
195
  }, [paymentMethod]);
187
- return (React.createElement("div", null, error ?
188
- React.createElement(React.Fragment, null, React.createElement(Typography, { variant: "subtitle1", color: "error" }, t('There was an error rendering the hosted payment form. Please check your settings and try again')), React.createElement(LayoutUnit, { unit: "xxs" }), React.createElement(Typography, { variant: "body1", color: "error" }, t('Error'), ":", error))
189
- :
190
- React.createElement("form", { name: "tokenform", id: "tokenform" }, paymentMethod === PaymentTenderTypeEnum.ECheck &&
191
- React.createElement(InputLabel, { style: { fontSize: 15, marginLeft: 10 } }, t('eCheck Information')), loading && (
192
- // @ts-ignore
193
- React.createElement(Box, { sx: {
194
- position: 'fixed',
195
- top: 0,
196
- left: 0,
197
- width: '100%',
198
- height: '100%',
199
- // @ts-ignore
200
- backgroundColor: 'rgba(255, 255, 255, 0.8)',
201
- zIndex: 9999,
202
- display: 'flex',
203
- alignItems: 'center',
204
- justifyContent: 'center',
205
- } }, React.createElement(CircularProgress, { size: "3rem", color: "primary" }))), React.createElement("iframe", { id: "tokenframe", name: "tokenframe", src: `${baseUrl}?${iFrameURL}`, scrolling: "yes", width: "100%", height: "220", frameBorder: "0", onLoad: handleLoad, onError: handleError, style: { display: loading ? 'none' : 'block' } }))));
196
+ if (error) {
197
+ return (React.createElement(UdpMessageBar, { intent: "error", layout: "multiline" }, t('There was an error rendering the hosted payment form. Please check your settings and try again'), ': ', error));
198
+ }
199
+ return (React.createElement("form", { name: "tokenform", id: "tokenform" }, paymentMethod === PaymentTenderTypeEnum.ECheck && (React.createElement(UdpText, { variant: "caption1", block: true }, t('eCheck Information'))), loading && (React.createElement(UdpFlexbox, { direction: "row", justify: "center", align: "center" }, React.createElement(UdpSpinner, { size: "medium" }))), React.createElement("iframe", { id: "tokenframe", name: "tokenframe", title: t('Payment tokenization'), src: `${baseUrl}?${iFrameURL}`, scrolling: "yes", width: "100%", height: "220", frameBorder: "0", onLoad: handleLoad, onError: handleError, style: { display: loading ? 'none' : 'block', border: 0 } })));
206
200
  };
207
201
  //# sourceMappingURL=FiservForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiservForm.js","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,MAAM,gBAAgB,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC;IACvC,OAAO;;;;;;sBAMa,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;kBAiB3B,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;4BAChB,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;;;;;;;;;;;;;sBAahC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;WACrC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;;;;;;;WAO9B,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS;;;;WAI5B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,WAAW,EAAC,EAAE,EAAC,WAAW,IAClC,aAAa,KAAK,qBAAqB,CAAC,MAAM;gBAC7C,oBAAC,UAAU,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,IAChD,CAAC,CAAC,oBAAoB,CAAC,CACb,EAGd,OAAO,IAAI;YACV,aAAa;YACb,oBAAC,GAAG,IACF,EAAE,EAAE;oBACF,QAAQ,EAAE,OAAO;oBACjB,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,MAAM;oBACd,aAAa;oBACb,eAAe,EAAE,0BAA0B;oBAC3C,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,cAAc,EAAE,QAAQ;iBACzB,IAED,oBAAC,gBAAgB,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,CAC5C,CACP,EACD,gCACE,EAAE,EAAC,YAAY,EACf,IAAI,EAAC,YAAY,EACjB,GAAG,EAAE,GAAG,OAAO,IAAI,SAAS,EAAE,EAC9B,SAAS,EAAC,KAAK,EACf,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,KAAK,EACZ,WAAW,EAAC,GAAG,EACf,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,GAC9C,CACG,CAEP,CACP,CAAC;AAAA,CACH,CAAC"}
1
+ {"version":3,"file":"FiservForm.js","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,qBAA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AED,gCACE,EAAE,EAAC,YAAY,EACf,IAAI,EAAC,YAAY,EACjB,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAChC,GAAG,EAAE,GAAG,OAAO,IAAI,SAAS,EAAE,EAC9B,SAAS,EAAC,KAAK,EACf,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,KAAK,EACZ,WAAW,EAAC,GAAG,EACf,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,GACzD,CACG,CACR,CAAC;AAAA,CACH,CAAC"}
@@ -1,8 +1,10 @@
1
- import { LayoutUnit } from "../../../../layout/LayoutUnit.mjs";
2
1
  import { PaymentTenderTypeEnum } from "../../../../enums/paymentTenderTypeEnum.mjs";
3
- import { CircularProgress as CircularProgress$1 } from "../../../../UI/loading/CircularProgress.mjs";
2
+ import { UdpFlexbox } from "../../../../UI/fluent-web-components/UdpFlexbox.mjs";
3
+ import { UdpMessageBar } from "../../../../UI/fluent-web-components/UdpMessageBar.mjs";
4
+ import { UdpSpinner } from "../../../../UI/fluent-web-components/UdpSpinner.mjs";
5
+ import { UdpText } from "../../../../UI/fluent-web-components/UdpText.mjs";
4
6
  import React, { useCallback, useEffect, useMemo, useState } from "react";
5
- import { Box, InputLabel, Typography, useTheme } from "@material-ui/core";
7
+ import { useTheme } from "@material-ui/core";
6
8
  import { useTranslation } from "react-i18next";
7
9
  //#region src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx
8
10
  const defaultCssStyles = (theme) => {
@@ -99,7 +101,7 @@ const DEFAULT_ECHECK_FEATURES = `&fullmobilekeyboard=true`;
99
101
  */
100
102
  const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatusChange = (paymentFormResult) => {}, baseUrl = "https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html", customCss = "", attributes = null, paymentData = null }) => {
101
103
  const [loading, setLoading] = useState(true);
102
- const [token, setToken] = useState("");
104
+ const [, setToken] = useState("");
103
105
  const [error, setError] = useState(null);
104
106
  const { t } = useTranslation();
105
107
  const defaultCss = defaultCssStyles(useTheme());
@@ -127,7 +129,14 @@ const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatus
127
129
  setLoading(false);
128
130
  };
129
131
  useEffect(() => {
132
+ let expectedOrigin = "";
133
+ try {
134
+ expectedOrigin = new URL(baseUrl).origin;
135
+ } catch {
136
+ expectedOrigin = "";
137
+ }
130
138
  const handleMessage = (event) => {
139
+ if (expectedOrigin && event.origin !== expectedOrigin) return;
131
140
  try {
132
141
  const data = JSON.parse(event.data);
133
142
  setToken(data.message);
@@ -140,7 +149,11 @@ const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatus
140
149
  return () => {
141
150
  window.removeEventListener("message", handleMessage, false);
142
151
  };
143
- }, [paymentMethod]);
152
+ }, [
153
+ paymentMethod,
154
+ baseUrl,
155
+ handleFiservResponse
156
+ ]);
144
157
  /**
145
158
  * iFrameURL
146
159
  *
@@ -170,35 +183,24 @@ const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatus
170
183
  ${url}
171
184
  `.trim();
172
185
  }, [paymentMethod]);
173
- return /* @__PURE__ */ React.createElement("div", null, error ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Typography, {
174
- variant: "subtitle1",
175
- color: "error"
176
- }, t("There was an error rendering the hosted payment form. Please check your settings and try again"), ":"), /* @__PURE__ */ React.createElement(LayoutUnit, { unit: "xxs" }), /* @__PURE__ */ React.createElement(Typography, {
177
- variant: "body1",
178
- color: "error"
179
- }, t("Error"), ":", error)) : /* @__PURE__ */ React.createElement("form", {
186
+ if (error) return /* @__PURE__ */ React.createElement(UdpMessageBar, {
187
+ intent: "error",
188
+ layout: "multiline"
189
+ }, t("There was an error rendering the hosted payment form. Please check your settings and try again"), ": ", error);
190
+ return /* @__PURE__ */ React.createElement("form", {
180
191
  name: "tokenform",
181
192
  id: "tokenform"
182
- }, paymentMethod === PaymentTenderTypeEnum.ECheck && /* @__PURE__ */ React.createElement(InputLabel, { style: {
183
- fontSize: 15,
184
- marginLeft: 10
185
- } }, t("eCheck Information")), loading && /* @__PURE__ */ React.createElement(Box, { sx: {
186
- position: "fixed",
187
- top: 0,
188
- left: 0,
189
- width: "100%",
190
- height: "100%",
191
- backgroundColor: "rgba(255, 255, 255, 0.8)",
192
- zIndex: 9999,
193
- display: "flex",
194
- alignItems: "center",
195
- justifyContent: "center"
196
- } }, /* @__PURE__ */ React.createElement(CircularProgress$1, {
197
- size: "3rem",
198
- color: "primary"
199
- })), /* @__PURE__ */ React.createElement("iframe", {
193
+ }, paymentMethod === PaymentTenderTypeEnum.ECheck && /* @__PURE__ */ React.createElement(UdpText, {
194
+ variant: "caption1",
195
+ block: true
196
+ }, t("eCheck Information")), loading && /* @__PURE__ */ React.createElement(UdpFlexbox, {
197
+ direction: "row",
198
+ justify: "center",
199
+ align: "center"
200
+ }, /* @__PURE__ */ React.createElement(UdpSpinner, { size: "medium" })), /* @__PURE__ */ React.createElement("iframe", {
200
201
  id: "tokenframe",
201
202
  name: "tokenframe",
203
+ title: t("Payment tokenization"),
202
204
  src: `${baseUrl}?${iFrameURL}`,
203
205
  scrolling: "yes",
204
206
  width: "100%",
@@ -206,8 +208,11 @@ const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatus
206
208
  frameBorder: "0",
207
209
  onLoad: handleLoad,
208
210
  onError: handleError,
209
- style: { display: loading ? "none" : "block" }
210
- })));
211
+ style: {
212
+ display: loading ? "none" : "block",
213
+ border: 0
214
+ }
215
+ }));
211
216
  };
212
217
  //#endregion
213
218
  export { FiservForm };
@@ -1 +1 @@
1
- {"version":3,"file":"FiservForm.mjs","names":["React","useEffect","useMemo","useState","useCallback","PaymentTenderTypeEnum","useTranslation","InputLabel","Typography","useTheme","Box","LayoutUnit","CircularProgress","defaultCssStyles","theme","palette","grey","primary","main","background","paper","text","secondary","error","trim","DEFAULT_CREDIT_CARD_PLACEHOLDERS","DEFAULT_CREDIT_CARD_FEATURES","DEFAULT_ECHECK_PLACEHOLDERS","DEFAULT_ECHECK_FEATURES","FiservForm","paymentMethod","CreditCard","onStatusChange","paymentFormResult","baseUrl","customCss","attributes","paymentData","loading","setLoading","token","setToken","setError","t","defaultCss","handleFiservResponse","response","isError","errorCode","errorMessage","ECheck","message","paymentFormResponse","isValid","payload","handleLoad","handleError","handleMessage","event","data","JSON","parse","console","window","addEventListener","removeEventListener","iFrameURL","url","encodedCss","encodeURIComponent","creditCardCssStyles","queryParams","Object","entries","map","key","value","toLowerCase","toString","join","eCheckCssStyles","queryParamsECheck","fontSize","marginLeft","position","top","left","width","height","backgroundColor","zIndex","display","alignItems","justifyContent"],"sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx"],"sourcesContent":["import React, { useEffect, useMemo, useState, useCallback } from 'react';\nimport { PaymentTenderTypeEnum } from '../../../../enums/paymentTenderTypeEnum';\nimport { useTranslation } from 'react-i18next';\nimport { InputLabel, Typography, useTheme, Box } from '@material-ui/core';\nimport { LayoutUnit } from '../../../../layout/LayoutUnit';\nimport { CircularProgress } from '../../../../UI/loading/CircularProgress';\n\nconst defaultCssStyles = (theme: any) => {\n return `\ninput, button, select {\n font-family: 'Segoe UI', Roboto, Noto, 'Helvetica Neue', Helvetica, Ubuntu, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n font-size: 14px;\n line-height: 1.1876em;\n height: 16.6146px;\n border: 1px solid ${theme.palette.grey[400]};\n border-radius: 2px;\n color: currentColor;\n width: 80%;\n height: 1.1876em;\n margin: 8px 0px 0px 0px;\n display: block;\n padding: 6px 0px 6px 5px;\n min-width: 0;\n background: none;\n box-sizing: content-box;\n animation-name: mui-auto-fill-cancel;\n letter-spacing: inherit;\n animation-duration: 10ms;\n}\ninput:focus, button:focus, select:focus {\n outline: none;\n border-color: ${theme.palette.primary.main};\n box-shadow: 0px 0px 3px ${theme.palette.primary.main};\n}\n#ccexpirymonth, #ccexpiryyear {\n display: inline-block;\n vertical-align: middle;\n}\n#ccexpirymonth, #ccexpiryyear {\n width: 30%;\n}\nbr {\n display: none;\n}\nbutton {\n background-color: ${theme.palette.primary.main};\n color: ${theme.palette.background.paper};\n text-transform: uppercase;\n}\nlabel {\n display: block;\n font-family: \"Segoe UI\", Roboto, Noto, \"Helvetica Neue\", Helvetica, Ubuntu, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\" !important;\n font-size: 14px;\n color: ${theme.palette.text.secondary};\n margin-top: 10px;\n}\n.error {\n color: ${theme.palette.error.main};\n border-color: ${theme.palette.error.main};\n}\n::placeholder {\n color: ${theme.palette.grey[500]};\n}`.trim();\n};\n\nconst DEFAULT_CREDIT_CARD_PLACEHOLDERS = \"`placeholder=Enter Card Details&placeholdercvv=123&placeholdermonth=MM&placeholderyear=YYYY`;\"\nconst DEFAULT_CREDIT_CARD_FEATURES = `&useexpiry=true&usecvv=true&invalidcreditcardevent=true&formatinput=true&unique=true&enhancedresponse=true&cardnumbernumericonly=true`;\n\nconst DEFAULT_ECHECK_PLACEHOLDERS = `placeholder=Routing Number / Account Number`;\nconst DEFAULT_ECHECK_FEATURES = `&fullmobilekeyboard=true`;\n\n/**\n * `FiservForm` Component\n *\n * This component is responsible for rendering an iframe for payment processing tailored for the Fiserv payment gateway. It manages the dynamic creation of the iframe URL based on the provided attributes and configures the iframe behavior accordingly.\n *\n * @param {Object} {\n * paymentMethod = PaymentTenderTypeEnum.CreditCard,\n * baseUrl = \"https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html\",\n * customCss = defaultCssStyles,\n * attributes = null\n * } The properties passed to the component.\n * @param {PaymentTenderTypeEnum} [paymentMethod=PaymentTenderTypeEnum.CreditCard] The payment method type, affecting the endpoint.\n * @param {Object} [onStatusChange=null] Callback function to handle the status change event.\n * @param {string} [baseUrl=\"https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html\"] The base URL for the Fiserv payment gateway iframe.\n * @param {string} [customCss=defaultCssStyles] Custom CSS to apply within the iframe.\n * @param {Object} [attributes=null] Additional payment attributes to append as query parameters.\n * @param {string} [attributes.placeholder] Placeholder text for the card fields.\n * @param {string} [attributes.placeholdercvv] Placeholder text for the CVV field.\n * @param {string} [attributes.placeholdermonth] Placeholder for the expiration month field.\n * @param {string} [attributes.placeholderyear] Placeholder for the expiration year field.\n * @param {boolean} [attributes.useexpiry=true] Flag to enable the use of the expiration date.\n * @param {boolean} [attributes.usecvv=true] Flag to enable the use of the CVV code.\n * @param {boolean} [attributes.invalidcreditcardevent=true] Event triggered on invalid card input.\n * @param {boolean} [attributes.formatinput=true] Formats the card input fields.\n * @param {boolean} [attributes.unique=true] Ensures unique card number inputs.\n * @param {boolean} [attributes.enhancedresponse=true] Provides enhanced responses.\n * @param {boolean} [attributes.cardnumbernumericonly=true] Allows only numeric input for the card number.\n * @param {boolean} [attributes.fullmobilekeyboard=false] Enables full mobile keyboard access.\n *\n * @return {React.Component} The `FiservForm` component that handles the rendering of the payment iframe and processes payment data or errors.\n */\nexport const FiservForm = ({\n paymentMethod = PaymentTenderTypeEnum.CreditCard,\n onStatusChange = (paymentFormResult: any) => { },\n baseUrl = \"https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html\",\n customCss = '',\n attributes = null,\n paymentData = null\n}) => {\n // State to hold the token value\n const [loading, setLoading] = useState(true);\n const [token, setToken] = useState('');\n const [error, setError] = useState(null);\n const { t } = useTranslation();\n\n const theme = useTheme();\n const defaultCss = defaultCssStyles(theme);\n\n /**\n * handleFiservResponse\n *\n * @param {*} response\n */\n const handleFiservResponse = useCallback((response: any) => {\n let isError;\n\n if (paymentMethod === PaymentTenderTypeEnum.CreditCard) {\n isError = response?.errorCode !== \"0\" || response?.errorMessage || !response?.token;\n } else if (paymentMethod === PaymentTenderTypeEnum.ECheck) {\n isError = !response?.message;\n }\n\n const paymentFormResponse = {\n isValid: !isError,\n payload: response,\n message: response?.message,\n errorCode: response?.errorCode,\n errorMessage: response?.errorMessage\n };\n\n onStatusChange(paymentFormResponse);\n }, [onStatusChange, paymentMethod]);\n\n const handleLoad = () => {\n setLoading(false);\n };\n\n const handleError = () => {\n setLoading(false);\n };\n\n useEffect(() => {\n // Function to handle message event\n const handleMessage = (event: { data: string }) => {\n\n try {\n const data = JSON.parse(event.data);\n // Set the token state with the incoming message\n setToken(data.message);\n handleFiservResponse(data);\n } catch (error) {\n console.error('Error parsing the event data', error);\n }\n };\n\n // Add event listener for 'message' events\n window.addEventListener('message', handleMessage, false);\n\n // Cleanup function to remove event listener\n return () => {\n window.removeEventListener('message', handleMessage, false);\n };\n }, [paymentMethod]);\n\n /**\n * iFrameURL\n *\n * @return {*}\n */\n const iFrameURL = useMemo(() => {\n let url = \"\";\n\n try {\n const encodedCss = encodeURIComponent(customCss || defaultCss);\n\n switch (paymentMethod) {\n case PaymentTenderTypeEnum.CreditCard:\n const creditCardCssStyles = `css=${encodedCss}`;\n const queryParams = attributes ? Object.entries(attributes)?.map(([key, value]) => `${key.toLowerCase()}=${value?.toString()}`).join('&') : \"\";\n\n url = attributes ? `${queryParams}&${creditCardCssStyles}` : `${DEFAULT_CREDIT_CARD_PLACEHOLDERS}&${creditCardCssStyles}${DEFAULT_CREDIT_CARD_FEATURES}`;\n break;\n case PaymentTenderTypeEnum.ECheck:\n const eCheckCssStyles = `css=${encodedCss}`;\n const queryParamsECheck = attributes ? Object.entries(attributes)?.map(([key, value]) => `${key.toLowerCase()}=${value?.toString()}`).join('&') : \"\";\n\n url = attributes ? `${queryParamsECheck}&${eCheckCssStyles}` : `${DEFAULT_ECHECK_PLACEHOLDERS}&${eCheckCssStyles}${DEFAULT_ECHECK_FEATURES}`;\n break;\n default:\n url = \"\";\n }\n } catch (error: any) {\n setError(error?.message);\n }\n\n return `\n ${url}\n `.trim();\n }, [paymentMethod]);\n\n return (\n <div>\n {\n error ?\n <>\n <Typography variant=\"subtitle1\" color=\"error\">\n {t('There was an error rendering the hosted payment form. Please check your settings and try again')}:\n </Typography>\n <LayoutUnit unit=\"xxs\" />\n <Typography variant=\"body1\" color=\"error\">\n {t('Error')}:{error}\n </Typography>\n </>\n :\n <form name=\"tokenform\" id=\"tokenform\">\n {paymentMethod === PaymentTenderTypeEnum.ECheck &&\n <InputLabel style={{ fontSize: 15, marginLeft: 10 }}>\n {t('eCheck Information')}\n </InputLabel>\n }\n\n {loading && (\n // @ts-ignore\n <Box\n sx={{\n position: 'fixed',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n // @ts-ignore\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n zIndex: 9999,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }}\n >\n <CircularProgress size=\"3rem\" color=\"primary\" />\n </Box>\n )}\n <iframe\n id=\"tokenframe\"\n name=\"tokenframe\"\n src={`${baseUrl}?${iFrameURL}`}\n scrolling=\"yes\"\n width=\"100%\"\n height=\"220\"\n frameBorder=\"0\"\n onLoad={handleLoad}\n onError={handleError}\n style={{ display: loading ? 'none' : 'block' }}\n />\n </form>\n }\n </div>\n );\n};\n"],"mappings":";;;;;;;AAOA,MAAMa,oBAAoBC,UAAe;AACvC,QAAO;;;;;;sBAMaA,MAAMC,QAAQC,KAAK,KAAI;;;;;;;;;;;;;;;;;kBAiB3BF,MAAMC,QAAQE,QAAQC,KAAI;4BAChBJ,MAAMC,QAAQE,QAAQC,KAAI;;;;;;;;;;;;;sBAahCJ,MAAMC,QAAQE,QAAQC,KAAI;WACrCJ,MAAMC,QAAQI,WAAWC,MAAK;;;;;;;WAO9BN,MAAMC,QAAQM,KAAKC,UAAS;;;;WAI5BR,MAAMC,QAAQQ,MAAML,KAAI;kBACjBJ,MAAMC,QAAQQ,MAA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,sBAAA,cAAC,YAAD;EAAY,SAAQ;EAAQ,OAAM;EAEtB,EADTA,EAAE,QAAQ,EAAC,KAAEpB,MACJ,CACX,GAEH,sBAAA,cAAC,QAAD;EAAM,MAAK;EAAY,IAAG;EAwC9B,EAvCOO,kBAAkBzB,sBAAsB6C,UACvC,sBAAA,cAAC,YAAD,EAAY,OAAO;EAAEgC,UAAU;EAAIC,YAAY;EAAI,EAGrD,EAFKxC,EAAE,qBAAqB,CAE5B,EAECL,WAEC,sBAAA,cAAC,KAAD,EACE,IAAI;EACF8C,UAAU;EACVC,KAAK;EACLC,MAAM;EACNC,OAAO;EACPC,QAAQ;EAERC,iBAAiB;EACjBC,QAAQ;EACRC,SAAS;EACTC,YAAY;EACZC,gBAAgB;EACjB,EAIJ,EAFG,sBAAA,cAAC,oBAAD;EAAkB,MAAK;EAAO,OAAM;EAAS,CAAA,CAEhD,EACD,sBAAA,cAAC,UAAD;EACE,IAAG;EACH,MAAK;EACL,KAAK,GAAG3D,QAAO,GAAIgC;EACnB,WAAU;EACV,OAAM;EACN,QAAO;EACP,aAAY;EACZ,QAAQX;EACR,SAASC;EACT,OAAO,EAAEmC,SAASrD,UAAU,SAAS,SAAS;EAAC,CAAA,CAGvD,CACI"}
1
+ {"version":3,"file":"FiservForm.mjs","names":["React","useEffect","useMemo","useState","useCallback","PaymentTenderTypeEnum","useTranslation","useTheme","UdpFlexbox","UdpText","UdpSpinner","UdpMessageBar","defaultCssStyles","theme","palette","grey","primary","main","background","paper","text","secondary","error","trim","DEFAULT_CREDIT_CARD_PLACEHOLDERS","DEFAULT_CREDIT_CARD_FEATURES","DEFAULT_ECHECK_PLACEHOLDERS","DEFAULT_ECHECK_FEATURES","FiservForm","paymentMethod","CreditCard","onStatusChange","paymentFormResult","baseUrl","customCss","attributes","paymentData","loading","setLoading","setToken","setError","t","defaultCss","handleFiservResponse","response","isError","errorCode","errorMessage","token","ECheck","message","paymentFormResponse","isValid","payload","handleLoad","handleError","expectedOrigin","URL","origin","handleMessage","event","MessageEvent","data","JSON","parse","console","window","addEventListener","removeEventListener","iFrameURL","url","encodedCss","encodeURIComponent","creditCardCssStyles","queryParams","Object","entries","map","key","value","toLowerCase","toString","join","eCheckCssStyles","queryParamsECheck","display","border"],"sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx"],"sourcesContent":["import React, { useEffect, useMemo, useState, useCallback } from 'react';\nimport { PaymentTenderTypeEnum } from '../../../../enums/paymentTenderTypeEnum';\nimport { useTranslation } from 'react-i18next';\nimport { useTheme } from '@material-ui/core';\nimport { UdpFlexbox } from '../../../../UI/fluent-web-components/UdpFlexbox';\nimport { UdpText } from '../../../../UI/fluent-web-components/UdpText';\nimport { UdpSpinner } from '../../../../UI/fluent-web-components/UdpSpinner';\nimport { UdpMessageBar } from '../../../../UI/fluent-web-components/UdpMessageBar';\n\nconst defaultCssStyles = (theme: any) => {\n return `\ninput, button, select {\n font-family: 'Segoe UI', Roboto, Noto, 'Helvetica Neue', Helvetica, Ubuntu, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n font-size: 14px;\n line-height: 1.1876em;\n height: 16.6146px;\n border: 1px solid ${theme.palette.grey[400]};\n border-radius: 2px;\n color: currentColor;\n width: 80%;\n height: 1.1876em;\n margin: 8px 0px 0px 0px;\n display: block;\n padding: 6px 0px 6px 5px;\n min-width: 0;\n background: none;\n box-sizing: content-box;\n animation-name: mui-auto-fill-cancel;\n letter-spacing: inherit;\n animation-duration: 10ms;\n}\ninput:focus, button:focus, select:focus {\n outline: none;\n border-color: ${theme.palette.primary.main};\n box-shadow: 0px 0px 3px ${theme.palette.primary.main};\n}\n#ccexpirymonth, #ccexpiryyear {\n display: inline-block;\n vertical-align: middle;\n}\n#ccexpirymonth, #ccexpiryyear {\n width: 30%;\n}\nbr {\n display: none;\n}\nbutton {\n background-color: ${theme.palette.primary.main};\n color: ${theme.palette.background.paper};\n text-transform: uppercase;\n}\nlabel {\n display: block;\n font-family: \"Segoe UI\", Roboto, Noto, \"Helvetica Neue\", Helvetica, Ubuntu, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\" !important;\n font-size: 14px;\n color: ${theme.palette.text.secondary};\n margin-top: 10px;\n}\n.error {\n color: ${theme.palette.error.main};\n border-color: ${theme.palette.error.main};\n}\n::placeholder {\n color: ${theme.palette.grey[500]};\n}`.trim();\n};\n\nconst DEFAULT_CREDIT_CARD_PLACEHOLDERS = \"`placeholder=Enter Card Details&placeholdercvv=123&placeholdermonth=MM&placeholderyear=YYYY`;\"\nconst DEFAULT_CREDIT_CARD_FEATURES = `&useexpiry=true&usecvv=true&invalidcreditcardevent=true&formatinput=true&unique=true&enhancedresponse=true&cardnumbernumericonly=true`;\n\nconst DEFAULT_ECHECK_PLACEHOLDERS = `placeholder=Routing Number / Account Number`;\nconst DEFAULT_ECHECK_FEATURES = `&fullmobilekeyboard=true`;\n\n/**\n * `FiservForm` Component\n *\n * This component is responsible for rendering an iframe for payment processing tailored for the Fiserv payment gateway. It manages the dynamic creation of the iframe URL based on the provided attributes and configures the iframe behavior accordingly.\n *\n * @param {Object} {\n * paymentMethod = PaymentTenderTypeEnum.CreditCard,\n * baseUrl = \"https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html\",\n * customCss = defaultCssStyles,\n * attributes = null\n * } The properties passed to the component.\n * @param {PaymentTenderTypeEnum} [paymentMethod=PaymentTenderTypeEnum.CreditCard] The payment method type, affecting the endpoint.\n * @param {Object} [onStatusChange=null] Callback function to handle the status change event.\n * @param {string} [baseUrl=\"https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html\"] The base URL for the Fiserv payment gateway iframe.\n * @param {string} [customCss=defaultCssStyles] Custom CSS to apply within the iframe.\n * @param {Object} [attributes=null] Additional payment attributes to append as query parameters.\n * @param {string} [attributes.placeholder] Placeholder text for the card fields.\n * @param {string} [attributes.placeholdercvv] Placeholder text for the CVV field.\n * @param {string} [attributes.placeholdermonth] Placeholder for the expiration month field.\n * @param {string} [attributes.placeholderyear] Placeholder for the expiration year field.\n * @param {boolean} [attributes.useexpiry=true] Flag to enable the use of the expiration date.\n * @param {boolean} [attributes.usecvv=true] Flag to enable the use of the CVV code.\n * @param {boolean} [attributes.invalidcreditcardevent=true] Event triggered on invalid card input.\n * @param {boolean} [attributes.formatinput=true] Formats the card input fields.\n * @param {boolean} [attributes.unique=true] Ensures unique card number inputs.\n * @param {boolean} [attributes.enhancedresponse=true] Provides enhanced responses.\n * @param {boolean} [attributes.cardnumbernumericonly=true] Allows only numeric input for the card number.\n * @param {boolean} [attributes.fullmobilekeyboard=false] Enables full mobile keyboard access.\n *\n * @return {React.Component} The `FiservForm` component that handles the rendering of the payment iframe and processes payment data or errors.\n */\nexport const FiservForm = ({\n paymentMethod = PaymentTenderTypeEnum.CreditCard,\n onStatusChange = (paymentFormResult: any) => { },\n baseUrl = \"https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html\",\n customCss = '',\n attributes = null,\n paymentData = null\n}) => {\n // State to hold the token value\n const [loading, setLoading] = useState(true);\n const [, setToken] = useState('');\n const [error, setError] = useState(null);\n const { t } = useTranslation();\n\n const theme = useTheme();\n const defaultCss = defaultCssStyles(theme);\n\n /**\n * handleFiservResponse\n *\n * @param {*} response\n */\n const handleFiservResponse = useCallback((response: any) => {\n let isError;\n\n if (paymentMethod === PaymentTenderTypeEnum.CreditCard) {\n isError = response?.errorCode !== \"0\" || response?.errorMessage || !response?.token;\n } else if (paymentMethod === PaymentTenderTypeEnum.ECheck) {\n isError = !response?.message;\n }\n\n const paymentFormResponse = {\n isValid: !isError,\n payload: response,\n message: response?.message,\n errorCode: response?.errorCode,\n errorMessage: response?.errorMessage\n };\n\n onStatusChange(paymentFormResponse);\n }, [onStatusChange, paymentMethod]);\n\n const handleLoad = () => {\n setLoading(false);\n };\n\n const handleError = () => {\n setLoading(false);\n };\n\n useEffect(() => {\n // Restrict postMessage handling to the vendor iframe origin. Without this,\n // any embedding context can spoof a tokenization payload.\n let expectedOrigin = '';\n try {\n expectedOrigin = new URL(baseUrl).origin;\n } catch {\n expectedOrigin = '';\n }\n\n const handleMessage = (event: MessageEvent) => {\n if (expectedOrigin && event.origin !== expectedOrigin) return;\n\n try {\n const data = JSON.parse(event.data);\n setToken(data.message);\n handleFiservResponse(data);\n } catch (error) {\n console.error('Error parsing the event data', error);\n }\n };\n\n window.addEventListener('message', handleMessage, false);\n\n return () => {\n window.removeEventListener('message', handleMessage, false);\n };\n }, [paymentMethod, baseUrl, handleFiservResponse]);\n\n /**\n * iFrameURL\n *\n * @return {*}\n */\n const iFrameURL = useMemo(() => {\n let url = \"\";\n\n try {\n const encodedCss = encodeURIComponent(customCss || defaultCss);\n\n switch (paymentMethod) {\n case PaymentTenderTypeEnum.CreditCard:\n const creditCardCssStyles = `css=${encodedCss}`;\n const queryParams = attributes ? Object.entries(attributes)?.map(([key, value]) => `${key.toLowerCase()}=${value?.toString()}`).join('&') : \"\";\n\n url = attributes ? `${queryParams}&${creditCardCssStyles}` : `${DEFAULT_CREDIT_CARD_PLACEHOLDERS}&${creditCardCssStyles}${DEFAULT_CREDIT_CARD_FEATURES}`;\n break;\n case PaymentTenderTypeEnum.ECheck:\n const eCheckCssStyles = `css=${encodedCss}`;\n const queryParamsECheck = attributes ? Object.entries(attributes)?.map(([key, value]) => `${key.toLowerCase()}=${value?.toString()}`).join('&') : \"\";\n\n url = attributes ? `${queryParamsECheck}&${eCheckCssStyles}` : `${DEFAULT_ECHECK_PLACEHOLDERS}&${eCheckCssStyles}${DEFAULT_ECHECK_FEATURES}`;\n break;\n default:\n url = \"\";\n }\n } catch (error: any) {\n setError(error?.message);\n }\n\n return `\n ${url}\n `.trim();\n }, [paymentMethod]);\n\n if (error) {\n return (\n <UdpMessageBar intent=\"error\" layout=\"multiline\">\n {t('There was an error rendering the hosted payment form. Please check your settings and try again')}\n {': '}\n {error}\n </UdpMessageBar>\n );\n }\n\n return (\n <form name=\"tokenform\" id=\"tokenform\">\n {paymentMethod === PaymentTenderTypeEnum.ECheck && (\n <UdpText variant=\"caption1\" block>\n {t('eCheck Information')}\n </UdpText>\n )}\n\n {loading && (\n <UdpFlexbox direction=\"row\" justify=\"center\" align=\"center\">\n <UdpSpinner size=\"medium\" />\n </UdpFlexbox>\n )}\n\n <iframe\n id=\"tokenframe\"\n name=\"tokenframe\"\n title={t('Payment tokenization')}\n src={`${baseUrl}?${iFrameURL}`}\n scrolling=\"yes\"\n width=\"100%\"\n height=\"220\"\n frameBorder=\"0\"\n onLoad={handleLoad}\n onError={handleError}\n style={{ display: loading ? 'none' : 'block', border: 0 }}\n />\n </form>\n );\n};\n"],"mappings":";;;;;;;;;AASA,MAAMY,oBAAoBC,UAAe;AACvC,QAAO;;;;;;sBAMaA,MAAMC,QAAQC,KAAK,KAAI;;;;;;;;;;;;;;;;;kBAiB3BF,MAAMC,QAAQE,QAAQC,KAAI;4BAChBJ,MAAMC,QAAQE,QAAQC,KAAI;;;;;;;;;;;;;sBAahCJ,MAAMC,QAAQE,QAAQC,KAAI;WACrCJ,MAAMC,QAAQI,WAAWC,MAAK;;;;;;;WAO9BN,MAAMC,QAAQM,KAAKC,UAAS;;;;WAI5BR,MAAMC,QAAQQ,MAAML,KAAI;kBACjBJ,MAAMC,QAAQQ,MAAML,KAAI;;;WAG/BJ,MAAMC,QAAQC,KAAK,KAAI;GAC/BQ,MAAM;;AAGT,MAAMC,mCAAmC;AACzC,MAAMC,+BAA+B;AAErC,MAAMC,8BAA8B;AACpC,MAAMC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiChC,MAAaC,cAAc,EACzBC,gBAAgBxB,sBAAsByB,YACtCC,kBAAkBC,sBAA2B,IAC7CC,UAAU,6DACVC,YAAY,IACZC,aAAa,MACbC,cAAc,WACV;CAEJ,MAAM,CAACC,SAASC,cAAcnC,SAAS,KAAK;CAC5C,MAAM,GAAGoC,YAAYpC,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C,UAAD;EACE,IAAG;EACH,MAAK;EACL,OAAOI,EAAE,uBAAuB;EAChC,KAAK,GAAGR,QAAO,GAAIoC;EACnB,WAAU;EACV,OAAM;EACN,QAAO;EACP,aAAY;EACZ,QAAQf;EACR,SAASC;EACT,OAAO;GAAE8B,SAAShD,UAAU,SAAS;GAASiD,QAAQ;GAAG;EAAC,CAAA,CAEvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICheckForm.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/ICheckForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAKhF,UAAU,eAAe;IACvB,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,GAAG,KAAK,IAAI,CAAC;IAClD,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiLhD,CAAC"}
1
+ {"version":3,"file":"ICheckForm.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/ICheckForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAMhF,UAAU,eAAe;IACvB,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,GAAG,KAAK,IAAI,CAAC;IAClD,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoKhD,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import React, { useEffect, useState, useCallback } from 'react';
2
- import { Box, Typography, useTheme } from '@material-ui/core';
2
+ import { useTheme } from '@material-ui/core';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { PaymentTenderTypeEnum } from '../../../../enums/paymentTenderTypeEnum';
5
5
  import { PaymentVendorFactoryEnum } from '../../../../enums/paymentVendorFactoryEnum';
6
- import { LayoutUnit } from '../../../../layout/LayoutUnit';
7
- import { CircularProgress } from '../../../../UI/loading/CircularProgress';
6
+ import { UdpFlexbox } from '../../../../UI/fluent-web-components/UdpFlexbox';
7
+ import { UdpSpinner } from '../../../../UI/fluent-web-components/UdpSpinner';
8
+ import { UdpMessageBar } from '../../../../UI/fluent-web-components/UdpMessageBar';
8
9
  ;
9
10
  const defaultCssStyles = (theme) => `
10
11
  body {
@@ -66,7 +67,7 @@ const defaultCssStyles = (theme) => `
66
67
  export const ICheckForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatusChange = null, paymentDetails = null, baseUrl = "https://iframe.icheckgateway.com", customCss = '', attributes = null, paymentData = null }) => {
67
68
  const iframePaymentMethod = (paymentMethod === PaymentTenderTypeEnum.CreditCard) ? 'iFrameCC' : 'iFrameBA';
68
69
  const [src, setSrc] = useState(`${baseUrl}/${iframePaymentMethod}.aspx?`);
69
- const [response, setResponse] = useState({});
70
+ const [, setResponse] = useState({});
70
71
  const [loading, setLoading] = useState(true);
71
72
  const [error, setError] = useState('');
72
73
  const { t } = useTranslation();
@@ -132,15 +133,26 @@ export const ICheckForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, o
132
133
  }
133
134
  }, [attributes, paymentDetails, baseUrl, iframePaymentMethod, customCss]);
134
135
  useEffect(() => {
136
+ // Restrict postMessage handling to the iCheck iframe origin. Prefer the
137
+ // attributes.baseUrl override (set per tenant) when present, otherwise the
138
+ // default baseUrl. Without this any embedding context can spoof a token.
139
+ const sourceUrl = (attributes === null || attributes === void 0 ? void 0 : attributes.baseUrl) || baseUrl;
140
+ let expectedOrigin = '';
141
+ try {
142
+ expectedOrigin = new URL(sourceUrl).origin;
143
+ }
144
+ catch (_a) {
145
+ expectedOrigin = '';
146
+ }
135
147
  const handleMessage = (e) => {
148
+ var _a;
149
+ if (expectedOrigin && e.origin !== expectedOrigin)
150
+ return;
136
151
  const jsonData = e.data;
137
152
  if (typeof jsonData === 'object' &&
138
- jsonData.constructor.name === 'Object') {
153
+ ((_a = jsonData === null || jsonData === void 0 ? void 0 : jsonData.constructor) === null || _a === void 0 ? void 0 : _a.name) === 'Object') {
139
154
  const source = jsonData.source;
140
155
  if (source === 'iCheck') {
141
- if (jsonData.error) {
142
- console.log('Error: ' + jsonData.error);
143
- }
144
156
  handleICheckResponse(jsonData);
145
157
  setResponse(jsonData);
146
158
  }
@@ -150,24 +162,10 @@ export const ICheckForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, o
150
162
  return () => {
151
163
  window.removeEventListener('message', handleMessage);
152
164
  };
153
- }, []);
154
- return (React.createElement(React.Fragment, null, error ?
155
- React.createElement(React.Fragment, null, React.createElement(Typography, { variant: "subtitle1", color: "error" }, t('There was an error rendering the hosted payment form. Please check your settings and try again')), React.createElement(LayoutUnit, { unit: "xxs" }), React.createElement(Typography, { variant: "body1", color: "error" }, t('Error'), ":", error))
156
- :
157
- React.createElement(React.Fragment, null, loading && (
158
- // @ts-ignore
159
- React.createElement(Box, { sx: {
160
- position: 'fixed',
161
- top: 0,
162
- left: 0,
163
- width: '100%',
164
- height: '100%',
165
- zIndex: 9999,
166
- display: 'flex',
167
- alignItems: 'center',
168
- justifyContent: 'center',
169
- }, style: {
170
- backgroundColor: 'rgba(255, 255, 255, 0.8)',
171
- } }, React.createElement(CircularProgress, { size: "3rem", color: "primary" }))), React.createElement("iframe", { id: "iFrameBA", name: "iFrameBA", src: src, scrolling: "yes", width: "100%", height: "500", frameBorder: "0", onLoad: handleLoad, onError: handleError, style: { display: loading ? 'none' : 'block' } }))));
165
+ }, [baseUrl, attributes, handleICheckResponse]);
166
+ if (error) {
167
+ return (React.createElement(UdpMessageBar, { intent: "error", layout: "multiline" }, t('There was an error rendering the hosted payment form. Please check your settings and try again'), ': ', error));
168
+ }
169
+ return (React.createElement(React.Fragment, null, loading && (React.createElement(UdpFlexbox, { direction: "row", justify: "center", align: "center" }, React.createElement(UdpSpinner, { size: "medium" }))), React.createElement("iframe", { id: "iFrameBA", name: "iFrameBA", title: t('Payment tokenization'), src: src, scrolling: "yes", width: "100%", height: "500", frameBorder: "0", onLoad: handleLoad, onError: handleError, style: { display: loading ? 'none' : 'block', border: 0 } })));
172
170
  };
173
171
  //# sourceMappingURL=ICheckForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ICheckForm.js","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/ICheckForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,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C,CAAC,OAAO,CAAC,OAAG,KAAK,CACR,CACZ;QACH,CAAC;YACD,0CACG,OAAO,IAAI;YACV,aAAa;YACb,oBAAC,GAAG,IACF,EAAE,EAAE;oBACF,QAAQ,EAAE,OAAO;oBACjB,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,cAAc,EAAE,QAAQ;iBACzB,EACD,KAAK,EAAE;oBACL,eAAe,EAAE,0BAA0B;iBAC5C,IAED,oBAAC,gBAAgB,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,CAC5C,CACP,EAED,gCACE,EAAE,EAAC,UAAU,EACb,IAAI,EAAC,UAAU,EACf,GAAG,EAAE,GAAG,EACR,SAAS,EAAC,KAAK,EACf,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,KAAK,EACZ,WAAW,EAAC,GAAG,EACf,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,GAC9C,CACD,CAEN,CACJ,CAAC;AAAA,CACH,CAAC"}
1
+ {"version":3,"file":"ICheckForm.js","sourceRoot":"","sources":["../../../../../src/utilities/form/paymentForm/vendorsForms/ICheckForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAA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