udp-stencil-component-library 25.18.1-beta.7 → 25.18.1-beta.9

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 (979) hide show
  1. package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +12 -12
  2. package/dist/cjs/advanced-search-builder.cjs.entry.js +2 -2
  3. package/dist/cjs/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.cjs.js.map +1 -0
  4. package/dist/cjs/advanced-search_12.cjs.entry.js +876 -0
  5. package/dist/cjs/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.cjs.js.map +1 -0
  6. package/dist/cjs/{ag-grid-base_5.cjs.entry.js → ag-grid-base_6.cjs.entry.js} +26 -8
  7. package/dist/cjs/{advanced-search_50.cjs.entry.js → ambient-template-grid.cjs.entry.js} +43 -4912
  8. package/dist/cjs/ambient-template-grid.entry.cjs.js.map +1 -0
  9. package/dist/cjs/api-method-instance-grid.cjs.entry.js +1 -1
  10. package/dist/cjs/app-bar.cjs.entry.js +23 -0
  11. package/dist/cjs/app-bar.entry.cjs.js.map +1 -0
  12. package/dist/cjs/catalog-store-BOiNPWZB.js +34 -0
  13. package/dist/cjs/catalog-store-BOiNPWZB.js.map +1 -0
  14. package/dist/cjs/chart-container_3.cjs.entry.js +2 -2
  15. package/dist/cjs/check-box.cjs.entry.js +2 -2
  16. package/dist/cjs/chip-section.cjs.entry.js +2 -2
  17. package/dist/cjs/client-side-grid.resource-timeline-primary-bar.entry.cjs.js.map +1 -1
  18. package/dist/cjs/client-side-grid_2.cjs.entry.js +5 -4
  19. package/dist/cjs/color-preview.cjs.entry.js +1 -1
  20. package/dist/cjs/conversionFunctions-B_9y17KE.js +135 -0
  21. package/dist/cjs/conversionFunctions-B_9y17KE.js.map +1 -0
  22. package/dist/cjs/{currency-renderer-D8Tuzf0W.js → currency-renderer-53i7rUkS.js} +7 -8
  23. package/dist/cjs/currency-renderer-53i7rUkS.js.map +1 -0
  24. package/dist/cjs/custom-button.cjs.entry.js +52 -0
  25. package/dist/cjs/custom-button.entry.cjs.js.map +1 -0
  26. 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 +1 -1
  27. package/dist/cjs/date-time-renderer_6.cjs.entry.js +10 -9
  28. package/dist/cjs/entity-maintenance-grid.cjs.entry.js +1 -1
  29. package/dist/cjs/feature-details-card.feature-details-popup.entry.cjs.js.map +1 -1
  30. package/dist/cjs/feature-details-card_2.cjs.entry.js +7 -6
  31. package/dist/cjs/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.cjs.js.map +1 -0
  32. package/dist/cjs/filter-conditions_7.cjs.entry.js +309 -0
  33. package/dist/cjs/filter-group.validation-chip.entry.cjs.js.map +1 -1
  34. package/dist/cjs/filter-group_2.cjs.entry.js +3 -2
  35. package/dist/cjs/fluent-dialog.cjs.entry.js +23 -0
  36. package/dist/cjs/fluent-dialog.entry.cjs.js.map +1 -0
  37. package/dist/cjs/{iconUtils-Bfr2fT9-.js → iconMapping-BV2-Gk9Y.js} +2 -13
  38. package/dist/cjs/iconMapping-BV2-Gk9Y.js.map +1 -0
  39. package/dist/cjs/iconUtils-2mh73T__.js +18 -0
  40. package/dist/cjs/iconUtils-2mh73T__.js.map +1 -0
  41. package/dist/cjs/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comment.udp-save-draft-button.entry.cjs.js.map +1 -1
  42. package/dist/cjs/image-upload_7.cjs.entry.js +8 -7
  43. package/dist/cjs/index-DrMNAZCL.js +162 -94
  44. package/dist/cjs/index.cjs.js +57 -17
  45. package/dist/cjs/index.cjs.js.map +1 -1
  46. package/dist/cjs/inputs-example.cjs.entry.js +2 -2
  47. package/dist/cjs/loader.cjs.js +1 -1
  48. package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
  49. package/dist/cjs/map-component_2.cjs.entry.js +2 -2
  50. package/dist/cjs/numeric-field_5.cjs.entry.js +15 -15
  51. package/dist/cjs/primary-action-header.udp-side-sheet.udp-tabs.entry.cjs.js.map +1 -0
  52. package/dist/cjs/primary-action-header_3.cjs.entry.js +644 -0
  53. package/dist/cjs/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.udp-forms-builder-style-override.entry.cjs.js.map +1 -1
  54. package/dist/cjs/question-configs-renderer_5.cjs.entry.js +16 -15
  55. package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
  56. package/dist/cjs/search-method-grid.cjs.entry.js +1 -1
  57. package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
  58. package/dist/cjs/side-sheet-container.cjs.entry.js +20 -0
  59. package/dist/cjs/side-sheet-container.entry.cjs.js.map +1 -0
  60. package/dist/cjs/simple-card.cjs.entry.js +1 -1
  61. package/dist/cjs/status-chip.udp-function-button.entry.cjs.js.map +1 -0
  62. package/dist/cjs/status-chip_2.cjs.entry.js +109 -0
  63. package/dist/cjs/stencil-chip.cjs.entry.js +112 -0
  64. package/dist/cjs/stencil-chip.entry.cjs.js.map +1 -0
  65. package/dist/cjs/stencil-icon-button-grid-action-header.cjs.entry.js +44 -0
  66. package/dist/cjs/stencil-icon-button-grid-action-header.entry.cjs.js.map +1 -0
  67. package/dist/cjs/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.cjs.js.map +1 -0
  68. package/dist/cjs/stencil-icon-button_3.cjs.entry.js +158 -0
  69. package/dist/cjs/stencil-library.cjs.js +1 -1
  70. package/dist/cjs/stencil-toggle.cjs.entry.js +150 -0
  71. package/dist/cjs/stencil-toggle.entry.cjs.js.map +1 -0
  72. package/dist/cjs/text-field.udp-selector.entry.cjs.js.map +1 -0
  73. package/dist/cjs/text-field_2.cjs.entry.js +568 -0
  74. package/dist/cjs/{catalog-store-yJKDPXXM.js → transformSearchData-B4bk4Aik.js} +2 -31
  75. package/dist/cjs/transformSearchData-B4bk4Aik.js.map +1 -0
  76. package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
  77. package/dist/cjs/udp-advanced-search-builder.cjs.entry.js +1 -1
  78. package/dist/cjs/udp-avatar.cjs.entry.js +57 -0
  79. package/dist/cjs/udp-avatar.entry.cjs.js.map +1 -0
  80. package/dist/cjs/udp-bar-chart_4.cjs.entry.js +4 -4
  81. package/dist/cjs/udp-button.cjs.entry.js +113 -0
  82. package/dist/cjs/udp-button.entry.cjs.js.map +1 -0
  83. package/dist/cjs/udp-calendar-base.cjs.entry.js +1 -1
  84. package/dist/cjs/udp-calendar-day.cjs.entry.js +1 -1
  85. package/dist/cjs/udp-calendar-month.cjs.entry.js +1 -1
  86. package/dist/cjs/udp-calendar-week.cjs.entry.js +1 -1
  87. package/dist/cjs/udp-calendar-year.cjs.entry.js +1 -1
  88. package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
  89. package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
  90. package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
  91. package/dist/cjs/udp-chip_3.cjs.entry.js +2 -2
  92. package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
  93. package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
  94. package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
  95. package/dist/cjs/udp-container.udp-linear-loader.entry.cjs.js.map +1 -0
  96. package/dist/cjs/udp-container_2.cjs.entry.js +56 -0
  97. package/dist/cjs/udp-date-range-selector.cjs.entry.js +1 -1
  98. package/dist/cjs/udp-divider.cjs.entry.js +22 -0
  99. package/dist/cjs/udp-divider.entry.cjs.js.map +1 -0
  100. package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +134 -0
  101. package/dist/cjs/udp-dynamic-container-with-menu.entry.cjs.js.map +1 -0
  102. package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
  103. package/dist/cjs/udp-empty-state-display.cjs.entry.js +1 -1
  104. package/dist/cjs/udp-forms-builder.cjs.entry.js +2 -1
  105. package/dist/cjs/udp-forms-builder.entry.cjs.js.map +1 -1
  106. package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
  107. package/dist/cjs/udp-forms-list-card.cjs.entry.js +5 -5
  108. package/dist/cjs/udp-forms-list.cjs.entry.js +1 -1
  109. package/dist/cjs/udp-forms-renderer.cjs.entry.js +1 -1
  110. package/dist/cjs/udp-forms-ui.cjs.entry.js +2 -1
  111. package/dist/cjs/udp-forms-ui.entry.cjs.js.map +1 -1
  112. package/dist/cjs/udp-icon.cjs.entry.js +151 -0
  113. package/dist/cjs/udp-icon.entry.cjs.js.map +1 -0
  114. package/dist/cjs/udp-list-renderer.udp-pagination.entry.cjs.js.map +1 -0
  115. package/dist/cjs/{udp-list-renderer_3.cjs.entry.js → udp-list-renderer_2.cjs.entry.js} +1 -75
  116. package/dist/cjs/udp-map.cjs.entry.js +3 -3
  117. package/dist/cjs/udp-menu-item.cjs.entry.js +27 -0
  118. package/dist/cjs/udp-menu-item.entry.cjs.js.map +1 -0
  119. package/dist/cjs/udp-page.cjs.entry.js +1 -1
  120. package/dist/cjs/udp-pop-over.cjs.entry.js +132 -0
  121. package/dist/cjs/udp-pop-over.entry.cjs.js.map +1 -0
  122. package/dist/cjs/udp-sankey-chart.cjs.entry.js +1 -1
  123. package/dist/cjs/udp-skeleton-loading.cjs.entry.js +22 -0
  124. package/dist/cjs/udp-skeleton-loading.entry.cjs.js.map +1 -0
  125. package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
  126. package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
  127. package/dist/cjs/udp-tab-panel.cjs.entry.js +2 -2
  128. package/dist/cjs/udp-tab.cjs.entry.js +38 -0
  129. package/dist/cjs/udp-tab.entry.cjs.js.map +1 -0
  130. package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
  131. package/dist/cjs/udp-xy-chart.cjs.entry.js +1 -1
  132. package/dist/cjs/udp-xy-multi-series-chart.cjs.entry.js +1 -1
  133. package/dist/cjs/unity-typography.cjs.entry.js +63 -0
  134. package/dist/cjs/unity-typography.entry.cjs.js.map +1 -0
  135. package/dist/collection/collection-manifest.json +0 -8
  136. package/dist/collection/components/deprecated/side-sheet/side-sheet-container.js +1 -1
  137. package/dist/collection/components/deprecated/side-sheet/side-sheet.js +1 -1
  138. package/dist/collection/components/my-component/UI/advanced-search/advanced-search-grouped.js +6 -2
  139. package/dist/collection/components/my-component/UI/advanced-search/advanced-search-grouped.js.map +1 -1
  140. package/dist/collection/components/my-component/UI/advanced-search/advanced-search.js +6 -2
  141. package/dist/collection/components/my-component/UI/advanced-search/advanced-search.js.map +1 -1
  142. package/dist/collection/components/my-component/UI/advanced-search/filter-conditions/filter-conditions.js +1 -1
  143. package/dist/collection/components/my-component/UI/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +1 -1
  144. package/dist/collection/components/my-component/UI/advanced-search-builder/advanced-search-builder.js +2 -2
  145. package/dist/collection/components/my-component/UI/advanced-search-builder/udp-advanced-search-builder.js +1 -1
  146. package/dist/collection/components/my-component/UI/advanced-search-builder/validation-chip.js +1 -1
  147. package/dist/collection/components/my-component/UI/buttons/icon-button/function-button/udp-function-button.js +1 -1
  148. package/dist/collection/components/my-component/UI/buttons/icon-button/primary-button/custom-button.js +1 -1
  149. package/dist/collection/components/my-component/UI/buttons/icon-button/radio-button/udp-radio-button.js +1 -1
  150. package/dist/collection/components/my-component/UI/buttons/udp-button/udp-button.js +1 -1
  151. package/dist/collection/components/my-component/UI/calendar/udp-calendar-base.js +1 -1
  152. package/dist/collection/components/my-component/UI/calendar/udp-calendar-day.js +1 -1
  153. package/dist/collection/components/my-component/UI/calendar/udp-calendar-month.js +1 -1
  154. package/dist/collection/components/my-component/UI/calendar/udp-calendar-week.js +1 -1
  155. package/dist/collection/components/my-component/UI/calendar/udp-calendar-year.js +1 -1
  156. package/dist/collection/components/my-component/UI/charts/chart-kpi/chart-kpi.js +1 -1
  157. package/dist/collection/components/my-component/UI/charts/udp-bar-chart/udp-bar-chart.js +1 -1
  158. package/dist/collection/components/my-component/UI/charts/udp-charts-example.js +1 -1
  159. package/dist/collection/components/my-component/UI/charts/udp-distribution-chart/udp-distribution-chart.js +1 -1
  160. package/dist/collection/components/my-component/UI/charts/udp-donut-chart/udp-donut-chart.js +1 -1
  161. package/dist/collection/components/my-component/UI/charts/udp-line-chart/udp-line-chart.js +1 -1
  162. package/dist/collection/components/my-component/UI/charts/udp-sankey-chart/udp-sankey-chart.js +1 -1
  163. package/dist/collection/components/my-component/UI/charts/udp-xy-chart/udp-xy-chart.js +1 -1
  164. package/dist/collection/components/my-component/UI/charts/udp-xy-multi-series-chart/udp-xy-multi-series-chart.js +1 -1
  165. package/dist/collection/components/my-component/UI/data-display/adornment/udp-adornment/udp-adornment.js +1 -1
  166. package/dist/collection/components/my-component/UI/data-display/badge/udp-badge.js +1 -1
  167. package/dist/collection/components/my-component/UI/data-display/cards/udp-ambient-card/udp-ambient-card.js +1 -1
  168. package/dist/collection/components/my-component/UI/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +1 -1
  169. package/dist/collection/components/my-component/UI/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +1 -1
  170. package/dist/collection/components/my-component/UI/data-display/cards/udp-card/udp-card-content/udp-card-content.js +1 -1
  171. package/dist/collection/components/my-component/UI/data-display/cards/udp-card/udp-card-header/udp-card-header.js +1 -1
  172. package/dist/collection/components/my-component/UI/data-display/cards/udp-card/udp-card-media/udp-card-media.js +1 -1
  173. package/dist/collection/components/my-component/UI/data-display/cards/udp-card/udp-card.js +3 -3
  174. package/dist/collection/components/my-component/UI/data-display/chips/stencil-chip/status-chip/status-chip.js +1 -1
  175. package/dist/collection/components/my-component/UI/data-display/chips/stencil-chip/stencil-chip.js +2 -2
  176. package/dist/collection/components/my-component/UI/data-display/chips/udp-chip.js +1 -1
  177. package/dist/collection/components/my-component/UI/data-display/divider/udp-divider.js +1 -1
  178. package/dist/collection/components/my-component/UI/data-display/empty-state-display/udp-empty-state-display.js +1 -1
  179. package/dist/collection/components/my-component/UI/data-display/headers/udp-column-header.js +1 -1
  180. package/dist/collection/components/my-component/UI/data-display/headers/udp-page-header/udp-page-header.js +1 -1
  181. package/dist/collection/components/my-component/UI/data-display/hint-panel/hint-panel.js +1 -1
  182. package/dist/collection/components/my-component/UI/data-display/icons/udp-icon.js +4 -1
  183. package/dist/collection/components/my-component/UI/data-display/icons/udp-icon.js.map +1 -1
  184. package/dist/collection/components/my-component/UI/data-display/kpi/kpi-list.js +1 -1
  185. package/dist/collection/components/my-component/UI/data-display/list-item/list-item.js +2 -2
  186. package/dist/collection/components/my-component/UI/data-display/pop-over/udp-pop-over.js +1 -1
  187. package/dist/collection/components/my-component/UI/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
  188. package/dist/collection/components/my-component/UI/data-display/primary-action-header/primary-action-header.js +2 -2
  189. package/dist/collection/components/my-component/UI/data-display/simple-card/simple-card.js +1 -1
  190. package/dist/collection/components/my-component/UI/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
  191. package/dist/collection/components/my-component/UI/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
  192. package/dist/collection/components/my-component/UI/data-display/udp-avatar/udp-avatar.js +1 -1
  193. package/dist/collection/components/my-component/UI/dialogs/fluent-dialog/fluent-dialog.js +2 -2
  194. package/dist/collection/components/my-component/UI/dialogs/udp-dialog.js +1 -1
  195. package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/types.js +2 -0
  196. package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/types.js.map +1 -0
  197. package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.css +163 -137
  198. package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.js +269 -19
  199. package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.js.map +1 -1
  200. package/dist/collection/components/my-component/UI/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
  201. package/dist/collection/components/my-component/UI/feedback/udp-notification/udp-notification.js +2 -2
  202. package/dist/collection/components/my-component/UI/forms/dynamic-form/udp-dynamic-form.js +1 -1
  203. package/dist/collection/components/my-component/UI/forms/edit-view-form/edit-view-form.js +2 -2
  204. package/dist/collection/components/my-component/UI/forms/form/stencil-form.js +1 -1
  205. package/dist/collection/components/my-component/UI/forms/save-view-form/save-view-form.js +2 -2
  206. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
  207. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +2 -2
  208. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
  209. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +6 -6
  210. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +3 -3
  211. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
  212. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
  213. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
  214. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
  215. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +5 -5
  216. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
  217. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +2 -2
  218. package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
  219. package/dist/collection/components/my-component/UI/grid/ag-table/ag-table.js +1 -1
  220. package/dist/collection/components/my-component/UI/grid/ambient-template-grid/ambient-template-grid.js +19 -15
  221. package/dist/collection/components/my-component/UI/grid/ambient-template-grid/ambient-template-grid.js.map +1 -1
  222. package/dist/collection/components/my-component/UI/grid/grid-primary-bar/grid-primary-bar.js +2 -2
  223. package/dist/collection/components/my-component/UI/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
  224. package/dist/collection/components/my-component/UI/grid/new-grid/ag-grid-base.js +1 -1
  225. package/dist/collection/components/my-component/UI/grid/new-grid/api-method-instance-grid.js +1 -1
  226. package/dist/collection/components/my-component/UI/grid/new-grid/client-side-grid.js +1 -1
  227. package/dist/collection/components/my-component/UI/grid/new-grid/entity-maintenance-grid.js +1 -1
  228. package/dist/collection/components/my-component/UI/grid/new-grid/search-method-grid.js +1 -1
  229. package/dist/collection/components/my-component/UI/grid/new-grid/server-side-grid.js +1 -1
  230. package/dist/collection/components/my-component/UI/grid/renderers/currency-renderer.js +11 -1
  231. package/dist/collection/components/my-component/UI/grid/renderers/currency-renderer.js.map +1 -1
  232. package/dist/collection/components/my-component/UI/grid/renderers/hot-list-add-renderer.js +3 -0
  233. package/dist/collection/components/my-component/UI/grid/renderers/hot-list-add-renderer.js.map +1 -1
  234. package/dist/collection/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
  235. package/dist/collection/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +2 -2
  236. package/dist/collection/components/my-component/UI/inputs/checkbox/check-box.js +2 -2
  237. package/dist/collection/components/my-component/UI/inputs/date-range-selector/udp-date-range-selector.js +1 -1
  238. package/dist/collection/components/my-component/UI/inputs/date-selector/udp-date-selector.js +3 -3
  239. package/dist/collection/components/my-component/UI/inputs/date-time-selector/udp-datetime-selector.js +3 -3
  240. package/dist/collection/components/my-component/UI/inputs/image-upload/image-upload.js +1 -1
  241. package/dist/collection/components/my-component/UI/inputs/numeric-field/numeric-field.js +3 -3
  242. package/dist/collection/components/my-component/UI/inputs/signature-input/signature-input.js +2 -2
  243. package/dist/collection/components/my-component/UI/inputs/tally/tally.js +2 -2
  244. package/dist/collection/components/my-component/UI/inputs/text-area/text-area.js +3 -3
  245. package/dist/collection/components/my-component/UI/inputs/text-field/text-field.js +3 -3
  246. package/dist/collection/components/my-component/UI/inputs/time-selector/udp-time-selector.js +3 -3
  247. package/dist/collection/components/my-component/UI/inputs/toggle/stencil-toggle.js +4 -4
  248. package/dist/collection/components/my-component/UI/inputs/udp-selector/udp-selector.js +4 -4
  249. package/dist/collection/components/my-component/UI/layout/udp-container/udp-container.js +2 -2
  250. package/dist/collection/components/my-component/UI/layout/udp-container-query/udp-container-query.js +2 -2
  251. package/dist/collection/components/my-component/UI/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
  252. package/dist/collection/components/my-component/UI/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
  253. package/dist/collection/components/my-component/UI/layout/udp-page/udp-page.js +1 -1
  254. package/dist/collection/components/my-component/UI/layout/udp-split-screen/udp-split-screen.js +1 -1
  255. package/dist/collection/components/my-component/UI/layout/udp-vertical-spacer.js +1 -1
  256. package/dist/collection/components/my-component/UI/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
  257. package/dist/collection/components/my-component/UI/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
  258. package/dist/collection/components/my-component/UI/loaders/udp-skeleton-loading.js +1 -1
  259. package/dist/collection/components/my-component/UI/map/udp-map/map-component.js +1 -1
  260. package/dist/collection/components/my-component/UI/map/udp-map/popups/add-map-feature-popup.js +3 -3
  261. package/dist/collection/components/my-component/UI/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
  262. package/dist/collection/components/my-component/UI/map/udp-map/popups/feature-details-popup.js +1 -1
  263. package/dist/collection/components/my-component/UI/map/udp-map/popups/select-layer-popup.js +2 -2
  264. package/dist/collection/components/my-component/UI/map/udp-map/popups/split-line-popup.js +1 -1
  265. package/dist/collection/components/my-component/UI/map/udp-map/toolbar/map-toolbar.js +6 -6
  266. package/dist/collection/components/my-component/UI/map/udp-map/udp-map-toolbar.js +1 -1
  267. package/dist/collection/components/my-component/UI/map/udp-map/udp-map.js +3 -3
  268. package/dist/collection/components/my-component/UI/menu/menu-item/udp-menu-item.js +1 -1
  269. package/dist/collection/components/my-component/UI/menu/udp-menu.js +1 -1
  270. package/dist/collection/components/my-component/UI/stepper/udp-stepper-demo.js +1 -1
  271. package/dist/collection/components/my-component/UI/tabs/tab/tabs/udp-tabs.js +2 -2
  272. package/dist/collection/components/my-component/UI/tabs/tab/udp-tab.js +1 -1
  273. package/dist/collection/components/my-component/UI/tabs/udp-tab-panel/udp-tab-panel.js +2 -2
  274. package/dist/collection/components/my-component/UI/toolbars/app-bar/app-bar.js +1 -1
  275. package/dist/collection/components/my-component/UI/util/ghost-render/ghost-render.js +1 -1
  276. package/dist/collection/components/test-component/inputs-example/inputs-example.js +2 -2
  277. package/dist/collection/global/ag-grid.js +3 -0
  278. package/dist/collection/global/ag-grid.js.map +1 -1
  279. package/dist/collection/index.js +0 -3
  280. package/dist/collection/index.js.map +1 -1
  281. package/dist/collection/store/user-store.js.map +1 -1
  282. package/dist/collection/theme/color-preview/color-preview.js +1 -1
  283. package/dist/collection/udp-utilities/api-udp/apiMutate.js.map +1 -1
  284. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
  285. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
  286. package/dist/components/add-map-feature-popup2.js +3 -3
  287. package/dist/components/advanced-search-builder2.js +2 -2
  288. package/dist/components/advanced-search-grouped2.js +2 -2
  289. package/dist/components/advanced-search-grouped2.js.map +1 -1
  290. package/dist/components/advanced-search2.js +2 -2
  291. package/dist/components/advanced-search2.js.map +1 -1
  292. package/dist/components/ag-grid-base2.js +2 -2
  293. package/dist/components/ag-table2.js +1 -1
  294. package/dist/components/ambient-template-grid.js +4350 -1
  295. package/dist/components/ambient-template-grid.js.map +1 -1
  296. package/dist/components/api-method-instance-grid.js +1 -1
  297. package/dist/components/apiUtils.js +1 -1
  298. package/dist/components/app-bar.js +69 -1
  299. package/dist/components/app-bar.js.map +1 -1
  300. package/dist/components/catalog-store.js +1 -1
  301. package/dist/components/chart-kpi2.js +1 -1
  302. package/dist/components/check-box2.js +2 -2
  303. package/dist/components/chip-section.js +2 -2
  304. package/dist/components/client-side-grid2.js +1 -1
  305. package/dist/components/color-preview.js +1 -1
  306. package/dist/components/custom-button2.js +1 -1
  307. package/dist/components/edit-view-form.js +2 -2
  308. package/dist/components/entity-maintenance-grid.js +2 -2
  309. package/dist/components/feature-details-card2.js +4 -4
  310. package/dist/components/feature-details-popup2.js +1 -1
  311. package/dist/components/file-upload-renderer2.js +2 -2
  312. package/dist/components/filter-conditions2.js +1 -1
  313. package/dist/components/fluent-dialog2.js +2 -2
  314. package/dist/components/ghost-render2.js +1 -1
  315. package/dist/components/grid-primary-bar2.js +2 -2
  316. package/dist/components/hint-panel2.js +1 -1
  317. package/dist/components/image-upload2.js +1 -1
  318. package/dist/components/index.js +45 -4
  319. package/dist/components/index.js.map +1 -1
  320. package/dist/components/inputs-example.js +2 -2
  321. package/dist/components/kpi-list2.js +1 -1
  322. package/dist/components/list-item.js +2 -2
  323. package/dist/components/list-options-renderer2.js +3 -3
  324. package/dist/components/logical-search-indicator.js +1 -1
  325. package/dist/components/map-component2.js +1 -1
  326. package/dist/components/map-toolbar2.js +6 -6
  327. package/dist/components/numeric-field2.js +3 -3
  328. package/dist/components/primary-action-header2.js +2 -2
  329. package/dist/components/question-configs-renderer2.js +6 -6
  330. package/dist/components/resource-timeline-calendar.js +1 -1
  331. package/dist/components/resource-timeline-primary-bar2.js +2 -2
  332. package/dist/components/save-view-form.js +2 -2
  333. package/dist/components/search-list-item2.js +1 -1
  334. package/dist/components/search-method-grid2.js +2 -2
  335. package/dist/components/section-configs-renderer2.js +3 -3
  336. package/dist/components/select-layer-popup2.js +2 -2
  337. package/dist/components/server-side-grid2.js +1 -1
  338. package/dist/components/side-sheet-container2.js +1 -1
  339. package/dist/components/side-sheet2.js +1 -1
  340. package/dist/components/signature-input2.js +2 -2
  341. package/dist/components/signature-renderer2.js +1 -1
  342. package/dist/components/simple-card.js +1 -1
  343. package/dist/components/split-line-popup2.js +1 -1
  344. package/dist/components/status-chip2.js +1 -1
  345. package/dist/components/status-renderer.js +4 -5
  346. package/dist/components/status-renderer.js.map +1 -1
  347. package/dist/components/stencil-chip2.js +2 -2
  348. package/dist/components/stencil-form2.js +1 -1
  349. package/dist/components/stencil-toggle2.js +4 -4
  350. package/dist/components/tally.js +2 -2
  351. package/dist/components/text-area2.js +3 -3
  352. package/dist/components/text-field2.js +3 -3
  353. package/dist/components/text-input-renderer2.js +2 -2
  354. package/dist/components/udp-adornment2.js +1 -1
  355. package/dist/components/udp-advanced-search-builder.js +1 -1
  356. package/dist/components/udp-ambient-card2.js +1 -1
  357. package/dist/components/udp-ambient-tool-tip2.js +2 -2
  358. package/dist/components/udp-avatar2.js +1 -1
  359. package/dist/components/udp-badge2.js +1 -1
  360. package/dist/components/udp-bar-chart2.js +1 -1
  361. package/dist/components/udp-button2.js +1 -1
  362. package/dist/components/udp-calendar-base2.js +1 -1
  363. package/dist/components/udp-calendar-day.js +1 -1
  364. package/dist/components/udp-calendar-month.js +1 -1
  365. package/dist/components/udp-calendar-week.js +1 -1
  366. package/dist/components/udp-calendar-year.js +1 -1
  367. package/dist/components/udp-card-action-area.js +1 -1
  368. package/dist/components/udp-card-actions2.js +1 -1
  369. package/dist/components/udp-card-content2.js +1 -1
  370. package/dist/components/udp-card-header2.js +1 -1
  371. package/dist/components/udp-card-media2.js +1 -1
  372. package/dist/components/udp-card2.js +3 -3
  373. package/dist/components/udp-charts-example.js +1 -1
  374. package/dist/components/udp-chip2.js +1 -1
  375. package/dist/components/udp-column-header2.js +1 -1
  376. package/dist/components/udp-container-query-grid-item.js +1 -1
  377. package/dist/components/udp-container-query-grid.js +1 -1
  378. package/dist/components/udp-container-query2.js +2 -2
  379. package/dist/components/udp-container2.js +2 -2
  380. package/dist/components/udp-date-range-selector.js +1 -1
  381. package/dist/components/udp-date-selector2.js +3 -3
  382. package/dist/components/udp-datetime-selector2.js +3 -3
  383. package/dist/components/udp-dialog2.js +1 -1
  384. package/dist/components/udp-distribution-chart2.js +1 -1
  385. package/dist/components/udp-divider2.js +1 -1
  386. package/dist/components/udp-donut-chart2.js +1 -1
  387. package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
  388. package/dist/components/udp-dynamic-form.js +1 -1
  389. package/dist/components/udp-empty-state-display.js +1 -1
  390. package/dist/components/udp-forms-builder-menu2.js +2 -2
  391. package/dist/components/udp-forms-builder-question-item2.js +2 -2
  392. package/dist/components/udp-forms-builder-style-override2.js +1 -1
  393. package/dist/components/udp-forms-builder.js +72 -60
  394. package/dist/components/udp-forms-builder.js.map +1 -1
  395. package/dist/components/udp-forms-follow-up-list-card.js +2 -2
  396. package/dist/components/udp-forms-list-card2.js +5 -5
  397. package/dist/components/udp-forms-list.js +51 -39
  398. package/dist/components/udp-forms-list.js.map +1 -1
  399. package/dist/components/udp-forms-renderer.js +67 -55
  400. package/dist/components/udp-forms-renderer.js.map +1 -1
  401. package/dist/components/udp-function-button2.js +1 -1
  402. package/dist/components/udp-grid-loader2.js +2 -2
  403. package/dist/components/udp-hotlist-form2.js +1 -1
  404. package/dist/components/udp-icon2.js +4 -1
  405. package/dist/components/udp-icon2.js.map +1 -1
  406. package/dist/components/udp-line-chart2.js +1 -1
  407. package/dist/components/udp-linear-loader2.js +1 -1
  408. package/dist/components/udp-map-toolbar2.js +1 -1
  409. package/dist/components/udp-map.js +3 -3
  410. package/dist/components/udp-menu-item2.js +1 -1
  411. package/dist/components/udp-menu2.js +1 -1
  412. package/dist/components/udp-notification2.js +2 -2
  413. package/dist/components/udp-page-header2.js +1 -1
  414. package/dist/components/udp-page.js +1 -1
  415. package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
  416. package/dist/components/udp-pop-over2.js +1 -1
  417. package/dist/components/udp-radio-button2.js +1 -1
  418. package/dist/components/udp-sankey-chart.js +1 -1
  419. package/dist/components/udp-selector2.js +4 -4
  420. package/dist/components/udp-side-sheet2.js +228 -19
  421. package/dist/components/udp-side-sheet2.js.map +1 -1
  422. package/dist/components/udp-skeleton-loading2.js +1 -1
  423. package/dist/components/udp-split-screen.js +1 -1
  424. package/dist/components/udp-stepper-demo.js +1 -1
  425. package/dist/components/udp-tab-panel.js +2 -2
  426. package/dist/components/udp-tab.js +56 -1
  427. package/dist/components/udp-tab.js.map +1 -1
  428. package/dist/components/udp-tabs2.js +2 -2
  429. package/dist/components/udp-time-selector2.js +3 -3
  430. package/dist/components/udp-user-creator.js +86 -1
  431. package/dist/components/udp-user-creator.js.map +1 -1
  432. package/dist/components/udp-vertical-spacer.js +1 -1
  433. package/dist/components/udp-xy-chart2.js +1 -1
  434. package/dist/components/udp-xy-multi-series-chart.js +1 -1
  435. package/dist/components/upd-alert-banner2.js +1 -1
  436. package/dist/components/validation-chip2.js +1 -1
  437. package/dist/docs.json +152 -1102
  438. package/dist/esm/{action-column-util-BArOL_Uz.js → action-column-util-DUK_9dnF.js} +3 -3
  439. package/dist/esm/{action-column-util-BArOL_Uz.js.map → action-column-util-DUK_9dnF.js.map} +1 -1
  440. package/dist/esm/add-map-feature-popup_4.entry.js +13 -13
  441. package/dist/esm/advanced-search-builder.entry.js +2 -2
  442. package/dist/esm/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.js.map +1 -0
  443. package/dist/esm/advanced-search_12.entry.js +850 -0
  444. package/dist/esm/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.js.map +1 -0
  445. package/dist/esm/{ag-grid-base_5.entry.js → ag-grid-base_6.entry.js} +27 -10
  446. package/dist/{components/ambient-template-grid2.js → esm/ambient-template-grid.entry.js} +128 -489
  447. package/dist/esm/ambient-template-grid.entry.js.map +1 -0
  448. package/dist/esm/api-method-instance-grid.entry.js +1 -1
  449. package/dist/esm/{apiUtils-CudiwABF.js → apiUtils-cUHs50y0.js} +3 -3
  450. package/dist/{stencil-library/apiUtils-CudiwABF.js.map → esm/apiUtils-cUHs50y0.js.map} +1 -1
  451. package/dist/esm/app-bar.entry.js +17 -0
  452. package/dist/esm/app-bar.entry.js.map +1 -0
  453. package/dist/esm/catalog-store-BhgNAUY6.js +30 -0
  454. package/dist/esm/catalog-store-BhgNAUY6.js.map +1 -0
  455. package/dist/esm/chart-container_3.entry.js +2 -2
  456. package/dist/esm/{chartUtils-DqjnIahA.js → chartUtils-DFIyEsL1.js} +3 -3
  457. package/dist/esm/{chartUtils-DqjnIahA.js.map → chartUtils-DFIyEsL1.js.map} +1 -1
  458. package/dist/esm/check-box.entry.js +2 -2
  459. package/dist/esm/chip-section.entry.js +2 -2
  460. package/dist/esm/client-side-grid.resource-timeline-primary-bar.entry.js.map +1 -1
  461. package/dist/esm/client-side-grid_2.entry.js +5 -4
  462. package/dist/esm/color-preview.entry.js +1 -1
  463. package/dist/esm/conversionFunctions-CNWYTvRs.js +132 -0
  464. package/dist/esm/conversionFunctions-CNWYTvRs.js.map +1 -0
  465. package/dist/esm/{currency-renderer-BQ-hUac8.js → currency-renderer-CRK1v2o-.js} +7 -8
  466. package/dist/esm/currency-renderer-CRK1v2o-.js.map +1 -0
  467. package/dist/esm/custom-button.entry.js +50 -0
  468. package/dist/esm/custom-button.entry.js.map +1 -0
  469. package/dist/esm/date-time-renderer.file-upload-renderer.list-options-renderer.question-specific-configs-renderer.signature-renderer.text-input-renderer.entry.js.map +1 -1
  470. package/dist/esm/date-time-renderer_6.entry.js +12 -11
  471. package/dist/esm/entity-maintenance-grid.entry.js +2 -2
  472. package/dist/esm/{enums-CE8s6a9b.js → enums-BOc5zJ68.js} +3 -3
  473. package/dist/esm/{enums-CE8s6a9b.js.map → enums-BOc5zJ68.js.map} +1 -1
  474. package/dist/esm/feature-details-card.feature-details-popup.entry.js.map +1 -1
  475. package/dist/esm/feature-details-card_2.entry.js +9 -8
  476. package/dist/esm/file-upload_2.entry.js +1 -1
  477. package/dist/esm/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.js.map +1 -0
  478. package/dist/esm/filter-conditions_7.entry.js +297 -0
  479. package/dist/esm/filter-group.validation-chip.entry.js.map +1 -1
  480. package/dist/esm/filter-group_2.entry.js +3 -2
  481. package/dist/esm/fluent-dialog.entry.js +21 -0
  482. package/dist/esm/fluent-dialog.entry.js.map +1 -0
  483. package/dist/esm/{iconUtils-KSv32PVD.js → iconMapping-C_IYrnjG.js} +3 -13
  484. package/dist/esm/iconMapping-C_IYrnjG.js.map +1 -0
  485. package/dist/esm/iconUtils-BsS5FaLc.js +16 -0
  486. package/dist/esm/iconUtils-BsS5FaLc.js.map +1 -0
  487. package/dist/esm/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comment.udp-save-draft-button.entry.js.map +1 -1
  488. package/dist/esm/image-upload_7.entry.js +10 -9
  489. package/dist/esm/index-n-1ZSeAs.js +162 -94
  490. package/dist/esm/index.js +48 -9
  491. package/dist/esm/index.js.map +1 -1
  492. package/dist/esm/inputs-example.entry.js +2 -2
  493. package/dist/esm/loader.js +1 -1
  494. package/dist/esm/logical-search-indicator.entry.js +1 -1
  495. package/dist/esm/map-component_2.entry.js +3 -3
  496. package/dist/esm/numeric-field_5.entry.js +15 -15
  497. package/dist/esm/primary-action-header.udp-side-sheet.udp-tabs.entry.js.map +1 -0
  498. package/dist/esm/primary-action-header_3.entry.js +636 -0
  499. package/dist/esm/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.udp-forms-builder-style-override.entry.js.map +1 -1
  500. package/dist/esm/question-configs-renderer_5.entry.js +18 -17
  501. package/dist/esm/resource-timeline-calendar.entry.js +1 -1
  502. package/dist/esm/search-method-grid.entry.js +2 -2
  503. package/dist/esm/server-side-grid.entry.js +1 -1
  504. package/dist/esm/side-sheet-container.entry.js +18 -0
  505. package/dist/esm/side-sheet-container.entry.js.map +1 -0
  506. package/dist/esm/simple-card.entry.js +1 -1
  507. package/dist/esm/status-chip.udp-function-button.entry.js.map +1 -0
  508. package/dist/esm/status-chip_2.entry.js +96 -0
  509. package/dist/esm/stencil-chip.entry.js +106 -0
  510. package/dist/esm/stencil-chip.entry.js.map +1 -0
  511. package/dist/esm/stencil-icon-button-grid-action-header.entry.js +42 -0
  512. package/dist/esm/stencil-icon-button-grid-action-header.entry.js.map +1 -0
  513. package/dist/esm/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.js.map +1 -0
  514. package/dist/esm/stencil-icon-button_3.entry.js +154 -0
  515. package/dist/esm/stencil-library.js +1 -1
  516. package/dist/esm/stencil-toggle.entry.js +148 -0
  517. package/dist/esm/stencil-toggle.entry.js.map +1 -0
  518. package/dist/esm/text-field.udp-selector.entry.js.map +1 -0
  519. package/dist/esm/text-field_2.entry.js +565 -0
  520. package/dist/esm/{catalog-store-CeVER_Bk.js → transformSearchData-DBjFnXu6.js} +3 -29
  521. package/dist/esm/transformSearchData-DBjFnXu6.js.map +1 -0
  522. package/dist/esm/udp-adornment.entry.js +1 -1
  523. package/dist/esm/udp-advanced-search-builder.entry.js +1 -1
  524. package/dist/esm/udp-avatar.entry.js +55 -0
  525. package/dist/esm/udp-avatar.entry.js.map +1 -0
  526. package/dist/esm/udp-bar-chart_4.entry.js +5 -5
  527. package/dist/esm/udp-button.entry.js +111 -0
  528. package/dist/esm/udp-button.entry.js.map +1 -0
  529. package/dist/esm/udp-calendar-base.entry.js +1 -1
  530. package/dist/esm/udp-calendar-day.entry.js +1 -1
  531. package/dist/esm/udp-calendar-month.entry.js +1 -1
  532. package/dist/esm/udp-calendar-week.entry.js +1 -1
  533. package/dist/esm/udp-calendar-year.entry.js +1 -1
  534. package/dist/esm/udp-card-action-area.entry.js +1 -1
  535. package/dist/esm/udp-card_6.entry.js +7 -7
  536. package/dist/esm/udp-charts-example.entry.js +1 -1
  537. package/dist/esm/udp-chip_3.entry.js +2 -2
  538. package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
  539. package/dist/esm/udp-container-query-grid.entry.js +1 -1
  540. package/dist/esm/udp-container-query.entry.js +2 -2
  541. package/dist/esm/udp-container.udp-linear-loader.entry.js.map +1 -0
  542. package/dist/esm/udp-container_2.entry.js +53 -0
  543. package/dist/esm/udp-date-range-selector.entry.js +1 -1
  544. package/dist/esm/udp-divider.entry.js +20 -0
  545. package/dist/esm/udp-divider.entry.js.map +1 -0
  546. package/dist/esm/{udp-drive-utils-BiYKUATs.js → udp-drive-utils-CIrjVGiJ.js} +3 -3
  547. package/dist/{stencil-library/udp-drive-utils-BiYKUATs.js.map → esm/udp-drive-utils-CIrjVGiJ.js.map} +1 -1
  548. package/dist/esm/udp-dynamic-container-with-menu.entry.js +132 -0
  549. package/dist/esm/udp-dynamic-container-with-menu.entry.js.map +1 -0
  550. package/dist/esm/udp-dynamic-form.entry.js +1 -1
  551. package/dist/esm/udp-empty-state-display.entry.js +1 -1
  552. package/dist/esm/{udp-forms-builder-question-template-y1XU3Z2l.js → udp-forms-builder-question-template-BwyE73q_.js} +3 -3
  553. package/dist/{stencil-library/udp-forms-builder-question-template-y1XU3Z2l.js.map → esm/udp-forms-builder-question-template-BwyE73q_.js.map} +1 -1
  554. package/dist/esm/udp-forms-builder.entry.js +4 -3
  555. package/dist/esm/udp-forms-builder.entry.js.map +1 -1
  556. package/dist/esm/udp-forms-follow-up-list-card.entry.js +3 -3
  557. package/dist/esm/udp-forms-list-card.entry.js +6 -6
  558. package/dist/esm/udp-forms-list.entry.js +2 -2
  559. package/dist/esm/udp-forms-renderer.entry.js +2 -2
  560. package/dist/esm/udp-forms-ui.entry.js +3 -2
  561. package/dist/esm/udp-forms-ui.entry.js.map +1 -1
  562. package/dist/esm/udp-icon.entry.js +149 -0
  563. package/dist/esm/udp-icon.entry.js.map +1 -0
  564. package/dist/esm/udp-list-renderer.udp-pagination.entry.js.map +1 -0
  565. package/dist/esm/{udp-list-renderer_3.entry.js → udp-list-renderer_2.entry.js} +3 -72
  566. package/dist/esm/{udp-map-utils-BokzHQF1.js → udp-map-utils-DNAUNI5U.js} +3 -3
  567. package/dist/{stencil-library/udp-map-utils-BokzHQF1.js.map → esm/udp-map-utils-DNAUNI5U.js.map} +1 -1
  568. package/dist/esm/udp-map.entry.js +3 -3
  569. package/dist/esm/udp-menu-item.entry.js +25 -0
  570. package/dist/esm/udp-menu-item.entry.js.map +1 -0
  571. package/dist/esm/udp-page.entry.js +1 -1
  572. package/dist/esm/udp-pop-over.entry.js +130 -0
  573. package/dist/esm/udp-pop-over.entry.js.map +1 -0
  574. package/dist/esm/udp-sankey-chart.entry.js +2 -2
  575. package/dist/esm/udp-skeleton-loading.entry.js +20 -0
  576. package/dist/esm/udp-skeleton-loading.entry.js.map +1 -0
  577. package/dist/esm/udp-split-screen.entry.js +1 -1
  578. package/dist/esm/udp-stepper-demo.entry.js +1 -1
  579. package/dist/esm/udp-tab-panel.entry.js +2 -2
  580. package/dist/esm/udp-tab.entry.js +36 -0
  581. package/dist/esm/udp-tab.entry.js.map +1 -0
  582. package/dist/esm/udp-vertical-spacer.entry.js +1 -1
  583. package/dist/esm/udp-xy-chart.entry.js +2 -2
  584. package/dist/esm/udp-xy-multi-series-chart.entry.js +2 -2
  585. package/dist/esm/unity-typography.entry.js +61 -0
  586. package/dist/esm/unity-typography.entry.js.map +1 -0
  587. package/dist/stencil-library/{action-column-util-BArOL_Uz.js → action-column-util-DUK_9dnF.js} +2 -2
  588. package/dist/stencil-library/{action-column-util-BArOL_Uz.js.map → action-column-util-DUK_9dnF.js.map} +1 -1
  589. package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
  590. package/dist/stencil-library/advanced-search-builder.entry.js +1 -1
  591. package/dist/stencil-library/advanced-search.advanced-search-grouped.ag-table.edit-view-form-dialog.grid-primary-bar.kpi-list.save-view-form-dialog.side-sheet.udp-hotlist-form.udp-notification.udp-pop-over-grid-action-header.upd-alert-banner.entry.esm.js.map +1 -0
  592. package/dist/stencil-library/advanced-search_12.entry.js +2 -0
  593. package/dist/stencil-library/advanced-search_12.entry.js.map +1 -0
  594. package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.esm.js.map +1 -0
  595. package/dist/stencil-library/ag-grid-base_6.entry.js +2 -0
  596. package/dist/stencil-library/ag-grid-base_6.entry.js.map +1 -0
  597. package/dist/stencil-library/ambient-template-grid.entry.esm.js.map +1 -0
  598. package/dist/stencil-library/ambient-template-grid.entry.js +2 -0
  599. package/dist/stencil-library/ambient-template-grid.entry.js.map +1 -0
  600. package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
  601. package/dist/stencil-library/{apiUtils-CudiwABF.js → apiUtils-cUHs50y0.js} +2 -2
  602. package/dist/{esm/apiUtils-CudiwABF.js.map → stencil-library/apiUtils-cUHs50y0.js.map} +1 -1
  603. package/dist/stencil-library/app-bar.entry.esm.js.map +1 -0
  604. package/dist/stencil-library/app-bar.entry.js +2 -0
  605. package/dist/stencil-library/app-bar.entry.js.map +1 -0
  606. package/dist/stencil-library/catalog-store-BhgNAUY6.js +2 -0
  607. package/dist/stencil-library/catalog-store-BhgNAUY6.js.map +1 -0
  608. package/dist/stencil-library/chart-container_3.entry.js +1 -1
  609. package/dist/stencil-library/chart-container_3.entry.js.map +1 -1
  610. package/dist/stencil-library/{chartUtils-DqjnIahA.js → chartUtils-DFIyEsL1.js} +2 -2
  611. package/dist/stencil-library/{chartUtils-DqjnIahA.js.map → chartUtils-DFIyEsL1.js.map} +1 -1
  612. package/dist/stencil-library/check-box.entry.js +1 -1
  613. package/dist/stencil-library/chip-section.entry.js +1 -1
  614. package/dist/stencil-library/client-side-grid.resource-timeline-primary-bar.entry.esm.js.map +1 -1
  615. package/dist/stencil-library/client-side-grid_2.entry.js +1 -1
  616. package/dist/stencil-library/client-side-grid_2.entry.js.map +1 -1
  617. package/dist/stencil-library/color-preview.entry.js +1 -1
  618. package/dist/stencil-library/conversionFunctions-CNWYTvRs.js +2 -0
  619. package/dist/stencil-library/conversionFunctions-CNWYTvRs.js.map +1 -0
  620. package/dist/stencil-library/{currency-renderer-BQ-hUac8.js → currency-renderer-CRK1v2o-.js} +2 -2
  621. package/dist/stencil-library/currency-renderer-CRK1v2o-.js.map +1 -0
  622. package/dist/stencil-library/custom-button.entry.esm.js.map +1 -0
  623. package/dist/stencil-library/custom-button.entry.js +2 -0
  624. package/dist/stencil-library/custom-button.entry.js.map +1 -0
  625. 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 +1 -1
  626. package/dist/stencil-library/date-time-renderer_6.entry.js +1 -1
  627. package/dist/stencil-library/date-time-renderer_6.entry.js.map +1 -1
  628. package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -1
  629. package/dist/stencil-library/{enums-CE8s6a9b.js → enums-BOc5zJ68.js} +2 -2
  630. package/dist/stencil-library/{enums-CE8s6a9b.js.map → enums-BOc5zJ68.js.map} +1 -1
  631. package/dist/stencil-library/feature-details-card.feature-details-popup.entry.esm.js.map +1 -1
  632. package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
  633. package/dist/stencil-library/feature-details-card_2.entry.js.map +1 -1
  634. package/dist/stencil-library/file-upload_2.entry.js +1 -1
  635. package/dist/stencil-library/filter-conditions.search-list-item.tree-list-item.udp-column-header.udp-grid-loader.udp-page-header.udp-radio-button.entry.esm.js.map +1 -0
  636. package/dist/stencil-library/filter-conditions_7.entry.js +2 -0
  637. package/dist/stencil-library/filter-conditions_7.entry.js.map +1 -0
  638. package/dist/stencil-library/filter-group.validation-chip.entry.esm.js.map +1 -1
  639. package/dist/stencil-library/filter-group_2.entry.js +1 -1
  640. package/dist/stencil-library/filter-group_2.entry.js.map +1 -1
  641. package/dist/stencil-library/fluent-dialog.entry.esm.js.map +1 -0
  642. package/dist/stencil-library/fluent-dialog.entry.js +2 -0
  643. package/dist/stencil-library/fluent-dialog.entry.js.map +1 -0
  644. package/dist/stencil-library/{iconUtils-KSv32PVD.js → iconMapping-C_IYrnjG.js} +2 -2
  645. package/dist/stencil-library/iconMapping-C_IYrnjG.js.map +1 -0
  646. package/dist/stencil-library/iconUtils-BsS5FaLc.js +2 -0
  647. package/dist/stencil-library/iconUtils-BsS5FaLc.js.map +1 -0
  648. package/dist/stencil-library/image-upload.signature-input.stencil-form.tally-display.udp-question.udp-question-comment.udp-save-draft-button.entry.esm.js.map +1 -1
  649. package/dist/stencil-library/image-upload_7.entry.js +1 -1
  650. package/dist/stencil-library/image-upload_7.entry.js.map +1 -1
  651. package/dist/stencil-library/index.esm.js +1 -1
  652. package/dist/stencil-library/index.esm.js.map +1 -1
  653. package/dist/stencil-library/inputs-example.entry.js +1 -1
  654. package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
  655. package/dist/stencil-library/map-component_2.entry.js +1 -1
  656. package/dist/stencil-library/numeric-field_5.entry.js +1 -1
  657. package/dist/stencil-library/primary-action-header.udp-side-sheet.udp-tabs.entry.esm.js.map +1 -0
  658. package/dist/stencil-library/primary-action-header_3.entry.js +2 -0
  659. package/dist/stencil-library/primary-action-header_3.entry.js.map +1 -0
  660. package/dist/stencil-library/question-configs-renderer.section-configs-renderer.udp-forms-builder-menu.udp-forms-builder-question-item.udp-forms-builder-style-override.entry.esm.js.map +1 -1
  661. package/dist/stencil-library/question-configs-renderer_5.entry.js +1 -1
  662. package/dist/stencil-library/question-configs-renderer_5.entry.js.map +1 -1
  663. package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
  664. package/dist/stencil-library/search-method-grid.entry.js +1 -1
  665. package/dist/stencil-library/server-side-grid.entry.js +1 -1
  666. package/dist/stencil-library/side-sheet-container.entry.esm.js.map +1 -0
  667. package/dist/stencil-library/side-sheet-container.entry.js +2 -0
  668. package/dist/stencil-library/side-sheet-container.entry.js.map +1 -0
  669. package/dist/stencil-library/simple-card.entry.js +1 -1
  670. package/dist/stencil-library/simple-card.entry.js.map +1 -1
  671. package/dist/stencil-library/status-chip.udp-function-button.entry.esm.js.map +1 -0
  672. package/dist/stencil-library/status-chip_2.entry.js +2 -0
  673. package/dist/stencil-library/status-chip_2.entry.js.map +1 -0
  674. package/dist/stencil-library/stencil-chip.entry.esm.js.map +1 -0
  675. package/dist/stencil-library/stencil-chip.entry.js +2 -0
  676. package/dist/stencil-library/stencil-chip.entry.js.map +1 -0
  677. package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.esm.js.map +1 -0
  678. package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.js +2 -0
  679. package/dist/stencil-library/stencil-icon-button-grid-action-header.entry.js.map +1 -0
  680. package/dist/stencil-library/stencil-icon-button.udp-ambient-tool-tip.udp-badge.entry.esm.js.map +1 -0
  681. package/dist/stencil-library/stencil-icon-button_3.entry.js +2 -0
  682. package/dist/stencil-library/stencil-icon-button_3.entry.js.map +1 -0
  683. package/dist/stencil-library/stencil-library.esm.js +1 -1
  684. package/dist/stencil-library/stencil-toggle.entry.esm.js.map +1 -0
  685. package/dist/stencil-library/stencil-toggle.entry.js +2 -0
  686. package/dist/stencil-library/stencil-toggle.entry.js.map +1 -0
  687. package/dist/stencil-library/text-field.udp-selector.entry.esm.js.map +1 -0
  688. package/dist/stencil-library/text-field_2.entry.js +2 -0
  689. package/dist/stencil-library/text-field_2.entry.js.map +1 -0
  690. package/dist/stencil-library/transformSearchData-DBjFnXu6.js +2 -0
  691. package/dist/stencil-library/transformSearchData-DBjFnXu6.js.map +1 -0
  692. package/dist/stencil-library/udp-adornment.entry.js +1 -1
  693. package/dist/stencil-library/udp-advanced-search-builder.entry.js +1 -1
  694. package/dist/stencil-library/udp-avatar.entry.esm.js.map +1 -0
  695. package/dist/stencil-library/udp-avatar.entry.js +2 -0
  696. package/dist/stencil-library/udp-avatar.entry.js.map +1 -0
  697. package/dist/stencil-library/udp-bar-chart_4.entry.js +1 -1
  698. package/dist/stencil-library/udp-button.entry.esm.js.map +1 -0
  699. package/dist/stencil-library/udp-button.entry.js +2 -0
  700. package/dist/stencil-library/udp-button.entry.js.map +1 -0
  701. package/dist/stencil-library/udp-calendar-base.entry.js +1 -1
  702. package/dist/stencil-library/udp-calendar-day.entry.js +1 -1
  703. package/dist/stencil-library/udp-calendar-month.entry.js +1 -1
  704. package/dist/stencil-library/udp-calendar-week.entry.js +1 -1
  705. package/dist/stencil-library/udp-calendar-year.entry.js +1 -1
  706. package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
  707. package/dist/stencil-library/udp-card_6.entry.js +1 -1
  708. package/dist/stencil-library/udp-charts-example.entry.js +1 -1
  709. package/dist/stencil-library/udp-chip_3.entry.js +1 -1
  710. package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
  711. package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
  712. package/dist/stencil-library/udp-container-query.entry.js +1 -1
  713. package/dist/stencil-library/udp-container.udp-linear-loader.entry.esm.js.map +1 -0
  714. package/dist/stencil-library/udp-container_2.entry.js +2 -0
  715. package/dist/stencil-library/udp-container_2.entry.js.map +1 -0
  716. package/dist/stencil-library/udp-date-range-selector.entry.js +1 -1
  717. package/dist/stencil-library/udp-divider.entry.esm.js.map +1 -0
  718. package/dist/stencil-library/udp-divider.entry.js +2 -0
  719. package/dist/stencil-library/udp-divider.entry.js.map +1 -0
  720. package/dist/stencil-library/{udp-drive-utils-BiYKUATs.js → udp-drive-utils-CIrjVGiJ.js} +2 -2
  721. package/dist/{esm/udp-drive-utils-BiYKUATs.js.map → stencil-library/udp-drive-utils-CIrjVGiJ.js.map} +1 -1
  722. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.esm.js.map +1 -0
  723. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +2 -0
  724. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js.map +1 -0
  725. package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
  726. package/dist/stencil-library/udp-empty-state-display.entry.js +1 -1
  727. package/dist/stencil-library/{udp-forms-builder-question-template-y1XU3Z2l.js → udp-forms-builder-question-template-BwyE73q_.js} +2 -2
  728. package/dist/{esm/udp-forms-builder-question-template-y1XU3Z2l.js.map → stencil-library/udp-forms-builder-question-template-BwyE73q_.js.map} +1 -1
  729. package/dist/stencil-library/udp-forms-builder.entry.esm.js.map +1 -1
  730. package/dist/stencil-library/udp-forms-builder.entry.js +1 -1
  731. package/dist/stencil-library/udp-forms-builder.entry.js.map +1 -1
  732. package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
  733. package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
  734. package/dist/stencil-library/udp-forms-list.entry.js +1 -1
  735. package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
  736. package/dist/stencil-library/udp-forms-ui.entry.esm.js.map +1 -1
  737. package/dist/stencil-library/udp-forms-ui.entry.js +1 -1
  738. package/dist/stencil-library/udp-forms-ui.entry.js.map +1 -1
  739. package/dist/stencil-library/udp-icon.entry.esm.js.map +1 -0
  740. package/dist/stencil-library/udp-icon.entry.js +2 -0
  741. package/dist/stencil-library/udp-icon.entry.js.map +1 -0
  742. package/dist/stencil-library/udp-list-renderer.udp-pagination.entry.esm.js.map +1 -0
  743. package/dist/stencil-library/udp-list-renderer_2.entry.js +2 -0
  744. package/dist/stencil-library/udp-list-renderer_2.entry.js.map +1 -0
  745. package/dist/stencil-library/{udp-map-utils-BokzHQF1.js → udp-map-utils-DNAUNI5U.js} +2 -2
  746. package/dist/{esm/udp-map-utils-BokzHQF1.js.map → stencil-library/udp-map-utils-DNAUNI5U.js.map} +1 -1
  747. package/dist/stencil-library/udp-map.entry.js +1 -1
  748. package/dist/stencil-library/udp-menu-item.entry.esm.js.map +1 -0
  749. package/dist/stencil-library/udp-menu-item.entry.js +2 -0
  750. package/dist/stencil-library/udp-menu-item.entry.js.map +1 -0
  751. package/dist/stencil-library/udp-page.entry.js +1 -1
  752. package/dist/stencil-library/udp-pop-over.entry.esm.js.map +1 -0
  753. package/dist/stencil-library/udp-pop-over.entry.js +2 -0
  754. package/dist/stencil-library/udp-pop-over.entry.js.map +1 -0
  755. package/dist/stencil-library/udp-sankey-chart.entry.js +1 -1
  756. package/dist/stencil-library/udp-skeleton-loading.entry.esm.js.map +1 -0
  757. package/dist/stencil-library/udp-skeleton-loading.entry.js +2 -0
  758. package/dist/stencil-library/udp-skeleton-loading.entry.js.map +1 -0
  759. package/dist/stencil-library/udp-split-screen.entry.js +1 -1
  760. package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
  761. package/dist/stencil-library/udp-tab-panel.entry.js +1 -1
  762. package/dist/stencil-library/udp-tab.entry.esm.js.map +1 -0
  763. package/dist/stencil-library/udp-tab.entry.js +2 -0
  764. package/dist/stencil-library/udp-tab.entry.js.map +1 -0
  765. package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -1
  766. package/dist/stencil-library/udp-xy-chart.entry.js +1 -1
  767. package/dist/stencil-library/udp-xy-multi-series-chart.entry.js +1 -1
  768. package/dist/stencil-library/unity-typography.entry.esm.js.map +1 -0
  769. package/dist/stencil-library/unity-typography.entry.js +2 -0
  770. package/dist/stencil-library/unity-typography.entry.js.map +1 -0
  771. package/dist/types/components/my-component/UI/advanced-search/advanced-search-grouped.d.ts +4 -0
  772. package/dist/types/components/my-component/UI/advanced-search/advanced-search.d.ts +4 -0
  773. package/dist/types/components/my-component/UI/drawers/udp-side-sheet/types.d.ts +7 -0
  774. package/dist/types/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.d.ts +114 -0
  775. package/dist/types/components/my-component/UI/grid/ambient-template-grid/ambient-template-grid.d.ts +4 -0
  776. package/dist/types/components/my-component/UI/grid/renderers/currency-renderer.d.ts +0 -4
  777. package/dist/types/components/my-component/UI/grid/renderers/hot-list-add-renderer.d.ts +3 -0
  778. package/dist/types/components.d.ts +131 -192
  779. package/dist/types/global/ag-grid.d.ts +3 -0
  780. package/dist/types/index.d.ts +0 -3
  781. package/dist/types/store/user-store.d.ts +3 -0
  782. package/dist/types/udp-utilities/api-udp/apiMutate.d.ts +4 -0
  783. package/package.json +1 -1
  784. package/dist/cjs/ag-grid-base.ghost-render.grid-header.udp-dialog.udp-list-item.entry.cjs.js.map +0 -1
  785. package/dist/cjs/api-services-NWeAzI4X.js +0 -56
  786. package/dist/cjs/api-services-NWeAzI4X.js.map +0 -1
  787. package/dist/cjs/catalog-store-yJKDPXXM.js.map +0 -1
  788. package/dist/cjs/currency-renderer-D8Tuzf0W.js.map +0 -1
  789. package/dist/cjs/get-user-DFb8yrQ2.js +0 -88
  790. package/dist/cjs/get-user-DFb8yrQ2.js.map +0 -1
  791. package/dist/cjs/get-user.cjs.entry.js +0 -12
  792. package/dist/cjs/get-user.entry.cjs.js.map +0 -1
  793. package/dist/cjs/iconUtils-Bfr2fT9-.js.map +0 -1
  794. package/dist/cjs/page-renderer.cjs.entry.js +0 -40
  795. package/dist/cjs/page-renderer.entry.cjs.js.map +0 -1
  796. package/dist/cjs/test-api-updated.cjs.entry.js +0 -82
  797. package/dist/cjs/test-api-updated.entry.cjs.js.map +0 -1
  798. package/dist/cjs/test-api.cjs.entry.js +0 -72
  799. package/dist/cjs/test-api.entry.cjs.js.map +0 -1
  800. package/dist/cjs/toggle-button.cjs.entry.js +0 -19
  801. package/dist/cjs/toggle-button.entry.cjs.js.map +0 -1
  802. package/dist/cjs/udp-container.cjs.entry.js +0 -35
  803. package/dist/cjs/udp-container.entry.cjs.js.map +0 -1
  804. package/dist/cjs/udp-fetch-C9800dwI.js +0 -267
  805. package/dist/cjs/udp-fetch-C9800dwI.js.map +0 -1
  806. package/dist/cjs/udp-fetch.cjs.entry.js +0 -10
  807. package/dist/cjs/udp-fetch.entry.cjs.js.map +0 -1
  808. package/dist/cjs/udp-list-renderer.udp-pagination.udp-side-sheet.entry.cjs.js.map +0 -1
  809. package/dist/collection/components/my-component/AG-Grid.js +0 -352
  810. package/dist/collection/components/my-component/AG-Grid.js.map +0 -1
  811. package/dist/collection/components/my-component/demo/ambient-demo-container.css +0 -17
  812. package/dist/collection/components/my-component/demo/ambient-demo-container.js +0 -42
  813. package/dist/collection/components/my-component/demo/ambient-demo-container.js.map +0 -1
  814. package/dist/collection/components/my-component/my-component.css +0 -27
  815. package/dist/collection/components/my-component/my-component.js +0 -1575
  816. package/dist/collection/components/my-component/my-component.js.map +0 -1
  817. package/dist/collection/components/my-component/test-api/test-api.js +0 -46
  818. package/dist/collection/components/my-component/test-api/test-api.js.map +0 -1
  819. package/dist/collection/page-renderer/page-renderer.css +0 -0
  820. package/dist/collection/page-renderer/page-renderer.js +0 -159
  821. package/dist/collection/page-renderer/page-renderer.js.map +0 -1
  822. package/dist/collection/toggle-button.css +0 -29
  823. package/dist/collection/toggle-button.js +0 -64
  824. package/dist/collection/toggle-button.js.map +0 -1
  825. package/dist/collection/udp-utilities/api/api-services.js +0 -45
  826. package/dist/collection/udp-utilities/api/api-services.js.map +0 -1
  827. package/dist/collection/udp-utilities/api/useAxiosGet/useAxiosGet.js +0 -38
  828. package/dist/collection/udp-utilities/api/useAxiosGet/useAxiosGet.js.map +0 -1
  829. package/dist/collection/udp-utilities/api/useAxiosMutate/testApi.js +0 -50
  830. package/dist/collection/udp-utilities/api/useAxiosMutate/testApi.js.map +0 -1
  831. package/dist/collection/udp-utilities/api/useAxiosMutate/useApiServiceGetQuery.js +0 -37
  832. package/dist/collection/udp-utilities/api/useAxiosMutate/useApiServiceGetQuery.js.map +0 -1
  833. package/dist/collection/udp-utilities/api/useAxiosMutate/useApiServiceMutate.js +0 -36
  834. package/dist/collection/udp-utilities/api/useAxiosMutate/useApiServiceMutate.js.map +0 -1
  835. package/dist/collection/udp-utilities/api/useAxiosMutate/useAxiosMutate.js +0 -29
  836. package/dist/collection/udp-utilities/api/useAxiosMutate/useAxiosMutate.js.map +0 -1
  837. package/dist/collection/udp-utilities/api-udp/get-user.js +0 -125
  838. package/dist/collection/udp-utilities/api-udp/get-user.js.map +0 -1
  839. package/dist/collection/udp-utilities/api-udp/udp-fetch.js +0 -284
  840. package/dist/collection/udp-utilities/api-udp/udp-fetch.js.map +0 -1
  841. package/dist/collection/udp-utilities/auth/auth-actions.js +0 -39
  842. package/dist/collection/udp-utilities/auth/auth-actions.js.map +0 -1
  843. package/dist/collection/udp-utilities/auth/auth-config.js +0 -26
  844. package/dist/collection/udp-utilities/auth/auth-config.js.map +0 -1
  845. package/dist/collection/udp-utilities/auth/auth.js +0 -1
  846. package/dist/collection/udp-utilities/auth/auth.js.map +0 -1
  847. package/dist/collection/udp-utilities/auth/sign-in-auth-provider.js +0 -63
  848. package/dist/collection/udp-utilities/auth/sign-in-auth-provider.js.map +0 -1
  849. package/dist/collection/udp-utilities/baseSearchPayload.js +0 -13
  850. package/dist/collection/udp-utilities/baseSearchPayload.js.map +0 -1
  851. package/dist/collection/udp-utilities/testAuth/manualAccessToken.js +0 -4
  852. package/dist/collection/udp-utilities/testAuth/manualAccessToken.js.map +0 -1
  853. package/dist/collection/utils/utils.js +0 -15
  854. package/dist/collection/utils/utils.js.map +0 -1
  855. package/dist/components/ambient-demo-container.d.ts +0 -11
  856. package/dist/components/ambient-demo-container.js +0 -9
  857. package/dist/components/ambient-demo-container.js.map +0 -1
  858. package/dist/components/ambient-demo-container2.js +0 -43
  859. package/dist/components/ambient-demo-container2.js.map +0 -1
  860. package/dist/components/ambient-template-grid2.js.map +0 -1
  861. package/dist/components/api-services.js +0 -50
  862. package/dist/components/api-services.js.map +0 -1
  863. package/dist/components/app-bar2.js +0 -74
  864. package/dist/components/app-bar2.js.map +0 -1
  865. package/dist/components/get-user.d.ts +0 -11
  866. package/dist/components/get-user.js +0 -9
  867. package/dist/components/get-user.js.map +0 -1
  868. package/dist/components/get-user2.js +0 -103
  869. package/dist/components/get-user2.js.map +0 -1
  870. package/dist/components/my-component.d.ts +0 -11
  871. package/dist/components/my-component.js +0 -1796
  872. package/dist/components/my-component.js.map +0 -1
  873. package/dist/components/page-renderer.d.ts +0 -11
  874. package/dist/components/page-renderer.js +0 -325
  875. package/dist/components/page-renderer.js.map +0 -1
  876. package/dist/components/test-api-updated.d.ts +0 -11
  877. package/dist/components/test-api-updated.js +0 -105
  878. package/dist/components/test-api-updated.js.map +0 -1
  879. package/dist/components/test-api.d.ts +0 -11
  880. package/dist/components/test-api.js +0 -92
  881. package/dist/components/test-api.js.map +0 -1
  882. package/dist/components/toggle-button.d.ts +0 -11
  883. package/dist/components/toggle-button.js +0 -42
  884. package/dist/components/toggle-button.js.map +0 -1
  885. package/dist/components/udp-fetch.d.ts +0 -11
  886. package/dist/components/udp-fetch.js +0 -9
  887. package/dist/components/udp-fetch.js.map +0 -1
  888. package/dist/components/udp-fetch2.js +0 -284
  889. package/dist/components/udp-fetch2.js.map +0 -1
  890. package/dist/components/udp-tab2.js +0 -61
  891. package/dist/components/udp-tab2.js.map +0 -1
  892. package/dist/components/udp-user-creator2.js +0 -91
  893. package/dist/components/udp-user-creator2.js.map +0 -1
  894. package/dist/esm/advanced-search_50.entry.js +0 -8792
  895. package/dist/esm/ag-grid-base.ghost-render.grid-header.udp-dialog.udp-list-item.entry.js.map +0 -1
  896. package/dist/esm/api-services-C0O6l6cU.js +0 -50
  897. package/dist/esm/api-services-C0O6l6cU.js.map +0 -1
  898. package/dist/esm/catalog-store-CeVER_Bk.js.map +0 -1
  899. package/dist/esm/currency-renderer-BQ-hUac8.js.map +0 -1
  900. package/dist/esm/get-user-BtNVBI86.js +0 -82
  901. package/dist/esm/get-user-BtNVBI86.js.map +0 -1
  902. package/dist/esm/get-user.entry.js +0 -6
  903. package/dist/esm/get-user.entry.js.map +0 -1
  904. package/dist/esm/iconUtils-KSv32PVD.js.map +0 -1
  905. package/dist/esm/page-renderer.entry.js +0 -38
  906. package/dist/esm/page-renderer.entry.js.map +0 -1
  907. package/dist/esm/test-api-updated.entry.js +0 -80
  908. package/dist/esm/test-api-updated.entry.js.map +0 -1
  909. package/dist/esm/test-api.entry.js +0 -66
  910. package/dist/esm/test-api.entry.js.map +0 -1
  911. package/dist/esm/toggle-button.entry.js +0 -17
  912. package/dist/esm/toggle-button.entry.js.map +0 -1
  913. package/dist/esm/udp-container.entry.js +0 -33
  914. package/dist/esm/udp-container.entry.js.map +0 -1
  915. package/dist/esm/udp-fetch-BGMJ3xhH.js +0 -259
  916. package/dist/esm/udp-fetch-BGMJ3xhH.js.map +0 -1
  917. package/dist/esm/udp-fetch.entry.js +0 -4
  918. package/dist/esm/udp-fetch.entry.js.map +0 -1
  919. package/dist/esm/udp-list-renderer.udp-pagination.udp-side-sheet.entry.js.map +0 -1
  920. package/dist/stencil-library/advanced-search_50.entry.js +0 -2
  921. package/dist/stencil-library/advanced-search_50.entry.js.map +0 -1
  922. package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.udp-dialog.udp-list-item.entry.esm.js.map +0 -1
  923. package/dist/stencil-library/ag-grid-base_5.entry.js +0 -2
  924. package/dist/stencil-library/ag-grid-base_5.entry.js.map +0 -1
  925. package/dist/stencil-library/api-services-C0O6l6cU.js +0 -2
  926. package/dist/stencil-library/api-services-C0O6l6cU.js.map +0 -1
  927. package/dist/stencil-library/catalog-store-CeVER_Bk.js +0 -2
  928. package/dist/stencil-library/catalog-store-CeVER_Bk.js.map +0 -1
  929. package/dist/stencil-library/currency-renderer-BQ-hUac8.js.map +0 -1
  930. package/dist/stencil-library/get-user-BtNVBI86.js +0 -2
  931. package/dist/stencil-library/get-user-BtNVBI86.js.map +0 -1
  932. package/dist/stencil-library/get-user.entry.esm.js.map +0 -1
  933. package/dist/stencil-library/get-user.entry.js +0 -2
  934. package/dist/stencil-library/get-user.entry.js.map +0 -1
  935. package/dist/stencil-library/iconUtils-KSv32PVD.js.map +0 -1
  936. package/dist/stencil-library/page-renderer.entry.esm.js.map +0 -1
  937. package/dist/stencil-library/page-renderer.entry.js +0 -2
  938. package/dist/stencil-library/page-renderer.entry.js.map +0 -1
  939. package/dist/stencil-library/test-api-updated.entry.esm.js.map +0 -1
  940. package/dist/stencil-library/test-api-updated.entry.js +0 -2
  941. package/dist/stencil-library/test-api-updated.entry.js.map +0 -1
  942. package/dist/stencil-library/test-api.entry.esm.js.map +0 -1
  943. package/dist/stencil-library/test-api.entry.js +0 -2
  944. package/dist/stencil-library/test-api.entry.js.map +0 -1
  945. package/dist/stencil-library/toggle-button.entry.esm.js.map +0 -1
  946. package/dist/stencil-library/toggle-button.entry.js +0 -2
  947. package/dist/stencil-library/toggle-button.entry.js.map +0 -1
  948. package/dist/stencil-library/udp-container.entry.esm.js.map +0 -1
  949. package/dist/stencil-library/udp-container.entry.js +0 -2
  950. package/dist/stencil-library/udp-container.entry.js.map +0 -1
  951. package/dist/stencil-library/udp-fetch-BGMJ3xhH.js +0 -2
  952. package/dist/stencil-library/udp-fetch-BGMJ3xhH.js.map +0 -1
  953. package/dist/stencil-library/udp-fetch.entry.esm.js.map +0 -1
  954. package/dist/stencil-library/udp-fetch.entry.js +0 -2
  955. package/dist/stencil-library/udp-fetch.entry.js.map +0 -1
  956. package/dist/stencil-library/udp-list-renderer.udp-pagination.udp-side-sheet.entry.esm.js.map +0 -1
  957. package/dist/stencil-library/udp-list-renderer_3.entry.js +0 -2
  958. package/dist/stencil-library/udp-list-renderer_3.entry.js.map +0 -1
  959. package/dist/types/components/my-component/AG-Grid.d.ts +0 -0
  960. package/dist/types/components/my-component/demo/ambient-demo-container.d.ts +0 -4
  961. package/dist/types/components/my-component/my-component.d.ts +0 -699
  962. package/dist/types/components/my-component/test-api/test-api.d.ts +0 -7
  963. package/dist/types/page-renderer/page-renderer.d.ts +0 -10
  964. package/dist/types/toggle-button.d.ts +0 -5
  965. package/dist/types/udp-utilities/api/api-services.d.ts +0 -14
  966. package/dist/types/udp-utilities/api/useAxiosGet/useAxiosGet.d.ts +0 -19
  967. package/dist/types/udp-utilities/api/useAxiosMutate/testApi.d.ts +0 -7
  968. package/dist/types/udp-utilities/api/useAxiosMutate/useApiServiceGetQuery.d.ts +0 -19
  969. package/dist/types/udp-utilities/api/useAxiosMutate/useApiServiceMutate.d.ts +0 -5
  970. package/dist/types/udp-utilities/api/useAxiosMutate/useAxiosMutate.d.ts +0 -12
  971. package/dist/types/udp-utilities/api-udp/get-user.d.ts +0 -18
  972. package/dist/types/udp-utilities/api-udp/udp-fetch.d.ts +0 -10
  973. package/dist/types/udp-utilities/auth/auth-actions.d.ts +0 -0
  974. package/dist/types/udp-utilities/auth/auth-config.d.ts +0 -14
  975. package/dist/types/udp-utilities/auth/auth.d.ts +0 -0
  976. package/dist/types/udp-utilities/auth/sign-in-auth-provider.d.ts +0 -0
  977. package/dist/types/udp-utilities/baseSearchPayload.d.ts +0 -2
  978. package/dist/types/udp-utilities/testAuth/manualAccessToken.d.ts +0 -2
  979. package/dist/types/utils/utils.d.ts +0 -2
@@ -1,2 +1,2 @@
1
- import{r as t,h as a,a as e,H as i}from"./index-n-1ZSeAs.js";import n from"@carbon/icons/es/chevron--down/16";import s from"@carbon/icons/es/chevron--up/16";const c=".chart-container-data-container{display:flex;width:'100%';height:'100%';gap:8px}.chart-container-data-container-top{flex-direction:column}.chart-container-kpi-container{display:flex;flex-direction:column;justify-content:flex-start;gap:30px;padding-top:20px;align-items:center}.chart-container-kpi-container-top{flex-direction:row;justify-content:space-evenly}.padding-top-kpis{padding-top:8px}.chart-container-spacer{flex-grow:1}.chart-container{width:'100%';height:'100%'}:host{display:block;width:100%;height:100%;margin:0;padding:0}";const r=class{constructor(a){t(this,a);this.kpisPosition="left";this.hideAdornment=false;this.hideBorder=false;this.removePadding=false;this.chartHeight="100%";this.chartWidth="100%"}componentWillLoad(){if(!this.chartId){console.error("chartId prop is required on component chart-container")}}resizeChart(){var t=document.querySelector(".wrapper");var a=document.getElementById(this.chartId);if(!!!a){this.resizeChart();return}const e=t.clientWidth/a.clientWidth;const i=t.clientHeight/a.clientHeight;const n=Math.min(e,i);a.style.transform=`scale(${n})`}componentDidLoad(){this.resizeChart()}render(){var t;if(!this.chartId)return null;const e=typeof this.cardWidth==="number"?`${this.cardWidth}px`:this.cardWidth;const i=typeof this.chartWidth==="number"?`${this.chartWidth}px`:this.chartWidth;const n=typeof this.chartHeight==="number"?`${this.chartHeight}px`:this.chartHeight;return a("udp-ambient-card",{width:e,hideAdornment:this.hideAdornment,hideBorder:this.hideBorder,removePadding:this.removePadding},a("div",{class:"header"},a("unity-typography",{variant:"h3"},this.title),a("unity-typography",null,this.subheader)),a("div",{class:{"chart-container-data-container":true,"chart-container-data-container-top":this.kpisPosition==="top"}},((t=this.kpis)===null||t===void 0?void 0:t.length)>0&&a("div",{class:{"chart-container-kpi-container":true,"chart-container-kpi-container-top":this.kpisPosition==="top","padding-top-kpis":this.kpisPosition==="top"&&!this.title&&!this.subheader}},this.kpis.map((t=>a("chart-kpi",Object.assign({},t))))),a("div",{id:this.chartId,style:{height:n,width:i},class:"chartContainer"})))}get el(){return e(this)}};r.style=c;const o=":host{display:flex;flex-direction:column;align-items:center;width:20%}.element{line-height:1}";const d=class{constructor(a){t(this,a)}render(){return a(i,{key:"6714133469f134b7b484a538046c4e98777f8d58",class:"chart-kpi-container"},a("unity-typography",{key:"c7156f8d1af17d56c52ae7b04b66f0cb11e9bc8e",class:"element",variant:"data-display-four"},this.value),a("unity-typography",{key:"bb83487c9a28f93f07b1c03057e051df8697f1c2",class:"element",variant:"caption-text"},this.label))}};d.style=o;const h=".card{display:flex;position:relative;flex-direction:column;padding:16px;background-color:white;width:100%}.no-padding{padding:0}.card-border{border:var(--udp-ambient-card-border, 1px solid #ccc)}.udp-adornment{position:absolute;right:0;top:0;bottom:0}.title,.body,.footer{}.expandable{max-height:0;overflow:hidden;transition:max-height 0.3s ease-out}.expanded{max-height:100px;}.wrapper{display:flex;margin:var(--wrapper-margin, 16px);height:var(--wrapper-height)}.more-button{display:flex;align-items:center}.adornment{display:var(--adornment-display, block)}";const p=class{constructor(a){t(this,a);this.isExpanded=false;this.title="";this.overflow="";this.moreText="";this.hideAdornment=false;this.hideBorder=false;this.removePadding=false;this.toggleExpand=()=>{this.isExpanded=!this.isExpanded}}render(){return a("div",{key:"825d3956a1742004c7f1c55b1ad48be20f5b73f2",class:"wrapper",style:{width:this.width}},!this.hideAdornment&&a("div",{key:"4cfe2ac3b69613cb309232bfb114d573f7d2e09a",class:"adornment"},a("udp-adornment",{key:"922d0b101420eb1d8a4805d14ac81d012e949894",status:"info"})),a("div",{key:"8c1994148fa68e651da50029cfa44f540f548b91",class:{card:true,"card-border":!this.hideBorder,"no-padding":this.removePadding}},a("div",{key:"351249eff43ff0f948c9aa9e62174d089ce6cb77",class:"card-data"},a("div",{key:"60c7b952556402212b180b969f16c5eabcaf8dd3",class:"title"},a("unity-typography",{key:"a346a33fb22a79157538b446411c240c9a65ccbe",variant:"data-display-four"},this.title)),a("div",{key:"243ba3037fda6148c721d55b309a5a0bbd1b7dac",class:"body"},a("slot",{key:"1141709924689108f9e0dc4004f510c7716ead50"})),a("div",{key:"84f325c8fa332099291dd8124b0a2b84bac27803",class:"footer"},this.overflow&&a("div",{key:"f6ff0bc571e36c78a12dd5fc9fba41af9c71ec0d",class:"more-button"},a("unity-typography",{key:"fd11230d3d18b610e46e8cf8ac8d0264b3f4ddf8",variant:"caption-text"},this.moreText," "),a("stencil-icon-button",{key:"f96e98a40b8458a6094be18e9bf940a47f894bd8",onClick:this.toggleExpand,icon:this.isExpanded?s:n,showLabel:false}))),a("div",{key:"e023ecc66804bf896e6bc1ba763f5c154f407058",class:`expandable ${this.isExpanded?"expanded":""}`},a("unity-typography",{key:"9c78ceed85e03ec60b73fdc84d25d3daf273724a",variant:"body"},this.overflow)))))}};p.style=h;export{r as chart_container,d as chart_kpi,p as udp_ambient_card};
1
+ import{r as t,h as e,a,H as i}from"./index-n-1ZSeAs.js";import n from"@carbon/icons/es/chevron--down/16";import s from"@carbon/icons/es/chevron--up/16";const c=".chart-container-data-container{display:flex;width:'100%';height:'100%';gap:8px}.chart-container-data-container-top{flex-direction:column}.chart-container-kpi-container{display:flex;flex-direction:column;justify-content:flex-start;gap:30px;padding-top:20px;align-items:center}.chart-container-kpi-container-top{flex-direction:row;justify-content:space-evenly}.padding-top-kpis{padding-top:8px}.chart-container-spacer{flex-grow:1}.chart-container{width:'100%';height:'100%'}:host{display:block;width:100%;height:100%;margin:0;padding:0}";const r=class{constructor(e){t(this,e);this.kpisPosition="left";this.hideAdornment=false;this.hideBorder=false;this.removePadding=false;this.chartHeight="100%";this.chartWidth="100%"}componentWillLoad(){if(!this.chartId){console.error("chartId prop is required on component chart-container")}}resizeChart(){var t=document.querySelector(".wrapper");var e=document.getElementById(this.chartId);if(!!!e){this.resizeChart();return}const a=t.clientWidth/e.clientWidth;const i=t.clientHeight/e.clientHeight;const n=Math.min(a,i);e.style.transform=`scale(${n})`}componentDidLoad(){this.resizeChart()}render(){var t;if(!this.chartId)return null;const a=typeof this.cardWidth==="number"?`${this.cardWidth}px`:this.cardWidth;const i=typeof this.chartWidth==="number"?`${this.chartWidth}px`:this.chartWidth;const n=typeof this.chartHeight==="number"?`${this.chartHeight}px`:this.chartHeight;return e("udp-ambient-card",{width:a,hideAdornment:this.hideAdornment,hideBorder:this.hideBorder,removePadding:this.removePadding},e("div",{class:"header"},e("unity-typography",{variant:"h3"},this.title),e("unity-typography",null,this.subheader)),e("div",{class:{"chart-container-data-container":true,"chart-container-data-container-top":this.kpisPosition==="top"}},((t=this.kpis)===null||t===void 0?void 0:t.length)>0&&e("div",{class:{"chart-container-kpi-container":true,"chart-container-kpi-container-top":this.kpisPosition==="top","padding-top-kpis":this.kpisPosition==="top"&&!this.title&&!this.subheader}},this.kpis.map((t=>e("chart-kpi",Object.assign({},t))))),e("div",{id:this.chartId,style:{height:n,width:i},class:"chartContainer"})))}get el(){return a(this)}};r.style=c;const o=":host{display:flex;flex-direction:column;align-items:center;width:20%}.element{line-height:1}";const d=class{constructor(e){t(this,e)}render(){return e(i,{key:"436148c37dbf47597da804f8704541f384e19cd7",class:"chart-kpi-container"},e("unity-typography",{key:"9cf2177e187d3bd6652630db29d92dc52f4c1fdb",class:"element",variant:"data-display-four"},this.value),e("unity-typography",{key:"5a0d8cbf8230d67a4012cffd84f6816578e1c54b",class:"element",variant:"caption-text"},this.label))}};d.style=o;const h=".card{display:flex;position:relative;flex-direction:column;padding:16px;background-color:white;width:100%}.no-padding{padding:0}.card-border{border:var(--udp-ambient-card-border, 1px solid #ccc)}.udp-adornment{position:absolute;right:0;top:0;bottom:0}.title,.body,.footer{}.expandable{max-height:0;overflow:hidden;transition:max-height 0.3s ease-out}.expanded{max-height:100px;}.wrapper{display:flex;margin:var(--wrapper-margin, 16px);height:var(--wrapper-height)}.more-button{display:flex;align-items:center}.adornment{display:var(--adornment-display, block)}";const p=class{constructor(e){t(this,e);this.isExpanded=false;this.title="";this.overflow="";this.moreText="";this.hideAdornment=false;this.hideBorder=false;this.removePadding=false;this.toggleExpand=()=>{this.isExpanded=!this.isExpanded}}render(){return e("div",{key:"96080cabff1e697e2e5e301d4fc38cce049294d3",class:"wrapper",style:{width:this.width}},!this.hideAdornment&&e("div",{key:"a9617781fb869cce36dfad087c76a3daf08217fa",class:"adornment"},e("udp-adornment",{key:"ce6516a601c102f99f07a5132f5da4a582e690ab",status:"info"})),e("div",{key:"89195e37c6ab81c845e6646e7f1559588789637a",class:{card:true,"card-border":!this.hideBorder,"no-padding":this.removePadding}},e("div",{key:"83918f1f47cd7c26a92aa1c016e4573f823829b1",class:"card-data"},e("div",{key:"630f490a3be4b0c6c583c379ac1fbebf23af9b1e",class:"title"},e("unity-typography",{key:"81f69a51798cb01ed8edd41c9b96cdbbe98f3738",variant:"data-display-four"},this.title)),e("div",{key:"461da9f6fbeaa620f22373176d5d29fc2ce45e93",class:"body"},e("slot",{key:"9556183b944106f6269014b6e4731c75117cad2a"})),e("div",{key:"9b449e8c8d851e88259e3680f7c8b1ac4201898d",class:"footer"},this.overflow&&e("div",{key:"23859b21e16793b7380ba0407c46bdf14eb62d85",class:"more-button"},e("unity-typography",{key:"b3457213e5d885b9e9673d121f0533206311e7af",variant:"caption-text"},this.moreText," "),e("stencil-icon-button",{key:"a767525335d6a012f3aee4460a297f5fe3eb7ac2",onClick:this.toggleExpand,icon:this.isExpanded?s:n,showLabel:false}))),e("div",{key:"348cff2b751c29e34726f8ac3020fc8e49eb6a15",class:`expandable ${this.isExpanded?"expanded":""}`},e("unity-typography",{key:"5fb007403802c7136f795ca7e1e2c77f796cb405",variant:"body"},this.overflow)))))}};p.style=h;export{r as chart_container,d as chart_kpi,p as udp_ambient_card};
2
2
  //# sourceMappingURL=chart-container_3.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["registerInstance","h","getElement","Host","ChevronDown","ChevronUp16","chartContainerCss","ChartContainer","constructor","hostRef","this","kpisPosition","hideAdornment","hideBorder","removePadding","chartHeight","chartWidth","componentWillLoad","chartId","console","error","resizeChart","container","document","querySelector","chartDiv","getElementById","scaleX","clientWidth","scaleY","clientHeight","scale","Math","min","style","transform","componentDidLoad","render","_a","currentCardWidth","cardWidth","currentChartWidth","currentChartHeight","width","class","variant","title","subheader","kpis","length","map","kpi","Object","assign","id","height","el","chartKpiCss","ChartKpi","key","value","label","udpAmbientCardCss","UdpAmbientCard","isExpanded","overflow","moreText","toggleExpand","status","card","onClick","icon","showLabel"],"sources":["0"],"mappings":"YAAcA,OAAkBC,OAAQC,OAAiBC,MAAY,6BAC9DC,MAAiB,2CACjBC,MAAiB,kCAExB,MAAMC,EAAoB,0hBAE1B,MAAMC,EAAiB,MACnB,WAAAC,CAAYC,GACRT,EAAiBU,KAAMD,GACv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aAAe3C,EAAE,gBAAiB,CAAE0D,IAAK,2CAA4CS,OAAQ,UAAanE,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,CAAEyB,KAAQ,KAAM,eAAgB3D,KAAKG,WAAY,aAAcH,KAAKI,gBAAmBb,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,aAAe3C,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,SAAW3C,EAAE,mBAAoB,CAAE0D,IAAK,2CAA4Cd,QAAS,qBAAuBnC,KAAKoC,QAAS7C,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,QAAU3C,EAAE,OAAQ,CAAE0D,IAAK,8CAAgD1D,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,UAAYlC,KAAKuD,UAAahE,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,eAAiB3C,EAAE,mBAAoB,CAAE0D,IAAK,2CAA4Cd,QAAS,gBAAkBnC,KAAKwD,SAAU,KAAMjE,EAAE,sBAAuB,CAAE0D,IAAK,2CAA4CW,QAAS5D,KAAKyD,aAAcI,KAAM7D,KAAKsD,WAAa3D,EAAcD,EAAaoE,UAAW,UAAavE,EAAE,MAAO,CAAE0D,IAAK,2CAA4Cf,MAAO,cAAclC,KAAKsD,WAAa,WAAa,MAAQ/D,EAAE,mBAAoB,CAAE0D,IAAK,2CAA4Cd,QAAS,QAAUnC,KAAKuD,aACxjD,GAEJF,EAAe7B,MAAQ4B,SAEdvD,qBAAmCmD,eAAuBK","ignoreList":[]}
1
+ {"version":3,"names":["registerInstance","h","getElement","Host","ChevronDown","ChevronUp16","chartContainerCss","ChartContainer","constructor","hostRef","this","kpisPosition","hideAdornment","hideBorder","removePadding","chartHeight","chartWidth","componentWillLoad","chartId","console","error","resizeChart","container","document","querySelector","chartDiv","getElementById","scaleX","clientWidth","scaleY","clientHeight","scale","Math","min","style","transform","componentDidLoad","render","_a","currentCardWidth","cardWidth","currentChartWidth","currentChartHeight","width","class","variant","title","subheader","kpis","length","map","kpi","Object","assign","id","height","el","chartKpiCss","ChartKpi","key","value","label","udpAmbientCardCss","UdpAmbientCard","isExpanded","overflow","moreText","toggleExpand","status","card","onClick","icon","showLabel"],"sources":["0"],"mappings":"YAAcA,OAAkBC,EAAQC,OAAiBC,MAAY,6BAC9DC,MAAiB,2CACjBC,MAAiB,kCAExB,MAAMC,EAAoB,0hBAE1B,MAAMC,EAAiB,MACnB,WAAAC,CAAYC,GACRT,EAAiBU,KAAMD,GACvBC,KAAKC,aAAe,OACpBD,KAAKE,cAAgB,MACrBF,KAAKG,WAAa,MAClBH,KAAKI,cAAgB,MACrBJ,KAAKK,YAAc,OACnBL,KAAKM,WAAa,MACtB,CACA,iBAAAC,GACI,IAAKP,KAAKQ,QAAS,CACfC,QAAQC,MAAM,wDAClB,CACJ,CACA,WAAAC,GACI,IAAIC,EAAYC,SAASC,cAAc,YACvC,IAAIC,EAAWF,SAASG,eAAehB,KAAKQ,SAC5C,MAAOO,EAAU,CACbf,KAAKW,cACL,MACJ,CACA,MAAMM,EAASL,EAAUM,YAAcH,EAASG,YAChD,MAAMC,EAASP,EAAUQ,aAAeL,EAASK,aACjD,MAAMC,EAAQC,KAAKC,IAAIN,EAAQE,GAC/BJ,EAASS,MAAMC,UAAY,SAASJ,IACxC,CACA,gBAAAK,GACI1B,KAAKW,aACT,CACA,MAAAgB,GACI,IAAIC,EACJ,IAAK5B,KAAKQ,QACN,OAAO,KACX,MAAMqB,SAA0B7B,KAAK8B,YAAc,SAAW,GAAG9B,KAAK8B,cAAgB9B,KAAK8B,UAC3F,MAAMC,SAA2B/B,KAAKM,aAAe,SAAW,GAAGN,KAAKM,eAAiBN,KAAKM,WAC9F,MAAM0B,SAA4BhC,KAAKK,cAAgB,SAAW,GAAGL,KAAKK,gBAAkBL,KAAKK,YACjG,OAAQd,EAAE,mBAAoB,CAAE0C,MAAOJ,EAAkB3B,cAAeF,KAAKE,cAAeC,WAAYH,KA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aACxjD,GAEJF,EAAe7B,MAAQ4B,SAEdvD,qBAAmCmD,eAAuBK","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import*as e from"@amcharts/amcharts4/charts";import*as t from"@amcharts/amcharts4/core";function n(e){if(typeof e==="number"){return e}if(typeof e!=="string"){return null}e=e.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").trim();if(e===""){return null}const t=parseInt(e,10);if(!isNaN(t)&&t.toString()===e){return t}const n=parseFloat(e);if(!isNaN(n)&&n.toString()===e){return n}return null}const a=200;function r(e,n,a=false){var r,s;t.addLicense("CH98568001");e.responsive.enabled=true;if(a){e.exportable=true;e.exporting.menu=new t.ExportMenu;e.exporting.menu.container=n;e.exporting.menu.align="right";e.exporting.menu.verticalAlign="top"}const o=Intl.DateTimeFormat().resolvedOptions().locale;const c=Intl.NumberFormat().resolvedOptions().locale;e.dateFormatter.dateFormat="yyyy-MM-dd HH:mm:ss";e.dateFormatter.intlLocales=o;e.numberFormatter.intlLocales=c;const i=(r=.1.toLocaleString().charAt(1))!==null&&r!==void 0?r:".";const u=(s=1e4.toLocaleString().charAt(2))!==null&&s!==void 0?s:",";e.language.locale["_decimalSeparator"]=isNaN(parseInt(i))?i:".";e.language.locale["_thousandSeparator"]=isNaN(parseInt(u))?u:",";if(e===null||e===void 0?void 0:e.logo){e.logo.disabled=true}}function s(e,n,a,r){if(a){const e=a(r);return e?t.color(e):null}else{return(n===null||n===void 0?void 0:n[r[e]])?t.color(n===null||n===void 0?void 0:n[r[e]]):null}}function o(t){t.maskBullets=false;t.cursor=new e.XYCursor;t.cursor.exportable=false;t.cursor.lineX.strokeOpacity=0;t.cursor.lineY.strokeOpacity=0;t.cursor.behavior="none";t.cursor.maxTooltipDistance=10}function c(t,n,a,r=[],s="X",o=60){const c=new e.CategoryAxis;c.id=n;if(s==="X"||s==="X2"){t.xAxes.push(c);c.renderer.minGridDistance=o;c.renderer.labels.template.maxWidth=110;c.renderer.labels.template.paddingBottom=0;c.renderer.labels.template.rotation=315;c.renderer.labels.template.horizontalCenter="right";c.renderer.labels.template.verticalCenter="middle";c.renderer.grid.template.location=0}else{t.yAxes.push(c);c.renderer.labels.template.maxWidth=200;c.title.maxWidth=300;c.title.truncate=true;c.title.tooltipText="{text}";if(c.title.tooltip){c.title.tooltip.ignoreBounds=true}}if(s==="X2"||s==="Y2"){c.renderer.opposite=true}c.dataFields.category=a;c.cursorTooltipEnabled=false;c.renderer.labels.template.wrap=true;c.renderer.cellStartLocation=.1;c.renderer.cellEndLocation=.9;if(r&&r.length>0){c.title.text=r.join("\n");c.title.fontWeight="700"}return c}function i(t,n,a=[],r="X",s=55){const o=new e.DateAxis;o.id=n;if(r==="X"||r==="X2"){t.xAxes.push(o);o.title.marginTop=-15;o.renderer.minGridDistance=s;o.renderer.labels.template.maxWidth=110;o.renderer.labels.template.paddingBottom=0;o.renderer.labels.template.rotation=315;o.renderer.labels.template.horizontalCenter="right";o.renderer.labels.template.verticalCenter="middle";o.renderer.labels.template.dy=-16;o.renderer.labels.template.dx=8}else{t.yAxes.push(o);o.renderer.inversed=true;o.renderer.labels.template.maxWidth=200;o.title.maxWidth=300;o.title.truncate=true;o.title.tooltipText="{text}";if(o.title.tooltip){o.title.tooltip.ignoreBounds=true}}if(r==="X2"||r==="Y2"){o.renderer.opposite=true}o.cursorTooltipEnabled=false;o.renderer.labels.template.wrap=true;o.renderer.cellStartLocation=.1;o.renderer.cellEndLocation=.9;o.dateFormats.setKey("day","yyyy-MM-dd");o.periodChangeDateFormats.setKey("day","yyyy-MM-dd");o.periodChangeDateFormats.setKey("hour","yyyy-MM-dd");if(a&&a.length>0){o.title.text=a.join("\n");o.title.fontWeight="700"}return o}function u(t,n,a=[],r="Y"){const s=new e.ValueAxis;s.id=n;if(r==="X"||r==="X2"){t.xAxes.push(s)}else{t.yAxes.push(s);s.title.maxWidth=300;s.title.truncate=true;s.title.tooltipText="{text}";if(s.title.tooltip){s.title.tooltip.ignoreBounds=true}}if(r==="X2"||r==="Y2"){s.renderer.opposite=true}s.title.maxWidth=300;s.title.truncate=true;s.title.tooltipText="{text}";if(s.title.tooltip){s.title.tooltip.ignoreBounds=true}s.cursorTooltipEnabled=false;s.renderer.grid.template.strokeOpacity=0;if(a&&a.length>0){s.title.text=a.join("\n");s.title.fontWeight="700"}return s}function f(n,a,r,s,o,c,i,u){let f;switch(r){case"Area":case"StackedArea":case"Line":case"SmoothedLine":case"Step":case"ScatterPlot":const a=r==="Step"?n.series.push(new e.StepLineSeries):n.series.push(new e.LineSeries);a.strokeWidth=3;a.hideTooltip();if(r==="Area"||r==="StackedArea"){a.fillOpacity=.6;a.stacked=r==="StackedArea"}else if(r==="SmoothedLine"){a.tensionX=.77}else if(r==="ScatterPlot"){a.strokeOpacity=0}f=a;break;case"Column":case"StackedColumn":const s=n.series.push(new e.ColumnSeries);s.columns.template.width=t.percent(90);s.stacked=r==="StackedColumn";f=s;break}f.name=a;f.xAxis=s;console.log({xPropertyName:o,yPropertyName:i,xAxis:s,yAxis:c});if(s instanceof e.CategoryAxis){s.dataFields.category=o;f.dataFields.categoryX=o}else if(s instanceof e.DateAxis){f.dataFields.dateX=o}else{f.dataFields.valueX=o}f.yAxis=c;if(c instanceof e.CategoryAxis){f.dataFields.categoryY=i}else if(c instanceof e.DateAxis){f.dataFields.dateY=i}else{f.dataFields.valueY=i}m(f,r);console.log(f.dataFields);return f}function l(t,n="right"){t.legend=new e.Legend;t.legend.position=n;t.legend.align="left";t.legend.labels.template.truncate=false;t.legend.labels.template.wrap=true;t.legend.valueLabels.template.text=""}function d(n,a,r){let s;if(r==="ScatterPlot"){const e=a.bullets.push(new t.Circle);e.strokeOpacity=0;e.fillOpacity=.5;e.radius=4;e.hiddenState.properties.opacity=0;s=e}else if(r==="Area"||r==="Line"||r==="SmoothedLine"||r==="StackedArea"){const t=a.bullets.push(new e.CircleBullet);a.minBulletDistance=30;t.circle.radius=4;t.circle.strokeWidth=2;if(n.scrollbarX||n.scrollbarY){y(t,n)}s=t}else{return}const o=s.states.create("hover");o.properties.scale=1.3;m(a,r)}function y(e,t){e.adapter.add("dy",((e,n)=>{if(n.pixelX<0||n.pixelX>t.plotContainer.measuredWidth||n.pixelY<0||n.pixelY>t.plotContainer.measuredHeight){n.visible=false}else{n.visible=true}return e}))}function m(t,n){const a=t.xAxis instanceof e.CategoryAxis?"categoryX":t.xAxis instanceof e.DateAxis?"dateX":"valueX";const r=t.yAxis instanceof e.CategoryAxis?"categoryY":t.yAxis instanceof e.DateAxis?"dateY":"valueY";let s="[bold]{"+a+"}[/]\n{name}: {"+r+"}";if(n==="StackedColumn"||n==="StackedArea"){s="{name}: [bold]{"+r+"}[/]";if(r==="categoryY"&&a!=="categoryX"){s="{name}: [bold]{"+a+"}[/]"}}else if(r==="categoryY"&&a!=="categoryX"){s="[bold]{"+r+"}[/]\n{name}: {"+a+"}"}if(t.tooltip){t.tooltip.exportable=false}switch(n){case"Area":case"StackedArea":case"Line":case"SmoothedLine":case"Step":case"ScatterPlot":const e=t;if(n==="ScatterPlot"){let n=t.xAxis.title.text+":\n{"+a+"}\n\n";n+=t.yAxis.title.text+":\n{"+r+"}";const s=e.bullets.getIndex(0);if(s){e.cursorTooltipEnabled=false;s.tooltipText=n}}else{e.tooltipText=s}break;case"Column":case"StackedColumn":const o=t;o.tooltipText=s;break}}function h(n,r=false){n.radius=t.percent(65);n.chartContainer.resizable=true;n.chartContainer.width=t.percent(100);n.svgContainer.autoResize=true;n.height=t.percent(100);n.width=t.percent(100);n.responsive.enabled=true;n.responsive.rules.push({relevant:function(e){if(e.pixelWidth<=600){return true}return false},state:function(t,n){if(t instanceof e.PieSeries){const e=t.states.create(n);const a=t.labels.template.states.create(n);a.properties.disabled=true;const r=t.ticks.template.states.create(n);r.properties.disabled=true;return e}}});n.responsive.rules.push({relevant:function(e){if(e.pixelWidth>600){return true}return false},state:function(t,n){if(t instanceof e.Legend&&!r){const e=t.states.create(n);e.properties.disabled=true;return e}}});n.events.on("sizechanged",(function(){if(n.pixelWidth<=600){n.radius=t.percent(80)}else{const e=Math.min(n.pixelHeight,n.pixelWidth);const r=a*2;const s=n.pixelWidth-r;const o=100*(s/e);n.radius=t.percent(Math.min(o,80))}}))}function S(t,n,r,o=true,c,i){const u=t.series.push(new e.PieSeries);u.ignoreZeroValues=o?true:false;u.dataFields.category=n;u.dataFields.value=r;u.labels.template.maxWidth=a;u.labels.template.wrap=true;if(c||i){u.slices.template.events.once("inited",(function(e){const t=s(n,c,i,e.target.dataItem.dataContext);e.target.fill=t;e.target.stroke=t}))}p(u)}function p(e){e.slices.template.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})"}function v(t,n="right"){t.legend=new e.Legend;t.legend.position=n;t.legend.labels.template.truncate=false;t.legend.labels.template.wrap=true}function g(e,n,a,r,s,o,c,i){e.height=t.percent(100);e.paddingRight=s;e.paddingTop=20;e.dataFields.fromName=a;e.dataFields.toName=r;e.dataFields.value=n;e.nodes.template.nameLabel.label.hideOversized=true;e.nodes.template.nameLabel.label.text=o;e.nodes.template.tooltipText=i;e.links.template.tooltipText=c;e.nodes.template.nameLabel.label.wrap=true;e.nodes.template.propertyFields.hidden="disabled";e.minNodeSize=1e-4;e.nodePadding=1;e.links.template.minWidth=1}export{g as a,o as b,u as c,i as d,c as e,f,d as g,l as h,v as i,h as j,S as k,n as p,r as s};
2
- //# sourceMappingURL=chartUtils-DqjnIahA.js.map
1
+ import*as e from"@amcharts/amcharts4/charts";import*as t from"@amcharts/amcharts4/core";function n(e){if(typeof e==="number"){return e}if(typeof e!=="string"){return null}e=e.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").trim();if(e===""){return null}const t=parseInt(e,10);if(!isNaN(t)&&t.toString()===e){return t}const n=parseFloat(e);if(!isNaN(n)&&n.toString()===e){return n}return null}const a=200;function r(e,n,a=false){var r,s;t.addLicense("CH98568001");e.responsive.enabled=true;if(a){e.exportable=true;e.exporting.menu=new t.ExportMenu;e.exporting.menu.container=n;e.exporting.menu.align="right";e.exporting.menu.verticalAlign="top"}const o=Intl.DateTimeFormat().resolvedOptions().locale;const c=Intl.NumberFormat().resolvedOptions().locale;e.dateFormatter.dateFormat="yyyy-MM-dd HH:mm:ss";e.dateFormatter.intlLocales=o;e.numberFormatter.intlLocales=c;const i=(r=.1.toLocaleString().charAt(1))!==null&&r!==void 0?r:".";const u=(s=1e4.toLocaleString().charAt(2))!==null&&s!==void 0?s:",";e.language.locale["_decimalSeparator"]=isNaN(parseInt(i))?i:".";e.language.locale["_thousandSeparator"]=isNaN(parseInt(u))?u:",";if(e===null||e===void 0?void 0:e.logo){e.logo.disabled=true}}function s(e,n,a,r){if(a){const e=a(r);return e?t.color(e):null}else{return(n===null||n===void 0?void 0:n[r[e]])?t.color(n===null||n===void 0?void 0:n[r[e]]):null}}function o(t){t.maskBullets=false;t.cursor=new e.XYCursor;t.cursor.exportable=false;t.cursor.lineX.strokeOpacity=0;t.cursor.lineY.strokeOpacity=0;t.cursor.behavior="none";t.cursor.maxTooltipDistance=10}function c(t,n,a,r=[],s="X",o=60){const c=new e.CategoryAxis;c.id=n;if(s==="X"||s==="X2"){t.xAxes.push(c);c.renderer.minGridDistance=o;c.renderer.labels.template.maxWidth=110;c.renderer.labels.template.paddingBottom=0;c.renderer.labels.template.rotation=315;c.renderer.labels.template.horizontalCenter="right";c.renderer.labels.template.verticalCenter="middle";c.renderer.grid.template.location=0}else{t.yAxes.push(c);c.renderer.labels.template.maxWidth=200;c.title.maxWidth=300;c.title.truncate=true;c.title.tooltipText="{text}";if(c.title.tooltip){c.title.tooltip.ignoreBounds=true}}if(s==="X2"||s==="Y2"){c.renderer.opposite=true}c.dataFields.category=a;c.cursorTooltipEnabled=false;c.renderer.labels.template.wrap=true;c.renderer.cellStartLocation=.1;c.renderer.cellEndLocation=.9;if(r&&r.length>0){c.title.text=r.join("\n");c.title.fontWeight="700"}return c}function i(t,n,a=[],r="X",s=55){const o=new e.DateAxis;o.id=n;if(r==="X"||r==="X2"){t.xAxes.push(o);o.title.marginTop=-15;o.renderer.minGridDistance=s;o.renderer.labels.template.maxWidth=110;o.renderer.labels.template.paddingBottom=0;o.renderer.labels.template.rotation=315;o.renderer.labels.template.horizontalCenter="right";o.renderer.labels.template.verticalCenter="middle";o.renderer.labels.template.dy=-16;o.renderer.labels.template.dx=8}else{t.yAxes.push(o);o.renderer.inversed=true;o.renderer.labels.template.maxWidth=200;o.title.maxWidth=300;o.title.truncate=true;o.title.tooltipText="{text}";if(o.title.tooltip){o.title.tooltip.ignoreBounds=true}}if(r==="X2"||r==="Y2"){o.renderer.opposite=true}o.cursorTooltipEnabled=false;o.renderer.labels.template.wrap=true;o.renderer.cellStartLocation=.1;o.renderer.cellEndLocation=.9;o.dateFormats.setKey("day","yyyy-MM-dd");o.periodChangeDateFormats.setKey("day","yyyy-MM-dd");o.periodChangeDateFormats.setKey("hour","yyyy-MM-dd");if(a&&a.length>0){o.title.text=a.join("\n");o.title.fontWeight="700"}return o}function u(t,n,a=[],r="Y"){const s=new e.ValueAxis;s.id=n;if(r==="X"||r==="X2"){t.xAxes.push(s)}else{t.yAxes.push(s);s.title.maxWidth=300;s.title.truncate=true;s.title.tooltipText="{text}";if(s.title.tooltip){s.title.tooltip.ignoreBounds=true}}if(r==="X2"||r==="Y2"){s.renderer.opposite=true}s.title.maxWidth=300;s.title.truncate=true;s.title.tooltipText="{text}";if(s.title.tooltip){s.title.tooltip.ignoreBounds=true}s.cursorTooltipEnabled=false;s.renderer.grid.template.strokeOpacity=0;if(a&&a.length>0){s.title.text=a.join("\n");s.title.fontWeight="700"}return s}function f(n,a,r,s,o,c,i,u){let f;switch(r){case"Area":case"StackedArea":case"Line":case"SmoothedLine":case"Step":case"ScatterPlot":const a=r==="Step"?n.series.push(new e.StepLineSeries):n.series.push(new e.LineSeries);a.strokeWidth=3;a.hideTooltip();if(r==="Area"||r==="StackedArea"){a.fillOpacity=.6;a.stacked=r==="StackedArea"}else if(r==="SmoothedLine"){a.tensionX=.77}else if(r==="ScatterPlot"){a.strokeOpacity=0}f=a;break;case"Column":case"StackedColumn":const s=n.series.push(new e.ColumnSeries);s.columns.template.width=t.percent(90);s.stacked=r==="StackedColumn";f=s;break}f.name=a;f.xAxis=s;console.log({xPropertyName:o,yPropertyName:i,xAxis:s,yAxis:c});if(s instanceof e.CategoryAxis){s.dataFields.category=o;f.dataFields.categoryX=o}else if(s instanceof e.DateAxis){f.dataFields.dateX=o}else{f.dataFields.valueX=o}f.yAxis=c;if(c instanceof e.CategoryAxis){f.dataFields.categoryY=i}else if(c instanceof e.DateAxis){f.dataFields.dateY=i}else{f.dataFields.valueY=i}m(f,r);console.log(f.dataFields);return f}function l(t,n="right"){t.legend=new e.Legend;t.legend.position=n;t.legend.align="left";t.legend.labels.template.truncate=false;t.legend.labels.template.wrap=true;t.legend.valueLabels.template.text=""}function d(n,a,r){let s;if(r==="ScatterPlot"){const e=a.bullets.push(new t.Circle);e.strokeOpacity=0;e.fillOpacity=.5;e.radius=4;e.hiddenState.properties.opacity=0;s=e}else if(r==="Area"||r==="Line"||r==="SmoothedLine"||r==="StackedArea"){const t=a.bullets.push(new e.CircleBullet);a.minBulletDistance=30;t.circle.radius=4;t.circle.strokeWidth=2;if(n.scrollbarX||n.scrollbarY){y(t,n)}s=t}else{return}const o=s.states.create("hover");o.properties.scale=1.3;m(a,r)}function y(e,t){e.adapter.add("dy",((e,n)=>{if(n.pixelX<0||n.pixelX>t.plotContainer.measuredWidth||n.pixelY<0||n.pixelY>t.plotContainer.measuredHeight){n.visible=false}else{n.visible=true}return e}))}function m(t,n){const a=t.xAxis instanceof e.CategoryAxis?"categoryX":t.xAxis instanceof e.DateAxis?"dateX":"valueX";const r=t.yAxis instanceof e.CategoryAxis?"categoryY":t.yAxis instanceof e.DateAxis?"dateY":"valueY";let s="[bold]{"+a+"}[/]\n{name}: {"+r+"}";if(n==="StackedColumn"||n==="StackedArea"){s="{name}: [bold]{"+r+"}[/]";if(r==="categoryY"&&a!=="categoryX"){s="{name}: [bold]{"+a+"}[/]"}}else if(r==="categoryY"&&a!=="categoryX"){s="[bold]{"+r+"}[/]\n{name}: {"+a+"}"}if(t.tooltip){t.tooltip.exportable=false}switch(n){case"Area":case"StackedArea":case"Line":case"SmoothedLine":case"Step":case"ScatterPlot":const e=t;if(n==="ScatterPlot"){let n=t.xAxis.title.text+":\n{"+a+"}\n\n";n+=t.yAxis.title.text+":\n{"+r+"}";const s=e.bullets.getIndex(0);if(s){e.cursorTooltipEnabled=false;s.tooltipText=n}}else{e.tooltipText=s}break;case"Column":case"StackedColumn":const o=t;o.tooltipText=s;break}}function h(n,r=false){n.radius=t.percent(65);n.chartContainer.resizable=true;n.chartContainer.width=t.percent(100);n.svgContainer.autoResize=true;n.height=t.percent(100);n.width=t.percent(100);n.responsive.enabled=true;n.responsive.rules.push({relevant:function(e){if(e.pixelWidth<=600){return true}return false},state:function(t,n){if(t instanceof e.PieSeries){const e=t.states.create(n);const a=t.labels.template.states.create(n);a.properties.disabled=true;const r=t.ticks.template.states.create(n);r.properties.disabled=true;return e}}});n.responsive.rules.push({relevant:function(e){if(e.pixelWidth>600){return true}return false},state:function(t,n){if(t instanceof e.Legend&&!r){const e=t.states.create(n);e.properties.disabled=true;return e}}});n.events.on("sizechanged",(function(){if(n.pixelWidth<=600){n.radius=t.percent(80)}else{const e=Math.min(n.pixelHeight,n.pixelWidth);const r=a*2;const s=n.pixelWidth-r;const o=100*(s/e);n.radius=t.percent(Math.min(o,80))}}))}function S(t,n,r,o=true,c,i){const u=t.series.push(new e.PieSeries);u.ignoreZeroValues=o?true:false;u.dataFields.category=n;u.dataFields.value=r;u.labels.template.maxWidth=a;u.labels.template.wrap=true;if(c||i){u.slices.template.events.once("inited",(function(e){const t=s(n,c,i,e.target.dataItem.dataContext);e.target.fill=t;e.target.stroke=t}))}p(u)}function p(e){e.slices.template.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})"}function v(t,n="right"){t.legend=new e.Legend;t.legend.position=n;t.legend.labels.template.truncate=false;t.legend.labels.template.wrap=true}function g(e,n,a,r,s,o,c,i){e.height=t.percent(100);e.paddingRight=s;e.paddingTop=20;e.dataFields.fromName=a;e.dataFields.toName=r;e.dataFields.value=n;e.nodes.template.nameLabel.label.hideOversized=true;e.nodes.template.nameLabel.label.text=o;e.nodes.template.tooltipText=i;e.links.template.tooltipText=c;e.nodes.template.nameLabel.label.wrap=true;e.nodes.template.propertyFields.hidden="disabled";e.minNodeSize=1e-4;e.nodePadding=1;e.links.template.minWidth=1}export{g as a,o as b,u as c,i as d,c as e,f,d as g,v as h,h as i,S as j,l as k,n as p,r as s};
2
+ //# sourceMappingURL=chartUtils-DFIyEsL1.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chartUtils-DqjnIahA.js","sources":["src/components/my-component/UI/charts/chartUtils.ts"],"sourcesContent":["import * as am4charts from '@amcharts/amcharts4/charts';\nimport * as am4core from '@amcharts/amcharts4/core';\n\nexport function parseValueToNumber(input: any): number | null {\n // If input is already a number, return it directly\n if (typeof input === 'number') {\n return input;\n }\n\n // If input is not a string, return null\n if (typeof input !== 'string') {\n return null;\n }\n\n // Remove leading and trailing special characters\n input = input.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g, '').trim();\n\n if (input === '') {\n return null;\n }\n\n // Try to parse as integer\n const intValue = parseInt(input, 10);\n if (!isNaN(intValue) && intValue.toString() === input) {\n return intValue;\n }\n\n // Try to parse as float\n const floatValue = parseFloat(input);\n if (!isNaN(floatValue) && floatValue.toString() === input) {\n return floatValue;\n }\n\n // If parsing fails, return null\n return null;\n}\n\nexport const parseValueToNumberMultiSeries = (yFields: { fieldName: string; fieldLabel: string }[], rowData: { [key: string]: string }) => {\n const yFieldsData = {};\n\n for (let yField of yFields) {\n yFieldsData[yField.fieldName] = parseValueToNumber(rowData?.[yField.fieldName]);\n }\n\n return yFieldsData;\n};\n\nconst PIE_LABEL_MAX_WIDTH = 200;\n\n/**\n * An AmCharts theme that uses colors from the\n * supplied material UI theme for Unity.\n * @param theme The theme to use.\n * @returns A function that AmCharts uses to set the theme.\n */\nexport function am4themes_unity(theme: any) {\n const themeColors: am4core.Color[] = [];\n\n themeColors.push(am4core.color(theme.palette.primary.main));\n themeColors.push(am4core.color(theme.palette.secondary.main));\n themeColors.push(am4core.color(theme.palette.primary.light));\n themeColors.push(am4core.color(theme.palette.secondary.light));\n\n return target => {\n if (target instanceof am4core.ColorSet) {\n target.list = themeColors;\n }\n };\n}\n\n/**\n * Sets default settings for all chart types.\n * @param chart A chart\n */\nexport function setChartDefaultSettings(chart: am4charts.Chart, chartContainer: HTMLElement, exportable = false) {\n am4core.addLicense('CH98568001');\n chart.responsive.enabled = true;\n if (exportable) {\n chart.exportable = true;\n chart.exporting.menu = new am4core.ExportMenu();\n chart.exporting.menu.container = chartContainer;\n chart.exporting.menu.align = 'right';\n chart.exporting.menu.verticalAlign = 'top';\n }\n\n const dateLocale = Intl.DateTimeFormat().resolvedOptions().locale;\n const numberLocale = Intl.NumberFormat().resolvedOptions().locale;\n\n chart.dateFormatter.dateFormat = 'yyyy-MM-dd HH:mm:ss';\n chart.dateFormatter.intlLocales = dateLocale;\n chart.numberFormatter.intlLocales = numberLocale;\n\n // TODO: not sure if this works for all locales. try using Intl\n const _decimalSeparator = (0.1).toLocaleString().charAt(1) ?? '.';\n const _thousandSeparator = (10000).toLocaleString().charAt(2) ?? ',';\n chart.language.locale['_decimalSeparator'] = isNaN(parseInt(_decimalSeparator)) ? _decimalSeparator : '.';\n chart.language.locale['_thousandSeparator'] = isNaN(parseInt(_thousandSeparator)) ? _thousandSeparator : ',';\n if (chart?.logo) {\n chart.logo.disabled = true;\n }\n}\n\nexport function specifyColor(descriptionPropertyName: string, colorList?: { [key: string]: string }, getColor?: (data: any) => string, dataContext?: Object) {\n if (getColor) {\n const currentColor = getColor(dataContext);\n\n return currentColor ? am4core.color(currentColor) : null;\n } else {\n return colorList?.[dataContext[descriptionPropertyName]] ? am4core.color(colorList?.[dataContext[descriptionPropertyName]]) : null;\n }\n}\n\n//#region XY Chart\n/**\n * Sets default settings for XYCharts.\n * @param xyChart The XYChart.\n * @param titles The title(s) for the chart.\n */\nexport function setXYChartDefaultSettings(xyChart: am4charts.XYChart) {\n // Don't cutoff bullets\n xyChart.maskBullets = false;\n\n xyChart.cursor = new am4charts.XYCursor();\n xyChart.cursor.exportable = false;\n xyChart.cursor.lineX.strokeOpacity = 0;\n xyChart.cursor.lineY.strokeOpacity = 0;\n //Don't zoom if the user drags to select with the mouse\n xyChart.cursor.behavior = 'none';\n //Only show tooltips if the nearest tooltip is within a 10px radius\n xyChart.cursor.maxTooltipDistance = 10;\n}\n\n/**\n * Set title(s) to label the top of an XYChart.\n * @param xyChart The chart to add title(s) to.\n * @param titles An array of titles. The first title\n * in the array will be the topmost and bolded.\n */\nexport function setXYChartTitles(xyChart: am4charts.XYChart, titles: string[]) {\n titles = typeof titles !== 'undefined' && titles !== null && titles.length > 0 ? titles : [];\n\n // Clear old title(s)\n const oldLabels: am4core.Label[] = [];\n const children = xyChart.topAxesContainer.children;\n for (let i = 0; i < children.length; i++) {\n if (children.getIndex(i) instanceof am4core.Label) {\n oldLabels.push(children.getIndex(i) as am4core.Label);\n }\n }\n oldLabels.forEach(label => children.removeValue(label));\n\n for (let i = 0; i < titles.length; i++) {\n const nextTitle = xyChart.topAxesContainer.createChild(am4core.Label) as am4core.Label;\n nextTitle.text = titles[i];\n\n if (i === 0) {\n nextTitle.fontWeight = '700';\n nextTitle.align = 'center';\n }\n\n if (i === titles.length - 1) {\n nextTitle.marginBottom = 8;\n }\n }\n}\n\n/**\n * Adds a category axis to the chart. Use this axis for\n * string \"categories\" along the axis.\n * @param xyChart The chart to add an axis to.\n * @param id The unique id for this axis.\n * @param field The field in the data to use for this axis.\n * @param titles The axis title(s).\n * @param position The position of this axis on the chart.\n * A category axis is usually positioned on the X-axis.\n * @param distBetweenGridLines The distance between grid lines\n * in a chart. Smaller values increase the number of grid lines\n * and therefore, allows more data labels to be displayed.\n * @returns The newly-created category axis.\n */\nexport function addXYCategoryAxis(xyChart: am4charts.XYChart, id: string, field: string, titles: string[] = [], position: XYAxisPosition = 'X', distBetweenGridLines = 60) {\n const categoryAxis = new am4charts.CategoryAxis();\n categoryAxis.id = id;\n\n if (position === 'X' || position === 'X2') {\n xyChart.xAxes.push(categoryAxis);\n categoryAxis.renderer.minGridDistance = distBetweenGridLines;\n categoryAxis.renderer.labels.template.maxWidth = 110;\n categoryAxis.renderer.labels.template.paddingBottom = 0;\n categoryAxis.renderer.labels.template.rotation = 315;\n categoryAxis.renderer.labels.template.horizontalCenter = 'right';\n categoryAxis.renderer.labels.template.verticalCenter = 'middle';\n categoryAxis.renderer.grid.template.location = 0;\n } else {\n xyChart.yAxes.push(categoryAxis);\n categoryAxis.renderer.labels.template.maxWidth = 200;\n categoryAxis.title.maxWidth = 300;\n categoryAxis.title.truncate = true;\n categoryAxis.title.tooltipText = '{text}';\n if (categoryAxis.title.tooltip) {\n categoryAxis.title.tooltip.ignoreBounds = true;\n }\n }\n\n // Swap from the bottom of chart to the top, or from left to right\n if (position === 'X2' || position === 'Y2') {\n categoryAxis.renderer.opposite = true;\n }\n categoryAxis.dataFields.category = field;\n categoryAxis.cursorTooltipEnabled = false;\n categoryAxis.renderer.labels.template.wrap = true;\n categoryAxis.renderer.cellStartLocation = 0.1;\n categoryAxis.renderer.cellEndLocation = 0.9;\n\n if (titles && titles.length > 0) {\n categoryAxis.title.text = titles.join('\\n');\n categoryAxis.title.fontWeight = '700';\n }\n\n return categoryAxis;\n}\n\n/**\n * Adds a date axis to the chart. Use this axis to\n * let AmCharts handle dates along the axis.\n * Note: If the dates in the data are in string format, you should\n * convert them to Date objects first, or set\n * dateFormatter.inputDateFormat = <the format, eg: \"yyyy-MM-ddThh:mm:ss\">\n * on the returned DateAxis object.\n * @param xyChart The chart to add an axis to.\n * @param id The unique id for this axis.\n * @param titles The axis title(s).\n * @param position The position of this axis on the chart.\n * A date axis is usually positioned on the X-axis.\n * @param distBetweenGridLines The distance between grid lines\n * in a chart. Smaller values increase the number of grid lines\n * and therefore, allows more data labels to be displayed.\n * @returns\n */\nexport function addXYDateAxis(xyChart: am4charts.XYChart, id: string, titles: string[] = [], position: XYAxisPosition = 'X', distBetweenGridLines = 55) {\n const dateAxis = new am4charts.DateAxis();\n dateAxis.id = id;\n\n if (position === 'X' || position === 'X2') {\n xyChart.xAxes.push(dateAxis);\n dateAxis.title.marginTop = -15;\n dateAxis.renderer.minGridDistance = distBetweenGridLines;\n dateAxis.renderer.labels.template.maxWidth = 110;\n dateAxis.renderer.labels.template.paddingBottom = 0;\n dateAxis.renderer.labels.template.rotation = 315;\n dateAxis.renderer.labels.template.horizontalCenter = 'right';\n dateAxis.renderer.labels.template.verticalCenter = 'middle';\n dateAxis.renderer.labels.template.dy = -16;\n dateAxis.renderer.labels.template.dx = 8;\n } else {\n xyChart.yAxes.push(dateAxis);\n dateAxis.renderer.inversed = true;\n dateAxis.renderer.labels.template.maxWidth = 200;\n dateAxis.title.maxWidth = 300;\n dateAxis.title.truncate = true;\n dateAxis.title.tooltipText = '{text}';\n if (dateAxis.title.tooltip) {\n dateAxis.title.tooltip.ignoreBounds = true;\n }\n }\n\n // Swap from the bottom of chart to the top, or from left to right\n if (position === 'X2' || position === 'Y2') {\n dateAxis.renderer.opposite = true;\n }\n\n dateAxis.cursorTooltipEnabled = false;\n dateAxis.renderer.labels.template.wrap = true;\n dateAxis.renderer.cellStartLocation = 0.1;\n dateAxis.renderer.cellEndLocation = 0.9;\n\n // todo get user's locale for proper format\n dateAxis.dateFormats.setKey('day', 'yyyy-MM-dd');\n dateAxis.periodChangeDateFormats.setKey('day', 'yyyy-MM-dd');\n dateAxis.periodChangeDateFormats.setKey('hour', 'yyyy-MM-dd');\n\n if (titles && titles.length > 0) {\n dateAxis.title.text = titles.join('\\n');\n dateAxis.title.fontWeight = '700';\n }\n\n return dateAxis;\n}\n\n/**\n * Adds a value axis to the chart. Use this axis\n * to display numeric values.\n * @param xyChart The chart to add an axis to.\n * @param id The unique id for this axis.\n * @param titles The axis title(s).\n * @param position The position of this axis on the chart.\n * A value axis is usually positioned on the Y-axis.\n * @returns The newly-created value axis.\n */\nexport function addXYValueAxis(xyChart: am4charts.XYChart, id: string, titles: string[] = [], position: XYAxisPosition = 'Y') {\n const valueAxis = new am4charts.ValueAxis();\n valueAxis.id = id;\n\n if (position === 'X' || position === 'X2') {\n xyChart.xAxes.push(valueAxis);\n } else {\n xyChart.yAxes.push(valueAxis);\n valueAxis.title.maxWidth = 300;\n valueAxis.title.truncate = true;\n valueAxis.title.tooltipText = '{text}';\n if (valueAxis.title.tooltip) {\n valueAxis.title.tooltip.ignoreBounds = true;\n }\n }\n\n // Swap from the bottom of chart to the top, or from left to right\n if (position === 'X2' || position === 'Y2') {\n valueAxis.renderer.opposite = true;\n }\n\n valueAxis.title.maxWidth = 300;\n valueAxis.title.truncate = true;\n valueAxis.title.tooltipText = '{text}';\n if (valueAxis.title.tooltip) {\n valueAxis.title.tooltip.ignoreBounds = true;\n }\n valueAxis.cursorTooltipEnabled = false;\n valueAxis.renderer.grid.template.strokeOpacity = 0;\n\n if (titles && titles.length > 0) {\n valueAxis.title.text = titles.join('\\n');\n valueAxis.title.fontWeight = '700';\n }\n\n return valueAxis;\n}\n\n/**\n * Adds a series to an XYChart.\n * @param xyChart The chart to add a series of data to.\n * @param name The name of this series to display to the user.\n * @param seriesType The type of series to create.\n * @param xAxis The x-axis to plot this series on.\n * @param xPropertyName The name of the property in the data to use\n * for plotting data on the x-axis.\n * @param yAxis The y-axis to plot this series data on.\n * @param yPropertyName The name of the property in the data to use\n * for plotting data on the y-axis.\n * @returns The newly-created series.\n */\nexport function addXYSeries(\n xyChart: am4charts.XYChart,\n name: string,\n seriesType: XYSeriesTypes,\n xAxis: am4charts.CategoryAxis | am4charts.DateAxis | am4charts.ValueAxis,\n xPropertyName: string,\n yAxis: am4charts.CategoryAxis | am4charts.DateAxis | am4charts.ValueAxis,\n yPropertyName: string,\n showBullets?: boolean,\n) {\n let xySeries: am4charts.XYSeries;\n switch (seriesType) {\n case 'Area':\n case 'StackedArea':\n case 'Line':\n case 'SmoothedLine':\n case 'Step':\n case 'ScatterPlot':\n const lineSeries = seriesType === 'Step' ? xyChart.series.push(new am4charts.StepLineSeries()) : xyChart.series.push(new am4charts.LineSeries());\n lineSeries.strokeWidth = 3;\n lineSeries.hideTooltip();\n\n if (seriesType === 'Area' || seriesType === 'StackedArea') {\n lineSeries.fillOpacity = 0.6;\n lineSeries.stacked = seriesType === 'StackedArea';\n } else if (seriesType === 'SmoothedLine') {\n lineSeries.tensionX = 0.77;\n } else if (seriesType === 'ScatterPlot') {\n lineSeries.strokeOpacity = 0;\n }\n\n xySeries = lineSeries;\n break;\n case 'Column':\n case 'StackedColumn':\n const columnSeries = xyChart.series.push(new am4charts.ColumnSeries());\n\n columnSeries.columns.template.width = am4core.percent(90);\n columnSeries.stacked = seriesType === 'StackedColumn';\n xySeries = columnSeries;\n break;\n }\n\n xySeries.name = name;\n xySeries.xAxis = xAxis;\n console.log({ xPropertyName, yPropertyName, xAxis, yAxis });\n if (xAxis instanceof am4charts.CategoryAxis) {\n xAxis.dataFields.category = xPropertyName; // Category Axes require a field name too\n xySeries.dataFields.categoryX = xPropertyName;\n } else if (xAxis instanceof am4charts.DateAxis) {\n xySeries.dataFields.dateX = xPropertyName;\n } else {\n xySeries.dataFields.valueX = xPropertyName;\n }\n\n xySeries.yAxis = yAxis;\n if (yAxis instanceof am4charts.CategoryAxis) {\n xySeries.dataFields.categoryY = yPropertyName;\n } else if (yAxis instanceof am4charts.DateAxis) {\n xySeries.dataFields.dateY = yPropertyName;\n } else {\n xySeries.dataFields.valueY = yPropertyName;\n }\n\n addXYSeriesTooltipText(xySeries, seriesType);\n\n if (showBullets) {\n addXYSeriesBullets(xyChart, xySeries, seriesType);\n }\n console.log(xySeries.dataFields);\n\n return xySeries;\n}\n\n/**\n * Adds a legend to an XYChart.\n * @param xyChart The XYChart to add a legend to.\n */\nexport function addXYLegend(xyChart: am4charts.XYChart, position: 'left' | 'right' | 'top' | 'bottom' = 'right') {\n xyChart.legend = new am4charts.Legend();\n xyChart.legend.position = position;\n xyChart.legend.align = 'left';\n xyChart.legend.labels.template.truncate = false;\n xyChart.legend.labels.template.wrap = true;\n xyChart.legend.valueLabels.template.text = ''; // Don't show the highlighted point's value when using the chart cursor option\n}\n\n/**\n * Adds a scrollbar to the top of an XYChart that\n * allows the user to zoom in and out of the data.\n * @param xyChart The chart to add a zoom scrollbar to.\n * @param series Any series provided here, if any, will be\n * displayed in the zoom scrollbar.\n * @returns The newly-created zoom scrollbar.\n */\nexport function addXYZoomScrollbar(xyChart: am4charts.XYChart, series: am4charts.XYSeries[] = []) {\n let zoomScrollbar: am4core.Scrollbar;\n\n if (series && series.length > 0) {\n zoomScrollbar = new am4charts.XYChartScrollbar();\n\n for (let i = 0; i < series.length; i++) {\n (zoomScrollbar as am4charts.XYChartScrollbar).series.push(series[i]);\n }\n\n const scrollbarXAxis = (zoomScrollbar as am4charts.XYChartScrollbar).scrollbarChart.xAxes.getIndex(0);\n if (scrollbarXAxis) {\n scrollbarXAxis.renderer.labels.template.disabled = true;\n scrollbarXAxis.renderer.grid.template.disabled = true;\n }\n } else {\n zoomScrollbar = new am4core.Scrollbar();\n }\n\n xyChart.scrollbarX = zoomScrollbar;\n zoomScrollbar.exportable = false;\n\n xyChart.series.each(s => {\n const bullet = s.bullets?.getIndex(0);\n if (bullet) {\n addXYBulletAdapter(bullet, xyChart);\n }\n });\n\n return zoomScrollbar;\n}\n\n/**\n * Add bullets to an XYSeries. Has no effect on column-based\n * charts.\n * @param xyChart The chart containing the series.\n * @param series The series to add bullets to.\n * @param seriesType The type of the series.\n * @returns\n */\nexport function addXYSeriesBullets(xyChart: am4charts.XYChart, series: am4charts.XYSeries, seriesType: XYSeriesTypes) {\n let bulletSprite: am4core.Sprite;\n\n if (seriesType === 'ScatterPlot') {\n const bullet = series.bullets.push(new am4core.Circle());\n bullet.strokeOpacity = 0;\n bullet.fillOpacity = 0.5;\n bullet.radius = 4;\n bullet.hiddenState.properties.opacity = 0;\n\n bulletSprite = bullet;\n } else if (seriesType === 'Area' || seriesType === 'Line' || seriesType === 'SmoothedLine' || seriesType === 'StackedArea') {\n const bullet = series.bullets.push(new am4charts.CircleBullet());\n // Only show bullets if at least 30px available between each\n series.minBulletDistance = 30;\n bullet.circle.radius = 4;\n bullet.circle.strokeWidth = 2;\n\n if (xyChart.scrollbarX || xyChart.scrollbarY) {\n addXYBulletAdapter(bullet, xyChart);\n }\n\n bulletSprite = bullet;\n } else {\n return;\n }\n\n // Bullets grow on hover\n const bulletHover = bulletSprite.states.create('hover');\n bulletHover.properties.scale = 1.3;\n\n // Re-add tooltip text as some series types need tooltips on bullets\n addXYSeriesTooltipText(series, seriesType);\n}\n\n/**\n * When a user zooms a chart, bullets can draw outside the plot\n * area, so we have to manually fix this with this adapter.\n * @param bullet The bullet instance.\n * @param xyChart The chart containing the series with the bullet instance.\n */\nfunction addXYBulletAdapter(bullet: am4core.Sprite, xyChart: am4charts.XYChart) {\n bullet.adapter.add('dy', (dy, b) => {\n if (b.pixelX < 0 || b.pixelX > xyChart.plotContainer.measuredWidth || b.pixelY < 0 || b.pixelY > xyChart.plotContainer.measuredHeight) {\n b.visible = false;\n } else {\n b.visible = true;\n }\n return dy;\n });\n}\n\n/**\n * Adds a standard tooltip to an XYChart series.\n * @param series The series to add a tooltip to.\n * @param seriesType The type of the series.\n */\nfunction addXYSeriesTooltipText(series: am4charts.XYSeries, seriesType: XYSeriesTypes) {\n const xField = series.xAxis instanceof am4charts.CategoryAxis ? 'categoryX' : series.xAxis instanceof am4charts.DateAxis ? 'dateX' : 'valueX';\n const yField = series.yAxis instanceof am4charts.CategoryAxis ? 'categoryY' : series.yAxis instanceof am4charts.DateAxis ? 'dateY' : 'valueY';\n\n let standardXYTooltip = '[bold]{' + xField + '}[/]\\n{name}: {' + yField + '}';\n if (seriesType === 'StackedColumn' || seriesType === 'StackedArea') {\n standardXYTooltip = '{name}: [bold]{' + yField + '}[/]';\n if (yField === 'categoryY' && xField !== 'categoryX') {\n standardXYTooltip = '{name}: [bold]{' + xField + '}[/]';\n }\n } else if (yField === 'categoryY' && xField !== 'categoryX') {\n standardXYTooltip = '[bold]{' + yField + '}[/]\\n{name}: {' + xField + '}';\n }\n\n if (series.tooltip) {\n series.tooltip.exportable = false;\n }\n\n switch (seriesType) {\n case 'Area':\n case 'StackedArea':\n case 'Line':\n case 'SmoothedLine':\n case 'Step':\n case 'ScatterPlot':\n const lineSeries = series as am4charts.LineSeries;\n\n if (seriesType === 'ScatterPlot') {\n let tooltipText = series.xAxis.title.text + ':\\n{' + xField + '}\\n\\n';\n tooltipText += series.yAxis.title.text + ':\\n{' + yField + '}';\n const lineBullet = lineSeries.bullets.getIndex(0) as am4charts.CircleBullet;\n if (lineBullet) {\n lineSeries.cursorTooltipEnabled = false;\n lineBullet.tooltipText = tooltipText;\n }\n } else {\n lineSeries.tooltipText = standardXYTooltip;\n }\n break;\n case 'Column':\n case 'StackedColumn':\n const columnSeries = series as am4charts.ColumnSeries;\n\n columnSeries.tooltipText = standardXYTooltip;\n break;\n }\n}\n//#endregion\n\n//#region Pie Chart\n/**\n * The default settings for a pie chart.\n * @param pieChart The pie chart to set defaults on.\n */\nexport function setPieChartDefaultSettings(pieChart: am4charts.PieChart, useLegend = false) {\n pieChart.radius = am4core.percent(65);\n\n pieChart.chartContainer.resizable = true;\n pieChart.chartContainer.width = am4core.percent(100);\n pieChart.svgContainer.autoResize = true;\n pieChart.height = am4core.percent(100);\n pieChart.width = am4core.percent(100);\n\n /**\n * Hide labels when the available width is too small\n */\n pieChart.responsive.enabled = true;\n pieChart.responsive.rules.push({\n relevant: function (target) {\n if (target.pixelWidth <= 600) {\n return true;\n }\n return false;\n },\n state: function (target, stateId) {\n if (target instanceof am4charts.PieSeries) {\n const state = target.states.create(stateId);\n\n const labelState = target.labels.template.states.create(stateId);\n labelState.properties.disabled = true;\n\n const tickState = target.ticks.template.states.create(stateId);\n tickState.properties.disabled = true;\n return state;\n }\n },\n });\n\n // A PieChart component always has a legend object.\n // However, if useLegend = false, then the legend only\n // appears when the size of the PieChart is below a\n // certain threshold.\n pieChart.responsive.rules.push({\n relevant: function (target) {\n if (target.pixelWidth > 600) {\n return true;\n }\n return false;\n },\n state: function (target, stateId) {\n if (target instanceof am4charts.Legend && !useLegend) {\n const state = target.states.create(stateId);\n state.properties.disabled = true;\n return state;\n }\n },\n });\n\n /**\n * Calculate and adjust the pie radius based on available space\n * to prevent labels from being cutoff.\n */\n pieChart.events.on('sizechanged', function () {\n if (pieChart.pixelWidth <= 600) {\n // Reponsive plugin hides labels if chart is too narrow, so keep pie radius large\n pieChart.radius = am4core.percent(80);\n } else {\n // Otherwise, calculate available space for pie radius after subtracting\n // the total max width of the labels on both sides of the pie.\n const smallerDimension = Math.min(pieChart.pixelHeight, pieChart.pixelWidth);\n const labelMaxWidth = PIE_LABEL_MAX_WIDTH * 2;\n const availablePieWidth = pieChart.pixelWidth - labelMaxWidth;\n const newRadius = 100 * (availablePieWidth / smallerDimension);\n\n pieChart.radius = am4core.percent(Math.min(newRadius, 80));\n }\n });\n}\n\n/**\n * Set title(s) to label the top of a PieChart.\n * @param pieChart The chart to add title(s) to.\n * @param titles An array of titles. The first title\n * in the array will be the topmost and bolded.\n */\nexport function setPieChartTitles(pieChart: am4charts.PieChart, titles: string[]) {\n titles = typeof titles !== 'undefined' && titles !== null && titles.length > 0 ? titles : [];\n\n // Clear old title(s)\n pieChart.titles.clear();\n\n for (let i = 0; i < titles.length; i++) {\n const nextTitle = pieChart.titles.create();\n nextTitle.text = titles[i];\n\n if (i === 0) {\n nextTitle.fontWeight = '700';\n nextTitle.align = 'center';\n }\n\n if (i === titles.length - 1) {\n nextTitle.marginBottom = 8;\n }\n }\n}\n\n/**\n * Adds a series to a PieChart.\n * @param pieChart The chart to add the series to.\n * @param descriptionPropertyName The name of the property\n * in the data array to use as the description for each pie slice.\n * @param valuePropertyName The name of the property\n * in the data array to use as the value for each pie slice.\n * @param ignoreZeroValues If true, do not display a\n * pie slice when the value is 0. Default is true.\n */\nexport function addPieChartSeries(\n pieChart: am4charts.PieChart,\n descriptionPropertyName: string,\n valuePropertyName: string,\n ignoreZeroValues = true,\n colorList?: { [key: string]: string },\n getColor?: (data: any) => string,\n) {\n const nextPieSeries = pieChart.series.push(new am4charts.PieSeries());\n nextPieSeries.ignoreZeroValues = ignoreZeroValues ? true : false;\n nextPieSeries.dataFields.category = descriptionPropertyName;\n nextPieSeries.dataFields.value = valuePropertyName;\n nextPieSeries.labels.template.maxWidth = PIE_LABEL_MAX_WIDTH;\n nextPieSeries.labels.template.wrap = true;\n\n if (colorList || getColor) {\n nextPieSeries.slices.template.events.once('inited', function (event: any) {\n const currentColor = specifyColor(descriptionPropertyName, colorList, getColor, event.target.dataItem.dataContext);\n event.target.fill = currentColor;\n event.target.stroke = currentColor;\n });\n }\n\n addPieSeriesTooltipText(nextPieSeries);\n}\n\n/**\n * Sets the default tooltip text for a PieChart series.\n * @param series The series to add tooltip text to.\n */\nfunction addPieSeriesTooltipText(series: am4charts.PieSeries) {\n series.slices.template.tooltipText = \"{category}: {value.percent.formatNumber('#.#')}% ({value.value})\";\n}\n\n/**\n * Adds a legend to a PieChart.\n * @param pieChart The PieChart to add a legend to.\n */\nexport function addPieChartLegend(pieChart: am4charts.PieChart, position: am4charts.LegendPosition = 'right') {\n pieChart.legend = new am4charts.Legend();\n pieChart.legend.position = position;\n pieChart.legend.labels.template.truncate = false;\n pieChart.legend.labels.template.wrap = true;\n}\n\n//#endregion\n\n//#region Sankey Chart\nexport function setSankeyChartDefaultSettings(\n sankeyChart: am4charts.SankeyDiagram,\n valueField: string,\n sourceField: string,\n targetField: string,\n paddingRight: number,\n labelFormat?: string,\n tooltipTextFormat?: string,\n nodeTooltipTextFormat?: string,\n) {\n sankeyChart.height = am4core.percent(100);\n sankeyChart.paddingRight = paddingRight;\n sankeyChart.paddingTop = 20;\n sankeyChart.dataFields.fromName = sourceField;\n sankeyChart.dataFields.toName = targetField;\n sankeyChart.dataFields.value = valueField;\n sankeyChart.nodes.template.nameLabel.label.hideOversized = true;\n sankeyChart.nodes.template.nameLabel.label.text = labelFormat;\n sankeyChart.nodes.template.tooltipText = nodeTooltipTextFormat;\n sankeyChart.links.template.tooltipText = tooltipTextFormat;\n sankeyChart.nodes.template.nameLabel.label.wrap = true;\n //whenever a new node is created, it will check if there's a key \"disabled\" present in\n //the corresponding data context, and will set it\n sankeyChart.nodes.template.propertyFields.hidden = 'disabled';\n sankeyChart.minNodeSize = 0.0001;\n sankeyChart.nodePadding = 1;\n sankeyChart.links.template.minWidth = 1;\n}\n\n//#endregion\n\n//#region Types\nexport type XYAxisXPosition = 'X' | 'X2';\nexport type XYAxisYPosition = 'Y' | 'Y2';\nexport type XYAxisPosition = XYAxisXPosition | XYAxisYPosition;\nexport type XYAxisDataType = 'string' | 'date' | 'number';\nexport type XYSeriesTypes = 'Area' | 'StackedArea' | 'Line' | 'SmoothedLine' | 'Column' | 'StackedColumn' | 'Step' | 'ScatterPlot';\nexport interface XYBaseProps {\n /**\n * A title to display at the top of the chart.\n */\n title: string;\n /**\n * If true, automatically limit the max width\n * of the chart if there are not many data points.\n * Default is true.\n */\n autoWidth?: boolean;\n /**\n * The data to use for the chart. The data\n * should have properties matching the\n * supplied xPropertyName and yPropertyName.\n * When looking to display the data in a StackedColumn or StackedArea\n * chart, ensure the incoming data is in the format of an array/list of\n * objects (e.g. [{\"Country\": , \"Prop1\": 60, \"Prop2\": 35, \"Prop3\": 47}, {\"Country\": , \"Prop1\": 57, \"Prop2\": 48, \"Prop3\": 14}]).\n * The x-axis will need to be the first property of each object; the rest of the properties will each be a bar in the stacked\n * portion.\n */\n data: any[];\n /**\n * If true, adds a legend to the right of the chart.\n * Default is false.\n */\n useLegend?: boolean;\n /**\n * The distance between grid lines in a chart. Smaller\n * values increase the number of grid lines and therefore,\n * allows more data labels to be displayed.\n * Defaults: addXYCategoryAxis = 60\n * addXYDateAxis = 55\n */\n distBetweenGridLines?: number;\n}\n\nexport interface XYSingleSeriesProps extends XYBaseProps {\n /**\n * A title to display under the x-axis.\n */\n xTitle: string;\n /**\n * The name of the property in the data array to plot on the x-axis.\n */\n xPropertyName: string;\n /**\n * A title to display along the y-axis.\n */\n yTitle: string;\n /**\n * The name of the property in the data array to plot on the y-axis.\n */\n yPropertyName: string;\n}\n\nexport interface XYChartProps extends XYSingleSeriesProps {\n /**\n * The type of series to add to the chart.\n */\n type: XYSeriesTypes;\n /**\n * The data type of the x-axis data contained\n * at data[n].xPropertyName. Default is string.\n */\n xDataType?: XYAxisDataType;\n /**\n * The data type of the y-axis data contained\n * at data[n].yPropertyName. Default is number.\n */\n yDataType?: XYAxisDataType;\n}\n\nexport interface HeatMapChartProps extends XYSingleSeriesProps {\n /**\n * A title to display in the tooltip for the heat map value.\n */\n heatValueTitle: string;\n /**\n * Use this property in the data objects as the value for\n * the heat map. The chart will automatically\n * determine the fill color between RED (highest value) and GREEN (lowest value)\n * based on the values found in this data property.\n */\n heatValuePropertyName: string;\n /**\n * The color to use for the minimum value. Colors between minColor and maxColor will be automatically generated.\n */\n minColor?: string;\n /**\n * The color to use for the maximum value. Colors between minColor and maxColor will be automatically generated.\n */\n maxColor?: string;\n}\n\nexport interface WaterfallChartProps extends XYSingleSeriesProps {\n /**\n * The data type of the x-axis data contained\n * at data[n].xPropertyName. Default is string.\n */\n xDataType?: 'string' | 'date';\n /**\n * The name of the property in the data array to use as the start value\n * when drawing each step bar in the waterfall. Step bars will start\n * at this value and stop at the value found on yPropertyName.\n */\n startValuePropertyName: string;\n\n /**\n * If provided, the property in the data array to use as the color for\n * each step bar in the waterfall.\n */\n colorPropertyName?: string;\n\n /**\n * If provided, the property in the data array to use as the color for\n * highlighting the step bar in the waterfall.\n */\n highlightPropertyName?: string;\n\n /**\n * If provided, step bars with the supplied x-axis value(s) will\n * be highlighted with a selection indicator to show they are 'selected'.\n */\n selectedXAxisValues?: string[];\n\n /**\n * When the user clicks the chart, highlight the just-clicked bar and\n * return the data for the clicked element to this callback function.\n */\n onClick?: (data: any) => void;\n}\n\nexport interface XYMultiSeriesAxisProps {\n id: string;\n titles: string[];\n dataType: XYAxisDataType;\n}\n\nexport interface XYMultiSeriesXAxisProps extends XYMultiSeriesAxisProps {\n position: XYAxisXPosition;\n}\n\nexport interface XYMultiSeriesYAxisProps extends XYMultiSeriesAxisProps {\n position: XYAxisYPosition;\n}\n\nexport interface XYMultiSeriesSeriesProps {\n type: XYSeriesTypes;\n name: string;\n xAxisId: string;\n xAxisPropertyName: string;\n yAxisId: string;\n yAxisPropertyName: string;\n}\n\nexport interface XYMultiSeriesChartProps extends XYBaseProps {\n xAxes: XYMultiSeriesXAxisProps[];\n yAxes: XYMultiSeriesYAxisProps[];\n series: XYMultiSeriesSeriesProps[];\n legendLocation?: 'left' | 'right' | 'top' | 'bottom';\n}\n\nexport interface PieChartProps {\n /**\n * A title to display at the\n * top of the pie chart.\n */\n title: string;\n /**\n * The name of the property in the\n * data array to use as the description\n * for each pie slice.\n */\n descriptionPropertyName: string;\n /**\n * The name of the property in the\n * data array to use as the value\n * for each pie slice.\n */\n valuePropertyName: string;\n /**\n * If true, do not display a\n * pie slice when the value is 0.\n * Default is true.\n */\n ignoreZeroValues?: boolean;\n /**\n * The data to use for the chart. The\n * data should have properties matching\n * the valuePropertyName and categoryPropertyName.\n */\n data: any[];\n /**\n * If true, adds a legend to the right of the chart.\n * Default is false.\n */\n useLegend?: boolean;\n}\n//#endregion\n"],"names":[],"mappings":";;;AAGM,SAAU,kBAAkB,CAAC,KAAU,EAAA;;AAE3C,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,OAAO,KAAK;;;AAId,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,OAAO,IAAI;;;AAIb,IAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,gCAAgC,EAAE,EAAE,CAA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,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,WAAW;IAC7D,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,GAAG,qBAAqB;IAC9D,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,GAAG,iBAAiB;AAC1D,IAAA,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI;;;IAGtD,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,UAAU;AAC7D,IAAA,WAAW,CAAC,WAAW,GAAG,MAAM;AAChC,IAAA,WAAW,CAAC,WAAW,GAAG,CAAC;IAC3B,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC;AACzC;AAiNA;;;;"}
1
+ {"version":3,"file":"chartUtils-DFIyEsL1.js","sources":["src/components/my-component/UI/charts/chartUtils.ts"],"sourcesContent":["import * as am4charts from '@amcharts/amcharts4/charts';\nimport * as am4core from '@amcharts/amcharts4/core';\n\nexport function parseValueToNumber(input: any): number | null {\n // If input is already a number, return it directly\n if (typeof input === 'number') {\n return input;\n }\n\n // If input is not a string, return null\n if (typeof input !== 'string') {\n return null;\n }\n\n // Remove leading and trailing special characters\n input = input.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g, '').trim();\n\n if (input === '') {\n return null;\n }\n\n // Try to parse as integer\n const intValue = parseInt(input, 10);\n if (!isNaN(intValue) && intValue.toString() === input) {\n return intValue;\n }\n\n // Try to parse as float\n const floatValue = parseFloat(input);\n if (!isNaN(floatValue) && floatValue.toString() === input) {\n return floatValue;\n }\n\n // If parsing fails, return null\n return null;\n}\n\nexport const parseValueToNumberMultiSeries = (yFields: { fieldName: string; fieldLabel: string }[], rowData: { [key: string]: string }) => {\n const yFieldsData = {};\n\n for (let yField of yFields) {\n yFieldsData[yField.fieldName] = parseValueToNumber(rowData?.[yField.fieldName]);\n }\n\n return yFieldsData;\n};\n\nconst PIE_LABEL_MAX_WIDTH = 200;\n\n/**\n * An AmCharts theme that uses colors from the\n * supplied material UI theme for Unity.\n * @param theme The theme to use.\n * @returns A function that AmCharts uses to set the theme.\n */\nexport function am4themes_unity(theme: any) {\n const themeColors: am4core.Color[] = [];\n\n themeColors.push(am4core.color(theme.palette.primary.main));\n themeColors.push(am4core.color(theme.palette.secondary.main));\n themeColors.push(am4core.color(theme.palette.primary.light));\n themeColors.push(am4core.color(theme.palette.secondary.light));\n\n return target => {\n if (target instanceof am4core.ColorSet) {\n target.list = themeColors;\n }\n };\n}\n\n/**\n * Sets default settings for all chart types.\n * @param chart A chart\n */\nexport function setChartDefaultSettings(chart: am4charts.Chart, chartContainer: HTMLElement, exportable = false) {\n am4core.addLicense('CH98568001');\n chart.responsive.enabled = true;\n if (exportable) {\n chart.exportable = true;\n chart.exporting.menu = new am4core.ExportMenu();\n chart.exporting.menu.container = chartContainer;\n chart.exporting.menu.align = 'right';\n chart.exporting.menu.verticalAlign = 'top';\n }\n\n const dateLocale = Intl.DateTimeFormat().resolvedOptions().locale;\n const numberLocale = Intl.NumberFormat().resolvedOptions().locale;\n\n chart.dateFormatter.dateFormat = 'yyyy-MM-dd HH:mm:ss';\n chart.dateFormatter.intlLocales = dateLocale;\n chart.numberFormatter.intlLocales = numberLocale;\n\n // TODO: not sure if this works for all locales. try using Intl\n const _decimalSeparator = (0.1).toLocaleString().charAt(1) ?? '.';\n const _thousandSeparator = (10000).toLocaleString().charAt(2) ?? ',';\n chart.language.locale['_decimalSeparator'] = isNaN(parseInt(_decimalSeparator)) ? _decimalSeparator : '.';\n chart.language.locale['_thousandSeparator'] = isNaN(parseInt(_thousandSeparator)) ? _thousandSeparator : ',';\n if (chart?.logo) {\n chart.logo.disabled = true;\n }\n}\n\nexport function specifyColor(descriptionPropertyName: string, colorList?: { [key: string]: string }, getColor?: (data: any) => string, dataContext?: Object) {\n if (getColor) {\n const currentColor = getColor(dataContext);\n\n return currentColor ? am4core.color(currentColor) : null;\n } else {\n return colorList?.[dataContext[descriptionPropertyName]] ? am4core.color(colorList?.[dataContext[descriptionPropertyName]]) : null;\n }\n}\n\n//#region XY Chart\n/**\n * Sets default settings for XYCharts.\n * @param xyChart The XYChart.\n * @param titles The title(s) for the chart.\n */\nexport function setXYChartDefaultSettings(xyChart: am4charts.XYChart) {\n // Don't cutoff bullets\n xyChart.maskBullets = false;\n\n xyChart.cursor = new am4charts.XYCursor();\n xyChart.cursor.exportable = false;\n xyChart.cursor.lineX.strokeOpacity = 0;\n xyChart.cursor.lineY.strokeOpacity = 0;\n //Don't zoom if the user drags to select with the mouse\n xyChart.cursor.behavior = 'none';\n //Only show tooltips if the nearest tooltip is within a 10px radius\n xyChart.cursor.maxTooltipDistance = 10;\n}\n\n/**\n * Set title(s) to label the top of an XYChart.\n * @param xyChart The chart to add title(s) to.\n * @param titles An array of titles. The first title\n * in the array will be the topmost and bolded.\n */\nexport function setXYChartTitles(xyChart: am4charts.XYChart, titles: string[]) {\n titles = typeof titles !== 'undefined' && titles !== null && titles.length > 0 ? titles : [];\n\n // Clear old title(s)\n const oldLabels: am4core.Label[] = [];\n const children = xyChart.topAxesContainer.children;\n for (let i = 0; i < children.length; i++) {\n if (children.getIndex(i) instanceof am4core.Label) {\n oldLabels.push(children.getIndex(i) as am4core.Label);\n }\n }\n oldLabels.forEach(label => children.removeValue(label));\n\n for (let i = 0; i < titles.length; i++) {\n const nextTitle = xyChart.topAxesContainer.createChild(am4core.Label) as am4core.Label;\n nextTitle.text = titles[i];\n\n if (i === 0) {\n nextTitle.fontWeight = '700';\n nextTitle.align = 'center';\n }\n\n if (i === titles.length - 1) {\n nextTitle.marginBottom = 8;\n }\n }\n}\n\n/**\n * Adds a category axis to the chart. Use this axis for\n * string \"categories\" along the axis.\n * @param xyChart The chart to add an axis to.\n * @param id The unique id for this axis.\n * @param field The field in the data to use for this axis.\n * @param titles The axis title(s).\n * @param position The position of this axis on the chart.\n * A category axis is usually positioned on the X-axis.\n * @param distBetweenGridLines The distance between grid lines\n * in a chart. Smaller values increase the number of grid lines\n * and therefore, allows more data labels to be displayed.\n * @returns The newly-created category axis.\n */\nexport function addXYCategoryAxis(xyChart: am4charts.XYChart, id: string, field: string, titles: string[] = [], position: XYAxisPosition = 'X', distBetweenGridLines = 60) {\n const categoryAxis = new am4charts.CategoryAxis();\n categoryAxis.id = id;\n\n if (position === 'X' || position === 'X2') {\n xyChart.xAxes.push(categoryAxis);\n categoryAxis.renderer.minGridDistance = distBetweenGridLines;\n categoryAxis.renderer.labels.template.maxWidth = 110;\n categoryAxis.renderer.labels.template.paddingBottom = 0;\n categoryAxis.renderer.labels.template.rotation = 315;\n categoryAxis.renderer.labels.template.horizontalCenter = 'right';\n categoryAxis.renderer.labels.template.verticalCenter = 'middle';\n categoryAxis.renderer.grid.template.location = 0;\n } else {\n xyChart.yAxes.push(categoryAxis);\n categoryAxis.renderer.labels.template.maxWidth = 200;\n categoryAxis.title.maxWidth = 300;\n categoryAxis.title.truncate = true;\n categoryAxis.title.tooltipText = '{text}';\n if (categoryAxis.title.tooltip) {\n categoryAxis.title.tooltip.ignoreBounds = true;\n }\n }\n\n // Swap from the bottom of chart to the top, or from left to right\n if (position === 'X2' || position === 'Y2') {\n categoryAxis.renderer.opposite = true;\n }\n categoryAxis.dataFields.category = field;\n categoryAxis.cursorTooltipEnabled = false;\n categoryAxis.renderer.labels.template.wrap = true;\n categoryAxis.renderer.cellStartLocation = 0.1;\n categoryAxis.renderer.cellEndLocation = 0.9;\n\n if (titles && titles.length > 0) {\n categoryAxis.title.text = titles.join('\\n');\n categoryAxis.title.fontWeight = '700';\n }\n\n return categoryAxis;\n}\n\n/**\n * Adds a date axis to the chart. Use this axis to\n * let AmCharts handle dates along the axis.\n * Note: If the dates in the data are in string format, you should\n * convert them to Date objects first, or set\n * dateFormatter.inputDateFormat = <the format, eg: \"yyyy-MM-ddThh:mm:ss\">\n * on the returned DateAxis object.\n * @param xyChart The chart to add an axis to.\n * @param id The unique id for this axis.\n * @param titles The axis title(s).\n * @param position The position of this axis on the chart.\n * A date axis is usually positioned on the X-axis.\n * @param distBetweenGridLines The distance between grid lines\n * in a chart. Smaller values increase the number of grid lines\n * and therefore, allows more data labels to be displayed.\n * @returns\n */\nexport function addXYDateAxis(xyChart: am4charts.XYChart, id: string, titles: string[] = [], position: XYAxisPosition = 'X', distBetweenGridLines = 55) {\n const dateAxis = new am4charts.DateAxis();\n dateAxis.id = id;\n\n if (position === 'X' || position === 'X2') {\n xyChart.xAxes.push(dateAxis);\n dateAxis.title.marginTop = -15;\n dateAxis.renderer.minGridDistance = distBetweenGridLines;\n dateAxis.renderer.labels.template.maxWidth = 110;\n dateAxis.renderer.labels.template.paddingBottom = 0;\n dateAxis.renderer.labels.template.rotation = 315;\n dateAxis.renderer.labels.template.horizontalCenter = 'right';\n dateAxis.renderer.labels.template.verticalCenter = 'middle';\n dateAxis.renderer.labels.template.dy = -16;\n dateAxis.renderer.labels.template.dx = 8;\n } else {\n xyChart.yAxes.push(dateAxis);\n dateAxis.renderer.inversed = true;\n dateAxis.renderer.labels.template.maxWidth = 200;\n dateAxis.title.maxWidth = 300;\n dateAxis.title.truncate = true;\n dateAxis.title.tooltipText = '{text}';\n if (dateAxis.title.tooltip) {\n dateAxis.title.tooltip.ignoreBounds = true;\n }\n }\n\n // Swap from the bottom of chart to the top, or from left to right\n if (position === 'X2' || position === 'Y2') {\n dateAxis.renderer.opposite = true;\n }\n\n dateAxis.cursorTooltipEnabled = false;\n dateAxis.renderer.labels.template.wrap = true;\n dateAxis.renderer.cellStartLocation = 0.1;\n dateAxis.renderer.cellEndLocation = 0.9;\n\n // todo get user's locale for proper format\n dateAxis.dateFormats.setKey('day', 'yyyy-MM-dd');\n dateAxis.periodChangeDateFormats.setKey('day', 'yyyy-MM-dd');\n dateAxis.periodChangeDateFormats.setKey('hour', 'yyyy-MM-dd');\n\n if (titles && titles.length > 0) {\n dateAxis.title.text = titles.join('\\n');\n dateAxis.title.fontWeight = '700';\n }\n\n return dateAxis;\n}\n\n/**\n * Adds a value axis to the chart. Use this axis\n * to display numeric values.\n * @param xyChart The chart to add an axis to.\n * @param id The unique id for this axis.\n * @param titles The axis title(s).\n * @param position The position of this axis on the chart.\n * A value axis is usually positioned on the Y-axis.\n * @returns The newly-created value axis.\n */\nexport function addXYValueAxis(xyChart: am4charts.XYChart, id: string, titles: string[] = [], position: XYAxisPosition = 'Y') {\n const valueAxis = new am4charts.ValueAxis();\n valueAxis.id = id;\n\n if (position === 'X' || position === 'X2') {\n xyChart.xAxes.push(valueAxis);\n } else {\n xyChart.yAxes.push(valueAxis);\n valueAxis.title.maxWidth = 300;\n valueAxis.title.truncate = true;\n valueAxis.title.tooltipText = '{text}';\n if (valueAxis.title.tooltip) {\n valueAxis.title.tooltip.ignoreBounds = true;\n }\n }\n\n // Swap from the bottom of chart to the top, or from left to right\n if (position === 'X2' || position === 'Y2') {\n valueAxis.renderer.opposite = true;\n }\n\n valueAxis.title.maxWidth = 300;\n valueAxis.title.truncate = true;\n valueAxis.title.tooltipText = '{text}';\n if (valueAxis.title.tooltip) {\n valueAxis.title.tooltip.ignoreBounds = true;\n }\n valueAxis.cursorTooltipEnabled = false;\n valueAxis.renderer.grid.template.strokeOpacity = 0;\n\n if (titles && titles.length > 0) {\n valueAxis.title.text = titles.join('\\n');\n valueAxis.title.fontWeight = '700';\n }\n\n return valueAxis;\n}\n\n/**\n * Adds a series to an XYChart.\n * @param xyChart The chart to add a series of data to.\n * @param name The name of this series to display to the user.\n * @param seriesType The type of series to create.\n * @param xAxis The x-axis to plot this series on.\n * @param xPropertyName The name of the property in the data to use\n * for plotting data on the x-axis.\n * @param yAxis The y-axis to plot this series data on.\n * @param yPropertyName The name of the property in the data to use\n * for plotting data on the y-axis.\n * @returns The newly-created series.\n */\nexport function addXYSeries(\n xyChart: am4charts.XYChart,\n name: string,\n seriesType: XYSeriesTypes,\n xAxis: am4charts.CategoryAxis | am4charts.DateAxis | am4charts.ValueAxis,\n xPropertyName: string,\n yAxis: am4charts.CategoryAxis | am4charts.DateAxis | am4charts.ValueAxis,\n yPropertyName: string,\n showBullets?: boolean,\n) {\n let xySeries: am4charts.XYSeries;\n switch (seriesType) {\n case 'Area':\n case 'StackedArea':\n case 'Line':\n case 'SmoothedLine':\n case 'Step':\n case 'ScatterPlot':\n const lineSeries = seriesType === 'Step' ? xyChart.series.push(new am4charts.StepLineSeries()) : xyChart.series.push(new am4charts.LineSeries());\n lineSeries.strokeWidth = 3;\n lineSeries.hideTooltip();\n\n if (seriesType === 'Area' || seriesType === 'StackedArea') {\n lineSeries.fillOpacity = 0.6;\n lineSeries.stacked = seriesType === 'StackedArea';\n } else if (seriesType === 'SmoothedLine') {\n lineSeries.tensionX = 0.77;\n } else if (seriesType === 'ScatterPlot') {\n lineSeries.strokeOpacity = 0;\n }\n\n xySeries = lineSeries;\n break;\n case 'Column':\n case 'StackedColumn':\n const columnSeries = xyChart.series.push(new am4charts.ColumnSeries());\n\n columnSeries.columns.template.width = am4core.percent(90);\n columnSeries.stacked = seriesType === 'StackedColumn';\n xySeries = columnSeries;\n break;\n }\n\n xySeries.name = name;\n xySeries.xAxis = xAxis;\n console.log({ xPropertyName, yPropertyName, xAxis, yAxis });\n if (xAxis instanceof am4charts.CategoryAxis) {\n xAxis.dataFields.category = xPropertyName; // Category Axes require a field name too\n xySeries.dataFields.categoryX = xPropertyName;\n } else if (xAxis instanceof am4charts.DateAxis) {\n xySeries.dataFields.dateX = xPropertyName;\n } else {\n xySeries.dataFields.valueX = xPropertyName;\n }\n\n xySeries.yAxis = yAxis;\n if (yAxis instanceof am4charts.CategoryAxis) {\n xySeries.dataFields.categoryY = yPropertyName;\n } else if (yAxis instanceof am4charts.DateAxis) {\n xySeries.dataFields.dateY = yPropertyName;\n } else {\n xySeries.dataFields.valueY = yPropertyName;\n }\n\n addXYSeriesTooltipText(xySeries, seriesType);\n\n if (showBullets) {\n addXYSeriesBullets(xyChart, xySeries, seriesType);\n }\n console.log(xySeries.dataFields);\n\n return xySeries;\n}\n\n/**\n * Adds a legend to an XYChart.\n * @param xyChart The XYChart to add a legend to.\n */\nexport function addXYLegend(xyChart: am4charts.XYChart, position: 'left' | 'right' | 'top' | 'bottom' = 'right') {\n xyChart.legend = new am4charts.Legend();\n xyChart.legend.position = position;\n xyChart.legend.align = 'left';\n xyChart.legend.labels.template.truncate = false;\n xyChart.legend.labels.template.wrap = true;\n xyChart.legend.valueLabels.template.text = ''; // Don't show the highlighted point's value when using the chart cursor option\n}\n\n/**\n * Adds a scrollbar to the top of an XYChart that\n * allows the user to zoom in and out of the data.\n * @param xyChart The chart to add a zoom scrollbar to.\n * @param series Any series provided here, if any, will be\n * displayed in the zoom scrollbar.\n * @returns The newly-created zoom scrollbar.\n */\nexport function addXYZoomScrollbar(xyChart: am4charts.XYChart, series: am4charts.XYSeries[] = []) {\n let zoomScrollbar: am4core.Scrollbar;\n\n if (series && series.length > 0) {\n zoomScrollbar = new am4charts.XYChartScrollbar();\n\n for (let i = 0; i < series.length; i++) {\n (zoomScrollbar as am4charts.XYChartScrollbar).series.push(series[i]);\n }\n\n const scrollbarXAxis = (zoomScrollbar as am4charts.XYChartScrollbar).scrollbarChart.xAxes.getIndex(0);\n if (scrollbarXAxis) {\n scrollbarXAxis.renderer.labels.template.disabled = true;\n scrollbarXAxis.renderer.grid.template.disabled = true;\n }\n } else {\n zoomScrollbar = new am4core.Scrollbar();\n }\n\n xyChart.scrollbarX = zoomScrollbar;\n zoomScrollbar.exportable = false;\n\n xyChart.series.each(s => {\n const bullet = s.bullets?.getIndex(0);\n if (bullet) {\n addXYBulletAdapter(bullet, xyChart);\n }\n });\n\n return zoomScrollbar;\n}\n\n/**\n * Add bullets to an XYSeries. Has no effect on column-based\n * charts.\n * @param xyChart The chart containing the series.\n * @param series The series to add bullets to.\n * @param seriesType The type of the series.\n * @returns\n */\nexport function addXYSeriesBullets(xyChart: am4charts.XYChart, series: am4charts.XYSeries, seriesType: XYSeriesTypes) {\n let bulletSprite: am4core.Sprite;\n\n if (seriesType === 'ScatterPlot') {\n const bullet = series.bullets.push(new am4core.Circle());\n bullet.strokeOpacity = 0;\n bullet.fillOpacity = 0.5;\n bullet.radius = 4;\n bullet.hiddenState.properties.opacity = 0;\n\n bulletSprite = bullet;\n } else if (seriesType === 'Area' || seriesType === 'Line' || seriesType === 'SmoothedLine' || seriesType === 'StackedArea') {\n const bullet = series.bullets.push(new am4charts.CircleBullet());\n // Only show bullets if at least 30px available between each\n series.minBulletDistance = 30;\n bullet.circle.radius = 4;\n bullet.circle.strokeWidth = 2;\n\n if (xyChart.scrollbarX || xyChart.scrollbarY) {\n addXYBulletAdapter(bullet, xyChart);\n }\n\n bulletSprite = bullet;\n } else {\n return;\n }\n\n // Bullets grow on hover\n const bulletHover = bulletSprite.states.create('hover');\n bulletHover.properties.scale = 1.3;\n\n // Re-add tooltip text as some series types need tooltips on bullets\n addXYSeriesTooltipText(series, seriesType);\n}\n\n/**\n * When a user zooms a chart, bullets can draw outside the plot\n * area, so we have to manually fix this with this adapter.\n * @param bullet The bullet instance.\n * @param xyChart The chart containing the series with the bullet instance.\n */\nfunction addXYBulletAdapter(bullet: am4core.Sprite, xyChart: am4charts.XYChart) {\n bullet.adapter.add('dy', (dy, b) => {\n if (b.pixelX < 0 || b.pixelX > xyChart.plotContainer.measuredWidth || b.pixelY < 0 || b.pixelY > xyChart.plotContainer.measuredHeight) {\n b.visible = false;\n } else {\n b.visible = true;\n }\n return dy;\n });\n}\n\n/**\n * Adds a standard tooltip to an XYChart series.\n * @param series The series to add a tooltip to.\n * @param seriesType The type of the series.\n */\nfunction addXYSeriesTooltipText(series: am4charts.XYSeries, seriesType: XYSeriesTypes) {\n const xField = series.xAxis instanceof am4charts.CategoryAxis ? 'categoryX' : series.xAxis instanceof am4charts.DateAxis ? 'dateX' : 'valueX';\n const yField = series.yAxis instanceof am4charts.CategoryAxis ? 'categoryY' : series.yAxis instanceof am4charts.DateAxis ? 'dateY' : 'valueY';\n\n let standardXYTooltip = '[bold]{' + xField + '}[/]\\n{name}: {' + yField + '}';\n if (seriesType === 'StackedColumn' || seriesType === 'StackedArea') {\n standardXYTooltip = '{name}: [bold]{' + yField + '}[/]';\n if (yField === 'categoryY' && xField !== 'categoryX') {\n standardXYTooltip = '{name}: [bold]{' + xField + '}[/]';\n }\n } else if (yField === 'categoryY' && xField !== 'categoryX') {\n standardXYTooltip = '[bold]{' + yField + '}[/]\\n{name}: {' + xField + '}';\n }\n\n if (series.tooltip) {\n series.tooltip.exportable = false;\n }\n\n switch (seriesType) {\n case 'Area':\n case 'StackedArea':\n case 'Line':\n case 'SmoothedLine':\n case 'Step':\n case 'ScatterPlot':\n const lineSeries = series as am4charts.LineSeries;\n\n if (seriesType === 'ScatterPlot') {\n let tooltipText = series.xAxis.title.text + ':\\n{' + xField + '}\\n\\n';\n tooltipText += series.yAxis.title.text + ':\\n{' + yField + '}';\n const lineBullet = lineSeries.bullets.getIndex(0) as am4charts.CircleBullet;\n if (lineBullet) {\n lineSeries.cursorTooltipEnabled = false;\n lineBullet.tooltipText = tooltipText;\n }\n } else {\n lineSeries.tooltipText = standardXYTooltip;\n }\n break;\n case 'Column':\n case 'StackedColumn':\n const columnSeries = series as am4charts.ColumnSeries;\n\n columnSeries.tooltipText = standardXYTooltip;\n break;\n }\n}\n//#endregion\n\n//#region Pie Chart\n/**\n * The default settings for a pie chart.\n * @param pieChart The pie chart to set defaults on.\n */\nexport function setPieChartDefaultSettings(pieChart: am4charts.PieChart, useLegend = false) {\n pieChart.radius = am4core.percent(65);\n\n pieChart.chartContainer.resizable = true;\n pieChart.chartContainer.width = am4core.percent(100);\n pieChart.svgContainer.autoResize = true;\n pieChart.height = am4core.percent(100);\n pieChart.width = am4core.percent(100);\n\n /**\n * Hide labels when the available width is too small\n */\n pieChart.responsive.enabled = true;\n pieChart.responsive.rules.push({\n relevant: function (target) {\n if (target.pixelWidth <= 600) {\n return true;\n }\n return false;\n },\n state: function (target, stateId) {\n if (target instanceof am4charts.PieSeries) {\n const state = target.states.create(stateId);\n\n const labelState = target.labels.template.states.create(stateId);\n labelState.properties.disabled = true;\n\n const tickState = target.ticks.template.states.create(stateId);\n tickState.properties.disabled = true;\n return state;\n }\n },\n });\n\n // A PieChart component always has a legend object.\n // However, if useLegend = false, then the legend only\n // appears when the size of the PieChart is below a\n // certain threshold.\n pieChart.responsive.rules.push({\n relevant: function (target) {\n if (target.pixelWidth > 600) {\n return true;\n }\n return false;\n },\n state: function (target, stateId) {\n if (target instanceof am4charts.Legend && !useLegend) {\n const state = target.states.create(stateId);\n state.properties.disabled = true;\n return state;\n }\n },\n });\n\n /**\n * Calculate and adjust the pie radius based on available space\n * to prevent labels from being cutoff.\n */\n pieChart.events.on('sizechanged', function () {\n if (pieChart.pixelWidth <= 600) {\n // Reponsive plugin hides labels if chart is too narrow, so keep pie radius large\n pieChart.radius = am4core.percent(80);\n } else {\n // Otherwise, calculate available space for pie radius after subtracting\n // the total max width of the labels on both sides of the pie.\n const smallerDimension = Math.min(pieChart.pixelHeight, pieChart.pixelWidth);\n const labelMaxWidth = PIE_LABEL_MAX_WIDTH * 2;\n const availablePieWidth = pieChart.pixelWidth - labelMaxWidth;\n const newRadius = 100 * (availablePieWidth / smallerDimension);\n\n pieChart.radius = am4core.percent(Math.min(newRadius, 80));\n }\n });\n}\n\n/**\n * Set title(s) to label the top of a PieChart.\n * @param pieChart The chart to add title(s) to.\n * @param titles An array of titles. The first title\n * in the array will be the topmost and bolded.\n */\nexport function setPieChartTitles(pieChart: am4charts.PieChart, titles: string[]) {\n titles = typeof titles !== 'undefined' && titles !== null && titles.length > 0 ? titles : [];\n\n // Clear old title(s)\n pieChart.titles.clear();\n\n for (let i = 0; i < titles.length; i++) {\n const nextTitle = pieChart.titles.create();\n nextTitle.text = titles[i];\n\n if (i === 0) {\n nextTitle.fontWeight = '700';\n nextTitle.align = 'center';\n }\n\n if (i === titles.length - 1) {\n nextTitle.marginBottom = 8;\n }\n }\n}\n\n/**\n * Adds a series to a PieChart.\n * @param pieChart The chart to add the series to.\n * @param descriptionPropertyName The name of the property\n * in the data array to use as the description for each pie slice.\n * @param valuePropertyName The name of the property\n * in the data array to use as the value for each pie slice.\n * @param ignoreZeroValues If true, do not display a\n * pie slice when the value is 0. Default is true.\n */\nexport function addPieChartSeries(\n pieChart: am4charts.PieChart,\n descriptionPropertyName: string,\n valuePropertyName: string,\n ignoreZeroValues = true,\n colorList?: { [key: string]: string },\n getColor?: (data: any) => string,\n) {\n const nextPieSeries = pieChart.series.push(new am4charts.PieSeries());\n nextPieSeries.ignoreZeroValues = ignoreZeroValues ? true : false;\n nextPieSeries.dataFields.category = descriptionPropertyName;\n nextPieSeries.dataFields.value = valuePropertyName;\n nextPieSeries.labels.template.maxWidth = PIE_LABEL_MAX_WIDTH;\n nextPieSeries.labels.template.wrap = true;\n\n if (colorList || getColor) {\n nextPieSeries.slices.template.events.once('inited', function (event: any) {\n const currentColor = specifyColor(descriptionPropertyName, colorList, getColor, event.target.dataItem.dataContext);\n event.target.fill = currentColor;\n event.target.stroke = currentColor;\n });\n }\n\n addPieSeriesTooltipText(nextPieSeries);\n}\n\n/**\n * Sets the default tooltip text for a PieChart series.\n * @param series The series to add tooltip text to.\n */\nfunction addPieSeriesTooltipText(series: am4charts.PieSeries) {\n series.slices.template.tooltipText = \"{category}: {value.percent.formatNumber('#.#')}% ({value.value})\";\n}\n\n/**\n * Adds a legend to a PieChart.\n * @param pieChart The PieChart to add a legend to.\n */\nexport function addPieChartLegend(pieChart: am4charts.PieChart, position: am4charts.LegendPosition = 'right') {\n pieChart.legend = new am4charts.Legend();\n pieChart.legend.position = position;\n pieChart.legend.labels.template.truncate = false;\n pieChart.legend.labels.template.wrap = true;\n}\n\n//#endregion\n\n//#region Sankey Chart\nexport function setSankeyChartDefaultSettings(\n sankeyChart: am4charts.SankeyDiagram,\n valueField: string,\n sourceField: string,\n targetField: string,\n paddingRight: number,\n labelFormat?: string,\n tooltipTextFormat?: string,\n nodeTooltipTextFormat?: string,\n) {\n sankeyChart.height = am4core.percent(100);\n sankeyChart.paddingRight = paddingRight;\n sankeyChart.paddingTop = 20;\n sankeyChart.dataFields.fromName = sourceField;\n sankeyChart.dataFields.toName = targetField;\n sankeyChart.dataFields.value = valueField;\n sankeyChart.nodes.template.nameLabel.label.hideOversized = true;\n sankeyChart.nodes.template.nameLabel.label.text = labelFormat;\n sankeyChart.nodes.template.tooltipText = nodeTooltipTextFormat;\n sankeyChart.links.template.tooltipText = tooltipTextFormat;\n sankeyChart.nodes.template.nameLabel.label.wrap = true;\n //whenever a new node is created, it will check if there's a key \"disabled\" present in\n //the corresponding data context, and will set it\n sankeyChart.nodes.template.propertyFields.hidden = 'disabled';\n sankeyChart.minNodeSize = 0.0001;\n sankeyChart.nodePadding = 1;\n sankeyChart.links.template.minWidth = 1;\n}\n\n//#endregion\n\n//#region Types\nexport type XYAxisXPosition = 'X' | 'X2';\nexport type XYAxisYPosition = 'Y' | 'Y2';\nexport type XYAxisPosition = XYAxisXPosition | XYAxisYPosition;\nexport type XYAxisDataType = 'string' | 'date' | 'number';\nexport type XYSeriesTypes = 'Area' | 'StackedArea' | 'Line' | 'SmoothedLine' | 'Column' | 'StackedColumn' | 'Step' | 'ScatterPlot';\nexport interface XYBaseProps {\n /**\n * A title to display at the top of the chart.\n */\n title: string;\n /**\n * If true, automatically limit the max width\n * of the chart if there are not many data points.\n * Default is true.\n */\n autoWidth?: boolean;\n /**\n * The data to use for the chart. The data\n * should have properties matching the\n * supplied xPropertyName and yPropertyName.\n * When looking to display the data in a StackedColumn or StackedArea\n * chart, ensure the incoming data is in the format of an array/list of\n * objects (e.g. [{\"Country\": , \"Prop1\": 60, \"Prop2\": 35, \"Prop3\": 47}, {\"Country\": , \"Prop1\": 57, \"Prop2\": 48, \"Prop3\": 14}]).\n * The x-axis will need to be the first property of each object; the rest of the properties will each be a bar in the stacked\n * portion.\n */\n data: any[];\n /**\n * If true, adds a legend to the right of the chart.\n * Default is false.\n */\n useLegend?: boolean;\n /**\n * The distance between grid lines in a chart. Smaller\n * values increase the number of grid lines and therefore,\n * allows more data labels to be displayed.\n * Defaults: addXYCategoryAxis = 60\n * addXYDateAxis = 55\n */\n distBetweenGridLines?: number;\n}\n\nexport interface XYSingleSeriesProps extends XYBaseProps {\n /**\n * A title to display under the x-axis.\n */\n xTitle: string;\n /**\n * The name of the property in the data array to plot on the x-axis.\n */\n xPropertyName: string;\n /**\n * A title to display along the y-axis.\n */\n yTitle: string;\n /**\n * The name of the property in the data array to plot on the y-axis.\n */\n yPropertyName: string;\n}\n\nexport interface XYChartProps extends XYSingleSeriesProps {\n /**\n * The type of series to add to the chart.\n */\n type: XYSeriesTypes;\n /**\n * The data type of the x-axis data contained\n * at data[n].xPropertyName. Default is string.\n */\n xDataType?: XYAxisDataType;\n /**\n * The data type of the y-axis data contained\n * at data[n].yPropertyName. Default is number.\n */\n yDataType?: XYAxisDataType;\n}\n\nexport interface HeatMapChartProps extends XYSingleSeriesProps {\n /**\n * A title to display in the tooltip for the heat map value.\n */\n heatValueTitle: string;\n /**\n * Use this property in the data objects as the value for\n * the heat map. The chart will automatically\n * determine the fill color between RED (highest value) and GREEN (lowest value)\n * based on the values found in this data property.\n */\n heatValuePropertyName: string;\n /**\n * The color to use for the minimum value. Colors between minColor and maxColor will be automatically generated.\n */\n minColor?: string;\n /**\n * The color to use for the maximum value. Colors between minColor and maxColor will be automatically generated.\n */\n maxColor?: string;\n}\n\nexport interface WaterfallChartProps extends XYSingleSeriesProps {\n /**\n * The data type of the x-axis data contained\n * at data[n].xPropertyName. Default is string.\n */\n xDataType?: 'string' | 'date';\n /**\n * The name of the property in the data array to use as the start value\n * when drawing each step bar in the waterfall. Step bars will start\n * at this value and stop at the value found on yPropertyName.\n */\n startValuePropertyName: string;\n\n /**\n * If provided, the property in the data array to use as the color for\n * each step bar in the waterfall.\n */\n colorPropertyName?: string;\n\n /**\n * If provided, the property in the data array to use as the color for\n * highlighting the step bar in the waterfall.\n */\n highlightPropertyName?: string;\n\n /**\n * If provided, step bars with the supplied x-axis value(s) will\n * be highlighted with a selection indicator to show they are 'selected'.\n */\n selectedXAxisValues?: string[];\n\n /**\n * When the user clicks the chart, highlight the just-clicked bar and\n * return the data for the clicked element to this callback function.\n */\n onClick?: (data: any) => void;\n}\n\nexport interface XYMultiSeriesAxisProps {\n id: string;\n titles: string[];\n dataType: XYAxisDataType;\n}\n\nexport interface XYMultiSeriesXAxisProps extends XYMultiSeriesAxisProps {\n position: XYAxisXPosition;\n}\n\nexport interface XYMultiSeriesYAxisProps extends XYMultiSeriesAxisProps {\n position: XYAxisYPosition;\n}\n\nexport interface XYMultiSeriesSeriesProps {\n type: XYSeriesTypes;\n name: string;\n xAxisId: string;\n xAxisPropertyName: string;\n yAxisId: string;\n yAxisPropertyName: string;\n}\n\nexport interface XYMultiSeriesChartProps extends XYBaseProps {\n xAxes: XYMultiSeriesXAxisProps[];\n yAxes: XYMultiSeriesYAxisProps[];\n series: XYMultiSeriesSeriesProps[];\n legendLocation?: 'left' | 'right' | 'top' | 'bottom';\n}\n\nexport interface PieChartProps {\n /**\n * A title to display at the\n * top of the pie chart.\n */\n title: string;\n /**\n * The name of the property in the\n * data array to use as the description\n * for each pie slice.\n */\n descriptionPropertyName: string;\n /**\n * The name of the property in the\n * data array to use as the value\n * for each pie slice.\n */\n valuePropertyName: string;\n /**\n * If true, do not display a\n * pie slice when the value is 0.\n * Default is true.\n */\n ignoreZeroValues?: boolean;\n /**\n * The data to use for the chart. The\n * data should have properties matching\n * the valuePropertyName and categoryPropertyName.\n */\n data: any[];\n /**\n * If true, adds a legend to the right of the chart.\n * Default is false.\n */\n useLegend?: boolean;\n}\n//#endregion\n"],"names":[],"mappings":";;;AAGM,SAAU,kBAAkB,CAAC,KAAU,EAAA;;AAE3C,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,OAAO,KAAK;;;AAId,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,OAA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AC,KAAK,CAAC,aAAa,GAAG,IAAI;AAC/D,IAAA,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,WAAW;IAC7D,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,GAAG,qBAAqB;IAC9D,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,GAAG,iBAAiB;AAC1D,IAAA,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI;;;IAGtD,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,UAAU;AAC7D,IAAA,WAAW,CAAC,WAAW,GAAG,MAAM;AAChC,IAAA,WAAW,CAAC,WAAW,GAAG,CAAC;IAC3B,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC;AACzC;AAiNA;;;;"}
@@ -1,2 +1,2 @@
1
- import{r as e,c as i,h as t,H as s}from"./index-n-1ZSeAs.js";const h='.checkbox-container{display:flex;align-items:center}.checkbox-container input[type="checkbox"]{margin-right:8px}';const c=class{constructor(t){e(this,t);this.change=i(this,"change");this.checked=false;this.disabled=false;this.internalChecked=false;this.handleChange=e=>{const i=e.target.checked;this.internalChecked=i;if(this.checked!==undefined){this.checked=i}const t=i?"true":"false";this.change.emit(t)}}updateError(){this.errorMessage=this.error}initialValueChanged(e){if(!this.internalChecked||this.checked===undefined){if(e!==undefined){this.internalChecked=e==="true"||e==="1"||e==="on"}}}checkedChanged(){if(this.checked!==undefined&&this.checked!==this.internalChecked){this.internalChecked=this.checked}}componentWillLoad(){if(this.checked!==undefined){this.internalChecked=this.checked}else if(this.initialValue!==undefined){this.internalChecked=this.initialValue==="true"||this.initialValue==="1"||this.initialValue==="on"}else{this.internalChecked=false}if(this.error){this.errorMessage=this.error}}render(){const e=!!this.errorMessage;return t(s,{key:"1b19d7ccee69d41e46403cb411ceea2e4fb6f763",class:{"udp-input":true,"udp-input--error":e,"udp-input--disabled":this.disabled,"udp-input--required":this.required,"udp-input--checked":this.internalChecked},"aria-invalid":e?"true":"false","aria-required":this.required?"true":"false"},t("div",{key:"aa94500be1431e4ebed9d3093626a9d72bb7a44d",class:"checkbox-container"},t("input",{key:"16f2c2c5b1c79102a499ce0c91c4c4fbbb2fce6f",type:"checkbox",checked:this.internalChecked,onChange:this.handleChange,id:this.id,name:this.name,disabled:this.disabled,required:this.required}),this.label&&t("label",{key:"7119c395bd36ff76d6d45ff03523f6002cabc4dc",htmlFor:this.id},this.label),this.errorMessage&&t("div",{key:"ef7d59c2816e281c6f479d00d5bbd5a9cc3b3d07",class:"error-message"},this.errorMessage)))}static get watchers(){return{error:["updateError"],initialValue:["initialValueChanged"],checked:["checkedChanged"]}}};c.style=h;export{c as check_box};
1
+ import{r as e,c as i,h as t,H as s}from"./index-n-1ZSeAs.js";const h='.checkbox-container{display:flex;align-items:center}.checkbox-container input[type="checkbox"]{margin-right:8px}';const d=class{constructor(t){e(this,t);this.change=i(this,"change");this.checked=false;this.disabled=false;this.internalChecked=false;this.handleChange=e=>{const i=e.target.checked;this.internalChecked=i;if(this.checked!==undefined){this.checked=i}const t=i?"true":"false";this.change.emit(t)}}updateError(){this.errorMessage=this.error}initialValueChanged(e){if(!this.internalChecked||this.checked===undefined){if(e!==undefined){this.internalChecked=e==="true"||e==="1"||e==="on"}}}checkedChanged(){if(this.checked!==undefined&&this.checked!==this.internalChecked){this.internalChecked=this.checked}}componentWillLoad(){if(this.checked!==undefined){this.internalChecked=this.checked}else if(this.initialValue!==undefined){this.internalChecked=this.initialValue==="true"||this.initialValue==="1"||this.initialValue==="on"}else{this.internalChecked=false}if(this.error){this.errorMessage=this.error}}render(){const e=!!this.errorMessage;return t(s,{key:"5695603fd69b1fee0df426ce0c71095b892d5fa8",class:{"udp-input":true,"udp-input--error":e,"udp-input--disabled":this.disabled,"udp-input--required":this.required,"udp-input--checked":this.internalChecked},"aria-invalid":e?"true":"false","aria-required":this.required?"true":"false"},t("div",{key:"8196e88e702c4bfb79422cd0d2c4fd63bd55afcf",class:"checkbox-container"},t("input",{key:"32fcbc5f163a7bf37f60513fd9d671f01c4e112a",type:"checkbox",checked:this.internalChecked,onChange:this.handleChange,id:this.id,name:this.name,disabled:this.disabled,required:this.required}),this.label&&t("label",{key:"fd07bcf92ffd329f547d3f5ed4dfec5b13a5df1a",htmlFor:this.id},this.label),this.errorMessage&&t("div",{key:"f70b5ebd6be1cb2fffb1d77dd779e1c390908f61",class:"error-message"},this.errorMessage)))}static get watchers(){return{error:["updateError"],initialValue:["initialValueChanged"],checked:["checkedChanged"]}}};d.style=h;export{d as check_box};
2
2
  //# sourceMappingURL=check-box.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as t,a as e}from"./index-n-1ZSeAs.js";const s=".wrapper{display:flex;gap:8px;flex-wrap:no-wrap;align-items:center;flex-grow:1;width:100%;}.chipHolder{display:flex;gap:8px;flex-wrap:no-wrap;align-items:center;flex:1 1 auto;overflow:scroll}.chipHolder::-webkit-scrollbar{display:none}.viewChip{background-color:var(--primary-color);color:white;max-width:150px;transition:opacity 0.3s ease}.filterChipMenuIcon{background:grey;padding:8px;color:#3f51b5;}.additionalFilterChip{}.KPI{margin-left:auto;display:flex;gap:8px;color:grey;width:auto}.kpiValue{color:black;font-size:1.1em}.kpiItem{display:flex;justify-content:center;width:max-content}.kpiLabel{width:max-content;margin-right:8px;}.clickedChip{background-color:var(--primary-color);color:white;max-width:150px}";const n=class{constructor(t){i(this,t);this.filterChips=[];this.viewChips=[];this.menuItems=[];this.additionalFilterChips=[];this.hideKpiSection=false;this.kpiValues=[];this.maxKPIsDisplayed=4;this.anchorEl=null;this.chipsReceived=false;this.selectedFilterChip=null;this.abbrNum=(i,t)=>{if(typeof i==="string"&&!isNaN(Number(i))){i=Number(i)}else if(typeof i!=="number"){throw new Error("The input must be a number or a string that can be converted to a number.")}if(typeof t!=="number"){return null}t=Math.pow(10,t);let e=["k","m","b","t"];for(let s=e.length-1;s>=0;s--){let n=Math.pow(10,(s+1)*3);if(n<=i){i=Math.round(i*t/n)/t;if(i===1e3&&s<e.length-1){i=1;s++}i+=e[s];break}}return i};this.isEmpty=i=>Array.isArray(i)&&i.length===0;this.abbreviateLabel=i=>{const t=10;if(i.length>t){const e=i.slice(0,t-3)+"...";return e}else{return null}};this.handleFilterChipToggle=i=>{this.selectedFilterChip=i;if(typeof i.onToggle==="function"){i.onToggle()}};this.handleFilterChipUntoggle=()=>{if(this.selectedFilterChip){if(typeof this.selectedFilterChip.onUntoggle==="function"){this.selectedFilterChip.onUntoggle()}this.selectedFilterChip=null}}}filterChipsChanged(i){if(!this.chipsReceived&&i.length>0){this.allFilterChips=i;this.visibleFilterChips=i}}componentWillLoad(){console.log("componentWillLoad in ChipSection",this.filterChips);if(!this.chipsReceived&&this.filterChips.length>0){this.allFilterChips=this.filterChips;this.visibleFilterChips=this.filterChips}}componentDidLoad(){console.log("componentDidLoad in ChipSection");this.chipSectionContainer=this.el.shadowRoot.querySelector("#chipSectionContainer");this.viewChipsContainer=this.el.shadowRoot.querySelector("#viewChipsContainer");this.filterChipsContainer=this.el.shadowRoot.querySelector("#filterChipsContainer");this.additionalFilterChipsContainer=this.el.shadowRoot.querySelector("#additionalFilterChipsContainer");this.kpiContainer=this.el.shadowRoot.querySelector("#kpiContainer")}handleClick(i){console.log("Click event",i)}render(){console.log("Rendering ChipSection",this.visibleFilterChips);return t("div",{key:"567b5925fcedb62ecf4f0435b7a564da46e21465",class:"wrapper",id:"chipSectionContainer"},t("div",{key:"41c9dfc9f98d2d2d42261d1a28a6755faea2def9",class:"chipHolder"},t("div",{key:"aef7cada00ecb04c01a80967a07871ced2f8fe29",id:"viewChipsContainer"},this.viewChips.map(((i,e)=>t("stencil-chip",{onOnDelete:()=>this.handleDelete("view",e),text:i.label,class:"viewChip"})))),t("udp-dynamic-container-with-menu",{key:"c82f515501ffdc2e33e4b147f370c3e88302afbb",id:"filterChipsContainer",menuItems:this.menuItems},this.selectedFilterChip&&t("stencil-chip",{key:"760c303eb392690316ea61e466ea70f2e3c32c6c",onOnDelete:this.handleFilterChipUntoggle,text:this.selectedFilterChip.label,class:"viewChip"}),console.log("filtering here...",this.filterChips),this.filterChips.map((i=>{if(this.selectedFilterChip&&i.id===this.selectedFilterChip.id){console.log("returning null...");return null}return t("stencil-chip",{text:`${i.label} ${i.value}`,class:"filterChip",onClick:()=>this.handleFilterChipToggle(i)})}))),t("div",{key:"3651cb76022e5b363edd49428df66638114b52dc",id:"additionalFilterChipsContainer"},this.additionalFilterChips.map(((i,e)=>t("stencil-chip",{onOnDelete:()=>this.handleDelete("additionalFilter",e),text:i.label,class:"additionalFilterChip"})))),!this.hideKpiSection&&t("div",{key:"931110b82bf127b6a571a8b312e4d21a691423ef",class:"KPI",id:"kpiContainer"},this.kpiValues.slice(0,this.maxKPIsDisplayed).map((i=>t("div",{class:"kpiItem"},t("span",{class:"kpiLabel"},this.abbreviateLabel(i.label)||i.label),t("span",{class:"kpiValue"},this.abbrNum(i.value,1))))))))}get el(){return e(this)}static get watchers(){return{filterChips:["filterChipsChanged"]}}};n.style=s;export{n as chip_section};
1
+ import{r as i,h as t,a as e}from"./index-n-1ZSeAs.js";const s=".wrapper{display:flex;gap:8px;flex-wrap:no-wrap;align-items:center;flex-grow:1;width:100%;}.chipHolder{display:flex;gap:8px;flex-wrap:no-wrap;align-items:center;flex:1 1 auto;overflow:scroll}.chipHolder::-webkit-scrollbar{display:none}.viewChip{background-color:var(--primary-color);color:white;max-width:150px;transition:opacity 0.3s ease}.filterChipMenuIcon{background:grey;padding:8px;color:#3f51b5;}.additionalFilterChip{}.KPI{margin-left:auto;display:flex;gap:8px;color:grey;width:auto}.kpiValue{color:black;font-size:1.1em}.kpiItem{display:flex;justify-content:center;width:max-content}.kpiLabel{width:max-content;margin-right:8px;}.clickedChip{background-color:var(--primary-color);color:white;max-width:150px}";const n=class{constructor(t){i(this,t);this.filterChips=[];this.viewChips=[];this.menuItems=[];this.additionalFilterChips=[];this.hideKpiSection=false;this.kpiValues=[];this.maxKPIsDisplayed=4;this.anchorEl=null;this.chipsReceived=false;this.selectedFilterChip=null;this.abbrNum=(i,t)=>{if(typeof i==="string"&&!isNaN(Number(i))){i=Number(i)}else if(typeof i!=="number"){throw new Error("The input must be a number or a string that can be converted to a number.")}if(typeof t!=="number"){return null}t=Math.pow(10,t);let e=["k","m","b","t"];for(let s=e.length-1;s>=0;s--){let n=Math.pow(10,(s+1)*3);if(n<=i){i=Math.round(i*t/n)/t;if(i===1e3&&s<e.length-1){i=1;s++}i+=e[s];break}}return i};this.isEmpty=i=>Array.isArray(i)&&i.length===0;this.abbreviateLabel=i=>{const t=10;if(i.length>t){const e=i.slice(0,t-3)+"...";return e}else{return null}};this.handleFilterChipToggle=i=>{this.selectedFilterChip=i;if(typeof i.onToggle==="function"){i.onToggle()}};this.handleFilterChipUntoggle=()=>{if(this.selectedFilterChip){if(typeof this.selectedFilterChip.onUntoggle==="function"){this.selectedFilterChip.onUntoggle()}this.selectedFilterChip=null}}}filterChipsChanged(i){if(!this.chipsReceived&&i.length>0){this.allFilterChips=i;this.visibleFilterChips=i}}componentWillLoad(){console.log("componentWillLoad in ChipSection",this.filterChips);if(!this.chipsReceived&&this.filterChips.length>0){this.allFilterChips=this.filterChips;this.visibleFilterChips=this.filterChips}}componentDidLoad(){console.log("componentDidLoad in ChipSection");this.chipSectionContainer=this.el.shadowRoot.querySelector("#chipSectionContainer");this.viewChipsContainer=this.el.shadowRoot.querySelector("#viewChipsContainer");this.filterChipsContainer=this.el.shadowRoot.querySelector("#filterChipsContainer");this.additionalFilterChipsContainer=this.el.shadowRoot.querySelector("#additionalFilterChipsContainer");this.kpiContainer=this.el.shadowRoot.querySelector("#kpiContainer")}handleClick(i){console.log("Click event",i)}render(){console.log("Rendering ChipSection",this.visibleFilterChips);return t("div",{key:"6994a612445bdd9a7f5460d0fd378e769302cfff",class:"wrapper",id:"chipSectionContainer"},t("div",{key:"3057c393e97488039efa740a0927f9ce88928245",class:"chipHolder"},t("div",{key:"c5451dcd088350f3a1af702d26bbc671b7d6e1b5",id:"viewChipsContainer"},this.viewChips.map(((i,e)=>t("stencil-chip",{onOnDelete:()=>this.handleDelete("view",e),text:i.label,class:"viewChip"})))),t("udp-dynamic-container-with-menu",{key:"56ea2b6731327b2c3c0ae9d2a9c0555eff34852a",id:"filterChipsContainer",menuItems:this.menuItems},this.selectedFilterChip&&t("stencil-chip",{key:"3300dd8cb28f1776cee6c288dd4f68a2d5cb2efd",onOnDelete:this.handleFilterChipUntoggle,text:this.selectedFilterChip.label,class:"viewChip"}),console.log("filtering here...",this.filterChips),this.filterChips.map((i=>{if(this.selectedFilterChip&&i.id===this.selectedFilterChip.id){console.log("returning null...");return null}return t("stencil-chip",{text:`${i.label} ${i.value}`,class:"filterChip",onClick:()=>this.handleFilterChipToggle(i)})}))),t("div",{key:"df752a43b704d1e2ca50be4990a94c3c0ae7cd1b",id:"additionalFilterChipsContainer"},this.additionalFilterChips.map(((i,e)=>t("stencil-chip",{onOnDelete:()=>this.handleDelete("additionalFilter",e),text:i.label,class:"additionalFilterChip"})))),!this.hideKpiSection&&t("div",{key:"d860a6cc904070797267c4b78f23f7b04945b07d",class:"KPI",id:"kpiContainer"},this.kpiValues.slice(0,this.maxKPIsDisplayed).map((i=>t("div",{class:"kpiItem"},t("span",{class:"kpiLabel"},this.abbreviateLabel(i.label)||i.label),t("span",{class:"kpiValue"},this.abbrNum(i.value,1))))))))}get el(){return e(this)}static get watchers(){return{filterChips:["filterChipsChanged"]}}};n.style=s;export{n as chip_section};
2
2
  //# sourceMappingURL=chip-section.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-side-grid.resource-timeline-primary-bar.entry.esm.js","sources":["src/components/my-component/UI/grid/new-grid/client-side-grid.tsx","src/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.css?tag=resource-timeline-primary-bar&encapsulation=shadow","src/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.tsx"],"sourcesContent":["import { Component, h, Prop, Watch, Event, EventEmitter } from '@stencil/core';\nimport { GridOptions, GridApi, ColDef } from 'ag-grid-community-v33';\nimport { HeaderConfig, GridApiMethods } from './interfaces/grid';\nimport { GridFunctionConfig } from './interfaces/gridFunction';\n\n@Component({\n tag: 'client-side-grid',\n shadow: false,\n})\nexport class ClientSideGrid {\n @Prop() rowData: Array<object> = [];\n @Prop() columnDefs: Array<ColDef>;\n @Prop() gridFunctions: GridFunctionConfig[] = [];\n @Prop() gridOptions: GridOptions = {};\n @Prop() gridHeaderConfig: HeaderConfig;\n @Prop() gridId: string;\n @Prop() gridApiCallback?: (api: GridApiMethods) => void;\n\n @Event() gridReady!: EventEmitter<GridApi>;\n\n private clientSideConfig!: GridOptions;\n private gridApi!: GridApi;\n\n @Watch('rowData')\n updateRowData() {\n if (this.gridApi) {\n this.gridApi.setGridOption('rowData', this.rowData);\n }\n }\n\n private handleGridReady(event: CustomEvent<GridApi>) {\n this.gridApi = event.detail;\n if(this.rowData){\n this.gridApi.setGridOption('rowData', this.rowData);\n }\n }\n\n componentWillLoad() {\n this.clientSideConfig = {\n ...this.gridOptions,\n rowModelType: 'clientSide',\n };\n }\n\n render() {\n return (\n <ag-grid-base\n columnDefs={this.columnDefs}\n gridOptions={this.clientSideConfig}\n headerConfig={this.gridHeaderConfig}\n onGridReady={e => this.handleGridReady(e)}\n gridFunctions={this.gridFunctions}\n gridId={this.gridId}\n gridApiCallback={this.gridApiCallback}\n />\n );\n }\n}\n","/* grid-primary-bar.css */\n.header-bar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n background: #d8dfe6;\n color: black;\n}\n\n.title-section {\n flex: 1;\n margin-left: 16px;\n display: flex;\n flex-direction: column;\n}\n\n.title {\n font-weight: 900;\n}\n\n.subtitle {\n display: flex;\n flex-direction: row;\n}\n\n.subtitle-status {\n display: flex;\n flex-direction: row;\n gap: 4px;\n margin-left: 4px;\n}\n\n.lock-icon {\n margin-top: -6px;\n margin-left: -4px;\n}\n\n.status-icon {\n height: 16px;\n margin-left: var(--spacing-03);\n}\n\n.date-navigation {\n display: flex;\n align-items: center;\n border-radius: 25px;\n border-color: black;\n border-style: solid;\n border-width: 1px;\n}\n\n.button-section {\n display: flex;\n align-items: center;\n padding-right: var(--spacing-05);\n padding-top: var(--spacing-03);\n padding-bottom: var(--spacing-03);\n gap: var(--spacing-03);\n}\n\n.settings-button {\n transition: transform 0.2s ease-in-out;\n}\n\n/* When the button has the .is-open class, rotate it */\n.settings-button.is-open {\n transform: rotate(45deg);\n}\n\n","import { Component, Prop, h, State } from '@stencil/core';\nimport ChevronLeft24 from '@carbon/icons/es/chevron--left/16';\nimport ChevronRight24 from '@carbon/icons/es/chevron--right/16';\nimport { getIconFromName } from '../../data-display/icons/iconUtils';\nimport { GridHeaderCustomAction } from 'src/components';\n\n@Component({\n tag: 'resource-timeline-primary-bar',\n styleUrl: 'resource-timeline-primary-bar.css',\n shadow: true,\n})\nexport class ResourceTimelinePrimaryBar {\n @Prop() gridBarTitle: string;\n @Prop() subTitle: string;\n @Prop() primaryAction: GridHeaderCustomAction;\n @Prop() secondaryAction: GridHeaderCustomAction;\n @Prop() clickForward: () => void;\n @Prop() clickBackward: () => void;\n @Prop() clickToday: () => void;\n @Prop() customFitColumnClick?: (event?: MouseEvent) => void;\n @Prop() subtitleStatus: string;\n @Prop() subtitleStatusMappingClasses: { [key: string]: string } = {};\n @Prop() expandAll: () => void;\n @Prop() collapseAll: () => void;\n @Prop() showLockedIcon: boolean;\n @Prop() disableHeaderActions: boolean;\n\n @State() isMenuOpen: boolean = false;\n private menuAnchorEl?: HTMLElement;\n\n toggleSettingsMenu = () => {\n this.isMenuOpen = !this.isMenuOpen;\n };\n\n render() {\n return (\n <div class=\"header-bar\">\n <div class=\"title-section\">\n {this.gridBarTitle || this.gridBarTitle === '' ? (\n <unity-typography variant=\"body1\" bold>\n {this.gridBarTitle}{' '}\n </unity-typography>\n ) : (\n <udp-skeleton-loading width=\"200px\"></udp-skeleton-loading>\n )}\n <div class=\"subtitle\">\n {this.subTitle || this.subTitle === '' ? (\n <unity-typography variant=\"body1\">{this.subTitle} </unity-typography>\n ) : (\n <udp-skeleton-loading width=\"200px\"></udp-skeleton-loading>\n )}\n <div class=\"subtitle-status\">\n {this.subtitleStatus && (\n <udp-chip\n variant=\"outlined\"\n size=\"small\"\n label={this.subtitleStatus}\n color={\n this.subtitleStatusMappingClasses[this.subtitleStatus] as\n | 'primary'\n | 'secondary'\n | 'error'\n | 'success'\n | 'warning'\n | 'info'\n | 'monochrome'\n | 'gray'\n }\n />\n )}\n {this.showLockedIcon && (\n <udp-icon-button\n icon={getIconFromName('lock')}\n variant=\"outlined\"\n size=\"x-small\"\n disabled\n ></udp-icon-button>\n )}\n </div>\n </div>\n </div>\n <div class=\"button-section\">\n <udp-icon-button\n class={{\n 'settings-button': true,\n 'is-open': this.isMenuOpen,\n }}\n onClick={this.toggleSettingsMenu}\n ref={(el: HTMLUdpIconButtonElement | null) => {\n this.menuAnchorEl = el ? (el as unknown as HTMLElement) : undefined;\n }}\n icon={getIconFromName('settings')}\n variant={'outlined'}\n size=\"small\"\n color=\"inherit\"\n />\n\n <udp-menu\n open={this.isMenuOpen}\n anchor={this.menuAnchorEl as unknown as HTMLElement}\n handleClose={() => (this.isMenuOpen = false)}\n >\n <udp-menu-item label=\"Expand Groups\" onItemClick={this.expandAll} />\n\n <udp-menu-item label=\"Collapse Groups\" onItemClick={this.collapseAll} />\n </udp-menu>\n {this.clickBackward && (\n <div class=\"date-navigation\">\n {this.clickBackward && (\n <udp-icon-button\n tooltip=\"Previous period\"\n icon={ChevronLeft24}\n onClick={this.clickBackward}\n size=\"small\"\n color=\"inherit\"\n disabled={this.disableHeaderActions}\n ></udp-icon-button>\n )}\n {this.clickToday && (\n <udp-button\n onClick={this.clickToday}\n size=\"small\"\n color=\"inherit\"\n disabled={this.disableHeaderActions}\n >\n Today\n </udp-button>\n )}\n {this.clickForward && (\n <udp-icon-button\n tooltip=\"Next period\"\n icon={ChevronRight24}\n onClick={this.clickForward}\n size=\"small\"\n color=\"inherit\"\n disabled={this.disableHeaderActions}\n ></udp-icon-button>\n )}\n </div>\n )}\n\n {this.secondaryAction?.onClick && (\n <udp-button\n disabled={this.secondaryAction?.disabled || this.disableHeaderActions}\n variant=\"outlined\"\n color=\"secondary\"\n onButtonClick={this.secondaryAction.onClick}\n startIcon={<udp-icon iconName={this.secondaryAction?.iconName} color={'inherit'} />}\n size=\"medium\"\n >\n {this.secondaryAction?.label}\n </udp-button>\n )}\n {this.primaryAction?.onClick && (\n <udp-button\n disabled={this.primaryAction?.disabled || this.disableHeaderActions}\n startIcon={<udp-icon iconName={this.primaryAction?.iconName} color={'inherit'} />}\n variant=\"contained\"\n onButtonClick={this.primaryAction.onClick}\n color=\"secondary\"\n >\n {this.primaryAction?.label}\n </udp-button>\n )}\n </div>\n </div>\n );\n }\n}\n"],"names":["ChevronLeft24"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASa,cAAc,GAAA,MAAA;AAJ3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAKU,QAAA,IAAO,CAAA,OAAA,GAAkB,EAAE;AAE3B,QAAA,IAAa,CAAA,aAAA,GAAyB,EAAE;AACxC,QAAA,IAAW,CAAA,WAAA,GAAgB,EAAE;AA4CtC;IAjCC,aAAa,GAAA;AACX,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC;;;AAI/C,IAAA,eAAe,CAAC,KAA2B,EAAA;AACjD,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,MAAM;AAC3B,QAAA,IAAG,IAAI,CAAC,OAAO,EAAC;YACd,IAAI,CAAC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,EAAA,0CAAA,EAAA,QAAQ,EAAE,CAAA,MAAA,IAAI,CAAC,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,QAAQ,KAAI,IAAI,CAAC,oBAAoB,EACnE,SAAS,EAAE,CAAA,CAAA,UAAA,EAAA,EAAU,QAAQ,EAAE,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAA,CAAI,EACjF,OAAO,EAAC,WAAW,EACnB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,EACzC,KAAK,EAAC,WAAW,EAEhB,EAAA,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,CACf,CACd,CACG,CACF;;;;;;;"}
1
+ {"version":3,"file":"client-side-grid.resource-timeline-primary-bar.entry.esm.js","sources":["src/components/my-component/UI/grid/new-grid/client-side-grid.tsx","src/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.css?tag=resource-timeline-primary-bar&encapsulation=shadow","src/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.tsx"],"sourcesContent":["import { Component, h, Prop, Watch, Event, EventEmitter } from '@stencil/core';\nimport { GridOptions, GridApi, ColDef } from 'ag-grid-community-v33';\nimport { HeaderConfig, GridApiMethods } from './interfaces/grid';\nimport { GridFunctionConfig } from './interfaces/gridFunction';\n\n@Component({\n tag: 'client-side-grid',\n shadow: false,\n})\nexport class ClientSideGrid {\n @Prop() rowData: Array<object> = [];\n @Prop() columnDefs: Array<ColDef>;\n @Prop() gridFunctions: GridFunctionConfig[] = [];\n @Prop() gridOptions: GridOptions = {};\n @Prop() gridHeaderConfig: HeaderConfig;\n @Prop() gridId: string;\n @Prop() gridApiCallback?: (api: GridApiMethods) => void;\n\n @Event() gridReady!: EventEmitter<GridApi>;\n\n private clientSideConfig!: GridOptions;\n private gridApi!: GridApi;\n\n @Watch('rowData')\n updateRowData() {\n if (this.gridApi) {\n this.gridApi.setGridOption('rowData', this.rowData);\n }\n }\n\n private handleGridReady(event: CustomEvent<GridApi>) {\n this.gridApi = event.detail;\n if(this.rowData){\n this.gridApi.setGridOption('rowData', this.rowData);\n }\n }\n\n componentWillLoad() {\n this.clientSideConfig = {\n ...this.gridOptions,\n rowModelType: 'clientSide',\n };\n }\n\n render() {\n return (\n <ag-grid-base\n columnDefs={this.columnDefs}\n gridOptions={this.clientSideConfig}\n headerConfig={this.gridHeaderConfig}\n onGridReady={e => this.handleGridReady(e)}\n gridFunctions={this.gridFunctions}\n gridId={this.gridId}\n gridApiCallback={this.gridApiCallback}\n />\n );\n }\n}\n","/* grid-primary-bar.css */\n.header-bar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n background: #d8dfe6;\n color: black;\n}\n\n.title-section {\n flex: 1;\n margin-left: 16px;\n display: flex;\n flex-direction: column;\n}\n\n.title {\n font-weight: 900;\n}\n\n.subtitle {\n display: flex;\n flex-direction: row;\n}\n\n.subtitle-status {\n display: flex;\n flex-direction: row;\n gap: 4px;\n margin-left: 4px;\n}\n\n.lock-icon {\n margin-top: -6px;\n margin-left: -4px;\n}\n\n.status-icon {\n height: 16px;\n margin-left: var(--spacing-03);\n}\n\n.date-navigation {\n display: flex;\n align-items: center;\n border-radius: 25px;\n border-color: black;\n border-style: solid;\n border-width: 1px;\n}\n\n.button-section {\n display: flex;\n align-items: center;\n padding-right: var(--spacing-05);\n padding-top: var(--spacing-03);\n padding-bottom: var(--spacing-03);\n gap: var(--spacing-03);\n}\n\n.settings-button {\n transition: transform 0.2s ease-in-out;\n}\n\n/* When the button has the .is-open class, rotate it */\n.settings-button.is-open {\n transform: rotate(45deg);\n}\n\n","import { Component, Prop, h, State } from '@stencil/core';\nimport ChevronLeft24 from '@carbon/icons/es/chevron--left/16';\nimport ChevronRight24 from '@carbon/icons/es/chevron--right/16';\nimport { getIconFromName } from '../../data-display/icons/iconUtils';\nimport { GridHeaderCustomAction } from 'src/components';\n\n@Component({\n tag: 'resource-timeline-primary-bar',\n styleUrl: 'resource-timeline-primary-bar.css',\n shadow: true,\n})\nexport class ResourceTimelinePrimaryBar {\n @Prop() gridBarTitle: string;\n @Prop() subTitle: string;\n @Prop() primaryAction: GridHeaderCustomAction;\n @Prop() secondaryAction: GridHeaderCustomAction;\n @Prop() clickForward: () => void;\n @Prop() clickBackward: () => void;\n @Prop() clickToday: () => void;\n @Prop() customFitColumnClick?: (event?: MouseEvent) => void;\n @Prop() subtitleStatus: string;\n @Prop() subtitleStatusMappingClasses: { [key: string]: string } = {};\n @Prop() expandAll: () => void;\n @Prop() collapseAll: () => void;\n @Prop() showLockedIcon: boolean;\n @Prop() disableHeaderActions: boolean;\n\n @State() isMenuOpen: boolean = false;\n private menuAnchorEl?: HTMLElement;\n\n toggleSettingsMenu = () => {\n this.isMenuOpen = !this.isMenuOpen;\n };\n\n render() {\n return (\n <div class=\"header-bar\">\n <div class=\"title-section\">\n {this.gridBarTitle || this.gridBarTitle === '' ? (\n <unity-typography variant=\"body1\" bold>\n {this.gridBarTitle}{' '}\n </unity-typography>\n ) : (\n <udp-skeleton-loading width=\"200px\"></udp-skeleton-loading>\n )}\n <div class=\"subtitle\">\n {this.subTitle || this.subTitle === '' ? (\n <unity-typography variant=\"body1\">{this.subTitle} </unity-typography>\n ) : (\n <udp-skeleton-loading width=\"200px\"></udp-skeleton-loading>\n )}\n <div class=\"subtitle-status\">\n {this.subtitleStatus && (\n <udp-chip\n variant=\"outlined\"\n size=\"small\"\n label={this.subtitleStatus}\n color={\n this.subtitleStatusMappingClasses[this.subtitleStatus] as\n | 'primary'\n | 'secondary'\n | 'error'\n | 'success'\n | 'warning'\n | 'info'\n | 'monochrome'\n | 'gray'\n }\n />\n )}\n {this.showLockedIcon && (\n <udp-icon-button\n icon={getIconFromName('lock')}\n variant=\"outlined\"\n size=\"x-small\"\n disabled\n ></udp-icon-button>\n )}\n </div>\n </div>\n </div>\n <div class=\"button-section\">\n <udp-icon-button\n class={{\n 'settings-button': true,\n 'is-open': this.isMenuOpen,\n }}\n onClick={this.toggleSettingsMenu}\n ref={(el: HTMLUdpIconButtonElement | null) => {\n this.menuAnchorEl = el ? (el as unknown as HTMLElement) : undefined;\n }}\n icon={getIconFromName('settings')}\n variant={'outlined'}\n size=\"small\"\n color=\"inherit\"\n />\n\n <udp-menu\n open={this.isMenuOpen}\n anchor={this.menuAnchorEl as unknown as HTMLElement}\n handleClose={() => (this.isMenuOpen = false)}\n >\n <udp-menu-item label=\"Expand Groups\" onItemClick={this.expandAll} />\n\n <udp-menu-item label=\"Collapse Groups\" onItemClick={this.collapseAll} />\n </udp-menu>\n {this.clickBackward && (\n <div class=\"date-navigation\">\n {this.clickBackward && (\n <udp-icon-button\n tooltip=\"Previous period\"\n icon={ChevronLeft24}\n onClick={this.clickBackward}\n size=\"small\"\n color=\"inherit\"\n disabled={this.disableHeaderActions}\n ></udp-icon-button>\n )}\n {this.clickToday && (\n <udp-button\n onClick={this.clickToday}\n size=\"small\"\n color=\"inherit\"\n disabled={this.disableHeaderActions}\n >\n Today\n </udp-button>\n )}\n {this.clickForward && (\n <udp-icon-button\n tooltip=\"Next period\"\n icon={ChevronRight24}\n onClick={this.clickForward}\n size=\"small\"\n color=\"inherit\"\n disabled={this.disableHeaderActions}\n ></udp-icon-button>\n )}\n </div>\n )}\n\n {this.secondaryAction?.onClick && (\n <udp-button\n disabled={this.secondaryAction?.disabled || this.disableHeaderActions}\n variant=\"outlined\"\n color=\"secondary\"\n onButtonClick={this.secondaryAction.onClick}\n startIcon={<udp-icon iconName={this.secondaryAction?.iconName} color={'inherit'} />}\n size=\"medium\"\n >\n {this.secondaryAction?.label}\n </udp-button>\n )}\n {this.primaryAction?.onClick && (\n <udp-button\n disabled={this.primaryAction?.disabled || this.disableHeaderActions}\n startIcon={<udp-icon iconName={this.primaryAction?.iconName} color={'inherit'} />}\n variant=\"contained\"\n onButtonClick={this.primaryAction.onClick}\n color=\"secondary\"\n >\n {this.primaryAction?.label}\n </udp-button>\n )}\n </div>\n </div>\n );\n }\n}\n"],"names":["ChevronLeft24"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASa,cAAc,GAAA,MAAA;AAJ3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAKU,QAAA,IAAO,CAAA,OAAA,GAAkB,EAAE;AAE3B,QAAA,IAAa,CAAA,aAAA,GAAyB,EAAE;AACxC,QAAA,IAAW,CAAA,WAAA,GAAgB,EAAE;AA4CtC;IAjCC,aAAa,GAAA;AACX,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC;;;AAI/C,IAAA,eAAe,CAAC,KAA2B,EAAA;AACjD,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,MAAM;AAC3B,QAAA,IAAG,IAAI,CAAC,OAAO,EAAC;YACd,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC;;;IAIvD,iBAAiB,GAAA;QACf,IAAI,CAAC,gBAAgB,GAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAChB,IAAI,CAAC,WAAW,CAAA,EAAA,EACnB,YAAY,EAAE,YAAY,EAAA,CAC3B;;IAGH,MAAM,GAAA;AACJ,QAAA,QACE,CACE,CAAA,cAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,WAAW,EAAE,IAAI,CAAC,gBAAgB,EAClC,YAAY,EAAE,IAAI,CAAC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AC,OAAO,EACzC,KAAK,EAAC,WAAW,EAEhB,EAAA,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,CACf,CACd,CACG,CACF;;;;;;;"}
@@ -1,2 +1,2 @@
1
- import{r as o,c as i,h as e}from"./index-n-1ZSeAs.js";import t from"@carbon/icons/es/chevron--left/16";import s from"@carbon/icons/es/chevron--right/16";import{g as n}from"./iconUtils-KSv32PVD.js";import"@carbon/icons/es/add/16";import"@carbon/icons/es/add/32";import"@carbon/icons/es/add--alt/16";import"@carbon/icons/es/add--filled/16";import"@carbon/icons/es/arrows--horizontal/16";import"@carbon/icons/es/attachment/16";import"@carbon/icons/es/batch-job/16";import"@carbon/icons/es/box/16";import"@carbon/icons/es/close/16";import"@carbon/icons/es/close/24";import"@carbon/icons/es/close/32";import"@carbon/icons/es/close--filled/16";import"@carbon/icons/es/close--outline/16";import"@carbon/icons/es/checkmark/16";import"@carbon/icons/es/checkmark/24";import"@carbon/icons/es/checkmark/32";import"@carbon/icons/es/chevron--down/16";import"@carbon/icons/es/data-enrichment/16";import"@carbon/icons/es/document/16";import"@carbon/icons/es/document--add/16";import"@carbon/icons/es/document--attachment/16";import"@carbon/icons/es/document--pdf/16";import"@carbon/icons/es/draggable/16";import"@carbon/icons/es/edit/16";import"@carbon/icons/es/export/16";import"@carbon/icons/es/flag/16";import"@carbon/icons/es/information/16";import"@carbon/icons/es/information/32";import"@carbon/icons/es/link/16";import"@carbon/icons/es/overflow-menu--vertical/16";import"@carbon/icons/es/overflow-menu--vertical/32";import"@carbon/icons/es/return/16";import"@carbon/icons/es/save/16";import"@carbon/icons/es/settings/16";import"@carbon/icons/es/subtract/16";import"@carbon/icons/es/subtract--alt/16";import"@carbon/icons/es/subtract--filled/16";import"@carbon/icons/es/trash-can/16";import"@carbon/icons/es/user/16";import"@carbon/icons/es/view/16";import"@carbon/icons/es/warning/16";import"@carbon/icons/es/warning/32";import"@carbon/icons/es/warning--alt/16";import"@carbon/icons/es/warning--alt/32";import"@carbon/icons/es/product/16";import"@carbon/icons/es/workspace/16";import"@carbon/icons/es/arrow--up/16";import"@carbon/icons/es/arrow--down/16";import"@carbon/icons/es/arrow--right/16";import"@carbon/icons/es/arrow--left/16";import"@carbon/icons/es/copy/16";import"@carbon/icons/es/star/16";import"@carbon/icons/es/data-table/16";import"@carbon/icons/es/fit-to-width/16";import"@carbon/icons/es/search--advanced/16";import"@carbon/icons/es/reset/16";import"@carbon/icons/es/column/16";import"@carbon/icons/es/column--delete/16";import"@carbon/icons/es/watson-health/rotate--360/16";import"@carbon/icons/es/filter/16";import"@carbon/icons/es/app-connectivity/16";import"@carbon/icons/es/text--font/16";import"@carbon/icons/es/text--long-paragraph/16";import"@carbon/icons/es/character--whole-number/16";import"@carbon/icons/es/checkbox--checked/16";import"@carbon/icons/es/radio-button--checked/16";import"@carbon/icons/es/event--schedule/16";import"@carbon/icons/es/view--off/16";import"@carbon/icons/es/time/16";import"@carbon/icons/es/calendar/16";import"@carbon/icons/es/list--checked/16";import"@carbon/icons/es/list--bulleted/16";import"@carbon/icons/es/cloud--upload/16";import"@carbon/icons/es/locked/16";import"@carbon/icons/es/pause/16";import"@carbon/icons/es/unlocked/16";import"@carbon/icons/es/send/16";import"@carbon/icons/es/email/16";import"@carbon/icons/es/checkmark--outline/16";import"@carbon/icons/es/migrate--alt/16";import"@carbon/icons/es/checkbox--checked--filled/16";import"@carbon/icons/es/checkbox/16";const c=class{constructor(e){o(this,e);this.gridReady=i(this,"gridReady");this.rowData=[];this.gridFunctions=[];this.gridOptions={}}updateRowData(){if(this.gridApi){this.gridApi.setGridOption("rowData",this.rowData)}}handleGridReady(o){this.gridApi=o.detail;if(this.rowData){this.gridApi.setGridOption("rowData",this.rowData)}}componentWillLoad(){this.clientSideConfig=Object.assign(Object.assign({},this.gridOptions),{rowModelType:"clientSide"})}render(){return e("ag-grid-base",{key:"f98ef8ab8467a6167650ece8054f8064c3ded664",columnDefs:this.columnDefs,gridOptions:this.clientSideConfig,headerConfig:this.gridHeaderConfig,onGridReady:o=>this.handleGridReady(o),gridFunctions:this.gridFunctions,gridId:this.gridId,gridApiCallback:this.gridApiCallback})}static get watchers(){return{rowData:["updateRowData"]}}};const a=".header-bar{display:flex;justify-content:space-between;align-items:center;width:100%;background:#d8dfe6;color:black}.title-section{flex:1;margin-left:16px;display:flex;flex-direction:column}.title{font-weight:900}.subtitle{display:flex;flex-direction:row}.subtitle-status{display:flex;flex-direction:row;gap:4px;margin-left:4px}.lock-icon{margin-top:-6px;margin-left:-4px}.status-icon{height:16px;margin-left:var(--spacing-03)}.date-navigation{display:flex;align-items:center;border-radius:25px;border-color:black;border-style:solid;border-width:1px}.button-section{display:flex;align-items:center;padding-right:var(--spacing-05);padding-top:var(--spacing-03);padding-bottom:var(--spacing-03);gap:var(--spacing-03)}.settings-button{transition:transform 0.2s ease-in-out}.settings-button.is-open{transform:rotate(45deg)}";const r=class{constructor(i){o(this,i);this.subtitleStatusMappingClasses={};this.isMenuOpen=false;this.toggleSettingsMenu=()=>{this.isMenuOpen=!this.isMenuOpen}}render(){var o,i,c,a,r,d,l,b;return e("div",{key:"e833fd32de19aec8b8409849ad251222991ec584",class:"header-bar"},e("div",{key:"fb33e6f247071a91f6f12663e9429f060b160783",class:"title-section"},this.gridBarTitle||this.gridBarTitle===""?e("unity-typography",{variant:"body1",bold:true},this.gridBarTitle," "):e("udp-skeleton-loading",{width:"200px"}),e("div",{key:"27658219740c3d09a860e5add1e7b9b9d8352d38",class:"subtitle"},this.subTitle||this.subTitle===""?e("unity-typography",{variant:"body1"},this.subTitle," "):e("udp-skeleton-loading",{width:"200px"}),e("div",{key:"eed427fbafcd94c59297851cb94e9c48afaa7e28",class:"subtitle-status"},this.subtitleStatus&&e("udp-chip",{key:"a37c003646fecffa65e355303daf11828e2df62c",variant:"outlined",size:"small",label:this.subtitleStatus,color:this.subtitleStatusMappingClasses[this.subtitleStatus]}),this.showLockedIcon&&e("udp-icon-button",{key:"dbb077ef7541b6e19d52ad5a4ece1d65d30e906a",icon:n("lock"),variant:"outlined",size:"x-small",disabled:true})))),e("div",{key:"aa2076968454f8ac782ec9a2d379c6ce6f5fd0d9",class:"button-section"},e("udp-icon-button",{key:"b56f9a0ec21be3aa96f0cb486aca2c566a3f659e",class:{"settings-button":true,"is-open":this.isMenuOpen},onClick:this.toggleSettingsMenu,ref:o=>{this.menuAnchorEl=o?o:undefined},icon:n("settings"),variant:"outlined",size:"small",color:"inherit"}),e("udp-menu",{key:"a48459399724333efdfa72ff1dd62eddec9ab2e7",open:this.isMenuOpen,anchor:this.menuAnchorEl,handleClose:()=>this.isMenuOpen=false},e("udp-menu-item",{key:"a35fdb3c767535ff8a6e3ee6bd83656f0670f8b9",label:"Expand Groups",onItemClick:this.expandAll}),e("udp-menu-item",{key:"5b6ebd79a84022644b8eb8fb7627301b236d8e1a",label:"Collapse Groups",onItemClick:this.collapseAll})),this.clickBackward&&e("div",{key:"83cdda300ac910486e19f1bdab1a81c92ca60afc",class:"date-navigation"},this.clickBackward&&e("udp-icon-button",{key:"3ac9e797490b209ec668f4efaf9257d7a0bf1333",tooltip:"Previous period",icon:t,onClick:this.clickBackward,size:"small",color:"inherit",disabled:this.disableHeaderActions}),this.clickToday&&e("udp-button",{key:"f48e3a752414f6b5121b2bc21928dae309dfc03b",onClick:this.clickToday,size:"small",color:"inherit",disabled:this.disableHeaderActions},"Today"),this.clickForward&&e("udp-icon-button",{key:"75a395dd9b53169d3c65e4d78da318e77cc6d78a",tooltip:"Next period",icon:s,onClick:this.clickForward,size:"small",color:"inherit",disabled:this.disableHeaderActions})),((o=this.secondaryAction)===null||o===void 0?void 0:o.onClick)&&e("udp-button",{key:"337fa812c70ac00ee93c729974e53cfd4eea6aae",disabled:((i=this.secondaryAction)===null||i===void 0?void 0:i.disabled)||this.disableHeaderActions,variant:"outlined",color:"secondary",onButtonClick:this.secondaryAction.onClick,startIcon:e("udp-icon",{iconName:(c=this.secondaryAction)===null||c===void 0?void 0:c.iconName,color:"inherit"}),size:"medium"},(a=this.secondaryAction)===null||a===void 0?void 0:a.label),((r=this.primaryAction)===null||r===void 0?void 0:r.onClick)&&e("udp-button",{key:"e765055e5426c4e15e2440d3e45e3ced77acfb0e",disabled:((d=this.primaryAction)===null||d===void 0?void 0:d.disabled)||this.disableHeaderActions,startIcon:e("udp-icon",{iconName:(l=this.primaryAction)===null||l===void 0?void 0:l.iconName,color:"inherit"}),variant:"contained",onButtonClick:this.primaryAction.onClick,color:"secondary"},(b=this.primaryAction)===null||b===void 0?void 0:b.label)))}};r.style=a;export{c as client_side_grid,r as resource_timeline_primary_bar};
1
+ import{r as o,c as i,h as t}from"./index-n-1ZSeAs.js";import e from"@carbon/icons/es/chevron--left/16";import s from"@carbon/icons/es/chevron--right/16";import{g as n}from"./iconUtils-BsS5FaLc.js";import"./iconMapping-C_IYrnjG.js";import"@carbon/icons/es/add/16";import"@carbon/icons/es/add/32";import"@carbon/icons/es/add--alt/16";import"@carbon/icons/es/add--filled/16";import"@carbon/icons/es/arrows--horizontal/16";import"@carbon/icons/es/attachment/16";import"@carbon/icons/es/batch-job/16";import"@carbon/icons/es/box/16";import"@carbon/icons/es/close/16";import"@carbon/icons/es/close/24";import"@carbon/icons/es/close/32";import"@carbon/icons/es/close--filled/16";import"@carbon/icons/es/close--outline/16";import"@carbon/icons/es/checkmark/16";import"@carbon/icons/es/checkmark/24";import"@carbon/icons/es/checkmark/32";import"@carbon/icons/es/chevron--down/16";import"@carbon/icons/es/data-enrichment/16";import"@carbon/icons/es/document/16";import"@carbon/icons/es/document--add/16";import"@carbon/icons/es/document--attachment/16";import"@carbon/icons/es/document--pdf/16";import"@carbon/icons/es/draggable/16";import"@carbon/icons/es/edit/16";import"@carbon/icons/es/export/16";import"@carbon/icons/es/flag/16";import"@carbon/icons/es/information/16";import"@carbon/icons/es/information/32";import"@carbon/icons/es/link/16";import"@carbon/icons/es/overflow-menu--vertical/16";import"@carbon/icons/es/overflow-menu--vertical/32";import"@carbon/icons/es/return/16";import"@carbon/icons/es/save/16";import"@carbon/icons/es/settings/16";import"@carbon/icons/es/subtract/16";import"@carbon/icons/es/subtract--alt/16";import"@carbon/icons/es/subtract--filled/16";import"@carbon/icons/es/trash-can/16";import"@carbon/icons/es/user/16";import"@carbon/icons/es/view/16";import"@carbon/icons/es/warning/16";import"@carbon/icons/es/warning/32";import"@carbon/icons/es/warning--alt/16";import"@carbon/icons/es/warning--alt/32";import"@carbon/icons/es/product/16";import"@carbon/icons/es/workspace/16";import"@carbon/icons/es/arrow--up/16";import"@carbon/icons/es/arrow--down/16";import"@carbon/icons/es/arrow--right/16";import"@carbon/icons/es/arrow--left/16";import"@carbon/icons/es/copy/16";import"@carbon/icons/es/star/16";import"@carbon/icons/es/data-table/16";import"@carbon/icons/es/fit-to-width/16";import"@carbon/icons/es/search--advanced/16";import"@carbon/icons/es/reset/16";import"@carbon/icons/es/column/16";import"@carbon/icons/es/column--delete/16";import"@carbon/icons/es/watson-health/rotate--360/16";import"@carbon/icons/es/filter/16";import"@carbon/icons/es/app-connectivity/16";import"@carbon/icons/es/text--font/16";import"@carbon/icons/es/text--long-paragraph/16";import"@carbon/icons/es/character--whole-number/16";import"@carbon/icons/es/checkbox--checked/16";import"@carbon/icons/es/radio-button--checked/16";import"@carbon/icons/es/event--schedule/16";import"@carbon/icons/es/view--off/16";import"@carbon/icons/es/time/16";import"@carbon/icons/es/calendar/16";import"@carbon/icons/es/list--checked/16";import"@carbon/icons/es/list--bulleted/16";import"@carbon/icons/es/cloud--upload/16";import"@carbon/icons/es/locked/16";import"@carbon/icons/es/pause/16";import"@carbon/icons/es/unlocked/16";import"@carbon/icons/es/send/16";import"@carbon/icons/es/email/16";import"@carbon/icons/es/checkmark--outline/16";import"@carbon/icons/es/migrate--alt/16";import"@carbon/icons/es/checkbox--checked--filled/16";import"@carbon/icons/es/checkbox/16";const c=class{constructor(t){o(this,t);this.gridReady=i(this,"gridReady");this.rowData=[];this.gridFunctions=[];this.gridOptions={}}updateRowData(){if(this.gridApi){this.gridApi.setGridOption("rowData",this.rowData)}}handleGridReady(o){this.gridApi=o.detail;if(this.rowData){this.gridApi.setGridOption("rowData",this.rowData)}}componentWillLoad(){this.clientSideConfig=Object.assign(Object.assign({},this.gridOptions),{rowModelType:"clientSide"})}render(){return t("ag-grid-base",{key:"321439e94c708934f0ad39e17e1f4b0006eafad1",columnDefs:this.columnDefs,gridOptions:this.clientSideConfig,headerConfig:this.gridHeaderConfig,onGridReady:o=>this.handleGridReady(o),gridFunctions:this.gridFunctions,gridId:this.gridId,gridApiCallback:this.gridApiCallback})}static get watchers(){return{rowData:["updateRowData"]}}};const r=".header-bar{display:flex;justify-content:space-between;align-items:center;width:100%;background:#d8dfe6;color:black}.title-section{flex:1;margin-left:16px;display:flex;flex-direction:column}.title{font-weight:900}.subtitle{display:flex;flex-direction:row}.subtitle-status{display:flex;flex-direction:row;gap:4px;margin-left:4px}.lock-icon{margin-top:-6px;margin-left:-4px}.status-icon{height:16px;margin-left:var(--spacing-03)}.date-navigation{display:flex;align-items:center;border-radius:25px;border-color:black;border-style:solid;border-width:1px}.button-section{display:flex;align-items:center;padding-right:var(--spacing-05);padding-top:var(--spacing-03);padding-bottom:var(--spacing-03);gap:var(--spacing-03)}.settings-button{transition:transform 0.2s ease-in-out}.settings-button.is-open{transform:rotate(45deg)}";const a=class{constructor(i){o(this,i);this.subtitleStatusMappingClasses={};this.isMenuOpen=false;this.toggleSettingsMenu=()=>{this.isMenuOpen=!this.isMenuOpen}}render(){var o,i,c,r,a,d,b,l;return t("div",{key:"98e48c02f009b5c1eb67e1878e52d85d9b0a82af",class:"header-bar"},t("div",{key:"832ea9920afa2121193ba6ee3e03bc9fdf7f8de3",class:"title-section"},this.gridBarTitle||this.gridBarTitle===""?t("unity-typography",{variant:"body1",bold:true},this.gridBarTitle," "):t("udp-skeleton-loading",{width:"200px"}),t("div",{key:"dbcbb63ce53abc22b1780f70e40a62170c069716",class:"subtitle"},this.subTitle||this.subTitle===""?t("unity-typography",{variant:"body1"},this.subTitle," "):t("udp-skeleton-loading",{width:"200px"}),t("div",{key:"5ccc6471c3831fd26746b43783008d96c3bb3bbc",class:"subtitle-status"},this.subtitleStatus&&t("udp-chip",{key:"f8bf50ad772d9bf9a256f4268768920960e48882",variant:"outlined",size:"small",label:this.subtitleStatus,color:this.subtitleStatusMappingClasses[this.subtitleStatus]}),this.showLockedIcon&&t("udp-icon-button",{key:"9e327c7c0cf3bd62dd851f91a7fa6521dd8616c3",icon:n("lock"),variant:"outlined",size:"x-small",disabled:true})))),t("div",{key:"6a74d6c9989a872e2fcd001ad0e15b5b8a992dbb",class:"button-section"},t("udp-icon-button",{key:"d4f83bdd49484e3ff7a73ab09ac8c88515229aac",class:{"settings-button":true,"is-open":this.isMenuOpen},onClick:this.toggleSettingsMenu,ref:o=>{this.menuAnchorEl=o?o:undefined},icon:n("settings"),variant:"outlined",size:"small",color:"inherit"}),t("udp-menu",{key:"4a94a9a970e1a479573450bb5957c52e49cf3acc",open:this.isMenuOpen,anchor:this.menuAnchorEl,handleClose:()=>this.isMenuOpen=false},t("udp-menu-item",{key:"6cf3404adb7efbbbdca1f6a5b26528afae3a772c",label:"Expand Groups",onItemClick:this.expandAll}),t("udp-menu-item",{key:"942d1bc57081727f204b1bf04438eea2c9d4363a",label:"Collapse Groups",onItemClick:this.collapseAll})),this.clickBackward&&t("div",{key:"b4bb8114a0ebc4778605b10d3aaf6ede34caeb76",class:"date-navigation"},this.clickBackward&&t("udp-icon-button",{key:"cdc8969212de03b8aced430f59c7384c6f9e6bae",tooltip:"Previous period",icon:e,onClick:this.clickBackward,size:"small",color:"inherit",disabled:this.disableHeaderActions}),this.clickToday&&t("udp-button",{key:"428c853c2541dc79b92690d382ba88ee22782b62",onClick:this.clickToday,size:"small",color:"inherit",disabled:this.disableHeaderActions},"Today"),this.clickForward&&t("udp-icon-button",{key:"5a2eaf8e12fb9f5da08be86e41b9200dd1078b52",tooltip:"Next period",icon:s,onClick:this.clickForward,size:"small",color:"inherit",disabled:this.disableHeaderActions})),((o=this.secondaryAction)===null||o===void 0?void 0:o.onClick)&&t("udp-button",{key:"991a10506f2493c0ed8f24737b90d10dc8a433f9",disabled:((i=this.secondaryAction)===null||i===void 0?void 0:i.disabled)||this.disableHeaderActions,variant:"outlined",color:"secondary",onButtonClick:this.secondaryAction.onClick,startIcon:t("udp-icon",{iconName:(c=this.secondaryAction)===null||c===void 0?void 0:c.iconName,color:"inherit"}),size:"medium"},(r=this.secondaryAction)===null||r===void 0?void 0:r.label),((a=this.primaryAction)===null||a===void 0?void 0:a.onClick)&&t("udp-button",{key:"d6a4036fc3e2437ccc626325eb6605b4014762cb",disabled:((d=this.primaryAction)===null||d===void 0?void 0:d.disabled)||this.disableHeaderActions,startIcon:t("udp-icon",{iconName:(b=this.primaryAction)===null||b===void 0?void 0:b.iconName,color:"inherit"}),variant:"contained",onButtonClick:this.primaryAction.onClick,color:"secondary"},(l=this.primaryAction)===null||l===void 0?void 0:l.label)))}};a.style=r;export{c as client_side_grid,a as resource_timeline_primary_bar};
2
2
  //# sourceMappingURL=client-side-grid_2.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["registerInstance","createEvent","h","ChevronLeft16","ChevronRight24","getIconFromName","ClientSideGrid","constructor","hostRef","this","gridReady","rowData","gridFunctions","gridOptions","updateRowData","gridApi","setGridOption","handleGridReady","event","detail","componentWillLoad","clientSideConfig","Object","assign","rowModelType","render","key","columnDefs","headerConfig","gridHeaderConfig","onGridReady","e","gridId","gridApiCallback","watchers","resourceTimelinePrimaryBarCss","ResourceTimelinePrimaryBar","subtitleStatusMappingClasses","isMenuOpen","toggleSettingsMenu","_a","_b","_c","_d","_e","_f","_g","_h","class","gridBarTitle","variant","bold","width","subTitle","subtitleStatus","size","label","color","showLockedIcon","icon","disabled","onClick","ref","el","menuAnchorEl","undefined","open","anchor","handleClose","onItemClick","expandAll","collapseAll","clickBackward","tooltip","disableHeaderActions","clickToday","clickForward","secondaryAction","onButtonClick","startIcon","iconName","primaryAction","style"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,MAAS,6BACpDC,MAAmB,2CACnBC,MAAoB,iDACbC,MAAuB,gCAC9B,gCACA,gCACA,qCACA,wCACA,+CACA,uCACA,sCACA,gCACA,kCACA,kCACA,kCACA,0CACA,2CACA,sCACA,sCACA,sCACA,0CACA,4CACA,qCACA,0CACA,iDACA,0CACA,sCACA,iCACA,mCACA,iCACA,wCACA,wCACA,iCACA,oDACA,oDACA,mCACA,iCACA,qCACA,qCACA,0CACA,6CACA,sCACA,iCACA,iCACA,oCACA,oCACA,yCACA,yCACA,oCACA,sCACA,sCACA,wCACA,yCACA,wCACA,iCACA,iCACA,uCACA,yCACA,6CACA,kCACA,mCACA,2CACA,sDACA,mCACA,6CACA,uCACA,iDACA,oDACA,8CACA,kDACA,4CACA,sCACA,iCACA,qCACA,0CACA,2CACA,0CACA,mCACA,kCACA,qCACA,iCACA,kCACA,+CACA,yCACA,sDACA,+BAEP,MAAMC,EAAiB,MACnB,WAAAC,CAAYC,GACRR,EAAiBS,KAAMD,GACvBC,KAAKC,UAAYT,EAAYQ,KAAM,aACnCA,KAAKE,QAAU,GACfF,KAAKG,cAAgB,GACrBH,KAAKI,YAAc,CAAC,CACxB,CACA,aAAAC,GACI,GAAIL,KAAKM,QAAS,CACdN,KAAKM,QAAQC,cAAc,UAAWP,KAAKE,QAC/C,CACJ,CACA,eAAAM,CAAgBC,GACZT,KAAKM,QAAUG,EAAMC,OACrB,GAAIV,KAAKE,QAAS,CACdF,KAAKM,QAAQC,cAAc,UAAWP,KAAKE,QAC/C,CACJ,CACA,iBAAAS,GACIX,KAAKY,iBAAmBC,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGd,KAAKI,aAAc,CAAEW,aAAc,cAC/F,CACA,MAAAC,GACI,OAAQvB,EAAE,eAAgB,CAAEwB,IAAK,2CAA4CC,WAAYlB,KAAKkB,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AY,OAAS,EAAIA,EAAGqB,UAAa3D,EAAE,aAAc,CAAEwB,IAAK,2CAA4CkC,WAAYnB,EAAKhC,KAAKoE,mBAAqB,MAAQpC,SAAY,OAAS,EAAIA,EAAGmB,WAAanD,KAAKiE,qBAAsBxB,QAAS,WAAYO,MAAO,YAAaqB,cAAerE,KAAKoE,gBAAgBhB,QAASkB,UAAW7E,EAAE,WAAY,CAAE8E,UAAWtC,EAAKjC,KAAKoE,mBAAqB,MAAQnC,SAAY,OAAS,EAAIA,EAAGsC,SAAUvB,MAAO,YAAcF,KAAM,WAAaZ,EAAKlC,KAAKoE,mBAAqB,MAAQlC,SAAY,OAAS,EAAIA,EAAGa,SAAWZ,EAAKnC,KAAKwE,iBAAmB,MAAQrC,SAAY,OAAS,EAAIA,EAAGiB,UAAa3D,EAAE,aAAc,CAAEwB,IAAK,2CAA4CkC,WAAYf,EAAKpC,KAAKwE,iBAAmB,MAAQpC,SAAY,OAAS,EAAIA,EAAGe,WAAanD,KAAKiE,qBAAsBK,UAAW7E,EAAE,WAAY,CAAE8E,UAAWlC,EAAKrC,KAAKwE,iBAAmB,MAAQnC,SAAY,OAAS,EAAIA,EAAGkC,SAAUvB,MAAO,YAAcP,QAAS,YAAa4B,cAAerE,KAAKwE,cAAcpB,QAASJ,MAAO,cAAgBV,EAAKtC,KAAKwE,iBAAmB,MAAQlC,SAAY,OAAS,EAAIA,EAAGS,QACz5E,GAEJpB,EAA2B8C,MAAQ/C,SAE1B7B,sBAAoC8B","ignoreList":[]}
1
+ {"version":3,"names":["registerInstance","createEvent","h","ChevronLeft16","ChevronRight24","getIconFromName","ClientSideGrid","constructor","hostRef","this","gridReady","rowData","gridFunctions","gridOptions","updateRowData","gridApi","setGridOption","handleGridReady","event","detail","componentWillLoad","clientSideConfig","Object","assign","rowModelType","render","key","columnDefs","headerConfig","gridHeaderConfig","onGridReady","e","gridId","gridApiCallback","watchers","resourceTimelinePrimaryBarCss","ResourceTimelinePrimaryBar","subtitleStatusMappingClasses","isMenuOpen","toggleSettingsMenu","_a","_b","_c","_d","_e","_f","_g","_h","class","gridBarTitle","variant","bold","width","subTitle","subtitleStatus","size","label","color","showLockedIcon","icon","disabled","onClick","ref","el","menuAnchorEl","undefined","open","anchor","handleClose","onItemClick","expandAll","collapseAll","clickBackward","tooltip","disableHeaderActions","clickToday","clickForward","secondaryAction","onButtonClick","startIcon","iconName","primaryAction","style"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,MAAS,6BACpDC,MAAmB,2CACnBC,MAAoB,iDACbC,MAAuB,gCAC9B,kCACA,gCACA,gCACA,qCACA,wCACA,+CACA,uCACA,sCACA,gCACA,kCACA,kCACA,kCACA,0CACA,2CACA,sCACA,sCACA,sCACA,0CACA,4CACA,qCACA,0CACA,iDACA,0CACA,sCACA,iCACA,mCACA,iCACA,wCACA,wCACA,iCACA,oDACA,oDACA,mCACA,iCACA,qCACA,qCACA,0CACA,6CACA,sCACA,iCACA,iCACA,oCACA,oCACA,yCACA,yCACA,oCACA,sCACA,sCACA,wCACA,yCACA,wCACA,iCACA,iCACA,uCACA,yCACA,6CACA,kCACA,mCACA,2CACA,sDACA,mCACA,6CACA,uCACA,iDACA,oDACA,8CACA,kDACA,4CACA,sCACA,iCACA,qCACA,0CACA,2CACA,0CACA,mCACA,kCACA,qCACA,iCACA,kCACA,+CACA,yCACA,sDACA,+BAEP,MAAMC,EAAiB,MACnB,WAAAC,CAAYC,GACRR,EAAiBS,KAAMD,GACvBC,KAAKC,UAAYT,EAAYQ,KAAM,aACnCA,KAAKE,QAAU,GACfF,KAAKG,cAAgB,GACrBH,KAAKI,YAAc,CAAC,CACxB,CACA,aAAAC,GACI,GAAIL,KAAKM,QAAS,CACdN,KAAKM,QAAQC,cAAc,UAAWP,KAAKE,QAC/C,CACJ,CACA,eAAAM,CAAgBC,GACZT,KAAKM,QAAUG,EAAMC,OACrB,GAAIV,KAAKE,QAAS,CACdF,KAAKM,QAAQC,cAAc,UAAWP,KAAKE,QAC/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