@luzmo/analytics-components-kit 1.0.1-alpha.3 → 1.0.1-alpha.5

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 (349) hide show
  1. package/LICENSE +18 -0
  2. package/components/area-chart-slots.config-BLxiYX05.cjs +20 -0
  3. package/components/area-chart-slots.config-C0c2ZzBh.js +52 -0
  4. package/components/async-directive-FGzMycjH-Bgeca09f.js +152 -0
  5. package/components/async-directive-FGzMycjH-CeG35vZ3.cjs +56 -0
  6. package/components/bar-chart-slots.config-GSSL7XVA.js +47 -0
  7. package/components/bar-chart-slots.config-Jx1PveTM.cjs +20 -0
  8. package/components/bar-chart.config-B57geUzJ.cjs +20 -0
  9. package/components/bar-chart.config-CQ6HAvs2.js +153 -0
  10. package/components/bar-chart.en-BqYbiHO3.cjs +20 -0
  11. package/components/bar-chart.en-FwT00qdU.js +69 -0
  12. package/components/bar-chart.fr-DGx9smEh.cjs +20 -0
  13. package/components/bar-chart.fr-DbxKiM0j.js +44 -0
  14. package/components/bar-chart.nl-BYzVExsz.cjs +20 -0
  15. package/components/bar-chart.nl-ahX1ARpH.js +44 -0
  16. package/components/base-BjTwmyRF.cjs +24 -0
  17. package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
  18. package/components/base-D76d76ww-gf0ESLsU.js +45 -0
  19. package/components/base-D76d76ww.js +28 -0
  20. package/components/button-base-CDLQV7Vk-BXgdcJZo.cjs +43 -0
  21. package/components/button-base-CDLQV7Vk-C_3zTrbV.js +161 -0
  22. package/components/checkbox-mixin-DXUIwtea-DNISZS47.cjs +45 -0
  23. package/components/checkbox-mixin-DXUIwtea-wiCZr_KI.js +88 -0
  24. package/components/column-chart.config-B57geUzJ.cjs +20 -0
  25. package/components/column-chart.config-C9hP0kX7.js +153 -0
  26. package/components/cs-DVZ0Tapy.js +89 -0
  27. package/components/cs-I9E81keK.cjs +20 -0
  28. package/components/da-DHy05oSR.js +97 -0
  29. package/components/da-QkdvupDg.cjs +20 -0
  30. package/components/de-Dn5mUzha.cjs +20 -0
  31. package/components/de-iM39JlAt.js +109 -0
  32. package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
  33. package/components/decompose-numeric-format-BuZcjH2k.js +39 -0
  34. package/components/directive-helpers-BLDZnGQv-DYFfxaqA.cjs +80 -0
  35. package/components/directive-helpers-BLDZnGQv-oKMCBvb2.js +115 -0
  36. package/components/display-settings/display-settings.d.ts +70 -0
  37. package/components/display-settings/index.cjs +105 -0
  38. package/components/display-settings/index.d.ts +7 -0
  39. package/components/display-settings/index.js +238 -0
  40. package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
  41. package/components/display-settings-binning/index.cjs +51 -0
  42. package/components/display-settings-binning/index.d.ts +7 -0
  43. package/components/display-settings-binning/index.js +137 -0
  44. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  45. package/components/display-settings-datetime/index.cjs +20 -0
  46. package/components/display-settings-datetime/index.d.ts +7 -0
  47. package/components/display-settings-datetime/index.js +30 -0
  48. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +30 -0
  49. package/components/display-settings-grand-totals/index.cjs +41 -0
  50. package/components/display-settings-grand-totals/index.d.ts +7 -0
  51. package/components/display-settings-grand-totals/index.js +115 -0
  52. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  53. package/components/display-settings-numeric/helpers/constants.d.ts +17 -0
  54. package/components/display-settings-numeric/index.cjs +146 -0
  55. package/components/display-settings-numeric/index.d.ts +7 -0
  56. package/components/display-settings-numeric/index.js +452 -0
  57. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  58. package/components/display-settings-period-over-period/helpers/constants.d.ts +33 -0
  59. package/components/display-settings-period-over-period/index.cjs +103 -0
  60. package/components/display-settings-period-over-period/index.d.ts +7 -0
  61. package/components/display-settings-period-over-period/index.js +308 -0
  62. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  63. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  64. package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
  65. package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
  66. package/components/donut-chart.config-3DhKiSSM.js +177 -0
  67. package/components/donut-chart.config-DLWJUlHx.cjs +20 -0
  68. package/components/donut-chart.en-Blb9oSdU.cjs +20 -0
  69. package/components/donut-chart.en-CzjT4-XN.js +85 -0
  70. package/components/donut-chart.fr-BeTVa2wh.cjs +20 -0
  71. package/components/donut-chart.fr-DftPrKbG.js +39 -0
  72. package/components/donut-chart.nl-D9YGbOce.cjs +20 -0
  73. package/components/donut-chart.nl-NMatXfhK.js +39 -0
  74. package/components/draggable-data-item/draggable-data-item.d.ts +25 -0
  75. package/components/draggable-data-item/index.cjs +55 -0
  76. package/components/draggable-data-item/index.d.ts +7 -0
  77. package/components/draggable-data-item/index.js +140 -0
  78. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  79. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  80. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  81. package/components/draggable-data-item-level/index.cjs +36 -0
  82. package/components/draggable-data-item-level/index.d.ts +7 -0
  83. package/components/draggable-data-item-level/index.js +293 -0
  84. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  85. package/components/droppable-slot/index.cjs +69 -0
  86. package/components/droppable-slot/index.d.ts +7 -0
  87. package/components/droppable-slot/index.js +255 -0
  88. package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
  89. package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
  90. package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
  91. package/components/edit-item/edit-item.d.ts +50 -0
  92. package/components/edit-item/index.cjs +85 -0
  93. package/components/edit-item/index.d.ts +7 -0
  94. package/components/edit-item/index.js +333 -0
  95. package/components/edit-option/edit-option.d.ts +22 -0
  96. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  97. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  98. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  99. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  100. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  101. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  102. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  103. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  104. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  105. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  106. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  107. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  108. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  109. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  110. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  111. package/components/edit-option/index.cjs +176 -0
  112. package/components/edit-option/index.d.ts +7 -0
  113. package/components/edit-option/index.js +507 -0
  114. package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
  115. package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
  116. package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
  117. package/components/edit-option/item-configs/imageobject.config.d.ts +128 -0
  118. package/components/edit-option/item-configs/line-chart.config.d.ts +96 -0
  119. package/components/edit-option/item-configs/textobject.config.d.ts +13 -0
  120. package/components/edit-option/item-translations/bar-chart.en.d.ts +48 -0
  121. package/components/edit-option/item-translations/bar-chart.fr.d.ts +23 -0
  122. package/components/edit-option/item-translations/bar-chart.nl.d.ts +23 -0
  123. package/components/edit-option/item-translations/donut-chart.en.d.ts +64 -0
  124. package/components/edit-option/item-translations/donut-chart.fr.d.ts +18 -0
  125. package/components/edit-option/item-translations/donut-chart.nl.d.ts +18 -0
  126. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  127. package/components/edit-option-action-button-group/index.cjs +44 -0
  128. package/components/edit-option-action-button-group/index.d.ts +7 -0
  129. package/components/edit-option-action-button-group/index.js +144 -0
  130. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  131. package/components/edit-option-base-DnrerC_T.cjs +53 -0
  132. package/components/edit-option-base-oIvlolV9.js +120 -0
  133. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  134. package/components/edit-option-color-picker/index.cjs +472 -0
  135. package/components/edit-option-color-picker/index.d.ts +7 -0
  136. package/components/edit-option-color-picker/index.js +2553 -0
  137. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +15 -0
  138. package/components/edit-option-multi-language-field/index.cjs +31 -0
  139. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  140. package/components/edit-option-multi-language-field/index.js +102 -0
  141. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  142. package/components/edit-option-number-field/index.cjs +32 -0
  143. package/components/edit-option-number-field/index.d.ts +7 -0
  144. package/components/edit-option-number-field/index.js +115 -0
  145. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  146. package/components/edit-option-picker/index.cjs +35 -0
  147. package/components/edit-option-picker/index.d.ts +7 -0
  148. package/components/edit-option-picker/index.js +106 -0
  149. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +28 -0
  150. package/components/edit-option-positions-number-field/index.cjs +42 -0
  151. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  152. package/components/edit-option-positions-number-field/index.js +170 -0
  153. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  154. package/components/edit-option-radio-button-group/index.cjs +36 -0
  155. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  156. package/components/edit-option-radio-button-group/index.js +113 -0
  157. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  158. package/components/edit-option-slider/index.cjs +48 -0
  159. package/components/edit-option-slider/index.d.ts +7 -0
  160. package/components/edit-option-slider/index.js +1253 -0
  161. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  162. package/components/edit-option-switch/index.cjs +50 -0
  163. package/components/edit-option-switch/index.d.ts +7 -0
  164. package/components/edit-option-switch/index.js +171 -0
  165. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  166. package/components/edit-option-text-field/index.cjs +31 -0
  167. package/components/edit-option-text-field/index.d.ts +7 -0
  168. package/components/edit-option-text-field/index.js +100 -0
  169. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  170. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  171. package/components/en-BsAhbMzm.js +1979 -0
  172. package/components/en-CdROUdjt.cjs +202 -0
  173. package/components/en-GB-g8rSQSba.cjs +20 -0
  174. package/components/en-GB-qub-Kemt.js +28 -0
  175. package/components/es-CwyPlN5d.cjs +20 -0
  176. package/components/es-KhTq4jX8.js +305 -0
  177. package/components/fi-Dh_ebgpe.js +97 -0
  178. package/components/fi-rijeZE5V.cjs +20 -0
  179. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  180. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  181. package/components/fr-BcgE-6S_.cjs +20 -0
  182. package/components/fr-CU727YF1.js +305 -0
  183. package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
  184. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  185. package/components/he-Au3xg6lR.js +89 -0
  186. package/components/he-O6Ih8Bqh.cjs +20 -0
  187. package/components/hu-BnZ8y3xQ.cjs +20 -0
  188. package/components/hu-DNJ-P_MW.js +97 -0
  189. package/components/if-defined-CYpcjGCb-Bzbg7zmM.cjs +60 -0
  190. package/components/if-defined-CYpcjGCb-tXzyj9Dq.js +95 -0
  191. package/components/if-defined-Ch2dtEOS.js +29 -0
  192. package/components/if-defined-DMSuo5Qx.cjs +24 -0
  193. package/components/imageobject.config-B7ld9bj3.cjs +20 -0
  194. package/components/imageobject.config-DZLp9Elq.js +127 -0
  195. package/components/index-3ewegRbb.cjs +67 -0
  196. package/components/index-B0cBkCaq.cjs +39 -0
  197. package/components/index-B2N_PZf3.js +164 -0
  198. package/components/index-B2z7i1-X.js +77 -0
  199. package/components/index-B5VaT0lQ.js +145 -0
  200. package/components/index-BC-nmKjU.js +104 -0
  201. package/components/index-BD3VxQBH.js +44 -0
  202. package/components/index-BGaxFTL4.js +299 -0
  203. package/components/index-BRk42NQn.js +3171 -0
  204. package/components/index-Bjs6Yqet.cjs +185 -0
  205. package/components/index-Bofs4Q2E.cjs +36 -0
  206. package/components/index-BqTdFs1o.js +77 -0
  207. package/components/index-C2qG2Sm8-BQUlk-w0.js +935 -0
  208. package/components/index-C2qG2Sm8-CbVWlbag.cjs +95 -0
  209. package/components/index-CTPox3yS.cjs +54 -0
  210. package/components/index-C_3Ak4MQ.cjs +59 -0
  211. package/components/index-CayjvyyX.cjs +95 -0
  212. package/components/index-CkDDDzuJ.js +744 -0
  213. package/components/index-Cp-lHUlX.js +137 -0
  214. package/components/index-CtHO6VyI.cjs +42 -0
  215. package/components/index-D4x-O9Uc.cjs +192 -0
  216. package/components/index-D9vzXhtJ.cjs +95 -0
  217. package/components/index-DQiQXn8N.cjs +36 -0
  218. package/components/index-DVaeDCbe.js +48 -0
  219. package/components/index-DskAouD-.js +317 -0
  220. package/components/index-DszPbTTD.js +810 -0
  221. package/components/index-EQldC-LR.js +175 -0
  222. package/components/index-ON4x-yZ7.cjs +36 -0
  223. package/components/index-gfU9TGd5.cjs +57 -0
  224. package/components/index-liTHhAef.cjs +36 -0
  225. package/components/index.cjs +20 -0
  226. package/components/index.js +74 -0
  227. package/components/it-Bh5U73z6.js +305 -0
  228. package/components/it-PshtLMkq.cjs +20 -0
  229. package/components/ja-CCcHUL61.js +89 -0
  230. package/components/ja-KIS2HdaG.cjs +20 -0
  231. package/components/ko--l4qmjLV.cjs +20 -0
  232. package/components/ko-DhapsZMM.js +89 -0
  233. package/components/language-resolution-8yZa5r_P-CTSmbE1U.js +161 -0
  234. package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +52 -0
  235. package/components/line-chart.config-BZcvfO2c.cjs +20 -0
  236. package/components/line-chart.config-CIVN6uLI.js +115 -0
  237. package/components/localize-B6AsX_Zv.js +52 -0
  238. package/components/localize-DbobqcKs.cjs +20 -0
  239. package/components/luzmo-icons-BrtBl3E5.cjs +31 -0
  240. package/components/luzmo-icons-CZEpXpvy.js +613 -0
  241. package/components/mk-B9HPSuKa.js +97 -0
  242. package/components/mk-DZlj-edb.cjs +20 -0
  243. package/components/nl-BKlDqOXb.cjs +20 -0
  244. package/components/nl-BwSt5Bf4.js +109 -0
  245. package/components/no-D-DofYnx.js +109 -0
  246. package/components/no-D_SzxhTu.cjs +20 -0
  247. package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +221 -0
  248. package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +86 -0
  249. package/components/pl-D_L_0Boq.js +97 -0
  250. package/components/pl-PIK23rK_.cjs +20 -0
  251. package/components/popover-bg0EQQ8p-D4-hrhIx.js +86 -0
  252. package/components/popover-bg0EQQ8p-Dha09dhV.cjs +48 -0
  253. package/components/property-CD3dwBJC.js +1447 -0
  254. package/components/property-Su1Q6aME.cjs +124 -0
  255. package/components/pt-B0BBS5VB.js +89 -0
  256. package/components/pt-Dqlu4MS5.cjs +20 -0
  257. package/components/query-D5qWDopr.cjs +24 -0
  258. package/components/query-Ddbd72Um.js +39 -0
  259. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  260. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  261. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  262. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  263. package/components/ru-Vo-m3O_2.js +108 -0
  264. package/components/ru-zyNDTB04.cjs +20 -0
  265. package/components/sized-mixin-PyCYpyQq-B40Ek2UB.js +82 -0
  266. package/components/sized-mixin-PyCYpyQq-sKzDjc75.cjs +36 -0
  267. package/components/slot-menu/index.cjs +55 -0
  268. package/components/slot-menu/index.d.ts +7 -0
  269. package/components/slot-menu/index.js +188 -0
  270. package/components/slot-menu/slot-menu.d.ts +66 -0
  271. package/components/slot-menu-list/index.cjs +39 -0
  272. package/components/slot-menu-list/index.d.ts +7 -0
  273. package/components/slot-menu-list/index.js +351 -0
  274. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  275. package/components/state-B1a8XIDm.js +31 -0
  276. package/components/state-ByiKNRhp.cjs +24 -0
  277. package/components/sv-1DPTltNQ.cjs +20 -0
  278. package/components/sv-CiozMaev.js +89 -0
  279. package/components/task-BPD0PyaQ.js +120 -0
  280. package/components/task-HFsHfTra.cjs +24 -0
  281. package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +131 -0
  282. package/components/text-field-7ITo3Lac-DqVO04kR.js +412 -0
  283. package/components/textobject.config-C8opcGG4.js +52 -0
  284. package/components/textobject.config-DbAajFz8.cjs +20 -0
  285. package/components/tr-BkmWvOG2.cjs +20 -0
  286. package/components/tr-D_D4i5iv.js +109 -0
  287. package/components/utils.cjs +20 -0
  288. package/components/utils.js +20 -0
  289. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  290. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  291. package/components/zh-CN-DTZ4OmdP.cjs +20 -0
  292. package/components/zh-CN-wsl7eFSd.js +89 -0
  293. package/components/zh-TW-DTZ4OmdP.cjs +20 -0
  294. package/components/zh-TW-wsl7eFSd.js +89 -0
  295. package/custom-elements.json +4228 -0
  296. package/index.d.ts +23 -0
  297. package/package.json +133 -14
  298. package/utils/formatter/calculate-duration.d.ts +2 -0
  299. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  300. package/utils/formatter/default-local-formats.d.ts +20 -0
  301. package/utils/formatter/formats/cs.d.ts +20 -0
  302. package/utils/formatter/formats/da.d.ts +20 -0
  303. package/utils/formatter/formats/de.d.ts +21 -0
  304. package/utils/formatter/formats/en-GB.d.ts +21 -0
  305. package/utils/formatter/formats/en-US.d.ts +1 -0
  306. package/utils/formatter/formats/en.d.ts +1 -0
  307. package/utils/formatter/formats/es.d.ts +54 -0
  308. package/utils/formatter/formats/fi.d.ts +20 -0
  309. package/utils/formatter/formats/fr.d.ts +54 -0
  310. package/utils/formatter/formats/he.d.ts +20 -0
  311. package/utils/formatter/formats/hu.d.ts +20 -0
  312. package/utils/formatter/formats/it.d.ts +54 -0
  313. package/utils/formatter/formats/ja.d.ts +20 -0
  314. package/utils/formatter/formats/ko.d.ts +20 -0
  315. package/utils/formatter/formats/mk.d.ts +20 -0
  316. package/utils/formatter/formats/nl.d.ts +21 -0
  317. package/utils/formatter/formats/no.d.ts +21 -0
  318. package/utils/formatter/formats/pl.d.ts +20 -0
  319. package/utils/formatter/formats/pt.d.ts +20 -0
  320. package/utils/formatter/formats/ru.d.ts +20 -0
  321. package/utils/formatter/formats/sv.d.ts +20 -0
  322. package/utils/formatter/formats/tr.d.ts +21 -0
  323. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  324. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  325. package/utils/formatter/formatter.d.ts +9 -0
  326. package/utils/formatter/localize.d.ts +3 -0
  327. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  328. package/utils/get-css-variable.d.ts +1 -0
  329. package/utils/index.d.ts +1 -0
  330. package/utils/time/formats.const.d.ts +8 -0
  331. package/utils/time/periods.const.d.ts +29 -0
  332. package/utils/types/column.types.d.ts +56 -0
  333. package/utils/types/type-check.d.ts +7 -0
  334. package/lib/37.js +0 -1
  335. package/lib/729.js +0 -1
  336. package/lib/common-31743c5a.js +0 -13
  337. package/lib/common-b02547a0.js +0 -1
  338. package/lib/common-b49d9a9d.js +0 -1
  339. package/lib/common-b5232813.js +0 -56
  340. package/lib/common-cefd4f4c.js +0 -1
  341. package/lib/common-d6cb565f.js +0 -1
  342. package/lib/common-fd868059.js +0 -1
  343. package/lib/common-fedaf338.js +0 -32
  344. package/lib/edit-option-picker/index.js +0 -314
  345. package/lib/edit-option-slider/index.js +0 -102
  346. package/lib/edit-option-toggle/index.js +0 -114
  347. package/lib/index.js +0 -346
  348. package/lib/vendors-93cc3efa.js +0 -1
  349. package/lib/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,317 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import { I as z, r as h, x as m, H as n } from "./property-CD3dwBJC.js";
21
+ import { m as g, d as c } from "./if-defined-CYpcjGCb-tXzyj9Dq.js";
22
+ import { m as b } from "./sized-mixin-PyCYpyQq-B40Ek2UB.js";
23
+ /*! * Lucero - The design system for Luzmo.
24
+ *
25
+ * Copyright © 2025 Luzmo
26
+ * All rights reserved.
27
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
28
+ * This license allows users with a current active Luzmo account to use Lucero.
29
+ * This license terminates automatically if a user no longer has an active Luzmo account.
30
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
31
+ *
32
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38
+ * SOFTWARE.
39
+ * */
40
+ const f = Symbol(
41
+ "dependency manager loaded"
42
+ );
43
+ class v {
44
+ constructor(o) {
45
+ this.dependencies = {}, this._loaded = !1, this.host = o;
46
+ }
47
+ /**
48
+ * Whether all of the provided dependencies have been registered.
49
+ * This will be `false` when no dependencies have been listed for management.
50
+ * Changes to this value will trigger `requestUpdate()` on the host.
51
+ */
52
+ get loaded() {
53
+ return this._loaded;
54
+ }
55
+ set loaded(o) {
56
+ o !== this.loaded && (this._loaded = o, this.host.requestUpdate(f, !this.loaded));
57
+ }
58
+ /**
59
+ * Submit a custom element tag name to be managed as a dependency.
60
+ *
61
+ * @param dependency {string} - the custom element tag to manage
62
+ * @param alreadyLoaded {boolean} - force the managemented custom element to be listed as loaded
63
+ */
64
+ add(o, t) {
65
+ const l = !!t || !!customElements.get(o) || this.dependencies[o];
66
+ l || customElements.whenDefined(o).then(() => {
67
+ this.add(o, !0);
68
+ }), this.dependencies = {
69
+ ...this.dependencies,
70
+ [o]: l
71
+ }, this.loaded = Object.values(this.dependencies).every(Boolean);
72
+ }
73
+ }
74
+ /*! * Lucero - The design system for Luzmo.
75
+ *
76
+ * Copyright © 2025 Luzmo
77
+ * All rights reserved.
78
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
79
+ * This license allows users with a current active Luzmo account to use Lucero.
80
+ * This license terminates automatically if a user no longer has an active Luzmo account.
81
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
82
+ *
83
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
89
+ * SOFTWARE.
90
+ * */
91
+ const d = [
92
+ "button",
93
+ "[focusable]",
94
+ "[href]",
95
+ "input",
96
+ "label",
97
+ "select",
98
+ "textarea",
99
+ "[tabindex]"
100
+ ], u = ':not([tabindex="-1"])', O = d.join(`${u}, `) + u, T = d.join(", ");
101
+ /*! * Lucero - The design system for Luzmo.
102
+ *
103
+ * Copyright © 2025 Luzmo
104
+ * All rights reserved.
105
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
106
+ * This license allows users with a current active Luzmo account to use Lucero.
107
+ * This license terminates automatically if a user no longer has an active Luzmo account.
108
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
109
+ *
110
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
111
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
112
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
113
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
114
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
115
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
116
+ * SOFTWARE.
117
+ * */
118
+ const y = () => {
119
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
120
+ const p = document.createElement("style");
121
+ p.setAttribute("data-luzmo-vars", ""), p.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(p);
122
+ }
123
+ };
124
+ y();
125
+ const x = "#tooltip{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration, .13s) ease-in-out,opacity var(--luzmo-overlay-animation-duration, .13s) ease-in-out,visibility 0s linear var(--luzmo-overlay-animation-duration, .13s)}:host([open]) #tooltip{pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened, 0s)}@media (forced-colors: active){#tooltip{border:1px solid rgba(0,0,0,0)}#tip{--highcontrast-tooltip-background-color-default: CanvasText;--highcontrast-tooltip-background-color-informative: CanvasText;--highcontrast-tooltip-background-color-positive: CanvasText;--highcontrast-tooltip-background-color-negative: CanvasText;forced-color-adjust:none}}#tooltip{box-sizing:border-box;vertical-align:top;inline-size:auto;padding-inline:var(--luzmo-tooltip-spacing-inline, .688rem);border-radius:var(--luzmo-tooltip-border-radius, .313rem);block-size:auto;min-block-size:var(--luzmo-tooltip-height, 1.875rem);max-inline-size:var(--luzmo-tooltip-max-inline-size, 12.5rem);background-color:var(--highcontrast-tooltip-background-color-default, var(--luzmo-tooltip-background-color-default, rgb(109, 109, 109)));color:var(--luzmo-tooltip-content-color, white);font-size:var(--luzmo-tooltip-font-size, var(--tooltip-font-size, .938rem));font-weight:var(--luzmo-tooltip-font-weight, 400);line-height:var(--luzmo-tooltip-line-height, 1.3);word-break:break-word;-webkit-font-smoothing:antialiased;cursor:default;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;display:inline-flex;position:relative}:host(:lang(ja)) #tooltip,:host(:lang(ko)) #tooltip,:host(:lang(zh)) #tooltip{line-height:var(--luzmo-tooltip-cjk-line-height, 1.5)}#tooltip p{margin:0}:host([variant=info]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-informative, var(--luzmo-tooltip-background-color-informative, rgb(2, 101, 220)))}:host([variant=positive]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-positive, var(--luzmo-tooltip-background-color-positive, rgb(0, 122, 77)))}:host([variant=negative]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-negative, var(--luzmo-tooltip-background-color-negative, rgb(211, 21, 16)))}#tip{block-size:var(--luzmo-tooltip-tip-square-size, .625rem);inline-size:var(--luzmo-tooltip-tip-square-size, .625rem);inset-block-start:100%;background-color:var(--highcontrast-tooltip-background-color-default, var(--luzmo-tooltip-background-color-default, rgb(109, 109, 109)));clip-path:polygon(0 calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)),50% var(--luzmo-tooltip-tip-height-percentage, 50%),100% calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)));position:absolute;left:50%;transform:translate(-50%)}:host([variant=info]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-informative, var(--luzmo-tooltip-background-color-informative, rgb(2, 101, 220)))}:host([variant=positive]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-positive, var(--luzmo-tooltip-background-color-positive, rgb(0, 122, 77)))}:host([variant=negative]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-negative, var(--luzmo-tooltip-background-color-negative, rgb(211, 21, 16)))}:host([placement*=top]) #tooltip #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip,.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip{clip-path:polygon(50% calc(100% - var(--luzmo-tooltip-tip-height-percentage, 50%)),0 calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)),100% calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)));inset-block:auto 100%}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{transform:none}.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--top-left #tip{inset-inline-start:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--top-right #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-start #tip{inset-inline:var(--luzmo-tooltip-pointer-corner-spacing, .313rem) auto}.luzmo-Tooltip--bottom-start #tip:dir(rtl),.luzmo-Tooltip--top-start #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--bottom-start #tip,:host([dir=rtl]) .luzmo-Tooltip--top-start #tip{right:var(--luzmo-tooltip-pointer-corner-spacing, .313rem);left:auto}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--top-end #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-end #tip:dir(rtl),.luzmo-Tooltip--top-end #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--bottom-end #tip,:host([dir=rtl]) .luzmo-Tooltip--top-end #tip{left:var(--luzmo-tooltip-pointer-corner-spacing, .313rem);right:auto}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:50%;transform:translateY(-50%)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:auto;transform:none}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip{clip-path:polygon(calc(100% - var(--luzmo-tooltip-tip-height-percentage, 50%)) 50%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0);inset-inline:auto 100%}:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0,calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,var(--luzmo-tooltip-tip-height-percentage, 50%) 50%);inset-inline-start:100%}.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--start-bottom #tip{inset-block-end:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--end #tip:dir(rtl),.luzmo-Tooltip--end-bottom #tip:dir(rtl),.luzmo-Tooltip--end-top #tip:dir(rtl),:host([placement*=left]) #tooltip #tip:dir(rtl),.luzmo-Tooltip--left-bottom #tip:dir(rtl),.luzmo-Tooltip--left-top #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--end #tip,:host([dir=rtl]) .luzmo-Tooltip--end-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--end-top #tip,:host([dir=rtl][placement*=left]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--left-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--left-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0,calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,var(--luzmo-tooltip-tip-height-percentage, 50%) 50%);left:100%;right:auto}:host([placement*=right]) #tooltip #tip:dir(rtl),.luzmo-Tooltip--right-bottom #tip:dir(rtl),.luzmo-Tooltip--right-top #tip:dir(rtl),.luzmo-Tooltip--start #tip:dir(rtl),.luzmo-Tooltip--start-bottom #tip:dir(rtl),.luzmo-Tooltip--start-top #tip:dir(rtl),:host([dir=rtl][placement*=right]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--right-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--right-top #tip,:host([dir=rtl]) .luzmo-Tooltip--start #tip,:host([dir=rtl]) .luzmo-Tooltip--start-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--start-top #tip{clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage, 50%) 50%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0);left:auto;right:100%}::slotted([slot=icon]){inline-size:var(--luzmo-tooltip-icon-width, 1.125rem);block-size:var(--luzmo-tooltip-icon-height, 1.125rem);flex-shrink:0;align-self:flex-start;margin-block-start:var(--luzmo-tooltip-icon-spacing-block-start, .313rem);margin-inline-start:calc(var(--luzmo-tooltip-icon-spacing-inline-start, .563rem) - var(--luzmo-tooltip-spacing-inline, .688rem));margin-inline-end:var(--luzmo-tooltip-icon-spacing-inline-end, .563rem)}#label{line-height:var(--luzmo-tooltip-line-height, 1.3);margin-block-start:var(--luzmo-tooltip-spacing-block-start, .313rem);margin-block-end:var(--luzmo-tooltip-spacing-block-end, .375rem)}#tooltip,:host([placement*=top]) #tooltip,.luzmo-Tooltip--top-end,.luzmo-Tooltip--top-left,.luzmo-Tooltip--top-right,.luzmo-Tooltip--top-start{margin-block-end:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--top-end,:host([open]) .luzmo-Tooltip--top-left,:host([open]) .luzmo-Tooltip--top-right,:host([open]) .luzmo-Tooltip--top-start,:host([placement*=top][open]) #tooltip,:host([open]) #tooltip{transform:translateY(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host([placement*=bottom]) #tooltip,.luzmo-Tooltip--bottom-end,.luzmo-Tooltip--bottom-left,.luzmo-Tooltip--bottom-right,.luzmo-Tooltip--bottom-start{margin-block-start:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--bottom-end,:host([open]) .luzmo-Tooltip--bottom-left,:host([open]) .luzmo-Tooltip--bottom-right,:host([open]) .luzmo-Tooltip--bottom-start,:host([placement*=bottom][open]) #tooltip{transform:translateY(var(--luzmo-tooltip-animation-distance, .313rem))}:host([placement*=right]) #tooltip,.luzmo-Tooltip--right-bottom,.luzmo-Tooltip--right-top{margin-left:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--right-bottom,:host([open]) .luzmo-Tooltip--right-top,:host([placement*=right][open]) #tooltip{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}:host([placement*=left]) #tooltip,.luzmo-Tooltip--left-bottom,.luzmo-Tooltip--left-top{margin-right:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--left-bottom,:host([open]) .luzmo-Tooltip--left-top,:host([placement*=left][open]) #tooltip{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}.luzmo-Tooltip--start,.luzmo-Tooltip--start-bottom,.luzmo-Tooltip--start-top{margin-inline-end:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--start-bottom,:host([open]) .luzmo-Tooltip--start-top,:host([open]) .luzmo-Tooltip--start{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host([open]) .luzmo-Tooltip--start-bottom:dir(rtl),:host([open]) .luzmo-Tooltip--start-top:dir(rtl),:host([open]) .luzmo-Tooltip--start:dir(rtl),:host([dir=rtl][open]) .luzmo-Tooltip--start-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--start-top,:host([dir=rtl][open]) .luzmo-Tooltip--start{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}.luzmo-Tooltip--end,.luzmo-Tooltip--end-bottom,.luzmo-Tooltip--end-top{margin-inline-start:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--end-bottom,:host([open]) .luzmo-Tooltip--end-top,:host([open]) .luzmo-Tooltip--end{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}:host([open]) .luzmo-Tooltip--end-bottom:dir(rtl),:host([open]) .luzmo-Tooltip--end-top:dir(rtl),:host([open]) .luzmo-Tooltip--end:dir(rtl),:host([dir=rtl][open]) .luzmo-Tooltip--end-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--end-top,:host([dir=rtl][open]) .luzmo-Tooltip--end{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host{--luzmo-tooltip-background-color-default: rgb(0, 0, 0);--tooltip-font-size: var(--luzmo-font-size)}:host([size=s]){--tooltip-font-size: var(--luzmo-font-size-s)}:host([size=m]){--tooltip-font-size: var(--luzmo-font-size-m)}:host([size=l]){--tooltip-font-size: var(--luzmo-font-size-l)}:host([size=xl]){--tooltip-font-size: var(--luzmo-font-size-xl)}:host{display:contents;white-space:initial}#tooltip{inline-size:max-content}#tip{clip-path:polygon(0 -5%,50% 50%,100% -5%);width:.625rem!important;height:.625rem!important}#tip[style]{transform:none!important}:host(:not([placement*=top])) #tooltip{margin-bottom:0}:host([placement*=top]) #tooltip #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip{inset-block-end:100%;clip-path:polygon(50% 50%,0 105%,100% 105%);top:auto}:host([placement*=left]) #tooltip #tip,:host([placement*=right]) #tooltip #tip{inset-block-start:50%;transform:translateY(-50%)}:host([placement*=right]) #tooltip #tip{clip-path:polygon(50% 50%,105% 100%,105% 0);inset-inline:calc(var(--luzmo-tooltip-tip-block-size, .313rem) * -2) 100%}:host([placement*=left]) #tooltip #tip{clip-path:polygon(-5% 0,-5% 100%,50% 50%);inset-inline-start:100%}luzmo-overlay:not(:defined){display:none}";
126
+ var k = Object.defineProperty, w = Object.getOwnPropertyDescriptor, r = (p, o, t, l) => {
127
+ for (var i = l > 1 ? void 0 : l ? w(o, t) : o, a = p.length - 1, s; a >= 0; a--)
128
+ (s = p[a]) && (i = (l ? s(o, t, i) : s(i)) || i);
129
+ return l && i && k(o, t, i), i;
130
+ };
131
+ class E extends HTMLElement {
132
+ constructor() {
133
+ super(), this._open = !1, this._placement = "top", this.addEventListener("luzmo-opened", this.redispatchEvent), this.addEventListener("luzmo-closed", this.redispatchEvent);
134
+ }
135
+ redispatchEvent(o) {
136
+ o.stopPropagation(), this.tooltip.dispatchEvent(
137
+ new CustomEvent(o.type, {
138
+ bubbles: o.bubbles,
139
+ composed: o.composed,
140
+ detail: o.detail
141
+ })
142
+ );
143
+ }
144
+ get tooltip() {
145
+ return this.getRootNode().host;
146
+ }
147
+ static get observedAttributes() {
148
+ return ["open", "placement"];
149
+ }
150
+ attributeChangedCallback(o, t, l) {
151
+ switch (o) {
152
+ // API generally sets `open` as a property
153
+ /* c8 ignore next 3 */
154
+ case "open": {
155
+ this.open = l !== null;
156
+ break;
157
+ }
158
+ case "placement": {
159
+ this.placement = l;
160
+ break;
161
+ }
162
+ }
163
+ }
164
+ set open(o) {
165
+ this._open = o;
166
+ const { tooltip: t } = this;
167
+ t && (t.open = o);
168
+ }
169
+ /* c8 ignore next 3 */
170
+ get open() {
171
+ return this._open;
172
+ }
173
+ /**
174
+ * @type {"top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end"}
175
+ * @attr
176
+ */
177
+ set placement(o) {
178
+ this._placement = o;
179
+ const { tooltip: t } = this;
180
+ t && (t.placement = o);
181
+ }
182
+ /* c8 ignore next 3 */
183
+ get placement() {
184
+ return this._placement;
185
+ }
186
+ get tipElement() {
187
+ return this.tooltip.tipElement;
188
+ }
189
+ }
190
+ customElements.get("luzmo-tooltip-openable") || customElements.define("luzmo-tooltip-openable", E);
191
+ class e extends b(z, {
192
+ defaultSize: "s"
193
+ }) {
194
+ constructor() {
195
+ super(...arguments), this.delayed = !1, this.dependencyManager = new v(this), this.disabled = !1, this.selfManaged = !1, this.offset = 0, this.open = !1, this._variant = "", this.handleOpenOverlay = () => {
196
+ this.open = !0;
197
+ }, this.handleCloseOverlay = () => {
198
+ this.open = !1;
199
+ };
200
+ }
201
+ static get styles() {
202
+ return [h(x)];
203
+ }
204
+ get variant() {
205
+ return this._variant;
206
+ }
207
+ set variant(o) {
208
+ if (o !== this.variant) {
209
+ if (["info", "positive", "negative"].includes(o)) {
210
+ this.setAttribute("variant", o), this._variant = o;
211
+ return;
212
+ }
213
+ this.removeAttribute("variant"), this._variant = "";
214
+ }
215
+ }
216
+ forwardTransitionEvent(o) {
217
+ this.dispatchEvent(
218
+ new TransitionEvent(o.type, {
219
+ bubbles: !0,
220
+ composed: !0,
221
+ propertyName: o.propertyName
222
+ })
223
+ );
224
+ }
225
+ get triggerElement() {
226
+ var o;
227
+ let t = this.assignedSlot || this, l = t.getRootNode();
228
+ if (l === document)
229
+ return null;
230
+ let i = t.parentElement || l.host || /* c8 ignore next 1 */
231
+ l;
232
+ for (; !((o = i == null ? void 0 : i.matches) != null && o.call(i, T)); ) {
233
+ if (t = i.assignedSlot || i, l = t.getRootNode(), l === document)
234
+ return null;
235
+ i = t.parentElement || l.host || /* c8 ignore next 1 */
236
+ l;
237
+ }
238
+ return i;
239
+ }
240
+ render() {
241
+ const o = m`
242
+ <luzmo-tooltip-openable
243
+ id="tooltip"
244
+ placement=${g(this.placement)}
245
+ @transitionrun=${this.forwardTransitionEvent}
246
+ @transitionend=${this.forwardTransitionEvent}
247
+ @transitioncancel=${this.forwardTransitionEvent}
248
+ >
249
+ <slot name="icon"></slot>
250
+ <span id="label"><slot></slot></span>
251
+ <span id="tip" aria-hidden="true"></span>
252
+ </luzmo-tooltip-openable>
253
+ `;
254
+ return this.selfManaged ? (this.dependencyManager.add("luzmo-overlay"), import("./index-BRk42NQn.js").then((t) => t.i), m`
255
+ <luzmo-overlay
256
+ ?open=${this.open && !this.disabled && this.dependencyManager.loaded}
257
+ ?delayed=${this.delayed}
258
+ ?disabled=${this.disabled}
259
+ offset=${this.offset}
260
+ .placement=${this.placement}
261
+ type="hint"
262
+ .tipPadding=${this.tipPadding}
263
+ .triggerInteraction=${"hover"}
264
+ @luzmo-opened=${this.handleOpenOverlay}
265
+ @luzmo-closed=${this.handleCloseOverlay}
266
+ >
267
+ ${o}
268
+ </luzmo-overlay>
269
+ `) : o;
270
+ }
271
+ connectedCallback() {
272
+ super.connectedCallback(), this.updateComplete.then(() => {
273
+ if (!this.selfManaged)
274
+ return;
275
+ const o = this.overlayElement;
276
+ if (o) {
277
+ const t = this.triggerElement;
278
+ o.triggerElement = t;
279
+ }
280
+ });
281
+ }
282
+ }
283
+ r([
284
+ n({ type: Boolean })
285
+ ], e.prototype, "delayed", 2);
286
+ r([
287
+ n({ type: Boolean })
288
+ ], e.prototype, "disabled", 2);
289
+ r([
290
+ n({ type: Boolean, attribute: "self-managed" })
291
+ ], e.prototype, "selfManaged", 2);
292
+ r([
293
+ n({ type: Number })
294
+ ], e.prototype, "offset", 2);
295
+ r([
296
+ n({ type: Boolean, reflect: !0 })
297
+ ], e.prototype, "open", 2);
298
+ r([
299
+ c("luzmo-overlay")
300
+ ], e.prototype, "overlayElement", 2);
301
+ r([
302
+ n({ reflect: !0 })
303
+ ], e.prototype, "placement", 2);
304
+ r([
305
+ c("#tip")
306
+ ], e.prototype, "tipElement", 2);
307
+ r([
308
+ n({ type: Number })
309
+ ], e.prototype, "tipPadding", 2);
310
+ r([
311
+ n({ type: String })
312
+ ], e.prototype, "variant", 1);
313
+ customElements.get("luzmo-tooltip") || customElements.define("luzmo-tooltip", e);
314
+ export {
315
+ v as a,
316
+ O as t
317
+ };