@luzmo/dashboard-contents-types 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/assets/json-schemas/ai-summary-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ai-summary-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/ai-summary-options.schema.json.js +1 -1
- package/assets/json-schemas/ai-summary.schema.json.cjs +1 -1
- package/assets/json-schemas/ai-summary.schema.json.d.ts +2 -2
- package/assets/json-schemas/ai-summary.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/area-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/area-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/area-chart.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/box-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/box-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bubble-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bullet-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/choropleth-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/circle-pack-chart.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/circular-gauge-slots.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/column-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/column-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/combination-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/conditional-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/conditional-number.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-comparison-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-comparison-filter.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/date-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/donut-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/dropdown-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/evolution-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +17 -17
- package/assets/json-schemas/funnel-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/heat-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-map.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/heat-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-table.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-table.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/hexbin-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/hexbin-map.schema.json.js +1 -1
- package/assets/json-schemas/image-options.schema.json.cjs +1 -1
- package/assets/json-schemas/image-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/image-options.schema.json.js +1 -1
- package/assets/json-schemas/image.schema.json.cjs +1 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/image.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/line-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/line-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/line-chart.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/marker-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/marker-map.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.d.ts +30 -30
- package/assets/json-schemas/ohlc-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/ohlc-chart.schema.json.js +1 -1
- package/assets/json-schemas/options.schema.json.cjs +1 -1
- package/assets/json-schemas/options.schema.json.d.ts +46 -46
- package/assets/json-schemas/options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.d.ts +17 -17
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/pivot-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/pivot-table.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/pyramid-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/pyramid-chart.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/radar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/radar-chart.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/regular-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/regular-table.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table.schema.json.js +1 -1
- package/assets/json-schemas/route-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/route-map-options.schema.json.js +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +23 -23
- package/assets/json-schemas/route-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/route-map.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +26 -26
- package/assets/json-schemas/sankey-diagram-slots.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +30 -30
- package/assets/json-schemas/scatter-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/search-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/search-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +6 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/slicer-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/slider-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter.schema.json.js +1 -1
- package/assets/json-schemas/slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slots.schema.json.d.ts +42 -42
- package/assets/json-schemas/slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/speedometer-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/speedometer-chart.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +20 -20
- package/assets/json-schemas/spike-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/spike-map.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/spike-map.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/strip-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/strip-plot.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sunburst-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/sunburst-chart.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/symbol-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/symbol-map.schema.json.js +1 -1
- package/assets/json-schemas/text-options.schema.json.cjs +1 -1
- package/assets/json-schemas/text-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/text-options.schema.json.js +1 -1
- package/assets/json-schemas/text.schema.json.cjs +1 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/text.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.d.ts +27 -27
- package/assets/json-schemas/treemap-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/treemap-chart.schema.json.js +1 -1
- package/assets/json-schemas/video-options.schema.json.cjs +1 -1
- package/assets/json-schemas/video-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/video-options.schema.json.js +1 -1
- package/assets/json-schemas/video.schema.json.cjs +1 -1
- package/assets/json-schemas/video.schema.json.d.ts +2 -2
- package/assets/json-schemas/video.schema.json.js +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.cjs +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +20 -20
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/wordcloud-chart.schema.json.js +1 -1
- package/json-schemas.d.ts +5 -0
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/shared/version.cjs +1 -1
- package/src/lib/shared/version.cjs.map +1 -1
- package/src/lib/shared/version.d.ts +1 -1
- package/src/lib/shared/version.js +1 -1
- package/src/lib/shared/version.js.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.cjs +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.cjs.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.d.ts.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.config.js +9 -0
- package/src/lib/slicer-filter/slicer-filter-options.config.js.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-options.d.ts +19 -1
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
3
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.102/route-map.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Route Map item",
|
|
6
6
|
"properties": {
|
|
@@ -11,11 +11,11 @@ declare const _default: {
|
|
|
11
11
|
},
|
|
12
12
|
"options": {
|
|
13
13
|
"description": "Options of the Route Map item",
|
|
14
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
14
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.102/route-map-options.schema.json"
|
|
15
15
|
},
|
|
16
16
|
"slots": {
|
|
17
17
|
"description": "Data definition of the Route Map item",
|
|
18
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
18
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.102/route-map-slots.schema.json"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "http://json-schema.org/draft-07/schema#", t = "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
1
|
+
const e = "http://json-schema.org/draft-07/schema#", t = "https://developer.luzmo.com/assets/json-schemas/0.1.102/route-map.schema.json", s = "object", o = "Route Map item", p = { type: { description: "Type of the item", type: "string", const: "route-map" }, options: { description: "Options of the Route Map item", $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.102/route-map-options.schema.json" }, slots: { description: "Data definition of the Route Map item", $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.102/route-map-slots.schema.json" } }, a = {
|
|
2
2
|
$schema: e,
|
|
3
3
|
$id: t,
|
|
4
4
|
type: s,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"alignment":{"default":"justify","description":"Set alignment","enum":["center","justify","left","right"],"type":"string"},"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"},"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"},"colors":{"description":"Set colors","properties":{"byCategory":{"description":"Toggle colors by category","type":"boolean"},"linkColor":{"default":"gradient","description":"Set link color: gradient, none, target or source","enum":["gradient","none","source","target"],"type":"string"},"nodeColor":{"description":"Set node colors","examples":["#000000"],"type":"string"}},"type":"object"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"labels":{"description":"Configure labels","properties":{"display":{"default":true,"description":"Show or hide the labels","type":"boolean"},"value":{"default":false,"description":"Show or hide the values","type":"boolean"}},"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"},"links":{"description":"Configure links","properties":{"value":{"default":false,"description":"Show or hide the values of the link","type":"boolean"}},"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"},"nodeSorting":{"description":"Set node sorting: default, asc, desc","enum":["asc","default","desc"],"type":"string"},"nodes":{"description":"Configure Sankey diagram nodes","properties":{"colored":{"default":true,"description":"Show or hide the colored node","type":"boolean"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"type":{"description":"Sankey diagram type: alluvial or sankey","enum":["alluvial","sankey"],"type":"string"}}`),o="object",r={$id:e,$schema:t,properties:i,type:o};exports.$id=e;exports.$schema=t;exports.default=r;exports.properties=i;exports.type=o;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"alignment":{"default":"justify","description":"Set alignment","enum":["center","justify","left","right"],"type":"string"},"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"},"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"},"colors":{"description":"Set colors","properties":{"byCategory":{"description":"Toggle colors by category","type":"boolean"},"linkColor":{"default":"gradient","description":"Set link color: gradient, none, target or source","enum":["gradient","none","source","target"],"type":"string"},"nodeColor":{"description":"Set node colors","examples":["#000000"],"type":"string"}},"type":"object"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"labels":{"description":"Configure labels","properties":{"display":{"default":true,"description":"Show or hide the labels","type":"boolean"},"value":{"default":false,"description":"Show or hide the values","type":"boolean"}},"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"},"links":{"description":"Configure links","properties":{"value":{"default":false,"description":"Show or hide the values of the link","type":"boolean"}},"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"},"nodeSorting":{"description":"Set node sorting: default, asc, desc","enum":["asc","default","desc"],"type":"string"},"nodes":{"description":"Configure Sankey diagram nodes","properties":{"colored":{"default":true,"description":"Show or hide the colored node","type":"boolean"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"type":{"description":"Sankey diagram type: alluvial or sankey","enum":["alluvial","sankey"],"type":"string"}}`),o="object",r={$id:e,$schema:t,properties:i,type:o};exports.$id=e;exports.$schema=t;exports.default=r;exports.properties=i;exports.type=o;
|
|
2
2
|
//# sourceMappingURL=sankey-diagram-options.schema.json.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-options.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"properties": {
|
|
5
5
|
"alignment": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"alignment":{"default":"justify","description":"Set alignment","enum":["center","justify","left","right"],"type":"string"},"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"},"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"},"colors":{"description":"Set colors","properties":{"byCategory":{"description":"Toggle colors by category","type":"boolean"},"linkColor":{"default":"gradient","description":"Set link color: gradient, none, target or source","enum":["gradient","none","source","target"],"type":"string"},"nodeColor":{"description":"Set node colors","examples":["#000000"],"type":"string"}},"type":"object"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"labels":{"description":"Configure labels","properties":{"display":{"default":true,"description":"Show or hide the labels","type":"boolean"},"value":{"default":false,"description":"Show or hide the values","type":"boolean"}},"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"},"links":{"description":"Configure links","properties":{"value":{"default":false,"description":"Show or hide the values of the link","type":"boolean"}},"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"},"nodeSorting":{"description":"Set node sorting: default, asc, desc","enum":["asc","default","desc"],"type":"string"},"nodes":{"description":"Configure Sankey diagram nodes","properties":{"colored":{"default":true,"description":"Show or hide the colored node","type":"boolean"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"type":{"description":"Sankey diagram type: alluvial or sankey","enum":["alluvial","sankey"],"type":"string"}}`), o = "object", r = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"alignment":{"default":"justify","description":"Set alignment","enum":["center","justify","left","right"],"type":"string"},"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"},"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"},"colors":{"description":"Set colors","properties":{"byCategory":{"description":"Toggle colors by category","type":"boolean"},"linkColor":{"default":"gradient","description":"Set link color: gradient, none, target or source","enum":["gradient","none","source","target"],"type":"string"},"nodeColor":{"description":"Set node colors","examples":["#000000"],"type":"string"}},"type":"object"},"display":{"description":"Title display option","properties":{"title":{"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"labels":{"description":"Configure labels","properties":{"display":{"default":true,"description":"Show or hide the labels","type":"boolean"},"value":{"default":false,"description":"Show or hide the values","type":"boolean"}},"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"},"links":{"description":"Configure links","properties":{"value":{"default":false,"description":"Show or hide the values of the link","type":"boolean"}},"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"},"nodeSorting":{"description":"Set node sorting: default, asc, desc","enum":["asc","default","desc"],"type":"string"},"nodes":{"description":"Configure Sankey diagram nodes","properties":{"colored":{"default":true,"description":"Show or hide the colored node","type":"boolean"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"type":{"description":"Sankey diagram type: alluvial or sankey","enum":["alluvial","sankey"],"type":"string"}}`), o = "object", r = {
|
|
2
2
|
$id: e,
|
|
3
3
|
$schema: t,
|
|
4
4
|
properties: i,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"CategorySlot":{"description":"Category slot definition of the Sankey diagram","properties":{"content":{"description":"Category slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"category","description":"Name of the slot","type":"string"}},"type":"object"},"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-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"},"DestinationSlot":{"description":"Destination slot definition of the Sankey diagram","properties":{"content":{"description":"Destination slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"destination","description":"Name of the slot","type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"hierarchy","description":"\\"hierarchy\\" column type","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Sankey diagram","properties":{"content":{"description":"Measure slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-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"},"SourceSlot":{"description":"Source slot definition of the Sankey diagram. This is a required slot.","properties":{"content":{"description":"Source slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"source","description":"Name of the slot","type":"string"}},"type":"object"}}`),s="Data definition of the Sankey diagram",n={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/SourceSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/sankey-diagram-slots.schema.json#/definitions/DestinationSlot"}]},i=4,r="array",a={$id:e,$schema:t,definitions:o,description:s,items:n,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=n;exports.maxItems=i;exports.type=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"CategorySlot":{"description":"Category slot definition of the Sankey diagram","properties":{"content":{"description":"Category slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"category","description":"Name of the slot","type":"string"}},"type":"object"},"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-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"},"DestinationSlot":{"description":"Destination slot definition of the Sankey diagram","properties":{"content":{"description":"Destination slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"destination","description":"Name of the slot","type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"hierarchy","description":"\\"hierarchy\\" column type","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Sankey diagram","properties":{"content":{"description":"Measure slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-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"},"SourceSlot":{"description":"Source slot definition of the Sankey diagram. This is a required slot.","properties":{"content":{"description":"Source slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"source","description":"Name of the slot","type":"string"}},"type":"object"}}`),s="Data definition of the Sankey diagram",n={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/SourceSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/sankey-diagram-slots.schema.json#/definitions/DestinationSlot"}]},i=4,r="array",a={$id:e,$schema:t,definitions:o,description:s,items:n,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=n;exports.maxItems=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=sankey-diagram-slots.schema.json.cjs.map
|