@luzmo/analytics-components-kit 1.0.8-beta.6 → 1.0.8
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-positioning.config-BEwDQj3T.js → area-chart-positioning.config-BJK4Q4NL.js} +1 -1
- package/components/{area-chart-positioning.config-CS-5H8-C.cjs → area-chart-positioning.config-Cbeon6-x.cjs} +1 -1
- package/components/{bar-chart-positioning.config-CBbTYesB.js → bar-chart-positioning.config-B4UuSMIW.js} +1 -1
- package/components/{bar-chart-positioning.config-DkIvwJI5.cjs → bar-chart-positioning.config-BnhZQUtb.cjs} +1 -1
- package/components/base-BtRS5vm6.cjs +20 -0
- package/components/{base-DSeXdW9S.js → base-IE9Qxmub.js} +1 -2
- package/components/{box-plot-positioning.config-CNC-RTwl.js → box-plot-positioning.config-CYk5koLu.js} +1 -1
- package/components/{box-plot-positioning.config-o5D-mRFr.cjs → box-plot-positioning.config-DsldCFWm.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-3ilPXLpZ.js → bubble-chart-positioning.config-BSDmuPwq.js} +1 -1
- package/components/{bubble-chart-positioning.config-CtreNdST.cjs → bubble-chart-positioning.config-BV-T_2cy.cjs} +1 -1
- package/components/{bullet-chart-positioning.config-CkFhShBk.js → bullet-chart-positioning.config-B3GeLs8o.js} +1 -1
- package/components/{bullet-chart-positioning.config-dHj3YrT_.cjs → bullet-chart-positioning.config-BoqQq4g_.cjs} +1 -1
- package/components/{choropleth-map-positioning.config-DOt86t59.js → choropleth-map-positioning.config-6OT0sZa5.js} +1 -1
- package/components/{choropleth-map-positioning.config-BSs-bRGv.cjs → choropleth-map-positioning.config-C_I3wf8H.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-BkFATJjC.js → circle-pack-chart-positioning.config-BuuhKB85.js} +1 -1
- package/components/{circle-pack-chart-positioning.config-CVNdIYau.cjs → circle-pack-chart-positioning.config-D7Oke8BW.cjs} +1 -1
- package/components/{circular-gauge-positioning.config-SrbCaaOr.cjs → circular-gauge-positioning.config-B_IJzIBn.cjs} +1 -1
- package/components/{circular-gauge-positioning.config-BV2xb5TF.js → circular-gauge-positioning.config-DlWvKl0e.js} +1 -1
- package/components/{column-chart-positioning.config-T7juV3XT.js → column-chart-positioning.config-BLacEiY5.js} +1 -1
- package/components/{column-chart-positioning.config-DTQe3h_H.cjs → column-chart-positioning.config-DngsP5So.cjs} +1 -1
- package/components/{combination-chart-positioning.config-BrSmdan-.cjs → combination-chart-positioning.config-BVV0Bq-d.cjs} +1 -1
- package/components/{combination-chart-positioning.config-78C7wKnS.js → combination-chart-positioning.config-DxnmzV6O.js} +1 -1
- package/components/{conditional-number-positioning.config-_9ySKU1z.cjs → conditional-number-positioning.config-DfitbPT6.cjs} +1 -1
- package/components/{conditional-number-positioning.config-z_eEfpud.js → conditional-number-positioning.config-YEo_yFBu.js} +1 -1
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.d.ts +0 -1
- package/components/data-field/index.js +1 -1
- package/components/data-field-fvlYzmfX.cjs +89 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.d.ts +0 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/{data-field-panel-U-5Q-TRp.js → data-field-panel-BWBr1Fog.js} +4 -5
- package/components/data-field-panel-Yrqn4L79.cjs +87 -0
- package/components/{data-field-level-DR_dXjnL.js → data-field-yTJb-R63.js} +141 -47
- package/components/{data-fields-select-BYhAzdA6.js → data-fields-select-Bb1HXwlO.js} +3 -4
- package/components/data-fields-select-Cor6sfzL.cjs +41 -0
- package/components/{display-settings-binning-GIE6ww1Q.js → display-settings-binning-CaE87u3h.js} +19 -17
- package/components/{display-settings-binning-HrXOdGwO.cjs → display-settings-binning-CjvB12ds.cjs} +2 -2
- package/components/{display-settings-datetime-YS7_TUet.js → display-settings-datetime-5rq55OAn.js} +71 -69
- package/components/display-settings-datetime-B23w7aH4.cjs +217 -0
- package/components/display-settings-grand-totals-BZ0nlLhu.cjs +44 -0
- package/components/{display-settings-grand-totals-Bt_ju8jp.js → display-settings-grand-totals-DnKvI34n.js} +19 -17
- package/components/{display-settings-numeric-OHmktQsz.js → display-settings-numeric-B8MCRz-V.js} +81 -79
- package/components/display-settings-numeric-DoScgfRy.cjs +190 -0
- package/components/display-settings-period-over-period-C-hp0ZKN.cjs +227 -0
- package/components/{display-settings-period-over-period-B1_IJjWK.js → display-settings-period-over-period-W3dPK8LR.js} +98 -88
- package/components/{donut-chart-positioning.config-BY2TIeeY.cjs → donut-chart-positioning.config-QOZXaJmt.cjs} +1 -1
- package/components/{donut-chart-positioning.config-D34HegyZ.js → donut-chart-positioning.config-fGckMun2.js} +1 -1
- package/components/{en-US-q_Ruzags.cjs → en-CSPDwq2y.cjs} +1 -1
- package/components/{en-US-CcLhGxIh.js → en-DdS5q1ZT.js} +1 -1
- package/components/{en-GB-uxY5qmIM.cjs → en-GB-CJR66Ci_.cjs} +1 -1
- package/components/{en-GB-DzkdeUQh.js → en-GB-Cn0xDC0K.js} +1 -1
- package/components/{en-q_Ruzags.cjs → en-US-CSPDwq2y.cjs} +1 -1
- package/components/{en-CcLhGxIh.js → en-US-DdS5q1ZT.js} +1 -1
- package/components/{evolution-number-positioning.config-BBvULr59.cjs → evolution-number-positioning.config-B7lBArog.cjs} +1 -1
- package/components/{evolution-number-positioning.config-CKzCTjdO.js → evolution-number-positioning.config-CVIysE4H.js} +1 -1
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +2 -2
- package/components/filters-DndJU6D5.js +2454 -0
- package/components/filters-oB9qOk_M.cjs +443 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula-BFvxm8kj.cjs +45 -0
- package/components/{formula-BYx4gH6i.js → formula-CdAkO1za.js} +14 -15
- package/components/{formula-codemirror-CVzyYNLO.js → formula-codemirror-jVC8mjQ3.js} +19 -21
- package/components/formula-codemirror-ucFOD-2a.cjs +215 -0
- package/components/{formula-display-store-BPn9m5TL.js → formula-display-store-CLAt_fik.js} +271 -242
- package/components/formula-display-store-DmT65fUB.cjs +20 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.d.ts +0 -1
- package/components/formula-editor/index.js +3 -4
- package/components/{formula-editor-BxoIkARr.js → formula-editor-Bd9F-xdZ.js} +351 -146
- package/components/formula-editor-BeZ-fu-7.cjs +253 -0
- package/components/{funnel-chart-positioning.config-CvhpE7rN.js → funnel-chart-positioning.config-BGi7ixet.js} +1 -1
- package/components/{funnel-chart-positioning.config-BPSmV76y.cjs → funnel-chart-positioning.config-zEqgz9Wz.cjs} +1 -1
- package/components/{heat-map-positioning.config-CHDHFIo2.cjs → heat-map-positioning.config-3dxU6qwG.cjs} +1 -1
- package/components/{heat-map-positioning.config-AOHTEJf7.js → heat-map-positioning.config-CK2DBngE.js} +1 -1
- package/components/{heat-table-positioning.config-DprOfmlW.js → heat-table-positioning.config-C55D814C.js} +1 -1
- package/components/{heat-table-positioning.config-DCLE9cy4.cjs → heat-table-positioning.config-CbscS7w1.cjs} +1 -1
- package/components/{hexbin-map-positioning.config-BjxkoqGh.js → hexbin-map-positioning.config-9nnyZGzx.js} +1 -1
- package/components/{hexbin-map-positioning.config-BmLljWez.cjs → hexbin-map-positioning.config-CHecaD9p.cjs} +1 -1
- package/components/index.cjs +840 -1
- package/components/index.js +6783 -67
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/{item-grid-CcwnD_u5.cjs → item-grid-C2ZvM04g.cjs} +22 -22
- package/components/{item-grid-C_OTtv4T.js → item-grid-D4xYhMOD.js} +1 -2
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/{item-option-DRWLN89_.js → item-option-28BU_oaD.js} +2 -2
- package/components/item-option-BQpS6rM_.cjs +269 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/item-option-action-button-group-BwBxRLzB.cjs +53 -0
- package/components/{item-option-action-button-group-B9ghoHeh.js → item-option-action-button-group-D_g6aoYd.js} +2 -2
- package/components/item-option-base-C6uwowJD.cjs +56 -0
- package/components/{item-option-base-pYrkqt6q.js → item-option-base-CxQhI83u.js} +2 -2
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/item-option-color-palette-picker-BjHadiN0.cjs +40 -0
- package/components/{item-option-color-palette-picker-DnVqGnm4.js → item-option-color-palette-picker-CRDFqhWx.js} +2 -2
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/{item-option-color-picker-CNkNZ1p-.cjs → item-option-color-picker-BJgpBbDp.cjs} +2 -2
- package/components/{item-option-color-picker-CO-OAFOs.js → item-option-color-picker-BlkpWjQh.js} +2 -2
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/{item-option-color-range-bdYUxgQ9.js → item-option-color-range-3Wp-Ywz6.js} +2 -2
- package/components/item-option-color-range-CQo8uThO.cjs +98 -0
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -1
- package/components/{item-option-guidelines-Ce88dTV-.js → item-option-guidelines-CQ_yb7Ar.js} +3 -4
- package/components/item-option-guidelines-Daf8Ce5z.cjs +135 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/{item-option-multi-language-field-D0jRPAjY.cjs → item-option-multi-language-field-BApbe3pp.cjs} +2 -2
- package/components/{item-option-multi-language-field-0qfdBanp.js → item-option-multi-language-field-aLIpQWiQ.js} +2 -2
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/{item-option-number-field-DYJ0eIf7.cjs → item-option-number-field-B72ZYOAX.cjs} +2 -2
- package/components/{item-option-number-field-CcEav5C3.js → item-option-number-field-Bv5eGoxB.js} +2 -2
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-6Voh87nt.cjs → item-option-panel-A8Jxzwml.cjs} +2 -2
- package/components/{item-option-panel-DrI7HYrY.js → item-option-panel-kRH7GbzA.js} +3 -3
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/{item-option-picker-Bv4aGaCO.js → item-option-picker-BuUtW6gD.js} +2 -2
- package/components/{item-option-picker-DkEgfEE7.cjs → item-option-picker-DOFJ1CnI.cjs} +2 -2
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/item-option-position-picker-Cnis4wLA.cjs +32 -0
- package/components/{item-option-position-picker-1d7qZmDv.js → item-option-position-picker-mf3JQu5q.js} +2 -2
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/item-option-positions-number-field-B7gI1IKO.cjs +49 -0
- package/components/{item-option-positions-number-field-DUlBsbUL.js → item-option-positions-number-field-BIBWpagB.js} +2 -2
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/{item-option-radio-button-group-ChtTIO3B.cjs → item-option-radio-button-group-B2HYZguB.cjs} +2 -2
- package/components/{item-option-radio-button-group-DuMcIZvr.js → item-option-radio-button-group-CFnfadK2.js} +2 -2
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider--7hmhi97.cjs +33 -0
- package/components/{item-option-slider-CWxRoAbA.js → item-option-slider-CH1l0Ena.js} +2 -2
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/{item-option-switch-dO66fjoD.cjs → item-option-switch-hUFRE9MC.cjs} +2 -2
- package/components/{item-option-switch-DvMLATBO.js → item-option-switch-rqu2ePVU.js} +2 -2
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/{item-option-text-field-Furz80ho.cjs → item-option-text-field-C6CocZ5q.cjs} +2 -2
- package/components/{item-option-text-field-DS-gn_Gc.js → item-option-text-field-CBFMmuK2.js} +2 -2
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.d.ts +0 -2
- package/components/item-slot-drop/index.js +1 -1
- package/components/{item-slot-drop-DE90FDdS.js → item-slot-drop-DDGclwbP.js} +12 -17
- package/components/item-slot-drop-hK-rLhwa.cjs +91 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel-CE4f9X6F.cjs +57 -0
- package/components/{item-slot-drop-panel-CyfhbUlE.js → item-slot-drop-panel-Cj6vbgJl.js} +40 -41
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/{item-slot-picker-BM03UNRE.js → item-slot-picker-CjQH3MU-.js} +17 -22
- package/components/item-slot-picker-Wf50lM5u.cjs +174 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/{item-slot-picker-panel-DPaabfv5.js → item-slot-picker-panel-7IFk5QFC.js} +4 -5
- package/components/item-slot-picker-panel-Csn1tabr.cjs +81 -0
- package/components/{line-chart-positioning.config-CPGyHeJF.js → line-chart-positioning.config-D5WVvIZT.js} +1 -1
- package/components/{line-chart-positioning.config-BnDYCjGX.cjs → line-chart-positioning.config-DuXn1WD-.cjs} +1 -1
- package/components/load-data-fields-for-datasets-B76UR0sG.js +86 -0
- package/components/load-data-fields-for-datasets-DFYeACsu.cjs +20 -0
- package/components/{ad-hoc-slot-content-BwcFfXCV.cjs → localized-mixin-DfpurTYo.cjs} +1 -1
- package/components/{decorate-DyMgX_Uh.js → localized-mixin-DhiGdPMj.js} +26 -2
- package/components/{marker-map-positioning.config-CBERtxkG.js → marker-map-positioning.config-D2L7cvCP.js} +1 -1
- package/components/{marker-map-positioning.config-Bq1EPg3J.cjs → marker-map-positioning.config-DfN39a-Q.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-CpPJyyLB.js → ohlc-chart-positioning.config-C53dCwaT.js} +1 -1
- package/components/{ohlc-chart-positioning.config-aCf-SEt7.cjs → ohlc-chart-positioning.config-DsBuB0VU.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-DsNDp1G7.js → parallel-coordinates-plot-positioning.config-DhoVstsb.js} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-D1CB7jOv.cjs → parallel-coordinates-plot-positioning.config-aiFzLnnh.cjs} +1 -1
- package/components/period-over-period-condition.const-DDgiXIfR.cjs +20 -0
- package/components/{formatter-Cq5dFCyU.js → period-over-period-condition.const-IOVIrgKJ.js} +234 -44
- package/components/{pivot-table-positioning.config-gBHM1_-K.cjs → pivot-table-positioning.config-Bq9BoQWM.cjs} +1 -1
- package/components/{pivot-table-positioning.config-BFWS3Yk_.js → pivot-table-positioning.config-Cnai84AH.js} +1 -1
- package/components/{pyramid-chart-positioning.config-B8dbZhvt.js → pyramid-chart-positioning.config-BeJ5R_Ln.js} +1 -1
- package/components/{pyramid-chart-positioning.config-DD64vCwl.cjs → pyramid-chart-positioning.config-D5AKNCPb.cjs} +1 -1
- package/components/{radar-chart-positioning.config-DN51_Tzb.cjs → radar-chart-positioning.config-BEIwrzhb.cjs} +1 -1
- package/components/{radar-chart-positioning.config-C2DWQu8V.js → radar-chart-positioning.config-DsfUBq4B.js} +1 -1
- package/components/{route-map-positioning.config-ryk_dUkh.cjs → route-map-positioning.config-4Wyvj5OH.cjs} +1 -1
- package/components/{route-map-positioning.config-D7X6QuWY.js → route-map-positioning.config-CuiRWzbs.js} +1 -1
- package/components/{sankey-diagram-positioning.config-CJfGpnPS.cjs → sankey-diagram-positioning.config-CZ-zVCQo.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-A_7xM06n.js → sankey-diagram-positioning.config-DtN7dARd.js} +1 -1
- package/components/{scatter-plot-positioning.config-qpwrugRe.js → scatter-plot-positioning.config-BXrzdLIc.js} +1 -1
- package/components/{scatter-plot-positioning.config-Duao2ftU.cjs → scatter-plot-positioning.config-CfAf_FUW.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-93hC7jID.js → slicer-filter-positioning.config-BLGeCJys.js} +1 -1
- package/components/{slicer-filter-positioning.config-DxhC39ak.cjs → slicer-filter-positioning.config-CU86hJi6.cjs} +1 -1
- package/components/slot-menu-1zlmyLVl.js +1060 -0
- package/components/slot-menu-BSu8wKLi.cjs +217 -0
- package/components/{speedometer-chart-positioning.config-DtRG3-e5.cjs → speedometer-chart-positioning.config-AeMlNxSj.cjs} +1 -1
- package/components/{speedometer-chart-positioning.config-CZbwyYsk.js → speedometer-chart-positioning.config-Dam0wOqp.js} +1 -1
- package/components/{spike-map-positioning.config-CevjyQ5F.cjs → spike-map-positioning.config-9ShV1fUh.cjs} +1 -1
- package/components/{spike-map-positioning.config-LBqSYD2n.js → spike-map-positioning.config-BVzewpfi.js} +1 -1
- package/components/{strip-plot-positioning.config-DF5VxzvB.cjs → strip-plot-positioning.config-BVBdHZvL.cjs} +1 -1
- package/components/{strip-plot-positioning.config-cCdQxMM_.js → strip-plot-positioning.config-OHm3LEo3.js} +1 -1
- package/components/{sunburst-chart-positioning.config-DmkZEexM.js → sunburst-chart-positioning.config-BynNbbxB.js} +1 -1
- package/components/{sunburst-chart-positioning.config-CERBvfoF.cjs → sunburst-chart-positioning.config-DQmuKm-N.cjs} +1 -1
- package/components/{symbol-map-positioning.config-DhYxG8RC.cjs → symbol-map-positioning.config-D6rgxXTO.cjs} +1 -1
- package/components/{symbol-map-positioning.config-BwG_G6He.js → symbol-map-positioning.config-bQk_pdAr.js} +1 -1
- package/components/{treemap-chart-positioning.config-arjPT6b_.js → treemap-chart-positioning.config-BB1-rZKL.js} +1 -1
- package/components/{treemap-chart-positioning.config-BwrrXs4a.cjs → treemap-chart-positioning.config-ZaoIngRn.cjs} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils-CPIzW8sp.cjs +20 -0
- package/components/{utils-B_rE5b7a.js → utils-ZoJ1cp2P.js} +41 -42
- package/components/utils.cjs +1 -1
- package/components/utils.js +5 -8
- package/components/{venn-diagram-positioning.config-DSh3Ns9L.js → venn-diagram-positioning.config-C9ARqREi.js} +1 -1
- package/components/{venn-diagram-positioning.config-GGLCcrqp.cjs → venn-diagram-positioning.config-Cb10sStL.cjs} +1 -1
- package/components/{wordcloud-chart-positioning.config-B8ZzwIdd.js → wordcloud-chart-positioning.config-D59ntNtd.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-Cxyhs6gk.cjs → wordcloud-chart-positioning.config-DC89_DYc.cjs} +1 -1
- package/custom-elements.json +6760 -18304
- package/index.d.ts +0 -25
- package/package.json +1 -126
- package/react/esm/index.d.ts +2 -27
- package/react/esm/index.js +2 -102
- package/react/index.ts +2 -102
- package/react/luzmo-stub.d.ts +0 -140
- package/react/package.json +2 -2
- package/types.d.ts +0 -9
- package/utils/slot-state/slot-store.d.ts +4 -0
- package/angular/README.md +0 -40
- package/angular/components/ai-chat-empty-state.ts +0 -98
- package/angular/components/ai-chat.ts +0 -440
- package/angular/components/ai-interaction-textarea.ts +0 -283
- package/angular/components/data-field-level.ts +0 -130
- package/angular/components/data-field-panel.ts +0 -256
- package/angular/components/data-field.ts +0 -130
- package/angular/components/data-fields-select.ts +0 -212
- package/angular/components/dataset-icon.ts +0 -83
- package/angular/components/dataset-selector-list.ts +0 -147
- package/angular/components/dataset-selector-row.ts +0 -198
- package/angular/components/display-settings-binning.ts +0 -92
- package/angular/components/display-settings-datetime.ts +0 -100
- package/angular/components/display-settings-grand-totals.ts +0 -92
- package/angular/components/display-settings-numeric.ts +0 -113
- package/angular/components/display-settings-period-over-period.ts +0 -107
- package/angular/components/display-settings.ts +0 -227
- package/angular/components/filter-expression-picker.ts +0 -168
- package/angular/components/filter-item.ts +0 -175
- package/angular/components/filter-parameter-picker.ts +0 -155
- package/angular/components/filter-value-picker-datetime.ts +0 -125
- package/angular/components/filter-value-picker-hierarchy.ts +0 -146
- package/angular/components/filter-value-picker-numeric.ts +0 -146
- package/angular/components/filter-value-picker.ts +0 -160
- package/angular/components/filters.ts +0 -209
- package/angular/components/formula-editor.ts +0 -229
- package/angular/components/formula-field.ts +0 -198
- package/angular/components/formula.ts +0 -170
- package/angular/components/interactive-viz-item.ts +0 -186
- package/angular/components/item-grid-item-actions-menu.ts +0 -113
- package/angular/components/item-grid.ts +0 -242
- package/angular/components/item-option-action-button-group.ts +0 -105
- package/angular/components/item-option-color-palette-picker.ts +0 -126
- package/angular/components/item-option-color-picker.ts +0 -134
- package/angular/components/item-option-color-range.ts +0 -168
- package/angular/components/item-option-guidelines.ts +0 -84
- package/angular/components/item-option-multi-language-field.ts +0 -133
- package/angular/components/item-option-number-field.ts +0 -161
- package/angular/components/item-option-panel.ts +0 -149
- package/angular/components/item-option-picker.ts +0 -120
- package/angular/components/item-option-position-picker.ts +0 -98
- package/angular/components/item-option-positions-number-field.ts +0 -140
- package/angular/components/item-option-radio-button-group.ts +0 -119
- package/angular/components/item-option-slider.ts +0 -126
- package/angular/components/item-option-switch.ts +0 -98
- package/angular/components/item-option-text-field.ts +0 -112
- package/angular/components/item-option.ts +0 -163
- package/angular/components/item-slot-drop-panel.ts +0 -236
- package/angular/components/item-slot-drop.ts +0 -231
- package/angular/components/item-slot-picker-panel.ts +0 -299
- package/angular/components/item-slot-picker.ts +0 -241
- package/angular/components/slot-menu-list.ts +0 -121
- package/angular/components/slot-menu.ts +0 -304
- package/angular/components/viz-item-menu.ts +0 -118
- package/angular/esm/components/ai-chat-empty-state.d.ts +0 -39
- package/angular/esm/components/ai-chat-empty-state.js +0 -99
- package/angular/esm/components/ai-chat.d.ts +0 -147
- package/angular/esm/components/ai-chat.js +0 -455
- package/angular/esm/components/ai-interaction-textarea.d.ts +0 -106
- package/angular/esm/components/ai-interaction-textarea.js +0 -305
- package/angular/esm/components/data-field-level.d.ts +0 -50
- package/angular/esm/components/data-field-level.js +0 -129
- package/angular/esm/components/data-field-panel.d.ts +0 -86
- package/angular/esm/components/data-field-panel.js +0 -268
- package/angular/esm/components/data-field.d.ts +0 -50
- package/angular/esm/components/data-field.js +0 -129
- package/angular/esm/components/data-fields-select.d.ts +0 -81
- package/angular/esm/components/data-fields-select.js +0 -227
- package/angular/esm/components/dataset-icon.d.ts +0 -34
- package/angular/esm/components/dataset-icon.js +0 -86
- package/angular/esm/components/dataset-selector-list.d.ts +0 -56
- package/angular/esm/components/dataset-selector-list.js +0 -155
- package/angular/esm/components/dataset-selector-row.d.ts +0 -70
- package/angular/esm/components/dataset-selector-row.js +0 -197
- package/angular/esm/components/display-settings-binning.d.ts +0 -37
- package/angular/esm/components/display-settings-binning.js +0 -91
- package/angular/esm/components/display-settings-datetime.d.ts +0 -40
- package/angular/esm/components/display-settings-datetime.js +0 -99
- package/angular/esm/components/display-settings-grand-totals.d.ts +0 -37
- package/angular/esm/components/display-settings-grand-totals.js +0 -91
- package/angular/esm/components/display-settings-numeric.d.ts +0 -45
- package/angular/esm/components/display-settings-numeric.js +0 -115
- package/angular/esm/components/display-settings-period-over-period.d.ts +0 -44
- package/angular/esm/components/display-settings-period-over-period.js +0 -107
- package/angular/esm/components/display-settings.d.ts +0 -83
- package/angular/esm/components/display-settings.js +0 -231
- package/angular/esm/components/filter-expression-picker.d.ts +0 -64
- package/angular/esm/components/filter-expression-picker.js +0 -179
- package/angular/esm/components/filter-item.d.ts +0 -63
- package/angular/esm/components/filter-item.js +0 -187
- package/angular/esm/components/filter-parameter-picker.d.ts +0 -56
- package/angular/esm/components/filter-parameter-picker.js +0 -151
- package/angular/esm/components/filter-value-picker-datetime.d.ts +0 -47
- package/angular/esm/components/filter-value-picker-datetime.js +0 -131
- package/angular/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
- package/angular/esm/components/filter-value-picker-hierarchy.js +0 -155
- package/angular/esm/components/filter-value-picker-numeric.d.ts +0 -53
- package/angular/esm/components/filter-value-picker-numeric.js +0 -155
- package/angular/esm/components/filter-value-picker.d.ts +0 -57
- package/angular/esm/components/filter-value-picker.js +0 -171
- package/angular/esm/components/filters.d.ts +0 -75
- package/angular/esm/components/filters.js +0 -215
- package/angular/esm/components/formula-editor.d.ts +0 -78
- package/angular/esm/components/formula-editor.js +0 -236
- package/angular/esm/components/formula-field.d.ts +0 -70
- package/angular/esm/components/formula-field.js +0 -209
- package/angular/esm/components/formula.d.ts +0 -60
- package/angular/esm/components/formula.js +0 -177
- package/angular/esm/components/interactive-viz-item.d.ts +0 -63
- package/angular/esm/components/interactive-viz-item.js +0 -188
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +0 -45
- package/angular/esm/components/item-grid-item-actions-menu.js +0 -115
- package/angular/esm/components/item-grid.d.ts +0 -80
- package/angular/esm/components/item-grid.js +0 -245
- package/angular/esm/components/item-option-action-button-group.d.ts +0 -41
- package/angular/esm/components/item-option-action-button-group.js +0 -107
- package/angular/esm/components/item-option-color-palette-picker.d.ts +0 -48
- package/angular/esm/components/item-option-color-palette-picker.js +0 -131
- package/angular/esm/components/item-option-color-picker.d.ts +0 -51
- package/angular/esm/components/item-option-color-picker.js +0 -139
- package/angular/esm/components/item-option-color-range.d.ts +0 -66
- package/angular/esm/components/item-option-color-range.js +0 -179
- package/angular/esm/components/item-option-guidelines.d.ts +0 -34
- package/angular/esm/components/item-option-guidelines.js +0 -83
- package/angular/esm/components/item-option-multi-language-field.d.ts +0 -50
- package/angular/esm/components/item-option-multi-language-field.js +0 -139
- package/angular/esm/components/item-option-number-field.d.ts +0 -58
- package/angular/esm/components/item-option-number-field.js +0 -171
- package/angular/esm/components/item-option-panel.d.ts +0 -54
- package/angular/esm/components/item-option-panel.js +0 -155
- package/angular/esm/components/item-option-picker.d.ts +0 -46
- package/angular/esm/components/item-option-picker.js +0 -123
- package/angular/esm/components/item-option-position-picker.d.ts +0 -39
- package/angular/esm/components/item-option-position-picker.js +0 -99
- package/angular/esm/components/item-option-positions-number-field.d.ts +0 -54
- package/angular/esm/components/item-option-positions-number-field.js +0 -147
- package/angular/esm/components/item-option-radio-button-group.d.ts +0 -45
- package/angular/esm/components/item-option-radio-button-group.js +0 -123
- package/angular/esm/components/item-option-slider.d.ts +0 -46
- package/angular/esm/components/item-option-slider.js +0 -131
- package/angular/esm/components/item-option-switch.d.ts +0 -40
- package/angular/esm/components/item-option-switch.js +0 -99
- package/angular/esm/components/item-option-text-field.d.ts +0 -44
- package/angular/esm/components/item-option-text-field.js +0 -115
- package/angular/esm/components/item-option.d.ts +0 -58
- package/angular/esm/components/item-option.js +0 -171
- package/angular/esm/components/item-slot-drop-panel.d.ts +0 -82
- package/angular/esm/components/item-slot-drop-panel.js +0 -249
- package/angular/esm/components/item-slot-drop.d.ts +0 -77
- package/angular/esm/components/item-slot-drop.js +0 -227
- package/angular/esm/components/item-slot-picker-panel.d.ts +0 -97
- package/angular/esm/components/item-slot-picker-panel.js +0 -309
- package/angular/esm/components/item-slot-picker.d.ts +0 -86
- package/angular/esm/components/item-slot-picker.js +0 -259
- package/angular/esm/components/slot-menu-list.d.ts +0 -46
- package/angular/esm/components/slot-menu-list.js +0 -123
- package/angular/esm/components/slot-menu.d.ts +0 -104
- package/angular/esm/components/slot-menu.js +0 -300
- package/angular/esm/components/viz-item-menu.d.ts +0 -42
- package/angular/esm/components/viz-item-menu.js +0 -111
- package/angular/esm/index.d.ts +0 -109
- package/angular/esm/index.js +0 -217
- package/angular/index.ts +0 -223
- package/angular/package.json +0 -40
- package/angular/tsconfig.json +0 -36
- package/angular/type-fallbacks.d.ts +0 -0
- package/angular/utils/ai-prompt/attachments.d.ts +0 -10
- package/angular/utils/ai-prompt/dictation.d.ts +0 -50
- package/angular/utils/ai-prompt/image-upload.d.ts +0 -12
- package/angular/utils/ai-prompt/index.d.ts +0 -6
- package/angular/utils/ai-prompt/tests/dictation.test.d.ts +0 -1
- package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +0 -1
- package/angular/utils/base/base.d.ts +0 -16
- package/angular/utils/base/focus-visible.d.ts +0 -29
- package/angular/utils/base/focusable.d.ts +0 -58
- package/angular/utils/base/index.d.ts +0 -5
- package/angular/utils/base/localized-mixin.d.ts +0 -22
- package/angular/utils/base/sized-mixin.d.ts +0 -17
- package/angular/utils/color/color-palettes.d.ts +0 -17
- package/angular/utils/color/extrapolate-color.d.ts +0 -1
- package/angular/utils/data/load-data-fields-for-datasets.d.ts +0 -22
- package/angular/utils/data-broker/index.d.ts +0 -263
- package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
- package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
- package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
- package/angular/utils/drag/draggable.d.ts +0 -13
- package/angular/utils/drag/pragmatic-element-adapter.d.ts +0 -2
- package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
- package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
- package/angular/utils/filters/expressions.d.ts +0 -15
- package/angular/utils/filters/index.d.ts +0 -1
- package/angular/utils/formatter/calculate-duration.d.ts +0 -2
- package/angular/utils/formatter/decompose-numeric-format.d.ts +0 -11
- package/angular/utils/formatter/default-local-formats.d.ts +0 -20
- package/angular/utils/formatter/formats/cs.d.ts +0 -20
- package/angular/utils/formatter/formats/da.d.ts +0 -20
- package/angular/utils/formatter/formats/de.d.ts +0 -21
- package/angular/utils/formatter/formats/en-GB.d.ts +0 -21
- package/angular/utils/formatter/formats/en-US.d.ts +0 -1
- package/angular/utils/formatter/formats/en.d.ts +0 -1
- package/angular/utils/formatter/formats/es.d.ts +0 -54
- package/angular/utils/formatter/formats/fi.d.ts +0 -20
- package/angular/utils/formatter/formats/fr.d.ts +0 -54
- package/angular/utils/formatter/formats/he.d.ts +0 -20
- package/angular/utils/formatter/formats/hu.d.ts +0 -20
- package/angular/utils/formatter/formats/it.d.ts +0 -54
- package/angular/utils/formatter/formats/ja.d.ts +0 -20
- package/angular/utils/formatter/formats/ko.d.ts +0 -20
- package/angular/utils/formatter/formats/mk.d.ts +0 -20
- package/angular/utils/formatter/formats/nl.d.ts +0 -21
- package/angular/utils/formatter/formats/no.d.ts +0 -21
- package/angular/utils/formatter/formats/pl.d.ts +0 -20
- package/angular/utils/formatter/formats/pt.d.ts +0 -20
- package/angular/utils/formatter/formats/ru.d.ts +0 -20
- package/angular/utils/formatter/formats/sv.d.ts +0 -20
- package/angular/utils/formatter/formats/tr.d.ts +0 -21
- package/angular/utils/formatter/formats/zh-CN.d.ts +0 -20
- package/angular/utils/formatter/formats/zh-TW.d.ts +0 -20
- package/angular/utils/formatter/formatter.d.ts +0 -9
- package/angular/utils/formatter/get-dataset-name.d.ts +0 -2
- package/angular/utils/formatter/get-localized-name.d.ts +0 -4
- package/angular/utils/formatter/localize.d.ts +0 -3
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
- package/angular/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
- package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
- package/angular/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
- package/angular/utils/formatter/tests/formatter.test.d.ts +0 -1
- package/angular/utils/formatter/tests/get-localized-name.test.d.ts +0 -1
- package/angular/utils/formatter/tests/localize.test.d.ts +0 -1
- package/angular/utils/formula/base/formula-base.d.ts +0 -117
- package/angular/utils/formula/base/formula-input-base.d.ts +0 -62
- package/angular/utils/formula/codemirror/actions.d.ts +0 -47
- package/angular/utils/formula/codemirror/drop-cursor.d.ts +0 -15
- package/angular/utils/formula/codemirror/icon-element.d.ts +0 -7
- package/angular/utils/formula/codemirror/parser.d.ts +0 -16
- package/angular/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
- package/angular/utils/formula/codemirror/theme.d.ts +0 -20
- package/angular/utils/formula/codemirror/widget.d.ts +0 -18
- package/angular/utils/formula/config/aggregations.d.ts +0 -9
- package/angular/utils/formula/config/build-datasets.d.ts +0 -10
- package/angular/utils/formula/config/expression-helpers.d.ts +0 -42
- package/angular/utils/formula/config/functions.d.ts +0 -3
- package/angular/utils/formula/config/groupings.d.ts +0 -9
- package/angular/utils/formula/config/regex.d.ts +0 -39
- package/angular/utils/formula/config/resolve-column-presentation.d.ts +0 -19
- package/angular/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
- package/angular/utils/formula/config/validate-expression.d.ts +0 -19
- package/angular/utils/formula/load-formula-codemirror.d.ts +0 -4
- package/angular/utils/formula/render-explanation-tooltip.d.ts +0 -7
- package/angular/utils/formula/store/formula-display-store.d.ts +0 -93
- package/angular/utils/formula/store/formula-editor-context.d.ts +0 -8
- package/angular/utils/formula/store/formula-editor-store.d.ts +0 -46
- package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
- package/angular/utils/formula/tests/validate-expression.test.d.ts +0 -1
- package/angular/utils/get-css-variable.d.ts +0 -1
- package/angular/utils/index.d.ts +0 -10
- package/angular/utils/localize/set-locale.d.ts +0 -7
- package/angular/utils/map-tile-providers/index.d.ts +0 -93
- package/angular/utils/set-nested-value.d.ts +0 -6
- package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
- package/angular/utils/slot-content/render-calculation-label.d.ts +0 -7
- package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
- package/angular/utils/slot-state/slot-context.d.ts +0 -4
- package/angular/utils/slot-state/slot-store.d.ts +0 -39
- package/angular/utils/store/base-store.d.ts +0 -158
- package/angular/utils/store/dashboard-store.d.ts +0 -49
- package/angular/utils/store/index.d.ts +0 -135
- package/angular/utils/store/item-store.d.ts +0 -33
- package/angular/utils/store/store-registry.d.ts +0 -170
- package/angular/utils/store/tests/dashboard-store.test.d.ts +0 -1
- package/angular/utils/store/tests/item-store.test.d.ts +0 -1
- package/angular/utils/store/tests/store-registry.test.d.ts +0 -1
- package/angular/utils/store/types.d.ts +0 -270
- package/angular/utils/switch-item/index.d.ts +0 -34
- package/angular/utils/switch-item/slot-role-classification.d.ts +0 -31
- package/angular/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
- package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
- package/angular/utils/switch-item/tests/switch-item.test.d.ts +0 -1
- package/angular/utils/tests/set-nested-value.test.d.ts +0 -1
- package/angular/utils/themes/bliss.d.ts +0 -2
- package/angular/utils/themes/classic-dark.d.ts +0 -2
- package/angular/utils/themes/classic.d.ts +0 -2
- package/angular/utils/themes/default-dark.d.ts +0 -2
- package/angular/utils/themes/default.d.ts +0 -2
- package/angular/utils/themes/index.d.ts +0 -4
- package/angular/utils/themes/orion.d.ts +0 -2
- package/angular/utils/themes/pinky.d.ts +0 -2
- package/angular/utils/themes/radiant.d.ts +0 -2
- package/angular/utils/themes/royale.d.ts +0 -2
- package/angular/utils/themes/seasonal.d.ts +0 -2
- package/angular/utils/themes/urban.d.ts +0 -2
- package/angular/utils/themes/vivid.d.ts +0 -2
- package/angular/utils/time/formats.const.d.ts +0 -4
- package/angular/utils/time/period-over-period-condition.const.d.ts +0 -8
- package/angular/utils/time/periods.const.d.ts +0 -15
- package/angular/utils/timezone/datetime-timezone.d.ts +0 -25
- package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
- package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
- package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
- package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
- package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
- package/angular/utils/types/tests/type-check.test.d.ts +0 -1
- package/angular/utils/types/type-check.d.ts +0 -28
- package/components/ad-hoc-slot-content-hSlT62VS.js +0 -29
- package/components/ai-chat/ai-chat-events.d.ts +0 -139
- package/components/ai-chat/ai-chat-request.d.ts +0 -25
- package/components/ai-chat/ai-chat.d.ts +0 -347
- package/components/ai-chat/ai-prompt-types.d.ts +0 -133
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +0 -46
- package/components/ai-chat/empty-state/index.d.ts +0 -8
- package/components/ai-chat/empty-state/types.d.ts +0 -14
- package/components/ai-chat/helpers/agent-config.d.ts +0 -12
- package/components/ai-chat/helpers/elicitation-template.d.ts +0 -18
- package/components/ai-chat/index.cjs +0 -20
- package/components/ai-chat/index.d.ts +0 -24
- package/components/ai-chat/index.js +0 -29
- package/components/ai-chat/session/ai-chat-session-controller.d.ts +0 -60
- package/components/ai-chat/session/ai-chat-session-types.d.ts +0 -119
- package/components/ai-chat/session/ai-chat-session.d.ts +0 -119
- package/components/ai-chat/session/index.d.ts +0 -2
- package/components/ai-chat/stream/chunk-extractors.d.ts +0 -29
- package/components/ai-chat/stream/index.d.ts +0 -53
- package/components/ai-chat/stream/progress.d.ts +0 -3
- package/components/ai-chat/stream/registry.d.ts +0 -6
- package/components/ai-chat/stream/stream-processor.d.ts +0 -2
- package/components/ai-chat/stream/transport.d.ts +0 -26
- package/components/ai-chat/stream/types.d.ts +0 -59
- package/components/ai-chat/types.d.ts +0 -24
- package/components/ai-chat-CG-eIiBr.cjs +0 -337
- package/components/ai-chat-CMc_9Oo2.js +0 -4350
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +0 -232
- package/components/ai-interaction-textarea/index.cjs +0 -20
- package/components/ai-interaction-textarea/index.d.ts +0 -10
- package/components/ai-interaction-textarea/index.js +0 -28
- package/components/ai-interaction-textarea/types.d.ts +0 -12
- package/components/ai-interaction-textarea-B6tZgh5k.cjs +0 -99
- package/components/ai-interaction-textarea-D9g9G0T1.js +0 -820
- package/components/base-D6QPZnpu.cjs +0 -20
- package/components/convert-data-field-to-slot-content-C6IIqU7G.js +0 -53
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +0 -20
- package/components/convert-datasets-to-data-fields-B13rl1an.cjs +0 -20
- package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
- package/components/data-field-9ZZFw68C.cjs +0 -54
- package/components/data-field-D1WW_V0N.js +0 -121
- package/components/data-field-level/data-field-level.d.ts +0 -40
- package/components/data-field-level/helpers/generate-preview.d.ts +0 -9
- package/components/data-field-level/index.cjs +0 -20
- package/components/data-field-level/index.d.ts +0 -8
- package/components/data-field-level/index.js +0 -28
- package/components/data-field-level-Dc-EMhC3.cjs +0 -55
- package/components/data-field-panel-DFA97_8o.cjs +0 -87
- package/components/data-fields-select/data-fields-select.d.ts +0 -133
- package/components/data-fields-select/index.cjs +0 -20
- package/components/data-fields-select/index.d.ts +0 -9
- package/components/data-fields-select/index.js +0 -28
- package/components/data-fields-select/types.d.ts +0 -4
- package/components/data-fields-select-BtXNFZy9.cjs +0 -41
- package/components/dataset-icon/dataset-icon.d.ts +0 -45
- package/components/dataset-icon/index.cjs +0 -20
- package/components/dataset-icon/index.d.ts +0 -8
- package/components/dataset-icon/index.js +0 -28
- package/components/dataset-icon/types.d.ts +0 -11
- package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list/dataset-selector-list.d.ts +0 -106
- package/components/dataset-selector-list/index.cjs +0 -20
- package/components/dataset-selector-list/index.d.ts +0 -8
- package/components/dataset-selector-list/index.js +0 -28
- package/components/dataset-selector-list-BXg6DIKI.cjs +0 -75
- package/components/dataset-selector-list-q6qWA7B-.js +0 -323
- package/components/dataset-selector-row/dataset-selector-row.d.ts +0 -135
- package/components/dataset-selector-row/index.cjs +0 -20
- package/components/dataset-selector-row/index.d.ts +0 -9
- package/components/dataset-selector-row/index.js +0 -28
- package/components/dataset-selector-row-ZKET7lVc.js +0 -427
- package/components/dataset-selector-row-bqwY3zaf.cjs +0 -102
- package/components/decompose-numeric-format-DGJua3rU.cjs +0 -20
- package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
- package/components/decorate-DCJt-2rt.cjs +0 -20
- package/components/display-settings/display-settings.d.ts +0 -117
- package/components/display-settings/index.cjs +0 -20
- package/components/display-settings/index.d.ts +0 -8
- package/components/display-settings/index.js +0 -28
- package/components/display-settings/types.d.ts +0 -9
- package/components/display-settings-BlMhlvVS.cjs +0 -140
- package/components/display-settings-D_wBgzm1.js +0 -313
- package/components/display-settings-binning/display-settings-binning.d.ts +0 -32
- package/components/display-settings-binning/index.cjs +0 -20
- package/components/display-settings-binning/index.d.ts +0 -8
- package/components/display-settings-binning/index.js +0 -28
- package/components/display-settings-datetime/display-settings-datetime.d.ts +0 -86
- package/components/display-settings-datetime/index.cjs +0 -20
- package/components/display-settings-datetime/index.d.ts +0 -8
- package/components/display-settings-datetime/index.js +0 -28
- package/components/display-settings-datetime-DNeLEl3L.cjs +0 -217
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -29
- package/components/display-settings-grand-totals/index.cjs +0 -20
- package/components/display-settings-grand-totals/index.d.ts +0 -8
- package/components/display-settings-grand-totals/index.js +0 -28
- package/components/display-settings-grand-totals-C-7s1Tyo.cjs +0 -44
- package/components/display-settings-numeric/display-settings-numeric.d.ts +0 -82
- package/components/display-settings-numeric/helpers/constants.d.ts +0 -19
- package/components/display-settings-numeric/index.cjs +0 -20
- package/components/display-settings-numeric/index.d.ts +0 -8
- package/components/display-settings-numeric/index.js +0 -28
- package/components/display-settings-numeric--uwJWzC1.cjs +0 -190
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +0 -68
- package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -44
- package/components/display-settings-period-over-period/index.cjs +0 -20
- package/components/display-settings-period-over-period/index.d.ts +0 -8
- package/components/display-settings-period-over-period/index.js +0 -28
- package/components/display-settings-period-over-period-C4X8c-_R.cjs +0 -229
- package/components/filter-expression-picker/filter-expression-picker.d.ts +0 -73
- package/components/filter-expression-picker/index.cjs +0 -20
- package/components/filter-expression-picker/index.d.ts +0 -7
- package/components/filter-expression-picker/index.js +0 -28
- package/components/filter-expression-picker-BOLyxG2r.cjs +0 -38
- package/components/filter-expression-picker-DurfSgRY.js +0 -425
- package/components/filter-item/filter-item.d.ts +0 -103
- package/components/filter-item/index.cjs +0 -20
- package/components/filter-item/index.d.ts +0 -7
- package/components/filter-item/index.js +0 -28
- package/components/filter-item-C58zIpPh.js +0 -316
- package/components/filter-item-obyHcs9f.cjs +0 -71
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +0 -87
- package/components/filter-parameter-picker/filter-parameter-picker.helpers.d.ts +0 -8
- package/components/filter-parameter-picker/index.cjs +0 -20
- package/components/filter-parameter-picker/index.d.ts +0 -9
- package/components/filter-parameter-picker/index.js +0 -28
- package/components/filter-parameter-picker/types.d.ts +0 -4
- package/components/filter-parameter-picker-BWNBc8BI.js +0 -363
- package/components/filter-parameter-picker-DSYaE9Sv.cjs +0 -123
- package/components/filter-value-picker/filter-value-picker.d.ts +0 -66
- package/components/filter-value-picker/index.cjs +0 -20
- package/components/filter-value-picker/index.d.ts +0 -7
- package/components/filter-value-picker/index.js +0 -28
- package/components/filter-value-picker-DYl_1pis.cjs +0 -60
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +0 -45
- package/components/filter-value-picker-datetime/index.cjs +0 -20
- package/components/filter-value-picker-datetime/index.d.ts +0 -7
- package/components/filter-value-picker-datetime/index.js +0 -28
- package/components/filter-value-picker-datetime-BFbmCKs3.cjs +0 -42
- package/components/filter-value-picker-datetime-CP5__ua6.js +0 -139
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +0 -99
- package/components/filter-value-picker-hierarchy/index.cjs +0 -20
- package/components/filter-value-picker-hierarchy/index.d.ts +0 -7
- package/components/filter-value-picker-hierarchy/index.js +0 -28
- package/components/filter-value-picker-hierarchy-BTf992WX.cjs +0 -48
- package/components/filter-value-picker-hierarchy-j0LRYW1c.js +0 -299
- package/components/filter-value-picker-kzIrnmdp.js +0 -151
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +0 -83
- package/components/filter-value-picker-numeric/index.cjs +0 -20
- package/components/filter-value-picker-numeric/index.d.ts +0 -7
- package/components/filter-value-picker-numeric/index.js +0 -28
- package/components/filter-value-picker-numeric-BmKmeOol.js +0 -219
- package/components/filter-value-picker-numeric-DJi0Utk_.cjs +0 -48
- package/components/filters-BddhKRZC.js +0 -745
- package/components/filters-Dx6g0xl9.cjs +0 -153
- package/components/formatter-BeXmurVe.cjs +0 -20
- package/components/formula-cc2AaiLt.cjs +0 -45
- package/components/formula-codemirror/formula-codemirror.d.ts +0 -79
- package/components/formula-codemirror/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +0 -125
- package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +0 -28
- package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +0 -38
- package/components/formula-codemirror-EMK3MCNZ.cjs +0 -215
- package/components/formula-display-store-DER7C0GG.cjs +0 -20
- package/components/formula-draggable-field/formula-draggable-field.d.ts +0 -53
- package/components/formula-draggable-field/index.d.ts +0 -8
- package/components/formula-draggable-field/types.d.ts +0 -24
- package/components/formula-editor-CWKXcUTF.cjs +0 -224
- package/components/formula-field/formula-field.d.ts +0 -20
- package/components/formula-field/index.cjs +0 -20
- package/components/formula-field/index.d.ts +0 -7
- package/components/formula-field/index.js +0 -28
- package/components/formula-field-BtvaOWki.js +0 -40
- package/components/formula-field-CzS2pKJI.cjs +0 -20
- package/components/formula-input-base-CvD0b2cO.cjs +0 -49
- package/components/formula-input-base-DVtGLoyA.js +0 -236
- package/components/get-dataset-name-D53TN7N9.js +0 -32
- package/components/get-dataset-name-DYLdbEs-.cjs +0 -20
- package/components/groupings-Bn9384Zw.cjs +0 -20
- package/components/groupings-BtmmUlPK.js +0 -52
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +0 -7
- package/components/interactive-viz-item/index.cjs +0 -20
- package/components/interactive-viz-item/index.d.ts +0 -10
- package/components/interactive-viz-item/index.js +0 -28
- package/components/interactive-viz-item/interactive-viz-item.d.ts +0 -96
- package/components/interactive-viz-item/types.d.ts +0 -117
- package/components/interactive-viz-item-DL5aqkvx.js +0 -693
- package/components/interactive-viz-item-DTr14-9-.cjs +0 -247
- package/components/item-menu/item-list/item-list.d.ts +0 -37
- package/components/item-option-action-button-group-Byg9h7uo.cjs +0 -53
- package/components/item-option-base/item-option-base.d.ts +0 -23
- package/components/item-option-base-Dwf3dByS.cjs +0 -56
- package/components/item-option-color-palette-picker-v6TBE-I0.cjs +0 -40
- package/components/item-option-color-range-BveD6fsp.cjs +0 -98
- package/components/item-option-guidelines-D8UjylMx.cjs +0 -135
- package/components/item-option-h8URFjZ2.cjs +0 -269
- package/components/item-option-position-picker-CKgaqFJR.cjs +0 -32
- package/components/item-option-positions-number-field-BJXer0y5.cjs +0 -49
- package/components/item-option-slider-CBSnkHVq.cjs +0 -33
- package/components/item-slot-drop-f8jm-34W.cjs +0 -91
- package/components/item-slot-drop-panel-DLqyYvKj.cjs +0 -57
- package/components/item-slot-picker-CgEtqhqe.cjs +0 -174
- package/components/item-slot-picker-panel-CuH3OcmV.cjs +0 -81
- package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
- package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
- package/components/localized-mixin-CtNoCjjI.cjs +0 -20
- package/components/localized-mixin-DBUkUh0o.js +0 -45
- package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
- package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +0 -20
- package/components/slot-menu/index.cjs +0 -20
- package/components/slot-menu/index.d.ts +0 -10
- package/components/slot-menu/index.js +0 -28
- package/components/slot-menu/slot-menu.d.ts +0 -148
- package/components/slot-menu/types.d.ts +0 -24
- package/components/slot-menu-CPxyyKSe.cjs +0 -71
- package/components/slot-menu-DHJtAZ5_.js +0 -429
- package/components/slot-menu-list/index.cjs +0 -20
- package/components/slot-menu-list/index.d.ts +0 -8
- package/components/slot-menu-list/index.js +0 -28
- package/components/slot-menu-list/slot-menu-list.d.ts +0 -47
- package/components/slot-menu-list-CeWcE4KK.cjs +0 -44
- package/components/slot-menu-list-QltpaoWh.js +0 -347
- package/components/slot-role-classification-2wChhpcq.cjs +0 -20
- package/components/slot-role-classification-B8bkGhQ_.js +0 -133
- package/components/slots-config-Cd4xAG4H.cjs +0 -20
- package/components/slots-config-D3ivNWtC.js +0 -76
- package/components/utils-BwJNkc-z.cjs +0 -20
- package/components/viz-item-menu/index.cjs +0 -20
- package/components/viz-item-menu/index.d.ts +0 -8
- package/components/viz-item-menu/index.js +0 -28
- package/components/viz-item-menu/types.d.ts +0 -9
- package/components/viz-item-menu/viz-item-menu.d.ts +0 -75
- package/components/viz-item-menu-Ht6bklNL.js +0 -170
- package/components/viz-item-menu-XHh4qhtn.cjs +0 -55
- package/deprecated-react/components/ai-chat.component.cjs +0 -1
- package/deprecated-react/components/ai-interaction-textarea.component.cjs +0 -1
- package/deprecated-react/components/data-field-level.component.cjs +0 -1
- package/deprecated-react/components/data-fields-select.component.cjs +0 -1
- package/deprecated-react/components/dataset-icon.component.cjs +0 -1
- package/deprecated-react/components/dataset-selector-list.component.cjs +0 -1
- package/deprecated-react/components/dataset-selector-row.component.cjs +0 -1
- package/deprecated-react/components/display-settings-binning.component.cjs +0 -1
- package/deprecated-react/components/display-settings-datetime.component.cjs +0 -1
- package/deprecated-react/components/display-settings-grand-totals.component.cjs +0 -1
- package/deprecated-react/components/display-settings-numeric.component.cjs +0 -1
- package/deprecated-react/components/display-settings-period-over-period.component.cjs +0 -1
- package/deprecated-react/components/display-settings.component.cjs +0 -1
- package/deprecated-react/components/filter-expression-picker.component.cjs +0 -1
- package/deprecated-react/components/filter-item.component.cjs +0 -1
- package/deprecated-react/components/filter-parameter-picker.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker-datetime.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker-numeric.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker.component.cjs +0 -1
- package/deprecated-react/components/formula-field.component.cjs +0 -1
- package/deprecated-react/components/interactive-viz-item.component.cjs +0 -1
- package/deprecated-react/components/slot-menu-list.component.cjs +0 -1
- package/deprecated-react/components/slot-menu.component.cjs +0 -1
- package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
- package/react/components/ai-chat.component.ts +0 -45
- package/react/components/ai-interaction-textarea.component.ts +0 -30
- package/react/components/data-field-level.component.ts +0 -30
- package/react/components/data-fields-select.component.ts +0 -27
- package/react/components/dataset-icon.component.ts +0 -22
- package/react/components/dataset-selector-list.component.ts +0 -27
- package/react/components/dataset-selector-row.component.ts +0 -36
- package/react/components/display-settings-binning.component.ts +0 -27
- package/react/components/display-settings-datetime.component.ts +0 -27
- package/react/components/display-settings-grand-totals.component.ts +0 -27
- package/react/components/display-settings-numeric.component.ts +0 -27
- package/react/components/display-settings-period-over-period.component.ts +0 -27
- package/react/components/display-settings.component.ts +0 -33
- package/react/components/filter-expression-picker.component.ts +0 -27
- package/react/components/filter-item.component.ts +0 -27
- package/react/components/filter-parameter-picker.component.ts +0 -33
- package/react/components/filter-value-picker-datetime.component.ts +0 -27
- package/react/components/filter-value-picker-hierarchy.component.ts +0 -27
- package/react/components/filter-value-picker-numeric.component.ts +0 -27
- package/react/components/filter-value-picker.component.ts +0 -27
- package/react/components/formula-field.component.ts +0 -30
- package/react/components/interactive-viz-item.component.ts +0 -33
- package/react/components/slot-menu-list.component.ts +0 -27
- package/react/components/slot-menu.component.ts +0 -42
- package/react/components/viz-item-menu.component.ts +0 -33
- package/react/esm/components/ai-chat.component.d.ts +0 -24
- package/react/esm/components/ai-chat.component.js +0 -29
- package/react/esm/components/ai-interaction-textarea.component.d.ts +0 -14
- package/react/esm/components/ai-interaction-textarea.component.js +0 -19
- package/react/esm/components/data-field-level.component.d.ts +0 -14
- package/react/esm/components/data-field-level.component.js +0 -19
- package/react/esm/components/data-fields-select.component.d.ts +0 -12
- package/react/esm/components/data-fields-select.component.js +0 -17
- package/react/esm/components/dataset-icon.component.d.ts +0 -8
- package/react/esm/components/dataset-icon.component.js +0 -13
- package/react/esm/components/dataset-selector-list.component.d.ts +0 -12
- package/react/esm/components/dataset-selector-list.component.js +0 -17
- package/react/esm/components/dataset-selector-row.component.d.ts +0 -18
- package/react/esm/components/dataset-selector-row.component.js +0 -23
- package/react/esm/components/display-settings-binning.component.d.ts +0 -12
- package/react/esm/components/display-settings-binning.component.js +0 -17
- package/react/esm/components/display-settings-datetime.component.d.ts +0 -12
- package/react/esm/components/display-settings-datetime.component.js +0 -17
- package/react/esm/components/display-settings-grand-totals.component.d.ts +0 -12
- package/react/esm/components/display-settings-grand-totals.component.js +0 -17
- package/react/esm/components/display-settings-numeric.component.d.ts +0 -12
- package/react/esm/components/display-settings-numeric.component.js +0 -17
- package/react/esm/components/display-settings-period-over-period.component.d.ts +0 -12
- package/react/esm/components/display-settings-period-over-period.component.js +0 -17
- package/react/esm/components/display-settings.component.d.ts +0 -16
- package/react/esm/components/display-settings.component.js +0 -21
- package/react/esm/components/filter-expression-picker.component.d.ts +0 -12
- package/react/esm/components/filter-expression-picker.component.js +0 -17
- package/react/esm/components/filter-item.component.d.ts +0 -12
- package/react/esm/components/filter-item.component.js +0 -17
- package/react/esm/components/filter-parameter-picker.component.d.ts +0 -16
- package/react/esm/components/filter-parameter-picker.component.js +0 -21
- package/react/esm/components/filter-value-picker-datetime.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker-datetime.component.js +0 -17
- package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker-hierarchy.component.js +0 -17
- package/react/esm/components/filter-value-picker-numeric.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker-numeric.component.js +0 -17
- package/react/esm/components/filter-value-picker.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker.component.js +0 -17
- package/react/esm/components/formula-field.component.d.ts +0 -14
- package/react/esm/components/formula-field.component.js +0 -19
- package/react/esm/components/interactive-viz-item.component.d.ts +0 -16
- package/react/esm/components/interactive-viz-item.component.js +0 -21
- package/react/esm/components/slot-menu-list.component.d.ts +0 -12
- package/react/esm/components/slot-menu-list.component.js +0 -17
- package/react/esm/components/slot-menu.component.d.ts +0 -22
- package/react/esm/components/slot-menu.component.js +0 -27
- package/react/esm/components/viz-item-menu.component.d.ts +0 -16
- package/react/esm/components/viz-item-menu.component.js +0 -21
- package/storybook/inject-global-vars.d.ts +0 -1
- package/storybook/register-components.d.ts +0 -57
- package/types/agent.types.d.ts +0 -4
- package/types/ai-chat.types.d.ts +0 -104
- package/types/data-field-events.types.d.ts +0 -7
- /package/{angular/utils/ai-prompt/tests/attachments.test.d.ts → utils/slot-state/tests/slot-store.test.d.ts} +0 -0
|
@@ -17,39 +17,68 @@
|
|
|
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 { i as e, n as t } from "./base-
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import { property as
|
|
25
|
-
import { msg as
|
|
20
|
+
import { i as e, n as t } from "./base-IE9Qxmub.js";
|
|
21
|
+
import { n, t as r } from "./localized-mixin-DhiGdPMj.js";
|
|
22
|
+
import { t as i } from "./load-data-fields-for-datasets-B76UR0sG.js";
|
|
23
|
+
import { luzmoScopeFixed as a, luzmoScopeFull as o, luzmoScopeGrouped as s } from "@luzmo/icons";
|
|
24
|
+
import { property as c, state as l } from "lit/decorators.js";
|
|
25
|
+
import { msg as u } from "@lit/localize";
|
|
26
26
|
//#region src/types/formula.types.ts
|
|
27
|
-
var
|
|
27
|
+
var d = /* @__PURE__ */ function(e) {
|
|
28
28
|
return e.GROUP = "", e.GROUPFULL = "GROUPFULL", e.GROUPINEX = "GROUPINEX", e;
|
|
29
|
-
}({}),
|
|
29
|
+
}({}), f = [
|
|
30
|
+
d.GROUP,
|
|
31
|
+
d.GROUPFULL,
|
|
32
|
+
d.GROUPINEX
|
|
33
|
+
];
|
|
34
|
+
function p() {
|
|
35
|
+
return {
|
|
36
|
+
[d.GROUP]: {
|
|
37
|
+
label: () => u("Grouped", { desc: "Formula aggregation grouping label for grouped scope" }),
|
|
38
|
+
description: () => u("Aggregates within the current grouping of the chart.", { desc: "Formula aggregation grouping description for grouped scope" }),
|
|
39
|
+
icon: s,
|
|
40
|
+
color: "var(--luzmo-formula-grouping-color-grouped, #625df6)"
|
|
41
|
+
},
|
|
42
|
+
[d.GROUPFULL]: {
|
|
43
|
+
label: () => u("Full", { desc: "Formula aggregation grouping label for full scope" }),
|
|
44
|
+
description: () => u("Aggregates across the entire dataset, ignoring the chart grouping.", { desc: "Formula aggregation grouping description for full scope" }),
|
|
45
|
+
icon: o,
|
|
46
|
+
color: "var(--luzmo-formula-grouping-color-full, #0ca789)"
|
|
47
|
+
},
|
|
48
|
+
[d.GROUPINEX]: {
|
|
49
|
+
label: () => u("Include / exclude", { desc: "Formula aggregation grouping label for include/exclude scope" }),
|
|
50
|
+
description: () => u("Aggregates over a custom grouping built from included and excluded columns.", { desc: "Formula aggregation grouping description for include/exclude scope" }),
|
|
51
|
+
icon: a,
|
|
52
|
+
color: "var(--luzmo-formula-grouping-color-include-exclude, #f00f65)"
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/utils/formula/config/regex.ts
|
|
58
|
+
var m = String.raw`[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}`, h = RegExp(`##EMPTYARG-(${m})##|{(${m}:${m})}|##AGGR-(${m})##`, "gm"), g = RegExp(`##EMPTYARG-(${m})##|{(${m}:${m})}`, "gm"), _ = /((GROUPFULL|GROUPINEX)\()?(AVG|COUNT|COUNTD|COUNTR|MAX|MIN|SUM)\(/m, v = /(AVG|COUNT|COUNTD|MAX|MIN|SUM)\(\)/m, y = RegExp(`##AGGR-(${m})##`, "m"), b = /\[(.*?)\]/gm, x = RegExp(`{(${m}:${m})}`, "gm");
|
|
30
59
|
//#endregion
|
|
31
60
|
//#region src/utils/formula/config/expression-helpers.ts
|
|
32
|
-
function
|
|
61
|
+
function S() {
|
|
33
62
|
return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
|
|
34
63
|
let t = Math.random() * 16 | 0;
|
|
35
64
|
return (e === "x" ? t : t & 3 | 8).toString(16);
|
|
36
65
|
});
|
|
37
66
|
}
|
|
38
|
-
function
|
|
39
|
-
return `##EMPTYARG-${
|
|
67
|
+
function C() {
|
|
68
|
+
return `##EMPTYARG-${S()}##`;
|
|
40
69
|
}
|
|
41
|
-
function
|
|
70
|
+
function w(e) {
|
|
42
71
|
return `##AGGR-${e}##`;
|
|
43
72
|
}
|
|
44
|
-
function
|
|
73
|
+
function T(e, t) {
|
|
45
74
|
let { aggregationFunction: n, content: r, grouping: i, includedColumns: a, excludedColumns: o } = e ?? {}, s = `${n}(${t[n]?.arity > 0 ? r : ""})`;
|
|
46
75
|
switch (i) {
|
|
47
|
-
case
|
|
48
|
-
case
|
|
76
|
+
case d.GROUPFULL: return `GROUPFULL(${s})`;
|
|
77
|
+
case d.GROUPINEX: return `GROUPINEX(${s}, [${a?.map((e) => `{${e}}`).join(", ") || ""}], [${o?.map((e) => `{${e}}`).join(", ") || ""}])`;
|
|
49
78
|
default: return s;
|
|
50
79
|
}
|
|
51
80
|
}
|
|
52
|
-
function
|
|
81
|
+
function E(e) {
|
|
53
82
|
let t = e.split(""), n = null;
|
|
54
83
|
for (let e = 0; e < t.length; e++) {
|
|
55
84
|
let r = t[e];
|
|
@@ -57,7 +86,7 @@ function x(e) {
|
|
|
57
86
|
}
|
|
58
87
|
return t.join("");
|
|
59
88
|
}
|
|
60
|
-
function
|
|
89
|
+
function D(e, t = 0) {
|
|
61
90
|
let n = 0, r = -1, i = null;
|
|
62
91
|
for (let a = t, o = e.length; a < o; a++) {
|
|
63
92
|
let t = e[a];
|
|
@@ -77,14 +106,14 @@ function S(e, t = 0) {
|
|
|
77
106
|
}
|
|
78
107
|
return r;
|
|
79
108
|
}
|
|
80
|
-
function
|
|
81
|
-
let t = e.match(
|
|
109
|
+
function O(e) {
|
|
110
|
+
let t = e.match(b), n = t?.[0], r = t?.[1];
|
|
82
111
|
return {
|
|
83
|
-
includedColumns: n?.match(
|
|
84
|
-
excludedColumns: r?.match(
|
|
112
|
+
includedColumns: n?.match(x)?.map((e) => e.slice(1, -1)) ?? [],
|
|
113
|
+
excludedColumns: r?.match(x)?.map((e) => e.slice(1, -1)) ?? []
|
|
85
114
|
};
|
|
86
115
|
}
|
|
87
|
-
function
|
|
116
|
+
function k(e = "light") {
|
|
88
117
|
return !e || e === "light" ? [
|
|
89
118
|
"#0E89E0",
|
|
90
119
|
"#F45000",
|
|
@@ -101,8 +130,8 @@ function w(e = "light") {
|
|
|
101
130
|
}
|
|
102
131
|
//#endregion
|
|
103
132
|
//#region src/utils/formula/config/build-datasets.ts
|
|
104
|
-
function
|
|
105
|
-
let t =
|
|
133
|
+
function A(e) {
|
|
134
|
+
let t = k("light"), n = e.length > 1;
|
|
106
135
|
return e.map((e, r) => {
|
|
107
136
|
let i = [];
|
|
108
137
|
return "dataFields" in e && Array.isArray(e.dataFields) && e.dataFields.length > 0 ? i = e.dataFields.filter((e) => !!e.columnId) : "columns" in e && Array.isArray(e.columns) && (i = e.columns.map((t) => {
|
|
@@ -123,30 +152,30 @@ function T(e) {
|
|
|
123
152
|
}
|
|
124
153
|
//#endregion
|
|
125
154
|
//#region src/utils/formula/load-formula-codemirror.ts
|
|
126
|
-
var
|
|
127
|
-
async function
|
|
128
|
-
if (!
|
|
129
|
-
|
|
155
|
+
var j = !1, M;
|
|
156
|
+
async function N() {
|
|
157
|
+
if (!j) {
|
|
158
|
+
M ??= import("./formula-codemirror-jVC8mjQ3.js");
|
|
130
159
|
try {
|
|
131
|
-
await
|
|
160
|
+
await M, j = !0;
|
|
132
161
|
} catch (e) {
|
|
133
|
-
throw
|
|
162
|
+
throw M = void 0, e;
|
|
134
163
|
}
|
|
135
164
|
}
|
|
136
165
|
}
|
|
137
|
-
function
|
|
138
|
-
return
|
|
166
|
+
function P() {
|
|
167
|
+
return j;
|
|
139
168
|
}
|
|
140
169
|
//#endregion
|
|
141
170
|
//#region src/utils/formula/base/formula-base.ts
|
|
142
|
-
var
|
|
171
|
+
var F = class extends r(t(e, { validSizes: [
|
|
143
172
|
"s",
|
|
144
173
|
"m",
|
|
145
174
|
"l",
|
|
146
175
|
"xl"
|
|
147
176
|
] })) {
|
|
148
177
|
constructor() {
|
|
149
|
-
super(), this.expression = "", this.datasetsDataFields = [], this.datasetIds = [], this.apiUrl = "https://api.luzmo.com", this.showAggregations = !0, this.contentLanguage = "en", this.multiStageAggregation = !0, this.nestedAggregation = !0, this._datasets = [], this._codeMirrorLoaded =
|
|
178
|
+
super(), this.expression = "", this.datasetsDataFields = [], this.datasetIds = [], this.apiUrl = "https://api.luzmo.com", this.showAggregations = !0, this.contentLanguage = "en", this.multiStageAggregation = !0, this.nestedAggregation = !0, this._datasets = [], this._codeMirrorLoaded = P(), this._rootContent = "", this._lastEmittedExpression = null, this._applyingExternalExpression = !1, this._handleWidgetsChanged = () => {
|
|
150
179
|
this._recomputeExpression();
|
|
151
180
|
}, this._store = this._createStore();
|
|
152
181
|
}
|
|
@@ -169,7 +198,7 @@ var A = class extends r(t(e, { validSizes: [
|
|
|
169
198
|
return this.renderRoot?.querySelector("luzmo-formula-codemirror");
|
|
170
199
|
}
|
|
171
200
|
async _ensureCodeMirrorLoaded() {
|
|
172
|
-
this._codeMirrorLoaded ||= (await
|
|
201
|
+
this._codeMirrorLoaded ||= (await N(), !0);
|
|
173
202
|
}
|
|
174
203
|
willUpdate(e) {
|
|
175
204
|
super.willUpdate(e), this._shouldLoadInput() && this._ensureCodeMirrorLoaded(), (e.has("multiStageAggregation") || e.has("nestedAggregation") || e.has("contentLanguage") || e.has("size")) && (this._store.multiStageAggregation = this.multiStageAggregation, this._store.nestedAggregation = this.nestedAggregation, this._store.contentLanguage = this.contentLanguage, this._store.size = this.size), (e.has("datasetsDataFields") || e.has("datasetIds") || e.has("apiUrl") || e.has("authKey") || e.has("authToken")) && this._loadDatasets(), e.has("showAggregations") && this._rebuildAutoCompletion(), e.has("expression") && this._applyExternalExpression();
|
|
@@ -180,7 +209,7 @@ var A = class extends r(t(e, { validSizes: [
|
|
|
180
209
|
return;
|
|
181
210
|
}
|
|
182
211
|
if (this.datasetsDataFields.length > 0) {
|
|
183
|
-
this._datasets =
|
|
212
|
+
this._datasets = A(this.datasetsDataFields), this._store.datasets = this._datasets, this._store.refreshDecorations(), this._setLoading(!1), this._rebuildAutoCompletion();
|
|
184
213
|
return;
|
|
185
214
|
}
|
|
186
215
|
if (this.datasetIds.length > 0) {
|
|
@@ -191,7 +220,7 @@ var A = class extends r(t(e, { validSizes: [
|
|
|
191
220
|
authKey: this.authKey,
|
|
192
221
|
authToken: this.authToken
|
|
193
222
|
} });
|
|
194
|
-
this._datasets =
|
|
223
|
+
this._datasets = A(e), this._store.datasets = this._datasets, this._store.refreshDecorations(), this._rebuildAutoCompletion();
|
|
195
224
|
} catch (e) {
|
|
196
225
|
console.warn(`[${this.localName}] Failed to load datasets:`, e), this.dispatchEvent(new CustomEvent("luzmo-datasets-error", {
|
|
197
226
|
bubbles: !0,
|
|
@@ -241,36 +270,36 @@ var A = class extends r(t(e, { validSizes: [
|
|
|
241
270
|
}
|
|
242
271
|
_setLoading(e) {}
|
|
243
272
|
};
|
|
244
|
-
n([
|
|
273
|
+
n([c({ type: String })], F.prototype, "expression", void 0), n([c({ attribute: !1 })], F.prototype, "datasetsDataFields", void 0), n([c({
|
|
245
274
|
type: Array,
|
|
246
275
|
attribute: "dataset-ids"
|
|
247
|
-
})],
|
|
276
|
+
})], F.prototype, "datasetIds", void 0), n([c({
|
|
248
277
|
type: String,
|
|
249
278
|
attribute: "api-url"
|
|
250
|
-
})],
|
|
279
|
+
})], F.prototype, "apiUrl", void 0), n([c({
|
|
251
280
|
type: String,
|
|
252
281
|
attribute: "auth-key"
|
|
253
|
-
})],
|
|
282
|
+
})], F.prototype, "authKey", void 0), n([c({
|
|
254
283
|
type: String,
|
|
255
284
|
attribute: "auth-token"
|
|
256
|
-
})],
|
|
285
|
+
})], F.prototype, "authToken", void 0), n([c({
|
|
257
286
|
type: Boolean,
|
|
258
287
|
attribute: "show-aggregations",
|
|
259
288
|
reflect: !0
|
|
260
|
-
})],
|
|
289
|
+
})], F.prototype, "showAggregations", void 0), n([c({
|
|
261
290
|
type: String,
|
|
262
291
|
attribute: "content-language",
|
|
263
292
|
reflect: !0
|
|
264
|
-
})],
|
|
293
|
+
})], F.prototype, "contentLanguage", void 0), n([c({
|
|
265
294
|
type: Boolean,
|
|
266
295
|
attribute: "multi-stage-aggregation"
|
|
267
|
-
})],
|
|
296
|
+
})], F.prototype, "multiStageAggregation", void 0), n([c({
|
|
268
297
|
type: Boolean,
|
|
269
298
|
attribute: "nested-aggregation"
|
|
270
|
-
})],
|
|
299
|
+
})], F.prototype, "nestedAggregation", void 0), n([l()], F.prototype, "_datasets", void 0), n([l()], F.prototype, "_codeMirrorLoaded", void 0);
|
|
271
300
|
//#endregion
|
|
272
301
|
//#region src/utils/formula/config/aggregations.ts
|
|
273
|
-
var
|
|
302
|
+
var I = [
|
|
274
303
|
"AVG",
|
|
275
304
|
"COUNT",
|
|
276
305
|
"COUNTD",
|
|
@@ -279,53 +308,53 @@ var j = [
|
|
|
279
308
|
"MIN",
|
|
280
309
|
"SUM"
|
|
281
310
|
];
|
|
282
|
-
function
|
|
311
|
+
function L() {
|
|
283
312
|
return {
|
|
284
313
|
AVG: {
|
|
285
314
|
arity: 1,
|
|
286
|
-
label: () =>
|
|
287
|
-
description: () =>
|
|
315
|
+
label: () => u("Average", { desc: "Aggregation label" }),
|
|
316
|
+
description: () => u("Calculates the average of the values.", { desc: "Formula aggregation description for AVG" }),
|
|
288
317
|
example: () => "AVG(⟨numeric⟩ Order Value)",
|
|
289
318
|
exampleHasIcons: !0
|
|
290
319
|
},
|
|
291
320
|
COUNT: {
|
|
292
321
|
arity: 1,
|
|
293
|
-
label: () =>
|
|
294
|
-
description: () =>
|
|
322
|
+
label: () => u("Count", { desc: "Aggregation label" }),
|
|
323
|
+
description: () => u("Counts the number of non-empty values.", { desc: "Formula aggregation description for COUNT" }),
|
|
295
324
|
example: () => "COUNT(⟨numeric⟩ Order Number)",
|
|
296
325
|
exampleHasIcons: !0
|
|
297
326
|
},
|
|
298
327
|
COUNTD: {
|
|
299
328
|
arity: 1,
|
|
300
|
-
label: () =>
|
|
301
|
-
description: () =>
|
|
329
|
+
label: () => u("Count distinct", { desc: "Aggregation label" }),
|
|
330
|
+
description: () => u("Counts the number of distinct values.", { desc: "Formula aggregation description for COUNTD" }),
|
|
302
331
|
example: () => "COUNTD(⟨numeric⟩ Customer ID)",
|
|
303
332
|
exampleHasIcons: !0
|
|
304
333
|
},
|
|
305
334
|
COUNTR: {
|
|
306
335
|
arity: 0,
|
|
307
|
-
label: () =>
|
|
308
|
-
description: () =>
|
|
336
|
+
label: () => u("Count rows", { desc: "Aggregation label" }),
|
|
337
|
+
description: () => u("Counts the number of rows.", { desc: "Formula aggregation description for COUNTR" }),
|
|
309
338
|
example: () => "COUNTR()"
|
|
310
339
|
},
|
|
311
340
|
MAX: {
|
|
312
341
|
arity: 1,
|
|
313
|
-
label: () =>
|
|
314
|
-
description: () =>
|
|
342
|
+
label: () => u("Maximum", { desc: "Aggregation label" }),
|
|
343
|
+
description: () => u("Returns the largest value.", { desc: "Formula aggregation description for MAX" }),
|
|
315
344
|
example: () => "MAX(⟨numeric⟩ Order Value)",
|
|
316
345
|
exampleHasIcons: !0
|
|
317
346
|
},
|
|
318
347
|
MIN: {
|
|
319
348
|
arity: 1,
|
|
320
|
-
label: () =>
|
|
321
|
-
description: () =>
|
|
349
|
+
label: () => u("Minimum", { desc: "Aggregation label" }),
|
|
350
|
+
description: () => u("Returns the smallest value.", { desc: "Formula aggregation description for MIN" }),
|
|
322
351
|
example: () => "MIN(⟨numeric⟩ Order Value)",
|
|
323
352
|
exampleHasIcons: !0
|
|
324
353
|
},
|
|
325
354
|
SUM: {
|
|
326
355
|
arity: 1,
|
|
327
|
-
label: () =>
|
|
328
|
-
description: () =>
|
|
356
|
+
label: () => u("Sum", { desc: "Aggregation label" }),
|
|
357
|
+
description: () => u("Adds up all the values.", { desc: "Formula aggregation description for SUM" }),
|
|
329
358
|
example: () => "SUM(⟨numeric⟩ Quantity Sold)",
|
|
330
359
|
exampleHasIcons: !0
|
|
331
360
|
}
|
|
@@ -333,11 +362,11 @@ function M() {
|
|
|
333
362
|
}
|
|
334
363
|
//#endregion
|
|
335
364
|
//#region src/utils/formula/config/functions.ts
|
|
336
|
-
function
|
|
365
|
+
function R() {
|
|
337
366
|
return [
|
|
338
367
|
{
|
|
339
368
|
key: "string",
|
|
340
|
-
title: () =>
|
|
369
|
+
title: () => u("String", { desc: "Formula function category title for string functions" }),
|
|
341
370
|
functions: [
|
|
342
371
|
"||",
|
|
343
372
|
"LENGTH",
|
|
@@ -354,7 +383,7 @@ function N() {
|
|
|
354
383
|
},
|
|
355
384
|
{
|
|
356
385
|
key: "dateTime",
|
|
357
|
-
title: () =>
|
|
386
|
+
title: () => u("Date and time", { desc: "Formula function category title for date and time functions" }),
|
|
358
387
|
functions: [
|
|
359
388
|
"NOW",
|
|
360
389
|
"DATE_ADD",
|
|
@@ -385,7 +414,7 @@ function N() {
|
|
|
385
414
|
},
|
|
386
415
|
{
|
|
387
416
|
key: "mathematical",
|
|
388
|
-
title: () =>
|
|
417
|
+
title: () => u("Mathematical", { desc: "Formula function category title for mathematical functions" }),
|
|
389
418
|
functions: [
|
|
390
419
|
"+",
|
|
391
420
|
"-",
|
|
@@ -408,17 +437,17 @@ function N() {
|
|
|
408
437
|
},
|
|
409
438
|
{
|
|
410
439
|
key: "conditional",
|
|
411
|
-
title: () =>
|
|
440
|
+
title: () => u("Conditional", { desc: "Formula function category title for conditional functions" }),
|
|
412
441
|
functions: ["IF", "COALESCE"]
|
|
413
442
|
},
|
|
414
443
|
{
|
|
415
444
|
key: "conversion",
|
|
416
|
-
title: () =>
|
|
445
|
+
title: () => u("Conversion", { desc: "Formula function category title for conversion functions" }),
|
|
417
446
|
functions: ["CAST"]
|
|
418
447
|
},
|
|
419
448
|
{
|
|
420
449
|
key: "comparison",
|
|
421
|
-
title: () =>
|
|
450
|
+
title: () => u("Comparison", { desc: "Formula function category title for comparison functions" }),
|
|
422
451
|
functions: [
|
|
423
452
|
">",
|
|
424
453
|
"<",
|
|
@@ -430,7 +459,7 @@ function N() {
|
|
|
430
459
|
},
|
|
431
460
|
{
|
|
432
461
|
key: "logical",
|
|
433
|
-
title: () =>
|
|
462
|
+
title: () => u("Logical", { desc: "Formula function category title for logical functions" }),
|
|
434
463
|
functions: [
|
|
435
464
|
"AND",
|
|
436
465
|
"OR",
|
|
@@ -439,7 +468,7 @@ function N() {
|
|
|
439
468
|
},
|
|
440
469
|
{
|
|
441
470
|
key: "circular",
|
|
442
|
-
title: () =>
|
|
471
|
+
title: () => u("Circular", { desc: "Formula function category title for circular functions" }),
|
|
443
472
|
functions: [
|
|
444
473
|
"SIN",
|
|
445
474
|
"COS",
|
|
@@ -454,571 +483,571 @@ function N() {
|
|
|
454
483
|
},
|
|
455
484
|
{
|
|
456
485
|
key: "spatial",
|
|
457
|
-
title: () =>
|
|
486
|
+
title: () => u("Spatial", { desc: "Formula function category title for spatial functions" }),
|
|
458
487
|
functions: ["COORDS"]
|
|
459
488
|
}
|
|
460
489
|
];
|
|
461
490
|
}
|
|
462
|
-
function
|
|
491
|
+
function z() {
|
|
463
492
|
let e = 2026;
|
|
464
493
|
return {
|
|
465
494
|
"+": {
|
|
466
495
|
type: "infix",
|
|
467
496
|
arity: 2,
|
|
468
|
-
label: () =>
|
|
469
|
-
description: () =>
|
|
497
|
+
label: () => u("Addition", { desc: "Formula function label for addition" }),
|
|
498
|
+
description: () => u("Adds two numeric values.", { desc: "Formula function description for addition operator" }),
|
|
470
499
|
example: () => "42.0 + ⟨numeric⟩ Average burrito price",
|
|
471
500
|
exampleHasIcons: !0
|
|
472
501
|
},
|
|
473
502
|
"-": {
|
|
474
503
|
type: "infix",
|
|
475
504
|
arity: 2,
|
|
476
|
-
label: () =>
|
|
477
|
-
description: () =>
|
|
505
|
+
label: () => u("Difference", { desc: "Formula function label for subtraction" }),
|
|
506
|
+
description: () => u("Subtracts the second value from the first value.", { desc: "Formula function description for subtraction operator" }),
|
|
478
507
|
example: () => "⟨numeric⟩ Burrito weight - 42",
|
|
479
508
|
exampleHasIcons: !0
|
|
480
509
|
},
|
|
481
510
|
"*": {
|
|
482
511
|
type: "infix",
|
|
483
512
|
arity: 2,
|
|
484
|
-
label: () =>
|
|
485
|
-
description: () =>
|
|
513
|
+
label: () => u("Multiplication", { desc: "Formula function label for multiplication" }),
|
|
514
|
+
description: () => u("Multiplies two numeric values.", { desc: "Formula function description for multiplication operator" }),
|
|
486
515
|
example: () => "⟨numeric⟩ Number of burritos * 2",
|
|
487
516
|
exampleHasIcons: !0
|
|
488
517
|
},
|
|
489
518
|
"/": {
|
|
490
519
|
type: "infix",
|
|
491
520
|
arity: 2,
|
|
492
|
-
label: () =>
|
|
493
|
-
description: () =>
|
|
521
|
+
label: () => u("Division", { desc: "Formula function label for division" }),
|
|
522
|
+
description: () => u("Divides the first numeric value by the second numeric value.", { desc: "Formula function description for division operator" }),
|
|
494
523
|
example: () => "⟨numeric⟩ Number of burritos / 2",
|
|
495
524
|
exampleHasIcons: !0
|
|
496
525
|
},
|
|
497
526
|
"%": {
|
|
498
527
|
type: "infix",
|
|
499
528
|
arity: 2,
|
|
500
|
-
label: () =>
|
|
501
|
-
description: () =>
|
|
529
|
+
label: () => u("Modulo", { desc: "Formula function label for modulo" }),
|
|
530
|
+
description: () => u("Returns the remainder after dividing the first value by the second value.", { desc: "Formula function description for modulo operator" }),
|
|
502
531
|
example: () => "5 % 2"
|
|
503
532
|
},
|
|
504
533
|
">": {
|
|
505
534
|
type: "infix",
|
|
506
535
|
arity: 2,
|
|
507
|
-
label: () =>
|
|
508
|
-
description: () =>
|
|
536
|
+
label: () => u("Greater than", { desc: "Formula function label for greater than comparison" }),
|
|
537
|
+
description: () => u("Checks whether the first value is greater than the second value.", { desc: "Formula function description for greater than operator" }),
|
|
509
538
|
example: () => "⟨numeric⟩ Burrito weight > 50",
|
|
510
539
|
exampleHasIcons: !0
|
|
511
540
|
},
|
|
512
541
|
"<": {
|
|
513
542
|
type: "infix",
|
|
514
543
|
arity: 2,
|
|
515
|
-
label: () =>
|
|
516
|
-
description: () =>
|
|
544
|
+
label: () => u("Less than", { desc: "Formula function label for less than comparison" }),
|
|
545
|
+
description: () => u("Checks whether the first value is less than the second value.", { desc: "Formula function description for less than operator" }),
|
|
517
546
|
example: () => "⟨numeric⟩ Burrito weight < 50",
|
|
518
547
|
exampleHasIcons: !0
|
|
519
548
|
},
|
|
520
549
|
">=": {
|
|
521
550
|
type: "infix",
|
|
522
551
|
arity: 2,
|
|
523
|
-
label: () =>
|
|
524
|
-
description: () =>
|
|
552
|
+
label: () => u("Greater than or equal", { desc: "Formula function label for greater than or equal comparison" }),
|
|
553
|
+
description: () => u("Checks whether the first value is greater than or equal to the second value.", { desc: "Formula function description for greater than or equal operator" }),
|
|
525
554
|
example: () => "⟨numeric⟩ Burrito weight >= 50",
|
|
526
555
|
exampleHasIcons: !0
|
|
527
556
|
},
|
|
528
557
|
"<=": {
|
|
529
558
|
type: "infix",
|
|
530
559
|
arity: 2,
|
|
531
|
-
label: () =>
|
|
532
|
-
description: () =>
|
|
560
|
+
label: () => u("Less than or equal", { desc: "Formula function label for less than or equal comparison" }),
|
|
561
|
+
description: () => u("Checks whether the first value is less than or equal to the second value.", { desc: "Formula function description for less than or equal operator" }),
|
|
533
562
|
example: () => "⟨numeric⟩ Burrito weight <= 50",
|
|
534
563
|
exampleHasIcons: !0
|
|
535
564
|
},
|
|
536
565
|
"=": {
|
|
537
566
|
type: "infix",
|
|
538
567
|
arity: 2,
|
|
539
|
-
label: () =>
|
|
540
|
-
description: () =>
|
|
568
|
+
label: () => u("Equal", { desc: "Formula function label for equality comparison" }),
|
|
569
|
+
description: () => u("Checks whether both values are equal.", { desc: "Formula function description for equality operator" }),
|
|
541
570
|
example: () => "⟨hierarchy⟩ Burrito type = 'Savoury'",
|
|
542
571
|
exampleHasIcons: !0
|
|
543
572
|
},
|
|
544
573
|
"<>": {
|
|
545
574
|
type: "infix",
|
|
546
575
|
arity: 2,
|
|
547
|
-
label: () =>
|
|
548
|
-
description: () =>
|
|
576
|
+
label: () => u("Not equal", { desc: "Formula function label for inequality comparison" }),
|
|
577
|
+
description: () => u("Checks whether two values are different.", { desc: "Formula function description for inequality operator" }),
|
|
549
578
|
example: () => "⟨hierarchy⟩ Burrito type <> 'Sweet'",
|
|
550
579
|
exampleHasIcons: !0
|
|
551
580
|
},
|
|
552
581
|
ABS: {
|
|
553
582
|
type: "prefix",
|
|
554
583
|
arity: 1,
|
|
555
|
-
label: () =>
|
|
556
|
-
description: () =>
|
|
584
|
+
label: () => u("Absolute value", { desc: "Formula function label for ABS" }),
|
|
585
|
+
description: () => u("Returns the absolute value of a number.", { desc: "Formula function description for ABS" }),
|
|
557
586
|
example: () => "ABS(-5.0)"
|
|
558
587
|
},
|
|
559
588
|
CEIL: {
|
|
560
589
|
type: "prefix",
|
|
561
590
|
arity: 1,
|
|
562
|
-
label: () =>
|
|
563
|
-
description: () =>
|
|
591
|
+
label: () => u("Round up", { desc: "Formula function label for CEIL" }),
|
|
592
|
+
description: () => u("Rounds a number up to the nearest integer.", { desc: "Formula function description for CEIL" }),
|
|
564
593
|
example: () => "CEIL(11.3)"
|
|
565
594
|
},
|
|
566
595
|
E: {
|
|
567
596
|
type: "prefix",
|
|
568
597
|
arity: 0,
|
|
569
|
-
label: () =>
|
|
570
|
-
description: () =>
|
|
598
|
+
label: () => u("Euler's number", { desc: "Formula function label for E" }),
|
|
599
|
+
description: () => u("Returns Euler's constant e.", { desc: "Formula function description for E" }),
|
|
571
600
|
example: () => "E()"
|
|
572
601
|
},
|
|
573
602
|
EXP: {
|
|
574
603
|
type: "prefix",
|
|
575
604
|
arity: 1,
|
|
576
|
-
label: () =>
|
|
577
|
-
description: () =>
|
|
605
|
+
label: () => u("Exponential", { desc: "Formula function label for EXP" }),
|
|
606
|
+
description: () => u("Returns e raised to the specified power.", { desc: "Formula function description for EXP" }),
|
|
578
607
|
example: () => "EXP(11.3)"
|
|
579
608
|
},
|
|
580
609
|
FLOOR: {
|
|
581
610
|
type: "prefix",
|
|
582
611
|
arity: 1,
|
|
583
|
-
label: () =>
|
|
584
|
-
description: () =>
|
|
612
|
+
label: () => u("Round down", { desc: "Formula function label for FLOOR" }),
|
|
613
|
+
description: () => u("Rounds a number down to the nearest integer.", { desc: "Formula function description for FLOOR" }),
|
|
585
614
|
example: () => "FLOOR(11.7)"
|
|
586
615
|
},
|
|
587
616
|
LN: {
|
|
588
617
|
type: "prefix",
|
|
589
618
|
arity: 1,
|
|
590
|
-
label: () =>
|
|
591
|
-
description: () =>
|
|
619
|
+
label: () => u("Natural logarithm", { desc: "Formula function label for LN" }),
|
|
620
|
+
description: () => u("Returns the natural logarithm of a number.", { desc: "Formula function description for LN" }),
|
|
592
621
|
example: () => "LN(11.7)"
|
|
593
622
|
},
|
|
594
623
|
LOG: {
|
|
595
624
|
type: "prefix",
|
|
596
625
|
arity: 2,
|
|
597
|
-
label: () =>
|
|
598
|
-
description: () =>
|
|
626
|
+
label: () => u("Logarithm", { desc: "Formula function label for LOG" }),
|
|
627
|
+
description: () => u("Returns the logarithm of a number for a specific base.", { desc: "Formula function description for LOG" }),
|
|
599
628
|
example: () => "LOG(3.6, 10)"
|
|
600
629
|
},
|
|
601
630
|
PI: {
|
|
602
631
|
type: "prefix",
|
|
603
632
|
arity: 0,
|
|
604
|
-
label: () =>
|
|
605
|
-
description: () =>
|
|
633
|
+
label: () => u("Pi", { desc: "Formula function label for PI" }),
|
|
634
|
+
description: () => u("Returns the mathematical constant pi.", { desc: "Formula function description for PI" }),
|
|
606
635
|
example: () => "PI()"
|
|
607
636
|
},
|
|
608
637
|
POW: {
|
|
609
638
|
type: "prefix",
|
|
610
639
|
arity: 2,
|
|
611
|
-
label: () =>
|
|
612
|
-
description: () =>
|
|
640
|
+
label: () => u("Power", { desc: "Formula function label for POW" }),
|
|
641
|
+
description: () => u("Raises a number to a given power.", { desc: "Formula function description for POW" }),
|
|
613
642
|
example: () => "POW(2.35, 2)"
|
|
614
643
|
},
|
|
615
644
|
RAND: {
|
|
616
645
|
type: "prefix",
|
|
617
646
|
arity: 0,
|
|
618
|
-
label: () =>
|
|
619
|
-
description: () =>
|
|
647
|
+
label: () => u("Random number", { desc: "Formula function label for RAND" }),
|
|
648
|
+
description: () => u("Returns a random number between 0 and 1.", { desc: "Formula function description for RAND" }),
|
|
620
649
|
example: () => "RAND()"
|
|
621
650
|
},
|
|
622
651
|
ROUND: {
|
|
623
652
|
type: "prefix",
|
|
624
653
|
arity: 2,
|
|
625
|
-
label: () =>
|
|
626
|
-
description: () =>
|
|
654
|
+
label: () => u("Round", { desc: "Formula function label for ROUND" }),
|
|
655
|
+
description: () => u("Rounds a number to a specified number of decimal places.", { desc: "Formula function description for ROUND" }),
|
|
627
656
|
example: () => "ROUND(4.567, 1)"
|
|
628
657
|
},
|
|
629
658
|
SQRT: {
|
|
630
659
|
type: "prefix",
|
|
631
660
|
arity: 1,
|
|
632
|
-
label: () =>
|
|
633
|
-
description: () =>
|
|
661
|
+
label: () => u("Square root", { desc: "Formula function label for SQRT" }),
|
|
662
|
+
description: () => u("Returns the square root of a number.", { desc: "Formula function description for SQRT" }),
|
|
634
663
|
example: () => "SQRT(4)"
|
|
635
664
|
},
|
|
636
665
|
CAST: {
|
|
637
666
|
type: "prefix",
|
|
638
667
|
arity: 2,
|
|
639
|
-
label: () =>
|
|
640
|
-
description: () =>
|
|
668
|
+
label: () => u("Convert value", { desc: "Formula function label for CAST" }),
|
|
669
|
+
description: () => u("Converts the first argument to the type given by the second argument. Possible types are 'hierarchy', 'numeric', 'datetime' and 'boolean'.", { desc: "Formula function description for CAST" }),
|
|
641
670
|
example: () => "CAST(⟨numeric⟩ Burrito weight, hierarchy)",
|
|
642
671
|
exampleHasIcons: !0
|
|
643
672
|
},
|
|
644
673
|
IF: {
|
|
645
674
|
type: "prefix",
|
|
646
675
|
arity: 3,
|
|
647
|
-
label: () =>
|
|
648
|
-
description: () =>
|
|
676
|
+
label: () => u("If", { desc: "Formula function label for IF" }),
|
|
677
|
+
description: () => u("Returns one value when a condition is true and another value when false.", { desc: "Formula function description for IF" }),
|
|
649
678
|
example: () => "IF(⟨numeric⟩ Burrito weight < 200,'Small','Large')",
|
|
650
679
|
exampleHasIcons: !0
|
|
651
680
|
},
|
|
652
681
|
COALESCE: {
|
|
653
682
|
type: "prefix",
|
|
654
683
|
arity: 2,
|
|
655
|
-
label: () =>
|
|
656
|
-
description: () =>
|
|
684
|
+
label: () => u("Is empty", { desc: "Formula function label for COALESCE" }),
|
|
685
|
+
description: () => u("Returns the first non-null value from the provided arguments.", { desc: "Formula function description for COALESCE" }),
|
|
657
686
|
example: () => "COALESCE(⟨hierarchy⟩ Burrito type, 'Unknown type')",
|
|
658
687
|
exampleHasIcons: !0
|
|
659
688
|
},
|
|
660
689
|
AND: {
|
|
661
690
|
type: "infix",
|
|
662
691
|
arity: 2,
|
|
663
|
-
label: () =>
|
|
664
|
-
description: () =>
|
|
692
|
+
label: () => u("Logical and", { desc: "Formula function label for AND" }),
|
|
693
|
+
description: () => u("Returns true when both conditions are true.", { desc: "Formula function description for AND" }),
|
|
665
694
|
example: () => "Burrito weight > 50 AND Burrito weight < 75"
|
|
666
695
|
},
|
|
667
696
|
OR: {
|
|
668
697
|
type: "infix",
|
|
669
698
|
arity: 2,
|
|
670
|
-
label: () =>
|
|
671
|
-
description: () =>
|
|
699
|
+
label: () => u("Logical or", { desc: "Formula function label for OR" }),
|
|
700
|
+
description: () => u("Returns true when at least one condition is true.", { desc: "Formula function description for OR" }),
|
|
672
701
|
example: () => "Burrito price > 10.1 OR Burrito weight >= 50"
|
|
673
702
|
},
|
|
674
703
|
NOT: {
|
|
675
704
|
type: "prefix_op",
|
|
676
705
|
arity: 1,
|
|
677
|
-
label: () =>
|
|
678
|
-
description: () =>
|
|
706
|
+
label: () => u("Logical not", { desc: "Formula function label for NOT" }),
|
|
707
|
+
description: () => u("Negates a boolean condition.", { desc: "Formula function description for NOT" }),
|
|
679
708
|
example: () => "NOT (Burrito type = 'Salty')"
|
|
680
709
|
},
|
|
681
710
|
SIN: {
|
|
682
711
|
type: "prefix",
|
|
683
712
|
arity: 1,
|
|
684
|
-
label: () =>
|
|
685
|
-
description: () =>
|
|
713
|
+
label: () => u("Sine", { desc: "Formula function label for SIN" }),
|
|
714
|
+
description: () => u("Returns the sine of an angle in radians.", { desc: "Formula function description for SIN" }),
|
|
686
715
|
example: () => "SIN(3.14)"
|
|
687
716
|
},
|
|
688
717
|
COS: {
|
|
689
718
|
type: "prefix",
|
|
690
719
|
arity: 1,
|
|
691
|
-
label: () =>
|
|
692
|
-
description: () =>
|
|
720
|
+
label: () => u("Cosine", { desc: "Formula function label for COS" }),
|
|
721
|
+
description: () => u("Returns the cosine of an angle in radians.", { desc: "Formula function description for COS" }),
|
|
693
722
|
example: () => "COS(3.14)"
|
|
694
723
|
},
|
|
695
724
|
TAN: {
|
|
696
725
|
type: "prefix",
|
|
697
726
|
arity: 1,
|
|
698
|
-
label: () =>
|
|
699
|
-
description: () =>
|
|
727
|
+
label: () => u("Tangent", { desc: "Formula function label for TAN" }),
|
|
728
|
+
description: () => u("Returns the tangent of an angle in radians.", { desc: "Formula function description for TAN" }),
|
|
700
729
|
example: () => "TAN(3.14)"
|
|
701
730
|
},
|
|
702
731
|
ASIN: {
|
|
703
732
|
type: "prefix",
|
|
704
733
|
arity: 1,
|
|
705
|
-
label: () =>
|
|
706
|
-
description: () =>
|
|
734
|
+
label: () => u("Arcsine", { desc: "Formula function label for ASIN" }),
|
|
735
|
+
description: () => u("Returns the arcsine of a number.", { desc: "Formula function description for ASIN" }),
|
|
707
736
|
example: () => "ASIN(3.14)"
|
|
708
737
|
},
|
|
709
738
|
ACOS: {
|
|
710
739
|
type: "prefix",
|
|
711
740
|
arity: 1,
|
|
712
|
-
label: () =>
|
|
713
|
-
description: () =>
|
|
741
|
+
label: () => u("Arccosine", { desc: "Formula function label for ACOS" }),
|
|
742
|
+
description: () => u("Returns the arccosine of a number.", { desc: "Formula function description for ACOS" }),
|
|
714
743
|
example: () => "ACOS(3.14)"
|
|
715
744
|
},
|
|
716
745
|
ATAN: {
|
|
717
746
|
type: "prefix",
|
|
718
747
|
arity: 1,
|
|
719
|
-
label: () =>
|
|
720
|
-
description: () =>
|
|
748
|
+
label: () => u("Arctangent", { desc: "Formula function label for ATAN" }),
|
|
749
|
+
description: () => u("Returns the arctangent of a number.", { desc: "Formula function description for ATAN" }),
|
|
721
750
|
example: () => "ATAN(3.14)"
|
|
722
751
|
},
|
|
723
752
|
SINH: {
|
|
724
753
|
type: "prefix",
|
|
725
754
|
arity: 1,
|
|
726
|
-
label: () =>
|
|
727
|
-
description: () =>
|
|
755
|
+
label: () => u("Hyperbolic sine", { desc: "Formula function label for SINH" }),
|
|
756
|
+
description: () => u("Returns the hyperbolic sine of a number.", { desc: "Formula function description for SINH" }),
|
|
728
757
|
example: () => "SINH(3.14)"
|
|
729
758
|
},
|
|
730
759
|
COSH: {
|
|
731
760
|
type: "prefix",
|
|
732
761
|
arity: 1,
|
|
733
|
-
label: () =>
|
|
734
|
-
description: () =>
|
|
762
|
+
label: () => u("Hyperbolic cosine", { desc: "Formula function label for COSH" }),
|
|
763
|
+
description: () => u("Returns the hyperbolic cosine of a number.", { desc: "Formula function description for COSH" }),
|
|
735
764
|
example: () => "COSH(3.14)"
|
|
736
765
|
},
|
|
737
766
|
TANH: {
|
|
738
767
|
type: "prefix",
|
|
739
768
|
arity: 1,
|
|
740
|
-
label: () =>
|
|
741
|
-
description: () =>
|
|
769
|
+
label: () => u("Hyperbolic tangent", { desc: "Formula function label for TANH" }),
|
|
770
|
+
description: () => u("Returns the hyperbolic tangent of a number.", { desc: "Formula function description for TANH" }),
|
|
742
771
|
example: () => "TANH(3.14)"
|
|
743
772
|
},
|
|
744
773
|
MEAN: {
|
|
745
774
|
type: "prefix",
|
|
746
775
|
arity: 1,
|
|
747
|
-
label: () =>
|
|
748
|
-
description: () =>
|
|
776
|
+
label: () => u("Mean", { desc: "Formula function label for MEAN" }),
|
|
777
|
+
description: () => u("Returns the arithmetic mean of all values in a numeric column. The value is calculated over the entire dataset and does not change when filtering.", { desc: "Formula function description for MEAN" }),
|
|
749
778
|
example: () => "MEAN(⟨numeric⟩ Burrito weight)",
|
|
750
779
|
exampleHasIcons: !0
|
|
751
780
|
},
|
|
752
781
|
STDDEV: {
|
|
753
782
|
type: "prefix",
|
|
754
783
|
arity: 1,
|
|
755
|
-
label: () =>
|
|
756
|
-
description: () =>
|
|
784
|
+
label: () => u("Standard deviation", { desc: "Aggregation label" }),
|
|
785
|
+
description: () => u("Returns the sample standard deviation over all values in a numeric column. The value is calculated over the entire dataset and does not change when filtering.", { desc: "Formula function description for STDDEV" }),
|
|
757
786
|
example: () => "STDDEV(⟨numeric⟩ Burrito weight)",
|
|
758
787
|
exampleHasIcons: !0
|
|
759
788
|
},
|
|
760
789
|
"||": {
|
|
761
790
|
type: "infix",
|
|
762
791
|
arity: 2,
|
|
763
|
-
label: () =>
|
|
764
|
-
description: () =>
|
|
792
|
+
label: () => u("Concatenate", { desc: "Formula function label for concatenate operator" }),
|
|
793
|
+
description: () => u("Concatenates two strings.", { desc: "Formula function description for concatenate operator" }),
|
|
765
794
|
example: () => "'Tasty' || ' burrito'"
|
|
766
795
|
},
|
|
767
796
|
LENGTH: {
|
|
768
797
|
type: "prefix",
|
|
769
798
|
arity: 1,
|
|
770
|
-
label: () =>
|
|
771
|
-
description: () =>
|
|
799
|
+
label: () => u("String length", { desc: "Formula function label for LENGTH" }),
|
|
800
|
+
description: () => u("Returns the number of characters in a string.", { desc: "Formula function description for LENGTH" }),
|
|
772
801
|
example: () => "LENGTH('Burrito')"
|
|
773
802
|
},
|
|
774
803
|
LOWER: {
|
|
775
804
|
type: "prefix",
|
|
776
805
|
arity: 1,
|
|
777
|
-
label: () =>
|
|
778
|
-
description: () =>
|
|
806
|
+
label: () => u("Lowercase", { desc: "Formula function label for LOWER" }),
|
|
807
|
+
description: () => u("Converts a string to lowercase.", { desc: "Formula function description for LOWER" }),
|
|
779
808
|
example: () => "LOWER('BURRITO')"
|
|
780
809
|
},
|
|
781
810
|
UPPER: {
|
|
782
811
|
type: "prefix",
|
|
783
812
|
arity: 1,
|
|
784
|
-
label: () =>
|
|
785
|
-
description: () =>
|
|
813
|
+
label: () => u("Uppercase", { desc: "Formula function label for UPPER" }),
|
|
814
|
+
description: () => u("Converts a string to uppercase.", { desc: "Formula function description for UPPER" }),
|
|
786
815
|
example: () => "UPPER('burrito')"
|
|
787
816
|
},
|
|
788
817
|
LTRIM: {
|
|
789
818
|
type: "prefix",
|
|
790
819
|
arity: 1,
|
|
791
|
-
label: () =>
|
|
792
|
-
description: () =>
|
|
820
|
+
label: () => u("Trim left", { desc: "Formula function label for LTRIM" }),
|
|
821
|
+
description: () => u("Removes leading spaces from a string.", { desc: "Formula function description for LTRIM" }),
|
|
793
822
|
example: () => "LTRIM(' Burrito')"
|
|
794
823
|
},
|
|
795
824
|
RTRIM: {
|
|
796
825
|
type: "prefix",
|
|
797
826
|
arity: 1,
|
|
798
|
-
label: () =>
|
|
799
|
-
description: () =>
|
|
827
|
+
label: () => u("Trim right", { desc: "Formula function label for RTRIM" }),
|
|
828
|
+
description: () => u("Removes trailing spaces from a string.", { desc: "Formula function description for RTRIM" }),
|
|
800
829
|
example: () => "RTRIM('Burrito ')"
|
|
801
830
|
},
|
|
802
831
|
TRIM: {
|
|
803
832
|
type: "prefix",
|
|
804
833
|
arity: 1,
|
|
805
|
-
label: () =>
|
|
806
|
-
description: () =>
|
|
834
|
+
label: () => u("Trim", { desc: "Formula function label for TRIM" }),
|
|
835
|
+
description: () => u("Removes leading and trailing spaces from a string.", { desc: "Formula function description for TRIM" }),
|
|
807
836
|
example: () => "TRIM('Burrito ')"
|
|
808
837
|
},
|
|
809
838
|
REPLACE: {
|
|
810
839
|
type: "prefix",
|
|
811
840
|
arity: 3,
|
|
812
|
-
label: () =>
|
|
813
|
-
description: () =>
|
|
841
|
+
label: () => u("Replace text", { desc: "Formula function label for REPLACE" }),
|
|
842
|
+
description: () => u("Replaces occurrences of a substring with another substring.", { desc: "Formula function description for REPLACE" }),
|
|
814
843
|
example: () => "REPLACE('Sweet burrito','Sweet', 'Savoury')"
|
|
815
844
|
},
|
|
816
845
|
STRPOS: {
|
|
817
846
|
type: "prefix",
|
|
818
847
|
arity: 2,
|
|
819
|
-
label: () =>
|
|
820
|
-
description: () =>
|
|
848
|
+
label: () => u("Find substring", { desc: "Formula function label for STRPOS" }),
|
|
849
|
+
description: () => u("Returns the position of a substring in a string.", { desc: "Formula function description for STRPOS" }),
|
|
821
850
|
example: () => "STRPOS('Sweet burrito','burrito')"
|
|
822
851
|
},
|
|
823
852
|
SUBSTR: {
|
|
824
853
|
type: "prefix",
|
|
825
854
|
arity: 3,
|
|
826
|
-
label: () =>
|
|
827
|
-
description: () =>
|
|
855
|
+
label: () => u("Take substring", { desc: "Formula function label for SUBSTR" }),
|
|
856
|
+
description: () => u("Extracts part of a string. The first argument is the text, the second the starting position (the first character is 1; a negative position counts from the end), and the third the length.", { desc: "Formula function description for SUBSTR" }),
|
|
828
857
|
example: () => "SUBSTR('Sweet burrito',7,3)"
|
|
829
858
|
},
|
|
830
859
|
SPLIT_PART: {
|
|
831
860
|
type: "prefix",
|
|
832
861
|
arity: 3,
|
|
833
|
-
label: () =>
|
|
834
|
-
description: () =>
|
|
862
|
+
label: () => u("Split part", { desc: "Formula function label for SPLIT_PART" }),
|
|
863
|
+
description: () => u("Splits a string into parts using a delimiter. The first argument is the text to split, the second the delimiter, and the third the position of the part to return (starting from 1).", { desc: "Formula function description for SPLIT_PART" }),
|
|
835
864
|
example: () => "SPLIT_PART('Sweet burrito', ' ', 2)"
|
|
836
865
|
},
|
|
837
866
|
NOW: {
|
|
838
867
|
type: "prefix",
|
|
839
868
|
arity: 0,
|
|
840
|
-
label: () =>
|
|
841
|
-
description: () =>
|
|
869
|
+
label: () => u("Current date and time", { desc: "Formula function label for NOW" }),
|
|
870
|
+
description: () => u("Returns the current date and time.", { desc: "Formula function description for NOW" }),
|
|
842
871
|
example: () => "NOW()"
|
|
843
872
|
},
|
|
844
873
|
YEAR: {
|
|
845
874
|
type: "prefix",
|
|
846
875
|
arity: 1,
|
|
847
|
-
label: () =>
|
|
848
|
-
description: () =>
|
|
876
|
+
label: () => u("Year", { desc: "Time unit" }),
|
|
877
|
+
description: () => u("Extracts the year from a date value.", { desc: "Formula function description for YEAR" }),
|
|
849
878
|
example: () => `YEAR('${e}-02-17')`
|
|
850
879
|
},
|
|
851
880
|
YEAR_UTC: {
|
|
852
881
|
type: "prefix",
|
|
853
882
|
arity: 1,
|
|
854
|
-
label: () =>
|
|
855
|
-
description: () =>
|
|
883
|
+
label: () => u("Year (UTC)", { desc: "Formula function label for YEAR_UTC" }),
|
|
884
|
+
description: () => u("Extracts the year from a date value in UTC.", { desc: "Formula function description for YEAR_UTC" }),
|
|
856
885
|
example: () => `YEAR_UTC('${e}-02-17')`
|
|
857
886
|
},
|
|
858
887
|
QUARTER: {
|
|
859
888
|
type: "prefix",
|
|
860
889
|
arity: 1,
|
|
861
|
-
label: () =>
|
|
862
|
-
description: () =>
|
|
890
|
+
label: () => u("Quarter", { desc: "Time unit" }),
|
|
891
|
+
description: () => u("Extracts the quarter from a date value.", { desc: "Formula function description for QUARTER" }),
|
|
863
892
|
example: () => `QUARTER('${e}-02-17')`
|
|
864
893
|
},
|
|
865
894
|
QUARTER_UTC: {
|
|
866
895
|
type: "prefix",
|
|
867
896
|
arity: 1,
|
|
868
|
-
label: () =>
|
|
869
|
-
description: () =>
|
|
897
|
+
label: () => u("Quarter (UTC)", { desc: "Formula function label for QUARTER_UTC" }),
|
|
898
|
+
description: () => u("Extracts the quarter from a date value in UTC.", { desc: "Formula function description for QUARTER_UTC" }),
|
|
870
899
|
example: () => `QUARTER_UTC('${e}-02-17')`
|
|
871
900
|
},
|
|
872
901
|
MONTH: {
|
|
873
902
|
type: "prefix",
|
|
874
903
|
arity: 1,
|
|
875
|
-
label: () =>
|
|
876
|
-
description: () =>
|
|
904
|
+
label: () => u("Month", { desc: "Time unit" }),
|
|
905
|
+
description: () => u("Extracts the month from a date or datetime value.", { desc: "Formula function description for MONTH" }),
|
|
877
906
|
example: () => `MONTH('${e}-02-17 15:36:59')`
|
|
878
907
|
},
|
|
879
908
|
MONTH_UTC: {
|
|
880
909
|
type: "prefix",
|
|
881
910
|
arity: 1,
|
|
882
|
-
label: () =>
|
|
883
|
-
description: () =>
|
|
911
|
+
label: () => u("Month (UTC)", { desc: "Formula function label for MONTH_UTC" }),
|
|
912
|
+
description: () => u("Extracts the month from a date or datetime value in UTC.", { desc: "Formula function description for MONTH_UTC" }),
|
|
884
913
|
example: () => `MONTH_UTC('${e}-02-17 15:36:59')`
|
|
885
914
|
},
|
|
886
915
|
WEEK: {
|
|
887
916
|
type: "prefix",
|
|
888
917
|
arity: 1,
|
|
889
|
-
label: () =>
|
|
890
|
-
description: () =>
|
|
918
|
+
label: () => u("Week", { desc: "Time unit" }),
|
|
919
|
+
description: () => u("Extracts the ISO 8601 week number (1-53) from a date or datetime value.", { desc: "Formula function description for WEEK" }),
|
|
891
920
|
example: () => `WEEK('${e}-02-17 15:36:59')`
|
|
892
921
|
},
|
|
893
922
|
WEEK_UTC: {
|
|
894
923
|
type: "prefix",
|
|
895
924
|
arity: 1,
|
|
896
|
-
label: () =>
|
|
897
|
-
description: () =>
|
|
925
|
+
label: () => u("Week (UTC)", { desc: "Formula function label for WEEK_UTC" }),
|
|
926
|
+
description: () => u("Extracts the ISO 8601 week number (1-53) from a date or datetime value in UTC.", { desc: "Formula function description for WEEK_UTC" }),
|
|
898
927
|
example: () => `WEEK_UTC('${e}-02-17 15:36:59')`
|
|
899
928
|
},
|
|
900
929
|
DAY: {
|
|
901
930
|
type: "prefix",
|
|
902
931
|
arity: 1,
|
|
903
|
-
label: () =>
|
|
904
|
-
description: () =>
|
|
932
|
+
label: () => u("Day of month", { desc: "Formula function label for DAY" }),
|
|
933
|
+
description: () => u("Extracts the day of month from a date or datetime value.", { desc: "Formula function description for DAY" }),
|
|
905
934
|
example: () => `DAY('${e}-02-17 15:36:59')`
|
|
906
935
|
},
|
|
907
936
|
DAY_UTC: {
|
|
908
937
|
type: "prefix",
|
|
909
938
|
arity: 1,
|
|
910
|
-
label: () =>
|
|
911
|
-
description: () =>
|
|
939
|
+
label: () => u("Day of month (UTC)", { desc: "Formula function label for DAY_UTC" }),
|
|
940
|
+
description: () => u("Extracts the day of month from a date or datetime value in UTC.", { desc: "Formula function description for DAY_UTC" }),
|
|
912
941
|
example: () => `DAY_UTC('${e}-02-17 15:36:59')`
|
|
913
942
|
},
|
|
914
943
|
DAY_OF_WEEK: {
|
|
915
944
|
type: "prefix",
|
|
916
945
|
arity: 1,
|
|
917
|
-
label: () =>
|
|
918
|
-
description: () =>
|
|
946
|
+
label: () => u("Day of week", { desc: "Formula function label for DAY_OF_WEEK" }),
|
|
947
|
+
description: () => u("Extracts the day of week (1-7, where 1 is Monday) from a date or datetime value.", { desc: "Formula function description for DAY_OF_WEEK" }),
|
|
919
948
|
example: () => `DAY_OF_WEEK('${e}-02-17 15:36:59')`
|
|
920
949
|
},
|
|
921
950
|
DAY_OF_WEEK_UTC: {
|
|
922
951
|
type: "prefix",
|
|
923
952
|
arity: 1,
|
|
924
|
-
label: () =>
|
|
925
|
-
description: () =>
|
|
953
|
+
label: () => u("Day of week (UTC)", { desc: "Formula function label for DAY_OF_WEEK_UTC" }),
|
|
954
|
+
description: () => u("Extracts the day of week (1-7, where 1 is Monday) from a date or datetime value in UTC.", { desc: "Formula function description for DAY_OF_WEEK_UTC" }),
|
|
926
955
|
example: () => `DAY_OF_WEEK_UTC('${e}-02-17 15:36:59')`
|
|
927
956
|
},
|
|
928
957
|
DAY_OF_YEAR: {
|
|
929
958
|
type: "prefix",
|
|
930
959
|
arity: 1,
|
|
931
|
-
label: () =>
|
|
932
|
-
description: () =>
|
|
960
|
+
label: () => u("Day of year", { desc: "Formula function label for DAY_OF_YEAR" }),
|
|
961
|
+
description: () => u("Extracts the day of year from a date or datetime value.", { desc: "Formula function description for DAY_OF_YEAR" }),
|
|
933
962
|
example: () => `DAY_OF_YEAR('${e}-02-17 15:36:59')`
|
|
934
963
|
},
|
|
935
964
|
DAY_OF_YEAR_UTC: {
|
|
936
965
|
type: "prefix",
|
|
937
966
|
arity: 1,
|
|
938
|
-
label: () =>
|
|
939
|
-
description: () =>
|
|
967
|
+
label: () => u("Day of year (UTC)", { desc: "Formula function label for DAY_OF_YEAR_UTC" }),
|
|
968
|
+
description: () => u("Extracts the day of year from a date or datetime value in UTC.", { desc: "Formula function description for DAY_OF_YEAR_UTC" }),
|
|
940
969
|
example: () => `DAY_OF_YEAR_UTC('${e}-02-17 15:36:59')`
|
|
941
970
|
},
|
|
942
971
|
YEAR_OF_WEEK: {
|
|
943
972
|
type: "prefix",
|
|
944
973
|
arity: 1,
|
|
945
|
-
label: () =>
|
|
946
|
-
description: () =>
|
|
974
|
+
label: () => u("Year of ISO week", { desc: "Formula function label for YEAR_OF_WEEK" }),
|
|
975
|
+
description: () => u("Extracts the ISO week-numbering year from a date or datetime value.", { desc: "Formula function description for YEAR_OF_WEEK" }),
|
|
947
976
|
example: () => `YEAR_OF_WEEK('${e}-02-17 15:36:59')`
|
|
948
977
|
},
|
|
949
978
|
YEAR_OF_WEEK_UTC: {
|
|
950
979
|
type: "prefix",
|
|
951
980
|
arity: 1,
|
|
952
|
-
label: () =>
|
|
953
|
-
description: () =>
|
|
981
|
+
label: () => u("Year of ISO week (UTC)", { desc: "Formula function label for YEAR_OF_WEEK_UTC" }),
|
|
982
|
+
description: () => u("Extracts the ISO week-numbering year from a date or datetime value in UTC.", { desc: "Formula function description for YEAR_OF_WEEK_UTC" }),
|
|
954
983
|
example: () => `YEAR_OF_WEEK_UTC('${e}-02-17 15:36:59')`
|
|
955
984
|
},
|
|
956
985
|
HOUR: {
|
|
957
986
|
type: "prefix",
|
|
958
987
|
arity: 1,
|
|
959
|
-
label: () =>
|
|
960
|
-
description: () =>
|
|
988
|
+
label: () => u("Hour", { desc: "Time unit" }),
|
|
989
|
+
description: () => u("Extracts the hour from a datetime value.", { desc: "Formula function description for HOUR" }),
|
|
961
990
|
example: () => `HOUR('${e}-02-17 15:36:59')`
|
|
962
991
|
},
|
|
963
992
|
HOUR_UTC: {
|
|
964
993
|
type: "prefix",
|
|
965
994
|
arity: 1,
|
|
966
|
-
label: () =>
|
|
967
|
-
description: () =>
|
|
995
|
+
label: () => u("Hour (UTC)", { desc: "Formula function label for HOUR_UTC" }),
|
|
996
|
+
description: () => u("Extracts the hour from a datetime value in UTC.", { desc: "Formula function description for HOUR_UTC" }),
|
|
968
997
|
example: () => `HOUR_UTC('${e}-02-17 15:36:59')`
|
|
969
998
|
},
|
|
970
999
|
MINUTE: {
|
|
971
1000
|
type: "prefix",
|
|
972
1001
|
arity: 1,
|
|
973
|
-
label: () =>
|
|
974
|
-
description: () =>
|
|
1002
|
+
label: () => u("Minute", { desc: "Time unit" }),
|
|
1003
|
+
description: () => u("Extracts the minute from a datetime value.", { desc: "Formula function description for MINUTE" }),
|
|
975
1004
|
example: () => `MINUTE('${e}-02-17 15:36:59')`
|
|
976
1005
|
},
|
|
977
1006
|
MINUTE_UTC: {
|
|
978
1007
|
type: "prefix",
|
|
979
1008
|
arity: 1,
|
|
980
|
-
label: () =>
|
|
981
|
-
description: () =>
|
|
1009
|
+
label: () => u("Minute (UTC)", { desc: "Formula function label for MINUTE_UTC" }),
|
|
1010
|
+
description: () => u("Extracts the minute from a datetime value in UTC.", { desc: "Formula function description for MINUTE_UTC" }),
|
|
982
1011
|
example: () => `MINUTE_UTC('${e}-02-17 15:36:59')`
|
|
983
1012
|
},
|
|
984
1013
|
SECOND: {
|
|
985
1014
|
type: "prefix",
|
|
986
1015
|
arity: 1,
|
|
987
|
-
label: () =>
|
|
988
|
-
description: () =>
|
|
1016
|
+
label: () => u("Second", { desc: "Time unit" }),
|
|
1017
|
+
description: () => u("Extracts the second from a datetime value.", { desc: "Formula function description for SECOND" }),
|
|
989
1018
|
example: () => `SECOND('${e}-02-17 15:36:59')`
|
|
990
1019
|
},
|
|
991
1020
|
SECOND_UTC: {
|
|
992
1021
|
type: "prefix",
|
|
993
1022
|
arity: 1,
|
|
994
|
-
label: () =>
|
|
995
|
-
description: () =>
|
|
1023
|
+
label: () => u("Second (UTC)", { desc: "Formula function label for SECOND_UTC" }),
|
|
1024
|
+
description: () => u("Extracts the second from a datetime value in UTC.", { desc: "Formula function description for SECOND_UTC" }),
|
|
996
1025
|
example: () => `SECOND_UTC('${e}-02-17 15:36:59')`
|
|
997
1026
|
},
|
|
998
1027
|
DATE_ADD: {
|
|
999
1028
|
type: "prefix",
|
|
1000
1029
|
arity: 3,
|
|
1001
|
-
label: () =>
|
|
1002
|
-
description: () =>
|
|
1030
|
+
label: () => u("Add/subtract duration", { desc: "Formula function label for DATE_ADD" }),
|
|
1031
|
+
description: () => u("Adds a duration to (or subtracts it from) a date or datetime value. The first argument is the unit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'), the second the number of units to add (negative to subtract), and the third the date or datetime to start from.", { desc: "Formula function description for DATE_ADD" }),
|
|
1003
1032
|
example: () => "DATE_ADD('hour', 2, ⟨datetime⟩ Arrival time)",
|
|
1004
1033
|
exampleHasIcons: !0
|
|
1005
1034
|
},
|
|
1006
1035
|
DATE_DIFF: {
|
|
1007
1036
|
type: "prefix",
|
|
1008
1037
|
arity: 3,
|
|
1009
|
-
label: () =>
|
|
1010
|
-
description: () =>
|
|
1038
|
+
label: () => u("Difference between dates", { desc: "Formula function label for DATE_DIFF" }),
|
|
1039
|
+
description: () => u("Returns the difference between two dates or datetimes in the selected unit. The first argument is the unit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'); the difference is calculated from the second date towards the third date.", { desc: "Formula function description for DATE_DIFF" }),
|
|
1011
1040
|
example: () => `DATE_DIFF('day', ⟨datetime⟩ Arrival date, '${e}-02-17 15:36:59')`,
|
|
1012
1041
|
exampleHasIcons: !0
|
|
1013
1042
|
},
|
|
1014
1043
|
COORDS: {
|
|
1015
1044
|
type: "prefix",
|
|
1016
1045
|
arity: 3,
|
|
1017
|
-
label: () =>
|
|
1046
|
+
label: () => u("Coordinates", {
|
|
1018
1047
|
id: "formula-function-label-coords",
|
|
1019
1048
|
desc: "Formula function label for COORDS"
|
|
1020
1049
|
}),
|
|
1021
|
-
description: () =>
|
|
1050
|
+
description: () => u("Builds a geography value from latitude, longitude, and spatial reference.", { desc: "Formula function description for COORDS" }),
|
|
1022
1051
|
example: () => "COORDS(⟨numeric⟩ Latitude, ⟨numeric⟩ Longitude, 'wgs84')",
|
|
1023
1052
|
exampleHasIcons: !0
|
|
1024
1053
|
}
|
|
@@ -1026,9 +1055,9 @@ function P() {
|
|
|
1026
1055
|
}
|
|
1027
1056
|
//#endregion
|
|
1028
1057
|
//#region src/utils/formula/store/formula-display-store.ts
|
|
1029
|
-
var
|
|
1058
|
+
var B = class extends EventTarget {
|
|
1030
1059
|
constructor(...e) {
|
|
1031
|
-
super(...e), this.functionDataMap =
|
|
1060
|
+
super(...e), this.functionDataMap = z(), this.aggregationFunctionDataMap = L(), this.multiStageAggregation = !0, this.nestedAggregation = !0, this.readonly = !1, this.contentLanguage = "en", this.size = "m", this.datasets = [], this.loading = !1, this.lastFocusedAggregationWidgetId = null, this.lastFocusedEmptyArgumentId = null, this.pendingFocusAggregationWidgetId = null, this._aggregationWidgets = [];
|
|
1032
1061
|
}
|
|
1033
1062
|
get aggregationWidgets() {
|
|
1034
1063
|
return this._aggregationWidgets;
|
|
@@ -1065,29 +1094,29 @@ var F = class extends EventTarget {
|
|
|
1065
1094
|
t && (this.aggregationFunctionDataMap[t.aggregationFunction]?.arity ?? 0) > 0 && (this.pendingFocusAggregationWidgetId = t.widgetId);
|
|
1066
1095
|
}
|
|
1067
1096
|
transformToAggregationWidgetSyntax(e) {
|
|
1068
|
-
let t =
|
|
1097
|
+
let t = E(e).match(_);
|
|
1069
1098
|
if (!t) return e;
|
|
1070
|
-
let n = !!t[1], r = t.index ?? 0, i =
|
|
1099
|
+
let n = !!t[1], r = t.index ?? 0, i = D(e, r + (n ? t[1].length : t[0].length) - 1 + 1), a = D(e, r + t[0].length);
|
|
1071
1100
|
if (i === -1) return e;
|
|
1072
|
-
let o = e.slice(r + t[0].length, a), s = this.transformToAggregationWidgetSyntax(o),
|
|
1073
|
-
widgetId:
|
|
1074
|
-
grouping: t[2] ??
|
|
1101
|
+
let o = e.slice(r + t[0].length, a), s = this.transformToAggregationWidgetSyntax(o), c = {
|
|
1102
|
+
widgetId: S(),
|
|
1103
|
+
grouping: t[2] ?? d.GROUP,
|
|
1075
1104
|
aggregationFunction: t[3],
|
|
1076
1105
|
content: s
|
|
1077
1106
|
};
|
|
1078
|
-
if (
|
|
1079
|
-
let { includedColumns: t, excludedColumns: n } =
|
|
1080
|
-
|
|
1107
|
+
if (c.grouping === d.GROUPINEX) {
|
|
1108
|
+
let { includedColumns: t, excludedColumns: n } = O(e.slice(a + 1, i));
|
|
1109
|
+
c.includedColumns = t, c.excludedColumns = n;
|
|
1081
1110
|
}
|
|
1082
|
-
let
|
|
1083
|
-
return this.addWidgets([
|
|
1111
|
+
let l = w(c.widgetId), u = `${e.slice(0, r)}${l}${e.slice(i + 1)}`;
|
|
1112
|
+
return this.addWidgets([c]), this.transformToAggregationWidgetSyntax(u);
|
|
1084
1113
|
}
|
|
1085
1114
|
transformToAggregationFunctionSyntax(e) {
|
|
1086
|
-
let t = e.match(
|
|
1115
|
+
let t = e.match(y);
|
|
1087
1116
|
if (!t) return e;
|
|
1088
|
-
let n = t.index ?? 0, r = n + t[0].length - 1, i = t[1], a = this.getWidget(i), o = a ? this.transformToAggregationFunctionSyntax(
|
|
1117
|
+
let n = t.index ?? 0, r = n + t[0].length - 1, i = t[1], a = this.getWidget(i), o = a ? this.transformToAggregationFunctionSyntax(T(a, this.aggregationFunctionDataMap)) : "", s = `${e.slice(0, n)}${o}${e.slice(r + 1)}`;
|
|
1089
1118
|
return this.transformToAggregationFunctionSyntax(s);
|
|
1090
1119
|
}
|
|
1091
1120
|
};
|
|
1092
1121
|
//#endregion
|
|
1093
|
-
export {
|
|
1122
|
+
export { p as _, L as a, P as c, C as d, x as f, f as g, h, I as i, S as l, g as m, R as n, F as o, v as p, z as r, N as s, B as t, w as u, d as v };
|