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,16 +1,23 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-15aY63VA.js';
2
- import { i as isDisplayOnlyFieldType, F as FormType, a as FieldTypeId } from './types-C9Z-dgvN.js';
3
- import { i as isValueEmpty, j as getIntrinsicRulesFor, b as getAuthorRulesFor, k as validateChoiceItems, l as createDefaultTableColumn, m as isNumericTableColumnType, n as ensureTableColumnIds, a as getType, d as decodeValue, o as hydrateValueWithMetadata, e as encodeValue, q as buildResponseMetadata, r as isPassOneFieldType, S as SubmissionStatus, s as extractFilesFromValueEntries, t as extractFilesFromValues, p as parseForm, c as fetchFollowUpFormsList, u as getDriveFileId } from './codecs-CI_fHfY1.js';
2
+ import { n as isValueEmpty, o as getIntrinsicRulesFor, b as getAuthorRulesFor, p as validateChoiceItems, q as ensureTableColumnIds, r as createDefaultTableColumn, t as isNumericTableColumnType, u as fetchDomainColumns, a as getType, d as decodeValue, w as hydrateValueWithMetadata, e as encodeValue, x as buildResponseMetadata, y as isPassOneFieldType, S as SubmissionStatus, z as extractFilesFromValueEntries, A as extractFilesFromValues, B as parseForm, C as isDomainGrid, k as fetchFollowUpFormsList, D as getDriveFileId } from './codecs-BWyrM561.js';
3
+ import { i as isDisplayOnlyFieldType, a as FormType, F as FieldTypeId } from './types-NqFGtWPW.js';
4
4
  import Sortable from 'sortablejs';
5
- import { C as ConfigService } from './configService-D_9j963S.js';
6
- import { c as createAzureMapsProviders } from './createAzureMapsProviders-CLLCmr8f.js';
7
- import { d as downloadFileFromUdpDriveFile } from './udp-drive-utils-DCivw3gq.js';
5
+ import { C as ConfigService } from './configService-CehZzjhw.js';
6
+ import { c as createAzureMapsProviders, L as LookupTypeId } from './createAzureMapsProviders-CtQryp1H.js';
7
+ import { d as downloadFileFromUdpDriveFile } from './udp-drive-utils-BVTuKAND.js';
8
8
  import { f as formRegistry } from './form-registry-BhFl_bdX.js';
9
9
  import { v4 } from 'uuid';
10
+ import { g as getSlotIndex, s as stripSectionCopySuffix, i as isSnapshot, a as getDomainRows, b as buildSnapshot } from './domain-table-snapshot-H3o5mjFB.js';
10
11
  import { m as makeApiCall } from './makeApiCall-B-daVutk.js';
11
- import { g as getSlotIndex, s as stripSectionCopySuffix } from './slot-index-aYrr8BJl.js';
12
12
  import './tenantUtils-Basdb1b1.js';
13
+ import './apiUtils-CXqsYwOQ.js';
14
+ import 'lodash-es/isEqual';
15
+ import './getCurrentApiCatalogId-DeurXd9l.js';
16
+ import './convertBackendTypeToAgGridType-B8xfl_wR.js';
13
17
  import 'axios';
18
+ import './SearchBuilder-BxLXFEeR.js';
19
+ import './searchObject-DpUZkcYC.js';
20
+ import './lookupHelper-D3LSjaES.js';
14
21
 
15
22
  /**
16
23
  * Resolve the option list for a choice question. Manual questions carry their
@@ -165,12 +172,12 @@ const UdpFluentInlineEdit = class {
165
172
  var _a, _b;
166
173
  const text = (_a = this.typedValue) !== null && _a !== void 0 ? _a : this.value;
167
174
  const showingPlaceholder = !text;
168
- return (h(Host, { key: 'd5d5cd92044c8e4bf88ff7a1b56722d2b8790ff1' }, this.fitContent && (
175
+ return (h(Host, { key: 'd5a6015651f3a72d0f7257b2fc3019c1ffefcba3' }, this.fitContent && (
169
176
  // Hidden mirror of the input's text. It shares the `.inline-edit-box` metrics
170
177
  // with the input and sits in the same single grid cell, so the cell — and with
171
178
  // it the input at `width: 100%` — is exactly as wide as the text. The trailing
172
179
  // space keeps a space typed at the end from collapsing (`white-space: pre`).
173
- h("span", { key: '7c3de2948a367e05fc5548c162ac4ed9fbb4c4c4', class: { 'inline-edit-box': true, 'inline-edit-mirror': true, 'is-placeholder': showingPlaceholder }, "aria-hidden": "true" }, `${showingPlaceholder ? (_b = this.placeholder) !== null && _b !== void 0 ? _b : '' : text} `)), h("input", { key: 'b88c9f97c5f00e07266be124d2ba7c7604157e8c', ref: el => (this.inputEl = el), class: "inline-edit-box inline-edit-input", type: "text",
180
+ h("span", { key: '2d29e60a256cc9e5ae8ebe2868f43247a7915190', class: { 'inline-edit-box': true, 'inline-edit-mirror': true, 'is-placeholder': showingPlaceholder }, "aria-hidden": "true" }, `${showingPlaceholder ? (_b = this.placeholder) !== null && _b !== void 0 ? _b : '' : text} `)), h("input", { key: '5f50c146170985f90bbb6d8c208fd170852dd878', ref: el => (this.inputEl = el), class: "inline-edit-box inline-edit-input", type: "text",
174
181
  // `size` sets an input's intrinsic width, which is what the grid cell would
175
182
  // otherwise be sized from. Dropping it to 1 hands the sizing to the mirror.
176
183
  size: this.fitContent ? 1 : undefined, value: this.value, placeholder: this.placeholder, readOnly: this.readonly, maxlength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.handleInput, onBlur: () => this.inputBlur.emit(), onFocus: () => this.inputFocus.emit() })));
@@ -206,7 +213,7 @@ const UdpFormVersionDrawer = class {
206
213
  (_c = this.onDrawerClose) === null || _c === void 0 ? void 0 : _c.call(this);
207
214
  }
208
215
  render() {
209
- return (h(Host, { key: 'f87b47b31940d937892e7adbaf0146aa053bfa82' }, h("udp-fluent-drawer", { key: 'efc35cd2eab6647e69aa4710b74981a2aa194239', open: this.open, drawerTitle: "Versions", onDrawerClose: this.onDrawerClose, size: "small" }, h("udp-list", { key: '13a20d18eeeff7e1be07141182e2b3dc059547d8', interactive: true, selectionMode: "none", showDivider: true }, [...this.versions].sort((a, b) => b - a).map((version) => (h("udp-fluent-list-item", { key: version, value: version, label: `Version ${version}` }, version === this.currentVersion && (h("udp-fluent-badge", { slot: "end", appearance: "tint", color: "informative", shape: "rounded", size: "small" }, "Current")))))))));
216
+ return (h(Host, { key: 'cfcba8aba885b0fa2e5c59d7c509f24859c20920' }, h("udp-fluent-drawer", { key: '4d0ccc5933be10f666a6ea994e2e23497cf08776', open: this.open, drawerTitle: "Versions", onDrawerClose: this.onDrawerClose, size: "small" }, h("udp-list", { key: 'df8f6cef5089248abbe80546e6b0facbb287c85a', interactive: true, selectionMode: "none", showDivider: true }, [...this.versions].sort((a, b) => b - a).map((version) => (h("udp-fluent-list-item", { key: version, value: version, label: `Version ${version}` }, version === this.currentVersion && (h("udp-fluent-badge", { slot: "end", appearance: "tint", color: "informative", shape: "rounded", size: "small" }, "Current")))))))));
210
217
  }
211
218
  };
212
219
 
@@ -520,6 +527,313 @@ function renderLocationConfig(ctx) {
520
527
  } })), showMap && (h("udp-flexbox", { display: "flex", direction: "column", gap: "md" }, h("udp-field", { name: "fieldProperties.hideAddressSearch" }, h("udp-fluent-switch", { label: "Hide Address Search Bar", labelPosition: "after", disabled: ctx.isViewOnly })), h("udp-field", { name: "fieldProperties.mapZoom" }, h("udp-fluent-text-input", { label: "Map Zoom", type: "number", disabled: ctx.isViewOnly })), h("udp-field", { name: "fieldProperties.projection" }, h("udp-fluent-text-input", { label: "Projection", disabled: ctx.isViewOnly, placeholder: "Enter map projection here" })), h("udp-field", { name: "fieldProperties.projectionDefs" }, h("udp-fluent-text-input", { label: "Projection Definition", disabled: ctx.isViewOnly, placeholder: "Enter map projection definition here" }))))));
521
528
  }
522
529
 
530
+ const customColumnTypeOptions = [
531
+ { value: 'text', label: 'Text' },
532
+ { value: 'number', label: 'Number' },
533
+ { value: 'boolean', label: 'Boolean' },
534
+ { value: 'date', label: 'Date' },
535
+ { value: 'datetime', label: 'Date time' },
536
+ ];
537
+ /** A custom column's key (`customColumn{n}`) must never collide with (or alias to) a domain field. */
538
+ const nextCustomColumnNumber = (takenKeys) => {
539
+ let n = 1;
540
+ while (takenKeys.has(`customcolumn${n}`))
541
+ n++;
542
+ return n;
543
+ };
544
+ const aggregateOptions$1 = [
545
+ { value: 'sum', label: 'Sum' },
546
+ { value: 'avg', label: 'Average' },
547
+ { value: 'min', label: 'Min' },
548
+ { value: 'max', label: 'Max' },
549
+ ];
550
+ const aggregateDecimalPlacesOptions$1 = [
551
+ { value: '0', label: '0' },
552
+ { value: '1', label: '1' },
553
+ { value: '2', label: '2' },
554
+ { value: '3', label: '3' },
555
+ ];
556
+ /** Same reactive-value-or-draft precedence every type-specific config uses. */
557
+ function readDomainTableState(ctx) {
558
+ const domainRaw = readDraftFieldProperty(ctx, 'domainLookupId');
559
+ const columnsRaw = readDraftFieldProperty(ctx, 'columns');
560
+ return {
561
+ domainLookupId: typeof domainRaw === 'string' ? domainRaw : '',
562
+ columns: Array.isArray(columnsRaw) ? columnsRaw : [],
563
+ };
564
+ }
565
+ function renderDomainTableConfig(ctx) {
566
+ var _a, _b, _c, _d, _e, _f, _g, _h;
567
+ const { domainLookupId, columns } = readDomainTableState(ctx);
568
+ const lookupOptions = (_a = ctx.lookupOptions) !== null && _a !== void 0 ? _a : [];
569
+ // The grid's source must be a domain; a column may also map to a virtual lookup.
570
+ const domainOptions = lookupOptions.filter(o => o.typeId === LookupTypeId.Domain);
571
+ const columnLookupOptions = lookupOptions.filter(o => o.typeId === LookupTypeId.Domain || o.typeId === LookupTypeId.Lookup);
572
+ const schema = (_b = ctx.domainSchemaByLookupId) === null || _b === void 0 ? void 0 : _b[domainLookupId];
573
+ const isLoadingSchema = !!((_c = ctx.domainSchemaLoading) === null || _c === void 0 ? void 0 : _c[domainLookupId]);
574
+ // Kick off the fetch as a side effect of render — mirrors how ListOptionsConfig
575
+ // reads state, but this config also needs to trigger a fetch the first time a
576
+ // domain is selected (e.g. reopening a previously-saved question).
577
+ if (domainLookupId && !schema && !isLoadingSchema) {
578
+ (_d = ctx.fetchDomainSchema) === null || _d === void 0 ? void 0 : _d.call(ctx, domainLookupId);
579
+ }
580
+ const writeDomain = (next) => {
581
+ var _a, _b, _c, _d, _e;
582
+ (_b = (_a = ctx.getForm) === null || _a === void 0 ? void 0 : _a.call(ctx)) === null || _b === void 0 ? void 0 : _b.change('fieldProperties.domainLookupId', next);
583
+ // Switching domains invalidates any prior column selection — the new
584
+ // domain's schema is unrelated to the old one's column keys. Custom
585
+ // columns don't depend on the domain, so they're kept.
586
+ (_d = (_c = ctx.getForm) === null || _c === void 0 ? void 0 : _c.call(ctx)) === null || _d === void 0 ? void 0 : _d.change('fieldProperties.columns', columns.filter(c => c.custom));
587
+ if (next)
588
+ (_e = ctx.fetchDomainSchema) === null || _e === void 0 ? void 0 : _e.call(ctx, next);
589
+ };
590
+ const writeColumns = (next) => {
591
+ var _a, _b;
592
+ (_b = (_a = ctx.getForm) === null || _a === void 0 ? void 0 : _a.call(ctx)) === null || _b === void 0 ? void 0 : _b.change('fieldProperties.columns', next);
593
+ };
594
+ // Columns saved before their type was detected (e.g. dates saved as 'text')
595
+ // pick up the domain's current metadata. Only 'text' is upgraded: when the
596
+ // `UdpObjectInfo` fetch fails the schema falls back to describe-only, which
597
+ // reports dates and booleans as 'text' and must not overwrite them. A lookup
598
+ // is never healed in — it needs a `lookupId`, and clearing one is the
599
+ // author's choice.
600
+ if (schema && !ctx.isViewOnly) {
601
+ const typeByKey = new Map(schema.map(d => [d.key.toLowerCase(), d.type]));
602
+ const healed = columns.map(col => {
603
+ const detected = typeByKey.get(col.key.toLowerCase());
604
+ return detected && col.type === 'text' && detected !== 'text' && detected !== 'lookup'
605
+ ? Object.assign(Object.assign({}, col), { type: detected }) : col;
606
+ });
607
+ if (healed.some((col, i) => col !== columns[i]))
608
+ writeColumns(healed);
609
+ }
610
+ const findColumn = (key) => columns.find(c => c.key === key);
611
+ const toColumn = (descriptor, patch) => {
612
+ var _a, _b, _c, _d;
613
+ const existing = findColumn(descriptor.key);
614
+ if (existing && !patch)
615
+ return existing;
616
+ return Object.assign({ key: descriptor.key, displayName: existing === null || existing === void 0 ? void 0 : existing.displayName,
617
+ // A saved type wins over a 'text' one from a describe-only fallback schema;
618
+ // the heal pass above upgrades a saved 'text'.
619
+ type: existing && existing.type !== 'text' ? existing.type : descriptor.type, lookupId: (_a = existing === null || existing === void 0 ? void 0 : existing.lookupId) !== null && _a !== void 0 ? _a : descriptor.lookupId, isKey: descriptor.isKey, custom: existing === null || existing === void 0 ? void 0 : existing.custom, show: (_b = existing === null || existing === void 0 ? void 0 : existing.show) !== null && _b !== void 0 ? _b : false, editable: (_c = existing === null || existing === void 0 ? void 0 : existing.editable) !== null && _c !== void 0 ? _c : false, required: (_d = existing === null || existing === void 0 ? void 0 : existing.required) !== null && _d !== void 0 ? _d : false, locked: existing === null || existing === void 0 ? void 0 : existing.locked, aggregate: existing === null || existing === void 0 ? void 0 : existing.aggregate, aggregateDecimalPlaces: existing === null || existing === void 0 ? void 0 : existing.aggregateDecimalPlaces }, patch);
620
+ };
621
+ // A freshly picked domain starts with its display-value column (the lookup's
622
+ // `valueName`) visible. Only while no domain column is saved yet, so an
623
+ // author's later choice to hide it sticks.
624
+ const valueName = (_f = (_e = domainOptions
625
+ .find(o => o.value === domainLookupId)) === null || _e === void 0 ? void 0 : _e.valueName) === null || _f === void 0 ? void 0 : _f.toLowerCase();
626
+ if (schema && valueName && !ctx.isViewOnly && !columns.some(c => !c.custom)) {
627
+ const descriptor = schema.find(d => d.key.toLowerCase() === valueName && !d.isKey);
628
+ if (descriptor)
629
+ writeColumns([toColumn(descriptor, { show: true }), ...columns]);
630
+ }
631
+ // Display order: the saved columns in the author's order, then any schema
632
+ // columns not configured yet. A primary-key column can be shown and mapped to
633
+ // a lookup, but never edited or aggregated; it still becomes each row's `_recordId`.
634
+ // A custom column stands in as its own descriptor.
635
+ const schemaByKey = new Map((schema !== null && schema !== void 0 ? schema : []).map(d => [d.key, d]));
636
+ const displayDescriptors = [
637
+ ...columns
638
+ .map(c => {
639
+ var _a;
640
+ return c.custom
641
+ ? { key: c.key, displayName: (_a = c.displayName) !== null && _a !== void 0 ? _a : '', type: c.type, lookupId: c.lookupId }
642
+ : schemaByKey.get(c.key);
643
+ })
644
+ .filter((d) => !!d),
645
+ ...(schema !== null && schema !== void 0 ? schema : []).filter(d => !findColumn(d.key)),
646
+ ];
647
+ // Domain columns no longer in the schema are kept as-is at the end.
648
+ const orphanColumns = columns.filter(c => !c.custom && !schemaByKey.has(c.key));
649
+ // Every write persists the full display order, so a column keeps its position.
650
+ const writeOrdered = (descriptors, patchKey, patch) => {
651
+ writeColumns([
652
+ ...descriptors.map(d => (d.key === patchKey ? toColumn(d, patch) : toColumn(d))),
653
+ ...orphanColumns,
654
+ ]);
655
+ };
656
+ const patchColumn = (descriptor, patch) => {
657
+ writeOrdered(displayDescriptors, descriptor.key, patch);
658
+ };
659
+ const moveColumn = (fromIndex, toIndex) => {
660
+ if (fromIndex === toIndex || toIndex < 0 || toIndex >= displayDescriptors.length)
661
+ return;
662
+ const next = displayDescriptors.slice();
663
+ const [moved] = next.splice(fromIndex, 1);
664
+ next.splice(toIndex, 0, moved);
665
+ writeOrdered(next);
666
+ };
667
+ // Custom columns are user input by definition — always shown and editable.
668
+ const addCustomColumn = () => {
669
+ const n = nextCustomColumnNumber(takenKeysExcept());
670
+ writeColumns([
671
+ ...displayDescriptors.map(d => toColumn(d)),
672
+ {
673
+ key: `customColumn${n}`,
674
+ displayName: `Column ${n}`,
675
+ type: 'text',
676
+ custom: true,
677
+ show: true,
678
+ editable: true,
679
+ required: false,
680
+ },
681
+ ...orphanColumns,
682
+ ]);
683
+ };
684
+ // Lowercased keys of every domain field and saved column, minus `exceptKey` — prefill matches keys ignoring case.
685
+ const takenKeysExcept = (exceptKey) => new Set([...(schema !== null && schema !== void 0 ? schema : []).map(d => d.key), ...columns.map(c => c.key)]
686
+ .filter(k => k !== exceptKey)
687
+ .map(k => k.toLowerCase()));
688
+ // Prefill matches keys ignoring case, a leading `_` is reserved for row
689
+ // metadata (`_recordId`, `_added`), and the grid reads a dotted name as a nested path.
690
+ const columnNameError = (name, savedKey) => {
691
+ if (!name)
692
+ return 'Column name is required.';
693
+ if (name.startsWith('_'))
694
+ return 'Column names can\'t start with "_".';
695
+ if (name.includes('.'))
696
+ return 'Column names can\'t contain ".".';
697
+ if (takenKeysExcept(savedKey).has(name.toLowerCase())) {
698
+ return 'A column with this name already exists.';
699
+ }
700
+ return null;
701
+ };
702
+ // An invalid column name is held here (saved key → typed name), never in
703
+ // `columns`: the key is the column's identity, so a duplicate would merge two
704
+ // columns. Not part of the saved question; the drawer blocks save while any remain.
705
+ const nameDrafts = ((_h = (_g = ctx.formValues) === null || _g === void 0 ? void 0 : _g.columnNameDrafts) !== null && _h !== void 0 ? _h : {});
706
+ const writeNameDraft = (savedKey, name) => {
707
+ var _a, _b;
708
+ const next = Object.assign({}, nameDrafts);
709
+ if (name === undefined)
710
+ delete next[savedKey];
711
+ else
712
+ next[savedKey] = name;
713
+ (_b = (_a = ctx.getForm) === null || _a === void 0 ? void 0 : _a.call(ctx)) === null || _b === void 0 ? void 0 : _b.change('columnNameDrafts', next);
714
+ };
715
+ const removeColumn = (key) => {
716
+ if (key in nameDrafts)
717
+ writeNameDraft(key);
718
+ writeOrdered(displayDescriptors.filter(d => d.key !== key));
719
+ };
720
+ const columnsRef = createSortableRef(moveColumn, ctx.isViewOnly);
721
+ return (h("udp-flexbox", { display: "flex", direction: "column", gap: "md" }, h("udp-field", { name: "fieldProperties.allowAddRows" }, h("udp-fluent-switch", { label: "Allow Adding Rows", labelPosition: "after", hint: "Let users add their own rows and type in every visible column.", disabled: ctx.isViewOnly })), h("udp-fluent-dropdown", { label: "Lookup", placeholder: "Select a lookup", options: domainOptions, value: domainLookupId, disabled: ctx.isViewOnly, required: true, onValueChanged: (e) => {
722
+ if (ctx.isViewOnly)
723
+ return;
724
+ writeDomain(extractDropdownValue(e.detail));
725
+ } }), domainLookupId && isLoadingSchema && (h("udp-flexbox", { display: "flex", direction: "row", gap: "sm", align: "center" }, h("udp-spinner", { size: "tiny" }), h("udp-text", { variant: "caption1" }, "Loading domain columns\u2026"))), domainLookupId && !isLoadingSchema && schema && displayDescriptors.length === 0 && (h("udp-text", { variant: "caption1" }, "This domain has no describable columns.")), domainLookupId && !isLoadingSchema && displayDescriptors.length > 0 && (h("udp-flexbox", { display: "flex", direction: "column", gap: "xs" }, h("div", { class: "domain-table-col-row" }, h("span", { class: "options-drag-handle-spacer", "aria-hidden": "true" }), h("span", { class: "options-grid-header-label" }, "Column Name"), h("span", { class: "options-grid-header-label" }, "Visible"), h("span", { class: "options-grid-header-label" }, "Editable"), h("span", { class: "options-grid-header-label" }, "Locked"), h("span", { class: "options-grid-header-label" }, "Display Name"), h("span", { class: "options-grid-header-label" }, "Value Lookup"), h("span", { "aria-hidden": "true" })), h("div", { ref: columnsRef }, displayDescriptors.map(descriptor => {
726
+ var _a, _b, _c, _d, _e;
727
+ const column = findColumn(descriptor.key);
728
+ const isKey = !!descriptor.isKey;
729
+ const isCustom = !!(column === null || column === void 0 ? void 0 : column.custom);
730
+ const isShown = !!(column === null || column === void 0 ? void 0 : column.show);
731
+ const isEditable = !!(column === null || column === void 0 ? void 0 : column.editable);
732
+ const isRequired = !!(column === null || column === void 0 ? void 0 : column.required);
733
+ // The primary key always survives a row clear.
734
+ const isLocked = isKey || !!(column === null || column === void 0 ? void 0 : column.locked);
735
+ const columnType = (_a = column === null || column === void 0 ? void 0 : column.type) !== null && _a !== void 0 ? _a : descriptor.type;
736
+ const isNumeric = !isKey && columnType === 'number';
737
+ const hasAggregate = isNumeric && !!(column === null || column === void 0 ? void 0 : column.aggregate);
738
+ const aggregate = (column === null || column === void 0 ? void 0 : column.aggregate) || 'sum';
739
+ const aggregateDecimalPlaces = Number.isInteger(Number(column === null || column === void 0 ? void 0 : column.aggregateDecimalPlaces))
740
+ ? String(Math.min(3, Math.max(0, Number(column === null || column === void 0 ? void 0 : column.aggregateDecimalPlaces))))
741
+ : '1';
742
+ return (h("div", { class: "table-col-card" }, h("div", { class: "domain-table-col-row" }, !ctx.isViewOnly ? (h("span", { class: "option-drag-handle", "aria-label": "Drag to reorder" }, h("udp-fluent-icon", { name: "drag", size: "sm" }))) : (h("span", { class: "options-drag-handle-spacer", "aria-hidden": "true" })), isCustom ? (h("udp-fluent-text-input", { "aria-label": "Column name", value: (_b = nameDrafts[descriptor.key]) !== null && _b !== void 0 ? _b : descriptor.key, error: descriptor.key in nameDrafts
743
+ ? ((_c = columnNameError(nameDrafts[descriptor.key].trim(), descriptor.key)) !== null && _c !== void 0 ? _c : undefined)
744
+ : undefined, disabled: ctx.isViewOnly, autocomplete: "off", includeErrorPadding: false, onValueChanged: (e) => {
745
+ if (ctx.isViewOnly)
746
+ return;
747
+ const next = e.detail.trim();
748
+ if (columnNameError(next, descriptor.key)) {
749
+ writeNameDraft(descriptor.key, e.detail);
750
+ return;
751
+ }
752
+ if (descriptor.key in nameDrafts)
753
+ writeNameDraft(descriptor.key);
754
+ if (next !== descriptor.key)
755
+ patchColumn(descriptor, { key: next });
756
+ } })) : (h("udp-text", { variant: "body1", truncate: true, title: descriptor.key }, descriptor.key)), h("udp-fluent-checkbox", { "aria-label": `${descriptor.key} visible`, includeErrorPadding: false, disabled: ctx.isViewOnly || isCustom, checked: isShown, onValueChanged: () => {
757
+ if (ctx.isViewOnly)
758
+ return;
759
+ patchColumn(descriptor, isShown
760
+ ? { show: false, editable: false, required: false }
761
+ : { show: true });
762
+ } }), h("udp-fluent-checkbox", { "aria-label": `${descriptor.key} editable`, includeErrorPadding: false, disabled: ctx.isViewOnly || !isShown || isKey || isCustom, checked: isEditable, onValueChanged: () => {
763
+ if (ctx.isViewOnly)
764
+ return;
765
+ patchColumn(descriptor, { editable: !isEditable });
766
+ } }), h("udp-fluent-checkbox", { "aria-label": `${descriptor.key} locked`, includeErrorPadding: false, disabled: ctx.isViewOnly || !isShown || isKey, checked: isLocked, onValueChanged: () => {
767
+ if (ctx.isViewOnly)
768
+ return;
769
+ patchColumn(descriptor, { locked: !isLocked });
770
+ } }), h("udp-fluent-text-input", { value: (_d = column === null || column === void 0 ? void 0 : column.displayName) !== null && _d !== void 0 ? _d : '', disabled: ctx.isViewOnly || !isShown, placeholder: descriptor.key, autocomplete: "off", includeErrorPadding: false, onValueChanged: (e) => {
771
+ if (ctx.isViewOnly)
772
+ return;
773
+ // Blank = no override; the column shows its key.
774
+ patchColumn(descriptor, { displayName: e.detail.trim() || undefined });
775
+ } }), h("udp-fluent-dropdown", { "aria-label": `${descriptor.key} value lookup`, options: columnLookupOptions, valueAs: "value", value: (_e = column === null || column === void 0 ? void 0 : column.lookupId) !== null && _e !== void 0 ? _e : '', placeholder: "None", clearable: true, includeErrorPadding: false, disabled: ctx.isViewOnly || !isShown, onValueChanged: (e) => {
776
+ if (ctx.isViewOnly)
777
+ return;
778
+ const lookupId = extractDropdownValue(e.detail);
779
+ patchColumn(descriptor, lookupId
780
+ ? {
781
+ type: 'lookup',
782
+ lookupId,
783
+ aggregate: undefined,
784
+ aggregateDecimalPlaces: undefined,
785
+ }
786
+ : {
787
+ type: descriptor.type === 'lookup' ? 'text' : descriptor.type,
788
+ lookupId: undefined,
789
+ });
790
+ } }), isCustom ? (h("udp-fluent-icon-button", { iconName: "delete", appearance: "subtle", size: "small", ariaLabel: "Remove column", disabled: ctx.isViewOnly, onClick: () => {
791
+ if (ctx.isViewOnly)
792
+ return;
793
+ removeColumn(descriptor.key);
794
+ } })) : (h("span", { "aria-hidden": "true" }))), isShown && (isEditable || isNumeric) && (h("div", { class: "table-col-secondary domain-table-col-settings" }, isEditable && isCustom && columnType !== 'lookup' && (h("udp-fluent-dropdown", { class: "domain-table-col-type", label: "Type", value: columnType, options: customColumnTypeOptions, optionLabel: "label", optionValue: "value", disabled: ctx.isViewOnly, includeErrorPadding: false, onValueChanged: (e) => {
795
+ if (ctx.isViewOnly)
796
+ return;
797
+ const picked = extractDropdownValue(e.detail, 'text');
798
+ const type = (customColumnTypeOptions.some(o => o.value === picked) ? picked : 'text');
799
+ patchColumn(descriptor, type === 'number'
800
+ ? { type }
801
+ : { type, aggregate: undefined, aggregateDecimalPlaces: undefined });
802
+ } })), isEditable && (h("udp-fluent-switch", { label: "Required", labelPosition: "after", includeErrorPadding: false, disabled: ctx.isViewOnly, checked: isRequired, onValueChanged: () => {
803
+ if (ctx.isViewOnly)
804
+ return;
805
+ patchColumn(descriptor, { required: !isRequired });
806
+ } })), isNumeric && (h("udp-fluent-switch", { label: "Display Aggregate", labelPosition: "after", includeErrorPadding: false, disabled: ctx.isViewOnly, checked: hasAggregate, onValueChanged: () => {
807
+ if (ctx.isViewOnly)
808
+ return;
809
+ if (hasAggregate) {
810
+ patchColumn(descriptor, {
811
+ aggregate: undefined,
812
+ aggregateDecimalPlaces: undefined,
813
+ });
814
+ }
815
+ else {
816
+ patchColumn(descriptor, {
817
+ aggregate: 'sum',
818
+ aggregateDecimalPlaces: 1,
819
+ });
820
+ }
821
+ } })))), isShown && isNumeric && hasAggregate && (h("udp-container-query-grid", { columns: { 0: 1, 360: 2 }, gaps: { 0: 'sm' }, class: "table-col-secondary" }, h("udp-container-query-grid-item", null, h("udp-fluent-dropdown", { label: "Aggregate Function", value: aggregate, options: aggregateOptions$1, optionLabel: "label", optionValue: "value", disabled: ctx.isViewOnly, required: true, onValueChanged: (e) => {
822
+ if (ctx.isViewOnly)
823
+ return;
824
+ patchColumn(descriptor, {
825
+ aggregate: extractDropdownValue(e.detail, 'sum'),
826
+ });
827
+ } })), h("udp-container-query-grid-item", null, h("udp-fluent-dropdown", { label: "Decimal Places", value: aggregateDecimalPlaces, options: aggregateDecimalPlacesOptions$1, optionLabel: "label", optionValue: "value", disabled: ctx.isViewOnly, required: true, onValueChanged: (e) => {
828
+ if (ctx.isViewOnly)
829
+ return;
830
+ patchColumn(descriptor, {
831
+ aggregateDecimalPlaces: Number(extractDropdownValue(e.detail, '1')),
832
+ });
833
+ } }))))));
834
+ })))), domainLookupId && !isLoadingSchema && !ctx.isViewOnly && (h("div", { class: "options-add-row" }, h("udp-fluent-button", { appearance: "subtle", startIconName: "add", onClick: () => addCustomColumn() }, "Add Column")))));
835
+ }
836
+
523
837
  var __rest = (undefined && undefined.__rest) || function (s, e) {
524
838
  var t = {};
525
839
  for (var p in s)
@@ -557,7 +871,7 @@ function readColumns(ctx) {
557
871
  const raw = readDraftFieldProperty(ctx, 'columns');
558
872
  return Array.isArray(raw) ? raw : [];
559
873
  }
560
- function renderTableConfig(ctx) {
874
+ function renderCustomColumnsConfig(ctx) {
561
875
  const columns = readColumns(ctx);
562
876
  const writeColumns = (next) => {
563
877
  var _b, _c;
@@ -670,6 +984,36 @@ function renderTableConfig(ctx) {
670
984
  } }))))));
671
985
  })), !ctx.isViewOnly && (h("div", { class: "options-add-row" }, h("udp-fluent-button", { appearance: "subtle", startIconName: "add", onClick: () => addColumn() }, "Add Column"))))));
672
986
  }
987
+ const dataSourceItems = [
988
+ { value: 'custom', label: 'Simple Table' },
989
+ { value: 'domain', label: 'Advanced Table' },
990
+ ];
991
+ function renderTableConfig(ctx) {
992
+ const dataSource = readDraftFieldProperty(ctx, 'dataSource') === 'domain' ? 'domain' : 'custom';
993
+ // The two modes' columns are different shapes (TableColumn vs DomainTableColumn),
994
+ // so switching resets every mode-specific key instead of trying to convert.
995
+ const onDataSourceChange = (e) => {
996
+ var _b;
997
+ if (ctx.isViewOnly)
998
+ return;
999
+ const form = (_b = ctx.getForm) === null || _b === void 0 ? void 0 : _b.call(ctx);
1000
+ const next = e.detail === 'domain' ? 'domain' : 'custom';
1001
+ if (!form || next === dataSource)
1002
+ return;
1003
+ if (next === 'domain') {
1004
+ form.change('fieldProperties.dataSource', 'domain');
1005
+ form.change('fieldProperties.domainLookupId', '');
1006
+ form.change('fieldProperties.columns', []);
1007
+ }
1008
+ else {
1009
+ form.change('fieldProperties.dataSource', '');
1010
+ form.change('fieldProperties.domainLookupId', '');
1011
+ form.change('fieldProperties.allowAddRows', undefined);
1012
+ form.change('fieldProperties.columns', ensureTableColumnIds([createDefaultTableColumn()]));
1013
+ }
1014
+ };
1015
+ return (h("udp-flexbox", { display: "flex", direction: "column", gap: "md" }, h("udp-fluent-radio-group", { label: "Table Type", items: dataSourceItems, value: dataSource, disabled: ctx.isViewOnly, includeErrorPadding: false, onValueChanged: onDataSourceChange }), dataSource === 'domain' ? renderDomainTableConfig(ctx) : renderCustomColumnsConfig(ctx)));
1016
+ }
673
1017
 
674
1018
  function readTallyMode(ctx) {
675
1019
  const modeRaw = readDraftFieldProperty(ctx, 'tallyMode');
@@ -839,7 +1183,7 @@ function renderValidationRulesSection(props) {
839
1183
  return (h("udp-flexbox", { display: "flex", direction: "column", gap: "md" }, active.map(rule => renderActiveRuleCard(rule, ctx)), renderAddRuleMenu(inactive, ctx)));
840
1184
  }
841
1185
 
842
- const udpQuestionConfigFluentCss = () => `:host{display:block;width:100%}.options-grid{display:flex;flex-direction:column;gap:var(--spacingVerticalS)}.options-drag-handle-spacer{width:24px;min-width:24px}.option-drag-handle{display:flex;align-items:center;justify-content:center;width:24px;min-width:24px;color:var(--colorNeutralForeground3);cursor:grab;user-select:none;-webkit-user-select:none}.option-drag-handle:active{cursor:grabbing}.sortable-ghost{opacity:0.4;border:2px dashed var(--colorBrandStroke1) !important;background-color:var(--colorBrandBackground2) !important}.sortable-chosen{background-color:var(--colorNeutralBackground1Hover)}.sortable-drag{opacity:0.9;box-shadow:var(--shadow16);cursor:grabbing !important}.options-grid-header{display:grid;grid-template-columns:24px 1fr 1fr 32px;gap:var(--spacingHorizontalS);align-items:center}.options-grid-header-label{font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground2)}.option-row{display:grid;grid-template-columns:24px 1fr 1fr 32px;gap:var(--spacingHorizontalS);align-items:center;padding:var(--spacingVerticalXS) var(--spacingHorizontalS) var(--spacingVerticalS) 0;background-color:var(--colorNeutralBackground2);border-radius:var(--borderRadiusMedium);margin-bottom:var(--spacingVerticalXS)}.options-grid--choice .options-grid-header,.options-grid--choice .option-row{grid-template-columns:24px 2fr 1fr 32px}.option-row-actions{display:flex;justify-content:center;min-width:32px}.options-add-row{margin-top:4px;padding:2px 0 0 0}.table-col-card{background-color:var(--colorNeutralBackground2);border-radius:var(--borderRadiusMedium);padding:var(--spacingVerticalXS) var(--spacingHorizontalS) var(--spacingVerticalS) 0;margin-bottom:var(--spacingVerticalXS)}.table-col-main-row{display:grid;grid-template-columns:24px 1fr 1fr 32px;gap:var(--spacingHorizontalS);align-items:center}.table-col-secondary{display:flex;flex-wrap:wrap;gap:var(--spacingHorizontalS);align-items:center;padding-top:var(--spacingVerticalXS);padding-left:calc(24px + var(--spacingHorizontalXS))}@container (max-width: 400px){.options-grid-header{display:none}.option-row{grid-template-columns:24px 1fr 1fr;gap:var(--spacingHorizontalS) 2px;padding:2px 0}.option-row-actions{grid-column:2 / -1;justify-content:flex-end}}`;
1186
+ const udpQuestionConfigFluentCss = () => `:host{display:block;width:100%}.options-grid{display:flex;flex-direction:column;gap:var(--spacingVerticalS)}.options-drag-handle-spacer{width:24px;min-width:24px}.option-drag-handle{display:flex;align-items:center;justify-content:center;width:24px;min-width:24px;color:var(--colorNeutralForeground3);cursor:grab;user-select:none;-webkit-user-select:none}.option-drag-handle:active{cursor:grabbing}.sortable-ghost{opacity:0.4;border:2px dashed var(--colorBrandStroke1) !important;background-color:var(--colorBrandBackground2) !important}.sortable-chosen{background-color:var(--colorNeutralBackground1Hover)}.sortable-drag{opacity:0.9;box-shadow:var(--shadow16);cursor:grabbing !important}.options-grid-header{display:grid;grid-template-columns:24px 1fr 1fr 32px;gap:var(--spacingHorizontalS);align-items:center}.options-grid-header-label{font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground2)}.option-row{display:grid;grid-template-columns:24px 1fr 1fr 32px;gap:var(--spacingHorizontalS);align-items:center;padding:var(--spacingVerticalXS) var(--spacingHorizontalS) var(--spacingVerticalS) 0;background-color:var(--colorNeutralBackground2);border-radius:var(--borderRadiusMedium);margin-bottom:var(--spacingVerticalXS)}.options-grid--choice .options-grid-header,.options-grid--choice .option-row{grid-template-columns:24px 2fr 1fr 32px}.option-row-actions{display:flex;justify-content:center;min-width:32px}.options-add-row{margin-top:4px;padding:2px 0 0 0}.table-col-card{background-color:var(--colorNeutralBackground2);border-radius:var(--borderRadiusMedium);padding:var(--spacingVerticalXS) var(--spacingHorizontalS) var(--spacingVerticalS) 0;margin-bottom:var(--spacingVerticalXS)}.table-col-main-row{display:grid;grid-template-columns:24px 1fr 1fr 32px;gap:var(--spacingHorizontalS);align-items:center}.domain-table-col-row{display:grid;grid-template-columns:24px minmax(0, 1fr) 56px 56px 56px minmax(0, 1.2fr) minmax(0, 1.2fr) 32px;gap:var(--spacingHorizontalS);align-items:center}.domain-table-col-row:has(>udp-fluent-text-input.has-error){align-items:start}.domain-table-col-row:has(>udp-fluent-text-input.has-error)>:not(udp-fluent-text-input):not(udp-fluent-dropdown){display:flex;align-items:center;min-height:32px}.domain-table-col-row>:nth-child(3),.domain-table-col-row>:nth-child(4),.domain-table-col-row>:nth-child(5){justify-self:center;text-align:center}.table-col-secondary{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:var(--spacingHorizontalS);align-items:center;padding-top:var(--spacingVerticalXS);padding-left:calc(24px + var(--spacingHorizontalXS))}.domain-table-col-type{flex:0 0 auto;width:120px}.domain-table-col-settings{align-items:flex-end}.domain-table-col-settings udp-fluent-switch{margin-bottom:var(--spacingVerticalXS, 4px)}@container (max-width: 400px){.options-grid-header{display:none}.option-row{grid-template-columns:24px 1fr 1fr;gap:var(--spacingHorizontalS) 2px;padding:2px 0}.option-row-actions{grid-column:2 / -1;justify-content:flex-end}}`;
843
1187
 
844
1188
  const UdpQuestionConfigFluent = class {
845
1189
  constructor(hostRef) {
@@ -866,6 +1210,30 @@ const UdpQuestionConfigFluent = class {
866
1210
  * subscriber in udp-field handles their value sync independently.
867
1211
  */
868
1212
  this.formValues = {};
1213
+ /**
1214
+ * Domain Table's domain schema-describe cache. Lives here (not in the
1215
+ * stateless `DomainTableConfig` renderer) for the same reason `lookupOptions`
1216
+ * does — one fetch per domain, shared across re-renders and reopenings.
1217
+ */
1218
+ this.domainSchemaCache = {};
1219
+ this.domainSchemaLoading = {};
1220
+ this.fetchDomainSchema = (lookupId) => {
1221
+ var _a;
1222
+ if (this.domainSchemaCache[lookupId] || this.domainSchemaLoading[lookupId])
1223
+ return;
1224
+ // Wait for the lookup list: without its `domainName` the fetch falls back to
1225
+ // describe-only columns, and the result is cached. Render calls this again.
1226
+ const option = (_a = this.lookupOptions) === null || _a === void 0 ? void 0 : _a.find(o => o.value === lookupId);
1227
+ if (!option)
1228
+ return;
1229
+ this.domainSchemaLoading = Object.assign(Object.assign({}, this.domainSchemaLoading), { [lookupId]: true });
1230
+ const domainName = option.domainName;
1231
+ // A rejected fetch must still clear the loading flag, or the spinner never stops.
1232
+ void fetchDomainColumns(lookupId, domainName).catch(() => []).then(columns => {
1233
+ this.domainSchemaCache = Object.assign(Object.assign({}, this.domainSchemaCache), { [lookupId]: columns });
1234
+ this.domainSchemaLoading = Object.assign(Object.assign({}, this.domainSchemaLoading), { [lookupId]: false });
1235
+ });
1236
+ };
869
1237
  this.getForm = () => this.form;
870
1238
  }
871
1239
  componentDidLoad() {
@@ -904,6 +1272,9 @@ const UdpQuestionConfigFluent = class {
904
1272
  lookupOptions: this.lookupOptions,
905
1273
  sections: this.sections,
906
1274
  currentQuestionId: question.id,
1275
+ domainSchemaByLookupId: this.domainSchemaCache,
1276
+ domainSchemaLoading: this.domainSchemaLoading,
1277
+ fetchDomainSchema: this.fetchDomainSchema,
907
1278
  };
908
1279
  }
909
1280
  render() {
@@ -2010,6 +2381,54 @@ function findFirstErrorFieldKey(dynamicSections, errors) {
2010
2381
  return null;
2011
2382
  }
2012
2383
 
2384
+ /**
2385
+ * The columns a domain Table renders — shown ones only. A primary-key column
2386
+ * may map to a lookup but is never editable, required or aggregated.
2387
+ */
2388
+ function toDomainTableInputColumns(columns) {
2389
+ return (columns !== null && columns !== void 0 ? columns : [])
2390
+ .filter(c => c.show === true)
2391
+ .map(c => ({
2392
+ key: c.key,
2393
+ displayName: c.displayName || c.key,
2394
+ isKey: c.isKey,
2395
+ type: c.type,
2396
+ lookupId: c.lookupId,
2397
+ editable: c.editable === true && !c.isKey,
2398
+ required: c.required === true && !c.isKey,
2399
+ locked: c.isKey === true || c.locked === true,
2400
+ aggregate: c.isKey ? undefined : c.aggregate,
2401
+ aggregateDecimalPlaces: c.isKey ? undefined : c.aggregateDecimalPlaces,
2402
+ custom: c.custom,
2403
+ }));
2404
+ }
2405
+ /**
2406
+ * Turn every domain Table's initial value into a full-grid snapshot (see
2407
+ * `fluent-ui/domain-table-input/domain-table-snapshot.ts`). Runs at load and
2408
+ * its result is also the autosave baseline, so opening a form never autosaves
2409
+ * — the first real change saves the whole grid. Returns a new object.
2410
+ *
2411
+ * A grid whose live fetch comes back empty (failed, or an empty domain) is
2412
+ * left as-is rather than frozen as an empty snapshot.
2413
+ */
2414
+ async function applyDomainTableSnapshotsToInitialValues(dynamicSections, initialValues, filters) {
2415
+ const grids = dynamicSections.flatMap(section => section.questions.filter(q => isDomainGrid(q.schemaQuestion.fieldTypeId, q.schemaQuestion.fieldProperties)));
2416
+ const next = Object.assign({}, initialValues);
2417
+ await Promise.all(grids.map(async ({ schemaQuestion, fieldKey }) => {
2418
+ const value = next[fieldKey];
2419
+ if (isSnapshot(value))
2420
+ return;
2421
+ const fp = schemaQuestion.fieldProperties;
2422
+ if (!(fp === null || fp === void 0 ? void 0 : fp.domainLookupId))
2423
+ return;
2424
+ const liveRows = await getDomainRows(fp.domainLookupId, filters);
2425
+ if (!liveRows || liveRows.length === 0)
2426
+ return;
2427
+ next[fieldKey] = buildSnapshot(liveRows, value, toDomainTableInputColumns(fp.columns));
2428
+ }));
2429
+ return next;
2430
+ }
2431
+
2013
2432
  const AVATAR_PALETTE = [
2014
2433
  '#264f78',
2015
2434
  '#0078d4',
@@ -2379,17 +2798,22 @@ function renderQuestionAsView(props) {
2379
2798
  }
2380
2799
  case FieldTypeId.Table: {
2381
2800
  const fp = question.fieldProperties;
2382
- const columns = ((_r = fp.columns) !== null && _r !== void 0 ? _r : [])
2383
- .filter(c => typeof c.id === 'string' && c.id.length > 0 && typeof c.name === 'string')
2384
- .map(c => ({
2385
- id: c.id,
2386
- name: c.name,
2387
- type: c.type === 'number' ? 'number' : 'text',
2388
- required: c.required === true,
2389
- aggregate: c.aggregate,
2390
- aggregateDecimalPlaces: c.aggregateDecimalPlaces,
2391
- }));
2392
- valueNode = (h("udp-fluent-table-input", { value: value, readonly: true, disabled: true, columns: columns }));
2801
+ if (fp.dataSource === 'domain') {
2802
+ valueNode = (h("udp-fluent-domain-table-input", { value: value, readonly: true, disabled: true, columns: toDomainTableInputColumns(fp.columns) }));
2803
+ }
2804
+ else {
2805
+ const columns = ((_r = fp.columns) !== null && _r !== void 0 ? _r : [])
2806
+ .filter(c => typeof c.id === 'string' && c.id.length > 0 && typeof c.name === 'string')
2807
+ .map(c => ({
2808
+ id: c.id,
2809
+ name: c.name,
2810
+ type: c.type === 'number' ? 'number' : 'text',
2811
+ required: c.required === true,
2812
+ aggregate: c.aggregate,
2813
+ aggregateDecimalPlaces: c.aggregateDecimalPlaces,
2814
+ }));
2815
+ valueNode = (h("udp-fluent-table-input", { value: value, readonly: true, disabled: true, columns: columns }));
2816
+ }
2393
2817
  break;
2394
2818
  }
2395
2819
  default:
@@ -2595,7 +3019,7 @@ function renderFollowUpToggle(question, fieldKey, context) {
2595
3019
  * Adding a new field type = one more case in this switch.
2596
3020
  */
2597
3021
  function renderQuestion(props) {
2598
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
3022
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
2599
3023
  const { question, context } = props;
2600
3024
  const fieldKey = (_a = props.fieldKey) !== null && _a !== void 0 ? _a : question.id;
2601
3025
  const fieldName = fieldKey;
@@ -2737,7 +3161,10 @@ function renderQuestion(props) {
2737
3161
  // -------- Inline grid input --------
2738
3162
  case FieldTypeId.Table: {
2739
3163
  const fp = question.fieldProperties;
2740
- const columns = ((_4 = fp.columns) !== null && _4 !== void 0 ? _4 : [])
3164
+ if (fp.dataSource === 'domain') {
3165
+ return wrapQuestion(question, fieldKey, context, h("udp-field", { name: fieldName }, h("udp-fluent-domain-table-input", { label: question.questionText, hint: (_4 = question.helperText) !== null && _4 !== void 0 ? _4 : undefined, required: question.required, disabled: isReadOnly(fp, context), columns: toDomainTableInputColumns(fp.columns), domainLookupId: fp.domainLookupId, filters: (_5 = context.domainFilters) !== null && _5 !== void 0 ? _5 : [], allowAddRows: fp.allowAddRows === true })));
3166
+ }
3167
+ const columns = ((_6 = fp.columns) !== null && _6 !== void 0 ? _6 : [])
2741
3168
  .filter(c => typeof c.id === 'string' && c.id.length > 0 && typeof c.name === 'string')
2742
3169
  .map(c => ({
2743
3170
  id: c.id,
@@ -2747,7 +3174,7 @@ function renderQuestion(props) {
2747
3174
  aggregate: c.aggregate,
2748
3175
  aggregateDecimalPlaces: c.aggregateDecimalPlaces,
2749
3176
  }));
2750
- return wrapQuestion(question, fieldKey, context, h("udp-field", { name: fieldName }, h("udp-fluent-table-input", { label: question.questionText, hint: (_5 = question.helperText) !== null && _5 !== void 0 ? _5 : undefined, required: question.required, disabled: isReadOnly(fp, context), columns: columns })));
3177
+ return wrapQuestion(question, fieldKey, context, h("udp-field", { name: fieldName }, h("udp-fluent-table-input", { label: question.questionText, hint: (_7 = question.helperText) !== null && _7 !== void 0 ? _7 : undefined, required: question.required, disabled: isReadOnly(fp, context), columns: columns })));
2751
3178
  }
2752
3179
  // -------- Out of pass-1 scope --------
2753
3180
  default:
@@ -2842,7 +3269,7 @@ const RENDERER_FORM_ID = 'udp-question-form-renderer-form';
2842
3269
  */
2843
3270
  function renderFormShell(props) {
2844
3271
  var _a, _b, _c, _d, _e, _f, _g;
2845
- const { loadedForm, templateOverrides, initialValues, onSubmit, validate, onFormComponentRef, submission, currentUser, highlightedQuestionId, formReadOnly, previewMode, signaturePreviewUrls, autosaveStatus = 'idle', lastSavedAt = null, progress, onSubmitClick, comments, followUpForms, onAddSection, onDeleteSection, } = props;
3272
+ const { loadedForm, templateOverrides, initialValues, onSubmit, validate, onFormComponentRef, submission, currentUser, highlightedQuestionId, formReadOnly, previewMode, signaturePreviewUrls, autosaveStatus = 'idle', lastSavedAt = null, progress, onSubmitClick, comments, followUpForms, onAddSection, onDeleteSection, domainFilters, } = props;
2846
3273
  const dynamicSections = (_a = props.dynamicSections) !== null && _a !== void 0 ? _a : expandLoadedForm({ loadedForm, submission });
2847
3274
  const handleSubmitClick = () => {
2848
3275
  var _a;
@@ -2870,6 +3297,7 @@ function renderFormShell(props) {
2870
3297
  }
2871
3298
  : null,
2872
3299
  followUpFormsAdapter: (_d = followUpForms === null || followUpForms === void 0 ? void 0 : followUpForms.adapter) !== null && _d !== void 0 ? _d : null,
3300
+ domainFilters,
2873
3301
  };
2874
3302
  // Display name/description: per-submission overrides win over the schema
2875
3303
  // (legacy `formTemplateOverrides` behavior).
@@ -3041,6 +3469,12 @@ const UdpQuestionFormRenderer = class {
3041
3469
  this.isPublicMode = false;
3042
3470
  this.history = null;
3043
3471
  this.urlContext = {};
3472
+ /**
3473
+ * Host filters on domain Tables' rows, matched by `domainName` (omit it to
3474
+ * apply to every domain), e.g. `[{ domainName: 'Project', fieldName: 'ProjectId', value: id }]`.
3475
+ * `searchOperator` defaults to equals.
3476
+ */
3477
+ this.domainTableFilters = null;
3044
3478
  this.autoSaveDelay = 2000;
3045
3479
  /**
3046
3480
  * When true, the Submit button shows a "preview only" toast instead of POSTing
@@ -3625,14 +4059,15 @@ const UdpQuestionFormRenderer = class {
3625
4059
  }
3626
4060
  }
3627
4061
  const wantsSubmission = this.submissionId && !this.previewMode && !this.isPublicMode;
3628
- // Submission-id-only entry point (the v1 submissions-grid link shape:
3629
- // `?udpf_submissionId=` with no form id). Resolve the schema THROUGH the
3630
- // submission — fetch it first and take its `formId` / `formVersion`, then
3631
- // describe against those. Only this case serializes the two calls; a
3632
- // caller that passes `formId` keeps the parallel fetch below. A failed
3633
- // fetch (or a payload without a form id) leaves `formId` unset and falls
3634
- // through to the existing "no form" handling.
3635
- const needsFormFromSubmission = !!wantsSubmission && !this.formId && !this.loadedForm;
4062
+ // Resolve the schema THROUGH the submission when the caller didn't pin a
4063
+ // version — either no form id at all (the v1 submissions-grid link shape:
4064
+ // `?udpf_submissionId=`) or a form id without `formVersion`. Fetch the
4065
+ // submission first and take its `formId` / `formVersion`, so a draft
4066
+ // resumes on the version it was saved against, not the latest. Only this
4067
+ // case serializes the two calls; a caller that passes both keeps the
4068
+ // parallel fetch below. A failed fetch (or a payload without a form id)
4069
+ // leaves `formId` / `formVersion` as they were.
4070
+ const needsFormFromSubmission = !!wantsSubmission && !this.loadedForm && (!this.formId || this.formVersion == null);
3636
4071
  let earlySubmissionRaw = null;
3637
4072
  if (needsFormFromSubmission) {
3638
4073
  earlySubmissionRaw = await this.fetchAndLogSubmissionRaw();
@@ -3703,13 +4138,12 @@ const UdpQuestionFormRenderer = class {
3703
4138
  // non-empty server-prefilled value.
3704
4139
  const submissionBlocksSeeds = this.submission != null &&
3705
4140
  this.submission.status !== SubmissionStatus.Created;
3706
- this.initialValues =
3707
- this.previewMode
3708
- ? baseValues
3709
- : applyUrlSeedsToInitialValues(this.resolvedForm, baseValues, this.urlContext, {
3710
- hasExistingSubmission: submissionBlocksSeeds,
3711
- dynamicSections: this.dynamicSections,
3712
- });
4141
+ this.initialValues = this.previewMode
4142
+ ? baseValues
4143
+ : applyUrlSeedsToInitialValues(this.resolvedForm, baseValues, this.urlContext, {
4144
+ hasExistingSubmission: submissionBlocksSeeds,
4145
+ dynamicSections: this.dynamicSections,
4146
+ });
3713
4147
  // Autosave's "anything to save?" baseline starts here — a fresh
3714
4148
  // load (blank or resumed) is by definition already in sync with the
3715
4149
  // server. See `lastSavedValues`.
@@ -3742,6 +4176,15 @@ const UdpQuestionFormRenderer = class {
3742
4176
  this.submission = null;
3743
4177
  this.dynamicSections = [];
3744
4178
  }
4179
+ // Domain Table snapshots (see runtime/domain-table-snapshot.ts) need live
4180
+ // domain rows, so they follow the synchronous setup. The result is also
4181
+ // the autosave baseline — opening a form never autosaves; the first real
4182
+ // change saves each grid whole.
4183
+ if (this.resolvedForm && !this.previewMode && !this.isReadOnly) {
4184
+ this.initialValues = await applyDomainTableSnapshotsToInitialValues(this.dynamicSections, this.initialValues, this.domainFilters);
4185
+ this.lastSavedValues = this.initialValues;
4186
+ this.progress = computeProgress(this.dynamicSections, this.initialValues);
4187
+ }
3745
4188
  this.isLoading = false;
3746
4189
  // Fire-and-forget: let the form paint, then fill in signature images as
3747
4190
  // their bytes arrive. Read-only only (gated inside).
@@ -3792,6 +4235,11 @@ const UdpQuestionFormRenderer = class {
3792
4235
  for (const url of Object.values(this.signaturePreviewUrls))
3793
4236
  URL.revokeObjectURL(url);
3794
4237
  }
4238
+ /** Host domain Table filters; none in preview. */
4239
+ get domainFilters() {
4240
+ var _a;
4241
+ return this.previewMode ? [] : ((_a = this.domainTableFilters) !== null && _a !== void 0 ? _a : []);
4242
+ }
3795
4243
  /** Case-insensitive lookup into `urlContext` (keys arrive `udpf_`-stripped from the host wrapper). */
3796
4244
  urlContextValue(key) {
3797
4245
  const ctx = this.urlContext;
@@ -4595,6 +5043,7 @@ const UdpQuestionFormRenderer = class {
4595
5043
  followUpForms: followUpFormsProp,
4596
5044
  onAddSection: this.handleAddSection,
4597
5045
  onDeleteSection: this.handleDeleteSection,
5046
+ domainFilters: this.domainFilters,
4598
5047
  })));
4599
5048
  }
4600
5049
  get el() { return getElement(this); }
@@ -4692,7 +5141,7 @@ const UdpVerticalSpacer = class {
4692
5141
  xxxl: 'XXXL',
4693
5142
  };
4694
5143
  const height = this.unit === 'none' ? '0' : `var(--spacingVertical${sizeMap[this.unit]})`;
4695
- return h("div", { key: 'ac06dc0ae0db1c9da9fa43500e4ccb299206659d', style: { height, display: 'block' } });
5144
+ return h("div", { key: '552fb7775d47571afa2e50cfa96d6e7584b37225', style: { height, display: 'block' } });
4696
5145
  }
4697
5146
  };
4698
5147