@luzmo/analytics-components-kit 1.0.1-alpha.23 → 1.0.1-alpha.25
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-options.config-B_RU34v5.js → area-chart-options.config-7NUkgEdr.js} +1 -1
- package/components/{area-chart-options.config-2BXQXewO.cjs → area-chart-options.config-HmuEMllK.cjs} +1 -1
- package/components/{bar-chart-options.config-CyLNzGX7.js → bar-chart-options.config-BdbbHUJZ.js} +1 -1
- package/components/{bar-chart-options.config-DlDSo8Dq.cjs → bar-chart-options.config-C9XGEujs.cjs} +1 -1
- package/components/box-plot-options.config-DJz_kt-M.cjs +20 -0
- package/components/{box-plot-options.config-Bx78e6xX.js → box-plot-options.config-vlz5qeNq.js} +7 -7
- package/components/{bubble-chart-options.config-DoLr3Twj.js → bubble-chart-options.config-BacgXkJ_.js} +1 -1
- package/components/{bubble-chart-options.config-B5uoD-UQ.cjs → bubble-chart-options.config-Ihn6eVQI.cjs} +1 -1
- package/components/{bullet-chart-options.config-WCpV0bmw.js → bullet-chart-options.config-Bsw7N7Wl.js} +1 -1
- package/components/{bullet-chart-options.config-Dqq2JsBH.cjs → bullet-chart-options.config-DfS4Bwds.cjs} +1 -1
- package/components/{choropleth-map-options.config-DHQu69ib.js → choropleth-map-options.config-CeKXtnYB.js} +2 -2
- package/components/{choropleth-map-options.config-BfiQod-y.cjs → choropleth-map-options.config-CxUOg3pw.cjs} +1 -1
- package/components/{circular-gauge-options.config-CfBX-BB2.cjs → circular-gauge-options.config-Cz2TGR6X.cjs} +1 -1
- package/components/{circular-gauge-options.config-DKERJQpZ.js → circular-gauge-options.config-Kd_WK_w-.js} +7 -7
- package/components/{column-chart-options.config-qM4Qo3NP.cjs → column-chart-options.config-Bi0RAzK-.cjs} +1 -1
- package/components/{column-chart-options.config-Car_euCH.js → column-chart-options.config-BqSQ1Sl9.js} +1 -1
- package/components/{conditional-number-options.config-CU9_onv1.cjs → conditional-number-options.config-BZfgdUGh.cjs} +1 -1
- package/components/{conditional-number-options.config-B5rpjedA.js → conditional-number-options.config-BzzAnCOB.js} +1 -1
- package/components/{date-filter-options.config-KiuizKhg.js → date-filter-options.config-DBRxlTWy.js} +2 -2
- package/components/{donut-chart-options.config-NPwNtLDW.js → donut-chart-options.config-BulUEiaH.js} +37 -18
- package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
- package/components/edit-item/index.cjs +11 -3
- package/components/edit-item/index.js +89 -51
- package/components/edit-option/helpers/get-value-by-key.d.ts +1 -1
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -2
- package/components/edit-option-multi-language-field/index.cjs +2 -2
- package/components/edit-option-multi-language-field/index.js +10 -10
- package/components/edit-option-number-field/edit-option-number-field.d.ts +2 -2
- package/components/edit-option-number-field/index.cjs +3 -3
- package/components/edit-option-number-field/index.js +10 -10
- package/components/edit-option-picker/edit-option-picker.d.ts +2 -2
- package/components/edit-option-picker/index.cjs +6 -6
- package/components/edit-option-picker/index.js +10 -10
- package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +2 -2
- package/components/edit-option-radio-button-group/index.cjs +3 -3
- package/components/edit-option-radio-button-group/index.js +16 -16
- package/components/edit-option-slider/edit-option-slider.d.ts +2 -2
- package/components/edit-option-slider/index.cjs +2 -2
- package/components/edit-option-slider/index.js +29 -29
- package/components/edit-option-switch/edit-option-switch.d.ts +2 -2
- package/components/edit-option-switch/index.cjs +2 -2
- package/components/edit-option-switch/index.js +10 -10
- package/components/{evolution-number-options.config-G8jViz8Z.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
- package/components/{evolution-number-options.config-DmzhEioN.js → evolution-number-options.config-DzkfeoIN.js} +3 -3
- package/components/{funnel-chart-options.config-CrlHKd36.js → funnel-chart-options.config-CIOrejfS.js} +23 -22
- package/components/funnel-chart-options.config-L_gqlFs2.cjs +20 -0
- package/components/{heat-map-options.config-B0FtmOXM.js → heat-map-options.config-BAuSJV3_.js} +4 -4
- package/components/{heat-map-options.config-CnBcz-lL.cjs → heat-map-options.config-DsUXxjN0.cjs} +1 -1
- package/components/heat-table-options.config-DSu_18VG.js +309 -0
- package/components/heat-table-options.config-DqPL2hIY.cjs +20 -0
- package/components/heat-table-options.de-BABkUn2Y.js +142 -0
- package/components/heat-table-options.de-aYfCrdCP.cjs +20 -0
- package/components/heat-table-options.en-BUBmMDZW.js +142 -0
- package/components/heat-table-options.en-CIdnDv3K.cjs +20 -0
- package/components/heat-table-options.es-DaK6qGQC.cjs +20 -0
- package/components/heat-table-options.es-Dl9D9rD_.js +142 -0
- package/components/heat-table-options.fr-BouHFs1P.cjs +20 -0
- package/components/heat-table-options.fr-DOShw8a1.js +142 -0
- package/components/heat-table-options.nl-8CXDqKzS.cjs +20 -0
- package/components/heat-table-options.nl-D6Fn7sgt.js +142 -0
- package/components/helpers-DXQwEH1P.cjs +20 -0
- package/components/helpers-v1bPALRP.js +91 -0
- package/components/{hexbin-map-options.config-BraDZx_s.cjs → hexbin-map-options.config-B_KAcDYq.cjs} +1 -1
- package/components/{hexbin-map-options.config-BJaPYxgd.js → hexbin-map-options.config-DaaC88d8.js} +2 -2
- package/components/{index-DGIXzqTS.js → index-Dn7LyFPv.js} +330 -290
- package/components/index-eEpFkbP8.cjs +195 -0
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{line-chart-options.config-vvO1O6jm.js → line-chart-options.config-DB3IsXXr.js} +1 -1
- package/components/{line-chart-options.config-DsskcFNR.cjs → line-chart-options.config-DSugoe0t.cjs} +1 -1
- package/components/{marker-map-options.config-DlJhJQFX.js → marker-map-options.config-CYoq89Oz.js} +6 -6
- package/components/{marker-map-options.config-DJrnM51M.cjs → marker-map-options.config-_XFv5XWK.cjs} +1 -1
- package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
- package/components/pivot-table-options.config-DNK_AIG7.js +232 -0
- package/components/pivot-table-options.de-CEaD9SHr.cjs +20 -0
- package/components/pivot-table-options.de-Dfa6EWs8.js +97 -0
- package/components/pivot-table-options.en-B5sM2MbV.js +97 -0
- package/components/pivot-table-options.en-DC07VN7H.cjs +20 -0
- package/components/pivot-table-options.es-DRXomw6R.js +97 -0
- package/components/pivot-table-options.es-Xm6ENByP.cjs +20 -0
- package/components/pivot-table-options.fr-ClLROt4b.cjs +20 -0
- package/components/pivot-table-options.fr-DEm9IyRf.js +97 -0
- package/components/pivot-table-options.nl-C4c_dGos.js +97 -0
- package/components/pivot-table-options.nl-Dk2Oeu8i.cjs +20 -0
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
- package/components/pyramid-chart-options.config-CcVMatYx.js +285 -0
- package/components/pyramid-chart-options.de-CwVggi4v.js +109 -0
- package/components/pyramid-chart-options.de-DKas0NiC.cjs +20 -0
- package/components/pyramid-chart-options.en-L6DFdrRz.cjs +20 -0
- package/components/pyramid-chart-options.en-elRf98In.js +109 -0
- package/components/pyramid-chart-options.es-BBbeV0cJ.js +109 -0
- package/components/pyramid-chart-options.es-Cu0g6t6A.cjs +20 -0
- package/components/pyramid-chart-options.fr-C1NDQloJ.js +109 -0
- package/components/pyramid-chart-options.fr-CreHLwD_.cjs +20 -0
- package/components/pyramid-chart-options.nl-CRbkXz3i.cjs +20 -0
- package/components/pyramid-chart-options.nl-DBCQKS8l.js +109 -0
- package/components/{radar-chart-options.config-DBJ8brjT.js → radar-chart-options.config-CUZn_3Fd.js} +1 -1
- package/components/{radar-chart-options.config-DP8xDDs-.cjs → radar-chart-options.config-EqQu6PTh.cjs} +1 -1
- package/components/{regular-table-options.config-HkJRCsZu.js → regular-table-options.config-BoLZsBry.js} +17 -17
- package/components/regular-table-options.config-DTx3RTnS.cjs +20 -0
- package/components/{route-map-options.config-BOIdPHns.cjs → route-map-options.config-CcQXPmjN.cjs} +1 -1
- package/components/{route-map-options.config-CPM0TmlA.js → route-map-options.config-u0hQqmDh.js} +6 -6
- package/components/{sankey-diagram-options.config-BUSorI4e.cjs → sankey-diagram-options.config-RFB83YLZ.cjs} +1 -1
- package/components/{sankey-diagram-options.config-v0h4IkEH.js → sankey-diagram-options.config-tVLKy_Zn.js} +1 -1
- package/components/scatter-plot-options.config-DkJLutNb.cjs +20 -0
- package/components/scatter-plot-options.config-lrkd9qj4.js +321 -0
- package/components/scatter-plot-options.de-CNfyb-0y.js +134 -0
- package/components/scatter-plot-options.de-fSoIvHJy.cjs +20 -0
- package/components/scatter-plot-options.en-CGCdpOtQ.cjs +20 -0
- package/components/scatter-plot-options.en-DT_QitaD.js +134 -0
- package/components/scatter-plot-options.es-CLRJMSqn.cjs +20 -0
- package/components/scatter-plot-options.es-Cb_VrOKP.js +134 -0
- package/components/scatter-plot-options.fr-AUEQJHAt.js +134 -0
- package/components/scatter-plot-options.fr-Da2McGuN.cjs +20 -0
- package/components/scatter-plot-options.nl-C53CChoE.js +134 -0
- package/components/scatter-plot-options.nl-CRWq01rL.cjs +20 -0
- package/components/{slicer-filter-options.config-DnOP_foh.js → slicer-filter-options.config-3JZZcw5C.js} +5 -5
- package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
- package/components/{slider-filter-options.config-BJZtYn5P.js → slider-filter-options.config-DH4SS8wH.js} +1 -1
- package/components/{slider-filter-options.config-DJ2XK2QN.cjs → slider-filter-options.config-_8Z2zKmU.cjs} +1 -1
- package/components/speedometer-chart-options.config-CVsSjLmh.cjs +20 -0
- package/components/speedometer-chart-options.config-Dt2feQYV.js +199 -0
- package/components/speedometer-chart-options.de-D5SIAUZA.cjs +20 -0
- package/components/speedometer-chart-options.de-Es9DDvRK.js +90 -0
- package/components/speedometer-chart-options.en-BUj6JXhT.cjs +20 -0
- package/components/speedometer-chart-options.en-ByIJm8EZ.js +90 -0
- package/components/speedometer-chart-options.es-CPKH0xpW.js +90 -0
- package/components/speedometer-chart-options.es-DalX0e7D.cjs +20 -0
- package/components/speedometer-chart-options.fr-BctlGfgX.js +90 -0
- package/components/speedometer-chart-options.fr-Dqn95u64.cjs +20 -0
- package/components/speedometer-chart-options.nl-Bo6cV2j0.cjs +20 -0
- package/components/speedometer-chart-options.nl-Ygle7DjX.js +90 -0
- package/components/{spike-map-options.config-D-TWp2W4.cjs → spike-map-options.config-PpPPrsR2.cjs} +1 -1
- package/components/{spike-map-options.config-wzGnfQRU.js → spike-map-options.config-pdbV_vwg.js} +3 -3
- package/components/{symbol-map-options.config-DlyBMq6R.js → symbol-map-options.config-Bj-UuL9m.js} +3 -3
- package/components/{symbol-map-options.config-FVRaZHKk.cjs → symbol-map-options.config-sdPlHspI.cjs} +1 -1
- package/components/{treemap-chart-options.config-QYXvOoni.cjs → treemap-chart-options.config-C0Q9aQ1Z.cjs} +1 -1
- package/components/{treemap-chart-options.config-COItww3I.js → treemap-chart-options.config-D5AJaF_u.js} +1 -1
- package/components/{wordcloud-chart-options.config-JBSwFHr2.cjs → wordcloud-chart-options.config-vGfCW8kE.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-wNLESTnL.js → wordcloud-chart-options.config-w2NUIWVA.js} +1 -1
- package/custom-elements.json +25 -25
- package/item-definitions/box-plot/box-plot-options.config.d.ts +4 -4
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +6 -6
- package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +6 -6
- package/item-definitions/donut-chart/donut-chart-options.config.d.ts +35 -13
- package/item-definitions/evolution-number/evolution-number-options.config.d.ts +10 -10
- package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +24 -8
- package/item-definitions/heat-map/heat-map-options.config.d.ts +4 -4
- package/item-definitions/heat-table/heat-table-options.config.d.ts +179 -0
- package/item-definitions/heat-table/i18n/heat-table-options.de.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.en.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.es.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.fr.d.ts +121 -0
- package/item-definitions/heat-table/i18n/heat-table-options.nl.d.ts +121 -0
- package/item-definitions/helpers.d.ts +7 -0
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +4 -4
- package/item-definitions/marker-map/marker-map-options.config.d.ts +6 -6
- package/item-definitions/pivot-table/i18n/pivot-table-options.de.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.en.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.es.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.fr.d.ts +76 -0
- package/item-definitions/pivot-table/i18n/pivot-table-options.nl.d.ts +76 -0
- package/item-definitions/pivot-table/pivot-table-options.config.d.ts +157 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.de.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.en.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.es.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.fr.d.ts +88 -0
- package/item-definitions/pyramid-chart/i18n/pyramid-chart-options.nl.d.ts +88 -0
- package/item-definitions/pyramid-chart/pyramid-chart-options.config.d.ts +113 -0
- package/item-definitions/regular-table/regular-table-options.config.d.ts +6 -6
- package/item-definitions/route-map/route-map-options.config.d.ts +6 -6
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.de.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.en.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.es.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.fr.d.ts +113 -0
- package/item-definitions/scatter-plot/i18n/scatter-plot-options.nl.d.ts +113 -0
- package/item-definitions/scatter-plot/scatter-plot-options.config.d.ts +160 -0
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +10 -10
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.de.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.en.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.es.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.fr.d.ts +69 -0
- package/item-definitions/speedometer-chart/i18n/speedometer-chart-options.nl.d.ts +69 -0
- package/item-definitions/speedometer-chart/speedometer-chart-options.config.d.ts +80 -0
- package/item-definitions/spike-map/spike-map-options.config.d.ts +6 -6
- package/item-definitions/symbol-map/symbol-map-options.config.d.ts +4 -4
- package/package.json +1 -1
- package/components/box-plot-options.config-VLu-MYZx.cjs +0 -20
- package/components/donut-chart-options.config-bqcKuyIu.cjs +0 -20
- package/components/funnel-chart-options.config-hw_GXs4s.cjs +0 -20
- package/components/helpers-2MlDBxn2.js +0 -74
- package/components/helpers-CK5Jy2Ta.cjs +0 -20
- package/components/index-4gddXWJC.cjs +0 -195
- package/components/regular-table-options.config-Bi84Hym7.cjs +0 -20
- package/components/slicer-filter-options.config-k8DoX77G.cjs +0 -20
package/components/{area-chart-options.config-B_RU34v5.js → area-chart-options.config-7NUkgEdr.js}
RENAMED
@@ -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
|
-
import { g as c, a as u, b as d, c as p } from "./helpers-
|
20
|
+
import { g as c, a as u, b as d, c as p } from "./helpers-v1bPALRP.js";
|
21
21
|
const l = ({ slots: e }) => {
|
22
22
|
var a, i, r, t;
|
23
23
|
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((i = (a = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : a.content) == null ? void 0 : i.length) > 0 || ((t = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : r.content) == null ? void 0 : t.length) > 1 : !1;
|
package/components/{area-chart-options.config-2BXQXewO.cjs → area-chart-options.config-HmuEMllK.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 l=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./helpers-DXQwEH1P.cjs"),o=({slots:e})=>{var n,i,r,t;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((i=(n=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="legend"))==null?void 0:n.content)==null?void 0:i.length)>0||((t=(r=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="measure"))==null?void 0:r.content)==null?void 0:t.length)>1:!1},u=({slots:e})=>{var n,i,r,t;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((i=(n=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="legend"))==null?void 0:n.content)==null?void 0:i.length)>0)&&((t=(r=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="measure"))==null?void 0:r.content)==null?void 0:t.length)<=1:!0},d=({slots:e})=>{var n,i,r;return Array.isArray(e)&&((r=(i=(n=e==null?void 0:e.find(t=>(t==null?void 0:t.name)==="x-axis"))==null?void 0:n.content)==null?void 0:i[0])==null?void 0:r.type)==="datetime"},p=({options:e,slots:n})=>{var i,r,t,a;return Array.isArray(n)&&((t=(r=(i=n==null?void 0:n.find(c=>(c==null?void 0:c.name)==="x-axis"))==null?void 0:i.content)==null?void 0:r[0])==null?void 0:t.type)==="datetime"&&((a=e==null?void 0:e.missingValue)==null?void 0:a.type)==="manual"},y=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{label:"Title",type:"switch",default:!0}},{type:"divider"},{key:"mode",control:{label:"Mode",type:"picker",default:"unstacked",enum:["100","unstacked","stacked","stream"]},visibleIf:o},{key:"interpolation",control:{label:"Interpolation",type:"picker",default:"linear",enum:["linear","step-before","step-after","monotone"]}},{key:"display.legend",control:{label:"Legend",type:"switch",default:!0},visibleIf:o},{key:"display.modeOption",control:{label:"Mode option",type:"switch",default:!0},visibleIf:o},{key:"missingValue.type",control:{label:"Fill missing values",type:"picker",default:"no",enum:["no","break","manual"]},visibleIf:d},{key:"missingValue.value",control:{label:"Value",type:"number-field",default:"no",min:1},visibleIf:p},{key:"color",control:{label:"Area color",type:"color-picker",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:n})=>l.getThemeMainColorResetLabel(e,n,"color"),extraLabelHasClickAction:({options:e,theme:n})=>l.getThemeMainColorExtraLabelHasClickAction(e,n,"color"),extraLabelClickAction:({options:e,theme:n})=>l.getThemeMainColorExtraLabelClickAction(e,n,"color")},visibleIf:u}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:o}];exports.default=y;
|
package/components/{bar-chart-options.config-CyLNzGX7.js → bar-chart-options.config-BdbbHUJZ.js}
RENAMED
@@ -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
|
-
import { g as c, a as u, b as d, c as f } from "./helpers-
|
20
|
+
import { g as c, a as u, b as d, c as f } from "./helpers-v1bPALRP.js";
|
21
21
|
const l = ({ slots: e }) => {
|
22
22
|
var r, a, t, i;
|
23
23
|
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0 || ((i = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : t.content) == null ? void 0 : i.length) > 1 : !1;
|
package/components/{bar-chart-options.config-DlDSo8Dq.cjs → bar-chart-options.config-C9XGEujs.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 o=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./helpers-DXQwEH1P.cjs"),l=({slots:e})=>{var r,t,i,a;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((t=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:t.length)>0||((a=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:i.content)==null?void 0:a.length)>1:!1},c=({slots:e})=>{var r,t,i,a;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((t=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:t.length)===0&&((a=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:i.content)==null?void 0:a.length)<=1:!0},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:l},{type:"divider",visibleIf:l},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:l},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:l},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.roundedCorners",control:{type:"slider",default:({theme:e})=>{var r;return(r=e==null?void 0:e.itemSpecific)==null?void 0:r.rounding},min:0,max:20,step:1,extraLabel:({options:e,theme:r})=>{var t,i;if(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)=="number")return typeof((i=e==null?void 0:e.bars)==null?void 0:i.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var t,i;return!(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)!="number"||typeof((i=e==null?void 0:e.bars)==null?void 0:i.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{var t;const r={...e};return(t=r==null?void 0:r.bars)==null||delete t.roundedCorners,{value:null,options:r}}}},{key:"color",control:{type:"color-picker",label:"Bar color",default:({theme:e})=>o.getThemeMainColor(e),extraLabel:({options:e,theme:r})=>o.getThemeMainColorResetLabel(e,r,"color"),extraLabelHasClickAction:({options:e,theme:r})=>o.getThemeMainColorExtraLabelHasClickAction(e,r,"color"),extraLabelClickAction:({options:e,theme:r})=>o.getThemeMainColorExtraLabelClickAction(e,r,"color")},visibleIf:c}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:l}];exports.default=u;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 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 t=require("./helpers-DXQwEH1P.cjs"),a=({options:e})=>{var l;return((l=e==null?void 0:e.observations)==null?void 0:l.display)===!0},c=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"horizontal",control:{type:"picker",label:"Display",default:"vertical",enum:["vertical","horizontal"],parseValue:e=>e?"horizontal":"vertical",toValue:e=>e==="horizontal"}},{key:"extentTicks",control:{type:"switch",label:"Extent ticks",default:!0}}]},{key:"box",type:"group",open:!0,children:[{key:"boxWidth",control:{type:"slider",label:"Box width",default:.9,min:.1,max:1,step:.1}},{key:"boxFill",control:{type:"color-picker",label:"Box fill",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"boxFill"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"boxFill"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"boxFill")}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:({theme:e})=>{var l;return((l=e==null?void 0:e.itemSpecific)==null?void 0:l.rounding)??8},min:0,max:24,step:1,extraLabel:({options:e,theme:l})=>{var r;if(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.rounding)=="number")return typeof(e==null?void 0:e.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:l})=>{var r;return!(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.rounding)!="number"||typeof(e==null?void 0:e.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{const l={...e};return(l==null?void 0:l.roundedCorners)!==void 0&&delete l.roundedCorners,{value:null,options:l}}}},{key:"boxStrokeWidth",control:{type:"slider",label:"Box stroke width",default:1,min:0,max:5,step:.5}},{key:"boxStrokeColor",control:{type:"color-picker",label:"Box stroke color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"boxStrokeColor"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"boxStrokeColor"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"boxStrokeColor")}},{key:"medianStrokeWidth",control:{type:"slider",label:"Median stroke width",default:2,min:0,max:5,step:.5}},{key:"medianStrokeColor",control:{type:"color-picker",label:"Median stroke color",default:"#000000"}}]},{key:"observations",type:"group",open:!0,children:[{key:"observations.display",control:{type:"switch",label:"Show",default:!1}},{key:"observations.onlyOutliers",control:{type:"switch",label:"Only outliers",default:!1},visibleIf:a},{key:"observations.type",control:{type:"picker",label:"Type",default:"dot",enum:["dot","ticks"]},visibleIf:a},{key:"observations.size",control:{type:"slider",label:"Size",default:3,min:1,max:10,step:1},visibleIf:a},{key:"observations.opacity",control:{type:"slider",label:"Opacity",default:.4,min:.1,max:1,step:.1},visibleIf:a},{key:"observations.jitter",control:{type:"slider",label:"Jitter",default:30,min:1,max:100,step:1},visibleIf:a},{key:"observations.colorType",control:{type:"picker",label:"Color mode",default:"single",enum:["single","range"]},visibleIf:a},{key:"observations.color",control:{type:"color-picker",label:"Color",default:({theme:e})=>{var l;return(l=e==null?void 0:e.colors)==null?void 0:l[1]},extraLabel:({options:e,theme:l})=>{var r,o,i,n;if((r=l==null?void 0:l.colors)!=null&&r[1]&&((o=e.observations)!=null&&o.color)&&((i=e.observations)==null?void 0:i.color)!==((n=l==null?void 0:l.colors)==null?void 0:n[1]))return"reset"},extraLabelHasClickAction:({options:e,theme:l})=>{var r,o,i;return!!((r=l==null?void 0:l.colors)!=null&&r[1]&&((o=e.observations)==null?void 0:o.color)!==((i=l==null?void 0:l.colors)==null?void 0:i[1]))},extraLabelClickAction:({options:e,theme:l})=>{var o;const r={...e};return r.observations.color=(o=l==null?void 0:l.colors)==null?void 0:o[1],{value:r.observations.color,options:r}}},visibleIf:({options:e})=>{var l;return a({options:e})&&((l=e==null?void 0:e.observations)==null?void 0:l.colorType)==="single"}},{key:"observations.colorsType",control:{type:"picker",label:"Colors type",default:"divergent",enum:["sequential","divergent","manual"]},visibleIf:({options:e})=>{var l;return a({options:e})&&((l=e==null?void 0:e.observations)==null?void 0:l.colorType)==="range"}}]}];exports.default=c;
|
package/components/{box-plot-options.config-Bx78e6xX.js → box-plot-options.config-vlz5qeNq.js}
RENAMED
@@ -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
|
-
import { g as n, a as
|
20
|
+
import { g as n, a as s, b as c, c as b } from "./helpers-v1bPALRP.js";
|
21
21
|
const t = ({ options: e }) => {
|
22
22
|
var l;
|
23
23
|
return ((l = e == null ? void 0 : e.observations) == null ? void 0 : l.display) === !0;
|
@@ -42,8 +42,8 @@ const t = ({ options: e }) => {
|
|
42
42
|
label: "Display",
|
43
43
|
default: "vertical",
|
44
44
|
enum: ["vertical", "horizontal"],
|
45
|
-
|
46
|
-
|
45
|
+
parseValue: (e) => e ? "horizontal" : "vertical",
|
46
|
+
toValue: (e) => e === "horizontal"
|
47
47
|
}
|
48
48
|
},
|
49
49
|
{
|
@@ -78,8 +78,8 @@ const t = ({ options: e }) => {
|
|
78
78
|
type: "color-picker",
|
79
79
|
label: "Box fill",
|
80
80
|
default: ({ theme: e }) => b(e),
|
81
|
-
extraLabel: ({ options: e, theme: l }) =>
|
82
|
-
extraLabelHasClickAction: ({ options: e, theme: l }) =>
|
81
|
+
extraLabel: ({ options: e, theme: l }) => c(e, l, "boxFill"),
|
82
|
+
extraLabelHasClickAction: ({ options: e, theme: l }) => s(
|
83
83
|
e,
|
84
84
|
l,
|
85
85
|
"boxFill"
|
@@ -131,8 +131,8 @@ const t = ({ options: e }) => {
|
|
131
131
|
type: "color-picker",
|
132
132
|
label: "Box stroke color",
|
133
133
|
default: ({ theme: e }) => b(e),
|
134
|
-
extraLabel: ({ options: e, theme: l }) =>
|
135
|
-
extraLabelHasClickAction: ({ options: e, theme: l }) =>
|
134
|
+
extraLabel: ({ options: e, theme: l }) => c(e, l, "boxStrokeColor"),
|
135
|
+
extraLabelHasClickAction: ({ options: e, theme: l }) => s(
|
136
136
|
e,
|
137
137
|
l,
|
138
138
|
"boxStrokeColor"
|
@@ -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
|
-
import { g as i, a as n, b as c, c as b } from "./helpers-
|
20
|
+
import { g as i, a as n, b as c, c as b } from "./helpers-v1bPALRP.js";
|
21
21
|
const o = ({ slots: e }) => {
|
22
22
|
var l, t;
|
23
23
|
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((t = (l = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "color")) == null ? void 0 : l.content) == null ? void 0 : t.length) > 0 : !1;
|
@@ -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 o=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./helpers-DXQwEH1P.cjs"),a=({slots:e})=>{var t,l;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((l=(t=e==null?void 0:e.find(r=>(r==null?void 0:r.name)==="color"))==null?void 0:t.content)==null?void 0:l.length)>0:!1},i=({slots:e})=>{var t,l;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((l=(t=e==null?void 0:e.find(r=>(r==null?void 0:r.name)==="color"))==null?void 0:t.content)==null?void 0:l.length)>0):!0},n=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0},visibleIf:a},{key:"display.bubbleLabels",control:{type:"switch",label:"Show labels",tooltip:"If enough room available",default:!0}},{key:"display.bubbleValues",control:{type:"picker",label:"Show values",tooltip:"If enough room available",default:"none",enum:["none","percentage","absolute"]}},{key:"categories.colored",control:{type:"switch",label:"Bubble color by category",default:!0},visibleIf:i},{key:"color",control:{type:"color-picker",label:"Bubble color",default:({theme:e})=>o.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>o.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>o.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>o.getThemeMainColorExtraLabelClickAction(e,t,"color")},visibleIf:({options:e,slots:t})=>{var l;return((l=e==null?void 0:e.categories)==null?void 0:l.colored)===!1&&i({slots:t})}}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:a}];exports.default=n;
|
@@ -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
|
-
import { g as t, a as o, b as a, c as r } from "./helpers-
|
20
|
+
import { g as t, a as o, b as a, c as r } from "./helpers-v1bPALRP.js";
|
21
21
|
const i = [
|
22
22
|
{
|
23
23
|
key: "general",
|
@@ -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 t=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./helpers-DXQwEH1P.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.ranges",control:{type:"switch",label:"Ranges",default:!0}},{key:"display.bulletSubtitles",control:{type:"switch",label:"Bullet subtitle",default:!1}},{key:"color",control:{type:"color-picker",label:"Bullet color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")}},{key:"sort.direction",control:{type:"picker",label:"Bullet order",default:"asc",enum:["asc","desc"]}}]}];exports.default=o;
|
@@ -108,8 +108,8 @@ const r = [
|
|
108
108
|
"Voyager",
|
109
109
|
"3D buildings"
|
110
110
|
],
|
111
|
-
|
112
|
-
|
111
|
+
parseValue: (e) => (e == null ? void 0 : e.name) || "Basic",
|
112
|
+
toValue: (e) => l[e] ?? {}
|
113
113
|
}
|
114
114
|
}
|
115
115
|
]
|
@@ -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 l=require("./index-DhDgy1sp.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0}}]},{key:"map",type:"group",open:!0,children:[{key:"enabled.zoom",control:{type:"switch",label:"Zoom",default:!0}},{key:"enabled.pan",control:{type:"switch",label:"Pan",default:!0}},{key:"enabled.pitchBearing",control:{type:"switch",label:"Pitch & Rotate",tooltip:"Use ctrl + drag",default:!1}},{type:"divider"},{key:"vectorTileProvider",control:{type:"picker",label:"Map style",default:"Basic",enum:["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets","Toner","Topographique","Voyager","3D buildings"],
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-DhDgy1sp.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0}}]},{key:"map",type:"group",open:!0,children:[{key:"enabled.zoom",control:{type:"switch",label:"Zoom",default:!0}},{key:"enabled.pan",control:{type:"switch",label:"Pan",default:!0}},{key:"enabled.pitchBearing",control:{type:"switch",label:"Pitch & Rotate",tooltip:"Use ctrl + drag",default:!1}},{type:"divider"},{key:"vectorTileProvider",control:{type:"picker",label:"Map style",default:"Basic",enum:["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets","Toner","Topographique","Voyager","3D buildings"],parseValue:e=>(e==null?void 0:e.name)||"Basic",toValue:e=>l.mapVectorTileProviders[e]??{}}}]},{key:"colors",type:"group",open:!0,children:[{key:"opacity",control:{type:"slider",label:"Opacity",default:.85,min:.2,max:1,step:.01}},{key:"colorsClass",control:{type:"picker",label:"Colors type",default:"sequential",enum:["sequential","divergent","manual"]}}]},{key:"classification",type:"group",open:!0,children:[{key:"numberClasses",control:{type:"picker",label:"Number of classes",default:"5",enum:["3","4","5","6","7","8","9"]}},{key:"classification",control:{type:"picker",label:"Method",default:"interval",enum:["interval","manual","quantile","continuous"]}}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.type",control:{type:"picker",label:"Type",default:"bar",enum:["bar","list"]}},{key:"legend.size",control:{type:"radio-button-group",label:"Size",default:"M",enum:["S","M","L"]}},{key:"legend.position",control:{type:"position-picker",label:"Position",default:"bottomLeft",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:({options:e})=>{var t;return((t=e==null?void 0:e.display)==null?void 0:t.legend)===!0}}];exports.default=o;
|
@@ -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 r=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./helpers-DXQwEH1P.cjs"),t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.gaugeValue",control:{type:"switch",label:"Value",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"display.gaugeLabel",control:{type:"switch",label:"Label",default:!0}},{type:"divider"},{key:"circle.color",control:{type:"color-picker",label:"Arc color",default:({theme:e})=>r.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>r.getThemeMainColorResetLabel(e,l,"circle.color"),extraLabelHasClickAction:({options:e,theme:l})=>r.getThemeMainColorExtraLabelHasClickAction(e,l,"circle.color"),extraLabelClickAction:({options:e,theme:l})=>r.getThemeMainColorExtraLabelClickAction(e,l,"circle.color")}},{key:"circle.width",control:{type:"slider",label:"Arc width",default:10,min:1,max:30,step:1}}]},{key:"layout",type:"group",open:!0,children:[{key:"circle.degrees",control:{type:"picker",label:"Arc size",default:"full circle",enum:["full circle","3/4 circle","2/3 circle","1/2 circle"],parseValue:e=>e===360?"full circle":e===270?"3/4 circle":e===240?"2/3 circle":e===180?"1/2 circle":"full circle",toValue:e=>e==="full circle"?360:e==="3/4 circle"?270:e==="2/3 circle"?240:e==="1/2 circle"?180:360}},{key:"circle.flip",control:{type:"switch",label:"Flip arc",default:!0},visibleIf:({options:e})=>{var l,c;return((l=e==null?void 0:e.circle)==null?void 0:l.degrees)&&((c=e==null?void 0:e.circle)==null?void 0:c.degrees)!==360}},{key:"circle.lineCap",control:{type:"switch",label:"Rounded ends",default:!0,parseValue:e=>e!=="butt",toValue:e=>e?"round":"butt"}}]}];exports.default=t;
|
@@ -17,8 +17,8 @@
|
|
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 c, a as t, b as i, c as a } from "./helpers-
|
21
|
-
const
|
20
|
+
import { g as c, a as t, b as i, c as a } from "./helpers-v1bPALRP.js";
|
21
|
+
const o = [
|
22
22
|
{
|
23
23
|
key: "general",
|
24
24
|
type: "group",
|
@@ -112,8 +112,8 @@ const u = [
|
|
112
112
|
label: "Arc size",
|
113
113
|
default: "full circle",
|
114
114
|
enum: ["full circle", "3/4 circle", "2/3 circle", "1/2 circle"],
|
115
|
-
|
116
|
-
|
115
|
+
parseValue: (e) => e === 360 ? "full circle" : e === 270 ? "3/4 circle" : e === 240 ? "2/3 circle" : e === 180 ? "1/2 circle" : "full circle",
|
116
|
+
toValue: (e) => e === "full circle" ? 360 : e === "3/4 circle" ? 270 : e === "2/3 circle" ? 240 : e === "1/2 circle" ? 180 : 360
|
117
117
|
}
|
118
118
|
},
|
119
119
|
{
|
@@ -134,13 +134,13 @@ const u = [
|
|
134
134
|
type: "switch",
|
135
135
|
label: "Rounded ends",
|
136
136
|
default: !0,
|
137
|
-
|
138
|
-
|
137
|
+
parseValue: (e) => e !== "butt",
|
138
|
+
toValue: (e) => e ? "round" : "butt"
|
139
139
|
}
|
140
140
|
}
|
141
141
|
]
|
142
142
|
}
|
143
143
|
];
|
144
144
|
export {
|
145
|
-
|
145
|
+
o as default
|
146
146
|
};
|
@@ -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 l=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./helpers-DXQwEH1P.cjs"),c=({slots:e})=>{var r,t,i,a;if(Array.isArray(e)&&(e==null?void 0:e.length)>0)return((t=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:t.length)>0||((a=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:i.content)==null?void 0:a.length)>1},o=({slots:e})=>{var r,t,i,a;if(Array.isArray(e)&&(e==null?void 0:e.length)>0)return((t=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:t.length)===0&&((a=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:i.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:o},{key:"bars.roundedCorners",control:{type:"slider",default:({theme:e})=>{var r;return(r=e==null?void 0:e.itemSpecific)==null?void 0:r.rounding},min:0,max:20,step:1,extraLabel:({options:e,theme:r})=>{var t,i;if(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)=="number")return typeof((i=e==null?void 0:e.bars)==null?void 0:i.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var t,i;return!(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)!="number"||typeof((i=e==null?void 0:e.bars)==null?void 0:i.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{var t;const r={...e};return(t=r==null?void 0:r.bars)==null||delete t.roundedCorners,{value:null,options:r}}}},{key:"color",control:{type:"color-picker",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:r})=>l.getThemeMainColorResetLabel(e,r,"color"),extraLabelHasClickAction:({options:e,theme:r})=>l.getThemeMainColorExtraLabelHasClickAction(e,r,"color"),extraLabelClickAction:({options:e,theme:r})=>l.getThemeMainColorExtraLabelClickAction(e,r,"color")},visibleIf:o}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:c}];exports.default=u;
|
@@ -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
|
-
import { g as l, a as u, b as d, c as f } from "./helpers-
|
20
|
+
import { g as l, a as u, b as d, c as f } from "./helpers-v1bPALRP.js";
|
21
21
|
const c = ({ slots: e }) => {
|
22
22
|
var r, a, t, i;
|
23
23
|
if (Array.isArray(e) && (e == null ? void 0 : e.length) > 0)
|
@@ -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 a=require("./helpers-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./helpers-DXQwEH1P.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.label",control:{type:"switch",label:"Label",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"manualValues.target",control:{type:"number-field",label:"Manual target",default:100,min:0,step:1},visibleIf:({slots:e})=>{var l,n;return!Array.isArray(e)||!(((n=(l=e==null?void 0:e.find(t=>(t==null?void 0:t.name)==="target"))==null?void 0:l.content)==null?void 0:n.length)>0)}},{key:"manualValues.conditional",control:{type:"switch",label:"Conditional color",default:!1}},{key:"manualValues.asBackgroundColor",control:{type:"switch",label:"Use as background color",default:!0},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.manualValues)==null?void 0:l.conditional)===!0}},{key:"color",control:{type:"color-picker",label:"Text color",default:({theme:e})=>a.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>a.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelClickAction(e,l,"color")},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.manualValues)==null?void 0:l.conditional)!==!0}}]},{key:"alignment",type:"group",open:!0,children:[{key:"alignment.vertical",control:{type:"action-button-group",label:"Vertical",default:["middle"],values:{top:{iconName:"alignTop",label:"align top"},middle:{iconName:"alignMiddle",label:"align middle"},bottom:{iconName:"alignBottom",label:"align bottom"}},selects:"single"}},{key:"alignment.horizontal",control:{type:"action-button-group",label:"Horizontal",default:["center"],values:{left:{iconName:"alignLeft",label:"align left"},center:{iconName:"alignCenter",label:"align center"},right:{iconName:"alignRight",label:"align right"}},selects:"single"}}]}];exports.default=o;
|
@@ -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
|
-
import { g as n, a as o, b as i, c as r } from "./helpers-
|
20
|
+
import { g as n, a as o, b as i, c as r } from "./helpers-v1bPALRP.js";
|
21
21
|
const u = [
|
22
22
|
{
|
23
23
|
key: "general",
|
package/components/{date-filter-options.config-KiuizKhg.js → date-filter-options.config-DBRxlTWy.js}
RENAMED
@@ -113,9 +113,9 @@ const l = [
|
|
113
113
|
label: 'First day of the week',
|
114
114
|
default: 'monday',
|
115
115
|
enum: ['monday', 'sunday'],
|
116
|
-
|
116
|
+
parseValue: (value: number) =>
|
117
117
|
value === 0 ? 'sunday' : 'monday',
|
118
|
-
|
118
|
+
toValue: (value: string) => (value === 'sunday' ? 0 : 1)
|
119
119
|
}
|
120
120
|
} */
|
121
121
|
]
|
package/components/{donut-chart-options.config-NPwNtLDW.js → donut-chart-options.config-BulUEiaH.js}
RENAMED
@@ -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
|
-
const
|
20
|
+
const u = [
|
21
21
|
{
|
22
22
|
key: "general",
|
23
23
|
type: "group",
|
@@ -37,8 +37,8 @@ const a = [
|
|
37
37
|
type: "picker",
|
38
38
|
default: "full",
|
39
39
|
enum: ["full", "half"],
|
40
|
-
|
41
|
-
|
40
|
+
parseValue: (e) => e ? "half" : "full",
|
41
|
+
toValue: (e) => e === "half"
|
42
42
|
}
|
43
43
|
},
|
44
44
|
{
|
@@ -57,7 +57,19 @@ const a = [
|
|
57
57
|
control: {
|
58
58
|
type: "switch",
|
59
59
|
label: "Legend",
|
60
|
-
default: !0
|
60
|
+
default: !0,
|
61
|
+
calculateValue: ({ options: e }) => {
|
62
|
+
var l, r;
|
63
|
+
return ((l = e == null ? void 0 : e.display) == null ? void 0 : l.legend) !== !1 || ((r = e == null ? void 0 : e.display) == null ? void 0 : r.categoryLabels) === !0;
|
64
|
+
},
|
65
|
+
toOptions: ({ options: e, value: l }) => ({
|
66
|
+
...e,
|
67
|
+
display: {
|
68
|
+
...e.display,
|
69
|
+
legend: l,
|
70
|
+
categoryLabels: !1
|
71
|
+
}
|
72
|
+
})
|
61
73
|
}
|
62
74
|
},
|
63
75
|
{
|
@@ -65,12 +77,19 @@ const a = [
|
|
65
77
|
control: {
|
66
78
|
type: "radio-button-group",
|
67
79
|
enum: ["list", "labels"],
|
68
|
-
|
69
|
-
|
80
|
+
parseValue: (e) => e ? "labels" : "list",
|
81
|
+
toOptions: ({ options: e, value: l }) => ({
|
82
|
+
...e,
|
83
|
+
display: {
|
84
|
+
...e.display,
|
85
|
+
categoryLabels: l === "labels",
|
86
|
+
legend: l !== "labels"
|
87
|
+
}
|
88
|
+
})
|
70
89
|
},
|
71
|
-
|
72
|
-
var l;
|
73
|
-
return ((l = e == null ? void 0 : e.display) == null ? void 0 : l.
|
90
|
+
visibleIf: ({ options: e }) => {
|
91
|
+
var l, r;
|
92
|
+
return ((l = e == null ? void 0 : e.display) == null ? void 0 : l.legend) !== !1 || ((r = e == null ? void 0 : e.display) == null ? void 0 : r.categoryLabels) === !0;
|
74
93
|
}
|
75
94
|
}
|
76
95
|
]
|
@@ -135,13 +154,13 @@ const a = [
|
|
135
154
|
max: 24,
|
136
155
|
step: 1,
|
137
156
|
extraLabel: ({ options: e, theme: l }) => {
|
138
|
-
var r,
|
157
|
+
var r, a;
|
139
158
|
if (typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.rounding) == "number")
|
140
|
-
return typeof ((
|
159
|
+
return typeof ((a = e == null ? void 0 : e.slices) == null ? void 0 : a.roundedCorners) != "number" ? "auto" : "reset";
|
141
160
|
},
|
142
161
|
extraLabelHasClickAction: ({ options: e, theme: l }) => {
|
143
|
-
var r,
|
144
|
-
return !(typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.rounding) != "number" || typeof ((
|
162
|
+
var r, a;
|
163
|
+
return !(typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.rounding) != "number" || typeof ((a = e == null ? void 0 : e.slices) == null ? void 0 : a.roundedCorners) != "number");
|
145
164
|
},
|
146
165
|
extraLabelClickAction: ({ options: e }) => {
|
147
166
|
var r;
|
@@ -159,13 +178,13 @@ const a = [
|
|
159
178
|
max: 20,
|
160
179
|
step: 1,
|
161
180
|
extraLabel: ({ options: e, theme: l }) => {
|
162
|
-
var r,
|
181
|
+
var r, a;
|
163
182
|
if (typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.padding) == "number")
|
164
|
-
return typeof ((
|
183
|
+
return typeof ((a = e == null ? void 0 : e.slices) == null ? void 0 : a.padding) != "number" ? "auto" : "reset";
|
165
184
|
},
|
166
185
|
extraLabelHasClickAction: ({ options: e, theme: l }) => {
|
167
|
-
var r,
|
168
|
-
return !(typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.padding) != "number" || typeof ((
|
186
|
+
var r, a;
|
187
|
+
return !(typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.padding) != "number" || typeof ((a = e == null ? void 0 : e.slices) == null ? void 0 : a.padding) != "number");
|
169
188
|
},
|
170
189
|
extraLabelClickAction: ({ options: e }) => {
|
171
190
|
var r;
|
@@ -178,5 +197,5 @@ const a = [
|
|
178
197
|
}
|
179
198
|
];
|
180
199
|
export {
|
181
|
-
|
200
|
+
u as default
|
182
201
|
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 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 u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"donut",enum:["donut","pie"]}},{key:"slices.half",control:{type:"picker",default:"full",enum:["full","half"],parseValue:e=>e?"half":"full",toValue:e=>e==="half"}},{type:"divider"},{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0,calculateValue:({options:e})=>{var l,r;return((l=e==null?void 0:e.display)==null?void 0:l.legend)!==!1||((r=e==null?void 0:e.display)==null?void 0:r.categoryLabels)===!0},toOptions:({options:e,value:l})=>({...e,display:{...e.display,legend:l,categoryLabels:!1}})}},{key:"display.categoryLabels",control:{type:"radio-button-group",enum:["list","labels"],parseValue:e=>e?"labels":"list",toOptions:({options:e,value:l})=>({...e,display:{...e.display,categoryLabels:l==="labels",legend:l!=="labels"}})},visibleIf:({options:e})=>{var l,r;return((l=e==null?void 0:e.display)==null?void 0:l.legend)!==!1||((r=e==null?void 0:e.display)==null?void 0:r.categoryLabels)===!0}}]},{key:"slices",type:"group",open:!0,children:[{key:"sort.by",control:{type:"picker",default:"measure",enum:["measure","category"]}},{key:"display.values",control:{type:"picker",default:"none",enum:["none","absolute","percentage"]}},{key:"slices.width",control:{type:"slider",default:.35,min:.05,max:.9,step:.01}},{key:"slices.maxNumber",control:{type:"number-field",default:12,min:0,max:50,step:1}},{key:"slices.minPercentage",control:{type:"number-field",default:3,min:0,max:100,step:1}},{key:"slices.roundedCorners",control:{type:"slider",default:8,min:0,max:24,step:1,extraLabel:({options:e,theme:l})=>{var r,a;if(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.rounding)=="number")return typeof((a=e==null?void 0:e.slices)==null?void 0:a.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:l})=>{var r,a;return!(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.rounding)!="number"||typeof((a=e==null?void 0:e.slices)==null?void 0:a.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{var r;const l={...e};return((r=l==null?void 0:l.slices)==null?void 0:r.roundedCorners)!==void 0&&delete l.slices.roundedCorners,{value:null,options:l}}}},{key:"slices.padding",control:{type:"slider",default:5,min:0,max:20,step:1,extraLabel:({options:e,theme:l})=>{var r,a;if(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.padding)=="number")return typeof((a=e==null?void 0:e.slices)==null?void 0:a.padding)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:l})=>{var r,a;return!(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.padding)!="number"||typeof((a=e==null?void 0:e.slices)==null?void 0:a.padding)!="number")},extraLabelClickAction:({options:e})=>{var r;const l={...e};return((r=l==null?void 0:l.slices)==null?void 0:r.padding)!==void 0&&delete l.slices.padding,{value:null,options:l}}}}]}];exports.default=u;
|