@luzmo/analytics-components-kit 1.0.1-alpha.94 → 1.0.1-alpha.97
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/angular/README.md +1 -1
- package/angular/components/viz-item-menu.component.ts +25 -0
- package/angular/esm/components/viz-item-menu.component.d.ts +13 -0
- package/angular/esm/components/viz-item-menu.component.js +49 -0
- package/angular/esm/index.d.ts +3 -3
- package/angular/esm/index.js +3 -3
- package/angular/esm/types.d.ts +2 -2
- package/angular/index.ts +3 -3
- package/angular/types.ts +2 -2
- package/components/ai-chat-message-assistant/index.cjs +1 -1
- package/components/ai-chat-message-assistant/index.js +0 -1
- package/components/ai-chat-messages-container/index.cjs +1 -1
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -2
- package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
- package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
- package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
- package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
- package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
- package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
- package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
- package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
- package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
- package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
- package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
- package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
- package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
- package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
- package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
- package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
- package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
- package/components/color-Czp4Im5q.cjs +20 -0
- package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
- package/components/color-range-utils-DYYR-iwx.cjs +20 -0
- package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
- package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
- package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
- package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
- package/components/dataset-icon/index.cjs +1 -1
- package/components/dataset-icon/index.js +1 -2
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +32 -35
- package/components/dataset-selector-row/index.cjs +9 -9
- package/components/dataset-selector-row/index.js +50 -52
- package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
- package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
- package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
- package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +29 -30
- package/components/display-settings-datetime/index.cjs +29 -29
- package/components/display-settings-datetime/index.js +112 -120
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +23 -24
- package/components/display-settings-numeric/display-settings-numeric.d.ts +1 -2
- package/components/display-settings-numeric/index.cjs +49 -48
- package/components/display-settings-numeric/index.js +193 -218
- package/components/display-settings-period-over-period/index.cjs +16 -16
- package/components/display-settings-period-over-period/index.js +91 -97
- package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
- package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
- package/components/draggable-data-item/index.cjs +5 -5
- package/components/draggable-data-item/index.js +45 -46
- package/components/draggable-data-item-level/index.cjs +11 -11
- package/components/draggable-data-item-level/index.js +70 -73
- package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
- package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
- package/components/droppable-slot/index.cjs +16 -16
- package/components/droppable-slot/index.js +208 -223
- package/components/edit-item/index.cjs +9 -9
- package/components/edit-item/index.js +116 -119
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +8 -8
- package/components/edit-option-action-button-group/index.js +52 -53
- package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
- package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +1 -1
- package/components/edit-option-color-range/index.cjs +19 -19
- package/components/edit-option-color-range/index.js +106 -117
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +26 -27
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +5 -5
- package/components/edit-option-picker/index.js +7 -7
- package/components/edit-option-position-picker/index.cjs +4 -4
- package/components/edit-option-position-picker/index.js +21 -25
- package/components/edit-option-positions-number-field/index.cjs +9 -9
- package/components/edit-option-positions-number-field/index.js +76 -81
- package/components/edit-option-radio-button-group/index.cjs +6 -6
- package/components/edit-option-radio-button-group/index.js +21 -22
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +22 -23
- package/components/en-D3ihEGXg.js +1483 -0
- package/components/en-DZcn_iz_.cjs +20 -0
- package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
- package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
- package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
- package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
- package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
- package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +7 -7
- package/components/filter-data-item-picker/index.js +85 -86
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +6 -6
- package/components/filter-item/index.js +109 -119
- package/components/filter-value-picker/index.cjs +2 -2
- package/components/filter-value-picker/index.js +34 -36
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +56 -71
- package/components/filter-value-picker-hierarchy/index.cjs +12 -12
- package/components/filter-value-picker-hierarchy/index.js +113 -124
- package/components/filter-value-picker-numeric/index.cjs +8 -8
- package/components/filter-value-picker-numeric/index.js +101 -110
- package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
- package/components/focusable-QLh-LlNt.cjs +20 -0
- package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
- package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
- package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-Bb7TxJdX.js} +37 -37
- package/components/get-css-variable-Pzks_rOx.cjs +24 -0
- package/components/grid/index.cjs +43 -49
- package/components/grid/index.js +2610 -1878
- package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
- package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
- package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
- package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
- package/components/helpers-9I0oLoUB.cjs +20 -0
- package/components/helpers-bR8Ibjqh.js +79 -0
- package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
- package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
- package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
- package/components/index-BekTY3Em.cjs +121 -0
- package/components/index-CFL6gmIu.cjs +20 -0
- package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
- package/components/index-DNPULp4A.js +1755 -0
- package/components/{index-D0GBF6tg.js → index-DdyZ2g5L.js} +94 -104
- package/components/index-DvkzMbLt.cjs +249 -0
- package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
- package/components/index.cjs +1 -1
- package/components/index.js +13 -13
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +37 -37
- package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
- package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
- package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
- package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
- package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
- package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
- package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
- package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
- package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
- package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
- package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
- package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
- package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
- package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
- package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
- package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
- package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
- package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
- package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
- package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
- package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
- package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
- package/components/{set-locale-Dp3N_gXN.js → set-locale-hKTMz37h.js} +1 -8
- package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
- package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
- package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
- package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +33 -33
- package/components/slot-contents-picker/index.js +194 -205
- package/components/slot-menu/index.cjs +12 -12
- package/components/slot-menu/index.js +171 -184
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +97 -103
- package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
- package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
- package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
- package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
- package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
- package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
- package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
- package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
- package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
- package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +94 -97
- package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
- package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
- package/components/viz-item-menu/index.cjs +51 -0
- package/components/viz-item-menu/index.d.ts +8 -0
- package/components/viz-item-menu/index.js +209 -0
- package/components/viz-item-menu/viz-item-menu.d.ts +77 -0
- package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
- package/custom-elements.json +43 -23
- package/index.d.ts +1 -1
- package/package.json +7 -7
- package/types.d.ts +2 -2
- package/angular/components/widget-menu.component.ts +0 -25
- package/angular/esm/components/widget-menu.component.d.ts +0 -13
- package/angular/esm/components/widget-menu.component.js +0 -49
- package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
- package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
- package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
- package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
- package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
- package/components/color-B6LaL8qz.cjs +0 -20
- package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
- package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
- package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
- package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
- package/components/en-BKBhKBXY.cjs +0 -20
- package/components/en-BOTjhwEc.js +0 -1488
- package/components/focusable-B3E_hQmm.cjs +0 -20
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
- package/components/get-css-variable-BEYG097C.js +0 -1446
- package/components/get-css-variable-BZxY4IOa.cjs +0 -35
- package/components/get-css-variable-DLiZYZEi.cjs +0 -24
- package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
- package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
- package/components/helpers-DXQwEH1P.cjs +0 -20
- package/components/helpers-v1bPALRP.js +0 -91
- package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
- package/components/index-CDi4fe3N.js +0 -1716
- package/components/index-CQ9ck-BO.cjs +0 -249
- package/components/index-CXn67vdn.cjs +0 -121
- package/components/index-Cz9vSXy6.cjs +0 -20
- package/components/index-Dn0j_pcR.cjs +0 -20
- package/components/index-E239Dotg.js +0 -1735
- package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
- package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
- package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
- package/components/route-map-options.config-D7NJePTu.cjs +0 -20
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
- package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
- package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
- package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
- package/components/widget-menu/index.cjs +0 -51
- package/components/widget-menu/index.d.ts +0 -8
- package/components/widget-menu/index.js +0 -211
- package/components/widget-menu/widget-menu.d.ts +0 -77
package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js}
RENAMED
|
@@ -17,20 +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
|
|
21
|
-
const
|
|
22
|
-
var a, i, r, t;
|
|
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;
|
|
24
|
-
}, y = ({ slots: e }) => {
|
|
25
|
-
var a, i, r, t;
|
|
26
|
-
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 : !0;
|
|
27
|
-
}, m = ({ slots: e }) => {
|
|
28
|
-
var a, i, r;
|
|
29
|
-
return Array.isArray(e) && ((r = (i = (a = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.name) === "x-axis")) == null ? void 0 : a.content) == null ? void 0 : i[0]) == null ? void 0 : r.type) === "datetime";
|
|
30
|
-
}, f = ({ options: e, slots: a }) => {
|
|
31
|
-
var i, r, t, n;
|
|
32
|
-
return Array.isArray(a) && ((t = (r = (i = a == null ? void 0 : a.find((o) => (o == null ? void 0 : o.name) === "x-axis")) == null ? void 0 : i.content) == null ? void 0 : r[0]) == null ? void 0 : t.type) === "datetime" && ((n = e == null ? void 0 : e.missingValue) == null ? void 0 : n.type) === "manual";
|
|
33
|
-
}, b = [
|
|
20
|
+
import { g as l, a as i, b as o, c as r } from "./helpers-bR8Ibjqh.js";
|
|
21
|
+
const n = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "legend")?.content?.length > 0 || e?.find((t) => t?.name === "measure")?.content?.length > 1 : !1, c = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? !(e?.find((t) => t?.name === "legend")?.content?.length > 0) && e?.find((t) => t?.name === "measure")?.content?.length <= 1 : !0, s = ({ slots: e }) => Array.isArray(e) && e?.find((t) => t?.name === "x-axis")?.content?.[0]?.type === "datetime", p = ({ options: e, slots: t }) => Array.isArray(t) && t?.find((a) => a?.name === "x-axis")?.content?.[0]?.type === "datetime" && e?.missingValue?.type === "manual", d = [
|
|
34
22
|
{
|
|
35
23
|
key: "general",
|
|
36
24
|
type: "group",
|
|
@@ -55,7 +43,7 @@ const l = ({ slots: e }) => {
|
|
|
55
43
|
default: "stacked",
|
|
56
44
|
enum: ["100", "unstacked", "stacked", "stream"]
|
|
57
45
|
},
|
|
58
|
-
visibleIf:
|
|
46
|
+
visibleIf: n
|
|
59
47
|
},
|
|
60
48
|
{
|
|
61
49
|
key: "interpolation",
|
|
@@ -73,7 +61,7 @@ const l = ({ slots: e }) => {
|
|
|
73
61
|
type: "switch",
|
|
74
62
|
default: !0
|
|
75
63
|
},
|
|
76
|
-
visibleIf:
|
|
64
|
+
visibleIf: n
|
|
77
65
|
},
|
|
78
66
|
{
|
|
79
67
|
key: "display.modeOption",
|
|
@@ -82,7 +70,7 @@ const l = ({ slots: e }) => {
|
|
|
82
70
|
type: "switch",
|
|
83
71
|
default: !0
|
|
84
72
|
},
|
|
85
|
-
visibleIf:
|
|
73
|
+
visibleIf: n
|
|
86
74
|
},
|
|
87
75
|
{
|
|
88
76
|
key: "missingValue.type",
|
|
@@ -92,7 +80,7 @@ const l = ({ slots: e }) => {
|
|
|
92
80
|
default: "no",
|
|
93
81
|
enum: ["no", "break", "manual"]
|
|
94
82
|
},
|
|
95
|
-
visibleIf:
|
|
83
|
+
visibleIf: s
|
|
96
84
|
},
|
|
97
85
|
{
|
|
98
86
|
key: "missingValue.value",
|
|
@@ -102,19 +90,19 @@ const l = ({ slots: e }) => {
|
|
|
102
90
|
default: "no",
|
|
103
91
|
min: 1
|
|
104
92
|
},
|
|
105
|
-
visibleIf:
|
|
93
|
+
visibleIf: p
|
|
106
94
|
},
|
|
107
95
|
{
|
|
108
96
|
key: "color",
|
|
109
97
|
control: {
|
|
110
98
|
label: "Area color",
|
|
111
99
|
type: "color-picker",
|
|
112
|
-
default: ({ theme: e }) =>
|
|
113
|
-
extraLabel: ({ options: e, theme:
|
|
114
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
115
|
-
extraLabelClickAction: ({ options: e, theme:
|
|
100
|
+
default: ({ theme: e }) => r(e),
|
|
101
|
+
extraLabel: ({ options: e, theme: t }) => o(e, t, "color"),
|
|
102
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => i(e, t, "color"),
|
|
103
|
+
extraLabelClickAction: ({ options: e, theme: t }) => l(e, t, "color")
|
|
116
104
|
},
|
|
117
|
-
visibleIf:
|
|
105
|
+
visibleIf: c
|
|
118
106
|
}
|
|
119
107
|
]
|
|
120
108
|
},
|
|
@@ -142,9 +130,9 @@ const l = ({ slots: e }) => {
|
|
|
142
130
|
}
|
|
143
131
|
}
|
|
144
132
|
],
|
|
145
|
-
visibleIf:
|
|
133
|
+
visibleIf: n
|
|
146
134
|
}
|
|
147
135
|
];
|
|
148
136
|
export {
|
|
149
|
-
|
|
137
|
+
d as default
|
|
150
138
|
};
|
|
@@ -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 n=require("./helpers-9I0oLoUB.cjs"),r=({slots:e})=>Array.isArray(e)&&e?.length>0?e?.find(t=>t?.name==="legend")?.content?.length>0||e?.find(t=>t?.name==="measure")?.content?.length>1:!1,o=({slots:e})=>Array.isArray(e)&&e?.length>0?e?.find(t=>t?.name==="legend")?.content?.length===0&&e?.find(t=>t?.name==="measure")?.content?.length<=1:!0,i=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:r},{type:"divider",visibleIf:r},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:r},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:r},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","absolute","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:o},{key:"bars.roundedCorners",control:{type:"slider",default:({theme:e})=>e?.itemSpecific?.rounding,min:0,max:20,step:1,extraLabel:({options:e,theme:t})=>{if(typeof t?.itemSpecific?.rounding=="number")return typeof e?.bars?.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:t})=>!(typeof t?.itemSpecific?.rounding!="number"||typeof e?.bars?.roundedCorners!="number"),extraLabelClickAction:({options:e})=>{const t={...e};return delete t?.bars?.roundedCorners,{value:null,options:t}}}},{key:"color",control:{type:"color-picker",label:"Bar color",default:({theme:e})=>n.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>n.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>n.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>n.getThemeMainColorExtraLabelClickAction(e,t,"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:r}];exports.default=i;
|
package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js}
RENAMED
|
@@ -17,14 +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
|
|
21
|
-
const
|
|
22
|
-
var r, a, t, i;
|
|
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;
|
|
24
|
-
}, o = ({ slots: e }) => {
|
|
25
|
-
var r, a, t, i;
|
|
26
|
-
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 : !0;
|
|
27
|
-
}, g = [
|
|
20
|
+
import { g as o, a as i, b as a, c as l } from "./helpers-bR8Ibjqh.js";
|
|
21
|
+
const r = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "legend")?.content?.length > 0 || e?.find((t) => t?.name === "measure")?.content?.length > 1 : !1, n = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "legend")?.content?.length === 0 && e?.find((t) => t?.name === "measure")?.content?.length <= 1 : !0, u = [
|
|
28
22
|
{
|
|
29
23
|
key: "general",
|
|
30
24
|
type: "group",
|
|
@@ -37,11 +31,11 @@ const l = ({ slots: e }) => {
|
|
|
37
31
|
default: "grouped",
|
|
38
32
|
enum: ["grouped", "stacked", "100"]
|
|
39
33
|
},
|
|
40
|
-
visibleIf:
|
|
34
|
+
visibleIf: r
|
|
41
35
|
},
|
|
42
36
|
{
|
|
43
37
|
type: "divider",
|
|
44
|
-
visibleIf:
|
|
38
|
+
visibleIf: r
|
|
45
39
|
},
|
|
46
40
|
{
|
|
47
41
|
key: "display.title",
|
|
@@ -56,7 +50,7 @@ const l = ({ slots: e }) => {
|
|
|
56
50
|
type: "switch",
|
|
57
51
|
default: !0
|
|
58
52
|
},
|
|
59
|
-
visibleIf:
|
|
53
|
+
visibleIf: r
|
|
60
54
|
},
|
|
61
55
|
{
|
|
62
56
|
key: "display.modeOption",
|
|
@@ -64,7 +58,7 @@ const l = ({ slots: e }) => {
|
|
|
64
58
|
type: "switch",
|
|
65
59
|
default: !1
|
|
66
60
|
},
|
|
67
|
-
visibleIf:
|
|
61
|
+
visibleIf: r
|
|
68
62
|
},
|
|
69
63
|
{
|
|
70
64
|
key: "bars.label",
|
|
@@ -87,32 +81,24 @@ const l = ({ slots: e }) => {
|
|
|
87
81
|
type: "switch",
|
|
88
82
|
default: !1
|
|
89
83
|
},
|
|
90
|
-
visibleIf:
|
|
84
|
+
visibleIf: n
|
|
91
85
|
},
|
|
92
86
|
{
|
|
93
87
|
key: "bars.roundedCorners",
|
|
94
88
|
control: {
|
|
95
89
|
type: "slider",
|
|
96
|
-
default: ({ theme: e }) =>
|
|
97
|
-
var r;
|
|
98
|
-
return (r = e == null ? void 0 : e.itemSpecific) == null ? void 0 : r.rounding;
|
|
99
|
-
},
|
|
90
|
+
default: ({ theme: e }) => e?.itemSpecific?.rounding,
|
|
100
91
|
min: 0,
|
|
101
92
|
max: 20,
|
|
102
93
|
step: 1,
|
|
103
|
-
extraLabel: ({ options: e, theme:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
return typeof ((t = e == null ? void 0 : e.bars) == null ? void 0 : t.roundedCorners) != "number" ? "auto" : "reset";
|
|
107
|
-
},
|
|
108
|
-
extraLabelHasClickAction: ({ options: e, theme: r }) => {
|
|
109
|
-
var a, t;
|
|
110
|
-
return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) != "number" || typeof ((t = e == null ? void 0 : e.bars) == null ? void 0 : t.roundedCorners) != "number");
|
|
94
|
+
extraLabel: ({ options: e, theme: t }) => {
|
|
95
|
+
if (typeof t?.itemSpecific?.rounding == "number")
|
|
96
|
+
return typeof e?.bars?.roundedCorners != "number" ? "auto" : "reset";
|
|
111
97
|
},
|
|
98
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.rounding != "number" || typeof e?.bars?.roundedCorners != "number"),
|
|
112
99
|
extraLabelClickAction: ({ options: e }) => {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
return (a = r == null ? void 0 : r.bars) == null || delete a.roundedCorners, { value: null, options: r };
|
|
100
|
+
const t = { ...e };
|
|
101
|
+
return delete t?.bars?.roundedCorners, { value: null, options: t };
|
|
116
102
|
}
|
|
117
103
|
}
|
|
118
104
|
},
|
|
@@ -121,12 +107,12 @@ const l = ({ slots: e }) => {
|
|
|
121
107
|
control: {
|
|
122
108
|
type: "color-picker",
|
|
123
109
|
label: "Bar color",
|
|
124
|
-
default: ({ theme: e }) =>
|
|
125
|
-
extraLabel: ({ options: e, theme:
|
|
126
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
127
|
-
extraLabelClickAction: ({ options: e, theme:
|
|
110
|
+
default: ({ theme: e }) => l(e),
|
|
111
|
+
extraLabel: ({ options: e, theme: t }) => a(e, t, "color"),
|
|
112
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => i(e, t, "color"),
|
|
113
|
+
extraLabelClickAction: ({ options: e, theme: t }) => o(e, t, "color")
|
|
128
114
|
},
|
|
129
|
-
visibleIf:
|
|
115
|
+
visibleIf: n
|
|
130
116
|
}
|
|
131
117
|
]
|
|
132
118
|
},
|
|
@@ -154,9 +140,9 @@ const l = ({ slots: e }) => {
|
|
|
154
140
|
}
|
|
155
141
|
}
|
|
156
142
|
],
|
|
157
|
-
visibleIf:
|
|
143
|
+
visibleIf: r
|
|
158
144
|
}
|
|
159
145
|
];
|
|
160
146
|
export {
|
|
161
|
-
|
|
147
|
+
u as default
|
|
162
148
|
};
|
|
@@ -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 a=require("./color-palettes-DhNHcib8.cjs"),t=require("./helpers-9I0oLoUB.cjs"),r=({options:e})=>e?.observations?.display===!0,i=[{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:o})=>t.getThemeMainColorResetLabel(e,o,"boxFill"),extraLabelHasClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelHasClickAction(e,o,"boxFill"),extraLabelClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelClickAction(e,o,"boxFill")}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:({theme:e})=>e?.itemSpecific?.rounding??8,min:0,max:24,step:1,extraLabel:({options:e,theme:o})=>{if(typeof o?.itemSpecific?.rounding=="number")return typeof e?.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:o})=>!(typeof o?.itemSpecific?.rounding!="number"||typeof e?.roundedCorners!="number"),extraLabelClickAction:({options:e})=>{const o={...e};return o?.roundedCorners!==void 0&&delete o.roundedCorners,{value:null,options:o}}}},{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:o})=>t.getThemeMainColorResetLabel(e,o,"boxStrokeColor"),extraLabelHasClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelHasClickAction(e,o,"boxStrokeColor"),extraLabelClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelClickAction(e,o,"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:r},{key:"observations.type",control:{type:"picker",label:"Type",default:"dot",enum:["dot","ticks"]},visibleIf:r},{key:"observations.size",control:{type:"slider",label:"Size",default:3,min:1,max:10,step:1},visibleIf:r},{key:"observations.opacity",control:{type:"slider",label:"Opacity",default:.4,min:.1,max:1,step:.1},visibleIf:r},{key:"observations.jitter",control:{type:"slider",label:"Jitter",default:30,min:1,max:100,step:1},visibleIf:r},{key:"observations.colorType",control:{type:"picker",label:"Color mode",default:"single",enum:["single","range"]},visibleIf:r},{key:"observations.color",control:{type:"color-picker",label:"Color",default:({theme:e})=>e?.colors?.[1],extraLabel:({options:e,theme:o})=>{if(o?.colors?.[1]&&e.observations?.color&&e.observations?.color!==o?.colors?.[1])return"reset"},extraLabelHasClickAction:({options:e,theme:o})=>!!(o?.colors?.[1]&&e.observations?.color!==o?.colors?.[1]),extraLabelClickAction:({options:e,theme:o})=>{const l={...e};return l.observations.color=o?.colors?.[1],{value:l.observations.color,options:l}}},visibleIf:({options:e})=>r({options:e})&&e?.observations?.colorType==="single"},{key:"observations.colorsType",control:{type:"picker",label:"Colors type",default:"divergent",enum:["sequential","divergent"],calculateValue:({options:e})=>e?.observations?.colorsClass==="manual"?"manual":a.getColorMaps()?.[e?.observations?.colorsClass]?.type??"divergent",toOptions:({options:e,value:o})=>{if(o==="manual")return{...e,observations:{...e.observations,colorsType:"manual",colorsClass:"manual"}};let l=e.observations?.colorClass;const s=a.getColorMaps()?.[e?.observations?.colorsClass]?.type;return o!==s&&(l=a.getColorMapKeys(o??"divergent")[0]),{...e,observations:{...e.observations,colorsClass:l,colorsType:o}}}},visibleIf:({options:e})=>r({options:e})&&e?.observations?.colorType==="range"},{key:"observations.colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{const l=a.getColorMaps()?.[e?.observations?.colorsClass]?.type;return a.getColorMapKeys(l??"divergent")[0]},enum:({options:e})=>{const l=a.getColorMaps()?.[e?.observations?.colorsClass]?.type;return a.getColorMapKeys(l??"divergent")}},visibleIf:({options:e})=>r({options:e})&&e?.observations?.colorType==="range"&&e?.observations?.colorsClass!=="manual"}]}];exports.default=i;
|
package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js}
RENAMED
|
@@ -17,12 +17,9 @@
|
|
|
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
|
|
21
|
-
import { g as
|
|
22
|
-
const
|
|
23
|
-
var r;
|
|
24
|
-
return ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.display) === !0;
|
|
25
|
-
}, C = [
|
|
20
|
+
import { g as t, a } from "./color-palettes-BqH2Fv19.js";
|
|
21
|
+
import { g as s, a as i, b as n, c } from "./helpers-bR8Ibjqh.js";
|
|
22
|
+
const l = ({ options: e }) => e?.observations?.display === !0, d = [
|
|
26
23
|
{
|
|
27
24
|
key: "general",
|
|
28
25
|
type: "group",
|
|
@@ -78,14 +75,14 @@ const t = ({ options: e }) => {
|
|
|
78
75
|
control: {
|
|
79
76
|
type: "color-picker",
|
|
80
77
|
label: "Box fill",
|
|
81
|
-
default: ({ theme: e }) =>
|
|
82
|
-
extraLabel: ({ options: e, theme:
|
|
83
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
78
|
+
default: ({ theme: e }) => c(e),
|
|
79
|
+
extraLabel: ({ options: e, theme: o }) => n(e, o, "boxFill"),
|
|
80
|
+
extraLabelHasClickAction: ({ options: e, theme: o }) => i(
|
|
84
81
|
e,
|
|
85
|
-
|
|
82
|
+
o,
|
|
86
83
|
"boxFill"
|
|
87
84
|
),
|
|
88
|
-
extraLabelClickAction: ({ options: e, theme:
|
|
85
|
+
extraLabelClickAction: ({ options: e, theme: o }) => s(e, o, "boxFill")
|
|
89
86
|
}
|
|
90
87
|
},
|
|
91
88
|
{
|
|
@@ -93,25 +90,18 @@ const t = ({ options: e }) => {
|
|
|
93
90
|
control: {
|
|
94
91
|
type: "slider",
|
|
95
92
|
label: "Rounded corners",
|
|
96
|
-
default: ({ theme: e }) =>
|
|
97
|
-
var r;
|
|
98
|
-
return ((r = e == null ? void 0 : e.itemSpecific) == null ? void 0 : r.rounding) ?? 8;
|
|
99
|
-
},
|
|
93
|
+
default: ({ theme: e }) => e?.itemSpecific?.rounding ?? 8,
|
|
100
94
|
min: 0,
|
|
101
95
|
max: 24,
|
|
102
96
|
step: 1,
|
|
103
|
-
extraLabel: ({ options: e, theme:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
|
|
107
|
-
},
|
|
108
|
-
extraLabelHasClickAction: ({ options: e, theme: r }) => {
|
|
109
|
-
var l;
|
|
110
|
-
return !(typeof ((l = r == null ? void 0 : r.itemSpecific) == null ? void 0 : l.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
|
|
97
|
+
extraLabel: ({ options: e, theme: o }) => {
|
|
98
|
+
if (typeof o?.itemSpecific?.rounding == "number")
|
|
99
|
+
return typeof e?.roundedCorners != "number" ? "auto" : "reset";
|
|
111
100
|
},
|
|
101
|
+
extraLabelHasClickAction: ({ options: e, theme: o }) => !(typeof o?.itemSpecific?.rounding != "number" || typeof e?.roundedCorners != "number"),
|
|
112
102
|
extraLabelClickAction: ({ options: e }) => {
|
|
113
|
-
const
|
|
114
|
-
return
|
|
103
|
+
const o = { ...e };
|
|
104
|
+
return o?.roundedCorners !== void 0 && delete o.roundedCorners, { value: null, options: o };
|
|
115
105
|
}
|
|
116
106
|
}
|
|
117
107
|
},
|
|
@@ -131,16 +121,16 @@ const t = ({ options: e }) => {
|
|
|
131
121
|
control: {
|
|
132
122
|
type: "color-picker",
|
|
133
123
|
label: "Box stroke color",
|
|
134
|
-
default: ({ theme: e }) =>
|
|
135
|
-
extraLabel: ({ options: e, theme:
|
|
136
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
124
|
+
default: ({ theme: e }) => c(e),
|
|
125
|
+
extraLabel: ({ options: e, theme: o }) => n(e, o, "boxStrokeColor"),
|
|
126
|
+
extraLabelHasClickAction: ({ options: e, theme: o }) => i(
|
|
137
127
|
e,
|
|
138
|
-
|
|
128
|
+
o,
|
|
139
129
|
"boxStrokeColor"
|
|
140
130
|
),
|
|
141
|
-
extraLabelClickAction: ({ options: e, theme:
|
|
131
|
+
extraLabelClickAction: ({ options: e, theme: o }) => s(
|
|
142
132
|
e,
|
|
143
|
-
|
|
133
|
+
o,
|
|
144
134
|
"boxStrokeColor"
|
|
145
135
|
)
|
|
146
136
|
}
|
|
@@ -186,7 +176,7 @@ const t = ({ options: e }) => {
|
|
|
186
176
|
label: "Only outliers",
|
|
187
177
|
default: !1
|
|
188
178
|
},
|
|
189
|
-
visibleIf:
|
|
179
|
+
visibleIf: l
|
|
190
180
|
},
|
|
191
181
|
{
|
|
192
182
|
key: "observations.type",
|
|
@@ -196,7 +186,7 @@ const t = ({ options: e }) => {
|
|
|
196
186
|
default: "dot",
|
|
197
187
|
enum: ["dot", "ticks"]
|
|
198
188
|
},
|
|
199
|
-
visibleIf:
|
|
189
|
+
visibleIf: l
|
|
200
190
|
},
|
|
201
191
|
{
|
|
202
192
|
key: "observations.size",
|
|
@@ -208,7 +198,7 @@ const t = ({ options: e }) => {
|
|
|
208
198
|
max: 10,
|
|
209
199
|
step: 1
|
|
210
200
|
},
|
|
211
|
-
visibleIf:
|
|
201
|
+
visibleIf: l
|
|
212
202
|
},
|
|
213
203
|
{
|
|
214
204
|
key: "observations.opacity",
|
|
@@ -220,7 +210,7 @@ const t = ({ options: e }) => {
|
|
|
220
210
|
max: 1,
|
|
221
211
|
step: 0.1
|
|
222
212
|
},
|
|
223
|
-
visibleIf:
|
|
213
|
+
visibleIf: l
|
|
224
214
|
},
|
|
225
215
|
{
|
|
226
216
|
key: "observations.jitter",
|
|
@@ -232,7 +222,7 @@ const t = ({ options: e }) => {
|
|
|
232
222
|
max: 100,
|
|
233
223
|
step: 1
|
|
234
224
|
},
|
|
235
|
-
visibleIf:
|
|
225
|
+
visibleIf: l
|
|
236
226
|
},
|
|
237
227
|
{
|
|
238
228
|
key: "observations.colorType",
|
|
@@ -242,39 +232,28 @@ const t = ({ options: e }) => {
|
|
|
242
232
|
default: "single",
|
|
243
233
|
enum: ["single", "range"]
|
|
244
234
|
},
|
|
245
|
-
visibleIf:
|
|
235
|
+
visibleIf: l
|
|
246
236
|
},
|
|
247
237
|
{
|
|
248
238
|
key: "observations.color",
|
|
249
239
|
control: {
|
|
250
240
|
type: "color-picker",
|
|
251
241
|
label: "Color",
|
|
252
|
-
default: ({ theme: e }) =>
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
},
|
|
256
|
-
extraLabel: ({ options: e, theme: r }) => {
|
|
257
|
-
var l, o, a, s;
|
|
258
|
-
if ((l = r == null ? void 0 : r.colors) != null && l[1] && ((o = e.observations) != null && o.color) && ((a = e.observations) == null ? void 0 : a.color) !== ((s = r == null ? void 0 : r.colors) == null ? void 0 : s[1]))
|
|
242
|
+
default: ({ theme: e }) => e?.colors?.[1],
|
|
243
|
+
extraLabel: ({ options: e, theme: o }) => {
|
|
244
|
+
if (o?.colors?.[1] && e.observations?.color && e.observations?.color !== o?.colors?.[1])
|
|
259
245
|
return "reset";
|
|
260
246
|
},
|
|
261
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
const l = { ...e };
|
|
268
|
-
return l.observations.color = (o = r == null ? void 0 : r.colors) == null ? void 0 : o[1], {
|
|
269
|
-
value: l.observations.color,
|
|
270
|
-
options: l
|
|
247
|
+
extraLabelHasClickAction: ({ options: e, theme: o }) => !!(o?.colors?.[1] && e.observations?.color !== o?.colors?.[1]),
|
|
248
|
+
extraLabelClickAction: ({ options: e, theme: o }) => {
|
|
249
|
+
const r = { ...e };
|
|
250
|
+
return r.observations.color = o?.colors?.[1], {
|
|
251
|
+
value: r.observations.color,
|
|
252
|
+
options: r
|
|
271
253
|
};
|
|
272
254
|
}
|
|
273
255
|
},
|
|
274
|
-
visibleIf: ({ options: e }) => {
|
|
275
|
-
var r;
|
|
276
|
-
return t({ options: e }) && ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.colorType) === "single";
|
|
277
|
-
}
|
|
256
|
+
visibleIf: ({ options: e }) => l({ options: e }) && e?.observations?.colorType === "single"
|
|
278
257
|
},
|
|
279
258
|
{
|
|
280
259
|
key: "observations.colorsType",
|
|
@@ -288,16 +267,9 @@ const t = ({ options: e }) => {
|
|
|
288
267
|
"divergent"
|
|
289
268
|
/* , 'manual' */
|
|
290
269
|
],
|
|
291
|
-
calculateValue: ({ options: e }) =>
|
|
292
|
-
|
|
293
|
-
if (
|
|
294
|
-
return "manual";
|
|
295
|
-
const r = i();
|
|
296
|
-
return ((s = r == null ? void 0 : r[(a = e == null ? void 0 : e.observations) == null ? void 0 : a.colorsClass]) == null ? void 0 : s.type) ?? "divergent";
|
|
297
|
-
},
|
|
298
|
-
toOptions: ({ options: e, value: r }) => {
|
|
299
|
-
var s, n, b;
|
|
300
|
-
if (r === "manual")
|
|
270
|
+
calculateValue: ({ options: e }) => e?.observations?.colorsClass === "manual" ? "manual" : t()?.[e?.observations?.colorsClass]?.type ?? "divergent",
|
|
271
|
+
toOptions: ({ options: e, value: o }) => {
|
|
272
|
+
if (o === "manual")
|
|
301
273
|
return {
|
|
302
274
|
...e,
|
|
303
275
|
observations: {
|
|
@@ -307,22 +279,19 @@ const t = ({ options: e }) => {
|
|
|
307
279
|
colorsClass: "manual"
|
|
308
280
|
}
|
|
309
281
|
};
|
|
310
|
-
let
|
|
311
|
-
const
|
|
312
|
-
return
|
|
282
|
+
let r = e.observations?.colorClass;
|
|
283
|
+
const b = t()?.[e?.observations?.colorsClass]?.type;
|
|
284
|
+
return o !== b && (r = a(o ?? "divergent")[0]), {
|
|
313
285
|
...e,
|
|
314
286
|
observations: {
|
|
315
287
|
...e.observations,
|
|
316
|
-
colorsClass:
|
|
317
|
-
colorsType:
|
|
288
|
+
colorsClass: r,
|
|
289
|
+
colorsType: o
|
|
318
290
|
}
|
|
319
291
|
};
|
|
320
292
|
}
|
|
321
293
|
},
|
|
322
|
-
visibleIf: ({ options: e }) => {
|
|
323
|
-
var r;
|
|
324
|
-
return t({ options: e }) && ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.colorType) === "range";
|
|
325
|
-
}
|
|
294
|
+
visibleIf: ({ options: e }) => l({ options: e }) && e?.observations?.colorType === "range"
|
|
326
295
|
},
|
|
327
296
|
/* TODO: need to be able to retrieve values from the boxplot
|
|
328
297
|
{
|
|
@@ -348,24 +317,19 @@ const t = ({ options: e }) => {
|
|
|
348
317
|
label: "Color palette",
|
|
349
318
|
hideLabel: !0,
|
|
350
319
|
default: ({ options: e }) => {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
return c(l ?? "divergent")[0];
|
|
320
|
+
const r = t()?.[e?.observations?.colorsClass]?.type;
|
|
321
|
+
return a(r ?? "divergent")[0];
|
|
354
322
|
},
|
|
355
323
|
enum: ({ options: e }) => {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
return c(l ?? "divergent");
|
|
324
|
+
const r = t()?.[e?.observations?.colorsClass]?.type;
|
|
325
|
+
return a(r ?? "divergent");
|
|
359
326
|
}
|
|
360
327
|
},
|
|
361
|
-
visibleIf: ({ options: e }) => {
|
|
362
|
-
var r, l;
|
|
363
|
-
return t({ options: e }) && ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.colorType) === "range" && ((l = e == null ? void 0 : e.observations) == null ? void 0 : l.colorsClass) !== "manual";
|
|
364
|
-
}
|
|
328
|
+
visibleIf: ({ options: e }) => l({ options: e }) && e?.observations?.colorType === "range" && e?.observations?.colorsClass !== "manual"
|
|
365
329
|
}
|
|
366
330
|
]
|
|
367
331
|
}
|
|
368
332
|
];
|
|
369
333
|
export {
|
|
370
|
-
|
|
334
|
+
d as default
|
|
371
335
|
};
|
|
@@ -17,14 +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
|
|
21
|
-
const o = ({ slots: e }) => {
|
|
22
|
-
var l, t;
|
|
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;
|
|
24
|
-
}, r = ({ slots: e }) => {
|
|
25
|
-
var l, t;
|
|
26
|
-
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) : !0;
|
|
27
|
-
}, g = [
|
|
20
|
+
import { g as a, a as r, b as i, c as n } from "./helpers-bR8Ibjqh.js";
|
|
21
|
+
const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "color")?.content?.length > 0 : !1, l = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? !(e?.find((t) => t?.name === "color")?.content?.length > 0) : !0, b = [
|
|
28
22
|
{
|
|
29
23
|
key: "general",
|
|
30
24
|
type: "group",
|
|
@@ -73,22 +67,19 @@ const o = ({ slots: e }) => {
|
|
|
73
67
|
label: "Bubble color by category",
|
|
74
68
|
default: !0
|
|
75
69
|
},
|
|
76
|
-
visibleIf:
|
|
70
|
+
visibleIf: l
|
|
77
71
|
},
|
|
78
72
|
{
|
|
79
73
|
key: "color",
|
|
80
74
|
control: {
|
|
81
75
|
type: "color-picker",
|
|
82
76
|
label: "Bubble color",
|
|
83
|
-
default: ({ theme: e }) =>
|
|
84
|
-
extraLabel: ({ options: e, theme:
|
|
85
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
86
|
-
extraLabelClickAction: ({ options: e, theme:
|
|
77
|
+
default: ({ theme: e }) => n(e),
|
|
78
|
+
extraLabel: ({ options: e, theme: t }) => i(e, t, "color"),
|
|
79
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => r(e, t, "color"),
|
|
80
|
+
extraLabelClickAction: ({ options: e, theme: t }) => a(e, t, "color")
|
|
87
81
|
},
|
|
88
|
-
visibleIf: ({ options: e, slots:
|
|
89
|
-
var t;
|
|
90
|
-
return ((t = e == null ? void 0 : e.categories) == null ? void 0 : t.colored) === !1 && r({ slots: l });
|
|
91
|
-
}
|
|
82
|
+
visibleIf: ({ options: e, slots: t }) => e?.categories?.colored === !1 && l({ slots: t })
|
|
92
83
|
}
|
|
93
84
|
]
|
|
94
85
|
},
|
|
@@ -120,5 +111,5 @@ const o = ({ slots: e }) => {
|
|
|
120
111
|
}
|
|
121
112
|
];
|
|
122
113
|
export {
|
|
123
|
-
|
|
114
|
+
b as default
|
|
124
115
|
};
|
|
@@ -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-9I0oLoUB.cjs"),o=({slots:e})=>Array.isArray(e)&&e?.length>0?e?.find(t=>t?.name==="color")?.content?.length>0:!1,r=({slots:e})=>Array.isArray(e)&&e?.length>0?!(e?.find(t=>t?.name==="color")?.content?.length>0):!0,a=[{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:o},{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:r},{key:"color",control:{type:"color-picker",label:"Bubble color",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>l.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>l.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>l.getThemeMainColorExtraLabelClickAction(e,t,"color")},visibleIf:({options:e,slots:t})=>e?.categories?.colored===!1&&r({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:o}];exports.default=a;
|
|
@@ -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-bR8Ibjqh.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-9I0oLoUB.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;
|