@luzmo/analytics-components-kit 1.0.1-alpha.40 → 1.0.1-alpha.42

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 (204) hide show
  1. package/components/{area-chart-slots.config-P7xa-pHi.js → area-chart-slots.config-DoytjTpw.js} +1 -1
  2. package/components/{area-chart-slots.config-CIfDfftd.cjs → area-chart-slots.config-Dx_ysVZK.cjs} +1 -1
  3. package/components/{bar-chart-slots.config-MQAjNXqV.js → bar-chart-slots.config-Dn0IV43j.js} +1 -1
  4. package/components/{bar-chart-slots.config-DszaQhMd.cjs → bar-chart-slots.config-c_9ABPOI.cjs} +1 -1
  5. package/components/{box-plot-slots.config-BRhnF2FE.js → box-plot-slots.config-FI5Id-7p.js} +1 -1
  6. package/components/box-plot-slots.config-K-1CiWO-.cjs +20 -0
  7. package/components/{calculate-data-item-icon-DlyGQVBA.js → calculate-data-item-icon-BFpVWXnR.js} +61 -43
  8. package/components/{calculate-data-item-icon-Bygfq3KO.cjs → calculate-data-item-icon-C_3QUGmB.cjs} +1 -1
  9. package/components/choropleth-map-slots.config-CFERs0ca.cjs +20 -0
  10. package/components/{choropleth-map-slots.config-B-uJTj4q.js → choropleth-map-slots.config-DStOyVgQ.js} +7 -2
  11. package/components/{sunburst-chart-slots.config-C-_ganmv.cjs → circle-pack-chart-slots.config-B18aqdH1.cjs} +1 -1
  12. package/components/{circle-pack-chart-slots.config-xwVdRiwS.js → circle-pack-chart-slots.config-lV4uNMcp.js} +1 -1
  13. package/components/{column-chart-slots.config-C7MhpoR8.cjs → column-chart-slots.config-C0nGjkmv.cjs} +1 -1
  14. package/components/{column-chart-slots.config-DAdAk17k.js → column-chart-slots.config-epF0y5yo.js} +1 -1
  15. package/components/{combination-chart-slots.config-crMO01EO.cjs → combination-chart-slots.config-CY07Q5Hw.cjs} +1 -1
  16. package/components/{combination-chart-slots.config-CqKLFKCZ.js → combination-chart-slots.config-DRKSJyCC.js} +1 -1
  17. package/components/{date-filter-slots.config-Cb1LcT9W.cjs → date-filter-slots.config-CrA5ijD3.cjs} +1 -1
  18. package/components/{date-filter-slots.config-CxB8IF5B.js → date-filter-slots.config-DIjChKTZ.js} +2 -2
  19. package/components/display-settings/display-settings.d.ts +1 -0
  20. package/components/display-settings/index.cjs +3 -3
  21. package/components/display-settings/index.js +3 -2
  22. package/components/display-settings-binning/index.cjs +1 -1
  23. package/components/display-settings-binning/index.js +1 -1
  24. package/components/display-settings-datetime/index.cjs +1 -1
  25. package/components/display-settings-datetime/index.js +2 -2
  26. package/components/display-settings-grand-totals/index.cjs +1 -1
  27. package/components/display-settings-grand-totals/index.js +1 -1
  28. package/components/display-settings-numeric/index.cjs +3 -3
  29. package/components/display-settings-numeric/index.js +56 -51
  30. package/components/display-settings-period-over-period/index.cjs +8 -8
  31. package/components/display-settings-period-over-period/index.js +84 -73
  32. package/components/{donut-chart-slots.config-BEwhfq27.js → donut-chart-slots.config-CHLEBSDg.js} +1 -1
  33. package/components/{donut-chart-slots.config-DIp-24lO.cjs → donut-chart-slots.config-DBowIZNO.cjs} +1 -1
  34. package/components/draggable-data-item/draggable-data-item.d.ts +2 -0
  35. package/components/draggable-data-item/index.cjs +6 -5
  36. package/components/draggable-data-item/index.js +20 -16
  37. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -0
  38. package/components/draggable-data-item-level/index.cjs +12 -7
  39. package/components/draggable-data-item-level/index.js +79 -60
  40. package/components/{dropdown-filter-slots.config-I2n4b_6V.cjs → dropdown-filter-slots.config-0wn6pMvi.cjs} +1 -1
  41. package/components/{dropdown-filter-slots.config-B8J6ftCh.js → dropdown-filter-slots.config-D2J9Z5aQ.js} +1 -1
  42. package/components/droppable-slot/droppable-slot.d.ts +1 -1
  43. package/components/droppable-slot/index.cjs +6 -6
  44. package/components/droppable-slot/index.js +73 -66
  45. package/components/edit-option-action-button-group/index.cjs +1 -1
  46. package/components/edit-option-action-button-group/index.js +2 -2
  47. package/components/{edit-option-base-Cw2iO2Av.js → edit-option-base-BQc4gXup.js} +1 -1
  48. package/components/{edit-option-base-B7owFMOO.cjs → edit-option-base-ByphLI4J.cjs} +1 -1
  49. package/components/edit-option-color-picker/index.cjs +1 -1
  50. package/components/edit-option-color-picker/index.js +3 -3
  51. package/components/edit-option-multi-language-field/index.cjs +1 -1
  52. package/components/edit-option-multi-language-field/index.js +1 -1
  53. package/components/edit-option-number-field/index.cjs +1 -1
  54. package/components/edit-option-number-field/index.js +1 -1
  55. package/components/edit-option-picker/index.cjs +1 -1
  56. package/components/edit-option-picker/index.js +3 -3
  57. package/components/edit-option-position-picker/index.cjs +1 -1
  58. package/components/edit-option-position-picker/index.js +1 -1
  59. package/components/edit-option-positions-number-field/index.cjs +2 -2
  60. package/components/edit-option-positions-number-field/index.js +2 -2
  61. package/components/edit-option-radio-button-group/index.cjs +1 -1
  62. package/components/edit-option-radio-button-group/index.js +1 -1
  63. package/components/edit-option-slider/index.cjs +1 -1
  64. package/components/edit-option-slider/index.js +1 -1
  65. package/components/edit-option-switch/index.cjs +1 -1
  66. package/components/edit-option-switch/index.js +1 -1
  67. package/components/edit-option-text-field/index.cjs +1 -1
  68. package/components/edit-option-text-field/index.js +1 -1
  69. package/components/{evolution-number-slots.config-BI-sFIug.cjs → evolution-number-slots.config-CNNVp6vR.cjs} +1 -1
  70. package/components/{evolution-number-slots.config-CW21b2ua.js → evolution-number-slots.config-CSDEf5Lv.js} +1 -1
  71. package/components/filter-data-item-picker/index.cjs +1 -1
  72. package/components/filter-data-item-picker/index.js +3 -3
  73. package/components/filter-expression-picker/index.cjs +1 -1
  74. package/components/filter-expression-picker/index.js +1 -1
  75. package/components/filter-item/index.cjs +1 -1
  76. package/components/filter-item/index.js +1 -1
  77. package/components/filter-value-picker/index.cjs +1 -1
  78. package/components/filter-value-picker/index.js +1 -1
  79. package/components/filter-value-picker-datetime/index.cjs +1 -1
  80. package/components/filter-value-picker-datetime/index.js +3 -3
  81. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  82. package/components/filter-value-picker-hierarchy/index.js +1 -1
  83. package/components/filter-value-picker-numeric/index.cjs +1 -1
  84. package/components/filter-value-picker-numeric/index.js +1 -1
  85. package/components/{funnel-chart-slots.config-BBhMS2qi.js → funnel-chart-slots.config-B-72sm5j.js} +6 -1
  86. package/components/{box-plot-slots.config-DZxyy3sS.cjs → funnel-chart-slots.config-GKBCY9xN.cjs} +1 -1
  87. package/components/grid/index.cjs +1 -1
  88. package/components/grid/index.js +3 -3
  89. package/components/{marker-map-slots.config-cdD8XTmI.js → heat-map-slots.config-CAj40INL.js} +1 -1
  90. package/components/{heat-map-slots.config-CSxSsQwX.cjs → heat-map-slots.config-D7cSAVdX.cjs} +1 -1
  91. package/components/{hexbin-map-slots.config-cdD8XTmI.js → hexbin-map-slots.config-CAj40INL.js} +1 -1
  92. package/components/{hexbin-map-slots.config-CSxSsQwX.cjs → hexbin-map-slots.config-D7cSAVdX.cjs} +1 -1
  93. package/components/{index-UWOCtc0Y.js → index-8fxgV8-A.js} +2 -2
  94. package/components/{index-BIrO4_kD.cjs → index-B_rfLdXx.cjs} +1 -1
  95. package/components/{index-Ciad94jH.js → index-Bdy8Bz-n.js} +3 -3
  96. package/components/{index-BEAYzHcY.js → index-Bg5PqKqt.js} +32 -32
  97. package/components/{index-Jmmy73Aq.js → index-BmshD32H.js} +34 -34
  98. package/components/{index-sCesmw8l.js → index-CDpuEf8W.js} +4 -4
  99. package/components/{index-CT2vEcpn.cjs → index-CHFwXYcm.cjs} +2 -2
  100. package/components/{index-B_dW2-QA.cjs → index-CNA9joKT.cjs} +1 -1
  101. package/components/{index-CcDZIqpD.cjs → index-CUvucmA0.cjs} +1 -1
  102. package/components/{index-CAJRL5rT.cjs → index-CYeQkVeJ.cjs} +5 -5
  103. package/components/{utils-B1rr30GZ.js → index-CgnTl6Sc.js} +11 -13
  104. package/components/{index-BNwJ9moR.js → index-ChDwMQlU.js} +3 -3
  105. package/components/{index-CzRmB9z3.cjs → index-DM96Q1fX.cjs} +1 -1
  106. package/components/{index-Boxjo5I0.js → index-DUF6bALI.js} +7 -7
  107. package/components/{index-CaVIv7B9.cjs → index-EXO-Hsj2.cjs} +1 -1
  108. package/components/{utils-CvCeHVBQ.cjs → index-Vdyb9z2D.cjs} +1 -1
  109. package/components/index.cjs +1 -1
  110. package/components/index.js +18 -16
  111. package/components/item-slots-configs.cjs +1 -1
  112. package/components/item-slots-configs.js +32 -32
  113. package/components/{line-chart-slots.config-P7xa-pHi.js → line-chart-slots.config-DoytjTpw.js} +1 -1
  114. package/components/{line-chart-slots.config-CIfDfftd.cjs → line-chart-slots.config-Dx_ysVZK.cjs} +1 -1
  115. package/components/{luzmo-icons-DEoJcvoL.js → luzmo-icons-B2K7AcCF.js} +183 -141
  116. package/components/luzmo-icons-CP__dRRM.cjs +31 -0
  117. package/components/{heat-map-slots.config-cdD8XTmI.js → marker-map-slots.config-CAj40INL.js} +1 -1
  118. package/components/{marker-map-slots.config-CSxSsQwX.cjs → marker-map-slots.config-D7cSAVdX.cjs} +1 -1
  119. package/components/{parallel-coordinates-plot-slots.config-BRXA5nUl.cjs → parallel-coordinates-plot-slots.config--fk40ZDu.cjs} +1 -1
  120. package/components/{parallel-coordinates-plot-slots.config-CQW2CJW6.js → parallel-coordinates-plot-slots.config-BjRcJdWM.js} +7 -2
  121. package/components/{pending-state-DTX7ggyF-D1SvcIIz.js → pending-state-DTX7ggyF-BQdsLMT1.js} +2 -2
  122. package/components/{pending-state-DTX7ggyF-DZzxjogp.cjs → pending-state-DTX7ggyF-CoV2RbDq.cjs} +1 -1
  123. package/components/{pivot-table-slots.config-DzGWM3Ez.cjs → pivot-table-slots.config-45V_Gdm7.cjs} +1 -1
  124. package/components/{pivot-table-slots.config-BH5fOJre.js → pivot-table-slots.config-CGU7IyDG.js} +3 -3
  125. package/components/{pyramid-chart-slots.config-DeWrVApy.cjs → pyramid-chart-slots.config-D5F0WX2d.cjs} +1 -1
  126. package/components/{pyramid-chart-slots.config-Cm9bQsXT.js → pyramid-chart-slots.config-lfxmIAy_.js} +1 -1
  127. package/components/radar-chart-slots.config-BEigR_Ml.cjs +20 -0
  128. package/components/{radar-chart-slots.config-Dpmytmc3.js → radar-chart-slots.config-CuQvda0y.js} +6 -1
  129. package/components/{regular-table-slots.config-ChrvnRDb.cjs → regular-table-slots.config-RLnMgOXn.cjs} +1 -1
  130. package/components/{regular-table-slots.config-EUS-V9lL.js → regular-table-slots.config-eQ8HccjY.js} +1 -1
  131. package/components/{route-map-slots.config-DYCcaQZi.js → route-map-slots.config-B9dcwOXi.js} +7 -2
  132. package/components/{route-map-slots.config-BfbIWCr0.cjs → route-map-slots.config-DsVJBR3D.cjs} +1 -1
  133. package/components/{sankey-diagram-slots.config-B7Q-ZfUP.cjs → sankey-diagram-slots.config-CiyYElLX.cjs} +1 -1
  134. package/components/{sankey-diagram-slots.config-BSTBEZDe.js → sankey-diagram-slots.config-DmqnP_mH.js} +1 -1
  135. package/components/{scatter-plot-slots.config-wlX_PVu8.cjs → scatter-plot-slots.config-47cB5_RC.cjs} +1 -1
  136. package/components/{scatter-plot-slots.config-BuWYqDWK.js → scatter-plot-slots.config-DjURFO07.js} +1 -1
  137. package/components/{search-filter-slots.config-DmiVXOva.js → search-filter-slots.config-CCEWnbiJ.js} +2 -2
  138. package/components/{search-filter-slots.config-DOlr8VaD.cjs → search-filter-slots.config-DeHkvc2Q.cjs} +1 -1
  139. package/components/{slicer-filter-slots.config-CHQ0ZXga.js → slicer-filter-slots.config-AOwwW5Ut.js} +2 -2
  140. package/components/{slicer-filter-slots.config-Dyte3aGp.cjs → slicer-filter-slots.config-V7hURjKI.cjs} +1 -1
  141. package/components/{slider-filter-slots.config-Cr5oXbok.cjs → slider-filter-slots.config-B--K9cpP.cjs} +1 -1
  142. package/components/{slider-filter-slots.config-BN3K1rnl.js → slider-filter-slots.config-D7cv_Ky4.js} +7 -2
  143. package/components/slot-contents-picker/index.cjs +145 -0
  144. package/components/slot-contents-picker/index.d.ts +7 -0
  145. package/components/slot-contents-picker/index.js +461 -0
  146. package/components/slot-contents-picker/slot-contents-picker.d.ts +112 -0
  147. package/components/slot-menu/index.cjs +13 -11
  148. package/components/slot-menu/index.js +33 -24
  149. package/components/slot-menu/slot-menu.d.ts +13 -0
  150. package/components/slot-menu-list/index.cjs +2 -2
  151. package/components/slot-menu-list/index.js +1 -1
  152. package/components/{spike-map-slots.config-Drga6_j0.cjs → spike-map-slots.config-BM5-Dlub.cjs} +1 -1
  153. package/components/{spike-map-slots.config-CuqpgkvN.js → spike-map-slots.config-Bq0WfdI4.js} +1 -1
  154. package/components/{strip-plot-slots.config-Co8ghEv8.js → strip-plot-slots.config-B1OLcL4K.js} +1 -1
  155. package/components/{strip-plot-slots.config-JvkKY5Ga.cjs → strip-plot-slots.config-DDUlLO8K.cjs} +1 -1
  156. package/components/{circle-pack-chart-slots.config-C-_ganmv.cjs → sunburst-chart-slots.config-B18aqdH1.cjs} +1 -1
  157. package/components/{sunburst-chart-slots.config-xwVdRiwS.js → sunburst-chart-slots.config-lV4uNMcp.js} +1 -1
  158. package/components/{symbol-map-slots.config-C5CKaVED.js → symbol-map-slots.config-DT5lvWh_.js} +7 -2
  159. package/components/{choropleth-map-slots.config-PNwSR0XY.cjs → symbol-map-slots.config-Dm_FRGHA.cjs} +1 -1
  160. package/components/utils.cjs +1 -1
  161. package/components/utils.js +34 -34
  162. package/components/{venn-diagram-slots.config-DPmj71cR.js → venn-diagram-slots.config-BPxkBFb6.js} +2 -2
  163. package/components/{venn-diagram-slots.config-CpOPbUjs.cjs → venn-diagram-slots.config-GytlZGbF.cjs} +1 -1
  164. package/custom-elements.json +463 -10
  165. package/index.d.ts +1 -0
  166. package/item-definitions/area-chart/area-chart-slots.config.d.ts +3 -3
  167. package/item-definitions/bar-chart/bar-chart-slots.config.d.ts +2 -2
  168. package/item-definitions/box-plot/box-plot-slots.config.d.ts +2 -2
  169. package/item-definitions/choropleth-map/choropleth-map-slots.config.d.ts +3 -3
  170. package/item-definitions/circle-pack-chart/circle-pack-chart-slots.config.d.ts +2 -2
  171. package/item-definitions/column-chart/column-chart-slots.config.d.ts +2 -2
  172. package/item-definitions/combination-chart/combination-chart-slots.config.d.ts +2 -2
  173. package/item-definitions/date-filter/date-filter-slots.config.d.ts +2 -2
  174. package/item-definitions/donut-chart/donut-chart-slots.config.d.ts +2 -2
  175. package/item-definitions/dropdown-filter/dropdown-filter-slots.config.d.ts +1 -1
  176. package/item-definitions/evolution-number/evolution-number-slots.config.d.ts +2 -2
  177. package/item-definitions/funnel-chart/funnel-chart-slots.config.d.ts +2 -2
  178. package/item-definitions/heat-map/heat-map-slots.config.d.ts +2 -2
  179. package/item-definitions/hexbin-map/hexbin-map-slots.config.d.ts +2 -2
  180. package/item-definitions/line-chart/line-chart-slots.config.d.ts +3 -3
  181. package/item-definitions/marker-map/marker-map-slots.config.d.ts +2 -2
  182. package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.d.ts +4 -4
  183. package/item-definitions/pivot-table/pivot-table-slots.config.d.ts +2 -2
  184. package/item-definitions/pyramid-chart/pyramid-chart-slots.config.d.ts +3 -3
  185. package/item-definitions/radar-chart/radar-chart-slots.config.d.ts +3 -3
  186. package/item-definitions/regular-table/regular-table-slots.config.d.ts +1 -1
  187. package/item-definitions/route-map/route-map-slots.config.d.ts +3 -3
  188. package/item-definitions/sankey-diagram/sankey-diagram-slots.config.d.ts +3 -3
  189. package/item-definitions/scatter-plot/scatter-plot-slots.config.d.ts +4 -4
  190. package/item-definitions/search-filter/search-filter-slots.config.d.ts +2 -2
  191. package/item-definitions/slicer-filter/slicer-filter-slots.config.d.ts +2 -2
  192. package/item-definitions/slider-filter/slider-filter-slots.config.d.ts +2 -2
  193. package/item-definitions/spike-map/spike-map-slots.config.d.ts +3 -3
  194. package/item-definitions/strip-plot/strip-plot-slots.config.d.ts +2 -2
  195. package/item-definitions/sunburst-chart/sunburst-chart-slots.config.d.ts +2 -2
  196. package/item-definitions/symbol-map/symbol-map-slots.config.d.ts +3 -3
  197. package/item-definitions/venn-diagram/venn-diagram-slots.config.d.ts +2 -2
  198. package/package.json +6 -1
  199. package/utils/data-item-types/calculate-data-item-icon.d.ts +1 -0
  200. package/components/funnel-chart-slots.config-WrokHS7f.cjs +0 -20
  201. package/components/luzmo-icons-DAsjNJNI.cjs +0 -31
  202. package/components/radar-chart-slots.config-Dxx5fKnS.cjs +0 -20
  203. package/components/symbol-map-slots.config-DtW-3xkd.cjs +0 -20
  204. package/utils/themes/utils.d.ts +0 -1
@@ -20,69 +20,69 @@
20
20
  import { d as j } from "./decompose-numeric-format-BuZcjH2k.js";
21
21
  import { f as E } from "./formatter-CQDms6fU.js";
22
22
  import { l as N } from "./localize-BX7q0S0M.js";
23
- import { s as C } from "./index-BEAYzHcY.js";
24
- import { g as $, s as q } from "./utils-B1rr30GZ.js";
25
- function g(t) {
26
- var a, m, h, x;
23
+ import { s as C } from "./index-Bg5PqKqt.js";
24
+ import { g as $, s as q } from "./index-CgnTl6Sc.js";
25
+ function g(o) {
26
+ var u, m, h, x;
27
27
  const c = [], f = [];
28
28
  Object.keys(C).forEach((e) => {
29
29
  e.replace("SlotsConfig", "");
30
- const o = e.replace("SlotsConfig", "").replaceAll(/([A-Z])/g, "-$1").toLowerCase();
30
+ const t = e.replace("SlotsConfig", "").replaceAll(/([A-Z])/g, "-$1").toLowerCase();
31
31
  f.push({
32
- type: o,
32
+ type: t,
33
33
  slotsConfig: C[e]
34
34
  });
35
35
  });
36
36
  const r = f.find(
37
- (e) => e.type === (t == null ? void 0 : t.oldItemType)
37
+ (e) => e.type === (o == null ? void 0 : o.oldItemType)
38
38
  ), n = f.find(
39
- (e) => e.type === (t == null ? void 0 : t.newItemType)
39
+ (e) => e.type === (o == null ? void 0 : o.newItemType)
40
40
  ), s = structuredClone((n == null ? void 0 : n.slotsConfig) ?? []);
41
41
  if (!n)
42
42
  return {
43
43
  type: (r == null ? void 0 : r.type) ?? "bar-chart",
44
- slots: t.slots ?? []
44
+ slots: o.slots ?? []
45
45
  };
46
- const i = structuredClone(t.slots ?? []);
46
+ const i = structuredClone(o.slots ?? []);
47
47
  for (const e of i) {
48
- const o = r == null ? void 0 : r.slotsConfig.find(
48
+ const t = r == null ? void 0 : r.slotsConfig.find(
49
49
  (A) => A.name === e.name
50
50
  );
51
- e.type = (o == null ? void 0 : o.type) ?? (e == null ? void 0 : e.type);
51
+ e.type = (t == null ? void 0 : t.type) ?? (e == null ? void 0 : e.type);
52
52
  }
53
- const y = i.filter((e) => e.type === "mixed").sort((e, o) => e.order - o.order), u = s.filter((e) => e.type === "mixed").sort((e, o) => e.order - o.order), S = i.filter((e) => e.type === "numeric").sort((e, o) => e.order - o.order), O = s.filter((e) => e.type === "numeric").sort((e, o) => e.order - o.order), l = [];
53
+ const a = i.filter((e) => e.type === "mixed").sort((e, t) => e.order - t.order), y = s.filter((e) => e.type === "mixed").sort((e, t) => e.order - t.order), S = i.filter((e) => e.type === "numeric").sort((e, t) => e.order - t.order), O = s.filter((e) => e.type === "numeric").sort((e, t) => e.order - t.order), l = [];
54
54
  for (const e of S)
55
- for (const o of e.content)
56
- o.key = "old-measure-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(o), l.push(o);
57
- for (const e of y)
58
- for (const o of e.content)
59
- o.type === "numeric" && (o.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(o), l.push(o));
60
- const k = [...O, ...u].sort(
61
- (e, o) => s.indexOf(e) - s.indexOf(o)
55
+ for (const t of e.content)
56
+ t.key = "old-measure-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), l.push(t);
57
+ for (const e of a)
58
+ for (const t of e.content)
59
+ t.type === "numeric" && (t.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), l.push(t));
60
+ const k = [...O, ...y].sort(
61
+ (e, t) => s.indexOf(e) - s.indexOf(t)
62
62
  );
63
63
  for (const e of l)
64
- for (const o of k)
65
- c.includes(e.key) || (o.content = (o == null ? void 0 : o.content) ?? [], (((a = o == null ? void 0 : o.content) == null ? void 0 : a.length) === 0 || ((m = o == null ? void 0 : o.content) == null ? void 0 : m.length) > 0 && (o == null ? void 0 : o.canAcceptMultipleColumns) === !0) && (o.content.push(e), c.push(e.key)));
66
- const T = i.filter((e) => e.type === "categorical").sort((e, o) => e.order - o.order), w = s.filter((e) => e.type === "categorical").sort((e, o) => e.order - o.order), p = [];
64
+ for (const t of k)
65
+ c.includes(e.key) || (t.content = (t == null ? void 0 : t.content) ?? [], (((u = t == null ? void 0 : t.content) == null ? void 0 : u.length) === 0 || ((m = t == null ? void 0 : t.content) == null ? void 0 : m.length) > 0 && (t == null ? void 0 : t.canAcceptMultipleDataItems) === !0) && (t.content.push(e), c.push(e.key)));
66
+ const T = i.filter((e) => e.type === "categorical").sort((e, t) => e.order - t.order), w = s.filter((e) => e.type === "categorical").sort((e, t) => e.order - t.order), p = [];
67
67
  for (const e of T)
68
- for (const o of e.content)
69
- o.key = "old-dimension-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(o), p.push(o);
70
- for (const e of y)
71
- for (const o of e.content)
72
- o.type !== "numeric" && (o.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(o), p.push(o));
68
+ for (const t of e.content)
69
+ t.key = "old-dimension-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), p.push(t);
70
+ for (const e of a)
71
+ for (const t of e.content)
72
+ t.type !== "numeric" && (t.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), p.push(t));
73
73
  const M = [
74
74
  ...w,
75
- ...u
76
- ].sort((e, o) => s.indexOf(e) - s.indexOf(o));
75
+ ...y
76
+ ].sort((e, t) => s.indexOf(e) - s.indexOf(t));
77
77
  for (const e of p)
78
78
  if (!c.includes(e.key))
79
- for (const o of M)
80
- o && !c.includes(e.key) && (o.content = (o == null ? void 0 : o.content) ?? [], (((h = o == null ? void 0 : o.content) == null ? void 0 : h.length) === 0 || ((x = o == null ? void 0 : o.content) == null ? void 0 : x.length) > 0 && (o == null ? void 0 : o.canAcceptMultipleColumns) === !0) && (o.content.push(e), c.push(e.key)));
81
- let d = { ...t.options };
79
+ for (const t of M)
80
+ t && !c.includes(e.key) && (t.content = (t == null ? void 0 : t.content) ?? [], (((h = t == null ? void 0 : t.content) == null ? void 0 : h.length) === 0 || ((x = t == null ? void 0 : t.content) == null ? void 0 : x.length) > 0 && (t == null ? void 0 : t.canAcceptMultipleDataItems) === !0) && (t.content.push(e), c.push(e.key)));
81
+ let d = { ...o.options };
82
82
  return n.setInitialOptions && (d = n == null ? void 0 : n.setInitialOptions({ ...d })), {
83
83
  type: n.type ?? "bar-chart",
84
84
  slots: s.map((e) => ({ name: e.name, content: e.content ?? [] })) ?? [],
85
- options: d ?? { ...t.options }
85
+ options: d ?? { ...o.options }
86
86
  };
87
87
  }
88
88
  export {
@@ -23,7 +23,7 @@ const e = [
23
23
  rotate: !1,
24
24
  label: "Circles",
25
25
  type: "categorical",
26
- canAcceptMultipleColumns: !1,
26
+ canAcceptMultipleDataItems: !1,
27
27
  isRequired: !0
28
28
  },
29
29
  {
@@ -31,7 +31,7 @@ const e = [
31
31
  rotate: !0,
32
32
  label: "Identifier",
33
33
  type: "categorical",
34
- canAcceptMultipleColumns: !1,
34
+ canAcceptMultipleDataItems: !1,
35
35
  isRequired: !0
36
36
  },
37
37
  {
@@ -17,4 +17,4 @@
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 e=[{name:"category",rotate:!1,label:"Circles",type:"categorical",canAcceptMultipleColumns:!1,isRequired:!0},{name:"identifier",rotate:!0,label:"Identifier",type:"categorical",canAcceptMultipleColumns:!1,isRequired:!0},{name:"measure",rotate:!1,label:"Measure",type:"numeric",isRequired:!1,canAcceptFormula:!0}];exports.default=e;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=[{name:"category",rotate:!1,label:"Circles",type:"categorical",canAcceptMultipleDataItems:!1,isRequired:!0},{name:"identifier",rotate:!0,label:"Identifier",type:"categorical",canAcceptMultipleDataItems:!1,isRequired:!0},{name:"measure",rotate:!1,label:"Measure",type:"numeric",isRequired:!1,canAcceptFormula:!0}];exports.default=e;