udp-stencil-component-library 26.9.0-beta.2 → 26.9.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (968) hide show
  1. package/dist/cjs/{SearchBuilder-CyR7DyPc.js → SearchBuilder-Ca9_ur9o.js} +1 -1
  2. package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +8 -8
  3. package/dist/cjs/address-search_6.cjs.entry.js +19 -19
  4. package/dist/cjs/advanced-search_12.cjs.entry.js +20 -20
  5. package/dist/cjs/{ag-grid-base_65.cjs.entry.js → ag-grid-base_66.cjs.entry.js} +458 -183
  6. package/dist/cjs/ambient-template-grid.cjs.entry.js +20 -20
  7. package/dist/cjs/api-method-instance-grid.cjs.entry.js +11 -10
  8. package/dist/cjs/{apiMethodInstance-D65NIw8S.js → apiMethodInstance-DTeNcmNq.js} +3 -32
  9. package/dist/cjs/{apiUtils-0pkNuvqf.js → apiUtils-tzjwn5aw.js} +29 -28
  10. package/dist/cjs/app-bar.cjs.entry.js +1 -1
  11. package/dist/cjs/{catalog-store-B_YMkXRh.js → catalog-store-CzG8hINB.js} +1 -1
  12. package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
  13. package/dist/cjs/check-box.cjs.entry.js +2 -2
  14. package/dist/cjs/chip-section.cjs.entry.js +2 -2
  15. package/dist/cjs/{codecs-ClSB_OaD.js → codecs-Dyka7kpz.js} +407 -7
  16. package/dist/cjs/{configService-N6ke1_s4.js → configService-DbfLqId2.js} +2 -6
  17. package/dist/cjs/{configureUdpColumnMods-BT7UbQPh.js → configureUdpColumnMods-Cqxn_OaF.js} +23 -7
  18. package/dist/cjs/convertBackendTypeToAgGridType-CZEQIj7A.js +33 -0
  19. package/dist/cjs/{createAzureMapsProviders-b1fKbjhG.js → createAzureMapsProviders-CURScysk.js} +14 -0
  20. package/dist/cjs/custom-button.cjs.entry.js +1 -1
  21. package/dist/cjs/date-time-renderer_9.cjs.entry.js +21 -21
  22. package/dist/cjs/domain-table-snapshot-DXs9ceFE.js +339 -0
  23. package/dist/cjs/extraFields-CNvT2Qyf.js +109 -0
  24. package/dist/cjs/extraFieldsHelper-Clk9u_FW.js +211 -0
  25. package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
  26. package/dist/cjs/file-upload_2.cjs.entry.js +7 -7
  27. package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
  28. package/dist/cjs/{fluent-icons-DLY_DCOh.js → fluent-icons-Cs6J6uVm.js} +20 -0
  29. package/dist/cjs/form-metadata-display_2.cjs.entry.js +3 -3
  30. package/dist/cjs/getCurrentApiCatalogId-D7xHCEzs.js +7 -0
  31. package/dist/cjs/icon-grid.cjs.entry.js +2 -2
  32. package/dist/cjs/image-upload_8.cjs.entry.js +7 -7
  33. package/dist/cjs/index-CZB9dMeB.js +12 -8
  34. package/dist/cjs/index.cjs.js +26 -23
  35. package/dist/cjs/{load-icons-BAAH3v1o.js → load-icons-JeRXx4O7.js} +1 -1
  36. package/dist/cjs/loader.cjs.js +1 -1
  37. package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
  38. package/dist/cjs/lookupHelper-DACjrAcP.js +694 -0
  39. package/dist/cjs/map-component_2.cjs.entry.js +2 -2
  40. package/dist/cjs/primary-action-header_2.cjs.entry.js +4 -4
  41. package/dist/cjs/question-configs-renderer_4.cjs.entry.js +15 -15
  42. package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
  43. package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +3 -3
  44. package/dist/cjs/rich-text-schema-Dhani4hA.js +58 -0
  45. package/dist/cjs/search-method-grid.cjs.entry.js +121 -264
  46. package/dist/cjs/server-side-grid.cjs.entry.js +85 -3
  47. package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
  48. package/dist/cjs/simple-card.cjs.entry.js +1 -1
  49. package/dist/cjs/status-chip_2.cjs.entry.js +2 -2
  50. package/dist/cjs/{status-renderer-9CQ-hhq8.js → status-renderer-be4boc5r.js} +83 -55
  51. package/dist/cjs/stencil-chip.cjs.entry.js +2 -2
  52. package/dist/cjs/stencil-library.cjs.js +1 -1
  53. package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
  54. package/dist/cjs/text-field_2.cjs.entry.js +7 -7
  55. package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
  56. package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +102 -5
  57. package/dist/cjs/udp-advanced-search-field-picker_3.cjs.entry.js +3 -3
  58. package/dist/cjs/udp-ag-area-chart.cjs.entry.js +2 -2
  59. package/dist/cjs/udp-ag-bar-chart_4.cjs.entry.js +5 -5
  60. package/dist/cjs/udp-ag-bubble-chart.cjs.entry.js +2 -2
  61. package/dist/cjs/udp-ag-combo-chart.cjs.entry.js +2 -2
  62. package/dist/cjs/udp-ag-donut-chart.cjs.entry.js +2 -2
  63. package/dist/cjs/udp-ag-line-chart.cjs.entry.js +2 -2
  64. package/dist/cjs/udp-ag-pie-chart.cjs.entry.js +2 -2
  65. package/dist/cjs/udp-ag-scatter-chart.cjs.entry.js +2 -2
  66. package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
  67. package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -1
  68. package/dist/cjs/udp-bar-chart.cjs.entry.js +1 -1
  69. package/dist/cjs/udp-calendar-base.cjs.entry.js +1 -1
  70. package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -1
  71. package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -1
  72. package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -1
  73. package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -1
  74. package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
  75. package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
  76. package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
  77. package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
  78. package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
  79. package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
  80. package/dist/cjs/udp-container.cjs.entry.js +2 -2
  81. package/dist/cjs/{udp-detail-list_9.cjs.entry.js → udp-detail-list_10.cjs.entry.js} +606 -73
  82. package/dist/cjs/{udp-drive-utils-DM1l6XMm.js → udp-drive-utils-BuTLI35n.js} +1 -1
  83. package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
  85. package/dist/cjs/udp-fluent-icon-picker.cjs.entry.js +2 -2
  86. package/dist/cjs/udp-fluent-inline-edit_5.cjs.entry.js +494 -45
  87. package/dist/cjs/udp-fluent-link.cjs.entry.js +1 -1
  88. package/dist/cjs/udp-fluent-list-item_2.cjs.entry.js +3 -3
  89. package/dist/cjs/{udp-form-api-utils-zMPk_IT1.js → udp-form-api-utils-ZY88igvH.js} +1 -1
  90. package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
  91. package/dist/cjs/udp-forms-builder.cjs.entry.js +1 -1
  92. package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
  93. package/dist/cjs/udp-forms-list-card.cjs.entry.js +4 -4
  94. package/dist/cjs/udp-forms-list.cjs.entry.js +3 -3
  95. package/dist/cjs/udp-forms-renderer.cjs.entry.js +4 -4
  96. package/dist/cjs/udp-import-sheet.cjs.entry.js +244 -0
  97. package/dist/cjs/udp-kpi-card.cjs.entry.js +1 -1
  98. package/dist/cjs/udp-kpi-cards.cjs.entry.js +2 -2
  99. package/dist/cjs/udp-map.cjs.entry.js +3 -3
  100. package/dist/cjs/udp-menu.cjs.entry.js +1 -1
  101. package/dist/cjs/udp-page.cjs.entry.js +1 -1
  102. package/dist/cjs/udp-question-form-builder.cjs.entry.js +35 -258
  103. package/dist/cjs/udp-rich-text-field.cjs.entry.js +28 -53
  104. package/dist/cjs/udp-rich-text.cjs.entry.js +61 -0
  105. package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
  106. package/dist/cjs/udp-sidebar-layout.cjs.entry.js +3 -3
  107. package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
  108. package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
  109. package/dist/cjs/udp-stepper-actions.cjs.entry.js +1 -1
  110. package/dist/cjs/udp-stepper-content.cjs.entry.js +2 -2
  111. package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
  112. package/dist/cjs/udp-stepper-nav.cjs.entry.js +1 -1
  113. package/dist/cjs/udp-tab.cjs.entry.js +1 -1
  114. package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
  115. package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
  116. package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
  117. package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
  118. package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
  119. package/dist/cjs/udp-vertical-timeline-connector.cjs.entry.js +1 -1
  120. package/dist/cjs/udp-vertical-timeline-dot.cjs.entry.js +1 -1
  121. package/dist/cjs/udp-vertical-timeline-item.cjs.entry.js +2 -2
  122. package/dist/cjs/udp-vertical-timeline-separator.cjs.entry.js +1 -1
  123. package/dist/cjs/udp-vertical-timeline.cjs.entry.js +1 -1
  124. package/dist/cjs/udp-xy-chart.cjs.entry.js +1 -1
  125. package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
  126. package/dist/cjs/valueFormatters-CUoOypK3.js +17 -0
  127. package/dist/collection/__mocks__/jest-setup.js +3 -0
  128. package/dist/collection/collection-manifest.json +3 -0
  129. package/dist/collection/components/advanced-search/advanced-search-grouped.js +2 -2
  130. package/dist/collection/components/advanced-search/advanced-search.js +2 -2
  131. package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +1 -1
  132. package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +1 -1
  133. package/dist/collection/components/advanced-search-builder/field-picker/field-picker.js +1 -1
  134. package/dist/collection/components/advanced-search-builder/field-picker-tree/field-picker-tree.js +2 -2
  135. package/dist/collection/components/advanced-search-builder/udp-advanced-search-builder.js +125 -2
  136. package/dist/collection/components/attachment-list/udp-attachment-list.js +1 -1
  137. package/dist/collection/components/buttons/icon-button/function-button/udp-function-button.js +1 -1
  138. package/dist/collection/components/buttons/icon-button/primary-button/custom-button.js +1 -1
  139. package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +1 -1
  140. package/dist/collection/components/buttons/udp-button/udp-button.js +1 -1
  141. package/dist/collection/components/calendar/udp-calendar-base.js +1 -1
  142. package/dist/collection/components/calendar/udp-calendar-day.js +1 -1
  143. package/dist/collection/components/calendar/udp-calendar-month.js +1 -1
  144. package/dist/collection/components/calendar/udp-calendar-week.js +1 -1
  145. package/dist/collection/components/calendar/udp-calendar-year.js +1 -1
  146. package/dist/collection/components/charts/chart-kpi/chart-kpi.js +1 -1
  147. package/dist/collection/components/charts/udp-ag-area-chart/udp-ag-area-chart.js +2 -2
  148. package/dist/collection/components/charts/udp-ag-bar-chart/udp-ag-bar-chart.js +2 -2
  149. package/dist/collection/components/charts/udp-ag-bubble-chart/udp-ag-bubble-chart.js +2 -2
  150. package/dist/collection/components/charts/udp-ag-combo-chart/udp-ag-combo-chart.js +2 -2
  151. package/dist/collection/components/charts/udp-ag-donut-chart/udp-ag-donut-chart.js +2 -2
  152. package/dist/collection/components/charts/udp-ag-line-chart/udp-ag-line-chart.js +2 -2
  153. package/dist/collection/components/charts/udp-ag-pie-chart/udp-ag-pie-chart.js +2 -2
  154. package/dist/collection/components/charts/udp-ag-scatter-chart/udp-ag-scatter-chart.js +2 -2
  155. package/dist/collection/components/charts/udp-bar-chart/udp-bar-chart.js +1 -1
  156. package/dist/collection/components/charts/udp-charts-example.js +1 -1
  157. package/dist/collection/components/charts/udp-distribution-chart/udp-distribution-chart.js +1 -1
  158. package/dist/collection/components/charts/udp-donut-chart/udp-donut-chart.js +1 -1
  159. package/dist/collection/components/charts/udp-line-chart/udp-line-chart.js +1 -1
  160. package/dist/collection/components/charts/udp-sankey-chart/udp-sankey-chart.js +1 -1
  161. package/dist/collection/components/charts/udp-xy-chart/udp-xy-chart.js +1 -1
  162. package/dist/collection/components/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +1 -1
  163. package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +1 -1
  164. package/dist/collection/components/data-display/badge/udp-badge.js +1 -1
  165. package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
  166. package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
  167. package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
  168. package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
  169. package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
  170. package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
  171. package/dist/collection/components/data-display/cards/udp-card/udp-card.js +3 -3
  172. package/dist/collection/components/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
  173. package/dist/collection/components/data-display/chips/stencil-chip/stencil-chip.js +2 -2
  174. package/dist/collection/components/data-display/chips/udp-chip.js +1 -1
  175. package/dist/collection/components/data-display/detail-list-item/udp-detail-list-item.js +1 -1
  176. package/dist/collection/components/data-display/divider/udp-divider.js +1 -1
  177. package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +1 -1
  178. package/dist/collection/components/data-display/headers/udp-column-header.js +1 -1
  179. package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +1 -1
  180. package/dist/collection/components/data-display/hint-panel/hint-panel.js +1 -1
  181. package/dist/collection/components/data-display/kpi/kpi-list.js +1 -1
  182. package/dist/collection/components/data-display/kpi/udp-kpi-card.js +1 -1
  183. package/dist/collection/components/data-display/kpi/udp-kpi-cards.js +2 -2
  184. package/dist/collection/components/data-display/list-item/list-item.js +2 -2
  185. package/dist/collection/components/data-display/pop-over/udp-pop-over.js +1 -1
  186. package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
  187. package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +2 -2
  188. package/dist/collection/components/data-display/simple-card/simple-card.js +1 -1
  189. package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
  190. package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
  191. package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +1 -1
  192. package/dist/collection/components/dialogs/udp-dialog.js +1 -1
  193. package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +9 -9
  194. package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.css +0 -1
  195. package/dist/collection/components/export/udp-export-sheet/udp-export-sheet.js +10 -5
  196. package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
  197. package/dist/collection/components/feedback/udp-notification/udp-notification.js +2 -2
  198. package/dist/collection/components/fluent-ui/autocomplete/udp-autocomplete.js +8 -8
  199. package/dist/collection/components/fluent-ui/avatar/udp-fluent-avatar.js +1 -1
  200. package/dist/collection/components/fluent-ui/badge/udp-fluent-badge.js +1 -1
  201. package/dist/collection/components/fluent-ui/button/udp-fluent-button.css +10 -0
  202. package/dist/collection/components/fluent-ui/button/udp-fluent-button.js +26 -1
  203. package/dist/collection/components/fluent-ui/card/udp-fluent-card.js +3 -3
  204. package/dist/collection/components/fluent-ui/checkbox/udp-fluent-checkbox.js +1 -1
  205. package/dist/collection/components/fluent-ui/compound-button/udp-compound-button.js +1 -1
  206. package/dist/collection/components/fluent-ui/counter-badge/udp-fluent-counter-badge.js +1 -1
  207. package/dist/collection/components/fluent-ui/date-time-input/udp-date-time-input.js +1 -1
  208. package/dist/collection/components/fluent-ui/dialog/udp-fluent-dialog.js +1 -1
  209. package/dist/collection/components/fluent-ui/divider/udp-fluent-divider.js +1 -1
  210. package/dist/collection/components/fluent-ui/domain-table-input/domain-table-snapshot.js +78 -0
  211. package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.css +67 -0
  212. package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.js +871 -0
  213. package/dist/collection/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.js +1 -0
  214. package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.css +4 -0
  215. package/dist/collection/components/fluent-ui/drawer/udp-fluent-drawer.js +26 -1
  216. package/dist/collection/components/fluent-ui/dropdown/udp-fluent-dropdown.js +28 -10
  217. package/dist/collection/components/fluent-ui/empty-state/udp-empty-state.js +1 -1
  218. package/dist/collection/components/fluent-ui/file-input/udp-fluent-file-input.js +4 -4
  219. package/dist/collection/components/fluent-ui/icon/icon-grid/icon-grid.js +1 -1
  220. package/dist/collection/components/fluent-ui/icon/udp-fluent-icon.js +1 -1
  221. package/dist/collection/components/fluent-ui/icon-picker/udp-fluent-icon-picker.js +2 -2
  222. package/dist/collection/components/fluent-ui/image/udp-fluent-image.js +1 -1
  223. package/dist/collection/components/fluent-ui/inline-edit/udp-fluent-inline-edit.js +2 -2
  224. package/dist/collection/components/fluent-ui/link/udp-fluent-link.js +1 -1
  225. package/dist/collection/components/fluent-ui/list/udp-list.js +1 -1
  226. package/dist/collection/components/fluent-ui/list-input/udp-fluent-list-input.js +1 -1
  227. package/dist/collection/components/fluent-ui/list-item/udp-list-item.js +2 -2
  228. package/dist/collection/components/fluent-ui/location-input/udp-fluent-location-input.js +3 -3
  229. package/dist/collection/components/fluent-ui/menu/udp-fluent-menu.js +2 -2
  230. package/dist/collection/components/fluent-ui/message-bar/udp-message-bar.js +1 -1
  231. package/dist/collection/components/fluent-ui/number-input/udp-fluent-number-input.js +1 -1
  232. package/dist/collection/components/fluent-ui/popover/udp-popover.js +4 -4
  233. package/dist/collection/components/fluent-ui/progress-bar/udp-progress-bar.js +1 -1
  234. package/dist/collection/components/fluent-ui/radio-group/udp-fluent-radio-group.js +21 -8
  235. package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.css +9 -0
  236. package/dist/collection/components/fluent-ui/rich-text/udp-rich-text.js +81 -0
  237. package/dist/collection/components/fluent-ui/rich-text-field/rich-text-content.css +97 -0
  238. package/dist/collection/components/fluent-ui/rich-text-field/rich-text-schema.js +39 -0
  239. package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.css +1 -92
  240. package/dist/collection/components/fluent-ui/rich-text-field/udp-rich-text-field.js +12 -39
  241. package/dist/collection/components/fluent-ui/search-input/udp-search-input.css +6 -0
  242. package/dist/collection/components/fluent-ui/search-input/udp-search-input.js +3 -3
  243. package/dist/collection/components/fluent-ui/signature-input/udp-fluent-signature-input.js +4 -4
  244. package/dist/collection/components/fluent-ui/slider/udp-slider.js +1 -1
  245. package/dist/collection/components/fluent-ui/spinner/udp-spinner.js +1 -1
  246. package/dist/collection/components/fluent-ui/swatch-picker/udp-swatch-picker.js +1 -1
  247. package/dist/collection/components/fluent-ui/switch/udp-fluent-switch.js +1 -1
  248. package/dist/collection/components/fluent-ui/table-input/table-aggregates.js +57 -0
  249. package/dist/collection/components/fluent-ui/table-input/udp-fluent-table-input.js +12 -56
  250. package/dist/collection/components/fluent-ui/tablist/udp-fluent-tablist.js +13 -2
  251. package/dist/collection/components/fluent-ui/text/udp-text.js +1 -1
  252. package/dist/collection/components/fluent-ui/text-input/udp-fluent-text-input.js +2 -2
  253. package/dist/collection/components/fluent-ui/textarea/udp-textarea.js +2 -2
  254. package/dist/collection/components/fluent-ui/time-input/udp-time-input.js +7 -2
  255. package/dist/collection/components/fluent-ui/toggle-button/udp-fluent-toggle-button.js +1 -1
  256. package/dist/collection/components/fluent-ui/tooltip/udp-tooltip.js +2 -2
  257. package/dist/collection/components/fluent-ui/tree/udp-tree.js +1 -1
  258. package/dist/collection/components/forms/dynamic-form/udp-dynamic-form.js +1 -1
  259. package/dist/collection/components/forms/edit-view-form/edit-view-form.js +2 -2
  260. package/dist/collection/components/forms/form/stencil-form.js +1 -1
  261. package/dist/collection/components/forms/save-view-form/save-view-form.js +2 -2
  262. package/dist/collection/components/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
  263. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +4 -4
  264. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +3 -3
  265. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
  266. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/location-renderer/location-renderer.js +6 -6
  267. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +7 -7
  268. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +4 -4
  269. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
  270. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/table-columns-renderer/table-columns-renderer.js +2 -2
  271. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
  272. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
  273. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
  274. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +4 -4
  275. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
  276. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +2 -2
  277. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
  278. package/dist/collection/components/forms/udp-forms/udp-question/table-input/table-input.js +1 -1
  279. package/dist/collection/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.js +200 -0
  280. package/dist/collection/components/forms/udp-question-form/builder/components/configure-question-drawer.js +7 -1
  281. package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.js +309 -0
  282. package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/TableConfig.js +32 -1
  283. package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.css +50 -0
  284. package/dist/collection/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.js +33 -3
  285. package/dist/collection/components/forms/udp-question-form/builder/udp-question-form-builder.js +7 -1
  286. package/dist/collection/components/forms/udp-question-form/builder/utils/builder-api.js +85 -0
  287. package/dist/collection/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.js +9 -1
  288. package/dist/collection/components/forms/udp-question-form/core/field-properties.js +6 -1
  289. package/dist/collection/components/forms/udp-question-form/core/validation/intrinsic.js +52 -3
  290. package/dist/collection/components/forms/udp-question-form/renderer/runtime/codecs.js +10 -4
  291. package/dist/collection/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.js +50 -0
  292. package/dist/collection/components/forms/udp-question-form/renderer/runtime/index.js +1 -0
  293. package/dist/collection/components/forms/udp-question-form/renderer/udp-question-form-renderer.js +62 -16
  294. package/dist/collection/components/forms/udp-question-form/renderer/ui/adapters/udp-question-tally-adapter.js +1 -1
  295. package/dist/collection/components/forms/udp-question-form/renderer/ui/form-shell.js +2 -1
  296. package/dist/collection/components/forms/udp-question-form/renderer/ui/question-renderer.js +7 -3
  297. package/dist/collection/components/forms/udp-question-form/renderer/ui/question-view-renderer.js +17 -11
  298. package/dist/collection/components/forms/udp-question-form/version-drawer/udp-form-version-drawer.js +1 -1
  299. package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +16 -16
  300. package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -2
  301. package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
  302. package/dist/collection/components/grid/new-grid/ag-grid-base.css +7 -0
  303. package/dist/collection/components/grid/new-grid/ag-grid-base.js +13 -4
  304. package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +27 -3
  305. package/dist/collection/components/grid/new-grid/client-side-grid.js +2 -2
  306. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +20 -6
  307. package/dist/collection/components/grid/new-grid/gridFunctions/advancedSearch.js +3 -2
  308. package/dist/collection/components/grid/new-grid/gridFunctions/savedViews.js +7 -5
  309. package/dist/collection/components/grid/new-grid/gridFunctions/udpExport.js +12 -1
  310. package/dist/collection/components/grid/new-grid/helperFunctions/buildSearchObject.js +17 -16
  311. package/dist/collection/components/grid/new-grid/helperFunctions/configureUdpColumnMods.js +23 -7
  312. package/dist/collection/components/grid/new-grid/helperFunctions/domainRowsHelper.js +177 -0
  313. package/dist/collection/components/grid/new-grid/helperFunctions/extraFieldsHelper.js +203 -0
  314. package/dist/collection/components/grid/new-grid/helperFunctions/lookupHelper.js +256 -16
  315. package/dist/collection/components/grid/new-grid/search-method-grid.js +124 -11
  316. package/dist/collection/components/grid/new-grid/server-side-grid.js +107 -4
  317. package/dist/collection/components/grid/renderers/actions-renderer.js +83 -55
  318. package/dist/collection/components/grid/renderers/input-renderer.js +66 -0
  319. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
  320. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +3 -3
  321. package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.css +38 -0
  322. package/dist/collection/components/import/udp-import-sheet/udp-import-sheet.js +425 -0
  323. package/dist/collection/components/inputs/address-search/address-search.js +3 -3
  324. package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
  325. package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +2 -2
  326. package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
  327. package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
  328. package/dist/collection/components/inputs/file-upload/file-upload.js +4 -4
  329. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
  330. package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
  331. package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
  332. package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
  333. package/dist/collection/components/inputs/tally/tally.js +2 -2
  334. package/dist/collection/components/inputs/text-area/text-area.js +3 -3
  335. package/dist/collection/components/inputs/text-field/text-field.js +3 -3
  336. package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
  337. package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
  338. package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
  339. package/dist/collection/components/layout/primary-action-header/udp-primary-action-header.js +1 -1
  340. package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
  341. package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
  342. package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
  343. package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
  344. package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
  345. package/dist/collection/components/layout/udp-sidebar-layout/udp-sidebar-layout.js +3 -3
  346. package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
  347. package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
  348. package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
  349. package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
  350. package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
  351. package/dist/collection/components/map/udp-map/map-component.js +1 -1
  352. package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
  353. package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
  354. package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
  355. package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
  356. package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
  357. package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +2 -2
  358. package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
  359. package/dist/collection/components/map/udp-map/udp-map.js +3 -3
  360. package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
  361. package/dist/collection/components/menu/udp-menu.js +1 -1
  362. package/dist/collection/components/new-form/field/udp-field.js +1 -1
  363. package/dist/collection/components/new-form/form/udp-form-component.js +2 -2
  364. package/dist/collection/components/stepper/udp-stepper-actions/udp-stepper-actions.js +1 -1
  365. package/dist/collection/components/stepper/udp-stepper-content/udp-stepper-content.js +2 -2
  366. package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
  367. package/dist/collection/components/stepper/udp-stepper-nav/udp-stepper-nav.js +1 -1
  368. package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
  369. package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
  370. package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +1 -2
  371. package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
  372. package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
  373. package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
  374. package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
  375. package/dist/collection/components/timeline/udp-timeline.js +1 -1
  376. package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
  377. package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
  378. package/dist/collection/components/util/lazy-loader/udp-lazy-loader.js +1 -1
  379. package/dist/collection/components/vertical-timeline/udp-vertical-timeline-connector.js +1 -1
  380. package/dist/collection/components/vertical-timeline/udp-vertical-timeline-dot.js +1 -1
  381. package/dist/collection/components/vertical-timeline/udp-vertical-timeline-item.js +2 -2
  382. package/dist/collection/components/vertical-timeline/udp-vertical-timeline-separator.js +1 -1
  383. package/dist/collection/components/vertical-timeline/udp-vertical-timeline.js +1 -1
  384. package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
  385. package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
  386. package/dist/collection/icons/fluent-icons.js +16 -0
  387. package/dist/collection/index.js +2 -0
  388. package/dist/collection/store/execution-store.js +6 -5
  389. package/dist/collection/test-pages/test-components-page.js +28 -28
  390. package/dist/collection/test-pages/test-form.js +4 -4
  391. package/dist/collection/udp-utilities/api-config/configService.js +0 -4
  392. package/dist/collection/udp-utilities/extra-fields/extraFields.js +94 -0
  393. package/dist/collection/udp-utilities/extra-fields/index.js +1 -0
  394. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
  395. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
  396. package/dist/components/add-map-feature-popup2.js +1 -1
  397. package/dist/components/address-search2.js +1 -1
  398. package/dist/components/advanced-search-grouped2.js +1 -1
  399. package/dist/components/advanced-search2.js +1 -1
  400. package/dist/components/ag-grid-base2.js +1 -1
  401. package/dist/components/ambient-template-grid.js +1 -1
  402. package/dist/components/api-method-instance-grid.js +1 -1
  403. package/dist/components/apiMethodInstance.js +1 -1
  404. package/dist/components/apiUtils.js +1 -1
  405. package/dist/components/app-bar.js +1 -1
  406. package/dist/components/chart-kpi2.js +1 -1
  407. package/dist/components/check-box.js +1 -1
  408. package/dist/components/chip-section.js +1 -1
  409. package/dist/components/client-side-grid2.js +1 -1
  410. package/dist/components/configService.js +1 -1
  411. package/dist/components/configureUdpColumnMods.js +1 -1
  412. package/dist/components/convertBackendTypeToAgGridType.js +1 -0
  413. package/dist/components/custom-button2.js +1 -1
  414. package/dist/components/edit-view-form.js +1 -1
  415. package/dist/components/extraFields.js +1 -0
  416. package/dist/components/feature-details-card2.js +1 -1
  417. package/dist/components/feature-details-popup2.js +1 -1
  418. package/dist/components/field-picker-tree.js +1 -1
  419. package/dist/components/field-picker.js +1 -1
  420. package/dist/components/file-upload-renderer2.js +1 -1
  421. package/dist/components/file-upload2.js +1 -1
  422. package/dist/components/filter-conditions2.js +1 -1
  423. package/dist/components/fluent-icons.js +1 -1
  424. package/dist/components/form-metadata-display-renderer2.js +1 -1
  425. package/dist/components/form-metadata-display2.js +1 -1
  426. package/dist/components/getCachedAzureMapsProviders.js +1 -1
  427. package/dist/components/ghost-render2.js +1 -1
  428. package/dist/components/grid-primary-bar2.js +1 -1
  429. package/dist/components/hint-panel2.js +1 -1
  430. package/dist/components/icon-grid2.js +1 -1
  431. package/dist/components/image-upload2.js +1 -1
  432. package/dist/components/index.js +1 -1
  433. package/dist/components/kpi-list2.js +1 -1
  434. package/dist/components/list-item.js +1 -1
  435. package/dist/components/list-options-renderer2.js +1 -1
  436. package/dist/components/location-renderer2.js +1 -1
  437. package/dist/components/logical-search-indicator.js +1 -1
  438. package/dist/components/lookup.js +1 -0
  439. package/dist/components/map-component2.js +1 -1
  440. package/dist/components/map-toolbar2.js +1 -1
  441. package/dist/components/numeric-field2.js +1 -1
  442. package/dist/components/primary-action-header2.js +1 -1
  443. package/dist/components/question-configs-renderer2.js +1 -1
  444. package/dist/components/resource-timeline-calendar.js +1 -1
  445. package/dist/components/resource-timeline-primary-bar2.js +1 -1
  446. package/dist/components/rich-text-schema.js +1 -0
  447. package/dist/components/save-view-form.js +1 -1
  448. package/dist/components/search-list-item2.js +1 -1
  449. package/dist/components/search-method-grid2.js +1 -1
  450. package/dist/components/section-configs-renderer2.js +1 -1
  451. package/dist/components/select-layer-popup2.js +1 -1
  452. package/dist/components/server-side-grid2.js +1 -1
  453. package/dist/components/side-sheet-container2.js +1 -1
  454. package/dist/components/side-sheet2.js +1 -1
  455. package/dist/components/signature-input2.js +1 -1
  456. package/dist/components/signature-renderer2.js +1 -1
  457. package/dist/components/simple-card.js +1 -1
  458. package/dist/components/split-line-popup2.js +1 -1
  459. package/dist/components/status-chip2.js +1 -1
  460. package/dist/components/status-renderer.js +1 -1
  461. package/dist/components/stencil-chip2.js +1 -1
  462. package/dist/components/stencil-form2.js +1 -1
  463. package/dist/components/stencil-toggle2.js +1 -1
  464. package/dist/components/table-aggregates.js +1 -0
  465. package/dist/components/table-columns-renderer2.js +1 -1
  466. package/dist/components/table-input2.js +1 -1
  467. package/dist/components/tally.js +1 -1
  468. package/dist/components/test-components-page.js +1 -1
  469. package/dist/components/test-form2.js +1 -1
  470. package/dist/components/text-area2.js +1 -1
  471. package/dist/components/text-field2.js +1 -1
  472. package/dist/components/text-input-renderer2.js +1 -1
  473. package/dist/components/types.js +1 -1
  474. package/dist/components/udp-adornment2.js +1 -1
  475. package/dist/components/udp-advanced-search-builder.js +1 -1
  476. package/dist/components/udp-ag-area-chart.js +1 -1
  477. package/dist/components/udp-ag-bar-chart2.js +1 -1
  478. package/dist/components/udp-ag-bubble-chart.js +1 -1
  479. package/dist/components/udp-ag-combo-chart.js +1 -1
  480. package/dist/components/udp-ag-donut-chart.js +1 -1
  481. package/dist/components/udp-ag-line-chart.js +1 -1
  482. package/dist/components/udp-ag-pie-chart.js +1 -1
  483. package/dist/components/udp-ag-scatter-chart.js +1 -1
  484. package/dist/components/udp-ambient-card2.js +1 -1
  485. package/dist/components/udp-ambient-tool-tip2.js +1 -1
  486. package/dist/components/udp-attachment-list.js +1 -1
  487. package/dist/components/udp-autocomplete2.js +1 -1
  488. package/dist/components/udp-avatar2.js +1 -1
  489. package/dist/components/udp-badge2.js +1 -1
  490. package/dist/components/udp-bar-chart.js +1 -1
  491. package/dist/components/udp-button2.js +1 -1
  492. package/dist/components/udp-calendar-base2.js +1 -1
  493. package/dist/components/udp-calendar-day.js +1 -1
  494. package/dist/components/udp-calendar-month.js +1 -1
  495. package/dist/components/udp-calendar-week.js +1 -1
  496. package/dist/components/udp-calendar-year.js +1 -1
  497. package/dist/components/udp-card-action-area.js +1 -1
  498. package/dist/components/udp-card-actions2.js +1 -1
  499. package/dist/components/udp-card-content2.js +1 -1
  500. package/dist/components/udp-card-header2.js +1 -1
  501. package/dist/components/udp-card-media2.js +1 -1
  502. package/dist/components/udp-card2.js +1 -1
  503. package/dist/components/udp-charts-example.js +1 -1
  504. package/dist/components/udp-chip2.js +1 -1
  505. package/dist/components/udp-column-header2.js +1 -1
  506. package/dist/components/udp-compound-button2.js +1 -1
  507. package/dist/components/udp-container-query-grid-item.js +1 -1
  508. package/dist/components/udp-container-query-grid2.js +1 -1
  509. package/dist/components/udp-container-query2.js +1 -1
  510. package/dist/components/udp-container2.js +1 -1
  511. package/dist/components/udp-date-range-selector2.js +1 -1
  512. package/dist/components/udp-date-selector2.js +1 -1
  513. package/dist/components/udp-date-time-input2.js +1 -1
  514. package/dist/components/udp-datetime-selector2.js +1 -1
  515. package/dist/components/udp-detail-list-item2.js +1 -1
  516. package/dist/components/udp-dialog2.js +1 -1
  517. package/dist/components/udp-distribution-chart2.js +1 -1
  518. package/dist/components/udp-divider2.js +1 -1
  519. package/dist/components/udp-donut-chart2.js +1 -1
  520. package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
  521. package/dist/components/udp-dynamic-form.js +1 -1
  522. package/dist/components/udp-empty-state-display2.js +1 -1
  523. package/dist/components/udp-empty-state2.js +1 -1
  524. package/dist/components/udp-export-sheet2.js +1 -1
  525. package/dist/components/udp-field2.js +1 -1
  526. package/dist/components/udp-fluent-avatar2.js +1 -1
  527. package/dist/components/udp-fluent-badge2.js +1 -1
  528. package/dist/components/udp-fluent-button2.js +1 -1
  529. package/dist/components/udp-fluent-card2.js +1 -1
  530. package/dist/components/udp-fluent-checkbox2.js +1 -1
  531. package/dist/components/udp-fluent-counter-badge2.js +1 -1
  532. package/dist/components/udp-fluent-dialog2.js +1 -1
  533. package/dist/components/udp-fluent-divider2.js +1 -1
  534. package/dist/components/udp-fluent-domain-table-input.d.ts +11 -0
  535. package/dist/components/udp-fluent-domain-table-input.js +2 -0
  536. package/dist/components/udp-fluent-domain-table-input2.js +1 -0
  537. package/dist/components/udp-fluent-drawer2.js +1 -1
  538. package/dist/components/udp-fluent-dropdown2.js +1 -1
  539. package/dist/components/udp-fluent-file-input2.js +1 -1
  540. package/dist/components/udp-fluent-icon-picker.js +1 -1
  541. package/dist/components/udp-fluent-icon2.js +1 -1
  542. package/dist/components/udp-fluent-image2.js +1 -1
  543. package/dist/components/udp-fluent-inline-edit2.js +1 -1
  544. package/dist/components/udp-fluent-link.js +1 -1
  545. package/dist/components/udp-fluent-list-input2.js +1 -1
  546. package/dist/components/udp-fluent-location-input2.js +1 -1
  547. package/dist/components/udp-fluent-menu2.js +1 -1
  548. package/dist/components/udp-fluent-number-input.js +1 -1
  549. package/dist/components/udp-fluent-number-input2.js +1 -0
  550. package/dist/components/udp-fluent-radio-group2.js +1 -1
  551. package/dist/components/udp-fluent-signature-input2.js +1 -1
  552. package/dist/components/udp-fluent-switch2.js +1 -1
  553. package/dist/components/udp-fluent-table-input2.js +1 -1
  554. package/dist/components/udp-fluent-tablist2.js +1 -1
  555. package/dist/components/udp-fluent-text-input2.js +1 -1
  556. package/dist/components/udp-fluent-toggle-button2.js +1 -1
  557. package/dist/components/udp-form-component2.js +1 -1
  558. package/dist/components/udp-form-version-drawer2.js +1 -1
  559. package/dist/components/udp-forms-builder-menu2.js +1 -1
  560. package/dist/components/udp-forms-builder-question-item2.js +1 -1
  561. package/dist/components/udp-forms-builder-style-override.js +1 -1
  562. package/dist/components/udp-forms-follow-up-list-card.js +1 -1
  563. package/dist/components/udp-forms-list-card2.js +1 -1
  564. package/dist/components/udp-forms-list.js +1 -1
  565. package/dist/components/udp-forms-renderer.js +1 -1
  566. package/dist/components/udp-forms-ui2.js +1 -1
  567. package/dist/components/udp-function-button2.js +1 -1
  568. package/dist/components/udp-grid-loader2.js +1 -1
  569. package/dist/components/udp-hotlist-form2.js +1 -1
  570. package/dist/components/udp-import-sheet.d.ts +11 -0
  571. package/dist/components/udp-import-sheet.js +2 -0
  572. package/dist/components/udp-kpi-card2.js +1 -1
  573. package/dist/components/udp-kpi-cards.js +1 -1
  574. package/dist/components/udp-lazy-loader2.js +1 -1
  575. package/dist/components/udp-line-chart2.js +1 -1
  576. package/dist/components/udp-linear-loader2.js +1 -1
  577. package/dist/components/udp-list-item2.js +1 -1
  578. package/dist/components/udp-list2.js +1 -1
  579. package/dist/components/udp-map-toolbar2.js +1 -1
  580. package/dist/components/udp-map.js +1 -1
  581. package/dist/components/udp-menu-item2.js +1 -1
  582. package/dist/components/udp-menu.js +1 -1
  583. package/dist/components/udp-message-bar2.js +1 -1
  584. package/dist/components/udp-notification2.js +1 -1
  585. package/dist/components/udp-page-header2.js +1 -1
  586. package/dist/components/udp-page.js +1 -1
  587. package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
  588. package/dist/components/udp-pop-over2.js +1 -1
  589. package/dist/components/udp-popover2.js +1 -1
  590. package/dist/components/udp-primary-action-header2.js +1 -1
  591. package/dist/components/udp-progress-bar2.js +1 -1
  592. package/dist/components/udp-question-config-fluent2.js +1 -1
  593. package/dist/components/udp-question-form-builder.js +1 -1
  594. package/dist/components/udp-question-form-renderer2.js +1 -1
  595. package/dist/components/udp-question-tally-adapter2.js +1 -1
  596. package/dist/components/udp-question2.js +1 -1
  597. package/dist/components/udp-radio-button2.js +1 -1
  598. package/dist/components/udp-rich-text-field.js +1 -1
  599. package/dist/components/udp-rich-text.d.ts +11 -0
  600. package/dist/components/udp-rich-text.js +2 -0
  601. package/dist/components/udp-sankey-chart.js +1 -1
  602. package/dist/components/udp-search-input2.js +1 -1
  603. package/dist/components/udp-selector2.js +1 -1
  604. package/dist/components/udp-side-sheet2.js +1 -1
  605. package/dist/components/udp-sidebar-layout2.js +1 -1
  606. package/dist/components/udp-skeleton-loading2.js +1 -1
  607. package/dist/components/udp-slider2.js +1 -1
  608. package/dist/components/udp-spinner2.js +1 -1
  609. package/dist/components/udp-split-screen.js +1 -1
  610. package/dist/components/udp-stepper-actions.js +1 -1
  611. package/dist/components/udp-stepper-content.js +1 -1
  612. package/dist/components/udp-stepper-demo.js +1 -1
  613. package/dist/components/udp-stepper-nav.js +1 -1
  614. package/dist/components/udp-swatch-picker2.js +1 -1
  615. package/dist/components/udp-tab-panel2.js +1 -1
  616. package/dist/components/udp-tab.js +1 -1
  617. package/dist/components/udp-tabs2.js +1 -1
  618. package/dist/components/udp-text2.js +1 -1
  619. package/dist/components/udp-textarea2.js +1 -1
  620. package/dist/components/udp-time-input2.js +1 -1
  621. package/dist/components/udp-time-selector2.js +1 -1
  622. package/dist/components/udp-timeline-connector.js +1 -1
  623. package/dist/components/udp-timeline-dot.js +1 -1
  624. package/dist/components/udp-timeline-item.js +1 -1
  625. package/dist/components/udp-timeline-separator.js +1 -1
  626. package/dist/components/udp-timeline.js +1 -1
  627. package/dist/components/udp-tooltip2.js +1 -1
  628. package/dist/components/udp-tree2.js +1 -1
  629. package/dist/components/udp-vertical-spacer2.js +1 -1
  630. package/dist/components/udp-vertical-timeline-connector.js +1 -1
  631. package/dist/components/udp-vertical-timeline-dot.js +1 -1
  632. package/dist/components/udp-vertical-timeline-item.js +1 -1
  633. package/dist/components/udp-vertical-timeline-separator.js +1 -1
  634. package/dist/components/udp-vertical-timeline.js +1 -1
  635. package/dist/components/udp-xy-chart2.js +1 -1
  636. package/dist/components/udp-xy-multi-series-chart.js +1 -1
  637. package/dist/components/upd-alert-banner2.js +1 -1
  638. package/dist/docs.json +1805 -112
  639. package/dist/esm/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
  640. package/dist/esm/add-map-feature-popup_4.entry.js +8 -8
  641. package/dist/esm/address-search_6.entry.js +19 -19
  642. package/dist/esm/advanced-search_12.entry.js +20 -20
  643. package/dist/esm/{ag-grid-base_65.entry.js → ag-grid-base_66.entry.js} +450 -176
  644. package/dist/esm/ambient-template-grid.entry.js +20 -20
  645. package/dist/esm/api-method-instance-grid.entry.js +10 -9
  646. package/dist/esm/{apiMethodInstance-BunReWfq.js → apiMethodInstance-qaGbXDNr.js} +2 -31
  647. package/dist/esm/{apiUtils-Cq-WuEqc.js → apiUtils-CXqsYwOQ.js} +29 -28
  648. package/dist/esm/app-bar.entry.js +1 -1
  649. package/dist/esm/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
  650. package/dist/esm/chart-container_3.entry.js +2 -2
  651. package/dist/esm/check-box.entry.js +2 -2
  652. package/dist/esm/chip-section.entry.js +2 -2
  653. package/dist/esm/{codecs-CI_fHfY1.js → codecs-BWyrM561.js} +400 -9
  654. package/dist/esm/{configService-D_9j963S.js → configService-CehZzjhw.js} +0 -4
  655. package/dist/esm/{configureUdpColumnMods-UWccWlH6.js → configureUdpColumnMods-bMO0_--H.js} +23 -7
  656. package/dist/esm/convertBackendTypeToAgGridType-B8xfl_wR.js +31 -0
  657. package/dist/esm/{createAzureMapsProviders-CLLCmr8f.js → createAzureMapsProviders-CtQryp1H.js} +13 -1
  658. package/dist/esm/custom-button.entry.js +1 -1
  659. package/dist/esm/date-time-renderer_9.entry.js +21 -21
  660. package/dist/esm/domain-table-snapshot-H3o5mjFB.js +331 -0
  661. package/dist/esm/extraFields-Cnpy_Bm7.js +97 -0
  662. package/dist/esm/extraFieldsHelper-CaBMA4HJ.js +205 -0
  663. package/dist/esm/feature-details-card_2.entry.js +5 -5
  664. package/dist/esm/file-upload_2.entry.js +7 -7
  665. package/dist/esm/filter-conditions_7.entry.js +7 -7
  666. package/dist/esm/{fluent-icons-pWFJyrRm.js → fluent-icons-wRyOZqj2.js} +20 -0
  667. package/dist/esm/form-metadata-display_2.entry.js +3 -3
  668. package/dist/esm/getCurrentApiCatalogId-DeurXd9l.js +5 -0
  669. package/dist/esm/icon-grid.entry.js +2 -2
  670. package/dist/esm/image-upload_8.entry.js +7 -7
  671. package/dist/esm/index-15aY63VA.js +12 -8
  672. package/dist/esm/index.js +13 -22
  673. package/dist/esm/{load-icons-BHSNRRRA.js → load-icons-D2ZhiHp6.js} +1 -1
  674. package/dist/esm/loader.js +1 -1
  675. package/dist/esm/logical-search-indicator.entry.js +1 -1
  676. package/dist/esm/lookupHelper-D3LSjaES.js +682 -0
  677. package/dist/esm/map-component_2.entry.js +2 -2
  678. package/dist/esm/primary-action-header_2.entry.js +4 -4
  679. package/dist/esm/question-configs-renderer_4.entry.js +15 -15
  680. package/dist/esm/resource-timeline-calendar.entry.js +1 -1
  681. package/dist/esm/resource-timeline-primary-bar.entry.js +3 -3
  682. package/dist/esm/rich-text-schema-DCUYo610.js +42 -0
  683. package/dist/esm/search-method-grid.entry.js +120 -263
  684. package/dist/esm/server-side-grid.entry.js +85 -3
  685. package/dist/esm/side-sheet-container.entry.js +1 -1
  686. package/dist/esm/simple-card.entry.js +1 -1
  687. package/dist/esm/status-chip_2.entry.js +2 -2
  688. package/dist/esm/{status-renderer-BoY7sar9.js → status-renderer-Evo0rTNU.js} +83 -55
  689. package/dist/esm/stencil-chip.entry.js +2 -2
  690. package/dist/esm/stencil-library.js +1 -1
  691. package/dist/esm/stencil-toggle.entry.js +4 -4
  692. package/dist/esm/text-field_2.entry.js +7 -7
  693. package/dist/esm/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
  694. package/dist/esm/udp-adornment.entry.js +1 -1
  695. package/dist/esm/udp-advanced-search-builder.entry.js +102 -5
  696. package/dist/esm/udp-advanced-search-field-picker_3.entry.js +3 -3
  697. package/dist/esm/udp-ag-area-chart.entry.js +2 -2
  698. package/dist/esm/udp-ag-bar-chart_4.entry.js +5 -5
  699. package/dist/esm/udp-ag-bubble-chart.entry.js +2 -2
  700. package/dist/esm/udp-ag-combo-chart.entry.js +2 -2
  701. package/dist/esm/udp-ag-donut-chart.entry.js +2 -2
  702. package/dist/esm/udp-ag-line-chart.entry.js +2 -2
  703. package/dist/esm/udp-ag-pie-chart.entry.js +2 -2
  704. package/dist/esm/udp-ag-scatter-chart.entry.js +2 -2
  705. package/dist/esm/udp-attachment-item_2.entry.js +1 -1
  706. package/dist/esm/udp-attachment-list.entry.js +1 -1
  707. package/dist/esm/udp-bar-chart.entry.js +1 -1
  708. package/dist/esm/udp-calendar-base.entry.js +1 -1
  709. package/dist/esm/udp-calendar-day.entry.js +1 -1
  710. package/dist/esm/udp-calendar-month.entry.js +1 -1
  711. package/dist/esm/udp-calendar-week.entry.js +1 -1
  712. package/dist/esm/udp-calendar-year.entry.js +1 -1
  713. package/dist/esm/udp-card-action-area.entry.js +1 -1
  714. package/dist/esm/udp-card_6.entry.js +7 -7
  715. package/dist/esm/udp-charts-example.entry.js +1 -1
  716. package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
  717. package/dist/esm/udp-container-query-grid.entry.js +1 -1
  718. package/dist/esm/udp-container-query.entry.js +2 -2
  719. package/dist/esm/udp-container.entry.js +2 -2
  720. package/dist/esm/{udp-detail-list_9.entry.js → udp-detail-list_10.entry.js} +606 -74
  721. package/dist/esm/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
  722. package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
  723. package/dist/esm/udp-dynamic-form.entry.js +1 -1
  724. package/dist/esm/udp-fluent-icon-picker.entry.js +2 -2
  725. package/dist/esm/udp-fluent-inline-edit_5.entry.js +491 -42
  726. package/dist/esm/udp-fluent-link.entry.js +1 -1
  727. package/dist/esm/udp-fluent-list-item_2.entry.js +3 -3
  728. package/dist/esm/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
  729. package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
  730. package/dist/esm/udp-forms-builder.entry.js +1 -1
  731. package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -2
  732. package/dist/esm/udp-forms-list-card.entry.js +4 -4
  733. package/dist/esm/udp-forms-list.entry.js +3 -3
  734. package/dist/esm/udp-forms-renderer.entry.js +4 -4
  735. package/dist/esm/udp-import-sheet.entry.js +242 -0
  736. package/dist/esm/udp-kpi-card.entry.js +1 -1
  737. package/dist/esm/udp-kpi-cards.entry.js +2 -2
  738. package/dist/esm/udp-map.entry.js +3 -3
  739. package/dist/esm/udp-menu.entry.js +1 -1
  740. package/dist/esm/udp-page.entry.js +1 -1
  741. package/dist/esm/udp-question-form-builder.entry.js +28 -251
  742. package/dist/esm/udp-rich-text-field.entry.js +28 -39
  743. package/dist/esm/udp-rich-text.entry.js +59 -0
  744. package/dist/esm/udp-sankey-chart.entry.js +1 -1
  745. package/dist/esm/udp-sidebar-layout.entry.js +3 -3
  746. package/dist/esm/udp-skeleton-loading.entry.js +1 -1
  747. package/dist/esm/udp-split-screen.entry.js +1 -1
  748. package/dist/esm/udp-stepper-actions.entry.js +1 -1
  749. package/dist/esm/udp-stepper-content.entry.js +2 -2
  750. package/dist/esm/udp-stepper-demo.entry.js +1 -1
  751. package/dist/esm/udp-stepper-nav.entry.js +1 -1
  752. package/dist/esm/udp-tab.entry.js +1 -1
  753. package/dist/esm/udp-timeline-connector.entry.js +1 -1
  754. package/dist/esm/udp-timeline-dot.entry.js +1 -1
  755. package/dist/esm/udp-timeline-item.entry.js +2 -2
  756. package/dist/esm/udp-timeline-separator.entry.js +1 -1
  757. package/dist/esm/udp-timeline.entry.js +1 -1
  758. package/dist/esm/udp-vertical-timeline-connector.entry.js +1 -1
  759. package/dist/esm/udp-vertical-timeline-dot.entry.js +1 -1
  760. package/dist/esm/udp-vertical-timeline-item.entry.js +2 -2
  761. package/dist/esm/udp-vertical-timeline-separator.entry.js +1 -1
  762. package/dist/esm/udp-vertical-timeline.entry.js +1 -1
  763. package/dist/esm/udp-xy-chart.entry.js +1 -1
  764. package/dist/esm/udp-xy-multi-series-chart.entry.js +1 -1
  765. package/dist/esm/valueFormatters-BbY_Q8IE.js +15 -0
  766. package/dist/stencil-library/{SearchBuilder-BmqrJvtz.js → SearchBuilder-BxLXFEeR.js} +1 -1
  767. package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
  768. package/dist/stencil-library/address-search_6.entry.js +1 -1
  769. package/dist/stencil-library/advanced-search_12.entry.js +1 -1
  770. package/dist/stencil-library/ag-grid-base_66.entry.js +1 -0
  771. package/dist/stencil-library/ambient-template-grid.entry.js +1 -1
  772. package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
  773. package/dist/stencil-library/apiMethodInstance-qaGbXDNr.js +1 -0
  774. package/dist/stencil-library/apiUtils-CXqsYwOQ.js +1 -0
  775. package/dist/stencil-library/app-bar.entry.js +1 -1
  776. package/dist/stencil-library/{catalog-store-CLsDGUEl.js → catalog-store-BOpo_zaC.js} +1 -1
  777. package/dist/stencil-library/chart-container_3.entry.js +1 -1
  778. package/dist/stencil-library/check-box.entry.js +1 -1
  779. package/dist/stencil-library/chip-section.entry.js +1 -1
  780. package/dist/stencil-library/codecs-BWyrM561.js +1 -0
  781. package/dist/stencil-library/configService-CehZzjhw.js +1 -0
  782. package/dist/stencil-library/configureUdpColumnMods-bMO0_--H.js +1 -0
  783. package/dist/stencil-library/convertBackendTypeToAgGridType-B8xfl_wR.js +1 -0
  784. package/dist/stencil-library/createAzureMapsProviders-CtQryp1H.js +1 -0
  785. package/dist/stencil-library/custom-button.entry.js +1 -1
  786. package/dist/stencil-library/date-time-renderer_9.entry.js +1 -1
  787. package/dist/stencil-library/domain-table-snapshot-H3o5mjFB.js +1 -0
  788. package/dist/stencil-library/extraFields-Cnpy_Bm7.js +1 -0
  789. package/dist/stencil-library/extraFieldsHelper-CaBMA4HJ.js +1 -0
  790. package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
  791. package/dist/stencil-library/file-upload_2.entry.js +1 -1
  792. package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
  793. package/dist/stencil-library/fluent-icons-wRyOZqj2.js +1 -0
  794. package/dist/stencil-library/form-metadata-display_2.entry.js +1 -1
  795. package/dist/stencil-library/getCurrentApiCatalogId-DeurXd9l.js +1 -0
  796. package/dist/stencil-library/icon-grid.entry.js +1 -1
  797. package/dist/stencil-library/image-upload_8.entry.js +1 -1
  798. package/dist/stencil-library/index.esm.js +1 -1
  799. package/dist/stencil-library/load-icons-D2ZhiHp6.js +1 -0
  800. package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
  801. package/dist/stencil-library/lookupHelper-D3LSjaES.js +1 -0
  802. package/dist/stencil-library/map-component_2.entry.js +1 -1
  803. package/dist/stencil-library/primary-action-header_2.entry.js +1 -1
  804. package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
  805. package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
  806. package/dist/stencil-library/resource-timeline-primary-bar.entry.js +1 -1
  807. package/dist/stencil-library/rich-text-schema-DCUYo610.js +1 -0
  808. package/dist/stencil-library/search-method-grid.entry.js +1 -1
  809. package/dist/stencil-library/server-side-grid.entry.js +1 -1
  810. package/dist/stencil-library/side-sheet-container.entry.js +1 -1
  811. package/dist/stencil-library/simple-card.entry.js +1 -1
  812. package/dist/stencil-library/status-chip_2.entry.js +1 -1
  813. package/dist/stencil-library/status-renderer-Evo0rTNU.js +1 -0
  814. package/dist/stencil-library/stencil-chip.entry.js +1 -1
  815. package/dist/stencil-library/stencil-library.esm.js +1 -1
  816. package/dist/stencil-library/stencil-toggle.entry.js +1 -1
  817. package/dist/stencil-library/text-field_2.entry.js +1 -1
  818. package/dist/stencil-library/{types-C9Z-dgvN.js → types-NqFGtWPW.js} +1 -1
  819. package/dist/stencil-library/udp-adornment.entry.js +1 -1
  820. package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -1
  821. package/dist/stencil-library/udp-advanced-search-field-picker_3.entry.js +1 -1
  822. package/dist/stencil-library/udp-ag-area-chart.entry.js +1 -1
  823. package/dist/stencil-library/udp-ag-bar-chart_4.entry.js +1 -1
  824. package/dist/stencil-library/udp-ag-bubble-chart.entry.js +1 -1
  825. package/dist/stencil-library/udp-ag-combo-chart.entry.js +1 -1
  826. package/dist/stencil-library/udp-ag-donut-chart.entry.js +1 -1
  827. package/dist/stencil-library/udp-ag-line-chart.entry.js +1 -1
  828. package/dist/stencil-library/udp-ag-pie-chart.entry.js +1 -1
  829. package/dist/stencil-library/udp-ag-scatter-chart.entry.js +1 -1
  830. package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
  831. package/dist/stencil-library/udp-attachment-list.entry.js +1 -1
  832. package/dist/stencil-library/udp-bar-chart.entry.js +1 -1
  833. package/dist/stencil-library/udp-calendar-base.entry.js +1 -1
  834. package/dist/stencil-library/udp-calendar-day.entry.js +1 -1
  835. package/dist/stencil-library/udp-calendar-month.entry.js +1 -1
  836. package/dist/stencil-library/udp-calendar-week.entry.js +1 -1
  837. package/dist/stencil-library/udp-calendar-year.entry.js +1 -1
  838. package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
  839. package/dist/stencil-library/udp-card_6.entry.js +1 -1
  840. package/dist/stencil-library/udp-charts-example.entry.js +1 -1
  841. package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
  842. package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
  843. package/dist/stencil-library/udp-container-query.entry.js +1 -1
  844. package/dist/stencil-library/udp-container.entry.js +1 -1
  845. package/dist/stencil-library/udp-detail-list_10.entry.js +1 -0
  846. package/dist/stencil-library/{udp-drive-utils-DCivw3gq.js → udp-drive-utils-BVTuKAND.js} +1 -1
  847. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
  848. package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
  849. package/dist/stencil-library/udp-fluent-icon-picker.entry.js +1 -1
  850. package/dist/stencil-library/udp-fluent-inline-edit_5.entry.js +1 -1
  851. package/dist/stencil-library/udp-fluent-link.entry.js +1 -1
  852. package/dist/stencil-library/udp-fluent-list-item_2.entry.js +1 -1
  853. package/dist/stencil-library/{udp-form-api-utils-HJ_eUZkX.js → udp-form-api-utils-Bq7Txu0h.js} +1 -1
  854. package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
  855. package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
  856. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
  857. package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
  858. package/dist/stencil-library/udp-forms-list.entry.js +1 -1
  859. package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
  860. package/dist/stencil-library/udp-import-sheet.entry.js +1 -0
  861. package/dist/stencil-library/udp-kpi-card.entry.js +1 -1
  862. package/dist/stencil-library/udp-kpi-cards.entry.js +1 -1
  863. package/dist/stencil-library/udp-map.entry.js +1 -1
  864. package/dist/stencil-library/udp-menu.entry.js +1 -1
  865. package/dist/stencil-library/udp-page.entry.js +1 -1
  866. package/dist/stencil-library/udp-question-form-builder.entry.js +1 -1
  867. package/dist/stencil-library/udp-rich-text-field.entry.js +1 -1
  868. package/dist/stencil-library/udp-rich-text.entry.js +1 -0
  869. package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
  870. package/dist/stencil-library/udp-sidebar-layout.entry.js +1 -1
  871. package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
  872. package/dist/stencil-library/udp-split-screen.entry.js +1 -1
  873. package/dist/stencil-library/udp-stepper-actions.entry.js +1 -1
  874. package/dist/stencil-library/udp-stepper-content.entry.js +1 -1
  875. package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
  876. package/dist/stencil-library/udp-stepper-nav.entry.js +1 -1
  877. package/dist/stencil-library/udp-tab.entry.js +1 -1
  878. package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
  879. package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
  880. package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
  881. package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
  882. package/dist/stencil-library/udp-timeline.entry.js +1 -1
  883. package/dist/stencil-library/udp-vertical-timeline-connector.entry.js +1 -1
  884. package/dist/stencil-library/udp-vertical-timeline-dot.entry.js +1 -1
  885. package/dist/stencil-library/udp-vertical-timeline-item.entry.js +1 -1
  886. package/dist/stencil-library/udp-vertical-timeline-separator.entry.js +1 -1
  887. package/dist/stencil-library/udp-vertical-timeline.entry.js +1 -1
  888. package/dist/stencil-library/udp-xy-chart.entry.js +1 -1
  889. package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
  890. package/dist/stencil-library/valueFormatters-BbY_Q8IE.js +1 -0
  891. package/dist/types/components/advanced-search-builder/udp-advanced-search-builder.d.ts +25 -0
  892. package/dist/types/components/fluent-ui/button/udp-fluent-button.d.ts +5 -0
  893. package/dist/types/components/fluent-ui/domain-table-input/domain-table-snapshot.d.ts +32 -0
  894. package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.d.ts +137 -0
  895. package/dist/types/components/fluent-ui/domain-table-input/udp-fluent-domain-table-input.types.d.ts +46 -0
  896. package/dist/types/components/fluent-ui/drawer/udp-fluent-drawer.d.ts +5 -0
  897. package/dist/types/components/fluent-ui/dropdown/udp-fluent-dropdown.d.ts +12 -1
  898. package/dist/types/components/fluent-ui/radio-group/udp-fluent-radio-group.d.ts +6 -0
  899. package/dist/types/components/fluent-ui/rich-text/udp-rich-text.d.ts +19 -0
  900. package/dist/types/components/fluent-ui/rich-text-field/rich-text-schema.d.ts +6 -0
  901. package/dist/types/components/fluent-ui/table-input/table-aggregates.d.ts +16 -0
  902. package/dist/types/components/fluent-ui/table-input/udp-fluent-table-input.d.ts +0 -8
  903. package/dist/types/components/fluent-ui/tablist/udp-fluent-tablist.d.ts +3 -0
  904. package/dist/types/components/forms/udp-question-form/__forms-harness__/fixtures/table-domain.fixtures.d.ts +22 -0
  905. package/dist/types/components/forms/udp-question-form/builder/components/configure-question-drawer.d.ts +2 -1
  906. package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/typeSpecific/DomainTableConfig.d.ts +2 -0
  907. package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/types.d.ts +17 -0
  908. package/dist/types/components/forms/udp-question-form/builder/components/questionConfig/udp-question-config-fluent.d.ts +9 -0
  909. package/dist/types/components/forms/udp-question-form/builder/udp-question-form-builder.d.ts +1 -0
  910. package/dist/types/components/forms/udp-question-form/builder/utils/builder-api.d.ts +37 -0
  911. package/dist/types/components/forms/udp-question-form/core/field-properties-schemas/per-type/table.d.ts +5 -0
  912. package/dist/types/components/forms/udp-question-form/core/field-properties.d.ts +31 -1
  913. package/dist/types/components/forms/udp-question-form/core/validation/intrinsic.d.ts +15 -3
  914. package/dist/types/components/forms/udp-question-form/renderer/runtime/codecs.d.ts +12 -1
  915. package/dist/types/components/forms/udp-question-form/renderer/runtime/domain-table-snapshot.d.ts +20 -0
  916. package/dist/types/components/forms/udp-question-form/renderer/runtime/index.d.ts +1 -0
  917. package/dist/types/components/forms/udp-question-form/renderer/udp-question-form-renderer.d.ts +9 -0
  918. package/dist/types/components/forms/udp-question-form/renderer/ui/form-shell.d.ts +3 -0
  919. package/dist/types/components/forms/udp-question-form/renderer/ui/question-renderer.d.ts +7 -0
  920. package/dist/types/components/grid/new-grid/ag-grid-base.d.ts +3 -1
  921. package/dist/types/components/grid/new-grid/api-method-instance-grid.d.ts +9 -1
  922. package/dist/types/components/grid/new-grid/client-side-grid.d.ts +3 -1
  923. package/dist/types/components/grid/new-grid/datasources/searchMethodDatasource.d.ts +3 -0
  924. package/dist/types/components/grid/new-grid/gridFunctions/advancedSearch.d.ts +6 -3
  925. package/dist/types/components/grid/new-grid/gridFunctions/savedViews.d.ts +1 -0
  926. package/dist/types/components/grid/new-grid/gridFunctions/udpExport.d.ts +6 -0
  927. package/dist/types/components/grid/new-grid/helperFunctions/buildSearchObject.d.ts +13 -3
  928. package/dist/types/components/grid/new-grid/helperFunctions/domainRowsHelper.d.ts +60 -0
  929. package/dist/types/components/grid/new-grid/helperFunctions/extraFieldsHelper.d.ts +49 -0
  930. package/dist/types/components/grid/new-grid/helperFunctions/lookupHelper.d.ts +57 -0
  931. package/dist/types/components/grid/new-grid/helperFunctions/savedViewsHelpers.d.ts +2 -0
  932. package/dist/types/components/grid/new-grid/search-method-grid.d.ts +35 -1
  933. package/dist/types/components/grid/new-grid/server-side-grid.d.ts +27 -1
  934. package/dist/types/components/grid/renderers/actions-renderer.d.ts +15 -0
  935. package/dist/types/components/grid/renderers/input-renderer.d.ts +36 -0
  936. package/dist/types/components/import/udp-import-sheet/udp-import-sheet.d.ts +85 -0
  937. package/dist/types/components.d.ts +411 -12
  938. package/dist/types/icons/fluent-icons.d.ts +1 -1
  939. package/dist/types/index.d.ts +3 -0
  940. package/dist/types/store/execution-store.d.ts +4 -5
  941. package/dist/types/udp-utilities/api-config/configService.d.ts +0 -2
  942. package/dist/types/udp-utilities/extra-fields/extraFields.d.ts +105 -0
  943. package/dist/types/udp-utilities/extra-fields/index.d.ts +1 -0
  944. package/dist/types/udp-utilities/search/searchObject.d.ts +2 -0
  945. package/package.json +3 -3
  946. package/dist/cjs/lookupHelper-ClpMWN_g.js +0 -101
  947. package/dist/cjs/searchObjectHelper-DYpPEIzz.js +0 -110
  948. package/dist/cjs/slot-index-Dzl7Zum5.js +0 -77
  949. package/dist/cjs/udp-fluent-number-input.cjs.entry.js +0 -146
  950. package/dist/esm/lookupHelper-CSo9DNLr.js +0 -96
  951. package/dist/esm/searchObjectHelper-BjA6OHxg.js +0 -107
  952. package/dist/esm/slot-index-aYrr8BJl.js +0 -74
  953. package/dist/esm/udp-fluent-number-input.entry.js +0 -144
  954. package/dist/stencil-library/ag-grid-base_65.entry.js +0 -1
  955. package/dist/stencil-library/apiMethodInstance-BunReWfq.js +0 -1
  956. package/dist/stencil-library/apiUtils-Cq-WuEqc.js +0 -1
  957. package/dist/stencil-library/codecs-CI_fHfY1.js +0 -1
  958. package/dist/stencil-library/configService-D_9j963S.js +0 -1
  959. package/dist/stencil-library/configureUdpColumnMods-UWccWlH6.js +0 -1
  960. package/dist/stencil-library/createAzureMapsProviders-CLLCmr8f.js +0 -1
  961. package/dist/stencil-library/fluent-icons-pWFJyrRm.js +0 -1
  962. package/dist/stencil-library/load-icons-BHSNRRRA.js +0 -1
  963. package/dist/stencil-library/lookupHelper-CSo9DNLr.js +0 -1
  964. package/dist/stencil-library/searchObjectHelper-BjA6OHxg.js +0 -1
  965. package/dist/stencil-library/slot-index-aYrr8BJl.js +0 -1
  966. package/dist/stencil-library/status-renderer-BoY7sar9.js +0 -1
  967. package/dist/stencil-library/udp-detail-list_9.entry.js +0 -1
  968. package/dist/stencil-library/udp-fluent-number-input.entry.js +0 -1
@@ -1 +0,0 @@
1
- let l=null;const n=()=>null!=l?l:l=import("./fluent-icons-pWFJyrRm.js");export{n as l}
@@ -1 +0,0 @@
1
- import{H as n,y as t}from"./apiUtils-Cq-WuEqc.js";function a(){return sessionStorage.getItem("current-api-catalog-id")}const o=new Map,r=new Map;async function e(e){const i=o.get(e);if(i)return i;const u=r.get(e);if(void 0!==u)return u;const s=(async()=>{var i,u;const s={keys:[],valueName:"",valueMap:new Map};try{const r=null===(u=null===(i=await n(a()))||void 0===i?void 0:i.unityBaseGetDataMethod)||void 0===u?void 0:u.apiMethodId;if(!r)return s;const c=await t({data:{id:e}},r);let{keyName:l,udpLookupUdpLookupKey:p,valueName:v,data:f}=null!=c?c:{};if(!f||!l&&!p||!v)return s;l&&(p=[{name:l}]);const d=p,y=new Map(f.map((n=>[new Map(d.map((t=>[t.name,String(n[t.name])]))),n[v]]))),w={keys:p,valueName:v,valueMap:y};return o.set(e,w),w}catch(n){return s}finally{r.delete(e)}})();return r.set(e,s),s}function i(n){return o.get(n)}async function u(n,t){if(!(null==n?void 0:n.length))return n;const a=new Map,r=new Set;return t.forEach((n=>{var t;const o=null===(t=null==n?void 0:n.context)||void 0===t?void 0:t.lookupId;o&&"string"==typeof o&&n.field&&(a.set(n.field,o),r.add(o))})),0===r.size?n:(await Promise.all(Array.from(r).map((n=>e(n)))),n.map((n=>{var t;const r=Object.assign({},n);for(const[n,e]of a.entries()){const a=o.get(e);if(!(null==a?void 0:a.valueMap))continue;const i=null!==(t=a.keys)&&void 0!==t?t:[];for(const[t,o]of a.valueMap.entries())if(1===i.length?String(t.get(i[0].name))===String(r[n]):i.every((n=>String(t.get(n.name))===String(r[n.name])))){r[n+"LookupValue"]=o;break}}return r})))}export{i as a,e as b,a as g,u as p}
@@ -1 +0,0 @@
1
- import{L as o}from"./searchObject-DpUZkcYC.js";function l(l,r){var t,e,n,i,u,c,d;if(!l||!r||!(null===(t=r.filterElements)||void 0===t?void 0:t.length))return l;const a=[...(null===(e=l.filterGroups)||void 0===e?void 0:e.map((o=>o.groupId)))||[],...(null===(n=r.filterGroups)||void 0===n?void 0:n.map((o=>o.groupId)))||[]],p=a.length>0?Math.max(...a):0,v=p+1,s=p+2,f={groupId:v,logicalSearchOperator:l.logicalSearchOperator||o.AND,parentGroupId:null},O={groupId:s,logicalSearchOperator:r.logicalSearchOperator||o.AND,parentGroupId:null},j=(null===(i=l.filterElements)||void 0===i?void 0:i.map((o=>Object.assign(Object.assign({},o),{groupId:v}))))||[],b=(null===(u=l.filterGroups)||void 0===u?void 0:u.map((o=>Object.assign(Object.assign({},o),{parentGroupId:v}))))||[],g=(null===(c=r.filterElements)||void 0===c?void 0:c.map((o=>Object.assign(Object.assign({},o),{groupId:s}))))||[],I=(null===(d=r.filterGroups)||void 0===d?void 0:d.map((o=>Object.assign(Object.assign({},o),{parentGroupId:s}))))||[];return Object.assign(Object.assign({},l),{logicalSearchOperator:o.AND,filterElements:[...j,...g],filterGroups:[...b,...I,f,O]})}function r(l){var r,t,e,n,i,u,c;const d=l.filter((o=>{var l,r,t,e;return(null!==(r=null===(l=null==o?void 0:o.filterElements)||void 0===l?void 0:l.length)&&void 0!==r?r:0)>0||(null!==(e=null===(t=null==o?void 0:o.filterGroups)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>0}));if(0===d.length)return{filterElements:[],filterGroups:[],logicalSearchOperator:o.AND};if(1===d.length){const l=d[0];return{filterElements:[...null!==(r=l.filterElements)&&void 0!==r?r:[]],filterGroups:[...null!==(t=l.filterGroups)&&void 0!==t?t:[]],logicalSearchOperator:l.logicalSearchOperator||o.AND}}const a=[],p=[];let v=1;for(const l of d){const r=v++;p.push({groupId:r,logicalSearchOperator:l.logicalSearchOperator||o.AND,parentGroupId:null});const t=new Map;for(const o of null!==(e=l.filterGroups)&&void 0!==e?e:[])t.set(o.groupId,v++);for(const o of null!==(n=l.filterGroups)&&void 0!==n?n:[])p.push(Object.assign(Object.assign({},o),{groupId:t.get(o.groupId),parentGroupId:null==o.parentGroupId?r:null!==(i=t.get(o.parentGroupId))&&void 0!==i?i:r}));for(const o of null!==(u=l.filterElements)&&void 0!==u?u:[])a.push(Object.assign(Object.assign({},o),{groupId:null==o.groupId?r:null!==(c=t.get(o.groupId))&&void 0!==c?c:r}))}return{filterElements:a,filterGroups:p,logicalSearchOperator:o.AND}}export{r as c,l as m}
@@ -1 +0,0 @@
1
- function n(n){return n.replace(/_\d+$/,"")}const e="\0",o=new WeakMap;function s(n){const s=o.get(n);if(s)return s;const t=function(n){const o=new Map,s=new Map;for(const t of n.sections)if(t.name)for(const n of t.questions){if(!n.name)continue;o.set(`${t.name}${e}${n.name}`,n);const i=`${t.name.toLowerCase()}${e}${n.name.toLowerCase()}`;s.has(i)?console.warn(`[udp-question-form] Slot collision under lowercased key "${i.replace(e,".")}". Two questions share the same case-insensitive slot path; URL seeds and other case-insensitive lookups will land on the first-indexed question.`):s.set(i,n)}return{byExact:(n,s)=>o.get(`${n}${e}${s}`),byLowercased:(n,o)=>s.get(`${n.toLowerCase()}${e}${o.toLowerCase()}`)}}(n);return o.set(n,t),t}export{s as g,n as s}
@@ -1 +0,0 @@
1
- class n{constructor(){this.actionList=[]}init(n){this.eGui=document.createElement("div"),this.eGui.style.cssText="display: flex;\n width: 100%;\n height: 100%;\n gap: 4px;\n justify-content: start;\n align-items: center;\n ",this.render(n)}render(n){if(this.eGui.innerHTML="",!(null==n?void 0:n.hideActions)||!(null==n?void 0:n.hideActions(null==n?void 0:n.node)))if(this.actionList=((null==n?void 0:n.actionList)||[]).filter((t=>{var i;return(null==t?void 0:t.visibleAction)?t.visibleAction(n.node):null===(i=null==t?void 0:t.visible)||void 0===i||i})),this.actionList.length<=5)this.actionList.forEach((t=>{this.eGui.appendChild(this.createIconButton(t,n))}));else{const t=this.actionList.slice(0,4),i=this.actionList.slice(4);t.forEach((t=>{this.eGui.appendChild(this.createIconButton(t,n))}));const r=i.map((t=>{var i;return{text:(null==t?void 0:t.getTitle)?t.getTitle(n.node):t.title,startIconName:(null==t?void 0:t.getIconName)?t.getIconName(n.node):t.iconName,disabled:(null==t?void 0:t.checkDisabled)?t.checkDisabled(n.node):null!==(i=t.disabled)&&void 0!==i&&i,onClick:()=>t.handleOnClick(new MouseEvent("click"),n.node)}})),o=document.createElement("udp-fluent-menu");o.buttonType="icon",o.endIconName="overflowMenuVertical",o.appearance="transparent",o.size="medium",o.shape="circular",o.items=r,o.onclick=n=>n.stopPropagation(),this.eGui.appendChild(o)}}createIconButton(n,t){var i;const r=(null==n?void 0:n.checkDisabled)?n.checkDisabled(t.node):null!==(i=n.disabled)&&void 0!==i&&i,o=(null==n?void 0:n.getTitle)?n.getTitle(t.node):n.title,e=(null==n?void 0:n.getIconName)?n.getIconName(t.node):n.iconName,s=document.createElement("udp-fluent-icon-button");s.id=n.id.toString(),s.iconName=e,s.ariaLabel=o,s.disabled=r,s.size="medium",s.appearance="transparent",s.onclick=i=>{i.stopPropagation(),n.handleOnClick(i,t.node)};const u=document.createElement("udp-tooltip");return u.content=o,u.delay=0,u.appendChild(s),u}getGui(){return this.eGui}refresh(n){return((null==n?void 0:n.actionList)||[]).filter((t=>{var i;return(null==t?void 0:t.visibleAction)?t.visibleAction(n.node):null===(i=null==t?void 0:t.visible)||void 0===i||i})).length!==this.actionList.length&&(this.render(n),setTimeout((()=>n.api.autoSizeColumns([n.column.getColId()])),0)),!0}}const t={success:"var(--colorStatusSuccessForeground1)",error:"var(--colorStatusDangerForeground1)",warning:"var(--colorStatusWarningForeground1)",info:"var(--colorBrandForeground1)",primary:"var(--colorBrandForeground1)",secondary:"var(--colorNeutralForeground2)"};class i{init(n){var i,r,o;this.eGui=document.createElement("div"),this.eGui.style.cssText="display: flex;\n width: 100%;\n height: 100%;\n gap: 8px;\n justify-content: start;\n align-items: center;\n ";const e=n.getIconConfig?n.getIconConfig(n):null!==(r=null===(i=n.iconMappingConfig)||void 0===i?void 0:i[n.value])&&void 0!==r?r:null;if(!e)return;const s=document.createElement("udp-fluent-icon");if(s.name=e.iconName,s.size="sm",s.color=null!==(o=t[e.color])&&void 0!==o?o:e.color,this.eGui.appendChild(s),e.label){const n=document.createElement("p");n.innerHTML=e.label,n.style.cssText="margin: 0px",this.eGui.appendChild(n)}}getGui(){return this.eGui}refresh(){return!1}}const r={error:"danger",warning:"warning",success:"success",info:"informative",primary:"brand",secondary:"subtle",monochrome:"subtle",gray:"subtle"};class o{constructor(){this.statusMappingClasses={error:"error",warning:"warning",success:"success",info:"info"}}init(n){var t;this.eGui=document.createElement("div"),this.eGui.style.cssText="display: flex; height: 100%; align-items: center; gap: 8px;",null!==(null==n?void 0:n.statusMappingConfig)&&(this.statusMappingClasses=null==n?void 0:n.statusMappingConfig);const i=document.createElement("udp-fluent-badge");let o,e,s,u;if(n.getStatusConfig){const t=n.getStatusConfig(n);if(!t)return;o=t.label,e=t.color,s=t.prefixText,u=t.suffixText}else{const t=(null==n?void 0:n.getStatusValue)?null==n?void 0:n.getStatusValue(null==n?void 0:n.node):n.value;if(!t)return;o=t,e=this.statusMappingClasses[t],s=n.prefixText,u=n.suffixText}if(s){const n=document.createElement("p");n.textContent=s,n.style.cssText="margin: 0px",this.eGui.appendChild(n)}if(o&&(i.appearance="tint",i.shape="circular",i.size="large",i.color=null!==(t=r[e])&&void 0!==t?t:"subtle",i.textContent=o,this.eGui.appendChild(i),n.setTooltip(o,(()=>this.eGui.scrollWidth>this.eGui.clientWidth))),u){const n=document.createElement("p");n.textContent=u,n.style.cssText="margin: 0px",this.eGui.appendChild(n)}}getGui(){return this.eGui}refresh(){return!1}}export{n as A,i as I,o as S}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as i,a as s,c as o}from"./index-15aY63VA.js";import"@fluentui/web-components/field.js";import"@fluentui/web-components/label.js";import"@fluentui/web-components/image.js";import{Map as a}from"ol";import n from"ol/View";import r from"ol/Overlay";import l from"ol/layer/Tile";import{XYZ as d}from"ol/source";import{defaults as h}from"ol/interaction/defaults";import{toLonLat as c,fromLonLat as u}from"ol/proj";import"@fluentui/web-components/listbox.js";import"@fluentui/web-components/option.js";import"@fluentui/web-components/text-input.js";import p from"signature_pad";import{s as f}from"./slot-index-aYrr8BJl.js";import{a as b}from"./types-C9Z-dgvN.js";const m=560,g=920,v=class{constructor(e){t(this,e),this.columns=3,this.minColumnWidth="18rem",this.layout="auto",this.balance="auto",this.density="default",this.dividers="none"}componentDidLoad(){this.syncItems(),this.observeSlotAndResize()}componentDidUpdate(){this.syncItems()}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}observeSlotAndResize(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot");e&&e.addEventListener("slotchange",(()=>this.syncItems())),this.resizeObserver=new ResizeObserver((()=>this.syncItems())),this.resizeObserver.observe(this.el)}getNormalizedColumnBreakpoints(){var t;if(!(null===(t=this.columnBreakpoints)||void 0===t?void 0:t.length))return[];const e=this.columnBreakpoints.map((t=>[Number(null==t?void 0:t.minWidth),Number(null==t?void 0:t.columns)])).filter((([t,e])=>Number.isFinite(t)&&t>=0&&Number.isFinite(e)&&e>=1)).map((([t,e])=>[Math.floor(t),Math.floor(e)])).sort(((t,e)=>t[0]-e[0]));return 0===e.length?[]:(0!==e[0][0]&&e.unshift([0,1]),e)}getQueries(){if("auto"!==this.layout)return{};const t=this.getNormalizedColumnBreakpoints();if(t.length>0)return t.reduce(((t,[e,i])=>Object.assign(Object.assign({},t),{[e]:{"--detail-list-cols":String(i)}})),{});const e=Math.max(1,Math.min(this.columns,3));return{0:{"--detail-list-cols":"1"},[m]:{"--detail-list-cols":String(Math.min(2,e))},[g]:{"--detail-list-cols":String(e)}}}getGridStyle(){return"stack"===this.layout?{"--detail-list-cols":"1"}:"columns"===this.layout?{"--detail-list-cols":String(Math.max(1,this.columns))}:{}}getEffectiveBalance(){return"even"===this.balance?"even":"preserve-order"}getItemElements(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot");return e?e.assignedElements({flatten:!0}).filter((t=>"UDP-DETAIL-LIST-ITEM"===t.tagName)):[]}syncItems(){const t=this.getItemElements(),e=this.gridRef;if(!e)return;const i="compact"===this.density?"compact":null;t.forEach((t=>{const e=t;i?e.setAttribute("data-density",i):e.removeAttribute("data-density")}));const s=getComputedStyle(e).getPropertyValue("--detail-list-cols").trim()||"1",o=Math.max(1,parseInt(s,10)||1),a=t.length,n=a>0?Math.floor((a-1)/o)*o:0;t.forEach(((t,e)=>{const i=t;"row"===this.dividers&&e<n?i.setAttribute("data-divider",""):i.removeAttribute("data-divider")})),"even"===this.getEffectiveBalance()&&0!==t.length?t.forEach(((t,e)=>{const i=t,s=e%o,a=Math.floor(e/o);i.style.gridColumn=String(s+1),i.style.gridRow=String(a+1)})):t.forEach((t=>{const e=t;e.style.gridColumn="",e.style.gridRow=""}))}render(){const t=this.getQueries(),s=this.getGridStyle(),o="auto"===this.layout&&Object.keys(t).length>0;return e(i,{key:"392ee743ad57e80a0eff874d531ca7f883f326d3",role:"list",class:{"udp-detail-list":!0,"udp-detail-list--density-compact":"compact"===this.density}},o?e("udp-container-query",{queries:t},e("div",{class:"udp-detail-list__grid",ref:t=>this.gridRef=t,style:s},e("slot",null))):e("div",{class:"udp-detail-list__grid",ref:t=>this.gridRef=t,style:s},e("slot",null)))}get el(){return s(this)}};v.style=":host{display:block;box-sizing:border-box;width:100%}.udp-detail-list__grid{display:grid;grid-template-columns:repeat(var(--detail-list-cols, 1), minmax(0, 1fr));grid-auto-flow:row;gap:var(--spacingVerticalM, 12px) var(--spacingHorizontalM, 12px);align-content:start}:host(.udp-detail-list--density-compact) .udp-detail-list__grid{gap:var(--spacingVerticalS, 8px) var(--spacingHorizontalS, 8px)}";const y=class{constructor(e){t(this,e),this.emptyState="dash",this.emphasis="default",this.labelId=""}componentWillLoad(){this.labelId=`udp-detail-list-item-label-${Math.random().toString(36).slice(2,11)}`}usingValueProp(){return null!=this.value}renderValueContent(){var t;if(this.usingValueProp()){const i=""===this.value;return i&&"hide"===this.emptyState?null:i&&"dash"===this.emptyState?e("udp-text",{variant:"body1"},"—"):e("div",{class:"udp-detail-list-item__value-wrap","aria-labelledby":this.labelId},e("udp-text",{variant:"strong"===this.emphasis?"body1Strong":"body1",class:{"udp-detail-list-item__value":!0,"udp-detail-list-item__value--clamp":!!this.valueLines},style:this.valueLines?{"--udp-detail-list-item-lines":String(this.valueLines)}:void 0},null!==(t=this.value)&&void 0!==t?t:"show-empty"===this.emptyState?" ":""))}return e("div",{class:"udp-detail-list-item__value-slot","aria-labelledby":this.labelId},e("slot",null))}render(){return e(i,{key:"f0c178f2b164c5e19d813cc4ca9420c1e4ea089a",role:"listitem",class:"udp-detail-list-item"},e("div",{key:"ae9064f13d69e24e13b7658fe5f40ca672d39c31",class:"udp-detail-list-item__inner"},e("udp-text",{key:"48c385589f191f79670d15032093932ccbfb7692",variant:"caption1",class:"udp-detail-list-item__label",id:this.labelId},this.label),this.renderValueContent()))}};function x(t){return"pending"===t.kind?t.file.name:t.name}function w(t){return(t||"").trim().toLowerCase()}function k(t){if("pending"===t.kind){const e=t.file;return`pending::${w(e.name)}::${e.size}::${e.lastModified}`}return`stored::${t.driveFileId}`}function S(t){var e;const i=null===(e=t.dataTransfer)||void 0===e?void 0:e.types;return!!i&&Array.from(i).includes("Files")}function C(t,e,i,s,o,a){if(e.accept&&!function(t,e){if(!e)return!0;const i=e.split(",").map((t=>t.trim())).filter((t=>t.length>0));if(0===i.length)return!0;const s=(t.type||"").toLowerCase(),o=(t.name||"").toLowerCase();for(const t of i){const e=t.toLowerCase();if(e.startsWith(".")){if(o.endsWith(e))return!0}else if(e.endsWith("/*")){const t=e.slice(0,-1);if(s.startsWith(t))return!0}else if(s===e)return!0}return!1}(t,e.accept))return"mime";if(null!=e.maxFileSizeBytes&&t.size>e.maxFileSizeBytes)return"size";if(!a&&o<=0)return"maxFiles";const n=w(t.name);return!a&&s.has(n)||i.has(n)?"duplicate":null}function N(t){if(!t)return null;const e=new Date(t);return Number.isNaN(e.getTime())?null:new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}).format(e)}function z(t,e){const i=URL.createObjectURL(t),s=document.createElement("a");s.href=i,s.download=e,s.style.display="none",document.body.appendChild(s),s.click(),document.body.removeChild(s),setTimeout((()=>URL.revokeObjectURL(i)),1e3)}y.style=':host{display:block;box-sizing:border-box;min-width:0}.udp-detail-list-item__inner{display:flex;flex-direction:column;gap:var(--spacingVerticalXXS, 2px)}:host([data-density="compact"]) .udp-detail-list-item__inner{gap:var(--udp-detail-list-item-gap, var(--spacingVerticalNone, 0))}.udp-detail-list-item__label{color:var(--colorNeutralForeground3)}.udp-detail-list-item__value-wrap,.udp-detail-list-item__value,.udp-detail-list-item__value-slot{color:var(--colorNeutralForeground1);overflow-wrap:anywhere}.udp-detail-list-item__value.udp-detail-list-item__value--clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--udp-detail-list-item-lines);line-clamp:var(--udp-detail-list-item-lines);overflow:hidden}:host([data-divider]){border-bottom:1px solid var(--colorNeutralStroke2, #e0e0e0);padding-bottom:var(--spacingVerticalS, 8px)}';const F=class{constructor(e){t(this,e),this.valueChanged=o(this,"valueChanged",7),this.fileRejected=o(this,"fileRejected",7),this.downloadRequested=o(this,"downloadRequested",7),this.inputBlur=o(this,"inputBlur",7),this.inputFocus=o(this,"inputFocus",7),this.view="list",this.value=[],this.includeErrorPadding=!0,this.required=!1,this.disabled=!1,this.readonly=!1,this.hideDragAndDrop=!1,this.hideButton=!1,this.displayUploadTime=!1,this.appearance="outline",this.disableLightbox=!1,this.items=[],this.isDragging=!1,this.fieldHasFocus=!1,this.lightboxIndex=-1,this.previews=new Map,this.lightboxTrigger=null,this.requestDownload=t=>{this.disabled||("pending"!==t.kind?"function"==typeof this.loadStoredFile?this.loadStoredFile(t).then((e=>{z(e instanceof File?e:new File([e],t.name,{type:e.type||"application/octet-stream"}),t.name)})).catch((()=>{})):this.downloadRequested.emit(t):z(t.file,t.file.name))},this.handleBrowseClick=t=>{var e;this.disabled||this.readonly||(t.preventDefault(),t.stopPropagation(),null===(e=this.fileInputRef)||void 0===e||e.click())},this.handleInputChange=t=>{const e=t.target;e.files&&e.files.length>0&&this.intakeFiles(e.files),e.value=""},this.handleDragEnter=t=>{this.disabled||this.readonly||this.hideDragAndDrop||S(t)&&(t.preventDefault(),t.stopPropagation(),this.isDragging=!0)},this.handleDragOver=t=>{this.disabled||this.readonly||this.hideDragAndDrop||S(t)&&(t.preventDefault(),t.stopPropagation(),t.dataTransfer&&(t.dataTransfer.dropEffect="copy"))},this.handleDragLeave=t=>{if(this.disabled||this.readonly||this.hideDragAndDrop)return;t.preventDefault(),t.stopPropagation();const e=t.currentTarget,i=t.relatedTarget;e&&i&&e.contains(i)||(this.isDragging=!1)},this.handleDrop=t=>{if(this.disabled||this.readonly||this.hideDragAndDrop)return;t.preventDefault(),t.stopPropagation(),this.isDragging=!1;const e=t.dataTransfer;e&&e.files&&e.files.length>0&&this.intakeFiles(e.files)},this.handleDropZoneKeyDown=t=>{var e;this.disabled||this.readonly||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),null===(e=this.fileInputRef)||void 0===e||e.click())},this.handleFieldFocusIn=()=>{this.fieldHasFocus||(this.fieldHasFocus=!0,this.inputFocus.emit())},this.handleFieldFocusOut=t=>{const e=t.relatedTarget,i=t.currentTarget;e&&i&&i.contains(e)||this.fieldHasFocus&&(this.fieldHasFocus=!1,this.inputBlur.emit())},this.handleLightboxKeyDown=t=>{"ArrowRight"===t.key?(t.preventDefault(),this.navigateLightbox(1)):"ArrowLeft"===t.key&&(t.preventDefault(),this.navigateLightbox(-1))},this.handleBackdropClick=t=>{t.target===t.currentTarget&&this.closeLightbox()},this.handleDialogClose=()=>{var t;this.lightboxIndex>=0&&(this.lightboxIndex=-1),null===(t=this.lightboxTrigger)||void 0===t||t.focus(),this.lightboxTrigger=null}}componentWillLoad(){this.items=Array.isArray(this.value)?this.value:[],"gallery"===this.view&&this.syncPreviews(this.items)}onValueChange(t){const e=Array.isArray(t)?t:[];e!==this.items&&(this.items=e,"gallery"===this.view&&this.syncPreviews(e))}onViewChange(t){"gallery"===t?this.syncPreviews(this.items):(this.clearPreviews(),this.lightboxIndex=-1)}disconnectedCallback(){this.clearPreviews()}clearPreviews(){this.previews.forEach((t=>{t.revokable&&t.url&&URL.revokeObjectURL(t.url)})),this.previews=new Map}syncPreviews(t){const e=new Set,i=new Map(this.previews);for(const s of t){const t=k(s);e.add(t),i.has(t)||i.set(t,this.createPreview(s))}for(const[t,s]of Array.from(i.entries()))e.has(t)||(s.revokable&&s.url&&URL.revokeObjectURL(s.url),i.delete(t));this.previews=i}createPreview(t){if("pending"===t.kind)return{url:URL.createObjectURL(t.file),loading:!1,revokable:!0,status:"ready"};if("function"!=typeof this.loadStoredFile)return{url:null,loading:!1,revokable:!1,status:"unavailable"};const e={url:null,loading:!0,revokable:!1,status:"loading"},i=k(t);return this.loadStoredFile(t).then((t=>{const s=t instanceof Blob?t:new Blob([t]),o=URL.createObjectURL(s);this.previews.get(i)===e?this.previews=new Map(this.previews).set(i,{url:o,loading:!1,revokable:!0,status:"ready"}):URL.revokeObjectURL(o)})).catch((()=>{this.previews.get(i)===e&&(this.previews=new Map(this.previews).set(i,Object.assign(Object.assign({},e),{loading:!1,status:"error"})))})),e}intakeFiles(t){if(this.disabled||this.readonly)return;const e=function(t,e,i){const s=Array.from(t),o=[],a=[],n=new Set,r=new Set(e.map((t=>w(x(t)))));let l=null==i.maxFiles?Number.POSITIVE_INFINITY:Math.max(0,i.maxFiles-e.length);const d=1===i.maxFiles,h=(new Date).toISOString();for(const t of s){const e=C(t,i,n,r,l,d);e?a.push({file:t,reason:e}):(n.add(w(t.name)),o.push({kind:"pending",file:t,uploadedAt:h}),l-=1)}return 0===o.length?{accepted:o,rejected:a,next:null}:{accepted:o,rejected:a,next:d?o:[...e,...o]}}(t,this.items,{accept:this.accept,maxFiles:this.maxFiles,maxFileSizeBytes:this.maxFileSizeBytes});e.rejected.forEach((t=>this.fileRejected.emit(t))),e.next&&this.commit(e.next)}commit(t){this.items=t,"gallery"===this.view&&this.syncPreviews(t),this.valueChanged.emit(t)}removeAt(t){if(this.disabled||this.readonly)return;if(t<0||t>=this.items.length)return;const e=this.items.slice();e.splice(t,1),this.commit(e)}openLightbox(t,e){this.disableLightbox||t<0||t>=this.items.length||(this.lightboxIndex=t,this.lightboxTrigger=null!=e?e:null,requestAnimationFrame((()=>{this.dialogRef&&!this.dialogRef.open&&this.dialogRef.showModal()})))}closeLightbox(){var t;this.lightboxIndex<0||(this.lightboxIndex=-1,(null===(t=this.dialogRef)||void 0===t?void 0:t.open)&&this.dialogRef.close())}navigateLightbox(t){if(this.lightboxIndex<0)return;const e=this.items.length;0!==e&&(this.lightboxIndex=(this.lightboxIndex+t+e)%e)}render(){const t=!!this.error,s=this.error||this.hint,o=!s&&!this.includeErrorPadding,a=1!==this.maxFiles,n=this.items.length>0,r=!(this.readonly||null!=this.maxFiles&&1!==this.maxFiles&&this.items.length>=this.maxFiles);return e(i,{key:"048e263dcd34380d61f71cf4b7c7da7f3fde51c7",class:{"has-error":t,[`view-${this.view}`]:!0,[`appearance-${this.appearance}`]:!0,disabled:this.disabled,readonly:this.readonly}},e("fluent-field",{key:"c900dad63cdd3d5b598d3164ab1112eda78d1cc8",class:{"no-message":o}},e("div",{key:"596e7daf7b75a29f188269b3582e2481aa6cd4fe",slot:"input",class:"root"},this.label&&e("fluent-label",{key:"e507259570d0d0c9ffec7fd40260ad5fe5a03d14",class:"field-label",required:this.required,disabled:this.disabled},this.label),e("input",{key:"1f00e99693fd456a594cdaf95055a76d108f727d",ref:t=>this.fileInputRef=t,type:"file",class:"hidden-input",name:this.name,accept:this.accept,multiple:a,disabled:this.disabled||this.readonly,onChange:this.handleInputChange,onClick:t=>t.stopPropagation()}),this.renderDropContainer({hasFiles:n,showDropZone:r,allowMultiple:a})),e("udp-text",{key:"7cdda2b7d8000e8214b628feb54e3411a4a3af84",slot:"message",variant:"caption1",class:{message:!0,error:t,"include-error-padding":this.includeErrorPadding}},s)),"gallery"===this.view&&e("dialog",{key:"09c7f7753da8d6105c4a5cb246608d870e316978",class:"lightbox",ref:t=>this.dialogRef=t,onClose:this.handleDialogClose,onClick:this.handleBackdropClick,onKeyDown:this.handleLightboxKeyDown},this.lightboxIndex>=0&&this.renderLightboxContent()))}renderDropContainer(t){const{hasFiles:i,showDropZone:s,allowMultiple:o}=t,a=!this.hideDragAndDrop&&!this.readonly;return e("div",Object.assign({class:{"drop-container":!0,dragging:this.isDragging,"has-files":i,"no-dnd":!a,readonly:this.readonly},onDragEnter:this.handleDragEnter,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop,onFocusin:this.handleFieldFocusIn,onFocusout:this.handleFieldFocusOut},!a||i||this.readonly?{}:{role:"button",tabIndex:0,onKeyDown:this.handleDropZoneKeyDown}),i&&"list"===this.view&&this.renderFileList(),i&&"gallery"===this.view&&this.renderGallery(),!i&&this.readonly&&this.renderEmptyReadonly(o),s&&!i&&this.renderEmptyPrompt(o),s&&i&&this.renderCompactPrompt(o))}renderEmptyPrompt(t){const i=!this.hideDragAndDrop,s=!this.hideButton,o=this.itemNoun(t),a=this.dragAndDropMessage||`Drag and drop ${o} here`,n=this.browseFileMessage||`Browse ${o}`,r="gallery"===this.view?"image":"cloud-upload";return e("div",{class:"empty-prompt"},e("slot",{name:"start"}),i&&e("div",{class:"empty-prompt-content"},e("udp-fluent-icon",{name:r,size:"sm",class:"empty-prompt-icon"}),e("span",{class:"empty-prompt-text"},a)),s&&e("udp-fluent-button",{class:"empty-prompt-button",appearance:"outline",size:"small",disabled:this.disabled,onClick:this.handleBrowseClick},n),e("slot",{name:"end"}))}renderEmptyReadonly(t){const i=this.itemNoun(t);return e("div",{class:"empty-readonly"},e("span",{class:"empty-readonly-text"},"No ",i," attached"))}renderCompactPrompt(t){const i=!this.hideDragAndDrop,s=!this.hideButton,o=`Drag and drop more ${this.itemNoun(t)}`,a=t?"Browse":`Browse ${this.singularNoun()}`;return e("div",{class:"compact-prompt"},i&&e("div",{class:"compact-prompt-text"},e("udp-fluent-icon",{name:"gallery"===this.view?"image":"cloud-upload",size:"sm",class:"compact-prompt-icon"}),e("span",null,o)),s&&e("udp-fluent-button",{class:"compact-prompt-button",appearance:"outline",size:"small",disabled:this.disabled,onClick:this.handleBrowseClick},a))}itemNoun(t){return"gallery"===this.view?t?"images":"an image":t?"files":"a file"}singularNoun(){return"gallery"===this.view?"image":"file"}renderFileList(){return e("ul",{class:"file-list",role:"list"},this.items.map(((t,e)=>this.renderFileRow(t,e))))}renderFileRow(t,i){const s=x(t),o="pending"===t.kind?function(t){if(!Number.isFinite(t)||t<0)return"";if(t<1024)return`${t} B`;const e=["KB","MB","GB","TB"];let i=t/1024,s=0;for(;i>=1024&&s<e.length-1;)i/=1024,s+=1;return`${i.toFixed(i>=10||0===s?0:1)} ${e[s]}`}(t.file.size):null,a=this.displayUploadTime?N(t.uploadedAt):null,n=[s,o,a].filter(Boolean);return e("li",{class:"file-chip",key:`${t.kind}:${s}:${i}`,title:n.join(" · ")},e("udp-fluent-icon",{name:"document",size:"sm",class:"file-chip-icon"}),e("button",{type:"button",class:"file-chip-name",disabled:this.disabled,"aria-label":`Download ${s}`,onClick:()=>this.requestDownload(t)},e("span",{class:"file-chip-name-text"},s)),(o||a||"stored"===t.kind)&&e("span",{class:"file-chip-detail"},o&&e("span",null,o),a&&e("span",null,a),"stored"===t.kind&&e("udp-fluent-badge",{class:"file-chip-saved-badge",appearance:"filled",color:"subtle",size:"small"},"saved")),!this.readonly&&e("udp-fluent-icon-button",{class:"file-chip-remove",iconName:"dismiss",appearance:"subtle",size:"small",ariaLabel:`Remove ${s}`,disabled:this.disabled,onClick:()=>this.removeAt(i)}))}renderGallery(){return e("ul",{class:"gallery",role:"list"},this.items.map(((t,e)=>this.renderThumb(t,e))))}renderThumb(t,i){const s=k(t),o=this.previews.get(s),a=x(t),n=this.displayUploadTime?N(t.uploadedAt):null,r=!this.disableLightbox&&!!(null==o?void 0:o.url);return e("li",{class:"thumb",key:s},e("div",{class:"thumb-frame"},e("button",{type:"button",class:{"thumb-button":!0,clickable:r},onClick:t=>r&&this.openLightbox(i,t.currentTarget),disabled:!r,title:a},(null==o?void 0:o.url)?e("img",{class:"thumb-img",src:o.url,alt:a}):(null==o?void 0:o.loading)?e("udp-spinner",{size:"small"}):e("udp-fluent-icon",{name:"error"===(null==o?void 0:o.status)?"warning":"image",size:"md",class:"thumb-placeholder-icon"}),"stored"===t.kind&&e("udp-fluent-badge",{class:"thumb-saved-badge",appearance:"filled",color:"brand",size:"small"},"saved")),!this.readonly&&e("udp-fluent-icon-button",{class:"thumb-remove",iconName:"dismiss",appearance:"subtle",size:"small",ariaLabel:`Remove ${a}`,disabled:this.disabled,onClick:()=>this.removeAt(i)})),e("div",{class:"thumb-meta"},e("button",{type:"button",class:"thumb-name",disabled:this.disabled,"aria-label":`Download ${a}`,onClick:()=>this.requestDownload(t),title:`Download ${a}`},e("span",{class:"thumb-name-text"},a)),n&&e("span",{class:"thumb-stamp"},n)))}renderLightboxContent(){const t=this.items[this.lightboxIndex];if(!t)return null;const i=this.previews.get(k(t)),s=x(t),o=this.items.length,a=o>1;return e("div",{class:"lightbox-content","aria-label":s},e("div",{class:"lightbox-header"},e("span",{class:"lightbox-name",title:s},s),e("udp-fluent-icon-button",{class:"lightbox-close",iconName:"dismiss",appearance:"subtle",size:"large",ariaLabel:"Close preview",onClick:()=>this.closeLightbox()})),e("div",{class:"lightbox-stage"},a&&e("udp-fluent-icon-button",{class:"lightbox-nav lightbox-prev",iconName:"chevron-left",appearance:"subtle",size:"medium",ariaLabel:"Previous image",onClick:()=>this.navigateLightbox(-1)}),(null==i?void 0:i.url)?e("img",{class:"lightbox-image",src:i.url,alt:s}):(null==i?void 0:i.loading)?e("udp-spinner",{size:"medium"}):e("span",{class:"lightbox-error"},"No preview available"),a&&e("udp-fluent-icon-button",{class:"lightbox-nav lightbox-next",iconName:"chevron-right",appearance:"subtle",size:"medium",ariaLabel:"Next image",onClick:()=>this.navigateLightbox(1)})),a&&e("div",{class:"lightbox-counter"},this.lightboxIndex+1," / ",o))}get el(){return s(this)}static get watchers(){return{value:[{onValueChange:0}],view:[{onViewChange:0}]}}};F.style=":host{display:block;width:100%;font-family:var(--fontFamilyBase)}fluent-field{width:100%}fluent-field.no-message::part(message){display:none}.root{display:flex;flex-direction:column;gap:var(--spacingVerticalS, 8px);width:100%}.field-label{display:block;margin-bottom:var(--spacingVerticalXXS, 2px)}.hidden-input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.drop-container{border:2px dashed var(--colorNeutralStroke1, #d1d1d1);border-radius:var(--borderRadiusMedium, 4px);background-color:var(--colorNeutralBackground1, #ffffff);transition:background-color 100ms ease, border-color 100ms ease;outline:none;padding:var(--spacingVerticalM, 12px);display:flex;flex-direction:column;justify-content:center;gap:var(--spacingVerticalM, 12px);min-height:144px;box-sizing:border-box}.drop-container.has-files{justify-content:space-between;border-color:var(--colorNeutralStroke2, #e0e0e0);cursor:default}:host(.appearance-filled) .drop-container{background-color:var(--colorNeutralBackground2, #fafafa)}.drop-container[role='button']{cursor:pointer}.drop-container[role='button']:focus-visible{outline:2px solid var(--colorStrokeFocus2, #000000);outline-offset:2px}.drop-container.dragging{background-color:var(--colorNeutralBackground1Hover, #f5f5f5);border-color:var(--colorNeutralStrokeAccessible, #616161)}.drop-container.no-dnd:not(.readonly){border-style:solid}.drop-container.readonly{cursor:default;border-style:solid}.drop-container.has-files.dragging{border-style:dashed;background-color:var(--colorNeutralBackground1Hover, #f5f5f5)}.empty-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacingVerticalXS, 4px);pointer-events:none;}.empty-prompt-content{display:flex;flex-direction:column;align-items:center;gap:var(--spacingVerticalXXS, 2px);color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px)}.empty-prompt-icon{color:inherit}.empty-prompt-text{color:inherit;text-align:center}.empty-prompt-button{pointer-events:auto}.empty-readonly{display:flex;align-items:center;justify-content:center}.empty-readonly-text{color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px);font-style:italic}.compact-prompt{display:flex;align-items:center;justify-content:space-between;gap:var(--spacingHorizontalM, 12px);padding:var(--spacingVerticalM, 12px) 0 0 0;border-top:1px dashed var(--colorNeutralStroke3, #ebebeb);pointer-events:none}.compact-prompt-text{display:inline-flex;align-items:center;gap:var(--spacingHorizontalXS, 4px);color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px);flex:1 1 auto;min-width:0}.compact-prompt-icon{color:inherit;flex:0 0 auto}.compact-prompt-button{pointer-events:auto;flex:0 0 auto}.file-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-content:flex-start;gap:var(--spacingHorizontalXS, 4px) var(--spacingHorizontalS, 8px);max-height:80px;overflow-y:auto;scrollbar-gutter:stable}.file-chip{display:inline-flex;align-items:center;gap:var(--spacingHorizontalXS, 4px);padding:4px var(--spacingHorizontalXS, 4px) 4px var(--spacingHorizontalS, 8px);border:1px solid var(--colorNeutralStroke2, #e0e0e0);border-radius:var(--borderRadiusMedium, 4px);background-color:var(--colorNeutralBackground1, #ffffff);max-width:280px;min-width:0;flex:0 0 auto;height:32px;box-sizing:border-box}.file-chip-icon{flex:0 0 auto;color:var(--colorNeutralForeground3, #707070)}.file-chip-name{background:none;border:none;padding:0;font:inherit;color:var(--colorBrandForeground1, #0f6cbd);text-decoration:underline;text-underline-offset:2px;cursor:pointer;text-align:left;min-width:0;flex:1 1 auto;font-size:var(--fontSizeBase200, 12px);line-height:1}.file-chip-name:disabled{color:var(--colorNeutralForegroundDisabled, #bdbdbd);cursor:not-allowed}.file-chip-name-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chip-detail{flex:0 0 auto;display:inline-flex;align-items:center;gap:var(--spacingHorizontalXS, 4px);color:var(--colorNeutralForeground3, #707070);font-size:11px;line-height:1}.file-chip-remove{flex:0 0 auto}.gallery{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--spacingHorizontalM, 12px)}.thumb{display:flex;flex-direction:column;gap:var(--spacingVerticalXS, 4px)}.thumb-frame{position:relative;width:80px;height:80px}.thumb-button{position:relative;display:flex;align-items:center;justify-content:center;width:80px;height:80px;padding:0;margin:0;border:1px solid var(--colorNeutralStroke2, #e0e0e0);border-radius:var(--borderRadiusMedium, 4px);background-color:var(--colorNeutralBackground1, #ffffff);overflow:hidden;cursor:default;transition:border-color 100ms ease, transform 100ms ease}.thumb-button.clickable{cursor:zoom-in}.thumb-button.clickable:hover{border-color:var(--colorBrandStroke1, #0f6cbd);transform:scale(1.02)}.thumb-button:focus-visible{outline:2px solid var(--colorStrokeFocus2, #000000);outline-offset:2px}.thumb-button:disabled{cursor:not-allowed;opacity:0.7}.thumb-img{width:100%;height:100%;object-fit:cover;display:block}.thumb-placeholder-icon{color:var(--colorNeutralForeground3, #707070)}.thumb-saved-badge{position:absolute;bottom:4px;left:4px}.thumb-meta{display:flex;flex-direction:column;gap:2px;max-width:100%}.thumb-name{background:none;border:none;padding:0;font:inherit;color:var(--colorBrandForeground1, #0f6cbd);text-decoration:underline;text-underline-offset:2px;cursor:pointer;text-align:left;display:block;max-width:100%;overflow:hidden}.thumb-name:disabled{color:var(--colorNeutralForegroundDisabled, #bdbdbd);cursor:not-allowed}.thumb-name-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fontSizeBase200, 12px)}.thumb-stamp{font-size:10px;color:var(--colorNeutralForeground3, #707070)}.thumb-remove{position:absolute;top:4px;right:4px}:host(.disabled){opacity:0.6}:host(.disabled) .drop-container{cursor:not-allowed}.message{color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px)}.message.include-error-padding{min-height:var(--lineHeightBase200, 16px);display:inline-block}.message.error{color:var(--colorPaletteRedForeground1, #b10e1c)}:host(.has-error) .drop-container{border-color:var(--colorPaletteRedBorder2, #b10e1c)}.lightbox{width:100vw;height:100vh;max-width:100vw;max-height:100vh;margin:0;padding:var(--spacingVerticalL, 16px);border:none;background:transparent;box-sizing:border-box;align-items:center;justify-content:center}.lightbox[open]{display:flex;flex-direction:column;animation:lightbox-fade-in 100ms ease}.lightbox::backdrop{background-color:rgba(0, 0, 0, 0.85);animation:lightbox-fade-in 100ms ease}@keyframes lightbox-fade-in{from{opacity:0}to{opacity:1}}.lightbox-content{display:flex;flex-direction:column;width:100%;height:100%;max-width:1200px;gap:var(--spacingVerticalS, 8px)}.lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacingHorizontalM, 12px);color:#ffffff;padding:0 var(--spacingHorizontalS, 8px)}.lightbox-name{font-size:var(--fontSizeBase300, 14px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}.lightbox-stage{position:relative;flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:0}.lightbox-image{max-width:100%;max-height:100%;object-fit:contain}.lightbox-error{color:#ffffff;font-style:italic}.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%)}.lightbox-prev{left:var(--spacingHorizontalS, 8px)}.lightbox-next{right:var(--spacingHorizontalS, 8px)}.lightbox-nav,.lightbox-close{--colorNeutralForeground2:#ffffff;--colorNeutralForeground2Hover:#ffffff;--colorNeutralForeground2Pressed:#ffffff;--colorNeutralForeground2BrandHover:#ffffff;--colorNeutralForeground2BrandPressed:#ffffff;--colorSubtleBackgroundHover:rgba(255, 255, 255, 0.12);--colorSubtleBackgroundPressed:rgba(255, 255, 255, 0.18);--colorSubtleBackgroundSelected:rgba(255, 255, 255, 0.18)}.lightbox-counter{text-align:center;color:rgba(255, 255, 255, 0.8);font-size:var(--fontSizeBase200, 12px);padding:4px 0}";const B=class{constructor(e){t(this,e),this.block=!1,this.bordered=!1,this.shadow=!1}render(){return e(i,{key:"0306cb9c4049cce468f24ce65e009d11134f9f64"},e("fluent-image",{key:"d5f4808893f32292a94ca6681b91128fe070120f",block:this.block,bordered:this.bordered,shadow:this.shadow,fit:this.fit,shape:this.shape},e("slot",{key:"8a639435a4761e0f1f0af02d3723da23ae84a8b7"})))}},_=class{constructor(e){t(this,e),this.valueChanged=o(this,"valueChanged",7),this.value=null,this.options=[],this.includeErrorPadding=!0,this.required=!1,this.disabled=!1,this.readonly=!1,this.handleSelectionChange=t=>{t.stopPropagation(),this.valueChanged.emit(t.detail.selectedItems.map(String))}}get isReadOnly(){return this.disabled||this.readonly}get selected(){return Array.isArray(this.value)?this.value:[]}render(){const t=!!this.error,s=this.error||this.hint;return e(i,{key:"1140b20a98540db462d5c8928fd25b31756f35d1"},e("fluent-field",{key:"a916bb93286243c7fab99d6a546eeb0fdb196e14","label-position":"above",class:{"no-label":!this.label,"no-message":!s&&!this.includeErrorPadding}},e("fluent-label",{key:"6aeb22e29fb3e91e6dbd83d0ef2638b5602c9877",slot:"label",required:this.required,disabled:this.disabled},this.label,this.popupHint&&e("udp-tooltip",{key:"1d5fe9149fac34a24c47bde7414e316f887db0e2",content:this.popupHint,positioning:"above"},e("udp-fluent-icon",{key:"75ef4e3eb9e5e1327afab7ec5fa3f2668ef5141d",name:"info",size:"xs",class:"popup-hint-icon"}))),e("udp-list",{key:"de623433836ba21ac55fb6db0fc288efec4160cb",slot:"input",selectionMode:"multiselect",selectedItems:this.selected,onListSelectionChange:this.handleSelectionChange},this.options.map((t=>e("udp-fluent-list-item",{key:t.value,value:t.value,label:t.display,disabled:this.isReadOnly})))),e("udp-text",{key:"d7b3c4300b8fc8ed30b976569ef0fde15d315a59",slot:"message",variant:"caption1",class:{message:!0,error:t,includeErrorPadding:this.includeErrorPadding}},s)))}get el(){return s(this)}};_.style=".message{color:var(--colorNeutralForeground3)}.message.includeErrorPadding{min-height:var(--lineHeightBase200)}.message.error{color:var(--colorPaletteRedForeground1)}.popup-hint-icon{margin-left:2px}fluent-label[disabled]{color:var(--colorNeutralForeground1)}fluent-field.no-label::part(label){display:none}fluent-field.no-message::part(message){display:none}";const M=class{constructor(e){t(this,e),this.valueChanged=o(this,"valueChanged",7),this.inputBlur=o(this,"inputBlur",7),this.inputFocus=o(this,"inputFocus",7),this.geolocationDenied=o(this,"geolocationDenied",7),this.providerFailed=o(this,"providerFailed",7),this.value=null,this.includeErrorPadding=!0,this.required=!1,this.disabled=!1,this.readonly=!1,this.showMap=!0,this.hideAddressSearch=!1,this.mapHeight="320px",this.defaultCenter={lat:49.2827,lng:-123.1207},this.defaultZoom=13,this.countrySet="",this.language="en-US",this.showGeolocationButton=!0,this.geolocationButtonLabel="Use my location",this.searchPlaceholder="Search an address",this.searchDebounceMs=300,this.appearance="outline",this.controlSize="medium",this.searchQuery="",this.suggestions=[],this.isSearching=!1,this.isOpen=!1,this.highlightedIndex=-1,this.isReverseGeocoding=!1,this.isLocating=!1,this.searchAbort=null,this.searchDebounceId=null,this.blurCloseTimeoutId=null,this.ignoreNextInputClick=!1,this.isInternalUpdate=!1,this.handleMapClick=t=>{if(this.disabled||this.readonly)return;const[e,i]=c(t.coordinate);this.commitFromCoords(i,e)},this.handleSearchInput=t=>{const e=t.target.value;this.searchQuery=e,this.highlightedIndex=-1,this.isOpen=e.trim().length>0,this.scheduleSearch(e)},this.handleSearchFocus=()=>{var t,e,i,s;if(this.disabled||this.readonly)return;null!=this.blurCloseTimeoutId&&(window.clearTimeout(this.blurCloseTimeoutId),this.blurCloseTimeoutId=null);const o=null!==(s=null===(i=null===(e=null===(t=this.value)||void 0===t?void 0:t.address)||void 0===e?void 0:e.freeformAddress)||void 0===i?void 0:i.trim())&&void 0!==s?s:"",a=this.searchQuery.trim();a.length>0&&a!==o&&(this.isOpen=!0),this.inputFocus.emit()},this.handleSearchBlur=()=>{null!=this.blurCloseTimeoutId&&window.clearTimeout(this.blurCloseTimeoutId),this.blurCloseTimeoutId=window.setTimeout((()=>{this.blurCloseTimeoutId=null,this.isOpen=!1}),150),this.inputBlur.emit()},this.handleSearchClick=()=>{var t,e,i,s;if(this.disabled||this.readonly)return;if(this.ignoreNextInputClick)return void(this.ignoreNextInputClick=!1);if(this.isOpen)return;const o=null!==(s=null===(i=null===(e=null===(t=this.value)||void 0===t?void 0:t.address)||void 0===e?void 0:e.freeformAddress)||void 0===i?void 0:i.trim())&&void 0!==s?s:"",a=this.searchQuery.trim();a.length>0&&a!==o&&(this.isOpen=!0)},this.handleSearchKeyDown=t=>{"Escape"!==t.key&&"Tab"!==t.key?0!==this.suggestions.length&&("ArrowDown"===t.key?(t.preventDefault(),this.isOpen=!0,this.highlightedIndex=(this.highlightedIndex+1)%this.suggestions.length):"ArrowUp"===t.key?(t.preventDefault(),this.isOpen=!0,this.highlightedIndex=this.highlightedIndex<=0?this.suggestions.length-1:this.highlightedIndex-1):"Enter"===t.key&&this.highlightedIndex>=0&&(t.preventDefault(),this.handleSuggestionSelect(this.suggestions[this.highlightedIndex]))):this.isOpen=!1},this.handleSuggestionSelect=t=>{this.searchQuery=t.address.freeformAddress,this.internalInput&&(this.internalInput.value=this.searchQuery),this.suggestions=[],this.isOpen=!1,this.commitValue({latitude:t.position.lat,longitude:t.position.lng,address:t.address,timestamp:(new Date).toISOString()})},this.handleSuggestionMouseDown=t=>{t.preventDefault()},this.handlePopoverClose=()=>{this.isOpen=!1},this.handleLabelMouseDown=t=>{var e,i,s;this.disabled||this.readonly||(t.preventDefault(),this.ignoreNextInputClick=!0,this.searchQuery.trim().length>0&&(this.isOpen=!this.isOpen),null===(s=null===(i=null===(e=this.internalInput)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input"))||void 0===s||s.focus())},this.handleGeoMouseDown=t=>{t.preventDefault()},this.handleUseMyLocation=async()=>{if(!this.disabled&&!this.readonly)if("geolocation"in navigator){this.isLocating=!0;try{const e=await(t={enableHighAccuracy:!0,timeout:3e4,maximumAge:0},new Promise(((e,i)=>{navigator.geolocation.getCurrentPosition(e,i,t)})));await this.commitFromCoords(e.coords.latitude,e.coords.longitude)}catch(t){this.geolocationDenied.emit({reason:D(t),message:t instanceof GeolocationPositionError?t.message:void 0})}finally{this.isLocating=!1}var t}else this.geolocationDenied.emit({reason:"unsupported"})}}componentWillLoad(){var t,e,i;this.searchQuery=null!==(i=null===(e=null===(t=this.value)||void 0===t?void 0:t.address)||void 0===e?void 0:e.freeformAddress)&&void 0!==i?i:""}componentDidLoad(){this.internalInput&&this.searchQuery&&(this.internalInput.value=this.searchQuery),this.showMap&&this.initMap()}disconnectedCallback(){this.searchAbort&&this.searchAbort.abort(),null!=this.searchDebounceId&&window.clearTimeout(this.searchDebounceId),null!=this.blurCloseTimeoutId&&window.clearTimeout(this.blurCloseTimeoutId),this.destroyMap()}onValueChange(t){var e,i;this.isInternalUpdate?this.isInternalUpdate=!1:(this.searchQuery=null!==(i=null===(e=null==t?void 0:t.address)||void 0===e?void 0:e.freeformAddress)&&void 0!==i?i:"",this.internalInput&&(this.internalInput.value=this.searchQuery),this.updateMarker(null!=t?t:null))}onShowMapChange(t){t&&!this.map?this.initMap():!t&&this.map&&this.destroyMap()}onMapHeightChange(){this.map&&requestAnimationFrame((()=>{var t;return null===(t=this.map)||void 0===t?void 0:t.updateSize()}))}onTileUrlChange(){this.map?(this.destroyMap(),this.initMap()):this.showMap&&this.initMap()}initMap(){var t,e;if(!this.mapEl||!this.tileUrlTemplate)return;const i=null!=(null===(t=this.value)||void 0===t?void 0:t.latitude)&&null!=(null===(e=this.value)||void 0===e?void 0:e.longitude),s=u(i?[this.value.longitude,this.value.latitude]:[this.defaultCenter.lng,this.defaultCenter.lat]);this.map=new a({target:this.mapEl,controls:[],interactions:h({keyboard:!1}),layers:[new l({source:new d({url:this.tileUrlTemplate})})],view:new n({center:s,zoom:i?16:this.defaultZoom})});const o=document.createElement("div");o.className="map-marker";const c=document.createElement("udp-fluent-icon");c.setAttribute("name","location"),c.setAttribute("variant","filled"),c.setAttribute("size","lg"),c.setAttribute("color","#ef4444"),o.appendChild(c),this.markerOverlay=new r({element:o,positioning:"bottom-center",stopEvent:!1}),this.map.addOverlay(this.markerOverlay),i&&this.markerOverlay.setPosition(s),this.map.on("singleclick",this.handleMapClick)}destroyMap(){this.map&&(this.map.un("singleclick",this.handleMapClick),this.map.dispose(),this.map=void 0),this.markerOverlay=void 0}updateMarker(t){if(!this.map||!this.markerOverlay)return;if(null==(null==t?void 0:t.latitude)||null==(null==t?void 0:t.longitude))return void this.markerOverlay.setPosition(void 0);const e=u([t.longitude,t.latitude]),i=this.markerOverlay.getPosition();this.markerOverlay.setPosition(e),(!i||i[0]!==e[0]||i[1]!==e[1])&&this.map.getView().animate({center:e,zoom:16,duration:400})}async commitFromCoords(t,e){let i=null;if("function"==typeof this.reverseGeocode){this.isReverseGeocoding=!0;try{i=await this.reverseGeocode(t,e,{language:this.language})}catch(t){this.providerFailed.emit({phase:"reverseGeocode",error:t})}finally{this.isReverseGeocoding=!1}}this.commitValue({latitude:t,longitude:e,address:i,timestamp:(new Date).toISOString()})}scheduleSearch(t){if(null!=this.searchDebounceId&&(window.clearTimeout(this.searchDebounceId),this.searchDebounceId=null),0===t.trim().length)return this.suggestions=[],this.isSearching=!1,void(this.searchAbort&&this.searchAbort.abort());this.searchDebounceId=window.setTimeout((()=>{this.searchDebounceId=null,this.runSearch(t)}),this.searchDebounceMs)}async runSearch(t){if("function"!=typeof this.searchAddresses)return;this.searchAbort&&this.searchAbort.abort();const e=new AbortController;this.searchAbort=e;const i=e.signal;this.isSearching=!0;try{const e=await this.searchAddresses(t,{signal:i,countrySet:this.countrySet||void 0,language:this.language});if(i.aborted)return;this.suggestions=e}catch(t){if(i.aborted)return;if("AbortError"===(null==t?void 0:t.name))return;this.suggestions=[],this.providerFailed.emit({phase:"search",error:t})}finally{this.searchAbort===e&&(this.searchAbort=null,this.isSearching=!1)}}renderSearchPicker(t){return e("udp-popover",{open:this.isOpen,position:"bottom-start",toggleOnTriggerClick:!1,matchTriggerWidth:!0,onPopoverClose:this.handlePopoverClose},e("fluent-text-input",{slot:"trigger",ref:t=>this.internalInput=t,class:{"no-label":!this.label},value:this.searchQuery,name:this.name,placeholder:this.searchPlaceholder,disabled:this.disabled,readonly:this.readonly,appearance:"filled"===this.appearance?"filled-lighter":"outline",controlSize:this.controlSize,autocomplete:"off",onInput:this.handleSearchInput,onFocus:this.handleSearchFocus,onBlur:this.handleSearchBlur,onKeyDown:this.handleSearchKeyDown,onClick:this.handleSearchClick},this.label&&e("fluent-label",{required:this.required,disabled:this.disabled,onMouseDown:this.handleLabelMouseDown},this.label),t&&e("div",{slot:"end",class:"end-slot"},e("udp-fluent-icon-button",{class:"geo-button",iconName:"location",appearance:"transparent",size:"small",ariaLabel:this.geolocationButtonLabel,title:this.geolocationButtonLabel,loading:this.isLocating,disabled:this.disabled||this.isLocating,tabindex:-1,onMouseDown:this.handleGeoMouseDown,onClick:()=>{this.handleUseMyLocation()}}))),e("div",{slot:"content",class:"listbox-container"},this.renderListbox()))}renderListbox(){const t=this.searchQuery.trim(),i=this.isSearching,s=!this.isSearching&&0===this.suggestions.length&&t.length>0;return i||!this.isSearching&&this.suggestions.length>0||s?i?e("div",{class:"listbox-status","aria-live":"polite"},e("udp-spinner",{size:"tiny"}),e("span",null,"Searching…")):s?e("div",{class:"listbox-status listbox-status--empty","aria-live":"polite"},'No matches for "',t,'"'):e("fluent-listbox",null,this.suggestions.map(((t,i)=>e("fluent-option",{key:t.id,value:t.id,class:{active:i===this.highlightedIndex},onMouseDown:this.handleSuggestionMouseDown,onClick:()=>this.handleSuggestionSelect(t)},e("span",{slot:"checked-indicator"}),e("span",{class:"listbox-option-row"},e("udp-fluent-icon",{name:"location",size:"sm",class:"listbox-option-icon"}),e("span",{class:"listbox-option-text"},t.address.freeformAddress)))))):null}commitValue(t){var e,i;this.isInternalUpdate=!0,this.value=t;const s=null!==(i=null===(e=t.address)||void 0===e?void 0:e.freeformAddress)&&void 0!==i?i:"";this.searchQuery!==s&&(this.searchQuery=s,this.internalInput&&(this.internalInput.value=s)),this.updateMarker(t),this.valueChanged.emit(t)}render(){const t=!!this.error,s=this.error||this.hint,o=!s&&!this.includeErrorPadding,a=!this.hideAddressSearch,n=this.showGeolocationButton&&!this.readonly&&!this.disabled,r=this.showMap&&!this.tileUrlTemplate;return e(i,{key:"9a53de2e9f6e9f1056d7e3a8112f2d9b2520876b",class:{"has-error":t,[`size-${this.controlSize}`]:!0,[`appearance-${this.appearance}`]:!0,disabled:this.disabled,readonly:this.readonly}},e("fluent-field",{key:"bbdc58bfc4f6794d1297ed0aefc5e78362745af2",class:{"no-message":o}},e("div",{key:"7eec1c4ce915a25a29fbe4aaa504806b7f350bd4",slot:"input",class:"root"},!a&&this.label&&e("fluent-label",{key:"8b808686071b385d7f6dec229b1ebdf3b7e6bf39",class:"field-label",required:this.required,disabled:this.disabled},this.label),a&&this.renderSearchPicker(n),this.showMap&&e("div",{key:"d7c7261293802119eba1b5adeae61c6b6c7468bf",class:{"map-wrap":!0,"is-loading":this.isReverseGeocoding},style:{height:this.mapHeight}},r&&e("div",{key:"4ff6d427ea628076daf1ae419cc59c6372df9254",class:"map-empty"},e("udp-text",{key:"15e7d9ec86cbecb5c5cd920e4ca194635d8d9375",variant:"caption1",class:"map-empty-text"},"Map provider not configured.")),e("div",{key:"b635e133398a2b50672d128bd36428e55ef501d0",ref:t=>this.mapEl=t,class:"map","aria-label":this.label?`${this.label} map`:"Location map"}),this.isReverseGeocoding&&e("div",{key:"4bff28c6127c173490dba99cca1dc2810a99c9c5",class:"map-loading","aria-hidden":"true"},e("udp-spinner",{key:"24da3dbede48cbfc6e0184e946f9000304457d31",size:"small"})))),e("udp-text",{key:"3baa8e2b39f4e79b2f7a70922b777ef1aefaa26a",slot:"message",variant:"caption1",class:{message:!0,error:t,"include-error-padding":this.includeErrorPadding}},s)))}static get watchers(){return{value:[{onValueChange:0}],showMap:[{onShowMapChange:0}],mapHeight:[{onMapHeightChange:0}],tileUrlTemplate:[{onTileUrlChange:0}]}}};function D(t){if(t instanceof GeolocationPositionError){if(t.code===GeolocationPositionError.PERMISSION_DENIED)return"permission";if(t.code===GeolocationPositionError.POSITION_UNAVAILABLE)return"unavailable";if(t.code===GeolocationPositionError.TIMEOUT)return"timeout"}return"unavailable"}M.style=":host{display:inline-block;width:100%;font-family:var(--fontFamilyBase)}fluent-field{width:100%}fluent-field.no-message::part(message){display:none}.root{display:flex;flex-direction:column;gap:var(--spacingVerticalS, 8px);width:100%}.field-label{display:block;margin-bottom:var(--spacingVerticalXXS, 2px)}udp-popover{width:100%;display:block}fluent-text-input{width:100%;max-width:100%}.end-slot{display:inline-flex;align-items:center;margin-right:4px}.listbox-container{max-height:300px;overflow-y:auto}fluent-listbox{width:100%;background:var(--colorNeutralBackground1);border:none;border-radius:var(--borderRadiusMedium)}fluent-option{cursor:pointer}fluent-option:hover{background:var(--colorNeutralBackground1Hover)}fluent-option.active{box-shadow:inset 0 0 0 2px var(--colorNeutralStrokeAccessible)}fluent-option[disabled]{color:var(--colorNeutralForegroundDisabled);cursor:default}udp-popover::part(content){padding:0}.listbox-option-row{display:flex;align-items:center;gap:var(--spacingHorizontalS, 8px);min-width:0}.listbox-option-icon{flex:0 0 auto;color:var(--colorNeutralForeground3, #707070)}.listbox-option-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.listbox-status{display:flex;align-items:center;gap:var(--spacingHorizontalS, 8px);padding:var(--spacingVerticalS, 8px) var(--spacingHorizontalM, 12px);color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px)}.listbox-status--empty{font-style:italic}fluent-text-input.no-label::part(label){display:none}.map-wrap{position:relative;width:100%;border:1px solid var(--colorNeutralStroke2, #e0e0e0);border-radius:var(--borderRadiusMedium, 4px);overflow:hidden;background-color:var(--colorNeutralBackground2, #fafafa)}.map{width:100%;height:100%;cursor:crosshair}:host(.disabled) .map,:host(.readonly) .map{cursor:grab}.map-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:1}.map-empty-text{color:var(--colorNeutralForeground3, #707070);font-style:italic}.map-loading{position:absolute;top:var(--spacingVerticalS, 8px);right:var(--spacingHorizontalS, 8px);padding:var(--spacingVerticalXS, 4px);background-color:rgba(255, 255, 255, 0.9);border-radius:var(--borderRadiusMedium, 4px);z-index:2}:host(.disabled){opacity:0.6}:host(.has-error) .map-wrap{border-color:var(--colorPaletteRedBorder2, #b10e1c)}.message{color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px)}.message.include-error-padding{min-height:var(--lineHeightBase200, 16px);display:inline-block}.message.error{color:var(--colorPaletteRedForeground1, #b10e1c)}";const R=class{constructor(e){t(this,e),this.valueChanged=o(this,"valueChanged",7),this.geolocationDenied=o(this,"geolocationDenied",7),this.inputBlur=o(this,"inputBlur",7),this.inputFocus=o(this,"inputFocus",7),this.value=null,this.includeErrorPadding=!0,this.required=!1,this.disabled=!1,this.readonly=!1,this.appearance="outline",this.hideFullNameInput=!1,this.fullNamePlaceholder="Full name",this.fullNameLabel="Full name",this.includeLocation=!1,this.penColor="#1f1f1f",this.backgroundColor="rgba(0,0,0,0)",this.isEmpty=!0,this.cachedLocation=null,this.resizeRaf=null,this.isInternalUpdate=!1,this.handleResize=()=>{if(!this.pad||!this.canvasEl)return;const t=this.pad.isEmpty()?null:this.pad.toDataURL("image/png");this.resizeCanvasForDpr(),t?this.pad.fromDataURL(t,{ratio:window.devicePixelRatio||1}):this.pad.clear()},this.handleStrokeBegin=()=>{this.isEmpty&&(this.isEmpty=!1)},this.handleStrokeEnd=()=>{this.pad&&this.commitFromCanvas()},this.handleClear=()=>{this.disabled||this.readonly||!this.pad||(this.pad.clear(),this.isEmpty=!0,this.commitValue({file:null,metadata:null}))},this.handleFullNameChange=t=>{var e;t.stopPropagation();const i=null!==(e=t.detail)&&void 0!==e?e:"";this.commitValue({fullName:i})},this.handleFullNameBlur=t=>{t.stopPropagation(),this.inputBlur.emit()},this.handleFullNameFocus=t=>{t.stopPropagation(),this.inputFocus.emit()}}componentDidLoad(){var t;this.canvasEl&&(this.resizeCanvasForDpr(),this.pad=new p(this.canvasEl,{penColor:this.penColor,backgroundColor:this.backgroundColor}),this.pad.addEventListener("beginStroke",this.handleStrokeBegin),this.pad.addEventListener("endStroke",this.handleStrokeEnd),this.applyEnabledState(),(null===(t=this.value)||void 0===t?void 0:t.file)&&this.loadFileIntoPad(this.value.file),this.resizeObserver=new ResizeObserver((()=>{null!=this.resizeRaf&&cancelAnimationFrame(this.resizeRaf),this.resizeRaf=requestAnimationFrame(this.handleResize)})),this.resizeObserver.observe(this.canvasEl),this.includeLocation&&this.prewarmGeolocation())}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),null!=this.resizeRaf&&cancelAnimationFrame(this.resizeRaf),this.pad&&(this.pad.removeEventListener("beginStroke",this.handleStrokeBegin),this.pad.removeEventListener("endStroke",this.handleStrokeEnd),this.pad.off(),this.pad=void 0)}onValueChange(t){if(this.isInternalUpdate)this.isInternalUpdate=!1;else if(this.pad)return(null==t?void 0:t.file)?void this.loadFileIntoPad(t.file):(this.pad.clear(),void(this.isEmpty=!0))}onEnabledChange(){this.applyEnabledState()}onPenColorChange(t){this.pad&&(this.pad.penColor=t)}onBackgroundColorChange(t){this.pad&&(this.pad.backgroundColor=t)}onIncludeLocationChange(t){t&&!this.cachedLocation&&this.prewarmGeolocation(),t||(this.cachedLocation=null)}resizeCanvasForDpr(){if(!this.canvasEl)return;const t=Math.max(window.devicePixelRatio||1,1),e=this.canvasEl.getBoundingClientRect();if(0===e.width||0===e.height)return;this.canvasEl.width=e.width*t,this.canvasEl.height=e.height*t;const i=this.canvasEl.getContext("2d");i&&(i.setTransform(1,0,0,1,0,0),i.scale(t,t))}applyEnabledState(){this.pad&&(this.disabled||this.readonly?this.pad.off():this.pad.on())}async loadFileIntoPad(t){if(!this.pad)return;const e=await function(t){return new Promise(((e,i)=>{const s=new FileReader;s.onload=()=>e("string"==typeof s.result?s.result:""),s.onerror=()=>{var t;return i(null!==(t=s.error)&&void 0!==t?t:new Error("Failed to read signature file"))},s.readAsDataURL(t)}))}(t);this.pad&&(this.pad.clear(),this.pad.fromDataURL(e,{ratio:window.devicePixelRatio||1}),this.isEmpty=this.pad.isEmpty())}async commitFromCanvas(){if(!this.pad)return;if(this.pad.isEmpty())return this.isEmpty=!0,void this.commitValue({file:null,metadata:null});this.isEmpty=!1;const t=this.pad.toDataURL("image/png"),e=await async function(t){const e=await fetch(t),i=await e.blob();return new File([i],"signature.png",{type:i.type||"image/png"})}(t),i=await this.captureMetadata();this.commitValue({file:e,metadata:i})}commitValue(t){var e,i,s,o,a,n,r,l,d;const h={file:"file"in t?null!==(e=t.file)&&void 0!==e?e:null:null!==(s=null===(i=this.value)||void 0===i?void 0:i.file)&&void 0!==s?s:null,fullName:"fullName"in t?null!==(o=t.fullName)&&void 0!==o?o:null:null!==(n=null===(a=this.value)||void 0===a?void 0:a.fullName)&&void 0!==n?n:null,metadata:"metadata"in t?null!==(r=t.metadata)&&void 0!==r?r:null:null!==(d=null===(l=this.value)||void 0===l?void 0:l.metadata)&&void 0!==d?d:null};this.isInternalUpdate=!0,this.value=h,this.valueChanged.emit(h)}async prewarmGeolocation(){if("geolocation"in navigator)try{this.cachedLocation=await j({enableHighAccuracy:!0,timeout:3e4,maximumAge:0})}catch(t){const e=P(t);this.cachedLocation=null,this.geolocationDenied.emit({reason:e,message:t instanceof GeolocationPositionError?t.message:void 0})}else this.geolocationDenied.emit({reason:"unsupported"})}async captureMetadata(){const t={timestamp:(new Date).toISOString(),latitude:null,longitude:null};if(!this.includeLocation)return t;let e=this.cachedLocation;if(!e)try{e=await j({enableHighAccuracy:!0,timeout:3e4,maximumAge:0}),this.cachedLocation=e}catch(e){return this.geolocationDenied.emit({reason:P(e),message:e instanceof GeolocationPositionError?e.message:void 0}),t}return t.latitude=e.coords.latitude,t.longitude=e.coords.longitude,t}render(){var t,s,o;const a=!!this.error,n=this.error||this.hint,r=!n&&!this.includeErrorPadding,l=!this.readonly&&!this.disabled&&!this.isEmpty,d=this.readonly&&this.isEmpty&&!(null===(t=this.value)||void 0===t?void 0:t.file);return e(i,{key:"4bd1ce9b7fd7dcd4b8f6b45e59beeef61c4f496e",class:{"has-error":a,[`appearance-${this.appearance}`]:!0,disabled:this.disabled,readonly:this.readonly}},e("fluent-field",{key:"bc4c4047398a677faf38d3bc0d10589904476ef5",class:{"no-message":r}},e("div",{key:"0d5a06975c61ddf8b1a1de65aecac3be2209e999",slot:"input",class:"root"},e("div",{key:"5a5fb36e8d2e24602b64a92bd1d6d2496390ed0d",class:"signature-group"},e("div",{key:"f8091c9111bd17549915b57ec707c438ed19b251",class:"header"},this.label&&e("fluent-label",{key:"6a7d06656fc096108b92c734985b2b85e7de0ab1",class:"field-label",required:this.required,disabled:this.disabled},this.label),e("udp-fluent-button",{key:"4499dfae36536fdab82df9c011c5c600e1d09499",class:{"clear-button":!0,hidden:!l},appearance:"subtle",size:"small",disabled:!l,"aria-hidden":l?"false":"true",tabindex:l?0:-1,onClick:this.handleClear},"Clear")),e("div",{key:"be9fdd05857a6dea6b0b6f5692e2febbb19c6d4e",class:{"canvas-wrap":!0,empty:this.isEmpty},"aria-busy":this.disabled?"true":"false"},e("canvas",{key:"17b274cf908a5dca418e104fa0e315f53328ee7f",ref:t=>this.canvasEl=t,class:{canvas:!0,"canvas-readonly":this.readonly||this.disabled},"aria-label":this.label||"Signature"}),d&&e("div",{key:"a2cafef140d076ff1925509acd155dfb5e775963",class:"readonly-empty"},e("span",{key:"f8237958018b5fd012209b5b68bbd75704ea5dc0",class:"readonly-empty-text"},"No signature")),this.isEmpty&&!this.readonly&&!this.disabled&&e("div",{key:"b9f2f4d5ab0ac788dc9af7bc5a1d4bf442d69832",class:"canvas-hint","aria-hidden":"true"},e("span",{key:"6fef8c9ebef2874b8c8ca1ed22340db35843d03d"},"Sign here")))),!this.hideFullNameInput&&e("udp-fluent-text-input",{key:"99dcd6a9b22945badb3bdf7bc015bc5ff45189b9",class:"fullname-input",label:this.fullNameLabel,placeholder:this.fullNamePlaceholder,value:null!==(o=null===(s=this.value)||void 0===s?void 0:s.fullName)&&void 0!==o?o:"",disabled:this.disabled,readonly:this.readonly,required:this.required,includeErrorPadding:!1,appearance:"filled"===this.appearance?"filled-lighter":"outline",onValueChanged:this.handleFullNameChange,onInputBlur:this.handleFullNameBlur,onInputFocus:this.handleFullNameFocus})),e("udp-text",{key:"8363ccf2f7096037414d1fa32033745582505390",slot:"message",variant:"caption1",class:{message:!0,error:a,"include-error-padding":this.includeErrorPadding}},n)))}get el(){return s(this)}static get watchers(){return{value:[{onValueChange:0}],disabled:[{onEnabledChange:0}],readonly:[{onEnabledChange:0}],penColor:[{onPenColorChange:0}],backgroundColor:[{onBackgroundColorChange:0}],includeLocation:[{onIncludeLocationChange:0}]}}};function j(t){return new Promise(((e,i)=>{navigator.geolocation.getCurrentPosition(e,i,t)}))}function P(t){if(t instanceof GeolocationPositionError){if(t.code===GeolocationPositionError.PERMISSION_DENIED)return"permission";if(t.code===GeolocationPositionError.POSITION_UNAVAILABLE)return"unavailable";if(t.code===GeolocationPositionError.TIMEOUT)return"timeout"}return"unavailable"}R.style=":host{display:block;width:100%;font-family:var(--fontFamilyBase)}fluent-field{width:100%}fluent-field.no-message::part(message){display:none}.root{display:flex;flex-direction:column;gap:var(--spacingVerticalS, 8px);width:100%;min-width:0}.signature-group{display:flex;flex-direction:column;gap:var(--spacingVerticalXXS, 2px)}.header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacingHorizontalS, 8px);min-height:24px}.field-label{display:block}.clear-button{flex:0 0 auto}.clear-button.hidden{visibility:hidden}.canvas-wrap{position:relative;width:100%;aspect-ratio:7 / 2;min-height:144px;min-width:0;border:1px solid var(--colorNeutralStroke1, #d1d1d1);border-radius:var(--borderRadiusMedium, 4px);background-color:var(--colorNeutralBackground1, #ffffff);overflow:hidden;transition:background-color 100ms ease, border-color 100ms ease}:host(.appearance-filled) .canvas-wrap{background-color:var(--colorNeutralBackground2, #fafafa)}.canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.canvas-readonly{cursor:default}.canvas-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;color:var(--colorNeutralForeground4, #909090);font-size:var(--fontSizeBase200, 12px);letter-spacing:0.06em;text-transform:uppercase;z-index:0}.canvas{position:relative;z-index:1}.readonly-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;color:var(--colorNeutralForeground3, #707070);font-style:italic;font-size:var(--fontSizeBase200, 12px)}:host(.disabled){opacity:0.6}:host(.disabled) .canvas-wrap,:host(.readonly) .canvas-wrap{cursor:default}.fullname-input{width:100%}.message{color:var(--colorNeutralForeground3, #707070);font-size:var(--fontSizeBase200, 12px)}.message.include-error-padding{min-height:var(--lineHeightBase200, 16px);display:inline-block}.message.error{color:var(--colorPaletteRedForeground1, #b10e1c)}:host(.has-error) .canvas-wrap{border-color:var(--colorPaletteRedBorder2, #b10e1c)}";const E=class{constructor(e){t(this,e),this.valueChanged=o(this,"valueChanged",7),this.value=null,this.columns=[],this.includeErrorPadding=!0,this.required=!1,this.disabled=!1,this.readonly=!1,this.drawerOpen=!1,this.editingIndex=null,this.editingRow={},this.drawerErrors={},this.openAdd=()=>{if(this.isReadOnly)return;const t={};for(const e of this.columns)t[e.id]="";this.editingRow=t,this.editingIndex=null,this.drawerErrors={},this.drawerOpen=!0},this.openEdit=t=>{if(this.isReadOnly)return;const e=this.rows[t];e&&(this.editingRow=Object.assign({},e),this.editingIndex=t,this.drawerErrors={},this.drawerOpen=!0)},this.closeDrawer=()=>{this.drawerOpen=!1,this.editingIndex=null,this.editingRow={},this.drawerErrors={}},this.deleteRow=()=>{null!=this.editingIndex&&(this.deleteRowAt(this.editingIndex),this.closeDrawer())},this.setEditingCell=(t,e)=>{if(this.editingRow=Object.assign(Object.assign({},this.editingRow),{[t]:e}),this.drawerErrors[t]){const e=function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(s=Object.getOwnPropertySymbols(t);o<s.length;o++)e.indexOf(s[o])<0&&Object.prototype.propertyIsEnumerable.call(t,s[o])&&(i[s[o]]=t[s[o]])}return i}(this.drawerErrors,["symbol"==typeof t?t:t+""]);this.drawerErrors=e}},this.saveDrawer=()=>{this.commitEditingRow()&&this.closeDrawer()},this.saveAndAddAnother=()=>{if(!this.commitEditingRow())return;const t={};for(const e of this.columns)t[e.id]="";this.editingRow=t,this.editingIndex=null,this.drawerErrors={}},this.gridOptions={suppressContextMenu:!0,suppressCellFocus:!0,rowDragManaged:!0,onRowDragEnd:t=>{const e=[];t.api.forEachNode((t=>{!t.rowPinned&&t.data&&e.push(t.data)})),this.emit(e)},defaultColDef:{sortable:!1,filter:!1,resizable:!0,suppressHeaderMenuButton:!0,editable:!1,minWidth:100}}}get rows(){var t,e;return null!==(e=null===(t=this.value)||void 0===t?void 0:t.rows)&&void 0!==e?e:[]}get isReadOnly(){return this.disabled||this.readonly}closeDrawerOnExternalReset(){this.value&&0!==this.value.rows.length||(this.drawerOpen=!1,this.editingIndex=null,this.editingRow={},this.drawerErrors={})}emit(t){this.valueChanged.emit({rows:t})}deleteRowAt(t){if(this.isReadOnly)return;if(t<0||t>=this.rows.length)return;const e=this.rows.slice();e.splice(t,1),this.emit(e)}validateEditingRow(){const t={};for(const e of this.columns){const i=this.editingRow[e.id],s=null==i||"string"==typeof i&&""===i.trim();if(e.required&&s)t[e.id]=`${e.name} is required`;else if("number"===e.type&&!s){const s="number"==typeof i?i:Number(i);Number.isFinite(s)||(t[e.id]=`${e.name} must be a number`)}}return t}commitEditingRow(){const t=this.validateEditingRow();if(Object.keys(t).length>0)return this.drawerErrors=t,!1;const e={};for(const t of this.columns){const i=this.editingRow[t.id];e[t.id]="number"===t.type?""===i||null==i?null:"number"==typeof i?i:Number(i):null!=i?i:""}const i=this.rows.slice();return null==this.editingIndex?i.push(e):i[this.editingIndex]=e,this.emit(i),!0}hasConfiguredAggregates(){return(this.columns||[]).some((t=>"number"===t.type&&!!t.aggregate))}getAggregateDecimalPlaces(t){const e=Number(null==t?void 0:t.aggregateDecimalPlaces);return!Number.isInteger(e)||e<0?1:e}getAggregateLabel(t){switch(t.aggregate){case"sum":return"Sum";case"avg":return"Avg";case"min":return"Min";case"max":return"Max";default:return""}}getAggregateDisplay(t,e){if("number"===t.type&&t.aggregate){const e=this.getAggregateLabel(t);if(0===this.rows.length)return`${e}: N/A`;const i=this.rows.map((e=>Number(null==e?void 0:e[t.id]))).filter((t=>Number.isFinite(t)));let s=0;if(i.length>0)switch(t.aggregate){case"sum":s=i.reduce(((t,e)=>t+e),0);break;case"avg":s=i.reduce(((t,e)=>t+e),0)/i.length;break;case"min":s=Math.min(...i);break;case"max":s=Math.max(...i)}return`${e}: ${s.toFixed(this.getAggregateDecimalPlaces(t))}`}return 0===e&&"number"!==t.type&&this.hasConfiguredAggregates()?"Summary":""}buildColumnDefs(){const t=this.columns.map(((t,e)=>({headerName:t.required?`${t.name} *`:t.name,field:t.id,rowDrag:0===e&&!this.isReadOnly,cellRenderer:i=>{var s;if("bottom"===(null===(s=i.node)||void 0===s?void 0:s.rowPinned))return this.getAggregateDisplay(t,e);const o=i.value;return null==o||""===o?"":String(o)}})));if(this.isReadOnly)return t;const e={id:"edit-row",iconName:"edit",title:"Edit row",handleOnClick:(t,e)=>{const i=Number(null==e?void 0:e.rowIndex);Number.isInteger(i)&&i>=0&&this.openEdit(i)}},i={id:"delete-row",iconName:"delete",title:"Delete row",handleOnClick:(t,e)=>{const i=Number(null==e?void 0:e.rowIndex);Number.isInteger(i)&&i>=0&&this.deleteRowAt(i)}},s={headerName:"",field:"__actions",editable:!1,sortable:!1,filter:!1,resizable:!1,suppressHeaderMenuButton:!0,width:112,cellRendererSelector:t=>{var s;return"bottom"===(null===(s=t.node)||void 0===s?void 0:s.rowPinned)?void 0:{component:"actionsRenderer",params:{actionList:[e,i]}}}};return[...t,s]}render(){const t=this.buildColumnDefs(),s=this.columns.length>0,o=null!=this.editingIndex,a=this.hasConfiguredAggregates(),n=a?Object.assign(Object.assign({},this.gridOptions),{pinnedBottomRowData:[{}]}):this.gridOptions,r=`${Math.min(400,60+40*(a&&0===this.rows.length?2:this.rows.length)+40+(a?40:0))}px`;return e(i,{key:"7004d1aae458230abdffdbd56b953f84e51ca1c0"},this.label&&e("div",{key:"942e8409b18d7fecb20de5a4ac77526a1212b66f",class:"table-input-label"},e("udp-text",{key:"2ba064ca9e9f4d7dc713daad42b0d5278cb54d21",variant:"body1Strong"},this.label),this.required&&e("span",{key:"c4e51fac77f72f004058696b165b0afc0c68289b",class:"required-marker"}," *")),this.hint&&e("udp-text",{key:"a2498bcde15d97d9e93066ad62c5bb5eb6e4ded6",variant:"caption1"},this.hint),s&&!this.isReadOnly&&e("div",{key:"5af2b17e82e22d9a13f14ef32ff7014d6b29aa07",class:"table-input-toolbar"},e("udp-fluent-button",{key:"35308be433335882ce806d91929a556d98dafc72",appearance:"secondary",startIconName:"add",onClick:this.openAdd},"Add row")),s?e("div",{class:"table-input-grid-wrapper"},e("client-side-grid",{rowData:this.rows,columnDefs:t,gridOptions:n,gridHeight:r})):e("udp-text",{variant:"caption1"},"No columns configured for this table."),this.error&&e("div",{key:"4628dd37e75f4fda01752ade758546e6df2fde1e",class:"table-input-error"},this.error),e("udp-fluent-drawer",{key:"ad41bb55b9bfc0f78a30fed6fe953e25a4eaa132",open:this.drawerOpen,drawerTitle:o?"Edit row":"Add row",size:"medium",onDrawerClose:this.closeDrawer},e("udp-flexbox",{key:"411a2bdfde75afaa85276be4428e3e21e3b52318",display:"flex",direction:"column",gap:"md"},this.columns.map((t=>{const i=this.editingRow[t.id],s=null==i?"":"string"==typeof i?i:String(i);return e("udp-fluent-text-input",{key:t.id,label:t.name,required:t.required,type:"number"===t.type?"number":"text",value:s,error:this.drawerErrors[t.id],onValueChanged:e=>this.setEditingCell(t.id,e.detail)})}))),e("div",{key:"c1cf08e1b33c7a9bd4e5567d7955e62d2982e4c0",slot:"footer",class:"table-input-drawer-footer"},o&&e("udp-fluent-button",{key:"a905370cbbb2b76482e826545393a8f8115b88a2",appearance:"secondary",startIconName:"delete",onClick:this.deleteRow},"Delete row"),e("udp-fluent-button",{key:"5c01e1f60662a4aa4ba2acf2d4d6f901efd3d21e",appearance:"primary",onClick:this.saveDrawer,startIconName:"checkmark"},"Done"),!o&&e("udp-fluent-button",{key:"9df34ad947e63d27da38fd79a34567ff24f276e3",appearance:"secondary",startIconName:"add",onClick:this.saveAndAddAnother},"New row"),e("udp-fluent-button",{key:"a095fa983b4cfb8ac764297ee7e905560ac508e3",appearance:"subtle",onClick:this.closeDrawer},"Cancel"))))}get el(){return s(this)}static get watchers(){return{value:[{closeDrawerOnExternalReset:0}]}}};E.style=":host{display:block}.table-input-label{display:flex;align-items:center;margin-bottom:4px}.required-marker{color:var(--colorPaletteRedForeground1, #d13438);margin-left:2px}.table-input-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}.table-input-grid-wrapper{width:100%}.table-input-error{margin-top:4px;color:var(--colorPaletteRedForeground1, #d13438);font-size:12px}.table-input-drawer-footer{display:flex;justify-content:flex-end;gap:8px}udp-fluent-table-input .ag-floating-bottom .ag-cell{font-weight:600;background-color:var(--colorNeutralBackground3, #ebebeb)}";const H=class{constructor(e){t(this,e),this.label="Response Tally",this.tallyMode="all",this.includeFields=[],this.excludeFields=[],this.yesCount=0,this.noCount=0,this.naCount=0,this.totalFields=0,this.yesNoQuestions=[]}componentWillLoad(){this.rebuildYesNoQuestions()}onTallyInputsChanged(){this.rebuildYesNoQuestions()}rebuildYesNoQuestions(){this.yesNoQuestions=this.collectYesNoQuestions(this.loadedForm),this.totalFields=this.yesNoQuestions.length}componentDidLoad(){this.el.dispatchEvent(new CustomEvent("fetchFormInstance",{bubbles:!0,composed:!0,detail:t=>this.subscribe(t)}))}disconnectedCallback(){this.unsubscribe&&this.unsubscribe()}normalizeTallyEntries(t){const e=new Set;for(const i of null!=t?t:[]){const t=String(i);if(!t.includes(".")){e.add(t);continue}const s=t.split("."),o=s[0],a=s[1],n=f(o),r=this.loadedForm.sections.find((t=>t.name===n||t.name===o)),l=null==r?void 0:r.questions.find((t=>t.name===a));l&&e.add(l.id)}return e}collectYesNoQuestions(t){var e,i;const s=[];for(const e of t.sections)for(const t of e.questions)t.fieldTypeId===b.YesNo&&t.id!==this.questionId&&s.push(t);if("include"===this.tallyMode){const t=this.normalizeTallyEntries(null!==(e=this.includeFields)&&void 0!==e?e:[]);return s.filter((e=>t.has(e.id)))}if("exclude"===this.tallyMode){const t=this.normalizeTallyEntries(null!==(i=this.excludeFields)&&void 0!==i?i:[]);return s.filter((e=>!t.has(e.id)))}return s}subscribe(t){this.unsubscribe=t.subscribe((t=>{const e=t.values;let i=0,s=0,o=0;for(const t of this.yesNoQuestions){const a=null==e?void 0:e[t.id];"true"===a||!0===a?i++:"false"===a||!1===a?s++:"na"===a&&o++}this.yesCount=i,this.noCount=s,this.naCount=o}),{values:!0})}render(){return e(i,{key:"88e7aecadccc319d7479fc9c9e196f2ae7ff0871"},e("tally-display",{key:"58902762f239c2d583ffd38af896537235049c8f",label:this.label,yesCount:this.yesCount,noCount:this.noCount,naCount:this.naCount,totalFields:this.totalFields}))}get el(){return s(this)}static get watchers(){return{loadedForm:[{onTallyInputsChanged:0}],tallyMode:[{onTallyInputsChanged:0}],includeFields:[{onTallyInputsChanged:0}],excludeFields:[{onTallyInputsChanged:0}],questionId:[{onTallyInputsChanged:0}]}}};export{v as udp_detail_list,y as udp_detail_list_item,F as udp_fluent_file_input,B as udp_fluent_image,_ as udp_fluent_list_input,M as udp_fluent_location_input,R as udp_fluent_signature_input,E as udp_fluent_table_input,H as udp_question_tally_adapter}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as o,H as i}from"./index-15aY63VA.js";import"@fluentui/web-components/text-input.js";import"@fluentui/web-components/field.js";import"@fluentui/web-components/label.js";const s=class{constructor(o){t(this,o),this.valueChanged=e(this,"valueChanged",7),this.inputBlur=e(this,"inputBlur",7),this.inputFocus=e(this,"inputFocus",7),this.includeErrorPadding=!0,this.required=!1,this.disabled=!1,this.readonly=!1,this.autofocus=!1,this.autocomplete="off",this.appearance="outline",this.controlSize="medium",this.handleKeyDown=t=>{var e,o,i,s,l;const{key:r,ctrlKey:n,metaKey:a}=t;if(!n&&!a&&!["Backspace","Delete","Tab","Enter","ArrowLeft","ArrowRight","Home","End"].includes(r)){if("ArrowUp"===r||"ArrowDown"===r)return this.handleStep("ArrowUp"===r?1:-1),void t.preventDefault();if("e"!==r&&"E"!==r&&"+"!==r)if("."!==r)if(/^\d$/.test(r)){if(null!=this.decimals&&this.decimals>0){const e=null===(s=null===(i=this.internalInput)||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector("input");if(e){const o=e.value,i=o.indexOf(".");-1!==i&&(null!==(l=e.selectionEnd)&&void 0!==l?l:o.length)>i&&o.length-i-1>=this.decimals&&t.preventDefault()}}}else"-"!==r&&t.preventDefault();else{if(0===this.decimals)return void t.preventDefault();const i=null===(o=null===(e=this.internalInput)||void 0===e?void 0:e.shadowRoot)||void 0===o?void 0:o.querySelector("input");(null==i?void 0:i.value.includes("."))&&t.preventDefault()}else t.preventDefault()}},this.handleInput=t=>{t.stopPropagation(),this.valueChanged.emit(t.target.value)},this.handleBlur=()=>{this.inputBlur.emit()}}onValuePropChange(t){this.internalInput&&(this.internalInput.value=null!=t?t:"")}componentDidLoad(){this.internalInput&&null!=this.value&&(this.internalInput.value=this.value)}select(){var t;return null===(t=this.internalInput)||void 0===t||t.select(),Promise.resolve()}handleStep(t){var e,o,i;const s=null===(o=null===(e=this.internalInput)||void 0===e?void 0:e.shadowRoot)||void 0===o?void 0:o.querySelector("input");if(!s)return;const l=null!=this.step&&""!==this.step?parseFloat(this.step):1,r=isNaN(l)?1:l,n=parseFloat(s.value),a=(isNaN(n)?0:n)+t*r,u=null!==(i=this.step)&&void 0!==i?i:"1",c=u.indexOf("."),d=a.toFixed(-1!==c?u.length-c-1:0);this.internalInput&&(this.internalInput.value=d),this.valueChanged.emit(d)}render(){const t=!!this.error,e=this.error||this.hint;return o(i,{key:"72c19d3487b8e3b4f1a5d07182e9705404b1fcc3",class:{"has-error":t}},o("fluent-field",{key:"aff65795d6e42cca8e1a40ab8fa84e7cc2e93c88",class:{"no-message":!e&&!this.includeErrorPadding}},o("fluent-text-input",{key:"50156936f5eafc0a60fb21e3e23b51a4f0f555a3",ref:t=>this.internalInput=t,slot:"input",class:{"no-label":!this.label},name:this.name,placeholder:this.placeholder,required:this.required,disabled:this.disabled,readonly:this.readonly,autofocus:this.autofocus,autocomplete:this.autocomplete,spellcheck:"false",appearance:this.appearance,controlSize:this.controlSize,onKeyDown:this.handleKeyDown,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:()=>this.inputFocus.emit(),onInvalid:t=>t.preventDefault()},o("slot",{key:"a5ec4eff73721956bf06d8a84e99dfdc29138077",slot:"start",name:"start"}),o("slot",{key:"42da83d2b5ba410db4cad82346818a91313ce96f",slot:"end",name:"end"}),this.label&&o("fluent-label",{key:"1aab50dfc74cc536eccde6549d6426ce9e151ef0",required:this.required,disabled:this.disabled},this.label,this.popupHint&&o("udp-tooltip",{key:"b5c7835865d831f4e23eb4fb2d93e3cf8b641fa1",content:this.popupHint,positioning:"above"},o("udp-fluent-icon",{key:"601395d57dedce552188037d79e300727a4728b8",name:"info",size:"xs",class:"popup-hint-icon"})))),o("udp-text",{key:"ae85714ed9c065c52032f7191cb200f5e764fc0c",slot:"message",variant:"caption1",class:{message:!0,error:t,includeErrorPadding:this.includeErrorPadding}},e)))}static get delegatesFocus(){return!0}static get watchers(){return{value:[{onValuePropChange:0}]}}};s.style="fluent-text-input[disabled]::part(control){color:var(--colorNeutralForegroundDisabled);-webkit-text-fill-color:var(--colorNeutralForegroundDisabled)}fluent-text-input[disabled]::part(root){background-color:var(--colorNeutralBackgroundDisabled)}fluent-label[disabled]{color:var(--colorNeutralForeground1)}fluent-text-input::part(control):-webkit-autofill,fluent-text-input::part(control):-webkit-autofill:hover,fluent-text-input::part(control):-webkit-autofill:focus,fluent-text-input::part(control):-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px var(--colorNeutralBackground1) inset !important;-webkit-text-fill-color:var(--colorNeutralForeground1) !important;transition:background-color 5000s ease-in-out 0s}:host{display:block;width:100%}fluent-field{width:100%}fluent-text-input{width:100%;max-width:100%}.message{color:var(--colorNeutralForeground3)}.message.includeErrorPadding{min-height:var(--lineHeightBase200)}.message.error{color:var(--colorPaletteRedForeground1)}.popup-hint-icon{margin-left:2px}fluent-text-input.no-label::part(label){display:none}fluent-field.no-message::part(message){display:none}:host(.has-error) fluent-text-input::part(root){border-color:var(--colorPaletteRedBorder2)}:host(.has-error:focus-within) fluent-text-input::part(root){border-color:var(--colorNeutralStroke1)}";export{s as udp_fluent_number_input}