@luzmo/analytics-components-kit 1.0.1-alpha.86 → 1.0.1-alpha.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular/components/display-settings-binning.component.ts +2 -2
- package/angular/components/display-settings-datetime.component.ts +2 -2
- package/angular/components/display-settings-grand-totals.component.ts +2 -2
- package/angular/components/display-settings-numeric.component.ts +2 -2
- package/angular/components/display-settings.component.ts +3 -3
- package/angular/components/draggable-data-item/index.ts +1 -0
- package/angular/components/draggable-data-item/types.ts +40 -0
- package/angular/components/draggable-data-item-level/index.ts +1 -0
- package/angular/components/draggable-data-item-level/types.ts +15 -0
- package/angular/components/draggable-data-item-level.component.ts +4 -10
- package/angular/components/draggable-data-item.component.ts +4 -10
- package/angular/components/droppable-slot/index.ts +1 -0
- package/angular/components/droppable-slot/types.ts +16 -0
- package/angular/components/droppable-slot.component.ts +5 -3
- package/angular/components/slot-menu/index.ts +1 -0
- package/angular/components/slot-menu/types.ts +31 -0
- package/angular/components/slot-menu-list.component.ts +2 -2
- package/angular/components/slot-menu.component.ts +3 -3
- package/angular/esm/components/display-settings-binning.component.d.ts +2 -1
- package/angular/esm/components/display-settings-datetime.component.d.ts +2 -2
- package/angular/esm/components/display-settings-grand-totals.component.d.ts +2 -1
- package/angular/esm/components/display-settings-numeric.component.d.ts +2 -1
- package/angular/esm/components/display-settings.component.d.ts +3 -3
- package/angular/esm/components/draggable-data-item/index.d.ts +1 -0
- package/angular/esm/components/draggable-data-item/index.js +1 -0
- package/angular/esm/components/draggable-data-item/types.d.ts +22 -0
- package/angular/esm/components/draggable-data-item/types.js +1 -0
- package/angular/esm/components/draggable-data-item-level/index.d.ts +1 -0
- package/angular/esm/components/draggable-data-item-level/index.js +1 -0
- package/angular/esm/components/draggable-data-item-level/types.d.ts +12 -0
- package/angular/esm/components/draggable-data-item-level/types.js +1 -0
- package/angular/esm/components/draggable-data-item-level.component.d.ts +9 -7
- package/angular/esm/components/draggable-data-item-level.component.js +2 -17
- package/angular/esm/components/draggable-data-item.component.d.ts +9 -7
- package/angular/esm/components/draggable-data-item.component.js +2 -17
- package/angular/esm/components/droppable-slot/index.d.ts +1 -0
- package/angular/esm/components/droppable-slot/index.js +1 -0
- package/angular/esm/components/droppable-slot/types.d.ts +9 -0
- package/angular/esm/components/droppable-slot/types.js +1 -0
- package/angular/esm/components/droppable-slot.component.d.ts +5 -4
- package/angular/esm/components/droppable-slot.component.js +7 -2
- package/angular/esm/components/slot-menu/index.d.ts +1 -0
- package/angular/esm/components/slot-menu/index.js +1 -0
- package/angular/esm/components/slot-menu/types.d.ts +25 -0
- package/angular/esm/components/slot-menu/types.js +1 -0
- package/angular/esm/components/slot-menu-list.component.d.ts +2 -1
- package/angular/esm/components/slot-menu.component.d.ts +3 -3
- package/angular/esm/types.d.ts +9 -3
- package/angular/tsconfig.json +3 -0
- package/angular/types.ts +24 -3
- package/angular/utils/base/base.d.ts +16 -0
- package/angular/utils/base/focus-visible.d.ts +29 -0
- package/angular/utils/base/focusable.d.ts +58 -0
- package/angular/utils/base/index.d.ts +4 -0
- package/angular/utils/base/sized-mixin.d.ts +17 -0
- package/angular/utils/color/color-palettes.d.ts +17 -0
- package/angular/utils/color/extrapolate-color.d.ts +1 -0
- package/angular/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
- package/angular/utils/data-broker/index.d.ts +191 -0
- package/angular/utils/data-item-types/calculate-data-item-icon.d.ts +10 -0
- package/angular/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
- package/angular/utils/drag/draggable.d.ts +13 -0
- package/angular/utils/filters/expressions.d.ts +15 -0
- package/angular/utils/filters/index.d.ts +1 -0
- package/angular/utils/formatter/calculate-duration.d.ts +2 -0
- package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/angular/utils/formatter/default-local-formats.d.ts +20 -0
- package/angular/utils/formatter/formats/cs.d.ts +20 -0
- package/angular/utils/formatter/formats/da.d.ts +20 -0
- package/angular/utils/formatter/formats/de.d.ts +21 -0
- package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
- package/angular/utils/formatter/formats/en-US.d.ts +1 -0
- package/angular/utils/formatter/formats/en.d.ts +1 -0
- package/angular/utils/formatter/formats/es.d.ts +54 -0
- package/angular/utils/formatter/formats/fi.d.ts +20 -0
- package/angular/utils/formatter/formats/fr.d.ts +54 -0
- package/angular/utils/formatter/formats/he.d.ts +20 -0
- package/angular/utils/formatter/formats/hu.d.ts +20 -0
- package/angular/utils/formatter/formats/it.d.ts +54 -0
- package/angular/utils/formatter/formats/ja.d.ts +20 -0
- package/angular/utils/formatter/formats/ko.d.ts +20 -0
- package/angular/utils/formatter/formats/mk.d.ts +20 -0
- package/angular/utils/formatter/formats/nl.d.ts +21 -0
- package/angular/utils/formatter/formats/no.d.ts +21 -0
- package/angular/utils/formatter/formats/pl.d.ts +20 -0
- package/angular/utils/formatter/formats/pt.d.ts +20 -0
- package/angular/utils/formatter/formats/ru.d.ts +20 -0
- package/angular/utils/formatter/formats/sv.d.ts +20 -0
- package/angular/utils/formatter/formats/tr.d.ts +21 -0
- package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/angular/utils/formatter/formatter.d.ts +9 -0
- package/angular/utils/formatter/localize.d.ts +3 -0
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/angular/utils/get-css-variable.d.ts +1 -0
- package/angular/utils/index.d.ts +7 -0
- package/angular/utils/localize/set-locale.d.ts +7 -0
- package/angular/utils/map-tile-providers/index.d.ts +93 -0
- package/angular/utils/store/slot-context.d.ts +4 -0
- package/angular/utils/store/slot-store.d.ts +39 -0
- package/angular/utils/switch-item/index.d.ts +14 -0
- package/angular/utils/themes/bliss.d.ts +43 -0
- package/angular/utils/themes/classic-dark.d.ts +34 -0
- package/angular/utils/themes/classic.d.ts +43 -0
- package/angular/utils/themes/default-dark.d.ts +46 -0
- package/angular/utils/themes/default.d.ts +46 -0
- package/angular/utils/themes/index.d.ts +3 -0
- package/angular/utils/themes/orion.d.ts +44 -0
- package/angular/utils/themes/pinky.d.ts +42 -0
- package/angular/utils/themes/radiant.d.ts +42 -0
- package/angular/utils/themes/royale.d.ts +36 -0
- package/angular/utils/themes/seasonal.d.ts +43 -0
- package/angular/utils/themes/urban.d.ts +44 -0
- package/angular/utils/themes/vivid.d.ts +42 -0
- package/angular/utils/time/formats.const.d.ts +4 -0
- package/angular/utils/time/periods.const.d.ts +15 -0
- package/angular/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
- package/angular/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
- package/angular/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
- package/angular/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
- package/angular/utils/types/type-check.d.ts +7 -0
- package/components/ai-chat-message-assistant/index.cjs +1 -1
- package/components/ai-chat-message-assistant/index.js +0 -1
- package/components/ai-chat-messages-container/index.cjs +1 -1
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -2
- package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
- package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
- package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
- package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
- package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
- package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
- package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
- package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
- package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
- package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
- package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
- package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-DtVGbet3.cjs} +1 -1
- package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
- package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
- package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
- package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
- package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
- package/components/color-Czp4Im5q.cjs +20 -0
- package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
- package/components/color-range-utils-DYYR-iwx.cjs +20 -0
- package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
- package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
- package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
- package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
- package/components/dataset-icon/index.cjs +1 -1
- package/components/dataset-icon/index.js +1 -2
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +32 -35
- package/components/dataset-selector-row/index.cjs +9 -9
- package/components/dataset-selector-row/index.js +51 -53
- package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
- package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
- package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
- package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
- package/components/display-settings/display-settings.d.ts +4 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -1
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +29 -30
- package/components/display-settings-datetime/display-settings-datetime.d.ts +2 -1
- package/components/display-settings-datetime/index.cjs +29 -29
- package/components/display-settings-datetime/index.js +112 -120
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +2 -1
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +23 -24
- package/components/display-settings-numeric/display-settings-numeric.d.ts +2 -1
- package/components/display-settings-numeric/index.cjs +48 -48
- package/components/display-settings-numeric/index.js +192 -209
- package/components/display-settings-period-over-period/index.cjs +16 -16
- package/components/display-settings-period-over-period/index.js +91 -97
- package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
- package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
- package/components/draggable-data-item/draggable-data-item.d.ts +5 -7
- package/components/draggable-data-item/index.cjs +16 -22
- package/components/draggable-data-item/index.d.ts +1 -0
- package/components/draggable-data-item/index.js +79 -87
- package/components/draggable-data-item/types.d.ts +22 -0
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -6
- package/components/draggable-data-item-level/helpers/generate-preview.d.ts +9 -1
- package/components/draggable-data-item-level/index.cjs +13 -13
- package/components/draggable-data-item-level/index.js +85 -106
- package/components/draggable-data-item-level/types.d.ts +12 -0
- package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
- package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
- package/components/droppable-slot/droppable-slot.d.ts +4 -2
- package/components/droppable-slot/index.cjs +20 -20
- package/components/droppable-slot/index.d.ts +1 -0
- package/components/droppable-slot/index.js +239 -254
- package/components/droppable-slot/types.d.ts +9 -0
- package/components/edit-item/index.cjs +9 -9
- package/components/edit-item/index.js +116 -119
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +8 -8
- package/components/edit-option-action-button-group/index.js +52 -53
- package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
- package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +1 -1
- package/components/edit-option-color-range/index.cjs +19 -19
- package/components/edit-option-color-range/index.js +106 -117
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +26 -27
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +5 -5
- package/components/edit-option-picker/index.js +7 -7
- package/components/edit-option-position-picker/index.cjs +4 -4
- package/components/edit-option-position-picker/index.js +21 -25
- package/components/edit-option-positions-number-field/index.cjs +9 -9
- package/components/edit-option-positions-number-field/index.js +76 -81
- package/components/edit-option-radio-button-group/index.cjs +6 -6
- package/components/edit-option-radio-button-group/index.js +21 -22
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +22 -23
- package/components/en-D3ihEGXg.js +1483 -0
- package/components/en-DZcn_iz_.cjs +20 -0
- package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
- package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
- package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
- package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
- package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
- package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +7 -7
- package/components/filter-data-item-picker/index.js +85 -86
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +6 -6
- package/components/filter-item/index.js +109 -119
- package/components/filter-value-picker/index.cjs +2 -2
- package/components/filter-value-picker/index.js +34 -36
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +56 -71
- package/components/filter-value-picker-hierarchy/index.cjs +12 -12
- package/components/filter-value-picker-hierarchy/index.js +113 -124
- package/components/filter-value-picker-numeric/index.cjs +8 -8
- package/components/filter-value-picker-numeric/index.js +101 -110
- package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
- package/components/focusable-QLh-LlNt.cjs +20 -0
- package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
- package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
- package/components/get-css-variable-COd1d84B.cjs +24 -0
- package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-CdwF98oh.js} +35 -35
- package/components/grid/index.cjs +43 -49
- package/components/grid/index.js +2610 -1878
- package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
- package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
- package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
- package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
- package/components/helpers-9I0oLoUB.cjs +20 -0
- package/components/helpers-bR8Ibjqh.js +79 -0
- package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
- package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
- package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
- package/components/index-BekTY3Em.cjs +121 -0
- package/components/index-CFL6gmIu.cjs +20 -0
- package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
- package/components/index-DNPULp4A.js +1755 -0
- package/components/{index-PMDgRSzR.js → index-DdyZ2g5L.js} +94 -104
- package/components/index-DvkzMbLt.cjs +249 -0
- package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
- package/components/index.cjs +1 -1
- package/components/index.js +28 -26
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +37 -37
- package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
- package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
- package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
- package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
- package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
- package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
- package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
- package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
- package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
- package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
- package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
- package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
- package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
- package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
- package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
- package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
- package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
- package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
- package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
- package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
- package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
- package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
- package/components/{set-locale-B-Tz2sdI.js → set-locale-hKTMz37h.js} +7 -9
- package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
- package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
- package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
- package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +33 -33
- package/components/slot-contents-picker/index.js +194 -205
- package/components/slot-menu/index.cjs +12 -12
- package/components/slot-menu/index.d.ts +1 -0
- package/components/slot-menu/index.js +174 -192
- package/components/slot-menu/slot-menu.d.ts +7 -6
- package/components/slot-menu/types.d.ts +25 -0
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +97 -103
- package/components/slot-menu-list/slot-menu-list.d.ts +2 -1
- package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
- package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
- package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
- package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
- package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
- package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
- package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
- package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
- package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
- package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +131 -65
- package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
- package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
- package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
- package/custom-elements.json +143 -126
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +1 -1
- package/package.json +3 -3
- package/types.d.ts +9 -3
- package/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
- package/utils/data-broker/index.d.ts +69 -66
- package/utils/data-item-types/calculate-data-item-icon.d.ts +8 -2
- package/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
- package/utils/index.d.ts +2 -0
- package/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
- package/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
- package/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
- package/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
- package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
- package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
- package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
- package/components/calculate-data-item-icon-DZDqb3xu.js +0 -139
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
- package/components/color-B6LaL8qz.cjs +0 -20
- package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
- package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
- package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
- package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
- package/components/en-BKBhKBXY.cjs +0 -20
- package/components/en-BOTjhwEc.js +0 -1488
- package/components/focusable-B3E_hQmm.cjs +0 -20
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
- package/components/get-css-variable-DLiZYZEi.cjs +0 -24
- package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
- package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
- package/components/helpers-DXQwEH1P.cjs +0 -20
- package/components/helpers-v1bPALRP.js +0 -91
- package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
- package/components/index-BPN3bG9X.js +0 -1733
- package/components/index-CQ9ck-BO.cjs +0 -249
- package/components/index-CXn67vdn.cjs +0 -121
- package/components/index-cfj52IbK.cjs +0 -20
- package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
- package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
- package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
- package/components/route-map-options.config-D7NJePTu.cjs +0 -20
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
- package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
- package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
- package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
- package/utils/types/column.types.d.ts +0 -57
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import type { GenericSlotContent } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-display-settings-binning',
|
|
@@ -15,7 +15,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
15
15
|
})
|
|
16
16
|
export class DisplaySettingsBinningComponent {
|
|
17
17
|
@Input() language?: string;
|
|
18
|
-
@Input() slotContent?:
|
|
18
|
+
@Input() slotContent?: GenericSlotContent;
|
|
19
19
|
@Input() size?: any;
|
|
20
20
|
@Output() slotContentChanged = new EventEmitter<CustomEvent>();
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import type { ElementSize } from '../types';
|
|
2
|
+
import type { ElementSize, GenericSlotContent } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-display-settings-datetime',
|
|
@@ -18,6 +18,6 @@ export class DisplaySettingsDatetimeComponent {
|
|
|
18
18
|
@Input() language?: string;
|
|
19
19
|
@Input() contentLanguage?: string;
|
|
20
20
|
@Input() size?: ElementSize;
|
|
21
|
-
@Input() slotContent?:
|
|
21
|
+
@Input() slotContent?: GenericSlotContent;
|
|
22
22
|
@Output() slotContentChanged = new EventEmitter<CustomEvent>();
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import type { GenericSlotContent } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-display-settings-grand-totals',
|
|
@@ -15,7 +15,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
15
15
|
})
|
|
16
16
|
export class DisplaySettingsGrandTotalsComponent {
|
|
17
17
|
@Input() language?: string;
|
|
18
|
-
@Input() slotContent?:
|
|
18
|
+
@Input() slotContent?: GenericSlotContent;
|
|
19
19
|
@Input() size?: any;
|
|
20
20
|
@Output() slotContentChanged = new EventEmitter<CustomEvent>();
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import type { MeasureColumnsItem } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-display-settings-numeric',
|
|
@@ -19,7 +19,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
19
19
|
export class DisplaySettingsNumericComponent {
|
|
20
20
|
@Input() language?: string;
|
|
21
21
|
@Input() slotContent?: any;
|
|
22
|
-
@Input() measureColumns?:
|
|
22
|
+
@Input() measureColumns?: MeasureColumnsItem[];
|
|
23
23
|
@Input() isAggregationDisabled?: boolean;
|
|
24
24
|
@Input() isCumulativeSumEnabled?: boolean;
|
|
25
25
|
@Input() size?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import type { PeriodOverPeriodCondition } from '../types';
|
|
2
|
+
import type { PeriodOverPeriodCondition, GenericSlotContent, MeasureColumnsItem } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-display-settings',
|
|
@@ -37,8 +37,8 @@ export class DisplaySettingsComponent {
|
|
|
37
37
|
@Input() periodOverPeriodUiType?: PeriodOverPeriodCondition | null;
|
|
38
38
|
@Input() showRemoveButton?: boolean;
|
|
39
39
|
@Input() slotType?: string;
|
|
40
|
-
@Input() slotContent?:
|
|
41
|
-
@Input() measureColumns?:
|
|
40
|
+
@Input() slotContent?: GenericSlotContent;
|
|
41
|
+
@Input() measureColumns?: MeasureColumnsItem[];
|
|
42
42
|
@Input() size?: any;
|
|
43
43
|
@Output() slotContentChanged = new EventEmitter<CustomEvent>();
|
|
44
44
|
@Output() removeSlotContent = new EventEmitter<CustomEvent>();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Column, Currency, Formula, HierarchyLevel } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
|
|
3
|
+
type ColumnItemData = {
|
|
4
|
+
type: Column['type'];
|
|
5
|
+
name: Column['name'];
|
|
6
|
+
datasetId: string;
|
|
7
|
+
formulaId?: never;
|
|
8
|
+
columnId: Column['id'];
|
|
9
|
+
level?: number;
|
|
10
|
+
hierarchyLevels?: Pick<HierarchyLevel, 'id' | 'level' | 'name'>[];
|
|
11
|
+
currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
|
|
12
|
+
} & Partial<Pick<Column,
|
|
13
|
+
| 'description'
|
|
14
|
+
| 'subtype'
|
|
15
|
+
| 'format'
|
|
16
|
+
| 'lowestLevel'
|
|
17
|
+
| 'duration_levels'
|
|
18
|
+
| 'duration_format'
|
|
19
|
+
| 'expression'
|
|
20
|
+
>>;
|
|
21
|
+
|
|
22
|
+
type FormulaItemData = {
|
|
23
|
+
type: Formula['type'];
|
|
24
|
+
name: Formula['name'];
|
|
25
|
+
datasetId: string;
|
|
26
|
+
formulaId: Formula['id'];
|
|
27
|
+
columnId?: never;
|
|
28
|
+
level?: number;
|
|
29
|
+
currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
|
|
30
|
+
} & Partial<Pick<Formula,
|
|
31
|
+
| 'description'
|
|
32
|
+
| 'subtype'
|
|
33
|
+
| 'format'
|
|
34
|
+
| 'lowestLevel'
|
|
35
|
+
| 'duration_levels'
|
|
36
|
+
| 'duration_format'
|
|
37
|
+
| 'expression'
|
|
38
|
+
>>;
|
|
39
|
+
|
|
40
|
+
export type DraggableDataItemData = ColumnItemData | FormulaItemData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DraggableDataItemData } from '../draggable-data-item/types';
|
|
2
|
+
|
|
3
|
+
export interface DataItemDroppedEventDetail {
|
|
4
|
+
data: DraggableDataItemData;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface DataItemDragStartedEventDetail {
|
|
8
|
+
data: DraggableDataItemData;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface SlotMenuHighlightEventDetail {
|
|
12
|
+
columnId?: string;
|
|
13
|
+
level?: number;
|
|
14
|
+
formulaId?: string;
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import type { DraggableDataItemData } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-draggable-data-item-level',
|
|
@@ -11,9 +11,6 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
11
11
|
[attr.sublevel]="sublevel"
|
|
12
12
|
[attr.language]="language"
|
|
13
13
|
[attr.disabled]="disabled"
|
|
14
|
-
[attr.label]="label"
|
|
15
|
-
[attr.description]="description"
|
|
16
|
-
[attr.secondary-icon-type]="secondaryIconType"
|
|
17
14
|
[attr.data]="data"
|
|
18
15
|
[attr.size]="size"
|
|
19
16
|
(data-item-dropped)="dataItemDropped.emit($event)"
|
|
@@ -27,11 +24,8 @@ export class DraggableDataItemLevelComponent {
|
|
|
27
24
|
@Input() sublevel?: boolean;
|
|
28
25
|
@Input() language?: string;
|
|
29
26
|
@Input() disabled?: boolean;
|
|
30
|
-
@Input()
|
|
31
|
-
@Input() description?: string;
|
|
32
|
-
@Input() secondaryIconType?: 'derived' | 'formula';
|
|
33
|
-
@Input() data?: any;
|
|
27
|
+
@Input() data?: DraggableDataItemData;
|
|
34
28
|
@Input() size?: any;
|
|
35
|
-
@Output() dataItemDropped = new EventEmitter<CustomEvent
|
|
36
|
-
@Output() dataItemDragStarted = new EventEmitter<CustomEvent
|
|
29
|
+
@Output() dataItemDropped = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
|
|
30
|
+
@Output() dataItemDragStarted = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
|
|
37
31
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import type { DraggableDataItemData } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-draggable-data-item',
|
|
@@ -11,9 +11,6 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
11
11
|
[attr.disabled]="disabled"
|
|
12
12
|
[attr.hide-sublevels]="hideSublevels"
|
|
13
13
|
[attr.hide-type-icon]="hideTypeIcon"
|
|
14
|
-
[attr.secondary-icon-type]="secondaryIconType"
|
|
15
|
-
[attr.label]="label"
|
|
16
|
-
[attr.description]="description"
|
|
17
14
|
[attr.data]="data"
|
|
18
15
|
[attr.size]="size"
|
|
19
16
|
(data-item-dropped)="dataItemDropped.emit($event)"
|
|
@@ -27,11 +24,8 @@ export class DraggableDataItemComponent {
|
|
|
27
24
|
@Input() disabled?: boolean;
|
|
28
25
|
@Input() hideSublevels?: boolean;
|
|
29
26
|
@Input() hideTypeIcon?: boolean;
|
|
30
|
-
@Input()
|
|
31
|
-
@Input() label?: string;
|
|
32
|
-
@Input() description?: string;
|
|
33
|
-
@Input() data?: any;
|
|
27
|
+
@Input() data?: DraggableDataItemData;
|
|
34
28
|
@Input() size?: any;
|
|
35
|
-
@Output() dataItemDropped = new EventEmitter<CustomEvent
|
|
36
|
-
@Output() dataItemDragStarted = new EventEmitter<CustomEvent
|
|
29
|
+
@Output() dataItemDropped = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
|
|
30
|
+
@Output() dataItemDragStarted = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
|
|
37
31
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ColumnType,
|
|
3
|
+
FormulaType,
|
|
4
|
+
GenericSlotContent,
|
|
5
|
+
SlotConfig
|
|
6
|
+
} from '@luzmo/dashboard-contents-types';
|
|
7
|
+
|
|
8
|
+
export type DroppableSlotConfiguration = Omit<SlotConfig, 'acceptableColumnTypes' | 'canAcceptMultipleColumns'> & {
|
|
9
|
+
acceptableDataItemTypes?: (ColumnType | FormulaType)[];
|
|
10
|
+
canAcceptMultipleDataItems?: boolean;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export interface SlotContentsChangedEventDetail {
|
|
14
|
+
slotContents: GenericSlotContent[];
|
|
15
|
+
linkedDatasetsIds: string[];
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import type { VizItemType, SlotName, VizItemSlots, Placement } from '../types';
|
|
2
|
+
import type { VizItemType, SlotName, DroppableSlotConfiguration, VizItemSlots, Placement, SlotContentsChangedEventDetail } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-droppable-slot',
|
|
@@ -13,6 +13,7 @@ import type { VizItemType, SlotName, VizItemSlots, Placement } from '../types';
|
|
|
13
13
|
[attr.label]="label"
|
|
14
14
|
[attr.language]="language"
|
|
15
15
|
[attr.drag-boundary]="dragBoundary"
|
|
16
|
+
[attr.rotate]="rotate"
|
|
16
17
|
[attr.api-url]="apiUrl"
|
|
17
18
|
[attr.auth-key]="authKey"
|
|
18
19
|
[attr.auth-token]="authToken"
|
|
@@ -31,11 +32,12 @@ import type { VizItemType, SlotName, VizItemSlots, Placement } from '../types';
|
|
|
31
32
|
export class DroppableSlotComponent {
|
|
32
33
|
@Input() itemType?: VizItemType;
|
|
33
34
|
@Input() slotName?: SlotName;
|
|
34
|
-
@Input() slotConfiguration?:
|
|
35
|
+
@Input() slotConfiguration?: DroppableSlotConfiguration;
|
|
35
36
|
@Input() slotsContents?: VizItemSlots;
|
|
36
37
|
@Input() label?: string;
|
|
37
38
|
@Input() language?: string;
|
|
38
39
|
@Input() dragBoundary?: string;
|
|
40
|
+
@Input() rotate?: boolean;
|
|
39
41
|
@Input() apiUrl?: string;
|
|
40
42
|
@Input() authKey?: string;
|
|
41
43
|
@Input() authToken?: string;
|
|
@@ -47,5 +49,5 @@ export class DroppableSlotComponent {
|
|
|
47
49
|
@Output() slotMenuInactive = new EventEmitter<CustomEvent>();
|
|
48
50
|
@Output() slotMenuActive = new EventEmitter<CustomEvent>();
|
|
49
51
|
@Output() slotMenuHighlight = new EventEmitter<CustomEvent>();
|
|
50
|
-
@Output() slotContentsChanged = new EventEmitter<CustomEvent
|
|
52
|
+
@Output() slotContentsChanged = new EventEmitter<CustomEvent<SlotContentsChangedEventDetail>>();
|
|
51
53
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { GenericSlotContent } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
import { DatasetColumnMetadata } from '@utils/data-broker';
|
|
3
|
+
import type { SlotContentsChangedEventDetail } from '../droppable-slot/types';
|
|
4
|
+
|
|
5
|
+
export type { SlotContentsChangedEventDetail } from '../droppable-slot/types';
|
|
6
|
+
|
|
7
|
+
export interface MeasureColumnsItem {
|
|
8
|
+
datasetId: string;
|
|
9
|
+
datasetName: Record<string, string>;
|
|
10
|
+
columns: DatasetColumnMetadata[];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface SlotMenuActiveEventDetail {
|
|
14
|
+
datasetId: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface SlotMenuHighlightEventDetail {
|
|
18
|
+
datasetId: string;
|
|
19
|
+
level: number;
|
|
20
|
+
columnId?: string;
|
|
21
|
+
formulaId?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface SlotContentChangedEventDetail {
|
|
25
|
+
slotContent: SlotContentsChangedEventDetail['slotContents'][number];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface SlotListChangedEventDetail {
|
|
29
|
+
slotContents: GenericSlotContent[];
|
|
30
|
+
activeIndex: number;
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import type { GenericSlotContent } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-slot-menu-list',
|
|
@@ -18,7 +18,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
18
18
|
export class SlotMenuListComponent {
|
|
19
19
|
@Input() language?: string;
|
|
20
20
|
@Input() contentLanguage?: string;
|
|
21
|
-
@Input() slotContents?:
|
|
21
|
+
@Input() slotContents?: GenericSlotContent[];
|
|
22
22
|
@Input() activeIndex?: number;
|
|
23
23
|
@Input() size?: any;
|
|
24
24
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import type { SlotName, GenericSlotContent } from '../types';
|
|
2
|
+
import type { SlotName, VizItemType, GenericSlotContent } from '../types';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'luzmo-slot-menu',
|
|
@@ -38,9 +38,9 @@ import type { SlotName, GenericSlotContent } from '../types';
|
|
|
38
38
|
export class SlotMenuComponent {
|
|
39
39
|
@Input() language?: string;
|
|
40
40
|
@Input() contentLanguage?: string;
|
|
41
|
-
@Input() slotType?:
|
|
41
|
+
@Input() slotType?: 'numeric' | 'categorical' | 'mixed';
|
|
42
42
|
@Input() slotName?: SlotName;
|
|
43
|
-
@Input() itemType?:
|
|
43
|
+
@Input() itemType?: VizItemType;
|
|
44
44
|
@Input() noDrag?: boolean;
|
|
45
45
|
@Input() noClose?: boolean;
|
|
46
46
|
@Input() variant?: 'popup' | 'draggable' | 'default';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { GenericSlotContent } from '../types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DisplaySettingsBinningComponent {
|
|
4
5
|
language?: string;
|
|
5
|
-
slotContent?:
|
|
6
|
+
slotContent?: GenericSlotContent;
|
|
6
7
|
size?: any;
|
|
7
8
|
slotContentChanged: EventEmitter<CustomEvent<any>>;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisplaySettingsBinningComponent, never>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import type { ElementSize } from '../types';
|
|
2
|
+
import type { ElementSize, GenericSlotContent } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DisplaySettingsDatetimeComponent {
|
|
5
5
|
language?: string;
|
|
6
6
|
contentLanguage?: string;
|
|
7
7
|
size?: ElementSize;
|
|
8
|
-
slotContent?:
|
|
8
|
+
slotContent?: GenericSlotContent;
|
|
9
9
|
slotContentChanged: EventEmitter<CustomEvent<any>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisplaySettingsDatetimeComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<DisplaySettingsDatetimeComponent, "luzmo-display-settings-datetime", never, { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "slotContent": { "alias": "slotContent"; "required": false; }; }, { "slotContentChanged": "slotContentChanged"; }, never, ["*"], true, never>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { GenericSlotContent } from '../types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DisplaySettingsGrandTotalsComponent {
|
|
4
5
|
language?: string;
|
|
5
|
-
slotContent?:
|
|
6
|
+
slotContent?: GenericSlotContent;
|
|
6
7
|
size?: any;
|
|
7
8
|
slotContentChanged: EventEmitter<CustomEvent<any>>;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisplaySettingsGrandTotalsComponent, never>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { MeasureColumnsItem } from '../types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DisplaySettingsNumericComponent {
|
|
4
5
|
language?: string;
|
|
5
6
|
slotContent?: any;
|
|
6
|
-
measureColumns?:
|
|
7
|
+
measureColumns?: MeasureColumnsItem[];
|
|
7
8
|
isAggregationDisabled?: boolean;
|
|
8
9
|
isCumulativeSumEnabled?: boolean;
|
|
9
10
|
size?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import type { PeriodOverPeriodCondition } from '../types';
|
|
2
|
+
import type { PeriodOverPeriodCondition, GenericSlotContent, MeasureColumnsItem } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DisplaySettingsComponent {
|
|
5
5
|
language?: string;
|
|
@@ -13,8 +13,8 @@ export declare class DisplaySettingsComponent {
|
|
|
13
13
|
periodOverPeriodUiType?: PeriodOverPeriodCondition | null;
|
|
14
14
|
showRemoveButton?: boolean;
|
|
15
15
|
slotType?: string;
|
|
16
|
-
slotContent?:
|
|
17
|
-
measureColumns?:
|
|
16
|
+
slotContent?: GenericSlotContent;
|
|
17
|
+
measureColumns?: MeasureColumnsItem[];
|
|
18
18
|
size?: any;
|
|
19
19
|
slotContentChanged: EventEmitter<CustomEvent<any>>;
|
|
20
20
|
removeSlotContent: EventEmitter<CustomEvent<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Column, Currency, Formula, HierarchyLevel } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
type ColumnItemData = {
|
|
3
|
+
type: Column['type'];
|
|
4
|
+
name: Column['name'];
|
|
5
|
+
datasetId: string;
|
|
6
|
+
formulaId?: never;
|
|
7
|
+
columnId: Column['id'];
|
|
8
|
+
level?: number;
|
|
9
|
+
hierarchyLevels?: Pick<HierarchyLevel, 'id' | 'level' | 'name'>[];
|
|
10
|
+
currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
|
|
11
|
+
} & Partial<Pick<Column, 'description' | 'subtype' | 'format' | 'lowestLevel' | 'duration_levels' | 'duration_format' | 'expression'>>;
|
|
12
|
+
type FormulaItemData = {
|
|
13
|
+
type: Formula['type'];
|
|
14
|
+
name: Formula['name'];
|
|
15
|
+
datasetId: string;
|
|
16
|
+
formulaId: Formula['id'];
|
|
17
|
+
columnId?: never;
|
|
18
|
+
level?: number;
|
|
19
|
+
currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
|
|
20
|
+
} & Partial<Pick<Formula, 'description' | 'subtype' | 'format' | 'lowestLevel' | 'duration_levels' | 'duration_format' | 'expression'>>;
|
|
21
|
+
export type DraggableDataItemData = ColumnItemData | FormulaItemData;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DraggableDataItemData } from '../draggable-data-item/types';
|
|
2
|
+
export interface DataItemDroppedEventDetail {
|
|
3
|
+
data: DraggableDataItemData;
|
|
4
|
+
}
|
|
5
|
+
export interface DataItemDragStartedEventDetail {
|
|
6
|
+
data: DraggableDataItemData;
|
|
7
|
+
}
|
|
8
|
+
export interface SlotMenuHighlightEventDetail {
|
|
9
|
+
columnId?: string;
|
|
10
|
+
level?: number;
|
|
11
|
+
formulaId?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { DraggableDataItemData } from '../types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DraggableDataItemLevelComponent {
|
|
4
5
|
variant?: 'highlight' | 'normal';
|
|
@@ -6,13 +7,14 @@ export declare class DraggableDataItemLevelComponent {
|
|
|
6
7
|
sublevel?: boolean;
|
|
7
8
|
language?: string;
|
|
8
9
|
disabled?: boolean;
|
|
9
|
-
|
|
10
|
-
description?: string;
|
|
11
|
-
secondaryIconType?: 'derived' | 'formula';
|
|
12
|
-
data?: any;
|
|
10
|
+
data?: DraggableDataItemData;
|
|
13
11
|
size?: any;
|
|
14
|
-
dataItemDropped: EventEmitter<CustomEvent<
|
|
15
|
-
|
|
12
|
+
dataItemDropped: EventEmitter<CustomEvent<{
|
|
13
|
+
data: DraggableDataItemData;
|
|
14
|
+
}>>;
|
|
15
|
+
dataItemDragStarted: EventEmitter<CustomEvent<{
|
|
16
|
+
data: DraggableDataItemData;
|
|
17
|
+
}>>;
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDataItemLevelComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemLevelComponent, "luzmo-draggable-data-item-level", never, { "variant": { "alias": "variant"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "sublevel": { "alias": "sublevel"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemLevelComponent, "luzmo-draggable-data-item-level", never, { "variant": { "alias": "variant"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "sublevel": { "alias": "sublevel"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dataItemDropped": "dataItemDropped"; "dataItemDragStarted": "dataItemDragStarted"; }, never, ["*"], true, never>;
|
|
18
20
|
}
|
|
@@ -6,29 +6,23 @@ export class DraggableDataItemLevelComponent {
|
|
|
6
6
|
sublevel;
|
|
7
7
|
language;
|
|
8
8
|
disabled;
|
|
9
|
-
label;
|
|
10
|
-
description;
|
|
11
|
-
secondaryIconType;
|
|
12
9
|
data;
|
|
13
10
|
size;
|
|
14
11
|
dataItemDropped = new EventEmitter();
|
|
15
12
|
dataItemDragStarted = new EventEmitter();
|
|
16
13
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: DraggableDataItemLevelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: DraggableDataItemLevelComponent, isStandalone: true, selector: "luzmo-draggable-data-item-level", inputs: { variant: "variant", hideTypeIcon: "hideTypeIcon", sublevel: "sublevel", language: "language", disabled: "disabled",
|
|
14
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: DraggableDataItemLevelComponent, isStandalone: true, selector: "luzmo-draggable-data-item-level", inputs: { variant: "variant", hideTypeIcon: "hideTypeIcon", sublevel: "sublevel", language: "language", disabled: "disabled", data: "data", size: "size" }, outputs: { dataItemDropped: "dataItemDropped", dataItemDragStarted: "dataItemDragStarted" }, ngImport: i0, template: `<luzmo-draggable-data-item-level
|
|
18
15
|
[attr.variant]="variant"
|
|
19
16
|
[attr.hide-type-icon]="hideTypeIcon"
|
|
20
17
|
[attr.sublevel]="sublevel"
|
|
21
18
|
[attr.language]="language"
|
|
22
19
|
[attr.disabled]="disabled"
|
|
23
|
-
[attr.label]="label"
|
|
24
|
-
[attr.description]="description"
|
|
25
|
-
[attr.secondary-icon-type]="secondaryIconType"
|
|
26
20
|
[attr.data]="data"
|
|
27
21
|
[attr.size]="size"
|
|
28
22
|
(data-item-dropped)="dataItemDropped.emit($event)"
|
|
29
23
|
(data-item-drag-started)="dataItemDragStarted.emit($event)">
|
|
30
24
|
<ng-content></ng-content>
|
|
31
|
-
</luzmo-draggable-data-item-level>`, isInline: true, dependencies: [{ kind: "component", type: DraggableDataItemLevelComponent, selector: "luzmo-draggable-data-item-level", inputs: ["variant", "hideTypeIcon", "sublevel", "language", "disabled", "
|
|
25
|
+
</luzmo-draggable-data-item-level>`, isInline: true, dependencies: [{ kind: "component", type: DraggableDataItemLevelComponent, selector: "luzmo-draggable-data-item-level", inputs: ["variant", "hideTypeIcon", "sublevel", "language", "disabled", "data", "size"], outputs: ["dataItemDropped", "dataItemDragStarted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
32
26
|
}
|
|
33
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: DraggableDataItemLevelComponent, decorators: [{
|
|
34
28
|
type: Component,
|
|
@@ -42,9 +36,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
42
36
|
[attr.sublevel]="sublevel"
|
|
43
37
|
[attr.language]="language"
|
|
44
38
|
[attr.disabled]="disabled"
|
|
45
|
-
[attr.label]="label"
|
|
46
|
-
[attr.description]="description"
|
|
47
|
-
[attr.secondary-icon-type]="secondaryIconType"
|
|
48
39
|
[attr.data]="data"
|
|
49
40
|
[attr.size]="size"
|
|
50
41
|
(data-item-dropped)="dataItemDropped.emit($event)"
|
|
@@ -62,12 +53,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
62
53
|
type: Input
|
|
63
54
|
}], disabled: [{
|
|
64
55
|
type: Input
|
|
65
|
-
}], label: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], description: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], secondaryIconType: [{
|
|
70
|
-
type: Input
|
|
71
56
|
}], data: [{
|
|
72
57
|
type: Input
|
|
73
58
|
}], size: [{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { DraggableDataItemData } from '../types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DraggableDataItemComponent {
|
|
4
5
|
variant?: 'highlight' | 'normal';
|
|
@@ -6,13 +7,14 @@ export declare class DraggableDataItemComponent {
|
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
hideSublevels?: boolean;
|
|
8
9
|
hideTypeIcon?: boolean;
|
|
9
|
-
|
|
10
|
-
label?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
data?: any;
|
|
10
|
+
data?: DraggableDataItemData;
|
|
13
11
|
size?: any;
|
|
14
|
-
dataItemDropped: EventEmitter<CustomEvent<
|
|
15
|
-
|
|
12
|
+
dataItemDropped: EventEmitter<CustomEvent<{
|
|
13
|
+
data: DraggableDataItemData;
|
|
14
|
+
}>>;
|
|
15
|
+
dataItemDragStarted: EventEmitter<CustomEvent<{
|
|
16
|
+
data: DraggableDataItemData;
|
|
17
|
+
}>>;
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDataItemComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemComponent, "luzmo-draggable-data-item", never, { "variant": { "alias": "variant"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideSublevels": { "alias": "hideSublevels"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemComponent, "luzmo-draggable-data-item", never, { "variant": { "alias": "variant"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideSublevels": { "alias": "hideSublevels"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dataItemDropped": "dataItemDropped"; "dataItemDragStarted": "dataItemDragStarted"; }, never, ["*"], true, never>;
|
|
18
20
|
}
|