@luzmo/dashboard-contents-types 0.1.87-beta.1
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/README.md +7 -0
- package/package.json +11 -0
- package/src/index.d.ts +94 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +26 -0
- package/src/index.js.map +1 -0
- package/src/lib/area-chart/area-chart-options.d.ts +312 -0
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -0
- package/src/lib/area-chart/area-chart-options.js +2 -0
- package/src/lib/area-chart/area-chart-options.js.map +1 -0
- package/src/lib/area-chart/area-chart-slots.d.ts +38 -0
- package/src/lib/area-chart/area-chart-slots.d.ts.map +1 -0
- package/src/lib/area-chart/area-chart-slots.js +2 -0
- package/src/lib/area-chart/area-chart-slots.js.map +1 -0
- package/src/lib/area-chart/area-chart.d.ts +24 -0
- package/src/lib/area-chart/area-chart.d.ts.map +1 -0
- package/src/lib/area-chart/area-chart.js +2 -0
- package/src/lib/area-chart/area-chart.js.map +1 -0
- package/src/lib/area-chart/index.d.ts +4 -0
- package/src/lib/area-chart/index.d.ts.map +1 -0
- package/src/lib/area-chart/index.js +4 -0
- package/src/lib/area-chart/index.js.map +1 -0
- package/src/lib/bar-chart/bar-chart-options.d.ts +245 -0
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -0
- package/src/lib/bar-chart/bar-chart-options.js +2 -0
- package/src/lib/bar-chart/bar-chart-options.js.map +1 -0
- package/src/lib/bar-chart/bar-chart.d.ts +24 -0
- package/src/lib/bar-chart/bar-chart.d.ts.map +1 -0
- package/src/lib/bar-chart/bar-chart.js +2 -0
- package/src/lib/bar-chart/bar-chart.js.map +1 -0
- package/src/lib/bar-chart/bar-chart.slots.d.ts +38 -0
- package/src/lib/bar-chart/bar-chart.slots.d.ts.map +1 -0
- package/src/lib/bar-chart/bar-chart.slots.js +2 -0
- package/src/lib/bar-chart/bar-chart.slots.js.map +1 -0
- package/src/lib/bar-chart/index.d.ts +4 -0
- package/src/lib/bar-chart/index.d.ts.map +1 -0
- package/src/lib/bar-chart/index.js +4 -0
- package/src/lib/bar-chart/index.js.map +1 -0
- package/src/lib/box-plot/box-plot-options.d.ts +287 -0
- package/src/lib/box-plot/box-plot-options.d.ts.map +1 -0
- package/src/lib/box-plot/box-plot-options.js +2 -0
- package/src/lib/box-plot/box-plot-options.js.map +1 -0
- package/src/lib/box-plot/box-plot-slots.d.ts +28 -0
- package/src/lib/box-plot/box-plot-slots.d.ts.map +1 -0
- package/src/lib/box-plot/box-plot-slots.js +2 -0
- package/src/lib/box-plot/box-plot-slots.js.map +1 -0
- package/src/lib/box-plot/box-plot.d.ts +24 -0
- package/src/lib/box-plot/box-plot.d.ts.map +1 -0
- package/src/lib/box-plot/box-plot.js +2 -0
- package/src/lib/box-plot/box-plot.js.map +1 -0
- package/src/lib/box-plot/index.d.ts +4 -0
- package/src/lib/box-plot/index.d.ts.map +1 -0
- package/src/lib/box-plot/index.js +4 -0
- package/src/lib/box-plot/index.js.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +84 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-options.js +2 -0
- package/src/lib/bubble-chart/bubble-chart-options.js.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-slots.d.ts +38 -0
- package/src/lib/bubble-chart/bubble-chart-slots.d.ts.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-slots.js +2 -0
- package/src/lib/bubble-chart/bubble-chart-slots.js.map +1 -0
- package/src/lib/bubble-chart/bubble-chart.d.ts +24 -0
- package/src/lib/bubble-chart/bubble-chart.d.ts.map +1 -0
- package/src/lib/bubble-chart/bubble-chart.js +2 -0
- package/src/lib/bubble-chart/bubble-chart.js.map +1 -0
- package/src/lib/bubble-chart/index.d.ts +4 -0
- package/src/lib/bubble-chart/index.d.ts.map +1 -0
- package/src/lib/bubble-chart/index.js +4 -0
- package/src/lib/bubble-chart/index.js.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-options.d.ts +97 -0
- package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-options.js +2 -0
- package/src/lib/bullet-chart/bullet-chart-options.js.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-slots.d.ts +38 -0
- package/src/lib/bullet-chart/bullet-chart-slots.d.ts.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-slots.js +2 -0
- package/src/lib/bullet-chart/bullet-chart-slots.js.map +1 -0
- package/src/lib/bullet-chart/bullet-chart.d.ts +24 -0
- package/src/lib/bullet-chart/bullet-chart.d.ts.map +1 -0
- package/src/lib/bullet-chart/bullet-chart.js +2 -0
- package/src/lib/bullet-chart/bullet-chart.js.map +1 -0
- package/src/lib/bullet-chart/index.d.ts +4 -0
- package/src/lib/bullet-chart/index.d.ts.map +1 -0
- package/src/lib/bullet-chart/index.js +4 -0
- package/src/lib/bullet-chart/index.js.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +116 -0
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-options.js +2 -0
- package/src/lib/choropleth-map/choropleth-map-options.js.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-slots.d.ts +38 -0
- package/src/lib/choropleth-map/choropleth-map-slots.d.ts.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-slots.js +2 -0
- package/src/lib/choropleth-map/choropleth-map-slots.js.map +1 -0
- package/src/lib/choropleth-map/choropleth-map.d.ts +24 -0
- package/src/lib/choropleth-map/choropleth-map.d.ts.map +1 -0
- package/src/lib/choropleth-map/choropleth-map.js +2 -0
- package/src/lib/choropleth-map/choropleth-map.js.map +1 -0
- package/src/lib/choropleth-map/index.d.ts +4 -0
- package/src/lib/choropleth-map/index.d.ts.map +1 -0
- package/src/lib/choropleth-map/index.js +4 -0
- package/src/lib/choropleth-map/index.js.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-options.d.ts +101 -0
- package/src/lib/circular-gauge/circular-gauge-options.d.ts.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-options.js +2 -0
- package/src/lib/circular-gauge/circular-gauge-options.js.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-slots.d.ts +28 -0
- package/src/lib/circular-gauge/circular-gauge-slots.d.ts.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-slots.js +2 -0
- package/src/lib/circular-gauge/circular-gauge-slots.js.map +1 -0
- package/src/lib/circular-gauge/circular-gauge.d.ts +24 -0
- package/src/lib/circular-gauge/circular-gauge.d.ts.map +1 -0
- package/src/lib/circular-gauge/circular-gauge.js +2 -0
- package/src/lib/circular-gauge/circular-gauge.js.map +1 -0
- package/src/lib/circular-gauge/index.d.ts +4 -0
- package/src/lib/circular-gauge/index.d.ts.map +1 -0
- package/src/lib/circular-gauge/index.js +4 -0
- package/src/lib/circular-gauge/index.js.map +1 -0
- package/src/lib/column-chart/column-chart-options.d.ts +246 -0
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -0
- package/src/lib/column-chart/column-chart-options.js +7 -0
- package/src/lib/column-chart/column-chart-options.js.map +1 -0
- package/src/lib/column-chart/column-chart-slots.d.ts +38 -0
- package/src/lib/column-chart/column-chart-slots.d.ts.map +1 -0
- package/src/lib/column-chart/column-chart-slots.js +2 -0
- package/src/lib/column-chart/column-chart-slots.js.map +1 -0
- package/src/lib/column-chart/column-chart.d.ts +24 -0
- package/src/lib/column-chart/column-chart.d.ts.map +1 -0
- package/src/lib/column-chart/column-chart.js +2 -0
- package/src/lib/column-chart/column-chart.js.map +1 -0
- package/src/lib/column-chart/index.d.ts +4 -0
- package/src/lib/column-chart/index.d.ts.map +1 -0
- package/src/lib/column-chart/index.js +4 -0
- package/src/lib/column-chart/index.js.map +1 -0
- package/src/lib/combination-chart/combination-chart-options.d.ts +326 -0
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -0
- package/src/lib/combination-chart/combination-chart-options.js +2 -0
- package/src/lib/combination-chart/combination-chart-options.js.map +1 -0
- package/src/lib/combination-chart/combination-chart-slots.d.ts +28 -0
- package/src/lib/combination-chart/combination-chart-slots.d.ts.map +1 -0
- package/src/lib/combination-chart/combination-chart-slots.js +2 -0
- package/src/lib/combination-chart/combination-chart-slots.js.map +1 -0
- package/src/lib/combination-chart/combination-chart.d.ts +24 -0
- package/src/lib/combination-chart/combination-chart.d.ts.map +1 -0
- package/src/lib/combination-chart/combination-chart.js +2 -0
- package/src/lib/combination-chart/combination-chart.js.map +1 -0
- package/src/lib/combination-chart/index.d.ts +4 -0
- package/src/lib/combination-chart/index.d.ts.map +1 -0
- package/src/lib/combination-chart/index.js +4 -0
- package/src/lib/combination-chart/index.js.map +1 -0
- package/src/lib/conditional-number/conditional-number-options.d.ts +79 -0
- package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -0
- package/src/lib/conditional-number/conditional-number-options.js +2 -0
- package/src/lib/conditional-number/conditional-number-options.js.map +1 -0
- package/src/lib/conditional-number/conditional-number-slots.d.ts +28 -0
- package/src/lib/conditional-number/conditional-number-slots.d.ts.map +1 -0
- package/src/lib/conditional-number/conditional-number-slots.js +2 -0
- package/src/lib/conditional-number/conditional-number-slots.js.map +1 -0
- package/src/lib/conditional-number/conditional-number.d.ts +24 -0
- package/src/lib/conditional-number/conditional-number.d.ts.map +1 -0
- package/src/lib/conditional-number/conditional-number.js +2 -0
- package/src/lib/conditional-number/conditional-number.js.map +1 -0
- package/src/lib/conditional-number/index.d.ts +4 -0
- package/src/lib/conditional-number/index.d.ts.map +1 -0
- package/src/lib/conditional-number/index.js +4 -0
- package/src/lib/conditional-number/index.js.map +1 -0
- package/src/lib/date-filter/date-filter-options.d.ts +64 -0
- package/src/lib/date-filter/date-filter-options.d.ts.map +1 -0
- package/src/lib/date-filter/date-filter-options.js +2 -0
- package/src/lib/date-filter/date-filter-options.js.map +1 -0
- package/src/lib/date-filter/date-filter-slots.d.ts +18 -0
- package/src/lib/date-filter/date-filter-slots.d.ts.map +1 -0
- package/src/lib/date-filter/date-filter-slots.js +2 -0
- package/src/lib/date-filter/date-filter-slots.js.map +1 -0
- package/src/lib/date-filter/date-filter.d.ts +24 -0
- package/src/lib/date-filter/date-filter.d.ts.map +1 -0
- package/src/lib/date-filter/date-filter.js +2 -0
- package/src/lib/date-filter/date-filter.js.map +1 -0
- package/src/lib/date-filter/index.d.ts +4 -0
- package/src/lib/date-filter/index.d.ts.map +1 -0
- package/src/lib/date-filter/index.js +4 -0
- package/src/lib/date-filter/index.js.map +1 -0
- package/src/lib/donut-chart/donut-chart-options.d.ts +118 -0
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -0
- package/src/lib/donut-chart/donut-chart-options.js +2 -0
- package/src/lib/donut-chart/donut-chart-options.js.map +1 -0
- package/src/lib/donut-chart/donut-chart-slots.d.ts +28 -0
- package/src/lib/donut-chart/donut-chart-slots.d.ts.map +1 -0
- package/src/lib/donut-chart/donut-chart-slots.js +2 -0
- package/src/lib/donut-chart/donut-chart-slots.js.map +1 -0
- package/src/lib/donut-chart/donut-chart.d.ts +24 -0
- package/src/lib/donut-chart/donut-chart.d.ts.map +1 -0
- package/src/lib/donut-chart/donut-chart.js +2 -0
- package/src/lib/donut-chart/donut-chart.js.map +1 -0
- package/src/lib/donut-chart/index.d.ts +4 -0
- package/src/lib/donut-chart/index.d.ts.map +1 -0
- package/src/lib/donut-chart/index.js +4 -0
- package/src/lib/donut-chart/index.js.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +74 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.js +2 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.js.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +18 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.js +2 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.js.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter.d.ts +24 -0
- package/src/lib/dropdown-filter/dropdown-filter.d.ts.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter.js +2 -0
- package/src/lib/dropdown-filter/dropdown-filter.js.map +1 -0
- package/src/lib/dropdown-filter/index.d.ts +4 -0
- package/src/lib/dropdown-filter/index.d.ts.map +1 -0
- package/src/lib/dropdown-filter/index.js +4 -0
- package/src/lib/dropdown-filter/index.js.map +1 -0
- package/src/lib/evolution-number/evolution-number-options.d.ts +188 -0
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -0
- package/src/lib/evolution-number/evolution-number-options.js +2 -0
- package/src/lib/evolution-number/evolution-number-options.js.map +1 -0
- package/src/lib/evolution-number/evolution-number-slots.d.ts +28 -0
- package/src/lib/evolution-number/evolution-number-slots.d.ts.map +1 -0
- package/src/lib/evolution-number/evolution-number-slots.js +2 -0
- package/src/lib/evolution-number/evolution-number-slots.js.map +1 -0
- package/src/lib/evolution-number/evolution-number.d.ts +24 -0
- package/src/lib/evolution-number/evolution-number.d.ts.map +1 -0
- package/src/lib/evolution-number/evolution-number.js +2 -0
- package/src/lib/evolution-number/evolution-number.js.map +1 -0
- package/src/lib/evolution-number/index.d.ts +4 -0
- package/src/lib/evolution-number/index.d.ts.map +1 -0
- package/src/lib/evolution-number/index.js +4 -0
- package/src/lib/evolution-number/index.js.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +107 -0
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-options.js +2 -0
- package/src/lib/funnel-chart/funnel-chart-options.js.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-slots.d.ts +28 -0
- package/src/lib/funnel-chart/funnel-chart-slots.d.ts.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-slots.js +2 -0
- package/src/lib/funnel-chart/funnel-chart-slots.js.map +1 -0
- package/src/lib/funnel-chart/funnel-chart.d.ts +24 -0
- package/src/lib/funnel-chart/funnel-chart.d.ts.map +1 -0
- package/src/lib/funnel-chart/funnel-chart.js +2 -0
- package/src/lib/funnel-chart/funnel-chart.js.map +1 -0
- package/src/lib/funnel-chart/index.d.ts +4 -0
- package/src/lib/funnel-chart/index.d.ts.map +1 -0
- package/src/lib/funnel-chart/index.js +4 -0
- package/src/lib/funnel-chart/index.js.map +1 -0
- package/src/lib/image/image-options.d.ts +64 -0
- package/src/lib/image/image-options.d.ts.map +1 -0
- package/src/lib/image/image-options.js +2 -0
- package/src/lib/image/image-options.js.map +1 -0
- package/src/lib/image/image.d.ts +17 -0
- package/src/lib/image/image.d.ts.map +1 -0
- package/src/lib/image/image.js +2 -0
- package/src/lib/image/image.js.map +1 -0
- package/src/lib/image/index.d.ts +3 -0
- package/src/lib/image/index.d.ts.map +1 -0
- package/src/lib/image/index.js +3 -0
- package/src/lib/image/index.js.map +1 -0
- package/src/lib/line-chart/index.d.ts +4 -0
- package/src/lib/line-chart/index.d.ts.map +1 -0
- package/src/lib/line-chart/index.js +4 -0
- package/src/lib/line-chart/index.js.map +1 -0
- package/src/lib/line-chart/line-chart-options.d.ts +347 -0
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -0
- package/src/lib/line-chart/line-chart-options.js +2 -0
- package/src/lib/line-chart/line-chart-options.js.map +1 -0
- package/src/lib/line-chart/line-chart-slots.d.ts +38 -0
- package/src/lib/line-chart/line-chart-slots.d.ts.map +1 -0
- package/src/lib/line-chart/line-chart-slots.js +2 -0
- package/src/lib/line-chart/line-chart-slots.js.map +1 -0
- package/src/lib/line-chart/line-chart.d.ts +24 -0
- package/src/lib/line-chart/line-chart.d.ts.map +1 -0
- package/src/lib/line-chart/line-chart.js +2 -0
- package/src/lib/line-chart/line-chart.js.map +1 -0
- package/src/lib/pivot-table/index.d.ts +4 -0
- package/src/lib/pivot-table/index.d.ts.map +1 -0
- package/src/lib/pivot-table/index.js +4 -0
- package/src/lib/pivot-table/index.js.map +1 -0
- package/src/lib/pivot-table/pivot-table-options.d.ts +172 -0
- package/src/lib/pivot-table/pivot-table-options.d.ts.map +1 -0
- package/src/lib/pivot-table/pivot-table-options.js +2 -0
- package/src/lib/pivot-table/pivot-table-options.js.map +1 -0
- package/src/lib/pivot-table/pivot-table-slots.d.ts +38 -0
- package/src/lib/pivot-table/pivot-table-slots.d.ts.map +1 -0
- package/src/lib/pivot-table/pivot-table-slots.js +2 -0
- package/src/lib/pivot-table/pivot-table-slots.js.map +1 -0
- package/src/lib/pivot-table/pivot-table.d.ts +24 -0
- package/src/lib/pivot-table/pivot-table.d.ts.map +1 -0
- package/src/lib/pivot-table/pivot-table.js +2 -0
- package/src/lib/pivot-table/pivot-table.js.map +1 -0
- package/src/lib/regular-table/index.d.ts +4 -0
- package/src/lib/regular-table/index.d.ts.map +1 -0
- package/src/lib/regular-table/index.js +4 -0
- package/src/lib/regular-table/index.js.map +1 -0
- package/src/lib/regular-table/regular-table-options.d.ts +114 -0
- package/src/lib/regular-table/regular-table-options.d.ts.map +1 -0
- package/src/lib/regular-table/regular-table-options.js +6 -0
- package/src/lib/regular-table/regular-table-options.js.map +1 -0
- package/src/lib/regular-table/regular-table-slots.d.ts +18 -0
- package/src/lib/regular-table/regular-table-slots.d.ts.map +1 -0
- package/src/lib/regular-table/regular-table-slots.js +2 -0
- package/src/lib/regular-table/regular-table-slots.js.map +1 -0
- package/src/lib/regular-table/regular-table.d.ts +24 -0
- package/src/lib/regular-table/regular-table.d.ts.map +1 -0
- package/src/lib/regular-table/regular-table.js +2 -0
- package/src/lib/regular-table/regular-table.js.map +1 -0
- package/src/lib/sankey-diagram/index.d.ts +4 -0
- package/src/lib/sankey-diagram/index.d.ts.map +1 -0
- package/src/lib/sankey-diagram/index.js +4 -0
- package/src/lib/sankey-diagram/index.js.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +118 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.js +2 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.js.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +48 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.js +2 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.js.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram.d.ts +24 -0
- package/src/lib/sankey-diagram/sankey-diagram.d.ts.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram.js +2 -0
- package/src/lib/sankey-diagram/sankey-diagram.js.map +1 -0
- package/src/lib/scatter-plot/index.d.ts +4 -0
- package/src/lib/scatter-plot/index.d.ts.map +1 -0
- package/src/lib/scatter-plot/index.js +4 -0
- package/src/lib/scatter-plot/index.js.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +207 -0
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-options.js +2 -0
- package/src/lib/scatter-plot/scatter-plot-options.js.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-slots.d.ts +58 -0
- package/src/lib/scatter-plot/scatter-plot-slots.d.ts.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-slots.js +2 -0
- package/src/lib/scatter-plot/scatter-plot-slots.js.map +1 -0
- package/src/lib/scatter-plot/scatter-plot.d.ts +24 -0
- package/src/lib/scatter-plot/scatter-plot.d.ts.map +1 -0
- package/src/lib/scatter-plot/scatter-plot.js +2 -0
- package/src/lib/scatter-plot/scatter-plot.js.map +1 -0
- package/src/lib/shared/axes.d.ts +36 -0
- package/src/lib/shared/axes.d.ts.map +1 -0
- package/src/lib/shared/axes.js +2 -0
- package/src/lib/shared/axes.js.map +1 -0
- package/src/lib/shared/axis-view-options.d.ts +4 -0
- package/src/lib/shared/axis-view-options.d.ts.map +1 -0
- package/src/lib/shared/axis-view-options.js +2 -0
- package/src/lib/shared/axis-view-options.js.map +1 -0
- package/src/lib/shared/common.d.ts +103 -0
- package/src/lib/shared/common.d.ts.map +1 -0
- package/src/lib/shared/common.js +2 -0
- package/src/lib/shared/common.js.map +1 -0
- package/src/lib/shared/drop-object-view-options.d.ts +19 -0
- package/src/lib/shared/drop-object-view-options.d.ts.map +1 -0
- package/src/lib/shared/drop-object-view-options.js +2 -0
- package/src/lib/shared/drop-object-view-options.js.map +1 -0
- package/src/lib/shared/filters.d.ts +31 -0
- package/src/lib/shared/filters.d.ts.map +1 -0
- package/src/lib/shared/filters.js +2 -0
- package/src/lib/shared/filters.js.map +1 -0
- package/src/lib/shared/formula.d.ts +29 -0
- package/src/lib/shared/formula.d.ts.map +1 -0
- package/src/lib/shared/formula.js +2 -0
- package/src/lib/shared/formula.js.map +1 -0
- package/src/lib/shared/info-tooltip-options.d.ts +25 -0
- package/src/lib/shared/info-tooltip-options.d.ts.map +1 -0
- package/src/lib/shared/info-tooltip-options.js +2 -0
- package/src/lib/shared/info-tooltip-options.js.map +1 -0
- package/src/lib/shared/interactivity-custom-events.d.ts +59 -0
- package/src/lib/shared/interactivity-custom-events.d.ts.map +1 -0
- package/src/lib/shared/interactivity-custom-events.js +2 -0
- package/src/lib/shared/interactivity-custom-events.js.map +1 -0
- package/src/lib/shared/interactivity-custom-tooltip.d.ts +11 -0
- package/src/lib/shared/interactivity-custom-tooltip.d.ts.map +1 -0
- package/src/lib/shared/interactivity-custom-tooltip.js +2 -0
- package/src/lib/shared/interactivity-custom-tooltip.js.map +1 -0
- package/src/lib/shared/interactivity-drilldown.d.ts +79 -0
- package/src/lib/shared/interactivity-drilldown.d.ts.map +1 -0
- package/src/lib/shared/interactivity-drilldown.js +2 -0
- package/src/lib/shared/interactivity-drilldown.js.map +1 -0
- package/src/lib/shared/interactivity-export.d.ts +22 -0
- package/src/lib/shared/interactivity-export.d.ts.map +1 -0
- package/src/lib/shared/interactivity-export.js +2 -0
- package/src/lib/shared/interactivity-export.js.map +1 -0
- package/src/lib/shared/interactivity-go-to-url.d.ts +23 -0
- package/src/lib/shared/interactivity-go-to-url.d.ts.map +1 -0
- package/src/lib/shared/interactivity-go-to-url.js +2 -0
- package/src/lib/shared/interactivity-go-to-url.js.map +1 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +67 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts.map +1 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.js +2 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.js.map +1 -0
- package/src/lib/shared/interactivity-target.d.ts +2 -0
- package/src/lib/shared/interactivity-target.d.ts.map +1 -0
- package/src/lib/shared/interactivity-target.js +2 -0
- package/src/lib/shared/interactivity-target.js.map +1 -0
- package/src/lib/shared/interpolation.d.ts +5 -0
- package/src/lib/shared/interpolation.d.ts.map +1 -0
- package/src/lib/shared/interpolation.js +2 -0
- package/src/lib/shared/interpolation.js.map +1 -0
- package/src/lib/shared/legend.d.ts +32 -0
- package/src/lib/shared/legend.d.ts.map +1 -0
- package/src/lib/shared/legend.js +2 -0
- package/src/lib/shared/legend.js.map +1 -0
- package/src/lib/shared/map-object-view-options.d.ts +42 -0
- package/src/lib/shared/map-object-view-options.d.ts.map +1 -0
- package/src/lib/shared/map-object-view-options.js +2 -0
- package/src/lib/shared/map-object-view-options.js.map +1 -0
- package/src/lib/shared/object-view-options.d.ts +19 -0
- package/src/lib/shared/object-view-options.d.ts.map +1 -0
- package/src/lib/shared/object-view-options.js +2 -0
- package/src/lib/shared/object-view-options.js.map +1 -0
- package/src/lib/shared/placeholder.d.ts +8 -0
- package/src/lib/shared/placeholder.d.ts.map +1 -0
- package/src/lib/shared/placeholder.js +2 -0
- package/src/lib/shared/placeholder.js.map +1 -0
- package/src/lib/shared/query.d.ts +22 -0
- package/src/lib/shared/query.d.ts.map +1 -0
- package/src/lib/shared/query.js +2 -0
- package/src/lib/shared/query.js.map +1 -0
- package/src/lib/shared/ranges.d.ts +18 -0
- package/src/lib/shared/ranges.d.ts.map +1 -0
- package/src/lib/shared/ranges.js +2 -0
- package/src/lib/shared/ranges.js.map +1 -0
- package/src/lib/shared/slots.d.ts +227 -0
- package/src/lib/shared/slots.d.ts.map +1 -0
- package/src/lib/shared/slots.js +2 -0
- package/src/lib/shared/slots.js.map +1 -0
- package/src/lib/shared/sort.d.ts +65 -0
- package/src/lib/shared/sort.d.ts.map +1 -0
- package/src/lib/shared/sort.js +2 -0
- package/src/lib/shared/sort.js.map +1 -0
- package/src/lib/shared/theme.d.ts +266 -0
- package/src/lib/shared/theme.d.ts.map +1 -0
- package/src/lib/shared/theme.js +2 -0
- package/src/lib/shared/theme.js.map +1 -0
- package/src/lib/shared/title.d.ts +19 -0
- package/src/lib/shared/title.d.ts.map +1 -0
- package/src/lib/shared/title.js +2 -0
- package/src/lib/shared/title.js.map +1 -0
- package/src/lib/slicer-filter/index.d.ts +4 -0
- package/src/lib/slicer-filter/index.d.ts.map +1 -0
- package/src/lib/slicer-filter/index.js +4 -0
- package/src/lib/slicer-filter/index.js.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-options.d.ts +203 -0
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-options.js +2 -0
- package/src/lib/slicer-filter/slicer-filter-options.js.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-slots.d.ts +28 -0
- package/src/lib/slicer-filter/slicer-filter-slots.d.ts.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-slots.js +2 -0
- package/src/lib/slicer-filter/slicer-filter-slots.js.map +1 -0
- package/src/lib/slicer-filter/slicer-filter.d.ts +24 -0
- package/src/lib/slicer-filter/slicer-filter.d.ts.map +1 -0
- package/src/lib/slicer-filter/slicer-filter.js +2 -0
- package/src/lib/slicer-filter/slicer-filter.js.map +1 -0
- package/src/lib/slider-filter/index.d.ts +4 -0
- package/src/lib/slider-filter/index.d.ts.map +1 -0
- package/src/lib/slider-filter/index.js +4 -0
- package/src/lib/slider-filter/index.js.map +1 -0
- package/src/lib/slider-filter/slider-filter-options.d.ts +14 -0
- package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -0
- package/src/lib/slider-filter/slider-filter-options.js +2 -0
- package/src/lib/slider-filter/slider-filter-options.js.map +1 -0
- package/src/lib/slider-filter/slider-filter-slots.d.ts +18 -0
- package/src/lib/slider-filter/slider-filter-slots.d.ts.map +1 -0
- package/src/lib/slider-filter/slider-filter-slots.js +2 -0
- package/src/lib/slider-filter/slider-filter-slots.js.map +1 -0
- package/src/lib/slider-filter/slider-filter.d.ts +24 -0
- package/src/lib/slider-filter/slider-filter.d.ts.map +1 -0
- package/src/lib/slider-filter/slider-filter.js +2 -0
- package/src/lib/slider-filter/slider-filter.js.map +1 -0
- package/src/lib/text/index.d.ts +3 -0
- package/src/lib/text/index.d.ts.map +1 -0
- package/src/lib/text/index.js +3 -0
- package/src/lib/text/index.js.map +1 -0
- package/src/lib/text/text-options.d.ts +54 -0
- package/src/lib/text/text-options.d.ts.map +1 -0
- package/src/lib/text/text-options.js +2 -0
- package/src/lib/text/text-options.js.map +1 -0
- package/src/lib/text/text.d.ts +17 -0
- package/src/lib/text/text.d.ts.map +1 -0
- package/src/lib/text/text.js +2 -0
- package/src/lib/text/text.js.map +1 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import type { LimitViewOptions, ScreenMode, SortDirection } from '../shared/common';
|
|
2
|
+
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
3
|
+
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
4
|
+
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
5
|
+
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
6
|
+
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
7
|
+
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
8
|
+
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
9
|
+
import { ManualValuesRange } from '../shared/ranges';
|
|
10
|
+
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
11
|
+
export interface PivotTableViewOptions extends Omit<DropObjectViewOptions, 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, DisplayTitleViewOptions, PivotTableLimitViewOptions, PivotTableInteractivityViewOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Table border
|
|
14
|
+
*/
|
|
15
|
+
tableBorders?: PivotTableBorders;
|
|
16
|
+
/**
|
|
17
|
+
* Measure axis labels
|
|
18
|
+
*/
|
|
19
|
+
measureLabelsAxis?: PivotTableAxis;
|
|
20
|
+
/**
|
|
21
|
+
* Style and alignment of the table headers
|
|
22
|
+
*/
|
|
23
|
+
headers?: {
|
|
24
|
+
/**
|
|
25
|
+
* Alignment of the headers
|
|
26
|
+
*/
|
|
27
|
+
align?: 'left';
|
|
28
|
+
/**
|
|
29
|
+
* Background color of the header
|
|
30
|
+
*/
|
|
31
|
+
background?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Text color of the headers
|
|
34
|
+
*/
|
|
35
|
+
color?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Row header of the pivot table
|
|
39
|
+
*/
|
|
40
|
+
rowHeaders?: {
|
|
41
|
+
align?: PivotTableTextAlign;
|
|
42
|
+
sticky?: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Column headers of the pivot table
|
|
46
|
+
*/
|
|
47
|
+
columnHeaders?: {
|
|
48
|
+
align?: PivotTableTextAlign;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Alignment and style of the values
|
|
52
|
+
*/
|
|
53
|
+
valueCells?: {
|
|
54
|
+
/**
|
|
55
|
+
* Alignment of the value in the cell
|
|
56
|
+
*/
|
|
57
|
+
align?: PivotTableTextAlign;
|
|
58
|
+
/**
|
|
59
|
+
* Toggle alternate coloring of the cell
|
|
60
|
+
*/
|
|
61
|
+
alternate?: boolean;
|
|
62
|
+
};
|
|
63
|
+
wrapText?: boolean;
|
|
64
|
+
columns?: PivotTableColumnOptions[];
|
|
65
|
+
/**
|
|
66
|
+
* Sort object, where a key is a string, and a value is a "asc" or "desc".
|
|
67
|
+
*
|
|
68
|
+
* @TJS-type object
|
|
69
|
+
*/
|
|
70
|
+
rowSortsMap?: PivotTableRowSortsMap;
|
|
71
|
+
measureSorts?: Record<PivotTableRowAxis | PivotTableColumnAxis, PivotTableMeasureSort>;
|
|
72
|
+
/**
|
|
73
|
+
* @TJS-type object
|
|
74
|
+
*/
|
|
75
|
+
colWidths?: Partial<Record<ScreenMode, Record<string, number>>>;
|
|
76
|
+
/**
|
|
77
|
+
* Toggle expandability of the table
|
|
78
|
+
*/
|
|
79
|
+
isExpandable?: boolean;
|
|
80
|
+
expandStyle?: 'indent' | 'columns';
|
|
81
|
+
rowsExpandState?: PivotTableItemExpandState;
|
|
82
|
+
columnsExpandState?: PivotTableItemExpandState;
|
|
83
|
+
}
|
|
84
|
+
interface PivotTableInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
|
|
85
|
+
/**
|
|
86
|
+
* Interactivity options
|
|
87
|
+
*/
|
|
88
|
+
interactivity?: {
|
|
89
|
+
/**
|
|
90
|
+
* Go to URL interactivity option
|
|
91
|
+
*/
|
|
92
|
+
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
93
|
+
/**
|
|
94
|
+
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
95
|
+
*/
|
|
96
|
+
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
97
|
+
/**
|
|
98
|
+
* Filter on select interactivity option
|
|
99
|
+
*/
|
|
100
|
+
select?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Measure dimension picker interactivity option
|
|
103
|
+
*/
|
|
104
|
+
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
105
|
+
/**
|
|
106
|
+
* Custom events interactivity option
|
|
107
|
+
*/
|
|
108
|
+
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
109
|
+
/**
|
|
110
|
+
* Available export types interactivity option
|
|
111
|
+
*/
|
|
112
|
+
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
113
|
+
/**
|
|
114
|
+
* Export types interactivity option
|
|
115
|
+
*/
|
|
116
|
+
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
export type PivotTableRowAxis = 'rows';
|
|
120
|
+
export type PivotTableColumnAxis = 'columns';
|
|
121
|
+
export type PivotTableRowSortsMap = Record<string, SortDirection>;
|
|
122
|
+
export interface PivotTableMeasureSort {
|
|
123
|
+
axisDataItemKey: string;
|
|
124
|
+
axisSlotColumnId: string;
|
|
125
|
+
measureSlotColumnId: string;
|
|
126
|
+
direction: SortDirection;
|
|
127
|
+
}
|
|
128
|
+
export interface PivotTableBorders {
|
|
129
|
+
/**
|
|
130
|
+
* Type of the border
|
|
131
|
+
*/
|
|
132
|
+
type: 'all' | 'rows' | 'columns' | 'none';
|
|
133
|
+
/**
|
|
134
|
+
* Width of the border
|
|
135
|
+
*/
|
|
136
|
+
width: number;
|
|
137
|
+
/**
|
|
138
|
+
* Color of the border
|
|
139
|
+
*/
|
|
140
|
+
color: string;
|
|
141
|
+
}
|
|
142
|
+
export interface PivotTableColumnOptions {
|
|
143
|
+
colorScheme?: string;
|
|
144
|
+
nbColors?: number;
|
|
145
|
+
classification?: 'continuous' | 'interval' | 'quantiles' | 'manual' | 'manualPerc';
|
|
146
|
+
mode?: 'normal' | 'conditionalText' | 'conditionalBackground' | 'conditionalBadge';
|
|
147
|
+
colorEmpty?: boolean;
|
|
148
|
+
emptyValueColor?: string;
|
|
149
|
+
hideDataValues?: boolean;
|
|
150
|
+
id?: string;
|
|
151
|
+
conditional?: ManualValuesRange[];
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Stores expand state for each slot axis item (column or row)
|
|
155
|
+
* axisDataItem key -> isExpanded
|
|
156
|
+
*/
|
|
157
|
+
export interface PivotTableItemExpandState {
|
|
158
|
+
[axisDataItemKey: string]: true;
|
|
159
|
+
}
|
|
160
|
+
export type PivotTableAxis = PivotTableRowAxis | PivotTableColumnAxis;
|
|
161
|
+
/**
|
|
162
|
+
* Alignment of the text: left, center or right
|
|
163
|
+
*/
|
|
164
|
+
export type PivotTableTextAlign = 'left' | 'center' | 'right';
|
|
165
|
+
export type PivotTableLimitViewOptions = LimitViewOptions & {
|
|
166
|
+
limit: {
|
|
167
|
+
rows?: number;
|
|
168
|
+
columns?: number;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
export {};
|
|
172
|
+
//# sourceMappingURL=pivot-table-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-table-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,wCAAwC,CAAC;AA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AAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9D,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,KAAK,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-table-options.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { LimitViewOptions, ScreenMode, SortDirection } from '../shared/common';\nimport { DropObjectViewOptions } from '../shared/drop-object-view-options';\nimport { InfoTooltipViewOptions } from '../shared/info-tooltip-options';\nimport { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';\nimport { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';\nimport { InteractivityExportViewOptions } from '../shared/interactivity-export';\nimport { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';\nimport { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';\nimport { ManualValuesRange } from '../shared/ranges';\nimport { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';\n\nexport interface PivotTableViewOptions extends\n Omit<DropObjectViewOptions, 'interactivity'>,\n InfoTooltipViewOptions,\n TitleViewOptions,\n DisplayTitleViewOptions,\n PivotTableLimitViewOptions,\n PivotTableInteractivityViewOptions {\n /**\n * Table border\n */\n tableBorders?: PivotTableBorders;\n /**\n * Measure axis labels\n */\n measureLabelsAxis?: PivotTableAxis;\n /**\n * Style and alignment of the table headers\n */\n headers?: {\n /**\n * Alignment of the headers\n */\n align?: 'left';\n /**\n * Background color of the header\n */\n background?: string;\n /**\n * Text color of the headers\n */\n color?: string;\n };\n /**\n * Row header of the pivot table\n */\n rowHeaders?: {\n align?: PivotTableTextAlign;\n sticky?: boolean;\n };\n /**\n * Column headers of the pivot table\n */\n columnHeaders?: {\n align?: PivotTableTextAlign;\n };\n /**\n * Alignment and style of the values\n */\n valueCells?: {\n /**\n * Alignment of the value in the cell\n */\n align?: PivotTableTextAlign;\n /**\n * Toggle alternate coloring of the cell\n */\n alternate?: boolean;\n };\n wrapText?: boolean;\n columns?: PivotTableColumnOptions[];\n /**\n * Sort object, where a key is a string, and a value is a \"asc\" or \"desc\".\n *\n * @TJS-type object\n */\n rowSortsMap?: PivotTableRowSortsMap;\n measureSorts?: Record<PivotTableRowAxis | PivotTableColumnAxis, PivotTableMeasureSort>;\n /**\n * @TJS-type object\n */\n colWidths?: Partial<Record<ScreenMode, Record<string, number>>>;\n /**\n * Toggle expandability of the table\n */\n isExpandable?: boolean;\n expandStyle?: 'indent' | 'columns';\n rowsExpandState?: PivotTableItemExpandState;\n columnsExpandState?: PivotTableItemExpandState;\n}\n\ninterface PivotTableInteractivityViewOptions extends\n InteractivityCustomEventsViewOptions,\n InteractivityCustomTooltipViewOptions,\n InteractivityExportViewOptions,\n InteractivityGoToUrlViewOptions,\n InteractivityMeasureDimensionPickerViewOptions {\n /**\n * Interactivity options\n */\n interactivity?: {\n /**\n * Go to URL interactivity option\n */\n urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;\n /**\n * Custom tooltip interactivity option, in format {locale: \"tooltip\"}, for example, {en: \"Total Revenue\"}\n */\n customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;\n /**\n * Filter on select interactivity option\n */\n select?: boolean; // implement ObjectViewOptions\n /**\n * Measure dimension picker interactivity option\n */\n measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;\n /**\n * Custom events interactivity option\n */\n customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;\n /**\n * Available export types interactivity option\n */\n availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;\n /**\n * Export types interactivity option\n */\n exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;\n };\n}\n\nexport type PivotTableRowAxis = 'rows';\n\nexport type PivotTableColumnAxis = 'columns';\n\nexport type PivotTableRowSortsMap = Record<string, SortDirection>; // slot content column id -> order\n\nexport interface PivotTableMeasureSort {\n axisDataItemKey: string;\n axisSlotColumnId: string;\n measureSlotColumnId: string;\n direction: SortDirection;\n}\n\nexport interface PivotTableBorders {\n /**\n * Type of the border\n */\n type: 'all' | 'rows' | 'columns' | 'none';\n /**\n * Width of the border\n */\n width: number;\n /**\n * Color of the border\n */\n color: string;\n}\n\nexport interface PivotTableColumnOptions {\n colorScheme?: string;\n nbColors?: number;\n classification?: 'continuous' | 'interval' | 'quantiles' | 'manual' | 'manualPerc';\n mode?: 'normal' | 'conditionalText' | 'conditionalBackground' | 'conditionalBadge';\n colorEmpty?: boolean;\n emptyValueColor?: string;\n hideDataValues?: boolean;\n id?: string; // corresponding content column id\n conditional?: ManualValuesRange[];\n}\n\n/**\n * Stores expand state for each slot axis item (column or row)\n * axisDataItem key -> isExpanded\n */\nexport interface PivotTableItemExpandState {\n [axisDataItemKey: string]: true; // if some key is not present in expandState - it is collapsed\n}\n\nexport type PivotTableAxis = PivotTableRowAxis | PivotTableColumnAxis;\n\n/**\n * Alignment of the text: left, center or right\n */\nexport type PivotTableTextAlign = 'left' | 'center' | 'right';\n\nexport type PivotTableLimitViewOptions = LimitViewOptions & {\n limit: {\n rows?: number;\n columns?: number;\n };\n};\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DashboardContentVizItemSlot, DashboardContentVizItemSlotContent } from '../shared/slots';
|
|
2
|
+
/**
|
|
3
|
+
* Row slot of the pivot table. This defines the rows of the pivot table. A pivot table can contain any number of rows.
|
|
4
|
+
*/
|
|
5
|
+
interface RowSlot extends DashboardContentVizItemSlot {
|
|
6
|
+
name: 'row';
|
|
7
|
+
/**
|
|
8
|
+
* Row slot definition
|
|
9
|
+
*/
|
|
10
|
+
content: DashboardContentVizItemSlotContent[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Column slot of the pivot table. This defines the columns of the pivot table. A pivot table can contain any number of columns.
|
|
14
|
+
*/
|
|
15
|
+
interface ColumnSlot extends DashboardContentVizItemSlot {
|
|
16
|
+
name: 'column';
|
|
17
|
+
/**
|
|
18
|
+
* Column slot definition
|
|
19
|
+
*/
|
|
20
|
+
content: DashboardContentVizItemSlotContent[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Measure slot of the pivot table. A pivot table can contain any number of measure.
|
|
24
|
+
*/
|
|
25
|
+
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
26
|
+
name: 'measure';
|
|
27
|
+
/**
|
|
28
|
+
* Measure slot definition
|
|
29
|
+
*/
|
|
30
|
+
content: DashboardContentVizItemSlotContent[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Data definition of the Pivot table
|
|
34
|
+
* @maxItems 3
|
|
35
|
+
*/
|
|
36
|
+
export type PivotTableSlots = (RowSlot | ColumnSlot | MeasureSlot)[];
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=pivot-table-slots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-table-slots.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAElG;;GAEG;AACH,UAAU,OAAQ,SAAQ,2BAA2B;IACnD,IAAI,EAAE,KAAK,CAAC;IACZ;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;GAEG;AACH,UAAU,UAAW,SAAQ,2BAA2B;IACtD,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;GAEG;AACH,UAAU,WAAY,SAAQ,2BAA2B;IACvD,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-table-slots.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardContentVizItemSlot, DashboardContentVizItemSlotContent } from '../shared/slots';\n\n/**\n * Row slot of the pivot table. This defines the rows of the pivot table. A pivot table can contain any number of rows.\n */\ninterface RowSlot extends DashboardContentVizItemSlot {\n name: 'row';\n /**\n * Row slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Column slot of the pivot table. This defines the columns of the pivot table. A pivot table can contain any number of columns.\n */\ninterface ColumnSlot extends DashboardContentVizItemSlot {\n name: 'column';\n /**\n * Column slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Measure slot of the pivot table. A pivot table can contain any number of measure.\n */\ninterface MeasureSlot extends DashboardContentVizItemSlot {\n name: 'measure';\n /**\n * Measure slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Data definition of the Pivot table\n * @maxItems 3\n */\nexport type PivotTableSlots = (RowSlot | ColumnSlot | MeasureSlot)[];\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VizItemType } from '../shared/common';
|
|
2
|
+
import { PivotTableViewOptions } from './pivot-table-options';
|
|
3
|
+
import { PivotTableSlots } from './pivot-table-slots';
|
|
4
|
+
/**
|
|
5
|
+
* Pivot table item
|
|
6
|
+
*/
|
|
7
|
+
export interface PivotTable {
|
|
8
|
+
/**
|
|
9
|
+
* Type of the item
|
|
10
|
+
*/
|
|
11
|
+
type: Extract<VizItemType, 'pivot-table'>;
|
|
12
|
+
/**
|
|
13
|
+
* Options of the Pivot table item
|
|
14
|
+
* @$ref ./pivot-table-options.schema.json/
|
|
15
|
+
*/
|
|
16
|
+
options: PivotTableViewOptions;
|
|
17
|
+
/**
|
|
18
|
+
* Data definition of the Pivot table chart
|
|
19
|
+
* @maxItems 3
|
|
20
|
+
* @$ref ./pivot-table-slots.schema.json
|
|
21
|
+
*/
|
|
22
|
+
slots: PivotTableSlots;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=pivot-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-table.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;IAC1C;;;OAGG;IACH,OAAO,EAAE,qBAAqB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,EAAE,eAAe,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-table.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.ts"],"names":[],"mappings":"","sourcesContent":["import { VizItemType } from '../shared/common';\nimport { PivotTableViewOptions } from './pivot-table-options';\nimport { PivotTableSlots } from './pivot-table-slots';\n\n/**\n * Pivot table item\n */\nexport interface PivotTable {\n /**\n * Type of the item\n */\n type: Extract<VizItemType, 'pivot-table'>;\n /**\n * Options of the Pivot table item\n * @$ref ./pivot-table-options.schema.json/\n */\n options: PivotTableViewOptions;\n /**\n * Data definition of the Pivot table chart\n * @maxItems 3\n * @$ref ./pivot-table-slots.schema.json\n */\n slots: PivotTableSlots;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './regular-table';\nexport * from './regular-table-slots';\nexport * from './regular-table-options';\n"]}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { LimitViewOptions, ScreenMode, SortDirection } from '../shared/common';
|
|
2
|
+
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
3
|
+
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
4
|
+
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
5
|
+
import { ExportType, InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
6
|
+
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
7
|
+
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
8
|
+
import { ManualValuesRange } from '../shared/ranges';
|
|
9
|
+
import { DashboardContentVizItemSort } from '../shared/sort';
|
|
10
|
+
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
11
|
+
export interface RegularTableViewOptions extends Omit<DropObjectViewOptions, 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, DisplayTitleViewOptions, LimitViewOptions, RegularTableSortViewOptions, RegularTableInteractivityViewOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Border around the table
|
|
14
|
+
*/
|
|
15
|
+
tableBorders?: RegularTableBorders;
|
|
16
|
+
/**
|
|
17
|
+
* Table headers options with background and color of the header
|
|
18
|
+
*/
|
|
19
|
+
headers?: {
|
|
20
|
+
background?: string;
|
|
21
|
+
color?: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Toggle alternate row coloring
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
27
|
+
alternateRowColor?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Row height
|
|
30
|
+
*/
|
|
31
|
+
rowHeight?: number;
|
|
32
|
+
columns?: RegularTableColumn[];
|
|
33
|
+
hiddenColumns?: {
|
|
34
|
+
slotContentId?: string;
|
|
35
|
+
}[];
|
|
36
|
+
/**
|
|
37
|
+
* Toggle infinite scrolling
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
infiniteScrolling?: boolean;
|
|
41
|
+
sortingMode?: RegularTableSortingMode;
|
|
42
|
+
}
|
|
43
|
+
interface RegularTableInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
|
|
44
|
+
/**
|
|
45
|
+
* Interactivity options
|
|
46
|
+
*/
|
|
47
|
+
interactivity?: {
|
|
48
|
+
/**
|
|
49
|
+
* Go to URL interactivity option
|
|
50
|
+
*/
|
|
51
|
+
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
52
|
+
/**
|
|
53
|
+
* Filter on select interactivity option
|
|
54
|
+
*/
|
|
55
|
+
select?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Measure dimension picker interactivity option
|
|
58
|
+
*/
|
|
59
|
+
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
60
|
+
/**
|
|
61
|
+
* Custom events interactivity option
|
|
62
|
+
*/
|
|
63
|
+
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
64
|
+
/**
|
|
65
|
+
* Available export types interactivity option
|
|
66
|
+
*/
|
|
67
|
+
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
68
|
+
/**
|
|
69
|
+
* Export types interactivity option
|
|
70
|
+
*/
|
|
71
|
+
exportTypes?: ExportType[];
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export type RegularTableCellMode = 'normal' | 'conditionalText' | 'conditionalBackground' | 'conditionalBadge' | 'bar' | 'categoryBadge' | 'categoryBackground';
|
|
75
|
+
export type RegularTableTextAlign = 'left' | 'center' | 'right';
|
|
76
|
+
export interface RegularTableColumn {
|
|
77
|
+
slotContentId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Width in a key-value object format. Where key is a screen mode "desktop", "tablet", "mobile", "largeScreen" or "fixed", value - number.
|
|
80
|
+
*
|
|
81
|
+
* @TJS-type object
|
|
82
|
+
*/
|
|
83
|
+
width?: Partial<Record<ScreenMode, number>>;
|
|
84
|
+
sortOrder?: SortDirection;
|
|
85
|
+
sortIndex?: number;
|
|
86
|
+
barColor?: string;
|
|
87
|
+
manualTarget?: number;
|
|
88
|
+
conditional?: ManualValuesRange[];
|
|
89
|
+
wrapText?: boolean;
|
|
90
|
+
value?: 'none' | 'normal' | 'percentage';
|
|
91
|
+
mode?: RegularTableCellMode;
|
|
92
|
+
target?: 'manual' | 'max' | 'total';
|
|
93
|
+
textAlign?: RegularTableTextAlign;
|
|
94
|
+
colorEmpty?: boolean;
|
|
95
|
+
emptyValueColor?: string;
|
|
96
|
+
hideDataValues?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export declare enum RegularTableSortingMode {
|
|
99
|
+
SingleColumn = "singleColumn",
|
|
100
|
+
MultiColumn = "multiColumn"
|
|
101
|
+
}
|
|
102
|
+
export interface RegularTableBorders {
|
|
103
|
+
type: 'all' | 'rows' | 'columns' | 'none';
|
|
104
|
+
width: number;
|
|
105
|
+
color: string;
|
|
106
|
+
}
|
|
107
|
+
export type RegularTableSort = DashboardContentVizItemSort & {
|
|
108
|
+
level?: number;
|
|
109
|
+
};
|
|
110
|
+
export interface RegularTableSortViewOptions {
|
|
111
|
+
sort: RegularTableSort[];
|
|
112
|
+
}
|
|
113
|
+
export {};
|
|
114
|
+
//# sourceMappingURL=regular-table-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regular-table-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,8CAA8C,EAAE,MAAM,kDAAkD,CAAC;AAClH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,MAAM,WAAW,uBAAwB,SACvC,IAAI,CAAC,qBAAqB,EAAE,eAAe,CA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AAM,gBAAgB,GAAG,2BAA2B,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhF,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,gBAAgB,EAAE,CAAC;CAC1B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var RegularTableSortingMode;
|
|
2
|
+
(function (RegularTableSortingMode) {
|
|
3
|
+
RegularTableSortingMode["SingleColumn"] = "singleColumn";
|
|
4
|
+
RegularTableSortingMode["MultiColumn"] = "multiColumn";
|
|
5
|
+
})(RegularTableSortingMode || (RegularTableSortingMode = {}));
|
|
6
|
+
//# sourceMappingURL=regular-table-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regular-table-options.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.ts"],"names":[],"mappings":"AAyHA,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,sDAA2B,CAAA;AAC7B,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC","sourcesContent":["import type { LimitViewOptions, ScreenMode, SortDirection } from '../shared/common';\nimport { DropObjectViewOptions } from '../shared/drop-object-view-options';\nimport { InfoTooltipViewOptions } from '../shared/info-tooltip-options';\nimport { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';\nimport { ExportType, InteractivityExportViewOptions } from '../shared/interactivity-export';\nimport { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';\nimport { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';\nimport { ManualValuesRange } from '../shared/ranges';\nimport { DashboardContentVizItemSort } from '../shared/sort';\nimport { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';\n\nexport interface RegularTableViewOptions extends\n Omit<DropObjectViewOptions, 'interactivity'>,\n InfoTooltipViewOptions,\n TitleViewOptions,\n DisplayTitleViewOptions,\n LimitViewOptions,\n RegularTableSortViewOptions,\n RegularTableInteractivityViewOptions{\n /**\n * Border around the table\n */\n tableBorders?: RegularTableBorders;\n /**\n * Table headers options with background and color of the header\n */\n headers?: {\n background?: string;\n color?: string;\n };\n /**\n * Toggle alternate row coloring\n * @default true\n */\n alternateRowColor?: boolean;\n /**\n * Row height\n */\n rowHeight?: number;\n columns?: RegularTableColumn[];\n hiddenColumns?: {\n slotContentId?: string;\n }[];\n /**\n * Toggle infinite scrolling\n * @default true\n */\n infiniteScrolling?: boolean;\n sortingMode?: RegularTableSortingMode;\n}\n\ninterface RegularTableInteractivityViewOptions extends\n InteractivityCustomEventsViewOptions,\n InteractivityExportViewOptions,\n InteractivityGoToUrlViewOptions,\n InteractivityMeasureDimensionPickerViewOptions{\n /**\n * Interactivity options\n */\n interactivity?: {\n /**\n * Go to URL interactivity option\n */\n urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;\n /**\n * Filter on select interactivity option\n */\n select?: boolean; // implement ObjectViewOptions\n /**\n * Measure dimension picker interactivity option\n */\n measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;\n /**\n * Custom events interactivity option\n */\n customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;\n /**\n * Available export types interactivity option\n */\n availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;\n /**\n * Export types interactivity option\n */\n exportTypes?: ExportType[]; // implement InteractivityExportViewOptions\n };\n}\n\nexport type RegularTableCellMode =\n 'normal' |\n 'conditionalText' |\n 'conditionalBackground' |\n 'conditionalBadge' |\n 'bar' |\n 'categoryBadge' |\n 'categoryBackground';\n\nexport type RegularTableTextAlign = 'left' | 'center' | 'right';\n\nexport interface RegularTableColumn {\n slotContentId?: string;\n /**\n * Width in a key-value object format. Where key is a screen mode \"desktop\", \"tablet\", \"mobile\", \"largeScreen\" or \"fixed\", value - number.\n *\n * @TJS-type object\n */\n width?: Partial<Record<ScreenMode, number>>;\n sortOrder?: SortDirection;\n sortIndex?: number;\n barColor?: string;\n manualTarget?: number;\n conditional?: ManualValuesRange[];\n wrapText?: boolean;\n value?: 'none' | 'normal' | 'percentage';\n mode?: RegularTableCellMode;\n target?: 'manual' | 'max' | 'total';\n textAlign?: RegularTableTextAlign;\n colorEmpty?: boolean;\n emptyValueColor?: string;\n hideDataValues?: boolean;\n}\n\nexport enum RegularTableSortingMode {\n SingleColumn = 'singleColumn',\n MultiColumn = 'multiColumn'\n}\n\nexport interface RegularTableBorders {\n type: 'all' | 'rows' | 'columns' | 'none';\n width: number;\n color: string;\n}\n\nexport type RegularTableSort = DashboardContentVizItemSort & { level?: number };\n\nexport interface RegularTableSortViewOptions {\n sort: RegularTableSort[];\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DashboardContentVizItemSlot, DashboardContentVizItemSlotContent } from '../shared/slots';
|
|
2
|
+
/**
|
|
3
|
+
* Columns slot of the regular table. This defines the columns of the regular table. A regular table can contain any number of columns.
|
|
4
|
+
*/
|
|
5
|
+
interface ColumnsSlot extends DashboardContentVizItemSlot {
|
|
6
|
+
name: 'columns';
|
|
7
|
+
/**
|
|
8
|
+
* Columns slot definition
|
|
9
|
+
*/
|
|
10
|
+
content: DashboardContentVizItemSlotContent[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Data definition of the Regular table
|
|
14
|
+
* @maxItems 1
|
|
15
|
+
*/
|
|
16
|
+
export type RegularTableSlots = (ColumnsSlot)[];
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=regular-table-slots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regular-table-slots.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAElG;;GAEG;AACH,UAAU,WAAY,SAAQ,2BAA2B;IACvD,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regular-table-slots.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardContentVizItemSlot, DashboardContentVizItemSlotContent } from '../shared/slots';\n\n/**\n * Columns slot of the regular table. This defines the columns of the regular table. A regular table can contain any number of columns.\n */\ninterface ColumnsSlot extends DashboardContentVizItemSlot {\n name: 'columns';\n /**\n * Columns slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Data definition of the Regular table\n * @maxItems 1\n */\nexport type RegularTableSlots = (ColumnsSlot)[];\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VizItemType } from '../shared/common';
|
|
2
|
+
import { RegularTableViewOptions } from './regular-table-options';
|
|
3
|
+
import { RegularTableSlots } from './regular-table-slots';
|
|
4
|
+
/**
|
|
5
|
+
* Regular table item
|
|
6
|
+
*/
|
|
7
|
+
export interface RegularTable {
|
|
8
|
+
/**
|
|
9
|
+
* Type of the item
|
|
10
|
+
*/
|
|
11
|
+
type: Extract<VizItemType, 'regular-table'>;
|
|
12
|
+
/**
|
|
13
|
+
* Options of the Regular table item
|
|
14
|
+
* @$ref ./regular-table-options.schema.json/
|
|
15
|
+
*/
|
|
16
|
+
options: RegularTableViewOptions;
|
|
17
|
+
/**
|
|
18
|
+
* Data definition of the Regular table chart
|
|
19
|
+
* @maxItems 1
|
|
20
|
+
* @$ref ./regular-table-slots.schema.json
|
|
21
|
+
*/
|
|
22
|
+
slots: RegularTableSlots;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=regular-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regular-table.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/regular-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;IAC5C;;;OAGG;IACH,OAAO,EAAE,uBAAuB,CAAC;IACjC;;;;OAIG;IACH,KAAK,EAAE,iBAAiB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regular-table.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/regular-table/regular-table.ts"],"names":[],"mappings":"","sourcesContent":["import { VizItemType } from '../shared/common';\nimport { RegularTableViewOptions } from './regular-table-options';\nimport { RegularTableSlots } from './regular-table-slots';\n\n/**\n * Regular table item\n */\nexport interface RegularTable {\n /**\n * Type of the item\n */\n type: Extract<VizItemType, 'regular-table'>;\n /**\n * Options of the Regular table item\n * @$ref ./regular-table-options.schema.json/\n */\n options: RegularTableViewOptions;\n /**\n * Data definition of the Regular table chart\n * @maxItems 1\n * @$ref ./regular-table-slots.schema.json\n */\n slots: RegularTableSlots;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/sankey-diagram/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/sankey-diagram/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './sankey-diagram-options';\nexport * from './sankey-diagram-slots';\nexport * from './sankey-diagram';\n"]}
|