@luzmo/analytics-components-kit 1.0.1-alpha.17 → 1.0.1-alpha.19
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-A8NH6aUG.cjs +20 -0
- package/components/{area-chart-options.config-B5qtlH-_.js → area-chart-options.config-BbSP_Auh.js} +32 -31
- package/components/bar-chart-options.config-CRGDLJCK.js +161 -0
- package/components/bar-chart-options.config-Cpbrpmp1.cjs +20 -0
- package/components/{box-plot-options.config-DoZHVmpm.js → box-plot-options.config-BtonHYul.js} +65 -90
- package/components/box-plot-options.config-CGIKZNsw.cjs +20 -0
- package/components/bubble-chart-options.config-BM7njnkG.cjs +20 -0
- package/components/{bubble-chart-options.config-Cp6OQnJl.js → bubble-chart-options.config-R5R-E3dd.js} +24 -42
- package/components/{bubble-chart-options.de-L-yQc0Vj.cjs → bubble-chart-options.de-D2Z88fwi.cjs} +1 -1
- package/components/{bubble-chart-options.de-BGWrRmuN.js → bubble-chart-options.de-D8Ap7joq.js} +6 -1
- package/components/{bubble-chart-options.en-CYwRht5M.js → bubble-chart-options.en-BU3F4n13.js} +8 -3
- package/components/{bubble-chart-options.en-CCG_rkEd.cjs → bubble-chart-options.en-CP9PhuPw.cjs} +1 -1
- package/components/{bubble-chart-options.es-CihHnrZ4.cjs → bubble-chart-options.es-B6mTDtxs.cjs} +1 -1
- package/components/{bubble-chart-options.es-ZnkjzgL_.js → bubble-chart-options.es-Bh_dRgE3.js} +7 -2
- package/components/{bubble-chart-options.fr-CFULfSKT.cjs → bubble-chart-options.fr-BMPe3Z5G.cjs} +1 -1
- package/components/{bubble-chart-options.fr-Cym1h3sF.js → bubble-chart-options.fr-CNiJgmGl.js} +7 -2
- package/components/{bubble-chart-options.nl-Deep5xXO.cjs → bubble-chart-options.nl-5thQrFoi.cjs} +1 -1
- package/components/{bubble-chart-options.nl-D1TFWi5k.js → bubble-chart-options.nl-BoV3kpaZ.js} +8 -3
- package/components/{bullet-chart-options.config-D8mAooLE.js → bullet-chart-options.config-D-_esi9S.js} +7 -25
- package/components/bullet-chart-options.config-D-wrbTMO.cjs +20 -0
- package/components/{choropleth-map-options.config-4QDypbCL.cjs → choropleth-map-options.config-BOuMfF8r.cjs} +1 -1
- package/components/{choropleth-map-options.config-V8tRnQqz.js → choropleth-map-options.config-z2fY__jr.js} +4 -4
- package/components/{circular-guage-options.config-C3ExuT5F.js → circular-gauge-options.config-9tIxyJj1.js} +19 -29
- package/components/circular-gauge-options.config-h9KNl5Eq.cjs +20 -0
- package/components/column-chart-options.config-B-e2SI2W.cjs +20 -0
- package/components/{column-chart-options.config-CGw1dN1E.js → column-chart-options.config-D87ZFT76.js} +34 -52
- package/components/conditional-number-options.config-D09JeUlU.cjs +20 -0
- package/components/conditional-number-options.config-PVvKLc1P.js +133 -0
- package/components/conditional-number-options.de-BJcjBZY1.js +74 -0
- package/components/conditional-number-options.de-CFnufi0r.cjs +20 -0
- package/components/conditional-number-options.en-WSrIzRGJ.js +74 -0
- package/components/conditional-number-options.en-Wd-0YtdE.cjs +20 -0
- package/components/conditional-number-options.es-BKqT0zog.js +74 -0
- package/components/conditional-number-options.es-BTDTe5SF.cjs +20 -0
- package/components/conditional-number-options.fr-CZ-9jzPm.cjs +20 -0
- package/components/conditional-number-options.fr-D2r7Azy8.js +74 -0
- package/components/conditional-number-options.nl-CfRYL6o1.cjs +20 -0
- package/components/conditional-number-options.nl-pkRI1tLZ.js +74 -0
- package/components/{donut-chart-options.config-DuJFyp4z.js → donut-chart-options.config-NPwNtLDW.js} +23 -20
- package/components/donut-chart-options.config-bqcKuyIu.cjs +20 -0
- package/components/{dropdown-filter-options.config-BxjR1xAD.js → dropdown-filter-options.config-D9dvPypF.js} +5 -5
- package/components/{dropdown-filter-options.config-C3YEGK-5.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
- package/components/edit-item/index.cjs +14 -14
- package/components/edit-item/index.js +79 -55
- package/components/edit-option/helpers/get-default-value.d.ts +1 -0
- package/components/edit-option/index.cjs +98 -98
- package/components/edit-option/index.js +335 -329
- package/components/edit-option-action-button-group/index.cjs +7 -7
- package/components/edit-option-action-button-group/index.js +56 -54
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +1 -1
- package/components/edit-option-position-picker/index.cjs +2 -2
- package/components/edit-option-position-picker/index.js +4 -6
- package/components/funnel-chart-options.config-CrlHKd36.js +184 -0
- package/components/funnel-chart-options.config-hw_GXs4s.cjs +20 -0
- package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
- package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
- package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
- package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
- package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
- package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
- package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
- package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
- package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
- package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
- package/components/helpers-CKo1Fkek.cjs +20 -0
- package/components/helpers-DqqxcHaY.js +51 -0
- package/components/{line-chart-options.config-CEUJYNt7.js → line-chart-options.config-BtfCTjNr.js} +32 -31
- package/components/line-chart-options.config-Cb7txmmw.cjs +20 -0
- package/components/radar-chart-options.config-Ck7skfge.cjs +20 -0
- package/components/{radar-chart-options.config-gKHFbC63.js → radar-chart-options.config-DFxna7UF.js} +25 -43
- package/components/sankey-diagram-options.config-DJqI2dMh.cjs +20 -0
- package/components/{sankey-diagram-options.config-ylhZhJ6H.js → sankey-diagram-options.config-Dj9g2BOp.js} +16 -26
- package/components/{search-filter-options.config-C9CoGS9f.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
- package/components/{search-filter-options.config-baX2Vdul.js → search-filter-options.config-BE3JhR-F.js} +1 -1
- package/components/{slicer-filter-options.config-A3YK_KZn.js → slicer-filter-options.config-BArPA7Mb.js} +20 -38
- package/components/slicer-filter-options.config-BW44EPso.cjs +20 -0
- package/components/{slider-filter-options.config-C-zvfTNl.js → slider-filter-options.config-BIKIbGbN.js} +7 -25
- package/components/slider-filter-options.config-zuWa8Rtt.cjs +20 -0
- package/components/sunburst-chart-options.config-BjtKxThH.cjs +20 -0
- package/components/{sunburst-chart-options.config-VZqDthcz.js → sunburst-chart-options.config-BxkJfdrU.js} +30 -30
- package/components/{textobject-options.nl-V03mmGmH.js → text-options.nl-C8sliUgH.js} +2 -2
- package/components/{treemap-chart-options.config-f8L8KfDj.js → treemap-chart-options.config-MyCTS35Y.js} +45 -63
- package/components/treemap-chart-options.config-PwXbMhHZ.cjs +20 -0
- package/components/{video-options.config-BBDHSf6_.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
- package/components/{video-options.config-CbtNZAEK.js → video-options.config-Dk36zJ1B.js} +5 -5
- package/components/wordcloud-chart-options.config-Cv9l0THs.cjs +20 -0
- package/components/{wordcloud-chart-options.config-CQs8YFfd.js → wordcloud-chart-options.config-Dq7TF0sb.js} +10 -28
- package/custom-elements.json +31 -3
- package/item-definitions/area-chart/area-chart-options.config.d.ts +27 -6
- package/item-definitions/bar-chart/bar-chart-options.config.d.ts +13 -13
- package/item-definitions/box-plot/box-plot-options.config.d.ts +16 -16
- package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +7 -7
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +5 -0
- package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +4 -4
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
- package/item-definitions/circular-gauge/{circular-guage-options.config.d.ts → circular-gauge-options.config.d.ts} +4 -4
- package/item-definitions/column-chart/column-chart-options.config.d.ts +13 -13
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +135 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +53 -0
- package/item-definitions/donut-chart/donut-chart-options.config.d.ts +8 -7
- package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +2 -2
- package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +88 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
- package/item-definitions/helpers.d.ts +7 -0
- package/item-definitions/line-chart/line-chart-options.config.d.ts +31 -7
- package/item-definitions/radar-chart/radar-chart-options.config.d.ts +8 -8
- package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +5 -5
- package/item-definitions/search-filter/search-filter-options.config.d.ts +1 -1
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +8 -8
- package/item-definitions/slider-filter/slider-filter-options.config.d.ts +4 -4
- package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +4 -4
- package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +10 -10
- package/item-definitions/video/video-options.config.d.ts +3 -3
- package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +5 -5
- package/package.json +1 -1
- package/components/area-chart-options.config-DMfRioZx.cjs +0 -20
- package/components/bar-chart-options.config-C7BGg5sh.cjs +0 -20
- package/components/bar-chart-options.config-CQfpV1Rx.js +0 -181
- package/components/box-plot-options.config-BsFp2CBS.cjs +0 -20
- package/components/bubble-chart-options.config-DL5Xl6Ad.cjs +0 -20
- package/components/bullet-chart-options.config-BO22R7gx.cjs +0 -20
- package/components/circular-guage-options.config-Dvg5quJ9.cjs +0 -20
- package/components/column-chart-options.config-DomUPYPM.cjs +0 -20
- package/components/donut-chart-options.config-kUyTbAtZ.cjs +0 -20
- package/components/line-chart-options.config-DNGyRAvG.cjs +0 -20
- package/components/radar-chart-options.config-DUXOzdbl.cjs +0 -20
- package/components/sankey-diagram-options.config-CG5S1OI3.cjs +0 -20
- package/components/slicer-filter-options.config-DQunaj8q.cjs +0 -20
- package/components/slider-filter-options.config-DF_sAElS.cjs +0 -20
- package/components/sunburst-chart-options.config-CEfAd1RQ.cjs +0 -20
- package/components/treemap-chart-options.config-Dc2UNcGG.cjs +0 -20
- package/components/wordcloud-chart-options.config-BLvcDvxT.cjs +0 -20
- /package/components/{imageobject-options.de-CBkRiIbw.cjs → image-options.de-CBkRiIbw.cjs} +0 -0
- /package/components/{imageobject-options.de-CYVnqdL_.js → image-options.de-CYVnqdL_.js} +0 -0
- /package/components/{imageobject-options.en-BMmV-4O-.js → image-options.en-BMmV-4O-.js} +0 -0
- /package/components/{imageobject-options.en-DflcU_2H.cjs → image-options.en-DflcU_2H.cjs} +0 -0
- /package/components/{imageobject-options.es-CRbNv384.cjs → image-options.es-CRbNv384.cjs} +0 -0
- /package/components/{imageobject-options.es-UN5rmaEt.js → image-options.es-UN5rmaEt.js} +0 -0
- /package/components/{imageobject-options.fr-DRE3zImB.js → image-options.fr-DRE3zImB.js} +0 -0
- /package/components/{imageobject-options.fr-ycH7UoX5.cjs → image-options.fr-ycH7UoX5.cjs} +0 -0
- /package/components/{imageobject-options.nl-D20hki6i.js → image-options.nl-D20hki6i.js} +0 -0
- /package/components/{imageobject-options.nl-DQL45o0j.cjs → image-options.nl-DQL45o0j.cjs} +0 -0
- /package/components/{textobject-options.de-BjfS5RBn.js → text-options.de-BjfS5RBn.js} +0 -0
- /package/components/{textobject-options.de-DLr2-jBn.cjs → text-options.de-DLr2-jBn.cjs} +0 -0
- /package/components/{textobject-options.en-BQqHFc7M.js → text-options.en-BQqHFc7M.js} +0 -0
- /package/components/{textobject-options.en-LfsMtwo6.cjs → text-options.en-LfsMtwo6.cjs} +0 -0
- /package/components/{textobject-options.es-BLQBqlvK.cjs → text-options.es-BLQBqlvK.cjs} +0 -0
- /package/components/{textobject-options.es-CMB1DKq4.js → text-options.es-CMB1DKq4.js} +0 -0
- /package/components/{textobject-options.fr-B8x29grG.cjs → text-options.fr-B8x29grG.cjs} +0 -0
- /package/components/{textobject-options.fr-VPJ3bDOM.js → text-options.fr-VPJ3bDOM.js} +0 -0
- /package/components/{textobject-options.nl-DzglrI3i.cjs → text-options.nl-DzglrI3i.cjs} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.de.d.ts → image-options.de.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.en.d.ts → image-options.en.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.es.d.ts → image-options.es.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.fr.d.ts → image-options.fr.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.nl.d.ts → image-options.nl.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.de.d.ts → text-options.de.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.en.d.ts → text-options.en.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.es.d.ts → text-options.es.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.fr.d.ts → text-options.fr.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.nl.d.ts → text-options.nl.d.ts} +0 -0
@@ -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 l=require("./helpers-CKo1Fkek.cjs"),d=({slots:e})=>{var n,t,i,r;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((t=(n=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="legend"))==null?void 0:n.content)==null?void 0:t.length)>0||((r=(i=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="measure"))==null?void 0:i.content)==null?void 0:r.length)>1:!1},u=({slots:e})=>{var n,t,i,r;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((t=(n=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="legend"))==null?void 0:n.content)==null?void 0:t.length)>0)&&((r=(i=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="measure"))==null?void 0:i.content)==null?void 0:r.length)<=1:!0},o=({slots:e})=>{var n,t,i;return Array.isArray(e)&&((i=(t=(n=e==null?void 0:e.find(r=>(r==null?void 0:r.name)==="x-axis"))==null?void 0:n.content)==null?void 0:t[0])==null?void 0:i.type)==="datetime"},y=({options:e,slots:n})=>{var t,i,r,a;return Array.isArray(n)&&((r=(i=(t=n==null?void 0:n.find(c=>(c==null?void 0:c.name)==="x-axis"))==null?void 0:t.content)==null?void 0:i[0])==null?void 0:r.type)==="datetime"&&((a=e==null?void 0:e.missingValue)==null?void 0:a.type)==="manual"},m=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{label:"Title",type:"switch",default:!0}},{key:"display.legend",control:{label:"Legend",type:"switch",default:!0},visibleIf:d},{type:"divider"},{key:"interpolation",control:{label:"Interpolation",type:"picker",default:"linear",enum:["linear","step-before","step-after","monotone"]}},{key:"missingValue.type",control:{label:"Fill missing values",type:"picker",default:"no",enum:["no","break","manual"]},visibleIf:o},{key:"missingValue.value",control:{label:"Value",type:"number-field",default:"no",min:1},visibleIf:y},{key:"color",control:{label:"Line 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:"lines.gradient",control:{label:"Line gradient",type:"switch",default:!0}},{key:"lines.strokeWidth",control:{label:"Stroke width",type:"slider",default:2,min:1,max:7,step:1}}]},{key:"markers",type:"group",open:!1,children:[{key:"markers.enabled",control:{label:"Enabled",type:"switch",default:!1}},{key:"markers.size",control:{type:"slider",label:"Size",default:4,min:2,max:10,step:1},visibleIf:({options:e})=>{var n;return(n=e==null?void 0:e.markers)==null?void 0:n.enabled}}]},{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:d}];exports.default=m;
|
@@ -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 i=require("./helpers-CKo1Fkek.cjs"),a=({slots:e})=>{var t,l;return Array.isArray(e)&&((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},o=({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:"radar",type:"group",open:!0,children:[{key:"color",control:{type:"color-picker",label:"Color",default:({theme:e})=>i.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>i.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>i.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>i.getThemeMainColorExtraLabelClickAction(e,t,"color")},visibleIf:o},{key:"fillOpacity",control:{type:"slider",label:"Fill opacity",default:.05,min:0,max:.7,step:.01}},{key:"interpolation",control:{type:"picker",label:"Interpolation",default:"linear",enum:["linear","rounded"]}},{key:"display.points",control:{type:"switch",label:"Show points",default:!1}},{key:"pointSize",control:{type:"slider",label:"Point size",default:3,min:2,max:7,step:1},visibleIf:({options:e})=>{var t;return(t=e==null?void 0:e.display)==null?void 0:t.points}}]},{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:({options:e,slots:t})=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.legend)!==!1&&a({slots:t})}}];exports.default=n;
|
package/components/{radar-chart-options.config-gKHFbC63.js → radar-chart-options.config-DFxna7UF.js}
RENAMED
@@ -17,13 +17,14 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
import { g as i, a as o, b as n, c } from "./helpers-DqqxcHaY.js";
|
21
|
+
const a = ({ slots: e }) => {
|
22
|
+
var t, l;
|
23
|
+
return Array.isArray(e) && ((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;
|
24
|
+
}, p = ({ slots: e }) => {
|
25
|
+
var t, l;
|
26
|
+
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;
|
27
|
+
}, d = [
|
27
28
|
{
|
28
29
|
key: "general",
|
29
30
|
type: "group",
|
@@ -58,31 +59,12 @@ const a = (n, l) => {
|
|
58
59
|
control: {
|
59
60
|
type: "color-picker",
|
60
61
|
label: "Color",
|
61
|
-
default: (
|
62
|
-
|
63
|
-
|
64
|
-
},
|
65
|
-
extraLabel: (n, l, r) => {
|
66
|
-
var i;
|
67
|
-
const o = (r == null ? void 0 : r.mainColor) ?? ((i = r == null ? void 0 : r.colors) == null ? void 0 : i[0]);
|
68
|
-
if (o && n.color !== o)
|
69
|
-
return "reset";
|
70
|
-
},
|
71
|
-
extraLabelHasClickAction: (n, l, r) => {
|
72
|
-
var i;
|
73
|
-
const o = (r == null ? void 0 : r.mainColor) ?? ((i = r == null ? void 0 : r.colors) == null ? void 0 : i[0]);
|
74
|
-
return !!(o && n.color !== o);
|
75
|
-
},
|
76
|
-
extraLabelClickAction: (n, l, r) => {
|
77
|
-
var i;
|
78
|
-
const o = { ...n };
|
79
|
-
return o.color = (r == null ? void 0 : r.mainColor) ?? ((i = r == null ? void 0 : r.colors) == null ? void 0 : i[0]), {
|
80
|
-
value: o.color,
|
81
|
-
options: o
|
82
|
-
};
|
83
|
-
}
|
62
|
+
default: ({ theme: e }) => c(e),
|
63
|
+
extraLabel: ({ options: e, theme: t }) => n(e, t, "color"),
|
64
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => o(e, t, "color"),
|
65
|
+
extraLabelClickAction: ({ options: e, theme: t }) => i(e, t, "color")
|
84
66
|
},
|
85
|
-
visibleIf:
|
67
|
+
visibleIf: p
|
86
68
|
},
|
87
69
|
{
|
88
70
|
key: "fillOpacity",
|
@@ -122,9 +104,9 @@ const a = (n, l) => {
|
|
122
104
|
max: 7,
|
123
105
|
step: 1
|
124
106
|
},
|
125
|
-
visibleIf: (
|
126
|
-
var
|
127
|
-
return (
|
107
|
+
visibleIf: ({ options: e }) => {
|
108
|
+
var t;
|
109
|
+
return (t = e == null ? void 0 : e.display) == null ? void 0 : t.points;
|
128
110
|
}
|
129
111
|
}
|
130
112
|
]
|
@@ -139,26 +121,26 @@ const a = (n, l) => {
|
|
139
121
|
control: {
|
140
122
|
label: "Position",
|
141
123
|
type: "position-picker",
|
142
|
-
default: "
|
124
|
+
default: "topRight",
|
143
125
|
enum: [
|
144
|
-
"
|
126
|
+
"topLeft",
|
145
127
|
"top",
|
146
|
-
"
|
128
|
+
"topRight",
|
147
129
|
"right",
|
148
|
-
"
|
130
|
+
"bottomRight",
|
149
131
|
"bottom",
|
150
|
-
"
|
132
|
+
"bottomLeft",
|
151
133
|
"left"
|
152
134
|
]
|
153
135
|
}
|
154
136
|
}
|
155
137
|
],
|
156
|
-
visibleIf: (
|
157
|
-
var
|
158
|
-
return ((
|
138
|
+
visibleIf: ({ options: e, slots: t }) => {
|
139
|
+
var l;
|
140
|
+
return ((l = e == null ? void 0 : e.display) == null ? void 0 : l.legend) !== !1 && a({ slots: t });
|
159
141
|
}
|
160
142
|
}
|
161
143
|
];
|
162
144
|
export {
|
163
|
-
|
145
|
+
d as default
|
164
146
|
};
|
@@ -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 o=require("./helpers-CKo1Fkek.cjs"),t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"alignment",control:{type:"picker",label:"Node alignment",default:"justify",enum:["justify","left","right","center"]}}]},{key:"nodes",type:"group",open:!0,children:[{key:"nodeSorting",control:{type:"picker",label:"Sorting",default:"default",enum:["default","asc","desc"]}},{key:"labels.display",control:{type:"switch",label:"Show node label",default:!0}},{key:"labels.value",control:{type:"switch",label:"Show node value",default:!1}},{key:"colors.byCategory",control:{type:"switch",label:"Use node category color",default:!0}},{key:"colors.nodeColor",control:{type:"color-picker",default:({theme:e})=>o.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>o.getThemeMainColorResetLabel(e,l,"colors.nodeColor"),extraLabelHasClickAction:({options:e,theme:l})=>o.getThemeMainColorExtraLabelHasClickAction(e,l,"colors.nodeColor"),extraLabelClickAction:({options:e,theme:l})=>o.getThemeMainColorExtraLabelClickAction(e,l,"colors.nodeColor")},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.colors)==null?void 0:l.byCategory)===!1}}]},{key:"links",type:"group",open:!0,children:[{key:"colors.linkColor",control:{type:"picker",label:"Color",default:"gradient",enum:["gradient","source","target","none"]}}]}];exports.default=t;
|
@@ -17,6 +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 o, a as t, b as r, c as a } from "./helpers-DqqxcHaY.js";
|
20
21
|
const c = [
|
21
22
|
{
|
22
23
|
key: "general",
|
@@ -84,33 +85,22 @@ const c = [
|
|
84
85
|
key: "colors.nodeColor",
|
85
86
|
control: {
|
86
87
|
type: "color-picker",
|
87
|
-
default: (
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
const l = (o == null ? void 0 : o.mainColor) ?? ((n = o == null ? void 0 : o.colors) == null ? void 0 : n[0]);
|
100
|
-
return !!(l && r.color !== l);
|
101
|
-
},
|
102
|
-
extraLabelClickAction: (r, a, o) => {
|
103
|
-
var n;
|
104
|
-
const l = { ...r };
|
105
|
-
return l.color = (o == null ? void 0 : o.mainColor) ?? ((n = o == null ? void 0 : o.colors) == null ? void 0 : n[0]), {
|
106
|
-
value: l.color,
|
107
|
-
options: l
|
108
|
-
};
|
109
|
-
}
|
88
|
+
default: ({ theme: e }) => a(e),
|
89
|
+
extraLabel: ({ options: e, theme: l }) => r(e, l, "colors.nodeColor"),
|
90
|
+
extraLabelHasClickAction: ({ options: e, theme: l }) => t(
|
91
|
+
e,
|
92
|
+
l,
|
93
|
+
"colors.nodeColor"
|
94
|
+
),
|
95
|
+
extraLabelClickAction: ({ options: e, theme: l }) => o(
|
96
|
+
e,
|
97
|
+
l,
|
98
|
+
"colors.nodeColor"
|
99
|
+
)
|
110
100
|
},
|
111
|
-
visibleIf: (
|
112
|
-
var
|
113
|
-
return ((
|
101
|
+
visibleIf: ({ options: e }) => {
|
102
|
+
var l;
|
103
|
+
return ((l = e == null ? void 0 : e.colors) == null ? void 0 : l.byCategory) === !1;
|
114
104
|
}
|
115
105
|
}
|
116
106
|
]
|
@@ -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=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.label",control:{type:"switch",label:"Label",default:!0}},{key:"applyFiltersWithButton",control:{type:"switch",label:"Filter with Apply button",default:!1}}]},{key:"placeholder",type:"group",open:!0,children:[{key:"display.placeholder",control:{type:"switch",label:"Display",default:!0}},{key:"placeholder",control:{type:"multi-language-field",label:"Text",placeholder:"Search..."},visibleIf:e=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.placeholder)!==!1}}]},{key:"padding",type:"group",open:!0,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=t;
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.label",control:{type:"switch",label:"Label",default:!0}},{key:"applyFiltersWithButton",control:{type:"switch",label:"Filter with Apply button",default:!1}}]},{key:"placeholder",type:"group",open:!0,children:[{key:"display.placeholder",control:{type:"switch",label:"Display",default:!0}},{key:"placeholder",control:{type:"multi-language-field",label:"Text",placeholder:"Search..."},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.placeholder)!==!1}}]},{key:"padding",type:"group",open:!0,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=t;
|
@@ -17,7 +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
|
-
|
20
|
+
import { g as t, a, b as r, c as i } from "./helpers-DqqxcHaY.js";
|
21
|
+
const n = [
|
21
22
|
{
|
22
23
|
key: "general",
|
23
24
|
type: "group",
|
@@ -54,7 +55,7 @@ const o = [
|
|
54
55
|
label: "Filter with Apply button",
|
55
56
|
default: !1
|
56
57
|
},
|
57
|
-
visibleIf: (
|
58
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.multiselect) !== !1
|
58
59
|
},
|
59
60
|
{
|
60
61
|
key: "display.all",
|
@@ -70,8 +71,8 @@ const o = [
|
|
70
71
|
type: "switch",
|
71
72
|
label: "Display as buttons",
|
72
73
|
default: !1,
|
73
|
-
fromOptionValue: (
|
74
|
-
toOptionValue: (
|
74
|
+
fromOptionValue: (e) => e === "button",
|
75
|
+
toOptionValue: (e) => e ? "button" : "default"
|
75
76
|
}
|
76
77
|
},
|
77
78
|
{
|
@@ -79,31 +80,12 @@ const o = [
|
|
79
80
|
control: {
|
80
81
|
type: "color-picker",
|
81
82
|
label: "Color",
|
82
|
-
default: (
|
83
|
-
|
84
|
-
|
85
|
-
},
|
86
|
-
extraLabel: (l, a, e) => {
|
87
|
-
var r;
|
88
|
-
const t = (e == null ? void 0 : e.mainColor) ?? ((r = e == null ? void 0 : e.colors) == null ? void 0 : r[0]);
|
89
|
-
if (t && l.color !== t)
|
90
|
-
return "reset";
|
91
|
-
},
|
92
|
-
extraLabelHasClickAction: (l, a, e) => {
|
93
|
-
var r;
|
94
|
-
const t = (e == null ? void 0 : e.mainColor) ?? ((r = e == null ? void 0 : e.colors) == null ? void 0 : r[0]);
|
95
|
-
return !!(t && l.color !== t);
|
96
|
-
},
|
97
|
-
extraLabelClickAction: (l, a, e) => {
|
98
|
-
var r;
|
99
|
-
const t = { ...l };
|
100
|
-
return t.color = (e == null ? void 0 : e.mainColor) ?? ((r = e == null ? void 0 : e.colors) == null ? void 0 : r[0]), {
|
101
|
-
value: t.color,
|
102
|
-
options: t
|
103
|
-
};
|
104
|
-
}
|
83
|
+
default: ({ theme: e }) => i(e),
|
84
|
+
extraLabel: ({ options: e, theme: l }) => r(e, l, "color"),
|
85
|
+
extraLabelHasClickAction: ({ options: e, theme: l }) => a(e, l, "color"),
|
86
|
+
extraLabelClickAction: ({ options: e, theme: l }) => t(e, l, "color")
|
105
87
|
},
|
106
|
-
visibleIf: (
|
88
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.mode) === "button"
|
107
89
|
},
|
108
90
|
{
|
109
91
|
key: "sort.direction",
|
@@ -140,9 +122,9 @@ const o = [
|
|
140
122
|
max: 999,
|
141
123
|
step: 1
|
142
124
|
},
|
143
|
-
visibleIf: (
|
144
|
-
var
|
145
|
-
return (
|
125
|
+
visibleIf: ({ options: e }) => {
|
126
|
+
var l;
|
127
|
+
return (e == null ? void 0 : e.mode) !== "button" && ((l = e == null ? void 0 : e.layout) == null ? void 0 : l.alignment) !== "horizontal";
|
146
128
|
}
|
147
129
|
},
|
148
130
|
{
|
@@ -154,9 +136,9 @@ const o = [
|
|
154
136
|
min: 1,
|
155
137
|
max: 10
|
156
138
|
},
|
157
|
-
visibleIf: (
|
158
|
-
var
|
159
|
-
return ((
|
139
|
+
visibleIf: ({ options: e }) => {
|
140
|
+
var l;
|
141
|
+
return ((l = e == null ? void 0 : e.layout) == null ? void 0 : l.alignment) === "table";
|
160
142
|
}
|
161
143
|
},
|
162
144
|
{
|
@@ -169,9 +151,9 @@ const o = [
|
|
169
151
|
max: 999,
|
170
152
|
step: 1
|
171
153
|
},
|
172
|
-
visibleIf: (
|
173
|
-
var
|
174
|
-
return ((
|
154
|
+
visibleIf: ({ options: e }) => {
|
155
|
+
var l;
|
156
|
+
return ((l = e == null ? void 0 : e.layout) == null ? void 0 : l.alignment) === "horizontal";
|
175
157
|
}
|
176
158
|
}
|
177
159
|
]
|
@@ -207,5 +189,5 @@ const o = [
|
|
207
189
|
}
|
208
190
|
];
|
209
191
|
export {
|
210
|
-
|
192
|
+
n as default
|
211
193
|
};
|
@@ -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-CKo1Fkek.cjs"),a=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.search",control:{type:"switch",label:"Search",default:!0}},{key:"multiselect",control:{type:"switch",label:"Multiselect",default:!1}},{key:"applyFiltersWithButton",control:{type:"switch",label:"Filter with Apply button",default:!1},visibleIf:({options:e})=>(e==null?void 0:e.multiselect)!==!1},{key:"display.all",control:{type:"switch",label:"Show 'select all'",default:!0}},{key:"mode",control:{type:"switch",label:"Display as buttons",default:!1,fromOptionValue:e=>e==="button",toOptionValue:e=>e?"button":"default"}},{key:"color",control:{type:"color-picker",label:"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")},visibleIf:({options:e})=>(e==null?void 0:e.mode)==="button"},{key:"sort.direction",control:{type:"picker",label:"Ordering",default:"asc",enum:["asc","desc"]}}]},{key:"layout",type:"group",open:!0,children:[{key:"layout.alignment",control:{type:"picker",label:"Alignment",default:"vertical",enum:["vertical","horizontal","table"]}},{key:"table.rowheight",control:{type:"number-field",label:"Row height",default:24,min:0,max:999,step:1},visibleIf:({options:e})=>{var l;return(e==null?void 0:e.mode)!=="button"&&((l=e==null?void 0:e.layout)==null?void 0:l.alignment)!=="horizontal"}},{key:"table.columns",control:{type:"number-field",label:"Number of columns",default:2,min:1,max:10},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.layout)==null?void 0:l.alignment)==="table"}},{key:"horizontal.width",control:{type:"number-field",label:"Width",default:175,min:0,max:999,step:1},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.layout)==null?void 0:l.alignment)==="horizontal"}}]},{key:"padding",type:"group",open:!1,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=a;
|
@@ -17,7 +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
|
-
|
20
|
+
import { g as t, a as o, b as a, c as r } from "./helpers-DqqxcHaY.js";
|
21
|
+
const n = [
|
21
22
|
{
|
22
23
|
key: "general",
|
23
24
|
type: "group",
|
@@ -36,29 +37,10 @@ const a = [
|
|
36
37
|
control: {
|
37
38
|
type: "color-picker",
|
38
39
|
label: "Slider color",
|
39
|
-
default: (
|
40
|
-
|
41
|
-
|
42
|
-
},
|
43
|
-
extraLabel: (n, i, o) => {
|
44
|
-
var r;
|
45
|
-
const l = (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]);
|
46
|
-
if (l && n.color !== l)
|
47
|
-
return "reset";
|
48
|
-
},
|
49
|
-
extraLabelHasClickAction: (n, i, o) => {
|
50
|
-
var r;
|
51
|
-
const l = (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]);
|
52
|
-
return !!(l && n.color !== l);
|
53
|
-
},
|
54
|
-
extraLabelClickAction: (n, i, o) => {
|
55
|
-
var r;
|
56
|
-
const l = { ...n };
|
57
|
-
return l.color = (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]), {
|
58
|
-
value: l.color,
|
59
|
-
options: l
|
60
|
-
};
|
61
|
-
}
|
40
|
+
default: ({ theme: e }) => r(e),
|
41
|
+
extraLabel: ({ options: e, theme: l }) => a(e, l, "color"),
|
42
|
+
extraLabelHasClickAction: ({ options: e, theme: l }) => o(e, l, "color"),
|
43
|
+
extraLabelClickAction: ({ options: e, theme: l }) => t(e, l, "color")
|
62
44
|
}
|
63
45
|
}
|
64
46
|
]
|
@@ -94,5 +76,5 @@ const a = [
|
|
94
76
|
}
|
95
77
|
];
|
96
78
|
export {
|
97
|
-
|
79
|
+
n as default
|
98
80
|
};
|
@@ -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-CKo1Fkek.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"color",control:{type:"color-picker",label:"Slider 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:"padding",type:"group",open:!0,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=o;
|
@@ -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=[{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:!1}},{key:"display.labels",control:{type:"switch",label:"Show labels",default:!0}}]},{key:"slices",type:"group",open:!0,children:[{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:8,min:0,max:24,step:1,extraLabel:({options:r,theme:e})=>{var l;if(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.rounding)=="number")return typeof(r==null?void 0:r.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:r,theme:e})=>{var l;return!(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.rounding)!="number"||typeof(r==null?void 0:r.roundedCorners)!="number")},extraLabelClickAction:({options:r})=>{const e={...r};return(e==null?void 0:e.roundedCorners)!==void 0&&delete e.roundedCorners,{value:null,options:e}}}},{key:"internalPadding",control:{type:"slider",label:"Internal padding",default:5,min:0,max:20,step:1,extraLabel:({options:r,theme:e})=>{var l;if(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.padding)=="number")return typeof(r==null?void 0:r.internalPadding)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:r,theme:e})=>{var l;return!(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.padding)!="number"||typeof(r==null?void 0:r.internalPadding)!="number")},extraLabelClickAction:({options:r})=>{const e={...r};return(e==null?void 0:e.internalPadding)!==void 0&&delete e.internalPadding,{value:null,options:e}}}}]},{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:({options:r})=>{var e;return(e=r==null?void 0:r.display)==null?void 0:e.legend}}];exports.default=t;
|
@@ -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 t = [
|
21
21
|
{
|
22
22
|
key: "general",
|
23
23
|
type: "group",
|
@@ -63,18 +63,18 @@ const n = [
|
|
63
63
|
min: 0,
|
64
64
|
max: 24,
|
65
65
|
step: 1,
|
66
|
-
extraLabel: (
|
67
|
-
var
|
68
|
-
if (typeof ((
|
69
|
-
return typeof (
|
66
|
+
extraLabel: ({ options: r, theme: e }) => {
|
67
|
+
var l;
|
68
|
+
if (typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.rounding) == "number")
|
69
|
+
return typeof (r == null ? void 0 : r.roundedCorners) != "number" ? "auto" : "reset";
|
70
70
|
},
|
71
|
-
extraLabelHasClickAction: (
|
72
|
-
var
|
73
|
-
return !(typeof ((
|
71
|
+
extraLabelHasClickAction: ({ options: r, theme: e }) => {
|
72
|
+
var l;
|
73
|
+
return !(typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.rounding) != "number" || typeof (r == null ? void 0 : r.roundedCorners) != "number");
|
74
74
|
},
|
75
|
-
extraLabelClickAction: (
|
76
|
-
const
|
77
|
-
return (
|
75
|
+
extraLabelClickAction: ({ options: r }) => {
|
76
|
+
const e = { ...r };
|
77
|
+
return (e == null ? void 0 : e.roundedCorners) !== void 0 && delete e.roundedCorners, { value: null, options: e };
|
78
78
|
}
|
79
79
|
}
|
80
80
|
},
|
@@ -87,18 +87,18 @@ const n = [
|
|
87
87
|
min: 0,
|
88
88
|
max: 20,
|
89
89
|
step: 1,
|
90
|
-
extraLabel: (
|
91
|
-
var
|
92
|
-
if (typeof ((
|
93
|
-
return typeof (
|
90
|
+
extraLabel: ({ options: r, theme: e }) => {
|
91
|
+
var l;
|
92
|
+
if (typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.padding) == "number")
|
93
|
+
return typeof (r == null ? void 0 : r.internalPadding) != "number" ? "auto" : "reset";
|
94
94
|
},
|
95
|
-
extraLabelHasClickAction: (
|
96
|
-
var
|
97
|
-
return !(typeof ((
|
95
|
+
extraLabelHasClickAction: ({ options: r, theme: e }) => {
|
96
|
+
var l;
|
97
|
+
return !(typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.padding) != "number" || typeof (r == null ? void 0 : r.internalPadding) != "number");
|
98
98
|
},
|
99
|
-
extraLabelClickAction: (
|
100
|
-
const
|
101
|
-
return (
|
99
|
+
extraLabelClickAction: ({ options: r }) => {
|
100
|
+
const e = { ...r };
|
101
|
+
return (e == null ? void 0 : e.internalPadding) !== void 0 && delete e.internalPadding, { value: null, options: e };
|
102
102
|
}
|
103
103
|
}
|
104
104
|
}
|
@@ -114,26 +114,26 @@ const n = [
|
|
114
114
|
control: {
|
115
115
|
label: "Position",
|
116
116
|
type: "position-picker",
|
117
|
-
default: "
|
117
|
+
default: "topRight",
|
118
118
|
enum: [
|
119
|
-
"
|
119
|
+
"topLeft",
|
120
120
|
"top",
|
121
|
-
"
|
121
|
+
"topRight",
|
122
122
|
"right",
|
123
|
-
"
|
123
|
+
"bottomRight",
|
124
124
|
"bottom",
|
125
|
-
"
|
125
|
+
"bottomLeft",
|
126
126
|
"left"
|
127
127
|
]
|
128
128
|
}
|
129
129
|
}
|
130
130
|
],
|
131
|
-
visibleIf: (
|
132
|
-
var
|
133
|
-
return (
|
131
|
+
visibleIf: ({ options: r }) => {
|
132
|
+
var e;
|
133
|
+
return (e = r == null ? void 0 : r.display) == null ? void 0 : e.legend;
|
134
134
|
}
|
135
135
|
}
|
136
136
|
];
|
137
137
|
export {
|
138
|
-
|
138
|
+
t as default
|
139
139
|
};
|
@@ -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 l = {
|
21
21
|
name: "Tekst",
|
22
22
|
groups: {
|
23
23
|
display: {
|
@@ -34,5 +34,5 @@ const e = {
|
|
34
34
|
}
|
35
35
|
};
|
36
36
|
export {
|
37
|
-
|
37
|
+
l as default
|
38
38
|
};
|