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

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 (416) hide show
  1. package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +12 -12
  2. package/dist/cjs/advanced-search_12.cjs.entry.js +5 -5
  3. package/dist/cjs/ag-grid-base_6.cjs.entry.js +2 -2
  4. package/dist/cjs/ambient-template-grid.cjs.entry.js +16 -16
  5. package/dist/cjs/api-method-instance-grid.cjs.entry.js +1 -1
  6. package/dist/cjs/app-bar.cjs.entry.js +1 -1
  7. package/dist/cjs/check-box.cjs.entry.js +2 -2
  8. package/dist/cjs/chip-section.cjs.entry.js +2 -2
  9. package/dist/cjs/client-side-grid_2.cjs.entry.js +3 -3
  10. package/dist/cjs/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.cjs.js.map +1 -0
  11. package/dist/cjs/{date-time-renderer_6.cjs.entry.js → date-time-renderer_7.cjs.entry.js} +43 -9
  12. package/dist/cjs/entity-maintenance-grid.cjs.entry.js +1 -1
  13. package/dist/cjs/{enums-ibNZ4cZ4.js → enums-DVbZnzL8.js} +3 -2
  14. package/dist/cjs/enums-DVbZnzL8.js.map +1 -0
  15. package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
  16. package/dist/cjs/filter-conditions_7.cjs.entry.js +2 -2
  17. package/dist/cjs/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.cjs.js.map +1 -0
  18. package/dist/cjs/{image-upload_7.cjs.entry.js → form-metadata-display_8.cjs.entry.js} +70 -12
  19. package/dist/cjs/index-CGCOXUJE.js +4 -4
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/map-component_2.cjs.entry.js +2 -2
  22. package/dist/cjs/numeric-field_5.cjs.entry.js +15 -15
  23. package/dist/cjs/primary-action-header_3.cjs.entry.js +2 -2
  24. package/dist/cjs/question-configs-renderer_4.cjs.entry.js +12 -12
  25. package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
  26. package/dist/cjs/search-method-grid.cjs.entry.js +2 -1
  27. package/dist/cjs/search-method-grid.entry.cjs.js.map +1 -1
  28. package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
  29. package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
  30. package/dist/cjs/stencil-library.cjs.js +1 -1
  31. package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
  32. package/dist/cjs/text-field_2.cjs.entry.js +7 -7
  33. package/dist/cjs/udp-chip_3.cjs.entry.js +1 -1
  34. package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
  35. package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
  36. package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
  37. package/dist/cjs/udp-container_2.cjs.entry.js +3 -3
  38. package/dist/cjs/udp-date-range-selector.cjs.entry.js +1 -1
  39. package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
  40. package/dist/cjs/{udp-forms-builder-question-template-BlgDh7P5.js → udp-forms-builder-question-template-CNONS2l5.js} +10 -3
  41. package/dist/cjs/{udp-forms-builder-question-template-BlgDh7P5.js.map → udp-forms-builder-question-template-CNONS2l5.js.map} +1 -1
  42. package/dist/cjs/udp-forms-builder-style-override.cjs.entry.js +1 -1
  43. package/dist/cjs/udp-forms-builder.cjs.entry.js +3 -3
  44. package/dist/cjs/udp-forms-builder.entry.cjs.js.map +1 -1
  45. package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +3 -3
  46. package/dist/cjs/udp-forms-list-card.cjs.entry.js +5 -5
  47. package/dist/cjs/udp-forms-list.cjs.entry.js +2 -2
  48. package/dist/cjs/udp-forms-renderer.cjs.entry.js +21 -18
  49. package/dist/cjs/udp-forms-renderer.entry.cjs.js.map +1 -1
  50. package/dist/cjs/udp-forms-ui.cjs.entry.js +7 -4
  51. package/dist/cjs/udp-forms-ui.entry.cjs.js.map +1 -1
  52. package/dist/cjs/udp-map.cjs.entry.js +3 -3
  53. package/dist/cjs/udp-menu-item.cjs.entry.js +1 -1
  54. package/dist/cjs/udp-page.cjs.entry.js +1 -1
  55. package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
  56. package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
  57. package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
  58. package/dist/cjs/udp-tab-panel.cjs.entry.js +2 -2
  59. package/dist/cjs/udp-tab.cjs.entry.js +1 -1
  60. package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
  61. package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
  62. package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
  63. package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
  64. package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
  65. package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
  66. package/dist/collection/collection-manifest.json +2 -0
  67. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.css +8 -0
  68. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js +173 -0
  69. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.js.map +1 -0
  70. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
  71. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +5 -5
  72. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js +2 -0
  73. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-specific-configs-renderer/question-specific-configs-renderer.js.map +1 -1
  74. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +3 -3
  75. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
  76. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
  77. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
  78. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js +7 -0
  79. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.js.map +1 -1
  80. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
  81. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js +2 -2
  82. package/dist/collection/components/forms/udp-forms/udp-forms-builder/udp-forms-builder.js.map +1 -1
  83. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +4 -4
  84. package/dist/collection/components/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
  85. 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
  86. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js +12 -37
  87. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.js.map +1 -1
  88. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +19 -17
  89. package/dist/collection/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js.map +1 -1
  90. package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js +40 -26
  91. package/dist/collection/components/forms/udp-forms/udp-question/udp-question.js.map +1 -1
  92. package/dist/collection/components/forms/udp-forms/utils/classes/UdpFormSubmission.js +1 -0
  93. package/dist/collection/components/forms/udp-forms/utils/classes/UdpFormSubmission.js.map +1 -1
  94. package/dist/collection/components/forms/udp-forms/utils/enums.js +1 -0
  95. package/dist/collection/components/forms/udp-forms/utils/enums.js.map +1 -1
  96. package/dist/collection/components/grid/ag-table/ag-table.js +1 -1
  97. package/dist/collection/components/grid/ambient-template-grid/ambient-template-grid.js +16 -16
  98. package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +2 -2
  99. package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
  100. package/dist/collection/components/grid/new-grid/ag-grid-base.js +1 -1
  101. package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +1 -1
  102. package/dist/collection/components/grid/new-grid/client-side-grid.js +1 -1
  103. package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js +1 -1
  104. package/dist/collection/components/grid/new-grid/search-method-grid.js +2 -1
  105. package/dist/collection/components/grid/new-grid/search-method-grid.js.map +1 -1
  106. package/dist/collection/components/grid/new-grid/server-side-grid.js +1 -1
  107. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
  108. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +2 -2
  109. package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
  110. package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +1 -1
  111. package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
  112. package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
  113. package/dist/collection/components/inputs/form metadata display/form-metadata-display.css +37 -0
  114. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +191 -0
  115. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js.map +1 -0
  116. package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
  117. package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
  118. package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
  119. package/dist/collection/components/inputs/tally/tally.js +2 -2
  120. package/dist/collection/components/inputs/text-area/text-area.js +3 -3
  121. package/dist/collection/components/inputs/text-field/text-field.js +3 -3
  122. package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
  123. package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
  124. package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
  125. package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
  126. package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
  127. package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
  128. package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
  129. package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
  130. package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
  131. package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
  132. package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
  133. package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
  134. package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
  135. package/dist/collection/components/map/udp-map/map-component.js +1 -1
  136. package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
  137. package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
  138. package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
  139. package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
  140. package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
  141. package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +6 -6
  142. package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
  143. package/dist/collection/components/map/udp-map/udp-map.js +3 -3
  144. package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
  145. package/dist/collection/components/menu/udp-menu.js +1 -1
  146. package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
  147. package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
  148. package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
  149. package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +2 -2
  150. package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
  151. package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
  152. package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
  153. package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
  154. package/dist/collection/components/timeline/udp-timeline.js +1 -1
  155. package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
  156. package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
  157. package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
  158. package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
  159. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
  160. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
  161. package/dist/components/add-map-feature-popup2.js +3 -3
  162. package/dist/components/ag-grid-base2.js +1 -1
  163. package/dist/components/ag-table2.js +1 -1
  164. package/dist/components/ambient-template-grid.js +16 -16
  165. package/dist/components/api-method-instance-grid.js +1 -1
  166. package/dist/components/app-bar.js +1 -1
  167. package/dist/components/check-box.js +2 -2
  168. package/dist/components/chip-section.js +2 -2
  169. package/dist/components/client-side-grid2.js +1 -1
  170. package/dist/components/entity-maintenance-grid.js +1 -1
  171. package/dist/components/enums.js +1 -0
  172. package/dist/components/enums.js.map +1 -1
  173. package/dist/components/feature-details-card2.js +4 -4
  174. package/dist/components/feature-details-popup2.js +1 -1
  175. package/dist/components/form-metadata-display-renderer.d.ts +11 -0
  176. package/dist/components/form-metadata-display-renderer.js +9 -0
  177. package/dist/components/form-metadata-display-renderer.js.map +1 -0
  178. package/dist/components/form-metadata-display-renderer2.js +74 -0
  179. package/dist/components/form-metadata-display-renderer2.js.map +1 -0
  180. package/dist/components/form-metadata-display.d.ts +11 -0
  181. package/dist/components/form-metadata-display.js +9 -0
  182. package/dist/components/form-metadata-display.js.map +1 -0
  183. package/dist/components/form-metadata-display2.js +77 -0
  184. package/dist/components/form-metadata-display2.js.map +1 -0
  185. package/dist/components/ghost-render2.js +1 -1
  186. package/dist/components/grid-primary-bar2.js +2 -2
  187. package/dist/components/image-upload2.js +1 -1
  188. package/dist/components/list-options-renderer2.js +3 -3
  189. package/dist/components/map-component2.js +1 -1
  190. package/dist/components/map-toolbar2.js +6 -6
  191. package/dist/components/numeric-field2.js +3 -3
  192. package/dist/components/question-configs-renderer2.js +15 -9
  193. package/dist/components/question-configs-renderer2.js.map +1 -1
  194. package/dist/components/question-specific-configs-renderer2.js +19 -4
  195. package/dist/components/question-specific-configs-renderer2.js.map +1 -1
  196. package/dist/components/resource-timeline-calendar.js +1 -1
  197. package/dist/components/resource-timeline-primary-bar2.js +2 -2
  198. package/dist/components/search-method-grid2.js +2 -1
  199. package/dist/components/search-method-grid2.js.map +1 -1
  200. package/dist/components/section-configs-renderer2.js +3 -3
  201. package/dist/components/select-layer-popup2.js +2 -2
  202. package/dist/components/server-side-grid2.js +1 -1
  203. package/dist/components/side-sheet-container2.js +1 -1
  204. package/dist/components/side-sheet2.js +1 -1
  205. package/dist/components/signature-input2.js +2 -2
  206. package/dist/components/signature-renderer2.js +1 -1
  207. package/dist/components/split-line-popup2.js +1 -1
  208. package/dist/components/stencil-toggle2.js +4 -4
  209. package/dist/components/tally.js +2 -2
  210. package/dist/components/text-area2.js +3 -3
  211. package/dist/components/text-field2.js +3 -3
  212. package/dist/components/text-input-renderer2.js +2 -2
  213. package/dist/components/udp-container-query-grid-item.js +1 -1
  214. package/dist/components/udp-container-query-grid.js +1 -1
  215. package/dist/components/udp-container-query2.js +2 -2
  216. package/dist/components/udp-container2.js +2 -2
  217. package/dist/components/udp-date-range-selector.js +1 -1
  218. package/dist/components/udp-date-selector2.js +3 -3
  219. package/dist/components/udp-datetime-selector2.js +3 -3
  220. package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
  221. package/dist/components/udp-forms-builder-menu2.js +2 -2
  222. package/dist/components/udp-forms-builder-style-override.js +1 -1
  223. package/dist/components/udp-forms-builder.js +15 -9
  224. package/dist/components/udp-forms-builder.js.map +1 -1
  225. package/dist/components/udp-forms-follow-up-list-card.js +2 -2
  226. package/dist/components/udp-forms-list-card2.js +4 -4
  227. package/dist/components/udp-forms-list.js +1 -1
  228. package/dist/components/udp-forms-renderer.js +32 -23
  229. package/dist/components/udp-forms-renderer.js.map +1 -1
  230. package/dist/components/udp-forms-ui2.js +19 -11
  231. package/dist/components/udp-forms-ui2.js.map +1 -1
  232. package/dist/components/udp-grid-loader2.js +2 -2
  233. package/dist/components/udp-hotlist-form2.js +1 -1
  234. package/dist/components/udp-linear-loader2.js +1 -1
  235. package/dist/components/udp-map-toolbar2.js +1 -1
  236. package/dist/components/udp-map.js +3 -3
  237. package/dist/components/udp-menu-item2.js +1 -1
  238. package/dist/components/udp-menu2.js +1 -1
  239. package/dist/components/udp-page.js +1 -1
  240. package/dist/components/udp-question2.js +33 -10
  241. package/dist/components/udp-question2.js.map +1 -1
  242. package/dist/components/udp-selector2.js +4 -4
  243. package/dist/components/udp-skeleton-loading2.js +1 -1
  244. package/dist/components/udp-split-screen.js +1 -1
  245. package/dist/components/udp-stepper-demo.js +1 -1
  246. package/dist/components/udp-tab-panel.js +2 -2
  247. package/dist/components/udp-tab.js +1 -1
  248. package/dist/components/udp-tabs2.js +2 -2
  249. package/dist/components/udp-time-selector2.js +3 -3
  250. package/dist/components/udp-timeline-connector.js +1 -1
  251. package/dist/components/udp-timeline-dot.js +1 -1
  252. package/dist/components/udp-timeline-item.js +2 -2
  253. package/dist/components/udp-timeline-separator.js +1 -1
  254. package/dist/components/udp-timeline.js +1 -1
  255. package/dist/components/udp-vertical-spacer.js +1 -1
  256. package/dist/docs.json +487 -103
  257. package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
  258. package/dist/esm/advanced-search_12.entry.js +5 -5
  259. package/dist/esm/ag-grid-base_6.entry.js +2 -2
  260. package/dist/esm/ambient-template-grid.entry.js +16 -16
  261. package/dist/esm/api-method-instance-grid.entry.js +1 -1
  262. package/dist/esm/app-bar.entry.js +1 -1
  263. package/dist/esm/check-box.entry.js +2 -2
  264. package/dist/esm/chip-section.entry.js +2 -2
  265. package/dist/esm/client-side-grid_2.entry.js +3 -3
  266. package/dist/esm/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.js.map +1 -0
  267. package/dist/esm/{date-time-renderer_6.entry.js → date-time-renderer_7.entry.js} +43 -10
  268. package/dist/esm/entity-maintenance-grid.entry.js +1 -1
  269. package/dist/esm/{enums-BnKmfKJT.js → enums-CHxgVY-B.js} +3 -2
  270. package/dist/esm/enums-CHxgVY-B.js.map +1 -0
  271. package/dist/esm/feature-details-card_2.entry.js +5 -5
  272. package/dist/esm/filter-conditions_7.entry.js +2 -2
  273. package/dist/esm/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.js.map +1 -0
  274. package/dist/esm/{image-upload_7.entry.js → form-metadata-display_8.entry.js} +71 -14
  275. package/dist/esm/index-CaZq3YdB.js +4 -4
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/map-component_2.entry.js +2 -2
  278. package/dist/esm/numeric-field_5.entry.js +15 -15
  279. package/dist/esm/primary-action-header_3.entry.js +2 -2
  280. package/dist/esm/question-configs-renderer_4.entry.js +12 -12
  281. package/dist/esm/resource-timeline-calendar.entry.js +1 -1
  282. package/dist/esm/search-method-grid.entry.js +2 -1
  283. package/dist/esm/search-method-grid.entry.js.map +1 -1
  284. package/dist/esm/server-side-grid.entry.js +1 -1
  285. package/dist/esm/side-sheet-container.entry.js +1 -1
  286. package/dist/esm/stencil-library.js +1 -1
  287. package/dist/esm/stencil-toggle.entry.js +4 -4
  288. package/dist/esm/text-field_2.entry.js +7 -7
  289. package/dist/esm/udp-chip_3.entry.js +1 -1
  290. package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
  291. package/dist/esm/udp-container-query-grid.entry.js +1 -1
  292. package/dist/esm/udp-container-query.entry.js +2 -2
  293. package/dist/esm/udp-container_2.entry.js +3 -3
  294. package/dist/esm/udp-date-range-selector.entry.js +1 -1
  295. package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
  296. package/dist/esm/{udp-forms-builder-question-template-C60LMUS4.js → udp-forms-builder-question-template-DQJb7f4Y.js} +10 -3
  297. package/dist/{stencil-library/udp-forms-builder-question-template-C60LMUS4.js.map → esm/udp-forms-builder-question-template-DQJb7f4Y.js.map} +1 -1
  298. package/dist/esm/udp-forms-builder-style-override.entry.js +1 -1
  299. package/dist/esm/udp-forms-builder.entry.js +3 -3
  300. package/dist/esm/udp-forms-builder.entry.js.map +1 -1
  301. package/dist/esm/udp-forms-follow-up-list-card.entry.js +3 -3
  302. package/dist/esm/udp-forms-list-card.entry.js +5 -5
  303. package/dist/esm/udp-forms-list.entry.js +2 -2
  304. package/dist/esm/udp-forms-renderer.entry.js +21 -18
  305. package/dist/esm/udp-forms-renderer.entry.js.map +1 -1
  306. package/dist/esm/udp-forms-ui.entry.js +7 -4
  307. package/dist/esm/udp-forms-ui.entry.js.map +1 -1
  308. package/dist/esm/udp-map.entry.js +3 -3
  309. package/dist/esm/udp-menu-item.entry.js +1 -1
  310. package/dist/esm/udp-page.entry.js +1 -1
  311. package/dist/esm/udp-skeleton-loading.entry.js +1 -1
  312. package/dist/esm/udp-split-screen.entry.js +1 -1
  313. package/dist/esm/udp-stepper-demo.entry.js +1 -1
  314. package/dist/esm/udp-tab-panel.entry.js +2 -2
  315. package/dist/esm/udp-tab.entry.js +1 -1
  316. package/dist/esm/udp-timeline-connector.entry.js +1 -1
  317. package/dist/esm/udp-timeline-dot.entry.js +1 -1
  318. package/dist/esm/udp-timeline-item.entry.js +2 -2
  319. package/dist/esm/udp-timeline-separator.entry.js +1 -1
  320. package/dist/esm/udp-timeline.entry.js +1 -1
  321. package/dist/esm/udp-vertical-spacer.entry.js +1 -1
  322. package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
  323. package/dist/stencil-library/advanced-search_12.entry.js +1 -1
  324. package/dist/stencil-library/ag-grid-base_6.entry.js +1 -1
  325. package/dist/stencil-library/ambient-template-grid.entry.js +1 -1
  326. package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
  327. package/dist/stencil-library/app-bar.entry.js +1 -1
  328. package/dist/stencil-library/check-box.entry.js +1 -1
  329. package/dist/stencil-library/chip-section.entry.js +1 -1
  330. package/dist/stencil-library/client-side-grid_2.entry.js +1 -1
  331. package/dist/stencil-library/date-time-renderer.file-upload-renderer.form-metadata-display-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.esm.js.map +1 -0
  332. package/dist/stencil-library/date-time-renderer_7.entry.js +2 -0
  333. package/dist/stencil-library/date-time-renderer_7.entry.js.map +1 -0
  334. package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -1
  335. package/dist/stencil-library/enums-CHxgVY-B.js +2 -0
  336. package/dist/stencil-library/enums-CHxgVY-B.js.map +1 -0
  337. package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
  338. package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
  339. package/dist/stencil-library/form-metadata-display.image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.esm.js.map +1 -0
  340. package/dist/stencil-library/form-metadata-display_8.entry.js +2 -0
  341. package/dist/stencil-library/form-metadata-display_8.entry.js.map +1 -0
  342. package/dist/stencil-library/map-component_2.entry.js +1 -1
  343. package/dist/stencil-library/numeric-field_5.entry.js +1 -1
  344. package/dist/stencil-library/primary-action-header_3.entry.js +1 -1
  345. package/dist/stencil-library/question-configs-renderer_4.entry.js +1 -1
  346. package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
  347. package/dist/stencil-library/search-method-grid.entry.esm.js.map +1 -1
  348. package/dist/stencil-library/search-method-grid.entry.js +1 -1
  349. package/dist/stencil-library/search-method-grid.entry.js.map +1 -1
  350. package/dist/stencil-library/server-side-grid.entry.js +1 -1
  351. package/dist/stencil-library/side-sheet-container.entry.js +1 -1
  352. package/dist/stencil-library/stencil-library.esm.js +1 -1
  353. package/dist/stencil-library/stencil-toggle.entry.js +1 -1
  354. package/dist/stencil-library/text-field_2.entry.js +1 -1
  355. package/dist/stencil-library/udp-chip_3.entry.js +1 -1
  356. package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
  357. package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
  358. package/dist/stencil-library/udp-container-query.entry.js +1 -1
  359. package/dist/stencil-library/udp-container_2.entry.js +1 -1
  360. package/dist/stencil-library/udp-date-range-selector.entry.js +1 -1
  361. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
  362. package/dist/stencil-library/{udp-forms-builder-question-template-C60LMUS4.js → udp-forms-builder-question-template-DQJb7f4Y.js} +2 -2
  363. package/dist/{esm/udp-forms-builder-question-template-C60LMUS4.js.map → stencil-library/udp-forms-builder-question-template-DQJb7f4Y.js.map} +1 -1
  364. package/dist/stencil-library/udp-forms-builder-style-override.entry.js +1 -1
  365. package/dist/stencil-library/udp-forms-builder.entry.esm.js.map +1 -1
  366. package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
  367. package/dist/stencil-library/udp-forms-builder.entry.js.map +1 -1
  368. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
  369. package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
  370. package/dist/stencil-library/udp-forms-list-card.entry.js.map +1 -1
  371. package/dist/stencil-library/udp-forms-list.entry.js +1 -1
  372. package/dist/stencil-library/udp-forms-renderer.entry.esm.js.map +1 -1
  373. package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
  374. package/dist/stencil-library/udp-forms-renderer.entry.js.map +1 -1
  375. package/dist/stencil-library/udp-forms-ui.entry.esm.js.map +1 -1
  376. package/dist/stencil-library/udp-forms-ui.entry.js +1 -1
  377. package/dist/stencil-library/udp-forms-ui.entry.js.map +1 -1
  378. package/dist/stencil-library/udp-map.entry.js +1 -1
  379. package/dist/stencil-library/udp-menu-item.entry.js +1 -1
  380. package/dist/stencil-library/udp-page.entry.js +1 -1
  381. package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
  382. package/dist/stencil-library/udp-split-screen.entry.js +1 -1
  383. package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
  384. package/dist/stencil-library/udp-tab-panel.entry.js +1 -1
  385. package/dist/stencil-library/udp-tab.entry.js +1 -1
  386. package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
  387. package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
  388. package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
  389. package/dist/stencil-library/udp-timeline-item.entry.js.map +1 -1
  390. package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
  391. package/dist/stencil-library/udp-timeline.entry.js +1 -1
  392. package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -1
  393. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/form-metadata-display-renderer/form-metadata-display-renderer.d.ts +11 -0
  394. package/dist/types/components/forms/udp-forms/udp-forms-builder/udp-forms-builder-question-template.d.ts +70 -0
  395. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-ui/udp-forms-ui.d.ts +5 -2
  396. package/dist/types/components/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.d.ts +1 -3
  397. package/dist/types/components/forms/udp-forms/udp-question/udp-question.d.ts +8 -3
  398. package/dist/types/components/forms/udp-forms/utils/classes/UdpFormSubmission.d.ts +1 -0
  399. package/dist/types/components/forms/udp-forms/utils/enums.d.ts +2 -1
  400. package/dist/types/components/inputs/form metadata display/form-metadata-display.d.ts +62 -0
  401. package/dist/types/components.d.ts +178 -28
  402. package/package.json +2 -2
  403. package/dist/cjs/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.cjs.js.map +0 -1
  404. package/dist/cjs/enums-ibNZ4cZ4.js.map +0 -1
  405. package/dist/cjs/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.cjs.js.map +0 -1
  406. package/dist/esm/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.js.map +0 -1
  407. package/dist/esm/enums-BnKmfKJT.js.map +0 -1
  408. package/dist/esm/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.js.map +0 -1
  409. package/dist/stencil-library/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.esm.js.map +0 -1
  410. package/dist/stencil-library/date-time-renderer_6.entry.js +0 -2
  411. package/dist/stencil-library/date-time-renderer_6.entry.js.map +0 -1
  412. package/dist/stencil-library/enums-BnKmfKJT.js +0 -2
  413. package/dist/stencil-library/enums-BnKmfKJT.js.map +0 -1
  414. package/dist/stencil-library/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comments.udp-save-draft-button.entry.esm.js.map +0 -1
  415. package/dist/stencil-library/image-upload_7.entry.js +0 -2
  416. package/dist/stencil-library/image-upload_7.entry.js.map +0 -1
@@ -30,7 +30,7 @@ export class EntityMaintenanceGrid {
30
30
  this.getPromotedMethods();
31
31
  }
32
32
  render() {
33
- return (h("api-method-grid", { key: 'b7d45a2578a739fdc2cff4ce7edc9caab3c42ad4', onGridReady: e => this.handleGridReady(e), gridHeaderConfig: this.gridHeaderConfig }));
33
+ return (h("api-method-grid", { key: 'c142301d4a7afdf5d988d27944622ce3528b0ffb', onGridReady: e => this.handleGridReady(e), gridHeaderConfig: this.gridHeaderConfig }));
34
34
  }
35
35
  static get is() { return "entity-maintenance-grid"; }
36
36
  static get properties() {
@@ -38,6 +38,7 @@ export class SearchMethodGrid {
38
38
  externalSearchObject: {
39
39
  filterElements: customSearchObject === null || customSearchObject === void 0 ? void 0 : customSearchObject.filterElements,
40
40
  filterGroups: customSearchObject === null || customSearchObject === void 0 ? void 0 : customSearchObject.filterGroups,
41
+ logicalSearchOperator: customSearchObject === null || customSearchObject === void 0 ? void 0 : customSearchObject.logicalSearchOperator,
41
42
  eagerLoad: (customSearchObject === null || customSearchObject === void 0 ? void 0 : customSearchObject.eagerLoad) || false,
42
43
  },
43
44
  });
@@ -57,7 +58,7 @@ export class SearchMethodGrid {
57
58
  }
58
59
  }
59
60
  render() {
60
- return (h("server-side-grid", { key: 'cc189dd7b3dd77673da2f632c367a566ab17a082', onGridReady: e => this.handleGridReady(e), dataSource: this.dataSource, gridFunctions: this.gridFunctions, columnDefs: this.columnDefs, gridOptions: this.gridOptions, gridHeaderConfig: this.gridHeaderConfig, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, gridApiCallback: this.gridApiCallback }));
61
+ return (h("server-side-grid", { key: '560c6fe37f5d5e67988aad290caaa1a68862585d', onGridReady: e => this.handleGridReady(e), dataSource: this.dataSource, gridFunctions: this.gridFunctions, columnDefs: this.columnDefs, gridOptions: this.gridOptions, gridHeaderConfig: this.gridHeaderConfig, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, gridApiCallback: this.gridApiCallback }));
61
62
  }
62
63
  static get is() { return "search-method-grid"; }
63
64
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"search-method-grid.js","sourceRoot":"","sources":["../../../../src/components/grid/new-grid/search-method-grid.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop, Event, EventEmitter, Watch, State } from '@stencil/core';\nimport { GridApi, IServerSideDatasource, ColDef, GridOptions } from 'ag-grid-community-v33';\nimport { createSearchMethodDataSource } from './datasources/searchMethodDatasource';\nimport { Search } from '../../../udp-utilities/interfaces/searchObject';\nimport { HeaderConfig, GridApiMethods } from './interfaces/grid';\nimport { getAgGridColumnState } from './helperFunctions/convertSearchObjectToAgGridModel';\nimport { GridFunctionConfig } from 'src/components';\nimport isEqual from 'lodash/isEqual';\n\n@Component({\n tag: 'search-method-grid',\n shadow: false,\n})\nexport class SearchMethodGrid {\n @Prop() columnDefs: Array<ColDef> = [];\n @Prop() gridOptions: GridOptions;\n @Prop() gridHeaderConfig: HeaderConfig;\n @Prop() gridFunctions: GridFunctionConfig[] = [];\n @Prop() gridId: string;\n @Prop() entityName: string;\n @Prop() gridHeight: string;\n @Prop() searchMethodConfig?: {\n apiMethodId?: string;\n requestUrl?: string;\n customSearchObject?: Search;\n };\n @Prop() gridApiCallback?: (api: GridApiMethods) => void;\n\n @State() dataSource: IServerSideDatasource;\n\n @Event() gridReady!: EventEmitter<GridApi>;\n\n private gridApi!: GridApi;\n\n private handleGridReady(event: CustomEvent<GridApi>) {\n this.gridApi = event.detail;\n\n //Run these functions for the case that the props were instantly set\n this.setDatasource();\n this.setGridModel();\n }\n\n @Watch('searchMethodConfig')\n handleSearchMethodUpdate(newVal, prevVal) {\n //Guard against recreating datasource if only reference changed. Pass in a memoized (useMemo in react) value to avoid the watch triggering\n if (isEqual(newVal, prevVal)) {\n return;\n }\n\n this.setDatasource();\n this.setGridModel();\n }\n\n setDatasource() {\n if (!this.searchMethodConfig) {\n return;\n }\n const { apiMethodId, customSearchObject, requestUrl } = this.searchMethodConfig;\n\n if (customSearchObject) {\n if (customSearchObject?.pageSize) {\n this.gridApi.setGridOption('cacheBlockSize', customSearchObject?.pageSize);\n }\n }\n\n if (apiMethodId || requestUrl) {\n this.dataSource = createSearchMethodDataSource({\n apiMethodId: apiMethodId,\n requestUrl: requestUrl,\n externalSearchObject: {\n filterElements: customSearchObject?.filterElements,\n filterGroups: customSearchObject?.filterGroups,\n eagerLoad: customSearchObject?.eagerLoad || false,\n } as Search,\n });\n }\n }\n\n setGridModel() {\n if (!this.searchMethodConfig) {\n return;\n }\n const { customSearchObject } = this.searchMethodConfig;\n\n if (customSearchObject) {\n //Get column state from search object: grouping, ordering\n const state = getAgGridColumnState(customSearchObject);\n this.gridApi.applyColumnState({\n state: state,\n });\n }\n }\n\n render() {\n return (\n <server-side-grid\n onGridReady={e => this.handleGridReady(e)}\n dataSource={this.dataSource}\n gridFunctions={this.gridFunctions}\n columnDefs={this.columnDefs}\n gridOptions={this.gridOptions}\n gridHeaderConfig={this.gridHeaderConfig}\n gridId={this.gridId}\n entityName={this.entityName}\n gridHeight={this.gridHeight}\n gridApiCallback={this.gridApiCallback}\n />\n );\n }\n}\n"]}
1
+ {"version":3,"file":"search-method-grid.js","sourceRoot":"","sources":["../../../../src/components/grid/new-grid/search-method-grid.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop, Event, EventEmitter, Watch, State } from '@stencil/core';\nimport { GridApi, IServerSideDatasource, ColDef, GridOptions } from 'ag-grid-community-v33';\nimport { createSearchMethodDataSource } from './datasources/searchMethodDatasource';\nimport { Search } from '../../../udp-utilities/interfaces/searchObject';\nimport { HeaderConfig, GridApiMethods } from './interfaces/grid';\nimport { getAgGridColumnState } from './helperFunctions/convertSearchObjectToAgGridModel';\nimport { GridFunctionConfig } from 'src/components';\nimport isEqual from 'lodash/isEqual';\n\n@Component({\n tag: 'search-method-grid',\n shadow: false,\n})\nexport class SearchMethodGrid {\n @Prop() columnDefs: Array<ColDef> = [];\n @Prop() gridOptions: GridOptions;\n @Prop() gridHeaderConfig: HeaderConfig;\n @Prop() gridFunctions: GridFunctionConfig[] = [];\n @Prop() gridId: string;\n @Prop() entityName: string;\n @Prop() gridHeight: string;\n @Prop() searchMethodConfig?: {\n apiMethodId?: string;\n requestUrl?: string;\n customSearchObject?: Search;\n };\n @Prop() gridApiCallback?: (api: GridApiMethods) => void;\n\n @State() dataSource: IServerSideDatasource;\n\n @Event() gridReady!: EventEmitter<GridApi>;\n\n private gridApi!: GridApi;\n\n private handleGridReady(event: CustomEvent<GridApi>) {\n this.gridApi = event.detail;\n\n //Run these functions for the case that the props were instantly set\n this.setDatasource();\n this.setGridModel();\n }\n\n @Watch('searchMethodConfig')\n handleSearchMethodUpdate(newVal, prevVal) {\n //Guard against recreating datasource if only reference changed. Pass in a memoized (useMemo in react) value to avoid the watch triggering\n if (isEqual(newVal, prevVal)) {\n return;\n }\n\n this.setDatasource();\n this.setGridModel();\n }\n\n setDatasource() {\n if (!this.searchMethodConfig) {\n return;\n }\n const { apiMethodId, customSearchObject, requestUrl } = this.searchMethodConfig;\n\n if (customSearchObject) {\n if (customSearchObject?.pageSize) {\n this.gridApi.setGridOption('cacheBlockSize', customSearchObject?.pageSize);\n }\n }\n\n if (apiMethodId || requestUrl) {\n this.dataSource = createSearchMethodDataSource({\n apiMethodId: apiMethodId,\n requestUrl: requestUrl,\n externalSearchObject: {\n filterElements: customSearchObject?.filterElements,\n filterGroups: customSearchObject?.filterGroups,\n logicalSearchOperator: customSearchObject?.logicalSearchOperator,\n eagerLoad: customSearchObject?.eagerLoad || false,\n } as Search,\n });\n }\n }\n\n setGridModel() {\n if (!this.searchMethodConfig) {\n return;\n }\n const { customSearchObject } = this.searchMethodConfig;\n\n if (customSearchObject) {\n //Get column state from search object: grouping, ordering\n const state = getAgGridColumnState(customSearchObject);\n this.gridApi.applyColumnState({\n state: state,\n });\n }\n }\n\n render() {\n return (\n <server-side-grid\n onGridReady={e => this.handleGridReady(e)}\n dataSource={this.dataSource}\n gridFunctions={this.gridFunctions}\n columnDefs={this.columnDefs}\n gridOptions={this.gridOptions}\n gridHeaderConfig={this.gridHeaderConfig}\n gridId={this.gridId}\n entityName={this.entityName}\n gridHeight={this.gridHeight}\n gridApiCallback={this.gridApiCallback}\n />\n );\n }\n}\n"]}
@@ -17,7 +17,7 @@ export class ServerSideGrid {
17
17
  this.serverSideConfig = Object.assign(Object.assign({ paginationAutoPageSize: true, suppressSetFilterByDefault: true }, this.gridOptions), { rowModelType: 'serverSide' });
18
18
  }
19
19
  render() {
20
- return (h("ag-grid-base", { key: 'ab64e567484590408a8491efb8d2f71cb8966a48', columnDefs: this.columnDefs, gridOptions: this.serverSideConfig, headerConfig: this.gridHeaderConfig, onGridReady: e => this.handleGridReady(e), gridFunctions: this.gridFunctions, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, gridApiCallback: this.gridApiCallback }));
20
+ return (h("ag-grid-base", { key: '6dfc804520f124eb675229be615e75b7cce0b67e', columnDefs: this.columnDefs, gridOptions: this.serverSideConfig, headerConfig: this.gridHeaderConfig, onGridReady: e => this.handleGridReady(e), gridFunctions: this.gridFunctions, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, gridApiCallback: this.gridApiCallback }));
21
21
  }
22
22
  static get is() { return "server-side-grid"; }
23
23
  static get properties() {
@@ -95,7 +95,7 @@ export class ResourceTimelineCalendar {
95
95
  }
96
96
  render() {
97
97
  const todayString = new Date().toLocaleDateString('en-US');
98
- return (h("div", { key: '4ea81c717f5873038a455e41f7e51428881e15a7', class: "resource-timeline-calendar" }, h("resource-timeline-primary-bar", { key: '58497189fef631cd36d41a781778a9e39a1d142c', gridBarTitle: this.gridBarTitle, subTitle: this.subTitle, primaryAction: this.primaryAction, secondaryAction: this.secondaryAction, clickBackward: this.handleClickBackward, clickForward: this.handleClickForward, clickToday: this.handleClickToday, subtitleStatus: this.subtitleStatus, subtitleStatusMappingClasses: this.subtitleStatusMappingClasses, disableHeaderActions: this.disableHeaderActions, showLockedIcon: this.showLockedIcon, expandAll: this.expandGroups, collapseAll: this.collapseGroups }), h("client-side-grid", { key: '1caea66bcb835ae9b7e0d926061f825cd5eb70a6', rowData: this.filledRowData, columnDefs: this.formattedColumnDefs, gridOptions: Object.assign(Object.assign({}, this.additionalGridOptions), { components: {
98
+ return (h("div", { key: '05cf3842abc0b52ab72f03c1019d53ec40bda0b7', class: "resource-timeline-calendar" }, h("resource-timeline-primary-bar", { key: 'c35441fa99b9e1f82aa55b95eebe2421c16e6a31', gridBarTitle: this.gridBarTitle, subTitle: this.subTitle, primaryAction: this.primaryAction, secondaryAction: this.secondaryAction, clickBackward: this.handleClickBackward, clickForward: this.handleClickForward, clickToday: this.handleClickToday, subtitleStatus: this.subtitleStatus, subtitleStatusMappingClasses: this.subtitleStatusMappingClasses, disableHeaderActions: this.disableHeaderActions, showLockedIcon: this.showLockedIcon, expandAll: this.expandGroups, collapseAll: this.collapseGroups }), h("client-side-grid", { key: '3ac6eaf3866a0a156f21486d50848503e730339a', rowData: this.filledRowData, columnDefs: this.formattedColumnDefs, gridOptions: Object.assign(Object.assign({}, this.additionalGridOptions), { components: {
99
99
  agGridSubtitleCellRenderer: AgGridSubtitleCellRenderer,
100
100
  resourceTimelineCalendarHeader: ResourceTimelineColumnHeader,
101
101
  }, processPivotResultColDef: colDef => {
@@ -12,12 +12,12 @@ export class ResourceTimelinePrimaryBar {
12
12
  }
13
13
  render() {
14
14
  var _a, _b, _c, _d, _e, _f, _g, _h;
15
- return (h("div", { key: '49954ac4e96d422b668b39b9475ad1415376bc7c', class: "header-bar" }, h("div", { key: '04a906e8a6f11fc5fc01f561439581706b61bec9', class: "title-section" }, this.gridBarTitle || this.gridBarTitle === '' ? (h("unity-typography", { variant: "body1", bold: true }, this.gridBarTitle, ' ')) : (h("udp-skeleton-loading", { width: "200px" })), h("div", { key: '027d4b4447d4b13ad3b09eb1e635dc3d64cf4b08', class: "subtitle" }, this.subTitle || this.subTitle === '' ? (h("unity-typography", { variant: "body1" }, this.subTitle, " ")) : (h("udp-skeleton-loading", { width: "200px" })), h("div", { key: '444bc2f0420e9fab5f4fb587241e412012fe702c', class: "subtitle-status" }, this.subtitleStatus && (h("udp-chip", { key: 'a8a44487b0c78534f88f66655629fe375c7b1c9c', variant: "outlined", size: "small", label: this.subtitleStatus, color: this.subtitleStatusMappingClasses[this.subtitleStatus] })), this.showLockedIcon && (h("udp-icon-button", { key: 'c5c08a32240a17fcc577b2331f7787310e18adaf', icon: getIconFromName('lock'), variant: "outlined", size: "x-small", disabled: true }))))), h("div", { key: '0807278c518e101806cd49a0f273971520f958d7', class: "button-section" }, h("udp-icon-button", { key: 'dc97a20b8c163f0dca6fcaf5f74cf5bf9884a7d9', class: {
15
+ return (h("div", { key: '8e6616f42071e34d49f82053c2f6abd7d76a6abb', class: "header-bar" }, h("div", { key: 'f2dd47e01b7183c2e918f1fd15615570ec749949', class: "title-section" }, this.gridBarTitle || this.gridBarTitle === '' ? (h("unity-typography", { variant: "body1", bold: true }, this.gridBarTitle, ' ')) : (h("udp-skeleton-loading", { width: "200px" })), h("div", { key: '04c1bc4b566057d031e6f1bda1c70823c658a293', class: "subtitle" }, this.subTitle || this.subTitle === '' ? (h("unity-typography", { variant: "body1" }, this.subTitle, " ")) : (h("udp-skeleton-loading", { width: "200px" })), h("div", { key: '321a0e69ff2c6d338ef8c2b57b3b1d551f4532e4', class: "subtitle-status" }, this.subtitleStatus && (h("udp-chip", { key: '231c7fe256912fa9541838cb7d263022dd666261', variant: "outlined", size: "small", label: this.subtitleStatus, color: this.subtitleStatusMappingClasses[this.subtitleStatus] })), this.showLockedIcon && (h("udp-icon-button", { key: '1b6747d1599f00bf25c0ff7ce0265b2f475451d8', icon: getIconFromName('lock'), variant: "outlined", size: "x-small", disabled: true }))))), h("div", { key: '3f3ae405fc7fa8bf75ad5e77d1da57c45d0f1008', class: "button-section" }, h("udp-icon-button", { key: '5186c84681a51b8d46e0069bfcce452a0a66f0ab', class: {
16
16
  'settings-button': true,
17
17
  'is-open': this.isMenuOpen,
18
18
  }, onClick: this.toggleSettingsMenu, ref: (el) => {
19
19
  this.menuAnchorEl = el ? el : undefined;
20
- }, icon: getIconFromName('settings'), variant: 'outlined', size: "small", color: "inherit" }), h("udp-menu", { key: '131d9320f2fd7ab941bd5b9db783e7e831f28f3b', open: this.isMenuOpen, anchor: this.menuAnchorEl, handleClose: () => (this.isMenuOpen = false) }, h("udp-menu-item", { key: 'cabc948632450e4db929f2a9fc99d34fc6929ef9', label: "Expand Groups", onItemClick: this.expandAll }), h("udp-menu-item", { key: '7d187af6326b72c386e10af3b8ff615e85e460fb', label: "Collapse Groups", onItemClick: this.collapseAll })), this.clickBackward && (h("div", { key: '72413de4e987cec43eb58e16d17cd45be269fdc7', class: "date-navigation" }, this.clickBackward && (h("udp-icon-button", { key: 'c7f94a17b0f5544fc6b96c2c10e7103ea4f680f7', tooltip: "Previous period", icon: ChevronLeft24, onClick: this.clickBackward, size: "small", color: "inherit", disabled: this.disableHeaderActions })), this.clickToday && (h("udp-button", { key: 'fbd481e28520556772d40ffe45fe3380f5c43237', onClick: this.clickToday, size: "small", color: "inherit", disabled: this.disableHeaderActions }, "Today")), this.clickForward && (h("udp-icon-button", { key: '0886e2c8679eb9a0ddefa79f769fd2ab60c590d6', tooltip: "Next period", icon: ChevronRight24, onClick: this.clickForward, size: "small", color: "inherit", disabled: this.disableHeaderActions })))), ((_a = this.secondaryAction) === null || _a === void 0 ? void 0 : _a.onClick) && (h("udp-button", { key: 'b5f2b378c128cc4792c2cf7a5d85d5a4e5e79547', disabled: ((_b = this.secondaryAction) === null || _b === void 0 ? void 0 : _b.disabled) || this.disableHeaderActions, variant: "outlined", color: "secondary", onButtonClick: this.secondaryAction.onClick, startIcon: h("udp-icon", { iconName: (_c = this.secondaryAction) === null || _c === void 0 ? void 0 : _c.iconName, color: 'inherit' }), size: "medium" }, (_d = this.secondaryAction) === null || _d === void 0 ? void 0 : _d.label)), ((_e = this.primaryAction) === null || _e === void 0 ? void 0 : _e.onClick) && (h("udp-button", { key: '60485633e882748fb314934d2cd9353e14e86b1c', disabled: ((_f = this.primaryAction) === null || _f === void 0 ? void 0 : _f.disabled) || this.disableHeaderActions, startIcon: h("udp-icon", { iconName: (_g = this.primaryAction) === null || _g === void 0 ? void 0 : _g.iconName, color: 'inherit' }), variant: "contained", onButtonClick: this.primaryAction.onClick, color: "secondary" }, (_h = this.primaryAction) === null || _h === void 0 ? void 0 : _h.label)))));
20
+ }, icon: getIconFromName('settings'), variant: 'outlined', size: "small", color: "inherit" }), h("udp-menu", { key: '161243abc59126f362f99b9390f951402a3a72ce', open: this.isMenuOpen, anchor: this.menuAnchorEl, handleClose: () => (this.isMenuOpen = false) }, h("udp-menu-item", { key: 'c213552482c6789c2befd4a89c5ee258923fed5b', label: "Expand Groups", onItemClick: this.expandAll }), h("udp-menu-item", { key: 'cfe1017a24bf40f572189ef343411ca6c897e50f', label: "Collapse Groups", onItemClick: this.collapseAll })), this.clickBackward && (h("div", { key: '3de87fd7a86135db7c5e33dc058baf13c055666f', class: "date-navigation" }, this.clickBackward && (h("udp-icon-button", { key: '77ba0fd500c8e7a1aba307a59afef9f1d702c6cf', tooltip: "Previous period", icon: ChevronLeft24, onClick: this.clickBackward, size: "small", color: "inherit", disabled: this.disableHeaderActions })), this.clickToday && (h("udp-button", { key: '5203cc992331e815d68e35e3d1e80cd102de301a', onClick: this.clickToday, size: "small", color: "inherit", disabled: this.disableHeaderActions }, "Today")), this.clickForward && (h("udp-icon-button", { key: 'f7486551ef0cee7a103bf5aa075656de7ed3703a', tooltip: "Next period", icon: ChevronRight24, onClick: this.clickForward, size: "small", color: "inherit", disabled: this.disableHeaderActions })))), ((_a = this.secondaryAction) === null || _a === void 0 ? void 0 : _a.onClick) && (h("udp-button", { key: '35766ccf7634e6809b615843847256ae72574b6b', disabled: ((_b = this.secondaryAction) === null || _b === void 0 ? void 0 : _b.disabled) || this.disableHeaderActions, variant: "outlined", color: "secondary", onButtonClick: this.secondaryAction.onClick, startIcon: h("udp-icon", { iconName: (_c = this.secondaryAction) === null || _c === void 0 ? void 0 : _c.iconName, color: 'inherit' }), size: "medium" }, (_d = this.secondaryAction) === null || _d === void 0 ? void 0 : _d.label)), ((_e = this.primaryAction) === null || _e === void 0 ? void 0 : _e.onClick) && (h("udp-button", { key: 'feadbdddbad0b64e808ac4e778ee074bedb0bcb6', disabled: ((_f = this.primaryAction) === null || _f === void 0 ? void 0 : _f.disabled) || this.disableHeaderActions, startIcon: h("udp-icon", { iconName: (_g = this.primaryAction) === null || _g === void 0 ? void 0 : _g.iconName, color: 'inherit' }), variant: "contained", onButtonClick: this.primaryAction.onClick, color: "secondary" }, (_h = this.primaryAction) === null || _h === void 0 ? void 0 : _h.label)))));
21
21
  }
22
22
  static get is() { return "resource-timeline-primary-bar"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -129,13 +129,13 @@ export class Checkbox {
129
129
  */
130
130
  render() {
131
131
  const isError = !!this.errorMessage;
132
- return (h(Host, { key: '07cf738088ab4982032f805c6c196638640c7620', class: {
132
+ return (h(Host, { key: 'bfbea0de03ce487f84086a9668d41e16aef98b1f', class: {
133
133
  'udp-input': true,
134
134
  'udp-input--error': isError,
135
135
  'udp-input--disabled': this.disabled,
136
136
  'udp-input--required': this.required,
137
137
  'udp-input--checked': this.internalChecked
138
- }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '6afeb636543317c528c9e9a495249f4f7621c466', class: "checkbox-container" }, h("input", { key: 'be66346015bd4dcf6825a9150759556e691d14a9', type: "checkbox", checked: this.internalChecked, onChange: this.handleChange, id: this.id, name: this.name, disabled: this.disabled, required: this.required }), this.label && h("label", { key: '880e01a27b65f571f8e5efb49e686386db26662c', htmlFor: this.id }, this.label), this.errorMessage && h("div", { key: '1f86fd9b4915f2fa088d5d79c9d686ea0b44b353', class: "error-message" }, this.errorMessage))));
138
+ }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '70d790495ae3a0e6d26898902040189d37ea591c', class: "checkbox-container" }, h("input", { key: 'c9d1d777a235dca3e432745433ffc775d7e1fa1c', type: "checkbox", checked: this.internalChecked, onChange: this.handleChange, id: this.id, name: this.name, disabled: this.disabled, required: this.required }), this.label && h("label", { key: '2e75284b7c1de3f2766c61089714bceb03e1adea', htmlFor: this.id }, this.label), this.errorMessage && h("div", { key: '1129e185219a6e0172655bcbe91e1bcfc105ed44', class: "error-message" }, this.errorMessage))));
139
139
  }
140
140
  static get is() { return "check-box"; }
141
141
  static get encapsulation() { return "shadow"; }
@@ -28,7 +28,7 @@ export class UdpDateRangeSelector {
28
28
  : this.variant === 'single'
29
29
  ? 'calendar-date'
30
30
  : 'calendar-range';
31
- return (h(Host, { key: '34f21a17dcfaa40fa0e068e1ff2b3eb799718d35', style: { '--calendar-width': this.width } }, h(CalendarTag, { key: '69396b5dda3db71a322cce96d061eb270e7a6630', value: this.value, min: this.minDate, max: this.maxDate, firstDayOfWeek: 0, months: this.monthsToDisplay, showOutsideDays: true, pageBy: "single", isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, onChange: this.handleChange }, h("udp-icon", { key: 'c8d15a18ac8cae807f62f61824fe173b47056f95', slot: "previous", iconName: 'chevronLeft16', color: "inherit" }), h("udp-icon", { key: '7ac71c49d0edbcc9b5ef8952ee65b6863cf5e6a7', slot: "next", iconName: 'chevronRight16', color: "inherit" }), h("div", { key: 'ff0e2d900d172a9c8378d91a1298ff76f8610b83', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index) => (h("calendar-month", { offset: index })))))));
31
+ return (h(Host, { key: '98fb48f793658c67a5ae8e84daa712295a9e3080', style: { '--calendar-width': this.width } }, h(CalendarTag, { key: '03bd3adc716431fcfc7da2ab6bc40ccb804e9113', value: this.value, min: this.minDate, max: this.maxDate, firstDayOfWeek: 0, months: this.monthsToDisplay, showOutsideDays: true, pageBy: "single", isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, onChange: this.handleChange }, h("udp-icon", { key: '7f8a4aa9e0ecebdc6e806c3d20fe9fb55559e0ab', slot: "previous", iconName: 'chevronLeft16', color: "inherit" }), h("udp-icon", { key: 'ab0efbca0d3bd404c2e9fe43864eac1f156a73d0', slot: "next", iconName: 'chevronRight16', color: "inherit" }), h("div", { key: 'aadb14be39e4ef95630514ae378aa254bcfb2d53', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index) => (h("calendar-month", { offset: index })))))));
32
32
  }
33
33
  static get is() { return "udp-date-range-selector"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -160,7 +160,7 @@ export class UdpDateSelector {
160
160
  classNames.push('bx--text-input--full-width');
161
161
  }
162
162
  const inputClass = classNames.join(' ');
163
- return (h(Host, { key: 'ae9efad139a83656e0fee173704f354ba2331f6a', class: {
163
+ return (h(Host, { key: '6508c42efac96e7db1d320ec4faed15fd849540c', class: {
164
164
  'udp-input': true,
165
165
  'udp-input--error': isError,
166
166
  'udp-input--disabled': this.disabled,
@@ -169,9 +169,9 @@ export class UdpDateSelector {
169
169
  'udp-input--required': this.required,
170
170
  [`udp-input--size-${this.size}`]: true,
171
171
  [`udp-input--margin-${this.margin}`]: true,
172
- }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: 'da630f9378f12211581f119f79e5a1047b53ea8e', class: "bx--form-item" }, h("unity-typography", { key: 'bf1ae668de34df013001033fdb63f8641eb16a07', variant: "caption-text" }, h("label", { key: 'dccb79085b266c6c25102836f8773c6eb109eabc', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), h("input", { key: '06faee995162621361fd90bc6b648d6e53ac8afa', type: "date", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min ? this.formatDateForHtml(this.min) : null, max: this.max ? this.formatDateForHtml(this.max) : null, onInput: this.handleDateChange, onChange: this.handleDateChange, onBlur: this.handleBlur, onFocus: this.handleFocus, disabled: this.disabled, readonly: this.readonly, required: this.required,
172
+ }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: 'ecd12c48810b985d702ce70ab89e0670f387c257', class: "bx--form-item" }, h("unity-typography", { key: '51a542e4f6c238965fc82312a10beb21386d4ead', variant: "caption-text" }, h("label", { key: 'af6d330c10eb905ee01e53e50d43038d10a0714f', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), h("input", { key: '183af2eb4d561a24098dee7c8eebb2b3436606d2', type: "date", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min ? this.formatDateForHtml(this.min) : null, max: this.max ? this.formatDateForHtml(this.max) : null, onInput: this.handleDateChange, onChange: this.handleDateChange, onBlur: this.handleBlur, onFocus: this.handleFocus, disabled: this.disabled, readonly: this.readonly, required: this.required,
173
173
  //@ts-ignore
174
- udprecordid: 'udpRecord-udp-date-selector-' + this.id }), h("unity-typography", { key: '64381575296c32b4b1ad08cafa465ad061d981fd', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
174
+ udprecordid: 'udpRecord-udp-date-selector-' + this.id }), h("unity-typography", { key: '3233342e07981927427787adbc0dc0cad28d302c', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
175
175
  }
176
176
  static get is() { return "udp-date-selector"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -189,7 +189,7 @@ export class UdpDateTimeSelector {
189
189
  classNames.push('bx--text-input--full-width');
190
190
  }
191
191
  const inputClass = classNames.join(' ');
192
- return (h(Host, { key: '7c8bef5171c52fc9fc0d11f589772c7415a972fc', class: {
192
+ return (h(Host, { key: '510b2b323027de453c53f54c4f2e07852e704559', class: {
193
193
  'udp-input': true,
194
194
  'udp-input--error': isError,
195
195
  'udp-input--disabled': this.disabled,
@@ -198,9 +198,9 @@ export class UdpDateTimeSelector {
198
198
  'udp-input--required': this.required,
199
199
  [`udp-input--size-${this.size}`]: true,
200
200
  [`udp-input--margin-${this.margin}`]: true,
201
- }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '7188eec6d89b4294f1fc4cc8270c083796ecafb1', class: "bx--form-item" }, h("unity-typography", { key: '56ab355fb04821355bb30228627196a0dd9735c3', variant: "caption-text" }, h("label", { key: '903c287233f89699d9798585cbc36ea75ddb18f6', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), h("input", { key: '9695e85ae15acc7e0ad98016e1daebd4c95a7ddb', type: "datetime-local", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min ? this.formatDateForHtml(this.min) : null, max: this.max ? this.formatDateForHtml(this.max) : null, onInput: this.handleDateChange, onBlur: this.handleBlur, onFocus: this.handleFocus, disabled: this.disabled, readonly: this.readonly, required: this.required,
201
+ }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: 'fc3b80d9a0613e7c85831183c7e73ee0ea6f5fa8', class: "bx--form-item" }, h("unity-typography", { key: '96d28577fb180ffbd021ff475028c93cd1c10262', variant: "caption-text" }, h("label", { key: '3f7eb4054fd21b7b684e6d0012fe249c5b164b3a', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), h("input", { key: 'e8d1d3f9228b9a49bb3a2a5cd860660d2ed1f6c4', type: "datetime-local", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min ? this.formatDateForHtml(this.min) : null, max: this.max ? this.formatDateForHtml(this.max) : null, onInput: this.handleDateChange, onBlur: this.handleBlur, onFocus: this.handleFocus, disabled: this.disabled, readonly: this.readonly, required: this.required,
202
202
  //@ts-ignore
203
- udprecordid: 'udpRecord-udp-datetime-selector-' + this.id }), h("unity-typography", { key: '355205378984339a63ef692d244cc77662065d78', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
203
+ udprecordid: 'udpRecord-udp-datetime-selector-' + this.id }), h("unity-typography", { key: '6a3b75c91e17283f5e36a782735d5b09eb927aee', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
204
204
  }
205
205
  static get is() { return "udp-datetime-selector"; }
206
206
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,37 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .container {
6
+ display: grid;
7
+ gap: 10px;
8
+ padding: 12px 14px;
9
+ background: var(--unity-color-surface, #fff);
10
+ }
11
+
12
+ .row {
13
+ display: grid;
14
+ grid-template-columns: 130px 1fr;
15
+ align-items: baseline;
16
+ column-gap: 12px;
17
+ }
18
+
19
+ .label {
20
+ font-size: 12px;
21
+ line-height: 1.2;
22
+ letter-spacing: 0.02em;
23
+ text-transform: uppercase;
24
+ color: var(--unity-color-text-secondary, rgba(0, 0, 0, 0.65));
25
+ }
26
+
27
+ .value {
28
+ color: var(--unity-color-text, rgba(0, 0, 0, 0.9));
29
+ overflow-wrap: anywhere;
30
+ }
31
+
32
+ @media (max-width: 420px) {
33
+ .row {
34
+ grid-template-columns: 1fr;
35
+ row-gap: 4px;
36
+ }
37
+ }
@@ -0,0 +1,191 @@
1
+ import { h } from "@stencil/core";
2
+ import { dateFormatter } from "../../forms/udp-forms/utils/utils";
3
+ /**
4
+ * A small display-only component for showing read-only form metadata.
5
+ *
6
+ * Intended usage:
7
+ * - Rendered near the top or bottom of a form submission view
8
+ * - Pure presentational output based on props (no internal state, no events)
9
+ *
10
+ * Layout:
11
+ * - Uses a simple "label + value" row pattern for consistent alignment
12
+ * - Hides rows when the corresponding value is missing or the display flag is false
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * <form-metadata-display
17
+ * userDisplayName="Ada Lovelace"
18
+ * userEmail="ada@example.com"
19
+ * submittedOn={new Date()}
20
+ * />
21
+ * ```
22
+ */
23
+ export class FormMetadataDisplay {
24
+ constructor() {
25
+ /**
26
+ * Toggles rendering of the "Name" row.
27
+ * Defaults to true.
28
+ */
29
+ this.displayOwnerFullName = true;
30
+ /**
31
+ * Toggles rendering of the "Email" row.
32
+ * Defaults to true.
33
+ */
34
+ this.displayOwnerEmail = true;
35
+ /**
36
+ * Toggles rendering of the "Submitted on" row.
37
+ * Defaults to true.
38
+ */
39
+ this.displaySubmissionDate = true;
40
+ }
41
+ /**
42
+ * Renders a single metadata row using a standard label/value layout.
43
+ * @internal
44
+ */
45
+ renderRow(label, value) {
46
+ return (h("div", { class: "row" }, h("span", { class: "label" }, label), h("unity-typography", { class: "value", variant: "h4" }, value)));
47
+ }
48
+ /**
49
+ * Renders the metadata container. Rows are conditionally included based on flags + data presence.
50
+ * @internal
51
+ */
52
+ render() {
53
+ return (
54
+ // role/aria-label provide a lightweight accessible grouping for screen readers
55
+ h("div", { key: '469db81d4d885bc6b582aa06fb4a8e84107294f0', class: "container", role: "group", "aria-label": "Form metadata" }, this.displayOwnerFullName && this.userDisplayName && this.renderRow('Name', this.userDisplayName), this.displayOwnerEmail && this.userEmail && this.renderRow('Email', this.userEmail), this.displaySubmissionDate && this.submittedOn && this.renderRow('Submitted on', dateFormatter(this.submittedOn, 'long'))));
56
+ }
57
+ static get is() { return "form-metadata-display"; }
58
+ static get encapsulation() { return "shadow"; }
59
+ static get originalStyleUrls() {
60
+ return {
61
+ "$": ["form-metadata-display.css"]
62
+ };
63
+ }
64
+ static get styleUrls() {
65
+ return {
66
+ "$": ["form-metadata-display.css"]
67
+ };
68
+ }
69
+ static get properties() {
70
+ return {
71
+ "userDisplayName": {
72
+ "type": "string",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "string",
76
+ "resolved": "string",
77
+ "references": {}
78
+ },
79
+ "required": false,
80
+ "optional": false,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": "Full name (or display name) of the form owner/submitter.\nRow is only rendered when `displayOwnerFullName` is true and this value is non-empty."
84
+ },
85
+ "getter": false,
86
+ "setter": false,
87
+ "reflect": false,
88
+ "attribute": "user-display-name"
89
+ },
90
+ "userEmail": {
91
+ "type": "string",
92
+ "mutable": false,
93
+ "complexType": {
94
+ "original": "string",
95
+ "resolved": "string",
96
+ "references": {}
97
+ },
98
+ "required": false,
99
+ "optional": false,
100
+ "docs": {
101
+ "tags": [],
102
+ "text": "Email of the form owner/submitter.\nRow is only rendered when `displayOwnerEmail` is true and this value is non-empty."
103
+ },
104
+ "getter": false,
105
+ "setter": false,
106
+ "reflect": false,
107
+ "attribute": "user-email"
108
+ },
109
+ "submittedOn": {
110
+ "type": "string",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "string | null",
114
+ "resolved": "string",
115
+ "references": {}
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": "Submission timestamp.\nRow is only rendered when `displaySubmissionDate` is true and this value is non-null."
122
+ },
123
+ "getter": false,
124
+ "setter": false,
125
+ "reflect": false,
126
+ "attribute": "submitted-on"
127
+ },
128
+ "displayOwnerFullName": {
129
+ "type": "boolean",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "boolean",
133
+ "resolved": "boolean",
134
+ "references": {}
135
+ },
136
+ "required": false,
137
+ "optional": false,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": "Toggles rendering of the \"Name\" row.\nDefaults to true."
141
+ },
142
+ "getter": false,
143
+ "setter": false,
144
+ "reflect": false,
145
+ "attribute": "display-owner-full-name",
146
+ "defaultValue": "true"
147
+ },
148
+ "displayOwnerEmail": {
149
+ "type": "boolean",
150
+ "mutable": false,
151
+ "complexType": {
152
+ "original": "boolean",
153
+ "resolved": "boolean",
154
+ "references": {}
155
+ },
156
+ "required": false,
157
+ "optional": false,
158
+ "docs": {
159
+ "tags": [],
160
+ "text": "Toggles rendering of the \"Email\" row.\nDefaults to true."
161
+ },
162
+ "getter": false,
163
+ "setter": false,
164
+ "reflect": false,
165
+ "attribute": "display-owner-email",
166
+ "defaultValue": "true"
167
+ },
168
+ "displaySubmissionDate": {
169
+ "type": "boolean",
170
+ "mutable": false,
171
+ "complexType": {
172
+ "original": "boolean",
173
+ "resolved": "boolean",
174
+ "references": {}
175
+ },
176
+ "required": false,
177
+ "optional": false,
178
+ "docs": {
179
+ "tags": [],
180
+ "text": "Toggles rendering of the \"Submitted on\" row.\nDefaults to true."
181
+ },
182
+ "getter": false,
183
+ "setter": false,
184
+ "reflect": false,
185
+ "attribute": "display-submission-date",
186
+ "defaultValue": "true"
187
+ }
188
+ };
189
+ }
190
+ }
191
+ //# sourceMappingURL=form-metadata-display.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-metadata-display.js","sourceRoot":"","sources":["../../../../src/components/inputs/form metadata display/form-metadata-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,MAAM,OAAO,mBAAmB;IALhC;QAwBE;;;WAGG;QACK,yBAAoB,GAAY,IAAI,CAAC;QAE7C;;;WAGG;QACK,sBAAiB,GAAY,IAAI,CAAC;QAE1C;;;WAGG;QACK,0BAAqB,GAAY,IAAI,CAAC;KA8B/C;IA5BC;;;OAGG;IACH,SAAS,CAAC,KAAa,EAAE,KAAa;QACpC,OAAO,CACL,WAAK,KAAK,EAAC,KAAK;YAEd,YAAM,KAAK,EAAC,OAAO,IAAE,KAAK,CAAQ;YAClC,wBAAkB,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,IAAI,IAAE,KAAK,CAAoB,CACnE,CACP,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,MAAM;QACJ,OAAO;QACL,+EAA+E;QAC/E,4DAAK,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,OAAO,gBAAY,eAAe;YAC3D,IAAI,CAAC,oBAAoB,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC;YACjG,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,qBAAqB,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,aAAa,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CACtH,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { dateFormatter } from 'src/components/forms/udp-forms/utils/utils';\n\n/**\n * A small display-only component for showing read-only form metadata.\n *\n * Intended usage:\n * - Rendered near the top or bottom of a form submission view\n * - Pure presentational output based on props (no internal state, no events)\n *\n * Layout:\n * - Uses a simple \"label + value\" row pattern for consistent alignment\n * - Hides rows when the corresponding value is missing or the display flag is false\n *\n * @example\n * ```tsx\n * <form-metadata-display\n * userDisplayName=\"Ada Lovelace\"\n * userEmail=\"ada@example.com\"\n * submittedOn={new Date()}\n * />\n * ```\n */\n@Component({\n tag: 'form-metadata-display',\n styleUrl: 'form-metadata-display.css',\n shadow: true,\n})\nexport class FormMetadataDisplay {\n /**\n * Full name (or display name) of the form owner/submitter.\n * Row is only rendered when `displayOwnerFullName` is true and this value is non-empty.\n */\n @Prop() userDisplayName: string;\n\n /**\n * Email of the form owner/submitter.\n * Row is only rendered when `displayOwnerEmail` is true and this value is non-empty.\n */\n @Prop() userEmail: string;\n\n /**\n * Submission timestamp.\n * Row is only rendered when `displaySubmissionDate` is true and this value is non-null.\n */\n @Prop() submittedOn: string | null;\n\n /**\n * Toggles rendering of the \"Name\" row.\n * Defaults to true.\n */\n @Prop() displayOwnerFullName: boolean = true;\n\n /**\n * Toggles rendering of the \"Email\" row.\n * Defaults to true.\n */\n @Prop() displayOwnerEmail: boolean = true;\n\n /**\n * Toggles rendering of the \"Submitted on\" row.\n * Defaults to true.\n */\n @Prop() displaySubmissionDate: boolean = true;\n\n /**\n * Renders a single metadata row using a standard label/value layout.\n * @internal\n */\n renderRow(label: string, value: string) {\n return (\n <div class=\"row\">\n {/* Label is visually subtle; value uses standard typography for emphasis */}\n <span class=\"label\">{label}</span>\n <unity-typography class=\"value\" variant=\"h4\">{value}</unity-typography>\n </div>\n );\n }\n\n /**\n * Renders the metadata container. Rows are conditionally included based on flags + data presence.\n * @internal\n */\n render() {\n return (\n // role/aria-label provide a lightweight accessible grouping for screen readers\n <div class=\"container\" role=\"group\" aria-label=\"Form metadata\">\n {this.displayOwnerFullName && this.userDisplayName && this.renderRow('Name', this.userDisplayName)}\n {this.displayOwnerEmail && this.userEmail && this.renderRow('Email', this.userEmail)}\n {this.displaySubmissionDate && this.submittedOn && this.renderRow('Submitted on', dateFormatter(this.submittedOn, 'long'))}\n </div>\n );\n }\n}\n"]}
@@ -65,7 +65,7 @@ export class ImageUpload {
65
65
  };
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: 'dc13ff549cc50efd68074f9526fe833c2abf3680' }, h("file-upload", { key: '9d16c297893f24a379951635b558436f4614fab6', allowMultiple: false, allowedMimeTypes: this.allowedMimeTypes, fullWidth: this.fullWidth, required: this.required, error: this.error, dragAndDropMessage: this.dragAndDropMessage, browseFileMessage: this.browseFileMessage, hideDragAndDrop: this.hideDragAndDrop, hideButton: this.hideButton, id: this.id, name: this.name, label: this.label, disabled: this.disabled, readonly: this.readonly, initialValue: this.initialValue, renderImage: true, onChange: this.handleFileChange })));
68
+ return (h(Host, { key: '8b95c4bb3a085aeeb0aab3a352c4bedd5d723f20' }, h("file-upload", { key: '2fae3ef81fd7b5a2ea7c875954629deac44f53af', allowMultiple: false, allowedMimeTypes: this.allowedMimeTypes, fullWidth: this.fullWidth, required: this.required, error: this.error, dragAndDropMessage: this.dragAndDropMessage, browseFileMessage: this.browseFileMessage, hideDragAndDrop: this.hideDragAndDrop, hideButton: this.hideButton, id: this.id, name: this.name, label: this.label, disabled: this.disabled, readonly: this.readonly, initialValue: this.initialValue, renderImage: true, onChange: this.handleFileChange })));
69
69
  }
70
70
  static get is() { return "image-upload"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -159,7 +159,7 @@ export class NumericField {
159
159
  'bx--text-input--error': isError,
160
160
  'text-field--disabled': this.disabled,
161
161
  };
162
- return (h(Host, { key: '41070ca5213a99556719f4087332e531173279f4', class: {
162
+ return (h(Host, { key: 'efe222e4acc6be9cbb2741e757673f6958e895da', class: {
163
163
  'udp-input': true,
164
164
  'udp-input--error': isError,
165
165
  'udp-input--disabled': this.disabled,
@@ -168,9 +168,9 @@ export class NumericField {
168
168
  'udp-input--readonly': this.readonly,
169
169
  [`udp-input--size-${this.size}`]: true,
170
170
  [`udp-input--margin-${this.margin}`]: true,
171
- }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '38388fa80d7880830f45d4bca98f210b2affcd10', class: "bx--form-item" }, h("unity-typography", { key: 'cb88bfb8a731145ef431ac5650d34a55fac18f6e', variant: "caption-text" }, h("label", { key: 'd636f51ed6898438f4f51361aab6d8f0f977eeab', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (h("input", { id: this.id, type: "hidden", value: this.internalValue, name: this.name })) : (h("input", { id: this.id, name: this.name, type: "number", class: Object.assign({}, inputClass), placeholder: this.placeholder, value: this.internalValue, required: this.required, disabled: this.disabled, readOnly: this.readonly, onFocus: this.onFocus, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, inputMode: this.inputMode, min: this.min, max: this.max, step: this.step,
171
+ }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '66feb024a13e9c2fb95a386d0e025b15a9fcebb5', class: "bx--form-item" }, h("unity-typography", { key: '65469753637179be15c383bf8f6f819d9b5fdb10', variant: "caption-text" }, h("label", { key: 'cf0f7ddd918efde5aacba18537536bb2dd101e98', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (h("input", { id: this.id, type: "hidden", value: this.internalValue, name: this.name })) : (h("input", { id: this.id, name: this.name, type: "number", class: Object.assign({}, inputClass), placeholder: this.placeholder, value: this.internalValue, required: this.required, disabled: this.disabled, readOnly: this.readonly, onFocus: this.onFocus, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, inputMode: this.inputMode, min: this.min, max: this.max, step: this.step,
172
172
  //@ts-ignore
173
- udprecordid: 'udpRecord-number-field-' + this.id })), isError && (h("div", { key: '93665be4e947941ab0a559cb7dcc97f46fa1f515', class: "error-message" }, h("unity-typography", { key: 'a6ceb126b06fa34ef06ed560b9e8ebcda435acb3', variant: "caption-text", color: "error" }, this.errorMessage))))));
173
+ udprecordid: 'udpRecord-number-field-' + this.id })), isError && (h("div", { key: '679fa05b23a7d3a41fb18f3a77859331f6460011', class: "error-message" }, h("unity-typography", { key: 'ea5f43b1356863a2dfe7b76918ddad8d646030a3', variant: "caption-text", color: "error" }, this.errorMessage))))));
174
174
  }
175
175
  static get is() { return "numeric-field"; }
176
176
  static get encapsulation() { return "shadow"; }
@@ -294,7 +294,7 @@ export class SignatureInput {
294
294
  'readonly': this.readonly,
295
295
  'disabled': this.disabled,
296
296
  };
297
- return (h(Host, { key: '1e4b57c4ef87dcaa9df86d70aaf5e534c6cbd795', class: {
297
+ return (h(Host, { key: '38f9e14ff8e51efa47278a79c030017f6fec05ec', class: {
298
298
  'udp-input': true,
299
299
  'udp-input--error': isError,
300
300
  'udp-input--disabled': this.disabled,
@@ -302,7 +302,7 @@ export class SignatureInput {
302
302
  'udp-input--readonly': this.readonly,
303
303
  [`udp-input--size-${this.size}`]: true,
304
304
  [`udp-input--margin-${this.margin}`]: true,
305
- } }, h("div", { key: 'f58bbc002b69a2f0bf2dab6efc4086ac3a7eda90', class: "bx--form-item" }, this.label && (h("unity-typography", { key: 'e46b453a0a4ceeaf02ec88618f8f838b8f87d7ad', variant: "caption-text" }, h("label", { key: '39ad7d1e01bf24f02b65ee35738cb51b244c0a95', htmlFor: this.id, class: "bx--label" }, this.label, this.required && '*'))), h("div", { key: '969b1532dc16b135a98da1d2f2701ce4aa8badb4', class: containerClasses }, h("canvas", { key: '0f473ddc3295fe30d79e1ea1e78f03847c9cb200', ref: el => (this.canvasEl = el), class: { 'signature-canvas': true, 'readonly': this.readonly || this.disabled }, id: this.id }), !this.readonly && !this.disabled && (h("button", { key: '9b94d94d8dcc79c425861c2946120168113f7efb', type: "button", class: "clear-button", onClick: this.clearSignature, disabled: this.disabled }, "Clear"))), isError && (h("div", { key: '895c33b449cb174bd51a0f3048a751f9f8f6ec3b', class: "error-message" }, h("unity-typography", { key: '175c80cf2841b7345470fd696d05017029e832b6', variant: "caption-text", color: "error" }, this.internalError))))));
305
+ } }, h("div", { key: '04dadb41b32891d9402e30f26ad09c2b910c220c', class: "bx--form-item" }, this.label && (h("unity-typography", { key: '9b804b1e8f6847763e87e2f14eda16fdcc8b049e', variant: "caption-text" }, h("label", { key: 'a66659a0a9b956dea7dc860682bc53d18ab12e7c', htmlFor: this.id, class: "bx--label" }, this.label, this.required && '*'))), h("div", { key: '6f53dd25f98d511f7852796ecb9770f6a96acd03', class: containerClasses }, h("canvas", { key: 'f0f30306a7392fc9329ad10988365b3d7d216636', ref: el => (this.canvasEl = el), class: { 'signature-canvas': true, 'readonly': this.readonly || this.disabled }, id: this.id }), !this.readonly && !this.disabled && (h("button", { key: 'a5241ba69f28932c41c32c9ad7e0001325cd419a', type: "button", class: "clear-button", onClick: this.clearSignature, disabled: this.disabled }, "Clear"))), isError && (h("div", { key: 'cb4d03f2c03942a382aeb6ea4b8728f86e54d66c', class: "error-message" }, h("unity-typography", { key: '2a859511db8da92696a3aede41c14a529c0e2d42', variant: "caption-text", color: "error" }, this.internalError))))));
306
306
  }
307
307
  static get is() { return "signature-input"; }
308
308
  static get encapsulation() { return "shadow"; }
@@ -46,14 +46,14 @@ export class TallyDisplay {
46
46
  const isError = !!this.error;
47
47
  const answeredCount = this.yesCount + this.noCount + this.naCount;
48
48
  const unansweredCount = this.totalFields - answeredCount;
49
- return (h(Host, { key: 'fed22627bce1ac7be18a2425bece6686869564d7', class: {
49
+ return (h(Host, { key: '9de3aacae1f977ca6f71842e6cf110226623020d', class: {
50
50
  'udp-input': true,
51
51
  'udp-input--error': isError,
52
52
  'udp-input--disabled': this.disabled,
53
53
  'udp-input--readonly': this.readonly,
54
54
  [`udp-input--size-${this.size}`]: true,
55
55
  [`udp-input--margin-${this.margin}`]: true,
56
- } }, h("div", { key: '971333eebb659bbb4eb934bb9950032a7909da18', class: "tally-container" }, this.label && (h("unity-typography", { key: '8444c7bcbcbe333f9e66026a5222ee29335e4de6', variant: "caption-text" }, h("label", { key: '98c8daa86aa2d29c2d1c5b4a5004ce6819d83349', htmlFor: this.id, class: "tally-label" }, this.label))), h("div", { key: '7b6a501d4ce95a2b27d3884e8c695e1faf06b2e8', class: "tally-content", id: this.id }, h("div", { key: '68454bc99bd9c1ce4680df8f983eaf5ae4e9767e', class: "tally-stats" }, h("div", { key: 'e0e1b18c29dccb79043e00475b5bc30adc987d4e', class: "tally-item tally-yes" }, h("unity-typography", { key: '18cc8a94d43cf31f6306b8de3d2f48d1396304a2', variant: "h4", class: "tally-count" }, this.yesCount), h("unity-typography", { key: 'd88c15dbf4bda174343aaa5bab8717d1c8cc0624', variant: "caption-text", class: "tally-label" }, "Yes")), h("div", { key: '3f5108ae238eb07f67e5c6de82eb396ade8224f8', class: "tally-item tally-no" }, h("unity-typography", { key: '371e592c1c36ecbb6dd03764f395c21f1d4d0be5', variant: "h4", class: "tally-count" }, this.noCount), h("unity-typography", { key: 'b808bcc32aa9c582046b368d1d13747d8e757b77', variant: "caption-text", class: "tally-label" }, "No")), h("div", { key: '78f58c21c1c20d6054c0ef0a31dd56de06fb0431', class: "tally-item tally-na" }, h("unity-typography", { key: 'bbf95119a828762d96ba783b24e6d33f4d21084c', variant: "h4", class: "tally-count" }, this.naCount), h("unity-typography", { key: 'c34245acdfe54eab110e4d21d3397a0902087ccd', variant: "caption-text", class: "tally-label" }, "Not Applicable")), unansweredCount > 0 && (h("div", { key: '7e56aeb2896950a6a8ba2b414250628bc15f73d0', class: "tally-item tally-unanswered" }, h("unity-typography", { key: '947f18fb83d02cb7544fc245aaad81ae188d5a98', variant: "h4", class: "tally-count" }, unansweredCount), h("unity-typography", { key: 'fb740e38f0086757ead6285834183fcc183dc07f', variant: "caption-text", class: "tally-label" }, "Unanswered")))), h("div", { key: '2c877a0a184fe0b51b75ed26073085c057ae6a40', class: "tally-summary" }, h("unity-typography", { key: '8479096b7addcedab23446a67ed9a0795dc5c8fe', variant: "caption-text" }, "Total Questions: ", this.totalFields))), isError && (h("div", { key: 'b686351f4926cc8bfbec445bf426ec3634c861a9', class: "error-message" }, h("unity-typography", { key: '4363a3cb9ffd25fd03b0ca1c74ea01281a451dbd', variant: "caption-text", color: "error" }, this.error))))));
56
+ } }, h("div", { key: '3d90baeaa376621f7befdd0d2aaf5162b640a92d', class: "tally-container" }, this.label && (h("unity-typography", { key: 'dbc30e26ace3de5a9c971b57a25f49a5f25a4d37', variant: "caption-text" }, h("label", { key: '3c17434ee48556b3e7c05a15ba17682801a4ee79', htmlFor: this.id, class: "tally-label" }, this.label))), h("div", { key: 'eda4e1acb3866a4af9129088eff7bf378582c3c0', class: "tally-content", id: this.id }, h("div", { key: '7169cd7335a3cc923a407f6bac36487e3c51e3a6', class: "tally-stats" }, h("div", { key: '4ae7daed9b4ef5e9e658868b993225b2d6d230bc', class: "tally-item tally-yes" }, h("unity-typography", { key: 'fb2e662654f07041157b3111fd6493c7abf956fe', variant: "h4", class: "tally-count" }, this.yesCount), h("unity-typography", { key: 'a9f2628e63a4fd7e0e78ed692e812c8be7df162d', variant: "caption-text", class: "tally-label" }, "Yes")), h("div", { key: '9a469360bdc4d019b8b9dfdd70e54e60ae44ea00', class: "tally-item tally-no" }, h("unity-typography", { key: 'c52e2e33623f50fd6ad777a82d193828cd9a8a68', variant: "h4", class: "tally-count" }, this.noCount), h("unity-typography", { key: '9936996f607fcb5016ef32917cdd04228e9fb78b', variant: "caption-text", class: "tally-label" }, "No")), h("div", { key: '6f6abc8c33d6ca4b516caa4a63b458e449806f71', class: "tally-item tally-na" }, h("unity-typography", { key: '7ae33f8cfa8fe27c0c5d9a1a32b61ec55c237eab', variant: "h4", class: "tally-count" }, this.naCount), h("unity-typography", { key: 'bfd96fc54a803756484cd3e5c965f28e6e97fa0e', variant: "caption-text", class: "tally-label" }, "Not Applicable")), unansweredCount > 0 && (h("div", { key: 'f56329ad0c4396846711955dc539413d453d3341', class: "tally-item tally-unanswered" }, h("unity-typography", { key: 'f81c44a5d86a43a5389d864783627130ebb41409', variant: "h4", class: "tally-count" }, unansweredCount), h("unity-typography", { key: 'f51b115cbb8d6cd11050e861f10696e406c8ae95', variant: "caption-text", class: "tally-label" }, "Unanswered")))), h("div", { key: 'bd121ac3682f79b9b06c65d5af4a34b247d8b724', class: "tally-summary" }, h("unity-typography", { key: '279e7a4eca040c52b83b4c6d15119034db44ff37', variant: "caption-text" }, "Total Questions: ", this.totalFields))), isError && (h("div", { key: '9853c7c215eeee120c3e09ab83a01c24d48fba44', class: "error-message" }, h("unity-typography", { key: '3f25998a2b9f9901bce9fa5baad3b7de65fed0e2', variant: "caption-text", color: "error" }, this.error))))));
57
57
  }
58
58
  static get is() { return "tally-display"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -240,7 +240,7 @@ export class TextArea {
240
240
  }
241
241
  render() {
242
242
  const { disabled, id, internalValue, label, placeholder, required, readonly, errorMessage, fullWidth, internalRows } = this;
243
- return (h(Host, { key: 'bdf5a606994014065a28795c9e24f79c7c1ae736', class: {
243
+ return (h(Host, { key: '8030ffc085d6b53b0ae1a35f81d4da4c9e155c0e', class: {
244
244
  'udp-input': true,
245
245
  'udp-input--error': !!errorMessage,
246
246
  'udp-input--disabled': disabled,
@@ -249,11 +249,11 @@ export class TextArea {
249
249
  'udp-input--required': required,
250
250
  [`udp-input--size-${this.size}`]: true,
251
251
  [`udp-input--margin-${this.margin}`]: true,
252
- } }, h("div", { key: 'c95cb5633731a96e60838e635fd005ccf276612c', class: "bx--form-item" }, h("unity-typography", { key: 'b83e5c04c3c058e3e0dad21280af3d50bc94c081', variant: "caption-text" }, h("label", { key: 'a4b8d120461ab32b7c0e05e79d4a1b887d46a492', htmlFor: id, class: "bx--label" }, label, required ? '*' : '')), h("textarea", { key: 'ab1784af9fe7378f2de47e5def267fc8b38178ee', ref: el => (this.textareaEl = el), id: id, class: {
252
+ } }, h("div", { key: '21806e67cd632ef1c0d141d57c356eaaeb68f098', class: "bx--form-item" }, h("unity-typography", { key: '4094220f657f8cd5fcee94cf60a7d7cd62108ca9', variant: "caption-text" }, h("label", { key: 'fcda510639bd39ad292d9fb4721acac7cc35e456', htmlFor: id, class: "bx--label" }, label, required ? '*' : '')), h("textarea", { key: 'd53d49eed9d2e7a7b342a59ee71215eab199206b', ref: el => (this.textareaEl = el), id: id, class: {
253
253
  'bx--text-input': true,
254
254
  'bx--text-input--error': !!errorMessage,
255
255
  'text-area--disabled': disabled,
256
- }, placeholder: placeholder, value: internalValue, required: required, disabled: disabled, readonly: readonly, maxLength: this.maxCharacter, rows: internalRows, onInput: this.onInput, onChange: this.onChange }, internalValue), errorMessage && (h("div", { key: '98f452d24e69252b9f47a4ef45e42311454aeee7', class: "error-message" }, h("unity-typography", { key: '6f85da551a04471d33b83637ccc1400d6dc87c79', variant: "caption-text", color: "error" }, errorMessage))))));
256
+ }, placeholder: placeholder, value: internalValue, required: required, disabled: disabled, readonly: readonly, maxLength: this.maxCharacter, rows: internalRows, onInput: this.onInput, onChange: this.onChange }, internalValue), errorMessage && (h("div", { key: 'faf6cd4d6bb621416dc36b660581b9a6dc94c057', class: "error-message" }, h("unity-typography", { key: '8433e5d11d1b43358baa1d2a961c4bfa3d7c95a7', variant: "caption-text", color: "error" }, errorMessage))))));
257
257
  }
258
258
  static get is() { return "text-area"; }
259
259
  static get encapsulation() { return "shadow"; }
@@ -195,7 +195,7 @@ export class TextField {
195
195
  'bx--text-input:user-invalid': isError,
196
196
  'text-field--disabled': this.disabled,
197
197
  };
198
- return (h(Host, { key: '477fd126139a6614d43091da606ad4730d356fdc', class: {
198
+ return (h(Host, { key: '388dbeafb0b5a726b437ff4898735ec4a11d1e7d', class: {
199
199
  'udp-input': true,
200
200
  'udp-input--error': isError,
201
201
  'udp-input--disabled': this.disabled,
@@ -203,9 +203,9 @@ export class TextField {
203
203
  'udp-input--required': this.required,
204
204
  [`udp-input--size-${this.size}`]: true,
205
205
  [`udp-input--margin-${this.margin}`]: true,
206
- }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '4abd025ba834da3a2fb42bf1909413df6fa62a43', class: "bx--form-item" }, h("unity-typography", { key: 'dc66c2a29831519a99ce2582d740fb998359e988', variant: "caption-text" }, h("label", { key: 'c52efd8115a63e79d5d04b7792cde08f3bb12d05', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (h("input", { id: this.id, type: "hidden", value: this.internalValue })) : (h("input", { id: this.id, type: "text", class: Object.assign({}, inputClass), placeholder: this.placeholder, value: this.internalValue, required: this.required, disabled: this.disabled, readonly: this.readonly, maxLength: this.maxCharacter, inputMode: this.inputMode, onInput: this.onInput, onChange: this.onChange,
206
+ }, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '9d66a1d7ec9d2ccd74efa320ed8faebae66afc67', class: "bx--form-item" }, h("unity-typography", { key: '9743d1324aeabdf63e34d66b84391a163127ca68', variant: "caption-text" }, h("label", { key: '33d613ec484961c27197d0a38e6b3be09df11739', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (h("input", { id: this.id, type: "hidden", value: this.internalValue })) : (h("input", { id: this.id, type: "text", class: Object.assign({}, inputClass), placeholder: this.placeholder, value: this.internalValue, required: this.required, disabled: this.disabled, readonly: this.readonly, maxLength: this.maxCharacter, inputMode: this.inputMode, onInput: this.onInput, onChange: this.onChange,
207
207
  //@ts-ignore
208
- udprecordid: 'udpRecord-text-field-' + this.id })), isError && (h("div", { key: '3a2d11f913e5d97befeb05df6e9f1943ba6fcc13', class: "error-message" }, h("unity-typography", { key: 'a4e9594fd4aa1980e20c2c3754af74fc8417d339', variant: "caption-text", color: "error" }, this.errorMessage))))));
208
+ udprecordid: 'udpRecord-text-field-' + this.id })), isError && (h("div", { key: '4f695e2ea3d0d83b0a8b64616458aff67ebaf009', class: "error-message" }, h("unity-typography", { key: '9399d49f19ccd3419f910497c01379e4b3d0d6a7', variant: "caption-text", color: "error" }, this.errorMessage))))));
209
209
  }
210
210
  static get is() { return "text-field"; }
211
211
  static get encapsulation() { return "shadow"; }