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

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 (125) hide show
  1. package/components/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-C2JoUGYR.cjs} +3 -3
  2. package/components/{async-directive-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CNTJHpgh.js} +1 -1
  3. package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-B7v4eeRh-B4fczZlv.js} +3 -3
  4. package/components/{button-base-CDLQV7Vk-BXgdcJZo.cjs → button-base-B7v4eeRh-CjngVDsD.cjs} +4 -4
  5. package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-BR4ufh0S.js} +6 -6
  6. package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-lIHmn1jk.cjs} +4 -4
  7. package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs} +2 -2
  8. package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-arNFWD5u.js} +10 -10
  9. package/components/display-settings/index.cjs +3 -3
  10. package/components/display-settings/index.js +11 -11
  11. package/components/display-settings-binning/display-settings-binning.d.ts +2 -2
  12. package/components/display-settings-binning/index.cjs +5 -5
  13. package/components/display-settings-binning/index.js +17 -18
  14. package/components/display-settings-datetime/index.cjs +1 -1
  15. package/components/display-settings-datetime/index.js +1 -1
  16. package/components/display-settings-grand-totals/index.cjs +2 -2
  17. package/components/display-settings-grand-totals/index.js +12 -12
  18. package/components/display-settings-numeric/index.cjs +2 -2
  19. package/components/display-settings-numeric/index.js +36 -36
  20. package/components/display-settings-period-over-period/index.cjs +5 -5
  21. package/components/display-settings-period-over-period/index.js +85 -85
  22. package/components/draggable-data-item/index.cjs +2 -2
  23. package/components/draggable-data-item/index.js +2 -2
  24. package/components/draggable-data-item-level/index.cjs +5 -5
  25. package/components/draggable-data-item-level/index.js +85 -85
  26. package/components/droppable-slot/index.cjs +4 -4
  27. package/components/droppable-slot/index.js +8 -8
  28. package/components/edit-item/index.cjs +7 -7
  29. package/components/edit-item/index.js +72 -72
  30. package/components/edit-option/index.cjs +3 -3
  31. package/components/edit-option/index.js +3 -3
  32. package/components/edit-option-action-button-group/index.cjs +2 -2
  33. package/components/edit-option-action-button-group/index.js +37 -37
  34. package/components/{edit-option-base-DnrerC_T.cjs → edit-option-base-Ck3NFAli.cjs} +2 -2
  35. package/components/{edit-option-base-oIvlolV9.js → edit-option-base-w3UBiCoU.js} +4 -4
  36. package/components/edit-option-color-picker/index.cjs +33 -33
  37. package/components/edit-option-color-picker/index.js +131 -131
  38. package/components/edit-option-multi-language-field/index.cjs +1 -1
  39. package/components/edit-option-multi-language-field/index.js +3 -3
  40. package/components/edit-option-number-field/index.cjs +1 -1
  41. package/components/edit-option-number-field/index.js +3 -3
  42. package/components/edit-option-picker/index.cjs +1 -1
  43. package/components/edit-option-picker/index.js +4 -4
  44. package/components/edit-option-positions-number-field/index.cjs +3 -3
  45. package/components/edit-option-positions-number-field/index.js +7 -7
  46. package/components/edit-option-radio-button-group/index.cjs +1 -1
  47. package/components/edit-option-radio-button-group/index.js +4 -4
  48. package/components/edit-option-slider/index.cjs +3 -3
  49. package/components/edit-option-slider/index.js +217 -217
  50. package/components/edit-option-switch/index.cjs +4 -4
  51. package/components/edit-option-switch/index.js +30 -30
  52. package/components/edit-option-text-field/index.cjs +1 -1
  53. package/components/edit-option-text-field/index.js +3 -3
  54. package/components/{en-GB-g8rSQSba.cjs → en-BvtH5B9A.cjs} +1 -1
  55. package/components/en-CN4CDOzo.js +23 -0
  56. package/components/{en-GB-qub-Kemt.js → en-GB-BMvD7axC.js} +1 -1
  57. package/components/en-GB-DrOGXwdM.cjs +20 -0
  58. package/components/en-US-BvtH5B9A.cjs +20 -0
  59. package/components/en-US-CN4CDOzo.js +23 -0
  60. package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-BSAr_4u4-CNmaFBUP.cjs} +2 -2
  61. package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-BSAr_4u4-CVDyXUmc.js} +4 -4
  62. package/components/{if-defined-Ch2dtEOS.js → if-defined-_S7apvH1.js} +1 -1
  63. package/components/{if-defined-DMSuo5Qx.cjs → if-defined-aQZR75uI.cjs} +1 -1
  64. package/components/{index-B0cBkCaq.cjs → index-B0ZqIWfU.cjs} +4 -4
  65. package/components/{index-DQiQXn8N.cjs → index-BEi8DTwW.cjs} +1 -1
  66. package/components/{index-3ewegRbb.cjs → index-Bti4K2L2.cjs} +4 -4
  67. package/components/{index-BGaxFTL4.js → index-BuW8doNV.js} +4 -4
  68. package/components/{index-Bofs4Q2E.cjs → index-BxFGd_xp.cjs} +1 -1
  69. package/components/{index-liTHhAef.cjs → index-ByfMhxDr.cjs} +2 -2
  70. package/components/{index-Cp-lHUlX.js → index-C44nA7Wn.js} +3 -3
  71. package/components/{index-BqTdFs1o.js → index-CHLcEawI.js} +3 -3
  72. package/components/{index-CTPox3yS.cjs → index-CKbGBBId.cjs} +3 -3
  73. package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-CMvLpPKD-CgGXdNKs.js} +20 -20
  74. package/components/{index-C2qG2Sm8-CbVWlbag.cjs → index-CMvLpPKD-DoxJRhRP.cjs} +14 -14
  75. package/components/index-CQjWiSIp.cjs +202 -0
  76. package/components/{index-B2N_PZf3.js → index-C_Cxv6xn.js} +4 -4
  77. package/components/index-C_xCeCrL.cjs +185 -0
  78. package/components/{index-C_3Ak4MQ.cjs → index-CdHFj3ra.cjs} +5 -5
  79. package/components/{index-DskAouD-.js → index-Ci0Pe5UA.js} +4 -4
  80. package/components/{index-CayjvyyX.cjs → index-DC2Pby0z.cjs} +4 -4
  81. package/components/index-DDleIdd8.cjs +192 -0
  82. package/components/{index-CtHO6VyI.cjs → index-DLrQ4hc5.cjs} +4 -4
  83. package/components/{index-BC-nmKjU.js → index-DMbzEC_s.js} +13 -13
  84. package/components/{index-BRk42NQn.js → index-DUlH3hbL.js} +166 -166
  85. package/components/{en-BsAhbMzm.js → index-DeyQ1JGg.js} +404 -411
  86. package/components/{index-B2z7i1-X.js → index-DiSrnT1e.js} +7 -7
  87. package/components/{index-DVaeDCbe.js → index-Dkom_Qy5.js} +1 -1
  88. package/components/{index-ON4x-yZ7.cjs → index-DxXcY78P.cjs} +2 -2
  89. package/components/{index-D9vzXhtJ.cjs → index-EkTLplXl.cjs} +8 -8
  90. package/components/{index-BD3VxQBH.js → index-FSUV_4nO.js} +1 -1
  91. package/components/{index-CkDDDzuJ.js → index-Pmv-d4iw.js} +25 -25
  92. package/components/{index-DszPbTTD.js → index-aLxc3xA_.js} +17 -17
  93. package/components/{index-EQldC-LR.js → index-dJXOanPE.js} +4 -4
  94. package/components/{index-gfU9TGd5.cjs → index-f8GtjOLn.cjs} +3 -3
  95. package/components/{index-B5VaT0lQ.js → index-fbS4OrPM.js} +3 -3
  96. package/components/index.cjs +1 -1
  97. package/components/index.js +1 -1
  98. package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → language-resolution-8yZa5r_P-CLZhU076.js} +3 -3
  99. package/components/{language-resolution-8yZa5r_P-DQ3rZzW5.cjs → language-resolution-8yZa5r_P-CpbzT4ej.cjs} +3 -3
  100. package/components/{observe-slot-text-BG0H7bQK-CrkAqUMj.cjs → observe-slot-text-ggb4kKgY-DqsddtTd.cjs} +4 -4
  101. package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-yUxhPbbJ.js} +4 -4
  102. package/components/{popover-bg0EQQ8p-D4-hrhIx.js → popover-DlkzrLpl-DFIvgCjc.js} +3 -3
  103. package/components/{popover-bg0EQQ8p-Dha09dhV.cjs → popover-DlkzrLpl-TYw7ejnD.cjs} +5 -5
  104. package/components/{property-CD3dwBJC.js → property-CXJD1jOW.js} +661 -628
  105. package/components/property-ChsOQ1Yj.cjs +112 -0
  106. package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → sized-mixin-BxMraZLS-Dc6r-Wg4.js} +1 -1
  107. package/components/{sized-mixin-PyCYpyQq-sKzDjc75.cjs → sized-mixin-BxMraZLS-w9I35lP7.cjs} +2 -2
  108. package/components/slot-menu/index.cjs +4 -4
  109. package/components/slot-menu/index.js +4 -4
  110. package/components/slot-menu-list/index.cjs +3 -3
  111. package/components/slot-menu-list/index.js +19 -19
  112. package/components/{state-ByiKNRhp.cjs → state-DLrsMPet.cjs} +1 -1
  113. package/components/{state-B1a8XIDm.js → state-DwFtyqCc.js} +1 -1
  114. package/components/{task-HFsHfTra.cjs → task-CgK9ztaw.cjs} +1 -1
  115. package/components/{task-BPD0PyaQ.js → task-DYLITx7R.js} +1 -1
  116. package/components/{text-field-7ITo3Lac-DqVO04kR.js → text-field-CvKSS59x-BzSqtt2_.js} +29 -29
  117. package/components/text-field-CvKSS59x-D0MM0fDH.cjs +131 -0
  118. package/package.json +1 -1
  119. package/components/en-CdROUdjt.cjs +0 -202
  120. package/components/index-Bjs6Yqet.cjs +0 -185
  121. package/components/index-D4x-O9Uc.cjs +0 -192
  122. package/components/luzmo-icons-BrtBl3E5.cjs +0 -31
  123. package/components/luzmo-icons-CZEpXpvy.js +0 -613
  124. package/components/property-Su1Q6aME.cjs +0 -124
  125. package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
@@ -17,56 +17,56 @@
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 { g as U, a as Y, s as J } from "../get-css-variable-Bhbr-Kr1.js";
21
- import { o as B, s as ee, t as le, N as F, Q as ae, u as oe, y as p, z as H, Z as re, A as te, H as T, K as ie, V as de, L as V, R as ge, X as ne, a0 as A, a1 as me, a2 as se, a3 as N, a4 as ue, a5 as be, a6 as q, a7 as ce, a8 as ve, a9 as M, aa as ze, ab as he, ac as G, ad as pe, ae as fe, af as L, ag as ye, ah as xe, O as f, ai as ke, W as we, p as Se } from "../luzmo-icons-CZEpXpvy.js";
22
- import "../index-BC-nmKjU.js";
23
- import "../index-DskAouD-.js";
24
- import { I as Ce, r as De, x as y, n as g } from "../property-CD3dwBJC.js";
25
- import { m as Ee } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
26
- import { l as $e } from "../localize-B6AsX_Zv.js";
27
- const K = () => {
20
+ import { g as A, a as Y, s as Z } from "../get-css-variable-Bhbr-Kr1.js";
21
+ import { luzmoTypeArray as H, luzmoTypeArray14 as ee, luzmoTypeArray12 as le, luzmoTypeImage as _, luzmoTypeImage14 as ae, luzmoTypeImage12 as oe, luzmoTypeTopography as h, luzmoTypeCoordinates as N, luzmoTypeCoordinates14 as re, luzmoTypeCoordinates12 as te, luzmoTypeCurrency as U, luzmoTypeCurrency14 as ie, luzmoTypeCurrency12 as de, luzmoTypeDuration as B, luzmoTypeDuration14 as me, luzmoTypeDuration12 as ge, luzmoTypeNumeric as F, luzmoTypeNumeric14 as ne, luzmoTypeNumeric12 as ue, luzmoTypeTime as q, luzmoTypeTime14 as ce, luzmoTypeTime12 as be, luzmoTypeDate as V, luzmoTypeDate14 as se, luzmoTypeDate12 as ve, luzmoTypeDatetime as G, luzmoTypeDatetime14 as ze, luzmoTypeDatetime12 as pe, luzmoRouter16 as M, luzmoRouter14 as he, luzmoRouter12 as fe, luzmoTypeHierarchy as L, luzmoTypeHierarchy14 as ye, luzmoTypeHierarchy12 as xe, luzmoIcon as f, luzmoDragLines as ke, luzmoArrows as we, luzmoInfoCircleOutline as Te } from "@luzmo/icons";
22
+ import "../index-DMbzEC_s.js";
23
+ import "../index-Ci0Pe5UA.js";
24
+ import { k as Ce, a as De, x as y, n as m } from "../property-CXJD1jOW.js";
25
+ import { m as Se } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
26
+ import { l as Ie } from "../localize-B6AsX_Zv.js";
27
+ const X = () => {
28
28
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
29
29
  const l = document.createElement("style");
30
30
  l.setAttribute("data-luzmo-vars", ""), l.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(l);
31
31
  }
32
32
  };
33
- K();
34
- const Pe = ":host{font-family:var(--luzmo-draggable-data-item-level-font-family, var(--luzmo-font-family));color:var(--luzmo-draggable-data-item-level-font-color, var(--draggable-data-item-level-font-color))}.draggable-data-item-level{transition:background-color var(--luzmo-animation-duration);background-color:var(--luzmo-draggable-data-item-level-background-color, var(--draggable-data-item-level-background-color));display:flex;justify-content:space-between;align-items:center;padding:0 var(--luzmo-draggable-data-item-level-horizontal-padding, var(--draggable-data-item-level-horizontal-padding));gap:var(--luzmo-draggable-data-item-level-gap, var(--draggable-data-item-level-gap));border-radius:var(--luzmo-draggable-data-item-level-border-radius, var(--draggable-data-item-level-border-radius));border-width:var(--luzmo-draggable-data-item-level-border-width, var(--draggable-data-item-level-border-width));border-style:var(--luzmo-draggable-data-item-level-border-style, var(--draggable-data-item-level-border-style));border-color:var(--luzmo-draggable-data-item-level-border-color, var(--draggable-data-item-level-border-color));height:var(--luzmo-draggable-data-item-level-height, var(--draggable-data-item-level-height));cursor:move}.draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-background-color-hover, var(--draggable-data-item-level-background-color-hover))}.draggable-data-item-level .data-label{font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([sublevel]) .draggable-data-item-level{height:var(--luzmo-draggable-data-item-level-sublevel-height, var(--draggable-data-item-level-sublevel-height));background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color, var(--draggable-data-item-level-sublevel-background-color));border-color:var(--luzmo-draggable-data-item-level-sublevel-border-color, var(--draggable-data-item-level-sublevel-border-color));margin-inline-start:var(--luzmo-draggable-data-item-level-sublevel-margin-inline-start, var(--draggable-data-item-level-sublevel-margin-inline-start))}:host([sublevel]) .draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-hover, var(--draggable-data-item-level-sublevel-background-color-hover))}:host([sublevel]) .draggable-data-item-level .drag-handle-icon{width:var(--luzmo-draggable-data-item-level-sublevel-drag-handle-width, var(--draggable-data-item-level-sublevel-drag-handle-width));text-align:center}:host([disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-background-color-disabled, var(--draggable-data-item-level-background-color-disabled));color:var(--luzmo-draggable-data-item-level-color-disabled, var(--draggable-data-item-level-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25}:host([sublevel][disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-disabled, var(--draggable-data-item-level-sublevel-background-color-disabled))}.drag-handle-icon{opacity:.6;font-size:var(--luzmo-draggable-data-item-level-drag-handle-size, var(--luzmo-draggable-data-item-level-drag-handle-size));width:var(--luzmo-draggable-data-item-level-drag-handle-width, var(--luzmo-draggable-data-item-level-drag-handle-width));text-align:center}.data-icon-type{width:var(--luzmo-draggable-data-item-level-data-icon-width, var(--luzmo-draggable-data-item-level-data-icon-width));text-align:center}.data-label{flex-grow:1}.data-description{height:100%;display:flex;align-items:center;background-color:transparent;outline:none;border:none;font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size))}:host([variant=highlight]){--draggable-data-item-level-background-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-border-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-background-color-hover: var( --luzmo-background-color-highlight-hover )}:host{--draggable-data-item-level-height: var(--luzmo-component-height);--draggable-data-item-level-label-font-size: var(--luzmo-font-size);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-width: var(--luzmo-border-width);--draggable-data-item-level-border-style: solid;--draggable-data-item-level-border-color: var(--luzmo-border-color-hover);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-4);--draggable-data-item-level-font-color: var(--luzmo-font-color);--draggable-data-item-level-color-disabled: var(--luzmo-color-disabled);--draggable-data-item-level-background-color-disabled: var( --luzmo-background-color-disabled );--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-s);--luzmo-draggable-data-item-level-drag-handle-width: var( --draggable-data-item-level-icon-type-size );--luzmo-draggable-data-item-level-data-icon-width: calc( var(--draggable-data-item-level-icon-type-size) + var(--luzmo-spacing-3) );--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-s);--draggable-data-item-level-sublevel-border-color: transparent;--draggable-data-item-level-sublevel-background-color: transparent;--draggable-data-item-level-sublevel-background-color-disabled: transparent;--draggable-data-item-level-sublevel-margin-inline-start: calc( var(--draggable-data-item-level-gap) + var(--luzmo-draggable-data-item-level-drag-handle-width) );--luzmo-draggable-data-item-level-sublevel-drag-handle-width: var( --luzmo-draggable-data-item-level-data-icon-width );--draggable-data-item-level-sublevel-background-color-hover: rgba( var(--luzmo-border-color-rgb), .05 )}:host([hide-type-icon]){--draggable-data-item-level-sublevel-margin-inline-start: var( --draggable-data-item-level-gap )}:host([size=s]){--draggable-data-item-level-height: var(--luzmo-component-height-s);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-s);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-s);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-4);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-3);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-xs);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-xs)}:host([size=l]){--draggable-data-item-level-height: var(--luzmo-component-height-l);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-l);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-l);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-l);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size)}:host([size=xl]){--draggable-data-item-level-height: var(--luzmo-component-height-xl);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-xl);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-xl);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-xl);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-l);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-l)}:host{box-sizing:border-box}", t = {
33
+ X();
34
+ const Ee = ":host{font-family:var(--luzmo-draggable-data-item-level-font-family, var(--luzmo-font-family));color:var(--luzmo-draggable-data-item-level-font-color, var(--draggable-data-item-level-font-color))}.draggable-data-item-level{transition:background-color var(--luzmo-animation-duration);background-color:var(--luzmo-draggable-data-item-level-background-color, var(--draggable-data-item-level-background-color));display:flex;justify-content:space-between;align-items:center;padding:0 var(--luzmo-draggable-data-item-level-horizontal-padding, var(--draggable-data-item-level-horizontal-padding));gap:var(--luzmo-draggable-data-item-level-gap, var(--draggable-data-item-level-gap));border-radius:var(--luzmo-draggable-data-item-level-border-radius, var(--draggable-data-item-level-border-radius));border-width:var(--luzmo-draggable-data-item-level-border-width, var(--draggable-data-item-level-border-width));border-style:var(--luzmo-draggable-data-item-level-border-style, var(--draggable-data-item-level-border-style));border-color:var(--luzmo-draggable-data-item-level-border-color, var(--draggable-data-item-level-border-color));height:var(--luzmo-draggable-data-item-level-height, var(--draggable-data-item-level-height));cursor:move}.draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-background-color-hover, var(--draggable-data-item-level-background-color-hover))}.draggable-data-item-level .data-label{font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([sublevel]) .draggable-data-item-level{height:var(--luzmo-draggable-data-item-level-sublevel-height, var(--draggable-data-item-level-sublevel-height));background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color, var(--draggable-data-item-level-sublevel-background-color));border-color:var(--luzmo-draggable-data-item-level-sublevel-border-color, var(--draggable-data-item-level-sublevel-border-color));margin-inline-start:var(--luzmo-draggable-data-item-level-sublevel-margin-inline-start, var(--draggable-data-item-level-sublevel-margin-inline-start))}:host([sublevel]) .draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-hover, var(--draggable-data-item-level-sublevel-background-color-hover))}:host([sublevel]) .draggable-data-item-level .drag-handle-icon{width:var(--luzmo-draggable-data-item-level-sublevel-drag-handle-width, var(--draggable-data-item-level-sublevel-drag-handle-width));text-align:center}:host([disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-background-color-disabled, var(--draggable-data-item-level-background-color-disabled));color:var(--luzmo-draggable-data-item-level-color-disabled, var(--draggable-data-item-level-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25}:host([sublevel][disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-disabled, var(--draggable-data-item-level-sublevel-background-color-disabled))}.drag-handle-icon{opacity:.6;font-size:var(--luzmo-draggable-data-item-level-drag-handle-size, var(--luzmo-draggable-data-item-level-drag-handle-size));width:var(--luzmo-draggable-data-item-level-drag-handle-width, var(--luzmo-draggable-data-item-level-drag-handle-width));text-align:center}.data-icon-type{width:var(--luzmo-draggable-data-item-level-data-icon-width, var(--luzmo-draggable-data-item-level-data-icon-width));text-align:center}.data-label{flex-grow:1}.data-description{height:100%;display:flex;align-items:center;background-color:transparent;outline:none;border:none;font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size))}:host([variant=highlight]){--draggable-data-item-level-background-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-border-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-background-color-hover: var( --luzmo-background-color-highlight-hover )}:host{--draggable-data-item-level-height: var(--luzmo-component-height);--draggable-data-item-level-label-font-size: var(--luzmo-font-size);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-width: var(--luzmo-border-width);--draggable-data-item-level-border-style: solid;--draggable-data-item-level-border-color: var(--luzmo-border-color-hover);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-4);--draggable-data-item-level-font-color: var(--luzmo-font-color);--draggable-data-item-level-color-disabled: var(--luzmo-color-disabled);--draggable-data-item-level-background-color-disabled: var( --luzmo-background-color-disabled );--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-s);--luzmo-draggable-data-item-level-drag-handle-width: var( --draggable-data-item-level-icon-type-size );--luzmo-draggable-data-item-level-data-icon-width: calc( var(--draggable-data-item-level-icon-type-size) + var(--luzmo-spacing-3) );--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-s);--draggable-data-item-level-sublevel-border-color: transparent;--draggable-data-item-level-sublevel-background-color: transparent;--draggable-data-item-level-sublevel-background-color-disabled: transparent;--draggable-data-item-level-sublevel-margin-inline-start: calc( var(--draggable-data-item-level-gap) + var(--luzmo-draggable-data-item-level-drag-handle-width) );--luzmo-draggable-data-item-level-sublevel-drag-handle-width: var( --luzmo-draggable-data-item-level-data-icon-width );--draggable-data-item-level-sublevel-background-color-hover: rgba( var(--luzmo-border-color-rgb), .05 )}:host([hide-type-icon]){--draggable-data-item-level-sublevel-margin-inline-start: var( --draggable-data-item-level-gap )}:host([size=s]){--draggable-data-item-level-height: var(--luzmo-component-height-s);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-s);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-s);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-4);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-3);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-xs);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-xs)}:host([size=l]){--draggable-data-item-level-height: var(--luzmo-component-height-l);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-l);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-l);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-l);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size)}:host([size=xl]){--draggable-data-item-level-height: var(--luzmo-component-height-xl);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-xl);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-xl);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-xl);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-l);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-l)}:host{box-sizing:border-box}", t = {
35
35
  array: {
36
36
  s: le,
37
37
  m: ee,
38
- l: B,
39
- xl: B
38
+ l: H,
39
+ xl: H
40
40
  },
41
41
  coordinates: {
42
42
  s: te,
43
43
  m: re,
44
- l: H,
45
- xl: H
44
+ l: N,
45
+ xl: N
46
46
  },
47
47
  currency: {
48
48
  s: de,
49
49
  m: ie,
50
- l: T,
51
- xl: T
50
+ l: U,
51
+ xl: U
52
52
  },
53
53
  date: {
54
54
  s: ve,
55
- m: ce,
56
- l: q,
57
- xl: q
55
+ m: se,
56
+ l: V,
57
+ xl: V
58
58
  },
59
59
  datetime: {
60
- s: he,
60
+ s: pe,
61
61
  m: ze,
62
- l: M,
63
- xl: M
62
+ l: G,
63
+ xl: G
64
64
  },
65
65
  duration: {
66
- s: ne,
67
- m: ge,
68
- l: V,
69
- xl: V
66
+ s: ge,
67
+ m: me,
68
+ l: B,
69
+ xl: B
70
70
  },
71
71
  hierarchy: {
72
72
  s: xe,
@@ -77,44 +77,44 @@ const Pe = ":host{font-family:var(--luzmo-draggable-data-item-level-font-family,
77
77
  image: {
78
78
  s: oe,
79
79
  m: ae,
80
- l: F,
81
- xl: F
80
+ l: _,
81
+ xl: _
82
82
  },
83
83
  numeric: {
84
- s: se,
85
- m: me,
86
- l: A,
87
- xl: A
84
+ s: ue,
85
+ m: ne,
86
+ l: F,
87
+ xl: F
88
88
  },
89
89
  time: {
90
90
  s: be,
91
- m: ue,
92
- l: N,
93
- xl: N
91
+ m: ce,
92
+ l: q,
93
+ xl: q
94
94
  },
95
95
  topography: {
96
- s: p,
97
- m: p,
98
- l: p,
99
- xl: p
96
+ s: h,
97
+ m: h,
98
+ l: h,
99
+ xl: h
100
100
  },
101
101
  ipaddress: {
102
102
  s: fe,
103
- m: pe,
104
- l: G,
105
- xl: G
103
+ m: he,
104
+ l: M,
105
+ xl: M
106
106
  }
107
- }, Q = (l, e) => (e == null ? void 0 : e.type) === "array" ? t.array[l] : (e == null ? void 0 : e.type) === "image" ? t.image[l] : (e == null ? void 0 : e.type) === "spatial" ? (e == null ? void 0 : e.subtype) === "topography" ? t.topography[l] : t.coordinates[l] : (e == null ? void 0 : e.type) === "numeric" ? (e == null ? void 0 : e.subtype) === "currency" ? t.currency[l] : (e == null ? void 0 : e.subtype) === "duration" ? t.duration[l] : t.numeric[l] : (e == null ? void 0 : e.type) === "datetime" ? (e == null ? void 0 : e.subtype) === "time" ? t.time[l] : (e == null ? void 0 : e.subtype) === "date" ? t.date[l] : t.datetime[l] : (e == null ? void 0 : e.type) === "hierarchy" && (e == null ? void 0 : e.subtype) === "ipaddress" ? t.ipaddress[l] : t.hierarchy[l], Ie = (l) => {
108
- var b, c, v, z, k, w, S, C, D, E, $, P, I, O, R, _, j;
107
+ }, J = (l, e) => (e == null ? void 0 : e.type) === "array" ? t.array[l] : (e == null ? void 0 : e.type) === "image" ? t.image[l] : (e == null ? void 0 : e.type) === "spatial" ? (e == null ? void 0 : e.subtype) === "topography" ? t.topography[l] : t.coordinates[l] : (e == null ? void 0 : e.type) === "numeric" ? (e == null ? void 0 : e.subtype) === "currency" ? t.currency[l] : (e == null ? void 0 : e.subtype) === "duration" ? t.duration[l] : t.numeric[l] : (e == null ? void 0 : e.type) === "datetime" ? (e == null ? void 0 : e.subtype) === "time" ? t.time[l] : (e == null ? void 0 : e.subtype) === "date" ? t.date[l] : t.datetime[l] : (e == null ? void 0 : e.type) === "hierarchy" && (e == null ? void 0 : e.subtype) === "ipaddress" ? t.ipaddress[l] : t.hierarchy[l], $e = (l) => {
108
+ var b, s, v, z, k, w, T, C, D, S, I, E, $, P, R, O, j;
109
109
  const e = l.source.element;
110
110
  let a = "";
111
- (z = (v = (c = (b = l.source) == null ? void 0 : b.element) == null ? void 0 : c.renderRoot) == null ? void 0 : v.querySelector(".data-label")) != null && z.textContent && (a = (S = (w = (k = l.source) == null ? void 0 : k.element) == null ? void 0 : w.renderRoot) == null ? void 0 : S.querySelector(
111
+ (z = (v = (s = (b = l.source) == null ? void 0 : b.element) == null ? void 0 : s.renderRoot) == null ? void 0 : v.querySelector(".data-label")) != null && z.textContent && (a = (T = (w = (k = l.source) == null ? void 0 : k.element) == null ? void 0 : w.renderRoot) == null ? void 0 : T.querySelector(
112
112
  ".data-label"
113
- ).textContent), a || (a = $e(
113
+ ).textContent), a || (a = Ie(
114
114
  (D = (C = l == null ? void 0 : l.source) == null ? void 0 : C.data) == null ? void 0 : D.label,
115
- ($ = (E = l == null ? void 0 : l.source) == null ? void 0 : E.element) == null ? void 0 : $.language
115
+ (I = (S = l == null ? void 0 : l.source) == null ? void 0 : S.element) == null ? void 0 : I.language
116
116
  ), a = a || "Untitled");
117
- const m = (I = (P = l == null ? void 0 : l.source) == null ? void 0 : P.data) == null ? void 0 : I.type, r = (R = (O = l == null ? void 0 : l.source) == null ? void 0 : O.data) == null ? void 0 : R.subtype, d = Q(e.size, { type: m, subtype: r }), o = {};
117
+ const n = ($ = (E = l == null ? void 0 : l.source) == null ? void 0 : E.data) == null ? void 0 : $.type, r = (R = (P = l == null ? void 0 : l.source) == null ? void 0 : P.data) == null ? void 0 : R.subtype, d = J(e.size, { type: n, subtype: r }), o = {};
118
118
  [
119
119
  [
120
120
  "borderColor",
@@ -161,16 +161,16 @@ const Pe = ":host{font-family:var(--luzmo-draggable-data-item-level-font-family,
161
161
  "--luzmo-draggable-data-item-level-gap",
162
162
  "--draggable-data-item-level-gap"
163
163
  ]
164
- ].forEach(([h, W, X]) => {
165
- const Z = U(e, W) || U(e, X);
166
- o[h] = Z;
164
+ ].forEach(([p, K, Q]) => {
165
+ const W = A(e, K) || A(e, Q);
166
+ o[p] = W;
167
167
  });
168
- const u = document.createElement("div"), s = document.createElement("div");
169
- if (u.innerHTML = a, !((j = (_ = l == null ? void 0 : l.source) == null ? void 0 : _.element) != null && j.sublevel)) {
170
- const h = document.createElement("luzmo-icon");
171
- h.icon = d, s.append(h);
168
+ const c = document.createElement("div"), u = document.createElement("div");
169
+ if (c.innerHTML = a, !((j = (O = l == null ? void 0 : l.source) == null ? void 0 : O.element) != null && j.sublevel)) {
170
+ const p = document.createElement("luzmo-icon");
171
+ p.icon = d, u.append(p);
172
172
  }
173
- return s.append(u), Object.assign(s.style, {
173
+ return u.append(c), Object.assign(u.style, {
174
174
  display: "flex",
175
175
  alignItems: "center",
176
176
  height: o.height,
@@ -182,14 +182,14 @@ const Pe = ":host{font-family:var(--luzmo-draggable-data-item-level-font-family,
182
182
  color: o.color,
183
183
  padding: `0 ${o.horizontalPadding}`,
184
184
  gap: o.gap
185
- }), s;
185
+ }), u;
186
186
  };
187
- var Oe = Object.defineProperty, n = (l, e, a, m) => {
187
+ var Pe = Object.defineProperty, g = (l, e, a, n) => {
188
188
  for (var r = void 0, d = l.length - 1, o; d >= 0; d--)
189
189
  (o = l[d]) && (r = o(e, a, r) || r);
190
- return r && Oe(e, a, r), r;
190
+ return r && Pe(e, a, r), r;
191
191
  };
192
- const x = class x extends Ee(Ce, {
192
+ const x = class x extends Se(Ce, {
193
193
  validSizes: ["s", "m", "l", "xl"],
194
194
  noDefaultSize: !0
195
195
  }) {
@@ -225,31 +225,31 @@ const x = class x extends Ee(Ce, {
225
225
  return this.label && this.language && !this.sublevel && (a.label = {}, a.label[this.language] = this.label), this.description && this.language && (a.description = {}, a.description[this.language] = this.description), a;
226
226
  },
227
227
  onGenerateDragPreview: (a) => {
228
- const m = a.nativeSetDragImage;
229
- J({
228
+ const n = a.nativeSetDragImage;
229
+ Z({
230
230
  render({ container: r }) {
231
- const d = Ie(a);
231
+ const d = $e(a);
232
232
  r.append(d);
233
233
  },
234
- nativeSetDragImage: m
234
+ nativeSetDragImage: n
235
235
  });
236
236
  }
237
237
  });
238
238
  }
239
239
  render() {
240
- var m, r, d, o, u, s, b, c, v, z;
241
- const e = this.label ?? ((r = (m = this.data) == null ? void 0 : m.label) == null ? void 0 : r[this.language]) ?? ((u = (d = this.data) == null ? void 0 : d.label) == null ? void 0 : u[Object.keys((o = this.data) == null ? void 0 : o.label)[0]]) ?? "Untitled", a = this.description ?? ((b = (s = this.data) == null ? void 0 : s.description) == null ? void 0 : b[this.language]) ?? ((z = (c = this.data) == null ? void 0 : c.description) == null ? void 0 : z[Object.keys((v = this.data) == null ? void 0 : v.description)[0]]);
240
+ var n, r, d, o, c, u, b, s, v, z;
241
+ const e = this.label ?? ((r = (n = this.data) == null ? void 0 : n.label) == null ? void 0 : r[this.language]) ?? ((c = (d = this.data) == null ? void 0 : d.label) == null ? void 0 : c[Object.keys((o = this.data) == null ? void 0 : o.label)[0]]) ?? "Untitled", a = this.description ?? ((b = (u = this.data) == null ? void 0 : u.description) == null ? void 0 : b[this.language]) ?? ((z = (s = this.data) == null ? void 0 : s.description) == null ? void 0 : z[Object.keys((v = this.data) == null ? void 0 : v.description)[0]]);
242
242
  return y`
243
243
  <div class="draggable-data-item-level">
244
244
  <div class="drag-handle-icon">
245
245
  ${this.sublevel ? f(ke) : f(we)}
246
246
  </div>
247
247
  ${this.sublevel || this.hideTypeIcon ? "" : y`<div class="data-icon-type">
248
- ${f(Q(this.size, this.data))}
248
+ ${f(J(this.size, this.data))}
249
249
  </div>`}
250
250
  <div class="data-label">${e}</div>
251
251
  ${a ? y`<button class="data-description">
252
- ${f(Se)}
252
+ ${f(Te)}
253
253
  <luzmo-tooltip self-managed placement="top" size=${this.size}>
254
254
  ${a}
255
255
  </luzmo-tooltip>
@@ -258,31 +258,31 @@ const x = class x extends Ee(Ce, {
258
258
  `;
259
259
  }
260
260
  };
261
- x.styles = De(Pe);
261
+ x.styles = De(Ee);
262
262
  let i = x;
263
- n([
264
- g({ type: String, reflect: !0 })
263
+ g([
264
+ m({ type: String, reflect: !0 })
265
265
  ], i.prototype, "variant");
266
- n([
267
- g({ type: Boolean, reflect: !0, attribute: "hide-type-icon" })
266
+ g([
267
+ m({ type: Boolean, reflect: !0, attribute: "hide-type-icon" })
268
268
  ], i.prototype, "hideTypeIcon");
269
- n([
270
- g({ type: Boolean, reflect: !0 })
269
+ g([
270
+ m({ type: Boolean, reflect: !0 })
271
271
  ], i.prototype, "sublevel");
272
- n([
273
- g({ type: String, reflect: !0 })
272
+ g([
273
+ m({ type: String, reflect: !0 })
274
274
  ], i.prototype, "language");
275
- n([
276
- g({ type: Boolean, reflect: !0 })
275
+ g([
276
+ m({ type: Boolean, reflect: !0 })
277
277
  ], i.prototype, "disabled");
278
- n([
279
- g({ type: String, reflect: !0 })
278
+ g([
279
+ m({ type: String, reflect: !0 })
280
280
  ], i.prototype, "label");
281
- n([
282
- g({ type: String, reflect: !0 })
281
+ g([
282
+ m({ type: String, reflect: !0 })
283
283
  ], i.prototype, "description");
284
- n([
285
- g({ type: Object })
284
+ g([
285
+ m({ type: Object })
286
286
  ], i.prototype, "data");
287
287
  customElements.get("luzmo-draggable-data-item-level") || customElements.define(
288
288
  "luzmo-draggable-data-item-level",
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../get-css-variable-DLiZYZEi.cjs"),y=require("../task-HFsHfTra.cjs"),m=require("../luzmo-icons-BrtBl3E5.cjs");require("../index-CayjvyyX.cjs");const r=require("../property-Su1Q6aME.cjs"),C=require("../sized-mixin-PyCYpyQq-sKzDjc75.cjs"),S=require("../localize-DbobqcKs.cjs"),k=require("../query-D5qWDopr.cjs");require("../slot-menu/index.cjs");const _=":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{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));background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-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([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-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-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([accept-drag]){--droppable-slot-filled-background-color: var(--luzmo-color-positive);--droppable-slot-filled-color: white;--droppable-slot-filled-border-color: var(--luzmo-color-positive-down);--droppable-slot-controls-background-color: var(--luzmo-color-positive-down);--droppable-slot-controls-color: white;--droppable-slot-background-color: var(--luzmo-color-positive);--droppable-slot-font-color: white}: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}";var w=Object.defineProperty,i=(v,t,o,l)=>{for(var e=void 0,s=v.length-1,n;s>=0;s--)(n=v[s])&&(e=n(t,o,e)||e);return e&&w(t,o,e),e};const h=class h extends C.m(r.I,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this._loadSlotsConfig=new y.h(this,{task:async([t])=>{if(t&&t!==this._itemTypeLoaded){const o=Object.assign({"./item-slots-configs/area-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../area-chart-slots.config-BLxiYX05.cjs")),"./item-slots-configs/bar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bar-chart-slots.config-Jx1PveTM.cjs")),"./item-slots-configs/donut-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../donut-chart-slots.config-DIp-24lO.cjs"))});if(o[`./item-slots-configs/${t}-slots.config.ts`]){const l=await o[`./item-slots-configs/${t}-slots.config.ts`]();this._slotsConfig=(l==null?void 0:l.default)??{}}return this._slotsConfig}},args:()=>[this.itemType,this.language]}),this.slotConfiguration={},this.slotContents=[],this.language="en",this.menu="default",this.placement="bottom-end",this.changedSlotContents=t=>{this.dispatchEvent(new CustomEvent("slot-contents-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:t}}))},this._currentSlotContents=[]}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDroppable()}emptySlotContents(t){t.preventDefault(),t.stopPropagation(),this.slotContents=[],this.changedSlotContents([])}willUpdate(t){t.has("slotContents")&&(this._currentSlotContents=structuredClone(this.slotContents))}firstUpdated(t){this._cleanupDroppable||(this._cleanupDroppable=f.dropTargetForElements({element:this,onDrop:o=>{var n,p,d,c;const l={...(n=o.source)==null?void 0:n.data},e={...(l==null?void 0:l.label)??{en:"Untitled"}},s=l==null?void 0:l.type;if(s==="datetime"&&!l.level&&(l.level=l.lowestLevel??(l.subtype==="date"?5:9)),s==="datetime"&&((d=(p=o==null?void 0:o.source)==null?void 0:p.element)!=null&&d.hasAttribute("sublevel"))){const u=["(Yr)","(Qtr)","(Mth)","(Wk)","(Date)","(Hr)","(Min)","(Sec)","(Msec)"],b=(l==null?void 0:l.level)??1,g=Object.keys(e);for(const z of g)e[z]=`${e[z]} ${u[b-1]}`;l.label=e}this.slotContents=(c=this.slotConfiguration)!=null&&c.canAcceptMultipleColumns?[...this.slotContents??[],l]:[l],this.removeAttribute("accept-drag"),this.changedSlotContents(this.slotContents)},canDrop:({source:o})=>{var e,s,n,p,d,c,u,b,g;if(!["LUZMO-DRAGGABLE-DATA-ITEM-LEVEL","LUZMO-DRAGGABLE-DATA-ITEM"].includes((e=o.element)==null?void 0:e.tagName))return!1;const l=((n=(s=this.slotConfiguration)==null?void 0:s.acceptableColumnTypes)==null?void 0:n.length)>0?this.slotConfiguration.acceptableColumnTypes:["numeric","hierarchy","datetime"];return(p=o==null?void 0:o.data)!=null&&p.type&&!l.includes((d=o==null?void 0:o.data)==null?void 0:d.type)?!1:!((c=o==null?void 0:o.data)!=null&&c.subtype&&((b=(u=this.slotConfiguration)==null?void 0:u.acceptableColumnSubtypes)==null?void 0:b.length)>0&&!this.slotConfiguration.acceptableColumnSubtypes.includes((g=o==null?void 0:o.data)==null?void 0:g.subtype))},getDropEffect:()=>"link",onDragEnter:()=>{this.setAttribute("accept-drag","")},onDragLeave:()=>{this.removeAttribute("accept-drag")}}))}updated(){this.createFullLabel()}_onSlotMenuChanges(t){var o;t.preventDefault(),t.stopPropagation(),this.slotContents.length===((o=t.detail.slotContents)==null?void 0:o.length)?(this._currentSlotContents=t.detail.slotContents,this.createFullLabel(),this.changedSlotContents(this._currentSlotContents)):(this.slotContents=t.detail.slotContents,this.changedSlotContents(this.slotContents))}createFullLabel(){var l,e,s,n,p,d,c;let t="";((l=this._currentSlotContents)==null?void 0:l.length)===1?t=S.localize((s=(e=this._currentSlotContents)==null?void 0:e[0])==null?void 0:s.label,this.language)??"Untitled":((n=this._currentSlotContents)==null?void 0:n.length)>1&&(t=`${this._currentSlotContents.length} items`);let o="";this.label?o=this.label:(p=this.slotConfiguration)!=null&&p.label&&(o=this.slotConfiguration.label),o=o||"Untitled",((d=this._currentSlotContents)==null?void 0:d.length)>0&&(o+=((c=this._currentSlotContents)==null?void 0:c.length)>1?`: ${this._currentSlotContents.length} items`:`: ${t}`),this._droppableSlotLabelElement&&(this._droppableSlotLabelElement.textContent=o)}droppableSlotMarkup(){var t,o,l,e;return r.x`
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../get-css-variable-DLiZYZEi.cjs"),y=require("../task-CgK9ztaw.cjs"),m=require("@luzmo/icons");require("../index-DC2Pby0z.cjs");const r=require("../property-ChsOQ1Yj.cjs"),C=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),S=require("../localize-DbobqcKs.cjs"),k=require("../query-D5qWDopr.cjs");require("../slot-menu/index.cjs");const _=":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{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));background-color:var(--luzmo-droppable-slot-background-color, var(--droppable-slot-background-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([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-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-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([accept-drag]){--droppable-slot-filled-background-color: var(--luzmo-color-positive);--droppable-slot-filled-color: white;--droppable-slot-filled-border-color: var(--luzmo-color-positive-down);--droppable-slot-controls-background-color: var(--luzmo-color-positive-down);--droppable-slot-controls-color: white;--droppable-slot-background-color: var(--luzmo-color-positive);--droppable-slot-font-color: white}: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}";var x=Object.defineProperty,i=(v,t,o,l)=>{for(var e=void 0,s=v.length-1,n;s>=0;s--)(n=v[s])&&(e=n(t,o,e)||e);return e&&x(t,o,e),e};const h=class h extends C.m(r.kt,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this._loadSlotsConfig=new y.h(this,{task:async([t])=>{if(t&&t!==this._itemTypeLoaded){const o=Object.assign({"./item-slots-configs/area-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../area-chart-slots.config-BLxiYX05.cjs")),"./item-slots-configs/bar-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../bar-chart-slots.config-Jx1PveTM.cjs")),"./item-slots-configs/donut-chart-slots.config.ts":()=>Promise.resolve().then(()=>require("../donut-chart-slots.config-DIp-24lO.cjs"))});if(o[`./item-slots-configs/${t}-slots.config.ts`]){const l=await o[`./item-slots-configs/${t}-slots.config.ts`]();this._slotsConfig=(l==null?void 0:l.default)??{}}return this._slotsConfig}},args:()=>[this.itemType,this.language]}),this.slotConfiguration={},this.slotContents=[],this.language="en",this.menu="default",this.placement="bottom-end",this.changedSlotContents=t=>{this.dispatchEvent(new CustomEvent("slot-contents-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:t}}))},this._currentSlotContents=[]}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDroppable()}emptySlotContents(t){t.preventDefault(),t.stopPropagation(),this.slotContents=[],this.changedSlotContents([])}willUpdate(t){t.has("slotContents")&&(this._currentSlotContents=structuredClone(this.slotContents))}firstUpdated(t){this._cleanupDroppable||(this._cleanupDroppable=f.dropTargetForElements({element:this,onDrop:o=>{var n,p,d,c;const l={...(n=o.source)==null?void 0:n.data},e={...(l==null?void 0:l.label)??{en:"Untitled"}},s=l==null?void 0:l.type;if(s==="datetime"&&!l.level&&(l.level=l.lowestLevel??(l.subtype==="date"?5:9)),s==="datetime"&&((d=(p=o==null?void 0:o.source)==null?void 0:p.element)!=null&&d.hasAttribute("sublevel"))){const u=["(Yr)","(Qtr)","(Mth)","(Wk)","(Date)","(Hr)","(Min)","(Sec)","(Msec)"],b=(l==null?void 0:l.level)??1,g=Object.keys(e);for(const z of g)e[z]=`${e[z]} ${u[b-1]}`;l.label=e}this.slotContents=(c=this.slotConfiguration)!=null&&c.canAcceptMultipleColumns?[...this.slotContents??[],l]:[l],this.removeAttribute("accept-drag"),this.changedSlotContents(this.slotContents)},canDrop:({source:o})=>{var e,s,n,p,d,c,u,b,g;if(!["LUZMO-DRAGGABLE-DATA-ITEM-LEVEL","LUZMO-DRAGGABLE-DATA-ITEM"].includes((e=o.element)==null?void 0:e.tagName))return!1;const l=((n=(s=this.slotConfiguration)==null?void 0:s.acceptableColumnTypes)==null?void 0:n.length)>0?this.slotConfiguration.acceptableColumnTypes:["numeric","hierarchy","datetime"];return(p=o==null?void 0:o.data)!=null&&p.type&&!l.includes((d=o==null?void 0:o.data)==null?void 0:d.type)?!1:!((c=o==null?void 0:o.data)!=null&&c.subtype&&((b=(u=this.slotConfiguration)==null?void 0:u.acceptableColumnSubtypes)==null?void 0:b.length)>0&&!this.slotConfiguration.acceptableColumnSubtypes.includes((g=o==null?void 0:o.data)==null?void 0:g.subtype))},getDropEffect:()=>"link",onDragEnter:()=>{this.setAttribute("accept-drag","")},onDragLeave:()=>{this.removeAttribute("accept-drag")}}))}updated(){this.createFullLabel()}_onSlotMenuChanges(t){var o;t.preventDefault(),t.stopPropagation(),this.slotContents.length===((o=t.detail.slotContents)==null?void 0:o.length)?(this._currentSlotContents=t.detail.slotContents,this.createFullLabel(),this.changedSlotContents(this._currentSlotContents)):(this.slotContents=t.detail.slotContents,this.changedSlotContents(this.slotContents))}createFullLabel(){var l,e,s,n,p,d,c;let t="";((l=this._currentSlotContents)==null?void 0:l.length)===1?t=S.localize((s=(e=this._currentSlotContents)==null?void 0:e[0])==null?void 0:s.label,this.language)??"Untitled":((n=this._currentSlotContents)==null?void 0:n.length)>1&&(t=`${this._currentSlotContents.length} items`);let o="";this.label?o=this.label:(p=this.slotConfiguration)!=null&&p.label&&(o=this.slotConfiguration.label),o=o||"Untitled",((d=this._currentSlotContents)==null?void 0:d.length)>0&&(o+=((c=this._currentSlotContents)==null?void 0:c.length)>1?`: ${this._currentSlotContents.length} items`:`: ${t}`),this._droppableSlotLabelElement&&(this._droppableSlotLabelElement.textContent=o)}droppableSlotMarkup(){var t,o,l,e;return r.x`
21
21
  <div
22
22
  class="droppable-slot"
23
23
  ?filled=${((t=this.slotContents)==null?void 0:t.length)>0}
@@ -26,7 +26,7 @@
26
26
  <div class="droppable-slot-label"></div>
27
27
  ${((o=this.slotContents)==null?void 0:o.length)>0&&!(this.hideConfiguration&&this.hideDelete)?r.x`<div class="controls">
28
28
  ${this.hideConfiguration?"":r.x`<div>
29
- ${m.O2(m.M1)}
29
+ ${m.luzmoIcon(m.luzmoCog)}
30
30
  <luzmo-tooltip
31
31
  self-managed
32
32
  placement="top"
@@ -36,7 +36,7 @@
36
36
  </luzmo-tooltip>
37
37
  </div> `}
38
38
  ${this.hideDelete?"":r.x`<div @click=${this.emptySlotContents}>
39
- ${m.O2(m.v1)}
39
+ ${m.luzmoIcon(m.luzmoTrash)}
40
40
  <luzmo-tooltip
41
41
  self-managed
42
42
  placement="top"
@@ -66,4 +66,4 @@
66
66
  Could not load droppable slot: '${this.slotName}' of chart
67
67
  '${this.itemType}': ${t}.
68
68
  </div>
69
- `})}};h.styles=r.r(_);let a=h;i([r.n({type:String,reflect:!0,attribute:"item-type"})],a.prototype,"itemType");i([r.n({type:String,reflect:!0,attribute:"slot-name"})],a.prototype,"slotName");i([r.n({type:Object})],a.prototype,"slotConfiguration");i([r.n({type:Object})],a.prototype,"slotContents");i([r.n({type:String,reflect:!0})],a.prototype,"label");i([r.n({type:String,reflect:!0})],a.prototype,"language");i([r.n({type:String,reflect:!0})],a.prototype,"menu");i([r.n({type:String,reflect:!0})],a.prototype,"placement");i([r.n({type:Boolean,reflect:!0,attribute:"hide-delete"})],a.prototype,"hideDelete");i([r.n({type:Boolean,reflect:!0,attribute:"hide-configuration"})],a.prototype,"hideConfiguration");i([k.e(".droppable-slot-label")],a.prototype,"_droppableSlotLabelElement");customElements.get("luzmo-droppable-slot")||customElements.define("luzmo-droppable-slot",a);exports.LuzmoDroppableSlot=a;
69
+ `})}};h.styles=r.r$1(_);let a=h;i([r.n({type:String,reflect:!0,attribute:"item-type"})],a.prototype,"itemType");i([r.n({type:String,reflect:!0,attribute:"slot-name"})],a.prototype,"slotName");i([r.n({type:Object})],a.prototype,"slotConfiguration");i([r.n({type:Object})],a.prototype,"slotContents");i([r.n({type:String,reflect:!0})],a.prototype,"label");i([r.n({type:String,reflect:!0})],a.prototype,"language");i([r.n({type:String,reflect:!0})],a.prototype,"menu");i([r.n({type:String,reflect:!0})],a.prototype,"placement");i([r.n({type:Boolean,reflect:!0,attribute:"hide-delete"})],a.prototype,"hideDelete");i([r.n({type:Boolean,reflect:!0,attribute:"hide-configuration"})],a.prototype,"hideConfiguration");i([k.e(".droppable-slot-label")],a.prototype,"_droppableSlotLabelElement");customElements.get("luzmo-droppable-slot")||customElements.define("luzmo-droppable-slot",a);exports.LuzmoDroppableSlot=a;
@@ -18,11 +18,11 @@
18
18
  * SOFTWARE.
19
19
  * */
20
20
  import { d as C } from "../get-css-variable-Bhbr-Kr1.js";
21
- import { h as x } from "../task-BPD0PyaQ.js";
22
- import { O as v, M as S, v as w } from "../luzmo-icons-CZEpXpvy.js";
23
- import "../index-DskAouD-.js";
24
- import { I as k, r as _, x as u, n as i } from "../property-CD3dwBJC.js";
25
- import { m as $ } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
21
+ import { h as x } from "../task-DYLITx7R.js";
22
+ import { luzmoIcon as v, luzmoCog as k, luzmoTrash as S } from "@luzmo/icons";
23
+ import "../index-Ci0Pe5UA.js";
24
+ import { k as w, a as _, x as u, n as i } from "../property-CXJD1jOW.js";
25
+ import { m as $ } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
26
26
  import { l as D } from "../localize-B6AsX_Zv.js";
27
27
  import { e as E } from "../query-Ddbd72Um.js";
28
28
  import "../slot-menu/index.js";
@@ -39,7 +39,7 @@ var A = Object.defineProperty, n = (m, l, o, t) => {
39
39
  (s = m[a]) && (e = s(l, o, e) || e);
40
40
  return e && A(l, o, e), e;
41
41
  };
42
- const h = class h extends $(k, {
42
+ const h = class h extends $(w, {
43
43
  validSizes: ["s", "m", "l", "xl"],
44
44
  noDefaultSize: !0
45
45
  }) {
@@ -156,7 +156,7 @@ const h = class h extends $(k, {
156
156
  <div class="droppable-slot-label"></div>
157
157
  ${((o = this.slotContents) == null ? void 0 : o.length) > 0 && !(this.hideConfiguration && this.hideDelete) ? u`<div class="controls">
158
158
  ${this.hideConfiguration ? "" : u`<div>
159
- ${v(S)}
159
+ ${v(k)}
160
160
  <luzmo-tooltip
161
161
  self-managed
162
162
  placement="top"
@@ -166,7 +166,7 @@ const h = class h extends $(k, {
166
166
  </luzmo-tooltip>
167
167
  </div> `}
168
168
  ${this.hideDelete ? "" : u`<div @click=${this.emptySlotContents}>
169
- ${v(w)}
169
+ ${v(S)}
170
170
  <luzmo-tooltip
171
171
  self-managed
172
172
  placement="top"