@luzmo/analytics-components-kit 1.0.1-alpha.40 → 1.0.1-alpha.42
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-slots.config-P7xa-pHi.js → area-chart-slots.config-DoytjTpw.js} +1 -1
- package/components/{area-chart-slots.config-CIfDfftd.cjs → area-chart-slots.config-Dx_ysVZK.cjs} +1 -1
- package/components/{bar-chart-slots.config-MQAjNXqV.js → bar-chart-slots.config-Dn0IV43j.js} +1 -1
- package/components/{bar-chart-slots.config-DszaQhMd.cjs → bar-chart-slots.config-c_9ABPOI.cjs} +1 -1
- package/components/{box-plot-slots.config-BRhnF2FE.js → box-plot-slots.config-FI5Id-7p.js} +1 -1
- package/components/box-plot-slots.config-K-1CiWO-.cjs +20 -0
- package/components/{calculate-data-item-icon-DlyGQVBA.js → calculate-data-item-icon-BFpVWXnR.js} +61 -43
- package/components/{calculate-data-item-icon-Bygfq3KO.cjs → calculate-data-item-icon-C_3QUGmB.cjs} +1 -1
- package/components/choropleth-map-slots.config-CFERs0ca.cjs +20 -0
- package/components/{choropleth-map-slots.config-B-uJTj4q.js → choropleth-map-slots.config-DStOyVgQ.js} +7 -2
- package/components/{sunburst-chart-slots.config-C-_ganmv.cjs → circle-pack-chart-slots.config-B18aqdH1.cjs} +1 -1
- package/components/{circle-pack-chart-slots.config-xwVdRiwS.js → circle-pack-chart-slots.config-lV4uNMcp.js} +1 -1
- package/components/{column-chart-slots.config-C7MhpoR8.cjs → column-chart-slots.config-C0nGjkmv.cjs} +1 -1
- package/components/{column-chart-slots.config-DAdAk17k.js → column-chart-slots.config-epF0y5yo.js} +1 -1
- package/components/{combination-chart-slots.config-crMO01EO.cjs → combination-chart-slots.config-CY07Q5Hw.cjs} +1 -1
- package/components/{combination-chart-slots.config-CqKLFKCZ.js → combination-chart-slots.config-DRKSJyCC.js} +1 -1
- package/components/{date-filter-slots.config-Cb1LcT9W.cjs → date-filter-slots.config-CrA5ijD3.cjs} +1 -1
- package/components/{date-filter-slots.config-CxB8IF5B.js → date-filter-slots.config-DIjChKTZ.js} +2 -2
- package/components/display-settings/display-settings.d.ts +1 -0
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +3 -2
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +2 -2
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/display-settings-numeric/index.cjs +3 -3
- package/components/display-settings-numeric/index.js +56 -51
- package/components/display-settings-period-over-period/index.cjs +8 -8
- package/components/display-settings-period-over-period/index.js +84 -73
- package/components/{donut-chart-slots.config-BEwhfq27.js → donut-chart-slots.config-CHLEBSDg.js} +1 -1
- package/components/{donut-chart-slots.config-DIp-24lO.cjs → donut-chart-slots.config-DBowIZNO.cjs} +1 -1
- package/components/draggable-data-item/draggable-data-item.d.ts +2 -0
- package/components/draggable-data-item/index.cjs +6 -5
- package/components/draggable-data-item/index.js +20 -16
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -0
- package/components/draggable-data-item-level/index.cjs +12 -7
- package/components/draggable-data-item-level/index.js +79 -60
- package/components/{dropdown-filter-slots.config-I2n4b_6V.cjs → dropdown-filter-slots.config-0wn6pMvi.cjs} +1 -1
- package/components/{dropdown-filter-slots.config-B8J6ftCh.js → dropdown-filter-slots.config-D2J9Z5aQ.js} +1 -1
- package/components/droppable-slot/droppable-slot.d.ts +1 -1
- package/components/droppable-slot/index.cjs +6 -6
- package/components/droppable-slot/index.js +73 -66
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +2 -2
- package/components/{edit-option-base-Cw2iO2Av.js → edit-option-base-BQc4gXup.js} +1 -1
- package/components/{edit-option-base-B7owFMOO.cjs → edit-option-base-ByphLI4J.cjs} +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +3 -3
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +1 -1
- 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 +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +1 -1
- package/components/edit-option-positions-number-field/index.cjs +2 -2
- package/components/edit-option-positions-number-field/index.js +2 -2
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +1 -1
- 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 +1 -1
- package/components/edit-option-text-field/index.js +1 -1
- package/components/{evolution-number-slots.config-BI-sFIug.cjs → evolution-number-slots.config-CNNVp6vR.cjs} +1 -1
- package/components/{evolution-number-slots.config-CW21b2ua.js → evolution-number-slots.config-CSDEf5Lv.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +3 -3
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +3 -3
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{funnel-chart-slots.config-BBhMS2qi.js → funnel-chart-slots.config-B-72sm5j.js} +6 -1
- package/components/{box-plot-slots.config-DZxyy3sS.cjs → funnel-chart-slots.config-GKBCY9xN.cjs} +1 -1
- package/components/grid/index.cjs +1 -1
- package/components/grid/index.js +3 -3
- package/components/{marker-map-slots.config-cdD8XTmI.js → heat-map-slots.config-CAj40INL.js} +1 -1
- package/components/{heat-map-slots.config-CSxSsQwX.cjs → heat-map-slots.config-D7cSAVdX.cjs} +1 -1
- package/components/{hexbin-map-slots.config-cdD8XTmI.js → hexbin-map-slots.config-CAj40INL.js} +1 -1
- package/components/{hexbin-map-slots.config-CSxSsQwX.cjs → hexbin-map-slots.config-D7cSAVdX.cjs} +1 -1
- package/components/{index-UWOCtc0Y.js → index-8fxgV8-A.js} +2 -2
- package/components/{index-BIrO4_kD.cjs → index-B_rfLdXx.cjs} +1 -1
- package/components/{index-Ciad94jH.js → index-Bdy8Bz-n.js} +3 -3
- package/components/{index-BEAYzHcY.js → index-Bg5PqKqt.js} +32 -32
- package/components/{index-Jmmy73Aq.js → index-BmshD32H.js} +34 -34
- package/components/{index-sCesmw8l.js → index-CDpuEf8W.js} +4 -4
- package/components/{index-CT2vEcpn.cjs → index-CHFwXYcm.cjs} +2 -2
- package/components/{index-B_dW2-QA.cjs → index-CNA9joKT.cjs} +1 -1
- package/components/{index-CcDZIqpD.cjs → index-CUvucmA0.cjs} +1 -1
- package/components/{index-CAJRL5rT.cjs → index-CYeQkVeJ.cjs} +5 -5
- package/components/{utils-B1rr30GZ.js → index-CgnTl6Sc.js} +11 -13
- package/components/{index-BNwJ9moR.js → index-ChDwMQlU.js} +3 -3
- package/components/{index-CzRmB9z3.cjs → index-DM96Q1fX.cjs} +1 -1
- package/components/{index-Boxjo5I0.js → index-DUF6bALI.js} +7 -7
- package/components/{index-CaVIv7B9.cjs → index-EXO-Hsj2.cjs} +1 -1
- package/components/{utils-CvCeHVBQ.cjs → index-Vdyb9z2D.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +18 -16
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +32 -32
- package/components/{line-chart-slots.config-P7xa-pHi.js → line-chart-slots.config-DoytjTpw.js} +1 -1
- package/components/{line-chart-slots.config-CIfDfftd.cjs → line-chart-slots.config-Dx_ysVZK.cjs} +1 -1
- package/components/{luzmo-icons-DEoJcvoL.js → luzmo-icons-B2K7AcCF.js} +183 -141
- package/components/luzmo-icons-CP__dRRM.cjs +31 -0
- package/components/{heat-map-slots.config-cdD8XTmI.js → marker-map-slots.config-CAj40INL.js} +1 -1
- package/components/{marker-map-slots.config-CSxSsQwX.cjs → marker-map-slots.config-D7cSAVdX.cjs} +1 -1
- package/components/{parallel-coordinates-plot-slots.config-BRXA5nUl.cjs → parallel-coordinates-plot-slots.config--fk40ZDu.cjs} +1 -1
- package/components/{parallel-coordinates-plot-slots.config-CQW2CJW6.js → parallel-coordinates-plot-slots.config-BjRcJdWM.js} +7 -2
- package/components/{pending-state-DTX7ggyF-D1SvcIIz.js → pending-state-DTX7ggyF-BQdsLMT1.js} +2 -2
- package/components/{pending-state-DTX7ggyF-DZzxjogp.cjs → pending-state-DTX7ggyF-CoV2RbDq.cjs} +1 -1
- package/components/{pivot-table-slots.config-DzGWM3Ez.cjs → pivot-table-slots.config-45V_Gdm7.cjs} +1 -1
- package/components/{pivot-table-slots.config-BH5fOJre.js → pivot-table-slots.config-CGU7IyDG.js} +3 -3
- package/components/{pyramid-chart-slots.config-DeWrVApy.cjs → pyramid-chart-slots.config-D5F0WX2d.cjs} +1 -1
- package/components/{pyramid-chart-slots.config-Cm9bQsXT.js → pyramid-chart-slots.config-lfxmIAy_.js} +1 -1
- package/components/radar-chart-slots.config-BEigR_Ml.cjs +20 -0
- package/components/{radar-chart-slots.config-Dpmytmc3.js → radar-chart-slots.config-CuQvda0y.js} +6 -1
- package/components/{regular-table-slots.config-ChrvnRDb.cjs → regular-table-slots.config-RLnMgOXn.cjs} +1 -1
- package/components/{regular-table-slots.config-EUS-V9lL.js → regular-table-slots.config-eQ8HccjY.js} +1 -1
- package/components/{route-map-slots.config-DYCcaQZi.js → route-map-slots.config-B9dcwOXi.js} +7 -2
- package/components/{route-map-slots.config-BfbIWCr0.cjs → route-map-slots.config-DsVJBR3D.cjs} +1 -1
- package/components/{sankey-diagram-slots.config-B7Q-ZfUP.cjs → sankey-diagram-slots.config-CiyYElLX.cjs} +1 -1
- package/components/{sankey-diagram-slots.config-BSTBEZDe.js → sankey-diagram-slots.config-DmqnP_mH.js} +1 -1
- package/components/{scatter-plot-slots.config-wlX_PVu8.cjs → scatter-plot-slots.config-47cB5_RC.cjs} +1 -1
- package/components/{scatter-plot-slots.config-BuWYqDWK.js → scatter-plot-slots.config-DjURFO07.js} +1 -1
- package/components/{search-filter-slots.config-DmiVXOva.js → search-filter-slots.config-CCEWnbiJ.js} +2 -2
- package/components/{search-filter-slots.config-DOlr8VaD.cjs → search-filter-slots.config-DeHkvc2Q.cjs} +1 -1
- package/components/{slicer-filter-slots.config-CHQ0ZXga.js → slicer-filter-slots.config-AOwwW5Ut.js} +2 -2
- package/components/{slicer-filter-slots.config-Dyte3aGp.cjs → slicer-filter-slots.config-V7hURjKI.cjs} +1 -1
- package/components/{slider-filter-slots.config-Cr5oXbok.cjs → slider-filter-slots.config-B--K9cpP.cjs} +1 -1
- package/components/{slider-filter-slots.config-BN3K1rnl.js → slider-filter-slots.config-D7cv_Ky4.js} +7 -2
- package/components/slot-contents-picker/index.cjs +145 -0
- package/components/slot-contents-picker/index.d.ts +7 -0
- package/components/slot-contents-picker/index.js +461 -0
- package/components/slot-contents-picker/slot-contents-picker.d.ts +112 -0
- package/components/slot-menu/index.cjs +13 -11
- package/components/slot-menu/index.js +33 -24
- package/components/slot-menu/slot-menu.d.ts +13 -0
- package/components/slot-menu-list/index.cjs +2 -2
- package/components/slot-menu-list/index.js +1 -1
- package/components/{spike-map-slots.config-Drga6_j0.cjs → spike-map-slots.config-BM5-Dlub.cjs} +1 -1
- package/components/{spike-map-slots.config-CuqpgkvN.js → spike-map-slots.config-Bq0WfdI4.js} +1 -1
- package/components/{strip-plot-slots.config-Co8ghEv8.js → strip-plot-slots.config-B1OLcL4K.js} +1 -1
- package/components/{strip-plot-slots.config-JvkKY5Ga.cjs → strip-plot-slots.config-DDUlLO8K.cjs} +1 -1
- package/components/{circle-pack-chart-slots.config-C-_ganmv.cjs → sunburst-chart-slots.config-B18aqdH1.cjs} +1 -1
- package/components/{sunburst-chart-slots.config-xwVdRiwS.js → sunburst-chart-slots.config-lV4uNMcp.js} +1 -1
- package/components/{symbol-map-slots.config-C5CKaVED.js → symbol-map-slots.config-DT5lvWh_.js} +7 -2
- package/components/{choropleth-map-slots.config-PNwSR0XY.cjs → symbol-map-slots.config-Dm_FRGHA.cjs} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +34 -34
- package/components/{venn-diagram-slots.config-DPmj71cR.js → venn-diagram-slots.config-BPxkBFb6.js} +2 -2
- package/components/{venn-diagram-slots.config-CpOPbUjs.cjs → venn-diagram-slots.config-GytlZGbF.cjs} +1 -1
- package/custom-elements.json +463 -10
- package/index.d.ts +1 -0
- package/item-definitions/area-chart/area-chart-slots.config.d.ts +3 -3
- package/item-definitions/bar-chart/bar-chart-slots.config.d.ts +2 -2
- package/item-definitions/box-plot/box-plot-slots.config.d.ts +2 -2
- package/item-definitions/choropleth-map/choropleth-map-slots.config.d.ts +3 -3
- package/item-definitions/circle-pack-chart/circle-pack-chart-slots.config.d.ts +2 -2
- package/item-definitions/column-chart/column-chart-slots.config.d.ts +2 -2
- package/item-definitions/combination-chart/combination-chart-slots.config.d.ts +2 -2
- package/item-definitions/date-filter/date-filter-slots.config.d.ts +2 -2
- package/item-definitions/donut-chart/donut-chart-slots.config.d.ts +2 -2
- package/item-definitions/dropdown-filter/dropdown-filter-slots.config.d.ts +1 -1
- package/item-definitions/evolution-number/evolution-number-slots.config.d.ts +2 -2
- package/item-definitions/funnel-chart/funnel-chart-slots.config.d.ts +2 -2
- package/item-definitions/heat-map/heat-map-slots.config.d.ts +2 -2
- package/item-definitions/hexbin-map/hexbin-map-slots.config.d.ts +2 -2
- package/item-definitions/line-chart/line-chart-slots.config.d.ts +3 -3
- package/item-definitions/marker-map/marker-map-slots.config.d.ts +2 -2
- package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-slots.config.d.ts +4 -4
- package/item-definitions/pivot-table/pivot-table-slots.config.d.ts +2 -2
- package/item-definitions/pyramid-chart/pyramid-chart-slots.config.d.ts +3 -3
- package/item-definitions/radar-chart/radar-chart-slots.config.d.ts +3 -3
- package/item-definitions/regular-table/regular-table-slots.config.d.ts +1 -1
- package/item-definitions/route-map/route-map-slots.config.d.ts +3 -3
- package/item-definitions/sankey-diagram/sankey-diagram-slots.config.d.ts +3 -3
- package/item-definitions/scatter-plot/scatter-plot-slots.config.d.ts +4 -4
- package/item-definitions/search-filter/search-filter-slots.config.d.ts +2 -2
- package/item-definitions/slicer-filter/slicer-filter-slots.config.d.ts +2 -2
- package/item-definitions/slider-filter/slider-filter-slots.config.d.ts +2 -2
- package/item-definitions/spike-map/spike-map-slots.config.d.ts +3 -3
- package/item-definitions/strip-plot/strip-plot-slots.config.d.ts +2 -2
- package/item-definitions/sunburst-chart/sunburst-chart-slots.config.d.ts +2 -2
- package/item-definitions/symbol-map/symbol-map-slots.config.d.ts +3 -3
- package/item-definitions/venn-diagram/venn-diagram-slots.config.d.ts +2 -2
- package/package.json +6 -1
- package/utils/data-item-types/calculate-data-item-icon.d.ts +1 -0
- package/components/funnel-chart-slots.config-WrokHS7f.cjs +0 -20
- package/components/luzmo-icons-DAsjNJNI.cjs +0 -31
- package/components/radar-chart-slots.config-Dxx5fKnS.cjs +0 -20
- package/components/symbol-map-slots.config-DtW-3xkd.cjs +0 -20
- package/utils/themes/utils.d.ts +0 -1
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const o=require("./area-chart-slots.config-
|
20
|
+
"use strict";const o=require("./area-chart-slots.config-Dx_ysVZK.cjs"),t=require("./bar-chart-slots.config-c_9ABPOI.cjs"),e=require("./box-plot-slots.config-K-1CiWO-.cjs"),l=require("./bubble-chart-slots.config-BwSwgleO.cjs"),r=require("./bullet-chart-slots.config-DQarxMR7.cjs"),i=require("./choropleth-map-slots.config-CFERs0ca.cjs"),n=require("./circle-pack-chart-slots.config-B18aqdH1.cjs"),s=require("./circular-gauge-slots.config-Cd-nkNPm.cjs"),a=require("./column-chart-slots.config-C0nGjkmv.cjs"),f=require("./combination-chart-slots.config-CY07Q5Hw.cjs"),u=require("./conditional-number-slots.config-CD5ZwXuY.cjs"),c=require("./date-filter-slots.config-CrA5ijD3.cjs"),g=require("./donut-chart-slots.config-DBowIZNO.cjs"),S=require("./dropdown-filter-slots.config-0wn6pMvi.cjs"),C=require("./evolution-number-slots.config-CNNVp6vR.cjs"),d=require("./funnel-chart-slots.config-GKBCY9xN.cjs"),h=require("./heat-map-slots.config-D7cSAVdX.cjs"),_=require("./heat-table-slots.config-GGX3BCh1.cjs"),q=require("./hexbin-map-slots.config-D7cSAVdX.cjs"),p=require("./image-slots.config-mPXMR1CE.cjs"),b=require("./line-chart-slots.config-Dx_ysVZK.cjs"),m=require("./marker-map-slots.config-D7cSAVdX.cjs"),M=require("./ohlc-chart-slots.config-DMomcHMV.cjs"),P=require("./parallel-coordinates-plot-slots.config--fk40ZDu.cjs"),F=require("./pivot-table-slots.config-45V_Gdm7.cjs"),v=require("./pyramid-chart-slots.config-D5F0WX2d.cjs"),k=require("./radar-chart-slots.config-BEigR_Ml.cjs"),y=require("./regular-table-slots.config-RLnMgOXn.cjs"),T=require("./route-map-slots.config-DsVJBR3D.cjs"),x=require("./sankey-diagram-slots.config-CiyYElLX.cjs"),w=require("./scatter-plot-slots.config-47cB5_RC.cjs"),D=require("./search-filter-slots.config-DeHkvc2Q.cjs"),N=require("./slicer-filter-slots.config-V7hURjKI.cjs"),j=require("./slider-filter-slots.config-B--K9cpP.cjs"),G=require("./speedometer-chart-slots.config-Cd-nkNPm.cjs"),O=require("./spike-map-slots.config-BM5-Dlub.cjs"),z=require("./strip-plot-slots.config-DDUlLO8K.cjs"),A=require("./sunburst-chart-slots.config-B18aqdH1.cjs"),B=require("./symbol-map-slots.config-Dm_FRGHA.cjs"),E=require("./text-slots.config-BMBEkf0O.cjs"),H=require("./treemap-chart-slots.config-C3bnHCyy.cjs"),I=require("./venn-diagram-slots.config-GytlZGbF.cjs"),J=require("./video-slots.config-mPXMR1CE.cjs"),K=require("./wordcloud-chart-slots.config-D7CiYopX.cjs"),L=Object.freeze(Object.defineProperty({__proto__:null,areaChartSlotsConfig:o.default,barChartSlotsConfig:t.default,boxPlotSlotsConfig:e.default,bubbleChartSlotsConfig:l.default,bulletChartSlotsConfig:r.default,choroplethMapSlotsConfig:i.default,circlePackChartSlotsConfig:n.default,circularGaugeSlotsConfig:s.default,columnChartSlotsConfig:a.default,combinationChartSlotsConfig:f.default,conditionalNumberSlotsConfig:u.default,dateFilterSlotsConfig:c.default,donutChartSlotsConfig:g.default,dropdownFilterSlotsConfig:S.default,evolutionNumberSlotsConfig:C.default,funnelChartSlotsConfig:d.default,heatMapSlotsConfig:h.default,heatTableSlotsConfig:_.default,hexbinMapSlotsConfig:q.default,imageSlotsConfig:p.default,lineChartSlotsConfig:b.default,markerMapSlotsConfig:m.default,ohlcChartSlotsConfig:M.default,parallelCoordinatesPlotSlotsConfig:P.default,pivotTableSlotsConfig:F.default,pyramidChartSlotsConfig:v.default,radarChartSlotsConfig:k.default,regularTableSlotsConfig:y.default,routeMapSlotsConfig:T.default,sankeyDiagramSlotsConfig:x.default,scatterPlotSlotsConfig:w.default,searchFilterSlotsConfig:D.default,slicerFilterSlotsConfig:N.default,sliderFilterSlotsConfig:j.default,speedometerChartSlotsConfig:G.default,spikeMapSlotsConfig:O.default,stripPlotSlotsConfig:z.default,sunburstChartSlotsConfig:A.default,symbolMapSlotsConfig:B.default,textSlotsConfig:E.default,treemapChartSlotsConfig:H.default,vennDiagramSlotsConfig:I.default,videoSlotsConfig:J.default,wordcloudChartSlotsConfig:K.default},Symbol.toStringTag,{value:"Module"}));exports.slotsConfigs=L;
|
@@ -26,9 +26,9 @@ import { n as I } from "./element-resolution-FCUT-wql--7ctE626.js";
|
|
26
26
|
import { b as M, y as R, a as D } from "./observe-slot-text-BPfIQQtz-v6B-1BYh.js";
|
27
27
|
import { r as O } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
28
28
|
import { b as P } from "./observe-slot-presence-CmVi0zTc-DCFuXW7v.js";
|
29
|
-
import { a as U } from "./index-
|
29
|
+
import { a as U } from "./index-BmshD32H.js";
|
30
30
|
import { D as y, z as L, Z as $ } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
31
|
-
import { o as T } from "./index-
|
31
|
+
import { o as T } from "./index-DUF6bALI.js";
|
32
32
|
/*! * Lucero - The design system for Luzmo.
|
33
33
|
*
|
34
34
|
* Copyright © 2025 Luzmo
|
@@ -704,7 +704,7 @@ class s extends M(
|
|
704
704
|
@focusin=${(t) => t.stopPropagation()}
|
705
705
|
></slot>
|
706
706
|
`;
|
707
|
-
return this.hasSubmenu ? (this.dependencyManager.add("luzmo-overlay"), this.dependencyManager.add("luzmo-popover"), import("./index-
|
707
|
+
return this.hasSubmenu ? (this.dependencyManager.add("luzmo-overlay"), this.dependencyManager.add("luzmo-popover"), import("./index-DUF6bALI.js").then((t) => t.b).then((t) => t.f), import("./popover-DjX0aAnY-B_ujTfos.js"), d`
|
708
708
|
<luzmo-overlay
|
709
709
|
.triggerElement=${this}
|
710
710
|
?disabled=${!this.hasSubmenu}
|
@@ -17,48 +17,48 @@
|
|
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 o from "./area-chart-slots.config-
|
21
|
-
import t from "./bar-chart-slots.config-
|
22
|
-
import r from "./box-plot-slots.config-
|
20
|
+
import o from "./area-chart-slots.config-DoytjTpw.js";
|
21
|
+
import t from "./bar-chart-slots.config-Dn0IV43j.js";
|
22
|
+
import r from "./box-plot-slots.config-FI5Id-7p.js";
|
23
23
|
import i from "./bubble-chart-slots.config-Bbh94VgZ.js";
|
24
24
|
import l from "./bullet-chart-slots.config-BlWTleBt.js";
|
25
|
-
import f from "./choropleth-map-slots.config-
|
26
|
-
import n from "./circle-pack-chart-slots.config-
|
25
|
+
import f from "./choropleth-map-slots.config-DStOyVgQ.js";
|
26
|
+
import n from "./circle-pack-chart-slots.config-lV4uNMcp.js";
|
27
27
|
import s from "./circular-gauge-slots.config-DA-ZAc5d.js";
|
28
|
-
import a from "./column-chart-slots.config-
|
29
|
-
import m from "./combination-chart-slots.config-
|
28
|
+
import a from "./column-chart-slots.config-epF0y5yo.js";
|
29
|
+
import m from "./combination-chart-slots.config-DRKSJyCC.js";
|
30
30
|
import g from "./conditional-number-slots.config-L3t5pb1-.js";
|
31
|
-
import e from "./date-filter-slots.config-
|
32
|
-
import S from "./donut-chart-slots.config-
|
33
|
-
import C from "./dropdown-filter-slots.config-
|
34
|
-
import p from "./evolution-number-slots.config-
|
35
|
-
import c from "./funnel-chart-slots.config-
|
36
|
-
import h from "./heat-map-slots.config-
|
31
|
+
import e from "./date-filter-slots.config-DIjChKTZ.js";
|
32
|
+
import S from "./donut-chart-slots.config-CHLEBSDg.js";
|
33
|
+
import C from "./dropdown-filter-slots.config-D2J9Z5aQ.js";
|
34
|
+
import p from "./evolution-number-slots.config-CSDEf5Lv.js";
|
35
|
+
import c from "./funnel-chart-slots.config-B-72sm5j.js";
|
36
|
+
import h from "./heat-map-slots.config-CAj40INL.js";
|
37
37
|
import _ from "./heat-table-slots.config-DJkP72oT.js";
|
38
|
-
import b from "./hexbin-map-slots.config-
|
38
|
+
import b from "./hexbin-map-slots.config-CAj40INL.js";
|
39
39
|
import u from "./image-slots.config-IpwUxDyU.js";
|
40
|
-
import d from "./line-chart-slots.config-
|
41
|
-
import M from "./marker-map-slots.config-
|
40
|
+
import d from "./line-chart-slots.config-DoytjTpw.js";
|
41
|
+
import M from "./marker-map-slots.config-CAj40INL.js";
|
42
42
|
import P from "./ohlc-chart-slots.config-Cvy5n1xv.js";
|
43
|
-
import F from "./parallel-coordinates-plot-slots.config-
|
44
|
-
import v from "./pivot-table-slots.config-
|
45
|
-
import k from "./pyramid-chart-slots.config-
|
46
|
-
import y from "./radar-chart-slots.config-
|
47
|
-
import x from "./regular-table-slots.config-
|
48
|
-
import T from "./route-map-slots.config-
|
49
|
-
import w from "./sankey-diagram-slots.config-
|
50
|
-
import D from "./scatter-plot-slots.config-
|
51
|
-
import N from "./search-filter-slots.config-
|
52
|
-
import j from "./slicer-filter-slots.config-
|
53
|
-
import G from "./slider-filter-slots.config-
|
43
|
+
import F from "./parallel-coordinates-plot-slots.config-BjRcJdWM.js";
|
44
|
+
import v from "./pivot-table-slots.config-CGU7IyDG.js";
|
45
|
+
import k from "./pyramid-chart-slots.config-lfxmIAy_.js";
|
46
|
+
import y from "./radar-chart-slots.config-CuQvda0y.js";
|
47
|
+
import x from "./regular-table-slots.config-eQ8HccjY.js";
|
48
|
+
import T from "./route-map-slots.config-B9dcwOXi.js";
|
49
|
+
import w from "./sankey-diagram-slots.config-DmqnP_mH.js";
|
50
|
+
import D from "./scatter-plot-slots.config-DjURFO07.js";
|
51
|
+
import N from "./search-filter-slots.config-CCEWnbiJ.js";
|
52
|
+
import j from "./slicer-filter-slots.config-AOwwW5Ut.js";
|
53
|
+
import G from "./slider-filter-slots.config-D7cv_Ky4.js";
|
54
54
|
import O from "./speedometer-chart-slots.config-DA-ZAc5d.js";
|
55
|
-
import z from "./spike-map-slots.config-
|
56
|
-
import q from "./strip-plot-slots.config-
|
57
|
-
import A from "./sunburst-chart-slots.config-
|
58
|
-
import B from "./symbol-map-slots.config-
|
55
|
+
import z from "./spike-map-slots.config-Bq0WfdI4.js";
|
56
|
+
import q from "./strip-plot-slots.config-B1OLcL4K.js";
|
57
|
+
import A from "./sunburst-chart-slots.config-lV4uNMcp.js";
|
58
|
+
import B from "./symbol-map-slots.config-DT5lvWh_.js";
|
59
59
|
import E from "./text-slots.config-Hy5yNIAX.js";
|
60
60
|
import H from "./treemap-chart-slots.config-xLD22K9V.js";
|
61
|
-
import I from "./venn-diagram-slots.config-
|
61
|
+
import I from "./venn-diagram-slots.config-BPxkBFb6.js";
|
62
62
|
import J from "./video-slots.config-IpwUxDyU.js";
|
63
63
|
import K from "./wordcloud-chart-slots.config-BS4sOOHt.js";
|
64
64
|
const zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
@@ -36,10 +36,37 @@ import { m as b, d as c } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
|
36
36
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
37
37
|
* SOFTWARE.
|
38
38
|
* */
|
39
|
-
const
|
39
|
+
const d = [
|
40
|
+
"button",
|
41
|
+
"[focusable]",
|
42
|
+
"[href]",
|
43
|
+
"input",
|
44
|
+
"label",
|
45
|
+
"select",
|
46
|
+
"textarea",
|
47
|
+
"[tabindex]"
|
48
|
+
], u = ':not([tabindex="-1"])', _ = d.join(`${u}, `) + u, v = d.join(", ");
|
49
|
+
/*! * Lucero - The design system for Luzmo.
|
50
|
+
*
|
51
|
+
* Copyright © 2025 Luzmo
|
52
|
+
* All rights reserved.
|
53
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
54
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
55
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
56
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
57
|
+
*
|
58
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
59
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
60
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
61
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
62
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
63
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
64
|
+
* SOFTWARE.
|
65
|
+
* */
|
66
|
+
const f = Symbol(
|
40
67
|
"dependency manager loaded"
|
41
68
|
);
|
42
|
-
class
|
69
|
+
class T {
|
43
70
|
constructor(o) {
|
44
71
|
this.dependencies = {}, this._loaded = !1, this.host = o;
|
45
72
|
}
|
@@ -52,7 +79,7 @@ class f {
|
|
52
79
|
return this._loaded;
|
53
80
|
}
|
54
81
|
set loaded(o) {
|
55
|
-
o !== this.loaded && (this._loaded = o, this.host.requestUpdate(
|
82
|
+
o !== this.loaded && (this._loaded = o, this.host.requestUpdate(f, !this.loaded));
|
56
83
|
}
|
57
84
|
/**
|
58
85
|
* Submit a custom element tag name to be managed as a dependency.
|
@@ -70,33 +97,6 @@ class f {
|
|
70
97
|
}, this.loaded = Object.values(this.dependencies).every(Boolean);
|
71
98
|
}
|
72
99
|
}
|
73
|
-
/*! * Lucero - The design system for Luzmo.
|
74
|
-
*
|
75
|
-
* Copyright © 2025 Luzmo
|
76
|
-
* All rights reserved.
|
77
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
78
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
79
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
80
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
81
|
-
*
|
82
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
83
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
84
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
85
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
86
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
87
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
88
|
-
* SOFTWARE.
|
89
|
-
* */
|
90
|
-
const d = [
|
91
|
-
"button",
|
92
|
-
"[focusable]",
|
93
|
-
"[href]",
|
94
|
-
"input",
|
95
|
-
"label",
|
96
|
-
"select",
|
97
|
-
"textarea",
|
98
|
-
"[tabindex]"
|
99
|
-
], u = ':not([tabindex="-1"])', _ = d.join(`${u}, `) + u, T = d.join(", ");
|
100
100
|
/*! * Lucero - The design system for Luzmo.
|
101
101
|
*
|
102
102
|
* Copyright © 2025 Luzmo
|
@@ -191,7 +191,7 @@ class e extends z(h, {
|
|
191
191
|
defaultSize: "s"
|
192
192
|
}) {
|
193
193
|
constructor() {
|
194
|
-
super(...arguments), this.delayed = !1, this.dependencyManager = new
|
194
|
+
super(...arguments), this.delayed = !1, this.dependencyManager = new T(this), this.disabled = !1, this.selfManaged = !1, this.offset = 0, this.open = !1, this._variant = "", this.handleOpenOverlay = () => {
|
195
195
|
this.open = !0;
|
196
196
|
}, this.handleCloseOverlay = () => {
|
197
197
|
this.open = !1;
|
@@ -228,7 +228,7 @@ class e extends z(h, {
|
|
228
228
|
return null;
|
229
229
|
let i = t.parentElement || l.host || /* c8 ignore next 1 */
|
230
230
|
l;
|
231
|
-
for (; !((o = i == null ? void 0 : i.matches) != null && o.call(i,
|
231
|
+
for (; !((o = i == null ? void 0 : i.matches) != null && o.call(i, v)); ) {
|
232
232
|
if (t = i.assignedSlot || i, l = t.getRootNode(), l === document)
|
233
233
|
return null;
|
234
234
|
i = t.parentElement || l.host || /* c8 ignore next 1 */
|
@@ -250,7 +250,7 @@ class e extends z(h, {
|
|
250
250
|
<span id="tip" aria-hidden="true"></span>
|
251
251
|
</luzmo-tooltip-openable>
|
252
252
|
`;
|
253
|
-
return this.selfManaged ? (this.dependencyManager.add("luzmo-overlay"), import("./index-
|
253
|
+
return this.selfManaged ? (this.dependencyManager.add("luzmo-overlay"), import("./index-DUF6bALI.js").then((t) => t.i), m`
|
254
254
|
<luzmo-overlay
|
255
255
|
?open=${this.open && !this.disabled && this.dependencyManager.loaded}
|
256
256
|
?delayed=${this.delayed}
|
@@ -311,6 +311,6 @@ r([
|
|
311
311
|
], e.prototype, "variant", 1);
|
312
312
|
customElements.get("luzmo-tooltip") || customElements.define("luzmo-tooltip", e);
|
313
313
|
export {
|
314
|
-
|
314
|
+
T as a,
|
315
315
|
_ as t
|
316
316
|
};
|
@@ -20,12 +20,12 @@
|
|
20
20
|
import { m as k, R as c, d, w as f, a as z, z as a } from "./base-D76d76ww-BGkuhs54.js";
|
21
21
|
import { n as h } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
22
22
|
import { m as u, d as v } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
|
-
import { g as y, u as x, o as w, v as b, a as I } from "./pending-state-DTX7ggyF-
|
24
|
-
import { p as $ } from "./index-
|
23
|
+
import { g as y, u as x, o as w, v as b, a as I } from "./pending-state-DTX7ggyF-BQdsLMT1.js";
|
24
|
+
import { p as $ } from "./index-DUF6bALI.js";
|
25
25
|
import { r as S } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
26
|
-
import { a as M } from "./index-
|
26
|
+
import { a as M } from "./index-BmshD32H.js";
|
27
27
|
import { D as m, s as q, u as C } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
28
|
-
import "./index-
|
28
|
+
import "./index-Bdy8Bz-n.js";
|
29
29
|
import "./index-C3N6qTxJ.js";
|
30
30
|
/*! * Lucero - The design system for Luzmo.
|
31
31
|
*
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const l=require("./base-D76d76ww-tT6yr8eb.cjs"),v=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),w=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),y=require("./query-assigned-nodes-C76XVPWY-BW2w3V7-.cjs"),k=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),f=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs"),S=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),E=require("./observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs"),C=require("./index-
|
20
|
+
"use strict";const l=require("./base-D76d76ww-tT6yr8eb.cjs"),v=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),w=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),y=require("./query-assigned-nodes-C76XVPWY-BW2w3V7-.cjs"),k=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),f=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs"),S=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),E=require("./observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs"),C=require("./index-CYeQkVeJ.cjs"),p=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),A=require("./index-CUvucmA0.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -65,7 +65,7 @@
|
|
65
65
|
@luzmo-menu-item-added-or-updated=${{handleEvent:t=>{t.clear(t.item)},capture:!0}}
|
66
66
|
@focusin=${t=>t.stopPropagation()}
|
67
67
|
></slot>
|
68
|
-
`;return this.hasSubmenu?(this.dependencyManager.add("luzmo-overlay"),this.dependencyManager.add("luzmo-popover"),Promise.resolve().then(()=>require("./index-
|
68
|
+
`;return this.hasSubmenu?(this.dependencyManager.add("luzmo-overlay"),this.dependencyManager.add("luzmo-popover"),Promise.resolve().then(()=>require("./index-CUvucmA0.cjs")).then(t=>t.overlayCig9r6uU).then(t=>t.f),Promise.resolve().then(()=>require("./popover-DjX0aAnY-CSUMV_Ay.cjs")),l.Rt`
|
69
69
|
<luzmo-overlay
|
70
70
|
.triggerElement=${this}
|
71
71
|
?disabled=${!this.hasSubmenu}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const F=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs"),r=require("./base-D76d76ww-tT6yr8eb.cjs"),_=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),K=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),io=require("./observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs"),ro=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),y=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),b=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),no=require("./async-directive-BfcqVjDp-C8C45jl6.cjs");require("./index-BKwbYw6x.cjs");const so=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./pending-state-DTX7ggyF-
|
20
|
+
"use strict";const F=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs"),r=require("./base-D76d76ww-tT6yr8eb.cjs"),_=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),K=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),io=require("./observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs"),ro=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),y=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),b=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),no=require("./async-directive-BfcqVjDp-C8C45jl6.cjs");require("./index-BKwbYw6x.cjs");const so=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./pending-state-DTX7ggyF-CoV2RbDq.cjs"),ao=require("./index-CYeQkVeJ.cjs");require("./index-DSQyBS9Z.cjs");require("./index-CUvucmA0.cjs");require("./index-BoXbQm2o.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const f=require("./base-D76d76ww-tT6yr8eb.cjs"),H=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),Y=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),Z=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),bt=require("./index-
|
20
|
+
"use strict";const f=require("./base-D76d76ww-tT6yr8eb.cjs"),H=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),Y=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),Z=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),bt=require("./index-CYeQkVeJ.cjs"),ft=require("./async-directive-BfcqVjDp-C8C45jl6.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -33,7 +33,7 @@
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
35
|
* SOFTWARE.
|
36
|
-
* */const
|
36
|
+
* */const c=["button","[focusable]","[href]","input","label","select","textarea","[tabindex]"],u=':not([tabindex="-1"])',z=c.join(`${u}, `)+u,h=c.join(", ");/*! * Lucero - The design system for Luzmo.
|
37
37
|
*
|
38
38
|
* Copyright © 2025 Luzmo
|
39
39
|
* All rights reserved.
|
@@ -49,7 +49,7 @@
|
|
49
49
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
50
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
51
51
|
* SOFTWARE.
|
52
|
-
* */const
|
52
|
+
* */const g=Symbol("dependency manager loaded");class d{constructor(o){this.dependencies={},this._loaded=!1,this.host=o}get loaded(){return this._loaded}set loaded(o){o!==this.loaded&&(this._loaded=o,this.host.requestUpdate(g,!this.loaded))}add(o,t){const l=!!t||!!customElements.get(o)||this.dependencies[o];l||customElements.whenDefined(o).then(()=>{this.add(o,!0)}),this.dependencies={...this.dependencies,[o]:l},this.loaded=Object.values(this.dependencies).every(Boolean)}}/*! * Lucero - The design system for Luzmo.
|
53
53
|
*
|
54
54
|
* Copyright © 2025 Luzmo
|
55
55
|
* All rights reserved.
|
@@ -65,7 +65,7 @@
|
|
65
65
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
66
66
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
67
67
|
* SOFTWARE.
|
68
|
-
* */const b=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const p=document.createElement("style");p.setAttribute("data-luzmo-vars",""),p.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-disabled-color);--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-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #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(p)}};b();const v="#tooltip{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration, .13s) ease-in-out,opacity var(--luzmo-overlay-animation-duration, .13s) ease-in-out,visibility 0s linear var(--luzmo-overlay-animation-duration, .13s)}:host([open]) #tooltip{pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened, 0s)}@media (forced-colors: active){#tooltip{border:1px solid rgba(0,0,0,0)}#tip{--highcontrast-tooltip-background-color-default: CanvasText;--highcontrast-tooltip-background-color-informative: CanvasText;--highcontrast-tooltip-background-color-positive: CanvasText;--highcontrast-tooltip-background-color-negative: CanvasText;forced-color-adjust:none}}#tooltip{box-sizing:border-box;vertical-align:top;inline-size:auto;padding-inline:var(--luzmo-tooltip-spacing-inline, .688rem);border-radius:var(--luzmo-tooltip-border-radius, .313rem);block-size:auto;min-block-size:var(--luzmo-tooltip-height, 1.875rem);max-inline-size:var(--luzmo-tooltip-max-inline-size, 12.5rem);background-color:var(--highcontrast-tooltip-background-color-default, var(--luzmo-tooltip-background-color-default, rgb(109, 109, 109)));color:var(--luzmo-tooltip-content-color, white);font-size:var(--luzmo-tooltip-font-size, var(--tooltip-font-size, .938rem));font-weight:var(--luzmo-tooltip-font-weight, 400);line-height:var(--luzmo-tooltip-line-height, 1.3);word-break:break-word;-webkit-font-smoothing:antialiased;cursor:default;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;display:inline-flex;position:relative}:host(:lang(ja)) #tooltip,:host(:lang(ko)) #tooltip,:host(:lang(zh)) #tooltip{line-height:var(--luzmo-tooltip-cjk-line-height, 1.5)}#tooltip p{margin:0}:host([variant=info]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-informative, var(--luzmo-tooltip-background-color-informative, rgb(2, 101, 220)))}:host([variant=positive]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-positive, var(--luzmo-tooltip-background-color-positive, rgb(0, 122, 77)))}:host([variant=negative]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-negative, var(--luzmo-tooltip-background-color-negative, rgb(211, 21, 16)))}#tip{block-size:var(--luzmo-tooltip-tip-square-size, .625rem);inline-size:var(--luzmo-tooltip-tip-square-size, .625rem);inset-block-start:100%;background-color:var(--highcontrast-tooltip-background-color-default, var(--luzmo-tooltip-background-color-default, rgb(109, 109, 109)));clip-path:polygon(0 calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)),50% var(--luzmo-tooltip-tip-height-percentage, 50%),100% calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)));position:absolute;left:50%;transform:translate(-50%)}:host([variant=info]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-informative, var(--luzmo-tooltip-background-color-informative, rgb(2, 101, 220)))}:host([variant=positive]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-positive, var(--luzmo-tooltip-background-color-positive, rgb(0, 122, 77)))}:host([variant=negative]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-negative, var(--luzmo-tooltip-background-color-negative, rgb(211, 21, 16)))}:host([placement*=top]) #tooltip #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip,.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip{clip-path:polygon(50% calc(100% - var(--luzmo-tooltip-tip-height-percentage, 50%)),0 calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)),100% calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)));inset-block:auto 100%}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{transform:none}.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--top-left #tip{inset-inline-start:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--top-right #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-start #tip{inset-inline:var(--luzmo-tooltip-pointer-corner-spacing, .313rem) auto}.luzmo-Tooltip--bottom-start #tip:dir(rtl),.luzmo-Tooltip--top-start #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--bottom-start #tip,:host([dir=rtl]) .luzmo-Tooltip--top-start #tip{right:var(--luzmo-tooltip-pointer-corner-spacing, .313rem);left:auto}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--top-end #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-end #tip:dir(rtl),.luzmo-Tooltip--top-end #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--bottom-end #tip,:host([dir=rtl]) .luzmo-Tooltip--top-end #tip{left:var(--luzmo-tooltip-pointer-corner-spacing, .313rem);right:auto}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:50%;transform:translateY(-50%)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:auto;transform:none}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip{clip-path:polygon(calc(100% - var(--luzmo-tooltip-tip-height-percentage, 50%)) 50%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0);inset-inline:auto 100%}:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0,calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,var(--luzmo-tooltip-tip-height-percentage, 50%) 50%);inset-inline-start:100%}.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--start-bottom #tip{inset-block-end:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--end #tip:dir(rtl),.luzmo-Tooltip--end-bottom #tip:dir(rtl),.luzmo-Tooltip--end-top #tip:dir(rtl),:host([placement*=left]) #tooltip #tip:dir(rtl),.luzmo-Tooltip--left-bottom #tip:dir(rtl),.luzmo-Tooltip--left-top #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--end #tip,:host([dir=rtl]) .luzmo-Tooltip--end-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--end-top #tip,:host([dir=rtl][placement*=left]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--left-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--left-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0,calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,var(--luzmo-tooltip-tip-height-percentage, 50%) 50%);left:100%;right:auto}:host([placement*=right]) #tooltip #tip:dir(rtl),.luzmo-Tooltip--right-bottom #tip:dir(rtl),.luzmo-Tooltip--right-top #tip:dir(rtl),.luzmo-Tooltip--start #tip:dir(rtl),.luzmo-Tooltip--start-bottom #tip:dir(rtl),.luzmo-Tooltip--start-top #tip:dir(rtl),:host([dir=rtl][placement*=right]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--right-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--right-top #tip,:host([dir=rtl]) .luzmo-Tooltip--start #tip,:host([dir=rtl]) .luzmo-Tooltip--start-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--start-top #tip{clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage, 50%) 50%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0);left:auto;right:100%}::slotted([slot=icon]){inline-size:var(--luzmo-tooltip-icon-width, 1.125rem);block-size:var(--luzmo-tooltip-icon-height, 1.125rem);flex-shrink:0;align-self:flex-start;margin-block-start:var(--luzmo-tooltip-icon-spacing-block-start, .313rem);margin-inline-start:calc(var(--luzmo-tooltip-icon-spacing-inline-start, .563rem) - var(--luzmo-tooltip-spacing-inline, .688rem));margin-inline-end:var(--luzmo-tooltip-icon-spacing-inline-end, .563rem)}#label{line-height:var(--luzmo-tooltip-line-height, 1.3);margin-block-start:var(--luzmo-tooltip-spacing-block-start, .313rem);margin-block-end:var(--luzmo-tooltip-spacing-block-end, .375rem)}#tooltip,:host([placement*=top]) #tooltip,.luzmo-Tooltip--top-end,.luzmo-Tooltip--top-left,.luzmo-Tooltip--top-right,.luzmo-Tooltip--top-start{margin-block-end:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--top-end,:host([open]) .luzmo-Tooltip--top-left,:host([open]) .luzmo-Tooltip--top-right,:host([open]) .luzmo-Tooltip--top-start,:host([placement*=top][open]) #tooltip,:host([open]) #tooltip{transform:translateY(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host([placement*=bottom]) #tooltip,.luzmo-Tooltip--bottom-end,.luzmo-Tooltip--bottom-left,.luzmo-Tooltip--bottom-right,.luzmo-Tooltip--bottom-start{margin-block-start:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--bottom-end,:host([open]) .luzmo-Tooltip--bottom-left,:host([open]) .luzmo-Tooltip--bottom-right,:host([open]) .luzmo-Tooltip--bottom-start,:host([placement*=bottom][open]) #tooltip{transform:translateY(var(--luzmo-tooltip-animation-distance, .313rem))}:host([placement*=right]) #tooltip,.luzmo-Tooltip--right-bottom,.luzmo-Tooltip--right-top{margin-left:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--right-bottom,:host([open]) .luzmo-Tooltip--right-top,:host([placement*=right][open]) #tooltip{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}:host([placement*=left]) #tooltip,.luzmo-Tooltip--left-bottom,.luzmo-Tooltip--left-top{margin-right:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--left-bottom,:host([open]) .luzmo-Tooltip--left-top,:host([placement*=left][open]) #tooltip{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}.luzmo-Tooltip--start,.luzmo-Tooltip--start-bottom,.luzmo-Tooltip--start-top{margin-inline-end:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--start-bottom,:host([open]) .luzmo-Tooltip--start-top,:host([open]) .luzmo-Tooltip--start{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host([open]) .luzmo-Tooltip--start-bottom:dir(rtl),:host([open]) .luzmo-Tooltip--start-top:dir(rtl),:host([open]) .luzmo-Tooltip--start:dir(rtl),:host([dir=rtl][open]) .luzmo-Tooltip--start-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--start-top,:host([dir=rtl][open]) .luzmo-Tooltip--start{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}.luzmo-Tooltip--end,.luzmo-Tooltip--end-bottom,.luzmo-Tooltip--end-top{margin-inline-start:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--end-bottom,:host([open]) .luzmo-Tooltip--end-top,:host([open]) .luzmo-Tooltip--end{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}:host([open]) .luzmo-Tooltip--end-bottom:dir(rtl),:host([open]) .luzmo-Tooltip--end-top:dir(rtl),:host([open]) .luzmo-Tooltip--end:dir(rtl),:host([dir=rtl][open]) .luzmo-Tooltip--end-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--end-top,:host([dir=rtl][open]) .luzmo-Tooltip--end{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host{--luzmo-tooltip-background-color-default: rgb(0, 0, 0);--tooltip-font-size: var(--luzmo-font-size)}:host([size=s]){--tooltip-font-size: var(--luzmo-font-size-s)}:host([size=m]){--tooltip-font-size: var(--luzmo-font-size-m)}:host([size=l]){--tooltip-font-size: var(--luzmo-font-size-l)}:host([size=xl]){--tooltip-font-size: var(--luzmo-font-size-xl)}:host{display:contents;white-space:initial}#tooltip{inline-size:max-content}#tip{clip-path:polygon(0 -5%,50% 50%,100% -5%);width:.625rem!important;height:.625rem!important}#tip[style]{transform:none!important}:host(:not([placement*=top])) #tooltip{margin-bottom:0}:host([placement*=top]) #tooltip #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip{inset-block-end:100%;clip-path:polygon(50% 50%,0 105%,100% 105%);top:auto}:host([placement*=left]) #tooltip #tip,:host([placement*=right]) #tooltip #tip{inset-block-start:50%;transform:translateY(-50%)}:host([placement*=right]) #tooltip #tip{clip-path:polygon(50% 50%,105% 100%,105% 0);inset-inline:calc(var(--luzmo-tooltip-tip-block-size, .313rem) * -2) 100%}:host([placement*=left]) #tooltip #tip{clip-path:polygon(-5% 0,-5% 100%,50% 50%);inset-inline-start:100%}luzmo-overlay:not(:defined){display:none}";var f=Object.defineProperty,T=Object.getOwnPropertyDescriptor,n=(p,o,t,l)=>{for(var i=l>1?void 0:l?T(o,t):o,a=p.length-1,s;a>=0;a--)(s=p[a])&&(i=(l?s(o,t,i):s(i))||i);return l&&i&&f(o,t,i),i};class y extends HTMLElement{constructor(){super(),this._open=!1,this._placement="top",this.addEventListener("luzmo-opened",this.redispatchEvent),this.addEventListener("luzmo-closed",this.redispatchEvent)}redispatchEvent(o){o.stopPropagation(),this.tooltip.dispatchEvent(new CustomEvent(o.type,{bubbles:o.bubbles,composed:o.composed,detail:o.detail}))}get tooltip(){return this.getRootNode().host}static get observedAttributes(){return["open","placement"]}attributeChangedCallback(o,t,l){switch(o){case"open":{this.open=l!==null;break}case"placement":{this.placement=l;break}}}set open(o){this._open=o;const{tooltip:t}=this;t&&(t.open=o)}get open(){return this._open}set placement(o){this._placement=o;const{tooltip:t}=this;t&&(t.placement=o)}get placement(){return this._placement}get tipElement(){return this.tooltip.tipElement}}customElements.get("luzmo-tooltip-openable")||customElements.define("luzmo-tooltip-openable",y);class r extends e.m(e.It,{defaultSize:"s"}){constructor(){super(...arguments),this.delayed=!1,this.dependencyManager=new c(this),this.disabled=!1,this.selfManaged=!1,this.offset=0,this.open=!1,this._variant="",this.handleOpenOverlay=()=>{this.open=!0},this.handleCloseOverlay=()=>{this.open=!1}}static get styles(){return[e.at(v)]}get variant(){return this._variant}set variant(o){if(o!==this.variant){if(["info","positive","negative"].includes(o)){this.setAttribute("variant",o),this._variant=o;return}this.removeAttribute("variant"),this._variant=""}}forwardTransitionEvent(o){this.dispatchEvent(new TransitionEvent(o.type,{bubbles:!0,composed:!0,propertyName:o.propertyName}))}get triggerElement(){var o;let t=this.assignedSlot||this,l=t.getRootNode();if(l===document)return null;let i=t.parentElement||l.host||l;for(;!((o=i==null?void 0:i.matches)!=null&&o.call(i,g));){if(t=i.assignedSlot||i,l=t.getRootNode(),l===document)return null;i=t.parentElement||l.host||l}return i}render(){const o=e.Rt`
|
68
|
+
* */const b=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const p=document.createElement("style");p.setAttribute("data-luzmo-vars",""),p.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-disabled-color);--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-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #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(p)}};b();const v="#tooltip{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration, .13s) ease-in-out,opacity var(--luzmo-overlay-animation-duration, .13s) ease-in-out,visibility 0s linear var(--luzmo-overlay-animation-duration, .13s)}:host([open]) #tooltip{pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened, 0s)}@media (forced-colors: active){#tooltip{border:1px solid rgba(0,0,0,0)}#tip{--highcontrast-tooltip-background-color-default: CanvasText;--highcontrast-tooltip-background-color-informative: CanvasText;--highcontrast-tooltip-background-color-positive: CanvasText;--highcontrast-tooltip-background-color-negative: CanvasText;forced-color-adjust:none}}#tooltip{box-sizing:border-box;vertical-align:top;inline-size:auto;padding-inline:var(--luzmo-tooltip-spacing-inline, .688rem);border-radius:var(--luzmo-tooltip-border-radius, .313rem);block-size:auto;min-block-size:var(--luzmo-tooltip-height, 1.875rem);max-inline-size:var(--luzmo-tooltip-max-inline-size, 12.5rem);background-color:var(--highcontrast-tooltip-background-color-default, var(--luzmo-tooltip-background-color-default, rgb(109, 109, 109)));color:var(--luzmo-tooltip-content-color, white);font-size:var(--luzmo-tooltip-font-size, var(--tooltip-font-size, .938rem));font-weight:var(--luzmo-tooltip-font-weight, 400);line-height:var(--luzmo-tooltip-line-height, 1.3);word-break:break-word;-webkit-font-smoothing:antialiased;cursor:default;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;display:inline-flex;position:relative}:host(:lang(ja)) #tooltip,:host(:lang(ko)) #tooltip,:host(:lang(zh)) #tooltip{line-height:var(--luzmo-tooltip-cjk-line-height, 1.5)}#tooltip p{margin:0}:host([variant=info]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-informative, var(--luzmo-tooltip-background-color-informative, rgb(2, 101, 220)))}:host([variant=positive]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-positive, var(--luzmo-tooltip-background-color-positive, rgb(0, 122, 77)))}:host([variant=negative]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-negative, var(--luzmo-tooltip-background-color-negative, rgb(211, 21, 16)))}#tip{block-size:var(--luzmo-tooltip-tip-square-size, .625rem);inline-size:var(--luzmo-tooltip-tip-square-size, .625rem);inset-block-start:100%;background-color:var(--highcontrast-tooltip-background-color-default, var(--luzmo-tooltip-background-color-default, rgb(109, 109, 109)));clip-path:polygon(0 calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)),50% var(--luzmo-tooltip-tip-height-percentage, 50%),100% calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)));position:absolute;left:50%;transform:translate(-50%)}:host([variant=info]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-informative, var(--luzmo-tooltip-background-color-informative, rgb(2, 101, 220)))}:host([variant=positive]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-positive, var(--luzmo-tooltip-background-color-positive, rgb(0, 122, 77)))}:host([variant=negative]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-negative, var(--luzmo-tooltip-background-color-negative, rgb(211, 21, 16)))}:host([placement*=top]) #tooltip #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip,.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip{clip-path:polygon(50% calc(100% - var(--luzmo-tooltip-tip-height-percentage, 50%)),0 calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)),100% calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)));inset-block:auto 100%}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{transform:none}.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--top-left #tip{inset-inline-start:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--top-right #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-start #tip{inset-inline:var(--luzmo-tooltip-pointer-corner-spacing, .313rem) auto}.luzmo-Tooltip--bottom-start #tip:dir(rtl),.luzmo-Tooltip--top-start #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--bottom-start #tip,:host([dir=rtl]) .luzmo-Tooltip--top-start #tip{right:var(--luzmo-tooltip-pointer-corner-spacing, .313rem);left:auto}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--top-end #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--bottom-end #tip:dir(rtl),.luzmo-Tooltip--top-end #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--bottom-end #tip,:host([dir=rtl]) .luzmo-Tooltip--top-end #tip{left:var(--luzmo-tooltip-pointer-corner-spacing, .313rem);right:auto}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:50%;transform:translateY(-50%)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:auto;transform:none}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip{clip-path:polygon(calc(100% - var(--luzmo-tooltip-tip-height-percentage, 50%)) 50%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0);inset-inline:auto 100%}:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0,calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,var(--luzmo-tooltip-tip-height-percentage, 50%) 50%);inset-inline-start:100%}.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--start-bottom #tip{inset-block-end:var(--luzmo-tooltip-pointer-corner-spacing, .313rem)}.luzmo-Tooltip--end #tip:dir(rtl),.luzmo-Tooltip--end-bottom #tip:dir(rtl),.luzmo-Tooltip--end-top #tip:dir(rtl),:host([placement*=left]) #tooltip #tip:dir(rtl),.luzmo-Tooltip--left-bottom #tip:dir(rtl),.luzmo-Tooltip--left-top #tip:dir(rtl),:host([dir=rtl]) .luzmo-Tooltip--end #tip,:host([dir=rtl]) .luzmo-Tooltip--end-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--end-top #tip,:host([dir=rtl][placement*=left]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--left-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--left-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0,calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,var(--luzmo-tooltip-tip-height-percentage, 50%) 50%);left:100%;right:auto}:host([placement*=right]) #tooltip #tip:dir(rtl),.luzmo-Tooltip--right-bottom #tip:dir(rtl),.luzmo-Tooltip--right-top #tip:dir(rtl),.luzmo-Tooltip--start #tip:dir(rtl),.luzmo-Tooltip--start-bottom #tip:dir(rtl),.luzmo-Tooltip--start-top #tip:dir(rtl),:host([dir=rtl][placement*=right]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--right-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--right-top #tip,:host([dir=rtl]) .luzmo-Tooltip--start #tip,:host([dir=rtl]) .luzmo-Tooltip--start-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--start-top #tip{clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage, 50%) 50%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 100%,calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset, .5px)) 0);left:auto;right:100%}::slotted([slot=icon]){inline-size:var(--luzmo-tooltip-icon-width, 1.125rem);block-size:var(--luzmo-tooltip-icon-height, 1.125rem);flex-shrink:0;align-self:flex-start;margin-block-start:var(--luzmo-tooltip-icon-spacing-block-start, .313rem);margin-inline-start:calc(var(--luzmo-tooltip-icon-spacing-inline-start, .563rem) - var(--luzmo-tooltip-spacing-inline, .688rem));margin-inline-end:var(--luzmo-tooltip-icon-spacing-inline-end, .563rem)}#label{line-height:var(--luzmo-tooltip-line-height, 1.3);margin-block-start:var(--luzmo-tooltip-spacing-block-start, .313rem);margin-block-end:var(--luzmo-tooltip-spacing-block-end, .375rem)}#tooltip,:host([placement*=top]) #tooltip,.luzmo-Tooltip--top-end,.luzmo-Tooltip--top-left,.luzmo-Tooltip--top-right,.luzmo-Tooltip--top-start{margin-block-end:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--top-end,:host([open]) .luzmo-Tooltip--top-left,:host([open]) .luzmo-Tooltip--top-right,:host([open]) .luzmo-Tooltip--top-start,:host([placement*=top][open]) #tooltip,:host([open]) #tooltip{transform:translateY(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host([placement*=bottom]) #tooltip,.luzmo-Tooltip--bottom-end,.luzmo-Tooltip--bottom-left,.luzmo-Tooltip--bottom-right,.luzmo-Tooltip--bottom-start{margin-block-start:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--bottom-end,:host([open]) .luzmo-Tooltip--bottom-left,:host([open]) .luzmo-Tooltip--bottom-right,:host([open]) .luzmo-Tooltip--bottom-start,:host([placement*=bottom][open]) #tooltip{transform:translateY(var(--luzmo-tooltip-animation-distance, .313rem))}:host([placement*=right]) #tooltip,.luzmo-Tooltip--right-bottom,.luzmo-Tooltip--right-top{margin-left:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--right-bottom,:host([open]) .luzmo-Tooltip--right-top,:host([placement*=right][open]) #tooltip{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}:host([placement*=left]) #tooltip,.luzmo-Tooltip--left-bottom,.luzmo-Tooltip--left-top{margin-right:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--left-bottom,:host([open]) .luzmo-Tooltip--left-top,:host([placement*=left][open]) #tooltip{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}.luzmo-Tooltip--start,.luzmo-Tooltip--start-bottom,.luzmo-Tooltip--start-top{margin-inline-end:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--start-bottom,:host([open]) .luzmo-Tooltip--start-top,:host([open]) .luzmo-Tooltip--start{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host([open]) .luzmo-Tooltip--start-bottom:dir(rtl),:host([open]) .luzmo-Tooltip--start-top:dir(rtl),:host([open]) .luzmo-Tooltip--start:dir(rtl),:host([dir=rtl][open]) .luzmo-Tooltip--start-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--start-top,:host([dir=rtl][open]) .luzmo-Tooltip--start{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}.luzmo-Tooltip--end,.luzmo-Tooltip--end-bottom,.luzmo-Tooltip--end-top{margin-inline-start:calc(var(--luzmo-tooltip-tip-block-size, .313rem) + var(--luzmo-tooltip-margin, 0rem))}:host([open]) .luzmo-Tooltip--end-bottom,:host([open]) .luzmo-Tooltip--end-top,:host([open]) .luzmo-Tooltip--end{transform:translate(var(--luzmo-tooltip-animation-distance, .313rem))}:host([open]) .luzmo-Tooltip--end-bottom:dir(rtl),:host([open]) .luzmo-Tooltip--end-top:dir(rtl),:host([open]) .luzmo-Tooltip--end:dir(rtl),:host([dir=rtl][open]) .luzmo-Tooltip--end-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--end-top,:host([dir=rtl][open]) .luzmo-Tooltip--end{transform:translate(calc(var(--luzmo-tooltip-animation-distance, .313rem) * -1))}:host{--luzmo-tooltip-background-color-default: rgb(0, 0, 0);--tooltip-font-size: var(--luzmo-font-size)}:host([size=s]){--tooltip-font-size: var(--luzmo-font-size-s)}:host([size=m]){--tooltip-font-size: var(--luzmo-font-size-m)}:host([size=l]){--tooltip-font-size: var(--luzmo-font-size-l)}:host([size=xl]){--tooltip-font-size: var(--luzmo-font-size-xl)}:host{display:contents;white-space:initial}#tooltip{inline-size:max-content}#tip{clip-path:polygon(0 -5%,50% 50%,100% -5%);width:.625rem!important;height:.625rem!important}#tip[style]{transform:none!important}:host(:not([placement*=top])) #tooltip{margin-bottom:0}:host([placement*=top]) #tooltip #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip{inset-block-end:100%;clip-path:polygon(50% 50%,0 105%,100% 105%);top:auto}:host([placement*=left]) #tooltip #tip,:host([placement*=right]) #tooltip #tip{inset-block-start:50%;transform:translateY(-50%)}:host([placement*=right]) #tooltip #tip{clip-path:polygon(50% 50%,105% 100%,105% 0);inset-inline:calc(var(--luzmo-tooltip-tip-block-size, .313rem) * -2) 100%}:host([placement*=left]) #tooltip #tip{clip-path:polygon(-5% 0,-5% 100%,50% 50%);inset-inline-start:100%}luzmo-overlay:not(:defined){display:none}";var f=Object.defineProperty,T=Object.getOwnPropertyDescriptor,n=(p,o,t,l)=>{for(var i=l>1?void 0:l?T(o,t):o,a=p.length-1,s;a>=0;a--)(s=p[a])&&(i=(l?s(o,t,i):s(i))||i);return l&&i&&f(o,t,i),i};class y extends HTMLElement{constructor(){super(),this._open=!1,this._placement="top",this.addEventListener("luzmo-opened",this.redispatchEvent),this.addEventListener("luzmo-closed",this.redispatchEvent)}redispatchEvent(o){o.stopPropagation(),this.tooltip.dispatchEvent(new CustomEvent(o.type,{bubbles:o.bubbles,composed:o.composed,detail:o.detail}))}get tooltip(){return this.getRootNode().host}static get observedAttributes(){return["open","placement"]}attributeChangedCallback(o,t,l){switch(o){case"open":{this.open=l!==null;break}case"placement":{this.placement=l;break}}}set open(o){this._open=o;const{tooltip:t}=this;t&&(t.open=o)}get open(){return this._open}set placement(o){this._placement=o;const{tooltip:t}=this;t&&(t.placement=o)}get placement(){return this._placement}get tipElement(){return this.tooltip.tipElement}}customElements.get("luzmo-tooltip-openable")||customElements.define("luzmo-tooltip-openable",y);class r extends e.m(e.It,{defaultSize:"s"}){constructor(){super(...arguments),this.delayed=!1,this.dependencyManager=new d(this),this.disabled=!1,this.selfManaged=!1,this.offset=0,this.open=!1,this._variant="",this.handleOpenOverlay=()=>{this.open=!0},this.handleCloseOverlay=()=>{this.open=!1}}static get styles(){return[e.at(v)]}get variant(){return this._variant}set variant(o){if(o!==this.variant){if(["info","positive","negative"].includes(o)){this.setAttribute("variant",o),this._variant=o;return}this.removeAttribute("variant"),this._variant=""}}forwardTransitionEvent(o){this.dispatchEvent(new TransitionEvent(o.type,{bubbles:!0,composed:!0,propertyName:o.propertyName}))}get triggerElement(){var o;let t=this.assignedSlot||this,l=t.getRootNode();if(l===document)return null;let i=t.parentElement||l.host||l;for(;!((o=i==null?void 0:i.matches)!=null&&o.call(i,h));){if(t=i.assignedSlot||i,l=t.getRootNode(),l===document)return null;i=t.parentElement||l.host||l}return i}render(){const o=e.Rt`
|
69
69
|
<luzmo-tooltip-openable
|
70
70
|
id="tooltip"
|
71
71
|
placement=${m.m(this.placement)}
|
@@ -77,7 +77,7 @@
|
|
77
77
|
<span id="label"><slot></slot></span>
|
78
78
|
<span id="tip" aria-hidden="true"></span>
|
79
79
|
</luzmo-tooltip-openable>
|
80
|
-
`;return this.selfManaged?(this.dependencyManager.add("luzmo-overlay"),Promise.resolve().then(()=>require("./index-
|
80
|
+
`;return this.selfManaged?(this.dependencyManager.add("luzmo-overlay"),Promise.resolve().then(()=>require("./index-CUvucmA0.cjs")).then(t=>t.index),e.Rt`
|
81
81
|
<luzmo-overlay
|
82
82
|
?open=${this.open&&!this.disabled&&this.dependencyManager.loaded}
|
83
83
|
?delayed=${this.delayed}
|
@@ -92,4 +92,4 @@
|
|
92
92
|
>
|
93
93
|
${o}
|
94
94
|
</luzmo-overlay>
|
95
|
-
`):o}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{if(!this.selfManaged)return;const o=this.overlayElement;if(o){const t=this.triggerElement;o.triggerElement=t}})}}n([e.zt({type:Boolean})],r.prototype,"delayed",2);n([e.zt({type:Boolean})],r.prototype,"disabled",2);n([e.zt({type:Boolean,attribute:"self-managed"})],r.prototype,"selfManaged",2);n([e.zt({type:Number})],r.prototype,"offset",2);n([e.zt({type:Boolean,reflect:!0})],r.prototype,"open",2);n([m.d("luzmo-overlay")],r.prototype,"overlayElement",2);n([e.zt({reflect:!0})],r.prototype,"placement",2);n([m.d("#tip")],r.prototype,"tipElement",2);n([e.zt({type:Number})],r.prototype,"tipPadding",2);n([e.zt({type:String})],r.prototype,"variant",1);customElements.get("luzmo-tooltip")||customElements.define("luzmo-tooltip",r);exports.a=
|
95
|
+
`):o}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{if(!this.selfManaged)return;const o=this.overlayElement;if(o){const t=this.triggerElement;o.triggerElement=t}})}}n([e.zt({type:Boolean})],r.prototype,"delayed",2);n([e.zt({type:Boolean})],r.prototype,"disabled",2);n([e.zt({type:Boolean,attribute:"self-managed"})],r.prototype,"selfManaged",2);n([e.zt({type:Number})],r.prototype,"offset",2);n([e.zt({type:Boolean,reflect:!0})],r.prototype,"open",2);n([m.d("luzmo-overlay")],r.prototype,"overlayElement",2);n([e.zt({reflect:!0})],r.prototype,"placement",2);n([m.d("#tip")],r.prototype,"tipElement",2);n([e.zt({type:Number})],r.prototype,"tipPadding",2);n([e.zt({type:String})],r.prototype,"variant",1);customElements.get("luzmo-tooltip")||customElements.define("luzmo-tooltip",r);exports.a=d;exports.t=z;
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
const
|
20
|
+
const l = [
|
21
21
|
"default",
|
22
22
|
"default_dark",
|
23
23
|
"vivid",
|
@@ -43,18 +43,16 @@ const n = [
|
|
43
43
|
radiant: "radiant",
|
44
44
|
classic: "classic",
|
45
45
|
classic_dark: "classic-dark"
|
46
|
-
},
|
47
|
-
const
|
48
|
-
if (
|
49
|
-
const
|
50
|
-
let
|
51
|
-
return
|
46
|
+
}, e = /* @__PURE__ */ Object.assign({ "./bliss.ts": () => import("./bliss-Da17RL_E.js"), "./classic-dark.ts": () => import("./classic-dark-o89nk6Bo.js"), "./classic.ts": () => import("./classic-DSp70wnP.js"), "./default-dark.ts": () => import("./default-dark-IedybpaJ.js"), "./default.ts": () => import("./default-DBxqR7y5.js"), "./orion.ts": () => import("./orion-DiAhsMdg.js"), "./pinky.ts": () => import("./pinky-Cb0md2xU.js"), "./radiant.ts": () => import("./radiant-C6fqp6jv.js"), "./royale.ts": () => import("./royale-CmXiODck.js"), "./seasonal.ts": () => import("./seasonal-9pbLR3XJ.js"), "./urban.ts": () => import("./urban-CZ4PAlar.js"), "./vivid.ts": () => import("./vivid-B-cgSae_.js") }), n = async (i) => {
|
47
|
+
const t = `./${o[i]}.ts`;
|
48
|
+
if (e[t]) {
|
49
|
+
const s = await e[t]();
|
50
|
+
let a;
|
51
|
+
return s && Object.keys(s).length > 0 && (a = s[Object.keys(s)[0]]), structuredClone(a);
|
52
52
|
}
|
53
|
-
console.warn(`Theme module not found: ${
|
54
|
-
}
|
55
|
-
__proto__: null
|
56
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
53
|
+
console.warn(`Theme module not found: ${t}`);
|
54
|
+
};
|
57
55
|
export {
|
58
|
-
|
59
|
-
|
56
|
+
n as g,
|
57
|
+
l as s
|
60
58
|
};
|
@@ -28,10 +28,10 @@ import { _ as lo, $ as Io, s as io, a as Lo, p as A, g as L, b as j, x as To, n
|
|
28
28
|
import { C as Vo } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
29
29
|
import "./index-C3N6qTxJ.js";
|
30
30
|
import { r as Bo } from "./divider.module-DoQWQEIJ-B19eHVg2.js";
|
31
|
-
import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-
|
32
|
-
import { a as Do } from "./index-
|
31
|
+
import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-BQdsLMT1.js";
|
32
|
+
import { a as Do } from "./index-BmshD32H.js";
|
33
33
|
import "./index-BC1LV3vH.js";
|
34
|
-
import "./index-
|
34
|
+
import "./index-DUF6bALI.js";
|
35
35
|
import "./index-CTVNGPeT.js";
|
36
36
|
/*! * Lucero - The design system for Luzmo.
|
37
37
|
*
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";require("./index-j8UKjHqY.cjs");require("./index-CT2vEcpn.cjs");require("./index-B_dW2-QA.cjs");const a=require("./property-BCb4Kybn.cjs"),e=require("./set-locale-Cam8nRIW.cjs"),q=require("./localized-decorator-SOrjcPab.cjs"),h=require("./base-D76d76ww-tT6yr8eb.cjs");require("./focusable-BxtpnzWp-CkK9AeMt.cjs");const E=require("./state-BxZEcclm.cjs"),u=()=>[{id:"? = ?",key:"? = ?",expression:"? = ?",name:e.msg("equals",{desc:"Filter expression for equals comparison"}),description:e.msg("equals",{desc:"Filter expression for equals comparison"}),tiny:e.msg("eq",{desc:"Short form of equals comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? != ?",key:"? != ?",expression:"? != ?",name:e.msg("not equals",{desc:"Filter expression for not equals comparison"}),description:e.msg("not equals",{desc:"Filter expression for not equals comparison"}),tiny:e.msg("not eq",{desc:"Short form of not equals comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? in ?",key:"? in ?",expression:"? in ?",name:e.msg("is in",{desc:"Filter expression for in comparison"}),description:e.msg("is in",{desc:"Filter expression for in comparison"}),tiny:e.msg("is in",{desc:"Filter expression for in comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? not in ?",key:"? not in ?",expression:"? not in ?",name:e.msg("is not in",{desc:"Filter expression for not in comparison"}),description:e.msg("is not in",{desc:"Filter expression for not in comparison"}),tiny:e.msg("is not in",{desc:"Filter expression for not in comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? like ?",key:"? like ?",expression:"? like ?",name:e.msg("contains",{desc:"Filter expression for contains comparison"}),description:e.msg("contains",{desc:"Filter expression for contains comparison"}),tiny:e.msg("cont",{desc:"Short form of contains comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? not like ?",key:"? not like ?",expression:"? not like ?",name:e.msg("does not contain",{desc:"Filter expression for does not contain comparison"}),description:e.msg("does not contain",{desc:"Filter expression for does not contain comparison"}),tiny:e.msg("not cont",{desc:"Short form of does not contain comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? starts with ?",key:"? starts with ?",expression:"? starts with ?",name:e.msg("starts with",{desc:"Filter expression for starts with comparison"}),description:e.msg("starts with",{desc:"Filter expression for starts with comparison"}),tiny:e.msg("starts with",{desc:"Filter expression for starts with comparison"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? not starts with ?",key:"? not starts with ?",expression:"? not starts with ?",name:e.msg("does not start with",{desc:"Filter expression for does not start with comparison"}),description:e.msg("does not start with",{desc:"Filter expression for does not start with comparison"}),tiny:e.msg("not starts with",{desc:"Short form of does not start with comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? ends with ?",key:"? ends with ?",expression:"? ends with ?",name:e.msg("ends with",{desc:"Filter expression for ends with comparison"}),description:e.msg("ends with",{desc:"Filter expression for ends with comparison"}),tiny:e.msg("ends with",{desc:"Filter expression for ends with comparison"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? not ends with ?",key:"? not ends with ?",expression:"? not ends with ?",name:e.msg("does not end with",{desc:"Filter expression for does not end with comparison"}),description:e.msg("does not end with",{desc:"Filter expression for does not end with comparison"}),tiny:e.msg("not ends with",{desc:"Short form of does not end with comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? < ?",key:"? < ?",expression:"? < ?",name:e.msg("less than",{desc:"Filter expression for less than comparison"}),description:e.msg("less than",{desc:"Filter expression for less than comparison"}),tiny:e.msg("less than",{desc:"Filter expression for less than comparison"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? <= ?",key:"? <= ?",expression:"? <= ?",name:e.msg("less than or equal",{desc:"Filter expression for less than or equal comparison"}),description:e.msg("less than or equal",{desc:"Filter expression for less than or equal comparison"}),tiny:e.msg("<=",{desc:"Short form of less than or equal comparison in filter expression"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? > ?",key:"? > ?",expression:"? > ?",name:e.msg("greater than",{desc:"Filter expression for greater than comparison"}),description:e.msg("greater than",{desc:"Filter expression for greater than comparison"}),tiny:e.msg(">",{desc:"Short form of greater than comparison in filter expression"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? >= ?",key:"? >= ?",expression:"? >= ?",name:e.msg("greater than or equal",{desc:"Filter expression for greater than or equal comparison"}),description:e.msg("greater than or equal",{desc:"Filter expression for greater than or equal comparison"}),tiny:e.msg(">=",{desc:"Short form of greater than or equal comparison in filter expression"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? between ?",key:"? between ?",expression:"? between ?",name:e.msg("is between",{desc:"Filter expression for between comparison"}),description:e.msg("is between",{desc:"Filter expression for between comparison"}),tiny:e.msg("between",{desc:"Short form of between comparison in filter expression"}),type:[],subtype:["ip_address"]},{id:"last_now",key:"last_now",expression:"last_now",name:e.msg("last (x) periods",{desc:"Filter expression for last (x) periods"}),description:e.msg("last (x) periods",{desc:"Filter expression for last (x) periods"}),tiny:e.msg("last",{desc:"Short form of last (x) periods in filter expression"}),type:["datetime"]},{id:"last_available",key:"last_available",expression:"last_available",name:e.msg("last (x) available periods",{desc:"Filter expression for last (x) available periods"}),description:e.msg("last (x) available periods",{desc:"Filter expression for last (x) available periods"}),tiny:e.msg("last available",{desc:"Short form of last (x) available periods in filter expression"}),type:["datetime"]},{id:"last_completed",key:"last_completed",expression:"last_completed",name:e.msg("last completed period",{desc:"Filter expression for last completed period"}),description:e.msg("last completed (period)",{desc:"Filter expression for last completed period"}),tiny:e.msg("last completed",{desc:"Short form of last completed period in filter expression"}),type:["datetime"]},{id:"next_now",key:"next_now",expression:"next_now",name:e.msg("next (x) periods",{desc:"Filter expression for next (x) periods"}),description:e.msg("next (x) periods",{desc:"Filter expression for next (x) periods"}),tiny:e.msg("next",{desc:"Short form of next (x) periods in filter expression"}),type:["datetime"]},{id:"next_full",key:"next_full",expression:"next_full",name:e.msg("next full (period)",{desc:"Filter expression for next full period"}),description:e.msg("next full (period)",{desc:"Filter expression for next full period"}),tiny:e.msg("next full",{desc:"Short form of next full period in filter expression"}),type:["datetime"]},{id:"WTD",key:"to_date",expression:"to_date",unit:4,name:e.msg("week to date",{desc:"Filter expression for week to date"}),description:e.msg("week to date",{desc:"Filter expression for week to date"}),tiny:e.msg("WTD",{desc:"Short form of week to date in filter expression"}),type:["datetime"]},{id:"MTD",key:"to_date",expression:"to_date",unit:3,name:e.msg("month to date",{desc:"Filter expression for month to date"}),description:e.msg("month to date",{desc:"Filter expression for month to date"}),tiny:e.msg("MTD",{desc:"Short form of month to date in filter expression"}),type:["datetime"]},{id:"QTD",key:"to_date",expression:"to_date",unit:2,name:e.msg("quarter to date",{desc:"Filter expression for quarter to date"}),description:e.msg("quarter to date",{desc:"Filter expression for quarter to date"}),tiny:e.msg("QTD",{desc:"Short form of quarter to date in filter expression"}),type:["datetime"]},{id:"YTD",key:"to_date",expression:"to_date",unit:1,name:e.msg("year to date",{desc:"Filter expression for year to date"}),description:e.msg("year to date",{desc:"Filter expression for year to date"}),tiny:e.msg("YTD",{desc:"Short form of year to date in filter expression"}),type:["datetime"]},{id:"? is null",key:"? is null",expression:"? is null",name:e.msg("is missing",{desc:"Filter expression for is missing"}),description:e.msg("is missing",{desc:"Filter expression for is missing"}),tiny:e.msg("missing",{desc:"Short form of is missing in filter expression"}),type:["numeric","datetime","hierarchy","spatial"],subtype:["ip_address"]},{id:"? is not null",key:"? is not null",expression:"? is not null",name:e.msg("is not missing",{desc:"Filter expression for is not missing"}),description:e.msg("is not missing",{desc:"Filter expression for is not missing"}),tiny:e.msg("not missing",{desc:"Short form of is not missing in filter expression"}),type:["numeric","datetime","hierarchy","spatial"],subtype:["ip_address"]}],f=(d,s,t)=>{const r=new Set(["? in ?","? not in ?"]);return!d&&!s?u():u().filter(i=>{var o;return(d&&i.type.includes(d)||s&&((o=i.subtype)==null?void 0:o.includes(s)))&&!(t&&r.has(i.key))})},S=":host{font-family:var(--luzmo-font-family)}:host{--var: blue}";var z=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(d,s,t,r)=>{for(var i=r>1?void 0:r?v(s,t):s,o=d.length-1,n;o>=0;o--)(n=d[o])&&(i=(r?n(s,t,i):n(i))||i);return r&&i&&z(s,t,i),i};exports.LuzmoFilterExpressionPicker=class extends h.m(h.It,{validSizes:Object.values(h.d$1)}){constructor(){super(...arguments),this.language="en",this.hasLabel=!1,this.allowEmpty=!1,this.placeholder="",this.disabled=!1,this.invalid=!1,this.isFormula=!1,this._expressionConfigurations=u()}static get styles(){return[a.r(S)]}_sendChangeEvent(){var t,r,i,o,n,l,c;if(this.disabled)return;const s={expression:(t=this.filter)==null?void 0:t.expression};(o=(i=(r=this.filter)==null?void 0:r.parameters)==null?void 0:i[1])!=null&&o.unit&&(s.unit=(c=(l=(n=this.filter)==null?void 0:n.parameters)==null?void 0:l[1])==null?void 0:c.unit),this.dispatchEvent(new CustomEvent("expression-selected",{bubbles:!0,composed:!0,cancelable:!0,detail:s}))}setExpression(s){var i,o;this._richExpression=(o=(i=s==null?void 0:s.detail)==null?void 0:i.value)==null?void 0:o[0];const t=this._expressionConfigurations.find(n=>n.id===this._richExpression),r=structuredClone(this.filter);r.expression=t==null?void 0:t.expression,t!=null&&t.unit&&(this._unit=t.unit,r!=null&&r.parameters[0]&&(r.parameters[1]={unit:this._unit})),this.filter=r,this._sendChangeEvent()}willUpdate(s){var x,y,g,F,b,w,_;const t=s.has("language"),r=s.has("filter"),i=s.has("type"),o=s.has("subtype"),n=s.has("isFormula");t&&this.language!==e.getLocale()&&([...e.targetLocales].includes(this.language??"en")||this.language==="en")&&e.setLocale(this.language);const l=f(this.type,this.subtype,this.isFormula),c=["YTD","QTD","MTD","WTD"];if(((x=this.filter)==null?void 0:x.expression)==="to_date"){const m=((g=(y=this.filter)==null?void 0:y.parameters[1])==null?void 0:g.unit)??1;this._unit=m,this._richExpression=c[m-1]??"YTD"}else this._richExpression=(F=this.filter)==null?void 0:F.expression;(i||o||n||r)&&this.filter&&!this.disabled&&!(l!=null&&l.find(m=>{var k;return m.expression===((k=this.filter)==null?void 0:k.expression)}))?(this.invalid=!0,console.warn(`Warning: ${(b=this.filter)==null?void 0:b.expression} is not valid given the type: ${this.type} and subtype: ${this.subtype}`)):this.invalid=!1,!((w=this.filter)!=null&&w.expression)&&!this.allowEmpty&&(this._richExpression=(_=l==null?void 0:l[0])==null?void 0:_.id,this.filter={...this.filter,expression:this._richExpression},this._sendChangeEvent())}render(){var i,o;const s=(i=f(this.type,this.subtype,this.isFormula))==null?void 0:i.map(n=>({value:n.id,label:n.description,shortLabel:n.tiny})),t=this.disabled||!((o=this.filter)!=null&&o.expression)&&!this.allowEmpty,r=a.x`<luzmo-field-label
|
20
|
+
"use strict";require("./index-j8UKjHqY.cjs");require("./index-CHFwXYcm.cjs");require("./index-CNA9joKT.cjs");const a=require("./property-BCb4Kybn.cjs"),e=require("./set-locale-Cam8nRIW.cjs"),q=require("./localized-decorator-SOrjcPab.cjs"),h=require("./base-D76d76ww-tT6yr8eb.cjs");require("./focusable-BxtpnzWp-CkK9AeMt.cjs");const E=require("./state-BxZEcclm.cjs"),u=()=>[{id:"? = ?",key:"? = ?",expression:"? = ?",name:e.msg("equals",{desc:"Filter expression for equals comparison"}),description:e.msg("equals",{desc:"Filter expression for equals comparison"}),tiny:e.msg("eq",{desc:"Short form of equals comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? != ?",key:"? != ?",expression:"? != ?",name:e.msg("not equals",{desc:"Filter expression for not equals comparison"}),description:e.msg("not equals",{desc:"Filter expression for not equals comparison"}),tiny:e.msg("not eq",{desc:"Short form of not equals comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? in ?",key:"? in ?",expression:"? in ?",name:e.msg("is in",{desc:"Filter expression for in comparison"}),description:e.msg("is in",{desc:"Filter expression for in comparison"}),tiny:e.msg("is in",{desc:"Filter expression for in comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? not in ?",key:"? not in ?",expression:"? not in ?",name:e.msg("is not in",{desc:"Filter expression for not in comparison"}),description:e.msg("is not in",{desc:"Filter expression for not in comparison"}),tiny:e.msg("is not in",{desc:"Filter expression for not in comparison"}),type:["numeric","hierarchy"],subtype:["ip_address"]},{id:"? like ?",key:"? like ?",expression:"? like ?",name:e.msg("contains",{desc:"Filter expression for contains comparison"}),description:e.msg("contains",{desc:"Filter expression for contains comparison"}),tiny:e.msg("cont",{desc:"Short form of contains comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? not like ?",key:"? not like ?",expression:"? not like ?",name:e.msg("does not contain",{desc:"Filter expression for does not contain comparison"}),description:e.msg("does not contain",{desc:"Filter expression for does not contain comparison"}),tiny:e.msg("not cont",{desc:"Short form of does not contain comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? starts with ?",key:"? starts with ?",expression:"? starts with ?",name:e.msg("starts with",{desc:"Filter expression for starts with comparison"}),description:e.msg("starts with",{desc:"Filter expression for starts with comparison"}),tiny:e.msg("starts with",{desc:"Filter expression for starts with comparison"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? not starts with ?",key:"? not starts with ?",expression:"? not starts with ?",name:e.msg("does not start with",{desc:"Filter expression for does not start with comparison"}),description:e.msg("does not start with",{desc:"Filter expression for does not start with comparison"}),tiny:e.msg("not starts with",{desc:"Short form of does not start with comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? ends with ?",key:"? ends with ?",expression:"? ends with ?",name:e.msg("ends with",{desc:"Filter expression for ends with comparison"}),description:e.msg("ends with",{desc:"Filter expression for ends with comparison"}),tiny:e.msg("ends with",{desc:"Filter expression for ends with comparison"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? not ends with ?",key:"? not ends with ?",expression:"? not ends with ?",name:e.msg("does not end with",{desc:"Filter expression for does not end with comparison"}),description:e.msg("does not end with",{desc:"Filter expression for does not end with comparison"}),tiny:e.msg("not ends with",{desc:"Short form of does not end with comparison in filter expression"}),type:["hierarchy"],subtype:["ip_address"]},{id:"? < ?",key:"? < ?",expression:"? < ?",name:e.msg("less than",{desc:"Filter expression for less than comparison"}),description:e.msg("less than",{desc:"Filter expression for less than comparison"}),tiny:e.msg("less than",{desc:"Filter expression for less than comparison"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? <= ?",key:"? <= ?",expression:"? <= ?",name:e.msg("less than or equal",{desc:"Filter expression for less than or equal comparison"}),description:e.msg("less than or equal",{desc:"Filter expression for less than or equal comparison"}),tiny:e.msg("<=",{desc:"Short form of less than or equal comparison in filter expression"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? > ?",key:"? > ?",expression:"? > ?",name:e.msg("greater than",{desc:"Filter expression for greater than comparison"}),description:e.msg("greater than",{desc:"Filter expression for greater than comparison"}),tiny:e.msg(">",{desc:"Short form of greater than comparison in filter expression"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? >= ?",key:"? >= ?",expression:"? >= ?",name:e.msg("greater than or equal",{desc:"Filter expression for greater than or equal comparison"}),description:e.msg("greater than or equal",{desc:"Filter expression for greater than or equal comparison"}),tiny:e.msg(">=",{desc:"Short form of greater than or equal comparison in filter expression"}),type:["numeric","datetime"],subtype:["ip_address"]},{id:"? between ?",key:"? between ?",expression:"? between ?",name:e.msg("is between",{desc:"Filter expression for between comparison"}),description:e.msg("is between",{desc:"Filter expression for between comparison"}),tiny:e.msg("between",{desc:"Short form of between comparison in filter expression"}),type:[],subtype:["ip_address"]},{id:"last_now",key:"last_now",expression:"last_now",name:e.msg("last (x) periods",{desc:"Filter expression for last (x) periods"}),description:e.msg("last (x) periods",{desc:"Filter expression for last (x) periods"}),tiny:e.msg("last",{desc:"Short form of last (x) periods in filter expression"}),type:["datetime"]},{id:"last_available",key:"last_available",expression:"last_available",name:e.msg("last (x) available periods",{desc:"Filter expression for last (x) available periods"}),description:e.msg("last (x) available periods",{desc:"Filter expression for last (x) available periods"}),tiny:e.msg("last available",{desc:"Short form of last (x) available periods in filter expression"}),type:["datetime"]},{id:"last_completed",key:"last_completed",expression:"last_completed",name:e.msg("last completed period",{desc:"Filter expression for last completed period"}),description:e.msg("last completed (period)",{desc:"Filter expression for last completed period"}),tiny:e.msg("last completed",{desc:"Short form of last completed period in filter expression"}),type:["datetime"]},{id:"next_now",key:"next_now",expression:"next_now",name:e.msg("next (x) periods",{desc:"Filter expression for next (x) periods"}),description:e.msg("next (x) periods",{desc:"Filter expression for next (x) periods"}),tiny:e.msg("next",{desc:"Short form of next (x) periods in filter expression"}),type:["datetime"]},{id:"next_full",key:"next_full",expression:"next_full",name:e.msg("next full (period)",{desc:"Filter expression for next full period"}),description:e.msg("next full (period)",{desc:"Filter expression for next full period"}),tiny:e.msg("next full",{desc:"Short form of next full period in filter expression"}),type:["datetime"]},{id:"WTD",key:"to_date",expression:"to_date",unit:4,name:e.msg("week to date",{desc:"Filter expression for week to date"}),description:e.msg("week to date",{desc:"Filter expression for week to date"}),tiny:e.msg("WTD",{desc:"Short form of week to date in filter expression"}),type:["datetime"]},{id:"MTD",key:"to_date",expression:"to_date",unit:3,name:e.msg("month to date",{desc:"Filter expression for month to date"}),description:e.msg("month to date",{desc:"Filter expression for month to date"}),tiny:e.msg("MTD",{desc:"Short form of month to date in filter expression"}),type:["datetime"]},{id:"QTD",key:"to_date",expression:"to_date",unit:2,name:e.msg("quarter to date",{desc:"Filter expression for quarter to date"}),description:e.msg("quarter to date",{desc:"Filter expression for quarter to date"}),tiny:e.msg("QTD",{desc:"Short form of quarter to date in filter expression"}),type:["datetime"]},{id:"YTD",key:"to_date",expression:"to_date",unit:1,name:e.msg("year to date",{desc:"Filter expression for year to date"}),description:e.msg("year to date",{desc:"Filter expression for year to date"}),tiny:e.msg("YTD",{desc:"Short form of year to date in filter expression"}),type:["datetime"]},{id:"? is null",key:"? is null",expression:"? is null",name:e.msg("is missing",{desc:"Filter expression for is missing"}),description:e.msg("is missing",{desc:"Filter expression for is missing"}),tiny:e.msg("missing",{desc:"Short form of is missing in filter expression"}),type:["numeric","datetime","hierarchy","spatial"],subtype:["ip_address"]},{id:"? is not null",key:"? is not null",expression:"? is not null",name:e.msg("is not missing",{desc:"Filter expression for is not missing"}),description:e.msg("is not missing",{desc:"Filter expression for is not missing"}),tiny:e.msg("not missing",{desc:"Short form of is not missing in filter expression"}),type:["numeric","datetime","hierarchy","spatial"],subtype:["ip_address"]}],f=(d,s,t)=>{const r=new Set(["? in ?","? not in ?"]);return!d&&!s?u():u().filter(i=>{var o;return(d&&i.type.includes(d)||s&&((o=i.subtype)==null?void 0:o.includes(s)))&&!(t&&r.has(i.key))})},S=":host{font-family:var(--luzmo-font-family)}:host{--var: blue}";var z=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(d,s,t,r)=>{for(var i=r>1?void 0:r?v(s,t):s,o=d.length-1,n;o>=0;o--)(n=d[o])&&(i=(r?n(s,t,i):n(i))||i);return r&&i&&z(s,t,i),i};exports.LuzmoFilterExpressionPicker=class extends h.m(h.It,{validSizes:Object.values(h.d$1)}){constructor(){super(...arguments),this.language="en",this.hasLabel=!1,this.allowEmpty=!1,this.placeholder="",this.disabled=!1,this.invalid=!1,this.isFormula=!1,this._expressionConfigurations=u()}static get styles(){return[a.r(S)]}_sendChangeEvent(){var t,r,i,o,n,l,c;if(this.disabled)return;const s={expression:(t=this.filter)==null?void 0:t.expression};(o=(i=(r=this.filter)==null?void 0:r.parameters)==null?void 0:i[1])!=null&&o.unit&&(s.unit=(c=(l=(n=this.filter)==null?void 0:n.parameters)==null?void 0:l[1])==null?void 0:c.unit),this.dispatchEvent(new CustomEvent("expression-selected",{bubbles:!0,composed:!0,cancelable:!0,detail:s}))}setExpression(s){var i,o;this._richExpression=(o=(i=s==null?void 0:s.detail)==null?void 0:i.value)==null?void 0:o[0];const t=this._expressionConfigurations.find(n=>n.id===this._richExpression),r=structuredClone(this.filter);r.expression=t==null?void 0:t.expression,t!=null&&t.unit&&(this._unit=t.unit,r!=null&&r.parameters[0]&&(r.parameters[1]={unit:this._unit})),this.filter=r,this._sendChangeEvent()}willUpdate(s){var x,y,g,F,b,w,_;const t=s.has("language"),r=s.has("filter"),i=s.has("type"),o=s.has("subtype"),n=s.has("isFormula");t&&this.language!==e.getLocale()&&([...e.targetLocales].includes(this.language??"en")||this.language==="en")&&e.setLocale(this.language);const l=f(this.type,this.subtype,this.isFormula),c=["YTD","QTD","MTD","WTD"];if(((x=this.filter)==null?void 0:x.expression)==="to_date"){const m=((g=(y=this.filter)==null?void 0:y.parameters[1])==null?void 0:g.unit)??1;this._unit=m,this._richExpression=c[m-1]??"YTD"}else this._richExpression=(F=this.filter)==null?void 0:F.expression;(i||o||n||r)&&this.filter&&!this.disabled&&!(l!=null&&l.find(m=>{var k;return m.expression===((k=this.filter)==null?void 0:k.expression)}))?(this.invalid=!0,console.warn(`Warning: ${(b=this.filter)==null?void 0:b.expression} is not valid given the type: ${this.type} and subtype: ${this.subtype}`)):this.invalid=!1,!((w=this.filter)!=null&&w.expression)&&!this.allowEmpty&&(this._richExpression=(_=l==null?void 0:l[0])==null?void 0:_.id,this.filter={...this.filter,expression:this._richExpression},this._sendChangeEvent())}render(){var i,o;const s=(i=f(this.type,this.subtype,this.isFormula))==null?void 0:i.map(n=>({value:n.id,label:n.description,shortLabel:n.tiny})),t=this.disabled||!((o=this.filter)!=null&&o.expression)&&!this.allowEmpty,r=a.x`<luzmo-field-label
|
21
21
|
for="expression"
|
22
22
|
size=${this.size}
|
23
23
|
>${this.label??e.msg("Select an expression",{desc:"Label for expression picker"})}</luzmo-field-label
|