@luzmo/analytics-components-kit 1.0.1-alpha.48 → 1.0.1-alpha.49

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 (191) hide show
  1. package/components/{bar-chart-options.config-BdbbHUJZ.js → bar-chart-options.config-D1mb5TDl.js} +1 -0
  2. package/components/{bar-chart-options.config-C9XGEujs.cjs → bar-chart-options.config-DcxEkOT5.cjs} +1 -1
  3. package/components/{bar-chart-options.de-DwTn_qfu.js → bar-chart-options.de-BQ4qGaQc.js} +1 -0
  4. package/components/{bar-chart-options.de-BGzu5Zgd.cjs → bar-chart-options.de-Dr5zKz8Q.cjs} +1 -1
  5. package/components/{column-chart-options.en-D1UfGsS3.cjs → bar-chart-options.en-DdQ2PYrw.cjs} +1 -1
  6. package/components/{bar-chart-options.en-Crc8tYUJ.js → bar-chart-options.en-LjG6f4hw.js} +1 -0
  7. package/components/{bar-chart-options.es-ByT_D06p.js → bar-chart-options.es-BfIKCPf-.js} +1 -0
  8. package/components/{bar-chart-options.es-B2UWafXc.cjs → bar-chart-options.es-DgYVxn9U.cjs} +1 -1
  9. package/components/{bar-chart-options.fr-BwiGRlQf.js → bar-chart-options.fr-Cg1lQV2y.js} +1 -0
  10. package/components/{bar-chart-options.fr-CP7DTrlk.cjs → bar-chart-options.fr-rteFm93C.cjs} +1 -1
  11. package/components/{column-chart-options.nl-3wAj9uWY.cjs → bar-chart-options.nl--gwlkpc0.cjs} +1 -1
  12. package/components/{bar-chart-options.nl-DzXnHdwX.js → bar-chart-options.nl-CB2W4rzf.js} +1 -0
  13. package/components/{calculate-data-item-icon-DlfbBvFN.cjs → calculate-data-item-icon-Dn-9Kd0U.cjs} +1 -1
  14. package/components/{calculate-data-item-icon-BiIL_s4Z.js → calculate-data-item-icon-Dpvf1aLI.js} +51 -51
  15. package/components/{column-chart-options.config-BqSQ1Sl9.js → column-chart-options.config-B5SjBVdy.js} +10 -9
  16. package/components/{column-chart-options.config-Bi0RAzK-.cjs → column-chart-options.config-BjDvA7i9.cjs} +1 -1
  17. package/components/{column-chart-options.de-pgdcIHqk.cjs → column-chart-options.de-BU__cJy3.cjs} +1 -1
  18. package/components/{column-chart-options.de-VQVdi8aP.js → column-chart-options.de-BkkWD9rB.js} +1 -0
  19. package/components/{bar-chart-options.en-D1UfGsS3.cjs → column-chart-options.en-DdQ2PYrw.cjs} +1 -1
  20. package/components/{column-chart-options.en-Crc8tYUJ.js → column-chart-options.en-LjG6f4hw.js} +1 -0
  21. package/components/{column-chart-options.es-CT9ZtjV_.js → column-chart-options.es-BgOc-gTh.js} +1 -0
  22. package/components/{column-chart-options.es-CAAXJv_2.cjs → column-chart-options.es-CkaTU6qn.cjs} +1 -1
  23. package/components/{column-chart-options.fr-BwiGRlQf.js → column-chart-options.fr-Cg1lQV2y.js} +1 -0
  24. package/components/{column-chart-options.fr-CP7DTrlk.cjs → column-chart-options.fr-rteFm93C.cjs} +1 -1
  25. package/components/{bar-chart-options.nl-DZe2pKRa.cjs → column-chart-options.nl-Bhe6rcUo.cjs} +1 -1
  26. package/components/{column-chart-options.nl-DB2dcotu.js → column-chart-options.nl-CAeBYwQC.js} +1 -0
  27. package/components/{de-eIqMhTVC.cjs → de-Cxe7xkT4.cjs} +1 -1
  28. package/components/{de-BbcctJsI.js → de-ZPzjN2kc.js} +0 -1
  29. package/components/directive-BOOaQO_r.cjs +24 -0
  30. package/components/directive-CF_9GVrT.js +46 -0
  31. package/components/display-settings/display-settings.d.ts +2 -2
  32. package/components/display-settings/index.cjs +1 -1
  33. package/components/display-settings/index.js +2 -2
  34. package/components/display-settings-binning/index.cjs +1 -1
  35. package/components/display-settings-binning/index.js +11 -11
  36. package/components/display-settings-datetime/index.cjs +1 -1
  37. package/components/display-settings-datetime/index.js +13 -13
  38. package/components/display-settings-grand-totals/index.cjs +1 -1
  39. package/components/display-settings-grand-totals/index.js +11 -11
  40. package/components/display-settings-numeric/display-settings-numeric.d.ts +3 -1
  41. package/components/display-settings-numeric/index.cjs +61 -40
  42. package/components/display-settings-numeric/index.js +223 -182
  43. package/components/display-settings-period-over-period/index.cjs +6 -6
  44. package/components/display-settings-period-over-period/index.js +11 -11
  45. package/components/draggable-data-item/draggable-data-item.d.ts +1 -0
  46. package/components/draggable-data-item/index.cjs +8 -5
  47. package/components/draggable-data-item/index.js +44 -38
  48. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -0
  49. package/components/draggable-data-item-level/index.cjs +10 -10
  50. package/components/draggable-data-item-level/index.js +102 -77
  51. package/components/droppable-slot/droppable-slot.d.ts +29 -9
  52. package/components/droppable-slot/index.cjs +25 -71
  53. package/components/droppable-slot/index.js +274 -623
  54. package/components/edit-item/index.cjs +2 -2
  55. package/components/edit-item/index.js +18 -18
  56. package/components/edit-option/index.cjs +1 -1
  57. package/components/edit-option/index.js +2 -2
  58. package/components/edit-option-action-button-group/index.cjs +1 -1
  59. package/components/edit-option-action-button-group/index.js +6 -6
  60. package/components/{edit-option-base-D25zHZVl.js → edit-option-base-CG0JcbX9.js} +3 -3
  61. package/components/{edit-option-base-h5ndfVK4.cjs → edit-option-base-a2yoNqdf.cjs} +1 -1
  62. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  63. package/components/edit-option-color-palette-picker/index.js +3 -3
  64. package/components/edit-option-color-picker/index.cjs +1 -1
  65. package/components/edit-option-color-picker/index.js +5 -5
  66. package/components/edit-option-color-range/index.cjs +1 -1
  67. package/components/edit-option-color-range/index.js +12 -12
  68. package/components/edit-option-multi-language-field/index.cjs +1 -1
  69. package/components/edit-option-multi-language-field/index.js +4 -4
  70. package/components/edit-option-number-field/index.cjs +1 -1
  71. package/components/edit-option-number-field/index.js +5 -5
  72. package/components/edit-option-picker/index.cjs +1 -1
  73. package/components/edit-option-picker/index.js +5 -5
  74. package/components/edit-option-position-picker/index.cjs +1 -1
  75. package/components/edit-option-position-picker/index.js +4 -4
  76. package/components/edit-option-positions-number-field/index.cjs +1 -1
  77. package/components/edit-option-positions-number-field/index.js +6 -6
  78. package/components/edit-option-radio-button-group/index.cjs +1 -1
  79. package/components/edit-option-radio-button-group/index.js +4 -4
  80. package/components/edit-option-slider/index.cjs +1 -1
  81. package/components/edit-option-slider/index.js +3 -3
  82. package/components/edit-option-switch/index.cjs +1 -1
  83. package/components/edit-option-switch/index.js +3 -3
  84. package/components/edit-option-text-field/index.cjs +1 -1
  85. package/components/edit-option-text-field/index.js +7 -7
  86. package/components/{es-tWaYVbsQ.cjs → es-4dEouIgb.cjs} +1 -1
  87. package/components/{es-ByWFTJ0s.js → es-C0JGlz18.js} +0 -1
  88. package/components/filter-data-item-picker/index.cjs +1 -1
  89. package/components/filter-data-item-picker/index.js +8 -8
  90. package/components/filter-expression-picker/index.cjs +1 -1
  91. package/components/filter-expression-picker/index.js +2 -2
  92. package/components/filter-item/index.cjs +1 -1
  93. package/components/filter-item/index.js +24 -24
  94. package/components/filter-value-picker/index.cjs +1 -1
  95. package/components/filter-value-picker/index.js +4 -4
  96. package/components/filter-value-picker-datetime/index.cjs +1 -1
  97. package/components/filter-value-picker-datetime/index.js +302 -302
  98. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  99. package/components/filter-value-picker-hierarchy/index.js +8 -8
  100. package/components/filter-value-picker-numeric/index.cjs +1 -1
  101. package/components/filter-value-picker-numeric/index.js +8 -8
  102. package/components/{focusable-Bhf_beoW.js → focusable-BbymtxWI.js} +1 -1
  103. package/components/{focusable-B8t8a-WJ.cjs → focusable-DAGGGYyz.cjs} +1 -1
  104. package/components/{fr-C5b2Wgoz.js → fr-B_-_f-VN.js} +0 -1
  105. package/components/{fr-2igiTsHU.cjs → fr-Dwulhlbi.cjs} +1 -1
  106. package/components/grid/index.cjs +18 -22
  107. package/components/grid/index.js +28 -49
  108. package/components/{if-defined-Dg09naf2.js → if-defined-Barg9gGQ.js} +1 -1
  109. package/components/{if-defined-DjdbEoAa.cjs → if-defined-wiCAR_aA.cjs} +1 -1
  110. package/components/{index-cbfU96gS.cjs → index-1oIrlkAr.cjs} +8 -8
  111. package/components/{index-BqSQoHjg.js → index-5Z9GD60H.js} +6 -6
  112. package/components/{index-9LxnqLJa.js → index-B2ngKWOI.js} +2 -2
  113. package/components/{index-COU9XhBt.js → index-BC1LV3vH.js} +1 -1
  114. package/components/{index-Cf_a7VrO.js → index-BEtf1WaQ.js} +2 -2
  115. package/components/{index-DMhm0FM8.cjs → index-BbpsZYZF.cjs} +25 -26
  116. package/components/{index-DRLFjkH0.cjs → index-BfzppmHn.cjs} +2 -2
  117. package/components/{index-BobhBKA2.js → index-BssHAgUU.js} +1 -1
  118. package/components/index-Bt3JTHTC.js +787 -0
  119. package/components/index-CY_cyFdI.cjs +174 -0
  120. package/components/{index-DeIay7ZE.js → index-CbuHBIDB.js} +2 -2
  121. package/components/{index-BukPAqqU.cjs → index-Ck5VRoXN.cjs} +1 -1
  122. package/components/{index-DYmi-X87.js → index-DE3d0E0P.js} +2 -2
  123. package/components/{index-fwJBhawL.cjs → index-DSQyBS9Z.cjs} +1 -1
  124. package/components/{index-BY1yDIAI.js → index-DTI4dIyd.js} +586 -634
  125. package/components/index-D_jFGBMs.js +174 -0
  126. package/components/{index-D9yzIoGv.js → index-Delpl7qa.js} +368 -306
  127. package/components/{index-B7AFYrfv.cjs → index-Df-_TbOD.cjs} +1 -1
  128. package/components/{index-C6NpWavw.js → index-DsP81c4M.js} +2 -2
  129. package/components/index-Dy_5M3M5.cjs +42 -0
  130. package/components/{index-Bpdwb9Js.cjs → index-MPM_B4re.cjs} +3 -3
  131. package/components/{index-ydBgjAru.js → index-N845QLku.js} +16 -16
  132. package/components/{index--3gSNupB.cjs → index-Tx5oQjbt.cjs} +1 -1
  133. package/components/{index-BSgp4MWQ.cjs → index-cHKqEi5-.cjs} +1 -1
  134. package/components/index-eBsINoH9.cjs +20 -0
  135. package/components/{index-BKx2WhDB.cjs → index-tXl_aMnZ.cjs} +1 -1
  136. package/components/index.cjs +1 -1
  137. package/components/index.js +4 -4
  138. package/components/{localized-decorator-DNr1P1m0.js → localized-decorator-Bl5gcI6n.js} +1 -1
  139. package/components/{localized-decorator-SOrjcPab.cjs → localized-decorator-DIXYZ3RL.cjs} +1 -1
  140. package/components/{luzmo-icons-4Tmb3sKr.js → luzmo-icons-CVeTZ59u.js} +9 -9
  141. package/components/{luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs → luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs} +2 -2
  142. package/components/{luzmo-icons-4nDFv1Lq-DffGNBpO.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +7 -7
  143. package/components/{luzmo-icons-Bvm-_ECi.cjs → luzmo-icons-DonyjSXg.cjs} +1 -1
  144. package/components/{nl-B50x7wMn.cjs → nl-DxdBIXDd.cjs} +1 -1
  145. package/components/{nl-76jn_zMH.js → nl-gdQCG4WV.js} +0 -1
  146. package/components/{periods.const-CfXsouLz.cjs → periods.const-7sXlqgEo.cjs} +1 -1
  147. package/components/{periods.const-C89NNRX-.js → periods.const-B7FKokcH.js} +1 -1
  148. package/components/property-Cu4Q1hS4.cjs +42 -0
  149. package/components/{property-BFMfZY1k.js → property-DCzt3DR1.js} +277 -277
  150. package/components/{set-locale-Cam8nRIW.cjs → set-locale-DCPlazsZ.cjs} +1 -1
  151. package/components/{set-locale-DbEAMqUs.js → set-locale-GI34z_M7.js} +1 -1
  152. package/components/{sized-mixin-CkdMApAU.js → sized-mixin-BGzkX2g1.js} +1 -1
  153. package/components/{sized-mixin-C48t6K7U.cjs → sized-mixin-j_7aJM4b.cjs} +1 -1
  154. package/components/slot-contents-picker/index.cjs +1 -1
  155. package/components/slot-contents-picker/index.js +16 -16
  156. package/components/slot-menu/index.cjs +27 -22
  157. package/components/slot-menu/index.js +237 -148
  158. package/components/slot-menu/slot-menu.d.ts +34 -12
  159. package/components/slot-menu-list/index.cjs +1 -1
  160. package/components/slot-menu-list/index.js +5 -5
  161. package/components/{state-CuE7TJCY.cjs → state-fyl3IYMu.cjs} +1 -1
  162. package/components/{state-BSTa7W6f.js → state-nDsQPund.js} +1 -1
  163. package/components/{task-CDsB8Kbr.js → task-Bh_X-xIU.js} +1 -1
  164. package/components/{task-0B-FC3rj.cjs → task-CwmAXlv0.cjs} +1 -1
  165. package/components/{text-field-ol9Ed5lQ-cRqtIf_0.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +1 -1
  166. package/components/{text-field-ol9Ed5lQ-DbpeM4EP.js → text-field-BIADXoLC-B9oE05VF.js} +1 -1
  167. package/custom-elements.json +226 -41
  168. package/item-definitions/bar-chart/i18n/bar-chart-options.de.d.ts +1 -0
  169. package/item-definitions/bar-chart/i18n/bar-chart-options.en.d.ts +1 -0
  170. package/item-definitions/bar-chart/i18n/bar-chart-options.es.d.ts +1 -0
  171. package/item-definitions/bar-chart/i18n/bar-chart-options.fr.d.ts +1 -0
  172. package/item-definitions/bar-chart/i18n/bar-chart-options.nl.d.ts +1 -0
  173. package/item-definitions/box-plot/box-plot-options.config.d.ts +1 -1
  174. package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
  175. package/item-definitions/column-chart/i18n/column-chart-options.de.d.ts +1 -0
  176. package/item-definitions/column-chart/i18n/column-chart-options.en.d.ts +1 -0
  177. package/item-definitions/column-chart/i18n/column-chart-options.es.d.ts +1 -0
  178. package/item-definitions/column-chart/i18n/column-chart-options.fr.d.ts +1 -0
  179. package/item-definitions/column-chart/i18n/column-chart-options.nl.d.ts +1 -0
  180. package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +1 -1
  181. package/item-definitions/route-map/route-map-options.config.d.ts +1 -1
  182. package/item-definitions/spike-map/spike-map-options.config.d.ts +1 -1
  183. package/package.json +1 -1
  184. package/utils/data-broker/index.d.ts +9 -0
  185. package/utils/store/slot-store.d.ts +9 -3
  186. package/components/index-Be-pSgzQ.js +0 -174
  187. package/components/index-DCdx3dxQ.cjs +0 -42
  188. package/components/index-PGX2p9Ns.js +0 -304
  189. package/components/index-TQG9Xdxu.cjs +0 -20
  190. package/components/index-VHrmgynd.cjs +0 -121
  191. package/components/property-BV1QaY8E.cjs +0 -42
@@ -17,54 +17,55 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { a as io } from "../get-css-variable-YlLiVgo8.js";
21
- import { a as ao, s as no } from "../index-PGX2p9Ns.js";
22
- import { l as co } from "../localized-decorator-DNr1P1m0.js";
23
- import { m as x, g as po, t as uo, s as mo } from "../set-locale-DbEAMqUs.js";
24
- import { h as ho } from "../task-CDsB8Kbr.js";
25
- import { a8 as F, ab as fo, a7 as go } from "../luzmo-icons-4Tmb3sKr.js";
20
+ import { a as w } from "../get-css-variable-YlLiVgo8.js";
21
+ import { a as k, r as z, i as S, s as $ } from "../index-Bt3JTHTC.js";
22
+ import { l as E } from "../localized-decorator-Bl5gcI6n.js";
23
+ import { m as b, g as L, t as D, s as A } from "../set-locale-GI34z_M7.js";
24
+ import { h as T } from "../task-Bh_X-xIU.js";
25
+ import { a8 as y, ab as O, a7 as M } from "../luzmo-icons-CVeTZ59u.js";
26
26
  import "../index-BmshD32H.js";
27
- import { l as bo } from "../localize-BX7q0S0M.js";
28
- import { x as w, r as vo, n as C } from "../property-BFMfZY1k.js";
29
- import { e as zo } from "../query-Ddbd72Um.js";
30
- import { L as yo } from "../focusable-Bhf_beoW.js";
31
- import { S as Co } from "../sized-mixin-CkdMApAU.js";
27
+ import { l as P } from "../localize-BX7q0S0M.js";
28
+ import { x as h, r as I, n as u } from "../property-DCzt3DR1.js";
29
+ import { r as U } from "../state-nDsQPund.js";
30
+ import { e as N } from "../query-Ddbd72Um.js";
31
+ import { L as j } from "../focusable-BbymtxWI.js";
32
+ import { S as B } from "../sized-mixin-BGzkX2g1.js";
32
33
  import "../slot-menu/index.js";
33
- const so = () => {
34
+ const _ = () => {
34
35
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
35
- const o = document.createElement("style");
36
- o.setAttribute("data-luzmo-vars", ""), o.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-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-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(o);
36
+ const t = document.createElement("style");
37
+ t.setAttribute("data-luzmo-vars", ""), t.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-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-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(t);
37
38
  }
38
39
  };
39
- so();
40
+ _();
40
41
  /**
41
42
  * @license
42
43
  * Copyright 2021 Google LLC
43
44
  * SPDX-License-Identifier: BSD-3-Clause
44
45
  */
45
- class wo {
46
+ class G {
46
47
  get value() {
47
48
  return this.o;
48
49
  }
49
- set value(t) {
50
- this.setValue(t);
50
+ set value(o) {
51
+ this.setValue(o);
51
52
  }
52
- setValue(t, e = !1) {
53
- const r = e || !Object.is(t, this.o);
54
- this.o = t, r && this.updateObservers();
53
+ setValue(o, e = !1) {
54
+ const l = e || !Object.is(o, this.o);
55
+ this.o = o, l && this.updateObservers();
55
56
  }
56
- constructor(t) {
57
+ constructor(o) {
57
58
  this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
58
- for (const [e, { disposer: r }] of this.subscriptions) e(this.o, r);
59
- }, t !== void 0 && (this.value = t);
59
+ for (const [e, { disposer: l }] of this.subscriptions) e(this.o, l);
60
+ }, o !== void 0 && (this.value = o);
60
61
  }
61
- addCallback(t, e, r) {
62
- if (!r) return void t(this.value);
63
- this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
64
- this.subscriptions.delete(t);
62
+ addCallback(o, e, l) {
63
+ if (!l) return void o(this.value);
64
+ this.subscriptions.has(o) || this.subscriptions.set(o, { disposer: () => {
65
+ this.subscriptions.delete(o);
65
66
  }, consumerHost: e });
66
- const { disposer: l } = this.subscriptions.get(t);
67
- t(this.value, l);
67
+ const { disposer: s } = this.subscriptions.get(o);
68
+ o(this.value, s);
68
69
  }
69
70
  clearCallbacks() {
70
71
  this.subscriptions.clear();
@@ -75,513 +76,106 @@ class wo {
75
76
  * Copyright 2021 Google LLC
76
77
  * SPDX-License-Identifier: BSD-3-Clause
77
78
  */
78
- class xo extends Event {
79
- constructor(t, e) {
80
- super("context-provider", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e;
79
+ class R extends Event {
80
+ constructor(o, e) {
81
+ super("context-provider", { bubbles: !0, composed: !0 }), this.context = o, this.contextTarget = e;
81
82
  }
82
83
  }
83
- class So extends wo {
84
- constructor(t, e, r) {
85
- var l, d;
86
- super(e.context !== void 0 ? e.initialValue : r), this.onContextRequest = (a) => {
87
- if (a.context !== this.context) return;
88
- const i = a.contextTarget ?? a.composedPath()[0];
89
- i !== this.host && (a.stopPropagation(), this.addCallback(a.callback, i, a.subscribe));
90
- }, this.onProviderRequest = (a) => {
91
- if (a.context !== this.context || (a.contextTarget ?? a.composedPath()[0]) === this.host) return;
92
- const i = /* @__PURE__ */ new Set();
93
- for (const [m, { consumerHost: n }] of this.subscriptions) i.has(m) || (i.add(m), n.dispatchEvent(new ao(this.context, n, m, !0)));
94
- a.stopPropagation();
95
- }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (d = (l = this.host).addController) == null || d.call(l, this);
84
+ class q extends G {
85
+ constructor(o, e, l) {
86
+ var s, i;
87
+ super(e.context !== void 0 ? e.initialValue : l), this.onContextRequest = (r) => {
88
+ if (r.context !== this.context) return;
89
+ const a = r.contextTarget ?? r.composedPath()[0];
90
+ a !== this.host && (r.stopPropagation(), this.addCallback(r.callback, a, r.subscribe));
91
+ }, this.onProviderRequest = (r) => {
92
+ if (r.context !== this.context || (r.contextTarget ?? r.composedPath()[0]) === this.host) return;
93
+ const a = /* @__PURE__ */ new Set();
94
+ for (const [p, { consumerHost: d }] of this.subscriptions) a.has(p) || (a.add(p), d.dispatchEvent(new k(this.context, d, p, !0)));
95
+ r.stopPropagation();
96
+ }, this.host = o, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (i = (s = this.host).addController) == null || i.call(s, this);
96
97
  }
97
98
  attachListeners() {
98
99
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
99
100
  }
100
101
  hostConnected() {
101
- this.host.dispatchEvent(new xo(this.context, this.host));
102
+ this.host.dispatchEvent(new R(this.context, this.host));
102
103
  }
103
104
  }
104
- var No = Object.defineProperty, ko = (o, t, e) => t in o ? No(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, $ = (o, t, e) => (ko(o, typeof t != "symbol" ? t + "" : t, e), e), _o = (o, t, e) => {
105
- if (!t.has(o))
106
- throw TypeError("Cannot " + e);
107
- }, M = (o, t) => {
108
- if (Object(t) !== t)
109
- throw TypeError('Cannot use the "in" operator on this value');
110
- return o.has(t);
111
- }, I = (o, t, e) => {
112
- if (t.has(o))
113
- throw TypeError("Cannot add the same private member more than once");
114
- t instanceof WeakSet ? t.add(o) : t.set(o, e);
115
- }, j = (o, t, e) => (_o(o, t, "access private method"), e);
116
- /**
117
- * @license
118
- * Copyright Google LLC All Rights Reserved.
119
- *
120
- * Use of this source code is governed by an MIT-style license that can be
121
- * found in the LICENSE file at https://angular.io/license
122
- */
123
- function Y(o, t) {
124
- return Object.is(o, t);
125
- }
126
- /**
127
- * @license
128
- * Copyright Google LLC All Rights Reserved.
129
- *
130
- * Use of this source code is governed by an MIT-style license that can be
131
- * found in the LICENSE file at https://angular.io/license
132
- */
133
- let h = null, k = !1, O = 1;
134
- const L = /* @__PURE__ */ Symbol("SIGNAL");
135
- function S(o) {
136
- const t = h;
137
- return h = o, t;
138
- }
139
- function Eo() {
140
- return h;
141
- }
142
- function To() {
143
- return k;
144
- }
145
- const q = {
146
- version: 0,
147
- lastCleanEpoch: 0,
148
- dirty: !1,
149
- producerNode: void 0,
150
- producerLastReadVersion: void 0,
151
- producerIndexOfThis: void 0,
152
- nextProducerIndex: 0,
153
- liveConsumerNode: void 0,
154
- liveConsumerIndexOfThis: void 0,
155
- consumerAllowSignalWrites: !1,
156
- consumerIsAlwaysLive: !1,
157
- producerMustRecompute: () => !1,
158
- producerRecomputeValue: () => {
159
- },
160
- consumerMarkedDirty: () => {
161
- },
162
- consumerOnSignalRead: () => {
163
- }
164
- };
165
- function A(o) {
166
- if (k)
167
- throw new Error(
168
- typeof ngDevMode < "u" && ngDevMode ? "Assertion error: signal read during notification phase" : ""
169
- );
170
- if (h === null)
171
- return;
172
- h.consumerOnSignalRead(o);
173
- const t = h.nextProducerIndex++;
174
- if (N(h), t < h.producerNode.length && h.producerNode[t] !== o && W(h)) {
175
- const e = h.producerNode[t];
176
- D(e, h.producerIndexOfThis[t]);
177
- }
178
- h.producerNode[t] !== o && (h.producerNode[t] = o, h.producerIndexOfThis[t] = W(h) ? Q(o, h, t) : 0), h.producerLastReadVersion[t] = o.version;
179
- }
180
- function Io() {
181
- O++;
182
- }
183
- function X(o) {
184
- if (!(!o.dirty && o.lastCleanEpoch === O)) {
185
- if (!o.producerMustRecompute(o) && !$o(o)) {
186
- o.dirty = !1, o.lastCleanEpoch = O;
187
- return;
188
- }
189
- o.producerRecomputeValue(o), o.dirty = !1, o.lastCleanEpoch = O;
190
- }
191
- }
192
- function Z(o) {
193
- if (o.liveConsumerNode === void 0)
194
- return;
195
- const t = k;
196
- k = !0;
197
- try {
198
- for (const e of o.liveConsumerNode)
199
- e.dirty || Lo(e);
200
- } finally {
201
- k = t;
202
- }
203
- }
204
- function Oo() {
205
- return (h == null ? void 0 : h.consumerAllowSignalWrites) !== !1;
206
- }
207
- function Lo(o) {
208
- var t;
209
- o.dirty = !0, Z(o), (t = o.consumerMarkedDirty) == null || t.call(o.wrapper ?? o);
210
- }
211
- function Ao(o) {
212
- return o && (o.nextProducerIndex = 0), S(o);
213
- }
214
- function Do(o, t) {
215
- if (S(t), !(!o || o.producerNode === void 0 || o.producerIndexOfThis === void 0 || o.producerLastReadVersion === void 0)) {
216
- if (W(o))
217
- for (let e = o.nextProducerIndex; e < o.producerNode.length; e++)
218
- D(o.producerNode[e], o.producerIndexOfThis[e]);
219
- for (; o.producerNode.length > o.nextProducerIndex; )
220
- o.producerNode.pop(), o.producerLastReadVersion.pop(), o.producerIndexOfThis.pop();
221
- }
222
- }
223
- function $o(o) {
224
- N(o);
225
- for (let t = 0; t < o.producerNode.length; t++) {
226
- const e = o.producerNode[t], r = o.producerLastReadVersion[t];
227
- if (r !== e.version || (X(e), r !== e.version))
228
- return !0;
229
- }
230
- return !1;
231
- }
232
- function Q(o, t, e) {
233
- var r;
234
- if (U(o), N(o), o.liveConsumerNode.length === 0) {
235
- (r = o.watched) == null || r.call(o.wrapper);
236
- for (let l = 0; l < o.producerNode.length; l++)
237
- o.producerIndexOfThis[l] = Q(o.producerNode[l], o, l);
238
- }
239
- return o.liveConsumerIndexOfThis.push(e), o.liveConsumerNode.push(t) - 1;
240
- }
241
- function D(o, t) {
242
- var e;
243
- if (U(o), N(o), typeof ngDevMode < "u" && ngDevMode && t >= o.liveConsumerNode.length)
244
- throw new Error(
245
- `Assertion error: active consumer index ${t} is out of bounds of ${o.liveConsumerNode.length} consumers)`
246
- );
247
- if (o.liveConsumerNode.length === 1) {
248
- (e = o.unwatched) == null || e.call(o.wrapper);
249
- for (let l = 0; l < o.producerNode.length; l++)
250
- D(o.producerNode[l], o.producerIndexOfThis[l]);
251
- }
252
- const r = o.liveConsumerNode.length - 1;
253
- if (o.liveConsumerNode[t] = o.liveConsumerNode[r], o.liveConsumerIndexOfThis[t] = o.liveConsumerIndexOfThis[r], o.liveConsumerNode.length--, o.liveConsumerIndexOfThis.length--, t < o.liveConsumerNode.length) {
254
- const l = o.liveConsumerIndexOfThis[t], d = o.liveConsumerNode[t];
255
- N(d), d.producerIndexOfThis[l] = t;
256
- }
257
- }
258
- function W(o) {
259
- var t;
260
- return o.consumerIsAlwaysLive || (((t = o == null ? void 0 : o.liveConsumerNode) == null ? void 0 : t.length) ?? 0) > 0;
261
- }
262
- function N(o) {
263
- o.producerNode ?? (o.producerNode = []), o.producerIndexOfThis ?? (o.producerIndexOfThis = []), o.producerLastReadVersion ?? (o.producerLastReadVersion = []);
264
- }
265
- function U(o) {
266
- o.liveConsumerNode ?? (o.liveConsumerNode = []), o.liveConsumerIndexOfThis ?? (o.liveConsumerIndexOfThis = []);
267
- }
268
- /**
269
- * @license
270
- * Copyright Google LLC All Rights Reserved.
271
- *
272
- * Use of this source code is governed by an MIT-style license that can be
273
- * found in the LICENSE file at https://angular.io/license
274
- */
275
- function J(o) {
276
- if (X(o), A(o), o.value === V)
277
- throw o.error;
278
- return o.value;
279
- }
280
- function Mo(o) {
281
- const t = Object.create(Po);
282
- t.computation = o;
283
- const e = () => J(t);
284
- return e[L] = t, e;
285
- }
286
- const P = /* @__PURE__ */ Symbol("UNSET"), R = /* @__PURE__ */ Symbol("COMPUTING"), V = /* @__PURE__ */ Symbol("ERRORED"), Po = {
287
- ...q,
288
- value: P,
289
- dirty: !0,
290
- error: null,
291
- equal: Y,
292
- producerMustRecompute(o) {
293
- return o.value === P || o.value === R;
294
- },
295
- producerRecomputeValue(o) {
296
- if (o.value === R)
297
- throw new Error("Detected cycle in computations.");
298
- const t = o.value;
299
- o.value = R;
300
- const e = Ao(o);
301
- let r, l = !1;
302
- try {
303
- r = o.computation.call(o.wrapper), l = t !== P && t !== V && o.equal.call(o.wrapper, t, r);
304
- } catch (d) {
305
- r = V, o.error = d;
306
- } finally {
307
- Do(o, e);
308
- }
309
- if (l) {
310
- o.value = t;
311
- return;
312
- }
313
- o.value = r, o.version++;
314
- }
315
- };
316
- /**
317
- * @license
318
- * Copyright Google LLC All Rights Reserved.
319
- *
320
- * Use of this source code is governed by an MIT-style license that can be
321
- * found in the LICENSE file at https://angular.io/license
322
- */
323
- function Ro() {
324
- throw new Error();
325
- }
326
- let Wo = Ro;
327
- function Vo() {
328
- Wo();
329
- }
330
- /**
331
- * @license
332
- * Copyright Google LLC All Rights Reserved.
333
- *
334
- * Use of this source code is governed by an MIT-style license that can be
335
- * found in the LICENSE file at https://angular.io/license
336
- */
337
- function qo(o) {
338
- const t = Object.create(Fo);
339
- t.value = o;
340
- const e = () => (A(t), t.value);
341
- return e[L] = t, e;
342
- }
343
- function Uo() {
344
- return A(this), this.value;
345
- }
346
- function Go(o, t) {
347
- Oo() || Vo(), o.equal.call(o.wrapper, o.value, t) || (o.value = t, jo(o));
348
- }
349
- const Fo = {
350
- ...q,
351
- equal: Y,
352
- value: void 0
353
- };
354
- function jo(o) {
355
- o.version++, Io(), Z(o);
356
- }
357
- /**
358
- * @license
359
- * Copyright 2024 Bloomberg Finance L.P.
360
- *
361
- * Licensed under the Apache License, Version 2.0 (the "License");
362
- * you may not use this file except in compliance with the License.
363
- * You may obtain a copy of the License at
364
- *
365
- * http://www.apache.org/licenses/LICENSE-2.0
366
- *
367
- * Unless required by applicable law or agreed to in writing, software
368
- * distributed under the License is distributed on an "AS IS" BASIS,
369
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
370
- * See the License for the specific language governing permissions and
371
- * limitations under the License.
372
- */
373
- const f = Symbol("node");
374
- var _;
375
- ((o) => {
376
- var t, e, r, l;
377
- class d {
378
- constructor(m, n = {}) {
379
- I(this, e), $(this, t);
380
- const u = qo(m)[L];
381
- if (this[f] = u, u.wrapper = this, n) {
382
- const v = n.equals;
383
- v && (u.equal = v), u.watched = n[o.subtle.watched], u.unwatched = n[o.subtle.unwatched];
384
- }
385
- }
386
- get() {
387
- if (!(0, o.isState)(this))
388
- throw new TypeError("Wrong receiver type for Signal.State.prototype.get");
389
- return Uo.call(this[f]);
390
- }
391
- set(m) {
392
- if (!(0, o.isState)(this))
393
- throw new TypeError("Wrong receiver type for Signal.State.prototype.set");
394
- if (To())
395
- throw new Error("Writes to signals not permitted during Watcher callback");
396
- const n = this[f];
397
- Go(n, m);
398
- }
399
- }
400
- t = f, e = /* @__PURE__ */ new WeakSet(), o.isState = (i) => typeof i == "object" && M(e, i), o.State = d;
401
- class a {
402
- // Create a Signal which evaluates to the value returned by the callback.
403
- // Callback is called with this signal as the parameter.
404
- constructor(m, n) {
405
- I(this, l), $(this, r);
406
- const u = Mo(m)[L];
407
- if (u.consumerAllowSignalWrites = !0, this[f] = u, u.wrapper = this, n) {
408
- const v = n.equals;
409
- v && (u.equal = v), u.watched = n[o.subtle.watched], u.unwatched = n[o.subtle.unwatched];
410
- }
411
- }
412
- get() {
413
- if (!(0, o.isComputed)(this))
414
- throw new TypeError("Wrong receiver type for Signal.Computed.prototype.get");
415
- return J(this[f]);
416
- }
417
- }
418
- r = f, l = /* @__PURE__ */ new WeakSet(), o.isComputed = (i) => typeof i == "object" && M(l, i), o.Computed = a, ((i) => {
419
- var m, n, b, u;
420
- function v(p) {
421
- let c, s = null;
422
- try {
423
- s = S(null), c = p();
424
- } finally {
425
- S(s);
426
- }
427
- return c;
428
- }
429
- i.untrack = v;
430
- function E(p) {
431
- var c;
432
- if (!(0, o.isComputed)(p) && !(0, o.isWatcher)(p))
433
- throw new TypeError("Called introspectSources without a Computed or Watcher argument");
434
- return ((c = p[f].producerNode) == null ? void 0 : c.map((s) => s.wrapper)) ?? [];
435
- }
436
- i.introspectSources = E;
437
- function K(p) {
438
- var c;
439
- if (!(0, o.isComputed)(p) && !(0, o.isState)(p))
440
- throw new TypeError("Called introspectSinks without a Signal argument");
441
- return ((c = p[f].liveConsumerNode) == null ? void 0 : c.map((s) => s.wrapper)) ?? [];
442
- }
443
- i.introspectSinks = K;
444
- function oo(p) {
445
- if (!(0, o.isComputed)(p) && !(0, o.isState)(p))
446
- throw new TypeError("Called hasSinks without a Signal argument");
447
- const c = p[f].liveConsumerNode;
448
- return c ? c.length > 0 : !1;
449
- }
450
- i.hasSinks = oo;
451
- function to(p) {
452
- if (!(0, o.isComputed)(p) && !(0, o.isWatcher)(p))
453
- throw new TypeError("Called hasSources without a Computed or Watcher argument");
454
- const c = p[f].producerNode;
455
- return c ? c.length > 0 : !1;
456
- }
457
- i.hasSources = to;
458
- class eo {
459
- // When a (recursive) source of Watcher is written to, call this callback,
460
- // if it hasn't already been called since the last `watch` call.
461
- // No signals may be read or written during the notify.
462
- constructor(c) {
463
- I(this, n), I(this, b), $(this, m);
464
- let s = Object.create(q);
465
- s.wrapper = this, s.consumerMarkedDirty = c, s.consumerIsAlwaysLive = !0, s.consumerAllowSignalWrites = !1, s.producerNode = [], this[f] = s;
466
- }
467
- // Add these signals to the Watcher's set, and set the watcher to run its
468
- // notify callback next time any signal in the set (or one of its dependencies) changes.
469
- // Can be called with no arguments just to reset the "notified" state, so that
470
- // the notify callback will be invoked again.
471
- watch(...c) {
472
- if (!(0, o.isWatcher)(this))
473
- throw new TypeError("Called unwatch without Watcher receiver");
474
- j(this, b, u).call(this, c);
475
- const s = this[f];
476
- s.dirty = !1;
477
- const z = S(s);
478
- for (const T of c)
479
- A(T[f]);
480
- S(z);
481
- }
482
- // Remove these signals from the watched set (e.g., for an effect which is disposed)
483
- unwatch(...c) {
484
- if (!(0, o.isWatcher)(this))
485
- throw new TypeError("Called unwatch without Watcher receiver");
486
- j(this, b, u).call(this, c);
487
- const s = this[f];
488
- N(s);
489
- for (let z = s.producerNode.length - 1; z >= 0; z--)
490
- if (c.includes(s.producerNode[z].wrapper)) {
491
- D(s.producerNode[z], s.producerIndexOfThis[z]);
492
- const T = s.producerNode.length - 1;
493
- if (s.producerNode[z] = s.producerNode[T], s.producerIndexOfThis[z] = s.producerIndexOfThis[T], s.producerNode.length--, s.producerIndexOfThis.length--, s.nextProducerIndex--, z < s.producerNode.length) {
494
- const lo = s.producerIndexOfThis[z], G = s.producerNode[z];
495
- U(G), G.liveConsumerIndexOfThis[lo] = z;
496
- }
497
- }
498
- }
499
- // Returns the set of computeds in the Watcher's set which are still yet
500
- // to be re-evaluated
501
- getPending() {
502
- if (!(0, o.isWatcher)(this))
503
- throw new TypeError("Called getPending without Watcher receiver");
504
- return this[f].producerNode.filter((s) => s.dirty).map((s) => s.wrapper);
505
- }
506
- }
507
- m = f, n = /* @__PURE__ */ new WeakSet(), b = /* @__PURE__ */ new WeakSet(), u = function(p) {
508
- for (const c of p)
509
- if (!(0, o.isComputed)(c) && !(0, o.isState)(c))
510
- throw new TypeError("Called watch/unwatch without a Computed or State argument");
511
- }, o.isWatcher = (p) => M(n, p), i.Watcher = eo;
512
- function ro() {
513
- var p;
514
- return (p = Eo()) == null ? void 0 : p.wrapper;
515
- }
516
- i.currentComputed = ro, i.watched = Symbol("watched"), i.unwatched = Symbol("unwatched");
517
- })(o.subtle || (o.subtle = {}));
518
- })(_ || (_ = {}));
519
- /**
520
- * @license
521
- * Copyright 2023 Google LLC
522
- * SPDX-License-Identifier: BSD-3-Clause
523
- */
524
- new FinalizationRegistry(({ watcher: o, signal: t }) => {
525
- o.unwatch(t);
526
- });
527
- /**
528
- * @license
529
- * Copyright 2023 Google LLC
530
- * SPDX-License-Identifier: BSD-3-Clause
531
- */
532
- _.State;
533
- _.Computed;
534
- const B = (o, t) => new _.State(o, t);
535
- class Bo {
105
+ class F {
536
106
  constructor() {
537
- this.slotContents = B([]), this.activeIndex = B(0);
538
- }
539
- get activeContent() {
540
- return this.slotContents.get()[this.activeIndex.get()];
107
+ this.slotContents = z([]), this.slotsContents = z([]), this.periodOverPeriodEnabled = z(!1), this._popEnabledChartTypes = [
108
+ "area-chart",
109
+ "bar-chart",
110
+ "combination-chart",
111
+ "column-chart",
112
+ "line-chart"
113
+ ], this.activeSlotContents = S(() => this.slotContents.get()[this.activeIndex.get()]), this.activeIndex = z(0);
114
+ }
115
+ isArrayColumnType(o) {
116
+ return (/* @__PURE__ */ new Set([
117
+ "array[numeric]",
118
+ "array[spatial]",
119
+ "array[datetime]",
120
+ "array[hierarchy]"
121
+ ])).has(o);
122
+ }
123
+ setPeriodOverPeriodEnabled(o) {
124
+ var a, p;
125
+ const e = this.slotsContents.get() ?? [], l = ((a = e.find(
126
+ (d) => ["y-axis", "x-axis"].includes(d.name)
127
+ )) == null ? void 0 : a.content) ?? [], s = (l == null ? void 0 : l[0]) ?? null, i = ((p = e.find((d) => d.name === "measure")) == null ? void 0 : p.content) ?? [], r = this._popEnabledChartTypes.includes(o) && s.type === "datetime" && !this.isArrayColumnType(s.type) && !s.datetimeDisplayMode && s.level !== 4 && i.length > 0;
128
+ return this.periodOverPeriodEnabled.set(r), r;
541
129
  }
542
130
  /** Replace the full list (e.g. after dropping or re-ordering). */
543
- setContents(t) {
544
- this.slotContents.set(t), this.activeIndex.get() >= t.length && this.activeIndex.set(t.length > 0 ? t.length - 1 : 0);
131
+ setContents(o, e) {
132
+ if (this.slotContents.set(o), this.activeIndex.get() >= o.length && this.activeIndex.set(o.length > 0 ? o.length - 1 : 0), e) {
133
+ const l = structuredClone(this.slotsContents.get()) ?? [], s = l.find((i) => i.name === e);
134
+ s && (s.content = o), this.setFullContents(l);
135
+ }
136
+ }
137
+ setFullContents(o) {
138
+ this.slotsContents.set(o);
545
139
  }
546
140
  /** Change which item is considered active (e.g. user clicked in list). */
547
- updateActive(t) {
548
- t >= 0 && t < this.slotContents.get().length && this.activeIndex.set(t);
141
+ updateActive(o) {
142
+ o >= 0 && o < this.slotContents.get().length && this.activeIndex.set(o);
549
143
  }
550
144
  /** Update / overwrite a single content entry. */
551
- updateContent(t, e = this.activeIndex.get()) {
145
+ updateContent(o, e = this.activeIndex.get()) {
552
146
  if (e < 0 || e >= this.slotContents.get().length) return;
553
- const r = [...this.slotContents.get()];
554
- r[e] = structuredClone(t), this.slotContents.set(r);
147
+ const l = [...this.slotContents.get()];
148
+ l[e] = structuredClone(o), this.slotContents.set(l);
555
149
  }
556
150
  /** Remove one content entry by index. */
557
- removeContent(t) {
558
- if (t < 0 || t >= this.slotContents.get().length) return;
559
- const e = this.slotContents.get().filter((r, l) => l !== t);
151
+ removeContent(o) {
152
+ if (o < 0 || o >= this.slotContents.get().length) return;
153
+ const e = this.slotContents.get().filter((l, s) => s !== o);
560
154
  this.slotContents.set(e), this.activeIndex.get() >= e.length && this.activeIndex.set(e.length > 0 ? e.length - 1 : 0);
561
155
  }
562
156
  }
563
- const Ho = ":host{font-family:var(--luzmo-droppable-slot-font-family, var(--luzmo-font-family))}.droppable-slot[filled]{cursor:pointer;border:var(--luzmo-droppable-slot-filled-border-width, var(--droppable-slot-filled-border-width)) var(--luzmo-droppable-slot-filled-border-style, var(--droppable-slot-filled-border-style)) var(--luzmo-droppable-slot-filled-border-color, var(--droppable-slot-filled-border-color));background-color:var(--luzmo-droppable-slot-filled-background-color, var(--droppable-slot-filled-background-color));color:var(--luzmo-droppable-slot-filled-color, var(--droppable-slot-filled-color))}.droppable-slot{background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-color));color:var(--luzmo-droppable-slot-font-color, var(--droppable-slot-font-color));border:var(--luzmo-droppable-slot-border-width, var(--droppable-slot-border-width)) var(--luzmo-droppable-slot-border-style, var(--droppable-slot-border-style)) var(--luzmo-droppable-slot-border-color, var(--droppable-slot-border-color));display:flex;justify-content:space-between;align-items:center;padding-left:var(--luzmo-droppable-slot-edge-to-label, var(--droppable-slot-edge-to-label));gap:var(--luzmo-spacing-5);border-radius:var(--luzmo-border-radius);height:var(--luzmo-droppable-slot-height, var(--droppable-slot-height));cursor:move}:host([accept-drag]) .droppable-slot{background-color:var(--luzmo-droppable-slot-accept-drag-background-color, var(--droppable-slot-accept-drag-background-color));color:var(--luzmo-droppable-slot-accept-drag-font-color, var(--droppable-slot-accept-drag-font-color));border-color:var(--luzmo-droppable-slot-accept-drag-border-color, var(--droppable-slot-accept-drag-border-color))}:host([accept-drag]) .controls{background-color:var(--luzmo-droppable-slot-accept-drag-controls-background-color, var(--droppable-slot-accept-drag-controls-background-color));color:var(--luzmo-droppable-slot-accept-drag-controls-color, var(--droppable-slot-accept-drag-controls-color))}:host([disabled]) .droppable-slot{background-color:var(--luzmo-droppable-slot-background-color-disabled, var(--droppable-slot-background-color-disabled));color:var(--luzmo-droppable-slot-color-disabled, var(--droppable-slot-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25;font-size:12px}.drag-handle-icon{opacity:.5;font-size:12px}.droppable-slot-label{font-size:var(--luzmo-droppable-slot-label-font-size, var(--droppable-slot-label-font-size));flex-grow:1;margin-right:var(--luzmo-droppable-slot-text-to-controls, var(--droppable-slot-text-to-controls));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.controls{height:100%;display:flex;align-items:center;gap:var(--luzmo-droppable-slot-controls-gap, var(--droppable-slot-controls-gap));background-color:var(--luzmo-droppable-slot-controls-background-color, var(--droppable-slot-controls-background-color));color:var(--luzmo-droppable-slot-controls-color, var(--droppable-slot-controls-color));margin-right:var(--luzmo-droppable-slot-controls-to-edge, var(--droppable-slot-controls-to-edge));padding:0 var(--luzmo-droppable-slot-controls-horizontal-padding, var(--droppable-slot-controls-horizontal-padding))}.controls div{cursor:pointer;height:100%;display:flex;align-items:center;padding:0 var(--luzmo-droppable-slot-controls-control-horizontal-padding, var(--droppable-slot-controls-control-horizontal-padding))}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-droppable-slot-overlay-vertical-gap, var(--droppable-slot-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-droppable-slot-overlay-horizontal-gap, var(--droppable-slot-overlay-horizontal-gap))}:host{--droppable-slot-border-width: var(--luzmo-border-width);--droppable-slot-border-style: dashed;--droppable-slot-border-color: var(--luzmo-border-color);--droppable-slot-background-color: transparent;--droppable-slot-accept-drag-background-color: var(--luzmo-positive-color);--droppable-slot-accept-drag-color: white;--droppable-slot-accept-drag-border-color: var(--luzmo-positive-color-down);--droppable-slot-accept-drag-font-color: white;--droppable-slot-font-color: var(--luzmo-font-color);--droppable-slot-controls-background-color: var(--luzmo-primary-down);--droppable-slot-controls-color: var(--luzmo-primary-inverse-color);--droppable-slot-accept-drag-controls-background-color: var( --luzmo-positive-color-down );--droppable-slot-accept-drag-controls-color: white;--droppable-slot-text-to-controls: var(--luzmo-spacing-3);--droppable-slot-controls-to-edge: 0;--droppable-slot-controls-gap: var(--luzmo-spacing-2);--droppable-slot-controls-horizontal-padding: var(--luzmo-spacing-2);--droppable-slot-controls-control-horizontal-padding: var(--luzmo-spacing-3);--droppable-slot-filled-background-color: var(--luzmo-primary);--droppable-slot-filled-color: var(--luzmo-primary-inverse-color);--droppable-slot-filled-border-width: var(--luzmo-border-width);--droppable-slot-filled-border-style: solid;--droppable-slot-filled-border-color: var(--luzmo-primary-down);--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-edge-to-label: var(--luzmo-spacing-5);--droppable-slot-color-disabled: var(--luzmo-color-disabled);--droppable-slot-background-color-disabled: var( --luzmo-background-color-disabled )}:host{--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=s]){--droppable-slot-height: var(--luzmo-component-height-s);--droppable-slot-label-font-size: var(--luzmo-font-size-s);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-s);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=l]){--droppable-slot-height: var(--luzmo-component-height-l);--droppable-slot-label-font-size: var(--luzmo-font-size-l);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-l);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host([size=xl]){--droppable-slot-height: var(--luzmo-component-height-xl);--droppable-slot-label-font-size: var(--luzmo-font-size-xl);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-xl);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host{box-sizing:border-box}", H = {
564
- Category: () => x("Category", { desc: "Category label" }),
565
- Measure: () => x("Measure", { desc: "Measure label" }),
566
- Legend: () => x("Legend", { desc: "Legend label" }),
567
- "Y-Axis": () => x("Y-Axis", { desc: "Y-Axis label" }),
568
- "X-Axis": () => x("X-Axis", { desc: "X-Axis label" }),
569
- "Group by": () => x("Group by", { desc: "Group by label" })
157
+ const V = ":host{font-family:var(--luzmo-droppable-slot-font-family, var(--luzmo-font-family));--slot-height: var( --luzmo-droppable-slot-height, var(--droppable-slot-height) )}.droppable-slot-wrapper{position:relative;width:var(--slot-height);min-width:var(--slot-height);height:auto;overflow:visible}.droppable-slot[filled]{cursor:pointer;border:var(--luzmo-droppable-slot-filled-border-width, var(--droppable-slot-filled-border-width)) var(--luzmo-droppable-slot-filled-border-style, var(--droppable-slot-filled-border-style)) var(--luzmo-droppable-slot-filled-border-color, var(--droppable-slot-filled-border-color));background-color:var(--luzmo-droppable-slot-filled-background-color, var(--droppable-slot-filled-background-color));color:var(--luzmo-droppable-slot-filled-color, var(--droppable-slot-filled-color))}.droppable-slot{background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-color));color:var(--luzmo-droppable-slot-font-color, var(--droppable-slot-font-color));border:var(--luzmo-droppable-slot-border-width, var(--droppable-slot-border-width)) var(--luzmo-droppable-slot-border-style, var(--droppable-slot-border-style)) var(--luzmo-droppable-slot-border-color, var(--droppable-slot-border-color));display:flex;justify-content:space-between;align-items:center;padding-left:var(--luzmo-droppable-slot-edge-to-label, var(--droppable-slot-edge-to-label));gap:var(--luzmo-spacing-5);border-radius:var(--luzmo-border-radius);height:var(--luzmo-droppable-slot-height, var(--droppable-slot-height));cursor:move}:host([accept-drag]) .droppable-slot{background-color:var(--luzmo-droppable-slot-accept-drag-background-color, var(--droppable-slot-accept-drag-background-color));color:var(--luzmo-droppable-slot-accept-drag-font-color, var(--droppable-slot-accept-drag-font-color));border-color:var(--luzmo-droppable-slot-accept-drag-border-color, var(--droppable-slot-accept-drag-border-color));animation:dropelementpulse 1s infinite ease-in-out}:host([accept-drag]) .controls{background-color:var(--luzmo-droppable-slot-accept-drag-controls-background-color, var(--droppable-slot-accept-drag-controls-background-color));color:var(--luzmo-droppable-slot-accept-drag-controls-color, var(--droppable-slot-accept-drag-controls-color))}@keyframes dropelementpulse{0%{box-shadow:0 0 0 0 var(--luzmo-droppable-slot-pulse-color, var(--droppable-slot-pulse-color)),0 0 0 0 var(--luzmo-droppable-slot-pulse-color, var(--droppable-slot-pulse-color))}to{box-shadow:0 0 0 1rem transparent,0 0 0 1rem transparent}}:host([disabled]) .droppable-slot{background-color:var(--luzmo-droppable-slot-background-color-disabled, var(--droppable-slot-background-color-disabled));color:var(--luzmo-droppable-slot-color-disabled, var(--droppable-slot-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25;font-size:12px}.drag-handle-icon{opacity:.5;font-size:12px}.droppable-slot-label{font-size:var(--luzmo-droppable-slot-label-font-size, var(--droppable-slot-label-font-size));flex-grow:1;margin-right:var(--luzmo-droppable-slot-text-to-controls, var(--droppable-slot-text-to-controls));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.controls{height:100%;display:flex;align-items:center;gap:var(--luzmo-droppable-slot-controls-gap, var(--droppable-slot-controls-gap));background-color:var(--luzmo-droppable-slot-controls-background-color, var(--droppable-slot-controls-background-color));color:var(--luzmo-droppable-slot-controls-color, var(--droppable-slot-controls-color));margin-right:var(--luzmo-droppable-slot-controls-to-edge, var(--droppable-slot-controls-to-edge));padding:0 var(--luzmo-droppable-slot-controls-horizontal-padding, var(--droppable-slot-controls-horizontal-padding))}.controls div{cursor:pointer;height:100%;display:flex;align-items:center;padding:0 var(--luzmo-droppable-slot-controls-control-horizontal-padding, var(--droppable-slot-controls-control-horizontal-padding))}.droppable-slot.rotate{position:absolute;top:0;left:50%;transform-origin:center;max-width:15rem;transform:translate(-50%) rotate(-90deg)}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-droppable-slot-overlay-vertical-gap, var(--droppable-slot-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-droppable-slot-overlay-horizontal-gap, var(--droppable-slot-overlay-horizontal-gap))}:host{--droppable-slot-border-width: var(--luzmo-border-width);--droppable-slot-border-style: dashed;--droppable-slot-border-color: var(--luzmo-border-color);--droppable-slot-background-color: transparent;--droppable-slot-accept-drag-background-color: var(--luzmo-positive-color);--droppable-slot-accept-drag-color: white;--droppable-slot-accept-drag-border-color: var(--luzmo-positive-color-down);--droppable-slot-accept-drag-font-color: white;--droppable-slot-font-color: var(--luzmo-font-color);--droppable-slot-controls-background-color: var(--luzmo-primary-down);--droppable-slot-controls-color: var(--luzmo-primary-inverse-color);--droppable-slot-accept-drag-controls-background-color: var( --luzmo-positive-color-down );--droppable-slot-accept-drag-controls-color: white;--droppable-slot-text-to-controls: var(--luzmo-spacing-3);--droppable-slot-controls-to-edge: 0;--droppable-slot-controls-gap: var(--luzmo-spacing-2);--droppable-slot-controls-horizontal-padding: var(--luzmo-spacing-2);--droppable-slot-controls-control-horizontal-padding: var(--luzmo-spacing-3);--droppable-slot-filled-background-color: var(--luzmo-primary);--droppable-slot-filled-color: var(--luzmo-primary-inverse-color);--droppable-slot-filled-border-width: var(--luzmo-border-width);--droppable-slot-filled-border-style: solid;--droppable-slot-filled-border-color: var(--luzmo-primary-down);--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-edge-to-label: var(--luzmo-spacing-5);--droppable-slot-color-disabled: var(--luzmo-color-disabled);--droppable-slot-background-color-disabled: var( --luzmo-background-color-disabled );--droppable-slot-pulse-color: var(--luzmo-secondary-outline)}:host{--droppable-slot-height: var(--luzmo-component-height);--droppable-slot-label-font-size: var(--luzmo-font-size);--droppable-slot-icon-type-font-size: var(--luzmo-font-size);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=s]){--droppable-slot-height: var(--luzmo-component-height-s);--droppable-slot-label-font-size: var(--luzmo-font-size-s);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-s);--droppable-slot-horizontal-padding: var(--luzmo-spacing-4);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-4);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-4)}:host([size=l]){--droppable-slot-height: var(--luzmo-component-height-l);--droppable-slot-label-font-size: var(--luzmo-font-size-l);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-l);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host([size=xl]){--droppable-slot-height: var(--luzmo-component-height-xl);--droppable-slot-label-font-size: var(--luzmo-font-size-xl);--droppable-slot-icon-type-font-size: var(--luzmo-font-size-xl);--droppable-slot-horizontal-padding: var(--luzmo-spacing-5);--droppable-slot-overlay-horizontal-gap: var(--luzmo-spacing-5);--droppable-slot-overlay-vertical-gap: var(--luzmo-spacing-5)}:host{box-sizing:border-box}", C = {
158
+ Category: () => b("Category", { desc: "Category label" }),
159
+ Measure: () => b("Measure", { desc: "Measure label" }),
160
+ Legend: () => b("Legend", { desc: "Legend label" }),
161
+ "Y-Axis": () => b("Y-Axis", { desc: "Y-Axis label" }),
162
+ "X-Axis": () => b("X-Axis", { desc: "X-Axis label" }),
163
+ "Group by": () => b("Group by", { desc: "Group by label" })
570
164
  };
571
- var Yo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, y = (o, t, e, r) => {
572
- for (var l = r > 1 ? void 0 : r ? Xo(t, e) : t, d = o.length - 1, a; d >= 0; d--)
573
- (a = o[d]) && (l = (r ? a(t, e, l) : a(l)) || l);
574
- return r && l && Yo(t, e, l), l;
165
+ var H = Object.defineProperty, Y = Object.getOwnPropertyDescriptor, c = (t, o, e, l) => {
166
+ for (var s = l > 1 ? void 0 : l ? Y(o, e) : o, i = t.length - 1, r; i >= 0; i--)
167
+ (r = t[i]) && (s = (l ? r(o, e, s) : r(s)) || s);
168
+ return l && s && H(o, e, s), s;
575
169
  };
576
- let g = class extends Co(yo, {
170
+ let n = class extends B(j, {
577
171
  validSizes: ["s", "m", "l", "xl"],
578
172
  noDefaultSize: !0
579
173
  }) {
580
174
  constructor() {
581
- super(), this._loadSlotsConfig = new ho(this, {
582
- task: async ([o]) => {
583
- if (o && o !== this._itemTypeLoaded) {
584
- const t = /* @__PURE__ */ Object.assign({
175
+ super(), this._loadSlotsConfig = new T(this, {
176
+ task: async ([t]) => {
177
+ if (t && t !== this._itemTypeLoaded) {
178
+ const o = /* @__PURE__ */ Object.assign({
585
179
  "../../item-definitions/area-chart/area-chart-slots.config.ts": () => import("../area-chart-slots.config-DoytjTpw.js"),
586
180
  "../../item-definitions/bar-chart/bar-chart-slots.config.ts": () => import("../bar-chart-slots.config-Dn0IV43j.js"),
587
181
  "../../item-definitions/box-plot/box-plot-slots.config.ts": () => import("../box-plot-slots.config-FI5Id-7p.js"),
@@ -626,50 +220,59 @@ let g = class extends Co(yo, {
626
220
  "../../item-definitions/venn-diagram/venn-diagram-slots.config.ts": () => import("../venn-diagram-slots.config-BPxkBFb6.js"),
627
221
  "../../item-definitions/video/video-slots.config.ts": () => import("../video-slots.config-IpwUxDyU.js"),
628
222
  "../../item-definitions/wordcloud-chart/wordcloud-chart-slots.config.ts": () => import("../wordcloud-chart-slots.config-BS4sOOHt.js")
629
- });
630
- if (t[`../../item-definitions/${o}/${o}-slots.config.ts`]) {
631
- const e = await t[`../../item-definitions/${o}/${o}-slots.config.ts`]();
632
- this._slotsConfig = (e == null ? void 0 : e.default) ?? {};
223
+ }), e = `../../item-definitions/${t}/${t}-slots.config.ts`;
224
+ if (o[e]) {
225
+ const l = await o[e]();
226
+ this._itemTypeLoaded = t, this._slotsConfig = (l == null ? void 0 : l.default) ?? {};
633
227
  }
634
228
  return this._slotsConfig;
635
229
  }
636
230
  },
637
231
  args: () => [this.itemType, this.language]
638
- }), this.slotConfiguration = {}, this.slotContents = [], this.language = "en", this.menu = "default", this.placement = "bottom-end", this._store = new Bo(), this._currentSlotContents = [], this.changedSlotContents = (o) => {
639
- this._store.setContents(o), this.dispatchEvent(
232
+ }), this.slotConfiguration = {}, this.slotsContents = [], this.language = "en", this.apiUrl = "https://api.luzmo.com", this.authKey = "", this.authToken = "", this.menu = "default", this.placement = "bottom-end", this._slotContents = [], this._store = new F(), this._currentSlotContents = [], this.changedSlotContents = (t, o = []) => {
233
+ this._store.setContents(t, this.slotName), this.dispatchEvent(
640
234
  new CustomEvent("slot-contents-changed", {
641
235
  bubbles: !0,
642
236
  composed: !0,
643
237
  cancelable: !0,
644
238
  detail: {
645
- slotContents: o
239
+ slotContents: t,
240
+ linkedDatasetsIds: o
646
241
  }
647
242
  })
648
243
  );
649
- }, new So(this, {
650
- context: no,
244
+ }, new q(this, {
245
+ context: $,
651
246
  initialValue: this._store
652
247
  });
653
248
  }
654
249
  disconnectedCallback() {
655
250
  super.disconnectedCallback(), this._cleanupDroppable();
656
251
  }
657
- emptySlotContents(o) {
658
- o.preventDefault(), o.stopPropagation(), this.slotContents = [], this.changedSlotContents([]);
252
+ emptySlotContents(t) {
253
+ t.preventDefault(), t.stopPropagation(), this._slotContents = [], this.changedSlotContents([], []);
659
254
  }
660
- willUpdate(o) {
661
- o.has("slotContents") && (this._currentSlotContents = structuredClone(this.slotContents), this._store.setContents(this.slotContents ?? [])), o.has("language") && this.language !== po() && ([...uo].includes(this.language ?? "en") || this.language === "en") && mo(this.language);
255
+ willUpdate(t) {
256
+ t.has("slotsContents") && this._processSlotsContents(), t.has("language") && this.language !== L() && ([...D].includes(this.language ?? "en") || this.language === "en") && A(this.language);
662
257
  }
663
- firstUpdated(o) {
664
- this._cleanupDroppable || (this._cleanupDroppable = io({
258
+ _processSlotsContents() {
259
+ var t, o;
260
+ this._store.setFullContents(this.slotsContents), this._slotContents = ((o = (t = this.slotsContents) == null ? void 0 : t.find(
261
+ (e) => e.name === this.slotName
262
+ )) == null ? void 0 : o.content) ?? [], this._currentSlotContents = [...this._slotContents], this.slotName === "measure" && this._store.setPeriodOverPeriodEnabled(this.itemType), this._store.setContents(this._slotContents);
263
+ }
264
+ firstUpdated() {
265
+ this._cleanupDroppable || (this._cleanupDroppable = w({
665
266
  element: this,
666
267
  onDrop: (t) => {
667
- var d, a, i, m;
668
- const e = { ...(d = t.source) == null ? void 0 : d.data }, r = {
669
- ...(e == null ? void 0 : e.label) ?? { en: "Untitled" }
670
- }, l = e == null ? void 0 : e.type;
671
- if (l === "datetime" && !e.level && (e.level = e.lowestLevel ?? (e.subtype === "date" ? 5 : 9)), l === "datetime" && ((i = (a = t == null ? void 0 : t.source) == null ? void 0 : a.element) != null && i.hasAttribute("sublevel"))) {
672
- const n = [
268
+ var i, r, a, p, d, m;
269
+ const o = { ...(i = t.source) == null ? void 0 : i.data }, e = (a = (r = t.source) == null ? void 0 : r.data) == null ? void 0 : a.linkedDatasetsIds;
270
+ e && delete o.linkedDatasetsIds;
271
+ const l = {
272
+ ...(o == null ? void 0 : o.label) ?? { en: "Untitled" }
273
+ }, s = o == null ? void 0 : o.type;
274
+ if (s === "datetime" && !o.level && (o.level = o.lowestLevel ?? (o.subtype === "date" ? 5 : 9)), s === "datetime" && ((d = (p = t == null ? void 0 : t.source) == null ? void 0 : p.element) != null && d.hasAttribute("sublevel"))) {
275
+ const g = [
673
276
  "(Yr)",
674
277
  "(Qtr)",
675
278
  "(Mth)",
@@ -679,21 +282,21 @@ let g = class extends Co(yo, {
679
282
  "(Min)",
680
283
  "(Sec)",
681
284
  "(Msec)"
682
- ], b = (e == null ? void 0 : e.level) ?? 1, u = Object.keys(r);
683
- for (const v of u)
684
- r[v] = `${r[v]} ${n[b - 1]}`;
685
- e.label = r;
285
+ ], f = (o == null ? void 0 : o.level) ?? 1, x = Object.keys(l);
286
+ for (const v of x)
287
+ l[v] = `${l[v]} ${g[f - 1]}`;
288
+ o.label = l;
686
289
  }
687
- this.slotContents = (m = this.slotConfiguration) != null && m.canAcceptMultipleDataItems ? [...this.slotContents ?? [], e] : [e], this.removeAttribute("accept-drag"), this.changedSlotContents(this.slotContents);
290
+ this._slotContents = (m = this.slotConfiguration) != null && m.canAcceptMultipleDataItems ? [...this._slotContents ?? [], o] : [o], this.removeAttribute("accept-drag"), this.changedSlotContents(this._slotContents, e);
688
291
  },
689
292
  canDrop: ({ source: t }) => {
690
- var r, l, d, a, i, m, n, b, u, v, E;
293
+ var e, l, s, i, r, a, p, d, m, g, f;
691
294
  if (![
692
295
  "LUZMO-DRAGGABLE-DATA-ITEM-LEVEL",
693
296
  "LUZMO-DRAGGABLE-DATA-ITEM"
694
- ].includes((r = t.element) == null ? void 0 : r.tagName) || !((l = this.slotConfiguration) != null && l.canAcceptFormula) && ((d = t == null ? void 0 : t.data) != null && d.formulaId))
297
+ ].includes((e = t.element) == null ? void 0 : e.tagName) || !((l = this.slotConfiguration) != null && l.canAcceptFormula) && ((s = t == null ? void 0 : t.data) != null && s.formulaId))
695
298
  return !1;
696
- const e = ((i = (a = this.slotConfiguration) == null ? void 0 : a.acceptableDataItemTypes) == null ? void 0 : i.length) > 0 ? this.slotConfiguration.acceptableDataItemTypes : [
299
+ const o = ((r = (i = this.slotConfiguration) == null ? void 0 : i.acceptableDataItemTypes) == null ? void 0 : r.length) > 0 ? this.slotConfiguration.acceptableDataItemTypes : [
697
300
  "datetime",
698
301
  "hierarchy",
699
302
  "numeric",
@@ -701,146 +304,194 @@ let g = class extends Co(yo, {
701
304
  "array[numeric]",
702
305
  "array[hierarchy]"
703
306
  ];
704
- return (m = t == null ? void 0 : t.data) != null && m.type && !e.includes((n = t == null ? void 0 : t.data) == null ? void 0 : n.type) ? !1 : !((b = t == null ? void 0 : t.data) != null && b.subtype && ((v = (u = this.slotConfiguration) == null ? void 0 : u.acceptableColumnSubtypes) == null ? void 0 : v.length) > 0 && !this.slotConfiguration.acceptableColumnSubtypes.includes(
705
- (E = t == null ? void 0 : t.data) == null ? void 0 : E.subtype
307
+ return (a = t == null ? void 0 : t.data) != null && a.type && !o.includes((p = t == null ? void 0 : t.data) == null ? void 0 : p.type) ? !1 : !((d = t == null ? void 0 : t.data) != null && d.subtype && ((g = (m = this.slotConfiguration) == null ? void 0 : m.acceptableColumnSubtypes) == null ? void 0 : g.length) > 0 && !this.slotConfiguration.acceptableColumnSubtypes.includes(
308
+ (f = t == null ? void 0 : t.data) == null ? void 0 : f.subtype
706
309
  ));
707
310
  },
708
311
  getDropEffect: () => "move",
709
312
  onDragEnter: () => {
710
- this.setAttribute("accept-drag", "");
313
+ this.setAttribute("accept-drag", ""), this.classList.add("pulse");
711
314
  },
712
315
  onDragLeave: () => {
713
- this.removeAttribute("accept-drag");
316
+ this.removeAttribute("accept-drag"), this.classList.remove("pulse");
714
317
  }
715
318
  }));
716
319
  }
717
- updated() {
718
- this.createFullLabel();
719
- }
720
- _onSlotMenuChanges(o) {
721
- var t;
722
- o.preventDefault(), o.stopPropagation(), this.slotContents.length === ((t = o.detail.slotContents) == null ? void 0 : t.length) ? (this._currentSlotContents = o.detail.slotContents, this.createFullLabel(), this.changedSlotContents(this._currentSlotContents)) : (this.slotContents = o.detail.slotContents, this.changedSlotContents(this.slotContents));
320
+ /**
321
+ * Handle overlay open event - reset slot menu position
322
+ */
323
+ _onOverlayClosed(t) {
324
+ this._slotMenuElement && t.detail.interaction !== "hint" && (setTimeout(() => {
325
+ this._slotMenuElement.resetPosition();
326
+ }, 500), this.dispatchEvent(
327
+ new CustomEvent("slot-menu-highlight-clear", {
328
+ bubbles: !0,
329
+ composed: !0
330
+ })
331
+ ));
332
+ }
333
+ _onOverlayOpened(t) {
334
+ var o, e, l, s;
335
+ if (t.detail.interaction !== "hint") {
336
+ const i = ((e = (o = this._store.activeIndex).get) == null ? void 0 : e.call(o)) ?? 0, r = ((l = this._slotContents) == null ? void 0 : l[i]) ?? ((s = this._slotContents) == null ? void 0 : s[0]);
337
+ if (!r) return;
338
+ const a = r.columnId ?? r.column ?? r.formulaId ?? r.formula ?? r.id;
339
+ if (!a) return;
340
+ this.dispatchEvent(
341
+ new CustomEvent("slot-menu-highlight", {
342
+ bubbles: !0,
343
+ composed: !0,
344
+ detail: {
345
+ id: a,
346
+ level: r.level
347
+ }
348
+ })
349
+ );
350
+ }
723
351
  }
724
- // we update the label outside the lit render method to not lose focus when typing in the display settings bc of rerender
725
- // we use a copy of slotContents '_currentSlotContents' to not trigger a rerender when the slotContents change from the slot-menu
726
- createFullLabel() {
727
- var r, l, d, a, i, m, n, b, u;
728
- let o = "";
729
- const t = H[(r = this.slotConfiguration) == null ? void 0 : r.label] ? H[(l = this.slotConfiguration) == null ? void 0 : l.label]() : (d = this.slotConfiguration) == null ? void 0 : d.label;
730
- ((a = this._currentSlotContents) == null ? void 0 : a.length) === 1 ? o = bo((m = (i = this._currentSlotContents) == null ? void 0 : i[0]) == null ? void 0 : m.label, this.language) ?? "Untitled" : ((n = this._currentSlotContents) == null ? void 0 : n.length) > 1 && (o = `${this._currentSlotContents.length} items`);
731
- let e = "";
732
- this.label ? e = this.label : t && (e = t), e = e || "Untitled", ((b = this._currentSlotContents) == null ? void 0 : b.length) > 0 && (e += ((u = this._currentSlotContents) == null ? void 0 : u.length) > 1 ? `: ${this._currentSlotContents.length} items` : `: ${o}`), this._droppableSlotLabelElement && (this._droppableSlotLabelElement.textContent = e);
352
+ _onSlotMenuChanges(t) {
353
+ var o;
354
+ t.preventDefault(), t.stopPropagation(), this._slotContents.length === ((o = t.detail.slotContents) == null ? void 0 : o.length) ? (this._currentSlotContents = t.detail.slotContents, this.changedSlotContents(this._currentSlotContents)) : (this._slotContents = t.detail.slotContents, this.changedSlotContents(this._slotContents));
355
+ }
356
+ get _fullLabel() {
357
+ var l, s, i, r, a, p, d, m, g;
358
+ let t = "";
359
+ const o = C[(l = this.slotConfiguration) == null ? void 0 : l.label] ? C[(s = this.slotConfiguration) == null ? void 0 : s.label]() : (i = this.slotConfiguration) == null ? void 0 : i.label;
360
+ ((r = this._currentSlotContents) == null ? void 0 : r.length) === 1 ? t = P(
361
+ (p = (a = this._currentSlotContents) == null ? void 0 : a[0]) == null ? void 0 : p.label,
362
+ this.language
363
+ ) ?? "Untitled" : ((d = this._currentSlotContents) == null ? void 0 : d.length) > 1 && (t = `${this._currentSlotContents.length} items`);
364
+ let e = this.label || o || "Untitled";
365
+ return ((m = this._currentSlotContents) == null ? void 0 : m.length) > 0 && (e += ((g = this._currentSlotContents) == null ? void 0 : g.length) > 1 ? `: ${this._currentSlotContents.length} items` : `: ${t}`), e;
733
366
  }
734
367
  droppableSlotMarkup() {
735
- var o, t, e, r;
736
- return w`
368
+ var o, e, l, s, i, r, a, p;
369
+ const t = h`
737
370
  <div
738
- class="droppable-slot"
739
- ?filled=${((o = this.slotContents) == null ? void 0 : o.length) > 0}
740
- id="trigger"
371
+ class="droppable-slot ${(o = this.slotConfiguration) != null && o.rotate ? "rotate" : ""}"
372
+ ?filled=${((e = this._slotContents) == null ? void 0 : e.length) > 0}
741
373
  >
742
- <div class="droppable-slot-label"></div>
743
- ${((t = this.slotContents) == null ? void 0 : t.length) > 0 && !(this.hideConfiguration && this.hideDelete) ? w`<div class="controls">
744
- ${this.hideConfiguration ? "" : w`<div>
745
- ${F(fo)}
374
+ <div class="droppable-slot-label">${this._fullLabel}</div>
375
+ ${((l = this._slotContents) == null ? void 0 : l.length) > 0 && !(this.hideConfiguration && this.hideDelete) ? h`<div class="controls">
376
+ ${this.hideConfiguration ? "" : h`<div id="trigger">
377
+ ${y(O)}
746
378
  <luzmo-tooltip
747
379
  self-managed
748
- placement="top"
380
+ placement=${(s = this.slotConfiguration) != null && s.rotate ? "right" : "top"}
749
381
  size=${this.size}
750
382
  >
751
383
  edit
752
384
  </luzmo-tooltip>
753
385
  </div> `}
754
- ${this.hideDelete ? "" : w`<div @click=${this.emptySlotContents}>
755
- ${F(go)}
386
+ ${this.hideDelete ? "" : h`<div @click=${this.emptySlotContents}>
387
+ ${y(M)}
756
388
  <luzmo-tooltip
757
389
  self-managed
758
- placement="top"
390
+ placement=${(i = this.slotConfiguration) != null && i.rotate ? "right" : "top"}
759
391
  size=${this.size}
760
392
  >
761
393
  Delete
762
394
  </luzmo-tooltip>
763
395
  </div>`}
764
396
  </div>` : ""}
765
- ${((e = this.slotContents) == null ? void 0 : e.length) > 0 ? w`<luzmo-overlay
397
+ ${((r = this._slotContents) == null ? void 0 : r.length) > 0 ? h`<luzmo-overlay
766
398
  trigger="trigger@click"
767
399
  .placement=${this.placement}
400
+ @luzmo-closed=${this._onOverlayClosed}
401
+ @luzmo-opened=${this._onOverlayOpened}
768
402
  >
769
403
  <luzmo-slot-menu
770
404
  language=${this.language}
771
405
  content-language=${this.language}
772
406
  drag-boundary=${this.dragBoundary}
773
- slot-type=${(r = this.slotConfiguration) == null ? void 0 : r.type}
407
+ slot-type=${(a = this.slotConfiguration) == null ? void 0 : a.type}
408
+ slot-name=${this.slotName}
409
+ item-type=${this.itemType}
410
+ slot-contents=${this._slotContents}
774
411
  variant=${this.menu === "draggable" ? "draggable" : "popup"}
775
412
  .size=${this.size}
413
+ api-url=${this.apiUrl}
414
+ auth-key=${this.authKey}
415
+ auth-token=${this.authToken}
776
416
  @slot-contents-changed=${this._onSlotMenuChanges}
777
417
  ></luzmo-slot-menu>
778
418
  </luzmo-overlay>` : ""}
779
419
  </div>
780
420
  `;
421
+ return (p = this.slotConfiguration) != null && p.rotate ? h`<div class="droppable-slot-wrapper">${t}</div>` : t;
781
422
  }
782
423
  render() {
783
424
  return this._loadSlotsConfig.render({
784
- pending: () => w`<p>Loading...</p>`,
785
- complete: (o) => {
786
- if (this.slotName && this.itemType && o) {
787
- const t = o.find(
788
- (e) => e.name === this.slotName
789
- );
790
- t && !this.slotConfiguration && (this.slotConfiguration = t);
425
+ pending: () => h`<p>Loading...</p>`,
426
+ complete: (t) => {
427
+ if (this.slotName && this.itemType && t) {
428
+ const o = t.find((e) => e.name === this.slotName);
429
+ o && !this.slotConfiguration && (this.slotConfiguration = o);
791
430
  }
792
431
  return this.droppableSlotMarkup();
793
432
  },
794
- error: (o) => w`
433
+ error: (t) => h`
795
434
  <div>
796
435
  Could not load droppable slot: '${this.slotName}' of chart
797
- '${this.itemType}': ${o}.
436
+ '${this.itemType}': ${t}.
798
437
  </div>
799
438
  `
800
439
  });
801
440
  }
802
441
  };
803
- g.styles = vo(Ho);
804
- y([
805
- C({ type: String, reflect: !0, attribute: "item-type" })
806
- ], g.prototype, "itemType", 2);
807
- y([
808
- C({ type: String, reflect: !0, attribute: "slot-name" })
809
- ], g.prototype, "slotName", 2);
810
- y([
811
- C({ type: Object })
812
- ], g.prototype, "slotConfiguration", 2);
813
- y([
814
- C({ type: Object })
815
- ], g.prototype, "slotContents", 2);
816
- y([
817
- C({ type: String, reflect: !0 })
818
- ], g.prototype, "label", 2);
819
- y([
820
- C({ type: String, reflect: !0 })
821
- ], g.prototype, "language", 2);
822
- y([
823
- C({ type: String, reflect: !0, attribute: "drag-boundary" })
824
- ], g.prototype, "dragBoundary", 2);
825
- y([
826
- C({ type: String, reflect: !0 })
827
- ], g.prototype, "menu", 2);
828
- y([
829
- C({ type: String, reflect: !0 })
830
- ], g.prototype, "placement", 2);
831
- y([
832
- C({ type: Boolean, reflect: !0, attribute: "hide-delete" })
833
- ], g.prototype, "hideDelete", 2);
834
- y([
835
- C({ type: Boolean, reflect: !0, attribute: "hide-configuration" })
836
- ], g.prototype, "hideConfiguration", 2);
837
- y([
838
- zo(".droppable-slot-label")
839
- ], g.prototype, "_droppableSlotLabelElement", 2);
840
- g = y([
841
- co()
842
- ], g);
843
- customElements.get("luzmo-droppable-slot") || customElements.define("luzmo-droppable-slot", g);
442
+ n.styles = I(V);
443
+ c([
444
+ u({ type: String, reflect: !0, attribute: "item-type" })
445
+ ], n.prototype, "itemType", 2);
446
+ c([
447
+ u({ type: String, reflect: !0, attribute: "slot-name" })
448
+ ], n.prototype, "slotName", 2);
449
+ c([
450
+ u({ type: Object })
451
+ ], n.prototype, "slotConfiguration", 2);
452
+ c([
453
+ u({ type: Object })
454
+ ], n.prototype, "slotsContents", 2);
455
+ c([
456
+ u({ type: String, reflect: !0 })
457
+ ], n.prototype, "label", 2);
458
+ c([
459
+ u({ type: String, reflect: !0 })
460
+ ], n.prototype, "language", 2);
461
+ c([
462
+ u({ type: String, reflect: !0, attribute: "drag-boundary" })
463
+ ], n.prototype, "dragBoundary", 2);
464
+ c([
465
+ u({ type: String, attribute: "api-url", reflect: !0 })
466
+ ], n.prototype, "apiUrl", 2);
467
+ c([
468
+ u({ type: String, attribute: "auth-key", reflect: !0 })
469
+ ], n.prototype, "authKey", 2);
470
+ c([
471
+ u({ type: String, attribute: "auth-token", reflect: !0 })
472
+ ], n.prototype, "authToken", 2);
473
+ c([
474
+ u({ type: String, reflect: !0 })
475
+ ], n.prototype, "menu", 2);
476
+ c([
477
+ u({ type: String, reflect: !0 })
478
+ ], n.prototype, "placement", 2);
479
+ c([
480
+ u({ type: Boolean, reflect: !0, attribute: "hide-delete" })
481
+ ], n.prototype, "hideDelete", 2);
482
+ c([
483
+ u({ type: Boolean, reflect: !0, attribute: "hide-configuration" })
484
+ ], n.prototype, "hideConfiguration", 2);
485
+ c([
486
+ N("luzmo-slot-menu")
487
+ ], n.prototype, "_slotMenuElement", 2);
488
+ c([
489
+ U()
490
+ ], n.prototype, "_slotContents", 2);
491
+ n = c([
492
+ E()
493
+ ], n);
494
+ customElements.get("luzmo-droppable-slot") || customElements.define("luzmo-droppable-slot", n);
844
495
  export {
845
- g as LuzmoDroppableSlot
496
+ n as LuzmoDroppableSlot
846
497
  };