@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.
- package/components/{area-chart-slots.config-P7xa-pHi.js → area-chart-slots.config-DoytjTpw.js} +1 -1
- package/components/{area-chart-slots.config-CIfDfftd.cjs → area-chart-slots.config-Dx_ysVZK.cjs} +1 -1
- package/components/{bar-chart-slots.config-MQAjNXqV.js → bar-chart-slots.config-Dn0IV43j.js} +1 -1
- package/components/{bar-chart-slots.config-DszaQhMd.cjs → bar-chart-slots.config-c_9ABPOI.cjs} +1 -1
- package/components/{box-plot-slots.config-BRhnF2FE.js → box-plot-slots.config-FI5Id-7p.js} +1 -1
- package/components/box-plot-slots.config-K-1CiWO-.cjs +20 -0
- package/components/{calculate-data-item-icon-DlyGQVBA.js → calculate-data-item-icon-BFpVWXnR.js} +61 -43
- package/components/{calculate-data-item-icon-Bygfq3KO.cjs → calculate-data-item-icon-C_3QUGmB.cjs} +1 -1
- package/components/choropleth-map-slots.config-CFERs0ca.cjs +20 -0
- package/components/{choropleth-map-slots.config-B-uJTj4q.js → choropleth-map-slots.config-DStOyVgQ.js} +7 -2
- package/components/{sunburst-chart-slots.config-C-_ganmv.cjs → circle-pack-chart-slots.config-B18aqdH1.cjs} +1 -1
- package/components/{circle-pack-chart-slots.config-xwVdRiwS.js → circle-pack-chart-slots.config-lV4uNMcp.js} +1 -1
- package/components/{column-chart-slots.config-C7MhpoR8.cjs → column-chart-slots.config-C0nGjkmv.cjs} +1 -1
- package/components/{column-chart-slots.config-DAdAk17k.js → column-chart-slots.config-epF0y5yo.js} +1 -1
- package/components/{combination-chart-slots.config-crMO01EO.cjs → combination-chart-slots.config-CY07Q5Hw.cjs} +1 -1
- package/components/{combination-chart-slots.config-CqKLFKCZ.js → combination-chart-slots.config-DRKSJyCC.js} +1 -1
- package/components/{date-filter-slots.config-Cb1LcT9W.cjs → date-filter-slots.config-CrA5ijD3.cjs} +1 -1
- package/components/{date-filter-slots.config-CxB8IF5B.js → date-filter-slots.config-DIjChKTZ.js} +2 -2
- package/components/display-settings/display-settings.d.ts +1 -0
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +3 -2
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +2 -2
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/display-settings-numeric/index.cjs +3 -3
- package/components/display-settings-numeric/index.js +56 -51
- package/components/display-settings-period-over-period/index.cjs +8 -8
- package/components/display-settings-period-over-period/index.js +84 -73
- package/components/{donut-chart-slots.config-BEwhfq27.js → donut-chart-slots.config-CHLEBSDg.js} +1 -1
- package/components/{donut-chart-slots.config-DIp-24lO.cjs → donut-chart-slots.config-DBowIZNO.cjs} +1 -1
- package/components/draggable-data-item/draggable-data-item.d.ts +2 -0
- package/components/draggable-data-item/index.cjs +6 -5
- package/components/draggable-data-item/index.js +20 -16
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -0
- package/components/draggable-data-item-level/index.cjs +12 -7
- package/components/draggable-data-item-level/index.js +79 -60
- package/components/{dropdown-filter-slots.config-I2n4b_6V.cjs → dropdown-filter-slots.config-0wn6pMvi.cjs} +1 -1
- package/components/{dropdown-filter-slots.config-B8J6ftCh.js → dropdown-filter-slots.config-D2J9Z5aQ.js} +1 -1
- package/components/droppable-slot/droppable-slot.d.ts +1 -1
- package/components/droppable-slot/index.cjs +6 -6
- package/components/droppable-slot/index.js +73 -66
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +2 -2
- package/components/{edit-option-base-Cw2iO2Av.js → edit-option-base-BQc4gXup.js} +1 -1
- package/components/{edit-option-base-B7owFMOO.cjs → edit-option-base-ByphLI4J.cjs} +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +3 -3
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +1 -1
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +1 -1
- package/components/edit-option-positions-number-field/index.cjs +2 -2
- package/components/edit-option-positions-number-field/index.js +2 -2
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +1 -1
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +1 -1
- package/components/{evolution-number-slots.config-BI-sFIug.cjs → evolution-number-slots.config-CNNVp6vR.cjs} +1 -1
- package/components/{evolution-number-slots.config-CW21b2ua.js → evolution-number-slots.config-CSDEf5Lv.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +3 -3
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +3 -3
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{funnel-chart-slots.config-BBhMS2qi.js → funnel-chart-slots.config-B-72sm5j.js} +6 -1
- package/components/{box-plot-slots.config-DZxyy3sS.cjs → funnel-chart-slots.config-GKBCY9xN.cjs} +1 -1
- package/components/grid/index.cjs +1 -1
- package/components/grid/index.js +3 -3
- package/components/{marker-map-slots.config-cdD8XTmI.js → heat-map-slots.config-CAj40INL.js} +1 -1
- package/components/{heat-map-slots.config-CSxSsQwX.cjs → heat-map-slots.config-D7cSAVdX.cjs} +1 -1
- package/components/{hexbin-map-slots.config-cdD8XTmI.js → hexbin-map-slots.config-CAj40INL.js} +1 -1
- package/components/{hexbin-map-slots.config-CSxSsQwX.cjs → hexbin-map-slots.config-D7cSAVdX.cjs} +1 -1
- package/components/{index-UWOCtc0Y.js → index-8fxgV8-A.js} +2 -2
- package/components/{index-BIrO4_kD.cjs → index-B_rfLdXx.cjs} +1 -1
- package/components/{index-Ciad94jH.js → index-Bdy8Bz-n.js} +3 -3
- package/components/{index-BEAYzHcY.js → index-Bg5PqKqt.js} +32 -32
- package/components/{index-Jmmy73Aq.js → index-BmshD32H.js} +34 -34
- package/components/{index-sCesmw8l.js → index-CDpuEf8W.js} +4 -4
- package/components/{index-CT2vEcpn.cjs → index-CHFwXYcm.cjs} +2 -2
- package/components/{index-B_dW2-QA.cjs → index-CNA9joKT.cjs} +1 -1
- package/components/{index-CcDZIqpD.cjs → index-CUvucmA0.cjs} +1 -1
- package/components/{index-CAJRL5rT.cjs → index-CYeQkVeJ.cjs} +5 -5
- package/components/{utils-B1rr30GZ.js → index-CgnTl6Sc.js} +11 -13
- package/components/{index-BNwJ9moR.js → index-ChDwMQlU.js} +3 -3
- package/components/{index-CzRmB9z3.cjs → index-DM96Q1fX.cjs} +1 -1
- package/components/{index-Boxjo5I0.js → index-DUF6bALI.js} +7 -7
- package/components/{index-CaVIv7B9.cjs → index-EXO-Hsj2.cjs} +1 -1
- package/components/{utils-CvCeHVBQ.cjs → index-Vdyb9z2D.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +18 -16
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +32 -32
- package/components/{line-chart-slots.config-P7xa-pHi.js → line-chart-slots.config-DoytjTpw.js} +1 -1
- package/components/{line-chart-slots.config-CIfDfftd.cjs → line-chart-slots.config-Dx_ysVZK.cjs} +1 -1
- package/components/{luzmo-icons-DEoJcvoL.js → luzmo-icons-B2K7AcCF.js} +183 -141
- package/components/luzmo-icons-CP__dRRM.cjs +31 -0
- package/components/{heat-map-slots.config-cdD8XTmI.js → marker-map-slots.config-CAj40INL.js} +1 -1
- package/components/{marker-map-slots.config-CSxSsQwX.cjs → marker-map-slots.config-D7cSAVdX.cjs} +1 -1
- package/components/{parallel-coordinates-plot-slots.config-BRXA5nUl.cjs → parallel-coordinates-plot-slots.config--fk40ZDu.cjs} +1 -1
- package/components/{parallel-coordinates-plot-slots.config-CQW2CJW6.js → parallel-coordinates-plot-slots.config-BjRcJdWM.js} +7 -2
- package/components/{pending-state-DTX7ggyF-D1SvcIIz.js → pending-state-DTX7ggyF-BQdsLMT1.js} +2 -2
- package/components/{pending-state-DTX7ggyF-DZzxjogp.cjs → pending-state-DTX7ggyF-CoV2RbDq.cjs} +1 -1
- package/components/{pivot-table-slots.config-DzGWM3Ez.cjs → pivot-table-slots.config-45V_Gdm7.cjs} +1 -1
- package/components/{pivot-table-slots.config-BH5fOJre.js → pivot-table-slots.config-CGU7IyDG.js} +3 -3
- package/components/{pyramid-chart-slots.config-DeWrVApy.cjs → pyramid-chart-slots.config-D5F0WX2d.cjs} +1 -1
- package/components/{pyramid-chart-slots.config-Cm9bQsXT.js → pyramid-chart-slots.config-lfxmIAy_.js} +1 -1
- package/components/radar-chart-slots.config-BEigR_Ml.cjs +20 -0
- package/components/{radar-chart-slots.config-Dpmytmc3.js → radar-chart-slots.config-CuQvda0y.js} +6 -1
- package/components/{regular-table-slots.config-ChrvnRDb.cjs → regular-table-slots.config-RLnMgOXn.cjs} +1 -1
- package/components/{regular-table-slots.config-EUS-V9lL.js → regular-table-slots.config-eQ8HccjY.js} +1 -1
- package/components/{route-map-slots.config-DYCcaQZi.js → route-map-slots.config-B9dcwOXi.js} +7 -2
- package/components/{route-map-slots.config-BfbIWCr0.cjs → route-map-slots.config-DsVJBR3D.cjs} +1 -1
- package/components/{sankey-diagram-slots.config-B7Q-ZfUP.cjs → sankey-diagram-slots.config-CiyYElLX.cjs} +1 -1
- package/components/{sankey-diagram-slots.config-BSTBEZDe.js → sankey-diagram-slots.config-DmqnP_mH.js} +1 -1
- package/components/{scatter-plot-slots.config-wlX_PVu8.cjs → scatter-plot-slots.config-47cB5_RC.cjs} +1 -1
- package/components/{scatter-plot-slots.config-BuWYqDWK.js → scatter-plot-slots.config-DjURFO07.js} +1 -1
- package/components/{search-filter-slots.config-DmiVXOva.js → search-filter-slots.config-CCEWnbiJ.js} +2 -2
- package/components/{search-filter-slots.config-DOlr8VaD.cjs → search-filter-slots.config-DeHkvc2Q.cjs} +1 -1
- package/components/{slicer-filter-slots.config-CHQ0ZXga.js → slicer-filter-slots.config-AOwwW5Ut.js} +2 -2
- package/components/{slicer-filter-slots.config-Dyte3aGp.cjs → slicer-filter-slots.config-V7hURjKI.cjs} +1 -1
- package/components/{slider-filter-slots.config-Cr5oXbok.cjs → slider-filter-slots.config-B--K9cpP.cjs} +1 -1
- package/components/{slider-filter-slots.config-BN3K1rnl.js → slider-filter-slots.config-D7cv_Ky4.js} +7 -2
- package/components/slot-contents-picker/index.cjs +145 -0
- package/components/slot-contents-picker/index.d.ts +7 -0
- package/components/slot-contents-picker/index.js +461 -0
- package/components/slot-contents-picker/slot-contents-picker.d.ts +112 -0
- package/components/slot-menu/index.cjs +13 -11
- package/components/slot-menu/index.js +33 -24
- package/components/slot-menu/slot-menu.d.ts +13 -0
- package/components/slot-menu-list/index.cjs +2 -2
- package/components/slot-menu-list/index.js +1 -1
- package/components/{spike-map-slots.config-Drga6_j0.cjs → spike-map-slots.config-BM5-Dlub.cjs} +1 -1
- package/components/{spike-map-slots.config-CuqpgkvN.js → spike-map-slots.config-Bq0WfdI4.js} +1 -1
- package/components/{strip-plot-slots.config-Co8ghEv8.js → strip-plot-slots.config-B1OLcL4K.js} +1 -1
- package/components/{strip-plot-slots.config-JvkKY5Ga.cjs → strip-plot-slots.config-DDUlLO8K.cjs} +1 -1
- package/components/{circle-pack-chart-slots.config-C-_ganmv.cjs → sunburst-chart-slots.config-B18aqdH1.cjs} +1 -1
- package/components/{sunburst-chart-slots.config-xwVdRiwS.js → sunburst-chart-slots.config-lV4uNMcp.js} +1 -1
- package/components/{symbol-map-slots.config-C5CKaVED.js → symbol-map-slots.config-DT5lvWh_.js} +7 -2
- package/components/{choropleth-map-slots.config-PNwSR0XY.cjs → symbol-map-slots.config-Dm_FRGHA.cjs} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +34 -34
- package/components/{venn-diagram-slots.config-DPmj71cR.js → venn-diagram-slots.config-BPxkBFb6.js} +2 -2
- package/components/{venn-diagram-slots.config-CpOPbUjs.cjs → venn-diagram-slots.config-GytlZGbF.cjs} +1 -1
- package/custom-elements.json +463 -10
- package/index.d.ts +1 -0
- package/item-definitions/area-chart/area-chart-slots.config.d.ts +3 -3
- package/item-definitions/bar-chart/bar-chart-slots.config.d.ts +2 -2
- package/item-definitions/box-plot/box-plot-slots.config.d.ts +2 -2
- package/item-definitions/choropleth-map/choropleth-map-slots.config.d.ts +3 -3
- package/item-definitions/circle-pack-chart/circle-pack-chart-slots.config.d.ts +2 -2
- package/item-definitions/column-chart/column-chart-slots.config.d.ts +2 -2
- package/item-definitions/combination-chart/combination-chart-slots.config.d.ts +2 -2
- package/item-definitions/date-filter/date-filter-slots.config.d.ts +2 -2
- package/item-definitions/donut-chart/donut-chart-slots.config.d.ts +2 -2
- package/item-definitions/dropdown-filter/dropdown-filter-slots.config.d.ts +1 -1
- package/item-definitions/evolution-number/evolution-number-slots.config.d.ts +2 -2
- package/item-definitions/funnel-chart/funnel-chart-slots.config.d.ts +2 -2
- package/item-definitions/heat-map/heat-map-slots.config.d.ts +2 -2
- package/item-definitions/hexbin-map/hexbin-map-slots.config.d.ts +2 -2
- package/item-definitions/line-chart/line-chart-slots.config.d.ts +3 -3
- package/item-definitions/marker-map/marker-map-slots.config.d.ts +2 -2
- package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.d.ts +4 -4
- package/item-definitions/pivot-table/pivot-table-slots.config.d.ts +2 -2
- package/item-definitions/pyramid-chart/pyramid-chart-slots.config.d.ts +3 -3
- package/item-definitions/radar-chart/radar-chart-slots.config.d.ts +3 -3
- package/item-definitions/regular-table/regular-table-slots.config.d.ts +1 -1
- package/item-definitions/route-map/route-map-slots.config.d.ts +3 -3
- package/item-definitions/sankey-diagram/sankey-diagram-slots.config.d.ts +3 -3
- package/item-definitions/scatter-plot/scatter-plot-slots.config.d.ts +4 -4
- package/item-definitions/search-filter/search-filter-slots.config.d.ts +2 -2
- package/item-definitions/slicer-filter/slicer-filter-slots.config.d.ts +2 -2
- package/item-definitions/slider-filter/slider-filter-slots.config.d.ts +2 -2
- package/item-definitions/spike-map/spike-map-slots.config.d.ts +3 -3
- package/item-definitions/strip-plot/strip-plot-slots.config.d.ts +2 -2
- package/item-definitions/sunburst-chart/sunburst-chart-slots.config.d.ts +2 -2
- package/item-definitions/symbol-map/symbol-map-slots.config.d.ts +3 -3
- package/item-definitions/venn-diagram/venn-diagram-slots.config.d.ts +2 -2
- package/package.json +6 -1
- package/utils/data-item-types/calculate-data-item-icon.d.ts +1 -0
- package/components/funnel-chart-slots.config-WrokHS7f.cjs +0 -20
- package/components/luzmo-icons-DAsjNJNI.cjs +0 -31
- package/components/radar-chart-slots.config-Dxx5fKnS.cjs +0 -20
- package/components/symbol-map-slots.config-DtW-3xkd.cjs +0 -20
- package/utils/themes/utils.d.ts +0 -1
package/components/utils.js
CHANGED
@@ -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-
|
24
|
-
import { g as $, s as q } from "./
|
25
|
-
function g(
|
26
|
-
var
|
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
|
30
|
+
const t = e.replace("SlotsConfig", "").replaceAll(/([A-Z])/g, "-$1").toLowerCase();
|
31
31
|
f.push({
|
32
|
-
type:
|
32
|
+
type: t,
|
33
33
|
slotsConfig: C[e]
|
34
34
|
});
|
35
35
|
});
|
36
36
|
const r = f.find(
|
37
|
-
(e) => e.type === (
|
37
|
+
(e) => e.type === (o == null ? void 0 : o.oldItemType)
|
38
38
|
), n = f.find(
|
39
|
-
(e) => e.type === (
|
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:
|
44
|
+
slots: o.slots ?? []
|
45
45
|
};
|
46
|
-
const i = structuredClone(
|
46
|
+
const i = structuredClone(o.slots ?? []);
|
47
47
|
for (const e of i) {
|
48
|
-
const
|
48
|
+
const t = r == null ? void 0 : r.slotsConfig.find(
|
49
49
|
(A) => A.name === e.name
|
50
50
|
);
|
51
|
-
e.type = (
|
51
|
+
e.type = (t == null ? void 0 : t.type) ?? (e == null ? void 0 : e.type);
|
52
52
|
}
|
53
|
-
const
|
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
|
56
|
-
|
57
|
-
for (const e of
|
58
|
-
for (const
|
59
|
-
|
60
|
-
const k = [...O, ...
|
61
|
-
(e,
|
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
|
65
|
-
c.includes(e.key) || (
|
66
|
-
const T = i.filter((e) => e.type === "categorical").sort((e,
|
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
|
69
|
-
|
70
|
-
for (const e of
|
71
|
-
for (const
|
72
|
-
|
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
|
-
...
|
76
|
-
].sort((e,
|
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
|
80
|
-
|
81
|
-
let d = { ...
|
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 ?? { ...
|
85
|
+
options: d ?? { ...o.options }
|
86
86
|
};
|
87
87
|
}
|
88
88
|
export {
|
package/components/{venn-diagram-slots.config-DPmj71cR.js → venn-diagram-slots.config-BPxkBFb6.js}
RENAMED
@@ -23,7 +23,7 @@ const e = [
|
|
23
23
|
rotate: !1,
|
24
24
|
label: "Circles",
|
25
25
|
type: "categorical",
|
26
|
-
|
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
|
-
|
34
|
+
canAcceptMultipleDataItems: !1,
|
35
35
|
isRequired: !0
|
36
36
|
},
|
37
37
|
{
|
package/components/{venn-diagram-slots.config-CpOPbUjs.cjs → venn-diagram-slots.config-GytlZGbF.cjs}
RENAMED
@@ -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",
|
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;
|