@oicl/openbridge-webcomponents 0.0.15-dev-20241119201940 → 0.0.15-dev-20241122185953

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1259) hide show
  1. package/custom-elements.json +1127 -1127
  2. package/dist/automation/automation-button/automation-button.js +1 -2
  3. package/dist/automation/automation-button/automation-button.js.map +1 -1
  4. package/dist/automation/automation-input-modal/automation-input-modal.js +1 -2
  5. package/dist/automation/automation-input-modal/automation-input-modal.js.map +1 -1
  6. package/dist/automation/automation-readout/automation-readout.js +1 -2
  7. package/dist/automation/automation-readout/automation-readout.js.map +1 -1
  8. package/dist/automation/automation-tank/automation-tank.js +1 -2
  9. package/dist/automation/automation-tank/automation-tank.js.map +1 -1
  10. package/dist/automation/corner-line/corner-line.js +1 -2
  11. package/dist/automation/corner-line/corner-line.js.map +1 -1
  12. package/dist/automation/direction-line/direction-line.js +1 -2
  13. package/dist/automation/direction-line/direction-line.js.map +1 -1
  14. package/dist/automation/end-point-line/end-point-line.js +1 -2
  15. package/dist/automation/end-point-line/end-point-line.js.map +1 -1
  16. package/dist/automation/horizontal-line/horizontal-line.js +1 -2
  17. package/dist/automation/horizontal-line/horizontal-line.js.map +1 -1
  18. package/dist/automation/index.js.map +1 -1
  19. package/dist/automation/line-cross/line-cross.js +1 -2
  20. package/dist/automation/line-cross/line-cross.js.map +1 -1
  21. package/dist/automation/line-overlap/line-overlap.js +1 -2
  22. package/dist/automation/line-overlap/line-overlap.js.map +1 -1
  23. package/dist/automation/three-way-line/three-way-line.js +1 -2
  24. package/dist/automation/three-way-line/three-way-line.js.map +1 -1
  25. package/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js +1 -2
  26. package/dist/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.js.map +1 -1
  27. package/dist/automation/valve-analoge-two-way-icon/valve-analog-two-way-icon.js +1 -2
  28. package/dist/automation/valve-analoge-two-way-icon/valve-analog-two-way-icon.js.map +1 -1
  29. package/dist/automation/vertical-line/vertical-line.js +1 -2
  30. package/dist/automation/vertical-line/vertical-line.js.map +1 -1
  31. package/dist/components/alert-button/alert-button.js +1 -2
  32. package/dist/components/alert-button/alert-button.js.map +1 -1
  33. package/dist/components/alert-icon/alert-icon.js +1 -2
  34. package/dist/components/alert-icon/alert-icon.js.map +1 -1
  35. package/dist/components/alert-menu/alert-menu.js +1 -2
  36. package/dist/components/alert-menu/alert-menu.js.map +1 -1
  37. package/dist/components/alert-menu-item/alert-menu-item.js +1 -2
  38. package/dist/components/alert-menu-item/alert-menu-item.js.map +1 -1
  39. package/dist/components/alert-topbar-element/alert-topbar-element.js +1 -2
  40. package/dist/components/alert-topbar-element/alert-topbar-element.js.map +1 -1
  41. package/dist/components/app-button/app-button.js +1 -2
  42. package/dist/components/app-button/app-button.js.map +1 -1
  43. package/dist/components/app-menu/app-menu.js +1 -2
  44. package/dist/components/app-menu/app-menu.js.map +1 -1
  45. package/dist/components/badge/badge.js +1 -2
  46. package/dist/components/badge/badge.js.map +1 -1
  47. package/dist/components/breadcrumb/breadcrumb.js +1 -2
  48. package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
  49. package/dist/components/brilliance-menu/brilliance-menu.js +1 -2
  50. package/dist/components/brilliance-menu/brilliance-menu.js.map +1 -1
  51. package/dist/components/button/button.js +1 -2
  52. package/dist/components/button/button.js.map +1 -1
  53. package/dist/components/card-list-button/card-list-button.js +1 -2
  54. package/dist/components/card-list-button/card-list-button.js.map +1 -1
  55. package/dist/components/clock/clock.js +1 -2
  56. package/dist/components/clock/clock.js.map +1 -1
  57. package/dist/components/context-menu/context-menu.js +1 -2
  58. package/dist/components/context-menu/context-menu.js.map +1 -1
  59. package/dist/components/divider/divider.js +1 -2
  60. package/dist/components/divider/divider.js.map +1 -1
  61. package/dist/components/icon-button/icon-button.js +1 -2
  62. package/dist/components/icon-button/icon-button.js.map +1 -1
  63. package/dist/components/input/input.js +1 -2
  64. package/dist/components/input/input.js.map +1 -1
  65. package/dist/components/navigation-item/navigation-item.js +1 -2
  66. package/dist/components/navigation-item/navigation-item.js.map +1 -1
  67. package/dist/components/navigation-menu/navigation-menu.js +1 -2
  68. package/dist/components/navigation-menu/navigation-menu.js.map +1 -1
  69. package/dist/components/notification-button/notification-button.js +1 -2
  70. package/dist/components/notification-button/notification-button.js.map +1 -1
  71. package/dist/components/notification-message/notification-message.js +1 -2
  72. package/dist/components/notification-message/notification-message.js.map +1 -1
  73. package/dist/components/notification-message-item/notification-message-item.js +1 -2
  74. package/dist/components/notification-message-item/notification-message-item.js.map +1 -1
  75. package/dist/components/poi-target-button/poi-target-button.js +1 -2
  76. package/dist/components/poi-target-button/poi-target-button.js.map +1 -1
  77. package/dist/components/rich-button/rich-button.js +1 -2
  78. package/dist/components/rich-button/rich-button.js.map +1 -1
  79. package/dist/components/scrollbar/scrollbar.js +1 -2
  80. package/dist/components/scrollbar/scrollbar.js.map +1 -1
  81. package/dist/components/slider/slider.js +1 -2
  82. package/dist/components/slider/slider.js.map +1 -1
  83. package/dist/components/table/table.js +1 -2
  84. package/dist/components/table/table.js.map +1 -1
  85. package/dist/components/toggle-button-group/toggle-button-group.js +1 -2
  86. package/dist/components/toggle-button-group/toggle-button-group.js.map +1 -1
  87. package/dist/components/toggle-button-option/toggle-button-option.js +1 -2
  88. package/dist/components/toggle-button-option/toggle-button-option.js.map +1 -1
  89. package/dist/components/toggle-switch/toggle-switch.js +1 -2
  90. package/dist/components/toggle-switch/toggle-switch.js.map +1 -1
  91. package/dist/components/tooltip/tooltip.js +1 -2
  92. package/dist/components/tooltip/tooltip.js.map +1 -1
  93. package/dist/components/top-bar/top-bar.js +1 -2
  94. package/dist/components/top-bar/top-bar.js.map +1 -1
  95. package/dist/components/vendor-button/vendor-button.js +1 -2
  96. package/dist/components/vendor-button/vendor-button.js.map +1 -1
  97. package/dist/icons/icon-01-add.js +1 -2
  98. package/dist/icons/icon-01-add.js.map +1 -1
  99. package/dist/icons/icon-01-application-open.js +1 -2
  100. package/dist/icons/icon-01-application-open.js.map +1 -1
  101. package/dist/icons/icon-01-apps.js +1 -2
  102. package/dist/icons/icon-01-apps.js.map +1 -1
  103. package/dist/icons/icon-01-check.js +1 -2
  104. package/dist/icons/icon-01-check.js.map +1 -1
  105. package/dist/icons/icon-01-checkbox-checked.js +1 -2
  106. package/dist/icons/icon-01-checkbox-checked.js.map +1 -1
  107. package/dist/icons/icon-01-checkbox-uncheck.js +1 -2
  108. package/dist/icons/icon-01-checkbox-uncheck.js.map +1 -1
  109. package/dist/icons/icon-01-close.js +1 -2
  110. package/dist/icons/icon-01-close.js.map +1 -1
  111. package/dist/icons/icon-01-content-copy.js +1 -2
  112. package/dist/icons/icon-01-content-copy.js.map +1 -1
  113. package/dist/icons/icon-01-content-cut.js +1 -2
  114. package/dist/icons/icon-01-content-cut.js.map +1 -1
  115. package/dist/icons/icon-01-content-paste.js +1 -2
  116. package/dist/icons/icon-01-content-paste.js.map +1 -1
  117. package/dist/icons/icon-01-delete.js +1 -2
  118. package/dist/icons/icon-01-delete.js.map +1 -1
  119. package/dist/icons/icon-01-edit.js +1 -2
  120. package/dist/icons/icon-01-edit.js.map +1 -1
  121. package/dist/icons/icon-01-expanditem.js +1 -2
  122. package/dist/icons/icon-01-expanditem.js.map +1 -1
  123. package/dist/icons/icon-01-file-download.js +1 -2
  124. package/dist/icons/icon-01-file-download.js.map +1 -1
  125. package/dist/icons/icon-01-file-export.js +1 -2
  126. package/dist/icons/icon-01-file-export.js.map +1 -1
  127. package/dist/icons/icon-01-file-upload.js +1 -2
  128. package/dist/icons/icon-01-file-upload.js.map +1 -1
  129. package/dist/icons/icon-01-log-add.js +1 -2
  130. package/dist/icons/icon-01-log-add.js.map +1 -1
  131. package/dist/icons/icon-01-log-edit.js +1 -2
  132. package/dist/icons/icon-01-log-edit.js.map +1 -1
  133. package/dist/icons/icon-01-log-open.js +1 -2
  134. package/dist/icons/icon-01-log-open.js.map +1 -1
  135. package/dist/icons/icon-01-megamenu.js +1 -2
  136. package/dist/icons/icon-01-megamenu.js.map +1 -1
  137. package/dist/icons/icon-01-menu.js +1 -2
  138. package/dist/icons/icon-01-menu.js.map +1 -1
  139. package/dist/icons/icon-01-mixed.js +1 -2
  140. package/dist/icons/icon-01-mixed.js.map +1 -1
  141. package/dist/icons/icon-01-more-vertical.js +1 -2
  142. package/dist/icons/icon-01-more-vertical.js.map +1 -1
  143. package/dist/icons/icon-01-more.js +1 -2
  144. package/dist/icons/icon-01-more.js.map +1 -1
  145. package/dist/icons/icon-01-note-edit.js +1 -2
  146. package/dist/icons/icon-01-note-edit.js.map +1 -1
  147. package/dist/icons/icon-01-off.js +1 -2
  148. package/dist/icons/icon-01-off.js.map +1 -1
  149. package/dist/icons/icon-01-on.js +1 -2
  150. package/dist/icons/icon-01-on.js.map +1 -1
  151. package/dist/icons/icon-01-open-full.js +1 -2
  152. package/dist/icons/icon-01-open-full.js.map +1 -1
  153. package/dist/icons/icon-01-placeholder-device-off.js +1 -2
  154. package/dist/icons/icon-01-placeholder-device-off.js.map +1 -1
  155. package/dist/icons/icon-01-placeholder-device-on.js +1 -2
  156. package/dist/icons/icon-01-placeholder-device-on.js.map +1 -1
  157. package/dist/icons/icon-01-placeholder-device-static.js +1 -2
  158. package/dist/icons/icon-01-placeholder-device-static.js.map +1 -1
  159. package/dist/icons/icon-01-placeholder.js +1 -2
  160. package/dist/icons/icon-01-placeholder.js.map +1 -1
  161. package/dist/icons/icon-01-play.js +1 -2
  162. package/dist/icons/icon-01-play.js.map +1 -1
  163. package/dist/icons/icon-01-print.js +1 -2
  164. package/dist/icons/icon-01-print.js.map +1 -1
  165. package/dist/icons/icon-01-redo.js +1 -2
  166. package/dist/icons/icon-01-redo.js.map +1 -1
  167. package/dist/icons/icon-01-refresh.js +1 -2
  168. package/dist/icons/icon-01-refresh.js.map +1 -1
  169. package/dist/icons/icon-01-remove.js +1 -2
  170. package/dist/icons/icon-01-remove.js.map +1 -1
  171. package/dist/icons/icon-01-reorder.js +1 -2
  172. package/dist/icons/icon-01-reorder.js.map +1 -1
  173. package/dist/icons/icon-01-save.js +1 -2
  174. package/dist/icons/icon-01-save.js.map +1 -1
  175. package/dist/icons/icon-01-search.js +1 -2
  176. package/dist/icons/icon-01-search.js.map +1 -1
  177. package/dist/icons/icon-01-sort.js +1 -2
  178. package/dist/icons/icon-01-sort.js.map +1 -1
  179. package/dist/icons/icon-01-standby.js +1 -2
  180. package/dist/icons/icon-01-standby.js.map +1 -1
  181. package/dist/icons/icon-01-stop.js +1 -2
  182. package/dist/icons/icon-01-stop.js.map +1 -1
  183. package/dist/icons/icon-01-sync.js +1 -2
  184. package/dist/icons/icon-01-sync.js.map +1 -1
  185. package/dist/icons/icon-01-text.js +1 -2
  186. package/dist/icons/icon-01-text.js.map +1 -1
  187. package/dist/icons/icon-01-undo.js +1 -2
  188. package/dist/icons/icon-01-undo.js.map +1 -1
  189. package/dist/icons/icon-01-visibility-off.js +1 -2
  190. package/dist/icons/icon-01-visibility-off.js.map +1 -1
  191. package/dist/icons/icon-01-visibility.js +1 -2
  192. package/dist/icons/icon-01-visibility.js.map +1 -1
  193. package/dist/icons/icon-01-widget-add.js +1 -2
  194. package/dist/icons/icon-01-widget-add.js.map +1 -1
  195. package/dist/icons/icon-02-arrow-back.js +1 -2
  196. package/dist/icons/icon-02-arrow-back.js.map +1 -1
  197. package/dist/icons/icon-02-arrow-down.js +1 -2
  198. package/dist/icons/icon-02-arrow-down.js.map +1 -1
  199. package/dist/icons/icon-02-arrow-drop-down.js +1 -2
  200. package/dist/icons/icon-02-arrow-drop-down.js.map +1 -1
  201. package/dist/icons/icon-02-arrow-flyout.js +1 -2
  202. package/dist/icons/icon-02-arrow-flyout.js.map +1 -1
  203. package/dist/icons/icon-02-arrow-forward.js +1 -2
  204. package/dist/icons/icon-02-arrow-forward.js.map +1 -1
  205. package/dist/icons/icon-02-arrow-up.js +1 -2
  206. package/dist/icons/icon-02-arrow-up.js.map +1 -1
  207. package/dist/icons/icon-02-chevron-double-down.js +1 -2
  208. package/dist/icons/icon-02-chevron-double-down.js.map +1 -1
  209. package/dist/icons/icon-02-chevron-double-left.js +1 -2
  210. package/dist/icons/icon-02-chevron-double-left.js.map +1 -1
  211. package/dist/icons/icon-02-chevron-double-right.js +1 -2
  212. package/dist/icons/icon-02-chevron-double-right.js.map +1 -1
  213. package/dist/icons/icon-02-chevron-double-up.js +1 -2
  214. package/dist/icons/icon-02-chevron-double-up.js.map +1 -1
  215. package/dist/icons/icon-02-chevron-down.js +1 -2
  216. package/dist/icons/icon-02-chevron-down.js.map +1 -1
  217. package/dist/icons/icon-02-chevron-left.js +1 -2
  218. package/dist/icons/icon-02-chevron-left.js.map +1 -1
  219. package/dist/icons/icon-02-chevron-right.js +1 -2
  220. package/dist/icons/icon-02-chevron-right.js.map +1 -1
  221. package/dist/icons/icon-02-chevron-up.js +1 -2
  222. package/dist/icons/icon-02-chevron-up.js.map +1 -1
  223. package/dist/icons/icon-02-collapse-content.js +1 -2
  224. package/dist/icons/icon-02-collapse-content.js.map +1 -1
  225. package/dist/icons/icon-02-dock-bottom.js +1 -2
  226. package/dist/icons/icon-02-dock-bottom.js.map +1 -1
  227. package/dist/icons/icon-02-dock-left.js +1 -2
  228. package/dist/icons/icon-02-dock-left.js.map +1 -1
  229. package/dist/icons/icon-02-dock-right.js +1 -2
  230. package/dist/icons/icon-02-dock-right.js.map +1 -1
  231. package/dist/icons/icon-02-drop-down.js +1 -2
  232. package/dist/icons/icon-02-drop-down.js.map +1 -1
  233. package/dist/icons/icon-02-expand-content.js +1 -2
  234. package/dist/icons/icon-02-expand-content.js.map +1 -1
  235. package/dist/icons/icon-02-page-first.js +1 -2
  236. package/dist/icons/icon-02-page-first.js.map +1 -1
  237. package/dist/icons/icon-02-page-last.js +1 -2
  238. package/dist/icons/icon-02-page-last.js.map +1 -1
  239. package/dist/icons/icon-02-resize-bottom.js +1 -2
  240. package/dist/icons/icon-02-resize-bottom.js.map +1 -1
  241. package/dist/icons/icon-02-resize-corner.js +1 -2
  242. package/dist/icons/icon-02-resize-corner.js.map +1 -1
  243. package/dist/icons/icon-02-resize-top.js +1 -2
  244. package/dist/icons/icon-02-resize-top.js.map +1 -1
  245. package/dist/icons/icon-02-resize_center.js +1 -2
  246. package/dist/icons/icon-02-resize_center.js.map +1 -1
  247. package/dist/icons/icon-02-set-point.js +1 -2
  248. package/dist/icons/icon-02-set-point.js.map +1 -1
  249. package/dist/icons/icon-02-slide-left.js +1 -2
  250. package/dist/icons/icon-02-slide-left.js.map +1 -1
  251. package/dist/icons/icon-02-slide-right.js +1 -2
  252. package/dist/icons/icon-02-slide-right.js.map +1 -1
  253. package/dist/icons/icon-02-unfold-less.js +1 -2
  254. package/dist/icons/icon-02-unfold-less.js.map +1 -1
  255. package/dist/icons/icon-02-unfold-more.js +1 -2
  256. package/dist/icons/icon-02-unfold-more.js.map +1 -1
  257. package/dist/icons/icon-03-configure.js +1 -2
  258. package/dist/icons/icon-03-configure.js.map +1 -1
  259. package/dist/icons/icon-03-diagnostic.js +1 -2
  260. package/dist/icons/icon-03-diagnostic.js.map +1 -1
  261. package/dist/icons/icon-03-filter.js +1 -2
  262. package/dist/icons/icon-03-filter.js.map +1 -1
  263. package/dist/icons/icon-03-info.js +1 -2
  264. package/dist/icons/icon-03-info.js.map +1 -1
  265. package/dist/icons/icon-03-license.js +1 -2
  266. package/dist/icons/icon-03-license.js.map +1 -1
  267. package/dist/icons/icon-03-monitoring.js +1 -2
  268. package/dist/icons/icon-03-monitoring.js.map +1 -1
  269. package/dist/icons/icon-03-pin-checked.js +1 -2
  270. package/dist/icons/icon-03-pin-checked.js.map +1 -1
  271. package/dist/icons/icon-03-pin-unchecked.js +1 -2
  272. package/dist/icons/icon-03-pin-unchecked.js.map +1 -1
  273. package/dist/icons/icon-03-printscreen.js +1 -2
  274. package/dist/icons/icon-03-printscreen.js.map +1 -1
  275. package/dist/icons/icon-03-settings-default-alt1.js +1 -2
  276. package/dist/icons/icon-03-settings-default-alt1.js.map +1 -1
  277. package/dist/icons/icon-03-settings-default-alt2.js +1 -2
  278. package/dist/icons/icon-03-settings-default-alt2.js.map +1 -1
  279. package/dist/icons/icon-03-settings-default.js +1 -2
  280. package/dist/icons/icon-03-settings-default.js.map +1 -1
  281. package/dist/icons/icon-03-settings.js +1 -2
  282. package/dist/icons/icon-03-settings.js.map +1 -1
  283. package/dist/icons/icon-03-split-left.js +1 -2
  284. package/dist/icons/icon-03-split-left.js.map +1 -1
  285. package/dist/icons/icon-03-split-right.js +1 -2
  286. package/dist/icons/icon-03-split-right.js.map +1 -1
  287. package/dist/icons/icon-03-star-checked.js +1 -2
  288. package/dist/icons/icon-03-star-checked.js.map +1 -1
  289. package/dist/icons/icon-03-star-unchecked.js +1 -2
  290. package/dist/icons/icon-03-star-unchecked.js.map +1 -1
  291. package/dist/icons/icon-03-support.js +1 -2
  292. package/dist/icons/icon-03-support.js.map +1 -1
  293. package/dist/icons/icon-03-table.js +1 -2
  294. package/dist/icons/icon-03-table.js.map +1 -1
  295. package/dist/icons/icon-03-volume-high.js +1 -2
  296. package/dist/icons/icon-03-volume-high.js.map +1 -1
  297. package/dist/icons/icon-03-volume-low.js +1 -2
  298. package/dist/icons/icon-03-volume-low.js.map +1 -1
  299. package/dist/icons/icon-03-volume-off.js +1 -2
  300. package/dist/icons/icon-03-volume-off.js.map +1 -1
  301. package/dist/icons/icon-04-brilliance-high.js +1 -2
  302. package/dist/icons/icon-04-brilliance-high.js.map +1 -1
  303. package/dist/icons/icon-04-brilliance-low.js +1 -2
  304. package/dist/icons/icon-04-brilliance-low.js.map +1 -1
  305. package/dist/icons/icon-04-colorcalibrated.js +1 -2
  306. package/dist/icons/icon-04-colorcalibrated.js.map +1 -1
  307. package/dist/icons/icon-04-day-bright.js +1 -2
  308. package/dist/icons/icon-04-day-bright.js.map +1 -1
  309. package/dist/icons/icon-04-day.js +1 -2
  310. package/dist/icons/icon-04-day.js.map +1 -1
  311. package/dist/icons/icon-04-daynight.js +1 -2
  312. package/dist/icons/icon-04-daynight.js.map +1 -1
  313. package/dist/icons/icon-04-dimming.js +1 -2
  314. package/dist/icons/icon-04-dimming.js.map +1 -1
  315. package/dist/icons/icon-04-dusk.js +1 -2
  316. package/dist/icons/icon-04-dusk.js.map +1 -1
  317. package/dist/icons/icon-04-illumination-high.js +1 -2
  318. package/dist/icons/icon-04-illumination-high.js.map +1 -1
  319. package/dist/icons/icon-04-illumination-low.js +1 -2
  320. package/dist/icons/icon-04-illumination-low.js.map +1 -1
  321. package/dist/icons/icon-04-night.js +1 -2
  322. package/dist/icons/icon-04-night.js.map +1 -1
  323. package/dist/icons/icon-05-fullscreen-exit.js +1 -2
  324. package/dist/icons/icon-05-fullscreen-exit.js.map +1 -1
  325. package/dist/icons/icon-05-fullscreen.js +1 -2
  326. package/dist/icons/icon-05-fullscreen.js.map +1 -1
  327. package/dist/icons/icon-05-input-keyboard.js +1 -2
  328. package/dist/icons/icon-05-input-keyboard.js.map +1 -1
  329. package/dist/icons/icon-05-input-keyboard_onscreen.js +1 -2
  330. package/dist/icons/icon-05-input-keyboard_onscreen.js.map +1 -1
  331. package/dist/icons/icon-05-input-mouse.js +1 -2
  332. package/dist/icons/icon-05-input-mouse.js.map +1 -1
  333. package/dist/icons/icon-05-input-touchpad_mouse.js +1 -2
  334. package/dist/icons/icon-05-input-touchpad_mouse.js.map +1 -1
  335. package/dist/icons/icon-05-pc.js +1 -2
  336. package/dist/icons/icon-05-pc.js.map +1 -1
  337. package/dist/icons/icon-05-people.js +1 -2
  338. package/dist/icons/icon-05-people.js.map +1 -1
  339. package/dist/icons/icon-05-screen-desk.js +1 -2
  340. package/dist/icons/icon-05-screen-desk.js.map +1 -1
  341. package/dist/icons/icon-05-screen-full.js +1 -2
  342. package/dist/icons/icon-05-screen-full.js.map +1 -1
  343. package/dist/icons/icon-05-screen-pad.js +1 -2
  344. package/dist/icons/icon-05-screen-pad.js.map +1 -1
  345. package/dist/icons/icon-05-screen-quad.js +1 -2
  346. package/dist/icons/icon-05-screen-quad.js.map +1 -1
  347. package/dist/icons/icon-05-screen-split-left.js +1 -2
  348. package/dist/icons/icon-05-screen-split-left.js.map +1 -1
  349. package/dist/icons/icon-05-screen-split-right.js +1 -2
  350. package/dist/icons/icon-05-screen-split-right.js.map +1 -1
  351. package/dist/icons/icon-05-server.js +1 -2
  352. package/dist/icons/icon-05-server.js.map +1 -1
  353. package/dist/icons/icon-05-user.js +1 -2
  354. package/dist/icons/icon-05-user.js.map +1 -1
  355. package/dist/icons/icon-06-calendar.js +1 -2
  356. package/dist/icons/icon-06-calendar.js.map +1 -1
  357. package/dist/icons/icon-06-cam.js +1 -2
  358. package/dist/icons/icon-06-cam.js.map +1 -1
  359. package/dist/icons/icon-06-cctv.js +1 -2
  360. package/dist/icons/icon-06-cctv.js.map +1 -1
  361. package/dist/icons/icon-06-com.js +1 -2
  362. package/dist/icons/icon-06-com.js.map +1 -1
  363. package/dist/icons/icon-06-conning.js +1 -2
  364. package/dist/icons/icon-06-conning.js.map +1 -1
  365. package/dist/icons/icon-06-dashboard-outline.js +1 -2
  366. package/dist/icons/icon-06-dashboard-outline.js.map +1 -1
  367. package/dist/icons/icon-06-dashboard.js +1 -2
  368. package/dist/icons/icon-06-dashboard.js.map +1 -1
  369. package/dist/icons/icon-06-date.js +1 -2
  370. package/dist/icons/icon-06-date.js.map +1 -1
  371. package/dist/icons/icon-06-ecdis-simple.js +1 -2
  372. package/dist/icons/icon-06-ecdis-simple.js.map +1 -1
  373. package/dist/icons/icon-06-ecdis.js +1 -2
  374. package/dist/icons/icon-06-ecdis.js.map +1 -1
  375. package/dist/icons/icon-06-home.js +1 -2
  376. package/dist/icons/icon-06-home.js.map +1 -1
  377. package/dist/icons/icon-06-ias.js +1 -2
  378. package/dist/icons/icon-06-ias.js.map +1 -1
  379. package/dist/icons/icon-06-lantern.js +1 -2
  380. package/dist/icons/icon-06-lantern.js.map +1 -1
  381. package/dist/icons/icon-06-link-remove.js +1 -2
  382. package/dist/icons/icon-06-link-remove.js.map +1 -1
  383. package/dist/icons/icon-06-link.js +1 -2
  384. package/dist/icons/icon-06-link.js.map +1 -1
  385. package/dist/icons/icon-06-logo-company.js +1 -2
  386. package/dist/icons/icon-06-logo-company.js.map +1 -1
  387. package/dist/icons/icon-06-logo-oicl.js +1 -2
  388. package/dist/icons/icon-06-logo-oicl.js.map +1 -1
  389. package/dist/icons/icon-06-openbridge.js +1 -2
  390. package/dist/icons/icon-06-openbridge.js.map +1 -1
  391. package/dist/icons/icon-06-radar.js +1 -2
  392. package/dist/icons/icon-06-radar.js.map +1 -1
  393. package/dist/icons/icon-06-screens.js +1 -2
  394. package/dist/icons/icon-06-screens.js.map +1 -1
  395. package/dist/icons/icon-06-ship.js +1 -2
  396. package/dist/icons/icon-06-ship.js.map +1 -1
  397. package/dist/icons/icon-06-time.js +1 -2
  398. package/dist/icons/icon-06-time.js.map +1 -1
  399. package/dist/icons/icon-06-wipers.js +1 -2
  400. package/dist/icons/icon-06-wipers.js.map +1 -1
  401. package/dist/icons/icon-07-ais.js +1 -2
  402. package/dist/icons/icon-07-ais.js.map +1 -1
  403. package/dist/icons/icon-07-anchorwatch.js +1 -2
  404. package/dist/icons/icon-07-anchorwatch.js.map +1 -1
  405. package/dist/icons/icon-07-catzoc.js +1 -2
  406. package/dist/icons/icon-07-catzoc.js.map +1 -1
  407. package/dist/icons/icon-07-centre-off.js +1 -2
  408. package/dist/icons/icon-07-centre-off.js.map +1 -1
  409. package/dist/icons/icon-07-centre-on.js +1 -2
  410. package/dist/icons/icon-07-centre-on.js.map +1 -1
  411. package/dist/icons/icon-07-chart-info.js +1 -2
  412. package/dist/icons/icon-07-chart-info.js.map +1 -1
  413. package/dist/icons/icon-07-chart-search.js +1 -2
  414. package/dist/icons/icon-07-chart-search.js.map +1 -1
  415. package/dist/icons/icon-07-chart-settings.js +1 -2
  416. package/dist/icons/icon-07-chart-settings.js.map +1 -1
  417. package/dist/icons/icon-07-chart-styles.js +1 -2
  418. package/dist/icons/icon-07-chart-styles.js.map +1 -1
  419. package/dist/icons/icon-07-chart.js +1 -2
  420. package/dist/icons/icon-07-chart.js.map +1 -1
  421. package/dist/icons/icon-07-coordinate.js +1 -2
  422. package/dist/icons/icon-07-coordinate.js.map +1 -1
  423. package/dist/icons/icon-07-ebl.js +1 -2
  424. package/dist/icons/icon-07-ebl.js.map +1 -1
  425. package/dist/icons/icon-07-erbl.js +1 -2
  426. package/dist/icons/icon-07-erbl.js.map +1 -1
  427. package/dist/icons/icon-07-event-record.js +1 -2
  428. package/dist/icons/icon-07-event-record.js.map +1 -1
  429. package/dist/icons/icon-07-grid-off.js +1 -2
  430. package/dist/icons/icon-07-grid-off.js.map +1 -1
  431. package/dist/icons/icon-07-grid-on.js +1 -2
  432. package/dist/icons/icon-07-grid-on.js.map +1 -1
  433. package/dist/icons/icon-07-headingline-off.js +1 -2
  434. package/dist/icons/icon-07-headingline-off.js.map +1 -1
  435. package/dist/icons/icon-07-layers.js +1 -2
  436. package/dist/icons/icon-07-layers.js.map +1 -1
  437. package/dist/icons/icon-07-location-1.js +1 -2
  438. package/dist/icons/icon-07-location-1.js.map +1 -1
  439. package/dist/icons/icon-07-location-2.js +1 -2
  440. package/dist/icons/icon-07-location-2.js.map +1 -1
  441. package/dist/icons/icon-07-location-3.js +1 -2
  442. package/dist/icons/icon-07-location-3.js.map +1 -1
  443. package/dist/icons/icon-07-measure.js +1 -2
  444. package/dist/icons/icon-07-measure.js.map +1 -1
  445. package/dist/icons/icon-07-radar-overlay.js +1 -2
  446. package/dist/icons/icon-07-radar-overlay.js.map +1 -1
  447. package/dist/icons/icon-07-range.js +1 -2
  448. package/dist/icons/icon-07-range.js.map +1 -1
  449. package/dist/icons/icon-07-rangerings.js +1 -2
  450. package/dist/icons/icon-07-rangerings.js.map +1 -1
  451. package/dist/icons/icon-07-relativemotion-variant.js +1 -2
  452. package/dist/icons/icon-07-relativemotion-variant.js.map +1 -1
  453. package/dist/icons/icon-07-relativemotion.js +1 -2
  454. package/dist/icons/icon-07-relativemotion.js.map +1 -1
  455. package/dist/icons/icon-07-report-info.js +1 -2
  456. package/dist/icons/icon-07-report-info.js.map +1 -1
  457. package/dist/icons/icon-07-route-planning.js +1 -2
  458. package/dist/icons/icon-07-route-planning.js.map +1 -1
  459. package/dist/icons/icon-07-silence.js +1 -2
  460. package/dist/icons/icon-07-silence.js.map +1 -1
  461. package/dist/icons/icon-07-smode.js +1 -2
  462. package/dist/icons/icon-07-smode.js.map +1 -1
  463. package/dist/icons/icon-07-target-associated-ais-camera.js +1 -2
  464. package/dist/icons/icon-07-target-associated-ais-camera.js.map +1 -1
  465. package/dist/icons/icon-07-target-associated-camera-radar.js +1 -2
  466. package/dist/icons/icon-07-target-associated-camera-radar.js.map +1 -1
  467. package/dist/icons/icon-07-target-associated-radar-camera.js +1 -2
  468. package/dist/icons/icon-07-target-associated-radar-camera.js.map +1 -1
  469. package/dist/icons/icon-07-target-camera.js +1 -2
  470. package/dist/icons/icon-07-target-camera.js.map +1 -1
  471. package/dist/icons/icon-07-target-cancel-all.js +1 -2
  472. package/dist/icons/icon-07-target-cancel-all.js.map +1 -1
  473. package/dist/icons/icon-07-target-cancel.js +1 -2
  474. package/dist/icons/icon-07-target-cancel.js.map +1 -1
  475. package/dist/icons/icon-07-target-select.js +1 -2
  476. package/dist/icons/icon-07-target-select.js.map +1 -1
  477. package/dist/icons/icon-07-track-no.js +1 -2
  478. package/dist/icons/icon-07-track-no.js.map +1 -1
  479. package/dist/icons/icon-07-track-off-port.js +1 -2
  480. package/dist/icons/icon-07-track-off-port.js.map +1 -1
  481. package/dist/icons/icon-07-track-off-strb.js +1 -2
  482. package/dist/icons/icon-07-track-off-strb.js.map +1 -1
  483. package/dist/icons/icon-07-track-on.js +1 -2
  484. package/dist/icons/icon-07-track-on.js.map +1 -1
  485. package/dist/icons/icon-07-track-route.js +1 -2
  486. package/dist/icons/icon-07-track-route.js.map +1 -1
  487. package/dist/icons/icon-07-track.js +1 -2
  488. package/dist/icons/icon-07-track.js.map +1 -1
  489. package/dist/icons/icon-07-truemotion-reset.js +1 -2
  490. package/dist/icons/icon-07-truemotion-reset.js.map +1 -1
  491. package/dist/icons/icon-07-truemotion-variant.js +1 -2
  492. package/dist/icons/icon-07-truemotion-variant.js.map +1 -1
  493. package/dist/icons/icon-07-truemotion.js +1 -2
  494. package/dist/icons/icon-07-truemotion.js.map +1 -1
  495. package/dist/icons/icon-07-up-course.js +1 -2
  496. package/dist/icons/icon-07-up-course.js.map +1 -1
  497. package/dist/icons/icon-07-up-head.js +1 -2
  498. package/dist/icons/icon-07-up-head.js.map +1 -1
  499. package/dist/icons/icon-07-up-north.js +1 -2
  500. package/dist/icons/icon-07-up-north.js.map +1 -1
  501. package/dist/icons/icon-07-voyages.js +1 -2
  502. package/dist/icons/icon-07-voyages.js.map +1 -1
  503. package/dist/icons/icon-07-vrm.js +1 -2
  504. package/dist/icons/icon-07-vrm.js.map +1 -1
  505. package/dist/icons/icon-07-waypoint-add.js +1 -2
  506. package/dist/icons/icon-07-waypoint-add.js.map +1 -1
  507. package/dist/icons/icon-07-waypoint-delete.js +1 -2
  508. package/dist/icons/icon-07-waypoint-delete.js.map +1 -1
  509. package/dist/icons/icon-07-waypoint-edit.js +1 -2
  510. package/dist/icons/icon-07-waypoint-edit.js.map +1 -1
  511. package/dist/icons/icon-08-acdc-converter.js +1 -2
  512. package/dist/icons/icon-08-acdc-converter.js.map +1 -1
  513. package/dist/icons/icon-08-auto.js +1 -2
  514. package/dist/icons/icon-08-auto.js.map +1 -1
  515. package/dist/icons/icon-08-backward-fast.js +1 -2
  516. package/dist/icons/icon-08-backward-fast.js.map +1 -1
  517. package/dist/icons/icon-08-backward-stopped.js +1 -2
  518. package/dist/icons/icon-08-backward-stopped.js.map +1 -1
  519. package/dist/icons/icon-08-backward.js +1 -2
  520. package/dist/icons/icon-08-backward.js.map +1 -1
  521. package/dist/icons/icon-08-battery-0.js +1 -2
  522. package/dist/icons/icon-08-battery-0.js.map +1 -1
  523. package/dist/icons/icon-08-battery-25.js +1 -2
  524. package/dist/icons/icon-08-battery-25.js.map +1 -1
  525. package/dist/icons/icon-08-battery-50.js +1 -2
  526. package/dist/icons/icon-08-battery-50.js.map +1 -1
  527. package/dist/icons/icon-08-battery-75.js +1 -2
  528. package/dist/icons/icon-08-battery-75.js.map +1 -1
  529. package/dist/icons/icon-08-battery-charging.js +1 -2
  530. package/dist/icons/icon-08-battery-charging.js.map +1 -1
  531. package/dist/icons/icon-08-battery-pack-0.js +1 -2
  532. package/dist/icons/icon-08-battery-pack-0.js.map +1 -1
  533. package/dist/icons/icon-08-battery-pack-100.js +1 -2
  534. package/dist/icons/icon-08-battery-pack-100.js.map +1 -1
  535. package/dist/icons/icon-08-battery-pack-25.js +1 -2
  536. package/dist/icons/icon-08-battery-pack-25.js.map +1 -1
  537. package/dist/icons/icon-08-battery-pack-50.js +1 -2
  538. package/dist/icons/icon-08-battery-pack-50.js.map +1 -1
  539. package/dist/icons/icon-08-battery-pack-70.js +1 -2
  540. package/dist/icons/icon-08-battery-pack-70.js.map +1 -1
  541. package/dist/icons/icon-08-battery-pack-charging.js +1 -2
  542. package/dist/icons/icon-08-battery-pack-charging.js.map +1 -1
  543. package/dist/icons/icon-08-battery_full.js +1 -2
  544. package/dist/icons/icon-08-battery_full.js.map +1 -1
  545. package/dist/icons/icon-08-bilge.js +1 -2
  546. package/dist/icons/icon-08-bilge.js.map +1 -1
  547. package/dist/icons/icon-08-blower-off-vertical.js +1 -2
  548. package/dist/icons/icon-08-blower-off-vertical.js.map +1 -1
  549. package/dist/icons/icon-08-blower-on-vertical.js +1 -2
  550. package/dist/icons/icon-08-blower-on-vertical.js.map +1 -1
  551. package/dist/icons/icon-08-blower-static-vertical.js +1 -2
  552. package/dist/icons/icon-08-blower-static-vertical.js.map +1 -1
  553. package/dist/icons/icon-08-connector-cross.js +1 -2
  554. package/dist/icons/icon-08-connector-cross.js.map +1 -1
  555. package/dist/icons/icon-08-cooling.js +1 -2
  556. package/dist/icons/icon-08-cooling.js.map +1 -1
  557. package/dist/icons/icon-08-dcdc-converter.js +1 -2
  558. package/dist/icons/icon-08-dcdc-converter.js.map +1 -1
  559. package/dist/icons/icon-08-duty.js +1 -2
  560. package/dist/icons/icon-08-duty.js.map +1 -1
  561. package/dist/icons/icon-08-engine.js +1 -2
  562. package/dist/icons/icon-08-engine.js.map +1 -1
  563. package/dist/icons/icon-08-epms.js +1 -2
  564. package/dist/icons/icon-08-epms.js.map +1 -1
  565. package/dist/icons/icon-08-ethernet-switch.js +1 -2
  566. package/dist/icons/icon-08-ethernet-switch.js.map +1 -1
  567. package/dist/icons/icon-08-fan-off.js +1 -2
  568. package/dist/icons/icon-08-fan-off.js.map +1 -1
  569. package/dist/icons/icon-08-fan-on.js +1 -2
  570. package/dist/icons/icon-08-fan-on.js.map +1 -1
  571. package/dist/icons/icon-08-fan-static.js +1 -2
  572. package/dist/icons/icon-08-fan-static.js.map +1 -1
  573. package/dist/icons/icon-08-filter.js +1 -2
  574. package/dist/icons/icon-08-filter.js.map +1 -1
  575. package/dist/icons/icon-08-fire.js +1 -2
  576. package/dist/icons/icon-08-fire.js.map +1 -1
  577. package/dist/icons/icon-08-forward-fast.js +1 -2
  578. package/dist/icons/icon-08-forward-fast.js.map +1 -1
  579. package/dist/icons/icon-08-forward-stopped.js +1 -2
  580. package/dist/icons/icon-08-forward-stopped.js.map +1 -1
  581. package/dist/icons/icon-08-forward.js +1 -2
  582. package/dist/icons/icon-08-forward.js.map +1 -1
  583. package/dist/icons/icon-08-generator.js +1 -2
  584. package/dist/icons/icon-08-generator.js.map +1 -1
  585. package/dist/icons/icon-08-heat.js +1 -2
  586. package/dist/icons/icon-08-heat.js.map +1 -1
  587. package/dist/icons/icon-08-heat_pump_balance.js +1 -2
  588. package/dist/icons/icon-08-heat_pump_balance.js.map +1 -1
  589. package/dist/icons/icon-08-heatexhanger.js +1 -2
  590. package/dist/icons/icon-08-heatexhanger.js.map +1 -1
  591. package/dist/icons/icon-08-heatpump.js +1 -2
  592. package/dist/icons/icon-08-heatpump.js.map +1 -1
  593. package/dist/icons/icon-08-hvac.js +1 -2
  594. package/dist/icons/icon-08-hvac.js.map +1 -1
  595. package/dist/icons/icon-08-hydraulic-separator.js +1 -2
  596. package/dist/icons/icon-08-hydraulic-separator.js.map +1 -1
  597. package/dist/icons/icon-08-io.js +1 -2
  598. package/dist/icons/icon-08-io.js.map +1 -1
  599. package/dist/icons/icon-08-local-only.js +1 -2
  600. package/dist/icons/icon-08-local-only.js.map +1 -1
  601. package/dist/icons/icon-08-local.js +1 -2
  602. package/dist/icons/icon-08-local.js.map +1 -1
  603. package/dist/icons/icon-08-logger.js +1 -2
  604. package/dist/icons/icon-08-logger.js.map +1 -1
  605. package/dist/icons/icon-08-manuel-only.js +1 -2
  606. package/dist/icons/icon-08-manuel-only.js.map +1 -1
  607. package/dist/icons/icon-08-manuel.js +1 -2
  608. package/dist/icons/icon-08-manuel.js.map +1 -1
  609. package/dist/icons/icon-08-misc.js +1 -2
  610. package/dist/icons/icon-08-misc.js.map +1 -1
  611. package/dist/icons/icon-08-motor-off-horisontal.js +1 -2
  612. package/dist/icons/icon-08-motor-off-horisontal.js.map +1 -1
  613. package/dist/icons/icon-08-motor-off-vertical.js +1 -2
  614. package/dist/icons/icon-08-motor-off-vertical.js.map +1 -1
  615. package/dist/icons/icon-08-motor-on-horisontal.js +1 -2
  616. package/dist/icons/icon-08-motor-on-horisontal.js.map +1 -1
  617. package/dist/icons/icon-08-motor-on-vertical.js +1 -2
  618. package/dist/icons/icon-08-motor-on-vertical.js.map +1 -1
  619. package/dist/icons/icon-08-motor-static-horisontal.js +1 -2
  620. package/dist/icons/icon-08-motor-static-horisontal.js.map +1 -1
  621. package/dist/icons/icon-08-motor-static-vertical.js +1 -2
  622. package/dist/icons/icon-08-motor-static-vertical.js.map +1 -1
  623. package/dist/icons/icon-08-off.js +1 -2
  624. package/dist/icons/icon-08-off.js.map +1 -1
  625. package/dist/icons/icon-08-on.js +1 -2
  626. package/dist/icons/icon-08-on.js.map +1 -1
  627. package/dist/icons/icon-08-pls-component.js +1 -2
  628. package/dist/icons/icon-08-pls-component.js.map +1 -1
  629. package/dist/icons/icon-08-pls.js +1 -2
  630. package/dist/icons/icon-08-pls.js.map +1 -1
  631. package/dist/icons/icon-08-pump-off-horisontal.js +1 -2
  632. package/dist/icons/icon-08-pump-off-horisontal.js.map +1 -1
  633. package/dist/icons/icon-08-pump-off-vertical.js +1 -2
  634. package/dist/icons/icon-08-pump-off-vertical.js.map +1 -1
  635. package/dist/icons/icon-08-pump-on-horisontal.js +1 -2
  636. package/dist/icons/icon-08-pump-on-horisontal.js.map +1 -1
  637. package/dist/icons/icon-08-pump-on-vertical.js +1 -2
  638. package/dist/icons/icon-08-pump-on-vertical.js.map +1 -1
  639. package/dist/icons/icon-08-pump-static-horisontal.js +1 -2
  640. package/dist/icons/icon-08-pump-static-horisontal.js.map +1 -1
  641. package/dist/icons/icon-08-pump-static-vertical.js +1 -2
  642. package/dist/icons/icon-08-pump-static-vertical.js.map +1 -1
  643. package/dist/icons/icon-08-router.js +1 -2
  644. package/dist/icons/icon-08-router.js.map +1 -1
  645. package/dist/icons/icon-08-simulation.js +1 -2
  646. package/dist/icons/icon-08-simulation.js.map +1 -1
  647. package/dist/icons/icon-08-standby.js +1 -2
  648. package/dist/icons/icon-08-standby.js.map +1 -1
  649. package/dist/icons/icon-08-system.js +1 -2
  650. package/dist/icons/icon-08-system.js.map +1 -1
  651. package/dist/icons/icon-08-tank.js +1 -2
  652. package/dist/icons/icon-08-tank.js.map +1 -1
  653. package/dist/icons/icon-08-temp-cold.js +1 -2
  654. package/dist/icons/icon-08-temp-cold.js.map +1 -1
  655. package/dist/icons/icon-08-temp-hot.js +1 -2
  656. package/dist/icons/icon-08-temp-hot.js.map +1 -1
  657. package/dist/icons/icon-08-temp-hotcold.js +1 -2
  658. package/dist/icons/icon-08-temp-hotcold.js.map +1 -1
  659. package/dist/icons/icon-08-trend.js +1 -2
  660. package/dist/icons/icon-08-trend.js.map +1 -1
  661. package/dist/icons/icon-08-wiper-fluid.js +1 -2
  662. package/dist/icons/icon-08-wiper-fluid.js.map +1 -1
  663. package/dist/icons/icon-08-wiper.js +1 -2
  664. package/dist/icons/icon-08-wiper.js.map +1 -1
  665. package/dist/icons/icon-09-connector-3way.js +1 -2
  666. package/dist/icons/icon-09-connector-3way.js.map +1 -1
  667. package/dist/icons/icon-09-connector-corner.js +1 -2
  668. package/dist/icons/icon-09-connector-corner.js.map +1 -1
  669. package/dist/icons/icon-09-connector-straight.js +1 -2
  670. package/dist/icons/icon-09-connector-straight.js.map +1 -1
  671. package/dist/icons/icon-09-damper-horizontal-off-large.js +1 -2
  672. package/dist/icons/icon-09-damper-horizontal-off-large.js.map +1 -1
  673. package/dist/icons/icon-09-damper-horizontal-off.js +1 -2
  674. package/dist/icons/icon-09-damper-horizontal-off.js.map +1 -1
  675. package/dist/icons/icon-09-damper-horizontal-on-large.js +1 -2
  676. package/dist/icons/icon-09-damper-horizontal-on-large.js.map +1 -1
  677. package/dist/icons/icon-09-damper-horizontal-on.js +1 -2
  678. package/dist/icons/icon-09-damper-horizontal-on.js.map +1 -1
  679. package/dist/icons/icon-09-pipe-3way.js +1 -2
  680. package/dist/icons/icon-09-pipe-3way.js.map +1 -1
  681. package/dist/icons/icon-09-pipe-corner.js +1 -2
  682. package/dist/icons/icon-09-pipe-corner.js.map +1 -1
  683. package/dist/icons/icon-09-pipe-cross.js +1 -2
  684. package/dist/icons/icon-09-pipe-cross.js.map +1 -1
  685. package/dist/icons/icon-09-pipe-direction.js +1 -2
  686. package/dist/icons/icon-09-pipe-direction.js.map +1 -1
  687. package/dist/icons/icon-09-pipe-end.js +1 -2
  688. package/dist/icons/icon-09-pipe-end.js.map +1 -1
  689. package/dist/icons/icon-09-pipe-straight.js +1 -2
  690. package/dist/icons/icon-09-pipe-straight.js.map +1 -1
  691. package/dist/icons/icon-09-switch-horizontal-off-large.js +1 -2
  692. package/dist/icons/icon-09-switch-horizontal-off-large.js.map +1 -1
  693. package/dist/icons/icon-09-switch-horizontal-off.js +1 -2
  694. package/dist/icons/icon-09-switch-horizontal-off.js.map +1 -1
  695. package/dist/icons/icon-09-switch-horizontal-on-large.js +1 -2
  696. package/dist/icons/icon-09-switch-horizontal-on-large.js.map +1 -1
  697. package/dist/icons/icon-09-switch-horizontal-on.js +1 -2
  698. package/dist/icons/icon-09-switch-horizontal-on.js.map +1 -1
  699. package/dist/icons/icon-09-threeway-analog-left-0.js +1 -2
  700. package/dist/icons/icon-09-threeway-analog-left-0.js.map +1 -1
  701. package/dist/icons/icon-09-threeway-analog-left-100.js +1 -2
  702. package/dist/icons/icon-09-threeway-analog-left-100.js.map +1 -1
  703. package/dist/icons/icon-09-threeway-analog-left-25.js +1 -2
  704. package/dist/icons/icon-09-threeway-analog-left-25.js.map +1 -1
  705. package/dist/icons/icon-09-threeway-analog-left-50.js +1 -2
  706. package/dist/icons/icon-09-threeway-analog-left-50.js.map +1 -1
  707. package/dist/icons/icon-09-threeway-analog-left-75.js +1 -2
  708. package/dist/icons/icon-09-threeway-analog-left-75.js.map +1 -1
  709. package/dist/icons/icon-09-threeway-analog-right-0.js +1 -2
  710. package/dist/icons/icon-09-threeway-analog-right-0.js.map +1 -1
  711. package/dist/icons/icon-09-threeway-analog-right-100.js +1 -2
  712. package/dist/icons/icon-09-threeway-analog-right-100.js.map +1 -1
  713. package/dist/icons/icon-09-threeway-analog-right-25.js +1 -2
  714. package/dist/icons/icon-09-threeway-analog-right-25.js.map +1 -1
  715. package/dist/icons/icon-09-threeway-analog-right-50.js +1 -2
  716. package/dist/icons/icon-09-threeway-analog-right-50.js.map +1 -1
  717. package/dist/icons/icon-09-threeway-analog-right-75.js +1 -2
  718. package/dist/icons/icon-09-threeway-analog-right-75.js.map +1 -1
  719. package/dist/icons/icon-09-threeway-analog-top-0.js +1 -2
  720. package/dist/icons/icon-09-threeway-analog-top-0.js.map +1 -1
  721. package/dist/icons/icon-09-threeway-analog-top-100.js +1 -2
  722. package/dist/icons/icon-09-threeway-analog-top-100.js.map +1 -1
  723. package/dist/icons/icon-09-threeway-analog-top-25.js +1 -2
  724. package/dist/icons/icon-09-threeway-analog-top-25.js.map +1 -1
  725. package/dist/icons/icon-09-threeway-analog-top-50.js +1 -2
  726. package/dist/icons/icon-09-threeway-analog-top-50.js.map +1 -1
  727. package/dist/icons/icon-09-threeway-analog-top-75.js +1 -2
  728. package/dist/icons/icon-09-threeway-analog-top-75.js.map +1 -1
  729. package/dist/icons/icon-09-threeway-digital-closed-left.js +1 -2
  730. package/dist/icons/icon-09-threeway-digital-closed-left.js.map +1 -1
  731. package/dist/icons/icon-09-threeway-digital-closed-right.js +1 -2
  732. package/dist/icons/icon-09-threeway-digital-closed-right.js.map +1 -1
  733. package/dist/icons/icon-09-threeway-digital-closed-top.js +1 -2
  734. package/dist/icons/icon-09-threeway-digital-closed-top.js.map +1 -1
  735. package/dist/icons/icon-09-threeway-digital-closed.js +1 -2
  736. package/dist/icons/icon-09-threeway-digital-closed.js.map +1 -1
  737. package/dist/icons/icon-09-threeway-digital-open.js +1 -2
  738. package/dist/icons/icon-09-threeway-digital-open.js.map +1 -1
  739. package/dist/icons/icon-09-threeway-digital-static.js +1 -2
  740. package/dist/icons/icon-09-threeway-digital-static.js.map +1 -1
  741. package/dist/icons/icon-09-twoway-analog-closed.js +1 -2
  742. package/dist/icons/icon-09-twoway-analog-closed.js.map +1 -1
  743. package/dist/icons/icon-09-twoway-analog-open-25.js +1 -2
  744. package/dist/icons/icon-09-twoway-analog-open-25.js.map +1 -1
  745. package/dist/icons/icon-09-twoway-analog-open-5.js +1 -2
  746. package/dist/icons/icon-09-twoway-analog-open-5.js.map +1 -1
  747. package/dist/icons/icon-09-twoway-analog-open-50.js +1 -2
  748. package/dist/icons/icon-09-twoway-analog-open-50.js.map +1 -1
  749. package/dist/icons/icon-09-twoway-analog-open-75.js +1 -2
  750. package/dist/icons/icon-09-twoway-analog-open-75.js.map +1 -1
  751. package/dist/icons/icon-09-twoway-analog-open.js +1 -2
  752. package/dist/icons/icon-09-twoway-analog-open.js.map +1 -1
  753. package/dist/icons/icon-09-twoway-digital-closed.js +1 -2
  754. package/dist/icons/icon-09-twoway-digital-closed.js.map +1 -1
  755. package/dist/icons/icon-09-twoway-digital-nonreturn.js +1 -2
  756. package/dist/icons/icon-09-twoway-digital-nonreturn.js.map +1 -1
  757. package/dist/icons/icon-09-twoway-digital-open.js +1 -2
  758. package/dist/icons/icon-09-twoway-digital-open.js.map +1 -1
  759. package/dist/icons/icon-09-twoway-digital-static.js +1 -2
  760. package/dist/icons/icon-09-twoway-digital-static.js.map +1 -1
  761. package/dist/icons/icon-10-autonomous.js +1 -2
  762. package/dist/icons/icon-10-autonomous.js.map +1 -1
  763. package/dist/icons/icon-10-autopilot.js +1 -2
  764. package/dist/icons/icon-10-autopilot.js.map +1 -1
  765. package/dist/icons/icon-10-autotrack.js +1 -2
  766. package/dist/icons/icon-10-autotrack.js.map +1 -1
  767. package/dist/icons/icon-10-joystick.js +1 -2
  768. package/dist/icons/icon-10-joystick.js.map +1 -1
  769. package/dist/icons/icon-10-keeping-area.js +1 -2
  770. package/dist/icons/icon-10-keeping-area.js.map +1 -1
  771. package/dist/icons/icon-10-keeping-station.js +1 -2
  772. package/dist/icons/icon-10-keeping-station.js.map +1 -1
  773. package/dist/icons/icon-10-keeping-track.js +1 -2
  774. package/dist/icons/icon-10-keeping-track.js.map +1 -1
  775. package/dist/icons/icon-10-monotoring-route.js +1 -2
  776. package/dist/icons/icon-10-monotoring-route.js.map +1 -1
  777. package/dist/icons/icon-10-move.js +1 -2
  778. package/dist/icons/icon-10-move.js.map +1 -1
  779. package/dist/icons/icon-10-propulsion-static.js +1 -2
  780. package/dist/icons/icon-10-propulsion-static.js.map +1 -1
  781. package/dist/icons/icon-10-propulsion.js +1 -2
  782. package/dist/icons/icon-10-propulsion.js.map +1 -1
  783. package/dist/icons/icon-10-rotate.js +1 -2
  784. package/dist/icons/icon-10-rotate.js.map +1 -1
  785. package/dist/icons/icon-10-rudder.js +1 -2
  786. package/dist/icons/icon-10-rudder.js.map +1 -1
  787. package/dist/icons/icon-10-thruster-azimuth.js +1 -2
  788. package/dist/icons/icon-10-thruster-azimuth.js.map +1 -1
  789. package/dist/icons/icon-10-thruster-mainengine.js +1 -2
  790. package/dist/icons/icon-10-thruster-mainengine.js.map +1 -1
  791. package/dist/icons/icon-10-thruster-tunnel.js +1 -2
  792. package/dist/icons/icon-10-thruster-tunnel.js.map +1 -1
  793. package/dist/icons/icon-11-current-1.js +1 -2
  794. package/dist/icons/icon-11-current-1.js.map +1 -1
  795. package/dist/icons/icon-11-current-2.js +1 -2
  796. package/dist/icons/icon-11-current-2.js.map +1 -1
  797. package/dist/icons/icon-11-current-3.js +1 -2
  798. package/dist/icons/icon-11-current-3.js.map +1 -1
  799. package/dist/icons/icon-11-current-4.js +1 -2
  800. package/dist/icons/icon-11-current-4.js.map +1 -1
  801. package/dist/icons/icon-11-wind-1.js +1 -2
  802. package/dist/icons/icon-11-wind-1.js.map +1 -1
  803. package/dist/icons/icon-11-wind-10.js +1 -2
  804. package/dist/icons/icon-11-wind-10.js.map +1 -1
  805. package/dist/icons/icon-11-wind-11.js +1 -2
  806. package/dist/icons/icon-11-wind-11.js.map +1 -1
  807. package/dist/icons/icon-11-wind-12.js +1 -2
  808. package/dist/icons/icon-11-wind-12.js.map +1 -1
  809. package/dist/icons/icon-11-wind-13.js +1 -2
  810. package/dist/icons/icon-11-wind-13.js.map +1 -1
  811. package/dist/icons/icon-11-wind-2.js +1 -2
  812. package/dist/icons/icon-11-wind-2.js.map +1 -1
  813. package/dist/icons/icon-11-wind-3.js +1 -2
  814. package/dist/icons/icon-11-wind-3.js.map +1 -1
  815. package/dist/icons/icon-11-wind-4.js +1 -2
  816. package/dist/icons/icon-11-wind-4.js.map +1 -1
  817. package/dist/icons/icon-11-wind-5.js +1 -2
  818. package/dist/icons/icon-11-wind-5.js.map +1 -1
  819. package/dist/icons/icon-11-wind-6.js +1 -2
  820. package/dist/icons/icon-11-wind-6.js.map +1 -1
  821. package/dist/icons/icon-11-wind-7.js +1 -2
  822. package/dist/icons/icon-11-wind-7.js.map +1 -1
  823. package/dist/icons/icon-11-wind-8.js +1 -2
  824. package/dist/icons/icon-11-wind-8.js.map +1 -1
  825. package/dist/icons/icon-11-wind-9.js +1 -2
  826. package/dist/icons/icon-11-wind-9.js.map +1 -1
  827. package/dist/icons/icon-12-altitute.js +1 -2
  828. package/dist/icons/icon-12-altitute.js.map +1 -1
  829. package/dist/icons/icon-12-cog.js +1 -2
  830. package/dist/icons/icon-12-cog.js.map +1 -1
  831. package/dist/icons/icon-12-depth.js +1 -2
  832. package/dist/icons/icon-12-depth.js.map +1 -1
  833. package/dist/icons/icon-12-hdg.js +1 -2
  834. package/dist/icons/icon-12-hdg.js.map +1 -1
  835. package/dist/icons/icon-12-heave.js +1 -2
  836. package/dist/icons/icon-12-heave.js.map +1 -1
  837. package/dist/icons/icon-12-pitch.js +1 -2
  838. package/dist/icons/icon-12-pitch.js.map +1 -1
  839. package/dist/icons/icon-12-roll.js +1 -2
  840. package/dist/icons/icon-12-roll.js.map +1 -1
  841. package/dist/icons/icon-12-rot.js +1 -2
  842. package/dist/icons/icon-12-rot.js.map +1 -1
  843. package/dist/icons/icon-12-sog.js +1 -2
  844. package/dist/icons/icon-12-sog.js.map +1 -1
  845. package/dist/icons/icon-12-stw.js +1 -2
  846. package/dist/icons/icon-12-stw.js.map +1 -1
  847. package/dist/icons/icon-12-turn.js +1 -2
  848. package/dist/icons/icon-12-turn.js.map +1 -1
  849. package/dist/icons/icon-12-yaw.js +1 -2
  850. package/dist/icons/icon-12-yaw.js.map +1 -1
  851. package/dist/icons/icon-13-camera-off.js +1 -2
  852. package/dist/icons/icon-13-camera-off.js.map +1 -1
  853. package/dist/icons/icon-13-camera-on.js +1 -2
  854. package/dist/icons/icon-13-camera-on.js.map +1 -1
  855. package/dist/icons/icon-13-camera-tilt.js +1 -2
  856. package/dist/icons/icon-13-camera-tilt.js.map +1 -1
  857. package/dist/icons/icon-13-coffee.js +1 -2
  858. package/dist/icons/icon-13-coffee.js.map +1 -1
  859. package/dist/icons/icon-13-container.js +1 -2
  860. package/dist/icons/icon-13-container.js.map +1 -1
  861. package/dist/icons/icon-13-crane.js +1 -2
  862. package/dist/icons/icon-13-crane.js.map +1 -1
  863. package/dist/icons/icon-13-latched.js +1 -2
  864. package/dist/icons/icon-13-latched.js.map +1 -1
  865. package/dist/icons/icon-13-winch.js +1 -2
  866. package/dist/icons/icon-13-winch.js.map +1 -1
  867. package/dist/icons/icon-14-alarm-abandon.js +1 -2
  868. package/dist/icons/icon-14-alarm-abandon.js.map +1 -1
  869. package/dist/icons/icon-14-alarm-acknowledged.js +1 -2
  870. package/dist/icons/icon-14-alarm-acknowledged.js.map +1 -1
  871. package/dist/icons/icon-14-alarm-badge.js +1 -2
  872. package/dist/icons/icon-14-alarm-badge.js.map +1 -1
  873. package/dist/icons/icon-14-alarm-emergency.js +1 -2
  874. package/dist/icons/icon-14-alarm-emergency.js.map +1 -1
  875. package/dist/icons/icon-14-alarm-fire.js +1 -2
  876. package/dist/icons/icon-14-alarm-fire.js.map +1 -1
  877. package/dist/icons/icon-14-alarm-general.js +1 -2
  878. package/dist/icons/icon-14-alarm-general.js.map +1 -1
  879. package/dist/icons/icon-14-alarm-noack.js +1 -2
  880. package/dist/icons/icon-14-alarm-noack.js.map +1 -1
  881. package/dist/icons/icon-14-alarm-outline.js +1 -2
  882. package/dist/icons/icon-14-alarm-outline.js.map +1 -1
  883. package/dist/icons/icon-14-alarm-pob.js +1 -2
  884. package/dist/icons/icon-14-alarm-pob.js.map +1 -1
  885. package/dist/icons/icon-14-alarm-rectified.js +1 -2
  886. package/dist/icons/icon-14-alarm-rectified.js.map +1 -1
  887. package/dist/icons/icon-14-alarm-silenced.js +1 -2
  888. package/dist/icons/icon-14-alarm-silenced.js.map +1 -1
  889. package/dist/icons/icon-14-alarm-transferred.js +1 -2
  890. package/dist/icons/icon-14-alarm-transferred.js.map +1 -1
  891. package/dist/icons/icon-14-alarm-trigger.js +1 -2
  892. package/dist/icons/icon-14-alarm-trigger.js.map +1 -1
  893. package/dist/icons/icon-14-alarm-unack.js +1 -2
  894. package/dist/icons/icon-14-alarm-unack.js.map +1 -1
  895. package/dist/icons/icon-14-alarm.js +1 -2
  896. package/dist/icons/icon-14-alarm.js.map +1 -1
  897. package/dist/icons/icon-14-alert-list.js +1 -2
  898. package/dist/icons/icon-14-alert-list.js.map +1 -1
  899. package/dist/icons/icon-14-alert-off.js +1 -2
  900. package/dist/icons/icon-14-alert-off.js.map +1 -1
  901. package/dist/icons/icon-14-alert-rectified.js +1 -2
  902. package/dist/icons/icon-14-alert-rectified.js.map +1 -1
  903. package/dist/icons/icon-14-alertheader-aggregated-large.js +1 -2
  904. package/dist/icons/icon-14-alertheader-aggregated-large.js.map +1 -1
  905. package/dist/icons/icon-14-alertheader-aggregated.js +1 -2
  906. package/dist/icons/icon-14-alertheader-aggregated.js.map +1 -1
  907. package/dist/icons/icon-14-alertheader-group-large.js +1 -2
  908. package/dist/icons/icon-14-alertheader-group-large.js.map +1 -1
  909. package/dist/icons/icon-14-alertheader-group.js +1 -2
  910. package/dist/icons/icon-14-alertheader-group.js.map +1 -1
  911. package/dist/icons/icon-14-alerts.js +1 -2
  912. package/dist/icons/icon-14-alerts.js.map +1 -1
  913. package/dist/icons/icon-14-audio-low.js +1 -2
  914. package/dist/icons/icon-14-audio-low.js.map +1 -1
  915. package/dist/icons/icon-14-audio.js +1 -2
  916. package/dist/icons/icon-14-audio.js.map +1 -1
  917. package/dist/icons/icon-14-caution-badge.js +1 -2
  918. package/dist/icons/icon-14-caution-badge.js.map +1 -1
  919. package/dist/icons/icon-14-caution-color.js +1 -2
  920. package/dist/icons/icon-14-caution-color.js.map +1 -1
  921. package/dist/icons/icon-14-caution-outline.js +1 -2
  922. package/dist/icons/icon-14-caution-outline.js.map +1 -1
  923. package/dist/icons/icon-14-caution.js +1 -2
  924. package/dist/icons/icon-14-caution.js.map +1 -1
  925. package/dist/icons/icon-14-exclamationmark.js +1 -2
  926. package/dist/icons/icon-14-exclamationmark.js.map +1 -1
  927. package/dist/icons/icon-14-message-none.js +1 -2
  928. package/dist/icons/icon-14-message-none.js.map +1 -1
  929. package/dist/icons/icon-14-message.js +1 -2
  930. package/dist/icons/icon-14-message.js.map +1 -1
  931. package/dist/icons/icon-14-mute.js +1 -2
  932. package/dist/icons/icon-14-mute.js.map +1 -1
  933. package/dist/icons/icon-14-notification-empty.js +1 -2
  934. package/dist/icons/icon-14-notification-empty.js.map +1 -1
  935. package/dist/icons/icon-14-notification.js +1 -2
  936. package/dist/icons/icon-14-notification.js.map +1 -1
  937. package/dist/icons/icon-14-rectified.js +1 -2
  938. package/dist/icons/icon-14-rectified.js.map +1 -1
  939. package/dist/icons/icon-14-running-color.js +1 -2
  940. package/dist/icons/icon-14-running-color.js.map +1 -1
  941. package/dist/icons/icon-14-running.js +1 -2
  942. package/dist/icons/icon-14-running.js.map +1 -1
  943. package/dist/icons/icon-14-shelf.js +1 -2
  944. package/dist/icons/icon-14-shelf.js.map +1 -1
  945. package/dist/icons/icon-14-signal-fail.js +1 -2
  946. package/dist/icons/icon-14-signal-fail.js.map +1 -1
  947. package/dist/icons/icon-14-warning-acknowledged.js +1 -2
  948. package/dist/icons/icon-14-warning-acknowledged.js.map +1 -1
  949. package/dist/icons/icon-14-warning-badge.js +1 -2
  950. package/dist/icons/icon-14-warning-badge.js.map +1 -1
  951. package/dist/icons/icon-14-warning-noack.js +1 -2
  952. package/dist/icons/icon-14-warning-noack.js.map +1 -1
  953. package/dist/icons/icon-14-warning-outline.js +1 -2
  954. package/dist/icons/icon-14-warning-outline.js.map +1 -1
  955. package/dist/icons/icon-14-warning-rectified.js +1 -2
  956. package/dist/icons/icon-14-warning-rectified.js.map +1 -1
  957. package/dist/icons/icon-14-warning-silenced.js +1 -2
  958. package/dist/icons/icon-14-warning-silenced.js.map +1 -1
  959. package/dist/icons/icon-14-warning-transferred.js +1 -2
  960. package/dist/icons/icon-14-warning-transferred.js.map +1 -1
  961. package/dist/icons/icon-14-warning-unacknowledged.js +1 -2
  962. package/dist/icons/icon-14-warning-unacknowledged.js.map +1 -1
  963. package/dist/icons/icon-14-warning.js +1 -2
  964. package/dist/icons/icon-14-warning.js.map +1 -1
  965. package/dist/icons/icon-15-backwards10s.js +1 -2
  966. package/dist/icons/icon-15-backwards10s.js.map +1 -1
  967. package/dist/icons/icon-15-call-active.js +1 -2
  968. package/dist/icons/icon-15-call-active.js.map +1 -1
  969. package/dist/icons/icon-15-call-end.js +1 -2
  970. package/dist/icons/icon-15-call-end.js.map +1 -1
  971. package/dist/icons/icon-15-call.js +1 -2
  972. package/dist/icons/icon-15-call.js.map +1 -1
  973. package/dist/icons/icon-15-contacts.js +1 -2
  974. package/dist/icons/icon-15-contacts.js.map +1 -1
  975. package/dist/icons/icon-15-forward10s.js +1 -2
  976. package/dist/icons/icon-15-forward10s.js.map +1 -1
  977. package/dist/icons/icon-15-fullscreen.js +1 -2
  978. package/dist/icons/icon-15-fullscreen.js.map +1 -1
  979. package/dist/icons/icon-15-galleryview.js +1 -2
  980. package/dist/icons/icon-15-galleryview.js.map +1 -1
  981. package/dist/icons/icon-15-history.js +1 -2
  982. package/dist/icons/icon-15-history.js.map +1 -1
  983. package/dist/icons/icon-15-live.js +1 -2
  984. package/dist/icons/icon-15-live.js.map +1 -1
  985. package/dist/icons/icon-15-loop.js +1 -2
  986. package/dist/icons/icon-15-loop.js.map +1 -1
  987. package/dist/icons/icon-15-mic-muted.js +1 -2
  988. package/dist/icons/icon-15-mic-muted.js.map +1 -1
  989. package/dist/icons/icon-15-mic.js +1 -2
  990. package/dist/icons/icon-15-mic.js.map +1 -1
  991. package/dist/icons/icon-15-pa-list.js +1 -2
  992. package/dist/icons/icon-15-pa-list.js.map +1 -1
  993. package/dist/icons/icon-15-pa.js +1 -2
  994. package/dist/icons/icon-15-pa.js.map +1 -1
  995. package/dist/icons/icon-15-pause-circle.js +1 -2
  996. package/dist/icons/icon-15-pause-circle.js.map +1 -1
  997. package/dist/icons/icon-15-pause.js +1 -2
  998. package/dist/icons/icon-15-pause.js.map +1 -1
  999. package/dist/icons/icon-15-play-circle.js +1 -2
  1000. package/dist/icons/icon-15-play-circle.js.map +1 -1
  1001. package/dist/icons/icon-15-play.js +1 -2
  1002. package/dist/icons/icon-15-play.js.map +1 -1
  1003. package/dist/icons/icon-15-radio.js +1 -2
  1004. package/dist/icons/icon-15-radio.js.map +1 -1
  1005. package/dist/icons/icon-15-rank-1.js +1 -2
  1006. package/dist/icons/icon-15-rank-1.js.map +1 -1
  1007. package/dist/icons/icon-15-rank-2.js +1 -2
  1008. package/dist/icons/icon-15-rank-2.js.map +1 -1
  1009. package/dist/icons/icon-15-rank-3.js +1 -2
  1010. package/dist/icons/icon-15-rank-3.js.map +1 -1
  1011. package/dist/icons/icon-15-rank-4.js +1 -2
  1012. package/dist/icons/icon-15-rank-4.js.map +1 -1
  1013. package/dist/icons/icon-15-rank-5.js +1 -2
  1014. package/dist/icons/icon-15-rank-5.js.map +1 -1
  1015. package/dist/icons/icon-15-rank-6.js +1 -2
  1016. package/dist/icons/icon-15-rank-6.js.map +1 -1
  1017. package/dist/icons/icon-15-record.js +1 -2
  1018. package/dist/icons/icon-15-record.js.map +1 -1
  1019. package/dist/icons/icon-15-singleview.js +1 -2
  1020. package/dist/icons/icon-15-singleview.js.map +1 -1
  1021. package/dist/icons/icon-15-skip-next-filled.js +1 -2
  1022. package/dist/icons/icon-15-skip-next-filled.js.map +1 -1
  1023. package/dist/icons/icon-15-skip-next.js +1 -2
  1024. package/dist/icons/icon-15-skip-next.js.map +1 -1
  1025. package/dist/icons/icon-15-skip-previous-filled.js +1 -2
  1026. package/dist/icons/icon-15-skip-previous-filled.js.map +1 -1
  1027. package/dist/icons/icon-15-skip-previous.js +1 -2
  1028. package/dist/icons/icon-15-skip-previous.js.map +1 -1
  1029. package/dist/icons/icon-16-command-available.js +1 -2
  1030. package/dist/icons/icon-16-command-available.js.map +1 -1
  1031. package/dist/icons/icon-16-command-in.js +1 -2
  1032. package/dist/icons/icon-16-command-in.js.map +1 -1
  1033. package/dist/icons/icon-16-command-no.js +1 -2
  1034. package/dist/icons/icon-16-command-no.js.map +1 -1
  1035. package/dist/icons/icon-16-command-partial.js +1 -2
  1036. package/dist/icons/icon-16-command-partial.js.map +1 -1
  1037. package/dist/icons/icon-16-command-request.js +1 -2
  1038. package/dist/icons/icon-16-command-request.js.map +1 -1
  1039. package/dist/icons/icon-16-command-shared.js +1 -2
  1040. package/dist/icons/icon-16-command-shared.js.map +1 -1
  1041. package/dist/icons/icon-16-command-take.js +1 -2
  1042. package/dist/icons/icon-16-command-take.js.map +1 -1
  1043. package/dist/icons/icon-16-lock.js +1 -2
  1044. package/dist/icons/icon-16-lock.js.map +1 -1
  1045. package/dist/icons/icon-17-diver.js +1 -2
  1046. package/dist/icons/icon-17-diver.js.map +1 -1
  1047. package/dist/icons/icon-17-kayaking.js +1 -2
  1048. package/dist/icons/icon-17-kayaking.js.map +1 -1
  1049. package/dist/icons/icon-17-kitesurfing.js +1 -2
  1050. package/dist/icons/icon-17-kitesurfing.js.map +1 -1
  1051. package/dist/icons/icon-17-rowing.js +1 -2
  1052. package/dist/icons/icon-17-rowing.js.map +1 -1
  1053. package/dist/icons/icon-17-ship-bulkcarrier.js +1 -2
  1054. package/dist/icons/icon-17-ship-bulkcarrier.js.map +1 -1
  1055. package/dist/icons/icon-17-ship-carferry.js +1 -2
  1056. package/dist/icons/icon-17-ship-carferry.js.map +1 -1
  1057. package/dist/icons/icon-17-ship-container.js +1 -2
  1058. package/dist/icons/icon-17-ship-container.js.map +1 -1
  1059. package/dist/icons/icon-17-ship-fishing.js +1 -2
  1060. package/dist/icons/icon-17-ship-fishing.js.map +1 -1
  1061. package/dist/icons/icon-17-ship-highspeed.js +1 -2
  1062. package/dist/icons/icon-17-ship-highspeed.js.map +1 -1
  1063. package/dist/icons/icon-17-ship-navy.js +1 -2
  1064. package/dist/icons/icon-17-ship-navy.js.map +1 -1
  1065. package/dist/icons/icon-17-ship-offshore.js +1 -2
  1066. package/dist/icons/icon-17-ship-offshore.js.map +1 -1
  1067. package/dist/icons/icon-17-ship-passenger.js +1 -2
  1068. package/dist/icons/icon-17-ship-passenger.js.map +1 -1
  1069. package/dist/icons/icon-17-ship-sailboat.js +1 -2
  1070. package/dist/icons/icon-17-ship-sailboat.js.map +1 -1
  1071. package/dist/icons/icon-17-ship-sailship.js +1 -2
  1072. package/dist/icons/icon-17-ship-sailship.js.map +1 -1
  1073. package/dist/icons/icon-17-ship-tanker.js +1 -2
  1074. package/dist/icons/icon-17-ship-tanker.js.map +1 -1
  1075. package/dist/icons/icon-17-ship-tugboat.js +1 -2
  1076. package/dist/icons/icon-17-ship-tugboat.js.map +1 -1
  1077. package/dist/icons/icon-17-ship-yacht.js +1 -2
  1078. package/dist/icons/icon-17-ship-yacht.js.map +1 -1
  1079. package/dist/icons/icon-17-surfing.js +1 -2
  1080. package/dist/icons/icon-17-surfing.js.map +1 -1
  1081. package/dist/icons/icon-17-swimming.js +1 -2
  1082. package/dist/icons/icon-17-swimming.js.map +1 -1
  1083. package/dist/icons/icon-18-ais-aground.js +1 -2
  1084. package/dist/icons/icon-18-ais-aground.js.map +1 -1
  1085. package/dist/icons/icon-18-ais-anchor.js +1 -2
  1086. package/dist/icons/icon-18-ais-anchor.js.map +1 -1
  1087. package/dist/icons/icon-18-ais-anchored.js +1 -2
  1088. package/dist/icons/icon-18-ais-anchored.js.map +1 -1
  1089. package/dist/icons/icon-18-ais-fishing.js +1 -2
  1090. package/dist/icons/icon-18-ais-fishing.js.map +1 -1
  1091. package/dist/icons/icon-18-ais-moored.js +1 -2
  1092. package/dist/icons/icon-18-ais-moored.js.map +1 -1
  1093. package/dist/icons/icon-18-ais-notcommand.js +1 -2
  1094. package/dist/icons/icon-18-ais-notcommand.js.map +1 -1
  1095. package/dist/icons/icon-18-ais-notunderway.js +1 -2
  1096. package/dist/icons/icon-18-ais-notunderway.js.map +1 -1
  1097. package/dist/icons/icon-18-ais-underwaysailing.js +1 -2
  1098. package/dist/icons/icon-18-ais-underwaysailing.js.map +1 -1
  1099. package/dist/icons/icon-18-ais-underwayusingengine.js +1 -2
  1100. package/dist/icons/icon-18-ais-underwayusingengine.js.map +1 -1
  1101. package/dist/icons/icon-19-analytics.js +1 -2
  1102. package/dist/icons/icon-19-analytics.js.map +1 -1
  1103. package/dist/icons/icon-19-current.js +1 -2
  1104. package/dist/icons/icon-19-current.js.map +1 -1
  1105. package/dist/icons/icon-19-hide.js +1 -2
  1106. package/dist/icons/icon-19-hide.js.map +1 -1
  1107. package/dist/icons/icon-19-limits-attention.js +1 -2
  1108. package/dist/icons/icon-19-limits-attention.js.map +1 -1
  1109. package/dist/icons/icon-19-limits-improving.js +1 -2
  1110. package/dist/icons/icon-19-limits-improving.js.map +1 -1
  1111. package/dist/icons/icon-19-limits-inside.js +1 -2
  1112. package/dist/icons/icon-19-limits-inside.js.map +1 -1
  1113. package/dist/icons/icon-19-limits-outside-over.js +1 -2
  1114. package/dist/icons/icon-19-limits-outside-over.js.map +1 -1
  1115. package/dist/icons/icon-19-limits-outside-under.js +1 -2
  1116. package/dist/icons/icon-19-limits-outside-under.js.map +1 -1
  1117. package/dist/icons/icon-19-pilot-onboard.js +1 -2
  1118. package/dist/icons/icon-19-pilot-onboard.js.map +1 -1
  1119. package/dist/icons/icon-19-speed-good.js +1 -2
  1120. package/dist/icons/icon-19-speed-good.js.map +1 -1
  1121. package/dist/icons/icon-19-speed-high.js +1 -2
  1122. package/dist/icons/icon-19-speed-high.js.map +1 -1
  1123. package/dist/icons/icon-19-speed-low.js +1 -2
  1124. package/dist/icons/icon-19-speed-low.js.map +1 -1
  1125. package/dist/icons/icon-19-speed.js +1 -2
  1126. package/dist/icons/icon-19-speed.js.map +1 -1
  1127. package/dist/icons/icon-19-swell.js +1 -2
  1128. package/dist/icons/icon-19-swell.js.map +1 -1
  1129. package/dist/icons/icon-19-temperature.js +1 -2
  1130. package/dist/icons/icon-19-temperature.js.map +1 -1
  1131. package/dist/icons/icon-19-time-less.js +1 -2
  1132. package/dist/icons/icon-19-time-less.js.map +1 -1
  1133. package/dist/icons/icon-19-time-more.js +1 -2
  1134. package/dist/icons/icon-19-time-more.js.map +1 -1
  1135. package/dist/icons/icon-19-trend-down.js +1 -2
  1136. package/dist/icons/icon-19-trend-down.js.map +1 -1
  1137. package/dist/icons/icon-19-trend-up.js +1 -2
  1138. package/dist/icons/icon-19-trend-up.js.map +1 -1
  1139. package/dist/icons/icon-19-trophy.js +1 -2
  1140. package/dist/icons/icon-19-trophy.js.map +1 -1
  1141. package/dist/icons/icon-19-view.js +1 -2
  1142. package/dist/icons/icon-19-view.js.map +1 -1
  1143. package/dist/icons/icon-19-wave.js +1 -2
  1144. package/dist/icons/icon-19-wave.js.map +1 -1
  1145. package/dist/icons/icon-19-weather.js +1 -2
  1146. package/dist/icons/icon-19-weather.js.map +1 -1
  1147. package/dist/icons/icon-20-cell-bad.js +1 -2
  1148. package/dist/icons/icon-20-cell-bad.js.map +1 -1
  1149. package/dist/icons/icon-20-cell-full.js +1 -2
  1150. package/dist/icons/icon-20-cell-full.js.map +1 -1
  1151. package/dist/icons/icon-20-cell-low.js +1 -2
  1152. package/dist/icons/icon-20-cell-low.js.map +1 -1
  1153. package/dist/icons/icon-20-cell-medium.js +1 -2
  1154. package/dist/icons/icon-20-cell-medium.js.map +1 -1
  1155. package/dist/icons/icon-20-cell-off.js +1 -2
  1156. package/dist/icons/icon-20-cell-off.js.map +1 -1
  1157. package/dist/icons/icon-20-satellite-full.js +1 -2
  1158. package/dist/icons/icon-20-satellite-full.js.map +1 -1
  1159. package/dist/icons/icon-20-satellite-low.js +1 -2
  1160. package/dist/icons/icon-20-satellite-low.js.map +1 -1
  1161. package/dist/icons/icon-20-satellite-medium.js +1 -2
  1162. package/dist/icons/icon-20-satellite-medium.js.map +1 -1
  1163. package/dist/icons/icon-20-satellite-off.js +1 -2
  1164. package/dist/icons/icon-20-satellite-off.js.map +1 -1
  1165. package/dist/icons/icon-20-sensor-gps-bad.js +1 -2
  1166. package/dist/icons/icon-20-sensor-gps-bad.js.map +1 -1
  1167. package/dist/icons/icon-20-sensor-gps-full.js +1 -2
  1168. package/dist/icons/icon-20-sensor-gps-full.js.map +1 -1
  1169. package/dist/icons/icon-20-sensor-gps-low.js +1 -2
  1170. package/dist/icons/icon-20-sensor-gps-low.js.map +1 -1
  1171. package/dist/icons/icon-20-sensor-gps-medium.js +1 -2
  1172. package/dist/icons/icon-20-sensor-gps-medium.js.map +1 -1
  1173. package/dist/icons/icon-20-sensor-gyro.js +1 -2
  1174. package/dist/icons/icon-20-sensor-gyro.js.map +1 -1
  1175. package/dist/icons/icon-20-sensor-wind.js +1 -2
  1176. package/dist/icons/icon-20-sensor-wind.js.map +1 -1
  1177. package/dist/icons/icon-20-usb.js +1 -2
  1178. package/dist/icons/icon-20-usb.js.map +1 -1
  1179. package/dist/icons/icon-20-wifi-bad.js +1 -2
  1180. package/dist/icons/icon-20-wifi-bad.js.map +1 -1
  1181. package/dist/icons/icon-20-wifi-off.js +1 -2
  1182. package/dist/icons/icon-20-wifi-off.js.map +1 -1
  1183. package/dist/icons/icon-20-wifi-wifi_statusbar_0.js +1 -2
  1184. package/dist/icons/icon-20-wifi-wifi_statusbar_0.js.map +1 -1
  1185. package/dist/icons/icon-20-wifi-wifi_statusbar_1.js +1 -2
  1186. package/dist/icons/icon-20-wifi-wifi_statusbar_1.js.map +1 -1
  1187. package/dist/icons/icon-20-wifi-wifi_statusbar_2.js +1 -2
  1188. package/dist/icons/icon-20-wifi-wifi_statusbar_2.js.map +1 -1
  1189. package/dist/icons/icon-20-wifi-wifi_statusbar_3.js +1 -2
  1190. package/dist/icons/icon-20-wifi-wifi_statusbar_3.js.map +1 -1
  1191. package/dist/icons/icon-20-wifi-wifi_statusbar_4.js +1 -2
  1192. package/dist/icons/icon-20-wifi-wifi_statusbar_4.js.map +1 -1
  1193. package/dist/icons/icon-20-wifi2-off.js +1 -2
  1194. package/dist/icons/icon-20-wifi2-off.js.map +1 -1
  1195. package/dist/icons/icon-20-wifi2.js +1 -2
  1196. package/dist/icons/icon-20-wifi2.js.map +1 -1
  1197. package/dist/icons/icon-frame2622.js +1 -2
  1198. package/dist/icons/icon-frame2622.js.map +1 -1
  1199. package/dist/icons/icon-iec-02-ais-target-activated-selected.js +1 -2
  1200. package/dist/icons/icon-iec-02-ais-target-activated-selected.js.map +1 -1
  1201. package/dist/icons/icon-iec-02-ais-target-activated.js +1 -2
  1202. package/dist/icons/icon-iec-02-ais-target-activated.js.map +1 -1
  1203. package/dist/icons/icon-iec-02-associated-target-ais.js +1 -2
  1204. package/dist/icons/icon-iec-02-associated-target-ais.js.map +1 -1
  1205. package/dist/icons/icon-iec-02-associated-target-radar.js +1 -2
  1206. package/dist/icons/icon-iec-02-associated-target-radar.js.map +1 -1
  1207. package/dist/icons/icon-iec-02-radar-target-tracked-selected.js +1 -2
  1208. package/dist/icons/icon-iec-02-radar-target-tracked-selected.js.map +1 -1
  1209. package/dist/icons/icon-iec-02-radar-target-tracked.js +1 -2
  1210. package/dist/icons/icon-iec-02-radar-target-tracked.js.map +1 -1
  1211. package/dist/icons/icon-temp.js +1 -2
  1212. package/dist/icons/icon-temp.js.map +1 -1
  1213. package/dist/navigation-instruments/azimuth-thruster/azimuth-thruster.js +1 -2
  1214. package/dist/navigation-instruments/azimuth-thruster/azimuth-thruster.js.map +1 -1
  1215. package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js +1 -2
  1216. package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.js.map +1 -1
  1217. package/dist/navigation-instruments/badge-command/badge-command.js +1 -2
  1218. package/dist/navigation-instruments/badge-command/badge-command.js.map +1 -1
  1219. package/dist/navigation-instruments/compass/arrow.js.map +1 -1
  1220. package/dist/navigation-instruments/compass/compass.js +1 -2
  1221. package/dist/navigation-instruments/compass/compass.js.map +1 -1
  1222. package/dist/navigation-instruments/compass/radial-tickmark.js +1 -2
  1223. package/dist/navigation-instruments/compass/radial-tickmark.js.map +1 -1
  1224. package/dist/navigation-instruments/compass-flat/compass-flat.js +1 -2
  1225. package/dist/navigation-instruments/compass-flat/compass-flat.js.map +1 -1
  1226. package/dist/navigation-instruments/instrument-field/instrument-field.js +1 -2
  1227. package/dist/navigation-instruments/instrument-field/instrument-field.js.map +1 -1
  1228. package/dist/navigation-instruments/main-engine/main-engine.js +1 -2
  1229. package/dist/navigation-instruments/main-engine/main-engine.js.map +1 -1
  1230. package/dist/navigation-instruments/poi-graphic-line/poi-config.js.map +1 -1
  1231. package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.js +1 -2
  1232. package/dist/navigation-instruments/poi-graphic-line/poi-graphic-line.js.map +1 -1
  1233. package/dist/navigation-instruments/poi-line/poi-line.js +1 -2
  1234. package/dist/navigation-instruments/poi-line/poi-line.js.map +1 -1
  1235. package/dist/navigation-instruments/poi-target/arrow.js +1 -2
  1236. package/dist/navigation-instruments/poi-target/arrow.js.map +1 -1
  1237. package/dist/navigation-instruments/poi-target/poi-target.js +1 -2
  1238. package/dist/navigation-instruments/poi-target/poi-target.js.map +1 -1
  1239. package/dist/navigation-instruments/rudder/rudder.js +1 -2
  1240. package/dist/navigation-instruments/rudder/rudder.js.map +1 -1
  1241. package/dist/navigation-instruments/thruster/advice.js.map +1 -1
  1242. package/dist/navigation-instruments/thruster/propeller.js.map +1 -1
  1243. package/dist/navigation-instruments/thruster/thruster.js +1 -2
  1244. package/dist/navigation-instruments/thruster/thruster.js.map +1 -1
  1245. package/dist/navigation-instruments/thruster/tickmark.js.map +1 -1
  1246. package/dist/navigation-instruments/watch/advice.js.map +1 -1
  1247. package/dist/navigation-instruments/watch/label.js.map +1 -1
  1248. package/dist/navigation-instruments/watch/tickmark.js.map +1 -1
  1249. package/dist/navigation-instruments/watch/watch.js +1 -2
  1250. package/dist/navigation-instruments/watch/watch.js.map +1 -1
  1251. package/dist/navigation-instruments/watch-flat/tickmark-flat.js.map +1 -1
  1252. package/dist/navigation-instruments/watch-flat/watch-flat.js +1 -2
  1253. package/dist/navigation-instruments/watch-flat/watch-flat.js.map +1 -1
  1254. package/dist/storybook-util.js.map +1 -1
  1255. package/dist/svghelpers/circle.js.map +1 -1
  1256. package/dist/svghelpers/rectangular.js.map +1 -1
  1257. package/dist/svghelpers/roundedArch.js.map +1 -1
  1258. package/dist/time.js.map +1 -1
  1259. package/package.json +7 -7
@@ -20,8 +20,7 @@ var __decorateClass = (decorators, target, key, kind) => {
20
20
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
21
21
  if (decorator = decorators[i])
22
22
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
23
- if (kind && result)
24
- __defProp(target, key, result);
23
+ if (kind && result) __defProp(target, key, result);
25
24
  return result;
26
25
  };
27
26
  var AutomationButtonSize = /* @__PURE__ */ ((AutomationButtonSize2) => {
@@ -1 +1 @@
1
- {"version":3,"file":"automation-button.js","sources":["../../../src/automation/automation-button/automation-button.ts"],"sourcesContent":["import {HTMLTemplateResult, LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './automation-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport '../../icons/icon-08-forward';\nimport '../../icons/icon-08-forward-fast';\nimport '../../icons/icon-08-forward-stopped';\nimport '../../icons/icon-08-backward';\nimport '../../icons/icon-08-backward-fast';\nimport '../../icons/icon-08-backward-stopped';\nimport '../../icons/icon-08-standby';\nimport '../../icons/icon-02-arrow-up';\nimport '../../icons/icon-02-arrow-down';\nimport '../../icons/icon-02-arrow-back';\nimport '../../icons/icon-02-arrow-forward';\n\nexport enum AutomationButtonSize {\n small = 'small',\n regular = 'regular',\n large = 'large',\n xl = 'xl',\n}\n\nexport enum AutomationButtonVariant {\n regular = 'regular',\n double = 'double',\n switch = 'switch',\n}\n\nexport enum AutomationButtonState {\n closed = 'closed',\n open = 'open',\n openEnhanced = 'open-enhanced',\n openMedium = 'open-medium',\n static = 'static',\n}\n\nexport enum AutomationButtonLabelSize {\n small = 'small',\n regular = 'regular',\n enhanced = 'enhanced',\n}\n\nexport enum AutomationBottonLabelStyle {\n regular = 'regular',\n enhanced = 'enhanced',\n active = 'active',\n}\n\nexport interface AutomationButtonStateLabel {\n type: 'state';\n text: string;\n bold: boolean;\n}\n\nexport interface AutomationButtonTagLabel {\n type: 'tag';\n text: string;\n showHash: boolean;\n}\n\nexport interface AutomationButtonDirectonValueLabel {\n type: 'direction';\n value: number;\n nDigits: number;\n unit: 'percent';\n direction: 'up' | 'down' | 'left' | 'right';\n}\n\nexport enum AutomationButtonLabelPosition {\n top = 'top',\n bottom = 'bottom',\n left = 'left',\n right = 'right',\n}\n\nexport enum AutomationButtonDirection {\n forward = 'forward',\n forwardFast = 'forward-fast',\n forwardStopped = 'forward-stopped',\n backward = 'backward',\n backwardFast = 'backward-fast',\n backwardStopped = 'backward-stopped',\n standby = 'standby',\n}\n\nexport type AutomationButtonLabel =\n | AutomationButtonStateLabel\n | AutomationButtonTagLabel\n | AutomationButtonDirectonValueLabel;\n\nfunction renderLabel(label: AutomationButtonLabel): HTMLTemplateResult {\n if (label.type === 'state') {\n return html`<div class=\"state ${label.bold ? 'bold' : ''}\">\n ${label.text}\n </div>`;\n } else if (label.type === 'tag') {\n return html`<div class=\"tag\">\n ${label.showHash ? html`<div class=\"hash\">#</div>` : null} ${label.text}\n </div>`;\n } else {\n const v = label.value.toFixed(0);\n const zeroPadding =\n v.length < label.nDigits ? '0'.repeat(label.nDigits - v.length) : '';\n\n let directionIcon: HTMLTemplateResult;\n if (label.direction === 'up') {\n directionIcon = html`<obi-02-arrow-up\n class=\"direction-icon\"\n ></obi-02-arrow-up>`;\n } else if (label.direction === 'down') {\n directionIcon = html`<obi-02-arrow-down\n class=\"direction-icon\"\n ></obi-02-arrow-down>`;\n } else if (label.direction === 'left') {\n directionIcon = html`<obi-02-arrow-back\n class=\"direction-icon\"\n ></obi-02-arrow-back>`;\n } else if (label.direction === 'right') {\n directionIcon = html`<obi-02-arrow-forward\n class=\"direction-icon\"\n ></obi-02-arrow-forward>`;\n } else {\n throw new Error('Invalid direction');\n }\n return html` <div class=\"direction\">\n ${directionIcon}\n <span class=\"zeros\">${zeroPadding}</span>\n <span class=\"value\">${v}</span>\n <span class=\"unit\">${label.unit === 'percent' ? '%' : label.unit}</span>\n </div>`;\n }\n}\n\n@customElement('obc-automation-button')\nexport class ObcAutomationButton extends LitElement {\n @property({type: String}) size: AutomationButtonSize =\n AutomationButtonSize.regular;\n @property({type: String}) variant: AutomationButtonVariant =\n AutomationButtonVariant.regular;\n @property({type: String}) state: AutomationButtonState =\n AutomationButtonState.open;\n @property({type: Array, attribute: false}) labels: AutomationButtonLabel[] =\n [];\n @property({type: String}) labelPosition: AutomationButtonLabelPosition =\n AutomationButtonLabelPosition.bottom;\n @property({type: String}) labelSize: AutomationButtonLabelSize =\n AutomationButtonLabelSize.regular;\n @property({type: String}) labelStyle: AutomationBottonLabelStyle =\n AutomationBottonLabelStyle.regular;\n @property({type: Boolean}) alert: boolean = false;\n @property({type: Boolean}) progress: boolean = false;\n @property({type: String}) direction: AutomationButtonDirection =\n AutomationButtonDirection.forward;\n\n override render() {\n const labels = this.labels.map(renderLabel);\n const progressSpinner = this.getProgressSpinner();\n const direction = this.getDirectionIcon();\n\n return html`\n <div class=\"outer-wrapper\">\n <button\n class=${classMap({\n wrapper: true,\n ['size-' + this.size]: true,\n ['variant-' + this.variant]: true,\n ['state-' + this.state]: true,\n ['label-' + this.labelPosition]: true,\n ['label-size-' + this.labelSize]: true,\n ['label-style-' + this.labelStyle]: true,\n alert: this.alert,\n progress: this.progress,\n })}\n >\n <div class=\"icon-holder\">\n ${direction}\n ${this.variant !== AutomationButtonVariant.double ||\n this.size !== AutomationButtonSize.small\n ? html`<div class=\"icon-primary\">\n <slot name=\"icon\"></slot>\n </div>`\n : ''}\n ${progressSpinner}\n ${this.alert\n ? html`<svg\n class=\"alert-icon\"\n width=\"18\"\n height=\"31\"\n viewBox=\"0 0 18 31\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M 0 0 L 16 0 C 17.1046 0 18 0.8954 18 2 V 14.7889 C 18 15.5786 17.7662 16.3506 17.3282 17.0077 L 9 30 V 3 L 7 1 H 0 Z\"\n fill=\"var(--alert-alarm-color)\"\n />\n <path\n d=\"M12 4H14V11.5H12V4Z\"\n fill=\"var(--on-alarm-active-color)\"\n />\n <path\n d=\"M12 13.5H14V15.5H12V13.5Z\"\n fill=\"var(--on-alarm-active-color)\"\n />\n </svg> `\n : ''}\n <div class=\"badge-top-right\">\n <slot name=\"badge-top-right\"></slot>\n </div>\n <div class=\"badge-top-left\">\n <slot name=\"badge-top-left\"></slot>\n </div>\n <div class=\"badge-bottom-left\">\n <slot name=\"badge-bottom-left\"></slot>\n </div>\n <div class=\"badge-bottom-right\">\n <slot name=\"badge-bottom-right\"></slot>\n </div>\n </div>\n <div class=\"label\">${labels}</div>\n </button>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n\n private getProgressSpinner(): null | HTMLTemplateResult {\n if (!this.progress) {\n return null;\n }\n\n let spinnerWidth: number;\n if (this.size === AutomationButtonSize.small) {\n spinnerWidth = 40;\n } else if (this.size === AutomationButtonSize.regular) {\n spinnerWidth = 56;\n } else if (this.size === AutomationButtonSize.large) {\n spinnerWidth = 72;\n } else {\n spinnerWidth = 104;\n }\n const progressSpinner = html`<svg\n width=\"${spinnerWidth}\"\n height=\"${spinnerWidth}\"\n viewBox=\"0 0 ${spinnerWidth} ${spinnerWidth}\"\n fill=\"none\"\n class=\"progress-spinner\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M2 ${spinnerWidth / 2} A ${spinnerWidth / 2 - 2} ${spinnerWidth / 2 -\n 2} 0 0 1 ${spinnerWidth / 2} 2\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </svg> `;\n return progressSpinner;\n }\n\n private getDirectionIcon(): null | HTMLTemplateResult {\n if (this.variant !== AutomationButtonVariant.double) {\n return null;\n } else if (this.direction === AutomationButtonDirection.forward) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 5 v 14 L 20 12Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.forwardFast) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M3.5 5 v 14 l 8.5 -7 Z M14.5 5 v 14 l 8.5 -7 Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.forwardStopped) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 5 v 14 L 20 12Z\"\n fill=\"var(--automation-device-tertiary-color)\"\n stroke=\"var(--automation-device-tertiary-inverted-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.backward) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M16 5 v 14 L 4 12Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg>`;\n } else if (this.direction === AutomationButtonDirection.backwardFast) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M20.5 5 v 14 l -8.5 -7 Z M9.5 5 v 14 l -8.5 -7 Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg>`;\n } else if (this.direction === AutomationButtonDirection.backwardStopped) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M16 5 v 14 L 4 12Z\"\n fill=\"var(--automation-device-tertiary-color)\"\n stroke=\"var(--automation-device-tertiary-inverted-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.standby) {\n return html`<obi-08-standby\n class=\"icon-direction\"\n usecsscolor\n ></obi-08-standby>`;\n }\n throw new Error('Invalid direction');\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-button': ObcAutomationButton;\n }\n}\n"],"names":["AutomationButtonSize","AutomationButtonVariant","AutomationButtonState","AutomationButtonLabelSize","AutomationBottonLabelStyle","AutomationButtonLabelPosition","AutomationButtonDirection"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBY,IAAA,yCAAAA,0BAAL;AACLA,wBAAA,OAAQ,IAAA;AACRA,wBAAA,SAAU,IAAA;AACVA,wBAAA,OAAQ,IAAA;AACRA,wBAAA,IAAK,IAAA;AAJKA,SAAAA;AAAA,GAAA,wBAAA,CAAA,CAAA;AAOA,IAAA,4CAAAC,6BAAL;AACLA,2BAAA,SAAU,IAAA;AACVA,2BAAA,QAAS,IAAA;AACTA,2BAAA,QAAS,IAAA;AAHCA,SAAAA;A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,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GATb,oBASe,WAAA,iBAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAXb,oBAWe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAbb,oBAae,WAAA,cAAA,CAAA;AAEC,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,SAAQ;AAAA,GAfd,oBAegB,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,SAAQ;AAAA,GAhBd,oBAgBgB,WAAA,YAAA,CAAA;AACD,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAjBb,oBAiBe,WAAA,aAAA,CAAA;AAjBf,sBAAN,gBAAA;AAAA,EADN,cAAc,uBAAuB;AAAA,GACzB,mBAAA;"}
1
+ {"version":3,"file":"automation-button.js","sources":["../../../src/automation/automation-button/automation-button.ts"],"sourcesContent":["import {HTMLTemplateResult, LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './automation-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport '../../icons/icon-08-forward';\nimport '../../icons/icon-08-forward-fast';\nimport '../../icons/icon-08-forward-stopped';\nimport '../../icons/icon-08-backward';\nimport '../../icons/icon-08-backward-fast';\nimport '../../icons/icon-08-backward-stopped';\nimport '../../icons/icon-08-standby';\nimport '../../icons/icon-02-arrow-up';\nimport '../../icons/icon-02-arrow-down';\nimport '../../icons/icon-02-arrow-back';\nimport '../../icons/icon-02-arrow-forward';\n\nexport enum AutomationButtonSize {\n small = 'small',\n regular = 'regular',\n large = 'large',\n xl = 'xl',\n}\n\nexport enum AutomationButtonVariant {\n regular = 'regular',\n double = 'double',\n switch = 'switch',\n}\n\nexport enum AutomationButtonState {\n closed = 'closed',\n open = 'open',\n openEnhanced = 'open-enhanced',\n openMedium = 'open-medium',\n static = 'static',\n}\n\nexport enum AutomationButtonLabelSize {\n small = 'small',\n regular = 'regular',\n enhanced = 'enhanced',\n}\n\nexport enum AutomationBottonLabelStyle {\n regular = 'regular',\n enhanced = 'enhanced',\n active = 'active',\n}\n\nexport interface AutomationButtonStateLabel {\n type: 'state';\n text: string;\n bold: boolean;\n}\n\nexport interface AutomationButtonTagLabel {\n type: 'tag';\n text: string;\n showHash: boolean;\n}\n\nexport interface AutomationButtonDirectonValueLabel {\n type: 'direction';\n value: number;\n nDigits: number;\n unit: 'percent';\n direction: 'up' | 'down' | 'left' | 'right';\n}\n\nexport enum AutomationButtonLabelPosition {\n top = 'top',\n bottom = 'bottom',\n left = 'left',\n right = 'right',\n}\n\nexport enum AutomationButtonDirection {\n forward = 'forward',\n forwardFast = 'forward-fast',\n forwardStopped = 'forward-stopped',\n backward = 'backward',\n backwardFast = 'backward-fast',\n backwardStopped = 'backward-stopped',\n standby = 'standby',\n}\n\nexport type AutomationButtonLabel =\n | AutomationButtonStateLabel\n | AutomationButtonTagLabel\n | AutomationButtonDirectonValueLabel;\n\nfunction renderLabel(label: AutomationButtonLabel): HTMLTemplateResult {\n if (label.type === 'state') {\n return html`<div class=\"state ${label.bold ? 'bold' : ''}\">\n ${label.text}\n </div>`;\n } else if (label.type === 'tag') {\n return html`<div class=\"tag\">\n ${label.showHash ? html`<div class=\"hash\">#</div>` : null} ${label.text}\n </div>`;\n } else {\n const v = label.value.toFixed(0);\n const zeroPadding =\n v.length < label.nDigits ? '0'.repeat(label.nDigits - v.length) : '';\n\n let directionIcon: HTMLTemplateResult;\n if (label.direction === 'up') {\n directionIcon = html`<obi-02-arrow-up\n class=\"direction-icon\"\n ></obi-02-arrow-up>`;\n } else if (label.direction === 'down') {\n directionIcon = html`<obi-02-arrow-down\n class=\"direction-icon\"\n ></obi-02-arrow-down>`;\n } else if (label.direction === 'left') {\n directionIcon = html`<obi-02-arrow-back\n class=\"direction-icon\"\n ></obi-02-arrow-back>`;\n } else if (label.direction === 'right') {\n directionIcon = html`<obi-02-arrow-forward\n class=\"direction-icon\"\n ></obi-02-arrow-forward>`;\n } else {\n throw new Error('Invalid direction');\n }\n return html` <div class=\"direction\">\n ${directionIcon}\n <span class=\"zeros\">${zeroPadding}</span>\n <span class=\"value\">${v}</span>\n <span class=\"unit\">${label.unit === 'percent' ? '%' : label.unit}</span>\n </div>`;\n }\n}\n\n@customElement('obc-automation-button')\nexport class ObcAutomationButton extends LitElement {\n @property({type: String}) size: AutomationButtonSize =\n AutomationButtonSize.regular;\n @property({type: String}) variant: AutomationButtonVariant =\n AutomationButtonVariant.regular;\n @property({type: String}) state: AutomationButtonState =\n AutomationButtonState.open;\n @property({type: Array, attribute: false}) labels: AutomationButtonLabel[] =\n [];\n @property({type: String}) labelPosition: AutomationButtonLabelPosition =\n AutomationButtonLabelPosition.bottom;\n @property({type: String}) labelSize: AutomationButtonLabelSize =\n AutomationButtonLabelSize.regular;\n @property({type: String}) labelStyle: AutomationBottonLabelStyle =\n AutomationBottonLabelStyle.regular;\n @property({type: Boolean}) alert: boolean = false;\n @property({type: Boolean}) progress: boolean = false;\n @property({type: String}) direction: AutomationButtonDirection =\n AutomationButtonDirection.forward;\n\n override render() {\n const labels = this.labels.map(renderLabel);\n const progressSpinner = this.getProgressSpinner();\n const direction = this.getDirectionIcon();\n\n return html`\n <div class=\"outer-wrapper\">\n <button\n class=${classMap({\n wrapper: true,\n ['size-' + this.size]: true,\n ['variant-' + this.variant]: true,\n ['state-' + this.state]: true,\n ['label-' + this.labelPosition]: true,\n ['label-size-' + this.labelSize]: true,\n ['label-style-' + this.labelStyle]: true,\n alert: this.alert,\n progress: this.progress,\n })}\n >\n <div class=\"icon-holder\">\n ${direction}\n ${this.variant !== AutomationButtonVariant.double ||\n this.size !== AutomationButtonSize.small\n ? html`<div class=\"icon-primary\">\n <slot name=\"icon\"></slot>\n </div>`\n : ''}\n ${progressSpinner}\n ${this.alert\n ? html`<svg\n class=\"alert-icon\"\n width=\"18\"\n height=\"31\"\n viewBox=\"0 0 18 31\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M 0 0 L 16 0 C 17.1046 0 18 0.8954 18 2 V 14.7889 C 18 15.5786 17.7662 16.3506 17.3282 17.0077 L 9 30 V 3 L 7 1 H 0 Z\"\n fill=\"var(--alert-alarm-color)\"\n />\n <path\n d=\"M12 4H14V11.5H12V4Z\"\n fill=\"var(--on-alarm-active-color)\"\n />\n <path\n d=\"M12 13.5H14V15.5H12V13.5Z\"\n fill=\"var(--on-alarm-active-color)\"\n />\n </svg> `\n : ''}\n <div class=\"badge-top-right\">\n <slot name=\"badge-top-right\"></slot>\n </div>\n <div class=\"badge-top-left\">\n <slot name=\"badge-top-left\"></slot>\n </div>\n <div class=\"badge-bottom-left\">\n <slot name=\"badge-bottom-left\"></slot>\n </div>\n <div class=\"badge-bottom-right\">\n <slot name=\"badge-bottom-right\"></slot>\n </div>\n </div>\n <div class=\"label\">${labels}</div>\n </button>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n\n private getProgressSpinner(): null | HTMLTemplateResult {\n if (!this.progress) {\n return null;\n }\n\n let spinnerWidth: number;\n if (this.size === AutomationButtonSize.small) {\n spinnerWidth = 40;\n } else if (this.size === AutomationButtonSize.regular) {\n spinnerWidth = 56;\n } else if (this.size === AutomationButtonSize.large) {\n spinnerWidth = 72;\n } else {\n spinnerWidth = 104;\n }\n const progressSpinner = html`<svg\n width=\"${spinnerWidth}\"\n height=\"${spinnerWidth}\"\n viewBox=\"0 0 ${spinnerWidth} ${spinnerWidth}\"\n fill=\"none\"\n class=\"progress-spinner\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M2 ${spinnerWidth / 2} A ${spinnerWidth / 2 - 2} ${spinnerWidth / 2 -\n 2} 0 0 1 ${spinnerWidth / 2} 2\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </svg> `;\n return progressSpinner;\n }\n\n private getDirectionIcon(): null | HTMLTemplateResult {\n if (this.variant !== AutomationButtonVariant.double) {\n return null;\n } else if (this.direction === AutomationButtonDirection.forward) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 5 v 14 L 20 12Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.forwardFast) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M3.5 5 v 14 l 8.5 -7 Z M14.5 5 v 14 l 8.5 -7 Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.forwardStopped) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 5 v 14 L 20 12Z\"\n fill=\"var(--automation-device-tertiary-color)\"\n stroke=\"var(--automation-device-tertiary-inverted-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.backward) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M16 5 v 14 L 4 12Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg>`;\n } else if (this.direction === AutomationButtonDirection.backwardFast) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M20.5 5 v 14 l -8.5 -7 Z M9.5 5 v 14 l -8.5 -7 Z\"\n stroke=\"var(--automation-device-tertiary-color)\"\n fill=\"var(--automation-device-primary-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg>`;\n } else if (this.direction === AutomationButtonDirection.backwardStopped) {\n return html`<svg\n class=\"icon-direction\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M16 5 v 14 L 4 12Z\"\n fill=\"var(--automation-device-tertiary-color)\"\n stroke=\"var(--automation-device-tertiary-inverted-color)\"\n vector-effect=\"non-scaling-stroke\"\n />\n </svg> `;\n } else if (this.direction === AutomationButtonDirection.standby) {\n return html`<obi-08-standby\n class=\"icon-direction\"\n usecsscolor\n ></obi-08-standby>`;\n }\n throw new Error('Invalid direction');\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-button': ObcAutomationButton;\n }\n}\n"],"names":["AutomationButtonSize","AutomationButtonVariant","AutomationButtonState","AutomationButtonLabelSize","AutomationBottonLabelStyle","AutomationButtonLabelPosition","AutomationButtonDirection"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgBY,IAAA,yCAAAA,0BAAL;AACLA,wBAAA,OAAQ,IAAA;AACRA,wBAAA,SAAU,IAAA;AACVA,wBAAA,OAAQ,IAAA;AACRA,wBAAA,IAAK,IAAA;AAJKA,SAAAA;AAAA,GAAA,wBAAA,CAAA,CAAA;AAOA,IAAA,4CAAAC,6BAAL;AACLA,2BAAA,SAAU,IAAA;AACVA,2BAAA,QAAS,IAAA;AACTA,2BAAA,QAAS,IAA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WAAW,MAAM,CAAA;AAAA,GAP9B,oBAOgC,WAAA,UAAA,CAAA;AAEjB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GATb,oBASe,WAAA,iBAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAXb,oBAWe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAbb,oBAae,WAAA,cAAA,CAAA;AAEC,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAQ,CAAA;AAAA,GAfd,oBAegB,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAQ,CAAA;AAAA,GAhBd,oBAgBgB,WAAA,YAAA,CAAA;AACD,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAjBb,oBAiBe,WAAA,aAAA,CAAA;AAjBf,sBAAN,gBAAA;AAAA,EADN,cAAc,uBAAuB;AAAA,GACzB,mBAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcAutomationInputModal = class extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"automation-input-modal.js","sources":["../../../src/automation/automation-input-modal/automation-input-modal.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement} from 'lit/decorators.js';\nimport compentStyle from './automation-input-modal.css?inline';\n\n@customElement('obc-automation-input-modal')\nexport class ObcAutomationInputModal extends LitElement {\n override render() {\n return html`\n <div class=\"wrapper\">\n <div class=\"header\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"preview\">\n <slot name=\"preview\"></slot>\n </div>\n <slot class=\"actions\" name=\"actions\"></slot>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-input-modal': ObcAutomationInputModal;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,0BAAN,cAAsC,WAAW;AAAA,EAC7C,SAAS;AACT,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWT;AAGF;AAhBa,wBAeK,SAAS,UAAU,YAAY;AAfpC,0BAAN,gBAAA;AAAA,EADN,cAAc,4BAA4B;AAAA,GAC9B,uBAAA;"}
1
+ {"version":3,"file":"automation-input-modal.js","sources":["../../../src/automation/automation-input-modal/automation-input-modal.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement} from 'lit/decorators.js';\nimport compentStyle from './automation-input-modal.css?inline';\n\n@customElement('obc-automation-input-modal')\nexport class ObcAutomationInputModal extends LitElement {\n override render() {\n return html`\n <div class=\"wrapper\">\n <div class=\"header\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"preview\">\n <slot name=\"preview\"></slot>\n </div>\n <slot class=\"actions\" name=\"actions\"></slot>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-input-modal': ObcAutomationInputModal;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKa,IAAA,0BAAN,cAAsC,WAAW;AAAA,EAC7C,SAAS;AACT,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAcX;AAhBa,wBAeK,SAAS,UAAU,YAAY;AAfpC,0BAAN,gBAAA;AAAA,EADN,cAAc,4BAA4B;AAAA,GAC9B,uBAAA;"}
@@ -10,8 +10,7 @@ var __decorateClass = (decorators, target, key, kind) => {
10
10
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
11
11
  if (decorator = decorators[i])
12
12
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13
- if (kind && result)
14
- __defProp(target, key, result);
13
+ if (kind && result) __defProp(target, key, result);
15
14
  return result;
16
15
  };
17
16
  var AutomationReadoutPosition = /* @__PURE__ */ ((AutomationReadoutPosition2) => {
@@ -1 +1 @@
1
- {"version":3,"file":"automation-readout.js","sources":["../../../src/automation/automation-readout/automation-readout.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './automation-readout.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {LineType, lineWidth} from '..';\n\nexport enum AutomationReadoutPosition {\n Left = 'left',\n Right = 'right',\n Top = 'top',\n Bottom = 'bottom',\n}\n\n@customElement('obc-automation-readout')\nexport class ObcAutomationReadout extends LitElement {\n @property({type: Number}) value = 0;\n @property({type: String}) unit = '';\n @property({type: Number}) numberOfDigits = 3;\n @property({type: String}) position: AutomationReadoutPosition =\n AutomationReadoutPosition.Bottom;\n @property({type: String}) lineType: LineType | undefined = undefined;\n\n override render() {\n const offset = this.getLineWidth() / 2;\n\n return html`\n <button\n class=${classMap({\n wrapper: true,\n [`position-${this.position}`]: true,\n })}\n style=\"--offset: ${offset}px;\"\n >\n <div class=\"visible-wrapper\">\n <div\n class=\"value\"\n style=\"min-width: ${this.numberOfDigits.toFixed(0)}ch\"\n >\n ${this.value.toFixed(0)}\n </div>\n <div class=\"unit\">${this.unit}</div>\n </div>\n </button>\n `;\n }\n\n getLineWidth(): number {\n if (this.lineType === undefined) {\n return 0;\n }\n return lineWidth(this.lineType);\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-readout': ObcAutomationReadout;\n }\n}\n"],"names":["AutomationReadoutPosition"],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A,GAJb,qBAIe,WAAA,YAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GANb,qBAMe,WAAA,YAAA,CAAA;AANf,uBAAN,gBAAA;AAAA,EADN,cAAc,wBAAwB;AAAA,GAC1B,oBAAA;"}
1
+ {"version":3,"file":"automation-readout.js","sources":["../../../src/automation/automation-readout/automation-readout.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './automation-readout.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {LineType, lineWidth} from '..';\n\nexport enum AutomationReadoutPosition {\n Left = 'left',\n Right = 'right',\n Top = 'top',\n Bottom = 'bottom',\n}\n\n@customElement('obc-automation-readout')\nexport class ObcAutomationReadout extends LitElement {\n @property({type: Number}) value = 0;\n @property({type: String}) unit = '';\n @property({type: Number}) numberOfDigits = 3;\n @property({type: String}) position: AutomationReadoutPosition =\n AutomationReadoutPosition.Bottom;\n @property({type: String}) lineType: LineType | undefined = undefined;\n\n override render() {\n const offset = this.getLineWidth() / 2;\n\n return html`\n <button\n class=${classMap({\n wrapper: true,\n [`position-${this.position}`]: true,\n })}\n style=\"--offset: ${offset}px;\"\n >\n <div class=\"visible-wrapper\">\n <div\n class=\"value\"\n style=\"min-width: ${this.numberOfDigits.toFixed(0)}ch\"\n >\n ${this.value.toFixed(0)}\n </div>\n <div class=\"unit\">${this.unit}</div>\n </div>\n </button>\n `;\n }\n\n getLineWidth(): number {\n if (this.lineType === undefined) {\n return 0;\n }\n return lineWidth(this.lineType);\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-readout': ObcAutomationReadout;\n }\n}\n"],"names":["AutomationReadoutPosition"],"mappings":";;;;;;;;;;;;;;;AAMY,IAAA,8CAAAA,+BAAL;AACLA,6BAAA,MAAO,IAAA;AACPA,6BAAA,OAAQ,IAAA;AAC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AAO,CAAA;AAAA,GANb,qBAMe,WAAA,YAAA,CAAA;AANf,uBAAN,gBAAA;AAAA,EADN,cAAc,wBAAwB;AAAA,GAC1B,oBAAA;"}
@@ -15,8 +15,7 @@ var __decorateClass = (decorators, target, key, kind) => {
15
15
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
16
16
  if (decorator = decorators[i])
17
17
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
18
- if (kind && result)
19
- __defProp(target, key, result);
18
+ if (kind && result) __defProp(target, key, result);
20
19
  return result;
21
20
  };
22
21
  var TankTrend = /* @__PURE__ */ ((TankTrend2) => {
@@ -1 +1 @@
1
- {"version":3,"file":"automation-tank.js","sources":["../../../src/automation/automation-tank/automation-tank.ts"],"sourcesContent":["import {HTMLTemplateResult, LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './automation-tank.css?inline';\nimport {LineMedium} from '..';\n\nimport '../../icons/icon-02-chevron-double-up';\nimport '../../icons/icon-02-chevron-up';\nimport '../../icons/icon-02-chevron-double-down';\nimport '../../icons/icon-02-chevron-down';\nimport '../../icons/icon-01-off';\nimport {classMap} from 'lit/directives/class-map.js';\n\nexport enum TankTrend {\n fastRising = 'fast-rising',\n rising = 'rising',\n stable = 'stable',\n falling = 'falling',\n fastFalling = 'fast-falling',\n}\n\nexport enum TankVariant {\n vertical = 'vertical',\n compact = 'compact',\n}\n\n/**\n *\n *\n * @ignition-base-height: 173px\n * @ignition-base-width: 168px\n * @ignition-center\n */\n@customElement('obc-automation-tank')\nexport class ObcAutomationTank extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.water;\n @property({type: Number}) value: number = 0;\n @property({type: Number}) max: number = 100;\n @property({type: String}) trend: TankTrend = TankTrend.stable;\n @property({type: String}) variant: TankVariant = TankVariant.vertical;\n @property({type: String}) tag: string = '';\n\n trendIcon(): HTMLTemplateResult {\n if (this.trend === TankTrend.fastRising) {\n return html`<obi-02-chevron-double-up\n class=\"trend-icon\"\n ></obi-02-chevron-double-up>`;\n } else if (this.trend === TankTrend.rising) {\n return html`<obi-02-chevron-up class=\"trend-icon\"></obi-02-chevron-up>`;\n } else if (this.trend === TankTrend.fastFalling) {\n return html`<obi-02-chevron-double-down\n class=\"trend-icon\"\n ></obi-02-chevron-double-down>`;\n } else if (this.trend === TankTrend.falling) {\n return html`<obi-02-chevron-down\n class=\"trend-icon\"\n ></obi-02-chevron-down>`;\n } else {\n return html`<obi-01-off class=\"trend-icon\"></obi-01-off>`;\n }\n }\n\n override render() {\n const percent = (this.value / this.max) * 100;\n\n return html`\n <div class=\"outer\">\n <div class=\"badges\">\n <slot name=\"badges\"></slot>\n </div>\n <button\n class=${classMap({\n wrapper: true,\n [this.variant]: true,\n [this.medium]: true,\n })}\n style=\"--percent: ${percent / 100}\"\n >\n <div class=\"bar-container\">\n <div class=\"bar\"></div>\n </div>\n <div class=\"content\">\n <div class=\"header\">\n ${this.trendIcon()}\n <div class=\"percent\">\n ${percent.toFixed(0)}<span class=\"percent-symbol\">%</span>\n </div>\n </div>\n <div class=\"value\">\n <div class=\"current\">\n <slot name=\"current-value\" class=\"current-value\"\n >${this.value.toFixed(0)}</slot\n ><span class=\"divider\">/</span>\n </div>\n <div class=\"max\">\n <slot class=\"max-value\" name=\"max-value\"\n >${this.max.toFixed(0)}</slot\n >\n <slot class=\"unit\" name=\"unit\">m<sup>3</sup></slot>\n </div>\n </div>\n </div>\n </button>\n <div class=\"tag\"><slot name=\"tag\">${this.tag}</slot></div>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-tank': ObcAutomationTank;\n }\n}\n"],"names":["TankTrend","TankVariant"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAYY,IAAA,8BAAAA,eAAL;AACLA,aAAA,YAAa,IAAA;AACbA,aAAA,QAAS,IAAA;AACTA,aAAA,QAAS,IAAA;AACTA,aAAA,SAAU,IAAA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A;AAAA,4CAOI,KAAK,GAAG;AAAA;AAAA;AAAA,EAGlD;AAGF;AA3Ea,kBA0EK,SAAS,UAAU,YAAY;AAzErB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,kBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAFb,kBAEe,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAHb,kBAGe,WAAA,OAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAJb,kBAIe,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GALb,kBAKe,WAAA,WAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GANb,kBAMe,WAAA,OAAA,CAAA;AANf,oBAAN,gBAAA;AAAA,EADN,cAAc,qBAAqB;AAAA,GACvB,iBAAA;"}
1
+ {"version":3,"file":"automation-tank.js","sources":["../../../src/automation/automation-tank/automation-tank.ts"],"sourcesContent":["import {HTMLTemplateResult, LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './automation-tank.css?inline';\nimport {LineMedium} from '..';\n\nimport '../../icons/icon-02-chevron-double-up';\nimport '../../icons/icon-02-chevron-up';\nimport '../../icons/icon-02-chevron-double-down';\nimport '../../icons/icon-02-chevron-down';\nimport '../../icons/icon-01-off';\nimport {classMap} from 'lit/directives/class-map.js';\n\nexport enum TankTrend {\n fastRising = 'fast-rising',\n rising = 'rising',\n stable = 'stable',\n falling = 'falling',\n fastFalling = 'fast-falling',\n}\n\nexport enum TankVariant {\n vertical = 'vertical',\n compact = 'compact',\n}\n\n/**\n *\n *\n * @ignition-base-height: 173px\n * @ignition-base-width: 168px\n * @ignition-center\n */\n@customElement('obc-automation-tank')\nexport class ObcAutomationTank extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.water;\n @property({type: Number}) value: number = 0;\n @property({type: Number}) max: number = 100;\n @property({type: String}) trend: TankTrend = TankTrend.stable;\n @property({type: String}) variant: TankVariant = TankVariant.vertical;\n @property({type: String}) tag: string = '';\n\n trendIcon(): HTMLTemplateResult {\n if (this.trend === TankTrend.fastRising) {\n return html`<obi-02-chevron-double-up\n class=\"trend-icon\"\n ></obi-02-chevron-double-up>`;\n } else if (this.trend === TankTrend.rising) {\n return html`<obi-02-chevron-up class=\"trend-icon\"></obi-02-chevron-up>`;\n } else if (this.trend === TankTrend.fastFalling) {\n return html`<obi-02-chevron-double-down\n class=\"trend-icon\"\n ></obi-02-chevron-double-down>`;\n } else if (this.trend === TankTrend.falling) {\n return html`<obi-02-chevron-down\n class=\"trend-icon\"\n ></obi-02-chevron-down>`;\n } else {\n return html`<obi-01-off class=\"trend-icon\"></obi-01-off>`;\n }\n }\n\n override render() {\n const percent = (this.value / this.max) * 100;\n\n return html`\n <div class=\"outer\">\n <div class=\"badges\">\n <slot name=\"badges\"></slot>\n </div>\n <button\n class=${classMap({\n wrapper: true,\n [this.variant]: true,\n [this.medium]: true,\n })}\n style=\"--percent: ${percent / 100}\"\n >\n <div class=\"bar-container\">\n <div class=\"bar\"></div>\n </div>\n <div class=\"content\">\n <div class=\"header\">\n ${this.trendIcon()}\n <div class=\"percent\">\n ${percent.toFixed(0)}<span class=\"percent-symbol\">%</span>\n </div>\n </div>\n <div class=\"value\">\n <div class=\"current\">\n <slot name=\"current-value\" class=\"current-value\"\n >${this.value.toFixed(0)}</slot\n ><span class=\"divider\">/</span>\n </div>\n <div class=\"max\">\n <slot class=\"max-value\" name=\"max-value\"\n >${this.max.toFixed(0)}</slot\n >\n <slot class=\"unit\" name=\"unit\">m<sup>3</sup></slot>\n </div>\n </div>\n </div>\n </button>\n <div class=\"tag\"><slot name=\"tag\">${this.tag}</slot></div>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-automation-tank': ObcAutomationTank;\n }\n}\n"],"names":["TankTrend","TankVariant"],"mappings":";;;;;;;;;;;;;;;;;;;;AAYY,IAAA,8BAAAA,eAAL;AACLA,aAAA,YAAa,IAAA;AACbA,aAAA,QAAS,IAAA;AACTA,aAAA,QAAS,IAAA;AACTA,aAAA,SAAU,IAAA;AACVA,aAAA,aAAc,IAAA;AALJA,SAAAA;AAAA,GAAA,aAAA,CAAA,CAAA;AAQA,IAAA,gCAAAC,iBAAL;AACLA,eAAA,UAAW,IAAA;AACXA,eAAA,SAAU,IAAA;AAFAA,SAAAA;AAAA,GAAA,eAAA,CAAA,CAAA;AAaC,IAAA,oBAAN,cAAgC,WAAW;AAAA,EAA3C,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChB,SAAA,QAAA;AACF,SAAA,MAAA;AACK,SAAA,QAAA;AACI,SAAA,UAAA;AACT,SAAA,MAAA;AAAA,EAAA;AAAA,EAExC,YAAgC;AAC1B,QAAA,KAAK,UAAU,eAAsB;AAChC,aAAA;AAAA;AAAA;AAAA,IAAA,WAGE,KAAK,UAAU,UAAkB;AACnC,aAAA;AAAA,IAAA,WACE,KAAK,UAAU,gBAAuB;AACxC,aAAA;AAAA;AAAA;AAAA,IAAA,WAGE,KAAK,UAAU,WAAmB;AACpC,aAAA;AAAA;AAAA;AAAA,IAAA,OAGF;AACE,aAAA;AAAA,IAAA;AAAA,EACT;AAAA,EAGO,SAAS;AAChB,UAAM,UAAW,KAAK,QAAQ,KAAK,MAAO;AAEnC,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAMO,SAAS;AAAA,MACf,SAAS;AAAA,MACT,CAAC,KAAK,OAAO,GAAG;AAAA,MAChB,CAAC,KAAK,MAAM,GAAG;AAAA,IAAA,CAChB,CAAC;AAAA,8BACkB,UAAU,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAO3B,KAAK,UAAW,CAAA;AAAA;AAAA,kBAEd,QAAQ,QAAQ,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAMf,KAAK,MAAM,QAAQ,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKrB,KAAK,IAAI,QAAQ,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4CAOI,KAAK,GAAG;AAAA;AAAA;AAAA,EAAA;AAMpD;AA3Ea,kBA0EK,SAAS,UAAU,YAAY;AAzErB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,kBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,kBAEe,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAHb,kBAGe,WAAA,OAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAJb,kBAIe,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GALb,kBAKe,WAAA,WAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GANb,kBAMe,WAAA,OAAA,CAAA;AANf,oBAAN,gBAAA;AAAA,EADN,cAAc,qBAAqB;AAAA,GACvB,iBAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  var CornerLineDirection = /* @__PURE__ */ ((CornerLineDirection2) => {
@@ -1 +1 @@
1
- {"version":3,"file":"corner-line.js","sources":["../../../src/automation/corner-line/corner-line.ts"],"sourcesContent":["import {LitElement, html, css} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, lineColor, LineType, lineWidth} from '../index';\n\nexport enum CornerLineDirection {\n topRight = 'top-right',\n topLeft = 'top-left',\n bottomRight = 'bottom-right',\n bottomLeft = 'bottom-left',\n}\n\nexport type CornerLineDirectionType =\n | 'top-right'\n | 'top-left'\n | 'bottom-right'\n | 'bottom-left';\n\n@customElement('obc-corner-line')\nexport class ObcCornerLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) direction: CornerLineDirectionType =\n CornerLineDirection.topRight;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n let rotation = 270;\n if (this.direction === CornerLineDirection.topLeft) {\n rotation = 180;\n } else if (this.direction === CornerLineDirection.bottomLeft) {\n rotation = 90;\n } else if (this.direction === CornerLineDirection.bottomRight) {\n rotation = 0;\n }\n\n if (this.lineType === LineType.connector) {\n return html`\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M16.5 11.5L15 11.5C14.9951 11.5 14.9902 11.5 14.9853 11.5C13.0826 11.5079 11.5382 13.0339 11.5007 14.9294C11.5002 14.9529 11.5 14.9764 11.5 15V16.5L12.5 16.5L12.5 15C12.5 13.6355 13.5932 12.5263 14.9516 12.5005C14.9677 12.5002 14.9838 12.5 15 12.5L16.5 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M24 11.5H22.5V12.5L24 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M21 11.5H18V12.5L21 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 18V21H12.5L12.5 18H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 22.5V24H12.5V22.5H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n </svg>\n `;\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType);\n\n const r1 = 6 - 0.5 - width / 2;\n const r2 = 6 + 0.5 + width / 2;\n\n if (this.lineType === LineType.air) {\n const r1 = 2.5;\n const r2 = 11.5;\n return html`\n <svg\n class=\"line\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n height=\"24\"\n width=\"24\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M 17 24 v -4 a 3 3 0 0 1 3 -3 h 4 v -10 h -6 a 11 11 0 0 0 -11 11 v 6 z\"\n stroke=\"none\"\n fill=\"var(${color.inner})\"\n />\n <path\n d=\"M ${12 +\n 0.5 +\n width / 2} 24 v -4 a ${r1} ${r1} 0 0 1 ${r1} -${r1} h 4\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n <path\n d=\"M ${12 -\n 0.5 -\n width / 2} 24 v -6 a ${r2} ${r2} 0 0 1 ${r2} -${r2} h 6\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n </svg>\n `;\n } else {\n return html`\n <svg\n class=\"line\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n height=\"24\"\n width=\"24\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M 12 24 v -6 a 6 6 0 0 1 6 -6 h 6\"\n stroke-width=${width}\n stroke=\"var(${color.inner})\"\n fill=\"none\"\n />\n <path\n d=\"M ${12 +\n 0.5 +\n width / 2} 24 v -6 a ${r1} ${r1} 0 0 1 ${r1} -${r1} h 6\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n <path\n d=\"M ${12 -\n 0.5 -\n width / 2} 24 v -6 a ${r2} ${r2} 0 0 1 ${r2} -${r2} h 6\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n </svg>\n `;\n }\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n left: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-corner-line': ObcCornerLine;\n }\n}\n"],"names":["CornerLineDirection","r1","r2"],"mappings":";;;;;;;;;;;;;;AAIY,IAAA,wCAAAA,yBAAL;AACLA,uBAAA,UAAW,IAAA;AACXA,uBAAA,SAAU,IAAA;AACVA,uBAAA,aAAc,IAAA;AACdA,uBAAA,YAAa,IAAA;AAJHA,SAAAA;AAAA,GAAA,uBAAA,CAAA,CAAA;AAcC,IAAA,gBAAN,cAA4B,WAAW;AAAA,EAAvC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAExD,SAAA,YAAA;AACwB,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AAChB,QAAI,WAAW;AACX,QAAA,KAAK,cAAc,YAA6B;AACvC,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,eAAgC;AACjD,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,gBAAiC;AAClD,iBAAA;AAAA,IACb;AAEI,QAAA,KAAK,aAAa,SAAS,WAAW;AACjC,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAOiB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAwBlC;AAEM,UAAA,QAAQ,UAAU,KAAK,MAAM;AAC7B,UAAA,QAAQ,UAAU,KAAK,QAAQ;AAE/B,UAAA,KAAK,IAAI,MAA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QAAO;AAAA,GAFb,cAEe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAJb,cAIe,WAAA,YAAA,CAAA;AAJf,gBAAN,gBAAA;AAAA,EADN,cAAc,iBAAiB;AAAA,GACnB,aAAA;"}
1
+ {"version":3,"file":"corner-line.js","sources":["../../../src/automation/corner-line/corner-line.ts"],"sourcesContent":["import {LitElement, html, css} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, lineColor, LineType, lineWidth} from '../index';\n\nexport enum CornerLineDirection {\n topRight = 'top-right',\n topLeft = 'top-left',\n bottomRight = 'bottom-right',\n bottomLeft = 'bottom-left',\n}\n\nexport type CornerLineDirectionType =\n | 'top-right'\n | 'top-left'\n | 'bottom-right'\n | 'bottom-left';\n\n@customElement('obc-corner-line')\nexport class ObcCornerLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) direction: CornerLineDirectionType =\n CornerLineDirection.topRight;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n let rotation = 270;\n if (this.direction === CornerLineDirection.topLeft) {\n rotation = 180;\n } else if (this.direction === CornerLineDirection.bottomLeft) {\n rotation = 90;\n } else if (this.direction === CornerLineDirection.bottomRight) {\n rotation = 0;\n }\n\n if (this.lineType === LineType.connector) {\n return html`\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M16.5 11.5L15 11.5C14.9951 11.5 14.9902 11.5 14.9853 11.5C13.0826 11.5079 11.5382 13.0339 11.5007 14.9294C11.5002 14.9529 11.5 14.9764 11.5 15V16.5L12.5 16.5L12.5 15C12.5 13.6355 13.5932 12.5263 14.9516 12.5005C14.9677 12.5002 14.9838 12.5 15 12.5L16.5 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M24 11.5H22.5V12.5L24 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M21 11.5H18V12.5L21 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 18V21H12.5L12.5 18H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 22.5V24H12.5V22.5H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n </svg>\n `;\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType);\n\n const r1 = 6 - 0.5 - width / 2;\n const r2 = 6 + 0.5 + width / 2;\n\n if (this.lineType === LineType.air) {\n const r1 = 2.5;\n const r2 = 11.5;\n return html`\n <svg\n class=\"line\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n height=\"24\"\n width=\"24\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M 17 24 v -4 a 3 3 0 0 1 3 -3 h 4 v -10 h -6 a 11 11 0 0 0 -11 11 v 6 z\"\n stroke=\"none\"\n fill=\"var(${color.inner})\"\n />\n <path\n d=\"M ${12 +\n 0.5 +\n width / 2} 24 v -4 a ${r1} ${r1} 0 0 1 ${r1} -${r1} h 4\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n <path\n d=\"M ${12 -\n 0.5 -\n width / 2} 24 v -6 a ${r2} ${r2} 0 0 1 ${r2} -${r2} h 6\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n </svg>\n `;\n } else {\n return html`\n <svg\n class=\"line\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n height=\"24\"\n width=\"24\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M 12 24 v -6 a 6 6 0 0 1 6 -6 h 6\"\n stroke-width=${width}\n stroke=\"var(${color.inner})\"\n fill=\"none\"\n />\n <path\n d=\"M ${12 +\n 0.5 +\n width / 2} 24 v -6 a ${r1} ${r1} 0 0 1 ${r1} -${r1} h 6\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n <path\n d=\"M ${12 -\n 0.5 -\n width / 2} 24 v -6 a ${r2} ${r2} 0 0 1 ${r2} -${r2} h 6\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n fill=\"none\"\n />\n </svg>\n `;\n }\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n left: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-corner-line': ObcCornerLine;\n }\n}\n"],"names":["CornerLineDirection","r1","r2"],"mappings":";;;;;;;;;;;;;AAIY,IAAA,wCAAAA,yBAAL;AACLA,uBAAA,UAAW,IAAA;AACXA,uBAAA,SAAU,IAAA;AACVA,uBAAA,aAAc,IAAA;AACdA,uBAAA,YAAa,IAAA;AAJHA,SAAAA;AAAA,GAAA,uBAAA,CAAA,CAAA;AAcC,IAAA,gBAAN,cAA4B,WAAW;AAAA,EAAvC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAExD,SAAA,YAAA;AACwB,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AAChB,QAAI,WAAW;AACX,QAAA,KAAK,cAAc,YAA6B;AACvC,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,eAAgC;AACjD,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,gBAAiC;AAClD,iBAAA;AAAA,IAAA;AAGT,QAAA,KAAK,aAAa,SAAS,WAAW;AACjC,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAOiB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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AA;AAAA;AA/HC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,cACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,cAEe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAJb,cAIe,WAAA,YAAA,CAAA;AAJf,gBAAN,gBAAA;AAAA,EADN,cAAc,iBAAiB;AAAA,GACnB,aAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcDirectionLine = class extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"direction-line.js","sources":["../../../src/automation/direction-line/direction-line.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\n@customElement('obc-direction-line')\nexport class ObcDirectionLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n if (this.lineType === LineType.connector) {\n throw new Error('Connector line type not supported for line overlap');\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n mask=\"url(#clip)\"\n d=\"M-1 ${12 - h}H25v${width}H-1z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n <path\n transform=\"translate(8 6)\"\n d=\"M0.5 0L6.5 6L0.5 12H3.31068L9.31068 6L3.31068 0H0.5Z\"\n fill=\"var(${color.outer})\"\n />\n <defs>\n <mask id=\"clip\">\n <rect width=\"100%\" height=\"100%\" fill=\"white\" />\n <path\n transform=\"translate(6.5 6)\"\n d=\"M0.5 0L6.5 6L0.5 12v1H6.31068v-1L12.31068 6L6.31068 0v-1H0.5v1Z\"\n fill=\"black\"\n />\n </mask>\n </defs>\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-direction-line': ObcDirectionLine;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,mBAAN,cAA+B,WAAW;AAAA,EAA1C,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AAClC,YAAA,IAAI,MAAM,oDAAoD;AAAA,IACtE;AAEM,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AACX,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAWQ,KAAK,CAAC,OAAO,KAAK;AAAA,sBACf,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,sBAKb,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAc/B;AAaF;AAzDa,iBA8CK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA7CC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,iBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAFb,iBAEe,WAAA,YAAA,CAAA;AAFf,mBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,gBAAA;"}
1
+ {"version":3,"file":"direction-line.js","sources":["../../../src/automation/direction-line/direction-line.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\n@customElement('obc-direction-line')\nexport class ObcDirectionLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n if (this.lineType === LineType.connector) {\n throw new Error('Connector line type not supported for line overlap');\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n mask=\"url(#clip)\"\n d=\"M-1 ${12 - h}H25v${width}H-1z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n <path\n transform=\"translate(8 6)\"\n d=\"M0.5 0L6.5 6L0.5 12H3.31068L9.31068 6L3.31068 0H0.5Z\"\n fill=\"var(${color.outer})\"\n />\n <defs>\n <mask id=\"clip\">\n <rect width=\"100%\" height=\"100%\" fill=\"white\" />\n <path\n transform=\"translate(6.5 6)\"\n d=\"M0.5 0L6.5 6L0.5 12v1H6.31068v-1L12.31068 6L6.31068 0v-1H0.5v1Z\"\n fill=\"black\"\n />\n </mask>\n </defs>\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-direction-line': ObcDirectionLine;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKa,IAAA,mBAAN,cAA+B,WAAW;AAAA,EAA1C,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AAClC,YAAA,IAAI,MAAM,oDAAoD;AAAA,IAAA;AAGhE,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AACX,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAWQ,KAAK,CAAC,OAAO,KAAK;AAAA,sBACf,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,sBAKb,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AA2BjC;AAzDa,iBA8CK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA7CC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,iBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,iBAEe,WAAA,YAAA,CAAA;AAFf,mBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,gBAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  var EndPointDirection = /* @__PURE__ */ ((EndPointDirection2) => {
@@ -1 +1 @@
1
- {"version":3,"file":"end-point-line.js","sources":["../../../src/automation/end-point-line/end-point-line.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\nexport enum EndPointDirection {\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n left = 'left',\n}\n\n@customElement('obc-end-point-line')\nexport class ObcEndPointLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) direction: EndPointDirection =\n EndPointDirection.top;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n let rotation = 0;\n if (this.direction === EndPointDirection.top) {\n rotation = 180;\n } else if (this.direction === EndPointDirection.right) {\n rotation = 270;\n } else if (this.direction === EndPointDirection.bottom) {\n rotation = 0;\n } else if (this.direction === EndPointDirection.left) {\n rotation = 90;\n }\n\n if (this.lineType === LineType.connector) {\n throw new Error(\n 'Connector line type is not supported for end-point line'\n );\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n let terminalWidth: number;\n if (this.lineType === LineType.electric) {\n terminalWidth = 15;\n } else if (this.lineType === LineType.air) {\n terminalWidth = 22;\n } else if (this.lineType === LineType.fluid) {\n terminalWidth = 16;\n } else {\n throw new Error('Invalid line type');\n }\n terminalWidth -= 1;\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n class=\"${this.direction}\"\n >\n <path\n d=\"M${12 - h} 25 V${12 + h}h-${(terminalWidth - width) /\n 2}v-${width}h${terminalWidth}v${width}h-${(terminalWidth - width) /\n 2}V25Z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n\n &.top,\n &.bottom {\n left: -12px;\n }\n\n &.bottom {\n top: -24px;\n }\n\n &.left,\n &.right {\n top: -12px;\n }\n\n &.right {\n left: -24px;\n }\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-end-point-line': ObcEndPointLine;\n }\n}\n"],"names":["EndPointDirection"],"mappings":";;;;;;;;;;;;;;AAGY,IAAA,sCAAAA,uBAAL;AACLA,qBAAA,KAAM,IAAA;AACNA,qBAAA,OAAQ,IAAA;AACRA,qBAAA,QAAS,IAAA;AACTA,qBAAA,MAAO,IAAA;AAJGA,SAAAA;AAAA,GAAA,qBAAA,CAAA,CAAA;AAQC,IAAA,kBAAN,cAA8B,WAAW;AAAA,EAAzC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAExD,SAAA,YAAA;AACwB,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AAChB,QAAI,WAAW;AACX,QAAA,KAAK,cAAc,OAAuB;AACjC,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,SAAyB;AAC1C,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,UAA0B;AAC3C,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,QAAwB;AACzC,iBAAA;AAAA,IACb;AAEI,QAAA,KAAK,aAAa,SAAS,WAAW;AACxC,YAAM,IAAI;AAAA,QACR;AAAA,MAAA;AAAA,IAEJ;AAEM,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AACd,QAAA;AACA,QAAA,KAAK,aAAa,SAAS,UAAU;AACvB,sBAAA;AAAA,IACP,WAAA,KAAK,aAAa,SAAS,KAAK;AACzB,sBAAA;AAAA,IACP,WAAA,KAAK,aAAa,SAAS,OAAO;AAC3B,sBAAA;AAAA,IAAA,OACX;AACC,YAAA,IAAI,MAAM,mBAAmB;AAAA,IACrC;AACiB,qBAAA;AAEV,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAQiB,QAAQ;AAAA,iBACnB,KAAK,SAAS;AAAA;AAAA;AAAA,gBAGf,KAAK,CAAC,QAAQ,KAAK,CAAC,MAAM,gBAAgB,SAChD,CAAC,KAAK,KAAK,IAAI,aAAa,IAAI,KAAK,MAAM,gBAAgB,SAC3D,CAAC;AAAA,sBACW,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,EAIjC;AA8BF;AAzFa,gBA6DK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA5DC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,gBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAFb,gBAEe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAJb,gBAIe,WAAA,YAAA,CAAA;AAJf,kBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,eAAA;"}
1
+ {"version":3,"file":"end-point-line.js","sources":["../../../src/automation/end-point-line/end-point-line.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\nexport enum EndPointDirection {\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n left = 'left',\n}\n\n@customElement('obc-end-point-line')\nexport class ObcEndPointLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) direction: EndPointDirection =\n EndPointDirection.top;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n let rotation = 0;\n if (this.direction === EndPointDirection.top) {\n rotation = 180;\n } else if (this.direction === EndPointDirection.right) {\n rotation = 270;\n } else if (this.direction === EndPointDirection.bottom) {\n rotation = 0;\n } else if (this.direction === EndPointDirection.left) {\n rotation = 90;\n }\n\n if (this.lineType === LineType.connector) {\n throw new Error(\n 'Connector line type is not supported for end-point line'\n );\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n let terminalWidth: number;\n if (this.lineType === LineType.electric) {\n terminalWidth = 15;\n } else if (this.lineType === LineType.air) {\n terminalWidth = 22;\n } else if (this.lineType === LineType.fluid) {\n terminalWidth = 16;\n } else {\n throw new Error('Invalid line type');\n }\n terminalWidth -= 1;\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n class=\"${this.direction}\"\n >\n <path\n d=\"M${12 - h} 25 V${12 + h}h-${(terminalWidth - width) /\n 2}v-${width}h${terminalWidth}v${width}h-${(terminalWidth - width) /\n 2}V25Z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n\n &.top,\n &.bottom {\n left: -12px;\n }\n\n &.bottom {\n top: -24px;\n }\n\n &.left,\n &.right {\n top: -12px;\n }\n\n &.right {\n left: -24px;\n }\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-end-point-line': ObcEndPointLine;\n }\n}\n"],"names":["EndPointDirection"],"mappings":";;;;;;;;;;;;;AAGY,IAAA,sCAAAA,uBAAL;AACLA,qBAAA,KAAM,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KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,EAAA;AAkCnC;AAzFa,gBA6DK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA5DC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,gBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,gBAEe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAJb,gBAIe,WAAA,YAAA,CAAA;AAJf,kBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,eAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcHorizontalLine = class extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"horizontal-line.js","sources":["../../../src/automation/horizontal-line/horizontal-line.ts"],"sourcesContent":["import {LitElement, html, css} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, lineColor, LineType, lineWidth} from '../index';\n\n@customElement('obc-horizontal-line')\nexport class ObcHorizontalLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n @property({type: Number}) length: number = 1;\n\n override render() {\n if (this.lineType === LineType.connector) {\n const length = this.length * 24;\n return html`<svg\n width=\"${length}\"\n height=\"24\"\n viewBox=\"0 0 ${length} 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <line\n x1=\"0\"\n y1=\"12\"\n x2=\"${length}\"\n y2=\"12\"\n stroke-width=\"1\"\n stroke=\"var(--element-neutral-color)\"\n stroke-dasharray=\"4,2\"\n stroke-dashoffset=\"2\"\n />\n </svg> `;\n }\n\n const color = lineColor(this.medium);\n const length = this.length * 24 + 1;\n const width = lineWidth(this.lineType);\n\n return html`\n <div class=\"wrapper\" style=\"height: 24px; width: ${this.length * 24}px;\">\n <svg\n class=\"line\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"-.5 0 ${length} 24\"\n height=\"24\"\n width=${length}\n >\n <line\n x1=\"-0.5\"\n y1=\"12\"\n x2=\"${length - 0.5}\"\n y2=\"12\"\n stroke-width=${width}\n stroke=\"var(${color.inner})\"\n />\n <line\n x1=\"-0.5\"\n y1=\"${12 - 0.5 - width / 2}\"\n x2=\"${length - 0.5}\"\n y2=\"${12 - 0.5 - width / 2}\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n />\n <line\n x1=\"-0.5\"\n y1=\"${12 + 0.5 + width / 2}\"\n x2=\"${length - 0.5}\"\n y2=\"${12 + 0.5 + width / 2}\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n </div>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n svg {\n position: relative;\n left: -0.5px;\n top: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-horizontal-line': ObcHorizontalLine;\n }\n}\n"],"names":["length"],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,oBAAN,cAAgC,WAAW;AAAA,EAA3C,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AACb,SAAA,SAAA;AAAA,EAAA;AAAA,EAElC,SAAS;AACZ,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AAA,CAAA;AAHf,oBAAN,gBAAA;AAAA,EADN,cAAc,qBAAqB;AAAA,GACvB,iBAAA;"}
1
+ {"version":3,"file":"horizontal-line.js","sources":["../../../src/automation/horizontal-line/horizontal-line.ts"],"sourcesContent":["import {LitElement, html, css} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, lineColor, LineType, lineWidth} from '../index';\n\n@customElement('obc-horizontal-line')\nexport class ObcHorizontalLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n @property({type: Number}) length: number = 1;\n\n override render() {\n if (this.lineType === LineType.connector) {\n const length = this.length * 24;\n return html`<svg\n width=\"${length}\"\n height=\"24\"\n viewBox=\"0 0 ${length} 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <line\n x1=\"0\"\n y1=\"12\"\n x2=\"${length}\"\n y2=\"12\"\n stroke-width=\"1\"\n stroke=\"var(--element-neutral-color)\"\n stroke-dasharray=\"4,2\"\n stroke-dashoffset=\"2\"\n />\n </svg> `;\n }\n\n const color = lineColor(this.medium);\n const length = this.length * 24 + 1;\n const width = lineWidth(this.lineType);\n\n return html`\n <div class=\"wrapper\" style=\"height: 24px; width: ${this.length * 24}px;\">\n <svg\n class=\"line\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"-.5 0 ${length} 24\"\n height=\"24\"\n width=${length}\n >\n <line\n x1=\"-0.5\"\n y1=\"12\"\n x2=\"${length - 0.5}\"\n y2=\"12\"\n stroke-width=${width}\n stroke=\"var(${color.inner})\"\n />\n <line\n x1=\"-0.5\"\n y1=\"${12 - 0.5 - width / 2}\"\n x2=\"${length - 0.5}\"\n y2=\"${12 - 0.5 - width / 2}\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n />\n <line\n x1=\"-0.5\"\n y1=\"${12 + 0.5 + width / 2}\"\n x2=\"${length - 0.5}\"\n y2=\"${12 + 0.5 + width / 2}\"\n stroke-width=\"1\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n </div>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n svg {\n position: relative;\n left: -0.5px;\n top: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-horizontal-line': ObcHorizontalLine;\n }\n}\n"],"names":["length"],"mappings":";;;;;;;;;;;;;AAKa,IAAA,oBAAN,cAAgC,WAAW;AAAA,EAA3C,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AACb,SAAA,SAAA;AAAA,EAAA;AAAA,EAElC,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AAClCA,YAAAA,UAAS,KAAK,SAAS;AACtB,aAAA;AAAA,iBACIA,OAAM;AAAA;AAAA,uBAEAA,OAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAObA,OAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AAUZ,UAAA,QAAQ,UAAU,KAAK,MAAM;AAC7B,UAAA,SAAS,KAAK,SAAS,KAAK;AAC5B,UAAA,QAAQ,UAAU,KAAK,QAAQ;AAE9B,WAAA;AAAA,yDAC8C,KAAK,SAAS,EAAE;AAAA;AAAA;AAAA;AAAA,2BAI9C,MAAM;AAAA;AAAA,kBAEf,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,kBAKN,SAAS,GAAG;AAAA;AAAA,2BAEH,KAAK;AAAA,0BACN,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,kBAInB,KAAK,MAAM,QAAQ,CAAC;AAAA,kBACpB,SAAS,GAAG;AAAA,kBACZ,KAAK,MAAM,QAAQ,CAAC;AAAA;AAAA,0BAEZ,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,kBAInB,KAAK,MAAM,QAAQ,CAAC;AAAA,kBACpB,SAAS,GAAG;AAAA,kBACZ,KAAK,MAAM,QAAQ,CAAC;AAAA;AAAA,0BAEZ,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAkBrC;AAjFa,kBAsEK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AArEC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,kBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,kBAEe,WAAA,YAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAHb,kBAGe,WAAA,UAAA,CAAA;AAHf,oBAAN,gBAAA;AAAA,EADN,cAAc,qBAAqB;AAAA,GACvB,iBAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/automation/index.ts"],"sourcesContent":["export enum LineMedium {\n normal = 'normal',\n empty = 'empty',\n water = 'water',\n air = 'air',\n}\n\nexport enum LineType {\n fluid = 'fluid',\n electric = 'electric',\n air = 'air',\n connector = 'connector',\n}\n\nexport function lineColor(medium: LineMedium): {\n inner: string;\n outer: string;\n} {\n let innerColor = '--automation-pipe-primary-color';\n if (medium === LineMedium.empty) {\n innerColor = '--automation-pipe-primary-inverted-color';\n } else if (medium === LineMedium.water || medium === LineMedium.air) {\n innerColor = '--automation-fresh-water';\n }\n return {inner: innerColor, outer: '--automation-pipe-tertiary-color'};\n}\n\nexport function lineWidth(lineType: LineType): number {\n if (lineType === LineType.electric) {\n return 2;\n } else if (lineType === LineType.connector) {\n return 1;\n } else if (lineType === LineType.fluid) {\n return 4;\n } else if (lineType === LineType.air) {\n return 10;\n }\n throw new Error('Unknown line type');\n}\n"],"names":["LineMedium","LineType"],"mappings":"AAAY,IAAA,+BAAAA,gBAAL;AACLA,cAAA,QAAS,IAAA;AACTA,cAAA,OAAQ,IAAA;AACRA,cAAA,OAAQ,IAAA;AACRA,cAAA,KAAM,IAAA;AAJIA,SAAAA;AAAA,GAAA,cAAA,CAAA,CAAA;AAOA,IAAA,6BAAAC,cAAL;AACLA,YAAA,OAAQ,IAAA;AACRA,YAAA,UAAW,IAAA;AACXA,YAAA,KAAM,IAAA;AACNA,YAAA,WAAY,IAAA;AAJFA,SAAAA;AAAA,GAAA,YAAA,CAAA,CAAA;AAOL,SAAS,UAAU,QAGxB;AACA,MAAI,aAAa;AACjB,MAAI,WAAW,SAAkB;AAClB,iBAAA;AAAA,EACJ,WAAA,WAAW,WAAoB,WAAW,OAAgB;AACtD,iBAAA;AAAA,EACf;AACA,SAAO,EAAC,OAAO,YAAY,OAAO,mCAAkC;AACtE;AAEO,SAAS,UAAU,UAA4B;AACpD,MAAI,aAAa,YAAmB;AAC3B,WAAA;AAAA,EAAA,WACE,aAAa,aAAoB;AACnC,WAAA;AAAA,EAAA,WACE,aAAa,SAAgB;AAC/B,WAAA;AAAA,EAAA,WACE,aAAa,OAAc;AAC7B,WAAA;AAAA,EACT;AACM,QAAA,IAAI,MAAM,mBAAmB;AACrC;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/automation/index.ts"],"sourcesContent":["export enum LineMedium {\n normal = 'normal',\n empty = 'empty',\n water = 'water',\n air = 'air',\n}\n\nexport enum LineType {\n fluid = 'fluid',\n electric = 'electric',\n air = 'air',\n connector = 'connector',\n}\n\nexport function lineColor(medium: LineMedium): {\n inner: string;\n outer: string;\n} {\n let innerColor = '--automation-pipe-primary-color';\n if (medium === LineMedium.empty) {\n innerColor = '--automation-pipe-primary-inverted-color';\n } else if (medium === LineMedium.water || medium === LineMedium.air) {\n innerColor = '--automation-fresh-water';\n }\n return {inner: innerColor, outer: '--automation-pipe-tertiary-color'};\n}\n\nexport function lineWidth(lineType: LineType): number {\n if (lineType === LineType.electric) {\n return 2;\n } else if (lineType === LineType.connector) {\n return 1;\n } else if (lineType === LineType.fluid) {\n return 4;\n } else if (lineType === LineType.air) {\n return 10;\n }\n throw new Error('Unknown line type');\n}\n"],"names":["LineMedium","LineType"],"mappings":"AAAY,IAAA,+BAAAA,gBAAL;AACLA,cAAA,QAAS,IAAA;AACTA,cAAA,OAAQ,IAAA;AACRA,cAAA,OAAQ,IAAA;AACRA,cAAA,KAAM,IAAA;AAJIA,SAAAA;AAAA,GAAA,cAAA,CAAA,CAAA;AAOA,IAAA,6BAAAC,cAAL;AACLA,YAAA,OAAQ,IAAA;AACRA,YAAA,UAAW,IAAA;AACXA,YAAA,KAAM,IAAA;AACNA,YAAA,WAAY,IAAA;AAJFA,SAAAA;AAAA,GAAA,YAAA,CAAA,CAAA;AAOL,SAAS,UAAU,QAGxB;AACA,MAAI,aAAa;AACjB,MAAI,WAAW,SAAkB;AAClB,iBAAA;AAAA,EACJ,WAAA,WAAW,WAAoB,WAAW,OAAgB;AACtD,iBAAA;AAAA,EAAA;AAEf,SAAO,EAAC,OAAO,YAAY,OAAO,mCAAkC;AACtE;AAEO,SAAS,UAAU,UAA4B;AACpD,MAAI,aAAa,YAAmB;AAC3B,WAAA;AAAA,EAAA,WACE,aAAa,aAAoB;AACnC,WAAA;AAAA,EAAA,WACE,aAAa,SAAgB;AAC/B,WAAA;AAAA,EAAA,WACE,aAAa,OAAc;AAC7B,WAAA;AAAA,EAAA;AAEH,QAAA,IAAI,MAAM,mBAAmB;AACrC;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcLineCross = class extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"line-cross.js","sources":["../../../src/automation/line-cross/line-cross.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\n@customElement('obc-line-cross')\nexport class ObcLineCross extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n if (this.lineType === LineType.connector) {\n return html`\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.5 1.83333V0H12.5V1.83333H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 7.33333V3.66667H12.5V7.33333H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 11V9.16667H12.5V11H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M0 12.5H2V11.5H0V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M4 12.5H8V11.5H4V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M10 12.5H14V11.5H10V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M16 12.5H20V11.5H16V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M22 12.5H24V11.5H22V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 13V14.8333H12.5V13H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 16.6667V20.3333H12.5V16.6667H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 22.1667V24H12.5V22.1667H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n </svg>\n `;\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n\n let r: number;\n if (this.lineType === LineType.electric) {\n r = 4.5;\n } else if (this.lineType === LineType.air) {\n r = 10;\n } else if (this.lineType === LineType.fluid) {\n r = 6;\n } else {\n throw new Error('Invalid line type');\n }\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M-1 ${12 - h} H${12 - r} A${r} ${r} 0 0 1 ${12 - h} ${12 -\n r} V${-1}\n h${width} V${12 - r} A${r} ${r} 0 0 1 ${12 + r} ${12 - h} H25\n V${12 + h} H${12 + r} A${r} ${r} 0 0 1 ${12 + h} ${12 + r} V25\n h-${width} V${12 + r} A${r} ${r} 0 0 1 ${12 - r} ${12 + h} H-1 Z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n left: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-line-cross': ObcLineCross;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,eAAN,cAA2B,WAAW;AAAA,EAAtC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AACjC,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAsDT;AAEM,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ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ent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\n@customElement('obc-line-cross')\nexport class ObcLineCross extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n if (this.lineType === LineType.connector) {\n return html`\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.5 1.83333V0H12.5V1.83333H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 7.33333V3.66667H12.5V7.33333H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 11V9.16667H12.5V11H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M0 12.5H2V11.5H0V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M4 12.5H8V11.5H4V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M10 12.5H14V11.5H10V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M16 12.5H20V11.5H16V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M22 12.5H24V11.5H22V12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 13V14.8333H12.5V13H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 16.6667V20.3333H12.5V16.6667H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M11.5 22.1667V24H12.5V22.1667H11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n </svg>\n `;\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n\n let r: number;\n if (this.lineType === LineType.electric) {\n r = 4.5;\n } else if (this.lineType === LineType.air) {\n r = 10;\n } else if (this.lineType === LineType.fluid) {\n r = 6;\n } else {\n throw new Error('Invalid line type');\n }\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M-1 ${12 - h} H${12 - r} A${r} ${r} 0 0 1 ${12 - h} ${12 -\n r} V${-1}\n h${width} V${12 - r} A${r} ${r} 0 0 1 ${12 + r} ${12 - h} H25\n V${12 + h} H${12 + r} A${r} ${r} 0 0 1 ${12 + h} ${12 + r} V25\n h-${width} V${12 + r} A${r} ${r} 0 0 1 ${12 - r} ${12 + h} H-1 Z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n left: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-line-cross': ObcLineCross;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKa,IAAA,eAAN,cAA2B,WAAW;AAAA,EAAtC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AACjC,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AAwDH,UAA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8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcLineOverlap = class extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"line-overlap.js","sources":["../../../src/automation/line-overlap/line-overlap.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\n@customElement('obc-line-overlap')\nexport class ObcLineOverlap extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n if (this.lineType === LineType.connector) {\n throw new Error('Connector line type not supported for line overlap');\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n mask=\"url(#clip)\"\n d=\"M${12 - h} -1V25h${width}V-1z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n\n <path\n d=\"M-1 ${12 - h}H25v${width}H-1z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n\n <defs>\n <mask id=\"clip\">\n <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" fill=\"white\" />\n <rect\n x=\"0\"\n y=\"${12 - 2 - h}\"\n width=\"24\"\n height=\"${width + 4}\"\n fill=\"black\"\n />\n </mask>\n </defs>\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n left: -12px;\n top: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-line-overlap': ObcLineOverlap;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,iBAAN,cAA6B,WAAW;AAAA,EAAxC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AAClC,YAAA,IAAI,MAAM,oDAAoD;AAAA,IACtE;AAEM,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AAEX,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAWK,KAAK,CAAC,UAAU,KAAK;AAAA,sBACf,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,mBAIhB,KAAK,CAAC,OAAO,KAAK;AAAA,sBACf,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAQhB,KAAK,IAAI,CAAC;AAAA;AAAA,wBAEL,QAAQ,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAO/B;AAcF;AA/Da,eAmDK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAlDC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,eACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAFb,eAEe,WAAA,YAAA,CAAA;AAFf,iBAAN,gBAAA;AAAA,EADN,cAAc,kBAAkB;AAAA,GACpB,cAAA;"}
1
+ {"version":3,"file":"line-overlap.js","sources":["../../../src/automation/line-overlap/line-overlap.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\n@customElement('obc-line-overlap')\nexport class ObcLineOverlap extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n if (this.lineType === LineType.connector) {\n throw new Error('Connector line type not supported for line overlap');\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n mask=\"url(#clip)\"\n d=\"M${12 - h} -1V25h${width}V-1z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n\n <path\n d=\"M-1 ${12 - h}H25v${width}H-1z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n\n <defs>\n <mask id=\"clip\">\n <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" fill=\"white\" />\n <rect\n x=\"0\"\n y=\"${12 - 2 - h}\"\n width=\"24\"\n height=\"${width + 4}\"\n fill=\"black\"\n />\n </mask>\n </defs>\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n left: -12px;\n top: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-line-overlap': ObcLineOverlap;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKa,IAAA,iBAAN,cAA6B,WAAW;AAAA,EAAxC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAChC,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AACZ,QAAA,KAAK,aAAa,SAAS,WAAW;AAClC,YAAA,IAAI,MAAM,oDAAoD;AAAA,IAAA;AAGhE,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AAEX,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAWK,KAAK,CAAC,UAAU,KAAK;AAAA,sBACf,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,mBAIhB,KAAK,CAAC,OAAO,KAAK;AAAA,sBACf,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAQhB,KAAK,IAAI,CAAC;AAAA;AAAA,wBAEL,QAAQ,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAqBjC;AA/Da,eAmDK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAlDC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,eACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,eAEe,WAAA,YAAA,CAAA;AAFf,iBAAN,gBAAA;AAAA,EADN,cAAc,kBAAkB;AAAA,GACpB,cAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  var ThreeWayLineDirection = /* @__PURE__ */ ((ThreeWayLineDirection2) => {
@@ -1 +1 @@
1
- {"version":3,"file":"three-way-line.js","sources":["../../../src/automation/three-way-line/three-way-line.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\nexport enum ThreeWayLineDirection {\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n left = 'left',\n}\n\n@customElement('obc-three-way-line')\nexport class ObcThreeWayLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) direction: ThreeWayLineDirection =\n ThreeWayLineDirection.top;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n let rotation = 0;\n if (this.direction === ThreeWayLineDirection.top) {\n rotation = 180;\n } else if (this.direction === ThreeWayLineDirection.right) {\n rotation = 270;\n } else if (this.direction === ThreeWayLineDirection.bottom) {\n rotation = 0;\n } else if (this.direction === ThreeWayLineDirection.left) {\n rotation = 90;\n }\n\n if (this.lineType === LineType.connector) {\n return html`\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M10 11.5H14V12.5L10 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M4 11.5H8V12.5L4 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M0 11.5H2L2 12.5L0 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M22 11.5L24 11.5V12.5L22 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M16 11.5H20V12.5L16 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M12.5 24V22.1667H11.5V24H12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M12.5 20.3333L12.5 16.6667H11.5L11.5 20.3333H12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M12.5 14.8333V13L11.5 13V14.8333H12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n </svg>\n `;\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n const c = 13 - h; // inner corner lenght\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M-1 ${12 + h} v${-width}h26v${width}h-${c}v${c}h-${width}v-${c}Z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n left: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-three-way-line': ObcThreeWayLine;\n }\n}\n"],"names":["ThreeWayLineDirection"],"mappings":";;;;;;;;;;;;;;AAIY,IAAA,0CAAAA,2BAAL;AACLA,yBAAA,KAAM,IAAA;AACNA,yBAAA,OAAQ,IAAA;AACRA,yBAAA,QAAS,IAAA;AACTA,yBAAA,MAAO,IAAA;AAJGA,SAAAA;AAAA,GAAA,yBAAA,CAAA,CAAA;AAQC,IAAA,kBAAN,cAA8B,WAAW;AAAA,EAAzC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAExD,SAAA,YAAA;AACwB,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AAChB,QAAI,WAAW;AACX,QAAA,KAAK,cAAc,OAA2B;AACrC,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,SAA6B;AAC9C,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,UAA8B;AAC/C,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,QAA4B;AAC7C,iBAAA;AAAA,IACb;AAEI,QAAA,KAAK,aAAa,SAAS,WAAW;AACjC,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAOiB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAoClC;AAEM,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AAClB,UAAM,IAAI,KAAK;AAER,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAQiB,QAAQ;AAAA;AAAA;AAAA,mBAGjB,KAAK,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,CAAC,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;AAAA,sBACrD,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,EAIjC;AAcF;AApGa,gBAwFK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAvFC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,gBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAFb,gBAEe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAJb,gBAIe,WAAA,YAAA,CAAA;AAJf,kBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,eAAA;"}
1
+ {"version":3,"file":"three-way-line.js","sources":["../../../src/automation/three-way-line/three-way-line.ts"],"sourcesContent":["import {LitElement, css, html} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport {LineMedium, LineType, lineColor, lineWidth} from '..';\n\nexport enum ThreeWayLineDirection {\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n left = 'left',\n}\n\n@customElement('obc-three-way-line')\nexport class ObcThreeWayLine extends LitElement {\n @property({type: String}) medium: LineMedium = LineMedium.normal;\n @property({type: String}) direction: ThreeWayLineDirection =\n ThreeWayLineDirection.top;\n @property({type: String}) lineType: LineType = LineType.fluid;\n\n override render() {\n let rotation = 0;\n if (this.direction === ThreeWayLineDirection.top) {\n rotation = 180;\n } else if (this.direction === ThreeWayLineDirection.right) {\n rotation = 270;\n } else if (this.direction === ThreeWayLineDirection.bottom) {\n rotation = 0;\n } else if (this.direction === ThreeWayLineDirection.left) {\n rotation = 90;\n }\n\n if (this.lineType === LineType.connector) {\n return html`\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M10 11.5H14V12.5L10 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M4 11.5H8V12.5L4 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M0 11.5H2L2 12.5L0 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M22 11.5L24 11.5V12.5L22 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M16 11.5H20V12.5L16 12.5V11.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M12.5 24V22.1667H11.5V24H12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M12.5 20.3333L12.5 16.6667H11.5L11.5 20.3333H12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n <path\n d=\"M12.5 14.8333V13L11.5 13V14.8333H12.5Z\"\n fill=\"var(--element-neutral-color)\"\n />\n </svg>\n `;\n }\n\n const color = lineColor(this.medium);\n const width = lineWidth(this.lineType) + 1;\n const h = width / 2;\n const c = 13 - h; // inner corner lenght\n\n return html`\n <svg\n class=\"line\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform=\"rotate(${rotation})\"\n >\n <path\n d=\"M-1 ${12 + h} v${-width}h26v${width}h-${c}v${c}h-${width}v-${c}Z\"\n fill=\"var(${color.inner})\"\n stroke=\"var(${color.outer})\"\n />\n </svg>\n `;\n }\n\n static override styles = css`\n :host {\n display: block;\n line-height: 0;\n }\n\n svg {\n position: relative;\n top: -12px;\n left: -12px;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-three-way-line': ObcThreeWayLine;\n }\n}\n"],"names":["ThreeWayLineDirection"],"mappings":";;;;;;;;;;;;;AAIY,IAAA,0CAAAA,2BAAL;AACLA,yBAAA,KAAM,IAAA;AACNA,yBAAA,OAAQ,IAAA;AACRA,yBAAA,QAAS,IAAA;AACTA,yBAAA,MAAO,IAAA;AAJGA,SAAAA;AAAA,GAAA,yBAAA,CAAA,CAAA;AAQC,IAAA,kBAAN,cAA8B,WAAW;AAAA,EAAzC,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,SAAqB,WAAW;AAExD,SAAA,YAAA;AACwB,SAAA,WAAqB,SAAS;AAAA,EAAA;AAAA,EAE/C,SAAS;AAChB,QAAI,WAAW;AACX,QAAA,KAAK,cAAc,OAA2B;AACrC,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,SAA6B;AAC9C,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,UAA8B;AAC/C,iBAAA;AAAA,IAAA,WACF,KAAK,cAAc,QAA4B;AAC7C,iBAAA;AAAA,IAAA;AAGT,QAAA,KAAK,aAAa,SAAS,WAAW;AACjC,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAOiB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AAsC5B,UAAA,QAAQ,UAAU,KAAK,MAAM;AACnC,UAAM,QAAQ,UAAU,KAAK,QAAQ,IAAI;AACzC,UAAM,IAAI,QAAQ;AAClB,UAAM,IAAI,KAAK;AAER,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAQiB,QAAQ;AAAA;AAAA;AAAA,mBAGjB,KAAK,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,CAAC,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;AAAA,sBACrD,MAAM,KAAK;AAAA,wBACT,MAAM,KAAK;AAAA;AAAA;AAAA;AAAA,EAAA;AAkBnC;AApGa,gBAwFK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAvFC,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,gBACe,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,gBAEe,WAAA,aAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAJb,gBAIe,WAAA,YAAA,CAAA;AAJf,kBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,eAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcValveAnalogThreeWayIcon = class extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"valve-analog-three-way-icon.js","sources":["../../../src/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.ts"],"sourcesContent":["import {LitElement, html, svg, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './valve-analog-three-way-icon.css?inline';\n\n@customElement('obc-valve-analog-three-way-icon')\nexport class ObcValveAnalogThreeWayIcon extends LitElement {\n @property({type: Number}) value: number = 0;\n @property({type: Number}) value2: number = 0;\n @property({type: Boolean}) closed: boolean = false;\n @property({type: Boolean}) horisontal: boolean = false;\n\n override render() {\n if (this.closed) {\n return html` <div class=\"wrapper\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M2.72361 6.3618C2.39116 6.19558 2 6.43733 2 6.80902V17.191C2 17.5627 2.39116 17.8044 2.72361 17.6382L9 14.5V9.5L2.72361 6.3618ZM9.5 9H14.5L17.6382 2.72361C17.8044 2.39116 17.5627 2 17.191 2H6.80902C6.43733 2 6.19558 2.39116 6.3618 2.72361L9.5 9ZM13.882 8L16.382 3H7.61803L10.118 8H13.882ZM15 14.5L21.2764 17.6382C21.6088 17.8044 22 17.5627 22 17.191V6.80902C22 6.43733 21.6088 6.19558 21.2764 6.3618L15 9.5V14.5ZM16 10.118V13.882L21 16.382V7.61803L16 10.118ZM8 10.118L3 7.61803V16.382L8 13.882V10.118ZM12 11C11.4477 11 11 11.4477 11 12V20C11 20.5523 11.4477 21 12 21C12.5523 21 13 20.5523 13 20V12C13 11.4477 12.5523 11 12 11Z\"\n fill=\"var(--automation-device-tertiary-inverted-color)\"\n />\n <path\n d=\"M16.382 3L13.882 8H10.118L7.61803 3H16.382Z\"\n fill=\"var(--automation-device-primary-inverted-color\"\n />\n <path\n d=\"M16 13.882V10.118L21 7.61803V16.382L16 13.882Z\"\n fill=\"var(--automation-device-primary-inverted-color\"\n />\n <path\n d=\"M3 7.61803L8 10.118V13.882L3 16.382V7.61803Z\"\n fill=\"var(--automation-device-primary-inverted-color\"\n />\n </svg>\n </div>`;\n }\n\n const valueRotation = 0.5 * this.value - 0.5 * this.value2 + 50;\n\n const handleRotation =\n -(1 - valueRotation / 100) * (this.horisontal ? 180 : 90);\n const handle = svg`\n <g transform=\"rotate(${handleRotation} 12 18.5)\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.49942 20.1303H14.4994C15.3278 20.1303 15.9994 19.4587 15.9994 18.6303C15.9994 17.8019 15.3278 17.1303 14.4994 17.1303H9.49942C8.67099 17.1303 7.99942 17.8019 7.99942 18.6303C7.99942 19.4587 8.67099 20.1303 9.49942 20.1303ZM9.49942 19.1303L14.4994 19.1303C14.7756 19.1303 14.9994 18.9064 14.9994 18.6303C14.9994 18.3542 14.7756 18.1303 14.4994 18.1303L9.49942 18.1303C9.22328 18.1303 8.99942 18.3542 8.99942 18.6303C8.99942 18.9064 9.22328 19.1303 9.49942 19.1303Z\" fill=\"var(--automation-device-tertiary-color)\"/>\n <path d=\"M14.4994 19.1303L9.49942 19.1303C9.22328 19.1303 8.99942 18.9064 8.99942 18.6303C8.99942 18.3542 9.22328 18.1303 9.49942 18.1303L14.4994 18.1303C14.7756 18.1303 14.9994 18.3542 14.9994 18.6303C14.9994 18.9064 14.7756 19.1303 14.4994 19.1303Z\" fill=\"var(--automation-device-primary-color)\"/>\n </g>\n `;\n\n const xmin = 10.5;\n const xmax = 2.5;\n\n const x =\n xmin +\n ((xmax - xmin) * (this.horisontal ? this.value2 : this.value)) / 100;\n\n const ymin = 10.5;\n const ymax = 2.5;\n\n const y =\n ymin +\n ((ymax - ymin) * (this.horisontal ? this.value : this.value2)) / 100;\n\n return html`\n <div class=\"wrapper\">\n <div class=\"wrapper\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.80902 2H17.191C17.5627 2 17.8044 2.39116 17.6382 2.72361L14 10L21.2764 6.3618C21.6088 6.19558 22 6.43733 22 6.80902V17.191C22 17.5627 21.6088 17.8044 21.2764 17.6382L17.6382 15.8191L14 14H10L2.72361 17.6382C2.39116 17.8044 2 17.5627 2 17.191V6.80902C2 6.43733 2.39116 6.19558 2.72361 6.3618L10 10L6.3618 2.72361C6.19558 2.39116 6.43733 2 6.80902 2Z\"\n fill=\"black\"\n />\n <path\n d=\"M13 9.76224L16.3811 3H7.61719L11 9.76562V11H9.76416L3 7.61792V16.3819L9.7637 13H14.2363L21 16.3819V7.61792L14.2358 11H13V9.76224Z\"\n fill=\"var(--automation-device-primary-color)\"\n />\n ${handle}\n <g clip-path=\"url(#clip0)\">\n <rect\n x=${24 - x}\n y=\"0\"\n width=${x - xmax}\n height=\"24\"\n fill=\"var(--automation-device-secondary-color)\"\n />\n <line\n x1=${24 - x}\n y1=\"0\"\n x2=${24 - x}\n y2=\"24\"\n stroke=\"var(--automation-device-tertiary-color)\"\n stroke-width=\"1\"\n />\n </g>\n ${this.horisontal\n ? svg`\n <g clip-path=\"url(#clip2)\">\n <rect y=\"0\" x=${ymax} height=\"24\" width=${y - ymax} fill=\"var(--automation-device-secondary-color)\"/>\n <line y1=\"0\" x1=${y} y2=\"24\" x2=${y} stroke=\"var(--automation-device-tertiary-color)\" stroke-width=\"1\"/>\n </g>\n `\n : svg`\n <g clip-path=\"url(#clip1)\">\n <rect x=\"0\" y=${ymax} width=\"24\" height=${y - ymax} fill=\"var(--automation-device-secondary-color)\"/>\n <line x1=\"0\" y1=${y} x2=\"24\" y2=${y} stroke=\"var(--automation-device-tertiary-color)\" stroke-width=\"1\"/>\n </g>\n `}\n <defs>\n <clipPath id=\"clip0\">\n <path\n d=\"M 13 11 L 13 13 H 14.2363 L 21 16.3819 V 7.6179 L 14.2358 11 Z\"\n />\n </clipPath>\n <clipPath id=\"clip1\">\n <path\n d=\"M 13 9.7622 L 16.3811 3 H 7.6172 L 11 9.7656 L 11 13 H 13 V 9.7622 Z\"\n />\n </clipPath>\n <clipPath id=\"clip2\">\n <path\n d=\"M 11 11 V 11 H 9.7642 L 3 7.6179 V 16.3819 L 9.7637 13 H 14.2363 L 14.2358 11 Z\"\n />\n </clipPath>\n </defs>\n </svg>\n </div>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-valve-analog-three-way-icon': ObcValveAnalogThreeWayIcon;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,6BAAN,cAAyC,WAAW;AAAA,EAApD,cAAA;AAAA,UAAA,GAAA,SAAA;AACqC,SAAA,QAAA;AACC,SAAA,SAAA;AACE,SAAA,SAAA;AACI,SAAA,aAAA;AAAA,EAAA;AAAA,EAExC,SAAS;AAChB,QAAI,KAAK,QAAQ;AACR,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IA4BT;AAEA,UAAM,gBAAgB,MAAM,KAAK,QAAQ,MAAM,KAAK,SAAS;AAE7D,UAAM,iBACJ,EAAE,IAAI,gBAAgB,QAAQ,KAAK,aAAa,MAAM;AACxD,UAAM,SAAS;AAAA,6BACU,cAAc;AAAA;AAAA;AAAA;AAAA;AAMvC,UAAM,OAAO;AACb,UAAM,OAAO;AAEP,UAAA,IACJ,QACE,OAAO,SAAS,KAAK,aAAa,KAAK,SAAS,KAAK,SAAU;AAEnE,UAAM,OAAO;AACb,UAAM,OAAO;AAEP,UAAA,IACJ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/automation/valve-analog-three-way-icon/valve-analog-three-way-icon.ts"],"sourcesContent":["import {LitElement, html, svg, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './valve-analog-three-way-icon.css?inline';\n\n@customElement('obc-valve-analog-three-way-icon')\nexport class ObcValveAnalogThreeWayIcon extends LitElement {\n @property({type: Number}) value: number = 0;\n @property({type: Number}) value2: number = 0;\n @property({type: Boolean}) closed: boolean = false;\n @property({type: Boolean}) horisontal: boolean = false;\n\n override render() {\n if (this.closed) {\n return html` <div class=\"wrapper\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M2.72361 6.3618C2.39116 6.19558 2 6.43733 2 6.80902V17.191C2 17.5627 2.39116 17.8044 2.72361 17.6382L9 14.5V9.5L2.72361 6.3618ZM9.5 9H14.5L17.6382 2.72361C17.8044 2.39116 17.5627 2 17.191 2H6.80902C6.43733 2 6.19558 2.39116 6.3618 2.72361L9.5 9ZM13.882 8L16.382 3H7.61803L10.118 8H13.882ZM15 14.5L21.2764 17.6382C21.6088 17.8044 22 17.5627 22 17.191V6.80902C22 6.43733 21.6088 6.19558 21.2764 6.3618L15 9.5V14.5ZM16 10.118V13.882L21 16.382V7.61803L16 10.118ZM8 10.118L3 7.61803V16.382L8 13.882V10.118ZM12 11C11.4477 11 11 11.4477 11 12V20C11 20.5523 11.4477 21 12 21C12.5523 21 13 20.5523 13 20V12C13 11.4477 12.5523 11 12 11Z\"\n fill=\"var(--automation-device-tertiary-inverted-color)\"\n />\n <path\n d=\"M16.382 3L13.882 8H10.118L7.61803 3H16.382Z\"\n fill=\"var(--automation-device-primary-inverted-color\"\n />\n <path\n d=\"M16 13.882V10.118L21 7.61803V16.382L16 13.882Z\"\n fill=\"var(--automation-device-primary-inverted-color\"\n />\n <path\n d=\"M3 7.61803L8 10.118V13.882L3 16.382V7.61803Z\"\n fill=\"var(--automation-device-primary-inverted-color\"\n />\n </svg>\n </div>`;\n }\n\n const valueRotation = 0.5 * this.value - 0.5 * this.value2 + 50;\n\n const handleRotation =\n -(1 - valueRotation / 100) * (this.horisontal ? 180 : 90);\n const handle = svg`\n <g transform=\"rotate(${handleRotation} 12 18.5)\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.49942 20.1303H14.4994C15.3278 20.1303 15.9994 19.4587 15.9994 18.6303C15.9994 17.8019 15.3278 17.1303 14.4994 17.1303H9.49942C8.67099 17.1303 7.99942 17.8019 7.99942 18.6303C7.99942 19.4587 8.67099 20.1303 9.49942 20.1303ZM9.49942 19.1303L14.4994 19.1303C14.7756 19.1303 14.9994 18.9064 14.9994 18.6303C14.9994 18.3542 14.7756 18.1303 14.4994 18.1303L9.49942 18.1303C9.22328 18.1303 8.99942 18.3542 8.99942 18.6303C8.99942 18.9064 9.22328 19.1303 9.49942 19.1303Z\" fill=\"var(--automation-device-tertiary-color)\"/>\n <path d=\"M14.4994 19.1303L9.49942 19.1303C9.22328 19.1303 8.99942 18.9064 8.99942 18.6303C8.99942 18.3542 9.22328 18.1303 9.49942 18.1303L14.4994 18.1303C14.7756 18.1303 14.9994 18.3542 14.9994 18.6303C14.9994 18.9064 14.7756 19.1303 14.4994 19.1303Z\" fill=\"var(--automation-device-primary-color)\"/>\n </g>\n `;\n\n const xmin = 10.5;\n const xmax = 2.5;\n\n const x =\n xmin +\n ((xmax - xmin) * (this.horisontal ? this.value2 : this.value)) / 100;\n\n const ymin = 10.5;\n const ymax = 2.5;\n\n const y =\n ymin +\n ((ymax - ymin) * (this.horisontal ? this.value : this.value2)) / 100;\n\n return html`\n <div class=\"wrapper\">\n <div class=\"wrapper\">\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.80902 2H17.191C17.5627 2 17.8044 2.39116 17.6382 2.72361L14 10L21.2764 6.3618C21.6088 6.19558 22 6.43733 22 6.80902V17.191C22 17.5627 21.6088 17.8044 21.2764 17.6382L17.6382 15.8191L14 14H10L2.72361 17.6382C2.39116 17.8044 2 17.5627 2 17.191V6.80902C2 6.43733 2.39116 6.19558 2.72361 6.3618L10 10L6.3618 2.72361C6.19558 2.39116 6.43733 2 6.80902 2Z\"\n fill=\"black\"\n />\n <path\n d=\"M13 9.76224L16.3811 3H7.61719L11 9.76562V11H9.76416L3 7.61792V16.3819L9.7637 13H14.2363L21 16.3819V7.61792L14.2358 11H13V9.76224Z\"\n fill=\"var(--automation-device-primary-color)\"\n />\n ${handle}\n <g clip-path=\"url(#clip0)\">\n <rect\n x=${24 - x}\n y=\"0\"\n width=${x - xmax}\n height=\"24\"\n fill=\"var(--automation-device-secondary-color)\"\n />\n <line\n x1=${24 - x}\n y1=\"0\"\n x2=${24 - x}\n y2=\"24\"\n stroke=\"var(--automation-device-tertiary-color)\"\n stroke-width=\"1\"\n />\n </g>\n ${this.horisontal\n ? svg`\n <g clip-path=\"url(#clip2)\">\n <rect y=\"0\" x=${ymax} height=\"24\" width=${y - ymax} fill=\"var(--automation-device-secondary-color)\"/>\n <line y1=\"0\" x1=${y} y2=\"24\" x2=${y} stroke=\"var(--automation-device-tertiary-color)\" stroke-width=\"1\"/>\n </g>\n `\n : svg`\n <g clip-path=\"url(#clip1)\">\n <rect x=\"0\" y=${ymax} width=\"24\" height=${y - ymax} fill=\"var(--automation-device-secondary-color)\"/>\n <line x1=\"0\" y1=${y} x2=\"24\" y2=${y} stroke=\"var(--automation-device-tertiary-color)\" stroke-width=\"1\"/>\n </g>\n `}\n <defs>\n <clipPath id=\"clip0\">\n <path\n d=\"M 13 11 L 13 13 H 14.2363 L 21 16.3819 V 7.6179 L 14.2358 11 Z\"\n />\n </clipPath>\n <clipPath id=\"clip1\">\n <path\n d=\"M 13 9.7622 L 16.3811 3 H 7.6172 L 11 9.7656 L 11 13 H 13 V 9.7622 Z\"\n />\n </clipPath>\n <clipPath id=\"clip2\">\n <path\n d=\"M 11 11 V 11 H 9.7642 L 3 7.6179 V 16.3819 L 9.7637 13 H 14.2363 L 14.2358 11 Z\"\n />\n </clipPath>\n </defs>\n </svg>\n </div>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-valve-analog-three-way-icon': ObcValveAnalogThreeWayIcon;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKa,IAAA,6BAAN,cAAyC,WAAW;AAAA,EAApD,cAAA;AAAA,UAAA,GAAA,SAAA;AACqC,SAAA,QAAA;AACC,SAAA,SAAA;AACE,SAAA,SAAA;AACI,SAAA,aAAA;AAAA,EAAA;AAAA,EAExC,SAAS;AAChB,QAAI,KAAK,QAAQ;AACR,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AA8BT,UAAM,gBAAgB,MAAM,KAAK,QAAQ,MAAM,KAAK,SAAS;AAE7D,UAAM,iBACJ,EAAE,IAAI,gBAAgB,QAAQ,KAAK,aAAa,MAAM;AACxD,UAAM,SAAS;AAAA,6BACU,cAAc;AAAA;AAAA;AAAA;AAAA;AAMvC,UAAM,OAAO;AACb,UAAM,OAAO;AAEP,UAAA,IACJ,QACE,OAAO,SAAS,KAAK,aAAa,KAAK,SAAS,KAAK,SAAU;AAEnE,UAAM,OAAO;AACb,UAAM,OAAO;AAEP,UAAA,IACJ,QACE,OAAO,SAAS,KAAK,aAAa,KAAK,QAAQ,KAAK,UAAW;AAE5D,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAkBG,MAAM;AAAA;AAAA;AAAA,oBAGA,KAAK,CAAC;AAAA;AAAA,wBAEF,IAAI,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKX,KAAK,CAAC;AAAA;AAAA,qBAEN,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAMb,KAAK,aACH;AAAA;AAAA,0BAEU,IAAI,sBAAsB,IAAI,IAAI;AAAA,4BAChC,CAAC,eAAe,CAAC;AAAA;AAAA,cAG7B;AAAA;AAAA,0BAEU,IAAI,sBAAsB,IAAI,IAAI;AAAA,4BAChC,CAAC,eAAe,CAAC;AAAA;AAAA,SAEpC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAyBT;AAxIa,2BAuIK,SAAS,UAAU,YAAY;AAtIrB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GADb,2BACe,WAAA,SAAA,CAAA;AACA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAO,CAAA;AAAA,GAFb,2BAEe,WAAA,UAAA,CAAA;AACC,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAQ,CAAA;AAAA,GAHd,2BAGgB,WAAA,UAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAQ,CAAA;AAAA,GAJd,2BAIgB,WAAA,cAAA,CAAA;AAJhB,6BAAN,gBAAA;AAAA,EADN,cAAc,iCAAiC;AAAA,GACnC,0BAAA;"}
@@ -8,8 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
8
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
9
  if (decorator = decorators[i])
10
10
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
12
- __defProp(target, key, result);
11
+ if (kind && result) __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  let ObcValveAnalogTwoWayIcon = class extends LitElement {