@luzmo/dashboard-contents-types 1.0.28 → 1.0.30
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 +18 -0
- package/README.md +4 -2
- package/assets/json-schemas/area-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +2 -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 +2 -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 +44 -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 +2 -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 +2 -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 +76 -26
- 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 +2 -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 +2 -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 +3 -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 +2 -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 +2 -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 +4 -3
- 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 +4 -3
- 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 +2 -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 +2 -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 +2 -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 +34 -26
- 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 +44 -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 +76 -26
- 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 +2 -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 +2 -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 +34 -26
- 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 +2 -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 +45 -45
- 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 +2 -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 +4 -2
- 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 +2 -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 +5 -5
- 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 +2 -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 +79 -27
- 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 +3 -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 +2 -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 +1 -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 +2 -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 +76 -26
- package/assets/json-schemas/spike-map-options.schema.json.js +4 -4
- 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 +2 -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 +2 -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 +34 -26
- 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 +2 -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 +68 -52
- package/assets/json-schemas/viz-item-type.schema.json.js +4 -5
- package/assets/json-schemas/viz-item-type.schema.json.js.map +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 +2 -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/index.cjs +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +391 -657
- package/index.js.map +1 -1
- package/json-schemas.d.ts +91 -93
- package/json-schemas.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/lib/area-chart/area-chart-context.config.cjs +2 -2
- package/src/lib/area-chart/area-chart-context.config.cjs.map +1 -1
- package/src/lib/area-chart/area-chart-context.config.js +2 -2
- package/src/lib/area-chart/area-chart-context.config.js.map +1 -1
- package/src/lib/bar-chart/bar-chart-context.config.cjs +3 -2
- package/src/lib/bar-chart/bar-chart-context.config.cjs.map +1 -1
- package/src/lib/bar-chart/bar-chart-context.config.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart-context.config.js +3 -2
- package/src/lib/bar-chart/bar-chart-context.config.js.map +1 -1
- package/src/lib/box-plot/box-plot-context.config.cjs +3 -2
- package/src/lib/box-plot/box-plot-context.config.cjs.map +1 -1
- package/src/lib/box-plot/box-plot-context.config.d.ts.map +1 -1
- package/src/lib/box-plot/box-plot-context.config.js +3 -2
- package/src/lib/box-plot/box-plot-context.config.js.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.cjs +3 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.cjs.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.js +3 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.js.map +1 -1
- package/src/lib/column-chart/column-chart-context.config.cjs +2 -1
- package/src/lib/column-chart/column-chart-context.config.cjs.map +1 -1
- package/src/lib/column-chart/column-chart-context.config.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-context.config.js +2 -1
- package/src/lib/column-chart/column-chart-context.config.js.map +1 -1
- package/src/lib/column-chart/column-chart-options.cjs.map +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.js.map +1 -1
- package/src/lib/combination-chart/combination-chart-context.config.cjs +4 -4
- package/src/lib/combination-chart/combination-chart-context.config.cjs.map +1 -1
- package/src/lib/combination-chart/combination-chart-context.config.js +7 -7
- package/src/lib/combination-chart/combination-chart-context.config.js.map +1 -1
- package/src/lib/donut-chart/donut-chart-context.config.cjs +3 -1
- package/src/lib/donut-chart/donut-chart-context.config.cjs.map +1 -1
- package/src/lib/donut-chart/donut-chart-context.config.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-context.config.js +7 -5
- package/src/lib/donut-chart/donut-chart-context.config.js.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-context.config.cjs +3 -2
- package/src/lib/funnel-chart/funnel-chart-context.config.cjs.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-context.config.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-context.config.js +3 -2
- package/src/lib/funnel-chart/funnel-chart-context.config.js.map +1 -1
- package/src/lib/helpers.cjs +1 -1
- package/src/lib/helpers.cjs.map +1 -1
- package/src/lib/helpers.d.ts.map +1 -1
- package/src/lib/helpers.js +31 -34
- package/src/lib/helpers.js.map +1 -1
- package/src/lib/image/image-options.d.ts +2 -2
- package/src/lib/image/image-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-context.config.cjs +5 -5
- package/src/lib/line-chart/line-chart-context.config.cjs.map +1 -1
- package/src/lib/line-chart/line-chart-context.config.js +3 -3
- package/src/lib/line-chart/line-chart-context.config.js.map +1 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts +1 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-context.config.cjs +5 -4
- package/src/lib/pyramid-chart/pyramid-chart-context.config.cjs.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-context.config.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-context.config.js +5 -4
- package/src/lib/pyramid-chart/pyramid-chart-context.config.js.map +1 -1
- package/src/lib/radar-chart/radar-chart-context.config.cjs +3 -2
- package/src/lib/radar-chart/radar-chart-context.config.cjs.map +1 -1
- package/src/lib/radar-chart/radar-chart-context.config.d.ts.map +1 -1
- package/src/lib/radar-chart/radar-chart-context.config.js +3 -2
- package/src/lib/radar-chart/radar-chart-context.config.js.map +1 -1
- package/src/lib/route-map/route-map-options.d.ts +1 -1
- package/src/lib/route-map/route-map-options.d.ts.map +1 -1
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +2 -2
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts.map +1 -1
- package/src/lib/shared/types/interactivity-export.d.ts +1 -1
- package/src/lib/shared/types/interactivity-export.d.ts.map +1 -1
- package/src/lib/shared/types/iq-components.d.ts +4 -2
- package/src/lib/shared/types/iq-components.d.ts.map +1 -1
- package/src/lib/strip-plot/strip-plot-context.config.cjs +3 -2
- package/src/lib/strip-plot/strip-plot-context.config.cjs.map +1 -1
- package/src/lib/strip-plot/strip-plot-context.config.d.ts.map +1 -1
- package/src/lib/strip-plot/strip-plot-context.config.js +5 -4
- package/src/lib/strip-plot/strip-plot-context.config.js.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-context.config.cjs +3 -2
- package/src/lib/treemap-chart/treemap-chart-context.config.cjs.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-context.config.d.ts.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-context.config.js +3 -2
- package/src/lib/treemap-chart/treemap-chart-context.config.js.map +1 -1
- package/vite.config.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-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"},"ticksStyle":{"description":"Ticks style of the X-axis: auto or user defined","enum":["auto","userDefined"],"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"},"manualAxesRange":{"description":"Set manual axes range","examples":[[0,100]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"scale":{"default":"linear","description":"Y-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the Y-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"},"type":{"default":"default","description":"Y-axis type: default, manual or variable","enum":["default","manual","variable"],"type":"string"}},"type":"object"},"y2":{"description":"Y-axis options\\nRequires two measures to be specified for y2 to work.","properties":{"active":{"default":false,"description":"Toggle whether the Y2-axis is active","type":"boolean"},"color":{"description":"Y2-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"manualAxesRange":{"description":"Set manual axes range","examples":[[0,100]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"measureIndexes":{"default":[1],"description":"Array of measure indexes to be displayed on the Y2-axis","examples":[[1,2]],"items":{"type":"number"},"type":"array"},"scale":{"description":"Y2-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the Y2-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y2-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"},"type":{"default":"default","description":"Y2-axis type: default, manual or variable","enum":["default","manual","variable"],"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"},"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"},"display":{"description":"General display options of the Line chart: title, legend","properties":{"legend":{"default":true,"description":"Show or hide the legend","type":"boolean"},"title":{"default":true,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"grid":{"description":"Chart grid options","properties":{"x":{"description":"X-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"}},"type":"object"},"guidelines":{"description":"Guidelines options","properties":{"lines":{"description":"An array of guidelines","items":{"properties":{"color":{"description":"Color of the guideline","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"type":{"default":"value","description":"Value type of the guideline","enum":["average","average close","average open","median","value"],"type":"string"},"value":{"description":"Value of the guideline","examples":[-10,0,0.1,10,100],"type":"number"}},"type":"object"},"type":"array"},"style":{"description":"Style of the guidelines","properties":{"type":{"description":"Dashed/dotted definition of the guideline","enum":["0","1,2","3,3"],"type":"string"},"width":{"description":"Width of the guideline","examples":["1px","2px","3.5px"],"type":"string"}},"type":"object"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"brush":{"default":true,"description":"Filter on brush interactivity option","type":"boolean"},"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":["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":{"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"},"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"},"interpolation":{"default":"linear","description":"This option set the interpolation","enum":["linear","monotone","step-after","step-before"],"type":"string"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"position":{"description":"Position of the legend. Only available when the legend is shown.","enum":["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],"type":"string"},"size":{"description":"Size of the legend. Only available when the legend is shown.","enum":["L","M","S"],"type":"string"},"type":{"description":"Type of the legend. Only available when the legend is shown.","enum":["bar","list"],"type":"string"}},"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"},"lines":{"description":"Lines options","properties":{"gradient":{"default":true,"description":"Gradient of the lines","type":"boolean"},"index":{"description":"Index of the line","type":"number"},"strokeWidth":{"default":2,"description":"Stroke width of the lines","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"},"markers":{"description":"Markers options","properties":{"enabled":{"default":false,"description":"Show or hide the markers","type":"boolean"},"size":{"default":4,"description":"Size of the markers","type":"number"}},"type":"object"},"missingValue":{"description":"Missing value configuration","properties":{"type":{"default":"no","description":"Type of the missing value. The possible values are \\"No\\" (don't fill missing date periods), \\"Break area when null values\\" (area is interrupted between two date periods with a missing period in between) or a manual value (area is drawn as a manual value between two date periods with a missing period in between, default: 0).","enum":["break","manual","no"],"type":"string"},"value":{"default":0,"description":"The manual value of the missing value, it's applied when the type is \\"manual\\"","type":"number"}},"type":"object"},"nullBreak":{"default":false,"description":"Null break options","type":"boolean"},"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"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16],"type":"number"},"lineHeight":{"description":"Legend line height in px","examples":[12,16,20],"type":"number"},"type":{"description":"Legend type","enum":["circle","line","normal"],"examples":["normal","line","circle"],"type":"string"}},"type":"object"},"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"}}`), o = "object", r = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-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"},"ticksStyle":{"description":"Ticks style of the X-axis: auto or user defined","enum":["auto","userDefined"],"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"},"manualAxesRange":{"description":"Set manual axes range","examples":[[0,100]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"scale":{"default":"linear","description":"Y-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the Y-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"},"type":{"default":"default","description":"Y-axis type: default, manual or variable","enum":["default","manual","variable"],"type":"string"}},"type":"object"},"y2":{"description":"Y-axis options\\nRequires two measures to be specified for y2 to work.","properties":{"active":{"default":false,"description":"Toggle whether the Y2-axis is active","type":"boolean"},"color":{"description":"Y2-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"manualAxesRange":{"description":"Set manual axes range","examples":[[0,100]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"measureIndexes":{"default":[1],"description":"Array of measure indexes to be displayed on the Y2-axis","examples":[[1,2]],"items":{"type":"number"},"type":"array"},"scale":{"description":"Y2-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the Y2-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the Y2-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"},"type":{"default":"default","description":"Y2-axis type: default, manual or variable","enum":["default","manual","variable"],"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"},"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"},"display":{"description":"General display options of the Line chart: title, legend","properties":{"legend":{"default":true,"description":"Show or hide the legend","type":"boolean"},"title":{"default":true,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"grid":{"description":"Chart grid options","properties":{"x":{"description":"X-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"},"y":{"description":"Y-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"}},"type":"object"},"guidelines":{"description":"Guidelines options","properties":{"lines":{"description":"An array of guidelines","items":{"properties":{"color":{"description":"Color of the guideline","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"type":{"default":"value","description":"Value type of the guideline","enum":["average","average close","average open","median","value"],"type":"string"},"value":{"description":"Value of the guideline","examples":[-10,0,0.1,10,100],"type":"number"}},"type":"object"},"type":"array"},"style":{"description":"Style of the guidelines","properties":{"type":{"description":"Dashed/dotted definition of the guideline","enum":["0","1,2","3,3"],"type":"string"},"width":{"description":"Width of the guideline","examples":["1px","2px","3.5px"],"type":"string"}},"type":"object"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"brush":{"default":true,"description":"Filter on brush interactivity option","type":"boolean"},"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":{"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"},"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"},"interpolation":{"default":"linear","description":"This option set the interpolation","enum":["linear","monotone","step-after","step-before"],"type":"string"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"position":{"description":"Position of the legend. Only available when the legend is shown.","enum":["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],"type":"string"},"size":{"description":"Size of the legend. Only available when the legend is shown.","enum":["L","M","S"],"type":"string"},"type":{"description":"Type of the legend. Only available when the legend is shown.","enum":["bar","list"],"type":"string"}},"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"},"lines":{"description":"Lines options","properties":{"gradient":{"default":true,"description":"Gradient of the lines","type":"boolean"},"index":{"description":"Index of the line","type":"number"},"strokeWidth":{"default":2,"description":"Stroke width of the lines","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"},"markers":{"description":"Markers options","properties":{"enabled":{"default":false,"description":"Show or hide the markers","type":"boolean"},"size":{"default":4,"description":"Size of the markers","type":"number"}},"type":"object"},"missingValue":{"description":"Missing value configuration","properties":{"type":{"default":"no","description":"Type of the missing value. The possible values are \\"No\\" (don't fill missing date periods), \\"Break area when null values\\" (area is interrupted between two date periods with a missing period in between) or a manual value (area is drawn as a manual value between two date periods with a missing period in between, default: 0).","enum":["break","manual","no"],"type":"string"},"value":{"default":0,"description":"The manual value of the missing value, it's applied when the type is \\"manual\\"","type":"number"}},"type":"object"},"nullBreak":{"default":false,"description":"Null break options","type":"boolean"},"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"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16],"type":"number"},"lineHeight":{"description":"Legend line height in px","examples":[12,16,20],"type":"number"},"type":{"description":"Legend type","enum":["circle","line","normal"],"examples":["normal","line","circle"],"type":"string"}},"type":"object"},"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"}}`), 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.98/line-chart-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.98/line-chart-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.98/line-chart-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"},"LegendSlot":{"description":"Legend slot definition of the Line chart","properties":{"content":{"description":"Legend slot definition, it can contain categorical data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"legend","description":"Name of the slot","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Line chart","properties":{"content":{"description":"Measure slot definition, it can contain numeric data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"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.98/line-chart-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.98/line-chart-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":{"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.98/line-chart-slots.schema.json#/definitions/Record<string,string>"},"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.98/line-chart-slots.schema.json#/definitions/Record<string,string>"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-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.98/line-chart-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 Line chart","properties":{"content":{"description":"X-axis slot definition, it can contain mixed data (numeric, categorical)","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`),n="Data definition of the Line chart",s={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/LegendSlot"}]},i=3,r="array",a={$id:e,$schema:t,definitions:o,description:n,items:s,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=n;exports.items=s;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.99/line-chart-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.99/line-chart-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.99/line-chart-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"},"LegendSlot":{"description":"Legend slot definition of the Line chart","properties":{"content":{"description":"Legend slot definition, it can contain categorical data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"legend","description":"Name of the slot","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Line chart","properties":{"content":{"description":"Measure slot definition, it can contain numeric data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"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.99/line-chart-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.99/line-chart-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":{"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.99/line-chart-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.99/line-chart-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.99/line-chart-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-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.99/line-chart-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 Line chart","properties":{"content":{"description":"X-axis slot definition, it can contain mixed data (numeric, categorical)","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`),n="Data definition of the Line chart",s={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/LegendSlot"}]},i=3,r="array",a={$id:e,$schema:t,definitions:o,description:n,items:s,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=n;exports.items=s;exports.maxItems=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=line-chart-slots.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.99/line-chart-slots.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"definitions": {
|
|
5
5
|
"ColumnSubtype": {
|
|
@@ -124,7 +124,7 @@ declare const _default: {
|
|
|
124
124
|
"type": "string"
|
|
125
125
|
},
|
|
126
126
|
"periodOverPeriod": {
|
|
127
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
127
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/PeriodOverPeriod",
|
|
128
128
|
"description": "Settings to configure period over period comparison. It can be used only in a measure slot."
|
|
129
129
|
},
|
|
130
130
|
"subtype": {
|
|
@@ -226,7 +226,7 @@ declare const _default: {
|
|
|
226
226
|
]
|
|
227
227
|
},
|
|
228
228
|
"periodOverPeriod": {
|
|
229
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
229
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/PeriodOverPeriod",
|
|
230
230
|
"description": "Settings to configure period over period comparison. It can be used only in a measure slot."
|
|
231
231
|
},
|
|
232
232
|
"subtype": {
|
|
@@ -265,13 +265,13 @@ declare const _default: {
|
|
|
265
265
|
"items": {
|
|
266
266
|
"anyOf": [
|
|
267
267
|
{
|
|
268
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
268
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
271
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
274
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
275
275
|
}
|
|
276
276
|
]
|
|
277
277
|
},
|
|
@@ -294,13 +294,13 @@ declare const _default: {
|
|
|
294
294
|
"items": {
|
|
295
295
|
"anyOf": [
|
|
296
296
|
{
|
|
297
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
297
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
300
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
303
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
304
304
|
}
|
|
305
305
|
]
|
|
306
306
|
},
|
|
@@ -343,7 +343,7 @@ declare const _default: {
|
|
|
343
343
|
"type": "string"
|
|
344
344
|
},
|
|
345
345
|
"columnSubType": {
|
|
346
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
346
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/ColumnSubtype",
|
|
347
347
|
"description": "Column subtype"
|
|
348
348
|
},
|
|
349
349
|
"datasetId": {
|
|
@@ -451,7 +451,7 @@ declare const _default: {
|
|
|
451
451
|
"type": "object"
|
|
452
452
|
},
|
|
453
453
|
"periodOverPeriod": {
|
|
454
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
454
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/PeriodOverPeriod",
|
|
455
455
|
"description": "Settings to configure period over period comparison. It can be used only in a measure slot."
|
|
456
456
|
},
|
|
457
457
|
"subtype": {
|
|
@@ -516,7 +516,7 @@ declare const _default: {
|
|
|
516
516
|
"type": "string"
|
|
517
517
|
},
|
|
518
518
|
"description": {
|
|
519
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
519
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"
|
|
520
520
|
},
|
|
521
521
|
"duration_format": {
|
|
522
522
|
"enum": [
|
|
@@ -633,7 +633,7 @@ declare const _default: {
|
|
|
633
633
|
"type": "number"
|
|
634
634
|
},
|
|
635
635
|
"name": {
|
|
636
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
636
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"
|
|
637
637
|
},
|
|
638
638
|
"order": {
|
|
639
639
|
"type": "number"
|
|
@@ -645,10 +645,10 @@ declare const _default: {
|
|
|
645
645
|
"type": "string"
|
|
646
646
|
},
|
|
647
647
|
"subtype": {
|
|
648
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
648
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/ColumnSubtype"
|
|
649
649
|
},
|
|
650
650
|
"type": {
|
|
651
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
651
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/ColumnType"
|
|
652
652
|
},
|
|
653
653
|
"version": {
|
|
654
654
|
"type": "number"
|
|
@@ -687,7 +687,7 @@ declare const _default: {
|
|
|
687
687
|
"type": "string"
|
|
688
688
|
},
|
|
689
689
|
"type": {
|
|
690
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
690
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/PeriodOverPeriodType",
|
|
691
691
|
"description": "Period over period comparison type"
|
|
692
692
|
}
|
|
693
693
|
},
|
|
@@ -714,13 +714,13 @@ declare const _default: {
|
|
|
714
714
|
"items": {
|
|
715
715
|
"anyOf": [
|
|
716
716
|
{
|
|
717
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
717
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
720
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"
|
|
721
721
|
},
|
|
722
722
|
{
|
|
723
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
723
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
724
724
|
}
|
|
725
725
|
]
|
|
726
726
|
},
|
|
@@ -740,13 +740,13 @@ declare const _default: {
|
|
|
740
740
|
"items": {
|
|
741
741
|
"anyOf": [
|
|
742
742
|
{
|
|
743
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
743
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/MeasureSlot"
|
|
744
744
|
},
|
|
745
745
|
{
|
|
746
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
746
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/XAxisSlot"
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
749
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/LegendSlot"
|
|
750
750
|
}
|
|
751
751
|
]
|
|
752
752
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json", t = "http://json-schema.org/draft-07/schema#", o = /* @__PURE__ */ 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.98/line-chart-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.98/line-chart-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"},"LegendSlot":{"description":"Legend slot definition of the Line chart","properties":{"content":{"description":"Legend slot definition, it can contain categorical data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"legend","description":"Name of the slot","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Line chart","properties":{"content":{"description":"Measure slot definition, it can contain numeric data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"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.98/line-chart-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.98/line-chart-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":{"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.98/line-chart-slots.schema.json#/definitions/Record<string,string>"},"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.98/line-chart-slots.schema.json#/definitions/Record<string,string>"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-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.98/line-chart-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 Line chart","properties":{"content":{"description":"X-axis slot definition, it can contain mixed data (numeric, categorical)","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`), n = "Data definition of the Line chart", s = { anyOf: [{ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/MeasureSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/XAxisSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/line-chart-slots.schema.json#/definitions/LegendSlot" }] }, i = 3, r = "array", a = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json", t = "http://json-schema.org/draft-07/schema#", o = /* @__PURE__ */ 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.99/line-chart-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.99/line-chart-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"},"LegendSlot":{"description":"Legend slot definition of the Line chart","properties":{"content":{"description":"Legend slot definition, it can contain categorical data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"legend","description":"Name of the slot","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Line chart","properties":{"content":{"description":"Measure slot definition, it can contain numeric data","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"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.99/line-chart-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.99/line-chart-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":{"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.99/line-chart-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.99/line-chart-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.99/line-chart-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-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.99/line-chart-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 Line chart","properties":{"content":{"description":"X-axis slot definition, it can contain mixed data (numeric, categorical)","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`), n = "Data definition of the Line chart", s = { anyOf: [{ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/MeasureSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/XAxisSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json#/definitions/LegendSlot" }] }, i = 3, r = "array", a = {
|
|
2
2
|
$id: e,
|
|
3
3
|
$schema: t,
|
|
4
4
|
definitions: o,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="http://json-schema.org/draft-07/schema#",t="https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="http://json-schema.org/draft-07/schema#",t="https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart.schema.json",s="object",o="Line Chart item",i={type:{description:"Type of the item",type:"string",const:"line-chart"},options:{description:"Options of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-options.schema.json"},slots:{description:"Data definition of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/line-chart-slots.schema.json"}},n={$schema:e,$id:t,type:s,description:o,properties:i};exports.$id=t;exports.$schema=e;exports.default=n;exports.description=o;exports.properties=i;exports.type=s;
|
|
2
2
|
//# sourceMappingURL=line-chart.schema.json.cjs.map
|