@luzmo/dashboard-contents-types 1.0.34 → 1.0.35
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/CHANGELOG.md +11 -0
- package/assets/json-schemas/ai-summary-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ai-summary-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/ai-summary-options.schema.json.js +1 -1
- package/assets/json-schemas/ai-summary.schema.json.cjs +1 -1
- package/assets/json-schemas/ai-summary.schema.json.d.ts +2 -2
- package/assets/json-schemas/ai-summary.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/area-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/area-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/area-chart.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/box-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/box-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bubble-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bullet-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/choropleth-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/circle-pack-chart.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/circular-gauge-slots.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/column-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/column-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/combination-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/conditional-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/conditional-number.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-comparison-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-comparison-filter.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/date-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/donut-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/dropdown-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/evolution-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +17 -17
- package/assets/json-schemas/funnel-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/heat-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-map.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/heat-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-table.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-table.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/hexbin-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/hexbin-map.schema.json.js +1 -1
- package/assets/json-schemas/image-options.schema.json.cjs +1 -1
- package/assets/json-schemas/image-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/image-options.schema.json.js +1 -1
- package/assets/json-schemas/image.schema.json.cjs +1 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/image.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/line-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/line-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/line-chart.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/marker-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/marker-map.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.d.ts +30 -30
- package/assets/json-schemas/ohlc-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/ohlc-chart.schema.json.js +1 -1
- package/assets/json-schemas/options.schema.json.cjs +1 -1
- package/assets/json-schemas/options.schema.json.d.ts +46 -46
- package/assets/json-schemas/options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.d.ts +17 -17
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/pivot-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/pivot-table.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/pyramid-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/pyramid-chart.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/radar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/radar-chart.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/regular-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/regular-table.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table.schema.json.js +1 -1
- package/assets/json-schemas/route-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/route-map-options.schema.json.js +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +23 -23
- package/assets/json-schemas/route-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/route-map.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +26 -26
- package/assets/json-schemas/sankey-diagram-slots.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +30 -30
- package/assets/json-schemas/scatter-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/search-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/search-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +6 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/slicer-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/slider-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter.schema.json.js +1 -1
- package/assets/json-schemas/slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slots.schema.json.d.ts +42 -42
- package/assets/json-schemas/slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/speedometer-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/speedometer-chart.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +20 -20
- package/assets/json-schemas/spike-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/spike-map.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/spike-map.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/strip-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/strip-plot.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sunburst-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/sunburst-chart.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/symbol-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/symbol-map.schema.json.js +1 -1
- package/assets/json-schemas/text-options.schema.json.cjs +1 -1
- package/assets/json-schemas/text-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/text-options.schema.json.js +1 -1
- package/assets/json-schemas/text.schema.json.cjs +1 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/text.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.d.ts +27 -27
- package/assets/json-schemas/treemap-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/treemap-chart.schema.json.js +1 -1
- package/assets/json-schemas/video-options.schema.json.cjs +1 -1
- package/assets/json-schemas/video-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/video-options.schema.json.js +1 -1
- package/assets/json-schemas/video.schema.json.cjs +1 -1
- package/assets/json-schemas/video.schema.json.d.ts +2 -2
- package/assets/json-schemas/video.schema.json.js +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.cjs +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +20 -20
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/wordcloud-chart.schema.json.js +1 -1
- package/json-schemas.d.ts +5 -0
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/shared/version.cjs +1 -1
- package/src/lib/shared/version.cjs.map +1 -1
- package/src/lib/shared/version.d.ts +1 -1
- package/src/lib/shared/version.js +1 -1
- package/src/lib/shared/version.js.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.cjs +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.cjs.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.d.ts.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.js +9 -0
- package/src/lib/slicer-filter/slicer-filter-options.config.js.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.d.ts +19 -1
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axes options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis options","properties":{"color":{"description":"Y-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"axislabels":{"description":"Axes labels options","properties":{"x":{"description":"X-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the X-axis labels","type":"boolean"},"position":{"default":"center","description":"Position of the X-axis labels","enum":["center","left","right"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the Y-axis labels","type":"boolean"},"position":{"default":"middle","description":"Position of the Y-axis labels","enum":["bottom","middle","top"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification of the heat table","enum":["continuous","interval","quantile"],"type":"string"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"colorsClass":{"default":"PuBu","description":"Colors class used for the heat table","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"colorsType":{"default":"sequential","description":"Observations colors type","enum":["divergent","manual","sequential"],"type":"string"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"heattable":{"properties":{"opacity":{"default":1,"description":"Opacity of the heat table","type":"number"},"rounding":{"default":null,"description":"Rounding of the heat table","type":"number"},"spacing":{"default":null,"description":"Spacing of the heat table","type":"number"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"description":"Manual values configuration","properties":{"ranges":{"description":"Manual values ranges","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","type":"string"},"isNegativeInfinityRange":{"description":"Is negative infinity range","type":"boolean"},"val":{"description":"Value of the range","type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"numberClasses":{"default":7,"description":"Number of classes","type":"number"},"sort":{"properties":{"x":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"},"y":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"values":{"properties":{"display":{"default":false,"description":"Whether to display the values","type":"boolean"}},"type":"object"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axes options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis options","properties":{"color":{"description":"Y-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"axislabels":{"description":"Axes labels options","properties":{"x":{"description":"X-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the X-axis labels","type":"boolean"},"position":{"default":"center","description":"Position of the X-axis labels","enum":["center","left","right"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the Y-axis labels","type":"boolean"},"position":{"default":"middle","description":"Position of the Y-axis labels","enum":["bottom","middle","top"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification of the heat table","enum":["continuous","interval","quantile"],"type":"string"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"colorsClass":{"default":"PuBu","description":"Colors class used for the heat table","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"colorsType":{"default":"sequential","description":"Observations colors type","enum":["divergent","manual","sequential"],"type":"string"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"heattable":{"properties":{"opacity":{"default":1,"description":"Opacity of the heat table","type":"number"},"rounding":{"default":null,"description":"Rounding of the heat table","type":"number"},"spacing":{"default":null,"description":"Spacing of the heat table","type":"number"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"description":"Manual values configuration","properties":{"ranges":{"description":"Manual values ranges","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","type":"string"},"isNegativeInfinityRange":{"description":"Is negative infinity range","type":"boolean"},"val":{"description":"Value of the range","type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"numberClasses":{"default":7,"description":"Number of classes","type":"number"},"sort":{"properties":{"x":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"},"y":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"values":{"properties":{"display":{"default":false,"description":"Whether to display the values","type":"boolean"}},"type":"object"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=heat-table-options.schema.json.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-options.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"properties": {
|
|
5
5
|
"annotate": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axes options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis options","properties":{"color":{"description":"Y-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"axislabels":{"description":"Axes labels options","properties":{"x":{"description":"X-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the X-axis labels","type":"boolean"},"position":{"default":"center","description":"Position of the X-axis labels","enum":["center","left","right"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the Y-axis labels","type":"boolean"},"position":{"default":"middle","description":"Position of the Y-axis labels","enum":["bottom","middle","top"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification of the heat table","enum":["continuous","interval","quantile"],"type":"string"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"colorsClass":{"default":"PuBu","description":"Colors class used for the heat table","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"colorsType":{"default":"sequential","description":"Observations colors type","enum":["divergent","manual","sequential"],"type":"string"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"heattable":{"properties":{"opacity":{"default":1,"description":"Opacity of the heat table","type":"number"},"rounding":{"default":null,"description":"Rounding of the heat table","type":"number"},"spacing":{"default":null,"description":"Spacing of the heat table","type":"number"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"description":"Manual values configuration","properties":{"ranges":{"description":"Manual values ranges","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","type":"string"},"isNegativeInfinityRange":{"description":"Is negative infinity range","type":"boolean"},"val":{"description":"Value of the range","type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"numberClasses":{"default":7,"description":"Number of classes","type":"number"},"sort":{"properties":{"x":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"},"y":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"values":{"properties":{"display":{"default":false,"description":"Whether to display the values","type":"boolean"}},"type":"object"}}`), o = "object", r = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axes options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis options","properties":{"color":{"description":"Y-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"axislabels":{"description":"Axes labels options","properties":{"x":{"description":"X-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the X-axis labels","type":"boolean"},"position":{"default":"center","description":"Position of the X-axis labels","enum":["center","left","right"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis label options","properties":{"enabled":{"default":false,"description":"Show or hide the Y-axis labels","type":"boolean"},"position":{"default":"middle","description":"Position of the Y-axis labels","enum":["bottom","middle","top"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification of the heat table","enum":["continuous","interval","quantile"],"type":"string"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"colorsClass":{"default":"PuBu","description":"Colors class used for the heat table","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"colorsType":{"default":"sequential","description":"Observations colors type","enum":["divergent","manual","sequential"],"type":"string"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"heattable":{"properties":{"opacity":{"default":1,"description":"Opacity of the heat table","type":"number"},"rounding":{"default":null,"description":"Rounding of the heat table","type":"number"},"spacing":{"default":null,"description":"Spacing of the heat table","type":"number"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"description":"Manual values configuration","properties":{"ranges":{"description":"Manual values ranges","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","type":"string"},"isNegativeInfinityRange":{"description":"Is negative infinity range","type":"boolean"},"val":{"description":"Value of the range","type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"numberClasses":{"default":7,"description":"Number of classes","type":"number"},"sort":{"properties":{"x":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"},"y":{"properties":{"by":{"const":"category","default":"category","description":"Which slot to sort by","type":"string"},"order":{"default":"asc","description":"Order direction","enum":["asc","desc"],"type":"string"}},"type":"object"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"values":{"properties":{"display":{"default":false,"description":"Whether to display the values","type":"boolean"}},"type":"object"}}`), o = "object", r = {
|
|
2
2
|
$id: e,
|
|
3
3
|
$schema: t,
|
|
4
4
|
properties: i,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"description":"There's no subtype for \\"datetime\\", it can be null or omitted","type":"null"},"type":{"const":"datetime","description":"\\"datetime\\" column type","type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"hierarchy","description":"\\"hierarchy\\" column type","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Heat Table. A Heat Table can contain only one measure.","properties":{"content":{"description":"Measure slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/PeriodOverPeriodType","description":"Period over period comparison type"}},"type":"object"},"PeriodOverPeriodType":{"description":"Period over period comparison type:\\n'none' - turned off,\\n'past' - absolute value comparison to the past,\\n'absoluteChange' - absolute change comparison to the past,\\n'percentageChange' - percentage change comparison to the past","enum":["none","past","absoluteChange","percentageChange"],"type":"string"},"Record<string,string>":{"type":"object"},"XAxisSlot":{"description":"Category slot definition of the Heat Table. This defines the x-axis.","properties":{"content":{"description":"X-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"},"YAxisSlot":{"description":"Category slot definition of the Heat Table. This defines the Y-axis.","properties":{"content":{"description":"Y-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"y-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`),s="Data definition of the Heat table",n={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/heat-table-slots.schema.json#/definitions/XAxisSlot"}]},i=3,r="array",a={$id:e,$schema:t,definitions:o,description:s,items:n,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=n;exports.maxItems=i;exports.type=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"description":"There's no subtype for \\"datetime\\", it can be null or omitted","type":"null"},"type":{"const":"datetime","description":"\\"datetime\\" column type","type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"hierarchy","description":"\\"hierarchy\\" column type","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Heat Table. A Heat Table can contain only one measure.","properties":{"content":{"description":"Measure slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/PeriodOverPeriodType","description":"Period over period comparison type"}},"type":"object"},"PeriodOverPeriodType":{"description":"Period over period comparison type:\\n'none' - turned off,\\n'past' - absolute value comparison to the past,\\n'absoluteChange' - absolute change comparison to the past,\\n'percentageChange' - percentage change comparison to the past","enum":["none","past","absoluteChange","percentageChange"],"type":"string"},"Record<string,string>":{"type":"object"},"XAxisSlot":{"description":"Category slot definition of the Heat Table. This defines the x-axis.","properties":{"content":{"description":"X-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"},"YAxisSlot":{"description":"Category slot definition of the Heat Table. This defines the Y-axis.","properties":{"content":{"description":"Y-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"y-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`),s="Data definition of the Heat table",n={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/heat-table-slots.schema.json#/definitions/XAxisSlot"}]},i=3,r="array",a={$id:e,$schema:t,definitions:o,description:s,items:n,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=n;exports.maxItems=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=heat-table-slots.schema.json.cjs.map
|