@emuanalytics/flow-rdf-ui 4.0.5 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/dist/components/alert/alert.component.mjs +202 -0
  2. package/dist/components/alert/alert.mjs +5 -0
  3. package/dist/components/alert/alert.styles.mjs +107 -0
  4. package/dist/components/animation/animation.component.mjs +207 -0
  5. package/dist/components/animation/animation.mjs +5 -0
  6. package/dist/components/animation/animation.styles.mjs +12 -0
  7. package/dist/components/animation/animations.mjs +11 -0
  8. package/dist/components/avatar/avatar.component.mjs +95 -0
  9. package/dist/components/avatar/avatar.mjs +5 -0
  10. package/dist/components/avatar/avatar.styles.mjs +70 -0
  11. package/dist/components/badge/badge.component.mjs +62 -0
  12. package/dist/components/badge/badge.mjs +5 -0
  13. package/dist/components/badge/badge.styles.mjs +105 -0
  14. package/dist/components/breadcrumb/breadcrumb.component.mjs +82 -0
  15. package/dist/components/breadcrumb/breadcrumb.mjs +5 -0
  16. package/dist/components/breadcrumb/breadcrumb.styles.mjs +14 -0
  17. package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +73 -0
  18. package/dist/components/breadcrumb-item/breadcrumb-item.mjs +5 -0
  19. package/dist/components/breadcrumb-item/breadcrumb-item.styles.mjs +90 -0
  20. package/dist/components/button/button.component.mjs +310 -0
  21. package/dist/components/button/button.mjs +5 -0
  22. package/dist/components/button/button.styles.mjs +690 -0
  23. package/dist/components/button-group/button-group.component.mjs +108 -0
  24. package/dist/components/button-group/button-group.mjs +5 -0
  25. package/dist/components/button-group/button-group.styles.mjs +21 -0
  26. package/dist/components/calendar/calendar.component.mjs +320 -0
  27. package/dist/components/calendar/calendar.mjs +5 -0
  28. package/dist/components/calendar/calendar.styles.mjs +145 -0
  29. package/dist/components/card/card.component.mjs +33 -0
  30. package/dist/components/card/card.mjs +5 -0
  31. package/dist/components/card/card.styles.mjs +73 -0
  32. package/dist/components/carousel/autoplay-controller.mjs +56 -0
  33. package/dist/components/carousel/carousel.component.mjs +406 -0
  34. package/dist/components/carousel/carousel.mjs +5 -0
  35. package/dist/components/carousel/carousel.styles.mjs +162 -0
  36. package/dist/components/carousel/scroll-controller.mjs +148 -0
  37. package/dist/components/carousel-item/carousel-item.component.mjs +22 -0
  38. package/dist/components/carousel-item/carousel-item.mjs +5 -0
  39. package/dist/components/carousel-item/carousel-item.styles.mjs +28 -0
  40. package/dist/components/chart/chart.component.mjs +82 -0
  41. package/dist/components/chart/chart.mjs +5 -0
  42. package/dist/components/chart/chart.styles.mjs +80 -0
  43. package/dist/components/chart/chartjs-plugins/interaction.interpolate.mjs +80 -0
  44. package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +135 -0
  45. package/dist/components/chart/chartjs-plugins/positioner.cursor.mjs +14 -0
  46. package/dist/components/chart/chartjs-plugins/symlog.scale.mjs +42 -0
  47. package/dist/components/chart/chartjs-support.mjs +59 -0
  48. package/dist/components/checkbox/checkbox.component.mjs +246 -0
  49. package/dist/components/checkbox/checkbox.mjs +5 -0
  50. package/dist/components/checkbox/checkbox.styles.mjs +177 -0
  51. package/dist/components/color-mapper/color-mapper.component.mjs +260 -0
  52. package/dist/components/color-mapper/color-mapper.mjs +5 -0
  53. package/dist/components/color-mapper/color-mapper.styles.mjs +92 -0
  54. package/dist/components/color-mapper/helpers.mjs +55 -0
  55. package/dist/components/color-picker/color-picker.component.mjs +919 -0
  56. package/dist/components/color-picker/color-picker.mjs +5 -0
  57. package/dist/components/color-picker/color-picker.styles.mjs +337 -0
  58. package/dist/components/color-stop/color-stop.component.mjs +289 -0
  59. package/dist/components/color-stop/color-stop.mjs +5 -0
  60. package/dist/components/color-stop/color-stop.styles.mjs +103 -0
  61. package/dist/components/date-time-picker/date-time-picker.component.mjs +532 -0
  62. package/dist/components/date-time-picker/date-time-picker.mjs +5 -0
  63. package/dist/components/date-time-picker/date-time-picker.styles.mjs +260 -0
  64. package/dist/components/details/details.component.mjs +194 -0
  65. package/dist/components/details/details.mjs +5 -0
  66. package/dist/components/details/details.styles.mjs +85 -0
  67. package/dist/components/dialog/dialog.component.mjs +256 -0
  68. package/dist/components/dialog/dialog.mjs +5 -0
  69. package/dist/components/dialog/dialog.styles.mjs +125 -0
  70. package/dist/components/divider/divider.component.mjs +45 -0
  71. package/dist/components/divider/divider.mjs +5 -0
  72. package/dist/components/divider/divider.styles.mjs +34 -0
  73. package/dist/components/drawer/drawer.component.mjs +354 -0
  74. package/dist/components/drawer/drawer.mjs +5 -0
  75. package/dist/components/drawer/drawer.styles.mjs +161 -0
  76. package/dist/components/dropdown/dropdown.component.mjs +381 -0
  77. package/dist/components/dropdown/dropdown.mjs +5 -0
  78. package/dist/components/dropdown/dropdown.styles.mjs +56 -0
  79. package/dist/components/gauge/gauge.component.mjs +151 -0
  80. package/dist/components/gauge/gauge.mjs +5 -0
  81. package/dist/components/gauge/gauge.styles.mjs +127 -0
  82. package/dist/components/icon/icon.component.mjs +146 -0
  83. package/dist/components/icon/icon.mjs +5 -0
  84. package/dist/components/icon/icon.styles.mjs +35 -0
  85. package/dist/components/icon/library.default.mjs +38 -0
  86. package/dist/components/icon/library.mjs +38 -0
  87. package/dist/components/icon/library.system.mjs +158 -0
  88. package/dist/components/icon-button/icon-button.component.mjs +239 -0
  89. package/dist/components/icon-button/icon-button.mjs +5 -0
  90. package/dist/components/icon-button/icon-button.styles.mjs +81 -0
  91. package/dist/components/input/input.component.mjs +574 -0
  92. package/dist/components/input/input.mjs +5 -0
  93. package/dist/components/input/input.styles.mjs +310 -0
  94. package/dist/components/map/map.component.mjs +196 -0
  95. package/dist/components/map/map.mjs +5 -0
  96. package/dist/components/map/map.styles.mjs +90 -0
  97. package/dist/components/menu/menu.component.mjs +125 -0
  98. package/dist/components/menu/menu.mjs +5 -0
  99. package/dist/components/menu/menu.styles.mjs +23 -0
  100. package/dist/components/menu-item/menu-item.component.mjs +143 -0
  101. package/dist/components/menu-item/menu-item.mjs +5 -0
  102. package/dist/components/menu-item/menu-item.styles.mjs +103 -0
  103. package/dist/components/menu-label/menu-label.component.mjs +14 -0
  104. package/dist/components/menu-label/menu-label.mjs +5 -0
  105. package/dist/components/menu-label/menu-label.styles.mjs +24 -0
  106. package/dist/components/mutation-observer/mutation-observer.component.mjs +115 -0
  107. package/dist/components/mutation-observer/mutation-observer.mjs +5 -0
  108. package/dist/components/mutation-observer/mutation-observer.styles.mjs +12 -0
  109. package/dist/components/option/option.component.mjs +152 -0
  110. package/dist/components/option/option.mjs +5 -0
  111. package/dist/components/option/option.styles.mjs +102 -0
  112. package/dist/components/panel/panel.component.mjs +90 -0
  113. package/dist/components/panel/panel.mjs +5 -0
  114. package/dist/components/panel/panel.styles.mjs +51 -0
  115. package/dist/components/panel-header/panel-header.component.mjs +131 -0
  116. package/dist/components/panel-header/panel-header.mjs +5 -0
  117. package/dist/components/panel-header/panel-header.styles.mjs +67 -0
  118. package/dist/components/popup/popup.component.mjs +420 -0
  119. package/dist/components/popup/popup.mjs +5 -0
  120. package/dist/components/popup/popup.styles.mjs +63 -0
  121. package/dist/components/progress-bar/progress-bar.component.mjs +70 -0
  122. package/dist/components/progress-bar/progress-bar.mjs +5 -0
  123. package/dist/components/progress-bar/progress-bar.styles.mjs +87 -0
  124. package/dist/components/progress-ring/progress-ring.component.mjs +71 -0
  125. package/dist/components/progress-ring/progress-ring.mjs +5 -0
  126. package/dist/components/progress-ring/progress-ring.styles.mjs +72 -0
  127. package/dist/components/query-builder/converters/flow-query-converters.mjs +111 -0
  128. package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +99 -0
  129. package/dist/components/query-builder/default-value-templates.mjs +151 -0
  130. package/dist/components/query-builder/helpers.mjs +42 -0
  131. package/dist/components/query-builder/query-builder.component.mjs +466 -0
  132. package/dist/components/query-builder/query-builder.mjs +5 -0
  133. package/dist/components/query-builder/query-builder.styles.mjs +261 -0
  134. package/dist/components/radio/radio.component.mjs +144 -0
  135. package/dist/components/radio/radio.mjs +5 -0
  136. package/dist/components/radio/radio.styles.mjs +164 -0
  137. package/dist/components/radio-group/radio-group.component.mjs +310 -0
  138. package/dist/components/radio-group/radio-group.mjs +5 -0
  139. package/dist/components/radio-group/radio-group.styles.mjs +49 -0
  140. package/dist/components/range/range.component.mjs +324 -0
  141. package/dist/components/range/range.mjs +5 -0
  142. package/dist/components/range/range.styles.mjs +233 -0
  143. package/dist/components/resize-observer/resize-observer.component.mjs +80 -0
  144. package/dist/components/resize-observer/resize-observer.mjs +5 -0
  145. package/dist/components/resize-observer/resize-observer.styles.mjs +12 -0
  146. package/dist/components/scroll-view/overlay-scrollbar.styles.mjs +686 -0
  147. package/dist/components/scroll-view/scroll-view.component.mjs +128 -0
  148. package/dist/components/scroll-view/scroll-view.mjs +5 -0
  149. package/dist/components/scroll-view/scroll-view.styles.mjs +57 -0
  150. package/dist/components/select/select.component.mjs +785 -0
  151. package/dist/components/select/select.mjs +5 -0
  152. package/dist/components/select/select.styles.mjs +339 -0
  153. package/dist/components/spinner/spinner.component.mjs +22 -0
  154. package/dist/components/spinner/spinner.mjs +5 -0
  155. package/dist/components/spinner/spinner.styles.mjs +64 -0
  156. package/dist/components/split-view/split-view.component.mjs +500 -0
  157. package/dist/components/split-view/split-view.mjs +5 -0
  158. package/dist/components/split-view/split-view.styles.mjs +33 -0
  159. package/dist/components/split-view-divider/split-view-divider.component.mjs +98 -0
  160. package/dist/components/split-view-divider/split-view-divider.mjs +5 -0
  161. package/dist/components/split-view-divider/split-view-divider.styles.mjs +96 -0
  162. package/dist/components/split-view-pane/split-view-pane.component.mjs +126 -0
  163. package/dist/components/split-view-pane/split-view-pane.mjs +5 -0
  164. package/dist/components/split-view-pane/split-view-pane.styles.mjs +49 -0
  165. package/dist/components/split-view-toggle-button/split-view-toggle-button.component.mjs +76 -0
  166. package/dist/components/split-view-toggle-button/split-view-toggle-button.mjs +5 -0
  167. package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +40 -0
  168. package/dist/components/stepper/stepper.component.mjs +139 -0
  169. package/dist/components/stepper/stepper.mjs +5 -0
  170. package/dist/components/stepper/stepper.styles.mjs +103 -0
  171. package/dist/components/stepper-panel/stepper-panel.component.mjs +76 -0
  172. package/dist/components/stepper-panel/stepper-panel.mjs +5 -0
  173. package/dist/components/stepper-panel/stepper-panel.styles.mjs +22 -0
  174. package/dist/components/switch/switch.component.mjs +211 -0
  175. package/dist/components/switch/switch.mjs +5 -0
  176. package/dist/components/switch/switch.styles.mjs +166 -0
  177. package/dist/components/tab/tab.component.mjs +159 -0
  178. package/dist/components/tab/tab.mjs +5 -0
  179. package/dist/components/tab/tab.styles.mjs +107 -0
  180. package/dist/components/tab-group/tab-group.component.mjs +402 -0
  181. package/dist/components/tab-group/tab-group.mjs +5 -0
  182. package/dist/components/tab-group/tab-group.styles.mjs +386 -0
  183. package/dist/components/tab-panel/tab-panel.component.mjs +72 -0
  184. package/dist/components/tab-panel/tab-panel.mjs +5 -0
  185. package/dist/components/tab-panel/tab-panel.styles.mjs +55 -0
  186. package/dist/components/tag/tag.component.mjs +94 -0
  187. package/dist/components/tag/tag.mjs +5 -0
  188. package/dist/components/tag/tag.styles.mjs +130 -0
  189. package/dist/components/textarea/textarea.component.mjs +359 -0
  190. package/dist/components/textarea/textarea.mjs +5 -0
  191. package/dist/components/textarea/textarea.styles.mjs +171 -0
  192. package/dist/components/timer/ticker.mjs +78 -0
  193. package/dist/components/timer/timer.component.mjs +297 -0
  194. package/dist/components/timer/timer.mjs +5 -0
  195. package/dist/components/timer/timer.styles.mjs +95 -0
  196. package/dist/components/tool-button/tool-button.component.mjs +208 -0
  197. package/dist/components/tool-button/tool-button.mjs +5 -0
  198. package/dist/components/tool-button/tool-button.styles.mjs +251 -0
  199. package/dist/components/tool-button-group/tool-button-group.component.mjs +347 -0
  200. package/dist/components/tool-button-group/tool-button-group.mjs +5 -0
  201. package/dist/components/tool-button-group/tool-button-group.styles.mjs +59 -0
  202. package/dist/components/tooltip/tooltip.component.mjs +259 -0
  203. package/dist/components/tooltip/tooltip.mjs +5 -0
  204. package/dist/components/tooltip/tooltip.styles.mjs +57 -0
  205. package/dist/components/tree/tree.component.mjs +368 -0
  206. package/dist/components/tree/tree.mjs +5 -0
  207. package/dist/components/tree/tree.styles.mjs +41 -0
  208. package/dist/components/tree-item/tree-item.component.mjs +324 -0
  209. package/dist/components/tree-item/tree-item.mjs +5 -0
  210. package/dist/components/tree-item/tree-item.styles.mjs +178 -0
  211. package/dist/components/visually-hidden/visually-hidden.component.mjs +14 -0
  212. package/dist/components/visually-hidden/visually-hidden.mjs +5 -0
  213. package/dist/components/visually-hidden/visually-hidden.styles.mjs +20 -0
  214. package/dist/custom-elements.json +1535 -1530
  215. package/dist/index.d.mts +145 -132
  216. package/dist/index.d.ts +145 -132
  217. package/dist/index.mjs +78 -25094
  218. package/dist/internal/animate.mjs +47 -0
  219. package/dist/internal/animations/attention_seekers/bounce.mjs +17 -0
  220. package/dist/internal/animations/attention_seekers/flash.mjs +9 -0
  221. package/dist/internal/animations/attention_seekers/headShake.mjs +10 -0
  222. package/dist/internal/animations/attention_seekers/heartBeat.mjs +9 -0
  223. package/dist/internal/animations/attention_seekers/jello.mjs +14 -0
  224. package/dist/internal/animations/attention_seekers/pulse.mjs +7 -0
  225. package/dist/internal/animations/attention_seekers/rubberBand.mjs +11 -0
  226. package/dist/internal/animations/attention_seekers/shake.mjs +15 -0
  227. package/dist/internal/animations/attention_seekers/shakeX.mjs +15 -0
  228. package/dist/internal/animations/attention_seekers/shakeY.mjs +15 -0
  229. package/dist/internal/animations/attention_seekers/swing.mjs +9 -0
  230. package/dist/internal/animations/attention_seekers/tada.mjs +15 -0
  231. package/dist/internal/animations/attention_seekers/wobble.mjs +11 -0
  232. package/dist/internal/animations/back_entrances/backInDown.mjs +7 -0
  233. package/dist/internal/animations/back_entrances/backInLeft.mjs +7 -0
  234. package/dist/internal/animations/back_entrances/backInRight.mjs +7 -0
  235. package/dist/internal/animations/back_entrances/backInUp.mjs +7 -0
  236. package/dist/internal/animations/back_exits/backOutDown.mjs +7 -0
  237. package/dist/internal/animations/back_exits/backOutLeft.mjs +7 -0
  238. package/dist/internal/animations/back_exits/backOutRight.mjs +7 -0
  239. package/dist/internal/animations/back_exits/backOutUp.mjs +7 -0
  240. package/dist/internal/animations/bouncing_entrances/bounceIn.mjs +16 -0
  241. package/dist/internal/animations/bouncing_entrances/bounceInDown.mjs +14 -0
  242. package/dist/internal/animations/bouncing_entrances/bounceInLeft.mjs +14 -0
  243. package/dist/internal/animations/bouncing_entrances/bounceInRight.mjs +14 -0
  244. package/dist/internal/animations/bouncing_entrances/bounceInUp.mjs +14 -0
  245. package/dist/internal/animations/bouncing_exits/bounceOut.mjs +8 -0
  246. package/dist/internal/animations/bouncing_exits/bounceOutDown.mjs +8 -0
  247. package/dist/internal/animations/bouncing_exits/bounceOutLeft.mjs +6 -0
  248. package/dist/internal/animations/bouncing_exits/bounceOutRight.mjs +6 -0
  249. package/dist/internal/animations/bouncing_exits/bounceOutUp.mjs +8 -0
  250. package/dist/internal/animations/easings/easings.mjs +33 -0
  251. package/dist/internal/animations/fading_entrances/fadeIn.mjs +6 -0
  252. package/dist/internal/animations/fading_entrances/fadeInBottomLeft.mjs +6 -0
  253. package/dist/internal/animations/fading_entrances/fadeInBottomRight.mjs +6 -0
  254. package/dist/internal/animations/fading_entrances/fadeInDown.mjs +6 -0
  255. package/dist/internal/animations/fading_entrances/fadeInDownBig.mjs +6 -0
  256. package/dist/internal/animations/fading_entrances/fadeInLeft.mjs +6 -0
  257. package/dist/internal/animations/fading_entrances/fadeInLeftBig.mjs +6 -0
  258. package/dist/internal/animations/fading_entrances/fadeInRight.mjs +6 -0
  259. package/dist/internal/animations/fading_entrances/fadeInRightBig.mjs +6 -0
  260. package/dist/internal/animations/fading_entrances/fadeInTopLeft.mjs +6 -0
  261. package/dist/internal/animations/fading_entrances/fadeInTopRight.mjs +6 -0
  262. package/dist/internal/animations/fading_entrances/fadeInUp.mjs +6 -0
  263. package/dist/internal/animations/fading_entrances/fadeInUpBig.mjs +6 -0
  264. package/dist/internal/animations/fading_exits/fadeOut.mjs +6 -0
  265. package/dist/internal/animations/fading_exits/fadeOutBottomLeft.mjs +6 -0
  266. package/dist/internal/animations/fading_exits/fadeOutBottomRight.mjs +6 -0
  267. package/dist/internal/animations/fading_exits/fadeOutDown.mjs +6 -0
  268. package/dist/internal/animations/fading_exits/fadeOutDownBig.mjs +6 -0
  269. package/dist/internal/animations/fading_exits/fadeOutLeft.mjs +6 -0
  270. package/dist/internal/animations/fading_exits/fadeOutLeftBig.mjs +6 -0
  271. package/dist/internal/animations/fading_exits/fadeOutRight.mjs +6 -0
  272. package/dist/internal/animations/fading_exits/fadeOutRightBig.mjs +6 -0
  273. package/dist/internal/animations/fading_exits/fadeOutTopLeft.mjs +6 -0
  274. package/dist/internal/animations/fading_exits/fadeOutTopRight.mjs +6 -0
  275. package/dist/internal/animations/fading_exits/fadeOutUp.mjs +6 -0
  276. package/dist/internal/animations/fading_exits/fadeOutUpBig.mjs +6 -0
  277. package/dist/internal/animations/flippers/flip.mjs +29 -0
  278. package/dist/internal/animations/flippers/flipInX.mjs +9 -0
  279. package/dist/internal/animations/flippers/flipInY.mjs +9 -0
  280. package/dist/internal/animations/flippers/flipOutX.mjs +7 -0
  281. package/dist/internal/animations/flippers/flipOutY.mjs +7 -0
  282. package/dist/internal/animations/index.mjs +99 -0
  283. package/dist/internal/animations/lightspeed/lightSpeedInLeft.mjs +8 -0
  284. package/dist/internal/animations/lightspeed/lightSpeedInRight.mjs +8 -0
  285. package/dist/internal/animations/lightspeed/lightSpeedOutLeft.mjs +6 -0
  286. package/dist/internal/animations/lightspeed/lightSpeedOutRight.mjs +6 -0
  287. package/dist/internal/animations/rotating_entrances/rotateIn.mjs +6 -0
  288. package/dist/internal/animations/rotating_entrances/rotateInDownLeft.mjs +6 -0
  289. package/dist/internal/animations/rotating_entrances/rotateInDownRight.mjs +6 -0
  290. package/dist/internal/animations/rotating_entrances/rotateInUpLeft.mjs +6 -0
  291. package/dist/internal/animations/rotating_entrances/rotateInUpRight.mjs +6 -0
  292. package/dist/internal/animations/rotating_exits/rotateOut.mjs +6 -0
  293. package/dist/internal/animations/rotating_exits/rotateOutDownLeft.mjs +6 -0
  294. package/dist/internal/animations/rotating_exits/rotateOutDownRight.mjs +6 -0
  295. package/dist/internal/animations/rotating_exits/rotateOutUpLeft.mjs +6 -0
  296. package/dist/internal/animations/rotating_exits/rotateOutUpRight.mjs +6 -0
  297. package/dist/internal/animations/sliding_entrances/slideInDown.mjs +6 -0
  298. package/dist/internal/animations/sliding_entrances/slideInLeft.mjs +6 -0
  299. package/dist/internal/animations/sliding_entrances/slideInRight.mjs +6 -0
  300. package/dist/internal/animations/sliding_entrances/slideInUp.mjs +6 -0
  301. package/dist/internal/animations/sliding_exits/slideOutDown.mjs +6 -0
  302. package/dist/internal/animations/sliding_exits/slideOutLeft.mjs +6 -0
  303. package/dist/internal/animations/sliding_exits/slideOutRight.mjs +6 -0
  304. package/dist/internal/animations/sliding_exits/slideOutUp.mjs +6 -0
  305. package/dist/internal/animations/specials/hinge.mjs +10 -0
  306. package/dist/internal/animations/specials/jackInTheBox.mjs +8 -0
  307. package/dist/internal/animations/specials/rollIn.mjs +6 -0
  308. package/dist/internal/animations/specials/rollOut.mjs +6 -0
  309. package/dist/internal/animations/zooming_entrances/zoomIn.mjs +6 -0
  310. package/dist/internal/animations/zooming_entrances/zoomInDown.mjs +16 -0
  311. package/dist/internal/animations/zooming_entrances/zoomInLeft.mjs +16 -0
  312. package/dist/internal/animations/zooming_entrances/zoomInRight.mjs +16 -0
  313. package/dist/internal/animations/zooming_entrances/zoomInUp.mjs +16 -0
  314. package/dist/internal/animations/zooming_exits/zoomOut.mjs +7 -0
  315. package/dist/internal/animations/zooming_exits/zoomOutDown.mjs +16 -0
  316. package/dist/internal/animations/zooming_exits/zoomOutLeft.mjs +6 -0
  317. package/dist/internal/animations/zooming_exits/zoomOutRight.mjs +6 -0
  318. package/dist/internal/animations/zooming_exits/zoomOutUp.mjs +16 -0
  319. package/dist/internal/boolean.mjs +17 -0
  320. package/dist/internal/datetime.mjs +65 -0
  321. package/dist/internal/debounce.mjs +14 -0
  322. package/dist/internal/default-value.mjs +21 -0
  323. package/dist/internal/drag.mjs +30 -0
  324. package/dist/internal/ensure-array.mjs +16 -0
  325. package/dist/internal/event.mjs +13 -0
  326. package/dist/internal/flow-ui-rdf-element.mjs +61 -0
  327. package/dist/internal/form.mjs +264 -0
  328. package/dist/internal/localize.mjs +124 -0
  329. package/dist/internal/math.mjs +12 -0
  330. package/dist/internal/modal.mjs +52 -0
  331. package/dist/internal/offset.mjs +8 -0
  332. package/dist/internal/orderby.mjs +18 -0
  333. package/dist/internal/scroll.mjs +47 -0
  334. package/dist/internal/slot.mjs +59 -0
  335. package/dist/internal/string.mjs +5 -0
  336. package/dist/internal/tabbable.mjs +49 -0
  337. package/dist/internal/throttle.mjs +28 -0
  338. package/dist/internal/type-checks.mjs +16 -0
  339. package/dist/internal/watch.mjs +27 -0
  340. package/dist/package.json.mjs +3 -0
  341. package/dist/public-api.mjs +10 -0
  342. package/dist/styles/component.styles.mjs +19 -0
  343. package/dist/styles/form-control.styles.mjs +63 -0
  344. package/dist/translations/en.mjs +34 -0
  345. package/dist/utilities/animation-registry.mjs +33 -0
  346. package/dist/utilities/announce.mjs +12 -0
  347. package/dist/utilities/locale.mjs +10 -0
  348. package/dist/utilities/localize.mjs +7 -0
  349. package/dist/utilities/register-components.mjs +203 -0
  350. package/dist/vscode.html-custom-data.json +193 -181
  351. package/package.json +5 -8
  352. package/themes/dark.css +6 -2
  353. package/themes/dark.styles.js +6 -2
  354. package/themes/light.css +6 -2
  355. package/themes/light.styles.js +6 -2
  356. package/dist/icons/index.cjs +0 -4053
  357. package/dist/icons/index.d.cts +0 -2027
  358. package/dist/index.cjs +0 -25187
  359. package/dist/index.d.cts +0 -5678
@@ -0,0 +1,71 @@
1
+ import { html } from 'lit';
2
+ import { query, state, property } from 'lit/decorators.js';
3
+ import FlowRdfElement from '../../internal/flow-ui-rdf-element.mjs';
4
+ import { LocalizeController } from '../../utilities/localize.mjs';
5
+ import styles from './progress-ring.styles.mjs';
6
+
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __decorateClass = (decorators, target, key, kind) => {
10
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
11
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
12
+ if (decorator = decorators[i])
13
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14
+ if (kind && result)
15
+ __defProp(target, key, result);
16
+ return result;
17
+ };
18
+ class FlowUiProgressRing extends FlowRdfElement {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.localize = new LocalizeController(this);
22
+ this.value = 0;
23
+ this.label = "";
24
+ }
25
+ updated(changedProps) {
26
+ super.updated(changedProps);
27
+ if (changedProps.has("value")) {
28
+ const radius = parseFloat(getComputedStyle(this.indicator).getPropertyValue("r"));
29
+ const circumference = 2 * Math.PI * radius;
30
+ const offset = circumference - this.value / 100 * circumference;
31
+ this.indicatorOffset = `${offset}px`;
32
+ }
33
+ }
34
+ render() {
35
+ return html`
36
+ <div
37
+ part="base"
38
+ class="progress-ring"
39
+ role="progressbar"
40
+ aria-label=${this.label.length > 0 ? this.label : this.localize.term("progress")}
41
+ aria-describedby="label"
42
+ aria-valuemin="0"
43
+ aria-valuemax="100"
44
+ aria-valuenow="${this.value}"
45
+ style="--percentage: ${this.value / 100}"
46
+ >
47
+ <svg class="progress-ring__image">
48
+ <circle class="progress-ring__track"></circle>
49
+ <circle class="progress-ring__indicator" style="stroke-dashoffset: ${this.indicatorOffset}"></circle>
50
+ </svg>
51
+
52
+ <slot id="label" part="label" class="progress-ring__label"></slot>
53
+ </div>
54
+ `;
55
+ }
56
+ }
57
+ FlowUiProgressRing.styles = styles;
58
+ __decorateClass([
59
+ query(".progress-ring__indicator")
60
+ ], FlowUiProgressRing.prototype, "indicator", 2);
61
+ __decorateClass([
62
+ state()
63
+ ], FlowUiProgressRing.prototype, "indicatorOffset", 2);
64
+ __decorateClass([
65
+ property({ type: Number, reflect: true })
66
+ ], FlowUiProgressRing.prototype, "value", 2);
67
+ __decorateClass([
68
+ property()
69
+ ], FlowUiProgressRing.prototype, "label", 2);
70
+
71
+ export { FlowUiProgressRing as default };
@@ -0,0 +1,5 @@
1
+ import FlowUiProgressRing from './progress-ring.component.mjs';
2
+
3
+
4
+
5
+ export { FlowUiProgressRing as default };
@@ -0,0 +1,72 @@
1
+ import { css } from 'lit';
2
+ import componentStyles from '../../styles/component.styles.mjs';
3
+
4
+ const styles = css`
5
+ ${componentStyles}
6
+
7
+ :host {
8
+ --size: 128px;
9
+ --track-width: 4px;
10
+ --track-color: var(--flow-ui-color-neutral-200);
11
+ --indicator-width: var(--track-width);
12
+ --indicator-color: var(--flow-ui-color-primary-500);
13
+ --indicator-transition-duration: 0.35s;
14
+
15
+ display: inline-flex;
16
+ }
17
+
18
+ .progress-ring {
19
+ display: inline-flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ position: relative;
23
+ }
24
+
25
+ .progress-ring__image {
26
+ width: var(--size);
27
+ height: var(--size);
28
+ rotate: -90deg;
29
+ transform-origin: 50% 50%;
30
+ }
31
+
32
+ .progress-ring__track,
33
+ .progress-ring__indicator {
34
+ --radius: calc(var(--size) / 2 - max(var(--track-width), var(--indicator-width)) * 0.5);
35
+ --circumference: calc(var(--radius) * 2 * 3.141592654);
36
+
37
+ fill: none;
38
+ r: var(--radius);
39
+ cx: calc(var(--size) / 2);
40
+ cy: calc(var(--size) / 2);
41
+ }
42
+
43
+ .progress-ring__track {
44
+ stroke: var(--track-color);
45
+ stroke-width: var(--track-width);
46
+ }
47
+
48
+ .progress-ring__indicator {
49
+ stroke: var(--indicator-color);
50
+ stroke-width: var(--indicator-width);
51
+ stroke-linecap: round;
52
+ transition-property: stroke-dashoffset;
53
+ transition-duration: var(--indicator-transition-duration);
54
+ stroke-dasharray: var(--circumference) var(--circumference);
55
+ stroke-dashoffset: calc(var(--circumference) - var(--percentage) * var(--circumference));
56
+ }
57
+
58
+ .progress-ring__label {
59
+ display: flex;
60
+ align-items: center;
61
+ justify-content: center;
62
+ position: absolute;
63
+ top: 0;
64
+ left: 0;
65
+ width: 100%;
66
+ height: 100%;
67
+ text-align: center;
68
+ user-select: none;
69
+ }
70
+ `;
71
+
72
+ export { styles as default };
@@ -0,0 +1,111 @@
1
+ import { DateTime } from 'luxon';
2
+ import { isNil, isObjectFull, isFunction } from '../../../internal/type-checks.mjs';
3
+ import { filterRuleSet, isRule, isRuleSet } from '../helpers.mjs';
4
+
5
+ function whereClausesFromRuleSet(rule, config, options) {
6
+ if (isRule(rule)) {
7
+ if (!rule.enabled) {
8
+ return void 0;
9
+ }
10
+ if (isNil(rule.field) || isNil(rule.operator)) {
11
+ console.warn(`flowQueryConverter: Skipping rule with missing field or operator`, rule);
12
+ return void 0;
13
+ }
14
+ const field = config.fields[rule.field];
15
+ if (!field) {
16
+ console.warn(`flowQueryConverter: Skipping unknown field '${rule.field}' in rule`, rule);
17
+ return void 0;
18
+ }
19
+ if (isNil(rule.value) && field.nullable !== true) {
20
+ console.warn(`flowQueryConverter: Skipping nil field '${rule.field}' in rule (non-nullable)`, rule);
21
+ return void 0;
22
+ }
23
+ let fieldName = rule.field;
24
+ if (options?.renameFields && fieldName in options.renameFields) {
25
+ fieldName = options.renameFields[fieldName];
26
+ }
27
+ let clause = ["is null", "not null"].includes(rule.operator) || !isNil(rule.value) ? { [fieldName]: predicateFromRule(rule, config) } : {};
28
+ if ((rule.operator === "!=" || rule.operator === "not like") && isObjectFull(clause)) {
29
+ clause = { $or: [{ [fieldName]: { $is: null } }, clause] };
30
+ }
31
+ return clause;
32
+ } else if (isRuleSet(rule)) {
33
+ const condition = rule.condition === "and" ? "$and" : "$or";
34
+ const rules = rule.rules.map((r) => whereClausesFromRuleSet(r, config, options)).filter((r) => isObjectFull(r));
35
+ return rules.length ? { [condition]: rules } : {};
36
+ } else ;
37
+ }
38
+ function predicateFromRule(rule, config) {
39
+ const field = config.fields[rule.field];
40
+ let operator;
41
+ let value = rule.value;
42
+ if (isFunction(field.convertValue)) {
43
+ value = field.convertValue(value);
44
+ }
45
+ switch (rule.operator) {
46
+ case "=":
47
+ operator = "$eq";
48
+ break;
49
+ case "!=":
50
+ operator = "$ne";
51
+ break;
52
+ case "<":
53
+ operator = "$lt";
54
+ break;
55
+ case "<=":
56
+ operator = "$lte";
57
+ break;
58
+ case ">":
59
+ operator = "$gt";
60
+ break;
61
+ case ">=":
62
+ operator = "$gte";
63
+ break;
64
+ case "in":
65
+ operator = "$in";
66
+ break;
67
+ case "!in":
68
+ operator = "$notIn";
69
+ break;
70
+ case "like":
71
+ operator = "$iLike";
72
+ break;
73
+ case "!like":
74
+ operator = "$notILike";
75
+ break;
76
+ case "contains":
77
+ operator = "$iLike";
78
+ value = `%${value}%`;
79
+ break;
80
+ case "null":
81
+ operator = "$is";
82
+ value = null;
83
+ break;
84
+ case "!null":
85
+ operator = "$not";
86
+ value = null;
87
+ break;
88
+ case "between":
89
+ operator = "$between";
90
+ break;
91
+ default:
92
+ throw new Error(`Unrecognized query operator '${rule.operator}'`);
93
+ }
94
+ if (config.fields?.[rule.field]?.type === "datetime") {
95
+ if (rule.operator === "between") {
96
+ value = [DateTime.fromISO(value[0] || 0).toISO(), DateTime.fromISO(value[1] || 0).toISO()];
97
+ } else {
98
+ value = DateTime.fromISO(value || 0).toISO();
99
+ }
100
+ }
101
+ return { [operator]: value };
102
+ }
103
+ const converter = (ruleset, config, options) => {
104
+ if (options) {
105
+ ruleset = filterRuleSet(ruleset, options);
106
+ }
107
+ return whereClausesFromRuleSet(ruleset, config, options);
108
+ };
109
+ const converter$1 = converter;
110
+
111
+ export { converter$1 as default };
@@ -0,0 +1,99 @@
1
+ import { ensureArray } from '../../../internal/ensure-array.mjs';
2
+ import { isNil, isStringFull, isFunction } from '../../../internal/type-checks.mjs';
3
+ import { filterRuleSet, isRule, isRuleSet } from '../helpers.mjs';
4
+
5
+ function mapLayerFilterFromRuleSet(rule, config, options) {
6
+ if (isRule(rule)) {
7
+ if (!rule.enabled) {
8
+ return void 0;
9
+ }
10
+ if (isNil(rule.field) || isNil(rule.operator)) {
11
+ console.warn(`mapLayerFilterConverter: Skipping rule with missing field or operator`, rule);
12
+ return void 0;
13
+ }
14
+ const field = config.fields[rule.field];
15
+ if (!field) {
16
+ console.warn(`mapLayerFilterConverter: Skipping unknown field '${rule.field}' in rule`, rule);
17
+ return void 0;
18
+ }
19
+ if (isNil(rule.value) && field.nullable !== true) {
20
+ console.warn(`mapLayerFilterConverter: Skipping nil field '${rule.field}' in rule (non-nullable)`, rule);
21
+ return void 0;
22
+ }
23
+ let fieldName = rule.field;
24
+ if (options?.renameFields && fieldName in options.renameFields) {
25
+ fieldName = options.renameFields[fieldName];
26
+ }
27
+ return predicateFromRule(rule, config);
28
+ } else if (isRuleSet(rule)) {
29
+ const condition = rule.condition === "and" ? " && " : " || ";
30
+ const rules = rule.rules.map((r) => mapLayerFilterFromRuleSet(r, config, options)).filter((r) => isStringFull(r));
31
+ return rules.length ? rules.map((r) => `(${r})`).join(condition) : "";
32
+ } else ;
33
+ }
34
+ function predicateFromRule(rule, config) {
35
+ const fieldConfig = config.fields[rule.field];
36
+ let predicate;
37
+ const field = `get("${rule.field}")`;
38
+ let operator = "";
39
+ let value = rule.value;
40
+ if (isFunction(fieldConfig.convertValue)) {
41
+ value = fieldConfig.convertValue(value);
42
+ }
43
+ switch (rule.operator) {
44
+ case "=":
45
+ operator = "==";
46
+ break;
47
+ case "!=":
48
+ operator = "!=";
49
+ break;
50
+ case "<":
51
+ operator = "<";
52
+ break;
53
+ case "<=":
54
+ operator = "<=";
55
+ break;
56
+ case ">":
57
+ operator = ">";
58
+ break;
59
+ case ">=":
60
+ operator = ">=";
61
+ break;
62
+ case "in":
63
+ value = ensureArray(value);
64
+ predicate = `in(${field}, literal([${value.map(JSON.stringify).join(", ")}]))`;
65
+ break;
66
+ case "!in":
67
+ value = ensureArray(value);
68
+ predicate = `!in(${field}, literal([${value.map(JSON.stringify).join(", ")}]))`;
69
+ break;
70
+ case "like":
71
+ operator = "~*";
72
+ break;
73
+ case "contains":
74
+ predicate = `in(${JSON.stringify(value)}, ${field})`;
75
+ break;
76
+ case "=i":
77
+ operator = "=*";
78
+ break;
79
+ case "regex":
80
+ operator = "~";
81
+ break;
82
+ case "regexi":
83
+ operator = "~*";
84
+ break;
85
+ default:
86
+ throw new Error(`Unrecognized query operator '${rule.operator}'`);
87
+ }
88
+ predicate ?? (predicate = `${field} ${operator} ${JSON.stringify(value)}`);
89
+ return predicate;
90
+ }
91
+ const converter = (ruleset, config, options) => {
92
+ if (options) {
93
+ ruleset = filterRuleSet(ruleset, options);
94
+ }
95
+ return mapLayerFilterFromRuleSet(ruleset, config, options);
96
+ };
97
+ const converter$1 = converter;
98
+
99
+ export { converter$1 as default };
@@ -0,0 +1,151 @@
1
+ import { html } from 'lit';
2
+ import { ifDefined } from 'lit/directives/if-defined.js';
3
+ import { ensureArray } from '../../internal/ensure-array.mjs';
4
+ import { isFunction, isDefined } from '../../internal/type-checks.mjs';
5
+
6
+ function getDefault(defaultVal, fallback) {
7
+ if (isFunction(defaultVal)) {
8
+ return defaultVal();
9
+ }
10
+ return isDefined(defaultVal) ? defaultVal : fallback;
11
+ }
12
+ const defaultStringTemplate = (rule, field, qb, update) => {
13
+ const handleChange = (ev) => {
14
+ const target = ev.target;
15
+ rule.value = target.value === "" ? void 0 : target.value;
16
+ target.setCustomValidity?.(field.validator?.(rule) ?? "");
17
+ update();
18
+ };
19
+ return html`
20
+ <flow-ui-input
21
+ class="query-builder__rule-value-control"
22
+ value=${rule.value ?? ""}
23
+ size=${qb.size}
24
+ ?disabled=${!rule.enabled}
25
+ @flow-ui-change=${handleChange}
26
+ ></flow-ui-input>
27
+ `;
28
+ };
29
+ const defaultNumberTemplate = (rule, field, qb, update) => {
30
+ const handleChange = (ev) => {
31
+ const target = ev.target;
32
+ rule.value = target.value === "" ? void 0 : +target.value;
33
+ target.setCustomValidity?.(field.validator?.(rule) ?? "");
34
+ update();
35
+ };
36
+ return html`
37
+ <flow-ui-input
38
+ class="query-builder__rule-value-control"
39
+ type="number"
40
+ value=${rule.value ?? ""}
41
+ size=${qb.size}
42
+ min=${ifDefined(field.min)}
43
+ max=${ifDefined(field.max)}
44
+ step=${ifDefined(field.step)}
45
+ ?disabled=${!rule.enabled}
46
+ @flow-ui-change=${handleChange}
47
+ ></flow-ui-input>
48
+ `;
49
+ };
50
+ const defaultDateTimeTemplate = (rule, field, qb, update) => {
51
+ const handleChange = (ev) => {
52
+ const target = ev.target;
53
+ rule.value = target.value === "" ? void 0 : target.value;
54
+ target.setCustomValidity(field.validator?.(rule) ?? "");
55
+ update();
56
+ };
57
+ const format = getDefault(field.dateFormat, "F");
58
+ const timezone = getDefault(field.timezone);
59
+ const locale = getDefault(field.locale);
60
+ return html`
61
+ <flow-ui-date-time-picker
62
+ class="query-builder__rule-value-control"
63
+ value=${rule.value ?? ""}
64
+ size=${qb.size}
65
+ placeholder="Enter a date/time"
66
+ format=${ifDefined(format)}
67
+ timezone=${ifDefined(timezone)}
68
+ locale=${ifDefined(locale)}
69
+ ?disabled=${!rule.enabled}
70
+ @flow-ui-change=${handleChange}
71
+ ></flow-ui-date-time-picker>
72
+ `;
73
+ };
74
+ const defaultDateTemplate = (rule, field, qb, update) => {
75
+ const handleChange = (ev) => {
76
+ const target = ev.target;
77
+ rule.value = target.value === "" ? void 0 : target.value;
78
+ target.setCustomValidity(field.validator?.(rule) ?? "");
79
+ update();
80
+ };
81
+ const format = getDefault(field.dateFormat, "D");
82
+ const timezone = getDefault(field.timezone);
83
+ const locale = getDefault(field.locale);
84
+ return html`
85
+ <flow-ui-date-time-picker
86
+ class="query-builder__rule-value-control"
87
+ value=${rule.value ?? ""}
88
+ display-mode="date"
89
+ size=${qb.size}
90
+ placeholder="Enter a date"
91
+ format=${ifDefined(format)}
92
+ timezone=${ifDefined(timezone)}
93
+ locale=${ifDefined(locale)}
94
+ ?disabled=${!rule.enabled}
95
+ @flow-ui-change=${handleChange}
96
+ ></flow-ui-date-time-picker>
97
+ `;
98
+ };
99
+ const defaultTimeTemplate = (rule, field, qb, update) => {
100
+ const handleChange = (ev) => {
101
+ const target = ev.target;
102
+ rule.value = target.value === "" ? void 0 : target.value;
103
+ target.setCustomValidity(field.validator?.(rule) ?? "");
104
+ update();
105
+ };
106
+ const format = getDefault(field.dateFormat, "TTT");
107
+ const timezone = getDefault(field.timezone);
108
+ const locale = getDefault(field.locale);
109
+ return html`
110
+ <flow-ui-date-time-picker
111
+ class="query-builder__rule-value-control"
112
+ value=${rule.value ?? ""}
113
+ display-mode="time"
114
+ size=${qb.size}
115
+ placeholder="Enter a time"
116
+ format=${ifDefined(format)}
117
+ timezone=${ifDefined(timezone)}
118
+ locale=${ifDefined(locale)}
119
+ ?disabled=${!rule.enabled}
120
+ @flow-ui-change=${handleChange}
121
+ ></flow-ui-date-time-picker>
122
+ `;
123
+ };
124
+ const defaultSelectTemplate = (rule, field, qb, update) => {
125
+ const isMulti = rule.operator === "in" || rule.operator === "!in";
126
+ const handleChange = (ev) => {
127
+ const target = ev.target;
128
+ rule.value = target.value;
129
+ target.setCustomValidity(field.validator?.(rule) ?? "");
130
+ update();
131
+ };
132
+ return html`
133
+ <flow-ui-select
134
+ class="query-builder__rule-value-control"
135
+ .value=${ensureArray(rule.value ?? "")}
136
+ size=${qb.size}
137
+ ?multiple=${isMulti}
138
+ hoist
139
+ ?disabled=${!rule.enabled}
140
+ @flow-ui-change=${handleChange}
141
+ >
142
+ ${field.options?.map((option) => {
143
+ return html`
144
+ <flow-ui-option value=${option.value}>${option.name}</flow-ui-option>
145
+ `;
146
+ })}
147
+ </flow-ui-select>
148
+ `;
149
+ };
150
+
151
+ export { defaultDateTemplate, defaultDateTimeTemplate, defaultNumberTemplate, defaultSelectTemplate, defaultStringTemplate, defaultTimeTemplate };
@@ -0,0 +1,42 @@
1
+ import cloneDeep from 'clone-deep';
2
+ import { isObjectFull, isDefined } from '../../internal/type-checks.mjs';
3
+
4
+ function filterRuleSet(ruleset, options) {
5
+ return transformRuleSet(ruleset, (rule) => {
6
+ if (isDefined(rule.field)) {
7
+ if (isDefined(options.excludeFields) && options.excludeFields.includes(rule.field)) {
8
+ return;
9
+ }
10
+ if (isDefined(options.includeFields) && !options.includeFields.includes(rule.field)) {
11
+ return;
12
+ }
13
+ return rule;
14
+ }
15
+ });
16
+ }
17
+ function renameRuleSetFields(ruleset, replacements) {
18
+ return transformRuleSet(ruleset, (rule) => {
19
+ if (isDefined(rule.field)) {
20
+ rule.field = rule.field in replacements ? replacements[rule.field] : rule.field;
21
+ return rule;
22
+ }
23
+ });
24
+ }
25
+ function transformRuleSet(ruleSet, transformFn, clone = true) {
26
+ if (clone) {
27
+ ruleSet = cloneDeep(ruleSet);
28
+ }
29
+ ruleSet.rules = ruleSet.rules.map((r) => {
30
+ if (isRule(r)) {
31
+ return transformFn(r);
32
+ } else if (isRuleSet(r)) {
33
+ return transformRuleSet(r, transformFn, false);
34
+ }
35
+ }).filter(isRuleOrRuleset);
36
+ return ruleSet;
37
+ }
38
+ const isRule = (r) => isObjectFull(r) && "field" in r;
39
+ const isRuleSet = (r) => isObjectFull(r) && "rules" in r;
40
+ const isRuleOrRuleset = (r) => isRule(r) || isRuleSet(r);
41
+
42
+ export { filterRuleSet, isRule, isRuleOrRuleset, isRuleSet, renameRuleSetFields, transformRuleSet };