@luzmo/analytics-components-kit 1.0.1-alpha.10 → 1.0.1-alpha.11
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/bar-chart.config--VDhFN4d.cjs +20 -0
- package/components/{column-chart.config-C9hP0kX7.js → bar-chart.config-BYIX4E6J.js} +34 -33
- package/components/{bar-chart.en-FwT00qdU.js → bar-chart.en-Crc8tYUJ.js} +17 -0
- package/components/{donut-chart.en-Blb9oSdU.cjs → bar-chart.en-D1UfGsS3.cjs} +1 -1
- package/components/bar-chart.fr-BwiGRlQf.js +86 -0
- package/components/bar-chart.fr-CP7DTrlk.cjs +20 -0
- package/components/bar-chart.nl-C9EOP2kE.js +86 -0
- package/components/bar-chart.nl-Cxq8ID8c.cjs +20 -0
- package/components/{bar-chart.nl-ahX1ARpH.js → box-plot-slots.config-BRhnF2FE.js} +25 -21
- package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
- package/components/{textobject.config-C8opcGG4.js → bubble-chart-slots.config-Bbh94VgZ.js} +18 -24
- package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
- package/components/bullet-chart-slots.config-Ccv_dX0s.js +45 -0
- package/components/bullet-chart-slots.config-CiYsxviC.cjs +20 -0
- package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
- package/components/{bar-chart.nl-BYzVExsz.cjs → choropleth-map-slots.config-PNwSR0XY.cjs} +1 -1
- package/components/{donut-chart.nl-D9YGbOce.cjs → circle-pack-chart-slots.config-C-_ganmv.cjs} +1 -1
- package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
- package/components/{donut-chart.fr-BeTVa2wh.cjs → circular-gauge-slots.config-Cd-nkNPm.cjs} +1 -1
- package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
- package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
- package/components/column-chart-slots.config-DAdAk17k.js +47 -0
- package/components/{bar-chart.config-CQ6HAvs2.js → column-chart.config-BYIX4E6J.js} +36 -35
- package/components/column-chart.config-BmhmcBZJ.cjs +20 -0
- package/components/column-chart.en-Crc8tYUJ.js +86 -0
- package/components/{bar-chart.en-BqYbiHO3.cjs → column-chart.en-D1UfGsS3.cjs} +1 -1
- package/components/column-chart.fr-BwiGRlQf.js +86 -0
- package/components/column-chart.fr-CP7DTrlk.cjs +20 -0
- package/components/column-chart.nl-C9EOP2kE.js +86 -0
- package/components/column-chart.nl-Cxq8ID8c.cjs +20 -0
- package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
- package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
- package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
- package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
- package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
- package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
- package/components/display-settings-datetime/index.cjs +209 -1
- package/components/display-settings-datetime/index.js +511 -6
- package/components/{donut-chart.en-CzjT4-XN.js → donut-chart.en-CrUf4CJ9.js} +14 -0
- package/components/donut-chart.en-DHCYs2el.cjs +20 -0
- package/components/donut-chart.fr-C33dLw52.cjs +20 -0
- package/components/donut-chart.fr-DVfZwZny.js +99 -0
- package/components/donut-chart.nl-B13jr7SK.js +99 -0
- package/components/donut-chart.nl-CHAnU1xZ.cjs +20 -0
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +1 -1
- package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
- package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
- package/components/droppable-slot/index.cjs +12 -12
- package/components/droppable-slot/index.js +126 -85
- package/components/droppable-slot/item-slots-configs/box-plot-slots.config.d.ts +26 -0
- package/components/droppable-slot/item-slots-configs/bubble-chart-slots.config.d.ts +30 -0
- package/components/droppable-slot/item-slots-configs/bullet-chart-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/choropleth-map-slots.config.d.ts +29 -0
- package/components/droppable-slot/item-slots-configs/circle-pack-chart-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/circular-gauge-slots.config.d.ts +16 -0
- package/components/droppable-slot/item-slots-configs/column-chart-slots.config.d.ts +24 -0
- package/components/droppable-slot/item-slots-configs/combination-chart-slots.config.d.ts +30 -0
- package/components/droppable-slot/item-slots-configs/conditional-number-slots.config.d.ts +16 -0
- package/components/droppable-slot/item-slots-configs/date-filter-slots.config.d.ts +10 -0
- package/components/droppable-slot/item-slots-configs/dropdown-filter-slots.config.d.ts +23 -0
- package/components/droppable-slot/item-slots-configs/evolution-number-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/funnel-chart-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/heat-map-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/heat-table-slots.config.d.ts +20 -0
- package/components/droppable-slot/item-slots-configs/hexbin-map-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/image-slots.config.d.ts +2 -0
- package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
- package/components/droppable-slot/item-slots-configs/line-chart-slots.config.d.ts +44 -0
- package/components/droppable-slot/item-slots-configs/marker-map-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/ohlc-chart-slots.config.d.ts +21 -0
- package/components/droppable-slot/item-slots-configs/parallel-coordinates-plot-slots.config.d.ts +23 -0
- package/components/droppable-slot/item-slots-configs/pivot-table-slots.config.d.ts +21 -0
- package/components/droppable-slot/item-slots-configs/pyramid-chart-slots.config.d.ts +33 -0
- package/components/droppable-slot/item-slots-configs/radar-chart-slots.config.d.ts +33 -0
- package/components/droppable-slot/item-slots-configs/regular-table-slots.config.d.ts +13 -0
- package/components/droppable-slot/item-slots-configs/route-map-slots.config.d.ts +28 -0
- package/components/droppable-slot/item-slots-configs/sankey-diagram-slots.config.d.ts +33 -0
- package/components/droppable-slot/item-slots-configs/scatter-plot-slots.config.d.ts +50 -0
- package/components/droppable-slot/item-slots-configs/search-filter-slots.config.d.ts +24 -0
- package/components/droppable-slot/item-slots-configs/slicer-filter-slots.config.d.ts +23 -0
- package/components/droppable-slot/item-slots-configs/slider-filter-slots.config.d.ts +13 -0
- package/components/droppable-slot/item-slots-configs/speedometer-chart-slots.config.d.ts +16 -0
- package/components/droppable-slot/item-slots-configs/spike-map-slots.config.d.ts +31 -0
- package/components/droppable-slot/item-slots-configs/strip-plot-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/sunburst-chart-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/symbol-map-slots.config.d.ts +31 -0
- package/components/droppable-slot/item-slots-configs/text-slots.config.d.ts +2 -0
- package/components/droppable-slot/item-slots-configs/treemap-chart-slots.config.d.ts +30 -0
- package/components/droppable-slot/item-slots-configs/venn-diagram-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/video-slots.config.d.ts +2 -0
- package/components/droppable-slot/item-slots-configs/wordcloud-chart-slots.config.d.ts +23 -0
- package/components/edit-item/index.cjs +17 -14
- package/components/edit-item/index.js +176 -161
- package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
- package/components/edit-option/index.cjs +115 -104
- package/components/edit-option/index.js +262 -226
- package/components/edit-option/item-configs/imageobject.config.d.ts +1 -3
- package/components/edit-option/item-configs/line-chart.config.d.ts +36 -2
- package/components/edit-option/item-configs/spacer.config.d.ts +2 -0
- package/components/edit-option/item-configs/textobject.config.d.ts +34 -2
- package/components/edit-option/item-configs/videoobject.config.d.ts +90 -0
- package/components/edit-option/item-translations/bar-chart.en.d.ts +17 -0
- package/components/edit-option/item-translations/bar-chart.fr.d.ts +47 -5
- package/components/edit-option/item-translations/bar-chart.nl.d.ts +47 -5
- package/components/edit-option/item-translations/column-chart.en.d.ts +65 -0
- package/components/edit-option/item-translations/column-chart.fr.d.ts +65 -0
- package/components/edit-option/item-translations/column-chart.nl.d.ts +65 -0
- package/components/edit-option/item-translations/donut-chart.en.d.ts +14 -0
- package/components/edit-option/item-translations/donut-chart.fr.d.ts +62 -2
- package/components/edit-option/item-translations/donut-chart.nl.d.ts +62 -2
- package/components/edit-option/item-translations/imageobject.en.d.ts +71 -0
- package/components/edit-option/item-translations/imageobject.fr.d.ts +71 -0
- package/components/edit-option/item-translations/imageobject.nl.d.ts +71 -0
- package/components/edit-option/item-translations/textobject.en.d.ts +17 -0
- package/components/edit-option/item-translations/textobject.fr.d.ts +17 -0
- package/components/edit-option/item-translations/textobject.nl.d.ts +17 -0
- package/components/edit-option-action-button-group/index.cjs +12 -5
- package/components/edit-option-action-button-group/index.js +26 -19
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -0
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +32 -22
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
- package/components/edit-option-position-picker/index.cjs +25 -0
- package/components/edit-option-position-picker/index.d.ts +7 -0
- package/components/edit-option-position-picker/index.js +110 -0
- package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +11 -9
- package/components/edit-option-positions-number-field/index.cjs +12 -12
- package/components/edit-option-positions-number-field/index.js +84 -75
- package/components/en-BnVnZvpC.cjs +20 -0
- package/components/en-DlRadzUI.js +1487 -0
- package/components/{en-GB-DX5un7Gr.js → en-GB-C9t4MSgD.js} +1 -1
- package/components/{en-GB-Bz4u7Uqv.cjs → en-GB-D5Tvhki6.cjs} +1 -1
- package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
- package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
- package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
- package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
- package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
- package/components/heat-table-slots.config-DJkP72oT.js +48 -0
- package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
- package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
- package/components/image-slots.config-IpwUxDyU.js +23 -0
- package/components/image-slots.config-mPXMR1CE.cjs +20 -0
- package/components/{imageobject.config-DZLp9Elq.js → imageobject.config-CBfeq5Zw.js} +2 -2
- package/components/{imageobject.config-B7ld9bj3.cjs → imageobject.config-Dqhc2c3b.cjs} +1 -1
- package/components/imageobject.en-BMmV-4O-.js +92 -0
- package/components/imageobject.en-DflcU_2H.cjs +20 -0
- package/components/imageobject.fr-DRE3zImB.js +92 -0
- package/components/imageobject.fr-ycH7UoX5.cjs +20 -0
- package/components/imageobject.nl-D20hki6i.js +92 -0
- package/components/imageobject.nl-DQL45o0j.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +33 -25
- package/components/item-list.cjs +20 -0
- package/components/item-list.js +423 -0
- package/components/item-menu/item-list/item-list.d.ts +35 -0
- package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
- package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
- package/components/line-chart.config-DBw4A3Rf.js +178 -0
- package/components/line-chart.config-cvwDhvSq.cjs +20 -0
- package/components/{localize-B6AsX_Zv.js → localize-BX7q0S0M.js} +16 -16
- package/components/localize-r7ALOUy_.cjs +20 -0
- package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
- package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
- package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
- package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
- package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
- package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
- package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
- package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
- package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
- package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
- package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
- package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
- package/components/route-map-slots.config-DYCcaQZi.js +53 -0
- package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
- package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
- package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
- package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
- package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
- package/components/search-filter-slots.config-DmiVXOva.js +47 -0
- package/components/{bar-chart.fr-DbxKiM0j.js → slicer-filter-slots.config-CHQ0ZXga.js} +21 -20
- package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
- package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
- package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
- package/components/slot-configs.cjs +20 -0
- package/components/slot-configs.js +109 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/spacer.config-Br2Dm5Uv.js +23 -0
- package/components/spacer.config-mPXMR1CE.cjs +20 -0
- package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
- package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
- package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
- package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
- package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
- package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
- package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
- package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
- package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
- package/components/{bar-chart.fr-DGx9smEh.cjs → symbol-map-slots.config-DtW-3xkd.cjs} +1 -1
- package/components/text-slots.config-BMBEkf0O.cjs +20 -0
- package/components/text-slots.config-Hy5yNIAX.js +23 -0
- package/components/{textobject.config-DbAajFz8.cjs → textobject.config-BFB3rEmt.cjs} +1 -1
- package/components/textobject.config-DTDqt0ci.js +73 -0
- package/components/textobject.en-BQqHFc7M.js +38 -0
- package/components/textobject.en-LfsMtwo6.cjs +20 -0
- package/components/textobject.fr-B8x29grG.cjs +20 -0
- package/components/{donut-chart.nl-NMatXfhK.js → textobject.fr-VPJ3bDOM.js} +11 -12
- package/components/textobject.nl-DzglrI3i.cjs +20 -0
- package/components/{donut-chart.fr-DftPrKbG.js → textobject.nl-V03mmGmH.js} +11 -12
- package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
- package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +8 -1
- package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
- package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
- package/components/video-slots.config-IpwUxDyU.js +23 -0
- package/components/video-slots.config-mPXMR1CE.cjs +20 -0
- package/components/videoobject.config-BBDHSf6_.cjs +20 -0
- package/components/videoobject.config-CbtNZAEK.js +135 -0
- package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
- package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
- package/custom-elements.json +3309 -1832
- package/index.d.ts +2 -0
- package/package.json +21 -1
- package/utils/index.d.ts +3 -1
- package/components/bar-chart.config-B57geUzJ.cjs +0 -20
- package/components/column-chart.config-B57geUzJ.cjs +0 -20
- package/components/en-BByOeNuP.js +0 -1989
- package/components/en-BFGuvaVG.cjs +0 -228
- package/components/line-chart.config-BZcvfO2c.cjs +0 -20
- package/components/line-chart.config-CIVN6uLI.js +0 -115
- package/components/localize-DbobqcKs.cjs +0 -20
- package/generated/locales/de.d.ts +0 -82
- package/generated/locales/es.d.ts +0 -82
- package/generated/locales/fr.d.ts +0 -82
- package/generated/locales/nl.d.ts +0 -82
package/index.d.ts
CHANGED
@@ -14,6 +14,7 @@ export * from './components/edit-option-color-picker';
|
|
14
14
|
export * from './components/edit-option-multi-language-field';
|
15
15
|
export * from './components/edit-option-number-field';
|
16
16
|
export * from './components/edit-option-picker';
|
17
|
+
export * from './components/edit-option-position-picker';
|
17
18
|
export * from './components/edit-option-positions-number-field';
|
18
19
|
export * from './components/edit-option-radio-button-group';
|
19
20
|
export * from './components/edit-option-slider';
|
@@ -21,3 +22,4 @@ export * from './components/edit-option-switch';
|
|
21
22
|
export * from './components/edit-option-text-field';
|
22
23
|
export * from './components/slot-menu';
|
23
24
|
export * from './components/slot-menu-list';
|
25
|
+
export * from './utils';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@luzmo/analytics-components-kit",
|
3
|
-
"version": "1.0.1-alpha.
|
3
|
+
"version": "1.0.1-alpha.11",
|
4
4
|
"type": "module",
|
5
5
|
"main": "./components/index.js",
|
6
6
|
"module": "./components/index.js",
|
@@ -91,6 +91,11 @@
|
|
91
91
|
"import": "./components/edit-option-picker/index.js",
|
92
92
|
"require": "./components/edit-option-picker/index.cjs"
|
93
93
|
},
|
94
|
+
"./edit-option-position-picker": {
|
95
|
+
"types": "./components/edit-option-position-picker/index.d.ts",
|
96
|
+
"import": "./components/edit-option-position-picker/index.js",
|
97
|
+
"require": "./components/edit-option-position-picker/index.cjs"
|
98
|
+
},
|
94
99
|
"./edit-option-positions-number-field": {
|
95
100
|
"types": "./components/edit-option-positions-number-field/index.d.ts",
|
96
101
|
"import": "./components/edit-option-positions-number-field/index.js",
|
@@ -126,10 +131,25 @@
|
|
126
131
|
"import": "./components/slot-menu-list/index.js",
|
127
132
|
"require": "./components/slot-menu-list/index.cjs"
|
128
133
|
},
|
134
|
+
"./item-slots-configs": {
|
135
|
+
"types": "./components/item-slots-configs/index.d.ts",
|
136
|
+
"import": "./components/item-slots-configs/index.js",
|
137
|
+
"require": "./components/item-slots-configs/index.cjs"
|
138
|
+
},
|
129
139
|
"./utils": {
|
130
140
|
"types": "./utils/index.d.ts",
|
131
141
|
"import": "./components/utils.js",
|
132
142
|
"require": "./components/utils.cjs"
|
143
|
+
},
|
144
|
+
"./slots-configs": {
|
145
|
+
"types": "./components/droppable-slot/item-slots-configs/index.d.ts",
|
146
|
+
"import": "./components/item-slots-configs.js",
|
147
|
+
"require": "./components/item-slots-configs.cjs"
|
148
|
+
},
|
149
|
+
"./item-list": {
|
150
|
+
"types": "./components/item-list/index.d.ts",
|
151
|
+
"import": "./components/item-list.js",
|
152
|
+
"require": "./components/item-list.cjs"
|
133
153
|
}
|
134
154
|
},
|
135
155
|
"keywords": [
|
package/utils/index.d.ts
CHANGED
@@ -1,20 +0,0 @@
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
-
*
|
3
|
-
* Copyright © 2024 Luzmo
|
4
|
-
* All rights reserved.
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
7
|
-
* This license allows users with a current active Luzmo account
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
-
*
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
* SOFTWARE.
|
19
|
-
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)>0||((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)>1},t=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)===0&&((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:c},{type:"divider",visibleIf:c},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:c},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:t},{key:"bars.roundedCorners",control:{type:"slider",default:(e,o,r)=>{var n;return(n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding},min:0,max:20,step:1,extraLabel:(e,o,r)=>{var n;if(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)=="number")return typeof e.bars.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:(e,o,r)=>{var n;return!(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)!="number"||typeof e.bars.roundedCorners!="number")},extraLabelClickAction:(e,o,r)=>{const n={...e};return delete n.bars.roundedCorners,{value:null,options:n}}}},{key:"color",control:{type:"color-picker",default:(e,o,r)=>{var n;return(r==null?void 0:r.mainColor)??((n=r==null?void 0:r.colors)==null?void 0:n[0])},extraLabel:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);if(n&&e.color!==n)return"reset"},extraLabelHasClickAction:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);return!!(n&&e.color!==n)},extraLabelClickAction:(e,o,r)=>{var l;const n={...e};return n.color=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]),{value:n.color,options:n}}},visibleIf:t}]}];exports.default=u;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
-
*
|
3
|
-
* Copyright © 2024 Luzmo
|
4
|
-
* All rights reserved.
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
7
|
-
* This license allows users with a current active Luzmo account
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
-
*
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
* SOFTWARE.
|
19
|
-
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)>0||((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)>1},t=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)===0&&((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:c},{type:"divider",visibleIf:c},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:c},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:t},{key:"bars.roundedCorners",control:{type:"slider",default:(e,o,r)=>{var n;return(n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding},min:0,max:20,step:1,extraLabel:(e,o,r)=>{var n;if(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)=="number")return typeof e.bars.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:(e,o,r)=>{var n;return!(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)!="number"||typeof e.bars.roundedCorners!="number")},extraLabelClickAction:(e,o,r)=>{const n={...e};return delete n.bars.roundedCorners,{value:null,options:n}}}},{key:"color",control:{type:"color-picker",default:(e,o,r)=>{var n;return(r==null?void 0:r.mainColor)??((n=r==null?void 0:r.colors)==null?void 0:n[0])},extraLabel:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);if(n&&e.color!==n)return"reset"},extraLabelHasClickAction:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);return!!(n&&e.color!==n)},extraLabelClickAction:(e,o,r)=>{var l;const n={...e};return n.color=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]),{value:n.color,options:n}}},visibleIf:t}]}];exports.default=u;
|