@luzmo/analytics-components-kit 1.0.1-alpha.84 → 1.0.1-alpha.85
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/components/droppable-slot.component.ts +2 -2
- package/angular/esm/components/droppable-slot.component.d.ts +2 -2
- package/angular/esm/types.d.ts +1 -1
- package/angular/types.ts +2 -2
- 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 +50 -0
- package/components/ai-interaction-textarea/index.d.ts +1 -1
- package/components/ai-interaction-textarea/index.js +152 -0
- 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-C8CbsMQf.js +139 -0
- package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-CX4VW9Km.cjs} +1 -1
- 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-selector-list/index.cjs +11 -11
- package/components/dataset-selector-list/index.js +65 -69
- package/components/dataset-selector-row/dataset-selector-row.d.ts +1 -0
- package/components/dataset-selector-row/index.cjs +79 -0
- package/components/dataset-selector-row/index.d.ts +1 -1
- package/components/dataset-selector-row/index.js +209 -0
- 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/index.cjs +48 -48
- package/components/display-settings-numeric/index.js +194 -211
- 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 +8 -8
- package/components/draggable-data-item/index.js +44 -45
- package/components/draggable-data-item-level/index.cjs +11 -11
- package/components/draggable-data-item-level/index.js +89 -92
- 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/droppable-slot.d.ts +2 -2
- package/components/droppable-slot/index.cjs +20 -20
- package/components/droppable-slot/index.js +167 -181
- 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--a5SfjnM.cjs +20 -0
- package/components/en-CtCctD2c.js +1483 -0
- package/components/{en-GB-DG6uS3sM.cjs → en-GB-CXVKFWyH.cjs} +1 -1
- package/components/{en-GB-CEHEs8F2.js → en-GB-CbNfyZMo.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-DLiZYZEi.cjs → get-css-variable-CuDaWSjr.cjs} +2 -2
- package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DEf4GhTH.js} +4 -4
- package/components/grid/index.cjs +46 -46
- package/components/grid/index.js +2612 -1873
- 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-Do7O9azB.js → index-3WsfvkZF.js} +112 -123
- package/components/{index-PMDgRSzR.js → index-BDFBUGBc.js} +94 -104
- package/components/index-BGb_wRRW.js +1766 -0
- package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
- package/components/index-BUal0r_D.cjs +121 -0
- package/components/index-D1Y5TRsH.cjs +20 -0
- package/components/index-DvkzMbLt.cjs +249 -0
- package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
- package/components/index.cjs +1 -60
- package/components/index.js +102 -281
- 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-B-Tz2sdI.js → set-locale-nv7fWEtl.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 +64 -65
- 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/{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 +22 -2
- package/index.d.ts +1 -0
- package/package.json +5 -5
- package/types.d.ts +1 -1
- 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-DZDqb3xu.js +0 -139
- 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/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-BPN3bG9X.js +0 -1733
- package/components/index-CQ9ck-BO.cjs +0 -249
- package/components/index-CXn67vdn.cjs +0 -121
- package/components/index-cfj52IbK.cjs +0 -20
- 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
|
@@ -17,10 +17,10 @@
|
|
|
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 { m as
|
|
22
|
-
import { t as
|
|
23
|
-
const
|
|
20
|
+
import { g as t, a as p } from "./color-palettes-BqH2Fv19.js";
|
|
21
|
+
import { m as d } from "./index-t45_zv93.js";
|
|
22
|
+
import { t as n, c as o, a as r } from "./color-range-utils-BSfqtB3A.js";
|
|
23
|
+
const V = [
|
|
24
24
|
{
|
|
25
25
|
key: "general",
|
|
26
26
|
type: "group",
|
|
@@ -110,8 +110,8 @@ const O = [
|
|
|
110
110
|
"Voyager",
|
|
111
111
|
"3D buildings"
|
|
112
112
|
],
|
|
113
|
-
parseValue: (e) =>
|
|
114
|
-
toValue: (e) =>
|
|
113
|
+
parseValue: (e) => e?.name || "Basic",
|
|
114
|
+
toValue: (e) => d[e] ?? {}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
]
|
|
@@ -139,39 +139,32 @@ const O = [
|
|
|
139
139
|
label: "Colors type",
|
|
140
140
|
default: "sequential",
|
|
141
141
|
enum: ["sequential", "divergent", "manual"],
|
|
142
|
-
calculateValue: ({ options: e }) =>
|
|
143
|
-
var r;
|
|
144
|
-
if ((e == null ? void 0 : e.colorsClass) === "manual")
|
|
145
|
-
return "manual";
|
|
146
|
-
const a = n();
|
|
147
|
-
return ((r = a == null ? void 0 : a[e == null ? void 0 : e.colorsClass]) == null ? void 0 : r.type) ?? "sequential";
|
|
148
|
-
},
|
|
142
|
+
calculateValue: ({ options: e }) => e?.colorsClass === "manual" ? "manual" : t()?.[e?.colorsClass]?.type ?? "sequential",
|
|
149
143
|
toOptions: ({ options: e, value: a }) => {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
let s;
|
|
144
|
+
const l = e?.colorsClass ?? "PuBu", s = e?.numberClasses ?? 5, u = n(
|
|
145
|
+
e?.manualValues?.ranges
|
|
146
|
+
), y = l === "manual" ? "manual" : l;
|
|
147
|
+
let c;
|
|
155
148
|
if (a === "manual")
|
|
156
|
-
|
|
149
|
+
c = "manual";
|
|
157
150
|
else {
|
|
158
|
-
const
|
|
159
|
-
a !==
|
|
151
|
+
const g = t()?.[e?.colorsClass]?.type;
|
|
152
|
+
a !== g && (c = p(a ?? "sequential")[0]);
|
|
160
153
|
}
|
|
161
|
-
const
|
|
162
|
-
if (a === "manual" ||
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
a === "manual" ?
|
|
154
|
+
const i = { ...e, colorsClass: c };
|
|
155
|
+
if (a === "manual" || e?.classification === "manual") {
|
|
156
|
+
const m = o(
|
|
157
|
+
s,
|
|
158
|
+
a === "manual" ? y : c,
|
|
166
159
|
u
|
|
167
160
|
);
|
|
168
|
-
|
|
169
|
-
...
|
|
170
|
-
ranges:
|
|
161
|
+
i.manualValues = {
|
|
162
|
+
...i.manualValues,
|
|
163
|
+
ranges: r(m)
|
|
171
164
|
};
|
|
172
165
|
} else
|
|
173
|
-
|
|
174
|
-
return
|
|
166
|
+
delete i?.manualValues?.ranges;
|
|
167
|
+
return i;
|
|
175
168
|
}
|
|
176
169
|
}
|
|
177
170
|
},
|
|
@@ -182,32 +175,29 @@ const O = [
|
|
|
182
175
|
label: "Color palette",
|
|
183
176
|
hideLabel: !0,
|
|
184
177
|
default: ({ options: e }) => {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
return b(l ?? "sequential")[0];
|
|
178
|
+
const l = t()?.[e?.colorsClass]?.type;
|
|
179
|
+
return p(l ?? "sequential")[0];
|
|
188
180
|
},
|
|
189
181
|
enum: ({ options: e }) => {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
return b(l ?? "sequential");
|
|
182
|
+
const l = t()?.[e?.colorsClass]?.type;
|
|
183
|
+
return p(l ?? "sequential");
|
|
193
184
|
},
|
|
194
185
|
toOptions: ({ options: e, value: a }) => {
|
|
195
|
-
var r, u;
|
|
196
186
|
const l = { ...e, colorsClass: a };
|
|
197
|
-
if (
|
|
198
|
-
const
|
|
187
|
+
if (e?.classification === "manual") {
|
|
188
|
+
const s = t()[a]?.[`colors${e?.numberClasses ?? 5}`];
|
|
199
189
|
l.manualValues = {
|
|
200
190
|
...l.manualValues,
|
|
201
|
-
ranges:
|
|
202
|
-
...
|
|
203
|
-
color:
|
|
191
|
+
ranges: e?.manualValues?.ranges.map((u) => ({
|
|
192
|
+
...u,
|
|
193
|
+
color: s?.[u.val]
|
|
204
194
|
}))
|
|
205
195
|
};
|
|
206
196
|
}
|
|
207
197
|
return l;
|
|
208
198
|
}
|
|
209
199
|
},
|
|
210
|
-
visibleIf: ({ options: e }) =>
|
|
200
|
+
visibleIf: ({ options: e }) => e?.colorsClass !== "manual"
|
|
211
201
|
},
|
|
212
202
|
{
|
|
213
203
|
key: "manualValues.ranges",
|
|
@@ -220,22 +210,19 @@ const O = [
|
|
|
220
210
|
label: "Manual range colors",
|
|
221
211
|
hideLabel: !0
|
|
222
212
|
},
|
|
223
|
-
calculateValue: ({ options: e }) =>
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
y((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.ranges)
|
|
229
|
-
);
|
|
230
|
-
},
|
|
213
|
+
calculateValue: ({ options: e }) => o(
|
|
214
|
+
e?.numberClasses,
|
|
215
|
+
e?.colorsClass,
|
|
216
|
+
n(e?.manualValues?.ranges)
|
|
217
|
+
),
|
|
231
218
|
toOptions: ({ options: e, value: a }) => ({
|
|
232
219
|
...e,
|
|
233
220
|
manualValues: {
|
|
234
221
|
...e.manualValues,
|
|
235
|
-
ranges:
|
|
222
|
+
ranges: r(a)
|
|
236
223
|
}
|
|
237
224
|
}),
|
|
238
|
-
visibleIf: ({ options: e }) =>
|
|
225
|
+
visibleIf: ({ options: e }) => e?.colorsClass === "manual"
|
|
239
226
|
}
|
|
240
227
|
]
|
|
241
228
|
},
|
|
@@ -251,20 +238,19 @@ const O = [
|
|
|
251
238
|
label: "Number of classes",
|
|
252
239
|
default: "5",
|
|
253
240
|
enum: ["3", "4", "5", "6", "7", "8", "9"],
|
|
254
|
-
parseValue: (e) =>
|
|
241
|
+
parseValue: (e) => e?.toString() ?? "5",
|
|
255
242
|
toOptions: ({ options: e, value: a }) => {
|
|
256
|
-
var r;
|
|
257
243
|
a = Number.parseInt(a, 10) ?? 5;
|
|
258
244
|
const l = { ...e, numberClasses: a };
|
|
259
|
-
if (
|
|
260
|
-
const
|
|
245
|
+
if (e?.classification === "manual" || e?.colorsClass === "manual") {
|
|
246
|
+
const s = o(
|
|
261
247
|
a,
|
|
262
|
-
e
|
|
263
|
-
|
|
248
|
+
e?.colorsClass,
|
|
249
|
+
n(e?.manualValues?.ranges)
|
|
264
250
|
);
|
|
265
251
|
l.manualValues = {
|
|
266
252
|
...l.manualValues,
|
|
267
|
-
ranges:
|
|
253
|
+
ranges: r(s)
|
|
268
254
|
};
|
|
269
255
|
}
|
|
270
256
|
return l;
|
|
@@ -280,20 +266,19 @@ const O = [
|
|
|
280
266
|
// TODO: add manual when being able to retrieve values from the choropleth map
|
|
281
267
|
enum: ["interval", "manual", "quantile", "continuous"],
|
|
282
268
|
toOptions: ({ options: e, value: a }) => {
|
|
283
|
-
var r, u;
|
|
284
269
|
const l = { ...e, classification: a };
|
|
285
|
-
if (a === "manual" ||
|
|
286
|
-
const
|
|
287
|
-
e
|
|
288
|
-
e
|
|
289
|
-
|
|
270
|
+
if (a === "manual" || e?.colorsClass === "manual") {
|
|
271
|
+
const s = o(
|
|
272
|
+
e?.numberClasses,
|
|
273
|
+
e?.colorsClass,
|
|
274
|
+
n(e?.manualValues?.ranges)
|
|
290
275
|
);
|
|
291
276
|
l.manualValues = {
|
|
292
277
|
...l.manualValues,
|
|
293
|
-
ranges:
|
|
278
|
+
ranges: r(s)
|
|
294
279
|
};
|
|
295
280
|
} else
|
|
296
|
-
|
|
281
|
+
delete l?.manualValues?.ranges;
|
|
297
282
|
return l;
|
|
298
283
|
}
|
|
299
284
|
}
|
|
@@ -308,23 +293,20 @@ const O = [
|
|
|
308
293
|
readOnlyColorPicker: !0,
|
|
309
294
|
label: "Manual range values",
|
|
310
295
|
hideLabel: !0,
|
|
311
|
-
calculateValue: ({ options: e }) =>
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
y((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.ranges)
|
|
317
|
-
);
|
|
318
|
-
},
|
|
296
|
+
calculateValue: ({ options: e }) => o(
|
|
297
|
+
e?.numberClasses,
|
|
298
|
+
e?.colorsClass,
|
|
299
|
+
n(e?.manualValues?.ranges)
|
|
300
|
+
),
|
|
319
301
|
toOptions: ({ options: e, value: a }) => ({
|
|
320
302
|
...e,
|
|
321
303
|
manualValues: {
|
|
322
304
|
...e.manualValues,
|
|
323
|
-
ranges:
|
|
305
|
+
ranges: r(a)
|
|
324
306
|
}
|
|
325
307
|
})
|
|
326
308
|
},
|
|
327
|
-
visibleIf: ({ options: e }) =>
|
|
309
|
+
visibleIf: ({ options: e }) => e?.classification === "manual"
|
|
328
310
|
}
|
|
329
311
|
]
|
|
330
312
|
},
|
|
@@ -370,12 +352,9 @@ const O = [
|
|
|
370
352
|
}
|
|
371
353
|
}
|
|
372
354
|
],
|
|
373
|
-
visibleIf: ({ options: e }) =>
|
|
374
|
-
var a;
|
|
375
|
-
return ((a = e == null ? void 0 : e.display) == null ? void 0 : a.legend) === !0;
|
|
376
|
-
}
|
|
355
|
+
visibleIf: ({ options: e }) => e?.display?.legend === !0
|
|
377
356
|
}
|
|
378
357
|
];
|
|
379
358
|
export {
|
|
380
|
-
|
|
359
|
+
V as default
|
|
381
360
|
};
|
|
@@ -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("./color-palettes-DhNHcib8.cjs"),g=require("./index-DhDgy1sp.cjs"),s=require("./color-range-utils-DYYR-iwx.cjs"),m=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0}}]},{key:"map",type:"group",open:!0,children:[{key:"enabled.zoom",control:{type:"switch",label:"Zoom",default:!0}},{key:"enabled.pan",control:{type:"switch",label:"Pan",default:!0}},{key:"enabled.pitchBearing",control:{type:"switch",label:"Pitch & Rotate",tooltip:"Use ctrl + drag",default:!1}},{type:"divider"},{key:"vectorTileProvider",control:{type:"picker",label:"Map style",default:"Basic",enum:["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets","Toner","Topographique","Voyager","3D buildings"],parseValue:e=>e?.name||"Basic",toValue:e=>g.mapVectorTileProviders[e]??{}}}]},{key:"colors",type:"group",open:!0,children:[{key:"opacity",control:{type:"slider",label:"Opacity",default:.85,min:.2,max:1,step:.01}},{key:"colorsClassType",control:{type:"picker",label:"Colors type",default:"sequential",enum:["sequential","divergent","manual"],calculateValue:({options:e})=>e?.colorsClass==="manual"?"manual":t.getColorMaps()?.[e?.colorsClass]?.type??"sequential",toOptions:({options:e,value:a})=>{const l=e?.colorsClass??"PuBu",n=e?.numberClasses??5,o=s.toRangesWithValue(e?.manualValues?.ranges),i=l==="manual"?"manual":l;let r;if(a==="manual")r="manual";else{const p=t.getColorMaps()?.[e?.colorsClass]?.type;a!==p&&(r=t.getColorMapKeys(a??"sequential")[0])}const u={...e,colorsClass:r};if(a==="manual"||e?.classification==="manual"){const c=s.calculateManualRanges(n,a==="manual"?i:r,o);u.manualValues={...u.manualValues,ranges:s.toRangesWithVal(c)}}else delete u?.manualValues?.ranges;return u}}},{key:"colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{const l=t.getColorMaps()?.[e?.colorsClass]?.type;return t.getColorMapKeys(l??"sequential")[0]},enum:({options:e})=>{const l=t.getColorMaps()?.[e?.colorsClass]?.type;return t.getColorMapKeys(l??"sequential")},toOptions:({options:e,value:a})=>{const l={...e,colorsClass:a};if(e?.classification==="manual"){const n=t.getColorMaps()[a]?.[`colors${e?.numberClasses??5}`];l.manualValues={...l.manualValues,ranges:e?.manualValues?.ranges.map(o=>({...o,color:n?.[o.val]}))}}return l}},visibleIf:({options:e})=>e?.colorsClass!=="manual"},{key:"manualValues.ranges",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!0,noAlphaChannel:!0,label:"Manual range colors",hideLabel:!0},calculateValue:({options:e})=>s.calculateManualRanges(e?.numberClasses,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges)),toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:s.toRangesWithVal(a)}}),visibleIf:({options:e})=>e?.colorsClass==="manual"}]},{key:"classification",type:"group",open:!0,children:[{key:"numberClasses",control:{type:"picker",label:"Number of classes",default:"5",enum:["3","4","5","6","7","8","9"],parseValue:e=>e?.toString()??"5",toOptions:({options:e,value:a})=>{a=Number.parseInt(a,10)??5;const l={...e,numberClasses:a};if(e?.classification==="manual"||e?.colorsClass==="manual"){const n=s.calculateManualRanges(a,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges));l.manualValues={...l.manualValues,ranges:s.toRangesWithVal(n)}}return l}}},{key:"classification",control:{type:"picker",label:"Method",default:"interval",enum:["interval","manual","quantile","continuous"],toOptions:({options:e,value:a})=>{const l={...e,classification:a};if(a==="manual"||e?.colorsClass==="manual"){const n=s.calculateManualRanges(e?.numberClasses,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges));l.manualValues={...l.manualValues,ranges:s.toRangesWithVal(n)}}else delete l?.manualValues?.ranges;return l}}},{key:"manualValues.rangesValues",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!1,readOnlyColorPicker:!0,label:"Manual range values",hideLabel:!0,calculateValue:({options:e})=>s.calculateManualRanges(e?.numberClasses,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges)),toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:s.toRangesWithVal(a)}})},visibleIf:({options:e})=>e?.classification==="manual"}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.type",control:{type:"picker",label:"Type",default:"bar",enum:["bar","list"]}},{key:"legend.size",control:{type:"radio-button-group",label:"Size",default:"M",enum:["S","M","L"]}},{key:"legend.position",control:{type:"position-picker",label:"Position",default:"bottomLeft",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:({options:e})=>e?.display?.legend===!0}];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 a=require("./helpers-9I0oLoUB.cjs"),t=()=>[{color:"#ff0000",value:0},{color:"#ffa500",value:33.34},{color:"#ffff00",value:66.67},{color:"#008000",value:100}],o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.gaugeValue",control:{type:"switch",label:"Value",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"display.gaugeLabel",control:{type:"switch",label:"Label",default:!0}},{type:"divider"},{key:"conditionalColor",control:{type:"switch",label:"Conditional color",default:!1,calculateValue:({options:e})=>e?.manualValues?.conditional?.length>0,toOptions:({options:e,value:l})=>{const r={...e},c=e?.manualValues?.conditional?.length>0;return l?c||(r.manualValues={...r?.manualValues,conditional:t()}):delete r?.manualValues?.conditional,r}}},{key:"circle.color",control:{type:"color-picker",label:"Arc color",default:({theme:e})=>a.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>a.getThemeMainColorResetLabel(e,l,"circle.color"),extraLabelHasClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelHasClickAction(e,l,"circle.color"),extraLabelClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelClickAction(e,l,"circle.color")},visibleIf:({options:e})=>!e?.manualValues?.conditional||e?.manualValues?.conditional?.length===0},{key:"manualValues.conditional",control:{type:"color-range",editRangeSize:!0,minimumRangeSize:2,percentage:!0,noAlphaChannel:!0,label:"Color ranges",hideLabel:!0,default:()=>t(),parseValue:e=>e?.map(l=>({color:l?.color,value:l?.value??l?.val})),toValue:e=>e?.map(r=>({color:r?.color,val:r?.value}))},visibleIf:({options:e})=>e?.manualValues?.conditional?.length>0},{key:"circle.width",control:{type:"slider",label:"Arc width",default:10,min:1,max:30,step:1}}]},{key:"layout",type:"group",open:!0,children:[{key:"circle.degrees",control:{type:"picker",label:"Arc size",default:"full circle",enum:["full circle","3/4 circle","2/3 circle","1/2 circle"],parseValue:e=>e===360?"full circle":e===270?"3/4 circle":e===240?"2/3 circle":e===180?"1/2 circle":"full circle",toValue:e=>e==="full circle"?360:e==="3/4 circle"?270:e==="2/3 circle"?240:e==="1/2 circle"?180:360}},{key:"circle.flip",control:{type:"switch",label:"Flip arc",default:!0},visibleIf:({options:e})=>e?.circle?.degrees&&e?.circle?.degrees!==360},{key:"circle.lineCap",control:{type:"switch",label:"Rounded ends",default:!0,parseValue:e=>e!=="butt",toValue:e=>e?"round":"butt"}}]}];exports.default=o;
|
|
@@ -17,13 +17,13 @@
|
|
|
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
|
|
20
|
+
import { g as c, a as o, b as i, c as n } from "./helpers-bR8Ibjqh.js";
|
|
21
|
+
const r = () => [
|
|
22
22
|
{ color: "#ff0000", value: 0 },
|
|
23
23
|
{ color: "#ffa500", value: 33.34 },
|
|
24
24
|
{ color: "#ffff00", value: 66.67 },
|
|
25
25
|
{ color: "#008000", value: 100 }
|
|
26
|
-
],
|
|
26
|
+
], s = [
|
|
27
27
|
{
|
|
28
28
|
key: "general",
|
|
29
29
|
type: "group",
|
|
@@ -71,17 +71,13 @@ const i = () => [
|
|
|
71
71
|
type: "switch",
|
|
72
72
|
label: "Conditional color",
|
|
73
73
|
default: !1,
|
|
74
|
-
calculateValue: ({ options: e }) =>
|
|
75
|
-
var l, r;
|
|
76
|
-
return ((r = (l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.conditional) == null ? void 0 : r.length) > 0;
|
|
77
|
-
},
|
|
74
|
+
calculateValue: ({ options: e }) => e?.manualValues?.conditional?.length > 0,
|
|
78
75
|
toOptions: ({ options: e, value: l }) => {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}) : (u = r == null ? void 0 : r.manualValues) == null || delete u.conditional, r;
|
|
76
|
+
const a = { ...e }, t = e?.manualValues?.conditional?.length > 0;
|
|
77
|
+
return l ? t || (a.manualValues = {
|
|
78
|
+
...a?.manualValues,
|
|
79
|
+
conditional: r()
|
|
80
|
+
}) : delete a?.manualValues?.conditional, a;
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
},
|
|
@@ -90,23 +86,20 @@ const i = () => [
|
|
|
90
86
|
control: {
|
|
91
87
|
type: "color-picker",
|
|
92
88
|
label: "Arc color",
|
|
93
|
-
default: ({ theme: e }) =>
|
|
94
|
-
extraLabel: ({ options: e, theme: l }) =>
|
|
89
|
+
default: ({ theme: e }) => n(e),
|
|
90
|
+
extraLabel: ({ options: e, theme: l }) => i(e, l, "circle.color"),
|
|
95
91
|
extraLabelHasClickAction: ({ options: e, theme: l }) => o(
|
|
96
92
|
e,
|
|
97
93
|
l,
|
|
98
94
|
"circle.color"
|
|
99
95
|
),
|
|
100
|
-
extraLabelClickAction: ({ options: e, theme: l }) =>
|
|
96
|
+
extraLabelClickAction: ({ options: e, theme: l }) => c(
|
|
101
97
|
e,
|
|
102
98
|
l,
|
|
103
99
|
"circle.color"
|
|
104
100
|
)
|
|
105
101
|
},
|
|
106
|
-
visibleIf: ({ options: e }) =>
|
|
107
|
-
var l, r, a;
|
|
108
|
-
return !((l = e == null ? void 0 : e.manualValues) != null && l.conditional) || ((a = (r = e == null ? void 0 : e.manualValues) == null ? void 0 : r.conditional) == null ? void 0 : a.length) === 0;
|
|
109
|
-
}
|
|
102
|
+
visibleIf: ({ options: e }) => !e?.manualValues?.conditional || e?.manualValues?.conditional?.length === 0
|
|
110
103
|
},
|
|
111
104
|
{
|
|
112
105
|
key: "manualValues.conditional",
|
|
@@ -118,20 +111,17 @@ const i = () => [
|
|
|
118
111
|
noAlphaChannel: !0,
|
|
119
112
|
label: "Color ranges",
|
|
120
113
|
hideLabel: !0,
|
|
121
|
-
default: () =>
|
|
122
|
-
parseValue: (e) => e
|
|
123
|
-
color: l
|
|
124
|
-
value:
|
|
114
|
+
default: () => r(),
|
|
115
|
+
parseValue: (e) => e?.map((l) => ({
|
|
116
|
+
color: l?.color,
|
|
117
|
+
value: l?.value ?? l?.val
|
|
125
118
|
})),
|
|
126
|
-
toValue: (e) => e
|
|
127
|
-
color:
|
|
128
|
-
val:
|
|
119
|
+
toValue: (e) => e?.map((a) => ({
|
|
120
|
+
color: a?.color,
|
|
121
|
+
val: a?.value
|
|
129
122
|
}))
|
|
130
123
|
},
|
|
131
|
-
visibleIf: ({ options: e }) =>
|
|
132
|
-
var l, r;
|
|
133
|
-
return ((r = (l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.conditional) == null ? void 0 : r.length) > 0;
|
|
134
|
-
}
|
|
124
|
+
visibleIf: ({ options: e }) => e?.manualValues?.conditional?.length > 0
|
|
135
125
|
},
|
|
136
126
|
{
|
|
137
127
|
key: "circle.width",
|
|
@@ -169,10 +159,7 @@ const i = () => [
|
|
|
169
159
|
label: "Flip arc",
|
|
170
160
|
default: !0
|
|
171
161
|
},
|
|
172
|
-
visibleIf: ({ options: e }) =>
|
|
173
|
-
var l, r;
|
|
174
|
-
return ((l = e == null ? void 0 : e.circle) == null ? void 0 : l.degrees) && ((r = e == null ? void 0 : e.circle) == null ? void 0 : r.degrees) !== 360;
|
|
175
|
-
}
|
|
162
|
+
visibleIf: ({ options: e }) => e?.circle?.degrees && e?.circle?.degrees !== 360
|
|
176
163
|
},
|
|
177
164
|
{
|
|
178
165
|
key: "circle.lineCap",
|
|
@@ -188,5 +175,5 @@ const i = () => [
|
|
|
188
175
|
}
|
|
189
176
|
];
|
|
190
177
|
export {
|
|
191
|
-
|
|
178
|
+
s as default
|
|
192
179
|
};
|