udp-stencil-component-library 25.18.2-beta.5 → 25.18.2-beta.7

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 (331) hide show
  1. package/dist/cjs/add-map-feature-popup_4.cjs.entry.js +12 -12
  2. package/dist/cjs/advanced-search_12.cjs.entry.js +1 -1
  3. package/dist/cjs/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.cjs.js.map +1 -1
  4. package/dist/cjs/ag-grid-base_6.cjs.entry.js +27 -11
  5. package/dist/cjs/api-method-instance-grid.cjs.entry.js +1 -1
  6. package/dist/cjs/app-bar.cjs.entry.js +1 -1
  7. package/dist/cjs/check-box.cjs.entry.js +2 -2
  8. package/dist/cjs/chip-section.cjs.entry.js +2 -2
  9. package/dist/cjs/client-side-grid_2.cjs.entry.js +3 -3
  10. package/dist/cjs/entity-maintenance-grid.cjs.entry.js +1 -1
  11. package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
  12. package/dist/cjs/filter-conditions_7.cjs.entry.js +2 -2
  13. package/dist/cjs/form-metadata-display_8.cjs.entry.js +6 -6
  14. package/dist/cjs/index-CGCOXUJE.js +10 -10
  15. package/dist/cjs/index.cjs.js +138 -0
  16. package/dist/cjs/index.cjs.js.map +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/map-component_2.cjs.entry.js +2 -2
  19. package/dist/cjs/numeric-field_5.cjs.entry.js +15 -15
  20. package/dist/cjs/primary-action-header.udp-tabs.entry.cjs.js.map +1 -0
  21. package/dist/cjs/{primary-action-header_3.cjs.entry.js → primary-action-header_2.cjs.entry.js} +4 -266
  22. package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
  23. package/dist/cjs/search-method-grid.cjs.entry.js +2 -1
  24. package/dist/cjs/search-method-grid.entry.cjs.js.map +1 -1
  25. package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
  26. package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
  27. package/dist/cjs/stencil-library.cjs.js +1 -1
  28. package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
  29. package/dist/cjs/text-field_2.cjs.entry.js +7 -7
  30. package/dist/cjs/udp-chip_3.cjs.entry.js +1 -1
  31. package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
  32. package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
  33. package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
  34. package/dist/cjs/udp-container.cjs.entry.js +35 -0
  35. package/dist/cjs/udp-container.entry.cjs.js.map +1 -0
  36. package/dist/cjs/udp-date-range-selector.cjs.entry.js +1 -1
  37. package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
  38. package/dist/cjs/udp-linear-loader.udp-side-sheet.entry.cjs.js.map +1 -0
  39. package/dist/cjs/udp-linear-loader_2.cjs.entry.js +289 -0
  40. package/dist/cjs/udp-map.cjs.entry.js +3 -3
  41. package/dist/cjs/udp-menu-item.udp-pop-over.entry.cjs.js.map +1 -0
  42. package/dist/cjs/{udp-pop-over.cjs.entry.js → udp-menu-item_2.cjs.entry.js} +23 -1
  43. package/dist/cjs/udp-page.cjs.entry.js +1 -1
  44. package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
  45. package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
  46. package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
  47. package/dist/cjs/udp-tab-panel.cjs.entry.js +2 -2
  48. package/dist/cjs/udp-tab.cjs.entry.js +1 -1
  49. package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
  50. package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
  51. package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
  52. package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
  53. package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
  54. package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
  55. package/dist/collection/components/grid/new-grid/ag-grid-base.js +2 -1
  56. package/dist/collection/components/grid/new-grid/ag-grid-base.js.map +1 -1
  57. package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +1 -1
  58. package/dist/collection/components/grid/new-grid/client-side-grid.js +1 -1
  59. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +1 -0
  60. package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js.map +1 -1
  61. package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js +1 -1
  62. package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js +24 -9
  63. package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js.map +1 -1
  64. package/dist/collection/components/grid/new-grid/interfaces/grid.js.map +1 -1
  65. package/dist/collection/components/grid/new-grid/search-method-grid.js +1 -1
  66. package/dist/collection/components/grid/new-grid/server-side-grid.js +1 -1
  67. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
  68. package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +2 -2
  69. package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
  70. package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +1 -1
  71. package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
  72. package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
  73. package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
  74. package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
  75. package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
  76. package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
  77. package/dist/collection/components/inputs/tally/tally.js +2 -2
  78. package/dist/collection/components/inputs/text-area/text-area.js +3 -3
  79. package/dist/collection/components/inputs/text-field/text-field.js +3 -3
  80. package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
  81. package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
  82. package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
  83. package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
  84. package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
  85. package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
  86. package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
  87. package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
  88. package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
  89. package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
  90. package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
  91. package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
  92. package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
  93. package/dist/collection/components/map/udp-map/map-component.js +1 -1
  94. package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
  95. package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
  96. package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
  97. package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
  98. package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
  99. package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +6 -6
  100. package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
  101. package/dist/collection/components/map/udp-map/udp-map.js +3 -3
  102. package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
  103. package/dist/collection/components/menu/udp-menu.js +1 -1
  104. package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
  105. package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
  106. package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
  107. package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +2 -2
  108. package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
  109. package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
  110. package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
  111. package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
  112. package/dist/collection/components/timeline/udp-timeline.js +1 -1
  113. package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
  114. package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
  115. package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
  116. package/dist/collection/deprecated/components/side-sheet/side-sheet.js +1 -1
  117. package/dist/collection/index.js +1 -0
  118. package/dist/collection/index.js.map +1 -1
  119. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
  120. package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
  121. package/dist/collection/udp-utilities/udp-websocket-client/udp-websocket-client.js +137 -0
  122. package/dist/collection/udp-utilities/udp-websocket-client/udp-websocket-client.js.map +1 -0
  123. package/dist/components/add-map-feature-popup2.js +3 -3
  124. package/dist/components/ag-grid-base2.js +78 -38
  125. package/dist/components/ag-grid-base2.js.map +1 -1
  126. package/dist/components/api-method-instance-grid.js +59 -35
  127. package/dist/components/api-method-instance-grid.js.map +1 -1
  128. package/dist/components/app-bar.js +1 -1
  129. package/dist/components/check-box.js +2 -2
  130. package/dist/components/chip-section.js +2 -2
  131. package/dist/components/client-side-grid2.js +55 -31
  132. package/dist/components/client-side-grid2.js.map +1 -1
  133. package/dist/components/entity-maintenance-grid.js +1 -1
  134. package/dist/components/feature-details-card2.js +4 -4
  135. package/dist/components/feature-details-popup2.js +1 -1
  136. package/dist/components/form-metadata-display2.js +1 -1
  137. package/dist/components/ghost-render2.js +1 -1
  138. package/dist/components/image-upload2.js +1 -1
  139. package/dist/components/index.js +138 -1
  140. package/dist/components/index.js.map +1 -1
  141. package/dist/components/map-component2.js +1 -1
  142. package/dist/components/map-toolbar2.js +6 -6
  143. package/dist/components/numeric-field2.js +3 -3
  144. package/dist/components/resource-timeline-calendar.js +59 -35
  145. package/dist/components/resource-timeline-calendar.js.map +1 -1
  146. package/dist/components/resource-timeline-primary-bar2.js +2 -2
  147. package/dist/components/search-method-grid2.js +58 -33
  148. package/dist/components/search-method-grid2.js.map +1 -1
  149. package/dist/components/select-layer-popup2.js +2 -2
  150. package/dist/components/server-side-grid2.js +55 -31
  151. package/dist/components/server-side-grid2.js.map +1 -1
  152. package/dist/components/side-sheet-container2.js +1 -1
  153. package/dist/components/side-sheet2.js +1 -1
  154. package/dist/components/signature-input2.js +2 -2
  155. package/dist/components/split-line-popup2.js +1 -1
  156. package/dist/components/stencil-toggle2.js +4 -4
  157. package/dist/components/tally.js +2 -2
  158. package/dist/components/text-area2.js +3 -3
  159. package/dist/components/text-field2.js +3 -3
  160. package/dist/components/udp-container-query-grid-item.js +1 -1
  161. package/dist/components/udp-container-query-grid.js +1 -1
  162. package/dist/components/udp-container-query2.js +2 -2
  163. package/dist/components/udp-container2.js +2 -2
  164. package/dist/components/udp-date-range-selector.js +1 -1
  165. package/dist/components/udp-date-selector2.js +3 -3
  166. package/dist/components/udp-datetime-selector2.js +3 -3
  167. package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
  168. package/dist/components/udp-grid-loader2.js +2 -2
  169. package/dist/components/udp-linear-loader2.js +1 -1
  170. package/dist/components/udp-map-toolbar2.js +1 -1
  171. package/dist/components/udp-map.js +3 -3
  172. package/dist/components/udp-menu-item2.js +1 -1
  173. package/dist/components/udp-menu2.js +1 -1
  174. package/dist/components/udp-page.js +1 -1
  175. package/dist/components/udp-selector2.js +4 -4
  176. package/dist/components/udp-skeleton-loading2.js +1 -1
  177. package/dist/components/udp-split-screen.js +1 -1
  178. package/dist/components/udp-stepper-demo.js +1 -1
  179. package/dist/components/udp-tab-panel.js +2 -2
  180. package/dist/components/udp-tab.js +1 -1
  181. package/dist/components/udp-tabs2.js +2 -2
  182. package/dist/components/udp-time-selector2.js +3 -3
  183. package/dist/components/udp-timeline-connector.js +1 -1
  184. package/dist/components/udp-timeline-dot.js +1 -1
  185. package/dist/components/udp-timeline-item.js +2 -2
  186. package/dist/components/udp-timeline-separator.js +1 -1
  187. package/dist/components/udp-timeline.js +1 -1
  188. package/dist/components/udp-vertical-spacer.js +1 -1
  189. package/dist/docs.json +141 -52
  190. package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
  191. package/dist/esm/advanced-search_12.entry.js +1 -1
  192. package/dist/esm/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.js.map +1 -1
  193. package/dist/esm/ag-grid-base_6.entry.js +27 -11
  194. package/dist/esm/api-method-instance-grid.entry.js +1 -1
  195. package/dist/esm/app-bar.entry.js +1 -1
  196. package/dist/esm/check-box.entry.js +2 -2
  197. package/dist/esm/chip-section.entry.js +2 -2
  198. package/dist/esm/client-side-grid_2.entry.js +3 -3
  199. package/dist/esm/entity-maintenance-grid.entry.js +1 -1
  200. package/dist/esm/feature-details-card_2.entry.js +5 -5
  201. package/dist/esm/filter-conditions_7.entry.js +2 -2
  202. package/dist/esm/form-metadata-display_8.entry.js +6 -6
  203. package/dist/esm/index-CaZq3YdB.js +10 -10
  204. package/dist/esm/index.js +138 -1
  205. package/dist/esm/index.js.map +1 -1
  206. package/dist/esm/loader.js +1 -1
  207. package/dist/esm/map-component_2.entry.js +2 -2
  208. package/dist/esm/numeric-field_5.entry.js +15 -15
  209. package/dist/esm/primary-action-header.udp-tabs.entry.js.map +1 -0
  210. package/dist/esm/{primary-action-header_3.entry.js → primary-action-header_2.entry.js} +5 -262
  211. package/dist/esm/resource-timeline-calendar.entry.js +1 -1
  212. package/dist/esm/search-method-grid.entry.js +2 -1
  213. package/dist/esm/search-method-grid.entry.js.map +1 -1
  214. package/dist/esm/server-side-grid.entry.js +1 -1
  215. package/dist/esm/side-sheet-container.entry.js +1 -1
  216. package/dist/esm/stencil-library.js +1 -1
  217. package/dist/esm/stencil-toggle.entry.js +4 -4
  218. package/dist/esm/text-field_2.entry.js +7 -7
  219. package/dist/esm/udp-chip_3.entry.js +1 -1
  220. package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
  221. package/dist/esm/udp-container-query-grid.entry.js +1 -1
  222. package/dist/esm/udp-container-query.entry.js +2 -2
  223. package/dist/esm/udp-container.entry.js +33 -0
  224. package/dist/esm/udp-container.entry.js.map +1 -0
  225. package/dist/esm/udp-date-range-selector.entry.js +1 -1
  226. package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
  227. package/dist/esm/udp-linear-loader.udp-side-sheet.entry.js.map +1 -0
  228. package/dist/esm/udp-linear-loader_2.entry.js +282 -0
  229. package/dist/esm/udp-map.entry.js +3 -3
  230. package/dist/esm/udp-menu-item.udp-pop-over.entry.js.map +1 -0
  231. package/dist/esm/{udp-pop-over.entry.js → udp-menu-item_2.entry.js} +24 -3
  232. package/dist/esm/udp-page.entry.js +1 -1
  233. package/dist/esm/udp-skeleton-loading.entry.js +1 -1
  234. package/dist/esm/udp-split-screen.entry.js +1 -1
  235. package/dist/esm/udp-stepper-demo.entry.js +1 -1
  236. package/dist/esm/udp-tab-panel.entry.js +2 -2
  237. package/dist/esm/udp-tab.entry.js +1 -1
  238. package/dist/esm/udp-timeline-connector.entry.js +1 -1
  239. package/dist/esm/udp-timeline-dot.entry.js +1 -1
  240. package/dist/esm/udp-timeline-item.entry.js +2 -2
  241. package/dist/esm/udp-timeline-separator.entry.js +1 -1
  242. package/dist/esm/udp-timeline.entry.js +1 -1
  243. package/dist/esm/udp-vertical-spacer.entry.js +1 -1
  244. package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
  245. package/dist/stencil-library/advanced-search_12.entry.js +1 -1
  246. package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.esm.js.map +1 -1
  247. package/dist/stencil-library/ag-grid-base_6.entry.js +1 -1
  248. package/dist/stencil-library/ag-grid-base_6.entry.js.map +1 -1
  249. package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
  250. package/dist/stencil-library/app-bar.entry.js +1 -1
  251. package/dist/stencil-library/check-box.entry.js +1 -1
  252. package/dist/stencil-library/chip-section.entry.js +1 -1
  253. package/dist/stencil-library/client-side-grid_2.entry.js +1 -1
  254. package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -1
  255. package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
  256. package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
  257. package/dist/stencil-library/form-metadata-display_8.entry.js +1 -1
  258. package/dist/stencil-library/index.esm.js +1 -1
  259. package/dist/stencil-library/index.esm.js.map +1 -1
  260. package/dist/stencil-library/map-component_2.entry.js +1 -1
  261. package/dist/stencil-library/numeric-field_5.entry.js +1 -1
  262. package/dist/stencil-library/primary-action-header.udp-tabs.entry.esm.js.map +1 -0
  263. package/dist/stencil-library/primary-action-header_2.entry.js +2 -0
  264. package/dist/stencil-library/primary-action-header_2.entry.js.map +1 -0
  265. package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
  266. package/dist/stencil-library/search-method-grid.entry.esm.js.map +1 -1
  267. package/dist/stencil-library/search-method-grid.entry.js +1 -1
  268. package/dist/stencil-library/search-method-grid.entry.js.map +1 -1
  269. package/dist/stencil-library/server-side-grid.entry.js +1 -1
  270. package/dist/stencil-library/side-sheet-container.entry.js +1 -1
  271. package/dist/stencil-library/stencil-library.esm.js +1 -1
  272. package/dist/stencil-library/stencil-toggle.entry.js +1 -1
  273. package/dist/stencil-library/text-field_2.entry.js +1 -1
  274. package/dist/stencil-library/udp-chip_3.entry.js +1 -1
  275. package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
  276. package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
  277. package/dist/stencil-library/udp-container-query.entry.js +1 -1
  278. package/dist/stencil-library/udp-container.entry.esm.js.map +1 -0
  279. package/dist/stencil-library/udp-container.entry.js +2 -0
  280. package/dist/stencil-library/udp-container.entry.js.map +1 -0
  281. package/dist/stencil-library/udp-date-range-selector.entry.js +1 -1
  282. package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
  283. package/dist/stencil-library/udp-linear-loader.udp-side-sheet.entry.esm.js.map +1 -0
  284. package/dist/stencil-library/udp-linear-loader_2.entry.js +2 -0
  285. package/dist/stencil-library/udp-linear-loader_2.entry.js.map +1 -0
  286. package/dist/stencil-library/udp-map.entry.js +1 -1
  287. package/dist/stencil-library/udp-menu-item.udp-pop-over.entry.esm.js.map +1 -0
  288. package/dist/stencil-library/udp-menu-item_2.entry.js +2 -0
  289. package/dist/stencil-library/udp-menu-item_2.entry.js.map +1 -0
  290. package/dist/stencil-library/udp-page.entry.js +1 -1
  291. package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
  292. package/dist/stencil-library/udp-split-screen.entry.js +1 -1
  293. package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
  294. package/dist/stencil-library/udp-tab-panel.entry.js +1 -1
  295. package/dist/stencil-library/udp-tab.entry.js +1 -1
  296. package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
  297. package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
  298. package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
  299. package/dist/stencil-library/udp-timeline-item.entry.js.map +1 -1
  300. package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
  301. package/dist/stencil-library/udp-timeline.entry.js +1 -1
  302. package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -1
  303. package/dist/types/components/grid/new-grid/gridFunctions/bulkActions.d.ts +4 -2
  304. package/dist/types/components/grid/new-grid/interfaces/grid.d.ts +1 -0
  305. package/dist/types/index.d.ts +1 -0
  306. package/dist/types/udp-utilities/udp-websocket-client/udp-websocket-client.d.ts +34 -0
  307. package/package.json +1 -1
  308. package/dist/cjs/primary-action-header.udp-side-sheet.udp-tabs.entry.cjs.js.map +0 -1
  309. package/dist/cjs/udp-container.udp-linear-loader.entry.cjs.js.map +0 -1
  310. package/dist/cjs/udp-container_2.cjs.entry.js +0 -56
  311. package/dist/cjs/udp-menu-item.cjs.entry.js +0 -27
  312. package/dist/cjs/udp-menu-item.entry.cjs.js.map +0 -1
  313. package/dist/cjs/udp-pop-over.entry.cjs.js.map +0 -1
  314. package/dist/esm/primary-action-header.udp-side-sheet.udp-tabs.entry.js.map +0 -1
  315. package/dist/esm/udp-container.udp-linear-loader.entry.js.map +0 -1
  316. package/dist/esm/udp-container_2.entry.js +0 -53
  317. package/dist/esm/udp-menu-item.entry.js +0 -25
  318. package/dist/esm/udp-menu-item.entry.js.map +0 -1
  319. package/dist/esm/udp-pop-over.entry.js.map +0 -1
  320. package/dist/stencil-library/primary-action-header.udp-side-sheet.udp-tabs.entry.esm.js.map +0 -1
  321. package/dist/stencil-library/primary-action-header_3.entry.js +0 -2
  322. package/dist/stencil-library/primary-action-header_3.entry.js.map +0 -1
  323. package/dist/stencil-library/udp-container.udp-linear-loader.entry.esm.js.map +0 -1
  324. package/dist/stencil-library/udp-container_2.entry.js +0 -2
  325. package/dist/stencil-library/udp-container_2.entry.js.map +0 -1
  326. package/dist/stencil-library/udp-menu-item.entry.esm.js.map +0 -1
  327. package/dist/stencil-library/udp-menu-item.entry.js +0 -2
  328. package/dist/stencil-library/udp-menu-item.entry.js.map +0 -1
  329. package/dist/stencil-library/udp-pop-over.entry.esm.js.map +0 -1
  330. package/dist/stencil-library/udp-pop-over.entry.js +0 -2
  331. package/dist/stencil-library/udp-pop-over.entry.js.map +0 -1
@@ -163,22 +163,22 @@ export class MapToolbar {
163
163
  }
164
164
  render() {
165
165
  var _a, _b;
166
- return (h("div", { key: '21b9c43614b63edacda599868c43703d1e647e45', class: "toolbarContainer" }, h("div", { key: '9784167d5da4fb3ac42df68eba4c5a486dfc982b', class: "title" }, this.mapTitle && this.mapTitle.length > 0 && h("unity-typography", { key: 'd30a08036fb834c66d51bd77d95c886ef87a639d', variant: "h4" }, this.mapTitle)), h("div", { key: 'cdd421ee21f5d56cc0d78352c8cc72032a758424', class: "buttons" }, h("div", { key: '2adfbce712f269812d80a77c1043a1d3db6b79c8', class: "buttonContainer" }, h("div", { key: '58e6e409c67cf35051735578bdde7b1a6208f9ee', class: "secondaryButtons" }, this.filterPanel && (h("div", { key: 'f7c06355290ed1bed33d95f6084da2c7bb615da5', id: "filterOption" }, h("div", { key: '15be3cc83df5d6f19f3f7a0d5692a4718731dc24', id: "filterOptionButton" }, h("stencil-icon-button", { key: '93467bd5a6d9090c67632c18a6c4009e27233ac8', iconName: 'filterButton', iconClassName: 'iconButtonWrapper', tooltip: 'Filter', icon: Filter16, buttonId: 'filterButton', onClick: () => this.handleFilterOnclick() })), this.filterAnchor && (h("div", { key: 'bd5f83038320e9803ba9368cd1f40720bf746717', id: "filterOptionDiv" }, h("udp-pop-over", { key: '2c9edf578465d003b4afbcdb831ef0d0c34d3f0b', isOpen: this.filterAnchor ? true : false, anchorElement: this.filterAnchor, handleOnClose: () => this.handleCloseFilterPopover(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("div", { key: 'b3ec97a05b90db61cdf239c86ca75e036cc29b13', innerHTML: this.filterPanel })))))), this.layerOptions && (h("div", { key: 'be4a540251d602df15aa8e4dacef02999077dd96', id: "layerOption" }, h("div", { key: '6affbb963bd30f553e61064ab5df13c3ad9a4b74', id: "layerOptionButton" }, h("stencil-icon-button", { key: 'b8adccbbcd8c95ad2d005dae5c0cf9a12990d97c', iconName: 'layersButton', iconClassName: 'iconButtonWrapper', tooltip: 'Layers', icon: Layers16, buttonId: 'layersButton', onClick: () => this.handleLayerOnclick(), count: (_a = this.visibleLayers) === null || _a === void 0 ? void 0 : _a.length })), h("div", { key: 'c8e9383358da444862a6a563e34260487ccfbbed', id: "layerOptionDiv" }, this.layerAnchor && (h("udp-pop-over", { key: 'e010e9548dabcc2bf6309f36c58a59305cdc4412', isOpen: this.layerAnchor ? true : false, anchorElement: this.layerAnchor, handleOnClose: () => this.handleCloseLayerPopover(), popoverPlacement: 'bottom-start', popoverMaxHeight: '500px' }, h("select-layer-popup", { key: 'f2b783edeaeb9655eedcdbec791e4964860338c9', enableTileSelection: this.enableTileSelection, tileOptions: this.tileOptions, handleMapTypeInputChange: this.handleMapTypeInputChange, handleSearchLayers: this.handleSearchLayers, filteredOptions: this.filteredOptions, visibleLayers: this.visibleLayers, updateSelectedLayers: this.updateSelectedLayers, selectedTile: this.selectedTile })))))), !this.readOnlyMap && this.selectedFeaturesActionPanel && (h("div", { key: '3e49f896bd385d2bb26c63aba9dfa453fdd7daf6', id: "bulkSelectOption" }, h("div", { key: 'c310558635d2cfd0e8664b6016c6f19b2b127f92', id: "bulkSelectOptionButton" }, h("stencil-icon-button", { key: '414e41e6fd4e6e342611bac3989d9c657df675dd', iconName: 'selectButton', iconClassName: 'iconButtonWrapper', tooltip: 'Select', icon: Select_0116, buttonId: 'selectButton', onClick: () => this.handleSelectionBtnOnclick() })), h("div", { key: '7c984a976664c80ce289a8acc00b96e922acbbbd', id: "bulkSelectOptionDiv" }, this.bulkSelectionTypeAnchor && (h("udp-pop-over", { key: '5a81ce4e1c228340e706fe3406574ddfa6004b49', isOpen: this.bulkSelectionTypeAnchor ? true : false, anchorElement: this.bulkSelectionTypeAnchor, handleOnClose: () => this.handleCloseBulkSelectionTypePopover(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("udp-menu-item", { key: 'd104983f9d0505898f942cc0ece9a225ced6a5e2', label: 'Box', handleOnClick: () => {
166
+ return (h("div", { key: 'fefc64190d81c488569ac85994fdaff879ae003d', class: "toolbarContainer" }, h("div", { key: '86efd85326a8c6045960dcfc6ea9217cd9a19b90', class: "title" }, this.mapTitle && this.mapTitle.length > 0 && h("unity-typography", { key: '8be28b8c9e179915b5b70ed2a6ccb91ecb00f8b2', variant: "h4" }, this.mapTitle)), h("div", { key: '003012553545e724587dd2f8fb4754beb0fcc7bf', class: "buttons" }, h("div", { key: 'cd2b9fc15b844405377d247323374903aba4fdbd', class: "buttonContainer" }, h("div", { key: '4c43491cfc72fdfdc88d4f338b551c8063fa262b', class: "secondaryButtons" }, this.filterPanel && (h("div", { key: 'adc9cde5412cba944f5c49788a99f699a0f09fd6', id: "filterOption" }, h("div", { key: 'e8142ec153067419ebdd8fd50abd70b9dde059c3', id: "filterOptionButton" }, h("stencil-icon-button", { key: '1fe1057afbe0ac41e773cf41601f7aeaf14ce6ff', iconName: 'filterButton', iconClassName: 'iconButtonWrapper', tooltip: 'Filter', icon: Filter16, buttonId: 'filterButton', onClick: () => this.handleFilterOnclick() })), this.filterAnchor && (h("div", { key: '9d40755c2fee1c9de8943705a97293b803177db1', id: "filterOptionDiv" }, h("udp-pop-over", { key: 'db455dec069b12e54b25a8893c3ae6380b93501f', isOpen: this.filterAnchor ? true : false, anchorElement: this.filterAnchor, handleOnClose: () => this.handleCloseFilterPopover(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("div", { key: '0ff07f1b6ee16d700a13a5d0fe2ac4aad696d4ca', innerHTML: this.filterPanel })))))), this.layerOptions && (h("div", { key: '00f923c7bb086bb69ddf395b8c83cf14241c6fc1', id: "layerOption" }, h("div", { key: '402d6967bb8ee8f035da468b8f9ad2f1820ddb49', id: "layerOptionButton" }, h("stencil-icon-button", { key: '3b4101aac7c82e3daf2faf2088ffb3c79047caab', iconName: 'layersButton', iconClassName: 'iconButtonWrapper', tooltip: 'Layers', icon: Layers16, buttonId: 'layersButton', onClick: () => this.handleLayerOnclick(), count: (_a = this.visibleLayers) === null || _a === void 0 ? void 0 : _a.length })), h("div", { key: '8b210fafb95ad9e1159055e320ef332070a9b26d', id: "layerOptionDiv" }, this.layerAnchor && (h("udp-pop-over", { key: 'eaa7a5005b8af14d59596024a73682a9a6b3e435', isOpen: this.layerAnchor ? true : false, anchorElement: this.layerAnchor, handleOnClose: () => this.handleCloseLayerPopover(), popoverPlacement: 'bottom-start', popoverMaxHeight: '500px' }, h("select-layer-popup", { key: '008302b245ad556dbefe0f9bee48aec23b8fa8cd', enableTileSelection: this.enableTileSelection, tileOptions: this.tileOptions, handleMapTypeInputChange: this.handleMapTypeInputChange, handleSearchLayers: this.handleSearchLayers, filteredOptions: this.filteredOptions, visibleLayers: this.visibleLayers, updateSelectedLayers: this.updateSelectedLayers, selectedTile: this.selectedTile })))))), !this.readOnlyMap && this.selectedFeaturesActionPanel && (h("div", { key: '7c042631d13bee7e2dab14a147c7c72b8905d957', id: "bulkSelectOption" }, h("div", { key: '1a9e97d5e632ef1721426858f7528eb578243e81', id: "bulkSelectOptionButton" }, h("stencil-icon-button", { key: '77bbcaab4727ae8bcdc429030a3ed216fe78037e', iconName: 'selectButton', iconClassName: 'iconButtonWrapper', tooltip: 'Select', icon: Select_0116, buttonId: 'selectButton', onClick: () => this.handleSelectionBtnOnclick() })), h("div", { key: 'be670e1eceb3ed78f5348fd01a88e0b5cc587dc0', id: "bulkSelectOptionDiv" }, this.bulkSelectionTypeAnchor && (h("udp-pop-over", { key: 'cfa71b31d926e2c8d441db6f6d38498be1369e6e', isOpen: this.bulkSelectionTypeAnchor ? true : false, anchorElement: this.bulkSelectionTypeAnchor, handleOnClose: () => this.handleCloseBulkSelectionTypePopover(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("udp-menu-item", { key: '2003fcb7bd33c772c6eeb9cb8769d138b50285d2', label: 'Box', handleOnClick: () => {
167
167
  this.handleBulkSelectionTypeOnclick('box');
168
- } }), h("udp-menu-item", { key: 'b1f864cfc27d567527a232524cdfc77eb52e015a', label: 'Circle', handleOnClick: () => {
168
+ } }), h("udp-menu-item", { key: 'a98d1f96b1923e6b995828e36a7636786423459c', label: 'Circle', handleOnClick: () => {
169
169
  this.handleBulkSelectionTypeOnclick('circle');
170
- } }), h("udp-menu-item", { key: 'a0fda41ae5ec5a52228bbe419166cf1c0176b66c', label: 'Polygon', handleOnClick: () => {
170
+ } }), h("udp-menu-item", { key: '579050689df00c1bd02b45d7ae5cb23ea1ece09a', label: 'Polygon', handleOnClick: () => {
171
171
  this.handleBulkSelectionTypeOnclick('polygon');
172
- } }), h("udp-menu-item", { key: '64b903bd46430d1285662848671a0720f0e72c04', label: 'Lasso', handleOnClick: () => {
172
+ } }), h("udp-menu-item", { key: '432a7b7a06cfb66c950387ed92c15fd1a3ffbbf3', label: 'Lasso', handleOnClick: () => {
173
173
  this.handleBulkSelectionTypeOnclick('lasso');
174
- } })))))), !this.readOnlyMap && this.enableSplit && (h("div", { key: '046ab14c180eaecbf16a340f9be3f2898cdcce37', id: "splitOption" }, h("div", { key: 'c1650d16e72a90cb7db670523dd3b485b50024d5', id: "splitOptionButton" }, h("stencil-icon-button", { key: 'a9d02d79f706dea6a87c02fc20877406e28ff6e8', iconName: 'splitButton', iconClassName: 'splitButtonWrapper', tooltip: 'Split Linear Feature', icon: Scalpel16, buttonId: 'splitButton', onClick: () => this.handleSplitBtnOnclick() })), h("div", { key: '88247c876a345ddc7dbf615dae6a0f069932c0ce', id: "splitOptionDiv" }, this.splitAnchor && (h("udp-pop-over", { key: '184c5f17f26a2de0220e13dc63a3ba0bd990bdfc', isOpen: this.splitAnchor ? true : false, anchorElement: this.splitAnchor, handleOnClose: () => this.handleCloseSplitPopover(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("split-line-popup", { key: '302fb6c3d12c3a7122987ef791f6a16ba8dc5e50', vectorLayerOptions: this.layerOptionsForPopup, selectedLayer: this.selectedLayerToAddFeature, handleStartSplitting: this.handleStartSplitting })))))), this.refreshEvent && (h("stencil-icon-button", { key: '2594b4bfe3d784a27843da4b31821104190eb75d', iconName: 'refreshButton', iconClassName: 'iconButtonWrapper', tooltip: (_b = this.refreshButtonTooltip) !== null && _b !== void 0 ? _b : 'Refresh', icon: Renew16, buttonId: 'refreshButton', onClick: () => this.refreshEvent() })), !this.readOnlyMap && (this.enableDragBox || (this.addMultipleFeatures && this.enableAddNewFeature)) && (h("div", { key: '0e8f5d8c4bf66eb254ce7d8660aaa469e30106b3', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: '8dd1e819db15ac9ab94d6cfda4081fdbc11b39dd', showLabel: true, icon: this.getButtonIcon(), onClick: () => {
174
+ } })))))), !this.readOnlyMap && this.enableSplit && (h("div", { key: 'ee1cae14e2dcef12c14f53cf49dea4cac4e01378', id: "splitOption" }, h("div", { key: '8e611a780fc18f55ce3641a9587b8dbd137881e3', id: "splitOptionButton" }, h("stencil-icon-button", { key: 'edda638a365905bd28ea3f1d165239ddbbd5fd26', iconName: 'splitButton', iconClassName: 'splitButtonWrapper', tooltip: 'Split Linear Feature', icon: Scalpel16, buttonId: 'splitButton', onClick: () => this.handleSplitBtnOnclick() })), h("div", { key: 'f8ef32c8155aadf4d27036d5208e4e3f5af902eb', id: "splitOptionDiv" }, this.splitAnchor && (h("udp-pop-over", { key: '98155546d973b86b4c4bdc7c96060f354294f156', isOpen: this.splitAnchor ? true : false, anchorElement: this.splitAnchor, handleOnClose: () => this.handleCloseSplitPopover(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("split-line-popup", { key: '62ede00bdd63e1f251b30fd03dfba459001892c2', vectorLayerOptions: this.layerOptionsForPopup, selectedLayer: this.selectedLayerToAddFeature, handleStartSplitting: this.handleStartSplitting })))))), this.refreshEvent && (h("stencil-icon-button", { key: 'c3264a415cdc252dd7a91d63f952c1c416651524', iconName: 'refreshButton', iconClassName: 'iconButtonWrapper', tooltip: (_b = this.refreshButtonTooltip) !== null && _b !== void 0 ? _b : 'Refresh', icon: Renew16, buttonId: 'refreshButton', onClick: () => this.refreshEvent() })), !this.readOnlyMap && (this.enableDragBox || (this.addMultipleFeatures && this.enableAddNewFeature)) && (h("div", { key: '327a5ab7ad7e8043f2809048ec91cb7353286d22', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: 'f4a36fc74088cbf82b2d696fa96eb15e2b37eed7', showLabel: true, icon: this.getButtonIcon(), onClick: () => {
175
175
  if (this.enableDragBox) {
176
176
  this.handleCancelBoxSelection();
177
177
  }
178
178
  if (this.enableAddNewFeature) {
179
179
  this.handleAddNewFeature();
180
180
  }
181
- }, tooltip: this.getButtonText(), iconClassName: 'save-icon-class' }, h("unity-typography", { key: '9e741081bcdee9b696ceda65f94fa8852223784f', variant: "button" }, this.getButtonText())))), this.showSplitButton && (h("div", { key: '699dc5dfc451770813268649fedf223f0d5818f4', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: 'ae030ca7fbea40a4dd6e01e7b588bf1361914bf9', showLabel: true, icon: Checkmark16, onClick: () => this.handleSaveSplit(), tooltip: 'Save Split', iconClassName: 'save-icon-class' }, h("unity-typography", { key: 'cb248c391bfbf3f9548f84617de19cf8f7d6a1d4', variant: "button" }, 'Save Split')))), this.showSplitButton && (h("div", { key: 'eb129eac44e52ae3901a072bd1f81409a79b9b97', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: 'f3f1e06d7996c6cc6417aa72953088b7fe58f4c6', showLabel: true, icon: Close16, onClick: () => this.handleCancelSplit(), tooltip: 'Cancel Split', iconClassName: 'save-icon-class' }, h("unity-typography", { key: '9ecc562e53f6881873c57b5b84cf2c325f82c302', variant: "button" }, 'Cancel Split')))), !this.readOnlyMap && this.enableAddNewFeature && (h("div", { key: 'd44f675283cb14e18da11551cd914785f757be3b', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: 'ce3f82cab7993f7a4e23b8b0d930a4d9577a2b40', showLabel: true, icon: Close16, onClick: () => this.handleCancelAddNewFeature(), tooltip: 'Cancel Drawing', iconClassName: 'save-icon-class' }, h("unity-typography", { key: '5ce593305098ea539661aa9241ff5fcaeb312533', variant: "button" }, 'Cancel Drawing')))), !this.readOnlyMap && this.withSelected && (h("div", { key: '17c0a761f497b69736a132d86274c4b72c8587f0', class: "selectedFeaturesButtons labelButtons" }, h("div", { key: 'f482097209ee73f87b2ccded62741f08c7e5d36f', id: "withSelectedOption" }, h("div", { key: '6c1dd673b861e77fa9df16c4bfd3cd5ad527ead0', id: "withSelectedOptionButton" }, h("stencil-icon-button-grid-action-header", { key: '900257afb87ea2cbeecda63e468e2d26befe312c', showLabel: true, icon: OverflowMenuHorizontal16, onClick: () => this.handleSelectionActionOnclick(), tooltip: 'With Selected', iconClassName: 'save-icon-class', count: this.selectedFeatureByBoxSelection.length }, h("unity-typography", { key: '61c42fe24533e70243d922a90ace657facbf390f', variant: "button" }, 'With Selected'))), h("div", { key: '55ad4c9a7bba6399ba59783c082afe6cffa3ed8c', id: "withSelectedOptionDiv" }, this.selectedFeaturesActionPanel && this.selectionActionAnchor && (h("udp-pop-over", { key: '389f555f381efda95d9465c588c413405db973ec', isOpen: this.selectionActionAnchor ? true : false, anchorElement: this.selectionActionAnchor, handleOnClose: () => this.handleCloseSelectionActionPopover(), popoverPlacement: 'bottom-start' }, h("div", { key: '574d0b6c5cdf21aaf46de7c64212fd00aed55de2', innerHTML: this.selectedFeaturesActionPanel }))))), h("stencil-icon-button-grid-action-header", { key: '20faae781e32bc29560f632ec95dc13d1fae11a5', showLabel: true, icon: Close16, onClick: () => this.unselectFeatures(), tooltip: 'Cancel selection', iconClassName: 'save-icon-class' }, h("unity-typography", { key: '2f9feebd1b587e9d0e399c22669e55d63b8b97b3', variant: "button" }, 'Cancel Selection'))))), h("div", { key: '8c7ec1fb5f1c1f4ec1b57a158779b6f3b5b85a34', id: "addOption" }, this.enableAdd && !this.readOnlyMap && (h("div", { key: 'bca06f99ee4c9254fdc819faf206862df69e7d31', id: "addOptionButton" }, h("custom-button", { key: '46987f0f04f476a41d1ab42e0e7ad474d8123878', secondary: true, label: h("unity-typography", { variant: "button" }, 'Add'), onClick: () => this.handleAddOnclick(), size: "tall" }, h("udp-icon", { key: '77530ccd29a4ab9011734aaeb547a2ac35c10d0f', iconName: 'add32', darkIcon: false })))), this.addFeatureAnchor && (h("udp-pop-over", { key: 'f9df23cd3dac78f9c12396a4976c50d6ff4d324e', isOpen: this.addFeatureAnchor ? true : false, anchorElement: this.addFeatureAnchor, handleOnClose: () => this.handleCloseAddMapFeature(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("add-map-feature-popup", { key: 'c23dbdfc6b07e209f6f4f0af5f4d20f300b9fa9c', handleStartDrawingMapFeature: this.handleStartDrawingMapFeature, vectorLayerOptions: this.layerOptionsForPopup, selectedLayer: this.selectedLayerToAddFeature, selectedType: this.selectedTypeToAddFeature, panelConfig: this.addFeaturePanelConfig }))))))));
181
+ }, tooltip: this.getButtonText(), iconClassName: 'save-icon-class' }, h("unity-typography", { key: 'fcc3897b1368c5b0aa241c1796494e4de6d8b325', variant: "button" }, this.getButtonText())))), this.showSplitButton && (h("div", { key: '0a4f8553821e6bdc0b4fba9afadf2d7b5f4d5ba5', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: 'b597d9ce256257017052248f5e5aebb4e4f92866', showLabel: true, icon: Checkmark16, onClick: () => this.handleSaveSplit(), tooltip: 'Save Split', iconClassName: 'save-icon-class' }, h("unity-typography", { key: '130955876ea775ad4b3b7481639aa8f242bc6486', variant: "button" }, 'Save Split')))), this.showSplitButton && (h("div", { key: '8fd1973ab07382084781c820a6bedc7227d6329a', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: '6849fd18866b96c7278c30a1b36580afdf331e40', showLabel: true, icon: Close16, onClick: () => this.handleCancelSplit(), tooltip: 'Cancel Split', iconClassName: 'save-icon-class' }, h("unity-typography", { key: 'e28f535469b55db57111f0fc38fa90cf4de1b27d', variant: "button" }, 'Cancel Split')))), !this.readOnlyMap && this.enableAddNewFeature && (h("div", { key: '119a8007a5192bfab763a2073f55cc946421dd0f', class: "labelButtons" }, h("stencil-icon-button-grid-action-header", { key: 'c88626634b949f2e8365646a92896a2f949d3089', showLabel: true, icon: Close16, onClick: () => this.handleCancelAddNewFeature(), tooltip: 'Cancel Drawing', iconClassName: 'save-icon-class' }, h("unity-typography", { key: 'ff4e67b6d17a836b4f2f5451fc054787510b177e', variant: "button" }, 'Cancel Drawing')))), !this.readOnlyMap && this.withSelected && (h("div", { key: '7105fac8605a9e46affc8f30b246c959854323cb', class: "selectedFeaturesButtons labelButtons" }, h("div", { key: 'd443a8a12d3ef25d00b7cb075cc32a9e07a62f67', id: "withSelectedOption" }, h("div", { key: '54ccd3e58c0d8abe61648e715b4efc658bd52423', id: "withSelectedOptionButton" }, h("stencil-icon-button-grid-action-header", { key: 'b32ce98ed72d5e0c0b4e2a1d4d9c777d9640ed31', showLabel: true, icon: OverflowMenuHorizontal16, onClick: () => this.handleSelectionActionOnclick(), tooltip: 'With Selected', iconClassName: 'save-icon-class', count: this.selectedFeatureByBoxSelection.length }, h("unity-typography", { key: 'a33ff7822412e5ce01ee6a63485e4ff0e2a36d93', variant: "button" }, 'With Selected'))), h("div", { key: 'd984e772a2a0dff1a6560f1f24c65a8d2ba033e0', id: "withSelectedOptionDiv" }, this.selectedFeaturesActionPanel && this.selectionActionAnchor && (h("udp-pop-over", { key: '353206a0c71e72b2d2cf9131e058967d52d1a4dc', isOpen: this.selectionActionAnchor ? true : false, anchorElement: this.selectionActionAnchor, handleOnClose: () => this.handleCloseSelectionActionPopover(), popoverPlacement: 'bottom-start' }, h("div", { key: 'f9ec5efaed936da814dc721133459b7c0e4bab04', innerHTML: this.selectedFeaturesActionPanel }))))), h("stencil-icon-button-grid-action-header", { key: '1a94fa95f49678598334afdc17ffb518bdf74fe4', showLabel: true, icon: Close16, onClick: () => this.unselectFeatures(), tooltip: 'Cancel selection', iconClassName: 'save-icon-class' }, h("unity-typography", { key: '5fc9a5a5099fe738a905851fddc41c8fdfbbeff9', variant: "button" }, 'Cancel Selection'))))), h("div", { key: '2bf769100c94c55d3153f855103f835c31ae317a', id: "addOption" }, this.enableAdd && !this.readOnlyMap && (h("div", { key: '66de8c0d3798744cf703e6a1e8bd44e280c014a3', id: "addOptionButton" }, h("custom-button", { key: '30bba405b0084f1e3f845f4f6ac7efc361305a12', secondary: true, label: h("unity-typography", { variant: "button" }, 'Add'), onClick: () => this.handleAddOnclick(), size: "tall" }, h("udp-icon", { key: 'b5670b29c6ef042108d1b0800643e5366f728753', iconName: 'add32', darkIcon: false })))), this.addFeatureAnchor && (h("udp-pop-over", { key: 'f6039929585215d5bf5c0089345f22bc32c8f0f1', isOpen: this.addFeatureAnchor ? true : false, anchorElement: this.addFeatureAnchor, handleOnClose: () => this.handleCloseAddMapFeature(), popoverPlacement: 'bottom-start', overflow: 'visible' }, h("add-map-feature-popup", { key: '51c8f591dee3dc01a0d57df61801cecdab9ec4b4', handleStartDrawingMapFeature: this.handleStartDrawingMapFeature, vectorLayerOptions: this.layerOptionsForPopup, selectedLayer: this.selectedLayerToAddFeature, selectedType: this.selectedTypeToAddFeature, panelConfig: this.addFeaturePanelConfig }))))))));
182
182
  }
183
183
  static get is() { return "map-toolbar"; }
184
184
  static get encapsulation() { return "shadow"; }
@@ -205,7 +205,7 @@ export class UdpMapToolbar {
205
205
  }
206
206
  //////////////////////////////////////////////////////////RENDER/////////////////////////////////////////////////////
207
207
  render() {
208
- return (h("map-toolbar", { key: 'a89aa9acb1c9c01c31f6e730e17dd595bc6da472', map: this.map, mapTitle: this.mapTitle, layerOptions: this.layerOptions, handleSelectLayers: this.handleSelectLayers, visibleLayers: this.selectedLayers, tileOptions: this.tileSelectOptions, handleSelectTile: this.handleSelectTile, selectedTile: this.selectedTile, enableTileSelection: this.enableTileSelection, filterPanel: this.filterPanel, enableDragBox: this.enableDragBox, selectedFeatureByBoxSelection: this.selectedFeatureByBoxSelection, handleUnselectFeatures: this.handleBulkUnselectFeatures, selectedFeaturesActionPanel: this.bulkSelectedFeaturesActionPanel, handleCancelBoxSelection: this.handleCancelBulkSelectDraw, handleBulkSelectionTypeOnChange: this.bulkSelectDraw, mapProjection: this.mapProjection, refreshEvent: this.handleRefresh, refreshButtonTooltip: this.refreshButtonTooltip, enableAddNewFeature: this.enableAddNewFeature, handleStartDrawingMapFeature: this.startDrawingMapFeature, cancelAddNewFeature: this.cancelAddNewFeature, addNewFeature: this.addNewFeature, enableSplit: this.enableSplitFeature, handleStartSplitting: this.handleStartSplitting, handleCancelSplit: this.handleCancelSplit, handleSaveSplit: this.handleSaveSplit, readOnlyMap: this.readOnlyMap, enableAdd: this.enableAdd, addMultipleFeatures: this.addMultipleFeatures, showSplitButton: this.showSplitButton, readOnlyLayers: this.readOnlyLayers, addFeaturePanelConfig: this.addFeaturePanelConfig }));
208
+ return (h("map-toolbar", { key: '6e671f25d3e390ef73a799bf7bf8519822e085ec', map: this.map, mapTitle: this.mapTitle, layerOptions: this.layerOptions, handleSelectLayers: this.handleSelectLayers, visibleLayers: this.selectedLayers, tileOptions: this.tileSelectOptions, handleSelectTile: this.handleSelectTile, selectedTile: this.selectedTile, enableTileSelection: this.enableTileSelection, filterPanel: this.filterPanel, enableDragBox: this.enableDragBox, selectedFeatureByBoxSelection: this.selectedFeatureByBoxSelection, handleUnselectFeatures: this.handleBulkUnselectFeatures, selectedFeaturesActionPanel: this.bulkSelectedFeaturesActionPanel, handleCancelBoxSelection: this.handleCancelBulkSelectDraw, handleBulkSelectionTypeOnChange: this.bulkSelectDraw, mapProjection: this.mapProjection, refreshEvent: this.handleRefresh, refreshButtonTooltip: this.refreshButtonTooltip, enableAddNewFeature: this.enableAddNewFeature, handleStartDrawingMapFeature: this.startDrawingMapFeature, cancelAddNewFeature: this.cancelAddNewFeature, addNewFeature: this.addNewFeature, enableSplit: this.enableSplitFeature, handleStartSplitting: this.handleStartSplitting, handleCancelSplit: this.handleCancelSplit, handleSaveSplit: this.handleSaveSplit, readOnlyMap: this.readOnlyMap, enableAdd: this.enableAdd, addMultipleFeatures: this.addMultipleFeatures, showSplitButton: this.showSplitButton, readOnlyLayers: this.readOnlyLayers, addFeaturePanelConfig: this.addFeaturePanelConfig }));
209
209
  }
210
210
  static get is() { return "udp-map-toolbar"; }
211
211
  static get encapsulation() { return "shadow"; }
@@ -89,11 +89,11 @@ export class UdpMap {
89
89
  }
90
90
  //////////////////////////////////////////////////////////RENDER/////////////////////////////////////////////////////
91
91
  render() {
92
- return (h("map-component", { key: 'cf730fe0040dac4733618efa7f1b5912273a4014', handleSetMapComponent: this.handleSetMapComponent, data: this.data, isGeoJsonFormat: this.isGeoJsonFormat, geoJsonMappingConfig: this.geoJsonMappingConfig, enableZoom: this.enableZoom, mapZoom: this.mapZoom, mapCenter: this.mapCenter, mapHeight: this.mapHeight, crs: this.crs, mapProjection: this.mapProjection, mapDataProjection: this.mapDataProjection, getFilteredMapData: this.getFilteredMapData, getFeatureStyles: this.getFeatureStyles, getSelectedFeatureStyles: this.getSelectedFeatureStyles, filterPanel: this.filterPanel, filterPanelCallback: this.filterPanelCallback, enableTileSelection: this.enableTileSelection, tileLayersOptions: this.tileLayersOptions, defaultTileOptionName: this.defaultTileOptionName, layerOptions: this.layerOptions, initialSelectedLayers: this.initialSelectedLayers, bulkSelectedFeaturesActionPanel: this.bulkSelectedFeaturesActionPanel, handleSetSelectedFeaturesOnBulkSelect: this.handleSetSelectedFeaturesOnBulkSelect, handleSetSelectedFeatureOnSelect: this.handleSetSelectedFeatureOnSelect, filterLayersByRole: this.filterLayersByRole, layerKeys: this.layerKeys, layerKeySeparator: this.layerKeySeparator, user: this.user, layerRoles: this.layerRoles, filteredLayerOptionsByRole: this.filteredLayerOptionsByRole, handleSetFilteredLayerOptionsByRole: this.handleSetFilteredLayerOptionsByRole, readOnlyMap: this.readOnlyMap, enableViewFeature: this.enableViewFeature, handleViewFeature: this.handleViewFeature, bulkSelectionActive: this.bulkSelectionActive, splitActive: this.splitActive, enableDragBox: this.enableDragBox, selectFeatureInteraction: this.selectFeatureInteraction, handleSetSelectedFeatureProperties: this.handleSetSelectedFeatureProperties, selectedFeatureCoordinates: this.selectedFeatureCoordinates, selectedFeatureProperties: this.selectedFeatureProperties, enableAddNewFeature: this.enableAddNewFeature, handleGetZoomExtent: this.handleGetZoomExtent, selectedLayers: this.selectedLayers, handleSetSelectedLayers: val => {
92
+ return (h("map-component", { key: '69efae07b0c9f45f2f66d59fd5bb9092557d7d75', handleSetMapComponent: this.handleSetMapComponent, data: this.data, isGeoJsonFormat: this.isGeoJsonFormat, geoJsonMappingConfig: this.geoJsonMappingConfig, enableZoom: this.enableZoom, mapZoom: this.mapZoom, mapCenter: this.mapCenter, mapHeight: this.mapHeight, crs: this.crs, mapProjection: this.mapProjection, mapDataProjection: this.mapDataProjection, getFilteredMapData: this.getFilteredMapData, getFeatureStyles: this.getFeatureStyles, getSelectedFeatureStyles: this.getSelectedFeatureStyles, filterPanel: this.filterPanel, filterPanelCallback: this.filterPanelCallback, enableTileSelection: this.enableTileSelection, tileLayersOptions: this.tileLayersOptions, defaultTileOptionName: this.defaultTileOptionName, layerOptions: this.layerOptions, initialSelectedLayers: this.initialSelectedLayers, bulkSelectedFeaturesActionPanel: this.bulkSelectedFeaturesActionPanel, handleSetSelectedFeaturesOnBulkSelect: this.handleSetSelectedFeaturesOnBulkSelect, handleSetSelectedFeatureOnSelect: this.handleSetSelectedFeatureOnSelect, filterLayersByRole: this.filterLayersByRole, layerKeys: this.layerKeys, layerKeySeparator: this.layerKeySeparator, user: this.user, layerRoles: this.layerRoles, filteredLayerOptionsByRole: this.filteredLayerOptionsByRole, handleSetFilteredLayerOptionsByRole: this.handleSetFilteredLayerOptionsByRole, readOnlyMap: this.readOnlyMap, enableViewFeature: this.enableViewFeature, handleViewFeature: this.handleViewFeature, bulkSelectionActive: this.bulkSelectionActive, splitActive: this.splitActive, enableDragBox: this.enableDragBox, selectFeatureInteraction: this.selectFeatureInteraction, handleSetSelectedFeatureProperties: this.handleSetSelectedFeatureProperties, selectedFeatureCoordinates: this.selectedFeatureCoordinates, selectedFeatureProperties: this.selectedFeatureProperties, enableAddNewFeature: this.enableAddNewFeature, handleGetZoomExtent: this.handleGetZoomExtent, selectedLayers: this.selectedLayers, handleSetSelectedLayers: val => {
93
93
  this.updateSelectedLayers(val);
94
- }, readOnlyLayers: this.readOnlyLayers, additionalOnclosePopover: this.additionalOnclosePopover, popoverPrimaryActions: this.popoverPrimaryActions, popoverMoreIconButtonActions: this.popoverMoreIconButtonActions, getMessagePopover: this.getMessagePopover, getMessageIconPopover: this.getMessageIconPopover, hideMessageIconPopover: this.hideMessageIconPopover, popoverCardConfig: this.cardConfig, popoverWidth: this.popoverWidth, handleGetAdditionalFeaturePropertiesOnSelect: this.handleGetAdditionalFeaturePropertiesOnSelect, minZoom: this.minZoom, maxZoom: this.maxZoom }, this.enableToolbar && (h("udp-map-toolbar", { key: '49d244cc30139684e35f2f3d62a19fb994438882', map: this.map, mapTitle: this.mapTitle, mapProjection: this.mapProjection, getFeatureStyles: this.getFeatureStyles, getSelectedFeatureStyles: this.getSelectedFeatureStyles, filterPanel: this.filterPanel, enableTileSelection: this.enableTileSelection, tileLayersOptions: this.tileLayersOptions, defaultTileOptionName: this.defaultTileOptionName, layerOptions: this.layerOptions, bulkSelectedFeaturesActionPanel: this.bulkSelectedFeaturesActionPanel, handleSetSelectedFeaturesOnBulkSelect: this.handleSetSelectedFeaturesOnBulkSelect, handleRefresh: this.handleRefresh, refreshButtonTooltip: this.refreshButtonTooltip, readOnlyMap: this.readOnlyMap, enableAdd: this.enableAdd, handleAddNewFeatures: this.handleAddNewFeatures, addMultipleFeatures: this.addMultipleFeatures, enableSplitFeature: this.enableSplitFeature, handleSplitFeature: this.handleSplitFeature, handleSetSelectedFeatureProperties: this.handleSetSelectedFeatureProperties, filteredLayerOptionsByRole: this.filteredLayerOptionsByRole, handleSetBulkSelectionActive: this.handleSetBulkSelectionActive, enableDragBox: this.enableDragBox, handleSetEnableDragBox: this.handleSetEnableDragBox, splitActive: this.splitActive, handleSetSplitActive: this.handleSetSplitActive, selectFeatureInteraction: this.selectFeatureInteraction, enableAddNewFeature: this.enableAddNewFeature, handleEnableAddNewFeature: this.handleEnableAddNewFeature, handleSelectLayersCallback: this.handleSelectLayersCallback, selectedLayers: this.selectedLayers, handleSetSelectedLayers: val => {
94
+ }, readOnlyLayers: this.readOnlyLayers, additionalOnclosePopover: this.additionalOnclosePopover, popoverPrimaryActions: this.popoverPrimaryActions, popoverMoreIconButtonActions: this.popoverMoreIconButtonActions, getMessagePopover: this.getMessagePopover, getMessageIconPopover: this.getMessageIconPopover, hideMessageIconPopover: this.hideMessageIconPopover, popoverCardConfig: this.cardConfig, popoverWidth: this.popoverWidth, handleGetAdditionalFeaturePropertiesOnSelect: this.handleGetAdditionalFeaturePropertiesOnSelect, minZoom: this.minZoom, maxZoom: this.maxZoom }, this.enableToolbar && (h("udp-map-toolbar", { key: '3af4c7dd6451b1a16146eb0161ebcb13f12040f6', map: this.map, mapTitle: this.mapTitle, mapProjection: this.mapProjection, getFeatureStyles: this.getFeatureStyles, getSelectedFeatureStyles: this.getSelectedFeatureStyles, filterPanel: this.filterPanel, enableTileSelection: this.enableTileSelection, tileLayersOptions: this.tileLayersOptions, defaultTileOptionName: this.defaultTileOptionName, layerOptions: this.layerOptions, bulkSelectedFeaturesActionPanel: this.bulkSelectedFeaturesActionPanel, handleSetSelectedFeaturesOnBulkSelect: this.handleSetSelectedFeaturesOnBulkSelect, handleRefresh: this.handleRefresh, refreshButtonTooltip: this.refreshButtonTooltip, readOnlyMap: this.readOnlyMap, enableAdd: this.enableAdd, handleAddNewFeatures: this.handleAddNewFeatures, addMultipleFeatures: this.addMultipleFeatures, enableSplitFeature: this.enableSplitFeature, handleSplitFeature: this.handleSplitFeature, handleSetSelectedFeatureProperties: this.handleSetSelectedFeatureProperties, filteredLayerOptionsByRole: this.filteredLayerOptionsByRole, handleSetBulkSelectionActive: this.handleSetBulkSelectionActive, enableDragBox: this.enableDragBox, handleSetEnableDragBox: this.handleSetEnableDragBox, splitActive: this.splitActive, handleSetSplitActive: this.handleSetSplitActive, selectFeatureInteraction: this.selectFeatureInteraction, enableAddNewFeature: this.enableAddNewFeature, handleEnableAddNewFeature: this.handleEnableAddNewFeature, handleSelectLayersCallback: this.handleSelectLayersCallback, selectedLayers: this.selectedLayers, handleSetSelectedLayers: val => {
95
95
  this.updateSelectedLayers(val);
96
- }, addFeaturePanelConfig: this.addFeaturePanelConfig })), h("slot", { key: '88fad9362a1e7d28a537eb2dfcdcb9735f491542' })));
96
+ }, addFeaturePanelConfig: this.addFeaturePanelConfig })), h("slot", { key: '00102aa5f21cb5fa6382f9e0785486cd956d714f' })));
97
97
  }
98
98
  static get is() { return "udp-map"; }
99
99
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class UdpMenuItem {
11
11
  };
12
12
  }
13
13
  render() {
14
- return (h("button", { key: '1ede58027c46bb2256944a857da57f400cb639cf', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && h("udp-icon", { key: '627147e2ded1b8c56a14bf325b6e84bda899b28b', iconName: this.iconName, class: "menu-icon" }), h("span", { key: '779499e48b307bd11da339060f98412f5bf08865', class: "menu-item-label" }, h("unity-typography", { key: 'c5043d2ba242a1b70e014fd90da839e7c2ce9a6a', variant: 'body1' }, this.label))));
14
+ return (h("button", { key: '4a43cdb229edec0f13ceda8672bfd3c48c545dc6', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && h("udp-icon", { key: '499c217a79efe99f11e289f9792eb1f9307264bb', iconName: this.iconName, class: "menu-icon" }), h("span", { key: '8c414f47700d8b3802d81579fb1374aa81c8691b', class: "menu-item-label" }, h("unity-typography", { key: '5c95b5ab659abe6c7baa2a1b7a287077afd4af92', variant: 'body1' }, this.label))));
15
15
  }
16
16
  static get is() { return "udp-menu-item"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -90,7 +90,7 @@ export class UdpMenu {
90
90
  }
91
91
  }
92
92
  render() {
93
- return (h(Host, { key: 'c5e8ea4f22f2071292099477f1ff8d605a02bbd3' }, h("div", { key: 'cafe00243d33febff310b602fa00eb8952a879d9', class: "menu-panel", role: "menu" }, h("slot", { key: '2c65e091649eeaffdbe1b453daff6bd8bb82179e' }))));
93
+ return (h(Host, { key: '589a03f2d0fdfc4761d533c4943552664d12e851' }, h("div", { key: '6186d0a942c46b4c32d6cb695ea563e27e4d0dde', class: "menu-panel", role: "menu" }, h("slot", { key: 'f9c0ba9d29aaf48bf58a31096092935e793bf7eb' }))));
94
94
  }
95
95
  static get is() { return "udp-menu"; }
96
96
  static get encapsulation() { return "shadow"; }
@@ -90,7 +90,7 @@ export class UdpStepperDemo {
90
90
  };
91
91
  }
92
92
  render() {
93
- return (h("div", { key: 'eebc9bb4f1d245a9da41ba14cd8519ea5012e074', style: { padding: '2rem' } }, h("unity-typography", { key: '0f9a1a7e068cb8a87c24bc6abf2d3c016b36cbfd', variant: "h2" }, "Horizontal Stepper with Labels bottom"), h("udp-stepper", { key: '99467398bbd932a99f4064cdce04058347f50671', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "horizontal", labelDisplay: "all", labelPosition: "bottom" }), h("unity-typography", { key: 'ceae432518d605a5279287d3f7dec89d05747022', variant: "h2" }, "Horizontal Stepper without Labels"), h("udp-stepper", { key: '91451a92179c6b87d18578cd0947832084b348ef', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "horizontal", labelDisplay: "none", labelPosition: "bottom" }), h("unity-typography", { key: '55fc4f975f03af338db74402aa5473701acc947d', variant: "h2" }, "Horizontal Stepper with Labels to Right"), h("udp-stepper", { key: 'f5f862c22a85b774c018946cfb42a2e495992ef7', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "horizontal", labelDisplay: "all", labelPosition: "right" }), h("unity-typography", { key: '136379efff85d15e5b2b1fc9a403a9c5c7e24a71', variant: "h2" }, "Vertical Stepper"), h("udp-stepper", { key: 'b592b5256dff97067080079474e1f97ed8566e62', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "vertical", labelDisplay: "all", labelPosition: "right" })));
93
+ return (h("div", { key: '2319255e5746720f12f3e09b1218c2165ef8d817', style: { padding: '2rem' } }, h("unity-typography", { key: '656c99db41764cbb769d8082e5a45c042c669976', variant: "h2" }, "Horizontal Stepper with Labels bottom"), h("udp-stepper", { key: '16e00a0cab21bdf462a8750b19f18e6168fc90ac', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "horizontal", labelDisplay: "all", labelPosition: "bottom" }), h("unity-typography", { key: '27a78441510baf5aa6dfc80d8919a34529617ad3', variant: "h2" }, "Horizontal Stepper without Labels"), h("udp-stepper", { key: '1d1a41d4454e7b73c87ebd4b336ebdc64aa9522b', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "horizontal", labelDisplay: "none", labelPosition: "bottom" }), h("unity-typography", { key: '43b1a72c4a8a97aef8158b28cdd9b21def43763a', variant: "h2" }, "Horizontal Stepper with Labels to Right"), h("udp-stepper", { key: '5d5fe67789189f33101e8bfb936d4cfe15bbd7c7', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "horizontal", labelDisplay: "all", labelPosition: "right" }), h("unity-typography", { key: '89680789dc23b5c0d995d6064278e9f634a62bec', variant: "h2" }, "Vertical Stepper"), h("udp-stepper", { key: '3df6a59fb672ff752d8f03626651a37388773646', steps: this.steps, activeStep: this.activeStep, completed: this.completed, stepChange: this.handleStepChange, orientation: "vertical", labelDisplay: "all", labelPosition: "right" })));
94
94
  }
95
95
  static get is() { return "udp-stepper-demo"; }
96
96
  static get encapsulation() { return "shadow"; }
@@ -204,7 +204,7 @@ export class UdpTabs {
204
204
  }
205
205
  render() {
206
206
  const currentActiveTab = this.activeTab; // Use getter
207
- return (h("div", { key: '5300dbcdc9fff54d87fe64e3bbcc3b6a1f04c331', class: "tab-container" }, h("div", { key: '83041e378183364889aa8d14114c9315ead1028c', class: `tab-header ${this.variant}` }, this.showScrollLeft && (h("button", { key: '87d95478e27c13440e15e3d6b8cf4047d3e97e53', class: "scroll-arrow left", onClick: () => this.scrollToStart(), "aria-label": "Scroll to first tab" }, h("udp-icon", { key: 'a81987c97a0459533f17b68103788af401f06378', iconName: "chevronLeft16", color: "inherit" }))), this.showScrollLeft && h("div", { key: 'a52b3b7fba6022c4864f0cb89d24e34ade18a969', class: "scroll-fade left" }), h("div", { key: '0dc7ce8d4269539cfcd011736df876e6a64feebe', class: "tab-scroll-container", ref: el => (this.scrollContainerRef = el), onScroll: () => this.checkScroll() }, this.tabDetails.map((tab, index) => {
207
+ return (h("div", { key: '39658d24754621f8b22e718d126894451a4919d8', class: "tab-container" }, h("div", { key: '49afc82bdbfafb7292c450bdd76c3e6fd5b9e9aa', class: `tab-header ${this.variant}` }, this.showScrollLeft && (h("button", { key: 'ade7254e3b26254f12e3aedfc6e6656904b188e6', class: "scroll-arrow left", onClick: () => this.scrollToStart(), "aria-label": "Scroll to first tab" }, h("udp-icon", { key: '095dcdf5234ef669ea45bc28d0fb9f025eba5326', iconName: "chevronLeft16", color: "inherit" }))), this.showScrollLeft && h("div", { key: '79c3ebfd7e482c60596fe92d42757d93dfb4e2b6', class: "scroll-fade left" }), h("div", { key: '7bac2bd5f30bb120284814b05ea4da8150c4cc40', class: "tab-scroll-container", ref: el => (this.scrollContainerRef = el), onScroll: () => this.checkScroll() }, this.tabDetails.map((tab, index) => {
208
208
  if (tab.hidden) {
209
209
  return null;
210
210
  }
@@ -218,7 +218,7 @@ export class UdpTabs {
218
218
  [`icon-${tab.iconPlacement}`]: !!tab.icon,
219
219
  'disabled': tab.disabled,
220
220
  }, disabled: tab.disabled, onClick: () => this.tabClicked(index), role: "tab", "aria-selected": index === currentActiveTab ? 'true' : 'false', "aria-disabled": tab.disabled ? 'true' : 'false', ref: el => (this.buttonRefs[index] = el) }, iconEl, labelEl));
221
- }), h("div", { key: '0892dff1735729462a927e9f7d0127b402a43918', class: "slider", style: this.sliderStyle })), this.showScrollRight && h("div", { key: 'edf6fc21360de9fd919e4d71aefec6e3c7ed9fdd', class: "scroll-fade right" }), this.showScrollRight && (h("button", { key: '88adff5cab4b8baff5a1e4c6ed5f2fe44064f05e', class: "scroll-arrow right", onClick: () => this.scrollToEnd(), "aria-label": "Scroll to last tab" }, h("udp-icon", { key: '7704e98608f492cb4f599b706b302e003d84bb46', iconName: "chevronRight16", color: "inherit" })))), !this.isControlled && !this.useTabsProp && (h("div", { key: 'fd61baeb3e79a387c1367813fbaa99f496ae4d62' }, h("slot", { key: '872c0a2ead48abea1c946b7389c307a53d560705' })))));
221
+ }), h("div", { key: 'f2c322a5bc7fe5c5e0aaace452727ddb287a17da', class: "slider", style: this.sliderStyle })), this.showScrollRight && h("div", { key: '08399f60df57432e46b7365c0d5f653f512edc46', class: "scroll-fade right" }), this.showScrollRight && (h("button", { key: '9be19443a7c996472714beb53d9e3534b000c62e', class: "scroll-arrow right", onClick: () => this.scrollToEnd(), "aria-label": "Scroll to last tab" }, h("udp-icon", { key: 'e4c5baf6a8e0ae67adb82c0b8be48ca277b25ce4', iconName: "chevronRight16", color: "inherit" })))), !this.isControlled && !this.useTabsProp && (h("div", { key: '4b33abce9f558a0d0fb22533d81f11fc1dc18849' }, h("slot", { key: '1ebca6515b93f563f063c5832e31e2d17a8dbcd8' })))));
222
222
  }
223
223
  static get is() { return "udp-tabs"; }
224
224
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class UdpTab {
23
23
  this.disabled = false;
24
24
  }
25
25
  render() {
26
- return (h("div", { key: '6792f3e4f90e3e99a844e111783fe9f027501117', class: { 'tab-panel': true, 'active': this.active }, role: "tabpanel" }, h("slot", { key: '865d65568d4c0c2651a76eb9f7a19a0f4eff2c65' })));
26
+ return (h("div", { key: 'f11315932e2e200997d557729b171223fa98f4b0', class: { 'tab-panel': true, 'active': this.active }, role: "tabpanel" }, h("slot", { key: '73b9ef3b7dfeda69ae130fdefb39e8179d891818' })));
27
27
  }
28
28
  static get is() { return "udp-tab"; }
29
29
  static get originalStyleUrls() {
@@ -2,10 +2,10 @@ import { h } from "@stencil/core";
2
2
  export class UdpTabPanel {
3
3
  render() {
4
4
  const isActive = this.value === this.index;
5
- return (h("div", { key: '3d2383c0b993bcb66a13c14048a13450aa5fd6b4', class: {
5
+ return (h("div", { key: '189ebf853b69a4f543aaafc450003f4a046c823d', class: {
6
6
  'tab-panel': true,
7
7
  'active': isActive,
8
- }, role: "tabpanel", "aria-hidden": !isActive ? 'true' : 'false' }, h("slot", { key: 'fde6d4bef1fa5ded55d61ca54349cd9e85c2d265' })));
8
+ }, role: "tabpanel", "aria-hidden": !isActive ? 'true' : 'false' }, h("slot", { key: '7b9a7830280bf62f9bce753f6ab83b68e198a5df' })));
9
9
  }
10
10
  static get is() { return "udp-tab-panel"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class UdpTimelineConnector {
3
3
  render() {
4
- return h("div", { key: 'ac7162f423f990b85fc98a011c4a48bd4ba6ffdc', class: "connector" });
4
+ return h("div", { key: '6e29be72d441d6c377d008621019db08f9633da9', class: "connector" });
5
5
  }
6
6
  static get is() { return "udp-timeline-connector"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class UdpTimelineDot {
32
32
  '--udp-timeline-dot-bg': this.color,
33
33
  '--udp-timeline-dot-outline-color': this.color,
34
34
  } : {};
35
- return (h("div", { key: '1e05486cbf143dc476a32baea254820030f1f7f1', class: classes, style: styles }, h("slot", { key: 'c667f97a9fe7c03b243fb42a9b59e53411258a37' })));
35
+ return (h("div", { key: '2c5bd3f827dfe8f2720ca8aa46ce96d34cdfc7fa', class: classes, style: styles }, h("slot", { key: '97e649e977722c782c969cc3d93352e0c92c68aa' })));
36
36
  }
37
37
  static get is() { return "udp-timeline-dot"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -58,12 +58,12 @@ export class UdpTimelineItem {
58
58
  var _a;
59
59
  const visibleActions = this.actions.slice(0, 4);
60
60
  const menuActions = this.actions.slice(4);
61
- return (h(Host, { key: 'e0c202b3da3613d5bd3391c823f4717b00a8c963', class: {
61
+ return (h(Host, { key: '8326b3df0cc9cc0028c3bfc933bc459db35094bc', class: {
62
62
  'has-title': this.hasTitle,
63
63
  'has-caption': this.hasCaption,
64
64
  [`dot-shape-${this.dotShape}`]: true,
65
65
  'clickable': this.clickable,
66
- }, onClick: this.handleClick }, h("div", { key: '091ebbfbc1b9efb37404b200ade26eeedd859247', class: "udp-timeline-item" }, h("div", { key: '9f463e19de021d0abaab732158415f9a65c6450c', class: "separator-column" }, h("slot", { key: '6d144c613e5c1905eac606dee59c7a94a3332fa0', name: "separator" })), h("div", { key: '1a2748b27929a7c06176046c85b93f6a1afe4fc5', class: "content-column" }, h("div", { key: 'd57471f235edbf455a70f56940f8879f8a6b5100', class: "first-row" }, h("div", { key: '68ef26531dae5f3150f82a143b1b6aa2dcd5c7ae', class: "title-slot" }, h("slot", { key: 'd2d11a82ee5d7a5b665e0dbe2afd517f02df4d81', name: "title" })), ((_a = this.statusLabel) === null || _a === void 0 ? void 0 : _a.trim()) != '' && (h("udp-chip", { key: '3c6fe171c3dcb2b60523e01f0d893694143d998b', label: this.statusLabel, color: this.statusColor, size: "small" }))), h("div", { key: '10f19128bc549bac7e53eb1260986c1f230dd3b8', class: "content-slot" }, h("slot", { key: 'e283db48e73b9614bd1ee33c4aafcf585560e111', name: "content" })), h("div", { key: '8fe114f2d6ff8bd9af2f1e044f2f73288595ae92', class: "caption-slot" }, h("slot", { key: 'f1f1b35200e5c9cfcdbaeb7943a75f2f97501874', name: "caption" })), this.actions.length > 0 && (h("div", { key: 'c4a6f1f85cc02761a1ef8aff3ae27081a19c28ac', class: "actions-container" }, visibleActions.map(action => (h("button", { onClick: action.onClick }, action.label))), menuActions.length > 0 && h("button", { key: 'ea8b1d8f7a77a56b1385bceabc0db2e310ffe492' }, "...")))))));
66
+ }, onClick: this.handleClick }, h("div", { key: 'a2fae7aacf20d01c7af29054e8c706f758ece4c9', class: "udp-timeline-item" }, h("div", { key: '281563af2707ddc073b3414a78f2ec264ac54238', class: "separator-column" }, h("slot", { key: 'db75bbc336f12262d6de2079e57c32190a739e91', name: "separator" })), h("div", { key: '1759cffe898de2b80712d5253d006e8aad7acf77', class: "content-column" }, h("div", { key: '3d8d768714a546b6d1b93e63c2ac7b9ffbd4cc33', class: "first-row" }, h("div", { key: '59498dc18fc522deec1edb08be8144021dc23fdb', class: "title-slot" }, h("slot", { key: '4de60c7bb739794e3b4f46b9d6bda1a842bcb255', name: "title" })), ((_a = this.statusLabel) === null || _a === void 0 ? void 0 : _a.trim()) != '' && (h("udp-chip", { key: 'b3cce52eb5f3022085eae08ab01e38ffde583245', label: this.statusLabel, color: this.statusColor, size: "small" }))), h("div", { key: '6877b1e05c45c70ff8260f08fbf13fa5d9f428dc', class: "content-slot" }, h("slot", { key: '4ee558c73d0694676ca014e936f83c4b34c3a86f', name: "content" })), h("div", { key: 'bca70084d830b5988b1192328a817b57082593aa', class: "caption-slot" }, h("slot", { key: '5cf4a947ca3cfa3e01b4f415d9bd408478bbfe32', name: "caption" })), this.actions.length > 0 && (h("div", { key: 'c18da0ac1c20e4b2354cb5b21f473e938f7edbb8', class: "actions-container" }, visibleActions.map(action => (h("button", { onClick: action.onClick }, action.label))), menuActions.length > 0 && h("button", { key: 'c0327b7dbb152db4c5229e2517c0061d5981cdb9' }, "...")))))));
67
67
  }
68
68
  static get is() { return "udp-timeline-item"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class UdpTimelineSeparator {
3
3
  render() {
4
- return (h("div", { key: 'fd906306d70d88d53be6436fbf36e2d6a36fdd90', class: "udp-timeline-separator" }, h("slot", { key: '427efd7e20154bddef6653dc1d0efa693766a46f' })));
4
+ return (h("div", { key: 'ffc3bdd998905aa0254b7610824996ddc5263547', class: "udp-timeline-separator" }, h("slot", { key: '92dc66209cffed11e4c04bb0f3f309c9f27cdda2' })));
5
5
  }
6
6
  static get is() { return "udp-timeline-separator"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class UdpTimeline {
5
5
  this.align = 'left';
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: 'b8f6549bc279987a93954ee693a5c2fe54c41184', class: { [`align-${this.align}`]: true } }, h("div", { key: 'f0a00ac185b51a7666bf6617f4f3c6e846da131a', class: "udp-timeline-root" }, h("slot", { key: '69ba86a6fd1c7a418cbd87c25d4aed591751089b' }))));
8
+ return (h(Host, { key: '555eec82e04f639c2ea3c7e6f02305406a601790', class: { [`align-${this.align}`]: true } }, h("div", { key: 'a717e8b6d0a12902927eda125d07a4fada686903', class: "udp-timeline-root" }, h("slot", { key: '2ae6134c049190100dc7fccc9b7ff768b85fc438' }))));
9
9
  }
10
10
  static get is() { return "udp-timeline"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
2
2
  import Menu24 from "@carbon/icons/es/menu/24";
3
3
  export class AppBar {
4
4
  render() {
5
- return (h("div", { key: 'be002d9dfce20fd83ef6b1a86b11a690c3c3001d', class: "header" }, h("stencil-icon-button", { key: '6471208d84cbaf51439f6db7bb4ee7f56474e39c', noBackground: true, darkIcon: false, icon: Menu24 }), h("unity-typography", { key: '256a7a073681ae8cf9326e566f48c217a94ed1bd', variant: 'data-display-one' }, " ", h("slot", { key: '09f60dc05e9b00e9febdf01698f09943b6468698' }), " "), h("a", { key: 'f7612db42a33e288db4ad195711aae2f5851757c', class: "skip-to-content", href: "#main-content" }, "Skip to main content"), h("div", { key: '6801cb125f54c70508ee25f99dca06a659743503', class: "header__logo" }), h("div", { key: 'dea566be0ac10431daa3dfbb4c68cf369a8c955e', class: "header__nav", role: "navigation", "aria-label": "Carbon Design System" }), h("div", { key: '7b6119bf503f80b4ae71dbb57d39c409edeb6061', class: "header__global" }, h("udp-avatar", { key: '005a2fdf32ba51a1937c653fcad03ab20d856c1c', username: this.username }))));
5
+ return (h("div", { key: '7b7af9697a475cf142798e9e43feee3985856a6b', class: "header" }, h("stencil-icon-button", { key: 'af3495916584f70dfd7fb5426e00c4f148c29e3a', noBackground: true, darkIcon: false, icon: Menu24 }), h("unity-typography", { key: '92af258f08e7703eddd5feca74c1069ea6e8b271', variant: 'data-display-one' }, " ", h("slot", { key: '48729c3557c59d27ce18edd1beeda424d990579b' }), " "), h("a", { key: 'b16e4c1679c4b7320f89c9ebdd3968af35910695', class: "skip-to-content", href: "#main-content" }, "Skip to main content"), h("div", { key: 'fa773ebfe0743a3ddff6ab87d7e1a1c68b68f4cd', class: "header__logo" }), h("div", { key: 'c954e8afe6edbe14569bdcd7d2ee557c63beda0c', class: "header__nav", role: "navigation", "aria-label": "Carbon Design System" }), h("div", { key: 'e327a7c72a2af8f31980d4963fb4691ccd778425', class: "header__global" }, h("udp-avatar", { key: 'a9320922a27392ae25af4d3ee23cccc5b8787ce5', username: this.username }))));
6
6
  }
7
7
  static get is() { return "app-bar"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class GhostRender {
70
70
  // The <slot /> is necessary to prevent the Stencil compiler from
71
71
  // overly optimizing this component's output and aliasing the
72
72
  // defineCustomElement export, which breaks downstream wrappers.
73
- return (h(Host, { key: '51f77179f93927367689cf33f4869128e7010f83' }, h("slot", { key: 'faab84e4da4889b31ab600e9c513bfa0495850c8' })));
73
+ return (h(Host, { key: '77d50c2b9c9ccbb58d00b4928fcbed63d13c1010' }, h("slot", { key: '30730a259776f1452fca147be792d928ba2ee996' })));
74
74
  }
75
75
  static get is() { return "ghost-render"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class SideSheetContainer {
5
5
  }
6
6
  render() {
7
7
  const style = this.padding ? { 'padding': '16px' } : {};
8
- return (h("div", { key: '5bf661f05d6a04560a6ac9acba9be971d58caafb', class: "container", style: style }, h("slot", { key: 'b4322e157d5bcee6dc450ad2b1669081e402104b' })));
8
+ return (h("div", { key: 'd96d9ce87e8be3dde29bd888c7a19d658b3a509d', class: "container", style: style }, h("slot", { key: '3e58e513226f46ded85c18248bc9cac3ed372b69' })));
9
9
  }
10
10
  static get is() { return "side-sheet-container"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class SideSheet {
15
15
  render() {
16
16
  const widthClass = typeof this.widthOption === 'number' ? 'custom-width' : this.widthOption;
17
17
  const sideSheetStyle = typeof this.widthOption === 'number' ? { width: `${this.widthOption}px` } : {};
18
- return (h("div", { key: '76b91b727123b4e736c2bc6d2ff9c72b06ddcd3d' }, h("div", { key: 'a83d82c9cdbb770fa9731802d10c3e31d0cf9ac9', class: { 'backdrop': true, 'open': this.open }, onClick: this.toggleDrawer }), h("div", { key: 'e7414326713895bebe9309ca154bcc6707a5999b', class: { 'side-sheet': true, 'open': this.open, 'close': !this.open, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, h("div", { key: 'e7da3df1fe5926f252cbbc18359b18e90db76b6e', class: "title" }, h("div", { key: '233d096ac4dd384f7d6c57125580c645281aee69', class: 'close-button' }, h("stencil-icon-button", { key: 'a01bbb5c7800df9428b1735940197cf9b24e64c8', icon: Close24, onClick: this.toggleDrawer })), h("div", { key: '40d34763b2fe3266e0f69b0f0c7771d4eababd88', class: 'title' }, h("unity-typography", { key: 'ad5928280a27aa0a28d4075dd03f65aac968700d', variant: "data-display-four" }, this.title)), this.sideSheetButtonLabel && h("custom-button", { key: 'd74bfea3ae61b9597628ac7f75f4e36e7f36edf7', style: { transform: this.buttonTransform, }, size: 'tall', disabled: this.disabled, onCustomClick: () => this.handleSideSheetButton() }, this.sideSheetButtonLabel)), h("side-sheet-container", { key: 'd4e59e69ed6df373807504c1a401ffab0262b4ac', padding: this.padding }, h("slot", { key: '7146e18029b23eb677cddcf260a8733e26aa707e' })))));
18
+ return (h("div", { key: '493885f8ff6fd42a33d7a91ceeaf2376896e78b9' }, h("div", { key: '5f3fc796d16eac33ed3ee5caa591c55074f08b5d', class: { 'backdrop': true, 'open': this.open }, onClick: this.toggleDrawer }), h("div", { key: '5d91c44a3dfdef6e6e60dd8bb9932965c0b3c4d6', class: { 'side-sheet': true, 'open': this.open, 'close': !this.open, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, h("div", { key: 'e585f7cda32111284edd65d43db8034f1fd4a3f1', class: "title" }, h("div", { key: '47682a75bc55ea2b3699727e1d8b8005331fa053', class: 'close-button' }, h("stencil-icon-button", { key: '127217807a38574d7cc17b46f3b3480b1e780628', icon: Close24, onClick: this.toggleDrawer })), h("div", { key: '6e6ef59d9ae06d64b9b24723fa593a15e8713a89', class: 'title' }, h("unity-typography", { key: 'e58a2a5b8fad9b6cc78fd1ae266d10a54bd70374', variant: "data-display-four" }, this.title)), this.sideSheetButtonLabel && h("custom-button", { key: '709251d45b26fd42dfb08aa3292b9d500184167e', style: { transform: this.buttonTransform, }, size: 'tall', disabled: this.disabled, onCustomClick: () => this.handleSideSheetButton() }, this.sideSheetButtonLabel)), h("side-sheet-container", { key: '5a1321a0b09d030612e4787d1652666351057ffe', padding: this.padding }, h("slot", { key: 'eab8b1135a509ac45eccc573a5efe6e78efaf54d' })))));
19
19
  }
20
20
  static get is() { return "side-sheet"; }
21
21
  static get originalStyleUrls() {
@@ -6,5 +6,6 @@ export { SearchBuilder, SearchUtilities, LogicalSearchOperator, SearchGroupingTy
6
6
  export * from './store/catalog-store';
7
7
  export * from './udp-utilities/api-config';
8
8
  export { useMatchBreakpoint } from './udp-utilities/layout/breakpoints/useMatchBreakpoint';
9
+ export * from './udp-utilities/udp-websocket-client/udp-websocket-client';
9
10
  // export { initializeUrls } from './udp-utilities/api-udp/apiUtils'
10
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mCAAmC,CAAA;AACjD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,0DAA0D,CAAA;AACxE,OAAO,EACL,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,IAAI,kBAAkB,EACtC,MAAM,wBAAwB,CAAA;AAQ/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAA;AAE1F,oEAAoE","sourcesContent":["export * from './components';\nexport * from './udp-utilities/api-udp/apiMutate'\nexport * from './udp-utilities/grid/convertToAgGridColumns'\nexport * from './udp-utilities/grid/data-converters/transformSearchData'\nexport {\n SearchBuilder,\n SearchUtilities,\n LogicalSearchOperator,\n SearchGroupingType,\n SearchOperators as SqlFilterOperators\n} from './udp-utilities/search'\nexport type {\n Search as SearchInterface,\n SearchFilters,\n SearchFilterGroups,\n GroupOperation,\n OrderElement\n} from './udp-utilities/search'\nexport * from './store/catalog-store'\nexport * from './udp-utilities/api-config'\nexport { useMatchBreakpoint } from './udp-utilities/layout/breakpoints/useMatchBreakpoint'\n\n// export { initializeUrls } from './udp-utilities/api-udp/apiUtils'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mCAAmC,CAAA;AACjD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,0DAA0D,CAAA;AACxE,OAAO,EACL,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,IAAI,kBAAkB,EACtC,MAAM,wBAAwB,CAAA;AAQ/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAA;AAC1F,cAAc,2DAA2D,CAAC;AAE1E,oEAAoE","sourcesContent":["export * from './components';\nexport * from './udp-utilities/api-udp/apiMutate'\nexport * from './udp-utilities/grid/convertToAgGridColumns'\nexport * from './udp-utilities/grid/data-converters/transformSearchData'\nexport {\n SearchBuilder,\n SearchUtilities,\n LogicalSearchOperator,\n SearchGroupingType,\n SearchOperators as SqlFilterOperators\n} from './udp-utilities/search'\nexport type {\n Search as SearchInterface,\n SearchFilters,\n SearchFilterGroups,\n GroupOperation,\n OrderElement\n} from './udp-utilities/search'\nexport * from './store/catalog-store'\nexport * from './udp-utilities/api-config'\nexport { useMatchBreakpoint } from './udp-utilities/layout/breakpoints/useMatchBreakpoint'\nexport * from './udp-utilities/udp-websocket-client/udp-websocket-client';\n\n// export { initializeUrls } from './udp-utilities/api-udp/apiUtils'\n"]}
@@ -94,13 +94,13 @@ export class ChipSection {
94
94
  }
95
95
  render() {
96
96
  console.log("Rendering ChipSection", this.visibleFilterChips);
97
- return (h("div", { key: 'ecef73c7e01fd3267cb08af779ac3e753896421f', class: "wrapper", id: "chipSectionContainer" }, h("div", { key: '03910a548cf9b365a72b3257f2d4d21420b9e58f', class: "chipHolder" }, h("div", { key: '04905f5071291896339a8b2df3936f4396e3e0e0', id: "viewChipsContainer" }, this.viewChips.map((chip, index) => (h("stencil-chip", { onOnDelete: () => this.handleDelete('view', index), text: chip.label, class: "viewChip" })))), h("udp-dynamic-container-with-menu", { key: 'a9bbd04890c36217eec8f95c4f9236ee86f276c5', id: "filterChipsContainer", menuItems: this.menuItems }, this.selectedFilterChip && (h("stencil-chip", { key: 'dd8a6b7c64cd48bba34f505924a2e2b197d27952', onOnDelete: this.handleFilterChipUntoggle, text: this.selectedFilterChip.label, class: "viewChip" })), console.log('filtering here...', this.filterChips), this.filterChips.map((chip) => {
97
+ return (h("div", { key: '7d57f632fed9180970cc16bdfe929cdc86efa359', class: "wrapper", id: "chipSectionContainer" }, h("div", { key: 'f609b0423b57e0c270d87b6dae6e4cb22c30b869', class: "chipHolder" }, h("div", { key: '2c64b4b347c29c64dc65ed1b645277725eb60bd7', id: "viewChipsContainer" }, this.viewChips.map((chip, index) => (h("stencil-chip", { onOnDelete: () => this.handleDelete('view', index), text: chip.label, class: "viewChip" })))), h("udp-dynamic-container-with-menu", { key: 'd0b70c1ce9e1444a55621829d8ff3dee45f32b39', id: "filterChipsContainer", menuItems: this.menuItems }, this.selectedFilterChip && (h("stencil-chip", { key: 'ea307f7514c5d7ecccac9ae7e1073f52f0e94e39', onOnDelete: this.handleFilterChipUntoggle, text: this.selectedFilterChip.label, class: "viewChip" })), console.log('filtering here...', this.filterChips), this.filterChips.map((chip) => {
98
98
  if (this.selectedFilterChip && chip.id === this.selectedFilterChip.id) {
99
99
  console.log('returning null...');
100
100
  return null;
101
101
  }
102
102
  return (h("stencil-chip", { text: `${chip.label} ${chip.value}`, class: "filterChip", onClick: () => this.handleFilterChipToggle(chip) }));
103
- })), h("div", { key: '4c7c54000f87cbea00e562a68ad5411a588fe323', id: "additionalFilterChipsContainer" }, this.additionalFilterChips.map((chip, index) => (h("stencil-chip", { onOnDelete: () => this.handleDelete('additionalFilter', index), text: chip.label, class: "additionalFilterChip" })))), !this.hideKpiSection && (h("div", { key: 'ad03fb310e01f0c18110983ed508eb3afb308217', class: "KPI", id: "kpiContainer" }, this.kpiValues.slice(0, this.maxKPIsDisplayed).map((kpi) => (h("div", { class: "kpiItem" }, h("span", { class: "kpiLabel" }, this.abbreviateLabel(kpi.label) || kpi.label), h("span", { class: "kpiValue" }, this.abbrNum(kpi.value, 1))))))))));
103
+ })), h("div", { key: '43e94f749885352f3812ffb341830bc22ff3f8cd', id: "additionalFilterChipsContainer" }, this.additionalFilterChips.map((chip, index) => (h("stencil-chip", { onOnDelete: () => this.handleDelete('additionalFilter', index), text: chip.label, class: "additionalFilterChip" })))), !this.hideKpiSection && (h("div", { key: '616441fe4812ba9f86db0a14b542fe0a0434daa4', class: "KPI", id: "kpiContainer" }, this.kpiValues.slice(0, this.maxKPIsDisplayed).map((kpi) => (h("div", { class: "kpiItem" }, h("span", { class: "kpiLabel" }, this.abbreviateLabel(kpi.label) || kpi.label), h("span", { class: "kpiValue" }, this.abbrNum(kpi.value, 1))))))))));
104
104
  }
105
105
  static get is() { return "chip-section"; }
106
106
  static get encapsulation() { return "shadow"; }
@@ -114,7 +114,7 @@ export class DynamicContainerWithMenu {
114
114
  this.udpChipClicked.emit(chipText);
115
115
  }
116
116
  render() {
117
- return (h("div", { key: '7aa41191a2fd7b8852f465ac8a1957fb57a9791d', class: "container" }, h("div", { key: 'd62603a8717a3b95f6d4552c6ba44ad58885da3c', class: "chips" }, console.log('Received data for chips via executeQwith', this.visibleChildren), this.visibleChildren && this.visibleChildren.map((child, index) => (h("stencil-chip", { color: "secondary", key: index, text: child.description, "show-delete": "false", externalToggleString: this.externalToggle })))), h("div", { key: '584c495f74c2f53a0c6b53e3b23fe1dbbba481f4', class: "overflow" }, h("udp-pop-over", { key: '8ee9fb7ca327b54f6bf120d1e57fed80eb7211b4', isOpen: this.popoverOpen, anchorElement: document.getElementById('anchorElement') }, h("div", { key: '84ed96340e2c4eb20ee83dafb868301eea36b939', class: "menu" }, this.menuChildren && this.menuChildren.map((child, index) => (h("stencil-chip", { key: index, text: child.label, "show-delete": "false" }, " "))))))));
117
+ return (h("div", { key: 'f09bf517019dc24f5a721b4c8be5856eb0b457ac', class: "container" }, h("div", { key: '6881c4b03240b798a2377957131d824a6086f2a0', class: "chips" }, console.log('Received data for chips via executeQwith', this.visibleChildren), this.visibleChildren && this.visibleChildren.map((child, index) => (h("stencil-chip", { color: "secondary", key: index, text: child.description, "show-delete": "false", externalToggleString: this.externalToggle })))), h("div", { key: '039f9472b7beb854f632859ba4c4718bea5a05c8', class: "overflow" }, h("udp-pop-over", { key: '358e339b4e83af974cd5470a593638becac83754', isOpen: this.popoverOpen, anchorElement: document.getElementById('anchorElement') }, h("div", { key: 'ec28e9f5ad344f13d319da7576188200044c60f5', class: "menu" }, this.menuChildren && this.menuChildren.map((child, index) => (h("stencil-chip", { key: index, text: child.label, "show-delete": "false" }, " "))))))));
118
118
  }
119
119
  static get is() { return "udp-dynamic-container-with-menu"; }
120
120
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,137 @@
1
+ export class UdpWebSocketClient {
2
+ get isConnected() {
3
+ var _a;
4
+ return ((_a = this.socket) === null || _a === void 0 ? void 0 : _a.readyState) === WebSocket.OPEN;
5
+ }
6
+ async connect(url, getAccessToken, keepAliveIntervalMs = 0, keepAliveTimeoutMs = 0) {
7
+ var _a;
8
+ if (!this.isWssUrl(url)) {
9
+ throw new Error("Invalid WebSocket URL. Only ws and wss protocols are supported.");
10
+ }
11
+ const accessToken = await getAccessToken();
12
+ if (accessToken) {
13
+ // Browsers don't support setting headers manually, they only allow setting the `Sec-WebSocket-Protocol` header (secondary protocol header)
14
+ this.socket = new WebSocket(url, accessToken);
15
+ }
16
+ else {
17
+ this.socket = new WebSocket(url);
18
+ }
19
+ // Wait for the socket to open or error
20
+ await new Promise((resolve, reject) => {
21
+ const onOpen = () => {
22
+ this.socket.removeEventListener('open', onOpen);
23
+ this.socket.removeEventListener('error', onError);
24
+ resolve();
25
+ };
26
+ const onError = (e) => {
27
+ this.socket.removeEventListener('open', onOpen);
28
+ this.socket.removeEventListener('error', onError);
29
+ reject(e);
30
+ };
31
+ this.socket.addEventListener('open', onOpen);
32
+ this.socket.addEventListener('error', onError);
33
+ });
34
+ // Socket is now open, call the openHandler
35
+ (_a = this.openHandler) === null || _a === void 0 ? void 0 : _a.call(this);
36
+ // Assign socket events
37
+ this.socket.onmessage = (e) => this.handleMessage(e);
38
+ this.socket.onclose = (e) => this.handleClose(e);
39
+ this.socket.onerror = (e) => this.handleError(e);
40
+ // Start keepAliveTimer if configured
41
+ if (keepAliveIntervalMs && keepAliveTimeoutMs) {
42
+ this.startKeepAliveTimer(keepAliveIntervalMs, keepAliveTimeoutMs);
43
+ }
44
+ }
45
+ onMessageReceived(handler) {
46
+ this.messageReceivedHandler = handler;
47
+ return this;
48
+ }
49
+ onOpen(handler) {
50
+ this.openHandler = handler;
51
+ return this;
52
+ }
53
+ onClose(handler) {
54
+ this.closeHandler = handler;
55
+ return this;
56
+ }
57
+ onError(handler) {
58
+ this.errorHandler = handler;
59
+ return this;
60
+ }
61
+ send(message) {
62
+ if (!this.isConnected) {
63
+ throw new Error("WebSocket is not connected.");
64
+ }
65
+ const json = JSON.stringify(message);
66
+ this.socket.send(json);
67
+ }
68
+ close() {
69
+ if (this.socket) {
70
+ this.socket.close();
71
+ this.stopKeepAliveTimer();
72
+ this.socket = undefined;
73
+ }
74
+ }
75
+ // Event handlers
76
+ handleMessage(event) {
77
+ var _a;
78
+ try {
79
+ const msg = JSON.parse(event.data);
80
+ (_a = this.messageReceivedHandler) === null || _a === void 0 ? void 0 : _a.call(this, msg);
81
+ }
82
+ catch (err) {
83
+ console.error("Invalid UdpWebSocketMessage received:", err);
84
+ }
85
+ }
86
+ handleClose(event) {
87
+ var _a;
88
+ (_a = this.closeHandler) === null || _a === void 0 ? void 0 : _a.call(this, event);
89
+ this.close();
90
+ }
91
+ handleError(event) {
92
+ var _a;
93
+ (_a = this.errorHandler) === null || _a === void 0 ? void 0 : _a.call(this, event);
94
+ console.error("UdpWebSocket error:", event);
95
+ }
96
+ // KeepAlive functions
97
+ startKeepAliveTimer(intervalMs, timeoutMs) {
98
+ this.stopKeepAliveTimer();
99
+ // TODO: Check that this is interval not timeout param
100
+ this.keepAliveIntervalId = window.setInterval(() => {
101
+ this.sendKeepAlivePing();
102
+ }, intervalMs);
103
+ // Autoclose after timeout reached
104
+ this.keepAliveTimeoutId = window.setTimeout(() => {
105
+ this.close();
106
+ }, timeoutMs);
107
+ }
108
+ stopKeepAliveTimer() {
109
+ if (this.keepAliveIntervalId)
110
+ clearInterval(this.keepAliveIntervalId);
111
+ if (this.keepAliveTimeoutId)
112
+ clearTimeout(this.keepAliveTimeoutId);
113
+ this.keepAliveIntervalId = undefined;
114
+ this.keepAliveTimeoutId = undefined;
115
+ }
116
+ sendKeepAlivePing() {
117
+ const pingPacket = {
118
+ headers: {
119
+ type: "KeepAlive",
120
+ timestamp: Date.now()
121
+ },
122
+ };
123
+ try {
124
+ this.send(pingPacket);
125
+ }
126
+ catch (err) {
127
+ console.error("KeepAlive ping failed to send:", err);
128
+ }
129
+ }
130
+ // Util functions
131
+ isWssUrl(url) {
132
+ return /^wss?:\/\//.test(url);
133
+ }
134
+ }
135
+ UdpWebSocketClient.DEFAULT_KEEPALIVE_INTERVAL_MS = 30000; // 30 sec
136
+ UdpWebSocketClient.DEFAULT_KEEPALIVE_TIMEOUT_MS = 60 * 60 * 1000; // 60 min
137
+ //# sourceMappingURL=udp-websocket-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"udp-websocket-client.js","sourceRoot":"","sources":["../../../src/udp-utilities/udp-websocket-client/udp-websocket-client.ts"],"names":[],"mappings":"AAUA,MAAM,OAAO,kBAAkB;IAa7B,IAAW,WAAW;;QACpB,OAAO,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,UAAU,MAAK,SAAS,CAAC,IAAI,CAAC;IACpD,CAAC;IAEM,KAAK,CAAC,OAAO,CAClB,GAAW,EACX,cAA4C,EAC5C,sBAA8B,CAAC,EAC/B,qBAA6B,CAAC;;QAE9B,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;QACrF,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,cAAc,EAAE,CAAC;QAE3C,IAAI,WAAW,EAAE,CAAC;YAChB,2IAA2I;YAC3I,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;QAChD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;QACnC,CAAC;QAED,uCAAuC;QACvC,MAAM,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC1C,MAAM,MAAM,GAAG,GAAG,EAAE;gBAClB,IAAI,CAAC,MAAO,CAAC,mBAAmB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBACjD,IAAI,CAAC,MAAO,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;gBACnD,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;YAEF,MAAM,OAAO,GAAG,CAAC,CAAQ,EAAE,EAAE;gBAC3B,IAAI,CAAC,MAAO,CAAC,mBAAmB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBACjD,IAAI,CAAC,MAAO,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;gBACnD,MAAM,CAAC,CAAC,CAAC,CAAC;YACZ,CAAC,CAAC;YAEF,IAAI,CAAC,MAAO,CAAC,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC9C,IAAI,CAAC,MAAO,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,2CAA2C;QAC3C,MAAA,IAAI,CAAC,WAAW,oDAAI,CAAC;QAErB,uBAAuB;QACvB,IAAI,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACjD,IAAI,CAAC,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QAEjD,qCAAqC;QACrC,IAAI,mBAAmB,IAAI,kBAAkB,EAAE,CAAC;YAC9C,IAAI,CAAC,mBAAmB,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAAC;QACpE,CAAC;IACH,CAAC;IAEM,iBAAiB,CAAC,OAA4B;QACnD,IAAI,CAAC,sBAAsB,GAAG,OAAO,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,MAAM,CAAC,OAAyB;QACrC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;QAC3B,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,OAAO,CAAC,OAA0B;QACvC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,OAAO,CAAC,OAA0B;QACvC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,IAAI,CAAC,OAA4B;QACtC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACjD,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACrC,IAAI,CAAC,MAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAEM,KAAK;QACV,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACpB,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC1B,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,iBAAiB;IACP,aAAa,CAAC,KAAmB;;QACzC,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAwB,CAAC;YAC1D,MAAA,IAAI,CAAC,sBAAsB,qDAAG,GAAG,CAAC,CAAC;QACrC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,uCAAuC,EAAE,GAAG,CAAC,CAAA;QAC7D,CAAC;IACH,CAAC;IAES,WAAW,CAAC,KAAiB;;QACrC,MAAA,IAAI,CAAC,YAAY,qDAAG,KAAK,CAAC,CAAC;QAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAES,WAAW,CAAC,KAAY;;QAChC,MAAA,IAAI,CAAC,YAAY,qDAAG,KAAK,CAAC,CAAC;QAC3B,OAAO,CAAC,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED,sBAAsB;IACZ,mBAAmB,CAAC,UAAkB,EAAE,SAAiB;QACjE,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE1B,sDAAsD;QACtD,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE;YACjD,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC3B,CAAC,EAAE,UAAU,CAAC,CAAC;QAEf,kCAAkC;QAClC,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;YAC/C,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,CAAC,EAAE,SAAS,CAAC,CAAC;IAChB,CAAC;IAES,kBAAkB;QAC1B,IAAI,IAAI,CAAC,mBAAmB;YAAE,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,kBAAkB;YAAE,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAEnE,IAAI,CAAC,mBAAmB,GAAG,SAAS,CAAC;QACrC,IAAI,CAAC,kBAAkB,GAAG,SAAS,CAAC;IACtC,CAAC;IAES,iBAAiB;QACzB,MAAM,UAAU,GAAwB;YACtC,OAAO,EAAE;gBACP,IAAI,EAAE,WAAW;gBACjB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACtB;SACF,CAAC;QAEF,IAAI,CAAC;YACH,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,gCAAgC,EAAE,GAAG,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;IAED,iBAAiB;IACP,QAAQ,CAAC,GAAW;QAC5B,OAAO,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;;AArKsB,gDAA6B,GAAG,KAAM,CAAC,CAAC,SAAS;AACjD,+CAA4B,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,SAAS","sourcesContent":["export interface UdpWebSocketMessage {\n headers?: Record<string, any>;\n body?: any;\n}\n\nexport type UdpWsReceiveHandler = (msg: UdpWebSocketMessage) => void | Promise<void>;\nexport type UdpWsCloseHandler = (e: CloseEvent) => void | Promise<void>;\nexport type UdpWsErrorHandler = (e: Event) => void | Promise<void>;\nexport type UdpWsOpenHandler = () => void | Promise<void>;\n\nexport class UdpWebSocketClient {\n public static readonly DEFAULT_KEEPALIVE_INTERVAL_MS = 30_000; // 30 sec\n public static readonly DEFAULT_KEEPALIVE_TIMEOUT_MS = 60 * 60 * 1000; // 60 min\n\n private socket?: WebSocket;\n private keepAliveIntervalId?: number;\n private keepAliveTimeoutId?: number;\n\n private messageReceivedHandler?: UdpWsReceiveHandler;\n private closeHandler?: UdpWsCloseHandler\n private errorHandler?: UdpWsErrorHandler;\n private openHandler?: UdpWsOpenHandler;\n\n public get isConnected(): boolean {\n return this.socket?.readyState === WebSocket.OPEN;\n }\n\n public async connect(\n url: string,\n getAccessToken: () => Promise<string | void>,\n keepAliveIntervalMs: number = 0,\n keepAliveTimeoutMs: number = 0\n ) {\n if (!this.isWssUrl(url)) {\n throw new Error(\"Invalid WebSocket URL. Only ws and wss protocols are supported.\");\n }\n\n const accessToken = await getAccessToken();\n\n if (accessToken) {\n // Browsers don't support setting headers manually, they only allow setting the `Sec-WebSocket-Protocol` header (secondary protocol header)\n this.socket = new WebSocket(url, accessToken);\n } else {\n this.socket = new WebSocket(url);\n }\n\n // Wait for the socket to open or error\n await new Promise<void>((resolve, reject) => {\n const onOpen = () => {\n this.socket!.removeEventListener('open', onOpen);\n this.socket!.removeEventListener('error', onError);\n resolve();\n };\n\n const onError = (e: Event) => {\n this.socket!.removeEventListener('open', onOpen);\n this.socket!.removeEventListener('error', onError);\n reject(e);\n };\n\n this.socket!.addEventListener('open', onOpen);\n this.socket!.addEventListener('error', onError);\n });\n\n // Socket is now open, call the openHandler\n this.openHandler?.();\n\n // Assign socket events\n this.socket.onmessage = (e) => this.handleMessage(e);\n this.socket.onclose = (e) => this.handleClose(e);\n this.socket.onerror = (e) => this.handleError(e);\n\n // Start keepAliveTimer if configured\n if (keepAliveIntervalMs && keepAliveTimeoutMs) {\n this.startKeepAliveTimer(keepAliveIntervalMs, keepAliveTimeoutMs);\n }\n }\n\n public onMessageReceived(handler: UdpWsReceiveHandler) {\n this.messageReceivedHandler = handler;\n return this;\n }\n\n public onOpen(handler: UdpWsOpenHandler) {\n this.openHandler = handler;\n return this;\n }\n\n public onClose(handler: UdpWsCloseHandler) {\n this.closeHandler = handler;\n return this;\n }\n\n public onError(handler: UdpWsErrorHandler) {\n this.errorHandler = handler;\n return this;\n }\n\n public send(message: UdpWebSocketMessage) {\n if (!this.isConnected) {\n throw new Error(\"WebSocket is not connected.\");\n }\n\n const json = JSON.stringify(message);\n this.socket!.send(json);\n }\n\n public close() {\n if (this.socket) {\n this.socket.close();\n this.stopKeepAliveTimer();\n this.socket = undefined;\n }\n }\n\n // Event handlers\n protected handleMessage(event: MessageEvent) {\n try {\n const msg = JSON.parse(event.data) as UdpWebSocketMessage;\n this.messageReceivedHandler?.(msg);\n } catch (err) {\n console.error(\"Invalid UdpWebSocketMessage received:\", err)\n }\n }\n\n protected handleClose(event: CloseEvent) {\n this.closeHandler?.(event);\n this.close();\n }\n\n protected handleError(event: Event) {\n this.errorHandler?.(event);\n console.error(\"UdpWebSocket error:\", event);\n }\n\n // KeepAlive functions\n protected startKeepAliveTimer(intervalMs: number, timeoutMs: number) {\n this.stopKeepAliveTimer();\n\n // TODO: Check that this is interval not timeout param\n this.keepAliveIntervalId = window.setInterval(() => {\n this.sendKeepAlivePing();\n }, intervalMs);\n\n // Autoclose after timeout reached\n this.keepAliveTimeoutId = window.setTimeout(() => {\n this.close();\n }, timeoutMs);\n }\n\n protected stopKeepAliveTimer() {\n if (this.keepAliveIntervalId) clearInterval(this.keepAliveIntervalId);\n if (this.keepAliveTimeoutId) clearTimeout(this.keepAliveTimeoutId);\n\n this.keepAliveIntervalId = undefined;\n this.keepAliveTimeoutId = undefined;\n }\n\n protected sendKeepAlivePing() {\n const pingPacket: UdpWebSocketMessage = {\n headers: {\n type: \"KeepAlive\",\n timestamp: Date.now()\n },\n };\n\n try {\n this.send(pingPacket);\n } catch (err) {\n console.error(\"KeepAlive ping failed to send:\", err);\n }\n }\n\n // Util functions\n protected isWssUrl(url: string): boolean {\n return /^wss?:\\/\\//.test(url);\n }\n}\n"]}
@@ -82,11 +82,11 @@ const AddMapFeaturePopUp = /*@__PURE__*/ proxyCustomElement(class AddMapFeatureP
82
82
  }
83
83
  render() {
84
84
  var _a, _b, _c;
85
- return (h("div", { key: '61aeed66447c5ebd0037a56c06620ce1573a6b45', class: "popoverContent" }, !((_a = this.panelConfig) === null || _a === void 0 ? void 0 : _a.hideLayerSelector) && (h("udp-selector", { key: 'cd58b4763e0bb5326fe0c95de4fcf704ba189375', id: 'layer', options: this.layerToAddOptions, initialValue: this.selectedLayer, label: 'Layer', onChange: (e) => {
85
+ return (h("div", { key: '86ca0cb6a6e2789efe76c4465662a369158294d1', class: "popoverContent" }, !((_a = this.panelConfig) === null || _a === void 0 ? void 0 : _a.hideLayerSelector) && (h("udp-selector", { key: '4f55beaec63cd805650853335ebbf439e6377cfb', id: 'layer', options: this.layerToAddOptions, initialValue: this.selectedLayer, label: 'Layer', onChange: (e) => {
86
86
  this.handleSetSelectedLayer(e.detail);
87
- }, large: false })), h("udp-selector", { key: 'f5d099889d1be3b7e0c948bf937df032d590dd76', id: 'type', options: (_b = this.drawingTypeOptions) !== null && _b !== void 0 ? _b : [], initialValue: this.selectedType, label: 'Type', onChange: (e) => {
87
+ }, large: false })), h("udp-selector", { key: 'fc32dff93fb00975eb0b417df8bc22c9b05a741f', id: 'type', options: (_b = this.drawingTypeOptions) !== null && _b !== void 0 ? _b : [], initialValue: this.selectedType, label: 'Type', onChange: (e) => {
88
88
  this.handleSetSelectedType(e.detail);
89
- }, large: false }), h("div", { key: 'f70d82d791d5a7b0e8f8e8b114be76fa5a7dc199', class: "formButton" }, h("custom-button", { key: '34a23e6d780903ff188abc1762a6d502e2de544d', label: h("unity-typography", { variant: "button" }, 'Draw feature'), onClick: () => this.handleStartDrawingMapFeature(this.selectedLayer, this.selectedType), variant: 'outline', disabled: (this.selectedLayer === null && !((_c = this.panelConfig) === null || _c === void 0 ? void 0 : _c.hideLayerSelector)) ||
89
+ }, large: false }), h("div", { key: '023bac071da645515cc86826a48f08b43c6ebb1f', class: "formButton" }, h("custom-button", { key: '284c60557975c76733c0caa17ed907f0cfe2407c', label: h("unity-typography", { variant: "button" }, 'Draw feature'), onClick: () => this.handleStartDrawingMapFeature(this.selectedLayer, this.selectedType), variant: 'outline', disabled: (this.selectedLayer === null && !((_c = this.panelConfig) === null || _c === void 0 ? void 0 : _c.hideLayerSelector)) ||
90
90
  this.selectedType === null }))));
91
91
  }
92
92
  static get watchers() { return {