udp-stencil-component-library 25.18.1 → 25.18.2-beta.10

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 (2058) hide show
  1. package/dist/cjs/SearchBuilder-C1sUitjQ.js +0 -3
  2. package/dist/cjs/action-column-util-CQRWvOT6.js +0 -3
  3. package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +45 -30
  4. package/dist/cjs/advanced-search-builder.cjs.entry.js +3 -4
  5. package/dist/cjs/advanced-search_12.cjs.entry.js +57 -40
  6. package/dist/cjs/ag-grid-base_6.cjs.entry.js +53 -28
  7. package/dist/cjs/ambient-template-grid.cjs.entry.js +86 -41
  8. package/dist/cjs/api-method-instance-grid.cjs.entry.js +16 -7
  9. package/dist/cjs/apiUtils-DT-fLJOw.js +0 -3
  10. package/dist/cjs/app-bar.cjs.entry.js +4 -5
  11. package/dist/cjs/catalog-store-BOiNPWZB.js +0 -3
  12. package/dist/cjs/chart-container_3.cjs.entry.js +7 -8
  13. package/dist/cjs/chartUtils-Gg3D2Moc.js +0 -3
  14. package/dist/cjs/check-box-group.cjs.entry.js +6 -5
  15. package/dist/cjs/check-box.cjs.entry.js +14 -9
  16. package/dist/cjs/chip-section.cjs.entry.js +8 -7
  17. package/dist/cjs/client-side-grid_2.cjs.entry.js +9 -8
  18. package/dist/cjs/common-By_kzIQM.js +0 -3
  19. package/dist/cjs/configService-BmGAegZf.js +0 -3
  20. package/dist/cjs/configureUdpColumnMods-CQMOB8IW.js +0 -3
  21. package/dist/cjs/conversionFunctions-B_9y17KE.js +0 -3
  22. package/dist/cjs/currency-renderer-xzaldEo2.js +0 -3
  23. package/dist/cjs/custom-button.cjs.entry.js +3 -4
  24. package/dist/cjs/{date-time-renderer_6.cjs.entry.js → date-time-renderer_7.cjs.entry.js} +57 -24
  25. package/dist/cjs/entity-maintenance-grid.cjs.entry.js +2 -3
  26. package/dist/cjs/{enums-ibNZ4cZ4.js → enums-B3aaCQaV.js} +8 -4
  27. package/dist/cjs/feature-details-card_2.cjs.entry.js +24 -15
  28. package/dist/cjs/file-upload_3.cjs.entry.js +23 -12
  29. package/dist/cjs/filter-conditions_7.cjs.entry.js +23 -20
  30. package/dist/cjs/filter-group_2.cjs.entry.js +5 -6
  31. package/dist/cjs/fluent-dialog.cjs.entry.js +3 -4
  32. package/dist/cjs/{image-upload_7.cjs.entry.js → form-metadata-display_8.cjs.entry.js} +121 -42
  33. package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +0 -3
  34. package/dist/cjs/iconMapping-CkHR1LGY.js +0 -3
  35. package/dist/cjs/iconUtils-BuDk48Xh.js +0 -3
  36. package/dist/cjs/{index-CGCOXUJE.js → index-SNloIaSR.js} +325 -202
  37. package/dist/cjs/index.cjs.js +138 -1
  38. package/dist/cjs/loader.cjs.js +2 -3
  39. package/dist/cjs/logical-search-indicator.cjs.entry.js +3 -4
  40. package/dist/cjs/makeApiCall-CFfg9gI0.js +0 -3
  41. package/dist/cjs/map-component_2.cjs.entry.js +61 -24
  42. package/dist/cjs/numeric-field_5.cjs.entry.js +71 -42
  43. package/dist/cjs/primary-action-header_2.cjs.entry.js +395 -0
  44. package/dist/cjs/question-configs-renderer_4.cjs.entry.js +21 -22
  45. package/dist/cjs/resource-timeline-calendar.cjs.entry.js +13 -8
  46. package/dist/cjs/search-method-grid.cjs.entry.js +7 -4
  47. package/dist/cjs/server-side-grid.cjs.entry.js +5 -4
  48. package/dist/cjs/side-sheet-container.cjs.entry.js +4 -5
  49. package/dist/cjs/simple-card.cjs.entry.js +3 -4
  50. package/dist/cjs/status-chip_2.cjs.entry.js +8 -7
  51. package/dist/cjs/stencil-chip.cjs.entry.js +6 -5
  52. package/dist/cjs/stencil-icon-button-grid-action-header.cjs.entry.js +3 -4
  53. package/dist/cjs/stencil-icon-button_3.cjs.entry.js +7 -8
  54. package/dist/cjs/stencil-library.cjs.js +3 -4
  55. package/dist/cjs/stencil-toggle.cjs.entry.js +16 -11
  56. package/dist/cjs/tenantUtils-BCKSE0vq.js +0 -3
  57. package/dist/cjs/text-field_2.cjs.entry.js +36 -21
  58. package/dist/cjs/transformSearchData-B4bk4Aik.js +0 -3
  59. package/dist/cjs/udp-adornment.cjs.entry.js +3 -4
  60. package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +7 -4
  61. package/dist/cjs/udp-attachment-item_2.cjs.entry.js +5 -6
  62. package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -2
  63. package/dist/cjs/udp-avatar.cjs.entry.js +3 -4
  64. package/dist/cjs/udp-bar-chart_4.cjs.entry.js +45 -22
  65. package/dist/cjs/udp-button.cjs.entry.js +3 -4
  66. package/dist/cjs/udp-calendar-base.cjs.entry.js +6 -5
  67. package/dist/cjs/udp-calendar-day.cjs.entry.js +3 -4
  68. package/dist/cjs/udp-calendar-month.cjs.entry.js +3 -4
  69. package/dist/cjs/udp-calendar-week.cjs.entry.js +3 -4
  70. package/dist/cjs/udp-calendar-year.cjs.entry.js +3 -4
  71. package/dist/cjs/udp-card-action-area.cjs.entry.js +3 -4
  72. package/dist/cjs/udp-card_6.cjs.entry.js +13 -14
  73. package/dist/cjs/udp-charts-example.cjs.entry.js +1 -2
  74. package/dist/cjs/udp-chip_3.cjs.entry.js +11 -10
  75. package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +4 -5
  76. package/dist/cjs/udp-container-query-grid.cjs.entry.js +4 -5
  77. package/dist/cjs/udp-container-query.cjs.entry.js +5 -6
  78. package/dist/cjs/udp-container.cjs.entry.js +34 -0
  79. package/dist/cjs/udp-date-range-selector.cjs.entry.js +4 -5
  80. package/dist/cjs/udp-divider.cjs.entry.js +3 -4
  81. package/dist/cjs/udp-drive-utils-B8uPAKzW.js +0 -3
  82. package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +7 -6
  83. package/dist/cjs/udp-dynamic-form.cjs.entry.js +3 -4
  84. package/dist/cjs/udp-form-api-utils-BwNeblH_.js +0 -3
  85. package/dist/cjs/{udp-forms-builder-question-template-BlgDh7P5.js → udp-forms-builder-question-template-BS5ijef_.js} +8 -4
  86. package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +4 -5
  87. package/dist/cjs/udp-forms-builder.cjs.entry.js +12 -9
  88. package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +4 -5
  89. package/dist/cjs/udp-forms-list-card.cjs.entry.js +7 -8
  90. package/dist/cjs/udp-forms-list.cjs.entry.js +10 -9
  91. package/dist/cjs/udp-forms-renderer.cjs.entry.js +830 -772
  92. package/dist/cjs/udp-forms-ui.cjs.entry.js +18 -17
  93. package/dist/cjs/udp-icon.cjs.entry.js +3 -4
  94. package/dist/cjs/udp-kpi-card.cjs.entry.js +3 -4
  95. package/dist/cjs/udp-kpi-cards.cjs.entry.js +3 -4
  96. package/dist/cjs/udp-linear-loader_2.cjs.entry.js +292 -0
  97. package/dist/cjs/udp-list-renderer_2.cjs.entry.js +8 -7
  98. package/dist/cjs/udp-map-utils-BXqQmr-h.js +0 -3
  99. package/dist/cjs/udp-map.cjs.entry.js +12 -9
  100. package/dist/cjs/{udp-pop-over.cjs.entry.js → udp-menu-item_2.cjs.entry.js} +28 -5
  101. package/dist/cjs/udp-page.cjs.entry.js +4 -5
  102. package/dist/cjs/udp-sankey-chart.cjs.entry.js +30 -13
  103. package/dist/cjs/udp-skeleton-loading.cjs.entry.js +4 -5
  104. package/dist/cjs/udp-split-screen.cjs.entry.js +4 -5
  105. package/dist/cjs/udp-stepper-demo.cjs.entry.js +2 -3
  106. package/dist/cjs/udp-stepper.cjs.entry.js +6 -5
  107. package/dist/cjs/udp-tab-panel.cjs.entry.js +5 -6
  108. package/dist/cjs/udp-tab.cjs.entry.js +4 -5
  109. package/dist/cjs/udp-timeline-connector.cjs.entry.js +4 -5
  110. package/dist/cjs/udp-timeline-dot.cjs.entry.js +4 -5
  111. package/dist/cjs/udp-timeline-item.cjs.entry.js +5 -6
  112. package/dist/cjs/udp-timeline-separator.cjs.entry.js +4 -5
  113. package/dist/cjs/udp-timeline.cjs.entry.js +4 -5
  114. package/dist/cjs/udp-vertical-spacer.cjs.entry.js +4 -5
  115. package/dist/cjs/udp-xy-chart.cjs.entry.js +39 -16
  116. package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +27 -12
  117. package/dist/cjs/udpFieldHelper-0jB0kwFN.js +0 -3
  118. package/dist/cjs/udpOperatorHelper-MMG_hrZS.js +0 -3
  119. package/dist/cjs/unity-typography.cjs.entry.js +3 -4
  120. package/dist/cjs/{utils-DZ_OMtAy.js → utils-Bp02BX38.js} +6 -9
  121. package/dist/collection/collection-manifest.json +4 -2
  122. package/dist/collection/components/advanced-search/advanced-search-grouped.js +12 -11
  123. package/dist/collection/components/advanced-search/advanced-search.js +0 -1
  124. package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +0 -1
  125. package/dist/collection/components/advanced-search/types.js +0 -1
  126. package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +0 -1
  127. package/dist/collection/components/advanced-search-builder/advanced-search-builder.js +10 -6
  128. package/dist/collection/components/advanced-search-builder/filter-group.js +4 -3
  129. package/dist/collection/components/advanced-search-builder/helperFunctions/createStringFromSearchObject.js +0 -1
  130. package/dist/collection/components/advanced-search-builder/helperFunctions/fieldRenderer.js +0 -1
  131. package/dist/collection/components/advanced-search-builder/helperFunctions/udpFieldHelper.js +0 -1
  132. package/dist/collection/components/advanced-search-builder/helperFunctions/udpOperatorHelper.js +0 -1
  133. package/dist/collection/components/advanced-search-builder/models.js +0 -1
  134. package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +8 -5
  135. package/dist/collection/components/advanced-search-builder/validation-chip.js +0 -1
  136. package/dist/collection/components/attachment-list/type.js +0 -1
  137. package/dist/collection/components/attachment-list/udp-attachment-item.js +0 -1
  138. package/dist/collection/components/attachment-list/udp-attachment-list.js +2 -2
  139. package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +0 -1
  140. package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +0 -1
  141. package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +0 -1
  142. package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js +0 -1
  143. package/dist/collection/components/buttons/icon-button/stencil-icon-button.js +0 -1
  144. package/dist/collection/components/buttons/udp-button/udp-button.js +0 -1
  145. package/dist/collection/components/buttons/udp-icon-button/udp-icon-button.js +0 -1
  146. package/dist/collection/components/calendar/udp-calendar-base.js +0 -1
  147. package/dist/collection/components/calendar/udp-calendar-day.js +0 -1
  148. package/dist/collection/components/calendar/udp-calendar-month.js +0 -1
  149. package/dist/collection/components/calendar/udp-calendar-week.js +0 -1
  150. package/dist/collection/components/calendar/udp-calendar-year.js +0 -1
  151. package/dist/collection/components/charts/chart-container/chart-container.js +0 -1
  152. package/dist/collection/components/charts/chart-kpi/chart-kpi.js +0 -1
  153. package/dist/collection/components/charts/chartUtils.js +0 -1
  154. package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +0 -1
  155. package/dist/collection/components/charts/udp-charts-example.js +0 -1
  156. package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +0 -1
  157. package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +0 -1
  158. package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +0 -1
  159. package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +0 -1
  160. package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +2 -2
  161. package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +8 -5
  162. package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +0 -1
  163. package/dist/collection/components/data-display/badge/udp-badge.js +0 -1
  164. package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +0 -1
  165. package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +0 -1
  166. package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +0 -1
  167. package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +0 -1
  168. package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +2 -2
  169. package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +0 -1
  170. package/dist/collection/components/data-display/cards/udp-card/udp-card.js +2 -2
  171. package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +0 -1
  172. package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +0 -1
  173. package/dist/collection/components/data-display/chips/udp-chip.js +0 -1
  174. package/dist/collection/components/data-display/divider/udp-divider.js +0 -1
  175. package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +0 -1
  176. package/dist/collection/components/data-display/headers/udp-column-header.js +0 -1
  177. package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +0 -1
  178. package/dist/collection/components/data-display/hint-panel/hint-panel.js +0 -1
  179. package/dist/collection/components/data-display/icons/CarbonIcon.js +0 -1
  180. package/dist/collection/components/data-display/icons/iconMapping.js +0 -1
  181. package/dist/collection/components/data-display/icons/iconUtils.js +0 -1
  182. package/dist/collection/components/data-display/icons/udp-icon.js +0 -1
  183. package/dist/collection/components/data-display/kpi/kpi-list.js +0 -1
  184. package/dist/collection/components/data-display/kpi/types.js +0 -1
  185. package/dist/collection/components/data-display/kpi/udp-kpi-card.js +4 -3
  186. package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
  187. package/dist/collection/components/data-display/list-item/list-item.js +0 -1
  188. package/dist/collection/components/data-display/list-renderer/udp-list-renderer.js +0 -1
  189. package/dist/collection/components/data-display/pop-over/interfaces/popoverInterfaces.js +0 -1
  190. package/dist/collection/components/data-display/pop-over/udp-pop-over.js +0 -1
  191. package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +0 -1
  192. package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +0 -1
  193. package/dist/collection/components/data-display/simple-card/simple-card.js +0 -1
  194. package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +0 -1
  195. package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +0 -1
  196. package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js +0 -1
  197. package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +0 -1
  198. package/dist/collection/components/dialogs/fluent-dialog/fluent-dialog.js +0 -1
  199. package/dist/collection/components/dialogs/udp-dialog.css +11 -3
  200. package/dist/collection/components/dialogs/udp-dialog.js +0 -1
  201. package/dist/collection/components/drawers/udp-side-sheet/types.js +0 -1
  202. package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.css +34 -14
  203. package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +4 -3
  204. package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +0 -1
  205. package/dist/collection/components/feedback/udp-notification/udp-notification.js +0 -1
  206. package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +0 -1
  207. package/dist/collection/components/forms/edit-view-form/edit-view-form.js +0 -1
  208. package/dist/collection/components/forms/form/stencil-field.js +0 -1
  209. package/dist/collection/components/forms/form/stencil-form.js +2 -2
  210. package/dist/collection/components/forms/form/useFormApi.js +0 -1
  211. package/dist/collection/components/forms/save-view-form/save-view-form.js +0 -1
  212. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.js +1 -2
  213. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +0 -1
  214. package/dist/collection/components/forms/udp-forms/udp-forms-builder/typographyVariantsList.js +0 -1
  215. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.js +4 -4
  216. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +5 -5
  217. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.css +8 -0
  218. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +173 -0
  219. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +6 -6
  220. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +6 -7
  221. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js +3 -2
  222. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +3 -4
  223. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +4 -4
  224. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +5 -5
  225. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -3
  226. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js +8 -2
  227. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -2
  228. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js +6 -6
  229. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-form-api-utils.js +0 -1
  230. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +7 -8
  231. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +4 -5
  232. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +3 -4
  233. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js +28 -54
  234. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/comments-crud-utils.js +152 -0
  235. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/repeated-section-utils.js +103 -0
  236. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/utils.js +240 -0
  237. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +245 -516
  238. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.js +0 -1
  239. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpForm.js +0 -1
  240. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpFormSubmission.js +5 -13
  241. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/enums.js +8 -2
  242. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/IFormHandler.js +1 -0
  243. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/UdpFormHandler.js +27 -0
  244. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandler.js +141 -0
  245. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandlerFactory.js +9 -0
  246. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/IFormSubmissionHandler.js +1 -0
  247. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/formUtils.js +0 -1
  248. package/dist/collection/components/forms/udp-forms/udp-forms-utils/types.js +1 -0
  249. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/utils.js +5 -6
  250. package/dist/collection/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.js +12 -11
  251. package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js +53 -37
  252. package/dist/collection/components/grid/ag-table/ag-table.js +3 -3
  253. package/dist/collection/components/grid/ambient-template-grid/ambient-template-functions/buildGroupedSearchPayload.js +0 -1
  254. package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +18 -18
  255. package/dist/collection/components/grid/ambient-template-grid/enums/gridEnums.js +0 -1
  256. package/dist/collection/components/grid/ambient-template-grid/interfaces/gridInterfaces.js +0 -1
  257. package/dist/collection/components/grid/ambient-template-grid/license/licenseKey.js +0 -1
  258. package/dist/collection/components/grid/ambient-template-grid/static-data/get-all-hotlists.js +0 -1
  259. package/dist/collection/components/grid/conversionFunctions/conversionFunctions.js +0 -1
  260. package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -3
  261. package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -2
  262. package/dist/collection/components/grid/new-grid/ag-grid-base.js +14 -8
  263. package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +13 -8
  264. package/dist/collection/components/grid/new-grid/client-side-grid.js +13 -8
  265. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +1 -1
  266. package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js +3 -3
  267. package/dist/collection/components/grid/new-grid/grid-header.js +4 -3
  268. package/dist/collection/components/grid/new-grid/gridFunctionRegistry.js +0 -1
  269. package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +0 -1
  270. package/dist/collection/components/grid/new-grid/gridFunctions/agGridAutoSizeColumns.js +0 -1
  271. package/dist/collection/components/grid/new-grid/gridFunctions/agGridExport.js +0 -1
  272. package/dist/collection/components/grid/new-grid/gridFunctions/agGridHideShowColumns.js +0 -1
  273. package/dist/collection/components/grid/new-grid/gridFunctions/agGridResetColumns.js +0 -1
  274. package/dist/collection/components/grid/new-grid/gridFunctions/agGridSizeColumnsToFit.js +0 -1
  275. package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js +24 -10
  276. package/dist/collection/components/grid/new-grid/gridFunctions/chipFilter.js +0 -1
  277. package/dist/collection/components/grid/new-grid/gridFunctions/restoreGridState.js +0 -1
  278. package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +0 -1
  279. package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +0 -1
  280. package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +0 -1
  281. package/dist/collection/components/grid/new-grid/helperFunctions/convertBackendTypeToAgGridType.js +0 -1
  282. package/dist/collection/components/grid/new-grid/helperFunctions/convertSearchObjectToAgGridModel.js +0 -1
  283. package/dist/collection/components/grid/new-grid/helperFunctions/guardedViewTransitions.js +0 -1
  284. package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +0 -1
  285. package/dist/collection/components/grid/new-grid/helperFunctions/searchObjectHelper.js +0 -1
  286. package/dist/collection/components/grid/new-grid/helperFunctions/toggleAgGridColumnFilter.js +0 -1
  287. package/dist/collection/components/grid/new-grid/helperFunctions/valueFormatters.js +0 -1
  288. package/dist/collection/components/grid/new-grid/interfaces/grid.js +0 -1
  289. package/dist/collection/components/grid/new-grid/interfaces/gridFunction.js +0 -1
  290. package/dist/collection/components/grid/new-grid/search-method-grid.js +16 -9
  291. package/dist/collection/components/grid/new-grid/server-side-grid.js +15 -9
  292. package/dist/collection/components/grid/renderers/actions-renderer.js +0 -1
  293. package/dist/collection/components/grid/renderers/ag-grid-subtitle-cell-renderer.js +0 -1
  294. package/dist/collection/components/grid/renderers/currency-renderer.js +0 -1
  295. package/dist/collection/components/grid/renderers/custom-actions-renderer.js +0 -1
  296. package/dist/collection/components/grid/renderers/custom-renderer.js +0 -1
  297. package/dist/collection/components/grid/renderers/date-time-cell-renderer.js +0 -1
  298. package/dist/collection/components/grid/renderers/email-cell-renderer.js +0 -1
  299. package/dist/collection/components/grid/renderers/hot-list-add-renderer.js +0 -1
  300. package/dist/collection/components/grid/renderers/hover-content-cell-renderer.js +0 -1
  301. package/dist/collection/components/grid/renderers/icon-renderer.js +0 -1
  302. package/dist/collection/components/grid/renderers/open-function-cell-renderer.js +0 -1
  303. package/dist/collection/components/grid/renderers/return-search-data-cell-renderer.js +0 -1
  304. package/dist/collection/components/grid/renderers/sharedContext.js +0 -1
  305. package/dist/collection/components/grid/renderers/status-renderer.js +0 -1
  306. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +5 -4
  307. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-column-header.js +0 -1
  308. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +6 -5
  309. package/dist/collection/components/inputs/checkbox/check-box.js +2 -3
  310. package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +1 -2
  311. package/dist/collection/components/inputs/date-selector/udp-date-selector.js +7 -6
  312. package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +7 -6
  313. package/dist/collection/components/inputs/file-upload/file-upload.js +2 -2
  314. package/dist/collection/components/inputs/file-upload/udp-drive-utils.js +0 -1
  315. package/dist/collection/components/inputs/form metadata display/form-metadata-display.css +37 -0
  316. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +190 -0
  317. package/dist/collection/components/inputs/image-upload/image-upload.js +3 -3
  318. package/dist/collection/components/inputs/input-types.js +0 -1
  319. package/dist/collection/components/inputs/numeric-field/numeric-field.js +7 -6
  320. package/dist/collection/components/inputs/selectable-list/selectable-list.js +4 -3
  321. package/dist/collection/components/inputs/signature-input/signature-input.js +10 -7
  322. package/dist/collection/components/inputs/tally/tally.js +6 -5
  323. package/dist/collection/components/inputs/text-area/text-area.js +7 -6
  324. package/dist/collection/components/inputs/text-field/text-field.js +7 -6
  325. package/dist/collection/components/inputs/time-selector/udp-time-selector.js +7 -6
  326. package/dist/collection/components/inputs/toggle/stencil-toggle.js +8 -7
  327. package/dist/collection/components/inputs/udp-selector/udp-selector.js +8 -7
  328. package/dist/collection/components/layout/udp-container/udp-container.js +2 -3
  329. package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -3
  330. package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -2
  331. package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -2
  332. package/dist/collection/components/layout/udp-page/udp-page.js +1 -2
  333. package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -2
  334. package/dist/collection/components/layout/udp-vertical-spacer.js +1 -2
  335. package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -3
  336. package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -2
  337. package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -2
  338. package/dist/collection/components/map/udp-map/map-component.js +1 -2
  339. package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -4
  340. package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -5
  341. package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -2
  342. package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -3
  343. package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -2
  344. package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +6 -7
  345. package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -2
  346. package/dist/collection/components/map/udp-map/udp-map.js +3 -4
  347. package/dist/collection/components/map/udp-map/utils/check-box-group.js +0 -1
  348. package/dist/collection/components/map/udp-map/utils/common.js +0 -1
  349. package/dist/collection/components/map/udp-map/utils/map-interactions.js +0 -1
  350. package/dist/collection/components/map/udp-map/utils/udp-map-utils.js +0 -1
  351. package/dist/collection/components/menu/menu-item/udp-menu-item.js +3 -3
  352. package/dist/collection/components/menu/udp-menu.js +1 -2
  353. package/dist/collection/components/navigation/pagination/udp-pagination.js +0 -1
  354. package/dist/collection/components/navigation/udp-link/udp-link.js +0 -1
  355. package/dist/collection/components/stepper/types.js +0 -1
  356. package/dist/collection/components/stepper/udp-stepper-demo.js +1 -2
  357. package/dist/collection/components/stepper/udp-stepper.js +6 -4
  358. package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -3
  359. package/dist/collection/components/tabs/tab/udp-tab.js +1 -2
  360. package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +2 -3
  361. package/dist/collection/components/timeline/udp-timeline-connector.js +1 -2
  362. package/dist/collection/components/timeline/udp-timeline-dot.js +1 -2
  363. package/dist/collection/components/timeline/udp-timeline-item.js +2 -3
  364. package/dist/collection/components/timeline/udp-timeline-separator.js +1 -2
  365. package/dist/collection/components/timeline/udp-timeline.js +1 -2
  366. package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -2
  367. package/dist/collection/components/unity-typography/types.js +0 -1
  368. package/dist/collection/components/unity-typography/unity-typography.js +4 -3
  369. package/dist/collection/components/util/ghost-render/ghost-render.js +1 -2
  370. package/dist/collection/components.stories.js +0 -1
  371. package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -2
  372. package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -2
  373. package/dist/collection/global/configService.js +0 -1
  374. package/dist/collection/global/types.js +0 -1
  375. package/dist/collection/index.js +1 -1
  376. package/dist/collection/store/catalog-store.js +0 -1
  377. package/dist/collection/store/lookups-store.js +0 -1
  378. package/dist/collection/udp-utilities/api/makeApiCall/examples.js +0 -1
  379. package/dist/collection/udp-utilities/api/makeApiCall/makeApiCall.js +0 -1
  380. package/dist/collection/udp-utilities/api-config/configService.js +0 -1
  381. package/dist/collection/udp-utilities/api-config/index.js +0 -1
  382. package/dist/collection/udp-utilities/api-udp/apiMutate.js +0 -1
  383. package/dist/collection/udp-utilities/api-udp/apiUtils.js +0 -1
  384. package/dist/collection/udp-utilities/api-udp/baseUrls.js +0 -1
  385. package/dist/collection/udp-utilities/catalog/getCurrentApiCatalogId.js +0 -1
  386. package/dist/collection/udp-utilities/entityUtilities.js +0 -1
  387. package/dist/collection/udp-utilities/enums/unity-system-enums.js +0 -1
  388. package/dist/collection/udp-utilities/grid/action-renderers/action-column-util.js +0 -1
  389. package/dist/collection/udp-utilities/grid/convertToAgGridColumns.js +0 -1
  390. package/dist/collection/udp-utilities/grid/data-converters/transformSearchData.js +0 -1
  391. package/dist/collection/udp-utilities/grid/data-source/SearchServiceDatasource.js +0 -1
  392. package/dist/collection/udp-utilities/grid/models/udp-models.js +0 -1
  393. package/dist/collection/udp-utilities/grid/search/inquiry-search-datasource.js +0 -1
  394. package/dist/collection/udp-utilities/grid/search/search-utilities.js +0 -1
  395. package/dist/collection/udp-utilities/grid/udp-grid-enums.js +0 -1
  396. package/dist/collection/udp-utilities/interfaces/searchObject.js +0 -1
  397. package/dist/collection/udp-utilities/layout/breakpoints/breakpoints.js +0 -1
  398. package/dist/collection/udp-utilities/layout/breakpoints/useMatchBreakpoint.js +0 -1
  399. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -3
  400. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -2
  401. package/dist/collection/udp-utilities/search/SearchBuilder.js +0 -1
  402. package/dist/collection/udp-utilities/search/index.js +0 -1
  403. package/dist/collection/udp-utilities/string-utilities.js +0 -1
  404. package/dist/collection/udp-utilities/tenant/tenantUtils.js +0 -1
  405. package/dist/collection/udp-utilities/udp-websocket-client/udp-websocket-client.js +136 -0
  406. package/dist/collection/udp-utilities/unity-session-storage.js +0 -1
  407. package/dist/collection/udp-utilities/user/getUserId.js +0 -1
  408. package/dist/components/SearchBuilder.js +1 -366
  409. package/dist/components/action-column-util.js +1 -42
  410. package/dist/components/add-map-feature-popup.js +1 -9
  411. package/dist/components/add-map-feature-popup2.js +1 -144
  412. package/dist/components/advanced-search-builder.js +1 -9
  413. package/dist/components/advanced-search-builder2.js +1 -458
  414. package/dist/components/advanced-search-grouped.js +1 -9
  415. package/dist/components/advanced-search-grouped2.js +1 -366
  416. package/dist/components/advanced-search.js +1 -9
  417. package/dist/components/advanced-search2.js +1 -270
  418. package/dist/components/ag-grid-base.js +1 -9
  419. package/dist/components/ag-grid-base2.js +1 -1087
  420. package/dist/components/ag-table.js +1 -9
  421. package/dist/components/ag-table2.js +1 -37
  422. package/dist/components/ambient-template-grid.js +1 -4395
  423. package/dist/components/api-method-instance-grid.js +1 -331
  424. package/dist/components/apiUtils.js +1 -431
  425. package/dist/components/app-bar.js +1 -77
  426. package/dist/components/catalog-store.js +1 -30
  427. package/dist/components/chart-container.js +1 -9
  428. package/dist/components/chart-container2.js +1 -129
  429. package/dist/components/chart-kpi.js +1 -9
  430. package/dist/components/chart-kpi2.js +1 -44
  431. package/dist/components/chartUtils.js +1 -574
  432. package/dist/components/check-box-group.js +1 -9
  433. package/dist/components/check-box-group2.js +1 -172
  434. package/dist/components/check-box.js +1 -152
  435. package/dist/components/chip-section.js +1 -179
  436. package/dist/components/client-side-grid.js +1 -9
  437. package/dist/components/client-side-grid2.js +1 -158
  438. package/dist/components/common.js +1 -8
  439. package/dist/components/configService.js +1 -173
  440. package/dist/components/conversionFunctions.js +1 -132
  441. package/dist/components/custom-button.js +1 -9
  442. package/dist/components/custom-button2.js +1 -77
  443. package/dist/components/date-time-renderer.js +1 -9
  444. package/dist/components/date-time-renderer2.js +1 -135
  445. package/dist/components/edit-view-form-dialog.js +1 -9
  446. package/dist/components/edit-view-form.js +1 -133
  447. package/dist/components/entity-maintenance-grid.js +1 -64
  448. package/dist/components/enums.js +1 -36
  449. package/dist/components/feature-details-card.js +1 -9
  450. package/dist/components/feature-details-card2.js +1 -221
  451. package/dist/components/feature-details-popup.js +1 -9
  452. package/dist/components/feature-details-popup2.js +1 -155
  453. package/dist/components/file-upload-renderer.js +1 -9
  454. package/dist/components/file-upload-renderer2.js +1 -68
  455. package/dist/components/file-upload.js +1 -9
  456. package/dist/components/file-upload2.js +1 -991
  457. package/dist/components/filter-conditions.js +1 -9
  458. package/dist/components/filter-conditions2.js +1 -47
  459. package/dist/components/filter-group.js +1 -9
  460. package/dist/components/filter-group2.js +1 -452
  461. package/dist/components/fluent-dialog.js +1 -9
  462. package/dist/components/fluent-dialog2.js +1 -74
  463. package/dist/components/form-metadata-display-renderer.d.ts +11 -0
  464. package/dist/components/form-metadata-display-renderer.js +1 -0
  465. package/dist/components/form-metadata-display-renderer2.js +1 -0
  466. package/dist/components/form-metadata-display.d.ts +11 -0
  467. package/dist/components/form-metadata-display.js +1 -0
  468. package/dist/components/form-metadata-display2.js +1 -0
  469. package/dist/components/forms-builder-utils.js +1 -47
  470. package/dist/components/ghost-render.js +1 -9
  471. package/dist/components/ghost-render2.js +1 -102
  472. package/dist/components/grid-header.js +1 -9
  473. package/dist/components/grid-header2.js +1 -126
  474. package/dist/components/grid-primary-bar.js +1 -9
  475. package/dist/components/grid-primary-bar2.js +1 -268
  476. package/dist/components/hint-panel.js +1 -9
  477. package/dist/components/hint-panel2.js +1 -55
  478. package/dist/components/image-upload.js +1 -9
  479. package/dist/components/image-upload2.js +1 -126
  480. package/dist/components/index.d.ts +2 -0
  481. package/dist/components/index.js +1 -74
  482. package/dist/components/index2.js +1 -1762
  483. package/dist/components/kpi-list.js +1 -9
  484. package/dist/components/kpi-list2.js +1 -52
  485. package/dist/components/list-item.js +1 -118
  486. package/dist/components/list-options-renderer.js +1 -9
  487. package/dist/components/list-options-renderer2.js +1 -124
  488. package/dist/components/logical-search-indicator.js +1 -46
  489. package/dist/components/makeApiCall.js +1 -120
  490. package/dist/components/map-component.js +1 -9
  491. package/dist/components/map-component2.js +1 -583
  492. package/dist/components/map-interactions.js +1 -236
  493. package/dist/components/map-toolbar.js +1 -9
  494. package/dist/components/map-toolbar2.js +1 -359
  495. package/dist/components/numeric-field.js +1 -9
  496. package/dist/components/numeric-field2.js +1 -197
  497. package/dist/components/primary-action-header.js +1 -9
  498. package/dist/components/primary-action-header2.js +1 -140
  499. package/dist/components/question-configs-renderer.js +1 -9
  500. package/dist/components/question-configs-renderer2.js +1 -206
  501. package/dist/components/question-specific-configs-renderer.js +1 -9
  502. package/dist/components/question-specific-configs-renderer2.js +1 -528
  503. package/dist/components/resource-timeline-calendar.js +1 -407
  504. package/dist/components/resource-timeline-primary-bar.js +1 -9
  505. package/dist/components/resource-timeline-primary-bar2.js +1 -124
  506. package/dist/components/save-view-form-dialog.js +1 -9
  507. package/dist/components/save-view-form.js +1 -140
  508. package/dist/components/search-list-item.js +1 -9
  509. package/dist/components/search-list-item2.js +1 -177
  510. package/dist/components/search-method-grid.js +1 -9
  511. package/dist/components/search-method-grid2.js +1 -515
  512. package/dist/components/section-configs-renderer.js +1 -9
  513. package/dist/components/section-configs-renderer2.js +1 -90
  514. package/dist/components/select-layer-popup.js +1 -9
  515. package/dist/components/select-layer-popup2.js +1 -94
  516. package/dist/components/selectable-list.js +1 -9
  517. package/dist/components/selectable-list2.js +1 -284
  518. package/dist/components/server-side-grid.js +1 -9
  519. package/dist/components/server-side-grid2.js +1 -157
  520. package/dist/components/side-sheet-container.js +1 -9
  521. package/dist/components/side-sheet-container2.js +1 -39
  522. package/dist/components/side-sheet.js +1 -9
  523. package/dist/components/side-sheet2.js +1 -90
  524. package/dist/components/signature-input.js +1 -9
  525. package/dist/components/signature-input2.js +1 -371
  526. package/dist/components/signature-renderer.js +1 -9
  527. package/dist/components/signature-renderer2.js +1 -62
  528. package/dist/components/simple-card.js +1 -38
  529. package/dist/components/split-line-popup.js +1 -9
  530. package/dist/components/split-line-popup2.js +1 -61
  531. package/dist/components/status-chip.js +1 -9
  532. package/dist/components/status-chip2.js +1 -57
  533. package/dist/components/status-renderer.js +1 -288
  534. package/dist/components/stencil-chip.js +1 -9
  535. package/dist/components/stencil-chip2.js +1 -144
  536. package/dist/components/stencil-field.js +1 -9
  537. package/dist/components/stencil-field2.js +1 -285
  538. package/dist/components/stencil-form.js +1 -9
  539. package/dist/components/stencil-form2.js +1 -270
  540. package/dist/components/stencil-icon-button-grid-action-header.js +1 -9
  541. package/dist/components/stencil-icon-button-grid-action-header2.js +1 -84
  542. package/dist/components/stencil-icon-button.js +1 -9
  543. package/dist/components/stencil-icon-button2.js +1 -99
  544. package/dist/components/stencil-toggle.js +1 -9
  545. package/dist/components/stencil-toggle2.js +1 -192
  546. package/dist/components/tally-display.js +1 -9
  547. package/dist/components/tally.js +1 -99
  548. package/dist/components/tenantUtils.js +1 -8
  549. package/dist/components/text-area.js +1 -9
  550. package/dist/components/text-area2.js +1 -288
  551. package/dist/components/text-field.js +1 -9
  552. package/dist/components/text-field2.js +1 -241
  553. package/dist/components/text-input-renderer.js +1 -9
  554. package/dist/components/text-input-renderer2.js +1 -66
  555. package/dist/components/transformSearchData.js +1 -782
  556. package/dist/components/tree-list-item.js +1 -9
  557. package/dist/components/tree-list-item2.js +1 -194
  558. package/dist/components/udp-adornment.js +1 -9
  559. package/dist/components/udp-adornment2.js +1 -55
  560. package/dist/components/udp-advanced-search-builder.js +1 -157
  561. package/dist/components/udp-ambient-card.js +1 -9
  562. package/dist/components/udp-ambient-card2.js +1 -86
  563. package/dist/components/udp-ambient-tool-tip.js +1 -9
  564. package/dist/components/udp-ambient-tool-tip2.js +1 -124
  565. package/dist/components/udp-attachment-item.js +1 -9
  566. package/dist/components/udp-attachment-item2.js +1 -154
  567. package/dist/components/udp-attachment-list.js +1 -138
  568. package/dist/components/udp-avatar.js +1 -9
  569. package/dist/components/udp-avatar2.js +1 -91
  570. package/dist/components/udp-badge.js +1 -9
  571. package/dist/components/udp-badge2.js +1 -47
  572. package/dist/components/udp-bar-chart.js +1 -9
  573. package/dist/components/udp-bar-chart2.js +1 -139
  574. package/dist/components/udp-button.js +1 -9
  575. package/dist/components/udp-button2.js +1 -144
  576. package/dist/components/udp-calendar-base.js +1 -9
  577. package/dist/components/udp-calendar-base2.js +1 -204
  578. package/dist/components/udp-calendar-day.js +1 -49
  579. package/dist/components/udp-calendar-month.js +1 -49
  580. package/dist/components/udp-calendar-week.js +1 -49
  581. package/dist/components/udp-calendar-year.js +1 -49
  582. package/dist/components/udp-card-action-area.js +1 -38
  583. package/dist/components/udp-card-actions.js +1 -9
  584. package/dist/components/udp-card-actions2.js +1 -41
  585. package/dist/components/udp-card-content.js +1 -9
  586. package/dist/components/udp-card-content2.js +1 -40
  587. package/dist/components/udp-card-header.js +1 -9
  588. package/dist/components/udp-card-header2.js +1 -72
  589. package/dist/components/udp-card-media.js +1 -9
  590. package/dist/components/udp-card-media2.js +1 -38
  591. package/dist/components/udp-card.js +1 -9
  592. package/dist/components/udp-card2.js +1 -119
  593. package/dist/components/udp-charts-example.js +1 -112
  594. package/dist/components/udp-chip.js +1 -9
  595. package/dist/components/udp-chip2.js +1 -87
  596. package/dist/components/udp-column-header.js +1 -9
  597. package/dist/components/udp-column-header2.js +1 -41
  598. package/dist/components/udp-container-query-grid-item.js +1 -51
  599. package/dist/components/udp-container-query-grid.js +1 -79
  600. package/dist/components/udp-container-query.js +1 -9
  601. package/dist/components/udp-container-query2.js +1 -58
  602. package/dist/components/udp-container.js +1 -9
  603. package/dist/components/udp-container2.js +1 -56
  604. package/dist/components/udp-date-range-selector.js +1 -80
  605. package/dist/components/udp-date-selector.js +1 -9
  606. package/dist/components/udp-date-selector2.js +1 -195
  607. package/dist/components/udp-datetime-selector.js +1 -9
  608. package/dist/components/udp-datetime-selector2.js +1 -224
  609. package/dist/components/udp-dialog.js +1 -9
  610. package/dist/components/udp-dialog2.js +1 -119
  611. package/dist/components/udp-distribution-chart.js +1 -9
  612. package/dist/components/udp-distribution-chart2.js +1 -187
  613. package/dist/components/udp-divider.js +1 -9
  614. package/dist/components/udp-divider2.js +1 -42
  615. package/dist/components/udp-donut-chart.js +1 -9
  616. package/dist/components/udp-donut-chart2.js +1 -180
  617. package/dist/components/udp-drive-utils.js +1 -168
  618. package/dist/components/udp-dynamic-container-with-menu.js +1 -9
  619. package/dist/components/udp-dynamic-container-with-menu2.js +1 -181
  620. package/dist/components/udp-dynamic-form.js +1 -339
  621. package/dist/components/udp-empty-state-display.js +1 -9
  622. package/dist/components/udp-empty-state-display2.js +1 -68
  623. package/dist/components/udp-form-api-utils.js +1 -37
  624. package/dist/components/udp-forms-builder-menu.js +1 -9
  625. package/dist/components/udp-forms-builder-menu2.js +1 -81
  626. package/dist/components/udp-forms-builder-question-item.js +1 -9
  627. package/dist/components/udp-forms-builder-question-item2.js +1 -90
  628. package/dist/components/udp-forms-builder-style-override.js +1 -121
  629. package/dist/components/udp-forms-builder.js +1 -868
  630. package/dist/components/udp-forms-follow-up-list-card.js +1 -89
  631. package/dist/components/udp-forms-list-card.js +1 -9
  632. package/dist/components/udp-forms-list-card2.js +1 -186
  633. package/dist/components/udp-forms-list.js +1 -427
  634. package/dist/components/udp-forms-renderer.js +1 -1545
  635. package/dist/components/udp-forms-ui.js +1 -9
  636. package/dist/components/udp-forms-ui2.js +1 -376
  637. package/dist/components/udp-function-button.js +1 -9
  638. package/dist/components/udp-function-button2.js +1 -96
  639. package/dist/components/udp-grid-loader.js +1 -9
  640. package/dist/components/udp-grid-loader2.js +1 -52
  641. package/dist/components/udp-hotlist-form.js +1 -9
  642. package/dist/components/udp-hotlist-form2.js +1 -91
  643. package/dist/components/udp-icon-button.js +1 -9
  644. package/dist/components/udp-icon-button2.js +1 -161
  645. package/dist/components/udp-icon.js +1 -9
  646. package/dist/components/udp-icon2.js +1 -284
  647. package/dist/components/udp-kpi-card.js +1 -9
  648. package/dist/components/udp-kpi-card2.js +1 -156
  649. package/dist/components/udp-kpi-cards.js +1 -84
  650. package/dist/components/udp-line-chart.js +1 -9
  651. package/dist/components/udp-line-chart2.js +1 -134
  652. package/dist/components/udp-linear-loader.js +1 -9
  653. package/dist/components/udp-linear-loader2.js +1 -45
  654. package/dist/components/udp-link.js +1 -9
  655. package/dist/components/udp-link2.js +1 -70
  656. package/dist/components/udp-list-item.js +1 -9
  657. package/dist/components/udp-list-renderer.js +1 -9
  658. package/dist/components/udp-list-renderer2.js +1 -175
  659. package/dist/components/udp-map-toolbar.js +1 -9
  660. package/dist/components/udp-map-toolbar2.js +1 -387
  661. package/dist/components/udp-map-utils.js +1 -174
  662. package/dist/components/udp-map.js +1 -328
  663. package/dist/components/udp-menu-item.js +1 -9
  664. package/dist/components/udp-menu-item2.js +1 -61
  665. package/dist/components/udp-menu.js +1 -9
  666. package/dist/components/udp-menu2.js +1 -132
  667. package/dist/components/udp-notification.js +1 -9
  668. package/dist/components/udp-notification2.js +1 -64
  669. package/dist/components/udp-page-header.js +1 -9
  670. package/dist/components/udp-page-header2.js +1 -55
  671. package/dist/components/udp-page.js +1 -54
  672. package/dist/components/udp-pagination.js +1 -9
  673. package/dist/components/udp-pagination2.js +1 -104
  674. package/dist/components/udp-pop-over-grid-action-header.js +1 -9
  675. package/dist/components/udp-pop-over-grid-action-header2.js +1 -82
  676. package/dist/components/udp-pop-over.js +1 -9
  677. package/dist/components/udp-pop-over2.js +1 -161
  678. package/dist/components/udp-question-comments.js +1 -9
  679. package/dist/components/udp-question-comments2.js +1 -139
  680. package/dist/components/udp-question.js +1 -9
  681. package/dist/components/udp-question2.js +1 -400
  682. package/dist/components/udp-radio-button.js +1 -9
  683. package/dist/components/udp-radio-button2.js +1 -48
  684. package/dist/components/udp-sankey-chart.js +1 -186
  685. package/dist/components/udp-save-draft-button.js +1 -9
  686. package/dist/components/udp-save-draft-button2.js +1 -144
  687. package/dist/components/udp-selector.js +1 -9
  688. package/dist/components/udp-selector2.js +1 -425
  689. package/dist/components/udp-side-sheet.js +1 -9
  690. package/dist/components/udp-side-sheet2.js +1 -358
  691. package/dist/components/udp-skeleton-loading.js +1 -9
  692. package/dist/components/udp-skeleton-loading2.js +1 -43
  693. package/dist/components/udp-split-screen.js +1 -92
  694. package/dist/components/udp-stepper-demo.js +1 -143
  695. package/dist/components/udp-stepper.js +1 -9
  696. package/dist/components/udp-stepper2.js +1 -154
  697. package/dist/components/udp-tab-panel.js +1 -45
  698. package/dist/components/udp-tab.js +1 -64
  699. package/dist/components/udp-tabs.js +1 -9
  700. package/dist/components/udp-tabs2.js +1 -278
  701. package/dist/components/udp-time-selector.js +1 -9
  702. package/dist/components/udp-time-selector2.js +1 -296
  703. package/dist/components/udp-timeline-connector.js +1 -38
  704. package/dist/components/udp-timeline-dot.js +1 -72
  705. package/dist/components/udp-timeline-item.js +1 -120
  706. package/dist/components/udp-timeline-separator.js +1 -38
  707. package/dist/components/udp-timeline.js +1 -42
  708. package/dist/components/udp-vertical-spacer.js +1 -46
  709. package/dist/components/udp-xy-chart.js +1 -9
  710. package/dist/components/udp-xy-chart2.js +1 -230
  711. package/dist/components/udp-xy-multi-series-chart.js +1 -230
  712. package/dist/components/unity-typography.js +1 -9
  713. package/dist/components/unity-typography2.js +1 -85
  714. package/dist/components/upd-alert-banner.js +1 -9
  715. package/dist/components/upd-alert-banner2.js +1 -48
  716. package/dist/components/useFormApi.js +1 -47
  717. package/dist/components/utils.js +1 -87
  718. package/dist/components/validation-chip.js +1 -9
  719. package/dist/components/validation-chip2.js +1 -58
  720. package/dist/docs.d.ts +11 -0
  721. package/dist/docs.json +957 -398
  722. package/dist/esm/SearchBuilder-CvKqGlUH.js +0 -3
  723. package/dist/esm/action-column-util-DUK_9dnF.js +0 -3
  724. package/dist/esm/add-map-feature-popup_4.entry.js +45 -30
  725. package/dist/esm/advanced-search-builder.entry.js +3 -4
  726. package/dist/esm/advanced-search_12.entry.js +57 -40
  727. package/dist/esm/ag-grid-base_6.entry.js +53 -28
  728. package/dist/esm/ambient-template-grid.entry.js +86 -41
  729. package/dist/esm/api-method-instance-grid.entry.js +16 -7
  730. package/dist/esm/apiUtils-cUHs50y0.js +0 -3
  731. package/dist/esm/app-bar.entry.js +4 -5
  732. package/dist/esm/catalog-store-BhgNAUY6.js +0 -3
  733. package/dist/esm/chart-container_3.entry.js +7 -8
  734. package/dist/esm/chartUtils-DFIyEsL1.js +0 -3
  735. package/dist/esm/check-box-group.entry.js +6 -5
  736. package/dist/esm/check-box.entry.js +14 -9
  737. package/dist/esm/chip-section.entry.js +8 -7
  738. package/dist/esm/client-side-grid_2.entry.js +9 -8
  739. package/dist/esm/common-CwN0FuAf.js +0 -3
  740. package/dist/esm/configService-BqLfkVKh.js +0 -3
  741. package/dist/esm/configureUdpColumnMods-CoCTzhve.js +0 -3
  742. package/dist/esm/conversionFunctions-CNWYTvRs.js +0 -3
  743. package/dist/esm/currency-renderer-D6zBtP2s.js +0 -3
  744. package/dist/esm/custom-button.entry.js +3 -4
  745. package/dist/esm/{date-time-renderer_6.entry.js → date-time-renderer_7.entry.js} +57 -25
  746. package/dist/esm/entity-maintenance-grid.entry.js +2 -3
  747. package/dist/esm/{enums-BnKmfKJT.js → enums-D5dod6Ie.js} +9 -5
  748. package/dist/esm/feature-details-card_2.entry.js +24 -15
  749. package/dist/esm/file-upload_3.entry.js +23 -12
  750. package/dist/esm/filter-conditions_7.entry.js +23 -20
  751. package/dist/esm/filter-group_2.entry.js +5 -6
  752. package/dist/esm/fluent-dialog.entry.js +3 -4
  753. package/dist/esm/{image-upload_7.entry.js → form-metadata-display_8.entry.js} +121 -43
  754. package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +0 -3
  755. package/dist/esm/iconMapping-CPerGeNF.js +0 -3
  756. package/dist/esm/iconUtils-DcPvHO4A.js +0 -3
  757. package/dist/esm/{index-CaZq3YdB.js → index-DFnjA9NX.js} +325 -202
  758. package/dist/esm/index.js +138 -2
  759. package/dist/esm/loader.js +3 -4
  760. package/dist/esm/logical-search-indicator.entry.js +3 -4
  761. package/dist/esm/makeApiCall-B-daVutk.js +0 -3
  762. package/dist/esm/map-component_2.entry.js +61 -24
  763. package/dist/esm/numeric-field_5.entry.js +71 -42
  764. package/dist/esm/primary-action-header_2.entry.js +392 -0
  765. package/dist/esm/question-configs-renderer_4.entry.js +21 -22
  766. package/dist/esm/resource-timeline-calendar.entry.js +13 -8
  767. package/dist/esm/search-method-grid.entry.js +7 -4
  768. package/dist/esm/server-side-grid.entry.js +5 -4
  769. package/dist/esm/side-sheet-container.entry.js +4 -5
  770. package/dist/esm/simple-card.entry.js +3 -4
  771. package/dist/esm/status-chip_2.entry.js +8 -7
  772. package/dist/esm/stencil-chip.entry.js +6 -5
  773. package/dist/esm/stencil-icon-button-grid-action-header.entry.js +3 -4
  774. package/dist/esm/stencil-icon-button_3.entry.js +7 -8
  775. package/dist/esm/stencil-library.js +4 -5
  776. package/dist/esm/stencil-toggle.entry.js +16 -11
  777. package/dist/esm/tenantUtils-Basdb1b1.js +0 -3
  778. package/dist/esm/text-field_2.entry.js +36 -21
  779. package/dist/esm/transformSearchData-DBjFnXu6.js +0 -3
  780. package/dist/esm/udp-adornment.entry.js +3 -4
  781. package/dist/esm/udp-advanced-search-builder.entry.js +7 -4
  782. package/dist/esm/udp-attachment-item_2.entry.js +5 -6
  783. package/dist/esm/udp-attachment-list.entry.js +1 -2
  784. package/dist/esm/udp-avatar.entry.js +3 -4
  785. package/dist/esm/udp-bar-chart_4.entry.js +45 -22
  786. package/dist/esm/udp-button.entry.js +3 -4
  787. package/dist/esm/udp-calendar-base.entry.js +6 -5
  788. package/dist/esm/udp-calendar-day.entry.js +3 -4
  789. package/dist/esm/udp-calendar-month.entry.js +3 -4
  790. package/dist/esm/udp-calendar-week.entry.js +3 -4
  791. package/dist/esm/udp-calendar-year.entry.js +3 -4
  792. package/dist/esm/udp-card-action-area.entry.js +3 -4
  793. package/dist/esm/udp-card_6.entry.js +13 -14
  794. package/dist/esm/udp-charts-example.entry.js +1 -2
  795. package/dist/esm/udp-chip_3.entry.js +11 -10
  796. package/dist/esm/udp-container-query-grid-item.entry.js +4 -5
  797. package/dist/esm/udp-container-query-grid.entry.js +4 -5
  798. package/dist/esm/udp-container-query.entry.js +5 -6
  799. package/dist/esm/udp-container.entry.js +32 -0
  800. package/dist/esm/udp-date-range-selector.entry.js +4 -5
  801. package/dist/esm/udp-divider.entry.js +3 -4
  802. package/dist/esm/udp-drive-utils-CIrjVGiJ.js +0 -3
  803. package/dist/esm/udp-dynamic-container-with-menu.entry.js +7 -6
  804. package/dist/esm/udp-dynamic-form.entry.js +3 -4
  805. package/dist/esm/udp-form-api-utils-vPSYCvIA.js +0 -3
  806. package/dist/esm/{udp-forms-builder-question-template-C60LMUS4.js → udp-forms-builder-question-template-BsYOju9V.js} +8 -4
  807. package/dist/esm/udp-forms-builder-style-override.entry.js +4 -5
  808. package/dist/esm/udp-forms-builder.entry.js +12 -9
  809. package/dist/esm/udp-forms-follow-up-list-card.entry.js +4 -5
  810. package/dist/esm/udp-forms-list-card.entry.js +7 -8
  811. package/dist/esm/udp-forms-list.entry.js +10 -9
  812. package/dist/esm/udp-forms-renderer.entry.js +830 -772
  813. package/dist/esm/udp-forms-ui.entry.js +18 -17
  814. package/dist/esm/udp-icon.entry.js +3 -4
  815. package/dist/esm/udp-kpi-card.entry.js +3 -4
  816. package/dist/esm/udp-kpi-cards.entry.js +3 -4
  817. package/dist/esm/udp-linear-loader_2.entry.js +285 -0
  818. package/dist/esm/udp-list-renderer_2.entry.js +8 -7
  819. package/dist/esm/udp-map-utils-DNAUNI5U.js +0 -3
  820. package/dist/esm/udp-map.entry.js +12 -9
  821. package/dist/esm/{udp-pop-over.entry.js → udp-menu-item_2.entry.js} +28 -6
  822. package/dist/esm/udp-page.entry.js +4 -5
  823. package/dist/esm/udp-sankey-chart.entry.js +30 -13
  824. package/dist/esm/udp-skeleton-loading.entry.js +4 -5
  825. package/dist/esm/udp-split-screen.entry.js +4 -5
  826. package/dist/esm/udp-stepper-demo.entry.js +2 -3
  827. package/dist/esm/udp-stepper.entry.js +6 -5
  828. package/dist/esm/udp-tab-panel.entry.js +5 -6
  829. package/dist/esm/udp-tab.entry.js +4 -5
  830. package/dist/esm/udp-timeline-connector.entry.js +4 -5
  831. package/dist/esm/udp-timeline-dot.entry.js +4 -5
  832. package/dist/esm/udp-timeline-item.entry.js +5 -6
  833. package/dist/esm/udp-timeline-separator.entry.js +4 -5
  834. package/dist/esm/udp-timeline.entry.js +4 -5
  835. package/dist/esm/udp-vertical-spacer.entry.js +4 -5
  836. package/dist/esm/udp-xy-chart.entry.js +39 -16
  837. package/dist/esm/udp-xy-multi-series-chart.entry.js +27 -12
  838. package/dist/esm/udpFieldHelper-qPBcfmrH.js +0 -3
  839. package/dist/esm/udpOperatorHelper-BsvDrT81.js +0 -3
  840. package/dist/esm/unity-typography.entry.js +3 -4
  841. package/dist/esm/{utils-CiUp9KGZ.js → utils-kwLwITIE.js} +6 -9
  842. package/dist/stencil-library/SearchBuilder-CvKqGlUH.js +1 -2
  843. package/dist/stencil-library/action-column-util-DUK_9dnF.js +1 -2
  844. package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -2
  845. package/dist/stencil-library/advanced-search-builder.entry.js +1 -2
  846. package/dist/stencil-library/advanced-search_12.entry.js +1 -2
  847. package/dist/stencil-library/ag-grid-base_6.entry.js +1 -2
  848. package/dist/stencil-library/ambient-template-grid.entry.js +1 -2
  849. package/dist/stencil-library/api-method-instance-grid.entry.js +1 -2
  850. package/dist/stencil-library/apiUtils-cUHs50y0.js +1 -2
  851. package/dist/stencil-library/app-bar.entry.js +1 -2
  852. package/dist/stencil-library/catalog-store-BhgNAUY6.js +1 -2
  853. package/dist/stencil-library/chart-container_3.entry.js +1 -2
  854. package/dist/stencil-library/chartUtils-DFIyEsL1.js +1 -2
  855. package/dist/stencil-library/check-box-group.entry.js +1 -2
  856. package/dist/stencil-library/check-box.entry.js +1 -2
  857. package/dist/stencil-library/chip-section.entry.js +1 -2
  858. package/dist/stencil-library/client-side-grid_2.entry.js +1 -2
  859. package/dist/stencil-library/common-CwN0FuAf.js +1 -2
  860. package/dist/stencil-library/configService-BqLfkVKh.js +1 -2
  861. package/dist/stencil-library/configureUdpColumnMods-CoCTzhve.js +1 -2
  862. package/dist/stencil-library/conversionFunctions-CNWYTvRs.js +1 -2
  863. package/dist/stencil-library/currency-renderer-D6zBtP2s.js +1 -2
  864. package/dist/stencil-library/custom-button.entry.js +1 -2
  865. package/dist/stencil-library/date-time-renderer_7.entry.js +1 -0
  866. package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -2
  867. package/dist/stencil-library/enums-D5dod6Ie.js +1 -0
  868. package/dist/stencil-library/feature-details-card_2.entry.js +1 -2
  869. package/dist/stencil-library/file-upload_3.entry.js +1 -2
  870. package/dist/stencil-library/filter-conditions_7.entry.js +1 -2
  871. package/dist/stencil-library/filter-group_2.entry.js +1 -2
  872. package/dist/stencil-library/fluent-dialog.entry.js +1 -2
  873. package/dist/stencil-library/form-metadata-display_8.entry.js +1 -0
  874. package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -2
  875. package/dist/stencil-library/iconMapping-CPerGeNF.js +1 -2
  876. package/dist/stencil-library/iconUtils-DcPvHO4A.js +1 -2
  877. package/dist/stencil-library/index-DFnjA9NX.js +2 -0
  878. package/dist/stencil-library/index.esm.js +1 -2
  879. package/dist/stencil-library/logical-search-indicator.entry.js +1 -2
  880. package/dist/stencil-library/makeApiCall-B-daVutk.js +1 -2
  881. package/dist/stencil-library/map-component_2.entry.js +1 -2
  882. package/dist/stencil-library/numeric-field_5.entry.js +1 -2
  883. package/dist/stencil-library/primary-action-header_2.entry.js +1 -0
  884. package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -2
  885. package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -2
  886. package/dist/stencil-library/search-method-grid.entry.js +1 -2
  887. package/dist/stencil-library/server-side-grid.entry.js +1 -2
  888. package/dist/stencil-library/side-sheet-container.entry.js +1 -2
  889. package/dist/stencil-library/simple-card.entry.js +1 -2
  890. package/dist/stencil-library/status-chip_2.entry.js +1 -2
  891. package/dist/stencil-library/stencil-chip.entry.js +1 -2
  892. package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.js +1 -2
  893. package/dist/stencil-library/stencil-icon-button_3.entry.js +1 -2
  894. package/dist/stencil-library/stencil-library.esm.js +1 -2
  895. package/dist/stencil-library/stencil-toggle.entry.js +1 -2
  896. package/dist/stencil-library/tenantUtils-Basdb1b1.js +1 -2
  897. package/dist/stencil-library/text-field_2.entry.js +1 -2
  898. package/dist/stencil-library/transformSearchData-DBjFnXu6.js +1 -2
  899. package/dist/stencil-library/udp-adornment.entry.js +1 -2
  900. package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -2
  901. package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -2
  902. package/dist/stencil-library/udp-attachment-list.entry.js +1 -2
  903. package/dist/stencil-library/udp-avatar.entry.js +1 -2
  904. package/dist/stencil-library/udp-bar-chart_4.entry.js +1 -2
  905. package/dist/stencil-library/udp-button.entry.js +1 -2
  906. package/dist/stencil-library/udp-calendar-base.entry.js +1 -2
  907. package/dist/stencil-library/udp-calendar-day.entry.js +1 -2
  908. package/dist/stencil-library/udp-calendar-month.entry.js +1 -2
  909. package/dist/stencil-library/udp-calendar-week.entry.js +1 -2
  910. package/dist/stencil-library/udp-calendar-year.entry.js +1 -2
  911. package/dist/stencil-library/udp-card-action-area.entry.js +1 -2
  912. package/dist/stencil-library/udp-card_6.entry.js +1 -2
  913. package/dist/stencil-library/udp-charts-example.entry.js +1 -2
  914. package/dist/stencil-library/udp-chip_3.entry.js +1 -2
  915. package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -2
  916. package/dist/stencil-library/udp-container-query-grid.entry.js +1 -2
  917. package/dist/stencil-library/udp-container-query.entry.js +1 -2
  918. package/dist/stencil-library/udp-container.entry.js +1 -0
  919. package/dist/stencil-library/udp-date-range-selector.entry.js +1 -2
  920. package/dist/stencil-library/udp-divider.entry.js +1 -2
  921. package/dist/stencil-library/udp-drive-utils-CIrjVGiJ.js +1 -2
  922. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -2
  923. package/dist/stencil-library/udp-dynamic-form.entry.js +1 -2
  924. package/dist/stencil-library/udp-form-api-utils-vPSYCvIA.js +1 -2
  925. package/dist/stencil-library/udp-forms-builder-question-template-BsYOju9V.js +1 -0
  926. package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -2
  927. package/dist/stencil-library/udp-forms-builder.entry.js +1 -2
  928. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -2
  929. package/dist/stencil-library/udp-forms-list-card.entry.js +1 -2
  930. package/dist/stencil-library/udp-forms-list.entry.js +1 -2
  931. package/dist/stencil-library/udp-forms-renderer.entry.js +1 -2
  932. package/dist/stencil-library/udp-forms-ui.entry.js +1 -2
  933. package/dist/stencil-library/udp-icon.entry.js +1 -2
  934. package/dist/stencil-library/udp-kpi-card.entry.js +1 -2
  935. package/dist/stencil-library/udp-kpi-cards.entry.js +1 -2
  936. package/dist/stencil-library/udp-linear-loader_2.entry.js +1 -0
  937. package/dist/stencil-library/udp-list-renderer_2.entry.js +1 -2
  938. package/dist/stencil-library/udp-map-utils-DNAUNI5U.js +1 -2
  939. package/dist/stencil-library/udp-map.entry.js +1 -2
  940. package/dist/stencil-library/udp-menu-item_2.entry.js +1 -0
  941. package/dist/stencil-library/udp-page.entry.js +1 -2
  942. package/dist/stencil-library/udp-sankey-chart.entry.js +1 -2
  943. package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -2
  944. package/dist/stencil-library/udp-split-screen.entry.js +1 -2
  945. package/dist/stencil-library/udp-stepper-demo.entry.js +1 -2
  946. package/dist/stencil-library/udp-stepper.entry.js +1 -2
  947. package/dist/stencil-library/udp-tab-panel.entry.js +1 -2
  948. package/dist/stencil-library/udp-tab.entry.js +1 -2
  949. package/dist/stencil-library/udp-timeline-connector.entry.js +1 -2
  950. package/dist/stencil-library/udp-timeline-dot.entry.js +1 -2
  951. package/dist/stencil-library/udp-timeline-item.entry.js +1 -2
  952. package/dist/stencil-library/udp-timeline-separator.entry.js +1 -2
  953. package/dist/stencil-library/udp-timeline.entry.js +1 -2
  954. package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -2
  955. package/dist/stencil-library/udp-xy-chart.entry.js +1 -2
  956. package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -2
  957. package/dist/stencil-library/udpFieldHelper-qPBcfmrH.js +1 -2
  958. package/dist/stencil-library/udpOperatorHelper-BsvDrT81.js +1 -2
  959. package/dist/stencil-library/unity-typography.entry.js +1 -2
  960. package/dist/stencil-library/utils-kwLwITIE.js +1 -0
  961. package/dist/types/components/advanced-search/advanced-search-grouped.d.ts +5 -5
  962. package/dist/types/components/advanced-search/types.d.ts +39 -4
  963. package/dist/types/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.d.ts +2 -2
  964. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.d.ts +1 -1
  965. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.d.ts +1 -1
  966. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.d.ts +11 -0
  967. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.d.ts +1 -1
  968. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.d.ts +1 -1
  969. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.d.ts +1 -1
  970. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.d.ts +71 -1
  971. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.d.ts +2 -2
  972. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.d.ts +9 -6
  973. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/comments-crud-utils.d.ts +31 -0
  974. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/repeated-section-utils.d.ts +17 -0
  975. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils/utils.d.ts +16 -0
  976. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.d.ts +9 -20
  977. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpFormSubmission.d.ts +5 -5
  978. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/enums.d.ts +8 -2
  979. package/dist/types/components/forms/udp-forms/udp-forms-utils/form-handler/UdpFormHandler.d.ts +10 -0
  980. package/dist/types/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandler.d.ts +42 -0
  981. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/FormSubmissionHandlerFactory.d.ts +1 -1
  982. package/dist/types/components/forms/udp-forms/udp-forms-utils/form-submission-handler/IFormSubmissionHandler.d.ts +54 -0
  983. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/types.d.ts +16 -1
  984. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/utils.d.ts +1 -1
  985. package/dist/types/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.d.ts +2 -2
  986. package/dist/types/components/forms/udp-forms/udp-question/udp-question.d.ts +10 -5
  987. package/dist/types/components/grid/new-grid/gridFunctions/bulkActions.d.ts +4 -2
  988. package/dist/types/components/grid/new-grid/interfaces/grid.d.ts +1 -0
  989. package/dist/types/components/inputs/form metadata display/form-metadata-display.d.ts +62 -0
  990. package/dist/types/components.d.ts +208 -56
  991. package/dist/types/index.d.ts +1 -0
  992. package/dist/types/stencil-public-runtime.d.ts +88 -5
  993. package/dist/types/udp-utilities/udp-websocket-client/udp-websocket-client.d.ts +34 -0
  994. package/package.json +3 -3
  995. package/dist/cjs/SearchBuilder-C1sUitjQ.js.map +0 -1
  996. package/dist/cjs/action-column-util-CQRWvOT6.js.map +0 -1
  997. package/dist/cjs/add-map-feature-popup.map-toolbar.select-layer-popup.split-line-popup.entry.cjs.js.map +0 -1
  998. package/dist/cjs/advanced-search-builder.entry.cjs.js.map +0 -1
  999. package/dist/cjs/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.cjs.js.map +0 -1
  1000. package/dist/cjs/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.cjs.js.map +0 -1
  1001. package/dist/cjs/ambient-template-grid.entry.cjs.js.map +0 -1
  1002. package/dist/cjs/api-method-instance-grid.entry.cjs.js.map +0 -1
  1003. package/dist/cjs/apiUtils-DT-fLJOw.js.map +0 -1
  1004. package/dist/cjs/app-bar.entry.cjs.js.map +0 -1
  1005. package/dist/cjs/catalog-store-BOiNPWZB.js.map +0 -1
  1006. package/dist/cjs/chart-container.chart-kpi.udp-ambient-card.entry.cjs.js.map +0 -1
  1007. package/dist/cjs/chartUtils-Gg3D2Moc.js.map +0 -1
  1008. package/dist/cjs/check-box-group.entry.cjs.js.map +0 -1
  1009. package/dist/cjs/check-box.entry.cjs.js.map +0 -1
  1010. package/dist/cjs/chip-section.entry.cjs.js.map +0 -1
  1011. package/dist/cjs/client-side-grid.resource-timeline-primary-bar.entry.cjs.js.map +0 -1
  1012. package/dist/cjs/common-By_kzIQM.js.map +0 -1
  1013. package/dist/cjs/configService-BmGAegZf.js.map +0 -1
  1014. package/dist/cjs/configureUdpColumnMods-CQMOB8IW.js.map +0 -1
  1015. package/dist/cjs/conversionFunctions-B_9y17KE.js.map +0 -1
  1016. package/dist/cjs/currency-renderer-xzaldEo2.js.map +0 -1
  1017. package/dist/cjs/custom-button.entry.cjs.js.map +0 -1
  1018. package/dist/cjs/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.cjs.js.map +0 -1
  1019. package/dist/cjs/entity-maintenance-grid.entry.cjs.js.map +0 -1
  1020. package/dist/cjs/enums-ibNZ4cZ4.js.map +0 -1
  1021. package/dist/cjs/feature-details-card.feature-details-popup.entry.cjs.js.map +0 -1
  1022. package/dist/cjs/file-upload.selectable-list.stencil-field.entry.cjs.js.map +0 -1
  1023. package/dist/cjs/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.cjs.js.map +0 -1
  1024. package/dist/cjs/filter-group.validation-chip.entry.cjs.js.map +0 -1
  1025. package/dist/cjs/fluent-dialog.entry.cjs.js.map +0 -1
  1026. package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js.map +0 -1
  1027. package/dist/cjs/iconMapping-CkHR1LGY.js.map +0 -1
  1028. package/dist/cjs/iconUtils-BuDk48Xh.js.map +0 -1
  1029. package/dist/cjs/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.cjs.js.map +0 -1
  1030. package/dist/cjs/index-CGCOXUJE.js.map +0 -1
  1031. package/dist/cjs/index.cjs.js.map +0 -1
  1032. package/dist/cjs/loader.cjs.js.map +0 -1
  1033. package/dist/cjs/logical-search-indicator.entry.cjs.js.map +0 -1
  1034. package/dist/cjs/makeApiCall-CFfg9gI0.js.map +0 -1
  1035. package/dist/cjs/map-component.udp-map-toolbar.entry.cjs.js.map +0 -1
  1036. package/dist/cjs/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.cjs.js.map +0 -1
  1037. package/dist/cjs/primary-action-header.udp-side-sheet.udp-tabs.entry.cjs.js.map +0 -1
  1038. package/dist/cjs/primary-action-header_3.cjs.entry.js +0 -650
  1039. package/dist/cjs/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.cjs.js.map +0 -1
  1040. package/dist/cjs/resource-timeline-calendar.entry.cjs.js.map +0 -1
  1041. package/dist/cjs/search-method-grid.entry.cjs.js.map +0 -1
  1042. package/dist/cjs/server-side-grid.entry.cjs.js.map +0 -1
  1043. package/dist/cjs/side-sheet-container.entry.cjs.js.map +0 -1
  1044. package/dist/cjs/simple-card.entry.cjs.js.map +0 -1
  1045. package/dist/cjs/status-chip.udp-function-button.entry.cjs.js.map +0 -1
  1046. package/dist/cjs/stencil-chip.entry.cjs.js.map +0 -1
  1047. package/dist/cjs/stencil-icon-button-grid-action-header.entry.cjs.js.map +0 -1
  1048. package/dist/cjs/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.cjs.js.map +0 -1
  1049. package/dist/cjs/stencil-library.cjs.js.map +0 -1
  1050. package/dist/cjs/stencil-toggle.entry.cjs.js.map +0 -1
  1051. package/dist/cjs/tenantUtils-BCKSE0vq.js.map +0 -1
  1052. package/dist/cjs/text-field.udp-selector.entry.cjs.js.map +0 -1
  1053. package/dist/cjs/transformSearchData-B4bk4Aik.js.map +0 -1
  1054. package/dist/cjs/udp-adornment.entry.cjs.js.map +0 -1
  1055. package/dist/cjs/udp-advanced-search-builder.entry.cjs.js.map +0 -1
  1056. package/dist/cjs/udp-attachment-item.udp-empty-state-display.entry.cjs.js.map +0 -1
  1057. package/dist/cjs/udp-attachment-list.entry.cjs.js.map +0 -1
  1058. package/dist/cjs/udp-avatar.entry.cjs.js.map +0 -1
  1059. package/dist/cjs/udp-bar-chart.udp-distribution-chart.udp-donut-chart.udp-line-chart.entry.cjs.js.map +0 -1
  1060. package/dist/cjs/udp-button.entry.cjs.js.map +0 -1
  1061. package/dist/cjs/udp-calendar-base.entry.cjs.js.map +0 -1
  1062. package/dist/cjs/udp-calendar-day.entry.cjs.js.map +0 -1
  1063. package/dist/cjs/udp-calendar-month.entry.cjs.js.map +0 -1
  1064. package/dist/cjs/udp-calendar-week.entry.cjs.js.map +0 -1
  1065. package/dist/cjs/udp-calendar-year.entry.cjs.js.map +0 -1
  1066. package/dist/cjs/udp-card-action-area.entry.cjs.js.map +0 -1
  1067. package/dist/cjs/udp-card.udp-card-actions.udp-card-content.udp-card-header.udp-card-media.udp-link.entry.cjs.js.map +0 -1
  1068. package/dist/cjs/udp-charts-example.entry.cjs.js.map +0 -1
  1069. package/dist/cjs/udp-chip.udp-icon-button.udp-menu.entry.cjs.js.map +0 -1
  1070. package/dist/cjs/udp-container-query-grid-item.entry.cjs.js.map +0 -1
  1071. package/dist/cjs/udp-container-query-grid.entry.cjs.js.map +0 -1
  1072. package/dist/cjs/udp-container-query.entry.cjs.js.map +0 -1
  1073. package/dist/cjs/udp-container.udp-linear-loader.entry.cjs.js.map +0 -1
  1074. package/dist/cjs/udp-container_2.cjs.entry.js +0 -56
  1075. package/dist/cjs/udp-date-range-selector.entry.cjs.js.map +0 -1
  1076. package/dist/cjs/udp-divider.entry.cjs.js.map +0 -1
  1077. package/dist/cjs/udp-drive-utils-B8uPAKzW.js.map +0 -1
  1078. package/dist/cjs/udp-dynamic-container-with-menu.entry.cjs.js.map +0 -1
  1079. package/dist/cjs/udp-dynamic-form.entry.cjs.js.map +0 -1
  1080. package/dist/cjs/udp-form-api-utils-BwNeblH_.js.map +0 -1
  1081. package/dist/cjs/udp-forms-builder-question-template-BlgDh7P5.js.map +0 -1
  1082. package/dist/cjs/udp-forms-builder-style-override.entry.cjs.js.map +0 -1
  1083. package/dist/cjs/udp-forms-builder.entry.cjs.js.map +0 -1
  1084. package/dist/cjs/udp-forms-follow-up-list-card.entry.cjs.js.map +0 -1
  1085. package/dist/cjs/udp-forms-list-card.entry.cjs.js.map +0 -1
  1086. package/dist/cjs/udp-forms-list.entry.cjs.js.map +0 -1
  1087. package/dist/cjs/udp-forms-renderer.entry.cjs.js.map +0 -1
  1088. package/dist/cjs/udp-forms-ui.entry.cjs.js.map +0 -1
  1089. package/dist/cjs/udp-icon.entry.cjs.js.map +0 -1
  1090. package/dist/cjs/udp-kpi-card.entry.cjs.js.map +0 -1
  1091. package/dist/cjs/udp-kpi-cards.entry.cjs.js.map +0 -1
  1092. package/dist/cjs/udp-list-renderer.udp-pagination.entry.cjs.js.map +0 -1
  1093. package/dist/cjs/udp-map-utils-BXqQmr-h.js.map +0 -1
  1094. package/dist/cjs/udp-map.entry.cjs.js.map +0 -1
  1095. package/dist/cjs/udp-menu-item.cjs.entry.js +0 -27
  1096. package/dist/cjs/udp-menu-item.entry.cjs.js.map +0 -1
  1097. package/dist/cjs/udp-page.entry.cjs.js.map +0 -1
  1098. package/dist/cjs/udp-pop-over.entry.cjs.js.map +0 -1
  1099. package/dist/cjs/udp-sankey-chart.entry.cjs.js.map +0 -1
  1100. package/dist/cjs/udp-skeleton-loading.entry.cjs.js.map +0 -1
  1101. package/dist/cjs/udp-split-screen.entry.cjs.js.map +0 -1
  1102. package/dist/cjs/udp-stepper-demo.entry.cjs.js.map +0 -1
  1103. package/dist/cjs/udp-stepper.entry.cjs.js.map +0 -1
  1104. package/dist/cjs/udp-tab-panel.entry.cjs.js.map +0 -1
  1105. package/dist/cjs/udp-tab.entry.cjs.js.map +0 -1
  1106. package/dist/cjs/udp-timeline-connector.entry.cjs.js.map +0 -1
  1107. package/dist/cjs/udp-timeline-dot.entry.cjs.js.map +0 -1
  1108. package/dist/cjs/udp-timeline-item.entry.cjs.js.map +0 -1
  1109. package/dist/cjs/udp-timeline-separator.entry.cjs.js.map +0 -1
  1110. package/dist/cjs/udp-timeline.entry.cjs.js.map +0 -1
  1111. package/dist/cjs/udp-vertical-spacer.entry.cjs.js.map +0 -1
  1112. package/dist/cjs/udp-xy-chart.entry.cjs.js.map +0 -1
  1113. package/dist/cjs/udp-xy-multi-series-chart.entry.cjs.js.map +0 -1
  1114. package/dist/cjs/udpFieldHelper-0jB0kwFN.js.map +0 -1
  1115. package/dist/cjs/udpOperatorHelper-MMG_hrZS.js.map +0 -1
  1116. package/dist/cjs/unity-typography.entry.cjs.js.map +0 -1
  1117. package/dist/cjs/utils-DZ_OMtAy.js.map +0 -1
  1118. package/dist/collection/components/advanced-search/advanced-search-grouped.js.map +0 -1
  1119. package/dist/collection/components/advanced-search/advanced-search.js.map +0 -1
  1120. package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js.map +0 -1
  1121. package/dist/collection/components/advanced-search/types.js.map +0 -1
  1122. package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js.map +0 -1
  1123. package/dist/collection/components/advanced-search-builder/advanced-search-builder.js.map +0 -1
  1124. package/dist/collection/components/advanced-search-builder/filter-group.js.map +0 -1
  1125. package/dist/collection/components/advanced-search-builder/helperFunctions/createStringFromSearchObject.js.map +0 -1
  1126. package/dist/collection/components/advanced-search-builder/helperFunctions/fieldRenderer.js.map +0 -1
  1127. package/dist/collection/components/advanced-search-builder/helperFunctions/udpFieldHelper.js.map +0 -1
  1128. package/dist/collection/components/advanced-search-builder/helperFunctions/udpOperatorHelper.js.map +0 -1
  1129. package/dist/collection/components/advanced-search-builder/models.js.map +0 -1
  1130. package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js.map +0 -1
  1131. package/dist/collection/components/advanced-search-builder/validation-chip.js.map +0 -1
  1132. package/dist/collection/components/attachment-list/type.js.map +0 -1
  1133. package/dist/collection/components/attachment-list/udp-attachment-item.js.map +0 -1
  1134. package/dist/collection/components/attachment-list/udp-attachment-list.js.map +0 -1
  1135. package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js.map +0 -1
  1136. package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js.map +0 -1
  1137. package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js.map +0 -1
  1138. package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js.map +0 -1
  1139. package/dist/collection/components/buttons/icon-button/stencil-icon-button.js.map +0 -1
  1140. package/dist/collection/components/buttons/udp-button/udp-button.js.map +0 -1
  1141. package/dist/collection/components/buttons/udp-icon-button/udp-icon-button.js.map +0 -1
  1142. package/dist/collection/components/calendar/udp-calendar-base.js.map +0 -1
  1143. package/dist/collection/components/calendar/udp-calendar-day.js.map +0 -1
  1144. package/dist/collection/components/calendar/udp-calendar-month.js.map +0 -1
  1145. package/dist/collection/components/calendar/udp-calendar-week.js.map +0 -1
  1146. package/dist/collection/components/calendar/udp-calendar-year.js.map +0 -1
  1147. package/dist/collection/components/charts/chart-container/chart-container.js.map +0 -1
  1148. package/dist/collection/components/charts/chart-kpi/chart-kpi.js.map +0 -1
  1149. package/dist/collection/components/charts/chartUtils.js.map +0 -1
  1150. package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js.map +0 -1
  1151. package/dist/collection/components/charts/udp-charts-example.js.map +0 -1
  1152. package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js.map +0 -1
  1153. package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js.map +0 -1
  1154. package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js.map +0 -1
  1155. package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js.map +0 -1
  1156. package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js.map +0 -1
  1157. package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js.map +0 -1
  1158. package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js.map +0 -1
  1159. package/dist/collection/components/data-display/badge/udp-badge.js.map +0 -1
  1160. package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js.map +0 -1
  1161. package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js.map +0 -1
  1162. package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js.map +0 -1
  1163. package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js.map +0 -1
  1164. package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js.map +0 -1
  1165. package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js.map +0 -1
  1166. package/dist/collection/components/data-display/cards/udp-card/udp-card.js.map +0 -1
  1167. package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js.map +0 -1
  1168. package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js.map +0 -1
  1169. package/dist/collection/components/data-display/chips/udp-chip.js.map +0 -1
  1170. package/dist/collection/components/data-display/divider/udp-divider.js.map +0 -1
  1171. package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js.map +0 -1
  1172. package/dist/collection/components/data-display/headers/udp-column-header.js.map +0 -1
  1173. package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js.map +0 -1
  1174. package/dist/collection/components/data-display/hint-panel/hint-panel.js.map +0 -1
  1175. package/dist/collection/components/data-display/icons/CarbonIcon.js.map +0 -1
  1176. package/dist/collection/components/data-display/icons/iconMapping.js.map +0 -1
  1177. package/dist/collection/components/data-display/icons/iconUtils.js.map +0 -1
  1178. package/dist/collection/components/data-display/icons/udp-icon.js.map +0 -1
  1179. package/dist/collection/components/data-display/kpi/kpi-list.js.map +0 -1
  1180. package/dist/collection/components/data-display/kpi/types.js.map +0 -1
  1181. package/dist/collection/components/data-display/kpi/udp-kpi-card.js.map +0 -1
  1182. package/dist/collection/components/data-display/kpi/udp-kpi-cards.js.map +0 -1
  1183. package/dist/collection/components/data-display/list-item/list-item.js.map +0 -1
  1184. package/dist/collection/components/data-display/list-renderer/udp-list-renderer.js.map +0 -1
  1185. package/dist/collection/components/data-display/pop-over/interfaces/popoverInterfaces.js.map +0 -1
  1186. package/dist/collection/components/data-display/pop-over/udp-pop-over.js.map +0 -1
  1187. package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js.map +0 -1
  1188. package/dist/collection/components/data-display/primary-action-header/primary-action-header.js.map +0 -1
  1189. package/dist/collection/components/data-display/simple-card/simple-card.js.map +0 -1
  1190. package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js.map +0 -1
  1191. package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js.map +0 -1
  1192. package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js.map +0 -1
  1193. package/dist/collection/components/data-display/udp-avatar/udp-avatar.js.map +0 -1
  1194. package/dist/collection/components/dialogs/fluent-dialog/fluent-dialog.js.map +0 -1
  1195. package/dist/collection/components/dialogs/udp-dialog.js.map +0 -1
  1196. package/dist/collection/components/drawers/udp-side-sheet/types.js.map +0 -1
  1197. package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js.map +0 -1
  1198. package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js.map +0 -1
  1199. package/dist/collection/components/feedback/udp-notification/udp-notification.js.map +0 -1
  1200. package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js.map +0 -1
  1201. package/dist/collection/components/forms/edit-view-form/edit-view-form.js.map +0 -1
  1202. package/dist/collection/components/forms/form/stencil-field.js.map +0 -1
  1203. package/dist/collection/components/forms/form/stencil-form.js.map +0 -1
  1204. package/dist/collection/components/forms/form/useFormApi.js.map +0 -1
  1205. package/dist/collection/components/forms/save-view-form/save-view-form.js.map +0 -1
  1206. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.js.map +0 -1
  1207. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js.map +0 -1
  1208. package/dist/collection/components/forms/udp-forms/udp-forms-builder/typographyVariantsList.js.map +0 -1
  1209. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.js.map +0 -1
  1210. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js.map +0 -1
  1211. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js.map +0 -1
  1212. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js.map +0 -1
  1213. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js.map +0 -1
  1214. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js.map +0 -1
  1215. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js.map +0 -1
  1216. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js.map +0 -1
  1217. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js.map +0 -1
  1218. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js.map +0 -1
  1219. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js.map +0 -1
  1220. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js.map +0 -1
  1221. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-form-api-utils.js.map +0 -1
  1222. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js.map +0 -1
  1223. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js.map +0 -1
  1224. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js.map +0 -1
  1225. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js.map +0 -1
  1226. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js.map +0 -1
  1227. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-save-draft-button/udp-save-draft-button.js.map +0 -1
  1228. package/dist/collection/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.js.map +0 -1
  1229. package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js.map +0 -1
  1230. package/dist/collection/components/forms/udp-forms/utils/classes/UdpForm.js.map +0 -1
  1231. package/dist/collection/components/forms/udp-forms/utils/classes/UdpFormSubmission.js.map +0 -1
  1232. package/dist/collection/components/forms/udp-forms/utils/enums.js.map +0 -1
  1233. package/dist/collection/components/forms/udp-forms/utils/form-handler/IFormHandler.js +0 -2
  1234. package/dist/collection/components/forms/udp-forms/utils/form-handler/IFormHandler.js.map +0 -1
  1235. package/dist/collection/components/forms/udp-forms/utils/form-handler/UdpFormHandler.js +0 -28
  1236. package/dist/collection/components/forms/udp-forms/utils/form-handler/UdpFormHandler.js.map +0 -1
  1237. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/FormSubmissionHandlerFactory.js +0 -17
  1238. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/FormSubmissionHandlerFactory.js.map +0 -1
  1239. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/IFormSubmissionHandler.js +0 -2
  1240. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/IFormSubmissionHandler.js.map +0 -1
  1241. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/PrivateFormSubmissionHandler.js +0 -262
  1242. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/PrivateFormSubmissionHandler.js.map +0 -1
  1243. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/PublicFormSubmissionHandler.js +0 -63
  1244. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/PublicFormSubmissionHandler.js.map +0 -1
  1245. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/formUtils.js.map +0 -1
  1246. package/dist/collection/components/forms/udp-forms/utils/types.js +0 -2
  1247. package/dist/collection/components/forms/udp-forms/utils/types.js.map +0 -1
  1248. package/dist/collection/components/forms/udp-forms/utils/utils.js.map +0 -1
  1249. package/dist/collection/components/grid/ag-table/ag-table.js.map +0 -1
  1250. package/dist/collection/components/grid/ambient-template-grid/ambient-template-functions/buildGroupedSearchPayload.js.map +0 -1
  1251. package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js.map +0 -1
  1252. package/dist/collection/components/grid/ambient-template-grid/enums/gridEnums.js.map +0 -1
  1253. package/dist/collection/components/grid/ambient-template-grid/interfaces/gridInterfaces.js.map +0 -1
  1254. package/dist/collection/components/grid/ambient-template-grid/license/licenseKey.js.map +0 -1
  1255. package/dist/collection/components/grid/ambient-template-grid/static-data/get-all-hotlists.js.map +0 -1
  1256. package/dist/collection/components/grid/conversionFunctions/conversionFunctions.js.map +0 -1
  1257. package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js.map +0 -1
  1258. package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js.map +0 -1
  1259. package/dist/collection/components/grid/new-grid/ag-grid-base.js.map +0 -1
  1260. package/dist/collection/components/grid/new-grid/api-method-instance-grid.js.map +0 -1
  1261. package/dist/collection/components/grid/new-grid/client-side-grid.js.map +0 -1
  1262. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js.map +0 -1
  1263. package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js.map +0 -1
  1264. package/dist/collection/components/grid/new-grid/grid-header.js.map +0 -1
  1265. package/dist/collection/components/grid/new-grid/gridFunctionRegistry.js.map +0 -1
  1266. package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js.map +0 -1
  1267. package/dist/collection/components/grid/new-grid/gridFunctions/agGridAutoSizeColumns.js.map +0 -1
  1268. package/dist/collection/components/grid/new-grid/gridFunctions/agGridExport.js.map +0 -1
  1269. package/dist/collection/components/grid/new-grid/gridFunctions/agGridHideShowColumns.js.map +0 -1
  1270. package/dist/collection/components/grid/new-grid/gridFunctions/agGridResetColumns.js.map +0 -1
  1271. package/dist/collection/components/grid/new-grid/gridFunctions/agGridSizeColumnsToFit.js.map +0 -1
  1272. package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js.map +0 -1
  1273. package/dist/collection/components/grid/new-grid/gridFunctions/chipFilter.js.map +0 -1
  1274. package/dist/collection/components/grid/new-grid/gridFunctions/restoreGridState.js.map +0 -1
  1275. package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js.map +0 -1
  1276. package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js.map +0 -1
  1277. package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js.map +0 -1
  1278. package/dist/collection/components/grid/new-grid/helperFunctions/convertBackendTypeToAgGridType.js.map +0 -1
  1279. package/dist/collection/components/grid/new-grid/helperFunctions/convertSearchObjectToAgGridModel.js.map +0 -1
  1280. package/dist/collection/components/grid/new-grid/helperFunctions/guardedViewTransitions.js.map +0 -1
  1281. package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js.map +0 -1
  1282. package/dist/collection/components/grid/new-grid/helperFunctions/searchObjectHelper.js.map +0 -1
  1283. package/dist/collection/components/grid/new-grid/helperFunctions/toggleAgGridColumnFilter.js.map +0 -1
  1284. package/dist/collection/components/grid/new-grid/helperFunctions/valueFormatters.js.map +0 -1
  1285. package/dist/collection/components/grid/new-grid/interfaces/grid.js.map +0 -1
  1286. package/dist/collection/components/grid/new-grid/interfaces/gridFunction.js.map +0 -1
  1287. package/dist/collection/components/grid/new-grid/search-method-grid.js.map +0 -1
  1288. package/dist/collection/components/grid/new-grid/server-side-grid.js.map +0 -1
  1289. package/dist/collection/components/grid/renderers/actions-renderer.js.map +0 -1
  1290. package/dist/collection/components/grid/renderers/ag-grid-subtitle-cell-renderer.js.map +0 -1
  1291. package/dist/collection/components/grid/renderers/currency-renderer.js.map +0 -1
  1292. package/dist/collection/components/grid/renderers/custom-actions-renderer.js.map +0 -1
  1293. package/dist/collection/components/grid/renderers/custom-renderer.js.map +0 -1
  1294. package/dist/collection/components/grid/renderers/date-time-cell-renderer.js.map +0 -1
  1295. package/dist/collection/components/grid/renderers/email-cell-renderer.js.map +0 -1
  1296. package/dist/collection/components/grid/renderers/hot-list-add-renderer.js.map +0 -1
  1297. package/dist/collection/components/grid/renderers/hover-content-cell-renderer.js.map +0 -1
  1298. package/dist/collection/components/grid/renderers/icon-renderer.js.map +0 -1
  1299. package/dist/collection/components/grid/renderers/open-function-cell-renderer.js.map +0 -1
  1300. package/dist/collection/components/grid/renderers/return-search-data-cell-renderer.js.map +0 -1
  1301. package/dist/collection/components/grid/renderers/sharedContext.js.map +0 -1
  1302. package/dist/collection/components/grid/renderers/status-renderer.js.map +0 -1
  1303. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js.map +0 -1
  1304. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-column-header.js.map +0 -1
  1305. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js.map +0 -1
  1306. package/dist/collection/components/inputs/checkbox/check-box.js.map +0 -1
  1307. package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js.map +0 -1
  1308. package/dist/collection/components/inputs/date-selector/udp-date-selector.js.map +0 -1
  1309. package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js.map +0 -1
  1310. package/dist/collection/components/inputs/file-upload/file-upload.js.map +0 -1
  1311. package/dist/collection/components/inputs/file-upload/udp-drive-utils.js.map +0 -1
  1312. package/dist/collection/components/inputs/image-upload/image-upload.js.map +0 -1
  1313. package/dist/collection/components/inputs/input-types.js.map +0 -1
  1314. package/dist/collection/components/inputs/numeric-field/numeric-field.js.map +0 -1
  1315. package/dist/collection/components/inputs/selectable-list/selectable-list.js.map +0 -1
  1316. package/dist/collection/components/inputs/signature-input/signature-input.js.map +0 -1
  1317. package/dist/collection/components/inputs/tally/tally.js.map +0 -1
  1318. package/dist/collection/components/inputs/text-area/text-area.js.map +0 -1
  1319. package/dist/collection/components/inputs/text-field/text-field.js.map +0 -1
  1320. package/dist/collection/components/inputs/time-selector/udp-time-selector.js.map +0 -1
  1321. package/dist/collection/components/inputs/toggle/stencil-toggle.js.map +0 -1
  1322. package/dist/collection/components/inputs/udp-selector/udp-selector.js.map +0 -1
  1323. package/dist/collection/components/layout/udp-container/udp-container.js.map +0 -1
  1324. package/dist/collection/components/layout/udp-container-query/udp-container-query.js.map +0 -1
  1325. package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js.map +0 -1
  1326. package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js.map +0 -1
  1327. package/dist/collection/components/layout/udp-page/udp-page.js.map +0 -1
  1328. package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js.map +0 -1
  1329. package/dist/collection/components/layout/udp-vertical-spacer.js.map +0 -1
  1330. package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js.map +0 -1
  1331. package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js.map +0 -1
  1332. package/dist/collection/components/loaders/udp-skeleton-loading.js.map +0 -1
  1333. package/dist/collection/components/map/udp-map/map-component.js.map +0 -1
  1334. package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js.map +0 -1
  1335. package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js.map +0 -1
  1336. package/dist/collection/components/map/udp-map/popups/feature-details-popup.js.map +0 -1
  1337. package/dist/collection/components/map/udp-map/popups/select-layer-popup.js.map +0 -1
  1338. package/dist/collection/components/map/udp-map/popups/split-line-popup.js.map +0 -1
  1339. package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js.map +0 -1
  1340. package/dist/collection/components/map/udp-map/udp-map-toolbar.js.map +0 -1
  1341. package/dist/collection/components/map/udp-map/udp-map.js.map +0 -1
  1342. package/dist/collection/components/map/udp-map/utils/check-box-group.js.map +0 -1
  1343. package/dist/collection/components/map/udp-map/utils/common.js.map +0 -1
  1344. package/dist/collection/components/map/udp-map/utils/map-interactions.js.map +0 -1
  1345. package/dist/collection/components/map/udp-map/utils/udp-map-utils.js.map +0 -1
  1346. package/dist/collection/components/menu/menu-item/udp-menu-item.js.map +0 -1
  1347. package/dist/collection/components/menu/udp-menu.js.map +0 -1
  1348. package/dist/collection/components/navigation/pagination/udp-pagination.js.map +0 -1
  1349. package/dist/collection/components/navigation/udp-link/udp-link.js.map +0 -1
  1350. package/dist/collection/components/stepper/types.js.map +0 -1
  1351. package/dist/collection/components/stepper/udp-stepper-demo.js.map +0 -1
  1352. package/dist/collection/components/stepper/udp-stepper.js.map +0 -1
  1353. package/dist/collection/components/tabs/tab/tabs/udp-tabs.js.map +0 -1
  1354. package/dist/collection/components/tabs/tab/udp-tab.js.map +0 -1
  1355. package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js.map +0 -1
  1356. package/dist/collection/components/timeline/udp-timeline-connector.js.map +0 -1
  1357. package/dist/collection/components/timeline/udp-timeline-dot.js.map +0 -1
  1358. package/dist/collection/components/timeline/udp-timeline-item.js.map +0 -1
  1359. package/dist/collection/components/timeline/udp-timeline-separator.js.map +0 -1
  1360. package/dist/collection/components/timeline/udp-timeline.js.map +0 -1
  1361. package/dist/collection/components/toolbars/app-bar/app-bar.js.map +0 -1
  1362. package/dist/collection/components/unity-typography/types.js.map +0 -1
  1363. package/dist/collection/components/unity-typography/unity-typography.js.map +0 -1
  1364. package/dist/collection/components/util/ghost-render/ghost-render.js.map +0 -1
  1365. package/dist/collection/components.stories.js.map +0 -1
  1366. package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js.map +0 -1
  1367. package/dist/collection/deprecated/components/side-sheet/side-sheet.js.map +0 -1
  1368. package/dist/collection/global/configService.js.map +0 -1
  1369. package/dist/collection/global/types.js.map +0 -1
  1370. package/dist/collection/index.js.map +0 -1
  1371. package/dist/collection/store/catalog-store.js.map +0 -1
  1372. package/dist/collection/store/lookups-store.js.map +0 -1
  1373. package/dist/collection/udp-utilities/api/makeApiCall/examples.js.map +0 -1
  1374. package/dist/collection/udp-utilities/api/makeApiCall/makeApiCall.js.map +0 -1
  1375. package/dist/collection/udp-utilities/api-config/configService.js.map +0 -1
  1376. package/dist/collection/udp-utilities/api-config/index.js.map +0 -1
  1377. package/dist/collection/udp-utilities/api-udp/apiMutate.js.map +0 -1
  1378. package/dist/collection/udp-utilities/api-udp/apiUtils.js.map +0 -1
  1379. package/dist/collection/udp-utilities/api-udp/baseUrls.js.map +0 -1
  1380. package/dist/collection/udp-utilities/catalog/getCurrentApiCatalogId.js.map +0 -1
  1381. package/dist/collection/udp-utilities/entityUtilities.js.map +0 -1
  1382. package/dist/collection/udp-utilities/enums/unity-system-enums.js.map +0 -1
  1383. package/dist/collection/udp-utilities/grid/action-renderers/action-column-util.js.map +0 -1
  1384. package/dist/collection/udp-utilities/grid/convertToAgGridColumns.js.map +0 -1
  1385. package/dist/collection/udp-utilities/grid/data-converters/transformSearchData.js.map +0 -1
  1386. package/dist/collection/udp-utilities/grid/data-source/SearchServiceDatasource.js.map +0 -1
  1387. package/dist/collection/udp-utilities/grid/models/udp-models.js.map +0 -1
  1388. package/dist/collection/udp-utilities/grid/search/inquiry-search-datasource.js.map +0 -1
  1389. package/dist/collection/udp-utilities/grid/search/search-utilities.js.map +0 -1
  1390. package/dist/collection/udp-utilities/grid/udp-grid-enums.js.map +0 -1
  1391. package/dist/collection/udp-utilities/interfaces/searchObject.js.map +0 -1
  1392. package/dist/collection/udp-utilities/layout/breakpoints/breakpoints.js.map +0 -1
  1393. package/dist/collection/udp-utilities/layout/breakpoints/useMatchBreakpoint.js.map +0 -1
  1394. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js.map +0 -1
  1395. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js.map +0 -1
  1396. package/dist/collection/udp-utilities/search/SearchBuilder.js.map +0 -1
  1397. package/dist/collection/udp-utilities/search/index.js.map +0 -1
  1398. package/dist/collection/udp-utilities/string-utilities.js.map +0 -1
  1399. package/dist/collection/udp-utilities/tenant/tenantUtils.js.map +0 -1
  1400. package/dist/collection/udp-utilities/unity-session-storage.js.map +0 -1
  1401. package/dist/collection/udp-utilities/user/getUserId.js.map +0 -1
  1402. package/dist/components/SearchBuilder.js.map +0 -1
  1403. package/dist/components/action-column-util.js.map +0 -1
  1404. package/dist/components/add-map-feature-popup.js.map +0 -1
  1405. package/dist/components/add-map-feature-popup2.js.map +0 -1
  1406. package/dist/components/advanced-search-builder.js.map +0 -1
  1407. package/dist/components/advanced-search-builder2.js.map +0 -1
  1408. package/dist/components/advanced-search-grouped.js.map +0 -1
  1409. package/dist/components/advanced-search-grouped2.js.map +0 -1
  1410. package/dist/components/advanced-search.js.map +0 -1
  1411. package/dist/components/advanced-search2.js.map +0 -1
  1412. package/dist/components/ag-grid-base.js.map +0 -1
  1413. package/dist/components/ag-grid-base2.js.map +0 -1
  1414. package/dist/components/ag-table.js.map +0 -1
  1415. package/dist/components/ag-table2.js.map +0 -1
  1416. package/dist/components/ambient-template-grid.js.map +0 -1
  1417. package/dist/components/api-method-instance-grid.js.map +0 -1
  1418. package/dist/components/apiUtils.js.map +0 -1
  1419. package/dist/components/app-bar.js.map +0 -1
  1420. package/dist/components/catalog-store.js.map +0 -1
  1421. package/dist/components/chart-container.js.map +0 -1
  1422. package/dist/components/chart-container2.js.map +0 -1
  1423. package/dist/components/chart-kpi.js.map +0 -1
  1424. package/dist/components/chart-kpi2.js.map +0 -1
  1425. package/dist/components/chartUtils.js.map +0 -1
  1426. package/dist/components/check-box-group.js.map +0 -1
  1427. package/dist/components/check-box-group2.js.map +0 -1
  1428. package/dist/components/check-box.js.map +0 -1
  1429. package/dist/components/chip-section.js.map +0 -1
  1430. package/dist/components/client-side-grid.js.map +0 -1
  1431. package/dist/components/client-side-grid2.js.map +0 -1
  1432. package/dist/components/common.js.map +0 -1
  1433. package/dist/components/configService.js.map +0 -1
  1434. package/dist/components/conversionFunctions.js.map +0 -1
  1435. package/dist/components/custom-button.js.map +0 -1
  1436. package/dist/components/custom-button2.js.map +0 -1
  1437. package/dist/components/date-time-renderer.js.map +0 -1
  1438. package/dist/components/date-time-renderer2.js.map +0 -1
  1439. package/dist/components/edit-view-form-dialog.js.map +0 -1
  1440. package/dist/components/edit-view-form.js.map +0 -1
  1441. package/dist/components/entity-maintenance-grid.js.map +0 -1
  1442. package/dist/components/enums.js.map +0 -1
  1443. package/dist/components/feature-details-card.js.map +0 -1
  1444. package/dist/components/feature-details-card2.js.map +0 -1
  1445. package/dist/components/feature-details-popup.js.map +0 -1
  1446. package/dist/components/feature-details-popup2.js.map +0 -1
  1447. package/dist/components/file-upload-renderer.js.map +0 -1
  1448. package/dist/components/file-upload-renderer2.js.map +0 -1
  1449. package/dist/components/file-upload.js.map +0 -1
  1450. package/dist/components/file-upload2.js.map +0 -1
  1451. package/dist/components/filter-conditions.js.map +0 -1
  1452. package/dist/components/filter-conditions2.js.map +0 -1
  1453. package/dist/components/filter-group.js.map +0 -1
  1454. package/dist/components/filter-group2.js.map +0 -1
  1455. package/dist/components/fluent-dialog.js.map +0 -1
  1456. package/dist/components/fluent-dialog2.js.map +0 -1
  1457. package/dist/components/forms-builder-utils.js.map +0 -1
  1458. package/dist/components/ghost-render.js.map +0 -1
  1459. package/dist/components/ghost-render2.js.map +0 -1
  1460. package/dist/components/grid-header.js.map +0 -1
  1461. package/dist/components/grid-header2.js.map +0 -1
  1462. package/dist/components/grid-primary-bar.js.map +0 -1
  1463. package/dist/components/grid-primary-bar2.js.map +0 -1
  1464. package/dist/components/hint-panel.js.map +0 -1
  1465. package/dist/components/hint-panel2.js.map +0 -1
  1466. package/dist/components/image-upload.js.map +0 -1
  1467. package/dist/components/image-upload2.js.map +0 -1
  1468. package/dist/components/index.js.map +0 -1
  1469. package/dist/components/index2.js.map +0 -1
  1470. package/dist/components/kpi-list.js.map +0 -1
  1471. package/dist/components/kpi-list2.js.map +0 -1
  1472. package/dist/components/list-item.js.map +0 -1
  1473. package/dist/components/list-options-renderer.js.map +0 -1
  1474. package/dist/components/list-options-renderer2.js.map +0 -1
  1475. package/dist/components/logical-search-indicator.js.map +0 -1
  1476. package/dist/components/makeApiCall.js.map +0 -1
  1477. package/dist/components/map-component.js.map +0 -1
  1478. package/dist/components/map-component2.js.map +0 -1
  1479. package/dist/components/map-interactions.js.map +0 -1
  1480. package/dist/components/map-toolbar.js.map +0 -1
  1481. package/dist/components/map-toolbar2.js.map +0 -1
  1482. package/dist/components/numeric-field.js.map +0 -1
  1483. package/dist/components/numeric-field2.js.map +0 -1
  1484. package/dist/components/primary-action-header.js.map +0 -1
  1485. package/dist/components/primary-action-header2.js.map +0 -1
  1486. package/dist/components/question-configs-renderer.js.map +0 -1
  1487. package/dist/components/question-configs-renderer2.js.map +0 -1
  1488. package/dist/components/question-specific-configs-renderer.js.map +0 -1
  1489. package/dist/components/question-specific-configs-renderer2.js.map +0 -1
  1490. package/dist/components/resource-timeline-calendar.js.map +0 -1
  1491. package/dist/components/resource-timeline-primary-bar.js.map +0 -1
  1492. package/dist/components/resource-timeline-primary-bar2.js.map +0 -1
  1493. package/dist/components/save-view-form-dialog.js.map +0 -1
  1494. package/dist/components/save-view-form.js.map +0 -1
  1495. package/dist/components/search-list-item.js.map +0 -1
  1496. package/dist/components/search-list-item2.js.map +0 -1
  1497. package/dist/components/search-method-grid.js.map +0 -1
  1498. package/dist/components/search-method-grid2.js.map +0 -1
  1499. package/dist/components/section-configs-renderer.js.map +0 -1
  1500. package/dist/components/section-configs-renderer2.js.map +0 -1
  1501. package/dist/components/select-layer-popup.js.map +0 -1
  1502. package/dist/components/select-layer-popup2.js.map +0 -1
  1503. package/dist/components/selectable-list.js.map +0 -1
  1504. package/dist/components/selectable-list2.js.map +0 -1
  1505. package/dist/components/server-side-grid.js.map +0 -1
  1506. package/dist/components/server-side-grid2.js.map +0 -1
  1507. package/dist/components/side-sheet-container.js.map +0 -1
  1508. package/dist/components/side-sheet-container2.js.map +0 -1
  1509. package/dist/components/side-sheet.js.map +0 -1
  1510. package/dist/components/side-sheet2.js.map +0 -1
  1511. package/dist/components/signature-input.js.map +0 -1
  1512. package/dist/components/signature-input2.js.map +0 -1
  1513. package/dist/components/signature-renderer.js.map +0 -1
  1514. package/dist/components/signature-renderer2.js.map +0 -1
  1515. package/dist/components/simple-card.js.map +0 -1
  1516. package/dist/components/split-line-popup.js.map +0 -1
  1517. package/dist/components/split-line-popup2.js.map +0 -1
  1518. package/dist/components/status-chip.js.map +0 -1
  1519. package/dist/components/status-chip2.js.map +0 -1
  1520. package/dist/components/status-renderer.js.map +0 -1
  1521. package/dist/components/stencil-chip.js.map +0 -1
  1522. package/dist/components/stencil-chip2.js.map +0 -1
  1523. package/dist/components/stencil-field.js.map +0 -1
  1524. package/dist/components/stencil-field2.js.map +0 -1
  1525. package/dist/components/stencil-form.js.map +0 -1
  1526. package/dist/components/stencil-form2.js.map +0 -1
  1527. package/dist/components/stencil-icon-button-grid-action-header.js.map +0 -1
  1528. package/dist/components/stencil-icon-button-grid-action-header2.js.map +0 -1
  1529. package/dist/components/stencil-icon-button.js.map +0 -1
  1530. package/dist/components/stencil-icon-button2.js.map +0 -1
  1531. package/dist/components/stencil-toggle.js.map +0 -1
  1532. package/dist/components/stencil-toggle2.js.map +0 -1
  1533. package/dist/components/tally-display.js.map +0 -1
  1534. package/dist/components/tally.js.map +0 -1
  1535. package/dist/components/tenantUtils.js.map +0 -1
  1536. package/dist/components/text-area.js.map +0 -1
  1537. package/dist/components/text-area2.js.map +0 -1
  1538. package/dist/components/text-field.js.map +0 -1
  1539. package/dist/components/text-field2.js.map +0 -1
  1540. package/dist/components/text-input-renderer.js.map +0 -1
  1541. package/dist/components/text-input-renderer2.js.map +0 -1
  1542. package/dist/components/transformSearchData.js.map +0 -1
  1543. package/dist/components/tree-list-item.js.map +0 -1
  1544. package/dist/components/tree-list-item2.js.map +0 -1
  1545. package/dist/components/udp-adornment.js.map +0 -1
  1546. package/dist/components/udp-adornment2.js.map +0 -1
  1547. package/dist/components/udp-advanced-search-builder.js.map +0 -1
  1548. package/dist/components/udp-ambient-card.js.map +0 -1
  1549. package/dist/components/udp-ambient-card2.js.map +0 -1
  1550. package/dist/components/udp-ambient-tool-tip.js.map +0 -1
  1551. package/dist/components/udp-ambient-tool-tip2.js.map +0 -1
  1552. package/dist/components/udp-attachment-item.js.map +0 -1
  1553. package/dist/components/udp-attachment-item2.js.map +0 -1
  1554. package/dist/components/udp-attachment-list.js.map +0 -1
  1555. package/dist/components/udp-avatar.js.map +0 -1
  1556. package/dist/components/udp-avatar2.js.map +0 -1
  1557. package/dist/components/udp-badge.js.map +0 -1
  1558. package/dist/components/udp-badge2.js.map +0 -1
  1559. package/dist/components/udp-bar-chart.js.map +0 -1
  1560. package/dist/components/udp-bar-chart2.js.map +0 -1
  1561. package/dist/components/udp-button.js.map +0 -1
  1562. package/dist/components/udp-button2.js.map +0 -1
  1563. package/dist/components/udp-calendar-base.js.map +0 -1
  1564. package/dist/components/udp-calendar-base2.js.map +0 -1
  1565. package/dist/components/udp-calendar-day.js.map +0 -1
  1566. package/dist/components/udp-calendar-month.js.map +0 -1
  1567. package/dist/components/udp-calendar-week.js.map +0 -1
  1568. package/dist/components/udp-calendar-year.js.map +0 -1
  1569. package/dist/components/udp-card-action-area.js.map +0 -1
  1570. package/dist/components/udp-card-actions.js.map +0 -1
  1571. package/dist/components/udp-card-actions2.js.map +0 -1
  1572. package/dist/components/udp-card-content.js.map +0 -1
  1573. package/dist/components/udp-card-content2.js.map +0 -1
  1574. package/dist/components/udp-card-header.js.map +0 -1
  1575. package/dist/components/udp-card-header2.js.map +0 -1
  1576. package/dist/components/udp-card-media.js.map +0 -1
  1577. package/dist/components/udp-card-media2.js.map +0 -1
  1578. package/dist/components/udp-card.js.map +0 -1
  1579. package/dist/components/udp-card2.js.map +0 -1
  1580. package/dist/components/udp-charts-example.js.map +0 -1
  1581. package/dist/components/udp-chip.js.map +0 -1
  1582. package/dist/components/udp-chip2.js.map +0 -1
  1583. package/dist/components/udp-column-header.js.map +0 -1
  1584. package/dist/components/udp-column-header2.js.map +0 -1
  1585. package/dist/components/udp-container-query-grid-item.js.map +0 -1
  1586. package/dist/components/udp-container-query-grid.js.map +0 -1
  1587. package/dist/components/udp-container-query.js.map +0 -1
  1588. package/dist/components/udp-container-query2.js.map +0 -1
  1589. package/dist/components/udp-container.js.map +0 -1
  1590. package/dist/components/udp-container2.js.map +0 -1
  1591. package/dist/components/udp-date-range-selector.js.map +0 -1
  1592. package/dist/components/udp-date-selector.js.map +0 -1
  1593. package/dist/components/udp-date-selector2.js.map +0 -1
  1594. package/dist/components/udp-datetime-selector.js.map +0 -1
  1595. package/dist/components/udp-datetime-selector2.js.map +0 -1
  1596. package/dist/components/udp-dialog.js.map +0 -1
  1597. package/dist/components/udp-dialog2.js.map +0 -1
  1598. package/dist/components/udp-distribution-chart.js.map +0 -1
  1599. package/dist/components/udp-distribution-chart2.js.map +0 -1
  1600. package/dist/components/udp-divider.js.map +0 -1
  1601. package/dist/components/udp-divider2.js.map +0 -1
  1602. package/dist/components/udp-donut-chart.js.map +0 -1
  1603. package/dist/components/udp-donut-chart2.js.map +0 -1
  1604. package/dist/components/udp-drive-utils.js.map +0 -1
  1605. package/dist/components/udp-dynamic-container-with-menu.js.map +0 -1
  1606. package/dist/components/udp-dynamic-container-with-menu2.js.map +0 -1
  1607. package/dist/components/udp-dynamic-form.js.map +0 -1
  1608. package/dist/components/udp-empty-state-display.js.map +0 -1
  1609. package/dist/components/udp-empty-state-display2.js.map +0 -1
  1610. package/dist/components/udp-form-api-utils.js.map +0 -1
  1611. package/dist/components/udp-forms-builder-menu.js.map +0 -1
  1612. package/dist/components/udp-forms-builder-menu2.js.map +0 -1
  1613. package/dist/components/udp-forms-builder-question-item.js.map +0 -1
  1614. package/dist/components/udp-forms-builder-question-item2.js.map +0 -1
  1615. package/dist/components/udp-forms-builder-style-override.js.map +0 -1
  1616. package/dist/components/udp-forms-builder.js.map +0 -1
  1617. package/dist/components/udp-forms-follow-up-list-card.js.map +0 -1
  1618. package/dist/components/udp-forms-list-card.js.map +0 -1
  1619. package/dist/components/udp-forms-list-card2.js.map +0 -1
  1620. package/dist/components/udp-forms-list.js.map +0 -1
  1621. package/dist/components/udp-forms-renderer.js.map +0 -1
  1622. package/dist/components/udp-forms-ui.js.map +0 -1
  1623. package/dist/components/udp-forms-ui2.js.map +0 -1
  1624. package/dist/components/udp-function-button.js.map +0 -1
  1625. package/dist/components/udp-function-button2.js.map +0 -1
  1626. package/dist/components/udp-grid-loader.js.map +0 -1
  1627. package/dist/components/udp-grid-loader2.js.map +0 -1
  1628. package/dist/components/udp-hotlist-form.js.map +0 -1
  1629. package/dist/components/udp-hotlist-form2.js.map +0 -1
  1630. package/dist/components/udp-icon-button.js.map +0 -1
  1631. package/dist/components/udp-icon-button2.js.map +0 -1
  1632. package/dist/components/udp-icon.js.map +0 -1
  1633. package/dist/components/udp-icon2.js.map +0 -1
  1634. package/dist/components/udp-kpi-card.js.map +0 -1
  1635. package/dist/components/udp-kpi-card2.js.map +0 -1
  1636. package/dist/components/udp-kpi-cards.js.map +0 -1
  1637. package/dist/components/udp-line-chart.js.map +0 -1
  1638. package/dist/components/udp-line-chart2.js.map +0 -1
  1639. package/dist/components/udp-linear-loader.js.map +0 -1
  1640. package/dist/components/udp-linear-loader2.js.map +0 -1
  1641. package/dist/components/udp-link.js.map +0 -1
  1642. package/dist/components/udp-link2.js.map +0 -1
  1643. package/dist/components/udp-list-item.js.map +0 -1
  1644. package/dist/components/udp-list-renderer.js.map +0 -1
  1645. package/dist/components/udp-list-renderer2.js.map +0 -1
  1646. package/dist/components/udp-map-toolbar.js.map +0 -1
  1647. package/dist/components/udp-map-toolbar2.js.map +0 -1
  1648. package/dist/components/udp-map-utils.js.map +0 -1
  1649. package/dist/components/udp-map.js.map +0 -1
  1650. package/dist/components/udp-menu-item.js.map +0 -1
  1651. package/dist/components/udp-menu-item2.js.map +0 -1
  1652. package/dist/components/udp-menu.js.map +0 -1
  1653. package/dist/components/udp-menu2.js.map +0 -1
  1654. package/dist/components/udp-notification.js.map +0 -1
  1655. package/dist/components/udp-notification2.js.map +0 -1
  1656. package/dist/components/udp-page-header.js.map +0 -1
  1657. package/dist/components/udp-page-header2.js.map +0 -1
  1658. package/dist/components/udp-page.js.map +0 -1
  1659. package/dist/components/udp-pagination.js.map +0 -1
  1660. package/dist/components/udp-pagination2.js.map +0 -1
  1661. package/dist/components/udp-pop-over-grid-action-header.js.map +0 -1
  1662. package/dist/components/udp-pop-over-grid-action-header2.js.map +0 -1
  1663. package/dist/components/udp-pop-over.js.map +0 -1
  1664. package/dist/components/udp-pop-over2.js.map +0 -1
  1665. package/dist/components/udp-question-comments.js.map +0 -1
  1666. package/dist/components/udp-question-comments2.js.map +0 -1
  1667. package/dist/components/udp-question.js.map +0 -1
  1668. package/dist/components/udp-question2.js.map +0 -1
  1669. package/dist/components/udp-radio-button.js.map +0 -1
  1670. package/dist/components/udp-radio-button2.js.map +0 -1
  1671. package/dist/components/udp-sankey-chart.js.map +0 -1
  1672. package/dist/components/udp-save-draft-button.js.map +0 -1
  1673. package/dist/components/udp-save-draft-button2.js.map +0 -1
  1674. package/dist/components/udp-selector.js.map +0 -1
  1675. package/dist/components/udp-selector2.js.map +0 -1
  1676. package/dist/components/udp-side-sheet.js.map +0 -1
  1677. package/dist/components/udp-side-sheet2.js.map +0 -1
  1678. package/dist/components/udp-skeleton-loading.js.map +0 -1
  1679. package/dist/components/udp-skeleton-loading2.js.map +0 -1
  1680. package/dist/components/udp-split-screen.js.map +0 -1
  1681. package/dist/components/udp-stepper-demo.js.map +0 -1
  1682. package/dist/components/udp-stepper.js.map +0 -1
  1683. package/dist/components/udp-stepper2.js.map +0 -1
  1684. package/dist/components/udp-tab-panel.js.map +0 -1
  1685. package/dist/components/udp-tab.js.map +0 -1
  1686. package/dist/components/udp-tabs.js.map +0 -1
  1687. package/dist/components/udp-tabs2.js.map +0 -1
  1688. package/dist/components/udp-time-selector.js.map +0 -1
  1689. package/dist/components/udp-time-selector2.js.map +0 -1
  1690. package/dist/components/udp-timeline-connector.js.map +0 -1
  1691. package/dist/components/udp-timeline-dot.js.map +0 -1
  1692. package/dist/components/udp-timeline-item.js.map +0 -1
  1693. package/dist/components/udp-timeline-separator.js.map +0 -1
  1694. package/dist/components/udp-timeline.js.map +0 -1
  1695. package/dist/components/udp-vertical-spacer.js.map +0 -1
  1696. package/dist/components/udp-xy-chart.js.map +0 -1
  1697. package/dist/components/udp-xy-chart2.js.map +0 -1
  1698. package/dist/components/udp-xy-multi-series-chart.js.map +0 -1
  1699. package/dist/components/unity-typography.js.map +0 -1
  1700. package/dist/components/unity-typography2.js.map +0 -1
  1701. package/dist/components/upd-alert-banner.js.map +0 -1
  1702. package/dist/components/upd-alert-banner2.js.map +0 -1
  1703. package/dist/components/useFormApi.js.map +0 -1
  1704. package/dist/components/utils.js.map +0 -1
  1705. package/dist/components/validation-chip.js.map +0 -1
  1706. package/dist/components/validation-chip2.js.map +0 -1
  1707. package/dist/esm/SearchBuilder-CvKqGlUH.js.map +0 -1
  1708. package/dist/esm/action-column-util-DUK_9dnF.js.map +0 -1
  1709. package/dist/esm/add-map-feature-popup.map-toolbar.select-layer-popup.split-line-popup.entry.js.map +0 -1
  1710. package/dist/esm/advanced-search-builder.entry.js.map +0 -1
  1711. package/dist/esm/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.js.map +0 -1
  1712. package/dist/esm/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.js.map +0 -1
  1713. package/dist/esm/ambient-template-grid.entry.js.map +0 -1
  1714. package/dist/esm/api-method-instance-grid.entry.js.map +0 -1
  1715. package/dist/esm/apiUtils-cUHs50y0.js.map +0 -1
  1716. package/dist/esm/app-bar.entry.js.map +0 -1
  1717. package/dist/esm/catalog-store-BhgNAUY6.js.map +0 -1
  1718. package/dist/esm/chart-container.chart-kpi.udp-ambient-card.entry.js.map +0 -1
  1719. package/dist/esm/chartUtils-DFIyEsL1.js.map +0 -1
  1720. package/dist/esm/check-box-group.entry.js.map +0 -1
  1721. package/dist/esm/check-box.entry.js.map +0 -1
  1722. package/dist/esm/chip-section.entry.js.map +0 -1
  1723. package/dist/esm/client-side-grid.resource-timeline-primary-bar.entry.js.map +0 -1
  1724. package/dist/esm/common-CwN0FuAf.js.map +0 -1
  1725. package/dist/esm/configService-BqLfkVKh.js.map +0 -1
  1726. package/dist/esm/configureUdpColumnMods-CoCTzhve.js.map +0 -1
  1727. package/dist/esm/conversionFunctions-CNWYTvRs.js.map +0 -1
  1728. package/dist/esm/currency-renderer-D6zBtP2s.js.map +0 -1
  1729. package/dist/esm/custom-button.entry.js.map +0 -1
  1730. package/dist/esm/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.js.map +0 -1
  1731. package/dist/esm/entity-maintenance-grid.entry.js.map +0 -1
  1732. package/dist/esm/enums-BnKmfKJT.js.map +0 -1
  1733. package/dist/esm/feature-details-card.feature-details-popup.entry.js.map +0 -1
  1734. package/dist/esm/file-upload.selectable-list.stencil-field.entry.js.map +0 -1
  1735. package/dist/esm/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.js.map +0 -1
  1736. package/dist/esm/filter-group.validation-chip.entry.js.map +0 -1
  1737. package/dist/esm/fluent-dialog.entry.js.map +0 -1
  1738. package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js.map +0 -1
  1739. package/dist/esm/iconMapping-CPerGeNF.js.map +0 -1
  1740. package/dist/esm/iconUtils-DcPvHO4A.js.map +0 -1
  1741. package/dist/esm/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.js.map +0 -1
  1742. package/dist/esm/index-CaZq3YdB.js.map +0 -1
  1743. package/dist/esm/index.js.map +0 -1
  1744. package/dist/esm/loader.js.map +0 -1
  1745. package/dist/esm/logical-search-indicator.entry.js.map +0 -1
  1746. package/dist/esm/makeApiCall-B-daVutk.js.map +0 -1
  1747. package/dist/esm/map-component.udp-map-toolbar.entry.js.map +0 -1
  1748. package/dist/esm/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.js.map +0 -1
  1749. package/dist/esm/primary-action-header.udp-side-sheet.udp-tabs.entry.js.map +0 -1
  1750. package/dist/esm/primary-action-header_3.entry.js +0 -642
  1751. package/dist/esm/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.js.map +0 -1
  1752. package/dist/esm/resource-timeline-calendar.entry.js.map +0 -1
  1753. package/dist/esm/search-method-grid.entry.js.map +0 -1
  1754. package/dist/esm/server-side-grid.entry.js.map +0 -1
  1755. package/dist/esm/side-sheet-container.entry.js.map +0 -1
  1756. package/dist/esm/simple-card.entry.js.map +0 -1
  1757. package/dist/esm/status-chip.udp-function-button.entry.js.map +0 -1
  1758. package/dist/esm/stencil-chip.entry.js.map +0 -1
  1759. package/dist/esm/stencil-icon-button-grid-action-header.entry.js.map +0 -1
  1760. package/dist/esm/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.js.map +0 -1
  1761. package/dist/esm/stencil-library.js.map +0 -1
  1762. package/dist/esm/stencil-toggle.entry.js.map +0 -1
  1763. package/dist/esm/tenantUtils-Basdb1b1.js.map +0 -1
  1764. package/dist/esm/text-field.udp-selector.entry.js.map +0 -1
  1765. package/dist/esm/transformSearchData-DBjFnXu6.js.map +0 -1
  1766. package/dist/esm/udp-adornment.entry.js.map +0 -1
  1767. package/dist/esm/udp-advanced-search-builder.entry.js.map +0 -1
  1768. package/dist/esm/udp-attachment-item.udp-empty-state-display.entry.js.map +0 -1
  1769. package/dist/esm/udp-attachment-list.entry.js.map +0 -1
  1770. package/dist/esm/udp-avatar.entry.js.map +0 -1
  1771. package/dist/esm/udp-bar-chart.udp-distribution-chart.udp-donut-chart.udp-line-chart.entry.js.map +0 -1
  1772. package/dist/esm/udp-button.entry.js.map +0 -1
  1773. package/dist/esm/udp-calendar-base.entry.js.map +0 -1
  1774. package/dist/esm/udp-calendar-day.entry.js.map +0 -1
  1775. package/dist/esm/udp-calendar-month.entry.js.map +0 -1
  1776. package/dist/esm/udp-calendar-week.entry.js.map +0 -1
  1777. package/dist/esm/udp-calendar-year.entry.js.map +0 -1
  1778. package/dist/esm/udp-card-action-area.entry.js.map +0 -1
  1779. package/dist/esm/udp-card.udp-card-actions.udp-card-content.udp-card-header.udp-card-media.udp-link.entry.js.map +0 -1
  1780. package/dist/esm/udp-charts-example.entry.js.map +0 -1
  1781. package/dist/esm/udp-chip.udp-icon-button.udp-menu.entry.js.map +0 -1
  1782. package/dist/esm/udp-container-query-grid-item.entry.js.map +0 -1
  1783. package/dist/esm/udp-container-query-grid.entry.js.map +0 -1
  1784. package/dist/esm/udp-container-query.entry.js.map +0 -1
  1785. package/dist/esm/udp-container.udp-linear-loader.entry.js.map +0 -1
  1786. package/dist/esm/udp-container_2.entry.js +0 -53
  1787. package/dist/esm/udp-date-range-selector.entry.js.map +0 -1
  1788. package/dist/esm/udp-divider.entry.js.map +0 -1
  1789. package/dist/esm/udp-drive-utils-CIrjVGiJ.js.map +0 -1
  1790. package/dist/esm/udp-dynamic-container-with-menu.entry.js.map +0 -1
  1791. package/dist/esm/udp-dynamic-form.entry.js.map +0 -1
  1792. package/dist/esm/udp-form-api-utils-vPSYCvIA.js.map +0 -1
  1793. package/dist/esm/udp-forms-builder-question-template-C60LMUS4.js.map +0 -1
  1794. package/dist/esm/udp-forms-builder-style-override.entry.js.map +0 -1
  1795. package/dist/esm/udp-forms-builder.entry.js.map +0 -1
  1796. package/dist/esm/udp-forms-follow-up-list-card.entry.js.map +0 -1
  1797. package/dist/esm/udp-forms-list-card.entry.js.map +0 -1
  1798. package/dist/esm/udp-forms-list.entry.js.map +0 -1
  1799. package/dist/esm/udp-forms-renderer.entry.js.map +0 -1
  1800. package/dist/esm/udp-forms-ui.entry.js.map +0 -1
  1801. package/dist/esm/udp-icon.entry.js.map +0 -1
  1802. package/dist/esm/udp-kpi-card.entry.js.map +0 -1
  1803. package/dist/esm/udp-kpi-cards.entry.js.map +0 -1
  1804. package/dist/esm/udp-list-renderer.udp-pagination.entry.js.map +0 -1
  1805. package/dist/esm/udp-map-utils-DNAUNI5U.js.map +0 -1
  1806. package/dist/esm/udp-map.entry.js.map +0 -1
  1807. package/dist/esm/udp-menu-item.entry.js +0 -25
  1808. package/dist/esm/udp-menu-item.entry.js.map +0 -1
  1809. package/dist/esm/udp-page.entry.js.map +0 -1
  1810. package/dist/esm/udp-pop-over.entry.js.map +0 -1
  1811. package/dist/esm/udp-sankey-chart.entry.js.map +0 -1
  1812. package/dist/esm/udp-skeleton-loading.entry.js.map +0 -1
  1813. package/dist/esm/udp-split-screen.entry.js.map +0 -1
  1814. package/dist/esm/udp-stepper-demo.entry.js.map +0 -1
  1815. package/dist/esm/udp-stepper.entry.js.map +0 -1
  1816. package/dist/esm/udp-tab-panel.entry.js.map +0 -1
  1817. package/dist/esm/udp-tab.entry.js.map +0 -1
  1818. package/dist/esm/udp-timeline-connector.entry.js.map +0 -1
  1819. package/dist/esm/udp-timeline-dot.entry.js.map +0 -1
  1820. package/dist/esm/udp-timeline-item.entry.js.map +0 -1
  1821. package/dist/esm/udp-timeline-separator.entry.js.map +0 -1
  1822. package/dist/esm/udp-timeline.entry.js.map +0 -1
  1823. package/dist/esm/udp-vertical-spacer.entry.js.map +0 -1
  1824. package/dist/esm/udp-xy-chart.entry.js.map +0 -1
  1825. package/dist/esm/udp-xy-multi-series-chart.entry.js.map +0 -1
  1826. package/dist/esm/udpFieldHelper-qPBcfmrH.js.map +0 -1
  1827. package/dist/esm/udpOperatorHelper-BsvDrT81.js.map +0 -1
  1828. package/dist/esm/unity-typography.entry.js.map +0 -1
  1829. package/dist/esm/utils-CiUp9KGZ.js.map +0 -1
  1830. package/dist/stencil-library/SearchBuilder-CvKqGlUH.js.map +0 -1
  1831. package/dist/stencil-library/action-column-util-DUK_9dnF.js.map +0 -1
  1832. package/dist/stencil-library/add-map-feature-popup.map-toolbar.select-layer-popup.split-line-popup.entry.esm.js.map +0 -1
  1833. package/dist/stencil-library/add-map-feature-popup_4.entry.js.map +0 -1
  1834. package/dist/stencil-library/advanced-search-builder.entry.esm.js.map +0 -1
  1835. package/dist/stencil-library/advanced-search-builder.entry.js.map +0 -1
  1836. package/dist/stencil-library/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.esm.js.map +0 -1
  1837. package/dist/stencil-library/advanced-search_12.entry.js.map +0 -1
  1838. package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.esm.js.map +0 -1
  1839. package/dist/stencil-library/ag-grid-base_6.entry.js.map +0 -1
  1840. package/dist/stencil-library/ambient-template-grid.entry.esm.js.map +0 -1
  1841. package/dist/stencil-library/ambient-template-grid.entry.js.map +0 -1
  1842. package/dist/stencil-library/api-method-instance-grid.entry.esm.js.map +0 -1
  1843. package/dist/stencil-library/api-method-instance-grid.entry.js.map +0 -1
  1844. package/dist/stencil-library/apiUtils-cUHs50y0.js.map +0 -1
  1845. package/dist/stencil-library/app-bar.entry.esm.js.map +0 -1
  1846. package/dist/stencil-library/app-bar.entry.js.map +0 -1
  1847. package/dist/stencil-library/catalog-store-BhgNAUY6.js.map +0 -1
  1848. package/dist/stencil-library/chart-container.chart-kpi.udp-ambient-card.entry.esm.js.map +0 -1
  1849. package/dist/stencil-library/chart-container_3.entry.js.map +0 -1
  1850. package/dist/stencil-library/chartUtils-DFIyEsL1.js.map +0 -1
  1851. package/dist/stencil-library/check-box-group.entry.esm.js.map +0 -1
  1852. package/dist/stencil-library/check-box-group.entry.js.map +0 -1
  1853. package/dist/stencil-library/check-box.entry.esm.js.map +0 -1
  1854. package/dist/stencil-library/check-box.entry.js.map +0 -1
  1855. package/dist/stencil-library/chip-section.entry.esm.js.map +0 -1
  1856. package/dist/stencil-library/chip-section.entry.js.map +0 -1
  1857. package/dist/stencil-library/client-side-grid.resource-timeline-primary-bar.entry.esm.js.map +0 -1
  1858. package/dist/stencil-library/client-side-grid_2.entry.js.map +0 -1
  1859. package/dist/stencil-library/common-CwN0FuAf.js.map +0 -1
  1860. package/dist/stencil-library/configService-BqLfkVKh.js.map +0 -1
  1861. package/dist/stencil-library/configureUdpColumnMods-CoCTzhve.js.map +0 -1
  1862. package/dist/stencil-library/conversionFunctions-CNWYTvRs.js.map +0 -1
  1863. package/dist/stencil-library/currency-renderer-D6zBtP2s.js.map +0 -1
  1864. package/dist/stencil-library/custom-button.entry.esm.js.map +0 -1
  1865. package/dist/stencil-library/custom-button.entry.js.map +0 -1
  1866. package/dist/stencil-library/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.esm.js.map +0 -1
  1867. package/dist/stencil-library/date-time-renderer_6.entry.js +0 -2
  1868. package/dist/stencil-library/date-time-renderer_6.entry.js.map +0 -1
  1869. package/dist/stencil-library/entity-maintenance-grid.entry.esm.js.map +0 -1
  1870. package/dist/stencil-library/entity-maintenance-grid.entry.js.map +0 -1
  1871. package/dist/stencil-library/enums-BnKmfKJT.js +0 -2
  1872. package/dist/stencil-library/enums-BnKmfKJT.js.map +0 -1
  1873. package/dist/stencil-library/feature-details-card.feature-details-popup.entry.esm.js.map +0 -1
  1874. package/dist/stencil-library/feature-details-card_2.entry.js.map +0 -1
  1875. package/dist/stencil-library/file-upload.selectable-list.stencil-field.entry.esm.js.map +0 -1
  1876. package/dist/stencil-library/file-upload_3.entry.js.map +0 -1
  1877. package/dist/stencil-library/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.esm.js.map +0 -1
  1878. package/dist/stencil-library/filter-conditions_7.entry.js.map +0 -1
  1879. package/dist/stencil-library/filter-group.validation-chip.entry.esm.js.map +0 -1
  1880. package/dist/stencil-library/filter-group_2.entry.js.map +0 -1
  1881. package/dist/stencil-library/fluent-dialog.entry.esm.js.map +0 -1
  1882. package/dist/stencil-library/fluent-dialog.entry.js.map +0 -1
  1883. package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js.map +0 -1
  1884. package/dist/stencil-library/iconMapping-CPerGeNF.js.map +0 -1
  1885. package/dist/stencil-library/iconUtils-DcPvHO4A.js.map +0 -1
  1886. package/dist/stencil-library/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.esm.js.map +0 -1
  1887. package/dist/stencil-library/image-upload_7.entry.js +0 -2
  1888. package/dist/stencil-library/image-upload_7.entry.js.map +0 -1
  1889. package/dist/stencil-library/index-CaZq3YdB.js +0 -3
  1890. package/dist/stencil-library/index-CaZq3YdB.js.map +0 -1
  1891. package/dist/stencil-library/index.esm.js.map +0 -1
  1892. package/dist/stencil-library/loader.esm.js.map +0 -1
  1893. package/dist/stencil-library/logical-search-indicator.entry.esm.js.map +0 -1
  1894. package/dist/stencil-library/logical-search-indicator.entry.js.map +0 -1
  1895. package/dist/stencil-library/makeApiCall-B-daVutk.js.map +0 -1
  1896. package/dist/stencil-library/map-component.udp-map-toolbar.entry.esm.js.map +0 -1
  1897. package/dist/stencil-library/map-component_2.entry.js.map +0 -1
  1898. package/dist/stencil-library/numeric-field.text-area.udp-date-selector.udp-datetime-selector.udp-time-selector.entry.esm.js.map +0 -1
  1899. package/dist/stencil-library/numeric-field_5.entry.js.map +0 -1
  1900. package/dist/stencil-library/primary-action-header.udp-side-sheet.udp-tabs.entry.esm.js.map +0 -1
  1901. package/dist/stencil-library/primary-action-header_3.entry.js +0 -2
  1902. package/dist/stencil-library/primary-action-header_3.entry.js.map +0 -1
  1903. package/dist/stencil-library/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.esm.js.map +0 -1
  1904. package/dist/stencil-library/question-configs-renderer_4.entry.js.map +0 -1
  1905. package/dist/stencil-library/resource-timeline-calendar.entry.esm.js.map +0 -1
  1906. package/dist/stencil-library/resource-timeline-calendar.entry.js.map +0 -1
  1907. package/dist/stencil-library/search-method-grid.entry.esm.js.map +0 -1
  1908. package/dist/stencil-library/search-method-grid.entry.js.map +0 -1
  1909. package/dist/stencil-library/server-side-grid.entry.esm.js.map +0 -1
  1910. package/dist/stencil-library/server-side-grid.entry.js.map +0 -1
  1911. package/dist/stencil-library/side-sheet-container.entry.esm.js.map +0 -1
  1912. package/dist/stencil-library/side-sheet-container.entry.js.map +0 -1
  1913. package/dist/stencil-library/simple-card.entry.esm.js.map +0 -1
  1914. package/dist/stencil-library/simple-card.entry.js.map +0 -1
  1915. package/dist/stencil-library/status-chip.udp-function-button.entry.esm.js.map +0 -1
  1916. package/dist/stencil-library/status-chip_2.entry.js.map +0 -1
  1917. package/dist/stencil-library/stencil-chip.entry.esm.js.map +0 -1
  1918. package/dist/stencil-library/stencil-chip.entry.js.map +0 -1
  1919. package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.esm.js.map +0 -1
  1920. package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.js.map +0 -1
  1921. package/dist/stencil-library/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.esm.js.map +0 -1
  1922. package/dist/stencil-library/stencil-icon-button_3.entry.js.map +0 -1
  1923. package/dist/stencil-library/stencil-library.esm.js.map +0 -1
  1924. package/dist/stencil-library/stencil-toggle.entry.esm.js.map +0 -1
  1925. package/dist/stencil-library/stencil-toggle.entry.js.map +0 -1
  1926. package/dist/stencil-library/tenantUtils-Basdb1b1.js.map +0 -1
  1927. package/dist/stencil-library/text-field.udp-selector.entry.esm.js.map +0 -1
  1928. package/dist/stencil-library/text-field_2.entry.js.map +0 -1
  1929. package/dist/stencil-library/transformSearchData-DBjFnXu6.js.map +0 -1
  1930. package/dist/stencil-library/udp-adornment.entry.esm.js.map +0 -1
  1931. package/dist/stencil-library/udp-adornment.entry.js.map +0 -1
  1932. package/dist/stencil-library/udp-advanced-search-builder.entry.esm.js.map +0 -1
  1933. package/dist/stencil-library/udp-advanced-search-builder.entry.js.map +0 -1
  1934. package/dist/stencil-library/udp-attachment-item.udp-empty-state-display.entry.esm.js.map +0 -1
  1935. package/dist/stencil-library/udp-attachment-item_2.entry.js.map +0 -1
  1936. package/dist/stencil-library/udp-attachment-list.entry.esm.js.map +0 -1
  1937. package/dist/stencil-library/udp-attachment-list.entry.js.map +0 -1
  1938. package/dist/stencil-library/udp-avatar.entry.esm.js.map +0 -1
  1939. package/dist/stencil-library/udp-avatar.entry.js.map +0 -1
  1940. package/dist/stencil-library/udp-bar-chart.udp-distribution-chart.udp-donut-chart.udp-line-chart.entry.esm.js.map +0 -1
  1941. package/dist/stencil-library/udp-bar-chart_4.entry.js.map +0 -1
  1942. package/dist/stencil-library/udp-button.entry.esm.js.map +0 -1
  1943. package/dist/stencil-library/udp-button.entry.js.map +0 -1
  1944. package/dist/stencil-library/udp-calendar-base.entry.esm.js.map +0 -1
  1945. package/dist/stencil-library/udp-calendar-base.entry.js.map +0 -1
  1946. package/dist/stencil-library/udp-calendar-day.entry.esm.js.map +0 -1
  1947. package/dist/stencil-library/udp-calendar-day.entry.js.map +0 -1
  1948. package/dist/stencil-library/udp-calendar-month.entry.esm.js.map +0 -1
  1949. package/dist/stencil-library/udp-calendar-month.entry.js.map +0 -1
  1950. package/dist/stencil-library/udp-calendar-week.entry.esm.js.map +0 -1
  1951. package/dist/stencil-library/udp-calendar-week.entry.js.map +0 -1
  1952. package/dist/stencil-library/udp-calendar-year.entry.esm.js.map +0 -1
  1953. package/dist/stencil-library/udp-calendar-year.entry.js.map +0 -1
  1954. package/dist/stencil-library/udp-card-action-area.entry.esm.js.map +0 -1
  1955. package/dist/stencil-library/udp-card-action-area.entry.js.map +0 -1
  1956. package/dist/stencil-library/udp-card.udp-card-actions.udp-card-content.udp-card-header.udp-card-media.udp-link.entry.esm.js.map +0 -1
  1957. package/dist/stencil-library/udp-card_6.entry.js.map +0 -1
  1958. package/dist/stencil-library/udp-charts-example.entry.esm.js.map +0 -1
  1959. package/dist/stencil-library/udp-charts-example.entry.js.map +0 -1
  1960. package/dist/stencil-library/udp-chip.udp-icon-button.udp-menu.entry.esm.js.map +0 -1
  1961. package/dist/stencil-library/udp-chip_3.entry.js.map +0 -1
  1962. package/dist/stencil-library/udp-container-query-grid-item.entry.esm.js.map +0 -1
  1963. package/dist/stencil-library/udp-container-query-grid-item.entry.js.map +0 -1
  1964. package/dist/stencil-library/udp-container-query-grid.entry.esm.js.map +0 -1
  1965. package/dist/stencil-library/udp-container-query-grid.entry.js.map +0 -1
  1966. package/dist/stencil-library/udp-container-query.entry.esm.js.map +0 -1
  1967. package/dist/stencil-library/udp-container-query.entry.js.map +0 -1
  1968. package/dist/stencil-library/udp-container.udp-linear-loader.entry.esm.js.map +0 -1
  1969. package/dist/stencil-library/udp-container_2.entry.js +0 -2
  1970. package/dist/stencil-library/udp-container_2.entry.js.map +0 -1
  1971. package/dist/stencil-library/udp-date-range-selector.entry.esm.js.map +0 -1
  1972. package/dist/stencil-library/udp-date-range-selector.entry.js.map +0 -1
  1973. package/dist/stencil-library/udp-divider.entry.esm.js.map +0 -1
  1974. package/dist/stencil-library/udp-divider.entry.js.map +0 -1
  1975. package/dist/stencil-library/udp-drive-utils-CIrjVGiJ.js.map +0 -1
  1976. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.esm.js.map +0 -1
  1977. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js.map +0 -1
  1978. package/dist/stencil-library/udp-dynamic-form.entry.esm.js.map +0 -1
  1979. package/dist/stencil-library/udp-dynamic-form.entry.js.map +0 -1
  1980. package/dist/stencil-library/udp-form-api-utils-vPSYCvIA.js.map +0 -1
  1981. package/dist/stencil-library/udp-forms-builder-question-template-C60LMUS4.js +0 -2
  1982. package/dist/stencil-library/udp-forms-builder-question-template-C60LMUS4.js.map +0 -1
  1983. package/dist/stencil-library/udp-forms-builder-style-override.entry.esm.js.map +0 -1
  1984. package/dist/stencil-library/udp-forms-builder-style-override.entry.js.map +0 -1
  1985. package/dist/stencil-library/udp-forms-builder.entry.esm.js.map +0 -1
  1986. package/dist/stencil-library/udp-forms-builder.entry.js.map +0 -1
  1987. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.esm.js.map +0 -1
  1988. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js.map +0 -1
  1989. package/dist/stencil-library/udp-forms-list-card.entry.esm.js.map +0 -1
  1990. package/dist/stencil-library/udp-forms-list-card.entry.js.map +0 -1
  1991. package/dist/stencil-library/udp-forms-list.entry.esm.js.map +0 -1
  1992. package/dist/stencil-library/udp-forms-list.entry.js.map +0 -1
  1993. package/dist/stencil-library/udp-forms-renderer.entry.esm.js.map +0 -1
  1994. package/dist/stencil-library/udp-forms-renderer.entry.js.map +0 -1
  1995. package/dist/stencil-library/udp-forms-ui.entry.esm.js.map +0 -1
  1996. package/dist/stencil-library/udp-forms-ui.entry.js.map +0 -1
  1997. package/dist/stencil-library/udp-icon.entry.esm.js.map +0 -1
  1998. package/dist/stencil-library/udp-icon.entry.js.map +0 -1
  1999. package/dist/stencil-library/udp-kpi-card.entry.esm.js.map +0 -1
  2000. package/dist/stencil-library/udp-kpi-card.entry.js.map +0 -1
  2001. package/dist/stencil-library/udp-kpi-cards.entry.esm.js.map +0 -1
  2002. package/dist/stencil-library/udp-kpi-cards.entry.js.map +0 -1
  2003. package/dist/stencil-library/udp-list-renderer.udp-pagination.entry.esm.js.map +0 -1
  2004. package/dist/stencil-library/udp-list-renderer_2.entry.js.map +0 -1
  2005. package/dist/stencil-library/udp-map-utils-DNAUNI5U.js.map +0 -1
  2006. package/dist/stencil-library/udp-map.entry.esm.js.map +0 -1
  2007. package/dist/stencil-library/udp-map.entry.js.map +0 -1
  2008. package/dist/stencil-library/udp-menu-item.entry.esm.js.map +0 -1
  2009. package/dist/stencil-library/udp-menu-item.entry.js +0 -2
  2010. package/dist/stencil-library/udp-menu-item.entry.js.map +0 -1
  2011. package/dist/stencil-library/udp-page.entry.esm.js.map +0 -1
  2012. package/dist/stencil-library/udp-page.entry.js.map +0 -1
  2013. package/dist/stencil-library/udp-pop-over.entry.esm.js.map +0 -1
  2014. package/dist/stencil-library/udp-pop-over.entry.js +0 -2
  2015. package/dist/stencil-library/udp-pop-over.entry.js.map +0 -1
  2016. package/dist/stencil-library/udp-sankey-chart.entry.esm.js.map +0 -1
  2017. package/dist/stencil-library/udp-sankey-chart.entry.js.map +0 -1
  2018. package/dist/stencil-library/udp-skeleton-loading.entry.esm.js.map +0 -1
  2019. package/dist/stencil-library/udp-skeleton-loading.entry.js.map +0 -1
  2020. package/dist/stencil-library/udp-split-screen.entry.esm.js.map +0 -1
  2021. package/dist/stencil-library/udp-split-screen.entry.js.map +0 -1
  2022. package/dist/stencil-library/udp-stepper-demo.entry.esm.js.map +0 -1
  2023. package/dist/stencil-library/udp-stepper-demo.entry.js.map +0 -1
  2024. package/dist/stencil-library/udp-stepper.entry.esm.js.map +0 -1
  2025. package/dist/stencil-library/udp-stepper.entry.js.map +0 -1
  2026. package/dist/stencil-library/udp-tab-panel.entry.esm.js.map +0 -1
  2027. package/dist/stencil-library/udp-tab-panel.entry.js.map +0 -1
  2028. package/dist/stencil-library/udp-tab.entry.esm.js.map +0 -1
  2029. package/dist/stencil-library/udp-tab.entry.js.map +0 -1
  2030. package/dist/stencil-library/udp-timeline-connector.entry.esm.js.map +0 -1
  2031. package/dist/stencil-library/udp-timeline-connector.entry.js.map +0 -1
  2032. package/dist/stencil-library/udp-timeline-dot.entry.esm.js.map +0 -1
  2033. package/dist/stencil-library/udp-timeline-dot.entry.js.map +0 -1
  2034. package/dist/stencil-library/udp-timeline-item.entry.esm.js.map +0 -1
  2035. package/dist/stencil-library/udp-timeline-item.entry.js.map +0 -1
  2036. package/dist/stencil-library/udp-timeline-separator.entry.esm.js.map +0 -1
  2037. package/dist/stencil-library/udp-timeline-separator.entry.js.map +0 -1
  2038. package/dist/stencil-library/udp-timeline.entry.esm.js.map +0 -1
  2039. package/dist/stencil-library/udp-timeline.entry.js.map +0 -1
  2040. package/dist/stencil-library/udp-vertical-spacer.entry.esm.js.map +0 -1
  2041. package/dist/stencil-library/udp-vertical-spacer.entry.js.map +0 -1
  2042. package/dist/stencil-library/udp-xy-chart.entry.esm.js.map +0 -1
  2043. package/dist/stencil-library/udp-xy-chart.entry.js.map +0 -1
  2044. package/dist/stencil-library/udp-xy-multi-series-chart.entry.esm.js.map +0 -1
  2045. package/dist/stencil-library/udp-xy-multi-series-chart.entry.js.map +0 -1
  2046. package/dist/stencil-library/udpFieldHelper-qPBcfmrH.js.map +0 -1
  2047. package/dist/stencil-library/udpOperatorHelper-BsvDrT81.js.map +0 -1
  2048. package/dist/stencil-library/unity-typography.entry.esm.js.map +0 -1
  2049. package/dist/stencil-library/unity-typography.entry.js.map +0 -1
  2050. package/dist/stencil-library/utils-CiUp9KGZ.js +0 -2
  2051. package/dist/stencil-library/utils-CiUp9KGZ.js.map +0 -1
  2052. package/dist/types/components/forms/udp-forms/utils/form-handler/UdpFormHandler.d.ts +0 -11
  2053. package/dist/types/components/forms/udp-forms/utils/form-submission-handler/IFormSubmissionHandler.d.ts +0 -15
  2054. package/dist/types/components/forms/udp-forms/utils/form-submission-handler/PrivateFormSubmissionHandler.d.ts +0 -131
  2055. package/dist/types/components/forms/udp-forms/utils/form-submission-handler/PublicFormSubmissionHandler.d.ts +0 -15
  2056. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpForm.d.ts +0 -0
  2057. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-handler/IFormHandler.d.ts +0 -0
  2058. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/formUtils.d.ts +0 -0
@@ -1,1545 +1 @@
1
- import { p as proxyCustomElement, H, h } from './index2.js';
2
- import { throttle } from 'lodash';
3
- import { U as UdpFormsFieldTypeEnum, b as UdpFormsPageIdEnum, a as UdpFormsTypeEnum } from './enums.js';
4
- import { g as getCurrentTenantId } from './tenantUtils.js';
5
- import { f as fetchLatestForms } from './udp-form-api-utils.js';
6
- import { b as buildEmptyInitialValues } from './utils.js';
7
- import { c as createFormData, m as makeApiCall } from './makeApiCall.js';
8
- import { S as SearchBuilder, c as SearchOperators } from './SearchBuilder.js';
9
- import { C as ConfigService } from './configService.js';
10
- import { v4 } from 'uuid';
11
- import { d as defineCustomElement$B } from './custom-button2.js';
12
- import { d as defineCustomElement$A } from './file-upload2.js';
13
- import { d as defineCustomElement$z } from './fluent-dialog2.js';
14
- import { d as defineCustomElement$y } from './image-upload2.js';
15
- import { d as defineCustomElement$x } from './numeric-field2.js';
16
- import { d as defineCustomElement$w } from './selectable-list2.js';
17
- import { d as defineCustomElement$v } from './signature-input2.js';
18
- import { d as defineCustomElement$u } from './stencil-field2.js';
19
- import { d as defineCustomElement$t } from './stencil-form2.js';
20
- import { d as defineCustomElement$s } from './stencil-icon-button2.js';
21
- import { d as defineCustomElement$r } from './tally.js';
22
- import { d as defineCustomElement$q } from './text-area2.js';
23
- import { d as defineCustomElement$p } from './text-field2.js';
24
- import { d as defineCustomElement$o } from './udp-adornment2.js';
25
- import { d as defineCustomElement$n } from './udp-ambient-card2.js';
26
- import { d as defineCustomElement$m } from './udp-ambient-tool-tip2.js';
27
- import { d as defineCustomElement$l } from './udp-badge2.js';
28
- import { d as defineCustomElement$k } from './udp-button2.js';
29
- import { d as defineCustomElement$j } from './udp-container2.js';
30
- import { d as defineCustomElement$i } from './udp-date-selector2.js';
31
- import { d as defineCustomElement$h } from './udp-datetime-selector2.js';
32
- import { d as defineCustomElement$g } from './udp-forms-ui2.js';
33
- import { d as defineCustomElement$f } from './udp-icon2.js';
34
- import { d as defineCustomElement$e } from './udp-icon-button2.js';
35
- import { d as defineCustomElement$d } from './udp-linear-loader2.js';
36
- import { d as defineCustomElement$c } from './udp-list-renderer2.js';
37
- import { d as defineCustomElement$b } from './udp-menu-item2.js';
38
- import { d as defineCustomElement$a } from './udp-pagination2.js';
39
- import { d as defineCustomElement$9 } from './udp-pop-over2.js';
40
- import { d as defineCustomElement$8 } from './udp-question2.js';
41
- import { d as defineCustomElement$7 } from './udp-question-comments2.js';
42
- import { d as defineCustomElement$6 } from './udp-save-draft-button2.js';
43
- import { d as defineCustomElement$5 } from './udp-selector2.js';
44
- import { d as defineCustomElement$4 } from './udp-side-sheet2.js';
45
- import { d as defineCustomElement$3 } from './udp-time-selector2.js';
46
- import { d as defineCustomElement$2 } from './unity-typography2.js';
47
-
48
- /**
49
- * Utility function to check if an array contains File objects
50
- */
51
- function isFileArray(array) {
52
- // Check if it's an array
53
- if (!Array.isArray(array)) {
54
- return false;
55
- }
56
- // Check if all elements in the array are instances of File
57
- return array.every(item => item instanceof File);
58
- }
59
-
60
- // TODO: This handler needs to be updated with new public form logic.
61
- // ******* THIS HANDLER IS OUTDATED, AND WILL LIKELY NOT WORK *********
62
- /**
63
- * Handles submission for *public* (unauthenticated) forms.
64
- */
65
- class PublicFormSubmissionHandler {
66
- constructor(formId, formVersion, tenantId) { }
67
- async fetchAndPopulateUdpFormSubmissionObj(submission) {
68
- return submission;
69
- }
70
- objectToFormData(obj) {
71
- var _a, _b;
72
- const files = [];
73
- const formObj = {};
74
- for (const key in obj) {
75
- let value = (_b = (_a = obj[key]) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : obj[key];
76
- if (isFileArray(value)) {
77
- if (value.length > 0) {
78
- files.push(value[0]);
79
- formObj[key] = value[0].name;
80
- }
81
- }
82
- else if (Array.isArray(value)) {
83
- formObj[key] = value.map(v => (typeof v === 'string' ? v : v.value)).join(',');
84
- }
85
- else if (value !== null && value !== undefined && value !== '') {
86
- formObj[key] = value;
87
- }
88
- }
89
- return createFormData({
90
- formData: JSON.stringify(formObj),
91
- formFiles: files[0] || null
92
- });
93
- }
94
- async saveCurrentFormSubmissionState(values, submission) {
95
- return submission;
96
- }
97
- async saveFormSubmissionComments(values, submission) {
98
- return submission;
99
- }
100
- async createNewLinkedFollowUpFormSubmission(submission) {
101
- return submission;
102
- }
103
- async finalizeFormSubmissionState(values, submission) {
104
- try {
105
- // const formData = this.objectToFormData(values);
106
- // await makeApiCall(
107
- // 'POST',
108
- // `${ConfigService.productV1ApiUrl}/UdpForm/${this.formId}/${this.formVersion}/submit/public?tenantId=${this.tenantId}`,
109
- // formData,
110
- // true
111
- // );
112
- return submission;
113
- }
114
- catch (error) {
115
- console.error('Public form submission failed:', error);
116
- throw error;
117
- }
118
- }
119
- }
120
-
121
- class UdpFormSubmission {
122
- constructor(initialData = {}) {
123
- this.id = null;
124
- this.formId = null;
125
- this.formVersion = null;
126
- this.data = {};
127
- this.unityUserId = null;
128
- this.clusterId = null;
129
- this.userDisplayName = '';
130
- this.status = null;
131
- this.businessObjectKey = '';
132
- this.udpTags = [];
133
- this.form = null;
134
- this.initialCreatedOn = null;
135
- this.lastModifiedOn = null;
136
- this.submittedOn = null;
137
- this.generic1 = null;
138
- this.generic2 = null;
139
- this.generic3 = null;
140
- Object.assign(this, initialData);
141
- }
142
- // =============================
143
- // Form Data Processing
144
- // =============================
145
- processSubmissionIntoFormDataWithoutValues(status) {
146
- const statusValue = this.resolveSubmissionStatus(status);
147
- const baseData = this.buildBaseSubmissionData(statusValue);
148
- const formData = createFormData(baseData);
149
- formData.append('Data', JSON.stringify(this.data));
150
- return formData;
151
- }
152
- processSubmissionIntoFormData(formInputValuesAndMetadata, status) {
153
- const statusValue = this.resolveSubmissionStatus(status);
154
- const baseData = this.buildBaseSubmissionData(statusValue);
155
- const { cleanedData, files } = this.extractCleanedDataAndFiles(formInputValuesAndMetadata);
156
- const formData = createFormData(baseData);
157
- files.forEach(file => formData.append('FormFiles', file));
158
- const submissionDataObject = {
159
- submissionResponseData: cleanedData,
160
- submissionMetadata: this.data.submissionMetadata || null
161
- };
162
- formData.append('Data', JSON.stringify(submissionDataObject));
163
- return formData;
164
- }
165
- resolveSubmissionStatus(status) {
166
- if (status === 'submitted')
167
- return 2;
168
- if (status === 'in-progress')
169
- return 1;
170
- return typeof status === 'number' ? status : 1;
171
- }
172
- buildBaseSubmissionData(statusValue) {
173
- const baseData = {
174
- FormId: this.formId,
175
- FormVersion: this.formVersion.toString(),
176
- Status: statusValue.toString(),
177
- };
178
- if (this.id) {
179
- baseData.Id = this.id;
180
- }
181
- if (this.initialCreatedOn) {
182
- baseData.InitialCreatedOn = this.initialCreatedOn;
183
- }
184
- else {
185
- baseData.InitialCreatedOn = new Date().toISOString();
186
- }
187
- if (this.lastModifiedOn) {
188
- baseData.LastModifiedOn = this.lastModifiedOn;
189
- }
190
- else {
191
- baseData.LastModifiedOn = new Date().toISOString();
192
- }
193
- if (this.submittedOn) {
194
- baseData.submittedOn = this.submittedOn;
195
- }
196
- if (this.generic1) {
197
- baseData.generic1 = this.generic1.toString();
198
- }
199
- if (this.generic2) {
200
- baseData.generic2 = this.generic2.toString();
201
- }
202
- if (this.generic3) {
203
- baseData.generic3 = this.generic3.toString();
204
- }
205
- return baseData;
206
- }
207
- extractCleanedDataAndFiles(data) {
208
- const files = [];
209
- const cleanedData = {};
210
- for (const sectionName in data) {
211
- cleanedData[sectionName] = {};
212
- for (const questionName in data[sectionName]) {
213
- const entry = data[sectionName][questionName];
214
- const { value, fieldFiles } = this.extractValueAndFiles(entry);
215
- if (fieldFiles)
216
- files.push(...fieldFiles);
217
- const comments = this.processComments(entry.comments);
218
- const metadata = this.processMetadata(entry.metadata);
219
- cleanedData[sectionName][questionName] = Object.assign({ value, comments }, (metadata && { metadata }));
220
- }
221
- }
222
- return { cleanedData, files };
223
- }
224
- // =============================
225
- // Form Data Processing Private Helpers
226
- // =============================
227
- extractValueAndFiles(entry) {
228
- var _a, _b;
229
- let rawValue = ((_a = entry === null || entry === void 0 ? void 0 : entry.value) === null || _a === void 0 ? void 0 : _a.files) ? entry.value.value : entry === null || entry === void 0 ? void 0 : entry.value;
230
- const fieldFiles = (_b = entry === null || entry === void 0 ? void 0 : entry.value) === null || _b === void 0 ? void 0 : _b.files;
231
- if (fieldFiles && Array.isArray(fieldFiles)) {
232
- return {
233
- value: typeof rawValue === 'string' && rawValue.trim() !== '' ? rawValue : '',
234
- fieldFiles,
235
- };
236
- }
237
- if (isFileArray(rawValue)) {
238
- return {
239
- value: rawValue.length > 0 ? rawValue.map(f => f.name).join(',') : '',
240
- fieldFiles: rawValue,
241
- };
242
- }
243
- if (rawValue instanceof File) {
244
- return { value: rawValue.name, fieldFiles: [rawValue] };
245
- }
246
- if (Array.isArray(rawValue)) {
247
- return { value: rawValue.map(i => (typeof i === 'string' ? i : i === null || i === void 0 ? void 0 : i.value)).join(',') };
248
- }
249
- return { value: rawValue };
250
- }
251
- processComments(comments) {
252
- var _a;
253
- return (_a = comments === null || comments === void 0 ? void 0 : comments.map(comment => (Object.assign({}, comment)))) !== null && _a !== void 0 ? _a : [];
254
- }
255
- processMetadata(metadata) {
256
- return metadata && Object.keys(metadata).length > 0 ? Object.assign({}, metadata) : undefined;
257
- }
258
- }
259
-
260
- /**
261
- * Handles CRUD and submission operations for private UdpFormSubmission records.
262
- */
263
- class PrivateFormSubmissionHandler {
264
- // =============================
265
- // Fetch Methods
266
- // =============================
267
- /**
268
- * Fetch and refresh an existing UdpFormSubmission instance.
269
- *
270
- * Attempts to load the latest server representation of the provided
271
- * udpFormSubmission. Uses generic fields (generic1/2/3) when present to
272
- * disambiguate records, otherwise falls back to a simple id lookup.
273
- *
274
- * @param udpFormSubmission - local UdpFormSubmission object to refresh
275
- * @returns a new UdpFormSubmission merged with server data, or the original on failure
276
- * @throws network or unexpected errors
277
- */
278
- async fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission) {
279
- if (!(udpFormSubmission === null || udpFormSubmission === void 0 ? void 0 : udpFormSubmission.id)) {
280
- console.warn('Cannot fetch form submission without an ID.');
281
- return udpFormSubmission;
282
- }
283
- try {
284
- const { id, generic1, generic2, generic3 } = udpFormSubmission;
285
- let response = null;
286
- // Prefer the generics-aware lookup if any generic values are present
287
- if (generic1 || generic2 || generic3) {
288
- response = await this.getFormSubmissionByIdAndGenerics(id, generic1 || undefined, generic2 || undefined, generic3 || undefined);
289
- }
290
- else {
291
- response = await this.getFormSubmissionById(id);
292
- }
293
- if (!response) {
294
- console.warn('No form submission found for the provided object.');
295
- return udpFormSubmission;
296
- }
297
- return new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response));
298
- }
299
- catch (error) {
300
- console.error('Error fetching form submission:', error);
301
- throw error;
302
- }
303
- }
304
- /**
305
- * Internal helper — lookup a form submission by its unique id.
306
- *
307
- * Performs a minimal search (page size 1) for the given id and returns
308
- * the first match or null if not found. Logs and returns null on errors.
309
- *
310
- * @param id - submission id to query
311
- * @returns UdpFormSubmission or null
312
- */
313
- async getFormSubmissionById(id) {
314
- var _a;
315
- try {
316
- const search = new SearchBuilder(1, 1)
317
- .addFilter('id', id, SearchOperators.EQUALS);
318
- const response = await search.execute('UdpFormSubmission');
319
- return ((_a = response === null || response === void 0 ? void 0 : response.pageList) === null || _a === void 0 ? void 0 : _a[0]) || null;
320
- }
321
- catch (error) {
322
- console.error('Error fetching form submission by ID:', error);
323
- return null;
324
- }
325
- }
326
- /**
327
- * Internal helper — lookup a form submission by id and generic fields.
328
- *
329
- * Adds optional equality filters for generic1/generic2/generic3 when provided,
330
- * then executes a minimal search and returns the first match or null.
331
- *
332
- * @param id - submission id to query
333
- * @param generic1 - optional generic1 value to filter by
334
- * @param generic2 - optional generic2 value to filter by
335
- * @param generic3 - optional generic3 value to filter by
336
- * @returns UdpFormSubmission or null
337
- */
338
- async getFormSubmissionByIdAndGenerics(id, generic1, generic2, generic3) {
339
- var _a;
340
- try {
341
- const search = new SearchBuilder(1, 1)
342
- .addFilter('id', id, SearchOperators.EQUALS);
343
- if (generic1) {
344
- search.addFilter('generic1', generic1, SearchOperators.EQUALS);
345
- }
346
- if (generic2) {
347
- search.addFilter('generic2', generic2, SearchOperators.EQUALS);
348
- }
349
- if (generic3) {
350
- search.addFilter('generic3', generic3, SearchOperators.EQUALS);
351
- }
352
- const response = await search.execute('UdpFormSubmission');
353
- return ((_a = response === null || response === void 0 ? void 0 : response.pageList) === null || _a === void 0 ? void 0 : _a[0]) || null;
354
- }
355
- catch (error) {
356
- console.error('Error fetching form submission by ID:', error);
357
- return null;
358
- }
359
- }
360
- // =============================
361
- // Save & Submit Methods
362
- // =============================
363
- /**
364
- * Create a new follow-up form submission that is linked to an existing submission.
365
- *
366
- * Saves a new UdpFormSubmission in 'in-progress' state without populating field values
367
- * (only metadata/links), and returns the created submission object.
368
- *
369
- * @param udpFormSubmission - template/parent submission to base the new follow-up on
370
- * @returns newly created UdpFormSubmission
371
- */
372
- async createNewLinkedFollowUpFormSubmission(udpFormSubmission) {
373
- const formData = await this.saveFormDataWithoutValues(udpFormSubmission, 'in-progress');
374
- return formData;
375
- }
376
- /**
377
- * Persist submission metadata (without full field values).
378
- *
379
- * Converts provided udpFormSubmission into formData excluding field values,
380
- * determines whether to POST or PUT based on presence of id, and merges the
381
- * server response into a new UdpFormSubmission instance.
382
- *
383
- * @param udpFormSubmission - the submission to save
384
- * @param status - desired status to save (e.g., 'in-progress' or 'submitted')
385
- * @returns saved UdpFormSubmission (refetches if server returns empty PUT response)
386
- */
387
- async saveFormDataWithoutValues(udpFormSubmission, status) {
388
- try {
389
- const formData = udpFormSubmission.processSubmissionIntoFormDataWithoutValues(status);
390
- const { method, url } = this.getApiRequestInfo(udpFormSubmission);
391
- const response = await makeApiCall(method, url, formData, true);
392
- // PUT returns an empty string; refetch to refresh local data
393
- if (response === '') {
394
- return await this.fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission);
395
- }
396
- return new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response));
397
- }
398
- catch (error) {
399
- console.error('Failed to save form udpFormSubmission:', error);
400
- throw error;
401
- }
402
- }
403
- /**
404
- * Save only comment-related fields for a submission.
405
- *
406
- * Delegates to the lower-level saveCommentsToDB helper to persist comment changes
407
- * while preserving existing submission state and metadata.
408
- *
409
- * @param values - comment values to persist
410
- * @param udpFormSubmission - target submission object
411
- * @returns updated UdpFormSubmission
412
- */
413
- async saveFormSubmissionComments(values, udpFormSubmission) {
414
- return this.saveCommentsToDB(values, udpFormSubmission);
415
- }
416
- /**
417
- * Save the current state of the form's data as a draft ('in-progress').
418
- *
419
- * Converts the provided values into the required form payload and persists them.
420
- * Determines POST vs PUT automatically and refreshes local object on empty PUT responses.
421
- *
422
- * @param values - field data to save
423
- * @param udpFormSubmission - submission being updated
424
- * @returns updated UdpFormSubmission
425
- */
426
- async saveCurrentFormSubmissionState(values, udpFormSubmission) {
427
- return this.saveSubmissionToDB(values, udpFormSubmission, 'in-progress');
428
- }
429
- /**
430
- * Finalize and submit the form (set state to 'submitted').
431
- *
432
- * Persists the provided values and marks the submission as 'submitted'.
433
- *
434
- * @param values - final form values to submit
435
- * @param udpFormSubmission - submission being finalized
436
- * @returns updated UdpFormSubmission
437
- */
438
- async finalizeFormSubmissionState(values, udpFormSubmission) {
439
- return this.saveSubmissionToDB(values, udpFormSubmission, 'submitted');
440
- }
441
- // =============================
442
- // Helpers
443
- // =============================
444
- /**
445
- * Determine correct HTTP verb and target URL for saving a UdpFormSubmission.
446
- *
447
- * Uses productV1ApiUrl from ConfigService and returns POST for new submissions
448
- * (no id) or PUT with the resource id for existing submissions.
449
- *
450
- * @param udpFormSubmission - submission to be saved
451
- * @returns object with method ('POST'|'PUT') and full url
452
- */
453
- getApiRequestInfo(udpFormSubmission) {
454
- const baseUrl = `${ConfigService.productV1ApiUrl}/UdpFormSubmission`;
455
- return udpFormSubmission.id
456
- ? { method: 'PUT', url: `${baseUrl}/${udpFormSubmission.id}` }
457
- : { method: 'POST', url: baseUrl };
458
- }
459
- /**
460
- * Persist form values and metadata to the backend.
461
- *
462
- * Builds the form payload using udpFormSubmission.processSubmissionIntoFormData,
463
- * resolves POST vs PUT using getApiRequestInfo, and returns a merged UdpFormSubmission.
464
- * If the server returns an empty string for PUT, the method refetches the record.
465
- *
466
- * @param values - field values to be saved
467
- * @param udpFormSubmission - submission being updated
468
- * @param status - status to persist (e.g., 'in-progress' | 'submitted')
469
- * @returns updated UdpFormSubmission
470
- */
471
- async saveSubmissionToDB(values, udpFormSubmission, status) {
472
- try {
473
- const formData = udpFormSubmission.processSubmissionIntoFormData(values, status);
474
- const { method, url } = this.getApiRequestInfo(udpFormSubmission);
475
- const response = await makeApiCall(method, url, formData, true);
476
- // PUT returns an empty string; refetch to refresh local data
477
- if (response === '') {
478
- return await this.fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission);
479
- }
480
- return new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response));
481
- }
482
- catch (error) {
483
- console.error('Failed to save form udpFormSubmission:', error);
484
- throw error;
485
- }
486
- }
487
- /**
488
- * Persist only comment changes for an existing submission via PUT.
489
- *
490
- * Forces a PUT to the specific submission id, builds a form payload containing
491
- * the provided comment values, and returns the updated submission. If the API
492
- * returns an empty string (PUT shorthand), the method refetches the record.
493
- *
494
- * @param values - comment fields to persist
495
- * @param udpFormSubmission - target submission (must have id)
496
- * @returns updated UdpFormSubmission
497
- */
498
- async saveCommentsToDB(values, udpFormSubmission) {
499
- try {
500
- const method = 'PUT';
501
- const status = udpFormSubmission.status || 2; // default to 'submitted' if status is null
502
- const url = `${ConfigService.productV1ApiUrl}/UdpFormSubmission/${udpFormSubmission.id}`;
503
- const formData = udpFormSubmission.processSubmissionIntoFormData(values, status);
504
- const response = await makeApiCall(method, url, formData, true);
505
- // PUT returns an empty string; refetch to refresh local data
506
- if (response === '') {
507
- return await this.fetchAndPopulateUdpFormSubmissionObj(udpFormSubmission);
508
- }
509
- return new UdpFormSubmission(Object.assign(Object.assign({}, udpFormSubmission), response));
510
- }
511
- catch (error) {
512
- console.error('Failed to save form udpFormSubmission:', error);
513
- throw error;
514
- }
515
- }
516
- }
517
-
518
- /**
519
- * Factory for creating form submission handlers.
520
- */
521
- class FormSubmissionHandlerFactory {
522
- static create(isPublic, userId, formId, version, tenantId) {
523
- if (isPublic) {
524
- return new PublicFormSubmissionHandler(formId, version, tenantId);
525
- }
526
- if (!userId) {
527
- throw new Error('User ID is required for private forms');
528
- }
529
- return new PrivateFormSubmissionHandler();
530
- }
531
- }
532
-
533
- /**
534
- * UDP Form handler (new UdpFormSubmission endpoint)
535
- */
536
- class UdpFormHandler {
537
- constructor(tenantId) {
538
- this.tenantId = tenantId;
539
- }
540
- // =============================
541
- // Fetching Form
542
- // =============================
543
- async getFormByFormId(formId) {
544
- const formData = await makeApiCall('GET', `${ConfigService.productV1ApiUrl}/UdpForm/${formId}/describe`);
545
- if (formData.styleOverrides && typeof formData.styleOverrides === 'string') {
546
- formData.styleOverrides = JSON.parse(formData.styleOverrides);
547
- }
548
- return formData;
549
- }
550
- async getFormByFormIdAndFormVersion(formId, formVersion) {
551
- const formData = await makeApiCall('GET', `${ConfigService.productV1ApiUrl}/UdpForm/${formId}/${formVersion}/describe`);
552
- if (formData.styleOverrides && typeof formData.styleOverrides === 'string') {
553
- formData.styleOverrides = JSON.parse(formData.styleOverrides);
554
- }
555
- return formData;
556
- }
557
- }
558
-
559
- class UdpForm {
560
- constructor(initialData) {
561
- if (!initialData)
562
- return;
563
- Object.assign(this, initialData);
564
- }
565
- }
566
-
567
- const UdpFormsRenderer$1 = /*@__PURE__*/ proxyCustomElement(class UdpFormsRenderer extends H {
568
- constructor(registerHost) {
569
- super();
570
- if (registerHost !== false) {
571
- this.__registerHost();
572
- }
573
- this.__attachShadow();
574
- this.isPublic = false;
575
- this.autoSaveDelay = 2000; // Debounce delay for auto-save in milliseconds (currently disabled)
576
- this.initialValues = {};
577
- this.submitSuccessful = false;
578
- this.currentFormData = {};
579
- this.isLoading = false;
580
- this.isSaving = false;
581
- this.isSubmitted = false;
582
- this.saveErrorMessage = null;
583
- this.dynamicSections = [];
584
- this.isUpdatingSections = false;
585
- this.reRenderKey = 0;
586
- this.isFormDirty = false;
587
- this.isUserUpdatedSections = false;
588
- this.sideSheetFollowUpFormsList = []; // used for follow up forms.
589
- this.followUpSideSheetTotalItems = 0; // used for follow up forms.
590
- this.isFollowUpFormsSideSheetOpen = false; // used for follow up forms.
591
- this.followUpSideSheetListPageNumber = 1; // used for follow up forms.
592
- this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE = 5;
593
- this.componentMap = {
594
- history: 'history',
595
- listItemData: 'listItemData',
596
- handleLaunchFollowUpForm: 'handleLaunchFollowUpForm'
597
- };
598
- this.tenantId = getCurrentTenantId();
599
- this.userId = null;
600
- this.userDisplayName = null;
601
- this.followUpParentSectionKey = ''; // used for follow up forms.
602
- this.followUpParentQuestionKey = ''; // used for follow up forms.
603
- this.handleLaunchFollowUpFormSideSheet = async (e) => {
604
- try {
605
- await this.performBackgroundSaveAndUpdateLocalSubmissionState(this.udpFormSubmission.data.submissionResponseData);
606
- this.followUpParentSectionKey = e.detail.sectionKey;
607
- this.followUpParentQuestionKey = e.detail.questionKey;
608
- await this.loadFollowUpForms(this.followUpParentSectionKey, this.followUpParentQuestionKey);
609
- this.isFollowUpFormsSideSheetOpen = true;
610
- }
611
- catch (error) {
612
- console.error('Error loading follow-up forms:', error);
613
- }
614
- };
615
- /**
616
- * Duplicate a repeatable section
617
- */
618
- this.duplicateRepeatableSection = (index) => {
619
- if (this.isSubmitted || this.isUpdatingSections)
620
- return;
621
- this.isUpdatingSections = true;
622
- this.isLoading = true;
623
- try {
624
- const sectionToClone = this.dynamicSections[index];
625
- if (!sectionToClone)
626
- return;
627
- const cloningSectionName = sectionToClone.name;
628
- // Find existing repeat group indices
629
- const repeatKeys = this.findRepeatGroupKeys(cloningSectionName, this.initialValues);
630
- const nextRepeatIndex = repeatKeys.length > 0 ? Math.max(...repeatKeys) + 1 : 2;
631
- const clonedSection = Object.assign(Object.assign({}, structuredClone(sectionToClone)), { formQuestions: sectionToClone.formQuestions.map(q => {
632
- const newQuestionObj = structuredClone(q);
633
- newQuestionObj.questionIdentifierKey = `${cloningSectionName}_${nextRepeatIndex}.${q.name}`;
634
- return newQuestionObj;
635
- }), isOriginalSection: false, sectionPositionSuffix: nextRepeatIndex });
636
- // Find the last index of this section group
637
- let insertAtIndex = index;
638
- for (let i = index + 1; i < this.dynamicSections.length; i++) {
639
- const s = this.dynamicSections[i];
640
- if (s.name === cloningSectionName) {
641
- insertAtIndex = i;
642
- }
643
- else {
644
- break;
645
- }
646
- }
647
- // Insert after the last repeat of the section group
648
- this.dynamicSections = [
649
- ...this.dynamicSections.slice(0, insertAtIndex + 1),
650
- clonedSection,
651
- ...this.dynamicSections.slice(insertAtIndex + 1),
652
- ];
653
- // Create new initial values structure
654
- const newInitialValues = structuredClone(this.udpFormSubmission.data.submissionResponseData);
655
- clonedSection.formQuestions.forEach(q => {
656
- var _a, _b, _c, _d;
657
- const newSectionNameWithSuffix = `${cloningSectionName}_${nextRepeatIndex}`;
658
- const newQuestionName = q.name;
659
- if (!newInitialValues[newSectionNameWithSuffix]) {
660
- newInitialValues[newSectionNameWithSuffix] = {};
661
- }
662
- // Preserve only Paragraph values from the source section; clear others
663
- let value = '';
664
- if (q.fieldTypeId === UdpFormsFieldTypeEnum.Paragraph) {
665
- // Determine source section key (the section being duplicated)
666
- const sourceSectionKey = sectionToClone.isOriginalSection
667
- ? cloningSectionName
668
- : `${cloningSectionName}_${sectionToClone.sectionPositionSuffix}`;
669
- const sourceVal = (_c = (_b = (_a = this.udpFormSubmission.data.submissionResponseData) === null || _a === void 0 ? void 0 : _a[sourceSectionKey]) === null || _b === void 0 ? void 0 : _b[newQuestionName]) === null || _c === void 0 ? void 0 : _c.value;
670
- let fieldProps = q === null || q === void 0 ? void 0 : q.fieldProperties;
671
- if (typeof fieldProps === 'string') {
672
- try {
673
- fieldProps = JSON.parse(fieldProps || '{}');
674
- }
675
- catch (_e) {
676
- fieldProps = {};
677
- }
678
- }
679
- const paragraphDefault = (_d = fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.paragraphText) !== null && _d !== void 0 ? _d : '';
680
- value = sourceVal !== null && sourceVal !== void 0 ? sourceVal : paragraphDefault;
681
- }
682
- newInitialValues[newSectionNameWithSuffix][newQuestionName] = { value, comments: [], metadata: {} };
683
- });
684
- // This will trigger a complete form re-render
685
- this.initialValues = Object.assign({}, newInitialValues);
686
- this.udpFormSubmission.data.submissionResponseData = Object.assign({}, newInitialValues);
687
- this.triggerFormRerender();
688
- }
689
- finally {
690
- this.isUpdatingSections = false;
691
- this.isLoading = false;
692
- this.isUserUpdatedSections = true;
693
- }
694
- };
695
- /**
696
- * Delete a repeatable section
697
- */
698
- this.deleteRepeatableSection = (index) => {
699
- if (this.isSubmitted)
700
- return;
701
- const sectionToDelete = this.dynamicSections[index];
702
- if (!sectionToDelete || sectionToDelete.isOriginalSection)
703
- return;
704
- this.isUpdatingSections = true;
705
- this.isLoading = true;
706
- try {
707
- const deleteSectionName = sectionToDelete.name;
708
- const deleteSuffix = sectionToDelete.sectionPositionSuffix;
709
- const sectionKeyToDelete = `${deleteSectionName}_${deleteSuffix}`;
710
- const newInitialValues = Object.assign({}, this.udpFormSubmission.data.submissionResponseData);
711
- delete newInitialValues[sectionKeyToDelete];
712
- // Remove the section from dynamicSections
713
- const updatedSections = structuredClone(this.dynamicSections);
714
- updatedSections.splice(index, 1);
715
- // Shift all later repeatable sections backward by 1
716
- updatedSections.forEach(section => {
717
- if (section.name !== deleteSectionName ||
718
- section.isOriginalSection ||
719
- section.sectionPositionSuffix <= deleteSuffix) {
720
- return;
721
- }
722
- const oldSuffix = section.sectionPositionSuffix;
723
- const oldSectionKey = `${deleteSectionName}_${oldSuffix}`;
724
- const newSuffix = oldSuffix - 1;
725
- const newSectionKey = `${deleteSectionName}_${newSuffix}`;
726
- // Update suffix
727
- section.sectionPositionSuffix = newSuffix;
728
- // Update questionIdentifierKeys
729
- section.formQuestions = section.formQuestions.map(q => {
730
- const newSectionQuestion = structuredClone(q);
731
- newSectionQuestion.questionIdentifierKey = `${newSectionKey}.${q.name}`;
732
- return newSectionQuestion;
733
- });
734
- // Move data in initial values
735
- if (newInitialValues[oldSectionKey]) {
736
- newInitialValues[newSectionKey] = structuredClone(newInitialValues[oldSectionKey]);
737
- delete newInitialValues[oldSectionKey];
738
- }
739
- });
740
- this.dynamicSections = updatedSections;
741
- this.initialValues = Object.assign({}, newInitialValues);
742
- this.udpFormSubmission.data.submissionResponseData = Object.assign({}, newInitialValues);
743
- this.triggerFormRerender();
744
- }
745
- finally {
746
- this.isUpdatingSections = false;
747
- this.isLoading = false;
748
- this.isUserUpdatedSections = true;
749
- }
750
- };
751
- /**
752
- * Auto save (background save)
753
- */
754
- this.performBackgroundSaveAndUpdateLocalSubmissionState = async (values) => {
755
- var _a;
756
- this.saveErrorMessage = null;
757
- try {
758
- const updatedUdpFormSubmission = await this.formSubmissionHandler.saveCurrentFormSubmissionState(values, this.udpFormSubmission);
759
- this.udpFormSubmission = updatedUdpFormSubmission;
760
- this.initialValues = Object.assign({}, (((_a = updatedUdpFormSubmission.data) === null || _a === void 0 ? void 0 : _a.submissionResponseData) || {}));
761
- if (!new URLSearchParams(window.location.search).has('udpf_submissionId')) {
762
- // replace the current entry's query string with udpf_submissionId without needing to know the path
763
- this.replaceUrlWithSubmissionId(updatedUdpFormSubmission.id);
764
- }
765
- }
766
- catch (error) {
767
- this.saveErrorMessage = 'Failed to save form data';
768
- }
769
- finally {
770
- this.isSaving = false;
771
- this.isUserUpdatedSections = false;
772
- this.isFormDirty = false;
773
- }
774
- };
775
- /**
776
- * Handle the user saving or deleting a comment
777
- */
778
- this.handleCommmentUpdate = async (values) => {
779
- var _a;
780
- this.isSaving = true;
781
- this.saveErrorMessage = null;
782
- try {
783
- const updatedUdpFormSubmission = await this.formSubmissionHandler.saveFormSubmissionComments(values, this.udpFormSubmission);
784
- this.udpFormSubmission = updatedUdpFormSubmission;
785
- this.initialValues = Object.assign({}, (((_a = updatedUdpFormSubmission.data) === null || _a === void 0 ? void 0 : _a.submissionResponseData) || {}));
786
- this.enqueueSnackbar('Saved sucessfully.', {
787
- variant: 'success',
788
- anchorOrigin: { vertical: 'top', horizontal: 'center' },
789
- });
790
- }
791
- catch (error) {
792
- this.enqueueSnackbar('There was an error saving.', {
793
- variant: 'error',
794
- anchorOrigin: { vertical: 'top', horizontal: 'center' },
795
- });
796
- }
797
- finally {
798
- this.isSaving = false;
799
- this.isUserUpdatedSections = false;
800
- this.isFormDirty = false;
801
- }
802
- };
803
- /**
804
- * Manual save function - debounced to 5 seconds
805
- */
806
- this.handleManualSave = async (values) => {
807
- // Only save if handler supports it and user is authenticated
808
- // if (!this.formSubmissionHandler.supportsAutoSave() || !this.userId || !this.formSubmissionHandler.saveCurrentFormSubmissionState) {
809
- // return;
810
- // }
811
- var _a;
812
- this.isSaving = true;
813
- this.saveErrorMessage = null;
814
- try {
815
- const updatedUdpFormSubmission = await this.formSubmissionHandler.saveCurrentFormSubmissionState(values, this.udpFormSubmission);
816
- this.udpFormSubmission = updatedUdpFormSubmission;
817
- this.initialValues = Object.assign({}, (((_a = updatedUdpFormSubmission.data) === null || _a === void 0 ? void 0 : _a.submissionResponseData) || {}));
818
- if (!new URLSearchParams(window.location.search).has('udpf_submissionId')) {
819
- // replace the current entry's query string with udpf_submissionId without needing to know the path
820
- this.replaceUrlWithSubmissionId(updatedUdpFormSubmission.id);
821
- }
822
- this.enqueueSnackbar('Form saved successfully.', {
823
- variant: 'success',
824
- anchorOrigin: { vertical: 'top', horizontal: 'center' },
825
- });
826
- }
827
- catch (error) {
828
- this.enqueueSnackbar('There was an error saving this form', {
829
- variant: 'error',
830
- anchorOrigin: { vertical: 'top', horizontal: 'center' },
831
- });
832
- this.saveErrorMessage = 'Failed to save form data';
833
- }
834
- finally {
835
- this.isSaving = false;
836
- this.isUserUpdatedSections = false;
837
- this.isFormDirty = false;
838
- }
839
- };
840
- this.handleFormChange = (values) => {
841
- if (this.isUpdatingSections)
842
- return;
843
- this.udpFormSubmission.data.submissionResponseData = values;
844
- };
845
- this.handleFinish = () => {
846
- // Trigger any finish actions
847
- if (this.triggerAction) {
848
- this.triggerAction(null, { action: 'finish' });
849
- }
850
- };
851
- this.triggerFormRerender = () => {
852
- const scrollY = window.scrollY;
853
- this.reRenderKey += 1;
854
- // We use requestAnimationFrame to wait for the browser to
855
- // finish the paint cycle of the new key-rendered component
856
- requestAnimationFrame(() => {
857
- window.scrollTo({
858
- top: scrollY,
859
- behavior: 'auto' // 'auto' is faster and prevents jitter compared to 'smooth'
860
- });
861
- });
862
- };
863
- this.handleLaunchFollowUpForm = async (followUpFormId, followUpFormVersion, parentFormSubmissionId, parentFormId, parentFormVersion, sectionKey, questionKey) => {
864
- // create a new follow up form submission instance wiht a link to the parent form submission
865
- const followUpMasterForm = await this.formHandler.getFormByFormIdAndFormVersion(followUpFormId, followUpFormVersion);
866
- const followUpSubmissionData = {
867
- submissionResponseData: buildEmptyInitialValues(followUpMasterForm),
868
- submissionMetadata: {
869
- ParentSubmission: {
870
- submissionId: parentFormSubmissionId,
871
- formId: parentFormId,
872
- formVersion: parentFormVersion
873
- }
874
- }
875
- };
876
- const followUpFormSubmission = new UdpFormSubmission({ formId: followUpFormId, formVersion: followUpFormVersion, unityUserId: this.userId, data: followUpSubmissionData });
877
- const followUpFormSubmissionHandler = FormSubmissionHandlerFactory.create(false, this.userId);
878
- const response = await followUpFormSubmissionHandler.createNewLinkedFollowUpFormSubmission(followUpFormSubmission);
879
- // update the current form submission state with the follow up form submission id in the metadata
880
- const itemMetadata = this.udpFormSubmission.data.submissionResponseData[sectionKey][questionKey].metadata;
881
- this.udpFormSubmission.data.submissionResponseData[sectionKey][questionKey].metadata = Object.assign(Object.assign({}, itemMetadata), { followUpFormSubmissionId: response.id });
882
- await this.performBackgroundSaveAndUpdateLocalSubmissionState(this.udpFormSubmission.data.submissionResponseData);
883
- const url = `/page/${UdpFormsPageIdEnum.FormRendererPageId}?udpf_submissionId=${response.id}`;
884
- window.open(url, '_blank');
885
- this.handleSideSheetClose();
886
- this.triggerFormRerender();
887
- };
888
- this.handleSideSheetClose = () => {
889
- // reset side sheet data
890
- this.sideSheetFollowUpFormsList = [];
891
- this.followUpSideSheetListPageNumber = 1;
892
- this.followUpSideSheetTotalItems = 0;
893
- this.isFollowUpFormsSideSheetOpen = false;
894
- this.followUpParentSectionKey = '';
895
- this.followUpParentQuestionKey = '';
896
- };
897
- }
898
- componentDidLoad() {
899
- if (this.el) {
900
- this.el.addEventListener('questionCommentAction', async (e) => this.handleQuestionCommentLiveCRUD(e));
901
- // Listen for launchFollowUpFormSideSheet event from udp-question
902
- this.el.addEventListener('launchFollowUpFormSideSheet', (e) => this.handleLaunchFollowUpFormSideSheet(e));
903
- this.el.addEventListener('formDirtyChange', (e) => {
904
- this.isFormDirty = e.detail;
905
- });
906
- }
907
- }
908
- async componentWillLoad() {
909
- var _a;
910
- this.isLoading = true;
911
- try {
912
- // Get user info if available
913
- const user = (_a = this.getUserCallback) === null || _a === void 0 ? void 0 : _a.call(this);
914
- if (user) {
915
- this.userId = user.id || null;
916
- this.userDisplayName = user.name || null;
917
- }
918
- this.formSubmissionHandler = FormSubmissionHandlerFactory.create(this.isPublic, this.userId);
919
- this.udpFormSubmission = new UdpFormSubmission({ id: this.submissionId, formId: this.formId, formVersion: this.version, unityUserId: this.userId, generic1: this.generic1, generic2: this.generic2, generic3: this.generic3 });
920
- // fetch existing submission from Udp.FormSubmission if submissionId is provided
921
- // take exisitng object, and populate with db values, and return new obj with updated values
922
- if (this.submissionId) {
923
- this.udpFormSubmission = await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission);
924
- }
925
- // get the master form from Udp.Form
926
- let formId;
927
- let formVersion;
928
- if (this.submissionId) {
929
- formId = this.udpFormSubmission.formId;
930
- formVersion = this.udpFormSubmission.formVersion;
931
- }
932
- else if (this.formId && this.version) {
933
- formId = this.formId;
934
- formVersion = this.version;
935
- }
936
- this.formHandler = new UdpFormHandler(this.tenantId);
937
- const formData = await this.formHandler.getFormByFormIdAndFormVersion(formId, formVersion);
938
- this.udpForm = new UdpForm(formData);
939
- this.initialValues = buildEmptyInitialValues(this.udpForm);
940
- // if there's existing data, update the form's state
941
- if (this.udpFormSubmission.data.submissionResponseData) {
942
- this.initialValues = Object.assign({}, this.udpFormSubmission.data.submissionResponseData);
943
- if (this.udpFormSubmission.status === 2 || this.udpFormSubmission.status === 'submitted') {
944
- this.isSubmitted = true;
945
- }
946
- }
947
- this.initializeDynamicSections(); // process the master form into dynamic sections
948
- // After sections/questions are prepared, seed initial values from URL for ALL questions,
949
- // with saved values taking precedence, and paragraph defaults as a fallback.
950
- this.applyUrlInitialValuesForAll();
951
- // Set up throttled manual save function (5 seconds) - fires immediately, then throttles
952
- this.debouncedManualSave = throttle(async (values) => {
953
- await this.handleManualSave(values);
954
- }, 2000, { leading: true, trailing: false });
955
- // Set up debounced auto-save function (currently disabled)
956
- // this.debouncedAutoSave = debounce(async (values: { [name: string]: any }) => {
957
- // // await this.handleAutoSave(values); // Disabled for now
958
- // }, this.autoSaveDelay);
959
- }
960
- catch (error) {
961
- console.error('Error failed to load form in the form renderer:', error);
962
- }
963
- finally {
964
- this.isLoading = false;
965
- }
966
- }
967
- // build dynamic sections based on the
968
- initializeDynamicSections() {
969
- var _a;
970
- const tempDynamicSection = [];
971
- const sortedSections = structuredClone(this.udpForm.udpFormUdpFormSection).sort((a, b) => a.order - b.order);
972
- for (const section of sortedSections) {
973
- section.sectionProperties = JSON.parse(section.sectionProperties || {});
974
- const repeatGroupKeys = this.findRepeatGroupKeys(section.name, this.initialValues);
975
- section.isOriginalSection = true;
976
- section.sectionPositionSuffix = 1; // default position
977
- // always add the original section into dynamic sections
978
- tempDynamicSection.push(Object.assign(Object.assign({}, structuredClone(section)), {
979
- // dynamicSectionName: section.name,
980
- formQuestions: structuredClone(this.udpForm.formQuestions)
981
- .filter(q => q.formSectionId === section.id)
982
- .sort((a, b) => a.questionOrder - b.questionOrder)
983
- .map(q => (Object.assign(Object.assign({}, q), { questionIdentifierKey: `${section.name}.${q.name}`, isShowCommentInput: true })))
984
- }));
985
- // create then add additional sections if there are repeated sections
986
- if (((_a = section.sectionProperties) === null || _a === void 0 ? void 0 : _a.isRepeatable) && repeatGroupKeys.length > 0) {
987
- const maxRepeatedSectionSuffix = Math.max(...repeatGroupKeys); // create a new section for the max value of repeat group keys, even if there are no saved answers
988
- // for (const repeatKey of repeatGroupKeys) { // create a section only for the suffix saved
989
- for (let repeatKey = 2; repeatKey <= maxRepeatedSectionSuffix; repeatKey++) {
990
- const clonedSection = Object.assign(Object.assign({}, structuredClone(section)), { formQuestions: structuredClone(this.udpForm.formQuestions)
991
- .filter(q => q.formSectionId === section.id)
992
- .sort((a, b) => a.questionOrder - b.questionOrder)
993
- .map(q => (Object.assign(Object.assign({}, q), { questionIdentifierKey: `${section.name}_${repeatKey}.${q.name}`, isShowCommentInput: true }))), isOriginalSection: false, sectionPositionSuffix: repeatKey });
994
- tempDynamicSection.push(clonedSection);
995
- }
996
- }
997
- }
998
- this.dynamicSections = tempDynamicSection;
999
- }
1000
- findRepeatGroupKeys(sectionName, values) {
1001
- const keys = Object.keys(values);
1002
- const repeatGroupSet = new Set();
1003
- // Match: sectionName_2
1004
- const regex = new RegExp(`^${sectionName}_(\\d+)`);
1005
- keys.forEach(key => {
1006
- const match = key.match(regex);
1007
- if (match && match[1]) {
1008
- repeatGroupSet.add(Number(match[1]));
1009
- }
1010
- });
1011
- return Array.from(repeatGroupSet).sort((a, b) => a - b);
1012
- }
1013
- // Build initial values from URL for ALL fields, but do NOT override saved values.
1014
- // For Paragraph, also fall back to the builder's default text when nothing else provided.
1015
- applyUrlInitialValuesForAll() {
1016
- if (!Array.isArray(this.dynamicSections))
1017
- return;
1018
- const urlParams = typeof window !== 'undefined' ? new URLSearchParams(window.location.search) : null;
1019
- // 1) Collect URL values into nested structure: { [sectionKey]: { [questionName]: { value, comments: [] } } }
1020
- const urlValuesNested = {};
1021
- if (urlParams) {
1022
- this.dynamicSections.forEach(section => {
1023
- const sectionKey = section.isOriginalSection
1024
- ? section.name
1025
- : `${section.name}_${section.sectionPositionSuffix}`;
1026
- (section.formQuestions || []).forEach(q => {
1027
- if (!q)
1028
- return;
1029
- const candidates = [q.processedSubmissionName, q.questionIdentifierKey, q.name].filter(Boolean);
1030
- let urlVal = null;
1031
- for (const c of candidates) {
1032
- urlVal = urlParams.get(c);
1033
- if (urlVal !== null)
1034
- break;
1035
- }
1036
- if (urlVal !== null) {
1037
- if (!urlValuesNested[sectionKey])
1038
- urlValuesNested[sectionKey] = {};
1039
- urlValuesNested[sectionKey][q.name] = { value: urlVal, comments: [] };
1040
- }
1041
- });
1042
- });
1043
- }
1044
- // 2) Merge with saved values (this.initialValues) taking precedence
1045
- const merged = structuredClone(this.initialValues) || {};
1046
- Object.entries(urlValuesNested).forEach(([sectionKey, qMap]) => {
1047
- if (!merged[sectionKey])
1048
- merged[sectionKey] = {};
1049
- Object.entries(qMap).forEach(([qName, valObj]) => {
1050
- const existing = merged[sectionKey][qName];
1051
- // Only set from URL if no saved value exists (null/undefined/empty-string)
1052
- const isMissing = existing == null ||
1053
- existing.value == null ||
1054
- (typeof existing.value === 'string' && existing.value.trim() === '');
1055
- if (isMissing) {
1056
- merged[sectionKey][qName] = valObj;
1057
- }
1058
- });
1059
- });
1060
- // 3) Paragraph defaults: if still undefined/null, use fieldProperties.paragraphText
1061
- this.dynamicSections.forEach(section => {
1062
- const sectionKey = section.isOriginalSection
1063
- ? section.name
1064
- : `${section.name}_${section.sectionPositionSuffix}`;
1065
- if (!merged[sectionKey])
1066
- merged[sectionKey] = {};
1067
- (section.formQuestions || []).forEach(q => {
1068
- var _a;
1069
- if (!q)
1070
- return;
1071
- if (q.fieldTypeId === UdpFormsFieldTypeEnum.Paragraph) {
1072
- const existing = merged[sectionKey][q.name];
1073
- const isMissing = existing == null ||
1074
- existing.value == null ||
1075
- (typeof existing.value === 'string' && existing.value.trim() === '');
1076
- if (isMissing) {
1077
- let fieldProps = q === null || q === void 0 ? void 0 : q.fieldProperties;
1078
- if (typeof fieldProps === 'string') {
1079
- try {
1080
- fieldProps = JSON.parse(fieldProps || '{}');
1081
- }
1082
- catch (_b) {
1083
- fieldProps = {};
1084
- }
1085
- }
1086
- merged[sectionKey][q.name] = {
1087
- value: (_a = fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.paragraphText) !== null && _a !== void 0 ? _a : '',
1088
- comments: [],
1089
- };
1090
- }
1091
- }
1092
- });
1093
- });
1094
- this.initialValues = merged;
1095
- this.udpFormSubmission.data.submissionResponseData = Object.assign({}, merged);
1096
- }
1097
- async handleSubmit(values) {
1098
- this.isLoading = true;
1099
- try {
1100
- this.udpFormSubmission = await this.formSubmissionHandler.finalizeFormSubmissionState(values, this.udpFormSubmission);
1101
- this.submitSuccessful = true;
1102
- }
1103
- catch (error) {
1104
- this.enqueueSnackbar('There was an error submitting this form', {
1105
- variant: 'error',
1106
- anchorOrigin: { vertical: 'top', horizontal: 'center' },
1107
- });
1108
- throw error;
1109
- }
1110
- finally {
1111
- this.isLoading = false;
1112
- }
1113
- }
1114
- replaceUrlWithSubmissionId(submissionId) {
1115
- // build a URL that preserves the current pathname + hash but replaces the query string
1116
- const pathname = typeof window !== 'undefined' ? window.location.pathname : `/page/${UdpFormsPageIdEnum.FormRendererPageId}`;
1117
- const hash = typeof window !== 'undefined' ? window.location.hash : '';
1118
- const newUrl = `${pathname}?udpf_submissionId=${submissionId}${hash}`;
1119
- const h = this.history;
1120
- // Prefer history.replace when available, handle react-router v6 navigate function, fallback to push or native replaceState
1121
- if (h) {
1122
- if (typeof h.replace === 'function') {
1123
- h.replace(newUrl);
1124
- return;
1125
- }
1126
- if (typeof h.push === 'function') {
1127
- h.push(newUrl);
1128
- return;
1129
- }
1130
- // react-router v6 exposes a navigate function
1131
- if (typeof h === 'function') {
1132
- try {
1133
- h(newUrl, { replace: true });
1134
- }
1135
- catch (_a) {
1136
- h(newUrl);
1137
- }
1138
- return;
1139
- }
1140
- }
1141
- if (typeof window !== 'undefined' && window.history && typeof window.history.replaceState === 'function') {
1142
- window.history.replaceState({}, '', newUrl);
1143
- }
1144
- else if (typeof window !== 'undefined') {
1145
- window.location.href = newUrl;
1146
- }
1147
- }
1148
- async handleQuestionCommentLiveCRUD(e) {
1149
- var _a, _b, _c;
1150
- try {
1151
- const { type, questionIdentifierKey, commentId } = e.detail;
1152
- const [sectionName, questionName] = questionIdentifierKey.split('.');
1153
- let newInitialValues = structuredClone(this.udpFormSubmission.data.submissionResponseData || {});
1154
- // ensure structure exists WITHOUT overwriting existing data
1155
- if (!newInitialValues[sectionName])
1156
- newInitialValues[sectionName] = {};
1157
- if (!newInitialValues[sectionName][questionName]) {
1158
- // create defaults but do not clobber any existing saved shape from submissionResponseData
1159
- newInitialValues[sectionName][questionName] = {
1160
- value: '',
1161
- comments: [],
1162
- draftComments: [],
1163
- metadata: {},
1164
- };
1165
- }
1166
- else {
1167
- // ensure arrays/objects exist so later code can safely push/filter
1168
- newInitialValues[sectionName][questionName].comments = (_a = newInitialValues[sectionName][questionName].comments) !== null && _a !== void 0 ? _a : [];
1169
- newInitialValues[sectionName][questionName].draftComments = (_b = newInitialValues[sectionName][questionName].draftComments) !== null && _b !== void 0 ? _b : [];
1170
- newInitialValues[sectionName][questionName].metadata = (_c = newInitialValues[sectionName][questionName].metadata) !== null && _c !== void 0 ? _c : {};
1171
- }
1172
- // normalize draftComments to array if needed (back-compat)
1173
- const maybeDraft = newInitialValues[sectionName][questionName].draftComments;
1174
- if (maybeDraft && !Array.isArray(maybeDraft)) {
1175
- newInitialValues[sectionName][questionName].draftComments = [maybeDraft];
1176
- }
1177
- else if (!maybeDraft) {
1178
- newInitialValues[sectionName][questionName].draftComments = [];
1179
- }
1180
- const commentsArr = newInitialValues[sectionName][questionName].comments || [];
1181
- const draftsArr = newInitialValues[sectionName][questionName].draftComments || [];
1182
- switch (type) {
1183
- case 'add': {
1184
- const newDraft = {
1185
- value: '',
1186
- commentId: v4(),
1187
- isTempComment: true,
1188
- timestamp: null,
1189
- };
1190
- // put new draft first so activeDraft === draftComments[0] matches UX
1191
- newInitialValues[sectionName][questionName].draftComments = [newDraft, ...draftsArr];
1192
- break;
1193
- }
1194
- case 'save': {
1195
- // find draft by id
1196
- const draftIdx = draftsArr.findIndex(d => d.commentId === commentId);
1197
- if (draftIdx === -1)
1198
- return;
1199
- const draft = draftsArr[draftIdx];
1200
- const saveTimestamp = draft.timestamp || new Date().toISOString();
1201
- const savedComment = Object.assign(Object.assign({}, draft), { timestamp: saveTimestamp, editedTimestamp: new Date().toISOString(), userId: this.userId, userDisplayName: this.userDisplayName, isDraftComment: false });
1202
- // If a saved comment with same id exists, replace it. Otherwise append.
1203
- const existingIdx = commentsArr.findIndex(c => c.commentId === commentId);
1204
- if (existingIdx !== -1) {
1205
- const newComments = [...commentsArr];
1206
- newComments[existingIdx] = Object.assign({}, savedComment);
1207
- newInitialValues[sectionName][questionName].comments = newComments;
1208
- }
1209
- else {
1210
- newInitialValues[sectionName][questionName].comments = [...commentsArr, savedComment];
1211
- }
1212
- // remove that draft
1213
- newInitialValues[sectionName][questionName].draftComments = draftsArr.filter(d => d.commentId !== commentId);
1214
- break;
1215
- }
1216
- case 'edit': {
1217
- // create a draft copy of the saved comment but DO NOT remove the saved comment from the list.
1218
- const saved = commentsArr.find(c => c.commentId === commentId);
1219
- if (!saved)
1220
- return;
1221
- const draftFromSaved = Object.assign(Object.assign({}, saved), { isDraftComment: true, timestamp: null });
1222
- // Add this draft at the front; keep saved comment intact so content doesn't disappear.
1223
- newInitialValues[sectionName][questionName].draftComments = [draftFromSaved, ...draftsArr];
1224
- newInitialValues[sectionName][questionName].comments = commentsArr;
1225
- break;
1226
- }
1227
- case 'delete': {
1228
- // mark the comment as deleted and clear its value, then persist.
1229
- newInitialValues[sectionName][questionName].comments = commentsArr.map(c => {
1230
- if (c.commentId === commentId) {
1231
- return Object.assign(Object.assign({}, c), { isDeleted: true, value: '', editedTimestamp: new Date().toISOString() });
1232
- }
1233
- return c;
1234
- });
1235
- break;
1236
- }
1237
- case 'editClose': {
1238
- // Cancel edit: remove the draft only, do NOT restore/alter saved comments.
1239
- newInitialValues[sectionName][questionName].draftComments = draftsArr.filter(d => d.commentId !== commentId);
1240
- break;
1241
- }
1242
- }
1243
- // if it's a save or delete action, persist immediately
1244
- if (type === 'save' || type === 'delete') {
1245
- this.udpFormSubmission.data.submissionResponseData = Object.assign({}, newInitialValues);
1246
- await this.handleCommmentUpdate(newInitialValues);
1247
- }
1248
- else {
1249
- this.initialValues = Object.assign({}, newInitialValues);
1250
- this.udpFormSubmission.data.submissionResponseData = Object.assign({}, newInitialValues);
1251
- }
1252
- }
1253
- catch (error) {
1254
- console.error('Error handling live comment CRUD:', error);
1255
- }
1256
- finally {
1257
- this.triggerFormRerender();
1258
- }
1259
- }
1260
- async loadFollowUpForms(sectionKey, questionKey) {
1261
- var _a;
1262
- this.isLoading = true;
1263
- this.saveErrorMessage = '';
1264
- try {
1265
- const response = await fetchLatestForms(this.followUpSideSheetListPageNumber, this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE, [{ searchField: 'type', searchOperator: '=', searchValue: UdpFormsTypeEnum.FollowUp }], { sortDirection: 'DESC', sortColumn: 'lastModifiedOn' });
1266
- const data = response.data;
1267
- if (!data || !Array.isArray(data.pageList)) {
1268
- throw new Error('Malformed form versions data.');
1269
- }
1270
- this.sideSheetFollowUpFormsList = this.formatFollowUpFormsList(data.pageList, sectionKey, questionKey);
1271
- this.followUpSideSheetTotalItems = (_a = data.total) !== null && _a !== void 0 ? _a : 0;
1272
- }
1273
- catch (err) {
1274
- console.error('Failed to follow up form.', err);
1275
- this.saveErrorMessage = 'Failed to follow up forms.';
1276
- }
1277
- finally {
1278
- this.isLoading = false;
1279
- }
1280
- }
1281
- formatFollowUpFormsList(followUpFormsList, sectionKey, questionKey) {
1282
- return followUpFormsList.map(item => ({
1283
- listItemData: item,
1284
- history: this.history,
1285
- handleLaunchFollowUpForm: async () => await this.handleLaunchFollowUpForm(item.id, item.version, this.udpFormSubmission.id, this.udpFormSubmission.formId, this.udpFormSubmission.formVersion, sectionKey, questionKey),
1286
- }));
1287
- }
1288
- async handleSideSheetPageChange(page) {
1289
- this.followUpSideSheetListPageNumber = page;
1290
- await this.loadFollowUpForms(this.followUpParentSectionKey, this.followUpParentQuestionKey);
1291
- }
1292
- renderFollowUpSideSheet() {
1293
- return (h("udp-side-sheet", { title: "Link a Follow Up Form", open: this.isFollowUpFormsSideSheetOpen, onUdpSideSheetClose: () => this.handleSideSheetClose(), position: "right", width: "md" }, this.isLoading && this.isFollowUpFormsSideSheetOpen && h("udp-linear-loader", null), h("udp-list-renderer", { itemComponent: "udp-forms-follow-up-list-card", data: this.sideSheetFollowUpFormsList, pagination: true, isServerSide: true, isLoading: this.isLoading, itemsPerPage: this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE, currentPage: this.followUpSideSheetListPageNumber, totalItems: this.followUpSideSheetTotalItems, onPageChange: e => this.handleSideSheetPageChange(e.detail), componentDataMap: this.componentMap, spacing: 'md' })));
1294
- }
1295
- isShowManualSaveIcon() {
1296
- // return (this.isFormDirty || this.isUserUpdatedSections) && !this.isSubmitted && !!this.userId;
1297
- const showSaveIcon = (this.isFormDirty || this.isUserUpdatedSections) && !!this.userId;
1298
- return showSaveIcon;
1299
- }
1300
- ;
1301
- get isReadOnlyMode() {
1302
- return this.isSubmitted || this.udpFormSubmission.unityUserId !== this.userId;
1303
- }
1304
- get isShowCommentUI() {
1305
- return this.isSubmitted;
1306
- }
1307
- render() {
1308
- return (h("div", { key: '3413178234aeae9794004a7b1504671052b2b758', class: "forms-renderer-container", style: this.isLoading ? { minHeight: '100vh' } : {} }, this.renderFollowUpSideSheet(), h("udp-forms-ui", { udpForm: this.udpForm, initialValues: this.initialValues, udpFormSubmission: this.udpFormSubmission, submitSuccessful: this.submitSuccessful, isSaving: this.isSaving, saveErrorMessage: this.saveErrorMessage,
1309
- // showAutoSaveStatus={this.formSubmissionHandler.supportsAutoSave() && !!this.userId}
1310
- readonly: this.isReadOnlyMode, handleSubmit: this.handleSubmit.bind(this), handleSave: values => Promise.resolve(this.debouncedManualSave(values)), handleChange: this.handleFormChange, handleAction: this.triggerAction, handleFinish: this.handleFinish, userId: this.userId, isSubmitted: this.isSubmitted, dynamicSections: this.dynamicSections, duplicateRepeatableSection: this.duplicateRepeatableSection, deleteRepeatableSection: this.deleteRepeatableSection, key: `form-rerender-key-${this.reRenderKey}`, isShowManualSaveIcon: this.isShowManualSaveIcon(), isLoading: this.isLoading, isCommentAllowed: this.isShowCommentUI, performBackgroundSaveAndUpdateLocalSubmissionState: this.performBackgroundSaveAndUpdateLocalSubmissionState })));
1311
- }
1312
- get el() { return this; }
1313
- }, [257, "udp-forms-renderer", {
1314
- "formId": [1, "form-id"],
1315
- "version": [2],
1316
- "submissionId": [1, "submission-id"],
1317
- "triggerAction": [16],
1318
- "isPublic": [4, "is-public"],
1319
- "callbackUrl": [1, "callback-url"],
1320
- "getUserCallback": [16],
1321
- "enqueueSnackbar": [16],
1322
- "closeSnackbar": [16],
1323
- "autoSaveDelay": [2, "auto-save-delay"],
1324
- "history": [8],
1325
- "generic1": [8, "generic-1"],
1326
- "generic2": [8, "generic-2"],
1327
- "generic3": [8, "generic-3"],
1328
- "initialValues": [32],
1329
- "submitSuccessful": [32],
1330
- "currentFormData": [32],
1331
- "isLoading": [32],
1332
- "isSaving": [32],
1333
- "isSubmitted": [32],
1334
- "saveErrorMessage": [32],
1335
- "dynamicSections": [32],
1336
- "isUpdatingSections": [32],
1337
- "reRenderKey": [32],
1338
- "isFormDirty": [32],
1339
- "isUserUpdatedSections": [32],
1340
- "sideSheetFollowUpFormsList": [32],
1341
- "followUpSideSheetTotalItems": [32],
1342
- "isFollowUpFormsSideSheetOpen": [32],
1343
- "followUpSideSheetListPageNumber": [32]
1344
- }]);
1345
- function defineCustomElement$1() {
1346
- if (typeof customElements === "undefined") {
1347
- return;
1348
- }
1349
- const components = ["udp-forms-renderer", "custom-button", "file-upload", "fluent-dialog", "image-upload", "numeric-field", "selectable-list", "signature-input", "stencil-field", "stencil-form", "stencil-icon-button", "tally-display", "text-area", "text-field", "udp-adornment", "udp-ambient-card", "udp-ambient-tool-tip", "udp-badge", "udp-button", "udp-container", "udp-date-selector", "udp-datetime-selector", "udp-forms-ui", "udp-icon", "udp-icon-button", "udp-linear-loader", "udp-list-renderer", "udp-menu-item", "udp-pagination", "udp-pop-over", "udp-question", "udp-question-comments", "udp-save-draft-button", "udp-selector", "udp-side-sheet", "udp-time-selector", "unity-typography"];
1350
- components.forEach(tagName => { switch (tagName) {
1351
- case "udp-forms-renderer":
1352
- if (!customElements.get(tagName)) {
1353
- customElements.define(tagName, UdpFormsRenderer$1);
1354
- }
1355
- break;
1356
- case "custom-button":
1357
- if (!customElements.get(tagName)) {
1358
- defineCustomElement$B();
1359
- }
1360
- break;
1361
- case "file-upload":
1362
- if (!customElements.get(tagName)) {
1363
- defineCustomElement$A();
1364
- }
1365
- break;
1366
- case "fluent-dialog":
1367
- if (!customElements.get(tagName)) {
1368
- defineCustomElement$z();
1369
- }
1370
- break;
1371
- case "image-upload":
1372
- if (!customElements.get(tagName)) {
1373
- defineCustomElement$y();
1374
- }
1375
- break;
1376
- case "numeric-field":
1377
- if (!customElements.get(tagName)) {
1378
- defineCustomElement$x();
1379
- }
1380
- break;
1381
- case "selectable-list":
1382
- if (!customElements.get(tagName)) {
1383
- defineCustomElement$w();
1384
- }
1385
- break;
1386
- case "signature-input":
1387
- if (!customElements.get(tagName)) {
1388
- defineCustomElement$v();
1389
- }
1390
- break;
1391
- case "stencil-field":
1392
- if (!customElements.get(tagName)) {
1393
- defineCustomElement$u();
1394
- }
1395
- break;
1396
- case "stencil-form":
1397
- if (!customElements.get(tagName)) {
1398
- defineCustomElement$t();
1399
- }
1400
- break;
1401
- case "stencil-icon-button":
1402
- if (!customElements.get(tagName)) {
1403
- defineCustomElement$s();
1404
- }
1405
- break;
1406
- case "tally-display":
1407
- if (!customElements.get(tagName)) {
1408
- defineCustomElement$r();
1409
- }
1410
- break;
1411
- case "text-area":
1412
- if (!customElements.get(tagName)) {
1413
- defineCustomElement$q();
1414
- }
1415
- break;
1416
- case "text-field":
1417
- if (!customElements.get(tagName)) {
1418
- defineCustomElement$p();
1419
- }
1420
- break;
1421
- case "udp-adornment":
1422
- if (!customElements.get(tagName)) {
1423
- defineCustomElement$o();
1424
- }
1425
- break;
1426
- case "udp-ambient-card":
1427
- if (!customElements.get(tagName)) {
1428
- defineCustomElement$n();
1429
- }
1430
- break;
1431
- case "udp-ambient-tool-tip":
1432
- if (!customElements.get(tagName)) {
1433
- defineCustomElement$m();
1434
- }
1435
- break;
1436
- case "udp-badge":
1437
- if (!customElements.get(tagName)) {
1438
- defineCustomElement$l();
1439
- }
1440
- break;
1441
- case "udp-button":
1442
- if (!customElements.get(tagName)) {
1443
- defineCustomElement$k();
1444
- }
1445
- break;
1446
- case "udp-container":
1447
- if (!customElements.get(tagName)) {
1448
- defineCustomElement$j();
1449
- }
1450
- break;
1451
- case "udp-date-selector":
1452
- if (!customElements.get(tagName)) {
1453
- defineCustomElement$i();
1454
- }
1455
- break;
1456
- case "udp-datetime-selector":
1457
- if (!customElements.get(tagName)) {
1458
- defineCustomElement$h();
1459
- }
1460
- break;
1461
- case "udp-forms-ui":
1462
- if (!customElements.get(tagName)) {
1463
- defineCustomElement$g();
1464
- }
1465
- break;
1466
- case "udp-icon":
1467
- if (!customElements.get(tagName)) {
1468
- defineCustomElement$f();
1469
- }
1470
- break;
1471
- case "udp-icon-button":
1472
- if (!customElements.get(tagName)) {
1473
- defineCustomElement$e();
1474
- }
1475
- break;
1476
- case "udp-linear-loader":
1477
- if (!customElements.get(tagName)) {
1478
- defineCustomElement$d();
1479
- }
1480
- break;
1481
- case "udp-list-renderer":
1482
- if (!customElements.get(tagName)) {
1483
- defineCustomElement$c();
1484
- }
1485
- break;
1486
- case "udp-menu-item":
1487
- if (!customElements.get(tagName)) {
1488
- defineCustomElement$b();
1489
- }
1490
- break;
1491
- case "udp-pagination":
1492
- if (!customElements.get(tagName)) {
1493
- defineCustomElement$a();
1494
- }
1495
- break;
1496
- case "udp-pop-over":
1497
- if (!customElements.get(tagName)) {
1498
- defineCustomElement$9();
1499
- }
1500
- break;
1501
- case "udp-question":
1502
- if (!customElements.get(tagName)) {
1503
- defineCustomElement$8();
1504
- }
1505
- break;
1506
- case "udp-question-comments":
1507
- if (!customElements.get(tagName)) {
1508
- defineCustomElement$7();
1509
- }
1510
- break;
1511
- case "udp-save-draft-button":
1512
- if (!customElements.get(tagName)) {
1513
- defineCustomElement$6();
1514
- }
1515
- break;
1516
- case "udp-selector":
1517
- if (!customElements.get(tagName)) {
1518
- defineCustomElement$5();
1519
- }
1520
- break;
1521
- case "udp-side-sheet":
1522
- if (!customElements.get(tagName)) {
1523
- defineCustomElement$4();
1524
- }
1525
- break;
1526
- case "udp-time-selector":
1527
- if (!customElements.get(tagName)) {
1528
- defineCustomElement$3();
1529
- }
1530
- break;
1531
- case "unity-typography":
1532
- if (!customElements.get(tagName)) {
1533
- defineCustomElement$2();
1534
- }
1535
- break;
1536
- } });
1537
- }
1538
-
1539
- const UdpFormsRenderer = UdpFormsRenderer$1;
1540
- const defineCustomElement = defineCustomElement$1;
1541
-
1542
- export { UdpFormsRenderer, defineCustomElement };
1543
- //# sourceMappingURL=udp-forms-renderer.js.map
1544
-
1545
- //# sourceMappingURL=udp-forms-renderer.js.map
1
+ import{p as t,H as s,h as e,t as i}from"./index2.js";import{throttle as o}from"lodash";import{g as n}from"./tenantUtils.js";import{f as r}from"./udp-form-api-utils.js";import{c as a,b as l,U as u,a as c}from"./enums.js";import{b as d}from"./utils.js";import{c as m,m as h}from"./makeApiCall.js";import{S as p,c as f}from"./SearchBuilder.js";import{C as b}from"./configService.js";import{v4 as y}from"uuid";import{d as v}from"./custom-button2.js";import{d as w}from"./file-upload2.js";import{d as j}from"./fluent-dialog2.js";import{d as S}from"./form-metadata-display2.js";import{d as O}from"./image-upload2.js";import{d as g}from"./numeric-field2.js";import{d as F}from"./selectable-list2.js";import{d as I}from"./signature-input2.js";import{d as C}from"./stencil-field2.js";import{d as E}from"./stencil-form2.js";import{d as k}from"./stencil-icon-button2.js";import{d as D}from"./tally.js";import{d as $}from"./text-area2.js";import{d as U}from"./text-field2.js";import{d as x}from"./udp-adornment2.js";import{d as q}from"./udp-ambient-card2.js";import{d as K}from"./udp-ambient-tool-tip2.js";import{d as P}from"./udp-badge2.js";import{d as A}from"./udp-button2.js";import{d as L}from"./udp-container2.js";import{d as R}from"./udp-date-selector2.js";import{d as _}from"./udp-datetime-selector2.js";import{d as M}from"./udp-forms-ui2.js";import{d as T}from"./udp-icon2.js";import{d as V}from"./udp-icon-button2.js";import{d as N}from"./udp-linear-loader2.js";import{d as B}from"./udp-list-renderer2.js";import{d as J}from"./udp-menu-item2.js";import{d as Q}from"./udp-pagination2.js";import{d as z}from"./udp-pop-over2.js";import{d as W}from"./udp-question2.js";import{d as G}from"./udp-question-comments2.js";import{d as H}from"./udp-save-draft-button2.js";import{d as X}from"./udp-selector2.js";import{d as Y}from"./udp-side-sheet2.js";import{d as Z}from"./udp-time-selector2.js";import{d as tt}from"./unity-typography2.js";class st{constructor(t={}){this.id=null,this.formId=null,this.formVersion=null,this.data={},this.unityUserId=null,this.clusterId=null,this.userDisplayName="",this.status=null,this.businessObjectKey="",this.udpTags=[],this.form=null,this.initialCreatedOn=null,this.lastModifiedOn=null,this.submittedOn=null,this.generic1=null,this.generic2=null,this.generic3=null,this.userEmail=null,Object.assign(this,t)}processSubmissionIntoFormDataWithoutValues(t){const s=this.buildBaseSubmissionData(t),e=m(s);return e.append("Data",JSON.stringify(this.data)),e}processSubmissionIntoFormData(t,s){const e=this.buildBaseSubmissionData(s),{cleanedData:i,files:o}=this.extractCleanedDataAndFiles(t),n=m(e);return o.forEach((t=>n.append("FormFiles",t))),n.append("Data",JSON.stringify({submissionResponseData:i,submissionMetadata:this.data.submissionMetadata||null})),n}buildBaseSubmissionData(t){const s={FormId:this.formId,FormVersion:""+this.formVersion,Status:t};return this.id&&(s.Id=this.id),s.InitialCreatedOn=this.initialCreatedOn?this.initialCreatedOn:(new Date).toISOString(),s.LastModifiedOn=this.lastModifiedOn?this.lastModifiedOn:(new Date).toISOString(),this.submittedOn&&(s.submittedOn=this.submittedOn),this.generic1&&(s.generic1=""+this.generic1),this.generic2&&(s.generic2=""+this.generic2),this.generic3&&(s.generic3=""+this.generic3),s}extractCleanedDataAndFiles(t){const s=[],e={};for(const i in t){e[i]={};for(const o in t[i]){const n=t[i][o],{value:r,fieldFiles:a}=this.extractValueAndFiles(n);a&&s.push(...a);const l=this.processComments(n.comments),u=this.processMetadata(n.metadata);e[i][o]=Object.assign({value:r,comments:l},u&&{metadata:u})}}return{cleanedData:e,files:s}}extractValueAndFiles(t){var s,e;let i=(null===(s=null==t?void 0:t.value)||void 0===s?void 0:s.files)?t.value.value:null==t?void 0:t.value;const o=null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.files;return o&&Array.isArray(o)?{value:"string"==typeof i&&""!==i.trim()?i:"",fieldFiles:o}:function(t){return!!Array.isArray(t)&&t.every((t=>t instanceof File))}(i)?{value:i.length>0?i.map((t=>t.name)).join(","):"",fieldFiles:i}:i instanceof File?{value:i.name,fieldFiles:[i]}:Array.isArray(i)?{value:i.map((t=>"string"==typeof t?t:null==t?void 0:t.value)).join(",")}:{value:i}}processComments(t){var s;return null!==(s=null==t?void 0:t.map((t=>Object.assign({},t))))&&void 0!==s?s:[]}processMetadata(t){return t&&Object.keys(t).length>0?Object.assign({},t):void 0}}class et{constructor(t){this.accessMode=t}async addComment(t,s){if(!(null==t?void 0:t.id))throw Error("Cannot add a comment without a submission ID.");const e=`${b.productV1ApiUrl}/UdpFormSubmission/${t.id}/comments/${this.accessMode}`;await h("POST",e,s,!0)}async updateComment(t,s){if(!(null==t?void 0:t.id))throw Error("Cannot update a comment without a submission ID.");const{sectionKey:e,questionKey:i,commentId:o,value:n}=s,r=`${b.productV1ApiUrl}/UdpFormSubmission/${t.id}/comments/${o}`;await h("PUT",r,{value:n,sectionKey:e,questionKey:i},!0)}async deleteComment(t,s){if(!(null==t?void 0:t.id))throw Error("Cannot delete a comment without a submission ID.");const{commentId:e}=s,i=`${b.productV1ApiUrl}/UdpFormSubmission/${t.id}/comments/${e}`;await h("DELETE",i,null,!0)}async fetchAndPopulateUdpFormSubmissionObj(t){if(!(null==t?void 0:t.id))return console.warn("Cannot fetch form submission without an ID."),t;if("public"===this.accessMode){const s=await this.getFormSubmissionByIdAndUser(t.id,t.unityUserId);return s?new st(Object.assign(Object.assign({},t),s)):t}const{id:s}=t,e=await this.getFormSubmissionById(s);return e?new st(Object.assign(Object.assign({},t),e)):t}async createNewLinkedFollowUpFormSubmission(t){if("public"===this.accessMode)throw Error("Follow-up form submissions are not supported for public forms.");return this.saveFormDataWithoutValues(t,a.InProgress)}async saveCurrentFormSubmissionState(t,s){return"public"===this.accessMode?s:this.saveSubmissionToDB(t,s,a.InProgress)}async finalizeFormSubmissionState(t,s){return this.saveSubmissionToDB(t,s,a.Submitted)}async saveFormDataWithoutValues(t,s){const e=t.processSubmissionIntoFormDataWithoutValues(s),{method:i,url:o}=this.getApiRequestInfo(t),n=await h(i,o,e,!0);return""===n?await this.fetchAndPopulateUdpFormSubmissionObj(t):new st(Object.assign(Object.assign({},t),n))}getApiRequestInfo(t){const s=`${b.productV1ApiUrl}/UdpFormSubmission/${this.accessMode}`;return"public"===this.accessMode?{method:"POST",url:s}:t.id?{method:"PUT",url:s}:{method:"POST",url:s}}async saveSubmissionToDB(t,s,e){const i=s.processSubmissionIntoFormData(t,e),{method:o,url:n}=this.getApiRequestInfo(s),r=await h(o,n,i,!0);if(""===r)return await this.fetchAndPopulateUdpFormSubmissionObj(s);const a=new st(Object.assign(Object.assign({},s),r));return Object.assign(s,a),a}async getFormSubmissionById(t){var s;try{const e=new p(1,1).addFilter("id",t,f.EQUALS),i=await e.execute("UdpFormSubmission");return(null===(s=null==i?void 0:i.pageList)||void 0===s?void 0:s[0])||null}catch(t){return console.error("Error fetching form submission by ID:",t),null}}async getFormSubmissionByIdAndUser(t,s){var e;try{const i=new p(1,1).addFilter("id",t,f.EQUALS).addFilter("unityUserId",s,f.EQUALS),o=await i.execute("UdpFormSubmission");return(null===(e=null==o?void 0:o.pageList)||void 0===e?void 0:e[0])||null}catch(t){return console.error("Error fetching form submission by ID:",t),null}}}class it{static create(t,s){return new et(t?"public":"private")}}class ot{constructor(t,s=!1){this.tenantId=t,this.isPublic=s}buildDescribeUrl(t,s){const e=b.productV1ApiUrl;return this.isPublic?`${e}/UdpForm/${t}/${s}/describe/public`:`${e}/UdpForm/${t}/${s}/describe`}async getFormByFormIdAndFormVersion(t,s){const e=this.buildDescribeUrl(t,s),i=await h("GET",e);return i.styleOverrides&&"string"==typeof i.styleOverrides&&(i.styleOverrides=JSON.parse(i.styleOverrides)),i}}class nt{constructor(t){t&&Object.assign(this,t)}}const rt=(t,s)=>{const e=Object.keys(s),i=new Set,o=RegExp(`^${t}_(\\d+)`);return e.forEach((t=>{const s=t.match(o);s&&s[1]&&i.add(Number(s[1]))})),Array.from(i).sort(((t,s)=>t-s))},at=(t,s)=>{const e=`${"undefined"!=typeof window?window.location.pathname:"/page/"+l.FormRendererPageId}?udpf_submissionId=${t}${"undefined"!=typeof window?window.location.hash:""}`,i=s;if(i){if("function"==typeof i.replace)return void i.replace(e);if("function"==typeof i.push)return void i.push(e);if("function"==typeof i){try{i(e,{replace:!0})}catch(t){i(e)}return}}"undefined"!=typeof window&&window.history&&"function"==typeof window.history.replaceState?window.history.replaceState({},"",e):"undefined"!=typeof window&&(window.location.href=e)},lt=(t,s)=>{null==s||s(t,{variant:"success",anchorOrigin:{vertical:"top",horizontal:"center"}})},ut=(t,s)=>{null==s||s(t,{variant:"error",anchorOrigin:{vertical:"top",horizontal:"center"}})},ct=t=>{if(!t)return{};if("object"==typeof t)return t;if("string"!=typeof t)return{};try{return JSON.parse(t||"{}")}catch(t){return{}}},dt=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isPublic=!1,this.autoSaveDelay=2e3,this.urlContext={},this.currentValues={},this.submitSuccessful=!1,this.isLoading=!1,this.isSaving=!1,this.isSubmitted=!1,this.dynamicSections=[],this.isUpdatingSections=!1,this.reRenderKey=0,this.hasUnsavedChanges=!1,this.sideSheetFollowUpFormsList=[],this.followUpSideSheetTotalItems=0,this.isFollowUpFormsSideSheetOpen=!1,this.followUpSideSheetListPageNumber=1,this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE=5,this.componentMap={history:"history",listItemData:"listItemData",handleLaunchFollowUpForm:"handleLaunchFollowUpForm"},this.tenantId=n(),this.clientUserInfo={id:null,displayName:null,email:null},this.followUpParentSectionKey="",this.followUpParentQuestionKey="",this.publicFeatures={allowDraftSave:!1,allowComments:!0,allowFollowUpForms:!1},this.handleLaunchFollowUpFormSideSheet=async t=>{try{if(this.isPublic)return;this.followUpParentSectionKey=t.detail.sectionKey,this.followUpParentQuestionKey=t.detail.questionKey,await this.loadFollowUpForms(this.followUpParentSectionKey,this.followUpParentQuestionKey),this.isFollowUpFormsSideSheetOpen=!0}catch(t){console.error("Error loading follow-up forms:",t)}},this.duplicateRepeatableSection=t=>{if(!this.isSubmitted&&!this.isUpdatingSections){this.isUpdatingSections=!0,this.isLoading=!0;try{const{nextDynamicSections:s,nextValues:e}=(t=>{var s,e,i;const{dynamicSections:o,values:n,index:r}=t,a=o[r];if(!a)return{nextDynamicSections:o,nextValues:n};const l=a.name,c=rt(l,n),d=c.length>0?Math.max(...c)+1:2,m=Object.assign(Object.assign({},structuredClone(a)),{formQuestions:(a.formQuestions||[]).map((t=>{const s=structuredClone(t);return s.questionIdentifierKey=`${l}_${d}.${t.name}`,s})),isOriginalSection:!1,sectionPositionSuffix:d});let h=r;for(let t=r+1;t<o.length&&o[t].name===l;t++)h=t;const p=[...o.slice(0,h+1),m,...o.slice(h+1)],f=structuredClone(n||{}),b=`${l}_${d}`,y=(t=>t.isOriginalSection?t.name:`${t.name}_${t.sectionPositionSuffix}`)(a);for(const t of m.formQuestions||[]){f[b]||(f[b]={});let o="";if(t.fieldTypeId===u.Paragraph){const r=null===(e=null===(s=null==n?void 0:n[y])||void 0===s?void 0:s[t.name])||void 0===e?void 0:e.value,a=ct(t.fieldProperties),l=null!==(i=null==a?void 0:a.paragraphText)&&void 0!==i?i:"";o=null!=r?r:l}f[b][t.name]={value:o,comments:[],metadata:{}}}return{nextDynamicSections:p,nextValues:f}})({dynamicSections:this.dynamicSections,values:structuredClone(this.udpFormSubmission.data.submissionResponseData||{}),index:t});this.dynamicSections=s,this.currentValues=Object.assign({},e),this.udpFormSubmission.data.submissionResponseData=Object.assign({},e),this.triggerFormRerender()}finally{this.isUpdatingSections=!1,this.isLoading=!1,this.hasUnsavedChanges=!0}}},this.deleteRepeatableSection=t=>{if(this.isSubmitted)return;const s=this.dynamicSections[t];if(s&&!s.isOriginalSection){this.isUpdatingSections=!0,this.isLoading=!0;try{const{nextDynamicSections:s,nextValues:e}=(t=>{const{dynamicSections:s,values:e,index:i}=t,o=s[i];if(!o||o.isOriginalSection)return{nextDynamicSections:s,nextValues:e};const n=o.name,r=o.sectionPositionSuffix,a=`${n}_${r}`,l=Object.assign({},e||{});delete l[a];const u=structuredClone(s);return u.splice(i,1),u.forEach((t=>{var s;if(t.name!==n||t.isOriginalSection||(null!==(s=t.sectionPositionSuffix)&&void 0!==s?s:0)<=(null!=r?r:0))return;const e=t.sectionPositionSuffix,i=`${n}_${e}`,o=e-1,a=`${n}_${o}`;t.sectionPositionSuffix=o,t.formQuestions=(t.formQuestions||[]).map((t=>{const s=structuredClone(t);return s.questionIdentifierKey=`${a}.${t.name}`,s})),l[i]&&(l[a]=structuredClone(l[i]),delete l[i])})),{nextDynamicSections:u,nextValues:l}})({dynamicSections:this.dynamicSections,values:Object.assign({},this.udpFormSubmission.data.submissionResponseData||{}),index:t});this.dynamicSections=s,this.currentValues=Object.assign({},e),this.udpFormSubmission.data.submissionResponseData=Object.assign({},e),this.triggerFormRerender()}finally{this.isUpdatingSections=!1,this.isLoading=!1,this.hasUnsavedChanges=!0}}},this.performBackgroundSaveAndUpdateLocalSubmissionState=async t=>this.performBackgroundSaveAndUpdateLocalSubmissionStateInternal(t),this.performBackgroundSaveAndUpdateLocalSubmissionStateInternal=async(t,s)=>{var e,i;const o=null!==(e=null==s?void 0:s.allowUrlReplace)&&void 0!==e?e:!this.isPublic,n=null!==(i=null==s?void 0:s.forceCreateDraftIfMissingId)&&void 0!==i&&i;if(!this.isPublic||this.publicFeatures.allowDraftSave||n)try{await this.formSubmissionHandler.saveCurrentFormSubmissionState(t,this.udpFormSubmission),await this.refreshSubmissionAndSyncState(),o&&!new URLSearchParams(window.location.search).has("udpf_submissionId")&&at(this.udpFormSubmission.id,this.history)}catch(t){}finally{this.isSaving=!1,this.hasUnsavedChanges=!1}},this.refreshSubmissionAndSyncState=async()=>{var t,s;if(!(null===(t=this.udpFormSubmission)||void 0===t?void 0:t.id))return;const e=await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission);this.udpFormSubmission=e,this.currentValues=Object.assign({},(null===(s=e.data)||void 0===s?void 0:s.submissionResponseData)||{}),this.isSubmitted=e.status===a.Submitted},this.handleManualSave=async t=>{if(!this.isPublic||this.publicFeatures.allowDraftSave){this.isSaving=!0;try{await this.formSubmissionHandler.saveCurrentFormSubmissionState(t,this.udpFormSubmission),await this.refreshSubmissionAndSyncState(),new URLSearchParams(window.location.search).has("udpf_submissionId")||at(this.udpFormSubmission.id,this.history),lt("Form saved successfully.",this.enqueueSnackbar)}catch(t){ut("There was an error saving this form",this.enqueueSnackbar)}finally{this.isSaving=!1,this.hasUnsavedChanges=!1}}},this.handleFormChange=t=>{this.isUpdatingSections||(this.udpFormSubmission.data.submissionResponseData=t)},this.handleFinish=()=>{this.triggerAction&&this.triggerAction(null,{action:"finish"})},this.triggerFormRerender=()=>{const t=window.scrollY;this.reRenderKey+=1,requestAnimationFrame((()=>{window.scrollTo({top:t,behavior:"auto"})}))},this.handleLaunchFollowUpForm=async(t,s,e,i,o,n,r)=>{const a=await this.formHandler.getFormByFormIdAndFormVersion(t,s),u={submissionResponseData:d(a),submissionMetadata:{ParentSubmission:{submissionId:e,formId:i,formVersion:o}}},c=new st({formId:t,formVersion:s,unityUserId:this.clientUserInfo.id,data:u}),m=it.create(!1,this.clientUserInfo.id),h=await m.createNewLinkedFollowUpFormSubmission(c);this.udpFormSubmission.data.submissionResponseData[n][r].metadata=Object.assign(Object.assign({},this.udpFormSubmission.data.submissionResponseData[n][r].metadata),{followUpFormSubmissionId:h.id}),await this.performBackgroundSaveAndUpdateLocalSubmissionState(this.udpFormSubmission.data.submissionResponseData),window.open(`/page/${l.FormRendererPageId}?udpf_submissionId=${h.id}`,"_blank"),this.handleSideSheetClose(),this.triggerFormRerender()},this.handleSideSheetClose=()=>{this.sideSheetFollowUpFormsList=[],this.followUpSideSheetListPageNumber=1,this.followUpSideSheetTotalItems=0,this.isFollowUpFormsSideSheetOpen=!1,this.followUpParentSectionKey="",this.followUpParentQuestionKey=""}}componentDidLoad(){this.el&&(this.el.addEventListener("questionCommentAction",(async t=>this.handleQuestionCommentLiveCRUD(t))),this.el.addEventListener("launchFollowUpFormSideSheet",(t=>this.handleLaunchFollowUpFormSideSheet(t))),this.el.addEventListener("formDirtyChange",(t=>{this.hasUnsavedChanges=this.hasUnsavedChanges||t.detail})))}async componentWillLoad(){var t;this.isLoading=!0;try{if(this.isPublic)this.clientUserInfo.id="00000000-0000-0000-0000-000000000001",this.clientUserInfo.displayName="Anonymous";else{const s=null===(t=this.getUserCallback)||void 0===t?void 0:t.call(this);s&&(this.clientUserInfo.id=s.id||null,this.clientUserInfo.displayName=s.name||null,this.clientUserInfo.email=s.email||null)}let s,e;this.formSubmissionHandler=it.create(this.isPublic,this.clientUserInfo.id),this.udpFormSubmission=new st({id:this.submissionId,formId:this.formId,formVersion:this.version,unityUserId:this.clientUserInfo.id,generic1:this.urlContext.generic1,generic2:this.urlContext.generic2,generic3:this.urlContext.generic3}),this.submissionId&&(this.udpFormSubmission=await this.formSubmissionHandler.fetchAndPopulateUdpFormSubmissionObj(this.udpFormSubmission)),this.submissionId?(s=this.udpFormSubmission.formId,e=this.udpFormSubmission.formVersion):this.formId&&this.version&&(s=this.formId,e=this.version),this.formHandler=new ot(this.tenantId);const i=await this.formHandler.getFormByFormIdAndFormVersion(s,e);if(this.udpForm=new nt(i),this.currentValues=d(this.udpForm),this.udpFormSubmission.data.submissionResponseData&&(this.currentValues=Object.assign({},this.udpFormSubmission.data.submissionResponseData),this.udpFormSubmission.status===a.Submitted&&(this.isSubmitted=!0)),(!this.udpFormSubmission.id||this.udpFormSubmission.status===a.Created)&&this.urlContext&&Object.keys(this.urlContext).length>0){this.dynamicSections=((t,s,e)=>{var i,o;const n=(t=>{const s={};return Object.keys(t&&"object"==typeof t?t:{}).forEach((t=>{var e;const i=t.match(/^([^._?&#]+)_(\d+)\./);if(!i)return;const o=i[1],n=Number(i[2]);!Number.isFinite(n)||n<2||n>(null!==(e=s[o])&&void 0!==e?e:1)&&(s[o]=n)})),s})(e),r=[],a=structuredClone(t.udpFormUdpFormSection).sort(((t,s)=>t.order-s.order));for(const e of a){e.sectionProperties=JSON.parse(e.sectionProperties||{});const a=rt(e.name,s),l=a.length>0?Math.max(...a):1,u=null!==(i=null==n?void 0:n[e.name])&&void 0!==i?i:1,c=Math.max(l,u);if(e.isOriginalSection=!0,e.sectionPositionSuffix=1,r.push(Object.assign(Object.assign({},structuredClone(e)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===e.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${e.name}.${t.name}`,isShowCommentInput:!0})))})),(null===(o=e.sectionProperties)||void 0===o?void 0:o.isRepeatable)&&c>=2)for(let s=2;s<=c;s++){const i=Object.assign(Object.assign({},structuredClone(e)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===e.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${e.name}_${s}.${t.name}`,isShowCommentInput:!0}))),isOriginalSection:!1,sectionPositionSuffix:s});r.push(i)}}return r})(this.udpForm,this.currentValues,this.urlContext);const t=((t,s)=>{if(!Array.isArray(t))return;const e=s&&"object"==typeof s?s:{},i={};Object.keys(e).forEach((t=>{i[(t+"").toLowerCase()]=e[t]}));const o={};t.forEach((t=>{const s=t.isOriginalSection?t.name:`${t.name}_${t.sectionPositionSuffix}`;(t.formQuestions||[]).forEach((t=>{if(!t)return;const e=[t.processedSubmissionName,t.questionIdentifierKey,t.name].filter(Boolean);let n;for(const t of e){const s=(t+"").toLowerCase();if(Object.prototype.hasOwnProperty.call(i,s)){n=i[s];break}}null!=n&&(o[s]||(o[s]={}),o[s][t.name]={value:n,comments:[]})}))}));const n={};return Object.entries(o).forEach((([t,s])=>{n[t]||(n[t]={}),Object.entries(s).forEach((([s,e])=>{const i=n[t][s];(null==i||null==i.value||"string"==typeof i.value&&""===i.value.trim())&&(n[t][s]=e)}))})),t.forEach((t=>{const s=t.isOriginalSection?t.name:`${t.name}_${t.sectionPositionSuffix}`;n[s]||(n[s]={}),(t.formQuestions||[]).forEach((t=>{var e;if(t&&t.fieldTypeId===u.Paragraph){const i=n[s][t.name];if(null==i||null==i.value||"string"==typeof i.value&&""===i.value.trim()){let i=null==t?void 0:t.fieldProperties;if("string"==typeof i)try{i=JSON.parse(i||"{}")}catch(t){i={}}n[s][t.name]={value:null!==(e=null==i?void 0:i.paragraphText)&&void 0!==e?e:"",comments:[]}}}}))})),n})(this.dynamicSections,this.urlContext);t&&(this.currentValues=t,this.udpFormSubmission.data.submissionResponseData=Object.assign({},t))}else this.dynamicSections=((t,s)=>{var e;const i=[],o=structuredClone(t.udpFormUdpFormSection).sort(((t,s)=>t.order-s.order));for(const n of o){n.sectionProperties=JSON.parse(n.sectionProperties||{});const o=rt(n.name,s);if(n.isOriginalSection=!0,n.sectionPositionSuffix=1,i.push(Object.assign(Object.assign({},structuredClone(n)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===n.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${n.name}.${t.name}`,isShowCommentInput:!0})))})),(null===(e=n.sectionProperties)||void 0===e?void 0:e.isRepeatable)&&o.length>0){const s=Math.max(...o);for(let e=2;e<=s;e++){const s=Object.assign(Object.assign({},structuredClone(n)),{formQuestions:structuredClone(t.formQuestions).filter((t=>t.formSectionId===n.id)).sort(((t,s)=>t.questionOrder-s.questionOrder)).map((t=>Object.assign(Object.assign({},t),{questionIdentifierKey:`${n.name}_${e}.${t.name}`,isShowCommentInput:!0}))),isOriginalSection:!1,sectionPositionSuffix:e});i.push(s)}}}return i})(this.udpForm,this.currentValues);this.debouncedManualSave=o((async t=>{await this.handleManualSave(t)}),2e3,{leading:!0,trailing:!1})}catch(t){console.error("Error failed to load form in the form renderer:",t)}finally{this.isLoading=!1}}async handleSubmit(t){this.isLoading=!0;try{await this.formSubmissionHandler.finalizeFormSubmissionState(t,this.udpFormSubmission),await this.refreshSubmissionAndSyncState(),this.submitSuccessful=!0}catch(t){throw ut("There was an error submitting this form",this.enqueueSnackbar),t}finally{this.isLoading=!1}}async handleQuestionCommentLiveCRUD(t){var s,e,i,o,n,r;if(!this.isPublic||this.publicFeatures.allowComments)try{const{type:l,questionIdentifierKey:u,commentId:c}=t.detail,d=function(t){var s,e,i,o,n;const{actionType:r,questionIdentifierKey:a,commentId:l,currentSubmissionResponseData:u,clientUserInfo:c}=t,d=(a||"").split("."),m=d[0]||"",h=d[1]||"";if(!m||!h)return{sectionKey:m,questionKey:h,nextSubmissionResponseData:u||{},didMutate:!1,shouldPersist:!1,persistIntent:"none",commentId:l};const p=structuredClone(u||{});p[m]||(p[m]={}),p[m][h]?(p[m][h].comments=null!==(s=p[m][h].comments)&&void 0!==s?s:[],p[m][h].draftComments=null!==(e=p[m][h].draftComments)&&void 0!==e?e:[],p[m][h].metadata=null!==(i=p[m][h].metadata)&&void 0!==i?i:{}):p[m][h]={value:"",comments:[],draftComments:[],metadata:{}};const f=p[m][h].draftComments;f&&!Array.isArray(f)?p[m][h].draftComments=[f]:f||(p[m][h].draftComments=[]);const b=p[m][h].comments||[],v=p[m][h].draftComments||[];let w=!1;switch(r){case"add":{const t={value:"",commentId:y(),isTempComment:!0,timestamp:null};p[m][h].draftComments=[t,...v],w=!0;break}case"save":{const t=v.findIndex((t=>t.commentId===l));if(-1===t)return{sectionKey:m,questionKey:h,nextSubmissionResponseData:p,didMutate:!1,shouldPersist:!1,persistIntent:"none",commentId:l};const s=v[t],e=s.timestamp||(new Date).toISOString(),i=Object.assign(Object.assign({},s),{timestamp:e,editedTimestamp:(new Date).toISOString(),userId:null==c?void 0:c.id,userDisplayName:null==c?void 0:c.displayName,isDraftComment:!1}),o=b.findIndex((t=>t.commentId===l));if(-1!==o){const t=[...b];t[o]=Object.assign({},i),p[m][h].comments=t}else p[m][h].comments=[...b,i];p[m][h].draftComments=v.filter((t=>t.commentId!==l)),w=!0;break}case"edit":{const t=b.find((t=>t.commentId===l));if(!t)return{sectionKey:m,questionKey:h,nextSubmissionResponseData:p,didMutate:!1,shouldPersist:!1,persistIntent:"none",commentId:l};const s=Object.assign(Object.assign({},t),{isDraftComment:!0,timestamp:null});p[m][h].draftComments=[s,...v],p[m][h].comments=b,w=!0;break}case"delete":p[m][h].comments=b.map((t=>t.commentId===l?Object.assign(Object.assign({},t),{isDeleted:!0,value:"",editedTimestamp:(new Date).toISOString()}):t)),w=!0;break;case"editClose":p[m][h].draftComments=v.filter((t=>t.commentId!==l)),w=!0}const j="save"===r||"delete"===r;let S;if("save"===r){const t=((null===(n=null===(o=null==p?void 0:p[m])||void 0===o?void 0:o[h])||void 0===n?void 0:n.comments)||[]).find((t=>t.commentId===l));S=null==t?void 0:t.value}return{sectionKey:m,questionKey:h,nextSubmissionResponseData:p,didMutate:w,shouldPersist:j,persistIntent:"none",commentId:l,valueToPersist:S}}({actionType:l,questionIdentifierKey:u,commentId:c,currentSubmissionResponseData:this.udpFormSubmission.data.submissionResponseData||{},clientUserInfo:this.clientUserInfo}),m=d.nextSubmissionResponseData;if(this.udpFormSubmission.data.submissionResponseData=Object.assign({},m),"edit"!==l&&"editClose"!==l&&"add"!==l||(this.currentValues=Object.assign({},m)),d.shouldPersist){const t=(null===(s=this.udpFormSubmission)||void 0===s?void 0:s.status)===a.Submitted,u=(null===(e=this.udpFormSubmission)||void 0===e?void 0:e.unityUserId)===this.clientUserInfo.id,c=((null===(n=null===(o=null===(i=this.currentValues||{})||void 0===i?void 0:i[d.sectionKey])||void 0===o?void 0:o[d.questionKey])||void 0===n?void 0:n.comments)||[]).find((t=>(null==t?void 0:t.commentId)===d.commentId&&!(null==t?void 0:t.isDeleted)));if(t||!u)if(null===(r=this.udpFormSubmission)||void 0===r?void 0:r.id){if("save"===l){const t=d.valueToPersist;if(t)try{c?await this.formSubmissionHandler.updateComment(this.udpFormSubmission,{sectionKey:d.sectionKey,questionKey:d.questionKey,value:t,commentId:d.commentId}):await this.formSubmissionHandler.addComment(this.udpFormSubmission,{sectionKey:d.sectionKey,questionKey:d.questionKey,value:t,commentId:d.commentId}),await this.refreshSubmissionAndSyncState(),lt(c?"Comment updated.":"Comment added.",this.enqueueSnackbar)}catch(t){throw ut(c?"Failed to update comment.":"Failed to add comment.",this.enqueueSnackbar),t}}else if("delete"===l)try{await this.formSubmissionHandler.deleteComment(this.udpFormSubmission,{sectionKey:d.sectionKey,questionKey:d.questionKey,commentId:d.commentId}),await this.refreshSubmissionAndSyncState(),lt("Comment deleted.",this.enqueueSnackbar)}catch(t){throw ut("Failed to delete comment.",this.enqueueSnackbar),t}}else this.currentValues=Object.assign({},m);else this.isPublic?this.currentValues=Object.assign({},m):await this.handleManualSave(m)}else this.currentValues=Object.assign({},m)}catch(t){console.error("Error handling live comment CRUD:",t)}finally{this.triggerFormRerender()}}async loadFollowUpForms(t,s){var e;this.isLoading=!0;try{const i=(await r(this.followUpSideSheetListPageNumber,this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE,[{searchField:"type",searchOperator:"=",searchValue:c.FollowUp}],{sortDirection:"DESC",sortColumn:"lastModifiedOn"})).data;if(!i||!Array.isArray(i.pageList))throw Error("Malformed form versions data.");this.sideSheetFollowUpFormsList=this.formatFollowUpFormsList(i.pageList,t,s),this.followUpSideSheetTotalItems=null!==(e=i.total)&&void 0!==e?e:0}catch(t){console.error("Failed to follow up form.",t)}finally{this.isLoading=!1}}formatFollowUpFormsList(t,s,e){return t.map((t=>({listItemData:t,history:this.history,handleLaunchFollowUpForm:async()=>await this.handleLaunchFollowUpForm(t.id,t.version,this.udpFormSubmission.id,this.udpFormSubmission.formId,this.udpFormSubmission.formVersion,s,e)})))}async handleSideSheetPageChange(t){this.followUpSideSheetListPageNumber=t,await this.loadFollowUpForms(this.followUpParentSectionKey,this.followUpParentQuestionKey)}renderFollowUpSideSheet(){return this.isPublic?null:e("udp-side-sheet",{title:"Link a Follow Up Form",open:this.isFollowUpFormsSideSheetOpen,onUdpSideSheetClose:()=>this.handleSideSheetClose(),position:"right",width:"md"},this.isLoading&&this.isFollowUpFormsSideSheetOpen&&e("udp-linear-loader",null),e("udp-list-renderer",{itemComponent:"udp-forms-follow-up-list-card",data:this.sideSheetFollowUpFormsList,pagination:!0,isServerSide:!0,isLoading:this.isLoading,itemsPerPage:this.FOLLOW_UP_SIDE_SHEET_PAGE_SIZE,currentPage:this.followUpSideSheetListPageNumber,totalItems:this.followUpSideSheetTotalItems,onPageChange:t=>this.handleSideSheetPageChange(t.detail),componentDataMap:this.componentMap,spacing:"md"}))}isShowManualSaveIcon(){return!this.isPublic&&(!!this.clientUserInfo.id&&this.hasUnsavedChanges)}get isReadOnlyMode(){return this.isSubmitted||this.udpFormSubmission.unityUserId!==this.clientUserInfo.id}render(){return e("div",{key:"37ec47fc7f3ecec70ba7ca3e12717789285be5d8",class:"forms-renderer-container",style:this.isLoading?{minHeight:"100vh"}:{}},this.renderFollowUpSideSheet(),e("udp-forms-ui",{udpForm:this.udpForm,currentValues:this.currentValues,udpFormSubmission:this.udpFormSubmission,submitSuccessful:this.submitSuccessful,isSaving:this.isSaving,readonly:this.isReadOnlyMode,handleSubmit:this.handleSubmit.bind(this),handleSave:t=>Promise.resolve(this.debouncedManualSave(t)),handleChange:this.handleFormChange,handleAction:this.triggerAction,handleFinish:this.handleFinish,clientUserInfo:this.clientUserInfo,isSubmitted:this.isSubmitted,dynamicSections:this.dynamicSections,duplicateRepeatableSection:this.duplicateRepeatableSection,deleteRepeatableSection:this.deleteRepeatableSection,key:"form-rerender-key-"+this.reRenderKey,isShowManualSaveIcon:this.isShowManualSaveIcon(),isLoading:this.isLoading,performBackgroundSaveAndUpdateLocalSubmissionState:this.performBackgroundSaveAndUpdateLocalSubmissionState}))}get el(){return this}},[1,"udp-forms-renderer",{formId:[1,"form-id"],version:[2],submissionId:[1,"submission-id"],triggerAction:[16],isPublic:[4,"is-public"],callbackUrl:[1,"callback-url"],getUserCallback:[16],enqueueSnackbar:[16],closeSnackbar:[16],autoSaveDelay:[2,"auto-save-delay"],history:[8],urlContext:[16],currentValues:[32],submitSuccessful:[32],isLoading:[32],isSaving:[32],isSubmitted:[32],dynamicSections:[32],isUpdatingSections:[32],reRenderKey:[32],hasUnsavedChanges:[32],sideSheetFollowUpFormsList:[32],followUpSideSheetTotalItems:[32],isFollowUpFormsSideSheetOpen:[32],followUpSideSheetListPageNumber:[32]}]),mt=dt,ht=function(){"undefined"!=typeof customElements&&["udp-forms-renderer","custom-button","file-upload","fluent-dialog","form-metadata-display","image-upload","numeric-field","selectable-list","signature-input","stencil-field","stencil-form","stencil-icon-button","tally-display","text-area","text-field","udp-adornment","udp-ambient-card","udp-ambient-tool-tip","udp-badge","udp-button","udp-container","udp-date-selector","udp-datetime-selector","udp-forms-ui","udp-icon","udp-icon-button","udp-linear-loader","udp-list-renderer","udp-menu-item","udp-pagination","udp-pop-over","udp-question","udp-question-comments","udp-save-draft-button","udp-selector","udp-side-sheet","udp-time-selector","unity-typography"].forEach((t=>{switch(t){case"udp-forms-renderer":customElements.get(i(t))||customElements.define(i(t),dt);break;case"custom-button":customElements.get(i(t))||v();break;case"file-upload":customElements.get(i(t))||w();break;case"fluent-dialog":customElements.get(i(t))||j();break;case"form-metadata-display":customElements.get(i(t))||S();break;case"image-upload":customElements.get(i(t))||O();break;case"numeric-field":customElements.get(i(t))||g();break;case"selectable-list":customElements.get(i(t))||F();break;case"signature-input":customElements.get(i(t))||I();break;case"stencil-field":customElements.get(i(t))||C();break;case"stencil-form":customElements.get(i(t))||E();break;case"stencil-icon-button":customElements.get(i(t))||k();break;case"tally-display":customElements.get(i(t))||D();break;case"text-area":customElements.get(i(t))||$();break;case"text-field":customElements.get(i(t))||U();break;case"udp-adornment":customElements.get(i(t))||x();break;case"udp-ambient-card":customElements.get(i(t))||q();break;case"udp-ambient-tool-tip":customElements.get(i(t))||K();break;case"udp-badge":customElements.get(i(t))||P();break;case"udp-button":customElements.get(i(t))||A();break;case"udp-container":customElements.get(i(t))||L();break;case"udp-date-selector":customElements.get(i(t))||R();break;case"udp-datetime-selector":customElements.get(i(t))||_();break;case"udp-forms-ui":customElements.get(i(t))||M();break;case"udp-icon":customElements.get(i(t))||T();break;case"udp-icon-button":customElements.get(i(t))||V();break;case"udp-linear-loader":customElements.get(i(t))||N();break;case"udp-list-renderer":customElements.get(i(t))||B();break;case"udp-menu-item":customElements.get(i(t))||J();break;case"udp-pagination":customElements.get(i(t))||Q();break;case"udp-pop-over":customElements.get(i(t))||z();break;case"udp-question":customElements.get(i(t))||W();break;case"udp-question-comments":customElements.get(i(t))||G();break;case"udp-save-draft-button":customElements.get(i(t))||H();break;case"udp-selector":customElements.get(i(t))||X();break;case"udp-side-sheet":customElements.get(i(t))||Y();break;case"udp-time-selector":customElements.get(i(t))||Z();break;case"unity-typography":customElements.get(i(t))||tt()}}))};export{mt as UdpFormsRenderer,ht as defineCustomElement}