@luzmo/analytics-components-kit 1.0.1-alpha.10 → 1.0.1-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/area-chart.config-Ba68ZiSX.js +198 -0
- package/components/area-chart.config-Vo0u3UK8.cjs +20 -0
- package/components/{column-chart.config-C9hP0kX7.js → bar-chart.config-CF1i1Imw.js} +67 -39
- package/components/bar-chart.config-YLP38HOE.cjs +20 -0
- package/components/{bar-chart.en-FwT00qdU.js → bar-chart.en-Crc8tYUJ.js} +17 -0
- package/components/{donut-chart.en-Blb9oSdU.cjs → bar-chart.en-D1UfGsS3.cjs} +1 -1
- package/components/bar-chart.fr-BwiGRlQf.js +86 -0
- package/components/bar-chart.fr-CP7DTrlk.cjs +20 -0
- package/components/bar-chart.nl-C9EOP2kE.js +86 -0
- package/components/bar-chart.nl-Cxq8ID8c.cjs +20 -0
- package/components/{bar-chart.nl-ahX1ARpH.js → box-plot-slots.config-BRhnF2FE.js} +25 -21
- package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
- package/components/{textobject.config-C8opcGG4.js → bubble-chart-slots.config-Bbh94VgZ.js} +18 -24
- package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
- package/components/bubble-chart.config-1MrC55Nb.js +142 -0
- package/components/bubble-chart.config-bQBq1s3C.cjs +20 -0
- package/components/bullet-chart-slots.config-Ccv_dX0s.js +45 -0
- package/components/bullet-chart-slots.config-CiYsxviC.cjs +20 -0
- package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
- package/components/{bar-chart.nl-BYzVExsz.cjs → choropleth-map-slots.config-PNwSR0XY.cjs} +1 -1
- package/components/{donut-chart.nl-D9YGbOce.cjs → circle-pack-chart-slots.config-C-_ganmv.cjs} +1 -1
- package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
- package/components/circle-pack-chart.config-BOlrxRJA.cjs +20 -0
- package/components/circle-pack-chart.config-Bbm2bTgy.js +110 -0
- package/components/{donut-chart.fr-BeTVa2wh.cjs → circular-gauge-slots.config-Cd-nkNPm.cjs} +1 -1
- package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
- package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
- package/components/column-chart-slots.config-DAdAk17k.js +47 -0
- package/components/{bar-chart.config-CQ6HAvs2.js → column-chart.config-BT1QH4BI.js} +64 -37
- package/components/column-chart.config-CppyNukh.cjs +20 -0
- package/components/column-chart.en-Crc8tYUJ.js +86 -0
- package/components/{bar-chart.en-BqYbiHO3.cjs → column-chart.en-D1UfGsS3.cjs} +1 -1
- package/components/column-chart.fr-BwiGRlQf.js +86 -0
- package/components/column-chart.fr-CP7DTrlk.cjs +20 -0
- package/components/column-chart.nl-C9EOP2kE.js +86 -0
- package/components/column-chart.nl-Cxq8ID8c.cjs +20 -0
- package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
- package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
- package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
- package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
- package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
- package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
- package/components/display-settings-datetime/index.cjs +209 -1
- package/components/display-settings-datetime/index.js +518 -6
- package/components/donut-chart.config-B_38UAqp.cjs +20 -0
- package/components/{donut-chart.config-3DhKiSSM.js → donut-chart.config-DuJFyp4z.js} +4 -2
- package/components/{donut-chart.en-CzjT4-XN.js → donut-chart.en-CrUf4CJ9.js} +14 -0
- package/components/donut-chart.en-DHCYs2el.cjs +20 -0
- package/components/donut-chart.fr-C33dLw52.cjs +20 -0
- package/components/donut-chart.fr-DVfZwZny.js +99 -0
- package/components/donut-chart.nl-B13jr7SK.js +99 -0
- package/components/donut-chart.nl-CHAnU1xZ.cjs +20 -0
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +1 -1
- package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
- package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
- package/components/dropdown-filter.config-BPBxTuLQ.cjs +20 -0
- package/components/dropdown-filter.config-Drv-A4zw.js +163 -0
- package/components/droppable-slot/index.cjs +12 -12
- package/components/droppable-slot/index.js +126 -85
- package/components/droppable-slot/item-slots-configs/box-plot-slots.config.d.ts +26 -0
- package/components/droppable-slot/item-slots-configs/bubble-chart-slots.config.d.ts +30 -0
- package/components/droppable-slot/item-slots-configs/bullet-chart-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/choropleth-map-slots.config.d.ts +29 -0
- package/components/droppable-slot/item-slots-configs/circle-pack-chart-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/circular-gauge-slots.config.d.ts +16 -0
- package/components/droppable-slot/item-slots-configs/column-chart-slots.config.d.ts +24 -0
- package/components/droppable-slot/item-slots-configs/combination-chart-slots.config.d.ts +30 -0
- package/components/droppable-slot/item-slots-configs/conditional-number-slots.config.d.ts +16 -0
- package/components/droppable-slot/item-slots-configs/date-filter-slots.config.d.ts +10 -0
- package/components/droppable-slot/item-slots-configs/dropdown-filter-slots.config.d.ts +23 -0
- package/components/droppable-slot/item-slots-configs/evolution-number-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/funnel-chart-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/heat-map-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/heat-table-slots.config.d.ts +20 -0
- package/components/droppable-slot/item-slots-configs/hexbin-map-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/image-slots.config.d.ts +2 -0
- package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
- package/components/droppable-slot/item-slots-configs/line-chart-slots.config.d.ts +44 -0
- package/components/droppable-slot/item-slots-configs/marker-map-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/ohlc-chart-slots.config.d.ts +21 -0
- package/components/droppable-slot/item-slots-configs/parallel-coordinates-plot-slots.config.d.ts +23 -0
- package/components/droppable-slot/item-slots-configs/pivot-table-slots.config.d.ts +21 -0
- package/components/droppable-slot/item-slots-configs/pyramid-chart-slots.config.d.ts +33 -0
- package/components/droppable-slot/item-slots-configs/radar-chart-slots.config.d.ts +33 -0
- package/components/droppable-slot/item-slots-configs/regular-table-slots.config.d.ts +13 -0
- package/components/droppable-slot/item-slots-configs/route-map-slots.config.d.ts +28 -0
- package/components/droppable-slot/item-slots-configs/sankey-diagram-slots.config.d.ts +33 -0
- package/components/droppable-slot/item-slots-configs/scatter-plot-slots.config.d.ts +50 -0
- package/components/droppable-slot/item-slots-configs/search-filter-slots.config.d.ts +24 -0
- package/components/droppable-slot/item-slots-configs/slicer-filter-slots.config.d.ts +23 -0
- package/components/droppable-slot/item-slots-configs/slider-filter-slots.config.d.ts +13 -0
- package/components/droppable-slot/item-slots-configs/speedometer-chart-slots.config.d.ts +16 -0
- package/components/droppable-slot/item-slots-configs/spike-map-slots.config.d.ts +31 -0
- package/components/droppable-slot/item-slots-configs/strip-plot-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/sunburst-chart-slots.config.d.ts +22 -0
- package/components/droppable-slot/item-slots-configs/symbol-map-slots.config.d.ts +31 -0
- package/components/droppable-slot/item-slots-configs/text-slots.config.d.ts +2 -0
- package/components/droppable-slot/item-slots-configs/treemap-chart-slots.config.d.ts +30 -0
- package/components/droppable-slot/item-slots-configs/venn-diagram-slots.config.d.ts +18 -0
- package/components/droppable-slot/item-slots-configs/video-slots.config.d.ts +2 -0
- package/components/droppable-slot/item-slots-configs/wordcloud-chart-slots.config.d.ts +23 -0
- package/components/edit-item/index.cjs +16 -18
- package/components/edit-item/index.js +195 -164
- package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
- package/components/edit-option/index.cjs +135 -116
- package/components/edit-option/index.js +352 -280
- package/components/edit-option/item-configs/area-chart.config.d.ts +146 -0
- package/components/edit-option/item-configs/bar-chart.config.d.ts +23 -2
- package/components/edit-option/item-configs/bubble-chart.config.d.ts +90 -0
- package/components/edit-option/item-configs/circle-pack-chart.config.d.ts +35 -0
- package/components/edit-option/item-configs/column-chart.config.d.ts +17 -2
- package/components/edit-option/item-configs/donut-chart.config.d.ts +4 -0
- package/components/edit-option/item-configs/dropdown-filter.config.d.ts +74 -0
- package/components/edit-option/item-configs/imageobject.config.d.ts +1 -3
- package/components/edit-option/item-configs/line-chart.config.d.ts +52 -2
- package/components/edit-option/item-configs/ohlc-chart.config.d.ts +37 -0
- package/components/edit-option/item-configs/radar-chart.config.d.ts +122 -0
- package/components/edit-option/item-configs/sankey-diagram.config.d.ts +46 -0
- package/components/edit-option/item-configs/search-filter.config.d.ts +40 -0
- package/components/edit-option/item-configs/slicer-filter.config.d.ts +136 -0
- package/components/edit-option/item-configs/slider-filter.config.d.ts +45 -0
- package/components/edit-option/item-configs/spacer.config.d.ts +2 -0
- package/components/edit-option/item-configs/sunburst-chart.config.d.ts +51 -0
- package/components/edit-option/item-configs/textobject.config.d.ts +34 -2
- package/components/edit-option/item-configs/treemap-chart.config.d.ts +103 -0
- package/components/edit-option/item-configs/videoobject.config.d.ts +90 -0
- package/components/edit-option/item-configs/wordcloud-chart.config.d.ts +46 -0
- package/components/edit-option/item-translations/bar-chart.en.d.ts +17 -0
- package/components/edit-option/item-translations/bar-chart.fr.d.ts +47 -5
- package/components/edit-option/item-translations/bar-chart.nl.d.ts +47 -5
- package/components/edit-option/item-translations/column-chart.en.d.ts +65 -0
- package/components/edit-option/item-translations/column-chart.fr.d.ts +65 -0
- package/components/edit-option/item-translations/column-chart.nl.d.ts +65 -0
- package/components/edit-option/item-translations/donut-chart.en.d.ts +14 -0
- package/components/edit-option/item-translations/donut-chart.fr.d.ts +62 -2
- package/components/edit-option/item-translations/donut-chart.nl.d.ts +62 -2
- package/components/edit-option/item-translations/imageobject.en.d.ts +71 -0
- package/components/edit-option/item-translations/imageobject.fr.d.ts +71 -0
- package/components/edit-option/item-translations/imageobject.nl.d.ts +71 -0
- package/components/edit-option/item-translations/textobject.en.d.ts +17 -0
- package/components/edit-option/item-translations/textobject.fr.d.ts +17 -0
- package/components/edit-option/item-translations/textobject.nl.d.ts +17 -0
- package/components/edit-option-action-button-group/index.cjs +12 -5
- package/components/edit-option-action-button-group/index.js +26 -19
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -0
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +32 -22
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
- package/components/edit-option-position-picker/index.cjs +25 -0
- package/components/edit-option-position-picker/index.d.ts +7 -0
- package/components/edit-option-position-picker/index.js +110 -0
- package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +11 -9
- package/components/edit-option-positions-number-field/index.cjs +12 -12
- package/components/edit-option-positions-number-field/index.js +84 -75
- package/components/{en-GB-DX5un7Gr.js → en-GB-BtLbN8o_.js} +1 -1
- package/components/en-GB-Dd11ROdW.cjs +20 -0
- package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
- package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
- package/components/formatter-CQDms6fU.js +1478 -0
- package/components/formatter-DiJYkB6b.cjs +20 -0
- package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
- package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
- package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
- package/components/heat-table-slots.config-DJkP72oT.js +48 -0
- package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
- package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
- package/components/image-slots.config-IpwUxDyU.js +23 -0
- package/components/{en-GB-Bz4u7Uqv.cjs → image-slots.config-mPXMR1CE.cjs} +1 -1
- package/components/{imageobject.config-DZLp9Elq.js → imageobject.config-CBfeq5Zw.js} +2 -2
- package/components/{imageobject.config-B7ld9bj3.cjs → imageobject.config-Dqhc2c3b.cjs} +1 -1
- package/components/imageobject.en-BMmV-4O-.js +92 -0
- package/components/imageobject.en-DflcU_2H.cjs +20 -0
- package/components/imageobject.fr-DRE3zImB.js +92 -0
- package/components/imageobject.fr-ycH7UoX5.cjs +20 -0
- package/components/imageobject.nl-D20hki6i.js +92 -0
- package/components/imageobject.nl-DQL45o0j.cjs +20 -0
- package/components/index-DXyAeBh6.cjs +20 -0
- package/components/index-Di00QW2f.js +113 -0
- package/components/index.cjs +1 -1
- package/components/index.js +35 -25
- package/components/item-list.cjs +20 -0
- package/components/item-list.js +423 -0
- package/components/item-menu/item-list/item-list.d.ts +35 -0
- package/components/item-slots-configs.cjs +20 -0
- package/components/item-slots-configs.js +109 -0
- package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
- package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
- package/components/line-chart.config-BB_thZtA.js +179 -0
- package/components/line-chart.config-i2233s5F.cjs +20 -0
- package/components/{localize-B6AsX_Zv.js → localize-BX7q0S0M.js} +16 -16
- package/components/localize-r7ALOUy_.cjs +20 -0
- package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
- package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
- package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
- package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
- package/components/ohlc-chart.config-BLlRV_bs.cjs +20 -0
- package/components/ohlc-chart.config-D9npwajt.js +75 -0
- package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
- package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
- package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
- package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
- package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
- package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
- package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
- package/components/radar-chart.config-DPPlIptA.cjs +20 -0
- package/components/radar-chart.config-DfID1TZ-.js +164 -0
- package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
- package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
- package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
- package/components/route-map-slots.config-DYCcaQZi.js +53 -0
- package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
- package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
- package/components/sankey-diagram.config-BVjCEw5M.js +138 -0
- package/components/sankey-diagram.config-CG5S1OI3.cjs +20 -0
- package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
- package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
- package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
- package/components/search-filter-slots.config-DmiVXOva.js +47 -0
- package/components/search-filter.config-C9CoGS9f.cjs +20 -0
- package/components/search-filter.config-baX2Vdul.js +111 -0
- package/components/{bar-chart.fr-DbxKiM0j.js → slicer-filter-slots.config-CHQ0ZXga.js} +21 -20
- package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
- package/components/slicer-filter.config-A3YK_KZn.js +211 -0
- package/components/slicer-filter.config-DQunaj8q.cjs +20 -0
- package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
- package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
- package/components/slider-filter.config-C-zvfTNl.js +98 -0
- package/components/slider-filter.config-DF_sAElS.cjs +20 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/spacer.config-Br2Dm5Uv.js +23 -0
- package/components/spacer.config-mPXMR1CE.cjs +20 -0
- package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
- package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
- package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
- package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
- package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
- package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
- package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
- package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
- package/components/sunburst-chart.config-CEfAd1RQ.cjs +20 -0
- package/components/sunburst-chart.config-VZqDthcz.js +139 -0
- package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
- package/components/{bar-chart.fr-DGx9smEh.cjs → symbol-map-slots.config-DtW-3xkd.cjs} +1 -1
- package/components/text-slots.config-BMBEkf0O.cjs +20 -0
- package/components/text-slots.config-Hy5yNIAX.js +23 -0
- package/components/{textobject.config-DbAajFz8.cjs → textobject.config-BFB3rEmt.cjs} +1 -1
- package/components/textobject.config-DTDqt0ci.js +73 -0
- package/components/textobject.en-BQqHFc7M.js +38 -0
- package/components/textobject.en-LfsMtwo6.cjs +20 -0
- package/components/textobject.fr-B8x29grG.cjs +20 -0
- package/components/{donut-chart.nl-NMatXfhK.js → textobject.fr-VPJ3bDOM.js} +11 -12
- package/components/textobject.nl-DzglrI3i.cjs +20 -0
- package/components/{donut-chart.fr-DftPrKbG.js → textobject.nl-V03mmGmH.js} +11 -12
- package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
- package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
- package/components/treemap-chart.config-BalwwrhW.js +214 -0
- package/components/treemap-chart.config-D6H5Hf2B.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +71 -1
- package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
- package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
- package/components/video-slots.config-IpwUxDyU.js +23 -0
- package/components/video-slots.config-mPXMR1CE.cjs +20 -0
- package/components/videoobject.config-BBDHSf6_.cjs +20 -0
- package/components/videoobject.config-CbtNZAEK.js +135 -0
- package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
- package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
- package/components/wordcloud-chart.config-BLvcDvxT.cjs +20 -0
- package/components/wordcloud-chart.config-CQs8YFfd.js +89 -0
- package/custom-elements.json +3426 -1767
- package/index.d.ts +2 -0
- package/package.json +16 -1
- package/utils/index.d.ts +4 -1
- package/utils/switch-item/index.d.ts +18 -0
- package/components/bar-chart.config-B57geUzJ.cjs +0 -20
- package/components/column-chart.config-B57geUzJ.cjs +0 -20
- package/components/donut-chart.config-DLWJUlHx.cjs +0 -20
- package/components/en-BByOeNuP.js +0 -1989
- package/components/en-BFGuvaVG.cjs +0 -228
- package/components/line-chart.config-BZcvfO2c.cjs +0 -20
- package/components/line-chart.config-CIVN6uLI.js +0 -115
- package/components/localize-DbobqcKs.cjs +0 -20
- package/generated/locales/de.d.ts +0 -82
- package/generated/locales/es.d.ts +0 -82
- package/generated/locales/fr.d.ts +0 -82
- package/generated/locales/nl.d.ts +0 -82
@@ -17,37 +17,37 @@
|
|
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 { h as
|
21
|
-
import { x as
|
22
|
-
import { o as
|
23
|
-
const
|
20
|
+
import { h as F } from "../task-Cr9aRIbV.js";
|
21
|
+
import { x as V, k as G, a as N, n as _ } from "../property-B2F7x7Cz.js";
|
22
|
+
import { o as R } from "../if-defined-Bv6MRdSW.js";
|
23
|
+
const B = () => {
|
24
24
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
25
25
|
const o = document.createElement("style");
|
26
26
|
o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
|
27
27
|
}
|
28
28
|
};
|
29
|
-
|
30
|
-
const
|
31
|
-
var i, c,
|
29
|
+
B();
|
30
|
+
const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-font-family));font-size:var(--luzmo-edit-option-font-size, var(--luzmo-font-size))}:host([size=s]){font-size:var(--luzmo-edit-option-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-option-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-option-font-size-xl, var(--luzmo-font-size-xl))}", w = (o) => {
|
31
|
+
var i, c, d, r, k, I, $, m, b, z, a, p, s, u, f;
|
32
32
|
let t;
|
33
33
|
typeof ((i = o.controlInfo) == null ? void 0 : i.extraLabel) == "function" ? t = o.controlInfo.extraLabel(
|
34
34
|
o.options,
|
35
35
|
o.slots,
|
36
36
|
o.theme
|
37
|
-
) : typeof ((c = o.controlInfo) == null ? void 0 : c.extraLabel) == "string" && (t = o.controlInfo.extraLabel), typeof t == "string" && (t = ((
|
37
|
+
) : typeof ((c = o.controlInfo) == null ? void 0 : c.extraLabel) == "string" && (t = o.controlInfo.extraLabel), typeof t == "string" && (t = ((I = (k = (r = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : r[o.optionKey]) == null ? void 0 : k.extraLabel) == null ? void 0 : I[t]) ?? t);
|
38
38
|
let l;
|
39
|
-
typeof ((
|
39
|
+
typeof (($ = o.controlInfo) == null ? void 0 : $.extraLabelTooltip) == "function" ? t = o.controlInfo.extraLabelTooltip(
|
40
40
|
o.options,
|
41
41
|
o.slots,
|
42
42
|
o.theme
|
43
|
-
) : typeof ((
|
43
|
+
) : typeof ((m = o.controlInfo) == null ? void 0 : m.extraLabelTooltip) == "string" && (l = o.controlInfo.extraLabelTooltip), typeof l == "string" && (t = ((p = (a = (z = (b = o.translations) == null ? void 0 : b.options) == null ? void 0 : z[o.optionKey]) == null ? void 0 : a.extraLabelTooltip) == null ? void 0 : p[l]) ?? l);
|
44
44
|
let n;
|
45
|
-
typeof ((
|
45
|
+
typeof ((s = o.controlInfo) == null ? void 0 : s.extraLabelHasClickAction) == "function" ? n = o.controlInfo.extraLabelHasClickAction(
|
46
46
|
o.options,
|
47
47
|
o.slots,
|
48
48
|
o.theme
|
49
|
-
) : typeof ((
|
50
|
-
const e = typeof ((
|
49
|
+
) : typeof ((u = o.controlInfo) == null ? void 0 : u.extraLabelHasClickAction) == "boolean" && (n = o.controlInfo.extraLabelHasClickAction);
|
50
|
+
const e = typeof ((f = o.controlInfo) == null ? void 0 : f.extraLabelClickAction) == "function" ? () => o.controlInfo.extraLabelClickAction(
|
51
51
|
o.options,
|
52
52
|
o.slots,
|
53
53
|
o.theme
|
@@ -59,7 +59,7 @@ const N = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
59
59
|
extraLabelHasClickAction: n,
|
60
60
|
extraLabelClickAction: e
|
61
61
|
};
|
62
|
-
},
|
62
|
+
}, T = (o, t) => {
|
63
63
|
if (t.includes(".")) {
|
64
64
|
const l = t.split(".");
|
65
65
|
let n = o;
|
@@ -69,7 +69,7 @@ const N = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
69
69
|
return n[l[e]];
|
70
70
|
}
|
71
71
|
return o[t];
|
72
|
-
},
|
72
|
+
}, H = (o) => (t) => {
|
73
73
|
const l = { ...o.options };
|
74
74
|
if (o.optionKey.includes(".")) {
|
75
75
|
const n = o.optionKey.split(".");
|
@@ -81,130 +81,144 @@ const N = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
81
81
|
} else
|
82
82
|
l[o.optionKey] = t.detail.value;
|
83
83
|
return o.changeCallback(l);
|
84
|
-
},
|
85
|
-
var b,
|
86
|
-
const t = ((
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
84
|
+
}, q = (o) => {
|
85
|
+
var $, m, b, z, a, p, s, u, f, x, h, y, L;
|
86
|
+
const t = ((b = (m = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : b.label) ?? ((z = o.controlInfo) == null ? void 0 : z.label) ?? o.optionKey ?? "", l = o.size, n = {};
|
87
|
+
Object.keys((a = o.controlInfo) == null ? void 0 : a.values).forEach((v) => {
|
88
|
+
var C, O, K, A, E, S;
|
89
|
+
n[v] = {
|
90
|
+
...(C = o.controlInfo) == null ? void 0 : C.values[v],
|
91
|
+
label: ((E = (A = (K = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : K[o.optionKey]) == null ? void 0 : A.enum) == null ? void 0 : E[v]) ?? ((S = o.controlInfo) == null ? void 0 : S.values[v].label)
|
92
|
+
};
|
93
|
+
});
|
94
|
+
const e = ((u = (s = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : u.tooltip) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip), i = T(o.options, o.optionKey), {
|
95
|
+
extraLabel: c,
|
96
|
+
extraLabelTooltip: d,
|
97
|
+
extraLabelHasClickAction: r,
|
98
|
+
extraLabelClickAction: k
|
99
|
+
} = w(o), I = H(o);
|
100
|
+
return V`
|
93
101
|
<luzmo-edit-option-action-button-group
|
94
102
|
.label=${t}
|
95
|
-
.value=${
|
96
|
-
.values=${
|
97
|
-
.default=${(
|
98
|
-
.selects=${(
|
103
|
+
.value=${i}
|
104
|
+
.values=${n}
|
105
|
+
.default=${(x = o.controlInfo) == null ? void 0 : x.default}
|
106
|
+
.selects=${(h = o.controlInfo) == null ? void 0 : h.selects}
|
99
107
|
.size=${l}
|
100
|
-
.
|
101
|
-
.
|
102
|
-
.
|
103
|
-
|
104
|
-
@
|
105
|
-
|
106
|
-
.
|
108
|
+
.tooltip=${e}
|
109
|
+
.extraLabel=${c}
|
110
|
+
.extraLabelTooltip=${d}
|
111
|
+
.extraLabelHasClickAction=${r}
|
112
|
+
@extraLabelClick=${k}
|
113
|
+
@option-changed=${I}
|
114
|
+
.fromOptionValue=${(y = o.controlInfo) == null ? void 0 : y.fromOptionValue}
|
115
|
+
.toOptionValue=${(L = o.controlInfo) == null ? void 0 : L.toOptionValue}
|
107
116
|
></luzmo-edit-option-action-button-group>
|
108
117
|
`;
|
109
|
-
},
|
110
|
-
var m, p, s, f,
|
111
|
-
const t = ((
|
112
|
-
let
|
113
|
-
typeof ((
|
118
|
+
}, D = (o) => {
|
119
|
+
var m, b, z, a, p, s, u, f, x, h, y, L;
|
120
|
+
const t = ((z = (b = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : z.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", l = T(o.options, o.optionKey), n = o.size, e = ((u = (s = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : u.tooltip) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip);
|
121
|
+
let i;
|
122
|
+
typeof ((x = o.controlInfo) == null ? void 0 : x.default) == "function" ? i = o.controlInfo.default(
|
114
123
|
o.options,
|
115
124
|
o.slots,
|
116
125
|
o.theme
|
117
|
-
) : typeof ((
|
126
|
+
) : typeof ((h = o.controlInfo) == null ? void 0 : h.default) == "string" && (i = o.controlInfo.default);
|
118
127
|
const {
|
119
|
-
extraLabel:
|
120
|
-
extraLabelTooltip:
|
121
|
-
extraLabelHasClickAction:
|
122
|
-
extraLabelClickAction:
|
123
|
-
} =
|
124
|
-
return
|
128
|
+
extraLabel: c,
|
129
|
+
extraLabelTooltip: d,
|
130
|
+
extraLabelHasClickAction: r,
|
131
|
+
extraLabelClickAction: k
|
132
|
+
} = w(o), I = H(o);
|
133
|
+
return V`
|
125
134
|
<luzmo-edit-option-color-picker
|
126
|
-
.value=${l ??
|
135
|
+
.value=${l ?? i}
|
127
136
|
.label=${t}
|
128
137
|
.size=${n}
|
129
|
-
.
|
130
|
-
.
|
131
|
-
.
|
138
|
+
.tooltip=${e}
|
139
|
+
.extraLabel=${c}
|
140
|
+
.extraLabelTooltip=${d}
|
141
|
+
.extraLabelHasClickAction=${r}
|
132
142
|
@extraLabelClick=${() => {
|
133
|
-
if (typeof
|
134
|
-
const { options:
|
135
|
-
return o.changeCallback(
|
143
|
+
if (typeof k == "function") {
|
144
|
+
const { options: v } = k();
|
145
|
+
return o.changeCallback(v);
|
136
146
|
}
|
137
147
|
}}
|
138
|
-
@option-changed=${
|
139
|
-
.fromOptionValue=${(
|
140
|
-
.toOptionValue=${(
|
148
|
+
@option-changed=${I}
|
149
|
+
.fromOptionValue=${(y = o.controlInfo) == null ? void 0 : y.fromOptionValue}
|
150
|
+
.toOptionValue=${(L = o.controlInfo) == null ? void 0 : L.toOptionValue}
|
141
151
|
></luzmo-edit-option-color-picker>
|
142
152
|
`;
|
143
|
-
},
|
144
|
-
var m, p, s, f,
|
145
|
-
const t = ((
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
153
|
+
}, J = (o) => {
|
154
|
+
var m, b, z, a, p, s, u, f, x, h, y, L, v, C;
|
155
|
+
const t = ((z = (b = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : z.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", l = T(o.options, o.optionKey) ?? {}, n = ((u = (s = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : u.tooltip) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip), e = o.language ?? "en", i = {};
|
156
|
+
i[e] = ((y = (h = (x = o.translations) == null ? void 0 : x.options) == null ? void 0 : h[o.optionKey]) == null ? void 0 : y.placeholder) ?? ((L = o.controlInfo) == null ? void 0 : L.placeholder) ?? "";
|
157
|
+
const c = o.size, {
|
158
|
+
extraLabel: d,
|
159
|
+
extraLabelTooltip: r,
|
160
|
+
extraLabelHasClickAction: k,
|
161
|
+
extraLabelClickAction: I
|
162
|
+
} = w(o), $ = H(o);
|
163
|
+
return V`
|
152
164
|
<luzmo-edit-option-multi-language-field
|
153
165
|
.label=${t}
|
154
|
-
.placeholder=${
|
155
|
-
.value=${
|
156
|
-
language=${
|
157
|
-
.size=${
|
158
|
-
.
|
159
|
-
.
|
160
|
-
.
|
161
|
-
|
162
|
-
@
|
163
|
-
|
164
|
-
.
|
166
|
+
.placeholder=${i}
|
167
|
+
.value=${l}
|
168
|
+
language=${R(e)}
|
169
|
+
.size=${c}
|
170
|
+
.tooltip=${n}
|
171
|
+
.extraLabel=${d}
|
172
|
+
.extraLabelTooltip=${r}
|
173
|
+
.extraLabelHasClickAction=${k}
|
174
|
+
@extraLabelClick=${I}
|
175
|
+
@option-changed=${$}
|
176
|
+
.fromOptionValue=${(v = o.controlInfo) == null ? void 0 : v.fromOptionValue}
|
177
|
+
.toOptionValue=${(C = o.controlInfo) == null ? void 0 : C.toOptionValue}
|
165
178
|
></luzmo-edit-option-multi-language-field>
|
166
179
|
`;
|
167
|
-
},
|
168
|
-
var
|
169
|
-
const t = ((
|
170
|
-
extraLabel:
|
171
|
-
extraLabelTooltip:
|
172
|
-
extraLabelHasClickAction:
|
180
|
+
}, Q = (o) => {
|
181
|
+
var z, a, p, s, u, f, x, h, y, L, v, C, O, K;
|
182
|
+
const t = ((p = (a = (z = o.translations) == null ? void 0 : z.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : p.label) ?? ((s = o.controlInfo) == null ? void 0 : s.label) ?? o.optionKey ?? "", l = (u = o.controlInfo) == null ? void 0 : u.min, n = (f = o.controlInfo) == null ? void 0 : f.max, e = (x = o.controlInfo) == null ? void 0 : x.step, i = T(o.options, o.optionKey), c = ((L = (y = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : y[o.optionKey]) == null ? void 0 : L.tooltip) ?? ((v = o.controlInfo) == null ? void 0 : v.tooltip), d = (C = o.controlInfo) == null ? void 0 : C.default, r = o.size, {
|
183
|
+
extraLabel: k,
|
184
|
+
extraLabelTooltip: I,
|
185
|
+
extraLabelHasClickAction: $,
|
173
186
|
extraLabelClickAction: m
|
174
|
-
} =
|
175
|
-
return
|
187
|
+
} = w(o), b = H(o);
|
188
|
+
return V`
|
176
189
|
<luzmo-edit-option-number-field
|
177
190
|
.value=${i}
|
178
|
-
.default=${
|
191
|
+
.default=${d}
|
179
192
|
.min=${l}
|
180
193
|
.max=${n}
|
181
194
|
.step=${e}
|
182
195
|
.label=${t}
|
183
|
-
.size=${
|
184
|
-
.
|
185
|
-
.
|
186
|
-
.
|
196
|
+
.size=${r}
|
197
|
+
.tooltip=${c}
|
198
|
+
.extraLabel=${k}
|
199
|
+
.extraLabelTooltip=${I}
|
200
|
+
.extraLabelHasClickAction=${$}
|
187
201
|
@extraLabelClick=${m}
|
188
|
-
@option-changed=${
|
189
|
-
.fromOptionValue=${(
|
190
|
-
.toOptionValue=${(
|
202
|
+
@option-changed=${b}
|
203
|
+
.fromOptionValue=${(O = o.controlInfo) == null ? void 0 : O.fromOptionValue}
|
204
|
+
.toOptionValue=${(K = o.controlInfo) == null ? void 0 : K.toOptionValue}
|
191
205
|
></luzmo-edit-option-number-field>
|
192
206
|
`;
|
193
|
-
},
|
194
|
-
var p, s,
|
195
|
-
const t = ((
|
196
|
-
(
|
197
|
-
var
|
198
|
-
return
|
207
|
+
}, W = (o) => {
|
208
|
+
var m, b, z, a, p, s, u, f, x, h, y, L;
|
209
|
+
const t = ((z = (b = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : z.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", l = T(o.options, o.optionKey), n = (p = o.controlInfo) == null ? void 0 : p.default, e = ((f = (u = (s = o.translations) == null ? void 0 : s.options) == null ? void 0 : u[o.optionKey]) == null ? void 0 : f.tooltip) ?? ((x = o.controlInfo) == null ? void 0 : x.tooltip), i = (h = o.controlInfo) == null ? void 0 : h.enum.reduce(
|
210
|
+
(v, C) => {
|
211
|
+
var O, K, A;
|
212
|
+
return v[C] = ((A = (K = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : K[o.optionKey]) == null ? void 0 : A.enum[C]) ?? C, v;
|
199
213
|
},
|
200
214
|
{}
|
201
215
|
), c = o.size, {
|
202
|
-
extraLabel:
|
203
|
-
extraLabelTooltip:
|
204
|
-
extraLabelHasClickAction:
|
205
|
-
extraLabelClickAction:
|
206
|
-
} =
|
207
|
-
return
|
216
|
+
extraLabel: d,
|
217
|
+
extraLabelTooltip: r,
|
218
|
+
extraLabelHasClickAction: k,
|
219
|
+
extraLabelClickAction: I
|
220
|
+
} = w(o), $ = H(o);
|
221
|
+
return V`
|
208
222
|
<luzmo-edit-option-picker
|
209
223
|
.value=${l}
|
210
224
|
.default=${n}
|
@@ -212,176 +226,209 @@ const N = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
212
226
|
.label=${t}
|
213
227
|
.tooltip=${e}
|
214
228
|
.size=${c}
|
215
|
-
.extraLabel=${
|
216
|
-
.extraLabelTooltip=${
|
217
|
-
.extraLabelHasClickAction=${
|
218
|
-
@extraLabelClick=${
|
219
|
-
@option-changed=${
|
220
|
-
.fromOptionValue=${(
|
221
|
-
.toOptionValue=${(
|
229
|
+
.extraLabel=${d}
|
230
|
+
.extraLabelTooltip=${r}
|
231
|
+
.extraLabelHasClickAction=${k}
|
232
|
+
@extraLabelClick=${I}
|
233
|
+
@option-changed=${$}
|
234
|
+
.fromOptionValue=${(y = o.controlInfo) == null ? void 0 : y.fromOptionValue}
|
235
|
+
.toOptionValue=${(L = o.controlInfo) == null ? void 0 : L.toOptionValue}
|
222
236
|
></luzmo-edit-option-picker>
|
223
237
|
`;
|
224
|
-
},
|
225
|
-
var b,
|
226
|
-
const t = ((
|
227
|
-
extraLabel:
|
228
|
-
extraLabelTooltip:
|
229
|
-
extraLabelHasClickAction:
|
230
|
-
extraLabelClickAction:
|
231
|
-
} =
|
232
|
-
return
|
238
|
+
}, X = (o) => {
|
239
|
+
var m, b, z, a, p, s, u, f, x, h, y, L;
|
240
|
+
const t = ((z = (b = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : z.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label), l = (p = o.controlInfo) == null ? void 0 : p.positions, n = ((s = o.controlInfo) == null ? void 0 : s.defaultPosition) ?? "top-right", e = o.size, i = T(o.options, o.optionKey), c = ((x = (f = (u = o.translations) == null ? void 0 : u.options) == null ? void 0 : f[o.optionKey]) == null ? void 0 : x.tooltip) ?? ((h = o.controlInfo) == null ? void 0 : h.tooltip), {
|
241
|
+
extraLabel: d,
|
242
|
+
extraLabelTooltip: r,
|
243
|
+
extraLabelHasClickAction: k,
|
244
|
+
extraLabelClickAction: I
|
245
|
+
} = w(o), $ = H(o);
|
246
|
+
return V`
|
247
|
+
<luzmo-edit-option-position-picker
|
248
|
+
.value=${(y = o.controlInfo) == null ? void 0 : y.value}
|
249
|
+
.positions=${l}
|
250
|
+
.defaultPosition=${n}
|
251
|
+
.label=${t}
|
252
|
+
.tooltip=${c}
|
253
|
+
.size=${e}
|
254
|
+
.value=${i}
|
255
|
+
.extraLabel=${d}
|
256
|
+
.extraLabelTooltip=${r}
|
257
|
+
.extraLabelHasClickAction=${k}
|
258
|
+
@extraLabelClick=${I}
|
259
|
+
@option-changed=${$}
|
260
|
+
.readonly=${(L = o.controlInfo) == null ? void 0 : L.readonly}
|
261
|
+
></luzmo-edit-option-position-picker>
|
262
|
+
`;
|
263
|
+
}, Y = (o) => {
|
264
|
+
var I, $, m, b, z, a, p, s, u, f, x, h;
|
265
|
+
const t = ((m = ($ = (I = o.translations) == null ? void 0 : I.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : m.label) ?? ((b = o.controlInfo) == null ? void 0 : b.label), l = T(o.options, o.optionKey), n = o.size, e = ((p = (a = (z = o.translations) == null ? void 0 : z.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : p.tooltip) ?? ((s = o.controlInfo) == null ? void 0 : s.tooltip), {
|
266
|
+
extraLabel: i,
|
267
|
+
extraLabelTooltip: c,
|
268
|
+
extraLabelHasClickAction: d,
|
269
|
+
extraLabelClickAction: r
|
270
|
+
} = w(o), k = H(o);
|
271
|
+
return V`
|
233
272
|
<luzmo-edit-option-positions-number-field
|
234
273
|
.values=${l}
|
235
|
-
.positions=${(
|
236
|
-
.positionConfiguration=${(
|
274
|
+
.positions=${(u = o.controlInfo) == null ? void 0 : u.positions}
|
275
|
+
.positionConfiguration=${(f = o.controlInfo) == null ? void 0 : f.positionConfiguration}
|
237
276
|
.label=${t}
|
238
277
|
.size=${n}
|
239
|
-
.
|
240
|
-
.
|
241
|
-
.
|
242
|
-
|
243
|
-
@
|
244
|
-
|
245
|
-
.
|
278
|
+
.tooltip=${e}
|
279
|
+
.extraLabel=${i}
|
280
|
+
.extraLabelTooltip=${c}
|
281
|
+
.extraLabelHasClickAction=${d}
|
282
|
+
@extraLabelClick=${r}
|
283
|
+
@option-changed=${k}
|
284
|
+
.fromOptionValue=${(x = o.controlInfo) == null ? void 0 : x.fromOptionValue}
|
285
|
+
.toOptionValue=${(h = o.controlInfo) == null ? void 0 : h.toOptionValue}
|
246
286
|
></luzmo-edit-option-positions-number-field>
|
247
287
|
`;
|
248
|
-
},
|
249
|
-
var m, p, s, f,
|
250
|
-
const t = ((
|
251
|
-
(
|
252
|
-
var
|
253
|
-
return
|
288
|
+
}, Z = (o) => {
|
289
|
+
var m, b, z, a, p, s, u, f, x, h, y, L;
|
290
|
+
const t = ((z = (b = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : z.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", l = T(o.options, o.optionKey), n = (p = o == null ? void 0 : o.controlInfo) == null ? void 0 : p.default, e = (s = o.controlInfo) == null ? void 0 : s.enum.reduce(
|
291
|
+
(v, C) => {
|
292
|
+
var O, K, A;
|
293
|
+
return v[C] = ((A = (K = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : K[o.optionKey]) == null ? void 0 : A.enum[C]) ?? C, v;
|
254
294
|
},
|
255
295
|
{}
|
256
|
-
), i = o.size, {
|
257
|
-
extraLabel:
|
258
|
-
extraLabelTooltip:
|
259
|
-
extraLabelHasClickAction:
|
260
|
-
extraLabelClickAction:
|
261
|
-
} =
|
262
|
-
return
|
296
|
+
), i = o.size, c = ((x = (f = (u = o.translations) == null ? void 0 : u.options) == null ? void 0 : f[o.optionKey]) == null ? void 0 : x.tooltip) ?? ((h = o.controlInfo) == null ? void 0 : h.tooltip), {
|
297
|
+
extraLabel: d,
|
298
|
+
extraLabelTooltip: r,
|
299
|
+
extraLabelHasClickAction: k,
|
300
|
+
extraLabelClickAction: I
|
301
|
+
} = w(o), $ = H(o);
|
302
|
+
return V`
|
263
303
|
<luzmo-edit-option-radio-button-group
|
264
304
|
.value=${l ?? n}
|
265
305
|
.values=${e}
|
266
306
|
.label=${t}
|
267
307
|
.size=${i}
|
268
|
-
.
|
269
|
-
.
|
270
|
-
.
|
271
|
-
|
272
|
-
@
|
273
|
-
|
274
|
-
.
|
308
|
+
.tooltip=${c}
|
309
|
+
.extraLabel=${d}
|
310
|
+
.extraLabelTooltip=${r}
|
311
|
+
.extraLabelHasClickAction=${k}
|
312
|
+
@extraLabelClick=${I}
|
313
|
+
@option-changed=${$}
|
314
|
+
.fromOptionValue=${(y = o.controlInfo) == null ? void 0 : y.fromOptionValue}
|
315
|
+
.toOptionValue=${(L = o.controlInfo) == null ? void 0 : L.toOptionValue}
|
275
316
|
></luzmo-edit-option-radio-button-group>
|
276
317
|
`;
|
277
|
-
},
|
278
|
-
var
|
279
|
-
const t = ((
|
280
|
-
let
|
281
|
-
typeof ((
|
318
|
+
}, g = (o) => {
|
319
|
+
var a, p, s, u, f, x, h, y, L, v, C, O, K, A, E;
|
320
|
+
const t = ((s = (p = (a = o.translations) == null ? void 0 : a.options) == null ? void 0 : p[o.optionKey]) == null ? void 0 : s.label) ?? ((u = o.controlInfo) == null ? void 0 : u.label) ?? o.optionKey ?? "", l = ((h = (x = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : x[o.optionKey]) == null ? void 0 : h.tooltip) ?? ((y = o.controlInfo) == null ? void 0 : y.tooltip), n = (L = o.controlInfo) == null ? void 0 : L.min, e = (v = o.controlInfo) == null ? void 0 : v.max, i = (C = o.controlInfo) == null ? void 0 : C.step, c = T(o.options, o.optionKey), d = o.size;
|
321
|
+
let r;
|
322
|
+
typeof ((O = o.controlInfo) == null ? void 0 : O.default) == "function" ? r = o.controlInfo.default(
|
282
323
|
o.options,
|
283
324
|
o.slots,
|
284
325
|
o.theme
|
285
|
-
) : typeof ((
|
326
|
+
) : typeof ((K = o.controlInfo) == null ? void 0 : K.default) == "number" && (r = o.controlInfo.default);
|
286
327
|
const {
|
287
|
-
extraLabel:
|
288
|
-
extraLabelTooltip:
|
289
|
-
extraLabelHasClickAction:
|
290
|
-
extraLabelClickAction:
|
291
|
-
} =
|
292
|
-
return
|
328
|
+
extraLabel: k,
|
329
|
+
extraLabelTooltip: I,
|
330
|
+
extraLabelHasClickAction: $,
|
331
|
+
extraLabelClickAction: m
|
332
|
+
} = w(o), b = H(o);
|
333
|
+
return V`
|
293
334
|
<luzmo-edit-option-slider
|
294
335
|
.value=${c}
|
295
|
-
.default=${
|
336
|
+
.default=${r}
|
296
337
|
.min=${n}
|
297
338
|
.max=${e}
|
298
339
|
.step=${i}
|
299
340
|
.label=${t}
|
300
341
|
.tooltip=${l}
|
301
|
-
.size=${
|
302
|
-
.extraLabel=${
|
303
|
-
.extraLabelTooltip=${
|
304
|
-
.extraLabelHasClickAction=${
|
342
|
+
.size=${d}
|
343
|
+
.extraLabel=${k}
|
344
|
+
.extraLabelTooltip=${I}
|
345
|
+
.extraLabelHasClickAction=${$}
|
305
346
|
@extraLabelClick=${() => {
|
306
|
-
if (typeof
|
307
|
-
const { options: S } =
|
347
|
+
if (typeof m == "function") {
|
348
|
+
const { options: S } = m();
|
308
349
|
return o.changeCallback(S);
|
309
350
|
}
|
310
351
|
}}
|
311
|
-
@option-changed=${
|
312
|
-
.fromOptionValue=${(
|
313
|
-
.toOptionValue=${(
|
352
|
+
@option-changed=${b}
|
353
|
+
.fromOptionValue=${(A = o.controlInfo) == null ? void 0 : A.fromOptionValue}
|
354
|
+
.toOptionValue=${(E = o.controlInfo) == null ? void 0 : E.toOptionValue}
|
314
355
|
></luzmo-edit-option-slider>
|
315
356
|
`;
|
316
|
-
},
|
317
|
-
var
|
318
|
-
const t = ((
|
319
|
-
extraLabel:
|
320
|
-
extraLabelTooltip:
|
321
|
-
extraLabelHasClickAction:
|
322
|
-
extraLabelClickAction:
|
323
|
-
} =
|
324
|
-
return
|
357
|
+
}, oo = (o) => {
|
358
|
+
var $, m, b, z, a, p, s, u, f, x, h;
|
359
|
+
const t = ((b = (m = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : b.label) ?? ((z = o.controlInfo) == null ? void 0 : z.label) ?? o.optionKey ?? "", l = T(o.options, o.optionKey), n = (a = o.controlInfo) == null ? void 0 : a.default, e = o.size, i = ((u = (s = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : u.tooltip) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip), {
|
360
|
+
extraLabel: c,
|
361
|
+
extraLabelTooltip: d,
|
362
|
+
extraLabelHasClickAction: r,
|
363
|
+
extraLabelClickAction: k
|
364
|
+
} = w(o), I = H(o);
|
365
|
+
return V`
|
325
366
|
<luzmo-edit-option-switch
|
326
367
|
.value=${l ?? n ?? !1}
|
327
368
|
.label=${t}
|
328
369
|
.size=${e}
|
329
|
-
.
|
330
|
-
.
|
331
|
-
.
|
332
|
-
|
333
|
-
@
|
334
|
-
|
335
|
-
.
|
370
|
+
.tooltip=${i}
|
371
|
+
.extraLabel=${c}
|
372
|
+
.extraLabelTooltip=${d}
|
373
|
+
.extraLabelHasClickAction=${r}
|
374
|
+
@extraLabelClick=${k}
|
375
|
+
@option-changed=${I}
|
376
|
+
.fromOptionValue=${(x = o.controlInfo) == null ? void 0 : x.fromOptionValue}
|
377
|
+
.toOptionValue=${(h = o.controlInfo) == null ? void 0 : h.toOptionValue}
|
336
378
|
></luzmo-edit-option-switch>
|
337
379
|
`;
|
338
|
-
},
|
339
|
-
var
|
340
|
-
const t = ((
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
380
|
+
}, to = (o) => {
|
381
|
+
var m, b, z, a, p, s, u, f, x, h, y, L, v, C;
|
382
|
+
const t = ((z = (b = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : z.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", l = o.language ?? "en", n = {};
|
383
|
+
n[l] = ((u = (s = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : u.placeholder) ?? ((f = o.controlInfo) == null ? void 0 : f.placeholder) ?? "";
|
384
|
+
const e = T(o.options, o.optionKey) ?? "", i = o.size, c = ((y = (h = (x = o.translations) == null ? void 0 : x.options) == null ? void 0 : h[o.optionKey]) == null ? void 0 : y.tooltip) ?? ((L = o.controlInfo) == null ? void 0 : L.tooltip), {
|
385
|
+
extraLabel: d,
|
386
|
+
extraLabelTooltip: r,
|
387
|
+
extraLabelHasClickAction: k,
|
388
|
+
extraLabelClickAction: I
|
389
|
+
} = w(o), $ = H(o);
|
390
|
+
return V`
|
347
391
|
<luzmo-edit-option-text-field
|
348
392
|
.label=${t}
|
349
|
-
.placeholder=${l}
|
350
|
-
.value=${
|
351
|
-
.size=${
|
352
|
-
.
|
353
|
-
.
|
354
|
-
.
|
355
|
-
|
356
|
-
@
|
357
|
-
|
358
|
-
.
|
393
|
+
.placeholder=${n[l]}
|
394
|
+
.value=${e}
|
395
|
+
.size=${i}
|
396
|
+
.tooltip=${c}
|
397
|
+
.extraLabel=${d}
|
398
|
+
.extraLabelTooltip=${r}
|
399
|
+
.extraLabelHasClickAction=${k}
|
400
|
+
@extraLabelClick=${I}
|
401
|
+
@option-changed=${$}
|
402
|
+
.fromOptionValue=${(v = o.controlInfo) == null ? void 0 : v.fromOptionValue}
|
403
|
+
.toOptionValue=${(C = o.controlInfo) == null ? void 0 : C.toOptionValue}
|
359
404
|
></luzmo-edit-option-text-field>
|
360
405
|
`;
|
361
|
-
},
|
406
|
+
}, eo = (o) => {
|
362
407
|
switch (o.controlType) {
|
363
408
|
case "picker":
|
364
|
-
return
|
409
|
+
return W(o);
|
365
410
|
case "slider":
|
366
|
-
return
|
411
|
+
return g(o);
|
367
412
|
case "switch":
|
368
|
-
return
|
413
|
+
return oo(o);
|
369
414
|
case "multi-language-field":
|
370
|
-
return
|
415
|
+
return J(o);
|
371
416
|
case "text-field":
|
372
|
-
return
|
417
|
+
return to(o);
|
373
418
|
case "number-field":
|
374
|
-
return D(o);
|
375
|
-
case "positions-number-field":
|
376
419
|
return Q(o);
|
420
|
+
case "position-picker":
|
421
|
+
return X(o);
|
422
|
+
case "positions-number-field":
|
423
|
+
return Y(o);
|
377
424
|
case "radio-button-group":
|
378
|
-
return
|
425
|
+
return Z(o);
|
379
426
|
case "color-picker":
|
380
|
-
return
|
427
|
+
return D(o);
|
381
428
|
case "action-button-group":
|
382
|
-
return
|
429
|
+
return q(o);
|
383
430
|
}
|
384
|
-
},
|
431
|
+
}, no = (o, t) => {
|
385
432
|
const l = (n) => {
|
386
433
|
for (const e of n) {
|
387
434
|
if (e.key === o)
|
@@ -394,49 +441,79 @@ const N = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
394
441
|
}
|
395
442
|
return null;
|
396
443
|
};
|
397
|
-
|
398
|
-
const
|
399
|
-
|
400
|
-
|
401
|
-
|
444
|
+
if (t)
|
445
|
+
for (const n of t) {
|
446
|
+
const e = l(n.children);
|
447
|
+
if (e)
|
448
|
+
return e;
|
449
|
+
}
|
402
450
|
return null;
|
403
451
|
};
|
404
|
-
var
|
452
|
+
var lo = Object.defineProperty, M = (o, t, l, n) => {
|
405
453
|
for (var e = void 0, i = o.length - 1, c; i >= 0; i--)
|
406
454
|
(c = o[i]) && (e = c(t, l, e) || e);
|
407
|
-
return e &&
|
455
|
+
return e && lo(t, l, e), e;
|
408
456
|
};
|
409
|
-
const
|
457
|
+
const P = class P extends G {
|
410
458
|
constructor() {
|
411
|
-
super(...arguments), this._loadItemConfig = new
|
459
|
+
super(...arguments), this._loadItemConfig = new F(this, {
|
412
460
|
task: async ([t, l, n]) => {
|
413
461
|
let e = !1;
|
414
462
|
if (t !== this._itemTypeLoaded) {
|
415
|
-
const
|
416
|
-
"./item-configs/
|
417
|
-
"./item-configs/
|
418
|
-
"./item-configs/
|
419
|
-
"./item-configs/
|
420
|
-
"./item-configs/
|
421
|
-
"./item-configs/
|
463
|
+
const d = /* @__PURE__ */ Object.assign({
|
464
|
+
"./item-configs/area-chart.config.ts": () => import("../area-chart.config-Ba68ZiSX.js"),
|
465
|
+
"./item-configs/bar-chart.config.ts": () => import("../bar-chart.config-CF1i1Imw.js"),
|
466
|
+
"./item-configs/bubble-chart.config.ts": () => import("../bubble-chart.config-1MrC55Nb.js"),
|
467
|
+
"./item-configs/circle-pack-chart.config.ts": () => import("../circle-pack-chart.config-Bbm2bTgy.js"),
|
468
|
+
"./item-configs/column-chart.config.ts": () => import("../column-chart.config-BT1QH4BI.js"),
|
469
|
+
"./item-configs/donut-chart.config.ts": () => import("../donut-chart.config-DuJFyp4z.js"),
|
470
|
+
"./item-configs/dropdown-filter.config.ts": () => import("../dropdown-filter.config-Drv-A4zw.js"),
|
471
|
+
"./item-configs/imageobject.config.ts": () => import("../imageobject.config-CBfeq5Zw.js"),
|
472
|
+
"./item-configs/line-chart.config.ts": () => import("../line-chart.config-BB_thZtA.js"),
|
473
|
+
"./item-configs/ohlc-chart.config.ts": () => import("../ohlc-chart.config-D9npwajt.js"),
|
474
|
+
"./item-configs/radar-chart.config.ts": () => import("../radar-chart.config-DfID1TZ-.js"),
|
475
|
+
"./item-configs/sankey-diagram.config.ts": () => import("../sankey-diagram.config-BVjCEw5M.js"),
|
476
|
+
"./item-configs/search-filter.config.ts": () => import("../search-filter.config-baX2Vdul.js"),
|
477
|
+
"./item-configs/slicer-filter.config.ts": () => import("../slicer-filter.config-A3YK_KZn.js"),
|
478
|
+
"./item-configs/slider-filter.config.ts": () => import("../slider-filter.config-C-zvfTNl.js"),
|
479
|
+
"./item-configs/spacer.config.ts": () => import("../spacer.config-Br2Dm5Uv.js"),
|
480
|
+
"./item-configs/sunburst-chart.config.ts": () => import("../sunburst-chart.config-VZqDthcz.js"),
|
481
|
+
"./item-configs/textobject.config.ts": () => import("../textobject.config-DTDqt0ci.js"),
|
482
|
+
"./item-configs/treemap-chart.config.ts": () => import("../treemap-chart.config-BalwwrhW.js"),
|
483
|
+
"./item-configs/videoobject.config.ts": () => import("../videoobject.config-CbtNZAEK.js"),
|
484
|
+
"./item-configs/wordcloud-chart.config.ts": () => import("../wordcloud-chart.config-CQs8YFfd.js")
|
422
485
|
});
|
423
|
-
if (
|
424
|
-
|
425
|
-
|
426
|
-
|
486
|
+
if (d[`./item-configs/${t}.config.ts`])
|
487
|
+
try {
|
488
|
+
const r = await d[`./item-configs/${t}.config.ts`]();
|
489
|
+
this._optionsConfig = (r == null ? void 0 : r.default) ?? {};
|
490
|
+
} catch {
|
491
|
+
this._optionsConfig = {};
|
492
|
+
}
|
493
|
+
else
|
494
|
+
this._optionsConfig = {};
|
427
495
|
e = !0;
|
428
496
|
}
|
429
497
|
if (n !== this._languageLoaded || e) {
|
430
|
-
const
|
431
|
-
if (
|
432
|
-
|
433
|
-
|
434
|
-
|
498
|
+
const d = /* @__PURE__ */ Object.assign({ "./item-translations/bar-chart.en.ts": () => import("../bar-chart.en-Crc8tYUJ.js"), "./item-translations/bar-chart.fr.ts": () => import("../bar-chart.fr-BwiGRlQf.js"), "./item-translations/bar-chart.nl.ts": () => import("../bar-chart.nl-C9EOP2kE.js"), "./item-translations/column-chart.en.ts": () => import("../column-chart.en-Crc8tYUJ.js"), "./item-translations/column-chart.fr.ts": () => import("../column-chart.fr-BwiGRlQf.js"), "./item-translations/column-chart.nl.ts": () => import("../column-chart.nl-C9EOP2kE.js"), "./item-translations/donut-chart.en.ts": () => import("../donut-chart.en-CrUf4CJ9.js"), "./item-translations/donut-chart.fr.ts": () => import("../donut-chart.fr-DVfZwZny.js"), "./item-translations/donut-chart.nl.ts": () => import("../donut-chart.nl-B13jr7SK.js"), "./item-translations/imageobject.en.ts": () => import("../imageobject.en-BMmV-4O-.js"), "./item-translations/imageobject.fr.ts": () => import("../imageobject.fr-DRE3zImB.js"), "./item-translations/imageobject.nl.ts": () => import("../imageobject.nl-D20hki6i.js"), "./item-translations/textobject.en.ts": () => import("../textobject.en-BQqHFc7M.js"), "./item-translations/textobject.fr.ts": () => import("../textobject.fr-VPJ3bDOM.js"), "./item-translations/textobject.nl.ts": () => import("../textobject.nl-V03mmGmH.js") });
|
499
|
+
if (d[`./item-translations/${t}.${n}.ts`])
|
500
|
+
try {
|
501
|
+
const r = await d[`./item-translations/${t}.${n}.ts`]();
|
502
|
+
this._translations = (r == null ? void 0 : r.default) ?? {};
|
503
|
+
} catch (r) {
|
504
|
+
this._translations = {}, console.error(r);
|
505
|
+
}
|
506
|
+
else
|
507
|
+
this._translations = {};
|
435
508
|
}
|
436
|
-
const i =
|
509
|
+
const i = no(l, this._optionsConfig), c = i == null ? void 0 : i.type;
|
437
510
|
if (c !== this._controlTypeLoaded) {
|
438
|
-
const
|
439
|
-
|
511
|
+
const d = /* @__PURE__ */ Object.assign({ "../edit-option-action-button-group/index.ts": () => import("../edit-option-action-button-group/index.js"), "../edit-option-color-picker/index.ts": () => import("../edit-option-color-picker/index.js"), "../edit-option-multi-language-field/index.ts": () => import("../edit-option-multi-language-field/index.js"), "../edit-option-number-field/index.ts": () => import("../edit-option-number-field/index.js"), "../edit-option-picker/index.ts": () => import("../edit-option-picker/index.js"), "../edit-option-position-picker/index.ts": () => import("../edit-option-position-picker/index.js"), "../edit-option-positions-number-field/index.ts": () => import("../edit-option-positions-number-field/index.js"), "../edit-option-radio-button-group/index.ts": () => import("../edit-option-radio-button-group/index.js"), "../edit-option-slider/index.ts": () => import("../edit-option-slider/index.js"), "../edit-option-switch/index.ts": () => import("../edit-option-switch/index.js"), "../edit-option-text-field/index.ts": () => import("../edit-option-text-field/index.js") });
|
512
|
+
try {
|
513
|
+
d[`../edit-option-${c}/index.ts`] && (await d[`../edit-option-${c}/index.ts`](), this._controlTypeLoaded = c);
|
514
|
+
} catch (r) {
|
515
|
+
console.error(r);
|
516
|
+
}
|
440
517
|
}
|
441
518
|
return i;
|
442
519
|
},
|
@@ -456,8 +533,8 @@ const M = class M extends F {
|
|
456
533
|
}
|
457
534
|
render() {
|
458
535
|
return this._loadItemConfig.render({
|
459
|
-
pending: () =>
|
460
|
-
complete: (t) =>
|
536
|
+
pending: () => V`<p>Loading...</p>`,
|
537
|
+
complete: (t) => eo({
|
461
538
|
controlType: t == null ? void 0 : t.type,
|
462
539
|
optionKey: this.optionKey,
|
463
540
|
controlInfo: t,
|
@@ -469,39 +546,34 @@ const M = class M extends F {
|
|
469
546
|
size: this.size,
|
470
547
|
changeCallback: this.changedOptions
|
471
548
|
}),
|
472
|
-
error: (t) =>
|
473
|
-
<div>
|
474
|
-
Could not load control for option: '${this.optionKey}' of chart
|
475
|
-
'${this.itemType}': ${t}.
|
476
|
-
</div>
|
477
|
-
`
|
549
|
+
error: (t) => (console.error(t), V``)
|
478
550
|
});
|
479
551
|
}
|
480
552
|
};
|
481
|
-
|
482
|
-
let
|
483
|
-
|
484
|
-
|
485
|
-
],
|
486
|
-
|
487
|
-
|
488
|
-
],
|
489
|
-
|
490
|
-
|
491
|
-
],
|
492
|
-
|
493
|
-
|
494
|
-
],
|
495
|
-
|
496
|
-
|
497
|
-
],
|
498
|
-
|
499
|
-
|
500
|
-
],
|
501
|
-
|
502
|
-
|
503
|
-
],
|
504
|
-
customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option",
|
553
|
+
P.styles = N(U);
|
554
|
+
let j = P;
|
555
|
+
M([
|
556
|
+
_({ type: String, reflect: !0 })
|
557
|
+
], j.prototype, "language");
|
558
|
+
M([
|
559
|
+
_({ type: String, reflect: !0, attribute: "item-type" })
|
560
|
+
], j.prototype, "itemType");
|
561
|
+
M([
|
562
|
+
_({ type: String, reflect: !0, attribute: "option-key" })
|
563
|
+
], j.prototype, "optionKey");
|
564
|
+
M([
|
565
|
+
_({ type: Object })
|
566
|
+
], j.prototype, "options");
|
567
|
+
M([
|
568
|
+
_({ type: Object })
|
569
|
+
], j.prototype, "slots");
|
570
|
+
M([
|
571
|
+
_({ type: Object })
|
572
|
+
], j.prototype, "theme");
|
573
|
+
M([
|
574
|
+
_({ type: String, reflect: !0 })
|
575
|
+
], j.prototype, "size");
|
576
|
+
customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option", j);
|
505
577
|
export {
|
506
|
-
|
578
|
+
j as LuzmoEditOption
|
507
579
|
};
|