udp-stencil-component-library 25.18.2-beta.4 → 25.18.2-beta.6

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 (536) hide show
  1. package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +12 -12
  2. package/dist/cjs/advanced-search_12.cjs.entry.js +1 -1
  3. package/dist/cjs/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.cjs.js.map +1 -1
  4. package/dist/cjs/ag-grid-base_6.cjs.entry.js +27 -11
  5. package/dist/cjs/api-method-instance-grid.cjs.entry.js +1 -1
  6. package/dist/cjs/app-bar.cjs.entry.js +1 -1
  7. package/dist/cjs/check-box.cjs.entry.js +2 -2
  8. package/dist/cjs/chip-section.cjs.entry.js +2 -2
  9. package/dist/cjs/client-side-grid_2.cjs.entry.js +3 -3
  10. package/dist/cjs/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.cjs.js.map +1 -1
  11. package/dist/cjs/date-time-renderer_7.cjs.entry.js +13 -13
  12. package/dist/cjs/entity-maintenance-grid.cjs.entry.js +1 -1
  13. package/dist/cjs/{enums-DVbZnzL8.js → enums-CgcTuQjC.js} +8 -2
  14. package/dist/cjs/enums-CgcTuQjC.js.map +1 -0
  15. package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
  16. package/dist/cjs/filter-conditions_7.cjs.entry.js +2 -2
  17. package/dist/cjs/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.cjs.js.map +1 -1
  18. package/dist/cjs/form-metadata-display_8.cjs.entry.js +15 -15
  19. package/dist/cjs/index-CGCOXUJE.js +10 -10
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/map-component_2.cjs.entry.js +2 -2
  22. package/dist/cjs/numeric-field_5.cjs.entry.js +15 -15
  23. package/dist/cjs/primary-action-header.udp-tabs.entry.cjs.js.map +1 -0
  24. package/dist/cjs/{primary-action-header_3.cjs.entry.js → primary-action-header_2.cjs.entry.js} +4 -266
  25. package/dist/cjs/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.cjs.js.map +1 -1
  26. package/dist/cjs/question-configs-renderer_4.cjs.entry.js +7 -7
  27. package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
  28. package/dist/cjs/search-method-grid.cjs.entry.js +2 -1
  29. package/dist/cjs/search-method-grid.entry.cjs.js.map +1 -1
  30. package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
  31. package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
  32. package/dist/cjs/stencil-library.cjs.js +1 -1
  33. package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
  34. package/dist/cjs/text-field_2.cjs.entry.js +7 -7
  35. package/dist/cjs/udp-chip_3.cjs.entry.js +1 -1
  36. package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
  37. package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
  38. package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
  39. package/dist/cjs/udp-container.cjs.entry.js +35 -0
  40. package/dist/cjs/udp-container.entry.cjs.js.map +1 -0
  41. package/dist/cjs/udp-date-range-selector.cjs.entry.js +1 -1
  42. package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/{udp-forms-builder-question-template-CNONS2l5.js → udp-forms-builder-question-template-BMMpObLX.js} +3 -3
  44. package/dist/cjs/udp-forms-builder-question-template-BMMpObLX.js.map +1 -0
  45. package/dist/cjs/udp-forms-builder.cjs.entry.js +2 -2
  46. package/dist/cjs/udp-forms-builder.entry.cjs.js.map +1 -1
  47. package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +3 -3
  48. package/dist/cjs/udp-forms-follow-up-list-card.entry.cjs.js.map +1 -1
  49. package/dist/cjs/udp-forms-list-card.cjs.entry.js +6 -6
  50. package/dist/cjs/udp-forms-list-card.entry.cjs.js.map +1 -1
  51. package/dist/cjs/udp-forms-list.cjs.entry.js +2 -2
  52. package/dist/cjs/udp-forms-list.entry.cjs.js.map +1 -1
  53. package/dist/cjs/udp-forms-renderer.cjs.entry.js +270 -202
  54. package/dist/cjs/udp-forms-renderer.entry.cjs.js.map +1 -1
  55. package/dist/cjs/udp-forms-ui.cjs.entry.js +6 -6
  56. package/dist/cjs/udp-forms-ui.entry.cjs.js.map +1 -1
  57. package/dist/cjs/udp-linear-loader.udp-side-sheet.entry.cjs.js.map +1 -0
  58. package/dist/cjs/udp-linear-loader_2.cjs.entry.js +289 -0
  59. package/dist/cjs/udp-map.cjs.entry.js +3 -3
  60. package/dist/cjs/udp-menu-item.udp-pop-over.entry.cjs.js.map +1 -0
  61. package/dist/cjs/{udp-pop-over.cjs.entry.js → udp-menu-item_2.cjs.entry.js} +23 -1
  62. package/dist/cjs/udp-page.cjs.entry.js +1 -1
  63. package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
  64. package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
  65. package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
  66. package/dist/cjs/udp-tab-panel.cjs.entry.js +2 -2
  67. package/dist/cjs/udp-tab.cjs.entry.js +1 -1
  68. package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
  69. package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
  70. package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
  71. package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
  72. package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
  73. package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
  74. package/dist/cjs/{utils-DZ_OMtAy.js → utils-Bp02BX38.js} +8 -8
  75. package/dist/cjs/utils-Bp02BX38.js.map +1 -0
  76. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.js +1 -1
  77. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.js.map +1 -1
  78. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.js +3 -3
  79. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.js.map +1 -1
  80. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +4 -4
  81. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js.map +1 -1
  82. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +5 -5
  83. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js.map +1 -1
  84. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +5 -5
  85. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js.map +1 -1
  86. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +6 -6
  87. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js.map +1 -1
  88. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js +1 -1
  89. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js.map +1 -1
  90. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +3 -3
  91. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js.map +1 -1
  92. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +4 -4
  93. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js.map +1 -1
  94. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js +1 -1
  95. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js.map +1 -1
  96. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js +3 -3
  97. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js.map +1 -1
  98. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +7 -7
  99. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js.map +1 -1
  100. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +2 -2
  101. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js.map +1 -1
  102. 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 -3
  103. 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 +1 -1
  104. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js +13 -13
  105. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js.map +1 -1
  106. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils.js +195 -0
  107. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils.js.map +1 -0
  108. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +86 -238
  109. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js.map +1 -1
  110. package/dist/collection/components/forms/udp-forms/udp-forms-utils/classes/UdpForm.js.map +1 -0
  111. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpFormSubmission.js +4 -12
  112. package/dist/collection/components/forms/udp-forms/udp-forms-utils/classes/UdpFormSubmission.js.map +1 -0
  113. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/enums.js +6 -0
  114. package/dist/collection/components/forms/udp-forms/udp-forms-utils/enums.js.map +1 -0
  115. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/IFormHandler.js.map +1 -0
  116. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-handler/UdpFormHandler.js.map +1 -0
  117. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/FormSubmissionHandlerFactory.js.map +1 -0
  118. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/IFormSubmissionHandler.js.map +1 -0
  119. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/PrivateFormSubmissionHandler.js +6 -4
  120. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/PrivateFormSubmissionHandler.js.map +1 -0
  121. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/PublicFormSubmissionHandler.js.map +1 -0
  122. package/dist/collection/components/forms/udp-forms/udp-forms-utils/form-submission-handler/formUtils.js.map +1 -0
  123. package/dist/collection/components/forms/udp-forms/udp-forms-utils/types.js.map +1 -0
  124. package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/utils.js +5 -5
  125. package/dist/collection/components/forms/udp-forms/udp-forms-utils/utils.js.map +1 -0
  126. package/dist/collection/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.js +10 -10
  127. package/dist/collection/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.js.map +1 -1
  128. package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js +13 -13
  129. package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js.map +1 -1
  130. package/dist/collection/components/grid/new-grid/ag-grid-base.js +2 -1
  131. package/dist/collection/components/grid/new-grid/ag-grid-base.js.map +1 -1
  132. package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +1 -1
  133. package/dist/collection/components/grid/new-grid/client-side-grid.js +1 -1
  134. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +1 -0
  135. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js.map +1 -1
  136. package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js +1 -1
  137. package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js +24 -9
  138. package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js.map +1 -1
  139. package/dist/collection/components/grid/new-grid/interfaces/grid.js.map +1 -1
  140. package/dist/collection/components/grid/new-grid/search-method-grid.js +1 -1
  141. package/dist/collection/components/grid/new-grid/server-side-grid.js +1 -1
  142. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
  143. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +2 -2
  144. package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
  145. package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +1 -1
  146. package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
  147. package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
  148. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +2 -2
  149. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js.map +1 -1
  150. package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
  151. package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
  152. package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
  153. package/dist/collection/components/inputs/tally/tally.js +2 -2
  154. package/dist/collection/components/inputs/text-area/text-area.js +3 -3
  155. package/dist/collection/components/inputs/text-field/text-field.js +3 -3
  156. package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
  157. package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
  158. package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
  159. package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
  160. package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
  161. package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
  162. package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
  163. package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
  164. package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
  165. package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
  166. package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
  167. package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
  168. package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
  169. package/dist/collection/components/map/udp-map/map-component.js +1 -1
  170. package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
  171. package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
  172. package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
  173. package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
  174. package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
  175. package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +6 -6
  176. package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
  177. package/dist/collection/components/map/udp-map/udp-map.js +3 -3
  178. package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
  179. package/dist/collection/components/menu/udp-menu.js +1 -1
  180. package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
  181. package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
  182. package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
  183. package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +2 -2
  184. package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
  185. package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
  186. package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
  187. package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
  188. package/dist/collection/components/timeline/udp-timeline.js +1 -1
  189. package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
  190. package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
  191. package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
  192. package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
  193. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
  194. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
  195. package/dist/components/add-map-feature-popup2.js +3 -3
  196. package/dist/components/ag-grid-base2.js +78 -38
  197. package/dist/components/ag-grid-base2.js.map +1 -1
  198. package/dist/components/api-method-instance-grid.js +59 -35
  199. package/dist/components/api-method-instance-grid.js.map +1 -1
  200. package/dist/components/app-bar.js +1 -1
  201. package/dist/components/check-box.js +2 -2
  202. package/dist/components/chip-section.js +2 -2
  203. package/dist/components/client-side-grid2.js +55 -31
  204. package/dist/components/client-side-grid2.js.map +1 -1
  205. package/dist/components/date-time-renderer2.js.map +1 -1
  206. package/dist/components/entity-maintenance-grid.js +1 -1
  207. package/dist/components/enums.js +7 -1
  208. package/dist/components/enums.js.map +1 -1
  209. package/dist/components/feature-details-card2.js +4 -4
  210. package/dist/components/feature-details-popup2.js +1 -1
  211. package/dist/components/file-upload-renderer2.js +2 -2
  212. package/dist/components/file-upload-renderer2.js.map +1 -1
  213. package/dist/components/form-metadata-display-renderer2.js +3 -3
  214. package/dist/components/form-metadata-display-renderer2.js.map +1 -1
  215. package/dist/components/form-metadata-display2.js +1 -1
  216. package/dist/components/form-metadata-display2.js.map +1 -1
  217. package/dist/components/forms-builder-utils.js.map +1 -1
  218. package/dist/components/ghost-render2.js +1 -1
  219. package/dist/components/image-upload2.js +1 -1
  220. package/dist/components/list-options-renderer2.js +3 -3
  221. package/dist/components/list-options-renderer2.js.map +1 -1
  222. package/dist/components/map-component2.js +1 -1
  223. package/dist/components/map-toolbar2.js +6 -6
  224. package/dist/components/numeric-field2.js +3 -3
  225. package/dist/components/question-configs-renderer2.js +5 -5
  226. package/dist/components/question-configs-renderer2.js.map +1 -1
  227. package/dist/components/question-specific-configs-renderer2.js.map +1 -1
  228. package/dist/components/resource-timeline-calendar.js +59 -35
  229. package/dist/components/resource-timeline-calendar.js.map +1 -1
  230. package/dist/components/resource-timeline-primary-bar2.js +2 -2
  231. package/dist/components/search-method-grid2.js +58 -33
  232. package/dist/components/search-method-grid2.js.map +1 -1
  233. package/dist/components/select-layer-popup2.js +2 -2
  234. package/dist/components/server-side-grid2.js +55 -31
  235. package/dist/components/server-side-grid2.js.map +1 -1
  236. package/dist/components/side-sheet-container2.js +1 -1
  237. package/dist/components/side-sheet2.js +1 -1
  238. package/dist/components/signature-input2.js +2 -2
  239. package/dist/components/signature-renderer2.js +1 -1
  240. package/dist/components/signature-renderer2.js.map +1 -1
  241. package/dist/components/split-line-popup2.js +1 -1
  242. package/dist/components/stencil-toggle2.js +4 -4
  243. package/dist/components/tally.js +2 -2
  244. package/dist/components/text-area2.js +3 -3
  245. package/dist/components/text-field2.js +3 -3
  246. package/dist/components/text-input-renderer2.js +2 -2
  247. package/dist/components/text-input-renderer2.js.map +1 -1
  248. package/dist/components/udp-container-query-grid-item.js +1 -1
  249. package/dist/components/udp-container-query-grid.js +1 -1
  250. package/dist/components/udp-container-query2.js +2 -2
  251. package/dist/components/udp-container2.js +2 -2
  252. package/dist/components/udp-date-range-selector.js +1 -1
  253. package/dist/components/udp-date-selector2.js +3 -3
  254. package/dist/components/udp-datetime-selector2.js +3 -3
  255. package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
  256. package/dist/components/udp-forms-builder.js.map +1 -1
  257. package/dist/components/udp-forms-follow-up-list-card.js +2 -2
  258. package/dist/components/udp-forms-follow-up-list-card.js.map +1 -1
  259. package/dist/components/udp-forms-list-card2.js +4 -4
  260. package/dist/components/udp-forms-list-card2.js.map +1 -1
  261. package/dist/components/udp-forms-list.js +1 -1
  262. package/dist/components/udp-forms-list.js.map +1 -1
  263. package/dist/components/udp-forms-renderer.js +273 -207
  264. package/dist/components/udp-forms-renderer.js.map +1 -1
  265. package/dist/components/udp-forms-ui2.js +6 -6
  266. package/dist/components/udp-forms-ui2.js.map +1 -1
  267. package/dist/components/udp-grid-loader2.js +2 -2
  268. package/dist/components/udp-linear-loader2.js +1 -1
  269. package/dist/components/udp-map-toolbar2.js +1 -1
  270. package/dist/components/udp-map.js +3 -3
  271. package/dist/components/udp-menu-item2.js +1 -1
  272. package/dist/components/udp-menu2.js +1 -1
  273. package/dist/components/udp-page.js +1 -1
  274. package/dist/components/udp-question-comments2.js +5 -5
  275. package/dist/components/udp-question-comments2.js.map +1 -1
  276. package/dist/components/udp-question2.js +4 -4
  277. package/dist/components/udp-question2.js.map +1 -1
  278. package/dist/components/udp-selector2.js +4 -4
  279. package/dist/components/udp-skeleton-loading2.js +1 -1
  280. package/dist/components/udp-split-screen.js +1 -1
  281. package/dist/components/udp-stepper-demo.js +1 -1
  282. package/dist/components/udp-tab-panel.js +2 -2
  283. package/dist/components/udp-tab.js +1 -1
  284. package/dist/components/udp-tabs2.js +2 -2
  285. package/dist/components/udp-time-selector2.js +3 -3
  286. package/dist/components/udp-timeline-connector.js +1 -1
  287. package/dist/components/udp-timeline-dot.js +1 -1
  288. package/dist/components/udp-timeline-item.js +2 -2
  289. package/dist/components/udp-timeline-separator.js +1 -1
  290. package/dist/components/udp-timeline.js +1 -1
  291. package/dist/components/udp-vertical-spacer.js +1 -1
  292. package/dist/components/utils.js +6 -6
  293. package/dist/components/utils.js.map +1 -1
  294. package/dist/docs.json +258 -205
  295. package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
  296. package/dist/esm/advanced-search_12.entry.js +1 -1
  297. package/dist/esm/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.js.map +1 -1
  298. package/dist/esm/ag-grid-base_6.entry.js +27 -11
  299. package/dist/esm/api-method-instance-grid.entry.js +1 -1
  300. package/dist/esm/app-bar.entry.js +1 -1
  301. package/dist/esm/check-box.entry.js +2 -2
  302. package/dist/esm/chip-section.entry.js +2 -2
  303. package/dist/esm/client-side-grid_2.entry.js +3 -3
  304. package/dist/esm/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.js.map +1 -1
  305. package/dist/esm/date-time-renderer_7.entry.js +13 -13
  306. package/dist/esm/entity-maintenance-grid.entry.js +1 -1
  307. package/dist/esm/{enums-CHxgVY-B.js → enums-DHT5wSnX.js} +9 -3
  308. package/dist/esm/enums-DHT5wSnX.js.map +1 -0
  309. package/dist/esm/feature-details-card_2.entry.js +5 -5
  310. package/dist/esm/filter-conditions_7.entry.js +2 -2
  311. package/dist/esm/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.js.map +1 -1
  312. package/dist/esm/form-metadata-display_8.entry.js +15 -15
  313. package/dist/esm/index-CaZq3YdB.js +10 -10
  314. package/dist/esm/loader.js +1 -1
  315. package/dist/esm/map-component_2.entry.js +2 -2
  316. package/dist/esm/numeric-field_5.entry.js +15 -15
  317. package/dist/esm/primary-action-header.udp-tabs.entry.js.map +1 -0
  318. package/dist/esm/{primary-action-header_3.entry.js → primary-action-header_2.entry.js} +5 -262
  319. package/dist/esm/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.js.map +1 -1
  320. package/dist/esm/question-configs-renderer_4.entry.js +7 -7
  321. package/dist/esm/resource-timeline-calendar.entry.js +1 -1
  322. package/dist/esm/search-method-grid.entry.js +2 -1
  323. package/dist/esm/search-method-grid.entry.js.map +1 -1
  324. package/dist/esm/server-side-grid.entry.js +1 -1
  325. package/dist/esm/side-sheet-container.entry.js +1 -1
  326. package/dist/esm/stencil-library.js +1 -1
  327. package/dist/esm/stencil-toggle.entry.js +4 -4
  328. package/dist/esm/text-field_2.entry.js +7 -7
  329. package/dist/esm/udp-chip_3.entry.js +1 -1
  330. package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
  331. package/dist/esm/udp-container-query-grid.entry.js +1 -1
  332. package/dist/esm/udp-container-query.entry.js +2 -2
  333. package/dist/esm/udp-container.entry.js +33 -0
  334. package/dist/esm/udp-container.entry.js.map +1 -0
  335. package/dist/esm/udp-date-range-selector.entry.js +1 -1
  336. package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
  337. package/dist/esm/{udp-forms-builder-question-template-DQJb7f4Y.js → udp-forms-builder-question-template-D6ADNZEG.js} +3 -3
  338. package/dist/esm/udp-forms-builder-question-template-D6ADNZEG.js.map +1 -0
  339. package/dist/esm/udp-forms-builder.entry.js +2 -2
  340. package/dist/esm/udp-forms-builder.entry.js.map +1 -1
  341. package/dist/esm/udp-forms-follow-up-list-card.entry.js +3 -3
  342. package/dist/esm/udp-forms-follow-up-list-card.entry.js.map +1 -1
  343. package/dist/esm/udp-forms-list-card.entry.js +6 -6
  344. package/dist/esm/udp-forms-list-card.entry.js.map +1 -1
  345. package/dist/esm/udp-forms-list.entry.js +2 -2
  346. package/dist/esm/udp-forms-list.entry.js.map +1 -1
  347. package/dist/esm/udp-forms-renderer.entry.js +270 -202
  348. package/dist/esm/udp-forms-renderer.entry.js.map +1 -1
  349. package/dist/esm/udp-forms-ui.entry.js +6 -6
  350. package/dist/esm/udp-forms-ui.entry.js.map +1 -1
  351. package/dist/esm/udp-linear-loader.udp-side-sheet.entry.js.map +1 -0
  352. package/dist/esm/udp-linear-loader_2.entry.js +282 -0
  353. package/dist/esm/udp-map.entry.js +3 -3
  354. package/dist/esm/udp-menu-item.udp-pop-over.entry.js.map +1 -0
  355. package/dist/esm/{udp-pop-over.entry.js → udp-menu-item_2.entry.js} +24 -3
  356. package/dist/esm/udp-page.entry.js +1 -1
  357. package/dist/esm/udp-skeleton-loading.entry.js +1 -1
  358. package/dist/esm/udp-split-screen.entry.js +1 -1
  359. package/dist/esm/udp-stepper-demo.entry.js +1 -1
  360. package/dist/esm/udp-tab-panel.entry.js +2 -2
  361. package/dist/esm/udp-tab.entry.js +1 -1
  362. package/dist/esm/udp-timeline-connector.entry.js +1 -1
  363. package/dist/esm/udp-timeline-dot.entry.js +1 -1
  364. package/dist/esm/udp-timeline-item.entry.js +2 -2
  365. package/dist/esm/udp-timeline-separator.entry.js +1 -1
  366. package/dist/esm/udp-timeline.entry.js +1 -1
  367. package/dist/esm/udp-vertical-spacer.entry.js +1 -1
  368. package/dist/esm/{utils-CiUp9KGZ.js → utils-kwLwITIE.js} +8 -8
  369. package/dist/esm/utils-kwLwITIE.js.map +1 -0
  370. package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
  371. package/dist/stencil-library/advanced-search_12.entry.js +1 -1
  372. package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.esm.js.map +1 -1
  373. package/dist/stencil-library/ag-grid-base_6.entry.js +1 -1
  374. package/dist/stencil-library/ag-grid-base_6.entry.js.map +1 -1
  375. package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
  376. package/dist/stencil-library/app-bar.entry.js +1 -1
  377. package/dist/stencil-library/check-box.entry.js +1 -1
  378. package/dist/stencil-library/chip-section.entry.js +1 -1
  379. package/dist/stencil-library/client-side-grid_2.entry.js +1 -1
  380. package/dist/stencil-library/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.esm.js.map +1 -1
  381. package/dist/stencil-library/date-time-renderer_7.entry.js +1 -1
  382. package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -1
  383. package/dist/stencil-library/{enums-CHxgVY-B.js → enums-DHT5wSnX.js} +2 -2
  384. package/dist/stencil-library/enums-DHT5wSnX.js.map +1 -0
  385. package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
  386. package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
  387. package/dist/stencil-library/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.esm.js.map +1 -1
  388. package/dist/stencil-library/form-metadata-display_8.entry.js +1 -1
  389. package/dist/stencil-library/form-metadata-display_8.entry.js.map +1 -1
  390. package/dist/stencil-library/map-component_2.entry.js +1 -1
  391. package/dist/stencil-library/numeric-field_5.entry.js +1 -1
  392. package/dist/stencil-library/primary-action-header.udp-tabs.entry.esm.js.map +1 -0
  393. package/dist/stencil-library/primary-action-header_2.entry.js +2 -0
  394. package/dist/stencil-library/primary-action-header_2.entry.js.map +1 -0
  395. package/dist/stencil-library/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.entry.esm.js.map +1 -1
  396. package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
  397. package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
  398. package/dist/stencil-library/search-method-grid.entry.esm.js.map +1 -1
  399. package/dist/stencil-library/search-method-grid.entry.js +1 -1
  400. package/dist/stencil-library/search-method-grid.entry.js.map +1 -1
  401. package/dist/stencil-library/server-side-grid.entry.js +1 -1
  402. package/dist/stencil-library/side-sheet-container.entry.js +1 -1
  403. package/dist/stencil-library/stencil-library.esm.js +1 -1
  404. package/dist/stencil-library/stencil-toggle.entry.js +1 -1
  405. package/dist/stencil-library/text-field_2.entry.js +1 -1
  406. package/dist/stencil-library/udp-chip_3.entry.js +1 -1
  407. package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
  408. package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
  409. package/dist/stencil-library/udp-container-query.entry.js +1 -1
  410. package/dist/stencil-library/udp-container.entry.esm.js.map +1 -0
  411. package/dist/stencil-library/udp-container.entry.js +2 -0
  412. package/dist/stencil-library/udp-container.entry.js.map +1 -0
  413. package/dist/stencil-library/udp-date-range-selector.entry.js +1 -1
  414. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
  415. package/dist/stencil-library/{udp-forms-builder-question-template-DQJb7f4Y.js → udp-forms-builder-question-template-D6ADNZEG.js} +2 -2
  416. package/dist/stencil-library/udp-forms-builder-question-template-D6ADNZEG.js.map +1 -0
  417. package/dist/stencil-library/udp-forms-builder.entry.esm.js.map +1 -1
  418. package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
  419. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.esm.js.map +1 -1
  420. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
  421. package/dist/stencil-library/udp-forms-list-card.entry.esm.js.map +1 -1
  422. package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
  423. package/dist/stencil-library/udp-forms-list-card.entry.js.map +1 -1
  424. package/dist/stencil-library/udp-forms-list.entry.esm.js.map +1 -1
  425. package/dist/stencil-library/udp-forms-list.entry.js +1 -1
  426. package/dist/stencil-library/udp-forms-renderer.entry.esm.js.map +1 -1
  427. package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
  428. package/dist/stencil-library/udp-forms-renderer.entry.js.map +1 -1
  429. package/dist/stencil-library/udp-forms-ui.entry.esm.js.map +1 -1
  430. package/dist/stencil-library/udp-forms-ui.entry.js +1 -1
  431. package/dist/stencil-library/udp-forms-ui.entry.js.map +1 -1
  432. package/dist/stencil-library/udp-linear-loader.udp-side-sheet.entry.esm.js.map +1 -0
  433. package/dist/stencil-library/udp-linear-loader_2.entry.js +2 -0
  434. package/dist/stencil-library/udp-linear-loader_2.entry.js.map +1 -0
  435. package/dist/stencil-library/udp-map.entry.js +1 -1
  436. package/dist/stencil-library/udp-menu-item.udp-pop-over.entry.esm.js.map +1 -0
  437. package/dist/stencil-library/udp-menu-item_2.entry.js +2 -0
  438. package/dist/stencil-library/udp-menu-item_2.entry.js.map +1 -0
  439. package/dist/stencil-library/udp-page.entry.js +1 -1
  440. package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
  441. package/dist/stencil-library/udp-split-screen.entry.js +1 -1
  442. package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
  443. package/dist/stencil-library/udp-tab-panel.entry.js +1 -1
  444. package/dist/stencil-library/udp-tab.entry.js +1 -1
  445. package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
  446. package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
  447. package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
  448. package/dist/stencil-library/udp-timeline-item.entry.js.map +1 -1
  449. package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
  450. package/dist/stencil-library/udp-timeline.entry.js +1 -1
  451. package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -1
  452. package/dist/stencil-library/{utils-CiUp9KGZ.js → utils-kwLwITIE.js} +1 -1
  453. package/dist/stencil-library/utils-kwLwITIE.js.map +1 -0
  454. package/dist/types/components/forms/udp-forms/udp-forms-builder/forms-builder-utils.d.ts +2 -2
  455. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/date-time-renderer/date-time-renderer.d.ts +1 -1
  456. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.d.ts +1 -1
  457. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.d.ts +1 -1
  458. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.d.ts +1 -1
  459. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.d.ts +1 -1
  460. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.d.ts +1 -1
  461. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.d.ts +1 -1
  462. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.d.ts +2 -2
  463. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.d.ts +4 -4
  464. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-utils.d.ts +12 -0
  465. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.d.ts +4 -9
  466. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpFormSubmission.d.ts +4 -5
  467. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/enums.d.ts +5 -0
  468. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/types.d.ts +0 -1
  469. package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/utils.d.ts +1 -1
  470. package/dist/types/components/forms/udp-forms/udp-question/udp-question-comment/udp-question-comments.d.ts +2 -2
  471. package/dist/types/components/forms/udp-forms/udp-question/udp-question.d.ts +4 -4
  472. package/dist/types/components/grid/new-grid/gridFunctions/bulkActions.d.ts +4 -2
  473. package/dist/types/components/grid/new-grid/interfaces/grid.d.ts +1 -0
  474. package/dist/types/components.d.ts +32 -30
  475. package/package.json +1 -1
  476. package/dist/cjs/enums-DVbZnzL8.js.map +0 -1
  477. package/dist/cjs/primary-action-header.udp-side-sheet.udp-tabs.entry.cjs.js.map +0 -1
  478. package/dist/cjs/udp-container.udp-linear-loader.entry.cjs.js.map +0 -1
  479. package/dist/cjs/udp-container_2.cjs.entry.js +0 -56
  480. package/dist/cjs/udp-forms-builder-question-template-CNONS2l5.js.map +0 -1
  481. package/dist/cjs/udp-menu-item.cjs.entry.js +0 -27
  482. package/dist/cjs/udp-menu-item.entry.cjs.js.map +0 -1
  483. package/dist/cjs/udp-pop-over.entry.cjs.js.map +0 -1
  484. package/dist/cjs/utils-DZ_OMtAy.js.map +0 -1
  485. package/dist/collection/components/forms/udp-forms/utils/classes/UdpForm.js.map +0 -1
  486. package/dist/collection/components/forms/udp-forms/utils/classes/UdpFormSubmission.js.map +0 -1
  487. package/dist/collection/components/forms/udp-forms/utils/enums.js.map +0 -1
  488. package/dist/collection/components/forms/udp-forms/utils/form-handler/IFormHandler.js.map +0 -1
  489. package/dist/collection/components/forms/udp-forms/utils/form-handler/UdpFormHandler.js.map +0 -1
  490. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/FormSubmissionHandlerFactory.js.map +0 -1
  491. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/IFormSubmissionHandler.js.map +0 -1
  492. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/PrivateFormSubmissionHandler.js.map +0 -1
  493. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/PublicFormSubmissionHandler.js.map +0 -1
  494. package/dist/collection/components/forms/udp-forms/utils/form-submission-handler/formUtils.js.map +0 -1
  495. package/dist/collection/components/forms/udp-forms/utils/types.js.map +0 -1
  496. package/dist/collection/components/forms/udp-forms/utils/utils.js.map +0 -1
  497. package/dist/esm/enums-CHxgVY-B.js.map +0 -1
  498. package/dist/esm/primary-action-header.udp-side-sheet.udp-tabs.entry.js.map +0 -1
  499. package/dist/esm/udp-container.udp-linear-loader.entry.js.map +0 -1
  500. package/dist/esm/udp-container_2.entry.js +0 -53
  501. package/dist/esm/udp-forms-builder-question-template-DQJb7f4Y.js.map +0 -1
  502. package/dist/esm/udp-menu-item.entry.js +0 -25
  503. package/dist/esm/udp-menu-item.entry.js.map +0 -1
  504. package/dist/esm/udp-pop-over.entry.js.map +0 -1
  505. package/dist/esm/utils-CiUp9KGZ.js.map +0 -1
  506. package/dist/stencil-library/enums-CHxgVY-B.js.map +0 -1
  507. package/dist/stencil-library/primary-action-header.udp-side-sheet.udp-tabs.entry.esm.js.map +0 -1
  508. package/dist/stencil-library/primary-action-header_3.entry.js +0 -2
  509. package/dist/stencil-library/primary-action-header_3.entry.js.map +0 -1
  510. package/dist/stencil-library/udp-container.udp-linear-loader.entry.esm.js.map +0 -1
  511. package/dist/stencil-library/udp-container_2.entry.js +0 -2
  512. package/dist/stencil-library/udp-container_2.entry.js.map +0 -1
  513. package/dist/stencil-library/udp-forms-builder-question-template-DQJb7f4Y.js.map +0 -1
  514. package/dist/stencil-library/udp-menu-item.entry.esm.js.map +0 -1
  515. package/dist/stencil-library/udp-menu-item.entry.js +0 -2
  516. package/dist/stencil-library/udp-menu-item.entry.js.map +0 -1
  517. package/dist/stencil-library/udp-pop-over.entry.esm.js.map +0 -1
  518. package/dist/stencil-library/udp-pop-over.entry.js +0 -2
  519. package/dist/stencil-library/udp-pop-over.entry.js.map +0 -1
  520. package/dist/stencil-library/utils-CiUp9KGZ.js.map +0 -1
  521. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpForm.js +0 -0
  522. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-handler/IFormHandler.js +0 -0
  523. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-handler/UdpFormHandler.js +0 -0
  524. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/FormSubmissionHandlerFactory.js +0 -0
  525. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/IFormSubmissionHandler.js +0 -0
  526. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/PublicFormSubmissionHandler.js +0 -0
  527. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/formUtils.js +0 -0
  528. /package/dist/collection/components/forms/udp-forms/{utils → udp-forms-utils}/types.js +0 -0
  529. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/classes/UdpForm.d.ts +0 -0
  530. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-handler/IFormHandler.d.ts +0 -0
  531. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-handler/UdpFormHandler.d.ts +0 -0
  532. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/FormSubmissionHandlerFactory.d.ts +0 -0
  533. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/IFormSubmissionHandler.d.ts +0 -0
  534. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/PrivateFormSubmissionHandler.d.ts +0 -0
  535. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/PublicFormSubmissionHandler.d.ts +0 -0
  536. /package/dist/types/components/forms/udp-forms/{utils → udp-forms-utils}/form-submission-handler/formUtils.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["registerInstance","createEvent","h","getElement","UdpFormsFieldTypeEnum","fontOverrideMapping","overrideFont","getIconFromName","udpFormsUiCss","UdpFormsUi","constructor","hostRef","this","formDirtyChange","initialValues","submitSuccessful","isLoading","isSaving","saveErrorMessage","showAutoSaveStatus","disabled","readonly","clientUserInfo","id","displayName","email","isSubmitted","isShowManualSaveIcon","showSavedMessage","isDialogOpen","dialogMessage","titleId","descriptionId","componentDidLoad","overrideStyles","componentDidUpdate","disconnectedCallback","savedMessageTimeoutId","clearTimeout","watchIsSaving","newValue","oldValue","console","log","setTimeout","_a","shadowRoot","el","querySelectorAll","forEach","element","_b","_c","_d","styleOverride","udpForm","styleOverrides","titleText","paragraphText","fontFamily","variant","setAttribute","isSectionContainsFollowUpFormLink","sectionKey","sectionObject","udpFormSubmission","data","submissionResponseData","_key","questionObject","Object","entries","metadata","followUpFormSubmissionId","render","_e","_f","_g","_h","_j","_k","_l","_m","_o","_p","_q","_r","class","questionNumber","sectionSet","Set","formQuestions","fq","add","section","hiddenQuestionTypes","Hidden","Paragraph","backgroundOverrides","background","backgroundImage","backgroundColor","style","maxWidth","handleSubmit","handleChange","onDirtyChange","event","emit","detail","open","message","labelOne","labelTwo","actionOne","dialogAction","actionTwo","assign","headerBackgroundColor","color","name","isVisible","handleSave","description","dynamicSections","map","sIndex","title","sectionPositionSuffix","sectionProperties","isRepeatable","filter","s","length","icon","tooltip","onClick","duplicateRepeatableSection","isOriginalSection","async","deleteRepeatableSection","performBackgroundSaveAndUpdateLocalSubmissionState","sectionText","question","isHidden","includes","fieldTypeId","num","helperText","questionText","value","key","questionIdentifierKey","status","type","watchers"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,MAAkB,kCAC9DC,MAA6B,kCAC7BC,OAA0BC,MAAoB,kCAC9CC,MAAuB,gCAC9B,kCACA,gCACA,gCACA,qCACA,wCACA,+CACA,uCACA,sCACA,gCACA,kCACA,kCACA,kCACA,0CACA,2CACA,sCACA,sCACA,sCACA,0CACA,2CACA,0CACA,4CACA,qCACA,0CACA,iDACA,0CACA,4CACA,4CACA,sCACA,iCACA,mCACA,iCACA,wCACA,wCACA,iCACA,oDACA,oDACA,mCACA,iCACA,qCACA,qCACA,0CACA,6CACA,sCACA,iCACA,iCACA,oCACA,oCACA,yCACA,yCACA,oCACA,sCACA,sCACA,wCACA,yCACA,wCACA,iCACA,iCACA,uCACA,yCACA,6CACA,kCACA,mCACA,2CACA,sDACA,mCACA,6CACA,uCACA,iDACA,oDACA,8CACA,kDACA,4CACA,sCACA,iCACA,qCACA,0CACA,2CACA,0CACA,mCACA,kCACA,qCACA,iCACA,kCACA,+CACA,yCACA,sDACA,qCACA,gCACA,kCACA,gCACA,0BAEP,MAAMC,EAAgB,q4EAEtB,MAAMC,EAAa,MACf,WAAAC,CAAYC,GACRX,EAAiBY,KAAMD,GACvBC,KAAKC,gBAAkBZ,EAAYW,KAAM,mBACzCA,KAAKE,cAAgB,CAAC,EACtBF,KAAKG,iBAAmB,MACxBH,KAAKI,UAAY,MACjBJ,KAAKK,SAAW,MAChBL,KAAKM,iBAAmB,KACxBN,KAAKO,mBAAqB,MAC1BP,KAAKQ,SAAW,MAChBR,KAAKS,SAAW,MAChBT,KAAKU,eAAiB,CAClBC,GAAI,KACJC,YAAa,KACbC,MAAO,MAEXb,KAAKc,YAAc,MACnBd,KAAKe,qBAAuB,MAC5Bf,KAAKgB,iBAAmB,M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AIA,EAAGO,cAC1F2F,cAAejG,EAAKxC,KAAK2C,QAAQC,kBAAoB,MAAQJ,SAAY,OAAS,EAAIA,EAAGiG,cAC1FN,SAAUA,EAAUvD,eAAgB2D,EAAKG,OAAQzE,GAAMD,GAAMD,GAAMtB,EAAKzC,KAAKE,iBAAmB,MAAQuC,SAAY,OAAS,EAAIA,EAAGU,MAAiB,MAAQY,SAAY,OAAS,EAAIA,EAAGoE,EAASvB,SAAW,MAAQ5C,SAAY,OAAS,EAAIA,EAAG0E,SAAW,MAAQzE,SAAY,EAAIA,EAAK,GAAIzD,SAAUR,KAAKQ,SAAUC,SAAUT,KAAKS,SAAUkI,IAAKR,EAASS,sBAAuB1I,cAAeF,KAAKE,cAAeQ,eAAgBV,KAAKU,eAAgB2C,kBAAmBrD,KAAKqD,oBAAsB,YAEnfqB,EAAK1E,KAAKqD,qBAAuB,MAAQqB,SAAY,OAAS,EAAIA,EAAGmE,SAAW,GAAMvJ,EAAE,MAAO,CAAEqF,MAAO,UAAYrF,EAAE,QAAS,CAAEkB,SAAUR,KAAKI,WAAaJ,KAAKQ,UAAYR,KAAKS,SAAUqI,KAAM,SAAUJ,MAAO,SAAU/D,MAAO,SAAUhE,GAAI,sCAAuCiH,QAAS,KACjS9F,QAAQC,IAAI,wBAAwB,OAI5CzC,EAAE,MAAO,CAAEqF,MAAO,cAAgBrF,EAAE,mBAAoB,KAAMA,EAAE,MAAO,CAAEqF,MAAO,eAAiBrF,EAAE,mBAAoB,KAAM,uCACjI,CACA,MAAI6C,GAAO,OAAO5C,EAAWS,KAAO,CACpC,mBAAW+I,GAAa,MAAO,CAC3B1I,SAAY,CAAC,iBACd,GAEPR,EAAW6F,MAAQ9F,SAEVC","ignoreList":[]}
1
+ {"version":3,"names":["registerInstance","createEvent","h","getElement","UdpFormsSubmissionStatusEnum","UdpFormsFieldTypeEnum","fontOverrideMapping","overrideFont","getIconFromName","udpFormsUiCss","UdpFormsUi","constructor","hostRef","this","formDirtyChange","currentValues","submitSuccessful","isLoading","isSaving","saveErrorMessage","showAutoSaveStatus","disabled","readonly","clientUserInfo","id","displayName","email","isSubmitted","isShowManualSaveIcon","showSavedMessage","isDialogOpen","dialogMessage","titleId","descriptionId","componentDidLoad","overrideStyles","componentDidUpdate","disconnectedCallback","savedMessageTimeoutId","clearTimeout","watchIsSaving","newValue","oldValue","console","log","setTimeout","_a","shadowRoot","el","querySelectorAll","forEach","element","_b","_c","_d","styleOverride","udpForm","styleOverrides","titleText","paragraphText","fontFamily","variant","setAttribute","isSectionContainsFollowUpFormLink","sectionKey","sectionObject","udpFormSubmission","data","submissionResponseData","_key","questionObject","Object","entries","metadata","followUpFormSubmissionId","render","_e","_f","_g","_h","_j","_k","_l","_m","_o","_p","_q","_r","class","questionNumber","sectionSet","Set","formQuestions","fq","add","section","hiddenQuestionTypes","Hidden","Paragraph","backgroundOverrides","background","backgroundImage","backgroundColor","style","maxWidth","handleSubmit","initialValues","handleChange","onDirtyChange","event","emit","detail","open","message","labelOne","labelTwo","actionOne","dialogAction","actionTwo","assign","headerBackgroundColor","color","name","isVisible","handleSave","description","dynamicSections","map","sIndex","title","sectionPositionSuffix","sectionProperties","isRepeatable","filter","s","length","icon","tooltip","onClick","duplicateRepeatableSection","isOriginalSection","async","deleteRepeatableSection","performBackgroundSaveAndUpdateLocalSubmissionState","sectionText","question","isHidden","includes","fieldTypeId","num","helperText","questionText","value","key","questionIdentifierKey","status","Submitted","type","watchers"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,MAAkB,kCAC9DC,OAAmCC,MAA6B,kCAChEC,OAA0BC,MAAoB,kCAC9CC,MAAuB,gCAC9B,kCACA,gCACA,gCACA,qCACA,wCACA,+CACA,uCACA,sCACA,gCACA,kCACA,kCACA,kCACA,0CACA,2CACA,sCACA,sCACA,sCACA,0CACA,2CACA,0CACA,4CACA,qCACA,0CACA,iDACA,0CACA,4CACA,4CACA,sCACA,iCACA,mCACA,iCACA,wCACA,wCACA,iCACA,oD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eAAgBV,KAAKU,eAAgB2C,kBAAmBrD,KAAKqD,oBAAsB,YAEnfqB,EAAK1E,KAAKqD,qBAAuB,MAAQqB,SAAY,OAAS,EAAIA,EAAGoE,SAAWvJ,EAA6BwJ,WAAc1J,EAAE,MAAO,CAAEsF,MAAO,UAAYtF,EAAE,QAAS,CAAEmB,SAAUR,KAAKI,WAAaJ,KAAKQ,UAAYR,KAAKS,SAAUuI,KAAM,SAAUL,MAAO,SAAUhE,MAAO,SAAUhE,GAAI,sCAAuCkH,QAAS,KACtU/F,QAAQC,IAAI,wBAAwB,OAI5C1C,EAAE,MAAO,CAAEsF,MAAO,cAAgBtF,EAAE,mBAAoB,KAAMA,EAAE,MAAO,CAAEsF,MAAO,eAAiBtF,EAAE,mBAAoB,KAAM,uCACjI,CACA,MAAI8C,GAAO,OAAO7C,EAAWU,KAAO,CACpC,mBAAWiJ,GAAa,MAAO,CAC3B5I,SAAY,CAAC,iBACd,GAEPR,EAAW6F,MAAQ9F,SAEVC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"udp-linear-loader.udp-side-sheet.entry.esm.js","sources":["src/components/loaders/udp-linear-loader/udp-linear-loader.css?tag=udp-linear-loader&encapsulation=shadow","src/components/loaders/udp-linear-loader/udp-linear-loader.tsx","src/components/drawers/udp-side-sheet/udp-side-sheet.css?tag=udp-side-sheet&encapsulation=shadow","src/components/drawers/udp-side-sheet/udp-side-sheet.tsx"],"sourcesContent":[":host {\n /* Define color variables, similar to the button component for consistency */\n --udp-loader-primary-color: var(--primary-color, #2953ff);\n --udp-loader-secondary-color: var(--secondary-color, #6f767a);\n --udp-loader-success-color: var(--success-color, #0da40d);\n --udp-loader-error-color: var(--error-color, #ff0000);\n --udp-loader-warning-color: var(--warning-color, #ffa500);\n --udp-loader-info-color: var(--info-color, #2953ff);\n}\n\n.loader {\n position: relative;\n width: 100%;\n height: 4px;\n background-color: transparent; /* The track is transparent, so it's invisible. */\n overflow: hidden; /* Ensures the animation stays within the bounds. */\n}\n\n.indeterminate {\n /* The default color will be primary */\n background-color: var(--udp-loader-primary-color);\n position: absolute;\n width: 40%;\n height: 100%;\n animation: indeterminate 1s linear infinite;\n}\n\n/* Apply the selected color to the moving bar */\n.loader--color-primary .indeterminate {\n background-color: var(--udp-loader-primary-color);\n}\n.loader--color-secondary .indeterminate {\n background-color: var(--udp-loader-secondary-color);\n}\n.loader--color-success .indeterminate {\n background-color: var(--udp-loader-success-color);\n}\n.loader--color-error .indeterminate {\n background-color: var(--udp-loader-error-color);\n}\n.loader--color-warning .indeterminate {\n background-color: var(--udp-loader-warning-color);\n}\n.loader--color-info .indeterminate {\n background-color: var(--udp-loader-info-color);\n}\n\n/*\n This animation makes the bar travel from left to right over the entire duration.\n This removes the long pause where the bar was off-screen.\n*/\n@keyframes indeterminate {\n 0% {\n left: -50%;\n width: 50%;\n }\n 100% {\n left: 100%;\n width: 100%;\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'udp-linear-loader',\n styleUrl: 'udp-linear-loader.css',\n shadow: true,\n})\nexport class UdpLinearLoader {\n /**\n * The color of the loader. It supports theming using global CSS variables.\n */\n @Prop() color: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' = 'primary';\n\n render() {\n const loaderClasses = {\n loader: true,\n [`loader--color-${this.color}`]: true,\n };\n\n return (\n <Host>\n <div class={loaderClasses}>\n <div class=\"indeterminate\"></div>\n </div>\n </Host>\n );\n }\n}\n",":host {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 0;\r\n height: 0;\r\n overflow: hidden;\r\n /* CRITICAL: transform creates a containing block, forcing fixed children to respect overflow: hidden */\r\n transform: translate(0);\r\n z-index: 9999;\r\n visibility: hidden;\r\n transition: visibility 0s 0.2s, width 0s 0.2s, height 0s 0.2s;\r\n}\r\n\r\n:host(.is-visible) {\r\n width: 100vw;\r\n height: 100vh;\r\n overflow: visible;\r\n visibility: visible;\r\n transition-delay: 0s;\r\n}\r\n\r\n.backdrop {\r\n background: rgba(0, 0, 0, 0.5);\r\n width: 100%;\r\n height: 100%;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n opacity: 0;\r\n transition: opacity 0.2s ease-in-out;\r\n}\r\n\r\n:host(.is-visible) .backdrop {\r\n opacity: 1;\r\n}\r\n\r\n.sheet {\r\n background: white;\r\n height: 100vh;\r\n position: fixed;\r\n top: 0;\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);\r\n transition: transform 0.2s ease-in-out;\r\n width: 100%;\r\n}\r\n\r\n.sheet.right {\r\n right: 0;\r\n transform: translateX(100%);\r\n}\r\n\r\n.sheet.left {\r\n left: 0;\r\n transform: translateX(-100%);\r\n}\r\n\r\n:host(.is-visible) .sheet {\r\n transform: translateX(0);\r\n}\r\n\r\n.sheet.sm {\r\n max-width: 360px;\r\n}\r\n\r\n.sheet.md {\r\n max-width: 600px;\r\n}\r\n\r\n.sheet.lg {\r\n max-width: 960px;\r\n}\r\n\r\n.sheet.full {\r\n max-width: 100%;\r\n}\r\n\r\n.sheet.custom-width {\r\n /* max-width is set via inline style */\r\n}\r\n\r\n/* Updated title container for new layout */\r\n.title-container {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n flex-shrink: 0;\r\n box-shadow: var(--elevation-01, 0 4px 8px rgba(0, 0, 0, 0.1));\r\n gap: var(--spacing-02)\r\n}\r\n\r\n.title-text {\r\n flex-grow: 1;\r\n text-align: left;\r\n /* Ensure title stays left-aligned */\r\n}\r\n\r\n.close-button {\r\n flex-shrink: 0;\r\n}\r\n\r\n/* Added styles for the new button's container */\r\n.header-action-button {\r\n flex-shrink: 0;\r\n display: flex;\r\n align-items: center;\r\n gap: var(--spacing-02, 4px);\r\n padding: var(--spacing-03, 8px) var(--spacing-03, 8px) var(--spacing-03, 8px) 0;\r\n}\r\n\r\n.content {\r\n overflow-y: auto;\r\n flex-grow: 1;\r\n background-color: var(--gray-01);\r\n}\r\n\r\n.content.padding {\r\n padding: var(--spacing-05, 24px);\r\n}\r\n\r\n.footer {\r\n padding: var(--spacing-03, 8px);\r\n box-shadow: var(--elevation-01, 0 4px 8px rgba(0, 0, 0, 0.1));\r\n display: flex;\r\n justify-content: flex-end;\r\n flex-shrink: 0;\r\n width: 100%;\r\n gap: var(--spacing-02, 4px);\r\n align-items: center;\r\n}\r\n\r\n.footer.secondary-button-overflow {\r\n flex-direction: row-reverse;\r\n}\r\n\r\n.footer-secondary-buttons-container {\r\n flex-grow: 2;\r\n width: 100%;\r\n}\r\n\r\n.footer-secondary-buttons {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: var(--spacing-02, 4px);\r\n align-items: center;\r\n}\r\n\r\n.footer-secondary-buttons.secondary-button-overflow {\r\n flex-grow: 1;\r\n}\r\n\r\n/* This container reserves the space for the loader (4px height).\r\n This prevents the content below it from shifting up and down\r\n when the loader appears or disappears.\r\n*/\r\n.loader-container {\r\n height: 4px;\r\n width: 100%;\r\n background-color: var(--gray-01);\r\n}\r\n\r\n/*\r\n By default, the loader is instantly hidden.\r\n There is no transition applied in its hidden state.\r\n*/\r\n.loader-container udp-linear-loader {\r\n visibility: hidden;\r\n opacity: 0;\r\n transition: none;\r\n}\r\n\r\n/*\r\n When the .is-loading class is applied, we make the loader visible\r\n AND apply a transition so it fades in smoothly. When the class is removed,\r\n it reverts to the rule above and disappears instantly.\r\n*/\r\n.loader-container udp-linear-loader.is-loading {\r\n visibility: visible;\r\n opacity: 1;\r\n /* transition: opacity 0.3s ease-in-out; */\r\n}\r\n","/* eslint-disable stencil/strict-boolean-conditions */\r\nimport {\r\n Component,\r\n h,\r\n Prop,\r\n Element,\r\n Watch,\r\n Event,\r\n EventEmitter,\r\n State,\r\n Build,\r\n} from '@stencil/core';\r\nimport Close24 from '@carbon/icons/es/close/24';\r\nimport { SecondaryButton } from './types';\r\n\r\n/**\r\n * Side sheet component used for contextual drawers.\r\n */\r\n@Component({\r\n tag: 'udp-side-sheet',\r\n styleUrl: 'udp-side-sheet.css',\r\n shadow: true,\r\n})\r\nexport class UdpSideSheet {\r\n /** Host element reference for portal behavior */\r\n @Element() hostEl!: HTMLElement;\r\n\r\n /** When true, the side sheet is open and visible */\r\n @Prop({ reflect: true, mutable: true }) open = false;\r\n\r\n /** Title text displayed in the header */\r\n @Prop() title: string;\r\n\r\n /** Position of the sheet on the screen */\r\n @Prop() position: 'left' | 'right' = 'right';\r\n\r\n /** Width preset or a numeric pixel width */\r\n @Prop() width: 'sm' | 'md' | 'lg' | 'full' | number = 'md';\r\n\r\n /** Controls whether default inner padding is applied */\r\n @Prop() padding = true;\r\n\r\n /** When true, shows a top loader */\r\n @Prop() loading: boolean = false;\r\n\r\n // Header action button props\r\n\r\n /** Label for the header primary action button */\r\n @Prop() headerActionButtonLabel: string;\r\n\r\n /** Whether the header action button is disabled */\r\n @Prop() headerActionButtonDisabled = false;\r\n\r\n /** Icon name for the header action button */\r\n @Prop() headerActionButtonIcon: string;\r\n\r\n /** Additional secondary buttons to render in the header */\r\n @Prop() headerSecondaryButtons: SecondaryButton[];\r\n\r\n // Footer / primary button props\r\n\r\n /** Label for the primary footer action button */\r\n @Prop() primaryButtonLabel: string;\r\n\r\n /** Whether the primary footer button is disabled */\r\n @Prop() primaryButtonDisabled = false;\r\n\r\n /** Icon name for the primary footer button */\r\n @Prop() primaryButtonIcon: string;\r\n\r\n /** Secondary buttons to render in the footer */\r\n @Prop() footerSecondaryButtons?: SecondaryButton[];\r\n\r\n /** Emitted when the sheet is closed */\r\n @Event() udpSideSheetClose: EventEmitter<void>;\r\n\r\n /** Emitted when the primary footer button is clicked */\r\n @Event() udpPrimaryButtonClick: EventEmitter<void>;\r\n\r\n /** Emitted when the header action button is clicked */\r\n @Event() udpHeaderActionButtonClick: EventEmitter<void>;\r\n\r\n /** Whether the footer should show the overflow \"More\" button */\r\n @State() showOverflowButton: boolean = false;\r\n\r\n /** Whether the overflow popover is open */\r\n @State() openOverflowMenu: boolean = false;\r\n\r\n /** Anchor element for the overflow popover */\r\n @State() overflowMenuAnchor: HTMLElement;\r\n\r\n @State() visibleSecondaryButtons: SecondaryButton[] = [];\r\n @State() overflowSecondaryButtons: SecondaryButton[] = [];\r\n\r\n /** Saved original document.body.overflow value to restore on close */\r\n private originalBodyOverflow: string = '';\r\n\r\n /** ResizeObserver instance watching footer size changes */\r\n private resizeObserver: ResizeObserver;\r\n\r\n /** Reference to the footer element */\r\n private footerRef: HTMLElement;\r\n\r\n /** Offscreen measurement container for buttons */\r\n private measurementContainerRef: HTMLElement;\r\n\r\n /** Saved original document.body.paddingRight value to restore on close */\r\n private originalBodyPaddingRight: string = '';\r\n\r\n /**\r\n * Watcher for `open` prop. Handles portal append/removal and body scroll lock.\r\n *\r\n * @param newValue - new value of the `open` prop\r\n * @param oldValue - previous value of the `open` prop\r\n */\r\n @Watch('open')\r\n handleOpenChange(newValue: boolean, oldValue: boolean) {\r\n if (newValue === oldValue) {\r\n return;\r\n }\r\n\r\n if (newValue) {\r\n // Calculate scrollbar width before hiding it\r\n const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\r\n\r\n // Save original values\r\n this.originalBodyOverflow = document.body.style.overflow;\r\n this.originalBodyPaddingRight = document.body.style.paddingRight;\r\n\r\n document.body.appendChild(this.hostEl);\r\n\r\n // Add padding to compensate for scrollbar\r\n if (scrollbarWidth > 0) {\r\n const currentPadding = parseInt(window.getComputedStyle(document.body).paddingRight) || 0;\r\n document.body.style.paddingRight = `${currentPadding + scrollbarWidth}px`;\r\n }\r\n\r\n document.body.style.overflow = 'hidden';\r\n\r\n requestAnimationFrame(() => {\r\n this.hostEl.classList.add('is-visible');\r\n // Check overflow after the side sheet is visible\r\n setTimeout(() => this.checkOverflow(), 50);\r\n });\r\n } else {\r\n this.hostEl.classList.remove('is-visible');\r\n document.body.style.overflow = this.originalBodyOverflow;\r\n document.body.style.paddingRight = this.originalBodyPaddingRight;\r\n this.hostEl.addEventListener('transitionend', this.handleTransitionEnd, { once: true });\r\n }\r\n }\r\n\r\n /**\r\n * Watcher for footer secondary buttons changes. Triggers overflow recalculation.\r\n */\r\n @Watch('footerSecondaryButtons')\r\n handleSecondaryButtonsChange() {\r\n // Recheck overflow when buttons change\r\n setTimeout(() => this.checkOverflow(), 50);\r\n }\r\n\r\n /**\r\n * Measures footer buttons in an offscreen container and sets `showOverflowButton`.\r\n * Safely returns early if required refs are unavailable.\r\n */\r\n private checkOverflow() {\r\n if (!this.footerRef || !this.measurementContainerRef) {\r\n return;\r\n }\r\n\r\n if (!this.footerSecondaryButtons || this.footerSecondaryButtons.length === 0) {\r\n this.showOverflowButton = false;\r\n return;\r\n }\r\n\r\n // Get the footer container width (minus padding)\r\n const footerWidth = this.footerRef.offsetWidth;\r\n const footerStyle = window.getComputedStyle(this.footerRef);\r\n const footerPaddingLeft = parseFloat(footerStyle.paddingLeft);\r\n const footerPaddingRight = parseFloat(footerStyle.paddingRight);\r\n const availableWidth = footerWidth - footerPaddingLeft - footerPaddingRight;\r\n\r\n // Measure all buttons in the hidden measurement container\r\n const measurementButtons = this.measurementContainerRef.querySelectorAll('udp-button');\r\n let totalWidth = 0;\r\n\r\n measurementButtons.forEach((button, index) => {\r\n const buttonWidth = button && button instanceof HTMLElement ? button.offsetWidth : 0;\r\n totalWidth += buttonWidth;\r\n\r\n // Add gap spacing between buttons (except for the last one)\r\n if (index < measurementButtons.length - 1) {\r\n const containerStyle = window.getComputedStyle(this.measurementContainerRef);\r\n const gap = parseFloat(containerStyle.gap) || 4; // Default gap from CSS\r\n totalWidth += gap;\r\n }\r\n });\r\n\r\n // Add a small buffer to prevent edge cases\r\n const buffer = 10;\r\n const isOverflowing = totalWidth + buffer > availableWidth;\r\n\r\n this.showOverflowButton = isOverflowing;\r\n }\r\n\r\n /**\r\n * Transition end handler used to remove the host element from body after close.\r\n *\r\n * @private\r\n */\r\n private handleTransitionEnd = () => {\r\n if (!this.open && this.hostEl.parentElement === document.body) {\r\n document.body.removeChild(this.hostEl);\r\n }\r\n };\r\n\r\n /**\r\n * Lifecycle: componentDidLoad. Sets up ResizeObserver and initial overflow check.\r\n *\r\n * @private\r\n */\r\n componentDidLoad() {\r\n if (Build.isBrowser) {\r\n // Set up ResizeObserver to watch for footer size changes\r\n this.resizeObserver = new ResizeObserver(() => {\r\n this.checkOverflow();\r\n });\r\n\r\n // Initial check after a small delay to ensure DOM is ready\r\n requestAnimationFrame(() => {\r\n setTimeout(() => {\r\n if (this.footerRef) {\r\n this.resizeObserver.observe(this.footerRef);\r\n }\r\n this.checkOverflow();\r\n }, 100);\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * Lifecycle: disconnectedCallback. Restores body styles and disconnects observers.\r\n *\r\n * @private\r\n */\r\n disconnectedCallback() {\r\n if (document.body.style.overflow === 'hidden') {\r\n document.body.style.overflow = this.originalBodyOverflow;\r\n document.body.style.paddingRight = this.originalBodyPaddingRight;\r\n }\r\n\r\n // Clean up ResizeObserver\r\n if (this.resizeObserver) {\r\n this.resizeObserver.disconnect();\r\n }\r\n }\r\n\r\n /**\r\n * Close the side sheet and emit close event.\r\n *\r\n * @private\r\n */\r\n private onClose = () => {\r\n this.open = false;\r\n this.udpSideSheetClose.emit();\r\n };\r\n\r\n /**\r\n * Backdrop click handler. Only closes when clicking the backdrop itself.\r\n *\r\n * @param e - MouseEvent from the backdrop click\r\n * @private\r\n */\r\n private onCloseBackdrop = (e: MouseEvent) => {\r\n if (e.target === e.currentTarget) {\r\n this.onClose();\r\n }\r\n };\r\n\r\n /**\r\n * Emit primary footer button click event.\r\n *\r\n * @private\r\n */\r\n private onPrimaryButtonClick = () => {\r\n this.udpPrimaryButtonClick.emit();\r\n };\r\n\r\n /**\r\n * Emit header action button click event.\r\n *\r\n * @private\r\n */\r\n private onHeaderActionButtonClick = () => {\r\n this.udpHeaderActionButtonClick.emit();\r\n };\r\n\r\n /**\r\n * Open overflow menu anchored to the clicked element.\r\n *\r\n * @param event - MouseEvent from the \"More\" button click\r\n * @private\r\n */\r\n private onMoreActionButtonClick = (event: MouseEvent) => {\r\n this.overflowMenuAnchor = event.currentTarget as HTMLElement;\r\n this.openOverflowMenu = true;\r\n };\r\n\r\n /**\r\n * Close the overflow popover.\r\n *\r\n * @param e - optional KeyboardEvent or MouseEvent (unused)\r\n * @private\r\n */\r\n private handleCloseOverflowMenu = () => {\r\n this.openOverflowMenu = false;\r\n };\r\n\r\n /**\r\n * Render the component UI.\r\n *\r\n * @returns JSX element tree\r\n * @private\r\n */\r\n render() {\r\n const widthClass = typeof this.width === 'number' ? 'custom-width' : this.width;\r\n const sideSheetStyle = typeof this.width === 'number' ? { maxWidth: `${this.width}px` } : {};\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (\r\n <udp-icon iconName={this.headerActionButtonIcon} color=\"inherit\" />\r\n ) : undefined;\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n const overflowIcon = <udp-icon iconName=\"overflowMenuVertical\" color=\"inherit\" />;\r\n\r\n return (\r\n <div class=\"backdrop\" onClick={this.onCloseBackdrop}>\r\n <div\r\n class={{ sheet: true, [this.position]: true, [widthClass]: true }}\r\n style={sideSheetStyle}\r\n >\r\n {/* Header layout has been changed here */}\r\n <div class=\"title-container\">\r\n <div class=\"close-button\">\r\n <stencil-icon-button\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n icon={Close24}\r\n onClick={this.onClose}\r\n secondary\r\n ></stencil-icon-button>\r\n </div>\r\n <div class=\"title-text\">\r\n <unity-typography variant=\"h6\">{this.title}</unity-typography>\r\n </div>\r\n {/* Conditionally render the new header action button */}\r\n {(this.headerActionButtonLabel || this.headerSecondaryButtons?.length > 0) && (\r\n <div class=\"header-action-button\">\r\n {this.headerSecondaryButtons?.map((item: SecondaryButton) => (\r\n <udp-button\r\n variant=\"outlined\"\r\n disabled={item.disabled}\r\n onClick={item.onClick}\r\n endIcon={item.icon}\r\n >\r\n {item.label}\r\n </udp-button>\r\n ))}\r\n {this.headerActionButtonLabel && (\r\n <udp-button\r\n disabled={this.headerActionButtonDisabled}\r\n onClick={this.onHeaderActionButtonClick}\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n startIcon={headerStartIcon}\r\n variant=\"contained\"\r\n >\r\n {this.headerActionButtonLabel}\r\n </udp-button>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class=\"loader-container\">\r\n <udp-linear-loader class={{ 'is-loading': this.loading }} color=\"primary\" />\r\n </div>\r\n\r\n <div class={{ content: true, padding: this.padding }}>\r\n <slot />\r\n </div>\r\n {(this.primaryButtonLabel || this.footerSecondaryButtons?.length > 0) && (\r\n <div>\r\n <div class=\"loader-container\"></div>\r\n <div\r\n class={{\r\n footer: true,\r\n }}\r\n ref={el => (this.footerRef = el)}\r\n >\r\n {/* Visible buttons container */}\r\n {!this.showOverflowButton && this.footerSecondaryButtons?.length > 0 && (\r\n <div class=\"footer-secondary-buttons-container\">\r\n <div class=\"footer-secondary-buttons\">\r\n {this.footerSecondaryButtons?.map((item: SecondaryButton) => (\r\n <udp-button\r\n variant=\"outlined\"\r\n disabled={item.disabled}\r\n onClick={item.onClick}\r\n endIcon={item.icon}\r\n >\r\n {item.label}\r\n </udp-button>\r\n ))}\r\n </div>\r\n </div>\r\n )}\r\n\r\n {/* More button when overflowing */}\r\n {this.showOverflowButton && (\r\n <udp-button\r\n variant=\"outlined\"\r\n onClick={this.onMoreActionButtonClick}\r\n color=\"secondary\"\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n endIcon={overflowIcon}\r\n >\r\n More\r\n </udp-button>\r\n )}\r\n\r\n {/* Primary button */}\r\n {this.primaryButtonLabel && (\r\n <udp-button\r\n variant=\"contained\"\r\n disabled={this.primaryButtonDisabled}\r\n onClick={this.onPrimaryButtonClick}\r\n endIcon={this.primaryButtonIcon}\r\n >\r\n {this.primaryButtonLabel}\r\n </udp-button>\r\n )}\r\n\r\n {/* Overflow menu */}\r\n {this.showOverflowButton && (\r\n <udp-pop-over\r\n anchorElement={this.overflowMenuAnchor}\r\n isOpen={this.openOverflowMenu}\r\n popoverWidth={'200px'}\r\n popoverMaxHeight={'300px'}\r\n handleOnClose={this.handleCloseOverflowMenu}\r\n >\r\n <div class=\"menu\">\r\n {this.footerSecondaryButtons?.map(item => (\r\n <udp-menu-item\r\n label={item?.label}\r\n iconName={item?.icon}\r\n onItemClick={() => {\r\n item?.onClick();\r\n this.handleCloseOverflowMenu();\r\n }}\r\n disabled={item?.disabled}\r\n />\r\n ))}\r\n </div>\r\n </udp-pop-over>\r\n )}\r\n\r\n {/* Hidden measurement container - renders all buttons for measurement */}\r\n <div\r\n ref={el => (this.measurementContainerRef = el)}\r\n style={{\r\n position: 'absolute',\r\n visibility: 'hidden',\r\n pointerEvents: 'none',\r\n display: 'flex',\r\n gap: 'var(--spacing-02, 4px)',\r\n }}\r\n aria-hidden=\"true\"\r\n >\r\n {this.footerSecondaryButtons?.map((item: SecondaryButton) => (\r\n <udp-button\r\n variant=\"text\"\r\n size=\"medium\"\r\n disabled={item.disabled}\r\n endIcon={item.icon}\r\n >\r\n {item.label}\r\n </udp-button>\r\n ))}\r\n {this.primaryButtonLabel && (\r\n <udp-button\r\n variant=\"contained\"\r\n size=\"medium\"\r\n disabled={this.primaryButtonDisabled}\r\n endIcon={this.primaryButtonIcon}\r\n >\r\n {this.primaryButtonLabel}\r\n </udp-button>\r\n )}\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"],"names":[],"mappings":";;;AAAA,MAAM,kBAAkB,GAAG,wpCAAwpC;;MCOtqC,eAAe,GAAA,MAAA;AAL5B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAME;;AAEG;AACK,QAAA,IAAK,CAAA,KAAA,GAAuE,SAAS;AAgB9F;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,aAAa,GAAG;AACpB,YAAA,MAAM,EAAE,IAAI;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E,KAAK,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC,EAC9C,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,UAAU;AACpB,gBAAA,UAAU,EAAE,QAAQ;AACpB,gBAAA,aAAa,EAAE,MAAM;AACrB,gBAAA,OAAO,EAAE,MAAM;AACf,gBAAA,GAAG,EAAE,wBAAwB;aAC9B,EAAA,aAAA,EACW,MAAM,EAAA,EAEjB,CAAA,EAAA,GAAA,IAAI,CAAC,sBAAsB,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA;AAAE,YAAA,EAAA,CAAA,GAAG,CAAC,CAAC,IAAqB,MACtD,CACE,CAAA,YAAA,EAAA,EAAA,OAAO,EAAC,MAAM,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,IAAI,IAEjB,IAAI,CAAC,KAAK,CACA,CACd,CAAC,EACD,IAAI,CAAC,kBAAkB,KACtB,CAAA,CAAA,YAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,qBAAqB,EACpC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAA,EAE9B,IAAI,CAAC,kBAAkB,CACb,CACd,CACG,CACF,CACF,CACP,CACG,CACF;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,H as i,c as o,a}from"./index-CaZq3YdB.js";import s from"@carbon/icons/es/close/24";const n=":host{--udp-loader-primary-color:var(--primary-color, #2953ff);--udp-loader-secondary-color:var(--secondary-color, #6f767a);--udp-loader-success-color:var(--success-color, #0da40d);--udp-loader-error-color:var(--error-color, #ff0000);--udp-loader-warning-color:var(--warning-color, #ffa500);--udp-loader-info-color:var(--info-color, #2953ff)}.loader{position:relative;width:100%;height:4px;background-color:transparent;overflow:hidden;}.indeterminate{background-color:var(--udp-loader-primary-color);position:absolute;width:40%;height:100%;animation:indeterminate 1s linear infinite}.loader--color-primary .indeterminate{background-color:var(--udp-loader-primary-color)}.loader--color-secondary .indeterminate{background-color:var(--udp-loader-secondary-color)}.loader--color-success .indeterminate{background-color:var(--udp-loader-success-color)}.loader--color-error .indeterminate{background-color:var(--udp-loader-error-color)}.loader--color-warning .indeterminate{background-color:var(--udp-loader-warning-color)}.loader--color-info .indeterminate{background-color:var(--udp-loader-info-color)}@keyframes indeterminate{0%{left:-50%;width:50%}100%{left:100%;width:100%}}";const d=class{constructor(t){e(this,t);this.color="primary"}render(){const e={loader:true,[`loader--color-${this.color}`]:true};return t(i,{key:"9a117a437dfa0fb96e428aa052de8a5d04f8fd15"},t("div",{key:"369d4f034b7d962bcc7eb621a078db1f107a0f8a",class:e},t("div",{key:"ed2a6774666c41ba5e67147ffedce6af63aeb1e1",class:"indeterminate"})))}};d.style=n;const r=":host{position:fixed;top:0;left:0;width:0;height:0;overflow:hidden;transform:translate(0);z-index:9999;visibility:hidden;transition:visibility 0s 0.2s, width 0s 0.2s, height 0s 0.2s}:host(.is-visible){width:100vw;height:100vh;overflow:visible;visibility:visible;transition-delay:0s}.backdrop{background:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:fixed;top:0;left:0;opacity:0;transition:opacity 0.2s ease-in-out}:host(.is-visible) .backdrop{opacity:1}.sheet{background:white;height:100vh;position:fixed;top:0;display:flex;flex-direction:column;box-shadow:0 0 4px rgba(0, 0, 0, 0.3);transition:transform 0.2s ease-in-out;width:100%}.sheet.right{right:0;transform:translateX(100%)}.sheet.left{left:0;transform:translateX(-100%)}:host(.is-visible) .sheet{transform:translateX(0)}.sheet.sm{max-width:360px}.sheet.md{max-width:600px}.sheet.lg{max-width:960px}.sheet.full{max-width:100%}.sheet.custom-width{}.title-container{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;box-shadow:var(--elevation-01, 0 4px 8px rgba(0, 0, 0, 0.1));gap:var(--spacing-02)}.title-text{flex-grow:1;text-align:left;}.close-button{flex-shrink:0}.header-action-button{flex-shrink:0;display:flex;align-items:center;gap:var(--spacing-02, 4px);padding:var(--spacing-03, 8px) var(--spacing-03, 8px) var(--spacing-03, 8px) 0}.content{overflow-y:auto;flex-grow:1;background-color:var(--gray-01)}.content.padding{padding:var(--spacing-05, 24px)}.footer{padding:var(--spacing-03, 8px);box-shadow:var(--elevation-01, 0 4px 8px rgba(0, 0, 0, 0.1));display:flex;justify-content:flex-end;flex-shrink:0;width:100%;gap:var(--spacing-02, 4px);align-items:center}.footer.secondary-button-overflow{flex-direction:row-reverse}.footer-secondary-buttons-container{flex-grow:2;width:100%}.footer-secondary-buttons{display:flex;justify-content:flex-end;gap:var(--spacing-02, 4px);align-items:center}.footer-secondary-buttons.secondary-button-overflow{flex-grow:1}.loader-container{height:4px;width:100%;background-color:var(--gray-01)}.loader-container udp-linear-loader{visibility:hidden;opacity:0;transition:none}.loader-container udp-linear-loader.is-loading{visibility:visible;opacity:1;}";const c=class{constructor(t){e(this,t);this.udpSideSheetClose=o(this,"udpSideSheetClose");this.udpPrimaryButtonClick=o(this,"udpPrimaryButtonClick");this.udpHeaderActionButtonClick=o(this,"udpHeaderActionButtonClick");this.open=false;this.position="right";this.width="md";this.padding=true;this.loading=false;this.headerActionButtonDisabled=false;this.primaryButtonDisabled=false;this.showOverflowButton=false;this.openOverflowMenu=false;this.visibleSecondaryButtons=[];this.overflowSecondaryButtons=[];this.originalBodyOverflow="";this.originalBodyPaddingRight="";this.handleTransitionEnd=()=>{if(!this.open&&this.hostEl.parentElement===document.body){document.body.removeChild(this.hostEl)}};this.onClose=()=>{this.open=false;this.udpSideSheetClose.emit()};this.onCloseBackdrop=e=>{if(e.target===e.currentTarget){this.onClose()}};this.onPrimaryButtonClick=()=>{this.udpPrimaryButtonClick.emit()};this.onHeaderActionButtonClick=()=>{this.udpHeaderActionButtonClick.emit()};this.onMoreActionButtonClick=e=>{this.overflowMenuAnchor=e.currentTarget;this.openOverflowMenu=true};this.handleCloseOverflowMenu=()=>{this.openOverflowMenu=false}}handleOpenChange(e,t){if(e===t){return}if(e){const e=window.innerWidth-document.documentElement.clientWidth;this.originalBodyOverflow=document.body.style.overflow;this.originalBodyPaddingRight=document.body.style.paddingRight;document.body.appendChild(this.hostEl);if(e>0){const t=parseInt(window.getComputedStyle(document.body).paddingRight)||0;document.body.style.paddingRight=`${t+e}px`}document.body.style.overflow="hidden";requestAnimationFrame((()=>{this.hostEl.classList.add("is-visible");setTimeout((()=>this.checkOverflow()),50)}))}else{this.hostEl.classList.remove("is-visible");document.body.style.overflow=this.originalBodyOverflow;document.body.style.paddingRight=this.originalBodyPaddingRight;this.hostEl.addEventListener("transitionend",this.handleTransitionEnd,{once:true})}}handleSecondaryButtonsChange(){setTimeout((()=>this.checkOverflow()),50)}checkOverflow(){if(!this.footerRef||!this.measurementContainerRef){return}if(!this.footerSecondaryButtons||this.footerSecondaryButtons.length===0){this.showOverflowButton=false;return}const e=this.footerRef.offsetWidth;const t=window.getComputedStyle(this.footerRef);const i=parseFloat(t.paddingLeft);const o=parseFloat(t.paddingRight);const a=e-i-o;const s=this.measurementContainerRef.querySelectorAll("udp-button");let n=0;s.forEach(((e,t)=>{const i=e&&e instanceof HTMLElement?e.offsetWidth:0;n+=i;if(t<s.length-1){const e=window.getComputedStyle(this.measurementContainerRef);const t=parseFloat(e.gap)||4;n+=t}}));const d=10;const r=n+d>a;this.showOverflowButton=r}componentDidLoad(){{this.resizeObserver=new ResizeObserver((()=>{this.checkOverflow()}));requestAnimationFrame((()=>{setTimeout((()=>{if(this.footerRef){this.resizeObserver.observe(this.footerRef)}this.checkOverflow()}),100)}))}}disconnectedCallback(){if(document.body.style.overflow==="hidden"){document.body.style.overflow=this.originalBodyOverflow;document.body.style.paddingRight=this.originalBodyPaddingRight}if(this.resizeObserver){this.resizeObserver.disconnect()}}render(){var e,i,o,a,n,d,r;const c=typeof this.width==="number"?"custom-width":this.width;const l=typeof this.width==="number"?{maxWidth:`${this.width}px`}:{};const h=Boolean(this.headerActionButtonIcon)?t("udp-icon",{iconName:this.headerActionButtonIcon,color:"inherit"}):undefined;const f=t("udp-icon",{key:"6da1f10cce0b9e2b2f597df9249ef45128445801",iconName:"overflowMenuVertical",color:"inherit"});return t("div",{key:"20237474eebbd73253c97b28229607d10ac91e2f",class:"backdrop",onClick:this.onCloseBackdrop},t("div",{key:"5b09a3b7e0905a7eef6875499eb863daedcb8969",class:{sheet:true,[this.position]:true,[c]:true},style:l},t("div",{key:"99c0fa14ced2b4397b066f9348984cf85c5e6325",class:"title-container"},t("div",{key:"a47a3669b74bfc3e7235ab4487fcae6b24675b26",class:"close-button"},t("stencil-icon-button",{key:"46a52c8e2f4ac95b4ef668e05905fdde9f8d0ee4",icon:s,onClick:this.onClose,secondary:true})),t("div",{key:"267ede825a8d9fab576c7bb0eeac782b8195372c",class:"title-text"},t("unity-typography",{key:"b3001278f39e3311e2b736dd47d91ecb04601981",variant:"h6"},this.title)),(this.headerActionButtonLabel||((e=this.headerSecondaryButtons)===null||e===void 0?void 0:e.length)>0)&&t("div",{key:"5751cfe92eb7b01c836085d50429f19234844b31",class:"header-action-button"},(i=this.headerSecondaryButtons)===null||i===void 0?void 0:i.map((e=>t("udp-button",{variant:"outlined",disabled:e.disabled,onClick:e.onClick,endIcon:e.icon},e.label))),this.headerActionButtonLabel&&t("udp-button",{key:"a8f34ed12616418ee42cb5eec10e92add96598a6",disabled:this.headerActionButtonDisabled,onClick:this.onHeaderActionButtonClick,startIcon:h,variant:"contained"},this.headerActionButtonLabel))),t("div",{key:"94364ba51f35c7a46fddb17792c7905dfd6ebc45",class:"loader-container"},t("udp-linear-loader",{key:"e12b1130a11b4a9de87aa8da219f538354508e9f",class:{"is-loading":this.loading},color:"primary"})),t("div",{key:"eb842f58defdcd74ef6a28815f11f21c68c8c2ee",class:{content:true,padding:this.padding}},t("slot",{key:"d7731b049a94fb19d38c045ea76c2bf78062ec1b"})),(this.primaryButtonLabel||((o=this.footerSecondaryButtons)===null||o===void 0?void 0:o.length)>0)&&t("div",{key:"0991510d62b3fefd3027f15b96e46d44a8ac66e1"},t("div",{key:"148a2ebb2385c9e04c5957fff1d9be90a57d441c",class:"loader-container"}),t("div",{key:"ffe55575f51be1c9136cc1bdf8eb3a43e14b01da",class:{footer:true},ref:e=>this.footerRef=e},!this.showOverflowButton&&((a=this.footerSecondaryButtons)===null||a===void 0?void 0:a.length)>0&&t("div",{key:"47b70ed64e9246d63819afcdb93d40eb6559a9a8",class:"footer-secondary-buttons-container"},t("div",{key:"ef8f34e7c4c01c4a9f689a1cffe648837663a46c",class:"footer-secondary-buttons"},(n=this.footerSecondaryButtons)===null||n===void 0?void 0:n.map((e=>t("udp-button",{variant:"outlined",disabled:e.disabled,onClick:e.onClick,endIcon:e.icon},e.label))))),this.showOverflowButton&&t("udp-button",{key:"aa388701ba4d91be157b3ee4ad434d50b8d03efe",variant:"outlined",onClick:this.onMoreActionButtonClick,color:"secondary",endIcon:f},"More"),this.primaryButtonLabel&&t("udp-button",{key:"cb644736d0d39dcd89cd2fe2d721810781a581d2",variant:"contained",disabled:this.primaryButtonDisabled,onClick:this.onPrimaryButtonClick,endIcon:this.primaryButtonIcon},this.primaryButtonLabel),this.showOverflowButton&&t("udp-pop-over",{key:"7de1a458880803c3a3b912aaa567c9df82748531",anchorElement:this.overflowMenuAnchor,isOpen:this.openOverflowMenu,popoverWidth:"200px",popoverMaxHeight:"300px",handleOnClose:this.handleCloseOverflowMenu},t("div",{key:"dc0dc7b56615ede816650bf970e6059b8ea30c2d",class:"menu"},(d=this.footerSecondaryButtons)===null||d===void 0?void 0:d.map((e=>t("udp-menu-item",{label:e===null||e===void 0?void 0:e.label,iconName:e===null||e===void 0?void 0:e.icon,onItemClick:()=>{e===null||e===void 0?void 0:e.onClick();this.handleCloseOverflowMenu()},disabled:e===null||e===void 0?void 0:e.disabled}))))),t("div",{key:"a7aecadc65eb2fb3a106c19f6101e4c6c158c960",ref:e=>this.measurementContainerRef=e,style:{position:"absolute",visibility:"hidden",pointerEvents:"none",display:"flex",gap:"var(--spacing-02, 4px)"},"aria-hidden":"true"},(r=this.footerSecondaryButtons)===null||r===void 0?void 0:r.map((e=>t("udp-button",{variant:"text",size:"medium",disabled:e.disabled,endIcon:e.icon},e.label))),this.primaryButtonLabel&&t("udp-button",{key:"64be9bf39748c7c301d4f4d264fae98ed0e40302",variant:"contained",size:"medium",disabled:this.primaryButtonDisabled,endIcon:this.primaryButtonIcon},this.primaryButtonLabel))))))}get hostEl(){return a(this)}static get watchers(){return{open:["handleOpenChange"],footerSecondaryButtons:["handleSecondaryButtonsChange"]}}};c.style=r;export{d as udp_linear_loader,c as udp_side_sheet};
2
+ //# sourceMappingURL=udp-linear-loader_2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["registerInstance","h","Host","createEvent","getElement","Close24","udpLinearLoaderCss","UdpLinearLoader","constructor","hostRef","this","color","render","loaderClasses","loader","key","class","style","udpSideSheetCss","UdpSideSheet","udpSideSheetClose","udpPrimaryButtonClick","udpHeaderActionButtonClick","open","position","width","padding","loading","headerActionButtonDisabled","primaryButtonDisabled","showOverflowButton","openOverflowMenu","visibleSecondaryButtons","overflowSecondaryButtons","originalBodyOverflow","originalBodyPaddingRight","handleTransitionEnd","hostEl","parentElement","document","body","removeChild","onClose","emit","onCloseBackdrop","e","target","currentTarget","onPrimaryButtonClick","onHeaderActionButtonClick","onMoreActionButtonClick","event","overflowMenuAnchor","handleCloseOverflowMenu","handleOpenChange","newValue","oldValue","scrollbarWidth","window","innerWidth","documentElement","clientWidth","overflow","paddingRight","appendChild","currentPadding","parseInt","getComputedStyle","requestAnimationFrame","classList","add","setTimeout","checkOverflow","remove","addEventListener","once","handleSecondaryButtonsChange","footerRef","measurementContainerRef","footerSecondaryButtons","length","footerWidth","offsetWidth","footerStyle","footerPaddingLeft","parseFloat","paddingLeft","footerPaddingRight","availableWidth","measurementButtons","querySelectorAll","totalWidth","forEach","button","index","buttonWidth","HTMLElement","containerStyle","gap","buffer","isOverflowing","componentDidLoad","resizeObserver","ResizeObserver","observe","disconnectedCallback","disconnect","_a","_b","_c","_d","_e","_f","_g","widthClass","sideSheetStyle","maxWidth","headerStartIcon","Boolean","headerActionButtonIcon","iconName","undefined","overflowIcon","onClick","sheet","icon","secondary","variant","title","headerActionButtonLabel","headerSecondaryButtons","map","item","disabled","endIcon","label","startIcon","content","primaryButtonLabel","footer","ref","el","primaryButtonIcon","anchorElement","isOpen","popoverWidth","popoverMaxHeight","handleOnClose","onItemClick","visibility","pointerEvents","display","size","watchers"],"sources":["0"],"mappings":"YAAcA,OAAkBC,OAAQC,OAAWC,EAAkBC,MAAkB,6BAChFC,MAAa,4BAEpB,MAAMC,EAAqB,ypCAE3B,MAAMC,EAAkB,MACpB,WAAAC,CAAYC,GACRT,EAAiBU,KAAMD,GAIvBC,KAAKC,MAAQ,SACjB,CACA,MAAAC,GACI,MAAMC,EAAgB,CAClBC,OAAQ,KACR,CAAC,iBAAiBJ,KAAKC,SAAU,MAErC,OAAQV,EAAEC,EAAM,CAAEa,IAAK,4CAA8Cd,EAAE,MAAO,CAAEc,IAAK,2CAA4CC,MAAOH,GAAiBZ,EAAE,MAAO,CAAEc,IAAK,2CAA4CC,MAAO,mBAChO,GAEJT,EAAgBU,MAAQX,EAExB,MAAMY,EAAkB,qoEAExB,MAAMC,EAAe,MACjB,WAAAX,CAAYC,GACRT,EAAiBU,KAAMD,GACvBC,KAAKU,kBAAoBjB,EAAYO,KAAM,qBAC3CA,KAAKW,sBAAwBlB,EAAYO,KAAM,yBAC/CA,KAAKY,2BAA6BnB,EAAYO,KAAM,8BAEpDA,KAAKa,KAAO,MAEZb,KAAKc,SAAW,QAEhBd,KAAKe,MAAQ,KAEbf,KAAKgB,QAAU,KAEfhB,KAAKiB,QAAU,MAEfjB,KAAKkB,2BAA6B,MAElClB,KAAKmB,sBAAwB,MAE7BnB,KAAKoB,mBAAqB,MAE1BpB,KAAKqB,iBAAmB,MACxBrB,KAAKsB,w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C,cAAe,OACfC,QAAS,OACTrD,IAAK,0BACN,cAAe,SAAWe,EAAKvG,KAAKqE,0BAA4B,MAAQkC,SAAY,OAAS,EAChGA,EAAGkB,KAAKC,GAAUnI,EAAE,aAAc,CAAE8H,QAAS,OAAQyB,KAAM,SAAUnB,SAAUD,EAAKC,SAAUC,QAASF,EAAKP,MAAQO,EAAKG,SAAU7H,KAAKgI,oBAAuBzI,EAAE,aAAc,CAAEc,IAAK,2CAA4CgH,QAAS,YAAayB,KAAM,SAAUnB,SAAU3H,KAAKmB,sBAAuByG,QAAS5H,KAAKoI,mBAAqBpI,KAAKgI,wBAC9V,CACA,UAAIrG,GAAW,OAAOjC,EAAWM,KAAO,CACxC,mBAAW+I,GAAa,MAAO,CAC3BlI,KAAQ,CAAC,oBACTwD,uBAA0B,CAAC,gCAC5B,GAEP5D,EAAaF,MAAQC,SAEZX,uBAAsCY","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./index-CaZq3YdB.js";const i=":host{display:block}.zoomControl{left:'auto';right:'20';top:'20'}.iconButtonWrapper{padding:var(--spacing-04)}#featureDetailsPopOverContainer{position:absolute;z-index:1000}.hidden-controls .ol-zoom,.hidden-controls .ol-attribution{display:none}.ol-control{width:fit-content !important}";const s=class{constructor(t){e(this,t);this.enableToolbar=true;this.mapTitle="";this.data=[];this.isGeoJsonFormat=true;this.enableZoom=true;this.mapZoom=17;this.mapCenter=[0,0];this.mapHeight="80vh";this.mapProjection="";this.filterPanel="";this.enableTileSelection=true;this.tileLayersOptions=[];this.defaultTileOptionName="";this.layerOptions=[];this.initialSelectedLayers=[];this.bulkSelectedFeaturesActionPanel="";this.filterLayersByRole=false;this.layerKeySeparator="";this.refreshButtonTooltip="";this.readOnlyMap=false;this.enableAdd=true;this.addMultipleFeatures=true;this.enableSplitFeature=true;this.enableViewFeature=true;this.readOnlyLayers=[];this.popoverPrimaryActions=[];this.popoverMoreIconButtonActions=[];this.hideMessageIconPopover=false;this.cardConfig={};this.minZoom=0;this.maxZoom=28;this.bulkSelectionActive=false;this.filteredLayerOptionsByRole=[];this.splitActive=false;this.enableDragBox=false;this.selectedFeatureCoordinates=[];this.selectedFeatureProperties=null;this.enableAddNewFeature=false;this.selectedLayers=[];this.handleSetFilteredLayerOptionsByRole=e=>{this.filteredLayerOptionsByRole=e};this.handleSetMapComponent=e=>{if(e){this.map=e}};this.handleSetBulkSelectionActive=e=>{this.bulkSelectionActive=e};this.handleSetEnableDragBox=e=>{this.enableDragBox=e};this.handleSetSplitActive=e=>{this.splitActive=e};this.handleEnableAddNewFeature=e=>{this.enableAddNewFeature=e};this.handleSetSelectedFeatureProperties=e=>{if(e){let t=e===null||e===void 0?void 0:e.getProperties();if(t){this.selectedFeatureCoordinates=t.geometry.flatCoordinates;this.selectedFeatureProperties=t}}else{this.selectedFeatureProperties=null;this.selectedFeatureObjectKeyValuePairs=[]}}}watchDragBoxandSelectedFeatureInteraction(){if(!this.enableDragBox&&this.selectFeatureInteraction){this.selectFeatureInteraction.setActive(true);this.selectFeatureInteraction.getFeatures().clear();this.selectedFeatureProperties=null;this.selectedFeatureObjectKeyValuePairs=[]}}updateSelectedLayers(e){this.selectedLayers=e;this.initialSelectedLayers=e}render(){return t("map-component",{key:"cf730fe0040dac4733618efa7f1b5912273a4014",handleSetMapComponent:this.handleSetMapComponent,data:this.data,isGeoJsonFormat:this.isGeoJsonFormat,geoJsonMappingConfig:this.geoJsonMappingConfig,enableZoom:this.enableZoom,mapZoom:this.mapZoom,mapCenter:this.mapCenter,mapHeight:this.mapHeight,crs:this.crs,mapProjection:this.mapProjection,mapDataProjection:this.mapDataProjection,getFilteredMapData:this.getFilteredMapData,getFeatureStyles:this.getFeatureStyles,getSelectedFeatureStyles:this.getSelectedFeatureStyles,filterPanel:this.filterPanel,filterPanelCallback:this.filterPanelCallback,enableTileSelection:this.enableTileSelection,tileLayersOptions:this.tileLayersOptions,defaultTileOptionName:this.defaultTileOptionName,layerOptions:this.layerOptions,initialSelectedLayers:this.initialSelectedLayers,bulkSelectedFeaturesActionPanel:this.bulkSelectedFeaturesActionPanel,handleSetSelectedFeaturesOnBulkSelect:this.handleSetSelectedFeaturesOnBulkSelect,handleSetSelectedFeatureOnSelect:this.handleSetSelectedFeatureOnSelect,filterLayersByRole:this.filterLayersByRole,layerKeys:this.layerKeys,layerKeySeparator:this.layerKeySeparator,user:this.user,layerRoles:this.layerRoles,filteredLayerOptionsByRole:this.filteredLayerOptionsByRole,handleSetFilteredLayerOptionsByRole:this.handleSetFilteredLayerOptionsByRole,readOnlyMap:this.readOnlyMap,enableViewFeature:this.enableViewFeature,handleViewFeature:this.handleViewFeature,bulkSelectionActive:this.bulkSelectionActive,splitActive:this.splitActive,enableDragBox:this.enableDragBox,selectFeatureInteraction:this.selectFeatureInteraction,handleSetSelectedFeatureProperties:this.handleSetSelectedFeatureProperties,selectedFeatureCoordinates:this.selectedFeatureCoordinates,selectedFeatureProperties:this.selectedFeatureProperties,enableAddNewFeature:this.enableAddNewFeature,handleGetZoomExtent:this.handleGetZoomExtent,selectedLayers:this.selectedLayers,handleSetSelectedLayers:e=>{this.updateSelectedLayers(e)},readOnlyLayers:this.readOnlyLayers,additionalOnclosePopover:this.additionalOnclosePopover,popoverPrimaryActions:this.popoverPrimaryActions,popoverMoreIconButtonActions:this.popoverMoreIconButtonActions,getMessagePopover:this.getMessagePopover,getMessageIconPopover:this.getMessageIconPopover,hideMessageIconPopover:this.hideMessageIconPopover,popoverCardConfig:this.cardConfig,popoverWidth:this.popoverWidth,handleGetAdditionalFeaturePropertiesOnSelect:this.handleGetAdditionalFeaturePropertiesOnSelect,minZoom:this.minZoom,maxZoom:this.maxZoom},this.enableToolbar&&t("udp-map-toolbar",{key:"49d244cc30139684e35f2f3d62a19fb994438882",map:this.map,mapTitle:this.mapTitle,mapProjection:this.mapProjection,getFeatureStyles:this.getFeatureStyles,getSelectedFeatureStyles:this.getSelectedFeatureStyles,filterPanel:this.filterPanel,enableTileSelection:this.enableTileSelection,tileLayersOptions:this.tileLayersOptions,defaultTileOptionName:this.defaultTileOptionName,layerOptions:this.layerOptions,bulkSelectedFeaturesActionPanel:this.bulkSelectedFeaturesActionPanel,handleSetSelectedFeaturesOnBulkSelect:this.handleSetSelectedFeaturesOnBulkSelect,handleRefresh:this.handleRefresh,refreshButtonTooltip:this.refreshButtonTooltip,readOnlyMap:this.readOnlyMap,enableAdd:this.enableAdd,handleAddNewFeatures:this.handleAddNewFeatures,addMultipleFeatures:this.addMultipleFeatures,enableSplitFeature:this.enableSplitFeature,handleSplitFeature:this.handleSplitFeature,handleSetSelectedFeatureProperties:this.handleSetSelectedFeatureProperties,filteredLayerOptionsByRole:this.filteredLayerOptionsByRole,handleSetBulkSelectionActive:this.handleSetBulkSelectionActive,enableDragBox:this.enableDragBox,handleSetEnableDragBox:this.handleSetEnableDragBox,splitActive:this.splitActive,handleSetSplitActive:this.handleSetSplitActive,selectFeatureInteraction:this.selectFeatureInteraction,enableAddNewFeature:this.enableAddNewFeature,handleEnableAddNewFeature:this.handleEnableAddNewFeature,handleSelectLayersCallback:this.handleSelectLayersCallback,selectedLayers:this.selectedLayers,handleSetSelectedLayers:e=>{this.updateSelectedLayers(e)},addFeaturePanelConfig:this.addFeaturePanelConfig}),t("slot",{key:"88fad9362a1e7d28a537eb2dfcdcb9735f491542"}))}static get watchers(){return{enableDragBox:["watchDragBoxandSelectedFeatureInteraction"],selectFeatureInteraction:["watchDragBoxandSelectedFeatureInteraction"]}}};s.style=i;export{s as udp_map};
1
+ import{r as e,h as t}from"./index-CaZq3YdB.js";const i=":host{display:block}.zoomControl{left:'auto';right:'20';top:'20'}.iconButtonWrapper{padding:var(--spacing-04)}#featureDetailsPopOverContainer{position:absolute;z-index:1000}.hidden-controls .ol-zoom,.hidden-controls .ol-attribution{display:none}.ol-control{width:fit-content !important}";const s=class{constructor(t){e(this,t);this.enableToolbar=true;this.mapTitle="";this.data=[];this.isGeoJsonFormat=true;this.enableZoom=true;this.mapZoom=17;this.mapCenter=[0,0];this.mapHeight="80vh";this.mapProjection="";this.filterPanel="";this.enableTileSelection=true;this.tileLayersOptions=[];this.defaultTileOptionName="";this.layerOptions=[];this.initialSelectedLayers=[];this.bulkSelectedFeaturesActionPanel="";this.filterLayersByRole=false;this.layerKeySeparator="";this.refreshButtonTooltip="";this.readOnlyMap=false;this.enableAdd=true;this.addMultipleFeatures=true;this.enableSplitFeature=true;this.enableViewFeature=true;this.readOnlyLayers=[];this.popoverPrimaryActions=[];this.popoverMoreIconButtonActions=[];this.hideMessageIconPopover=false;this.cardConfig={};this.minZoom=0;this.maxZoom=28;this.bulkSelectionActive=false;this.filteredLayerOptionsByRole=[];this.splitActive=false;this.enableDragBox=false;this.selectedFeatureCoordinates=[];this.selectedFeatureProperties=null;this.enableAddNewFeature=false;this.selectedLayers=[];this.handleSetFilteredLayerOptionsByRole=e=>{this.filteredLayerOptionsByRole=e};this.handleSetMapComponent=e=>{if(e){this.map=e}};this.handleSetBulkSelectionActive=e=>{this.bulkSelectionActive=e};this.handleSetEnableDragBox=e=>{this.enableDragBox=e};this.handleSetSplitActive=e=>{this.splitActive=e};this.handleEnableAddNewFeature=e=>{this.enableAddNewFeature=e};this.handleSetSelectedFeatureProperties=e=>{if(e){let t=e===null||e===void 0?void 0:e.getProperties();if(t){this.selectedFeatureCoordinates=t.geometry.flatCoordinates;this.selectedFeatureProperties=t}}else{this.selectedFeatureProperties=null;this.selectedFeatureObjectKeyValuePairs=[]}}}watchDragBoxandSelectedFeatureInteraction(){if(!this.enableDragBox&&this.selectFeatureInteraction){this.selectFeatureInteraction.setActive(true);this.selectFeatureInteraction.getFeatures().clear();this.selectedFeatureProperties=null;this.selectedFeatureObjectKeyValuePairs=[]}}updateSelectedLayers(e){this.selectedLayers=e;this.initialSelectedLayers=e}render(){return t("map-component",{key:"69efae07b0c9f45f2f66d59fd5bb9092557d7d75",handleSetMapComponent:this.handleSetMapComponent,data:this.data,isGeoJsonFormat:this.isGeoJsonFormat,geoJsonMappingConfig:this.geoJsonMappingConfig,enableZoom:this.enableZoom,mapZoom:this.mapZoom,mapCenter:this.mapCenter,mapHeight:this.mapHeight,crs:this.crs,mapProjection:this.mapProjection,mapDataProjection:this.mapDataProjection,getFilteredMapData:this.getFilteredMapData,getFeatureStyles:this.getFeatureStyles,getSelectedFeatureStyles:this.getSelectedFeatureStyles,filterPanel:this.filterPanel,filterPanelCallback:this.filterPanelCallback,enableTileSelection:this.enableTileSelection,tileLayersOptions:this.tileLayersOptions,defaultTileOptionName:this.defaultTileOptionName,layerOptions:this.layerOptions,initialSelectedLayers:this.initialSelectedLayers,bulkSelectedFeaturesActionPanel:this.bulkSelectedFeaturesActionPanel,handleSetSelectedFeaturesOnBulkSelect:this.handleSetSelectedFeaturesOnBulkSelect,handleSetSelectedFeatureOnSelect:this.handleSetSelectedFeatureOnSelect,filterLayersByRole:this.filterLayersByRole,layerKeys:this.layerKeys,layerKeySeparator:this.layerKeySeparator,user:this.user,layerRoles:this.layerRoles,filteredLayerOptionsByRole:this.filteredLayerOptionsByRole,handleSetFilteredLayerOptionsByRole:this.handleSetFilteredLayerOptionsByRole,readOnlyMap:this.readOnlyMap,enableViewFeature:this.enableViewFeature,handleViewFeature:this.handleViewFeature,bulkSelectionActive:this.bulkSelectionActive,splitActive:this.splitActive,enableDragBox:this.enableDragBox,selectFeatureInteraction:this.selectFeatureInteraction,handleSetSelectedFeatureProperties:this.handleSetSelectedFeatureProperties,selectedFeatureCoordinates:this.selectedFeatureCoordinates,selectedFeatureProperties:this.selectedFeatureProperties,enableAddNewFeature:this.enableAddNewFeature,handleGetZoomExtent:this.handleGetZoomExtent,selectedLayers:this.selectedLayers,handleSetSelectedLayers:e=>{this.updateSelectedLayers(e)},readOnlyLayers:this.readOnlyLayers,additionalOnclosePopover:this.additionalOnclosePopover,popoverPrimaryActions:this.popoverPrimaryActions,popoverMoreIconButtonActions:this.popoverMoreIconButtonActions,getMessagePopover:this.getMessagePopover,getMessageIconPopover:this.getMessageIconPopover,hideMessageIconPopover:this.hideMessageIconPopover,popoverCardConfig:this.cardConfig,popoverWidth:this.popoverWidth,handleGetAdditionalFeaturePropertiesOnSelect:this.handleGetAdditionalFeaturePropertiesOnSelect,minZoom:this.minZoom,maxZoom:this.maxZoom},this.enableToolbar&&t("udp-map-toolbar",{key:"3af4c7dd6451b1a16146eb0161ebcb13f12040f6",map:this.map,mapTitle:this.mapTitle,mapProjection:this.mapProjection,getFeatureStyles:this.getFeatureStyles,getSelectedFeatureStyles:this.getSelectedFeatureStyles,filterPanel:this.filterPanel,enableTileSelection:this.enableTileSelection,tileLayersOptions:this.tileLayersOptions,defaultTileOptionName:this.defaultTileOptionName,layerOptions:this.layerOptions,bulkSelectedFeaturesActionPanel:this.bulkSelectedFeaturesActionPanel,handleSetSelectedFeaturesOnBulkSelect:this.handleSetSelectedFeaturesOnBulkSelect,handleRefresh:this.handleRefresh,refreshButtonTooltip:this.refreshButtonTooltip,readOnlyMap:this.readOnlyMap,enableAdd:this.enableAdd,handleAddNewFeatures:this.handleAddNewFeatures,addMultipleFeatures:this.addMultipleFeatures,enableSplitFeature:this.enableSplitFeature,handleSplitFeature:this.handleSplitFeature,handleSetSelectedFeatureProperties:this.handleSetSelectedFeatureProperties,filteredLayerOptionsByRole:this.filteredLayerOptionsByRole,handleSetBulkSelectionActive:this.handleSetBulkSelectionActive,enableDragBox:this.enableDragBox,handleSetEnableDragBox:this.handleSetEnableDragBox,splitActive:this.splitActive,handleSetSplitActive:this.handleSetSplitActive,selectFeatureInteraction:this.selectFeatureInteraction,enableAddNewFeature:this.enableAddNewFeature,handleEnableAddNewFeature:this.handleEnableAddNewFeature,handleSelectLayersCallback:this.handleSelectLayersCallback,selectedLayers:this.selectedLayers,handleSetSelectedLayers:e=>{this.updateSelectedLayers(e)},addFeaturePanelConfig:this.addFeaturePanelConfig}),t("slot",{key:"00102aa5f21cb5fa6382f9e0785486cd956d714f"}))}static get watchers(){return{enableDragBox:["watchDragBoxandSelectedFeatureInteraction"],selectFeatureInteraction:["watchDragBoxandSelectedFeatureInteraction"]}}};s.style=i;export{s as udp_map};
2
2
  //# sourceMappingURL=udp-map.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"udp-menu-item.udp-pop-over.entry.esm.js","sources":["src/components/menu/menu-item/udp-menu-item.css?tag=udp-menu-item&encapsulation=shadow","src/components/menu/menu-item/udp-menu-item.tsx","src/components/data-display/pop-over/udp-pop-over.css?tag=udp-pop-over&encapsulation=shadow","src/components/data-display/pop-over/udp-pop-over.tsx"],"sourcesContent":["/* Reset default button styles and apply menu-item look */\n.menu-item-root {\n display: flex;\n width: 100%;\n padding: 8px 16px;\n gap: 8px;\n align-items: center;\n\n /* Reset button defaults */\n background: none;\n border: none;\n font-family: inherit;\n text-align: left;\n\n cursor: pointer;\n transition: background-color 0.15s ease-in-out;\n}\n\n.menu-item-root:hover:not(:disabled) {\n background-color: rgba(0, 0, 0, 0.08);\n}\n\n.menu-item-label {\n font-size: 14px;\n}\n\n/* The native :disabled pseudo-class is now used */\n.menu-item-root:disabled {\n cursor: not-allowed;\n opacity: 0.4;\n}\n\n.menu-icon {\n height: 100%;\n}\n","import { Component, Prop, h, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'udp-menu-item',\n styleUrl: 'udp-menu-item.css',\n shadow: true,\n})\nexport class UdpMenuItem {\n @Prop() label: string;\n @Prop() iconName: string;\n @Prop({ reflect: true }) disabled: boolean = false; // reflect: true helps with CSS styling\n\n /**\n * @deprecated Use itemClick event\n */\n @Prop() handleOnClick: (e: Event) => void;\n\n /** Emits when the item is clicked. */\n @Event() itemClick: EventEmitter<MouseEvent>;\n\n private handleItemClick = (e: MouseEvent) => {\n // if (this.disabled) {\n // e.stopPropagation();\n // return;\n // }\n this.itemClick.emit(e);\n };\n\n render() {\n return (\n <button\n class=\"menu-item-root\"\n onClick={this.handleItemClick}\n disabled={this.disabled}\n role=\"menuitem\"\n >\n {this.iconName && <udp-icon iconName={this.iconName} class=\"menu-icon\" />}\n <span class=\"menu-item-label\">\n <unity-typography variant='body1'>{this.label}</unity-typography>\n </span>\n </button>\n );\n }\n}\n",":host {\n display: block;\n position: fixed;\n z-index: 9999;\n\n /* FIX: Start with pointer-events none so it can't be clicked when invisible. */\n pointer-events: none;\n opacity: 0;\n\n /* This gives the subtle \"pop\" effect without the flying animation. */\n transform: scale(0.95);\n\n /* FIX: Only transition opacity for a clean fade-in/out. */\n transition: opacity 0.2s ease-out;\n\n}\n\n:host(.is-visible) {\n /* FIX: Re-enable pointer events so the menu can be clicked. */\n pointer-events: auto;\n opacity: 1;\n transform: scale(1);\n}\n\n.popover {\n background-color: white;\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n border: 1px solid #e0e0e0;\n}\n","import { createPopper, Instance } from '@popperjs/core';\nimport { Component, h, Host, Prop, Watch, Element } from '@stencil/core';\n\n@Component({\n tag: 'udp-pop-over',\n styleUrl: 'udp-pop-over.css',\n shadow: true,\n})\nexport class UdpPopOver {\n @Element() hostEl!: HTMLElement;\n @Prop() anchorElement: string | HTMLElement;\n @Prop({ reflect: true }) isOpen: boolean = false;\n @Prop() popoverWidth: string;\n @Prop() popoverMaxHeight: string;\n @Prop() popoverPlacement: any = 'bottom-start';\n @Prop() handleOnClose?: (event: Event) => void;\n @Prop() appendToBody: boolean = true;\n @Prop() container?: HTMLElement;\n @Prop() overflow?: string = 'auto';\n\n private popperInstance: Instance;\n\n disconnectedCallback() {\n this.removeListeners();\n this.destroyPopper();\n }\n\n @Watch('isOpen')\n handleOpenChange(newValue: boolean) {\n newValue ? this.present() : this.dismiss();\n }\n\n private present() {\n const containerEl = this.getContainer();\n\n if (containerEl) {\n containerEl.appendChild(this.hostEl);\n }\n\n this.addListeners();\n\n requestAnimationFrame(() => {\n this.setupPopper();\n this.hostEl.classList.add('is-visible');\n });\n }\n\n private dismiss() {\n this.removeListeners();\n this.hostEl.classList.remove('is-visible');\n this.hostEl.addEventListener('transitionend', this.handleTransitionEnd, { once: true });\n }\n\n private handleTransitionEnd = () => {\n // FIX: Only remove from body if it's truly closed and still there.\n if (!this.isOpen) {\n if (this.appendToBody && this.hostEl.parentElement === document.body) {\n document.body.removeChild(this.hostEl);\n } else if (this.container && this.hostEl.parentElement === this.container) {\n this.container.removeChild(this.hostEl);\n }\n }\n this.destroyPopper();\n };\n\n private addListeners() {\n document.addEventListener('keydown', this.handleKeyDown);\n setTimeout(() => {\n if (this.isOpen) {\n document.addEventListener('click', this.handleClickOutside);\n }\n }, 0);\n }\n\n private removeListeners() {\n document.removeEventListener('keydown', this.handleKeyDown);\n document.removeEventListener('click', this.handleClickOutside);\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.handleOnClose?.(event);\n }\n };\n\n private handleClickOutside = (event: MouseEvent) => {\n const path = event.composedPath();\n const anchorEl = this.getAnchorElement();\n if (path.includes(this.hostEl) || (anchorEl && path.includes(anchorEl))) {\n return;\n }\n this.handleOnClose?.(event);\n };\n\n private getAnchorElement(): HTMLElement | null {\n return typeof this.anchorElement === 'string' ? document.getElementById(this.anchorElement) : this.anchorElement;\n }\n\n private getContainer(): HTMLElement {\n if (this.container) return this.container;\n\n if (this.appendToBody) {\n return document.body;\n }\n\n return null;\n }\n\n private setupPopper() {\n const anchorEl = this.getAnchorElement();\n if (!anchorEl) {\n console.error('UdpPopover: Anchor element could not be found.');\n return;\n }\n // Ensure we don't create multiple instances\n if (this.popperInstance) {\n this.popperInstance.destroy();\n }\n\n this.popperInstance = createPopper(anchorEl, this.hostEl as HTMLElement, {\n strategy: 'fixed',\n placement: this.popoverPlacement,\n modifiers: [{ name: 'offset', options: { offset: [0, 8] } }, { name: 'preventOverflow', options: { padding: 8 } }, { name: 'flip' }],\n });\n }\n\n private destroyPopper() {\n if (this.popperInstance) {\n this.popperInstance.destroy();\n this.popperInstance = null;\n }\n }\n\n componentWillLoad() {\n if (this.isOpen) {\n this.present();\n }\n }\n\n\n render() {\n const style = {\n width: this.popoverWidth,\n maxHeight: this.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AC,OAAO,EAAE;;;IAKlB,MAAM,GAAA;AACJ,QAAA,MAAM,KAAK,GAAG;YACZ,KAAK,EAAE,IAAI,CAAC,YAAY;YACxB,SAAS,EAAE,IAAI,CAAC,gBAAgB;YAChC,QAAQ,EAAE,IAAI,CAAC;SAChB;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,KAAK,EAAA,EAC/B,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACD;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,H as s,a as o}from"./index-CaZq3YdB.js";import{createPopper as n}from"@popperjs/core";const a=".menu-item-root{display:flex;width:100%;padding:8px 16px;gap:8px;align-items:center;background:none;border:none;font-family:inherit;text-align:left;cursor:pointer;transition:background-color 0.15s ease-in-out}.menu-item-root:hover:not(:disabled){background-color:rgba(0, 0, 0, 0.08)}.menu-item-label{font-size:14px}.menu-item-root:disabled{cursor:not-allowed;opacity:0.4}.menu-icon{height:100%}";const r=class{constructor(i){t(this,i);this.itemClick=e(this,"itemClick");this.disabled=false;this.handleItemClick=t=>{this.itemClick.emit(t)}}render(){return i("button",{key:"4a43cdb229edec0f13ceda8672bfd3c48c545dc6",class:"menu-item-root",onClick:this.handleItemClick,disabled:this.disabled,role:"menuitem"},this.iconName&&i("udp-icon",{key:"499c217a79efe99f11e289f9792eb1f9307264bb",iconName:this.iconName,class:"menu-icon"}),i("span",{key:"8c414f47700d8b3802d81579fb1374aa81c8691b",class:"menu-item-label"},i("unity-typography",{key:"5c95b5ab659abe6c7baa2a1b7a287077afd4af92",variant:"body1"},this.label)))}};r.style=a;const h=":host{display:block;position:fixed;z-index:9999;pointer-events:none;opacity:0;transform:scale(0.95);transition:opacity 0.2s ease-out}:host(.is-visible){pointer-events:auto;opacity:1;transform:scale(1)}.popover{background-color:white;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);border:1px solid #e0e0e0}";const c=class{constructor(e){t(this,e);this.isOpen=false;this.popoverPlacement="bottom-start";this.appendToBody=true;this.overflow="auto";this.handleTransitionEnd=()=>{if(!this.isOpen){if(this.appendToBody&&this.hostEl.parentElement===document.body){document.body.removeChild(this.hostEl)}else if(this.container&&this.hostEl.parentElement===this.container){this.container.removeChild(this.hostEl)}}this.destroyPopper()};this.handleKeyDown=t=>{var e;if(t.key==="Escape"){(e=this.handleOnClose)===null||e===void 0?void 0:e.call(this,t)}};this.handleClickOutside=t=>{var e;const i=t.composedPath();const s=this.getAnchorElement();if(i.includes(this.hostEl)||s&&i.includes(s)){return}(e=this.handleOnClose)===null||e===void 0?void 0:e.call(this,t)}}disconnectedCallback(){this.removeListeners();this.destroyPopper()}handleOpenChange(t){t?this.present():this.dismiss()}present(){const t=this.getContainer();if(t){t.appendChild(this.hostEl)}this.addListeners();requestAnimationFrame((()=>{this.setupPopper();this.hostEl.classList.add("is-visible")}))}dismiss(){this.removeListeners();this.hostEl.classList.remove("is-visible");this.hostEl.addEventListener("transitionend",this.handleTransitionEnd,{once:true})}addListeners(){document.addEventListener("keydown",this.handleKeyDown);setTimeout((()=>{if(this.isOpen){document.addEventListener("click",this.handleClickOutside)}}),0)}removeListeners(){document.removeEventListener("keydown",this.handleKeyDown);document.removeEventListener("click",this.handleClickOutside)}getAnchorElement(){return typeof this.anchorElement==="string"?document.getElementById(this.anchorElement):this.anchorElement}getContainer(){if(this.container)return this.container;if(this.appendToBody){return document.body}return null}setupPopper(){const t=this.getAnchorElement();if(!t){console.error("UdpPopover: Anchor element could not be found.");return}if(this.popperInstance){this.popperInstance.destroy()}this.popperInstance=n(t,this.hostEl,{strategy:"fixed",placement:this.popoverPlacement,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:8}},{name:"flip"}]})}destroyPopper(){if(this.popperInstance){this.popperInstance.destroy();this.popperInstance=null}}componentWillLoad(){if(this.isOpen){this.present()}}render(){const t={width:this.popoverWidth,maxHeight:this.popoverMaxHeight,overflow:this.overflow};return i(s,{key:"e57087abf7d9030bdb67b18bf1c44542f59a46fb"},i("div",{key:"c6d16dfb8aa66f1594767782326d6ac8ad74a5c3",class:"popover",style:t},i("slot",{key:"4c5cb34f024e0de4e5c433210367e7a837c170ab"})))}get hostEl(){return o(this)}static get watchers(){return{isOpen:["handleOpenChange"]}}};c.style=h;export{r as udp_menu_item,c as udp_pop_over};
2
+ //# sourceMappingURL=udp-menu-item_2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["registerInstance","createEvent","h","Host","getElement","createPopper","udpMenuItemCss","UdpMenuItem","constructor","hostRef","this","itemClick","disabled","handleItemClick","e","emit","render","key","class","onClick","role","iconName","variant","label","style","udpPopOverCss","UdpPopOver","isOpen","popoverPlacement","appendToBody","overflow","handleTransitionEnd","hostEl","parentElement","document","body","removeChild","container","destroyPopper","handleKeyDown","event","_a","handleOnClose","call","handleClickOutside","path","composedPath","anchorEl","getAnchorElement","includes","disconnectedCallback","removeListeners","handleOpenChange","newValue","present","dismiss","containerEl","getContainer","appendChild","addListeners","requestAnimationFrame","setupPopper","classList","add","remove","addEventListener","once","setTimeout","removeEventListener","anchorElement","getElementById","console","error","popperInstance","destroy","strategy","placement","modifiers","name","options","offset","padding","componentWillLoad","width","popoverWidth","maxHeight","popoverMaxHeight","watchers"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,OAAWC,MAAkB,6CAC9EC,MAAoB,iBAE7B,MAAMC,EAAiB,6YAEvB,MAAMC,EAAc,MAChB,WAAAC,CAAYC,GACRT,EAAiBU,KAAMD,GACvBC,KAAKC,UAAYV,EAAYS,KAAM,aACnCA,KAAKE,SAAW,MAChBF,KAAKG,gBAAmBC,IAKpBJ,KAAKC,UAAUI,KAAKD,EAAE,CAE9B,CACA,MAAAE,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AAKkB,iBAChBiD,UAAW,CAAC,CAAEC,KAAM,SAAUC,QAAS,CAAEC,OAAQ,CAAC,EAAG,KAAQ,CAAEF,KAAM,kBAAmBC,QAAS,CAAEE,QAAS,IAAO,CAAEH,KAAM,UAEnI,CACA,aAAAxC,GACI,GAAI5B,KAAK+D,eAAgB,CACrB/D,KAAK+D,eAAeC,UACpBhE,KAAK+D,eAAiB,IAC1B,CACJ,CACA,iBAAAS,GACI,GAAIxE,KAAKiB,OAAQ,CACbjB,KAAK4C,SACT,CACJ,CACA,MAAAtC,GACI,MAAMQ,EAAQ,CACV2D,MAAOzE,KAAK0E,aACZC,UAAW3E,KAAK4E,iBAChBxD,SAAUpB,KAAKoB,UAEnB,OAAQ5B,EAAEC,EAAM,CAAEc,IAAK,4CAA8Cf,EAAE,MAAO,CAAEe,IAAK,2CAA4CC,MAAO,UAAWM,MAAOA,GAAStB,EAAE,OAAQ,CAAEe,IAAK,8CACxL,CACA,UAAIe,GAAW,OAAO5B,EAAWM,KAAO,CACxC,mBAAW6E,GAAa,MAAO,CAC3B5D,OAAU,CAAC,oBACZ,GAEPD,EAAWF,MAAQC,SAEVlB,mBAA8BmB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as s,h as t}from"./index-CaZq3YdB.js";const c=":host{display:block}";const d=class{constructor(t){s(this,t);this.maxWidth="1200px";this.padding="16px"}render(){const s={maxWidth:this.maxWidth,padding:this.padding,margin:"0 auto"};return t("div",{key:"cd340c347257f5eb66d73ed93ce4164ba0d6c94c",style:s},t("slot",{key:"68e33d37810a56cf7fc6f7290a6d44c10c4ef781"})," ")}};d.style=c;export{d as udp_page};
1
+ import{r as s,h as t}from"./index-CaZq3YdB.js";const a=":host{display:block}";const e=class{constructor(t){s(this,t);this.maxWidth="1200px";this.padding="16px"}render(){const s={maxWidth:this.maxWidth,padding:this.padding,margin:"0 auto"};return t("div",{key:"87960916a8c702c88f3a7dd7a9ef90227d76f605",style:s},t("slot",{key:"1915453eae25182b42e004450ca04ee20c17cbff"})," ")}};e.style=a;export{e as udp_page};
2
2
  //# sourceMappingURL=udp-page.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./index-CaZq3YdB.js";const r=".skeleton-loader{background:linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);background-size:1000px 100%;display:inline-block;position:relative;overflow:hidden}.skeleton-loader::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);animation:load 1.5s infinite}@keyframes load{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}";const o=class{constructor(t){e(this,t);this.width="100%";this.height="20px";this.borderRadius="4px"}render(){return t("div",{key:"c4d09711b610d9d0219f5964d1572ef7af46b738",class:"skeleton-loader",style:{width:this.width,height:this.height,borderRadius:this.borderRadius}})}};o.style=r;export{o as udp_skeleton_loading};
1
+ import{r as e,h as t}from"./index-CaZq3YdB.js";const a=".skeleton-loader{background:linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);background-size:1000px 100%;display:inline-block;position:relative;overflow:hidden}.skeleton-loader::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);animation:load 1.5s infinite}@keyframes load{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}";const r=class{constructor(t){e(this,t);this.width="100%";this.height="20px";this.borderRadius="4px"}render(){return t("div",{key:"2801b43f47755995952a8ebda27acd6557b340f8",class:"skeleton-loader",style:{width:this.width,height:this.height,borderRadius:this.borderRadius}})}};r.style=a;export{r as udp_skeleton_loading};
2
2
  //# sourceMappingURL=udp-skeleton-loading.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./index-CaZq3YdB.js";const s=".container{display:flex;height:100%;width:100%}.container:not(.open){display:none}.panel{flex-grow:1;overflow:auto;cursor:default;}.resizer{background-color:transparent;height:100vh;cursor:ew-resize;position:relative;display:flex;align-items:center;justify-content:center;padding:0 2px;box-sizing:content-box;transition:background-color 0.3s ease;}.resizer:hover{background-color:var(--primary-color);cursor:ew-resize;}.resizer:hover::before{background-color:transparent;}.resizer::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:2px;height:100%;background-color:rgb(219, 219, 219);transition:background-color 0.3s ease;}.drag-handle{content:'';font-size:24px;color:#666;user-select:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}";const o=class{constructor(t){e(this,t);this.isOpen=true;this.panelWidth=75;this.isDragging=false;this.handleDrag=e=>{console.log("Dragging");const t=this.element.getBoundingClientRect();const s=(e.clientX-t.left)/t.width*100;const o=Math.max(2,Math.min(s,98));localStorage.setItem("panelWidth",this.panelWidth.toString());if(this.panelWidth!==o){this.panelWidth=o;localStorage.setItem("panelWidth",this.panelWidth.toString())}}}async toggleOpen(){this.isOpen=!this.isOpen}componentDidLoad(){this.element.addEventListener("mousedown",(e=>{this.isDragging=true;e.preventDefault()}));document.addEventListener("mousemove",(e=>{if(!this.isDragging)return;if(this.isDragging){const t=this.element.getBoundingClientRect();const s=(e.clientX-t.left)/t.width*100;this.panelWidth=Math.max(2,Math.min(s,98))}this.handleDrag(e)}));document.addEventListener("mouseup",(()=>{if(this.isDragging){this.isDragging=false}}))}async componentWillLoad(){const e=localStorage.getItem("panelWidth");if(e){this.panelWidth=parseFloat(e)}}render(){return t("div",{key:"45482d8017aa9e124177dcdf2d4173361b05fac8",ref:e=>this.element=e,class:{container:true,open:this.isOpen}},t("div",{key:"c50057f1966e96ed6c6e01e025f30167ca34eda2",class:"panel",style:{width:`${this.panelWidth}%`}},t("slot",{key:"47bd54df69170935664bac84157d563ca9f7db34",name:"first-panel"})),t("div",{key:"ba66ae724133870c289a9b5eafc19a1ca220c0ef",class:"resizer",onMouseDown:e=>e.preventDefault()},t("div",{key:"6b40d3ca3df57595ef9dd206b37b1932bf033809",class:"drag-handle"})),t("div",{key:"fc515cb4a0c2eec22d45ba818a5b271f3a861039",class:"panel",style:{width:`${100-this.panelWidth}%`}},t("slot",{key:"103aac71fb969095ab17605be85e57053f596d71",name:"second-panel"},this.panelContent)))}};o.style=s;export{o as udp_split_screen};
1
+ import{r as e,h as t}from"./index-CaZq3YdB.js";const s=".container{display:flex;height:100%;width:100%}.container:not(.open){display:none}.panel{flex-grow:1;overflow:auto;cursor:default;}.resizer{background-color:transparent;height:100vh;cursor:ew-resize;position:relative;display:flex;align-items:center;justify-content:center;padding:0 2px;box-sizing:content-box;transition:background-color 0.3s ease;}.resizer:hover{background-color:var(--primary-color);cursor:ew-resize;}.resizer:hover::before{background-color:transparent;}.resizer::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:2px;height:100%;background-color:rgb(219, 219, 219);transition:background-color 0.3s ease;}.drag-handle{content:'';font-size:24px;color:#666;user-select:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}";const o=class{constructor(t){e(this,t);this.isOpen=true;this.panelWidth=75;this.isDragging=false;this.handleDrag=e=>{console.log("Dragging");const t=this.element.getBoundingClientRect();const s=(e.clientX-t.left)/t.width*100;const o=Math.max(2,Math.min(s,98));localStorage.setItem("panelWidth",this.panelWidth.toString());if(this.panelWidth!==o){this.panelWidth=o;localStorage.setItem("panelWidth",this.panelWidth.toString())}}}async toggleOpen(){this.isOpen=!this.isOpen}componentDidLoad(){this.element.addEventListener("mousedown",(e=>{this.isDragging=true;e.preventDefault()}));document.addEventListener("mousemove",(e=>{if(!this.isDragging)return;if(this.isDragging){const t=this.element.getBoundingClientRect();const s=(e.clientX-t.left)/t.width*100;this.panelWidth=Math.max(2,Math.min(s,98))}this.handleDrag(e)}));document.addEventListener("mouseup",(()=>{if(this.isDragging){this.isDragging=false}}))}async componentWillLoad(){const e=localStorage.getItem("panelWidth");if(e){this.panelWidth=parseFloat(e)}}render(){return t("div",{key:"c1a7e0eba3ac1fcc5fd02ebcfd24ad866ddd5a43",ref:e=>this.element=e,class:{container:true,open:this.isOpen}},t("div",{key:"ba41dc15748286b532e98574db37413ec8428110",class:"panel",style:{width:`${this.panelWidth}%`}},t("slot",{key:"a5789cb6914ad71421a23bbedff897ab3af03356",name:"first-panel"})),t("div",{key:"bc81bfcfe169236f7102ad340b5e87b169cbb368",class:"resizer",onMouseDown:e=>e.preventDefault()},t("div",{key:"eb72ee3c6aeed6c26d07d72f0818bcce3d1b0dc6",class:"drag-handle"})),t("div",{key:"606d564838ffaad254738b761d9d4e1f382888f6",class:"panel",style:{width:`${100-this.panelWidth}%`}},t("slot",{key:"682ce28bd7d62692855eb5254da515119dab9214",name:"second-panel"},this.panelContent)))}};o.style=s;export{o as udp_split_screen};
2
2
  //# sourceMappingURL=udp-split-screen.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e}from"./index-CaZq3YdB.js";const i=class{constructor(i){t(this,i);this.activeStep=0;this.completed={};this.step1=e("div",null,"This is step 1 content - Try clicking next!");this.step2=e("div",null,"This is step 2 content - You can go back or forward");this.step3=e("div",null,"This is step 3 content - Final step!");this.steps=[{stepDisplay:{inProcessIcon:"1",completeIcon:"✓",title:"First Step",subTitle:"Start here"},stepTitle:"Step 1",showTitle:true,buttons:[{title:"Next",action:2,variant:"default",customAction:()=>{this.completed=Object.assign(Object.assign({},this.completed),{[0]:true});this.activeStep=1}}],content:this.step1},{stepDisplay:{inProcessIcon:"2",completeIcon:"✓",title:"Second Step",subTitle:"Middle step"},stepTitle:"Step 2",showTitle:true,buttons:[{title:"Back",action:1,variant:"outline",customAction:()=>this.activeStep=0},{title:"Next",action:3,variant:"default",customAction:()=>{this.completed=Object.assign(Object.assign({},this.completed),{[1]:true});this.activeStep=2}}],content:this.step2},{stepDisplay:{inProcessIcon:"3",completeIcon:"✓",title:"Final Step",subTitle:"Complete the process"},stepTitle:"Step 3",showTitle:true,buttons:[{title:"Back",action:2,customAction:()=>this.activeStep=1},{title:"Finish",action:3,variant:"default",customAction:()=>{this.completed=Object.assign(Object.assign({},this.completed),{[2]:true});console.log("Process completed!")}}],content:this.step3}];this.handleStepChange=t=>{this.activeStep=t}}render(){return e("div",{key:"eebc9bb4f1d245a9da41ba14cd8519ea5012e074",style:{padding:"2rem"}},e("unity-typography",{key:"0f9a1a7e068cb8a87c24bc6abf2d3c016b36cbfd",variant:"h2"},"Horizontal Stepper with Labels bottom"),e("udp-stepper",{key:"99467398bbd932a99f4064cdce04058347f50671",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"horizontal",labelDisplay:"all",labelPosition:"bottom"}),e("unity-typography",{key:"ceae432518d605a5279287d3f7dec89d05747022",variant:"h2"},"Horizontal Stepper without Labels"),e("udp-stepper",{key:"91451a92179c6b87d18578cd0947832084b348ef",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"horizontal",labelDisplay:"none",labelPosition:"bottom"}),e("unity-typography",{key:"55fc4f975f03af338db74402aa5473701acc947d",variant:"h2"},"Horizontal Stepper with Labels to Right"),e("udp-stepper",{key:"f5f862c22a85b774c018946cfb42a2e495992ef7",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"horizontal",labelDisplay:"all",labelPosition:"right"}),e("unity-typography",{key:"136379efff85d15e5b2b1fc9a403a9c5c7e24a71",variant:"h2"},"Vertical Stepper"),e("udp-stepper",{key:"b592b5256dff97067080079474e1f97ed8566e62",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"vertical",labelDisplay:"all",labelPosition:"right"}))}};export{i as udp_stepper_demo};
1
+ import{r as t,h as e}from"./index-CaZq3YdB.js";const i=class{constructor(i){t(this,i);this.activeStep=0;this.completed={};this.step1=e("div",null,"This is step 1 content - Try clicking next!");this.step2=e("div",null,"This is step 2 content - You can go back or forward");this.step3=e("div",null,"This is step 3 content - Final step!");this.steps=[{stepDisplay:{inProcessIcon:"1",completeIcon:"✓",title:"First Step",subTitle:"Start here"},stepTitle:"Step 1",showTitle:true,buttons:[{title:"Next",action:2,variant:"default",customAction:()=>{this.completed=Object.assign(Object.assign({},this.completed),{[0]:true});this.activeStep=1}}],content:this.step1},{stepDisplay:{inProcessIcon:"2",completeIcon:"✓",title:"Second Step",subTitle:"Middle step"},stepTitle:"Step 2",showTitle:true,buttons:[{title:"Back",action:1,variant:"outline",customAction:()=>this.activeStep=0},{title:"Next",action:3,variant:"default",customAction:()=>{this.completed=Object.assign(Object.assign({},this.completed),{[1]:true});this.activeStep=2}}],content:this.step2},{stepDisplay:{inProcessIcon:"3",completeIcon:"✓",title:"Final Step",subTitle:"Complete the process"},stepTitle:"Step 3",showTitle:true,buttons:[{title:"Back",action:2,customAction:()=>this.activeStep=1},{title:"Finish",action:3,variant:"default",customAction:()=>{this.completed=Object.assign(Object.assign({},this.completed),{[2]:true});console.log("Process completed!")}}],content:this.step3}];this.handleStepChange=t=>{this.activeStep=t}}render(){return e("div",{key:"2319255e5746720f12f3e09b1218c2165ef8d817",style:{padding:"2rem"}},e("unity-typography",{key:"656c99db41764cbb769d8082e5a45c042c669976",variant:"h2"},"Horizontal Stepper with Labels bottom"),e("udp-stepper",{key:"16e00a0cab21bdf462a8750b19f18e6168fc90ac",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"horizontal",labelDisplay:"all",labelPosition:"bottom"}),e("unity-typography",{key:"27a78441510baf5aa6dfc80d8919a34529617ad3",variant:"h2"},"Horizontal Stepper without Labels"),e("udp-stepper",{key:"1d1a41d4454e7b73c87ebd4b336ebdc64aa9522b",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"horizontal",labelDisplay:"none",labelPosition:"bottom"}),e("unity-typography",{key:"43b1a72c4a8a97aef8158b28cdd9b21def43763a",variant:"h2"},"Horizontal Stepper with Labels to Right"),e("udp-stepper",{key:"5d5fe67789189f33101e8bfb936d4cfe15bbd7c7",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"horizontal",labelDisplay:"all",labelPosition:"right"}),e("unity-typography",{key:"89680789dc23b5c0d995d6064278e9f634a62bec",variant:"h2"},"Vertical Stepper"),e("udp-stepper",{key:"3df6a59fb672ff752d8f03626651a37388773646",steps:this.steps,activeStep:this.activeStep,completed:this.completed,stepChange:this.handleStepChange,orientation:"vertical",labelDisplay:"all",labelPosition:"right"}))}};export{i as udp_stepper_demo};
2
2
  //# sourceMappingURL=udp-stepper-demo.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as a,h as e}from"./index-CaZq3YdB.js";const t=":host{display:block}.tab-panel{display:none}.tab-panel.active{display:block}";const s=class{constructor(e){a(this,e)}render(){const a=this.value===this.index;return e("div",{key:"3d2383c0b993bcb66a13c14048a13450aa5fd6b4",class:{"tab-panel":true,active:a},role:"tabpanel","aria-hidden":!a?"true":"false"},e("slot",{key:"fde6d4bef1fa5ded55d61ca54349cd9e85c2d265"}))}};s.style=t;export{s as udp_tab_panel};
1
+ import{r as a,h as e}from"./index-CaZq3YdB.js";const t=":host{display:block}.tab-panel{display:none}.tab-panel.active{display:block}";const s=class{constructor(e){a(this,e)}render(){const a=this.value===this.index;return e("div",{key:"189ebf853b69a4f543aaafc450003f4a046c823d",class:{"tab-panel":true,active:a},role:"tabpanel","aria-hidden":!a?"true":"false"},e("slot",{key:"7b9a7830280bf62f9bce753f6ab83b68e198a5df"}))}};s.style=t;export{s as udp_tab_panel};
2
2
  //# sourceMappingURL=udp-tab-panel.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as a,h as e}from"./index-CaZq3YdB.js";const t=".tab-panel{display:none}.tab-panel.active{display:block}";const s=class{constructor(e){a(this,e);this.active=false;this.iconPlacement="start";this.hidden=false;this.disabled=false}render(){return e("div",{key:"6792f3e4f90e3e99a844e111783fe9f027501117",class:{"tab-panel":true,active:this.active},role:"tabpanel"},e("slot",{key:"865d65568d4c0c2651a76eb9f7a19a0f4eff2c65"}))}};s.style=t;export{s as udp_tab};
1
+ import{r as e,h as a}from"./index-CaZq3YdB.js";const t=".tab-panel{display:none}.tab-panel.active{display:block}";const s=class{constructor(a){e(this,a);this.active=false;this.iconPlacement="start";this.hidden=false;this.disabled=false}render(){return a("div",{key:"f11315932e2e200997d557729b171223fa98f4b0",class:{"tab-panel":true,active:this.active},role:"tabpanel"},a("slot",{key:"73b9ef3b7dfeda69ae130fdefb39e8179d891818"}))}};s.style=t;export{s as udp_tab};
2
2
  //# sourceMappingURL=udp-tab.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as n}from"./index-CaZq3YdB.js";const i=".host{--udp-timeline-line-width:2px;--udp-timeline-connector-color:var(--udp-timeline-line-color, #e0e0e0)}.connector{width:var(--udp-timeline-line-width, 2px);height:100%;background:var(--udp-timeline-connector-color, var(--udp-timeline-line-color, #e0e0e0));margin:8px 0;}";const o=class{constructor(n){e(this,n)}render(){return n("div",{key:"ac7162f423f990b85fc98a011c4a48bd4ba6ffdc",class:"connector"})}};o.style=i;export{o as udp_timeline_connector};
1
+ import{r as e,h as n}from"./index-CaZq3YdB.js";const i=".host{--udp-timeline-line-width:2px;--udp-timeline-connector-color:var(--udp-timeline-line-color, #e0e0e0)}.connector{width:var(--udp-timeline-line-width, 2px);height:100%;background:var(--udp-timeline-connector-color, var(--udp-timeline-line-color, #e0e0e0));margin:8px 0;}";const o=class{constructor(n){e(this,n)}render(){return n("div",{key:"6e29be72d441d6c377d008621019db08f9633da9",class:"connector"})}};o.style=i;export{o as udp_timeline_connector};
2
2
  //# sourceMappingURL=udp-timeline-connector.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as e}from"./index-CaZq3YdB.js";const o=":host{--udp-timeline-dot-size-small:10px;--udp-timeline-dot-size-medium:14px;--udp-timeline-dot-size-large:20px;--udp-timeline-dot-icon-size:36px;--udp-timeline-dot-filled-bg-default:#e0e0e0;--udp-timeline-dot-outlined-bg:#ffffff;--udp-timeline-dot-outline-width:2px;--udp-timeline-dot-outline-color:var(--udp-timeline-dot-filled-bg-primary);--udp-timeline-dot-bg:var(--udp-timeline-dot-filled-bg-primary);display:inline-block;box-sizing:border-box;align-self:center}.dot-medium{width:var(--udp-timeline-dot-size-medium);height:var(--udp-timeline-dot-size-medium);border-radius:50%;display:inline-block;--udp-timeline-dot-size:var(--udp-timeline-dot-size-medium)}.dot-small{width:var(--udp-timeline-dot-size-small);height:var(--udp-timeline-dot-size-small);--udp-timeline-dot-size:var(--udp-timeline-dot-size-small)}.dot-large{width:var(--udp-timeline-dot-size-large);height:var(--udp-timeline-dot-size-large);--udp-timeline-dot-size:var(--udp-timeline-dot-size-large)}.dot-filled{background:var(--udp-timeline-dot-bg)}.dot-outlined{background:var(--udp-timeline-dot-outlined-bg);border:var(--udp-timeline-dot-outline-width) solid var(--udp-timeline-dot-outline-color)}.dot-medium,.dot-small,.dot-large{box-sizing:border-box;margin:0}.dot-shape-icon{width:var(--udp-timeline-dot-icon-size);height:var(--udp-timeline-dot-icon-size);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;box-shadow:var(--udp-timeline-dot-icon-shadow, 0 2px 6px rgba(0, 0, 0, 0.15));--udp-timeline-dot-size:var(--udp-timeline-dot-icon-size)}.dot-shape-icon.dot-outlined{background:var(--udp-timeline-dot-outlined-bg);border:var(--udp-timeline-dot-outline-width) solid var(--udp-timeline-dot-outline-color)}.dot-shape-icon.dot-filled{background:var(--udp-timeline-dot-bg)}:host{display:inline-block;box-sizing:border-box;margin:0;padding:0}.dot-color-primary{--udp-timeline-dot-bg:var(--primary-color, #344861);--udp-timeline-dot-outline-color:var(--primary-color, #344861)}.dot-color-secondary{--udp-timeline-dot-bg:var(--secondary-color, #4383c3);--udp-timeline-dot-outline-color:var(--secondary-color, #4383c3)}.dot-color-default{--udp-timeline-dot-bg:var(--udp-timeline-dot-filled-bg-default);--udp-timeline-dot-outline-color:var(--udp-timeline-dot-filled-bg-default)}.dot-color-error{--udp-timeline-dot-bg:var(--error-color-main, #d32f2f);--udp-timeline-dot-outline-color:var(--error-color-main, #d32f2f)}.dot-color-info{--udp-timeline-dot-bg:var(--info-color-main, #0288d1);--udp-timeline-dot-outline-color:var(--info-color-main, #0288d1)}.dot-color-success{--udp-timeline-dot-bg:var(--success-color-main, #2e7d32);--udp-timeline-dot-outline-color:var(--success-color-main, #2e7d32)}.dot-color-warning{--udp-timeline-dot-bg:var(--warning-color-main, #ed6c02);--udp-timeline-dot-outline-color:var(--warning-color-main, #ed6c02)}";const d=class{constructor(e){i(this,e);this.color="primary";this.variant="filled";this.size="medium";this.shape="default"}render(){const i=!["primary","secondary","default","error","info","success","warning"].includes(this.color);const o={["dot-"+this.size]:true,["dot-"+this.variant]:true,["dot-color-"+this.color]:!i,["dot-shape-"+this.shape]:true};const d=i?{"--udp-timeline-dot-bg":this.color,"--udp-timeline-dot-outline-color":this.color}:{};return e("div",{key:"1e05486cbf143dc476a32baea254820030f1f7f1",class:o,style:d},e("slot",{key:"c667f97a9fe7c03b243fb42a9b59e53411258a37"}))}};d.style=o;export{d as udp_timeline_dot};
1
+ import{r as i,h as e}from"./index-CaZq3YdB.js";const o=":host{--udp-timeline-dot-size-small:10px;--udp-timeline-dot-size-medium:14px;--udp-timeline-dot-size-large:20px;--udp-timeline-dot-icon-size:36px;--udp-timeline-dot-filled-bg-default:#e0e0e0;--udp-timeline-dot-outlined-bg:#ffffff;--udp-timeline-dot-outline-width:2px;--udp-timeline-dot-outline-color:var(--udp-timeline-dot-filled-bg-primary);--udp-timeline-dot-bg:var(--udp-timeline-dot-filled-bg-primary);display:inline-block;box-sizing:border-box;align-self:center}.dot-medium{width:var(--udp-timeline-dot-size-medium);height:var(--udp-timeline-dot-size-medium);border-radius:50%;display:inline-block;--udp-timeline-dot-size:var(--udp-timeline-dot-size-medium)}.dot-small{width:var(--udp-timeline-dot-size-small);height:var(--udp-timeline-dot-size-small);--udp-timeline-dot-size:var(--udp-timeline-dot-size-small)}.dot-large{width:var(--udp-timeline-dot-size-large);height:var(--udp-timeline-dot-size-large);--udp-timeline-dot-size:var(--udp-timeline-dot-size-large)}.dot-filled{background:var(--udp-timeline-dot-bg)}.dot-outlined{background:var(--udp-timeline-dot-outlined-bg);border:var(--udp-timeline-dot-outline-width) solid var(--udp-timeline-dot-outline-color)}.dot-medium,.dot-small,.dot-large{box-sizing:border-box;margin:0}.dot-shape-icon{width:var(--udp-timeline-dot-icon-size);height:var(--udp-timeline-dot-icon-size);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;box-shadow:var(--udp-timeline-dot-icon-shadow, 0 2px 6px rgba(0, 0, 0, 0.15));--udp-timeline-dot-size:var(--udp-timeline-dot-icon-size)}.dot-shape-icon.dot-outlined{background:var(--udp-timeline-dot-outlined-bg);border:var(--udp-timeline-dot-outline-width) solid var(--udp-timeline-dot-outline-color)}.dot-shape-icon.dot-filled{background:var(--udp-timeline-dot-bg)}:host{display:inline-block;box-sizing:border-box;margin:0;padding:0}.dot-color-primary{--udp-timeline-dot-bg:var(--primary-color, #344861);--udp-timeline-dot-outline-color:var(--primary-color, #344861)}.dot-color-secondary{--udp-timeline-dot-bg:var(--secondary-color, #4383c3);--udp-timeline-dot-outline-color:var(--secondary-color, #4383c3)}.dot-color-default{--udp-timeline-dot-bg:var(--udp-timeline-dot-filled-bg-default);--udp-timeline-dot-outline-color:var(--udp-timeline-dot-filled-bg-default)}.dot-color-error{--udp-timeline-dot-bg:var(--error-color-main, #d32f2f);--udp-timeline-dot-outline-color:var(--error-color-main, #d32f2f)}.dot-color-info{--udp-timeline-dot-bg:var(--info-color-main, #0288d1);--udp-timeline-dot-outline-color:var(--info-color-main, #0288d1)}.dot-color-success{--udp-timeline-dot-bg:var(--success-color-main, #2e7d32);--udp-timeline-dot-outline-color:var(--success-color-main, #2e7d32)}.dot-color-warning{--udp-timeline-dot-bg:var(--warning-color-main, #ed6c02);--udp-timeline-dot-outline-color:var(--warning-color-main, #ed6c02)}";const d=class{constructor(e){i(this,e);this.color="primary";this.variant="filled";this.size="medium";this.shape="default"}render(){const i=!["primary","secondary","default","error","info","success","warning"].includes(this.color);const o={["dot-"+this.size]:true,["dot-"+this.variant]:true,["dot-color-"+this.color]:!i,["dot-shape-"+this.shape]:true};const d=i?{"--udp-timeline-dot-bg":this.color,"--udp-timeline-dot-outline-color":this.color}:{};return e("div",{key:"2c5bd3f827dfe8f2720ca8aa46ce96d34cdfc7fa",class:o,style:d},e("slot",{key:"97e649e977722c782c969cc3d93352e0c92c68aa"}))}};d.style=o;export{d as udp_timeline_dot};
2
2
  //# sourceMappingURL=udp-timeline-dot.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as i,H as n,a}from"./index-CaZq3YdB.js";const l=":host{--udp-timeline-item-hover-bg:rgba(0, 0, 0, 0.04);--udp-timeline-content-margin-icon:12px;--udp-timeline-content-padding-default:12px;--udp-timeline-time-min-width:64px;--udp-timeline-combined-gap:12px;--udp-timeline-dot-wrap-width:40px;--udp-timeline-title-font-size:16px;--udp-timeline-title-font-weight:600;--udp-timeline-title-color:#222;--udp-timeline-title-margin-right:12px;--udp-timeline-caption-font-size:14px;--udp-timeline-caption-color:#666;--udp-timeline-caption-margin-top:8px}:host(.dot-shape-icon) .content-column{margin-top:var(--udp-timeline-content-margin-icon, 12px)}.udp-timeline-item{display:grid;grid-template-columns:var(--udp-timeline-left-column, 60px) 1fr;align-items:flex-start;gap:var(--udp-timeline-item-gap, 8px);padding:var(--udp-timeline-item-padding-vertical, 12px) 0;position:relative}.separator-column{display:flex;align-items:center;justify-content:center;width:var(--udp-timeline-left-column, 60px);height:100%}.separator-column ::slotted(*){width:100%;display:flex;align-items:center;justify-content:center}.content-column{display:block}.title-slot ::slotted(*){display:block;min-width:var(--udp-timeline-time-min-width, 64px);color:var(--udp-timeline-title-color, #222);font-size:var(--udp-timeline-title-font-size, 16px);font-weight:var(--udp-timeline-title-font-weight, 600);text-align:left}.content-slot ::slotted(*){display:block}.caption-slot ::slotted(*){display:block;margin-top:var(--udp-timeline-caption-margin-top, 8px);font-size:var(--udp-timeline-caption-font-size, 14px);color:var(--udp-timeline-caption-color, #666)}.udp-timeline-item ::slotted([slot='separator']){display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.udp-timeline-item .dot-wrap{width:var(--udp-timeline-dot-wrap-width, 40px);display:flex;align-items:center;justify-content:center}:host(:not(.has-title)) .title-slot{display:none}:host(:not(.has-caption)) .caption-slot{display:none}:host(.clickable).content-column{cursor:pointer;display:block}:host(.clickable) .content-column:hover{background-color:var(--udp-timeline-item-hover-bg)}.actions-container{display:flex;gap:8px;margin-top:8px}.first-row{display:flex;gap:8px;align-items:center}";const o=class{constructor(i){t(this,i);this.itemClick=e(this,"itemClick");this.dotShape="default";this.clickable=false;this.actions=[];this.statusLabel="";this.statusColor="gray";this.hasTitle=false;this.hasCaption=false;this.handleClick=()=>{if(this.clickable){this.itemClick.emit()}}}componentDidLoad(){var t,e,i,n;const a=(e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector('slot[name="title"]'))!==null&&e!==void 0?e:null;if(a!=null){const t=()=>{const t=a.assignedNodes({flatten:true});this.hasTitle=t.length>0};t();a.addEventListener("slotchange",t)}const l=(n=(i=this.host.shadowRoot)===null||i===void 0?void 0:i.querySelector('slot[name="caption"]'))!==null&&n!==void 0?n:null;if(l!=null){const t=()=>{const t=l.assignedNodes({flatten:true});this.hasCaption=t.length>0};t();l.addEventListener("slotchange",t)}}render(){var t;const e=this.actions.slice(0,4);const a=this.actions.slice(4);return i(n,{key:"e0c202b3da3613d5bd3391c823f4717b00a8c963",class:{"has-title":this.hasTitle,"has-caption":this.hasCaption,[`dot-shape-${this.dotShape}`]:true,clickable:this.clickable},onClick:this.handleClick},i("div",{key:"091ebbfbc1b9efb37404b200ade26eeedd859247",class:"udp-timeline-item"},i("div",{key:"9f463e19de021d0abaab732158415f9a65c6450c",class:"separator-column"},i("slot",{key:"6d144c613e5c1905eac606dee59c7a94a3332fa0",name:"separator"})),i("div",{key:"1a2748b27929a7c06176046c85b93f6a1afe4fc5",class:"content-column"},i("div",{key:"d57471f235edbf455a70f56940f8879f8a6b5100",class:"first-row"},i("div",{key:"68ef26531dae5f3150f82a143b1b6aa2dcd5c7ae",class:"title-slot"},i("slot",{key:"d2d11a82ee5d7a5b665e0dbe2afd517f02df4d81",name:"title"})),((t=this.statusLabel)===null||t===void 0?void 0:t.trim())!=""&&i("udp-chip",{key:"3c6fe171c3dcb2b60523e01f0d893694143d998b",label:this.statusLabel,color:this.statusColor,size:"small"})),i("div",{key:"10f19128bc549bac7e53eb1260986c1f230dd3b8",class:"content-slot"},i("slot",{key:"e283db48e73b9614bd1ee33c4aafcf585560e111",name:"content"})),i("div",{key:"8fe114f2d6ff8bd9af2f1e044f2f73288595ae92",class:"caption-slot"},i("slot",{key:"f1f1b35200e5c9cfcdbaeb7943a75f2f97501874",name:"caption"})),this.actions.length>0&&i("div",{key:"c4a6f1f85cc02761a1ef8aff3ae27081a19c28ac",class:"actions-container"},e.map((t=>i("button",{onClick:t.onClick},t.label))),a.length>0&&i("button",{key:"ea8b1d8f7a77a56b1385bceabc0db2e310ffe492"},"...")))))}get host(){return a(this)}};o.style=l;export{o as udp_timeline_item};
1
+ import{r as t,c as e,h as i,H as n,a as l}from"./index-CaZq3YdB.js";const o=":host{--udp-timeline-item-hover-bg:rgba(0, 0, 0, 0.04);--udp-timeline-content-margin-icon:12px;--udp-timeline-content-padding-default:12px;--udp-timeline-time-min-width:64px;--udp-timeline-combined-gap:12px;--udp-timeline-dot-wrap-width:40px;--udp-timeline-title-font-size:16px;--udp-timeline-title-font-weight:600;--udp-timeline-title-color:#222;--udp-timeline-title-margin-right:12px;--udp-timeline-caption-font-size:14px;--udp-timeline-caption-color:#666;--udp-timeline-caption-margin-top:8px}:host(.dot-shape-icon) .content-column{margin-top:var(--udp-timeline-content-margin-icon, 12px)}.udp-timeline-item{display:grid;grid-template-columns:var(--udp-timeline-left-column, 60px) 1fr;align-items:flex-start;gap:var(--udp-timeline-item-gap, 8px);padding:var(--udp-timeline-item-padding-vertical, 12px) 0;position:relative}.separator-column{display:flex;align-items:center;justify-content:center;width:var(--udp-timeline-left-column, 60px);height:100%}.separator-column ::slotted(*){width:100%;display:flex;align-items:center;justify-content:center}.content-column{display:block}.title-slot ::slotted(*){display:block;min-width:var(--udp-timeline-time-min-width, 64px);color:var(--udp-timeline-title-color, #222);font-size:var(--udp-timeline-title-font-size, 16px);font-weight:var(--udp-timeline-title-font-weight, 600);text-align:left}.content-slot ::slotted(*){display:block}.caption-slot ::slotted(*){display:block;margin-top:var(--udp-timeline-caption-margin-top, 8px);font-size:var(--udp-timeline-caption-font-size, 14px);color:var(--udp-timeline-caption-color, #666)}.udp-timeline-item ::slotted([slot='separator']){display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.udp-timeline-item .dot-wrap{width:var(--udp-timeline-dot-wrap-width, 40px);display:flex;align-items:center;justify-content:center}:host(:not(.has-title)) .title-slot{display:none}:host(:not(.has-caption)) .caption-slot{display:none}:host(.clickable).content-column{cursor:pointer;display:block}:host(.clickable) .content-column:hover{background-color:var(--udp-timeline-item-hover-bg)}.actions-container{display:flex;gap:8px;margin-top:8px}.first-row{display:flex;gap:8px;align-items:center}";const a=class{constructor(i){t(this,i);this.itemClick=e(this,"itemClick");this.dotShape="default";this.clickable=false;this.actions=[];this.statusLabel="";this.statusColor="gray";this.hasTitle=false;this.hasCaption=false;this.handleClick=()=>{if(this.clickable){this.itemClick.emit()}}}componentDidLoad(){var t,e,i,n;const l=(e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector('slot[name="title"]'))!==null&&e!==void 0?e:null;if(l!=null){const t=()=>{const t=l.assignedNodes({flatten:true});this.hasTitle=t.length>0};t();l.addEventListener("slotchange",t)}const o=(n=(i=this.host.shadowRoot)===null||i===void 0?void 0:i.querySelector('slot[name="caption"]'))!==null&&n!==void 0?n:null;if(o!=null){const t=()=>{const t=o.assignedNodes({flatten:true});this.hasCaption=t.length>0};t();o.addEventListener("slotchange",t)}}render(){var t;const e=this.actions.slice(0,4);const l=this.actions.slice(4);return i(n,{key:"8326b3df0cc9cc0028c3bfc933bc459db35094bc",class:{"has-title":this.hasTitle,"has-caption":this.hasCaption,[`dot-shape-${this.dotShape}`]:true,clickable:this.clickable},onClick:this.handleClick},i("div",{key:"a2fae7aacf20d01c7af29054e8c706f758ece4c9",class:"udp-timeline-item"},i("div",{key:"281563af2707ddc073b3414a78f2ec264ac54238",class:"separator-column"},i("slot",{key:"db75bbc336f12262d6de2079e57c32190a739e91",name:"separator"})),i("div",{key:"1759cffe898de2b80712d5253d006e8aad7acf77",class:"content-column"},i("div",{key:"3d8d768714a546b6d1b93e63c2ac7b9ffbd4cc33",class:"first-row"},i("div",{key:"59498dc18fc522deec1edb08be8144021dc23fdb",class:"title-slot"},i("slot",{key:"4de60c7bb739794e3b4f46b9d6bda1a842bcb255",name:"title"})),((t=this.statusLabel)===null||t===void 0?void 0:t.trim())!=""&&i("udp-chip",{key:"b3cce52eb5f3022085eae08ab01e38ffde583245",label:this.statusLabel,color:this.statusColor,size:"small"})),i("div",{key:"6877b1e05c45c70ff8260f08fbf13fa5d9f428dc",class:"content-slot"},i("slot",{key:"4ee558c73d0694676ca014e936f83c4b34c3a86f",name:"content"})),i("div",{key:"bca70084d830b5988b1192328a817b57082593aa",class:"caption-slot"},i("slot",{key:"5cf4a947ca3cfa3e01b4f415d9bd408478bbfe32",name:"caption"})),this.actions.length>0&&i("div",{key:"c18da0ac1c20e4b2354cb5b21f473e938f7edbb8",class:"actions-container"},e.map((t=>i("button",{onClick:t.onClick},t.label))),l.length>0&&i("button",{key:"c0327b7dbb152db4c5229e2517c0061d5981cdb9"},"...")))))}get host(){return l(this)}};a.style=o;export{a as udp_timeline_item};
2
2
  //# sourceMappingURL=udp-timeline-item.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["registerInstance","createEvent","h","Host","getElement","udpTimelineItemCss","UdpTimelineItem","constructor","hostRef","this","itemClick","dotShape","clickable","actions","statusLabel","statusColor","hasTitle","hasCaption","handleClick","emit","componentDidLoad","_a","_b","_c","_d","slot","host","shadowRoot","querySelector","update","nodes","assignedNodes","flatten","length","addEventListener","captionSlot","updateCaption","render","visibleActions","slice","menuActions","key","class","onClick","name","trim","label","color","size","map","action","style"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,EAAWC,MAAkB,sBAEvF,MAAMC,EAAqB,gqEAE3B,MAAMC,EAAkB,MACpB,WAAAC,CAAYC,GACRR,EAAiBS,KAAMD,GACvBC,KAAKC,UAAYT,EAAYQ,KAAM,aAMnCA,KAAKE,SAAW,UAIhBF,KAAKG,UAAY,MAKjBH,KAAKI,QAAU,GAIfJ,KAAKK,YAAc,GAKnBL,KAAKM,YAAc,OACnBN,KAAKO,SAAW,MAChBP,KAAKQ,WAAa,MAClBR,KAAKS,YAAc,KACf,GAAIT,KAAKG,UAAW,CAChBH,KAAKC,UAAUS,MACnB,EAER,CACA,gBAAAC,GACI,IAAIC,EAAIC,EAAIC,EAAIC,EAChB,MAAMC,GAAQH,GAAMD,EAAKZ,KAAKiB,KAAKC,cAAgB,MAAQN,SAAY,OAAS,EAAIA,EAAGO,cAAc,yBAA2B,MAAQN,SAAY,EAAIA,EAAK,KAC7J,GAAIG,GAAQ,KAAM,CACd,MAAMI,EAAS,KACX,MAAMC,EAAQL,EAAKM,cAAc,CAAEC,QAAS,OAC5CvB,KAAKO,SAAWc,EAAMG,OAAS,CAAC,EAEpCJ,IACAJ,EAAKS,iBAAiB,aAAcL,EACxC,CACA,MAAMM,GAAeX,GAAMD,EAAKd,KAAKiB,KAAKC,cAAgB,MAAQJ,SAAY,OAAS,EAAIA,EAAGK,cAAc,2BAA6B,MAAQJ,SAAY,EAAIA,EAAK,KACtK,GAAIW,GAAe,KAAM,CACrB,MAAMC,EAAgB,KAClB,MAAMN,EAAQK,EAAYJ,cAAc,CAAEC,QAAS,OACnDvB,KAAKQ,WAAaa,EAAMG,OAAS,CAAC,EAEtCG,IACAD,EAAYD,iBAAiB,aAAcE,EAC/C,CACJ,CACA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AAE,SAAU,CAAEuC,IAAK,4CAA8C,UAC58C,CACA,QAAIf,GAAS,OAAOtB,EAAWK,KAAO,GAE1CH,EAAgB6C,MAAQ9C,SAEfC","ignoreList":[]}
1
+ {"version":3,"names":["registerInstance","createEvent","h","Host","getElement","udpTimelineItemCss","UdpTimelineItem","constructor","hostRef","this","itemClick","dotShape","clickable","actions","statusLabel","statusColor","hasTitle","hasCaption","handleClick","emit","componentDidLoad","_a","_b","_c","_d","slot","host","shadowRoot","querySelector","update","nodes","assignedNodes","flatten","length","addEventListener","captionSlot","updateCaption","render","visibleActions","slice","menuActions","key","class","onClick","name","trim","label","color","size","map","action","style"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,OAAWC,MAAkB,sBAEvF,MAAMC,EAAqB,gqEAE3B,MAAMC,EAAkB,MACpB,WAAAC,CAAYC,GACRR,EAAiBS,KAAMD,GACvBC,KAAKC,UAAYT,EAAYQ,KAAM,aAMnCA,KAAKE,SAAW,UAIhBF,KAAKG,UAAY,MAKjBH,KAAKI,QAAU,GAIfJ,KAAKK,YAAc,GAKnBL,KAAKM,YAAc,OACnBN,KAAKO,SAAW,MAChBP,KAAKQ,WAAa,MAClBR,KAAKS,YAAc,KACf,GAAIT,KAAKG,UAAW,CAChBH,KAAKC,UAAUS,MACnB,EAER,CACA,gBAAAC,GACI,IAAIC,EAAIC,EAAIC,EAAIC,EAChB,MAAMC,GAAQH,GAAMD,EAAKZ,KAAKiB,KAAKC,cAAgB,MAAQN,SAAY,OAAS,EAAIA,EAAGO,cAAc,yBAA2B,MAAQN,SAAY,EAAIA,EAAK,KAC7J,GAAIG,GAAQ,KAAM,CACd,MAAMI,EAAS,KACX,MAAMC,EAAQL,EAAKM,cAAc,CAAEC,QAAS,OAC5CvB,KAAKO,SAAWc,EAAMG,OAAS,CAAC,EAEpCJ,IACAJ,EAAKS,iBAAiB,aAAcL,EACxC,CACA,MAAMM,GAAeX,GAAMD,EAAKd,KAAKiB,KAAKC,cA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EuC,IAAK,2CAA4CC,MAAO,gBAAkBxC,EAAE,OAAQ,CAAEuC,IAAK,2CAA4CG,KAAM,aAAenC,KAAKI,QAAQoB,OAAS,GAAM/B,EAAE,MAAO,CAAEuC,IAAK,2CAA4CC,MAAO,qBAAuBJ,EAAeW,KAAIC,GAAWhD,EAAE,SAAU,CAAEyC,QAASO,EAAOP,SAAWO,EAAOJ,SAAUN,EAAYP,OAAS,GAAK/B,EAAE,SAAU,CAAEuC,IAAK,4CAA8C,UAC58C,CACA,QAAIf,GAAS,OAAOtB,EAAWK,KAAO,GAE1CH,EAAgB6C,MAAQ9C,SAEfC","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./index-CaZq3YdB.js";const i=":host{--udp-timeline-connector-color:var(--udp-timeline-line-color, #e0e0e0);--udp-timeline-separator-min-height:48px}.udp-timeline-separator{display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%;min-height:var(--udp-timeline-separator-min-height);position:relative;flex:1 1 auto}.dot-wrap{display:flex;align-items:center;justify-content:center;margin:6px 0}.udp-timeline-separator ::slotted(udp-timeline-connector){order:2;display:block;width:var(--udp-timeline-line-width, 2px);background:var(--udp-timeline-connector-color);margin:8px 0;flex:1 1 auto;margin:8px 0;align-self:center;}.udp-timeline-separator ::slotted(udp-timeline-dot){z-index:3;display:block;order:1}";const r=class{constructor(t){e(this,t)}render(){return t("div",{key:"fd906306d70d88d53be6436fbf36e2d6a36fdd90",class:"udp-timeline-separator"},t("slot",{key:"427efd7e20154bddef6653dc1d0efa693766a46f"}))}};r.style=i;export{r as udp_timeline_separator};
1
+ import{r as e,h as t}from"./index-CaZq3YdB.js";const i=":host{--udp-timeline-connector-color:var(--udp-timeline-line-color, #e0e0e0);--udp-timeline-separator-min-height:48px}.udp-timeline-separator{display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%;min-height:var(--udp-timeline-separator-min-height);position:relative;flex:1 1 auto}.dot-wrap{display:flex;align-items:center;justify-content:center;margin:6px 0}.udp-timeline-separator ::slotted(udp-timeline-connector){order:2;display:block;width:var(--udp-timeline-line-width, 2px);background:var(--udp-timeline-connector-color);margin:8px 0;flex:1 1 auto;margin:8px 0;align-self:center;}.udp-timeline-separator ::slotted(udp-timeline-dot){z-index:3;display:block;order:1}";const r=class{constructor(t){e(this,t)}render(){return t("div",{key:"ffc3bdd998905aa0254b7610824996ddc5263547",class:"udp-timeline-separator"},t("slot",{key:"92dc66209cffed11e4c04bb0f3f309c9f27cdda2"}))}};r.style=i;export{r as udp_timeline_separator};
2
2
  //# sourceMappingURL=udp-timeline-separator.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as i,H as t}from"./index-CaZq3YdB.js";const l=":host{--udp-timeline-left-column:60px;--udp-timeline-item-gap:8px;--udp-timeline-item-padding-vertical:12px;--udp-timeline-dot-nudge:0px;--udp-timeline-dot-top:14px;--udp-timeline-line-color:#e0e0e0;--udp-timeline-line-width:2px;--udp-timeline-time-color:#222}.udp-timeline-root{display:flex;flex-direction:column;position:relative}.align-left .udp-timeline-root{align-items:flex-start}.align-right .udp-timeline-root{align-items:flex-end}.align-alternate .udp-timeline-root{align-items:stretch}";const n=class{constructor(i){e(this,i);this.align="left"}render(){return i(t,{key:"b8f6549bc279987a93954ee693a5c2fe54c41184",class:{[`align-${this.align}`]:true}},i("div",{key:"f0a00ac185b51a7666bf6617f4f3c6e846da131a",class:"udp-timeline-root"},i("slot",{key:"69ba86a6fd1c7a418cbd87c25d4aed591751089b"})))}};n.style=l;export{n as udp_timeline};
1
+ import{r as e,h as i,H as t}from"./index-CaZq3YdB.js";const l=":host{--udp-timeline-left-column:60px;--udp-timeline-item-gap:8px;--udp-timeline-item-padding-vertical:12px;--udp-timeline-dot-nudge:0px;--udp-timeline-dot-top:14px;--udp-timeline-line-color:#e0e0e0;--udp-timeline-line-width:2px;--udp-timeline-time-color:#222}.udp-timeline-root{display:flex;flex-direction:column;position:relative}.align-left .udp-timeline-root{align-items:flex-start}.align-right .udp-timeline-root{align-items:flex-end}.align-alternate .udp-timeline-root{align-items:stretch}";const n=class{constructor(i){e(this,i);this.align="left"}render(){return i(t,{key:"555eec82e04f639c2ea3c7e6f02305406a601790",class:{[`align-${this.align}`]:true}},i("div",{key:"a717e8b6d0a12902927eda125d07a4fada686903",class:"udp-timeline-root"},i("slot",{key:"2ae6134c049190100dc7fccc9b7ff768b85fc438"})))}};n.style=l;export{n as udp_timeline};
2
2
  //# sourceMappingURL=udp-timeline.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as s,h as a}from"./index-CaZq3YdB.js";const c=":host{display:block;width:100%}.spacing-01{height:var(--spacing-01)}.spacing-07{height:var(--spacing-07)}.spacing-13{height:var(--spacing-13)}";const i=class{constructor(a){s(this,a)}render(){const s={small:"spacing-01",medium:"spacing-07",large:"spacing-13"};const c=s[this.unit]||"spacing-01";return a("div",{key:"43858dba85be3d9ca579b7277356f6b722a77598",class:c})}};i.style=c;export{i as udp_vertical_spacer};
1
+ import{r as s,h as a}from"./index-CaZq3YdB.js";const c=":host{display:block;width:100%}.spacing-01{height:var(--spacing-01)}.spacing-07{height:var(--spacing-07)}.spacing-13{height:var(--spacing-13)}";const i=class{constructor(a){s(this,a)}render(){const s={small:"spacing-01",medium:"spacing-07",large:"spacing-13"};const c=s[this.unit]||"spacing-01";return a("div",{key:"e7ce17029af1bb28948d736098913de9b7bd8efe",class:c})}};i.style=c;export{i as udp_vertical_spacer};
2
2
  //# sourceMappingURL=udp-vertical-spacer.entry.js.map
@@ -1,2 +1,2 @@
1
1
  const o=(o,n="long")=>{let t=o;if(o.includes(" ")){t=o.replace(" ","T")}if(!o.toUpperCase().endsWith("Z")){t=t+"Z"}const i=new Date(t);if(n==="short"){const o=o=>String(o).padStart(2,"0");const n=o(i.getDate());const t=o(i.getMonth()+1);const r=String(i.getFullYear()).slice(-2);const s=i.getHours();const d=o(i.getMinutes());const l=s>=12?"pm":"am";const e=s%12===0?12:s%12;const v=String(e).padStart(2,"0");return`${n}/${t}/${r} ${v}:${d} ${l}`}return i.toLocaleString(undefined,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:true})};const n=o=>{const n={};for(const t of o.udpFormUdpFormSection){n[t.name]={};const i=o.formQuestions.filter((o=>o.formSectionId==t.id));for(const o of i){n[t.name][o.name]={value:"",comments:[],metadata:{}}}}return n};const t=(o,n)=>{var t,i,r,s;if((t=o===null||o===void 0?void 0:o.shadowRoot)===null||t===void 0?void 0:t.lastElementChild){(s=(r=(i=o===null||o===void 0?void 0:o.shadowRoot)===null||i===void 0?void 0:i.lastElementChild)===null||r===void 0?void 0:r.setAttribute)===null||s===void 0?void 0:s.call(r,"style",`font-family: var(${n})`);return}const d=new MutationObserver(((o,t)=>{o.forEach((o=>{if(o.type==="childList"&&o.addedNodes.length>0){o.addedNodes.forEach((o=>{var i;if(o.nodeType===Node.ELEMENT_NODE){(i=o===null||o===void 0?void 0:o.setAttribute)===null||i===void 0?void 0:i.call(o,"style",`font-family: var(${n})`);t.disconnect()}}))}}))}));if(o===null||o===void 0?void 0:o.shadowRoot){d.observe(o.shadowRoot,{childList:true})}};const i={Arial:"--font-override-arial"};export{n as b,o as d,i as f,t as o};
2
- //# sourceMappingURL=utils-CiUp9KGZ.js.map
2
+ //# sourceMappingURL=utils-kwLwITIE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils-kwLwITIE.js","sources":["src/components/forms/udp-forms/udp-forms-utils/utils.ts"],"sourcesContent":["// take a masterForm's structure and build the empty currentValues object\nimport { UdpForm } from \"src/components\";\n\n/**\n * Translate and format UTC timestamp to local time.\n */\nexport const dateFormatter = (dateString: string, formatStyle: 'long' | 'short' = 'long' ) => {\n let normalizedDateString = dateString;\n\n // Check if the string is in the 'YYYY-MM-DD HH:mm:ss.sss' format (i.e., contains a space, not 'T')\n // If the input is '2025-12-10T20:23:23.055Z', it passes straight through.\n // This format is assumed to be missing timezone info and needs to be treated as UTC.\n if (dateString.includes(' ')) {\n // Replace the space with 'T' \n normalizedDateString = dateString.replace(' ', 'T');\n }\n\n if (!dateString.toUpperCase().endsWith('Z')) {\n // append Z if not there\n normalizedDateString = normalizedDateString + 'Z';\n }\n\n const date = new Date(normalizedDateString);\n\n // short format: DD/MM/YY HH:MM am/pm (e.g. 05/09/25 03:45 pm)\n if (formatStyle === 'short') {\n const pad = (n: number) => String(n).padStart(2, '0');\n const day = pad(date.getDate());\n const month = pad(date.getMonth() + 1);\n const yearShort = String(date.getFullYear()).slice(-2);\n\n const hours24 = date.getHours();\n const minutes = pad(date.getMinutes());\n const period = hours24 >= 12 ? 'pm' : 'am';\n const hours12 = hours24 % 12 === 0 ? 12 : hours24 % 12;\n const hours = String(hours12).padStart(2, '0');\n\n return `${day}/${month}/${yearShort} ${hours}:${minutes} ${period}`;\n }\n\n // default long format \n return date.toLocaleString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n hour: '2-digit',\n minute: '2-digit',\n hour12: true\n });\n};\n\n\n// eg. { section1: { question1: { value: '', comments: [], metadata: {} }, question2: { value: '', comments: [], metadata: {} } }, section2: { question3: { value: '', comments: [], metadata: {} } } }\nexport const buildEmptyCurrentValues = (masterForm: UdpForm) => {\n const currentValues = {};\n\n for (const section of masterForm.udpFormUdpFormSection) {\n currentValues[section.name] = {};\n\n const questionsOfSection = masterForm.formQuestions.filter(\n question => question.formSectionId == section.id,\n );\n\n for (const question of questionsOfSection) {\n currentValues[section.name][question.name] = {\n value: '', // default empty value\n comments: [], // default empty comments array\n metadata: {}, // default metadata object\n };\n }\n }\n\n return currentValues;\n};\n\n\nexport const overrideFont = (element: HTMLElement, cssVariable) => {\n if(element?.shadowRoot?.lastElementChild){ // this returns null in react for some instances\n element?.shadowRoot?.lastElementChild?.setAttribute?.('style', `font-family: var(${cssVariable})`)\n return;\n }\n const observer = new MutationObserver((mutationsList, observer) => {\n mutationsList.forEach(mutation => {\n if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {\n mutation.addedNodes.forEach(node => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n (node as HTMLElement)?.setAttribute?.('style', `font-family: var(${cssVariable})`);\n observer.disconnect(); // Stop observing once the target is found\n }\n });\n }\n });\n });\n\n if (element?.shadowRoot) {\n observer.observe(element.shadowRoot, { childList: true });\n }\n };\n\n\nexport const fontOverrideMapping = {\n Arial: \"--font-override-arial\"\n}"],"names":[],"mappings":"AAGA;;AAEG;AACU,MAAA,aAAa,GAAG,CAAC,UAAkB,EAAE,WAAA,GAAgC,MAAM,KAAK;IAC3F,IAAI,oBAAoB,GAAG,UAAU;;;;AAKrC,IAAA,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;;QAE5B,oBAAoB,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC;;IAGrD,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;;AAE3C,QAAA,oBAAoB,GAAG,oBAAoB,GAAG,GAAG;;AAGnD,IAAA,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,oBAAoB,CAAC;;AAG3C,IAAA,IAAI,WAAW,KAAK,OAAO,EAAE;AAC3B,QAAA,MAAM,GAAG,GAAG,CAAC,CAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;QACrD,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;AACtC,QAAA,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC;AAEtD,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE;QAC/B,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;AACtC,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ClF,wBAAA,QAAQ,CAAC,UAAU,EAAE,CAAC;;AAE1B,iBAAC,CAAC;;AAEN,SAAC,CAAC;AACJ,KAAC,CAAC;IAEF,IAAI,OAAO,aAAP,OAAO,KAAA,MAAA,GAAA,MAAA,GAAP,OAAO,CAAE,UAAU,EAAE;AACvB,QAAA,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;AAE7D;AAGW,MAAA,mBAAmB,GAAG;AACjC,IAAA,KAAK,EAAE;;;;;"}
@@ -1,5 +1,5 @@
1
- import { UdpFormsTypeEnum } from '../utils/enums';
2
- import { StyleOverrides } from '../utils/types';
1
+ import { UdpFormsTypeEnum } from '../udp-forms-utils/enums';
2
+ import { StyleOverrides } from '../udp-forms-utils/types';
3
3
  export declare const deepCloneFormSections: (formSections: any[]) => any[];
4
4
  export declare const styleOverrideDefault: StyleOverrides;
5
5
  export declare const formSectionDefault: {
@@ -1,4 +1,4 @@
1
- import { UdpFormQuestion } from '../../../utils/types';
1
+ import { UdpFormQuestion } from '../../../udp-forms-utils/types';
2
2
  export declare class DateTimeRenderer {
3
3
  question: UdpFormQuestion;
4
4
  isViewOnly: boolean;
@@ -1,4 +1,4 @@
1
- import { UdpFormQuestion } from '../../../utils/types';
1
+ import { UdpFormQuestion } from '../../../udp-forms-utils/types';
2
2
  export declare class FileUploadRenderer {
3
3
  question: UdpFormQuestion;
4
4
  isViewOnly: boolean;
@@ -1,4 +1,4 @@
1
- import { UdpFormQuestion } from '../../../utils/types';
1
+ import { UdpFormQuestion } from '../../../udp-forms-utils/types';
2
2
  export declare class FormMetadataDisplayRenderer {
3
3
  question: UdpFormQuestion;
4
4
  isViewOnly: boolean;
@@ -1,4 +1,4 @@
1
- import { UdpFormQuestion } from '../../../utils/types';
1
+ import { UdpFormQuestion } from '../../../udp-forms-utils/types';
2
2
  export declare class ListOptionsRenderer {
3
3
  question: UdpFormQuestion;
4
4
  isViewOnly: boolean;
@@ -1,4 +1,4 @@
1
- import { UdpFormQuestion } from '../../../utils/types';
1
+ import { UdpFormQuestion } from '../../../udp-forms-utils/types';
2
2
  export declare class SignatureRenderer {
3
3
  question: UdpFormQuestion;
4
4
  isViewOnly: boolean;
@@ -1,4 +1,4 @@
1
- import { UdpFormQuestion } from '../../../utils/types';
1
+ import { UdpFormQuestion } from '../../../udp-forms-utils/types';
2
2
  export declare class TextInputRenderer {
3
3
  question: UdpFormQuestion;
4
4
  isViewOnly: boolean;
@@ -1,4 +1,4 @@
1
- import { UdpFormsFieldTypeEnum } from '../utils/enums';
1
+ import { UdpFormsFieldTypeEnum } from '../udp-forms-utils/enums';
2
2
  type FormSections = any[];
3
3
  declare const questionsTemplate: ({
4
4
  fieldTypeId: UdpFormsFieldTypeEnum;